Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Vt (0.02 sec)

  1. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    		}
    
    		var V0 types.Type // integral type in the type set of V
    
    		for _, vt := range vtypes {
    			u, _ := vt.Underlying().(*types.Basic)
    			if u != nil && u.Info()&types.IsInteger != 0 {
    				switch u.Kind() {
    				case types.Byte, types.Rune, types.UntypedRune:
    					continue
    				}
    				V0 = vt
    				break
    			}
    		}
    
    		if V0 == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. pilot/pkg/util/protoconv/protoconv.go

    		Value:   b,
    	}, nil
    }
    
    func marshal(msg proto.Message) ([]byte, error) {
    	if features.EnableVtprotobuf {
    		if vt, ok := msg.(vtStrictMarshal); ok {
    			// Attempt to use more efficient implementation
    			// "Strict" is the equivalent to Deterministic=true below
    			return vt.MarshalVTStrict()
    		}
    	}
    	// If not available, fallback to normal implementation
    	return proto.MarshalOptions{Deterministic: true}.Marshal(msg)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 02 04:55:40 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. staging/src/k8s.io/cli-runtime/pkg/printers/terminal.go

    	// https://no-color.org/
    	if _, nocolor := os.LookupEnv("NO_COLOR"); nocolor {
    		return false
    	}
    
    	// On Windows WT_SESSION is set by the modern terminal component.
    	// Older terminals have poor support for UTF-8, VT escape codes, etc.
    	if runtime.GOOS == "windows" && os.Getenv("WT_SESSION") == "" {
    		return false
    	}
    
    	return true
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top