Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,524 for shouldn (0.17 sec)

  1. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

     * to set the result of the computation through the protected methods {@link #set(Object)}, {@link
     * #setFuture(ListenableFuture)} and {@link #setException(Throwable)}. Subclasses may also override
     * {@link #afterDone()}, which will be invoked automatically when the future completes. Subclasses
     * should rarely override other methods.
     *
     * @author Sven Mawson
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  2. cmd/signature-v4-utils_test.go

    		// Test case - 5.
    		// Enabling PreSigned Signature v4, but X-Amz-Content-Sha256 set and its not UNSIGNED-PAYLOAD, we shouldn't skip.
    		{"X-Amz-Content-Sha256", "somevalue", "X-Amz-Credential", "", false},
    
    		// Test case - 6.
    		// Test case with "X-Amz-Content-Sha256" header set to  "UNSIGNED-PAYLOAD" and its not presigned, we should skip.
    		{"X-Amz-Content-Sha256", unsignedPayload, "", "", true},
    
    		// Test case - 7.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Apr 05 21:26:41 GMT 2024
    - 14.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

      public void testNullPointers() {
        /*
         * Don't bother testing: Preconditions defines a bunch of methods that accept a template (or
         * even entire message) that simultaneously:
         *
         * - _shouldn't_ be null, so we don't annotate it with @Nullable
         *
         * - _can_ be null without causing a runtime failure (because we don't want the interesting
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      internal var errorException: IOException? = null
    
      init {
        if (headers != null) {
          check(!isLocallyInitiated) { "locally-initiated streams shouldn't have headers yet" }
          headersQueue += headers
        } else {
          check(isLocallyInitiated) { "remotely-initiated streams should have headers" }
        }
      }
    
      /**
       * Returns true if this stream is open. A stream is open until either:
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  5. tests/migrate_test.go

    	}
    
    	// RelationModel3 should be existed
    	_, err = findColumnType(&RelationModel3{}, "id")
    	AssertEqual(t, nil, err)
    
    	// RelationModel1 should not be existed
    	_, err = findColumnType(&RelationModel1{}, "id")
    	if err == nil {
    		t.Errorf("RelationModel1 should not be migrated")
    	}
    
    	// RelationModel2 should not be existed
    	_, err = findColumnType(&RelationModel2{}, "id")
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Mon Mar 18 11:24:16 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertFalse(
            from.getType() + " shouldn't be assignable to " + to.getType(), to.isSupertypeOf(from));
        assertFalse(
            to.getType() + " shouldn't be a supertype of " + from.getType(), to.isSupertypeOf(from));
        assertFalse(
            from.getType() + " shouldn't be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/dependencies-with-yield.md

    ### Always `raise` in Dependencies with `yield` and `except`
    
    If you catch an exception in a dependency with `yield`, unless you are raising another `HTTPException` or similar, you should re-raise the original exception.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Feb 24 23:06:37 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(synStream.streamId).isEqualTo(3)
        assertThat(synStream.associatedStreamId).isEqualTo(-1)
        assertThat(synStream.headerBlock).isEqualTo(headerEntries("a", "artichaut"))
      }
    
      /** A server RST_STREAM shouldn't prevent the client from consuming the response body.  */
      @Test fun serverResponseBodyRstStream() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
        peer.acceptFrame() // ACK
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
  9. docs/en/docs/tutorial/body-nested-models.md

        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="14"
        {!> ../../../docs_src/body_nested_models/tutorial002.py!}
        ```
    
    ## Set types
    
    But then we think about it, and realize that tags shouldn't repeat, they would probably be unique strings.
    
    And Python has a special data type for sets of unique items, the `set`.
    
    Then we can declare `tags` as a set of strings:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  10. cmd/bucket-handlers_test.go

    		}
    
    	}
    
    	// Test for Anonymous/unsigned http request.
    	// ListBucketsHandler doesn't support bucket policies, setting the policies shouldn't make any difference.
    	anonReq, err := newTestRequest(http.MethodGet, getBucketLocationURL("", bucketName), 0, nil)
    	if err != nil {
    		t.Fatalf("MinIO %s: Failed to create an anonymous request.", instanceType)
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 39.5K bytes
    - Viewed (2)
Back to top