// should be dirt cheap
439152
func (ra *roaringArray) serializedSizeInBytes() uint64 {
	answer := ra.headerSize()
	for _, c := range ra.containers {
		answer += uint64(c.serializedSizeInBytes())
	}
	return answer
}
76497
func main() {
	// os.Setenv("IS_ENABLED", "asdf")
	c := &Config{}
	if err := env.Process(c); err != nil {
		fmt.Println("error:", err)
		return
		// panic(err)
	}
	fmt.Printf("name: %s, port: %d, adapter: %s, enabled: %v\n", c.Name, c.Port, c.Adapter, c.Enabled)
}
1035206
func (s *SkipList) GetGreaterOrEqual(min interface{}) (actualKey, value interface{}, ok bool) {
	candidate := s.getPath(s.header, nil, min)

	if candidate != nil {
		return candidate.key, candidate.value, true
	}
	return nil, nil, false
}
1256183
func MedPrice(high, low []float64) []float64 {
	var outBegIdx C.int
	var outNBElement C.int
	outReal := make([]float64, len(high))
	C.TA_MEDPRICE(0, C.int(len(high)-1), (*C.double)(unsafe.Pointer(&high[0])), (*C.double)(unsafe.Pointer(&low[0])), &outBegIdx, &outNBElement, (*C.double)(unsafe.Pointer(&outReal[0])))
	return outReal[:outNBElement]
}
491881
func MidPrice(high, low []float64, timePeriod int32) []float64 {
	var outBegIdx C.int
	var outNBElement C.int
	outReal := make([]float64, len(high))
	C.TA_MIDPRICE(0, C.int(len(high)-1), (*C.double)(unsafe.Pointer(&high[0])), (*C.double)(unsafe.Pointer(&low[0])), C.int(timePeriod), &outBegIdx, &outNBElement, (*C.double)(unsafe.Pointer(&outReal[0])))
	return outReal[:outNBElement]
}
932911
func main() {
	args := map[string]string{}
	gp := geopattern.URIimage(args)
	fmt.Println(gp)
}
203869
func NewDefaultStdDev() (indicator *StdDev, err error) {
	timePeriod := 10
	return NewStdDev(timePeriod, gotrade.UseClosePrice)
}
505289
func main() {
	args := map[string]string{}
	gp := geopattern.Generate(args)
	fmt.Println(gp)
}
642093
func BgYellow(arg interface{}) Value {
	if val, ok := arg.(Value); ok {
		return val.BgYellow()
	}
	return value{value: arg, color: YellowBg}
}
1002476
func (s Float32Slice) Less(i, j int) bool {
	return s[i] < s[j]
}
709051
func Price(min, max float64) float64 {
	return math.Floor(randFloat64Range(min, max)*100) / 100
}
384890
func (ec *Client) SuggestGasPrice(ctx context.Context) (*big.Int, error) {
	var hex hexutil.Big
	if err := ec.c.CallContext(ctx, &hex, "eth_gasPrice"); err != nil {
		return nil, err
	}
	return (*big.Int)(&hex), nil
}
549608
func CopyPrepend(slice []interface{}, elements ...interface{}) []interface{} {
	elementsLength := len(elements)
	newSlice := make([]interface{}, len(slice)+elementsLength)
	for i, e := range elements {
		newSlice[i] = e
	}
	for i, e := range slice {
		newSlice[elementsLength+i] = e
	}
	return newSlice
}
704584
func (m *Money) Absolute() *Money {
	return &Money{amount: mutate.calc.absolute(m.amount), currency: m.currency}
}
493698
func main() {
	flag.Parse()
	if *p != "" {
		f, err := os.Create(*p)
		if err != nil {
			log.Fatal(err)
		}
		pprof.StartCPUProfile(f)
		defer pprof.StopCPUProfile()
	}

	//ShortTest(*n)
	//return
	benchmark32(*n)
	benchmark64(int64(*n))

	q := "This is the time for all good men to come to the aid of their country..."
	//qq := []byte{"xThis is the time for all good men to come to the aid of their country..."}
	//qqq := []byte{"xxThis is the time for all good men to come to the aid of their country..."}
	//qqqq[] := []byte{"xxxThis is the time for all good men to come to the aid of their country..."}

	u := stu(q)
	h1 := jenkins.HashWordsLen(u, (len(q)-1)/4, 13)
	h2 := jenkins.HashWordsLen(u, (len(q)-5)/4, 13)
	h3 := jenkins.HashWordsLen(u, (len(q)-9)/4, 13)
	fmt.Printf("%08x, %08x, %08x\n", h1, h2, h3)

	b, c := uint32(0), uint32(0)
	c, b = jenkins.HashString("", c, b)
	fmt.Printf("%08x, %08x\n", c, b) // deadbeef deadbeef

	b, c = 0xdeadbeef, 0
	c, b = jenkins.HashString("", c, b)
	fmt.Printf("%08x, %08x\n", c, b) // bd5b7dde deadbeef

	b, c = 0xdeadbeef, 0xdeadbeef
	c, b = jenkins.HashString("", c, b)
	fmt.Printf("%08x, %08x\n", c, b) // 9c093ccd bd5b7dde

	b, c = 0, 0
	c, b = jenkins.HashString("Four score and seven years ago", c, b)
	fmt.Printf("%08x, %08x\n", c, b) // 17770551 ce7226e6

	b, c = 1, 0
	c, b = jenkins.HashString("Four score and seven years ago", c, b)
	fmt.Printf("%08x, %08x\n", c, b) // e3607cae bd371de4

	b, c = 0, 1
	c, b = jenkins.HashString("Four score and seven years ago", c, b)
	fmt.Printf("%08x, %08x\n", c, b) // cd628161 6cbea4b3

	driver2()
}
729501
func (f *File) Bad(pos token.Pos, args ...interface{}) {
	f.Warn(pos, args...)
	setExit(1)
}
80793
func CosTypeSimpleValueOf(s string) (CosType, error) {
	obj, exists := CosType_value[strings.ToUpper(s)]
	if !exists {
		return -1, fmt.Errorf("Invalid cos value: %s", s)
	}
	return CosType(obj), nil
}