- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 82 for esize (0.09 sec)
-
src/cmd/compile/internal/types2/gcsizes.go
return 0 } // n > 0 esize := s.Sizeof(t.elem) if esize < 0 { return -1 // element too large } if esize == 0 { return 0 // 0-size element } // esize > 0 // Final size is esize * n; and size must be <= maxInt64. const maxInt64 = 1<<63 - 1 if esize > maxInt64/n { return -1 // esize * n overflows } return esize * n case *Slice: return s.WordSize * 3
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/go/types/gcsizes.go
return 0 } // n > 0 esize := s.Sizeof(t.elem) if esize < 0 { return -1 // element too large } if esize == 0 { return 0 // 0-size element } // esize > 0 // Final size is esize * n; and size must be <= maxInt64. const maxInt64 = 1<<63 - 1 if esize > maxInt64/n { return -1 // esize * n overflows } return esize * n case *Slice: return s.WordSize * 3
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/go/types/sizes.go
return 0 } // n > 0 esize := s.Sizeof(t.elem) if esize < 0 { return -1 // element too large } if esize == 0 { return 0 // 0-size element } // esize > 0 a := s.Alignof(t.elem) ea := align(esize, a) // possibly < 0 if align overflows if ea < 0 { return -1 } // ea >= 1 n1 := n - 1 // n1 >= 0 // Final size is ea*n1 + esize; and size must be <= maxInt64.
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/cmd/compile/internal/types2/sizes.go
return 0 } // n > 0 esize := s.Sizeof(t.elem) if esize < 0 { return -1 // element too large } if esize == 0 { return 0 // 0-size element } // esize > 0 a := s.Alignof(t.elem) ea := align(esize, a) // possibly < 0 if align overflows if ea < 0 { return -1 } // ea >= 1 n1 := n - 1 // n1 >= 0 // Final size is ea*n1 + esize; and size must be <= maxInt64.
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/go/internal/cache/cache.go
return missing(fmt.Errorf("decoding output ID: %v", err)) } i := 0 for i < len(esize) && esize[i] == ' ' { i++ } size, err := strconv.ParseInt(string(esize[i:]), 10, 64) if err != nil { return missing(fmt.Errorf("parsing size: %v", err)) } else if size < 0 { return missing(errors.New("negative size")) } i = 0 for i < len(etime) && etime[i] == ' ' { i++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 14:19:39 UTC 2024 - 20.3K bytes - Viewed (0) -
src/cmd/internal/obj/arm64/asm7.go
r := int((p.Reg) & 31) Q := 0 size := 0 switch af { case ARNG_16B: Q = 1 size = 0 case ARNG_2D: Q = 1 size = 3 case ARNG_2S: Q = 0 size = 2 case ARNG_4H: Q = 0 size = 1 case ARNG_4S: Q = 1 size = 2 case ARNG_8B: Q = 0 size = 0 case ARNG_8H: Q = 1 size = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 201.1K bytes - Viewed (0) -
src/reflect/type.go
comparable = comparable && (ft.Equal != nil) offset := align(size, uintptr(ft.Align_)) if offset < size { panic("reflect.StructOf: struct size would exceed virtual address space") } if ft.Align_ > typalign { typalign = ft.Align_ } size = offset + ft.Size_ if size < offset { panic("reflect.StructOf: struct size would exceed virtual address space") } f.Offset = offset
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/runtime/msize.go
// Malloc small size classes. // // See malloc.go for overview. // See also mksizeclasses.go for how we decide what size classes to use. package runtime // Returns size of the memory block that mallocgc will allocate if you ask for the size, // minus any inline space for metadata. func roundupsize(size uintptr, noscan bool) (reqSize uintptr) { reqSize = size if reqSize <= maxSmallSize-mallocHeaderSize {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 09 04:07:57 UTC 2024 - 1.3K bytes - Viewed (0) -
src/cmd/compile/internal/types/size.go
intRegs += uint64(typ.intRegs) floatRegs += uint64(typ.floatRegs) } // Final size includes trailing padding. size = RoundUp(size, int64(maxAlign)) if intRegs > math.MaxUint8 || floatRegs > math.MaxUint8 { intRegs = math.MaxUint8 floatRegs = math.MaxUint8 } t.width = size t.align = maxAlign t.intRegs = uint8(intRegs) t.floatRegs = uint8(floatRegs)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 15K bytes - Viewed (0) -
src/go/token/position_test.go
t.Errorf("%s: inconsistent test case: got file size %d; want %d", test.filename, len(test.source), test.size) } // add file and verify name and size f := fset.AddFile(test.filename, fset.Base()+delta, test.size) if f.Name() != test.filename { t.Errorf("got filename %q; want %q", f.Name(), test.filename) } if f.Size() != test.size {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 31 20:26:14 UTC 2024 - 14.3K bytes - Viewed (0)