message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
admin/meta-packages: don't require msr-safe for aarch64 | @@ -374,7 +374,9 @@ Collection of serial library builds for use with GNU compiler toolchain
%package -n %{PROJ_NAME}-slurm-client
Summary: OpenHPC client packages for SLURM
+%ifnarch aarch64
Requires: msr-safe-slurm%{PROJ_DELIM}
+%endif
Requires: munge%{PROJ_DELIM}
Requires: slurm%{PROJ_DELIM}
Requires: slurm-slurmd%{P... |
doc: fix typo in network virt hld
punctuation fix | @@ -136,7 +136,7 @@ ACRN UOS TX FLOW
================
The following shows the ACRN UOS network TX flow, using TCP as an
-example, showing the flow through each layer:.
+example, showing the flow through each layer:
UOS TCP Layer
-------------
|
Fix dh_apparmor call in debian/rules | export DH_OPTIONS
%:
- dh $@ --with apparmor,autoreconf,systemd
+ dh $@ --with autoreconf,systemd
override_dh_auto_configure:
dh_auto_configure -- \
@@ -27,6 +27,7 @@ ifeq ($(filter $(DEB_HOST_ARCH), amd64),)
override_dh_auto_test:
endif
-override_dh_apparmor:
+override_dh_install:
+ dh_install
dh_apparmor --profile-na... |
Fix earning not shown | @@ -1653,11 +1653,7 @@ int xdag_print_block_info(xdag_hash_t hash, FILE *out)
n += i;
}
- if (!n) {
- free(ba);
- return 0;
- }
-
+ if (n) {
qsort(ba, n, sizeof(struct block_internal *), bi_compar);
for (i = 0; i < n; ++i) {
@@ -1676,6 +1672,7 @@ int xdag_print_block_info(xdag_hash_t hash, FILE *out)
}
}
}
+ }
free(ba)... |
Updating example file for funcslower | @@ -75,9 +75,38 @@ This shows the first two arguments to __kmalloc -- the first one is the size
of the requested allocation. The return value is also shown (null return values
would indicate a failure).
+# ./funcslower.py -U -u 100 'c:open'
+Tracing function calls slower than 100 us... Ctrl+C to quit.
+COMM PID LAT(us)... |
test/fpsensor: Add missing RUN_TEST macro
The RUN_TEST macro is needed to perform the bookeeping on failures for
the tests that are run.
BRANCH=none
TEST=make buildall -j | @@ -27,8 +27,8 @@ test_static int test_validate_fp_buffer_offset_failure_overflow(void)
void run_test(int argc, char **argv)
{
- test_validate_fp_buffer_offset_success();
- test_validate_fp_buffer_offset_failure_no_overflow();
- test_validate_fp_buffer_offset_failure_overflow();
+ RUN_TEST(test_validate_fp_buffer_offse... |
os/tools/kconfig2html: remove unnecessary sentence
A html file will be uploaded in a public GitHub so that
"For Internal Use Only" is unnecessary. | @@ -2354,7 +2354,6 @@ int main(int argc, char **argv, char **envp)
output("<tr align=\"center\" bgcolor=\"#e4e4e4\">\n");
output("<td>\n");
output("<h1><big><font color=\"#3c34ec\"><i>TinyAra Configuration Variables</i></font></big></h1>\n");
- output("<p>FOR INTERNAL USE ONLY</p>\n");
output("<p>Last Updated: %s</p>\n... |
usrsocktest: Fix default config mismatch in recv_block & no_block_connect | @@ -194,7 +194,7 @@ static void no_block_connect(FAR struct usrsocktest_daemon_conf_s *dconf)
dconf->endpoint_addr = "127.0.0.1";
dconf->endpoint_port = 255;
- dconf->endpoint_block_connect = true;
+ dconf->endpoint_block_connect = false;
dconf->endpoint_block_send = true;
dconf->endpoint_recv_avail_from_start = true;
... |
fix final comment: remove superfluous assert | @@ -853,7 +853,6 @@ rrinternal_parse_rdata(sldns_buffer* strbuf, char* token, size_t token_len,
}
/* The root label is one more character, so smaller
* than 1 + 1 means no Svcparam Keys */
- assert(*rdata == 0);
if (rdata_len < 2)
return LDNS_WIREPARSE_ERR_OK;
|
khan: strip inner faces from +bear | == ::
:: ::
+$ avow (each (cask) goof) :: result type
- +$ bear $@(=desk [=desk =case]) :: local desk/case
+ +$ bear $@(desk [desk case]) :: local desk/case
+$ fyrd [=bear name=term =mark data=(cask)] :: run-thread request
-- ::khan
::
|
numerics: makes fc3d_AlartCurnierFunction & similar available/python | @@ -188,7 +188,8 @@ static inline long int array_size(mxArray* m, int indx)
array_len[0] = *p_problem_size1 * *p_problem_size1;
}
- if (CHECK_ARRAY_VECTOR(array) || (array_numdims == 2 && CHECK_ARRAY_MATRIX(array)) || !CHECK_ARRAY_SIZE(array_len[0], array, 0) || !(array_numdims(array) > 1 && CHECK_ARRAY_SIZE(array_len[... |
Preliminary 4.4.4 changelist | +CARTO Mobile SDK 4.4.4
+-------------------
+
+### New features:
+
+* Feature id is now accessible in CartoCSS using 'mapnik::feature_id' variable
+
+### Changes, fixes:
+
+* Fixed issues with 'feature id' handling in vector tile renderer when feature was used in multiple layers
+* Updated harfbuzz dependency to the l... |
misc: Add maintainer entry for native virtio driver
Type: feature | @@ -84,8 +84,11 @@ M: Damjan Marion <damarion@cisco.com>
M: Steven Luong <sluong@cisco.com>
M: Mohsin Kazmi <sykazmi@cisco.com>
F: src/vnet/devices/tap/
-F: src/vnet/devices/virtio/node.c
-F: src/vnet/devices/virtio/device.c
+
+VNET Native Virtio Drivers
+I: virtio
+M: Mohsin Kazmi <sykazmi@cisco.com>
+F: src/vnet/devi... |
Add Test: Add missing documentation for functions | @@ -67,6 +67,16 @@ macro (add_gtest source)
endif(BUILD_TESTING)
endmacro (add_gtest)
+# Add a Markdown Shell Recorder test for a certain Markdown file
+#
+# NAME: This argument specifies a postfix for the name of the CTest this function creates.
+# FILE: This argument specifies the location of the Markdown file that c... |
Add failing test case on search by condition | @@ -51,6 +51,20 @@ ${tools_dir}/codes_bufr_filter $tempRules $bufrFile > $tempText
diff $tempRef1 $tempText
+# --------------------------------------------------------
+# Test 2
+# --------------------------------------------------------
+bufrFile=asca_139.bufr
+cat > $tempRules <<EOF
+ set unpack=1;
+ print "[/beamIde... |
Add support for native code functions in bootstrap, add new discover function to the api in order to allow inspect of single functions. | @@ -165,22 +165,13 @@ function node_loader_trampoline_discover_arguments(node) {
return args;
}
-function node_loader_trampoline_discover(handle) {
- const discover = {};
-
+function node_loader_trampoline_discover_function(func) {
try {
- const names = Object.getOwnPropertyNames(handle);
-
- for (let i = 0; i < names.... |
Add doc for ngtcp2_recv_handshake_data | @@ -632,6 +632,24 @@ typedef ssize_t (*ngtcp2_send_server_cleartext)(ngtcp2_conn *conn,
const uint8_t **pdest,
void *user_data);
+/**
+ * @functypedef
+ *
+ * ngtcp2_recv_handshake_data is invoked when cryptographic handshake
+ * data are received. The received handshake data are pointed by
+ * |data|, and its length i... |
fix: the first parameter of realpath may be null | @@ -2541,7 +2541,7 @@ EXPORT void my___explicit_bzero_chk(x86emu_t* emu, void* dst, uint32_t len, uint
EXPORT void* my_realpath(x86emu_t* emu, void* path, void* resolved_path)
{
- if(isProcSelf(path, "exe")) {
+ if(path && isProcSelf(path, "exe")) {
return realpath(emu->context->fullpath, resolved_path);
}
return realp... |
Remove escape as way to set sel size to clipboard | @@ -1783,11 +1783,6 @@ void ged_input_cmd(Ged* a, Ged_input_cmd ev) {
a->ged_cursor.h = 1;
a->ged_cursor.w = 1;
a->is_draw_dirty = true;
- } else if (a->clipboard_field.height >= 1 &&
- a->clipboard_field.width >= 1) {
- a->ged_cursor.h = a->clipboard_field.height;
- a->ged_cursor.w = a->clipboard_field.width;
- a->is_... |
Scripts: Fix chemical src/sink key | @@ -268,6 +268,7 @@ while (<>) {
$dbh->do("insert into grib values (?,?,?,?,?,?)",undef, $paramId,$edition,$centre,61,$scaledValueWL2,0);
}
$dbh->do("insert into grib values (?,?,?,?,?,?)",undef, $paramId,$edition,$centre,64,$sourceSink,0) if ($is_srcsink ne "");
+ $dbh->do("insert into grib values (?,?,?,?,?,?)",undef... |
I updated the surface regression test to set the msub time limit from
7 hours to 10 hours. It doesn't always finish in 7 hours. | @@ -426,5 +426,5 @@ chmod 750 $testHost
if test "$testHost" = "surface" ; then
scp surface surface:surface_testit
subTag=`date +%Y-%m-%d-%H:%M`
- ssh syrah "msub -l nodes=1:ppn=16 -l gres=ignore -l walltime=7:00:00 -o surface_testit_$subTag.out -q pbatch -A wbronze -z ./surface_testit"
+ ssh syrah "msub -l nodes=1:ppn=... |
Make toolchain dependency more consistent | @@ -521,10 +521,10 @@ static void process_set_address(uint8_t rhport)
const uint32_t addr = USB0.USBADDR.BIT.USBADDR;
if (!addr) return;
const tusb_control_request_t setup_packet = {
-#if defined(__GNUC__)
- .bmRequestType = 0,
-#else
+#if defined(__CCRX__)
.bmRequestType = { 0 }, /* Note: CCRX needs the braces over th... |
Ignore nrf52840 build artifacts | @@ -32,6 +32,7 @@ COOJA.testlog
*.jn516x
*.native
*.nrf52dk
+*.nrf52840
*.openmote
*.simplelink
*.sky
@@ -46,6 +47,7 @@ COOJA.testlog
!Makefile.jn516x
!Makefile.native
!Makefile.nrf52dk
+!Makefile.nrf52840
!Makefile.openmote
!Makefile.sky
!Makefile.cc26x0-cc13x0
|
net: bugfix to set a network device buffer | @@ -39,7 +39,7 @@ endif #NET_LWIP
menu "Driver buffer configuration"
config NET_MULTIBUFFER
- bool #"Use multiple device-side I/O buffers"
+ bool "Use multiple device-side I/O buffers"
default n
---help---
Traditionally, uIP has used a single buffer for all incoming and
|
Seeing if this fixes the last warnings for Windows | @@ -788,7 +788,7 @@ JANET_CORE_FN(cfun_net_getsockname,
memset(&ss, 0, slen);
int error;
- if (0 != (error = getsockname(js->handle, (struct sockaddr *) &ss, &slen)))
+ if (0 != (error = getsockname((JSock)js->handle, (struct sockaddr *) &ss, &slen)))
janet_panicf("Failed to get peername on fd %d, error: %s", js->handl... |
Fixed image size validation in load_cimage | @@ -2367,7 +2367,7 @@ int load_cimage(
unsigned int dim_y = unpack_bytes(hdr.dim_y[0], hdr.dim_y[1], hdr.dim_y[2], 0);
unsigned int dim_z = unpack_bytes(hdr.dim_z[0], hdr.dim_z[1], hdr.dim_z[2], 0);
- if (dim_x == 0 || dim_z == 0 || dim_z == 0)
+ if (dim_x == 0 || dim_y == 0 || dim_z == 0)
{
printf("ERROR: File corrupt... |
main shm BUGFIX missed unlock | @@ -909,8 +909,7 @@ sr_shmmain_state_del_evpipe(sr_conn_ctx_t *conn, uint32_t evpipe_num)
conn_s = sr_shmmain_conn_state_find(main_shm, conn->ext_shm.addr, conn, getpid());
if (!conn_s) {
SR_ERRINFO_INT(&err_info);
- sr_errinfo_free(&err_info);
- return;
+ goto cleanup_unlock;
}
/* find the evpipe */
@@ -922,8 +921,7 @... |
input: always initialize collector event context | @@ -453,6 +453,7 @@ int flb_input_set_collector_time(struct flb_input_instance *in,
collector->nanoseconds = nanoseconds;
collector->instance = in;
collector->running = FLB_FALSE;
+ MK_EVENT_NEW(&collector->event);
mk_list_add(&collector->_head, &config->collectors);
mk_list_add(&collector->_head_ins, &in->collectors);... |
Fix CID#1455024 | @@ -661,8 +661,15 @@ nt_dtls_install(neat_ctx *ctx, struct neat_pollable_socket *sock)
struct security_data *private = calloc (1, sizeof (struct security_data));
struct neat_dtls_data *dtls = calloc (1, sizeof( struct neat_dtls_data));
- if (!private || dtls) {
+ if (!private) {
nt_log(NEAT_LOG_ERROR, "%s - calloc fail... |
Enable SVE for A64FX | @@ -155,9 +155,9 @@ endif
ifeq (1, $(filter 1,$(GCCVERSIONGTEQ11) $(ISCLANG)))
ifeq ($(CORE), A64FX)
-CCOMMON_OPT += -march=armv8.2-a -mtune=a64fx
+CCOMMON_OPT += -march=armv8.2-a+sve -mtune=a64fx
ifneq ($(F_COMPILER), NAG)
-FCOMMON_OPT += -march=armv8.2-a -mtune=a64fx
+FCOMMON_OPT += -march=armv8.2-a+sve -mtune=a64fx
... |
libunwind/aarch64: disable HAVE_DECL_PTRACE_POKEUSER and enable HAVE_DECL_PT_GETREGSET | @@ -148,6 +148,13 @@ if [ $? -ne 0 ]; then
abort 1
fi
+# Fix stuff that configure failed to detect
+# TODO: Investigate for more elegant patches
+if [ "$ARCH" == "arm64" ]; then
+ sed -i -e 's/#define HAVE_DECL_PTRACE_POKEUSER 1/#define HAVE_DECL_PTRACE_POKEUSER 0/g' include/config.h
+ echo "#define HAVE_DECL_PT_GETREG... |
test/evp_extra_test.c: Modify to reflect provider support in test_EVP_PKEY_check
With our providers, RSA now supports public key check and key parameter check. | @@ -399,9 +399,9 @@ static APK_DATA keydata[] = {
};
static APK_DATA keycheckdata[] = {
- {kExampleRSAKeyDER, sizeof(kExampleRSAKeyDER), EVP_PKEY_RSA, 1, -2, -2, 0},
+ {kExampleRSAKeyDER, sizeof(kExampleRSAKeyDER), EVP_PKEY_RSA, 1, 1, 1, 0},
{kExampleBadRSAKeyDER, sizeof(kExampleBadRSAKeyDER), EVP_PKEY_RSA,
- 0, -2, -2... |
Warn about compressed FASTA or assembly report files | #include "util/logger.hpp"
#include "vcf/assembly_checker.hpp"
#include "vcf/assembly_check_report_writer.hpp"
+#include "vcf/compression.hpp"
#include "vcf/string_constants.hpp"
namespace
@@ -49,6 +50,11 @@ namespace
return description;
}
+ bool check_compressed_file(const std::string filePath) {
+ std::string fileExt... |
ixfr-out, fix comment in ixfr_read_header_data_size. | @@ -870,7 +870,7 @@ static int ixfr_read_header_data_size(const char* zname,
uint32_t file_oldserial = 0, file_newserial = 0;
if(!ixfr_read_file_header(zname, zfile, file_num, &file_oldserial,
&file_newserial, data_size, 0)) {
- /* could not read, so it was not done */
+ /* could not read */
return 0;
}
return 1;
|
Make: escape paths to pkg-config file
Add double quotes around the path to the pkg-config file so that a path
containing whitespace does not break the build. | @@ -100,12 +100,12 @@ endif
#Generating openblas.pc
- @echo Generating openblas.pc in $(DESTDIR)$(OPENBLAS_PKGCONFIG_DIR)
- @echo 'libdir='$(OPENBLAS_LIBRARY_DIR) >> $(DESTDIR)$(OPENBLAS_PKGCONFIG_DIR)/openblas.pc
- @echo 'includedir='$(OPENBLAS_INCLUDE_DIR) >> $(DESTDIR)$(OPENBLAS_PKGCONFIG_DIR)/openblas.pc
- @echo 'v... |
serial-libs/R: bump to v3.4.4 | @@ -40,7 +40,7 @@ Requires: openblas-%{compiler_family}%{PROJ_DELIM}
Name: %{pname}-%{compiler_family}%{PROJ_DELIM}
Release: 1%{?dist}
-Version: 3.4.3
+Version: 3.4.4
Source: https://cran.r-project.org/src/base/R-3/R-%{version}.tar.gz
Source1: OHPC_macros
Url: http://www.r-project.org/
|
test: add test case for aes-256-siv jet mismatch, observed in the wild | ^- (list vector-siv)
:~
::
+ :: failed in the wild
+ ::
+ :^ 0xfdef.6253.d284.a940.1b5d.d1b7.fbcd.4489.
+ 3071.bf93.ace9.37da.7c5d.77d2.1f3e.cda4.
+ 83be.1c51.a88b.c9ba.8741.e1ee.935b.c0ef.
+ 888a.feff.0249.bdb6.1344.0ff9.4e1b.fca5
+ ad=~
+ inp=0x97.0341.38e3.960e.87e1
+ :+ iv=0x249f.85e3.c9a8.29b6.3122.ec22.cde6.76df
... |
PRId64 redefinitionn (104 to go)
exists there since 2013 | /* define some things the M$ VC++ doesn't know */
#define UPNP_INLINE _inline
typedef __int64 int64_t;
- #define PRId64 "I64d"
#define PRIzd "ld"
#define PRIzu "lu"
#define PRIzx "lx"
|
Prelude script now runs cmake after updating files. | # the initialization found within the binding file.
#
# * Add the module's name to `targets` right below this comment and run this
-# script.
-#
-# * Recompile the interpreter. The new module should now be available.
+# script. This script will reload cmake after updating files.
#
# * Add module tests in `test/prelude/... |
CI: install PACSign deps for CentOS 7.6
Install package openssl11-devel to provide the necessary libcrypto.so
file for PACSign. | @@ -24,9 +24,11 @@ RUN yum install -y \
libedit-devel \
epel-release
-RUN yum install -y libudev-devel
-RUN yum install -y libcap-devel
-RUN yum install -y cmake3
+RUN yum install -y \
+ libudev-devel \
+ libcap-devel \
+ cmake3 \
+ openssl11-devel
RUN python3 -m pip install setuptools --upgrade
RUN python3 -m pip inst... |
system/cfgdata: add "format" command to description | @@ -55,7 +55,8 @@ static void cfgdatacmd_help(void)
printf(" all: show all config entries\n");
printf(" print: display a specific config entry\n");
printf(" set: set or change a config entry\n");
- printf(" unset: delete a config entry\n\n");
+ printf(" unset: delete a config entry\n");
+ printf(" format: delete all co... |
stm32/spi: Fix baudrate calculation for H7 series.
Fixes issue | @@ -633,7 +633,11 @@ void spi_print(const mp_print_t *print, const spi_t *spi_obj, bool legacy) {
if (spi->State != HAL_SPI_STATE_RESET) {
if (spi->Init.Mode == SPI_MODE_MASTER) {
// compute baudrate
+ #if defined(STM32H7)
+ uint log_prescaler = (spi->Init.BaudRatePrescaler >> 28) + 1;
+ #else
uint log_prescaler = (spi... |
flash_loader: fixed alignment of size of the lx loader | @@ -68,7 +68,7 @@ static const uint8_t loader_code_stm32lx[] = {
0x00, 0xf1, 0x04, 0x00,
0x01, 0xf1, 0x04, 0x01,
0x04, 0x3a, 0xf7, 0xdc,
- 0x00, 0xbe
+ 0x00, 0xbe, 0x00, 0x00
};
static const uint8_t loader_code_stm32f4[] = {
|
copy messages marked as DO_NOT_PARSE_ARGS to the event_message buff using strcpy | @@ -1035,6 +1035,9 @@ NVM_API NvmStatusCode nvm_store_system_entry (CONST CHAR8 *source, UINT32 event
if (*((UINT32 *) args) != DO_NOT_PARSE_ARGS) {
ret_code = (int)AsciiVSPrint(event_message, size, message, args);
}
+ else {
+ ret_code = strcpy_s(event_message, sizeof(event_message), message);
+ }
VA_END(args); // Cle... |
SOVERSION bump to version 5.3.5 | @@ -45,7 +45,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 3)
-set(SYSREPO_MICRO_SOVERSION 4)
+set(SYSREPO_MICRO_SO... |
BugID:19652707:Fix ota stress test logic | @@ -123,12 +123,15 @@ static int httpc_recv_fun(httpc_handle_t httpc, uint8_t *buf, int32_t buf_size,
ota_header_found = false;
ota_file_size = 0;
ota_rx_size = 0;
+ LOG("ota_req_times %d, ota_rsp_times %d, ota_req_fail_times %d\r\n",
+ ota_req_times, ota_rsp_times, ota_req_fail_times);
}
if (ret == RX_CONTINUE || ret ... |
More changes to -H format. | @@ -234,8 +234,8 @@ void PrintFileTypes(int iFileType, int bPadString) {
void WriteHelpOption(OPTIONS *options, int bLong) {
int iChar,iCharsLeft,iPosChar;
- int iMaxChars=66; // Max # of chars in value field
- int iMaxHeaderChar = 84; // Max # of chars in header
+ int iMaxChars=65; // Max # of chars in value field
+ i... |
Refine component_check_test_requires_psa_disabled change grep options order for better compatibility | @@ -876,8 +876,8 @@ component_check_doxygen_warnings () {
component_check_test_requires_psa_disabled () {
msg "Check: tests requiring PSA to be disabled"
- not grep -n 'depends.*!MBEDTLS_USE_PSA_CRYPTO' -R tests/suites/
- not grep -n 'requires.*disabled.*USE_PSA' tests/ssl-opt.sh tests/opt-testcases/tls13-compat.sh
+ n... |
Fix protocol documentation in comments
Flags were in the correct order in the schema, but their description
were reversed. | @@ -37,8 +37,8 @@ sc_demuxer_recv_packet(struct sc_demuxer *demuxer, AVPacket *packet) {
// CK...... ........ ........ ........ ........ ........ ........ ........
// ^^<------------------------------------------------------------------->
// || PTS
- // | `- config packet
- // `-- key frame
+ // | `- key frame
+ // `--... |
Docs: Update information on landing page
Add more information to the documentation landing page. | @@ -21,14 +21,51 @@ index_tpl = """
<body style="background-color: white">
<div class="section" style="background-color: white; padding: 50px;
position: absolute; left: 50%; margin-right: -50%;
- transform: translate(-50%, 0%) ">
+ transform: translate(-50%, 0%)" align="left">
<h1>Open Programmable Acceleration Engine ... |
Splash colors matching promo site | }
.Splash__Tab--Active {
- border-bottom: 4px solid #03a9f4;
+ border-bottom: 4px solid #c92c61;
}
.Splash--Blur .Splash__Tab--Active {
@@ -121,7 +121,7 @@ input.Splash__InputButton {
float: left;
text-align: center;
padding: 10px 20px;
- background-color: #03a9f4;
+ background-color: #c92c61;
color: #fff;
border-radiu... |
nsh: fix compile break about closing CONFIG_NSH_DISABLESCRIPT | @@ -77,7 +77,7 @@ int nsh_consolemain(int argc, FAR char *argv[])
usbtrace_enable(TRACE_BITSET);
#endif
-#ifdef CONFIG_NSH_ROMFSETC
+#if defined(CONFIG_NSH_ROMFSETC) && !defined(CONFIG_NSH_DISABLESCRIPT)
/* Execute the start-up script */
nsh_initscript(&pstate->cn_vtbl);
|
openthread_port: fix receive buffer overflow | @@ -422,6 +422,7 @@ void IRAM_ATTR esp_ieee802154_receive_done(uint8_t *data, esp_ieee802154_frame_i
{
if (s_recv_queue.used == CONFIG_IEEE802154_RX_BUFFER_SIZE) {
ESP_EARLY_LOGE(OT_PLAT_LOG_TAG, "radio receive buffer full!");
+ return;
}
s_rssi = frame_info->rssi;
|
delete comment strings | @@ -338,17 +338,12 @@ AUTHOR: L. Rossman
"* Version %d.%d *"
#define LOGO6 \
"******************************************************************"
-//#define FMT01 "\nEPANET Version %d.%d.%d\n"
#define FMT02 "\n o Retrieving network data"
-//#define FMT03 "\nUsage:\n %s <input_filename> <report_filename> [<binary_filena... |
OpenDuetPkg: Fix accidentally adding USB KB | !endif
BlockSize = 0x10000
- NumBlocks = 9
+ NumBlocks = 8
FvAlignment = 16 #FV alignment and FV attributes setting.
ERASE_POLARITY = 1
MEMORY_MAPPED = TRUE
# Keyboard input (OpenCore has custom drivers)
# INF MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/Ps2KeyboardDxe.inf
- INF MdeModulePkg/Bus/Usb/UsbKbDxe/UsbKbDxe.inf
+ # IN... |
[io] import boundary_conditions once the object (ds) is created | @@ -923,6 +923,7 @@ class MechanicsHdf5Runner(siconos.io.mechanics_hdf5.MechanicsHdf5):
self._start_run_iteration_hook = None
self._end_run_iteration_hook = None
self._ds_positions=None
+ self._ds_boundary_conditions={}
def __enter__(self):
super(MechanicsHdf5Runner, self).__enter__()
@@ -1735,6 +1736,11 @@ class Mecha... |
fix separation time parsing | @@ -151,9 +151,9 @@ def _isotp_thread(panda, bus, tx_addr, tx_queue, rx_queue):
assert tx_frame["done"] == False, "tx: no active frame"
# TODO: support wait/overflow
assert rx_data[0] == 0x30, "tx: flow-control requires: continue"
- delay_ts = ord(rx_data[2]) & 0x7F
+ delay_ts = rx_data[2] & 0x7F
# scale is 1 milliseco... |
ssse3: remove odd conditional undef of simde_mm_alignr_epi8
I don't think this was actually a problem since simde_mm_alignr_epi8
was undefined where it was checking to see if it was defined, but it
was still somewhat strange. | @@ -200,9 +200,6 @@ simde_mm_abs_pi32 (simde__m64 a) {
# define _mm_abs_pi32(a) simde_mm_abs_pi32(a)
#endif
-#if defined(simde_mm_alignr_epi8)
-# undef simde_mm_alignr_epi8
-#endif
SIMDE__FUNCTION_ATTRIBUTES
simde__m128i
simde_mm_alignr_epi8 (simde__m128i a, simde__m128i b, int count) {
|
Fix come comments in execMain.c
has refactored this area of the executor code, and some comments
went out-of-sync.
Author: Yukun Wang
Discussion: | @@ -1286,7 +1286,7 @@ ExecGetTriggerResultRel(EState *estate, Oid relid)
Relation rel;
MemoryContext oldcontext;
- /* First, search through the query result relations */
+ /* Search through the query result relations */
foreach(l, estate->es_opened_result_relations)
{
rInfo = lfirst(l);
@@ -1295,8 +1295,8 @@ ExecGetTri... |
reference: fix README | - infos/recommends =
- infos/placements = presetstorage
- infos/status = maintained unittest libc writeonly
-- infos/metadata = check/reference check/reference/restrict
+- infos/metadata = check/reference check/reference/restrict check/reference/restrict/#
- infos/description = Plugin for validating singular or recursi... |
Make gss prefer system with set lh positions; avoid rotations | @@ -791,7 +791,7 @@ bool solve_global_scene(struct SurviveContext *ctx, MPFITData *d, PoserDataGloba
.objectUpVectorVariance = d->stationary_obj_up_variance,
.disableVelocity = true,
.covarAllParams = true,
- .nofilter = false};
+ .nofilter = scenes_cnt < 8};
SURVIVE_OPTIMIZER_SETUP_STACK_BUFFERS(mpfitctx, 0);
int useJ... |
firdespm: disabling error when algorithm hasn't yet converged | /*
- * Copyright (c) 2007 - 2020 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
@@ -732,8 +732,9 @@ int firdespm_iext_search(firdespm _q)
// mac... |
disable cgns when building MOAB | @@ -147,7 +147,7 @@ function build_moab
fi
cf_prefix_arg="--prefix=$VISITDIR/moab${cf_par_suffix}/$MOAB_VERSION/$VISITARCH"
- cf_common_args="--with-pic --disable-fortran --disable-imesh"
+ cf_common_args="--with-pic --disable-fortran --disable-imesh --disable-cgns"
if [[ "DO_STATIC_BUILD" == "yes" ]]; then
cf_static_a... |
Note which functions were made public in the changelog. | @@ -13,20 +13,19 @@ since `1.7.0`.
## [1.19.0] - 2021-11-12
### Added
-- Added `TCOD_context_convert_event_coordinates` and `TCOD_Context::convert_event_coordinates` as an easier way to
- convert mouse pixel coordinates to tile coordinates.
-- Several C++ drawing and print functions have been made public.
-- Several C+... |
nrf52820_microbit: call uart_reset() when control line state changes | @@ -42,6 +42,7 @@ circ_buf_t write_buffer;
uint8_t write_buffer_data[BUFFER_SIZE];
circ_buf_t read_buffer;
uint8_t read_buffer_data[BUFFER_SIZE];
+uint16_t cur_line_state;
uint32_t cur_control;
uint32_t cur_baud;
@@ -67,6 +68,7 @@ int32_t uart_initialize(void)
cb_buf.tx_size = 0;
USART_INSTANCE.Initialize(uart_handler)... |
fix for multiple overload param names | @@ -93,13 +93,15 @@ internal sealed class CStrOverloadsGenerator : IIncrementalGenerator
MethodInfo.RenderStartOverload(builder, "byte*", "string", IgnoreArgument);
foreach (string overloadParamName in overloadParamNames)
{
+ var valName = $"utf8StringLength{overloadParamName}";
+
builder.AppendLine(
- $"int utf8String... |
initialize state for _auto_encrypt | @@ -118,6 +118,8 @@ _auto_encrypt (mongocrypt_t *crypt)
encryptor = mongocrypt_encryptor_new (crypt);
status = mongocrypt_status_new ();
+ state = mongocrypt_encryptor_state (encryptor);
+
/* Crank the state machine until we reach a terminal state */
while (true) {
switch (state) {
|
[kernel][kservice] add RT_WEAK for several functions | @@ -123,7 +123,7 @@ RTM_EXPORT(_rt_errno);
*
* @return the address of source memory
*/
-void *rt_memset(void *s, int c, rt_ubase_t count)
+RT_WEAK void *rt_memset(void *s, int c, rt_ubase_t count)
{
#ifdef RT_USING_TINY_SIZE
char *xs = (char *)s;
@@ -207,7 +207,7 @@ RTM_EXPORT(rt_memset);
*
* @return the address of des... |
Free correct value for closure | @@ -185,7 +185,7 @@ void freeObject(Obj *object) {
case OBJ_CLOSURE: {
ObjClosure *closure = (ObjClosure *) object;
- FREE_ARRAY(Value, closure->upvalues, closure->upvalueCount);
+ FREE_ARRAY(ObjClosure, closure->upvalues, closure->upvalueCount);
FREE(ObjClosure, object);
break;
}
|
Fix LISTEN_ON_IP typo
Fix LISTEN_ON_IP typo
Found by inspection in utilities/ovndb-servers.ocf
Acked-by: Mark Michelson | @@ -236,15 +236,15 @@ ovsdb_server_notify() {
# In order to over-ride inactivity_probe for LB use case, we need to
# create connection entry to listen on 0.0.0.0 for master node.
if [ "x${LISTEN_ON_MASTER_IP_ONLY}" = xno ]; then
- LISTON_ON_IP="0.0.0.0"
+ LISTEN_ON_IP="0.0.0.0"
else
- LISTON_ON_IP=${MASTER_IP}
+ LISTEN... |
Fix private_impl access for GIF num_loops | @@ -272,7 +272,8 @@ const char* play() {
if (!seen_num_loops) {
seen_num_loops = true;
// TODO: provide API for getting num_loops.
- num_loops_remaining = dec.private_impl.f_num_loops;
+ num_loops_remaining =
+ dec.private_impl.f_seen_num_loops ? dec.private_impl.f_num_loops : 1;
}
bool first_frame = true;
|
Correcting minor documentation typos | @@ -1095,7 +1095,7 @@ a reference for building the RTX5 libraries using a tool-chain of your choice.
-# From the <b>Project</b> window you find the list of source files required for a complete library build.
-# Build the library of your choice using \b Project - \b Build \b Target (or press F7).
-\image html own_lib_pr... |
Fixes the index overflow, since header + data could be longer than 0xFF | @@ -41,6 +41,15 @@ typedef enum
#define INS_STRUCT_DEF 0x18
#define INS_STRUCT_IMPL 0x1A
+// APDUs P1
+#define P1_COMPLETE 0x00
+#define P1_PARTIAL 0xFF
+
+// APDUs P2
+#define P2_NAME 0x00
+#define P2_ARRAY 0x0F
+#define P2_FIELD 0xFF
+
// TypeDesc masks
#define TYPE_MASK (0xF)
#define ARRAY_MASK (1 << 7)
@@ -396,6 +4... |
openssl upstream fixed exporter bug | @@ -86,8 +86,7 @@ Otherwise, you choose OpenSSL, build it like so:
.. code-block:: text
- $ # Before the exporter fix gets merged, use my branch.
- $ git clone --depth 1 -b fix-exporter-secret https://github.com/tatsuhiro-t/openssl
+ $ git clone --depth 1 https://github.com/openssl/openssl
$ cd openssl
$ # For Linux
$ ... |
iOS: fix setting app badge | @@ -1427,7 +1427,10 @@ void setApplicationBadgeNumber(NSInteger badgeNumber)
}
void rho_sys_set_application_icon_badge(int badge_number) {
- setApplicationBadgeNumber(badge_number);
+ int badge_number_value = badge_number;
+ dispatch_async(dispatch_get_main_queue(), ^{
+ setApplicationBadgeNumber(badge_number_value);
+... |
Fix python library on Windows
On Windows, setAutoDetachKernelDriver is not supported (http://libusb.sourceforge.net/api-1.0/group__libusb__dev.html#ga5e0cc1d666097e915748593effdc634a) and causes libusb to get stuck (simple try-catch is not working). This prevents any issues when running both at native windows python an... | @@ -9,6 +9,7 @@ import os
import time
import traceback
import subprocess
+import sys
from .dfu import PandaDFU
from .esptool import ESPROM, CesantaFlasher # noqa: F401
from .flash_release import flash_release # noqa: F401
@@ -187,6 +188,7 @@ class Panda(object):
self.bootstub = device.getProductID() == 0xddee
self.lega... |
parser: support subsecond resolution with comma (%s,%L) | @@ -222,9 +222,26 @@ struct flb_parser *flb_parser_create(char *name, char *format,
tmp[2] = '\0';
p->time_frac_secs = (tmp + 3);
}
+ else {
+ /* same as above but with comma seperator */
+ if (p->time_with_year == FLB_TRUE) {
+ tmp = strstr(p->time_fmt, "%S,%L");
+ }
+ else {
+ tmp = strstr(p->time_fmt_year, "%s,%L");... |
Made is so that if rawlight data was available, angles don't playback | @@ -317,6 +317,7 @@ static int playback_poll(struct SurviveContext *ctx, void *_driver) {
break;
case 'L':
case 'R':
+ if (driver->hasRawLight == false)
parse_and_run_lightcode(line, driver);
break;
case 'I':
|
apps/examples/can: ix can example app to print data when CONFIG_EXAMPLE_CAN_READ is defined | @@ -401,6 +401,8 @@ int can_main(int argc, FAR char *argv[])
printf(" ID: %4u DLC: %u\n",
rxmsg.cm_hdr.ch_id, rxmsg.cm_hdr.ch_dlc);
+ msgdlc = rxmsg.cm_hdr.ch_dlc;
+
#ifdef CONFIG_CAN_ERRORS
/* Check for error reports */
|
listbox.c: "size" column: fix right alignment | @@ -151,7 +151,7 @@ listbox_add_columns (gftp_window_data *wdata)
/* filename */
//renderer = gtk_cell_renderer_text_new ();
renderer = g_object_new (GTK_TYPE_CELL_RENDERER_TEXT,
- "xalign", 0.0, /* justify left */
+ "xalign", 0.0, /* justify center */
NULL);
column = g_object_new (GTK_TYPE_TREE_VIEW_COLUMN,
"title", "... |
Add file boilerplate
[ci skip] | +#
+# Copyright 2018 Jeff Bush
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in wri... |
fix .lib name clash for yql udf | @@ -1987,6 +1987,9 @@ multimodule YQL_UDF {
.ALIASES=SRCS=GLOBAL_SRCS
OBJ_SUF=.udfs
USE_YQL()
+ when ($MSVC == "yes" || $CYGWIN == "yes") {
+ MODULE_SUFFIX=.static.lib
+ }
}
}
|
[scons] link lighttpd with pcre for fullstatic | @@ -272,7 +272,7 @@ for libs in staticlib:
## glibc pthread needs to be linked completely (especially nptl-init.o)
## or not at all, or else pthread structures may not be initialized correctly
import platform
-fullstatic_libs = GatherLibs(env, fullstaticlib)
+fullstatic_libs = GatherLibs(env, fullstaticlib, env['LIBPCR... |
ssl: fix format specifier for size_t argument to BIO_printf
Fixes | @@ -564,7 +564,7 @@ int tls1_setup_key_block(SSL *s)
s->s3.tmp.key_block = p;
OSSL_TRACE_BEGIN(TLS) {
- BIO_printf(trc_out, "key block length: %ld\n", num);
+ BIO_printf(trc_out, "key block length: %zu\n", num);
BIO_printf(trc_out, "client random\n");
BIO_dump_indent(trc_out, s->s3.client_random, SSL3_RANDOM_SIZE, 4);
... |
fix a AXI4UserYanker reference | @@ -382,7 +382,7 @@ also uses the AXI4 user field to store some information, so you will need an
fields.
Before you connect an AXI4 port to the AXI4ToTL widget, you will need to
-add an :ref:`AXI4Fragmenter` and :ref:`UserYanker` because the converter cannot
+add an :ref:`AXI4Fragmenter` and :ref:`AXI4UserYanker` becau... |
Removed debug message in fault handler | @@ -120,9 +120,7 @@ define_closure_function(1, 1, context, default_fault_handler,
for kernel page faults on user pages. If we were ever to
support multiple processes, we may need to install current when
resuming deferred processing. */
- // XXX
- if (current != bound(t))
- log_printf("DEBUGGG", "current and bound don't... |
abf: mark API as in-progress
As requested by Neale, mark the ABF API as in-progress
Type: fix | @@ -30,6 +30,7 @@ import "vnet/interface_types.api";
*/
define abf_plugin_get_version
{
+ option status="in_progress";
u32 client_index;
u32 context;
};
@@ -41,6 +42,7 @@ define abf_plugin_get_version
*/
define abf_plugin_get_version_reply
{
+ option status="in_progress";
u32 context;
u32 major;
u32 minor;
@@ -68,6 +70... |
Minor update from dev | @@ -143,7 +143,7 @@ ACVP_ALG_HANDLER alg_tbl[ACVP_ALG_MAX] = {
{ACVP_CMAC_TDES, &acvp_cmac_kat_handler, ACVP_ALG_CMAC_TDES},
{ACVP_RSA, &acvp_rsa_kat_handler, ACVP_ALG_RSA},
{ACVP_KDF135_TLS, &acvp_kdf135_tls_kat_handler, ACVP_ALG_KDF135_TLS},
- {ACVP_KDF135_SNMP, &acvp_kdf135_tls_kat_handler, ACVP_ALG_KDF135_SNMP}
+ {... |
stm32/timer: Make timer_get_source_freq more efficient by using regs.
Use direct register access to get the APB clock divider. This reduces code
size and makes the code more efficient. | @@ -228,25 +228,27 @@ void HAL_TIM_PeriodElapsedCallback(TIM_HandleTypeDef *htim) {
// APB clock. Otherwise (APB prescaler > 1) the timer clock is twice its
// respective APB clock. See DM00031020 Rev 4, page 115.
uint32_t timer_get_source_freq(uint32_t tim_id) {
- uint32_t source;
- uint32_t latency;
- RCC_ClkInitType... |
poppy: Add LED support for sysrq debug mode
BRANCH=None
TEST=Verified that LED blinks when in debug mode and stops blinking on
exit from debug mode. | @@ -143,9 +143,12 @@ DECLARE_HOOK(HOOK_TICK, led_tick, HOOK_PRIO_DEFAULT);
void led_control(enum ec_led_id led_id, enum ec_led_state state)
{
- if (led_id == EC_LED_ID_RECOVERY_HW_REINIT_LED) {
enum led_color color;
+ if ((led_id != EC_LED_ID_RECOVERY_HW_REINIT_LED) &&
+ (led_id != EC_LED_ID_SYSRQ_DEBUG_LED))
+ return;... |
Added force install for V8 in tools/configenv.sh. | @@ -102,6 +102,7 @@ sub_v8repo(){
$SUDO_CMD dpkg -i libicu55_55.1-7_amd64.deb
$SUDO_CMD apt-get update
$SUDO_CMD apt-get -y --allow-unauthenticated install libicu55 libv8-5.1-dev
+ $SUDO_CMD apt-get install -f
fi
# V8 5.4
|
location: Fix potential buffer overflow
The last argument to strncat() is not the size of the destination buffer,
it's the number of character that should be copied from source buffer. | @@ -362,9 +362,10 @@ int32_t uLocationPrivateCloudLocate(int32_t networkHandle,
// of the subscribe topic and subscribe to it
strncpy(topicBuffer, U_LOCATION_PRIVATE_CLOUD_LOCATE_MQTT_SUBSCRIBE_TOPIC_PREFIX,
sizeof(topicBuffer));
- strncat(topicBuffer, pClientIdStr, sizeof(topicBuffer) - 1); // -1 to allow room for ter... |
Remove unnecessary check for ';' in filenames
The Makefiles already assume that filenames don't contain
special characters anyway, so we don't need to check this
in generate_psa_tests.py. | @@ -715,11 +715,8 @@ def main(args):
# List in a cmake list format (i.e. ';'-separated)
if options.list_for_cmake:
filenames = []
- for name in sorted(generator.TARGETS):
- if ';' in generator.filename_for(name):
- raise ValueError('Cannot pass filename containing \';\' to cmake: ' + name)
- filenames.append(generator.... |
Change function casting in `ssl_calc_finished_tls_sha384`
`finish_sha384_t` was made more generic by using `unsigned char*`
instead of `unsigned char[48]` as the second parameter.
This change tries to make the function casting more robust against
future improvements of gcc analysis. | @@ -3198,7 +3198,7 @@ static void ssl_calc_finished_tls_sha256(
#if defined(MBEDTLS_SHA512_C)
-typedef int (*finish_sha384_t)(mbedtls_sha512_context*, unsigned char[48]);
+typedef int (*finish_sha384_t)(mbedtls_sha512_context*, unsigned char*);
static void ssl_calc_finished_tls_sha384(
mbedtls_ssl_context *ssl, unsigne... |
Handle OPENBLAS_LOOP | @@ -60,13 +60,16 @@ int main(int argc, char *argv[]){
if ((p = getenv("OPENBLAS_UPLO"))) uplo=*p;
if ((p = getenv("OPENBLAS_TRANS"))) trans=*p;
- blasint m, i, j;
+ blasint m, i, j, l;
int from = 1;
int to = 200;
int step = 1;
+ int loops = 1;
- double time1;
+ if ((p = getenv("OPENBLAS_LOOPS"))) loops=*p;
+
+ double t... |
fixed reading of status in linear_hash_get_record | @@ -632,7 +632,7 @@ linear_hash_get_record(
fseek(linear_hash->database, loc, SEEK_SET);
/* read record data elements */
- fread(status, sizeof(status), 1, linear_hash->database);
+ fread(status, sizeof(ion_byte_t), 1, linear_hash->database);
fread(key, sizeof(linear_hash->super.record.key_size), 1, linear_hash->databa... |
distro-packages/python-Cython: ifpython2 sles only | @@ -27,6 +27,10 @@ BuildRequires: %{python_module xml}
BuildRequires: fdupes
Requires(post): update-alternatives
Requires(postun): update-alternatives
+%ifpython2
+Provides: %{oldpython}-cython = %{version}
+Obsoletes: %{oldpython}-cython < %{version}
+%endif
%else
BuildRequires: libxml2-python
Requires: libxml2-python... |
Finalize release 5.9.0 | <url>http://www.keil.com/pack/</url>
<releases>
- <release version="5.9.0">
- Active development ...
+ <release version="5.9.0" date="2022-05-02">
CMSIS-Core(M): 5.6.0
- Arm Cortex-M85 cpu support
- Arm China STAR-MC1 cpu support
|
msp: add flightmode flags | @@ -29,6 +29,18 @@ static void msp_quic_send(uint8_t *data, uint32_t len, void *priv) {
msp_send_reply(msp, MSP1_MAGIC, MSP_RESERVE_1, data, len);
}
+static void msp_write_uint16(uint8_t *data, uint16_t val) {
+ data[0] = val >> 0;
+ data[1] = val >> 8;
+}
+
+static void msp_write_uint32(uint8_t *data, uint32_t val) {
... |
Remove #include compiler.h in public header | @@ -34,7 +34,6 @@ extern "C" {
#include <inttypes.h>
#include <stddef.h>
#include <ucontext.h>
-#include "compiler.h"
#ifndef UNW_EMPTY_STRUCT
# define UNW_EMPTY_STRUCT
@@ -183,6 +182,13 @@ unw_tdep_save_loc_t;
* however, the __reserved struct is quite large: tune it down to only
* the necessary used fields. */
+#ifdef... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.