Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,213 for flagstr (0.12 sec)

  1. tensorflow/compiler/jit/flags.cc

    See the License for the specific language governing permissions and
    limitations under the License.
    ==============================================================================*/
    
    #include "tensorflow/compiler/jit/flags.h"
    
    #include <limits>
    #include <mutex>  // NOLINT
    #include <optional>
    #include <vector>
    
    #include "absl/base/call_once.h"
    #include "absl/strings/numbers.h"
    #include "absl/strings/str_split.h"
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 24.5K bytes
    - Viewed (0)
  2. src/flag/flag_test.go

    // Declare a user-defined flag type.
    type flagVar []string
    
    func (f *flagVar) String() string {
    	return fmt.Sprint([]string(*f))
    }
    
    func (f *flagVar) Set(value string) error {
    	*f = append(*f, value)
    	return nil
    }
    
    func TestUserDefined(t *testing.T) {
    	var flags FlagSet
    	flags.Init("test", ContinueOnError)
    	flags.SetOutput(io.Discard)
    	var v flagVar
    	flags.Var(&v, "v", "usage")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  3. hack/verify-flags-underscore.py

        return all_files
    
    # Collects all the flags used in golang files and verifies the flags do
    # not contain underscore. If any flag needs to be excluded from this check,
    # need to add that flag in hack/verify-flags/excluded-flags.txt.
    def check_underscore_in_flags(rootdir, files):
        # preload the 'known' flags which don't follow the - standard
        pathname = os.path.join(rootdir, "hack/verify-flags/excluded-flags.txt")
        f = open(pathname, 'r')
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:51 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/flag/flag.go

    Integer flags accept 1234, 0664, 0x1234 and may be negative.
    Boolean flags may be:
    
    	1, 0, t, f, T, F, true, false, TRUE, FALSE, True, False
    
    Duration flags accept any input valid for time.ParseDuration.
    
    The default set of command-line flags is controlled by
    top-level functions.  The [FlagSet] type allows one to define
    independent sets of flags, such as to implement subcommands
    in a command-line interface. The methods of [FlagSet] are
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 18:38:24 UTC 2024
    - 39.7K bytes
    - Viewed (0)
  5. src/internal/pkgbits/flags.go

    Matthew Dempsky <******@****.***> 1657649084 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 12 19:30:30 UTC 2022
    - 253 bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/tools/go/analysis/internal/analysisflags/flags.go

    			enabled[a] = enable
    		}
    
    		a.Flags.VisitAll(func(f *flag.Flag) {
    			if !multi && flag.Lookup(f.Name) != nil {
    				log.Printf("%s flag -%s would conflict with driver; skipping", a.Name, f.Name)
    				return
    			}
    
    			name := prefix + f.Name
    			flag.Var(f.Value, name, f.Usage)
    		})
    	}
    
    	// standard flags: -flags, -V.
    	printflags := flag.Bool("flags", false, "print analyzer flags in JSON")
    	addVersionFlag()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 22 19:00:13 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  7. pkg/test/framework/components/echo/kube/flags.go

    John Howard <******@****.***> 1658767553 +0000
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 16:45:53 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  8. pkg/util/flag/flags.go

    	kubeletconfig "k8s.io/kubernetes/pkg/kubelet/apis/config"
    	utiltaints "k8s.io/kubernetes/pkg/util/taints"
    	netutils "k8s.io/utils/net"
    )
    
    // TODO(mikedanese): remove these flag wrapper types when we remove command line flags
    
    var (
    	_ pflag.Value = &IPVar{}
    	_ pflag.Value = &IPPortVar{}
    	_ pflag.Value = &PortRangeVar{}
    	_ pflag.Value = &ReservedMemoryVar{}
    	_ pflag.Value = &RegisterWithTaintsVar{}
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 19 03:30:46 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/deployment/flags.go

    John Howard <******@****.***> 1658777447 +0000
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 25 19:30:47 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  10. src/internal/goexperiment/flags.go

    // and "go version <binary>" if it differs from the default experiments.
    //
    // For the set of experiments supported by the current toolchain, see
    // "go doc goexperiment.Flags".
    //
    // Note that this package defines the set of experiments (in Flags)
    // and records the experiments that were enabled when the package
    // was compiled (as boolean and integer constants).
    //
    // Note especially that this package does not itself change behavior
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 16:19:47 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top