Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 962 for buffers (0.05 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

        @Override
        public String extendedToString() {
            StringBuilder buffer = new StringBuilder(256);
    
            buffer.append(LS).append("Repository Metadata").append(LS).append("--------------------------");
            buffer.append(LS).append("GroupId: ").append(getGroupId());
            buffer.append(LS).append("ArtifactId: ").append(getArtifactId());
            buffer.append(LS).append("Metadata Type: ").append(getClass().getName());
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/url/-Url.kt

    internal const val FRAGMENT_ENCODE_SET_URI = " \"#<>\\^`{|}"
    
    internal fun Buffer.writeCanonicalized(
      input: String,
      pos: Int,
      limit: Int,
      encodeSet: String,
      alreadyEncoded: Boolean,
      strict: Boolean,
      plusIsSpace: Boolean,
      unicodeAllowed: Boolean,
      charset: Charset?,
    ) {
      var encodedCharBuffer: Buffer? = null // Lazily allocated.
      var codePoint: Int
      var i = pos
      while (i < limit) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

        void testReadSetupWireFormat() {
            notifyChange = new NtTransNotifyChange(mockConfig, 0x1234, FILE_NOTIFY_CHANGE_FILE_NAME, false);
            byte[] buffer = new byte[100];
    
            int result = notifyChange.readSetupWireFormat(buffer, 10, 50);
    
            assertEquals(0, result);
        }
    
        @Test
        @DisplayName("Test readParametersWireFormat returns zero")
        void testReadParametersWireFormat() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/TransTransactNamedPipe.java

                if (LogStream.level >= 3) {
                    log.println("TransTransactNamedPipe data too long for buffer");
                }
                return 0;
            }
            System.arraycopy(pipeData, pipeDataOff, dst, dstIndex, pipeDataLen);
            return pipeDataLen;
        }
    
        @Override
        int readParametersWireFormat(final byte[] buffer, final int bufferIndex, final int len) {
            return 0;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComQueryInformationResponse.java

        protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            if (this.wordCount == 0) {
                return 0;
            }
            this.fileAttributes = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.lastWriteTime = SMBUtil.readUTime(buffer, bufferIndex);
            bufferIndex += 4;
            this.fileSize = SMBUtil.readInt4(buffer, bufferIndex);
            return 20;
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  6. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbComTransactionResponse.java

            bufferIndex += 2;
            parameterOffset = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            parameterDisplacement = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            dataCount = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            dataOffset = readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            dataDisplacement = readInt2(buffer, bufferIndex);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 5.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

            byte[] buffer = new byte[50];
            int used = nullPathCmd.writeBytesWireFormat(buffer, 0);
            // Should write command byte + null terminator only
            assertEquals(2, used, "Null path should result in command byte + NUL");
            assertEquals(0x04, buffer[0] & 0xFF, "First byte must still be 0x04");
            assertEquals(0, buffer[1], "Second byte must be null terminator");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

            } else {
              var buffer = Buffer()
              requestBody.writeTo(buffer)
    
              var gzippedLength: Long? = null
              if ("gzip".equals(headers["Content-Encoding"], ignoreCase = true)) {
                gzippedLength = buffer.size
                GzipSource(buffer).use { gzippedResponseBody ->
                  buffer = Buffer()
                  buffer.writeAll(gzippedResponseBody)
                }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/netdfsTest.java

            ByteArrayOutputStream bos = new ByteArrayOutputStream();
            // Create buffer for encoding - initially allocate some space
            byte[] encodeBuffer = new byte[1024];
            NdrBuffer dst = new NdrBuffer(encodeBuffer, 0);
            info1.encode(dst);
    
            ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray());
            // Use the encoded buffer for decoding
            NdrBuffer src = new NdrBuffer(encodeBuffer, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.9K bytes
    - Viewed (0)
Back to top