Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1811 - 1820 of 3,339 for code2 (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ExternalHttp2Example.kt

        val call =
          client.newCall(
            Request
              .Builder()
              .url("https://www.google.ca/")
              .build(),
          )
        val response = call.execute()
        try {
          println(response.code)
          println("PROTOCOL ${response.protocol}")
          var line: String?
          while (response.body
              .source()
              .readUtf8Line()
              .also { line = it } != null
          ) {
            println(line)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/PostFile.kt

            body = file.asRequestBody(MEDIA_TYPE_MARKDOWN),
          )
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          println(response.body.string())
        }
      }
    
      companion object {
        val MEDIA_TYPE_MARKDOWN = "text/x-markdown; charset=utf-8".toMediaType()
      }
    }
    
    fun main() {
      PostFile().run()
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableCollectionTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@code ImmutableCollection}.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    public class ImmutableCollectionTest extends TestCase {
      public void testCapacityExpansion() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/arch/s390x.go

    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file encapsulates some of the odd characteristics of the
    // s390x instruction set, to minimize its interaction
    // with the core of the assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj/s390x"
    )
    
    func jumpS390x(word string) bool {
    	switch word {
    	case "BRC",
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Oct 17 14:55:25 UTC 2019
    - 1.2K bytes
    - Viewed (0)
  5. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactoryWrapper.java

        public void addClient(final String regex, final CrawlerClient client, final int pos) {
            factory.addClient(regex, client, pos);
        }
    
        /**
         * Returns the hash code of the wrapped factory.
         * @return The hash code.
         */
        @Override
        public int hashCode() {
            return factory.hashCode();
        }
    
        /**
         * Adds a list of clients to the wrapped factory.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 5.2K bytes
    - Viewed (10)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.collect.testing.features.MapFeature;
    import org.junit.Ignore;
    
    /** Tester for {@code BiMap.put} and {@code BiMap.forcePut}. */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. samples/crawler/src/main/java/okhttp3/sample/Crawler.java

          String responseSource = response.networkResponse() != null ? ("(network: "
              + response.networkResponse().code()
              + " over "
              + response.protocol()
              + ")") : "(cache)";
          int responseCode = response.code();
    
          System.out.printf("%03d: %s %s%n", responseCode, url, responseSource);
    
          String contentType = response.header("Content-Type");
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Jul 23 00:58:06 UTC 2025
    - 5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

        }
    
        @Test
        void constructor_shouldThrowSmbExceptionOnRpcError() throws IOException {
            // Arrange
            int access = 0x01;
            int errorCode = 0xC0000022; // Example error code (STATUS_ACCESS_DENIED)
            // Simulate RPC error
            doAnswer(invocation -> {
                MsrpcSamrOpenDomain rpc = invocation.getArgument(0);
                rpc.retval = errorCode; // Simulate error
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/request-forms.md

    これらのエンコーディングやフォームフィールドの詳細については、<a href="https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST" class="external-link" target="_blank"><abbr title="Mozilla Developer Network">MDN</abbr>の<code>POST</code></a>のウェブドキュメントを参照してください。
    
    ///
    
    /// warning | 注意
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. architecture/platforms.md

    It is made up of 3 architecture modules:
    
    - **core-runtime**: Provides the runtimes or "containers" in which code runs. These runtimes include the Gradle client, the daemon and the worker processes. This is the base module on which all other architecture modules depend.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu May 02 06:42:46 UTC 2024
    - 5.4K bytes
    - Viewed (0)
Back to top