Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 217 for off (0.05 sec)

  1. 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
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Oct 29 16:47:05 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  2. 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 Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  3. src/archive/zip/zip_test.go

    	}
    	buf := make([]byte, ss.Size())
    	for off := int64(0); off < ss.Size(); off++ {
    		for size := 1; size <= int(ss.Size()-off); size++ {
    			readBuf := buf[:size]
    			n, err := ss.ReadAt(readBuf, off)
    			if off < ss.Size()-keep {
    				if err != errDiscardedBytes {
    					t.Errorf("off %d, size %d = %v, %v (%q); want errDiscardedBytes", off, size, n, err, readBuf[:n])
    				}
    				continue
    			}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  4. internal/config/notify/help.go

    			Description: "quietly ignore undelivered messages when set to 'off', default is 'on'",
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         target.AmqpDurable,
    			Description: "persist queue across broker restarts when set to 'on', default is 'off'",
    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         target.AmqpNoWait,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  5. 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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/RandomAccessFileTest.java

                    long l = 1024;
                    int off = 2048;
                    try ( SmbRandomAccessFile raf = new SmbRandomAccessFile(f, "rw") ) {
                        raf.seek(off);
                        writeRandom(bufSize, l, raf);
                        assertEquals(l + off, raf.getFilePointer());
                        raf.seek(off);
                        assertEquals(off, raf.getFilePointer());
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 11.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/DcerpcHandle.java

                if ( ( off + stub_frag_len ) > in.length ) {
                    // shouldn't happen if alloc_hint is correct or greater
                    byte[] tmp = new byte[off + stub_frag_len];
                    System.arraycopy(in, 0, tmp, 0, off);
                    in = tmp;
                }
                System.arraycopy(fragBytes, 24, in, off, stub_frag_len);
                off += stub_frag_len;
            }
            return in;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jun 30 10:11:57 UTC 2019
    - 12.9K bytes
    - Viewed (0)
  8. docs/logging/README.md

    tls_client_auth  (string)    clientAuth determines the Kafka server's policy for TLS client auth
    sasl             (on|off)    set to 'on' to enable SASL authentication
    tls              (on|off)    set to 'on' to enable TLS
    tls_skip_verify  (on|off)    trust server TLS without verification, defaults to "on" (verify)
    client_tls_cert  (path)      path to client certificate for mTLS auth
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 09 17:15:03 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        @CanIgnoreReturnValue
        @Override
        public Hasher putBytes(byte[] bytes, int off, int len) {
          checkPositionIndexes(off, off + len, bytes.length);
          int i;
          for (i = 0; i + 4 <= len; i += 4) {
            update(4, getIntLittleEndian(bytes, off + i));
          }
          for (; i < len; i++) {
            putByte(bytes[off + i]);
          }
          return this;
        }
    
        @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFileInputStream.java

         */
    
        @Override
        public int read ( byte[] b, int off, int len ) throws IOException {
            return readDirect(b, off, len);
        }
    
    
        /**
         * Reads up to len bytes of data from this input stream into an array of bytes.
         * 
         * @param b
         * @param off
         * @param len
         * @return number of bytes read
         *
         * @throws IOException
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
Back to top