Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 387 for flagstr (0.43 sec)

  1. src/cmd/doc/doc_test.go

    		}
    	}
    	// Make sure math/rand does have the symbol.
    	{
    		var flagSet flag.FlagSet
    		err := do(&b, &flagSet, []string{"math/rand.float64"})
    		if err != nil {
    			t.Errorf("unexpected error %q from math/rand.float64", err)
    		}
    	}
    	// Try the shorthand.
    	{
    		var flagSet flag.FlagSet
    		err := do(&b, &flagSet, []string{"rand.float64"})
    		if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 07 19:16:55 UTC 2023
    - 31.2K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/cli.go

    			l = append(l, *s)
    		}
    	}
    	return l
    }
    
    // installConfigFlags creates command line flags for configuration
    // fields and returns a function which can be called after flags have
    // been parsed to copy any flags specified on the command line to
    // *cfg.
    func installConfigFlags(flag plugin.FlagSet, cfg *config) func() error {
    	// List of functions for setting the different parts of a config.
    	var setters []func()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 15 16:39:48 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  3. src/regexp/syntax/regexp.go

    		*flags = make(map[*Regexp]printFlags)
    	}
    	(*flags)[start] = f
    	(*flags)[last] |= flagOff // maybe start==last
    }
    
    // calcFlags calculates the flags to print around each subexpression in re,
    // storing that information in (*flags)[sub] for each affected subexpression.
    // The first time an entry needs to be written to *flags, calcFlags allocates the map.
    // calcFlags also calculates the flags that must be active or can't be active
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:51 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  4. pkg/proxy/ipvs/util/ipvs_linux_test.go

    		expectError   bool
    		reason        string
    	}{
    		{
    			libipvs.Service{
    				Flags: 0x0,
    			},
    			VirtualServer{},
    			true,
    			fmt.Sprintf("IPVS Service Flags should include %x, got 0x0", FlagHashed),
    		},
    		{
    			libipvs.Service{
    				Flags: 0x1,
    			},
    			VirtualServer{},
    			true,
    			fmt.Sprintf("IPVS Service Flags should include %x, got 0x1", FlagHashed),
    		},
    		{
    			libipvs.Service{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 27 16:37:50 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/server/options/server_run_options.go

    			allErrors = append(allErrors, err)
    		}
    	}
    	return errors.NewAggregate(allErrors)
    }
    
    // AddUniversalFlags adds flags for a specific APIServer to the specified FlagSet
    func (s *ServerRunOptions) AddUniversalFlags(fs *pflag.FlagSet) {
    	// Note: the weird ""+ in below lines seems to be the only way to get gofmt to
    	// arrange these text blocks sensibly. Grrr.
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 24 21:53:51 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  6. 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)
  7. istioctl/pkg/multicluster/remote_secret.go

    }
    
    func (o *RemoteSecretOptions) addFlags(flagset *pflag.FlagSet) {
    	flagset.StringVar(&o.ServiceAccountName, "service-account", "",
    		"Create a secret with this service account's credentials. Default value is \""+
    			constants.DefaultServiceAccountName+"\" if --type is \"remote\", \""+
    			constants.DefaultConfigServiceAccountName+"\" if --type is \"config\".")
    	flagset.BoolVar(&o.CreateServiceAccount, "create-service-account", true,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Oct 11 01:43:17 UTC 2023
    - 24K 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/cmd/compile/internal/ssa/_gen/386Ops.go

    		{name: "CMPW", argLength: 2, reg: gp2flags, asm: "CMPW", typ: "Flags"},                    // arg0 compare to arg1
    		{name: "CMPB", argLength: 2, reg: gp2flags, asm: "CMPB", typ: "Flags"},                    // arg0 compare to arg1
    		{name: "CMPLconst", argLength: 1, reg: gp1flags, asm: "CMPL", typ: "Flags", aux: "Int32"}, // arg0 compare to auxint
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 14 08:10:32 UTC 2023
    - 45.1K bytes
    - Viewed (0)
Back to top