Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 404 for xoffset (1.38 sec)

  1. 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)
  2. platforms/ide/problems-api/src/main/java/org/gradle/api/problems/internal/DefaultOffsetInFileLocation.java

        private final int offset;
        private final int length;
    
        private DefaultOffsetInFileLocation(String path, int offset, int length) {
            super(path);
            this.offset = offset;
            this.length = length;
        }
    
        public static FileLocation from(String path, int offset, int length) {
            return new DefaultOffsetInFileLocation(path, offset, length);
        }
    
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:33:01 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/debug/dwarf/typeunit.go

    	return &typeUnitReader{
    		d:  tur.d,
    		tu: tur.tu,
    		b:  makeBuf(tur.d, tur.tu, tur.tu.name, tur.tu.off, tur.tu.data),
    	}
    }
    
    // offset returns the current offset.
    func (tur *typeUnitReader) offset() Offset {
    	return tur.b.off
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  6. src/vendor/golang.org/x/text/unicode/norm/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 Oct 10 16:32:44 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. 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)
  8. src/vendor/golang.org/x/crypto/internal/poly1305/sum_amd64.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)
  9. src/internal/coverage/slicereader/slicereader.go

    	return amt, nil
    }
    
    func (r *Reader) Seek(offset int64, whence int) (ret int64, err error) {
    	switch whence {
    	case io.SeekStart:
    		if offset < 0 || offset > int64(len(r.b)) {
    			return 0, fmt.Errorf("invalid seek: new offset %d (out of range [0 %d]", offset, len(r.b))
    		}
    		r.off = offset
    		return offset, nil
    	case io.SeekCurrent:
    		newoff := r.off + offset
    		if newoff < 0 || newoff > int64(len(r.b)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:28 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  10. src/vendor/golang.org/x/crypto/internal/poly1305/sum_s390x.go

    	macState
    
    	buffer [16 * TagSize]byte // size must be a multiple of block size (16)
    	offset int
    }
    
    func (h *mac) Write(p []byte) (int, error) {
    	nn := len(p)
    	if h.offset > 0 {
    		n := copy(h.buffer[h.offset:], p)
    		if h.offset+n < len(h.buffer) {
    			h.offset += n
    			return nn, nil
    		}
    		p = p[n:]
    		h.offset = 0
    		if cpu.S390X.HasVX {
    			updateVX(&h.macState, h.buffer[:])
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 2K bytes
    - Viewed (0)
Back to top