Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,544 for parseAI (0.14 sec)

  1. src/crypto/x509/parser.go

    				return errors.New("x509: SAN uniformResourceIdentifier is malformed")
    			}
    			uri, err := url.Parse(uriStr)
    			if err != nil {
    				return fmt.Errorf("x509: cannot parse URI %q: %s", uriStr, err)
    			}
    			if len(uri.Host) > 0 {
    				if _, ok := domainToReverseLabels(uri.Host); !ok {
    					return fmt.Errorf("x509: cannot parse URI %q: invalid domain", uriStr)
    				}
    			}
    			uris = append(uris, uri)
    		case nameTypeIP:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:00:16 UTC 2024
    - 38.5K bytes
    - Viewed (0)
  2. 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)
  3. src/text/template/parse/parse.go

    	case *WithNode:
    	default:
    		panic("unknown node: " + n.String())
    	}
    	return false
    }
    
    // parse is the top-level parser for a template, essentially the same
    // as itemList except it also parses {{define}} actions.
    // It runs to EOF.
    func (t *Tree) parse() {
    	t.Root = t.newList(t.peek().pos)
    	for t.peek().typ != itemEOF {
    		if t.peek().typ == itemLeftDelim {
    			delim := t.next()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:57:51 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. test/stress/parsego.go

    	return isGoFile(dir) &&
    		!strings.HasSuffix(dir.Name(), "_test.go") // ignore test files
    }
    
    func pkgName(filename string) string {
    	file, err := parser.ParseFile(token.NewFileSet(), filename, nil, parser.PackageClauseOnly)
    	if err != nil || file == nil {
    		return ""
    	}
    	return file.Name.Name
    }
    
    func parseDir(dirpath string) map[string]*ast.Package {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 4.1K bytes
    - Viewed (0)
  5. tools/docker-builder/dockerfile/parse.go

    	Value     []string // The contents of the command (ex: `ubuntu:xenial`)
    }
    
    // parseFile parses a Dockerfile from a filename.
    func parseFile(filename string) ([]Command, error) {
    	file, err := os.Open(filename)
    	if err != nil {
    		return nil, err
    	}
    	defer file.Close()
    
    	res, err := parser.Parse(file)
    	if err != nil {
    		return nil, err
    	}
    
    	var ret []Command
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  6. pkg/util/iptables/testing/parse.go

    var ipTablesValuePtrType = reflect.TypeOf((*IPTablesValue)(nil))
    
    // ParseRule parses rule. If strict is false, it will parse the recognized
    // parameters and ignore unrecognized ones. If it is true, parsing will fail if there are
    // unrecognized parameters.
    func ParseRule(rule string, strict bool) (*Rule, error) {
    	parsed := &Rule{Raw: rule}
    
    	// Split rule into "words" (where a quoted string is a single word).
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  7. 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)
  8. src/go/printer/testdata/parser.go

    // license that can be found in the LICENSE file.
    
    // Package parser implements a parser for Go source files. Input may be
    // provided in a variety of forms (see the various Parse* functions); the
    // output is an abstract syntax tree (AST) representing the Go source. The
    // parser is invoked through one of the Parse* functions.
    
    package parser
    
    import (
    	"fmt"
    	"go/ast"
    	"go/scanner"
    	"go/token"
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 20:19:51 UTC 2023
    - 50.5K bytes
    - Viewed (0)
  9. src/go/parser/parser.go

    // license that can be found in the LICENSE file.
    
    // Package parser implements a parser for Go source files. Input may be
    // provided in a variety of forms (see the various Parse* functions); the
    // output is an abstract syntax tree (AST) representing the Go source. The
    // parser is invoked through one of the Parse* functions.
    //
    // The parser accepts a larger language than is syntactically permitted by
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  10. pkg/util/parsers/parsers.go

    limitations under the License.
    */
    
    package parsers
    
    import (
    	"fmt"
    	//  Import the crypto sha256 algorithm for the docker image parser to work
    	_ "crypto/sha256"
    	//  Import the crypto/sha512 algorithm for the docker image parser to work with 384 and 512 sha hashes
    	_ "crypto/sha512"
    
    	dockerref "github.com/distribution/reference"
    )
    
    // ParseImageName parses a docker image string into three parts: repo, tag and digest.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 01:53:40 UTC 2023
    - 1.6K bytes
    - Viewed (0)
Back to top