- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 1,344 for calls (0.02 seconds)
-
src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java
} /** * Test consistency across multiple calls */ @Test @DisplayName("Test consistency across multiple calls") public void testConsistencyAcrossMultipleCalls() { // Given smbComTreeDisconnect = new SmbComTreeDisconnect(config); byte[] buffer = new byte[100]; // When & Then - multiple calls should return the same result for (int i = 0; i < 10; i++) {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 18.5K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/LockHeldAssertingSet.java
assertTrue(Thread.holdsLock(mutex)); return super.isEmpty(); } /* * We don't assert that the lock is held during calls to iterator(), stream(), and spliterator: * `Synchronized` doesn't guarantee that it will hold the mutex for those calls because callers * are responsible for taking the mutex themselves:
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.4K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingBlockingDeque.java
import java.util.Collection; import java.util.concurrent.BlockingDeque; import java.util.concurrent.TimeUnit; import org.jspecify.annotations.Nullable; /** * A {@link BlockingDeque} which forwards all its method calls to another {@code BlockingDeque}. * Subclasses should override one or more methods to modify the behavior of the backing deque as * desired per the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 4.3K bytes - Click Count (0) -
.github/workflows/stale-issues.yml
#Comma separated list of labels that can be assigned to PRs to exclude them from being marked as stale exempt-pr-labels: "override-stale" #Limit the No. of API calls in one run default value is 30. operations-per-run: 1000 days-before-issue-stale: 7 days-before-issue-close: 7 stale-issue-label: "stale"Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Jan 01 08:09:03 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
assertNull(session.transport, "transport not created yet"); SmbTransport tr = session.transport(); assertNotNull(tr, "transport should now exist"); // subsequent calls return the same instance assertSame(tr, session.transport()); } @Test void sendResetsResponseAndForwards() throws Exception { SmbSession session = new SmbSession(addr, 445, inet, 0, auth);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.6K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/RecordingAuthenticator.kt
PasswordAuthentication( "username", "password".toCharArray(), ), ) : Authenticator() { val calls = mutableListOf<String>() override fun getPasswordAuthentication(): PasswordAuthentication? { calls.add( "host=$requestingHost port=$requestingPort site=${requestingSite.hostName} " + "url=$requestingURL type=$requestorType prompt=$requestingPrompt " +
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java
// Mock parent close() to do nothing - explicitly mock the super.close() behavior // The close method calls super.close(), then handle.close(), then pipe.close() lenient().doNothing().when((DcerpcHandle) handle).close(); // Setup close to call real method which will then call our mocked components doCallRealMethod().when(handle).close(); handle.close();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 21K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
// When mockRequest.setFileId(testFileId); // Then verify(mockRequest, times(1)).setFileId(testFileId); } @Test @DisplayName("Should handle multiple setFileId calls") void testMultipleSetFileIdCalls() { // Given RequestWithFileId request = new Smb2CloseRequest(mockConfig, emptyFileId); byte[] firstFileId = new byte[16];Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/graph/InvalidatableSetTest.java
// sanity check on construction of copyOfModifiedSet assertThat(wrappedSet).isEqualTo(copyOfModifiedSet); // setToTest should throw when it calls equals(), or equals is called on it, except for itself assertThat(setToTest).isEqualTo(setToTest); assertThrows(IllegalStateException.class, () -> setToTest.equals(wrappedSet));Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingSortedMultiset.java
import java.util.Comparator; import java.util.Iterator; import java.util.NavigableSet; import org.jspecify.annotations.Nullable; /** * A sorted multiset which forwards all its method calls to another sorted multiset. Subclasses * should override one or more methods to modify the behavior of the backing multiset as desired per * the <a href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 8.6K bytes - Click Count (0)