Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 400 for stringVar (0.27 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. src/cmd/dist/test.go

    	flag.BoolVar(&t.race, "race", false, "run in race builder mode (different set of tests)")
    	flag.BoolVar(&t.compileOnly, "compile-only", false, "compile tests, but don't run them")
    	flag.StringVar(&t.banner, "banner", "##### ", "banner prefix; blank means no section banners")
    	flag.StringVar(&t.runRxStr, "run", "",
    		"run only those tests matching the regular expression; empty means to run all. "+
    			"Special exception: if the string begins with '!', the match is inverted.")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  7. src/internal/coverage/stringtab/stringtab.go

    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package stringtab
    
    import (
    	"fmt"
    	"internal/coverage/slicereader"
    	"internal/coverage/uleb128"
    	"io"
    )
    
    // This package implements string table writer and reader utilities,
    // for use in emitting and reading/decoding coverage meta-data and
    // counter-data files.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 11 12:40:42 UTC 2022
    - 3.6K bytes
    - Viewed (0)
  8. test/typeparam/stringer.go

    // Test method calls on type parameters
    
    package main
    
    import (
    	"fmt"
    	"reflect"
    	"strconv"
    )
    
    // Simple constraint
    type Stringer interface {
    	String() string
    }
    
    func stringify[T Stringer](s []T) (ret []string) {
    	for _, v := range s {
    		ret = append(ret, v.String())
    	}
    	return ret
    }
    
    type myint int
    
    func (i myint) String() string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 01 19:45:34 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/internal/obj/stringer.go

    // Copyright 2015 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build ignore
    
    // This is a mini version of the stringer tool customized for the Anames table
    // in the architecture support for obj.
    // This version just generates the slice of strings, not the String method.
    
    package main
    
    import (
    	"bufio"
    	"flag"
    	"fmt"
    	"log"
    	"os"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:27 UTC 2023
    - 2.2K bytes
    - Viewed (0)
Back to top