Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,912 for methods (0.1 sec)

  1. samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt

    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.startsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import org.apache.hc.client5.http.classic.methods.HttpGet
    import org.apache.hc.client5.http.impl.classic.HttpClients
    import org.apache.hc.core5.http.io.entity.EntityUtils
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. api/maven-api-plugin/src/test/java/org/apache/maven/api/plugin/descriptor/another/ExtendedPluginDescriptorTest.java

            }
        }
    
        @Test
        void testExtendedPluginDescriptor() {
            ExtendedPluginDescriptor.Builder builder = new ExtendedPluginDescriptor.Builder();
            // make sure to call the subclasses' builder methods first, otherwise fluent API would not work
            builder.additionalField("additional")
                    .groupId("org.apache.maven")
                    .artifactId("maven-plugin-api")
                    .version("1.0.0");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Aug 27 07:05:43 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *   <li>If the constructor or factory method used to construct instance takes a parameter that
       *       {@link AbstractPackageSanityTests} doesn't know how to construct, the test will fail.
       *   <li>If there is no visible constructor or visible static factory method declared by {@code
       *       C}, instance methods are skipped for nulls test.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 19:43:49 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/PerCollectionSizeTestSuiteBuilder.java

     * CollectionSize} present in the features specified by {@link #withFeatures(Feature...)}.
     *
     * @param <B> The concrete type of this builder (the 'self-type'). All the Builder methods of this
     *     class (such as {@link #named(String)}) return this type, so that Builder methods of more
     *     derived classes can be chained onto them without casting.
     * @param <G> The type of the generator to be passed to testers in the generated test suite. An
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/ForwardingFluentFuture.java

     * <h3>Extension</h3>
     *
     * If you want a class like {@code FluentFuture} but with extra methods, we recommend declaring your
     * own subclass of {@link ListenableFuture}, complete with a method like {@link #from} to adapt an
     * existing {@code ListenableFuture}, implemented atop a {@link ForwardingListenableFuture} that
     * forwards to that future and adds the desired methods.
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed May 05 22:27:35 UTC 2021
    - 2.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/RangeSet.java

    @DoNotMock("Use ImmutableRangeSet or TreeRangeSet")
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public interface RangeSet<C extends Comparable> {
      // TODO(lowasser): consider adding default implementations of some of these methods
    
      // Query methods
    
      /** Determines whether any of this range set's member ranges contains {@code value}. */
      boolean contains(C value);
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/ConnectionEvent.kt

     */
    @file:Suppress("INVISIBLE_MEMBER", "INVISIBLE_REFERENCE")
    
    package okhttp3
    
    import java.io.IOException
    import okhttp3.internal.SuppressSignatureCheck
    
    /** Data classes that correspond to each of the methods of [ConnectionListener]. */
    @SuppressSignatureCheck
    sealed class ConnectionEvent {
      abstract val timestampNs: Long
      open val connection: Connection?
        get() = null
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy

    class ClassLinkMetaDataTest extends Specification {
    
        public static final String SIMPLE_CLASSNAME = 'MyClass'
        public static final String METHOD_NAME = 'calculate'
    
        def "can define and look up overloaded methods"() {
            given:
            ClassMetaData classMetaData = new ClassMetaData("org.gradle.$SIMPLE_CLASSNAME")
            classMetaData.addMethod(METHOD_NAME, TypeMetaData.VOID, null)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/AbstractCache.java

     * implementation for the {@link #put} and {@link #getIfPresent} methods. {@link #getAllPresent} is
     * implemented in terms of {@link #getIfPresent}; {@link #putAll} is implemented in terms of {@link
     * #put}, {@link #invalidateAll(Iterable)} is implemented in terms of {@link #invalidate}. The
     * method {@link #cleanUp} is a no-op. All other methods throw an {@link
     * UnsupportedOperationException}.
     *
     * @author Charles Fry
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/AbstractScheduledService.java

       * {@link #runOneIteration} and {@link #shutDown} methods. If this method is overridden the
       * executor will not be {@linkplain ScheduledExecutorService#shutdown shutdown} when this service
       * {@linkplain Service.State#TERMINATED terminates} or {@linkplain Service.State#TERMINATED
       * fails}. Subclasses may override this method to supply a custom {@link ScheduledExecutorService}
       * instance. This method is guaranteed to only be called once.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 16:22:21 UTC 2024
    - 27.8K bytes
    - Viewed (0)
Back to top