Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 162 for stringVar (0.19 sec)

  1. src/cmd/doc/main.go

    // do is the workhorse, broken out of main to make testing easier.
    func do(writer io.Writer, flagSet *flag.FlagSet, args []string) (err error) {
    	flagSet.Usage = usage
    	unexported = false
    	matchCase = false
    	flagSet.StringVar(&chdir, "C", "", "change to `dir` before running command")
    	flagSet.BoolVar(&unexported, "u", false, "show unexported symbols as well as exported")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modcmd/vendor.go

    var vendorO string // if set, overrides the default output directory
    
    func init() {
    	cmdVendor.Flag.BoolVar(&cfg.BuildV, "v", false, "")
    	cmdVendor.Flag.BoolVar(&vendorE, "e", false, "")
    	cmdVendor.Flag.StringVar(&vendorO, "o", "", "")
    	base.AddChdirFlag(&cmdVendor.Flag)
    	base.AddModCommonFlags(&cmdVendor.Flag)
    }
    
    func runVendor(ctx context.Context, cmd *base.Command, args []string) {
    	modload.InitWorkfile()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 14:19:59 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/cmd/token.go

    	createCmd.Flags().BoolVar(&printJoinCommand,
    		"print-join-command", false, "Instead of printing only the token, print the full 'kubeadm join' flag needed to join the cluster using the token.")
    	createCmd.Flags().StringVar(&certificateKey,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 15.9K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go

    		"List of directives for HSTS, comma separated. If this list is empty, then HSTS directives will not "+
    		"be added. Example: 'max-age=31536000,includeSubDomains,preload'")
    
    	fs.StringVar(&s.ExternalHost, "external-hostname", s.ExternalHost,
    		"The hostname to use when generating externalized URLs for this master (e.g. Swagger API Docs or OpenID Discovery).")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 21:53:51 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  5. istioctl/pkg/dashboard/dashboard.go

    		"e.g. `istioctl dashboard proxy --help`")
    	envoy.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector")
    	envoy.PersistentFlags().IntVar(&proxyAdminPort, "ui-port", util.DefaultProxyAdminPort, "The component dashboard UI port.")
    	dashboardCmd.AddCommand(envoy)
    
    	proxy := proxyDashCmd(cliContext)
    	proxy.PersistentFlags().StringVarP(&labelSelector, "selector", "l", "", "Label selector")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 15 01:29:35 UTC 2024
    - 20.5K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/apis/kubeadm/validation/validation_test.go

    		f.Bool("allow-experimental-upgrades", true, "upgrade flags for plan and apply command")
    		f.Bool("skip-token-print", false, "flag not bound to config object")
    		f.StringVar(&cfgPath, "config", cfgPath, "Path to kubeadm config file")
    		if err := f.Parse(rt.args); err != nil {
    			t.Fatal(err)
    		}
    
    		actual := ValidateMixedArguments(f)
    		if (actual == nil) != rt.expected {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 16:01:49 UTC 2024
    - 46.1K bytes
    - Viewed (0)
  7. src/cmd/internal/goobj/objfile.go

    type Writer struct {
    	wr        *bio.Writer
    	stringMap map[string]uint32
    	off       uint32 // running offset
    
    	b [8]byte // scratch space for writing bytes
    }
    
    func NewWriter(wr *bio.Writer) *Writer {
    	return &Writer{wr: wr, stringMap: make(map[string]uint32)}
    }
    
    func (w *Writer) AddString(s string) {
    	if _, ok := w.stringMap[s]; ok {
    		return
    	}
    	w.stringMap[s] = w.off
    	w.RawString(s)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 23.8K bytes
    - Viewed (0)
  8. src/go/constant/value.go

    	case unknownVal:
    		return false
    	default:
    		panic(fmt.Sprintf("%v not a Bool", x))
    	}
    }
    
    // StringVal returns the Go string value of x, which must be a [String] or an [Unknown].
    // If x is [Unknown], the result is "".
    func StringVal(x Value) string {
    	switch x := x.(type) {
    	case *stringVal:
    		return x.string()
    	case unknownVal:
    		return ""
    	default:
    		panic(fmt.Sprintf("%v not a String", x))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  9. tensorflow/compiler/mlir/quantization/tensorflow/utils/tf_to_uniform_attribute_utils.cc

    }
    
    Attribute GetLhsDilationValue(PatternRewriter& rewriter,
                                  llvm::StringMap<Attribute>& identifier_to_attr) {
      return rewriter.getI64ArrayAttr({1, 1});
    }
    
    Attribute GetRhsDilationValue(PatternRewriter& rewriter,
                                  llvm::StringMap<Attribute>& identifier_to_attr) {
      ArrayAttr dilations =
          mlir::dyn_cast<ArrayAttr>(identifier_to_attr["dilations"]);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  10. maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java

                return Objects.equals(stringPart, that.stringPart) && Objects.equals(digitPart, that.digitPart);
            }
    
            @Override
            public int hashCode() {
                return Objects.hash(stringPart, digitPart);
            }
    
            @Override
            public String toString() {
                return stringPart.toString() + digitPart.toString();
            }
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 26K bytes
    - Viewed (0)
Back to top