- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 934 for Reflection (0.14 sec)
-
src/cmd/cgo/internal/testshared/testdata/exe/exe.go
depBase.V = depBase.F() + 1 var c *C if reflect.TypeOf(F).Out(0) != reflect.TypeOf(c) { panic("bad reflection results, see golang.org/issue/18252") } sp := reflect.New(reflect.TypeOf(slicePtr).Elem()) s := sp.Interface() if reflect.TypeOf(s) != reflect.TypeOf(slicePtr) { panic("bad reflection results, see golang.org/issue/18729") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 906 bytes - Viewed (0) -
platforms/core-execution/workers/src/integTest/groovy/org/gradle/workers/internal/JdkIllegalReflectionTestWorkerIntegrationTest.groovy
import spock.lang.Issue import static org.hamcrest.CoreMatchers.containsString /** * Ensures test behavior and actual application behavior are equivalent when * production code attempts to perform reflection on JDK internals. */ class JdkIllegalReflectionTestWorkerIntegrationTest extends AbstractIntegrationSpec { def setup() { buildFile << """ plugins { id 'application'
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:36:27 UTC 2023 - 3.3K bytes - Viewed (0) -
pkg/istio-agent/tap_proxy.go
package istioagent import ( "fmt" "strings" "time" discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3" "google.golang.org/grpc" "google.golang.org/grpc/reflection" istiogrpc "istio.io/istio/pilot/pkg/grpc" istiokeepalive "istio.io/istio/pkg/keepalive" "istio.io/istio/pkg/log" ) type tapProxy struct { xdsProxy *XdsProxy }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Apr 04 20:29:08 UTC 2024 - 1.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
assertEquals(Prepender.class, Prepender.constructor().getReturnType().getType()); } private static class WithConstructorAndTypeParameter<T> { @SuppressWarnings("unused") // by reflection <X> WithConstructorAndTypeParameter() {} } public void testConstructor_returnType_hasTypeParameter() throws Exception { Class<WithConstructorAndTypeParameter> type = WithConstructorAndTypeParameter.class;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 30.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
assertEquals(Prepender.class, Prepender.constructor().getReturnType().getType()); } private static class WithConstructorAndTypeParameter<T> { @SuppressWarnings("unused") // by reflection <X> WithConstructorAndTypeParameter() {} } public void testConstructor_returnType_hasTypeParameter() throws Exception { Class<WithConstructorAndTypeParameter> type = WithConstructorAndTypeParameter.class;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 30.9K bytes - Viewed (0) -
testing/internal-testing/src/main/groovy/org/gradle/integtests/fixtures/FixSpockJUnitRulesOrderExtension.groovy
@Override int compare(FieldInfo o1, FieldInfo o2) { def o1Class = o1.reflection.declaringClass def o2Class = o2.reflection.declaringClass if (o1Class != o2Class) { if (o1Class.isAssignableFrom(o2Class)) { return 1
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 2.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
* the other. Thus, we say the bug is in add(), which fails to support null. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getAddNullSupportedMethod() { return Helpers.getMethod(CollectionAddTester.class, "testAdd_nullSupported"); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 5.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
* the other. Thus, we say the bug is in add(), which fails to support null. */ @J2ktIncompatible @GwtIncompatible // reflection public static Method getAddNullSupportedMethod() { return Helpers.getMethod(CollectionAddTester.class, "testAdd_nullSupported"); } /**
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 5.8K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java
@SuppressWarnings("unused") // Called by reflection private void privateMethod() {} @SuppressWarnings("unused") // Called by reflection void packagePrivateMethod() {} @SuppressWarnings("unused") // Called by reflection protected void protectedMethod() {} @SuppressWarnings("unused") // Called by reflection public void publicMethod() {} }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 47.7K bytes - Viewed (0) -
src/reflect/tostring_test.go
// license that can be found in the LICENSE file. // Formatting of reflection types and values for debugging. // Not defined as methods so they do not need to be linked into most binaries; // the functions are not used by the library itself, only in tests. package reflect_test import ( . "reflect" "strconv" ) // valueToString returns a textual representation of the reflection value val. // For debugging only.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Oct 26 14:24:17 UTC 2021 - 2.1K bytes - Viewed (0)