Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Size_ (0.03 sec)

  1. src/runtime/mbitmap.go

    	bits := span.elemsize / goarch.PtrSize
    	scanSize = typ.PtrBytes
    	src := src0
    	switch typ.Size_ {
    	case goarch.PtrSize:
    		src = (1 << (dataSize / goarch.PtrSize)) - 1
    	default:
    		for i := typ.Size_; i < dataSize; i += typ.Size_ {
    			src |= src0 << (i / goarch.PtrSize)
    			scanSize += typ.Size_
    		}
    	}
    
    	// Since we're never writing more than one uintptr's worth of bits, we're either going
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  2. 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)
  3. src/reflect/type.go

    	array.Elem = typ
    	array.PtrToThis = 0
    	if typ.Size_ > 0 {
    		max := ^uintptr(0) / typ.Size_
    		if uintptr(length) > max {
    			panic("reflect.ArrayOf: array size would exceed virtual address space")
    		}
    	}
    	array.Size_ = typ.Size_ * uintptr(length)
    	if length > 0 && typ.Pointers() {
    		array.PtrBytes = typ.Size_*uintptr(length-1) + typ.PtrBytes
    	}
    	array.Align_ = typ.Align_
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  4. src/runtime/malloc.go

    //
    //go:linkname reflect_unsafe_New reflect.unsafe_New
    func reflect_unsafe_New(typ *_type) unsafe.Pointer {
    	return mallocgc(typ.Size_, typ, true)
    }
    
    //go:linkname reflectlite_unsafe_New internal/reflectlite.unsafe_New
    func reflectlite_unsafe_New(typ *_type) unsafe.Pointer {
    	return mallocgc(typ.Size_, typ, true)
    }
    
    // newarray allocates an array of n elements of type typ.
    //
    // newarray should be an internal detail,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  5. 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)
Back to top