MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlGetLocalRngState

Function xmlGetLocalRngState

ThirdParty/libxml2/vtklibxml2/globals.c:905–911  ·  view source on GitHub ↗

* xmlGetLocalRngState: * * Returns the local RNG state. */

Source from the content-addressed store, hash-verified

903 * Returns the local RNG state.
904 */
905unsigned *
906xmlGetLocalRngState(void) {
907 if (IS_MAIN_THREAD)
908 return(xmlMainThreadRngState);
909 else
910 return(xmlGetThreadLocalStorage(0)->localRngState);
911}
912#endif
913
914/* For backward compatibility */

Callers 1

xmlRandomFunction · 0.85

Calls 1

xmlGetThreadLocalStorageFunction · 0.85

Tested by

no test coverage detected