- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 401 for offset_ (0.13 sec)
-
src/cmd/compile/internal/types2/gcsizes.go
return a } func (s *gcSizes) Offsetsof(fields []*Var) []int64 { offsets := make([]int64, len(fields)) var offs int64 for i, f := range fields { if offs < 0 { // all remaining offsets are too large offsets[i] = -1 continue } // offs >= 0 a := s.Alignof(f.typ) offs = align(offs, a) // possibly < 0 if align overflows offsets[i] = offs if d := s.Sizeof(f.typ); d >= 0 && offs >= 0 {
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/cmd/internal/cov/mreader.go
} return r.rdr.ReadByte() } func (r *MReader) Seek(offset int64, whence int) (int64, error) { if r.fileView == nil { return r.rdr.MustSeek(offset, whence), nil } switch whence { case io.SeekStart: r.off = offset return offset, nil case io.SeekCurrent: return r.off, nil case io.SeekEnd: r.off = int64(len(r.fileView)) + offset return r.off, nil } panic("other modes not implemented")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 10 18:12:25 UTC 2023 - 1.8K bytes - Viewed (0) -
src/debug/pe/section.go
// to avoid having Read and Seek. // If a client wants Read and Seek it must use // Open() to avoid fighting over the seek offset // with other clients. io.ReaderAt sr *io.SectionReader } // Data reads and returns the contents of the PE section s. // // If s.Offset is 0, the section has no contents, // and Data will always return a non-nil error. func (s *Section) Data() ([]byte, error) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 18 19:33:30 UTC 2023 - 3.5K bytes - Viewed (0) -
src/strings/reader.go
return nil } // Seek implements the [io.Seeker] interface. func (r *Reader) Seek(offset int64, whence int) (int64, error) { r.prevRune = -1 var abs int64 switch whence { case io.SeekStart: abs = offset case io.SeekCurrent: abs = r.i + offset case io.SeekEnd: abs = int64(len(r.s)) + offset default: return 0, errors.New("strings.Reader.Seek: invalid whence") } if abs < 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 13 17:10:31 UTC 2023 - 3.9K bytes - Viewed (0) -
platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java
this.inputStream = inputStream; input.setInputStream(inputStream); extraSkipped = 0; } @Override protected int maybeReadBytes(byte[] buffer, int offset, int count) { return input.read(buffer, offset, count); } @Override protected long maybeSkip(long count) throws IOException { // Work around some bugs in Input.skip()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 15 16:06:56 UTC 2024 - 7.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_amd64.go
} //sys MemfdSecret(flags int) (fd int, err error) //sys Pause() (err error) //sys pread(fd int, p []byte, offset int64) (n int, err error) = SYS_PREAD64 //sys pwrite(fd int, p []byte, offset int64) (n int, err error) = SYS_PWRITE64 //sys Renameat(olddirfd int, oldpath string, newdirfd int, newpath string) (err error) //sys Seek(fd int, offset int64, whence int) (off int64, err error) = SYS_LSEEK
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 5.3K bytes - Viewed (0) -
src/cmd/link/internal/ld/sym.go
mayberemoveoutfile() } }) return ctxt } // computeTLSOffset records the thread-local storage offset. // Not used for Android where the TLS offset is determined at runtime. func (ctxt *Link) computeTLSOffset() { switch ctxt.HeadType { default: log.Fatalf("unknown thread-local storage offset for %v", ctxt.HeadType) case objabi.Hplan9, objabi.Hwindows, objabi.Hjs, objabi.Hwasip1, objabi.Haix: break
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 05 19:28:25 UTC 2023 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/tests/passes/unfuse_mhlo_batch_norm.mlir
// CHECK-LABEL: @unfuse_batch_norm // CHECK-SAME: %[[X:[^:[:space:]]+]] // CHECK-SAME: %[[SCALE:[^:[:space:]]+]] // CHECK-SAME: %[[OFFSET:[^:[:space:]]+]] // CHECK-SAME: %[[MEAN:[^:[:space:]]+]] // CHECK-SAME: %[[VARIANCE:[^:[:space:]]+]] func.func @unfuse_batch_norm( %x: tensor<4x256xf32>, %scale: tensor<256xf32>, %offset: tensor<256xf32>, %mean: tensor<256xf32>, %variance: tensor<256xf32>) -> (tensor<4x256xf32>) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Apr 06 15:32:52 UTC 2024 - 2.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/schema/schema_conversion_utils.cc
// schema_utils header. // TODO(b/162392898): remove once all callers are updated to use schema v3a // functions. flatbuffers::Offset<OperatorCode> CreateOperatorCode( flatbuffers::FlatBufferBuilder &_fbb, BuiltinOperator builtin_code, flatbuffers::Offset<flatbuffers::String> custom_code, int32_t version) { OperatorCodeBuilder builder_(_fbb); builder_.add_version(version); int8_t deprecated_builtin_code =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 21 18:21:50 UTC 2024 - 2.9K bytes - Viewed (0) -
src/runtime/time_test.go
t.Errorf("runtime.Timer field %s %v incompatible with %s field %s %v", f1.Name, t1, name, f2.Name, t2) } if f1.Offset != f2.Offset { t.Errorf("runtime.Timer field %s offset %d incompatible with %s field %s offset %d", f1.Name, f1.Offset, name, f2.Name, f2.Offset) } } } check("time.Timer", reflect.TypeOf(time.Timer{})) check("time.Ticker", reflect.TypeOf(time.Ticker{}))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Mar 09 03:40:04 UTC 2024 - 3.1K bytes - Viewed (0)