message
stringlengths
6
474
diff
stringlengths
8
5.22k
make compilation with SICSLOWPAN_COMPRESSION_IPV6 possible
@@ -1875,10 +1875,13 @@ input(void) } /* Process next dispatch and headers */ +#if SICSLOWPAN_COMPRESSION > SICSLOWPAN_COMPRESSION_IPV6 if((PACKETBUF_6LO_PTR[PACKETBUF_6LO_DISPATCH] & SICSLOWPAN_DISPATCH_IPHC_MASK) == SICSLOWPAN_DISPATCH_IPHC) { LOG_DBG("uncompression: IPHC dispatch\n"); uncompress_hdr_iphc(buffer, fra...
Fix CoreValidation report workflow.
@@ -16,9 +16,7 @@ jobs: issues: read checks: write pull-requests: write - if: | - github.event.workflow_run.event == "pull_request" && - github.event.workflow_run.conclusion != 'skipped' + if: github.event.workflow_run.conclusion != 'skipped' steps: - name: Download test results @@ -29,8 +27,8 @@ jobs: artifacts_url=${...
Tests: fixed test_settings_idle_timeout.
@@ -77,7 +77,7 @@ Content-Length: %d self.assertRegex(data, r'200 OK', 'status send timeout') self.assertLess(len(data), data_len, 'data send timeout') - + @unittest.expectedFailure def test_settings_idle_timeout(self): self.load('empty') @@ -95,7 +95,7 @@ Content-Length: %d 'Host': 'localhost' }, sock=sock) - self.ass...
s5j: fix a compilation error when CONFIG_S5J_PWM=n This patch fixes compilation error when CONFIG_S5J_PWM is disabled.
@@ -61,7 +61,9 @@ ifeq ($(CONFIG_SIDK_S5JT200_TLC59116),y) CSRCS += s5jt200_tlc59116.c endif +ifeq ($(CONFIG_S5J_PWM),y) CSRCS += s5jt200_pwm.c +endif ifeq ($(CONFIG_SIDK_S5JT200_S8300),y) CSRCS += s5jt200_led.c
Crash: setting shapeOfTheEarth=1 but scale factor missing
@@ -141,9 +141,10 @@ static void init(grib_accessor* a,const long l, grib_arguments* c) { grib_accessor_from_scale_factor_scaled_value* self = (grib_accessor_from_scale_factor_scaled_value*)a; int n = 0; + grib_handle* hand = grib_handle_of_accessor(a); - self->scaleFactor = grib_arguments_get_name(grib_handle_of_acces...
[cmake] remove path hints where CMake searches by default github: closes
@@ -300,7 +300,7 @@ macro(XCONFIG _package _link_FLAGS _cflags) set(${_link_FLAGS}) set(${_cflags}) - find_program(${_package}CONFIG_EXECUTABLE NAMES ${_package} PATHS /usr/local/bin ) + find_program(${_package}CONFIG_EXECUTABLE NAMES ${_package}) # if pkg-config has been found if(${_package}CONFIG_EXECUTABLE) @@ -548,...
check-flags.sh: move download location from ~ to /opt/intel
echo "WD: $PWD" > ~/wd.txt if [ -z "${SDE_PATH}" ]; then - SDE_PATH="${HOME}/sde" + SDE_PATH="/opt/intel/sde" +fi + +if [ ! -d "${SDE_PATH}" ]; then + mkdir -p "${SDE_PATH}" fi NATIVE_SUPPORT=1
regression test directory change
@@ -46,8 +46,8 @@ hello-world/cc2538dk \ rpl-border-router/cc2538dk \ rpl-border-router/cc2538dk:MAKE_ROUTING=MAKE_ROUTING_RPL_CLASSIC \ hello-world/nrf52dk \ -platform-specific/nrf52dk/coap-demo/nrf52dk:coap-server \ -platform-specific/nrf52dk/coap-demo/nrf52dk:coap-client:SERVER_IPV6_EP=ffff \ +platform-specific/nrf5...
ci: Run the compliance workflow on generic workers No need to bottleneck on the self hosted worker(s) when this is a light job.
@@ -10,7 +10,7 @@ on: jobs: dco: name: DCO - runs-on: [self-hosted, Linux] + runs-on: ubuntu-latest steps: - name: Checkout the code uses: actions/checkout@v2 @@ -36,7 +36,7 @@ jobs: if: always() reuse: name: reuse - runs-on: [self-hosted, Linux] + runs-on: ubuntu-latest steps: - name: Checkout the code uses: actions/c...
MSR: Use `sh` compatible code to remove last char
@@ -95,11 +95,11 @@ translate() then [ -n "$COMMAND" ] && writeBlock "$TMPFILE" COMMAND=$(printf '%s' "$line" | grep -Eo '[^ \t].*') - [ "${line: -1}" == '\' ] && COMMAND="${COMMAND%?}" + [ "${line: -1}" == '\' ] && COMMAND=$(printf '%s' "$COMMAND" | sed 's/.$//') while [ "${line: -1}" == '\' ]; do read -r line - if [ ...
board/rtl8721csm/src/component/os/tizenrt: Fix wifi_netmgr_utils_init(), gmode should not be set to RTK_WIFI_NONE at the start of this function. Fix wifi_netmgr_utils_init() on gmode set value.
@@ -341,7 +341,6 @@ static void linkdown_handler(rtk_reason_t *reason) trwifi_result_e wifi_netmgr_utils_init(struct netdev *dev) { trwifi_result_e wuret = TRWIFI_FAIL; -g_mode = RTK_WIFI_NONE; if (g_mode == RTK_WIFI_NONE) { int ret = RTK_STATUS_SUCCESS;
Gen: Use correct location of `gen` command Before this update calling `gen` would fail if the path to the tool contained spaces.
@@ -36,7 +36,7 @@ GEN="$GEN_FOLDER/gen" TESTPROGS="./lift ./cpplift ./nestedlift ./dynamiccontextlift" # ./staticcontextlift commented out -if $GEN -h | grep "^usage:" +if "$GEN" -h | grep "^usage:" then echo "$GEN available" else @@ -68,7 +68,7 @@ succeed_if "could not mount: $HEAVY_MATERIAL_LIFT_FILE at $HEAVY_MATERI...
Remove -s from make instructions. It's a good option but not required so let the user make the choice. Also combine configure and make into a single line.
</execute-list> <execute-list host="{[host-build]}"> - <title>Compile <backrest/></title> + <title>Configure and compile <backrest/></title> <execute> - <exe-cmd>cd /build/pgbackrest-release-{[version]}/src &amp;&amp; ./configure</exe-cmd> - </execute> - - <execute> - <exe-cmd>make -s -C /build/pgbackrest-release-{[ver...
Dispose SslStream
@@ -120,7 +120,7 @@ namespace Miningcore.Stratum // create stream networkStream = new NetworkStream(socket, true); - using (new CompositeDisposable(networkStream, cts)) + using (var disposables = new CompositeDisposable(networkStream, cts)) { // TLS handshake if (poolEndpoint.PoolEndpoint.Tls) @@ -129,6 +129,8 @@ names...
logging: Initialize total, total_cpu, total_gpu variables
@@ -65,7 +65,10 @@ void writeSummary(string filename){ out << "0.1% Min FPS," << "1% Min FPS," << "97% Percentile FPS," << "Average FPS," << "GPU Load," << "CPU Load" << "\n"; std::vector<logData> sorted = logArray; std::sort(sorted.begin(), sorted.end(), compareByFps); - float total, total_cpu, total_gpu; float result...
btc: fix currencyValue in transaction.js
@@ -57,8 +57,7 @@ export default class Transaction extends Component { sign = ''; } -// let currencyValue = (this.props.denom === 'BTC') ? null : -// sign + satsToCurrency(value, this.props.denom, this.props.rates); + let currencyValue = sign + satsToCurrency(value, this.props.denom, this.props.rates); const failure = ...
Update mixly_arduino/blockly/blocks/esp32/factory.js
@@ -9,7 +9,7 @@ Blockly.Blocks.factory_from_import = { this.setColour(Blockly.Blocks.factory.HUE); this.appendDummyInput("") .appendField("from ") - .appendField(new Blockly.FieldTextInput('microbit'), 'path') + .appendField(new Blockly.FieldTextInput('ESP32'), 'path') .appendField(" import ") .appendField(new Blockly....
host/mesh: Fix incorrect flag check in mesh settings This bug was introduced in PR where setting's flags were moved out from bt_mesh.flags to pending_flags. This is port of
@@ -105,7 +105,7 @@ void bt_mesh_settings_store_schedule(enum bt_mesh_settings_flag flag) timeout_ms = 0; } else if (atomic_test_bit(pending_flags, BT_MESH_SETTINGS_RPL_PENDING) && - (!(atomic_get(bt_mesh.flags) & GENERIC_PENDING_BITS) || + (!(atomic_get(pending_flags) & GENERIC_PENDING_BITS) || (CONFIG_BT_MESH_RPL_STO...
VFS: move all functions into RAM which are called in the performance test
@@ -4,3 +4,6 @@ entries: vfs:esp_vfs_open (noflash) vfs:esp_vfs_write (noflash) vfs:esp_vfs_close (noflash) + vfs:get_vfs_for_fd (noflash) + vfs:get_vfs_for_path (noflash) + vfs:translate_path (noflash)
Add comments APIs to VB bas include file
@@ -263,6 +263,9 @@ Public Const EN_MISSING As Double = -1.0E10 Declare Function ENsettitle Lib "epanet2.dll" (ByVal titleline1 As String, ByVal titleline2 As String, ByVal titleline3 As String) As Long Declare Function ENsaveinpfile Lib "epanet2.dll" (ByVal filename As String) As Long Declare Function ENclose Lib "epa...
[control] removing for a while missing test file
@@ -18,7 +18,7 @@ if(WITH_${COMPONENT}_TESTING) NEW_TEST(tests) IF(WITH_FORTRAN) - NEW_TEST(PIDTest.cpp SMCTest.cpp ObserverTest.cpp TwistingTest.cpp) + NEW_TEST(PIDTest.cpp SMCTest.cpp ObserverTest.cpp ) ENDIF(WITH_FORTRAN) END_TEST()
fix conflicts caused by the bmp280 merge
#if MYNEWT_VAL(BME280_OFB) #include <bme280/bme280.h> #endif -<<<<<<< HEAD + #if MYNEWT_VAL(MS5837_OFB) #include <ms5837/ms5837.h> -======= +#endif + #if MYNEWT_VAL(BMP280_OFB) #include <bmp280/bmp280.h> ->>>>>>> MYNEWT-840 bmp280 driver and sensor fmwk support #endif /* Driver definitions */ @@ -74,13 +74,12 @@ static...
fixed broken NMEA
@@ -4419,7 +4419,7 @@ while(0 <= restlen) if(option->option_length >= 48) { nmealen = option->option_length; - memset(&nmeasentence, 0, option->option_length); + memset(&nmeasentence, 0, OPTIONLEN_MAX); memcpy(&nmeasentence, &option->data, option->option_length); csc = 0; csn = 0;
hw/sensor: Add deps to bus packages
@@ -33,6 +33,12 @@ pkg.deps.SENSOR_CLI: - "@apache-mynewt-core/sys/shell" - "@apache-mynewt-core/util/parse" +# XXX probably both do not need to be always included, but let's keep it like +# this for now to make things simpler +pkg.deps.BUS_DRIVER_PRESENT: + - "@apache-mynewt-core/hw/bus/i2c" + - "@apache-mynewt-core/h...
Fix token highlighting inconsistency
@@ -302,7 +302,7 @@ COLORREF PhGetGroupAttributesColor( if (Attributes & SE_GROUP_INTEGRITY) { if (Attributes & SE_GROUP_INTEGRITY_ENABLED) - return RGB(0xff, 0xf0, 0xc0); + return RGB(0xe0, 0xf0, 0xe0); else return GetSysColor(COLOR_WINDOW); } @@ -310,7 +310,7 @@ COLORREF PhGetGroupAttributesColor( if (Attributes & SE...
Promised ~teb to Michael Vassar.
0w0 :: 86, ~mut, Philip Monk 0w0 :: 87, ~nyx, Philip Monk 0w0 :: 88, ~rex, Tlon Investor 12 - 0w0 :: 89, ~teb, Curtis Yarvin + 0w0 :: 89, ~teb, Michael Vassar 0w0 :: 90, ~fus, Tlon Corporation 0w0 :: 91, ~hep, urbit.org 0w0 :: 92, ~ben, urbit.org
Regression only when indicated
@@ -10,11 +10,11 @@ else ONLY_TEST="" fi -if git log HEAD^..HEAD | grep -q 'git:NO REGRESSION' +if git log HEAD^..HEAD | grep -q 'git:REGRESSION' then - NO_REGRESSION=1 -else NO_REGRESSION=0 +else + NO_REGRESSION=1 fi if [ -z "$TPKG" -o ! -x "$TPKG" ]
snappy: Disable MPU Follow reef setting. BRANCH=reef TEST=Boot to OS Commit-Ready: Bruce Wan Tested-by: Bruce Wan
#undef CONFIG_EXTPOWER_DEBOUNCE_MS #define CONFIG_EXTPOWER_DEBOUNCE_MS 1000 #define CONFIG_FPU +/* Region sizes are not power of 2 so we can't use MPU */ +#undef CONFIG_MPU #define CONFIG_HOSTCMD_FLASH_SPI_INFO #define CONFIG_I2C #define CONFIG_I2C_MASTER
Google analytics for documentation page
# Enable or disable the site search search_enabled: true +ga_tracking: "UA-109828853-2" +url: "https://jason2605.github.io/Dictu/" + # Aux links for the upper right navigation aux_links: "View Dictu on GitHub":
Add test osc midi sending
@@ -556,6 +556,7 @@ bool app_set_osc_udp_port(App_state* a, U16 port) { void app_do_stuff(App_state* a) { double secs_span = 60.0 / (double)a->bpm / 4.0; + Oosc_dev* oosc_dev = a->oosc_dev; while (a->accum_secs > secs_span) { a->accum_secs -= secs_span; undo_history_push(&a->undo_hist, &a->field, a->tick_num); @@ -566,...
test: point suse11 openssl to suse10
<dependencies> <dependency org="xerces" name="xerces-c" rev="3.1.1-p1" conf="osx106_x86->osx106_x86_32;rhel7_x86_64->rhel5_x86_64;rhel6_x86_64->rhel5_x86_64;suse11_x86_64->suse10_x86_64" /> - <dependency org="OpenSSL" name="openssl" rev="0.9.8zg" conf="osx106_x86->osx105_x86;hpux_ia64->hpux_ia64;rhel7_x86_64->rhel5_x86...
handle faults
@@ -116,7 +116,11 @@ uint16_t gas_set_1 = 0; uint32_t timeout = 0; uint32_t current_index = 0; -uint8_t fault = 0; +#define STATE_GOOD 0 +#define STATE_FAULT_CHECKSUM 1 +#define STATE_FAULT_SEND 2 +#define STATE_FAULT_SCE 3 +uint8_t state = STATE_NONE; void CAN1_RX0_IRQHandler() { while (CAN->RF0R & CAN_RF0R_FMP0) { @@...
Use proper const for 'too many connections'
@@ -94,7 +94,7 @@ od_frontend_error_is_too_many_connections(od_client_t *client) &error); if (rc == -1) return false; - return strcmp(error.code,"53300") == 0; + return strcmp(error.code, KIWI_TOO_MANY_CONNECTIONS) == 0; } static int
Use default debian install paths Defaults are: CMAKE_INSTALL_PREFIX=/usr CMAKE_INSTALL_SYSCONFDIR=/etc Closes:
override_dh_auto_configure: - dh_auto_configure -- -DCMAKE_INSTALL_PREFIX=/opt/td-agent-bit/ -DCMAKE_INSTALL_SYSCONFDIR=/etc/ -DFLB_ALL=ON -DFLB_TD=1 -DFLB_WITHOUT_EXAMPLES=On -DFLB_HTTP_SERVER=On -DFLB_OUT_KAFKA=On + dh_auto_configure -- -DFLB_ALL=ON -DFLB_TD=1 -DFLB_WITHOUT_EXAMPLES=On -DFLB_HTTP_SERVER=On -DFLB_OUT_...
azimuth-rpc: deliver pubkeys as hex strings Rather than plain json numbers.
%- pairs :~ ['life' (numb life.keys.net)] ['suite' (numb suite.keys.net)] - ['auth' (numb auth.keys.net)] - ['crypt' (numb crypt.keys.net)] + ['auth' s+(crip "0x{((x-co:co 20) auth.keys.net)}")] + ['crypt' s+(crip "0x{((x-co:co 20) crypt.keys.net)}")] == :: ['rift' (numb rift.net)]
Fix printf format specifier Also mark function as printf variant so compiler will pickup any future issues.
#define MBEDTLS_ALLOW_PRIVATE_ACCESS #include "mbedtls/build_info.h" +#include "mbedtls/debug.h" #include <stdio.h> #include <stdlib.h> @@ -161,6 +162,7 @@ void printf_dbg( const char *str, ... ) } } +MBEDTLS_PRINTF_ATTRIBUTE( 1, 2 ) void printf_err( const char *str, ... ) { va_list args; @@ -467,7 +469,8 @@ size_t rea...
Temporarily disable the explicit enable-asan build The explicit enable-asan build fails in the memleak test for unknown reasons. Therefore we disable it temporarily to get a green Travis. Other builds that use -fsanitize=address in Travis seem to pass. [extended tests]
@@ -113,9 +113,10 @@ matrix: - os: linux compiler: clang env: EXTENDED_TEST="yes" CONFIG_OPTS="no-asm enable-ubsan enable-rc5 enable-md2 enable-ssl3 enable-ssl3-method enable-nextprotoneg no-shared enable-buildtest-c++ -fno-sanitize=alignment -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -D__NO_STRING_INLINES -Wno-unused-...
build: remove jemalloc flag --enable-cc-silence This change removes the message: `configure: WARNING: unrecognized options: --enable-cc-silence` when build fluent-bit. The flag was replace by --disable-cc-silence in jemalloc v4.0.0
@@ -529,7 +529,7 @@ if(FLB_JEMALLOC AND ${CMAKE_SYSTEM_NAME} MATCHES "Linux") # Link to Jemalloc as an external dependency ExternalProject_Add(jemalloc SOURCE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/lib/jemalloc-5.2.1 - CONFIGURE_COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/lib/jemalloc-5.2.1/configure ${AUTOCONF_HOST_OPT} --with-lg-qu...
Parse RPC error responses correctly.
=/ res=(unit [@t json]) ((ot id+so result+some ~) a) ?^ res `[%result u.res] + ~| a :+ ~ %error %- need - ((ot id+so code+so message+so ~) a) + ((ot id+so error+(ot code+no message+so ~) ~) a) -- --
Split pio build
@@ -202,7 +202,7 @@ jobs: build-platformio: runs-on: ubuntu-latest - timeout-minutes: 10 + timeout-minutes: 5 steps: - uses: actions/checkout@v1 @@ -214,10 +214,6 @@ jobs: run: | python -m pip install --upgrade pip pip install -U platformio - - name: Build Arduino MKR1000 - run: | - cd platforms/arduino - pio run -e mk...
data tree BUGFIX avoid duplicating list keys twice Refs sysrepo/sysrepo#2277
@@ -2814,8 +2814,22 @@ lyd_dup(const struct lyd_node *node, struct lyd_node_inner *parent, uint32_t opt } LY_LIST_FOR(node, orig) { + if (lysc_is_key(orig->schema)) { + if (local_parent) { + /* the key must already exist in the parent */ + rc = lyd_find_sibling_schema(local_parent->child, orig->schema, first ? NULL : &...
tally: compile and work properly with deleted posts
:- (lent week) %~ wyt in %+ roll week - |= [[* [author=ship *] *] a=(set ship)] - (~(put in a) author) + |= [[* mp=maybe-post:ga *] a=(set ship)] + ?- -.mp + %| a + %& (~(put in a) author.p.mp) + == :: render results :: :- (tac 'the date is ' (scot %da now))
Remove an ineffective assignment to `*err_desc`.
@@ -454,7 +454,6 @@ static int handle_data_frame(struct st_h2o_http2client_conn_t *conn, h2o_http2_f */ if (stream->input.remaining_content_length != SIZE_MAX) { if (payload.length > stream->input.remaining_content_length) { - *err_desc = "body size larger than content-length"; stream_send_error(conn, frame->stream_id,...
delete a dangling line
@@ -86,7 +86,6 @@ cdef extern from "catboost/private/libs/options/enums.h" namespace "NCB": cdef ERawTargetType ERawTargetType_String "NCB::ERawTargetType::String" cdef ERawTargetType ERawTargetType_None "NCB::ERawTargetType::None" - cdef extern from "catboost/private/libs/options/model_based_eval_options.h" namespace ...
dm: Add teardown callback for mevent in uart_core To avoid the race issue for mevent in uart, we introduce the teardown callback to handle resource free case. Acked-by: Yu Wang
@@ -119,6 +119,7 @@ struct uart_vdev { }; static void uart_drain(int fd, enum ev_type ev, void *arg); +static void uart_deinit(struct uart_vdev *uart); static void ttyclose(void) @@ -266,12 +267,34 @@ rxfifo_numchars(struct uart_vdev *uart) return fifo->num; } +static void +uart_mevent_teardown(void *param) +{ + struct...
tests/extra_coverage.py: Update for explicit frozen module vpath.
@@ -97,11 +97,11 @@ None frzstr1 frzstr1.py frzmpy1 -frzmpy1.py +*frzmpy1.py frzstr_pkg1.__init__ frzstr_pkg1/__init__.py 1 frzmpy_pkg1.__init__ -frzmpy_pkg1/__init__.py 1 +*frzmpy_pkg1/__init__.py 1 frzstr_pkg2.mod 1 frzmpy_pkg2.mod
more xray debugs thanks to ~master-morzod
@@ -1882,7 +1882,7 @@ _slog_bytecode(c3_l pri_l, c3_y* pog) { if ( 0 ) { // check the bytecode, // if its an indexing bytecode, we need to look it up - num = pog_u->lit_u.non[num] + //num = pog_u->lit_u.non[num]; } if (num == 0) {
[target][pico][ci] add pico-test to the build matrix
@@ -54,6 +54,9 @@ jobs: - project: nucleo-f072rb toolchain: arm-eabi-7.5.0-Linux-x86_64 debug: 2 + - project: pico-test + toolchain: arm-eabi-7.5.0-Linux-x86_64 + debug: 2 - project: qemu-microblaze-test toolchain: microblaze-elf-7.5.0-Linux-x86_64 debug: 2 @@ -91,6 +94,9 @@ jobs: - project: stm32f746g-disco-test toolc...
Added line directing user to site with dchmod man page.
@@ -37,6 +37,7 @@ static void print_usage(void) printf(" -v, --verbose - verbose output\n"); printf(" -q, --quiet - quiet output\n"); printf(" -h, --help - print usage\n"); + printf("For more information see https://mpifileutils.readthedocs.io.\n"); printf("\n"); fflush(stdout); return;
Call m3_FreeModule in fuzzer
#include <stddef.h> #include "wasm3.h" -#include "m3_api_wasi.h" -#include "m3_api_libc.h" -#include "m3_env.h" - #define FATAL(...) __builtin_trap() - int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { M3Result result = m3Err_none; - IM3Environment env = m3_NewEnvironment (); if (env) { IM3Runtime runtime ...
Disabling some NSDecimal subtraction tests on OSX
@@ -262,7 +262,12 @@ TEST(NSDecimalNumber, Subtraction2) { TEST_SUBTRACT([[[NSDecimalNumber alloc] initWithInt:(2 * USHRT_MAX)] autorelease], [[[NSDecimalNumber alloc] initWithInt:USHRT_MAX] autorelease], [[[NSDecimalNumber alloc] initWithInt:USHRT_MAX] autorelease]); +} +// Disabled on OSX due to the results produced ...
parser json BUGFIX null array and opaque flag Using the opaque flag must not make any difference.
@@ -457,11 +457,11 @@ lydjson_data_check_opaq(struct lyd_json_ctx *lydctx, const struct lysc_node *sno return LY_SUCCESS; } - if (lydctx->parse_opts & LYD_PARSE_OPAQ) { /* backup parser */ lyjson_ctx_backup(jsonctx); status = lyjson_ctx_status(jsonctx, 0); + if (lydctx->parse_opts & LYD_PARSE_OPAQ) { /* check if the no...
Update mandatory dependencies
@@ -21,7 +21,7 @@ Recommended version is Debian 8 (if you are on Debian 7 you will need to add the testing repo in /etc/apt/sources.list) - Processor : 1GHZ and RAM : 8GB - Ports 8080, 5432, 9200, 5601 are opened -- Debian environment : requires curl, debconf, unzip, sudo, libc6-dev +- Debian environment : requires cur...
Remove settings used when testing
@@ -45,7 +45,7 @@ Available command line flags: int main(int argc, char const *argv[]) { const char *port = "3000"; const char *public_folder = NULL; - uint32_t threads = 1; + uint32_t threads = 0; uint32_t workers = 0; uint8_t print_log = 1; @@ -85,7 +85,7 @@ int main(int argc, char const *argv[]) { } if (print_log) {...
Fix: Incorrect condition while building FCG
@@ -315,7 +315,7 @@ void fcg_add_pairwise_edges(Graph *fcg, int v1, int v2, PlutoProg *prog, int *co conflictcst->is_eq[row_offset + src_offset+i] = 0; for (j=0; j<stmts[v2]->dim_orig; j++) { - if (colour[fcg_offset2 + j] == 0 || colour[fcg_offset1 + i] == current_colour) { + if (colour[fcg_offset2 + j] == 0 || colour[...
schema helpers MAINTENANCE message improvement
@@ -758,7 +758,7 @@ search_file: /* update the latest_revision flag - here we have selected the latest available schema, * consider that even the callback provides correct latest revision */ if (!*mod && ctx_latest) { - LOGVRB("Newer revision than %s-%s not found, using this as the latest revision.", ctx_latest->name, ...
gpstop: Recognize downed segments before exiting Run a distributed query across all segments to force FTS to detect and mark all downed segments. Author: Nadeem Ghani Author: Marbin Tan Author: Shoaib Lari Author: C.J. Jameson
@@ -32,6 +32,7 @@ try: from gppylib.gp_era import GpEraFile from gppylib.operations.unix import CleanSharedMem from gppylib.operations.utils import ParallelOperation, RemoteOperation + from gppylib.operations.rebalanceSegments import ReconfigDetectionSQLQueryCommand except ImportError, e: sys.exit('ERROR: Cannot import...
Don't make activation while processing a requirement
/// - the plugin knows that an output is not consumed by the host, and doesn't need to /// compute it /// -/// Audio ports can be activated and deactivated at any time, even while processing. +/// Audio ports can only be activated or deactivated when the plugin is deactivated, unless +/// can_activate_while_processing(...
Avoid resource leaks in do_ssl3_write Thanks Matt for pointing on it
@@ -876,7 +876,7 @@ int do_ssl3_write(SSL_CONNECTION *s, int type, const unsigned char *buf, eivlen = EVP_CIPHER_CTX_get_iv_length(s->enc_write_ctx); if (eivlen < 0) { SSLfatal(s, SSL_AD_INTERNAL_ERROR, SSL_R_LIBRARY_BUG); - return -1; + goto err; } if (eivlen <= 1) eivlen = 0;
send the TLS alert on handshake errors
@@ -1129,6 +1129,7 @@ Redo: ret = SSL_connect(sock->ssl->ossl); } + int is_complete = 0; if (ret == 0 || (ret < 0 && SSL_get_error(sock->ssl->ossl, ret) != SSL_ERROR_WANT_READ)) { /* failed */ long verify_result = SSL_get_verify_result(sock->ssl->ossl); @@ -1137,12 +1138,18 @@ Redo: } else { err = "ssl handshake failur...
Testing theory
@@ -24,19 +24,22 @@ jobs: name: test1 runs-on: ubuntu-latest steps: + - uses: actions/checkout@v2 - run: | - mkdir -p $GITHUB_WORKSPACE echo "dummy" >> $GITHUB_WORKSPACE/temp.file echo "${{ hashFiles('**/temp.file') }}" + echo "${{ hashFiles('**/README.md') }}" test2: name: test2 runs-on: self-hosted steps: + - uses: a...
fix(docs): Proper block for romac shield.
@@ -29,7 +29,7 @@ That being said, there are currently only a few specific [boards](/docs/faq#what - [Sofle](https://github.com/josefadamcik/SofleKeyboard) (`sofle_left` and `sofle_right`) - [Splitreus62](https://github.com/Na-Cly/splitreus62) (`splitreus62_left` and `splitreus62_right`) - [RoMac+ v4](https://www.littl...
replace `rt_enter_critical` with `dfs_lock` for list_fd I found that if use mutex in `rt_kprintf`, the `rt_enter_critical` will create a assert error later. after chehcking,I found all operation with fd_table has using `dfs_lock/unlock` to protect. so I think using `dfs_lock` is enough. thanks.
@@ -529,7 +529,7 @@ int list_fd(void) fd_table = dfs_fdtable_get(); if (!fd_table) return -1; - rt_enter_critical(); + dfs_lock(); rt_kprintf("fd type ref magic path\n"); rt_kprintf("-- ------ --- ----- ------\n"); @@ -562,7 +562,7 @@ int list_fd(void) } } } - rt_exit_critical(); + dfs_unlock(); return 0; }
Lower the technical maximum input file size to 1MB (from 128MB)
/* Maximum number of PC guards (=trace-pc-guard) we support */ #define _HF_PC_GUARD_MAX (1024ULL * 1024ULL * 64ULL) -/* Maximum size of the input file in bytes (128 MiB) */ -#define _HF_INPUT_MAX_SIZE (1024ULL * 1024ULL * 128ULL) +/* Maximum size of the input file in bytes (1 MiB) */ +#define _HF_INPUT_MAX_SIZE (1024UL...
Fix quat:mul edge case;
@@ -113,7 +113,7 @@ static int l_lovrQuatMul(lua_State* L) { quat q = luax_checkmathtype(L, 1, MATH_QUAT, NULL); MathType type; float* r = luax_tomathtype(L, 2, &type); - if (!r) return luaL_typerror(L, 2, "quat or vec3"); + if (!r || type == MATH_MAT4) return luaL_typerror(L, 2, "quat or vec3"); if (type == MATH_VEC3)...
README: SSSE3 is complete.
@@ -27,18 +27,20 @@ For an example of a project using SIMDe, see [![Travis](https://api.travis-ci.org/nemequ/simde.svg?branch=master)](https://travis-ci.org/nemequ/simde) [![AppVeyor](https://ci.appveyor.com/api/projects/status/1f3wp712w1ium5vi/branch/master?svg=true)](https://ci.appveyor.com/project/quixdb/simde/branc...
revert back to OHPC_macros in %{_sourcedir}
#----------------------------------------------------------------------------eh- # Serial GSL library build that is dependent on compiler toolchain - -BuildRequires: ohpc-buildroot -%include /opt/ohpc/admin/ohpc/OHPC_macros +%include %{_sourcedir}/OHPC_macros %ohpc_compiler # Base package name
switch to U-Boot 2021.04
@@ -33,19 +33,19 @@ VIVADO = vivado -nolog -nojournal -mode batch XSCT = xsct RM = rm -rf -UBOOT_TAG = xilinx-v2020.2 +UBOOT_TAG = 2021.04 LINUX_TAG = 5.10 DTREE_TAG = xilinx-v2020.2 -UBOOT_DIR = tmp/u-boot-xlnx-$(UBOOT_TAG) +UBOOT_DIR = tmp/u-boot-$(UBOOT_TAG) LINUX_DIR = tmp/linux-$(LINUX_TAG) DTREE_DIR = tmp/device-...
[http][#448]add parameters check
@@ -330,6 +330,12 @@ BOAT_RESULT http2SubmitRequest(http2IntfContext *context) boat_throw(BOAT_ERROR_HTTP2_CONNECT_FAIL, http2SubmitRequest_exception); } #if (BOAT_TLS_SUPPORT == 1) + if (context->tlsCAchain == NULL) + { + BoatLog(BOAT_LOG_CRITICAL, "BoatTlsInit tlsCAchain NULL."); + boat_throw(BOAT_ERROR_HTTP2_TLS_INI...
tls: replace deprecated mbedtls method
@@ -177,10 +177,17 @@ static void tls_handle(int rc, int fd) auth_end(resource, AUTH_FAILED); } else { // TLS handshake done +#if (MBEDTLS_VERSION_MAJOR >= 2 && MBEDTLS_VERSION_MINOR >= 22) + log_debug("TLS-Client: Protocol [%s], Ciphersuite [%s] and fragment length %u: %s", + mbedtls_ssl_get_version(ssl), mbedtls_ssl_...
add short blurb about avx512 and needed compiler to README
@@ -110,6 +110,7 @@ Please read `GotoBLAS_01Readme.txt`. - **Intel Xeon 56xx (Westmere)**: Used GotoBLAS2 Nehalem codes. - **Intel Sandy Bridge**: Optimized Level-3 and Level-2 BLAS with AVX on x86-64. - **Intel Haswell**: Optimized Level-3 and Level-2 BLAS with AVX2 and FMA on x86-64. +- **Intel Skylake**: Optimized L...
add code format contributing docs
@@ -77,6 +77,7 @@ There are many ways that you can contribute to the Azure SDK for Embedded C proj > Note: Using libcurl requires a global init and clean up that needs to happen in application code. See more info in Running Samples section. - [doxygen](https://www.doxygen.nl/download.html) if you need to generate and v...
Tested on SUSE
@@ -43,24 +43,26 @@ Patch1: boost-fenv_suse.patch BuildRequires: bzip2-devel BuildRequires: expat-devel BuildRequires: xorg-x11-server-devel +BuildRequires: libquadmath-devel +Requires: libquadmath-devel %else %if 0%{?sle_version} BuildRequires: libbz2-devel BuildRequires: libexpat-devel BuildRequires: xorg-x11-devel +...
Add zero neighborhood check to TZ search Adds an additional grid search step that starts from the zero motion vector after the normal grid search. The search range for this step is half of the normal range.
@@ -643,6 +643,19 @@ static void tz_search(inter_search_info_t *info, vector2d_t extra_mv) if (rounds_without_improvement >= 3) break; } + if (start.x != 0 || start.y != 0) { + // repeat step 2 starting from the zero MV + start.x = 0; + start.y = 0; + rounds_without_improvement = 0; + for (int iDist = 1; iDist <= iSear...
removed unnneccessary define
#include <openssl/sha.h> #ifdef __APPLE__ #define PATH_MAX 255 -#define _DEFAULT_SOURCE #include <libgen.h> #else #include <stdio_ext.h> @@ -2092,7 +2091,6 @@ if(handshakeliste == NULL) handshakecount++; return; } - zeiger = handshakeliste; for(c = 0; c < handshakecount; c++) { @@ -2989,6 +2987,7 @@ rc = byte_swap_64(w...
fixup: Deliver the EXTDIR definition for external folder path on Makefile EXTDIR should be delevered through LibTargets.mk to use it for compilation flag.
@@ -152,7 +152,7 @@ $(LIBRARIES_DIR)$(DELIM)libcxx$(LIBEXT): libxx$(DELIM)libcxx$(LIBEXT) $(Q) install $(LIB_DIR)$(DELIM)libxx$(DELIM)libcxx$(LIBEXT) $(LIBRARIES_DIR)$(DELIM)libcxx$(LIBEXT) $(APPDIR)$(DELIM)libapps$(LIBEXT): context - $(Q) $(MAKE) -C $(APPDIR) TOPDIR="$(TOPDIR)" libapps$(LIBEXT) KERNEL=n + $(Q) $(MAKE)...
Build "pe" module with "imphash" function if MacOSX Common Crypto API is present.
@@ -1572,7 +1572,9 @@ define_function(exports_ordinal) return_integer(0); } -#if defined(HAVE_LIBCRYPTO) || defined(HAVE_WINCRYPT_H) +#if defined(HAVE_LIBCRYPTO) || \ + defined(HAVE_WINCRYPT_H) || \ + defined(HAVE_COMMONCRYPTO_COMMONCRYPTO_H) // // Generate an import hash: @@ -2206,7 +2208,9 @@ begin_declarations; decl...
tools: fix klockstat when DEBUG_LOCK_ALLOC is set When DEBUG_LOCK_ALLOC is set, mutex_lock is changed to mutex_lock_nested, which means that attaching the kprobe statically to mutex_lock won't work for all kernel configurations. This change detects the available kprobe functions exposed by the kernel and ensures that t...
@@ -367,8 +367,29 @@ KFUNC_PROBE(mutex_lock, void *lock) """ +program_kfunc_nested = """ +KFUNC_PROBE(mutex_unlock, void *lock) +{ + return do_mutex_unlock_enter(); +} + +KRETFUNC_PROBE(mutex_lock_nested, void *lock, int ret) +{ + return do_mutex_lock_return(); +} + +KFUNC_PROBE(mutex_lock_nested, void *lock) +{ + retu...
Add option to build sample plugin in top-level makefile
@@ -16,6 +16,7 @@ export BR=$(WS_ROOT)/build-root CCACHE_DIR?=$(BR)/.ccache GDB?=gdb PLATFORM?=vpp +SAMPLE_PLUGIN?=no MINIMAL_STARTUP_CONF="unix { interactive }" @@ -82,6 +83,12 @@ CONFIRM=-y FORCE=--force-yes endif +TARGETS = vpp + +ifneq ($(SAMPLE_PLUGIN),no) +TARGETS += sample-plugin +endif + .PHONY: help bootstrap ...
Shell: prefix all lines with '#'
@@ -106,6 +106,7 @@ shell_output_lladdr(shell_output_func output, const linkaddr_t *lladdr) static void output_prompt(shell_output_func output) { + SHELL_OUTPUT(output, "#"); shell_output_lladdr(output, &linkaddr_node_addr); SHELL_OUTPUT(output, "> "); }
ChangeLog entry for allow-query: option
+29 March 2021: Willem + - Per zone Access Control List for queries + with an allow-query: option. + 24 March 2021: Wouter - Update acx_nlnetlabs.m4 to version 38, fix deprecation test. - Fix configure to use header checks with compile.
fix map hitsound samplekey out of range
@@ -54,7 +54,7 @@ def getfilename(timing, soundinfo, sampleset, hitsound, hitsoundset, objtype): else: samplekey = timing["SampleSet"] - # samplekey = str(int(samplekey) % len(sampleset)) # in case out of range + samplekey = str(int(samplekey) % len(sampleset)) # in case out of range sample_name = sampleset[samplekey] ...
Fix CC id computation ddg_compute_cc
@@ -690,7 +690,8 @@ PlutoConstraints *get_linear_ind_constraints(const PlutoProg *prog, /* Get orthogonality constraints for each statement */ for (j = 0; j < nstmts; j++) { - orthcst[j] = get_stmt_lin_ind_constraints(stmts[j], prog, cst, &orthonum[j]); + orthcst[j] = + get_stmt_lin_ind_constraints(stmts[j], prog, cst,...
File manager offsets files from the initrd base
@@ -160,7 +160,7 @@ static void _parse_initrd(fs_base_node_t* initrd_root, amc_initrd_info_t* initrd initrd_fs_node_t* fs_node = (initrd_fs_node_t*)fs_node_create__file(initrd_root, file_header->name, strlen(file_header->name)); fs_node->type = FS_NODE_TYPE_INITRD; - fs_node->initrd_offset = file_header->offset; + fs_n...
Add note about LV_INDEV_DRAG_THROW to lv_conf_templ.h
#define LV_INDEV_READ_PERIOD 50 /*Input device read period in milliseconds*/ #define LV_INDEV_POINT_MARKER 0 /*Mark the pressed points (required: USE_LV_REAL_DRAW = 1)*/ #define LV_INDEV_DRAG_LIMIT 10 /*Drag threshold in pixels */ -#define LV_INDEV_DRAG_THROW 20 /*Drag throw slow-down in [%]. Greater value means faster...
style edits to index
Documentation for mpiFileUtils ============================== -**Overview** +Overview ************* mpiFileUtils provides both a library called libmfu and a suite of MPI-based @@ -20,7 +20,7 @@ jobs like copy, remove, and compare for such datasets, providing speedups of up to 50x. It also provides a library that simpli...
Clear alpn_selected_len for clients, too Zero out the length alongside the NULLing of the pointer, to bring parity between the selected and proposed fields..
@@ -875,8 +875,8 @@ static int init_alpn(SSL *s, unsigned int context) { OPENSSL_free(s->s3->alpn_selected); s->s3->alpn_selected = NULL; - if (s->server) { s->s3->alpn_selected_len = 0; + if (s->server) { OPENSSL_free(s->s3->alpn_proposed); s->s3->alpn_proposed = NULL; s->s3->alpn_proposed_len = 0;
bindings: bug fix for rust waitgroups
@@ -11,6 +11,7 @@ use std::cell::UnsafeCell; use std::ffi::CString; use std::mem; use std::os::raw::{c_int, c_void}; +use std::sync::Arc; use std::sync::atomic::{AtomicI32, Ordering}; use std::time::Duration; @@ -73,19 +74,19 @@ where } pub struct WaitGroup { - inner: ffi::waitgroup, + inner: Arc<UnsafeCell<ffi::waitgr...
Added clang compile support on windows
#include <Windows.h> #define VK_USE_PLATFORM_WIN32_KHR +#else // #ifdef _WIN32 + +#include <vulkan/vulkan.h> + +#endif // #ifdef _WIN32 + +#ifdef _MSVC_LANG + // Uncomment to test including `vulkan.h` on your own before including VMA. //#include <vulkan/vulkan.h> @@ -62,24 +70,24 @@ include all public interface declara...
docker: updated fedora dockerfile with flex/bison. Dockerfile now installs flex and bison.
@@ -2,6 +2,7 @@ FROM fedora:32 RUN dnf upgrade -y && dnf install -y \ augeas-devel \ + bison \ boost-devel \ cmake \ curl \ @@ -9,6 +10,7 @@ RUN dnf upgrade -y && dnf install -y \ diffutils \ file \ findutils \ + flex \ gcc-c++ \ git \ glib2 \
Add doc for buildkit log limit.
@@ -71,6 +71,12 @@ sub_rebuild() { # Build MetaCall Docker Compose with Sanitizer for testing (link manually dockerignore files) sub_test() { + + # In order to get rid of the log limit: + # [output clipped, log limit 1MiB reached] + # Use this command: + # docker buildx create --use --name larger_log --driver-opt env.B...
[Kernel] Fix the SPINLOCK definitions issue.
@@ -154,9 +154,9 @@ extern rt_hw_spinlock_t _rt_critical_lock; #define __RT_HW_SPIN_LOCK_INITIALIZER(lockname) {0} #define __RT_HW_SPIN_LOCK_UNLOCKED(lockname) \ - (struct rt_hw_spinlock ) __RT_HW_SPIN_LOCK_INITIALIZER(lockname) + (rt_hw_spinlock_t) __RT_HW_SPIN_LOCK_INITIALIZER(lockname) -#define RT_DEFINE_SPINLOCK(x)...
vppinfra: AVX512 interelaave, insert and permute
@@ -57,6 +57,14 @@ t##s##x##c##_is_all_equal (t##s##x##c v, t##s x) \ static_always_inline u##c \ t##s##x##c##_is_zero_mask (t##s##x##c v) \ { return _mm512_test_##i##_mask ((__m512i) v, (__m512i) v); } \ +\ +static_always_inline t##s##x##c \ +t##s##x##c##_interleave_lo (t##s##x##c a, t##s##x##c b) \ +{ return (t##s##x...
extmod/modhubs: add PrimeHub class [skip ci]
@@ -180,6 +180,50 @@ STATIC const mp_obj_type_t hubs_CPlusHub_type = { #endif // PYBRICKS_HUB_CPLUSHUB +#ifdef PBDRV_CONFIG_HUB_PRIMEHUB + +// Class structure for PrimeHub +typedef struct _hubs_PrimeHub_obj_t { + mp_obj_base_t base; + mp_obj_t light; +} hubs_PrimeHub_obj_t; + +STATIC void hubs_PrimeHub_print(const mp_p...
CLEANUP: add map description on README
@@ -19,6 +19,7 @@ data structures. * **List** - a doubly-linked list structure. * **Set** - an unordered set of unique data. +* **Map** - an unordered set of \<field, value\>. * **B+tree** - a b+tree structure, conceptually similar to sorted map. Second, Arcus can operate as a cache cloud using Zookeeper.
Make PhGetStockApplicationIcon DPI aware
@@ -967,9 +967,25 @@ VOID PhGetStockApplicationIcon( _Out_opt_ HICON *LargeIcon ) { - static PH_INITONCE initOnce = PH_INITONCE_INIT; static HICON smallIcon = NULL; static HICON largeIcon = NULL; + static LONG systemDpi = 0; + + if (systemDpi != PhSystemDpi) + { + if (smallIcon) + { + DestroyIcon(smallIcon); + smallIco...
Update resource header.
@@ -2268,7 +2268,7 @@ static const char * const style_css = " font-size: 16px;\n" " margin: 0;\n" "}\n" -"code, kbd, pre, tt, input[type=email], input[type=number], input[type=password], input[type=text], textarea {\n" +"code, kbd, pre, tt, input[type=email], input[type=number], input[type=password], input[type=tel], i...
cups-browsed.c: Fix leakage of IPP response The IPP response needs to be freed before possible breaking from a loop.
@@ -6410,13 +6410,14 @@ on_job_state (CupsNotifier *object, } break; } + + ippDelete(response); + response = NULL; + if (pstate == IPP_PRINTER_IDLE && paccept) { q->last_printer = i; break; } - - ippDelete(response); - response = NULL; } else debug_printf("IPP request to %s:%d failed.\n", p->host, p->port);
BugID:18356074:Rm not used bt_controller
@@ -14,8 +14,6 @@ $(NAME)_COMPONENTS += $(HOST_MCU_FAMILY) osal init GLOBAL_INCLUDES += . -bt_controller := 1 - GLOBAL_DEFINES += STDIO_UART=0 CONFIG_NO_TCPIP BOARD_PCA10040e CONFIG_GPIO_AS_PINRESET FLOAT_ABI_HARD NRF52810_XXAA CONFIG_SOC_SERIES_NRF52X CONFIG_CLOCK_CONTROL_NRF5_K32SRC_250PPM=y CONFIG_BOARD_NRF52_PCA100...
input: register metrics for dyntag buffers
@@ -611,6 +611,9 @@ static inline void flb_input_dbuf_write_end(struct flb_input_dyntag *dt) { size_t bytes; void *buf; +#ifdef FLB_HAVE_METRICS + int records; +#endif struct flb_input_instance *in = dt->in; /* Get the number of new bytes */ @@ -626,6 +629,14 @@ static inline void flb_input_dbuf_write_end(struct flb_in...