Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 67 for printuint (0.16 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime_test.go

    	if err != nil {
    		return "", err
    	}
    	bak := os.Stderr
    	os.Stderr = w
    	defer func() { os.Stderr = bak }()
    
    	resultCh := make(chan string)
    	// copy the output in a separate goroutine so printing can't block indefinitely
    	go func() {
    		var buf bytes.Buffer
    		io.Copy(&buf, r)
    		resultCh <- buf.String()
    	}()
    
    	f()
    	w.Close()
    
    	return <-resultCh, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/init/waitcontrolplane.go

    	if data.DryRun() {
    		if err := dryrunutil.PrintFilesIfDryRunning(true /* needPrintManifest */, data.ManifestDir(), data.OutputWriter()); err != nil {
    			return errors.Wrap(err, "error printing files on dryrun")
    		}
    	}
    
    	// Both Wait* calls below use a /healthz endpoint, thus a client without permissions works fine
    	client, err := data.ClientWithoutBootstrap()
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. src/go/format/format.go

    const (
    	tabWidth    = 8
    	printerMode = printer.UseSpaces | printer.TabIndent | printerNormalizeNumbers
    
    	// printerNormalizeNumbers means to canonicalize number literal prefixes
    	// and exponents while printing. See https://golang.org/doc/go1.13#gofmt.
    	//
    	// This value is defined in go/printer specifically for go/format and cmd/gofmt.
    	printerNormalizeNumbers = 1 << 30
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  4. src/cmd/go/internal/version/version.go

    				if isGoBinaryCandidate(file, info) {
    					fmt.Fprintf(os.Stderr, "%s: %v\n", file, err)
    				}
    			}
    		}
    		return
    	}
    
    	fmt.Printf("%s: %s\n", file, bi.GoVersion)
    	bi.GoVersion = "" // suppress printing go version again
    	mod := bi.String()
    	if *versionM && len(mod) > 0 {
    		fmt.Printf("\t%s\n", strings.ReplaceAll(mod[:len(mod)-1], "\n", "\n\t"))
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 19:27:00 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. src/math/big/doc.go

    a variety of supported formats (see the respective SetString documentation).
    
    Finally, *[Int], *[Rat], and *[Float] satisfy [fmt.Scanner] for scanning
    and (except for *[Rat]) the Formatter interface for formatted printing.
    */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:59:09 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/WelcomeMessageActionTest.groovy

            then:
            log.toString().contains("For more details see https://docs.gradle.org/1.0/release-notes.html")
            1 * delegateAction.execute(_)
        }
    
        def "writes marker file after printing welcome message"() {
            given:
            def version = "42.0"
            def action = createWelcomeMessage(GradleVersion.version(version), null)
    
            when:
            action.execute(listener)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  7. src/go/types/exprstring.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file implements printing of expressions.
    
    package types
    
    import (
    	"bytes"
    	"fmt"
    	"go/ast"
    	"go/internal/typeparams"
    )
    
    // ExprString returns the (possibly shortened) string representation for x.
    // Shortened representations are suitable for user interfaces but may not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 19:31:44 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  8. cni/pkg/log/uds.go

    	}
    	messages := make([]cniLog, 0, len(cniLogs))
    	for _, l := range cniLogs {
    		msg, ok := parseCniLog(l)
    		if !ok {
    			continue
    		}
    		messages = append(messages, msg)
    	}
    	// Lock log message printing to prevent log messages from different CNI
    	// processes interleave.
    	l.mu.Lock()
    	defer l.mu.Unlock()
    	for _, m := range messages {
    		logger := pluginLog
    		// For any k/v pairs, add them back
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 16:26:28 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  9. src/log/slog/text_handler.go

    // written. Otherwise, the result of [fmt.Sprint] is written.
    //
    // Keys and values are quoted with [strconv.Quote] if they contain Unicode space
    // characters, non-printing characters, '"' or '='.
    //
    // Keys inside groups consist of components (keys or group names) separated by
    // dots. No further escaping is performed.
    // Thus there is no way to determine from the key "a.b.c" whether there
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 23 22:56:07 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  10. istioctl/pkg/writer/envoy/clusters/clusters.go

    	address            string
    	port               int
    	cluster            string
    	status             core.HealthStatus
    	failedOutlierCheck bool
    }
    
    // Prime loads the clusters output into the writer ready for printing
    func (c *ConfigWriter) Prime(b []byte) error {
    	cd := clusters.Wrapper{}
    	err := json.Unmarshal(b, &cd)
    	if err != nil {
    		return fmt.Errorf("error unmarshalling config dump response from Envoy: %v", err)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Nov 03 08:41:32 UTC 2022
    - 5.8K bytes
    - Viewed (0)
Back to top