Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 163 for noff (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/debug/pe/string.go

    	i := bytes.IndexByte(b, 0)
    	if i == -1 {
    		i = len(b)
    	}
    	return string(b[:i])
    }
    
    // StringTable is a COFF string table.
    type StringTable []byte
    
    func readStringTable(fh *FileHeader, r io.ReadSeeker) (StringTable, error) {
    	// COFF string table is located right after COFF symbol table.
    	if fh.PointerToSymbolTable <= 0 {
    		return nil, nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:06:17 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  7. src/runtime/preempt_arm.s

    	MOVW R6, 28(R13)
    	MOVW R7, 32(R13)
    	MOVW R8, 36(R13)
    	MOVW R9, 40(R13)
    	MOVW R11, 44(R13)
    	MOVW R12, 48(R13)
    	MOVW CPSR, R0
    	MOVW R0, 52(R13)
    	MOVB ·goarmsoftfp(SB), R0
    	CMP $0, R0
    	BNE nofp
    	MOVW FPCR, R0
    	MOVW R0, 56(R13)
    	MOVD F0, 60(R13)
    	MOVD F1, 68(R13)
    	MOVD F2, 76(R13)
    	MOVD F3, 84(R13)
    	MOVD F4, 92(R13)
    	MOVD F5, 100(R13)
    	MOVD F6, 108(R13)
    	MOVD F7, 116(R13)
    	MOVD F8, 124(R13)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. src/internal/zstd/literals.go

    		compressedSize = (int(data[off+1]) >> 2) | (int(data[off+2]) << 6)
    		off += 3
    		streams = 4
    	case 3:
    		if off+3 >= len(data) {
    			return 0, nil, r.makeEOFError(off)
    		}
    		regeneratedSize = (int(hdr) >> 4) | (int(data[off]) << 4) | ((int(data[off+1]) & 0x3f) << 12)
    		compressedSize = (int(data[off+1]) >> 6) | (int(data[off+2]) << 2) | (int(data[off+3]) << 10)
    		off += 4
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 14:30:10 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  9. src/syscall/syscall_linux_ppc64x.go

    	cmsg.Len = uint64(length)
    }
    
    //sys	syncFileRange2(fd int, flags int, off int64, n int64) (err error) = SYS_SYNC_FILE_RANGE2
    
    func SyncFileRange(fd int, off int64, n int64, flags int) error {
    	// The sync_file_range and sync_file_range2 syscalls differ only in the
    	// order of their arguments.
    	return syncFileRange2(fd, flags, off, n)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. src/internal/coverage/decodemeta/decode.go

    	if _, err := d.r.Seek(funcOffsetLocation, io.SeekStart); err != nil {
    		return err
    	}
    	foff := d.r.ReadUint32()
    
    	// Check assumptions
    	if foff < uint32(funcOffsetLocation) || foff > d.hdr.Length {
    		return fmt.Errorf("malformed func offset %d", foff)
    	}
    
    	// Seek to the correct location to read the function.
    	floc := int64(foff)
    	if _, err := d.r.Seek(floc, io.SeekStart); err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:28 UTC 2023
    - 3.6K bytes
    - Viewed (0)
Back to top