Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 128 for termination (0.07 sec)

  1. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertTrue(str.contains(specialRemark));
        }
    
        @Test
        @DisplayName("Test type masking with 0xFFFF")
        void testTypeMasking() {
            // Test that only lower 16 bits are considered for type determination
            int typeWithUpperBits = 0xFFFF0001; // Should be treated as type 1 (printer)
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, typeWithUpperBits, TEST_REMARK);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/TreeConnectResponseTest.java

                buffer[serviceBytes.length] = 0; // Null terminator
    
                // When
                int bytesRead = (int) invokeMethod(response, "readBytesWireFormat", new Class[] { byte[].class, int.class }, buffer, 0);
    
                // Then
                assertEquals(serviceBytes.length + 1, bytesRead, "Should read service string plus terminator");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/ServerMessageBlockTest.java

        @Test
        void testReadStringWithMaxLength() {
            smb.useUnicode = false;
            byte[] buffer = new byte[6];
            System.arraycopy("short".getBytes(), 0, buffer, 0, 5);
            buffer[5] = 0; // Null terminator
            String result = smb.readString(buffer, 0, 5, false);
            assertEquals("short", result);
        }
    
        @Test
        void testReadStringWithMaxLengthExceeded() {
            smb.useUnicode = false;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            assertEquals('S', messageBytes[4]);
            assertEquals('S', messageBytes[5]);
            assertEquals('P', messageBytes[6]);
            assertEquals(0, messageBytes[7]); // Null terminator
        }
    
        @Test
        @DisplayName("Should include message type indicator")
        void testMessageTypeIndicator() throws IOException {
            // When
            Type1Message type1 = new Type1Message(mockContext);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  5. docs/contribute/concurrency.md

    Since HTTP requests frequently happen in parallel, connection pooling must be thread-safe.
    
    These are the primary classes involved with establishing, sharing, and terminating connections:
    
     * **RealConnectionPool** manages reuse of HTTP and HTTP/2 connections for reduced latency. Every OkHttpClient has one, and its lifetime spans the lifetime of the OkHttpClient.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.26.md

      the Job controller now does not consider a terminating Pod (a pod that has a `.metadata.deletionTimestamp`)
      as a failure until that Pod is terminal (its `.status.phase` is `Failed` or `Succeeded`).
      
      However, the Job controller creates a replacement Pod as soon as the termination becomes apparent.
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/http/NtlmSspTest.java

            assertEquals('S', (char) type2Bytes[4]);
            assertEquals('S', (char) type2Bytes[5]);
            assertEquals('P', (char) type2Bytes[6]);
            assertEquals(0, type2Bytes[7]); // Null terminator
            assertEquals(2, type2Bytes[8], "Message type should be 2"); // Type 2
    
            // Verify response status
            verify(mockResponse).setStatus(HttpServletResponse.SC_UNAUTHORIZED);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                    assertNotNull(targetInfo);
                    // Should only contain server info - but might have different structure than expected
                    assertTrue(targetInfo.length >= 4, "Target info should have at least terminator");
                    // Check if it contains server info (implementation dependent)
                    if (targetInfo.length > 4) {
                        assertEquals(1, Type2Message.readUShort(targetInfo, 0)); // Type 0x0001
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  9. src/test/java/jcifs/dcerpc/ndr/NdrBufferTest.java

            String testString = "Hello World";
            ndrBuffer.enc_ndr_string(testString);
    
            // Expected length: 4 (actual_count) + 4 (offset) + 4 (max_count) + len*2 (unicode) + 2 (null terminator)
            int expectedLength = 4 + 4 + 4 + (testString.length() * 2) + 2;
            assertEquals(expectedLength, ndrBuffer.getIndex());
            assertEquals(expectedLength, ndrBuffer.getLength());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/ntlmssp/Type3MessageTest.java

            assertEquals('S', messageBytes[4]);
            assertEquals('S', messageBytes[5]);
            assertEquals('P', messageBytes[6]);
            assertEquals(0, messageBytes[7]); // Null terminator
        }
    
        @Test
        @DisplayName("Should include message type indicator")
        void testMessageTypeIndicator() throws Exception {
            // Given
            Type2Message type2 = createMockType2Message();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.3K bytes
    - Viewed (0)
Back to top