Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 403 for Reflection (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

       * after serialization.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getInverseSameAfterSerializingMethods() {
        return Collections.singletonList(getMethod("testInverseSerialization"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static Method getMethod(String methodName) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoSimple/ReflectionDemo.kt

    package org.gradle.internal.declarativedsl.demo.demoSimple
    
    import org.gradle.internal.declarativedsl.demo.reflection.reflectAndPrint
    
    
    object ReflectionDemo {
        @JvmStatic
        fun main(args: Array<String>) {
            schema.reflectAndPrint(
                """
                plugins {
                    val kotlinVersion = "1.9.20"
    
                    id("org.jetbrains.kotlin.jvm") version kotlinVersion
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 659 bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

       * href="http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5045147">Sun bug 5045147</a> is fixed.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddAllNullUnsupportedMethod() {
        return Helpers.getMethod(CollectionAddAllTester.class, "testAddAll_nullUnsupported");
      }
    
      /**
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top