Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for cue (0.02 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)
Back to top