Search Options

Results per page
Sort
Preferred Languages
Advance

Results 431 - 440 of 700 for IsEmpty (1.93 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutAllMultimapTester.java

      // Empty multimaps *do* have defined equals semantics.
      @SuppressWarnings("UndefinedEquals")
      public void testPutAllIntoEmpty() {
        Multimap<K, V> target = getSubjectGenerator().create();
        assertEquals(!multimap().isEmpty(), target.putAll(multimap()));
        assertEquals(multimap(), target);
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      public void testPutAll() {
        Multimap<K, V> source =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 21:10:54 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/CollectionFuture.java

          ImmutableCollection<? extends ListenableFuture<? extends V>> futures,
          boolean allMustSucceed) {
        super(futures, allMustSucceed, true);
    
        List<@Nullable Present<V>> values =
            futures.isEmpty()
                ? Collections.<@Nullable Present<V>>emptyList()
                : Lists.<@Nullable Present<V>>newArrayListWithCapacity(futures.size());
    
        // Populate the results list with null initially.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/CriticalPerformanceTest.java

                    avgThreadTimeMs);
    
            // Verify performance improvements
            assertTrue(exceptions.isEmpty(), "No exceptions should occur during concurrent access");
            assertEquals(threadCount * operationsPerThread, successCount.get());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/dfs/DfsReferralDataImplTest.java

                assertEquals(expectedServer, result.getServer());
                // The implementation returns empty strings as empty strings, not null
                assertEquals(expectedShare.isEmpty() ? "" : expectedShare, result.getShare());
                assertEquals(expectedPath.isEmpty() ? "" : expectedPath, result.getPath());
            }
    
            @Test
            @DisplayName("Should handle path with multiple backslashes")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformUrlTest.kt

      }
    
      /** Test how [HttpUrl] does against the web platform test suite.  */
      @ArgumentsSource(TestDataParamProvider::class)
      @ParameterizedTest
      fun httpUrl(testData: WebPlatformUrlTestData) {
        if (!testData.scheme.isEmpty() && !HTTP_URL_SCHEMES.contains(testData.scheme)) {
          System.err.println("Ignoring unsupported scheme ${testData.scheme}")
          return
        }
    
        if (!testData.base!!.startsWith("https:") &&
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComLogoffAndXTest.java

            assertTrue(s.endsWith("]"), "expected suffix ] but got " + s);
            String inner = s.substring("SmbComLogoffAndX[".length(), s.length() - 1);
            assertFalse(inner.isEmpty(), "inner part of toString should not be empty");
        }
    
        @Test
        @DisplayName("constructor sets correct command value")
        void constructorSetsCorrectCommand() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHook.java

            return new ApiErrorResponse().message(message).status(status).result();
        }
    
        protected String createMessage(final ApiFailureResource resource, final Throwable cause) {
            if (!resource.getMessageList().isEmpty()) {
                return resource.getMessageList().stream().collect(Collectors.joining(" "));
            }
    
            if (cause == null) {
                return "Unknown error";
            }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/usability/plugin/ExpressionDocumenter.java

            List<Expression> expressions = documentation.getExpressions();
    
            Map<String, Expression> bySyntax = new HashMap<>();
    
            if (expressions != null && !expressions.isEmpty()) {
                for (Expression expression : expressions) {
                    bySyntax.put(expression.getSyntax(), expression);
                }
            }
    
            return bySyntax;
        }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ListsTest.java

        List<String> transformedList = transform(SOME_LIST, SOME_FUNCTION);
        assertFalse(transformedList.isEmpty());
      }
    
      public void testTransformSequentialIsNotEmpty() {
        List<String> transformedList = transform(SOME_SEQUENTIAL_LIST, SOME_FUNCTION);
        assertFalse(transformedList.isEmpty());
      }
    
      public void testTransformListIteratorRandomAccess() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.4K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

            assertNotNull(queryBuilder);
    
            // Should not add empty highlight
            assertTrue(queryContext.getHighlightedQuerySet().isEmpty());
        }
    
        public void test_execute_withWildcardQuery() throws Exception {
            QueryContext queryContext = new QueryContext("test*", false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
Back to top