message
stringlengths
6
474
diff
stringlengths
8
5.22k
mangle: function name change
@@ -405,7 +405,7 @@ static void mangle_Magic(run_t* run, bool printable) { } } -static void mangle_CmpFeedback(run_t* run, bool printable) { +static void mangle_ConstCmpFeedback(run_t* run, bool printable) { if (!run->global->feedback.cmpFeedback) { return mangle_Magic(run, printable); } @@ -644,7 +644,7 @@ void mangle...
Updated documentation to use cmake
-cmake_minimum_required(VERSION 3.0) +cmake_minimum_required(VERSION 3.2) # Adding customized cmake module list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake/Modules/") @@ -8,7 +8,18 @@ project(ccl) # Uses system libraries or downloads and build if necessary include(BuildFFTW) include(BuildGSL) + + # If a CLASS i...
ensure has queries check
@@ -34,6 +34,11 @@ namespace NCatboostCuda { return stat; } + template<class TObjective> + void EnsureHasQueries(const TObjective& objective) { + CB_ENSURE(objective.GetSamplesGrouping().GetQueryCount() < objective.GetTarget().GetSamplesMapping().GetObjectsSlice().Size(), "Error: no queries or all query sizes are 1"); ...
ci: improve docs pattern from Kconfig to Kconfig* for example: Kconfig.spiram.common will now be included
- ".gitlab/ci/docs.yml" - "docs/**/*" - "components/**/*.h" - - "components/**/Kconfig" + - "components/**/Kconfig*" - "components/**/CMakeList.txt" - "components/**/sdkconfig*" - "tools/kconfig_new/**/*"
tell about loose tests
@@ -89,7 +89,13 @@ int main_nrmse(int argc, char* argv[argc]) unmap_cfl(DIMS, ref_dims, ref); unmap_cfl(DIMS, in_dims, in); - return ((test == -1.) || (err <= test)) ? 0 : 1; + if (test == -1.) + test = err; + + if (err < test * 0.1) + debug_printf(DP_DEBUG2, "Loose test: %f <= %f x %f\n", err, 0.1, test); + + return (...
Add info to button events
@@ -1014,7 +1014,10 @@ static ButtonQueueEntry *incrementAndPostButtonQueue(SurviveObject *so) { return 0; ButtonQueueEntry *entry = &(ctx->buttonQueue.entry[ctx->buttonQueue.nextWriteIndex]); - SV_VERBOSE(100, "%s Button event %d %d", survive_colorize_codename(so), entry->eventType, entry->buttonId); + SV_VERBOSE(100,...
NODE: real v0.3.0 with proper prebuild-install command
"lib": "lib" }, "scripts": { - "install": "prebuild-install || node-gyp rebuild", + "install": "prebuild-install --tag-prefix node-v || node-gyp rebuild", "format-cxx": "git-clang-format", "format-js": "prettier --print-width 100 --tab-width 2 --single-quote --write index.js 'test/**/*.js' 'lib/**/*.js'", "lint": "esli...
out_tcp: use new upstream prototype for tls handling
@@ -72,7 +72,7 @@ struct flb_out_tcp *flb_tcp_conf_create(struct flb_output_instance *ins, upstream = flb_upstream_create(config, ins->host.name, ins->host.port, - io_flags, (void *) &ins->tls); + io_flags, ins->tls); if (!upstream) { flb_plg_error(ctx->ins, "could not create upstream context"); flb_free(ctx);
libhfuzz/memcmp: no need to save haystacks
@@ -103,7 +103,6 @@ static inline char* HF_strstr(const char* haystack, const char* needle, uintptr_ return (char*)haystack; } - instrumentAddConstStr(haystack); instrumentAddConstStr(needle); const char* h = haystack; @@ -122,7 +121,6 @@ static inline char* HF_strcasestr(const char* haystack, const char* needle, uint ...
deprecated must be error, not warning Note: mandatory check (NEED_CHECK) was skipped
@@ -1374,10 +1374,6 @@ class GnuCompiler(Compiler): if self.tc.is_clang: self.sfdl_flags.append('-Qunused-arguments') - self.c_warnings += [ - '-Wno-error=deprecated', - ] - self.cxx_warnings += [ '-Wimport-preprocessor-directive-pedantic', '-Wno-c++17-extensions',
tls: Modify tls optimize both mbedtls and wolfssl
@@ -309,18 +309,19 @@ static int base_destroy(esp_transport_handle_t t) return 0; } - void esp_transport_ssl_enable_global_ca_store(esp_transport_handle_t t) { GET_SSL_FROM_TRANSPORT_OR_RETURN(ssl, t); ssl->cfg.use_global_ca_store = true; } +#ifdef CONFIG_ESP_TLS_PSK_VERIFICATION void esp_transport_ssl_set_psk_key_hint...
Fix cli integration test closes
@@ -153,8 +153,8 @@ starttest "Scope ps" # Scope ps run scope ps -outputs "ID PID USER COMMAND SCOPED -1 ${sleep_pid} root sleep true" +outputs "ID PID USER COMMAND +1 ${sleep_pid} root sleep 1000" returns 0
test: keep lineno in conf because it's used in some tests amending
@@ -226,7 +226,14 @@ sub spawn_h2o { $max_ssl_version = $conf->{max_ssl_version} || undef; $conf = $conf->{conf}; } + my $user; + if ($conf =~ /^user:/) { # do not override the specified user + $user = ""; + } else { + $user = $< == 0 ? "user: root" : ""; + } $conf = <<"EOT"; +$conf listen: host: 0.0.0.0 port: $port @@...
baseboard/intelrvp/adlrvp.c: Format with clang-format BRANCH=none TEST=none
@@ -253,8 +253,8 @@ void board_overcurrent_event(int port, int is_overcurrented) { /* Port 0 & 1 and 2 & 3 share same line for over current indication */ #if defined(HAS_TASK_PD_C2) - enum ioex_signal oc_signal = port < TYPE_C_PORT_2 ? - IOEX_USB_C0_C1_OC : IOEX_USB_C2_C3_OC; + enum ioex_signal oc_signal = port < TYPE_...
Put all the functions added for libmusl together in wrap.c
@@ -236,24 +236,6 @@ typedef struct // extern void *_dl_sym(void *, const char *, void *); -EXPORTWEAK int -__vfprintf_chk(FILE *fp, int flag, const char *format, va_list ap) -{ - return vfprintf(fp, format, ap); -} - -EXPORTWEAK int -__vsnprintf_chk(char *s, size_t maxlen, int flag, size_t slen, const char *format, va...
[bsp][bluetrum] Compatible romfs
#include <rtthread.h> -#ifdef BSP_USING_SDIO +#if defined (BSP_USING_SDCARD) #include <dfs_elm.h> #include <dfs_fs.h> @@ -58,4 +58,23 @@ int ab32_sdcard_mount(void) return RT_EOK; } INIT_APP_EXPORT(ab32_sdcard_mount); +#elif defined (RT_USING_DFS_ROMFS) + +#include <dfs_fs.h> +#include "dfs_romfs.h" + +int ab32_romfs_m...
ci: Add dtc dependencies for rawhide Both F28 and Rawhide build their own dtc version. Rawhide was missing the required build deps.
FROM fedora:rawhide RUN dnf -y install wget curl xterm gcc git xz make diffutils findutils expect valgrind valgrind-devel ccache dtc openssl-devel RUN dnf -y install gcc-powerpc64-linux-gnu +# below packages are for building dtc +RUN dnf -y install flex bison RUN if [ `arch` = "x86_64" ]; then dnf -y install http://pub...
Readme: Sorted sites alphabetically.
@@ -7,11 +7,11 @@ OpenCore bootloader front end. ## Discussion -- [PCbeta.com](http://bbs.pcbeta.com/viewthread-1815623-1-1.html) in Chinese -- [InsanelyMac](https://www.insanelymac.com/forum/topic/338527-opencore-development/) in English +- [AppleLife.ru](https://applelife.ru/threads/razrabotka-opencore.2943955) in Ru...
i2c: the user is now allowed to call i2c_master_write even for sending a single byte
@@ -1147,6 +1147,12 @@ esp_err_t i2c_master_write(i2c_cmd_handle_t cmd_handle, const uint8_t *data, siz I2C_CHECK((data != NULL), I2C_ADDR_ERROR_STR, ESP_ERR_INVALID_ARG); I2C_CHECK(cmd_handle != NULL, I2C_CMD_LINK_INIT_ERR_STR, ESP_ERR_INVALID_ARG); + if (data_len == 1) { + /* If data_len if 1, i2c_master_write_byte s...
refactor(shield): Formatting tweaks for QAZ.
}; num_sym { bindings = < - &kp NUM_1 &kp NUM_2 &kp NUM_3 &kp NUM_4 &kp NUM_5 &kp NUM_6 &kp NUM_7 &kp NUM_8 &kp NUM_9 &kp NUM_0 + &kp N1 &kp N2 &kp N3 &kp N4 &kp N5 &kp N6 &kp N7 &kp N8 &kp N9 &kp N0 &trans &trans &trans &trans &trans &trans &trans &trans &kp EQL &kp MINUS &kp DEL &none &none &none &none &none &none &n...
doc: acrn_configuration_tool add one more scenario xml element description
@@ -109,6 +109,8 @@ Additional scenario XML elements: ``guest_flags``: Select all applicable flags for the VM. +``vcpu_affinity``: vCPU affinity map; Each vCPU will pin to the selected pCPU ID and different vCPU should not pin to same pCPU. + ``size`` under parent of ``epc_section``: SGX EPC section base; must be page ...
Make dojo not produce incorrect beams when they start with '/'.
;~(pose sym (easy dp-default-app)) == ++ dp-beam :: ++beam - %+ cook |=(a/path =+((de-beam a) ?^(- u [he-beak (flop a)]))) + %+ cook + |= a/path + :: hack: fixup paths that come out of the hoon parser + :: + :: We currently invoke the hoon parser to read relative paths from + :: the command line, and this parser will p...
rework fast_fprint
@@ -295,47 +295,47 @@ uint8_t lastvm0 = 0x55; //TODO ... should we monitor lastvm0 and handle any unexpected changes using check_osd() ... not sure if/when an osd chip becomes unstable due to voltage or some other reason //stuffs a float into a char array. parameters are array length and precision. only pads spaces for...
need to create a folder for cee-utils
@@ -138,6 +138,7 @@ test: cee_utils common discord slack github reddit $(TEST_EXES) mkdir : mkdir -p $(OBJDIR)/cee-utils + mkdir -p $(ACTOR_OBJDIR)/cee-utils mkdir -p $(ACTOR_OBJDIR)/common/third-party $(ACTOR_OBJDIR)/specs mkdir -p $(OBJDIR)/common/third-party $(LIBDIR) mkdir -p $(addprefix $(SPECSDIR)/, $(SPECS_SUBDI...
update acx_nlnetlabs with ws2_32 link.
@@ -688,8 +688,8 @@ AC_DEFUN([ACX_SSL_CHECKS], [ # check if -lwsock32 or -lgdi32 are needed. BAKLIBS="$LIBS" BAKSSLLIBS="$LIBSSL_LIBS" - LIBS="$LIBS -lgdi32" - LIBSSL_LIBS="$LIBSSL_LIBS -lgdi32" + LIBS="$LIBS -lgdi32 -lws2_32" + LIBSSL_LIBS="$LIBSSL_LIBS -lgdi32 -lws2_32" AC_MSG_CHECKING([if -lcrypto needs -lgdi32]) AC...
BugID:17918368: Update KV Config.in descriptor
menuconfig AOS_COMP_KV - bool "Key-value Style Storage" + bool "Key-value Storage" select AOS_COMP_MBEDTLS if KV_CONFIG_SECURE_CRYPT_IMPL = 1 select MBEDTLS_CONFIG_CRYPTO if KV_CONFIG_SECURE_CRYPT_IMPL = 1 select MBEDTLS_CONFIG_CRYPTO_AES if KV_CONFIG_SECURE_CRYPT_IMPL = 1 select MBEDTLS_CONFIG_CRYPTO_MODE_OFB if KV_CO...
refactor windows config paths
#include "defines/msys.h" #ifdef ANY_MSYS #include "utils/file_io/fileUtils.h" +#include "utils/logger.h" #include "utils/string/stringUtils.h" #ifndef CONFIG_PATH "$ProgramData/oidc-agent" // The full path has two / oidc-agent the second // one is appended later #endif -#define CERT_PATH CONFIG_PATH "/oidc-agent/ca-bu...
VERSION bump to version 1.4.71
@@ -37,7 +37,7 @@ endif() # micro version is changed with a set of small changes or bugfixes anywhere in the project. set(SYSREPO_MAJOR_VERSION 1) set(SYSREPO_MINOR_VERSION 4) -set(SYSREPO_MICRO_VERSION 70) +set(SYSREPO_MICRO_VERSION 71) set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI...
Fix compilation error for old decoding API Commits and updated the code only for the new decoding API.
@@ -61,7 +61,7 @@ decoder_push(struct decoder *decoder, const AVPacket *packet) { #else int got_picture; int len = avcodec_decode_video2(decoder->codec_ctx, - decoder->video_buffer->decoding_frame, + decoder->video_buffer->producer_frame, &got_picture, packet); if (len < 0) { @@ -69,7 +69,7 @@ decoder_push(struct decod...
Update 'F' for new behavior
@@ -554,7 +554,8 @@ BEGIN_DUAL_PHASE_1(if) STOP_IF_DUAL_INACTIVE; Glyph g0 = PEEK(0, 1); Glyph g1 = PEEK(0, 2); - POKE(1, 0, g0 == g1 ? '1' : '0'); + POKE(1, 0, g0 == g1 ? '*' : '.'); + STUN(1, 0); END_PHASE BEGIN_DUAL_PHASE_0(generator)
Added check if max-merge is out of bounds
@@ -1228,8 +1228,14 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value) } else if (OPT("fast-residual-cost")) cfg->fast_residual_cost_limit = atoi(value); - else if (OPT("max-merge")) - cfg->max_merge = atoi(value); + else if (OPT("max-merge")) { + int max_merge = atoi(value); + if (max_merge ...
fix funny unsigned overflow bug while counting needed threads
@@ -60,8 +60,9 @@ void GenerateBorders(const TPool& pool, TLearnContext* ctx, TVector<TFloatFeatur const size_t bytesGenerateBorders = sizeof(float) * samplesToBuildBorders; const size_t bytesRequiredPerThread = bytesThreadStack + bytesGenerateBorders + bytesBestSplit; const auto usedRamLimit = ctx->Params.SystemOption...
docs: gnu9 -> gnu12 for mpi stacks
@@ -41,12 +41,12 @@ MVAPICH2 (psm2) & & % ohpc_command if [[ ${enable_mpi_defaults} -eq 1 && ${enable_pmix} -eq 0 ]];then % ohpc_indent 5 \begin{lstlisting}[language=bash] -[sms](*\#*) (*\install*) openmpi4-gnu9-ohpc mpich-ofi-gnu9-ohpc +[sms](*\#*) (*\install*) openmpi4-gnu12-ohpc mpich-ofi-gnu12-ohpc \end{lstlisting}...
Use generic kernels for complex (I)AMAX to support softfp
@@ -2,13 +2,13 @@ include $(KERNELDIR)/KERNEL.ARMV5 SAMAXKERNEL = amax_vfp.S DAMAXKERNEL = amax_vfp.S -CAMAXKERNEL = amax_vfp.S -ZAMAXKERNEL = amax_vfp.S +#CAMAXKERNEL = amax_vfp.S +#ZAMAXKERNEL = amax_vfp.S SAMINKERNEL = amax_vfp.S DAMINKERNEL = amax_vfp.S -CAMINKERNEL = amax_vfp.S -ZAMINKERNEL = amax_vfp.S +#CAMINKER...
Fix WindowsPhone AppIdentifier detection - use PackageId, instead of Store Id (which is not available for non-public apps)
@@ -61,10 +61,11 @@ namespace carto { std::string PlatformUtils::GetAppIdentifier() { std::wstring wid; try { - wid = Windows::ApplicationModel::Store::CurrentApp::AppId.ToString()->Data(); + Windows::ApplicationModel::PackageId^ packageId = Windows::ApplicationModel::Package::Current->Id; + wid = packageId->Name->Data...
ESP32 platform change only: update UART clock source for esp32s3.
@@ -276,6 +276,10 @@ int32_t uPortUartOpen(int32_t uart, int32_t baudRate, config.parity = UART_PARITY_DISABLE; #if SOC_UART_SUPPORT_REF_TICK config.source_clk = UART_SCLK_REF_TICK; +#elif SOC_UART_SUPPORT_XTAL_CLK + config.source_clk = UART_SCLK_XTAL; +#else + config.source_clk = UART_SCLK_APB; #endif // Set the baud ...
Fixed inverse logic mistakes when converting
@@ -164,7 +164,7 @@ std::string Type::FunctionDescriptor(RED4ext::CBaseFunction* apFunc, bool aWithH { auto* param = apFunc->params[i]; - if (param->flags.isOut) + if (!param->flags.isOut) { // ignone non-out params cause we've dealt with them above continue; @@ -284,7 +284,7 @@ sol::variadic_results Type::Execute(RED4...
lwip_base: Don't attempt to use ND6 if disabled Neighbor discovery was made configurable in commit That commit was incomplete; it missed one use of nd6 in ethip6.c. This commit ensures ND6 is only used if it is enabled.
@@ -99,12 +99,17 @@ ethip6_output(struct netif *netif, struct pbuf *q, const ip6_addr_t *ip6addr) /* We have a unicast destination IP address */ /* @todo anycast? */ +#if !LWIP_ND6 + /* Neighbor discovery disabled; indicate no router. */ + return ERR_RTE; +#else /* Ask ND6 what to do with the packet. */ result = nd6_ge...
Fixed CartoVectorTileDecoder layer ordering issues
@@ -209,20 +209,24 @@ namespace carto { if (layerInvisibleSet.count(it->first) > 0) { continue; } - mvt::MBVTTileReader reader(it->second, *layerSymbolizerContexts[it->first], decoder); - reader.setLayerNameOverride(it->first); - if (std::shared_ptr<vt::Tile> tile = reader.readTile(targetTile)) { + std::size_t index = ...
rowan: config SPI pins Configure B12/B13/B14/B15 as SPI pins. BRANCH=master TEST=EC_FIRMWARE=rowan emerge-rowan chromeos-ec Commit-Ready: Patrick Berny Tested-by: Patrick Berny
@@ -421,10 +421,8 @@ static void board_chipset_pre_init(void) gpio_config_module(MODULE_SPI_MASTER, 1); /* Set all four SPI pins to high speed */ - /* pins D0/D1/D3/D4 */ - STM32_GPIO_OSPEEDR(GPIO_D) |= 0x000003cf; - /* pins F6 */ - STM32_GPIO_OSPEEDR(GPIO_F) |= 0x00003000; + /* pins B12/B13/B14/B15 */ + STM32_GPIO_OSP...
OcDeviceMiscLib: Fix multiple memory corruptions rebar code
@@ -680,6 +680,8 @@ ResizeGpuBarsPciIo ( } } + FreePool (HandleBuffer); + if (HasSuccess) { return EFI_SUCCESS; } @@ -752,6 +754,8 @@ ResizeGpuBarsRbIo ( ASSERT (Size < PciBarTotal); + HasSuccess = FALSE; + Status = gBS->LocateHandleBuffer ( ByProtocol, &gEfiPciRootBridgeIoProtocolGuid, @@ -772,12 +776,12 @@ ResizeGpuB...
Fix memory leaks in tests Tests were failing when run with ASAN enabled.
@@ -11,6 +11,7 @@ static void test_get_ip_single_line() { char *ip = sc_adb_parse_device_ip_from_output(ip_route, sizeof(ip_route)); assert(ip); assert(!strcmp(ip, "192.168.12.34")); + free(ip); } static void test_get_ip_single_line_without_eol() { @@ -20,6 +21,7 @@ static void test_get_ip_single_line_without_eol() { c...
add section to README - see question at
@@ -225,15 +225,48 @@ Iodine::Rack.run My_Broadcast Of course, if you still want to use Rack's `hijack` API, Iodine will support you - but be aware that you will need to implement your own reactor and thread pool for any sockets you hijack, as well as a socket buffer for non-blocking `write` operations (why do that whe...
Fixed an invalid assert when ASTCENC_DECOMPRESS_ONLY is used
@@ -950,10 +950,10 @@ static void construct_block_size_descriptor_2d( bsd.always_block_mode_count = always_block_mode_count; bsd.always_decimation_mode_count = always_decimation_mode_count; +#if !defined(ASTCENC_DECOMPRESS_ONLY) assert(bsd.always_block_mode_count > 0); assert(bsd.always_decimation_mode_count > 0); -#if...
Init{RGB,YUV}Rescaler: fix a few more int overflows promote out_width to size_t before multiplying src/dec/io_dec.c:301:30: runtime error: signed integer overflow: 2 * cannot be represented in type 'int' 0x55fd9e8de2bd in InitYUVRescaler src/dec/io_dec.c:301:30 0x55fd9e8de2bd in CustomSetup src/dec/io_dec.c:571:54
@@ -298,7 +298,8 @@ static int InitYUVRescaler(const VP8Io* const io, WebPDecParams* const p) { const int uv_out_height = (out_height + 1) >> 1; const int uv_in_width = (io->mb_w + 1) >> 1; const int uv_in_height = (io->mb_h + 1) >> 1; - const size_t work_size = 2 * out_width; // scratch memory for luma rescaler + // s...
YAML Benchmark: Support multiple input files
BUILD_DIRECTORY="@CMAKE_BINARY_DIR@" SOURCE_DIRECTORY="@CMAKE_SOURCE_DIR@" PLUGINS=(yamlcpp yanlr yambi yawn yaypeg) -DATA_DIRECTORY="benchmarks/data" +DATA_DIRECTORY="benchmarks/data/temporary" BENCHMARK_TOOL="$BUILD_DIRECTORY/bin/benchmark_plugingetset" +INPUT_FILES=( + benchmarks/data/test.yaml +) trap cleanup EXIT ...
add desktop help binding
@@ -159,6 +159,7 @@ static Key dkeys[] = { {0, XK_n, spawn, {.v = nautiluscmd } }, {0, XK_space, spawn, {.v = panther} }, {0, XK_f, spawn, {.v = firefoxcmd} }, + {0, XK_F1, spawn, {.v = helpcmd} }, {0, XK_m, spawn, {.v = spoticli} }, {0, XK_Return, spawn, {.v = termcmd} }, {0, XK_plus, spawn, {.v = upvol} },
Refactored and simplified vector_get
@@ -2,12 +2,11 @@ typedef buffer vector; static inline void *vector_get(vector v, int offset) { - bytes base = v->start + offset * sizeof(void *); - if ((offset < 0) || ((base + sizeof(void *)) > v->end)) - // should be INVALID_VIRTUAL (? ) + bytes boffset = offset * sizeof(void *); + if (offset < 0 || boffset + sizeof...
boot.lua uses headset clip distance;
@@ -139,9 +139,11 @@ function lovr.run() local headset = lovr.headset and lovr.headset.getTexture() if headset then local pass = lovr.graphics.getPass('render', headset) + local near, far = lovr.headset.getClipDistance() for i = 1, lovr.headset.getViewCount() do pass:setViewPose(i, lovr.headset.getViewPose(i)) - pass:s...
improve mrbc_raise, mrbc_raisef functions.
@@ -140,9 +140,14 @@ void mrbc_exception_delete(mrbc_value *value) */ void mrbc_raise( struct VM *vm, struct RClass *exc_cls, const char *msg ) { + if( vm ) { vm->exception = mrbc_exception_new( vm, exc_cls ? exc_cls : MRBC_CLASS(RuntimeError), msg, 0 ); vm->flag_preemption = 2; + + } else { + mrbc_printf("Exception : ...
Fix fake controller positioning;
@@ -172,9 +172,10 @@ static ControllerHand fakeControllerGetHand(Controller* controller) { static void fakeControllerGetPose(Controller* controller, float* x, float* y, float* z, float* angle, float* ax, float* ay, float* az) { *x = 0; - *y = state.offset; - *z = -1; + *y = 0; + *z = -.75; mat4_transform(state.transfor...
fix for next_powerof2 (thanks to Nguyen Damien)
#include <assert.h> #include <complex.h> #include <strings.h> +#include <stdint.h> #include "num/multind.h" #include "num/flpmath.h" @@ -58,7 +59,9 @@ static unsigned int next_powerof2(unsigned int x) { x--; - for (unsigned int i = 0, n = 1; i < 6; i++, n *= 2) + assert(x <= (UINT32_MAX >> 1)); + + for (unsigned int i ...
use PROJECT_BINARY_DIR for sys/ compat headers
@@ -95,7 +95,7 @@ endif() if (NOT HAVE_SYS_TREE) CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/compat/sys/tree.h.in - ${CMAKE_CURRENT_BINARY_DIR}/compat/sys/tree.h) + ${PROJECT_BINARY_DIR}/compat/sys/tree.h) include_directories(${PROJECT_BINARY_DIR}/compat) @@ -103,7 +103,9 @@ endif(NOT HAVE_SYS_TREE) if (NOT HAVE_SYS_QUE...
HW: Fixing format in hardware/README.md
@@ -36,7 +36,7 @@ The environment variable `DIMMTEST` needs to point to the directory containing t The path to the set of actions that shall be included is defined via the environment variable `ACTION_ROOT`. **Currently it has to point to a directory within** - `$DONUT_HARDWARE_ROOT/action_examples`. + $DONUT_HARDWARE_...
Fix build error if assert is defined in apriltag.c
@@ -55,6 +55,7 @@ either expressed or implied, of the Regents of The University of Michigan. #define malloc(size) ({ void *_r = umm_malloc(size); if(!_r) umm_alloc_fail(); _r; }) #define realloc(ptr, size) ({ void *_r = umm_realloc((ptr), (size)); if(!_r) umm_alloc_fail(); _r; }) #define calloc(num, item_size) ({ void ...
move enqueue under lock, remove old comment
@@ -32,8 +32,7 @@ typedef struct qbuf { buffer b; } *qbuf; -/* return true if sendq empty */ -static void direct_conn_send_internal(direct_conn dc) +static void direct_conn_send_internal(direct_conn dc, qbuf q) { direct_debug("dc %p\n", dc); list next; @@ -43,6 +42,8 @@ static void direct_conn_send_internal(direct_conn...
file_write: refactor by calling helper functions This commit adds the begin_file_write() and file_write_complete_internal() helper functions, which are now called by file_write() and file_write_complete(), respectively, and will be reused in the next commit.
@@ -734,27 +734,41 @@ closure_function(2, 6, sysreturn, file_sg_read, return bh ? SYSRETURN_CONTINUE_BLOCKING : file_op_maybe_sleep(t); } -closure_function(6, 1, void, file_write_complete, - thread, t, file, f, sg_list, sg, u64, length, boolean, is_file_offset, io_completion, completion, - status, s) +static void begin...
Update CHANGES for X448 and Ed448
Changes between 1.1.0g and 1.1.1 [xx XXX xxxx] + *) Added support for X448 and Ed448. Currently this is only supported in + libcrypto (not libssl). Heavily based on original work by Mike Hamburg. + [Matt Caswell] + *) Extend OSSL_STORE with capabilities to search and to narrow the set of objects loaded. This adds the f...
CMSIS-DSP: Improved doxygen comments.
- The states of the vectorized filters are different from their scalar versions (which may break some algorithms which are working on the state of a filter like Goertzel) + - For performance reasons, some vectorized algorithms may read one vector + after the end of buffer (but the data read is not used). + If the buffe...
Avoid passing NULL to strcmp()
@@ -1149,7 +1149,7 @@ parse_headers (WSHeaders * headers) { free (tmp); line = next ? (next + 2) : NULL; - if (strcmp (next, "\r\n\r\n") == 0) + if (next && strcmp (next, "\r\n\r\n") == 0) break; }
Add tests for server paths
test.isequal("%HOME%/user", path.getabsolute("%HOME%/user")) end + function suite.getabsolute_onServerPath() + test.isequal("//Server/Volume", path.getabsolute("//Server/Volume")) + end + function suite.getabsolute_onMultipleEnvVar() test.isequal("$(HOME)/$(USER)", path.getabsolute("$(HOME)/$(USER)")) end test.isequal(...
tests: fix calyptia custom test for macos.
@@ -41,12 +41,12 @@ void flb_custom_calyptia_pipeline_config_get_test() flb_custom_set_property(calyptia, "add_label", "pipeline_id 7DDD2941-3ED6-4B8C-9F84-DD04C4A018A4"); flb_custom_set_property(calyptia, "calyptia_host", "cloud-api.calyptia.com"); flb_custom_set_property(calyptia, "calyptia_port", "443"); - flb_custo...
Fix obsolete FSM remarks in nbtree README. The free space map has used a dedicated relation fork rather than shared memory segments for over a decade.
@@ -347,14 +347,11 @@ guaranteed to be "visible to everyone". As collateral damage, this implementation also waits for running XIDs with no snapshots and for snapshots taken until the next transaction to allocate an XID commits. -Reclaiming a page doesn't actually change its state on disk --- we simply -record it in th...
porting/npl/nuttx: fix callout_handler implement callout_thread is working for all timeout callout, it need an endless loop to catch all message.
@@ -44,6 +44,7 @@ callout_handler(pthread_addr_t arg) { struct ble_npl_callout *c; + while (true) { pthread_mutex_lock(&callout_mutex); while (!pending_callout) { pthread_cond_wait(&callout_cond, &callout_mutex); @@ -60,6 +61,7 @@ callout_handler(pthread_addr_t arg) } else { c->c_ev.ev_cb(&c->c_ev); } + } return NULL; ...
kdb: call procgetstorage on cache hits, fix missing pregetstorage in debug mode
@@ -809,11 +809,16 @@ static int elektraCacheLoadSplit (KDB * handle, Split * split, KeySet * ks, KeyS if (debugGlobalPositions) { + keySetName (parentKey, keyName (initialParent)); + elektraGlobalGet (handle, ks, parentKey, PREGETSTORAGE, INIT); + elektraGlobalGet (handle, ks, parentKey, PREGETSTORAGE, MAXONCE); + ele...
Fix profile test I modified profile to align values, which added extra whitespace. I was using the version of split that took a delimiter (space), which will not consolidate whitespace. Switch to the version without a parameter, which does consolidate.
@@ -51,7 +51,7 @@ def profile(*unused): ] profile_output = subprocess.check_output(' '.join(profile_args), shell=True) profile_lines = profile_output.decode().split('\n') - profile_tuples = [line.split(' ') for line in profile_lines if line] + profile_tuples = [line.split() for line in profile_lines if line] profile_ma...
Updated README.md for upcoming version.
@@ -97,9 +97,9 @@ GoAccess can be compiled and used on *nix systems. Download, extract and compile GoAccess with: - $ wget https://tar.goaccess.io/goaccess-1.4.6.tar.gz - $ tar -xzvf goaccess-1.4.6.tar.gz - $ cd goaccess-1.4.6/ + $ wget https://tar.goaccess.io/goaccess-1.5.tar.gz + $ tar -xzvf goaccess-1.5.tar.gz + $ c...
brya: LED comments improvement Fix typo, add functional description BRANCH=none TEST=none (changed comments only)
* found in the LICENSE file. */ -/* Waddledoo specific PWM LED settings. */ +/* Brya specific PWM LED settings: there are 2 LEDs on each side of the board, + * each one can be controlled separately. The LED colors are white or amber, + * and the default behavior is tied to the charging process: both sides are + * amber...
latest obs package config
@@ -62,8 +62,8 @@ compiler_families=["gnu8","intel"] mpi_families=["openmpi3","mpich","mvapich2","impi"] -standalone = ["charliecloud","clustershell","cmake","docs","easybuild","lmod", - "meta-packages","papi","slurm","test-suite","valgrind"] +standalone = ["!charliecloud","clustershell","cmake","docs","easybuild","lmo...
doc: cosmetic fixup of reference to stale header
@@ -24,7 +24,7 @@ Secure and Trusted Boot Library (LibSTB) Documentation In order to support Secure and Trusted Boot, the flash driver calls libSTB to verify and measure the code it fetches from PNOR. -LibSTB is initialized by calling *stb_init()*, see ``libstb/stb.h``. +LibSTB is initialized by calling *stb_init()*, s...
Allow relative paths for jpm commands (deps) Also default headerpath, libpath, and binpath of of (dyn :syspath) instead of $JANET_MODPATH. This allows setting $JANET_MODPATH without needing to mess with the other settings.
(def JANET_MODPATH (or (os/getenv "JANET_MODPATH") (dyn :syspath))) (def JANET_HEADERPATH (or (os/getenv "JANET_HEADERPATH") - (if-let [j JANET_MODPATH] + (if-let [j (dyn :syspath)] (string j "/../../include/janet")))) (def JANET_BINPATH (or (os/getenv "JANET_BINPATH") - (if-let [j JANET_MODPATH] + (if-let [j (dyn :sys...
Yardoc: Add missing document in Magick module
@@ -29,6 +29,29 @@ module Magick IMAGEMAGICK_VERSION = Magick::Magick_version.split[1].split('-').first class << self + # Describes the image formats supported by ImageMagick. + # If the optional block is present, calls the block once for each image format. + # The first argument, +k+, is the format name. The second ar...
fuzz: mk_check: cleanup service code
@@ -19,6 +19,7 @@ void cb_main(mk_request_t *request, void *data) mk_http_status(request, 200); mk_http_header(request, "X-Monkey", 8, "OK", 2); + mk_http_send(request, ":)\n", 3, NULL); mk_http_done(request); } @@ -77,32 +78,9 @@ static void signal_init() signal(SIGTERM, &signal_handler); } -static void cb_queue_messa...
fix setting google zone permissions in nightly job
@@ -38,7 +38,7 @@ jobs: - run: echo $GCLOUD_SERVICE_KEY | gcloud auth activate-service-account --key-file=- - run: sudo gcloud config set project ${GOOGLE_PROJECT_ID} - - run: gcloud --quiet config set compute/zone ${GOOGLE_COMPUTE_ZONE} + - run: sudo gcloud --quiet config set compute/zone ${GOOGLE_COMPUTE_ZONE} - run:...
Bugfix gui slider mouse translation handling
@@ -36,8 +36,12 @@ static void _gui_slider_handle_mouse_moved(gui_slider_t* s, Point mouse_pos) { static void _gui_slider_handle_mouse_dragged(gui_slider_t* s, Point mouse_pos) { mouse_pos = point_make(mouse_pos.x - s->superview->frame.origin.x, mouse_pos.y - s->superview->frame.origin.y); if (s->slider_percent_updated...
PROV: Adapt the DSA keymgmt implementation to no ex_fields
@@ -135,9 +135,8 @@ static int key_to_params(DSA *dsa, OSSL_PARAM_BLD *tmpl) static void *dsa_importdomparams(void *provctx, const OSSL_PARAM params[]) { DSA *dsa; - OPENSSL_CTX *libctx = PROV_LIBRARY_CONTEXT_OF(provctx); - if ((dsa = dsa_new(libctx)) == NULL + if ((dsa = DSA_new()) == NULL || !params_to_domparams(dsa,...
Ensure docker images are using latest versions of base OS packages.
@@ -38,7 +38,7 @@ default: @echo "valid targets: all build dockerfiles push tag export clean" dockerfiles: $(addprefix Dockerfile., $(MODULES)) -build: $(addprefix build-,$(MODULES)) +build: refresh-base $(addprefix build-,$(MODULES)) tag: $(addprefix tag-,$(MODULES)) push: $(addprefix push-,$(MODULES)) latest export: ...
support 8K5 in sim/README
@@ -102,15 +102,15 @@ This means, that PSLSE&sim only runs, as long as the app/list/xterm is avail. If you start an app in the xterm and cntl-C it without exiting from the xterm, the simulation keeps running. ## card and action settings -Currently supported are AlphaData KU3, Nallatech 250S and 250S+, Semptian NSA121B ...
Fix `Rugged::Tree.diff` to allow the first given tree to be `nil`.
@@ -391,6 +391,8 @@ static VALUE rb_git_diff_tree_to_tree(VALUE self, VALUE rb_repo, VALUE rb_tree, struct nogvl_diff_args args; Data_Get_Struct(rb_repo, git_repository, repo); + + if(RTEST(rb_tree)) Data_Get_Struct(rb_tree, git_tree, tree); if(RTEST(rb_other_tree))
Windows CI: explicitly use windows-2019 instead of using windows-latest
@@ -15,7 +15,7 @@ jobs: strategy: matrix: os: - - windows-latest + - windows-2019 - windows-2022 platform: - arch: win64 @@ -56,7 +56,7 @@ jobs: strategy: matrix: os: - - windows-latest + - windows-2019 - windows-2022 runs-on: ${{matrix.os}} steps: @@ -80,7 +80,7 @@ jobs: strategy: matrix: os: - - windows-latest + - wi...
external/trace: Fix endianness detection in Makefile The Makefile for the dump_trace tool does not correctly determine endianness on Power. Instead Big Endian is always used on Power. Fix so Little Endian will be detected.
-HOSTEND=$(shell uname -m | sed -e 's/^i.*86$$/LITTLE/' -e 's/^x86.*/LITTLE/' -e 's/^ppc.*/BIG/') +HOSTEND=$(shell uname -m | sed -e 's/^i.*86$$/LITTLE/' -e 's/^x86.*/LITTLE/' -e 's/^ppc64le/LITTLE/' -e 's/^ppc.*/BIG/') CFLAGS=-g -Wall -DHAVE_$(HOSTEND)_ENDIAN -I../../include -I../../ dump_trace: dump_trace.c
dev-tools/numpy: downgrade to v15.4 (last version that supports python3.4 which is what is available on SLE 12 SP4)
@@ -22,7 +22,7 @@ Requires: openblas-%{compiler_family}%{PROJ_DELIM} %define pname numpy Name: %{python_prefix}-%{pname}-%{compiler_family}%{PROJ_DELIM} -Version: 1.17.2 +Version: 1.15.4 Release: 1%{?dist} Url: https://github.com/numpy/numpy Summary: NumPy array processing for numbers, strings, records and objects
Handle tabs in fonts;
@@ -106,6 +106,14 @@ void lovrFontRender(Font* font, const char* str, float wrap, HorizontalAlign hal continue; } + // Tabs + if (codepoint == '\t') { + Glyph* space = lovrFontGetGlyph(font, ' '); + cx += space->advance * 4; + str += bytes; + continue; + } + // Kerning cx += lovrFontGetKerning(font, previous, codepoint...
[run_rocm_test] - Remove 5.0 passes that throw assertions. Assertions are disabled for ROCm releases. These tests were not ready to be in expected passes.
-lsms_triangular_packing.cpp -test_allocate_allocator.c test_allocate.c test_declare_target_parallel_for.c test_loop_lastprivate_device.F90 @@ -38,6 +36,4 @@ test_target_teams_distribute_reduction_eqv.F90 test_target_teams_distribute_reduction_multiply.F90 test_target_teams_distribute_reduction_neqv.F90 test_target_tea...
[bsp][simulator] Fix compilation errors
@@ -254,6 +254,7 @@ off_t lseek(int fd, off_t offset, int whence) } RTM_EXPORT(lseek); +#ifndef _WIN32 /* we can not implement these functions */ /** * this function is a POSIX compliant version, which will rename old file name * to new file name. @@ -280,6 +281,7 @@ int rename(const char *old_file, const char *new_fil...
update the docs for running rune containers in kubernets cluster
.PHONY: all install clean uninstall package export INCLAVARE_CONTAINERS_VERSION := $(shell cat ./VERSION) -components := rune shim sgx-tools +components := rune shim epm sgx-tools all: for name in $(components); do \
npu2: Fix argument order to npu2_scom_write in BAR setup The arguments to npu2_scom_write() in npu2_write_bar() resulting in incorrect BAR setup in some circumstances. This patch swaps the arguments so they are correct.
@@ -196,7 +196,7 @@ static void npu2_write_bar(struct npu2 *p, if (p) npu2_write(p, reg, val); else - npu2_scom_write(gcid, scom, reg, val, NPU2_MISC_DA_LEN_8B); + npu2_scom_write(gcid, scom, reg, NPU2_MISC_DA_LEN_8B, val); } }
tests: internal: config_format: allow 'service' section to be set twice
@@ -44,9 +44,9 @@ void test_api() kv = flb_cf_property_add(cf, &service->properties, " ", 3, "", 0); TEST_CHECK(kv == NULL); - /* try to add another 'SERVICE' section, it should fail */ + /* try to add another 'SERVICE' section, it should return the same one */ s_tmp = flb_cf_section_create(cf, "SERVICE", 7); - TEST_CH...
Make error sheet two-sided as needed.
@@ -1517,8 +1517,10 @@ generate_job_error_sheet( pdfio_stream_t *st; // Page stream pdfio_obj_t *courier; // Courier font pdfio_dict_t *dict; // Page dictionary + size_t i, // Looping var + count; // Number of pages const char *msg; // Current message - size_t count; // Number of messages + size_t mcount; // Number of ...
Force query of incomplete simple descriptors
@@ -140,7 +140,7 @@ void DEV_SimpleDescriptorStateHandler(Device *device, const Event &event) for (const auto ep : device->node()->endpoints()) { deCONZ::SimpleDescriptor sd; - if (device->node()->copySimpleDescriptor(ep, &sd) != 0) + if (device->node()->copySimpleDescriptor(ep, &sd) != 0 || sd.deviceId() == 0xffff) { ...
zuse: boundary assertions for schnorr Just assert on mis-sized values.
~/ %sosi |= [sk=@I m=@I a=@I] ^- @J + ?> (gte 32 (met 3 sk)) + ?> (gte 32 (met 3 m)) + ?> (gte 32 (met 3 a)) =/ c curve ?< |(=(0 sk) (gte sk n.domain.c)) =/ pp ~/ %sove |= [pk=@I m=@I sig=@J] ^- ? + ?> (gte 32 (met 3 pk)) + ?> (gte 32 (met 3 m)) + ?> (gte 64 (met 3 sig)) =/ c curve =/ pup (lift-x pk) ?~ pup
sysrepoctl BUGFIX leading space in submodules list
@@ -242,7 +242,9 @@ srctl_list_collect(sr_conn_ctx_t *conn, struct lyd_node *sr_data, const struct l for (i = 0; i < ly_mod->inc_size; ++i) { str = ly_mod->inc[i].submodule->name; cur_item->submodules = realloc(cur_item->submodules, strlen(cur_item->submodules) + 1 + strlen(str) + 1); + if (i) { strcat(cur_item->submod...
Doc: fix typos. "PGcon" should be "PGconn". Noted by D. Frey. Discussion:
@@ -449,7 +449,7 @@ pg_int64 lo_tell64(PGconn *conn, int fd); <indexterm><primary>lo_truncate</primary></indexterm> To truncate a large object to a given length, call <synopsis> -int lo_truncate(PGcon *conn, int fd, size_t len); +int lo_truncate(PGconn *conn, int fd, size_t len); </synopsis> This function truncates the...
Fix missing parentheses around parameter names in macros.
@@ -78,8 +78,8 @@ static float lattice( perlin_data_t *data, int ix, float fx, int iy, float fy, i #define DELTA 1e-6f #define SWAP(a, b, t) t = a; a = b; b = t -#define FLOOR(a) ((a)> 0 ? ((int)a) : (((int)a)-1) ) -#define CUBIC(a) ( a * a * (3 - 2*a) ) +#define FLOOR(a) ((a) > 0 ? (int)(a) : ((int)(a) - 1) ) +#define...
Promote DDF status to gold
"manufacturername": "$MF_PHILIPS", "modelid": "SML003", "product": "Motion Sensor 2. Gen (SML003)", - "status": "Silver", + "status": "Gold", "sleeper": false, "md:known_issues": [ ], "subdevices": [
Increased MAXARRY in vplanet.h to 128 to allow for more than 64 output options.
#define NAMELEN 100 #define MAXFILES 24 /* Maximum number of input files */ -#define MAXARRAY 64 /* Maximum number of options in +#define MAXARRAY 128 /* Maximum number of options in * an option array */ #define NUMOPT 1000 /* Number of options that could be * in MODULE */
BugID:18438196: Remove .gdbinit from .PHONY
@@ -119,7 +119,7 @@ COMPONENT_DEPENDENCY_SCRIPT := $(SCRIPTS_PATH)/component_dependencies.py COMPONENT_DEPENDENCY = $(PYTHON) $(COMPONENT_DEPENDENCY_SCRIPT) export COMPONENT_DEPENDENCY -.PHONY: $(BUILD_STRING) main_app bootloader clean Help download total run download_bootloader .gdbinit .gdbinit$(MBINSTYPE_LOWER) expo...
Update release notes with window-save size fixes for Windows OS.
@@ -95,6 +95,7 @@ enhancements and bug-fixes that were added to this release.</p> <li>Fixed a type related compile error in vtkMergeTree that broke builds with gcc 4.9 on Raspberry Pis.</li> <li>Corrected an issue with newer versions of the Mac operating system (10.13, High Sierra), where VisIt couldn't connect to remo...
common/host_command_pd.c: Format with clang-format BRANCH=none TEST=none
@@ -126,8 +126,8 @@ static void pd_check_chg_status(struct ec_response_pd_status *pd_status) #endif /* Set input current limit */ - rv = charge_set_input_current_limit(MAX(pd_status->curr_lim_ma, - CONFIG_CHARGER_INPUT_CURRENT), 0); + rv = charge_set_input_current_limit( + MAX(pd_status->curr_lim_ma, CONFIG_CHARGER_INP...
vscode: Remove duplicated RTT terminal for evkninab3[Zephyr]
"interface": "swd", "servertype": "jlink", "runToMain": true, - "rttConfig": { - "enabled": true, - "address": "auto", - "decoders": [ - { - "label": "", - "port": 0, - "type": "console" - } - ] - }, "armToolchainPath": "${input:getArmToolchainPath}", "preLaunchTask": "Predebug evkninab3 runner [Zephyr]" },