Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 416 for flagstr (0.12 sec)

  1. src/internal/trace/traceviewer/mmu.go

    	"assist":     trace.UtilAssist,
    	"sweep":      trace.UtilSweep,
    }
    
    func requestUtilFlags(r *http.Request) trace.UtilFlags {
    	var flags trace.UtilFlags
    	for _, flagStr := range strings.Split(r.FormValue("flags"), "|") {
    		flags |= utilFlagNames[flagStr]
    	}
    	return flags
    }
    
    type mmuCacheEntry struct {
    	init     sync.Once
    	util     [][]trace.MutatorUtil
    	mmuCurve *trace.MMUCurve
    	err      error
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:29:53 UTC 2023
    - 13K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    	dfp := dentry.props
    	efp := eentry.props
    	dfn := dentry.fname
    
    	// Compare function flags.
    	if dfp.Flags != efp.Flags {
    		t.Errorf("testcase %q: Flags mismatch for %q: got %s, wanted %s",
    			tc, dfn, dfp.Flags.String(), efp.Flags.String())
    	}
    	// Compare returns
    	rgot := propBitsToString[ResultPropBits](dfp.ResultFlags)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  3. tensorflow/compiler/jit/flags.h

        absl::flat_hash_set<std::string> xla_compile_and_run_allowed_devices_;
      } tf_xla_use_device_api;
    };
    
    // Flags for the XlaCallModule kernel.
    struct XlaCallModuleFlags {
      // Used by XlaCallModuleOp to specify safety checks to disable.
      absl::flat_hash_set<std::string> disabled_checks;
    };
    
    // Flags for the build_xla_ops pass.
    struct BuildXlaOpsPassFlags {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 17 18:52:57 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. pkg/test/framework/resource/flags.go

    	"istio.io/istio/pkg/test/framework/config"
    	"istio.io/istio/pkg/test/framework/label"
    )
    
    var settingsFromCommandLine = DefaultSettings()
    
    // SettingsFromCommandLine returns settings obtained from command-line flags. config.Parse must be called before
    // calling this function.
    func SettingsFromCommandLine(testID string) (*Settings, error) {
    	if !config.Parsed() {
    		panic("config.Parse must be called before this function")
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 19:04:51 UTC 2024
    - 14K bytes
    - Viewed (0)
  5. pkg/test/framework/components/environment/kube/flags.go

    	configTopology string
    	// file defining all types of topology
    	clusterConfigs configsVal
    )
    
    // NewSettingsFromCommandLine returns Settings obtained from command-line flags.
    // config.Parse must be called before calling this function.
    func NewSettingsFromCommandLine() (*Settings, error) {
    	if !config.Parsed() {
    		panic("config.Parse must be called before this function")
    	}
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 08 16:43:05 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. cmd/kube-apiserver/app/server.go

    	}
    	cmd.SetContext(genericapiserver.SetupSignalContext())
    
    	fs := cmd.Flags()
    	namedFlagSets := s.Flags()
    	verflag.AddFlags(namedFlagSets.FlagSet("global"))
    	globalflag.AddGlobalFlags(namedFlagSets.FlagSet("global"), cmd.Name(), logs.SkipLoggingConfigurationFlags())
    	options.AddCustomGlobalFlags(namedFlagSets.FlagSet("generic"))
    	for _, f := range namedFlagSets.FlagSets {
    		fs.AddFlagSet(f)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 01 17:44:20 UTC 2024
    - 10.2K bytes
    - Viewed (0)
Back to top