- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 18 for preFunc (0.3 sec)
-
src/cmd/cover/cover.go
t = p.X star = "*" } if p, _ := t.(*ast.Ident); p != nil { fname = star + p.Name + "." + fname } } walkBody := true if *pkgcfg != "" { f.preFunc(n, fname) if pkgconfig.Granularity == "perfunc" { walkBody = false } } if walkBody { ast.Walk(f, n.Body) } if *pkgcfg != "" { flit := false f.postFunc(n, fname, flit, n.Body) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 34.5K bytes - Viewed (0) -
src/cmd/internal/cov/covcmd/cmddefs.go
// when instrumentation is complete. OutConfig string // Import path for the package being instrumented. PkgPath string // Package name. PkgName string // Instrumentation granularity: one of "perfunc" or "perblock" (default) Granularity string // Module path for this package (empty if no go.mod in use) ModulePath string // Local mode indicates we're doing a coverage build or test of a
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 30 16:13:15 UTC 2023 - 3.2K bytes - Viewed (0) -
pilot/cmd/pilot-discovery/app/cmd.go
SilenceUsage: true, FParseErrWhitelist: cobra.FParseErrWhitelist{ // Allow unknown flags for backward-compatibility. UnknownFlags: true, }, PreRunE: func(c *cobra.Command, args []string) error { cmd.AddFlags(c) return nil }, } discoveryCmd := newDiscoveryCommand() addFlags(discoveryCmd) rootCmd.AddCommand(discoveryCmd)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Apr 12 16:44:32 UTC 2024 - 8.5K bytes - Viewed (0) -
pilot/cmd/pilot-agent/app/request.go
var ( requestCmd = &cobra.Command{ Use: "request <method> <path> [<body>]", Short: "Makes an HTTP request to the Envoy admin API", Args: cobra.MinimumNArgs(2), PreRunE: func(cmd *cobra.Command, args []string) error { if !allowedPorts.Contains(debugRequestPort) { return fmt.Errorf("debug port %d is not in allowed list %v", debugRequestPort, sets.SortedList(allowedPorts)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Dec 08 03:13:05 UTC 2023 - 2K bytes - Viewed (0) -
src/packaging/common/scripts/prerm
deconfigure|failed-upgrade) ;; # RedHat #################################################### 0) STOP_REQUIRED=true ;; 1) # Don't do anything on upgrade, because the preun script in redhat gets executed after the postinst (madness!) ;; *) echo "pre remove script called with unknown argument \`$1'" >&2 exit 1 ;; esac # Stops the service
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Mon Jan 29 07:34:32 UTC 2018 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 13 15:27:39 UTC 2023 - 34.6K bytes - Viewed (0) -
operator/cmd/mesh/operator-dump.go
return &cobra.Command{ Use: "dump", Short: "Dumps the Istio operator controller manifest.", Long: "The dump subcommand dumps the Istio operator controller manifest.", Args: cobra.ExactArgs(0), PreRunE: func(cmd *cobra.Command, args []string) error { if !labels.IsDNS1123Label(odArgs.common.revision) && cmd.PersistentFlags().Changed("revision") { return fmt.Errorf("invalid revision specified: %v", odArgs.common.revision) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 3.6K bytes - Viewed (0) -
tools/istio-clean-iptables/pkg/cmd/root.go
cfg := config.DefaultConfig() cmd := &cobra.Command{ Use: "istio-clean-iptables", Short: "Clean up iptables rules for Istio Sidecar", Long: "Script responsible for cleaning up iptables rules", PreRunE: func(cmd *cobra.Command, args []string) error { if err := log.Configure(logOpts); err != nil { return err } return nil }, RunE: func(cmd *cobra.Command, args []string) error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Mar 11 17:46:23 UTC 2024 - 3K bytes - Viewed (0) -
operator/cmd/mesh/operator-init.go
return &cobra.Command{ Use: "init", Short: "Installs the Istio operator controller in the cluster.", Long: "The init subcommand installs the Istio operator controller in the cluster.", Args: cobra.ExactArgs(0), PreRunE: func(cmd *cobra.Command, args []string) error { if !labels.IsDNS1123Label(oiArgs.common.revision) && cmd.PersistentFlags().Changed("revision") { return fmt.Errorf("invalid revision specified: %v", oiArgs.common.revision) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Mar 15 01:18:49 UTC 2024 - 6.2K bytes - Viewed (0) -
src/cmd/compile/internal/coverage/cover.go
base.Fatalf("bad setting %q for covermode in coveragecfg:", counterMode) } var cg coverage.CounterGranularity switch counterGran { case "perblock": cg = coverage.CtrGranularityPerBlock case "perfunc": cg = coverage.CtrGranularityPerFunc default: base.Fatalf("bad setting %q for covergranularity in coveragecfg:", counterGran) } cnames := names{ MetaVar: metavar, PkgIdVar: pkgidvar,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 29 21:55:46 UTC 2024 - 6K bytes - Viewed (0)