- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for size2 (0.19 sec)
-
src/cmd/compile/internal/ssa/rewrite.go
// size pairs overlap. func overlap(offset1, size1, offset2, size2 int64) bool { if offset1 >= offset2 && offset2+size2 > offset1 { return true } if offset2 >= offset1 && offset1+size1 > offset2 { return true } return false } func areAdjacentOffsets(off1, off2, size int64) bool { return off1+size == off2 || off1 == off2+size }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
src/runtime/mbitmap.go
size := dataSize - off if size == 0 { off -= goarch.PtrSize size += goarch.PtrSize } interior := x + off size -= alignDown(uintptr(cheaprand())%size, goarch.PtrSize) if size == 0 { size = goarch.PtrSize } // Round up the type to the size of the type. size = (size + gctyp.Size_ - 1) / gctyp.Size_ * gctyp.Size_ if interior+size > x+maxIterBytes {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 00:18:55 UTC 2024 - 60K bytes - Viewed (0) -
src/reflect/type.go
lastzero = size } fs[i] = f } if size > 0 && lastzero == size { // This is a non-zero sized struct that ends in a // zero-sized field. We add an extra byte of padding, // to ensure that taking the address of the final // zero-sized field can't manufacture a pointer to the // next object in the heap. See issue 9401. size++ if size == 0 {
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/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/cgo/gcc.go
// the compiler is going to pad it by one (see issue 9401). // We can't permit that, because then the size of the Go // struct will not be the same as the size of the C struct. // Our only option in such a case is to remove the field, // which means that it cannot be referenced from Go. for off > 0 && sizes[len(sizes)-1] == 0 { n := len(sizes) fld = fld[0 : n-1] sizes = sizes[0 : n-1]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/bytes/bytes_test.go
} func TestEqualExhaustive(t *testing.T) { var size = 128 if testing.Short() { size = 32 } a := make([]byte, size) b := make([]byte, size) b_init := make([]byte, size) // randomish but deterministic data for i := 0; i < size; i++ { a[i] = byte(17 * i) b_init[i] = byte(23*i + 100) } for len := 0; len <= size; len++ { for x := 0; x <= size-len; x++ { for y := 0; y <= size-len; y++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0) -
src/cmd/compile/internal/ppc64/ssa.go
rem -= 16 } // first clear as many doublewords as possible // then clear remaining sizes as available for rem > 0 { op, size := ppc64.AMOVB, int64(1) switch { case rem >= 8: op, size = ppc64.AMOVD, 8 case rem >= 4: op, size = ppc64.AMOVW, 4 case rem >= 2: op, size = ppc64.AMOVH, 2 } p := s.Prog(op) p.From.Type = obj.TYPE_REG
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 19:59:38 UTC 2024 - 55.4K bytes - Viewed (0) -
src/runtime/malloc.go
// The OS init code failed to fetch the physical page size. throw("failed to get system page size") } if physPageSize > maxPhysPageSize { print("system page size (", physPageSize, ") is larger than maximum page size (", maxPhysPageSize, ")\n") throw("bad system page size") } if physPageSize < minPhysPageSize { print("system page size (", physPageSize, ") is smaller than minimum page size (", minPhysPageSize, ")\n")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 59.6K bytes - Viewed (0) -
src/math/big/int_test.go
y := new(Int) b.ResetTimer() for i := 0; i < b.N; i++ { x.DivMod(aa, bb, y) } } func BenchmarkDiv(b *testing.B) { sizes := []int{ 10, 20, 50, 100, 200, 500, 1000, 1e4, 1e5, 1e6, 1e7, } for _, i := range sizes { j := 2 * i b.Run(fmt.Sprintf("%d/%d", j, i), func(b *testing.B) { benchmarkDiv(b, j, i) }) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 18:42:28 UTC 2024 - 58.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/python/tfr_gen.py
elif type_ == TFRTypes.TF_TENSOR_SHAPE_LIST: size_ = self._ssa_name('size') self.emit('\n{} = shape.get_extent {}, {}'.format(size_, val, idx_val)) self._emit_with_loc(': !shape.shape, index -> !shape.size', node) self._emit_with_loc( '\n{} = shape.size_to_index {} : !shape.size'.format(elt, size_), node) return (elt, TFRTypes.INDEX)
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Apr 27 15:27:03 UTC 2022 - 55.8K bytes - Viewed (0)