Lines Matching refs:module
9 var module = (function () { function
36 assertFalse(module === undefined);
37 assertFalse(module === null);
38 assertFalse(module === 0);
39 assertEquals("object", typeof module);
42 var mem = module.memory;
49 module.memory = 0; // should be ignored
50 assertEquals(mem, module.memory);
53 assertEquals(4096, module.memory.byteLength);
56 assertEquals("function", typeof module.sub);
58 assertEquals(-55, module.sub(33, 88));
59 assertEquals(-55555, module.sub(33333, 88888));
60 assertEquals(-5555555, module.sub(3333333, 8888888));
63 var module = (function() {
87 assertFalse(module === undefined);
88 assertFalse(module === null);
89 assertFalse(module === 0);
90 assertEquals("object", typeof module);
93 var mem = module.memory;
100 module.memory = 0; // should be ignored
101 assertEquals(mem, module.memory);
104 assertEquals(4096, module.memory.byteLength);
107 assertFalse(module.nop === undefined);
108 assertFalse(module.nop === null);
109 assertFalse(module.nop === 0);
110 assertEquals("function", typeof module.nop);
112 assertEquals(undefined, module.nop());
139 var module = _WASMEXP_.instantiateModule(data);
141 assertEquals("function", typeof module.flt);
142 assertEquals(1, module.flt(-2, -1));
143 assertEquals(0, module.flt(7.3, 7.1));
144 assertEquals(1, module.flt(7.1, 7.3));