- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 1,189 for cases (0.1 sec)
-
android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java
} /** * This test is for a case where two Service.Listener callbacks for the same service would call * transitionService in the wrong order due to a race. Due to the fact that it is a race this test * isn't guaranteed to expose the issue, but it is at least likely to become flaky if the race * sneaks back in, and in this case flaky means something is definitely wrong. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 17:49:12 UTC 2025 - 25.5K bytes - Viewed (0) -
src/test/java/jcifs/ACETest.java
assertFalse((writeOnly & ACE.FILE_READ_DATA) != 0, "Write should not include FILE_READ_DATA"); } } @Nested @DisplayName("Boundary Conditions and Edge Cases") class BoundaryConditionsTests { @Test @DisplayName("Should handle signed/unsigned integer boundaries") void shouldHandleSignedUnsignedBoundaries() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/QueryHelper.java
defaultSortBuilders = list.toArray(new SortBuilder[list.size()]); } /** * Creates a sort builder for the specified field and order. * This method handles special cases for score fields and regular field sorting. * * @param field the field name to sort by * @param order the sort order (ASC or DESC) * @return a configured sort builder */
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 19.9K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Optional.java
* } * } * * ... can be replaced with: * * {@snippet : * possibleFoo.ifPresent(foo -> doSomethingWith(foo)); * } * * <p><b>Java 9 users:</b> some use cases can be written with calls to {@code optional.stream()}. * * @since 11.0 */ public abstract Set<T> asSet(); /**Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 15.4K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Verify.java
* * {@snippet : * Bill bill = remoteService.getLastUnpaidBill(); * * // In case bug 12345 happens again we'd rather just die * Verify.verify(bill.status() == Status.UNPAID, * "Unexpected bill status: %s", bill.status()); * } * * <h3>Comparison to alternatives</h3> * * <p><b>Note:</b> In some cases the differences explained below can be subtle. When it's unclearRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 18.3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/AbstractService.java
monitor.enter(); try { State previous = state(); switch (previous) { case NEW: case TERMINATED: case FAILED: throw new IllegalStateException("Cannot notifyStopped() when the service is " + previous); case RUNNING: case STARTING: case STOPPING: snapshot = new StateSnapshot(TERMINATED); enqueueTerminatedEvent(previous);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 20.3K bytes - Viewed (0) -
cmd/xl-storage-format_test.go
} compareXLMetaV1(t, unMarshalXLMeta, jsoniterXLMeta) } // Test the predicted part size from the part index func TestGetPartSizeFromIdx(t *testing.T) { // Create test cases testCases := []struct { totalSize int64 partSize int64 partIndex int expectedSize int64 }{ // Total size is zero {0, 10, 1, 0}, // part size 2MiB, total size 4MiB
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/TreeConnectResponseTest.java
assertTrue(str.contains("nativeFileSystem=NTFS"), "Should contain file system"); } } /** * Tests for edge cases and error conditions */ @Nested @DisplayName("Edge Case Tests") class EdgeCaseTests { @Test @DisplayName("Should handle null configuration gracefully") void testNullConfiguration() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/dfs/ReferralTest.java
assertTrue(result.contains("path=null")); assertTrue(result.contains("altPath=null")); assertTrue(result.contains("node=NODE")); } // Edge Cases and Boundary Tests @Test public void testMaximumValues() { ByteBuffer bb = ByteBuffer.wrap(testBuffer).order(ByteOrder.LITTLE_ENDIAN); bb.putShort((short) 3);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java
fileAttributesField.setAccessible(true); assertEquals(0x01, fileAttributesField.get(response)); } } @Nested @DisplayName("Edge Cases and Boundary Tests") class EdgeCasesTests { @Test @DisplayName("Should handle negative time values") void testNegativeTimeValues() throws SMBProtocolDecodingException {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 26.9K bytes - Viewed (0)