- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for isChan (0.16 sec)
-
src/cmd/compile/internal/types/type.go
return true } return false } func (t *Type) IsString() bool { return t.kind == TSTRING } func (t *Type) IsMap() bool { return t.kind == TMAP } func (t *Type) IsChan() bool { return t.kind == TCHAN } func (t *Type) IsSlice() bool { return t.kind == TSLICE } func (t *Type) IsArray() bool { return t.kind == TARRAY }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 04 14:29:45 UTC 2024 - 49.5K bytes - Viewed (0) -
src/main/webapp/js/admin/plugins/daterangepicker/daterangepicker.js
L873: if (timeSelector.html() != '') { L874: L875: selected.hour(!isNaN(selected.hour()) ? selected.hour() : timeSelector.find('.hourselect option:selected').val()); L876: selected.minute(!isNaN(selected.minute()) ? selected.minute() : timeSelector.find('.minuteselect option:selected').val()); L877: selected.second(!isNaN(selected.second()) ? selected.second() : timeSelector.find('.secondselect option:selected').val()); L878: ...
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 13 04:21:06 UTC 2020 - 65.7K bytes - Viewed (0) -
src/math/all_test.go
func veryclose(a, b float64) bool { return tolerance(a, b, 4e-16) } func soclose(a, b, e float64) bool { return tolerance(a, b, e) } func alike(a, b float64) bool { switch { case IsNaN(a) && IsNaN(b): return true case a == b: return Signbit(a) == Signbit(b) } return false } func TestNaN(t *testing.T) { f64 := NaN() if f64 == f64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jul 07 17:39:26 UTC 2023 - 86.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/lower_tf.mlir
// CHECK: return %[[RESULT]] func.return %0 : tensor<3x4xi1> } // CHECK-LABEL: @is_nan func.func @is_nan(%arg0: tensor<3x4xf32>) -> tensor<3x4xi1> { // CHECK: %[[RESULT:.*]] = "tf.NotEqual"(%arg0, %arg0) <{incompatible_shape_error = true}> : (tensor<3x4xf32>, tensor<3x4xf32>) -> tensor<3x4xi1> %0 = "tf.IsNan"(%arg0) : (tensor<3x4xf32>) -> tensor<3x4xi1> // CHECK: return %[[RESULT]] func.return %0 : tensor<3x4xi1>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Jan 05 18:35:42 UTC 2024 - 92K bytes - Viewed (0) -
src/runtime/traceback.go
_Gdead: "dead", _Gcopystack: "copystack", _Gpreempted: "preempted", } func goroutineheader(gp *g) { level, _, _ := gotraceback() gpstatus := readgstatus(gp) isScan := gpstatus&_Gscan != 0 gpstatus &^= _Gscan // drop the scan bit // Basic string status var status string if 0 <= gpstatus && gpstatus < uint32(len(gStatusStrings)) { status = gStatusStrings[gpstatus]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 16:25:21 UTC 2024 - 55.1K bytes - Viewed (0) -
src/runtime/mgcscavenge.go
// Compute the raw output value. prop := c.kp * (setpoint - input) rawOutput := prop + c.errIntegral // Clamp rawOutput into output. output := rawOutput if isInf(output) || isNaN(output) { // The input had a large enough magnitude that either it was already // overflowed, or some operation with it overflowed. // Set a flag and reset. That's the safest thing to do. c.reset()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 08 17:48:45 UTC 2024 - 52.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/rewrite.go
// of the mantissa. It will panic if the truncation results in lost information. func truncate64Fto32F(f float64) float32 { if !isExactFloat32(f) { panic("truncate64Fto32F: truncation is not exact") } if !math.IsNaN(f) { return float32(f) } // NaN bit patterns aren't necessarily preserved across conversion // instructions so we need to do the conversion manually. b := math.Float64bits(f)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:02:52 UTC 2024 - 64.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go
return den == 0 || diff/den < 1e-10 } func uint64max(a, b uint64) uint64 { if b > a { return b } return a } func float64NaNTo0(x float64) float64 { if math.IsNaN(x) { return 0 } return x } func qsComplete(qsc fq.QueueSetCompleter, concurrencyLimit int) fq.QueueSet { concurrencyDenominator := concurrencyLimit if concurrencyDenominator <= 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 26 12:55:23 UTC 2023 - 58.4K bytes - Viewed (0) -
src/reflect/type.go
ti, _ := lookupCache.LoadOrStore(ckey, toRType(tt)) return ti.(Type) } } // Make a channel type. var ichan any = (chan unsafe.Pointer)(nil) prototype := *(**chanType)(unsafe.Pointer(&ichan)) ch := *prototype ch.TFlag = abi.TFlagRegularMemory ch.Dir = abi.ChanDir(dir) ch.Str = resolveReflectName(newName(s, "", false, false))
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 85.5K bytes - Viewed (0) -
src/math/big/float_test.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 51.9K bytes - Viewed (0)