Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1131 - 1140 of 3,823 for code (0.13 sec)

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

          Request.Builder()
            .url("https://publicobject.com/robots.txt")
            .build()
    
        client.newCall(request).execute().use { response ->
          if (!response.isSuccessful) throw IOException("Unexpected code $response")
    
          for (certificate in response.handshake!!.peerCertificates) {
            println(CertificatePinner.pin(certificate))
          }
        }
      }
    }
    
    fun main() {
      CertificatePinning().run()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/ArtifactFilterManagerDelegate.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven;
    
    import java.util.Set;
    
    /**
     * @deprecated use {@code META-INF/maven/extension.xml} to define artifacts exported by Maven core extensions.
     */
    @Deprecated
    public interface ArtifactFilterManagerDelegate {
    
        void addExcludes(Set<String> excludes);
    
        void addCoreExcludes(Set<String> excludes);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. api/maven-api-meta/src/main/java/org/apache/maven/api/annotations/Nullable.java

     */
    package org.apache.maven.api.annotations;
    
    import java.lang.annotation.Documented;
    import java.lang.annotation.Retention;
    import java.lang.annotation.RetentionPolicy;
    
    /**
     * The annotated element can be {@code null}.
     *
     * @see Nonnull
     * @since 4.0.0
     */
    @Experimental
    @Documented
    @Retention(RetentionPolicy.RUNTIME)
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Sep 12 06:14:46 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  4. fastapi/routing.py

                Doc(
                    """
                    The default status code to be used for the response.
    
                    You could override the status code by returning a response directly.
    
                    Read more about it in the
                    [FastAPI docs for Response Status Code](https://fastapi.tiangolo.com/tutorial/response-status-code/).
                    """
                ),
            ] = None,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
  5. lib/time/README

    The zoneinfo.zip archive contains time zone files compiled using
    the code and data maintained as part of the IANA Time Zone Database.
    The IANA asserts that the database is in the public domain.
    
    For more information, see
    https://www.iana.org/time-zones
    ftp://ftp.iana.org/tz/code/tz-link.html
    https://datatracker.ietf.org/doc/html/rfc6557
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Sun Aug 15 02:18:46 UTC 2021
    - 390 bytes
    - Viewed (0)
  6. javadoc-stylesheet.css

    }
    h4 {
        font-size:1.3em;
    }
    h5 {
        font-size:1.2em;
    }
    h6 {
        font-size:1.1em;
    }
    ul {
        list-style-type:disc;
    }
    code, tt {
        font-size:1.2em;
    }
    dt code {
        font-size:1.2em;
    }
    table tr td dt code {
        font-size:1.2em;
        vertical-align:top;
    }
    sup {
        font-size:.6em;
    }
    /*
    Document title and Copyright styles
    */
    .clear {
        clear:both;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 17 21:01:06 UTC 2013
    - 11.2K bytes
    - Viewed (0)
  7. cmd/admin-handlers_test.go

    	}
    
    	rec := httptest.NewRecorder()
    	adminTestBed.router.ServeHTTP(rec, req)
    
    	resp, _ := io.ReadAll(rec.Body)
    	if rec.Code != http.StatusOK {
    		t.Errorf("Expected to receive %d status code but received %d. Body (%s)",
    			http.StatusOK, rec.Code, string(resp))
    	}
    
    	result := &serviceResult{}
    	if err := json.Unmarshal(resp, result); err != nil {
    		t.Error(err)
    	}
    	_ = result
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  8. okhttp-brotli/src/test/java/okhttp3/brotli/BrotliInterceptorTest.kt

        }
      }
    
      @Test
      fun testSkipUncompressNoContentResponse() {
        val response =
          response("https://httpbin.org/brotli", EMPTY) {
            header("Content-Encoding", "br")
            code(204)
            message("NO CONTENT")
          }
    
        val same = uncompress(response)
    
        val responseString = same.body.string()
        assertThat(responseString).isEmpty()
      }
    
      private fun response(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. docs/pt/docs/advanced/settings.md

        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick")
            function ->> execute: executar código da função
            execute ->> code: retornar o resultado
        end
    
        rect rgba(0, 255, 0, .1)
            code ->> function: say_hi(name="Rick", salutation="Mr.")
            function ->> execute: executar código da função
            execute ->> code: retornar o resultado
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          }
          OPCODE_CONTROL_CLOSE -> {
            var code = CLOSE_NO_STATUS_CODE
            var reason = ""
            val bufferSize = controlFrameBuffer.size
            if (bufferSize == 1L) {
              throw ProtocolException("Malformed close payload length of 1.")
            } else if (bufferSize != 0L) {
              code = controlFrameBuffer.readShort().toInt()
              reason = controlFrameBuffer.readUtf8()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top