message
stringlengths
6
474
diff
stringlengths
8
5.22k
Remove .breakall and .clearall conditionally. If disasm not available, these functions cannot be implemented.
(print)) (print)) -(unless (get _env 'disasm) - (put _env '.disasm nil) - (put _env '.bytecode nil) - (put _env '.ppasm nil)) -(put _env 'disasm-alias nil) - -(defn .source - "Show the source code for the function being debugged." - [&opt n] - (def frame (.frame n)) - (def s (frame :source)) - (def all-source (slurp s)...
CI/CD: add alinux2 commit occlum test
@@ -12,7 +12,7 @@ jobs: strategy: matrix: sgx: [[self-hosted, SGX1], [self-hosted, SGX2]] - tag: [ubuntu18.04, centos8.2] + tag: [ubuntu18.04, centos8.2, alinux2] steps: - uses: actions/checkout@v2 with: @@ -32,7 +32,7 @@ jobs: - name: Build and install packages run: docker exec $rune_test bash -c "cp -r /root/inclavar...
naive: fully functional test-rut complete
^$(nonce-i +(nonce-i)) =/ proxy-i 1 |- - ?. (lte proxy-i 5) + ?. (lte proxy-i 4) ::no transfer proxy ^$(dominion-i +(dominion-i)) =/ tx-type-i 1 |- ++ gen-rut-jar ^- (jar @p event) =/ filter ;: cork - (cury filter-owner %.y) - (cury filter-proxy %own) - (cury filter-nonce %.y) - (cury filter-rank %planet) + ::(cury fil...
Better error reporting for wrong properties on classes / instances
@@ -869,7 +869,7 @@ static DictuInterpretResult run(DictuVM *vm) { klass = klass->superclass; } - RUNTIME_ERROR("Undefined property '%s'.", name->chars); + RUNTIME_ERROR("'%s' instance has no property: '%s'.", instance->klass->name->chars, name->chars); } else if (IS_MODULE(peek(vm, 0))) { ObjModule *module = AS_MODULE...
Correct the path of zephyr sample dts file frdm_k64f.dts has been moved to boards/arm/frdm_k64f/
@@ -23,8 +23,8 @@ mcuboot as your stage 1 bootloader, boot_partition must be configured so your SoC runs it out of reset. An example DTS file with flash partitions defined is in the Zephyr -file dts/arm/frdm_k64f.dts. Make sure the labels in your board's DTS -match the ones used there. +file boards/arm/frdm_k64f/frdm_k...
Remove seqserver process from walrep test.
@@ -114,7 +114,7 @@ class WalReplKillProcessTestCase(TINCTestCase): def kill_transc_backend_check_reset(self): dict_process = { 'stats collector process': -1, 'writer process': -1, - 'checkpointer process': -1,'seqserver process': -1, + 'checkpointer process': -1, 'ftsprobe process': -1,'sweeper process': -1,'wal sende...
meson.build: turn off stack protection for rtdl
@@ -206,7 +206,8 @@ if not headers_only if not static ldso_lib = shared_library('ld', rtdl_sources, name_prefix: '', - cpp_args: ['-fvisibility=hidden', '-DMLIBC_BUILDING_RTDL', '-DFRIGG_HAVE_LIBC'], + cpp_args:['-fvisibility=hidden', '-DMLIBC_BUILDING_RTDL', '-DFRIGG_HAVE_LIBC', + '-fno-stack-protector'], include_dire...
Add VERTEX and PIXEL/FRAGMENT defines to shader header;
@@ -27,6 +27,7 @@ const char* lovrShaderVertexPrefix = "" #else "#version 150 \n" #endif +"#define VERTEX VERTEX \n" "#define MAX_BONES 48 \n" "in vec3 lovrPosition; \n" "in vec3 lovrNormal; \n" @@ -54,6 +55,8 @@ const char* lovrShaderFragmentPrefix = "" "#version 150 \n" "in vec4 gl_FragCoord; \n" #endif +"#define PIX...
Fix if statement for csharp compiler.
@@ -652,7 +652,7 @@ if(${TINYSPLINE_BINDING_REQUESTED}) NAMES csc mcs PATHS "C:/Windows/Microsoft.NET/Framework/v4.5" ) - if(${TINYSPLINE_CSHARP_COMPILER}) + if(TINYSPLINE_CSHARP_COMPILER) if(${TINYSPLINE_CSHARP_COMPILER} MATCHES "csc$|csc.exe$") # csc neither supports the 'sdk' flag nor '/' in 'recursive' add_custom_c...
turn checkout fails into warnings so pull is done for trial branches , remove special handling for hsa-runtime
@@ -157,28 +157,30 @@ echo "================ STARTING BRANCH CHECKOUT ================" echo "$repobindir/repo forall -pc 'git checkout \$REPO_RREV'" $repobindir/repo forall -pc 'git checkout $REPO_RREV' if [ $? != 0 ] ; then - echo "$repobindir/repo forall checkout failed." - exit 1 + echo "WARNING: $repobindir/repo f...
implement checkboxes properly
@@ -10,13 +10,27 @@ import React from 'react' import Checkbox from 'material-ui/Checkbox' -const ToggleButton = ({ value, meta, onChange }) => ( +export default class ToggleButton extends React.Component { + constructor (props, ...args) { + super(props, ...args) + this.state = { checked: props.value === '1' } + } + + h...
update README for handler changes file_optical is the only type1 tcmu-runner handler now.
@@ -85,14 +85,14 @@ handler sees all SCSI commands, there are helper functions provided that save each handler from writing boilerplate code for mandatory SCSI commands, if desired. -The `qcow` and `file` handlers are examples of this type. +The `file_optical` handler is an examples of this type. With the option 2, tcm...
pthread: fix pthread exit error when set DETACHED
@@ -188,11 +188,12 @@ static void pthread_removejoininfo(FAR struct task_group_s *group, int pthread_completejoin(pid_t pid, FAR void *exit_value) { - FAR struct task_group_s *group = task_getgroup(pid); + FAR struct tcb_s *tcb = nxsched_get_tcb(pid); + FAR struct task_group_s *group = tcb ? tcb->group : NULL; FAR stru...
chat: prevent marker text from wrapping
@@ -58,7 +58,14 @@ export const DayBreak = ({ when, shimTop = false }: DayBreakProps) => ( mt={shimTop ? '-8px' : '0'} > <Rule borderColor='lightGray' /> - <Text gray flexShrink='0' fontSize={0} px={2}> + <Text + gray + flexShrink='0' + whiteSpace='nowrap' + textAlign='center' + fontSize={0} + px={2} + > {moment(when)....
nrf/board: Migrate nrf52840 target to new BLE stack. This patch moves pca10056/nrf52840 target board to use the new SoftDevice s140 v6.1.1 instead of the legacy v6.0.0.
MCU_SERIES = m4 MCU_VARIANT = nrf52 MCU_SUB_VARIANT = nrf52840 -SOFTDEV_VERSION = 6.0.0 +SOFTDEV_VERSION = 6.1.1 LD_FILES += boards/nrf52840_1M_256k.ld NRF_DEFINES += -DNRF52840_XXAA
Kconfig: Disable binary signing Binary signing is not supported on public repo. So set the config as n and invisible in configuration.
@@ -280,11 +280,12 @@ config BOARD_BUILD_DATE So it should be set to a higer value than versions of old binaries if you want to make the binary the latest version. config BINARY_SIGNING - bool "Enable Binary Signing" + bool default n depends on ARCH_BOARD_RTL8721CSM ---help--- Enable Encryption and Secure boot. + But t...
hslua-module-path: fix test for make_relative on Windows
@@ -179,10 +179,18 @@ return { ) end), test('no change if base differs', function() + if path.separator == '\\' then + -- we're on windows + assert.are_equal( + path.make_relative('c:/foo/baz/file.txt', 'd:/foo/bar', true), + 'c:/foo/baz/file.txt' + ) + else assert.are_equal( path.make_relative('foo/baz/file.txt', '/fo...
chat: sort message by number instead of timestamp fixes This is correct behavior. May cause issues with some people who have messages stored out of order on their computer. Leaving and rejoining the channel should fix it for them.
@@ -228,7 +228,7 @@ export default class ChatWindow extends Component<ChatWindowProps, ChatWindowSta let lastMessage = 0; [...envelopes] - .sort((a, b) => a.when - b.when) + .sort((a, b) => a.number - b.number) .forEach(message => { messages.set(message.number, message); lastMessage = message.number;
Fix msvs vcxproj generation
@@ -1895,7 +1895,7 @@ when ($MSVC_INLINE_OPTIMIZED == "no") { flags_debug += ['/MTd'] flags_release += ['/MT'] - vc_include = os.path.join(self.tc.vc_root, 'include') if not self.tc.ide_msvs else "$(VC_VC_IncludePath.Split(';')[0].Replace(\"\\\", \"/\"))" + vc_include = os.path.join(self.tc.vc_root, 'include') if not s...
Release: Add info about new MSR tests
@@ -101,7 +101,10 @@ We improved the documentation in the following ways: - <<TODO>> - <<TODO>> - <<TODO>> - +- We added new [Markdown Shell Recorder](https://master.libelektra.org/tests/shell/shell_recorder/tutorial_wrapper) tests for the + - [`file`](https://www.libelektra.org/plugins/file) and + - [`iconv`](https://...
schema compile REVERT disabled leafref targets error Even if the leafref is required-instance false, this situation means that the set of if-features of the leafref and its target is not the same, which violates the specs.
@@ -1523,11 +1523,6 @@ resolve_all: v = 0; while ((lref = lys_type_leafref_next(l->node, &v))) { - if (!lref->require_instance) { - /* the target may be disabled without consequences */ - continue; - } - ret = ly_path_compile_leafref(cctx.ctx, l->node, NULL, lref->path, (l->node->flags & LYS_IS_OUTPUT) ? LY_PATH_OPER_O...
doc BUGFIX single change mentioned twice
- sr_unsubscribe first parameter removed - SR_EV_VERIFY -> SR_EV_CHANGE, SR_EV_APPLY -> SR_EV_DONE - new event SR_EV_UPDATE (called first, but if several subscriptions, they will not get changes from the previous callbacks unless in one subscription) -- getting changes xpath - selects specific changes, not change subtr...
Fix a first-check-then-do race condition during framework shutdown.
@@ -1591,7 +1591,7 @@ static inline bool fw_removeTopEventFromQueue(celix_framework_t* fw) { static inline void fw_handleEvents(celix_framework_t* framework) { celixThreadMutex_lock(&framework->dispatcher.mutex); int size = framework->dispatcher.eventQueueSize + celix_arrayList_size(framework->dispatcher.dynamicEventQu...
docs(hold-tap): mark tapping_term_ms as code Improves readability and consistency.
@@ -23,9 +23,9 @@ We call this the 'hold-preferred' flavor of hold-taps. While this flavor may wor #### Flavors -- The 'hold-preferred' flavor triggers the hold behavior when the tapping_term_ms has expired or another key is pressed. -- The 'balanced' flavor will trigger the hold behavior when the tapping_term_ms has e...
virtio-config: Add VIRTIO_CONFIG_S_NEEDS_RESET status bit virtio-98 spec defines DEVICE_NEEDS_RESET in the status bit. This bit was added to the virtio-spec for enabling the device to indicate to the driver that it has experienced an error from which it can't recover and the driver should reset it. Commit:
#define VIRTIO_CONFIG_S_DRIVER_OK 4 /* Driver has finished configuring features */ #define VIRTIO_CONFIG_S_FEATURES_OK 8 +/* Device entered invalid state, driver SHOULD reset it */ +#define VIRTIO_CONFIG_S_NEEDS_RESET 0x40 /* We've given up on this device. */ #define VIRTIO_CONFIG_S_FAILED 0x80 /* virtio library featur...
Rename "shake" to "menu" The action sends AKEYCODE_MENU, so just name it "menu". See <https://github.com/Genymobile/scrcpy/pull/85>.
@@ -78,8 +78,8 @@ static inline void action_volume_down(struct controller *controller) { send_keycode(controller, AKEYCODE_VOLUME_DOWN, "VOLUME_DOWN"); } -static inline void action_shake(struct controller *controller) { - send_keycode(controller, AKEYCODE_MENU, "SHAKE"); +static inline void action_menu(struct controlle...
[catboost] Python-package: Add check for utils.eval_metric Note: mandatory check (NEED_CHECK) was skipped
@@ -128,6 +128,7 @@ TVector<double> EvalMetricsForUtils( metricResult = metric->Eval(approx, label, weight, queriesInfo, begin, end, executor); } else { Y_VERIFY(metric->GetErrorType() == EErrorType::QuerywiseError || metric->GetErrorType() == EErrorType::PairwiseError); + CB_ENSURE(!queriesInfo.empty(), "You should pr...
improved status: show information if radio tap header is missing
@@ -888,7 +888,7 @@ for(c = 0; c < iface; c++) if(dltlinktype[c] == dltlinktype[c -1]) continue; } if(dltlinktype[c] == DLT_IEEE802_11_RADIO) fprintf(stdout, "link layer header type...................: DLT_IEEE802_11_RADIO (%d)\n", dltlinktype[c]); - if(dltlinktype[c] == DLT_IEEE802_11) fprintf(stdout, "link layer head...
out_es: increase default response buffer size to 512k
#define FLB_ES_DEFAULT_TIME_KEY "@timestamp" #define FLB_ES_DEFAULT_TIME_KEYF "%Y-%m-%dT%H:%M:%S" #define FLB_ES_DEFAULT_TAG_KEY "flb-key" -#define FLB_ES_DEFAULT_HTTP_MAX "4096" +#define FLB_ES_DEFAULT_HTTP_MAX "512k" struct flb_elasticsearch { /* Elasticsearch index (database) and type (table) */
rust/bitbox02/util: add panicy str_to_cstr_force Easier to panic immediately than to propagate the error up and inevitably panic anyway.
@@ -73,3 +73,13 @@ macro_rules! str_to_cstr { } }}; } + +#[macro_export] +macro_rules! str_to_cstr_force { + ($input:expr, $len:literal) => { + match $crate::str_to_cstr!($input, $len) { + Ok(buf) => buf, + Err(_) => panic!("str did not fit"), + } + }; +}
MAP: Use bool type in map.api instead of u8.
* limitations under the License. */ -option version = "2.1.0"; +option version = "2.2.0"; import "vnet/ip/ip_types.api"; @@ -38,8 +38,8 @@ define map_add_domain u8 ea_bits_len; u8 psid_offset; u8 psid_length; - u8 is_translation; - u8 is_rfc6052; + bool is_translation; + bool is_rfc6052; u16 mtu; }; @@ -81,7 +81,7 @@ a...
Fix: restart scc colouring once FCG is rebuilt with scc clustering
@@ -1609,6 +1609,7 @@ int* colour_fcg_scc_based(int c, int *colour, PlutoProg *prog) /* Sccs will be renumbered; hence all sccs have to be revisited; */ i=-1; prev_scc = -1; + continue; } else { prog->fcg = build_fusion_conflict_graph(prog, colour, fcg->nVertices, c); }
change using platform
//////////////////Dynamixel///////////////// #define BAUD_RATE 1000000 -//#define PLATFORM +#define PLATFORM //////////////////////////////////////////// //////////////////DebugFlug///////////////// @@ -200,15 +200,6 @@ void THREAD::Robot_State(void const *argument) updateAllJointAngle(); omlink.forward(); - DEBUG.prin...
fix judgement for circle
@@ -16,7 +16,7 @@ class DiffCalculator: def od(self): o = self.diff["OverallDifficulty"] - scorewindow = [50 + 30 * (5 - o) / 5, 100 + 40 * (5 - o) / 5, 150 + 50 * (5 - o) / 5] + scorewindow = [int(50 + 30 * (5 - o) / 5), int(100 + 40 * (5 - o) / 5), int(150 + 50 * (5 - o) / 5)] score = [300, 100, 50] return score, sco...
Update .cproject build target for flywoof411
<useDefaultCommand>true</useDefaultCommand> <runAllBuilders>true</runAllBuilders> </target> + <target name="flywoof411" path="" targetID="org.eclipse.cdt.build.MakeTargetBuilder"> + <buildCommand>make</buildCommand> + <buildArguments>-j4</buildArguments> + <buildTarget>flywoof411</buildTarget> + <stopOnError>true</stop...
chore: Correct a typo in CMake file template
@@ -125,7 +125,7 @@ afr_set_board_metadata(IDE_<IDE_ID>_COMPILERS "") # set(aws_credentials_include "${AFR_TESTS_DIR}/include") # else() # set(board_dir "${board_demos_dir}") -# set(aws_credentials_include "${AFR_DEMOS_DIR}>/include") +# set(aws_credentials_include "${AFR_DEMOS_DIR}/include") # endif() # Kernel
Remove PGI from list again as it is actually still not capable
@@ -91,7 +91,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include <unistd.h> #endif -#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX2__)) || (defined(__clang__) && __clang_major__ >= 6) || defined(__PGI)) +#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX2__)) || (def...
in_tail: inotify: add detailed error on inotify ENOSPC
@@ -217,6 +217,11 @@ int flb_tail_fs_add(struct flb_tail_file *file) watch_fd = inotify_add_watch(ctx->fd_notify, file->name, flags); if (watch_fd == -1) { flb_errno(); + if (errno == ENOSPC) { + flb_error("[in_tail] inotify: The user limit on the total number " + "of inotify watches was reached or the kernel failed to...
memcheck: add gpg-agent suppression
... fun:main } +{ + gpg-agent npth_create _dl_allocate_tls + Memcheck:Leak + match-leak-kinds: possible + fun:calloc + fun:allocate_dtv + fun:_dl_allocate_tls + fun:allocate_stack + fun:pthread_create@@GLIBC_2.2.5 + fun:npth_create + obj:/usr/bin/gpg-agent + obj:/usr/bin/gpg-agent + fun:(below main) +}
breakwater: fix grammar mistake
@@ -463,7 +463,7 @@ static void dagor_prio_update(void *arg) nreqs = atomic_read(&dagor_num_reqs); if (nreqs == 0 || - ((microtime() - last_prio_update < DAGOR_PRIO_UPDATE_INT && + (microtime() - last_prio_update < DAGOR_PRIO_UPDATE_INT && nreqs < DAGOR_PRIO_UPDATE_REQS)) continue;
Add missing tag_len in ccm api. Function ccm_set_lengths requires tag_len argument for the B[0] calculation.
@@ -345,6 +345,9 @@ int mbedtls_ccm_starts( mbedtls_ccm_context *ctx, * \param plaintext_len The length in bytes of the plaintext to encrypt or * result of the decryption (thus not encompassing the * additional data that are not encrypted). + * \param tag_len The length of the tag to generate in Bytes: + * 4, 6, 8, 10,...
kernel/os: Check mempool pattern outside critical section Once we removed block from mempool, we can check it outside critical section so we do not block interrupts unnecessarily.
@@ -232,8 +232,6 @@ os_memblock_get(struct os_mempool *mp) /* Get a free block */ block = SLIST_FIRST(mp); - os_mempool_poison_check(block, OS_MEMPOOL_TRUE_BLOCK_SIZE(mp)); - /* Set new free list head */ SLIST_FIRST(mp) = SLIST_NEXT(block, mb_next); @@ -244,6 +242,10 @@ os_memblock_get(struct os_mempool *mp) } } OS_EXI...
npl/riot: regenerate syscfg.h
/*** @apache-mynewt-nimble/nimble/transport/ram */ /* Overridden by @apache-mynewt-nimble/porting/targets/riot (defined by @apache-mynewt-nimble/nimble/transport/ram) */ #ifndef MYNEWT_VAL_BLE_ACL_BUF_COUNT -#define MYNEWT_VAL_BLE_ACL_BUF_COUNT (4) +#define MYNEWT_VAL_BLE_ACL_BUF_COUNT (24) #endif #ifndef MYNEWT_VAL_BL...
out_stackdriver: use new name for hash table interface
@@ -94,7 +94,7 @@ void set_resource_type(struct flb_stackdriver *ctx) int resource_api_has_required_labels(struct flb_stackdriver *ctx) { struct mk_list *head; - struct flb_hash *ht; + struct flb_hash_table *ht; struct flb_kv *label_kv; char** required_labels; int i; @@ -113,13 +113,13 @@ int resource_api_has_required_...
DEV: put Idle handler function after
@@ -242,52 +242,6 @@ void DEV_CheckItemChanges(Device *device, const Event &event) } } -/*! #7 In this state the device is operational and runs sub states - In parallel. - - IdleState : Bindings | ItemChange - */ -void DEV_IdleStateHandler(Device *device, const Event &event) -{ - DevicePrivate *d = device->d; - - if (e...
Added make target 'golang-nginext-install' to install precompiled go package.
@@ -22,3 +22,23 @@ $NXT_BUILD_DIR/$nxt_obj: $nxt_src END done + +cat << END >> $NXT_MAKEFILE +.PHONY: golang-nginext-install + +NXT_ROOT = \$(shell pwd) + +GOPATH = \$(shell go env GOPATH) +GOOS = \$(shell go env GOOS) +GOARCH = \$(shell go env GOARCH) + +golang-nginext-install: + install -d \$(GOPATH)/src/nginext + in...
Page size allocation for large strings.
@@ -276,10 +276,16 @@ size_t fiobj_str_capa_assert(fiobj_s *str, size_t size) { if (str->type != FIOBJ_T_STRING || obj2str(str)->capa == 0 || obj2str(str)->capa >= size + 1) return obj2str(str)->capa; + size += 1; + /* large strings should increase memory by page size (assumes 4096 pages) */ + if (size << 12) + size = ...
install to debian/tmp; rather than per package
@@ -9,21 +9,22 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all export USE_CJSON_SO = 1 export USE_LIST_SO = 1 +DEB_TRIPLET := $(shell dpkg-architecture -qDEB_TARGET_MULTIARCH) export BASEDIR = $(shell pwd)/debian/tmp export BIN_AFTER_INST_PATH = /usr -export BIN_PATH = $(BASEDIR)/oidc-agent-cli/usr -export MAN_PATH ...
added RTL8821AE PCIe adapter known as working out of the box
@@ -71,12 +71,13 @@ Manufacturers do change chipsets without changing model numbers. Sometimes they This list is for information purposes only and should not be regarded as a binding presentation of the products: | VENDOR MODEL | ID | -| -------------------- | -----------------------------------------------------------...
Yan LR: Use separate function for plugin contract
@@ -18,8 +18,22 @@ using namespace ckdb; using namespace antlr; using namespace antlr4; -extern "C" { +/** + * @brief This function returns a key set containing the contract of this plugin. + * + * @return A contract describing the functionality of this plugin. + */ +static KeySet * contractYanlr (void) +{ + return ksN...
jenkinsfile: add parallel modifier so release stage is executed
@@ -47,7 +47,7 @@ maybeStage("Build docker images", DOCKER_IMAGES.any {img -> !img.value.exists}) stage("Release") { milestone label: "Release" - buildRelease() + parallel buildRelease() } /**************/
Build CSharp and Java for MacOS.
@@ -124,6 +124,40 @@ jobs: path: ${{runner.workspace}}/build/*.rock if-no-files-found: error + macos: + needs: build + runs-on: [macos-latest] + + steps: + - uses: actions/checkout@v2 + + - name: Create Build Environment + run: cmake -E make_directory ${{runner.workspace}}/build + + - name: Configure CMake + shell: bas...
docs: update the word PlatONE to Venachain
@@ -106,7 +106,7 @@ Remote attestation is a mechanism that uses the Root of Trust embedded in the ch If the hardware supports cryptography operation acceleration, the cryptography operation performance can be improved. -For Ethereum/PlatONE/FISCO BCOS, BoAT needs at least the following cryptographic operations: +For Et...
hv: apicv: explicit log for SMI IPI unsupported ACRN currently do not support SMM and SMI. Print one explicit warning for it. Acked-by: Anthony Xu
@@ -1194,6 +1194,8 @@ vlapic_icrlo_write_handler(struct acrn_vlapic *vlapic) target_vcpu->vcpu_id, target_vcpu->vm->vm_id); schedule_vcpu(target_vcpu); + } else if (mode == APIC_DELMODE_SMI) { + pr_info("vmx vapic: SMI IPI do not support\n"); } else { pr_err("Unhandled icrlo write with mode %u\n", mode); }
fs/smartfs : Fix to avoid set next sector as empty If file modified but appending is needed due to remained buffer, smartfs will change current sector to next sector of current sector But if current sector was last sector, next sector in header is empty, so chain breaks.
@@ -778,11 +778,23 @@ static ssize_t smartfs_write(FAR struct file *filep, const char *buffer, size_t /* Now perform the write. */ if (readwrite.count > 0) { + +#ifdef CONFIG_SMARTFS_USE_SECTOR_BUFFER + /* If sector buffer enabled and it is not last sector, then overwrite it. + * Otherwise, it will be written by sync_i...
Run docs-generate as node user
@@ -190,7 +190,7 @@ docs-generate: require-docker-buildx-builder @echo Running the AppScope docs generator @docker run \ -v $(shell pwd)/docs:/md \ - -u $(shell id -u):$(shell id -g) \ + --user node:node \ --rm cribl/scope:docs-$(ARCH) @echo AppScope docs generator finished: md files are available in docs/md_files
Fix datafari-enterprise/datafariee#508 Glances not working on new Datafari image of Docker CE
@@ -8,5 +8,12 @@ if [ $# -eq 0 ]; then rm -rf /opt/datafari/apache/sites-available/tomcat.conf cp /opt/datafari/bin/deployUtils/docker/tomcat.conf /opt/datafari/apache/sites-available/tomcat.conf fi +# For Enterprise Edition only +GLOBAL_MONITOR_SCRIPT_FILE=/opt/datafari/bin/monitorUtils/global_monitor_script.sh +if te...
Fix saw for multiple certificate change
@@ -32,10 +32,8 @@ let conn_config pconn = crucible_field pconn "config"; //conn->config -> client_cert_auth_type let config_cca_type config = (crucible_field config "client_cert_auth_type"); -//let cert_key_pairs config = (crucible_elem config 1); -let cert_key_pairs config = (crucible_field config "cert_and_key_pairs...
doc: remove exec attribute for 'acrn-secure-boot-with-grub.rst' Remove 'x' attribute of this file and one more minor fix.
@@ -144,7 +144,7 @@ Here's an example sequence to do this build:: # effect, therefore pre-load the required modules. MODULES="all_video archelp boot bufio configfile crypto echo efi_gop efi_uga ext2 extcmd \ - fat font fshelp gcry_dsa gcry_rsa gcry_sha1 gcry_sha512 gettext gfxterm linux linuxefi ls \ + fat font fshelp ...
fix version linking
@@ -83,7 +83,7 @@ Requires: openmpi-%{compiler_family}%{PROJ_DELIM} %define pname superlu_dist %define PNAME %(echo %{pname} | tr [a-z] [A-Z]) -%define major 4 +%define major 5 %define libname libsuperlu_dist Name: %{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM} @@ -172,7 +172,7 @@ install -m644 SRC/Cnames.h SRC...
[cli]change result format of contract call
@@ -285,7 +285,7 @@ func runCallCmd(cmd *cobra.Command, args []string) { if err != nil { log.Fatal("Failed request to aergo server\n" + err.Error()) } - cmd.Println(util.JSON(msgs)) + cmd.Println(util.JSON(msgs.Results[0])) } }
.vscode: Add launcher for motor tests.
"args": [], "console": "integratedTerminal" }, + { + "name": "Motor Test", + "type": "python", + "request": "launch", + "program": "${workspaceFolder}/tests/motors/run_test.py", + "cwd": "${workspaceFolder}/tests/pup", + "args": ["${file}", "--show"], + "console": "integratedTerminal" + }, { "name": "Python: Current Fi...
shm sub DOC missing return value doxygen
@@ -2914,6 +2914,7 @@ error: * @param[in] request_id Request ID. * @param[out] output_op Output tree pointing to the operation node. * @param[out] err_code Returned error code if the callback failed. + * @return err_info, NULL on success. */ static sr_error_info_t * sr_shmsub_rpc_listen_call_callback(struct opsub_rpcsu...
BugID:24656372:modify kernel version, blink LED macro, f103 i2c code,wdg test;core
#include <stdlib.h> #include "k_api.h" +#include "aos/kernel.h" #include "cli_api.h" - #include "cli_conf.h" #include "cli_adapt.h" @@ -114,10 +114,8 @@ static void help_cmd(char *buf, int32_t len, int32_t argc, char **argv) static void version_cmd(char *buf, int32_t len, int32_t argc, char **argv) { -#ifdef OSAL_RHINO...
zephyr/emul/emul_syv682x.c: Format with clang-format BRANCH=none TEST=none
@@ -108,8 +108,8 @@ void syv682x_emul_set_condition(struct i2c_emul *emul, uint8_t status, data->reg[SYV682X_CONTROL_4_REG] |= control_4_interrupt; /* These conditions disable the power path. */ - if (status & (SYV682X_STATUS_TSD | SYV682X_STATUS_OVP | - SYV682X_STATUS_OC_HV)) { + if (status & + (SYV682X_STATUS_TSD | S...
Sockeye: Fix duplicate variable check for nested for loops
@@ -396,10 +396,10 @@ instance Checkable a b => Checkable (ParseAST.For a) (CheckAST.For b) where varRanges = ParseAST.varRanges ast varNames = map ParseAST.var varRanges body = ParseAST.body ast - checkDuplicates (curModule context) DuplicateVariable varNames + currentVars = vars context + checkDuplicates (curModule c...
DWARF: dwarf4 fix cie parsing dwarf 4 addds address_size and segment_size fields. Read these before code/data align fields.
@@ -48,6 +48,7 @@ parse_cie (unw_addr_space_t as, unw_accessors_t *a, unw_word_t addr, int is_debug_frame, void *arg) { uint8_t version, ch, augstr[5], fde_encoding, handler_encoding; + uint8_t address_size, segment_size; unw_word_t len, cie_end_addr, aug_size; uint32_t u32val; uint64_t u64val; @@ -138,6 +139,15 @@ par...
[hg-client] Fix issue with sqlitedirstate
}, "hg": { "formula": { - "sandbox_id": [283380593, 283380642, 74450064], + "sandbox_id": [284628828, 284628832, 74450064], "match": "Hg" }, "executable": {
Bump version for 15.0-3 dev.
@@ -19,7 +19,7 @@ ROCM_VERSION=${ROCM_VERSION:-5.0.0} # Set the AOMP VERSION STRING AOMP_VERSION=${AOMP_VERSION:-"15.0"} -AOMP_VERSION_MOD=${AOMP_VERSION_MOD:-"2"} +AOMP_VERSION_MOD=${AOMP_VERSION_MOD:-"3"} AOMP_VERSION_STRING=${AOMP_VERSION_STRING:-"$AOMP_VERSION-$AOMP_VERSION_MOD"} export AOMP_VERSION_STRING AOMP_VER...
[lwIP] Fix lwip 1.4.1 assert when using DFS_NET.
@@ -392,7 +392,8 @@ lwip_accept(int s, struct sockaddr *addr, socklen_t *addrlen) return -1; } LWIP_ASSERT("invalid socket index", (newsock >= 0) && (newsock < NUM_SOCKETS)); - LWIP_ASSERT("newconn->callback == event_callback", newconn->callback == event_callback); + /* RT-Thread has changed callback when using BSD soc...
Fix sample app histogram display Improve graph labels and align histogram bars on x-axis labels Add n= value to show it's not a static image.
@@ -40,17 +40,18 @@ def create_hist(): web_sem.release() #Transform the data into an array that matplotlib can understand - dataset = transform_data(data) + count, dataset = transform_data(data) #Clear the figure and recreate from the new data plt.clf() #Setup the figure and save it - figure = plt.hist(dataset) + bins=...
leap: mono for ship names
@@ -91,6 +91,7 @@ export class OmniboxResult extends Component { <Text display="inline-block" verticalAlign="middle" + mono={(icon == 'profile' && text.startsWith('~'))} color={this.state.hovered || selected === link ? 'white' : 'black'} maxWidth="60%" style={{ flexShrink: 0 }}
TEST: reduce parallel jobs to 3 for prevent concurrency problems
@@ -5,7 +5,7 @@ use Cwd; my $engine_name = shift; my $script_type = shift; my @engine_list = ("default"); -my $opt = '--job 5'; # --job N : run N test jobs in parallel +my $opt = '--job 3'; # --job N : run N test jobs in parallel my $srcdir = getcwd; my $ext = "s";
small tweak (BMP plane is always fixed to 64x64)
* \brief * Bitmap plane width (in tile) */ -#define BMP_PLANWIDTH planeWidth +#define BMP_PLANWIDTH 64 /** * \brief * Bitmap plane height (in tile) */ -#define BMP_PLANHEIGHT planeHeight +#define BMP_PLANHEIGHT 64 #define BMP_CELLWIDTH_SFT 5 /**
TSCH: fix the behavior of TSCH_SCHEDULE_AND_YIELD macro in case a miss is detected
@@ -331,8 +331,8 @@ tsch_schedule_slot_operation(struct rtimer *tm, rtimer_clock_t ref_time, rtimer_ do { \ if(tsch_schedule_slot_operation(tm, ref_time, offset - RTIMER_GUARD, str)) { \ PT_YIELD(pt); \ - RTIMER_BUSYWAIT_UNTIL_ABS(0, ref_time, offset); \ } \ + RTIMER_BUSYWAIT_UNTIL_ABS(0, ref_time, offset); \ } while(0...
Add a missing break in test/shlibloadtest.c
/* - * Copyright 2016 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 2016-2017 The OpenSSL Project Authors. All Rights Reserved. * * Licensed under the OpenSSL license (the "License"). You may not use * this file except in compliance with the License. You can obtain a copy @@ -117,6 +117,7 @@ static in...
mesh: Fix condition is net_tx_cred_get Preprocessor directives using defined() in mesh should use identifiers defined in glue.h
@@ -344,7 +344,7 @@ static void bt_mesh_net_local(struct ble_npl_event *work) static const struct bt_mesh_net_cred *net_tx_cred_get(struct bt_mesh_net_tx *tx) { -#if defined(BLE_MESH_LOW_POWER) +#if defined(CONFIG_BT_MESH_LOW_POWER) if (tx->friend_cred && bt_mesh_lpn_established()) { return &bt_mesh.lpn.cred[SUBNET_KEY...
zh-hanss display&actuator
@@ -63,6 +63,7 @@ Blockly.Blocks.actuator_led_bright = { this.setPreviousStatement(true, null); this.setNextStatement(true, null); this.setInputsInline(true); + this.setTooltip(Blockly.MIXLY_ESP32_LED_SETONOFF); } }; @@ -77,6 +78,7 @@ Blockly.Blocks.actuator_get_led_bright = { .appendField(Blockly.MIXLY_PULSEIN_STAT) t...
Updates the README to reflect the current draft version
The PQUIC implementation, a framework that enables QUIC clients and servers to dynamically exchange protocol plugins that extend the protocol on a per-connection basis. -The current PQUIC implementation supports the draft-14 version of the QUIC specification. +The current PQUIC implementation supports the draft-27 vers...
dhcp: client use local logger Type: fix
@@ -25,10 +25,10 @@ dhcp_client_main_t dhcp_client_main; static vlib_node_registration_t dhcp_client_process_node; #define DHCP_DBG(...) \ - vlib_log_debug (dhcp_logger, __VA_ARGS__); + vlib_log_debug (dhcp_logger, __VA_ARGS__) #define DHCP_INFO(...) \ - vlib_log_notice (dhcp_logger, __VA_ARGS__); + vlib_log_notice (dh...
Fixed minor typos in introspection documentation
* @file * @brief functions for introspection * - * The IDD information is served up as encoded CBOR contents (read as is). + * The IDD information is served up as encoded CBOR content (read as is). * If the size of the IDD data is to big for the buffer, then an internal error * is returned. Note that some build options...
fixes connection cleanup in %lient (use correct duct)
++ cleanup-connection |= id=@ud ^- ^state + ?~ con=(~(get by connection-by-id.state) id) + state %_ state connection-by-id (~(del by connection-by-id.state) id) - connection-by-duct (~(del by connection-by-duct.state) duct) + connection-by-duct (~(del by connection-by-duct.state) duct.u.con) == -- --
Fix debug output message in oc_rep
@@ -39,7 +39,7 @@ oc_rep_finalize(void) int size = cbor_encoder_get_buffer_size(&g_encoder, g_buf); #ifdef OC_DEBUG if (size < 0 && g_err == CborErrorOutOfMemory) - oc_abort("Insufficient memory: Increase OC_MAX_PDU_BUFFER_SIZE to " + oc_abort("Insufficient memory: Increase OC_MAX_APP_DATA_SIZE to " "accomodate a large...
IpAddr: Save test data below `/tests`
@@ -18,39 +18,39 @@ This plugin validates IP addresses using regular expressions. ## Usage ```sh -# Mount `ipaddr` plugin to cascading namespace `/examples/ipaddr` -kdb mount config.dump /examples/ipaddr dump ipaddr +# Mount `ipaddr` plugin to cascading namespace `/tests/ipaddr` +kdb mount config.dump /tests/ipaddr dum...
simplify cls optional parameters
@@ -302,10 +302,7 @@ static Janet janet_print(int32_t argc, Janet* argv) static Janet janet_cls(int32_t argc, Janet* argv) { janet_arity(argc, 0, 1); - u8 color = 0; - - if (argc > 0) color = (u8)janet_getinteger(argv, 0); - + u32 color = (u32)janet_optinteger(argv, argc, 0, 0); tic_mem* memory = (tic_mem*)getJanetMach...
set SONAME and use symbolic link at install (issue and
@@ -133,7 +133,7 @@ endif() # shared library add_library(mimalloc SHARED ${mi_sources}) -set_target_properties(mimalloc PROPERTIES VERSION ${mi_version} NO_SONAME "YES" OUTPUT_NAME ${mi_basename} ) +set_target_properties(mimalloc PROPERTIES VERSION ${mi_version} OUTPUT_NAME ${mi_basename} ) target_compile_definitions(m...
documentation: edited docs
# Contributing We use [GitHub](https://github.com/ElektraInitiative/libelektra/) to maintain this project. First of all you will need a GitHub account and [Git](https://www.git-scm.com/). +If you are looking for a IDE you can use [CLion](https://www.jetbrains.com/clion/) ([setup tutorial](/doc/tutorials/contributing-cl...
Add GeometryFlags enum values Add some enum values of GeometryFlags declared in ImageMagick 6.8.9.
@@ -1495,9 +1495,32 @@ Init_RMagick2(void) // For KernelInfo scaling DEF_ENUM(GeometryFlags) + ENUMERATOR(NoValue) + ENUMERATOR(XValue) + ENUMERATOR(XiValue) + ENUMERATOR(YValue) + ENUMERATOR(PsiValue) + ENUMERATOR(WidthValue) + ENUMERATOR(RhoValue) + ENUMERATOR(HeightValue) + ENUMERATOR(SigmaValue) + ENUMERATOR(ChiVal...
opae.admin: update path to secure device for D5005 Recent driver changes have removed one layer from the secure device path for D5005 devices. The remaining devices retain the original pattern. Add the new path pattern for D5005.
@@ -210,9 +210,12 @@ class fme(region): @property def spi_bus(self): if os.path.basename(self.sysfs_path).startswith('dfl'): - return self.find_one('dfl*.*/' - '*spi*/' - 'spi_master/spi*/spi*') + patterns = ['dfl*.*/*spi*/spi_master/spi*/spi*', + 'dfl*.*/spi_master/spi*/spi*'] + for pattern in patterns: + spi = self.f...
Don't install googletest when installing Celix.
# under the License. include(FetchContent) +set(INSTALL_GTEST FALSE CACHE BOOL "" FORCE) FetchContent_Declare( googletest GIT_REPOSITORY https://github.com/google/googletest.git
fix: debug message has been shown as warning
@@ -4968,8 +4968,8 @@ nt_write_to_lower_layer(struct neat_ctx *ctx, struct neat_flow *flow, #ifdef SCTP_MULTISTREAMING // multistream stream_id override - not very pretty - nt_log(ctx, NEAT_LOG_WARNING, "%s - MULTISTREAM ID = %d", __func__, flow->multistream_id); if (flow->multistream_id) { + nt_log(ctx, NEAT_LOG_DEBUG...
added xbps as pm option
@@ -156,9 +156,11 @@ install_tools() { emerge -V >/dev/null 2>&1 && $sudoprefix emerge -atv dev-vcs/git ccache; } || { pkg list-installed >/dev/null 2>&1 && $sudoprefix pkg install -y git getconf build-essential readline ccache; } || # termux { pkg help >/dev/null 2>&1 && $sudoprefix pkg install -y git readline ccache ...
docs: remove wwbootstrap upgrade discussion
@@ -35,10 +35,6 @@ rolling updates are pre-configured. [sms](*\#*) (*\upgrade*) "*-ohpc" \end{lstlisting} -\iftoggleverb{isWarewulf} -\input{common/ww38_upgrade} -\fi - \item Upgrade packages in compute image \begin{lstlisting}[language=bash,keywords={}]
userguide: document hide_edge_borders smart_no_gaps related to
@@ -778,14 +778,19 @@ default_border pixel 3 === Hiding borders adjacent to the screen edges You can hide container borders adjacent to the screen edges using -+hide_edge_borders+. This is useful if you are using scrollbars, or do not want -to waste even two pixels in displayspace. The "smart" setting hides borders on ...
apps: undeprecate the conditioned out apps
@@ -34,7 +34,6 @@ ENDIF IF[{- !$disabled{'ts'} -}] $OPENSSLSRC=$OPENSSLSRC ts.c ENDIF -IF[{- !$disabled{'deprecated-3.0'} -}] IF[{- !$disabled{'dh'} -}] $OPENSSLSRC=$OPENSSLSRC dhparam.c ENDIF @@ -45,7 +44,11 @@ IF[{- !$disabled{'deprecated-3.0'} -}] $OPENSSLSRC=$OPENSSLSRC engine.c ENDIF IF[{- !$disabled{'rsa'} -}] - ...
bugfix in ossl_cmp_msg_add_extraCerts(): should include cert chain when using PBM
@@ -140,7 +140,8 @@ int ossl_cmp_msg_add_extraCerts(OSSL_CMP_CTX *ctx, OSSL_CMP_MSG *msg) return 0; /* Add first ctx->cert and its chain if using signature-based protection */ - if (!ctx->unprotectedSend && ctx->secretValue == NULL) { + if (!ctx->unprotectedSend && ctx->secretValue == NULL + && ctx->cert != NULL && ctx...
Update: concept_net_narsese.py: use Ozkan's idea of corpus word frequency to filter out the more important relations
import requests import codecs import sys +import nltk +from nltk.corpus import brown +from collections import Counter sys.stdout = codecs.getwriter("utf-8")(sys.stdout.detach()) +nltk.download('brown') +wordcounts = Counter(brown.words()) + def toNarsese(subject_relation_predicate): (subject, relation, predicate) = sub...
libcupsfilters: In pdftopdf() do not let QPDF close the output file to not crash on the output of the postamble
@@ -1008,8 +1008,6 @@ pdftopdf(int inputfd, /* I - File descriptor input stream */ std::unique_ptr<PDFTOPDF_Processor> proc(PDFTOPDF_Factory::processor()); - FILE *tmpfile = NULL; - FILE *f = NULL; if (inputseekable && inputfd > 0) { if ((f = fdopen(inputfd, "rb")) == NULL) { @@ -1063,13 +1061,12 @@ pdftopdf(int inputf...
Don't use "and" and "not" in if statements
@@ -114,27 +114,27 @@ void Logger::start_logging() { m_values_valid = false; m_logging_on = true; m_log_start = Clock::now(); - if((not m_params->output_folder.empty()) and (m_params->log_interval != 0)){ + if((!m_params->output_folder.empty()) && (m_params->log_interval != 0)){ std::thread(logging, m_params).detach();...
[core] check for Upgrade before h2 upgrade check (short-circuit if Upgrade header not present)
@@ -803,7 +803,8 @@ static int connection_handle_read_state(connection * const con) { chunkqueue_mark_written(cq, r->rqst_header_len); connection_set_state(r, CON_STATE_REQUEST_END); - if (!con->is_ssl_sock && r->conf.h2proto && 0 == r->http_status + if (light_btst(r->rqst_htags, HTTP_HEADER_UPGRADE) + && !con->is_ssl_...