message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
khan: constant first | @@ -246,7 +246,7 @@ _khan_io_exit(u3_auto* car_u)
{
u3_khan* kan_u = (u3_khan*)car_u;
- if ( car_u->liv_o == c3y ) {
+ if ( c3y == car_u->liv_o ) {
c3_c* pax_c = u3_Host.dir_c;
c3_w len_w = strlen(pax_c) + 1 + sizeof(URB_SOCK_PATH);
c3_c* paf_c = c3_malloc(len_w);
|
build: Support calling from outside | @@ -3,6 +3,7 @@ import glob
DEFAULT_BUILD_OUTDIR = 'build'
+CURR_DIR = os.path.dirname(os.path.realpath(__file__))
def execute(cmd, force_print=False):
with os.popen(cmd) as r:
@@ -52,11 +53,11 @@ if __name__ == '__main__':
if definition_check():
raise SystemExit(1)
- for yml in glob.glob(os.path.join('db', '**', '*.ym... |
[persistence] remove unnecessary comment of generate ITUnlinkLog | @@ -486,7 +486,7 @@ void cmdlog_generate_link_item(hash_item *it)
void cmdlog_generate_unlink_item(hash_item *it)
{
log_waiter_t *waiter = cmdlog_get_cur_waiter();
- /* TODO::remove waiter == NULL condition after waiter process in eviction logic */
+ /* If generated by background eviction or scrub stale, waiter is NULL... |
haskell-cabal-sandboxing: fix travis build | @@ -119,8 +119,8 @@ before_script:
- >
[[ "$TRAVIS_OS_NAME" == "linux" ]] && INSTALL_DIR="$PWD/install" || INSTALL_DIR="/usr/local"
- SYSTEM_DIR="$PWD/kdbsystem"
- # it might be partially cached due to the cabal sandbox caching
- - cd build || mkdir build && cd build
+ # gets created due to sandbox caching automaticall... |
zephyr: add temperature sensor name
Add TEMP_SENSOR_5V_REGULATOR to enum names.
BRANCH=none
TEST=none | @@ -27,6 +27,7 @@ properties:
- TEMP_SENSOR_FAN
- TEMP_SENSOR_MEMORY
- TEMP_SENSOR_PP3300_REGULATOR
+ - TEMP_SENSOR_PP5000_REGULATOR
- TEMP_SENSOR_SOC
- TEMP_SENSOR_1_DDR_SOC
- TEMP_SENSOR_2_AMBIENT
|
Packages: fixed Amazon Linux 2 module packages to use openssl 1.1 | %if 0%{?rhel}%{?fedora}
BuildRequires: gcc
+%if 0%{?amzn2}
+BuildRequires: openssl11-devel
+%else
BuildRequires: openssl-devel
%endif
+%endif
%if 0%{?suse_version} >= 1315
BuildRequires: libopenssl-devel
|
Add missing argument to errorf | @@ -980,7 +980,7 @@ int main(int argc, const char **argv) {
(let [op (out-path src ".c" objext)]
(compile-c opts src op)
op)
- (errorf "unknown source file type: %s, expected .c or .cpp"))))
+ (errorf "unknown source file type: %s, expected .c or .cpp" src))))
(when-let [embedded (opts :embedded)]
(loop [src :in embedd... |
[core] return entry from array_insert_data_at_pos
(for convenience and to save a couple asm instructions) | @@ -353,7 +353,7 @@ static data_unset *array_get_unused_element(array * const a, const data_type_t t
}
__attribute_hot__
-static void array_insert_data_at_pos(array * const a, data_unset * const entry, const uint32_t pos) {
+static data_unset * array_insert_data_at_pos(array * const a, data_unset * const entry, const u... |
Update common_x86_64.h | @@ -196,7 +196,10 @@ static __inline int blas_quickdivide(unsigned int x, unsigned int y){
if (y <= 1) return x;
- if (y > 64) return x/y;
+ if (y > 64) {
+ result = x / y;
+ return result;
+ }
y = blas_quick_divide_table[y];
|
Update SceSysclibForDriver's NID | @@ -312,8 +312,12 @@ modules:
nid: 0x7EE45391
functions:
__aeabi_idiv: 0x2518CD9E
+ __aeabi_idivmod: 0xAC86B4BA
+ __aeabi_lasr: 0x1D89F6C0
__aeabi_lcmp: 0x709077A1
__aeabi_ldivmod: 0x7554AB04
+ __aeabi_llsl: 0x72D31F9D
+ __aeabi_llsr: 0xE46C47E6
__aeabi_lmul: 0xFEE5E751
__aeabi_uidiv: 0xA9FF1205
__aeabi_uidivmod: 0xA46... |
Fix workflow for checkoss | @@ -91,10 +91,4 @@ jobs:
- name: check for license
continue-on-error: true
run: |
- scripts/dev/checkoss "${{ runner.temp }}" ./
-
- - uses: actions/upload-artifact@v2
- if: failure()
- with:
- name: checkoss-errors
- path: "${{ runner.temp }}"
+ scripts/dev/checkoss
|
syscall: fix task_testcancel header file | "task_setcancelstate","sched.h","","int","int","FAR int *"
"task_setcanceltype","sched.h","defined(CONFIG_CANCELLATION_POINTS)","int","int","FAR int *"
"task_spawn","nuttx/spawn.h","!defined(CONFIG_BUILD_KERNEL)","int","FAR const char *","main_t","FAR const posix_spawn_file_actions_t *","FAR const posix_spawnattr_t *",... |
Final, correct ^ conversion. | ++ telegram (pair ship thought) :: who which whom what
++ thought (trel serial audience statement) :: which whom what
++ torso :: attachment
- $% {$ktts (pair @t torso)} :: named attachment
+ $% {$name (pair @t torso)} :: named attachment
{$text (list @t)} :: text lines
{$tank (list tank)} :: tank list
== ::
|
Build: Autobuild action software 2nd | @@ -234,7 +234,7 @@ software:
actions: software
@echo -e "\t[COMPILE ACTIONS.....] start `date`"
- @make -C $(SNAP_ROOT)actions >> $(LOGS_DIR)/compile_sw.log 2>&1
+ @make -C $(SNAP_ROOT)/actions >> $(LOGS_DIR)/compile_sw.log 2>&1
xsim:
@echo -e "\t[BUILD xsim..........] start `date`"
|
tools/ci.sh: Update for Pycopy project. | @@ -41,7 +41,7 @@ function ci_code_size_setup {
function ci_code_size_build {
# starts off at either the ref/pull/N/merge FETCH_HEAD, or the current branch HEAD
git checkout -b pull_request # save the current location
- git remote add upstream https://github.com/micropython/micropython.git
+ git remote add upstream htt... |
Refactor prctl tc
Add invalid parameter cases | #define SEC_1 1
#define SEC_2 2
#define USEC_10 10
+#define PR_INVALID -1
+#define PID_INVALID -1
static int g_callback;
#ifndef CONFIG_BUILD_PROTECTED
@@ -374,31 +376,49 @@ static void tc_task_on_exit(void)
*/
static void tc_task_prctl(void)
{
- int ret_chk;
const char *setname = "a Test program";
char getname[CONFIG_... |
Workgroup: Fix crash on inline assembly calls | @@ -408,6 +408,8 @@ static bool callsPrintf(Function *F) {
if (!llvm::isa<CallInst>(Instr))
continue;
CallInst *CallInstr = dyn_cast<CallInst>(Instr);
+ if (CallInstr->isInlineAsm())
+ continue;
Function *callee = CallInstr->getCalledFunction();
if (callee->getName().startswith("llvm."))
@@ -503,6 +505,8 @@ static void... |
parser: if multiline parser is set, get the reference | @@ -707,6 +707,7 @@ static int multiline_parser_conf_file(const char *cfg, struct mk_rconf *fconf,
flb_sds_t parser;
flb_sds_t tmp;
int flush_timeout;
+ struct flb_parser *parser_ctx;
struct mk_list *head;
struct mk_rconf_section *section;
struct flb_ml_parser *ml_parser;
@@ -781,10 +782,13 @@ static int multiline_pars... |
Add 10MHz clock to FPGA::DetectRefClk | @@ -903,7 +903,7 @@ int FPGA::ReadRawStreamData(char* buffer, unsigned length, int epIndex, int time
double FPGA::DetectRefClk(double fx3Clk)
{
const double fx3Cnt = 16777210; //fixed fx3 counter in FPGA
- const double clkTbl[] = { 30.72e6, 38.4e6, 40e6, 52e6 };
+ const double clkTbl[] = { 10e6, 30.72e6, 38.4e6, 40e6, ... |
Add missing oc_swupdate_result_t value | @@ -32,12 +32,13 @@ extern "C" {
*/
typedef enum {
OC_SWUPDATE_RESULT_IDLE = 0, ///< Idle
- OC_SWUPDATE_RESULT_SUCCESS, ///< software update successfull
+ OC_SWUPDATE_RESULT_SUCCESS, ///< software update successful
OC_SWUPDATE_RESULT_LESS_RAM, ///< not enough RAM
OC_SWUPDATE_RESULT_LESS_FLASH, ///< not enough FLASH
OC_... |
options/posix: implement unlockpt | @@ -434,8 +434,9 @@ int posix_openpt(int flags) {
return fd;
}
-int unlockpt(int) {
- return 0;
+int unlockpt(int fd) {
+ int unlock = 0;
+ return ioctl(fd, TIOCSPTLCK, &unlock);
}
int grantpt(int) {
|
vlib: cli support ctrl-w to erase left word
Type: fix | @@ -293,6 +293,7 @@ typedef enum
UNIX_CLI_PARSE_ACTION_WORDRIGHT, /**< Jump cursor to start of right word */
UNIX_CLI_PARSE_ACTION_ERASELINELEFT, /**< Erase line to left of cursor */
UNIX_CLI_PARSE_ACTION_ERASELINERIGHT, /**< Erase line to right & including cursor */
+ UNIX_CLI_PARSE_ACTION_ERASEWORDLEFT, /**< Erase wo... |
examples/png - allow smaller pictures only (for speed) | @@ -83,7 +83,7 @@ int LLVMFuzzerTestOneInput(uint8_t* buf, size_t len)
}
png_set_crc_action(png_ptr, PNG_CRC_QUIET_USE, PNG_CRC_QUIET_USE);
- png_set_user_limits(png_ptr, 100000U, 100000U);
+ png_set_user_limits(png_ptr, 10000U, 10000U);
png_set_chunk_cache_max(png_ptr, 1024ULL * 1024ULL * 128ULL);
png_set_chunk_malloc... |
Remove assignment to in param in example | @@ -111,7 +111,7 @@ control ingress(inout headers hdr,
action forward(bit<48> dmac_val, bit<48> smac_val, PortId_t port) {
hdr.ethernet.dstAddr = dmac_val;
ostd.egress_port = port;
- istd.ingress_port = port;
+ // istd.ingress_port = port;
hdr.ethernet.srcAddr = smac_val;
hdr.ipv4.ttl = hdr.ipv4.ttl - 8w1;
}
|
change the wrong syntax | @@ -347,7 +347,7 @@ static rt_uint32_t spixfer(struct rt_spi_device *device, struct rt_spi_message *
if(RT_FALSE == spi->dma_flag)
{
-#ifdef(BSP_USING_BLOCKING_SPI)
+#ifdef BSP_USING_BLOCKING_SPI
status = LPSPI_MasterTransferBlocking(spi->base, &transfer);
#else
status = LPSPI_MasterTransferNonBlocking(spi->base, &spi-... |
hexnumber: Specify language for code snippets | @@ -39,7 +39,7 @@ When mounting a backend with the hexnumber plugin, a few settings can be configu
NOTE: be careful when using this option, as any configuration value that contains invalid non-hexadecimal characters
(i.e. does not match `0[xX][0-9A-Fa-f]+`) will result in an error.
- ```
+ ```bash
sudo kdb mount test.e... |
Add a note about multi-display limitation
Secondary display mirroring is read-only before Android 10. | @@ -396,6 +396,10 @@ The list of display ids can be retrieved by:
adb shell dumpsys display # search "mDisplayId=" in the output
```
+The secondary display may only be controlled if the device runs at least Android
+10 (otherwise it is mirrored in read-only).
+
+
#### Turn screen off
It is possible to turn the device s... |
added the md5sum for the latest DCP to snap_check_psl | @@ -41,6 +41,7 @@ if [ $# -gt 1 ]; then
'f920e532c7dfea8aa7c0f90db5b54bff') export PSL_DCP_TYPE="ADKU3";; # with reset fix 20171220
'51b64ad40a3dc54ec855d7d7dfef0896') export PSL_DCP_TYPE="ADKU3";; # rblack_PSLrev6_v174_20170122_vsec400
'f6039e03c293ba964feecd574015643d') export PSL_DCP_TYPE="AD8K5";; # rblack CAPI_SNA... |
Support DATA in JTEST
ISSUE: | @@ -580,6 +580,7 @@ def onjava_test(unit, *args):
path = strip_roots(unit.path())
test_data = unit.get('__test_data').split() if unit.get('__test_data') is not None else []
+ test_data += get_values_list(unit, 'TEST_DATA_VALUE')
test_data.append('arcadia/build/scripts')
props = extract_java_system_properties(unit, get_... |
hw/mcu/nrf52: Fix inconsistent os_dev_create
We use os_dev struct as a parameter in all other calls. | @@ -194,7 +194,7 @@ nrf52_periph_create_adc(void)
(void)rc;
#if MYNEWT_VAL(ADC_0)
- rc = os_dev_create((struct os_dev *)&os_bsp_adc0, "adc0",
+ rc = os_dev_create(&os_bsp_adc0.ad_dev, "adc0",
OS_DEV_INIT_KERNEL, OS_DEV_INIT_PRIO_DEFAULT,
nrf52_adc_dev_init, &os_bsp_adc0_config);
assert(rc == 0);
@@ -212,7 +212,7 @@ nrf... |
build: bump to v1.9.4 | @@ -4,7 +4,7 @@ project(fluent-bit)
# Fluent Bit Version
set(FLB_VERSION_MAJOR 1)
set(FLB_VERSION_MINOR 9)
-set(FLB_VERSION_PATCH 3)
+set(FLB_VERSION_PATCH 4)
set(FLB_VERSION_STR "${FLB_VERSION_MAJOR}.${FLB_VERSION_MINOR}.${FLB_VERSION_PATCH}")
set(CMAKE_POSITION_INDEPENDENT_CODE ON)
|
bonding: fix comment typo
Type: style | @@ -236,7 +236,7 @@ typedef struct
lacp_port_info_t partner;
lacp_port_info_t partner_admin;;
- /* Partner port information */
+ /* Actor port information */
lacp_port_info_t actor;
lacp_port_info_t actor_admin;
|
DM USB: xHCI: fix potential NULL pointer issue.
During S3 process, the dev in the function pci_xhci_device_doorbell
may be set to NULL when disconnection is detected by DM. This patch
is used to remove this risk.
Acked-by: Yu Wang | @@ -2937,6 +2937,9 @@ pci_xhci_device_doorbell(struct pci_xhci_vdev *xdev,
}
dev = XHCI_SLOTDEV_PTR(xdev, slot);
+ if (!dev)
+ return;
+
devep = &dev->eps[epid];
dev_ctx = pci_xhci_get_dev_ctx(xdev, slot);
if (!dev_ctx)
|
Added DCG to GroupwiseOrderMetrics. Issue: | @@ -85,6 +85,7 @@ bool IsGroupwiseOrderMetric(ELossFunction lossFunction) {
lossFunction == ELossFunction::YetiRankPairwise ||
lossFunction == ELossFunction::PFound ||
lossFunction == ELossFunction::NDCG ||
+ lossFunction == ELossFunction::DCG ||
lossFunction == ELossFunction::AverageGain ||
lossFunction == ELossFuncti... |
Tests: "no_recv" option introduced. | @@ -250,8 +250,11 @@ class TestUnitHTTP(TestUnit):
if '--verbose' in sys.argv:
print('>>>', req, sep='\n')
- encoding = 'utf-8' if 'encoding' not in kwargs else kwargs['encoding']
- resp = self.recvall(sock).decode(encoding)
+ resp = ''
+
+ if 'no_recv' not in kwargs:
+ enc = 'utf-8' if 'encoding' not in kwargs else kw... |
[core] http_cgi_local_redir() rename
rename http_response_process_local_redir() -> http_cgi_local_redir()
adjust some checks for local redir | @@ -686,7 +686,7 @@ void http_response_upgrade_read_body_unknown(request_st * const r) {
}
-static handler_t http_response_process_local_redir(request_st * const r, size_t blen) {
+static handler_t http_cgi_local_redir(request_st * const r) {
/* [RFC3875] The Common Gateway Interface (CGI) Version 1.1
* [RFC3875] 6.2.2... |
remove old pwm pin comment | // disable all pwm pins / function
//#define DISABLE_PWM_PINS
-/* **********moved to target
-// pwm pin initialization
-// enable the pwm pins to be used here ( multiple pins ok)
-//#define PWM_PA0
-//#define PWM_PA1
-//#define PWM_PA2
-//#define PWM_PA3
-#define PWM_PA4
-//#define PWM_PA5
-#define PWM_PA6
-#define PWM... |
proxy: don't normalize a unix path to lower case | @@ -135,17 +135,18 @@ static void on_handler_dispose(h2o_handler_t *_self)
void h2o_proxy_register_reverse_proxy(h2o_pathconf_t *pathconf, h2o_url_t *upstream, h2o_proxy_config_vars_t *config)
{
+ struct sockaddr_un sa;
+ const char *to_sa_err;
struct rp_handler_t *self = (void *)h2o_create_handler(pathconf, sizeof(*se... |
[rpc] ignore mux close error when close grpc server
cmux.ErrListenerClosed error occurs only when a server is closed
So just ignore it | @@ -109,9 +109,15 @@ func (ns *RPC) grpcWebHandlerFunc(grpcWebServer *grpcweb.WrappedGrpcServer, othe
// Serve GRPC server over TCP
func (ns *RPC) serveGRPC(l net.Listener, server *grpc.Server) {
if err := server.Serve(l); err != nil {
+ switch err {
+ case cmux.ErrListenerClosed:
+ // sometimes this is occured when th... |
Fix sce_paf_memalign args type | @@ -15,7 +15,7 @@ extern "C" {
void sce_paf_private_free(void *ptr);
void *sce_paf_private_malloc(SceSize size);
-void *sce_paf_memalign(SceUInt32 align, SceSize length);
+void *sce_paf_memalign(SceSize align, SceSize length);
void *sce_paf_private_bzero(void *ptr, SceSize num);
void *sce_paf_private_memchr(const void ... |
Process incoming ACK frame 0x03 | @@ -474,6 +474,7 @@ ngtcp2_ssize ngtcp2_pkt_decode_frame(ngtcp2_frame *dest, const uint8_t *payload,
return ngtcp2_pkt_decode_stop_sending_frame(&dest->stop_sending, payload,
payloadlen);
case NGTCP2_FRAME_ACK:
+ case NGTCP2_FRAME_ACK_ECN:
return ngtcp2_pkt_decode_ack_frame(&dest->ack, payload, payloadlen);
case NGTCP2... |
Allow CONNECTION_CLOSE in Handshake packet | @@ -2184,6 +2184,12 @@ static int conn_emit_pending_stream0_data(ngtcp2_conn *conn, ngtcp2_strm *strm,
}
}
+/* conn_recv_connection_close is called when CONNECTION_CLOSE or
+ APPLICATION_CLOSE frame is received. */
+static void conn_recv_connection_close(ngtcp2_conn *conn) {
+ conn->state = NGTCP2_CS_CLOSE_WAIT;
+}
+
/... |
build/autocorr: extending line width for more compact header with comment apis | @@ -2183,33 +2183,39 @@ void liquid_levinson(float * _r,
// TI : input data type
#define LIQUID_AUTOCORR_DEFINE_API(AUTOCORR,TO,TC,TI) \
\
+/* Computes auto-correlation with a fixed lag on input signals */ \
typedef struct AUTOCORR(_s) * AUTOCORR(); \
\
-/* create auto-correlator object */ \
+/* Create auto-correlator ... |
Delete obsolete LLVM_BC cflag filters | @@ -3,11 +3,6 @@ import sys
def fix(s):
- # We use Clang 3.7 for generating bytecode but take CFLAGS from current compiler
- # We should filter new flags unknown to the old compiler
- if s == '-Wno-undefined-var-template':
- return None
-
# disable dbg DEVTOOLS-2744
if s == '-g':
return None
@@ -22,10 +17,6 @@ def fix(... |
jenkins: auto testresult upload respects buildDir | @@ -705,9 +705,7 @@ def buildAndTest(testName, image, extraCmakeFlags = [:],
tests = [], extraArtifacts = []) {
def cmakeFlags = CMAKE_FLAGS_BASE + extraCmakeFlags
def artifacts = []
- if(tests) {
- artifacts.add("build/Testing/*/*.xml")
- }
+
def testCoverage = cmakeFlags.intersect(CMAKE_FLAGS_COVERAGE)
.equals(CMAKE_... |
libyang BUGFIX use of arguments in LY_ARRAY_CREATE_RET() macro
missing parentheses around macro's argument used to multiply | @@ -556,18 +556,18 @@ LY_ERR ly_strcat(char **dest, const char *format, ...);
*
* @param[in] CTX libyang context for logging.
* @param[in,out] ARRAY Pointer to the array to create.
- * @param[in] SIZE Number of items the array is supposed to hold. The size of the allocated
+ * @param[in] SIZE Number of the new items th... |
Disable incremental linking in msvc when sanitizers are enabled. | @@ -235,13 +235,17 @@ if(WIN32 AND MSVC)
# Sanitizers
if(OPTION_BUILD_THREAD_SANITIZER AND (CMAKE_BUILD_TYPE STREQUAL "Debug" OR CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo"))
add_compile_options(/fsanitize=thread)
+ add_link_options(/INCREMENTAL:NO)
elseif(OPTION_BUILD_SANITIZER AND (CMAKE_BUILD_TYPE STREQUAL "Debug" OR... |
tls13:finished:add dummy frame work | @@ -1476,6 +1476,42 @@ static int ssl_tls13_write_certificate_verify( mbedtls_ssl_context *ssl )
}
#endif /* MBEDTLS_KEY_EXCHANGE_WITH_CERT_ENABLED */
+/*
+ * State Handler: MBEDTLS_SSL_SERVER_FINISHED
+ */
+int ssl_tls13_write_server_finished( mbedtls_ssl_context *ssl )
+{
+ ((void) ssl);
+ return( MBEDTLS_ERR_SSL_FEA... |
Change the DRBG HMAC implementation to lookup allowed digest names
As per the previous commit we make the same change for DRBG HMAC and
more closely align the FIPS_MODE and non FIPS_MODE implementations. | #include <openssl/err.h>
#include <openssl/rand.h>
#include "internal/thread_once.h"
+#include "internal/providercommon.h"
#include "rand_lcl.h"
/*
@@ -201,19 +202,35 @@ int drbg_hmac_init(RAND_DRBG *drbg)
EVP_MD *md = NULL;
RAND_DRBG_HMAC *hmac = &drbg->data.hmac;
-#ifndef FIPS_MODE
- /* Any approved digest is allowed... |
VERSION bump to version 1.4.11 | @@ -31,7 +31,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 10)
+set(SYSREPO_MICRO_VERSION 11)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI... |
Doc: release_notes_2.3 update | @@ -126,9 +126,24 @@ available in the `version-specific v2.1 documentation
Fixed Issues Details
********************
-
-.. comment list items look like this (not indented)
- - :acrn-issue:`5008` - Slowdown in UOS (Zephyr)
+- :acrn-issue:`4958` - cleannup spin lock for hypervisor
+- :acrn-issue:`5316` - add default BAR ... |
nimble/ll/dtm: Add stat to count RX packets in real-time | #include "ble_ll_dtm_priv.h"
STATS_SECT_START(ble_ll_dtm_stats)
+ STATS_SECT_ENTRY(rx_count)
STATS_SECT_ENTRY(tx_failed)
STATS_SECT_ENTRY(rx_failed)
STATS_SECT_END
STATS_SECT_DECL(ble_ll_dtm_stats) ble_ll_dtm_stats;
STATS_NAME_START(ble_ll_dtm_stats)
+ STATS_NAME(ble_ll_dtm_stats, rx_count)
STATS_NAME(ble_ll_dtm_stats,... |
Fix util/mkdef.pl
The deprecation checking code here didn't work the same way as in
Configure, and used $config{options} to find an --api= option that
was never there. This is replaced with checking $config{api}, which
is the controlling variable for deprecation. | @@ -142,6 +142,14 @@ foreach (@known_algorithms) {
# disabled by default
$disabled_algorithms{"STATIC_ENGINE"} = 1;
+my $apiv = sprintf "%x%02x%02x", split(/\./, $config{api});
+foreach (keys %disabled_algorithms) {
+ if (/^DEPRECATEDIN_(\d+)_(\d+)_(\d+)$/) {
+ my $depv = sprintf "%x%02x%02x", $1, $2, $3;
+ $disabled_a... |
VERSION bump to version 0.8.32 | @@ -28,7 +28,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0")
# set version
set(LIBNETCONF2_MAJOR_VERSION 0)
set(LIBNETCONF2_MINOR_VERSION 8)
-set(LIBNETCONF2_MICRO_VERSION 31)
+set(LIBNETCONF2_MICRO_VERSION 32)
set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION})
set(LI... |
test-suite: dial back message sizes in RMA test | @@ -28,6 +28,7 @@ if [ $LMOD_FAMILY_MPI == "mvapich2" ];then
fi
@test "[Libs/IMB] run IMB-NBC on $NODES nodes under resource manager ($rm/$LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
+ skip
EXE=$IMB_DIR/bin/IMB-NBC
ARGS="-npmin 100 -msglog 1:8 Ibcast"
@@ -41,7 +42,7 @@ fi
@test "[Libs/IMB] run IMB-RMA on $NODES nodes und... |
python3 tests: raw_input
Raw input does not exist in python3 use six.input. | #!/usr/bin/env python
from __future__ import print_function
+
+import copy
import gc
-import sys
import os
+import random
import select
-import unittest
+import six
+import sys
import tempfile
import time
-import faulthandler
-import random
-import copy
-import psutil
+import unittest
from collections import deque
-fro... |
espcoredump: suppress -Waddress-of-packed-member warning | @@ -156,7 +156,12 @@ static void *esp_core_dump_get_fake_stack(uint32_t *stk_len)
static core_dump_reg_pair_t *esp_core_dump_get_epc_regs(core_dump_reg_pair_t* src)
{
+#pragma GCC diagnostic push
+#if __GNUC__ >= 9
+#pragma GCC diagnostic ignored "-Waddress-of-packed-member"
+#endif
uint32_t* reg_ptr = (uint32_t*)src;
... |
betafpvf411rx: add serial build to list | "BRUSHLESS_TARGET": "",
"RX_EXPRESS_LRS": ""
}
+ },
+ {
+ "name": "brushless.serial",
+ "defines": {
+ "BRUSHLESS_TARGET": "",
+ "RX_UNIFIED_SERIAL": ""
+ }
}
]
},
|
More intuitive logic for computing RD costs and bit costs for SMP | @@ -2071,15 +2071,6 @@ void kvz_search_cu_smp(encoder_state_t * const state,
}
}
- // Calculate more accurate cost when needed
- if (state->encoder_control->cfg.rdo >= 2) {
- kvz_cu_cost_inter_rd2(state,
- x, y, depth,
- lcu,
- inter_cost,
- inter_bitcost);
- }
-
// Count bits spent for coding the partition mode.
int s... |
Fix arduino Makefile | @@ -11,7 +11,7 @@ DTLS += aes.c aesni.c arc4.c asn1parse.c asn1write.c base64.c bignum.c blowf
sha1.c sha256.c sha512.c threading.c timing.c version.c version_features.c \
xtea.c pkcs11.c x509.c x509_crt.c debug.c net_sockets.c ssl_cache.c ssl_ciphersuites.c \
ssl_cli.c ssl_cookie.c ssl_srv.c ssl_ticket.c ssl_tls.c rsa... |
Updated pack rehosting instructions. | @@ -79,11 +79,11 @@ information is added to the index server.
Sometimes, it is necessary to rehost a pack (moving a pack from one URL to another). This implies that you need to change the \<url\> element in the PDSC file. To
ensure that the pack is found by a \ref cp_KeilComPack "Pack Index Service", follow this proced... |
updated launcher doe 2.13 | @@ -21,11 +21,11 @@ NOTE: Using a specific MPI implementation (mvapich2/2.1.g) which the release ver
If you are a *developer*, it's very likely I've chosen the wrong MPI implementation; you might have to hack internallauncher to load the module you need.\n"""
print msg
- sys.path.insert(0,"/uufs/chpc.utah.edu/sys/insta... |
Center narrow letters when being rendered in fixed width | @@ -62,6 +62,7 @@ namespace blit {
const int char_size = font.char_w * height_bytes;
size_t char_off = 0;
+ uint8_t fixwidth = 0;
for (char chr : message) {
// draw character
@@ -72,6 +73,13 @@ namespace blit {
const uint8_t* font_chr = &font.data[chr_idx * char_size];
+ // If this is a narrow character in fixed-width,... |
Changelog for 1.7 | -2017-04-19 - Version 1.6
+2017-08-23 - Version 1.7
+ - Native support for NetBSD
+ - ASCII only fuzzing
+ - Updated corpora for ISC Bind
+ - Printing final stats upon exit
+ - Refreshed support for Intel PT
+ - Support for __sanitizer_cov_trace_div
+ - Updated fuzzing examples for OpenSSL
+
+2017-04-19 - Version 1.6 (... |
Uses latest version of ci-image | @@ -12,7 +12,7 @@ parameters:
executors:
main-env:
docker:
- - image: ucbbar/chipyard-ci-image:d2b3dca
+ - image: ucbbar/chipyard-ci-image:34e56d5
environment:
JVM_OPTS: -Xmx3200m # Customize the JVM maximum heap limit
|
update name for tests in README | @@ -229,12 +229,12 @@ The following binaries are be created after successful build:
* `vcf_validator`: validation tool
* `vcf_debugulator`: automatic fixing tool
* `vcf_assembly_checker`: variant checking tool
-* `test_validator` and derivatives: testing correct behaviour of the tools listed above
+* `test_validation_s... |
support 'rho_app_id' in build.yml | @@ -876,6 +876,7 @@ class Jake
app_version += "\r\napp_name='#{$app_config["name"]}'"
app_version += "\r\ntitle_text='#{$app_config["name"]}'" if $current_platform == "win32"
app_version += "\r\norg_name='#{$app_config["vendor"]}'" if $current_platform == "win32"
+ app_version += "\r\nrho_app_id='#{$app_config["rho_app... |
Modify get_dir return result
return 0 only in case of finding lib/musl
avoid patching ld-linux-x86-64.so.2 with empty string | @@ -55,8 +55,9 @@ get_dir(const char *path, char *fres, size_t len)
DIR *dirp;
struct dirent *entry;
char *dcopy, *pcopy, *dname, *fname;
+ int res = -1;
- if (!path || !fres || (len <= 0)) return -1;
+ if (!path || !fres || (len <= 0)) return res;
pcopy = strdup(path);
dname = dirname(pcopy);
@@ -64,7 +65,7 @@ get_dir... |
Fix bug protecting again instead of unprotecting the core | @@ -377,7 +377,7 @@ esp_netconn_delete(esp_netconn_p nc) {
}
}
}
- ESP_CORE_PROTECT();
+ ESP_CORE_UNPROTECT();
esp_mem_free(nc); /* Free the memory */
nc = NULL;
|
macrecovery: Add Big Sur Recovery command
MacBookPro11,3 - Mac-2BD1B31983FE1663 | @@ -28,6 +28,9 @@ Catalina
./macrecovery.py -b Mac-CFF7D910A743CAAF -m 00000000000PHCD00
./macrecovery.py -b Mac-00BE6ED71E35EB86 -m 00000000000000000
+Big Sur
+./macrecovery.py -b Mac-2BD1B31983FE1663 -m 00000000000000000
+
Diagnostics
./macrecovery.py -b Mac-E43C1C25D4880AD6 -m 00000000000000000 -diag
./macrecovery.p... |
spider: make handle-stop-thread into a get by instead of a got by to fix failing +on-load | ++ handle-stop-thread
|= [=tid nice=?]
^- (quip card ^state)
- =/ =yarn (~(got by tid.state) tid)
- ?: (has-yarn running.state yarn)
+ =/ yarn=(unit yarn) (~(get by tid.state) tid)
+ ?~ yarn
+ ~& %stopping-nonexistent-thread
+ [~ state]
+ ?: (has-yarn running.state u.yarn)
?: nice
- (thread-done yarn *vase)
- (thread-f... |
Expand attribute declaration test | @@ -1624,7 +1624,8 @@ START_TEST(test_dtd_attr_handling)
const char *prolog =
"<!DOCTYPE doc [\n"
"<!ELEMENT doc EMPTY>\n";
- AttTest attr_data = {
+ AttTest attr_data[] = {
+ {
"<!ATTLIST doc a ( one | two | three ) #REQUIRED>\n"
"]>"
"<doc a='two'/>",
@@ -1633,18 +1634,35 @@ START_TEST(test_dtd_attr_handling)
"(one|t... |
components/bt: Fix the issue caused by the power off the bt power domain | #include "esp32c3/rom/rom_layout.h"
#include "esp_timer.h"
#include "esp_sleep.h"
+#include "phy.h"
#if CONFIG_BT_ENABLED
@@ -1237,6 +1238,11 @@ esp_err_t esp_bt_controller_deinit(void)
esp_unregister_mac_bb_pu_callback(btdm_mac_bb_power_up_cb);
#endif
+ /* Fix the issue caused by the power off the bt power domain.
+ *... |
handle edge-cases in cow reference counting | @@ -14,6 +14,11 @@ uint16_t keyNameRefInc (struct _KeyName * keyname)
return UINT16_MAX;
}
+ if (keyname->refs == UINT16_MAX - 1)
+ {
+ return UINT16_MAX;
+ }
+
keyname->refs++;
return keyname->refs;
}
@@ -25,6 +30,11 @@ uint16_t keyNameRefDec (struct _KeyName * keyname)
return UINT16_MAX;
}
+ if (keyname->refs == 0)
+... |
root: free non_desktop_outputs list on root_destroy
This fixes a memory leak because the non_desktop_outputs list was not
freed when the root was destroyed. | @@ -50,6 +50,7 @@ struct sway_root *root_create(void) {
void root_destroy(struct sway_root *root) {
wl_list_remove(&root->output_layout_change.link);
list_free(root->scratchpad);
+ list_free(root->non_desktop_outputs);
list_free(root->outputs);
wlr_output_layout_destroy(root->output_layout);
free(root);
|
doc: update install.md for packaging | @@ -88,11 +88,9 @@ apt-get source -b elektra
To build Debian Packages from the source you might want to use:
```sh
-dpkg-buildpackage -us -uc -sa
+make package
```
-(You need to be in the Debian branch, see [GIT](GIT.md))
-
## macOS
You can install Elektra using [Homebrew](http://brew.sh) via the shell command:
@@ -111... |
Ruby Bindings: Fix warning about unknown option | @@ -63,8 +63,11 @@ else()
set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -DSWIG_TYPE_TABLE=kdb")
# disable certain compiler warnings for SWIG generated files
- set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-unused-parameter -Wno-unused-but-set-variable")
+ set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-unused... |
tests: internal: config_map: fix test for mult_slist
Since `FLB_CONFIG_MAP_SLIST_4` requires 4 strings at least, we
need to pass something like "a b c d", not "a b c".
This should fix the CI failure occurring on | @@ -272,7 +272,7 @@ void test_multiple()
flb_kv_item_create(&prop, "mult_clist", "d, e, f");
flb_kv_item_create(&prop, "mult_clist", "g, h, i");
- flb_kv_item_create(&prop, "mult_slist", "d e f");
+ flb_kv_item_create(&prop, "mult_slist", "d e f g");
map = flb_config_map_create(config_map_mult);
TEST_CHECK(map != NULL)... |
misc: vppctl - fix coverity warning
Calculate space left to silence coverity.
Type: fix
Fixes: | @@ -169,7 +169,7 @@ main (int argc, char *argv[])
struct termios tio;
int efd = -1;
char *cmd = 0;
- int cmd_len = 0;
+ unsigned long cmd_len = 0;
int do_quit = 0;
int is_interactive = 0;
int acked = 1; /* counts messages from VPP; starts at 1 */
@@ -220,7 +220,7 @@ main (int argc, char *argv[])
}
if (cmd_len > 0)
{
- ... |
Update docs with socket API support | @@ -20,6 +20,7 @@ signal.h | No | - |
stdalign.h | No | - |
stdarg.h | Yes | - |
stdatomic.h | No | - |
+socket.h | Partial | Functions implicitly call out to untrusted host. Full support available on Linux hosts. Partial support available on Windows hosts. |
stdbool.h | Yes | - |
stddef.h | Yes | - |
stdint.h | Yes | ... |
add switcher to sidebar | @@ -2023,7 +2023,7 @@ gesturemouse(const Arg *arg)
Monitor *m;
XEvent ev;
Time lasttime = 0;
-
+ int tmpactive = 0;
if (XGrabPointer(dpy, root, False, MOUSEMASK, GrabModeAsync, GrabModeAsync,
None, cursor[CurMove]->cursor, CurrentTime) != GrabSuccess)
return;
@@ -2048,10 +2048,15 @@ gesturemouse(const Arg *arg)
else
sp... |
Badger2040: Add SHA to CI build artifact. | @@ -83,13 +83,15 @@ jobs:
- name: Rename .uf2 for artifact
shell: bash
working-directory: micropython/ports/rp2/build-${{env.BOARD_TYPE}}
- run: cp firmware.uf2 ${{github.event.repository.name}}-${{github.event.release.tag_name}}-badger2040-micropython-${{env.MICROPYTHON_VERSION}}.uf2
+ run: |
+ cp firmware.uf2 ${{gith... |
Make test_alloc_long_public_id() robust vs allocation pattern changes | @@ -10046,21 +10046,9 @@ START_TEST(test_alloc_long_public_id)
"<doc>&e;</doc>";
char entity_text[] = "Hello world";
int i;
-#define MAX_ALLOC_COUNT 20
- int repeat = 0;
+#define MAX_ALLOC_COUNT 40
for (i = 0; i < MAX_ALLOC_COUNT; i++) {
- /* Repeat certain counts to defeat allocation caching */
- if (i == 4 && repeat ... |
[FireChip] Fix BootROM path handling | @@ -16,11 +16,11 @@ import icenet._
class WithBootROM extends Config((site, here, up) => {
case BootROMParams => {
- val rebarBootROM = new File(s"./generators/testchipip/bootrom/bootrom.rv${site(XLen)}.img")
- val firesimBootROM = new File(s"./target-rtl/firechip/generators/testchipip/bootrom/bootrom.rv${site(XLen)}.i... |
stm32f4discovery/wifi: icmp/arp message should talk to GS2200M through usrsock | #
# CONFIG_MMCSD_HAVE_CARDDETECT is not set
# CONFIG_MMCSD_HAVE_WRITEPROTECT is not set
+# CONFIG_NET_ARP is not set
# CONFIG_NSH_ARGCAT is not set
# CONFIG_NSH_CMDOPT_HEXDUMP is not set
# CONFIG_NSH_CMDPARMS is not set
@@ -55,7 +56,7 @@ CONFIG_NETUTILS_TELNETD=y
CONFIG_NETUTILS_WEBCLIENT=y
CONFIG_NETUTILS_WEBSERVER=y
... |
plat: fix case-sensitive issue in makefile when compiled under linux | @@ -17,8 +17,6 @@ GLOBAL_CFLAGS += -DRHINO_CONFIG_TASK_STACK_CUR_CHECK=1
GLOBAL_INCLUDES += ../../arch/arm/armv7m/gcc/m4/
GLOBAL_INCLUDES += ./lwip-2.0.2/port/
-#GLOBAL_INCLUDES += ../../../kernel/protocols/net/include
-#GLOBAL_INCLUDES += ../../../kernel/protocols/net/include/lwip
#GLOBAL_LDFLAGS += -mcpu=cortex-m4 -m... |
gfni: work around clang bug | @@ -204,7 +204,12 @@ simde_x_mm_gf2p8matrix_multiply_epi64_epi8 (simde__m128i x, simde__m128i A) {
SIMDE_VECTORIZE
#endif
for (int i = 0 ; i < 8 ; i++) {
+ #if defined(SIMDE_BUG_CLANG_50932)
+ p = HEDLEY_REINTERPRET_CAST(SIMDE_POWER_ALTIVEC_VECTOR(unsigned char),
+ vec_bperm(HEDLEY_STATIC_CAST(SIMDE_POWER_ALTIVEC_VECTO... |
Disable yndexing of __vcs_version__.c
yndexing makes little sense here and currently leads to configuration error because the file is generated inside node and so not properly processed as input. | @@ -1419,7 +1419,7 @@ class GnuCompiler(Compiler):
cxx_args = ['$GCCFILTER', '$YNDEXER_ARGS', '$CXX_COMPILER', '$C_FLAGS_PLATFORM', '$GCC_COMPILE_FLAGS', '$CXXFLAGS', '$EXTRA_OUTPUT', '$SRCFLAGS', '$TOOLCHAIN_ENV', '$YNDEXER_OUTPUT'] + style
c_args = ['$GCCFILTER', '$YNDEXER_ARGS', '$C_COMPILER', '$C_FLAGS_PLATFORM', '... |
add comment on how to run the test shell script after build | #
# setup a directory $BUILD_TEST_DIR to simulate jenkins enviornment for building
# a ROCm integrated aomp. After you run this script, you should be able to
-# run these 4 commands from directory $BUILD_TEST_DIR to simulate a jenkins build.
+# run these 5 commands from directory $BUILD_TEST_DIR to simulate a jenkins b... |
Minor update to main README.md. | @@ -154,9 +154,7 @@ Configuration information for the examples and the tests can be found in the `cf
| GNSS | [location](/example/location "location example") example using a GNSS chip connected directly or via a cellular module.|
# Quick Start Guide
-It is easy to get started with `ubxlib` using the [examples](/exampl... |
dbug: no such thing as fallback duct | ++ bone-to-pairs
|= [=bone ossuary]
^- (list [@t json])
- =/ fallback-duct=duct
- :: if backward flow, fall back to "original" duct
- ::
- ?: =(0 (mod bone 2)) ~
- (~(gut by by-bone) (dec bone) ~)
:~ 'bone'^(numb bone)
- 'duct'^(from-duct (~(gut by by-bone) bone fallback-duct))
+ 'duct'^(from-duct (~(gut by by-bone) bo... |
Emitter: tree_method can't be a closure.
This hasn't been possible since classes could no longer be a closure. | @@ -3455,6 +3455,8 @@ static void begin_call(lily_emit_state *emit, lily_ast *ast,
if (emit->block->self == NULL)
maybe_close_over_class_self(emit, ast);
+ call_sym = first_arg->sym;
+ break;
case tree_defined_func:
case tree_inherited_new:
call_sym = first_arg->sym;
|
update ya tool arc
check for empty commit message
multiple paths in 'arc reset'
show info of deleted branch
arc branch --set-upstream-to | },
"arc": {
"formula": {
- "sandbox_id": [302768113],
+ "sandbox_id": [303737031],
"match": "arc"
},
"executable": {
|
CLI crash on 'set int feature' | @@ -414,7 +414,7 @@ set_interface_features_command_fn (vlib_main_t * vm,
/* Get a line of input. */
if (!unformat_user (input, unformat_line_input, line_input))
- goto done;
+ return 0;
while (unformat_check_input (line_input) != UNFORMAT_END_OF_INPUT)
{
|
[CI] Install Rust toolchain in CI | @@ -47,6 +47,13 @@ jobs:
python3 scripts/build_os_toolchain.py
echo "Toolchain built successfully"
+ - name: Build Rust toolchain
+ shell: bash
+ run: |
+ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
+ rustup toolchain install nightly --allow-downgrade --profile minim... |
Make sure we've got a path separator before the actual dylib name | @@ -63,7 +63,7 @@ endif
ifeq ($(uname_S),Darwin)
DYLIBSUFFIX=dylib
DYLIB_MINOR_NAME=$(LIBNAME).$(HIREDIS_SONAME).$(DYLIBSUFFIX)
- DYLIB_MAKE_CMD=$(CC) -shared -Wl,-install_name,$(PREFIX)/$(LIBRARY_PATH)$(DYLIB_MINOR_NAME) -o $(DYLIBNAME) $(LDFLAGS)
+ DYLIB_MAKE_CMD=$(CC) -shared -Wl,-install_name,$(PREFIX)/$(LIBRARY_PA... |
changed g_tmpfile_to_remove to g_tmpfile to be come clear | @@ -54,7 +54,7 @@ static size_t g_pos = 0, g_fsize = 0, g_size = 0;
static void *g_mem;
static pthread_mutex_t g_mem_mutex = PTHREAD_MUTEX_INITIALIZER;
static char g_tmpfile_path[TMPFILE_PATH_LEN] = "";
-static char g_tmpfile_to_remove[TMPFILE_PATH_LEN + TMPFILE_TEMPLATE_LEN];
+static char g_tmpfile[TMPFILE_PATH_LEN + ... |
added shape checks | {
if ( lis == u3_nul ) {
return u3_nul;
- } else {
+ }
+ else if ( u3du(lis) != c3y ) {
+ return u3m_bail(c3__exit);
+ }
+ else
+ {
u3_noun i_lis = u3h(lis);
u3_noun t_lis = u3t(lis);
+
+ if (u3du(i_lis) != c3y) u3m_bail(c3__exit);
+
u3_noun typ = u3h(i_lis);
u3_noun p_typ, q_typ, pq_typ, qq_typ, rq_typ;
( (c3n == u3r_... |
added warning not to use hcxdumptool in parallel with another channel hopper | @@ -7241,7 +7241,7 @@ printf("%s %s (C) %s ZeroBeat\n"
" hardware modification is necessary, read more:\n"
" https://github.com/ZerBea/hcxdumptool/tree/master/docs\n"
" do not run hcxdumptool on logical (NETLINK) interfaces (monx, wlanxmon)\n"
- " do not use hcxdumptool in combination with 3rd party tools, which take a... |
Fix functional test build break due to refactoring CS VERSION into constexpr | @@ -58,7 +58,7 @@ namespace clienttelemetry {
{
if (j + 2 < length)
{
- if (test[j + 1] == COMMON_SCHEMA_VER && test[j + 2] == '.')
+ if (test[j + 1] == ('0'+::CsProtocol::CS_VER_MAJOR) && test[j + 2] == '.')
{
found = true;
break;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.