- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,156 for paused (0.78 sec)
-
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/AbstractUserInputRenderer.java
} private void handleUserInputRequestEvent() { startInput(); paused = true; } private void handleUserInputResumeEvent(UserInputResumeEvent event) { if (!paused) { throw new IllegalStateException("Cannot resume user input if not paused yet"); } paused = false; finishInput(event); replayEvents(); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 30 05:02:18 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/UserInputStandardOutputRendererTest.groovy
def "throws exception if user input resume event has been received but event handling hasn't been paused"() { given: def event = new UserInputResumeEvent(123) when: renderer.onOutput(event) then: def t = thrown(IllegalStateException) t.message == 'Cannot resume user input if not paused yet' 0 * listener.onOutput(_) 0 * userInput._ renderer.eventQueue.empty
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 19:25:32 UTC 2024 - 3.6K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/UserInputConsoleRendererTest.groovy
def "throws exception if user input resume event has been received but event handling hasn't been paused"() { given: def event = new UserInputResumeEvent(123) when: renderer.onOutput(event) then: def t = thrown(IllegalStateException) t.message == 'Cannot resume user input if not paused yet' 0 * console._ 0 * listener.onOutput(_)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 30 05:02:18 UTC 2024 - 5K bytes - Viewed (0) -
maven-jline/src/main/java/org/apache/maven/jline/FastTerminal.java
} @Override public void pause() { getTerminal().pause(); } @Override public void pause(boolean b) throws InterruptedException { getTerminal().pause(b); } @Override public void resume() { getTerminal().resume(); } @Override public boolean paused() { return getTerminal().paused(); }
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Wed Apr 03 17:49:40 UTC 2024 - 6.7K bytes - Viewed (0) -
src/cmd/test2json/main.go
// // The Action field is one of a fixed set of action descriptions: // // start - the test binary is about to be executed // run - the test has started running // pause - the test has been paused // cont - the test has continued running // pass - the test passed // bench - the benchmark printed log output but did not fail // fail - the test or benchmark failed // output - the test printed output
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 19:41:17 UTC 2024 - 5.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/openapi/enablement_test.go
Default: "",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 4.9K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/text/language/parse.go
// The resulting tag is canonicalized using the default canonicalization type. func Parse(s string) (t Tag, err error) { return Default.Parse(s) } // Parse parses the given BCP 47 string and returns a valid Tag. If parsing // failed it returns an error and any part of the tag that could be parsed. // If parsing succeeded but an unknown value was found, it returns
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 24 13:01:26 UTC 2024 - 7.5K bytes - Viewed (0) -
build/pause/windows/pause.c
exit(0); default: return FALSE; } } int main(int argc, char **argv) { int i; for (i = 1; i < argc; ++i) { if (!_stricmp(argv[i], "-v")) { fprintf(stdout, "pause.c %s\n", VERSION_STRING(VERSION)); return 0; } } if (SetConsoleCtrlHandler(CtrlHandler, TRUE)) { Sleep(INFINITE); } else { printf("\nERROR: Could not set control handler\n");
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 23 13:09:17 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/exceptions/DefaultMultiCauseExceptionTest.groovy
outstr.toString().contains("Caused by: ${RuntimeException.name}: cause1") } def printStacktraceWithNestedMultipleCauses() { RuntimeException causeA = new RuntimeException('causeA') RuntimeException causeB = new RuntimeException('causeB') RuntimeException cause1 = new TestMultiCauseException('cause1', [causeA, causeB]) RuntimeException causeC = new RuntimeException('causeC')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 6.7K bytes - Viewed (0) -
internal/amztime/parse.go
// Add new AMZ date formats here. } // ErrMalformedDate always returned for dates that cannot be parsed. var ErrMalformedDate = errors.New("malformed date") // Parse parses date string via supported amz date formats. func Parse(amzDateStr string) (time.Time, error) { for _, dateFormat := range amzDateFormats { amzDate, err := time.Parse(dateFormat, amzDateStr) if err == nil { return amzDate, nil } }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu Jan 18 07:03:17 UTC 2024 - 2.5K bytes - Viewed (0)