Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1571 - 1580 of 2,162 for classic (0.04 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/SequentialExchangeFinder.kt

     * limitations under the License.
     */
    package okhttp3.internal.connection
    
    import java.io.IOException
    
    /** Attempt routes one at a time until one connects. */
    internal class SequentialExchangeFinder(
      override val routePlanner: RoutePlanner,
    ) : ExchangeFinder {
      override fun find(): RealConnection {
        var firstException: IOException? = null
        while (true) {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt

    /**
     * A test from the [Web Platform To ASCII](https://github.com/web-platform-tests/wpt/blob/master/url/resources/toascii.json).
     *
     * Each test is a line of the file `toascii.json`.
     */
    @Serializable
    class WebPlatformToAsciiData {
      var input: String? = null
      var output: String? = null
      var comment: String? = null
    
      override fun toString() = "input=$input output=$output"
    
      companion object {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/PostString.kt

    import java.io.IOException
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.toRequestBody
    
    class PostString {
      private val client = OkHttpClient()
    
      fun run() {
        val postBody =
          """
          |Releases
          |--------
          |
          | * _1.0_ May 6, 2013
          | * _1.1_ June 15, 2013
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTransformValuesTest.java

    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests for {@link Maps#transformValues(Map, Function)}.
     *
     * @author Isaac Shum
     */
    @GwtCompatible
    @NullMarked
    public class MapsTransformValuesTest extends AbstractMapsTransformValuesTest {
      @Override
      protected Map<String, String> makeEmptyMap() {
        return transformValues(new HashMap<String, String>(), Functions.<String>identity());
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  5. android/guava-testlib/test/com/google/common/collect/testing/ReserializedSafeTreeMapMapInterfaceTest.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.testing.SerializableTester;
    import java.util.NavigableMap;
    import java.util.SortedMap;
    
    @GwtIncompatible // SerializableTester
    public class ReserializedSafeTreeMapMapInterfaceTest
        extends SortedMapInterfaceTest<String, Integer> {
      public ReserializedSafeTreeMapMapInterfaceTest() {
        super(false, true, true, true, true);
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Mar 18 18:06:40 GMT 2022
    - 1.7K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/collect/UnmodifiableRowSortedTableRowTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.TableCollectionTest.RowTests;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    
    @GwtCompatible
    @NullMarked
    public class UnmodifiableRowSortedTableRowTest extends RowTests {
      public UnmodifiableRowSortedTableRowTest() {
        super(false, false, false, false, false);
      }
    
      @Override
      Table<Character, String, Integer> makeTable() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/UnmodifiableTableColumnMapTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.TableCollectionTest.ColumnMapTests;
    import java.util.Map;
    import org.jspecify.annotations.NullMarked;
    
    @GwtCompatible
    @NullMarked
    public class UnmodifiableTableColumnMapTest extends ColumnMapTests {
      public UnmodifiableTableColumnMapTest() {
        super(false, false, false, false);
      }
    
      @Override
      Table<Integer, String, Character> makeTable() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  8. compat/maven-settings/src/main/java/org/apache/maven/settings/RuntimeInfo.java

     * under the License.
     */
    package org.apache.maven.settings;
    
    import java.io.File;
    
    /**
     * To handle runtime informations like local repository or profiles.
     *
     */
    @Deprecated
    public class RuntimeInfo {
        @SuppressWarnings("checkstyle:constantname")
        public static final String userHome = System.getProperty("user.home");
    
        @SuppressWarnings("checkstyle:constantname")
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  9. impl/maven-core/src/main/java/org/apache/maven/internal/aether/ResolverLifecycle.java

    import static java.util.Objects.requireNonNull;
    
    /**
     * Maven internal component that bridges container "shut down" to {@link RepositorySystem#shutdown()}.
     *
     * @since 3.9.0
     */
    @Named
    @EagerSingleton
    final class ResolverLifecycle {
        private final Provider<RepositorySystem> repositorySystemProvider;
    
        @Inject
        ResolverLifecycle(Provider<RepositorySystem> repositorySystemProvider) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.6K bytes
    - Click Count (0)
  10. impl/maven-core/src/main/java/org/apache/maven/lifecycle/providers/packaging/BomLifecycleMappingProvider.java

    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    /**
     * {@code bom} packaging plugins bindings provider for {@code default} lifecycle.
     */
    @Named("bom")
    @Singleton
    public final class BomLifecycleMappingProvider extends AbstractLifecycleMappingProvider {
        // START SNIPPET: bom
        private static final String[] BINDINGS = {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
Back to Top