Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 56 for swallowed (0.21 sec)

  1. android/guava/src/com/google/common/cache/CacheBuilder.java

       * immediately. Otherwise, the old value is returned.
       *
       * <p><b>Note:</b> <i>all exceptions thrown during refresh will be logged and then swallowed</i>.
       *
       * @param duration the length of time after an entry is created that it should be considered
       *     stale, and thus eligible for refresh
       * @return this {@code CacheBuilder} instance (for chaining)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheBuilder.java

       * immediately. Otherwise, the old value is returned.
       *
       * <p><b>Note:</b> <i>all exceptions thrown during refresh will be logged and then swallowed</i>.
       *
       * @param duration the length of time after an entry is created that it should be considered
       *     stale, and thus eligible for refresh
       * @return this {@code CacheBuilder} instance (for chaining)
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Oct 08 18:55:33 UTC 2025
    - 51.6K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/SerializeUtil.java

            // Allow primitive types and their wrappers
            if (serialClass.isPrimitive() || serialClass.isArray()) {
                return ObjectInputFilter.Status.ALLOWED;
            }
    
            // Check against allowed patterns
            for (String allowedPattern : DEFAULT_ALLOWED_PATTERNS) {
                if (allowedPattern.endsWith("*")) {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/RobotsTxt.java

            // Default constructor
        }
    
        /**
         * Checks if access to a given path is allowed for a specific user agent according to robots.txt rules.
         *
         * @param path The path to check for access permission
         * @param userAgent The user agent string to check against robots.txt directives
         * @return true if access is allowed, false if access is disallowed by robots.txt rules.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Mon Nov 24 03:59:47 UTC 2025
    - 18.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/query/QueryFieldConfig.java

        /**
         * Sets the fields that are allowed in API responses.
         *
         * @param fields array of field names that are allowed in API responses
         */
        public void setApiResponseFields(final String[] fields) {
            apiResponseFieldSet = new HashSet<>();
            Collections.addAll(apiResponseFieldSet, fields);
        }
    
        /**
         * Checks if the specified field is allowed in API responses.
         *
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/validation/UriTypeValidator.java

            }
            return true;
        }
    
        /**
         * Checks if the given value matches any of the specified protocols.
         *
         * @param protocols the allowed protocols
         * @param value the URI string to validate
         * @return true if the value matches allowed protocols, false otherwise
         */
        protected static boolean check(final String[] protocols, final String value) {
            final String[] paths = value.split("[\r\n]");
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sun Nov 23 12:34:02 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/ArrayTable.java

       * @throws IndexOutOfBoundsException if either index is negative, {@code rowIndex} is greater than
       *     or equal to the number of allowed row keys, or {@code columnIndex} is greater than or equal
       *     to the number of allowed column keys
       */
      public @Nullable V at(int rowIndex, int columnIndex) {
        // In GWT array access never throws IndexOutOfBoundsException.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Nov 17 22:50:48 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/FileUtilTest.java

        public void testIsPathSafe_SafePath() throws Exception {
            final Path baseDir = tempFolder.getRoot().toPath();
            final Path safePath = baseDir.resolve("subdir/file.txt");
    
            assertTrue("Safe path should be allowed", FileUtil.isPathSafe(safePath, baseDir));
        }
    
        /**
         * Test isPathSafe with path traversal attempt
         *
         * @throws Exception
         */
        @Test
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  9. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java

            assertTrue(robotsTxt.allows("/path", "MyBot"));
            assertTrue(robotsTxt.allows("/admin", "GoogleBot"));
        }
    
        public void test_allowsWithAllowedPath() {
            // Test allows method with allowed path
            RobotsTxt robotsTxt = new RobotsTxt();
    
            Directive directive = new Directive("MyBot");
            directive.addAllow("/public/");
            robotsTxt.addDirective(directive);
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/ThreadFactoryBuilderTest.java

        assertEquals(2, factory2.newThread(monitoredRunnable).getPriority());
      }
    
      public void testBuildTwice() {
        ThreadFactory unused;
        unused = builder.build(); // this is allowed
        unused = builder.build(); // this is *also* allowed
      }
    
      public void testBuildMutate() {
        ThreadFactory factory1 = builder.setPriority(1).build();
        assertEquals(1, factory1.newThread(monitoredRunnable).getPriority());
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 7.6K bytes
    - Viewed (0)
Back to top