Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 296 for flagstr (0.11 sec)

  1. 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)
  2. cmd/kube-controller-manager/app/options/options_test.go

    }
    
    func TestAddFlags(t *testing.T) {
    	fs := pflag.NewFlagSet("addflagstest", pflag.ContinueOnError)
    	s, _ := NewKubeControllerManagerOptions()
    	for _, f := range s.Flags([]string{""}, []string{""}, nil).FlagSets {
    		fs.AddFlagSet(f)
    	}
    
    	fs.Parse(args)
    	// Sort GCIgnoredResources because it's built from a map, which means the
    	// insertion order is random.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 27 02:59:09 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. src/cmd/go/internal/base/base.go

    	// Short is the short description shown in the 'go help' output.
    	Short string
    
    	// Long is the long message shown in the 'go help <this-command>' output.
    	Long string
    
    	// Flag is a set of flags specific to this command.
    	Flag flag.FlagSet
    
    	// CustomFlags indicates that the command will do its own
    	// flag parsing.
    	CustomFlags bool
    
    	// Commands lists the available commands and help topics.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  4. src/internal/buildcfg/exp.go

    			}
    			set(val)
    		}
    	}
    
    	if regabiAlwaysOn {
    		flags.RegabiWrappers = true
    		flags.RegabiArgs = true
    	}
    	// regabi is only supported on amd64, arm64, loong64, riscv64, ppc64 and ppc64le.
    	if !regabiSupported {
    		flags.RegabiWrappers = false
    		flags.RegabiArgs = false
    	}
    	// Check regabi dependencies.
    	if flags.RegabiArgs && !flags.RegabiWrappers {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 17:38:52 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. cmd/kubelet/app/server.go

    }
    
    // newFlagSetWithGlobals constructs a new pflag.FlagSet with global flags registered
    // on it.
    func newFlagSetWithGlobals() *pflag.FlagSet {
    	fs := pflag.NewFlagSet("", pflag.ExitOnError)
    	// set the normalize func, similar to k8s.io/component-base/cli//flags.go:InitFlags
    	fs.SetNormalizeFunc(cliflag.WordSepNormalizeFunc)
    	// explicitly add flags from libs that register global flags
    	options.AddGlobalFlags(fs)
    	return fs
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/server/options/recommended.go

    		Admission:                  NewAdmissionOptions(),
    		EgressSelector:             NewEgressSelectorOptions(),
    		Traces:                     NewTracingOptions(),
    	}
    }
    
    func (o *RecommendedOptions) AddFlags(fs *pflag.FlagSet) {
    	o.Etcd.AddFlags(fs)
    	o.SecureServing.AddFlags(fs)
    	o.Authentication.AddFlags(fs)
    	o.Authorization.AddFlags(fs)
    	o.Audit.AddFlags(fs)
    	o.Features.AddFlags(fs)
    	o.CoreAPI.AddFlags(fs)
    	o.Admission.AddFlags(fs)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 18:51:27 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

      ) {
        this.withLock {
          if (closed) throw IOException("closed")
          var flags = FLAG_NONE
          if (outFinished) flags = flags or FLAG_END_STREAM
          dataFrame(streamId, flags, source, byteCount)
        }
      }
    
      @Throws(IOException::class)
      fun dataFrame(
        streamId: Int,
        flags: Int,
        buffer: Buffer?,
        byteCount: Int,
      ) {
        frameHeader(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. cmd/kube-controller-manager/app/controllermanager.go

    				}
    			}
    			return nil
    		},
    	}
    
    	fs := cmd.Flags()
    	namedFlagSets := s.Flags(KnownControllers(), ControllersDisabledByDefault(), ControllerAliases())
    	verflag.AddFlags(namedFlagSets.FlagSet("global"))
    	globalflag.AddGlobalFlags(namedFlagSets.FlagSet("global"), cmd.Name(), logs.SkipLoggingConfigurationFlags())
    	for _, f := range namedFlagSets.FlagSets {
    		fs.AddFlagSet(f)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 13:03:53 UTC 2024
    - 37.5K bytes
    - Viewed (0)
  9. pkg/proxy/util/nodeport_addresses_test.go

    			itfAddrsPairs: []InterfaceAddrsPair{
    				{
    					itf:   net.Interface{Index: 0, MTU: 0, Name: "eth0", HardwareAddr: nil, Flags: 0},
    					addrs: []net.Addr{&net.IPNet{IP: netutils.ParseIPSloppy("10.20.30.51"), Mask: net.CIDRMask(24, 32)}},
    				},
    				{
    					itf:   net.Interface{Index: 2, MTU: 0, Name: "eth1", HardwareAddr: nil, Flags: 0},
    					addrs: []net.Addr{&net.IPNet{IP: netutils.ParseIPSloppy("100.200.201.1"), Mask: net.CIDRMask(24, 32)}},
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  10. src/runtime/os3_plan9.go

    	flags = _SigNotify
    	for sig, t = range sigtable {
    		if stringslite.HasPrefix(notestr, t.name) {
    			flags = t.flags
    			break
    		}
    	}
    	if flags&_SigPanic != 0 && gp.throwsplit {
    		// We can't safely sigpanic because it may grow the
    		// stack. Abort in the signal handler instead.
    		flags = (flags &^ _SigPanic) | _SigThrow
    	}
    	if flags&_SigGoExit != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top