Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 3951 - 3960 of 5,779 for classe (0.23 seconds)

  1. android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt

    import okhttp3.Request
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    import org.junit.AssumptionViolatedException
    import org.junit.Before
    import org.junit.Test
    
    abstract class BaseOkHttpClientUnitTest {
      private lateinit var client: OkHttpClient
    
      @Before
      fun setUp() {
        client =
          OkHttpClient
            .Builder()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jul 22 20:03:31 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  2. build-logic/src/main/kotlin/okhttp.publish-conventions.gradle.kts

            name.set("Square, Inc.")
          }
        }
      }
    
      if (project.name == "okhttp") {
        configure(KotlinMultiplatform(javadocJar = JavadocJar.Empty()))
      } else if (plugins.hasPlugin(JavaBasePlugin::class.java)) {
        configure(KotlinJvm(javadocJar = JavadocJar.Empty()))
      }
    }
    
    configure<ApiValidationExtension> {
      ignoredPackages += "okhttp3.logging.internal"
      ignoredPackages += "mockwebserver3.internal"
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:00:38 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/HeadersRequestTest.kt

    import org.junit.jupiter.api.Test
    
    class HeadersRequestTest {
      @Test fun readNameValueBlockDropsForbiddenHeadersHttp2() {
        val headerBlock =
          headersOf(
            ":status",
            "200 OK",
            ":version",
            "HTTP/1.1",
            "connection",
            "close",
          )
        val request = Request.Builder().url("http://square.com/").build()
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. samples/guide/src/main/java/okhttp3/recipes/kt/PostMultipart.kt

    import java.io.IOException
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.MultipartBody
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.RequestBody.Companion.asRequestBody
    
    class PostMultipart {
      private val client = OkHttpClient()
    
      fun run() {
        // Use the imgur image upload API as documented at https://api.imgur.com/endpoints/image
        val requestBody =
          MultipartBody
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetEqualsTester.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 MultisetEqualsTester<E> extends AbstractMultisetTester<E> {
      public void testEqualsSameContents() {
        new EqualsTester()
            .addEqualityGroup(
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  6. guava-tests/benchmark/com/google/common/cache/MapMakerComparisonBenchmark.java

    /**
     * Compare CacheBuilder and MapMaker performance, ensuring that they remain on par with each other.
     *
     * @author Nikita Sidorov
     */
    @SuppressWarnings("CheckReturnValue")
    @NullUnmarked
    public class MapMakerComparisonBenchmark {
      private static final String TEST_KEY = "test key";
      private static final String TEST_VALUE = "test value";
    
      // Non-loading versions:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/collection/SingleValueIterator.java

    import org.codelibs.core.exception.ClUnsupportedOperationException;
    
    /**
     * An {@link Iterator} that returns a single value.
     *
     * @author koichik
     * @param <E> the element type
     */
    public class SingleValueIterator<E> implements Iterator<E> {
    
        /** The only value returned by the iterator. */
        protected final E value;
    
        /** {@literal true} if the iterator has more elements. */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jun 19 09:12:22 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/SMBProtocolDecodingException.java

        }
    
        /**
         * Constructs a new SMBProtocolDecodingException with the specified detail message and cause.
         *
         * @param message the detail message
         * @param cause the cause of the exception
         */
        public SMBProtocolDecodingException(final String message, final Throwable cause) {
            super(message, cause);
        }
    
        /**
         * Constructs a new SMBProtocolDecodingException with the specified detail message.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  9. src/main/java/jcifs/pac/PACDecodingException.java

         * Constructs a new PAC decoding exception with the specified cause.
         * @param cause the cause of the exception
         */
        public PACDecodingException(final Throwable cause) {
            this(null, cause);
        }
    
        /**
         * Constructs a new PAC decoding exception with the specified detail message and cause.
         * @param message the detail message
         * @param cause the cause of the exception
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2K bytes
    - Click Count (1)
  10. src/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java

     *
     * This command disconnects from a tree connection (share) on the server.
     * It releases the tree ID and terminates access to the share.
     */
    public class SmbComTreeDisconnect extends ServerMessageBlock {
    
        /**
         * Constructs a tree disconnect request to close a connection to a shared resource.
         *
         * @param config the configuration to use
         */
        public SmbComTreeDisconnect(final Configuration config) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.1K bytes
    - Click Count (0)
Back to Top