message
stringlengths
6
474
diff
stringlengths
8
5.22k
sets request id in +hull:give:dawn
^- octs %- as-octt:mimes:html %- en-json:html - (read-request:ethereum [~ tract ['ships(uint32)' [%uint `@`who]~]]) + (read-request:ethereum [`~.0 tract ['ships(uint32)' [%uint `@`who]~]]) :: +turf:give:dawn: Eth RPC for network domains :: ++ turf
Testing: Fix clang address sanitizer error
. ./include.ctest.sh -if [ $HAVE_MEMFS -eq 1 ]; then unset ECCODES_SAMPLES_PATH -fi - IFS_SAMPLES_ROOT=${proj_dir}/ifs_samples # Load the given sample (arg1) which resides in the ifs_samples dir (arg2) -$EXEC ${test_dir}/codes_set_samples_path "gg_ml" "$IFS_SAMPLES_ROOT/grib1_mlgrib2" 2>/dev/null +$EXEC ${test_dir}/cod...
zephyr/subsys/ap_pwrseq/power_host_sleep.c: Format with clang-format BRANCH=none TEST=none
@@ -11,7 +11,8 @@ LOG_MODULE_DECLARE(ap_pwrseq, CONFIG_AP_PWRSEQ_LOG_LEVEL); #if CONFIG_PLATFORM_EC_HOST_INTERFACE_ESPI /* If host doesn't program S0ix lazy wake mask, use default S0ix mask */ -#define DEFAULT_WAKE_MASK_S0IX (EC_HOST_EVENT_MASK(EC_HOST_EVENT_LID_OPEN) | \ +#define DEFAULT_WAKE_MASK_S0IX \ + (EC_HOST_EV...
fix string re being used on bytes for Python 3
@@ -621,7 +621,7 @@ class PerfEventArray(ArrayBase): num_fields = lib.bpf_perf_event_fields(self.bpf.module, self._name) i = 0 while i < num_fields: - field = lib.bpf_perf_event_field(self.bpf.module, self._name, i) + field = lib.bpf_perf_event_field(self.bpf.module, self._name, i).decode() m = re.match(r"(.*)#(.*)", f...
Add validation checking when redo delete [Description] N/A [Module] FS [Board] all [Verification] [Reference] N/A [Author] tj80.kwon
@@ -2690,16 +2690,32 @@ static int smartfs_redo_write(struct smartfs_mountpt_s *fs) ****************************************************************************/ static int smartfs_redo_delete(struct smartfs_mountpt_s *fs) { + int ret; struct smartfs_entry_s direntry; struct smartfs_logging_entry_s *entry; + struct sma...
audio_codec: extract DMIC from I2S RX DMIC feature is independent. Extract DMIC from I2S RX. BRANCH=none TEST=make BOARD=kukui_scp -j
@@ -4659,18 +4659,48 @@ enum mkbp_cec_event { /*****************************************************************************/ +/* Commands for DMIC on audio codec. */ +#define EC_CMD_EC_CODEC_DMIC 0x00BC + +enum ec_codec_dmic_subcmd { + EC_CODEC_DMIC_SET_GAIN = 0x0, + EC_CODEC_DMIC_GET_GAIN = 0x1, + EC_CODEC_DMIC_SUBCM...
[Kernel] Hook up AP to scheduler init
@@ -19,9 +19,9 @@ smp_info_t* acpi_parse_root_system_description(uintptr_t acpi_rsdp); static bool _mapped_cpu_info_in_bsp = false; void ap_c_entry(void) { - uint64_t stack_helper; - printf("AP running C code %p!!!\n", &stack_helper); - while (1) {} + tasking_ap_startup(); + // Should never return + assert(false, "task...
error: improved message in dumpfile
@@ -191,7 +191,7 @@ int unserialise (std::istream & is, ckdb::Key * errorKey, ckdb::KeySet * ks) ELEKTRA_SET_VALIDATION_SYNTACTIC_ERRORF ( errorKey, "Unknown command detected in dumpfile: %s.\nMaybe you use a different file format? " - "Try to remount with another plugin (eg. dump, ini, ni, etc.)", + "Try to remount wi...
Add alphaCutoff shader flag;
@@ -97,6 +97,11 @@ const char* lovrShaderFragmentSuffix = "" " colors(lovrColor, lovrDiffuseTexture, texCoord); \n" "#else \n" " lovrCanvas[0] = color(lovrColor, lovrDiffuseTexture, texCoord); \n" +"#ifdef FLAG_alphaCutoff \n" +" if (lovrCanvas[0].a < FLAG_alphaCutoff) { \n" +" discard; \n" +" } \n" +"#endif \n" #ifdef...
fixed project cart overwrite message
@@ -2033,7 +2033,9 @@ static void onConsoleSaveCommandConfirmed(Console* console, const char* param) static void onConsoleSaveCommand(Console* console, const char* param) { - if(param && strlen(param) && fsExistsFile(console->fs, getCartName(param))) + if(param && strlen(param) && + (fsExistsFile(console->fs, param) ||...
Split the obj list of LAPACKE 3.7.0 Split obj list to allow building with mingw (argument list too long for the msys ar)
# include ../../make.inc -SRC_OBJ = \ +SRC_OBJA = \ lapacke_cbbcsd.o \ lapacke_cbbcsd_work.o \ lapacke_cbdsqr.o \ @@ -1080,7 +1080,9 @@ lapacke_dsytri_3.o \ lapacke_dsytri_3_work.o \ lapacke_dsytri2x.o \ lapacke_dsytri2x_work.o \ -lapacke_dsytri_work.o \ +lapacke_dsytri_work.o + +SRC_OBJB = \ lapacke_dsytrs.o \ lapacke...
Documentation change only: for nRF5 specify which version of GCC we tested with since `heap_useNewlib.c` does a version check on `newlib` and gives out a warning when it has advanced, which GCC then treats as an error.
@@ -8,7 +8,7 @@ https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/development-with- However it expects you to be using Eclipse; the instructions that follow are modified to work wholly from the command-line (and, in this case, on Windows). -First, install the latest version of GCC for ARM from here: +First...
py/bootloader: add missing SIGDATA_MAGIC_BITBOXBASE_STANDARD
@@ -48,7 +48,11 @@ def parse_signed_firmware(firmware: bytes) -> typing.Tuple[bytes, bytes, bytes]: if len(firmware) < MAGIC_LEN + SIGDATA_LEN: raise ValueError("firmware too small") magic, firmware = firmware[:MAGIC_LEN], firmware[MAGIC_LEN:] - if magic not in (SIGDATA_MAGIC_STANDARD, SIGDATA_MAGIC_BTCONLY): + if magi...
fix kale recursion
|- ^+ this-su ?~ yez this-su =* d i.yez + =. this-su ?. ?=([[%a @ @ *] *] d) %- emit [d %give %public-keys vent-result] =/ our (slav %p i.t.i.d) =/ who (slav %p i.t.t.i.d) =/ =message [%public-keys-result who vent-result] - =. this-su %- emit :^ d %pass
Fixed INC/DEC (for lazy flags)
@@ -97,6 +97,7 @@ Implements the DEC instruction and side effects. ****************************************************************************/ static inline uint8_t dec8(x86emu_t *emu, uint8_t d) { + CHECK_FLAGS(emu); emu->res = d - 1; emu->op1 = d; emu->df = d_dec8; @@ -109,6 +110,7 @@ Implements the DEC instruction...
Fix test_utf16_second_attr() to work in builds
@@ -6582,7 +6582,7 @@ START_TEST(test_utf16_second_attr) const char text[] = "<\0d\0 \0a\0=\0'\0\x31\0'\0 \0" "\x04\x0e\x08\x0e=\0'\0\x32\0'\0/\0>\0"; - const XML_Char *expected = "1"; + const XML_Char *expected = XCS("1"); CharData storage; CharData_Init(&storage);
crl2pkcs7 shouldn't include empty optional sets If using crl2pkcs7 -nocrl and with no -certfiles, we shouldn't include the implicitly tagged [0] certs and [1] crls sets as they are marked optional and would be empty.
@@ -134,19 +134,20 @@ int crl2pkcs7_main(int argc, char **argv) if (!ASN1_INTEGER_set(p7s->version, 1)) goto end; + + if (crl != NULL) { if ((crl_stack = sk_X509_CRL_new_null()) == NULL) goto end; p7s->crl = crl_stack; - if (crl != NULL) { sk_X509_CRL_push(crl_stack, crl); crl = NULL; /* now part of p7 for OPENSSL_free...
Update the checksum creation script for 3.3 release.
@@ -111,10 +111,8 @@ do echo "" >> $output $cmd INSTALL_NOTES.txt >> $output $cmd jvisit$version.tar.gz >> $output - $cmd visit$version.darwin-x86_64-10_14.dmg >> $output - $cmd visit$version.darwin-x86_64-10_14.tar.gz >> $output - $cmd visit$version2.linux-x86_64-centos8.tar.gz >> $output - $cmd visit$version2.linux-x...
[build] Better check requirements for LARGE tests on distbuild
@@ -72,6 +72,8 @@ def validate_test(kw, is_fuzz_test): size = valid_kw.get('SIZE', consts.TestSize.Small).lower() tags = get_list("TAG") is_fat = 'ya:fat' in tags + is_force_sandbox = 'ya:force_sandbox' in tags + in_autocheck = "ya:not_autocheck" not in tags and 'ya:manual' not in tags requirements = {} valid_requireme...
Add a warning about jq rounding numbers to the documentation.
</execute-list> <admonition type="note">This syntax requires <proper>jq v1.5</proper>.</admonition> + <admonition type="note"><proper>jq</proper> may round large numbers such as system identifiers. Test your queries carefully.</admonition> </section> </section>
added internal status for source of ESSID
@@ -2013,6 +2013,7 @@ for(c = 0; c < apstaessidcount; c++) { if((essidlen == zeiger->essidlen) && (memcmp(mac_ap, zeiger->mac_ap, 6) == 0) && (memcmp(mac_sta, zeiger->mac_sta, 6) == 0) && (memcmp(essid, zeiger->essid, zeiger->essidlen) == 0)) { + zeiger->status |= status; return; } zeiger++; @@ -2091,7 +2092,7 @@ if(es...
update PLL and DDS configuration in dac_test
-source projects/packetizer_test/block_design.tcl +# Create processing_system7 +cell xilinx.com:ip:processing_system7:5.5 ps_0 { + PCW_IMPORT_BOARD_PRESET cfg/red_pitaya.xml +} { + M_AXI_GP0_ACLK ps_0/FCLK_CLK0 +} + +# Create all required interconnections +apply_bd_automation -rule xilinx.com:bd_rule:processing_system7...
OcAppleKernelLib: Added notes for HWP and _xcpm_core_scope_msrs patch
@@ -243,7 +243,7 @@ PatchAppleXcpmCfgLock ( } // - // Now the HWP patch. + // Now the HWP patch at _xcpm_idle() for Release XNU. // Status = PatcherApplyGenericPatch ( Patcher, @@ -292,7 +292,6 @@ mMiscPwrMgmtRelPatch = { .Limit = 0 }; - STATIC UINT8 mMiscPwrMgmtDbgFind[] = { @@ -342,6 +341,11 @@ PatchAppleXcpmExtraMsr...
Fix for ST7789 display flicker
@@ -54,7 +54,7 @@ namespace pimoroni { int8_t bl = DEFAULT_BL_PIN; int8_t vsync = -1; // only available on some products - uint32_t spi_baud = 64 * 1024 * 1024; + uint32_t spi_baud = 16 * 1000 * 1000; //--------------------------------------------------
fix turtle.shape converter
@@ -212,9 +212,10 @@ pbc.objectFunctionD.get('speed')['Turtle'] = function (py2block, func, args, key } pbc.objectFunctionD.get('shape')['Turtle'] = function (py2block, func, args, keywords, starargs, kwargs, node) { - if (args.length !== 1) { + if (args.length !== 1 && args.length !== 0) { throw new Error("Incorrect n...
hotfix devtools config bug
@echo on -set WIN_COMMON_FLAGS=-DOS_SDK=local -DCUDA_ROOT="%CUDA_PATH%" -DUSE_ARCADIA_CUDA_HOST_COMPILER=no --host-platform-flag USE_ARCADIA_CUDA_HOST_COMPILER=no -DCUDA_HOST_COMPILER="C:/VC_FOR_CUDA/VC/Tools/MSVC/14.13.26128/bin/Hostx64/x64/cl.exe" +set WIN_COMMON_FLAGS=-k -DOS_SDK=local -DCUDA_ROOT="%CUDA_PATH%" -DUS...
btc: unconditionally re-request address-info for watched addresses
?. =(network network.w) ~ ^- (unit (list card)) :- ~ - %+ murn ~(tap by wach.w) - |= [a=address ad=addi] - ?: %+ levy ~(tap in utxos.ad) - |=(u=utxo (gth height.u (sub block.btc-state confs.w))) - ~ - `(poke-provider [%address-info a]) + %+ turn ~(tap by wach.w) + |= [a=address *] + (poke-provider [%address-info a]) ::...
23-rpl-tsch-z1.csc - remove one node that does not like to be routed
<project EXPORT="discard">[APPS_DIR]/powertracker</project> <simulation> <title>RPL+TSCH (Z1)</title> - <randomseed>123456</randomseed> + <randomseed>1</randomseed> <motedelay_us>1000000</motedelay_us> <radiomedium> org.contikios.cooja.radiomediums.UDGM </interface_config> <motetype_identifier>z11</motetype_identifier>...
gpaddmirrors: fix test assertion Remove period from assertRaisesRegexp expectation to not be conflated with the regex metacharacter. Authored-by: Kalen Krempely
@@ -177,7 +177,7 @@ class buildMirrorSegmentsTestCase(GpTestCase): gpArray = GpArray([self.master, self.primary]) - with self.assertRaisesRegexp(Exception, r"Segment dbid's 2 and 1 on host samehost cannot have the same port 1111."): + with self.assertRaisesRegexp(Exception, r"Segment dbid's 2 and 1 on host samehost can...
fix(discord-ratelimit.c): c89 compliant comment
@@ -63,7 +63,7 @@ discord_bucket_try_cooldown(struct discord_adapter *adapter, struct discord_buck "Transfer locked in queue.", bucket->hash, bucket->remaining); - // wait for pthread_cond_signal() from parse_ratelimits() + /* wait for pthread_cond_signal() from parse_ratelimits() */ pthread_cond_wait(&bucket->cond, &b...
acrn-config: Enable pre-launch VM sharing CPU with other VMs CPU sharing between pre-launch VMs and SOS, post-launch VMs were forbidden. Remove the limitation. Acked-by: Terry Zou
@@ -309,9 +309,6 @@ def vm_cpu_affinity_check(config_file, id_cpus_per_vm_dic, item): if pre_launch_cpus.count(pcpu) >= 2: key = "Pre launched VM cpu_affinity" err_dic[key] = "Pre_launched_vm vm should not have the same cpus assignment" - if pcpu in post_launch_cpus: - key = "Pre launched vm and Post launchded VM cpu_a...
No need for reflection
// + sessionWithConfiguration:delegate:delegateQueue: #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wshadow" - RSSwizzleClassMethod(NSClassFromString(@"NSURLSession"), + RSSwizzleClassMethod(NSURLSession.class, @selector(sessionWithConfiguration:delegate:delegateQueue:), RSSWReturnType(NSURLSession *...
hfuzz-cc: enable ld's -undefined dynamic_lookup under macosx
@@ -399,13 +399,15 @@ static int ldMode(int argc, char** argv) { args[j++] = getLibHFNetDriverPath(); /* Pull modules defining the following symbols (if they exist) */ -#ifndef _HF_ARCH_DARWIN +#ifdef _HF_ARCH_DARWIN + args[j++] = "-Wl,-undefined,dynamic_lookup"; + args[j++] = "-Wl,-u,_LIBHFNETDRIVER_module_main", + ar...
VERSION bump to version 2.1.70
@@ -64,7 +64,7 @@ endif() # micro version is changed with a set of small changes or bugfixes anywhere in the project. set(SYSREPO_MAJOR_VERSION 2) set(SYSREPO_MINOR_VERSION 1) -set(SYSREPO_MICRO_VERSION 69) +set(SYSREPO_MICRO_VERSION 70) set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI...
modified include file
#include <Eigen.h> // Calls main Eigen matrix class library #include <Eigen/LU> // Calls inverse, determinant, LU decomp., etc. -#include <Eigen/Dense> +#include <Eigen/QR> #include <math.h> #include <vector>
doc: Add note about the maximum number of regions for hv-land The maximum number of ivshmem shared memory regions cannot exceed 8
@@ -62,6 +62,8 @@ enable it using the :ref:`acrn_configuration_tool` with these steps: communication and separate it with ``:``. For example, the communication between VM0 and VM2, it can be written as ``0:2`` + .. note:: You can define up to eight ``ivshmem`` hv-land shared regions. + - Build the XML configuration, re...
docs: document posix.time constants Fixes * ext/posix/time.c (luaopen_posix_time): Add ldocs for time constants.
@@ -341,6 +341,28 @@ static const luaL_Reg posix_time_fns[] = }; +/*** +Constants. +@section constants +*/ + +/*** +Standard constants. +Any constants not available in the underlying system will be `nil` valued. +@table posix.time +@int CLOCK_MONOTONIC the identifier for the system-wide monotonic clock +@int CLOCK_PROC...
nvagetbios: Add automatic strap_peek detection Detecting the strap_peek is very easy, so we may as well just handle it for the user by default so users (like me...) are less likely to give us vbios files with no strap peeks.
#include <unistd.h> #include <string.h> #include <stdlib.h> +#include <errno.h> #define NV_PRAMIN_OFFSET 0x00700000 #define NV_PROM_OFFSET 0x00300000 @@ -202,9 +203,17 @@ int vbios_extract_pramin(int cnum, uint8_t *vbios, int *length) return ret; } +int32_t extract_strap_peek(int cnum) +{ + return nva_rd32(cnum, 0x1010...
codgen: add option to keep logs to test
@@ -4,11 +4,14 @@ echo echo ELEKTRA CHECK GEN echo -while getopts ":q" opt; do +while getopts ":qk" opt; do case $opt in q) nodiff=1 ;; + k) + keeplogs=1 + ;; *) ;; esac @@ -178,7 +181,7 @@ for test_folder in "@CMAKE_SOURCE_DIR@"/tests/shell/gen/*/; do echo "The log is also stored at $output_folder$test_name.check.log"...
[mod_evasive] update comment to add references update comment to add references to other modules and mechanisms available in lighttpd to enforce security policy
/** * mod_evasive * - * we indent to implement all features the mod_evasive from apache has + * A combination of lighttpd modules provides similar features + * to those in (old) Apache mod_evasive * * - limit of connections per IP + * ==> mod_evasive * - provide a list of block-listed ip/networks (no access) + * ==> bl...
chunk_trace: remove reference to instance event_type
@@ -188,7 +188,6 @@ struct flb_chunk_trace_context *flb_chunk_trace_context_new(void *trace_input, flb_error("could not load trace emitter"); goto error_flb; } - input->event_type = FLB_EVENT_TYPE_LOGS | FLB_EVENT_TYPE_HAS_TRACE; ret = flb_input_set_property(input, "alias", "trace-emitter"); if (ret != 0) {
Update valgrind wrapper script
#!/usr/bin/env python3 # SPDX-License-Identifier: Apache-2.0 # ----------------------------------------------------------------------------- -# Copyright 2020-2021 Arm Limited +# Copyright 2020-2022 Arm Limited # # Licensed under the Apache License, Version 2.0 (the "License"); you may not # use this file except in com...
Upgrade gradle build tools to 4.0.1
@@ -7,7 +7,7 @@ buildscript { jcenter() } dependencies { - classpath 'com.android.tools.build:gradle:3.6.2' + classpath 'com.android.tools.build:gradle:4.0.1' // NOTE: Do not place your application dependencies here; they belong // in the individual module build.gradle files
gestures: remove unneeded lock We are not interrupting this function anywhere, and the locking causes linting issues.
@@ -236,57 +236,14 @@ static void _emit_continuous_tap_event(void) /********************************** MEASURE, DETECT and CALLBACK **********************************/ -static void _get_lock(volatile uint32_t* lock_variable) -{ -#ifndef TESTING - // Note: __LDREXW and __STREXW are CMSIS functions - int status = 0; - do...
rpl_refresh_routes: log new DTSN rather than old one
@@ -183,14 +183,14 @@ void rpl_refresh_routes(const char *str) { if(rpl_dag_root_is_root()) { - LOG_WARN("incrementing DTSN (%s), current %u)\n", + /* Increment DTSN */ + RPL_LOLLIPOP_INCREMENT(curr_instance.dtsn_out); + + LOG_WARN("incremented DTSN (%s), current %u\n", str, curr_instance.dtsn_out); if(LOG_INFO_ENABLED...
Close the db connection at the end.
@@ -2715,6 +2715,9 @@ class gpload: for t in self.threads: t.join() + if self.db != None: + self.db.close() + self.log(self.INFO, 'rows Inserted = ' + str(self.rowsInserted)) self.log(self.INFO, 'rows Updated = ' + str(self.rowsUpdated)) self.log(self.INFO, 'data formatting errors = ' + str(NUM_WARN_ROWS))
comment out setup of lustre-client postscript for now
@@ -70,27 +70,27 @@ accomplished as follows: [sms](*\#*) service dhcpd restart \end{lstlisting} -If the Lustre client was enabled for computes in \S\ref{sec:lustre_client}, you -should be able to mount the file system post-boot using the fstab entry -(e.g. via ``\texttt{mount /mnt/lustre}''). Alternatively, if -you pre...
BugID:17921131:fix esp32 hal bug
#define ETS_CACHED_ADDR(addr) (addr) #ifndef __ASSEMBLER__ -#define BIT(nr) (1UL << (nr)) +#define BIT(nr) (1ULL << (nr)) #else #define BIT(nr) (1 << (nr)) #endif
BR MAC: add log
@@ -111,7 +111,8 @@ send_packet(mac_callback_t sent, void *ptr) /* Will make it send only DATA packets... for now */ packetbuf_set_attr(PACKETBUF_ATTR_FRAME_TYPE, FRAME802154_DATAFRAME); - /* printf("Sending packet of type: %s \n", get_frame_type(packetbuf_attr(PACKETBUF_ATTR_FRAME_TYPE))); */ + + LOG_INFO("br-rdc: sen...
change condition to check for ealier than llvm 12.0.1
@@ -468,25 +468,24 @@ ParallelRegion::Verify() * !1 distinct !{} * !2 distinct !{} * - * Parallel loop metadata prior to LLVM 12 on memory reads also implies that - * if-conversion (i.e., speculative execution within a loop iteration) - * is safe. Given an instruction reading from memory, - * IsLoadUnconditionallySafe ...
fix bug in getset...
@@ -595,13 +595,13 @@ protoop_arg_t get_pkt_ctx(picoquic_packet_context_t *pkt_ctx, access_key_t ak) case PKT_CTX_AK_LATEST_TIME_ACKNOWLEDGED: return pkt_ctx->latest_time_acknowledged; case PKT_CTX_AK_RETRANSMIT_NEWEST: - return (protoop_arg_t) &pkt_ctx->retransmit_newest; + return (protoop_arg_t) pkt_ctx->retransmit_n...
[kernel] initialize EventsManager::_T from Simulation constructor
@@ -62,6 +62,7 @@ Simulation::Simulation(SP::NonSmoothDynamicalSystem nsds, SP::TimeDiscretisation _allOSI.reset(new OSISet()); _allNSProblems.reset(new OneStepNSProblems()); _eventsManager.reset(new EventsManager(td)); // + _eventsManager->updateT(_nsds->finalT()); _nsdsChangeLogPosition = nsds->changeLog().begin(); }...
Drop old badges and references to the non-existent mailing list.
@@ -5,8 +5,6 @@ OpenPrinting CUPS v2.4.2 ![Apache 2.0](https://img.shields.io/github/license/openprinting/cups) [![Build and Test](https://github.com/OpenPrinting/cups/workflows/Build%20and%20Test/badge.svg)](https://github.com/OpenPrinting/cups/actions/workflows/build.yml) [![Coverity Scan](https://img.shields.io/cove...
rgbasm(5): Clarify charmap behavior
@@ -391,16 +391,21 @@ with its corresponding argument in .Pq So %% Sc is replaced by the So % Sc character . .El .Ss Character maps -When writing text that is meant to be displayed in the Game Boy, the characters used in the source code may have a different encoding than the default of ASCII. -For example, the tiles us...
runtime: scheduler parameter tweak
#define RUNTIME_RQ_SIZE 32 #define RUNTIME_SOFTIRQ_BUDGET 16 #define RUNTIME_MAX_TIMERS 4096 -#define RUNTIME_SCHED_POLL_ITERS 5 +#define RUNTIME_SCHED_POLL_ITERS 1 #define RUNTIME_SCHED_MIN_POLL_US 5 #define RUNTIME_WATCHDOG_US 50
parallel-libs/mfem: bump to v4.1
@@ -21,7 +21,7 @@ Name: %{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM} Summary: Lightweight, general, scalable C++ library for finite element methods License: LGPLv2.1 Group: %{PROJ_NAME}/parallel-libs -Version: 4.0 +Version: 4.1 Release: 1%{?dist} Source0: https://github.com/mfem/mfem/archive/v%{version}.tar.g...
fix(layout): two inline-block widgets overlap in new line
@@ -136,6 +136,7 @@ static void LCUILayout_HandleInlineBlock( LCUI_LayoutContext ctx ) if( ctx->x - ctx->max_width >= 0.01 ) { LCUILayout_HandleCurrentLine( ctx ); ctx->current->origin_x = 0; + ctx->x += ctx->current->box.outer.width; } ctx->current->origin_y = ctx->y; if( ctx->current->box.outer.height > ctx->line_hei...
[bsp] insert keep section .rti_fn* in GCC link file
@@ -88,6 +88,13 @@ SECTIONS __vsymtab_end = .; . = ALIGN(4); + /* section information for initial. */ + . = ALIGN(4); + __rt_init_start = .; + KEEP(*(SORT(.rti_fn*))) + __rt_init_end = .; + . = ALIGN(4); + . = ALIGN(4); _etext = .;
led: Only report auto control for supported LEDs. BRANCH=None TEST=make -j buildall Commit-Ready: Aseda Aboagye Tested-by: Aseda Aboagye
@@ -19,12 +19,16 @@ static uint32_t led_auto_control_flags = ~0x00; static int led_is_supported(enum ec_led_id led_id) { int i; + static int supported_leds = -1; + + if (supported_leds == -1) { + supported_leds = 0; for (i = 0; i < supported_led_ids_count; i++) - if (led_id == supported_led_ids[i]) - return 1; + suppor...
NSH: Needs to include tftp.h if TFTP no disabled
#if defined(CONFIG_NET_UDP) && CONFIG_NFILE_DESCRIPTORS > 0 # include "netutils/netlib.h" +# if !defined(CONFIG_NSH_DISABLE_GET) || !defined(CONFIG_NSH_DISABLE_PUT) +# include "netutils/tftp.h" +# endif #endif #if defined(CONFIG_NET_TCP) && CONFIG_NFILE_DESCRIPTORS > 0
Add missing disconnect
@@ -1244,6 +1244,10 @@ int Client::write_streams() { reset_idle_timer(); if (auto rv = send_packet(); rv != NETWORK_ERR_OK) { + if (rv != NETWORK_ERR_SEND_BLOCKED) { + last_error_ = quic_err_transport(NGTCP2_ERR_INTERNAL); + disconnect(); + } return rv; }
Fix refcounting in lovr.data;
@@ -14,9 +14,9 @@ int l_lovrDataInit(lua_State* L) { int l_lovrDataNewTextureData(lua_State* L) { Blob* blob = luax_readblob(L, 1, "Texture"); TextureData* textureData = lovrTextureDataFromBlob(blob); + luax_pushtype(L, TextureData, textureData); lovrRelease(&blob->ref); lovrRelease(&textureData->ref); - luax_pushtype(...
fix implicit conversion from wxString to const char* it is completely unnecessary and can cause compilation error with some wxWidgets versions
@@ -135,7 +135,7 @@ pnlBoardControls::pnlBoardControls(wxWindow* parent, wxWindowID id, const wxStri wxArrayString powerChoices; for (int i = -8; i <= 7; ++i) - powerChoices.push_back(wxString::From8BitData(power2unitsString(i))); + powerChoices.push_back(power2unitsString(i)); cmbCustomPowerOf10Wr = new wxChoice(pnlCu...
audio: Gracefully handle absence of ALC_SOFT_HRTF;
@@ -31,6 +31,7 @@ void lovrAudioInit() { lovrThrow("Unable to create OpenAL context"); } +#if ALC_SOFT_HRTF static LPALCRESETDEVICESOFT alcResetDeviceSOFT; alcResetDeviceSOFT = (LPALCRESETDEVICESOFT) alcGetProcAddress(device, "alcResetDeviceSOFT"); state.isSpatialized = alcIsExtensionPresent(device, "ALC_SOFT_HRTF"); @...
[hardware] Fix vertical alignment issues
@@ -26,8 +26,9 @@ module mempool // Scan chain input logic scan_enable_i, input logic scan_data_i, - input logic [NumCores-1:0] wake_up_i, - output logic scan_data_o + output logic scan_data_o, + // Wake up interface + input logic [NumCores-1:0] wake_up_i ); /*****************
.travis.yml update for conda
set -e -x if [[ "$TRAVIS_PYTHON_VERSION" == "2.7" ]]; then - # wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh; - wget https://repo.continuum.io/miniconda/Miniconda2-4.3.21-Linux-x86_64.sh -O miniconda.sh; + wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.s...
INSTALL.md: Remove trailing space
@@ -234,8 +234,8 @@ and issue the following command. $ nmake install -The easiest way to elevate the Command Prompt is to press and hold down -both the `<CTRL>` and `<SHIFT>` keys while clicking the menu item in the task menu. +The easiest way to elevate the Command Prompt is to press and hold down both +the `<CTRL>` a...
pico: stub for text event
@@ -169,6 +169,10 @@ void lovrPlatformOnKeyboardEvent(keyboardCallback callback) { // } +void lovrPlatformOnTextEvent(textCallback callback) { + // todo +} + void lovrPlatformGetMousePosition(double* x, double* y) { *x = *y = 0.; }
YAML Smith: Use more C++ styled code
@@ -32,20 +32,21 @@ extern "C" { int elektraYamlsmithGet (Plugin * handle ELEKTRA_UNUSED, KeySet * returned, Key * parentKey) { auto parent = CppKey{ parentKey }; + auto keys = CppKeySet{ returned }; if (parent.getName () == "system/elektra/modules/yamlsmith") { - KeySet * contract = ksNew ( + auto contract = CppKeySet...
Add autokill enum.
@@ -128,6 +128,15 @@ typedef enum ANIMATING_FORWARD = 1 } e_animating; +// Caskey, Damon V. +// 2019-02-05 +typedef enum +{ + AUTOKILL_NONE = 0, + AUTOKILL_ANIMATION_COMPLETE = (1 << 0), + AUTOKILL_ATTACK_HIT = (1 << 1) +} e_autokill_state; + // Caskey, Damon V. // 2019-01-25 // @@ -142,7 +151,7 @@ typedef enum } e_upd...
make the link for rocr-rntime be a relative so all the repos can be copied to a new location
@@ -217,13 +217,13 @@ if [[ "$AOMP_VERSION" == "13.1" ]] || [[ $AOMP_MAJOR_VERSION -gt 13 ]] ; then # build_rocr.sh expects directory rocr-runtime which is a subdir of hsa-runtime # Link in the open source hsa-runtime as "src" directory if [ -d $AOMP_REPOS/hsa-runtime ] ; then - if [ ! -L $AOMP_REPOS/rocr-runtime/src ]...
Change some comments.
/** * Data format - * State is encoded as a string of unsigned bytes. * * Types: * - * Byte 0 to 200: small integer byte - 100 + * Byte 0 to 200: small integer with value (byte - 100) * Byte 201: Nil * Byte 202: True * Byte 203: False
Fix some documentation mistakes
@@ -435,8 +435,8 @@ Functions documentation squared distance between two vectors Parameters: - | *[in]* **mat** vector1 - | *[in]* **row1** vector2 + | *[in]* **v1** vector1 + | *[in]* **v2** vector2 Returns: | squared distance (distance * distance) @@ -446,8 +446,8 @@ Functions documentation distance between two vecto...
Update readme with installer and examples info in the abstract section.
@@ -21,6 +21,8 @@ const { sum } = require('sum.py'); sum(3, 4); // 7 ``` +Use the [installer](https://github.com/metacall/install) and try [some examples](https://github.com/metacall/beautifulsoup-express-example). + <div align="center"> <a href="https://medium.com/@metacall/call-functions-methods-or-procedures-between...
Fixing code style.
@@ -658,8 +658,8 @@ nxt_router_new_port_handler(nxt_task_t *task, nxt_port_recv_msg_t *msg) return; } - if (msg->u.new_port == NULL || - msg->u.new_port->type != NXT_PROCESS_WORKER) + if (msg->u.new_port == NULL + || msg->u.new_port->type != NXT_PROCESS_WORKER) { msg->port_msg.type = _NXT_PORT_MSG_RPC_ERROR; } @@ -2798...
Fix Valgrind warning in dill_pollset_poll: 'epoll_ctl(event) points to unitialized bytes'
@@ -109,6 +109,9 @@ int dill_pollset_in(struct dill_fdclause *fdcl, int id, int fd) { add it to the pollset. */ if(dill_slow(!fdi->cached)) { struct epoll_event ev; +#ifdef DILL_VALGRIND + ev.data.u64 = 0; //Keep Valgrind happy +#endif ev.data.fd = fd; ev.events = EPOLLIN; int rc = epoll_ctl(ctx->efd, EPOLL_CTL_ADD, fd...
Fix Nano S freeze
@@ -2756,11 +2756,11 @@ __attribute__((section(".boot"))) int main(int arg0) { dataAllowed = N_storage.dataAllowed; contractDetails = N_storage.contractDetails; - ui_idle(); - USB_power(0); USB_power(1); + ui_idle(); + #ifdef HAVE_BLE BLE_power(0, NULL); BLE_power(1, "Nano X");
UT framework: fix misspelled variable name
@@ -576,7 +576,7 @@ class UnitTestsSourcesGenerator(object): delimiter = "" try: if "{" in ret[-1] or "{" in ret[-2]: - delimter = "{" + delimiter = "{" else: delimiter = ";" except IndexError:
remove `-fbuiltin-module-map` in the (windows)mingw environment There is no builtin module for clang in the mingw environment, so remove `-fbuiltin-module-map` in the mingw environment will make the compilation work.
@@ -489,8 +489,12 @@ function get_builtinmodulemapflag(target) if builtinmodulemapflag == nil then local compinst = target:compiler("cxx") if compinst:has_flags("-fbuiltin-module-map", "cxxflags", {flagskey = "clang_builtin_module_map"}) then + if is_plat("windows", "mingw") then + builtinmodulemapflag = "" + else buil...
Leaf: Use capital letter after `@retval` keyword
@@ -138,8 +138,8 @@ LeafDelegate::LeafDelegate (CppKeySet config ELEKTRA_UNUSED) * * @param keys This parameter specifies the key set this function converts. * - * @retval ELEKTRA_PLUGIN_STATUS_SUCCESS if the plugin converted any value in the given key set - * @retval ELEKTRA_PLUGIN_STATUS_NO_UPDATE if the plugin did n...
Fix errors check and signs
@@ -96,10 +96,12 @@ int xdag_mem_init(size_t size) } size_t wrote = snprintf(tfile_node->tmpfile, PATH_MAX,"%s%s", g_tmpfile_path, TMPFILE_TEMPLATE); - if (wrote < 0){ + if ((ssize_t)wrote < 0){ xdag_fatal("Error: Fail to write tmpfile"); free(tfile_node); return -1; + } else if (wrote == PATH_MAX){ + xdag_fatal("Error...
filter: allow case-insensitive filter name
@@ -316,7 +316,7 @@ struct flb_filter_instance *flb_filter_new(struct flb_config *config, mk_list_foreach(head, &config->filter_plugins) { plugin = mk_list_entry(head, struct flb_filter_plugin, _head); - if (strcmp(plugin->name, filter) == 0) { + if (strcasecmp(plugin->name, filter) == 0) { break; } plugin = NULL;
fixed ksceKernelFindClassByName
@@ -282,7 +282,7 @@ SceClass *ksceKernelGetUidMemBlockClass(void); int ksceKernelCreateClass(SceClass *cls, const char *name, void *uidclass, size_t itemsize, SceClassCallback create, SceClassCallback destroy); int ksceKernelDeleteUserUid(SceUID pid, SceUID user_uid); int ksceKernelDeleteUid(SceUID uid); -int ksceKerne...
jni: avoid warning see
@@ -49,7 +49,8 @@ if (ADDTESTING_PHASE) list (FIND BINDINGS "jna" FINDEX) find_program (MAVEN_EXECUTABLE mvn) - if (ENABLE_BROKEN_TESTS AND BUILD_TESTING AND FINDEX GREATER -1 AND MAVEN_EXECUTABLE) + if (ENABLE_BROKEN_TESTS) + if (BUILD_TESTING AND FINDEX GREATER -1 AND MAVEN_EXECUTABLE) add_plugintest(jni MEMLEAK) inc...
dm: update the vsbl loader to use new interface to set the state of guest BSP (entries, general registers etc) when DM load vsbl. Acked-by: Eddie Dong
@@ -247,13 +247,8 @@ acrn_sw_load_vsbl(struct vmctx *ctx) int ret; struct e820_entry *e820; struct vsbl_para *vsbl_para; - uint64_t *vsbl_entry = - (uint64_t *)(ctx->baseaddr + VSBL_ENTRY_OFF(ctx)); - uint64_t *cfg_offset = - (uint64_t *)(ctx->baseaddr + GUEST_CFG_OFFSET); init_cmos_vrpmb(ctx); - *cfg_offset = ctx->low...
Add ksceKernelGetTLSAddr nid
@@ -3128,6 +3128,7 @@ modules: ksceKernelGetProcessIdFromTLS: 0xFA54D49A ksceKernelGetSystemTimeLow: 0x47F6DE49 ksceKernelGetSystemTimeWide: 0xF4EE4FA9 + ksceKernelGetTLSAddr: 0xE938FB20 ksceKernelGetThreadCpuAffinityMask: 0x83DC703D ksceKernelGetThreadCpuRegisters: 0x5022689D ksceKernelGetThreadCurrentPriority: 0x0141...
Cleanup leftover jenkins command
@@ -26,7 +26,6 @@ pipeline { steps { lock(resource: "Pandas", inversePrecedence: true, quantity:1){ timeout(time: 60, unit: 'MINUTES') { - sh "docker stop panda-test || true && docker rm panda-test || true" sh "docker run --name ${env.DOCKER_NAME} --privileged --volume /dev/bus/usb:/dev/bus/usb --volume /var/run/dbus:/...
Use utils/create-cluster from any dir
#!/bin/bash +SCRIPT_DIR="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )" + # Settings -BIN_PATH="../../src/" +BIN_PATH="$SCRIPT_DIR/../../src/" CLUSTER_HOST=127.0.0.1 PORT=30000 TIMEOUT=2000
doc: add markdown for host execrciser interleave input
@@ -17,6 +17,11 @@ Options: number of CLs per request{cl_1, cl_2, cl_3, cl_4} --ccont BOOLEAN=0 Configures test rollover or test termination -d,--delay BOOLEAN=0 Enables random delay insertion between requests + --interleave UINT=0 Interleave requests pattern to use in throughput mode {0, 1, 2} + indicating one of the ...
fix(api_hlfabric.c): According to "load_existed_wallet" to determine whether to execute keyCreat
@@ -319,6 +319,7 @@ BOAT_RESULT BoatHlfabricWalletSetAccountInfo(BoatHlfabricWallet *wallet_ptr, /* prikey context assignment */ // if (prikeyCtx_config.prikey_content.field_ptr != NULL) + if(prikeyCtx_config.load_existed_wallet == false) { if (BOAT_SUCCESS != BoatPort_keyCreate(&prikeyCtx_config, &wallet_ptr->account_...
Commented out current free detector approach until better solution is found.
@@ -307,6 +307,7 @@ TEST_F(metacall_test, DefaultConstructor) * for now, this would be sufficient to catch most of the errors. */ + /* void *freed_args[] = { (void *)metacall_value_create_long(3L), (void *)metacall_value_create_long(5L) @@ -316,6 +317,7 @@ TEST_F(metacall_test, DefaultConstructor) metacall_value_destro...
Tweak math/nan docstring
@@ -375,7 +375,7 @@ void janet_lib_math(JanetTable *env) { JANET_CORE_DEF(env, "math/int-max", janet_wrap_number(JANET_INTMAX_DOUBLE), "The maximum contiguous integer represtenable by a double (-(2^53))"); #ifdef NAN - JANET_CORE_DEF(env, "math/nan", janet_wrap_number(NAN), "Not a number (IEEE-754 NaN"); + JANET_CORE_D...
Android: Track split of matrix and kalman libraries
LOCAL_PATH := $(call my-dir) -ifneq ($(TARGET_SURVIVE_MATH_BACKEND),) - SURVIVE_MATH_BACKEND := $(TARGET_SURVIVE_MATH_BACKEND) -else - SURVIVE_MATH_BACKEND := eigen -endif - COMMON_CFLAGS := \ -DGIT_VERSION=\"$(shell git -C $(LOCAL_PATH) describe --dirty)\" \ -DBUILD_LH1_SUPPORT \ @@ -27,10 +21,6 @@ COMMON_C_INCLUDES :...
Output bin dump to correct location
@@ -215,9 +215,9 @@ if __name__ == '__main__': dest = str(args.file).replace('.dfu', '') filename = f"{dest}-{target_id}-{address}.bin" - if pathlib.Path(dest).is_file() and not args.force: + if pathlib.Path(filename).is_file() and not args.force: raise parser.error(f'Existing output file "{filename}", use --force to o...
Property: fix intermittent test failure. The reduction in the cache flush threshold in caused the stochastic test to fail with noticeable probability. Revert that part of the change. Also add a comment to help avoid this in future.
#include "crypto/sparse_array.h" #include "property_local.h" -/* The number of elements in the query cache before we initiate a flush */ -#define IMPL_CACHE_FLUSH_THRESHOLD 50 +/* + * The number of elements in the query cache before we initiate a flush. + * If reducing this, also ensure the stochastic test in test/prop...
doc: apply suggestions for keyname decision
@@ -22,7 +22,7 @@ The question now is, which representations should be used by `libelektra-core` a ## Assumptions -- In most cases the escaped name is used for developer convenience not, because of actual requirements. +- In most cases the escaped name is used for developer convenience and not because of actual require...
ixfr-out, fix to not log nonexisting files deleted when cleaning up.
@@ -1035,13 +1035,16 @@ static int ixfr_file_exists(const char* zfile, int file_num) } /* unlink an ixfr file */ -static int ixfr_unlink_it(struct zone* zone, const char* zfile, int file_num) +static int ixfr_unlink_it(struct zone* zone, const char* zfile, int file_num, + int ignore_enoent) { char ixfrfile[1024+24]; ma...
PoC of SQLite3 building for Java
@@ -22,6 +22,14 @@ add_library( # Sets the name of the library. # Sets the library as a shared library. SHARED) +# Sqlite3 +target_sources (crypto + PUBLIC + + src/main/cpp/core/vendor/sqlite3/sqlite3.h + src/main/cpp/core/vendor/sqlite3/sqlite3.c + ) + # Support target_sources (crypto PUBLIC @@ -378,6 +386,7 @@ includ...
add fflush()
@@ -74,6 +74,7 @@ debug_printf_clean(const char *format, ...) { va_end(ap); fprintf(debug_target, "%s", charbuf); + fflush(debug_target); } void @@ -102,6 +103,7 @@ debug_printf(const char *format, ...) { va_end(ap); fprintf(debug_target, "[P][%u.%03u] %s", (unsigned int) time_delta.tv_sec, (unsigned int) time_delta.tv...
check compatibility of trajectory
@@ -283,6 +283,11 @@ int main_pics(int argc, char* argv[]) if (!md_check_compat(DIMS, ~(MD_BIT(MAPS_DIM)|FFT_FLAGS), img_dims, map_dims)) error("Dimensions of image and sensitivities do not match!\n"); + if ((NULL != traj_file) && (!md_check_compat(DIMS, ~0, ksp_dims, traj_dims))) + error("Dimensions of data and trajec...