- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 21 for flagval (0.17 sec)
-
src/go/constant/value.go
func i64tor(x int64Val) ratVal { return ratVal{newRat().SetInt64(int64(x))} } func i64tof(x int64Val) floatVal { return floatVal{newFloat().SetInt64(int64(x))} } func itor(x intVal) ratVal { return ratVal{newRat().SetInt(x.val)} } func itof(x intVal) floatVal { return floatVal{newFloat().SetInt(x.val)} } func rtof(x ratVal) floatVal { return floatVal{newFloat().SetRat(x.val)} } func vtoc(x Value) complexVal { return complexVal{x, int64Val(0)} }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 19 12:02:03 UTC 2023 - 34K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/unmount_linux.go
) var flagMap = map[string]int{ kubeadmapi.UnmountFlagMNTForce: unix.MNT_FORCE, kubeadmapi.UnmountFlagMNTDetach: unix.MNT_DETACH, kubeadmapi.UnmountFlagMNTExpire: unix.MNT_EXPIRE, kubeadmapi.UnmountFlagUmountNoFollow: unix.UMOUNT_NOFOLLOW, } func flagsToInt(flags []string) int { res := 0 for _, f := range flags { res |= flagMap[f] } return res }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jan 05 10:58:44 UTC 2024 - 2.2K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/resourceconfig/helpers.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 23 18:36:33 UTC 2022 - 7.8K bytes - Viewed (0) -
logger/sql_test.go
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Mar 21 08:00:02 UTC 2024 - 8.4K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/util/cmdutil.go
func ValueFromFlagsOrConfig(flagSet *pflag.FlagSet, name string, cfgValue interface{}, flagValue interface{}) interface{} { if flagSet.Changed(name) { return flagValue } // covert the nil to false if this is a bool, this will help to get rid of nil dereference error. cfg, ok := cfgValue.(*bool) if ok && cfg == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 5.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/utils/tf_type_utils_test.cc
auto context = CreateContext(); TensorType result_tensor_type = RankedTensorType::get( {2, 2}, quant::UniformQuantizedType::get( quant::QuantizationFlags::FlagValue::Signed, IntegerType::get(context.get(), 8), FloatType::getF32(context.get()), 3.0, 2, -128, 127)); auto dense_attr =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 9K bytes - Viewed (0) -
src/debug/buildinfo/buildinfo_test.go
"debug/buildinfo" "debug/pe" "encoding/binary" "flag" "fmt" "internal/testenv" "os" "os/exec" "path" "path/filepath" "regexp" "runtime" "strings" "testing" ) var flagAll = flag.Bool("all", false, "test all supported GOOS/GOARCH platforms, instead of only the current platform") // TestReadFile confirms that ReadFile can read build information from binaries
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 11.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/utils/const_tensor_utils.cc
static_cast<int>(is_weight_buffer); int64_t storage_max = QuantizedType::getDefaultMaximumForInteger(is_signed, bitwidth); uint32_t flags = is_signed ? mlir::quant::QuantizationFlags::FlagValue::Signed : 0; // Zero scales we make the minimum fp value, this is because some flatbuffers // contain zero scale for zero values. llvm::SmallVector<double> scales; for (float scale : quant_params.scale) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 23:04:40 UTC 2024 - 16.6K bytes - Viewed (0) -
src/go/constant/value_test.go
} func TestFractions(t *testing.T) { for _, test := range fracTests { x := val(test) // We don't check the actual numerator and denominator because they // are unlikely to be 100% correct due to floatVal rounding errors. // Instead, we compute the fraction again and compare the rounded // result. q := BinaryOp(Num(x), token.QUO, Denom(x)) got := q.String() want := x.String() if got != want {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 15.6K bytes - Viewed (0) -
pkg/config/validation/agent/validation.go
return nil } // validateCustomTags validates that tracing CustomTags map does not contain any nil items func validateCustomTags(tags map[string]*meshconfig.Tracing_CustomTag) error { for tagName, tagVal := range tags { if tagVal == nil { return fmt.Errorf("encountered nil value for custom tag: %s", tagName) } } return nil } // ValidateFQDN checks a fully-qualified domain name
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Apr 17 20:06:41 UTC 2024 - 30.9K bytes - Viewed (0)