Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,213 for flagstr (0.21 sec)

  1. staging/src/k8s.io/apiserver/pkg/server/options/feature.go

    		DebugSocketPath:           defaults.DebugSocketPath,
    		EnableContentionProfiling: defaults.EnableContentionProfiling,
    		EnablePriorityAndFairness: true,
    	}
    }
    
    func (o *FeatureOptions) AddFlags(fs *pflag.FlagSet) {
    	if o == nil {
    		return
    	}
    
    	fs.BoolVar(&o.EnableProfiling, "profiling", o.EnableProfiling,
    		"Enable profiling via web interface host:port/debug/pprof/")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 18:51:27 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/tools/go/analysis/analysis.go

    	// depends on the driver which runs the analyzer.
    	Flags flag.FlagSet
    
    	// Run applies the analyzer to a package.
    	// It returns an error if the analyzer failed.
    	//
    	// On success, the Run function may return a result
    	// computed by the Analyzer; its type must match ResultType.
    	// The driver makes this result available as an input to
    	// another Analyzer that depends directly on this one (see
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbConstants.java

                    ( USE_NTSMBS ? CAP_NT_SMBS : 0 ) |
                    ( USE_NTSTATUS ? CAP_STATUS32 : 0 ) |
                    ( USE_UNICODE ? CAP_UNICODE : 0 ) |
                    CAP_DFS;
        static final int FLAGS2 = Config.getInt( "jcifs.smb1.smb.client.flags2", DEFAULT_FLAGS2 );
        static final int CAPABILITIES = Config.getInt( "jcifs.smb1.smb.client.capabilities", DEFAULT_CAPABILITIES );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8.4K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/check_test.go

    	var goexperiment, gotypesalias string
    	flags := flag.NewFlagSet("", flag.PanicOnError)
    	flags.StringVar(&conf.GoVersion, "lang", "", "")
    	flags.StringVar(&goexperiment, "goexperiment", "", "")
    	flags.BoolVar(&conf.FakeImportC, "fakeImportC", false, "")
    	flags.StringVar(&gotypesalias, "gotypesalias", "", "")
    	if err := parseFlags(srcs[0], flags); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. src/go/types/check_test.go

    	var goexperiment, gotypesalias string
    	flags := flag.NewFlagSet("", flag.PanicOnError)
    	flags.StringVar(&conf.GoVersion, "lang", "", "")
    	flags.StringVar(&goexperiment, "goexperiment", "", "")
    	flags.BoolVar(&conf.FakeImportC, "fakeImportC", false, "")
    	flags.StringVar(&gotypesalias, "gotypesalias", "", "")
    	if err := parseFlags(srcs[0], flags); err != nil {
    		t.Fatal(err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/admission.go

    		DefaultOffPlugins:      sets.Set[string]{},
    	}
    	server.RegisterAllAdmissionPlugins(options.Plugins)
    	return options
    }
    
    // AddFlags adds flags related to admission for a specific APIServer to the specified FlagSet
    func (a *AdmissionOptions) AddFlags(fs *pflag.FlagSet) {
    	if a == nil {
    		return
    	}
    
    	fs.StringSliceVar(&a.EnablePlugins, "enable-admission-plugins", a.EnablePlugins, ""+
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun May 12 08:49:42 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. cmd/kube-proxy/app/server_test.go

    				// Flag and config get merged with command line flags first.
    				c.Logging.VModule = append([]logsapi.VModuleItem{
    					{
    						FilePattern: "goo.go",
    						Verbosity:   8,
    					},
    				}, c.Logging.VModule...)
    				return c
    			}(),
    		},
    	} {
    		t.Run(name, func(t *testing.T) {
    			options := NewOptions()
    			fs := new(pflag.FlagSet)
    			options.AddFlags(fs)
    			flags := tc.flags
    			if len(tc.config) > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 32.3K bytes
    - Viewed (0)
  8. test/fixedbugs/bug459.go

    type FlagSet struct {
    }
    
    func (f *FlagSet) failf(format string, a ...interface{}) {
    	f.usage()
    }
    
    func (f *FlagSet) usage() {
    	if f == commandLine {
    		panic(3)
    	}
    }
    
    func NewFlagSet() *FlagSet {
    	f := &FlagSet{}
    	f.setErrorHandling(true)
    	return f
    }
    
    func (f *FlagSet) setErrorHandling(b bool) {
    	f.failf("DIE")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 23 20:27:09 UTC 2022
    - 681 bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
        }
        void send( ServerMessageBlock request, ServerMessageBlock response ) throws SmbException {
    
            connect(); /* must negotiate before we can test flags2, useUnicode, etc */
    
            request.flags2 |= flags2;
            request.useUnicode = useUnicode;
            request.response = response; /* needed by sign */
            if (request.digest == null)
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/util/cmdutil_test.go

    			flagValue: false,
    			expected:  false,
    		},
    	}
    	for _, tt := range tests {
    		type options struct {
    			foo string
    			bar bool
    		}
    		fakeOptions := &options{}
    		fs := pflag.FlagSet{}
    		fs.StringVar(&fakeOptions.foo, "foo", "", "")
    		fs.BoolVar(&fakeOptions.bar, "bar", false, "")
    
    		t.Run(tt.name, func(t *testing.T) {
    			if tt.flag != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top