Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 34 for Open (0.18 sec)

  1. src/archive/zip/writer_test.go

    		}
    		if got.UncompressedSize64 != want.uncompressedSize {
    			t.Errorf("%s: got UncompressedSize64 %d; want %d", want.name, got.UncompressedSize64, want.uncompressedSize)
    		}
    
    		r, err := got.Open()
    		if err != nil {
    			t.Errorf("%s: Open err = %v", got.Name, err)
    			continue
    		}
    
    		buf, err := io.ReadAll(r)
    		if err != nil {
    			t.Errorf("%s: ReadAll err = %v", got.Name, err)
    			continue
    		}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  2. src/archive/tar/example_test.go

    			log.Fatal(err)
    		}
    		if _, err := tw.Write([]byte(file.Body)); err != nil {
    			log.Fatal(err)
    		}
    	}
    	if err := tw.Close(); err != nil {
    		log.Fatal(err)
    	}
    
    	// Open and iterate through the files in the archive.
    	tr := tar.NewReader(&buf)
    	for {
    		hdr, err := tr.Next()
    		if err == io.EOF {
    			break // End of archive
    		}
    		if err != nil {
    			log.Fatal(err)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 16 16:54:08 GMT 2017
    - 1.4K bytes
    - Viewed (0)
  3. README.md

    # The Go Programming Language
    
    Go is an open source programming language that makes it easy to build simple,
    reliable, and efficient software.
    
    ![Gopher image](https://golang.org/doc/gopher/fiveyears.jpg)
    *Gopher image by [Renee French][rf], licensed under [Creative Commons 4.0 Attributions license][cc4-by].*
    
    Our canonical Git repository is located at https://go.googlesource.com/go.
    There is a mirror of the repository at https://github.com/golang/go.
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Nov 02 20:14:56 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  4. src/archive/tar/reader_test.go

    			{6, "\x00G\x00o\x00G"},
    			{8, "\x00G\x00o\x00G\x00o"},
    			{4, "end\n"},
    		},
    	}}
    
    	for _, v := range vectors {
    		t.Run(path.Base(v.file), func(t *testing.T) {
    			f, err := os.Open(v.file)
    			if err != nil {
    				t.Fatalf("Open() error: %v", err)
    			}
    			defer f.Close()
    
    			tr := NewReader(f)
    			for i, tc := range v.cases {
    				hdr, err := tr.Next()
    				if err != nil || hdr == nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  5. src/cmd/asm/internal/lex/input.go

    	if err != nil {
    		in.Error("unquoting include file name: ", err)
    	}
    	in.expectNewline("#include")
    	// Push tokenizer for file onto stack.
    	fd, err := os.Open(name)
    	if err != nil {
    		for _, dir := range in.includes {
    			fd, err = os.Open(filepath.Join(dir, name))
    			if err == nil {
    				break
    			}
    		}
    		if err != nil {
    			in.Error("#include:", err)
    		}
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  6. api/go1.16.txt

    pkg syscall (darwin-arm64), const SYS_OPEN = 5
    pkg syscall (darwin-arm64), const SYS_OPEN ideal-int
    pkg syscall (darwin-arm64), const SYS_OPEN_DPROTECTED_NP = 216
    pkg syscall (darwin-arm64), const SYS_OPEN_DPROTECTED_NP ideal-int
    pkg syscall (darwin-arm64), const SYS_OPEN_EXTENDED = 277
    pkg syscall (darwin-arm64), const SYS_OPEN_EXTENDED ideal-int
    pkg syscall (darwin-arm64), const SYS_OPEN_NOCANCEL = 398
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  7. api/go1.3.txt

    pkg debug/plan9obj, func Open(string) (*File, error)
    pkg debug/plan9obj, method (*File) Close() error
    pkg debug/plan9obj, method (*File) Section(string) *Section
    pkg debug/plan9obj, method (*File) Symbols() ([]Sym, error)
    pkg debug/plan9obj, method (*Section) Data() ([]uint8, error)
    pkg debug/plan9obj, method (*Section) Open() io.ReadSeeker
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  8. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const SYS_NTP_GETTIME ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_OPEN = 5
    pkg syscall (netbsd-arm64-cgo), const SYS_OPENAT = 468
    pkg syscall (netbsd-arm64-cgo), const SYS_OPENAT ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_OPEN ideal-int
    pkg syscall (netbsd-arm64-cgo), const SYS_PACCEPT = 456
    pkg syscall (netbsd-arm64-cgo), const SYS_PACCEPT ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  9. api/go1.8.txt

    pkg net/url, method (*URL) Port() string
    pkg net/url, method (*URL) UnmarshalBinary([]uint8) error
    pkg net, var DefaultResolver *Resolver
    pkg os, func Executable() (string, error)
    pkg os, var ErrClosed error
    pkg plugin, func Open(string) (*Plugin, error)
    pkg plugin, method (*Plugin) Lookup(string) (Symbol, error)
    pkg plugin, type Plugin struct
    pkg plugin, type Symbol interface {}
    pkg reflect, func Swapper(interface{}) func(int, int)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Dec 21 05:25:57 GMT 2016
    - 16.3K bytes
    - Viewed (0)
  10. api/go1.txt

    pkg syscall (darwin-386), const SYS_NFSCLNT ideal-int
    pkg syscall (darwin-386), const SYS_NFSSVC ideal-int
    pkg syscall (darwin-386), const SYS_OPEN ideal-int
    pkg syscall (darwin-386), const SYS_OPEN_EXTENDED ideal-int
    pkg syscall (darwin-386), const SYS_OPEN_NOCANCEL ideal-int
    pkg syscall (darwin-386), const SYS_PATHCONF ideal-int
    pkg syscall (darwin-386), const SYS_PID_HIBERNATE ideal-int
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
Back to top