Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,409 for construction (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

      val isHttps: Boolean
        get() = url.isHttps
    
      /**
       * Constructs a new request.
       *
       * Use [Builder] for more fluent construction, including helper methods for various HTTP methods.
       *
       * @param method defaults to "GET" if [body] is null, and "POST" otherwise.
       */
      constructor(
        url: HttpUrl,
        headers: Headers = headersOf(),
        // '\u0000' is a sentinel value that'll choose based on what the body is:
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
  2. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            generator1.setCommandTimeout(1000L);
            generator2.setCommandTimeout(2000L);
    
            assertTrue("Multiple generators should work independently", true);
        }
    
        // Test command string construction edge cases
        public void test_command_string_edge_cases() throws Exception {
            // Test with commands containing special characters
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertEquals(0x400000, Smb2CreateRequest.FILE_NOP_RECALL);
            assertEquals(0x800000, Smb2CreateRequest.FILE_OPEN_FOR_FREE_SPACE_QUERY);
        }
    
        @Test
        @DisplayName("Test default values after construction")
        void testDefaultValues() {
            request = new Smb2CreateRequest(mockConfig, "test.txt");
    
            byte[] buffer = new byte[1024];
            request.writeBytesWireFormat(buffer, 0);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MapMaker.java

       * is {@code 60}, and the concurrency level is {@code 8}, then eight segments are created, each
       * having a hash table of size eight. Providing a large enough estimate at construction time
       * avoids the need for expensive resizing operations later, but setting this value unnecessarily
       * high wastes memory.
       *
       * @throws IllegalArgumentException if {@code initialCapacity} is negative
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

        protected static final String SIMILAR_DOC_HASH_PREFIX = "$";
    
        /**
         * Default constructor for DocumentHelper.
         * Creates a new document helper instance.
         */
        public DocumentHelper() {
            // Default constructor
        }
    
        /**
         * Initializes the document helper after construction.
         * Sets up the TikaExtractor with configuration parameters for text processing.
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSet.java

         * <p>The online hash flooding detecting in RegularSetBuilderImpl.add can detect e.g. many
         * exactly matching hash codes, which would cause construction to take O(n^2), but can't detect
         * e.g. hash codes adversarially designed to go into ascending table locations, which keeps
         * construction O(n) (as desired) but then can have O(n) queries later.
         *
         * <p>If this returns false, then no query can take more than O(log n).
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java

        @DisplayName("Should accept null dialect during construction")
        void testNullDialect() {
            // When/Then
            assertDoesNotThrow(() -> {
                Smb2EncryptionContext context = new Smb2EncryptionContext(1, null, testEncryptionKey, testDecryptionKey);
                assertNull(context.getDialect(), "Dialect should be null");
            }, "Should accept null dialect during construction");
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 44.1K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

        }
    
        @Test
        @DisplayName("getInput/getOutput return cached streams when open; throw when closed")
        void getInputOutput_caching_and_closed() throws Exception {
            // Arrange: minimal stubs so stream construction works
            SmbPipeHandleImpl handle = newHandleWithBasicStubs(0, "\\\\pipe\\\\foo");
            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTest.java

            });
        }
    
        /**
         * Test TTL with different constructor types
         */
        @Test
        @DisplayName("Test TTL functionality works with all constructor types")
        public void testTTLWithDifferentConstructors() {
            // Test with String password constructor
            NtlmPasswordAuthenticator auth1 = new NtlmPasswordAuthenticator("user", "StringPass123!");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 23.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java

        void testNullPath() {
            // When creating with null path
            Smb2TreeConnectRequest reqWithNull = new Smb2TreeConnectRequest(mockConfig, null);
    
            // Then - should not throw during construction
            assertNotNull(reqWithNull);
    
            // But should throw when trying to use the null path
            assertThrows(NullPointerException.class, () -> {
                reqWithNull.size();
            });
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top