id
stringlengths
11
23
source
stringclasses
3 values
chunk_index
int64
0
107k
content
stringlengths
667
1.32M
text_chunk_77274
text.txt
77,274
structures and access macros */ typedef struct _XkbStateRec { unsigned char group; unsigned char locked_group; unsigned short base_group; unsigned short latched_group; unsigned char mods; unsigned char base_mods; unsigned char latched_mods; unsigned char locked_mods; unsigned char compat_state; unsigned char grab_mods;...
Cpp_chunk_10586
Cpp.txt
10,586
0; virtual bool obs_frontend_preview_program_mode_active(void) = 0; virtual void obs_frontend_set_preview_program_mode(bool enable) = 0; virtual void obs_frontend_preview_program_trigger_transition(void) = 0; virtual bool obs_frontend_preview_enabled(void) = 0; virtual void obs_frontend_set_preview_enabled(bool enable)...
text_chunk_12452
text.txt
12,452
) ) ); } #else // wrapper function for command vkDeferredOperationJoinKHR, see https://registry.khronos.org/vulkan/specs/latest/man/html/vkDeferredOperationJoinKHR.html template <typename Dispatch, typename std::enable_if<detail::isDispatchLoader<Dispatch>::value, bool>::type> VULKAN_HPP_NODISCARD VULKAN_HPP_INLINE Res...
C_data_chunk_40220
C_data.txt
40,220
indices.size(); ++j) { indices_to_id_[indices(j)] = j; } } // Check if a feature index exists. bool IndexValid(const int64_t index) const { return indices_to_id_.find(index) != indices_to_id_.end(); } // Nominal value at a particular feature index and class label. float nominals(const int class_id, const int64_t index)...
text_chunk_106357
text.txt
106,357
Limited Alixx Skevington alixx.skevington&tgw-group.com 39474 Kaleva Oy Juho Rankinen juho.rankinen&kaleva.fi 39475 TUIR WARTA S.A. Paweł Jankowski pawel.jankowski&warta.pl 39476 Antinea Software Sébastien Delmée contact&antineasoftware.eu 39477 American Bureau of Shipping (ABS) Cory Leonardi cleonardi&eagle.org 39478 ...
C_data_chunk_59532
C_data.txt
59,532
* If the specified language tag contains any ill-formed subtags, * the first such subtag and all following subtags are ignored. * <p> * This implements the 'Language-Tag' production of BCP 47, and so * supports legacy language tags (marked as “Type: grandfathered” in BCP 47) * (regular and irregular) as well as private...
C_data_chunk_40330
C_data.txt
40,330
{ builder.Attr(config.input_attribute, DataTypeToEnum<T>::v()); } if (config.add_tout) { builder.Attr(config.output_attribute, DataTypeToEnum<OutT>::v()); } TF_ASSERT_OK(builder.Finalize(node_def())); TF_ASSERT_OK(InitOp()); AddInputFromArray<T>(shape, input); } template <typename T, typename OutT> void RunAndExpectRes...
C_data_chunk_75861
C_data.txt
75,861
ma_handle ma_semaphore; #endif #else /* MA_NO_THREADING is set which means threading is disabled. Threading is required by some API families. If any of these are enabled we need to throw an error. */ #ifndef MA_NO_DEVICE_IO #error "MA_NO_THREADING cannot be used without MA_NO_DEVICE_IO"; #endif #endif /* MA_NO_THREADIN...
text_chunk_97601
text.txt
97,601
/* * EXIF-GPS tags (Version 2.31, July 2016) */ #define GPSTAG_VERSIONID 0 /* Indicates the version of GPSInfoIFD. */ #define GPSTAG_LATITUDEREF 1 /* Indicates whether the latitude is north or south latitude. */ #define GPSTAG_LATITUDE 2 /* Indicates the latitude. */ #define GPSTAG_LONGITUDEREF 3 /* Indicates whether t...
C_data_chunk_12181
C_data.txt
12,181
are incompatible with cluster mode */ long long stat_total_prefetch_entries; /* Total number of prefetched dict entries */ long long stat_total_prefetch_batches; /* Total number of prefetched batches */ redisAtomic long long stat_avg_pipeline_length_sum; /* Sum of pipeline lengths for computing average */ redisAtomic l...
C_data_chunk_29819
C_data.txt
29,819
0x2A, 0x90, 0x00, 0x27, 0xFE, 0xDF, 0x90, 0x29, 0x0A, 0x72, 0x00, 0x29, 0xDE, 0xC1, 0x90, 0x2A, 0xEA, 0x54, 0x00, 0x2B, 0xBE, 0xA3, 0x90, 0x2C, 0xD3, 0x70, 0x80, 0x2D, 0x9E, 0x85, 0x90, 0x2E, 0xB3, 0x52, 0x80, 0x2F, 0x7E, 0x67, 0x90, 0x30, 0x93, 0x34, 0x80, 0x31, 0x67, 0x84, 0x10, 0x32, 0x73, 0x16, 0x80, 0x33, 0x47, 0x...
C_data_chunk_78315
C_data.txt
78,315
pointer to the remaining input. * @param len The remaining length, modulo 32. * @param align Whether @p ptr is aligned. * @return The finalized hash * @see XXH32_finalize(). */ static XXH_PUREF xxh_u64 XXH64_finalize(xxh_u64 hash, const xxh_u8* ptr, size_t len, XXH_alignment align) { if (ptr==NULL) XXH_ASSERT(len == 0)...
C_data_chunk_2978
C_data.txt
2,978
using TransactionSignatureChecker = GenericTransactionSignatureChecker<CTransaction>; using MutableTransactionSignatureChecker = GenericTransactionSignatureChecker<CMutableTransaction>; class DeferringSignatureChecker : public BaseSignatureChecker { protected: const BaseSignatureChecker& m_checker; public: DeferringSig...
text_chunk_103610
text.txt
103,610
FTS table. The tokenizer is being invoked to ** determine the set of tokens to add to (or delete from) the ** FTS index. ** ** <li> <b>FTS5_TOKENIZE_QUERY</b> - A MATCH query is being executed ** against the FTS index. The tokenizer is being called to tokenize ** a bareword or quoted string specified as part of the que...
C_data_chunk_66561
C_data.txt
66,561
above copyright notice and this permission notice shall be */ /* included in all copies or substantial portions of the Software. */ /* */ /* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ /* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ /* MERCHANTABILITY, FITNESS FOR A PARTI...
C_data_chunk_34131
C_data.txt
34,131
defined in `rust_alloc_for_cpp_api.rs`. extern "C" void* proto2_rust_alloc(size_t size, size_t align); #endif // GOOGLE_PROTOBUF_RUST_CPP_KERNEL_RUST_ALLOC_FOR_CPP_API_H__ // Protocol Buffers - Google's data interchange format // Copyright 2024 Google LLC. All rights reserved. // // Use of this source code is governed ...
C_data_chunk_41267
C_data.txt
41,267
GpuAtomicMin template <typename T, typename U> __device__ detail::ToTypeIfConvertible<U, T> GpuAtomicMin(T* ptr, U value) { return atomicMin(detail::ToCudaSupportedPtr(detail::AddressSpaceHint<1>(ptr)), value); } #if TENSORFLOW_USE_ROCM /* * CUDA runtime headers have the following defined * __device__ int min(int, int)...
Cpp_chunk_3195
Cpp.txt
3,195
r.scalar = number_node(x, std::integral_constant<int, first_true<std::is_floating_point<T>::value, std::is_signed<T>::value>::value> {}); return r; } template<typename T> encoded encode_impl(const T& s, encode_tag<5> /*string*/) { const string_view_t sv(s); check_utf8(sv.data(), sv.size()); encoded r; r.scalar = string...
text_chunk_47350
text.txt
47,350
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED * OF THE POSSIBILITY OF SUCH DAMAGE. */ #ifndef URI_IP4_BASE_H # define URI_IP4_BASE_H 1 typedef struct UriIp4ParserStruct { unsigned char stackCount; unsigned char stackOne; unsigned char stackTwo; unsigned char stackThree; } UriIp4Parser; void uriPus...
text_chunk_85096
text.txt
85,096
the new clone * @deprecated ICU 69 Use ubrk_clone() instead. */ U_DEPRECATED UBreakIterator * U_EXPORT2 ubrk_safeClone( const UBreakIterator *bi, void *stackBuffer, int32_t *pBufferSize, UErrorCode *status); #endif /* U_HIDE_DEPRECATED_API */ /** * Thread safe cloning operation. * @param bi iterator to be cloned * @par...
text_chunk_23014
text.txt
23,014
4f55a6c4ac54c6cfbd94535c6a91d420882532687b09d178977ccf13add81422 # Bit flipped Input FIPSversion = >=3.5.0 Kem = ML-KEM-768 EncodedPrivateKey = 52e172d7a2ac8195b0fb0401f4b351ca3bbf277b6f8bc051f191b94b1cb25d0a807f81051172a2eca18295b0145464413680b1493185662c26ecb77bee37a32617003f2b551a6c601e702626f04a166b637558709abc3932...
text_chunk_38845
text.txt
38,845
constexpr ShadowNodeTraits BaseTraits() { auto traits = BaseShadowNode::BaseTraits(); traits.set(ShadowNodeTraits::Trait::LeafYogaNode); traits.set(ShadowNodeTraits::Trait::MeasurableYogaNode); traits.set(ShadowNodeTraits::Trait::BaselineYogaNode); return traits; } /* * Associates a shared `TextLayoutManager` with the ...
C_data_chunk_19917
C_data.txt
19,917
not when restoring it, otherwise the size may be too small. LLAMA_API size_t llama_state_get_size(struct llama_context * ctx); LLAMA_API DEPRECATED(size_t llama_get_state_size(struct llama_context * ctx), "use llama_state_get_size instead"); // Copies the state to the specified destination address. // Destination needs...
Cpp_chunk_10227
Cpp.txt
10,227
PlatformUtilsGetEnvSet(const char* name) { return detail::ImplGetEnv(name) != nullptr; } #elif defined(XR_OS_APPLE) static inline std::string PlatformUtilsGetEnv(const char* name) { auto str = detail::ImplGetEnv(name); if (str == nullptr) { return {}; } return str; } static inline std::string PlatformUtilsGetSecureEnv(...
C_data_chunk_77500
C_data.txt
77,500
HVX_Vector * restrict v_act1 = (const HVX_Vector *) (y1_q + act_tile * HTP_MM_ACT_TILE_SIZE_Q8_0); HVX_VectorPair v_sums = accum_q1_0_32x2(vptr[quarter], v_act0, v_act1, v_neg_one, v_pos_one); HVX_Vector v_sum_sf_c0 = Q6_Vsf_equals_Vw(Q6_V_lo_W(v_sums)); HVX_Vector v_sum_sf_c1 = Q6_Vsf_equals_Vw(Q6_V_hi_W(v_sums)); HVX...
text_chunk_18954
text.txt
18,954
0 }, { 1, 194, 38, 155, 12 }, { 0, 101, 217, 68, 7 }, { 61, 150, 68, 56, 0 }, }, { { 225, 64, 224, 141, 6 }, { 40, 180, 96, 198, 6 }, { 107, 16, 112, 40, 7 }, { 102, 48, 98, 209, 4 }, }, { { 225, 154, 144, 165, 2 }, { 72, 144, 58, 214, 10 }, { 74, 80, 149, 152, 7 }, { 86, 181, 192, 145, 2 }, }, { { 231, 242, 192, 250, ...
C_data_chunk_31634
C_data.txt
31,634
eurealloc # define eurealloc(ptr, size) (UChar*)erealloc((ptr), size * sizeof(UChar)) #endif #define USIZE(data) sizeof((data))/sizeof(UChar) #define UCHARS(len) ((len) / sizeof(UChar)) #define INTL_ZSTR_VAL(str) (UChar*) ZSTR_VAL(str) #define INTL_ZSTR_LEN(str) UCHARS(ZSTR_LEN(str)) BEGIN_EXTERN_C() extern zend_class_...
C_data_chunk_55369
C_data.txt
55,369
dist2 += d * d; if (dist2 > early_out) break; } return dist2; } inline T distance(const vec& rhs) const { T dist2 = 0; for (uint32_t i = 0; i < N; i++) { T d = m_s[i] - rhs.m_s[i]; dist2 += d * d; } return sqrt(dist2); } inline vec inverse() const { vec result; for (uint32_t i = 0; i < N; i++) result[i] = m_s[i] ? (1.0...
C_data_chunk_20707
C_data.txt
20,707
*php_stream_transport_factory; BEGIN_EXTERN_C() PHPAPI void php_stream_xport_register(const char *protocol, php_stream_transport_factory factory); PHPAPI zend_result php_stream_xport_unregister(const char *protocol); #define STREAM_XPORT_CLIENT 0 #define STREAM_XPORT_SERVER 1 #define STREAM_XPORT_CONNECT 2 #define STRE...
C_data_chunk_10712
C_data.txt
10,712
int av_opt_get_dict_val(void *obj, const char *name, int search_flags, AVDictionary **out_val); /** * For an array-type option, get the number of elements in the array. */ int av_opt_get_array_size(void *obj, const char *name, int search_flags, unsigned int *out_val); /** * For an array-type option, retrieve the values...
text_chunk_31099
text.txt
31,099
access) { switch(access) { case FileMapAccess::Read: return FILE_MAP_READ; case FileMapAccess::Write: return FILE_MAP_READ | FILE_MAP_WRITE; case FileMapAccess::All: default: return FILE_MAP_ALL_ACCESS; } } inline bool MapExistingFileHandle(HANDLE hFile, FileMapAccess access, uint64_t & size, HANDLE & hMap, ULONG_PTR &...
C_data_chunk_8157
C_data.txt
8,157
0xFF, 0xDE, 0xDD, 0xCC, 0xCC, 0xCC, 0xDE, 0xEF, 0xFF, 0xFF, 0xDF, 0xFF, 0xFF, 0xEE, 0xED, 0xEE, 0xEF, 0xFF, 0xFF, 0xFF, 0xFE, 0xFF, 0xFF, 0xFF, 0xFF, 0xFF, 0xFE, 0xEF, 0xFF, 0xFF, 0xFF, 0x9D, 0xDD, 0xDD, 0xEE, 0xDD, 0xDF, 0xFF, 0xFF, 0xFF, 0xFF, 0xE0, 0x00, 0x00, 0x00, }, { 0xBD, 0xCC, 0xCB, 0xBB, 0xBB, 0xBB, 0xBB, 0xB...
text_chunk_17384
text.txt
17,384
b, c) _mm256_add_ps(c, _mm256_mul_ps(a, b)) #endif void convBlock_F32(int np, const float* a, const float* b, float* c, int ldc, bool init_c, int width, const int convMR, const int convNR) { CV_Assert(convMR == 4 && convNR == 24); __m256 c00 = _mm256_set1_ps(0.f), c01 = c00, c02 = c00; __m256 c10 = c00, c11 = c00, c12 ...
C_data_chunk_32415
C_data.txt
32,415
hash function for strings is Austin * Appleby's "MurmurHash." * * The inttable uses uintptr_t as its key, which guarantees it can be used to * store pointers or integers of at least 32 bits (upb isn't really useful on * systems where sizeof(void*) < 4). * * The table must be homogeneous (all values of the same type). I...
text_chunk_105522
text.txt
105,522
Designs Ltd. Paul Strawbridge paul&patapsco.demon.co.uk 3186 TouchNet Information Systems, Inc. Mark Stockmyer mstockmyer&touchnet.com 3187 FUZZY! Informatik GmbH Joerg Meyer joerg.meyer&fuzzy-online.de 3188 Sunny Comm. Inc. Shufen Zhang sfzhang99&hotmail.com 3189 DSD Computing Darrell Dortch darrell&dsdcomputing.com 3...
text_chunk_26810
text.txt
26,810
0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x94000001, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x94000001, 0x000000...
text_chunk_53028
text.txt
53,028
0x40, 0x6F, 0xC0, 0x80, 0x00, 0x00, 0x00, 0x00, 0x41, 0x84, 0x8D, 0x70, 0x00, 0x00, 0x00, 0x00, 0x42, 0x4F, 0xA2, 0x80, 0x00, 0x00, 0x00, 0x00, 0x43, 0x64, 0x6F, 0x70, 0x00, 0x00, 0x00, 0x00, 0x44, 0x2F, 0x84, 0x80, 0x00, 0x00, 0x00, 0x00, 0x45, 0x44, 0x51, 0x70, 0x00, 0x00, 0x00, 0x00, 0x45, 0xF3, 0xB7, 0x00, 0x02, 0x...
C_data_chunk_510
C_data.txt
510
is not null (pass1): // pair-up tab vectors with existing ColPartitions and accumulate widths. // else (pass2): // find the largest real partition width for each recorded column width, // to be used as the minimum acceptable width. void ApplyPartitionsToColumnWidths(ColPartitionGrid *part_grid, STATS *col_widths); // H...
C_data_chunk_64812
C_data.txt
64,812
OF */ /* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. */ /* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ /* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ /* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ /* SOFTWARE OR ...
text_chunk_12618
text.txt
12,618
( max_bytes_per_pic_denom == rhs.max_bytes_per_pic_denom ) && ( max_bits_per_min_cu_denom == rhs.max_bits_per_min_cu_denom ) && ( log2_max_mv_length_horizontal == rhs.log2_max_mv_length_horizontal ) && ( log2_max_mv_length_vertical == rhs.log2_max_mv_length_vertical ) && ( pHrdParameters == rhs.pHrdParameters ); } bool...
text_chunk_85556
text.txt
85,556
copy of the array if * the buffer is read-only, or * the buffer is refCounted (shared), and refCount>1, or * the buffer is too small. * * Return false if memory could not be allocated. */ UBool cloneArrayIfNeeded(int32_t newCapacity = -1, int32_t growCapacity = -1, UBool doCopyArray = true, int32_t** pBufferToDelete = ...
text_chunk_32304
text.txt
32,304
6209, 4775, -1234, 1956, -4607, 3006, -370, -670, -12448, -5802, 8151, 140, 1485, -6340, 2139, 1231, 22, -212, 2090, -676, 2366, -701, -4113, 365, 2970, -577, 918, 7324, -709, 2035, 5162, 7232, -13287, -3259, -908, -1900, -4255, -2590, 318, 4891, 696, -40, -1647, 1572, -1221, 4896, 5241, 49, -2083, -5068, 7645, 8978, 1...
C_data_chunk_4932
C_data.txt
4,932
m_mouseButtonRight; /* Mouse right button */ uSynergyBool m_mouseButtonMiddle; /* Mouse middle button */ int8_t m_joystickSticks[USYNERGY_NUM_JOYSTICKS][4]; /* Joystick stick position in 2 axes for 2 sticks */ uint16_t m_joystickButtons[USYNERGY_NUM_JOYSTICKS]; /* Joystick button state */ } uSynergyContext; //---------...
C_data_chunk_41146
C_data.txt
41,146
TensorShape& lhs_shape, const TensorShape& rhs_shape); absl::Status ValidateOrFillPaddingList(const TensorShape& lhs_shape, const TensorShape& rhs_shape); // Params from Attrs. std::vector<int> window_strides_; std::vector<int> lhs_dilation_; std::vector<int> rhs_dilation_; UniformQuantizedConvolutionDimensionNumbersAt...
text_chunk_94758
text.txt
94,758
8.13.0, * released in April 2025. */ #if LIBCURL_VERSION_NUM >= 0x080D00 #define GIT_CURL_HAVE_CURLOPT_UPLOAD_FLAGS #endif #endif #ifndef CONNECTED_H #define CONNECTED_H struct object_id; struct repository; struct transport; /* * Take callback data, and return next object name in the buffer. * When called after returni...
text_chunk_99941
text.txt
99,941
enum_value = BuiltinOptions_ZerosLikeOptions; }; template<> struct BuiltinOptionsTraits<opencv_tflite::FillOptions> { static const BuiltinOptions enum_value = BuiltinOptions_FillOptions; }; template<> struct BuiltinOptionsTraits<opencv_tflite::BidirectionalSequenceLSTMOptions> { static const BuiltinOptions enum_value =...
text_chunk_20781
text.txt
20,781
step, int width, int height, void* scalars ); CV_EXPORTS void addWeighted16s( const short* src1, size_t step1, const short* src2, size_t step2, short* dst, size_t step, int width, int height, void* scalars ); CV_EXPORTS void addWeighted32s( const int* src1, size_t step1, const int* src2, size_t step2, int* dst, size_t ...
text_chunk_21085
text.txt
21,085
v_pack_triplets(const v_uint16x16& vec) { return v_reinterpret_as_u16(v_pack_triplets(v_reinterpret_as_s16(vec))); } inline v_int32x8 v_pack_triplets(const v_int32x8& vec) { return v_int32x8(__lasx_xvperm_w(vec.val, _v256_set_d(0x0000000700000007, 0x0000000600000005, 0x0000000400000002, 0x0000000100000000))); } inline ...
text_chunk_64496
text.txt
64,496
typename OUT_T, int num_threads, typename Op> __global__ __launch_bounds__(1024) void BlockReduceKernel( T in, OUT_T out, int num_elems, Op op, typename std::iterator_traits<T>::value_type initVal) { const int bid = blockIdx.x; const int tid = threadIdx.x; const int gid = bid * blockDim.x + tid; const int stride = bloc...
Cpp_chunk_11309
Cpp.txt
11,309
auto scores_wrapper = inputs[1].dynamicCast<wrapper_type>(); auto scores = scores_wrapper->getView(); scores.unsqueeze(); scores.reshape(-1, num_priors, num_classes); // priors: [1, 2, num_priors, 4] auto priors_wrapper = inputs[2].dynamicCast<wrapper_type>(); auto priors = priors_wrapper->getView(); // output: [1, 1, ...
text_chunk_100154
text.txt
100,154
on your platform, please notify // googletestframework@googlegroups.com (patches for fixing them are // even more welcome!). // // It is possible that none of the GTEST_OS_* macros are defined. // Feature-indicating macros // ------------------------- // // Macros indicating which Google Test features are available (a ...
text_chunk_91446
text.txt
91,446
{ public: struct PathQuerySlot { LocalVector<Nav3D::NavigationPoly> path_corridor; Heap<Nav3D::NavigationPoly *, Nav3D::NavPolyTravelCostGreaterThan, Nav3D::NavPolyHeapIndexer> traversable_polys; bool in_use = false; uint32_t slot_index = 0; AHashMap<const Nav3D::Polygon *, uint32_t> poly_to_id; }; struct NavMeshPathQu...
text_chunk_67888
text.txt
67,888
#include "xla/xla_data.pb.h" namespace xla { // Creates a scalar less-than computation and returns it. The created // computation has 2 * 'operand_types.size()' many parameters, where parameters // 2 * i and 2 * i + 1 are a scalar with primitive type 'operand_types[i]'. The // computation compares the first two paramet...
Cpp_chunk_10126
Cpp.txt
10,126
default: VULKAN_HPP_ASSERT( false ); return 0; } case Format::eR16Sint: switch ( component ) { case 0 : return 16; default: VULKAN_HPP_ASSERT( false ); return 0; } case Format::eR16Sfloat: switch ( component ) { case 0 : return 16; default: VULKAN_HPP_ASSERT( false ); return 0; } case Format::eR16G16Unorm: switch ( com...
C_data_chunk_21674
C_data.txt
21,674
Z_LVAL_P(op1)); ZEND_VM_SMART_BRANCH(result, 0); } SAVE_OPLINE(); if ((IS_CONST & (IS_VAR|IS_CV)) && Z_TYPE_P(op1) == IS_REFERENCE) { op1 = Z_REFVAL_P(op1); if (EXPECTED(Z_TYPE_P(op1) == IS_STRING)) { result = zend_hash_find(ht, Z_STR_P(op1)); ZEND_VM_SMART_BRANCH(result, 0); } else if (EXPECTED(Z_TYPE_P(op1) == IS_LON...
text_chunk_53513
text.txt
53,513
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x54, 0x5A, 0x69, 0x66, 0x32, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x...
text_chunk_8351
text.txt
8,351
std::uint64_t E = bits >> (kPrecision - 1); const std::uint64_t F = bits & (kHiddenBit - 1); const bool is_denormal = E == 0; const diyfp v = is_denormal ? diyfp(F, kMinExp) : diyfp(F + kHiddenBit, static_cast<int>(E) - kBias); // Compute the boundaries m- and m+ of the floating-point value // v = f * 2^e. // // Determ...
text_chunk_38418
text.txt
38,418
{ count++; } return count; } } const Config* getConfig() const { return config_; } bool isDirty() const { return isDirty_; } Style::SizeLength getProcessedDimension(Dimension dimension) const { return processedDimensions_[static_cast<size_t>(dimension)]; } FloatOptional getResolvedDimension( Direction direction, Dimens...
C_data_chunk_58811
C_data.txt
58,811
the FreeType Project License, * LICENSE.TXT. Additionally, subject to the terms and conditions of the * FreeType Project License, each contributor to the Work hereby grants * to any individual or legal entity exercising permissions granted by * the FreeType Project License and this section (hereafter, "You" or * "Your"...
C_data_chunk_35311
C_data.txt
35,311
shape at given dims. bool HasStaticShapeAtDims(Value value, ArrayRef<int> dims); // Whether `value` has known rank of `rank`. Returns false when it is not a // `ShapedType` or its rank is unknown. inline bool HasRankOf(Value value, const int64_t rank) { auto shaped_type = mlir::dyn_cast_or_null<ShapedType>(value.getTyp...
text_chunk_88988
text.txt
88,988
8, 8, 8, 8, 8, 7, 7, 7, 7, 7, 7, }; static const static_codebook _44c8_s_p7_1 = { 2, 121, (char *)_vq_lengthlist__44c8_s_p7_1, 1, -531365888, 1611661312, 4, 0, (long *)_vq_quantlist__44c8_s_p7_1, 0 }; static const long _vq_quantlist__44c8_s_p8_0[] = { 7, 6, 8, 5, 9, 4, 10, 3, 11, 2, 12, 1, 13, 0, 14, }; static const ch...
text_chunk_53440
text.txt
53,440
0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xED, 0xCF, 0x7F, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xEE, 0x97, 0xF2, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0xEF, 0xB0, 0xB3, 0x70, 0xFF, 0xFF, 0xFF, 0xFF, 0xF0, 0x79, 0x25, 0x80, 0xFF, 0xFF, 0xFF, 0xFF, 0xF1, 0x91, 0xE6, 0xF0, 0xFF, 0xFF, 0xFF, 0xFF, 0xF2, 0x5A, 0x59, 0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x...
text_chunk_40220
text.txt
40,220
from original items in srvinit.cpp, getset.cpp, directio.cpp, stream.cpp --*/ #pragma once #include "WaitTerminationReason.h" enum class ReplyDataType { Write = 1, Read = 2, }; class IWaitRoutine { public: IWaitRoutine(ReplyDataType type) noexcept : _ReplyType(type) { } virtual ~IWaitRoutine() = default; IWaitRoutine(c...
C_data_chunk_32989
C_data.txt
32,989
// filename.pb.meta and insert info at the appropriate place with the // necessary shifts. The default implementation ignores `info`. // // WARNING: This feature will be REMOVED in the near future. virtual io::ZeroCopyOutputStream* OpenForInsertWithGeneratedCodeInfo( const std::string& filename, const std::string& inse...
text_chunk_48771
text.txt
48,771
1, /* 1511 (5393) */ 1, /* 1512 (5394) */ 1, /* 1513 (5395) */ 1, /* 1514 (5396) */ 1, /* 1515 (5397) */ 1, /* 1516 (5398) */ 1, /* 1517 (5399) */ 1, /* 1518 (5400) */ 1, /* 1519 (5401) */ 1, /* 151A (5402) */ 1, /* 151B (5403) */ 1, /* 151C (5404) */ 1, /* 151D (5405) */ 1, /* 151E (5406) */ 1, /* 151F (5407) */ 1, /*...
C_data_chunk_34237
C_data.txt
34,237
google_protobuf_ServiceDescriptorProto_options(const google_protobuf_ServiceDescriptorProto* msg) { const google_protobuf_ServiceOptions* default_val = NULL; const google_protobuf_ServiceOptions* ret; const upb_MiniTableField field = {3, UPB_SIZE(16, 40), 65, UPB_SIZE(4, 6), 11, (int)kUpb_FieldMode_Scalar | ((int)UPB_S...
C_data_chunk_42857
C_data.txt
42,857
bool UpdateRecvDoneValueSet(HloInstruction* recv_done); bool UpdateSendValueSet(HloInstruction* send); bool UpdateTupleValueSet(HloInstruction* tuple); bool UpdateWhileValueSet(HloInstruction* xla_while); bool UpdateAddDependencyValueSet(HloInstruction* add_dependency); bool UpdateAllGatherStartValueSet(HloInstruction*...
C_data_chunk_53950
C_data.txt
53,950
x) + c0) #define POLY5(x, c0, c1, c2, c3, c4, c5) ((POLY4(x, c1, c2, c3, c4, c5) * x) + c0) /** * @brief Compute an approximate exp2(x) for each lane in the vector. * * Based on 5th degree minimax polynomials, ported from this blog * https://jrfonseca.blogspot.com/2008/09/fast-sse2-pow-tables-or-polynomials.html */ sta...
Cpp_chunk_8024
Cpp.txt
8,024
getVideoCapabilitiesKHR( const VideoProfileInfoKHR & videoProfile, Dispatch const & d VULKAN_HPP_DEFAULT_DISPATCHER_ASSIGNMENT ) const; // wrapper function for command vkGetPhysicalDeviceVideoCapabilitiesKHR, see // https://registry.khronos.org/vulkan/specs/latest/man/html/vkGetPhysicalDeviceVideoCapabilitiesKHR.html t...
C_data_chunk_32335
C_data.txt
32,335
testee, waits up to `grace_period` for it to exit, // kills it if it hasn't, and reaps it. Anything it spawned is killed with // it (its process group on POSIX, its job object on Windows). A no-op if // there is no testee. ShutdownResult Shutdown(absl::Duration grace_period); // Shuts the testee down after a failed exc...
C_data_chunk_47529
C_data.txt
47,529
#define stbds_pshput(t, p) \ ((t) = stbds_hmput_key_wrapper((t), sizeof *(t), (void*) (p)->key, sizeof (p)->key, STBDS_HM_PTR_TO_STRING), \ (t)[stbds_temp((t)-1)] = (p)) #define stbds_shgeti(t,k) \ ((t) = stbds_hmget_key_wrapper((t), sizeof *(t), (void*) (k), sizeof (t)->key, STBDS_HM_STRING), \ stbds_temp((t)-1)) #def...
text_chunk_74356
text.txt
74,356
extern int (*xkb_state_led_index_is_active_dylibloader_wrapper_xkbcommon)(struct xkb_state*, xkb_led_index_t); extern struct xkb_compose_table* (*xkb_compose_table_new_from_locale_dylibloader_wrapper_xkbcommon)(struct xkb_context*,const char*,enum xkb_compose_compile_flags); extern struct xkb_compose_table* (*xkb_compo...
Cpp_chunk_5397
Cpp.txt
5,397
ggml_new_tensor_2d(ctx, GGML_TYPE_F32, n_embd, n_embd); dev_eigenvector = ggml_new_tensor_1d(ctx, GGML_TYPE_F32, n_embd); ggml_set_name(dev_input, "dev_input"); ggml_set_name(dev_square, "dev_square"); ggml_set_name(dev_eigenvector, "dev_eigenvector"); buffer = ggml_backend_alloc_ctx_tensors(ctx, backend); ggml_backend...
text_chunk_56307
text.txt
56,307
0x00, 0x0A, 0x3C, 0x2B, 0x31, 0x31, 0x3E, 0x2D, 0x31, 0x31, 0x0A, 0x00, 0x93, 0xF5, 0x9A, 0x02, 0x04, 0x13, 0xE2, 0x00, 0x00, 0x00, 0x0E, 0x50, 0x6F, 0x68, 0x6E, 0x70, 0x65, 0x69, 0x2F, 0x50, 0x6F, 0x6E, 0x61, 0x70, 0x65, /* Pacific/Ponape */ 0x50, 0x48, 0x50, 0x32, 0x00, 0x3F, 0x3F, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,...
text_chunk_100051
text.txt
100,051
SharedCtor(); void SharedDtor(); void SetCachedSize(int size) const; void InternalSwap(GraphProto* other); private: friend class ::PROTOBUF_NAMESPACE_ID::internal::AnyMetadata; static ::PROTOBUF_NAMESPACE_ID::StringPiece FullMessageName() { return "opencv_onnx.GraphProto"; } protected: explicit GraphProto(::PROTOBUF_NA...
text_chunk_82570
text.txt
82,570
specification for transparent drivers. * * \param[in] operation The \c * mbedtls_psa_sign_hash_interruptible_operation_t * to use. This must be initialized first. * \param[in] attributes The attributes of the key to use for the * operation. * \param[in] key_buffer The buffer containing the key context. * \param[in] key...
C_data_chunk_44231
C_data.txt
44,231
// Returns the all-reduce strategy for the given input size and world size. // If `is_multimem_enabled` is true, then multimem strategies are also // considered. se::gpu::AllReduceStrategy GetAllReduceStrategy(int64_t input_size_bytes, int64_t world_size, bool is_multimem_enabled); // Returns the maximum supported all-...
text_chunk_86169
text.txt
86,169
const { return args->minWidthDistanceFactor; } #endif public: Scene* scene = nullptr; RTCRayQueryContext* user = nullptr; RTCIntersectArguments* args = nullptr; }; template<int M, typename Geometry> __forceinline Vec4vf<M> enlargeRadiusToMinWidth(const RayQueryContext* context, const Geometry* geom, const Vec3vf<M>& ra...
C_data_chunk_12736
C_data.txt
12,736
ARMv6 and later, which is shown below: * * void UMAAL(xxh_u32 *RdLo, xxh_u32 *RdHi, xxh_u32 Rn, xxh_u32 Rm) * { * xxh_u64 product = (xxh_u64)*RdLo * (xxh_u64)*RdHi + Rn + Rm; * *RdLo = (xxh_u32)(product & 0xFFFFFFFF); * *RdHi = (xxh_u32)(product >> 32); * } * * This instruction was designed for efficient long multiplic...
C_data_chunk_41268
C_data.txt
41,268
// Import all specialized std::complex device operators in namespace tensorflow. #if GOOGLE_CUDA && defined(EIGEN_USING_STD_COMPLEX_OPERATORS) EIGEN_USING_STD_COMPLEX_OPERATORS #endif // GOOGLE_CUDA namespace functor { // Import all specialized std::complex device operators in namespace functor. #if GOOGLE_CUDA && defi...
text_chunk_83280
text.txt
83,280
by the compressor and transmitted to the decompressor by some mechanism outside the scope of this compression library.) On exit, *destLen is the actual size of the uncompressed data. uncompress returns Z_OK if success, Z_MEM_ERROR if there was not enough memory, Z_BUF_ERROR if there was not enough room in the output bu...
C_data_chunk_52185
C_data.txt
52,185
int snd_timer_ginfo_get_card(snd_timer_ginfo_t *obj); char *snd_timer_ginfo_get_id(snd_timer_ginfo_t *obj); char *snd_timer_ginfo_get_name(snd_timer_ginfo_t *obj); unsigned long snd_timer_ginfo_get_resolution(snd_timer_ginfo_t *obj); unsigned long snd_timer_ginfo_get_resolution_min(snd_timer_ginfo_t *obj); unsigned lon...
text_chunk_56894
text.txt
56,894
self The message from which to get the field. * @param field The field to get. **/ GPBMessage *GPBGetMessageMessageField(GPBMessage *self, GPBFieldDescriptor *field); /** * Sets the value of a message field. * * @param self The message into which to set the field. * @param field The field to set. * @param value The to ...
Cpp_chunk_15922
Cpp.txt
15,922
#undef JSON_HEDLEY_GCC_HAS_EXTENSION #endif #if defined(__has_extension) #define JSON_HEDLEY_GCC_HAS_EXTENSION(extension,major,minor,patch) __has_extension(extension) #else #define JSON_HEDLEY_GCC_HAS_EXTENSION(extension,major,minor,patch) JSON_HEDLEY_GCC_VERSION_CHECK(major,minor,patch) #endif #if defined(JSON_HEDLEY_...
text_chunk_28931
text.txt
28,931
This can only fail if the output of the hash function is zero or greater than or equal to the curve order, which * happens with negligible probability. Normally, we would use VERIFY_CHECK as opposed to returning an error * since returning an error here would result in an untestable branch in the code. But in this case,...
C_data_chunk_41759
C_data.txt
41,759
PluginCoordinationServiceAgent { public: PluginCoordinationServiceAgent() = default; virtual ~PluginCoordinationServiceAgent() = default; virtual bool IsInitialized() const = 0; virtual absl::Status InsertKeyValue(std::string_view key, std::string_view value) = 0; virtual absl::StatusOr<std::string> GetKeyValue(std::st...
text_chunk_69480
text.txt
69,480
= ldA == kComputeStrideFromBlockDimensions ? m : ldA; ldB = ldB == kComputeStrideFromBlockDimensions ? k : ldB; const int ldC = static_cast<int>(output.stride()); // DNNL takes row-major matrices. Our packed column-major matrices can be // viewed as a transposed row-major matrix, i.e., // C_colmajor = C_rowmajor^T = (A...
C_data_chunk_33054
C_data.txt
33,054
to UnderscoresToCamelCase, but guarantees that the result is a // complete Java identifier by adding a _ if needed. std::string CamelCaseFieldName(const FieldDescriptor* field); // Get an identifier that uniquely identifies this type within the file. // This is used to declare static variables related to this type at t...
Cpp_chunk_4701
Cpp.txt
4,701
#include <string> // string, char_traits #include <iomanip> // setfill, setw #include <type_traits> // is_same #include <utility> // move #include <nlohmann/detail/conversions/to_chars.hpp> #include <nlohmann/detail/exceptions.hpp> #include <nlohmann/detail/macro_scope.hpp> #include <nlohmann/detail/meta/cpp_future.hpp...
C_data_chunk_16691
C_data.txt
16,691
= pDataBufferNode->pChildLo; } else { if (pDataBufferNode->pParent->pChildLo == pDataBufferNode) { pDataBufferNode->pParent->pChildLo = pDataBufferNode->pChildLo; } else { pDataBufferNode->pParent->pChildHi = pDataBufferNode->pChildLo; } } } else { /* Complex case - deleting a node with two children. */ ma_resource_man...
C_data_chunk_49782
C_data.txt
49,782
\ ieee_double_shape_type ew_u; \ ew_u.value = (d); \ (ix0) = ew_u.parts.msw; \ (ix1) = ew_u.parts.lsw; \ } while (0) /* Get the more significant 32 bit int from a double. */ #define GET_HIGH_WORD(i,d) \ do { \ ieee_double_shape_type gh_u; \ gh_u.value = (d); \ (i) = gh_u.parts.msw; \ } while (0) /* Get the less signifi...
C_data_chunk_66117
C_data.txt
66,117
OUT OF OR IN CONNECTION WITH THE */ /* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ /**************************************************************************/ #pragma once #include "modules/register_module_types.h" void initialize_ogg_module(ModuleInitializationLevel p_level); void uninitialize_ogg_modul...
C_data_chunk_2588
C_data.txt
2,588
proxy is used */ void updateDefaultProxyNets(); Q_SIGNALS: void quitOnReset(); private: Ui::OptionsDialog *ui; ClientModel* m_client_model{nullptr}; OptionsModel* model{nullptr}; QDataWidgetMapper* mapper{nullptr}; }; #endif // BITCOIN_QT_OPTIONSDIALOG_H // Copyright (c) 2011-present The Bitcoin Core developers // Dist...
C_data_chunk_16083
C_data.txt
16,083
ma_atomic_store_explicit_16(dst, src, order) (void)ma_atomic_exchange_explicit_16(dst, src, order) #endif #if defined(MA_ATOMIC_HAS_32) #define ma_atomic_store_explicit_32(dst, src, order) (void)ma_atomic_exchange_explicit_32(dst, src, order) #endif #if defined(MA_ATOMIC_HAS_64) #define ma_atomic_store_explicit_64(dst,...
text_chunk_63900
text.txt
63,900
gpu } // namespace tflite #endif // TENSORFLOW_LITE_DELEGATES_GPU_COMMON_MEMORY_MANAGEMENT_EQUALITY_ASSIGNMENT_H_ /* Copyright 2019 The TensorFlow Authors. All Rights Reserved. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain...
C_data_chunk_62059
C_data.txt
62,059
b)); } __forceinline vint8 sra (const vint8& a, int b) { return vint8(_mm_srai_epi32(a.vl, b), _mm_srai_epi32(a.vh, b)); } __forceinline vint8 srl (const vint8& a, int b) { return vint8(_mm_srli_epi32(a.vl, b), _mm_srli_epi32(a.vh, b)); } __forceinline vint8 min(const vint8& a, const vint8& b) { return vint8(_mm_min_ep...
C_data_chunk_56451
C_data.txt
56,451
every function defined by XR_FB_android_surface_swapchain_create in this version of the spec, /// calls your macro with the function name and extension name. /// Trims the leading `xr` from the function name and the leading `XR_` from the feature name, /// because it is easy to add back but impossible to remove with th...
C_data_chunk_53897
C_data.txt
53,897
is NaN, @c b will be returned for that lane. */ ASTCENC_SIMD_INLINE vfloat4 min(vfloat4 a, vfloat4 b) { return vfloat4(a.m[0] < b.m[0] ? a.m[0] : b.m[0], a.m[1] < b.m[1] ? a.m[1] : b.m[1], a.m[2] < b.m[2] ? a.m[2] : b.m[2], a.m[3] < b.m[3] ? a.m[3] : b.m[3]); } /** * @brief Return the max vector of two vectors. * * If ...
Cpp_chunk_9045
Cpp.txt
9,045
} bool operator!=( PhysicalDeviceCooperativeMatrixPropertiesKHR const & rhs ) const VULKAN_HPP_NOEXCEPT { return !operator==( rhs ); } #endif public: StructureType sType = StructureType::ePhysicalDeviceCooperativeMatrixPropertiesKHR; void * pNext = {}; ShaderStageFlags cooperativeMatrixSupportedStages = {}; }; #if 20 <...
C_data_chunk_35149
C_data.txt
35,149
conversion happens. static Logger& GetLogger(); TRTEngineCacheResource(OpKernelContext* ctx, size_t capacity); ~TRTEngineCacheResource() override; string DebugString() const override; // Returns the EngineContext that is compatible with input_shapes. // Returns nullptr if no compatible EngineContexts is found in cache....