- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for InRange (0.08 sec)
-
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
doTestSetBits(noneOf("CharMatcher")); doTestSetBits(inRange('n', 'q')); doTestSetBits(forPredicate(Predicates.equalTo('c'))); doTestSetBits(CharMatcher.ascii()); doTestSetBits(CharMatcher.digit()); doTestSetBits(CharMatcher.invisible()); doTestSetBits(CharMatcher.whitespace()); doTestSetBits(inRange('A', 'Z').and(inRange('F', 'K').negate())); } @GwtIncompatible // java.util.BitSet
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 18:32:41 UTC 2024 - 30.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/base/CharMatcherTest.java
doTestSetBits(noneOf("CharMatcher")); doTestSetBits(inRange('n', 'q')); doTestSetBits(forPredicate(Predicates.equalTo('c'))); doTestSetBits(CharMatcher.ascii()); doTestSetBits(CharMatcher.digit()); doTestSetBits(CharMatcher.invisible()); doTestSetBits(CharMatcher.whitespace()); doTestSetBits(inRange('A', 'Z').and(inRange('F', 'K').negate())); } @GwtIncompatible // java.util.BitSet
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Feb 21 18:32:41 UTC 2024 - 30.1K bytes - Viewed (0) -
guava/src/com/google/common/base/CharMatcher.java
* are inclusive). For example, to match any lowercase letter of the English alphabet, use {@code * CharMatcher.inRange('a', 'z')}. * * @throws IllegalArgumentException if {@code endInclusive < startInclusive} */ public static CharMatcher inRange(final char startInclusive, final char endInclusive) { return new InRange(startInclusive, endInclusive); } /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 53.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/CaseFormat.java
LOWER_CAMEL(CharMatcher.inRange('A', 'Z'), "") { @Override String normalizeWord(String word) { return firstCharOnlyToUpper(word); } @Override String normalizeFirstWord(String word) { return Ascii.toLowerCase(word); } }, /** Java and C++ class naming convention, e.g., "UpperCamel". */ UPPER_CAMEL(CharMatcher.inRange('A', 'Z'), "") { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 19 20:20:14 UTC 2022 - 6.3K bytes - Viewed (0) -
guava/src/com/google/common/base/CaseFormat.java
LOWER_CAMEL(CharMatcher.inRange('A', 'Z'), "") { @Override String normalizeWord(String word) { return firstCharOnlyToUpper(word); } @Override String normalizeFirstWord(String word) { return Ascii.toLowerCase(word); } }, /** Java and C++ class naming convention, e.g., "UpperCamel". */ UPPER_CAMEL(CharMatcher.inRange('A', 'Z'), "") { @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Dec 19 20:20:14 UTC 2022 - 6.3K bytes - Viewed (0) -
cmd/batch-job-common-types_test.go
sizeFilter: BatchJobSizeFilter{ LowerBound: 1 << 20, }, want: true, }, } for i, test := range tests { t.Run(fmt.Sprintf("test-%d", i+1), func(t *testing.T) { if got := test.sizeFilter.InRange(test.objSize); got != test.want { t.Fatalf("Expected %v but got %v", test.want, got) } }) } } func TestBatchJobSizeValidate(t *testing.T) { errInvalidBatchJobSizeFilter := BatchJobYamlErr{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jan 08 23:22:28 UTC 2024 - 3.3K bytes - Viewed (0) -
cmd/batch-job-common-types.go
sf.line, sf.col = val.Line, val.Column return nil } // InRange returns true in the following cases and false otherwise, // - sf.LowerBound < sz, when sf.LowerBound alone is specified // - sz < sf.UpperBound, when sf.UpperBound alone is specified // - sf.LowerBound < sz < sf.UpperBound when both are specified, func (sf BatchJobSizeFilter) InRange(sz int64) bool { if sf.UpperBound > 0 && sz > int64(sf.UpperBound) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jun 11 03:13:30 UTC 2024 - 7.9K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InternetDomainName.java
} private static final CharMatcher DASH_MATCHER = CharMatcher.anyOf("-_"); private static final CharMatcher DIGIT_MATCHER = CharMatcher.inRange('0', '9'); private static final CharMatcher LETTER_MATCHER = CharMatcher.inRange('a', 'z').or(CharMatcher.inRange('A', 'Z')); private static final CharMatcher PART_CHAR_MATCHER = DIGIT_MATCHER.or(LETTER_MATCHER).or(DASH_MATCHER); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 05 20:47:23 UTC 2024 - 28K bytes - Viewed (0) -
guava/src/com/google/common/net/InternetDomainName.java
} private static final CharMatcher DASH_MATCHER = CharMatcher.anyOf("-_"); private static final CharMatcher DIGIT_MATCHER = CharMatcher.inRange('0', '9'); private static final CharMatcher LETTER_MATCHER = CharMatcher.inRange('a', 'z').or(CharMatcher.inRange('A', 'Z')); private static final CharMatcher PART_CHAR_MATCHER = DIGIT_MATCHER.or(LETTER_MATCHER).or(DASH_MATCHER); /**
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Feb 05 20:47:23 UTC 2024 - 28K bytes - Viewed (0) -
cmd/batch-expire.go
if kv.Match(BatchJobKV{Key: k, Value: v}) { match = true } } if !match { return false } } } return ef.Size.InRange(obj.Size) } const ( // BatchJobExpireObject - object type BatchJobExpireObject string = "object" // BatchJobExpireDeleted - delete marker type BatchJobExpireDeleted string = "deleted" )
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Sep 18 17:59:03 UTC 2024 - 21.9K bytes - Viewed (0)