Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 394 for CL (0.15 sec)

  1. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/classloader/ConfigurableClassLoaderHierarchyHasher.java

            }
    
            private boolean addToHash(ClassLoader cl) {
                byte[] knownId = knownClassLoaders.get(cl);
                if (knownId != null) {
                    hasher.putBytes(knownId);
                    return false;
                }
                if (cl instanceof CachingClassLoader || cl instanceof MultiParentClassLoader) {
                    return true;
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/GroovyPluginImplementation.groovy

                        println("apply INSTANCE = " + sys.getProperty("INSTANCE"))
    
                        // Call from closure
                        def cl = { p ->
                            println("\$p CLOSURE = " + sys.getProperty("CLOSURE"))
                        }
                        cl("apply")
    
                        project.tasks.register("thing") { t ->
                            t.doLast {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/internal/typeconversion/DefaultTypeConverter.java

                super(cl);
            }
    
            @Override
            protected void convertNumberToNumber(BigDecimal n, NotationConvertResult<? super Integer> result) {
                result.converted(n.intValueExact());
            }
        }
    
        private static class LongNumberConverter extends NumberConverter<Long> {
            public LongNumberConverter(Class<Long> cl) {
                super(cl);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/snapshot/impl/DefaultIsolatableFactoryTest.groovy

            loader.addURL(ClasspathUtil.getClasspathForClass(GroovyObject).toURI().toURL())
            def cl = loader.parseClass("package ${Thing.package.name}; interface Thing extends ${Named.name} { }")
            assert cl != Thing
            assert Named.isAssignableFrom(cl)
            assert cl.name == Thing.name
    
            given:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 17K bytes
    - Viewed (0)
  5. platforms/core-runtime/client-services/src/test/groovy/org/gradle/internal/daemon/client/serialization/ClientSidePayloadClassLoaderFactoryTest.groovy

            def url2 = new URL("http://localhost/file2.jar")
    
            when:
            def cl = registry.getClassLoaderFor(new VisitableURLClassLoader.Spec("test", [url1, url2]), [null])
    
            then:
            cl instanceof VisitableURLClassLoader
            cl.name == "test-client-payload-loader"
            cl.URLs == [url1, url2] as URL[]
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleSourceDetectorTest.groovy

            IsASource    | true
        }
    
        def "does not hold strong reference"() {
            given:
            def cl = new GroovyClassLoader(getClass().classLoader)
            addClass(cl, impl)
    
            expect:
            detector.cache.size() == 1
    
            when:
            cl.clearCache()
    
            then:
            ConcurrentTestUtil.poll(10) {
                System.gc()
                detector.cache.cleanUp()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/CustomPluginIntegrationTest.groovy

            Project.class.classLoader.loadClass('${implClassName}')
            def cl
            try {
                cl = getClass().classLoader
                cl.loadClass('${implClassName}')
                assert false: 'should fail'
            } catch (ClassNotFoundException e) {
                // expected
            } finally {
                if (cl instanceof URLClassLoader) {
                    cl.close()
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/tensorflow/translate/tf_mlir_translate_registration_test.cc

      }
    
     private:
      llvm::cl::opt<const mlir::Translation*, false, mlir::TranslationParser>*
      RegisterTranslation() {
        // Can only register once per process.
        static const auto requested_translation =
            new llvm::cl::opt<const mlir::Translation*, false,
                              mlir::TranslationParser>(
                llvm::cl::desc("Translation to perform"));
        return requested_translation;
      }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Jul 20 23:11:32 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/WellKnownClassLoaderRegistry.java

        private final PayloadClassLoaderRegistry delegate;
    
        static {
            ImmutableSet.Builder<ClassLoader> builder = ImmutableSet.builder();
            for (ClassLoader cl = PLATFORM_CLASS_LOADER; cl != null; cl = cl.getParent()) {
                builder.add(cl);
            }
            PLATFORM_CLASS_LOADERS = builder.build();
        }
    
        public WellKnownClassLoaderRegistry(PayloadClassLoaderRegistry delegate) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/passes/lift_quantizable_spots_as_functions_drq.cc

          llvm::cl::desc("The minimum required number of elements in a weight "
                         "array to apply quantization.")};
    
      Option<QuantMethod> quantization_method_{
          *this, "quantization-method",
          llvm::cl::init(tensorflow::quantization::QuantizationMethod::
                             METHOD_DYNAMIC_RANGE_INT8),
          llvm::cl::desc("Choose quantization method."),
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top