Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,505 for printsp (0.18 sec)

  1. src/go/types/example_test.go

    		log.Fatal(err)
    	}
    
    	// Print the method sets of Celsius and *Celsius.
    	celsius := pkg.Scope().Lookup("Celsius").Type()
    	for _, t := range []types.Type{celsius, types.NewPointer(celsius)} {
    		fmt.Printf("Method set of %s:\n", t)
    		mset := types.NewMethodSet(t)
    		for i := 0; i < mset.Len(); i++ {
    			fmt.Println(mset.At(i))
    		}
    		fmt.Println()
    	}
    
    	// Print the method set of S.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/running-builds/tutorial/part2_gradle_tasks.adoc

    [source, kotlin]
    ----
    tasks.register("hello") {
        doLast {
            println("Hello!")
        }
    }
    
    tasks.register("greet") {
        doLast {
            println("How are you?")
        }
        dependsOn("hello")
    }
    ----
    =====
    [.multi-language-sample]
    =====
    [source, groovy]
    ----
    tasks.register("hello") {
        doLast {
            println('Hello!')
        }
    }
    
    tasks.register("greet") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 02 14:26:07 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/util/dryrun/dryrun.go

    		}
    	} else {
    		fmt.Printf("[dryrun] Wrote certificates and kubeconfig files to the %q directory\n", manifestDir)
    	}
    
    	fmt.Println("[dryrun] The certificates or kubeconfig files would not be printed due to their sensitive nature")
    	fmt.Printf("[dryrun] Please examine the %q directory for details about what would be written\n", manifestDir)
    
    	// Print kubelet config manifests
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  4. subprojects/composite-builds/src/integTest/groovy/org/gradle/integtests/composite/CompositeBuildTaskExecutionIntegrationTest.groovy

                tasks.register('doSomething') {
                    description = "Prints the message 'do something'"
                    doLast {
                        println 'do something'
                    }
                }
            """
    
            expect:
            succeeds(":other-build:tasks", "--all")
            outputContains("doSomething - Prints the message 'do something'")
        }
    
        def "can run help from included build"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/tool/tool.go

    		signal.Stop(c)
    		close(c)
    	}
    	if err != nil {
    		// Only print about the exit status if the command
    		// didn't even run (not an ExitError) or it didn't exit cleanly
    		// or we're printing command lines too (-x mode).
    		// Assume if command exited cleanly (even with non-zero status)
    		// it printed any messages it wanted to print.
    		if e, ok := err.(*exec.ExitError); !ok || !e.Exited() || cfg.BuildX {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 18:02:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/multithreaded/ThreadOutputMuxer.java

            System.setOut(new ThreadBoundPrintStream(this.originalSystemOUtStream));
            printer = new ConsolePrinter(segmentChunks);
            new Thread(printer).start();
            printer.waitUntilRunning(true);
        }
    
        public void close() {
            printer.waitUntilRunning(false);
            System.setOut(this.originalSystemOUtStream);
        }
    
        private void setNext() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed Sep 06 08:39:32 UTC 2023
    - 12.8K bytes
    - Viewed (0)
  7. src/go/doc/comment/html.go

    type htmlPrinter struct {
    	*Printer
    	tight bool
    }
    
    // HTML returns an HTML formatting of the [Doc].
    // See the [Printer] documentation for ways to customize the HTML output.
    func (p *Printer) HTML(d *Doc) []byte {
    	hp := &htmlPrinter{Printer: p}
    	var out bytes.Buffer
    	for _, x := range d.Content {
    		hp.block(&out, x)
    	}
    	return out.Bytes()
    }
    
    // block prints the block x to out.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r68/CompositeBuildTaskExecutionCrossVersionSpec.groovy

                    description = "Prints the message 'do something'"
                    doLast {
                        println 'do something'
                    }
                }
            """
    
            when:
            executeTaskViaTAPI(":other-build:tasks", "--all")
    
            then:
            assertHasBuildSuccessfulLogging()
            outputContains("doSomething - Prints the message 'do something'")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/DependencyUnresolvedModuleIntegrationTest.groovy

                        try {
                            configurations.lax.files
                        } catch (Exception e) {
                            println "Lax failure swallowed"
                        }
    
                        // Try to resolve configuration "lax" again - this exception is printed
                        configurations.lax.files
                    }
                }
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 29 11:51:18 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/samples/templates/build-src-plugin-java-module-transform/application/src/main/java/org/gradle/sample/app/Main.java

            Object copy = BeanUtils.cloneBean(message);
            System.out.println();
            System.out.println("Original: " + copy.toString());
            System.out.println("Copy:     " + copy.toString());
    
        }
    
        private static void printModuleDebug(Class<?> clazz) {
            System.out.println(clazz.getModule().getName() + " - " + clazz.getModule().getDescriptor().version().get());
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.5K bytes
    - Viewed (0)
Back to top