Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for ordinal (0.2 sec)

  1. subprojects/core/src/main/java/org/gradle/execution/plan/OrdinalNodeAccess.java

            // Create (or get) a destroyer ordinal node that depends on the output locations of this task node
            ordinal.getDestroyerLocationsNode().addDependenciesFrom(destroyer);
    
            // Depend on any previous producer ordinal nodes (i.e. any producer ordinal nodes with a lower ordinal)
            if (ordinal.getPrevious() != null) {
                OrdinalNode producerLocations = ordinal.getPrevious().getProducerLocationsNode();
    Registered: 2024-06-12 18:38
    - Last Modified: 2022-12-28 21:49
    - 3.3K bytes
    - Viewed (0)
  2. subprojects/core/src/main/java/org/gradle/execution/plan/OrdinalGroup.java

    public class OrdinalGroup extends NodeGroup {
        private final int ordinal;
        @Nullable
        private final OrdinalGroup previous;
        private final Set<Node> entryNodes = new LinkedHashSet<>();
        private OrdinalNode producerLocationsNode;
        private OrdinalNode destroyerLocationsNode;
    
        OrdinalGroup(int ordinal, @Nullable OrdinalGroup previous) {
            this.ordinal = ordinal;
            this.previous = previous;
        }
    
        @Override
    Registered: 2024-06-12 18:38
    - Last Modified: 2022-12-28 21:49
    - 3.1K bytes
    - Viewed (0)
  3. pkg/controller/statefulset/stateful_set_utils.go

    func podInOrdinalRange(pod *v1.Pod, set *apps.StatefulSet) bool {
    	ordinal := getOrdinal(pod)
    	return ordinal >= getStartOrdinal(set) && ordinal <= getEndOrdinal(set)
    }
    
    // getPodName gets the name of set's child Pod with an ordinal index of ordinal
    func getPodName(set *apps.StatefulSet, ordinal int) string {
    	return fmt.Sprintf("%s-%d", set.Name, ordinal)
    }
    
    Registered: 2024-06-15 01:39
    - Last Modified: 2024-06-05 19:06
    - 26.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/expiry/DaemonExpirationStatus.java

     * limitations under the License.
     */
    
    package org.gradle.launcher.daemon.server.expiry;
    
    /**
     * Expiration status for daemon expiration check results.  Note that order here is important, higher ordinal statuses take precedent over lower ordinal statuses when aggregating results in {@link
     * AllDaemonExpirationStrategy}.
     */
    public enum DaemonExpirationStatus {
        DO_NOT_EXPIRE,
        QUIET_EXPIRE,
        GRACEFUL_EXPIRE,
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-22 09:29
    - 1.2K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/execution/plan/OrdinalNode.java

        public enum Type {DESTROYER, PRODUCER}
    
        private final Type type;
        private final OrdinalGroup ordinal;
    
        public OrdinalNode(Type type, OrdinalGroup ordinal) {
            this.type = type;
            this.ordinal = ordinal;
            setGroup(ordinal);
        }
    
        @Nullable
        @Override
        public Throwable getNodeFailure() {
            return null;
        }
    
        @Override
    Registered: 2024-06-12 18:38
    - Last Modified: 2022-08-26 20:13
    - 2.5K bytes
    - Viewed (0)
  6. subprojects/core-api/src/main/java/org/gradle/api/internal/project/ant/AntLoggingAdapter.java

            // Check to see if we should adjust the level based on a set lifecycle log level
            if (lifecycleLogLevel != null) {
                if (defaultLevel.ordinal() < LogLevel.LIFECYCLE.ordinal()
                    && AntMessagePriority.from(messagePriority).ordinal() >= lifecycleLogLevel.ordinal()) {
                    // we would normally log at a lower level than lifecycle, but the Ant message priority is actually higher
    Registered: 2024-06-12 18:38
    - Last Modified: 2019-05-17 10:39
    - 4.2K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/execution/plan/OrdinalGroupFactory.java

     * to be freely compared by identity.
     */
    @ServiceScope(Scope.Build.class)
    public class OrdinalGroupFactory {
    
        private final List<OrdinalGroup> groups = new ArrayList<>();
    
        public final OrdinalGroup group(int ordinal) {
            growTo(ordinal);
            return groups.get(ordinal);
        }
    
        public List<OrdinalGroup> getAllGroups() {
    Registered: 2024-06-12 18:38
    - Last Modified: 2024-03-12 02:21
    - 1.7K bytes
    - Viewed (0)
  8. subprojects/core/src/test/groovy/org/gradle/execution/plan/OrdinalGroupFactoryTest.groovy

        }
    
        def 'returns the same group for the same ordinal'() {
            given:
            def subject = new OrdinalGroupFactory()
    
            when:
            def g0 = subject.group(0)
            def g1 = subject.group(1)
    
            then:
            g1 != g0
            subject.group(0) == g0
            subject.group(1) == g1
    
            and:
            g0.ordinal == 0
            g1.ordinal == 1
        }
    Registered: 2024-06-12 18:38
    - Last Modified: 2022-08-02 17:42
    - 1.4K bytes
    - Viewed (0)
  9. platforms/core-execution/persistent-cache/src/main/java/org/gradle/cache/internal/locklistener/FileLockPacketPayload.java

            if (length < MAX_BYTES) {
                return UNKNOWN;
            }
            try {
                int ordinal = dataInput.readByte();
                if (ordinal < TYPES.size()) {
                    return TYPES.get(ordinal);
                }
            } catch (EOFException ignore) {
                // old versions don't send a type
            }
            return UNKNOWN;
        }
    
    Registered: 2024-06-12 18:38
    - Last Modified: 2023-09-22 09:08
    - 3.3K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/execution/plan/NodeGroup.java

     *         A "requested task", which is a task requested on the command-line. For example given `gradle a b:` then all the tasks that match `a` are treated as a requested task group (with ordinal 0)
     *         and all the tasks that match `b` are treated as another requested task group (with ordinal 1).
     *     </li>
     *     <li>A finalizer node. Each finalizer is treated as its own node group.</li>
     * </ul>
     *
    Registered: 2024-06-12 18:38
    - Last Modified: 2022-10-19 19:58
    - 3.2K bytes
    - Viewed (0)
Back to top