Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 199 for Computed (0.05 sec)

  1. android/guava-tests/test/com/google/common/cache/NullCacheTest.java

      }
    
      public void testGet() {
        Object computed = new Object();
        LoadingCache<Object, Object> cache =
            CacheBuilder.newBuilder()
                .maximumSize(0)
                .removalListener(listener)
                .build(constantLoader(computed));
    
        Object key = new Object();
        assertThat(cache.getUnchecked(key)).isSameInstanceAs(computed);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/NullCacheTest.java

      }
    
      public void testGet() {
        Object computed = new Object();
        LoadingCache<Object, Object> cache =
            CacheBuilder.newBuilder()
                .maximumSize(0)
                .removalListener(listener)
                .build(constantLoader(computed));
    
        Object key = new Object();
        assertThat(cache.getUnchecked(key)).isSameInstanceAs(computed);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 11 20:07:52 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. internal/etag/reader.go

    	return ETag(sum)
    }
    
    // VerifyError is an error signaling that a
    // computed ETag does not match an expected
    // ETag.
    type VerifyError struct {
    	Expected ETag
    	Computed ETag
    }
    
    func (v VerifyError) Error() string {
    	return fmt.Sprintf("etag: expected ETag %q does not match computed ETag %q", v.Expected, v.Computed)
    }
    
    // UUIDHash - use uuid to make md5sum
    type UUIDHash struct {
    	uuid []byte
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/Tags.kt

      type: KClass<T>,
      compute: () -> T,
    ): T {
      var computed: T? = null
    
      while (true) {
        val tags = get()
    
        // If the element is already present. Return it.
        val existing = tags[type]
        if (existing != null) return existing
    
        if (computed == null) {
          computed = compute()
        }
    
        // If we successfully add the computed element, we're done.
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:37:46 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  5. tests/test_openapi_separate_input_output_schemas.py

        response = client.post("/with-computed-field/", json={"name": "example"})
        response2 = client_no.post("/with-computed-field/", json={"name": "example"})
        assert response.status_code == response2.status_code == 200, response.text
        assert (
            response.json()
            == response2.json()
            == {
                "name": "example",
                "computed_field": "computed example",
            }
        )
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Call.kt

       * tags are computed.
       */
      fun <T : Any> tag(type: KClass<T>): T?
    
      /**
       * Returns the tag attached with [type] as a key, or null if no tag is attached with that key.
       *
       * The tags on a call are seeded from the [request tags][Request.tag]. This set will grow if new
       * tags are computed.
       */
      fun <T> tag(type: Class<out T>): T?
    
      /**
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  7. internal/hash/reader.go

    	"github.com/minio/minio/internal/ioutil"
    )
    
    // A Reader wraps an io.Reader and computes the MD5 checksum
    // of the read content as ETag. Optionally, it also computes
    // the SHA256 checksum of the content.
    //
    // If the reference values for the ETag and content SHA26
    // are not empty then it will check whether the computed
    // match the reference values.
    type Reader struct {
    	src         io.Reader
    	bytesRead   int64
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Jun 25 15:08:54 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/Dependency.java

     * The flatten phase keeps only a single version per ({@code groupId}, {@code artifactId}) pair.
     * The resolution phase actually downloads the dependencies (or artifacts) that have been computed.
     *
     * @since 4.0.0
     */
    @Experimental
    @Immutable
    public interface Dependency extends Artifact {
        /**
         * {@return the type of the dependency}.
         * A dependency can be a <abbr>JAR</abbr> file,
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jun 26 07:56:58 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. internal/crypto/error.go

    	// ErrCustomerKeyMD5Mismatch indicates that the SSE-C key MD5 does not match the
    	// computed MD5 sum. This means that the client provided either the wrong key for
    	// a certain MD5 checksum or the wrong MD5 for a certain key.
    	ErrCustomerKeyMD5Mismatch = Errorf("The provided SSE-C key MD5 does not match the computed MD5 of the SSE-C key")
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  10. internal/etag/etag.go

    // and SSE-KMS - with different semantics w.r.t. ETags.
    // In case of SSE-S3, the ETag of an object is computed the same as
    // for single resp. multipart plaintext objects. In particular,
    // the ETag of a singlepart SSE-S3 object is its content MD5.
    //
    // In case of SSE-C and SSE-KMS, the ETag of an object is computed
    // differently. For singlepart uploads the ETag is not the content
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri May 16 14:27:42 UTC 2025
    - 13.2K bytes
    - Viewed (0)
Back to top