Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for GetT (0.04 sec)

  1. test/uintptrescapes.dir/a.go

    	*(*int)(unsafe.Pointer(a)) = 42
    }
    
    //go:uintptrescapes
    func F2(a ...uintptr) {
    	var s [16]byte
    	recurse(4096, s[:])
    	*(*int)(unsafe.Pointer(a[0])) = 42
    }
    
    type t struct{}
    
    func GetT() *t {
    	return &t{}
    }
    
    //go:uintptrescapes
    func (*t) M1(a uintptr) {
    	var s [16]byte
    	recurse(4096, s[:])
    	*(*int)(unsafe.Pointer(a)) = 42
    }
    
    //go:uintptrescapes
    func (*t) M2(a ...uintptr) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 06 20:48:41 UTC 2016
    - 879 bytes
    - Viewed (0)
  2. test/uintptrescapes.dir/main.go

    func F1() int {
    	var buf [1024]int
    	a.F1(uintptr(unsafe.Pointer(&buf[0])))
    	return buf[0]
    }
    
    func F2() int {
    	var buf [1024]int
    	a.F2(uintptr(unsafe.Pointer(&buf[0])))
    	return buf[0]
    }
    
    var t = a.GetT()
    
    func M1() int {
    	var buf [1024]int
    	t.M1(uintptr(unsafe.Pointer(&buf[0])))
    	return buf[0]
    }
    
    func M2() int {
    	var buf [1024]int
    	t.M2(uintptr(unsafe.Pointer(&buf[0])))
    	return buf[0]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 06 20:48:41 UTC 2016
    - 1.3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modget/get.go

    `,
    }
    
    var (
    	getD        dFlag
    	getF        = CmdGet.Flag.Bool("f", false, "")
    	getFix      = CmdGet.Flag.Bool("fix", false, "")
    	getM        = CmdGet.Flag.Bool("m", false, "")
    	getT        = CmdGet.Flag.Bool("t", false, "")
    	getU        upgradeFlag
    	getInsecure = CmdGet.Flag.Bool("insecure", false, "")
    	// -v is cfg.BuildV
    )
    
    // upgradeFlag is a custom flag.Value for -u.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

    }
    
    
    // Following ops are manually defined as the ops are using inputs with name `t`
    // that will lead to conflict with getter for attribute `T` as both becomes
    // getT().
    def TF_BatchNormWithGlobalNormalizationOp : TF_Op<"BatchNormWithGlobalNormalization", [Pure]> {
      let summary = "Batch normalization.";
    
      let description = [{
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
Back to top