- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 6,733 for Method2 (0.14 sec)
-
test/method2.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jan 10 22:48:40 UTC 2022 - 1.2K bytes - Viewed (0) -
platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/remote/internal/hub/MethodInvocationSerializerTest.groovy
result[0].method == method1 result[0].arguments == [1, 2] as Object[] result[1].method == method2 result[1].arguments == [3] as Object[] result[2].method == method1 result[2].arguments == [4, 5] as Object[] } def "uses provided ClassLoader to locate incoming method invocation"() { Class cl = classLoader.parseClass('package org.gradle.test; class TestObj { void doStuff() { } }')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:59:22 UTC 2023 - 5K bytes - Viewed (0) -
platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/junit/result/TestResultSerializerTest.groovy
def class1 = new TestClassResult(1, 'Class1', 1234) def method1 = new TestMethodResult(1, "method1", TestResult.ResultType.SUCCESS, 100, 2300) def method2 = new TestMethodResult(2, "method2", TestResult.ResultType.FAILURE, 200, 2700).addFailure("message", "stack-trace", "ExceptionType") class1.add(method1) class1.add(method2) def class2 = new TestClassResult(2, 'Class2', 5678)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 20:52:40 UTC 2023 - 2.9K bytes - Viewed (0) -
test/fixedbugs/bug446.go
// license that can be found in the LICENSE file. // Issue 3824. // Method calls are ignored when deciding initialization // order. package main type T int func (r T) Method1() int { return a } func (r T) Method2() int { return b } // dummy1 and dummy2 must be initialized after a and b. var dummy1 = T(0).Method1() var dummy2 = T.Method2(0) // Use a function call to force generating code. var a = identity(1)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jul 30 07:14:49 UTC 2012 - 699 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/method2/main.go
// A type can be passed to a plugin and converted to interface // there. So its methods need to be live. package main import ( "plugin" "testplugin/method2/p" ) var t p.T type I interface{ M() } func main() { pl, err := plugin.Open("method2.so") if err != nil { panic(err) } f, err := pl.Lookup("F") if err != nil { panic(err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 549 bytes - Viewed (0) -
src/cmd/cgo/internal/testplugin/plugin_test.go
func TestMethod(t *testing.T) { // Exported symbol's method must be live. globalSkip(t) goCmd(t, "build", "-buildmode=plugin", "-o", "plugin.so", "./method/plugin.go") goCmd(t, "build", "-o", "method.exe", "./method/main.go") run(t, "./method.exe") } func TestMethod2(t *testing.T) { globalSkip(t) goCmd(t, "build", "-buildmode=plugin", "-o", "method2.so", "./method2/plugin.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) -
src/runtime/iface_test.go
import ( "runtime" "testing" ) type I1 interface { Method1() } type I2 interface { Method1() Method2() } type TS uint16 type TM uintptr type TL [2]uintptr func (TS) Method1() {} func (TS) Method2() {} func (TM) Method1() {} func (TM) Method2() {} func (TL) Method1() {} func (TL) Method2() {} type T8 uint8 type T16 uint16 type T32 uint32 type T64 uint64
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 7.5K 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) -
src/cmd/cgo/internal/testplugin/testdata/method2/plugin.go
// Copyright 2021 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/method2/p" func main() {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 260 bytes - Viewed (0)