Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for handlers (2.95 sec)

  1. src/cmd/vendor/github.com/google/pprof/internal/driver/html/common.js

        const elem = document.getElementById('node' + n);
        if (!elem) return false;
    
        // Handle table row highlighting.
        if (elem.nodeName == 'TR') {
          elem.classList.toggle('hilite', set);
          return true;
        }
    
        // Handle svg element highlighting.
        const p = findPolygon(elem);
        if (p != null) {
          if (set) {
            origFill.set(p, p.style.fill);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 20K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/third_party/svgpan/svgpan.js

    /// <====
    /// END OF CONFIGURATION 
    
    var root = document.documentElement;
    var state = 'none', svgRoot = null, stateTarget, stateOrigin, stateTf;
    
    setupHandlers(root);
    
    /**
     * Register handlers
     */
    function setupHandlers(root){
    	setAttributes(root, {
    		"onmouseup" : "handleMouseUp(evt)",
    		"onmousedown" : "handleMouseDown(evt)",
    		"onmousemove" : "handleMouseMove(evt)",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 16 15:19:53 UTC 2024
    - 7K bytes
    - Viewed (0)
  3. misc/wasm/wasm_exec_node.js

    go.exit = process.exit;
    WebAssembly.instantiate(fs.readFileSync(process.argv[2]), go.importObject).then((result) => {
    	process.on("exit", (code) => { // Node.js exits if no event handler is pending
    		if (code === 0 && !go.exited) {
    			// deadlock, make Go print error and stack traces
    			go._pendingEvent = { id: 0 };
    			go._resume();
    		}
    	});
    	return go.run(result.instance);
    }).catch((err) => {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:49:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  4. misc/wasm/wasm_exec.js

    					add: (a, b) => a + b,
    				},
    				gojs: {
    					// Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)
    					// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported
    					// function. A goroutine can switch to a new stack if the current stack is too small (see morestack function).
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 22 17:47:47 UTC 2023
    - 16.3K bytes
    - Viewed (0)
Back to top