- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for byte_offset (0.27 sec)
-
tensorflow/c/eager/dlpack.cc
} int num_dims = dl_tensor->ndim; const int64_t* dims = dl_tensor->shape; void* data = dl_tensor->data; if (dl_tensor->byte_offset != 0) { status->status = tensorflow::errors::InvalidArgument( "Unsupported byte_offset (", dl_tensor->byte_offset, ") from DLPack, must be zero"); return nullptr; } size_t total_bytes = dl_tensor->dtype.bits / 8;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Feb 15 09:49:45 UTC 2024 - 12.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/LockingAndXRange.java
this.byteOffset = ( boHigh << 32 ) | boLow; int lHigh = SMBUtil.readInt4(buffer, bufferIndex + 12); int lLow = SMBUtil.readInt4(buffer, bufferIndex + 16); this.lengthInBytes = ( lHigh << 32 ) | lLow; return 20; } this.pid = SMBUtil.readInt2(buffer, bufferIndex); this.byteOffset = SMBUtil.readInt4(buffer, bufferIndex + 2);
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/netbios/Name.java
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 6.6K bytes - Viewed (0) -
src/main/java/jcifs/netbios/Name.java
dst[ dstIndex + ( 2 * i + 1 ) ] = (byte) 0x43; dst[ dstIndex + ( 2 * i + 2 ) ] = (byte) 0x41; } dst[ dstIndex + TYPE_OFFSET ] = (byte) ( ( ( this.hexCode & 0xF0 ) >> 4 ) + 0x41 ); dst[ dstIndex + TYPE_OFFSET + 1 ] = (byte) ( ( this.hexCode & 0x0F ) + 0x41 ); return SCOPE_OFFSET + writeScopeWireFormat(dst, dstIndex + SCOPE_OFFSET); }
Registered: Wed Jun 12 15:45:55 UTC 2024 - Last Modified: Sun Jul 01 13:12:10 UTC 2018 - 7.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/passes/fold_constant_transpose.cc
const ArrayRef<int64_t> shape) { int64_t contiguous_offset = 0; int64_t base_offset = 1; for (auto [i, dimension] : llvm::reverse(llvm::zip_equal(indices, shape))) { contiguous_offset += base_offset * i; base_offset *= dimension; } return contiguous_offset; } // Performs transposition of a tensor represented as a contiguous element array.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.7K bytes - Viewed (0) -
src/debug/dwarf/type.go
if b.uint8() != opPlusUconst { err = DecodeError{name, kid.Offset, "unexpected opcode"} goto Error } f.ByteOffset = int64(b.uint()) if b.err != nil { err = b.err goto Error } case int64: f.ByteOffset = loc } f.Name, _ = kid.Val(AttrName).(string) f.ByteSize, _ = kid.Val(AttrByteSize).(int64) haveBitOffset := false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 21.9K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
continue } // Round off up to talign, assumed to be a power of 2. off = (off + talign - 1) &^ (talign - 1) if f.ByteOffset > off { fld, sizes = c.pad(fld, sizes, f.ByteOffset-off) off = f.ByteOffset } if f.ByteOffset < off { // Drop a packed field that we can't represent. continue } n := len(fld) fld = fld[0 : n+1] if name == "" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
src/cmd/link/internal/ld/dwarf_test.go
t.Fatalf("can't read type: %v", err) } s := typ.(*dwarf.StructType) for i := 0; i < len(s.Field); i++ { end := s.Field[i].ByteOffset + s.Field[i].Type.Size() var limit int64 if i == len(s.Field)-1 { limit = s.Size() } else { limit = s.Field[i+1].ByteOffset } if end > limit { name := entry.Val(dwarf.AttrName).(string)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 08 01:38:11 UTC 2024 - 48.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go
{"QualType.Qual", Field, 0}, {"QualType.Type", Field, 0}, {"Reader", Type, 0}, {"StructField", Type, 0}, {"StructField.BitOffset", Field, 0}, {"StructField.BitSize", Field, 0}, {"StructField.ByteOffset", Field, 0}, {"StructField.ByteSize", Field, 0}, {"StructField.DataBitOffset", Field, 18}, {"StructField.Name", Field, 0}, {"StructField.Type", Field, 0}, {"StructType", Type, 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 534.2K bytes - Viewed (0) -
api/go1.txt
pkg debug/dwarf, type StructField struct pkg debug/dwarf, type StructField struct, BitOffset int64 pkg debug/dwarf, type StructField struct, BitSize int64 pkg debug/dwarf, type StructField struct, ByteOffset int64 pkg debug/dwarf, type StructField struct, ByteSize int64 pkg debug/dwarf, type StructField struct, Name string pkg debug/dwarf, type StructField struct, Type Type pkg debug/dwarf, type StructType struct
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 14 18:58:28 UTC 2013 - 1.7M bytes - Viewed (0)