Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,413 for Empty (0.02 sec)

  1. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

        }
    
        @Test
        @DisplayName("Test size calculation with empty path")
        void testSizeWithEmptyPath() {
            request = new Smb2CreateRequest(mockConfig, "");
    
            int expectedSize = Smb2Constants.SMB2_HEADER_LENGTH + 56;
            expectedSize += 8; // size8(1) - empty name gets 1 byte
            expectedSize = ((expectedSize + 7) / 8) * 8; // size8(size)
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

                assertArrayEquals(testHashAlgos, context.getHashAlgos());
                assertArrayEquals(testSalt, context.getSalt());
            }
    
            @Test
            @DisplayName("Should create empty context with default constructor")
            void testDefaultConstructor() {
                // Act
                context = new PreauthIntegrityNegotiateContext();
    
                // Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/exception/ContentNotFoundExceptionTest.java

                // If suppression is disabled, getSuppressed should return empty array
                assertEquals(0, exception.getSuppressed().length);
            } catch (Exception e) {
                // If an exception is thrown when trying to add suppressed, that's also valid
                // since suppression is disabled
            }
    
            // Stack trace should be empty since writableStackTrace is false
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  4. okhttp/src/commonTest/kotlin/okhttp3/CompressionInterceptorTest.kt

        Buffer().apply {
          write("Hello World".encodeUtf8())
        } as Source
    
      @Test
      fun emptyDoesntChangeRequestOrResponse() {
        val empty = CompressionInterceptor()
        val client =
          clientTestRule
            .newClientBuilder()
            .addInterceptor(empty)
            .addInterceptor { chain ->
              assertThat(chain.request().header("Accept-Encoding")).isNull()
              Response
                .Builder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Aug 01 06:04:22 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

        }
    
        /**
         * Creates and returns an initial context using the specified environment.
         *
         * @param env
         *            The environment used to create the initial context. <code>null</code> indicates an empty environment.
         * @return The initial context
         */
        public static InitialContext create(final Hashtable<?, ?> env) {
            try {
                return new InitialContext(env);
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProjectBuilderResult.java

         * is thrown so this information is merely meant to assist the user.
         *
         * @return the identifier of the project or an empty string if not known, never {@code null}
         */
        @Nonnull
        String getProjectId();
    
        /**
         * Gets the POM file from which the project was built.
         *
         * @return the optional POM file
         */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:17:07 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeRangeMap.java

                  "Cannot insert range " + range + " into an empty subRangeMap");
            }
    
            @Override
            public void putCoalescing(Range<Comparable<?>> range, Object value) {
              checkNotNull(range);
              throw new IllegalArgumentException(
                  "Cannot insert range " + range + " into an empty subRangeMap");
            }
    
            @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 22.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/job/AggregateLogJobTest.java

                }
            };
            ComponentUtil.register(mockSearchLogHelper, "searchLogHelper");
    
            // Execute the job
            String result = aggregateLogJob.execute();
    
            // Verify result is empty string on success
            assertNotNull(result);
            assertEquals("", result);
        }
    
        public void test_execute_withException() {
            // Setup mock SearchLogHelper that throws exception
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

       *  * A misdirected request (HTTP 421) on a coalesced connection.
       */
      open fun isOneShot(): Boolean = false
    
      companion object {
        /** Empty request body with no content-type. */
        @JvmField
        val EMPTY: RequestBody = ByteString.EMPTY.toRequestBody()
    
        /**
         * Returns a new request body that transmits this string. If [contentType] is non-null and lacks
         * a charset, this will use UTF-8.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

        }
    
        @Test
        @DisplayName("Should handle empty hostname in getByName")
        void testGetByNameWithEmpty() {
            // When/Then
            assertThrows(UnknownHostException.class, () -> {
                nameServiceClient.getByName("");
            }, "Should throw UnknownHostException for empty hostname");
        }
    
        @Test
        @DisplayName("Should handle localhost in getByName")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top