Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,920 for printsp (0.14 sec)

  1. src/go/doc/comment/text.go

    type textPrinter struct {
    	*Printer
    	long       strings.Builder
    	prefix     string
    	codePrefix string
    	width      int
    }
    
    // Text returns a textual formatting of the [Doc].
    // See the [Printer] documentation for ways to customize the text output.
    func (p *Printer) Text(d *Doc) []byte {
    	tp := &textPrinter{
    		Printer:    p,
    		prefix:     p.TextPrefix,
    		codePrefix: p.TextCodePrefix,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 8.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/declarative-dsl-provider/src/integTest/groovy/org/gradle/internal/declarativedsl/PluginClasspathLeakIntegrationTest.groovy

                        api 'org.jetbrains.kotlinx:kotlinx-serialization-json:1.5.1'
                    }
    
                    gradlePlugin {
                        plugins {
                            'printer' { id='printer'; implementationClass='org.gradle.test.TestPlugin' }
                        }
                    }
    
                    publishing {
                        publications {
                            maven(MavenPublication) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 01 09:47:33 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  3. platforms/documentation/docs/src/snippets/native-binaries/cunit/groovy/libs/cunit/2.1-2/include/CUnit/Basic.h

     */
    
    CU_EXPORT void CU_basic_show_failures(CU_pFailureRecord pFailure);
    /**<
     *  Prints a summary of run failures to stdout.
     *  This is provided for user convenience upon request, and does 
     *  not take into account the current run mode.  The failures are 
     *  printed to stdout independent of the most recent run mode.
     *
     *  @param pFailure List of CU_pFailureRecord's to output.
     */
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  4. pkg/printers/tablegenerator.go

    // match the number of columns defined for that printer function.
    func ValidateRowPrintHandlerFunc(printFunc reflect.Value) error {
    	if printFunc.Kind() != reflect.Func {
    		return fmt.Errorf("invalid print handler. %#v is not a function", printFunc)
    	}
    	funcType := printFunc.Type()
    	if funcType.NumIn() != 2 || funcType.NumOut() != 2 {
    		return fmt.Errorf("invalid print handler." +
    			"Must accept 2 parameters and return 2 value")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 26 17:14:05 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  5. cmd/kubeadm/app/util/error.go

    	ErrExit = errors.New("exit")
    )
    
    // fatal prints the message if set and then exits.
    func fatal(msg string, code int) {
    	if len(msg) > 0 {
    		// add newline if needed
    		if !strings.HasSuffix(msg, "\n") {
    			msg += "\n"
    		}
    
    		fmt.Fprint(os.Stderr, msg)
    	}
    	os.Exit(code)
    }
    
    // CheckErr prints a user friendly error to STDERR and exits with a non-zero
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 25 16:35:10 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/bootstrap/DaemonOutputConsumer.java

            try (Scanner scanner = new Scanner(processStdOutput)) {
                PrintWriter printer = new PrintWriter(output);
                while (scanner.hasNext()) {
                    String line = scanner.nextLine();
                    LOGGER.debug("daemon out: {}", line);
                    printer.println(line);
                    if (startupCommunication.containsGreeting(line)) {
                        break;
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/DependencyResolutionFromTaskContextIntegrationTest.groovy

                    @Internal
                    Set<File> classpath = project.configurations["myconf"].files
                    BadTask() {
                        println("creating bad task")
                    }
                    @TaskAction
                    void printIt() {
                        def outputFile = getOutputFile().get().asFile
                        outputFile.text = "bad"
                    }
                }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  8. platforms/jvm/toolchains-jvm/src/crossVersionTest/groovy/org/gradle/jvm/toolchain/internal/install/ProvisionedJdkReuseCrossVersionIntegrationTest.groovy

                application.mainClass = 'printer.JavaHomePrinter'
            """
            file('src/main/java/printer/JavaHomePrinter.java').text = """
                package printer;
                public class JavaHomePrinter {
                    public static void main(String[] args) {
                        System.out.println("${JAVA_HOME_PREFIX}" + System.getProperty("java.home"));
                    }
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 16:09:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerCaptureOutputIntegrationTest.groovy

            }
        }
    
        static String helloWorldWithStandardOutputAndError() {
            """
                task helloWorld {
                    doLast {
                        println '$OUT'
                        System.err.println '$ERR'
                    }
                }
            """
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 22:36:52 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  10. operator/cmd/mesh/shared.go

    	controllruntimelog.SetLogger(log.NewLogrAdapter(scope))
    }
    
    type Printer interface {
    	Printf(format string, a ...any)
    	Println(string)
    }
    
    func NewPrinterForWriter(w io.Writer) Printer {
    	return &writerPrinter{writer: w}
    }
    
    type writerPrinter struct {
    	writer io.Writer
    }
    
    func (w *writerPrinter) Printf(format string, a ...any) {
    	_, _ = fmt.Fprintf(w.writer, format, a...)
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 29 02:29:02 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top