- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 20 for _ordinal (0.07 seconds)
-
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(); /*Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 10 22:28:12 GMT 2026 - 27.6K bytes - Click Count (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());Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Thu Nov 20 13:34:13 GMT 2025 - 16.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/UriTypeTest.java
} // Test ProtocolType ordinal @Test 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 @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 21.3K bytes - Click Count (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 =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (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 =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 16.3K bytes - Click Count (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. */
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jul 18 17:30:19 GMT 2025 - 11.4K bytes - Click Count (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++) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 36K bytes - Click Count (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();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 05:11:12 GMT 2025 - 10.2K bytes - Click Count (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 {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 16.5K bytes - Click Count (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)Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 10.1K bytes - Click Count (0)