Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 192 for Reflection (0.17 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/CrossBuildScriptCachingIntegrationSpec.groovy

                    void assertScriptOrigin(Object o, Set<String> seen) {
                        assert (o instanceof org.gradle.internal.scripts.ScriptOrigin)
                        // need to get through reflection to bypass the Groovy MOP on closures, which would cause calling the method on the owner instead of the closure itself
                        def originalClassName = o.class.getMethod('getOriginalClassName').invoke(o)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 17:32:21 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

        private NullsBeforeTwo() {
          super("two"); // from TestStringSortedMapGenerator's sample keys
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getMethod(Class<?> clazz, String name) {
        try {
          return clazz.getMethod(name);
        } catch (Exception e) {
          throw new IllegalArgumentException(e);
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. staging/src/k8s.io/api/authorization/v1/types.go

    	Groups []string `json:"groups,omitempty" protobuf:"bytes,4,rep,name=groups"`
    	// Extra corresponds to the user.Info.GetExtra() method from the authenticator.  Since that is input to the authorizer
    	// it needs a reflection here.
    	// +optional
    	Extra map[string]ExtraValue `json:"extra,omitempty" protobuf:"bytes,5,rep,name=extra"`
    	// UID information about the requesting user.
    	// +optional
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 17:42:49 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  4. platforms/extensibility/plugin-development/src/main/java/org/gradle/plugin/devel/plugins/JavaGradlePluginPlugin.java

                }
            }
        }
    
        /**
         * Provides an {@code --add-opens} flag for {@code java.base/java.lang} if the JVM version
         * a given test task is running does not allow reflection of JDK internals by default.
         * Needed when using ProjectBuilder in tests.
         */
        private static class AddOpensCommandLineArgumentProvider implements CommandLineArgumentProvider {
            private final Test test;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 06:56:29 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  5. pkg/istio-agent/agent_test.go

    	"sort"
    	"strings"
    	"testing"
    	"time"
    
    	discovery "github.com/envoyproxy/go-control-plane/envoy/service/discovery/v3"
    	"google.golang.org/grpc"
    	"google.golang.org/grpc/credentials"
    	"google.golang.org/grpc/reflection"
    
    	meshconfig "istio.io/api/mesh/v1alpha1"
    	"istio.io/istio/pilot/pkg/model"
    	"istio.io/istio/pilot/pkg/xds"
    	v3 "istio.io/istio/pilot/pkg/xds/v3"
    	testutil "istio.io/istio/pilot/test/util"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/Helpers.java

        private NullsBeforeTwo() {
          super("two"); // from TestStringSortedMapGenerator's sample keys
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getMethod(Class<?> clazz, String name) {
        try {
          return clazz.getMethod(name);
        } catch (Exception e) {
          throw new IllegalArgumentException(e);
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  7. src/go/types/api.go

    	// go116code is a future API, unexported as the set of error codes is large
    	// and likely to change significantly during experimentation. Tools wishing
    	// to preview this feature may read go116code using reflection (see
    	// errorcodes_test.go), but beware that there is no guarantee of future
    	// compatibility.
    	go116code  Code
    	go116start token.Pos
    	go116end   token.Pos
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  8. src/runtime/runtime1.go

    func reflectlite_resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer {
    	return unsafe.Pointer(toRType((*_type)(rtype)).typeOff(typeOff(off)))
    }
    
    // reflect_addReflectOff adds a pointer to the reflection offset lookup map.
    //
    //go:linkname reflect_addReflectOff reflect.addReflectOff
    func reflect_addReflectOff(ptr unsafe.Pointer) int32 {
    	reflectOffsLock()
    	if reflectOffs.m == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  9. pkg/test/framework/components/echo/config.go

    		}, c.Ports...)
    	}
    }
    
    func copyInternal(v any) any {
    	copied, err := copystructure.Copy(v)
    	if err != nil {
    		// There are 2 locations where errors are generated in copystructure.Copy:
    		//  * The reflection walk over the structure fails, which should never happen
    		//  * A configurable copy function returns an error. This is only used for copying times, which never returns an error.
    		// Therefore, this should never happen
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  10. src/go/build/deps_test.go

    	RUNTIME, internal/concurrent
    	< unique;
    
    	# OS is basic OS access, including helpers (path/filepath, os/exec, etc).
    	# OS includes string routines, but those must be layered above package os.
    	# OS does not include reflection.
    	io/fs
    	< internal/testlog
    	< internal/poll
    	< internal/filepathlite
    	< os
    	< os/signal;
    
    	io/fs
    	< embed;
    
    	unicode, fmt !< net, os, os/signal;
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 16:41:13 UTC 2024
    - 19.2K bytes
    - Viewed (0)
Back to top