Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for rune1 (0.15 sec)

  1. pkg/config/security/security.go

    	"P-521",
    	"P-384",
    	"X25519",
    	"X25519Kyber768Draft00",
    )
    
    func IsValidCipherSuite(cs string) bool {
    	if cs == "" || cs == "ALL" {
    		return true
    	}
    	if !unicode.IsNumber(rune(cs[0])) && !unicode.IsLetter(rune(cs[0])) {
    		// Not all of these are correct, but this is needed to support advanced cases like - and + operators
    		// without needing to parse the full expression
    		return true
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 07 04:43:34 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. cni/pkg/cmd/root.go

    	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
    	},
    	RunE: func(c *cobra.Command, args []string) (err error) {
    		ctx := c.Context()
    
    		// Start controlz server
    		_, _ = ctrlz.Run(ctrlzOptions, nil)
    
    		var cfg *config.Config
    		if cfg, err = constructConfig(); err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:35 UTC 2024
    - 13K bytes
    - Viewed (0)
  3. src/go/types/unify.go

    	xorig, x := x, Unalias(x)
    	yorig, y := y, Unalias(y)
    
    	switch x := x.(type) {
    	case *Basic:
    		// Basic types are singletons except for the rune and byte
    		// aliases, thus we cannot solely rely on the x == y check
    		// above. See also comment in TypeName.IsAlias.
    		if y, ok := y.(*Basic); ok {
    			return x.kind == y.kind
    		}
    
    	case *Array:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/unify.go

    	xorig, x := x, Unalias(x)
    	yorig, y := y, Unalias(y)
    
    	switch x := x.(type) {
    	case *Basic:
    		// Basic types are singletons except for the rune and byte
    		// aliases, thus we cannot solely rely on the x == y check
    		// above. See also comment in TypeName.IsAlias.
    		if y, ok := y.(*Basic); ok {
    			return x.kind == y.kind
    		}
    
    	case *Array:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:24:39 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  5. 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()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:54 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  6. cmd/kubelet/app/server.go

    		// DisableFlagParsing=true provides the full set of flags passed to the kubelet in the
    		// `args` arg to Run, without Cobra's interference.
    		DisableFlagParsing: true,
    		SilenceUsage:       true,
    		RunE: func(cmd *cobra.Command, args []string) error {
    			// initial flag parse, since we disable cobra's flag parsing
    			if err := cleanFlagSet.Parse(args); err != nil {
    				return fmt.Errorf("failed to parse kubelet flag: %w", err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:34 UTC 2024
    - 53.9K bytes
    - Viewed (0)
  7. 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 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
Back to top