Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for event (0.14 sec)

  1. misc/wasm/wasm_exec.js

    			if (this.exited) {
    				this._resolveExitPromise();
    			}
    		}
    
    		_makeFuncWrapper(id) {
    			const go = this;
    			return function () {
    				const event = { id: id, this: this, args: arguments };
    				go._pendingEvent = event;
    				go._resume();
    				return event.result;
    			};
    		}
    	}
    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)
  2. src/cmd/cgo/doc.go

    The preamble may contain any C code, including function and variable
    declarations and definitions. These may then be referred to from Go
    code as though they were defined in the package "C". All names
    declared in the preamble may be used, even if they start with a
    lower-case letter. Exception: static variables in the preamble may
    not be referenced from Go code; static functions are permitted.
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  3. misc/ios/go_ios_exec.go

    	# For remote device runs, we need to wait for eStateConnected,
    	# below.
    	run_program()
    
    while True:
    	if not listener.WaitForEvent(1, event):
    		continue
    	if not lldb.SBProcess.EventIsProcessEvent(event):
    		continue
    	if running:
    		# Pass through stdout and stderr.
    		while True:
    			out = process.GetSTDOUT(8192)
    			if not out:
    				break
    			sys.stdout.write(out)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 23.4K bytes
    - Viewed (0)
  4. src/archive/tar/common.go

    }
    
    // alignSparseEntries mutates src and returns dst where each fragment's
    // starting offset is aligned up to the nearest block edge, and each
    // ending offset is aligned down to the nearest block edge.
    //
    // Even though the Go tar Reader and the BSD tar utility can handle entries
    // with arbitrary offsets and lengths, the GNU tar utility can only handle
    // offsets and lengths that are multiples of blockSize.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  5. doc/godebug.md

    for a minimum of two years (four Go releases).
    Some, such as `http2client` and `http2server`,
    will be maintained much longer, even indefinitely.
    
    When possible, each GODEBUG setting has an associated
    [runtime/metrics](/pkg/runtime/metrics/) counter
    named `/godebug/non-default-behavior/<name>:events`
    that counts the number of times a particular program's
    behavior has changed based on a non-default value
    for that setting.
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. src/archive/tar/reader_test.go

    			Typeflag: '2',
    			PAXRecords: map[string]string{
    				"linkpath": "PAX4/PAX4/long-linkpath-name",
    			},
    			Format: FormatPAX,
    		}},
    	}, {
    		// Both BSD and GNU tar truncate long names at first NUL even
    		// if there is data following that NUL character.
    		// This is reasonable as GNU long names are C-strings.
    		file: "testdata/gnu-long-nul.tar",
    		headers: []*Header{{
    			Name:     "0123456789",
    			Mode:     0644,
    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)
  7. doc/asm.html

    The actual name is semantically irrelevant but should be used to document
    the argument's name.
    It is worth stressing that <code>FP</code> is always a
    pseudo-register, not a hardware
    register, even on architectures with a hardware frame pointer.
    </p>
    
    <p>
    For assembly functions with Go prototypes, <code>go</code> <code>vet</code> will check that the argument names
    and offsets match.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
  8. src/archive/zip/reader.go

    	needUSize := f.UncompressedSize == ^uint32(0)
    	needCSize := f.CompressedSize == ^uint32(0)
    	needHeaderOffset := f.headerOffset == int64(^uint32(0))
    
    	// Best effort to find what we need.
    	// Other zip authors might not even follow the basic format,
    	// and we'll just ignore the Extra content in that case.
    	var modified time.Time
    parseExtras:
    	for extra := readBuf(f.Extra); len(extra) >= 4; { // need at least tag and size
    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)
  9. src/bufio/scan.go

    // be empty. The end-of-line marker is one optional carriage return followed
    // by one mandatory newline. In regular expression notation, it is `\r?\n`.
    // The last non-empty line of input will be returned even if it has no
    // newline.
    func ScanLines(data []byte, atEOF bool) (advance int, token []byte, err error) {
    	if atEOF && len(data) == 0 {
    		return 0, nil, nil
    	}
    	if i := bytes.IndexByte(data, '\n'); i >= 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  10. doc/go_mem.html

    <p>
    The exit of a goroutine is not guaranteed to be synchronized before
    any event in the program.
    For example, in this program:
    </p>
    
    <pre>
    var a string
    
    func hello() {
    	go func() { a = "hello" }()
    	print(a)
    }
    </pre>
    
    <p>
    the assignment to <code>a</code> is not followed by
    any synchronization event, so it is not guaranteed to be
    observed by any other goroutine.
    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