message
stringlengths
6
474
diff
stringlengths
8
5.22k
Repack symbolic_compressed_block
@@ -710,27 +710,67 @@ struct quantization_and_transfer_table extern const quantization_and_transfer_table quant_and_xfer_tables[12]; +/** @brief The block is an error block, and will return error color or NaN. */ static constexpr unsigned int SYM_BTYPE_ERROR { 0 }; + +/** @brief The block is a constant color block usin...
doc: Update release notes for 1.9.0-rc2 Add notes on changes since rc1.
@@ -27,6 +27,10 @@ been tested with a `BOOT_MAX_ALIGN` up to 32 bytes. - Add support for "partial multi-image booting" - Add support for clear image generation with encryption capability to imgtool +- Fix Zephyr when `CONFIG_BOOT_ENCRYPTION_KEY_FILE` is not defined +- Remove zephyr example test running in shell. The Go...
Updating DPDK HAL to use the value of OFFLOAD_CHECKSUM to properly initialize rxmode
@@ -87,7 +87,7 @@ static const struct rte_eth_conf port_conf = { .rxmode = { .split_hdr_size = 0, .header_split = 0, /**< Header Split disabled */ - .hw_ip_checksum = 0, /**< IP checksum offload disabled */ + .hw_ip_checksum = OFFLOAD_CHECKSUM, /**< IP checksum offload disabled */ .hw_vlan_filter = 0, /**< VLAN filteri...
Fix bug in s2n_map_slot() API
@@ -50,7 +50,7 @@ struct s2n_map { struct s2n_hash_state sha256; }; -static uint32_t s2n_map_slot(struct s2n_map *map, struct s2n_blob *key) +static int s2n_map_slot(struct s2n_map *map, struct s2n_blob *key, uint32_t *slot) { union { uint8_t u8[32]; @@ -62,7 +62,8 @@ static uint32_t s2n_map_slot(struct s2n_map *map, s...
YAwn: Fix memory leak
@@ -201,7 +201,11 @@ int addToKeySet (CppKeySet & keySet, CppKey & parent, string const & filename) parser.parse (nextToken, syntaxError, nullptr, nullptr, &root, &ambiguousOutput); - if (handleErrors (ambiguousOutput, errorListener, filename, grammar, parent) < 0) return -1; + if (handleErrors (ambiguousOutput, errorL...
Max inbound request length increase
@@ -45,7 +45,7 @@ namespace MiningCore.Stratum { private static readonly ILogger logger = LogManager.GetCurrentClassLogger(); - private const int MaxInboundRequestLength = 8192; + private const int MaxInboundRequestLength = 0x8000; private const int MaxOutboundRequestLength = 0x4000; private ConcurrentQueue<PooledArray...
Use array section notation when using use_device_addr.
// // expected output: // $ ./reproducer -// line 34: [host] x: 0x273f60 -// line 43: [device] x: 0x15554a400000 -// line 49: [host] x: 0x15554a400000 -// line 55: [host] x: 0x15554a400000 -// -// actual output -// $ ./reproducer -// line 33: [host] x: 0x273f60 -// line 42: [device] x: 0x15554a400000 -// line 48: [host...
Fix early data failure
@@ -74,7 +74,10 @@ int ClientBase::write_transport_params(const char *path, << params->initial_max_stream_data_bidi_remote << '\n' << "initial_max_stream_data_uni=" << params->initial_max_stream_data_uni << '\n' - << "initial_max_data=" << params->initial_max_data << '\n'; + << "initial_max_data=" << params->initial_ma...
Use the return value from write(2) This prevents a warning when building with crypto-mdebug.
/* - * Copyright 1995-2016 The OpenSSL Project Authors. All Rights Reserved. + * Copyright 1995-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 @@ -126,13 +126,16 @@ st...
input: set remaining file size to ' '/\x00 if resized
@@ -56,12 +56,15 @@ void input_setSize(run_t* run, size_t sz) { if (sz > run->global->mutate.maxFileSz) { PLOG_F("Too large size requested: %zu > maxSize: %zu", sz, run->global->mutate.maxFileSz); } - size_t old_sz = run->dynamicFileSz; - run->dynamicFileSz = sz; - if (run->global->cfg.only_printable && old_sz < sz) { ...
cr50: prepare to release 0.4.18 BRANCH=cr50, cr50-mp TEST=none
"timestamp": 0, "epoch": 0, // FWR diversification contributor, 32 bits. "major": 4, // FW2_HIK_CHAIN counter. - "minor": 17, // Mostly harmless version field. + "minor": 18, // Mostly harmless version field. "applysec": -1, // Mask to and with fuse BROM_APPLYSEC. "config1": 13, // Which BROM_CONFIG1 actions to take be...
Update power_configuration.cpp
@@ -247,7 +247,6 @@ void DeRestPluginPrivate::handlePowerConfigurationClusterIndication(const deCONZ sensor.modelId().startsWith(QLatin1String("3315")) || // Centralite water sensor sensor.modelId().startsWith(QLatin1String("3157100")) || // Centralite pearl thermostat sensor.modelId().startsWith(QLatin1String("4655BC0...
sse2: vcvtnq_s32_f32 is armv8-specific Fixes h/t to for identifying the problem.
@@ -2627,9 +2627,7 @@ simde_mm_cvtps_epi32 (simde__m128 a) { simde__m128i_private r_; simde__m128_private a_ = simde__m128_to_private(a); - #if defined(SIMDE_ARM_NEON_A64V8_NATIVE) && defined(SIMDE_FAST_CONVERSION_RANGE) - r_.neon_i32 = vcvtnq_s32_f32(a_.neon_f32); - #elif defined(SIMDE_ARM_NEON_A32V7_NATIVE) && define...
Remove nonexistent macro reference from docs
@@ -145,23 +145,16 @@ the macro will set s2n_errno correctly, as well as some useful debug strings, an *Note*: In general, C preprocessor Macros with embedded control flow are a bad idea, but `GUARD`, `ENSURE`, and `BAIL` are so thoroughly used throughout s2n-tls that it should be a clear and idiomatic pattern, almost ...
api: mode sense add control page support
@@ -632,13 +632,68 @@ int handle_cache_page(uint8_t *buf, size_t buf_len) return 20; } +static int handle_control_page(uint8_t *buf, size_t buf_len) +{ + if (buf_len < 12) + return -1; + + buf[0] = 0x0a; + buf[1] = 0x0a; + + /* From spc4r31, section 7.5.7 Control mode Page + * + * GLTSD = 1: because we don't implicitly...
upstream: just compare against 'locked' flag
@@ -441,7 +441,7 @@ static inline int prepare_destroy_conn_safe(struct flb_upstream_conn *u_conn) ret = prepare_destroy_conn(u_conn); - if (u->thread_safe == FLB_TRUE && locked) { + if (locked) { pthread_mutex_unlock(&u->mutex_lists); }
options/linux: add struct vt_stat and some VT ioctls
#ifndef _LINUX_VT_H #define _LINUX_VT_H +#define VT_OPENQRY 0x5600 #define VT_SETMODE 0x5602 +#define VT_GETSTATE 0x5603 #define VT_RELDISP 0x5605 #define VT_ACTIVATE 0x5606 #define VT_WAITACTIVE 0x5607 @@ -23,6 +25,12 @@ struct vt_mode { short frsig; }; +struct vt_stat { + unsigned short v_active; + unsigned short v_s...
Update eth_group.cpp
@@ -58,7 +58,6 @@ int eth_group::eth_group_open(const std::string& fpga_uid_str) int res = 0; uint8_t *mem = NULL; - printf("fpga_uid_str.c_str()= %s\n", fpga_uid_str.c_str()); res = opae_uio_open(&uio, fpga_uid_str.c_str()); if (res) { return res;
update README for targetcli support
@@ -45,9 +45,50 @@ We encourage pull requests and issues tracking via Github, and the [target-devel 1. If using systemd, copy `org.kernel.TCMUService1.service` to `/usr/share/dbus-1/system-services/` and `tcmu-runner.service` to `/lib/systemd/system`. 1. Or, run it from the command line as root. It should print the num...
publish: change index.hoon for spa
;meta =name "viewport" =content "width=device-width, initial-scale=1, shrink-to-fit=no"; - ;link(rel "stylesheet", href "/~publish/index.css"); ;link(rel "icon", type "image/png", href "/~launch/img/Favicon.png"); ;script@"/~channel/channel.js"; ;script@"/~modulo/session.js"; - ;script: window.injectedState = {(en-json...
trace: do not route all packets through trace output.
@@ -81,7 +81,7 @@ struct flb_trace_chunk_context *flb_trace_chunk_context_new(struct flb_config *c return NULL; } // this might be unnecessary given the direct routing - flb_output_set_property(output, "match", "*"); + //flb_output_set_property(output, "match", "*"); if (props != NULL) { mk_list_foreach(head, props) {
Raw packing: add grib2 and grib1 tests (with and without bitmap)
@@ -72,15 +72,43 @@ echo "Test ECC-1075: grib_dump error on GRIB1 with raw packing" # ------------------------------------------------------------- temp=temp.grib_ieee.grib infile=${data_dir}/reduced_gaussian_surface.grib1 +grib_check_key_equals $infile numberOfMissing 0 ${tools_dir}/grib_set -r -s packingType=grid_iee...
[catboost] escape invalid label before printing it [catboost] escape invalid label before printing it ([arc::pullid] 62faac8e-f3905ff2-d5670820-3bae2444)
#include <util/generic/algorithm.h> #include <util/generic/cast.h> +#include <util/string/escape.h> namespace NCB { @@ -46,7 +47,7 @@ namespace NCB { float floatLabel; CB_ENSURE( TryFromString(label, floatLabel), - "Target value \"" << label << "\" cannot be parsed as float" + "Target value \"" << EscapeC(label) << "\"...
docs: Add documentation to help building eBPF object files.
@@ -60,6 +60,19 @@ installing the compilers to build it. If you push the container images to another registry, you can use the `--image` argument when deploying to the Kubernetes cluster. +### Building the eBPF object files + +If you need to compile the eBPF code of the gadgets, the ebpf-objects target +will help you i...
BugID:17645948:fix typo in sim800.c
@@ -785,7 +785,7 @@ int HAL_SAL_Close(int fd, int32_t remote_port) } linkid = fd_to_linkid(fd); - if (link_id < 0 || linkid >= SIM800_MAX_LINK_NUM) { + if (linkid < 0 || linkid >= SIM800_MAX_LINK_NUM) { LOGE(TAG, "No connection found for fd (%d) in %s \r\n", fd, __func__); return -1; } @@ -821,7 +821,7 @@ int HAL_SAL_S...
SOVERSION bump to version 6.1.20
@@ -68,7 +68,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_ # with backward compatible change and micro version is connected with any internal change of the library. set(SYSREPO_MAJOR_SOVERSION 6) set(SYSREPO_MINOR_SOVERSION 1) -set(SYSREPO_MICRO_SOVERSION 19) +set(SYSREPO_MICRO_S...
gradsearch: using built-in vector normalization method
@@ -329,14 +329,11 @@ float gradsearch_norm(float * _v, unsigned int _n) { // compute l2-norm - float vnorm = 0.0f; - unsigned int i; - for (i=0; i<_n; i++) - vnorm += _v[i]*_v[i]; - vnorm = sqrtf(vnorm); + float vnorm = liquid_vectorf_norm(_v, _n); // scale values (avoiding division by zero) float scale = vnorm == 0.0...
backup.cpp: fix compilation on windows
@@ -143,8 +143,8 @@ bool BAK_ExportConfiguration(deCONZ::ApsController *apsCtrl) QProcess archProcess; #ifdef Q_OS_WIN - { const QString appPath = qApp->applicationDirPath(); + { if (!QFile::exists(appPath + "/7za.exe")) { DBG_Printf(DBG_INFO, "7z not found: %s\n", qPrintable(appPath + "/7za.exe")); @@ -242,9 +242,9 @@...
fix sbrk implementation: stick to the true spec by returning the old break instead of the new one
@@ -21,9 +21,13 @@ void *context_sbrk(intptr_t increment) { if (current_context->memory_current_end + increment - current_context->memory_start > current_context->memory_max_size) { /* Out of memory */ fprintf(stderr, "CONTEXT_SBRK: OUT OF MEMORY\n"); + fflush(stderr); return NULL; } + fflush(stdout); if (increment == ...
Makefile: reverse process of adding -fblocks for clang
@@ -145,6 +145,7 @@ else # OS Posix endif +CFLAGS_BLOCKS = COMPILER = $(shell $(CC) -v 2>&1 | \ grep --color=never -oE '((gcc|clang) version|LLVM version.*clang)' | \ grep --color=never -oE '(clang|gcc)' | head -n1) @@ -152,8 +153,7 @@ ifeq ($(COMPILER),clang) ARCH_CFLAGS += -Wno-initializer-overrides -Wno-unknown-warn...
hoon: fix batch comment parser the merge broke it i guess
%- stew ^. stet ^. limo :~ :- '|' - (stag %chat (ifix [bar cola] sym)) + ;~(pfix bar (stag %chat sym)) :- '.' - (stag %frag (ifix [dot cola] sym)) + ;~(pfix dot (stag %frag sym)) :- '+' - (stag %funk (ifix [lus cola] sym)) + ;~(pfix lus (stag %funk sym)) :- '$' - (stag %grog (ifix [buc cola] sym)) + ;~(pfix buc (stag %...
possibel fix for capture system endianess error
@@ -4525,15 +4525,15 @@ while(1) blocktype = pcapngbh->block_type; blocklen = pcapngbh->total_length; blockmagic = pcapngbh->byte_order_magic; - #ifdef BIG_ENDIAN_HOST - blocktype = byte_swap_32(blocktype); - blocklen = byte_swap_32(blocklen); - blockmagic = byte_swap_32(blockmagic); - #endif if(blocktype == PCAPNGBLOC...
Free ImportInfo
@@ -34,7 +34,10 @@ void m3_FreeModule (IM3Module i_module) m3_Free (i_module->dataSegments); m3_Free (i_module->table0); - // TODO: free importinfo + for (u32 i = 0; i < i_module->numGlobals; ++i) + { + FreeImportInfo(&(i_module->globals[i].import)); + } m3_Free (i_module->globals); m3_Free (i_module);
Make sin table constant in lv_math.c
/********************** * STATIC VARIABLES **********************/ -static int16_t sin0_90_table[] = { +static const int16_t sin0_90_table[] = { 0, 572, 1144, 1715, 2286, 2856, 3425, 3993, 4560, 5126, 5690, 6252, 6813, 7371, 7927, 8481, 9032, 9580, 10126, 10668, 11207, 11743, 12275, 12803, 13328, 13848, 14364, 14876, 1...
fix: add underscore to ON_DISPATCH and ON_TEXT for clarity
@@ -33,7 +33,7 @@ cws_on_text_cb(void *p_ws, CURL *ehandle, const char *text, size_t len) { (*ws->config.json_cb)( true, - event_code, "ON DISPATCH", + event_code, "ON_DISPATCH", &ws->config, ws->base_url, (char*)text); @@ -46,7 +46,7 @@ cws_on_text_cb(void *p_ws, CURL *ehandle, const char *text, size_t len) (*ws->conf...
cooja: add a JNI_OnLoad function This function is required to return the JNI version for the functions we use, and we use some that are later than 1.1. Without the function, the JVM assumes JNI Version 1.1. Java 11 is the oldest supported Java version so make the function return JNI_VERSION_10.
@@ -221,6 +221,24 @@ process_run_thread_loop(void *data) /* Then call common Contiki-NG main function */ main(); } + +/** + * \brief Callback on load of library. + * \param vm unused + * \param reserved unused + * + * This function is required to return at least the JNI version for + * the functions we use. + * + * Jav...
Fix ordering of gbuffer reads in `C` operator
@@ -448,12 +448,12 @@ BEGIN_OPERATOR(clock) PORT(0, -1, IN | PARAM); PORT(0, 1, IN); PORT(1, 0, OUT); - Usz mod_num = index_of(PEEK(0, 1)); Usz rate = index_of(PEEK(0, -1)); - if (mod_num == 0) - mod_num = 10; + Usz mod_num = index_of(PEEK(0, 1)); if (rate == 0) rate = 1; + if (mod_num == 0) + mod_num = 10; Glyph g = g...
add none to channel field where unknown
@@ -501,6 +501,8 @@ create_evt_json(upload_t *upld) if (upld->uid) { if (snprintf(numbuf, sizeof(numbuf), "%llu", upld->uid) < 0) goto err; if (!cJSON_AddStringToObjLN(json_root, CHANNEL, numbuf)) goto err; + } else { + if (!cJSON_AddStringToObjLN(json_root, CHANNEL, "none")) goto err; } cJSON_AddItemToObjectCS(json_ro...
Require RaspBee/ConBee firmware version 0x26110500 (2.06.17)
@@ -63,7 +63,7 @@ DEFINES += GIT_COMMMIT=\\\"$$GIT_COMMIT\\\" \ # Minimum version of the RaspBee firmware # which shall be used in order to support all features for this software release (case sensitive) -DEFINES += GW_MIN_RPI_FW_VERSION=0x260b0500 +DEFINES += GW_MIN_RPI_FW_VERSION=0x26110500 # Minimum version of the d...
Update 'presence' and 'open' states on IAS Zone commands
@@ -81,30 +81,39 @@ void DeRestPluginPrivate::handleIasZoneClusterIndication(const deCONZ::ApsDataIn DBG_Printf(DBG_ZCL, "IAS Zone Status Change, status: 0x%04X, zoneId: %u, delay: %u\n", zoneStatus, zoneId, delay); Sensor *sensor = getSensorNodeForAddressAndEndpoint(ind.srcAddress(), ind.srcEndpoint()); - ResourceItem...
hoon: updates +slew to avoid dynamic eval
== :: ++ slew :: get axis in vase - |= [axe=@ vax=vase] ^- (unit vase) - ?. |- ^- ? - ?: =(1 axe) & - ?. ?=(^ q.vax) | - $(axe (mas axe), q.vax .*(q.vax [0 (cap axe)])) - ~ - `[(~(peek ut p.vax) %free axe) .*(q.vax [0 axe])] + |= [axe=@ vax=vase] + =/ typ |. (~(peek ut p.vax) %free axe) + |- ^- (unit vase) + ?: =(1 axe...
ip-neighbor: skip probe for disabled interfaces Type: fix In ip6_neighbor_probe(), if the interface is not enabled for ip6, return NULL and skip trying to build a packet. If the interface is not enabled, its mcast adjacency will be set to ~0 and a seg fault will ensue.
@@ -54,6 +54,12 @@ ip6_neighbor_probe (vlib_main_t * vm, if (!h0) return NULL;; + /* if the interface has been disabled for ip6, later steps to retrieve + * an adjacency will result in a segv. + */ + if (!ip6_link_is_enabled (adj->rewrite_header.sw_if_index)) + return NULL; + b0 = vlib_get_buffer (vm, bi0); hw_if0 = vn...
update metric changes in updating.md
@@ -113,11 +113,11 @@ Pre-GA | 1.0.1 `fs.op.close` | `fs.close` `fs.op.seek` | `fs.seek` `http.requests` | `http.req` -`http_server_duration` | `http.duration.server` -`http_client_duration` | `http.duration.client` -`http_request_content_length` | `http.req.content_length` -`http_response_content_length` | `http.respo...
Stdoutflush: Flushing stdout to avoid issues with 64k char limits
@@ -78,9 +78,11 @@ def run_server(kconfig, sdkconfig, default_version=MAX_PROTOCOL_VERSION): # V1: no 'visibility' key, send value None for any invisible item values_dict = dict((k, v if visible_dict[k] else False) for (k,v) in config_dict.items()) json.dump({"version": 1, "values": values_dict, "ranges": ranges_dict},...
Undo accidental whitespace change
@@ -516,6 +516,7 @@ uint8_t swd_read_memory(uint32_t address, uint8_t *data, uint32_t size) uint8_t swd_write_memory(uint32_t address, uint8_t *data, uint32_t size) { uint32_t n = 0; + // Write bytes until word aligned while ((size > 0) && (address & 0x3)) { if (!swd_write_byte(address, *data)) {
Segmentation fault: bufr_filter on synop
@@ -1503,9 +1503,11 @@ static int build_bitmap_new_data(grib_accessor_bufr_data_array *self,unsigned ch iDelayedReplication=iBitmapOperator+2; switch (descriptors[iDelayedReplication]->code) { case 31001: + if(!self->inputReplications) {grib_context_log(c,GRIB_LOG_ERROR,"build_bitmap_new_data: No inputReplications"); r...
rename mk-wire
=| out=outbound-config:iris =/ req=request:http (gen-request host-info ract) - [%pass (mk-wire act) %arvo %i %request req out] + [%pass (rpc-wire act) %arvo %i %request req out] :: wire structure: /action-tas/req-id/now :: -++ mk-wire +++ rpc-wire |= act=action ^- wire /[-.body.act]/[req-id.act]/[(scot %da now.bowl)] :...
fix(sticky keys): always clear sticky key when releasing the behavior
@@ -109,6 +109,8 @@ static inline int release_sticky_key_behavior(struct active_sticky_key *sticky_k .position = sticky_key->position, .timestamp = timestamp, }; + + clear_sticky_key(sticky_key); return behavior_keymap_binding_released(&binding, event); } @@ -149,9 +151,7 @@ static int on_sticky_key_binding_released(st...
Mention auto-downsize feature in FAQ PR <https://github.com/Genymobile/scrcpy/pull/2947>
@@ -219,6 +219,9 @@ scrcpy -m 1024 scrcpy -m 800 ``` +Since scrcpy v1.22, scrcpy automatically tries again with a lower definition +before failing. This behavior can be disabled with `--no-downsize-on-error`. + You could also try another [encoder](README.md#encoder).
ws_client: fix double delete issue in ws client initialization
@@ -153,42 +153,24 @@ static esp_err_t esp_websocket_client_set_config(esp_websocket_client_handle_t c if (config->username) { free(cfg->username); cfg->username = strdup(config->username); - ESP_WS_CLIENT_MEM_CHECK(TAG, cfg->username, { - free(cfg->host); - return ESP_ERR_NO_MEM; - }); + ESP_WS_CLIENT_MEM_CHECK(TAG, c...
dpdk: fix Mellanox Connect-X3 VF ID Fix a typo from previous patch. Change 0x104 to 0x1004.
@@ -839,7 +839,7 @@ dpdk_bind_devices_to_uio (dpdk_config_main_t * conf) else if (d->vendor_id == 0x1077 && d->device_id >= 0x8070 && d->device_id <= 0x8090) ; /* Mellanox mlx4 */ - else if (d->vendor_id == 0x15b3 && d->device_id >= 0x1003 && d->device_id <= 0x104) + else if (d->vendor_id == 0x15b3 && d->device_id >= 0...
fix tests for aligned allocation
@@ -124,13 +124,13 @@ int main() { void* p = mi_malloc_aligned(32,24); result = (p != NULL && (uintptr_t)(p) % 24 == 0); mi_free(p); }); CHECK_BODY("malloc-aligned2", { - void* p = mi_malloc_aligned(8,24); result = (p != NULL && (uintptr_t)(p) % 24 == 0); mi_free(p); + void* p = mi_malloc_aligned(48,24); result = (p !=...
test/cortexm_fpu.c: Format with clang-format BRANCH=none TEST=none
@@ -33,11 +33,7 @@ static float divf(float a, float b) { float result; - asm volatile( - "fdivs %0, %1, %2" - : "=w"(result) - : "w"(a), "w"(b) - ); + asm volatile("fdivs %0, %1, %2" : "=w"(result) : "w"(a), "w"(b)); return result; }
Rename: Fix warnings about string truncation
@@ -104,14 +104,14 @@ Key * elektraKeyCreateNewName (const Key * key, const Key * parentKey, const cha strncpy (newName, afterParentString, (ptr - afterParentString)); if (replaceWith) { - strncpy (newName + strlen (newName), replaceWith, strlen (replaceWith)); + strncpy (newName + strlen (newName), replaceWith, elektr...
SOVERSION bump to version 7.11.2
@@ -72,7 +72,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_ # with backward compatible change and micro version is connected with any internal change of the library. set(SYSREPO_MAJOR_SOVERSION 7) set(SYSREPO_MINOR_SOVERSION 11) -set(SYSREPO_MICRO_SOVERSION 1) +set(SYSREPO_MICRO_S...
kernel/Kconfig: Modify SIGTM explanation for pause, resume, unicast SIGTM is used for specific functionality in task manager
@@ -823,8 +823,8 @@ config SIG_SIGTM_UNICAST default 18 depends on TASK_MANAGER ---help--- - SIGTM_UNICAST is a non-standard signal used to wake up the internal TinyAra - task manager. This setting specifies the signal number that will be + SIGTM_UNICAST is a non-standard signal used to send message to another task + t...
Fix OP_SETUPVAR
@@ -510,7 +510,7 @@ inline static int op_getupvar( mrb_vm *vm, uint32_t code, mrb_value *regs ) int rb = GETARG_B(code); int rc = GETARG_C(code); // UP - mrb_callinfo *callinfo = vm->callinfo + vm->callinfo_top - 2 - rc; + mrb_callinfo *callinfo = vm->callinfo + vm->callinfo_top - 2 - rc*2; mrb_value *up_regs = callinf...
abis/dripos: Add missing errno constants
#define ENOKEY 94 #define EBADFD 95 #define ENOMEDIUM 96 +#define ENONET 97 +#define ESTRPIPE 98 +#define EREMOTEIO 99 +#define ERFKILL 100 +#define EBADR 101 +#define EUNATCH 102 +#define EMEDIUMTYPE 103 +#define EKEYREJECTED 104 +#define EUCLEAN 105 +#define EBADSLT 106 +#define ENOANO 107 +#define ENOCSI 108 +#defin...
awm queues windows to refresh and refreshes them in one step
@@ -685,7 +685,7 @@ static void _update_window_title(const char* owner_service, awm_window_title_msg void _radial_gradiant(ca_layer* layer, Size gradient_size, Color c1, Color c2, int x1, int y1, float r); -static void handle_user_message(amc_message_t* user_message) { +static void handle_user_message(amc_message_t* us...
add assertion to md_circ_shift
@@ -1488,6 +1488,8 @@ void md_circ_shift2(unsigned int D, const long dimensions[D], const long center[ dim1[i] = shift; dim2[i] = dimensions[i] - shift; + assert((dim1[i] >= 0) && (dim2[i] >= 0)); + pos[i] = 0; //printf("%d: %ld %ld %d\n", i, dim1[i], dim2[i], sizeof(dimensions));
adds new line
"TOOL_TRACKER_VIEW": "Switch to Tracker view", "TOOL_PIANO_ROLL_VIEW": "Switch to Piano Roll view", "TOOL_ADD_SONG_LABEL":"Add new song", + "// 5": "Editors --------------------------------------------------", "SIDEBAR_NAVIGATION": "Navigation", "SIDEBAR_STARTING_SCENE": "Starting Scene",
Update reference in build.sbt.patch from `rocket-dsptools` to `rocket-dsp-utils`
@@ -8,7 +8,7 @@ index 3123c4b8..487fc428 100644 .dependsOn(rocketchip, boom, hwacha, sifive_blocks, sifive_cache, iocell, - sha3, // On separate line to allow for cleaner tutorial-setup patches +// sha3, // On separate line to allow for cleaner tutorial-setup patches - dsptools, `rocket-dsptools`, + dsptools, `rocket-d...
Work CI-CD Rework artifacts structure for WIN build. ***NO_CI***
@@ -686,7 +686,6 @@ jobs: variables: DOTNET_NOLOGO: true - TargetPublishName: WIN32_nanoCLR # creates a counter and assigns it to the revision variable REVISION: $[counter('WIN32_1_8_0__versioncounter', 400)] @@ -806,13 +805,23 @@ jobs: - task: CopyFiles@2 condition: succeeded() - displayName: Adding nanoCLR to deploya...
ames: print failed scrys
=([%$ %da now] lot) =(%$ syd) == + ?. for.veb.bug.ames-state ~ + ~> %slog.0^leaf/"ames: scry-fail {<[why=why lot=lot now=now syd=syd]>}" ~ :: /ax/protocol/version @ :: /ax/peers (map ship ?(%alien %known))
mat2: don't use vec4 directly on mat2 becauce of alignment requirements may be different
CGLM_INLINE void glm_mat2_copy(mat2 mat, mat2 dest) { - glm_vec4_copy(mat[0], dest[0]); + glm_vec4_ucopy(mat[0], dest[0]); } /*! @@ -216,7 +216,16 @@ glm_mat2_trace(mat2 m) { CGLM_INLINE void glm_mat2_scale(mat2 m, float s) { - glm_vec4_scale(m[0], s, m[0]); +#if defined( __SSE__ ) || defined( __SSE2__ ) + glmm_store(m...
Ensure command prompt is displayed when REPL is used JerryScript-DCO-1.0-Signed-off-by: Roland Takacs
#include "jerryscript-ext/repl.h" +#include <stdio.h> #include <string.h> #include "jerryscript-port.h" @@ -30,6 +31,7 @@ jerryx_repl (const char *prompt_p) while (true) { jerryx_print_string (prompt_p); + fflush (stdout); jerry_size_t length; jerry_char_t *line_p = jerry_port_line_read (&length);
Document lsst_specs.py
+""" +The functions in lsst_specs provide useful routines +for making predictions for LSST-specific observables. +These include routines for predicting the linear bias +of the clustering sample, the dispersion of photometric +redshifts for clustering and lensing samples, and for +predicting the redshift distribution of...
Update json.loads line for python 3.5 Running the script inside a docker container with python 3.5 throws an "TypeError: the JSON object must be str, not 'bytes'". Fixed it by decoding downloaded json to utf-8
@@ -16,7 +16,7 @@ except ImportError: f = urlopen("http://fw.ota.homesmart.ikea.net/feed/version_info.json") data = f.read() -arr = json.loads(data) +arr = json.loads(data.decode('utf-8')) otapath = '%s/otau' % os.path.expanduser('~')
The best high frequency amplifier is a good antenna!
@@ -88,6 +88,8 @@ No support for a driver which doesn't support monitor and packet injection, nati Antennas -------------- +The best high frequency amplifier is a good antenna! + | VENDOR MODEL | TYPE | | ---------------------- | --------------- | | LOGILINK WL0097 | grid parabolic |
optimize quat to matrix
@@ -99,23 +99,33 @@ CGLM_INLINE void glm_quat_mat4(versor q, mat4 dest) { float w, x, y, z; + float xx, yy, zz; + float xy, yz, xz; + float wx, wy, wz; w = q[0]; x = q[1]; y = q[2]; z = q[3]; - dest[0][0] = 1.0f - 2.0f * (y * y + z * z); - dest[0][1] = 2.0f * (x * y + w * z); - dest[0][2] = 2.0f * (x * z - w * y); - de...
circleci: actually build in 32-bit mode Before this the compilers were installed, but I didn't change CC/CXX from gcc/gc++ to x86_64-linux-gnu-gcc/x86_64-linux-gnu-g++. Oops.
@@ -81,7 +81,7 @@ jobs: - run: apt-get update && apt-get install -y ninja-build ninja-build python3-pip python3-setuptools python3-wheel gcovr - run: apt-get install -y {gcc,g++}-i686-linux-gnu libc6-dev:i386 - run: pip3 install meson - - run: CC=gcc CXX=g++ /usr/local/bin/meson setup build -Db_coverage=true + - run: C...
resgroup: fix a boot failure when cgroup is not mounted. Cgroup mount point is detected during startup, but due to a bug the mount point was used even if cgroup is not mounted at all. Fixed by correcting the checking logic.
@@ -773,30 +773,28 @@ ResGroupOps_Name(void) bool ResGroupOps_Probe(void) { - bool result = true; - /* * We only have to do these checks and initialization once on each host, * so only let postmaster do the job. */ if (IsUnderPostmaster) - return result; + return true; /* * Ignore the error even if cgroup mount point c...
Add rust binding for s2n_set_config_send_buffer_size * Add rust binding for s2n_set_config_send_buffer_size Useful for netbench testing of the send buffer size. * Fix format
@@ -400,6 +400,11 @@ impl Builder { Ok(self) } + pub fn set_send_buffer_size(&mut self, size: u32) -> Result<&mut Self, Error> { + unsafe { s2n_config_set_send_buffer_size(self.as_mut_ptr(), size).into_result() }?; + Ok(self) + } + /// Set a custom callback function which is run after parsing the client hello. pub fn s...
hooks: fail if allocating memory for send hooks fails
@@ -145,6 +145,13 @@ static int initHooksSendNotifications (KDB * kdb, const KeySet * config, KeySet } SendNotificationHook * hook = elektraMalloc (sizeof (SendNotificationHook)); + if (hook == NULL) + { + ELEKTRA_ADD_INSTALLATION_WARNING (errorKey, "Could not allocate memory for SendNotificationHook"); + elektraPlugin...
Missing counters for commands
@@ -322,6 +322,7 @@ mongoc_cluster_run_command_internal (mongoc_cluster_t *cluster, request_id = ++cluster->request_id; _mongoc_rpc_prep_command (&rpc, cmd_ns, command, flags); rpc.header.request_id = request_id; + _mongoc_cluster_inc_egress_rpc (&rpc); _mongoc_rpc_gather (&rpc, &ar); _mongoc_rpc_swab_to_le (&rpc); @@ ...
test: put the new DHE auto test in the correct place
@@ -549,7 +549,7 @@ sub testssl { } SKIP: { - skip "skipping PSK tests", 3 + skip "skipping PSK tests", 2 if ($no_psk); ok(run(test([@ssltest, "-tls1", "-cipher", "PSK", "-psk", "abc123"])), @@ -557,6 +557,11 @@ sub testssl { ok(run(test([@ssltest, "-bio_pair", "-tls1", "-cipher", "PSK", "-psk", "abc123"])), 'test tls1...
Fixed `ZydisInfo` tool
@@ -78,8 +78,8 @@ static const char* FormatZyanStatus(ZyanStatus status) if (ZYAN_STATUS_MODULE(status) == ZYAN_MODULE_ZYDIS) { status = ZYAN_STATUS_CODE(status); - ZYAN_ASSERT(status < ZYAN_ARRAY_LENGTH(strings_zycore)); - return strings_zycore[status]; + ZYAN_ASSERT(status < ZYAN_ARRAY_LENGTH(strings_zydis)); + retur...
Drivers: use mp_printf for __str__ like method.
@@ -23,14 +23,14 @@ mp_obj_t motor_DCMotor_make_new(const mp_obj_type_t *type, size_t n_args, size_t STATIC void motor_DCMotor_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind ) { motor_DCMotor_obj_t *self = MP_OBJ_TO_PTR(self_in); // Print port - printf("Port: %c\n", self->port); + mp_printf(print...
misc: updating maintainers file Adding maintainers for stn, ioam, cdp. Type: improvement
@@ -385,6 +385,8 @@ F: src/plugins/acl/ Plugin - NAT I: nat M: Ole Troan <ot@cisco.com> +M: Filip Varga <fivarga@cisco.com> +M: Klement Sekera <ksekera@cisco.com> F: src/plugins/nat/ Plugin - AVF Device driver @@ -642,6 +644,8 @@ F: src/vpp-api/python Plugin - Cisco Discovery Protocol I: cdp +M: vpp-dev Mailing List <v...
[chainmaker][#1144]modify demo response struct
@@ -137,8 +137,7 @@ int main(int argc, char *argv[]) { BOAT_RESULT result = BOAT_SUCCESS; BoatHlchainmakerTx tx_ptr; - BoatInvokeResponse invoke_response; - BoatQueryResponse query_response; + BoatResponseData response_data; boat_try_declare; /* step-1: Boat SDK initialization */ @@ -170,13 +169,13 @@ int main(int argc...
doc: add enum spec
@@ -141,6 +141,58 @@ All spec keys together are part of the KeySet that is automatically applied on failures in lower-level calls when using: `elektraOpenOrgApplication()` where `OrgApplication` is the org and application name. +## Enum + +In the specification: + +``` +[server/serverScreen] +check/enum/#0=off +check/en...
updated Cargo.toml to use appropriate version of spglib-sys
[package] name = "spglib" -version = "0.1.2" +version = "0.1.3" authors = ["Seaton Ullberg <seatonullberg@gmail.com>"] edition = "2018" license = "BSD-3-Clause" @@ -13,4 +13,4 @@ keywords = ["crystallography", "materials-science"] name = "spglib" [dependencies] -spglib-sys = "0.1.0" +spglib-sys = "0.1.1"
metadata-store: fix broken OTA
app-indices (rebuild-app-indices associations.old) == ?: ?=(%8 -.old) - =/ groups (~(got by app-indices) %groups) + =/ groups + (fall (~(get by (rebuild-app-indices associations.old)) %groups) ~) =/ pokes=(list card) %+ murn ~(tap in ~(key by groups)) |= group=resource
Fix a typo in the i2d_TYPE_fp documentation Thanks to Michael Mueller on the openssl-users list for the suggested improvement.
@@ -453,7 +453,7 @@ the encoding of the structure I<a> to BIO I<bp> and it returns 1 for success and 0 for failure. B<i2d_I<TYPE>_fp>() is similar to B<i2d_I<TYPE>>() except it writes -the encoding of the structure I<a> to BIO I<bp> and it +the encoding of the structure I<a> to FILE pointer I<fp> and it returns 1 for s...
pbio/ev3device: add missing error check
@@ -49,7 +49,6 @@ pbio_error_t ev3device_get_device(pbio_ev3iodev_t **iodev, pbio_iodev_type_id_t pbio_error_t ev3device_get_values_at_mode(pbio_ev3iodev_t *iodev, uint8_t mode, void *values) { pbio_error_t err; - // Set the mode if not already set if (iodev->mode != mode || ( // and also if this sensor/mode requires s...
Remove usage of hal_flash_align `hal_flash_*` functions were replaced by `flash_area_*` with similar functionality.
@@ -127,12 +127,6 @@ int hal_flash_erase(uint8_t flash_id, uint32_t address, return sim_flash_erase(address, num_bytes); } -uint8_t hal_flash_align(uint8_t flash_id) -{ - (void)flash_id; - return sim_flash_align; -} - void *os_malloc(size_t size) { // printf("os_malloc 0x%x bytes\n", size);
update ya tool arc Copy timestamps from the materialized file
}, "arc": { "formula": { - "sandbox_id": [411365078], + "sandbox_id": [412001663], "match": "arc" }, "executable": {
lwip: forgotten ip4_route_src_hook to IRAM
@@ -80,6 +80,7 @@ entries: ethernetif:ethernetif_input (noflash_text) wlanif:low_level_output (noflash_text) wlanif:wlanif_input (noflash_text) + lwip_default_hooks:ip4_route_src_hook (noflash_text) if ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY = y: * (extram_bss)
NetKVM: Observee: Make list countable The Add method should return the size of list after the element has been added. This method will always return 0 when the list's typename is CNonCountingObject.
@@ -72,7 +72,7 @@ protected: CObservee() {} private: - CNdisList<CObserver<TNotifyObject>, CRawAccess, CNonCountingObject> m_ObserversList; + CNdisList<CObserver<TNotifyObject>, CRawAccess, CCountingObject> m_ObserversList; CObservee(const CObservee& observee); CObservee& operator=(const CObservee& observee);
sysrepocfg CHANGE explicitly forbid changing oper DS Refs cesnet/libyang#1018
@@ -564,7 +564,7 @@ main(int argc, char** argv) sr_session_ctx_t *sess = NULL; sr_datastore_t ds = SR_DS_RUNNING, source_ds; LYD_FORMAT format = LYD_UNKNOWN; - const char *module_name = NULL, *editor = NULL, *file_path = NULL, *xpath = NULL; + const char *module_name = NULL, *editor = NULL, *file_path = NULL, *xpath = ...
apps/examples/rdp : Fix error in rdp demo after TZ restructuring TZ secure context operations have been restructured. The global variable tz_memory has been removed. Here, we fix the compilation error caused by using this variabled in rdp_demo example.
@@ -105,7 +105,7 @@ static int rdp_demo(int argc, FAR char *argv[]) printf("rdp demo call succeed!\n"); end: /* Frees the given secure context */ - up_free_secure_context(tz_memory); + up_free_secure_context(); return 0; }
doc: remove obsolete text in ksLookupByName
@@ -2061,50 +2061,7 @@ Key * ksLookup (KeySet * ks, Key * key, option_t options) /** * Convenience method to look for a Key contained in @p ks that matches @p name. * - * @p ksLookupByName() is designed to let you work with - * entirely pre-loaded KeySets, so instead of kdbGetKey(), key by key, the - * idea is to fully...
proc: mask process exit code
@@ -1053,7 +1053,7 @@ void proc_exit(int code) parent = current->execparent; if (current->process != NULL) - current->process->exit = code; + current->process->exit = code & 0xff; if (current->parentkstack != NULL) { current->kstack = current->execkstack;
Remember original CID at client.
@@ -931,6 +931,10 @@ int picoquic_incoming_retry( } if (ret == 0) { + /* if this is the first reset, reset the original cid */ + if (cnx->original_cnxid.id_len == 0) { + cnx->original_cnxid = cnx->initial_cnxid; + } /* reset the initial CNX_ID to the version sent by the server */ cnx->initial_cnxid = ph->srce_cnx_id;
Poll timer & actually init.
:: {$init p/code q/arms} :: $init - %+ cure our.tac + =^ mos eth.lex + abet:(~(init et /init now.sys eth.lex) our.tac) + %+ cure(moz (weld moz (flop mos))) our.tac abet:(make:(burb our.tac) our.tac now.sys eny.sys p.tac q.tac) :: :: set ethereum source :: :: ++ init - ::TODO our or source as sample - ::TODO set polling...
system/lzf/lzf_main.c: Check the protection by CONFIG_SYSTEM_LZF != CONFIG_m (not elf binary) instead of CONFIG_KERNEL_BUILD.
* Private Data ****************************************************************************/ -#ifndef CONFIG_BUILD_KERNEL +#if CONFIG_SYSTEM_LZF != CONFIG_m static sem_t g_exclsem = SEM_INITIALIZER(1); #endif @@ -78,7 +78,7 @@ static uint8_t g_buf2[MAX_BLOCKSIZE + LZF_MAX_HDR_SIZE + 16]; * Private Functions ***********...
check if handle->data exists
@@ -1744,6 +1744,7 @@ updatePollHandle(neat_ctx *ctx, neat_flow *flow, uv_poll_t *handle) neat_log(ctx, NEAT_LOG_DEBUG, "%s", __func__); assert(handle); + assert(handle->data); pollable_socket = handle->data; #ifdef SCTP_MULTISTREAMING
session DOC minor clarification
@@ -265,12 +265,12 @@ struct nc_server_opts { #define NC_PS_LOCK_TIMEOUT 500 /** - * Time slept in msec if no endpoint is created for a running Call Home client. + * Time slept in msec if no endpoint was created for a running Call Home client. */ #define NC_CH_NO_ENDPT_WAIT 1000 /** - * Time slept in msec if no endpoin...
[LWIP] update SConscript: add /src/include/posix to include path when RT_USING_DFS_NET not enable.
@@ -67,6 +67,10 @@ path = [GetCurrentDir() + '/src', GetCurrentDir() + '/src/arch/include', GetCurrentDir() + '/src/include/netif'] +if not GetDepend('RT_USING_POSIX') or not GetDepend('RT_USING_DFS_NET'): + path += [GetCurrentDir() + '/src/include/posix'] + print('include /src/include/posix') + if GetDepend(['RT_LWIP_...
disables tracing exit printf when tracing is off
@@ -531,10 +531,10 @@ u3t_print_steps(c3_c* cap_c, c3_d sep_d) void u3t_damp(void) { - fprintf(stderr, "\r\n"); - if ( 0 != u3R->pro.day ) { u3_noun wol = u3do("pi-tell", u3R->pro.day); + + fprintf(stderr, "\r\n"); u3_term_wall(wol); /* bunt a +doss