Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,107 for Len (0.08 sec)

  1. src/main/java/jcifs/smb1/smb1/NtTransQuerySecurityDescResponse.java

            return 0;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) {
            length = readInt4( buffer, bufferIndex );
            return 4;
        }
        int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) {
            int start = bufferIndex;
    
            if (errorCode != 0)
                return 4;
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/trans/TransCallNamedPipe.java

         * @param data
         * @param off
         * @param len
         */
        public TransCallNamedPipe ( Configuration config, String pipeName, byte[] data, int off, int len ) {
            super(config, SMB_COM_TRANSACTION, TRANS_CALL_NAMED_PIPE);
            this.name = pipeName;
            this.pipeData = data;
            this.pipeDataOff = off;
            this.pipeDataLen = len;
            this.timeout = 0xFFFFFFFF;
            this.maxParameterCount = 0;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/trans/TransTransactNamedPipe.java

         * @param fid
         * @param data
         * @param off
         * @param len
         */
        public TransTransactNamedPipe ( Configuration config, int fid, byte[] data, int off, int len ) {
            super(config, SMB_COM_TRANSACTION, TRANS_TRANSACT_NAMED_PIPE);
            this.pipeFid = fid;
            this.pipeData = data;
            this.pipeDataOff = off;
            this.pipeDataLen = len;
            this.maxParameterCount = 0;
            this.maxDataCount = 0xFFFF;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TransCallNamedPipeResponse.java

            return 0;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readParametersWireFormat( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
        int readDataWireFormat( byte[] buffer, int bufferIndex, int len ) {
            if( pipe.pipeIn != null ) {
                TransactNamedPipeInputStream in = (TransactNamedPipeInputStream)pipe.pipeIn;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbFileOutputStream.java

                    log.debug("write: fid=" + fh + ",off=" + off + ",len=" + len + ",fp=" +  this.fp);
                }
    
                int w;
                do {
                    int blockSize = ( this.file.getType() == SmbConstants.TYPE_FILESYSTEM ) ? this.writeSizeFile : this.writeSize;
                    w = len > blockSize ? blockSize : len;
    
                    if ( this.smb2 ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:14:04 UTC 2021
    - 11.9K bytes
    - Viewed (0)
  6. cmd/signature-v4-parser.go

    	creds := strings.SplitN(strings.TrimSpace(credElement), "=", 2)
    	if len(creds) != 2 {
    		return ch, ErrMissingFields
    	}
    	if creds[0] != "Credential" {
    		return ch, ErrMissingCredTag
    	}
    	credElements := strings.Split(strings.TrimSpace(creds[1]), SlashSeparator)
    	if len(credElements) < 5 {
    		return ch, ErrCredMalformed
    	}
    	accessKey := strings.Join(credElements[:len(credElements)-4], SlashSeparator) // The access key may contain one or more `/`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. internal/etag/etag.go

    			return nil, fmt.Errorf("etag: invalid length %d", len(etag))
    		}
    		return ETag(etag), nil
    	}
    
    	prefix, suffix := s[:n], s[n:]
    	if len(prefix) != 32 {
    		return nil, fmt.Errorf("etag: invalid prefix length %d", len(prefix))
    	}
    	if len(suffix) <= 1 {
    		return nil, errors.New("etag: suffix is not a part number")
    	}
    
    	etag, err := hex.DecodeString(prefix)
    	if err != nil {
    		return nil, err
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 10 21:09:36 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/TestCharSink.java

            flush();
          }
    
          @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();
          }
        };
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. src/bufio/bufio_test.go

    	var texts [31]string
    	str := ""
    	all := ""
    	for i := 0; i < len(texts)-1; i++ {
    		texts[i] = str + "\n"
    		all += texts[i]
    		str += string(rune(i%26 + 'a'))
    	}
    	texts[len(texts)-1] = all
    
    	for h := 0; h < len(texts); h++ {
    		text := texts[h]
    		for i := 0; i < len(readMakers); i++ {
    			for j := 0; j < len(bufreaders); j++ {
    				for k := 0; k < len(bufsizes); k++ {
    					readmaker := readMakers[i]
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  10. src/bufio/bufio.go

    		return nil, ErrNegativeCount
    	}
    
    	b.lastByte = -1
    	b.lastRuneSize = -1
    
    	for b.w-b.r < n && b.w-b.r < len(b.buf) && b.err == nil {
    		b.fill() // b.w-b.r < len(b.buf) => buffer is not full
    	}
    
    	if n > len(b.buf) {
    		return b.buf[b.r:b.w], ErrBufferFull
    	}
    
    	// 0 <= n <= len(b.buf)
    	var err error
    	if avail := b.w - b.r; avail < n {
    		// not enough data in buffer
    		n = avail
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Oct 12 14:39:08 UTC 2023
    - 21.8K bytes
    - Viewed (0)
Back to top