- Sort Score
- Num 10 results
- Language All
Results 31 - 40 of 539 for initially (0.11 seconds)
-
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
return count < items.length; } }; } /** * Creates an {@code MonitorBasedArrayBlockingQueue} with the given (fixed) capacity, the * specified access policy and initially containing the elements of the given collection, added in * traversal order of the collection's iterator. * * @param capacity the capacity of this queue
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 21:06:42 GMT 2026 - 22.4K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/LongAdder.java
import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import java.io.Serializable; import java.util.concurrent.atomic.AtomicLong; /** * One or more variables that together maintain an initially zero {@code long} sum. When updates * (method {@link #add}) are contended across threads, the set of variables may grow dynamically to * reduce contention. Method {@link #sum} (or, equivalently, {@link #longValue}) returns the currentCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 20 13:05:10 GMT 2025 - 5.5K bytes - Click Count (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
void testDfsReferralData() throws Exception { String url = "smb://server/share/path/"; DummySmbResourceLocator loc = new DummySmbResourceLocator(url); // Initially no DFS referral assertNull(loc.getDfsReferral()); // Set and retrieve DFS referral loc.setDfsReferral(dfs); assertSame(dfs, loc.getDfsReferral()); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 8K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoRequestTest.java
} @Test @DisplayName("Test setFileInfoClass sets correct info type") void testSetFileInfoClassSetsCorrectInfoType() { request = new Smb2QueryInfoRequest(mockConfig); // Initially set a different info type request.setInfoType((byte) 0x05); // Call setFileInfoClass which should override info type request.setFileInfoClass((byte) 0x10); try {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 22.6K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt
/** * Runs a [TaskRunner] in a controlled environment so that everything is sequential and * deterministic. * * This class ensures that at most one thread is running at a time. This is initially the JUnit test * thread, which yields its execution privilege while calling [runTasks], [runNextTask], or * [advanceUntil]. These functions don't return until the task threads are all idle. *
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed May 28 23:28:25 GMT 2025 - 11.9K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java
// Java 2nd Edition Item 76: Write readObject methods defensively. private transient AtomicLongArray longs; /** * Creates a new {@code AtomicDoubleArray} of the given length, with all elements initially zero. * * @param length the length of the array */ public AtomicDoubleArray(int length) { this.longs = new AtomicLongArray(length); } /**Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Jan 29 22:14:05 GMT 2026 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/graph/AbstractStandardUndirectedGraphTest.java
putEdge(1, 2); // Duplicate putEdge(4, 5); } // Element Mutation @Test public void putEdge_existingNodes() { assume().that(graphIsMutable()).isTrue(); // Adding nodes initially for safety (insulating from possible future // modifications to proxy methods) addNode(N1); addNode(N2); assertThat(graphAsMutableGraph.putEdge(N1, N2)).isTrue(); } @Test
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Oct 06 20:14:55 GMT 2025 - 13.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
assertFalse(cacheEntry.isComplete()); // Step 3: Verify can cache directory listing assertTrue(directoryLeaseManager.canCacheDirectoryListing(directoryPath)); // Step 4: Initially no cached listing assertNull(directoryLeaseManager.getCachedDirectoryListing(directoryPath)); // Step 5: Simulate directory enumeration and update cache
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 23 01:47:47 GMT 2025 - 14.2K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/helper/ProtocolHelperTest.java
// Should not throw exception with invalid package protocolHelper.loadProtocols("org.invalid.package.does.not.exist"); // Should have empty arrays initially assertEquals(0, protocolHelper.getWebProtocols().length); assertEquals(0, protocolHelper.getFileProtocols().length); } @Test public void test_loadProtocols_emptyPackage() {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Jan 11 08:43:05 GMT 2026 - 35.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EncryptionContextTest.java
// Given Smb2EncryptionContext context = new Smb2EncryptionContext(1, DialectVersion.SMB311, testEncryptionKey, testDecryptionKey); // When - initially should not need rotation assertFalse(context.needsKeyRotation(), "Should not need rotation initially"); // Note: We can't directly test the byte limit without encrypting large amounts of data,Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 44.1K bytes - Click Count (0)