Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 250 for blocking (0.16 sec)

  1. src/test/java/jcifs/SmbTreeTest.java

    import org.mockito.junit.jupiter.MockitoSettings;
    import org.mockito.quality.Strictness;
    
    /**
     * Tests for SmbTree interface.
     * This test class covers all methods of the SmbTree interface using Mockito for mocking.
     */
    @ExtendWith(MockitoExtension.class)
    @MockitoSettings(strictness = Strictness.LENIENT)
    class SmbTreeTest {
    
        @Mock
        private SmbTree smbTree;
    
        @Mock
        private SmbTree mockWrappedTree;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Lists.java

       * syntax</a>. (Unlike here, there is no risk of overload ambiguity, since the {@code ArrayList}
       * constructors very wisely did not accept varargs.)
       *
       * @param initialArraySize the exact size of the initial backing array for the returned array list
       *     ({@code ArrayList} documentation calls this value the "capacity")
       * @return a new, empty {@code ArrayList} which is guaranteed not to resize itself unless its size
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  3. docs/features/interceptors.md

            response.request().url(), (t2 - t1) / 1e6d, response.headers()));
    
        return response;
      }
    }
    ```
    
    A call to `chain.proceed(request)` is a critical part of each interceptor’s implementation. This simple-looking method is where all the HTTP work happens, producing a response to satisfy the request. If `chain.proceed(request)` is being called more than once previous response bodies must be closed.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/TreeBasedTable.java

      @Deprecated
      public final Comparator<? super R> rowComparator() {
        /*
         * requireNonNull is safe because the factories require non-null Comparators, which they pass on
         * to the backing collections.
         */
        return requireNonNull(rowKeySet().comparator());
      }
    
      /**
       * Returns the comparator that orders the columns. With natural ordering, {@link
       * Ordering#natural()} is returned.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 18 15:05:43 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. api/maven-api-core/src/main/java/org/apache/maven/api/Project.java

            return getPackaging().language();
        }
    
        /**
         * {@return the project POM artifact}, which is the artifact of the POM of this project. Every project have a POM
         * artifact, even if the existence of backing POM file is NOT a requirement (i.e. for some transient projects).
         *
         * @see org.apache.maven.api.services.ArtifactManager#getPath(Artifact)
         */
        @Nonnull
        default ProducedArtifact getPomArtifact() {
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Feb 27 11:07:03 UTC 2025
    - 10.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multimaps.java

          }
        }
    
        // can't use Serialization writeMultimap and populateMultimap methods since
        // there's no way to generate the empty backing map.
    
        /**
         * @serialData the factory and the backing map
         */
        @GwtIncompatible
        @J2ktIncompatible
            private void writeObject(ObjectOutputStream stream) throws IOException {
          stream.defaultWriteObject();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Multimaps.java

          }
        }
    
        // can't use Serialization writeMultimap and populateMultimap methods since
        // there's no way to generate the empty backing map.
    
        /**
         * @serialData the factory and the backing map
         */
        @GwtIncompatible
        @J2ktIncompatible
            private void writeObject(ObjectOutputStream stream) throws IOException {
          stream.defaultWriteObject();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 86.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ForwardingNavigableSet.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * A navigable set which forwards all its method calls to another navigable set. Subclasses should
     * override one or more methods to modify the behavior of the backing set as desired per the <a
     * href="http://en.wikipedia.org/wiki/Decorator_pattern">decorator pattern</a>.
     *
     * <p><b>Warning:</b> The methods of {@code ForwardingNavigableSet} forward <i>indiscriminately</i>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacLogonInfoTest.java

            assertEquals("Malformed PAC", exception.getMessage());
        }
    
        @Test
        @DisplayName("Test getters return expected values using mocks")
        void testGetters() throws Exception {
            // Use mocking to test getters without complex PAC data creation
            PacLogonInfo logonInfo = mock(PacLogonInfo.class);
    
            // Setup mock responses
            when(logonInfo.getUserName()).thenReturn(TEST_USERNAME);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/ConnectionPoolTest.kt

        taskFaker.runTasks()
      }
    
      private fun connectHttp2(
        peer: MockHttp2Peer,
        realConnection: RealConnection,
        maxConcurrentStreams: Int,
      ): Http2Connection {
        // Write the mocking script.
        val settings1 = Settings()
        settings1[Settings.MAX_CONCURRENT_STREAMS] = maxConcurrentStreams
        peer.sendFrame().settings(settings1)
        peer.acceptFrame() // ACK
        peer.sendFrame().ping(false, 2, 0)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 12.9K bytes
    - Viewed (0)
Back to top