Warning : session_start(): open(/var/lib/php/sessions/sess_stvng5q0t56vvcf5q95n84r12u, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning : session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
GetNumberOfProcessors.java [216]
12 LINES
Java source code
//package tbextensions;
import drjava.util.MultiCoreUtil;
import org.luaj.vm2.Lua;
import org.luaj.vm2.LuaValue;
import org.luaj.vm2.lib.ZeroArgFunction;
public class GetNumberOfProcessors_x extends ZeroArgFunction {
public LuaValue call() {
return Lua.value(MultiCoreUtil.getNumberOfProcessors());
}
}
download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
ID
Author/Program
Comment
Date
22 stefan Removed package statement to clear up the class duplication. 2014-02-01 16:15:56
add comment
Image recognition results
Snippet ID:
#216
Snippet name:
GetNumberOfProcessors.java
Eternal ID of this version:
#216/1
Text MD5:
fa2bad6f3aef5135a2836436fd35d11b
Author:
stefan
Category:
java test
Type:
Java source code
Public (visible to everyone):
Yes
Archived (hidden from active list):
No
Created/modified:
2014-02-01 16:15:29
Source code size:
323 bytes / 12 lines
Pitched / IR pitched:
No / Yes
Views / Downloads:
1289 / 294
Referenced in:
[show references]