MCPcopy Create free account
hub / github.com/facebook/SoLoader / isInitialized

Method isInitialized

java/com/facebook/soloader/SoLoader.java:1277–1287  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1275 }
1276
1277 public static boolean isInitialized() {
1278 if (sSoSources != null) {
1279 return true;
1280 }
1281 sSoSourcesLock.readLock().lock();
1282 try {
1283 return sSoSources != null;
1284 } finally {
1285 sSoSourcesLock.readLock().unlock();
1286 }
1287 }
1288
1289 public static int getSoSourcesVersion() {
1290 return sSoSourcesVersion.get();

Callers 2

initMethod · 0.95
assertInitializedMethod · 0.95

Calls 1

lockMethod · 0.80

Tested by

no test coverage detected