Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 43 for 2345678 (0.15 sec)

  1. src/go/token/position_test.go

    	filename string
    	source   []byte // may be nil
    	size     int
    	lines    []int
    }{
    	{"a", []byte{}, 0, []int{}},
    	{"b", []byte("01234"), 5, []int{0}},
    	{"c", []byte("\n\n\n\n\n\n\n\n\n"), 9, []int{0, 1, 2, 3, 4, 5, 6, 7, 8}},
    	{"d", nil, 100, []int{0, 5, 10, 20, 30, 70, 71, 72, 80, 85, 90, 99}},
    	{"e", nil, 777, []int{0, 80, 100, 120, 130, 180, 267, 455, 500, 567, 620}},
    	{"f", []byte("package p\n\nimport \"fmt\""), 23, []int{0, 10, 11}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 31 20:26:14 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  2. src/hash/maphash/smhasher_test.go

    		t.Skip("Too slow on wasm")
    	}
    	if testing.Short() {
    		t.Skip("Skipping in short mode")
    	}
    	testenv.ParallelOn64Bit(t)
    	h := newHashSet()
    	permutation(t, h, []uint32{0, 1, 2, 3, 4, 5, 6, 7}, 8)
    	permutation(t, h, []uint32{0, 1 << 29, 2 << 29, 3 << 29, 4 << 29, 5 << 29, 6 << 29, 7 << 29}, 8)
    	permutation(t, h, []uint32{0, 1}, 20)
    	permutation(t, h, []uint32{0, 1 << 31}, 20)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go

    	}
    	return tile, nil
    }
    
    // To limit the size of any particular directory listing,
    // we encode the (possibly very large) number N
    // by encoding three digits at a time.
    // For example, 123456789 encodes as x123/x456/789.
    // Each directory has at most 1000 each xNNN, NNN, and NNN.p children,
    // so there are at most 3000 entries in any one directory.
    const pathBase = 1000
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/internal/syscall/windows/registry/registry_test.go

    	}{
    		{registry.DWORD, "Dword1", nil},
    		{registry.DWORD, "Dword2", []byte{1, 2, 3}},
    		{registry.QWORD, "Qword1", nil},
    		{registry.QWORD, "Qword2", []byte{1, 2, 3}},
    		{registry.QWORD, "Qword3", []byte{1, 2, 3, 4, 5, 6, 7}},
    		{registry.MULTI_SZ, "MultiString1", nil},
    		{registry.MULTI_SZ, "MultiString2", []byte{0}},
    		{registry.MULTI_SZ, "MultiString3", []byte{'a', 'b', 0}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 06 19:19:00 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. tests/sql_builder_test.go

    	if !regexp.MustCompile(`.*age.*=false,`).MatchString(sql) {
    		t.Errorf("Failed to generate sql, got %v", sql)
    	}
    
    	stmt = dryRunDB.Model(&user).Where("id = ?", 1).Updates(map[string]interface{}{"age": ageFloat(0.12345678)}).Statement
    	sql = DB.Dialector.Explain(stmt.SQL.String(), stmt.Vars...)
    	if !regexp.MustCompile(`.*age.*=0.123457,`).MatchString(sql) {
    		t.Errorf("Failed to generate sql, got %v", sql)
    	}
    }
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Jan 12 08:42:21 UTC 2024
    - 16.7K bytes
    - Viewed (0)
  6. pkg/registry/core/service/strategy_test.go

    			Ports: []api.ServicePort{
    				makeValidServicePort("p", "TCP", 8675),
    				makeValidServicePort("q", "TCP", 309),
    			},
    			ClusterIP:             "1.2.3.4",
    			ClusterIPs:            []string{"1.2.3.4", "5:6:7::8"},
    			IPFamilyPolicy:        &preferDual,
    			IPFamilies:            []api.IPFamily{"IPv4", "IPv6"},
    			InternalTrafficPolicy: &clusterInternalTrafficPolicy,
    		},
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  7. src/time/example_test.go

    	// representation of the time stamp,
    	//	Jan 2 15:04:05 2006 MST
    	// An easy way to remember this value is that it holds, when presented
    	// in this order, the values (lined up with the elements above):
    	//	  1 2  3  4  5    6  -7
    	// There are some wrinkles illustrated below.
    
    	// Most uses of Format and Parse use constant layout strings such as
    	// the ones defined in this package, but the interface is flexible,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 13 01:05:00 UTC 2024
    - 22.4K bytes
    - Viewed (0)
  8. src/internal/bisect/bisect.go

    			start = i + 1
    			wid = 4
    			continue
    		}
    		switch c {
    		default:
    			return nil, &parseError{"invalid pattern syntax: " + pattern}
    		case '2', '3', '4', '5', '6', '7', '8', '9':
    			if wid != 4 {
    				return nil, &parseError{"invalid pattern syntax: " + pattern}
    			}
    			fallthrough
    		case '0', '1':
    			bits <<= wid
    			bits |= uint64(c - '0')
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 17:28:43 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  9. src/runtime/hash_test.go

    	if testing.Short() {
    		t.Skip("Skipping in short mode")
    	}
    	if race.Enabled {
    		t.Skip("Too long for race mode")
    	}
    	testenv.ParallelOn64Bit(t)
    	h := newHashSet()
    	permutation(t, h, []uint32{0, 1, 2, 3, 4, 5, 6, 7}, 8)
    	permutation(t, h, []uint32{0, 1 << 29, 2 << 29, 3 << 29, 4 << 29, 5 << 29, 6 << 29, 7 << 29}, 8)
    	permutation(t, h, []uint32{0, 1}, 20)
    	permutation(t, h, []uint32{0, 1 << 31}, 20)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 06 17:50:18 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  10. tensorflow/cc/gradients/math_grad_test.cc

        return CRV({{-1.0f, 0.5f}, {1.0f, 0.5f}, {2, -1}});
      };
      TestCWiseGrad<complex64, complex64>(SQRT, x_fn);
    }
    
    TEST_F(CWiseUnaryGradTest, Rsqrt) {
      auto x_fn = [this](const int i) { return RV({1, 2, 3, 4, 5, 6, 7, 8}); };
      TestCWiseGrad<float, float>(RSQRT, x_fn);
    }
    
    TEST_F(CWiseUnaryGradTest, Rsqrt_Complex) {
      auto x_fn = [this](const int i) {
        return CRV({{-1.0f, 0.5f}, {1.0f, 0.5f}, {2, -1}});
      };
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Aug 25 18:20:20 UTC 2023
    - 36K bytes
    - Viewed (0)
Back to top