Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 1,786 for Off (0.23 sec)

  1. guava/src/com/google/common/hash/AbstractHashFunction.java

      public HashCode hashBytes(byte[] input) {
        return hashBytes(input, 0, input.length);
      }
    
      @Override
      public HashCode hashBytes(byte[] input, int off, int len) {
        checkPositionIndexes(off, off + len, input.length);
        return newHasher(len).putBytes(input, off, len).hash();
      }
    
      @Override
      public HashCode hashBytes(ByteBuffer input) {
        return newHasher(input.remaining()).putBytes(input).hash();
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Apr 20 18:43:59 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/ByteProcessor.java

      /**
       * This method will be called for each chunk of bytes in an input stream. The implementation
       * should process the bytes from {@code buf[off]} through {@code buf[off + len - 1]} (inclusive).
       *
       * @param buf the byte array containing the data to process
       * @param off the initial offset into the array
       * @param len the length of data to be processed
       * @return true to continue processing, false to stop
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

        @Override
        public int recv ( byte[] buf, int off, int len ) throws IOException {
            return getInput().readDirect(buf, off, len);
    
        }
    
    
        @Override
        public void send ( byte[] buf, int off, int length ) throws IOException {
            getOutput().writeDirect(buf, off, length, 1);
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.smb.SmbPipeHandleInternal#getPipeType()
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/build_tag_goexperiment.txt

    [short] skip
    # Reset all experiments so fieldtrack is definitely off.
    env GOEXPERIMENT=none
    go run m
    stderr 'fieldtrack off'
    # Turn fieldtrack on.
    env GOEXPERIMENT=none,fieldtrack
    go run m
    stderr 'fieldtrack on'
    
    -- ft_off.go --
    // +build !goexperiment.fieldtrack
    
    package main
    
    func main() {
    	println("fieldtrack off")
    }
    
    -- ft_on.go --
    // +build goexperiment.fieldtrack
    
    package main
    
    func main() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 19 02:43:30 UTC 2021
    - 460 bytes
    - Viewed (0)
  5. src/cmd/link/internal/mips/asm.go

    			// set up addend for eventual relocation via outer symbol.
    			_, off := ld.FoldSubSymbolOffset(ldr, rs)
    			xadd := r.Add() + off
    			return applyrel(target.Arch, ldr, r.Type(), r.Off(), s, val, xadd), 1, true
    
    		case objabi.R_ADDRMIPSTLS, objabi.R_CALLMIPS, objabi.R_JMPMIPS:
    			return applyrel(target.Arch, ldr, r.Type(), r.Off(), s, val, r.Add()), 1, true
    		}
    	}
    
    	const isOk = true
    	const noExtReloc = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 05:58:20 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/net/NetServerEnum2Response.java

                e.type = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                int off = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                off = ( off & 0xFFFF ) - this.converter;
                off = start + off;
                e.commentOrMasterBrowser = readString(buffer, off, 48, false);
    
                if ( log.isTraceEnabled() ) {
                    log.trace(e.toString());
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 5.6K bytes
    - Viewed (0)
  7. src/os/dirent_linux.go

    	if !ok {
    		return 0, false
    	}
    	return reclen - uint64(unsafe.Offsetof(syscall.Dirent{}.Name)), true
    }
    
    func direntType(buf []byte) FileMode {
    	off := unsafe.Offsetof(syscall.Dirent{}.Type)
    	if off >= uintptr(len(buf)) {
    		return ^FileMode(0) // unknown
    	}
    	typ := buf[off]
    	switch typ {
    	case syscall.DT_BLK:
    		return ModeDevice
    	case syscall.DT_CHR:
    		return ModeDevice | ModeCharDevice
    	case syscall.DT_DIR:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 00:59:20 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  8. src/os/dirent_openbsd.go

    	return readInt(buf, unsafe.Offsetof(syscall.Dirent{}.Namlen), unsafe.Sizeof(syscall.Dirent{}.Namlen))
    }
    
    func direntType(buf []byte) FileMode {
    	off := unsafe.Offsetof(syscall.Dirent{}.Type)
    	if off >= uintptr(len(buf)) {
    		return ^FileMode(0) // unknown
    	}
    	typ := buf[off]
    	switch typ {
    	case syscall.DT_BLK:
    		return ModeDevice
    	case syscall.DT_CHR:
    		return ModeDevice | ModeCharDevice
    	case syscall.DT_DIR:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 20 00:59:20 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  9. src/time/sys_plan9.go

    	return syscall.Read(int(fd), buf)
    }
    
    func closefd(fd uintptr) {
    	syscall.Close(int(fd))
    }
    
    func preadn(fd uintptr, buf []byte, off int) error {
    	whence := seekStart
    	if off < 0 {
    		whence = seekEnd
    	}
    	if _, err := syscall.Seek(int(fd), int64(off), whence); err != nil {
    		return err
    	}
    	for len(buf) > 0 {
    		m, err := syscall.Read(int(fd), buf)
    		if m <= 0 {
    			if err == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 1016 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