Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 842 for buffers (0.05 sec)

  1. src/main/java/jcifs/smb1/dcerpc/UnicodeString.java

            this.maximum_length = rus.maximum_length;
            this.buffer = rus.buffer;
            this.zterm = zterm;
        }
    
        public UnicodeString(String str, boolean zterm) {
            this.zterm = zterm;
    
            int len = str.length();
            int zt = zterm ? 1 : 0;
    
            length = maximum_length = (short)((len + zt) * 2);
            buffer = new short[len + zt];
    
            int i;
            for (i = 0; i < len; i++) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 1.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

      }
      return commaFound
    }
    
    private fun Buffer.startsWith(prefix: Byte): Boolean = !exhausted() && this[0] == prefix
    
    /**
     * Reads a double-quoted string, unescaping quoted pairs like `\"` to the 2nd character in each
     * sequence. Returns the unescaped string, or null if the buffer isn't prefixed with a
     * double-quoted string.
     */
    @Throws(EOFException::class)
    private fun Buffer.readQuotedString(): String? {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponse.java

                case SMB_QUERY_FS_SIZE_INFO:
                    return readSmbQueryFSSizeInfoWireFormat( buffer, bufferIndex );
                case SMB_FS_FULL_SIZE_INFORMATION:
                    return readFsFullSizeInformationWireFormat( buffer, bufferIndex );
                default:
                    return 0;
            }
        }
    
        int readSmbInfoAllocationWireFormat( byte[] buffer, int bufferIndex ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.1K bytes
    - Viewed (0)
  4. internal/s3select/jstream/scratch.go

    	fill int
    }
    
    // reset scratch buffer
    func (s *scratch) reset() { s.fill = 0 }
    
    // bytes returns the written contents of scratch buffer
    func (s *scratch) bytes() []byte { return s.data[0:s.fill] }
    
    // grow scratch buffer
    func (s *scratch) grow() {
    	ndata := make([]byte, cap(s.data)*2)
    	copy(ndata, s.data)
    	s.data = ndata
    }
    
    // append single byte to scratch buffer
    func (s *scratch) add(c byte) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 758 bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilder.java

        }
    
        /**
         * Append content to the message buffer.
         *
         * @param value the content to append
         * @return the current builder
         */
        @Nonnull
        default MessageBuilder a(char[] value) {
            return append(String.valueOf(value));
        }
    
        /**
         * Append content to the message buffer.
         *
         * @param value the content to append
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sat Nov 02 09:29:52 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemUtils.java

            StringBuilder buffer = new StringBuilder(128);
    
            buffer.append((groupId != null && !groupId.isEmpty()) ? groupId : "[unknown-group-id]");
            buffer.append(':');
            buffer.append((artifactId != null && !artifactId.isEmpty()) ? artifactId : "[unknown-artifact-id]");
            buffer.append(':');
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/util/Base64.java

                buffer.append(ALPHABET.charAt((block >>> 6) & 0x3f));
                buffer.append(ALPHABET.charAt(block & 0x3f));
            }
            if (remainder == 0) return buffer.toString();
            if (remainder == 1) {
                block = (bytes[i] & 0xff) << 4;
                buffer.append(ALPHABET.charAt(block >>> 6));
                buffer.append(ALPHABET.charAt(block & 0x3f));
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralResponse.java

        }
    
    
        @Override
        protected int readSetupWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
        protected int readParametersWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            return 0;
        }
    
    
        @Override
        protected int readDataWireFormat ( byte[] buffer, int bufferIndex, int len ) {
            int start = bufferIndex;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TopKSelector.java

        T pivotValue = uncheckedCastNullableTToT(buffer[pivotIndex]);
        buffer[pivotIndex] = buffer[right];
    
        int pivotNewIndex = left;
        for (int i = left; i < right; i++) {
          if (comparator.compare(uncheckedCastNullableTToT(buffer[i]), pivotValue) < 0) {
            swap(pivotNewIndex, i);
            pivotNewIndex++;
          }
        }
        buffer[right] = buffer[pivotNewIndex];
        buffer[pivotNewIndex] = pivotValue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponse.java

         */
        @Override
        public int decode ( byte[] buffer, int bufferIndex, int len ) throws SMBProtocolDecodingException {
            int start = bufferIndex;
            this.chunksWritten = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.chunkBytesWritten = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.totalBytesWritten = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.1K bytes
    - Viewed (0)
Back to top