Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 119 for limit (0.15 sec)

  1. cmd/server-rlimit.go

    		return err
    	}
    
    	// Set max memory limit as current memory limit.
    	if _, maxLimit, err = sys.GetMaxMemoryLimit(); err != nil {
    		return err
    	}
    
    	// set debug memory limit instead of GOMEMLIMIT env
    	_ = setDebugMemoryLimit(ctx)
    
    	err = sys.SetMaxMemoryLimit(maxLimit, maxLimit)
    	return err
    }
    
    func setDebugMemoryLimit(ctx *cli.Context) error {
    	if ctx == nil {
    		return nil
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. cmd/handler-api.go

    	if runtime.GOOS == "linux" {
    		// Useful in container mode
    		limit := cgroupMemLimit()
    		if limit > 0 {
    			// A valid value is found, return its 75%
    			available = (limit * 3) / 4
    			return
    		}
    	} // for all other platforms limits are based on virtual memory.
    
    	memStats, err := mem.VirtualMemory()
    	if err != nil {
    		return
    	}
    	// A valid value is available return its 75%
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 09:22:27 GMT 2024
    - 10K bytes
    - Viewed (0)
  3. tests/test_dependency_overrides.py

            "in": "main-depends",
            "params": {"q": "foo", "skip": 0, "limit": 100},
        }
    
    
    def test_main_depends_q_foo_skip_100_limit_200():
        response = client.get("/main-depends/?q=foo&skip=100&limit=200")
        assert response.status_code == 200
        assert response.json() == {
            "in": "main-depends",
            "params": {"q": "foo", "skip": 100, "limit": 200},
        }
    
    
    def test_decorator_depends():
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  4. cmd/metacache-set.go

    	// used when o.Versioned is false
    	if !o.Versioned {
    		resolver.requestedVersions = 1
    	}
    	var limit int
    	if o.Limit > 0 && o.StopDiskAtLimit {
    		// Over-read by 4 + 1 for every 16 in limit to give some space for resolver,
    		// allow for truncating the list and know if we have more results.
    		limit = o.Limit + 4 + (o.Limit / 16)
    	}
    	ctxDone := ctx.Done()
    	return listPathRaw(ctx, listPathRawOptions{
    		disks:         disks,
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 26 19:52:52 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. cmd/metacache-walk.go

    	// Should never contain a slash.
    	FilterPrefix string
    
    	// ForwardTo will forward to the given object path.
    	ForwardTo string
    
    	// Limit the number of returned objects if > 0.
    	Limit int
    
    	// DiskID contains the disk ID of the disk.
    	// Leave empty to not check disk ID.
    	DiskID string
    }
    
    // supported FS for Nlink optimization in readdir.
    const (
    	xfs  = "XFS"
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 15 08:25:46 GMT 2024
    - 12.4K bytes
    - Viewed (0)
  6. chainable_api.go

    				}},
    			})
    		}
    	}
    	return
    }
    
    // Limit specify the number of records to be retrieved
    //
    // Limit conditions can be cancelled by using `Limit(-1)`.
    //
    //	// retrieve 3 users
    //	db.Limit(3).Find(&users)
    //	// retrieve 3 users into users1, and all users into users2
    //	db.Limit(3).Find(&users1).Limit(-1).Find(&users2)
    func (db *DB) Limit(limit int) (tx *DB) {
    	tx = db.getInstance()
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Apr 17 03:38:55 GMT 2024
    - 14.3K bytes
    - Viewed (1)
  7. docs/tr/docs/tutorial/query-params.md

    Örneğin, aşağıdaki bağlantıda:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    ...sorgu parametreleri şunlardır:
    
    * `skip`: değeri `0`'dır
    * `limit`: değeri `10`'dır
    
    Parametreler bağlantının bir parçası oldukları için doğal olarak string olarak değerlendirilirler.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_query_params/test_tutorial006.py

                                        "title": "Limit",
                                    }
                                )
                                | IsDict(
                                    # TODO: remove when deprecating Pydantic v1
                                    {"title": "Limit", "type": "integer"}
                                ),
                                "name": "limit",
                                "in": "query",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/query-params.md

    El query es el conjunto de pares de key-value que van después del `?` en la URL, separados por caracteres `&`.
    
    Por ejemplo, en la URL:
    
    ```
    http://127.0.0.1:8000/items/?skip=0&limit=10
    ```
    
    ...los parámetros de query son:
    
    * `skip`: con un valor de `0`
    * `limit`: con un valor de `10`
    
    Dado que son parte de la URL son strings "naturalmente".
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  10. .github/dependabot.yml

      - package-ecosystem: "gomod"
        directory: "/"
        schedule:
          interval: "daily"
        # Limit number of open PRs to 0 so that we only get security updates
        # See https://docs.github.com/en/code-security/dependabot/dependabot-security-updates/configuring-dependabot-security-updates
    Others
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Apr 16 13:25:37 GMT 2024
    - 439 bytes
    - Viewed (0)
Back to top