Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 509 for LIMIT (0.14 sec)

  1. .github/workflows/sponsors.yml

          - name: Setup tmate session
            uses: mxschmitt/action-tmate@v3
            if: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.debug_enabled == 'true' }}
            with:
              limit-access-to-actor: true
          - name: FastAPI People Sponsors
            run: python ./scripts/sponsors.py
            env:
              SPONSORS_TOKEN: ${{ secrets.SPONSORS_TOKEN }}
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Nov 21 13:03:21 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. docs_src/query_param_models/tutorial001_py39.py

    from typing import Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    async def read_items(filter_query: FilterParams = Query()):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 422 bytes
    - Viewed (0)
  3. compat/maven-model/src/test/java/org/apache/maven/model/pom/PomMemoryAnalyzer.java

        }
    
        private List<ValueFrequency> getMostFrequentValues(Map<String, StringStats> stats, int limit) {
            return stats.entrySet().stream()
                    .map(e -> new ValueFrequency(e.getKey(), e.getValue().getOccurrences()))
                    .sorted((a, b) -> Long.compare(b.frequency, a.frequency))
                    .limit(limit)
                    .toList();
        }
    
        public void printAnalysis() {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Mar 21 04:56:21 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  4. docs_src/query_param_models/tutorial002_py310.py

    from typing import Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 462 bytes
    - Viewed (0)
  5. internal/store/queuestore_test.go

    	// Ext for test item
    	testItemExt = ".test"
    )
    
    // Initialize the queue store.
    func setUpQueueStore(directory string, limit uint64) (Store[TestItem], error) {
    	queueStore := NewQueueStore[TestItem](queueDir, limit, testItemExt)
    	if oErr := queueStore.Open(); oErr != nil {
    		return nil, oErr
    	}
    	return queueStore, nil
    }
    
    // Tear down queue store.
    func tearDownQueueStore() error {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. tests/query_test.go

    		{Name: "LimitUser6", Age: 20},
    	}
    
    	DB.Create(&users)
    
    	var users1, users2, users3 []User
    	DB.Order("age desc").Limit(3).Find(&users1).Limit(5).Find(&users2).Limit(-1).Find(&users3)
    
    	if len(users1) != 3 || len(users2) != 5 || len(users3) <= 5 {
    		t.Errorf("Limit should works, users1 %v users2 %v users3 %v", len(users1), len(users2), len(users3))
    	}
    }
    
    func TestOffset(t *testing.T) {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/BufferCache.java

            req.txn_buf = getBuffer();
            rsp.txn_buf = getBuffer();
        }
    
        /**
         * Returns a buffer to the cache for reuse.
         *
         * Performance: O(1) operation with size limit check
         *
         * @param buf the buffer to return to the cache
         */
        static public void releaseBuffer(final byte[] buf) {
            // Validate buffer before returning to cache
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  8. cmd/metacache-stream_test.go

    "src/compress/flate/testdata/huffman-rand-1k.wb.expect-noinput", "src/compress/flate/testdata/huffman-rand-limit.dyn.expect", "src/compress/flate/testdata/huffman-rand-limit.dyn.expect-noinput", "src/compress/flate/testdata/huffman-rand-limit.golden", "src/compress/flate/testdata/huffman-rand-limit.in", "src/compress/flate/testdata/huffman-rand-limit.wb.expect", "src/compress/flate/testdata/huffman-rand-limit.wb.expect-noinput", "src/compress/flate/testdata/huffman-rand-max.golden", "src/compress/flate/te...
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/exception/ResultOffsetExceededException.java

     * governing permissions and limitations under the License.
     */
    package org.codelibs.fess.exception;
    
    /**
     * This exception is thrown when the requested result offset exceeds the limit.
     */
    public class ResultOffsetExceededException extends FessSystemException {
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructor.
         * @param message The exception message.
         */
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/hash/PrimitiveSink.java

      /**
       * Puts the remaining bytes of a byte buffer into this sink. {@code bytes.position()} is the first
       * byte written, {@code bytes.limit() - 1} is the last. The position of the buffer will be equal
       * to the limit when this method returns.
       *
       * @param bytes a byte buffer
       * @return this instance
       * @since 23.0
       */
      @CanIgnoreReturnValue
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.9K bytes
    - Viewed (0)
Back to top