Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 858 for Off (0.02 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_illumos.go

    	iovecs := bytes2iovec(iovs)
    	n, err = readv(fd, iovecs)
    	return n, err
    }
    
    //sys	preadv(fd int, iovs []Iovec, off int64) (n int, err error)
    
    func Preadv(fd int, iovs [][]byte, off int64) (n int, err error) {
    	iovecs := bytes2iovec(iovs)
    	n, err = preadv(fd, iovecs, off)
    	return n, err
    }
    
    //sys	writev(fd int, iovs []Iovec) (n int, err error)
    
    func Writev(fd int, iovs [][]byte) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbComWrite.java

            offset,
            remaining,
            off;
        private byte[] b;
    
        SmbComWrite() {
            super();
            command = SMB_COM_WRITE;
        }
        SmbComWrite( int fid, int offset, int remaining, byte[] b, int off, int len ) {
            this.fid = fid;
            this.count = len;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
            command = SMB_COM_WRITE;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3K bytes
    - Viewed (0)
  3. src/runtime/memmove_linux_amd64_test.go

    	for off := uintptr(0); off < 3<<30; off += 65536 {
    		_, _, errno := syscall.Syscall6(syscall.SYS_MMAP,
    			base+off, 65536, syscall.PROT_READ|syscall.PROT_WRITE, syscall.MAP_SHARED|syscall.MAP_FIXED, tmp.Fd(), 0)
    		if errno != 0 {
    			t.Skipf("could not map a page at requested 0x%x: %s", base+off, errno)
    		}
    		defer syscall.Syscall(syscall.SYS_MUNMAP, base+off, 65536, 0)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:48:30 UTC 2022
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/internal/bio/buf.go

    	}
    	return off
    }
    
    func (r *Reader) Offset() int64 {
    	off, err := r.f.Seek(0, 1)
    	if err != nil {
    		log.Fatalf("seeking in output [0, 1]: %v", err)
    	}
    	off -= int64(r.Buffered())
    	return off
    }
    
    func (w *Writer) Offset() int64 {
    	if err := w.Flush(); err != nil {
    		log.Fatalf("writing output: %v", err)
    	}
    	off, err := w.f.Seek(0, 1)
    	if err != nil {
    		log.Fatalf("seeking in output [0, 1]: %v", err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 11 17:15:15 UTC 2020
    - 3.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NetShareEnumResponse.java

                bufferIndex += 14;
                e.type = readInt2( buffer, bufferIndex );
                bufferIndex += 2;
                int off = readInt4( buffer, bufferIndex );
                bufferIndex += 4;
                off = ( off & 0xFFFF ) - converter;
                off = start + off;
                e.remark = readString( buffer, off, 128, false );
    
                if (log.level >= 4)
                    log.println( e );
            }
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3K bytes
    - Viewed (0)
  6. src/compress/flate/token.go

    // Returns the offset code corresponding to a specific offset.
    func offsetCode(off uint32) uint32 {
    	if off < uint32(len(offsetCodes)) {
    		return offsetCodes[off]
    	}
    	if off>>7 < uint32(len(offsetCodes)) {
    		return offsetCodes[off>>7] + 14
    	}
    	return offsetCodes[off>>14] + 28
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 17:59:44 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/net/NetShareEnumResponse.java

                e.type = SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                int off = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
                off = ( off & 0xFFFF ) - this.converter;
                off = start + off;
                e.remark = readString(buffer, off, 128, 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
    - 3.6K bytes
    - Viewed (0)
  8. src/strings/reader_test.go

    	r := strings.NewReader("0123456789")
    	tests := []struct {
    		off     int64
    		seek    int
    		n       int
    		want    string
    		wantpos int64
    		readerr error
    		seekerr string
    	}{
    		{seek: io.SeekStart, off: 0, n: 20, want: "0123456789"},
    		{seek: io.SeekStart, off: 1, n: 1, want: "1"},
    		{seek: io.SeekCurrent, off: 1, wantpos: 3, n: 2, want: "34"},
    		{seek: io.SeekStart, off: -1, seekerr: "strings.Reader.Seek: negative position"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 5.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/AbstractByteHasher.java

      protected void update(byte[] b) {
        update(b, 0, b.length);
      }
    
      /** Updates this hasher with {@code len} bytes starting at {@code off} in the given buffer. */
      protected void update(byte[] b, int off, int len) {
        for (int i = off; i < off + len; i++) {
          update(b[i]);
        }
      }
    
      /** Updates this hasher with bytes from the given buffer. */
      protected void update(ByteBuffer b) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  10. src/debug/dwarf/buf.go

    	return 0
    }
    
    func makeBuf(d *Data, format dataFormat, name string, off Offset, data []byte) buf {
    	return buf{d, d.order, format, name, off, data, nil}
    }
    
    func (b *buf) uint8() uint8 {
    	if len(b.data) < 1 {
    		b.error("underflow")
    		return 0
    	}
    	val := b.data[0]
    	b.data = b.data[1:]
    	b.off++
    	return val
    }
    
    func (b *buf) bytes(n int) []byte {
    	if n < 0 || len(b.data) < n {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 21 17:14:08 UTC 2022
    - 3.7K bytes
    - Viewed (0)
Back to top