Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 3,791 for greater (0.27 sec)

  1. android/guava/src/com/google/common/collect/Comparators.java

      /**
       * Returns a {@code Collector} that returns the {@code k} greatest (relative to the specified
       * {@code Comparator}) input elements, in descending order, as an unmodifiable {@code List}. Ties
       * are broken arbitrarily.
       *
       * <p>For example:
       *
       * <pre>{@code
       * Stream.of("foo", "quux", "banana", "elephant")
       *     .collect(greatest(2, comparingInt(String::length)))
       * // returns {"elephant", "banana"}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. docs_src/body_fields/tutorial001_an.py

    class Item(BaseModel):
        name: str
        description: Union[str, None] = Field(
            default=None, title="The description of the item", max_length=300
        )
        price: float = Field(gt=0, description="The price must be greater than zero")
        tax: Union[float, None] = None
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]):
        results = {"item_id": item_id, "item": item}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 611 bytes
    - Viewed (0)
  3. pkg/scheduler/framework/runtime/util_others_test.go

    limitations under the License.
    */
    
    package runtime
    
    import (
    	"testing"
    )
    
    func checkLatency(t *testing.T, value float64) {
    	if value <= 0 {
    		t.Errorf("Expect latency to be greater than 0, got: %v", value)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 29 16:32:26 UTC 2022
    - 788 bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/SignedBytes.java

          if (array[i] < min) {
            min = array[i];
          }
        }
        return min;
      }
    
      /**
       * Returns the greatest value present in {@code array}.
       *
       * @param array a <i>nonempty</i> array of {@code byte} values
       * @return the value present in {@code array} that is greater than or equal to every other value
       *     in the array
       * @throws IllegalArgumentException if {@code array} is empty
       */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Apr 22 13:09:25 UTC 2021
    - 7.5K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/clientset/versioned/clientset.go

    	configShallowCopy := *c
    	if configShallowCopy.RateLimiter == nil && configShallowCopy.QPS > 0 {
    		if configShallowCopy.Burst <= 0 {
    			return nil, fmt.Errorf("burst is required to be greater than 0 when RateLimiter is not set and QPS is set to greater than 0")
    		}
    		configShallowCopy.RateLimiter = flowcontrol.NewTokenBucketRateLimiter(configShallowCopy.QPS, configShallowCopy.Burst)
    	}
    
    	var cs Clientset
    	var err error
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 23 18:26:20 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/path-params-numeric-validations.md

    Validações numéricas também funcionam para valores do tipo `float`.
    
    Aqui é onde se torna importante a possibilidade de declarar <abbr title="greater than"><code>gt</code></abbr> e não apenas <abbr title="greater than or equal"><code>ge</code></abbr>. Com isso você pode especificar, por exemplo, que um valor deve ser maior que `0`, ainda que seja menor que `1`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. security/pkg/pki/ra/common.go

    	if requestedLifetime.Seconds() <= 0 {
    		lifetime = raOpts.DefaultCertTTL
    	}
    	// If the requested TTL is greater than maxCertTTL, return an error
    	if requestedLifetime.Seconds() > raOpts.MaxCertTTL.Seconds() {
    		return lifetime, raerror.NewError(raerror.TTLError, fmt.Errorf(
    			"requested TTL %s is greater than the max allowed TTL %s", requestedLifetime, raOpts.MaxCertTTL))
    	}
    	return lifetime, nil
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Sep 11 19:57:30 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  8. pkg/apis/core/v1/validation/validation.go

    	"k8s.io/kubernetes/pkg/apis/core/helper"
    	v1helper "k8s.io/kubernetes/pkg/apis/core/v1/helper"
    	apivalidation "k8s.io/kubernetes/pkg/apis/core/validation"
    )
    
    const isNegativeErrorMsg string = `must be greater than or equal to 0`
    const isNotIntegerErrorMsg string = `must be an integer`
    
    // ValidateResourceRequirements will check if any of the resource
    // Limits/Requests are of a valid value. Any incorrect value will be added to
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Oct 28 07:31:28 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/lite/tests/mlir2flatbuffer/tfl_while_op.mlir

    // CHECK-NEXT:     version: 1,
    // CHECK-NEXT:     builtin_code: WHILE
    // CHECK-NEXT:   }, {
    // CHECK-NEXT:     deprecated_builtin_code: 61,
    // CHECK-NEXT:     version: 1,
    // CHECK-NEXT:     builtin_code: GREATER
    // CHECK-NEXT:   }, {
    // CHECK-NEXT:     deprecated_builtin_code: 41,
    // CHECK-NEXT:     version: 1,
    // CHECK-NEXT:     builtin_code: SUB
    // CHECK-NEXT:   }, {
    // CHECK-NEXT:     version: 1
    // CHECK-NEXT:   } ],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 14 16:41:28 UTC 2022
    - 7.5K bytes
    - Viewed (0)
  10. cmd/kube-controller-manager/app/options/options_test.go

    			options: &JobControllerOptions{
    				&jobconfig.JobControllerConfiguration{
    					ConcurrentJobSyncs: 0,
    				},
    			},
    		},
    		{
    			name:                   "CronJobControllerOptions ConcurrentCronJobSyncs equal 0",
    			expectErrors:           true,
    			expectedErrorSubString: "concurrent-cron-job-syncs must be greater than 0",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top