- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 130 for doffsets (0.34 sec)
-
src/cmd/link/internal/ld/pcln.go
// calculateFunctabSize calculates the size of the pclntab, and the offsets in // the output buffer for individual func entries. func (state pclntab) calculateFunctabSize(ctxt *Link, funcs []loader.Sym) (int64, []uint32) { ldr := ctxt.loader startLocations := make([]uint32, len(funcs)) // Allocate space for the pc->func table. This structure consists of a pc offset // and an offset to the func structure. After that, we have a single pc
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0) -
src/cmd/internal/goobj/objfile.go
return int(r.h.Offsets[BlkHashed64def+1]-r.h.Offsets[BlkHashed64def]) / SymSize } func (r *Reader) NHasheddef() int { return int(r.h.Offsets[BlkHasheddef+1]-r.h.Offsets[BlkHasheddef]) / SymSize } func (r *Reader) NNonpkgdef() int { return int(r.h.Offsets[BlkNonpkgdef+1]-r.h.Offsets[BlkNonpkgdef]) / SymSize } func (r *Reader) NNonpkgref() int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 23.8K bytes - Viewed (0) -
src/cmd/compile/internal/types2/sizes.go
var offsets []int64 if T.NumFields() > 0 { // compute offsets on demand f := stdSizes.Offsetsof if conf.Sizes != nil { f = conf.Sizes.Offsetsof } offsets = f(T.fields) // sanity checks if len(offsets) != T.NumFields() { panic("implementation of offsetsof returned the wrong number of offsets") } } return offsets }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 8.8K bytes - Viewed (0) -
src/go/types/sizes.go
var offsets []int64 if T.NumFields() > 0 { // compute offsets on demand f := stdSizes.Offsetsof if conf.Sizes != nil { f = conf.Sizes.Offsetsof } offsets = f(T.fields) // sanity checks if len(offsets) != T.NumFields() { panic("implementation of offsetsof returned the wrong number of offsets") } } return offsets }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 03 18:48:38 UTC 2024 - 8.9K bytes - Viewed (0) -
src/go/types/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: Wed Apr 03 18:48:38 UTC 2024 - 4.4K bytes - Viewed (0) -
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/obj/objfile.go
h.Offsets[goobj.BlkNonpkgdef] = w.Offset() for _, s := range ctxt.nonpkgdefs { w.Sym(s) } // Non-pkg symbol references h.Offsets[goobj.BlkNonpkgref] = w.Offset() for _, s := range ctxt.nonpkgrefs { w.Sym(s) } // Referenced package symbol flags h.Offsets[goobj.BlkRefFlags] = w.Offset() w.refFlags() // Hashes h.Offsets[goobj.BlkHash64] = w.Offset()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 19:57:43 UTC 2024 - 24K bytes - Viewed (0) -
src/internal/syscall/unix/siginfo_linux_test.go
// These two fields are swapped on MIPS platforms. ofErrno, ofCode = ofCode, ofErrno } ofPid := 12 if host64bit { ofPid = 16 } ofUid := ofPid + 4 ofStatus := ofPid + 8 offsets := []struct { name string got uintptr want int }{ {"Signo", unsafe.Offsetof(si.Signo), ofSigno}, {"Errno", unsafe.Offsetof(si.Errno), ofErrno}, {"Code", unsafe.Offsetof(si.Code), ofCode},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 01:23:00 UTC 2024 - 1.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/cases/trieval.go
var trie = newCaseTrie(0) var sparse = sparseBlocks{ values: sparseValues[:], offsets: sparseOffsets[:], } // Sparse block lookup code. // valueRange is an entry in a sparse block. type valueRange struct { value uint16 lo, hi byte } type sparseBlocks struct { values []valueRange offsets []uint16 } // lookup returns the value from values block n for byte b using binary search.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 6.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/utils.h
offsets.push_back(end_values[i] - begin_values[i]); } } return mlir::DenseElementsAttr::get( RankedTensorType::get({static_cast<int>(offsets.size())}, mlir::IntegerType::get(begin.getContext(), 32)), llvm::ArrayRef(offsets)); } // Check if the offset between two dense attribute values is non-negative.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 00:40:15 UTC 2024 - 11.6K bytes - Viewed (0)