message
stringlengths
6
474
diff
stringlengths
8
5.22k
Update data upload fix for WorkerThread
@@ -148,7 +148,7 @@ namespace PAL_NS_BEGIN { const auto itemPtr = self->m_timerQueue.front(); self->m_timerQueue.pop_front(); itemPtr->TargetTime = now + MAX_FUTURE_DELTA_MS; - self->queue(itemPtr); + self->Queue(itemPtr); continue; } // value used for sleep in case if m_queue ends up being empty
linux/pt: use --linux_perf_ignore_above in PT
@@ -118,6 +118,10 @@ __attribute__((hot)) inline static void perf_ptAnalyzePkt(run_t* run, struct pt_ return; } + if (ip >= run->global->linux.dynamicCutOffAddr) { + return; + } + ip &= _HF_PERF_BITMAP_BITSZ_MASK; register uint8_t prev = ATOMIC_BTS(run->global->feedback.feedbackMap->bbMapPc, ip); if (!prev) {
docs: add chainmaker official website
+ [FISCO BCOS Github](https://github.com/FISCO-BCOS) + [Hyperledger Fabric](https://www.hyperledger.org/use/fabric) + [Hyperledger Fabric Docs](https://hyperledger-fabric.readthedocs.io/) ++ [ChainMaker](https://chainmaker.org.cn/) # Supported Module List
Test: Remove unnecessary CMake code
@@ -41,20 +41,7 @@ if (ENABLE_TESTING) add_subdirectory (${googletest_SOURCE_DIR} ${googletest_BINARY_DIR} EXCLUDE_FROM_ALL) - # Old versions of Google Test do not include Google Mock - if (TARGET gmock) - set_property (TARGET gmock - PROPERTY COMPILE_FLAGS - "-Wno-undef -Wno-missing-field-initializers") - set_property...
Increased SERV.RTICKS value type (unsigned long -> unsigned long long)
@@ -1589,7 +1589,7 @@ bool CResource::r_WriteVal( LPCTSTR pszKey, CGString & sVal, CTextConsole * pSrc case RC_RTICKS: { if ( pszKey[6] != '.' ) - sVal.FormatUVal(static_cast<unsigned long>(CGTime::GetCurrentTime().GetTime())); + sVal.FormatULLVal(static_cast<UINT64>(CGTime::GetCurrentTime().GetTime())); else { pszKey ...
devif: adding control message to the solarflare interface
@@ -27,5 +27,7 @@ interface sfn5122f_devif "sfn5122f devif communication interface" { rpc register_region(in uint16 qid, in cap reg, out uint64 buftbl_id, out errval err); rpc deregister_region(in uint64 buftbl_id, in uint64 size, out errval err); + rpc control(in uint64 req, in uint64 arg, out uint64 res, out errval m...
gstreamer1.0-plugins-good: enable rpicamsrc plugin enable the plugin when vc4graphics is not on machine features as it needs userland.
@@ -4,3 +4,5 @@ SRC_URI_append_rpi = " file://0001-rpicamsrc-add-vchostif-library-as-it-is-requi EXTRA_OEMESON_remove_rpi = "-Drpicamsrc=disabled" PACKAGECONFIG[rpi] = "-Drpicamsrc=enabled,-Drpicamsrc=disabled,userland" + +PACKAGECONFIG_append_rpi = "${@bb.utils.contains('MACHINE_FEATURES', 'vc4graphics', '', ' rpi', d...
fix cpp include bug
#include "approx_calcer.h" #include "approx_calcer_helpers.h" #include "approx_updater_helpers.h" -#include "build_subset_in_leaf.cpp" +#include "build_subset_in_leaf.h" #include "fold.h" #include "greedy_tensor_search.h" #include "index_calcer.h"
adlrvpp_mchp1521: Disable commands to create ROM space BRANCH=None TEST=buildall
#include "adlrvp.h" +#undef CONFIG_CMD_ADC +#undef CONFIG_CMD_APTHROTTLE +#undef CONFIG_CMD_BATTFAKE + /* * Macros for GPIO signals used in common code that don't match the * schematic names. Signal names in gpio.inc match the schematic and are
increasing maximum possible heap size
/// Amount of virtual space for malloc #ifdef __x86_64__ -# define HEAP_REGION (3500UL * 1024 * 1024) /* 2GB */ +# define HEAP_REGION (32UL * 1024UL * 1024 * 1024) /* 32GB */ #else # define HEAP_REGION (512UL * 1024 * 1024) /* 512MB */ #endif @@ -118,12 +118,16 @@ errval_t morecore_init(size_t alignment) #endif morecor...
Poll manager: raise aps confirm timeout to 60 seconds
@@ -157,7 +157,7 @@ void PollManager::pollTimerFired() { if (pollState == StateWait) { - DBG_Printf(DBG_INFO, "timout on poll APS confirm\n"); + DBG_Printf(DBG_INFO, "timeout on poll APS confirm\n"); pollState = StateIdle; } @@ -419,7 +419,7 @@ void PollManager::pollTimerFired() DBG_Assert(plugin->tasks.back().taskType...
docs/hw/pm/ptherm: Fix typo
@@ -89,7 +89,7 @@ suitable for all the cards and require a factory-set offset that is stored in PFUSE. The final hardware calibration value can be read in SENSOR_HW_CALIB_0. It is possible to override the hardware calibration by setting bits 0 and 1 -of SENSOR_CALIB_0 and by setting the wanted calibation values in +of ...
Add button map for Immax Keyfob-ZB3.0
[1, "0x01", "IAS_ACE", "ARM", "3", "S_BUTTON_4", "S_BUTTON_ACTION_SHORT_RELEASED", "Arm all zones"] ] }, + "immaxKeyfobMap": { + "vendor": "Immax", + "doc": "Smart Keyfob 07046L", + "modelids": ["Keyfob-ZB3.0"], + "map": [ + [1, "0x01", "IAS_ACE", "ARM", "1", "S_BUTTON_1", "S_BUTTON_ACTION_SHORT_RELEASED", "Arm day/hom...
CC26xx/CC13xx GPIO interrupt hal: clear the interrupt flags before calling the callbacks, not after
@@ -52,10 +52,10 @@ gpio_interrupt_isr(void) /* Read interrupt flags */ pin_mask = (HWREG(GPIO_BASE + GPIO_O_EVFLAGS31_0) & GPIO_DIO_ALL_MASK); - gpio_hal_event_handler(pin_mask); - /* Clear the interrupt flags */ HWREG(GPIO_BASE + GPIO_O_EVFLAGS31_0) = pin_mask; + + gpio_hal_event_handler(pin_mask); } /*--------------...
Codegen for ifActorRelativeToActor
@@ -536,7 +536,7 @@ class ScriptBuilder { this._addCmd("VM_PUSH_CONST", value + (comment ? ` ; ${comment}` : "")); }; - _stackPush = (location: string) => { + _stackPush = (location: ScriptBuilderStackVariable) => { this.stackPtr++; this._addCmd("VM_PUSH_VALUE", location); }; @@ -1400,6 +1400,17 @@ class ScriptBuilder ...
Run Distribution Stage on PRs
@@ -646,7 +646,7 @@ stages: # Distribution # -- ${{ if and(in(variables['Build.Reason'], 'IndividualCI', 'BatchedCI'), not(eq(variables['Build.Reason'], 'Schedule'))) }}: +- ${{ if not(eq(variables['Build.Reason'], 'Schedule')) }}: - stage: distribution displayName: Distribution dependsOn:
fixes namespacing in http header gates
:: This adds to the end if it doesn't exist. :: ++ set-header - |= [header=@t value=@t =header-list:http] - ^- header-list:http + |= [header=@t value=@t =header-list] + ^- ^header-list :: ?~ header-list :: we didn't encounter the value, add it to the end :: +delete-header: removes the first instance of a header from th...
hv: idt: separate the MACRO definition For binutils <= 2.26: 'U' suffix for unsigned constant is not accepted by binutils assembler. This patch separates the MACRO definition for ASSEMBLER and non-ASSEMBLER code in idt.h
* IDT is defined in assembly so we handle exceptions as early as possible. */ -/* Interrupt Descriptor Table (LDT) selectors are 16 bytes on x86-64 instead of - * 8 bytes. - */ -#define X64_IDT_DESC_SIZE (0x10U) +#ifndef ASSEMBLER + /* Number of the HOST IDT entries */ #define HOST_IDT_ENTRIES (0x100U) -/* Size of the ...
Tell people to use Clang instead of GCC on MinGW
@@ -22,6 +22,7 @@ http://ultravideo.cs.tut.fi/#encoder for more information. - [Compiling Kvazaar](#compiling-kvazaar) - [Required libraries](#required-libraries) - [Autotools](#autotools) + - [Autotools on MinGW](#autotools-on-mingw) - [OS X](#os-x) - [Visual Studio](#visual-studio) - [Docker](#docker) @@ -393,6 +394,...
Update main.cpp Revert part of unintentional change
@@ -311,8 +311,8 @@ int main() #ifdef _WIN32 // Code snippet showing how to perform MS Root certificate check for v10 end-point. // Most other end-points are Baltimore CA-rooted. But v10 is MS CA-rooted. - // config["http"]["msRootCheck"] = true; - // config[CFG_STR_COLLECTOR_URL] = "https://v10.events.data.microsoft.c...
Use hse.sock for sock file instead fo hse.pid
@@ -68,7 +68,7 @@ socket_path_default(const struct param_spec *ps, void *value) HSE_MAYBE_UNUSED int n; - n = snprintf(value, sizeof(hse_gparams.gp_socket.path), "/tmp/hse-%d.pid", getpid()); + n = snprintf(value, sizeof(hse_gparams.gp_socket.path), "/tmp/hse-%d.sock", getpid()); assert(n < sizeof(hse_gparams.gp_socket...
Add extra parentheses to make compiler happy
@@ -616,7 +616,7 @@ void init_gpu_stats(uint32_t& vendorID, uint32_t reported_deviceID, overlay_para FILE *fp; char str[10]; string device = path + "/device/device"; - if (fp = fopen(device.c_str(), "r")){ + if ((fp = fopen(device.c_str(), "r"))){ fscanf(fp, "%s", str); uint32_t temp = strtol(str, NULL, 16); if (temp !...
Explicitly use 32bit registers in AArch64
@@ -83,8 +83,8 @@ _INLINE_ uint32_t secure_cmp32(IN const uint32_t v1, IN const uint32_t v2) { #if defined(__aarch64__) uint32_t res; - __asm__ __volatile__("cmp %1, %2; \n " - "cset %0, EQ; \n" + __asm__ __volatile__("cmp %w1, %w2; \n " + "cset %w0, EQ; \n" : "=r" (res) : "r"(v1), "r"(v2) :); @@ -116,8 +116,8 @@ _INLI...
http file_server : Fix README of example
-# Simple HTTPD File Server Example +# Simple HTTP File Server Example (See the README.md file in the upper level 'examples' directory for more information about examples.) -HTTP file server example demonstrates file serving using the 'esp_http_server' component of ESP-IDF: +HTTP file server example demonstrates file s...
patch roct for powerpc. This patch provided by Timothy Pearson
@@ -65,6 +65,10 @@ if [ "$1" == "install" ] ; then $SUDO rm $INSTALL_ROCT/testfile fi +patchfile=$thisdir/patches/roct_ppc.patch +patchdir=$AOMP_REPOS/$AOMP_ROCT_REPO_NAME +patchrepo + if [ "$1" != "nocmake" ] && [ "$1" != "install" ] ; then echo " "
publish: delete uses cursor:pointer
@@ -67,7 +67,7 @@ export function Note(props: NoteProps & RouteComponentProps) { color="red" ml={2} onClick={deletePost} - css={{ cursor: "pointer" }} + style={{ cursor: "pointer" }} > Delete </Text>
Add gpconfig unit test for change value and master flags
@@ -26,7 +26,7 @@ class GpConfig(GpTestCase): # self.subject = gpconfig gpconfig_file = os.path.abspath(os.path.dirname(__file__) + "/../../../gpconfig") self.subject = imp.load_source('gpconfig', gpconfig_file) - self.subject.logger = Mock(spec=['log', 'warn', 'info', 'debug', 'error', 'warning']) + self.subject.logge...
linux-raspberrypi: Bump 4.19 revision This version includes a workaround for the usable DMA memory. It limits the DMA to the first 1G.
@@ -3,7 +3,7 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/linux-raspberrypi:" LINUX_VERSION ?= "4.19.58" LINUX_RPI_BRANCH ?= "rpi-4.19.y" -SRCREV = "8222f38b1ceadd0642d49812fd34a3a6cb00e264" +SRCREV = "d5dc848c982dff2e020f294e384447efe6ea6617" SRC_URI = " \ git://github.com/raspberrypi/linux.git;protocol=git;branch=${LINU...
Change lms chip before configuring interface frequency
@@ -598,7 +598,7 @@ int LMS7_Device::SetRate(bool tx, double f_Hz, unsigned oversample) || (lms->Modify_SPI_Reg_bits(LMS7param(MAC), 1) != 0) || (lms->SetInterfaceFrequency(cgen, interpolation, decimation) != 0)) return -1; - + lms_chip_id = i; if (SetFPGAInterfaceFreq(interpolation, decimation)!=0) return -1; }
rms/munge: add '-o' option to useradd/groupadd calls in pre-exec section
@@ -139,10 +139,10 @@ rm "$RPM_BUILD_ROOT"/etc/rc.d/init.d/munge # karl.w.schulz@intel.com (9/10/18) - provide specific uid/gid to deal with # possibility of getting alternate ownership within Warewulf /usr/bin/getent group munge >/dev/null 2>&1 || \ - /usr/sbin/groupadd -r munge -g 201 + /usr/sbin/groupadd -r munge -o...
Simplify the filetype, locations and collections declarations
The API works as follow to index presets and presets metadata: 1. clap_plugin_entry.get_factory(CLAP_PRESET_DISCOVERY_FACTORY_ID) 2. clap_preset_discovery_factory_t.create(...) - 3. clap_preset_discovery_provider.register_filetypes() - `-> clap_preset_discovery_indexer.register_filetype() - clap_preset_discovery_provid...
Don't deref a NULL pointer.
@@ -5480,10 +5480,13 @@ sctp_process_control(struct mbuf *m, int iphlen, int *offset, int length, ret_buf = NULL; } if (stcb == locked_tcb) { + if (stcb != NULL) stcb->info |= 0x00000010; } else if (locked_tcb == NULL) { + if (stcb != NULL) stcb->info |= 0x00000020; } else { + if (stcb != NULL) stcb->info |= 0x00000040...
debug and verbose options added twice in merge
@@ -153,8 +153,6 @@ struct dsync_output { struct dsync_options { struct list_head outputs; /* list of outputs */ - int verbose; - int debug; /* check result after get result */ int dry_run; /* dry run */ int verbose; int debug; /* check result after get result */
Update Dockerfile for mvn build
@@ -27,8 +27,7 @@ RUN apt-get update && apt-get install -y \ && rm -rf /var/lib/apt/lists/* WORKDIR ./datafari COPY . . -#RUN mvn -f pom.xml --quiet clean install | egrep -v "(^[0-9])|(^\[INFO\]|^\[DEBUG\])" -RUN mvn -f pom.xml clean install +RUN mvn -f pom.xml --quiet clean install RUN ant clean-build -f ./linux/build...
doc: finishing touches api review for `keyCopy()`, restyled fixes
- [x] better describe flags (|) - @copydoc for invariants? ``` - [x] Function name should be clear and unambiguous - [ ] Abbreviations used in parameter names must be defined in the [Glossary](/doc/help/elektra-glossary.md) - - [ ] add dest to glossary - maybe rename dest to destination? + - [x] add dest to glossary - ...
GBP: include sclass in format EPG
@@ -326,8 +326,9 @@ format_gbp_endpoint_group (u8 * s, va_list * args) vnet_main_t *vnm = vnet_get_main (); if (NULL != gg) - s = format (s, "%d, bd:[%d,%d], rd:[%d] uplink:%U locks:%d", + s = format (s, "%d, sclass:%d bd:[%d,%d], rd:[%d] uplink:%U locks:%d", gg->gg_id, + gg->gg_sclass, gbp_endpoint_group_get_bd_id(gg)...
ames: fix aggressive lane timeout (still needs migration)
== :: $qos: quality of service; how is our connection to a peer doing? :: +:: .last-contact: last time we heard from peer, or if %unborn, when +:: we first started tracking time +:: +$ qos - $~ [%unborn ~] - $% [%live last-contact=@da] - [%dead last-contact=@da] - [%unborn ~] - == + $~ [%unborn *@da] + [?(%live %dead %...
Use branchless tail clear
@@ -1132,22 +1132,19 @@ unsigned int compute_ideal_endpoint_formats( uint8_t (&best_ep_formats)[WEIGHTS_MAX_BLOCK_MODES][BLOCK_MAX_PARTITIONS] = tmpbuf.best_ep_formats; // Ensure that the first iteration understep contains data that will never be picked + vfloat clear_error(ERROR_CALC_DEFAULT); + vint clear_quant(0); +...
Remove profiling for ReadBankedUBYTE
@@ -101,13 +101,12 @@ void ScriptRunnerUpdate() { main_script_ctx.script_ptr = 0; return; } - BGB_PROFILE_BEGIN(); + PUSH_BANK(main_script_ctx.script_ptr_bank); script_cmd_index = *main_script_ctx.script_ptr; if (!script_cmd_index) { POP_BANK; - BGB_PROFILE_END(NoData); if (script_stack_ptr) { // Return from Actor Invo...
Fix deserialize in tcp admin
@@ -537,7 +537,7 @@ processMsgForSubscriberEntry(pubsub_tcp_topic_receiver_t *receiver, psa_tcp_subs struct iovec deSerializeBuffer; deSerializeBuffer.iov_base = message->payload.payload; deSerializeBuffer.iov_len = message->payload.length; - celix_status_t status = msgSer->deserialize(msgSer->handle, &deSerializeBuffe...
RPL local repair: do not reset link statistics
@@ -220,7 +220,6 @@ rpl_local_repair(const char *str) curr_instance.dag.state = DAG_INITIALIZED; /* Reset DAG state */ } curr_instance.of->reset(); /* Reset OF */ - link_stats_reset(); /* Forget past link statistics */ rpl_neighbor_remove_all(); /* Remove all neighbors */ rpl_timers_dio_reset("Local repair"); /* Reset ...
xpath CHANGE forbid non-prefix node names in XML It is not specified generally but works this way for instance-identifiers so use the same rules.
@@ -5328,8 +5328,9 @@ moveto_resolve_model(const char **qname, uint16_t *qname_len, const struct lyxp_ } break; case LY_PREF_XML: - /* not defined */ - LOGINT_RET(set->ctx); + /* all nodes need to be prefixed */ + LOGVAL(set->ctx, LYVE_DATA, "Non-prefixed node \"%.*s\" in XML xpath found.", *qname_len, *qname); + retur...
[target][stm32f7-discovery] update the openocd script Use a newer name for the stlink.cfg file.
@@ -5,5 +5,5 @@ DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" export PROJECT=stm32f746g-disco-test $DIR/make-parallel && -openocd -f interface/stlink-v2-1.cfg -f board/stm327x6g_eval.cfg \ +openocd -f interface/stlink.cfg -f board/stm327x6g_eval.cfg \ -c "program build-$PROJECT/lk.bin reset exit 0x08000000"
build: adding platform-io install instructions to README
@@ -173,6 +173,17 @@ int main() { } ``` +### PlatformIO ### + +Mac: + + brew install platformio + +Linux: + + sudo -H python3 -m pip install -U platformio + + ## Available Modules ## * _agc_: automatic gain control, received signal strength
CUDA check before using maximum eigenvalue
@@ -727,7 +727,11 @@ int main_wshfl(int argc, char* argv[]) } if (eval < 0) + #ifdef USE_CUDA eval = (gpun >= 0) ? estimate_maxeigenval_gpu(A->normal) : estimate_maxeigenval(A->normal); + #else + eval = estimate_maxeigenval(A->normal); + #endif debug_printf(DP_INFO, "\tMax eval: %.2e\n", eval); step /= eval;
Remove usr/include in Makefile
@@ -306,7 +306,7 @@ endif CC := $(CLANGPATH)clang #CFLAGS += -O0 -CFLAGS += -O3 -Os -I/usr/include -Wno-format-invalid-specifier -Wno-format-extra-args -Wno-main +CFLAGS += -O3 -Os -Wno-format-invalid-specifier -Wno-format-extra-args -Wno-main AS := $(GCCPATH)arm-none-eabi-gcc
Optimize initState() function remove temp structures: fsinfoLocal, netinfoLocal use calloc instead of malloc + memset
@@ -235,25 +235,15 @@ error: void initState() { - net_info *netinfoLocal; - fs_info *fsinfoLocal; - if ((netinfoLocal = (net_info *)malloc(sizeof(struct net_info_t) * NET_ENTRIES)) == NULL) { - scopeLog("ERROR: Constructor:Malloc", -1, CFG_LOG_ERROR); - } - - if (netinfoLocal) memset(netinfoLocal, 0, sizeof(struct net_...
Add OMV board extra CFLAGS.
@@ -100,6 +100,7 @@ CFLAGS += -D$(MCU) -D$(CFLAGS_MCU) -D$(ARM_MATH) -DARM_NN_TRUNCATE\ -fsingle-precision-constant -Wdouble-promotion -mcpu=$(CPU) -mtune=$(CPU) -mfpu=$(FPU) -mfloat-abi=hard CFLAGS += -D__FPU_PRESENT=1 -D__VFP_FP__ -DUSE_USB_FS -DUSE_DEVICE_MODE -DUSE_USB_OTG_ID=0 -DHSE_VALUE=12000000\ -D$(TARGET) -DS...
Remove reference to the (deprecated) `bscrypt` collection.
-This software is modular (i.e., the `fiobj`, `bscrypt` and `evio` modules) and each module should be considered independantly licensed under the MIT license. +This software is modular (i.e., the `fiobj` and `evio` modules) and each module should be considered independantly licensed under the MIT license. This software...
update CHANGELOG to reflect MUSL upgrade to v1.2.2
@@ -18,6 +18,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - The OpenEnclave CMake configuration now explicitly sets CMAKE_SKIP_RPATH to TRUE. This change should not affect fully static-linked enclaves. - oe_verify_attestation_certificate_with_evidence() has been deprecated becau...
more reliable platform recognition
@@ -180,9 +180,11 @@ module RbConfig #CONFIG["host_os"] = "darwin16.3.0" -if ( System.get_property('platform') == 'WINDOWS' ) || ( System.get_property('platform') == 'WINDOWS_DESKTOP' ) + platform = System.get_property('platform') + + if ( (platform=~/WINDOWS/) || (platform=~/(win|w)32$/) ) CONFIG["host_os"] = "mingw32...
dpdk: enable checksum offload for Intel SRIOV NIC drivers Type: fix
@@ -463,6 +463,14 @@ dpdk_lib_init (dpdk_main_t * dm) case VNET_DPDK_PMD_IXGBEVF: case VNET_DPDK_PMD_I40EVF: xd->port_type = VNET_DPDK_PORT_TYPE_ETH_VF; + if (dm->conf->no_tx_checksum_offload == 0) + { + xd->port_conf.txmode.offloads |= DEV_TX_OFFLOAD_TCP_CKSUM; + xd->port_conf.txmode.offloads |= DEV_TX_OFFLOAD_UDP_CKS...
[util/generic] correct value_type for TInputRangeAdaptor::TIterator; [part 6];
@@ -76,10 +76,11 @@ public: static constexpr bool IsNoexceptNext = noexcept(std::declval<TSlave>().Next()); using difference_type = std::ptrdiff_t; - using value_type = decltype(std::declval<TSlave>().Next()); - using TValueTraits = NStlIterator::TTraits<value_type>; // TODO: DROP! + using TNextType = decltype(std::dec...
esp32/modsocket: Raise EAGAIN when accept fails in non-blocking mode. EAGAIN should be for pure non-blocking mode and ETIMEDOUT for when there is a finite (but non-zero) timeout enabled.
@@ -253,7 +253,13 @@ STATIC mp_obj_t socket_accept(const mp_obj_t arg0) { if (errno != EAGAIN) exception_from_errno(errno); check_for_exceptions(); } - if (new_fd < 0) mp_raise_OSError(MP_ETIMEDOUT); + if (new_fd < 0) { + if (self->retries == 0) { + mp_raise_OSError(MP_EAGAIN); + } else { + mp_raise_OSError(MP_ETIMEDOU...
Update CLion tutorial tweak for CMake options
@@ -92,14 +92,17 @@ add the following CMake options to our "Debug" profile: -DKDB_DB_HOME="~/.config/kdb/[xyz]/home" -DKDB_DB_SYSTEM="~/.config/kdb/[xyz]/system" -DKDB_DB_SPEC="~/.config/kdb/[xyz]/spec" --DKDB_DB_USER="~/.config/kdb/[xyz]/user" +-DKDB_DB_USER=".config/kdb/[xyz]/user" -DCMAKE_INSTALL_PREFIX="install" ``...
BugID:16967023:[build-rules] avoid duplicated COMP_LIB_COMPONENTS
@@ -197,11 +197,13 @@ define Gitrepo_TcPath endef define CompLib_Map +$(if $(filter $(strip $(2)),$(COMP_LIB_COMPONENTS)),, \ $(eval \ COMP_LIB_COMPONENTS += \ $(if \ $(filter y,$($(strip $(1)))),$(strip $(2)) \ ) \ + ) \ ) endef
Extend mbedtls_ssl_transform struct for psa keys and alg
@@ -941,6 +941,12 @@ struct mbedtls_ssl_transform mbedtls_cipher_context_t cipher_ctx_dec; /*!< decryption context */ int minor_ver; +#if defined(MBEDTLS_USE_PSA_CRYPTO) + mbedtls_svc_key_id_t psa_key_enc; /*!< psa encryption key */ + mbedtls_svc_key_id_t psa_key_dec; /*!< psa decryption key */ + psa_algorithm_t psa_al...
add __local__
@@ -63,7 +63,12 @@ then branch="-b $1" echo "Branch: $1" fi +if [ 'x-b __local__' != "x$branch" ] +then git clone --depth=1 $branch https://github.com/tboox/xmake.git /tmp/$$xmake_getter || my_exit 'Clone Fail' +else + cp -r "$(git rev-parse --show-toplevel 2>/dev/null || hg root 2>/dev/null || echo $PWD)" /tmp/$$xmake...
Fix travis ci build failure. Thrift/Boost incompatibility
@@ -43,7 +43,9 @@ install: thrift - brew outdated libyaml || brew upgrade libyaml - brew outdated json-c || brew upgrade json-c - - brew outdated boost || brew upgrade boost + - brew uninstall boost --ignore-dependencies + - brew install homebrew/core/boost@1.60 + - brew link boost@1.60 --force - brew outdated maven ||...
Cut more opensource deps to build/rules
@@ -1796,7 +1796,7 @@ module PY2_PROGRAM: _PY2_PROGRAM { when ($FAIL_PY2 == "yes") { _OK=no } - otherwise { + elsewhen ($OPENSOURCE != "yes") { PEERDIR+=build/rules/py2_deprecation } ASSERT(_OK You are using deprecated Python2-only code (PY2_PROGRAM). Please consider rewriting to Python 3.) @@ -2302,7 +2302,7 @@ module...
Adopt GetMNCollateral
@@ -1543,7 +1543,7 @@ void CWallet::AvailableCoinsMN(vector<COutput>& vCoins, bool fOnlyConfirmed, con found = true; if (IsCollateralAmount(pcoin->vout[i].nValue)) continue; // do not use collateral amounts found = !IsDenominatedAmount(pcoin->vout[i].nValue); - if(found && coin_type == ONLY_NONDENOMINATED_NOTMN) found ...
Added Pipeline status
@@ -535,9 +535,9 @@ It is possible to enable or disable concrete loaders, script, ports, serials or The following platforms and architectures have been tested an work correctly with all plugins of **METACALL**. | Operative System | Architecture | Compiler | Build Status | -|:-------------------------:|:----------------...
change loop time
#define ROBOT_STATE_UPDATE_TIME 0.010f #define ACTUATOR_CONTROL_TIME 0.010f -#define LOOP_TIME 0.050f +#define LOOP_TIME 0.020f #define CHAIN 100 @@ -125,7 +125,7 @@ void initManipulator() manipulator.initJointTrajectory(CHAIN); manipulator.setControlTime(ACTUATOR_CONTROL_TIME); - manipulator.toolMove(CHAIN, TOOL, fals...
Switch to wasirun
@@ -114,4 +114,4 @@ jobs: run: | source $HOME/.wasienv/wasienv.sh cd test - ./run-spec-test.py --exec "wasmer ../build-wasi/wasm3.wasm" + ./run-spec-test.py --exec "wasirun ../build-wasi/wasm3.wasm"
copy&paste errors test_length.h
/** * @file * - * @brief Tests for ipaddr plugin + * @brief Tests for length plugin * * @copyright BSD License (see doc/LICENSE.md or https://www.libelektra.org) * #include <kdbconfig.h> -#ifdef HAVE_FEATURES_H - -#include <features.h> -// The function `getaddrinfo` used in the `network` plugin leaks memory, if we use ...
Run CircleCI tests on all branches
@@ -130,11 +130,6 @@ workflows: - test: requires: - checkout - filters: - branches: - ignore: - - develop - - master - "make:mac": requires: - checkout
hake: x86_64: re-enable -Werror for cpu driver
@@ -89,7 +89,7 @@ kernelCFlags = [ Str s | s <- [ "-fno-builtin", "-Wredundant-decls", "-Wno-packed-bitfield-compat", "-Wno-unused-but-set-variable", --- "-Werror", + "-Werror", "-imacros deputy/nodeputy.h", "-mno-mmx", "-mno-sse",
mpi-families/impi-devel: bump gnu version
%define pname intel-mpi-devel %define year 2018 +%global gnu_major_ver 8 Summary: OpenHPC compatibility package for Intel(R) MPI Library Name: %{pname}%{PROJ_DELIM} @@ -44,7 +45,7 @@ suite. %install %{__mkdir} -p %{buildroot}/%{OHPC_MODULEDEPS}/intel/impi %{__mkdir} -p %{buildroot}/%{OHPC_MODULEDEPS}/gnu/impi -%{__mkdi...
Improve wording in man page Make it more consistent throughout the man page. If a config option can either be *yes* or *no* use exact these terms and not something like *on* which could be easily read as *no*.
@@ -775,7 +775,7 @@ wise to send these, and could be necessary for operation if TSIG or EDNS payload is very large. .TP .B harden\-glue: \fI<yes or no> -Will trust glue only if it is within the servers authority. Default is on. +Will trust glue only if it is within the servers authority. Default is yes. .TP .B harden\-...
Update SSDT-EC-USBX.dsl can not nest \_SB under \_SB, possible better ways to organize scopes
@@ -78,7 +78,7 @@ DefinitionBlock ("", "SSDT", 2, "ACDT", "SsdtEC", 0x00001000) } } - Scope (\_SB.PCI0.LPCB) + Scope (PCI0.LPCB) { Device (EC) {
Make github leak action less verbose.
@@ -30,7 +30,7 @@ jobs: - name: Perform Unit Tests and Check for Leaks run: | ulimit -c unlimited -S - ./picoquic_ct -n -r 2>sanity.txt || QUICRESULT=$? + ./picoquic_ct -n -r 1>quic_ct.txt 2>sanity.txt || QUICRESULT=$? echo "running picoquic_ct returns $QUICRESULT " cat sanity.txt if [ ${QUICRESULT} != 0 ]; then exit 1...
stm32/adc: Increase sample time for internal sensors on L4 MCUs. They need time (around 4us for VREFINT) to obtain accurate results. Fixes issue
@@ -304,7 +304,13 @@ STATIC void adc_config_channel(ADC_HandleTypeDef *adc_handle, uint32_t channel) sConfig.OffsetRightShift = DISABLE; sConfig.OffsetSignedSaturation = DISABLE; #elif defined(STM32L4) + if (channel == ADC_CHANNEL_VREFINT + || channel == ADC_CHANNEL_TEMPSENSOR + || channel == ADC_CHANNEL_VBAT) { + sCon...
machinarium: unblock previous signals on set
@@ -80,9 +80,10 @@ int mm_signalmgr_set(mm_signalmgr_t *mgr, sigset_t *set) if (rc == -1) return -1; assert(rc == mgr->fd.fd); - rc = pthread_sigmask(SIG_BLOCK, set, NULL); - if (rc != 0) - return -1; + sigset_t mask; + sigfillset(&mask); + pthread_sigmask(SIG_UNBLOCK, &mask, NULL); + pthread_sigmask(SIG_BLOCK, set, NU...
mcu/nrf5340_net: Enable instruction cache by default Does not really make sense to have it disabled by default since we are running from flash.
@@ -65,8 +65,7 @@ syscfg.defs: MCU_ICACHE_ENABLED: description: > Enable instruction code cache - Default value is 0, so disabled. - value: 0 + value: 1 MCU_DEFAULT_STARTUP: description: >
sim: fix RSA signature length macro usage Update test that was using old Zephyr macros to set size.
@@ -51,10 +51,10 @@ fn main() { // they are used internally by "config-rsa.h" if sig_rsa { conf.define("MCUBOOT_SIGN_RSA_LEN", "2048"); - conf.define("CONFIG_BOOT_SIGNATURE_TYPE_RSA_2048", None); + conf.define("CONFIG_BOOT_SIGNATURE_TYPE_RSA_LEN", "2048"); } else { conf.define("MCUBOOT_SIGN_RSA_LEN", "3072"); - conf.de...
[refactor] BIGNUM: Modify bn2binpad()'s setup to be more like bin2bn()'s
@@ -503,8 +503,10 @@ BIGNUM *BN_bin2bn(const unsigned char *s, int len, BIGNUM *ret) /* ignore negative */ static -int bn2binpad(const BIGNUM *a, unsigned char *to, int tolen, endianess_t endianess) +int bn2binpad(const BIGNUM *a, unsigned char *to, int tolen, + endianess_t endianess) { + int inc; int n; size_t i, last...
Changed timer interval back to original value
@@ -108,7 +108,7 @@ int main(void) // Setup periodic timer to sample the sensors. static tock_timer_t timer; - timer_every(5000, timer_fired, NULL, &timer); + timer_every(1000, timer_fired, NULL, &timer); return 0; } \ No newline at end of file
Fix a memory leak in ossl_method_store_add() If the call to ossl_prop_defn_set() fails then the OSSL_PROPERTY_LIST we just created will leak. Found as a result of:
@@ -304,7 +304,11 @@ int ossl_method_store_add(OSSL_METHOD_STORE *store, const OSSL_PROVIDER *prov, impl->properties = ossl_parse_property(store->ctx, properties); if (impl->properties == NULL) goto err; - ossl_prop_defn_set(store->ctx, properties, impl->properties); + if (!ossl_prop_defn_set(store->ctx, properties, im...
Update: NAL.h: set instance similarity as Robert W. found missing
@@ -74,6 +74,8 @@ R2( (P --> M), (S --> M), |-, (S <-> P), Truth_Comparison ) R2( (M --> P), (M --> S), |-, (S <-> P), Truth_Comparison ) R2( (M --> P), (S <-> M), |-, (S --> P), Truth_Analogy ) R2( (P --> M), (S <-> M), |-, (P --> S), Truth_Analogy ) +R2( ({M} --> P), (S <-> M), |-, ({S} --> P), Truth_Analogy ) +R2( (...
Document how to build ngtcp2 with OpenSSL master
@@ -42,19 +42,22 @@ To build sources under the examples directory, libev is required: * libev -The client and server under examples directory require boringssl as -crypto backend: +The client and server under examples directory require boringssl or +OpenSSL (master branch) as crypto backend: * boringssl (https://boring...
Fix variable name in peripheral PHY update
@@ -40,7 +40,7 @@ static void connected(struct bt_conn *conn, u8_t err) bt_conn_le_param_update(conn, BT_LE_CONN_PARAM(0x0006, 0x000c, 30, 400)); #if IS_ENABLED(CONFIG_ZMK_SPLIT_BLE_ROLE_PERIPHERAL) - bt_conn_le_phy_update(default_conn, BT_CONN_LE_PHY_PARAM_2M); + bt_conn_le_phy_update(conn, BT_CONN_LE_PHY_PARAM_2M); #...
stack trace: add a function that dumps the stack from caller
@@ -176,6 +176,17 @@ void __print_stack_with_rbp(u64 *rbp) } } +void __print_stack_from_here() +{ + u64 register rbp asm("rbp"); + __print_stack_with_rbp(rbp); +} + +void print_stack_from_here(void) +{ + __print_stack_from_here(0); +} + void print_stack(context c) { console("stack trace: \n");
common/battery.c: Format with clang-format BRANCH=none TEST=none
@@ -77,7 +77,12 @@ static int check_print_error(int rv) static void print_battery_status(void) { - static const char * const st[] = {"EMPTY", "FULL", "DCHG", "INIT",}; + static const char *const st[] = { + "EMPTY", + "FULL", + "DCHG", + "INIT", + }; static const char *const al[] = { "RT", "RC", "--", "TD", "OT", "--", ...
CRRA: mars.model not needed
@@ -39,14 +39,11 @@ alias mars.param = paramId; alias mars.origin = centre; if (section2Used == 1) { -# constant marsLamModel = 'lam'; -# alias mars.model = marsLamModel; # model redefined. It is not 'glob' alias mars.origin = crraSuiteID; # origin is the suiteName - unalias mars.domain; # No mars domain needed - unali...
lyb parser BUGFIX NULL dereference
@@ -330,8 +330,10 @@ lyb_parse_model(struct lylyb_ctx *lybctx, uint32_t parse_options, const struct l } + if (*mod) { /* fill cached hashes, if not already */ lyb_cache_module_hash(*mod); + } cleanup: free(mod_name);
esp_hw_support: Adds a msg when 32k xtal was stopped
@@ -135,8 +135,14 @@ uint64_t rtc_time_slowclk_to_us(uint64_t rtc_cycles, uint32_t period) uint64_t rtc_time_get(void) { SET_PERI_REG_MASK(RTC_CNTL_TIME_UPDATE_REG, RTC_CNTL_TIME_UPDATE); + int attempts = 1000; while (GET_PERI_REG_MASK(RTC_CNTL_TIME_UPDATE_REG, RTC_CNTL_TIME_VALID) == 0) { esp_rom_delay_us(1); // might...
Add missing examples and sort into alphabetical order
cmake_minimum_required(VERSION 3.1) project (examples) include (../32blit.cmake) +add_subdirectory(another-world) add_subdirectory(audio-test) add_subdirectory(audio-wave) add_subdirectory(doom-fire) @@ -25,5 +26,6 @@ add_subdirectory(sprite-test) add_subdirectory(text) add_subdirectory(tilemap-test) add_subdirectory(t...
Fix typo in the API documentation JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik
@@ -1384,7 +1384,7 @@ Returns whether the given `jerry_value_t` is a number. ```c bool -jerry_value_is_function (const jerry_value_t value) +jerry_value_is_number (const jerry_value_t value) ``` - `value` - api value
Add error if hyperparameters tuning after fitting - v.2
@@ -3049,12 +3049,10 @@ class CatBoost(_CatBoostBase): search_by_train_test_split, calc_cv_statistics, custom_folds, verbose ) - if not self.is_fitted(): - self.set_params(**cv_result['params']) - else: - raise CatBoostError("Model was fitted before hyperparameters tuning. You can't change hyperparameters of fitted mod...
m3_test fixes
@@ -24,10 +24,13 @@ bool AreFuncTypesEqual (const IM3FuncType i_typeA, const IM3FuncType i_typeB) if (i_typeA->returnType == i_typeB->returnType) { if (i_typeA->numArgs == i_typeB->numArgs) + { + if (i_typeA->argTypes and i_typeB->argTypes) { return (memcmp (i_typeA->argTypes, i_typeB->argTypes, i_typeA->numArgs) == 0)...
OcAppleDiskImageLib: Fix DP construction
@@ -197,7 +197,7 @@ InternalConstructDmgDevicePath ( SetDevicePathNodeLength (&DevPath->MemMap, sizeof (DevPath->MemMap)); DevPath->FilePath.Header.Type = MEDIA_DEVICE_PATH; - DevPath->FilePath.Header.Type = MEDIA_FILEPATH_DP; + DevPath->FilePath.Header.SubType = MEDIA_FILEPATH_DP; SetDevicePathNodeLength (&DevPath->Fi...
More explicit referencing
/- sole, lens :: console structures /+ sole :: console library =, sole -=, space:userlib -=, format :: :: :: :::: :: :::: :: :: :: :: =? a &(?=(^ a) =('' i.a)) t.a - =+((de-beam a) ?^(- u [he-beak (flop a)])) + =+((de-beam:format a) ?^(- u [he-beak (flop a)])) =+ vez=(vang | dp-path) (sear plex:vez (stag %clsg poor:vez...
move wrong comments
@@ -2601,6 +2601,12 @@ int mbedtls_ssl_session_save( const mbedtls_ssl_session *session, return( ssl_session_save( session, 0, buf, buf_len, olen ) ); } +/* + * Deserialize session, see mbedtls_ssl_session_save() for format. + * + * This internal version is wrapped by a public function that cleans up in + * case of err...
Add setting for disabling linux support to options window
* options window * * Copyright (C) 2010-2016 wj32 - * Copyright (C) 2017-2018 dmex + * Copyright (C) 2017-2019 dmex * * This file is part of Process Hacker. * @@ -996,6 +996,7 @@ typedef enum _PHP_OPTIONS_INDEX PHP_OPTIONS_INDEX_ENABLE_UNDECORATE_SYMBOLS, PHP_OPTIONS_INDEX_ENABLE_CYCLE_CPU_USAGE, PHP_OPTIONS_INDEX_ENAB...
test/run_tests.pl: Add visual separator after failed test case for VFP and VFP modes
@@ -181,6 +181,7 @@ $eres = eval { print $output_buffer if !$is_ok; print "\n".$self->as_string if !$is_ok || $failure_verbosity == 2; + print "\n# ------------------------------------------------------------------------------" if !$is_ok; $output_buffer = ""; } elsif ($self->as_string ne "") { # typically is_comment o...
Print Dimm ID using preferences in OS
@@ -2357,12 +2357,10 @@ GetPreferredDimmIdAsString( if (pResultString == NULL) { goto Finish; } -#ifndef OS_BUILD ReturnCode = GetDimmIdentifierPreference(&DimmIdentifier); if (EFI_ERROR(ReturnCode)) { goto Finish; } -#endif ReturnCode = GetPreferredValueAsString(DimmId, pDimmUid, DimmIdentifier == DISPLAY_DIMM_ID_HAND...
API: C generator improve symbol protection.
@@ -85,8 +85,8 @@ def msg_name_crc_list(s, suffix): def duplicate_wrapper_head(name): - s = "#ifndef defined_%s\n" % name - s += "#define defined_%s\n" % name + s = "#ifndef _vl_api_defined_%s\n" % name + s += "#define _vl_api_defined_%s\n" % name return s
apps/wireless/bluetooth/btsak/btsak_scan.c: Fix reversed address
@@ -185,9 +185,9 @@ static void btsak_cmd_scanget(FAR struct btsak_s *btsak, FAR char *cmd, printf("%2d.\taddr: " "%02x:%02x:%02x:%02x:%02x:%02x type: %d\n", i + 1, - rsp->sr_addr.val[0], rsp->sr_addr.val[1], - rsp->sr_addr.val[2], rsp->sr_addr.val[3], - rsp->sr_addr.val[4], rsp->sr_addr.val[5], + rsp->sr_addr.val[5], ...
fixed wren runtime error
@@ -104,7 +104,7 @@ class TIC {\n\ foreign static music(track, frame)\n\ foreign static music(track, frame, loop)\n\ foreign static time()\n\ - foreign static timestamp()\n\ + foreign static tstamp()\n\ foreign static sync()\n\ foreign static sync(mask)\n\ foreign static sync(mask, bank)\n\
[config_tool] Real time vCPU checkbox is confusing to users add tooltip to explain "Real-time vCPU" use the one generated from the XSD files to generate tooltip infomation.
<b-col></b-col> <b-col></b-col> <b-col>Virtual CPU ID</b-col> - <b-col class="ps-5">Real-time vCPU:</b-col> + <b-col class="ps-5"> + <label> + <n-popover trigger="hover" placement="top-start" style="width: 500px"> + <template #trigger> + <IconInfo/> + </template> + <span v-html="this.CPUAffinityConfiguration.properties...