- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 33 for coffsets (0.68 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/unsafeptr/unsafeptr.go
return len(x.Args) == 1 && hasBasicType(info, x.Fun, types.Uintptr) && hasBasicType(info, x.Args[0], types.UnsafePointer) case *ast.BinaryExpr: // "It is valid both to add and to subtract offsets from a // pointer in this way. It is also valid to use &^ to round // pointers, usually for alignment." switch x.Op { case token.ADD, token.SUB, token.AND_NOT: // TODO(mdempsky): Match compiler
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 4.7K bytes - Viewed (0) -
src/cmd/compile/internal/walk/closure.go
// Update the call expression's type. We need to do this // because typecheck gave it the result type of the OCLOSURE // node, but we only rewrote the ONAME node's type. Logically, // they're the same, but the stack offsets probably changed. if typ.NumResults() == 1 { n.SetType(typ.Result(0).Type) } else { n.SetType(typ.ResultsTuple()) } // Add to Closures for enqueueFunc. It's no longer a proper
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 20 15:56:08 UTC 2023 - 6.5K bytes - Viewed (0) -
src/go/ast/print.go
} // Fprint prints the (sub-)tree starting at AST node x to w. // If fset != nil, position information is interpreted relative // to that file set. Otherwise positions are printed as integer // values (file set specific offsets). // // A non-nil [FieldFilter] f may be provided to control the output: // struct fields for which f(fieldname, fieldvalue) is true are // printed; all others are filtered from the output. Unexported
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 5.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/internal/coverage/encodemeta/encode.go
} if err := binary.Write(w, binary.LittleEndian, mh); err != nil { return digest, fmt.Errorf("error writing meta-file header: %v", err) } off := int64(coverage.CovMetaHeaderSize) // Write function offsets section off = b.emitFuncOffsets(w, off) // Check for any errors up to this point. if b.werr != nil { return digest, b.werr } // Write string table. if err := b.stab.Write(w); err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 29 17:16:10 UTC 2024 - 5.5K bytes - Viewed (0) -
cmd/httprange.go
// Case 2: bytes=1-10 (absolute start and end offsets) -> RangeSpec{false, 1, 10} // Case 3: bytes=10- (absolute start offset with end offset unspecified) -> RangeSpec{false, 10, -1} // Case 4: bytes=-30 (suffix length specification) -> RangeSpec{true, -30, -1} type HTTPRangeSpec struct { // Does the range spec refer to a suffix of the object? IsSuffixLength bool // Start and end offset specified in range spec Start, End int64 }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 09 08:44:07 UTC 2024 - 5.9K bytes - Viewed (0) -
src/runtime/sys_windows_386.s
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Sep 21 15:56:43 UTC 2023 - 6.5K bytes - Viewed (0) -
cmd/bitrot.go
if left < shardSize { shardSize = left } read, err := io.CopyBuffer(h, io.LimitReader(r, shardSize), *bufp) if err != nil { // Read's failed for object with right size, at different offsets. return errFileCorrupt } left -= read if !bytes.Equal(h.Sum(nil), hashBuf[:n]) { return errFileCorrupt } } return nil }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 7.6K bytes - Viewed (0) -
src/internal/coverage/decodemeta/decodefile.go
} // Read package offsets for good measure r.pkgOffsets = make([]uint64, r.hdr.Entries) for i := uint64(0); i < r.hdr.Entries; i++ { if r.pkgOffsets[i], err = r.rdUint64(); err != nil { return err } if r.pkgOffsets[i] > r.hdr.TotalLength { return fmt.Errorf("insane pkg offset %d: %d > totlen %d", i, r.pkgOffsets[i], r.hdr.TotalLength) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Oct 14 22:30:23 UTC 2023 - 6.8K bytes - Viewed (0) -
src/internal/coverage/encodecounter/encode.go
if err := binary.Write(ws, binary.LittleEndian, cfw.csh); err != nil { return err } hdrsz := uint32(len(ws.BytesWritten())) // Write string table and args to a byte slice (since we need // to capture offsets at various points), then emit the slice // once we are done. cfw.stab.Freeze() if err := cfw.stab.Write(ws); err != nil { return err } cfw.csh.StrTabLen = uint32(len(ws.BytesWritten())) - hdrsz
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 7.8K bytes - Viewed (0)