Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2641 - 2650 of 3,237 for get2 (0.03 sec)

  1. okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt

      /** Returns total number of connections in the pool. */
      fun connectionCount(): Int = delegate.connectionCount()
    
      internal val connectionListener: ConnectionListener
        get() = delegate.connectionListener
    
      /** Close and remove all idle connections in the pool. */
      fun evictAll() {
        delegate.evictAll()
      }
    
      /**
       * Sets a policy that applies to [address].
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 20:39:41 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  2. okhttp/build.gradle.kts

      args("$buildDir/generated/sources/idnaMappingTable")
      classpath = generateIdnaMappingTableConfiguration
    }
    
    kotlin {
      sourceSets {
        getByName("main") {
          kotlin.srcDir(copyKotlinTemplates.get().outputs)
          kotlin.srcDir(generateIdnaMappingTable.outputs)
        }
      }
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3,okhttp3.internal.*;okhttpinternal=true;mandatory:=okhttpinternal",
      "Import-Package: " +
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Jan 04 05:32:07 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

                      + "(An override that delegates to the supermethod is fine.)\n"
                      + "%s has no such override despite inheriting writeReplace() from %s",
                  clazz.getName(), supersWithPackagePrivateWriteReplace.get().getName())
              .fail();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/graph/AbstractDirectedNetworkConnections.java

        // we can assume this edge lives in the set of outgoing edges.
        // (We're relying on callers to call this method only with an edge that's in the graph.)
        return requireNonNull(outEdgeMap.get(edge));
      }
    
      @Override
      public N removeInEdge(E edge, boolean isSelfLoop) {
        if (isSelfLoop) {
          checkNonNegative(--selfLoopCount);
        }
        N previousNode = inEdgeMap.remove(edge);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 26 17:43:39 UTC 2021
    - 4.5K bytes
    - Viewed (0)
  5. cmd/jwt_test.go

    	if err = newTestConfig(globalMinioDefaultRegion, obj); err != nil {
    		t.Fatal(err)
    	}
    
    	creds := globalActiveCred
    	token, err := getTokenString(creds.AccessKey, creds.SecretKey)
    	if err != nil {
    		t.Fatalf("unable get token %s", err)
    	}
    	testCases := []struct {
    		req         *http.Request
    		expectedErr error
    	}{
    		// Set valid authorization header.
    		{
    			req: &http.Request{
    				Header: http.Header{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 22 07:04:48 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. misc/linkcheck/linkcheck.go

    	for url := range urlq {
    		if err := doCrawl(url); err != nil {
    			addProblem(url, err.Error())
    		}
    	}
    }
    
    func doCrawl(url string) error {
    	defer wg.Done()
    
    	req, err := http.NewRequest("GET", url, nil)
    	if err != nil {
    		return err
    	}
    	res, err := http.DefaultTransport.RoundTrip(req)
    	if err != nil {
    		return err
    	}
    	// Handle redirects.
    	if res.StatusCode/100 == 3 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 3.9K bytes
    - Viewed (0)
  7. api/maven-api-plugin/src/main/mdo/lifecycle.mdo

            </field>
          </fields>
          <codeSegments>
            <codeSegment>
              <version>2.0.0+</version>
              <code><![CDATA[
        /**
         * Get the effective ID of this phase, e.g.,
         * {@code generate-sources} or {@code after:integration-test[1000]}.
         *
         * @return String
         */
        public String getEffectiveId() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 29 05:48:54 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/async-tests.md

    Dann können wir einen `AsyncClient` mit der App erstellen und mit `await` asynchrone Requests an ihn senden.
    
    {* ../../docs_src/async_tests/test_main.py hl[9:12] *}
    
    Das ist das Äquivalent zu:
    
    ```Python
    response = client.get('/')
    ```
    
    ... welches wir verwendet haben, um unsere Requests mit dem `TestClient` zu machen.
    
    /// tip | "Tipp"
    
    Beachten Sie, dass wir async/await mit dem neuen `AsyncClient` verwenden – der Request ist asynchron.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:34:47 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. docs/en/docs/advanced/async-tests.md

    ///
    
    Then we can create an `AsyncClient` with the app, and send async requests to it, using `await`.
    
    {* ../../docs_src/async_tests/test_main.py hl[9:12] *}
    
    This is the equivalent to:
    
    ```Python
    response = client.get('/')
    ```
    
    ...that we used to make our requests with the `TestClient`.
    
    /// tip
    
    Note that we're using async/await with the new `AsyncClient` - the request is asynchronous.
    
    ///
    
    /// warning
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:43:29 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.py

        assert response.json() == {
            "file_size": 14,
            "token": "foo",
            "fileb_content_type": "text/plain",
        }
    
    
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top