Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 461 for xoff (0.07 sec)

  1. cmd/os_unix.go

    		}
    
    	}
    	defer syscall.Close(fd)
    
    	bufp := direntPool.Get().(*[]byte)
    	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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/util/ByteEncodable.java

     *
     */
    public class ByteEncodable implements Encodable {
    
        private byte[] bytes;
        private int off;
        private int len;
    
    
        /**
         * @param b
         * @param off
         * @param len
         */
        public ByteEncodable ( byte[] b, int off, int len ) {
            this.bytes = b;
            this.off = off;
            this.len = len;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  3. 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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  4. internal/config/bool-flag.go

    	switch str {
    	case "1", "t", "T", "true", "TRUE", "True", "on", "ON", "On":
    		return true, nil
    	case "0", "f", "F", "false", "FALSE", "False", "off", "OFF", "Off":
    		return false, nil
    	}
    	if strings.EqualFold(str, "enabled") {
    		return true, nil
    	}
    	if strings.EqualFold(str, "disabled") {
    		return false, nil
    	}
    	return false, fmt.Errorf("ParseBool: parsing '%s': %w", str, strconv.ErrSyntax)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 07 15:10:40 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/TestWriter.java

        flush(); // flush write to TestOutputStream to get its behavior
      }
    
      @Override
      public void write(char[] cbuf, int off, int len) throws IOException {
        super.write(cbuf, off, len);
        flush();
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        super.write(str, off, len);
        flush();
      }
    
      public boolean closed() {
        return out.closed();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 1.7K 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/smb1/util/MimeMap.java

            int state, t, x, i, off;
            byte ch;
            byte[] type = new byte[128];
            byte[] buf = new byte[16];
            byte[] ext = extension.toLowerCase().getBytes( "ASCII" );
    
            state = ST_START;
            t = x = i = 0;
            for( off = 0; off < inLen; off++ ) {
                ch = in[off];
                switch( state ) {
                    case ST_START:
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 4.2K bytes
    - Viewed (0)
  8. .github/workflows/mint/nginx-1-node.conf

            # To allow special characters in headers
            ignore_invalid_headers off;
            # Allow any size file to be uploaded.
            # Set to a value such as 1000m; to restrict file size to a specific value
            client_max_body_size 0;
            # To disable buffering
            proxy_buffering off;
            proxy_request_buffering off;
    
            location / {
                proxy_set_header Host $http_host;
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 31 21:38:10 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  9. 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)
  10. src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.java

            if (length > max_recv)
                throw new IOException("Unexpected fragment length: " + length);
    
            while (off < length) {
                off += in.readDirect(buf, off, length - off);
            }
        }
        public void close() throws IOException {
            state = 0;
            if (out != null)
                out.close();
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.7K bytes
    - Viewed (0)
Back to top