Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 53 for Closed (0.26 sec)

  1. src/builtin/builtin.go

    func clear[T ~[]Type | ~map[Type]Type1](t T)
    
    // The close built-in function closes a channel, which must be either
    // bidirectional or send-only. It should be executed only by the sender,
    // never the receiver, and has the effect of shutting down the channel after
    // the last sent value is received. After the last value has been received
    // from a closed channel c, any receive from c will succeed without
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    A <code>nil</code> channel is never ready for communication.
    </p>
    
    <p>
    A channel may be closed with the built-in function
    <a href="#Close"><code>close</code></a>.
    The multi-valued assignment form of the
    <a href="#Receive_operator">receive operator</a>
    reports whether a received value was sent before
    the channel was closed.
    </p>
    
    <p>
    A single channel may be used in
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/api/api_test.go

    		if *updateGolden {
    			os.Remove(goldenFile)
    			f, err := os.Create(goldenFile)
    			if err != nil {
    				t.Fatal(err)
    			}
    			for _, feat := range w.Features() {
    				fmt.Fprintf(f, "%s\n", feat)
    			}
    			f.Close()
    		}
    
    		bs, err := os.ReadFile(goldenFile)
    		if err != nil {
    			t.Fatalf("opening golden.txt for package %q: %v", fi.Name(), err)
    		}
    		wanted := strings.Split(string(bs), "\n")
    		sort.Strings(wanted)
    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)
  6. misc/wasm/wasm_exec.js

    					return;
    				}
    				const n = this.writeSync(fd, buf);
    				callback(null, n);
    			},
    			chmod(path, mode, callback) { callback(enosys()); },
    			chown(path, uid, gid, callback) { callback(enosys()); },
    			close(fd, callback) { callback(enosys()); },
    			fchmod(fd, mode, callback) { callback(enosys()); },
    			fchown(fd, uid, gid, callback) { callback(enosys()); },
    			fstat(fd, callback) { callback(enosys()); },
    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)
  7. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const EXTB ideal-int
    pkg syscall (netbsd-arm64-cgo), const EXTPROC = 2048
    pkg syscall (netbsd-arm64-cgo), const EXTPROC ideal-int
    pkg syscall (netbsd-arm64-cgo), const F_CLOSEM = 10
    pkg syscall (netbsd-arm64-cgo), const F_CLOSEM ideal-int
    pkg syscall (netbsd-arm64-cgo), const FD_CLOEXEC = 1
    pkg syscall (netbsd-arm64-cgo), const FD_CLOEXEC ideal-int
    pkg syscall (netbsd-arm64-cgo), const FD_SETSIZE = 256
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  8. api/go1.3.txt

    pkg debug/macho, const TypeDylib Type
    pkg debug/macho, func NewFatFile(io.ReaderAt) (*FatFile, error)
    pkg debug/macho, func OpenFat(string) (*FatFile, error)
    pkg debug/macho, method (*FatFile) Close() error
    pkg debug/macho, method (FatArch) Close() error
    pkg debug/macho, method (FatArch) DWARF() (*dwarf.Data, error)
    pkg debug/macho, method (FatArch) ImportedLibraries() ([]string, error)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  9. 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 Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  10. doc/go_spec.html

    A <code>nil</code> channel is never ready for communication.
    </p>
    
    <p>
    A channel may be closed with the built-in function
    <a href="#Close"><code>close</code></a>.
    The multi-valued assignment form of the
    <a href="#Receive_operator">receive operator</a>
    reports whether a received value was sent before
    the channel was closed.
    </p>
    
    <p>
    A single channel may be used in
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top