Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Evaluation (0.19 sec)

  1. internal/s3select/sql/evaluate.go

    	errLikeInvalidEscape = errors.New("LIKE clause has invalid ESCAPE character")
    	errNotImplemented    = errors.New("not implemented")
    )
    
    // AST Node Evaluation functions
    //
    // During evaluation, the query is known to be valid, as analysis is
    // complete. The only errors possible are due to value type
    // mismatches, etc.
    //
    // If an aggregation node is present as a descendant (when
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  2. internal/s3select/sql/utils.go

    		}
    		e.pathString = strings.Join(parts, "")
    	}
    	return e.pathString
    }
    
    // StripTableAlias removes a table alias from the path. The result is also
    // cached for repeated lookups during SQL query evaluation.
    func (e *JSONPath) StripTableAlias(tableAlias string) []*JSONPathElement {
    	if e.strippedTableAlias == tableAlias {
    		return e.strippedPathExpr
    	}
    
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Nov 10 16:12:50 GMT 2021
    - 3.6K bytes
    - Viewed (0)
  3. cmd/object-api-interface.go

    	if !ok {
    		return
    	}
    	r.ReplicationStatusInternal = rstatus
    	r.Targets = replicationStatusesMap(rstatus)
    	return
    }
    
    // SetEvalMetadataFn sets the metadata evaluation function
    func (o *ObjectOptions) SetEvalMetadataFn(f EvalMetadataFn) {
    	o.EvalMetadataFn = f
    }
    
    // SetEvalRetentionBypassFn sets the retention bypass function
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Apr 20 09:05:54 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  4. internal/lock/lock_windows.go

    		// not automatically generating the \\?\ form)
    		return path
    	}
    
    	// The extended form begins with \\?\, as in
    	// \\?\c:\windows\foo.txt or \\?\UNC\server\share\foo.txt.
    	// The extended form disables evaluation of . and .. path
    	// elements and disables the interpretation of / as equivalent
    	// to \. The conversion here rewrites / to \ and elides
    	// . elements as well as trailing or duplicate separators. For
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/expr_test.go

    	// Junk at EOF.
    	{"3 x", 3, false},
    	// Big number
    	{"4611686018427387904", 4611686018427387904, true},
    }
    
    func TestExpr(t *testing.T) {
    	p := NewParser(nil, nil, nil) // Expression evaluation uses none of these fields of the parser.
    	for i, test := range exprTests {
    		p.start(lex.Tokenize(test.input))
    		result := int64(p.expr())
    		if result != test.output {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  6. internal/s3select/sql/parser.go

    	Extract   *ExtractFunc   `parser:"| @@"`
    	Trim      *TrimFunc      `parser:"| @@"`
    	DateAdd   *DateAddFunc   `parser:"| @@"`
    	DateDiff  *DateDiffFunc  `parser:"| @@"`
    
    	// Used during evaluation for aggregation funcs
    	aggregate *aggVal
    }
    
    // SimpleArgFunc represents functions with simple expression
    // arguments.
    type SimpleArgFunc struct {
    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)
  7. cmd/iam.go

    	var err error
    	var svcPolicies []string
    	roleArn := args.GetRoleArn()
    
    	switch {
    	case isOwnerDerived:
    		// All actions are allowed by default and no policy evaluation is
    		// required.
    
    	case roleArn != "":
    		arn, err := arn.Parse(roleArn)
    		if err != nil {
    			iamLogIf(GlobalContext, fmt.Errorf("error parsing role ARN %s: %v", roleArn, err))
    			return false
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  8. cmd/metacache-entries.go

    type metaCacheEntriesSorted struct {
    	o metaCacheEntries
    	// list id is not serialized
    	listID string
    	// Reuse buffers
    	reuse bool
    	// Contain the last skipped object after an ILM expiry evaluation
    	lastSkippedEntry string
    }
    
    // shallowClone will create a shallow clone of the array objects,
    // but object metadata will not be cloned.
    func (m metaCacheEntriesSorted) shallowClone() metaCacheEntriesSorted {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  9. src/cmd/asm/internal/asm/parse.go

    // compared to the old yacc/C implementations. Neither has
    // much practical consequence because the expressions we
    // see in assembly code are simple, but for the record:
    //
    // 1) Evaluation uses uint64; the old one used int64.
    // 2) Precedence uses Go rules not C rules.
    
    // expr = term | term ('+' | '-' | '|' | '^') term.
    func (p *Parser) expr() uint64 {
    	value := p.term()
    	for {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
Back to top