Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 680 for flagstr (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/cmd/internal/telemetry/telemetry_bootstrap.go

    func NewStackCounter(name string, depth int) dummyCounter                 { return dummyCounter{} }
    func CountFlags(name string, flagSet flag.FlagSet)                        {}
    func CountFlagValue(prefix string, flagSet flag.FlagSet, flagName string) {}
    func Mode() string                                                        { return "" }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 20:16:39 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. cmd/cloud-controller-manager/main.go

    	nodeIpamController.nodeIPAMControllerOptions.NodeIPAMControllerConfiguration = &nodeIpamController.nodeIPAMControllerConfiguration
    	fss := cliflag.NamedFlagSets{}
    	nodeIpamController.nodeIPAMControllerOptions.AddFlags(fss.FlagSet(kcmnames.NodeIpamController))
    
    	controllerInitializers[kcmnames.NodeIpamController] = app.ControllerInitFuncConstructor{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 19 13:01:01 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  7. cmd/kube-controller-manager/names/controller_names.go

    //     2.4. [TODO] calling WaitForNamedCacheSync
    //  3. defining controller options for "--help" command or generated documentation
    //     3.1. controller name should be used to create a pflag.FlagSet when registering controller options (the name is rendered in a controller flag group header) in options.KubeControllerManagerOptions
    //     3.2. when defined flag's help mentions a controller name
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 19:25:10 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

            this.maxSetupCount = 0;
        }
    
    
        @Override
        public void reset ( int rk, String lastName ) {
            super.reset();
            this.resumeKey = rk;
            this.filename = lastName;
            this.flags2 = 0;
        }
    
    
        @Override
        protected int writeSetupWireFormat ( byte[] dst, int dstIndex ) {
            dst[ dstIndex++ ] = getSubCommand();
            dst[ dstIndex++ ] = (byte) 0x00;
            return 2;
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  9. src/cmd/internal/telemetry/telemetry.go

    func CountFlags(prefix string, flagSet flag.FlagSet) {
    	counter.CountFlags(prefix, flagSet)
    }
    
    // CountFlagValue creates a counter for the flag value
    // if it is set and increments the counter. The name of the
    // counter is the concatenation of prefix, the flagName, ":",
    // and value.String() for the flag's value.
    func CountFlagValue(prefix string, flagSet flag.FlagSet, flagName string) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:47:30 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/util/cmdutil.go

    	file = rules.GetDefaultFilename()
    	klog.V(1).Infof("Using kubeconfig file: %s", file)
    	return file
    }
    
    // AddCRISocketFlag adds the cri-socket flag to the supplied flagSet
    func AddCRISocketFlag(flagSet *pflag.FlagSet, criSocket *string) {
    	flagSet.StringVar(
    		criSocket, options.NodeCRISocket, *criSocket,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top