message
stringlengths
6
474
diff
stringlengths
8
5.22k
update read function
@@ -308,7 +308,7 @@ shutdownTlsSession(transport_t *trans) // shutdown not complete, call again char buf[4096]; while(1) { - ret = SSL_read(trans->net.tls.ssl, buf, sizeof(buf)); + ret = SCOPE_SSL_read(trans->net.tls.ssl, buf, sizeof(buf)); if (ret <= 0) { break; }
acrn-config: add 2 UUIDs for post-launched Standard VM Add 2 UUIDs for post-launched Standard VM. Acked-by: Victor Sun Acked-by: Terry Zou
@@ -41,7 +41,8 @@ UUID_DB = { 'SOS_VM':'dbbbd434-7a57-4216-a12c-2201f1ab0240', 'SAFETY_VM':'fc836901-8685-4bc0-8b71-6e31dc36fa47', 'PRE_STD_VM':['26c5e0d8-8f8a-47d8-8109-f201ebd61a5e', 'dd87ce08-66f9-473d-bc58-7605837f935e'], - 'POST_STD_VM':['d2795438-25d6-11e8-864e-cb7a18b34643', '615db82a-e189-4b4f-8dbb-d321343e4ab3...
add deep and hdf OPs
https://iam-test.indigo-datacloud.eu/ https://iam-test.indigo-datacloud.eu/manage/dev/dynreg https://iam.deep-hybrid-datacloud.eu/ https://iam.deep-hybrid-datacloud.eu/manage/dev/dynreg deep-hdc-iam-support@lists.cnaf.infn.it +https://iam.extreme-datacloud.eu/ https://iam.extreme-hybrid-datacloud.eu/manage/dev/dynreg d...
Default the python bindings to on
@@ -22,7 +22,7 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake) option(OPENEXR_BUILD_ILMBASE "Build IlmBase" ON) option(OPENEXR_BUILD_OPENEXR "Build OpenEXR" ON) -option(OPENEXR_BUILD_PYTHON_LIBS "Build the Python bindings" OFF) +option(OPENEXR_BUILD_PYTHON_LIBS "Build the Python binding...
swaynag: remove unnecessary zero of swaynag struct Global variables are initialized to 0.
@@ -25,7 +25,6 @@ int main(int argc, char **argv) { list_t *types = create_list(); swaynag_types_add_default(types); - memset(&swaynag, 0, sizeof(swaynag)); swaynag.buttons = create_list(); wl_list_init(&swaynag.outputs); wl_list_init(&swaynag.seats);
actions: print JDK capabilities
@@ -78,7 +78,7 @@ jobs: which javac || true javac --version || true /usr/libexec/java_home --failfast || true - cat $JAVA_HOME/Contents/Info.plist + cat $JAVA_HOME/../Info.plist || true - name: Configure CMake # Use a bash shell so we can use the same syntax for environment variable
Typo: should check mgf1md
@@ -504,7 +504,7 @@ static int pkey_rsa_ctrl(EVP_PKEY_CTX *ctx, int type, int p1, void *p2) *(const EVP_MD **)p2 = rctx->md; } else { if (rsa_pss_restricted(rctx)) { - if (EVP_MD_type(rctx->md) == EVP_MD_type(p2)) + if (EVP_MD_type(rctx->mgf1md) == EVP_MD_type(p2)) return 1; RSAerr(RSA_F_PKEY_RSA_CTRL, RSA_R_MGF1_DIGES...
Dockerfile: do not upgrade pip/setuptools
@@ -101,9 +101,7 @@ RUN wget -nv https://github.com/renode/renode/releases/download/v${RENODE_VERSIO # Matplotlib is required for result visualization. # Keep the image size down by removing the pip cache when done. COPY files/rtd_requirements.txt /tmp -RUN python3 -m pip -q install --upgrade pip && \ - python3 -m pip ...
remove publish test, add clang config
@@ -38,7 +38,15 @@ jobs: Release: CC: gcc BuildType: release - cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Debug + cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Release + Debug Clang: + CC: clang + BuildType: debug-clang + cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Debug -DMI_CHECK_FULL=ON + Release Clang: + CC: clang + BuildType: release-clang +...
options/ansi: reset error and eof flags on rewind
@@ -592,7 +592,7 @@ int setvbuf(FILE *file_base, char *buffer, int mode, size_t size) { void rewind(FILE *file_base) { auto file = static_cast<mlibc::abstract_file *>(file_base); file->seek(0, SEEK_SET); - // TODO: rewind() should also clear the error indicator. + file_base->__status_bits &= ~(__MLIBC_EOF_BIT | __MLIBC...
exclude non-tracked files in swig check
@@ -20,6 +20,8 @@ t1_swig_cwrap=`git log --pretty=format:%ct -n 1 ../pyccl/ccl_wrap.c` for hdr in `ls ../include/*.h ../class/include/*.h ../pyccl/*.i`; do last_commit=`git log --pretty=format:%ct -n 1 $hdr` + if [ ! -z "$last_commit" ]; + then if [ "$last_commit" -gt "$t1_swig_pylib" ] || [ "$last_commit" -gt "$t1_swi...
build: secrets optional
@@ -16,11 +16,11 @@ on: required: false secrets: CACHIX_AUTH_TOKEN: - required: true + required: false GCS_SERVICE_ACCOUNT_KEY: - required: true + required: false GCS_PROJECT: - required: true + required: false workflow_dispatch: inputs:
pbio/servo: conditionally reset integrator For ongoing maneuvers, we don't need to reset the integrator. We still need to pause+resume to ensure the state gets saved. This will save the integration state for the current maneuver, since it will continue integrating a different trajectory afterwards.
@@ -449,11 +449,18 @@ pbio_error_t pbio_servo_run(pbio_servo_t *srv, int32_t speed) { if (busy) { // If a maneuver is ongoing, we start from the current reference get_reference(time_start, &srv->control.trajectory, &count_start, &rate_start); + + // Pause and unpause the integrator. This saves the current state, so we ...
stm32/modmachine: Get machine.sleep working on F0 MCUs.
@@ -524,6 +524,20 @@ STATIC mp_obj_t machine_sleep(void) { // reconfigure the system clock after waking up + #if defined(STM32F0) + + // Enable HSI48 + __HAL_RCC_HSI48_ENABLE(); + while (!__HAL_RCC_GET_FLAG(RCC_FLAG_HSI48RDY)) { + } + + // Select HSI48 as system clock source + MODIFY_REG(RCC->CFGR, RCC_CFGR_SW, RCC_SYS...
term: bump on-return spinner delay from 0 to 100ms Not drawing the spinner when the command gets processed nearly instantly makes things feel slightly better.
@@ -1023,6 +1023,7 @@ _term_spin_timer_cb(uv_timer_t* tim_u) _term_spin_step(uty_u); } +#define _SPIN_FAST_US 100UL // spinner activation delay when expected #define _SPIN_COOL_US 500UL // spinner activation delay when cool #define _SPIN_WARM_US 50UL // spinner activation delay when warm #define _SPIN_RATE_US 250UL // ...
npm start runs parcel in parallel
"description": "My Electron application description", "main": "dist/index.js", "scripts": { - "start": "electron-forge start", + "start": "run-p parcel:watch start:electron", + "start:electron": "electron-forge start", "package": "electron-forge package", "make:electron": "electron-forge make", "make": "run-s parcel ma...
bond: cli rename rename "enslave interface <slave> to <BondEthernetx>" to "bond add <BondEthernetx> <slave> "detach interface <slave>" to "bond del <slave>"
@@ -505,12 +505,10 @@ enslave_interface_command_fn (vlib_main_t * vm, unformat_input_t * input, args.group = ~0; while (unformat_check_input (line_input) != UNFORMAT_END_OF_INPUT) { - if (unformat (line_input, "interface %U", + if (unformat (line_input, "%U %U", + unformat_vnet_sw_interface, vnm, &args.group, unformat_...
change streamAppendItem to use raxEOF instead of raxNext The call to raxNext didn't really progress in the rax, since we were already on the last item. instead, all it does is check that it is indeed a valid item, so the new code clearer.
@@ -458,8 +458,8 @@ int streamAppendItem(stream *s, robj **argv, int64_t numfields, streamID *added_ size_t lp_bytes = 0; /* Total bytes in the tail listpack. */ unsigned char *lp = NULL; /* Tail listpack pointer. */ + if (!raxEOF(&ri)) { /* Get a reference to the tail node listpack. */ - if (raxNext(&ri)) { lp = ri.da...
fix pinout ptp
@@ -147,8 +147,8 @@ void EXTI4_15_IRQHandler(void) /* USER CODE BEGIN EXTI4_15_IRQn 0 */ /* USER CODE END EXTI4_15_IRQn 0 */ - HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_11); - HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_12); + HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_8); + HAL_GPIO_EXTI_IRQHandler(GPIO_PIN_13); /* USER CODE BEGIN EXTI4_15_IRQn...
Enable xGEMMT functions
#define INCLUDE_CTGSYL INCLUDE_XTGSYL #define INCLUDE_ZTGSYL INCLUDE_XTGSYL -#define INCLUDE_XGEMMT 0 +#define INCLUDE_XGEMMT 1 #define INCLUDE_SGEMMT INCLUDE_XGEMMT #define INCLUDE_DGEMMT INCLUDE_XGEMMT #define INCLUDE_CGEMMT INCLUDE_XGEMMT
test:add state check for certificate and verify
@@ -11206,6 +11206,8 @@ run_test "TLS 1.3: Server side check - openssl" \ -s "tls13 server state: MBEDTLS_SSL_SERVER_HELLO" \ -s "tls13 server state: MBEDTLS_SSL_ENCRYPTED_EXTENSIONS" \ -s "tls13 server state: MBEDTLS_SSL_SERVER_CERTIFICATE" \ + -s "tls13 server state: MBEDTLS_SSL_CERTIFICATE_VERIFY" \ + -s "tls13 serv...
fix inherate will overwrite cls table
@@ -66,7 +66,7 @@ end local function inherite(cls,base) for k,v in pairs(getmetatable(base)) do - if k:sub(1,2)~='__' and k:sub(1,1)>='A' and k:sub(1,1)<='Z' then + if not cls[k] and k:sub(1,2)~='__' and k:sub(1,1)>='A' and k:sub(1,1)<='Z' then cls[k]=v end end
HLS Search: Prettify formatting and print results
@@ -482,10 +482,14 @@ int main(int argc, char *argv[]) printf(" >>> Searching : run n %d \n", run); printf("***************************************************\n"); printf("Start Step3 (Do Search by hardware, in DDR) .......\n"); - if (method == 1) printf(" >>>>>>>>>> Naive method (%d) \n", method); - else if (method =...
changes in uart_console to avoid filling buffer when UART is suspended
@@ -90,7 +90,8 @@ uart_console_queue_char(struct uart_dev *uart_dev, uint8_t ch) { int sr; - if ((uart_dev->ud_dev.od_flags & OS_DEV_F_STATUS_OPEN) == 0) { + if (((uart_dev->ud_dev.od_flags & OS_DEV_F_STATUS_OPEN) == 0) || + ((uart_dev->ud_dev.od_flags & OS_DEV_F_STATUS_SUSPENDED) != 0)) { return; }
seccomp: Add owner reference information to the profile annotations
@@ -33,6 +33,7 @@ import ( gadgetv1alpha1 "github.com/kinvolk/inspektor-gadget/pkg/apis/gadget/v1alpha1" "github.com/kinvolk/inspektor-gadget/pkg/gadgets" seccomptracer "github.com/kinvolk/inspektor-gadget/pkg/gadgets/seccomp/tracer" + pb "github.com/kinvolk/inspektor-gadget/pkg/gadgettracermanager/api" "github.com/kin...
VERSION bump to version 0.12.20
@@ -32,7 +32,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0") # set version set(LIBNETCONF2_MAJOR_VERSION 0) set(LIBNETCONF2_MINOR_VERSION 12) -set(LIBNETCONF2_MICRO_VERSION 19) +set(LIBNETCONF2_MICRO_VERSION 20) set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION}) set(L...
configure: build list of image files
@@ -1956,6 +1956,7 @@ if ($builder eq "unified") { my %defines = (); my %depends = (); my %generate = (); + my %imagedocs = (); my %htmldocs = (); my %mandocs = (); @@ -2169,6 +2170,11 @@ if ($builder eq "unified") { \$attributes{scripts}, $+{ATTRIBS}, tokenize($expand_variables->($+{VALUE}))) if !@skip || $skip[$#skip...
Downgrade SQL printout from INFO to TRACE
@@ -676,7 +676,7 @@ namespace ARIASDK_NS_BEGIN { } int64_t startTime = PAL::getMonotonicTimeMs(); - LOG_INFO("=== [%p] execute2 step...", m_stmt); + LOG_TRACE("=== [%p] execute2 step...", m_stmt); int result = g_sqlite3Proxy->sqlite3_step(m_stmt); m_duration = static_cast<unsigned>(PAL::getMonotonicTimeMs() - startTime...
exception for custom metrics on GPU
@@ -1624,6 +1624,8 @@ cdef class _PreprocessParams: params_to_json = params if is_custom_objective or is_custom_eval_metric: + if params.get("task_type") == "GPU": + raise CatBoostError("User defined loss functions and metrics are not supported for GPU") keys_to_replace = set() if is_custom_objective: keys_to_replace.a...
Fix crash on suggestions
@@ -184,16 +184,20 @@ class EditorViewController: UIViewController, SyntaxTextViewDelegate, InputAssis func textViewDidChangeSelection(_ textView: UITextView) { if textView.isFirstResponder { - inputAssistant.reloadData() + updateSuggestions() } return self.textView.textViewDidChangeSelection(textView) } func textViewD...
Set a default command timeout
@@ -879,8 +879,7 @@ public class Program : BackgroundService connectionString.Append($"SSL Password={pgConfig.TlsPassword};"); } - if(pgConfig.CommandTimeout.HasValue) - connectionString.Append($"CommandTimeout={pgConfig.CommandTimeout.Value};"); + connectionString.Append($"CommandTimeout={pgConfig.CommandTimeout ?? 12...
[core] temporarily disable O_NOFOLLOW on Cygwin broken in current cygwin; fixed in cygwin test x-ref:
@@ -171,6 +171,10 @@ int fdevent_dup_cloexec (int fd) { #endif int fdevent_open_cloexec(const char *pathname, int symlinks, int flags, mode_t mode) { +#ifdef __CYGWIN__ /* broken in current cygwin; fixed in cygwin test */ +#undef O_NOFOLLOW +#define O_NOFOLLOW 0 +#endif if (!symlinks) flags |= O_NOFOLLOW; #ifdef O_CLOE...
groups: trim ship string on preSig
@@ -234,11 +234,11 @@ export function preSig(ship: string): string { return ''; } - if (ship.startsWith('~')) { - return ship; + if (ship.trim().startsWith('~')) { + return ship.trim(); } - return '~'.concat(ship); + return '~'.concat(ship.trim()); } export function uxToHex(ux: string) {
Fix Lua compile warning Apparently, GCC 11.2.0 has a new fancy warning for misleading indentations. It prints a warning when BRET(b) is on the same line as the loop.
@@ -98,7 +98,8 @@ static int bit_bnot(lua_State *L) { BRET(~barg(L, 1)) } #define BIT_OP(func, opr) \ static int func(lua_State *L) { int i; UBits b = barg(L, 1); \ - for (i = lua_gettop(L); i > 1; i--) b opr barg(L, i); BRET(b) } + for (i = lua_gettop(L); i > 1; i--) b opr barg(L, i); \ + BRET(b) } BIT_OP(bit_band, &=...
Changelog note for PR Merge from akhait: has been revoked. It removes the from the default list in unbound-anchor, now that the revocation period is over. is the only trust anchor in the shipped default now.
+21 April 2020: Wouter + - Merge #225 from akhait: KSK-2010 has been revoked. It removes the + KSK-2010 from the default list in unbound-anchor, now that the + revocation period is over. KSK-2017 is the only trust anchor in + the shipped default now. + 21 April 2020: George - Change default value for 'rrset-roundrobin'...
Release: Add info about fixed minimal config
@@ -93,6 +93,7 @@ These notes are of interest for people developing Elektra: Many problems were resolved with the following fixes: - [YAML CPP](http://libelektra.org/plugins/yamlcpp) now also saves key values directly below a mountpoint correctly. +- If you use a minimal configuration ([`dump`](http://libelektra.org/pl...
cc2500: support having USE_CC2500_PA_LNA without CC2500_LNA_EN_PIN
@@ -23,8 +23,11 @@ static void cc2500_hardware_init() { #if defined(USE_CC2500_PA_LNA) // turn antenna on + +#if defined(CC2500_LNA_EN_PIN) gpio_pin_init(&gpio_init, CC2500_LNA_EN_PIN); gpio_pin_set(CC2500_LNA_EN_PIN); +#endif // turn tx off gpio_pin_init(&gpio_init, CC2500_TX_EN_PIN); @@ -180,14 +183,22 @@ void cc2500...
Correct line ending in man page.
@@ -204,7 +204,7 @@ A power\-user interface that lets you specify an unbound config file, see \fIunbound.conf\fR(5), which is read for configuration. Not all options are relevant. For some specific options, such as adding trust anchors, special routines exist. This function is thread\-safe only if a single instance of ...
another fix for copy()
@@ -143,7 +143,7 @@ foreach my $distro (@distros) { # add .repo file(s) print "Adding [base] repofile contents\n"; - File::copy("repo.base.in","$tmp_dir/$distro/OpenHPC.local.repo") || die "Unable to copy repo.base.in\n"; + File::Copy::copy("repo.base.in","$tmp_dir/$distro/OpenHPC.local.repo") || die "Unable to copy re...
u3: fixes memory leak introduced in +murn jet
@@ -29,8 +29,9 @@ u3qb_murn(u3_noun a, u3_noun b) if ( u3_nul != res ) { *lit = u3i_defcons(&hed, &tel); - *hed = u3t(res); + *hed = u3k(u3t(res)); lit = tel; + u3z(res); } } while ( u3_nul != t );
Implement a mechanism to erase cached definitions/tables
@@ -811,6 +811,7 @@ void grib_context_reset(grib_context* c) grib_context_free(c, cur->value); grib_context_free(c, cur); } + c->grib_definition_files_dir=0; } if (c->multi_support_on) @@ -831,6 +832,7 @@ void grib_context_reset(grib_context* c) void grib_context_delete(grib_context* c) { + size_t i = 0; if (!c) c = gr...
mpi-families/openmpi: bump version to v3.1.0
@@ -34,12 +34,12 @@ Summary: A powerful implementation of MPI Name: %{pname}%{RMS_DELIM}-%{compiler_family}%{PROJ_DELIM} -Version: 3.0.1 +Version: 3.1.0 Release: 1%{?dist} License: BSD-3-Clause Group: %{PROJ_NAME}/mpi-families URL: http://www.open-mpi.org -Source0: http://www.open-mpi.org/software/ompi/v3.0/downloads/o...
Support devices with sectors less than 256 bytes If a device's sector is smaller than 256 bytes then set the minimum programming size to the sector size rather than asserting.
@@ -172,7 +172,9 @@ static error_t target_flash_erase_chip(void) static uint32_t target_flash_program_page_min_size(uint32_t addr) { uint32_t size = 256; - util_assert(target_device.sector_size >= size); + if (size > target_device.sector_size) { + size = target_device.sector_size; + } return size; }
Add much more strict ncurses timeout (temp)
@@ -942,7 +942,7 @@ void ged_do_stuff(Ged* a) { do_play = true; break; } - if (secs_span - sdiff > ms_to_sec(2.0)) + if (secs_span - sdiff > ms_to_sec(0.5)) break; } if (do_play) { @@ -1885,12 +1885,18 @@ int main(int argc, char** argv) { new_timeout = 0; } else if (secs_to_d < ms_to_sec(2.0)) { new_timeout = 0; - } el...
Prototype enum flags for update marks.
@@ -118,6 +118,19 @@ movement restirctions are here! #define DEFAULT_ATK_DROPV_X 1.2 #define DEFAULT_ATK_DROPV_Z 0 +// Caskey, Damon V. +// 2019-01-25 +// +// Flags for flags used to time update functions. +typedef enum +{ + UPDATE_MARK_NONE = 0, + UPDATE_MARK_UPDATE_ANIMATION = 1, + UPDATE_MARK_CHECK_AI = 2, + UPDATE_...
Remove boomerang enumerator.
@@ -2471,19 +2471,6 @@ static const char *eplist_aiflag[] = "walkmode", }; -enum boomerang_enum -{ - _ep_boomerang_acceleration, - _ep_boomerang_hdistance, - _ep_boomerang_the_end, -}; - -static const char *eplist_boomerang[] = -{ - "acceleration", - "hdistance", -}; - enum edgerange_enum { _ep_edgerange_x,
Fix array access issue
@@ -802,7 +802,7 @@ static int encode_double_array(grib_context* c,grib_buffer* buff,long* pos, bufr } ii=0; - while (*v==GRIB_MISSING_DOUBLE && ii<nvals) { + while (ii<nvals && *v==GRIB_MISSING_DOUBLE) { thereIsAMissing=1; v++; ii++;
Increase unit test timeout from 90s to 300s (for tests with parameters).
@@ -307,7 +307,7 @@ foreach c, tests : components env: t_env, is_parallel: t_is_parallel, suite: t_suites, - timeout: 90, + timeout: 300, ) endforeach else
Fix Console commands not working
@@ -91,15 +91,15 @@ void Console::OnUpdate() const auto consoleLogger = spdlog::get("scripting"); consoleLogger->info("> {}", m_command); + if (!m_vm.ExecuteLua(m_command)) + consoleLogger->info("Command failed to execute!"); + m_historyIndex = m_history.size(); auto& history = m_history.emplace_back(); history.swap(m_...
system/trace: fix the irq print compatibility with systrace
@@ -592,8 +592,8 @@ static int trace_dump_one(FAR FILE *out, nih = (FAR struct note_irqhandler_s *)p; trace_dump_header(out, note, ctx); - fprintf(out, "irq_handler_entry: irq=%u\n", - nih->nih_irq); + fprintf(out, "irq_handler_entry: irq=%u name=%d\n", + nih->nih_irq, nih->nih_irq); cctx->intr_nest++; } break; @@ -604...
Fix explode operator crash on Windows. Initialize planeDist. It was being used uninitialized and caused the crash.
@@ -2236,7 +2236,7 @@ PlaneExplosion::CalcDisplacement(double *dataCenter, double expFactor, // on the plane. If it does, use a new data point that // isn't the cell center but still should be in the cell. // - double planeDist; + double planeDist = 0.0; for (int i = 0; i < 3; ++i) { planeDist += (dataPt[i] - planePoin...
hoon: comment and syn mod for +slab
=+ gun=(~(mint ut typ) %noun gen) [p.gun (slum q.gat q.sam)] :: +:: +slab states whether you can access an arm in a type +:: for reading, writing, or reading-and-writing. +:: ++ slab :: test if contains - |= {cog/@tas way/?(%read %rite %both) typ/type} + |= [way=?(%read %rite %both) cog=@tas typ=type] ?= [%| *] (~(find...
process: add release note
@@ -54,8 +54,8 @@ The following section lists news about the [modules](https://www.libelektra.org/ ### Process -- There is also a new plugin called [process](https://github.com/ElektraInitiative/libelektra/tree/master/src/plugins/process). - This plugin utilizes the pluginprocess library in order to execute arbitrary o...
acrn-config: fix the issue some select boxes disappear after edited fix the issue: some select boxes disappear unexpectly after edited
@@ -300,6 +300,8 @@ $().ready(function(){ }) $(document).on('click', "button:contains('+')", function() { + if($(this).text() != '+') + return; var add_vcpu_id = $(this).attr('id'); var id = add_vcpu_id.replace('add_vcpu_', ''); var config_item = $(this).parent().parent(); @@ -315,6 +317,8 @@ $().ready(function(){ }); ...
doc: update gpio api guide reference on c3
@@ -18,6 +18,13 @@ Overview - Note that GPIO26-32 are usually used for SPI flash. - GPIO46 is fixed to pull-down and is input only +.. only:: esp32c3 + + The {IDF_TARGET_NAME} chip features 22 physical GPIO pads. Some GPIO pads cannot be used or do not have the corresponding pin on the chip package. For more details, s...
common/mat33.c: Format with clang-format BRANCH=none TEST=none
@@ -59,8 +59,7 @@ void mat33_fp_swap_rows(mat33_fp_t A, const size_t i, const size_t j) * The i-th eigenvalue corresponds to the eigenvector in the i-th _row_ of * "eigenvecs". */ -void mat33_fp_get_eigenbasis(mat33_fp_t S, fpv3_t e_vals, - mat33_fp_t e_vecs) +void mat33_fp_get_eigenbasis(mat33_fp_t S, fpv3_t e_vals, m...
updating changelog for 2.6.1
# -*- mode: sh; fill-column: 120; -*- +Version 2.6.1 (08 Feb 2023) + +[General Updates] + + * updated ohpc-runtime meta-packages package to address singularity/apptainer dependency resolution + (https://github.com/openhpc/ohpc/issues/1644) + +-----------------------------------------------------------------------------...
fix build with MSYS2 x86_64
#include "compiler.h" #include "soundmng.h" -#include <algorithm> #include "parts.h" #include "sound.h" #if defined(VERMOUTH_LIB) @@ -50,7 +49,7 @@ static void sound_play_cb(void *userdata, UINT8 *stream, int len) { SINT16 *dst; const SINT32 *src; - length = (std::min)(len, (int)(soundmng.samples * 2 * sizeof(SINT16)))...
zephyr: nivviks: Enable port 80 This will enable port80 debug prints on EC console. BRANCH=None TEST=zmake configure -B ~/tmp/nivviks nivviks -b
@@ -126,6 +126,9 @@ CONFIG_PLATFORM_EC_CHARGER_SENSE_RESISTOR_AC=10 # TODO(b/188605676): bring these features up CONFIG_PLATFORM_EC_BACKLIGHT_LID=n +#Port 80 +CONFIG_PLATFORM_EC_PORT80=y + # Power Sequencing # TODO(b/203446068): Implement ADL-N power sequence. #CONFIG_PLATFORM_EC_POWERSEQ=y
dbginfo.sh: update copyright date update copyright date
# # dbginfo.sh - Tool to collect runtime, configuration, and trace information # -# Copyright IBM Corp. 2002, 2022 +# Copyright IBM Corp. 2002, 2023 # # s390-tools is free software; you can redistribute it and/or modify # it under the terms of the MIT license. See LICENSE for details. @@ -71,7 +71,7 @@ paramWORKDIR_BAS...
OpenCanopy: Silence Coverity uninit warning
@@ -1048,7 +1048,9 @@ GuiDrawLoop ( // 'Button down' must have caught and set an interaction object. // It may be NULL for objects that solely delegate pointer events. // + DEBUG_CODE_BEGIN (); ASSERT (ObjectHeld); + DEBUG_CODE_END (); if (HoldObject != NULL) { GuiGetBaseCoords (
doc: Update todo documentation
@@ -36,6 +36,12 @@ We also disabled `testmod_zeromqsend` from `kdb run_all` in `tests/shell/run_all We disabled `testmod_crypto` on `debian-unstable-full-clang` due to memory leaks. +### Shellcheck + +Several files have been excluded from checking with shellcheck (`tests/shell/check_shellcheck.sh`). + +The list of excl...
ifInput codegen
@@ -670,11 +670,19 @@ class ScriptBuilder { }; _getMemInt8 = (location: ScriptBuilderStackVariable, cVariable: string) => { - this._addCmd("VM_GET_INT8", location, `_${cVariable}`); + this._addCmd( + "VM_GET_INT8", + location, + cVariable.startsWith("^") ? cVariable : `_${cVariable}` + ); }; _getMemInt16 = (location: S...
Remove unused debug code.
@@ -34,10 +34,8 @@ def GetGCCRoot(rtconfig): if exec_path == '/usr/bin': root_path = os.path.join('/usr/lib', prefix) - print(root_path) else: root_path = os.path.join(exec_path, '..', prefix) - print(root_path) return root_path
Fix error in processing $target{enable}
@@ -1112,13 +1112,13 @@ foreach my $feature (@{$target{disable}}) { $disabled{$feature} = 'config'; } foreach my $feature (@{$target{enable}}) { - if ("default" eq ($disabled{$_} // "")) { + if ("default" eq ($disabled{$feature} // "")) { if (exists $deprecated_disablables{$feature}) { warn "***** config $target enable...
Fixed implicit casting from void* in lv_imgbuf.h
@@ -276,7 +276,7 @@ bool _lv_img_buf_transform_anti_alias(lv_img_transform_dsc_t * dsc); */ static inline bool lv_img_buf_transform(lv_img_transform_dsc_t * dsc, lv_coord_t x, lv_coord_t y) { - const uint8_t * src_u8 = dsc->cfg.src; + const uint8_t * src_u8 = (const uint8_t*)dsc->cfg.src; /*Get the target point relativ...
[ymake] Move DEFAULT_REQUIREMENTS to ymake.core.conf
@@ -11,6 +11,7 @@ INCLUDE_EXTS=.h .hh .hpp .rli .cuh .inc .i SANDBOX_TASK_ID=0 ARCADIA_TEST_ROOT=../arcadia_tests_data/ +DEFAULT_REQUIREMENTS=network:restricted when ($USE_GCCFILTER == "yes") { GCCFILTER=${ARCADIA_ROOT}/devtools/gccfilter/gccfilter.pl
Really fix compilation; fix crash when pmodel is not present in cpuinfo
@@ -88,18 +88,21 @@ int detect(void){ infile = fopen("/proc/cpuinfo", "r"); while (fgets(buffer, sizeof(buffer), infile)){ if(!strncmp(buffer, "model name", 10)){ - strcpy(model_buffer, buffer) + strcpy(model_buffer, buffer); pmodel = strchr(isa_buffer, ':') + 1; } if(!strncmp(buffer, "isa", 3)){ - strcpy(isa_buffer, b...
Ignore more items of gphdfs regression test results
-- start_matchignore +-- # start distro specific ignore m/INFO Configuration.deprecation/ m/INFO impl.YarnClientImpl/ m/INFO .*/ @@ -7,6 +8,19 @@ m/Hadoop command-line option parsing not performed.*/ m/\\\!export.*/ m/INFO client.RMProxy/ m/GP_IGNORE.*/ +m/This node is now reported.*/ +m/This node was earlier reported....
DOC: add --pm_by_vuart setting guide. new params: --pm_by_vuart is used to set power mananger by vuart on ACRN; so add it to user guide.
@@ -331,9 +331,27 @@ Here are descriptions for each of these ``acrn-dm`` command line parameters: - This option is used to define which channel could be used DM to communicate with VM about power management event. - ACRN supports two channels: ``ioc`` and ``power button``. + ACRN supports three channels: ``ioc``, ``pow...
Homestar:Sensor:Update the sensor matrix TEST=make -j BOARD=homestar Verify build on EVT board BRANCH=Trogdor
@@ -264,7 +264,7 @@ static struct bmi_drv_data_t g_bmi160_data; const mat33_fp_t lid_standard_ref = { { FLOAT_TO_FP(-1), 0, 0}, { 0, FLOAT_TO_FP(-1), 0}, - { 0, FLOAT_TO_FP(1), 0} + { 0, 0, FLOAT_TO_FP(1)} }; struct motion_sensor_t motion_sensors[] = {
Sconscript: requires on .o not on .elf
@@ -137,7 +137,9 @@ panda_env = Environment( version = f'const uint8_t gitversion[] = "{get_version(BUILDER, BUILD_TYPE)}";' gitversion = panda_env.Textfile("obj/gitversion.h", [version, ""]) Ignore('bootstub.o', gitversion) +Requires('bootstub.o', gitversion) Ignore('main.o', gitversion) +Requires('main.o', gitversion...
simplify the syntax
@@ -184,13 +184,13 @@ function main(platform) -- include abi directory if cxxstl_sdkdir:find("llvm-libc++", 1, true) then - local abi_path = path.translate(format("%s/sources/cxx-stl/llvm-libc++abi", ndk)) - local before_r13 = path.translate(path.join(abi_path, "libcxxabi")) - local after_r13 = path.translate(path.join...
test: removed the FIXME, because of added test cases
@@ -762,7 +762,6 @@ static void test_keyNeedSync (void) static void test_keyCopy (void) { - // FIXME: add more tests printf ("test copy key\n"); Key * k = keyNew ("/", KEY_END); Key * c = keyNew ("user:/name", KEY_END);
board/servo_v4p1/ioexpanders.c: Format with clang-format BRANCH=none TEST=none
@@ -220,8 +220,7 @@ inline int board_id_det(void) /* Cache board ID at init */ if (ioex_get_port(IOEX_GET_INFO(IOEX_BOARD_ID_DET0)->ioex, - IOEX_GET_INFO(IOEX_BOARD_ID_DET0)->port, - &id)) + IOEX_GET_INFO(IOEX_BOARD_ID_DET0)->port, &id)) return id; /* Board ID consists of bits 5, 4, and 3 */ @@ -296,8 +295,7 @@ inline ...
Add mime-support to docker container
@@ -3,7 +3,7 @@ FROM k8s.gcr.io/debian-base-amd64:1.0.0 RUN /usr/local/bin/clean-install \ git g++ make binutils autoconf automake autotools-dev libtool \ pkg-config libev-dev libjemalloc-dev \ - libev4 libjemalloc1 ca-certificates && \ + libev4 libjemalloc1 ca-certificates mime-support && \ git clone --depth 1 -b open...
framework/task_manager : Change free sequence in task_manager_set_broadcast_cb WID:152687 Pointer '&request_msg.data->cb_data' is dereferenced at task_manager_set_callback.c:237 after the referenced memory was deallocated at task_manager_set_callback.c:236 by calling function 'free'.
@@ -233,8 +233,8 @@ int task_manager_set_broadcast_cb(int msg, tm_broadcast_callback_t func, tm_msg_ ((tm_msg_t *)((tm_broadcast_info_t *)request_msg.data)->cb_data)->msg_size = cb_data->msg_size; ((tm_msg_t *)((tm_broadcast_info_t *)request_msg.data)->cb_data)->msg = TM_ALLOC(cb_data->msg_size); if (((tm_msg_t *)((tm_...
update reference_counting decision
## Decision -TODO @kodebach: update decision as implemented - -- add second reference counter to Key -- One counter is for locking references, the other one for general references. A locking reference automatically locks/unlocks the keyname. -- introduce reference counter for KeySets (for external keyset references) --...
filter_grep: add error messages for troubleshooting
@@ -76,6 +76,7 @@ static int set_rules(struct grep_ctx *ctx, struct flb_filter_instance *f_ins) rule->type = GREP_EXCLUDE; } else { + flb_error("[filter_grep] unknown rule type '%s'", kv->key); delete_rules(ctx); flb_free(rule); return -1; @@ -106,6 +107,8 @@ static int set_rules(struct grep_ctx *ctx, struct flb_filter...
volteer: Reconfigure SSD GPIOs Configure M2_SSD_PLN and M2_SSD_PLA as active-low and M2_SSD_PLN as open-drain, per vendor guidance. TEST=make buildall BRANCH=none
@@ -106,11 +106,12 @@ UNIMPLEMENTED(USB_C1_RT_FORCE_PWR) /* Misc Signals */ GPIO(EC_H1_PACKET_MODE, PIN(7, 5), GPIO_OUT_LOW) /* H1 Packet Mode */ /* - * TODO(b/138954381): Determine the polarity of these SSD signals and whether - * they are open-drain. + * Despite their names, M2_SSD_PLN and M2_SSD_PLA are active-low, ...
Uninitialize minhook on Shutdown()
@@ -99,6 +99,9 @@ void Initialize(HMODULE mod) void Shutdown() { kiero::shutdown(); + + MH_DisableHook(MH_ALL_HOOKS); + MH_Uninitialize(); } BOOL APIENTRY DllMain(HMODULE mod, DWORD ul_reason_for_call, LPVOID) {
adding missing lint comment for T_UINT32_READ
#ifndef __UNALIGNED_UINT32_READ #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wpacked" +//lint -esym(9058, T_UINT32_READ) disable MISRA 2012 Rule 2.4 for T_UINT32_READ __PACKED_STRUCT T_UINT32_READ { uint32_t v; }; #pragma clang diagnostic pop #define __UNALIGNED_UINT32_READ(addr) (((const struct T_U...
NVMe: Reduce verbosity
@@ -28,7 +28,6 @@ all: snap_config.sv # a closing '. # snap_config.sv: $(SNAP_CONFIG) - @echo "+++++ Generating $@ ... searching XSIM in $(SNAP_CONFIG) +++++" echo "/* SNAP_CONFIG */" > snap_config.sv grep "SIM_XSIM=y" $(SNAP_CONFIG); \ if [ $$? -eq 0 ]; then \ @@ -36,5 +35,4 @@ snap_config.sv: $(SNAP_CONFIG) fi clean:...
[update] cmake.py, delete extra code.
@@ -39,7 +39,7 @@ def GenerateCFiles(env,project): cm_file.write("SET(CMAKE_SIZE \""+ SIZE + "\")\n\n") - cm_file.write("SET(CMAKE_C_FLAGS \""+ rtconfig.CFLAGS + " -nostdlib\")\n") + cm_file.write("SET(CMAKE_C_FLAGS \""+ rtconfig.CFLAGS + "\")\n") cm_file.write("SET(CMAKE_CXX_FLAGS \""+ rtconfig.CXXFLAGS + "\")\n") cm_...
DDF add clone for frient plug
{ "schema": "devcap1.schema.json", - "manufacturername": "frient A/S", - "modelid": "SPLZB-131", - "vendor": "Develco Products", - "product": "SPLZB-131 smart plug (Schuko)", + "manufacturername": ["frient A/S", "frient A/S"], + "modelid": ["SPLZB-131", "SPLZB-134"], + "product": "SPLZB-131 and SPLZB-134 smart plug", "...
Have example/jsonptr consider string conversion
@@ -342,7 +342,16 @@ handle_token(wuffs_base__token t) { if (!prev_token_incomplete) { TRY(write_dst("\"", 1)); } + + if (vbd & WUFFS_BASE__TOKEN__VBD__STRING__CONVERT_0_DST_1_SRC_DROP) { + // No-op. + } else if (vbd & + WUFFS_BASE__TOKEN__VBD__STRING__CONVERT_1_DST_1_SRC_COPY) { TRY(write_dst(src.data.ptr + curr_token...
Test: Run certain source checks in parallel
@@ -107,9 +107,23 @@ function (add_scripttest testname) set_property (TEST testscr_${testname_we} PROPERTY ENVIRONMENT "LD_LIBRARY_PATH=${CMAKE_BINARY_DIR}/lib") + + set (parallel_tests + check_bashisms + check_doc + check_formatting + check_oclint + check_plugins + check_posix) + list (FIND parallel_tests + "${testnam...
Fix clang compile time error |version| "could" be used uninitialized here, not really, but the compiler doesn't understand the flow
*/ #include <stdio.h> +#include <assert.h> #include "ssl_locl.h" #include "packet_locl.h" #include <openssl/bio.h> @@ -903,7 +904,7 @@ int SSL_CTX_use_serverinfo_file(SSL_CTX *ctx, const char *file) int ret = 0; BIO *bin = NULL; size_t num_extensions = 0, contextoff = 0; - unsigned int version; + unsigned int version =...
Histogram option for all graphs
@@ -477,10 +477,18 @@ void HudElements::graphs(){ } ImGui::PushStyleColor(ImGuiCol_FrameBg, ImVec4(0.0f, 0.0f, 0.0f, 0.0f)); ImGui::TableNextRow(); + if (!HUDElements.params->enabled[OVERLAY_PARAM_ENABLED_histogram]){ ImGui::PlotLines("", arr.data(), arr.size(), 0, NULL, HUDElements.min, HUDElements.max, ImVec2(ImGui::...
drivers/video: Add stop_capture function and ensure imgsensor_ops_s::stop_capture get called
@@ -694,6 +694,24 @@ static int start_capture(enum v4l2_buf_type type, return OK; } +static int stop_capture(enum v4l2_buf_type type) +{ + ASSERT(g_video_sensor_ops && g_video_data_ops); + + if (g_video_data_ops->stop_capture == NULL || + g_video_sensor_ops->stop_capture == NULL) + { + return -ENOTTY; + } + + g_video_d...
Adjust standards-version
@@ -6,7 +6,7 @@ Build-Depends: make (>= 4), debhelper (>= 9), libcurl4-openssl-dev (>= 7.55.1), libsodium-dev (>= 1.0) -Standards-Version: 3.9.8 +Standards-Version: 4.0.0 Package: oidc-agent Architecture: any
dma: make the compl status 2M
* this is where the DMA channel will write the address of the last completed * descriptor (a copy of CHANSTS register) */ -#define IOAT_DMA_COMPLSTATUS_SIZE BASE_PAGE_SIZE +#define IOAT_DMA_COMPLSTATUS_SIZE LARGE_PAGE_SIZE #define IOAT_DMA_COMPLSTATUS_ELEMENT_SIZE 64 #define IOAT_DMA_COMPLSTATUS_FLAGS VREGION_FLAGS_REA...
ins_igsl(): fix memory leak
@@ -1081,8 +1081,10 @@ ins_igsl (khash_t (igsl) * hash, uint32_t key, uint32_t value) { } k = kh_put (igsl, hash, key, &ret); - if (ret == -1) + if (ret == -1) { + list_remove_nodes (list); return -1; + } kh_val (hash, k) = list;
[FIX] Initialized the missed dumper structure of default engine.
@@ -1545,9 +1545,6 @@ create_instance(uint64_t interface, GET_SERVER_API get_server_api, .lock = PTHREAD_MUTEX_INITIALIZER }, .cache_lock = PTHREAD_MUTEX_INITIALIZER, - .stats = { - .lock = PTHREAD_MUTEX_INITIALIZER, - }, .config = { .use_cas = true, .verbose = 0, @@ -1567,11 +1564,18 @@ create_instance(uint64_t interf...
Fix link to tutorial notebook in readme
@@ -35,7 +35,7 @@ head(prediction) ### Tutorials -CatBoost tutorial with base features demonstration and Caret demo. See [notebook](../tutorials/catboost_r_tutorial.ipynb). +CatBoost tutorial with base features demonstration and Caret demo. See [notebook](../tutorials/r_tutorial.ipynb). ### Maintaining the package
verbose installation tests
@@ -24,8 +24,8 @@ addons: script: - gem uninstall -x iodine - rake build - - find pkg/iodine-*.gem -exec gem install {} + + - find pkg/iodine-*.gem -exec gem install -V {} + - gem uninstall -x iodine - - CC=gcc find pkg/iodine-*.gem -exec gem install {} + + - CC=gcc find pkg/iodine-*.gem -exec gem install -V {} + - gem...
fix shared and tests prereqs
@@ -110,7 +110,7 @@ endif @echo "To install the library, you can run \"make PREFIX=/path/to/your/installation install\"." @echo -shared : +shared : libs netlib $(RELA) ifneq ($(NO_SHARED), 1) ifeq ($(OSNAME), $(filter $(OSNAME),Linux SunOS Android Haiku)) @$(MAKE) -C exports so @@ -134,7 +134,7 @@ ifeq ($(OSNAME), CYGW...
cups-browsed.c: Free the memory in correct order The 'temp' pointer has two allocated pointers inside, free them before freeing the main pointer.
@@ -3079,6 +3079,8 @@ void get_cluster_default_attributes(ipp_t** merged_attributes, temp->media_source, temp->media_type); ippSetCollection(*merged_attributes, &media_col_default, 0, current_media); + free(temp->media_source); + free(temp->media_type); free(temp); }
out_influxdb: add backslashes escaping. According to the new docs of the line protocol, multiple backslashes must be escaped.
@@ -36,6 +36,8 @@ static int influxdb_escape(char *out, const char *str, int size, bool quote) { char ch = str[i]; if (quote ? (ch == '"') : (isspace(ch) || ch == ',' || ch == '=')) { out[out_size++] = '\\'; + } else if (ch == '\\') { + out[out_size++] = '\\'; } out[out_size++] = ch; }
eliminate double check for index.html if index.html exists
// // Copyright 2018 Staysail Systems, Inc. <info@staysail.tech> // Copyright 2018 Capitar IT Group BV <info@capitar.com> +// Copyright 2018 QXSoftware <lh563566994@126.com> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this @@ -1460,1...