Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 132 for Rune (0.05 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
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  2. istioctl/pkg/analyze/analyze.go

      # and suppress MisplacedAnnotation on deployment foobar in namespace default.
      istioctl analyze -S "IST0103=Pod *.testing" -S "IST0107=Deployment foobar.default"
    
      # List available analyzers
      istioctl analyze -L`,
    		RunE: func(cmd *cobra.Command, args []string) error {
    			msgOutputFormat = strings.ToLower(msgOutputFormat)
    			_, ok := formatting.MsgOutputFormats[msgOutputFormat]
    			if !ok {
    				return util.CommandParseError{
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 31 06:53:50 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  3. internal/s3select/sql/evaluate.go

    			return nil, err2
    		}
    
    		inferTypeAsString(escapeVal)
    
    		escapeStr, ok := escapeVal.ToString()
    		if !ok {
    			err := errLikeNonStrArg
    			return nil, errLikeInvalidInputs(err)
    		}
    
    		if len([]rune(escapeStr)) > 1 {
    			err := errLikeInvalidEscape
    			return nil, errLikeInvalidInputs(err)
    		}
    	}
    
    	matchResult, err := evalSQLLike(s, patternStr, escape)
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 12K bytes
    - Viewed (0)
  4. internal/s3select/sql/funceval.go

    	s, ok := v.ToString()
    	if !ok {
    		err := fmt.Errorf("%s/%s expects a string argument", sqlFnCharLength, sqlFnCharacterLength)
    		return nil, errIncorrectSQLFunctionArgumentType(err)
    	}
    	return FromInt(int64(len([]rune(s)))), nil
    }
    
    func lowerCase(v *Value) (*Value, error) {
    	inferTypeAsString(v)
    	s, ok := v.ToString()
    	if !ok {
    		err := fmt.Errorf("%s expects a string argument", sqlFnLower)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  5. istioctl/pkg/validate/validate.go

      kubectl get services -o yaml | istioctl validate -f -
    
      # Also see the related command 'istioctl analyze'
      istioctl analyze samples/bookinfo/networking/bookinfo-gateway.yaml
    `,
    		Args: cobra.NoArgs,
    		RunE: func(c *cobra.Command, _ []string) error {
    			istioNamespace := ctx.IstioNamespace()
    			defaultNamespace := ctx.NamespaceOrDefault("")
    			return validateFiles(&istioNamespace, defaultNamespace, filenames, c.OutOrStderr())
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 22:27:47 UTC 2024
    - 14.3K 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
    				}
    			}
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Oct 24 02:31:32 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  7. src/cmd/api/main_test.go

    			// TODO(gri) change to "ideal-rune"
    			s = "ideal-char"
    		case types.UntypedFloat:
    			s = "ideal-float"
    		case types.UntypedComplex:
    			s = "ideal-complex"
    		case types.UntypedString:
    			s = "ideal-string"
    		case types.UntypedNil:
    			panic("should never see untyped nil type")
    		default:
    			switch s {
    			case "byte":
    				s = "uint8"
    			case "rune":
    				s = "int32"
    			}
    		}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 04 18:16:59 UTC 2024
    - 31.4K bytes
    - Viewed (0)
  8. 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
    			}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  9. api/go1.5.txt

    pkg go/types, const MethodVal = 1
    pkg go/types, const MethodVal SelectionKind
    pkg go/types, const RecvOnly = 2
    pkg go/types, const RecvOnly ChanDir
    pkg go/types, const Rune = 5
    pkg go/types, const Rune BasicKind
    pkg go/types, const SendOnly = 1
    pkg go/types, const SendOnly ChanDir
    pkg go/types, const SendRecv = 0
    pkg go/types, const SendRecv ChanDir
    pkg go/types, const String = 17
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Thu Jul 30 21:14:09 UTC 2015
    - 46.6K bytes
    - Viewed (0)
  10. internal/s3select/csv/reader_contrib_test.go

    			AllowQuotedRecordDelimiter: false,
    			unmarshaled:                true,
    		})
    
    		for {
    			record, err = r.Read(record)
    			if err != nil {
    				break
    			}
    			opts := sql.WriteCSVOpts{
    				FieldDelimiter: []rune(c.fieldDelimiter)[0],
    				Quote:          '"',
    				QuoteEscape:    '"',
    				AlwaysQuote:    false,
    			}
    			record.WriteCSV(&result, opts)
    			result.Truncate(result.Len() - 1)
    			result.WriteString(c.recordDelimiter)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 19 18:05:16 UTC 2022
    - 38.5K bytes
    - Viewed (0)
Back to top