- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 316 for offsetsof (0.31 sec)
-
src/cmd/internal/goobj/funcinfo.go
for _, f := range a.File { writeUint32(uint32(f)) } writeUint32(uint32(len(a.InlTree))) for i := range a.InlTree { a.InlTree[i].Write(w) } } // FuncInfoLengths is a cache containing a roadmap of offsets and // lengths for things within a serialized FuncInfo. Each length field // stores the number of items (e.g. files, inltree nodes, etc), and the // corresponding "off" field stores the byte offset of the start of
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 21 19:28:46 UTC 2023 - 3.8K bytes - Viewed (0) -
src/runtime/align_test.go
checked := map[string]bool{} x, err := os.ReadFile("./align_runtime_test.go") if err != nil { t.Fatalf("read failed: %v", err) } fieldDesc := map[int]string{} r := regexp.MustCompile(`unsafe[.]Offsetof[(](\w+){}[.](\w+)[)]`) matches := r.FindAllStringSubmatch(string(x), -1) for i, v := range matches { checked["field runtime."+v[1]+"."+v[2]] = true fieldDesc[i] = v[1] + "." + v[2] } varDesc := map[int]string{}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 08 14:52:12 UTC 2023 - 5.4K bytes - Viewed (0) -
src/internal/trace/internal/oldtrace/parser.go
func (p *parser) loadBatch(pid int32, events []Event) ([]Event, error) { offsets := p.batchOffsets[pid] if len(offsets) == 0 { return nil, io.EOF } n := offsets[0].numEvents offset := offsets[0].offset offsets = offsets[1:] p.batchOffsets[pid] = offsets p.off = offset if cap(events) < n { events = make([]Event, 0, n) } gotHeader := false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 21:15:28 UTC 2024 - 46.8K bytes - Viewed (0) -
src/reflect/asm_ppc64x.s
// license that can be found in the LICENSE file. //go:build ppc64 || ppc64le #include "textflag.h" #include "funcdata.h" #include "asm_ppc64x.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: Sat Nov 06 10:24:44 UTC 2021 - 3.3K bytes - Viewed (0) -
src/cmd/compile/internal/types/size.go
} // calcStructOffset computes the offsets of a sequence of fields, // starting at the given offset. It returns the resulting offset and // maximum field alignment. func calcStructOffset(t *Type, fields []*Field, offset int64) int64 { for _, f := range fields { CalcSize(f.Type) offset = RoundUp(offset, int64(f.Type.align)) if t.IsStruct() { // param offsets depend on ABI f.Offset = offset
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 15K bytes - Viewed (0) -
src/internal/poll/copy_file_range_linux.go
// size_t len, unsigned int flags); // // Note that in the call to unix.CopyFileRange below, we use nil // values for off_in and off_out. For the system call, this means // "use and update the file offsets". That is why we must acquire // locks for both file descriptors (and why this whole machinery is // in the internal/poll package to begin with). if err := dst.writeLock(); err != nil { return 0, err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 17:40:10 UTC 2024 - 3.9K bytes - Viewed (0) -
test/nilcheck.go
_ = *bigstructp // ERROR "nil check" _ = *empty1p // ERROR "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 "nil check" for { if x[9999] != 0 { // ERROR "nil check" break } } x = fx10k()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Jun 30 18:41:59 UTC 2022 - 3.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/collection_ops_util.h
// Returns the type of the size tensor used to track a data structure's element // count. It is a tensor<1xi32>, and we use R1 instead of a scalar because it is // easier to concat it with other offsets. TensorType GetSizeType(OpBuilder builder); // Reshapes a scalar value to match the size type tensor<i32>. Value ReshapeScalarToSizeType(OpBuilder builder, Value scalar, Location loc);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Mar 02 20:41:19 UTC 2023 - 4.8K 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/vendor/golang.org/x/sys/unix/syscall_darwin.go
} func direntIno(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Ino), unsafe.Sizeof(Dirent{}.Ino)) } func direntReclen(buf []byte) (uint64, bool) { return readInt(buf, unsafe.Offsetof(Dirent{}.Reclen), unsafe.Sizeof(Dirent{}.Reclen)) } 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 - 20.7K bytes - Viewed (0)