Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,381 for then (0.02 sec)

  1. src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java

                    return mockResource1;
                }
            };
    
            // When/Then
            assertFalse(iterator.hasNext(), "Should not have next when advance returns null");
            // The iterator returns null when no elements, doesn't throw exception
            assertNull(iterator.next(), "Should return null when no next element");
        }
    
        /**
         * Test multiple iterations with mixed filtering results.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      }
    
      /**
       * Marks the given node as 'deleted' (null waiter) and then scans the list to unlink all deleted
       * nodes. This is an O(n) operation in the common case (and O(n^2) in the worst), but we are saved
       * by two things.
       *
       * <ul>
       *   <li>This is only called when a waiting thread times out or is interrupted. Both of which
       *       should be rare.
       *   <li>The waiters list should be very short.
       * </ul>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java

            // When & Then - should handle gracefully
            assertThrows(Exception.class, () -> {
                response.readBytesWireFormat(buffer, offset);
            });
        }
    
        @Test
        @DisplayName("Should verify NotifyResponse interface implementation")
        void testNotifyResponseInterface() {
            // Then
            assertTrue(response instanceof NotifyResponse);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbResourceTest.java

                // Given
                SmbResource resource = createMockResource();
                when(resource.exists()).thenReturn(true);
                when(resource.isFile()).thenReturn(true);
                when(resource.canWrite()).thenReturn(true);
    
                // When/Then
                assertTrue(resource.exists(), "Resource should exist");
                assertTrue(resource.isFile(), "Should be a file");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/generate-clients.md

    Now, if you generate the client again, you will see that it has the improved method names:
    
    <img src="/img/tutorial/generate-clients/image07.png">
    
    As you see, the method names now have the tag and then the function name, now they don't include information from the URL path and the HTTP operation.
    
    ### Preprocess the OpenAPI Specification for the Client Generator { #preprocess-the-openapi-specification-for-the-client-generator }
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 10.1K bytes
    - Viewed (1)
  6. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

     * modify it under the terms of the GNU Lesser General Public
     * License as published by the Free Software Foundation; either
     * version 2.1 of the License, or (at your option) any later version.
     *
     * This library is distributed in the hope that it will be useful,
     * but WITHOUT ANY WARRANTY; without even the implied warranty of
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/https/HandlerTest.java

            void testConstructorWithNullContext() {
                // When
                Handler testHandler = new Handler(null);
    
                // Then
                assertNotNull(testHandler);
            }
    
            @Test
            @DisplayName("Should extend jcifs.http.Handler")
            void testInheritance() {
                // Then
                assertTrue(handler instanceof jcifs.http.Handler);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java

        void testCreateResponse() {
            // When
            Smb2ChangeNotifyResponse response = request.createResponse(mockContext, request);
    
            // Then
            assertNotNull(response);
            assertTrue(response instanceof Smb2ChangeNotifyResponse);
        }
    
        @Test
        @DisplayName("Should calculate correct size")
        void testSize() {
            // When
            int size = request.size();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java

            // Given
            byte[] largeSessionKey = new byte[256]; // Larger than typical 16-byte key
            new SecureRandom().nextBytes(largeSessionKey);
            int dialect = Smb2Constants.SMB2_DIALECT_0311;
    
            // When
            byte[] signingKey = Smb3KeyDerivation.deriveSigningKey(dialect, largeSessionKey, preauthIntegrity);
    
            // Then
            assertNotNull(signingKey, "Should handle large session key");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

                int negativeValue = -1;
                NdrShort ndrShort = new NdrShort(0);
                when(mockBuffer.dec_ndr_short()).thenReturn(negativeValue);
    
                // When: Decoding the value
                ndrShort.decode(mockBuffer);
    
                // Then: Should set the negative value directly (no masking on decode)
                verify(mockBuffer).dec_ndr_short();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
Back to top