Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 746 for IsEmpty (0.04 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. 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)
  4. 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)
  5. 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)
  6. src/test/java/org/codelibs/opensearch/extension/kuromoji/index/analysis/KuromojiTokenizerFactory.java

                List<String> ruleList =
                        Analysis.parseWordList(env, settings, USER_DICT_PATH_OPTION, USER_DICT_RULES_OPTION, s -> parse(s, dup));
                if (ruleList == null || ruleList.isEmpty()) {
                    return null;
                }
    
                StringBuilder sb = new StringBuilder();
                for (String line : ruleList) {
                    sb.append(line).append(System.lineSeparator());
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Sat Mar 15 06:51:20 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  7. 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)
  8. src/test/java/org/codelibs/fess/util/ResourceUtilTest.java

            // we test the current behavior
            String appType = ResourceUtil.getAppType();
            assertNotNull(appType);
            // appType should be either empty string or the actual env value
            assertTrue(appType.isEmpty() || appType.length() > 0);
        }
    
        public void test_getOverrideConfPath() {
            // Test when app type is not docker
            OptionalEntity<String> confPath = ResourceUtil.getOverrideConfPath();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 12 07:34:10 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                    }
    
                    if (debug) {
                        List<Object> feedback = interpolator.getFeedback();
                        if (feedback != null && !feedback.isEmpty()) {
                            logger.debug("Maven encountered the following problems during initial POM interpolation:");
    
                            Object last = null;
                            for (Object next : feedback) {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/suggest/index/contents/document/ESSourceReader.java

            totalDocNum = getTotal();
        }
    
        @Override
        public synchronized Map<String, Object> read() {
            while (!isFinished.get() && queue.isEmpty()) {
                addDocumentToQueue();
            }
    
            return queue.poll();
        }
    
        @Override
        public void close() {
            isFinished.set(true);
            queue.clear();
        }
    
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top