Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 450 for Parser (0.2 sec)

  1. internal/s3select/sql/parser.go

    }
    
    // FuncExpr represents a function call
    type FuncExpr struct {
    	SFunc     *SimpleArgFunc `parser:"  @@"`
    	Count     *CountFunc     `parser:"| @@"`
    	Cast      *CastFunc      `parser:"| @@"`
    	Substring *SubstringFunc `parser:"| @@"`
    	Extract   *ExtractFunc   `parser:"| @@"`
    	Trim      *TrimFunc      `parser:"| @@"`
    	DateAdd   *DateAddFunc   `parser:"| @@"`
    	DateDiff  *DateDiffFunc  `parser:"| @@"`
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 12.9K bytes
    - Viewed (0)
  2. internal/jwt/parser.go

    package jwt
    
    // This file is a re-implementation of the original code here with some
    // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1
    // original file https://github.com/golang-jwt/jwt/blob/main/parser.go
    // borrowed under MIT License https://github.com/golang-jwt/jwt/blob/main/LICENSE
    
    import (
    	"bytes"
    	"crypto"
    	"crypto/hmac"
    	"encoding/base64"
    	"errors"
    	"fmt"
    	"hash"
    	"sync"
    	"time"
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue May 09 07:53:08 GMT 2023
    - 13.9K bytes
    - Viewed (0)
  3. internal/jwt/parser_test.go

    package jwt
    
    // This file is a re-implementation of the original code here with some
    // additional allocation tweaks reproduced using GODEBUG=allocfreetrace=1
    // original file https://github.com/golang-jwt/jwt/blob/main/parser.go
    // borrowed under MIT License https://github.com/golang-jwt/jwt/blob/main/LICENSE
    
    import (
    	"fmt"
    	"testing"
    	"time"
    
    	"github.com/golang-jwt/jwt/v4"
    )
    
    var (
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Nov 05 19:20:08 GMT 2021
    - 6K bytes
    - Viewed (0)
  4. internal/s3select/sql/parser_test.go

    }
    
    func TestParseSelectStatement(t *testing.T) {
    	exp, err := ParseSelectStatement("select _3,_1,_2 as 'mytest'  from S3object")
    	if err != nil {
    		t.Fatalf("parse alias sql error: %v", err)
    	}
    	if exp.selectAST.Expression.Expressions[2].As != "mytest" {
    		t.Fatalf("parse alias sql error: %s not equal %s", exp.selectAST.Expression.Expressions[2].As, err)
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  5. cmd/signature-v4-parser.go

    }
    
    // preSignValues data type represents structured form of AWS Signature V4 query string.
    type preSignValues struct {
    	signValues
    	Date    time.Time
    	Expires time.Duration
    }
    
    // Parses signature version '4' query string of the following form.
    //
    //	querystring = X-Amz-Algorithm=algorithm
    //	querystring += &X-Amz-Credential= urlencode(accessKey + '/' + credential_scope)
    //	querystring += &X-Amz-Date=date
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  6. cmd/signature-v4-parser_test.go

    		if actualErrCode == ErrNone {
    			// validating the extracted/parsed credential fields.
    			validateCredentialfields(t, i+1, testCase.expectedAuthField.Credential, parsedAuthField.Credential)
    
    			// validating the extraction/parsing of signature field.
    			if !compareSignatureV4(testCase.expectedAuthField.Signature, parsedAuthField.Signature) {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 27.4K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/parse.go

    	return tok
    }
    
    func (p *Parser) back() {
    	if p.inputPos == 0 {
    		p.errorf("internal error: backing up before BOL")
    	} else {
    		p.inputPos--
    	}
    }
    
    func (p *Parser) peek() lex.ScanToken {
    	if p.more() {
    		return p.input[p.inputPos].ScanToken
    	}
    	return scanner.EOF
    }
    
    func (p *Parser) more() bool {
    	return p.inputPos < len(p.input)
    }
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/parser/QueryParser.java

            createFilterChain();
        }
    
        public Query parse(final String query) {
            return filterChain.parse(query);
        }
    
        protected org.apache.lucene.queryparser.classic.QueryParser createQueryParser() {
            final LuceneQueryParser parser = new LuceneQueryParser(defaultField, analyzer);
            parser.setAllowLeadingWildcard(allowLeadingWildcard);
            parser.setDefaultOperator(defaultOperator);
            return parser;
    Java
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

     * line 2
    '''
            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
            format(result.docbook) == '''<para>line 1
    line 2</para>'''
        }
    
        def removesTagBlockFromComment() {
            _ * classMetaData.rawCommentText >> ''' * line 1
     * @tag line 2
     * line 3
    '''
    
            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 14.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultRootLocator.java

                XMLStreamReader parser = new WstxInputFactory().createXMLStreamReader(is);
                if (parser.nextTag() == XMLStreamReader.START_ELEMENT
                        && parser.getLocalName().equals("project")) {
                    for (int i = 0; i < parser.getAttributeCount(); i++) {
                        if ("root".equals(parser.getAttributeLocalName(i))) {
    Java
    - Registered: Sun Apr 21 03:35:09 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
Back to top