Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for PetOut (0.34 sec)

  1. testing/internal-testing/src/main/groovy/org/gradle/util/internal/RedirectStdOutAndErr.java

                    originalStdErr = System.err;
                    stdOutRouter.setOut(originalStdOut);
                    stdErrRouter.setOut(originalStdErr);
                    try {
                        System.setOut(stdOutPrintStream);
                        System.setErr(stdErrPrintStream);
                        base.evaluate();
                    } finally {
                        System.setOut(originalStdOut);
                        System.setErr(originalStdErr);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. native-image-tests/src/main/kotlin/okhttp3/DotListener.kt

      }
    
      fun install() {
        originalSystemOut = System.out
        originalSystemErr = System.err
    
        System.setOut(object : PrintStream(OutputStream.nullOutputStream()) {})
        System.setErr(object : PrintStream(OutputStream.nullOutputStream()) {})
      }
    
      fun uninstall() {
        originalSystemOut.let {
          System.setOut(it)
        }
        originalSystemErr.let {
          System.setErr(it)
        }
      }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. platforms/software/testing-base-infrastructure/src/main/java/org/gradle/api/internal/tasks/testing/redirector/DefaultStandardOutputRedirector.java

                originalStdOut = System.out;
                System.setOut(redirectedStdOut);
            }
            if (stdErr.destination != null) {
                originalStdErr = System.err;
                System.setErr(redirectedStdErr);
            }
        }
    
        @Override
        public void stop() {
            try {
                if (originalStdOut != null) {
                    System.setOut(originalStdOut);
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. operator/cmd/mesh/profile-list_test.go

    	kubeClientFunc = func() (kube.CLIClient, error) {
    		return nil, nil
    	}
    	rootCmd := GetRootCmd(cli.NewFakeContext(&cli.NewFakeContextOption{
    		Version: "25",
    	}), args)
    	var out bytes.Buffer
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&out)
    
    	err := rootCmd.Execute()
    	if err != nil {
    		t.Fatalf("failed to execute istioctl profile command: %v", err)
    	}
    	output := out.String()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 03 06:27:07 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tfr/passes/decompose.cc

              new_results.push_back(element_op.getOut());
            }
          }
        }
        for (auto res : llvm::zip(op->getResults(), new_results)) {
          auto casted = builder.create<CastOp>(
              op->getLoc(), std::get<0>(res).getType(), std::get<1>(res));
          std::get<0>(res).replaceAllUsesWith(casted.getOut());
        }
    
        // Copy all the unregisted attributes to the new op.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  6. istioctl/pkg/proxyconfig/proxyconfig_test.go

    			})), c)
    		})
    	}
    }
    
    func verifyExecTestOutput(t *testing.T, cmd *cobra.Command, c execTestCase) {
    	t.Helper()
    
    	var out bytes.Buffer
    	cmd.SetArgs(c.args)
    	cmd.SilenceUsage = true
    	cmd.SetOut(&out)
    	cmd.SetErr(&out)
    
    	fErr := cmd.Execute()
    	output := out.String()
    
    	if c.expectedOutput != "" && c.expectedOutput != output {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 10 21:51:29 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  7. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

        executor = newVirtualThreadPerTaskExecutor()
    
        // Capture non-deterministic but probable sysout warnings of pinned threads
        // https://docs.oracle.com/en/java/javase/21/core/virtual-threads.html
        System.setOut(PrintStream(capturedOut))
      }
    
      @AfterEach
      fun checkForPinning() {
        assertThat(capturedOut.toString()).isEmpty()
      }
    
      private fun newVirtualThreadPerTaskExecutor(): ExecutorService {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 06 11:15:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  8. istioctl/pkg/waypoint/waypoint_test.go

    			}
    			expectedOut := string(defaultFile)
    			if len(expectedOut) == 0 {
    				t.Fatal("expected output is empty")
    			}
    
    			var out bytes.Buffer
    			rootCmd := Cmd(ctx)
    			rootCmd.SetArgs(tt.args)
    			rootCmd.SetOut(&out)
    			rootCmd.SetErr(&out)
    
    			fErr := rootCmd.Execute()
    			if fErr != nil {
    				t.Fatal(fErr)
    			}
    			output := out.String()
    			if output != expectedOut {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 04 15:53:09 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. pkg/test/framework/components/istioctl/kube.go

    		"--kubeconfig",
    		c.kubeconfig,
    	}, args...)
    
    	var out bytes.Buffer
    	var err bytes.Buffer
    
    	start := time.Now()
    
    	invokeMutex.Lock()
    	rootCmd := cmd.GetRootCmd(cmdArgs)
    	rootCmd.SetOut(&out)
    	rootCmd.SetErr(&err)
    	// istioctl will overwrite logs which we don't want.
    	// It happens to do this via PersistentPreRunE, which we can disable.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc

            auto casted =
                rewriter.create<CastOp>(loc, unconstrainted_type, new_res);
            tensor_list.push_back(casted.getOut());
          }
          auto list_op = rewriter.create<BuildListOp>(loc, res_type, tensor_list);
          new_results.push_back(list_op.getOut());
        }
      }
    
      // Copy all the allowed attributes to the new op.
      if (failed(CopyNonSymbolRefAttrs(call_op, new_op))) return failure();
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.8K bytes
    - Viewed (0)
Back to top