Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,169 for ptrint (0.16 sec)

  1. src/go/ast/print.go

    		}
    	}()
    
    	// print x
    	if x == nil {
    		p.printf("nil\n")
    		return
    	}
    	p.print(reflect.ValueOf(x))
    	p.printf("\n")
    
    	return
    }
    
    // Print prints x to standard output, skipping nil fields.
    // Print(fset, x) is the same as Fprint(os.Stdout, fset, x, NotNilFilter).
    func Print(fset *token.FileSet, x any) error {
    	return Fprint(os.Stdout, fset, x, NotNilFilter)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. src/fmt/print.go

    // It returns the number of bytes written and any write error encountered.
    func Print(a ...any) (n int, err error) {
    	return Fprint(os.Stdout, a...)
    }
    
    // Sprint formats using the default formats for its operands and returns the resulting string.
    // Spaces are added between operands when neither is a string.
    func Sprint(a ...any) string {
    	p := newPrinter()
    	p.doPrint(a)
    	s := string(p.buf)
    	p.free()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 21:22:43 UTC 2024
    - 31.8K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go

    // recursive call to stringer or is an error, such as t and &t in these examples:
    //
    //	func (t *T) String() string { printf("%s",  t) }
    //	func (t  T) Error() string { printf("%s",  t) }
    //	func (t  T) String() string { printf("%s", &t) }
    func recursiveStringer(pass *analysis.Pass, e ast.Expr) (string, bool) {
    	typ := pass.TypesInfo.Types[e].Type
    
    	// It's unlikely to be a recursive stringer if it has a Format method.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 32.5K bytes
    - Viewed (0)
  4. maven-api-impl/src/test/remote-repo/org/apache/maven/its/parent/0.1/parent-0.1.pom

        <modelVersion>4.0.0</modelVersion>
    
        <groupId>org.apache.maven.its</groupId>
        <artifactId>parent</artifactId>
        <version>0.1</version>
        <packaging>pom</packaging>
    
        <name>Maven Integration Test :: Dummy Parent</name>
    
        <build>
            <pluginManagement>
                <plugins>
                    <plugin>
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu May 02 15:10:38 UTC 2024
    - 774 bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/stringintconv/string.go

    			Pos:     n.Pos(),
    			Message: fmt.Sprintf("conversion from %s to %s yields a string of one rune, not a string of digits (did you mean fmt.Sprint(x)?)", source, target),
    		}
    
    		if convertibleToRune {
    			diag.SuggestedFixes = []analysis.SuggestedFix{
    				{
    					Message: "Did you mean to convert a rune to a string?",
    					TextEdits: []analysis.TextEdit{
    						{
    							Pos:     arg.Pos(),
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. pilot/pkg/security/authz/matcher/string.go

    	matcher "github.com/envoyproxy/go-control-plane/envoy/type/matcher/v3"
    )
    
    // StringMatcher creates a string matcher for v.
    func StringMatcher(v string) *matcher.StringMatcher {
    	return StringMatcherWithPrefix(v, "")
    }
    
    // StringOrMatcher creates an OR string matcher for a list of values.
    func StringOrMatcher(vs []string) *matcher.ValueMatcher {
    	matchers := []*matcher.ValueMatcher{}
    	for _, v := range vs {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. src/cmd/go/internal/work/shell.go

    	if print == nil {
    		print = func(a ...any) (int, error) {
    			return fmt.Fprint(os.Stderr, a...)
    		}
    	}
    	shared := &shellShared{
    		workDir:   workDir,
    		printFunc: print,
    	}
    	return &Shell{shellShared: shared}
    }
    
    // Print emits a to this Shell's output stream, formatting it like fmt.Print.
    // It is safe to call concurrently.
    func (sh *Shell) Print(a ...any) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 19.8K bytes
    - Viewed (0)
  8. 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)
  9. src/runtime/string.go

    		b = b[len(x):]
    	}
    	return s
    }
    
    func concatstring2(buf *tmpBuf, a0, a1 string) string {
    	return concatstrings(buf, []string{a0, a1})
    }
    
    func concatstring3(buf *tmpBuf, a0, a1, a2 string) string {
    	return concatstrings(buf, []string{a0, a1, a2})
    }
    
    func concatstring4(buf *tmpBuf, a0, a1, a2, a3 string) string {
    	return concatstrings(buf, []string{a0, a1, a2, a3})
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/logging/src/main/java/org/gradle/internal/problems/failure/FailurePrinter.java

     */
    public class FailurePrinter {
    
        public static String printToString(Failure failure) {
            StringBuilder output = new StringBuilder();
            print(output, failure, FailurePrinterListener.NO_OP);
            return output.toString();
        }
    
        public static void print(Appendable output, Failure failure, FailurePrinterListener listener) {
            new Job(output, listener).print(failure);
        }
    
        private static final class Job {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 23:45:41 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top