Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 275 for codes (0.02 sec)

  1. guava/src/com/google/common/hash/Hashing.java

      }
    
      /**
       * Assigns to {@code hashCode} a "bucket" in the range {@code [0, buckets)}, in a uniform manner
       * that minimizes the need for remapping as {@code buckets} grows. That is, {@code
       * consistentHash(h, n)} equals:
       *
       * <ul>
       *   <li>{@code n - 1}, with approximate probability {@code 1/n}
       *   <li>{@code consistentHash(h, n - 1)}, otherwise (probability {@code 1 - 1/n})
       * </ul>
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:06:57 UTC 2025
    - 31.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       ImmutableSet.of("AZ", "CQ", "ZX");
     *
     *   private final ImmutableSet<String> codes;
     *
     *   public Foo(Iterable<String> codes) {
     *     this.codes = ImmutableSet.copyOf(codes);
     *     checkArgument(Collections.disjoint(this.codes, RESERVED_CODES));
     *   }
     * }
     * }
     *
     * <h3>See also</h3>
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableCollection.java

     *       ImmutableSet.of("AZ", "CQ", "ZX");
     *
     *   private final ImmutableSet<String> codes;
     *
     *   public Foo(Iterable<String> codes) {
     *     this.codes = ImmutableSet.copyOf(codes);
     *     checkArgument(Collections.disjoint(this.codes, RESERVED_CODES));
     *   }
     * }
     * }
     *
     * <h3>See also</h3>
     *
     * <p>See the Guava User Guide article on <a href=
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/WebApiExceptionTest.java

            assertNull(exception.getMessage());
            assertEquals(cause, exception.getCause());
        }
    
        public void test_statusCode_variousHttpCodes() {
            // Test with various HTTP status codes
            int[] statusCodes = { 200, 201, 400, 401, 403, 404, 500, 502, 503 };
    
            for (int statusCode : statusCodes) {
                WebApiException exception = new WebApiException(statusCode, "Test message");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/sso/SsoResponseTypeTest.java

            int logoutHashCode = SsoResponseType.LOGOUT.hashCode();
    
            // Hash code should be consistent for the same object
            assertEquals(metadataHashCode, SsoResponseType.METADATA.hashCode());
            assertEquals(logoutHashCode, SsoResponseType.LOGOUT.hashCode());
    
            // Different enum constants should have different hash codes (usually)
            assertNotSame(metadataHashCode, logoutHashCode);
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/exception/InvalidQueryExceptionTest.java

            // Verify different message codes
            assertEquals(unknownErrorCode, unknownException.getMessageCode());
            assertEquals(parseErrorCode, parseException.getMessageCode());
            assertNotSame(unknownException.getMessageCode(), parseException.getMessageCode());
        }
    
        public void test_complexMessageCode() {
            // Setup - test with a complex message code that includes parameters
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java

            int[] codes = (int[]) propMap.get(CRAWLER_FAILURE_URL_STATUS_CODES);
            if (codes == null) {
                codes = split(getCrawlerFailureUrlStatusCodes(), ",")
                        .get(stream -> stream.filter(StringUtil::isNotBlank).mapToInt(Integer::parseInt).toArray());
                propMap.put(CRAWLER_FAILURE_URL_STATUS_CODES, codes);
            }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 86.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/web/base/SearchForm.java

        @Size(max = 1000)
        public String sort;
    
        /**
         * The number of search results to return per page.
         */
        @ValidateTypeFailure
        public Integer num;
    
        /**
         * Array of language codes to filter search results.
         */
        public String[] lang;
    
        /**
         * Array of additional query strings to exclude from search.
         */
        public String[] ex_q;
    
        /**
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  9. src/test/java/org/codelibs/fess/mylasta/direction/sponsor/FessApiFailureHookTest.java

            }
            super.tearDown();
        }
    
        // Test basic initialization
        public void test_hookInitialization() {
            assertNotNull(apiFailureHook);
        }
    
        // Test API result status codes
        public void test_apiResultStatusCodes() {
            // Test OK status
            ApiResult okResult = new ApiResult.ApiResponse().status(Status.OK).result();
            assertNotNull(okResult);
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

            return fessConfig.isCrawlerDocumentDuplicateTermRemoved();
        }
    
        /**
         * Gets the array of space character codes from configuration.
         *
         * @return array of character codes to be treated as spaces
         */
        protected int[] getSpaceChars() {
            final FessConfig fessConfig = ComponentUtil.getFessConfig();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 17.2K bytes
    - Viewed (0)
Back to top