Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 361 for boff (0.02 seconds)

  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 {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 9.3K bytes
    - Click Count (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;
                            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16.6K bytes
    - Click Count (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;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.8K bytes
    - Click Count (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}
         *
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (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
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            StringBuilder buff = new StringBuilder();
            if (md.getExecutePhase() != null && !md.getExecutePhase().isEmpty()) {
                // forked phase
                if (md.getExecuteLifecycle() != null && !md.getExecuteLifecycle().isEmpty()) {
                    buff.append('[');
                    buff.append(md.getExecuteLifecycle());
                    buff.append(']');
                }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Nov 08 08:49:11 GMT 2024
    - 17.2K bytes
    - Click Count (0)
  7. src/bytes/buffer.go

    		// don't spend all our time copying.
    		copy(b.buf, b.buf[b.off:])
    	} else if c > maxInt-c-n {
    		panic(ErrTooLarge)
    	} else {
    		// Add b.off to account for b.buf[:b.off] being sliced off the front.
    		b.buf = growSlice(b.buf[b.off:], b.off+n)
    	}
    	// Restore b.off and len(b.buf).
    	b.off = 0
    	b.buf = b.buf[:m+n]
    	return m
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Nov 14 19:01:17 GMT 2025
    - 16.5K bytes
    - Click Count (0)
  8. 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;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                result = len > used ? used : len;
                if (used > i && result > i) {
                    System.arraycopy(pipe_buf, beg_idx, b, off, i);
                    off += i;
                    System.arraycopy(pipe_buf, 0, b, off, result - i);
                } else {
                    System.arraycopy(pipe_buf, beg_idx, b, off, result);
                }
                used -= result;
                beg_idx = (beg_idx + result) % pipe_buf.length;
            }
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  10. 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
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
Back to Top