Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Copeland (0.15 sec)

  1. src/cmd/asm/internal/asm/asm.go

    	p.patch()
    	p.labels = make(map[string]*obj.Prog)
    
    	// Operand 0 is the symbol name in the form foo(SB).
    	// That means symbol plus indirect on SB and no offset.
    	nameAddr := p.address(operands[0])
    	if !p.validSymbol("TEXT", &nameAddr, false) {
    		return
    	}
    	name := symbolName(&nameAddr)
    	next := 1
    
    	// Next operand is the optional text flag, a literal integer.
    	var flag = int64(0)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/asm/parse.go

    			fmt.Fprintf(w, "ref %s %s\n", name, abi)
    		}
    	}
    }
    
    func (p *Parser) start(operand []lex.Token) {
    	p.input = operand
    	p.inputPos = 0
    }
    
    // address parses the operand into a link address structure.
    func (p *Parser) address(operand []lex.Token) obj.Addr {
    	p.start(operand)
    	addr := obj.Addr{}
    	p.operand(&addr)
    	return addr
    }
    
    // parseScale converts a decimal string into a valid scale factor.
    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)
  3. internal/s3select/select_test.go

    		},
    		{
    			name:       "arithmetic_integer_operand",
    			query:      `SELECT 1 / 2 FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":0}`,
    		},
    		{
    			name:       "arithmetic_float_operand",
    			query:      `SELECT 1.0 / 2.0 * .3 FROM S3Object LIMIT 1`,
    			wantResult: `{"_1":0.15}`,
    		},
    		{
    			name:       "arithmetic_integer_float_operand",
    			query:      `SELECT 3.0 / 2, 5 / 2.0 FROM S3Object LIMIT 1`,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 76.2K bytes
    - Viewed (0)
  4. internal/s3select/sql/parser.go

    }
    
    // Condition represents a negation or a condition operand
    type Condition struct {
    	Operand *ConditionOperand `parser:"  @@"`
    	Not     *Condition        `parser:"| \"NOT\" @@"`
    }
    
    // ConditionOperand is a operand followed by an optional operation expression.
    type ConditionOperand struct {
    	Operand      *Operand      `parser:"@@"`
    	ConditionRHS *ConditionRHS `parser:"@@?"`
    }
    
    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. internal/s3select/sql/statement.go

    		selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand != nil &&
    		selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand.Operand.Left != nil &&
    		selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand.Operand.Left.Left != nil &&
    		selectAST.Expression.Expressions[0].Expression.And[0].Condition[0].Operand.Operand.Left.Left.Primary != nil &&
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 09 17:19:11 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  6. internal/s3select/sql/evaluate.go

    		}
    		result = result && b
    	}
    	return FromBool(result), nil
    }
    
    func (e *Condition) evalNode(r Record, tableAlias string) (*Value, error) {
    	if e.Operand != nil {
    		// In this case, result does not have to be boolean
    		return e.Operand.evalNode(r, tableAlias)
    	}
    
    	// Compute NOT of condition
    	res, err := e.Not.evalNode(r, tableAlias)
    	if err != nil {
    		return nil, err
    	}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 12K bytes
    - Viewed (0)
  7. internal/s3select/sql/analysis.go

    	if e.ConditionRHS == nil {
    		result = e.Operand.analyze(s)
    	} else {
    		result.combine(e.Operand.analyze(s))
    		result.combine(e.ConditionRHS.analyze(s))
    	}
    	return
    }
    
    func (e *ConditionRHS) analyze(s *Select) (result qProp) {
    	switch {
    	case e.Compare != nil:
    		result = e.Compare.Operand.analyze(s)
    	case e.Between != nil:
    		result.combine(e.Between.Start.analyze(s))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  8. internal/s3select/sql/aggregation.go

    		}
    	}
    	return nil
    }
    
    func (e *Condition) aggregateRow(r Record, tableAlias string) error {
    	if e.Operand != nil {
    		return e.Operand.aggregateRow(r, tableAlias)
    	}
    	return e.Not.aggregateRow(r, tableAlias)
    }
    
    func (e *ConditionOperand) aggregateRow(r Record, tableAlias string) error {
    	err := e.Operand.aggregateRow(r, tableAlias)
    	if err != nil {
    		return err
    	}
    
    	if e.ConditionRHS == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Dec 23 07:19:11 GMT 2023
    - 7.9K bytes
    - Viewed (0)
Back to top