Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ValueString (0.98 sec)

  1. src/crypto/x509/pkix/pkix.go

    				}
    
    				typeName = oidString
    			}
    
    			valueString := fmt.Sprint(tv.Value)
    			escaped := make([]rune, 0, len(valueString))
    
    			for k, c := range valueString {
    				escape := false
    
    				switch c {
    				case ',', '+', '"', '\\', '<', '>', ';':
    					escape = true
    
    				case ' ':
    					escape = k == 0 || k == len(valueString)-1
    
    				case '#':
    					escape = k == 0
    				}
    
    				if escape {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 17:09:47 UTC 2023
    - 9.1K bytes
    - Viewed (0)
  2. operator/pkg/util/util.go

    	if err != nil {
    		return "", err
    	}
    	buf := new(bytes.Buffer)
    	err = t.Execute(buf, ts)
    	if err != nil {
    		return "", err
    	}
    	return buf.String(), nil
    }
    
    func ValueString(v *structpb.Value) string {
    	switch x := v.Kind.(type) {
    	case *structpb.Value_StringValue:
    		return x.StringValue
    	case *structpb.Value_NumberValue:
    		return fmt.Sprint(x.NumberValue)
    	default:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 02 13:01:43 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  3. src/text/template/exec_test.go

    			c <- "abcdefghijklmnop"[i : i+1]
    		}
    		close(c)
    	}()
    	return c
    }
    
    // vfunc takes a *V and a V
    func vfunc(V, *V) string {
    	return "vfunc"
    }
    
    // valueString takes a string, not a pointer.
    func valueString(v string) string {
    	return "value is ignored"
    }
    
    // returnInt returns an int
    func returnInt() int {
    	return 7
    }
    
    func add(args ...int) int {
    	sum := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  4. src/html/template/exec_test.go

    			c <- "abcdefghijklmnop"[i : i+1]
    		}
    		close(c)
    	}()
    	return c
    }
    
    // vfunc takes a *V and a V
    func vfunc(V, *V) string {
    	return "vfunc"
    }
    
    // valueString takes a string, not a pointer.
    func valueString(v string) string {
    	return "value is ignored"
    }
    
    // returnInt returns an int
    func returnInt() int {
    	return 7
    }
    
    func add(args ...int) int {
    	sum := 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. operator/pkg/translate/translate.go

    		}
    
    		tag, found, _ := tpath.GetFromStructPath(iop, "Components."+string(cn)+".Tag")
    		tagv, ok := tag.(*structpb.Value)
    		if found && !(ok && util.ValueString(tagv) == "") {
    			if err := tpath.WriteNode(root, util.PathFromString(c.ToHelmValuesTreeRoot+"."+HelmValuesTagSubpath), util.ValueString(tagv)); err != nil {
    				return err
    			}
    		}
    	}
    
    	for cn, gns := range t.GlobalNamespaces {
    		ns, err := name.Namespace(cn, iop)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 12 19:43:09 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  6. src/internal/trace/traceviewer/static/trace_viewer_full.html

    class Timing{static mark(groupName,functionName,opt_timestamp){return new Mark(groupName,functionName,opt_timestamp);}
    static instant(groupName,functionName,opt_value){const valueString=opt_value===undefined?'':' '+opt_value;if(console&&console.timeStamp){console.timeStamp(`${groupName} ${functionName}${valueString}`);}
    if(window&&window.ga instanceof Function){ga('send',{hitType:'event',eventCategory:groupName,eventAction:functionName,eventValue:opt_value,});}}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 20:45:06 UTC 2023
    - 2.5M bytes
    - Viewed (0)
Back to top