Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1361 - 1370 of 1,615 for constructs (0.27 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeTest.java

        private static final int TEST_LENGTH = TEST_DATA.length;
    
        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
        }
    
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        void testConstructor() {
            // Act
            TransTransactNamedPipe trans = new TransTransactNamedPipe(mockConfig, TEST_FID, TEST_DATA, TEST_OFFSET, TEST_LENGTH);
    
            // Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.7K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/ImmutableListMultimap.java

      }
    
      // looking for of() with > 5 entries? Use the builder instead.
    
      /**
       * Returns a new builder. The generated builder is equivalent to the builder created by the {@link
       * Builder} constructor.
       */
      public static <K, V> Builder<K, V> builder() {
        return new Builder<>();
      }
    
      /**
       * Returns a new builder with a hint for how many distinct keys are expected to be added. The
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Dec 09 15:58:48 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb1/util/Encdec.java

     * Provides methods for encoding/decoding various data types in different byte orders.
     */
    public class Encdec {
    
        /**
         * Default constructor for Encdec.
         * This is a utility class with static methods.
         */
        public Encdec() {
            // Default constructor
        }
    
        /**
         * Milliseconds between January 1, 1970 and January 1, 1601 (Windows epoch).
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  4. src/main/java/jcifs/util/transport/Transport.java

     * This class handles the low-level transport protocol for SMB communication.
     */
    public abstract class Transport implements Runnable, AutoCloseable {
    
        /**
         * Default constructor for Transport
         */
        protected Transport() {
            // Default constructor
        }
    
        private static int id = 0;
        private static final Logger log = LoggerFactory.getLogger(Transport.class);
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 27.8K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

      override val sslSocketFactoryOrNull: SSLSocketFactory?,
      override val x509TrustManagerOrNull: X509TrustManager?,
      val certificateChainCleaner: CertificateChainCleaner?,
    ) : Interceptor.Chain {
      internal constructor(
        call: RealCall,
        interceptors: List<Interceptor>,
        index: Int,
        exchange: Nothing?,
        request: Request,
        client: OkHttpClient = call.client,
      ) : this(
        call = call,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 10 21:47:20 GMT 2026
    - 12.8K bytes
    - Click Count (0)
  6. guava/src/com/google/common/cache/CacheLoader.java

     * CacheLoader<Key, Graph> loader = CacheLoader.from(key -> createExpensiveGraph(key));
     * }
     *
     * @author Charles Fry
     * @since 10.0
     */
    @GwtCompatible
    public abstract class CacheLoader<K, V> {
      /** Constructor for use by subclasses. */
      protected CacheLoader() {}
    
      /**
       * Computes or retrieves the value corresponding to {@code key}.
       *
       * @param key the non-null key whose value should be loaded
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Jan 28 22:39:02 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java

        }
    
        @Test
        @DisplayName("Should handle null configuration gracefully")
        void testNullConfiguration() {
            // When - constructor accepts null config without throwing
            Smb2TreeDisconnectResponse responseWithNull = new Smb2TreeDisconnectResponse(null);
    
            // Then - response is created successfully
            assertNotNull(responseWithNull);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14.1K bytes
    - Click Count (0)
  8. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

        @BeforeEach
        void setUp() {
            MockitoAnnotations.openMocks(this);
            testRequest = new TestServerMessageBlock2Request(mockConfig);
        }
    
        @Nested
        @DisplayName("Constructor Tests")
        class ConstructorTests {
    
            @Test
            @DisplayName("Should create request with configuration only")
            void testConstructorWithConfig() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

        SmbTreeHandleImpl mockTree;
    
        @Mock
        SmbFileHandleImpl mockHandle;
    
        @Mock
        Configuration mockConfig;
    
        private SmbFileInputStream newStream() throws SmbException {
            // Constructor that avoids external I/O; stays in-memory
            when(mockTree.isSMB2()).thenReturn(true); // default SMB2 for simple happy-path
            return new SmbFileInputStream(mockFile, mockTree, mockHandle);
        }
    
        @BeforeEach
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb1/smb1/AndXServerMessageBlockTest.java

                called = true;
                lastLength = length;
            }
        }
    
        @Test
        @DisplayName("Constructor with andx sets next command")
        void testConstructorWithAndx() {
            DummyPlainSMB next = new DummyPlainSMB();
            DummyAndXBlock block = new DummyAndXBlock(next);
    
            assertNotNull(block);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.5K bytes
    - Click Count (0)
Back to Top