Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/java-native-access/jna
/ isIntel
Method
isIntel
src/com/sun/jna/Platform.java:213–218 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
211
}
212
213
public
static
final
boolean isIntel() {
214
if
(ARCH.startsWith(
"x86"
)) {
215
return
true;
216
}
217
return
false;
218
}
219
220
public
static
final
boolean isPPC() {
221
if
(ARCH.startsWith(
"ppc"
)) {
Callers
6
testCreateRemoteThread
Method · 0.95
testLoadAndUnloadFromJar
Method · 0.95
testLoadAndUnloadFromResourcePath
Method · 0.95
FFIType
Method · 0.95
getMultiArchPath
Method · 0.95
Native
Class · 0.95
Calls
no outgoing calls
Tested by
3
testCreateRemoteThread
Method · 0.76
testLoadAndUnloadFromJar
Method · 0.76
testLoadAndUnloadFromResourcePath
Method · 0.76