Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 316 for qselect (1.44 sec)

  1. src/cmd/go/testdata/script/mod_list_retract.txt

    stdout retracted
    
    # 'go list -m mod@latest' selects a previous release version, not self-retracted latest.
    go list -m -f '{{.Version}}{{with .Retracted}} retracted{{end}}' example.com/retract/self/prev@latest
    stdout '^v1.1.0$'
    
    # 'go list -m -retracted mod@latest' selects the self-retracted latest version.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 13 00:19:50 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  2. tests/hooks_test.go

    	DB.Model(&product).Select("Name", "Price").Updates(map[string]interface{}{"Name": "Product New2", "code": "L1213"})
    
    	if product.Name != "Product New2" || product.Price != 170 || product.Code != "L1212" {
    		t.Errorf("invalid data after update, got %+v", product)
    	}
    
    	// Code changed, price should changed
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sat Feb 18 01:20:29 UTC 2023
    - 15.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testcarchive/testdata/libgo/libgo.go

    func init() {
    	// emulate an exceedingly slow package initialization function
    	time.Sleep(100 * time.Millisecond)
    	initCh <- 42
    }
    
    func main() { ranMain = true }
    
    //export DidInitRun
    func DidInitRun() bool {
    	select {
    	case x := <-initCh:
    		if x != 42 {
    			// Just in case initCh was not correctly made.
    			println("want init value of 42, got: ", x)
    			syscall.Exit(2)
    		}
    		return true
    	default:
    		return false
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 977 bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/math/QuantilesAlgorithm.java

          if (array[min] > array[i]) {
            min = i;
          }
        }
        return array[min];
      }
    
      static double select(int k, double[] array) {
        // This is basically a copy of com.google.math.Rank#select, with a small change in the method
        // signature: we make k 0-based rather than 1-based; and we drop from and to, and always work on
        // the whole array.
        int from = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  5. src/cmd/cover/testdata/html/html.golden

    // START f
    func f() <span class="cov8" title="1">{
    	ch := make(chan int)
    	select </span>{
    	case &lt;-ch:<span class="cov0" title="0"></span>
    	default:<span class="cov8" title="1"></span>
    	}
    }
    
    // END f
    // START g
    func g() <span class="cov8" title="1">{
    	if false </span><span class="cov0" title="0">{
    		fmt.Printf("Hello")
    	}</span>
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 07 22:47:53 UTC 2018
    - 345 bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewriteMIPS64.go

    		v.AddArg2(v0, v1)
    		return true
    	}
    }
    func rewriteValueMIPS64_OpSelect0(v *Value) bool {
    	v_0 := v.Args[0]
    	b := v.Block
    	typ := &b.Func.Config.Types
    	// match: (Select0 (Mul64uover x y))
    	// result: (Select1 <typ.UInt64> (MULVU x y))
    	for {
    		if v_0.Op != OpMul64uover {
    			break
    		}
    		y := v_0.Args[1]
    		x := v_0.Args[0]
    		v.reset(OpSelect1)
    		v.Type = typ.UInt64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jul 31 03:59:48 UTC 2023
    - 211.6K bytes
    - Viewed (0)
  7. tests/create_test.go

    	user := User{Name: "jinzhu"}
    
    	DB.Create(&user)
    
    	subQuery := DB.Table("users").Where("name=?", user.Name).Select("id")
    
    	result := DB.Session(&gorm.Session{DryRun: true}).Model(&Pet{}).Create([]map[string]interface{}{
    		{
    			"name":    "cat",
    			"user_id": gorm.Expr("(?)", DB.Table("(?) as tmp", subQuery).Select("@uid:=id")),
    		},
    		{
    			"name":    "dog",
    			"user_id": gorm.Expr("@uid"),
    		},
    	})
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Tue Mar 19 03:50:28 UTC 2024
    - 26.4K bytes
    - Viewed (0)
  8. misc/ios/README

    the go_ios_$GOARCH_exec wrapper is found. For example, to run the archive/tar tests:
    
    	export PATH=$GOROOT/bin:$PATH
    	GOOS=ios GOARCH=amd64 CGO_ENABLED=1 go test archive/tar
    
    The go_ios_exec wrapper uses GOARCH to select the emulator (amd64) or the device (arm64).
    However, further setup is required to run tests or programs directly on a device.
    
    First make sure you have a valid developer certificate and have setup your device properly
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 21:49:26 UTC 2020
    - 2.7K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/test/setgid_linux.go

    */
    import "C"
    
    import (
    	"os"
    	"os/signal"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func runTestSetgid() bool {
    	c := make(chan bool)
    	go func() {
    		C.setgid(0)
    		c <- true
    	}()
    	select {
    	case <-c:
    		return true
    	case <-time.After(5 * time.Second):
    		return false
    	}
    
    }
    
    func testSetgid(t *testing.T) {
    	if !runTestSetgid() {
    		t.Error("setgid hung")
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 843 bytes
    - Viewed (0)
  10. dbflute_fess/dfprop/classificationDefinitionMap.dfprop

    #             ; table=[table-name]
    #             ; code=[column-name for code]; name=[column-name for name]
    #             ; alias=[column-name for alias]; comment=[column-name for comment]}
    #             ; where=[condition for select]; orderBy=[column-name for ordering]
    #             ; exceptCodeList=[the list of except code]
    #         }
    #     }
    # }
    #
    # *The line that starts with '#' means comment-out.
    #
    map:{
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Sat Jul 04 22:46:31 UTC 2015
    - 2.2K bytes
    - Viewed (0)
Back to top