Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 692 for Khalid (0.2 sec)

  1. internal/bucket/object/lock/lock.go

    const (
    	// RetGovernance - governance mode.
    	RetGovernance RetMode = "GOVERNANCE"
    
    	// RetCompliance - compliance mode.
    	RetCompliance RetMode = "COMPLIANCE"
    )
    
    // Valid - returns if retention mode is valid
    func (r RetMode) Valid() bool {
    	switch r {
    	case RetGovernance, RetCompliance:
    		return true
    	}
    	return false
    }
    
    func parseRetMode(modeStr string) (mode RetMode) {
    	switch strings.ToUpper(modeStr) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 17.1K bytes
    - Viewed (0)
  2. internal/jwt/parser.go

    func (c *StandardClaims) SetAccessKey(accessKey string) {
    	c.Subject = accessKey
    	c.AccessKey = accessKey
    }
    
    // Valid - implements https://godoc.org/github.com/golang-jwt/jwt#Claims compatible
    // claims interface, additionally validates "accessKey" fields.
    func (c *StandardClaims) Valid() error {
    	if err := c.StandardClaims.Valid(); err != nil {
    		return err
    	}
    
    	if c.AccessKey == "" && c.Subject == "" {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  3. tests/test_serialize_response.py

    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str
        price: Optional[float] = None
        owner_ids: Optional[List[int]] = None
    
    
    @app.get("/items/valid", response_model=Item)
    def get_valid():
        return {"name": "valid", "price": 1.0}
    
    
    @app.get("/items/coerce", response_model=Item)
    def get_coerce():
        return {"name": "coerce", "price": "1.0"}
    
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Aug 03 12:29:07 GMT 2020
    - 1.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractChainedListenableFutureTest.java

        listener.assertException(error);
      }
    
      public void testAddListenerAfterCallback() throws Throwable {
        inputFuture.set(VALID_INPUT_DATA);
    
        listener.assertSuccess(getSuccessfulResult());
      }
    
      public void testFutureBeforeCallback() throws Throwable {
        inputFuture.set(VALID_INPUT_DATA);
    
        listener.assertSuccess(getSuccessfulResult());
      }
    
      public void testInputFutureToString() throws Throwable {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 3.4K bytes
    - Viewed (0)
  5. tests/scanner_valuer_test.go

    		Name:     sql.NullString{String: "name", Valid: true},
    		Gender:   &sql.NullString{String: "M", Valid: true},
    		Age:      sql.NullInt64{Int64: 18, Valid: true},
    		Male:     sql.NullBool{Bool: true, Valid: true},
    		Height:   sql.NullFloat64{Float64: 1.8888, Valid: true},
    		Birthday: sql.NullTime{Time: time.Now(), Valid: true},
    		Allergen: NullString{sql.NullString{String: "Allergen", Valid: true}},
    		Password: EncryptedData("pass1"),
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Jun 07 07:02:07 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  6. tests/test_multi_query_errors.py

                        "loc": ["query", "q", 0],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "five",
                    },
                    {
                        "type": "int_parsing",
                        "loc": ["query", "q", 1],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "six",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  7. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/SimpleIdnaMappingTable.kt

        // 3.
        "disallowed_STD3_valid ".encodeUtf8(),
        // 4.
        "ignored ".encodeUtf8(),
        // 5.
        "mapped ".encodeUtf8(),
        // 6.
        "valid ".encodeUtf8(),
      )
    
    internal const val TYPE_DEVIATION = 0
    internal const val TYPE_DISALLOWED = 1
    internal const val TYPE_DISALLOWED_STD3_MAPPED = 2
    internal const val TYPE_DISALLOWED_STD3_VALID = 3
    internal const val TYPE_IGNORED = 4
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  8. tests/test_path.py

                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "foobar",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["path", "item_id"],
                        "msg": "value is not a valid integer",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 34.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/net/HostSpecifier.java

       * parsing fails. Always use this method in preference to {@link #fromValid(String)} for a
       * specifier that is not already known to be valid.
       *
       * @throws ParseException if the specifier is not valid.
       */
      @CanIgnoreReturnValue // TODO(b/219820829): consider removing
      public static HostSpecifier from(String specifier) throws ParseException {
        try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 05 09:18:40 GMT 2023
    - 6K bytes
    - Viewed (0)
  10. internal/bucket/lifecycle/expiration_test.go

    	validationTestCases := []struct {
    		inputXML    string
    		expectedErr error
    	}{
    		{ // Expiration with a valid ISO 8601 date
    			inputXML: `<Expiration>
                                        <Date>2019-04-20T00:00:00Z</Date>
                                        </Expiration>`,
    			expectedErr: nil,
    		},
    		{ // Expiration with a valid number of days
    			inputXML: `<Expiration>
                                        <Days>3</Days>
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top