Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for 1e9 (0.02 sec)

  1. src/time/format.go

    	if t.wall&hasMonotonic != 0 {
    		m2 := uint64(t.ext)
    		sign := byte('+')
    		if t.ext < 0 {
    			sign = '-'
    			m2 = -m2
    		}
    		m1, m2 := m2/1e9, m2%1e9
    		m0, m1 := m1/1e9, m1%1e9
    		buf := make([]byte, 0, 24)
    		buf = append(buf, " m="...)
    		buf = append(buf, sign)
    		wid := 0
    		if m0 != 0 {
    			buf = appendInt(buf, int(m0), 0)
    			wid = 9
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    	// Initial seed required, generate one.
    	if r == 0 {
    		r = reseed()
    	}
    	// constants from Numerical Recipes
    	r = r*1664525 + 1013904223
    	randN = r
    	randmu.Unlock()
    	return strconv.Itoa(int(1e9 + r%1e9))[1:]
    }
    
    // isSameType - compares two object types via reflect.TypeOf
    func isSameType(obj1, obj2 interface{}) bool {
    	return reflect.TypeOf(obj1) == reflect.TypeOf(obj2)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  3. pkg/printers/internalversion/printers_test.go

    type stringTestList []struct {
    	name, got, exp string
    }
    
    func TestTranslateTimestampSince(t *testing.T) {
    	tl := stringTestList{
    		{"a while from now", translateTimestampSince(metav1.Time{Time: time.Now().Add(2.1e9)}), "<invalid>"},
    		{"almost now", translateTimestampSince(metav1.Time{Time: time.Now().Add(1.9e9)}), "0s"},
    		{"now", translateTimestampSince(metav1.Time{Time: time.Now()}), "0s"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 14:04:15 UTC 2024
    - 218.6K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/flatbuffer_export.cc

               std::nullopt;
      }
    
      // Log MAC count.
      int64_t ops_count;
      if (EstimateArithmeticCount(&ops_count)) {
        const int64_t million = 1e6;
        const int64_t billion = 1e9;
        std::string flops_str;
        std::string mac_str;
        if (ops_count < 10000) {
          flops_str = absl::StrFormat("%ld ", ops_count);
          mac_str = absl::StrFormat("%ld ", ops_count / 2);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Jun 12 21:41:49 UTC 2024
    - 164.5K bytes
    - Viewed (2)
Back to top