- Sort Score
- Num 10 results
- Language All
Results 591 - 600 of 2,280 for Length (0.05 seconds)
-
guava/src/com/google/common/collect/ImmutableRangeSet.java
toIndex = ranges.size(); } int length = toIndex - fromIndex; if (length == 0) { return ImmutableList.of(); } else { return new ImmutableList<Range<C>>() { @Override public int size() { return length; } @Override public Range<C> get(int index) { checkElementIndex(index, length);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 16:45:58 GMT 2026 - 27.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java
assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Verify cause's stack trace is also preserved assertNotNull(exception.getCause().getStackTrace()); assertTrue(exception.getCause().getStackTrace().length > 0); } @Test public void test_multiLevelCause() { // Test with nested exceptionsCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 7.5K bytes - Click Count (0) -
mockwebserver/src/test/java/mockwebserver3/MockWebServerTest.kt
assertThat(headersToList(builder)).containsExactly("Content-Length: 0") } } @Test fun setStatusControlsWholeStatusLine() { val builder = MockResponse.Builder().status("HTTP/1.1 202 That'll do pig") assertThat(headersToList(builder)).containsExactly("Content-Length: 0") assertThat(builder.status).isEqualTo("HTTP/1.1 202 That'll do pig") } @Test
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Aug 03 22:38:00 GMT 2025 - 28K bytes - Click Count (0) -
src/bytes/buffer.go
var ErrTooLarge = errors.New("bytes.Buffer: too large") var errNegativeRead = errors.New("bytes.Buffer: reader returned negative count from Read") const maxInt = int(^uint(0) >> 1) // Bytes returns a slice of length b.Len() holding the unread portion of the buffer. // The slice is valid for use only until the next buffer modification (that is,
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Fri Nov 14 19:01:17 GMT 2025 - 16.5K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java
@Override public SampleElements<Integer> samples() { return new SampleElements<>(1, 4, 3, 2, 5); } @Override public Integer[] createArray(int length) { return new Integer[length]; } @Override public Iterable<Integer> order(List<Integer> insertionOrder) { return Ordering.natural().sortedCopy(insertionOrder); } @OverrideCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 25 16:19:30 GMT 2025 - 21.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/JobNotFoundExceptionTest.java
JobNotFoundException exception = new JobNotFoundException("Stack trace test"); assertNotNull(exception.getStackTrace()); assertTrue(exception.getStackTrace().length > 0); // Verify the stack trace contains this test method boolean foundTestMethod = false; for (StackTraceElement element : exception.getStackTrace()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 9.2K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt
if (cookies.isEmpty()) return saveFromResponse(url, cookies) } /** * Returns true if the response headers and status indicate that this response has a (possibly * 0-length) body. See RFC 7231. */ fun Response.promisesBody(): Boolean { // HEAD requests never yield a body regardless of the response headers. if (request.method == "HEAD") { return false }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 7.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java
private static boolean isLongTimeUnitBased(Method method) { Class<?>[] parameterTypes = method.getParameterTypes(); return parameterTypes.length >= 2 && parameterTypes[parameterTypes.length - 2] == long.class && parameterTypes[parameterTypes.length - 1] == TimeUnit.class; } /** Determines whether the given method takes a Duration as its last parameter. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.7K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
int decodedSize = decoded.decode(buffer, 0, encodedSize); assertEquals(encodedSize, decodedSize); assertEquals(0, decoded.getHashAlgos().length); assertEquals(0, decoded.getSalt().length); } @Test @DisplayName("Should calculate size correctly") void testSizeCalculation() { // Test with various combinations
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.8K bytes - Click Count (0) -
src/main/java/jcifs/smb1/http/NetworkExplorer.java
n = url.lastIndexOf('.'); if (n > 0 && (type = url.substring(n + 1)) != null && type.length() > 1 && type.length() < 6) { resp.setContentType(mimeMap.getMimeType(type)); } resp.setHeader("Content-Length", file.length() + ""); resp.setHeader("Accept-Ranges", "Bytes"); while ((n = in.read(buf)) != -1) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 22.6K bytes - Click Count (0)