Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for log (0.12 sec)

  1. lib/time/mkzip.go

    		})
    		if err != nil {
    			log.Fatal(err)
    		}
    		if _, err := w.Write(data); err != nil {
    			log.Fatal(err)
    		}
    		seen[name] = true
    		return nil
    	})
    	if err != nil {
    		log.Fatal(err)
    	}
    	if err := zw.Close(); err != nil {
    		log.Fatal(err)
    	}
    	if len(seen) == 0 {
    		log.Fatalf("did not find any files to add")
    	}
    	if !seen["US/Eastern"] {
    		log.Fatalf("did not find US/Eastern to add")
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 17:32:07 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. src/archive/zip/reader_test.go

    //		if err != nil {
    //			log.Fatal(err)
    //		}
    //		if _, err = io.Copy(wf, r); err != nil {
    //			log.Fatal(err)
    //		}
    //		if err := w.Close(); err != nil {
    //			log.Fatal(err)
    //		}
    //		return buf.Bytes()
    //	}
    //
    // The 4 GB of zeros compresses to 4 MB, which compresses to 20 kB,
    // which compresses to 1252 bytes (in the hex dump below).
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  3. doc/go1.17_spec.html

    run-time panics raised by <code>g</code>.
    </p>
    
    <pre>
    func protect(g func()) {
    	defer func() {
    		log.Println("done")  // Println executes normally even if there is a panic
    		if x := recover(); x != nil {
    			log.Printf("run time panic: %v", x)
    		}
    	}()
    	log.Println("start")
    	g()
    }
    </pre>
    
    
    <h3 id="Bootstrapping">Bootstrapping</h3>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  4. src/cmd/api/main_test.go

    		// used them in a reasonable way and we should let it be.
    	} else if strings.HasPrefix(s, "\n") || strings.Contains(s, "\n\n") {
    		log.Printf("%s: contains a blank line", filename)
    		exitCode = 1
    	}
    	if s == "" {
    		log.Printf("%s: empty file", filename)
    		exitCode = 1
    	} else if s[len(s)-1] != '\n' {
    		log.Printf("%s: missing final newline", filename)
    		exitCode = 1
    	}
    	s = aliasReplacer.Replace(s)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/asm/parse.go

    // license that can be found in the LICENSE file.
    
    // Package asm implements the parser and instruction generator for the assembler.
    // TODO: Split apart?
    package asm
    
    import (
    	"fmt"
    	"io"
    	"log"
    	"os"
    	"strconv"
    	"strings"
    	"text/scanner"
    	"unicode/utf8"
    
    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/flags"
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    	"cmd/internal/obj/arm64"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. doc/go_spec.html

    run-time panics raised by <code>g</code>.
    </p>
    
    <pre>
    func protect(g func()) {
    	defer func() {
    		log.Println("done")  // Println executes normally even if there is a panic
    		if x := recover(); x != nil {
    			log.Printf("run time panic: %v", x)
    		}
    	}()
    	log.Println("start")
    	g()
    }
    </pre>
    
    
    <h3 id="Bootstrapping">Bootstrapping</h3>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/asm.go

    		flag = p.evalInteger("GLOBL", operands[1])
    		next++
    	}
    
    	// Final operand is an immediate constant.
    	addr := p.address(operands[next])
    	if !p.validImmediate("GLOBL", &addr) {
    		return
    	}
    
    	// log.Printf("GLOBL %s %d, $%d", name, flag, size)
    	p.ctxt.GloblPos(nameAddr.Sym, addr.Offset, int(flag), p.pos())
    }
    
    // asmPCData assembles a PCDATA pseudo-op.
    // PCDATA $2, $705
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 25.3K bytes
    - Viewed (0)
Back to top