Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 565 for LIMIT (0.03 seconds)

  1. 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() {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 13.4K bytes
    - Click Count (0)
  2. helm/minio/templates/_helper_create_user.txt

    MINIO_ACCESSKEY_SECRETKEY_TMP="/tmp/accessKey_and_secretKey_tmp"
    
    # connectToMinio
    # Use a check-sleep-check loop to wait for MinIO service to be available
    connectToMinio() {
      SCHEME=$1
      ATTEMPTS=0 ; LIMIT=29 ; # Allow 30 attempts
      set -e ; # fail if we can't read the keys.
      ACCESS=$(cat /config/rootUser) ; SECRET=$(cat /config/rootPassword) ;
      set +e ; # The connections to minio are allowed to fail.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Dec 12 23:43:32 GMT 2023
    - 3.2K bytes
    - Click Count (0)
  3. internal/crypto/key_test.go

    package crypto
    
    import (
    	"bytes"
    	"crypto/rand"
    	"encoding/hex"
    	"io"
    	"testing"
    
    	"github.com/minio/minio/internal/logger"
    )
    
    var shortRandom = func(limit int64) io.Reader { return io.LimitReader(rand.Reader, limit) }
    
    func recoverTest(i int, shouldPass bool, t *testing.T) {
    	if err := recover(); err == nil && !shouldPass {
    		t.Errorf("Test %d should fail but passed successfully", i)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  4. internal/s3select/sql/parser.go

    type Select struct {
    	Expression *SelectExpression `parser:"\"SELECT\" @@"`
    	From       *TableExpression  `parser:"\"FROM\" @@"`
    	Where      *Expression       `parser:"( \"WHERE\" @@ )?"`
    	Limit      *LitValue         `parser:"( \"LIMIT\" @@ )?"`
    }
    
    // SelectExpression represents the items requested in the select
    // statement
    type SelectExpression struct {
    	All         bool                 `parser:"  @\"*\""`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Click Count (0)
  5. .github/dependabot.yml

        directory: "/"
        schedule:
          interval: "daily"
        labels:
          - "@dev-productivity"
          - "a:chore"
          - "in:building-gradle"
      - package-ecosystem: "gradle"
        open-pull-requests-limit: 0
        directory: "/"
        schedule:
          interval: "daily"
        labels:
          - "@dev-productivity"
          - "a:chore"
          - "in:building-gradle"
      - package-ecosystem: "maven"
        directory: "/.teamcity"
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Tue Oct 14 11:09:50 GMT 2025
    - 1K bytes
    - Click Count (0)
  6. 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
        }
    
        /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  7. 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) {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/escape/Escapers.java

       * null} if no replacement should be made. This method is intended for use in tests through the
       * {@code EscaperAsserts} class; production users of {@link CharEscaper} should limit themselves
       * to its public interface.
       *
       * @param c the character to escape if necessary
       * @return the replacement string, or {@code null} if no escaping was needed
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  9. 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
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  10. 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/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 462 bytes
    - Click Count (0)
Back to Top