message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Fix DRBG test vector download link | #include "testlib/s2n_testlib.h"
-/* Test vectors are taken from http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgtestvectors.zip
+/* Test vectors are taken from https://csrc.nist.gov/CSRC/media/Projects/Cryptographic-Algorithm-Validation-Program/documents/drbg/drbgtestvectors.zip
* - drbgvectors_pr_true/CTR_DRB... |
Increase the maximum TCS value | @@ -26,7 +26,7 @@ typedef struct _oe_sgx_enclave_image_info_t
} oe_sgx_enclave_image_info_t;
/* Max number of threads in an enclave supported */
-#define OE_SGX_MAX_TCS 32
+#define OE_SGX_MAX_TCS 1024
// oe_sgx_enclave_properties_t SGX enclave properties derived type
#define OE_SGX_FLAGS_DEBUG 0x0000000000000002ULL
|
DSP: Fix issue gnu compiler specific diagnostics in arm_math.h | #ifndef _ARM_MATH_H
#define _ARM_MATH_H
-/* ignore some GCC warnings */
-#if defined ( __GNUC__ )
+/* Compiler specific diagnostic adjustment */
+#if defined ( __CC_ARM )
+
+#elif defined ( __ARMCC_VERSION ) && ( __ARMCC_VERSION >= 6010050 )
+
+#elif defined ( __GNUC__ )
#pragma GCC diagnostic push
#pragma GCC diagnost... |
zephyr/shim/include/zephyr_adc.h: Format with clang-format
BRANCH=none
TEST=none | @@ -38,9 +38,7 @@ extern struct adc_t adc_channels[];
#endif /* CONFIG_ADC_CHANNELS_RUNTIME_CONFIG */
#else
/* Empty declaration to avoid warnings if adc.h is included */
-enum adc_channel {
- ADC_CH_COUNT
-};
+enum adc_channel { ADC_CH_COUNT };
#endif /* CONFIG_PLATFORM_EC_ADC */
#endif /* __CROS_EC_ZEPHYR_ADC_H */
|
Remove inline functions which prevent compile | @@ -402,14 +402,6 @@ static inline uint8_t lv_color_brightness(lv_color_t color)
(uint8_t) ((uint32_t)(c & 0xF0) | ((c & 0xF0) >> 4)), \
(uint8_t) ((uint32_t)(c & 0xF) | ((c & 0xF) << 4)))
-static inline lv_color_t lv_color_hex(uint32_t c){
- return LV_COLOR_HEX(c);
-}
-
-static inline lv_color_t lv_color_hex3(uint32_t... |
wireless/bluetooth/btsak: Correct format of help for GATT commands. | @@ -688,7 +688,7 @@ void btsak_gatt_showusage(FAR const char *progname, FAR const char *cmd,
FAR const struct btsak_command_s *gattcmd = &g_btsak_gatt_commands[i];
if (gattcmd->help != NULL)
{
- fprintf(stderr, "\t%-10gdbs\t%s\n", gattcmd->name, gattcmd->help);
+ fprintf(stderr, "\t%-10s\t%s\n", gattcmd->name, gattcmd-... |
runtime - avoid potential memory errors | @@ -40,7 +40,6 @@ void __noinline __net_recurrent(void)
{
shmptr_t shm;
struct mbuf *m;
- struct rx_net_hdr *rxhdr;
struct kthread *k = myk();
assert_preempt_disabled();
@@ -57,6 +56,7 @@ void __noinline __net_recurrent(void)
return;
}
+#if 0
/* drain RX completions */
while (!mbufq_empty(&k->txcmdq_overflow)) {
m = mb... |
imu: remove unused functions | #define ACC_MIN 0.7f
#define ACC_MAX 1.3f
-#define _sinf(val) sinf(val)
-#define _cosf(val) cosf(val)
-
-void vectorcopy(float *vector1, float *vector2) {
- for (int axis = 0; axis < 3; axis++) {
- vector1[axis] = vector2[axis];
- }
-}
-
#ifdef QUICKSILVER_IMU
static filter_lp_pt1 filter;
static filter_state_t filter_p... |
probably better to have window set at 0xF000 by default | #include "font.h"
-#define WINDOW_DEFAULT 0xD000 // multiple of 0x1000 (0x0800 in H32)
+#define WINDOW_DEFAULT 0xF000 // multiple of 0x1000 (0x0800 in H32)
#define HSCRL_DEFAULT 0xD800 // multiple of 0x0400
#define SLIST_DEFAULT 0xDC00 // multiple of 0x0400 (0x0200 in H32)
#define APLAN_DEFAULT 0xE000 // multiple of 0x... |
Refactor where generate blurred image before resample | @@ -11996,6 +11996,39 @@ Image_rendering_intent_eq(VALUE self, VALUE ri)
}
+#if defined(IMAGEMAGICK_7)
+/**
+ * Create new blurred image.
+ *
+ * No Ruby usage (internal function)
+ *
+ * @param image the image
+ * @param blur the blur
+ * @return NULL if not apply blur, otherwise a new image
+ */
+static Image*
+blurr... |
ames: in |close-flows fix bug matching subs wire | ?~ duct ~
:: inspect the wires in the duct, looking for subscriptions
::
-?. ?=([%gall %use sub=@ @ %out @ @ nonce=@ pub=@ ~] i.duct)
+?. ?=([%gall %use sub=@ @ %out @ @ nonce=@ pub=@ *] i.duct)
$(duct t.duct)
:: extra security check so we know that the nonce is a number
::
|
web-ui: allow setting visibility when creating keys | @@ -43,10 +43,10 @@ export default class AddDialog extends Component {
}
handleClose = () => {
- const { onClose } = this.props
+ const { onClose, instanceVisibility } = this.props
this.setState({
name: '', value: '', type: 'any',
- visibility: props.instanceVisibility || 'user',
+ visibility: instanceVisibility || 'us... |
docs(setup): remove extra slash from Fedora toolchain install command | @@ -318,7 +318,7 @@ To build firmwares for the ARM architecture (all supported MCUs/keyboards at thi
export ZSDK_VERSION=0.11.4
wget -q "https://github.com/zephyrproject-rtos/sdk-ng/releases/download/v${ZSDK_VERSION}/zephyr-toolchain-arm-${ZSDK_VERSION}-setup.run" && \
sh "zephyr-toolchain-arm-${ZSDK_VERSION}-setup.run... |
arch/xtensa: Remove non-existent ARCH_HAVE_TESTSET support for ESP32-S2 | @@ -54,7 +54,6 @@ config ARCH_CHIP_ESP32S2
select ARCH_HAVE_SDRAM
select ARCH_HAVE_RESET
select ARCH_HAVE_BOOTLOADER
- select ARCH_HAVE_TESTSET
select ARCH_VECNOTIRQ
select LIBC_ARCH_ATOMIC
select LIBC_ARCH_MEMCPY
|
more cleanup in RELEASE.md | @@ -59,8 +59,8 @@ we need to.
## Workflows
-We use GitHub Workflows and Actions to automate CI/CD tasks for the AppScope
-code when changes are made in the project's repository. The
+We use GitHub Workflows and Actions to automate CI/CD tasks for the project
+when changes are made in the repository. The
[`build`](../.g... |
Inproving huristic to handle cases where there is lots of valid data coming in that is starving out the time trace ops. | @@ -289,7 +289,6 @@ static bool EnableTrace(stlink_t* stlink, const st_settings_t* settings, uint32_
DBGMCU_CR_DBG_STANDBY | DBGMCU_CR_TRACE_IOEN |
DBGMCU_CR_TRACE_MODE_ASYNC); // Enable async tracing
- DLOG("Setting trace frequency to %d Hz.\n", trace_frequency);
if (stlink_trace_enable(stlink, trace_frequency)) {
ELO... |
Warn if `lv_obj_set_pos` is called on a screen object | @@ -726,6 +726,11 @@ void lv_obj_set_pos(lv_obj_t * obj, lv_coord_t x, lv_coord_t y)
/*Convert x and y to absolute coordinates*/
lv_obj_t * par = obj->par;
+ if(par == NULL) {
+ LV_LOG_WARN("lv_obj_set_pos: not changing position of screen object");
+ return;
+ }
+
x = x + par->coords.x1;
y = y + par->coords.y1;
|
Fix neutrino parameter declaration in ccl_sample_angpow.cc; fixes | #define SZ_SH 0.05
#define NL 499
#define PS 0.1
-#define NREL 3.046
-#define NMAS 0
-#define MNU 0.0
+#define NEFF 3.046
void print_params(int l_limber,const char *fname_params,const char *prefix_out)
{
@@ -77,7 +75,13 @@ int main(int argc,char **argv)
ccl_configuration config=default_config;
config.transfer_function_... |
Fix bundle allocation in go_mem() | @@ -229,13 +229,18 @@ int dill_prologue(sigjmp_buf **jb, void **ptr, size_t len, int bndl,
/* Return ECANCELED if shutting down. */
int rc = dill_canblock();
if(dill_slow(rc < 0)) {err = ECANCELED; goto error1;}
- /* If bundle is not supplied by the user create one. */
+ /* If bundle is not supplied by the user create ... |
Update num msgs in test_table.py for timing telem | @@ -44,7 +44,7 @@ def test_table_count():
Test number of available messages to deserialize.
"""
- number_of_messages = 160
+ number_of_messages = 162
assert len(_SBP_TABLE) == number_of_messages
def test_table_unqiue_count():
|
evp_test: Skip testcase if r parameter is unsupported
The r parameter of the KBKDF is unsupported by 3.0 FIPS module. | @@ -2651,6 +2651,13 @@ static int kdf_test_ctrl(EVP_TEST *t, EVP_KDF_CTX *kctx,
if (p != NULL)
*p++ = '\0';
+ if (strcmp(name, "r") == 0
+ && OSSL_PARAM_locate_const(defs, name) == NULL) {
+ TEST_info("skipping, setting 'r' is unsupported");
+ t->skip = 1;
+ goto end;
+ }
+
rv = OSSL_PARAM_allocate_from_text(kdata->p, ... |
Fixed off by one error for LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN | #define NO_BREAK_FOUND UINT32_MAX
#define LV_TXT_LINE_BREAK_LONG_LEN 12 /* If a character is at least this long, will break wherever "prettiest" */
#define LV_TXT_LINE_BREAK_LONG_PRE_MIN_LEN 3 /* Minimum number of characters of a word to put on a line before a break */
-#define LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN 3 /* ... |
completed ccl_data_free(ccl_data * data) to include all splines + accelerators in ccl_data | @@ -505,6 +505,8 @@ void ccl_data_free(ccl_data * data)
gsl_spline_free(data->achi);
if(data->logsigma!=NULL)
gsl_spline_free(data->logsigma);
+ if(data->dlnsigma_dlogm!=NULL)
+ gsl_spline_free(data->dlnsigma_dlogm);
if(data->p_lin!=NULL)
gsl_spline2d_free(data->p_lin);
if(data->p_nl!=NULL)
@@ -521,6 +523,10 @@ void cc... |
Add device type USBOTG to redef.h | @@ -908,6 +908,7 @@ enum rt_device_class_type
RT_Device_Class_I2CBUS, /**< I2C bus device */
RT_Device_Class_USBDevice, /**< USB slave device */
RT_Device_Class_USBHost, /**< USB host bus */
+ RT_Device_Class_USBOTG, /**< USB OTG bus */
RT_Device_Class_SPIBUS, /**< SPI bus device */
RT_Device_Class_SPIDevice, /**< SPI ... |
No other objects should be allocated before a typedarray is fully
initialized.
All members of an object must be valid when the garbage collector runs,
so no allocations are allowed during typed array initialization.
Fix issue
JerryScript-DCO-1.0-Signed-off-by: Zidong Jiang | @@ -214,6 +214,9 @@ ecma_typedarray_create_object_with_length (ecma_length_t array_length, /**< leng
lit_magic_string_id_t class_id) /**< class name of the typedarray */
{
ecma_length_t byte_length = array_length << element_size_shift;
+
+ ecma_value_t new_arraybuffer_p = ecma_make_object_value (ecma_arraybuffer_new_ob... |
edit for changing zl dependencies | @@ -54,6 +54,7 @@ xbendout.class.sources := cyclone_src/binaries/control/xbendout.c
xbendout2.class.sources := cyclone_src/binaries/control/xbendout2.c
xnotein.class.sources := cyclone_src/binaries/control/xnotein.c
xnoteout.class.sources := cyclone_src/binaries/control/xnoteout.c
+zl.class.sources := cyclone_src/binar... |
libhfcommon: convert msec to nsec | @@ -250,7 +250,7 @@ void util_sleepForMSec(uint64_t msec) {
}
struct timespec ts = {
.tv_sec = msec / 1000U,
- .tv_nsec = msec % 1000U,
+ .tv_nsec = (msec % 1000U) * 1000000U,
};
TEMP_FAILURE_RETRY(nanosleep(&ts, &ts));
}
|
filter_kubernetes: stop caching metadata for failed api server query | @@ -885,9 +885,12 @@ static int get_and_merge_meta(struct flb_kube *ctx, struct flb_kube_meta *meta,
char *api_buf;
size_t api_size;
- get_api_server_info(ctx,
+ ret = get_api_server_info(ctx,
meta->namespace, meta->podname,
&api_buf, &api_size);
+ if (ret == -1) {
+ return -1;
+ }
ret = merge_meta(meta, ctx,
api_buf, ... |
ResetSystem: Support reboot into firmware | @@ -12,6 +12,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
+#include <Guid/GlobalVariable.h>
#include <Uefi.h>
#include <Library/BaseMemoryLib.h>
#include <Library/OcDebugLogLib.h>
@@ -33,6 +34,9 @@ UefiMain (
CHAR16 **Argv;
CHAR16 *Mode;
EFI_RESET_TYPE ResetMode;
+ UINT64 OsInd... |
pyocf: fix acp security test | @@ -239,7 +239,7 @@ def test_neg_set_acp_param(pyocf_ctx, cm, cls):
if i in [item.value for item in AcpParams]:
continue
with pytest.raises(OcfError, match="Error setting cleaning policy param"):
- cache.set_cleaning_policy_param(CleaningPolicy.ALRU, i, 1)
+ cache.set_cleaning_policy_param(CleaningPolicy.ACP, i, 1)
def... |
xml BUGFIX ly_getutf8 return code check | @@ -606,7 +606,10 @@ lyxml_open_element(struct lyxml_ctx *xmlctx, const char *prefix, size_t prefix_l
/* parse and store all namespaces */
prev_input = xmlctx->in->current;
is_ns = 1;
- while ((xmlctx->in->current[0] != '\0') && !ly_getutf8(&xmlctx->in->current, &c, &parsed) && is_xmlqnamestartchar(c)) {
+ while ((xmlc... |
Linux Makefile: list "all" target before others
Change 24639 listed the "test" target before "all".
This change ensures that the stack and samples are built
when make is run without a target. | @@ -110,10 +110,10 @@ CONSTRAINED_LIBS = libiotivity-constrained-server.a libiotivity-constrained-clie
PC = iotivity-constrained-client.pc iotivity-constrained-server.pc \
iotivity-constrained-client-server.pc
-test: $(GTEST) $(UNIT_TESTS)
-
all: $(CONSTRAINED_LIBS) $(SAMPLES) $(PC)
+test: $(GTEST) $(UNIT_TESTS)
+
.PHO... |
btc: match bridgeInvoice.js sending button style to invoice.js | @@ -221,9 +221,12 @@ export default class BridgeInvoice extends Component {
mr={3}
fontSize={1}
borderRadius='24px'
+ border='none'
height='48px'
onClick={() => this.sendBitcoin(txHex)}
- disabled={!this.state.ready || error}
+ disabled={!this.state.ready || error || this.state.broadcasting}
+ color={(this.state.ready ... |
chat-cli: update tab-complete to static gall | %det (edit +.dat.act)
%clr [~ all-state]
%ret obey
- %tab (tab +.act)
+ %tab (tab +.dat.act)
==
:: +tab-list: static list of autocomplete entries
++ tab-list
==
++ tab
|= pos=@ud
- ^- (quip move _this)
+ ^- (quip card state)
?. =(';' (snag 0 buf.state.cli))
- [~ this]
+ [~ all-state]
=+ (get-id:auto pos (tufa buf.state... |
[awm2] Drop dead code | @@ -328,22 +328,6 @@ enum MouseInteractionState {
PerformingWindowResize(Rc<Window>),
}
-struct InteractionState {
- dragged_window: Option<Rc<Window>>,
- window_under_mouse: Option<Rc<Window>>,
- mouse_state: MouseInteractionState,
-}
-
-impl InteractionState {
- fn new() -> Self {
- Self {
- dragged_window: None,
- w... |
Debugging: print the first 5 array values being set | @@ -692,10 +692,16 @@ int grib_set_double_array_internal(grib_handle* h, const char* name, const doubl
static int __grib_set_double_array(grib_handle* h, const char* name, const double* val, size_t length, int check)
{
double v=0;
- int constant,i;
+ size_t i=0;
- if (h->context->debug)
- fprintf(stderr, "ECCODES DEBUG... |
Bind all addresses for multihoming | @@ -2550,9 +2550,7 @@ combine_candidates(neat_flow *flow, struct neat_he_candidates *candidate_list)
if (!flow->isSCTPMultihoming) {
return;
}
- if (flow->user_ips == NULL) {
- return;
- }
+
neat_log(flow->ctx, NEAT_LOG_DEBUG, "%s", __func__);
TAILQ_FOREACH(candidate, candidate_list, next) {
|
Doc: Correct deduplicate_items varlistentry id.
Use a varlistentry id for the deduplicate_items storage parameter that
is derived from the name of the parameter itself.
This oversight happened because the storage parameter was renamed
relatively late during the development of the patch that became commit | @@ -399,7 +399,7 @@ CREATE [ UNIQUE ] INDEX [ CONCURRENTLY ] [ [ IF NOT EXISTS ] <replaceable class=
</para>
<variablelist>
- <varlistentry id="index-reloption-deduplication" xreflabel="deduplicate_items">
+ <varlistentry id="index-reloption-deduplicate-items" xreflabel="deduplicate_items">
<term><literal>deduplicate_i... |
Basking: Add CPT battery config
update CPT's config
BRANCH=firmware-reef-9042.B
TEST=`make -j BOARD=reef`
Tested-by: David Huang | @@ -313,40 +313,64 @@ static const struct fast_charge_params fast_chg_params_smp_c22n1626 = {
};
static const struct fast_charge_profile fast_charge_cpt_c22n1626_info[] = {
- /* < 0C */
+ /* < 1C */
[TEMP_RANGE_0] = {
- .temp_c = TEMPC_TENTHS_OF_DEG(-1),
+ .temp_c = TEMPC_TENTHS_OF_DEG(0),
.current_mA = {
[VOLTAGE_RANG... |
app/shell: Fix definitions of TASH debug
Build errors that occur due to shvdbg when TASH debug config is enabled
are fixed. | #ifdef CONFIG_DEBUG_TASH
#ifdef CONFIG_DEBUG_TASH_ERROR
#define shdbg(format, ...) dbg(format, ##__VA_ARGS__)
+#else
+#define shdbg(...)
#endif
#ifdef CONFIG_DEBUG_TASH_INFO
#define shvdbg(format, ...) vdbg(format, ##__VA_ARGS__)
+#else
+#define shvdbg(...)
#endif
#else /* !CONFIG_DEBUG_TASH */
#define shdbg(...)
|
update ya tool arc
checkout multiple paths at once
no free args for clean / fetch / pr
okernel_cache for fuse
set atime, ctime and mtime on readdir
don't try to obtain token via ssh
print info about TStatus::Unauthorized
stat for .arc files | },
"arc": {
"formula": {
- "sandbox_id": [309012290],
+ "sandbox_id": [311261386],
"match": "arc"
},
"executable": {
|
Enable VSCALE0 for revision V devices. | @@ -189,7 +189,16 @@ void SystemClock_Config(void)
/* The voltage scaling allows optimizing the power consumption when the device is
clocked below the maximum system frequency, to update the voltage scaling value
regarding system frequency refer to product datasheet. */
+ #if defined(MCU_SERIES_H7)
+ // Enable VSCALE0 ... |
Fixed advanced search behavior when advanced entity are enabled
When clicking the search button it now correctly searches for the elements set in the advacned search interface
and not for the previous search. | @@ -819,6 +819,7 @@ AjaxFranceLabs.AdvancedSearchWidget = AjaxFranceLabs.AbstractWidget.extend({
}
// Replace the query that was in the manager by the finalFilter value
+ this.manager.store.remove('entQ');
this.manager.store.remove('q');
this.manager.store.addByValue('q', finalFilter);
|
vlib: add process restart cli | #include <vlib/vlib.h>
#include <vppinfra/cpu.h>
+#include <unistd.h>
/* Root of all show commands. */
/* *INDENT-OFF* */
@@ -757,6 +758,25 @@ VLIB_CLI_COMMAND (cmd_test_heap_validate,static) = {
};
/* *INDENT-ON* */
+static clib_error_t *
+restart_cmd_fn (vlib_main_t * vm, unformat_input_t * input,
+ vlib_cli_command_... |
Updated wget URL on rpm install | @@ -82,7 +82,7 @@ The AOMP bin directory (which includes the standard clang and llvm binaries) is
### RPM Install
For rpm-based Linux distributions, use this rpm
```
-wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_0.6-0/aomp-0.6-0.x86_64.rpm
+wget https://github.com/ROCm-Developer-Tools/aomp/re... |
sub shm BUGFIX missing read and write unlock on error
Fixes | @@ -590,7 +590,7 @@ sr_shmsub_change_notify_update(struct sr_mod_info_s *mod_info, sr_sid_t sid, uin
/* remap sub SHM once we have the lock, it will do anything only on the first call */
err_info = sr_shm_remap(&shm_sub, sizeof *multi_sub_shm + diff_lyb_len);
if (err_info) {
- goto cleanup;
+ goto cleanup_wrunlock;
}
m... |
Improved world editor spacing | @@ -30,6 +30,7 @@ class WorldEditor extends Component {
<div className="WorldEditor">
<h2>Settings</h2>
+ <div>
<FormField>
<label>
<input
@@ -53,6 +54,7 @@ class WorldEditor extends Component {
Show Connections
</label>
</FormField>
+ </div>
<h2>Start Map</h2>
@@ -67,33 +69,32 @@ class WorldEditor extends Component {
... |
Add deployment for GitHub releases in Travis. | @@ -33,6 +33,7 @@ dist: trusty
env:
global:
- DOCKER_COMPOSE_VERSION: 1.22.0
+ - GHR_VERSION: 0.12.0
- GIT_SUBMODULE_STRATEGY: recursive
- IMAGE_REGISTRY: registry.hub.docker.com
- IMAGE_NAME: registry.hub.docker.com/$TRAVIS_REPO_SLUG
@@ -45,7 +46,7 @@ addons:
before_install:
- sudo rm /usr/local/bin/docker-compose
- -... |
Fix comments (#endif flags) | @@ -5023,10 +5023,7 @@ static int ssl_use_opaque_psk( mbedtls_ssl_context const *ssl )
return( 0 );
}
#endif /* MBEDTLS_USE_PSA_CRYPTO &&
- ( MBEDTLS_KEY_EXCHANGE_PSK_ENABLED ||
- MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED ||
- MBEDTLS_KEY_EXCHANGE_ECDHE_PSK_ENABLED ||
- MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED ) */
+ MBEDTLS_KE... |
Turn off software debounce for platform cooja buttons | @@ -155,6 +155,8 @@ typedef unsigned long clock_time_t;
/* Virtual button on pin 3 */
#define COOJA_BTN_PIN 3
+
+#define BUTTON_HAL_CONF_DEBOUNCE_DURATION 0
/*---------------------------------------------------------------------------*/
/* Virtual LED colors */
#define LEDS_CONF_COUNT 3
|
hw/battery: Fix assert check in shell_register | @@ -428,5 +428,5 @@ battery_shell_register(void)
SYSINIT_PANIC_ASSERT_MSG(rc == 0, "Failed to register battery shell");
bat = os_dev_open("battery_0", 0, NULL);
- SYSINIT_PANIC_ASSERT_MSG(rc == 0, "Failed to open battery device");
+ SYSINIT_PANIC_ASSERT_MSG(bat != NULL, "Failed to open battery device");
}
|
VERSION bump to version 1.4.68 | @@ -37,7 +37,7 @@ endif()
# micro version is changed with a set of small changes or bugfixes anywhere in the project.
set(SYSREPO_MAJOR_VERSION 1)
set(SYSREPO_MINOR_VERSION 4)
-set(SYSREPO_MICRO_VERSION 67)
+set(SYSREPO_MICRO_VERSION 68)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI... |
Always include pg_config --libdir as lib directory when building extended test binary | -LIBPQ = $(shell pg_config --includedir)
+LIBPQ_INCLUDE = $(shell pg_config --includedir)
+LIBPQ_LIB = $(shell pg_config --libdir)
.PHONY: check
all: extended
extended:
- $(CC) extended.c -I$(LIBPQ) -lpq -o $@
+ $(CC) extended.c -I$(LIBPQ_INCLUDE) -L$(LIBPQ_LIB) -lpq -o $@
test: all
py.test -v
|
Shell command 'rpl_status': show last DTSN of current parent | @@ -174,7 +174,7 @@ PT_THREAD(cmd_rpl_status(struct pt *pt, shell_output_func output, char *args))
SHELL_OUTPUT(output, "-- State: %s\n", rpl_state_to_str(curr_instance.dag.state));
SHELL_OUTPUT(output, "-- Preferred parent: ");
shell_output_6addr(output, rpl_neighbor_get_ipaddr(curr_instance.dag.preferred_parent));
- ... |
unroll each() loops in base function stratum | @@ -205,7 +205,8 @@ end
local function collect(keylist, dict)
local r = {}
- for k in each(keylist) do
+ for i = 1, int(keylist.n) or len(keylist) do
+ local k = keylist[i]
r[k] = dict[k]
end
return r
@@ -257,8 +258,8 @@ end
local function hoist(keylist, dict)
local r = {}
- for k in each(keylist) do
- merge(r, dict[k]... |
clay: more printing adjustment | ^- path
=/ paz (segments pax)
|- ^- path
- ?~ paz ~_(leaf/"clay: no files match /{<pre>}/{<pax>}/hoon" !!)
+ ?~ paz ~_(leaf/"clay: no files match /{(trip pre)}/{(trip pax)}/hoon" !!)
=/ pux=path pre^(snoc i.paz %hoon)
?: (~(has in deletes) pux)
$(paz t.paz)
%+ turn (tail (spud pux)) :: lose leading '/'
|=(c=@tD `@tD`?:... |
check better for valid pointers in free in debug mode | @@ -199,9 +199,6 @@ static void mi_decl_noinline mi_free_generic(const mi_segment_t* segment, mi_pag
// Free a block
void mi_free(void* p) mi_attr_noexcept
{
- // optimize: merge null check with the segment masking (below)
- //if (p == NULL) return;
-
#if (MI_DEBUG>0)
if (mi_unlikely(((uintptr_t)p & (MI_INTPTR_SIZE - 1... |
Attempt to fix hanging build | @@ -51,7 +51,7 @@ jobs:
# Setup compilation mode and install project dependencies
- name: Configure xmake and install dependencies
- run: xmake.exe config --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --yes
+ run: xmake.exe config --arch=${{ matrix.arch }} --mode=${{ matrix.mode }} --yes -j1
# Build the game
- na... |
Documentation change only: clarify usage of uNetworkSetStatusCallback().
Clarify that uNetworkSetStatusCallback() won't work until uNetworkUp() has returned successfully. | @@ -252,10 +252,12 @@ int32_t uNetworkInterfaceUp(uDeviceHandle_t devHandle, uNetworkType_t netType,
int32_t uNetworkInterfaceDown(uDeviceHandle_t devHandle, uNetworkType_t netType);
/** Enable or disable a callback which will be called when
- * the network status changes. IMPORTANT: the actions that
- * might be taken... |
Add docs for cloning and building ports in readme. | - [Abstract](#abstract)
- [Table Of Contents](#table-of-contents)
- - [1. License](#1-license)
+ - [1. Build System](#1-build-system)
+ - [2. License](#2-license)
<!-- /TOC -->
-## 1. License
+## 1. Build System
+
+Follow these steps to build and install **METACALL** manually.
+
+``` sh
+git clone --recursive https://g... |
graph-store: update indices of leaf posts | ++ convert-unix-timestamped-node
|= =node:store
^- node:store
+ =. index.post.node
+ (convert-unix-timestamped-index index.post.node)
?. ?=(%graph -.children.node)
node
- :+ post.node(index (convert-unix-timestamped-index index.post.node))
+ :+ post.node
%graph
(convert-unix-timestamped-graph p.children.node)
::
|
Add missing assertion and set cu before | @@ -1893,11 +1893,15 @@ static void search_pu_inter(encoder_state_t * const state,
*inter_bitcost = 0; // TODO: Check this
}
- if (*inter_cost < INT_MAX && cur_pu->inter.mv_dir == 1) {
+ *cur_pu = *best_inter_pu;
+
+ if (*inter_cost < MAX_DOUBLE && cur_pu->inter.mv_dir & 1) {
assert(fracmv_within_tile(&info, cur_pu->in... |
ci update refs | @@ -214,7 +214,7 @@ installer:
needs:
- build-windows-64
variables:
- PLUGIN_REF: ci/multi #TODO main
+ PLUGIN_REF: main
AGENT_REF: $CI_COMMIT_REF_NAME
rules:
- if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH
@@ -222,7 +222,7 @@ installer:
TRIGGER_BRANCH: main
- if: $CI_COMMIT_REF_NAME != $CI_DEFAULT_BRANCH
variables:
- ... |
perf-tools/tau: %{PROJ_DELIM} -> %{PROJ_NAME} | @@ -33,7 +33,7 @@ Patch3: tau-disable_examples.patch
Patch4: tau-ucontext.patch
Patch5: tau-testplugins_makefile.patch
-Provides: lib%PNAME.so()(64bit)(%PROJ_DELIM)
+Provides: lib%PNAME.so()(64bit)(%PROJ_NAME)
Provides: perl(ebs2otf)
Conflicts: lib%pname < %version-%release
Obsoletes: lib%pname < %version-%release
|
[hardware] Clean the Verilator build folder when rebuilding
Verilator might fail if built in a dirty directory | @@ -169,7 +169,7 @@ VERILATOR_FLAGS += $(VERILATOR_WAIVE)
# VERILATOR_FLAGS += --debug
$(VERILATOR_MK): $(VERILATOR_CONF) $(VERILATOR_WAIVE) $(MEMPOOL_DIR)/Bender.yml $(shell find {src,tb,deps} -type f) $(bender) $(config_mk) Makefile
- mkdir -p $(verilator_build)
+ rm -rf $(verilator_build); mkdir -p $(verilator_build... |
Added package dependencies for netcore on debian sid for tools/configenv.sh. | @@ -85,7 +85,7 @@ sub_netcore(){
$SUDO_CMD apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 417A0893
$SUDO_CMD apt-get update
- $SUDO_CMD apt-get -y install dotnet-dev-1.0.0-preview2.1-003177
+ $SUDO_CMD apt-get -y install libssl1.0.0 dotnet-sharedframework-microsoft.netcore.app-1.1.0 dotnet-dev-1.0.0-... |
fix of registering resources to the cloud | @@ -231,11 +231,6 @@ oc_main_init(const oc_handler_t *handler)
oc_swupdate_init();
#endif /* OC_SOFTWARE_UPDATE */
-#ifdef OC_SERVER
- if (app_callbacks->register_resources)
- app_callbacks->register_resources();
-#endif
-
#ifdef OC_SECURITY
size_t device;
for (device = 0; device < oc_core_get_num_devices(); device++) ... |
[tools] Fix eclipse configuration for lib paths. | @@ -218,6 +218,15 @@ def HandleToolOption(tools, env, project, reset):
for lib in env['LIBS']:
SubElement(option, 'listOptionValue', {'builtIn': 'false', 'value': lib})
+ # update lib paths
+ if option.get('id').find('c.linker.paths') != -1 and env.has_key('LIBPATH'):
+ # remove old lib paths
+ for item in option.finda... |
fix: tiny typo
Spotted tiny typo on README.md | @@ -6,7 +6,7 @@ Want to try your hand at game making? Open one of the already existing modules a
Ready to make something of your own? Get some images together and away you go!
-Feeling ambitious? Delve into the built-in script engine and graphical suite to build a masterpiece rivaling the most outlandish Triple-A produ... |
vere: consistently handle %meld $writ in king | @@ -116,6 +116,7 @@ _lord_writ_free(u3_writ* wit_u)
case u3_writ_save:
case u3_writ_cram:
+ case u3_writ_meld:
case u3_writ_pack:
case u3_writ_exit: {
} break;
@@ -209,6 +210,7 @@ _lord_writ_str(u3_writ_type typ_e)
case u3_writ_play: return "play";
case u3_writ_save: return "save";
case u3_writ_cram: return "cram";
+ c... |
wincng: do not disable key validation that can be enabled
The modular exponentiation also works with key validation enabled. | @@ -1982,9 +1982,7 @@ _libssh2_wincng_bignum_mod_exp(_libssh2_bn *r,
memcpy(key + offset, m->bignum, m->length);
ret = BCryptImportKeyPair(_libssh2_wincng.hAlgRSA, NULL,
- BCRYPT_RSAPUBLIC_BLOB, &hKey, key, keylen,
- BCRYPT_NO_KEY_VALIDATION);
-
+ BCRYPT_RSAPUBLIC_BLOB, &hKey, key, keylen, 0);
if(BCRYPT_SUCCESS(ret)) {... |
Add explanatory comment about fitting into a size_t. | @@ -207,6 +207,8 @@ int EVP_PBE_scrypt(const char *pass, size_t passlen,
if (maxmem == 0)
maxmem = SCRYPT_MAX_MEM;
+
+ /* Check that the maximum memory doesn't exceed a size_t limits */
if (maxmem > SIZE_MAX)
maxmem = SIZE_MAX;
|
Adding sys/stat.h to src/platform/posix/posix_aio.h for building with musl | #include "posix_pollq.h"
#include <sys/types.h> // needed for mode_t
+#include <sys/stat.h> // needed for musl build
typedef struct nni_posix_pipedesc nni_posix_pipedesc;
typedef struct nni_posix_epdesc nni_posix_epdesc;
|
Update OSX environment to Sierra
as homebrew seems to have dropped support for El Capitan in their gcc packages | @@ -149,7 +149,7 @@ matrix:
- &test-macos
os: osx
- osx_image: xcode8
+ osx_image: xcode8.3
before_script:
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=NEHALEM NUM_THREADS=32"
- brew update
|
Support for versions in tags. | @@ -67,20 +67,22 @@ generic sysseladdlist = {syssel, base, attrs, val
match std.strfind(a, ":")
| `std.Some i:
n = a[:i]
- v = parseversion(a[1:])
+ v = parseversion(a[i+1:])
| `std.None:
n = a
v = (-1, -1, -1)
;;
- if !std.hthas(syssel.sysattrs, n)
+ match std.htget(syssel.sysattrs, n)
+ | `std.None:
nmatch = -1
break... |
Add helper macros | #endif
#if defined(__cplusplus) && __cplusplus >= 201103L
+# define CLAP_HAS_CXX11
# define CLAP_CONSTEXPR constexpr
#else
# define CLAP_CONSTEXPR
#endif
#if defined(__cplusplus) && __cplusplus >= 201703L
+# define CLAP_HAS_CXX17
# define CLAP_NODISCARD [[nodiscard]]
#elif defined(__STDC_VERSION__) && __STDC_VERSION__ ... |
Utiltites:fix Legacy Boot fdisk syntax mistyping | @@ -30,7 +30,7 @@ then
fi
# Write MBR
-sudo fdisk -f boot0 -u /dev/rdisk"${N}" -y
+sudo fdisk -uy -f boot0 /dev/rdisk"${N}"
diskutil umount disk"${N}"s1
sudo dd if=/dev/rdisk"${N}"s1 count=1 of=origbs
|
HLS: Improve debug output | @@ -87,6 +87,7 @@ static void read_table1(snap_membus_t *mem, table1_t t1[TABLE1_SIZE],
/* extract data into target table1, or FIFO maybe? */
j = 0;
for (i = 0; i < t1_used_bytes/sizeof(table1_t); i++) {
+ printf("reading table1 entry %d\n", i);
*t1[i].name = mem[j](0, 511);
t1[i].age = mem[j + 1](0, 31);
j += 2;
@@ -1... |
Remove flags unsupported on GHC 7.8, add -Werror | @@ -98,7 +98,7 @@ script:
esac
- export LD_LIBRARY_PATH=${HOME}/usr/lib:$LD_LIBRARY_PATH
- echo $CABAL_CONFIG_ARGS
- - cabal configure --enable-tests --disable-optimization --ghc-options="-j +RTS -A128m -n2m -RTS" $CABAL_CONFIG_ARGS
+ - cabal configure --enable-tests --disable-optimization --ghc-options="-Werror" $CABA... |
Always expect 5 parameters for the server
The client always sends all the arguments, so there is no need to check. | @@ -46,35 +46,24 @@ public final class Server {
@SuppressWarnings("checkstyle:MagicNumber")
private static Options createOptions(String... args) {
+ if (args.length != 5)
+ throw new IllegalArgumentException("Expecting 5 parameters");
+
Options options = new Options();
- if (args.length < 1) {
- return options;
- }
+
i... |
Reorganize some switch cases | @@ -277,9 +277,34 @@ func (q *checker) bcheckStatement(n *a.Node) error {
}
return nil
+ case a.KIOBind:
+ n := n.IOBind()
+ if err := q.bcheckBlock(n.Body()); err != nil {
+ return err
+ }
+ // TODO: invalidate any facts regarding the io_bind expressions.
+ return nil
+
case a.KIf:
return q.bcheckIf(n.If())
+ case a.K... |
DM USB: xHCI: rename the variable mf_prev_time
Just changed the name of the variable and didn't change any emulation
code logic.
Acked-by: Yu Wang | @@ -418,7 +418,7 @@ struct pci_xhci_vdev {
* hub ports and its child external hub ports.
*/
struct pci_xhci_native_port native_ports[XHCI_MAX_VIRT_PORTS];
- struct timespec mf_prev_time; /* previous time of accessing MFINDEX */
+ struct timespec init_time;
};
/* portregs and devices arrays are set up to start from idx=... |
fix tools/scripts/nfsock | @@ -6,6 +6,7 @@ import sys
import argparse
import subprocess as sp
import yaml
+import json
def warn(*lines, **kwargs):
@@ -33,7 +34,7 @@ Convert NF data tree from YAML to a more readable form.
""",
epilog="""
""")
- argparser.add_argument("mpool", nargs='?', help="name of mpool (eg, mp1)" )
+ argparser.add_argument("k... |
Fix for CVE-2019-5477 | @@ -205,7 +205,7 @@ GEM
jekyll-seo-tag (~> 2.1)
minitest (5.11.3)
multipart-post (2.0.0)
- nokogiri (1.9.1)
+ nokogiri (1.10.4)
mini_portile2 (~> 2.4.0)
octokit (4.13.0)
sawyer (~> 0.8.0, >= 0.5.3)
|
Fix typo in MultitrackStudio | @@ -115,7 +115,7 @@ and use to get a basic plugin experience:
## Hosts
- [Bitwig](https://bitwig.com), you need at least _Bitwig Studio 4.3 Beta 5_
-- [Multitrackstudio](https://www.multitrackstudio.com/), you need at least _Multitrack Studio 10.4.1_
+- [MultitrackStudio](https://www.multitrackstudio.com/), you need at... |
Fix bug with infinite timeout handling | @@ -2854,7 +2854,12 @@ HRESULT CLR_RT_ExecutionEngine::InitTimeout( CLR_INT64& timeExpire, const CLR_IN
if(timeout < 0)
{
- if(timeout != -1L)
+ // because we are expecting the timeout value to be in ticks
+ // need to check for two possible infinite timeouts:
+ // 1. when coding in native it's supposed to use -1L as a... |
Catch build failures | @@ -45,12 +45,17 @@ def windowsLinuxElfBuild(String label, String version, String compiler, String b
unstash "linux-${label}-${compiler}-${build_type}-lvi_mitigation=${lvi_mitigation}-${version}-${BUILD_NUMBER}"
bat 'move build linuxbin'
dir('build') {
- bat """
- vcvars64.bat x64 && \
- cmake.exe ${WORKSPACE} -G Ninja... |
hv: print current sched_object in acrn logmsg
Add a header field in acrnlog message to indicate the current
running thread.
Acked-by: Eddie Dong | @@ -40,6 +40,7 @@ void do_logmsg(uint32_t severity, const char *fmt, ...)
bool do_mem_log;
bool do_npk_log;
char *buffer;
+ struct thread_object *current;
do_console_log = (((logmsg_ctl.flags & LOG_FLAG_STDOUT) != 0U) && (severity <= console_loglevel));
do_mem_log = (((logmsg_ctl.flags & LOG_FLAG_MEMORY) != 0U) && (sev... |
Limit ChangeLog entry to 80 characters | Changes
- * Calling AEAD tag-specific functions for non-AEAD algorithms (which should not
- be done - they are documented for use only by AES-GCM and ChaCha20+Poly1305)
- now returns MBEDTLS_ERR_CIPHER_FEATURE_UNAVAILABLE instead of success (0).
+ * Calling AEAD tag-specific functions for non-AEAD algorithms (which
+ s... |
Version bumped to 1.2 (configure.ac). | # Process this file with autoconf to produce a configure script.
AC_PREREQ(2.59)
-AC_INIT([goaccess], [1.1.1], [goaccess@prosoftcorp.com], [], [http://goaccess.io])
+AC_INIT([goaccess], [1.2], [goaccess@prosoftcorp.com], [], [http://goaccess.io])
AM_INIT_AUTOMAKE
AC_CONFIG_SRCDIR([src/goaccess.c])
AC_CONFIG_HEADERS([sr... |
Modify the script suffix .s to .S | @@ -5,7 +5,7 @@ cwd = GetCurrentDir()
src = Glob('*.c')
if rtconfig.CROSS_TOOL == 'gcc':
- src += ['startup_gcc/startup_m2sxxx.s']
+ src += ['startup_gcc/startup_m2sxxx.S']
elif rtconfig.CROSS_TOOL == 'keil':
src += ['startup_arm/startup_m2sxxx.s']
|
support macOS 10.14 | @@ -85,7 +85,9 @@ else ifeq ($(OS),Darwin)
# Figure out which crash reporter to use.
CRASHWRANGLER := third_party/mac
OS_VERSION := $(shell sw_vers -productVersion)
- ifneq (,$(findstring 10.13,$(OS_VERSION)))
+ ifneq (,$(findstring 10.14,$(OS_VERSION)))
+ CRASH_REPORT := $(CRASHWRANGLER)/CrashReport_Sierra.o
+ else if... |
docs: Fix install link | @@ -20,6 +20,6 @@ programs are and how Inspektor Gadget uses them is briefly explained here:
## Further Reading
* [Read more about the architecture](architecture.md)
-* [Learn how to install Inspektor Gadget](installation.md)
+* [Learn how to install Inspektor Gadget](install.md)
* [Kernel requirements for each gadget]... |
readline-devel on yum | @@ -48,7 +48,7 @@ test_tools()
install_tools()
{
{ apt-get --version >/dev/null 2>&1 && $sudoprefix apt-get install -y git build-essential libreadline-dev; } ||
- { yum --version >/dev/null 2>&1 && $sudoprefix yum install -y git && $sudoprefix yum groupinstall -y 'Development Tools'; } ||
+ { yum --version >/dev/null 2... |
Build BPF generator using the builder pattern | @@ -7,6 +7,6 @@ import (
func RegisterRouterSys(r *gin.Engine) {
data := sys.Data{}
- r.POST("/data/collect", data.Collect)
+ r.POST("/data/collect", data.Handle)
//r.POST("/data/display")
}
|
[chainmaker][#436]add test_01CreateWallet_0003 | @@ -53,10 +53,6 @@ START_TEST(test_01CreateWallet_0001CreateOneTimeWalletSuccess)
BoatHlchainmakerWalletConfig wallet_config = get_chainmaker_wallet_settings();
extern BoatIotSdkContext g_boat_iot_sdk_context;
- /* 1. prepare test conditions*/
- wallet_config.user_prikey_config.prikey_genMode = BOAT_WALLET_PRIKEY_GENMO... |
drv_spi: check for dma phase in spi_dma_is_ready | @@ -320,18 +320,19 @@ static void spi_dma_transmit_init(spi_ports_t port, uint8_t *base_address_out, u
}
uint8_t spi_dma_is_ready(spi_ports_t port) {
- return DMA_TRANSFER_DONE;
-}
-
-bool spi_dma_wait_for_ready(spi_ports_t port) {
#ifdef BRUSHLESS_TARGET
if (port == SPI_PORT1) {
extern volatile int dshot_dma_phase;
- ... |
Use standard operator | @@ -175,8 +175,7 @@ struct TDumper<NCB::TExclusiveBundlePart> {
static inline void Dump(S& s, const NCB::TExclusiveBundlePart& exclusiveBundlePart) {
s << "FeatureType=" << exclusiveBundlePart.FeatureType
<< ",FeatureIdx=" << exclusiveBundlePart.FeatureIdx
- << ",BoundsInBundle=[" << exclusiveBundlePart.Bounds.Begin <<... |
testing null deference fix | @@ -2264,7 +2264,8 @@ int picoquic_incoming_segment(
if (ret == 0) {
if (cnx != NULL && cnx->cnx_state != picoquic_state_disconnected &&
- ph.ptype != picoquic_packet_version_negotiation) {
+ ph.ptype != picoquic_packet_version_negotiation && ph.l_cid) {
+
cnx->nb_packets_received++;
/* Mark the sequence number as rece... |
Fix EP hashing in overwrite mode in SMBIOS | @@ -1860,16 +1860,24 @@ SmbiosTableApply (
TableEntryPoint = mOriginalSmbios;
TableEntryPoint3 = mOriginalSmbios3;
TableAddress = (VOID *)(UINTN) TableEntryPoint->TableAddress;
- TableAddress3 = mOriginalSmbios3 != NULL ? (VOID *)(UINTN) TableAddress : NULL;
+ ZeroMem (TableEntryPoint, sizeof (SMBIOS_TABLE_ENTRY_POINT)... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.