Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,486 for construction (0.06 sec)

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

    import jcifs.Configuration;
    
    @ExtendWith(MockitoExtension.class)
    class BufferCacheImplTest {
    
        @Mock
        Configuration cfg;
    
        // Verifies constructor that accepts Configuration reads the expected values and uses them
        @Test
        @DisplayName("Constructor(Configuration) uses cache size and maximum buffer size from config")
        void constructorUsesConfigurationAndAllocatesWithConfiguredSize() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  2. docs/security/README.md

    ##### Figure 1 - Secure Channel construction
    
    ```
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Feb 26 09:25:50 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/Suppliers.java

        MemoizingSupplier(Supplier<T> delegate) {
          this.delegate = checkNotNull(delegate);
        }
    
        @Override
        @ParametricNullness
        // We set the field only once (during construction or deserialization).
        @SuppressWarnings("SynchronizeOnNonFinalField")
        public T get() {
          // A 2-field variant of Double Checked Locking.
          if (!initialized) {
            synchronized (lock) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessSecurityResourceProviderTest.java

            securityResourceProvider = new FessSecurityResourceProvider(invertibleCryptographer, oneWayCryptographer);
        }
    
        // Test constructor
        public void test_constructor_withValidParameters() {
            // Test normal construction
            assertNotNull(securityResourceProvider);
    
            // Verify fields are set correctly
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/dcerpc/ndr/NdrShortTest.java

    /**
     * Comprehensive test suite for NdrShort class
     * Tests construction, encoding, decoding, and edge cases
     */
    @ExtendWith(MockitoExtension.class)
    @DisplayName("NdrShort Test Suite")
    class NdrShortTest {
    
        @Mock
        private NdrBuffer mockBuffer;
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @ParameterizedTest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/StaticJAASConfigurationTest.java

            AppConfigurationEntry[] entries = cfg.getAppConfigurationEntry("ignored");
            Map<String, ?> returned = entries[0].getOptions();
    
            // Assert: sanity check and verify that no mutating calls were made after construction
            assertEquals("true", returned.get("refreshKrb5Config"));
            verify(spyOpts, never()).put(any(), any());
            verify(spyOpts, never()).remove(any());
            verify(spyOpts, never()).clear();
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComSeekResponseTest.java

            when(mockConfig.getPid()).thenReturn(12345);
            response = new SmbComSeekResponse(mockConfig);
        }
    
        /* ------------------------------------------------------------------ */
        /* 1. Construction and basic getters                                    */
        /* ------------------------------------------------------------------ */
    
        @Test
        @DisplayName("Construct with a valid configuration - should not throw")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/io/Smb2FlushResponseTest.java

                // Then
                assertNotNull(newResponse);
                // Verify the response was created successfully with the configuration
                // The constructor doesn't actually call any methods on the config during construction
            }
        }
    
        @Nested
        @DisplayName("Edge case tests")
        class EdgeCaseTests {
    
            @Test
            @DisplayName("Should handle maximum buffer index")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/base/Suppliers.java

        MemoizingSupplier(Supplier<T> delegate) {
          this.delegate = checkNotNull(delegate);
        }
    
        @Override
        @ParametricNullness
        // We set the field only once (during construction or deserialization).
        @SuppressWarnings("SynchronizeOnNonFinalField")
        public T get() {
          // A 2-field variant of Double Checked Locking.
          if (!initialized) {
            synchronized (lock) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/LsaPolicyHandleTest.java

            // Assert
            assertNotNull(handle);
            verify(mockDcerpcHandle, times(1)).sendrecv(any(MsrpcLsarOpenPolicy2.class));
            // We cannot directly assert the 'opened' field as it's private, but successful construction implies it.
        }
    
        @Test
        void constructor_shouldHandleNullServerSuccessfully() throws IOException {
            // Arrange
            String server = null;
            int access = 123;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top