Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1591 - 1600 of 3,102 for True (0.12 sec)

  1. guava-testlib/src/com/google/common/testing/GcFinalization.java

     * }
     *
     * <p>Here's an example that uses a user-defined finalization predicate:
     *
     * {@snippet :
     * final WeakHashMap<Object, Object> map = new WeakHashMap<>();
     * map.put(new Object(), Boolean.TRUE);
     * GcFinalization.awaitDone(new FinalizationPredicate() {
     *   public boolean isDone() {
     *     return map.isEmpty();
     *   }
     * });
     * }
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/net/MediaType.java

       * <p>For example:
       *
       * {@snippet :
       * PLAIN_TEXT_UTF_8.is(PLAIN_TEXT_UTF_8) // true
       * PLAIN_TEXT_UTF_8.is(HTML_UTF_8) // false
       * PLAIN_TEXT_UTF_8.is(ANY_TYPE) // true
       * PLAIN_TEXT_UTF_8.is(ANY_TEXT_TYPE) // true
       * PLAIN_TEXT_UTF_8.is(ANY_IMAGE_TYPE) // false
       * PLAIN_TEXT_UTF_8.is(ANY_TEXT_TYPE.withCharset(UTF_8)) // true
       * PLAIN_TEXT_UTF_8.withoutParameters().is(ANY_TEXT_TYPE.withCharset(UTF_8)) // false
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/job/GenerateThumbnailJobTest.java

        }
    
        // Test execute with timeout
        public void test_execute_withTimeout() {
            thumbnailJob.numOfThreads(2);
            thumbnailJob.timeout = 120; // Set timeout
            thumbnailJob.processTimeout = true;
    
            testProcessHelper.exitValue = -1;
            testProcessHelper.processOutput = "Process terminated";
    
            String result = thumbnailJob.execute();
    
            assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertCacheBuilderEquivalence(CacheBuilder.newBuilder().weakKeys(), CacheBuilder.from(spec));
      }
    
      public void testParse_weakKeysCannotHaveValue() {
        assertThrows(IllegalArgumentException.class, () -> parse("weakKeys=true"));
      }
    
      public void testParse_repeatedKeyStrength() {
        assertThrows(IllegalArgumentException.class, () -> parse("weakKeys, weakKeys"));
      }
    
      public void testParse_softValues() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 19.1K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerTest.java

                    })//
                    .<RegexRule> singleton("fileRule", RegexRule.class, rule -> {
                        rule.setRuleId("fileRule");
                        rule.setDefaultRule(true);
                        rule.setResponseProcessor(container.getComponent("defaultResponseProcessor"));
                    });
    
            crawler = container.getComponent("crawler");
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 19.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

         *
         * @param a first char array to compare
         * @param b second char array to compare
         * @return true if arrays are equal, false otherwise
         */
        private static boolean constantTimeEquals(char[] a, char[] b) {
            if (a == null && b == null) {
                return true;
            }
            if (a == null || b == null) {
                return false;
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ArrayTableRowMapTest.java

    import org.jspecify.annotations.NullUnmarked;
    
    @GwtIncompatible // TODO(hhchan): ArrayTable
    @NullUnmarked
    public class ArrayTableRowMapTest extends RowMapTests {
      public ArrayTableRowMapTest() {
        super(true, false, false, false);
      }
    
      @Override
      Table<String, Integer, Character> makeTable() {
        return ArrayTable.create(asList("foo", "bar", "dog"), asList(1, 2, 3));
      }
    
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. .github/workflows/smokeshow.yml

          - uses: actions/setup-python@v5
            with:
              python-version: '3.9'
          - name: Setup uv
            uses: astral-sh/setup-uv@v6
            with:
              version: "0.4.15"
              enable-cache: true
              cache-dependency-glob: |
                requirements**.txt
                pyproject.toml
          - run: uv pip install -r requirements-github-actions.txt
          - uses: actions/download-artifact@v5
            with:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/service/BoostDocumentRuleService.java

        }
    
        /**
         * Deletes a boost document rule.
         * @param boostDocumentRule The boost document rule to delete.
         */
        public void delete(final BoostDocumentRule boostDocumentRule) {
    
            boostDocumentRuleBhv.delete(boostDocumentRule, op -> op.setRefreshPolicy(Constants.TRUE));
    
        }
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/service/PathMappingService.java

         *
         * @param pathMapping the path mapping to store
         */
        public void store(final PathMapping pathMapping) {
    
            pathMappingBhv.insertOrUpdate(pathMapping, op -> {
                op.setRefreshPolicy(Constants.TRUE);
            });
    
            ComponentUtil.getPathMappingHelper().init();
        }
    
        /**
         * Deletes a path mapping.
         *
         * @param pathMapping the path mapping to delete
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 4.7K bytes
    - Viewed (0)
Back to top