Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 56 for isChan (0.2 sec)

  1. 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)
  2. src/cmd/compile/internal/ssa/_gen/generic.rules

    (Load <t1> p1 (Store {t2} p2 (Const64  [x]) _)) && isSamePtr(p1,p2) && sizeof(t2) == 8 && is64BitFloat(t1) && !math.IsNaN(math.Float64frombits(uint64(x))) => (Const64F [math.Float64frombits(uint64(x))])
    (Load <t1> p1 (Store {t2} p2 (Const32  [x]) _)) && isSamePtr(p1,p2) && sizeof(t2) == 4 && is32BitFloat(t1) && !math.IsNaN(float64(math.Float32frombits(uint32(x)))) => (Const32F [math.Float32frombits(uint32(x))])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 22:21:05 UTC 2024
    - 135.3K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/apf_controller.go

    	highWatermark float64
    	smoothed      float64
    }
    
    func (stats *seatDemandStats) update(obs fq.IntegratorResults) {
    	stats.highWatermark = obs.Max
    	if obs.Duration <= 0 {
    		return
    	}
    	if math.IsNaN(obs.Deviation) {
    		obs.Deviation = 0
    	}
    	stats.avg = obs.Average
    	stats.stdDev = obs.Deviation
    	envelope := obs.Average + obs.Deviation
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 48.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

    }
    
    bool IsSign(APInt a, APInt sign) {
      if (a.isZero()) return a == sign;
      if (a.isNegative()) return sign == -1;
      return sign == 1;
    }
    
    bool IsSign(APFloat a, APFloat sign) {
      if (a.isNaN() || a.isZero()) return a == sign;
      if (a.isNegative()) return sign.isExactlyValue(-1.0);
      return sign.isExactlyValue(1.0);
    }
    
    bool IsDenseSplatIntAttr(ElementsAttr float_or_int) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  5. 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)
  6. src/math/big/float_test.go

    					defer func() {
    						if p := recover(); p != nil {
    							_ = p.(ErrNaN) // re-panic if not ErrNaN
    							errnan = true
    						}
    					}()
    					f(got, xx, yy)
    				}()
    				if math.IsNaN(z) {
    					if !errnan {
    						t.Errorf("%5g %s %5g = %5s; want ErrNaN panic", x, op, y, got)
    					}
    					continue
    				}
    				if errnan {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  7. tensorflow/compiler/jit/mark_for_compilation_pass.cc

              {"PW",
               {"ComplexAbs", "Angle", "Conj", "Abs", "Acos", "Acosh", "Asin",
                "Atan", "Atanh", "Ceil", "Cos", "Cosh", "Sin", "Exp", "Expm1",
                "Floor", "IsFinite", "IsInf", "IsNan", "Inv", "Reciprocal", "Log",
                "Log1p", "Invert", "LogicalNot", "Ndtri", "Neg", "Rint", "Round",
                "Rsqrt", "Sigmoid", "Sign", "Sinh", "Softplus", "Softsign", "Sqrt",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Feb 21 12:19:41 UTC 2024
    - 85.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/_gen/PPC64.rules

    (FMOVDstore [off] {sym} ptr (MTVSRD x) mem) => (MOVDstore [off] {sym} ptr x mem)
    (MOVDstore [off] {sym} ptr (MFVSRD x) mem) => (FMOVDstore [off] {sym} ptr x mem)
    
    (MTVSRD (MOVDconst [c])) && !math.IsNaN(math.Float64frombits(uint64(c))) => (FMOVDconst [math.Float64frombits(uint64(c))])
    (MFVSRD (FMOVDconst [c])) => (MOVDconst [int64(math.Float64bits(c))])
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 53.2K bytes
    - Viewed (0)
  9. go.sum

    github.com/mitchellh/go-wordwrap v1.0.1/go.mod h1:R62XHJLzvMFRBbcrT7m7WgmE1eOyTSsCt+hzestvNj0=
    github.com/mitchellh/gox v0.4.0/go.mod h1:Sd9lOJ0+aimLBi73mGofS1ycjY8lL3uZM3JPS42BGNg=
    github.com/mitchellh/iochan v1.0.0/go.mod h1:JwYml1nuB7xOzsp52dPpHFffvOCDupsG0QubkSMEySY=
    github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 21:47:11 UTC 2024
    - 93.1K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.26.md

    - github.com/mitchellh/gox: [v0.4.0](https://github.com/mitchellh/gox/tree/v0.4.0)
    - github.com/mitchellh/iochan: [v1.0.0](https://github.com/mitchellh/iochan/tree/v1.0.0)
    - github.com/oklog/ulid: [v1.3.1](https://github.com/oklog/ulid/tree/v1.3.1)
    - github.com/pascaldekloe/goe: [57f6aae](https://github.com/pascaldekloe/goe/tree/57f6aae)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 14 16:24:51 UTC 2024
    - 425.7K bytes
    - Viewed (0)
Back to top