Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 273 for cond (0.02 sec)

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

    	cond = strings.TrimPrefix(cond, ".")
    	if cond == "" {
    		return arm.C_SCOND_NONE, true
    	}
    	names := strings.Split(cond, ".")
    	bits := uint8(0)
    	for _, name := range names {
    		if b, present := ls[name]; present {
    			bits |= b
    			continue
    		}
    		if b, present := scond[name]; present {
    			bits = (bits &^ arm.C_SCOND) | b
    			continue
    		}
    		return 0, false
    	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Oct 23 15:18:14 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/cmd/asm/internal/arch/arm64.go

    // ARM64Suffix handles the special suffix for the ARM64.
    // It returns a boolean to indicate success; failure means
    // cond was unrecognized.
    func ARM64Suffix(prog *obj.Prog, cond string) bool {
    	if cond == "" {
    		return true
    	}
    	bits, ok := parseARM64Suffix(cond)
    	if !ok {
    		return false
    	}
    	prog.Scond = bits
    	return true
    }
    
    // parseARM64Suffix parses the suffix attached to an ARM64 instruction.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/asm.go

    func (p *Parser) append(prog *obj.Prog, cond string, doLabel bool) {
    	if cond != "" {
    		switch p.arch.Family {
    		case sys.ARM:
    			if !arch.ARMConditionCodes(prog, cond) {
    				p.errorf("unrecognized condition code .%q", cond)
    				return
    			}
    
    		case sys.ARM64:
    			if !arch.ARM64Suffix(prog, cond) {
    				p.errorf("unrecognized suffix .%q", cond)
    				return
    			}
    
    		case sys.AMD64, sys.I386:
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 17:31:25 UTC 2025
    - 26.2K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/parse.go

    //
    //	{label:} WORD[.cond] [ arg {, arg} ] (';' | '\n')
    //
    // It adds any labels to p.pendingLabels and returns the word, cond,
    // operand list, and true. If there is an error or EOF, it returns
    // ok=false.
    //
    // line may reuse the memory from scratch.
    func (p *Parser) line(scratch [][]lex.Token) (word, cond string, operands [][]lex.Token, ok bool) {
    next:
    	// Skip newlines.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Feb 14 15:13:11 UTC 2025
    - 37.3K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/testdata/arm.s

    //	}
    //	LTYPE1 cond imsr ',' reg
    //	{
    //		outcode($1, $2, &$3, 0, &$5);
    //	}
    	ADD	$1, R2
    	ADD	R1<<R2, R3
    	ADD	R1>>R2, R3
    	ADD	R1@>R2, R3
    	ADD	R1->R2, R3
    	ADD	R1, R2
    
    //
    // MVN
    //
    //	LTYPE2 cond imsr ',' reg
    //	{
    //		outcode($1, $2, &$3, 0, &$5);
    //	}
    	CLZ	R1, R2
    
    //
    // MOVW
    //
    //	LTYPE3 cond gen ',' gen
    //	{
    //		outcode($1, $2, &$3, 0, &$5);
    //	}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Fri Dec 15 20:51:01 UTC 2023
    - 69K bytes
    - Viewed (0)
  6. callbacks/preload.go

    	if len(values) != 0 {
    		tx = tx.Model(reflectResults.Addr().Interface()).Where(clause.IN{Column: column, Values: values})
    
    		for _, cond := range conds {
    			if fc, ok := cond.(func(*gorm.DB) *gorm.DB); ok {
    				tx = fc(tx)
    			} else {
    				inlineConds = append(inlineConds, cond)
    			}
    		}
    
    		if len(inlineConds) > 0 {
    			tx = tx.Where(inlineConds[0], inlineConds[1:]...)
    		}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  7. chainable_api.go

    func (db *DB) Clauses(conds ...clause.Expression) (tx *DB) {
    	tx = db.getInstance()
    	var whereConds []interface{}
    
    	for _, cond := range conds {
    		if c, ok := cond.(clause.Interface); ok {
    			tx.Statement.AddClause(c)
    		} else if optimizer, ok := cond.(StatementModifier); ok {
    			optimizer.ModifyStatement(tx.Statement)
    		} else {
    			whereConds = append(whereConds, cond)
    		}
    	}
    
    	if len(whereConds) > 0 {
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 14.8K bytes
    - Viewed (0)
  8. callbacks/delete.go

    							selects = append(selects, strings.TrimPrefix(s, columnPrefix))
    						}
    					}
    
    					if len(selects) > 0 {
    						tx = tx.Select(selects)
    					}
    				}
    
    				for _, cond := range queryConds {
    					if c, ok := cond.(clause.IN); ok && len(c.Values) == 0 {
    						withoutConditions = true
    						break
    					}
    				}
    
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. doc/go_mem.html

    For example, a compiler must not invert the conditional in this program:
    </p>
    
    <pre>
    *p = 1
    if cond {
    	*p = 2
    }
    </pre>
    
    <p>
    That is, the compiler must not rewrite the program into this one:
    </p>
    
    <pre>
    *p = 2
    if !cond {
    	*p = 1
    }
    </pre>
    
    <p>
    If <code>cond</code> is false and another goroutine is reading <code>*p</code>,
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 15:41:37 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  10. src/cmd/cgo/ast.go

    	case *ast.ReturnStmt:
    		f.walk(n.Results, ctxExpr, visit)
    	case *ast.BranchStmt:
    	case *ast.BlockStmt:
    		f.walk(n.List, context, visit)
    	case *ast.IfStmt:
    		f.walk(n.Init, ctxStmt, visit)
    		f.walk(&n.Cond, ctxExpr, visit)
    		f.walk(n.Body, ctxStmt, visit)
    		f.walk(n.Else, ctxStmt, visit)
    	case *ast.CaseClause:
    		if context == ctxTypeSwitch {
    			context = ctxType
    		} else {
    			context = ctxExpr
    		}
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Oct 14 15:47:06 UTC 2024
    - 14.3K bytes
    - Viewed (0)
Back to top