- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 5,155 for size0 (0.04 sec)
-
src/go/types/sizes.go
// - The size of strings and interfaces is 2*WordSize. // - The size of slices is 3*WordSize. // - The size of an array of n elements corresponds to the size of // a struct of n consecutive fields of the array's element type. // - The size of a struct is the offset of the last field plus that // field's size. As with all element types, if the struct is used // in an array its size must first be aligned to a multiple of the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 8.9K bytes - Viewed (0) -
src/net/http/serve_test.go
} didSearch := size0 != size1 if didSearch != tt.wantEOFSearch { t.Errorf("%d. did EOF search = %v; want %v (size went from %d to %d)", i, didSearch, !didSearch, size0, size1) } if tt.wantNextReq && numReqs != 2 { t.Errorf("%d. numReq = %d; want 2", i, numReqs) } } // testHandlerBodyConsumer represents a function injected into a test handler to // vary work done on a request Body.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 17:57:01 UTC 2024 - 202K bytes - Viewed (0) -
src/cmd/compile/internal/types2/sizes.go
// - The size of strings and interfaces is 2*WordSize. // - The size of slices is 3*WordSize. // - The size of an array of n elements corresponds to the size of // a struct of n consecutive fields of the array's element type. // - The size of a struct is the offset of the last field plus that // field's size. As with all element types, if the struct is used // in an array its size must first be aligned to a multiple of the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.8K bytes - Viewed (0) -
src/cmd/compile/internal/types/size.go
maxAlign = 8 } } fields := t.Fields() size := calcStructOffset(t, fields, 0) // For non-zero-sized structs which end in a zero-sized field, we // add an extra byte of padding to the type. This padding ensures // that taking the address of a zero-sized field can't manufacture a // pointer to the next object in the heap. See issue 9401. if size > 0 && fields[len(fields)-1].Type.width == 0 { size++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 15K bytes - Viewed (0) -
cmd/testdata/undeleteable-object.tgz
©PartETagsÀ©PartSizes‘Ñ ªPartASizes‘Ñ ¤SizeÑ ¥MTimeÓ É žùç°§MetaSys ¼x-minio-internal-inline-dataÄ true§MetaUsr‚¤etagÙ 14a1119d5fe668d77000¬content-type¸application/octet-stream¡v Îhkáô ¤nullÄ7 1OÏ›qú†Ï *6 & ¦¯ùú±[Ô8i 3¬&²Ä$ ½×Û3° ”©Õ 2·zÍ7î÷ÿÿ#s« multisitea/data/disterasure/xl4/bucket/2/xl.meta XL2 Æ R Ä$•Ä Ó É ýG7xÄ â”{± Å &ƒ¤Type ¥V2ObjÞ ¢IDÄ ¤DDirÄ wÿhY ªFn€ Äw( ’¦EcAlgo £EcM £EcN §EcBSizeÒ §EcIndex ¦EcDistœ ¨CSumAlgo ¨PartNums‘ ©PartETagsÀ©PartSizes‘Ò P ªPartASizes‘Ò P ¤SizeÒ P ¥MTimeÓ É ýG7x§MetaSys€§...
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Apr 26 00:31:12 UTC 2024 - 8.7M bytes - Viewed (0) -
hack/verify-file-sizes.sh
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Apr 19 19:39:50 UTC 2024 - 2.4K bytes - Viewed (0) -
src/cmd/compile/internal/types2/gcsizes.go
offsets := s.Offsetsof(t.fields) offs := offsets[n-1] size := s.Sizeof(t.fields[n-1].typ) if offs < 0 || size < 0 { return -1 // type too large } // gc: The last field of a non-zero-sized struct is not allowed to // have size 0. if offs > 0 && size == 0 { size = 1 } // gc: Size includes alignment padding. return align(offs+size, s.Alignof(t)) // may overflow to < 0 which is ok case *Interface:
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 22 19:32:17 UTC 2024 - 4.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/plugin/pkg/audit/truncate/truncate.go
s := &sizer{} if err := b.e.Encode(e, s); err != nil { return 0, err } return s.Size, nil } func (b *backend) String() string { return fmt.Sprintf("%s<%s>", PluginName, b.delegateBackend) } type sizer struct { Size int64 } func (s *sizer) Write(p []byte) (n int, err error) { s.Size += int64(len(p)) return len(p), nil
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 29 00:03:53 UTC 2022 - 4.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/remat/rematerializer.h
explicit MemSpec(int op_index = 0, SizeT size = 0) : op_index(op_index), size(size) {} }; static bool BySize(const MemSpec& a, const MemSpec& b) { return std::tie(a.size, a.op_index) < std::tie(b.size, b.op_index); } static bool ByOpIndex(const MemSpec& a, const MemSpec& b) { return std::tie(a.op_index, a.size) < std::tie(b.op_index, b.size); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 14 20:57:44 UTC 2023 - 12K bytes - Viewed (0) -
src/unicode/utf8/utf8_test.go
} si += size1 } j-- for si = len(s); si > 0; { r1, size1 := DecodeLastRune(b[0:si]) r2, size2 := DecodeLastRuneInString(s[0:si]) if size1 != size2 { t.Errorf("DecodeLastRune/DecodeLastRuneInString(%q, %d) size mismatch %d/%d", s, si, size1, size2) return } if r1 != index[j].r { t.Errorf("DecodeLastRune(%q, %d) = %#04x, want %#04x", s, si, r1, index[j].r) return } if r2 != index[j].r {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Sep 07 06:17:15 UTC 2022 - 16.2K bytes - Viewed (0)