- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 174 for coffsets (0.22 sec)
-
src/internal/bytealg/bytealg.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package bytealg import ( "internal/cpu" "unsafe" ) // Offsets into internal/cpu records for use in assembly. const ( offsetX86HasSSE42 = unsafe.Offsetof(cpu.X86.HasSSE42) offsetX86HasAVX2 = unsafe.Offsetof(cpu.X86.HasAVX2) offsetX86HasPOPCNT = unsafe.Offsetof(cpu.X86.HasPOPCNT)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 19 19:51:15 UTC 2024 - 3.1K bytes - Viewed (0) -
src/cmd/compile/internal/types/size.go
} for i, m := range methods { m.Offset = int64(i) * int64(PtrSize) } t.SetAllMethods(methods) } // 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)
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) -
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/internal/zstd/fse.go
// be.baseline = 1 << e.sym // be.basebits = e.sym // That would give us an offset value that corresponds to // the one described in the RFC. However, for offsets > 3 // we have to subtract 3. And for offset values 1, 2, 3 // we use a repeated offset. // // The baseline is always a power of 2, and is never 0, // so for those low values we will see one entry that is
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 17 16:44:06 UTC 2023 - 12.2K bytes - Viewed (0) -
src/unicode/letter.go
// {-1, 0, -1} LowerCase (Upper, Title are previous) // The characters at even offsets from the beginning of the // sequence are upper case; the ones at odd offsets are lower. // The correct mapping can be done by clearing or setting the low // bit in the sequence offset. // The constants UpperCase and TitleCase are even while LowerCase // is odd so we take the low bit from _case.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 06 20:02:46 UTC 2023 - 10K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/classpath/transforms/LambdaSerializationTransformer.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 04 14:26:38 UTC 2023 - 15.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/transforms/hlo_matchers.cc
assert(index[i] < shape[i]); assert(index[i] >= 0); } #endif // NDEBUG int64_t offset = 0; int64_t stride = 1; for (int64_t dim = shape.size() - 1; dim >= 0; --dim) { offset += index[dim] * stride; stride *= shape[dim]; } return offset; } int64_t offset_; int64_t stride_; int64_t size_; }; template <typename T>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 11.6K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/deadstore.go
continue } for _, a := range v.Args { if a.Block == b && a.Type.IsMemory() { v = a goto walkloop } } } } // A shadowRange encodes a set of byte offsets [lo():hi()] from // a given pointer that will be written to later in the block. // A zero shadowRange encodes an empty shadowed range (and so // does a -1 shadowRange, which is what sparsemap.get returns
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 25 20:07:26 UTC 2024 - 11K bytes - Viewed (0) -
src/os/readfrom_linux_test.go
t.Fatalf("wrong source file descriptor: got %d, want %d", hook.srcfd, int(fd)) } }); err != nil { t.Fatalf("server Conn Control error: %v", err) } // Check that the offsets after the transfer make sense, that the size // of the transfer was reported correctly, and that the destination // file contains exactly the bytes we expect it to contain. dstoff, err := dst.Seek(0, io.SeekCurrent)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 21:49:26 UTC 2024 - 20.3K bytes - Viewed (0)