message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Check the return from BN_sub() in BN_X931_generate_Xpq(). | @@ -184,8 +184,10 @@ int BN_X931_generate_Xpq(BIGNUM *Xp, BIGNUM *Xq, int nbits, BN_CTX *ctx)
for (i = 0; i < 1000; i++) {
if (!BN_priv_rand(Xq, nbits, BN_RAND_TOP_TWO, BN_RAND_BOTTOM_ANY))
goto err;
+
/* Check that |Xp - Xq| > 2^(nbits - 100) */
- BN_sub(t, Xp, Xq);
+ if (!BN_sub(t, Xp, Xq))
+ goto err;
if (BN_num_bit... |
GRIB2: Add correct MARS level mapping for sea ice and snow layer | @@ -82,7 +82,7 @@ if (extraDim) {
}
}
-# See ECC-854
+# See ECC-854, ECC-1435
if( (typeOfFirstFixedSurface == 151 && typeOfSecondFixedSurface == 151) ||
(typeOfFirstFixedSurface == 152 && typeOfSecondFixedSurface == 152) ||
(typeOfFirstFixedSurface == 114 && typeOfSecondFixedSurface == 114) ) {
|
Enable the CC13x0/CC26x0 ROM bootloader by default | * @{
*/
#ifndef ROM_BOOTLOADER_ENABLE
-#define ROM_BOOTLOADER_ENABLE 0
+#define ROM_BOOTLOADER_ENABLE 1
#endif
/** @} */
/*---------------------------------------------------------------------------*/
|
open the pinned map file first, then create it if it does not exist | @@ -1635,12 +1635,6 @@ static int ebpf_map_delete(int fd, const void *key)
return syscall(__NR_bpf, BPF_MAP_DELETE_ELEM, &attr, sizeof(attr));
}
-static int file_exist(const char *path)
-{
- struct stat s;
- return stat(path, &s) == 0;
-}
-
static int return_map_fd = -1; // for h2o_return
int h2o_socket_ebpf_setup(void... |
stm32: Fixed lp gpio initialization | @@ -422,7 +422,7 @@ int _stm32_pwrEnterLPStop(void)
*(stm32_common.exti + exti_pr) |= 0xffffffff;
- /* Enter Stop mode (wfi instruction) */
+ /* Enter Stop mode */
__asm__ volatile ("\
dmb; \
wfe; \
@@ -958,6 +958,8 @@ void _stm32_wdgReload(void)
void _stm32_init(void)
{
u32 t, i;
+ static const int gpio2pctl[] = { pct... |
Memory leak in standby master (gpsyncagent process) | @@ -6136,6 +6136,23 @@ SyncAgentMain(int argc, char *argv[], const char *username)
if (whereToSendOutput == DestDebug)
printf("\nPostgreSQL stand-alone backend %s\n", PG_VERSION);
+ /*
+ * Create the memory context we will use in the main loop.
+ *
+ * MessageContext is reset once per iteration of the main loop, ie, up... |
example: Colorize long header packet number | @@ -215,9 +215,10 @@ void print_indent() { fprintf(outfile, " "); }
namespace {
void print_pkt_long(ngtcp2_dir dir, const ngtcp2_pkt_hd *hd) {
fprintf(outfile,
- "%s%s%s(0x%02x) CID=0x%016" PRIx64 " PKN=%" PRIu64 " V=0x%08x\n",
+ "%s%s%s(0x%02x) CID=0x%016" PRIx64 " PKN=%s%" PRIu64 "%s V=0x%08x\n",
pkt_ansi_esc(dir), s... |
updates for gnu7, superlu_dist tests | @@ -30,7 +30,7 @@ for compiler in $COMPILER_FAMILIES ; do
module load $mpi || exit 1
module load $mpi || exit 1
- if [[ "${compiler}" == "gnu" ]];then
+ if [[ "${compiler}" =~ "gnu" ]];then
module load scalapack || exit 1
module load openblas || exit 1
fi
|
Fix failing build
GCC flags no return as a warning, but clang doesn't seem to, so this
failed in the (Linux) CI environment but not on my desktop. | @@ -735,6 +735,8 @@ static const char *get_trap_name(enum trap_type type)
TRAP_ENTRY(SUPERVISOR_ACCESS)
TRAP_ENTRY(NOT_EXECUTABLE)
TRAP_ENTRY(BREAKPOINT)
+ default:
+ return "???";
}
#undef TRAP_ENTRY
}
|
sway/input: don't pass possibly invalid modifiers pointer
active_keyboard may be NULL, in which case an invalid pointer could be
passed to wlr_input_method_keyboard_grab_v2_send_modifiers. This
procedure call is unnecessary since wlroots commit "input
method: send modifiers in set_keyboard", so the call can simply be
r... | @@ -77,8 +77,6 @@ static void handle_im_grab_keyboard(struct wl_listener *listener, void *data) {
struct wlr_keyboard *active_keyboard = wlr_seat_get_keyboard(relay->seat->wlr_seat);
wlr_input_method_keyboard_grab_v2_set_keyboard(keyboard_grab,
active_keyboard);
- wlr_input_method_keyboard_grab_v2_send_modifiers(keyboa... |
Raise exception in get_tid() if header could not be parsed
HTSlib 1.10's header API added a new error code to bam_name2id()
indicating invalid headers. Distinguish this from no-such-reference
by raising an exception in this rare case. Fixes | @@ -522,7 +522,10 @@ cdef class AlignmentHeader(object):
returns -1 if reference is not known.
"""
reference = force_bytes(reference)
- return bam_name2id(self.ptr, reference)
+ tid = bam_name2id(self.ptr, reference)
+ if tid < -1:
+ raise ValueError('could not parse header')
+ return tid
def __str__(self):
'''string w... |
pbio/ioport: populate port field
This was never initialized. Since pbdrv/motor still uses the legacy pattern with a port argument, we need this to turn sensor power on and off.
We may be able to drop the port attribute once we reorganize ioports more generally. See also | @@ -508,6 +508,7 @@ PROCESS_THREAD(pbdrv_ioport_lpf2_process, ev, data) {
if (ioport->connected_type_id == PBIO_IODEV_TYPE_ID_LPF2_UNKNOWN_UART) {
ioport_enable_uart(ioport);
pbio_uartdev_get(i, &ioport->iodev);
+ ioport->iodev->port = i + PBDRV_CONFIG_FIRST_IO_PORT;
} else if (ioport->connected_type_id == PBIO_IODEV_T... |
Fix PhCreateProcessIgnoreIfeoDebugger thread safety issues | @@ -1341,9 +1341,10 @@ BOOLEAN PhCreateProcessIgnoreIfeoDebugger(
result = FALSE;
- // This is NOT thread-safe.
+ RtlEnterCriticalSection(NtCurrentPeb()->FastPebLock);
originalValue = NtCurrentPeb()->ReadImageFileExecOptions;
NtCurrentPeb()->ReadImageFileExecOptions = FALSE;
+ RtlLeaveCriticalSection(NtCurrentPeb()->Fa... |
intr_alloc: port*_CRITICAL vanilla FreeRTOS compliance | @@ -494,7 +494,7 @@ static void IRAM_ATTR shared_intr_isr(void *arg)
{
vector_desc_t *vd=(vector_desc_t*)arg;
shared_vector_desc_t *sh_vec=vd->shared_vec_info;
- portENTER_CRITICAL(&spinlock);
+ portENTER_CRITICAL_ISR(&spinlock);
while(sh_vec) {
if (!sh_vec->disabled) {
if ((sh_vec->statusreg == NULL) || (*sh_vec->stat... |
os/include: Add DEBUGASSERT_INFO macro for descriptive debug outputs in case of DEBUGASSERT
DEBUGASSERT_INFO gives out a descriptive output similar to ASSERT_INFO in case of DEBUGASSERTs | @@ -103,6 +103,14 @@ extern char assert_info_str[CONFIG_STDIO_BUFFER_SIZE];
#ifdef CONFIG_DEBUG
+#define DEBUGASSERT_INFO(f, fmt, ...) \
+ { \
+ if (!(f)) { \
+ snprintf(assert_info_str, CONFIG_STDIO_BUFFER_SIZE, fmt, ##__VA_ARGS__); \
+ up_assert((const uint8_t *)__FILE__, (int)__LINE__); \
+ } \
+ }
+
#define DEBUGAS... |
Pass the correct speed on Spresense | @@ -155,7 +155,24 @@ static void _dcd_disconnect(FAR struct usbdevclass_driver_s *driver, FAR struct
{
(void) driver;
- tusb_speed_t speed = (dev->speed == 3) ? TUSB_SPEED_HIGH : TUSB_SPEED_FULL;
+ tusb_speed_t speed;
+
+ switch (dev->speed)
+ {
+ case USB_SPEED_LOW:
+ speed = TUSB_SPEED_LOW;
+ break;
+ case USB_SPEED_... |
fpgasupdate: change apply time estimate
* fpgasupdate: change apply time estimate
Use the time taken to write to staging area and multiply by a multipler
(1.5) to estimate the time it will take to authenticate and apply the
udpate.
* fix typo in comment | @@ -74,8 +74,6 @@ IOCTL_IFPGA_SECURE_UPDATE_DATA_SENT = 0xb902
IOCTL_IFPGA_SECURE_UPDATE_CHECK_COMPLETE = 0xb903
IOCTL_IFPGA_SECURE_UPDATE_CANCEL = 0xb904
-APPLY_BPS = 41000.0
-
LOG = logging.getLogger()
LOG_IOCTL = logging.DEBUG - 1
LOG_STATE = logging.DEBUG - 2
@@ -437,7 +435,7 @@ def update_fw(fd_dev, infile):
LOG.i... |
Do not make pk_opaque_rsa_decrypt() depend on MBEDTLS_RSA_C | @@ -1602,7 +1602,6 @@ const mbedtls_pk_info_t mbedtls_pk_ecdsa_opaque_info = {
NULL, /* debug - could be done later, or even left NULL */
};
-#if defined(MBEDTLS_RSA_C)
static int pk_opaque_rsa_decrypt( void *ctx,
const unsigned char *input, size_t ilen,
unsigned char *output, size_t *olen, size_t osize,
@@ -1626,7 +16... |
Add decrement of reference in python plugin for traceback only if need. | @@ -1215,7 +1215,7 @@ void py_loader_impl_error_print(loader_impl_py py_impl)
log_write("metacall", LOG_LEVEL_ERROR, error_format_str, type_str, value_str, traceback_str ? traceback_str : traceback_not_found);
- Py_DECREF(traceback_list);
+ Py_XDECREF(traceback_list);
Py_DECREF(separator);
Py_DECREF(traceback_str_obj);... |
linkaddr: Removed linkaddr_extended_t | @@ -70,11 +70,6 @@ typedef union {
#endif /* LINKADDR_SIZE == 2 */
} linkaddr_t;
-typedef union {
- uint8_t u8[8];
- uint16_t u16[4];
-} linkaddr_extended_t;
-
/**
* \brief Copy a link-layer address
* \param dest The destination
|
Turned non-implemented xdg_cb_popup_grab into warning | @@ -23,7 +23,7 @@ static void
xdg_cb_popup_grab(struct wl_client *client, struct wl_resource *resource, struct wl_resource *seat, uint32_t serial)
{
(void)client, (void)seat, (void)serial;
- STUB(resource);
+ STUBL(resource);
}
static const struct zxdg_popup_v6_interface zxdg_popup_v6_implementation = {
|
mangle: make getOffSet prefer lower values | /* Spend at least 3/4 of time on modifying the first 8kB of input */
static inline size_t mangle_getOffSet(run_t* run) {
- switch (util_rnd64() % 4) {
+ switch (util_rnd64() % 10) {
case 0:
- if (run->dynamicFileSz <= 128) {
+ if (run->dynamicFileSz <= 16) {
break;
}
- return util_rndGet(0, 128);
+ return util_rndGet(0... |
Explicitly use mruby clang toolchain on macOS | @@ -244,7 +244,7 @@ set(MRUBY_CONFIG ${CMAKE_SOURCE_DIR}/mruby/tic_default.rb)
set(MRUBY_LIB ${MRUBY_DIR}/build/target/lib/libmruby.a)
if(MSVC)
set(MRUBY_TOOLCHAIN visualcpp)
-elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
+elseif(APPLE OR CMAKE_CXX_COMPILER_ID STREQUAL "Clang")
set(MRUBY_TOOLCHAIN clang)
else()
set(MR... |
Rework sdb_itoa buffer management to silence GCC warning
make a clearer separation between temporary and allocated string buffer
eleminating gcc warning about function may return address of local variable | @@ -101,16 +101,16 @@ SDB_API const char *sdb_itoca(ut64 n) {
// assert (sizeof (s)>64)
// if s is null, the returned pointer must be freed!!
-SDB_API char *sdb_itoa(ut64 n, char *s, int base) {
+SDB_API char *sdb_itoa(ut64 n, char *os, int base) {
static const char* lookup = "0123456789abcdef";
- char tmpbuf[64], *os ... |
chip/ish/hwtimer.c: Format with clang-format
BRANCH=none
TEST=none | @@ -239,8 +239,7 @@ int __hw_clock_source_init64(uint64_t start_t)
/* Timer 1 - IRQ routing */
timer1_config &= ~HPET_Tn_INT_ROUTE_CNF_MASK;
- timer1_config |= (ISH_HPET_TIMER1_IRQ <<
- HPET_Tn_INT_ROUTE_CNF_SHIFT);
+ timer1_config |= (ISH_HPET_TIMER1_IRQ << HPET_Tn_INT_ROUTE_CNF_SHIFT);
/* Level triggered interrupt */... |
Address review comments:
every switch must have a default
revert formatting of unchanged lines | @@ -152,22 +152,28 @@ bool tud_vendor_control_xfer_cb(uint8_t rhport, uint8_t stage, tusb_control_requ
if (stage != CONTROL_STAGE_SETUP ) return true;
if (request->bmRequestType_bit.type == TUSB_REQ_TYPE_VENDOR) {
- switch (request->bRequest) {
+ switch (request->bRequest)
+ {
case VENDOR_REQUEST_WEBUSB:
// match vendo... |
MOVEHUB: make compilation of modmotor conditional to PBIO_OPT | @@ -75,10 +75,13 @@ SRC_S = \
# Pybricks modules
PYBRICKS_DRIVERS_SRC_C = $(addprefix ports/pybricks/,\
- extmod/modmotor.c \
extmod/pberror.c \
)
+ifneq (,$(findstring DPBIO_CONFIG_ENABLE_MOTORS,$(PBIO_OPT)))
+PYBRICKS_DRIVERS_SRC_C += $(addprefix ports/pybricks/extmod/modmotor.c)
+endif
+
PBIO_SRC_C = $(addprefix por... |
VERSION bump to version 0.7.45 | @@ -38,7 +38,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0")
# set version
set(LIBNETCONF2_MAJOR_VERSION 0)
set(LIBNETCONF2_MINOR_VERSION 7)
-set(LIBNETCONF2_MICRO_VERSION 44)
+set(LIBNETCONF2_MICRO_VERSION 45)
set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION})
set(LI... |
README.md: Update installation command on Fedora | @@ -18,8 +18,8 @@ _libsdl2-ttf-dev_ on Ubuntu 13.10's case which is available in Ubuntu 14.04.
On __Ubuntu 14.04 and above__, type:
`apt install libsdl2{,-mixer,-image,-ttf,-gfx}-dev`
-On __Fedora 20 and above__, type:
-`yum install SDL2{,_mixer,_image,_ttf}-devel`
+On __Fedora 25 and above__, type:
+`yum install SDL2{... |
bumps http client request timeout to 5 minutes | @@ -934,7 +934,7 @@ _cttp_init_h2o()
{
h2o_timeout_t* tim_u = c3_malloc(sizeof(*tim_u));
- h2o_timeout_init(u3L, tim_u, 120 * 1000);
+ h2o_timeout_init(u3L, tim_u, 300 * 1000);
h2o_http1client_ctx_t* ctx_u = c3_calloc(sizeof(*ctx_u));
ctx_u->loop = u3L;
|
Update doc/usecases/record_elektra/UC_record_changes.md | - An active recording session exists
- **Main success scenario:**
- User makes a change to the key database, e.g. add key, delete key, modify key, modify meta
- - The old & new values for every chagned key and metakey are recorded.
+ - The old & new values for every changed key and metakey are recorded.
- **Alternative... |
Upgrading to gcc 7 on Travis build worker | language: python
+matrix:
+ include:
+ # works on Precise and Trusty
+ - os: linux
+ addons:
+ apt:
+ sources:
+ - ubuntu-toolchain-r-test
+ packages:
+ - g++-7
+ env:
+ - MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
+
python:
- "3.6"
@@ -11,6 +24,7 @@ env:
before_install:
- sudo apt-get -qq update
+ - eval "${MATRIX_EVAL}"
ins... |
chat: fix unread marker spacing regression
fixes urbit/landscape#570 | @@ -84,7 +84,7 @@ export const UnreadMarker = React.forwardRef(
position='absolute'
ref={ref}
px={2}
- mt={2}
+ mt={0}
height={5}
justifyContent='center'
alignItems='center'
|
Catch invalid cpu count returned by CPU_COUNT_S
mips32 was seen to return zero here, driving nthreads to zero with subsequent fpe in blas_quickdivide | @@ -209,7 +209,8 @@ int ret;
size = CPU_ALLOC_SIZE(nums);
ret = sched_getaffinity(0,size,cpusetp);
if (ret!=0) return nums;
- nums = CPU_COUNT_S(size,cpusetp);
+ ret = CPU_COUNT_S(size,cpusetp);
+ if (ret > 0 && ret < nums) nums = ret;
CPU_FREE(cpusetp);
return nums;
#endif
|
Fix leaking file descriptors
Another issue found by static code analysers | @@ -67,23 +67,25 @@ int daemonize(int nochdir, int noclose)
if (noclose == 0 && (fd = open("/dev/null", O_RDWR, 0)) != -1) {
if(dup2(fd, STDIN_FILENO) < 0) {
perror("dup2 stdin");
- return (-1);
+ goto err_cleanup;
}
if(dup2(fd, STDOUT_FILENO) < 0) {
perror("dup2 stdout");
- return (-1);
+ goto err_cleanup;
}
if(dup2(f... |
Clean up crashing list fix | @@ -3735,10 +3735,8 @@ public:
}
else
{
- size_t off = __right_->size();
- if (__size_ > 0)
- off += 2;
- const_cast<long&>(__cached_size_) = __left_->size() + off;
+ const_cast<long&>(__cached_size_) = (
+ (__size_ ? 2 : 0) + __left_->size() + __right_->size());
}
}
return __cached_size_;
|
rm writable from UniformBlock; | @@ -80,7 +80,6 @@ struct ShaderBlock {
typedef struct {
int index;
int binding;
- bool writable;
ShaderBlock* source;
vec_uniform_t uniforms;
} UniformBlock;
@@ -1270,7 +1269,7 @@ Shader* lovrShaderCreate(const char* vertexSource, const char* fragmentSource) {
vec_init(uniformBlocks);
vec_reserve(uniformBlocks, blockCo... |
dynamic framecount | @@ -3531,9 +3531,14 @@ tagtoright(const Arg *arg) {
void
tile(Monitor *m)
{
- unsigned int i, n, h, mw, my, ty;
+ unsigned int i, n, h, mw, my, ty, framecount;
Client *c;
+ if (clientcount() > 5)
+ framecount = 5;
+ else
+ framecount = 10;
+
for (n = 0, c = nexttiled(m->clients); c; c = nexttiled(c->next), n++);
if (n ... |
naive: try updating predicted state on confirmed L2 tx | :: unexpected tx failures here. would that be useful? probably not?
:: ~? !forced [dap.bowl %aggregated-tx-failed-anyway err.diff]
%failed
+ :: because we update the predicted state upon receiving
+ :: a new L2 tx via the rpc-api, this will only succeed when
+ :: we hear about a L2 tx that hasn't been submitted by us
:... |
Use crane to manage dockerhub tags in update_latest.yml workflow. | @@ -46,24 +46,17 @@ jobs:
runs-on: ubuntu-latest
needs: update-cdn-latest
steps:
- - name: Login to Container Registry
- uses: docker/login-action@v2
- with:
- registry: ghcr.io
- username: ${{ github.actor }}
- password: ${{ secrets.GITHUB_TOKEN }}
-
- name: Login to Dockerhub
uses: docker/login-action@v2
with:
userna... |
Trying to track down memory leak in evolve. Adding print statements. | @@ -93,6 +93,8 @@ double fdGetTimeStep(BODY *body,CONTROL *control,SYSTEM *system,UPDATE *update,f
for (iVar=0;iVar<update[iBody].iNumVars;iVar++) {
// The parameter does not require a derivative, but is calculated explicitly as a function of age.
+ printf("%d %d\n",iBody,iVar);
+ fflush(stdout);
if (update[iBody].iaTy... |
CMake: change hardcoded library name to just remove the lib prefix instead. | @@ -124,11 +124,8 @@ target_compile_definitions(${PROJECT_NAME} PRIVATE TCOD_IGNORE_DEPRECATED)
include(sources.cmake)
-if(MSVC)
- set_property(TARGET ${PROJECT_NAME} PROPERTY OUTPUT_NAME libtcod)
-else()
- set_property(TARGET ${PROJECT_NAME} PROPERTY OUTPUT_NAME tcod)
-endif()
+# Remove the "lib" prefix to prevent a l... |
Test for JPEG | @@ -69,13 +69,10 @@ GRIB2_INPUTS="
${data_dir}/test_file.grib2
${data_dir}/sample.grib2"
-# Check HAVE_JPEG is defined and is equal to 1
-if [ "x$HAVE_JPEG" != x ]; then
if [ $HAVE_JPEG -eq 1 ]; then
- # Include files which have messages with grid_jpeg packing
+ echo "Adding extra files (HAVE_JPEG=1)"
GRIB2_INPUTS="${d... |
fixed endian.h on IOS | #include <unistd.h>
#include <limits.h>
#include <time.h>
-#include <endian.h>
#include <ctype.h>
#include <sys/time.h>
#include <sys/stat.h>
#include <libgen.h>
#else
#include <stdio_ext.h>
+#include <endian.h>
#endif
#include <openssl/sha.h>
#include <openssl/hmac.h>
|
build: Bump c++ standard to c++20 | @@ -45,7 +45,7 @@ if not headers_only
c_compiler = meson.get_compiler('c')
add_project_arguments('-nostdinc', '-fno-builtin', language: ['c', 'cpp'])
- add_project_arguments('-std=c++17', language: 'cpp')
+ add_project_arguments('-std=c++20', language: 'cpp')
add_project_arguments('-fno-rtti', '-fno-exceptions', langua... |
graph api npm: updated endpoints | @@ -383,7 +383,8 @@ export const getNewest = (
index = ''
): Scry => ({
app: 'graph-store',
- path: `/newest/${ship}/${name}/${count}${encodeIndex(index)}`
+ path: `/graph/${ship}/${name}/node/siblings` +
+ `/newest/lone/${count}${encodeIndex(index)}`
});
/**
@@ -402,7 +403,7 @@ export const getOlderSiblings = (
index:... |
oc_core_res: avoid use of variable length array | @@ -128,8 +128,14 @@ finalize_payload(uint8_t *buffer, oc_string_t *payload)
if (size != -1) {
oc_alloc_string(payload, size);
memcpy(oc_cast(*payload, uint8_t), buffer, size);
+#ifdef OC_DYNAMIC_ALLOCATION
+ free(buffer);
+#endif /* OC_DYNAMIC_ALLOCATION */
return 1;
}
+#ifdef OC_DYNAMIC_ALLOCATION
+ free(buffer);
+#e... |
CMSIS-DSP: Corrected build problem with arm_correlate_f32. | */
#include "arm_math.h"
-#include "arm_vec_filtering.h"
/**
@ingroup groupFilters
#if defined(ARM_MATH_MVEF) && !defined(ARM_MATH_AUTOVECTORIZE)
#include "arm_helium_utils.h"
+#include "arm_vec_filtering.h"
void arm_correlate_f32(
|
bignum_common: Adjusted `format_arg` to always size input according to modulo. | @@ -297,10 +297,7 @@ class ModOperationCommon(OperationCommon):
return self.format_arg(self.val_n)
def format_arg(self, val: str) -> str:
- if self.input_style == "variable":
- return val.zfill(len(hex(self.int_n)) - 2)
- else:
- return super().format_arg(val)
+ return super().format_arg(val).zfill(self.hex_digits)
def... |
decoding net: don't return vpn/ppn use the addresses instead | @@ -416,6 +416,9 @@ mapping_confs(SrcReg, DstName, Confs) :-
SrcReg = region(SrcId, block(SrcBase, SrcLimit)),
DstName = name(DstId, DstBase),
configurable(SrcId, Bits, DstId),
+ node_enum(SrcId, SrcEnum),
+ Confs = [c(SrcEnum, SrcBase, DstBase)].
+ /*
BlockSize is 2^Bits,
SrcSize is SrcLimit - SrcBase + 1,
NumBlocksEn... |
[genesis] add version as a settable field | @@ -63,7 +63,7 @@ func (e errCidCodec) Error() string {
// ChainID represents the identity of the chain.
type ChainID struct {
- Version int32 `json:"-"`
+ Version int32 `json:"version"`
PublicNet bool `json:"public"`
MainNet bool `json:"mainnet"`
Magic string `json:"magic"`
|
Disable warnings in hcc until the upstream repo fixes the warnings properly | +diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 06e3e5b..9253fd6 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -6,6 +6,8 @@ include(GNUInstallDirs)
+ SET(CMAKE_MODULE_PATH "${PROJECT_SOURCE_DIR}/scripts/cmake")
+ MESSAGE("Module path: ${CMAKE_MODULE_PATH}")
+
++add_compile_options(-w)
++
+ # set as releas... |
Fix typo.
This commit aims to change `To verify what exactly what is compiled in statically` to `To verify exactly what is compiled statically` as the latter is clearer and easier to understand. | @@ -112,7 +112,7 @@ at run time based on Apache configuration files.
If modules have been statically compiled into Apache, usually it would be
evident by what 'configure' arguments have been used when Apache was built.
-To verify what exactly what is compiled in statically, you can use the ``-l``
+To verify exactly wha... |
.travis(.yml): make cppcheck more quiet | @@ -50,7 +50,7 @@ script:
- echo $CC
- echo $CXX
- ${EXTRA} cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .
- - if [ "$CHECK" == "cppcheck" ]; then cppcheck --project=compile_commands.json; fi
+ - if [ "$CHECK" == "cppcheck" ]; then cppcheck --project=compile_commands.json --quiet; fi
- ${EXTRA} make
- ulimit -c unlimited -... |
Complete quotes, parenthesis and brackets on macOS app | @@ -275,6 +275,33 @@ class EditorViewController: NSViewController, SyntaxTextViewDelegate, NSTextView
if replacementString == "\t" {
textView.insertText(" ", replacementRange: affectedCharRange)
return false
+ } else if replacementString == "(" {
+
+ defer {
+ let range = textView.selectedRange()
+ textView.insertText(... |
admin/meta-packages: include 2 additional packages in ohpc-compute for udpate
mpich builds | @@ -87,11 +87,15 @@ Requires: python3
Requires: cairo-devel
Requires: libpciaccess
Requires: libseccomp
+Requires: librdmacm
+Requires: libpsm2
%endif
%if 0%{?suse_version}
Requires: libcairo2
Requires: libpciaccess0
Requires: libatomic1
+Requires: librdmacm1
+Requires: libpsm2-2
%endif
%description -n %{PROJ_NAME}-bas... |
Add more floating point tests, and [commented out] failing cases | @@ -71,6 +71,11 @@ add_ops:
.float inf, -inf, nan
.float nan, 1.0, nan
.float 1.0, nan, nan
+ .float nan, nan, nan
+ .long 0x00800000, 0x80800000, 0 # Add underflow 2e-38 + -2e-38 = 0
+
+ # Failing cases
+ #.long 0x7f7fffff, 0x7f7fffff, 0x7f800000 # Issue #56: Add overflow: 1e+38 + 1e+38 = inf
add_ops_end:
sub_ops:
@@ ... |
hw/drivers/lp5523: Fix potential stack corruption
Make sure caller does not try to write more registers at once than
supported by driver. | @@ -137,6 +137,10 @@ lp5523_set_n_regs(struct led_itf *itf, enum lp5523_registers addr,
.buffer = payload,
};
+ if (len >= LP5523_MAX_PAYLOAD) {
+ return -1;
+ }
+
payload[0] = addr;
memcpy(&payload[1], vals, len);
|
oglGraph: fix size with Retina display
example: openGL graphs in the FFT window | @@ -176,8 +176,8 @@ void OpenGLGraph::Resize(int w, int h)
{
if(w <= 0 || h <=0 )
return;
- settings.windowWidth = w;
- settings.windowHeight = h;
+ settings.windowWidth = w * GetContentScaleFactor();
+ settings.windowHeight = h * GetContentScaleFactor();
settings.dataViewHeight = settings.windowHeight-settings.marginT... |
documented in correlation | * - CCL_CORR_BESSEL : direct integration over the Bessel function
* - CCL_CORR_LGNDRE : brute-force sum over legendre polynomials
* @param corr_type : type of correlation function. Choose between:
- * - CCL_CORR_GG : galaxy-galaxy
- * - CCL_CORR_GL : galaxy-shear
- * - CCL_CORR_LP : shear-shear (xi+)
- * - CCL_CORR_LM ... |
apps/examples/lvgldemo: Remove references to CONFIG_EXAMPLES_LGVLDEMO_ARCHINIT (which was never defined anyway) and to all references to board control. The board bringup logic must register the touchscreen driver. BOARDIOC_TSCTEST_SETUP is deprecated. | #include <nuttx/config.h>
#include <sys/types.h>
-#include <sys/boardctl.h>
#include <stdio.h>
#include <stdlib.h>
@@ -93,22 +92,6 @@ int tp_init(void)
int ret;
int errval = 0;
-#ifdef CONFIG_EXAMPLES_LGVLDEMO_ARCHINIT
- /* Initialization of the touchscreen hardware is performed by logic
- * external to this test.
- */... |
Remove connected check for write flushing | @@ -165,11 +165,7 @@ uint32_t tud_cdc_n_write_flush (uint8_t itf)
TU_VERIFY( !usbd_edpt_busy(TUD_OPT_RHPORT, p_cdc->ep_in), 0 );
uint16_t count = tu_fifo_read_n(&p_cdc->tx_ff, p_cdc->epin_buf, sizeof(p_cdc->epin_buf));
- if ( count )
- {
- TU_VERIFY( tud_cdc_n_connected(itf), 0 ); // fifo is empty if not connected
- TU... |
fix(docs) commit to meta repo as lvgl-bot instead of actual commit author | @@ -71,6 +71,8 @@ jobs:
BRANCH: gh-pages # The branch the action should deploy to.
FOLDER: out_html # The folder the action should deploy.
TARGET_FOLDER: ${{ steps.version.outputs.VERSION_NAME }}
+ GIT_CONFIG_NAME: lvgl-bot
+ GIT_CONFIG_EMAIL: lvgl-bot@users.noreply.github.com
PRESERVE: true
SINGLE_COMMIT: true
- name:... |
using puts instead of printf | @@ -200,7 +200,7 @@ void NAR_AddInputNarsese(char *narsese_sentence)
// dont add the input if it is an eternal goal
if(punctuation == '!' && !isEvent)
{
- printf("Eternal goals are not supported, input is ignored!\n");
+ puts("Warning: Eternal goals are not supported, input is ignored!\n");
}
else
{
|
drawcia: Add Batteries CFET mask & val field
This commit add the charge FET (CFET) field for OCPC.
BRANCH=none
TEST=On Drawcia. Cutoff battery and verify that CFET disable status
is reflected after attached charger. | @@ -45,6 +45,8 @@ const struct board_batt_params board_battery_info[] = {
.reg_addr = 0x0,
.reg_mask = 0x0006,
.disconnect_val = 0x0,
+ .cfet_mask = 0x0004,
+ .cfet_off_val = 0x0,
},
},
.batt_info = {
@@ -74,6 +76,8 @@ const struct board_batt_params board_battery_info[] = {
.reg_addr = 0x0,
.reg_mask = 0x0006,
.disconn... |
changed AP_CPPFLAGS to AM_CPPFLAGS in PyImathNumpy/Makefile.am.
What this a typo? The automake-generated Makefiles expect 'AM', which
was leading to a failure to find PyImath.h. | @@ -13,7 +13,7 @@ imathnumpymodule_la_LIBADD = $(top_builddir)/PyImath/libPyImath.la @BOOST_PYTHO
noinst_HEADERS =
-AP_CPPFLAGS = @ILMBASE_CXXFLAGS@ \
+AM_CPPFLAGS = @ILMBASE_CXXFLAGS@ \
@NUMPY_CXXFLAGS@ \
-I$(top_srcdir)/PyImath \
-I$(top_builddir) \
|
ELM327: Fixed LIN double init issue. | @@ -355,12 +355,14 @@ uint16_t ICACHE_FLASH_ATTR elm_LIN_read_into_ringbuff() {
if(lin_ringbuff_start == lin_ringbuff_end) lin_ringbuff_start++;
}
+ #ifdef ELM_DEBUG
if(bytelen){
os_printf(" RB Data (%d %d %d): ", lin_ringbuff_start, lin_ringbuff_end, lin_ringbuff_len);
for(int i = 0; i < sizeof(lin_ringbuff); i++)
os_... |
Ensure we simply update the UI once after tailing multiple files. | @@ -806,8 +806,8 @@ verify_inode (FILE * fp, GLog * glog) {
/* Process appended log data
*
- * If nothing changed, 1 is returned.
- * If log file changed, 0 is returned. */
+ * If nothing changed, 0 is returned.
+ * If log file changed, 1 is returned. */
static int
perform_tail_follow (GLog * glog) {
FILE *fp = NULL;
@... |
Remove 1.3 to 2.0 helpers: Python port of | @@ -88,8 +88,7 @@ class NameCheck(object):
self.log = None
self.check_repo_path()
self.return_code = 0
- self.excluded_files = ["compat-1.3.h"]
- self.typo_check_pattern = r"XXX|__|_$|^MBEDTLS_.*CONFIG_FILE$"
+ self.excluded_files = ["bn_mul"]
def set_return_code(self, return_code):
if return_code > self.return_code:
|
efuse/esp32: Fix get_coding_scheme() when CONFIG_SECURE_FLASH_ENC_ENABLED and LOG_LEVEL is Debug
Closes: | @@ -64,6 +64,6 @@ esp_efuse_coding_scheme_t esp_efuse_get_coding_scheme(esp_efuse_block_t blk)
scheme = EFUSE_CODING_SCHEME_REPEAT;
}
}
- ESP_LOGD(TAG, "coding scheme %d", scheme);
+ ESP_EARLY_LOGD(TAG, "coding scheme %d", scheme);
return scheme;
}
|
worker printfs | @@ -374,6 +374,21 @@ _worker_send_slog(u3_noun hod)
_worker_send(u3nt(c3__slog, u3i_chubs(1, &u3V.sen_d), hod));
}
+/* _worker_send_tang(): send list of hoon tanks as hint outputs.
+*/
+static void
+_worker_send_tang(c3_y pri_y, u3_noun tan)
+{
+ u3_noun i_tan, t_tan;
+ while ( u3_nul != tan ) {
+ i_tan = u3k(u3h(tan))... |
BugID:17922164: Fix FM33A04xx startup process | @@ -25,7 +25,7 @@ static kinit_t kinit = {0, NULL, 0};
static void sys_init(void)
{
/* user code start*/
-
+ board_init();
/*insert driver to enable irq for example: starting to run tick time.
drivers to trigger irq is forbidden before aos_start, which will start core schedule.
*/
@@ -46,8 +46,6 @@ int main(void)
Put t... |
psychonauts update
fixed | @@ -137,6 +137,8 @@ DWORD WINAPI Init(LPVOID bDelay)
static auto dw_61EADD = hook::get_pattern("8B 8D 14 FF FF FF 8B 51 0C 8B 85 14", 0); // 0x0061EADD
static auto dw_61EAF6 = hook::get_pattern("C7 45 D8 00 00 00 00 8B 0D ? ? ? ? 8B 91 8C", 0); // 0x0061EAF6
static auto dw_61F2FE = hook::get_pattern("8B 85 14 FF FF FF ... |
unix: comment format | @@ -144,8 +144,8 @@ _unix_down(c3_c* pax_c, c3_c* sub_c)
}
/* _unix_string_to_path(): convert c string to u3_noun path
- *
- * c string must begin with the pier path plus mountpoint
+**
+** c string must begin with the pier path plus mountpoint
*/
static u3_noun
_unix_string_to_path_helper(c3_c* pax_c)
@@ -517,8 +517,8... |
[examples] with the new initialization process the insertion of a new interaction is taken into acount at the good time step | @@ -150,7 +150,7 @@ int main(int argc, char* argv[])
while (s->hasNextEvent())
{
- if (k==200) {
+ if (k==201) {
inter.reset(new Interaction(nslaw, relation));
// link the interaction and the dynamical system
|
Fix Pandas while checking for errors | @@ -138,12 +138,13 @@ class PandasImporter(object):
__is_importing__ = False
def find_module(self, fullname, mpath=None):
- if 'pandas.' in fullname:
- return self
if fullname == 'pandas' and not self.__is_importing__:
return self
+ if fullname in ('pandas._libs.writers', 'pandas.io.msgpack._packer', 'pandas.io.sas._sa... |
copy dir file changed | @@ -27,7 +27,7 @@ for p in range(len(planets)):
for w in range(len(water)):
for e in range(len(ecc)):
for r in range(len(rad)):
- new_directory = 'TR1_'+planets[p]+'_'+water[w][:-1]+'TO_ecc_'+ecc[e][:-1]+'_rad_'+rad[r][:-1]+''
+ #new_directory = 'TR1_'+planets[p]+'_'+water[w][:-1]+'TO_ecc_'+ecc[e][:-1]+'_rad_'+rad[r][:... |
support comma delimited format option for external table | @@ -5051,6 +5051,10 @@ format_opt_list:
{
$$ = list_make2($1, $3);
}
+ | format_opt_item2 AS format_opt_item2
+ {
+ $$ = list_make2($1, $3);
+ }
| format_opt_list format_opt_item2
{
$$ = lappend($1, $2);
@@ -5059,11 +5063,18 @@ format_opt_list:
{
$$ = lappend(lappend($1, $2), $4);
}
+ | format_opt_list format_opt_item2... |
pthread: Use INTERFACE in target_link_libraries for vPortCleanUpTCB wrapper | @@ -8,7 +8,7 @@ list(APPEND extra_link_flags "-u pthread_include_pthread_cond_impl")
list(APPEND extra_link_flags "-u pthread_include_pthread_local_storage_impl")
if(CONFIG_FREERTOS_ENABLE_STATIC_TASK_CLEAN_UP)
- target_link_libraries(${COMPONENT_LIB} "-Wl,--wrap=vPortCleanUpTCB")
+ target_link_libraries(${COMPONENT_LI... |
compute_pqueue_growth(): Fix the return type | @@ -85,7 +85,7 @@ static const size_t max_nodes =
*
* We use an expansion factor of 8 / 5 = 1.6
*/
-static ossl_inline int compute_pqueue_growth(size_t target, size_t current)
+static ossl_inline size_t compute_pqueue_growth(size_t target, size_t current)
{
int err = 0;
|
Run Lua tests in CI. | @@ -253,6 +253,42 @@ jobs:
path: ${{runner.workspace}}/${{github.event.repository.name}}/tools/ci/tinyspline/
if-no-files-found: error
+ test-lua:
+ needs: [package]
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ubuntu-latest, windows-latest, macos-10.15, macos-latest]
+ luaVersion: ["5.1", "5.2", "5.3", "5.... |
py/parse: Pass rule_id to push_result_token, instead of passing rule_t*. | @@ -414,7 +414,7 @@ STATIC mp_parse_node_t mp_parse_node_new_small_int_checked(parser_t *parser, mp_
return mp_parse_node_new_small_int(val);
}
-STATIC void push_result_token(parser_t *parser, const rule_t *rule) {
+STATIC void push_result_token(parser_t *parser, uint8_t rule_id) {
mp_parse_node_t pn;
mp_lexer_t *lex =... |
8042: Move VERIFY_AUX methods so they are next to VERIFY_LPC_CHAR
VERIFY_LPC_CHAR had to be moved in the previous CL, this CL completes
the move.
BRANCH=none
TEST=run unit tests | @@ -103,6 +103,37 @@ void lpc_aux_put_char(uint8_t chr, int send_irq)
TEST_EQ(queue_is_empty(&kbd_8042_ctrl_to_host), 1, "%d"); \
} while (0)
+#define VERIFY_AUX_TO_HOST(expected_data, expected_irq) \
+ do { \
+ struct to_host_data data; \
+ msleep(30); \
+ TEST_EQ(queue_remove_unit(&aux_to_host, &data), (size_t)1, \
+... |
Add OwnerID field to Companion struct | @@ -15,5 +15,6 @@ namespace FFXIVClientStructs.Client.Game.Character
public unsafe struct Companion
{
[FieldOffset(0x0)] public Character Character;
+ [FieldOffset(0x1878)] public uint OwnerID;
}
}
|
Also update extranonce if client subscribed for updates and submitted a duplicate share | @@ -159,6 +159,7 @@ namespace Miningcore.Blockchain.Bitcoin
{
var request = tsRequest.Value;
var context = client.ContextAs<BitcoinWorkerContext>();
+ var updateExtraNonce = false;
try
{
@@ -209,7 +210,10 @@ namespace Miningcore.Blockchain.Bitcoin
// send new extranonce if miner is getting close to exhausting available... |
Add step for disabling SIP to README.macOS.md | We've confirmed that these steps work on a brand new installation of macOS Sierra or a
brand new installation of macOS Sierra with [Pivotal's workstation-setup](https://github.com/pivotal/workstation-setup)
+## Step: Disable System Integrity Protection
+
+Note that you may need to disable System Integrity Protection in... |
helm: Add CI permissions and update workflow name. | -name: Lint and test helm charts
+name: helm-chart-lint
on:
push:
@@ -6,6 +6,20 @@ on:
- main
pull_request:
+permissions:
+ actions: none
+ checks: none
+ contents: none
+ deployments: none
+ id-token: none
+ issues: none
+ discussions: none
+ packages: none
+ pull-requests: none
+ repository-projects: none
+ security-... |
Fix build failure on Windows arm64 | @@ -204,7 +204,7 @@ struct vint4
{
uint32x2_t t8 {};
// Cast is safe - NEON loads are allowed to be unaligned
- t8 = vld1_lane_u32((const uint32_t*)p, t8, 0);
+ t8 = vld1_lane_u32(reinterpret_cast<const uint32_t*>(p), t8, 0);
uint16x4_t t16 = vget_low_u16(vmovl_u8(vreinterpret_u8_u32(t8)));
m = vreinterpretq_s32_u32(vm... |
add new stream for ocean | 1250 ewla Ensemble Wave Long window data Assimilation
1251 wamd Wave monthly means of daily means
1252 gfas Global fire assimilation system
+1253 ocda Ocean Data Assimilation
+1254 olda Ocean Long window Data Assimilation
2231 cnrm Meteo France climate centre
2232 mpic Max Plank Institute
2233 ukmo UKMO climate centre
|
make CC2500_GDO0_EXTI_HANDLER configurable | #define CC2500_GDO0_PINSOURCE GPIO_PinSource14
#define CC2500_GDO0_EXTI_PINSOURCE EXTI_PortSourceGPIOC
#define CC2500_GDO0_EXTI_LINE EXTI_Line14
+#define CC2500_GDO0_EXTI_HANDLER EXTI15_10_IRQHandler
#define CC2500_GDO0_PIN GPIO_Pin_14
#define CC2500_GDO0_PORT GPIOC
#endif
@@ -170,7 +171,7 @@ void cc2500_hardware_init(... |
O365Connector: groups pagination part1 | <!-- <autoDetectParserConfig> -->
<!-- <metadataWriteFilterFactory class="org.apache.tika.metadata.StandardWriteFilterFactory"> -->
<!-- <params> -->
+<!-- <maxKeySize>1000</maxKeySize> -->
+<!-- <maxFieldSize>25000</maxFieldSize> -->
+<!-- <maxValuesPerField>20</maxValuesPerField> -->
<!-- <maxEstimatedBytes>500000</m... |
[tce] loopvec case xfails now also with LLVM 7.0 | @@ -53,7 +53,9 @@ set_tests_properties( "tce/fp16/loopvec"
ENVIRONMENT "POCL_DEVICES=ttasim;POCL_TTASIM0_PARAMETERS=${CMAKE_SOURCE_DIR}/tools/data/test_machine_fp16.adf;POCL_WORK_GROUP_METHOD=loopvec"
DEPENDS "pocl_version_check")
-if(LLVM_OLDER_THAN_6_0)
+#if(LLVM_OLDER_THAN_6_0)
+# TODO: Produces wrong results also w... |
YAML CPP: Extend MSR test | @@ -256,6 +256,11 @@ echo 'bin: !!binary aGk=' > `kdb file /examples/binary`
kdb get /examples/binary/bin
#> \x68\x69
+# We can use `printf` to convert the hexadecimal value returned by `kdb get`
+# to its ASCII representation.
+printf `kdb get /examples/binary/bin`
+#> hi
+
# Add a string value to the database
kdb set... |
revert r5694612 because it breaks open-source build. | @@ -38,7 +38,7 @@ class PythonTrait(object):
def gen_cmd(self):
cmd = [
sys.executable, arc_root + '/ya', 'make', os.path.join(arc_root, 'catboost', 'python-package', 'catboost'),
- '--checkout', '--no-src-links', '-r', '--output', out_root, '-DPYTHON_CONFIG=' + self.py_config, '-DNO_DEBUGINFO', '-DOS_SDK=local',
+ '--... |
BugID:17386135: [missing return]fix WhiteScan issue | @@ -62,19 +62,21 @@ static float acc_val_limit(float val);
/* LED1 gpio config */
static int als_led1_gpio_config(uint8_t led_config)
{
+ int ret = 0;
do {
switch (led_config) {
case LED_ON_LOW_DEFAULT:
- hal_gpio_output_low(&brd_gpio_table[GPIO_LED_1]);
+ ret = hal_gpio_output_low(&brd_gpio_table[GPIO_ALS_LED]);
break... |
CBLK: Set retries to 0 as requested by hardware development | #define CBLK_NBLOCKS 2 /* tuneup for the prefetch strategy */
#define CONFIG_COMPLETION_THREADS 1 /* 1 works best */
-#define CONFIG_MAX_RETRIES 5 /* 5 is good, 0: no retries */
+#define CONFIG_MAX_RETRIES 0 /* 5 is good, 0: no retries */
#define CONFIG_BUSY_TIMEOUT_SEC 5
#define CONFIG_REQ_TIMEOUT_SEC 2
#define CONFIG... |
Interaction profiles suggestion improvement
At least one profile should be supported. Monado fails on Neo 3 profile. | @@ -833,15 +833,18 @@ static bool openxr_init(HeadsetConfig* config) {
suggestedBindings[j].binding = path;
}
+ int successProfiles = 0;
if (count > 0) {
XR_INIT(xrStringToPath(state.instance, interactionProfilePaths[i], &path));
- XR_INIT(xrSuggestInteractionProfileBindings(state.instance, &(XrInteractionProfileSugges... |
Improve built-in touchscreen detection
Adds detection code to handle pci-*-platform-* strings
in ID_PATH
References: | @@ -332,6 +332,13 @@ bool sway_libinput_device_is_builtin(struct sway_input_device *sway_device) {
return false;
}
- const char prefix[] = "platform-";
- return strncmp(id_path, prefix, strlen(prefix)) == 0;
+ const char prefix_platform[] = "platform-";
+ if (strncmp(id_path, prefix_platform, strlen(prefix_platform)) !... |
common/chargen.c: Format with clang-format
BRANCH=none
TEST=none | * Microseconds time to drain entire UART_TX console buffer at 115200 b/s, 10
* bits per character.
*/
-#define BUFFER_DRAIN_TIME_US (1000000UL * 10 * CONFIG_UART_TX_BUF_SIZE \
- / CONFIG_UART_BAUD_RATE)
+#define BUFFER_DRAIN_TIME_US \
+ (1000000UL * 10 * CONFIG_UART_TX_BUF_SIZE / CONFIG_UART_BAUD_RATE)
/*
* Generate a ... |
vhost_user: 'nregions' saves the actual number of mapped guest physical address area
This patch fixed the VMA leak that if mapping one of guest physical address area get failed. | @@ -852,8 +852,9 @@ vhost_user_socket_read (clib_file_t * uf)
}
vui->region_mmap_addr[i] += vui->regions[i].mmap_offset;
vui->region_mmap_fd[i] = fds[i];
+
+ vui->nregions++;
}
- vui->nregions = msg.memory.nregions;
break;
case VHOST_USER_SET_VRING_NUM:
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.