Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Pairing (0.15 sec)

  1. src/archive/zip/reader.go

    	}
    	if strings.HasSuffix(f.Name, "/") {
    		// The ZIP specification (APPNOTE.TXT) specifies that directories, which
    		// are technically zero-byte files, must not have any associated file
    		// data. We previously tried failing here if f.CompressedSize64 != 0,
    		// but it turns out that a number of implementations (namely, the Java
    		// jar tool) don't properly set the storage method on directories
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  2. doc/go_mem.html

    implies observing the write to <code>a</code>.  This
    version can (incorrectly) print an empty string
    instead of <code>"hello, world"</code>.
    </p>
    
    <p>
    Another incorrect idiom is busy waiting for a value, as in:
    </p>
    
    <pre>
    var a string
    var done bool
    
    func setup() {
    	a = "hello, world"
    	done = true
    }
    
    func main() {
    	go setup()
    	for !done {
    	}
    	print(a)
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top