message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
fix tokens array size
Compiler warns about "excess elements in array initializer"
Fix this by setting the correct size of the array | @@ -25,8 +25,8 @@ typedef struct tokenDefinition_t {
#define NUM_TOKENS_AKROMA 0
#define NUM_TOKENS_ELLAISM 1
-#define NUM_TOKENS_ETHEREUM 1073
-#define NUM_TOKENS_ETHEREUM_CLASSIC 0
+#define NUM_TOKENS_ETHEREUM 1102
+#define NUM_TOKENS_ETHEREUM_CLASSIC 4
#define NUM_TOKENS_ETHERSOCIAL 0
#define NUM_TOKENS_ETHER1 0
#de... |
Add missing env_rwsem_up_write() in ocf_cleaner_run() | @@ -138,6 +138,7 @@ void ocf_cleaner_run(ocf_cleaner_t cleaner, ocf_queue_t queue)
}
if (_ocf_cleaner_run_check_dirty_inactive(cache)) {
+ env_rwsem_up_write(&cache->lock);
cleaner->end(cleaner, SLEEP_TIME_MS);
return;
}
|
fix: add the flag to suppress unused warning for gcc | @@ -70,8 +70,8 @@ else ifeq ($(CC),stensal-c)
else ifeq ($(CC),sfc)
LIBDISCORD_LDFLAGS += -lcurl-bearssl -lbearssl -static
CFLAGS += -DBEARSSL
- #LIBDISCORD_LDFLAGS += -lcurl-ssl -lssl -lcrypto -lm -static
else
+ CFLAGS += -Wno-unused-but-set-variable
LIBDISCORD_LDFLAGS += $(pkg-config --libs --cflags libcurl) -lcurl -... |
grid: run tsc as test | "serve": "vite preview",
"lint": "eslint --cache \"**/*.{js,jsx,ts,tsx}\"",
"lint:fix": "npm run lint -- --fix",
- "test": "echo \"No test yet\"",
+ "test": "tsc --noEmit",
"tsc": "tsc --noEmit"
},
"dependencies": {
|
Fix memleaks in tcp test | @@ -218,15 +218,6 @@ static coroutine void async_accept_routine(int listen_fd, int ch) {
errno_assert(rc == 0);
}
-static int async_accept(int listen_fd) {
- int ch[2];
- int rc = chmake(ch);
- errno_assert(rc == 0);
- int h = go(async_accept_routine(listen_fd, ch[0]));
- errno_assert(h >= 0);
- return ch[1];
-}
-
stat... |
mpi-families/mvapich2: update buildrequires for IB to support sles12sp4 | @@ -58,15 +58,14 @@ Conflicts: %{pname}-%{compiler_family}%{PROJ_DELIM}
%if 0%{?sles_version} || 0%{?suse_version}
Buildrequires: ofed
+BuildRequires: rdma-core-devel infiniband-diags-devel
%endif
%if 0%{?rhel}
-Buildrequires: rdma-core-devel
+Buildrequires: rdma-core-devel libibmad-devel
%endif
Requires: prun%{PROJ_DE... |
adding libc sigdelset and sigismember | @@ -1516,7 +1516,7 @@ GO(sigaddset, iFpi)
GOW(sigaltstack, iFpp)
// sigandset
// sigblock // Weak
-// sigdelset
+GO(sigdelset, iFpi)
// __sigdelset
GO(sigemptyset, iFp)
GO(sigfillset, iFp)
@@ -1525,7 +1525,7 @@ GO(sigfillset, iFp)
// sigignore
// siginterrupt
// sigisemptyset
-// sigismember
+GO(sigismember, iFpi)
// _... |
zephyr/Makefile: Proxy ram_report, rom_report targets from Zephyr. | @@ -62,7 +62,8 @@ CFLAGS = $(Z_CFLAGS) \
include $(TOP)/py/mkrules.mk
-GENERIC_TARGETS = all zephyr run qemu qemugdb flash debug debugserver
+GENERIC_TARGETS = all zephyr run qemu qemugdb flash debug debugserver \
+ ram_report rom_report
KCONFIG_TARGETS = \
initconfig config nconfig menuconfig xconfig gconfig \
oldconf... |
BIO_f_ssl.pod: Make clear where an SSL BIOs are expected as an argument | @@ -54,26 +54,26 @@ The SSL BIO is then reset to the initial accept or connect state.
If the close flag is set when an SSL BIO is freed then the internal
SSL structure is also freed using SSL_free().
-BIO_set_ssl() sets the internal SSL pointer of BIO B<b> to B<ssl> using
+BIO_set_ssl() sets the internal SSL pointer of... |
KDB List-Tools: Update man page | .\" generated with Ronn/v0.7.3
.\" http://github.com/rtomayko/ronn/tree/0.7.3
.
-.TH "KDB\-LIST\-TOOLS" "1" "December 2017" "" ""
+.TH "KDB\-LIST\-TOOLS" "1" "May 2019" "" ""
.
.SH "NAME"
\fBkdb\-list\-tools\fR \- List all external tools available to Elektra
\fBkdb list\-tools\fR
.
.SH "DESCRIPTION"
-This command lists... |
Forbid DEPENDENCY_MANAGEMENT on modules whuch do not support it
Some code in arcadia adds DEPENDENCY_MANAGEMENT and EXCLUDE macroses to PROTO_LIBRARY. Those macroses are silently ignored before. This commit restrict use of them to modules supporting dependency management of their peers. | @@ -749,7 +749,7 @@ module _BASE_UNIT {
.IGNORED=GO_PROTO_PLUGIN
.NODE_TYPE=Bundle
.PEERDIR_POLICY=as_include
- .RESTRICTED=GRPC INDUCED_DEPS FUZZ_DICTS FUZZ_OPTS PACK DOCS_DIR DOCS_CONFIG DOCS_VARS YT_SPEC USE_CXX USE_UTIL WHOLE_ARCHIVE PRIMARY_OUTPUT SECONDARY_OUTPUT
+ .RESTRICTED=GRPC INDUCED_DEPS FUZZ_DICTS FUZZ_OP... |
[mod_openssl] wolfSSL does not support SSLv2 | #include "sys-crypto.h"
-#ifdef HAVE_WOLFSSL_SSL_H
-#include <openssl/bio.h>
-#include <openssl/objects.h>
-#include <openssl/pem.h>
-#ifdef NO_OLD_SSL_NAMES
-#define SSL_OP_NO_SSLv2 WOLFSSL_OP_NO_SSLv2
-#endif
-#endif
-
#include <openssl/ssl.h>
+#include <openssl/bio.h>
#include <openssl/bn.h>
#include <openssl/err.h>... |
Free daemon struct in all telnetd_daemon error path | @@ -151,9 +151,8 @@ static int telnetd_daemon(int argc, FAR char *argv[])
sa.sa_flags = SA_NOCLDWAIT;
if (sigaction(SIGCHLD, &sa, NULL) < 0)
{
- int errval = errno;
- nerr("ERROR: sigaction failed: %d\n", errval);
- return -errval;
+ nerr("ERROR: sigaction failed: %d\n", errno);
+ goto errout_with_daemon;
}
/* Block re... |
dev-tools/cmake: bump to v3.12.2 | %define pname cmake
%define major_version 3.12
-%define minor_version 1
+%define minor_version 2
Summary: CMake is an open-source, cross-platform family of tools designed to build, test and package software.
Name: %{pname}%{PROJ_DELIM}
|
heap: increase the sl to reduce the fragmentation to acceptable level. | @@ -53,7 +53,7 @@ enum tlsf_config
** values require more memory in the control structure. Values of
** 4 or 5 are typical.
*/
- SL_INDEX_COUNT_LOG2 = 3,
+ SL_INDEX_COUNT_LOG2 = 5,
/* All allocation sizes and addresses are aligned to 4 bytes. */
ALIGN_SIZE_LOG2 = 2,
@@ -77,6 +77,14 @@ enum tlsf_config
FL_INDEX_MAX = 18... |
Add missing divider flag | @@ -2475,7 +2475,7 @@ BOOLEAN DevicesTabPageCallback(
hwnd = CreateWindow(
PH_TREENEW_CLASSNAME,
NULL,
- WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | TN_STYLE_ICONS | TN_STYLE_DOUBLE_BUFFERED | thinRows | treelistBorder | treelistCustomColors,
+ WS_CHILD | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | TN_STYLE_ICONS | TN_STYLE... |
LuaJIT: Fix WITH_AMALG option failing during parallel builds
Addresses the "'fold_hash' undeclared" compile errors in
See also | @@ -306,6 +306,15 @@ IF(WIN32)
ELSE()
IF(WITH_AMALG)
add_executable(luajit ${LUAJIT_DIR}/src/luajit.c ${LUAJIT_DIR}/src/ljamalg.c ${DEPS})
+ # When using WITH_AMALG during a parallel build, its possible to run into
+ # false-positive "error: 'fold_hash' undeclared" compile errors due to a weird interaction
+ # when bui... |
Disable stdout/stderr buffering on Windows
In MSYS2 on Windows, the output is buffered by default. Disable
buffering to print output immediately.
Note that in cmd.exe, it still prints nothing. | @@ -233,6 +233,12 @@ static SDL_bool parse_args(struct args *args, int argc, char *argv[]) {
}
int main(int argc, char *argv[]) {
+#ifdef __WINDOWS__
+ // disable buffering, we want logs immediately
+ // even line buffering (setvbuf() with mode _IOLBF) is not sufficient
+ setbuf(stdout, NULL);
+ setbuf(stderr, NULL);
+... |
[ci] Add GCC as a dependency for Verilator
Since the bootrom might be regenerated, we might need gcc even to build
verilator. | @@ -102,6 +102,7 @@ verilator_model:
- |
if ! $CI_PROJECT_DIR/.gitlab-ci.d/memora_retry.sh lookup verilator_model; then
# Download Verilator and add missing links
+ $CI_PROJECT_DIR/.gitlab-ci.d/memora_retry.sh get tc-riscv-gcc
$CI_PROJECT_DIR/.gitlab-ci.d/memora_retry.sh get verilator
ln -s $VERILATOR_ROOT/share/verila... |
[mod_openssl] default disable client renegotiation | @@ -2605,6 +2605,8 @@ mod_openssl_set_defaults_sockets(server *srv, plugin_data *p)
conf.ssl_verifyclient_enforce = p->defaults.ssl_verifyclient_enforce;
conf.ssl_verifyclient_depth = p->defaults.ssl_verifyclient_depth;
conf.ssl_read_ahead = p->defaults.ssl_read_ahead;
+ conf.ssl_disable_client_renegotiation
+ = p->def... |
ble_mesh: add error checks for scan start/stop | * SPDX-License-Identifier: Apache-2.0
*/
+#include <stdint.h>
+#include <errno.h>
+
#include "freertos/FreeRTOS.h"
#include "freertos/queue.h"
#include "freertos/task.h"
@@ -387,6 +390,8 @@ void bt_mesh_adv_init(void)
int bt_mesh_scan_enable(void)
{
+ int err;
+
struct bt_mesh_scan_param scan_param = {
.type = BLE_MESH... |
mesh: Fix clang uninitialized var warning
There's a BT_DBG that will output the value of pub_addr before its ever
set to anything. Remove output of pub_addr from BT_DBG(). | @@ -1299,8 +1299,7 @@ static void mod_pub_va_set(struct bt_mesh_model *model,
retransmit = net_buf_simple_pull_u8(buf);
mod_id = buf->om_data;
- BT_DBG("elem_addr 0x%04x pub_addr 0x%04x cred_flag %u",
- elem_addr, pub_addr, cred_flag);
+ BT_DBG("elem_addr 0x%04x cred_flag %u", elem_addr, cred_flag);
BT_DBG("pub_app_idx... |
uart_console: console_queue_char() should chk if device is open | @@ -89,6 +89,10 @@ console_queue_char(struct uart_dev *uart_dev, uint8_t ch)
{
int sr;
+ if ((uart_dev->ud_dev->od_flags & OS_DEV_F_STATUS_OPEN) == 0) {
+ return;
+ }
+
OS_ENTER_CRITICAL(sr);
while (console_ring_is_full(&cr_tx)) {
/* TX needs to drain */
|
web ui: remove debug logs | @@ -79,11 +79,9 @@ export default class SettingsDialog extends Component {
}
ensureDefaultValue = (defaultStr) => {
- console.log('ensure default', defaultStr)
const { meta } = this.props
if (defaultStr) {
const err = validateType(meta, defaultStr)
- console.log('err', err)
if (err) {
return this.setState({ defaultErro... |
Whitelist cppcms links
Their website has been unreachable for a whole day and it is unknown
when it will be back online. | @@ -13,3 +13,9 @@ https://webdemo.libelektra.org
https://debian-stretch-repo.libelektra.org
https://crates.io/crates/elektra
https://crates.io/crates/elektra-sys
+
+# cppcms website has been down for quite a while for unknown reasons
+http://cppcms.com
+http://cppcms.com/wikipp/en/page/apt
+http://cppcms.com/wikipp/en/... |
[CUDA] Fix result of CL_DEVICE_MEM_BASE_ADDR_ALIGN query
The CUDA programming guide states that all memory allocations are
aligned to at least 256 bytes. | @@ -213,6 +213,7 @@ pocl_cuda_init (unsigned j, cl_device_id dev, const char *parameters)
dev->max_clock_frequency /= 1000;
}
+ dev->mem_base_addr_align = 2048;
dev->preferred_wg_size_multiple = 32;
dev->preferred_vector_width_char = 1;
dev->preferred_vector_width_short = 1;
|
Fix test_attribute_enum_value() to work for builds | @@ -4798,14 +4798,14 @@ START_TEST(test_attribute_enum_value)
NULL,
NULL
};
+ const XML_Char *expected = XCS("This is a \n \n\nyellow tiger");
XML_SetExternalEntityRefHandler(parser, external_entity_loader);
XML_SetUserData(parser, &dtd_data);
XML_SetParamEntityParsing(parser, XML_PARAM_ENTITY_PARSING_ALWAYS);
/* An at... |
naive: l2 csv correct tx-data initialization
it seemed to work correctly before, but this makes it more clear that
we're doing the right thing | :: what nonce was actually submitted without the private key of the signer.
::
=| roll-tx-list=(list tx-data)
+ =| =tx-data
=| nonce-and-tx=[_| _|]
- =/ =tx-data :* blocknum.block timestamp.block-dat.block
- sender.roll-dat.roll keccak.roll *keccak *ship
- *proxy:naive *nonce:naive gas.roll-dat.roll *@
- | *action *shi... |
proc/msg: Unmap memory, when processing kernel messages
JIRA: | @@ -155,6 +155,7 @@ static void *msg_map(int dir, kmsg_t *kmsg, void *data, size_t size, process_t *
static void msg_release(kmsg_t *kmsg)
{
process_t *process;
+ vm_map_t *map;
if (kmsg->i.bp != NULL) {
vm_pageFree(kmsg->i.bp);
@@ -170,9 +171,13 @@ static void msg_release(kmsg_t *kmsg)
kmsg->i.ep = NULL;
}
- if (kmsg-... |
Add cgemm and zgemm unroll factors for core2 | @@ -124,6 +124,10 @@ if (DEFINED CORE AND CMAKE_CROSSCOMPILING AND NOT (${HOST_OS} STREQUAL "WINDOWSS
set(SGEMM_UNROLL_N 4)
set(DGEMM_UNROLL_M 4)
set(DGEMM_UNROLL_N 4)
+ set(CGEMM_DEFAULT_UNROLL_M 4)
+ set(CGEMM_DEFAULT_UNROLL_N 2)
+ set(ZGEMM_DEFAULT_UNROLL_M 2)
+ set(ZGEMM_DEFAULT_UNROLL_N 2)
elseif ("${TCORE}" STREQ... |
actually test for something in +test-nack | =^ moves5 alice (call alice ~[/alice] %hear (snag-packet 1 moves3))
=^ moves6 bob (call bob ~[/bob] %hear (snag-packet 0 moves5))
::
- ~
+ %+ expect-eq
+ !> [~[/alice] %give %done `error]
+ !> (snag 1 `(list move:alef)`moves5)
::
++ call
|= [vane=_alice =duct =task:alef]
|
sse4.1: check for SHUFFLE_VECTOR before using it in _mm_cvtepu32_epi64
Fixes | @@ -1020,7 +1020,7 @@ simde_mm_cvtepu32_epi64 (simde__m128i a) {
#if defined(SIMDE_ARM_NEON_A32V7_NATIVE)
r_.neon_u64 = vmovl_u32(vget_low_u32(a_.neon_u32));
- #elif defined(SIMDE_VECTOR_SCALAR) && (SIMDE_ENDIAN_ORDER == SIMDE_ENDIAN_LITTLE)
+ #elif defined(SIMDE_VECTOR_SCALAR) && defined(SIMDE_SHUFFLE_VECTOR_) && (SIM... |
base qual filter using >= to match previous behaviour | @@ -1572,7 +1572,7 @@ cdef class AlignmentFile(HTSFile):
_start <= refpos < _stop:
# only check base quality if _threshold > 0
- if (_threshold and quality and quality[qpos] > _threshold) or not _threshold:
+ if (_threshold and quality and quality[qpos] >= _threshold) or not _threshold:
if seq[qpos] == 'A':
count_a.dat... |
acrn-config: print warning if MMIO BAR size above 4G
Currently MMIO BAR size not support size above 4G,
print warning to user to set the MMIO size in 4G region from BIOS.
Target-On:
Acked-by: Victor Sun | @@ -14,6 +14,18 @@ PCI_END_HEADER = r"""
#endif /* PCI_DEVICES_H_ */"""
+def get_value_after_str(line, key):
+ """ Get the value after cstate string """
+ idx = 0
+ line_in_list = line.split()
+ for idx_key, val in enumerate(line_in_list):
+ if val == key:
+ idx = idx_key
+ break
+
+ return line_in_list[idx + 1]
+
+
de... |
updated to reflect last change in SGDK | @@ -64,7 +64,6 @@ u16 executeSpritesTest(u16 *scores)
VDP_clearPlane(BG_A, TRUE);
VDP_drawText("40 sprites 16x16 (all dynamic)", 1, 2);
SYS_enableInts();
- SYS_doVBlankProcess();
waitMs(5000);
SYS_disableInts();
@@ -103,7 +102,6 @@ u16 executeSpritesTest(u16 *scores)
VDP_clearPlane(BG_A, TRUE);
VDP_drawText("40 sprites... |
npu2-opencapi: Rename functions used to reset an adapter
This is really to avoid confusion with a later patch and clarify
whether we're resetting the ODL or the adapter. | @@ -814,7 +814,7 @@ static void otl_enabletx(uint32_t gcid, uint32_t scom_base,
/* TODO: Abort if credits are zero */
}
-static void assert_reset(struct npu2_dev *dev)
+static void assert_adapter_reset(struct npu2_dev *dev)
{
uint8_t pin, data;
int rc;
@@ -869,7 +869,7 @@ err:
OCAPIERR(dev, "Error writing I2C reset sig... |
Use mbedtls_rsa_info directly in rsa_decrypt_wrap() | @@ -226,7 +226,6 @@ static int rsa_decrypt_wrap( void *ctx,
mbedtls_pk_context key;
int key_len;
unsigned char buf[MBEDTLS_PK_RSA_PRV_DER_MAX_BYTES];
- mbedtls_pk_info_t pk_info = mbedtls_rsa_info;
((void) f_rng);
((void) p_rng);
@@ -241,7 +240,7 @@ static int rsa_decrypt_wrap( void *ctx,
/* mbedtls_pk_write_key_der() ... |
log_warn => log_warning | @@ -69,7 +69,7 @@ int windows_service_start(void (*func)())
svc_main_func = func;
if (!StartServiceCtrlDispatcher(services)) {
- log_warn("WIN: Can not start service: Error %d", GetLastError());
+ log_warning("WIN: Can not start service: Error %d", GetLastError());
return 1;
} else {
return 0;
@@ -141,7 +141,7 @@ stati... |
[hardware] Download bender only if it doesn't exist | @@ -54,7 +54,7 @@ trace := $(patsubst ${buildpath}/%.dasm,${buildpath}/%.trace,$(wildcard ${buildp
VLOG_ARGS += -suppress vlog-2583 -suppress vlog-13314 -suppress vlog-13233
-build: lib ${buildpath}/${dpi_library}/mempool_dpi.so
+build: bender lib ${buildpath}/${dpi_library}/mempool_dpi.so
./bender script vsim --vlog-a... |
Clarify fps_only should not be used without other display params | @@ -353,7 +353,7 @@ Parameters that are enabled by default have to be explicitly disabled. These (cu
| `battery` | Display current battery percent and energy consumption |
| `battery_icon` | Display battery icon instead of percent |
| `battery_color` | Change the BATT text color |
-| `fps_only` | Show FPS without the e... |
autotest: consolidating source code somewhat | /*
- * Copyright (c) 2007 - 2015 Joseph Gaeddert
+ * Copyright (c) 2007 - 2020 Joseph Gaeddert
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
#include "autotest/autotest.h"
#include "liquid.internal.h"
-//
... |
slower adc to reduce dma2 traffic | @@ -94,7 +94,7 @@ void adc_init(void) {
// stream 2, channel 1 / stream 3, channel 1 for adc2
// stream 0, channel 2 / stream 1, channel 2 for adc3
//adc typedef for struct
-// ADC_CommonInitTypeDef ADC_CommonInitStructure; //we may want to use the common init to slow adc down & reduce dma bandwidth taken up on DMA2
+ ... |
Remove "a" from ETC1 coding swizzle | @@ -103,13 +103,13 @@ use today.
| BC1 | `rgba` <sup>1</sup> | `.rgba` | |
| BC3 | `rgba` | `.rgba` | |
| BC3nm | `gggr` | `.ag` | |
-| BC4 | `rrr1` | `.r1` | |
+| BC4 | `rrr1` | `.r` | |
| BC5 | `rrrg` | `.ra` <sup>2</sup> | |
| BC6 | `rgb1` | `.rgb` | HDR profile only |
| BC7 | `rgba` | `.rgba` | |
| EAC_R11 | `rrr1`... |
Fixes UART portmap for Arty. | @@ -72,8 +72,8 @@ class WithArtyJTAGHarnessBinder extends OverrideHarnessBinder({
class WithArtyUARTHarnessBinder extends OverrideHarnessBinder({
(system: HasPeripheryUARTModuleImp, th: ArtyFPGATestHarness, ports: Seq[UARTPortIO]) => {
withClockAndReset(th.clock_32MHz, th.ck_rst) {
- IOBUF(th.uart_txd_in, ports.head.tx... |
engine/eng_lib.c: remove redundant #ifdef. | @@ -75,14 +75,10 @@ int engine_free_util(ENGINE *e, int not_locked)
if (e == NULL)
return 1;
-#ifdef HAVE_ATOMICS
- CRYPTO_DOWN_REF(&e->struct_ref, &i, global_engine_lock);
-#else
if (not_locked)
- CRYPTO_atomic_add(&e->struct_ref, -1, &i, global_engine_lock);
+ CRYPTO_DOWN_REF(&e->struct_ref, &i, global_engine_lock);
... |
[mechanics] occ,mechanics_io: missing import for compute inertia | @@ -242,18 +242,18 @@ psiv = np.vectorize(psi)
#
def compute_inertia_and_center_of_mass(shapes, mass, io=None):
"""
- compute inertia from a list of Shape
+ Compute inertia from a list of Shapes.
"""
from OCC.GProp import GProp_GProps
from OCC.BRepGProp import brepgprop_VolumeProperties
from OCC.gp import gp_Ax1, gp_Di... |
Update documentation URL in README | @@ -17,7 +17,7 @@ built upon the [craftinginterpreters tutorial](http://www.craftinginterpreters.c
Dictu means `simplistic` in Latin.
### Dictu documentation
-Documentation for Dictu can be found [here](https://jason2605.github.io/Dictu/)
+Documentation for Dictu can be found [here](https://dictu-lang.com/)
## Running ... |
Allow providing space sepatated tasks | @@ -9,6 +9,7 @@ less likely to be useful.
import argparse
import sys
import traceback
+import re
import check_test_cases
@@ -157,7 +158,7 @@ def main():
help='Analysis to be done. By default, run all tasks. '
'With one or more TASK, run only those. '
'TASK can be the name of a single task or '
- 'coma-separated list of... |
retry on new blocks | ==
?: ?!(connected.u.provider)
(weld (retry-reqs block.s) retry-txbu)
- ?: (lte block.btc-state block.s) ~
+ ?. (lth block.btc-state block.s) ~
~& > "got new block, retrying {<(lent (retry-reqs block.s))>} reqs "
(retry-reqs block.s)
::
|
Fixes missing link against pthread | @@ -14,7 +14,7 @@ libIlmThread_la_LDFLAGS = -version-info @LIBTOOL_VERSION@ -no-undefined
if LIB_SUFFIX_EXISTS
libIlmThread_la_LDFLAGS += -release @LIB_SUFFIX@
endif
-libIlmThread_la_LIBADD = ../Iex/libIex.la
+libIlmThread_la_LIBADD = ../Iex/libIex.la $(PTHREAD_LIBS)
libIlmThreadincludedir = $(includedir)/OpenEXR
|
NVMe init fix (changed max page size) | @@ -519,7 +519,7 @@ if (SSD1_USED and not ssd1initdone ):
data = (data >> 20) & 0xf
print ('max page size %x' % data)
#data = (4<<20) | (6<<16)| data
- data = (4<<20) | (6<<16) | (0x7<<6) # the nvme host doesn't support max page size
+ data = (4<<20) | (6<<16) | (0x5<<7) # the nvme host doesn't support max page size
NV... |
corrected 'null-terminated string' comment | @@ -369,7 +369,7 @@ osThreadId_t osThreadNew (osThreadFunc_t func, void *argument, const osThreadAtt
/// Get name of a thread.
/// \param[in] thread_id thread ID obtained by \ref osThreadNew or \ref osThreadGetId.
-/// \return name as NULL terminated string.
+/// \return name as null-terminated string.
const char *osTh... |
fix catboost python package build | @@ -9,6 +9,8 @@ PYTHON_ADDINCL()
# add only headers for dynamic linking
ADDINCL(
contrib/python/numpy/numpy/core/include
+ contrib/python/numpy/numpy/core/src/common
+ contrib/python/numpy/numpy/core/src/npymath
)
PEERDIR(
|
WiFi api definition: file doc added | @@ -870,6 +870,7 @@ and 8-bit Java bytecodes in Jazelle state.
<api Cclass="CMSIS Driver" Cgroup="WiFi" Capiversion="1.0.0-beta" exclusive="0">
<description>WiFi driver</description>
<files>
+ <file category="doc" name="CMSIS/Documentation/Driver/html/group__wifi__interface__gr.html" />
<file category="header" name="CM... |
removed code in run_linear_hash.c for testing purposes | @@ -5,6 +5,8 @@ main(
) {
/* runalltests_linear_hash(); */
/* runalltests_flat_file_handler(); */
+
+ /*
ion_key_type_t key_type = key_type_numeric_signed;
ion_key_size_t key_size = sizeof(int);
ion_value_size_t value_size = sizeof(int);
@@ -54,5 +56,7 @@ main(
linear_hash_insert(key, value, insert_hash_to_bucket(key, ... |
Fix str check for py2 | @@ -1303,7 +1303,7 @@ def stringify_builtin_metrics(params):
val = params[f]
if isinstance(val, BuiltinMetric):
params[f] = val.to_string()
- elif isinstance(val, str):
+ elif isinstance(val, STRING_TYPES):
continue
elif isinstance(val, Sequence):
params[f] = stringify_builtin_metrics_list(val)
@@ -2466,7 +2466,7 @@ cl... |
Configurations/10-main.conf: improve Makefile readability on AIX and Solaris. | @@ -232,7 +232,7 @@ my %targets = (
ex_libs => add(threads("-pthread")),
bn_ops => "BN_LLONG",
shared_cflag => "-fPIC",
- shared_ldflag => add("-shared -static-libgcc"),
+ shared_ldflag => add_before("-shared -static-libgcc"),
},
"solaris64-x86_64-gcc" => {
# -shared -static-libgcc might appear controversial, but modul... |
Fixed PLUGIN_DISABLE bug | @@ -74,7 +74,7 @@ AC_DEFUN([PLUGIN_DISABLED],
AC_HELP_STRING([--enable-$1-plugin], [Build $1 plugin]),
[enable_$1_plugin=yes ],
[enable_$1_plugin=no])
- AM_CONDITIONAL(m4_toupper((ENABLE_$1_PLUGIN), test "$enable_$1_plugin" = "yes")
+ AM_CONDITIONAL(m4_toupper(ENABLE_$1_PLUGIN), test "$enable_$1_plugin" = "yes")
m4_app... |
plugs leak in -A filesystem boot event handling | @@ -1393,7 +1393,7 @@ _pier_boot_vent(u3_boot* bot_u)
if ( c3__into == u3h(u3t(ovo)) ) {
c3_assert( 0 == len_w );
len_w++;
- ovo = u3k(u3t(pil_q));
+ ovo = u3t(pil_q);
}
new = u3nc(u3k(ovo), new);
|
Truncate device name at code point boundary
Just in case. | @@ -89,7 +89,7 @@ public final class DesktopConnection implements Closeable {
byte[] buffer = new byte[DEVICE_NAME_FIELD_LENGTH + 4];
byte[] deviceNameBytes = deviceName.getBytes(StandardCharsets.UTF_8);
- int len = Math.min(DEVICE_NAME_FIELD_LENGTH - 1, deviceNameBytes.length);
+ int len = StringUtils.getUtf8Truncatio... |
vppinfra: fix OOM check in bihash
The OOM check must consider the end of alloced arena and
not the start when checking for overflow.
Type: fix | @@ -26,7 +26,7 @@ static inline void *BV (alloc_aligned) (BVT (clib_bihash) * h, uword nbytes)
rv = alloc_arena_next (h);
alloc_arena_next (h) += nbytes;
- if (rv >= alloc_arena_size (h))
+ if (alloc_arena_next (h) > alloc_arena_size (h))
os_out_of_memory ();
return (void *) (uword) (rv + alloc_arena (h));
|
sdmmc: fix possible null dereference in output parameter assignement, whilst it was null checked as an input parameter | @@ -567,6 +567,9 @@ esp_err_t sdmmc_io_get_cis_data(sdmmc_card_t* card, uint8_t* out_buffer, size_t
esp_err_t ret = ESP_OK;
WORD_ALIGNED_ATTR uint8_t buf[CIS_GET_MINIMAL_SIZE];
+ /* Pointer to size is a mandatory parameter */
+ assert(inout_cis_size);
+
/*
* CIS region exist in 0x1000~0x17FFF of FUNC 0, get the start a... |
Reset font pixel density in errhand; | @@ -220,6 +220,7 @@ function lovr.errhand(message, traceback)
lovr.graphics.setBackgroundColor(.11, .10, .14)
lovr.graphics.setColor(.85, .85, .85)
local font = lovr.graphics.getFont()
+ font:setPixelDensity()
font:setFlipEnabled(false)
local wrap = .7 * font:getPixelDensity()
local width, lines = font:getWidth(message... |
changelog: mention test improvements | ## v1.0.2
-Released 2020-05-25
+Released 2020-05-28
- Relaxed version constraint for aeson, allowing `aeson-1.5.*`.
+- Update CI tests to check with GHC versions 8.0 through 8.10.
+ Compilation with GHC 7.10 is no longer tested.
+
+- Bump to stackage LTS-14.
+
## v1.0.1
Released 2020-04-03
|
config: on exit, release parsers | @@ -345,6 +345,11 @@ void flb_config_exit(struct flb_config *config)
}
#endif
+#ifdef FLB_HAVE_PARSER
+ /* parsers */
+ flb_parser_exit(config);
+#endif
+
if (config->storage_path) {
flb_free(config->storage_path);
}
|
[FIX] Linting when using conditionnal directives
fix linting when using conditionnal directives | #define LUOS_ASSERTION
-#if defined UNIT_TEST
+#if defined(UNIT_TEST)
extern void unittest_assert(char *file, uint32_t line);
#define LUOS_ASSERT(expr) \
if (!(expr)) \
@@ -24,10 +24,9 @@ extern void unittest_assert(char *file, uint32_t line);
if (!(expr)) \
Luos_assert(__FILE__, __LINE__)
#else
-#define LUOS_ASSERT(ex... |
YANG parser BUGFIX invalid variable used for pointer arithmetics | if (BUF) {(TARGET) = lydict_insert_zc((CTX)->ctx, WORD);}\
else {(TARGET) = lydict_insert((CTX)->ctx, WORD, LEN);}
-#define MOVE_INPUT(CTX, DATA, COUNT) (*(data))+=COUNT;(CTX)->indent+=COUNT
+#define MOVE_INPUT(CTX, DATA, COUNT) (*(DATA))+=COUNT;(CTX)->indent+=COUNT
/**
* @brief Loop through all substatements providing... |
Map add test | @@ -224,7 +224,7 @@ static void test_array_push(void **state) {
cbor_item_t *array = cbor_new_indefinite_array();
cbor_item_t *string = cbor_build_string("Hello!");
- assert_false(cbor_array_push(array, cbor_move(string)));
+ assert_false(cbor_array_push(array, string));
assert_int_equal(cbor_array_allocated(array), 0)... |
Fix MiscEncodingHandler() to work in builds | @@ -5820,12 +5820,12 @@ MiscEncodingHandler(void *data,
int i;
int high_map = -2; /* Assume a 2-byte sequence */
- if (!strcmp(encoding, "invalid-9") ||
- !strcmp(encoding, "ascii-like") ||
- !strcmp(encoding, "invalid-len") ||
- !strcmp(encoding, "invalid-a") ||
- !strcmp(encoding, "invalid-surrogate") ||
- !strcmp(en... |
fix set key exchange mode issue | @@ -1275,25 +1275,37 @@ static int ssl_tls1_3_finalize_server_hello( mbedtls_ssl_context *ssl )
* following rules:
*
* 1) IF PRE_SHARED_KEY extension was received
- * THEN set MBEDTLS_KEY_EXCHANGE_PSK
+ * THEN set KEY_EXCHANGE_MODE_PSK_EPHEMERAL;
* 2) IF PRE_SHARED_KEY extension && KEY_SHARE was received
- * THEN set M... |
allocator: remove unnecessary scope | @@ -43,7 +43,7 @@ ra_free(allocator *ra)
}
}
-#define ra_alloc(RA, SZ) { \
+#define ra_alloc(RA, SZ) \
assert(SZ >= 0); \
nsz = 256 * 1024; \
if (SZ > nsz) \
@@ -60,7 +60,6 @@ ra_free(allocator *ra)
RA->nextp = RA->memory_region; \
RA->sz = nsz; \
RA->next = NULL; \
- }
/**
* Allocate a new allocator.
|
Transition ~fed from Tlon to "Iceman." | 0w0 :: 233, ~dyn, Tlon
0w0 :: 234, ~dem, Tlon
0w0 :: 235, ~lux, Tlon Investor 15
- 0w0 :: 236, ~fed, Tlon
+ 0w0 :: 236, ~fed, Iceman
0w0 :: 237, ~sed, Tlon
0w0 :: 238, ~bec, Tlon
0w0 :: 239, ~mun, Tlon
|
vm-nommu: remove defines. | @@ -171,7 +171,7 @@ void _page_init(pmap_t *pmap, void **bss, void **top)
proc_lockInit(&pages.lock);
- pages.freesz = VADDR_MAX - (unsigned int)(*bss);
+ pages.freesz = pmap_getMaxVAdrr() - (unsigned int)(*bss);
pages.bootsz = 0;
pages.freeq = (*bss);
@@ -181,7 +181,7 @@ void _page_init(pmap_t *pmap, void **bss, void ... |
tests/run-multitests: Update for Pycopy. | @@ -13,10 +13,10 @@ import pyboard
if os.name == "nt":
CPYTHON3 = os.getenv("MICROPY_CPYTHON3", "python3.exe")
- MICROPYTHON = os.getenv("MICROPY_MICROPYTHON", "../ports/windows/micropython.exe")
+ MICROPYTHON = os.getenv("MICROPY_MICROPYTHON", "../ports/windows/pycopy.exe")
else:
CPYTHON3 = os.getenv("MICROPY_CPYTHON3... |
publish-js: account for missing group | @@ -179,7 +179,7 @@ export class Notebook extends Component {
const group = props.groups[notebook?.['writers-group-path']];
- const role = roleForShip(group, window.ship);
+ const role = group ? roleForShip(group, window.ship) : undefined;
const subsComponent = (this.props.ship.slice(1) === window.ship) || (role === 'a... |
vlapic: unmap vlapic base only for SOS
as SOS mapped all memory at the beginning, so trap vlapic need unmap its
memory; for UOS, there is no need as UOS never mapped it. | @@ -1970,6 +1970,8 @@ int vlapic_create(struct vcpu *vcpu)
if (is_vcpu_bsp(vcpu)) {
uint64_t *pml4_page =
(uint64_t *)vcpu->vm->arch_vm.nworld_eptp;
+ /* only need unmap it from SOS as UOS never mapped it */
+ if (is_vm0(vcpu->vm))
ept_mr_del(vcpu->vm, pml4_page,
DEFAULT_APIC_BASE, CPU_PAGE_SIZE);
|
Update changelog.` | @@ -3,6 +3,7 @@ All notable changes to this project will be documented in this file.
## Unreleased - ???
- Update meson build script to fix bug on Debian's version of meson
+- Add `xprint`, `xprin`, `xprintf`, and `xprinf`.
## 1.11.3 - 2020-08-03
- Add `JANET_HASHSEED` environment variable when `JANET_PRF` is enabled.
|
Take care of HV counter latching (when light guns are in use) | @@ -412,6 +412,10 @@ void _vint_callback()
// detect if we are too late
bool late = FALSE;
+
+ // we cannot detect late frame if HV latching is enabled..
+ if (!VDP_getHVLatching())
+ {
// V28 mode
if (VDP_getScreenHeight() == 224)
{
@@ -424,6 +428,7 @@ void _vint_callback()
// V Counter outside expected range ? (rollb... |
Adds convert to map for celix::Properties | @@ -259,6 +259,38 @@ namespace celix {
std::size_t size() const {
return celix_properties_size(cProps.get());
}
+
+ /**
+ * @brief Converts the properties a (new) std::string, std::string map.
+ */
+ std::map<std::string, std::string> convertToMap() const {
+ std::map<std::string, std::string> result{};
+ for (const au... |
I did some more cleanup on the 2.13 release notes. | @@ -49,7 +49,7 @@ enhancements and bug-fixes that were added to this release.</p>
<li>Corrected a bug plotting SAMRAI data where blank plots would get generated when curvilinear mesh blocks are completely surrounded by a layer of ghost zones.</li>
<li>Added a reader for the SPCTH (Spy) file format.</li>
<li>Updated the... |
[swig] off-by-1 error | @@ -45,7 +45,7 @@ static char* format_msg_concat(const char* msg1, const char* msg2)
{
strncpy(error_msg, msg1, strlen(msg1)+1);
strncat(error_msg, "\n", 2);
- strncat(error_msg, msg2, strlen(msg2) - 1);
+ strncat(error_msg, msg2, strlen(msg2));
return error_msg;
}
|
naive: wrong key L2 %escape on L1 works | [escape.net sponsor.net]:(~(got by points.state) ~larsyx-mapmeg)
==
::
+:: the following tests are for sponsorship actions between two L1 points
+++ test-red-l1-escape-l2-adopt ^- tang
+ =/ rr-adopt [rigred-own %adopt ~rabsum-ravtyd]
+ %+ expect-eq
+ !> [~ %.y ~rigred]
+ ::
+ !>
+ =| =^state:naive
+ =^ f state (init-re... |
Wrap app_fips_init_lcl.h with ACVP_NO_RUNTIME | #ifndef LIBACVP_APP_FIPS_INIT_LCL_H
#define LIBACVP_APP_FIPS_INIT_LCL_H
+#ifdef ACVP_NO_RUNTIME
+
#ifdef __cplusplus
extern "C"
{
@@ -102,5 +104,7 @@ static void fips_algtest_init_nofips(void)
}
#endif
+#endif // ACVP_NO_RUNTIME
+
#endif // LIBACVP_APP_FIPS_INIT_LCL_H
|
lib/protocol_ftp.c: remove HTTP proxy stuff (was commented out)
closes
Forget about FTP over HTTP, this is just too obscure to even test | @@ -36,7 +36,6 @@ static gftp_textcomboedt_data gftp_proxy_type[] = {
{N_("AUTHENTICATE"), "USER %hu@%hh\nPASS %hp\nSITE AUTHENTICATE %pu\nSITE RESPONSE %pp\n", 0},
{N_("user@host port"), "USER %hu@%hh %ho\nPASS %hp\n", 0},
{N_("user@host NOAUTH"), "USER %hu@%hh\nPASS %hp\n", 0},
- ///{N_("HTTP Proxy"), "http", 0},
{N_... |
Add more SceGpioForDriver NIDs | @@ -5268,3 +5268,8 @@ modules:
nid: 0xF0EF5743
functions:
ksceGpioQueryIntr: 0x010DC295
+ ksceGpioSetPortMode: 0x372022A4
+ ksceGpioSetIntrMode: 0xBBEA1DDC
+ ksceGpioPortSet: 0xD454A584
+ ksceGpioPortClear: 0xF6310435
+ ksceGpioAcquireIntr: 0x35AAD77A
|
Jenkins: Increase test timeout
This update closes | @@ -1173,7 +1173,7 @@ def withDockerEnv(image, opts=[], cl) {
}
docker.withRegistry("https://${REGISTRY}",
'docker-hub-elektra-jenkins') {
- timeout(activity: true, time: 5, unit: 'MINUTES') {
+ timeout(activity: true, time: 10, unit: 'MINUTES') {
def cpu_count = cpuCount()
withEnv(["MAKEFLAGS='-j${cpu_count+2} -l${cpu... |
feature(ci): Build split w/ display enabled for testing. | @@ -55,6 +55,7 @@ jobs:
- splitreus62_right
- tg4x
- tidbit
+ cmake-args: [""]
include:
- board: dz60rgb_rev1
- board: nrf52840_m2
@@ -62,6 +63,14 @@ jobs:
- board: planck_rev6
- board: proton_c
shield: clueboard_california
+ - board: nice_nano
+ shield: kyria_left
+ cmake-args: -DCONFIG_ZMK_DISPLAY=y
+ skip-archive: t... |
config: do not remove collectors on exit | @@ -378,13 +378,6 @@ void flb_config_exit(struct flb_config *config)
}
}
- /* Collectors */
- mk_list_foreach_safe(head, tmp, &config->collectors) {
- collector = mk_list_entry(head, struct flb_input_collector, _head);
- mk_list_del(&collector->_head);
- flb_input_collector_destroy(collector);
- }
-
flb_env_destroy(con... |
Don't use a wildcard in Makefile if you are going to overwrite it | @@ -60,7 +60,7 @@ OUTPUT_NAME = $(shell basename $(PROJECT))
SDL_LIBS = `sdl2-config --libs`
# Glom all .cpp files from the testbed
-TESTBED_SRC_FILES := $(wildcard $(TESTBED)/*.cpp)
+TESTBED_SRC_FILES := $(TESTBED)/Main.cpp
# Glom all .cpp files from our desired project
PROJECT_SRC_FILES := $(wildcard $(PROJECT)/*.cpp... |
external/libcxx: Add #ifdef statement in ctime
asctime, ctime, localtime needs CONFIG_LIBC_LOCALTIME | @@ -78,11 +78,15 @@ namespace std
using ::clock_gettime;
using ::mktime;
using ::time;
+#if defined(CONFIG_LIBC_LOCALTIME) || defined(CONFIG_TIME_EXTENDED)
using ::asctime;
using ::ctime;
+ #endif
using ::gmtime;
using ::gmtime_r;
+#ifdef CONFIG_LIBC_LOCALTIME
using ::localtime;
+#endif
using ::timer_create;
using ::ti... |
EVP_PKEY_get0_engine documentation | @@ -9,7 +9,7 @@ EVP_PKEY_assign_RSA, EVP_PKEY_assign_DSA, EVP_PKEY_assign_DH,
EVP_PKEY_assign_EC_KEY, EVP_PKEY_assign_POLY1305, EVP_PKEY_assign_SIPHASH,
EVP_PKEY_get0_hmac, EVP_PKEY_get0_poly1305, EVP_PKEY_get0_siphash,
EVP_PKEY_type, EVP_PKEY_id, EVP_PKEY_base_id, EVP_PKEY_set_alias_type,
-EVP_PKEY_set1_engine - EVP_P... |
doc: fix wording in DESIGN.md | @@ -4,7 +4,7 @@ This document describes the design of Elektra's C-API and provides hints for
binding writers. It is not aimed at plugin writers, since it does not
talk about the implementation details of Elektra.
-Elektra [aims](GOALS.md) at following design principles:
+Elektra [aims](GOALS.md) to fulfill the followin... |
dpdk: bump to 18.02 | @@ -24,7 +24,7 @@ DPDK_MLX5_PMD ?= n
B := $(DPDK_BUILD_DIR)
I := $(DPDK_INSTALL_DIR)
-DPDK_VERSION ?= 17.11
+DPDK_VERSION ?= 18.02
PKG_SUFFIX ?= vpp1
DPDK_BASE_URL ?= http://fast.dpdk.org/rel
DPDK_TARBALL := dpdk-$(DPDK_VERSION).tar.xz
|
Travis: Treat warnings as errors (Linux/Clang) | @@ -84,6 +84,7 @@ before_script:
- SYSTEM_DIR="$PWD/kdbsystem"
- mkdir build && cd build
- CMAKE_OPT=()
+ - if [[ "$TRAVIS_OS_NAME" == "linux" && "$CC" == "clang" ]]; then CMAKE_OPT+=("-DCOMMON_FLAGS=-Werror"); fi;
- echo $PATH
- plugins="ALL;-jni";
- if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
pack: gelf: initialize 'val_len' variable | @@ -495,7 +495,7 @@ flb_sds_t flb_msgpack_to_gelf(flb_sds_t *s, msgpack_object *o,
const char *key = NULL;
int key_len;
const char *val = NULL;
- int val_len;
+ int val_len = 0;
int quote = FLB_FALSE;
int custom_key = FLB_FALSE;
|
Ensure we exchange cookies in s_server even if SCTP is disabled | @@ -2262,11 +2262,10 @@ static int sv_body(int s, int stype, int prot, unsigned char *context)
BIO_ctrl(sbio, BIO_CTRL_DGRAM_MTU_DISCOVER, 0, NULL);
# ifndef OPENSSL_NO_SCTP
- if (prot != IPPROTO_SCTP) {
+ if (prot != IPPROTO_SCTP)
+# endif
/* Turn on cookie exchange. Not necessary for SCTP */
SSL_set_options(con, SSL_... |
RSA: only run generate key test if we have MPI HW support
Test would take too long and time out on C2. | @@ -559,7 +559,6 @@ static void rsa_key_operations(int keysize, bool check_performance, bool generat
mbedtls_rsa_free(&rsa);
}
-#endif // CONFIG_MBEDTLS_HARDWARE_MPI
TEST_CASE("mbedtls RSA Generate Key", "[mbedtls][timeout=60]")
{
@@ -598,3 +597,5 @@ TEST_CASE("mbedtls RSA Generate Key", "[mbedtls][timeout=60]")
#endif... |
Fix CI master check | @@ -48,7 +48,7 @@ search () {
done
}
-submodules=("ariane" "boom" "gemmini" "hwacha" "icenet" "nvdla" "rocket-chip" "sha3" "sifive-blocks" "sifive-cache" "testchipip" "sodor")
+submodules=("ariane" "boom" "gemmini" "hwacha" "icenet" "nvdla" "rocket-chip" "sha3" "sifive-blocks" "sifive-cache" "testchipip" "riscv-sodor")... |
hfuzz-cc: use clang-15 if it exists | @@ -179,6 +179,8 @@ static int execCC(int argc, char** argv) {
if (isCXX) {
/* Try the default one, then the newest ones (hopefully) in order */
hf_execvp("clang++", argv);
+ hf_execvp("clang++-15.0", argv);
+ hf_execvp("clang++-15", argv);
hf_execvp("clang++-14.0", argv);
hf_execvp("clang++-14", argv);
hf_execvp("clan... |
Fix hardfault when DCache is disabled with no callback | @@ -241,6 +241,7 @@ static void invalidate_cache(void)
if(disp->driver.clean_dcache_cb) disp->driver.clean_dcache_cb(&disp->driver);
else {
#if __CORTEX_M >= 0x07
+ if((SCB->CCR) & (uint32_t)SCB_CCR_DC_Msk)
SCB_CleanInvalidateDCache();
#endif
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.