- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 57 for fclose (0.17 sec)
-
src/cmd/cgo/internal/swig/testdata/stdio/main.go
f := Fopen("main.go", "r") if f.Swigcptr() == 0 { fatal("fopen failed") } if Fgetc(f) != '/' || Fgetc(f) != '/' || Fgetc(f) != ' ' || Fgetc(f) != 'C' { fatal("read unexpected characters") } if Fclose(f) != 0 { fatal("fclose failed") } println("OK") } func fatal(f string, args ...any) { fmt.Fprintln(os.Stderr, fmt.Sprintf(f, args...)) os.Exit(1)
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 975 bytes - Viewed (0) -
src/cmd/cgo/internal/swig/testdata/stdio/main.swig
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 563 bytes - Viewed (0) -
src/archive/zip/reader_test.go
if size != ft.Size { t.Errorf("%v: uncompressed size %#x, want %#x", ft.Name, size, ft.Size) } r.Close() return } var b bytes.Buffer _, err = io.Copy(&b, r) if err != ft.ContentErr { t.Errorf("copying contents: %v (want %v)", err, ft.ContentErr) } if err != nil { return } r.Close() if g := uint64(b.Len()); g != size {
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) -
src/archive/zip/fuzz_test.go
t.Fatalf("unable to write previously parsed header: %s", err) } if _, err := ww.Write(f.content); err != nil { t.Fatalf("unable to write previously parsed content: %s", err) } } if err := w.Close(); err != nil { t.Fatalf("Unable to write archive: %s", err) } // TODO: We may want to check if the archive roundtrips. })
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 13 18:06:33 GMT 2022 - 1.7K bytes - Viewed (0) -
doc/go1.17_spec.html
they cannot be used as function values. </p> <h3 id="Close">Close</h3> <p> For a channel <code>c</code>, the built-in function <code>close(c)</code> records that no more values will be sent on the channel. It is an error if <code>c</code> is a receive-only channel. Sending to or closing a closed channel causes a <a href="#Run_time_panics">run-time panic</a>.
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) -
src/cmd/api/api_test.go
tests := []struct { pkg string want bool }{ {"net/http", true}, {"net/http/internal-foo", true}, {"net/http/internal", false}, {"net/http/internal/bar", false}, {"internal/foo", false}, {"internal", false}, } for _, tt := range tests { got := !internalPkg.MatchString(tt.pkg) if got != tt.want { t.Errorf("%s is internal = %v; want %v", tt.pkg, got, tt.want)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jan 04 17:31:12 GMT 2024 - 7.1K bytes - Viewed (0) -
misc/wasm/wasm_exec.js
NaN, 0, null, true, false, globalThis, this, ]; this._goRefCounts = new Array(this._values.length).fill(Infinity); // number of references that Go has to a JS value, indexed by reference id this._ids = new Map([ // mapping from JS values to reference ids [0, 1], [null, 2], [true, 3], [false, 4], [globalThis, 5], [this, 6], ]);
JavaScript - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon May 22 17:47:47 GMT 2023 - 16.3K bytes - Viewed (1) -
api/go1.13.txt
pkg syscall (netbsd-arm64), const CLONE_PTRACE = 8192 pkg syscall (netbsd-arm64), const CLONE_PTRACE ideal-int pkg syscall (netbsd-arm64), const CLONE_SIGHAND = 2048 pkg syscall (netbsd-arm64), const CLONE_SIGHAND ideal-int pkg syscall (netbsd-arm64), const CLONE_VFORK = 16384 pkg syscall (netbsd-arm64), const CLONE_VFORK ideal-int pkg syscall (netbsd-arm64), const CLONE_VM = 256 pkg syscall (netbsd-arm64), const CLONE_VM 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) -
api/go1.3.txt
pkg syscall (netbsd-386), const CLONE_CSIGNAL = 255 pkg syscall (netbsd-386), const CLONE_CSIGNAL ideal-int pkg syscall (netbsd-386), const CLONE_FILES = 1024 pkg syscall (netbsd-386), const CLONE_FILES ideal-int pkg syscall (netbsd-386), const CLONE_FS = 512 pkg syscall (netbsd-386), const CLONE_FS ideal-int pkg syscall (netbsd-386), const CLONE_PID = 4096 pkg syscall (netbsd-386), const CLONE_PID ideal-int
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) -
api/go1.5.txt
pkg mime/quotedprintable, func NewReader(io.Reader) *Reader pkg mime/quotedprintable, func NewWriter(io.Writer) *Writer pkg mime/quotedprintable, method (*Reader) Read([]uint8) (int, error) pkg mime/quotedprintable, method (*Writer) Close() error pkg mime/quotedprintable, method (*Writer) Write([]uint8) (int, error) pkg mime/quotedprintable, type Reader struct pkg mime/quotedprintable, type Writer struct pkg mime/quotedprintable, type Writer struct, Binary bool
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jul 30 21:14:09 GMT 2015 - 46.6K bytes - Viewed (0)