Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for limit (0.17 sec)

  1. tests/query_test.go

    		*GetUser("find_in_batches_with_offset_limit", Config{}),
    		*GetUser("find_in_batches_with_offset_limit", Config{}),
    		*GetUser("find_in_batches_with_offset_limit", Config{}),
    		*GetUser("find_in_batches_with_offset_limit", Config{}),
    		*GetUser("find_in_batches_with_offset_limit", Config{}),
    		*GetUser("find_in_batches_with_offset_limit", Config{}),
    		*GetUser("find_in_batches_with_offset_limit", Config{}),
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Thu Apr 25 12:22:53 GMT 2024
    - 49.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 2)));
    
        list.add("pants");
        assertFalse(Iterators.limit(list.iterator(), 0).hasNext());
        assertEquals(ImmutableList.of("cool"), newArrayList(Iterators.limit(list.iterator(), 1)));
        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 2)));
        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 3)));
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 56.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 2)));
    
        list.add("pants");
        assertFalse(Iterators.limit(list.iterator(), 0).hasNext());
        assertEquals(ImmutableList.of("cool"), newArrayList(Iterators.limit(list.iterator(), 1)));
        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 2)));
        assertEquals(list, newArrayList(Iterators.limit(list.iterator(), 3)));
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 55.7K bytes
    - Viewed (0)
  4. 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
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 53.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Iterators.java

       *
       * @param iterator the iterator to limit
       * @param limitSize the maximum number of elements in the returned iterator
       * @throws IllegalArgumentException if {@code limitSize} is negative
       * @since 3.0
       */
      public static <T extends @Nullable Object> Iterator<T> limit(
          Iterator<T> iterator, int limitSize) {
        checkNotNull(iterator);
        checkArgument(limitSize >= 0, "limit is negative");
        return new Iterator<T>() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  6. 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
        ```
        """
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  7. common/scripts/metallb-native.yaml

                      with lower localpref.
                    format: int32
                    type: integer
                  nodeSelectors:
                    description: NodeSelectors allows to limit the nodes to announce as
                      next hops for the LoadBalancer IP. When empty, all the nodes having  are
                      announced as next hops.
                    items:
    Others
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Feb 23 23:56:31 GMT 2024
    - 63.9K bytes
    - Viewed (0)
  8. cmd/erasure-server-pool.go

    	if len(p) <= 1 {
    		// Nothing to do.
    		return
    	}
    	var ok bool
    	for _, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    			ok = true
    			break
    		}
    	}
    	if !ok {
    		// All above limit.
    		// Do not modify
    		return
    	}
    
    	// Remove entries that are above.
    	for i, z := range p {
    		if z.Available > 0 && z.MaxUsedPct < max {
    			continue
    		}
    		p[i].Available = 0
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  9. .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
    
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  10. cmd/api-errors.go

    		HTTPStatusCode: http.StatusServiceUnavailable,
    	},
    	ErrMaxVersionsExceeded: {
    		Code:           "MaxVersionsExceeded",
    		Description:    "You've exceeded the limit on the number of versions you can create on this object",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrInvalidPrefixMarker: {
    		Code:           "InvalidPrefixMarker",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
Back to top