- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for one_output (0.2 sec)
-
staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_stack_test.go
func ExampleHandleErrorWithContext() { state := klog.CaptureState() defer state.Restore() var fs flag.FlagSet klog.InitFlags(&fs) for flag, value := range map[string]string{ "one_output": "true", "logtostderr": "false", } { if err := fs.Set(flag, value); err != nil { fmt.Printf("Unexpected error configuring klog: %v", err) return } } var buffer bytes.Buffer
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 1.9K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/UserInputConsoleRendererTest.groovy
def testOutputEvent2 = new TestOutputEvent() renderer.onOutput(testOutputEvent1) renderer.onOutput(testOutputEvent2) then: 0 * console._ 0 * listener.onOutput(_) renderer.eventQueue.size() == 2 when: renderer.onOutput(userInputResumeEvent) then: 1 * console.buildOutputArea >> textArea
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 30 05:02:18 UTC 2024 - 5K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/sink/OutputEventRendererTest.groovy
renderer.addOutputEventListener(listener) renderer.onOutput(start) renderer.onOutput(progress) renderer.onOutput(complete) then: 1 * listener.onOutput({it instanceof LogLevelChangeEvent && it.newLogLevel == logLevel}) 1 * listener.onOutput(start) 1 * listener.onOutput(progress) 1 * listener.onOutput(complete) 0 * listener._ where:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 19:25:32 UTC 2024 - 17.8K bytes - Viewed (0) -
platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/UserInputStandardOutputRendererTest.groovy
when: renderer.onOutput(userInputResumeEvent) then: 1 * listener.onOutput(userInputResumeEvent) 1 * listener.onOutput(testOutputEvent1) 1 * listener.onOutput(testOutputEvent2) 0 * listener.onOutput(_) 0 * userInput._ renderer.eventQueue.empty } def "passes through other events than user input events"() { given:
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/daemon-services/src/test/groovy/org/gradle/api/internal/tasks/userinput/DefaultUserInputHandlerTest.groovy
then: 1 * outputEventBroadcaster.onOutput(_ as UserInputRequestEvent) 1 * outputEventBroadcaster.onOutput(_) >> { YesNoQuestionPromptEvent event -> assert event.question == 'question?' } 1 * userInputReader.readInput() >> new UserInputReader.TextResponse(enteredUserInput) 1 * outputEventBroadcaster.onOutput(_ as UserInputResumeEvent) 0 * outputEventBroadcaster._
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu May 09 04:50:46 UTC 2024 - 14.9K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/redirector/JULRedirectorTest.groovy
then: 3 * stdErrListener.onOutput('[SEVERE] Test' + EOL) 3 * stdErrListener.onOutput('[WARNING] Test' + EOL) 3 * stdErrListener.onOutput('[INFO] Test' + EOL) 2 * stdErrListener.onOutput('[CONFIG] Test' + EOL) 2 * stdErrListener.onOutput('[FINE] Test' + EOL) 2 * stdErrListener.onOutput('[FINER] Test' + EOL) 1 * stdErrListener.onOutput('[FINEST] Test' + EOL) 0 * _
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 5.5K bytes - Viewed (0) -
platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/redirector/DefaultStandardOutputRedirectorTest.groovy
redirector.start() System.out.println('this is stdout') System.err.println('this is stderr') redirector.stop() then: 1 * stdOutListener.onOutput('this is stdout' + EOL) 0 * stdOutListener._ System.out == outputs.stdOutPrintStream System.err == outputs.stdErrPrintStream } def startAndStopRedirectsStdErr() { when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue May 28 15:59:04 UTC 2024 - 3.8K bytes - Viewed (0) -
tensorflow/c/while_loop_test.cc
Init(1); params_->body_outputs[0] = params_->body_inputs[0]; ExpectError(TF_INVALID_ARGUMENT, "TF_WhileParams `cond_output` field isn't set"); } TEST_F(CApiWhileLoopTest, WrongCondOutputType) { Init(1); params_->cond_output = params_->cond_inputs[0]; params_->body_outputs[0] = params_->body_inputs[0]; ExpectError(TF_INVALID_ARGUMENT,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 06:05:56 UTC 2024 - 15.3K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/GroupingProgressLogEventGenerator.java
private void onUngroupedOutput(RenderableOutputEvent event) { if (lastRenderedBuildOpId != null) { listener.onOutput(spacerLine(event.getTimestamp(), event.getCategory())); lastRenderedBuildOpId = null; needHeaderSeparator = true; } listener.onOutput(event); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Apr 26 13:28:29 UTC 2024 - 12.2K bytes - Viewed (0) -
platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/sink/OutputEventRenderer.java
@Override public void onOutput(OutputEvent event) { // Do not forward events for rendering when there are no listeners to receive if (event instanceof LogLevelChangeEvent) { stdOutChain.onOutput(event); stdErrChain.onOutput(event);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Apr 01 19:25:32 UTC 2024 - 20.4K bytes - Viewed (0)