- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 131 for Sizes (0.2 sec)
-
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) -
releasenotes/notes/istiod-config-size-bytes.yaml
apiVersion: release-notes/v2 kind: feature area: traffic-management issue: - 31772 releaseNotes: - |
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 14 00:22:23 UTC 2021 - 208 bytes - Viewed (0) -
src/cmd/cgo/internal/test/buildid_linux.go
if err != nil { t.Logf("reading data of note section %d: %v", i, err) continue } for len(d) > 0 { // ELF standards differ as to the sizes in // note sections. Both the GNU linker and // gold always generate 32-bit sizes, so that // is what we assume here. if len(d) < 12 { t.Logf("note section %d too short (%d < 12)", i, len(d)) continue sections }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/cc/const_op_size.cc
#include "tensorflow/compiler/mlir/tensorflow/ir/tf_ops.h" #include "tensorflow/compiler/mlir/tensorflow/ir/tf_types.h" namespace mlir { namespace quant { namespace { // For types that have varying sizes or difficult to determine the size of, each // element is arbitrarily considered to be 4 bytes. constexpr int64_t kAssumedNumBytesPerElem = 4; int64_t GetSizeOfIntOrFloatConst(TF::ConstOp const_op) {
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
}) } func BenchmarkXORBytes(b *testing.B) { 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++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 16 15:51:19 UTC 2024 - 2.4K bytes - Viewed (0) -
src/go/internal/srcimporter/srcimporter.go
"strings" "sync" _ "unsafe" // for go:linkname ) // An Importer provides the context for importing packages from source code. type Importer struct { ctxt *build.Context fset *token.FileSet sizes types.Sizes packages map[string]*types.Package } // New returns a new Importer for the given context, file set, and map // of packages. The context is used to resolve import paths to package paths,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 23 18:54:32 UTC 2022 - 8.2K bytes - Viewed (0) -
test/fixedbugs/bug122.go
// Copyright 2009 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. package main func main() { // should allow at most 2 sizes a := make([]int, 10, 20, 30, 40); // ERROR "too many|expects 2 or 3 arguments; found 5" _ = a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 28 18:13:13 UTC 2023 - 334 bytes - Viewed (0) -
src/cmd/compile/internal/test/testdata/gen/zeroGen.go
// zero the data they are supposed to and clobber no adjacent values. // run as `go run zeroGen.go`. A file called zero.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} var usizes = [...]int{8, 16, 24, 32, 64, 256} func main() { w := new(bytes.Buffer)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 20 02:13:02 UTC 2022 - 4.1K bytes - Viewed (0) -
src/compress/flate/reader_test.go
}) } var levelTests = []struct { name string level int }{ {"Huffman", HuffmanOnly}, {"Speed", BestSpeed}, {"Default", DefaultCompression}, {"Compression", BestCompression}, } var sizes = []struct { name string n int }{ {"1e4", 1e4}, {"1e5", 1e5}, {"1e6", 1e6}, } func doBench(b *testing.B, f func(b *testing.B, buf []byte, level, n int)) { for _, suite := range suites {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 09 19:12:23 UTC 2020 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java
assertFalse( "Lists of different sizes should not be equal.", getList().equals(new ArrayList<E>(fewerElements))); } public void testEquals_longerList() { Collection<E> moreElements = getSampleElements(getNumElements() + 1); assertFalse( "Lists of different sizes should not be equal.", getList().equals(new ArrayList<E>(moreElements))); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 09 20:10:38 UTC 2018 - 3.5K bytes - Viewed (0)