Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2851 - 2860 of 3,913 for getD (0.02 sec)

  1. guava/src/com/google/common/hash/AbstractByteHasher.java

          update(b.array(), b.arrayOffset() + b.position(), b.remaining());
          Java8Compatibility.position(b, b.limit());
        } else {
          for (int remaining = b.remaining(); remaining > 0; remaining--) {
            update(b.get());
          }
        }
      }
    
      /** Updates the sink with the given number of bytes from the buffer. */
      @CanIgnoreReturnValue
      private Hasher update(int bytes) {
        try {
          update(scratch.array(), 0, bytes);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 15 20:59:00 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  2. docs/sts/custom-token-identity.go

    	}
    
    	// Initialize
    	li, err := cr.NewCustomTokenCredentials(stsEndpoint, token, roleArn, opts...)
    	if err != nil {
    		log.Fatalf("Error initializing CustomToken Identity: %v", err)
    	}
    
    	v, err := li.Get()
    	if err != nil {
    		log.Fatalf("Error retrieving STS credentials: %v", err)
    	}
    
    	if displayCreds {
    		fmt.Println("Only displaying credentials:")
    		fmt.Println("AccessKeyID:", v.AccessKeyID)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 27 00:58:09 UTC 2022
    - 3.4K bytes
    - Viewed (0)
  3. .github/workflows/sigbuild-docker.yml

              minor_version=$(grep "^#define TF_MINOR_VERSION" ./tensorflow/core/public/version.h | grep -o "[[:digit:]]\+")
              echo "TF_VERSION=${major_version}.${minor_version}" >> "$GITHUB_OUTPUT"
              # Also get the current date to do cache busting. Assumes one day
              # is an ok range for rebuilds
              echo "DATE=$(date +'%Y-%m-%d')" >> "$GITHUB_OUTPUT"
            id: tf-version
          -
            name: Build and push
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/TypeResolver.java

       *
       * <p>For example, when resolving {@code List<T>} in the context of {@code ArrayList<?>}, {@code
       * <T>} is covariantly resolved to {@code <?>} such that return type of {@code List::get} is
       * {@code <?>}.
       */
      static TypeResolver covariantly(Type contextType) {
        return new TypeResolver().where(TypeMappingIntrospector.getTypeMappings(contextType));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  5. cmd/bucket-replication-utils.go

    	if err != nil {
    		return sz, err
    	}
    	return int64(usz), nil
    }
    
    func extractReplicateDiffOpts(q url.Values) (opts madmin.ReplDiffOpts) {
    	opts.Verbose = q.Get("verbose") == "true"
    	opts.ARN = q.Get("arn")
    	opts.Prefix = q.Get("prefix")
    	return
    }
    
    const (
    	replicationMRFDir = bucketMetaPrefix + SlashSeparator + replicationDir + SlashSeparator + "mrf"
    	mrfMetaFormat     = 1
    	mrfMetaVersionV1  = 1
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jun 10 15:31:51 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  6. docs/pt/docs/alternatives.md

    ```Python
    response = requests.get("http://example.com/some/url")
    ```
    
    A contra-parte da aplicação FastAPI, *rota de operação*, poderia parecer como:
    
    ```Python hl_lines="1"
    @app.get("/some/url")
    def read_url():
        return {"message": "Hello World"}
    ```
    
    Veja as similaridades em `requests.get(...)` e `@app.get(...)`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

        for (Thread thread : threads) {
          assertTrue(thread.isAlive());
        }
      }
    
      /** Checks that future.get times out, with the default timeout of {@code timeoutMillis()}. */
      void assertFutureTimesOut(Future<?> future) {
        assertFutureTimesOut(future, timeoutMillis());
      }
    
      /** Checks that future.get times out, with the given millisecond timeout. */
      void assertFutureTimesOut(Future<?> future, long timeoutMillis) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 37.9K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_request_form_models/test_tutorial001_an.py

                        "type": "value_error.missing",
                    },
                ]
            }
        )
    
    
    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 Sep 05 15:16:50 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py

        assert response.json() == {"msg": "Invoice received"}
    
    
    def test_dummy_callback():
        # Just for coverage
        invoice_notification({})
    
    
    def test_openapi_schema():
        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: Fri Jul 07 17:12:13 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/SortedMapInterfaceTest.java

        K key = secondEntry.getKey();
        SortedMap<K, V> subMap = map.tailMap(key);
        V value = getValueNotInPopulatedMap();
        subMap.put(key, value);
        assertEquals(secondEntry.getValue(), value);
        assertEquals(map.get(key), value);
        assertThrows(IllegalArgumentException.class, () -> subMap.put(firstEntry.getKey(), value));
      }
    
      public void testTailMapRemoveThrough() {
        SortedMap<K, V> map;
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 20:00:30 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top