Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 934 for Reflection (0.21 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CachedRelocationIntegrationTest.groovy

                    doFirst {
                        printScriptOrigin("Action", owner)
                    }
                }
    
                def printScriptOrigin(def title, def o) {
                    // 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 type = o.getClass()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/reflect/Parameter.java

       * compatibility problems on Android VMs. The corresponding accessor method, however, can have the
       * more specific return type as long as users are careful to guard calls to it with version checks
       * or reflection: Android VMs ignore the types of elements that aren't used.
       */
      private final @Nullable Object annotatedType;
    
      Parameter(
          Invokable<?, ?> declaration,
          int position,
          TypeToken<?> type,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Nov 16 15:12:31 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  3. pkg/kube/krt/helpers.go

    func (n Named) GetNamespace() string {
    	return n.Namespace
    }
    
    // GetApplyConfigKey returns the key for the ApplyConfig.
    // If there is none, this will return nil.
    func GetApplyConfigKey[O any](a O) *Key[O] {
    	// Reflection is expensive; short circuit here
    	if !strings.HasSuffix(ptr.TypeName[O](), "ApplyConfiguration") {
    		return nil
    	}
    	val := reflect.ValueOf(a)
    
    	if val.Kind() == reflect.Ptr {
    		val = val.Elem()
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 10 23:33:56 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  4. platforms/software/antlr/src/main/java/org/gradle/api/plugins/antlr/internal/antlr2/GrammarDelegate.java

    /**
     * Antlr defines its {@link antlr.preprocessor.Grammar} class as package-protected for some unfortunate reason. So this class acts as a delegate to the Antlr {@link antlr.preprocessor.Grammar} class,
     * hiding all the ugly necessary reflection code.
     */
    public class GrammarDelegate {
        public static List<GrammarDelegate> extractGrammarDelegates(GrammarFile antlrGrammarFile) {
            List<GrammarDelegate> grammarDelegates = new ArrayList<GrammarDelegate>();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 14 14:52:10 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
        return Helpers.getMethod(ListAddAtIndexTester.class, "testAddAtIndex_nullSupported");
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. subprojects/core/src/main/java/org/gradle/api/internal/StartParameterInternal.java

        }
    
        public void setVfsVerboseLogging(boolean vfsVerboseLogging) {
            this.vfsVerboseLogging = vfsVerboseLogging;
        }
    
        /**
         * Used by the Kotlin plugin, via reflection.
         */
        @Deprecated
        public boolean isConfigurationCache() {
            return getConfigurationCache().get();
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 29 08:08:36 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/lite/flatbuffer_to_string.cc

    #include <fstream>
    #include <iostream>
    #include <string>
    
    #include "flatbuffers/flatbuffers.h"  // from @flatbuffers
    #include "flatbuffers/minireflect.h"  // from @flatbuffers
    #include "tensorflow/compiler/mlir/lite/schema/reflection/schema_generated.h"
    #if FLATBUFFERS_LITTLEENDIAN == 0
    #include "tensorflow/lite/core/model_builder.h"
    #endif
    
    namespace tflite {
    namespace {
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 21 15:52:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/io/TempFileCreator.java

            Class<?> optionalClass = Class.forName("java.util.Optional");
            /*
             * We don't *need* to use reflection to access Optional: It's available on all JDKs we
             * support, and Android code won't get this far, anyway, because ProcessHandle is
             * unavailable. But given how much other reflection we're using, we might as well use it
             * here, too, so that we don't need to also suppress an AndroidApiChecker error.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. platforms/jvm/language-groovy/src/main/java/org/gradle/api/tasks/compile/GroovyCompileOptions.java

        }
    
        /**
         * Whether the Groovy compiler generate metadata for reflection on method parameter names on JDK 8 and above.
         *
         * @since 6.1
         */
        @Input
        public boolean isParameters() {
            return parameters;
        }
    
        /**
         * Sets whether metadata for reflection on method parameter names should be generated.
         * Defaults to {@code false}
         *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.4K bytes
    - Viewed (0)
  10. guava/src/com/google/common/base/Enums.java

       * Description} annotation on the {@code GOLF} constant of enum {@code Sport}, use {@code
       * Enums.getField(Sport.GOLF).getAnnotation(Description.class)}.
       *
       * @since 12.0
       */
      @GwtIncompatible // reflection
      public static Field getField(Enum<?> enumValue) {
        Class<?>
            clazz = enumValue.getDeclaringClass();
        try {
          return clazz.getDeclaredField(enumValue.name());
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 26 11:56:44 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top