Buckets:
arudradey/ml-cpu-storage / emsdk /upstream /emscripten /system /lib /libcxx /src /random_shuffle.cpp
| //===----------------------------------------------------------------------===// | |
| // | |
| // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. | |
| // See https://llvm.org/LICENSE.txt for license information. | |
| // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
| // | |
| //===----------------------------------------------------------------------===// | |
| _LIBCPP_BEGIN_NAMESPACE_STD | |
| static constinit __libcpp_mutex_t __rs_mut = _LIBCPP_MUTEX_INITIALIZER; | |
| unsigned __rs_default::__c_ = 0; | |
| __rs_default::__rs_default() { | |
| __libcpp_mutex_lock(&__rs_mut); | |
| __c_ = 1; | |
| } | |
| __rs_default::__rs_default(const __rs_default&) { ++__c_; } | |
| __rs_default::~__rs_default() { | |
| if (--__c_ == 0) | |
| __libcpp_mutex_unlock(&__rs_mut); | |
| --__c_; | |
| } | |
| __rs_default::result_type __rs_default::operator()() { | |
| static mt19937 __rs_g; | |
| return __rs_g(); | |
| } | |
| __rs_default __rs_get() { return __rs_default(); } | |
| _LIBCPP_END_NAMESPACE_STD | |
Xet Storage Details
- Size:
- 1.22 kB
- Xet hash:
- 991b2a2891a5d56d5fefa4166a946595c92893b6fd90633b97b0bd5ad5622fa6
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.