- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 683 for Off (0.02 sec)
-
src/debug/gosym/pclntab_test.go
// Test PCToLine sym := tab.LookupFunc("main.linefrompc") wantLine := 0 for pc := sym.Entry; pc < sym.End; pc++ { off := pc - text.Addr // TODO(rsc): should not need off; bug in 8g if textdat[off] == 255 { break } wantLine += int(textdat[off]) t.Logf("off is %d %#x (max %d)", off, textdat[off], sym.End-pc) file, line, fn := tab.PCToLine(pc) if fn == nil { t.Errorf("failed to get line of PC %#x", pc)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 09 17:17:44 UTC 2022 - 9.6K bytes - Viewed (0) -
guava/src/com/google/common/io/AppendableWriter.java
checkNotNull(str); checkNotClosed(); target.append(str); } @Override public void write(String str, int off, int len) throws IOException { checkNotNull(str); checkNotClosed(); // tricky: append takes start, end pair... target.append(str, off, off + len); } @Override public void flush() throws IOException { checkNotClosed(); if (target instanceof Flushable) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 28 20:13:02 UTC 2023 - 3.4K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/PrimitiveSink.java
/** * Puts a chunk of an array of bytes into this sink. {@code bytes[off]} is the first byte written, * {@code bytes[off + len - 1]} is the last. * * @param bytes a byte array * @param off the start offset in the array * @param len the number of bytes to write * @return this instance * @throws IndexOutOfBoundsException if {@code off < 0} or {@code off + len > bytes.length} or * {@code len < 0} */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jun 15 20:59:00 UTC 2022 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/ByteProcessor.java
/** * This method will be called for each chunk of bytes in an input stream. The implementation * should process the bytes from {@code buf[off]} through {@code buf[off + len - 1]} (inclusive). * * @param buf the byte array containing the data to process * @param off the initial offset into the array * @param len the length of data to be processed * @return true to continue processing, false to stop */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 2K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteProcessor.java
/** * This method will be called for each chunk of bytes in an input stream. The implementation * should process the bytes from {@code buf[off]} through {@code buf[off + len - 1]} (inclusive). * * @param buf the byte array containing the data to process * @param off the initial offset into the array * @param len the length of data to be processed * @return true to continue processing, false to stop */
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 17 14:35:11 UTC 2023 - 2K bytes - Viewed (0) -
src/runtime/cgo_mmap.go
// an errno value. var ret uintptr systemstack(func() { ret = callCgoMmap(addr, n, prot, flags, fd, off) }) if ret < 4096 { return nil, int(ret) } return unsafe.Pointer(ret), 0 } return sysMmap(addr, n, prot, flags, fd, off) } func munmap(addr unsafe.Pointer, n uintptr) { if _cgo_munmap != nil { systemstack(func() { callCgoMunmap(addr, n) }) return }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 25 20:58:13 UTC 2023 - 2.4K bytes - Viewed (0) -
src/cmd/go/testdata/script/telemetry.txt
env home=$WORK/userconfig # plan9 [GOOS:plan9] env userconfig=$home/lib go telemetry stdout 'local' go telemetry off go telemetry stdout 'off' go env GOTELEMETRY stdout 'off' go telemetry local go telemetry stdout 'local' go env GOTELEMETRY stdout 'local' go telemetry on go telemetry stdout 'on' go env GOTELEMETRY stdout 'on'
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 20:16:39 UTC 2024 - 1.5K bytes - Viewed (0) -
src/internal/syscall/unix/fallocate_freebsd_386.go
package unix import "syscall" func PosixFallocate(fd int, off int64, size int64) error { // If successful, posix_fallocate() returns zero. It returns an error on failure, without // setting errno. See https://man.freebsd.org/cgi/man.cgi?query=posix_fallocate&sektion=2&n=1 r1, _, _ := syscall.Syscall6(posixFallocateTrap, uintptr(fd), uintptr(off), uintptr(off>>32), uintptr(size), uintptr(size>>32), 0) if r1 != 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 05 14:17:36 UTC 2023 - 627 bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/counter/parse.go
headOff := hdrLen + hashOff + i*4 head := m.load32(headOff) off := head for off != 0 { ename, next, v, ok := m.entryAt(off) if !ok { return corrupt() } if _, ok := f.Count[string(ename)]; ok { return corrupt() } ctrName := DecodeStack(string(ename)) f.Count[ctrName] = v.Load() off = next } } return f, nil
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 13 14:38:01 UTC 2024 - 1.8K bytes - Viewed (0) -
src/time/sys_plan9.go
return syscall.Read(int(fd), buf) } func closefd(fd uintptr) { syscall.Close(int(fd)) } func preadn(fd uintptr, buf []byte, off int) error { whence := seekStart if off < 0 { whence = seekEnd } if _, err := syscall.Seek(int(fd), int64(off), whence); err != nil { return err } for len(buf) > 0 { m, err := syscall.Read(int(fd), buf) if m <= 0 { if err == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1016 bytes - Viewed (0)