message
stringlengths
6
474
diff
stringlengths
8
5.22k
naive: first full state test
|= =^state:naive ^- [effects:naive ^state:naive] :: ~bud should already be spawned, though trying to init ~bud again shouldn't matter i think? - :: =^ f1 state (init-bud state) + =^ f1 state (init-bud state) =^ f2 state (n state (owner-changed:l1 ~litbud (addr %litbud-key-0))) =^ f3 state (n state (owner-changed:l1 ~li...
Update build.yml removing secret for aws deploy role
@@ -380,7 +380,7 @@ jobs: - name: configure AWS creds uses: aws-actions/configure-aws-credentials@v1 with: - role-to-assume: ${{ secrets.APPSCOPEDEPLOYROLE }} + role-to-assume: arn:aws:iam::165926643534:role/AppScope-Deploy role-session-name: appscope-deploy aws-region: us-west-2 - name: Deploy
shapito: add support for backend sasl packets
@@ -115,6 +115,45 @@ shapito_be_write_authentication_md5(shapito_stream_t *stream, char salt[4]) return 0; } +SHAPITO_API static inline int +shapito_be_write_authentication_sasl(shapito_stream_t *stream, char *method, int method_len) +{ + int rc = shapito_stream_ensure(stream, sizeof(shapito_header_t) + sizeof(uint32_t...
Update Jenkinsfile for Cmake
@@ -32,7 +32,7 @@ pipeline { sh ''' mkdir build_rel cd build_rel - make -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DISA_AVX2=ON -DISA_SSE41=ON -DISA_SSE2=ON .. + cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DISA_AVX2=ON -DISA_SSE41=ON -DISA_SSE2=ON .. make package -j4 ''' } @@ -42,7 +42,7 @@ pipeline { sh...
doc: ksNew, clarify alloc==0
@@ -157,6 +157,9 @@ static void elektraOpmphmCopy (KeySet * dest ELEKTRA_UNUSED, const KeySet * sour * * So, terminate with ksNew(0, KS_END) or ksNew(20, ..., KS_END) * + * @warning Never use ksNew(0, keyNew(...), KS_END). + * If the first parameter is 0, other arguments are ignored. + * * For most uses * * @snippet ks...
pp: remove superfluous newline character Messages generated using the CPRINTS macro include a newline in the end by design, no need to explicitly include it in the message. BRANCH=cr50 TEST=verified that the message is printed without the extra newline
@@ -134,7 +134,7 @@ static void physical_detect_check_press(void) mutex_lock(&pp_mutex); - CPRINTS("PP press dt=%.6ld\n", dt); + CPRINTS("PP press dt=%.6ld", dt); /* If we no longer care about presses, ignore them */ if (pp_detect_state != PP_DETECT_IN_PROGRESS)
fixed keyboard input
@@ -1850,10 +1850,44 @@ static void processMouseStates() } } +static void processTextInput() +{ + tic_mem* tic = impl.studio.tic; + tic80_input* input = &tic->ram.input; + + if(!impl.studio.text) + { + static const char Symbols[] = " abcdefghijklmnopqrstuvwxyz0123456789-=[]\\;'`,./ "; + static const char Shift[] = " AB...
esp_flash: decrease some of the performance threshold
#ifndef IDF_PERFORMANCE_MIN_FLASH_SPEED_BYTE_PER_SEC_LEGACY_RD_2KB #define IDF_PERFORMANCE_MIN_FLASH_SPEED_BYTE_PER_SEC_LEGACY_RD_2KB (7088*1000) #endif +//This value is usually around 44K, but there are some chips with such low performance.... #ifndef IDF_PERFORMANCE_MIN_FLASH_SPEED_BYTE_PER_SEC_LEGACY_ERASE -#define ...
Fix issue stopping sidebar inputs losing focus if clicking current scene
@@ -57,8 +57,6 @@ class SceneCursor extends Component { removeTriggerAt } = this.props; - e.stopPropagation(); - e.preventDefault(); if (tool === "actors") { addActor(sceneId, x, y, prefab);
[cmake] ensure previous fix only affects Debian by specifying dist-packages
@@ -69,7 +69,7 @@ function(set_python_install_path) # note: the '.replace()' is to work around the following Debian/Ubuntu bug: # https://bugs.launchpad.net/ubuntu/+source/python3-defaults/+bug/1408092 set(GET_SITE_PACKAGE - "from distutils.sysconfig import get_python_lib; print(get_python_lib().replace('/python3/','/p...
Remove MaxPermSize See ucb-bar#1079. This option ceased doing things after Java 8 (released in 2014), and openJDK considers having it included an error. This commit is a redo of a previous one.
@@ -160,7 +160,7 @@ sim_common_files ?= $(build_dir)/sim_files.common.f # java arguments used in sbt ######################################################################################### JAVA_HEAP_SIZE ?= 8G -export JAVA_TOOL_OPTIONS ?= -Xmx$(JAVA_HEAP_SIZE) -Xss8M -XX:MaxPermSize=256M -Djava.io.tmpdir=$(base_dir)/...
Fix gd32f4xx_syscfg.c:137:5: error: variable 'regaddr' is used uninitialized whenever switch default is taken [-Werror,-Wsometimes-uninitialized]
@@ -107,7 +107,7 @@ void gd32_syscfg_exmc_swap_config(uint32_t syscfg_exmc_swap) void gd32_syscfg_exti_line_config(uint8_t exti_port, uint8_t exti_pin) { uint32_t regval; - uint32_t regaddr; + uint32_t regaddr = 0; switch (exti_pin / SYSCFG_EXTI_SS_JSTEP) { @@ -135,6 +135,7 @@ void gd32_syscfg_exti_line_config(uint8_t ...
zephyr/shim/src/console.c: Format with clang-format BRANCH=none TEST=none
@@ -153,8 +153,8 @@ static void shell_init_from_work(struct k_work *work) #endif /* Initialize the shell and re-enable both RX and TX */ - shell_init(shell_zephyr, uart_shell_dev, - shell_cfg_flags, log_backend, level); + shell_init(shell_zephyr, uart_shell_dev, shell_cfg_flags, log_backend, + level); /* * shell_init()...
nimble/ll: Fix parsing aux_ptr With this patch we make sure that when parsing aux ptr we store advertiser and target address.
@@ -1640,6 +1640,7 @@ ble_ll_scan_get_aux_data(struct ble_ll_scan_sm *scansm, uint8_t has_adi = 0; int i; struct ble_ll_aux_data tmp_aux_data = { 0 }; + int rc; pdu_len = rxbuf[1]; if (pdu_len == 0) { @@ -1706,6 +1707,7 @@ ble_ll_scan_get_aux_data(struct ble_ll_scan_sm *scansm, (*aux_data)->flags |= BLE_LL_AUX_CHAIN_BI...
Bump version for 13.0-5 dev.
@@ -19,7 +19,7 @@ ROCM_VERSION=${ROCM_VERSION:-4.0.0} # Set the AOMP VERSION STRING and AOMP_PROJECT_REPO_BRANCH. AOMP_VERSION=${AOMP_VERSION:-"13.0"} -AOMP_VERSION_MOD=${AOMP_VERSION_MOD:-"4"} +AOMP_VERSION_MOD=${AOMP_VERSION_MOD:-"5"} AOMP_VERSION_STRING=${AOMP_VERSION_STRING:-"$AOMP_VERSION-$AOMP_VERSION_MOD"} expor...
Build with msvc and mingw for 32 and 64 bit.
@@ -6,13 +6,35 @@ branches: - build_linux_64 - build_osx_64 +environment: + matrix: + - COMPILER: mingw + GENERATOR: MinGW Makefiles + PLATFORM: Win32 + + - COMPILER: mingw-w64 + GENERATOR: MinGW Makefiles + PLATFORM: x64 + + - COMPILER: msvc + GENERATOR: Visual Studio 15 2017 + APPVEYOR_BUILD_WORKER_IMAGE: Visual Stud...
Fix uninitialized member.
@@ -106,7 +106,8 @@ public: , Files(outputOptions, fileNamesPrefix) , RootEnvironment(nullptr) , SharedTrainData(nullptr) - , Profile((int)Params.BoostingOptions->IterationCount) { + , Profile((int)Params.BoostingOptions->IterationCount) + , UseTreeLevelCachingFlag(false) { LearnProgress.SerializedTrainParams = ToStrin...
Modify Makefile for aomp_hip_launch_test to run for aomp 12 or 13
@@ -59,7 +59,9 @@ CC=$(AOMP)/bin/clang $(TESTNAME).exe: $(TESTNAME).$(FILETYPE) $(CC) $(OMP_TARGET_FLAGS) test_omp.c -o test_omp.exe test -f test_omp-host-x86_64-unknown-linux-gnu.o - test -f a.out-openmp-amdgcn-amd-amdhsa + test -f a.out-openmp-amdgcn-amd-amdhsa && \ + cp a.out-openmp-amdgcn-amd-amdhsa a.out-openmp-am...
Fix Error: audio/cs43l22.c:356:24: error: unused function 'cs43l22_scalevolume' [-Werror,-Wunused-function]
@@ -63,7 +63,6 @@ static void cs43l22_writereg(FAR struct cs43l22_dev_s *priv, uint8_t regaddr, uint8_t regval); #ifndef CONFIG_AUDIO_EXCLUDE_VOLUME -static inline uint16_t cs43l22_scalevolume(uint16_t volume, b16_t scale); static void cs43l22_setvolume(FAR struct cs43l22_dev_s *priv, uint16_t volume, bool mute); #endi...
Remove personal debugging spew from CMakeLists.txt
@@ -229,7 +229,6 @@ if (BUILD_PACKAGE) include(tools/MakeRpm.cmake) endif() if (${CMAKE_PACKAGE_TYPE} STREQUAL "tgz") - message("Building tgz package") # TODO: [MG] - fix path... should we simply use /usr/local/lib without CPU? # TODO: [MG] - Windows path is not ideal -- C:/Program Files (x86)/MSTelemetry/* - what shou...
touch: add protection for touch sleep case
@@ -1977,6 +1977,10 @@ static void test_deep_sleep_init(void) TEST_CASE("Touch Sensor sleep pad wakeup deep sleep test", "[touch][ignore]") { +//TODO: IDF-4813 +#if TEMPORARY_DISABLED_FOR_TARGETS(ESP32S2, ESP32S3) + abort(); +#endif //TEMPORARY_DISABLED_FOR_TARGETS(..) test_deep_sleep_init(); /* Change the work duty of...
build: bump to v0.12.4
@@ -22,7 +22,7 @@ set(CMAKE_ARCHIVE_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/library") # Fluent Bit Version set(FLB_VERSION_MAJOR 0) set(FLB_VERSION_MINOR 12) -set(FLB_VERSION_PATCH 3) +set(FLB_VERSION_PATCH 4) set(FLB_VERSION_STR "${FLB_VERSION_MAJOR}.${FLB_VERSION_MINOR}.${FLB_VERSION_PATCH}") # Build Options
jenkinsfile: fix ubuntu focal image not used
@@ -78,7 +78,7 @@ def dockerInit() { "./scripts/docker/debian/buster/Dockerfile" ) - DOCKER_IMAGES.focalbui = createDockerImageDesc( + DOCKER_IMAGES.focal = createDockerImageDesc( "ubuntu-focal", this.&idTesting, "./scripts/docker/ubuntu/focal", "./scripts/docker/ubuntu/focal/Dockerfile" @@ -107,7 +107,7 @@ def dockerI...
Update script to download gcc arm toolchain from private repo
-# This PS installs the ARM GNU GCC toolchain if it't not already available +# This PS installs the ARM GNU GCC toolchain from out Bintray repository if it's not already available # check if path already exists $GnuGccPathExists = Test-Path $env:GNU_GCC_TOOLCHAIN_PATH -ErrorAction SilentlyContinue If($GnuGccPathExists ...
examples/pca9635: change O_RDONLY to O_WRONLY for driver open call PCA9635 driver does not support neither need nor write operations. The ioctl is supports PWMIOC_SETLED_BRIGHTNESS that is write like
@@ -59,7 +59,7 @@ int main(int argc, FAR char *argv[]) int fd; int ret; - fd = open(CONFIG_EXAMPLES_PCA9635_DEVNAME, O_RDONLY); + fd = open(CONFIG_EXAMPLES_PCA9635_DEVNAME, O_WRONLY); if (fd < 0) { fprintf(stderr, "ERROR: Failed to open %s: %d\n",
Fix deep in game crash when using RegisterInputListener from an observer
#include "FunctionOverride.h" #include "Scripting.h" +#include <reverse/StrongReference.h> static FunctionOverride* s_pOverride = nullptr; @@ -35,13 +36,13 @@ bool FunctionOverride::HookRunPureScriptFunction(RED4ext::CClassFunction* apFunc auto state = itor->second.pScripting->GetState(); - if (apContext->context18) + ...
add delay between gate_0/level and mult_0/B in pulsed_nmr/tx.tcl
@@ -95,6 +95,16 @@ cell xilinx.com:ip:dds_compiler dds_0 { aresetn slice_1/dout } +# Create c_shift_ram +cell xilinx.com:ip:c_shift_ram delay_0 { + WIDTH.VALUE_SRC USER + WIDTH 16 + DEPTH 11 +} { + D gate_0/level + CLK /pll_0/clk_out1 +} + # Create axis_lfsr cell pavel-demin:user:axis_lfsr lfsr_0 {} { aclk /pll_0/clk_o...
Do not abuse the global ARCH variable as a local temporary Setting it with a simple "uname -m" just to be able to decide whether to compile getarch.c with -march=native may actually keep getarch from doing a proper probe. Fixes a regression caused by
@@ -9,9 +9,11 @@ ifndef TOPDIR TOPDIR = . endif -# If ARCH is not set, we use the host system's architecture. +# If ARCH is not set, we use the host system's architecture for getarch compile options. ifndef ARCH -ARCH := $(shell uname -m) +HOSTARCH := $(shell uname -m) +else +HOSTARCH = $(ARCH) endif # Catch conflictin...
test-suite: bump singularity test to v2.4.4
@@ -30,7 +30,7 @@ echo "-------------------------------------------------------" if [ "x$DISTRO_FAMILY" == "xCentOS" -o "x$DISTRO_FAMILY" == "xRHEL" ];then export DISTRO=centos - export BOOTSTRAP_DEF=/opt/ohpc/pub/doc/contrib/singularity-ohpc-2.4.3/examples/${DISTRO}/Singularity + export BOOTSTRAP_DEF=/opt/ohpc/pub/doc...
publish: add responsive width for new post button
@@ -112,7 +112,7 @@ export class NewPost extends Component { popout={props.popout} /> <button - className={"bg-transparent v-mid w-100 mw6 tl h1 pl4"} + className={"bg-transparent v-mid w-100 w-90-l w-80-m mw6 tl h1 pl4"} disabled={(!state.submit && state.disabled) || (state.awaiting !== null)} style={submitStyle} onCl...
nissa: Fix init priority of base orientation check The FW_CONFIG bits are not available until after the I2C bus is initialised, so ensure that the base orientation check is done after that. TEST=zmake build nivviks BRANCH=none
*/ #include <devicetree.h> -#include <init.h> #include <logging/log.h> #include "accelgyro.h" @@ -23,7 +22,7 @@ LOG_MODULE_DECLARE(nissa, CONFIG_NISSA_LOG_LEVEL); #define ALT_MAT SENSOR_ROT_STD_REF_NAME(DT_NODELABEL(base_rot_inverted)) #define BASE_SENSOR SENSOR_ID(DT_NODELABEL(base_accel)) -static int form_factor_init...
Fixed bug with alias tests that caused one to three extra tests to be run
-- local suite = test.declare("premake_alias") + local m = {} local p = premake function suite.setup() - suite.testfunc = function() + m.testfunc = function() return 48 end - suite.aliased = nil - suite.aliased2 = nil + m.aliased = nil + m.aliased2 = nil end function suite.returnsOriginalFunction_onNoAlias() - local sc...
Add a fuzzer run
@@ -77,4 +77,6 @@ matrix: - make all - make check - sudo make check-as-root - + - ASAN_OPTIONS=detect_leaks=0 ./h2o-fuzzer-http1 -runs=1 -max_len=$((16 * 1024 )) fuzz/http1-corpus + - ASAN_OPTIONS=detect_leaks=0 ./h2o-fuzzer-http2 -runs=1 -max_len=$((16 * 1024 )) fuzz/http2-corpus + - ASAN_OPTIONS=detect_leaks=0 ./h2o-...
get_image_path(): fix typo in path1.. This: /usr/local/share/gftpdoc.xpm Becomes: /usr/local/share/gftp/doc.xpm
@@ -989,7 +989,7 @@ get_image_path (char *filename) { char *path1 = NULL, *path2 = NULL, *found = NULL; // see lib/misc.c -> gftp_get_share_dir () - path1 = g_strconcat (gftp_get_share_dir (), filename, NULL); + path1 = g_strconcat (gftp_get_share_dir (), "/", filename, NULL); if (access (path1, F_OK) == 0) { found = p...
options/internal: Fix off-by-one in strtofp and simplify
@@ -17,36 +17,32 @@ T strtofp(const char *str, char **endptr) { T result = static_cast<T>(0); - const char *dot = strchr(str, '.'); - const char *end = str + strlen(str) - 1; - const char *dot_end = dot ?: (end + 1); const char *tmp = str; - while (tmp < dot_end) { + while (true) { if (!isdigit(*tmp)) - goto ret; + bre...
filter_kubernetes: fix invalid map size for unstructured message when merge_log_key is enabled and an unstructured message was packed, it generate a map of an invalid size. This patch fix the map size.
@@ -243,7 +243,7 @@ static int pack_map_content(msgpack_packer *pck, msgpack_sbuffer *sbuf, } /* Start packaging the final map */ - if (ctx->merge_log_key != NULL) { + if (merge_status == MERGE_PARSED && ctx->merge_log_key != NULL) { /* Make room for one new key that will hold the original log entries */ new_map_size++...
shoe: print tab options less eagerly Turns out that having these pop up on every tab-press is really annoying, and you usually only want them when it didn't manage to autocomplete anything.
[%det clear] == :: - ::NOTE cargo-culted ++ tab |= pos=@ud ^- (quip card _cli-state) %+ add pos (met 3 (fall forward '')) =| cards=(list card) - =? cards ?=(^ options) + :: only render the option list if we couldn't complete anything + :: + =? cards &(?=(~ to-send) ?=(^ options)) [(effect %tab options) cards] |- ^- (qu...
interface: comment item renders properly
@@ -31,6 +31,8 @@ export const CommentItem = (props) => { </Text> <Text gray ml={2}>{timeSent}</Text> </Row> + </Row> + <Row> <Text display="block" py={3} fontSize={1}> <RichText remoteContentPolicy={props.remoteContentPolicy}> {content}
version 1.11.7
+2019-09-26 [version 1.11.7] + * [FEATURE] Added scrub_count config command. + * [FEATURE] Reflect immediately the changed scrub_count while scrubbing. + * [ENHANCE] New scrub execution to reduce CPU usage and cache lock duration. + * [ENHANCE] Consider the number of collection elements when do scan next. + * [ENHANCE]...
sds: fix buffer reallocation
@@ -89,7 +89,7 @@ flb_sds_t flb_sds_increase(flb_sds_t s, size_t len) { size_t avail; size_t new_size; - struct flb_sds *cur; + struct flb_sds *head; void *tmp; avail = flb_sds_avail(s); @@ -97,17 +97,17 @@ flb_sds_t flb_sds_increase(flb_sds_t s, size_t len) return s; } - new_size = (FLB_SDS_HEADER_SIZE + flb_sds_len(s...
add clang-8 to ansible
@@ -7,6 +7,7 @@ clang_target_version: "7.1.0" shellcheck_target_version: "0.4.6" cmake_prefix: "/usr/local" +#TODO: Flip to Clang-8 after https://github.com/openenclave/openenclave/pull/3574 is merged clang_binary_name: "clang-7" apt_packages: @@ -32,6 +33,8 @@ apt_packages: - "libcurl4-openssl-dev" - "libx11-dev" - "l...
debug_console.py: exit when no pandas found
@@ -21,6 +21,9 @@ if __name__ == "__main__": pandas = list(map(lambda x: Panda(x, claim=claim), serials)) + if not len(pandas): + sys.exit("no pandas found") + if os.getenv("BAUD") is not None: for panda in pandas: panda.set_uart_baud(port_number, int(os.getenv("BAUD")))
More robust initialization of baro ewma for ROC calc.
@@ -117,7 +117,7 @@ func tempAndPressureSender() { mySituation.Temp = temp altitude = CalcAltitude(press) mySituation.Pressure_alt = altitude - if altLast == -9999 { + if altLast < -2000 { altLast = altitude // Initialize } // Assuming timer is reasonably accurate, use a regular ewma @@ -278,7 +278,7 @@ func sensorAtti...
fix links and formatting
@@ -11,7 +11,7 @@ the following operators: * ``*`` at the end of a term signifies a prefix query * ``(`` and ``)`` signify precedence * ``~N`` after a word signifies - `edit distance <https://en.wikipedia.org/wiki/Levenshtein_distance`_ (fuzziness) + `edit distance <https://en.wikipedia.org/wiki/Levenshtein_distance>`_...
examples/math/matmul: Fix host program output formatting
@@ -253,11 +253,11 @@ int main(int argc, char *argv[]) printf( "Epiphany(time) %9.1f msec (@ %03d MHz)\n", tdiff[0], eMHz); printf( "Host(time) %9.1f msec (@ %03d MHz)\n", tdiff[1], aMHz); printf( "------------------------------------------------------------\n"); - printf( "TEST \"matmul-16\" PASSED\n"); + printf( "TES...
Update: Memory.c: print code logic simplified and improved, no need to print selections on volume=0
@@ -231,7 +231,7 @@ bool Memory_addCyclingEvent(Event *e, double priority, long currentTime, int lay static void Memory_printAddedKnowledge(Term *term, char type, Truth *truth, long occurrenceTime, double occurrenceTimeOffset, double priority, bool input, bool derived, bool revised, bool controlInfo, bool selected) { -...
Don't enable battery_icon with full
@@ -524,6 +524,7 @@ parse_overlay_env(struct overlay_params *params, params->enabled[OVERLAY_PARAM_ENABLED_force_amdgpu_hwmon] = 0; params->enabled[OVERLAY_PARAM_ENABLED_fps_color_change] = 0; params->enabled[OVERLAY_PARAM_ENABLED_core_load_change] = 0; + params->enabled[OVERLAY_PARAM_ENABLED_battery_icon] = 0; params-...
Set JANET_DIST_DIR before making artifact
@@ -23,7 +23,7 @@ jobs: - name: Compile the project run: make clean && make - name: Build the artifact - run: make build/janet-${{ env.version }}-${{ env.platform }}-x64.tar.gz + run: JANET_DIST_DIR=janet-${{ env.version }}-${{ env.platform }} make build/janet-${{ env.version }}-${{ env.platform }}-x64.tar.gz - name: D...
chat-store: factored out functions used in both message and messages
=/ mailbox=(unit mailbox) (~(get by inbox) path.act) ?~ mailbox [~ this] - =* letter letter.envelope.act - =? letter &(?=(%code -.letter) ?=(~ output.letter)) - =/ =hoon (ream expression.letter) - letter(output (eval bol hoon)) - =: length.config.u.mailbox +(length.config.u.mailbox) - number.envelope.act +(length.confi...
fix: remove set_presence
@@ -66,21 +66,6 @@ load_embed_from_json(char filename[]) return new_embed; } -void -set_presence(client *client) -{ - using namespace websockets::identify::status_update; - - activity::dati *activity = activity::alloc_dati(); - - strcpy(activity->name, "Orka"); - activity->type = activity::types::GAME; - - change_prese...
circular_buffer: block multi* fully
#include "drv_interrupt.h" uint32_t circular_buffer_free(circular_buffer_t *c) { - ATOMIC_BLOCK(MAX_PRIORITY) { + ATOMIC_BLOCK_ALL { if (c->head >= c->tail) { return (c->size - c->head) + c->tail; } @@ -13,7 +13,7 @@ uint32_t circular_buffer_free(circular_buffer_t *c) { } uint8_t circular_buffer_write(circular_buffer_t...
Have PRCI control registers be clocked by the bus they hang off of This was technically correct before if the CBUS clock was the implicit clock. but this change makes it correct when that is not the case
@@ -72,8 +72,8 @@ trait HasChipyardPRCI { this: BaseSubsystem with InstantiatesTiles => := ClockGroupFrequencySpecifier(p(ClockFrequencyAssignersKey), p(DefaultClockFrequencyKey)) := ClockGroupCombiner() := ClockGroupResetSynchronizer() - := TileClockGater(prciParams.baseAddress + 0x00000, tlbus, prciParams.enableTileC...
tune deploy dir [ci skip]
@@ -56,7 +56,7 @@ env: global: - ANDROID_NDK_HOME=$HOME/android-ndk-r12b - BUILD_ARTEFACTS_DIR=$HOME/build_artefacts - - S3_JOB_DIR="$TRAVIS_BUILD_NUMBER"_"$TRAVIS_COMMIT"/"$TRAVIS_JOB_NUMBER"_"$TRAVIS_OS_NAME" + - S3_JOB_DIR="$TRAVIS_COMMIT"/travis-"$TRAVIS_JOB_NUMBER"_"$TRAVIS_OS_NAME" - S3_DEPLOY_DIR="$TRAVIS_REPO_S...
Support Writting mainmenu text competible with C tools.
@@ -1145,6 +1145,13 @@ class Kconfig(object): with self._open(filename, "w") as f: f.write(header) + # written mainmenu_text + # The prompt (title) of the top_node menu, with Kconfig variable references + # ("$FOO") expanded. Defaults to "Linux Kernel Configuration" (like in the + # C tools). Can be changed with the 'm...
Add missing function to the sensniff MAC
@@ -69,12 +69,19 @@ init(void) on(); } /*---------------------------------------------------------------------------*/ +static int +max_payload(void) +{ + return 0; +} +/*---------------------------------------------------------------------------*/ const struct mac_driver sensniff_mac_driver = { "sensniff-rdc", init, s...
clean up reception
@@ -28,6 +28,7 @@ uint16_t data_count = 0; uint16_t data_size = 0; uint16_t crc_val = 0; msg_t *current_msg; + /******************************************************************************* * Function ******************************************************************************/ @@ -50,7 +51,7 @@ void Recep_Init(voi...
SOVERSION bump to version 6.4.12
@@ -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 4) -set(SYSREPO_MICRO_SOVERSION 11) +set(SYSREPO_MICRO_S...
devices: fix crash on invalid interface Type: fix A simple "create host-interface name xxx" is enough to trigger the bug: The interface is not found, and we goto error with apif=NULL
@@ -679,8 +679,11 @@ error: fd2 = -1; } vec_free (host_if_name_dup); + if (apif) + { memset (apif, 0, sizeof (*apif)); pool_put (apm->interfaces, apif); + } return ret; }
py/bitbox02: fix check sd card
@@ -338,7 +338,7 @@ class BitBox02(BitBoxCommonAPI): def check_sdcard(self) -> bool: # pylint: disable=no-member request = hww.Request() - request.check_sdcard.CopyFrom(backup.CheckSDCardRequest()) + request.check_sdcard.CopyFrom(bitbox02_system.CheckSDCardRequest()) response = self._msg_query(request, expected_respons...
Rename: Use fences for code blocks
@@ -75,6 +75,7 @@ The cut operation takes as its only configuration parameter the key name part to different ways. First, the global configuration key `cut` can be used. Second, keys to be stripped can be tagged with the MetaKey `rename/cut`. If both options are given, the MetaKey takes precedence. For example, conside...
Use of token validates client address
@@ -878,6 +878,11 @@ int ngtcp2_conn_server_new(ngtcp2_conn **pconn, const ngtcp2_cid *dcid, params->active_connection_id_limit = 0; } + if ((*pconn)->local.settings.token.len) { + /* Usage of token lifts amplification limit */ + (*pconn)->flags |= NGTCP2_CONN_FLAG_SADDR_VERIFIED; + } + return 0; }
dpdk:fix mbuf index typo's
@@ -255,7 +255,7 @@ dpdk_mbufs_to_buffer_indices (vlib_main_t * vm, struct rte_mbuf **mb, bi[2] = vlib_get_buffer_index (vm, vlib_buffer_from_rte_mbuf (mb[2])); bi[3] = vlib_get_buffer_index (vm, vlib_buffer_from_rte_mbuf (mb[3])); bi[4] = vlib_get_buffer_index (vm, vlib_buffer_from_rte_mbuf (mb[4])); - bi[5] = vlib_ge...
Utility: Use `strncpy` instead of `stpncpy` Before this change Elektra would not compile on MinGW, since `stpncpy` is not part of the ISO C standard. This commit fixes
@@ -159,8 +159,12 @@ char * elektraReplace (char const * const text, char const * const pattern, char char * destination = result; while ((current = strstr (current, pattern)) != NULL) { - destination = stpncpy (destination, before, current - before); //! OCLint (False Positive: Constant Conditional OP) - destination =...
tests: Fix heap overflow in coredump-unwind test We've tried to run slightly modified test-coredump-unwind.c built with tcmalloc, and it promptly crashed. Attached patch fixes the heap buffer overflow bug which caused it.
@@ -137,7 +137,7 @@ static void verror_msg_helper(const char *s, if (flags & LOGMODE_STDIO) { fflush(stdout); - used += write(STDERR_FILENO, msg, used + msgeol_len); + write(STDERR_FILENO, msg, used + msgeol_len); } msg[used] = '\0'; /* remove msg_eol (usually "\n") */ if (flags & LOGMODE_SYSLOG)
sync doc header with site
</div> <div class="news-cell"> <div class="well"> - <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.0.0-b1</a> released (Dec 13, 2016) + <h4>Latest News:</h4> <a href="/download">Apache Mynewt 1.3.0</a> released (December 13, 2017) </div> </div> </div>
docs/btshell: Fix name of show-addr command
@@ -48,11 +48,11 @@ For example: set addr_type=public addr=01:02:03:04:05:06 set addr_type=random addr=c1:aa:bb:cc:dd:ee -The address configuration can be viewed with the ``gatt-show-addr`` command, as follows: +The address configuration can be viewed with the ``show-addr`` command, as follows: :: - gatt-show-addr + sh...
vere: restore terminal dimensions measurement
@@ -919,7 +919,7 @@ u3_term_get_blew(c3_l tid_l) c3_l col_l, row_l; struct winsize siz_u; - if ( (c3y == u3_Host.ops_u.tem) && + if ( (c3n == u3_Host.ops_u.tem) && uty_u && (0 == ioctl(uty_u->fid_i, TIOCGWINSZ, &siz_u)) ) { col_l = siz_u.ws_col;
Fix Python autoload syscall name handling
@@ -166,6 +166,13 @@ class BPF(object): "linux/netdevice.h": ["sk_buff", "net_device"] } + _syscall_prefixes = [ + "sys_", + "__x64_sys_", + "__x32_compat_sys_", + "__ia32_compat_sys_", + ] + # BPF timestamps come from the monotonic clock. To be able to filter # and compare them from Python, we need to invoke clock_get...
Add getsockname (net/localname)
@@ -720,7 +720,7 @@ static inline void *sa_aton_(void *dst, size_t lim, const char *src) { } */ -static JanetString janet_name_from_socket(const struct sockaddr_storage *ss, socklen_t slen) { +static JanetString janet_so_getname(const struct sockaddr_storage *ss, socklen_t slen) { uint8_t *hn = NULL; uint16_t hp = 0; s...
Update the quartz config site file for 3.1.
#/usr/workspace/wsa/visit/visit/thirdparty_shared/3.1.0/toss3/cmake/3.9.3/linux-x86_64_gcc-4.9/bin/cmake ## ## ./build_visit3_1_0 generated host.cmake -## created: Tue Nov 12 15:20:15 PST 2019 -## system: Linux quartz188 3.10.0-1062.1.1.1chaos.ch6.x86_64 #1 SMP Wed Sep 4 16:09:20 PDT 2019 x86_64 x86_64 x86_64 GNU/Linux...
Remove temporary QStrings in HTTP output There is no need to convert a QString from an QByteArray, the assignment of `Json::serialize()` becomes a fast move operation. The temporary QString for *Content-Length* was removed (QTextStream `operator<<` supports writing integers).
@@ -17937,22 +17937,22 @@ int DeRestPlugin::handleHttpRequest(const QHttpRequestHeader &hdr, QTcpSocket *s DBG_Printf(DBG_HTTP, "%s unknown request: %s\n", Q_FUNC_INFO, qPrintable(hdr.path())); } - QString str; + QByteArray str; if (!rsp.map.isEmpty()) { rsp.contentType = HttpContentJson; - str.append(Json::serialize(r...
feat: load tsconfig from the root of the project
@@ -79,8 +79,12 @@ class TypeScriptLanguageServiceHost { console.log(message); } - getCompilationSettings() { - // TODO: Make it able to load tsconfig.json files + getCompilationSettings(currentDirectory) { + if (currentDirectory) { + const tsconfig = path.join(currentDirectory, 'tsconfig.json'); + return node_require(...
update rocmanster epsdb skip test
@@ -36,7 +36,7 @@ echo "************************************************************************** skiptests="devices pfspecifier pfspecifier_str target_teams_reduction hip_rocblas tasks reduction_array_section targ_static omp_wtime data_share2 global_allocate complex2 flang_omp_map omp_get_initial slices printf_parall...
examples/button: Clean up confusing parameter passing.
@@ -395,7 +395,6 @@ int main(int argc, FAR char *argv[]) int buttons_main(int argc, FAR char *argv[]) #endif { - FAR char *buttonargv[2]; int ret; printf("buttons_main: Starting the button_daemon\n"); @@ -405,12 +404,9 @@ int buttons_main(int argc, FAR char *argv[]) return EXIT_SUCCESS; } - buttonargv[0] = "button_daem...
add "extern "C" {}" for c++
#include <rtthread.h> #include <rtdevice.h> +#ifdef __cplusplus +extern "C" { +#endif + #ifdef RT_USING_RTC #define rt_sen_get_timestamp() time() /* API for the sensor to get the timestamp */ #else @@ -189,4 +193,9 @@ int rt_hw_sensor_register(rt_sensor_t sensor, const char *name, rt_uint32_t flag, void *data); + +#ifd...
Cleanup of Contributing Readme Section A few minor cleanups for the contributing readme section.
@@ -65,10 +65,9 @@ The source is divided into several directories: # Contributing -For the time being, **external contributions will not be accepted**. We are still -working on setting up internal repository sycnhronization and continuous integration, -and until that happens, this repository will be a simple copy of th...
consider temporal order
@@ -12,7 +12,7 @@ void composition(Concept *B, Concept *A, Event *b) Implication implication = Inference_BeliefInduction(&a, &b); Table_AddAndRevise(&B->precondition_beliefs, &implication); Table_AddAndRevise(&A->postcondition_beliefs, &implication); - Event sequence = Inference_BeliefIntersection(&a, &b); + Event sequ...
groups: fixing hash
:~ title+'Groups' info+'A suite of applications to communicate on Urbit' color+0xee.5432 - glob-http+['https://bootstrap.urbit.org/glob-0v6.v8tfj.52ls5.409gr.rnt3f.090hm.glob' v8tfj.52ls5.409gr.rnt3f.090hm] + glob-http+['https://bootstrap.urbit.org/glob-0v6.v8tfj.52ls5.409gr.rnt3f.090hm.glob' 0v6.v8tfj.52ls5.409gr.rnt3...
bindings: more nits
@@ -37,7 +37,7 @@ void write_once(T &p, const T &val) { // ThreadWaker is used to wake the current thread after it parks. class ThreadWaker { public: - ThreadWaker() : th_(thread_self()) {} + ThreadWaker() : th_(nullptr) {} ~ThreadWaker() { assert(th_ == nullptr); } // disable copy. @@ -52,6 +52,9 @@ class ThreadWaker ...
Add notes about alternative simulators in software README [ci skip]
@@ -8,13 +8,17 @@ compile the program if needed before executing it. - **run**: Execute the program in the emulator. This will pop up a framebuffer window to display output if necessary. -- **verirun**: Execute the program in the verilog simulator. This +- **verirun**: Execute the program in the Verilator verilog simul...
Fix for issue Type.GetInterfaces doesn't return the inherited interfaces Implemented a 2-pass algorithm.
@@ -108,21 +108,29 @@ HRESULT Library_corlib_native_System_RuntimeType::GetInterfaces___SZARRAY_System CLR_RT_TypeDef_Instance td; CLR_RT_HeapBlock& top = stack.PushValueAndClear(); - CLR_RT_HeapBlock* ptr; + CLR_RT_HeapBlock* ptr = NULL; CLR_RT_HeapBlock* hbType = stack.Arg0().Dereference(); + int count = 0; + // 2-pa...
remove dead code appendNewEntriesToHbaFile()
@@ -348,50 +348,6 @@ def parseKeyColonValueLines(str): def sortedDictByKey(di): return [ (k,di[k]) for k in sorted(di.keys())] -def appendNewEntriesToHbaFile(fileName, segments): - """ - Will raise Exception if there is a problem updating the hba file - """ - - try: - # - # Get the list of lines that already exist...we...
data types BUGFIX add missing error message for an internal error
@@ -1957,6 +1957,8 @@ next_instance_toplevel: key = (const struct lyd_node_term*)lyd_search(lyd_node_children(node), mod, src, src_len, LYS_LEAF, NULL, 0); if (!key) { + asprintf(&errmsg, "Internal error - missing expected list's key \"%.*s\" in module \"%s\" (%s:%d).", + (int)src_len, src, mod->name, __FILE__, __LINE_...
Check OCLint: Sort source files alphabetically
@@ -13,14 +13,14 @@ oclint -p "@PROJECT_BINARY_DIR@" -enable-global-analysis -enable-clang-static-an "src/libs/ease/array.c" \ "src/libs/ease/keyname.c" \ "src/libs/utility/text.c" \ - "src/plugins/yanlr/"*.{c,cpp} \ "src/plugins/base64/"*.c \ - "src/plugins/ccode/"*.cpp \ "src/plugins/camel/camel.c" \ + "src/plugins/c...
ci: test idf_build_process defaults set properly
@@ -730,6 +730,20 @@ endmenu\n" >> ${IDF_PATH}/Kconfig test -f build/flasher_args.json && failure "flasher_args.json should not be generated in a loadable ELF build" idf.py build || failure "Couldn't build a loadable ELF file" + print_status "Defaults set properly for unspecified idf_build_process args" + pushd . + cd ...
support | as the key delimiter
@@ -494,18 +494,17 @@ parse_access_path_value( struct access_path_value *av, struct access_path *curr_path) { - // until find a ']' or '\0' char * const start_pos = pos, * const end_pos = pos + size, * next_pos = NULL; - ASSERT_S('(' == *pos, "expecting '('"); + ASSERT_S('(' == *pos || '|' == *pos, "expecting '(' or '|...
[core] use struct kevent on stack in stat_cache This alternative approach attempts to work around error: invalid application of 'sizeof' to incomplete type 'struct kevent' seen in continuous integration (CI) autoconf build on FreeBSD VM
@@ -276,10 +276,10 @@ static void fam_dir_invalidate_node(fam_dir_entry *fam_dir) static void fam_dir_tag_refcnt(splay_tree *t, int *keys, int *ndx) { - if (*ndx == 8192) return; /*(must match num array entries in keys[])*/ + if (*ndx == 512) return; /*(must match num array entries in keys[])*/ if (t->left) fam_dir_tag...
Update docs/kernel-versions.md for xdp/veth
@@ -96,6 +96,7 @@ Generic XDP | 4.12 | [b5cdae3291f7](https://git.kernel.org/cgit/linux/kernel/git Intel `i40e` driver | 4.13 | [0c8493d90b6b](https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?h=0c8493d90b6bb0f5c4fe9217db8f7203f24c0f28) Action: redirect | 4.14 | [6453073987ba](https://git.kerne...
strerror -> strerror_s
@@ -87,17 +87,22 @@ int UpnpInitLog(void) } is_stderr = 0; if (fileName) { + char *err_buff = NULL; #ifdef _WIN32 fopen_s(&fp, fileName, "a"); if (fp == NULL) { + strerror_s(err_buff, 80, errno); #else if ((fp = fopen(fileName, "a")) == NULL) { + err_buff = strerror(errno); #endif fprintf(stderr, "Failed to open fileNa...
libc/baselibc: fix uninitialized fields
@@ -255,6 +255,7 @@ size_t tfp_format(FILE *putp, const char *fmt, va_list va) p.width = 0; p.sign = 0; p.left = 0; + p.uc = 0; lng = 0; /* Flags */ @@ -320,8 +321,8 @@ size_t tfp_format(FILE *putp, const char *fmt, va_list va) break; case 'p': v = va_arg(va, void *); - ui2a((uintptr_t)v, &p); p.base = 16; + ui2a((uint...
Add OBJECT_DEFINE_GET() macro to define object getters. Simple object getters involve a lot of boilerplate code so create a macro to simplify implementing them.
@@ -34,6 +34,27 @@ Create a local "this" variable of the correct type from a THIS_VOID parameter ***********************************************************************************************************************************/ #define THIS(type) type *this = thisVoid +/***********************************************...
Finalize function calls to check_blocking_condition() and set_blocking_action().
@@ -20027,9 +20027,9 @@ void do_attack(entity *e) } // Blocking the attack? - if(check_blocking_conditions()) + if(check_blocking_conditions(self, e, attack))) { - set_blocking_action(entity *ent, entity *other, s_collision_attack *attack); + set_blocking_action(self, e, attack); // We'll need to know if we blocked or ...
[chainmaker] remove useless pointer
@@ -280,7 +280,6 @@ void BoatHlchainmakerTxDeInit(BoatHlchainmakerTx *tx_ptr) __BOATSTATIC BOAT_RESULT BoatHlchainmakerTxRequest(BoatHlchainmakerTx *tx_ptr, Common__TxResponse** tx_reponse) { BOAT_RESULT result = BOAT_SUCCESS; - BoatHlchainmakerResponse *parsePtr = NULL; Common__TxResponse* tx_reponse_ptr = NULL; Http2...
driver/retimer/kb800x.c: Format with clang-format BRANCH=none TEST=none
@@ -79,7 +79,8 @@ static const uint8_t usb_ss_lane_to_eb[] = { [KB800X_TX0] = KB800X_EB4, /* Assign a phy TX to an elastic buffer */ static int kb800x_assign_tx_to_eb(const struct usb_mux *me, - enum kb800x_phy_lane phy_lane, enum kb800x_eb eb) + enum kb800x_phy_lane phy_lane, + enum kb800x_eb eb) { uint8_t field_value...
Whitespace fixes (for generated code) Our C formatter was removing this indentation so I put the expression between a pair of parentheses.
@@ -1004,8 +1004,8 @@ static int crecord_index(lua_State *L) if (PALLENE_UNLIKELY(!ttisfunction(f))) { pallene_runtime_record_index_error(L, svalue(v)); } - void (*getfield)(lua_State *, Udata *, TValue *) = - (void (*)(lua_State *, Udata *, TValue *))fvalue(f); + void (*getfield)(lua_State *, Udata *, TValue *) = ( + ...
nimble/host: Enabled LE Power control event mask if feature is enabled
@@ -250,6 +250,17 @@ ble_hs_startup_le_set_evmask_tx(void) } #endif +#if MYNEWT_VAL(BLE_POWER_CONTROL) + if (version >= BLE_HCI_VER_BCS_5_2) { + /** + * Enable the following LE events: + * 0x0000000080000000 LE Path Loss Threshold event + * 0x0000000100000000 LE Transmit Power Reporting event + */ + mask |= 0x000000018...
chip/stm32/flash-stm32l.c: Format with clang-format BRANCH=none TEST=none
@@ -34,7 +34,8 @@ static void lock(void) ignore_bus_fault(1); STM32_FLASH_PECR = STM32_FLASH_PECR_PE_LOCK | - STM32_FLASH_PECR_PRG_LOCK | STM32_FLASH_PECR_OPT_LOCK; + STM32_FLASH_PECR_PRG_LOCK | + STM32_FLASH_PECR_OPT_LOCK; ignore_bus_fault(0); } @@ -105,8 +106,8 @@ static uint16_t read_optb(int offset) */ static void ...
feat: Added ethereum testing
@@ -3,22 +3,32 @@ SOURCES = $(wildcard *.c) OBJECTS_DIR = $(BOAT_BUILD_DIR)/tests OBJECTS = $(patsubst %.c,$(OBJECTS_DIR)/%.o,$(SOURCES)) -.PHONY: tests_BoAT_chainmaker_linuxDefault +.PHONY: tests_BoAT_chainmaker_linuxDefault tests_BoAT_ethereum_linuxDefault cleanchaimakerlinux cleanethereumlinux -all: tests_BoAT_chain...
End to end rendering using ford-turbo.
(ames-gram q.p.kyz hat+~ p.u.mez our-host) :: $get-inner - ~& [%get-inner mez] %+ exec-turbo-live ay+(dray p+uv+~ q.p.kyz p.u.mez) [%bake q.u.mez r.u.mez [[p q] s]:s.u.mez] :: :: XX store request mark =/ ext (end 3 (sub (met 3 p.res) (met 3 '-elem')) p.res) :: %x-urb-elem -> %x-urb =+ norm=(norm-beak bek) - %^ exec-liv...
Fix crash in None SIMD build when -a option specified
@@ -679,7 +679,8 @@ astcenc_error astcenc_compress_image( } if (ctx->config.v_rgb_mean != 0.0f || ctx->config.v_rgb_stdev != 0.0f || - ctx->config.v_a_mean != 0.0f || ctx->config.v_a_stdev != 0.0f) + ctx->config.v_a_mean != 0.0f || ctx->config.v_a_stdev != 0.0f || + ctx->config.a_scale_radius != 0) { // First thread to...