Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,959 for limitTo (0.13 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/WorkValidationException.java

                this.problems = problems.stream()
                        .limit(Integer.getInteger(MAX_ERR_COUNT_PROPERTY, DEFAULT_MAX_ERR_COUNT)) // Only retrieve the property upon building an error report
                        .collect(toImmutableList());
            }
    
            public Builder limitTo(int maxProblems) {
                return new Builder(problems.stream().limit(maxProblems).collect(Collectors.toList()));
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Oct 09 14:11:31 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    		// Default is recursive, if delimiter is set then list non recursive.
    		objects := merged.fileInfos(bucket, prefix, delimiter)
    		loi.IsTruncated = err == nil && len(objects) > 0
    		if limitTo > 0 && len(objects) > limitTo {
    			objects = objects[:limitTo]
    			loi.IsTruncated = true
    		}
    		for _, obj := range objects {
    			if obj.IsDir && obj.ModTime.IsZero() && delimiter != "" {
    				// Only add each once.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  3. clause/limit_test.go

    			"SELECT * FROM `users` LIMIT ? OFFSET ?",
    			[]interface{}{limit10, 30},
    		},
    		{
    			[]clause.Interface{clause.Select{}, clause.From{}, clause.Limit{Limit: &limit10, Offset: 20}, clause.Limit{Offset: 30}, clause.Limit{Offset: -10}},
    			"SELECT * FROM `users` LIMIT ?",
    			[]interface{}{limit10},
    		},
    		{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. docs/minio-limits.md

    # MinIO Server Limits Per Tenant
    
    For optimal production setup MinIO recommends Linux kernel version 4.x and later.
    
    ## Erasure Code (Multiple Drives / Servers)
    
    | Item                                                            | Specification |
    |:----------------------------------------------------------------|:--------------|
    | Maximum number of servers per cluster                           | no-limit      |
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  5. clause/limit.go

    // Limit limit clause
    type Limit struct {
    	Limit  *int
    	Offset int
    }
    
    // Name where clause name
    func (limit Limit) Name() string {
    	return "LIMIT"
    }
    
    // Build build where clause
    func (limit Limit) Build(builder Builder) {
    	if limit.Limit != nil && *limit.Limit >= 0 {
    		builder.WriteString("LIMIT ")
    		builder.AddVar(builder, *limit.Limit)
    	}
    	if limit.Offset > 0 {
    		if limit.Limit != nil && *limit.Limit >= 0 {
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 942 bytes
    - Viewed (0)
  6. src/cmd/go/internal/base/limit.go

    import (
    	"fmt"
    	"internal/godebug"
    	"runtime"
    	"strconv"
    	"sync"
    )
    
    var NetLimitGodebug = godebug.New("#cmdgonetlimit")
    
    // NetLimit returns the limit on concurrent network operations
    // configured by GODEBUG=cmdgonetlimit, if any.
    //
    // A limit of 0 (indicated by 0, true) means that network operations should not
    // be allowed.
    func NetLimit() (int, bool) {
    	netLimitOnce.Do(func() {
    		s := NetLimitGodebug.Value()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 19 02:47:12 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  7. cluster/gce/addons/limit-range/limit-range.yaml

    apiVersion: "v1"
    kind: "LimitRange"
    metadata:
      name: "limits"
      namespace: default
      labels:
        addonmanager.kubernetes.io/mode: EnsureExists
    spec:
      limits:
        - type: "Container"
          defaultRequest:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 06 20:10:12 UTC 2020
    - 226 bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    	if limiter := pl.Spec.Limited; limiter != nil {
    		return limiter.NominalConcurrencyShares, limiter.LendablePercent, limiter.BorrowingLimitPercent
    	}
    	limiter := pl.Spec.Exempt
    	var nominalConcurrencyShares int32
    	if limiter.NominalConcurrencyShares != nil {
    		nominalConcurrencyShares = *limiter.NominalConcurrencyShares
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/lister_watcher_test.go

    	obj2, err := lw.List(metav1.ListOptions{Limit: 2, Continue: limit1.Continue})
    	if err != nil {
    		t.Fatalf("List failed: %v", err)
    	}
    	limit2, ok := obj2.(*example.PodList)
    	if !ok {
    		t.Fatalf("Expected PodList but got %v", limit2)
    	}
    	if limit2.Continue != "" {
    		t.Errorf("Expected list not to have Continue, but got %s", limit1.Continue)
    	}
    
    	if limit1.Items[0].Name != objects[0].Name {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 11:51:06 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. cluster/addons/addon-manager/kube-addons-test.sh

      EDITOR="sed -i 's/50m/600m/'" kubectl edit limits/limits2 -n ${TEST_NS}
      if kubectl get limits/limits2 -n ${TEST_NS} -o yaml | grep --silent "50m"; then
        error "failed to edit resource with sed -- test is broken"
        return 1
      fi
      create_resource_from_string "${limitrange}" "10" "1" "limitrange.yaml" "${TEST_NS}"
      if ! ( kubectl get limits/limits2 -n ${TEST_NS} -o yaml | grep --silent "50m"); then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 25 02:46:18 UTC 2021
    - 9.3K bytes
    - Viewed (0)
Back to top