Spaces:
Sleeping
Sleeping
Download src/puter-wisp/devlog/unit_test_usefulness/test_a_b.diff from AZILS/puter-deploy: direct link, hf CLI and curl.
- Browser
- Download file 735 Bytes
-
https://huggingface.co/spaces/AZILS/puter-deploy/resolve/main/src/puter-wisp/devlog/unit_test_usefulness/test_a_b.diff
- Command line
-
hf download hf://spaces/AZILS/puter-deploy/src/puter-wisp/devlog/unit_test_usefulness/test_a_b.diff
-
curl -L -o test_a_b.diff https://huggingface.co/spaces/AZILS/puter-deploy/resolve/main/src/puter-wisp/devlog/unit_test_usefulness/test_a_b.diff
735 Bytes
| 31d30 | |
| < console.log('got from carry!', this.carry); | |
| 51c50 | |
| < if ( this.carry.length >= 0 && v === undefined ) { | |
| --- | |
| > if ( this.carry.length > 0 && v === undefined ) { | |
| 120a120,130 | |
| > if ( this.state.hold ) { | |
| > const old_val = value; | |
| > let size = this.state.hold.length + value.length; | |
| > value = new Uint8Array(size); | |
| > value.set(this.state.hold, 0); | |
| > value.set(old_val, this.state.hold.length); | |
| > } | |
| > if ( value.length < 4 ) { | |
| > this.state.hold = value; | |
| > return undefined; | |
| > } | |