Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 55 for stdErr (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. lib/time/mkzip.go

    package main
    
    import (
    	"archive/zip"
    	"bytes"
    	"flag"
    	"fmt"
    	"hash/crc32"
    	"io/fs"
    	"log"
    	"os"
    	"path/filepath"
    	"strings"
    )
    
    func usage() {
    	fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n")
    	os.Exit(2)
    }
    
    func main() {
    	log.SetPrefix("mkzip: ")
    	log.SetFlags(0)
    	flag.Usage = usage
    	flag.Parse()
    	args := flag.Args()
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. internal/logger/logrotate.go

    func (w *Writer) Close() error {
    	w.pw.CloseWithError(nil)
    
    	if w.f != nil {
    		if err := w.closeCurrentFile(); err != nil {
    			return err
    		}
    	}
    
    	return nil
    }
    
    var stdErrEnc = json.NewEncoder(os.Stderr)
    
    func (w *Writer) listen() {
    	for {
    		var r io.Reader = w.pr
    		if w.opts.MaximumFileSize > 0 {
    			r = io.LimitReader(w.pr, w.opts.MaximumFileSize)
    		}
    		if _, err := io.Copy(w.f, r); err != nil {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  3. cmd/erasure-coding.go

    				fmt.Fprintf(os.Stderr, "%v: error on self-test [d:%d,p:%d]: want %#v, got %#v\n", algo, conf[0], conf[1], a, b)
    				ok = false
    				continue
    			}
    			// Delete first shard and reconstruct...
    			first := encoded[0]
    			encoded[0] = nil
    			failOnErr(e.DecodeDataBlocks(encoded))
    			if a, b := first, encoded[0]; !bytes.Equal(a, b) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  4. src/cmd/addr2line/main.go

    	fmt.Fprintf(w, "reads addresses from standard input and writes two lines for each:\n")
    	fmt.Fprintf(w, "\tfunction name\n")
    	fmt.Fprintf(w, "\tfile:line\n")
    }
    
    func usage() {
    	printUsage(os.Stderr)
    	os.Exit(2)
    }
    
    func main() {
    	log.SetFlags(0)
    	log.SetPrefix("addr2line: ")
    	counter.Open()
    
    	// pprof expects this behavior when checking for addr2line
    	if len(os.Args) > 1 && os.Args[1] == "--help" {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Jun 21 19:58:04 GMT 2024
    - 2.4K bytes
    - Click Count (0)
  5. internal/color/color.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package color
    
    import (
    	"fmt"
    
    	"github.com/fatih/color"
    )
    
    // global colors.
    var (
    	// Check if we stderr, stdout are dumb terminals, we do not apply
    	// ansi coloring on dumb terminals.
    	IsTerminal = func() bool {
    		return !color.NoColor
    	}
    
    	Bold = func() func(format string, a ...any) string {
    		if IsTerminal() {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. docs/debugging/s3-check-md5/main.go

    		Creds:     credentials.NewStaticV4(accessKey, secretKey, ""),
    		Secure:    secure,
    		Transport: transport,
    	})
    	if err != nil {
    		log.Fatalln(err)
    	}
    
    	if debug {
    		s3Client.TraceOn(os.Stderr)
    	}
    
    	var buckets []string
    	if bucket != "" {
    		buckets = append(buckets, bucket)
    	} else {
    		bucketsInfo, err := s3Client.ListBuckets(context.Background())
    		if err != nil {
    			log.Fatalln(err)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  7. src/cmd/asm/internal/lex/input.go

    		value := "1"
    		i := strings.IndexRune(name, '=')
    		if i > 0 {
    			name, value = name[:i], name[i+1:]
    		}
    		tokens := Tokenize(name)
    		if len(tokens) != 1 || tokens[0].ScanToken != scanner.Ident {
    			fmt.Fprintf(os.Stderr, "asm: parsing -D: %q is not a valid identifier name\n", tokens[0])
    			flags.Usage()
    		}
    		macros[name] = &Macro{
    			name:   name,
    			args:   nil,
    			tokens: Tokenize(value),
    		}
    	}
    	return macros
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  8. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

         *
         * @param args CLI args
         * @param workingDirectory working directory
         * @param stdout stdout
         * @param stderr stderr
         * @return return code
         */
        public int doMain(String[] args, String workingDirectory, PrintStream stdout, PrintStream stderr) {
            PrintStream oldout = System.out;
            PrintStream olderr = System.err;
    
            final Set<String> realms;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  9. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

      val showHeaders: Boolean by option("-i", "--include").help("Include protocol headers in the output").flag()
    
      val showHttp2Frames: Boolean by option("--frames").help("Log HTTP/2 frames to STDERR").flag()
    
      val referer: String? by option("-e", "--referer").help("Referer URL")
    
      val verbose: Boolean by option("-v", "--verbose").help("Makes $NAME verbose during the operation").flag()
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6K bytes
    - Click Count (0)
  10. apache-maven/src/assembly/maven/bin/mvn

        "$JAVACMD" -version >/dev/null 2>&1 || {
          echo "Error: Java not found. Please set JAVA_HOME." >&2
          return 1
        }
    
        # Run the parser using source-launch mode
        # Capture both stdout and stderr for comprehensive error reporting
        parser_output=$("$JAVACMD" "$MAVEN_HOME/bin/JvmConfigParser.java" "$1" "$MAVEN_PROJECTBASEDIR" 2>&1)
        parser_exit=$?
    
        if [ -n "$MAVEN_DEBUG_SCRIPT" ]; then
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Dec 10 16:40:06 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top