Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,493 for xoffset (0.11 sec)

  1. test/fixedbugs/bug440_32.go

    // Issue 3910.
    
    package main
    
    func main() {
    	const c = 0x12345678
    	index, n, offset := splitContractIndex(c)
    	if index != int((c&0xffff)>>5) || n != int(c&(1<<5-1)) || offset != (c>>16)&(1<<14-1) {
    		println("BUG", index, n, offset)
    	}
    }
    
    func splitContractIndex(ce uint32) (index, n, offset int) {
    	h := uint16(ce)
    	return int(h >> 5), int(h & (1<<5 - 1)), int(ce>>16) & (1<<14 - 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 01 14:40:54 UTC 2012
    - 514 bytes
    - Viewed (0)
  2. src/cmd/internal/obj/x86/asm6.go

    // starting at specified offset (e.g. z counter value).
    // Trailing 0 is not written.
    //
    // Intended to be used for literal Z cases.
    // Literal Z cases usually have "Zlit" in their name (Zlit, Zlitr_m, Zlitm_r).
    func (ab *AsmBuf) PutOpBytesLit(offset int, op *opBytes) {
    	for int(op[offset]) != 0 {
    		ab.Put1(byte(op[offset]))
    		offset++
    	}
    }
    
    // Insert inserts b at offset i.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 146.9K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/test/java/org/codelibs/fess/rank/fusion/RankFusionProcessorTest.java

            private int startPosition;
    
            private int pageSize;
    
            private int offset;
    
            TestSearchRequestParams(int startPosition, int pageSize, int offset) {
                this.startPosition = startPosition;
                this.pageSize = pageSize;
                this.offset = offset;
            }
    
            @Override
            public String getQuery() {
                return null;
            }
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  9. src/embed/embed.go

    		return 0, &fs.PathError{Op: "read", Path: f.f.name, Err: fs.ErrInvalid}
    	}
    	n := copy(b, f.f.data[f.offset:])
    	f.offset += int64(n)
    	return n, nil
    }
    
    func (f *openFile) Seek(offset int64, whence int) (int64, error) {
    	switch whence {
    	case 0:
    		// offset += 0
    	case 1:
    		offset += f.offset
    	case 2:
    		offset += int64(len(f.f.data))
    	}
    	if offset < 0 || offset > int64(len(f.f.data)) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:42:51 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/ntlmssp/NtlmMessage.java

            int offset = readULong(src, index + 4);
            byte[] buffer = new byte[length];
            System.arraycopy(src, offset, buffer, 0, length);
            return buffer;
        }
    
        static void writeULong(byte[] dest, int offset, int ulong) {
            dest[offset] = (byte) (ulong & 0xff);
            dest[offset + 1] = (byte) (ulong >> 8 & 0xff);
            dest[offset + 2] = (byte) (ulong >> 16 & 0xff);
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.3K bytes
    - Viewed (0)
Back to top