- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for biglen (0.16 sec)
-
staging/src/k8s.io/apimachinery/pkg/api/resource/quantity_test.go
got infDecAmount expect string }{ {bigDec(big.NewInt(1), 0), "1"}, {bigDec(big.NewInt(1), 1), "10"}, {bigDec(big.NewInt(5), 2), "500"}, {bigDec(big.NewInt(8), 3), "8000"}, {bigDec(big.NewInt(2), 0), "2"}, {bigDec(big.NewInt(1), -1), "0.1"}, {bigDec(big.NewInt(3), -2), "0.03"}, {bigDec(big.NewInt(4), -3), "0.004"}, {bigDec(big.NewInt(0).Add(bigMostPositive, big.NewInt(1)), 0), "9223372036854775808"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 21:48:10 UTC 2024 - 49.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/windows/security_windows.go
//sys GetUserProfileDirectory(t Token, dir *uint16, dirLen *uint32) (err error) = userenv.GetUserProfileDirectoryW //sys getSystemDirectory(dir *uint16, dirLen uint32) (len uint32, err error) = kernel32.GetSystemDirectoryW //sys getWindowsDirectory(dir *uint16, dirLen uint32) (len uint32, err error) = kernel32.GetWindowsDirectoryW //sys getSystemWindowsDirectory(dir *uint16, dirLen uint32) (len uint32, err error) = kernel32.GetSystemWindowsDirectoryW
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 52.5K bytes - Viewed (0) -
src/runtime/map.go
// If we've hit the load factor, get bigger. // Otherwise, there are too many overflow buckets, // so keep the same number of buckets and "grow" laterally. bigger := uint8(1) if !overLoadFactor(h.count+1, h.B) { bigger = 0 h.flags |= sameSizeGrow } oldbuckets := h.buckets newbuckets, nextOverflow := makeBucketArray(t, h.B+bigger, nil) flags := h.flags &^ (iterator | oldIterator)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 57.6K bytes - Viewed (0) -
src/math/big/int_test.go
func TestBitLen(t *testing.T) { for i, test := range bitLenTests { x, ok := new(Int).SetString(test.in, 0) if !ok { t.Errorf("#%d test input invalid: %s", i, test.in) continue } if n := x.BitLen(); n != test.out { t.Errorf("#%d got %d want %d", i, n, test.out) } } } var expTests = []struct { x, y, m string out string }{ // y <= 0 {"0", "0", "", "1"},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
src/net/netip/netip_test.go
test("IPv6Unspecified", func() { sinkIP = IPv6Unspecified() }) // Addr methods test("Addr.IsZero", func() { sinkBool = MustParseAddr("1.2.3.4").IsZero() }) test("Addr.BitLen", func() { sinkBool = MustParseAddr("1.2.3.4").BitLen() == 8 }) test("Addr.Zone/4", func() { sinkBool = MustParseAddr("1.2.3.4").Zone() == "" }) test("Addr.Zone/6", func() { sinkBool = MustParseAddr("fe80::1").Zone() == "" })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 54.3K bytes - Viewed (0) -
src/crypto/x509/x509.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 09:20:15 UTC 2024 - 82K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SetsTest.java
checkHashCode(Sets.cartesianProduct(set(1, num), set(2, num - 1))); checkHashCode(Sets.cartesianProduct(set(1, num), set(2, num - 1), set(3, num + 1))); // a bigger one checkHashCode( Sets.cartesianProduct(set(1, num, num + 1), set(2), set(3, num + 2), set(4, 5, 6, 7, 8))); } public void testPowerSetEmpty() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 49.2K bytes - Viewed (0) -
pilot/pkg/networking/core/route/route.go
serviceByPort[port.Port] = append(serviceByPort[port.Port], svc) } } } if len(serviceByPort) == 0 { if listenPort == 80 { // TODO: This is a gross HACK. Fix me. Its a much bigger surgery though, due to the way // the current code is written. serviceByPort[80] = nil } } out := make([]VirtualHostWrapper, 0, len(serviceByPort)) for port, services := range serviceByPort {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 14 14:12:39 UTC 2024 - 56.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go
// from previous phases that are sitting behind the current length // of the slice, but there is only a limited number of those and the // gain from avoiding memory allocations is much bigger. c.watchersBuffer = c.watchersBuffer[:0] if event.Type == watch.Bookmark { c.startDispatchingBookmarkEventsLocked() // return here to reduce following code indentation and diff return }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 51.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/quantization/lite/quantize_model_test.cc
float float_max = std::max(0.f, float_quant_params.max()->Get(0)); if (symmetric) { // When the symmetric case, ConvertStatsToQDQs in PrepareQuantizePass // updates the min and max values into bigger absolute values. float_max = std::max(std::abs(float_min), std::abs(float_max)); float_min = -float_max; } ASSERT_THAT(quantized_quant_params.scale, SizeIs(1));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 23:15:24 UTC 2024 - 73.9K bytes - Viewed (0)