Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 25 for Rune (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/s3select/sql/stringfuncs.go

    )
    
    const (
    	percent    rune = '%'
    	underscore rune = '_'
    	runeZero   rune = 0
    )
    
    func evalSQLLike(text, pattern string, escape rune) (match bool, err error) {
    	s := []rune{}
    	prev := runeZero
    	hasLeadingPercent := false
    	patLen := len([]rune(pattern))
    	for i, r := range pattern {
    		if i > 0 && prev == escape {
    			switch r {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  2. src/cmd/asm/internal/lex/lex.go

    	"strings"
    	"text/scanner"
    
    	"cmd/internal/src"
    )
    
    // A ScanToken represents an input item. It is a simple wrapping of rune, as
    // returned by text/scanner.Scanner, plus a couple of extra values.
    type ScanToken rune
    
    const (
    	// Asm defines some two-character lexemes. We make up
    	// a rune/ScanToken value for them - ugly but simple.
    	LSH          ScanToken = -1000 - iota // << Left shift.
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Aug 29 18:31:05 GMT 2023
    - 4.1K bytes
    - Click Count (0)
  3. internal/s3select/jstream/scratch.go

    }
    
    // append single byte to scratch buffer
    func (s *scratch) add(c byte) {
    	if s.fill+1 >= cap(s.data) {
    		s.grow()
    	}
    
    	s.data[s.fill] = c
    	s.fill++
    }
    
    // append encoded rune to scratch buffer
    func (s *scratch) addRune(r rune) int {
    	if s.fill+utf8.UTFMax >= cap(s.data) {
    		s.grow()
    	}
    
    	n := utf8.EncodeRune(s.data[s.fill:], r)
    	s.fill += n
    	return n
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Sep 23 19:35:41 GMT 2024
    - 758 bytes
    - Click Count (0)
  4. src/cmd/api/testdata/src/pkg/p1/p1.go

    var m map[string]int
    
    var chanVar chan int
    
    var ifaceVar any = 5
    
    var assertVar = ifaceVar.(int)
    
    var indexVar = m["foo"]
    
    var Byte byte
    var ByteFunc func(byte) rune
    
    type ByteStruct struct {
    	B byte
    	R rune
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 3.3K bytes
    - Click Count (0)
  5. internal/s3select/csv/reader.go

    		ret := csv.NewReader(r)
    		ret.Comma = []rune(args.FieldDelimiter)[0]
    		ret.Comment = []rune(args.CommentCharacter)[0]
    		ret.Quote = []rune{}
    		if len([]rune(args.QuoteCharacter)) > 0 {
    			// Add the first rune of args.QuoteCharacter
    			ret.Quote = append(ret.Quote, []rune(args.QuoteCharacter)[0])
    		}
    		ret.QuoteEscape = []rune(args.QuoteEscapeCharacter)[0]
    		ret.FieldsPerRecord = -1
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  6. src/bytes/iter.go

    // but without constructing a new slice containing the subslices.
    func FieldsSeq(s []byte) iter.Seq[[]byte] {
    	return func(yield func([]byte) bool) {
    		start := -1
    		for i := 0; i < len(s); {
    			size := 1
    			r := rune(s[i])
    			isSpace := asciiSpace[s[i]] != 0
    			if r >= utf8.RuneSelf {
    				r, size = utf8.DecodeRune(s[i:])
    				isSpace = unicode.IsSpace(r)
    			}
    			if isSpace {
    				if start >= 0 {
    					if !yield(s[start:i:i]) {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Sep 03 14:04:47 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/lex/tokenizer.go

    		line: 1,
    		file: file,
    	}
    }
    
    // We want center dot (·) and division slash (∕) to work as identifier characters.
    func isIdentRune(ch rune, i int) bool {
    	if unicode.IsLetter(ch) {
    		return true
    	}
    	switch ch {
    	case '_': // Underscore; traditional.
    		return true
    	case '\u00B7': // Represents the period in runtime.exit. U+00B7 '·' middle dot
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Aug 04 20:35:21 GMT 2022
    - 3K bytes
    - Click Count (0)
  8. utils/utils.go

    func FileWithLineNum() string {
    	frame := CallerFrame()
    	if frame.PC != 0 {
    		return string(strconv.AppendInt(append([]byte(frame.File), ':'), int64(frame.Line), 10))
    	}
    
    	return ""
    }
    
    func IsInvalidDBNameChar(c rune) bool {
    	return !unicode.IsLetter(c) && !unicode.IsNumber(c) && c != '.' && c != '*' && c != '_' && c != '$' && c != '@'
    }
    
    // CheckTruth check string true or not
    func CheckTruth(vals ...string) bool {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Thu Oct 30 10:56:26 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. internal/s3select/sql/stringfuncs_test.go

    		if res != tc.resultExpected || ok != tc.matchExpected {
    			t.Errorf("Matcher Case %d failed", i)
    		}
    	}
    
    	evalCases := []struct {
    		iText, iPat   string
    		iEsc          rune
    		matchExpected bool
    		errExpected   error
    	}{
    		{"abcd", "abc", runeZero, false, nil},
    		{"abcd", "abcd", runeZero, true, nil},
    		{"abcd", "abc_", runeZero, true, nil},
    		{"abcd", "_bdd", runeZero, false, nil},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 3.1K bytes
    - Click Count (0)
  10. 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.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Oct 11 17:48:49 GMT 2025
    - 5.5K bytes
    - Click Count (0)
Back to Top