- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 396 for offset2 (0.12 sec)
-
src/io/io.go
var errOffset = errors.New("Seek: invalid offset") func (s *SectionReader) Seek(offset int64, whence int) (int64, error) { switch whence { default: return 0, errWhence case SeekStart: offset += s.base case SeekCurrent: offset += s.off case SeekEnd: offset += s.limit } if offset < s.base { return 0, errOffset } s.off = offset return offset - s.base, nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 15 17:34:10 UTC 2024 - 21.6K bytes - Viewed (0) -
src/internal/abi/type.go
// is freed. TFlagUnrolledBitmap TFlag = 1 << 4 ) // NameOff is the offset to a name from moduledata.types. See resolveNameOff in runtime. type NameOff int32 // TypeOff is the offset to a type from moduledata.types. See resolveTypeOff in runtime. type TypeOff int32 // TextOff is an offset from the top of a text section. See (rtype).textOff in runtime. type TextOff int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 21.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema_generated.h
auto o = ::flatbuffers::Offset<Tensor>(end); return o; } }; inline ::flatbuffers::Offset<Tensor> CreateTensor( ::flatbuffers::FlatBufferBuilder &_fbb, ::flatbuffers::Offset<::flatbuffers::Vector<int32_t>> shape = 0, tflite::TensorType type = tflite::TensorType_FLOAT32, uint32_t buffer = 0, ::flatbuffers::Offset<::flatbuffers::String> name = 0,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 1M bytes - Viewed (0) -
src/compress/flate/deflate.go
logWindowSize = 15 windowSize = 1 << logWindowSize windowMask = windowSize - 1 // The LZ77 step produces a sequence of literal tokens and <length, offset> // pair tokens. The offset is also known as distance. The underlying wire // format limits the range of lengths and offsets. For example, there are // 256 legitimate lengths: those in the range [3, 258]. This package's // compressor uses a higher minimum match length, enabling optimizations
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 13:32:40 UTC 2024 - 20.3K bytes - Viewed (0) -
src/cmd/internal/obj/link.go
"internal/abi" "sync" "sync/atomic" ) // An Addr is an argument to an instruction. // The general forms and their encodings are: // // sym±offset(symkind)(reg)(index*scale) // Memory reference at address &sym(symkind) + offset + reg + index*scale. // Any of sym(symkind), ±offset, (reg), (index*scale), and *scale can be omitted. // If (reg) and *scale are both omitted, the resulting expression (index) is parsed as (reg).
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 33.1K bytes - Viewed (0) -
src/unsafe/unsafe.go
// by conversion to uintptr, addition of an offset, and conversion back to Pointer. // // p = unsafe.Pointer(uintptr(p) + offset) // // The most common use of this pattern is to access fields in a struct // or elements of an array: // // // equivalent to f := unsafe.Pointer(&s.f) // f := unsafe.Pointer(uintptr(unsafe.Pointer(&s)) + unsafe.Offsetof(s.f)) // // // equivalent to e := unsafe.Pointer(&x[i])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 19:45:20 UTC 2024 - 12.1K bytes - Viewed (0) -
src/time/format.go
// as some people do write offsets of 24 hours // or 60 minutes or 60 seconds. if hr > 24 { rangeErrString = "time zone offset hour" } if mm > 60 { rangeErrString = "time zone offset minute" } if ss > 60 { rangeErrString = "time zone offset second" } zoneOffset = (hr*60+mm)*60 + ss // offset is in seconds switch sign[0] { case '+':
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 11 17:09:28 UTC 2024 - 49.3K bytes - Viewed (0) -
src/time/time.go
if t.Location() == UTC { offsetMin = -1 } else { _, offset := t.Zone() if offset%60 != 0 { version = timeBinaryVersionV2 offsetSec = int8(offset % 60) } offset /= 60 if offset < -32768 || offset == -1 || offset > 32767 { return nil, errors.New("Time.MarshalBinary: unexpected zone offset") } offsetMin = int16(offset) } sec := t.sec() nsec := t.nsec()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 50.7K bytes - Viewed (0) -
src/unique/clone.go
atyp := typ.ArrayType() etyp := atyp.Elem offset := baseOffset for range atyp.Len { switch etyp.Kind() { case abi.String: seq.stringOffsets = append(seq.stringOffsets, offset) case abi.Struct: buildStructCloneSeq(etyp, seq, offset) case abi.Array: buildArrayCloneSeq(etyp, seq, offset) } offset += etyp.Size() align := uintptr(etyp.FieldAlign()) offset = (offset + align - 1) &^ (align - 1) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun May 05 00:24:21 UTC 2024 - 2.6K bytes - Viewed (0) -
src/cmd/internal/obj/ppc64/obj9.go
} if p.From.Offset&0xFFFF == 0 { // The constant can be added using ADDIS p.As = AADDIS p.From.Offset >>= 16 } else if buildcfg.GOPPC64 >= 10 { // Let the assembler generate paddi for large constants. break } else if (p.From.Offset < -0x8000 && int64(int32(p.From.Offset)) == p.From.Offset) || (p.From.Offset > 0xFFFF && p.From.Offset < 0x7FFF8000) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:17:17 UTC 2024 - 40.8K bytes - Viewed (0)