Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for limit (0.05 sec)

  1. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

          input: String,
          pos: Int,
          limit: Int,
        ): Int {
          var i = pos
          while (i < limit) {
            when (input[i]) {
              '[' -> {
                while (++i < limit) {
                  if (input[i] == ']') break
                }
              }
              ':' -> return i
            }
            i++
          }
          return limit // No colon.
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 09 12:33:05 UTC 2024
    - 63.5K bytes
    - Viewed (0)
  2. docs/bucket/notifications/README.md

    delivery_mode  (number)    set to '1' for non-persistent or '2' for persistent queue
    queue_dir      (path)      staging dir for undelivered messages e.g. '/home/events'
    queue_limit    (number)    maximum limit for undelivered messages, defaults to '100000'
    comment        (sentence)  optionally add a comment to this setting
    ```
    
    Or environment variables
    
    ```
    KEY:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 84K bytes
    - Viewed (0)
  3. internal/s3select/select_test.go

    			wantResult: `{"_1":0}`,
    		},
    		{
    			name:       "arithmetic_float_operand",
    			query:      `SELECT 1.0 / 2.0 * .3 FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":0.15}`,
    		},
    		{
    			name:       "arithmetic_integer_float_operand",
    			query:      `SELECT 3.0 / 2, 5 / 2.0 FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":1.5,"_2":2.5}`,
    		},
    		{
    			name:  "limit-1",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 76.2K bytes
    - Viewed (0)
  4. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  5. 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 Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 24 09:42:59 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 54.1K bytes
    - Viewed (0)
  7. kotlin-js-store/yarn.lock

      dependencies:
        wrappy "1"
    
    p-limit@^2.2.0:
      version "2.3.0"
      resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-2.3.0.tgz#3dd33c647a214fdfffd835933eb086da0dc21db1"
      integrity sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==
      dependencies:
        p-try "^2.0.0"
    
    p-limit@^3.0.2:
      version "3.1.0"
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 87.4K bytes
    - Viewed (0)
  8. common-protos/k8s.io/apimachinery/pkg/apis/meta/v1/generated.proto

      // the requested amount of items (up to zero items) in the event all requested objects are
      // filtered out and clients should only use the presence of the continue field to determine whether
      // more results are available. Servers may choose not to support the limit argument and will return
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  9. fastapi/param_functions.py

        from typing import Annotated
    
        from fastapi import Depends, FastAPI
    
        app = FastAPI()
    
    
        async def common_parameters(q: str | None = None, skip: int = 0, limit: int = 100):
            return {"q": q, "skip": skip, "limit": limit}
    
    
        @app.get("/items/")
        async def read_items(commons: Annotated[dict, Depends(common_parameters)]):
            return commons
        ```
        """
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 62.5K bytes
    - Viewed (0)
  10. .bazelrc

    # Sets the default Apple platform to macOS.
    build:macos --apple_platform_type=macos
    
    # gRPC on MacOS requires this #define
    build:macos --copt=-DGRPC_BAZEL_BUILD
    
    # Avoid hitting command line argument limit
    build:macos --features=archive_param_file
    
    # Settings for MacOS on ARM CPUs.
    build:macos_arm64 --cpu=darwin_arm64
    build:macos_arm64 --macos_minimum_os=11.0
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 28 22:02:31 UTC 2024
    - 51.3K bytes
    - Viewed (0)
Back to top