Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for float2 (0.13 sec)

  1. tensorflow/compiler/mlir/lite/stablehlo/transforms/legalize_hlo.cc

      LogicalResult MatchInitValue(Value init_value) const override {
        auto type = mlir::cast<ShapedType>(init_value.getType()).getElementType();
        if (mlir::isa<FloatType>(type)) {
          float const_value;
          if (failed(GetConstantSplatValue<float>(init_value, const_value)) ||
              const_value != 1.0)
            return failure();
        } else if (mlir::isa<IntegerType>(type) && type.isSignlessInteger()) {
          int32_t const_value;
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 154.9K bytes
    - Viewed (0)
  2. src/cmd/internal/obj/s390x/asmz.go

    		zRR(op_BCR, 14, 0, asm) // fast-BCR-serialization
    
    	case 81: // float to fixed and fixed to float moves (no conversion)
    		switch p.As {
    		case ALDGR:
    			zRRE(op_LDGR, uint32(p.To.Reg), uint32(p.From.Reg), asm)
    		case ALGDR:
    			zRRE(op_LGDR, uint32(p.To.Reg), uint32(p.From.Reg), asm)
    		}
    
    	case 82: // fixed to float conversion
    		var opcode uint32
    		switch p.As {
    		default:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 16 17:46:09 UTC 2024
    - 176.7K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/exec.go

    			return append(args, "-mhard-float")
    		} else if cfg.GOMIPS64 == "softfloat" {
    			return append(args, "-msoft-float")
    		}
    	case "mips", "mipsle":
    		args := []string{"-mabi=32", "-march=mips32"}
    		if cfg.GOMIPS == "hardfloat" {
    			return append(args, "-mhard-float", "-mfp32", "-mno-odd-spreg")
    		} else if cfg.GOMIPS == "softfloat" {
    			return append(args, "-msoft-float")
    		}
    	case "loong64":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  4. pkg/kubelet/kubelet.go

    	for {
    		if err := kl.runtimeState.runtimeErrors(); err != nil {
    			klog.ErrorS(err, "Skipping pod synchronization")
    			// exponential backoff
    			time.Sleep(duration)
    			duration = time.Duration(math.Min(float64(max), factor*float64(duration)))
    			continue
    		}
    		// reset backoff if we have a success
    		duration = base
    
    		kl.syncLoopMonitor.Store(kl.clock.Now())
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 126.1K bytes
    - Viewed (0)
  5. src/cmd/vendor/github.com/ianlancetaylor/demangle/ast.go

    	"long":               "l",
    	"unsigned long":      "ul",
    	"long long":          "ll",
    	"unsigned long long": "ull",
    }
    
    // Builtin float types.
    var builtinTypeFloat = map[string]bool{
    	"double":      true,
    	"long double": true,
    	"float":       true,
    	"__float128":  true,
    	"half":        true,
    }
    
    func (l *Literal) print(ps *printState) {
    	isFloat := false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 105.8K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AsmBackedClassGenerator.java

            private static final Set<? extends Class<?>> PRIMITIVE_TYPES = ImmutableSet.of(Byte.TYPE, Boolean.TYPE, Character.TYPE, Short.TYPE, Integer.TYPE, Long.TYPE, Float.TYPE, Double.TYPE);
            private static final String DYNAMIC_OBJECT_HELPER_FIELD = "_gr_dyn_";
            private static final String MAPPING_FIELD = "_gr_map_";
            private static final String META_CLASS_FIELD = "_gr_mc_";
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 15:40:00 UTC 2024
    - 100.6K bytes
    - Viewed (0)
  7. cmd/bucket-replication.go

    	// Run the replication resync in a loop
    	for {
    		if err := p.loadResync(ctx, buckets, objAPI); err == nil {
    			<-ctx.Done()
    			return
    		}
    		duration := time.Duration(r.Float64() * float64(time.Minute))
    		if duration < time.Second {
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			duration = time.Second
    		}
    		time.Sleep(duration)
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 114.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteLOONG64.go

    		return true
    	}
    }
    func rewriteValueLOONG64_OpConst32F(v *Value) bool {
    	// match: (Const32F [val])
    	// result: (MOVFconst [float64(val)])
    	for {
    		val := auxIntToFloat32(v.AuxInt)
    		v.reset(OpLOONG64MOVFconst)
    		v.AuxInt = float64ToAuxInt(float64(val))
    		return true
    	}
    }
    func rewriteValueLOONG64_OpConst64(v *Value) bool {
    	// match: (Const64 [val])
    	// result: (MOVVconst [int64(val)])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 19:26:25 UTC 2023
    - 195.8K bytes
    - Viewed (0)
  9. pkg/kubelet/eviction/helpers_test.go

    		}
    	}
    }
    
    func TestParsePercentage(t *testing.T) {
    	testCases := map[string]struct {
    		hasError bool
    		value    float32
    	}{
    		"blah": {
    			hasError: true,
    		},
    		"25.5%": {
    			value: 0.255,
    		},
    		"foo%": {
    			hasError: true,
    		},
    		"12%345": {
    			hasError: true,
    		},
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  10. pkg/kubelet/kubelet_test.go

    		kubelet.podLogsDirectory,
    		kubelet.machineInfo,
    		kubelet.podWorkers,
    		kubelet.os,
    		kubelet,
    		nil,
    		kubelet.backOff,
    		kubeCfg.SerializeImagePulls,
    		kubeCfg.MaxParallelImagePulls,
    		float32(kubeCfg.RegistryPullQPS),
    		int(kubeCfg.RegistryBurst),
    		"",
    		"",
    		kubeCfg.CPUCFSQuota,
    		kubeCfg.CPUCFSQuotaPeriod,
    		runtimeSvc,
    		imageSvc,
    		kubelet.containerManager,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 106.9K bytes
    - Viewed (0)
Back to top