Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 791 - 800 of 1,596 for construction (0.06 seconds)

  1. src/test/java/jcifs/smb1/smb1/SmbAuthExceptionTest.java

    import org.junit.jupiter.params.provider.Arguments;
    import org.junit.jupiter.params.provider.MethodSource;
    
    /**
     * Tests for {@link SmbAuthException}.
     *
     * These tests exercise the constructor and the mapping logic of
     * {@link SmbException#getMessageByCode(int)} and
     * {@link SmbException#getStatusByCode(int)}.
     */
    @DisplayName("SmbAuthException Tests")
    class SmbAuthExceptionTest {
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/TransformedListIterator.java

    import java.util.ListIterator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An iterator that transforms a backing list iterator; for internal use. This avoids the object
     * overhead of constructing a {@link Function} for internal methods.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    abstract class TransformedListIterator<F extends @Nullable Object, T extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/TransformedListIterator.java

    import java.util.ListIterator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An iterator that transforms a backing list iterator; for internal use. This avoids the object
     * overhead of constructing a {@link Function} for internal methods.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    abstract class TransformedListIterator<F extends @Nullable Object, T extends @Nullable Object>
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/collect/ForwardingNavigableMap.java

     * @since 12.0
     */
    @GwtIncompatible
    public abstract class ForwardingNavigableMap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingSortedMap<K, V> implements NavigableMap<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingNavigableMap() {}
    
      @Override
      protected abstract NavigableMap<K, V> delegate();
    
      @Override
      public @Nullable Entry<K, V> lowerEntry(@ParametricNullness K key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.1K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ForwardingNavigableMap.java

     * @since 12.0
     */
    @GwtIncompatible
    public abstract class ForwardingNavigableMap<K extends @Nullable Object, V extends @Nullable Object>
        extends ForwardingSortedMap<K, V> implements NavigableMap<K, V> {
    
      /** Constructor for use by subclasses. */
      protected ForwardingNavigableMap() {}
    
      @Override
      protected abstract NavigableMap<K, V> delegate();
    
      @Override
      public @Nullable Entry<K, V> lowerEntry(@ParametricNullness K key) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 14.3K bytes
    - Click Count (0)
  6. src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java

        void setUp() {
            lenient().when(fileEntry.getName()).thenReturn("test");
        }
    
        @Test
        @DisplayName("Iterator without filter - simple case")
        void iteratorWithoutFilter() {
            // Setup: constructor calls advance() once
            when(delegate.hasNext()).thenReturn(true, false);
            when(delegate.next()).thenReturn(fileEntry);
    
            TestIterator iterator = new TestIterator(null);
    
            // Verify iteration
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

      }
    
      private final transient SortedSet<E> sortedDelegate;
    
      /**
       * Scary constructor for ContiguousSet. This constructor (in this file, the GWT emulation of
       * ImmutableSortedSet) creates an empty sortedDelegate, which, in a vacuum, sets this object's
       * contents to empty. By contrast, the non-GWT constructor with the same signature uses the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Aug 06 18:32:41 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb1/net/NetServerEnum2Test.java

            realConfig = new BaseConfiguration(false);
            // Mock configuration setup
            when(mockConfig.getTransactionBufferSize()).thenReturn(65535);
        }
    
        @Test
        @DisplayName("Test constructor with domain and server types")
        void testConstructor() {
            String domain = "WORKGROUP";
            int serverTypes = NetServerEnum2.SV_TYPE_ALL;
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbTransportImplTest.java

            SMBSigningDigest dg = mock(SMBSigningDigest.class);
            transport.setDigest(dg);
            assertSame(dg, transport.getDigest());
        }
    
        @Test
        @DisplayName("Context accessor returns constructor-provided context")
        void contextAccessor() {
            assertSame(ctx, transport.getContext());
        }
    
        @Test
        @DisplayName("acquire returns same instance")
        void acquireReturnsSameInstance() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 17.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/context/BaseContextTest.java

            when(mockConfig.getBufferCacheSize()).thenReturn(16);
            when(mockConfig.getMaximumBufferSize()).thenReturn(65536);
    
            context = new BaseContext(mockConfig);
        }
    
        @Test
        @DisplayName("Constructor should initialize all components")
        void testConstructorInitialization() {
            // Then
            assertNotNull(context, "Context should be created");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.1K bytes
    - Click Count (0)
Back to Top