Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,479 for Select0 (0.28 sec)

  1. src/cmd/compile/internal/ssa/rewritePPC64.go

    	typ := &b.Func.Config.Types
    	// match: (Select0 (Mul64uhilo x y))
    	// result: (MULHDU x y)
    	for {
    		if v_0.Op != OpMul64uhilo {
    			break
    		}
    		y := v_0.Args[1]
    		x := v_0.Args[0]
    		v.reset(OpPPC64MULHDU)
    		v.AddArg2(x, y)
    		return true
    	}
    	// match: (Select0 (Add64carry x y c))
    	// result: (Select0 <typ.UInt64> (ADDE x y (Select1 <typ.UInt64> (ADDCconst c [-1]))))
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 360.2K bytes
    - Viewed (0)
  2. src/runtime/select.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    // This file contains the implementation of Go select statements.
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    const debugSelect = false
    
    // Select case descriptor.
    // Known to compiler.
    // Changes here must also be made in src/cmd/compile/internal/walk/select.go's scasetype.
    type scase struct {
    	c    *hchan         // chan
    	elem unsafe.Pointer // data element
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 21:36:04 UTC 2024
    - 15K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/walk/select.go

    	// optimization: zero-case select
    	if ncas == 0 {
    		return []ir.Node{mkcallstmt("block")}
    	}
    
    	// optimization: one-case select: single op.
    	if ncas == 1 {
    		cas := cases[0]
    		ir.SetPos(cas)
    		l := cas.Init()
    		if cas.Comm != nil { // not default:
    			n := cas.Comm
    			l = append(l, ir.TakeInit(n)...)
    			switch n.Op() {
    			default:
    				base.Fatalf("select %v", n.Op())
    
    			case ir.OSEND:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/test/testdata/pgo/devirtualize/devirt.go

    	// The call below must evaluate selectA() to determine the receiver to
    	// use. This should happen exactly once per iteration. Assert that is
    	// the case to ensure the IR manipulation does not result in over- or
    	// under-evaluation.
    	selectI := 0
    	selectA := func(gotI int) Adder {
    		if gotI != selectI {
    			panic(fmt.Sprintf("selectA not called once per iteration; got i %d want %d", gotI, selectI))
    		}
    		selectI++
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 13 18:17:57 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/toolchain/select.go

    var counterErrorsInvalidToolchainInFile = telemetry.NewCounter("go/errors:invalid-toolchain-in-file")
    
    // Select invokes a different Go toolchain if directed by
    // the GOTOOLCHAIN environment variable or the user's configuration
    // or go.mod file.
    // It must be called early in startup.
    // See https://go.dev/doc/toolchain#select.
    func Select() {
    	log.SetPrefix("go: ")
    	defer log.SetPrefix("")
    
    	if !modload.WillBeEnabled() {
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:25:05 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  6. internal/s3select/select.go

    		return nil
    	}
    
    	panic(fmt.Errorf("unknown output format '%v'", s3Select.Output.format))
    }
    
    // Evaluate - filters and sends records read from opened reader as per select statement to http response writer.
    func (s3Select *S3Select) Evaluate(w http.ResponseWriter) {
    	getProgressFunc := s3Select.getProgress
    	if !s3Select.Progress.Enabled {
    		getProgressFunc = nil
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 21K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/regalloc.go

    					// the purposes of desired registers, even though it is not an absolute requirement.
    					// This is because we'd rather implement it as ADDQ instead of LEAQ.
    					// Same for ADDLconst
    					// Select0 is added here to propagate the desired register to the tuple-generating instruction.
    					if opcodeTable[v.Op].commutative {
    						desired.addList(v.Args[1].ID, prefs)
    					}
    					desired.addList(v.Args[0].ID, prefs)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 17:49:56 UTC 2023
    - 87.2K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/rewriteARM.go

    	}
    }
    func rewriteValueARM_OpDiv32(v *Value) bool {
    	v_1 := v.Args[1]
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Div32 x y)
    	// result: (SUB (XOR <typ.UInt32> (Select0 <typ.UInt32> (CALLudiv (SUB <typ.UInt32> (XOR x <typ.UInt32> (Signmask x)) (Signmask x)) (SUB <typ.UInt32> (XOR y <typ.UInt32> (Signmask y)) (Signmask y)))) (Signmask (XOR <typ.UInt32> x y))) (Signmask (XOR <typ.UInt32> x y)))
    	for {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 17:19:36 UTC 2023
    - 486.8K bytes
    - Viewed (0)
  9. test/inline.go

    }
    
    func select1(x, y chan bool) int { // ERROR "can inline select1" "x does not escape" "y does not escape"
    	select {
    	case <-x:
    		return 1
    	case <-y:
    		return 2
    	}
    }
    
    func select2(x, y chan bool) { // ERROR "can inline select2" "x does not escape" "y does not escape"
    loop: // test that labeled select can be inlined.
    	select {
    	case <-x:
    		break loop
    	case <-y:
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  10. chainable_api.go

    //
    // Use Select when you only want a subset of the fields. By default, GORM will select all fields.
    // Select accepts both string arguments and arrays.
    //
    //	// Select name and age of user using multiple arguments
    //	db.Select("name", "age").Find(&users)
    //	// Select name and age of user using an array
    //	db.Select([]string{"name", "age"}).Find(&users)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
Back to top