Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for iskeyword (0.21 sec)

  1. internal/s3select/sql/parser_test.go

    	"github.com/alecthomas/participle/lexer"
    )
    
    func TestJSONPathElement(t *testing.T) {
    	p := participle.MustBuild(
    		&JSONPathElement{},
    		participle.Lexer(sqlLexer),
    		participle.CaseInsensitive("Keyword"),
    		participle.CaseInsensitive("Timeword"),
    	)
    
    	j := JSONPathElement{}
    	cases := []string{
    		// Key
    		"['name']", ".name", `."name"`,
    
    		// Index
    		"[2]", "[0]", "[100]",
    
    		// Object wildcard
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  2. cmd/api-errors.go

    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpectedKeyword: {
    		Code:           "ParseExpectedKeyword",
    		Description:    "Did not find the expected keyword in the SQL expression.",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrParseExpectedTokenType: {
    		Code:           "ParseExpectedTokenType",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun May 05 16:56:21 GMT 2024
    - 91.4K bytes
    - Viewed (7)
  3. src/cmd/cgo/gcc.go

    	for _, f := range dt.Field {
    		ident[f.Name] = f.Name
    		used[f.Name] = true
    	}
    
    	if !*godefs {
    		for cid, goid := range ident {
    			if token.Lookup(goid).IsKeyword() {
    				// Avoid keyword
    				goid = "_" + goid
    
    				// Also avoid existing fields
    				for _, exist := used[goid]; exist; _, exist = used[goid] {
    					goid = "_" + goid
    				}
    
    				used[goid] = true
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  4. internal/s3select/sql/parser.go

    	Quoted   *QuotedIdentifier `parser:"| @QuotIdent"`
    }
    
    var (
    	sqlLexer = lexer.Must(lexer.Regexp(`(\s+)` +
    		`|(?P<Timeword>(?i)\b(?:YEAR|MONTH|DAY|HOUR|MINUTE|SECOND|TIMEZONE_HOUR|TIMEZONE_MINUTE)\b)` +
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  5. src/archive/tar/common.go

    	Xattrs map[string]string
    
    	// PAXRecords is a map of PAX extended header records.
    	//
    	// User-defined records should have keys of the following form:
    	//	VENDOR.keyword
    	// Where VENDOR is some namespace in all uppercase, and keyword may
    	// not contain the '=' character (e.g., "GOLANG.pkg.version").
    	// The key and value should be non-empty UTF-8 strings.
    	//
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  6. internal/s3select/unused-errors.go

    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errParseExpectedKeyword(err error) *s3Error {
    	return &s3Error{
    		code:       "ParseExpectedKeyword",
    		message:    "Did not find the expected keyword in the SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errParseExpectedTokenType(err error) *s3Error {
    	return &s3Error{
    		code:       "ParseExpectedTokenType",
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Feb 20 08:16:35 GMT 2024
    - 17.5K bytes
    - Viewed (0)
Back to top