- Sort Score
- Result 10 results
- Languages All
Results 4251 - 4260 of 4,617 for New (0.01 sec)
-
android/guava-testlib/src/com/google/common/testing/SerializableTester.java
* or if the hashcodes are different. */ @CanIgnoreReturnValue public static <T> T reserializeAndAssert(T object) { T copy = reserialize(object); new EqualsTester().addEqualityGroup(object, copy).testEquals(); Assert.assertEquals(object.getClass(), copy.getClass()); return copy; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 4.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/IteratorTester.java
* Arrays.asList("a", "b", "c", "d", "e"); * List<String> actualElements = * Collections.unmodifiableList( * Arrays.asList("a", "b", "c", "d", "e")); * IteratorTester<String> iteratorTester = * new IteratorTester<String>( * 6, * IteratorFeature.UNMODIFIABLE, * expectedElements, * IteratorTester.KnownOrder.KNOWN_ORDER) { * @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 4.3K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/services/SourcesTest.java
Files.writeString(testFile, content); Source source = Sources.fromPath(testFile); try (InputStream inputStream = source.openStream()) { String readContent = new String(inputStream.readAllBytes()); assertEquals(content, readContent); } } @Test void testNullHandling() {
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 5.2K bytes - Viewed (0) -
cmd/dynamic-timeouts.go
} func newDynamicTimeoutWithOpts(opts dynamicTimeoutOpts) *dynamicTimeout { dt := newDynamicTimeout(opts.timeout, opts.minimum) dt.retryInterval = opts.retryInterval return dt } // newDynamicTimeout returns a new dynamic timeout initialized with timeout value func newDynamicTimeout(timeout, minimum time.Duration) *dynamicTimeout { if timeout <= 0 || minimum <= 0 { panic("newDynamicTimeout: negative or zero timeout") }
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 4.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SessionReuseTest.kt
assertEquals(0, client.connectionPool.connectionCount()) // Force reuse. This appears flaky (30% of the time) even though sessions are reused. // javax.net.ssl.SSLHandshakeException: No new session is allowed and no existing // session can be resumed // // Report https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8264944
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 6K bytes - Viewed (1) -
android/guava/src/com/google/common/base/Supplier.java
* * @author Harry Heymann * @since 2.0 */ @GwtCompatible public interface Supplier<T extends @Nullable Object> { /** * Retrieves an instance of the appropriate type. The returned object may or may not be a new * instance, depending on the implementation. * * @return an instance of the appropriate type */ @ParametricNullness T get(); /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Jun 19 17:20:48 UTC 2025 - 3K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/CollectionFuture.java
@Override final void collectOneValue(int index, @ParametricNullness V returnValue) { @RetainedLocalRef List<@Nullable Present<V>> localValues = values; if (localValues != null) { localValues.set(index, new Present<>(returnValue)); } } @Override final void handleAllCompleted() { @RetainedLocalRef List<@Nullable Present<V>> localValues = values; if (localValues != null) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.9K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/service/impl/UrlFilterServiceImpl.java
* {@link MemoryDataHelper} to store and manage the URL patterns in memory. * */ public class UrlFilterServiceImpl implements UrlFilterService { /** * Creates a new UrlFilterServiceImpl instance. */ public UrlFilterServiceImpl() { // NOP } /** * The memory data helper. */ @Resource protected MemoryDataHelper dataHelper;Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 4.2K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
public void testListIterator_fullyModifiable() { runListIteratorTest(MODIFIABLE); } private void runListIteratorTest(Set<IteratorFeature> features) { new ListIteratorTester<E>( listListIteratorTesterNumIterations(), singleton(e4()), features, copyToList(getOrderedElements()), 0) { @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/create/Smb2CloseRequest.java
* jcifs.internal.smb2.ServerMessageBlock2Request) */ @Override protected Smb2CloseResponse createResponse(final CIFSContext tc, final ServerMessageBlock2Request<Smb2CloseResponse> req) { return new Smb2CloseResponse(tc.getConfig(), this.fileId, this.fileName); } /** * Set the close flags * * @param flags * the flags to set */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.6K bytes - Viewed (0)