- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 6,733 for Method3 (0.22 sec)
-
test/method3.go
// run // Copyright 2009 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test methods on slices. package main type T []int func (t T) Len() int { return len(t) } type I interface { Len() int } func main() { var t T = T{0, 1, 2, 3, 4} var i I i = t if i.Len() != 5 { println("i.Len", i.Len())
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Feb 23 07:47:26 UTC 2012 - 570 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/method3/main.go
// license that can be found in the LICENSE file. // An unexported method can be reachable from the plugin via interface // when a package is shared. So it need to be live. package main import ( "plugin" "testplugin/method3/p" ) var i p.I func main() { pl, err := plugin.Open("method3.so") if err != nil { panic(err) } f, err := pl.Lookup("F") if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 533 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/plugin_test.go
run(t, "./method2.exe") } func TestMethod3(t *testing.T) { globalSkip(t) goCmd(t, "build", "-buildmode=plugin", "-o", "method3.so", "./method3/plugin.go") goCmd(t, "build", "-o", "method3.exe", "./method3/main.go") run(t, "./method3.exe") } func TestIssue44956(t *testing.T) { globalSkip(t) goCmd(t, "build", "-buildmode=plugin", "-o", "issue44956p1.so", "./issue44956/plugin1.go")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:32:53 UTC 2024 - 12.3K bytes - Viewed (0) -
platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/adapter/TypeInspectorTestHelper.java
interface Item4 { } interface Item5 { } interface SuperThing { Runnable method1(); List<Item1> method2(); Map<Set<Item2>, String> method3(); } interface GenericThing { Item3[] method1(String p); List<Item5>[] method2(String p); } interface Thing extends SuperThing, GenericThing { <T extends Item4> List<T> get();
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Sep 26 14:49:20 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/testdata/method3/plugin.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import "testplugin/method3/p" func main() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 240 bytes - Viewed (0) -
subprojects/core/src/test/groovy/org/gradle/internal/classpath/CallInterceptingMetaClassTest.groovy
def method3 = instance.metaClass.pickMethod("test", new Class[]{String}) then: method1 instanceof CallInterceptingMetaClass.InterceptedMetaMethod method2 instanceof CallInterceptingMetaClass.InterceptedMetaMethod !(method3 instanceof CallInterceptingMetaClass.InterceptedMetaMethod) } def 'intercepts invokeMethod in a closure'() { given:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Nov 24 13:33:59 UTC 2023 - 15K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderKotlinTest.groovy
def b1 = builder.block(null, "block1") b1.methodInvocation("comment", "method1") b1.methodInvocation("comment", "method2") b1.methodInvocation(null, "method3") b1.methodInvocation(null, "method4") def b2 = builder.block("another block", "block2") b2.methodInvocation(null, "method1") b2.propertyAssignment(null, "foo", "bar", true)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 16.1K bytes - Viewed (0) -
src/text/template/exec_test.go
// Method calls. {".Method0", "-{{.Method0}}-", "-M0-", tVal, true}, {".Method1(1234)", "-{{.Method1 1234}}-", "-1234-", tVal, true}, {".Method1(.I)", "-{{.Method1 .I}}-", "-17-", tVal, true}, {".Method2(3, .X)", "-{{.Method2 3 .X}}-", "-Method2: 3 x-", tVal, true}, {".Method2(.U16, `str`)", "-{{.Method2 .U16 `str`}}-", "-Method2: 16 str-", tVal, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 22:23:55 UTC 2024 - 60.1K bytes - Viewed (0) -
platforms/software/build-init/src/test/groovy/org/gradle/buildinit/plugins/internal/BuildScriptBuilderGroovyTest.groovy
def b1 = builder.block(null, "block1") b1.methodInvocation("comment", "method1") b1.methodInvocation("comment", "method2") b1.methodInvocation(null, "method3") b1.methodInvocation(null, "method4") def b2 = builder.block("another block", "block2") b2.methodInvocation(null, "method1") b2.propertyAssignment(null, "foo", "bar", true)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Oct 18 14:16:33 UTC 2023 - 16.2K bytes - Viewed (0) -
src/html/template/exec_test.go
// Method calls. {".Method0", "-{{.Method0}}-", "-M0-", tVal, true}, {".Method1(1234)", "-{{.Method1 1234}}-", "-1234-", tVal, true}, {".Method1(.I)", "-{{.Method1 .I}}-", "-17-", tVal, true}, {".Method2(3, .X)", "-{{.Method2 3 .X}}-", "-Method2: 3 x-", tVal, true}, {".Method2(.U16, `str`)", "-{{.Method2 .U16 `str`}}-", "-Method2: 16 str-", tVal, true},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Feb 24 21:59:12 UTC 2024 - 57.6K bytes - Viewed (0)