Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 602 for parsego (0.21 sec)

  1. src/go/internal/gccgoimporter/parser.go

    }
    
    func (p *parser) error(err any) {
    	if s, ok := err.(string); ok {
    		err = errors.New(s)
    	}
    	// panic with a runtime.Error if err is not an error
    	panic(importError{p.scanner.Pos(), err.(error)})
    }
    
    func (p *parser) errorf(format string, args ...any) {
    	p.error(fmt.Errorf(format, args...))
    }
    
    func (p *parser) expect(tok rune) string {
    	lit := p.lit
    	if p.tok != tok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 02 23:14:07 UTC 2024
    - 31.2K bytes
    - Viewed (0)
  2. src/internal/trace/internal/oldtrace/parser.go

    // version.ReadHeader.
    func Parse(r io.Reader, vers version.Version) (Trace, error) {
    	// We accept the version as an argument because internal/trace will have
    	// already read the version to determine which parser to use.
    	p, err := newParser(r, vers)
    	if err != nil {
    		return Trace{}, err
    	}
    	return p.parse()
    }
    
    // parse parses, post-processes and verifies the trace.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 46.8K bytes
    - Viewed (0)
  3. src/net/mail/message.go

    }
    
    // An AddressParser is an RFC 5322 address parser.
    type AddressParser struct {
    	// WordDecoder optionally specifies a decoder for RFC 2047 encoded-words.
    	WordDecoder *mime.WordDecoder
    }
    
    // Parse parses a single RFC 5322 address of the
    // form "Gogh Fir <******@****.***>" or "******@****.***".
    func (p *AddressParser) Parse(address string) (*Address, error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 19 11:31:03 UTC 2024
    - 23.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/parser.go

    			// need to parse a full expression. Notably, name <- x
    			// is not a concern because name <- x is a statement and
    			// not an expression.
    			var x Expr = p.name()
    			if p.tok != _Lbrack {
    				// To parse the expression starting with name, expand
    				// the call sequence we would get by passing in name
    				// to parser.expr, and pass in name to parser.pexpr.
    				p.xnest++
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/declarative-dsl-core/src/main/kotlin/org/gradle/internal/declarativedsl/parsing/Parser.kt

        val wrappedCode: String,
        val originalCodeOffset: Int,
        val suffixLength: Int,
    )
    
    
    fun parse(@Language("kts") code: String): ParsedLightTree {
        val (wrappedCode, codeOffset, suffixLength) = wrapScriptIntoClassInitializerBlock(code)
        return ParsedLightTree(
            KotlinLightParser.parse(psiBuilderFactory.createBuilder(parserDefinition, lexer, wrappedCode)),
            wrappedCode,
            codeOffset,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 22:06:18 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  6. src/internal/trace/parser.go

    Carlos Amedee <******@****.***> 1715110630 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  7. 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:"| @@"`
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/ivyservice/dependencysubstitution/ModuleSelectorStringNotationConverterTest.groovy

            parser.parseNotation(" foo:bar ") == new UnversionedModuleComponentSelector(moduleIdentifierFactory.module("foo", "bar"))
        }
    
        def "parses module component identifier notation"() {
            expect:
            parser.parseNotation("org.gradle:gradle-core:1.+") == DefaultModuleComponentSelector.newSelector(DefaultModuleIdentifier.newId("org.gradle", "gradle-core"), new DefaultMutableVersionConstraint("1.+"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/cli/src/main/java/org/gradle/cli/CommandLineParser.java

        /**
         * Parses the given command-line.
         *
         * @param commandLine The command-line.
         * @return The parsed command line.
         * @throws org.gradle.cli.CommandLineArgumentException
         *          On parse failure.
         */
        public ParsedCommandLine parse(String... commandLine) throws CommandLineArgumentException {
            return parse(Arrays.asList(commandLine));
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 26 14:58:23 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  10. 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"
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 09 07:53:08 UTC 2023
    - 13.9K bytes
    - Viewed (0)
Back to top