Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for wmin (0.04 sec)

  1. src/net/http/routing_index.go

    	var lmin, wmin []*pattern
    	min := math.MaxInt
    	hasLit := false
    	for i, seg := range pat.segments {
    		if seg.multi {
    			break
    		}
    		if !seg.wild {
    			hasLit = true
    			lpats := idx.segments[routingIndexKey{s: seg.s, pos: i}]
    			wpats := idx.segments[routingIndexKey{s: "", pos: i}]
    			if sum := len(lpats) + len(wpats); sum < min {
    				lmin = lpats
    				wmin = wpats
    				min = sum
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 19 18:35:22 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/runtime/minmax.go

    	if y > x {
    		return y
    	}
    	return x
    }
    
    func fmin32(x, y float32) float32 { return fmin(x, y) }
    func fmin64(x, y float64) float64 { return fmin(x, y) }
    func fmax32(x, y float32) float32 { return fmax(x, y) }
    func fmax64(x, y float64) float64 { return fmax(x, y) }
    
    type floaty interface{ ~float32 | ~float64 }
    
    func fmin[F floaty](x, y F) F {
    	if y != y || y < x {
    		return y
    	}
    	if x != x || x < y || x != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 18:15:22 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. src/runtime/testdata/testprogcgo/windows/win.go

    Than McIntosh <******@****.***> 1644269521 -0500
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 31 15:59:22 UTC 2022
    - 169 bytes
    - Viewed (0)
  4. test/typeparam/min.go

    	~int | ~int64 | ~float64 | ~string
    }
    
    func min[T Ordered](x, y T) T {
    	if x < y {
    		return x
    	}
    	return y
    }
    
    func main() {
    	const want = 2
    	if got := min[int](2, 3); got != want {
    		panic(fmt.Sprintf("got %d, want %d", got, want))
    	}
    
    	if got := min(2, 3); got != want {
    		panic(fmt.Sprintf("want %d, got %d", want, got))
    	}
    
    	if got := min[float64](3.5, 2.0); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 979 bytes
    - Viewed (0)
  5. cmd/metrics-v3-system-cpu.go

    	sysCPUAvgIOWaitMD = NewGaugeMD(sysCPUAvgIOWait, "Average CPU IOWait time")
    	sysCPULoadMD      = NewGaugeMD(sysCPULoad, "CPU load average 1min")
    	sysCPULoadPercMD  = NewGaugeMD(sysCPULoadPerc, "CPU load average 1min (percentage)")
    	sysCPUNiceMD      = NewGaugeMD(sysCPUNice, "CPU nice time")
    	sysCPUStealMD     = NewGaugeMD(sysCPUSteal, "CPU steal time")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 23 23:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. test/typeparam/slices.go

    	if got, want := _SliceMin(s1), -5; got != want {
    		panic(fmt.Sprintf("_Min(%v) = %d, want %d", s1, got, want))
    	}
    
    	s2 := []string{"aaa", "a", "aa", "aaaa"}
    	if got, want := _SliceMin(s2), "a"; got != want {
    		panic(fmt.Sprintf("_Min(%v) = %q, want %q", s2, got, want))
    	}
    
    	if got, want := _SliceMin(s2[:0]), ""; got != want {
    		panic(fmt.Sprintf("_Min(%v) = %q, want %q", s2[:0], got, want))
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  7. docs/tr/docs/how-to/general.md

    Bu sayfada genel ve sıkça sorulan sorular için dokümantasyonun diğer sayfalarına yönlendirmeler bulunmaktadır.
    
    ## Veri Filtreleme - Güvenlik
    
    Döndürmeniz gereken veriden fazlasını döndürmediğinizden emin olmak için, [Tutorial - Response Model - Return Type](../tutorial/response-model.md){.internal-link target=_blank} sayfasını okuyun.
    
    ## Dokümantasyon Etiketleri - OpenAPI
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 27 16:20:52 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. cmd/kube-scheduler/app/config/config.go

    	// unschedulablePods. If a pod stays in unschedulablePods for longer than this
    	// value, the pod will be moved from unschedulablePods to backoffQ or activeQ.
    	// If this value is empty, the default value (5min) will be used.
    	PodMaxInUnschedulablePodsDuration time.Duration
    }
    
    type completedConfig struct {
    	*Config
    }
    
    // CompletedConfig same as Config, just to swap private object.
    type CompletedConfig struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 24 09:38:49 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. src/slices/sort_test.go

    		fmin := Min(testfs)
    		if !math.IsNaN(fmin) {
    			t.Errorf("got min %v, want NaN", fmin)
    		}
    
    		fmax := Max(testfs)
    		if !math.IsNaN(fmax) {
    			t.Errorf("got max %v, want NaN", fmax)
    		}
    	}
    }
    
    func TestMinMaxPanics(t *testing.T) {
    	intCmp := func(a, b int) int { return a - b }
    	emptySlice := []int{}
    
    	if !panics(func() { Min(emptySlice) }) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 09 19:20:55 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/stablehlo/passes/bridge/legalize_tf_quant_test.cc

          } : (tensor<f32>, tensor<f32>, tensor<i32>) -> tensor<!tf_type.qint32>
          %qmin = "tf.UniformQuantize"(%min, %scales, %zps) {
            quantization_axis = -1 : i64, quantization_min_val = -2147483648 : i64, quantization_max_val = 2147483647 : i64
          } : (tensor<f32>, tensor<f32>, tensor<i32>) -> tensor<!tf_type.qint32>
    
          %1 = "tf.UniformQuantizedClipByValue"(%0, %qmin, %qmax, %scales, %zps) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Feb 29 18:43:55 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top