Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for initializeOnDaemon (0.22 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/testfixtures/internal/NativeServicesTestFixture.java

        public static synchronized void initialize() {
            if (!initialized) {
                System.setProperty("org.gradle.native", "true");
                File nativeDir = getNativeServicesDir();
                NativeServices.initializeOnDaemon(nativeDir, NativeServicesMode.fromSystemProperties());
                initialized = true;
            }
        }
    
        public static synchronized NativeServices getInstance() {
            if (nativeServices == null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. platforms/core-execution/build-cache/src/jmh/java/org/gradle/caching/internal/tasks/ChmodBenchmark.java

        FileSystem fileSystem;
    
        @Setup(Level.Trial)
        public void setupTrial() throws IOException {
            this.tempRootDir = Files.createTempDirectory("chmod-benchmark");
            NativeServices.initializeOnDaemon(tempRootDir.toFile(), NativeServicesMode.fromSystemProperties());
            this.fileSystem = FileSystems.getDefault();
        }
    
        @TearDown(Level.Trial)
        public void tearDownTrial() throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 12:13:32 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  3. platforms/core-runtime/daemon-server/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonMain.java

                    additionalClassPath.add(new File(decoder.readString()));
                }
            } catch (EOFException e) {
                throw new UncheckedIOException(e);
            }
    
            NativeServices.initializeOnDaemon(gradleHomeDir, NativeServicesMode.fromSystemProperties());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  4. platforms/extensibility/unit-test-fixtures/src/main/java/org/gradle/testfixtures/internal/ProjectBuilderImpl.java

                ? NativeServicesMode.fromSystemProperties()
                : NativeServicesMode.DISABLED;
            NativeServices.initializeOnDaemon(userHomeDir, nativeServicesMode);
    
            final ServiceRegistry globalServices = getGlobalServices();
    
            BuildRequestMetaData buildRequestMetaData = new DefaultBuildRequestMetaData(Time.currentTimeMillis());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:51:36 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  5. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/services/NativeServices.java

         *
         * Initializes all the services needed for the Gradle daemon.
         */
        public static void initializeOnDaemon(File userHomeDir, NativeServicesMode mode) {
            INSTANCE.initialize(userHomeDir, EnumSet.allOf(NativeFeatures.class), mode);
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:39 UTC 2024
    - 23.9K bytes
    - Viewed (0)
Back to top