- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 401 for offset_ (0.28 sec)
-
src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_gccgo_arm.go
//go:build linux && gccgo && arm package unix import ( "syscall" "unsafe" ) func seek(fd int, offset int64, whence int) (int64, syscall.Errno) { var newoffset int64 offsetLow := uint32(offset & 0xffffffff) offsetHigh := uint32((offset >> 32) & 0xffffffff) _, _, err := Syscall6(SYS__LLSEEK, uintptr(fd), uintptr(offsetHigh), uintptr(offsetLow), uintptr(unsafe.Pointer(&newoffset)), uintptr(whence), 0)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 596 bytes - Viewed (0) -
src/cmd/compile/internal/typecheck/iexport.go
// Name stringOff // Offset declOff // } // } // // Fingerprint [8]byte // // uvarint means a uint64 written out using uvarint encoding. // // []T means a uvarint followed by that many T objects. In other // words: // // Len uvarint // Elems [Len]T // // stringOff means a uvarint that indicates an offset within the
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 21 02:40:02 UTC 2023 - 6.8K 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/link/internal/dwtest/dwtest.go
} } } // Given a DIE offset, return the previously read dwarf.Entry, or nil func (ex *Examiner) EntryFromOffset(off dwarf.Offset) *dwarf.Entry { if idx, found := ex.idxByOffset[off]; found && idx != -1 { return ex.entryFromIdx(idx) } return nil } // Return the ID that Examiner uses to refer to the DIE at offset off func (ex *Examiner) IdxFromOffset(off dwarf.Offset) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 02 15:22:18 UTC 2024 - 5.4K bytes - Viewed (0) -
test/typeparam/issue47716.go
func align[T any](x T) uintptr { return unsafe.Alignof(x) } type Tstruct[T any] struct { f1 T f2 int } // offset returns the offset of field f2 in the generic type Tstruct func (r *Tstruct[T]) offset() uintptr { return unsafe.Offsetof(r.f2) } func main() { v1 := int(5) if got, want := size(v1), unsafe.Sizeof(v1); got != want { panic(fmt.Sprintf("got %d, want %d", got, want)) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 01 19:45:34 UTC 2022 - 1.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/QueryResponseList.java
protected long queryTime; // for testing protected QueryResponseList(final List<Map<String, Object>> documentList, final int start, final int pageSize, final int offset) { this.parent = documentList; this.offset = offset; this.start = start; this.pageSize = pageSize; }
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 8.9K bytes - Viewed (0) -
test/nilptr3.go
_ = *bigstructp // ERROR "generated nil check" _ = *empty1p // ERROR "generated nil check" } func fx10k() *[10000]int var b bool func f3(x *[10000]int) { // Using a huge type and huge offsets so the compiler // does not expect the memory hardware to fault. _ = x[9999] // ERROR "generated nil check" for { if x[9999] != 0 { // ERROR "removed nil check" break } } x = fx10k()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:25 UTC 2023 - 5.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/syscall_freebsd_386.go
} func (d *PtraceIoDesc) SetLen(length int) { d.Len = uint32(length) } func sendfile(outfd int, infd int, offset *int64, count int) (written int, err error) { var writtenOut uint64 = 0 _, _, e1 := Syscall9(SYS_SENDFILE, uintptr(infd), uintptr(outfd), uintptr(*offset), uintptr((*offset)>>32), uintptr(count), 0, uintptr(unsafe.Pointer(&writtenOut)), 0, 0) written = int(writtenOut) if e1 != 0 { err = e1 }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 23:33:33 UTC 2023 - 1.5K bytes - Viewed (0) -
src/runtime/sys_freebsd_386.s
MOVL $SYS_thr_new, AX INT $0x80 JAE 2(PC) NEGL AX MOVL AX, ret+8(FP) RET // Called by OS using C ABI. TEXT runtime·thr_start(SB),NOSPLIT,$0 NOP SP // tell vet SP changed - stop checking offsets MOVL 4(SP), AX // m MOVL m_g0(AX), BX LEAL m_tls(AX), BP MOVL m_id(AX), DI ADDL $7, DI PUSHAL PUSHL $32 PUSHL BP PUSHL DI CALL runtime·setldt(SB) POPL AX POPL AX POPL AX POPAL
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 06 18:49:01 UTC 2023 - 9.4K bytes - Viewed (0) -
src/cmd/link/internal/ld/asmb.go
} CodeblkPad(ctxt, out, start, length, pad) } for _, sect := range Segtext.Sections { offset := sect.Vaddr - Segtext.Vaddr + Segtext.Fileoff // Handle text sections with Codeblk if sect.Name == ".text" { writeParallel(&wg, f, ctxt, offset, sect.Vaddr, sect.Length) } else { writeParallel(&wg, datblk, ctxt, offset, sect.Vaddr, sect.Length) } } if Segrodata.Filelen > 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 02 09:22:56 UTC 2023 - 5.4K bytes - Viewed (0)