Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,552 for Off (0.21 sec)

  1. src/cmd/link/internal/ld/seh.go

    		if fi := ldr.FuncInfo(s); !fi.Valid() {
    			continue
    		}
    		uw := ldr.SEHUnwindSym(s)
    		if uw == 0 {
    			continue
    		}
    		name := ctxt.SymName(uw)
    		off, cached := uwcache[name]
    		if !cached {
    			off = xdata.Size()
    			uwcache[name] = off
    			xdata.AddBytes(ldr.Data(uw))
    			// The SEH unwind data can contain relocations,
    			// make sure those are copied over.
    			rels := ldr.Relocs(uw)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:01:27 UTC 2023
    - 2K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/syscall_illumos.go

    	iovecs := bytes2iovec(iovs)
    	n, err = readv(fd, iovecs)
    	return n, err
    }
    
    //sys	preadv(fd int, iovs []Iovec, off int64) (n int, err error)
    
    func Preadv(fd int, iovs [][]byte, off int64) (n int, err error) {
    	iovecs := bytes2iovec(iovs)
    	n, err = preadv(fd, iovecs, off)
    	return n, err
    }
    
    //sys	writev(fd int, iovs []Iovec) (n int, err error)
    
    func Writev(fd int, iovs [][]byte) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. src/runtime/memmove_linux_amd64_test.go

    	for off := uintptr(0); off < 3<<30; off += 65536 {
    		_, _, errno := syscall.Syscall6(syscall.SYS_MMAP,
    			base+off, 65536, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_SHARED|syscall.MAP_FIXED, tmp.Fd(), 0)
    		if errno != 0 {
    			t.Skipf("could not map a page at requested 0x%x: %s", base+off, errno)
    		}
    		defer syscall.Syscall(syscall.SYS_MUNMAP, base+off, 65536, 0)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:48:30 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/telemetry/internal/counter/file.go

    	next = m.load32(off + 12)
    	v = (*atomic.Uint64)(unsafe.Pointer(&m.mapping.Data[off]))
    	return name, next, v, true
    }
    
    func (m *mappedFile) writeEntryAt(off uint32, name string) (next *atomic.Uint32, v *atomic.Uint64, ok bool) {
    	if off < m.hdrLen+hashOff || int64(off)+16+int64(len(name)) > int64(len(m.mapping.Data)) {
    		return nil, nil, false
    	}
    	copy(m.mapping.Data[off+16:], name)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/S390X.rules

    // Don't extend before storing
    (MOVWstore [off] {sym} ptr (MOVWreg x) mem) => (MOVWstore [off] {sym} ptr x mem)
    (MOVHstore [off] {sym} ptr (MOVHreg x) mem) => (MOVHstore [off] {sym} ptr x mem)
    (MOVBstore [off] {sym} ptr (MOVBreg x) mem) => (MOVBstore [off] {sym} ptr x mem)
    (MOVWstore [off] {sym} ptr (MOVWZreg x) mem) => (MOVWstore [off] {sym} ptr x mem)
    (MOVHstore [off] {sym} ptr (MOVHZreg x) mem) => (MOVHstore [off] {sym} ptr x mem)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 12 18:09:26 UTC 2023
    - 74.3K bytes
    - Viewed (0)
  6. src/compress/flate/token.go

    // Returns the offset code corresponding to a specific offset.
    func offsetCode(off uint32) uint32 {
    	if off < uint32(len(offsetCodes)) {
    		return offsetCodes[off]
    	}
    	if off>>7 < uint32(len(offsetCodes)) {
    		return offsetCodes[off>>7] + 14
    	}
    	return offsetCodes[off>>14] + 28
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewriteAMD64.go

    		return true
    	}
    	// match: (LEAQ2 [off] {sym} x (MOVQconst [scale]))
    	// cond: is32Bit(int64(off)+int64(scale)*2)
    	// result: (LEAQ [off+int32(scale)*2] {sym} x)
    	for {
    		off := auxIntToInt32(v.AuxInt)
    		sym := auxToSym(v.Aux)
    		x := v_0
    		if v_1.Op != OpAMD64MOVQconst {
    			break
    		}
    		scale := auxIntToInt64(v_1.AuxInt)
    		if !(is32Bit(int64(off) + int64(scale)*2)) {
    			break
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 12 19:38:41 UTC 2024
    - 712.7K bytes
    - Viewed (0)
  8. src/strings/reader_test.go

    	r := strings.NewReader("0123456789")
    	tests := []struct {
    		off     int64
    		seek    int
    		n       int
    		want    string
    		wantpos int64
    		readerr error
    		seekerr string
    	}{
    		{seek: io.SeekStart, off: 0, n: 20, want: "0123456789"},
    		{seek: io.SeekStart, off: 1, n: 1, want: "1"},
    		{seek: io.SeekCurrent, off: 1, wantpos: 3, n: 2, want: "34"},
    		{seek: io.SeekStart, off: -1, seekerr: "strings.Reader.Seek: negative position"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/AbstractByteHasher.java

      protected void update(byte[] b) {
        update(b, 0, b.length);
      }
    
      /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */
      protected void update(byte[] b, int off, int len) {
        for (int i = off; i < off + len; i++) {
          update(b[i]);
        }
      }
    
      /** Updates this hasher with bytes from the given buffer. */
      protected void update(ByteBuffer b) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  10. src/debug/dwarf/buf.go

    	return 0
    }
    
    func makeBuf(d *Data, format dataFormat, name string, off Offset, data []byte) buf {
    	return buf{d, d.order, format, name, off, data, nil}
    }
    
    func (b *buf) uint8() uint8 {
    	if len(b.data) < 1 {
    		b.error("underflow")
    		return 0
    	}
    	val := b.data[0]
    	b.data = b.data[1:]
    	b.off++
    	return val
    }
    
    func (b *buf) bytes(n int) []byte {
    	if n < 0 || len(b.data) < n {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 21 17:14:08 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top