Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 361 for initiatives (0.36 sec)

  1. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/BuildInitPlugin.java

            if (project.getParent() == null) {
                project.getTasks().register("init", InitBuild.class, initBuild -> {
                    initBuild.setGroup("Build Setup");
                    initBuild.setDescription("Initializes a new Gradle build.");
    
                    ProjectInternal projectInternal = (ProjectInternal) project;
    
                    ProjectInternal.DetachedResolver detachedResolver = projectInternal.newDetachedResolver();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 13:43:34 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/test/groovy/org/gradle/internal/locking/DependencyLockingGraphVisitorTest.groovy

        def 'initialises when there is lock state'() {
            when:
            visitor.start(rootNode)
    
            then:
            1 * dependencyLockingProvider.loadLockState(lockId, _) >> lockState
            1 * lockState.mustValidateLockState() >> true
            1 * lockState.lockedDependencies >> emptySet()
            0 * _
        }
    
        def 'initialises when there is no lock state'() {
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 02:50:41 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleTest.java

        assertEquals(Double.doubleToRawLongBits(x), Double.doubleToRawLongBits(y));
      }
    
      /** constructor initializes to given value */
      public void testConstructor() {
        for (double x : VALUES) {
          AtomicDouble a = new AtomicDouble(x);
          assertBitEquals(x, a.get());
        }
      }
    
      /** default constructed initializes to zero */
      public void testConstructor2() {
        AtomicDouble a = new AtomicDouble();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 09 22:57:07 UTC 2022
    - 10.2K bytes
    - Viewed (0)
  4. src/cmd/go/internal/test/cover.go

    	"cmd/go/internal/base"
    	"cmd/go/internal/cfg"
    	"fmt"
    	"io"
    	"os"
    	"path/filepath"
    	"sync"
    )
    
    var coverMerge struct {
    	f          *os.File
    	sync.Mutex // for f.Write
    }
    
    // initCoverProfile initializes the test coverage profile.
    // It must be run before any calls to mergeCoverProfile or closeCoverProfile.
    // Using this function clears the profile in case it existed from a previous run,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 28 11:50:58 UTC 2022
    - 2K bytes
    - Viewed (0)
  5. .github/workflows/codeql-analysis.yml

        # Install and setup JDK 11
        - name: Setup JDK 11
          uses: actions/setup-java@v4
          with:
            distribution: temurin
            java-version: 11
    
        # Initializes the CodeQL tools for scanning.
        - name: Initialize CodeQL
          uses: github/codeql-action/init@v3
          with:
            languages: ${{ matrix.language }}
            tools: latest
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 09:13:16 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/examples/stateful/stateful.go

    	mp.mu.Lock()
    	defer mp.mu.Unlock()
    	mp.executionPoints = append(mp.executionPoints, "pre-bind")
    	if pod == nil {
    		return framework.NewStatus(framework.Error, "pod must not be nil")
    	}
    	return nil
    }
    
    // New initializes a new plugin and returns it.
    func New(ctx context.Context, config *runtime.Unknown, _ framework.Handle) (framework.Plugin, error) {
    	if config == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 09 03:43:17 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/CancellationTokenSource.java

     * </ul>
     *
     * <p>All implementations of this interface are required to be thread safe.</p>
     *
     * @since 2.1
     */
    public interface CancellationTokenSource {
        /**
         * Initiates cancel request. All operations that have been associated with this token will be cancelled.
         *
         * <p>It is assumed that the implementation will do 'best-effort' attempt to perform cancellation.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/eventspy/EventSpy.java

             *
             * @return The key-value pairs, never {@code null}.
             */
            Map<String, Object> getData();
        }
    
        /**
         * Initializes the spy.
         *
         * @param context The event spy context, never {@code null}.
         */
        void init(Context context) throws Exception;
    
        /**
         * Notifies the spy of some build event/operation.
         *
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Nov 22 13:26:01 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/FixedExclusiveModeCrossProcessCacheAccessTest.groovy

            then:
            1 * initAction.requiresInitialization(lock) >> false
    
            then:
            1 * onOpenAction.accept(lock)
            0 * _
        }
    
        def "acquires lock then initializes cache and runs handler action on open"() {
            def lock = Mock(FileLock)
    
            when:
            cacheAccess.open()
    
            then:
            1 * lockManager.lock(file, _, _, "", _) >> lock
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:49:51 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  10. platforms/software/build-init/src/main/java/org/gradle/buildinit/plugins/internal/BuildInitializer.java

    import org.gradle.buildinit.plugins.internal.modifiers.ModularizationOption;
    
    import java.util.List;
    import java.util.Optional;
    import java.util.Set;
    
    /**
     * Initializes a Gradle build, either by converting an existing build to Gradle or generating a new Gradle build.
     *
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 23 19:14:25 UTC 2024
    - 2.8K bytes
    - Viewed (0)
Back to top