- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 316 for offsetsof (0.16 sec)
-
src/go/token/serialize_test.go
} if f.size != g.size { return fmt.Errorf("different size for %q: %d != %d", f.name, f.size, g.size) } for j, l := range f.lines { m := g.lines[j] if l != m { return fmt.Errorf("different offsets for %q", f.name) } } for j, l := range f.infos { m := g.infos[j] if l.Offset != m.Offset || l.Filename != m.Filename || l.Line != m.Line { return fmt.Errorf("different infos for %q", f.name) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 17 15:02:55 UTC 2022 - 2.5K bytes - Viewed (0) -
src/cmd/compile/internal/ssagen/pgen.go
// Open-coded defer slots have indices that were assigned // upfront during SSA construction, but the defer statement can // later get removed during deadcode elimination (#61895). To // keep their relative offsets correct, treat them all as used. continue } if needAlloc(ln) { ln.SetUsed(false) } } for _, l := range f.RegAlloc { if ls, ok := l.(ssa.LocalSlot); ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 15 15:44:14 UTC 2024 - 13.1K bytes - Viewed (0) -
src/reflect/asm_arm64.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" #include "funcdata.h" // The frames of each of the two functions below contain two locals, at offsets // that are known to the runtime. // // The first local is a bool called retValid with a whole pointer-word reserved // for it on the stack. The purpose of this word is so that the runtime knows
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 18 18:26:13 UTC 2022 - 2.8K bytes - Viewed (0) -
src/runtime/unsafepoint_test.go
t.Fatalf("can't parse pc %s: %v", parts[1], err) } if entry == 0 { entry = pc } // Note that some platforms do ASLR, so the PCs in the disassembly // don't match PCs in the address space. Only offsets from function // entry make sense. unsafe := runtime.UnsafePoint(f.Entry() + uintptr(pc-entry)) t.Logf("unsafe: %v\n", unsafe) instructionCount++ if unsafe { unsafeCount++ }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 11 20:24:56 UTC 2023 - 3.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_dragonfly.go
func direntIno(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Fileno), unsafe.Sizeof(Dirent{}.Fileno)) } func direntReclen(buf []byte) (uint64, bool) { namlen, ok := direntNamlen(buf) if !ok { return 0, false } return (16 + namlen + 1 + 7) &^ 7, true } func direntNamlen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Namlen), unsafe.Sizeof(Dirent{}.Namlen)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 10 16:32:44 UTC 2023 - 11.2K bytes - Viewed (0) -
src/internal/bytealg/compare_ppc64x.s
MOVD R14,CTR ANDCC $63,R9,R9 CMP R9,$16,CR1 // Do setup for tail check early on. CMP R9,$32,CR2 CMP R9,$48,CR3 ADD $-16,R9,R9 MOVD $32,R11 // set offsets to load into vector MOVD $48,R12 // set offsets to load into vector PCALIGN $16 cmp64_loop: LXVD2X (R5)(R0),V3 // load bytes of A at offset 0 into vector LXVD2X (R6)(R0),V4 // load bytes of B at offset 0 into vector
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Aug 28 17:33:20 UTC 2023 - 6.7K bytes - Viewed (0) -
src/cmd/go/internal/modindex/write.go
} func encodePackage(e *encoder, p *rawPackage) { e.String(p.error) e.String(p.dir) e.Int(len(p.sourceFiles)) // number of source files sourceFileOffsetPos := e.Pos() // the pos of the start of the source file offsets for range p.sourceFiles { e.Int(0) } for i, f := range p.sourceFiles { e.IntAt(e.Pos(), sourceFileOffsetPos+4*i) encodeFile(e, f) } } func encodeFile(e *encoder, f *rawFile) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 10:10:21 UTC 2023 - 3.7K bytes - Viewed (0) -
src/reflect/asm_riscv64.s
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. #include "textflag.h" #include "funcdata.h" // The frames of each of the two functions below contain two locals, at offsets // that are known to the runtime. // // The first local is a bool called retValid with a whole pointer-word reserved // for it on the stack. The purpose of this word is so that the runtime knows
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 01 01:41:42 UTC 2022 - 2.6K bytes - Viewed (0) -
src/internal/weak/pointer.go
// that they were created from compare equal. This property is retained even // after the object referenced by the pointer used to create a weak reference // is reclaimed. // // If multiple weak pointers are made to different offsets within same object // (for example, pointers to different fields of the same struct), those pointers // will not compare equal. // If a weak pointer is created from an object that becomes reachable again due
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 26 22:13:25 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/link/internal/ld/pcln.go
// deduplicated pcdata. func (state *pclntab) generatePctab(ctxt *Link, funcs []loader.Sym) { ldr := ctxt.loader // Pctab offsets of 0 are considered invalid in the runtime. We respect // that by just padding a single byte at the beginning of runtime.pctab, // that way no real offsets can be zero. size := int64(1) // Walk the functions, finding offset to store each pcdata. seen := make(map[loader.Sym]struct{})
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 29.6K bytes - Viewed (0)