Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for preFunc (0.15 sec)

  1. 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)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler_test.go

    		HasSynced bool
    
    		ExpectStatus         int
    		ExpectResponse       func(*testing.T, *http.Response, []byte)
    		ExpectDelegateCalled bool
    	}{
    		{
    			Name:                 "existing group discovery, presync",
    			Method:               "GET",
    			Path:                 "/apis/custom",
    			APIGroup:             "custom",
    			APIVersion:           "",
    			HasSynced:            false,
    			IsResourceRequest:    false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 13 15:27:39 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  3. cni/pkg/cmd/root.go

    	}()
    )
    
    var rootCmd = &cobra.Command{
    	Use:          "install-cni",
    	Short:        "Install and configure Istio CNI plugin on a node, detect and repair pod which is broken by race condition.",
    	SilenceUsage: true,
    	PreRunE: func(c *cobra.Command, args []string) error {
    		if err := istiolog.Configure(logOptions); err != nil {
    			log.Errorf("Failed to configure log %v", err)
    		}
    		return nil
    	},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  4. src/internal/coverage/defs.go

    	CtrGranularityPerBlock
    	CtrGranularityPerFunc
    )
    
    func (cm CounterGranularity) String() string {
    	switch cm {
    	case CtrGranularityPerBlock:
    		return "perblock"
    	case CtrGranularityPerFunc:
    		return "perfunc"
    	}
    	return "<invalid>"
    }
    
    // Name of file within the "go test -cover" temp coverdir directory
    // containing a list of meta-data files for packages being tested
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 12:51:16 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  5. operator/cmd/mesh/install.go

      istioctl install --set "values.sidecarInjectorWebhook.injectedAnnotations.container\.apparmor\.security\.beta\.kubernetes\.io/istio-proxy=runtime/default"
    `,
    		Args: cobra.ExactArgs(0),
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    			if !labels.IsDNS1123Label(iArgs.Revision) && cmd.PersistentFlags().Changed("revision") {
    				return fmt.Errorf("invalid revision specified: %v", iArgs.Revision)
    			}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:35 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  6. istioctl/pkg/workload/workload.go

    				return err
    			}
    			fmt.Printf("Configuration generation into directory %s was successful\n", outputDir)
    			return nil
    		},
    		PreRunE: func(cmd *cobra.Command, args []string) error {
    			if len(internalIP) > 0 && len(externalIP) > 0 {
    				return fmt.Errorf("the flags --internalIP and --externalIP are mutually exclusive")
    			}
    			return nil
    		},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top