Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 821 for getT (0.18 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

    	CmdGet.Run = runGet // break init loop
    	CmdGet.Flag.Var(&getD, "d", "")
    	CmdGet.Flag.Var(&getU, "u", "")
    }
    
    func runGet(ctx context.Context, cmd *base.Command, args []string) {
    	switch getU.version {
    	case "", "upgrade", "patch":
    		// ok
    	default:
    		base.Fatalf("go: unknown upgrade flag -u=%s", getU.rawVersion)
    	}
    	if getD.set {
    		if !getD.value {
    			base.Fatalf("go: -d flag may not be set to false")
    		}
    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. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/schema/extract/DefaultModelSchemaExtractorTest.groovy

        @Managed
        interface A1 {
            A1 getA();
    
            B1 getB();
    
            C1 getC();
    
            D1 getD();
        }
    
        @Managed
        interface B1 {
            A1 getA();
    
            B1 getB();
    
            C1 getC();
    
            D1 getD();
        }
    
        @Managed
        interface C1 {
            A1 getA();
    
            B1 getB();
    
            C1 getC();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 29.9K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/managed/CyclicalManagedTypeIntegrationTest.groovy

                interface A {
                    String getName()
                    void setName(String name)
    
                    B getB()
                }
    
                @Managed
                interface B {
                    C getC()
                }
    
                @Managed
                interface C {
                    A getA()
                    void setA(A a)
                }
    
                class RulePlugin extends RuleSource {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-groovy/src/integTest/groovy/org/gradle/model/dsl/internal/transform/ModelDslRuleDetectionIntegrationSpec.groovy

                }
    
                @Managed
                interface A extends Item {
                    B getB()
                }
    
                @Managed
                interface B extends Item {
                    C getC()
                }
    
                @Managed
                interface C extends Item {
                    D getD()
                }
    
                @Managed
                interface D extends Item {
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  7. src/time/zoneinfo_read.go

    		//	38	eattr[4]
    		//	42	off[4]
    		//	46	name[namelen]
    		//	46+namelen+xlen+fclen - next header
    		//
    		if get4(buf) != zcheader {
    			break
    		}
    		meth := get2(buf[10:])
    		size := get4(buf[24:])
    		namelen := get2(buf[28:])
    		xlen := get2(buf[30:])
    		fclen := get2(buf[32:])
    		off := get4(buf[42:])
    		zname := buf[46 : 46+namelen]
    		buf = buf[46+namelen+xlen+fclen:]
    		if string(zname) != name {
    			continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.td

      );
    }
    
    def TF_GlobalIterIdOp : TF_Op<"GlobalIterId", [DeclareOpInterfaceMethods<TF_GetResourceInstanceInterface>, TF_GlobalIterIdEffect]> {
      let summary = [{
    Op that gets the global step id.
      }];
    
      let description = [{
    This op gets the step id for each loop iteration.
      }];
    
      let arguments = (ins);
    
      let results = (outs
        TF_Int64Tensor:$iter_id
      );
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 04:08:35 UTC 2024
    - 90.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/PropertyAccessorTypeTest.groovy

            "getCppCompiler" | "isCppCompiler" | "setCppCompiler" | "cppCompiler"
            "getCPPCompiler" | "isCPPCompiler" | "setCPPCompiler" | "CPPCompiler"
            "getA"           | "isA"           | "setA"           | "a"
            "getb"           | "isb"           | "setb"           | "b"
        }
    
        static class Bean {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  10. tests/test_ambiguous_params.py

                " default value with `=` instead."
            ),
        ):
    
            @app.get("/")
            async def get(item_id: Annotated[int, Query(default=1)]):
                pass  # pragma: nocover
    
    
    def test_multiple_annotations():
        async def dep():
            pass  # pragma: nocover
    
        @app.get("/multi-query")
        async def get(foo: Annotated[int, Query(gt=2), Query(lt=10)]):
            return foo
    
        with pytest.raises(
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Dec 12 00:22:47 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top