- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 21 for Ordinal (0.06 sec)
-
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: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
} // Test ProtocolType ordinal public void test_protocolTypeOrdinal() { assertEquals("WEB.ordinal() should be 0", 0, ProtocolType.WEB.ordinal()); assertEquals("FILE.ordinal() should be 1", 1, ProtocolType.FILE.ordinal()); } // Test protocolType is required public void test_protocolTypeIsRequired() { try {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 21K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java
default boolean hasProblemsFor(BuilderProblem.Severity severity) { requireNonNull(severity, "severity"); for (BuilderProblem.Severity s : BuilderProblem.Severity.values()) { if (s.ordinal() <= severity.ordinal() && problemsReportedFor(s) > 0) { return true; } } return false; } /** * Returns total count of problems reported. */
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jul 18 17:30:19 UTC 2025 - 11.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
} public void testDifferentOrderings_noViolations() { lock3.lock(); // MyOrder, ordinal() == 3 lock01.lock(); // OtherOrder, ordinal() == 1 } public void testExplicitOrderings_generalCycleDetection() { lock3.lock(); // MyOrder, ordinal() == 3 lock01.lock(); // OtherOrder, ordinal() == 1 lock3.unlock(); PotentialDeadlockException expected =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java
} public void testDifferentOrderings_noViolations() { lock3.lock(); // MyOrder, ordinal() == 3 lock01.lock(); // OtherOrder, ordinal() == 1 } public void testExplicitOrderings_generalCycleDetection() { lock3.lock(); // MyOrder, ordinal() == 3 lock01.lock(); // OtherOrder, ordinal() == 1 lock3.unlock(); PotentialDeadlockException expected =
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 16.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java
// IbvSendWR sendWR = new IbvSendWR(); // sendWR.setWr_id(System.nanoTime()); // sendWR.setOpcode(IbvSendWR.IbvWrOpcode.IBV_WR_SEND.ordinal()); // sendWR.setSend_flags(IbvSendWR.IBV_SEND_SIGNALED); // // LinkedList<IbvSge> sgeList = new LinkedList<>(); // IbvSge sge = new IbvSge();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 10.2K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 26.9K bytes - Viewed (0) -
cmd/background-newdisks-heal-ops.go
lkctx, err := locker.GetLock(ctx, newDiskHealingTimeout) if err != nil { return fmt.Errorf("Healing of drive '%v' on %s pool, belonging to %s erasure set already in progress: %w", disk, humanize.Ordinal(poolIdx+1), humanize.Ordinal(setIdx+1), err) } ctx = lkctx.Context() defer locker.Unlock(lkctx) // Load healing tracker in this disk tracker, err := loadHealingTracker(ctx, disk) if err != nil {
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeaseContextTest.java
// Verify lease state assertEquals(leaseState, SMBUtil.readInt4(buffer, 40)); // Verify directory-specific data assertEquals(DirectoryCacheScope.RECURSIVE_TREE.ordinal(), SMBUtil.readInt4(buffer, 56)); // CacheScope assertEquals(45000L, SMBUtil.readInt8(buffer, 60)); // MaxCacheAge // Verify flags (RECURSIVE_TREE + NOTIFICATIONS)
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 10.1K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java
nodes.add(node); map.put(key, node); } // Pre-populate all allowedPriorLocks with nodes of smaller ordinal. for (int i = 1; i < numKeys; i++) { nodes.get(i).checkAcquiredLocks(Policies.THROW, nodes.subList(0, i)); } // Pre-populate all disallowedPriorLocks with nodes of larger ordinal. for (int i = 0; i < numKeys - 1; i++) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 18 15:05:43 UTC 2025 - 35.9K bytes - Viewed (0)