Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 777 for segons (0.04 sec)

  1. src/test/java/jcifs/smb/NetServerEnumIteratorTest.java

            // Mock successful but empty response
            when(treeHandle.send(any(), any(), (RequestParam[]) any())).thenAnswer(invocation -> {
                // The response is the second argument
                Object response = invocation.getArgument(1);
                // Return it unchanged (which will have default values = empty results)
                return response;
            });
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java

            System.arraycopy(file1, 0, buffer, 102, file1.length);
    
            // Write second FileBothDirectoryInfo at 8 + 104 = 112
            int secondOffset = 112;
            SMBUtil.writeInt4(0, buffer, secondOffset); // NextEntryOffset (0 = last)
            SMBUtil.writeInt4(1, buffer, secondOffset + 4); // FileIndex
            // ... rest of second entry fields (zeros for simplicity)
            for (int i = 8; i < 94; i++) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTreeConnectionTest.java

            c.acquire();
            verify(tree, times(1)).acquire();
    
            // Act: second acquire does not call tree.acquire again
            c.acquire();
            verify(tree, times(1)).acquire();
    
            // Act: first release does not release yet (usage -> 1)
            c.release();
            verify(tree, never()).release();
    
            // Act: second release (usage -> 0) releases the tree
            c.release();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/BaseContextTest.java

            // Then
            assertNotNull(resource1, "First resource should be created");
            assertNotNull(resource2, "Second resource should be created");
            assertNotNull(pipe1, "First pipe should be created");
            assertNotNull(pipe2, "Second pipe should be created");
    
            assertNotSame(resource1, resource2, "Different resources should be different instances");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        assertThrows(TimeoutException.class, () -> manager.awaitHealthy(1, MILLISECONDS));
        manager.awaitHealthy(5, SECONDS); // no exception thrown
    
        manager.stopAsync();
        assertThrows(TimeoutException.class, () -> manager.awaitStopped(1, MILLISECONDS));
        manager.awaitStopped(5, SECONDS); // no exception thrown
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 20:34:52 UTC 2025
    - 25.5K bytes
    - Viewed (0)
  6. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

      ): RecordedRequest? = requestQueue.poll(timeout, unit)
    
      /**
       * Scripts [response] to be returned to a request made in sequence. The first request is
       * served by the first enqueued response; the second request by the second enqueued response; and
       * so on.
       *
       * @throws ClassCastException if the default dispatcher has been
       * replaced with [setDispatcher][dispatcher].
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 02 20:36:00 UTC 2025
    - 40.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            assertEquals(domain, type1Message.getSuppliedDomain());
        }
    
        @Test
        void testInitSecContext_state2_type3Message() throws Exception {
            // Test the second step (processing Type 2 and creating Type 3 message)
            when(mockAuth.getDomain()).thenReturn(domain);
            when(mockAuth.getUsername()).thenReturn(username);
            when(mockAuth.getPassword()).thenReturn(password);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt

    class PerCallSettings {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.
            .build()
    
        // Copy to customize OkHttp for this request.
        val client1 =
          client
            .newBuilder()
            .readTimeout(500, TimeUnit.MILLISECONDS)
            .build()
        try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

    import static com.google.common.util.concurrent.Futures.immediateFuture;
    import static java.util.Arrays.asList;
    import static java.util.concurrent.TimeUnit.MILLISECONDS;
    import static java.util.concurrent.TimeUnit.SECONDS;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.cache.CacheLoader.InvalidCacheLoadException;
    import com.google.common.cache.TestingCacheLoaders.CountingLoader;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 85.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      private void assertNoExpectedFailures() {
        assertWithMessage("executor was shut down")
            .that(shutdownAndAwaitTermination(executor, 10, SECONDS))
            .isTrue();
        assertWithMessage("closingExecutor was shut down")
            .that(shutdownAndAwaitTermination(closingExecutor, 10, SECONDS))
            .isTrue();
        if (!failures.isEmpty()) {
          StringWriter message = new StringWriter();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
Back to top