Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for flagval (0.17 sec)

  1. logger/sql_test.go

    		js                 = JSON(jsVal)
    		esVal              = []byte(`{"Name":"test","Val":"test"}`)
    		es                 = ExampleStruct{Name: "test", Val: "test"}
    		intVal   intType   = 1
    		floatVal floatType = 1.23
    	)
    
    	results := []struct {
    		SQL           string
    		NumericRegexp *regexp.Regexp
    		Vars          []interface{}
    		Result        string
    	}{
    		{
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Thu Mar 21 08:00:02 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/cmd/link/internal/ld/main.go

    	flagExtar      = flag.String("extar", "", "archive program for buildmode=c-archive")
    
    	flagCaptureHostObjs = flag.String("capturehostobjs", "", "capture host object files loaded during internal linking to specified dir")
    
    	flagA             = flag.Bool("a", false, "no-op (deprecated)")
    	FlagC             = flag.Bool("c", false, "dump call graph")
    	FlagD             = flag.Bool("d", false, "disable dynamic executable")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:59:50 UTC 2024
    - 16.6K bytes
    - Viewed (0)
Back to top