Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for SetState (0.12 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/text/AbstractLineChoppingStyledTextOutput.java

                    context.seenFromEol.add('\r');
                    context.setState(WINDOWS_EOL_PARSING_ODDITY_STATE);
                } else if (context.isCurrentCharEquals('\n')) {
                    context.flushLineText();
                    context.flushEndLine("\n");
                    context.next();
                    context.reset();
                    context.setState(START_LINE_STATE);
                } else {
                    context.next();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  2. operator/pkg/util/progress/progress_test.go

    	foo.ReportProgress()
    	expect(`- Processing resources for ` + cnpo + `.`)
    
    	foo.ReportFinished()
    	expect(`🧠 ` + cnpo + ` installed`)
    
    	p.SetState(StatePruning)
    	expect(`- Pruning removed resources`)
    
    	p.SetState(StateComplete)
    	expect(`✅ Installation complete`)
    
    	p.SetState(StateUninstallComplete)
    	expect(`✅ Uninstall complete`)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 14 19:23:44 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/dispatch/AsyncDispatch.java

            }
        }
    
        private void doRequestStop() {
            setState(State.Stopped);
        }
    
        /**
         * Stops accepting new messages, and blocks until all queued messages have been dispatched.
         */
        @Override
        public void stop() {
            lock.lock();
            try {
                setState(State.Stopped);
                waitForAllMessages();
            } finally {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 6.7K bytes
    - Viewed (0)
  4. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonInfo.java

            this.token = Preconditions.checkNotNull(token);
            this.clock = Preconditions.checkNotNull(busyClock);
            this.lastBusy = -1; // Will be overwritten by setIdle if not idle.
            setState(state);
        }
    
        private DaemonInfo(Address address, DaemonContext context, byte[] token, State state, long lastBusy) {
            this.address = address;
            this.context = context;
            this.token = token;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  5. platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/BuildableCompilationState.java

        private final Map<File, SourceFileState> sourceFileStates = new HashMap<File, SourceFileState>();
    
        public Set<File> getSourceInputs() {
            return sourceFileStates.keySet();
        }
    
        public void setState(File file, SourceFileState sourceFileState) {
            sourceFileStates.put(file, sourceFileState);
        }
    
        public CompilationState snapshot() {
            return new CompilationState(ImmutableMap.copyOf(sourceFileStates));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/server/DaemonExpirationStrategyTest.groovy

            DaemonContext context = Mock(DaemonContext) {
                _ * getUid() >> uid
            }
            DaemonInfo info = new DaemonInfo(daemonAddress, context, "password".bytes, Busy, new MockClock(lastIdleTime))
            info.setState(state)
            registry.store(info)
            return info
        }
    
        private static Address createAddress(int i) {
            new Address() {
                int getNum() { i }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/registry/EmbeddedDaemonRegistry.java

                return daemonInfo.getState() == Idle;
            }
        });
    
        @SuppressWarnings("unchecked")
        private final Spec<DaemonInfo> busySpec = Specs.<DaemonInfo>intersect(allSpec, new Spec<DaemonInfo>() {
            public boolean isSatisfiedBy(DaemonInfo daemonInfo) {
                return daemonInfo.getState() != Idle;
            }
        });
    
        @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/PersistentDaemonRegistry.java

                    return daemonInfo.getState() == Idle;
                }
            });
        }
    
        @Override
        public List<DaemonInfo> getNotIdle() {
            return getDaemonsMatching(new Spec<DaemonInfo>() {
                @Override
                public boolean isSatisfiedBy(DaemonInfo daemonInfo) {
                    return daemonInfo.getState() != Idle;
                }
            });
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/registry/ModelNodeInternal.java

        }
    
        @Override
        public ModelRuleDescriptor getDescriptor() {
            return descriptor;
        }
    
        @Override
        public ModelNode.State getState() {
            return state;
        }
    
        public void setState(ModelNode.State state) {
            this.state = state;
        }
    
        @Override
        public boolean isMutable() {
            return state.mutable;
        }
    
        @Nullable
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 12:51:08 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/registry/ModelGraphTest.groovy

            0 * listener2.onDiscovered(_)
        }
    
        def node(String path, Class<?> type = String, State state = State.Discovered) {
            def node = new TestNode(path, type)
            node.setState(state)
            return node
        }
    
        def root() {
            return node("", Void, State.Created)
        }
    
        private ModelListener allAcceptingListener() {
            return Mock(ModelListener) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.8K bytes
    - Viewed (0)
Back to top