- Sort Score
- Num 10 results
- Language All
Results 3741 - 3750 of 4,689 for nulls (0.03 seconds)
-
guava-tests/test/com/google/common/collect/AbstractRangeSetTest.java
assertFalse(range.isEmpty()); } // test that the RangeSet's span is the span of all the ranges Iterator<Range<C>> itr = rangeSet.asRanges().iterator(); Range<C> expectedSpan = null; if (itr.hasNext()) { expectedSpan = itr.next(); while (itr.hasNext()) { expectedSpan = expectedSpan.span(itr.next()); } } try { Range<C> span = rangeSet.span();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 2.7K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComDeleteTest.java
// Test the writing of bytes to a byte array byte[] dst = new byte[100]; int bytesWritten = smbComDelete.writeBytesWireFormat(dst, 0); // Expected format: buffer format (1 byte) + file name (null-terminated) int expectedLength = 1 + TEST_FILE_NAME.length() + 1; assertEquals(expectedLength, bytesWritten); assertEquals(0x04, dst[0]); // Buffer formatCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.4K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/ClasspathArtifactResolver.java
throw new IllegalStateException("Missing test POM for " + artifact, e); } } else { result.addException(new ArtifactNotFoundException(artifact, (RemoteRepository) null)); throw new ArtifactResolutionException(results); } } return results; } @Override
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.1K bytes - Click Count (0) -
benchmarks/src/main/java/org/elasticsearch/benchmark/fs/AvailableIndexFoldersBenchmark.java
.put(Environment.PATH_DATA_SETTING.getKey(), path.resolve("data")) .build(); nodeEnv = new NodeEnvironment(settings, new Environment(settings, null)); Files.createDirectories(nodePath.indicesPath); excludedDirs = new HashSet<>(); int numIndices = 5000; for (int i = 0; i < numIndices; i++) { String dirName = "dir" + i;
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Apr 27 15:29:12 GMT 2021 - 3K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapClearTester.java
public void testClearPropagatesToAsMapGet() { for (K key : sampleKeys()) { resetContainer(); Collection<V> collection = multimap().asMap().get(key); if (collection != null) { multimap().clear(); assertEmpty(collection); } } } @MapFeature.Require(SUPPORTS_REMOVE) public void testClearPropagatesToAsMap() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 21:10:54 GMT 2025 - 4.3K bytes - Click Count (0) -
guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java
.that(annotationClass.getAnnotation(Inherited.class)) .isNotNull(); for (String propertyName : new String[] {"value", "absent"}) { Method method = null; try { method = annotationClass.getMethod(propertyName); } catch (NoSuchMethodException e) { throw new AssertionError("Annotation is missing required method", e); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 12 00:25:21 GMT 2025 - 4.5K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/factory/ParameterizedClassDescFactoryTest.java
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 4.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
return try { val response = call.execute() val bodyString = response.body.string() RecordedResponse(request, response, null, bodyString, null) } catch (e: IOException) { RecordedResponse(request, null, null, null, e) } } /** * Tests that use this will fail unless boot classpath is set. Ex. `-Xbootclasspath/p:/tmp/alpn-boot-8.0.0.v20140317` */Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Mar 15 09:02:18 GMT 2026 - 146.5K bytes - Click Count (0) -
src/main/java/org/codelibs/curl/CurlException.java
* @param cause the cause (which is saved for later retrieval by the {@link #getCause()} method). * (A {@code null} value is permitted, and indicates that the cause is nonexistent or unknown.) */ public CurlException(final String message, final Throwable cause) { super(message, cause); } /**
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Jul 05 01:38:18 GMT 2025 - 2K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListHashCodeTester.java
public class ListHashCodeTester<E> extends AbstractListTester<E> { public void testHashCode() { int expectedHashCode = 1; for (E element : getOrderedElements()) { expectedHashCode = 31 * expectedHashCode + ((element == null) ? 0 : element.hashCode()); } assertEquals( "A List's hashCode() should be computed from those of its elements.", expectedHashCode, getList().hashCode()); } /**
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 2K bytes - Click Count (0)