Tis any user defined struct or class andarris a pointer to the first element in the array of objects of typeT.Funcis a lambda function that computes thekeyvalue for each object which is the metric used to sort the objects.Funcneeds to have the following signature: ...
o_filename = utils.ChangeDir(utils.ChangeExt(c_filename, ext), out_dir) args = list(cflags) if IS_WINDOWS: args += ['/nologo', '/MDd', '/c', c_filename, '/Fo' + o_filename] args += ['/nologo', '/DWASM_RT_ENABLE_SIMD', '/MDd', '/c', c_filename, '/Fo' + ...
# Please sync with 'test_ruby()' in 'Library/Homebrew/utils/ruby.sh' from Homebrew/brew repository.test_ruby () { if [[ ! -x $1 ]] then return 1 fi "$1" --enable-frozen-string-literal --disable=gems,did_you_mean,rubyopt -rrubygems -e \ "abort if Gem::Version.new...
Looking athttps://github.com/AcademySoftwareFoundation/OpenColorIO/blob/main/share/cmake/utils/CompilerFlags.cmakeit seems that if OCIO_USE_SIMD is enabled, which is the default, all your flags are enabled depending of the detection scripts results (https://github.com/AcademySoftwareFoundation/Open...
utils ARM Neon implementation Jan 19, 2017 .gitignore Add benchmark utility, which counts CPU cycles May 5, 2018 LICENSE added LICENSE Oct 26, 2016 Makefile Add SSE variant specialised for 4-byte needles Jan 5, 2022 README.rst Fix typo ...
#include "utils/auto_cf.hpp" #include <TargetConditionals.h> #if TARGET_OS_IPHONE #include <CoreGraphics/CoreGraphics.h> #include <ImageIO/ImageIO.h> #elif TARGET_OS_MAC #include <ApplicationServices/ApplicationServices.h> #endif #include <stdio.h> #include <string.h> #include <vector> ...
local json_encode = clustering_utils.json_encode local kong = kong local ngx_exit = ngx.exit local exiting = ngx.worker.exiting @@ -121,7 +120,7 @@ function _M:export_deflated_reconfigure_payload() -- store serialized plugins map for troubleshooting purposes local shm_key_name = "cluster...
#include "simd_utils.impl.hpp" #ifndef CV_DOXYGEN 16 changes: 16 additions & 0 deletions 16 modules/core/include/opencv2/core/hal/intrin_avx.hpp Original file line numberDiff line numberDiff line change @@ -447,6 +447,10 @@ OPENCV_HAL_IMPL_AVX_LOADSTORE_FLT(v_float64x4, double, ...
5 changes: 5 additions & 0 deletions 5 utils/custom-compare.h Original file line numberDiff line numberDiff line change @@ -1,3 +1,6 @@ #ifndef UTILS_CUSTOM_COMPARE #define UTILS_CUSTOM_COMPARE #include <limits> #include <cmath> #include "xss-custom-float.h" @@ -42,3 +45,5 ...
- name: Install pcre2grep run: sudo apt-get update && sudo apt-get install -y pcre2-utils # Check for trailing whitespace - name: Trailing whitespace run: find simde/ \( -name '*.c' -o -name '*.h' \) -exec grep -nP '\s+$' {} + && exit 1 || exit 0 ...