Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 674 for float32 (0.05 seconds)

  1. guava-tests/test/com/google/common/math/MathPreconditionsTest.java

      }
    
      public void testCheckNonNegative_zeroFloat() {
        MathPreconditions.checkNonNegative("float", 0f);
      }
    
      public void testCheckNonNegative_maxFloat() {
        MathPreconditions.checkNonNegative("float", Float.MAX_VALUE);
      }
    
      public void testCheckNonNegative_minFloat() {
        MathPreconditions.checkNonNegative("float", Float.MIN_VALUE);
      }
    
      public void testCheckNonNegative_positiveFloat() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 05:21:26 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  2. docs/ko/docs/tutorial/path-params-numeric-validations.md

    * `gt`: `g`reater `t`han
    * `le`: `l`ess than or `e`qual
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py310.py hl[10] *}
    
    ## 숫자 검증: 부동소수, 크거나 및 작거나 { #number-validations-floats-greater-than-and-less-than }
    
    숫자 검증은 `float` 값에도 동작합니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/path-params-numeric-validations.md

    * `gt`:大于(`g`reater `t`han)
    * `le`:小于等于(`l`ess than or `e`qual)
    
    {* ../../docs_src/path_params_numeric_validations/tutorial005_an_py310.py hl[10] *}
    
    ## 数值校验:浮点数、大于和小于 { #number-validations-floats-greater-than-and-less-than }
    
    数值校验同样适用于 `float` 值。
    
    能够声明 <abbr title="greater than - 大于"><code>gt</code></abbr> 而不仅仅是 <abbr title="greater than or equal - 大于等于"><code>ge</code></abbr> 在这里变得很重要。例如,你可以要求一个值必须大于 `0`,即使它小于 `1`。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 6K bytes
    - Click Count (0)
  4. cmd/tier.go

    		metrics = append(metrics, MetricV2{
    			Description:    tierRequestsSuccessMD,
    			Value:          float64(stat.success),
    			VariableLabels: map[string]string{"tier": tier},
    		})
    		metrics = append(metrics, MetricV2{
    			Description:    tierRequestsFailureMD,
    			Value:          float64(stat.failure),
    			VariableLabels: map[string]string{"tier": tier},
    		})
    	}
    	return metrics
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. src/cmd/asm/internal/asm/testdata/riscv64validation.s

    	VFMULVV		X10, V2, V3			// ERROR "expected vector register in vs1 position"
    	VFMULVF		X10, V2, V3			// ERROR "expected float register in rs1 position"
    	VFDIVVV		X10, V2, V3			// ERROR "expected vector register in vs1 position"
    	VFDIVVF		X10, V2, V3			// ERROR "expected float register in rs1 position"
    	VFRDIVVF	X10, V2, V3			// ERROR "expected float register in rs1 position"
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Nov 13 12:17:37 GMT 2025
    - 42.1K bytes
    - Click Count (0)
  6. cmd/erasure-server-pool-rebalance.go

    		totalFree += disk.AvailableSpace
    
    		diskStats[disk.PoolIndex].AvailableSpace += disk.AvailableSpace
    		diskStats[disk.PoolIndex].TotalSpace += disk.TotalSpace
    	}
    	r.PercentFreeGoal = float64(totalFree) / float64(totalCap)
    
    	now := time.Now()
    	for idx := range z.serverPools {
    		r.PoolStats[idx] = &rebalanceStats{
    			Buckets:           make([]string, len(buckets)),
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 28.7K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        List<Float> floats = Arrays.asList(0.0f, 1.0f, 2.0f);
        List<Long> longs = Arrays.asList(0L, 1L, 2L);
        List<Double> doubles = Arrays.asList(0.0, 1.0, 2.0);
    
        assertThat(Doubles.toArray(bytes)).isEqualTo(array);
        assertThat(Doubles.toArray(shorts)).isEqualTo(array);
        assertThat(Doubles.toArray(ints)).isEqualTo(array);
        assertThat(Doubles.toArray(floats)).isEqualTo(array);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  8. tests/test_allow_inf_nan_in_enforcing.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    
    
    @app.post("/")
    async def get(
        x: Annotated[float, Query(allow_inf_nan=True)] = 0,
        y: Annotated[float, Query(allow_inf_nan=False)] = 0,
        z: Annotated[float, Query()] = 0,
        b: Annotated[float, Body(allow_inf_nan=False)] = 0,
    ) -> str:
        return "OK"
    
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsKeyMatchCQ.java

        }
    
        public void setBoost_Equal(Float boost) {
            setBoost_Term(boost, null);
        }
    
        public void setBoost_Equal(Float boost, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setBoost_Term(boost, opLambda);
        }
    
        public void setBoost_Term(Float boost) {
            setBoost_Term(boost, null);
        }
    
        public void setBoost_Term(Float boost, ConditionOptionCall<TermQueryBuilder> opLambda) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 68.6K bytes
    - Click Count (0)
  10. cmd/dynamic-timeouts.go

    	failures, maxDur := 0, time.Duration(0)
    	for _, dur := range entries[:] {
    		if dur == maxDuration {
    			failures++
    		} else if dur > maxDur {
    			maxDur = dur
    		}
    	}
    
    	failPct := float64(failures) / float64(len(entries))
    
    	if failPct > dynamicTimeoutIncreaseThresholdPct {
    		// We are hitting the timeout too often, so increase the timeout by 25%
    		timeout := min(
    			// Set upper cap.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.5K bytes
    - Click Count (0)
Back to Top