Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for events (0.31 sec)

  1. 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)
  2. 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)
  3. doc/go1.17_spec.html

    <p>
    the function calls and communication happen in the order
    <code>f()</code>, <code>h()</code>, <code>i()</code>, <code>j()</code>,
    <code>&lt;-c</code>, <code>g()</code>, and <code>k()</code>.
    However, the order of those events compared to the evaluation
    and indexing of <code>x</code> and the evaluation
    of <code>y</code> is not specified.
    </p>
    
    <pre>
    a := 1
    f := func() int { a++; return 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)
  4. src/cmd/cgo/gcc.go

    	origX := *px
    	*px = ast.NewIdent(fmt.Sprintf("_cgoBase%d", i))
    	fmt.Fprintf(sb, "_cgo%d := %s; ", i, gofmtPos(arg, arg.Pos()))
    	*px = origX
    
    	// Use "0 == 0" to do the right thing in the unlikely event
    	// that "true" is shadowed.
    	fmt.Fprintf(sbCheck, "_cgoCheckPointer(_cgoBase%d, 0 == 0); ", i)
    
    	return true
    }
    
    // checkSlice checks whether arg has the form x[i:j], possibly inside
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  5. 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)
  6. doc/go_spec.html

    <code>f()</code>, <code>h()</code> (if <code>z</code>
    evaluates to false), <code>i()</code>, <code>j()</code>,
    <code>&lt;-c</code>, <code>g()</code>, and <code>k()</code>.
    However, the order of those events compared to the evaluation
    and indexing of <code>x</code> and the evaluation
    of <code>y</code> and <code>z</code> is not specified,
    except as required lexically. For instance, <code>g</code>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  7. api/except.txt

    pkg syscall (openbsd-amd64), type Dirent struct, Fileno uint32
    pkg syscall (openbsd-amd64), type FdSet struct, Bits [32]int32
    pkg syscall (openbsd-amd64), type Kevent_t struct, Data int32
    pkg syscall (openbsd-amd64), type Kevent_t struct, Ident uint32
    pkg syscall (openbsd-amd64), type Mclpool struct, Grown uint32
    pkg syscall (openbsd-amd64), type RtMetrics struct, Expire uint32
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 25 00:13:30 GMT 2023
    - 34.6K bytes
    - Viewed (0)
  8. src/bufio/bufio.go

    // being valid at the next read call. If Peek returns fewer than n bytes, it
    // also returns an error explaining why the read is short. The error is
    // [ErrBufferFull] if n is larger than b's buffer size.
    //
    // Calling Peek prevents a [Reader.UnreadByte] or [Reader.UnreadRune] call from succeeding
    // until the next read operation.
    func (b *Reader) Peek(n int) ([]byte, error) {
    	if n < 0 {
    		return nil, ErrNegativeCount
    	}
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
Back to top