Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for 1e9 (0.02 sec)

  1. src/archive/tar/strconv_test.go

    		{1350244992, 23960108, "1350244992.023960108"},
    		{+1, +1e9 - 1e0, "1.999999999"},
    		{+1, +1e9 - 1e3, "1.999999"},
    		{+1, +1e9 - 1e6, "1.999"},
    		{+1, +0e0 - 0e0, "1"},
    		{+1, +1e6 - 0e0, "1.001"},
    		{+1, +1e3 - 0e0, "1.000001"},
    		{+1, +1e0 - 0e0, "1.000000001"},
    		{0, 1e9 - 1e0, "0.999999999"},
    		{0, 1e9 - 1e3, "0.999999"},
    		{0, 1e9 - 1e6, "0.999"},
    		{0, 0e0, "0"},
    		{0, 1e6 + 0e0, "0.001"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  2. src/strconv/ftoaryu.go

    // avoiding runtime uint64 division on 32-bit platforms.
    func divmod1e9(x uint64) (uint32, uint32) {
    	if !host32bit {
    		return uint32(x / 1e9), uint32(x % 1e9)
    	}
    	// Use the same sequence of operations as the amd64 compiler.
    	hi, _ := bits.Mul64(x>>1, 0x89705f4136b4a598) // binary digits of 1e-9
    	q := hi >> 28
    	return uint32(q), uint32(x - q*1e9)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 09 00:28:56 UTC 2022
    - 15.7K bytes
    - Viewed (0)
  3. src/text/template/parse/parse_test.go

    	{"-73", true, false, true, false, -73, 0, -73, 0},
    	{"+73", true, false, true, false, 73, 0, 73, 0},
    	{"100", true, true, true, false, 100, 100, 100, 0},
    	{"1e9", true, true, true, false, 1e9, 1e9, 1e9, 0},
    	{"-1e9", true, false, true, false, -1e9, 0, -1e9, 0},
    	{"-1.2", false, false, true, false, 0, 0, -1.2, 0},
    	{"1e19", false, true, true, false, 0, 1e19, 1e19, 0},
    	{"1e1_9", false, true, true, false, 0, 1e19, 1e19, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 24K bytes
    - Viewed (0)
  4. src/testing/benchmark.go

    			n = min(n, 100*last)
    			// Be sure to run at least one more than last time.
    			n = max(n, last+1)
    			// Don't run more than 1e9 times. (This also keeps n in int range on 32 bit platforms.)
    			n = min(n, 1e9)
    			b.runN(int(n))
    		}
    	}
    	b.result = BenchmarkResult{b.N, b.duration, b.bytes, b.netAllocs, b.netBytes, b.extra}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  5. src/runtime/malloc_test.go

    		"BuckHashSys": {nz, le(1e10)}, "GCSys": {nz, le(1e10)}, "OtherSys": {nz, le(1e10)},
    		"NextGC": {nz, le(1e10)}, "LastGC": {nz},
    		"PauseTotalNs": {le(1e11)}, "PauseNs": nil, "PauseEnd": nil,
    		"NumGC": {nz, le(1e9)}, "NumForcedGC": {nz, le(1e9)},
    		"GCCPUFraction": {le(0.99)}, "EnableGC": {eq(true)}, "DebugGC": {eq(false)},
    		"BySize": nil,
    	}
    
    	rst := reflect.ValueOf(st).Elem()
    	for i := 0; i < rst.Type().NumField(); i++ {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 05 23:35:29 UTC 2023
    - 10.6K bytes
    - Viewed (0)
  6. src/internal/trace/traceviewer/mmu.go

          var curve;
    
          function niceDuration(ns) {
              if (ns < 1e3) { return ns + 'ns'; }
              else if (ns < 1e6) { return ns / 1e3 + 'µs'; }
              else if (ns < 1e9) { return ns / 1e6 + 'ms'; }
              else { return ns / 1e9 + 's'; }
          }
    
          function niceQuantile(q) {
            return 'p' + q*100;
          }
    
          function mmuFlags() {
            var flags = "";
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  7. src/image/draw/draw_test.go

    	// Since golden is a newly allocated image, we don't have to check if the
    	// input source and mask images and the output golden image overlap.
    	b := dst.Bounds()
    	sb := src.Bounds()
    	mb := image.Rect(-1e9, -1e9, 1e9, 1e9)
    	if mask != nil {
    		mb = mask.Bounds()
    	}
    	golden := image.NewRGBA(image.Rect(0, 0, b.Max.X, b.Max.Y))
    	for y := r.Min.Y; y < r.Max.Y; y++ {
    		sy := y + sp.Y - r.Min.Y
    		my := y + mp.Y - r.Min.Y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 18:07:05 UTC 2023
    - 26K bytes
    - Viewed (0)
  8. src/syscall/types_windows.go

    	Usec int32
    }
    
    func (tv *Timeval) Nanoseconds() int64 {
    	return (int64(tv.Sec)*1e6 + int64(tv.Usec)) * 1e3
    }
    
    func NsecToTimeval(nsec int64) (tv Timeval) {
    	tv.Sec = int32(nsec / 1e9)
    	tv.Usec = int32(nsec % 1e9 / 1e3)
    	return
    }
    
    type SecurityAttributes struct {
    	Length             uint32
    	SecurityDescriptor uintptr
    	InheritHandle      uint32
    }
    
    type Overlapped struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. src/strconv/atof.go

    	}
    	return bits, overflow
    }
    
    // Exact powers of 10.
    var float64pow10 = []float64{
    	1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9,
    	1e10, 1e11, 1e12, 1e13, 1e14, 1e15, 1e16, 1e17, 1e18, 1e19,
    	1e20, 1e21, 1e22,
    }
    var float32pow10 = []float32{1e0, 1e1, 1e2, 1e3, 1e4, 1e5, 1e6, 1e7, 1e8, 1e9, 1e10}
    
    // If possible to convert decimal representation to 64-bit float f exactly,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 06 18:50:50 UTC 2022
    - 15.9K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/storage/etcd3/metrics/metrics_test.go

    		err            error
    		want           string
    	}{
    		{
    			desc: "fake etcd getter",
    			getterOverride: func() ([]Monitor, error) {
    				return []Monitor{fakeEtcdMonitor{storageSize: 1e9}}, nil
    			},
    			err: nil,
    			want: `# HELP apiserver_storage_size_bytes [STABLE] Size of the storage database file physically allocated in bytes.
    			# TYPE apiserver_storage_size_bytes gauge
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 11 21:15:32 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top