message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
* Only ubuntu focal is supported for our PPA | @@ -28,8 +28,7 @@ set(CMAKE_XCODE_ATTRIBUTE_CODE_SIGN_IDENTITY "")
set(PROJECT_VERSION_MAJOR ${CHANGELOG_LAST_VERSION_MAJOR})
set(PROJECT_VERSION_MINOR ${CHANGELOG_LAST_VERSION_MINOR})
set(PROJECT_VERSION_PATCH ${CHANGELOG_LAST_VERSION_PATCH})
-set(PROJECT_VERSION
- ${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR})
+s... |
[net][netdev] fix IMEI spell mistake in ifconfig command | @@ -889,7 +889,7 @@ static void netdev_list_if(void)
}
else if (netdev->hwaddr_len == NETDEV_IFCONFIG_IEMI_MAX_LEN)
{
- rt_kprintf("IEMI: ");
+ rt_kprintf("IMEI: ");
for (index = 0; index < netdev->hwaddr_len; index++)
{
/* two numbers are displayed at one time*/
|
Get rid of extra compiler call for lsan suppressions: pass .cpp to link command since we always call compiler for linking | @@ -25,15 +25,6 @@ def gen_default_suppressions(inputs, output):
dst.write('}\n')
-def compile_file(src, dst, cmd):
- cmd = list(cmd)
- cmd = [a for a in cmd if not a.endswith((".a", ".o", ".obj"))]
- output_pos = cmd.index("-o")
- cmd[output_pos + 1] = dst
- cmd += ["-c", src, "-Wno-unused-command-line-argument"]
- re... |
downgrade to v1.2.3 for pmix for compatability with slurm | Summary: An extended/exascale implementation of PMI
Name: %{pname}%{PROJ_DELIM}
-Version: 2.0.1
+Version: 1.2.3
Release: 1%{?dist}
License: BSD
Group: Development/Libraries
@@ -25,9 +25,9 @@ Patch0: configure.patch
BuildRequires: libevent-devel
%global extraflags ""
-%ifarch aarch64
-%global extraflags "-mcmodel=large"... |
Update test TCP client. | -#!/usr/bin/env python2
+#!/usr/bin/env python
# This file is part of the OpenMV project.
#
# Copyright (c) 2013-2019 Ibrahim Abdelkader <iabdalkader@openmv.io>
#
# This work is licensed under the MIT license, see the file LICENSE for details.
#
-# An example sockets client.
+# An example TCP client for testing WiFi mo... |
Fix oculus_mobile api.h include; | @@ -219,7 +219,7 @@ bool lovrPlatformHasWindow() {
#include "luax.h"
#include "lib/sds/sds.h"
-#include "api.h"
+#include "api/api.h"
#include "lib/lua-cjson/lua_cjson.h"
#include "lib/lua-enet/enet.h"
#include "headset/oculus_mobile.h"
|
sur/hood: fix uninitialized foreign desk crash | =/ yon (scot %ud aeon)
::
=/ dom .^(dome cv/~[her syd yon])
- =/ tak (scot %uv (~(got by hit.dom) let.dom))
+ =/ yon (~(get by hit.dom) let.dom)
+ ?~ yon ~
+ =/ tak (scot %uv u.yon)
=/ yak .^(yaki cs/~[her syd yon %yaki tak])
- =/ lob (scot %uv (~(got by q.yak) /desk/bill))
+ =/ fil (~(get by q.yak) /desk/bill)
+ ?~ fi... |
Bump max BT connections for testing. | @@ -95,7 +95,7 @@ config ZMK_SPLIT_BLE_ROLE_CENTRAL
if ZMK_SPLIT_BLE_ROLE_CENTRAL
config BT_MAX_CONN
- default 2
+ default 5
endif
@@ -107,6 +107,10 @@ if ZMK_SPLIT_BLE_ROLE_PERIPHERAL
config ZMK_USB
default n
+
+config BT_MAX_CONN
+ default 5
+
endif
endchoice
|
Remove duplicated includes | #include "mbedtls/ecjpake.h"
#endif
-#if defined(MBEDTLS_USE_PSA_CRYPTO)
-#include "psa/crypto.h"
-#include "mbedtls/psa_util.h"
-#endif /* MBEDTLS_USE_PSA_CRYPTO */
-
#include "common.h"
#if ( defined(__ARMCC_VERSION) || defined(_MSC_VER) ) && \
|
fix close and dragging animations | @@ -1876,6 +1876,7 @@ killclient(const Arg *arg)
{
if (!selmon->sel || selmon->sel->islocked)
return;
+ if (animated)
animateclient(selmon->sel, selmon->sel->x, selmon->mh - 20, 0, 0, 10, 0);
if (!sendevent(selmon->sel->win, wmatom[WMDelete], NoEventMask, wmatom[WMDelete], CurrentTime, 0 , 0, 0)) {
XGrabServer(dpy);
@@... |
[software] Add PACK to runtime builtins | @@ -13,7 +13,15 @@ typedef signed char v4s __attribute__((vector_size(4)));
typedef unsigned char v4u __attribute__((vector_size(4)));
/* Packing of scalars into vectors */
-#define __PACK2(x, y) __builtin_pulp_pack2((signed short)(x), (signed short)(y))
+
+inline v2s __PACK2(const int32_t x, const int32_t y) {
+ v2s o... |
Add a list for supported blockchains and IoT modules. | @@ -25,15 +25,9 @@ The other method is, the IoT devices directly invoke on-chain smart contract via
The latter is the way **BoAT** is walking on. To ease off the effort that IoT device manufacturers have to take, *aitos.io* initiates and contributes to **BoAT**, the C-language blockchain application framework, enabling... |
Fix menu icon | @@ -82,7 +82,7 @@ class MenuTableViewController: UITableViewController {
case 2:
image = UIImage(named: "pypi")
case 3:
- image = UIImage(systemName: "info.fill")
+ image = UIImage(systemName: "info.circle.fill")
case 4:
image = UIImage(systemName: "gear")
default:
|
BUG: Fix the loop range in ZHEEQUB.f | AVG = AVG / N
STD = 0.0D0
- DO I = N+1, N
+ DO I = N+1, 2*N
WORK( I ) = S( I-N ) * WORK( I-N ) - AVG
END DO
CALL ZLASSQ( N, WORK( N+1 ), 1, SCALE, SUMSQ )
|
removing sky130_pdk key from yaml | @@ -6,7 +6,6 @@ vlsi.core.max_threads: 12
# Technology paths
technology.sky130:
- sky130_pdk: "path-to-skywater-pdk/"
sky130A: "path-to-sky130A/"
sky130_nda: "path-to-skywater-src-nda/"
openram_lib: "path-to-sky130_sram_macros/"
|
test: add ethereum test case
test_002InitWallet_0009SetEIP155CompSuccess | @@ -231,6 +231,24 @@ START_TEST(test_001CreateWallet_0008CreateOneTimeWalletFailureProtocolUnknown)
}
END_TEST
+START_TEST(test_002InitWallet_0009SetEIP155CompSuccess)
+{
+ BSINT32 rtnVal;
+ BoatEthWallet *wallet_ptr = BoatMalloc(sizeof(BoatEthWallet));
+ BoatEthWalletConfig wallet_config = get_ethereum_wallet_settings... |
Fixed langevin noise covariance | @@ -65,7 +65,7 @@ void AddLangevinNoiseToLeafDerivativesSum(
if (sum.SumWeights < 1e-9) {
continue;
}
- double scaledCoef = coef / sqrt(sum.SumWeights + scaledL2Regularizer);
+ double scaledCoef = coef * sqrt(sum.SumWeights + scaledL2Regularizer);
sum.SumDer += scaledCoef * StdNormalDistribution<double>(rng);
}
}
@@ -8... |
RCQ: give emulation device custom name | @@ -352,6 +352,9 @@ cl_int pocl_accel_init(unsigned j, cl_device_id dev, const char *parameters) {
// accel devices are little endian by default, but the emulation device is host dependant
dev->endian_little = D->BaseAddress == 0xE ? !(WORDS_BIGENDIAN) : CL_TRUE;
+ if (D->BaseAddress == 0xE){
+ dev->long_name= (char *)... |
bonding: feature arc may not be enabled for the slave interface
vnet_feature_enable_disable takes sw_if_index, not hw_if_index. If there
is a subinterface created prior to the slave interface is created,
sw_if_index and hw_if_index start to diverge and the problem will happen.
Type: fix | @@ -287,7 +287,7 @@ bond_delete_neighbor (vlib_main_t * vm, bond_if_t * bif, slave_if_t * sif)
bond_disable_collecting_distributing (vm, sif);
vnet_feature_enable_disable ("device-input", "bond-input",
- sif_hw->hw_if_index, 0, 0, 0);
+ sif->sw_if_index, 0, 0, 0);
/* Put back the old mac */
vnet_hw_interface_change_mac... |
disable huge page in MAC OS | @@ -129,7 +129,11 @@ void rx_init_flags(int is_full_mem, uint32_t init_thread_count) {
g_randomx_flags = randomx_get_flags();
+#if defined (__MACOS__) || defined (__APPLE__)
+#else
g_randomx_flags |= RANDOMX_FLAG_LARGE_PAGES;
+#endif
+
if (is_full_mem == 1) {
g_randomx_flags |= RANDOMX_FLAG_FULL_MEM;
}
|
added reverse note behavior for the right click | @@ -2112,6 +2112,30 @@ static void drawPianoNoteColumn(Music* music, s32 x, s32 y)
else row->note = NoteStart + n;
}
+ history_add(music->history);
+ }
+ else if(checkMouseClick(&rect, tic_mouse_right))
+ {
+ switch(row->note)
+ {
+ case NoteNone:
+ row->note = NoteStop;
+ row->octave = 0;
+ break;
+ case NoteStop:
+ r... |
Add check for server command before executing it | @@ -1897,7 +1897,8 @@ espi_initiate_cmd(esp_msg_t* msg) {
case ESP_CMD_TCPIP_CIPSERVER: { /* Enable or disable server */
AT_PORT_SEND_BEGIN_AT();
AT_PORT_SEND_CONST_STR("+CIPSERVER=");
- if (msg->msg.tcpip_server.en) { /* Do we want to enable server? */
+ if (CMD_IS_DEF(ESP_CMD_TCPIP_CIPSERVER) && msg->msg.tcpip_server... |
[doc]: Corrected C3 LEDC docs | @@ -287,7 +287,7 @@ This directive also supports the boolean operators 'and', 'or' and 'not'. Exampl
This functionality is provided by the `Sphinx selective exclude <https://github.com/pfalcon/sphinx_selective_exclude>`_ extension.
-A weakness in this extension is that it does not correctly handle the case were you exc... |
libhfuzz: exit early if no _HF_THREAD_NO_ENV is set | @@ -52,10 +52,10 @@ __attribute__((constructor)) static void initializeInstrument(void) {
char* my_thread_no_str = getenv(_HF_THREAD_NO_ENV);
if (my_thread_no_str == NULL) {
- LOG_W("The '%s' envvar is not set", _HF_THREAD_NO_ENV);
- } else {
- my_thread_no = atoi(my_thread_no_str);
+ LOG_D("The '%s' envvar is not set"... |
Solve minor bug in boostrap from node loader (load from memory). | @@ -67,16 +67,19 @@ function node_loader_trampoline_load_from_memory(name, buffer, opts) {
throw new Error('Load from memory buffer must be a string, not ' + typeof buffer);
}
+ /* TODO: Implement opts check properly */
+
const paths = Module._nodeModulePaths(path.dirname(name));
const parent = module.parent;
const m =... |
oic; ble fragmentation was splitting packets too small. | @@ -299,7 +299,7 @@ oc_ble_frag(struct os_mbuf *m, uint16_t mtu)
if (os_mbuf_appendfrom(n, m, off, blk)) {
goto err;
}
- off -= blk;
+ off -= mtu;
os_mbuf_adj(m, -blk);
}
return 0;
|
crc/benchmark: scaling trials more appropriately | /*
- * Copyright (c) 2007 - 2015 Joseph Gaeddert
+ * Copyright (c) 2007 - 2021 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
@@ -42,7 +42,8 @@ void crc_bench(struct rusage *_start,
{
// nor... |
[CHAIN] add again incorrectly deleted code in commit
Tell add block response to RPCSvc | @@ -276,6 +276,7 @@ func (cs *ChainService) Receive(context actor.Context) {
BlockHash: block.BlockHash(),
Err: err,
})
+ cs.Hub().Tell(message.RPCSvc, block)
case *message.MemPoolDelRsp:
err := msg.Err
if err != nil {
|
doc:resolve the mismatch between doc and code
Default e820 mem map in hld-devicemodel.rst is
mismatched with sw_load_common.c,update the doc
to align with code. | @@ -216,14 +216,14 @@ DM Initialization
* map[0]:0~ctx->lowmem_limit & map[2]:4G~ctx->highmem for RAM
* ctx->highmem = request_memory_size - ctx->lowmem_limit
*
- * Begin End Type Length
- * 0: 0 - 0xef000 RAM 0xEF000
- * 1 0xef000 - 0x100000 (reserved) 0x11000
- * 2 0x100000 - lowmem RAM lowmem - 0x100000
- * 3: lowme... |
Fix test for new runtime: the runtime will round down to a multiple of wavesize. In this case, the num_threads ICV is set to 10 and the runtime selects 1 thread only for the parallel region | @@ -10,7 +10,8 @@ int main(int argc, char *argv[]) {
for(int dev = 0; dev < omp_get_num_devices(); ++dev)
{
- #pragma omp target device(dev) map(from:host[0:N])
+ int num_threads = -1;
+ #pragma omp target device(dev) map(from:host[0:N]) map(from:num_threads)
{
static __attribute__((address_space(3))) int A;
A = VALUE;... |
crypto-native: avoid overflow load on data
Type: improvement | @@ -119,7 +119,10 @@ aes_load_partial (u8x16u * p, int n_bytes)
__m128i zero = { };
return (u8x16) _mm_mask_loadu_epi8 (zero, (1 << n_bytes) - 1, p);
#else
- return aes_byte_mask (CLIB_MEM_OVERFLOW_LOAD (p), n_bytes);
+ u8x16 v = {};
+ CLIB_ASSUME (n_bytes < 16);
+ clib_memcpy_fast (&v, p, n_bytes);
+ return v;
#endif
... |
import: Simplify lily_module_register. | @@ -690,17 +690,10 @@ void lily_module_register(lily_state *s, const char *name,
lily_parse_state *parser = s->gs->parser;
lily_module_entry *module = new_module(parser);
- module->loadname = lily_malloc(
- (strlen(name) + 1) * sizeof(*module->loadname));
- strcpy(module->loadname, name);
-
/* This special "path" is fo... |
Updated setup-buildtools-mac.sh | #!/bin/sh
+
+# TODO: it's not ideal experience, but we use have to use brew-provided deps.
+# Sometimes we might run into a situation where a different user takes over
+# control of the brew dirs. That causes the brew update to fail.
+# Temporarily allow the user to take over control of brew files.
+
+echo ***
+echo **... |
added test for LD39 and type eme | @@ -132,6 +132,15 @@ ${tools_dir}/grib_set -s localDefinitionNumber=49,type=35 $sample_g1 $temp
grib_check_key_equals $temp 'perturbationNumber,numberOfForecastsInEnsemble' '0 0'
+# Local Definition 39 and type 'eme' for GRIB2
+# --------------------------------------------
+${tools_dir}/grib_set -s \
+ setLocalDefinit... |
Remove USE_YQL() macro and extra deps from YQL_UDF_STATIC. | @@ -1900,14 +1900,23 @@ otherwise {
YQL_UDF_LINK_PRG_CMD=$LINK_EXEC_DYN_LIB && ${tool:"yql/tools/udf_probe"} $TARGET ${kv;hide:"p UD"}
}
+### @usage: _ADD_YQL_UDF_DEPS()
+###
+### Add all needed PEERDIRs to a YQL_UDF.
+###
+### https://yql.yandex-team.ru/docs/yt/udf/cpp/
+macro _ADD_YQL_UDF_DEPS() {
+ PEERDIR(yql/libra... |
Wrong attribute in xml | @@ -1471,7 +1471,7 @@ by the Poll Control Cluster Client.</description>
<value name="Use LED signalization except for access allowed events" value="0x01"></value>
<value name="Use LED signalization for all events" value="0x02"></value>
</attribute>
- <attribute id="0x0021" name="Auto Relock Time" type="u32" default="0"... |
Increase QNS Timeout to 25 min | @@ -17,14 +17,15 @@ jobs:
steps:
- checkout: none
- script: |
- sudo apt-get install -y cmake libglib2.0-dev libgcrypt20-dev flex bison \
- byacc libpcap-dev ninja-build
+ sudo apt-get install -y cmake libglib2.0-dev libgcrypt20-dev flex \
+ bison byacc libpcap-dev ninja-build
wget https://www.wireshark.org/download/sr... |
Fix linker file for ST_NUCLEO64_F091RC | */
MEMORY
{
- flash : org = 0x08002000, len = 256k - 8k - 68k /* flash size less the space reserved for nanoBooter and application deployment*/
+ flash : org = 0x08002800, len = 256k - 10k - 66k /* flash size less the space reserved for nanoBooter and application deployment*/
config : org = 0x00000000, len = 0 /* space... |
Resolved segmentation fault on an empty vcf file | @@ -254,12 +254,21 @@ namespace ebi
{ { 120, -100 }, ZLIB }
};
+ /*
+ * First line of vcf file is having smaller size than 5 characters
+ * which will be a problem for std::equal to check its extension
+ * It will cause a segmentation fault.
+ * According to spec first line of vcf, file can't be smaller than 5 characte... |
qpilotsync: using FFT macro to select between internal and fftw | * THE SOFTWARE.
*/
-//
-// qpilotsync.c
-//
-// pilot injection
-//
+// symbol recovery with interleaved pilots
#include <stdlib.h>
#include <stdio.h>
@@ -49,7 +45,7 @@ struct qpilotsync_s {
unsigned int nfft; // FFT size
float complex * buf_time; // FFT time buffer
float complex * buf_freq; // FFT freq buffer
- fftpla... |
Increase the default security level to 2
OTC voted to increase the security level from 1 to 2 | @@ -28,7 +28,7 @@ extern "C" {
/* Default security level if not overridden at config time */
# ifndef OPENSSL_TLS_SECURITY_LEVEL
-# define OPENSSL_TLS_SECURITY_LEVEL 1
+# define OPENSSL_TLS_SECURITY_LEVEL 2
# endif
/* TLS*_VERSION constants are defined in prov_ssl.h */
|
Test attribute value with trailing CR | @@ -4781,6 +4781,16 @@ START_TEST(test_reject_unfinished_param_in_att_value)
}
END_TEST
+START_TEST(test_trailing_cr_in_att_value)
+{
+ const char *text = "<doc a='value\r'/>";
+
+ if (_XML_Parse_SINGLE_BYTES(parser, text, strlen(text),
+ XML_TRUE) == XML_STATUS_ERROR)
+ xml_failure(parser);
+}
+END_TEST
+
/*
* Namespa... |
Validate expected packet type | @@ -277,8 +277,9 @@ ssize_t ngtcp2_conn_send(ngtcp2_conn *conn, uint8_t *dest, size_t destlen) {
return rv;
}
-static int ngtcp2_conn_recv_cleartext(ngtcp2_conn *conn, const uint8_t *pkt,
- size_t pktlen, int server, int initial) {
+static int ngtcp2_conn_recv_cleartext(ngtcp2_conn *conn, uint8_t exptype,
+ const uint8... |
Fix Environment.TickCount64 | @@ -10,11 +10,9 @@ HRESULT Library_nf_rt_native_System_Environment::get_TickCount64___STATIC__I8(CL
NATIVE_PROFILE_CLR_CORE();
NANOCLR_HEADER();
- CLR_RT_HeapBlock &ref = stack.PushValue();
+ int64_t ticksValue = CLR_RT_ExecutionEngine::GetUptime();
- // get pointer to object pushed to the stack
- // and set with value... |
interface: fix interface_types.api enums
Unspecified c enums start at 0.
Unspecified api enums start at 1.
Type: fix | @@ -25,11 +25,10 @@ enum if_status_flags
/* Per protocol MTU */
enum mtu_proto
{
- MTU_PROTO_API_L3, /* Default payload MTU (without L2 headers) */
- MTU_PROTO_API_IP4, /* Per-protocol MTUs overriding default */
- MTU_PROTO_API_IP6,
- MTU_PROTO_API_MPLS,
- MTU_PROTO_API_N,
+ MTU_PROTO_API_L3 = 0, /* Default payload MTU... |
apps/st_things : Fix kconfig syntax error.
It should have let each example select one. but it does contain the unnecessary. So I fix the syntax. | @@ -23,6 +23,20 @@ config EXAMPLES_ST_THINGS_LIGHT
---help---
This is a Light Sample.
+config EXAMPLES_ST_THINGS_BLINK
+ bool "BLINK"
+ select IOTBUS_GPIO
+ ---help---
+ This is a Blink Sample.
+
+config EXAMPLES_ST_THINGS_MSG_HANDLING
+ bool "Message Handling Example"
+ select IOTBUS_GPIO
+ ---help---
+ This is a Mess... |
parallel-libs/mumps: bump to v5.1.2 | %define PNAME %(echo %{pname} | tr [a-z] [A-Z])
Name: %{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM}
-Version: 5.1.1
+Version: 5.1.2
Release: 1%{?dist}
Summary: A MUltifrontal Massively Parallel Sparse direct Solver
License: CeCILL-C
|
Fix unable to close overlay when combo was bound | @@ -737,10 +737,13 @@ void VKBindings::ExecuteRecording(bool aLastKeyDown)
const auto& overlayToggleModBind = Bindings::GetOverlayToggleModBind();
const auto cetBind = possibleBind.ModName == overlayToggleModBind.ModName;
if (!cetBind && (!m_cpVm->IsInitialized() || CET::Get().GetOverlay().IsEnabled()))
+ {
+ if (bind-... |
[BSP][STM32F107]Update Kconfig | @@ -9,3 +9,13 @@ config RT_USING_UART2
config RT_USING_UART3
bool "Enable UART3 (PC10/11)"
default n
+
+config BSP_USING_RTC
+ bool "Enable RTC"
+ select RT_USING_RTC
+ default n
+
+config BSP_USING_PIN
+ bool "Enable PIN device for GPIO"
+ select RT_USING_PIN
+ default y
|
Tools: Add missing DTR/RTS set before serial port open on reconnect when --no-reset is used
This makes sure --no-reset works correctly when the monitor reconnects the serial port. | @@ -76,6 +76,10 @@ class SerialReader(Reader):
while self.alive: # so that exiting monitor works while waiting
try:
time.sleep(RECONNECT_DELAY)
+ if not self.reset:
+ self.serial.dtr = low # Non reset state
+ self.serial.rts = high # IO0=HIGH
+ self.serial.dtr = self.serial.dtr # usbser.sys workaround
self.serial.open(... |
nat: in2out/out2in handoff node index bugfix
This fixes a bug in the initialization of handoff_out2in_index and
handoff_in2out_index where the node index for out2in was set to the
in2out node, and vice versa.
Type: fix | @@ -4027,8 +4027,8 @@ snat_config (vlib_main_t * vm, unformat_input_t * input)
sm->worker_in2out_cb = snat_get_worker_in2out_cb;
sm->worker_out2in_cb = snat_get_worker_out2in_cb;
- sm->handoff_out2in_index = snat_in2out_node.index;
- sm->handoff_in2out_index = snat_out2in_node.index;
+ sm->handoff_out2in_index = snat_o... |
Check that the PSK extension is last
We need to check that the PSK extension in a ClientHello is the last one. | @@ -447,10 +447,14 @@ int tls_collect_extensions(SSL *s, PACKET *packet, unsigned int context,
}
/*
* Verify this extension is allowed. We only check duplicates for
- * extensions that we recognise.
+ * extensions that we recognise. We also have a special case for the
+ * PSK extension, which must be the last one in th... |
vppinfra: fix sock init netns
Type: fix | @@ -560,7 +560,7 @@ clib_socket_init_netns (clib_socket_t *s, u8 *namespace)
return clib_socket_init (s);
clib_error_t *error;
- int old_netns_fd, nfd;
+ int old_netns_fd, nfd = -1;
old_netns_fd = clib_netns_open (NULL /* self */);
if ((nfd = clib_netns_open (namespace)) == -1)
@@ -580,8 +580,12 @@ clib_socket_init_net... |
Test automation documentation update only. | @@ -27,7 +27,6 @@ When running on Jenkins the test system will run these two test instances in seq
**NOTE:** It is important to note that the values set for the instances in [DATABASE.md](DATABASE.md) are used as input to the build, flash and test stage.
-
# Reading The Jenkins Output
You can follow the testing in real... |
spgram/autotest: adding debug script to export output to file | @@ -120,7 +120,21 @@ void testbench_spgramcf_signal(unsigned int _nfft, int _wtype, float _fc, float
// verify result
float psd[_nfft];
spgramcf_get_psd(q, psd);
- //for (i=0; i<_nfft; i++) { printf("%6u %8.2f\n", i, psd[i]); }
+#if 0
+ // debug
+ const char filename[] = "testbench_spgramcf_signal.m";
+ FILE * fid = fo... |
tests/run-perfbench.py: Add --emit option to select emitter for tests. | @@ -49,7 +49,7 @@ def run_script_on_target(target, script):
else:
# Run local executable
try:
- p = subprocess.run([target], stdout=subprocess.PIPE, stderr=subprocess.STDOUT, input=script)
+ p = subprocess.run(target, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, input=script)
output = p.stdout
except subprocess.Ca... |
output: add missing declaration for flb_output_instance_init. | @@ -753,6 +753,7 @@ void flb_output_exit(struct flb_config *config);
void flb_output_set_context(struct flb_output_instance *ins, void *context);
int flb_output_instance_destroy(struct flb_output_instance *ins);
int flb_output_init_all(struct flb_config *config);
+int flb_output_instance_init(struct flb_output_instance... |
fix demo project location in cmake metadata | @@ -30,7 +30,7 @@ afr_set_board_metadata(RECOMMENDED_IDE "uVision")
afr_set_board_metadata(IDE_uVision_NAME "Keil uVision")
afr_set_board_metadata(IDE_uVision_COMPILER "ARMCC")
afr_set_board_metadata(IS_ACTIVE "TRUE")
-afr_set_board_metadata(IDE_uVision_PROJECT_LOCATION "${CMAKE_CURRENT_LIST_DIR}/aws_demos/keil")
+afr_... |
Don't change CMAKE_MODULE_PATH | @@ -24,9 +24,6 @@ endif()
project(OpenEXRMetaProject)
-# Search for custom modules in our cmake directory
-list (APPEND CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/cmake")
-
# An "official" way to make this a super-project
# basically overrides the find_package to not find anything
@@ -91,4 +88,4 @@ endif()
# Including th... |
Remove unused markdown link in README | @@ -828,8 +828,6 @@ ADB=/path/to/adb scrcpy
To override the path of the `scrcpy-server` file, configure its path in
`SCRCPY_SERVER_PATH`.
-[useful]: https://github.com/Genymobile/scrcpy/issues/278#issuecomment-429330345
-
To override the icon, configure its path in `SCRCPY_ICON_PATH`.
|
pdftops: Added NULL check and clean-up to the pdf_pages() function in pdf.cxx | @@ -93,13 +93,18 @@ extern "C" void pdf_free(pdf_t *pdf)
int pdf_pages(const char *filename)
{
QPDF *pdf = new QPDF();
+ if (pdf) {
try{
pdf->processFile(filename);
} catch(...) {
+ pdf_free(pdf);
return -1;
}
int pages = (pdf->getAllPages()).size();
+ pdf_free(pdf);
return pages;
+ } else
+ return -1;
}
|
fix warnings in doxygen | @@ -1821,18 +1821,6 @@ GENERATE_XML = NO
XML_OUTPUT = xml
-# The XML_SCHEMA tag can be used to specify a XML schema, which can be used by a
-# validating XML parser to check the syntax of the XML files.
-# This tag requires that the tag GENERATE_XML is set to YES.
-
-XML_SCHEMA =
-
-# The XML_DTD tag can be used to spe... |
build-tester: fix another line | @@ -64,8 +64,6 @@ for target in $(jq -r '.[] | @base64' $TARGETS_FILE); do
if make -j32 -C "$SOURCE_FOLDER" MODE="$MODE" $TARGET_NAME &> /dev/null; then
cp "$BUILD_FOLDER/$MODE/quicksilver.$TARGET_NAME.$MODE.hex" "$OUTPUT_FOLDER/$BUILD_NAME.hex"
- echo "<div><a target=\"_blank\" href=\"$BUILD_NAME.hex\">$BUILD_NAME</a>... |
Initialize function pointer variables for suppressing warnings -Wmaybe-uninitialized | *
* ******************************************************************************
*
- * Copyright (c) 2014-2017 Hayaki Saito
+ * Copyright (c) 2014-2018 Hayaki Saito
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
* this software and associated documentation files (the "Software"), ... |
trying to fiix the writehelp to properly show the descriptions | @@ -255,6 +255,12 @@ void WriteHelpOption(OPTIONS *options, int bLong) {
// Properties
printf("%s\n",options->cName);
printf("================== ====================================\n");
+ if (!memcmp(options->cLongDescr,"null",4)) {
+ printf("\n**Overview**\n");
+ printf("%s\n",options->cLongDescr);
+ }
+ else
+ print... |
bfd: remove source IP check from session add
Checking for existence of source address on interface prevents creating
session before assigning address to said interface. Removing this check
allows more flexibility when configuring BFD feature.
Type: improvement | @@ -601,8 +601,6 @@ bfd_udp_validate_api_input (u32 sw_if_index,
bfd_udp_main_t *bum = &bfd_udp_main;
vnet_sw_interface_t *sw_if =
vnet_get_sw_interface_or_null (bfd_udp_main.vnet_main, sw_if_index);
- u8 local_ip_valid = 0;
- ip_interface_address_t *ia = NULL;
if (!sw_if)
{
vlib_log_err (bum->log_class,
@@ -618,21 +61... |
Factorize screen_init() error management | @@ -307,8 +307,7 @@ screen_init(struct screen *screen, const struct screen_params *params) {
if (!fps_counter_init(&screen->fps_counter)) {
LOGE("Could not initialize FPS counter");
- video_buffer_destroy(&screen->vb);
- return false;
+ goto error_destroy_video_buffer;
}
screen->frame_size = params->frame_size;
@@ -347... |
cache: temporary disable from default config | @@ -358,11 +358,11 @@ KeySet * elektraDefaultGlobalConfig (void)
// TODO: this is a poor way of detecting whether cache is compiled, but simply
// matching against cache might fail because of other plugins (e.g. "cachefilter")
- if (strstr (ELEKTRA_PLUGINS, ";cache;") != NULL)
- {
- ksAppendKey (config, keyNew ("system... |
Remove line missed in previous commit | @@ -606,7 +606,6 @@ sub upgradecheck
print "\nStarting new cluster\n\n";
@args = ('pg_ctl', '-l', "$logdir/postmaster2.log", 'start');
system(@args) == 0 or exit 1;
- system(@args) == 0 or exit 1;
print "\nDumping new cluster\n\n";
@args = ('pg_dumpall', '-f', "$tmp_root/dump2.sql");
system(@args) == 0 or exit 1;
|
SOVERSION bump to version 5.6.31 | @@ -54,7 +54,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_
# with backward compatible change and micro version is connected with any internal change of the library.
set(SYSREPO_MAJOR_SOVERSION 5)
set(SYSREPO_MINOR_SOVERSION 6)
-set(SYSREPO_MICRO_SOVERSION 30)
+set(SYSREPO_MICRO_S... |
LEDs work, but not timers yet | #include <led.h>
#include <timer.h>
-int main(void) {
+int main(void)
+{
// Ask the kernel how many LEDs are on this board.
int num_leds = led_count();
@@ -9,14 +10,10 @@ int main(void) {
// to the number of LEDs on the board.
for (int count = 0;; count++) {
for (int i = 0; i < num_leds; i++) {
- if (count & (1 << i)) ... |
system/spi: Print sent data in the same way as received.
This eases the comparison for testing SPI with looped back MOSI and MISO
signals. | @@ -132,6 +132,21 @@ int spicmd_exch(FAR struct spitool_s *spitool, int argc, FAR char **argv)
argndx += 1;
}
+ spitool_printf(spitool, "Sending:\t");
+ for (d = 0; d < spitool->count; d++)
+ {
+ if (spitool->width <= 8)
+ {
+ spitool_printf(spitool, "%02X ", txdata[d]);
+ }
+ else
+ {
+ spitool_printf(spitool, "%04X "... |
[persistence] fix error at first checkpoint | @@ -450,6 +450,14 @@ void cmdlog_complete_dual_write(bool success)
log_BUFFER *logbuff = &log_gl.log_buffer;
pthread_mutex_lock(&log_gl.log_flush_lock);
+ do {
+ if (log_gl.log_file.next_fd == -1) {
+ /* next_fd == -1 means the first state without log file.
+ * created first log file by checkpoint.
+ * do not cleanup f... |
rsa exp: move declarations before code | @@ -412,6 +412,8 @@ int RSAZ_mod_exp_x2_ifma256(BN_ULONG *out,
int exp_chunk_no = exp_bit_no / 64;
int exp_chunk_shift = exp_bit_no % 64;
+ BN_ULONG red_table_idx_0, red_table_idx_1;
+
/*
* If rem == 0, then
* exp_bit_no = modulus_bitsize - exp_win_size
@@ -423,8 +425,9 @@ int RSAZ_mod_exp_x2_ifma256(BN_ULONG *out,
OPE... |
crypto_ia32: minor change logically
"break;" will never be run after "return;" | @@ -39,7 +39,6 @@ crypto_ia32_key_handler (vlib_main_t * vm, vnet_crypto_key_op_t kop,
break;
default:
return;
- break;
}
if (kop == VNET_CRYPTO_KEY_OP_DEL)
@@ -88,9 +87,9 @@ crypto_ia32_key_handler (vlib_main_t * vm, vnet_crypto_key_op_t kop,
aes_key_enc_to_dec (kd->decrypt_key, AESNI_KEY_256);
break;
default:
- retur... |
npu2: Fix typo
Change "brigde" to "bridge".
Fixes: ("npu2: Reset NVLinks when resetting a GPU") | @@ -537,7 +537,7 @@ static int __npu2_dev_bind_pci_dev(struct phb *phb __unused,
return 0;
}
-static int64_t npu2_gpu_brigde_sec_bus_reset(void *dev,
+static int64_t npu2_gpu_bridge_sec_bus_reset(void *dev,
struct pci_cfg_reg_filter *pcrf __unused,
uint32_t offset, uint32_t len,
uint32_t *data, bool write)
@@ -612,7 +6... |
Rounded up if needed | @@ -71,10 +71,11 @@ fingerprints.
To enhance protection against these risks, SCRAM integrates message padding
directly into the AEAD encryption layer. The caller indicates a desired 'frame
-size' and SCRAM will ensure that every encrypted message is rounded up to a
-whole number of frames. Frames can be aligned with ne... |
Add test generation for mbedtls_mpi_mod_raw_add() | @@ -42,6 +42,25 @@ class BignumModRawTarget(test_data_generation.BaseTarget):
# BEGIN MERGE SLOT 5
+class BignumModRawAdd(bignum_common.ModOperationCommon,
+ BignumModRawTarget):
+ """Test cases for bignum mpi_mod_raw_add()."""
+ symbol = "+"
+ test_function = "mpi_mod_raw_add"
+ test_name = "mbedtls_mpi_mod_raw_add"
+... |
Change https echo server domain | * This address MUST NOT start with http:// or https://.
*/
#ifndef IOT_TEST_HTTPS_SERVER_HOST_NAME
- #define IOT_TEST_HTTPS_SERVER_HOST_NAME "postman-echo.com"
+ #define IOT_TEST_HTTPS_SERVER_HOST_NAME "freertos-ci.ddnsfree.com"
#endif
/**
|
travis: use GCC 10 for AArch64 build
gcc-7 works, but is very slow. The bug seems to have been fixed
in gcc-8. | @@ -38,8 +38,20 @@ jobs:
- name: "aarch64"
if: branch != master OR type == pull_request
arch: arm64
+ compiler: gcc-10
env:
+ - C_COMPILER=gcc-10
+ - CXX_COMPILER=g++-10
- ARCH_FLAGS="-march=armv8-a+simd+crc"
+ - OPTIMIZATION_FLAGS="-O1"
+ addons:
+ apt:
+ sources:
+ - sourceline: "ppa:ubuntu-toolchain-r/test"
+ key_ur... |
Move setting initialized to inner function | @@ -106,7 +106,6 @@ static BOOL _initialized = false;
+(nullable ODWLogger *)initForTenant:(nonnull NSString *)tenantToken withConfig:(nullable NSDictionary *)config
{
ILogger *logger = [ODWLogManager initializeLogManager:tenantToken withConfig:config];
- _initialized = logger != NULL;
if (!logger) return nil;
@@ -194,... |
Fix that auth-zone does not start the wait timer without checking
if the wait timer has already been started.
(the code is part of the previous commit). | - Tentative fix for permission denied on IPv6 address on FreeBSD.
- Fix that auth-zone master reply with current SOA serial does not
stop scan of masters for an updated zone.
+ - Fix that auth-zone does not start the wait timer without checking
+ if the wait timer has already been started.
21 June 2018: Wouter
- #4108:... |
Fix greyscale tiles not being converted to alpha. | @@ -101,9 +101,8 @@ class Tilesheet {
}
}
bool is_colored = false;
- for (ColorRGBA& pixel : tile) {
- if (tile.at(0, 0).r != pixel.r || tile.at(0, 0).g != pixel.g ||
- tile.at(0, 0).b != pixel.b) {
+ for (const ColorRGBA& pixel : tile) {
+ if (pixel.r != pixel.g || pixel.r != pixel.b) {
is_colored = true;
break;
}
|
Fix double-free | @@ -349,11 +349,11 @@ int ngtcp2_crypto_derive_and_install_tx_key(ngtcp2_conn *conn, uint8_t *key,
if (ngtcp2_conn_is_server(conn)) {
rv = ngtcp2_crypto_set_remote_transport_params(conn, tls);
if (rv != 0) {
- goto fail;
+ return rv;
}
if (crypto_set_local_transport_params(conn, tls) != 0) {
- goto fail;
+ return rv;
}... |
Use the container name instead of ID when enabling profiling
This is to prevent the situation when the containers might get reorderd. | @@ -666,8 +666,9 @@ func verbosityEnv(value uint) corev1.EnvVar {
}
func enableContainerProfiling(templateSpec *corev1.PodSpec, cID int) {
- switch cID {
- case bindata.ContainerIDSelinuxd:
+ containerName := templateSpec.Containers[cID].Name
+ switch containerName {
+ case bindata.SelinuxContainerNmae:
templateSpec.Co... |
Minor wording changes in the 'previous releases' section of the readme.me file. | @@ -41,5 +41,5 @@ If you have downloaded the repo without using the `--recurse-submodules` argumen
git submodule update --init --recursive
```
-## Getting released versions
-Working snapshots of released versions could be downloaded under [releases](https://github.com/FreeRTOS/FreeRTOS/releases).
\ No newline at end of... |
Fixes dm dtor | @@ -31,7 +31,7 @@ namespace celix { namespace dm {
DependencyManager& mng;
DmActivator(DependencyManager& m) : mng(m) {}
public:
- ~DmActivator() = default;
+ virtual ~DmActivator() = default;
DependencyManager& manager() const { return this->mng; }
|
GtkUIManager Part 10: disable "remote" actions if not connected to "remote" host
I guess it can be done differently using gtk_ui_manager_get_widget(path)
+ gtk_widget_set_sensitive
see (GtkItemFactory) | @@ -223,12 +223,10 @@ update_window_info (void)
&& GFTP_IS_CONNECTED (window2.request));
}
-#if 0
static void
set_menu_sensitive (gftp_window_data * wdata, char *path, int sensitive)
{
GtkAction *tempwid = NULL;
-
if (menus) {
tempwid = gtk_action_group_get_action(menus, path);
}
@@ -236,7 +234,6 @@ set_menu_sensitive ... |
Fix loop __gc not being called
Closes | @@ -660,11 +660,13 @@ LUALIB_API int luaopen_luv (lua_State* L) {
lua_pushstring(L, "_loop");
loop = (uv_loop_t*)lua_newuserdata(L, sizeof(*loop));
- lua_rawset(L, -3); // ref to loop, avoid __gc early
-
- // setup the metatable for __gc
+ // setup the userdata's metatable for __gc
luaL_getmetatable(L, "uv_loop.meta");... |
Update TiltedCore to 0.2.2 | @@ -3,7 +3,7 @@ set_xmakever("2.5.2")
set_languages("cxx20")
set_arch("x64")
-add_requires("spdlog", "nlohmann_json", "hopscotch-map", "minhook", "mem", "imgui 1.82", "sol2", "tiltedcore master", "sqlite3", "luajit")
+add_requires("spdlog", "nlohmann_json", "hopscotch-map", "minhook", "mem", "imgui 1.82", "sol2", "tilt... |
testcase/kernel: add negative testcase of strtoumax and tidyup
Add two negative cases, invalid base and overflow | * Included Files
****************************************************************************/
#include <stdio.h>
+#include <stdint.h>
+#include <stdlib.h>
#include <inttypes.h>
+#include <errno.h>
#include "tc_internal.h"
-#define DECIMAL 10
-#define HEXADECIMAL 16
-#define BINARY 2
-#define NVAL1 1000
-#define NVAL2 ... |
+compilation fix | @@ -551,7 +551,7 @@ int main(int argc, char **argv) {
cheatcoin_mess("Initializing addresses...");
if (cheatcoin_address_init()) return -1;
cheatcoin_mess("Starting blocks engine...");
- if (cheatcoin_blocks_start(is_miner ? ~n_mining_threads : n_mining_threads), !!miner_address) return -1;
+ if (cheatcoin_blocks_start... |
[mod_scgi] fix unused_procs bidirectional-links | @@ -2879,8 +2879,9 @@ TRIGGER_FUNC(mod_scgi_handle_trigger) {
if (fp) {
if (fp == host->unused_procs) host->unused_procs = fp->next;
+ else fp->prev->next = fp->next;
- if (fp->next) fp->next->prev = NULL;
+ if (fp->next) fp->next->prev = fp->prev;
host->max_id++;
} else {
|
DOC: OSSL_PARAM_{set,get,construct}_BN() currently only supports nonnegative numbers | @@ -331,6 +331,12 @@ representable by the target type or parameter.
Apart from that, the functions must be used appropriately for the
expected type of the parameter.
+OSSL_PARAM_get_BN() and OSSL_PARAM_set_BN() currently only support
+nonnegative B<BIGNUM>s, and by consequence, only
+B<OSSL_PARAM_UNSIGNED_INTEGER>. OSS... |
refactor(editorconfig): Removed FreeRTOS tab rule
FreeRTOS used tabs before, but changed to spaces now.
This hasn't been reflected in the editorconfig file
and is fixed now. | @@ -19,14 +19,6 @@ trim_trailing_whitespace = false
indent_style = tab
indent_size = 2
-[*/freertos/**]
-indent_style = tab
-indent_size = 4
-
-[{*/freertos/**.S,**/FreeRTOSConfig.h}]
-indent_style = space
-indent_size = 4
-
[*.pem]
insert_final_newline = false
|
exclude usr dir from coveralls | @@ -24,7 +24,7 @@ jobs:
uses: imciner2/run-lcov@v1
with:
input_directory: '${{ runner.workspace }}'
- exclude: '"$GITHUB_WORKSPACE/test/*" "$GITHUB_WORKSPACE/linsys/external/*"'
+ exclude: '"$GITHUB_WORKSPACE/test/*" "$GITHUB_WORKSPACE/linsys/external/*" "/usr/include/x86_64-linux-gnu/bits/*"'
output_file: '${{ runner.... |
Fix incorrect version for new feature in CHANGELOG | # Changelog
-## v7.9.1 (Planned at 19.01.2020)
+## v7.9.2 (Planned for 02.02.2021)
### New features
- feat(indev) allow input events to be passed to disabled objects
+## v7.9.1
+
### Bugfixes
- fix(cpicker) fix division by zero
- fix(dropdown) fix selecting options after the last one
|
xtensa: Define COMMON_CTX_REGS for chips without FPU (e.g. ESP32-S2) | # define RESERVE_REGS 8
# define XCPTCONTEXT_REGS (COMMON_CTX_REGS + COPROC_CTX_REGS + RESERVE_REGS)
#else
+# define COMMON_CTX_REGS _REG_CP_START
# define RESERVE_REGS 8
-# define XCPTCONTEXT_REGS (_REG_CP_START + RESERVE_REGS)
+# define XCPTCONTEXT_REGS (COMMON_CTX_REGS + RESERVE_REGS)
#endif
#define XCPTCONTEXT_SIZE... |
driver/temp_sensor/tmp112.c: Format with clang-format
BRANCH=none
TEST=none | @@ -35,8 +35,8 @@ static int raw_read16(int sensor, const int offset, int *data_ptr)
return EC_ERROR_NOT_POWERED;
#endif
return i2c_read16(tmp112_sensors[sensor].i2c_port,
- tmp112_sensors[sensor].i2c_addr_flags,
- offset, data_ptr);
+ tmp112_sensors[sensor].i2c_addr_flags, offset,
+ data_ptr);
}
static int raw_write16... |
Address review comments and improve the design doc | -Attestation QPL Enforcement Support
+Attestation SGX QPL Enforcement Support
====
-This proposal is to make a change to `oe_verify_evidence`, so that it can support policy based QPL (Quote Provider Library) enhancement, such as allowing the API user to pass data to QPL for more advanced quote verification.
+This propo... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.