Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 105 for Rune (0.06 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/archive/tar/reader.go

    			prefix = p.parseString(ustar.prefix())
    
    			// For Format detection, check if block is properly formatted since
    			// the parser is more liberal than what USTAR actually permits.
    			notASCII := func(r rune) bool { return r >= 0x80 }
    			if bytes.IndexFunc(tr.blk[:], notASCII) >= 0 {
    				hdr.Format = FormatUnknown // Non-ASCII characters in block.
    			}
    			nul := func(b []byte) bool { return int(b[len(b)-1]) == 0 }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Mar 08 01:59:14 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    	f.NoCallbacks = make(map[string]bool)
    	f.NoEscapes = make(map[string]bool)
    	for _, line := range linesIn {
    		l := strings.TrimSpace(line)
    		if len(l) < 5 || l[:4] != "#cgo" || !unicode.IsSpace(rune(l[4])) {
    			linesOut = append(linesOut, line)
    		} else {
    			linesOut = append(linesOut, "")
    
    			// #cgo (nocallback|noescape) <function name>
    			if fields := strings.Fields(l); len(fields) == 3 {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Sep 18 15:07:34 UTC 2024
    - 97.1K 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()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 12:04:40 UTC 2024
    - 131.9K bytes
    - Viewed (0)
  9. docs/fr/docs/tutorial/background-tasks.md

    **FastAPI** créera l'objet de type `BackgroundTasks` pour vous et le passera comme paramètre.
    
    ## Créer une fonction de tâche
    
    Une fonction à exécuter comme tâche d'arrière-plan est juste une fonction standard qui peut recevoir des paramètres.
    
    Elle peut être une fonction asynchrone (`async def`) ou une fonction normale (`def`), **FastAPI** saura la gérer correctement.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:29:51 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/fr/docs/advanced/additional-status-codes.md

    ## Codes HTTP supplémentaires
    
    Si vous souhaitez renvoyer des codes HTTP supplémentaires en plus du code principal, vous pouvez le faire en renvoyant directement une `Response`, comme une `JSONResponse`, et en définissant directement le code HTTP supplémentaire.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
Back to top