Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for swallowed (0.04 sec)

  1. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        DECODING_STREAM {
          @Override
          void assertFailsToDecode(
              BaseEncoding encoding, String cannotDecode, @Nullable String expectedMessage) {
            // Regression test for case where DecodingException was swallowed by default implementation
            // of
            // InputStream.read(byte[], int, int)
            // See https://github.com/google/guava/issues/3542
            Reader reader = new StringReader(cannotDecode);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/AuthenticationRateLimiterTest.java

            // Normal authentication should be allowed
            assertTrue(rateLimiter.checkAttempt("user1", "192.168.1.1"), "First attempt should be allowed");
    
            // Record success
            rateLimiter.recordSuccess("user1", "192.168.1.1");
    
            // Should still be allowed
            assertTrue(rateLimiter.checkAttempt("user1", "192.168.1.1"), "After success should be allowed");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/util/PathValidatorTest.java

                assertTrue(e.getMessage().contains("not allowed"));
            }
    
            // Should allow other paths
            String allowed = validator.validatePath("\\share\\allowed\\file.txt");
            assertEquals("\\share\\allowed\\file.txt", allowed);
        }
    
        @Test
        public void testWhitelist() throws Exception {
            validator.addToWhitelist("\\share\\allowed");
    
            // Should allow whitelisted path
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K 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. fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/ExtractorBuilder.java

        /** Cache file size threshold in bytes */
        private int cacheFileSize = 1_000_000;
    
        /** Name of the extractor to use */
        private String extractorName = "tikaExtractor";
    
        /** Maximum content length allowed */
        private long maxContentLength = -1;
    
        /**
         * Constructs a new ExtractorBuilder.
         *
         * @param crawlerContainer the crawler container
         * @param in the input stream to extract data from
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  6. 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)
  7. android/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: Wed Aug 13 19:39:21 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/PathValidator.java

                throw new SmbException("Path is not allowed");
            }
    
            // Check against whitelist if configured
            if (!whitelistedPaths.isEmpty() && !isWhitelisted(normalized)) {
                log.warn("Path is not whitelisted: {}", sanitizeForLog(normalized));
                throw new SmbException("Path is not in allowed list");
            }
    
            // Validate UNC paths
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  9. 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)
  10. src/test/java/jcifs/util/ServerResponseValidatorTest.java

            validator.validatePath("\\share\\folder\\file.txt");
            validator.validatePath("C:\\Windows\\System32");
            validator.validatePath(null); // Null should be allowed
            validator.validatePath(""); // Empty should be allowed
        }
    
        @Test
        public void testPathTooLong() throws Exception {
            String longPath = "\\share" + "\\folder".repeat(5000);
            assertThrows(SmbException.class, () -> {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top