- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 319 for middle (0.16 sec)
-
android/guava/src/com/google/common/collect/SortedLists.java
while (lower <= upper) { int middle = (lower + upper) >>> 1; int c = comparator.compare(key, list.get(middle)); if (c < 0) { upper = middle - 1; } else if (c > 0) { lower = middle + 1; } else { return lower + presentBehavior.resultIndex( comparator, key, list.subList(lower, upper + 1), middle - lower); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeTest.java
ExtendedSmbTree middle = smbTree.unwrap(ExtendedSmbTree.class); CustomSmbTree inner = middle.unwrap(CustomSmbTree.class); assertNotNull(middle, "Middle tree should not be null"); assertNotNull(inner, "Inner tree should not be null"); assertSame(middleTree, middle, "Should return correct middle tree");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/util/StringUtilTest.java
void testJoinWithEmptyStringElements() { String result = StringUtil.join(",", "", "middle", ""); // First element is empty string (sb becomes "") // Second: sb.length() is 0, no delimiter, append "middle" (sb becomes "middle") // Third: sb.length() > 0, add delimiter + "" (sb becomes "middle,") assertEquals("middle,", result); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExceptionTest.java
// Test constructor with nested exception causes Exception rootCause = new IllegalStateException("Root cause"); Exception middleCause = new RuntimeException("Middle cause", rootCause); String message = "Top level dictionary error"; DictionaryException exception = new DictionaryException(message, middleCause); assertNotNull(exception);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java
Throwable middleCause = new IllegalStateException("Middle cause", rootCause); ScheduledJobException exception = new ScheduledJobException("Top level error", middleCause); assertEquals("Top level error", exception.getMessage()); assertEquals(middleCause, exception.getCause()); assertEquals("Middle cause", exception.getCause().getMessage());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java
void testToStringWithNestedExceptions() { Exception innermost = new IOException("Innermost exception"); Exception middle = new RuntimeException("Middle exception", innermost); Exception rootCause = new IllegalStateException("Outer exception", middle); TransportException exception = new TransportException("Transport failed", rootCause); String result = exception.toString();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java
private M multimap; protected M multimap() { return multimap; } /** * @return an array of the proper size with {@code null} as the key of the middle element. */ protected Entry<K, V>[] createArrayWithNullKey() { Entry<K, V>[] array = createSamplesArray(); int nullKeyLocation = getNullLocation(); Entry<K, V> oldEntry = array[nullKeyLocation];
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/PeekingIteratorTest.java
assertEquals("Should be able to peek() at middle element", "B", peekingIterator.peek()); assertEquals( "Should be able to peek() middle element multiple times", "B", peekingIterator.peek()); assertEquals( "next() should still return middle element after peeking", "B", peekingIterator.next());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.6K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
Arguments.of(makeSeq(8), 0, 8, 0), // full copy at index 0 Arguments.of(makeSeq(10), 2, 5, 3), // middle slice, non-zero dst index Arguments.of(makeSeq(4), 4, 0, 0), // zero-length slice at end Arguments.of(makeSeq(16), 7, 3, 0), // small slice from middle Arguments.of(makeSeq(16), 0, 0, 5) // zero-length with non-zero dst index ); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcExceptionTest.java
} /** * Test getMessageByDcerpcError() with a known error code (middle element). */ @Test void testGetMessageByDcerpcError_middleElement() { String message = DcerpcException.getMessageByDcerpcError(DcerpcError.DCERPC_FAULT_INVALID_TAG); assertEquals("DCERPC_FAULT_INVALID_TAG", message, "Should return correct message for middle element."); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.8K bytes - Viewed (0)