Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
2 | 3 | 2 | 0.963 | ExpressionStatement |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 2 | 338 | Closure/closure/goog/net/xhrio.js |
2 | 2 | 146 | Closure/closure/goog/net/xhrmanager.js |
3 | 2 | 215 | Closure/closure/goog/testing/net/xhrio.js |
| ||||
/** * Sets the number of milliseconds after which an incomplete request will be * aborted and a {@link goog.net.EventType.TIMEOUT} event raised; 0 means no * timeout is set. * @param {number} ms Timeout interval in milliseconds; 0 means none. */ goog.net.XhrIo.prototype.setTimeoutInterval= function (ms){ this.timeoutInterval_= Math.max(0, ms); } ; |
| ||||
/** * Sets the number of milliseconds after which an incomplete request will be * aborted. Zero means no timeout is set. * @param {number} ms Timeout interval in milliseconds; 0 means none. */ goog.net.XhrManager.prototype.setTimeoutInterval= function (ms){ this.timeoutInterval_= Math.max(0, ms); } ; |
| ||||
/** * Sets the number of milliseconds after which an incomplete request will be * aborted and a {@link goog.net.EventType.TIMEOUT} event raised; 0 means no * timeout is set. * @param {number} ms Timeout interval in milliseconds; 0 means none. */ goog.testing.net.XhrIo.prototype.setTimeoutInterval= function (ms){ this.timeoutInterval_= Math.max(0, ms); } ; |
| |||
[[#variable214ab0e0]].net. [[#variable214ab080]].prototype.setTimeoutInterval= function (ms) { this.timeoutInterval_=Math.max(0,ms); } ; |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#214ab0e0]] | /** * Sets the number of milliseconds after which an incomplete request will be * aborted and a {@link goog.net.EventType.TIMEOUT} event raised; 0 means no * timeout is set. * @param {number} ms Timeout interval in milliseconds; 0 means none. */ goog.testing |
1 | 2 | [[#214ab0e0]] | /** * Sets the number of milliseconds after which an incomplete request will be * aborted. Zero means no timeout is set. * @param {number} ms Timeout interval in milliseconds; 0 means none. */ goog |
1 | 3 | [[#214ab0e0]] | /** * Sets the number of milliseconds after which an incomplete request will be * aborted and a {@link goog.net.EventType.TIMEOUT} event raised; 0 means no * timeout is set. * @param {number} ms Timeout interval in milliseconds; 0 means none. */ goog |
2 | 1 | [[#214ab080]] | XhrIo |
2 | 2 | [[#214ab080]] | XhrManager |
2 | 3 | [[#214ab080]] | XhrIo |