Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 762 for registryX (0.19 sec)

  1. platforms/core-runtime/build-process-services/src/test/groovy/org/gradle/api/internal/DefaultClassPathRegistryTest.groovy

        final ClassPathProvider provider2 = Mock()
        final DefaultClassPathRegistry registry = new DefaultClassPathRegistry(provider1, provider2)
    
        def "fails for unknown classpath"() {
            given:
            provider1.findClassPath(_) >> null
            provider2.findClassPath(_) >> null
    
            when:
            registry.getClassPath("name")
    
            then:
            IllegalArgumentException e = thrown()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/providers/services/groovy/build.gradle

    // IDEs and other tools to access the custom tooling model.
    class OrtModelPlugin implements Plugin<Project> {
        ToolingModelBuilderRegistry registry
    
        OrtModelPlugin(ToolingModelBuilderRegistry registry) {
            this.registry = registry
        }
    
        void apply(Project project) {
            registry.register(new OrtModelBuilder())
        }
    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 17 18:14:15 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tf2xla/internal/legalize_tf_mlir.cc

             "or compilation failure from the MLIR bridge (full fallback mode).";
    
      mlir::DialectRegistry registry;
      mlir::RegisterAllTensorFlowDialects(registry);
      mlir::mhlo::registerAllMhloDialects(registry);
      mlir::stablehlo::registerAllDialects(registry);
      mlir::MLIRContext context(registry);
      mlir::OwningOpRef<mlir::ModuleOp> mlir_module;
      TF_RETURN_IF_ERROR(
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sun Apr 14 20:29:34 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  4. platforms/jvm/toolchains-jvm/src/test/groovy/org/gradle/jvm/toolchain/internal/JavaToolchainQueryServiceTest.groovy

                def location = locationFor(it)
                new JvmToolchainMetadata(detector.getMetadata(location), location)
            }
    
            def registry = Stub(JavaInstallationRegistry)
            registry.toolchains() >> installations
            registry
        }
    
        private static def versionRange(int begin, int end) {
            return (begin..end).collect { it.toString() }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 22:46:10 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/ParallelActionExecutionCrossVersionSpec.groovy

                class CustomPlugin implements Plugin<Project> {
                    ToolingModelBuilderRegistry registry
    
                    @Inject
                    CustomPlugin(ToolingModelBuilderRegistry registry) {
                        this.registry = registry
                    }
    
                    void apply(Project project) {
                        registry.register(new CustomBuilder())
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/jvm/toolchain/JavaInstallationRegistryIntegrationTest.groovy

    import org.gradle.test.precondition.Requires
    import org.gradle.test.preconditions.IntegTestPreconditions
    
    class JavaInstallationRegistryIntegrationTest extends AbstractIntegrationSpec {
    
        def "installation registry has no installations without environment setup or auto-detection"() {
            buildFile << """
                import org.gradle.internal.jvm.inspection.JavaInstallationRegistry;
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:29:03 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/WorkerJvmMemoryInfoSerializer.java

    public class WorkerJvmMemoryInfoSerializer {
        public static SerializerRegistry create() {
            DefaultSerializerRegistry registry = new DefaultSerializerRegistry(false);
    
            registry.register(JvmMemoryStatus.class, new JvmMemoryStatusSerializer());
            return registry;
        }
    
        private static class JvmMemoryStatusSerializer implements Serializer<JvmMemoryStatus> {
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. platforms/core-runtime/daemon-services/src/test/groovy/org/gradle/internal/daemon/serialization/DaemonSidePayloadClassLoaderFactoryTest.groovy

        @Rule
        TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def factory = Mock(PayloadClassLoaderFactory)
        def classpathTransformer = Mock(CachedClasspathTransformer)
    
        def registry = new DaemonSidePayloadClassLoaderFactory(factory, classpathTransformer)
    
        def "creates ClassLoader for classpath"() {
            def url1 = new URL("http://localhost/file1.jar")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:37 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  9. pkg/registry/storagemigration/rest/storage_storagemigration.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package rest
    
    import (
    	"k8s.io/apiserver/pkg/registry/generic"
    	"k8s.io/apiserver/pkg/registry/rest"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/api/legacyscheme"
    	"k8s.io/kubernetes/pkg/apis/storagemigration"
    	"k8s.io/kubernetes/pkg/features"
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 08 04:18:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/lite/stablehlo/transforms/tf_stablehlo_pass.cc

      }
    
     private:
      void runOnOperation() override;
    
      void getDependentDialects(DialectRegistry &registry) const override {
        mlir::mhlo::registerAllMhloDialects(registry);
        mlir::stablehlo::registerAllDialects(registry);
        registry.insert<mlir::func::FuncDialect, mlir::arith::ArithDialect>();
        registry.insert<shape::ShapeDialect>();
      }
    
     public:
      StringRef getArgument() const final { return "tf-mhlo"; }
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue May 28 21:49:50 UTC 2024
    - 7.5K bytes
    - Viewed (0)
Back to top