Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 962 for buffers (0.05 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            this.server.smaxMpxCount = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.server.maxNumberVcs = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.server.maxBufferSize = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
            this.server.maxRawSize = SMBUtil.readInt4(buffer, bufferIndex);
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/metadata/AbstractArtifactMetadata.java

        @Override
        public String extendedToString() {
            StringBuilder buffer = new StringBuilder(256);
    
            buffer.append(LS).append("Artifact 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
    - 2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/dfs/DfsReferralResponseBuffer.java

        }
    
        @Override
        public int decode(final byte[] buffer, int bufferIndex, final int len) {
            final int start = bufferIndex;
    
            this.pathConsumed = SMBUtil.readInt2(buffer, bufferIndex) / 2;
            bufferIndex += 2;
            this.numReferrals = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
            this.tflags = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 4;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateRequestTest.java

            byte[] buffer = new byte[512];
    
            // When
            int bytesWritten = request.writeBytesWireFormat(buffer, 0);
    
            // Then
            assertTrue(bytesWritten > 0);
    
            // Verify structure size
            assertEquals(36, SMBUtil.readInt2(buffer, 0));
    
            // Verify dialect count
            assertEquals(3, SMBUtil.readInt2(buffer, 2)); // SMB210, SMB300, SMB302
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/create/LeaseV1CreateContextRequestTest.java

            assertEquals(16, SMBUtil.readInt2(buffer, 4));
    
            // NameLength field (2 bytes) - should be 4 for "RqLs"
            assertEquals(4, SMBUtil.readInt2(buffer, 6));
    
            // Reserved field (2 bytes) - should be 0
            assertEquals(0, SMBUtil.readInt2(buffer, 8));
    
            // DataOffset field (2 bytes) - should be 24 (16 header + 4 name + 4 padding)
            assertEquals(24, SMBUtil.readInt2(buffer, 10));
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/FormBody.kt

      ): Long {
        var byteCount = 0L
        val buffer: Buffer = if (countBytes) Buffer() else sink!!.buffer
    
        for (i in 0 until encodedNames.size) {
          if (i > 0) buffer.writeByte('&'.code)
          buffer.writeUtf8(encodedNames[i])
          buffer.writeByte('='.code)
          buffer.writeUtf8(encodedValues[i])
        }
    
        if (countBytes) {
          byteCount = buffer.size
          buffer.clear()
        }
    
        return byteCount
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            // Given
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, TEST_DATA, 0, TEST_DATA.length);
            byte[] buffer = new byte[10];
    
            // When
            int bytesRead = transCallNamedPipe.readSetupWireFormat(buffer, 0, buffer.length);
    
            // Then
            assertEquals(0, bytesRead);
        }
    
        @Test
        @DisplayName("Test writeParametersWireFormat returns 0")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComLockingAndX.java

        protected int readParameterWordsWireFormat(final byte[] buffer, int bufferIndex) {
            final int start = bufferIndex;
    
            this.fid = SMBUtil.readInt2(buffer, bufferIndex);
            bufferIndex += 2;
    
            this.typeOfLock = buffer[bufferIndex];
    
            if ((this.typeOfLock & 0x10) == 0x10) {
                this.largeFile = true;
            }
    
            this.newOpLockLevel = buffer[bufferIndex + 1];
            bufferIndex += 2;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/Strings.java

        /**
         * Finds the null termination in a UTF-16LE encoded string buffer.
         *
         * @param buffer the byte buffer to search
         * @param bufferIndex the starting position in the buffer
         * @param maxLen the maximum length to search
         * @return position of terminating null bytes
         */
        public static int findUNITermination(final byte[] buffer, final int bufferIndex, final int maxLen) {
            int len = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_2x.md

        vulnerability, OkHttp no longer offers SSLv3 when negotiation an
        HTTPS connection. If you continue to need to connect to webservers
        running SSLv3, you must manually configure your own `ConnectionSpec`.
    
     *  **OkHttp now offers interceptors.** Interceptors are a powerful mechanism
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
Back to top