Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 575 for wire (0.02 sec)

  1. docs/smb3-features/01-smb3-lease-design.md

        private int leaseState;
        private int leaseFlags;
        private long leaseDuration;  // For V2
        private Smb2LeaseKey parentLeaseKey;  // For V2
        private int epoch;  // For V2
        
        // Wire format structure
        // Lease V1: 32 bytes
        // Lease V2: 52 bytes
        
        @Override
        public void encode(byte[] buffer, int offset) {
            // Write context header
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

        void testInitialDataRemaining() {
            // Then
            assertEquals(0, response.getDataRemaining());
        }
    
        @Test
        @DisplayName("Should write empty bytes to wire format")
        void testWriteBytesWireFormat() {
            // Given
            byte[] buffer = new byte[256];
            int offset = 10;
    
            // When
            int bytesWritten = response.writeBytesWireFormat(buffer, offset);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java

                // Verify total bytes written
                assertEquals(48 + data.length, bytesWritten);
            }
    
            @Test
            @DisplayName("Should handle empty data in wire format")
            void testWriteBytesWireFormatEmptyData() {
                request.setData(new byte[0], 0, 0);
    
                byte[] buffer = new byte[256];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                String result = testBlock.readString(buffer, 0);
    
                assertEquals("Test", result);
            }
    
            @Test
            @DisplayName("Test string wire length calculation")
            void testStringWireLength() {
                testBlock.setUseUnicode(false);
                assertEquals(5, testBlock.stringWireLength("Test", 0));
    
                testBlock.setUseUnicode(true);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java

            int size = request.size();
            int expectedRawSize = Smb2Constants.SMB2_HEADER_LENGTH + 40 + 64;
            int expectedSize = (expectedRawSize + 7) & ~7;
            assertEquals(expectedSize, size);
    
            // Test wire format writing
            byte[] buffer = new byte[512];
            int bytesWritten = request.writeBytesWireFormat(buffer, 64);
    
            // Verify all fields in the buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/net/InetAddresses.java

     *
     * <p>"IPv4 mapped" addresses were originally a representation of IPv4 addresses for use on an IPv6
     * socket that could receive both IPv4 and IPv6 connections (by disabling the {@code IPV6_V6ONLY}
     * socket option on an IPv6 socket). Yes, it's confusing. Nevertheless, these "mapped" addresses
     * were never supposed to be seen on the wire. That assumption was dropped, some say mistakenly, in
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServiceClientImpl.java

            /*
             * This is almost exactly like InetAddress.java. See the
             * comments there for a description of how the LOOKUP_TABLE prevents
             * redundant queries from going out on the wire.
             */
            if ((addr == null) && ((addr = (NbtAddress) checkLookupTable(name)) == null)) {
                try {
                    addr = getByName(name, svr);
                } catch (final UnknownHostException uhe) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 38.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                assertEquals("Structure size is not 16", cause.getMessage(), "Should have correct error message");
            }
    
            @Test
            @DisplayName("Should write empty bytes for wire format")
            void testWriteBytesWireFormat() throws Exception {
                // Given
                byte[] buffer = new byte[100];
    
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

                  stream = stream,
                ).buffer()
            responseBodySink.use {
              body.writeTo(it)
    
              // Delay trailers by sleeping before we close the stream. It's the same on the wire.
              if (response.trailersDelayNanos != 0L) {
                it.flush()
                socket.sleepWhileOpen(response.trailersDelayNanos)
              }
            }
          } else if (socketHandler != null) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_3x.md

        flow control window. We had a few bugs where window size accounting was broken when streams
        were canceled or reset.
     *  Fix: Recover gracefully if the TLS session returns an unexpected version (`NONE`) or cipher
        suite (`SSL_NULL_WITH_NULL_NULL`).
     *  Fix: Don't change Conscrypt configuration globally. We migrated from a process-wide setting to
        configuring only OkHttp's TLS sockets.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top