Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 69 for Brune (0.18 sec)

  1. docs/debugging/xl-meta/main.go

    				if err != nil {
    					return nil, err
    				}
    				buf = bytes.NewBuffer(b)
    			}
    			if c.Bool("export") {
    				file := file
    				if !c.Bool("combine") {
    					file = strings.Map(func(r rune) rune {
    						switch {
    						case r >= 'a' && r <= 'z':
    							return r
    						case r >= 'A' && r <= 'Z':
    							return r
    						case r >= '0' && r <= '9':
    							return r
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 17:56:22 GMT 2024
    - 20.2K bytes
    - Viewed (1)
  2. src/builtin/builtin.go

    // used, by convention, to distinguish byte values from 8-bit unsigned
    // integer values.
    type byte = uint8
    
    // rune is an alias for int32 and is equivalent to int32 in all ways. It is
    // used, by convention, to distinguish character values from integer values.
    type rune = int32
    
    // any is an alias for interface{} and is equivalent to interface{} in all ways.
    type any = interface{}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  3. istioctl/cmd/root.go

    func seeExperimentalCmd(name string) *cobra.Command {
    	msg := fmt.Sprintf("(%s is experimental. Use `istioctl experimental %s`)", name, name)
    	return &cobra.Command{
    		Use:   name,
    		Short: msg,
    		RunE: func(_ *cobra.Command, _ []string) error {
    			return errors.New(msg)
    		},
    	}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 11 20:51:30 GMT 2024
    - 10K bytes
    - Viewed (0)
  4. istioctl/pkg/workload/workload.go

    			if name == "" {
    				return fmt.Errorf("expecting a workload name")
    			}
    			if namespace == "" {
    				return fmt.Errorf("expecting a workload namespace")
    			}
    			return nil
    		},
    		RunE: func(cmd *cobra.Command, args []string) error {
    			u := &unstructured.Unstructured{
    				Object: map[string]any{
    					"apiVersion": gvk.WorkloadGroup.GroupVersion(),
    					"kind":       gvk.WorkloadGroup.Kind,
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Apr 17 20:06:41 GMT 2024
    - 25.5K bytes
    - Viewed (0)
  5. cni/pkg/cmd/root.go

    	SilenceUsage: true,
    	PreRunE: func(c *cobra.Command, args []string) error {
    		if err := log.Configure(logOptions); err != nil {
    			log.Errorf("Failed to configure log %v", err)
    		}
    		return nil
    	},
    	RunE: func(c *cobra.Command, args []string) (err error) {
    		cmd.PrintFlags(c.Flags())
    		ctx := c.Context()
    
    		// Start controlz server
    		_, _ = ctrlz.Run(ctrlzOptions, nil)
    
    		var cfg *config.Config
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Apr 30 22:24:38 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  6. istioctl/pkg/precheck/precheck.go

      istioctl x precheck
    
      # Check only a single namespace
      istioctl x precheck --namespace default
    
      # Check for behavioral changes since a specific version
      istioctl x precheck --from-version 1.10`,
    		RunE: func(cmd *cobra.Command, args []string) (err error) {
    			msgs := diag.Messages{}
    			if !skipControlPlane {
    				msgs, err = checkControlPlane(ctx)
    				if err != nil {
    					return err
    				}
    			}
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 02:57:30 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  7. istioctl/pkg/multicluster/remote_secret.go

      istioctl --kubeconfig=c0.yaml create-remote-secret --name c0 --auth-type=plugin --auth-plugin-name=gcp \
        | kubectl --kubeconfig=c1.yaml apply -f -`,
    		Args: cobra.NoArgs,
    		RunE: func(c *cobra.Command, args []string) error {
    			if err := opts.prepare(ctx); err != nil {
    				return err
    			}
    			client, err := ctx.CLIClient()
    			if err != nil {
    				return err
    			}
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  8. cmd/metrics-v2.go

    		// add underscore if last letter is capital letter
    		// add underscore when previous letter is lowercase
    		// add underscore when next letter is lowercase
    		if (i != 0 || i == l-1) && ((i > 0 && rune(camel[i-1]) >= 'a') ||
    			(i < l-1 && rune(camel[i+1]) >= 'a')) {
    			b.WriteRune('_')
    		}
    		b.WriteRune(v + 'a' - 'A')
    	}
    	return b.String()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 22:01:31 GMT 2024
    - 132.6K bytes
    - Viewed (0)
  9. cmd/object-handlers.go

    							w.Header().Set(k, v)
    						}
    
    						if opts.PartNumber > 0 && strings.Contains(ci.ETag, "-") {
    							w.Header()[xhttp.AmzMpPartsCount] = []string{
    								strings.TrimLeftFunc(ci.ETag, func(r rune) bool {
    									return !unicode.IsNumber(r)
    								}),
    							}
    						}
    
    						// For providing ranged content
    						start, rangeLen, err := rs.GetOffsetLength(ci.Size)
    						if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu May 02 20:15:54 GMT 2024
    - 125.2K bytes
    - Viewed (0)
  10. src/bytes/buffer.go

    // converted to int they correspond to the rune size that was read.
    type readOp int8
    
    // Don't use iota for these, as the values need to correspond with the
    // names and comments, which is easier to see when being explicit.
    const (
    	opRead      readOp = -1 // Any other read operation.
    	opInvalid   readOp = 0  // Non-read operation.
    	opReadRune1 readOp = 1  // Read rune of size 1.
    	opReadRune2 readOp = 2  // Read rune of size 2.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
Back to top