- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 491 for size2 (0.06 sec)
-
subprojects/core/src/test/groovy/org/gradle/cache/internal/HeapProportionalCacheSizerTest.groovy
when: def scaled = heapProportionalCacheSizer.scaleCacheSize(100, 100) then: scaled >= 100 } def "cache cap sizer adjusts caps based on maximum heap size"() { given: def heapProportionalCacheSizer = new HeapProportionalCacheSizer(maxHeapMB) when: def caps = heapProportionalCacheSizer.scaleCacheSize(2000)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 14 07:38:37 UTC 2017 - 2.3K bytes - Viewed (0) -
src/runtime/select.go
} } if msanenabled { if casi < nsends { msanread(cas.elem, c.elemtype.Size_) } else if cas.elem != nil { msanwrite(cas.elem, c.elemtype.Size_) } } if asanenabled { if casi < nsends { asanread(cas.elem, c.elemtype.Size_) } else if cas.elem != nil { asanwrite(cas.elem, c.elemtype.Size_) } } selunlock(scases, lockorder) goto retc bufrecv:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Mar 13 21:36:04 UTC 2024 - 15K bytes - Viewed (0) -
src/internal/trace/traceviewer/emitter.go
sizes = append(sizes, size) cw.size = 0 }, ConsumeViewerFrame: func(k string, v format.Frame) { allFrames[k] = v }, Flush: func() { // Calculate size of the mandatory part of the trace. // This includes thread names and stack frames for // required events. cw.size = 0 enc := json.NewEncoder(&cw) enc.Encode(data) requiredSize := cw.size
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 21 21:29:58 UTC 2023 - 20.4K bytes - Viewed (0) -
src/runtime/map.go
} if t.Key.Size_ > abi.MapMaxKeyBytes && (!t.IndirectKey() || t.KeySize != uint8(goarch.PtrSize)) || t.Key.Size_ <= abi.MapMaxKeyBytes && (t.IndirectKey() || t.KeySize != uint8(t.Key.Size_)) { throw("key size wrong") } if t.Elem.Size_ > abi.MapMaxElemBytes && (!t.IndirectElem() || t.ValueSize != uint8(goarch.PtrSize)) ||
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/cmd/compile/internal/test/testdata/gen/copyGen.go
// copy the data they are supposed to and clobber no adjacent values. // run as `go run copyGen.go`. A file called copy.go // will be written into the parent directory containing the tests. var sizes = [...]int{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 15, 16, 17, 23, 24, 25, 31, 32, 33, 63, 64, 65, 1023, 1024, 1025, 1024 + 7, 1024 + 8, 1024 + 9, 1024 + 15, 1024 + 16, 1024 + 17} var usizes = [...]int{2, 3, 4, 5, 6, 7} func main() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 3.6K bytes - Viewed (0) -
test/zerosize.go
// run // Copyright 2023 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test that zero-sized variables get same address as // runtime.zerobase. package main var x, y [0]int var p, q = new([0]int), new([0]int) // should get &runtime.zerobase func main() { if &x != &y {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 28 18:35:43 UTC 2023 - 814 bytes - Viewed (0) -
src/os/writeto_linux_test.go
) func TestSendFile(t *testing.T) { sizes := []int{ 1, 42, 1025, syscall.Getpagesize() + 1, 32769, } t.Run("sendfile-to-unix", func(t *testing.T) { for _, size := range sizes { t.Run(strconv.Itoa(size), func(t *testing.T) { testSendFile(t, "unix", int64(size)) }) } }) t.Run("sendfile-to-tcp", func(t *testing.T) { for _, size := range sizes {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 18:12:56 UTC 2024 - 4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow_to_stablehlo/python/pywrap_tensorflow_to_stablehlo_lib.h
// SavedModel. // input_arg_shapes_str: A string representation of input argument // shapes for 'main' entry-point, separating tensors with ':', dimension // with ',', and using '?' for unknown sizes. For example, // 'input-arg-shapes=1,2::1,?' expresses argument shapes [1,2], [] and [1,?]. // // Returns: // An absl::StatusOr containing the serialized bytecode of the StableHLO
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 22:58:42 UTC 2024 - 2.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/const_op_size.cc
const auto str_attr = cast<DenseStringElementsAttr>(const_value); // Sum the sizes of each string. return absl::c_accumulate( str_attr.getRawStringData(), 0, [](int64_t acc, const StringRef str_value) -> int64_t { return acc + str_value.size(); }); } // Arbitrarily calculate the size of const of type whose size is unkown or // varying. Each element of such a type is considered to have
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Dec 14 04:37:13 UTC 2022 - 2.7K bytes - Viewed (0) -
src/crypto/subtle/xor_test.go
dst := make([]byte, 1<<15) data0 := make([]byte, 1<<15) data1 := make([]byte, 1<<15) sizes := []int64{1 << 3, 1 << 7, 1 << 11, 1 << 15} for _, size := range sizes { b.Run(fmt.Sprintf("%dBytes", size), func(b *testing.B) { s0 := data0[:size] s1 := data1[:size] b.SetBytes(int64(size)) for i := 0; i < b.N; i++ { XORBytes(dst, s0, s1) } }) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:51:19 UTC 2024 - 2.4K bytes - Viewed (0)