Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 402 for offset_ (0.12 sec)

  1. src/vendor/golang.org/x/net/idna/trie.go

    // is a list of ranges with an accompanying value. Given a matching range r,
    // the value for b is by r.value + (b - r.lo) * stride.
    func (t *sparseBlocks) lookup(n uint32, b byte) uint16 {
    	offset := t.offset[n]
    	header := t.values[offset]
    	lo := offset + 1
    	hi := lo + uint16(header.lo)
    	for lo < hi {
    		m := lo + (hi-lo)/2
    		r := t.values[m]
    		if r.lo <= b && b <= r.hi {
    			return r.value + uint16(b-r.lo)*header.value
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 13 21:37:23 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/artifacts/ivyservice/resolveengine/store/DefaultBinaryStore.java

                    throw throwAsUncheckedException(e);
                }
            }
            if (offset == -1) {
                offset = encoder.getWritePosition();
                if (offset == Integer.MAX_VALUE) {
                    throw new IllegalStateException("Unable to write to binary store. "
                            + "The bytes offset has reached a point where using it is unsafe. Please report this error.");
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  3. src/runtime/vdso_elf64.go

    	vd_ndx     uint16 /* Version Index */
    	vd_cnt     uint16 /* Number of associated aux entries */
    	vd_hash    uint32 /* Version name hash value */
    	vd_aux     uint32 /* Offset in bytes to verdaux array */
    	vd_next    uint32 /* Offset in bytes to next verdef entry */
    }
    
    type elfEhdr struct {
    	e_ident     [_EI_NIDENT]byte /* Magic number and other info */
    	e_type      uint16           /* Object file type */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 19 19:32:35 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  4. src/debug/elf/reader.go

    	var newOffset int64
    	switch whence {
    	case io.SeekStart:
    		newOffset = offset
    	case io.SeekCurrent:
    		newOffset = r.offset + offset
    	case io.SeekEnd:
    		newOffset = r.size + offset
    	default:
    		return 0, os.ErrInvalid
    	}
    
    	switch {
    	case newOffset == r.offset:
    		return newOffset, nil
    
    	case newOffset < 0, newOffset > r.size:
    		return 0, os.ErrInvalid
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:06:17 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultOffsetInFileLocation.java

        private final int offset;
        private final int length;
    
        public DefaultOffsetInFileLocation(String path, int offset, int length) {
            super(path);
            this.offset = offset;
            this.length = length;
        }
    
        @Override
        public int getOffset() {
            return offset;
        }
    
        @Override
        public int getLength() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:33:01 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc.go

    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    func Fadvise(fd int, offset int64, length int64, advice int) (err error) {
    	_, _, e1 := Syscall6(SYS_FADVISE64_64, uintptr(fd), uintptr(advice), uintptr(offset>>32), uintptr(offset), uintptr(length>>32), uintptr(length))
    	if e1 != 0 {
    		err = errnoErr(e1)
    	}
    	return
    }
    
    func seek(fd int, offset int64, whence int) (int64, syscall.Errno) {
    	var newoffset int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  7. pkg/registry/core/service/allocator/bitmap.go

    	if offset < 0 || offset >= r.max {
    		return false, fmt.Errorf("offset %d out of range [0,%d]", offset, r.max)
    	}
    	if r.allocated.Bit(offset) == 1 {
    		return false, nil
    	}
    	r.allocated = r.allocated.SetBit(r.allocated, offset, 1)
    	r.count++
    	return true, nil
    }
    
    // AllocateNext reserves one of the items from the pool.
    // (0, false, nil) may be returned if there are no items left.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 25 20:32:40 UTC 2023
    - 7.6K bytes
    - Viewed (0)
  8. cmd/erasure-utils.go

    	for _, block := range enBlocks[:dataBlocks] {
    		// Skip blocks until we have reached our offset.
    		if offset >= int64(len(block)) {
    			// Decrement offset.
    			offset -= int64(len(block))
    			continue
    		}
    
    		// Skip until offset.
    		block = block[offset:]
    
    		// Reset the offset for next iteration to read everything
    		// from subsequent blocks.
    		offset = 0
    
    		// We have written all the blocks, write the last remaining block.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/crypto/internal/poly1305/sum_ppc64le.go

    	nn := len(p)
    	if h.offset > 0 {
    		n := copy(h.buffer[h.offset:], p)
    		if h.offset+n < TagSize {
    			h.offset += n
    			return nn, nil
    		}
    		p = p[n:]
    		h.offset = 0
    		update(&h.macState, h.buffer[:])
    	}
    	if n := len(p) - (len(p) % TagSize); n > 0 {
    		update(&h.macState, p[:n])
    		p = p[n:]
    	}
    	if len(p) > 0 {
    		h.offset += copy(h.buffer[h.offset:], p)
    	}
    	return nn, nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  10. src/debug/dwarf/unit.go

    	"strconv"
    )
    
    // DWARF debug info is split into a sequence of compilation units.
    // Each unit has its own abbreviation table and address size.
    
    type unit struct {
    	base   Offset // byte offset of header within the aggregate info
    	off    Offset // byte offset of data within the aggregate info
    	data   []byte
    	atable abbrevTable
    	asize  int
    	vers   int
    	utype  uint8 // DWARF 5 unit type
    	is64   bool  // True for 64-bit DWARF format
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 21 17:14:08 UTC 2022
    - 2.7K bytes
    - Viewed (0)
Back to top