- Sort Score
- Num 10 results
- Language All
Results 371 - 380 of 662 for ensures (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java
// Verify that SmbShareInfo properly implements FileEntry interface SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK); // Cast to FileEntry to ensure interface is properly implemented jcifs.smb.FileEntry fileEntry = info; // Verify all FileEntry methods work assertEquals(TEST_NET_NAME, fileEntry.getName());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt
peer.sendFrame().windowUpdate(3, 5) peer.acceptFrame() // DATA STREAM 3 "fghi" peer.play() // Play it back. val connection = connect(peer) connection.writePingAndAwaitPong() // Ensure the SETTINGS have been received. val stream = connection.newStream(headerEntries("a", "android"), true) val sink = stream.sink.buffer() sink.writeUtf8("abcdefghi") sink.flush()
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 75.5K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactHashing.java
* then we should have {@code 0 ≤ entry ≤ 255}, and if {@code table} is a {@code short[]} then we * should have {@code 0 ≤ entry ≤ 65535}. It is the caller's responsibility to ensure this. */ static void tableSet(Object table, int index, int entry) { if (table instanceof byte[]) { ((byte[]) table)[index] = (byte) entry; // unsigned write } else if (table instanceof short[]) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 7.1K bytes - Click Count (0) -
BUILDING.md
with other internal or external projects. ## Build guidelines This is an intentionally small set of guidelines to build users and authors to ensure we keep the build consistent. We also publish elasticsearch build logic as `build-tools` to be usuable by thirdparty elasticsearch plugin authors. This is also used by other elastic teams like `elasticsearch-hadoop`.
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Sep 23 07:45:59 GMT 2021 - 6.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/AggregateFutureStateFallbackAtomicHelperTest.java
public void runTest() throws Exception { /* * Note that we do not run this test under Android at the moment. For Android testing, see * AggregateFutureStateDefaultAtomicHelperTest. */ // First, ensure that our classloaders are initializing the correct helper versions: checkHelperVersion(getClass().getClassLoader(), "SafeAtomicHelper"); checkHelperVersion(NO_ATOMIC_FIELD_UPDATER, "SynchronizedAtomicHelper");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 6.7K bytes - Click Count (0) -
internal/deadlineconn/deadlineconn_test.go
if received != "message one\n" { cerr = fmt.Errorf(`server: expected: "message one\n", got: %v`, received) return } // Set a deadline in the past to indicate we want the next read to fail. // Ensure we don't override it on read. deadlineconn.SetReadDeadline(time.Unix(1, 0)) // Be sure to exceed update interval time.Sleep(updateInterval * 2) _, terr = deadlineconn.Read(b) if terr == nil {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 11 17:15:17 GMT 2024 - 4.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
assertWithMessage("Eviction notifications must be received") .that(removalListener.getCount()) .isEqualTo(10); CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker); // ensure that no new notifications are sent assertWithMessage("Eviction notifications must be received") .that(removalListener.getCount()) .isEqualTo(10); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 19.1K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
* garbage-collected, even if there are no more instances of FinalizableReferenceQueue itself. * The code in FinalizableReferenceQueue goes to considerable trouble to ensure that there are * no such references and the tests here check that that trouble has not been in vain. * * When we reference FinalizableReferenceQueue in this test, we are referencing a class that is
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java
import java.util.ArrayList; import java.util.List; import java.util.concurrent.atomic.AtomicInteger; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with * the same parameters forwarded and return value forwarded back or exception propagated as is. * * <p>For example: * * {@snippet :Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue May 13 17:27:14 GMT 2025 - 9.1K bytes - Click Count (0)