Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 141 - 150 of 172 for termination (0.12 seconds)

  1. 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");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  2. 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.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Click Count (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java

        }
    
        private UpgradeOptions createDefaultOptions() {
            return TestUtils.createDefaultOptions();
        }
    
        @Nested
        @DisplayName("Target Model Version Determination")
        class TargetModelVersionTests {
    
            @Test
            @DisplayName("should use explicit model version when provided")
            void shouldUseExplicitModelVersionWhenProvided() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 13.7K bytes
    - Click Count (0)
  4. 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);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 11.4K bytes
    - Click Count (1)
  5. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 38.9K bytes
    - Click Count (0)
  6. 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());
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  7. 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();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/graph/Traverser.java

       *
       * <p>Providing a graph to be traversed for which there is more than one path from the start
       * node(s) to any node may lead to:
       *
       * <ul>
       *   <li>Traversal not terminating (if the graph has cycles)
       *   <li>Nodes being visited multiple times (if multiple paths exist from any start node to any
       *       node reachable from any start node)
       * </ul>
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 19.3K bytes
    - Click Count (0)
  9. src/test/java/jcifs/internal/dfs/ReferralTest.java

            // Write path string at offset 22
            bb.position(22);
            String expectedPath = "\\\\test";
            bb.put(expectedPath.getBytes(StandardCharsets.UTF_16LE));
            bb.putShort((short) 0); // null terminator
    
            // Decode
            referral.decode(testBuffer, 0, testBuffer.length);
    
            // Check
            assertEquals(3, referral.getVersion());
            assertEquals(100, referral.getSize());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 22K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb2/Smb2EncryptionContext.java

            return this.cipherId == CIPHER_AES_128_GCM || this.cipherId == CIPHER_AES_256_GCM;
        }
    
        private int getKeyLength() {
            // Java 17 switch expression for cipher key length determination
            return switch (this.cipherId) {
            case CIPHER_AES_128_CCM, CIPHER_AES_128_GCM -> 16; // AES-128 ciphers use 16-byte keys
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 35.5K bytes
    - Click Count (0)
Back to Top