Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 300 for boff (0.02 sec)

  1. cmd/os_unix.go

    			return osErrToFileErr(err)
    		}
    	}
    	defer syscall.Close(fd)
    
    	bufp := direntPool.Get()
    	defer direntPool.Put(bufp)
    	buf := *bufp
    
    	boff := 0 // starting read position in buf
    	nbuf := 0 // end valid data in buf
    
    	for {
    		if boff >= nbuf {
    			boff = 0
    			stop := globalOSMetrics.time(osMetricReadDirent)
    			nbuf, err = syscall.ReadDirent(fd, buf)
    			stop()
    			if err != nil {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbCopyUtil.java

                            long ioff = 0;
                            for (int i = 0; i < chunks; i++) {
                                final long absoff = ooff + ioff;
                                final int csize = i == chunks - 1 ? lastChunkSize : maxChunkSize;
                                chunkInfo[i] = new SrvCopychunk(absoff, absoff, csize);
                                ioff += maxChunkSize;
                            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/util/RC4.java

         * @param src the source data array
         * @param soff the offset in the source array
         * @param slen the length of data to process
         * @param dst the destination array for the result
         * @param doff the offset in the destination array
         */
        public void update(final byte[] src, int soff, final int slen, final byte[] dst, int doff) {
            int slim = soff + slen;
            while (soff < slim) {
                i = i + 1 & 0xff;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java

        /**
         * Constructs a server copy chunk descriptor
         * @param soff the source file offset
         * @param toff the target file offset
         * @param len the length of data to copy
         */
        public SrvCopychunk(final long soff, final long toff, final int len) {
            this.sourceOffset = soff;
            this.targetOffset = toff;
            this.length = len;
        }
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Ascii.java

       * single "stop" control is required to interrupt or turn off ancillary devices, DC4 is the
       * preferred assignment.)
       *
       * @since 8.0
       */
      public static final byte DC3 = 19; // aka XOFF
    
      /**
       * Transmission off. See {@link #XON} for explanation.
       *
       * @since 8.0
       */
      public static final byte XOFF = 19; // aka DC3
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComWrite.java

            this.b = b;
            this.off = off;
        }
    
        /**
         * Sets the parameters for this write request.
         *
         * @param fid the file identifier
         * @param offset the file offset at which to write
         * @param remaining the number of bytes remaining to be written
         * @param b the data buffer containing bytes to write
         * @param off the offset in the buffer where data starts
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComWriteAndX.java

            this.b = b;
            this.off = off;
            dataLength = len;
            command = SMB_COM_WRITE_ANDX;
        }
    
        void setParam(final int fid, final long offset, final int remaining, final byte[] b, final int off, final int len) {
            this.fid = fid;
            this.offset = offset;
            this.remaining = remaining;
            this.b = b;
            this.off = off;
            dataLength = len;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFileOutputStream.java

                        len -= cnt;
                        off += cnt;
                    } else {
                        if (log.isTraceEnabled()) {
                            log.trace(String.format("Wrote at %d remain %d off %d len %d", this.fp, len - w, off, w));
                        }
                        this.req.setParam(fh.getFid(), this.fp, len - w, b, off, w);
                        th.send(this.req, this.rsp);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java

            assertEquals(remaining, getFieldValue(write, "remaining"), "Remaining should match constructor arg");
            assertEquals(buffer, getFieldValue(write, "b"), "Buffer reference should be set");
            assertEquals(off, getFieldValue(write, "off"), "Off should match constructor arg");
            assertEquals(len, getFieldValue(write, "count"), "Count should equal len");
        }
    
        /**
         * Test setParam method updates the write parameters
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/SocketOutputStream.java

        @Override
        public synchronized void write(final byte[] b, int off, final int len) throws IOException {
            if (len > 0xFFFF) {
                throw new IOException("write too large: " + len);
            }
            if (off < 4) {
                throw new IOException("NetBIOS socket output buffer requires 4 bytes available before off");
            }
    
            off -= 4;
    
            b[off + 0] = (byte) SessionServicePacket.SESSION_MESSAGE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top