Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for cue (0.04 sec)

  1. src/net/http/serve_test.go

    		}
    		c.script = c.script[1:]
    		time.Sleep(cue)
    		goto restart
    
    	case string:
    		n = copy(b, cue)
    		// If cue is too big for the buffer, leave the end for the next Read.
    		if len(cue) > n {
    			c.script[0] = cue[n:]
    		} else {
    			c.script = c.script[1:]
    		}
    
    	default:
    		panic("unknown cue in slowTestConn script")
    	}
    
    	return
    }
    
    func (c *slowTestConn) Close() error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  2. src/runtime/proc.go

    	}
    	mp.isExtraInSig = false
    
    	// Block signals before unminit.
    	// Unminit unregisters the signal handling stack (but needs g on some systems).
    	// Setg(nil) clears g, which is the signal handler's cue not to run Go handlers.
    	// It's important not to try to handle a signal between those two steps.
    	sigmask := mp.sigmask
    	sigblock(false)
    	unminit()
    
    	setg(nil)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
Back to top