- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 102 for MIN (0.04 sec)
-
android/guava-tests/test/com/google/common/collect/SetViewTest.java
/** * Returns a {@link SetView} with a {@link SetView#minSize()} of {@code min} and a {@link * SetView#maxSize()} of {@code max}. */ private static SetView<Integer> setSizeRange(int min, int max) { checkArgument(min >= 0 && max >= min); SetView<Integer> set = difference(setSize(max), setSize(max - min)); checkState(set.minSize() == min && set.maxSize() == max); return set; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 29.9K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Chars.java
* @throws IllegalArgumentException if {@code min > max} * @since 21.0 */ public static char constrainToRange(char value, char min, char max) { checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max); return value < min ? min : value < max ? value : max; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* @throws IllegalArgumentException if {@code min > max} * @since 21.0 */ public static short constrainToRange(short value, short min, short max) { checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max); return value < min ? min : value < max ? value : max; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* @throws IllegalArgumentException if {@code min > max} * @since 21.0 */ public static short constrainToRange(short value, short min, short max) { checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max); return value < min ? min : value < max ? value : max; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java
* Set to -1 to disable automatic cleanup. */ @Required @Min(-1) @Max(1000) @ValidateTypeFailure public Integer dayForCleanup; /** * Number of threads to use for crawling operations. * Higher values increase crawling speed but consume more resources. */ @Required @Min(0) @Max(100) @ValidateTypeFailure public Integer crawlingThreadCount;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 9.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/admin/fileconfig/CreateForm.java
public String configParameter; /** The maximum crawling depth (0 to 2147483647, 0 means unlimited). */ @Min(value = 0) @Max(value = 2147483647) @ValidateTypeFailure public Integer depth; /** The maximum number of documents to access during crawling (0 means unlimited). */ @Min(value = 0) @Max(value = 9223372036854775807L) @ValidateTypeFailure public Long maxAccessCount;
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Ints.java
public static int constrainToRange(int value, int min, int max) { checkArgument(min <= max, "min (%s) must be less than or equal to max (%s)", min, max); return Math.min(Math.max(value, min), max); } /** * Returns the values from each provided array combined into a single array. For example, {@code * concat(new int[] {a, b}, new int[] {}, new int[] {c}} returns the array {@code {a, b, c}}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 31.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/CustomSizeValidator.java
hibernateContext.addMessageParameter("min", min) .addMessageParameter("max", max) .buildConstraintViolationWithTemplate(message) .addConstraintViolation(); final int length = value.length(); return length >= min && length <= max; } private void validateParameters() { if (min < 0) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/action/FessMessagesTest.java
// Test constraint message methods with multiple parameters public void test_addConstraintsSizeMessage() { String property = "testProperty"; String min = "1"; String max = "10"; FessMessages result = messages.addConstraintsSizeMessage(property, min, max); assertNotNull(result); assertSame(messages, result); assertTrue(messages.hasMessageOf(property)); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 28.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/query/TermRangeQueryCommand.java
final RangeQueryBuilder rangeQuery = QueryBuilders.rangeQuery(field); final BytesRef min = termRangeQuery.getLowerTerm(); if (min != null) { if (termRangeQuery.includesLower()) { rangeQuery.gte(min.utf8ToString()); } else { rangeQuery.gt(min.utf8ToString()); } } final BytesRef max = termRangeQuery.getUpperTerm();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.9K bytes - Viewed (0)