- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 83 for ordinary (0.09 sec)
-
android/guava/src/com/google/common/hash/BloomFilter.java
int dataLength = -1; try { DataInputStream din = new DataInputStream(in); // currently this assumes there is no negative ordinal; will have to be updated if we // add non-stateless strategies (for which we've reserved negative ordinals; see // Strategy.ordinal()). strategyOrdinal = din.readByte(); numHashFunctions = toUnsignedInt(din.readByte()); dataLength = din.readInt(); /*Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 19:23:59 UTC 2025 - 26.9K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
currentStatus = CrawlerStatus.DONE; assertEquals(CrawlerStatus.DONE, currentStatus); // Verify ordinal progression assertTrue(CrawlerStatus.INITIALIZING.ordinal() < CrawlerStatus.RUNNING.ordinal()); assertTrue(CrawlerStatus.RUNNING.ordinal() < CrawlerStatus.DONE.ordinal()); } /** * Test usage in conditional statements */ public void test_conditionalStatements() {Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/RequestParamTest.java
// Ordinal is consistent with declaration order switch (name) { case "NONE": assertEquals(0, rp.ordinal()); break; case "NO_TIMEOUT": assertEquals(1, rp.ordinal()); break; case "NO_RETRY": assertEquals(2, rp.ordinal()); break; case "RETAIN_PAYLOAD":Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/ResolverTypeTest.java
} /** * Tests the ordinal values of the enum constants. */ @Test void testEnumOrdinals() { // Verify the ordinal values, which can be important if they are used in logic assertEquals(0, ResolverType.RESOLVER_WINS.ordinal()); assertEquals(1, ResolverType.RESOLVER_BCAST.ordinal()); assertEquals(2, ResolverType.RESOLVER_DNS.ordinal());Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 2.1K bytes - Viewed (0) -
src/main/java/jcifs/DialectVersion.java
return ordinal() >= v.ordinal(); } /** * Check if this dialect version is at most the specified version * * @param v the version to compare against * @return whether this version is a most the given one */ public boolean atMost(final DialectVersion v) { return ordinal() <= v.ordinal(); } /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/BuildScanUtils.kt
private fun Stage.getBuildScanCustomValues(): List<String> = StageName .values() .slice(this.stageName.ordinal until StageName.READY_FOR_RELEASE.ordinal + 1) .map { it.uuid } fun Stage.getBuildScanCustomValueParam(testCoverage: TestCoverage? = null): String { val customValues = if (testCoverage != null) {
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Jun 10 05:45:46 UTC 2025 - 1.8K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlTest.java
// ## Test that Method enum ordinal values are sequential ## // ## Act & Assert ## assertEquals(0, Method.GET.ordinal()); assertEquals(1, Method.POST.ordinal()); assertEquals(2, Method.PUT.ordinal()); assertEquals(3, Method.DELETE.ordinal()); assertEquals(4, Method.HEAD.ordinal()); assertEquals(5, Method.OPTIONS.ordinal());Registered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Thu Nov 20 13:34:13 UTC 2025 - 16.3K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/logging/SystemLogger.java
} @Override public void log(Level level, String message, Throwable error) { requireNonNull(level, "level"); requireNonNull(message, "message"); if (level.ordinal() >= threshold.ordinal()) { out.println("[" + level.name() + "] " + message); if (error != null) { error.printStackTrace(out); } } }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Sat Feb 08 16:25:25 UTC 2025 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/EnumMultiset.java
} Enum<?> e = (Enum<?>) element; return counts[e.ordinal()]; } // Modification Operations @CanIgnoreReturnValue @Override public int add(E element, int occurrences) { checkIsE(element); checkNonnegative(occurrences, "occurrences"); if (occurrences == 0) { return count(element); } int index = element.ordinal(); int oldCount = counts[index];Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 9.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
* the values are declared dictates the allowed order of lock acquisition. In other words, locks * corresponding to smaller values of {@link Enum#ordinal()} should only be acquired before locks * with larger ordinals. Example: * * {@snippet : * enum MyLockOrder { * FIRST, SECOND, THIRD; * } * * CycleDetectingLockFactory.WithExplicitOrdering<MyLockOrder> factory =Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Sep 11 17:06:34 UTC 2025 - 35.9K bytes - Viewed (0)