Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for main (0.18 sec)

  1. src/archive/zip/reader_test.go

    // instead of >= uint32max and then running this program:
    //
    //	package main
    //
    //	import (
    //		"archive/zip"
    //		"bytes"
    //		"io"
    //		"log"
    //		"os"
    //	)
    //
    //	type zeros struct{}
    //
    //	func (zeros) Read(b []byte) (int, error) {
    //		clear(b)
    //		return len(b), nil
    //	}
    //
    //	func main() {
    //		bigZip := makeZip("big.file", io.LimitReader(zeros{}, 1<<32-1))
    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)
  2. src/cmd/cgo/gcc.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Annotate Ref in Prog with C types by parsing gcc debug output.
    // Conversion of debug output to Go types.
    
    package main
    
    import (
    	"bytes"
    	"debug/dwarf"
    	"debug/elf"
    	"debug/macho"
    	"debug/pe"
    	"encoding/binary"
    	"errors"
    	"flag"
    	"fmt"
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"internal/xcoff"
    	"math"
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top