Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,108 for numIter (0.09 sec)

  1. tests/associations_has_one_test.go

    func TestHasOneAssociationWithSelect(t *testing.T) {
    	user := *GetUser("hasone", Config{Account: true})
    
    	DB.Omit("Account.Number").Create(&user)
    
    	AssertAssociationCount(t, user, "Account", 1, "")
    
    	var account Account
    	DB.Model(&user).Association("Account").Find(&account)
    	if account.Number != "" {
    		t.Errorf("account's number should not be saved")
    	}
    }
    
    func TestHasOneAssociationForSlice(t *testing.T) {
    	users := []User{
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. internal/event/targetlist.go

    type TargetStat struct {
    	CurrentSendCalls int64 // CurrentSendCalls is the number of concurrent async Send calls to all targets
    	CurrentQueue     int   // Populated if target has a store.
    	TotalEvents      int64
    	FailedEvents     int64 // Number of failed events per target
    }
    
    // TargetList - holds list of targets indexed by target ID.
    type TargetList struct {
    	// The number of concurrent async Send calls to all targets
    	currentSendCalls  atomic.Int64
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_body_updates/test_tutorial001.py

                            },
                            "price": {
                                "anyOf": [{"type": "number"}, {"type": "null"}],
                                "title": "Price",
                            },
                            "tax": {"title": "Tax", "type": "number", "default": 10.5},
                            "tags": {
                                "title": "Tags",
                                "type": "array",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_body_updates/test_tutorial001_py310.py

                            },
                            "price": {
                                "anyOf": [{"type": "number"}, {"type": "null"}],
                                "title": "Price",
                            },
                            "tax": {"title": "Tax", "type": "number", "default": 10.5},
                            "tags": {
                                "title": "Tags",
                                "type": "array",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  5. cmd/object-api-multipart_test.go

    		// Test case with keyMarker set equal to number of parts in the result. (Test number 18).
    		{bucketNames[0], "", "min", "", "", 1, listMultipartResults[5], nil, true},
    		// Test case with keyMarker set to 0. (Test number 19).
    		{bucketNames[0], "", "min", "", "", 0, listMultipartResults[6], nil, true},
    		// Test case with keyMarker less than 0. (Test number 20).
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 88.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public <N1 extends Number, N2 extends Number, N11 extends N1>
          void testisSupertypeOf_equalWildcardTypes() {
        assertAssignable(
            new TypeToken<List<? extends N1>>() {}, new TypeToken<List<? extends N1>>() {});
        assertAssignable(new TypeToken<List<? super N1>>() {}, new TypeToken<List<? super N1>>() {});
        assertAssignable(
            new TypeToken<List<? extends Number>>() {}, new TypeToken<List<? extends Number>>() {});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_dataclasses/test_tutorial001.py

            {
                "detail": [
                    {
                        "type": "float_parsing",
                        "loc": ["body", "price"],
                        "msg": "Input should be a valid number, unable to parse string as a number",
                        "input": "invalid price",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  8. internal/config/ilm/help.go

    	Help = config.HelpKVS{
    		config.HelpKV{
    			Key:         transitionWorkers,
    			Type:        "number",
    			Description: `set the number of transition workers` + defaultHelpPostfix(transitionWorkers),
    			Optional:    true,
    		},
    		config.HelpKV{
    			Key:         expirationWorkers,
    			Type:        "number",
    			Description: `set the number of expiration workers` + defaultHelpPostfix(expirationWorkers),
    			Optional:    true,
    		},
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 30 08:14:58 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/RateLimiter.java

      }
    
      /**
       * Acquires the given number of permits from this {@code RateLimiter}, blocking until the request
       * can be granted. Tells the amount of time slept, if any.
       *
       * @param permits the number of permits to acquire
       * @return time spent sleeping to enforce rate, in seconds; 0.0 if not rate-limited
       * @throws IllegalArgumentException if the requested number of permits is negative or zero
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

      public <N1 extends Number, N2 extends Number, N11 extends N1>
          void testisSupertypeOf_equalWildcardTypes() {
        assertAssignable(
            new TypeToken<List<? extends N1>>() {}, new TypeToken<List<? extends N1>>() {});
        assertAssignable(new TypeToken<List<? super N1>>() {}, new TypeToken<List<? super N1>>() {});
        assertAssignable(
            new TypeToken<List<? extends Number>>() {}, new TypeToken<List<? extends Number>>() {});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 21:13:09 UTC 2024
    - 89.1K bytes
    - Viewed (0)
Back to top