Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 501 for noff (0.05 sec)

  1. src/cmd/compile/internal/staticdata/data.go

    // It's the caller responsibility to make sure lsym is from ONAME node.
    func InitSlice(n *ir.Name, noff int64, lsym *obj.LSym, lencap int64) {
    	s := n.Linksym()
    	s.WriteAddr(base.Ctxt, noff, types.PtrSize, lsym, 0)
    	s.WriteInt(base.Ctxt, noff+types.SliceLenOffset, types.PtrSize, lencap)
    	s.WriteInt(base.Ctxt, noff+types.SliceCapOffset, types.PtrSize, lencap)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 01 15:08:50 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  2. src/internal/zstd/huff.go

    			r.fseScratch = make([]fseEntry, 1<<6)
    		}
    		fseBits, noff, err := r.readFSE(data, off, 255, 6, r.fseScratch)
    		if err != nil {
    			return 0, 0, err
    		}
    		fseTable := r.fseScratch
    
    		if off+int(hdr) > len(data) {
    			return 0, 0, r.makeEOFError(off)
    		}
    
    		rbr, err := r.makeReverseBitReader(data, off+int(hdr)-1, noff)
    		if err != nil {
    			return 0, 0, err
    		}
    
    		state1, err := rbr.val(uint8(fseBits))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:13 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. src/internal/trace/internal/oldtrace/parser.go

    	lastGs map[int32]uint64
    	lastP  int32
    }
    
    func (p *parser) discard(n uint64) bool {
    	if n > math.MaxInt {
    		return false
    	}
    	if noff := p.off + int(n); noff < p.off || noff > len(p.data) {
    		return false
    	} else {
    		p.off = noff
    	}
    	return true
    }
    
    func newParser(r io.Reader, ver version.Version) (*parser, error) {
    	var buf []byte
    	if seeker, ok := r.(io.Seeker); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  4. src/debug/dwarf/typeunit.go

    	tur.err = nil
    	doff := off - tur.tu.off
    	if doff < 0 || doff >= Offset(len(tur.tu.data)) {
    		tur.err = fmt.Errorf("%s: offset %d out of range; max %d", tur.tu.name, doff, len(tur.tu.data))
    		return
    	}
    	tur.b = makeBuf(tur.d, tur.tu, tur.tu.name, off, tur.tu.data[doff:])
    }
    
    // AddressSize returns the size in bytes of addresses in the current type unit.
    func (tur *typeUnitReader) AddressSize() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java

        private long sourceOffset;
        private long targetOffset;
        private int length;
    
    
        /**
         * @param soff
         * @param toff
         * @param len
         */
        public SrvCopychunk ( long soff, long toff, int len ) {
            this.sourceOffset = soff;
            this.targetOffset = toff;
            this.length = len;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/staticinit/sched.go

    }
    
    // like staticassign but we are copying an already
    // initialized value r.
    func (s *Schedule) staticcopy(l *ir.Name, loff int64, rn *ir.Name, typ *types.Type) bool {
    	if rn.Class == ir.PFUNC {
    		// TODO if roff != 0 { panic }
    		staticdata.InitAddr(l, loff, staticdata.FuncLinksym(rn))
    		return true
    	}
    	if rn.Class != ir.PEXTERN || rn.Sym().Pkg != types.LocalPkg {
    		return false
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 17:16:14 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  7. src/runtime/cgocheck.go

    		cgoCheckBits(src, typ.GCData, off, size)
    		return
    	}
    
    	// The type has a GC program. Try to find GC bits somewhere else.
    	for _, datap := range activeModules() {
    		if cgoInRange(src, datap.data, datap.edata) {
    			doff := uintptr(src) - datap.data
    			cgoCheckBits(add(src, -doff), datap.gcdatamask.bytedata, off+doff, size)
    			return
    		}
    		if cgoInRange(src, datap.bss, datap.ebss) {
    			boff := uintptr(src) - datap.bss
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/lib.go

    }
    
    /*
     * look for the next file in an archive.
     * adapted from libmach.
     */
    func nextar(bp *bio.Reader, off int64, a *ArHdr) int64 {
    	if off&1 != 0 {
    		off++
    	}
    	bp.MustSeek(off, 0)
    	var buf [SAR_HDR]byte
    	if n, err := io.ReadFull(bp, buf[:]); err != nil {
    		if n == 0 && err != io.EOF {
    			return -1
    		}
    		return 0
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 88.6K bytes
    - Viewed (0)
  9. tests/integration/ambient/testdata/beta-mtls-off.yaml

    apiVersion: security.istio.io/v1beta1
    kind: PeerAuthentication
    metadata:
      name: "default"
      annotations:
        test-suite: "beta-mtls-off"
    spec:
      mtls:
        mode: DISABLE
    ---
    apiVersion: networking.istio.io/v1alpha3
    kind: DestinationRule
    metadata:
      name: "default"
      annotations:
        test-suite: "beta-mtls-off"
    spec:
      host: "*.local"
      trafficPolicy:
        tls:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 16 18:55:23 UTC 2023
    - 382 bytes
    - Viewed (0)
  10. src/cmd/internal/bio/buf_mmap.go

    		return nil, false
    	}
    
    	// Page-align the offset.
    	off := r.Offset()
    	align := syscall.Getpagesize()
    	aoff := off &^ int64(align-1)
    
    	data, err := syscall.Mmap(int(r.f.Fd()), aoff, int(length+uint64(off-aoff)), syscall.PROT_READ, syscall.MAP_SHARED|syscall.MAP_FILE)
    	if err != nil {
    		return nil, false
    	}
    
    	data = data[off-aoff:]
    	r.MustSeek(int64(length), 1)
    	return data, true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:20:31 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top