Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1511 - 1520 of 2,691 for code2 (0.02 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/SynchronousGet.kt

            .Builder()
            .url("https://publicobject.com/helloworld.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          for ((name, value) in response.headers) {
            println("$name: $value")
          }
    
          println(response.body.string())
        }
      }
    }
    
    fun main() {
      SynchronousGet().run()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/io/IgnoreJRERequirement.java

    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE, FIELD})
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 02 18:21:28 UTC 2025
    - 1.1K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/testers/Platform.java

    import java.util.Locale;
    
    /**
     * This class is emulated in GWT.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    final class Platform {
    
      /** Format the template with args, only supports the placeholder {@code %s}. */
      static String format(String template, Object... args) {
        return String.format(Locale.ROOT, template, args);
      }
    
      /** See {@link ListListIteratorTester} */
      static int listListIteratorTesterNumIterations() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1.3K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/google/TestListMultimapGenerator.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ListMultimap;
    import org.jspecify.annotations.NullMarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A generator for {@code ListMultimap} implementations based on test data.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullMarked
    public interface TestListMultimapGenerator<K extends @Nullable Object, V extends @Nullable Object>
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/exception/NullArgumentException.java

        /**
         *
         */
        private static final long serialVersionUID = 1L;
    
        /**
         * Creates a {@link NullArgumentException}.
         *
         * @param argName
         *            Name of the argument that is {@code null}
         */
        public NullArgumentException(final String argName) {
            super(argName, "ECL0008", asArray(argName));
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jun 19 09:12:22 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. cmd/decommetric_string.go

    // Code generated by "stringer -type=decomMetric -trimprefix=decomMetric erasure-server-pool-decom.go"; DO NOT EDIT.
    
    package cmd
    
    import "strconv"
    
    func _() {
    	// An "invalid array index" compiler error signifies that the constant values have changed.
    	// Re-run the stringer command to generate them again.
    	var x [1]struct{}
    	_ = x[decomMetricDecommissionBucket-0]
    	_ = x[decomMetricDecommissionObject-1]
    	_ = x[decomMetricDecommissionRemoveObject-2]
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Aug 10 19:46:45 UTC 2022
    - 830 bytes
    - Viewed (0)
  7. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

        bodyGetNoBody(204)
      }
    
      @Test
      fun bodyGet205() {
        setLevel(Level.BODY)
        bodyGetNoBody(205)
      }
    
      private fun bodyGetNoBody(code: Int) {
        server.enqueue(
          MockResponse
            .Builder()
            .status("HTTP/1.1 $code No Content")
            .build(),
        )
        val response = client.newCall(request().build()).execute()
        response.body.close()
        applicationLogs
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 37.5K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

                        alreadyEncoded = true,
                      )
                  }
                  pos = componentDelimiterOffset + 1
                }
    
                -1, '/'.code, '\\'.code, '?'.code, '#'.code -> {
                  // Host info precedes.
                  val portColonOffset = portColonOffset(input, pos, componentDelimiterOffset)
                  if (portColonOffset + 1 < componentDelimiterOffset) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionResponseTest.java

                super(config, command, subcommand);
            }
    
            // Expose errorCode setter for testing - access protected field directly
            public void setTestErrorCode(int code) {
                this.errorCode = code;
            }
    
            @Override
            protected int writeSetupWireFormat(byte[] dst, int dstIndex) {
                return setupWireFormatReturn;
            }
    
            @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  10. docs/pt/docs/deployment/server-workers.md

                 Importing from <font color="#75507B">/home/user/code/</font><font color="#AD7FA8">awesomeapp</font>
    
       <span style="background-color:#007166"><font color="#D3D7CF"> module </font></span>  🐍 main.py
    
         <span style="background-color:#007166"><font color="#D3D7CF"> code </font></span>  Importing the FastAPI app object from the module with the
                 following code:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jan 09 20:41:07 UTC 2025
    - 8.5K bytes
    - Viewed (0)
Back to top