- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 4,028 for size0 (0.08 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) -
src/runtime/syscall_windows.go
// So basically we only support 386. panic("compileCallback: float arguments not supported") } if t.Size_ == 0 { // The Go ABI aligns for zero-sized types. p.dstStackSize = alignUp(p.dstStackSize, uintptr(t.Align_)) return } // In the C ABI, we're already on a word boundary. // Also, sub-word-sized fastcall register arguments // are stored to the least-significant bytes of the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 20:12:46 UTC 2024 - 16.6K bytes - Viewed (0) -
src/go/types/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: Wed Apr 03 18:48:38 UTC 2024 - 4.4K bytes - Viewed (0) -
src/runtime/string.go
} var dum [4]byte size1 := 0 for _, r := range a { size1 += encoderune(dum[:], r) } s, b := rawstringtmp(buf, size1+3) size2 := 0 for _, r := range a { // check for race if size2 >= size1 { break } size2 += encoderune(b[size2:], r) } return s[:size2] } type stringStruct struct { str unsafe.Pointer len int
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:17:26 UTC 2024 - 13.4K bytes - Viewed (0)