Search Options

Results per page
Sort
Preferred Languages
Advance

Results 3711 - 3720 of 8,397 for KClass (0.03 sec)

  1. android/guava-tests/benchmark/com/google/common/collect/SetIterationBenchmark.java

    import java.util.Set;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Test iteration speed at various size for {@link Set} instances.
     *
     * @author Christopher Swenson
     */
    @NullUnmarked
    public class SetIterationBenchmark {
      @Param({
        "3", "6", "11", "23", "45", "91", "181", "362", "724", "1448", "2896", "5793", "11585", "23170",
        "46341", "92682", "185364", "370728", "741455", "1482910", "2965821", "5931642"
      })
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/MapSerializationTester.java

    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    // @Ignore affects the Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    public class MapSerializationTester<K, V> extends AbstractMapTester<K, V> {
      @CollectionFeature.Require(SERIALIZABLE)
      public void testReserializeMap() {
        Map<K, V> deserialized = SerializableTester.reserialize(getMap());
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  3. samples/compare/src/test/kotlin/okhttp3/compare/OkHttpClientTest.kt

    import okhttp3.Request
    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    
    /**
     * OkHttp.
     *
     * https://square.github.io/okhttp/
     */
    class OkHttpClientTest {
      @JvmField @RegisterExtension
      val platform = PlatformRule()
    
      @StartStop
      private val server = MockWebServer()
    
      @Test fun get() {
        server.enqueue(MockResponse(body = "hello, OkHttp"))
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/AsynchronousGet.java

    import okhttp3.Call;
    import okhttp3.Callback;
    import okhttp3.Headers;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.ResponseBody;
    
    public final class AsynchronousGet {
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
        Request request = new Request.Builder()
            .url("http://publicobject.com/helloworld.txt")
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun May 22 01:29:42 UTC 2016
    - 1.9K bytes
    - Viewed (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/metadata/ArtifactMetadataRetrievalException.java

     */
    package org.apache.maven.artifact.metadata;
    
    import org.apache.maven.artifact.Artifact;
    
    /**
     * Error while retrieving repository metadata from the repository - deprecated
     */
    @Deprecated
    public class ArtifactMetadataRetrievalException
            extends org.apache.maven.repository.legacy.metadata.ArtifactMetadataRetrievalException {
    
        /**
         * @param message a message
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/UnresolvedArtifacts.java

    /**
     * A simple recording of the Artifacts that could not be resolved for a given resolution request, along with
     * the remote repositories where attempts were made to resolve the artifacts.
     *
     */
    @Deprecated
    public class UnresolvedArtifacts {
        private Artifact originatingArtifact;
    
        private List<Artifact> artifacts;
    
        private List<ArtifactRepository> remoteRepositories;
    
        public UnresolvedArtifacts(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. api/maven-api-spi/src/main/java/org/apache/maven/api/spi/ModelParserException.java

     * under the License.
     */
    package org.apache.maven.api.spi;
    
    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.services.MavenException;
    
    @Experimental
    public class ModelParserException extends MavenException {
    
        /**
         * The one-based index of the line containing the error.
         */
        private final int lineNumber;
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Sep 22 07:25:10 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/NearestConflictResolver.java

     * declaration that has the least transitive steps away from the project being built.
     *
     * @since 3.0
     */
    @Named("nearest")
    @Singleton
    @Deprecated
    public class NearestConflictResolver implements ConflictResolver {
        // ConflictResolver methods -----------------------------------------------
    
        /*
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  9. compat/maven-compat/src/test/java/org/apache/maven/artifact/resolver/filter/AndArtifactFilterTest.java

    import static org.junit.jupiter.api.Assertions.assertFalse;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * Tests {@link AndArtifactFilter}.
     *
     */
    class AndArtifactFilterTest {
    
        private ArtifactFilter newSubFilter() {
            return artifact -> false;
        }
    
        @Test
        void testEquals() {
            AndArtifactFilter filter1 = new AndArtifactFilter();
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Sep 17 10:01:14 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  10. compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/BaseObject.java

     * under the License.
     */
    package org.apache.maven.toolchain.model;
    
    import java.io.Serializable;
    
    import static java.util.Objects.requireNonNull;
    
    public abstract class BaseObject implements Serializable, Cloneable {
        protected transient ChildrenTracking childrenTracking;
    
        protected Object delegate;
    
        public BaseObject() {}
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top