<commit_before>package main

import (
	"fmt"
	"net"
	"net/http"
	"runtime"
	"time"
)

func main() {
	fmt.Println("Stream Server By Golang")
	fmt.Println("Stream Server is Starting")
	time.Sleep(time.Second * 3)
	for {
		time.Sleep(time.Second * 3)
	}
}

func init() {
	fmt.Println("CPU number is %d", runtime.NumCPU())
	conn, err := net.Dial("tcp", "www.baidu.com:80")
	if err != nil {
		conn.Close()
	}

}
func getconfig() {
	resp, err := http.Get("http://www.baidu.com")
	if err != nil {

	}
	defer resp.Body.Close()
}<commit_msg>use flag<commit_after>package main

import (
	"fmt"
	"gopkg.in/mgo.v2"
	//"gopkg.in/mgo.v2/bson"
	"log"
	"net"
	"net/http"
	"runtime"
	"time"
	"flag"
)

func main() {
	fmt.Println("Stream Server By Golang")
	fmt.Println("Stream Server is Starting at ",time.Now())
	time.Sleep(time.Second)
	var port = flag.Int("port", 9080, "the stream  login auth port")
	var nbCpus = flag.Int("cpus", runtime.NumCPU()-1, "the cpus to use")
	var tcpNoDalay = flag.Bool("nodelay", false, "set TCP_NODELAY for connection")
	flag.Usage = func () {
		fmt.Println("Usage:[--port=int]")
		fmt.Println("		port,the listen port .default 9080")
	}
	flag.Parse()
	runtime.GOMAXPROCS(*nbCpus)
}

func init() {
	fmt.Println("CPU number is", runtime.NumCPU())

	session, err := mgo.Dial("10.192.165.195:20000,10.192.165.196:20000")
	if err != nil {
		panic(err)
		log.Fatal(err)
	}
	defer session.Close()
	session.

	conn, err := net.Dial("tcp", "www.baidu.com:80")
	if err != nil {
		conn.Close()
	}

}
func getconfig() {
	resp, err := http.Get("http://www.baidu.com")
	if err != nil {

	}
	defer resp.Body.Close()
}
{'fraction_non_alphanumeric': 0.19209388511426806, 'fraction_numerical': 0.030265596046942556, 'mean_word_length': 3.764705882352941, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1602918', 'n_tokens_mistral': 730, 'n_tokens_neox': 685, 'n_words': 145}