Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 352 for LIMIT (0.01 sec)

  1. 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 Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Jul 22 06:21:04 UTC 2025
    - 51K bytes
    - Viewed (0)
  2. android/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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResourceException.java

        }
    
        private String generateRecoveryHint() {
            switch (resourceType) {
            case FILE_HANDLE:
                return "Close unused file handles or increase the file handle limit";
            case CONNECTION:
                return "Close idle connections or increase the connection pool size";
            case MEMORY:
                return "Reduce buffer sizes or increase heap memory";
            case DISK_SPACE:
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  4. .github/workflows/stale-issues.yml

              exempt-issue-labels: 'override-stale'
              #Comma separated list of labels that can be assigned to PRs to exclude them from being marked as stale
              exempt-pr-labels: "override-stale"
              #Limit the No. of API calls in one run default value is 30.
              operations-per-run: 1000
              days-before-issue-stale: 7
              days-before-issue-close: 7
              stale-issue-label: "stale"
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Sat Feb 01 08:42:17 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  5. 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 Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Apr 09 14:28:39 UTC 2025
    - 15K bytes
    - Viewed (0)
  6. .github/workflows/contributors.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
            env:
              GITHUB_TOKEN: ${{ secrets.FASTAPI_PR_TOKEN }}
          - name: FastAPI People Contributors
            run: python ./scripts/contributors.py
            env:
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. .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 Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Aug 15 21:44:06 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertThrows(IllegalArgumentException.class, () -> Iterators.limit(list.iterator(), -1));
    
        assertFalse(Iterators.limit(list.iterator(), 0).hasNext());
        assertFalse(Iterators.limit(list.iterator(), 1).hasNext());
    
        list.add("cool");
        assertFalse(Iterators.limit(list.iterator(), 0).hasNext());
        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 1)));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

            check(currentPart == this) { "closed" }
    
            return source.timeout().intersectWith(timeout) {
              when (val limit = currentPartBytesRemaining(maxByteCount = byteCount)) {
                0L -> -1L // No more bytes in this part.
                else -> source.read(sink, limit)
              }
            }
          }
    
          override fun timeout(): Timeout = timeout
        }
    
        /**
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  10. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
Back to top