message
stringlengths
6
474
diff
stringlengths
8
5.22k
add a specific toolchain env
@@ -126,10 +126,14 @@ SRCDIR="$(pwd)/toolchains" module_all qemu --prefix="${RISCV}" --target-list=ris cd "$RDIR" +# create specific env.sh { echo "export CHIPYARD_TOOLCHAIN_SOURCED=1" echo "export RISCV=$(printf '%q' "$RISCV")" echo "export PATH=\${RISCV}/bin:\${PATH}" echo "export LD_LIBRARY_PATH=\${RISCV}/lib\${LD_L...
doc: update 2.7 release notes Fix errors in description of changes. Add mention of SOS -> Service_VM change in config options/values.
@@ -90,8 +90,8 @@ User-Friendly VM names user-friendly VM name. Extend Use of CAT Cache Tuning to VMs - In previous releases, Cache Allocation Technology (vCAT) was available only - at the hypervisor level and with per-VM granularity. In this v2.7 release, + In previous releases, Cache Allocation Technology (CAT) was a...
tests: internal: parser: validate tz with format 'hh:mm'
@@ -77,9 +77,11 @@ struct time_check time_entries[] = { /* Same date for different timezones, same timestamp */ {"generic_TZ" , "07/17/2017 20:17:03 +0000" , 1500322623, 0, 0}, {"generic_TZ" , "07/18/2017 01:47:03 +0530" , 1500322623, 0, 0}, + {"generic_TZ" , "07/18/2017 01:47:03 +05:30" , 1500322623, 0, 0}, {"generic_...
Add comment explaining crecord_getmem
@@ -797,6 +797,8 @@ end function RecordCoder:declare_getmem() if self.layout.prim_size == 0 then return "" end + -- This function is a specialization of the macro getudatamem that generates + -- a cleaner assembly because NUVALUE is a compile-time constant. local out = util.render([[ static ${STRUCT} *${GETMEM}(Udata *...
esp32/modsocket: Use m_new_obj_with_finaliser instead of calloc.
@@ -119,7 +119,7 @@ STATIC mp_obj_t socket_accept(const mp_obj_t arg0) { socket_obj_t *self = MP_OBJ_TO_PTR(arg0); int x = lwip_accept(self->fd, NULL, NULL); if (x >= 0) { - socket_obj_t *sock = (socket_obj_t *)calloc(1, sizeof(socket_obj_t)); + socket_obj_t *sock = m_new_obj_with_finaliser(socket_obj_t); sock->base.ty...
Improve error messages for bad vertex formats;
@@ -51,6 +51,8 @@ bool luax_checkvertexformat(lua_State* L, int index, VertexFormat* format) { const char* name = lua_tostring(L, -3); AttributeType type = luaL_checkoption(L, -2, NULL, AttributeTypes); int count = lua_tointeger(L, -1); + lovrAssert(type != ATTR_BYTE || count == 1, "Vertex attribute with type 'byte' mu...
UWP build script cleanup
@@ -77,7 +77,6 @@ def buildWinPhoneNativeDLL(args, arch): '-DCMAKE_GENERATOR_PLATFORM=%s' % platformArch, '-DCMAKE_BUILD_TYPE=%s' % args.nativeconfiguration, '-DWRAPPER_DIR=%s' % ('%s/generated/winphone-csharp/wrappers' % baseDir), - '-DANGLE_LIB_DIR=%s' % ('%s/libs-external/angle/prebuilt/Lib/%s' % (baseDir, platformA...
[chainmaker]modify ptr malloc
@@ -82,11 +82,12 @@ BOAT_RESULT generateTxRequestPack(BoatHlchainmakerTx *tx_ptr, char *method, Boat transactPayload.n_parameters = transaction_para->n_parameters; transactPayload.parameters = (BoatKeyValuePair**) BoatMalloc(sizeof(BoatKeyValuePair*) * transactPayload.n_parameters); + BoatKeyValuePair* array = BoatMall...
hw/scripts; if port was passed as last parameter in --extrajtagcmd, and the target uses openocd, PORT was extracted incorrectly.
@@ -56,7 +56,15 @@ parse_extra_jtag_cmd() { case $1 in -port) shift - PORT=$1 + # Many BSP scripts append their own things additional + # parameters. This is done in a way where openocd delimeter is + # immediatelly adjacent to parameters passed via newt. + # The following is to filter out the delimeter from + # PORT, ...
STORE: Clear a couple of TODOs that were there for the sake of SM2 We now have decoder support for SM2, so the cheats that were in place for the sake of lacking decoders aren't needed any more. Fixes
@@ -337,20 +337,6 @@ static EVP_PKEY *try_key_value_legacy(struct extracted_param_data_st *data, pk = EVP_PKCS82PKEY_with_libctx(p8info, libctx, propq); PKCS8_PRIV_KEY_INFO_free(p8info); } - - /* - * It wasn't PKCS#8, so we must try the hard way. - * However, we can cheat a little bit, because we know - * what's not ye...
remove boolean usage and use 0/1 instead If we do not use jemalloc (mostly with valgrind) and use an old compiler that does not support C11 we will get compilation error
@@ -334,7 +334,7 @@ static void redisProtocolToLuaType_Error(void *ctx, const char *str, size_t len, /* push a field indicate to ignore updating the stats on this error * because it was already updated when executing the command. */ lua_pushstring(lua,"ignore_error_stats_update"); - lua_pushboolean(lua, true); + lua_pu...
testcase/kernel: enable sem_setprotocol testcase always The sem_setprotocol is always available to use, but it works differently with CONFIG_PRIORITY_INHERITANCE. This commit removes covering the entire tc_semaphore_sem_setprotocol with conditional and checks different return value.
@@ -362,7 +362,6 @@ static void tc_semaphore_sem_destroy(void) TC_SUCCESS_RESULT(); } -#ifdef CONFIG_PRIORITY_INHERITANCE /** * @fn :tc_semaphore_sem_setprotocol * @brief :Set semaphore protocol attribute @@ -384,7 +383,12 @@ static void tc_semaphore_sem_setprotocol(void) TC_ASSERT_EQ("sem_setprotocol", ret_chk, OK); r...
mmapstorage: update readme and update news
@@ -83,5 +83,4 @@ sudo kdb umount user/tests/mmapstorage ## Limitations -Currently mapped files shall not be altered, otherwise the behaviour is undefined. Therefore we set an -advisory lock with `flock()`, such that competing KDB instances can not overwrite mapped files. +Currently mapped files shall not be altered, o...
replay UPDATE always send replayComplete Even for subscriptions on modules that do not support replay.
@@ -761,9 +761,8 @@ sr_replay_notify(sr_conn_ctx_t *conn, const char *mod_name, uint32_t sub_id, con SR_CHECK_INT_GOTO(!shm_mod, err_info, cleanup); if (!ATOMIC_LOAD_RELAXED(shm_mod->replay_supp)) { - /* nothing to do */ SR_LOG_WRN("Module \"%s\" does not support notification replay.", mod_name); - goto cleanup; + goto...
Replace tabs with spaces, add XTAL_RC to BSP
@@ -28,6 +28,10 @@ syscfg.defs: description: 'External 32k oscillator available.' value: 1 + XTAL_RC: + description: 'RC LF Clock' + value: 0 + UART_0: description: 'Whether to enable UART0' value: 1
dm: mei: enable virtio_mei compilation Add virtio_mei to the Makefile Acked-by: Wang, Yu1
@@ -99,6 +99,7 @@ SRCS += hw/pci/virtio/virtio_net.c SRCS += hw/pci/virtio/virtio_rnd.c SRCS += hw/pci/virtio/virtio_ipu.c SRCS += hw/pci/virtio/virtio_hyper_dmabuf.c +SRCS += hw/pci/virtio/virtio_mei.c SRCS += hw/pci/virtio/virtio_rpmb.c SRCS += hw/pci/irq.c SRCS += hw/pci/uart.c
added section for WSL2
@@ -26,6 +26,7 @@ sudo apt-get install -y build-essential libssl-dev sudo apt-get install -y libcurl4-openssl-dev ``` +\* If you do not have Ubuntu or Debian but have Windows 10, you can install WSL2 and get either Ubuntu or Debian [here](https://docs.microsoft.com/en-us/windows/wsl/install-win10). ### Compile ```
Fix name of ipv6-n-tuple
#define foreach_flow_type \ _(IP4_N_TUPLE, ip4_n_tuple, "ipv4-n-tuple") \ - _(IP6_N_TUPLE, ip6_n_tuple, "ipv4-n-tuple") \ + _(IP6_N_TUPLE, ip6_n_tuple, "ipv6-n-tuple") \ _(IP4_VXLAN, ip4_vxlan, "ipv4-vxlan") \ _(IP6_VXLAN, ip6_vxlan, "ipv6-vxlan")
Add TS_THROW_3.
@@ -184,6 +184,17 @@ typedef struct { goto __ ## label ## __; \ } +#define TS_THROW_3(label, status, err, msg, arg1, arg2, arg3) \ +{ \ + if ((status) != NULL) { \ + (status)->code = err; \ + sprintf((status)->message, msg, arg1, arg2, arg3); \ + } \ + goto __ ## label ## __; \ +} + + + /*******************************...
Delete references to gitarc It was deleted in r3989077.
"afl-fuzz": { "description": "Run afl-fuzz" }, "horadric": { "description": "Run horadric generator" }, "run_python_udf": {"description": "run_python_udf tool"}, - "gitarc": { "description": "Run git-like client with FUSE support"}, "arc": { "description": "Arcadia command-line client" }, "graphs_difference": { "descri...
Fix tcp_accept man page
@@ -7,7 +7,7 @@ tcp_accept - accepts an incoming TCP connection **#include <libdill.h>** -**int tcp_accept(int **_s_**, int64_t** _deadline_**);** +**int tcp_accept(int **_s_**, struct ipaddr **\*_addr_**, int64_t** _deadline_**);** # DESCRIPTION @@ -15,6 +15,8 @@ TCP protocol is a bytestream protocol (i.e. data can...
ssse3: add casts to silence some warnings from NEON functions
@@ -349,7 +349,7 @@ simde_mm_shuffle_epi8 (simde__m128i a, simde__m128i b) { /* Mask out the bits we're not interested in. vtbl will result in 0 for any values outside of [0, 15], so if the high bit is set it will return 0, just like in SSSE3. */ - b_.neon_i8 = vandq_s8(b_.neon_i8, vdupq_n_s8((1 << 7) | 15)); + b_.neon...
ARMv8: setting new kernel stack properly in coredata
@@ -248,8 +248,10 @@ errval_t spawn_xcore_monitor(coreid_t coreid, hwid_t hwid, return err; } +#define ARMV8_KERNEL_STACK_SIZE (16 * 1024) + struct mem_info stack_mem; - err = app_memory_alloc(16*1024, &stack_mem); + err = app_memory_alloc(ARMV8_KERNEL_STACK_SIZE, &stack_mem); if (err_is_fail(err)) { DEBUG_ERR(err, "Ca...
dockerfiles: fix typo
@@ -107,7 +107,7 @@ COPY . ./ WORKDIR /tmp/fluent-bit/build/ # CMake configuration variables ARG CFLAGS="-std=gnu99" -ARG CMAKE_INSTALL_PREFIX=/opt/fuent-bit/ +ARG CMAKE_INSTALL_PREFIX=/opt/fluent-bit/ ARG CMAKE_INSTALL_SYSCONFDIR=/etc/ ARG FLB_RELEASE=On ARG FLB_TRACE=On
make work when previous run was only oidc-agent
@@ -112,11 +112,22 @@ fi mkdir -p $OIDC_CONFIG_DIR/.keychain INITSCRIPT="$OIDC_CONFIG_DIR/.keychain/`uname -n`.sh" +make_initscript() +{ + ( + echo "OIDC_SOCK=$OIDC_SOCK; export OIDC_SOCK;" + echo "OIDCD_PID=$OIDCD_PID; export OIDCD_PID;" + ) >$INITSCRIPT +} + # If not already set, read the agent variables from the ini...
ebuild: cleanup of DPDK options in external.mk With the move to meson, most DPDK options in external.mk are not used anymore Type: improvement
@@ -29,30 +29,11 @@ ifneq ($(DPDK_MLX5_PMD),) DPDK_MAKE_ARGS += DPDK_MLX5_PMD=y endif -DPDK_MLX_IBVERBS_DLOPEN=$(strip $($(PLATFORM)_uses_dpdk_ibverbs_link_dlopen)) -ifneq ($(DPDK_MLX_IBVERBS_DLOPEN),) -DPDK_MAKE_ARGS += DPDK_MLX_IBVERBS_DLOPEN=y -endif - DPDK_MLX4_PMD=$(strip $($(PLATFORM)_uses_dpdk_mlx4_pmd)) ifneq (...
SOVERSION bump to version 2.27.5
@@ -66,7 +66,7 @@ set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_ # set version of the library set(LIBYANG_MAJOR_SOVERSION 2) set(LIBYANG_MINOR_SOVERSION 27) -set(LIBYANG_MICRO_SOVERSION 4) +set(LIBYANG_MICRO_SOVERSION 5) set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_M...
[mechanics] initialize dimension in SiconosBulletOptions
@@ -211,7 +211,8 @@ public: // Default Bullet options SiconosBulletOptions::SiconosBulletOptions() - : contactBreakingThreshold(0.02) + : dimension(SICONOS_BULLET_3D) + , contactBreakingThreshold(0.02) , contactProcessingThreshold(0.03) , worldScale(1.0) , useAxisSweep3(false)
client_http_get : free stat
@@ -240,6 +240,8 @@ on_close(struct neat_flow_operations *opCB) opCB->on_error = NULL; neat_set_operations(opCB->ctx, opCB->flow, opCB); + free(opCB->userData); + // stop event loop if all flows are closed flows_active--; if (config_log_level >= 1) {
wireless/ieee802154: msdu_length in meta data converted to a seperate length argument
@@ -121,12 +121,12 @@ static int tx(int fd, FAR const char *str, int verbose) /* Each byte is represented by 2 chars */ - tx.meta.msdu_length = str_len >> 1; + tx.length = str_len >> 1; /* Check if the number of chars is a multiple of 2 and that the number of * bytes does not exceed the max MAC frame payload supported ...
Use set_global_assignment for loading Tcl in PIM Quartus archives need it instead of using "source".
@@ -413,7 +413,7 @@ def emitQsfConfig(args, afu_ifc_db, platform_db, platform_defaults_db, f.write('}\n\n') f.write( - "source {0}/par/platform_if_addenda.qsf\n".format(args.platform_if)) + "set_global_assignment -name SOURCE_TCL_SCRIPT_FILE {0}/par/platform_if_addenda.qsf\n".format(args.platform_if)) f.close()
core/pci: No validation on pd and ecap in pcie_slot_create() The PCI device and its PCIe capability offset should be valid in pcie_slot_create(). No need to validate them. This removes the validation logic to make the function simpler. No functional changes introduced.
@@ -449,7 +449,6 @@ struct pci_slot *pcie_slot_create(struct phb *phb, struct pci_device *pd) return NULL; /* Cache the link and slot capabilities */ - if (pd) { ecap = pci_cap(pd, PCI_CFG_CAP_ID_EXP, false); pci_cfg_read16(phb, pd->bdfn, ecap + PCICAP_EXP_CAPABILITY_REG, &slot->pcie_cap); @@ -457,7 +456,6 @@ struct pc...
Fixed first MAP scroll update
@@ -190,7 +190,9 @@ Map* MAP_create(const MapDefinition* mapDef, VDPPlane plane, u16 baseTile) void MAP_scrollTo(Map* map, u32 x, u32 y) { // first scroll ? - if (map->planeWidthMask == 0) + const bool init = (map->planeWidthMask == 0); + + if (init) { // init plane dimension map->planeWidthMask = (planeWidth >> 1) - 1...
Fix mac check issue for vitual tunnel interface with no mac address
@@ -412,9 +412,11 @@ ethernet_input_inline (vlib_main_t * vm, else { if (!ethernet_address_cast (e0->dst_address) && + (hi->hw_address != 0) && !eth_mac_equal ((u8 *) e0, hi->hw_address)) error0 = ETHERNET_ERROR_L3_MAC_MISMATCH; if (!ethernet_address_cast (e1->dst_address) && + (hi->hw_address != 0) && !eth_mac_equal (...
usb: write the right register for clearing OHCI hub status
@@ -216,7 +216,7 @@ usb_error_t usb_ohci_roothub_exec(struct usb_device *device, return USB_ERR_IOERROR; } // write the value to the register - ohci_rh_portstat_rawwr(hc->ohci_base, req_index, ps); + ohci_rh_portctrl_rawwr(hc->ohci_base, req_index, ps); switch (req_value) { case USB_HUB_FEATURE_C_PORT_CONNECTION: @@ -4...
Add a CHANGES entry for the safestack updates
@@ -23,6 +23,12 @@ OpenSSL 3.0 ### Changes between 1.1.1 and 3.0 [xx XXX xxxx] + * Changed all "STACK" functions to be macros instead of inline functions. Macro + parameters are still checked for type safety at compile time via helper + inline functions. + + *Matt Caswell* + * Remove the RAND_DRBG API The RAND_DRBG API...
Test parameter entity with name with top bytes non-zero
@@ -6140,6 +6140,59 @@ START_TEST(test_attr_after_solidus) } END_TEST +static void XMLCALL +accumulate_entity_decl(void *userData, + const XML_Char *entityName, + int UNUSED_P(is_parameter_entity), + const XML_Char *value, + int value_length, + const XML_Char *UNUSED_P(base), + const XML_Char *UNUSED_P(systemId), + con...
Changed "source" to "src"
@@ -376,7 +376,7 @@ elseif(RTOS_FREERTOS_CHECK) include_directories( ${CMSIS_RTOS_INCLUDE_DIR}) # add source directory - add_subdirectory("source") + add_subdirectory("src") ####################### # mbed OS @@ -528,7 +528,7 @@ elseif(RTOS_RTX_RTOS_CHECK) set(RTXRTOS_INCLUDE_DIRS ${RTXRTOS_SOURCE_DIR}) # add source dir...
tests: runtime: filter_rewrite_tag: remove unused function
@@ -38,52 +38,6 @@ struct expect_str { pthread_mutex_t result_mutex = PTHREAD_MUTEX_INITIALIZER; int num_output = 0; -/* Callback to check expected results */ -static int cb_check_result(void *record, size_t size, void *data) -{ - char *p; - char *result; - struct expect_str *expected; - - expected = (struct expect_str...
quic: use hardware serial for passthrough
@@ -538,26 +538,21 @@ void process_serial(uint8_t *data, uint32_t len) { send_quic(QUIC_CMD_SERIAL, QUIC_FLAG_NONE, encode_buffer, cbor_encoder_len(&enc)); -#define USART usart_port_defs[port] - LL_USART_Disable(USART.channel); - - soft_serial_t serial; - soft_serial_init(&serial, USART.tx_pin, USART.rx_pin, baudrate);...
long_options doesn't need to be static Without this change, scan-build warns that the address of stack variable "gui" is being stored in a global variable.
@@ -320,7 +320,7 @@ int main(int argc, char** argv) #else int gui = 1; #endif - static struct option long_options[] = { + struct option long_options[] = { {"gui", no_argument, &gui, 1}, {"no-gui", no_argument, &gui, 0}, {0, 0, 0, 0}
serial: add enable for uart7 and 8
@@ -43,6 +43,16 @@ void serial_enable_rcc(usart_ports_t port) { case 6: LL_APB2_GRP1_EnableClock(LL_APB2_GRP1_PERIPH_USART6); break; +#endif +#ifdef UART7 + case 7: + LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_UART7); + break; +#endif +#ifdef UART8 + case 8: + LL_APB1_GRP1_EnableClock(LL_APB1_GRP1_PERIPH_UART8); + br...
[kernel] delete trailing whitespace
@@ -161,13 +161,11 @@ void MoreauJeanOSI::fillDSLinks(Interaction &inter, InteractionProperties& inter VectorOfVectors& workV = *interProp.workVectors; workV.resize(MoreauJeanOSI::WORK_INTERACTION_LENGTH); - workV[MoreauJeanOSI::OSNSP_RHS].reset(new SiconosVector(inter.getSizeOfY())); VectorOfBlockVectors& DSlink = *in...
avf: properly set irq queue masks Type: fix Fixes:
@@ -693,7 +693,8 @@ avf_op_config_irq_map (vlib_main_t * vm, avf_device_t * ad) imi->vecmap[0].vector_id = 1; imi->vecmap[0].vsi_id = ad->vsi_id; - imi->vecmap[0].rxq_map = 1; + imi->vecmap[0].rxq_map = (1 << ad->n_rx_queues) - 1; + imi->vecmap[0].txq_map = (1 << ad->n_tx_queues) - 1; avf_log_debug (ad, "config_irq_map...
[meson] add with_zstd to meson_options.txt
@@ -148,6 +148,11 @@ option('with_zlib', value: true, description: 'with deflate-support for mod_deflate [default: on]', ) +option('with_zstd', + type: 'boolean', + value: false, + description: 'with zstd-support for mod_deflate [default: off]', +) option('build_extra_warnings', type: 'boolean',
Must call mbedtls_mpi_mod_modulus_init() before anything else in tests
@@ -117,10 +117,12 @@ void mpi_mod_raw_cond_assign( char * input_X, mbedtls_mpi_uint *X = NULL; mbedtls_mpi_uint *Y = NULL; mbedtls_mpi_uint *buff_m = NULL; - mbedtls_mpi_mod_modulus m; size_t limbs_X; size_t limbs_Y; + mbedtls_mpi_mod_modulus m; + mbedtls_mpi_mod_modulus_init( &m ); + TEST_EQUAL( mbedtls_test_read_mpi...
Silence compiler warning in non-assert builds. Per buildfarm.
@@ -6820,7 +6820,7 @@ void process_pending_request(AsyncRequest *areq) { ForeignScanState *node = (ForeignScanState *) areq->requestee; - PgFdwScanState *fsstate = (PgFdwScanState *) node->fdw_state; + PgFdwScanState *fsstate PG_USED_FOR_ASSERTS_ONLY = (PgFdwScanState *) node->fdw_state; EState *estate = node->ss.ps.st...
wlanhcx2psk: Missing comma rendered faulty Netgear list.
@@ -203,7 +203,7 @@ static void keywriteng(void) size_t ca, cn, cs; const char *adjectiv[] = { "ancient", "antique", "aquatic", - "baby", "basic", "big", "bitter", "black", "blue", "bold", "bottled" "brave", "breezy", "bright", "brown", + "baby", "basic", "big", "bitter", "black", "blue", "bold", "bottled", "brave", "b...
shell-test: be less specific in regex
@@ -256,11 +256,11 @@ kdb set /tutorial/links/url "invalid url" Note that the backend `tutorial.dump` is mounted for all namespaces: ```sh kdb file user/tutorial -# STDOUT-REGEX: /(home|Users)/.*/\.config/tutorial\.dump +# STDOUT-REGEX: /.*/tutorial\.dump kdb file system/tutorial -# STDOUT-REGEX: .*/tutorial\.dump +# S...
fix unaligned memory access in SipHash
@@ -7037,14 +7037,14 @@ static inline uint64_t fio_siphash_xy(const void *data, size_t len, size_t x, size_t y) { /* initialize the 4 words */ uint64_t v0 = - (0x0706050403020100ULL ^ 0x736f6d6570736575ULL) * (uint64_t)fio_listen; + (0x0706050403020100ULL ^ 0x736f6d6570736575ULL) ^ (uint64_t)fio_listen; uint64_t v1 = -...
change blynk declare
@@ -357,7 +357,7 @@ Blockly.Arduino.blynk_videourl = function() { Blockly.Arduino.blynk_bridge_auth = function() { var Vpin = this.getFieldValue('Vpin'); var auth = Blockly.Arduino.valueToCode(this, 'auth', Blockly.Arduino.ORDER_ATOMIC); - Blockly.Arduino.definitions_['bridge1.setAuthToken'] ='WidgetBridge bridge1('+Vp...
doc: update doc build instructions New versions of doc build tools are listed, along with tweaks to the requirements.txt and list of tools installed with apt for building documentation.
@@ -124,22 +124,21 @@ Installing the documentation tools Our documentation processing has been tested to run with Python 3.6.3 and these other tools: -* breathe version: 4.9.1 -* sphinx version: 1.7.7 -* docutils version: 0.14 -* sphinx-rtd-theme version: 0.4.0 -* kconfiglib version: 10.9.1 -* sphinx-tabs version: 1.1....
Improve wording on how latency is measured
-.TH biolatency 8 "2015-08-20" "USER COMMANDS" +.TH biolatency 8 "2019-12-12" "USER COMMANDS" .SH NAME biolatency \- Summarize block device I/O latency as a histogram. .SH SYNOPSIS @@ -8,8 +8,8 @@ biolatency traces block device I/O (disk I/O), and records the distribution of I/O latency (time). This is printed as a his...
fix undefine error
@@ -1906,8 +1906,10 @@ static inline const void *mbedtls_ssl_get_sig_algs( #endif /* MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED */ } + #if defined(MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED) +#if defined(MBEDTLS_SSL_PROTO_TLS1_3) static inline int mbedtls_ssl_sig_alg_is_received( const mbedtls_ssl_context *ssl, uint16_t own_si...
must add sse3 cflag if we are going to use sse3 intrinsics ...
@@ -66,7 +66,7 @@ RANLIB := @RANLIB@ INCLUDE_CFLAGS = $(addprefix -I ,$(include_dirs)) CONFIG_CFLAGS = @CFLAGS@ @DEBUG_OPTION@ @ARCH_OPTION@ # -g : debugging info -CFLAGS += $(INCLUDE_CFLAGS) -Wall -fPIC $(CONFIG_CFLAGS) +CFLAGS += $(INCLUDE_CFLAGS) -Wall -fPIC -msse3 $(CONFIG_CFLAGS) LDFLAGS += @LDFLAGS@ @LIBS@ ARFLAG...
interface: fix S3 canUpload logic s3.credentials is always set, but the fields are all '' if s3 is not configured. So prior to this change, if the user had configured an active bucket, they would always be shown an upload dialog even if they had no storage configured.
@@ -23,10 +23,14 @@ const useStorage = (s3: S3State, gcp: GcpState, useEffect(() => { // prefer GCP if available, else use S3. - if (gcp.accessKey !== undefined) { - client.current = new GcpClient(gcp.accessKey); + if (gcp.current !== undefined) { + client.current = new GcpClient(gcp.current.accessKey); } else { - if (...
out_loki: adjust test formatter callback params
@@ -1623,6 +1623,7 @@ static int cb_loki_format_test(struct flb_config *config, struct flb_input_instance *ins, void *plugin_context, void *flush_ctx, + int event_type, const char *tag, int tag_len, const void *data, size_t bytes, void **out_data, size_t *out_size)
freebsd: fix link
@@ -65,7 +65,7 @@ MAKE_ENV+= FEATURES="${FEATURES}" do-install: ${MKDIR} ${STAGEDIR}/usr/bin ${INSTALL_PROGRAM} ${WRKSRC}/build/kadnode ${STAGEDIR}${PREFIX}/bin/ - ${LN} -sf ${STAGEDIR}${PREFIX}/bin/kadnode ${STAGEDIR}${PREFIX}/bin/kadnode-ctl + ${LN} -sf kadnode ${STAGEDIR}${PREFIX}/bin/kadnode-ctl ${INSTALL_LIB} ${WR...
groups: update version in docket
color+0xee.5432 glob-http+['https://bootstrap.urbit.org/glob-0v3.c3vkk.bvn2l.fmc76.l3ro9.0i5j0.glob' 0v3.c3vkk.bvn2l.fmc76.l3ro9.0i5j0] base+'landscape' - version+[1 3 5] + version+[1 0 1] website+'https://tlon.io' license+'MIT' ==
fix: routecmp wasn't properly comparing major params
@@ -192,17 +192,17 @@ routecmp(char key[], struct _route_s *route) if (0 == ret) return 0; /* check if fits major parameter criteria */ - if (strstr(route->key, "/channels/%llu") + if (strstr(key, "/channels/%llu") && strstr(route->key, "/channels/%llu")) { return 0; } - if (strstr(route->key, "/guilds/%llu") + if (str...
vere: comment out unused code that doesn't compile on MingW
@@ -13,6 +13,7 @@ _save_time_cb(uv_timer_t* tim_u) u3_pier_save(pir_u); } +#if 0 /* u3_save_ef_chld(): report save termination. */ void @@ -34,6 +35,7 @@ u3_save_ef_chld(u3_pier *pir_u) } sav_u->pid_w = 0; } +#endif /* u3_save_io_init(): initialize autosave. */
corrects alias u3dq (u3nt -> u3nq)
# define u3do(txt_c, arg) u3v_do(txt_c, arg) # define u3dc(txt_c, a, b) u3v_do(txt_c, u3nc(a, b)) # define u3dt(txt_c, a, b, c) u3v_do(txt_c, u3nt(a, b, c)) -# define u3dq(txt_c, a, b, c, d) u3v_do(txt_c, u3nt(a, b, c, d)) +# define u3dq(txt_c, a, b, c, d) u3v_do(txt_c, u3nq(a, b, c, d)) /* u3to(), u3of(): offset/point...
[verilator] Add missing `memloader` module from lowrisc
@@ -206,4 +206,69 @@ module tc_sram #( `endif `endif // pragma translate_on + +// Copyright lowRISC contributors. +// Licensed under the Apache License, Version 2.0, see LICENSE for details. +// SPDX-License-Identifier: Apache-2.0 + +/** + * Memory loader for simulation + * + * Include this file in a memory primitive t...
YAML: Remove `goto` statement
@@ -513,18 +513,17 @@ int elektraYamlSet (Plugin * handle ELEKTRA_UNUSED, KeySet * returned ELEKTRA_UN int errorNumber = errno; FILE * destination = fopen (keyString (parentKey), "w"); - if (!destination) goto error; // The bitwise or in the next line is correct, since we need to close the file even if writing fails - ...
framework/media : Correct wrong casting type. SocketOutputDataSource::write return type is ssize_t
@@ -100,7 +100,7 @@ bool SocketOutputDataSource::isPrepare() ssize_t SocketOutputDataSource::write(unsigned char* buf, size_t size) { if (!buf) { - return (size_t)0; + return (ssize_t)0; } return send(mSockFd, buf, size, 0);
Fix newreno bug Based on commit
@@ -162,9 +162,9 @@ void picoquic_newreno_notify(picoquic_path_t* path_x, case picoquic_newreno_alg_congestion_avoidance: switch (notification) { case picoquic_congestion_notification_acknowledgement: { - uint64_t complete_ack = nb_bytes_acknowledged + nr_state->residual_ack; - nr_state->residual_ack = complete_ack % p...
remove ifndef guard
* limitations under the License. */ -#undef MBEDTLS_SSL_ENCRYPT_THEN_MAC -#undef MBEDTLS_SSL_EXTENDED_MASTER_SECRET -#undef MBEDTLS_SSL_PROTO_TLS1_2 - -#if !defined(MBEDTLS_SSL_PROTO_TLS1_3) #define MBEDTLS_SSL_PROTO_TLS1_3 -#endif - -#if !defined(MBEDTLS_SSL_TLS1_3_COMPATIBILITY_MODE) #define MBEDTLS_SSL_TLS1_3_COMPAT...
[libretro] remove PSP build
@@ -137,15 +137,6 @@ else ifeq ($(platform), psl1ght) ENDIANNESS_DEFINES := -DMSB_FIRST STATIC_LINKING = 1 -# PSP -else ifeq ($(platform), psp1) - TARGET := $(TARGET_NAME)_libretro_$(platform).a - CC = psp-gcc$(EXE_EXT) - CXX = psp-g++$(EXE_EXT) - AR = psp-ar$(EXE_EXT) - COMMONFLAGS += -DPSP -G0 - STATIC_LINKING = 1 - ...
Remove redundant SHA384 `if defined` block.
@@ -1283,14 +1283,6 @@ int query_config( const char *config ) } #endif /* MBEDTLS_SHA512_SMALLER */ -#if defined(MBEDTLS_SHA384_C) - if( strcmp( "MBEDTLS_SHA384_C", config ) == 0 ) - { - MACRO_EXPANSION_TO_STR( MBEDTLS_SHA384_C ); - return( 0 ); - } -#endif /* MBEDTLS_SHA384_C */ - #if defined(MBEDTLS_SSL_ALL_ALERT_MES...
stick |mass outputs in mass subdirectory of put
** */ #include <uv.h> +#include <sys/stat.h> #include "all.h" #include "vere/vere.h" @@ -1868,7 +1869,14 @@ _raft_grab(u3_noun rus) c3_c* wen_c = u3r_string(u3A->wen); c3_c nam_c[2048]; - snprintf(nam_c, 2048, "%s/.urb/put/%s-mass.txt", u3_Host.dir_c, wen_c); + snprintf(nam_c, 2048, "%s/.urb/put/mass", u3_Host.dir_c); ...
Explicitly find libcrypto static/shared libs, export the winner based on BUILD_SHARED_LIBS
# # LibCrypto_FOUND System has libcrypto, include and library dirs found # LibCrypto_INCLUDE_DIR The crypto include directories. -# LibCrypto_LIBRARY The crypto library. +# LibCrypto_LIBRARY The crypto library, depending on the value of BUILD_SHARED_LIBS. +# LibCrypto_SHARED_LIBRARY The path to libcrypto.so +# LibCrypt...
scripts: allow JSON to be spelled json
@@ -65,7 +65,7 @@ s:\<Key/value:Key-value:g s/[^#"]\<data-?type/data type/g -s/([^\./`-])[Jj]son/\1JSON/ +s/([^\./`-])[J]son/\1JSON/ s/\<([Mm])etaspecification/\1eta-specification/g s/\<([Mm])etamodel/\1eta-model/g
Bump major version since cfg got a new field
@@ -22,7 +22,7 @@ AC_CONFIG_SRCDIR([src/encmain.c]) # - Increment when making new releases and major or minor was not changed since last release. # # Here is a somewhat sane guide to lib versioning: http://apr.apache.org/versioning.html -ver_major=5 +ver_major=6 ver_minor=1 ver_release=0
Fix formatting of restoreFile() definition.
@@ -20,7 +20,8 @@ Restore File #include "storage/helper.h" /**********************************************************************************************************************************/ -FN_EXTERN List *restoreFile( +FN_EXTERN List * +restoreFile( const String *const repoFile, const unsigned int repoIdx, const Co...
I updated the visit-build-open script for building 2.13.0 on ubuntu1104_64 and ubuntu1404_64.
@@ -441,7 +441,7 @@ gunzip -c $dist.tar.gz | tar xvf - > buildlog 2>&1 cd $dist/src ver=\`cat VERSION\` ver2=\`echo \$ver | tr "." "_"\` -/home/visit/visit/thirdparty_shared/2.12.0/cmake/3.0.2/linux-x86_64_gcc-4.5/bin/cmake . -DCMAKE_BUILD_TYPE:STRING=Release -DVISIT_INSTALL_THIRD_PARTY:BOOL=ON >> ../../buildlog 2>&1 +...
Add read_cfg to README.md
@@ -75,6 +75,7 @@ A partial list of parameters are below. See the config file for a complete list. | `gpu_color`<br>`gpu_color`<br>`vram_color`<br>`ram_color`<br>`io_color`<br>`engine_color`<br>`frametime_color`<br>`background_color`<br>`text_color` | Change default colors: `gpu_color=RRGGBB`| | `alpha` | Set the opaci...
mangle: memcpy -> memmove to allow for overlapping mem regions
@@ -41,7 +41,7 @@ static inline void mangle_Overwrite(run_t* run, const uint8_t* src, size_t off, sz = maxToCopy; } - memcpy(&run->dynamicFile[off], src, sz); + memmove(&run->dynamicFile[off], src, sz); } static inline void mangle_Move(run_t* run, size_t off_from, size_t off_to, size_t len) {
PATCH needs to have a body, this change fixes it
@@ -114,6 +114,8 @@ set_method(CURL *ehandle, enum http_method method, struct api_resbody_s *body) break; case PATCH: curl_easy_setopt(ehandle, CURLOPT_CUSTOMREQUEST, "PATCH"); + curl_easy_setopt(ehandle, CURLOPT_POSTFIELDS, body->str); + curl_easy_setopt(ehandle, CURLOPT_POSTFIELDSIZE, body->size); break; case PUT: cu...
turn on metric events
@@ -81,7 +81,7 @@ ENV SCOPE_LOG_DEST=file:///tmp/scope.log ENV SCOPE_METRIC_VERBOSITY=4 ENV SCOPE_EVENT_LOGFILE=true ENV SCOPE_EVENT_CONSOLE=true -ENV SCOPE_EVENT_METRIC=false +ENV SCOPE_EVENT_METRIC=true ENV SCOPE_EVENT_HTTP=true ENV SCOPE_EVENT_DEST=file:///go/events.log
HardwareDevices: Fix network deltas for disconnected wireless devices
* Hardware Devices Plugin * * Copyright (C) 2016 wj32 - * Copyright (C) 2015-2020 dmex + * Copyright (C) 2015-2021 dmex * * This file is part of Process Hacker. * @@ -64,7 +64,6 @@ VOID NetAdaptersUpdate( PDV_NETADAPTER_ENTRY entry; ULONG64 networkInOctets = 0; ULONG64 networkOutOctets = 0; - ULONG64 linkSpeedValue = 0...
[ci]add ft2004
@@ -38,6 +38,7 @@ jobs: - {RTT_BSP: "apm32/apm32f103xe-minibroard", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "apollo2", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "asm9260t", RTT_TOOL_CHAIN: "sourcery-arm"} + - {RTT_BSP: "ft2004", RTT_TOOL_CHAIN: "sourcery-arm"} - {RTT_BSP: "at91/at91sam9g45", RTT_TOOL_CHAIN: "sour...
Detach USB kernel driver before setting configuration
@@ -282,31 +282,28 @@ pappl_usb_find( if (libusb_control_transfer(device->handle, LIBUSB_REQUEST_TYPE_STANDARD | LIBUSB_ENDPOINT_IN | LIBUSB_RECIPIENT_DEVICE, 8, /* GET_CONFIGURATION */ 0, 0, (unsigned char *)&current, 1, 5000) < 0) current = 0; - if (confptr->bConfigurationValue != current) +#ifdef __linux + // Make s...
fix: cmd_sticky crash sway with empty container
@@ -16,6 +16,11 @@ struct cmd_results *cmd_sticky(int argc, char **argv) { return error; } struct sway_container *container = config->handler_context.container; + + if (container == NULL) { + return cmd_results_new(CMD_FAILURE, "sticky", "No current container"); + }; + if (!container_is_floating(container)) { return cm...
Respect DILL_DISAVLE_SOCKETS in libdillimpl.h
@@ -41,6 +41,8 @@ struct hvfs { DILL_EXPORT int hmake(struct hvfs *vfs); +#if !defined DILL_DISABLE_SOCKETS + /******************************************************************************/ /* Bytestream sockets. */ /******************************************************************************/ @@ -69,3 +71,5 @@ stru...
Drop atpanic wrapper function The use of longjmp in lua makes dealing with lua exceptions difficult. There doesn't seem to be a sensible way to handle those exceptions, so the host program will exit with a panic either way. With that in mind, the `atpanic` function doesn't seem very useful.
@@ -41,7 +41,6 @@ module Foreign.Lua , module Foreign.Lua.Types , module Foreign.Lua.Util -- * Lua API functions - , atpanic , call , checkstack , close
Missing show()
@@ -150,6 +150,7 @@ void Application::onMessage(const clap::RemoteChannel::Message &msg) { #ifdef Q_OS_WIN hostWindow_.reset(QWindow::fromWinId(rq.hwnd)); quickView_->setParent(hostWindow_.get()); + _quickView->show(); sync(); rp.succeed = true; #endif @@ -167,6 +168,7 @@ void Application::onMessage(const clap::RemoteC...
fix(draw) ensure variable is initialized to avoid warning Fixes
@@ -202,7 +202,7 @@ LV_ATTRIBUTE_FAST_MEM void lv_draw_label(lv_draw_ctx_t * draw_ctx, const lv_draw cmd_state_t cmd_state = CMD_STATE_WAIT; uint32_t i; uint32_t par_start = 0; - lv_color_t recolor; + lv_color_t recolor = lv_color_black(); lv_color_t color = lv_color_black(); int32_t letter_w;
task_wdt: correct critical section API in ISR context
@@ -135,7 +135,7 @@ void __attribute__((weak)) esp_task_wdt_isr_user_handler(void) */ static void task_wdt_isr(void *arg) { - portENTER_CRITICAL(&twdt_spinlock); + portENTER_CRITICAL_ISR(&twdt_spinlock); twdt_task_t *twdttask; const char *cpu; //Reset hardware timer so that 2nd stage timeout is not reached (will trigge...
OcAppleKernelLib: STAB symbols are not considered defined.
@@ -150,8 +150,9 @@ MachoSymbolIsDefined ( { ASSERT (Symbol != NULL); - return (Symbol->Type & MACH_N_TYPE_TYPE) == MACH_N_TYPE_ABS - || MachoSymbolIsSection (Symbol); + return (((Symbol->Type & MACH_N_TYPE_STAB) == 0) + && (((Symbol->Type & MACH_N_TYPE_TYPE) == MACH_N_TYPE_ABS) + || MachoSymbolIsSection (Symbol))); } ...
[numerics] remove convexQP_ADMM_reduced fro a while
@@ -1131,7 +1131,6 @@ if(WITH_${COMPONENT}_TESTING) BEGIN_TEST(src/QP/test) NEW_TEST(ConvexQP_test0 ConvexQP_test.c) NEW_TEST(ConvexQP_PG ConvexQP_test1.c) - NEW_TEST(ConvexQP_ADMM_reduced ConvexQP_test2.c) NEW_TEST(ConvexQP_ADDM ConvexQP_test3.c) NEW_TEST(ConvexQP_ADDM_ACCELERATION ConvexQP_test4.c) NEW_TEST(ConvexQP_...
Auto detect endianess... for older gcc
@@ -185,6 +185,16 @@ ifeq ($(shell printf "\#include <libpq-fe.h>\\nint main(void) {}\n" | $(CC) $(IN endif +# Set Endian Flag +ifeq ($(shell printf "int main(void) {int i = 1; return (int)(i & ((unsigned char *)&i)[0]);}\n" | $(CC) -xc -o endian_test - >> /dev/null 2> /dev/null ; ./endian_test >> /dev/null 2> /dev/nul...
fix typo in discard_server example
* Usage: discard_server [local_encaps_port] [remote_encaps_port] * * Example - * Server: $ ./daytime_server 11111 22222 + * Server: $ ./discard_server 11111 22222 * Client: $ ./client 127.0.0.1 9 0 22222 11111 */
Update minimum compiler versions
@@ -30,9 +30,9 @@ Requirements ------------ The libngtcp2 C library itself does not depend on any external -libraries. The example client, and server are written in C++17, and -should compile with the modern C++ compilers (e.g., clang >= 8.0, or -gcc >= 8.0). +libraries. The example client, and server are written in C+...
Renamed Time to Speed to match MP example
@@ -35,11 +35,10 @@ const int16_t DEFAULT_ANGLE = 120; // The brightness (between 0 and 31) to set the LEDs to const int16_t DEFAULT_BRIGHTNESS = 16; - - // How many times the LEDs will be updated per second const uint UPDATES = 60; + // Pick *one* LED type by uncommenting the relevant line below: // APA102-style LEDs ...
fix build on ghc4.8 (issue
@@ -778,7 +778,12 @@ but we call `exit` instead (i.e. not returning). #ifdef __cplusplus #include <new> static bool mi_try_new_handler(bool nothrow) { + #if defined(_MSC_VER) || (__cplusplus >= 201103L) std::new_handler h = std::get_new_handler(); + #else + std::new_handler h = std::set_new_handler(); + std::set_new_ha...
avoid atomic read on aligned allocation on Linux
@@ -240,13 +240,15 @@ static void* mi_wasm_heap_grow(size_t size, size_t try_alignment) { static void* mi_unix_mmapx(size_t size, size_t try_alignment, int protect_flags, int flags, int fd) { void* p = NULL; #if (MI_INTPTR_SIZE >= 8) && !defined(MAP_ALIGNED) - // on 64-bit systems, use a special area for 4MiB aligned a...
apps/netutils/tftpc: Missing header file causes errors in some configurations.
#include <nuttx/net/netconfig.h> #include <nuttx/net/ethernet.h> #include <nuttx/net/ip.h> +#include <nuttx/net/udp.h> /**************************************************************************** * Pre-processor Definitions #if MIN_UDP_MSS < TFTP_MAXPACKETSIZE # define TFTP_PACKETSIZE MIN_UDP_MSS # ifdef CONFIG_CPP_HA...
Decouple `engine_version` from `fps`
@@ -1446,10 +1446,13 @@ void render_imgui(swapchain_stats& data, struct overlay_params& params, ImVec2& ImGui::Text("ms"); ImGui::PopFont(); } + if (!params.enabled[OVERLAY_PARAM_ENABLED_fps] && params.enabled[OVERLAY_PARAM_ENABLED_engine_version]){ + ImGui::TableNextRow(); + ImGui::TextColored(ImGui::ColorConvertU32To...
spi: fix dma_transfer_done init
@@ -269,7 +269,7 @@ uint8_t spi_transfer_byte_timeout(spi_ports_t port, uint8_t data, uint32_t timeo return LL_SPI_ReceiveData8(PORT.channel); } -volatile uint8_t dma_transfer_done[4 * 8]; +volatile uint8_t dma_transfer_done[32] = {[0 ... 31] = 1}; #define DMA_TRANSFER_DONE dma_transfer_done[(PORT.dma.dma_port - 1) * 8...
fix typo tranform -> transform
@@ -65,7 +65,7 @@ must be separated by one space. For example: to apply a rotation and flip, or "normal" to apply no transform. If a single output is chosen and a rotation direction is specified (_clockwise_ or _anticlockwise_) then the transform is added or - subtracted from the current tranform. + subtracted from the...