Download upstream/emscripten/test/wasm_worker/shared_memory.c from arudradey/flst: direct link, hf CLI and curl.
- Browser
- Download file 185 Bytes
-
https://huggingface.co/arudradey/flst/resolve/main/upstream/emscripten/test/wasm_worker/shared_memory.c
- Command line
-
hf download hf://arudradey/flst/upstream/emscripten/test/wasm_worker/shared_memory.c
-
curl -L -o shared_memory.c https://huggingface.co/arudradey/flst/resolve/main/upstream/emscripten/test/wasm_worker/shared_memory.c
185 Bytes
| int main() { | |
| int is_shared = EM_ASM_INT(return wasmMemory.buffer instanceof SharedArrayBuffer); | |
| printf("%d\n", is_shared); | |
| return 0; | |
| } | |