message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
WebPLog2FloorC: clear -Wshadow warning
log -> log_value | @@ -112,12 +112,12 @@ static WEBP_INLINE void PutLE32(uint8_t* const data, uint32_t val) {
#define WEBP_NEED_LOG_TABLE_8BIT
extern const uint8_t WebPLogTable8bit[256];
static WEBP_INLINE int WebPLog2FloorC(uint32_t n) {
- int log = 0;
+ int log_value = 0;
while (n >= 256) {
- log += 8;
+ log_value += 8;
n >>= 8;
}
- re... |
[core] tolerate dup array config values if match
tolerate duplicated array config values if identical key and value
(still issue warning trace) | @@ -99,27 +99,38 @@ static data_unset *configparser_merge_data(data_unset *op1, const data_unset *op
case TYPE_ARRAY: {
array *dst = &((data_array *)op1)->value;
array *src = &((data_array *)op2)->value;
- data_unset *du;
+ const data_unset *du, *ddu;
size_t i;
for (i = 0; i < src->used; i ++) {
du = (data_unset *)src-... |
Fix err assignment typo
Fixes | @@ -438,7 +438,7 @@ func (r *Reader) SeekRange(low int64, high int64) error {
func (r *Reader) seek(offset int64, whence int, limit int64) (int64, error) {
if r.concReader.ready() {
n, err := r.concReader.seek(offset, whence, limit)
- r.err = r.err
+ r.err = err
return n, err
}
|
debian: explicitly install qemu-system-x86 | @@ -7,7 +7,7 @@ jobs:
steps:
- checkout
- run: sudo apt-get update
- - run: sudo apt-get install nasm qemu ent ruby rustc
+ - run: sudo apt-get install nasm qemu-system-x86 ent ruby rustc
- run: cd .. && git clone git@github.com:nanovms/ops.git
- run: make
- run: curl https://ops.city/get.sh -sSfL | sh
@@ -23,7 +23,7 @... |
nimble/ll: Disable vnd assert on BabbleSim
BabbleSim does not understand __BKPT(0) and we can simply assert instead. | @@ -513,7 +513,7 @@ syscfg.vals.BLE_LL_CFG_FEAT_LL_EXT_ADV:
# Enable vendor event on assert in standalone build to make failed assertions in
# controller code visible when connected to external host
-syscfg.vals.!BLE_HOST:
+syscfg.vals.'!BLE_HOST && !BABBLESIM':
BLE_LL_HCI_VS_EVENT_ON_ASSERT: 1
syscfg.restrictions:
|
ames: more informative printing | =/ =bone bone.shut-packet
::
?: ?=(%& -.meat.shut-packet)
+ =+ ?~ dud ~
+ %. ~
+ (slog leaf+"ames: crashed on fragment" >mote.u.dud< tang.u.dud)
(run-message-sink bone %hear lane shut-packet ?=(~ dud))
:: Just try again on error, printing trace
::
::
=+ ?~ dud ~
%. ~
- (slog leaf+"ames: crashed on message ack" >mote.u.... |
kyth_to_proto tool 4 jdk11 | },
"kythe_to_proto": {
"formula": {
- "sandbox_id": [239255977],
+ "sandbox_id": [403346294],
"match": "KYTHETOPROTO"
}
},
|
Fix 'no-ec' | @@ -868,6 +868,7 @@ int tls_construct_stoc_ec_pt_formats(SSL *s, WPACKET *pkt, unsigned int context,
}
#endif
+#ifndef OPENSSL_NO_EC
int tls_construct_stoc_supported_groups(SSL *s, WPACKET *pkt,
unsigned int context, X509 *x,
size_t chainidx, int *al)
@@ -923,6 +924,7 @@ int tls_construct_stoc_supported_groups(SSL *s, ... |
minor printout | @@ -63,7 +63,7 @@ static void print_init_header(const ScsData *d, const ScsCone *k) {
scs_printf("-");
}
scs_printf(
- "\n\t\tSCS v%s - Splitting Conic Solver\n\t (c) Brendan "
+ "\n\t SCS v%s - Splitting Conic Solver\n\t(c) Brendan "
"O'Donoghue, Stanford University, 2012\n",
SCS(version)());
for (i = 0; i < LINE_LEN;... |
misc: papi - add __repr__ to FuncWrapper
Eases troubleshooting.
Changes:
<FuncWrapper object at 0x7fa7402de790>
to
<FuncWrapper(func=<want_ip6_ra_events(u16 _vl_msg_id, u32 client_index, u32 context, u8 enable_disable, u32 pid)>)>
Type: refactor | @@ -104,6 +104,9 @@ class FuncWrapper(object):
def __call__(self, **kwargs):
return self._func(**kwargs)
+ def __repr__(self):
+ return '<FuncWrapper(func=<%s(%s)>)>' % (self.__name__, self.__doc__)
+
class VPPApiError(Exception):
pass
|
Fix security policy test for S2N_NO_PQ | @@ -50,7 +50,7 @@ int main(int argc, char **argv)
EXPECT_EQUAL(security_policy->kem_preferences->kems, pq_kems_r2r1);
#else
EXPECT_FALSE(s2n_pq_kem_is_extension_required(security_policy));
- EXPECT_EQUAL(0, security_policy->kem_preferences->count);
+ EXPECT_EQUAL(0, security_policy->kem_preferences->kem_count);
EXPECT_... |
test: fix the stopBpfRecorder mock to not return an error when no PID is found | @@ -458,7 +458,7 @@ func TestReconcile(t *testing.T) {
}, nil)
mock.DialBpfRecorderReturns(nil, func() {}, nil)
mock.SyscallsForProfileReturns(nil, bpfrecorder.ErrNotFound)
- mock.StopBpfRecorderReturns(errTest) // will be ignored
+ mock.StopBpfRecorderReturns(nil)
},
assert: func(sut *RecorderReconciler, err error) {
... |
Fix for emulator in iPhone SE | @@ -249,11 +249,13 @@ body {
@media only screen and (max-device-width: 320px) and (orientation: portrait) {
#controller_dpad {
- left: 10px;
+ left: -5px;
+ bottom: -5px;
}
#controller_a {
right: 5px;
+ bottom: 95px;
}
#controller_b {
@@ -269,7 +271,7 @@ body {
}
}
-@media only screen and (max-width: 500px) and (max-he... |
Reduce number of fan modes to 10 from 256. Add five second run-up at startup. | @@ -21,19 +21,16 @@ const (
defaultTempTarget = 50.
hysteresis = float32(1.)
- /* This puts our PWM frequency at 19.2 MHz / 128 =
- /* 150kHz. Higher frequencies will reduce audible switching
- /* noise but will be less efficient */
- pwmClockDivisor = 128
+ pwmClockDivisor = 100
/* Minimum duty cycle is the point belo... |
[cmake] use cmake -E touch rather than touch (which may no exist) | @@ -86,7 +86,7 @@ macro(doxy2swig_docstrings COMP)
# No doxy2swig but
# generate empty ${COMP}-docstrings.i file (required because of %include in swig files)
add_custom_command(OUTPUT ${SICONOS_SWIG_ROOT_DIR}/${COMP}-docstrings.i
- COMMAND touch
+ COMMAND ${CMAKE_COMMAND} -E touch
ARGS ${SICONOS_SWIG_ROOT_DIR}/${COMP}-... |
Unbreak compilation when using SCTP_DETAILED_STR_STATS option. | #ifdef __FreeBSD__
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: head/sys/netinet/sctputil.c 325370 2017-11-03 20:46:12Z tuexen $");
+__FBSDID("$FreeBSD: head/sys/netinet/sctputil.c 326163 2017-11-24 12:18:48Z tuexen $");
#endif
#include <netinet/sctp_os.h>
@@ -5091,14 +5091,14 @@ sctp_release_pr_sctp_chunk(struct sctp_t... |
Added -DCMAKE_PREFIX_PATH=\$AOMP/lib/cmake to build_comgr.sh cmake options.
If a user had reference to /opt/rocm in \$PATH, the cmake default path search order would resolve find_path(AMDDeviceLibs) in /opt/rocm/lib/cmake, causing a build failure for AOMP. | @@ -78,7 +78,7 @@ if [ "$1" != "nocmake" ] && [ "$1" != "install" ] ; then
$SUDO rm -rf $BUILD_AOMP/build/comgr
export LLVM_DIR=$AOMP_INSTALL_DIR
export Clang_DIR=$AOMP_INSTALL_DIR
- MYCMAKEOPTS="-DCMAKE_INSTALL_PREFIX=$INSTALL_COMGR -DCMAKE_BUILD_TYPE=$BUILDTYPE $AOMP_ORIGIN_RPATH -DLLVM_BUILD_MAIN_SRC_DIR=$AOMP_REPOS... |
Fix scanbuild | @@ -661,13 +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) {
- nt_log(ctx, NEAT_LOG_ERROR, "%s - calloc failed", __func__);
- ... |
Add a CHANGES entry for EVP_PKEY_public_check() and EVP_KEY_param_check()
These functions now work for more key types than they did in 1.1.1
Fixes | @@ -22,7 +22,8 @@ EVP_PKEY_pairwise_check
=head1 DESCRIPTION
EVP_PKEY_param_check() validates the parameters component of the key
-given by B<ctx>.
+given by B<ctx>. This check will always succeed for key types that do not have
+parameters.
EVP_PKEY_param_check_quick() validates the parameters component of the key
give... |
Update: Timing in toothbrush example can be shorter | <(*,toothbrush,plastic) --> made_of>. :|:
<#1 --> [unscrewing]>! :|:
//expected: ^left executed with args ({SELF} * toothbrush)
-100
+10
//some time later:
<toothbrush --> [pliable]>. :|:
<#1 --> [unscrewing]>! :|:
//expected: ^right executed with args ({SELF} * toothbrush)
//some time later:
+10
<toothbrush --> [harde... |
Ensure samtools commands don't add `@PG` headers
Work around the behaviour change in Samtools 1.10 whereby commands
that output SAM/BAM/CRAM now default to adding their own `@PG` headers.
Use GNU Make functions to probe the usage display for the existence
of a --no-PG option, to work with either <= 1.9 or >= 1.10. | @@ -3,6 +3,7 @@ BAM=$(SAM:%.sam=%.bam)
BAI=$(BAM:%.bam=%.bam.bai)
CRAM=ex1.cram ex2.cram ex3.cram
CRAI=$(CRAM:%.cram=%.cram.crai)
+NO_PG:=$(findstring --no-PG,$(shell samtools view))
# ex2.bam - bam file without index
@@ -26,22 +27,22 @@ all: ex1.pileup.gz \
# ex2.sam - as ex1.sam, but with header
ex2.sam.gz: ex1.bam e... |
changed makefile to specify app name | @@ -6,6 +6,9 @@ TOCK_USERLAND_BASE_DIR = ../..
# Which files to compile.
C_SRCS := $(wildcard *.c)
+# Change name of generated app
+PACKAGE_NAME = udp-button-press
+
APP_HEAP_SIZE := 2048
# Include userland master makefile. Contains rules and flags for actually
|
[ulog] Optimize code to improve readability. | @@ -191,7 +191,7 @@ static void output_unlock(void)
return;
/* If the scheduler is started and in thread context */
- if (rt_thread_self() && (rt_interrupt_get_nest() == 0))
+ if (rt_interrupt_get_nest() == 0 && rt_thread_self() != RT_NULL)
{
rt_sem_release(&ulog.output_locker);
}
@@ -209,7 +209,7 @@ static void output... |
BugID:19120134:Add logics for http parser | #include "http_api.h"
bool httpc_running = false;
-HTTPC_METHOD_TYPE_T method;
+int method;
httpc_handle_t httpc_handle = 0;
char server_name[32] = "http://httpie.org/";
-static int httpc_recv_fun(httpc_handle_t httpc, uint8_t *body_buf, uint16_t body_len, int8_t err)
+static int httpc_recv_fun(httpc_handle_t httpc, ui... |
Added splunk transpose test | @@ -92,6 +92,7 @@ class SplunkDirectIndexingTest(Test):
sock.send(f"This is my test event {i}! \n".encode('utf-8'))
self.__assert_same_number_of_events(service, events_num, index_name)
+ self.__assert_transposed_results(service, index_name)
return passed(), None
@@ -102,7 +103,6 @@ class SplunkDirectIndexingTest(Test):... |
deprecate engines in provider code | * https://www.openssl.org/source/license.html
*/
+/* We need to use some engine deprecated APIs */
+#define OPENSSL_SUPPRESS_DEPRECATED
+
#include <openssl/evp.h>
#include <openssl/core_names.h>
#include <openssl/err.h>
|
[cmake] remove needless arguments from xconfig macro
They were never set or read.
github: | @@ -295,10 +295,8 @@ check_c_source_compiles("
" HAVE_STRUCT_TM_GMTOFF)
## refactor me
-macro(XCONFIG _package _include_DIR _link_DIR _link_FLAGS _cflags)
+macro(XCONFIG _package _link_FLAGS _cflags)
# reset the variables at the beginning
- set(${_include_DIR})
- set(${_link_DIR})
set(${_link_FLAGS})
set(${_cflags})
@@... |
Adjust A53 SGEMM parameters to reflect move to 8x8 kernel | @@ -195,8 +195,13 @@ if (DEFINED CORE AND CMAKE_CROSSCOMPILING AND NOT (${HOST_OS} STREQUAL "WINDOWSS
"#define HAVE_VFP\n"
"#define HAVE_NEON\n"
"#define ARMV8\n")
+if ("${TCORE}" STREQUAL "CORTEXA57")
set(SGEMM_UNROLL_M 16)
set(SGEMM_UNROLL_N 4)
+else
+ set(SGEMM_UNROLL_M 8)
+ set(SGEMM_UNROLL_N 8)
+endif
set(DGEMM_UN... |
BugID:21997086:[hal]del kv when set value len = 0 to enalbe dynamic register test | @@ -26,40 +26,68 @@ static const char *demo_iv = "f165u329c054k637";
int HAL_SetProductKey(char *product_key)
{
- int len = strlen(product_key);
+ int len;
+ if(product_key == NULL) {
+ return -1;
+ }
+ memset(_product_key, 0x0, IOTX_PRODUCT_KEY_LEN + 1);
+ len = strlen(product_key);
if (len > IOTX_PRODUCT_KEY_LEN) {
r... |
nimble/phy: Fix setting correct GPIO PORT
Pin is already masked in this place, so pin > 31 will always result in
0. Therefore check for already known port. | @@ -1235,7 +1235,7 @@ ble_phy_dbg_time_setup_gpiote(int index, int pin)
(GPIOTE_CONFIG_MODE_Task << GPIOTE_CONFIG_MODE_Pos) |
((pin & 0x1F) << GPIOTE_CONFIG_PSEL_Pos) |
#if NRF52840_XXAA
- ((pin > 31) << GPIOTE_CONFIG_PORT_Pos);
+ ((port == NRF_P1) << GPIOTE_CONFIG_PORT_Pos);
#else
0;
#endif
|
Do not join lru and slab maintainer threads if they do not exist
If no_modern option was supplied then these threads did not run
but memcached still attempted to join them, which resulted in a
segfault.
resolve | @@ -226,12 +226,16 @@ void stop_threads(void) {
stop_item_crawler_thread(CRAWLER_WAIT);
if (settings.verbose > 0)
fprintf(stderr, "stopped lru crawler\n");
+ if (settings.lru_maintainer_thread) {
stop_lru_maintainer_thread();
if (settings.verbose > 0)
fprintf(stderr, "stopped maintainer\n");
+ }
+ if (settings.slab_rea... |
Java: adding Content-Type response header for static files. | @@ -313,6 +313,7 @@ public class Context implements ServletContext, InitParams
} else {
response.setContentLengthLong(f.length());
+ response.setContentType(getMimeType(f.getName()));
InputStream is = new FileInputStream(f);
byte[] buffer = new byte[response.getBufferSize()];
|
add stm32g4 cat3 (dual flash bank) devices. | @@ -554,6 +554,20 @@ static const struct stlink_chipid_params devices[] = {
.bootrom_base = 0x1fff0000,
.bootrom_size = 0x7000 // 28K (table 2)
},
+ {
+ // STM32G471/473/474/483/484 (from RM0440)
+ .chip_id = STLINK_CHIPID_STM32_G4_CAT3,
+ .description = "G4 Category-3",
+ .flash_type = STLINK_FLASH_TYPE_G4,
+ .flash_s... |
build/configs/imxrt1020-evk : Enable Task Manager in loadable defconfig
For supporting task manager by default in loadable, enable its config in defconfig. | @@ -557,6 +557,11 @@ CONFIG_SIG_SIGCHLD=4
CONFIG_SIG_SIGBM_STATE=15
CONFIG_SIG_SIGCONDTIMEDOUT=16
CONFIG_SIG_SIGWORK=17
+CONFIG_SIG_SIGTM_UNICAST=18
+CONFIG_SIG_SIGTM_PAUSE=19
+CONFIG_SIG_SIGTM_RESUME=20
+CONFIG_SIG_SIGTM_BROADCAST=21
+CONFIG_SIG_SIGTM_TERMINATION=23
CONFIG_SIG_MESSAGING_UNICAST=25
#
@@ -1171,6 +1176,7... |
hw/mcu/da1469x: Fix CMAC sleep enable
We should only enable sleep in CMAC when XTAL32K is settled. | #include <string.h>
#include "os/os.h"
#include "mcu/cmsis_nvic.h"
+#include "mcu/da1469x_lpclk.h"
#include "mcu/da1469x_cmac.h"
#include "mcu/da1469x_hal.h"
#include "mcu/da1469x_pdc.h"
@@ -160,6 +161,15 @@ done:
os_trace_isr_exit();
}
+static void
+da1469x_cmac_lpclk_cb(void)
+{
+ struct cmac_config_dynamic *cmac_con... |
OcCryptoLib: Silence compiler warnings
closes acidanthera/bugtracker#638 | @@ -313,7 +313,7 @@ BigNumRightShiftWordsAndBits (
//
//ASSERT (NumWords > 0);
- for (Index = NumWords; Index < NumWordsA - 1; ++Index) {
+ for (Index = NumWords; Index < (UINTN) (NumWordsA - 1); ++Index) {
Result[Index - NumWords] = (A[Index] >> NumBits) | (A[Index + 1] << (OC_BN_WORD_NUM_BITS - NumBits));
}
//
|
Build: openjpeg 2.4.0 | # granted to it by virtue of its status as an intergovernmental organisation nor
# does it submit to any jurisdiction.
-# - Try to find the OpenJPEG includes and library (version 1.5.x, 2.1.x, 2.2.x, 2.3.x)
+# - Try to find the OpenJPEG includes and library (version 1.5.x, 2.1.x, 2.2.x, 2.3.x, 2.4.x)
# This module defi... |
libhfuzz/instrument: avoid situation in which two instrumented by honggfuzz modules (libraries, binaries) call into each other's memcmp | @@ -67,7 +67,15 @@ static int _memcmp(const void* m1, const void* m2, size_t n) {
int (*libc_memcmp)(const void* s1, const void* s2, size_t n) = _memcmp;
-static void* getsym(const char* sym) {
+static void* getsym(const char* fname, const char* sym) {
+ if (fname) {
+ void* dlh = dlopen(fname, RTLD_LAZY);
+ if (!dlh) ... |
Add HTTP header in aws_iot_ota_http.c | /* OTA includes. */
#include "aws_iot_ota_agent.h"
#include "aws_iot_ota_agent_internal.h"
+#include "aws_iot_ota_http.h"
/* Logging includes. */
#ifdef IOT_LOG_LEVEL_GLOBAL
|
config_tools: add vcat support for configurator
add vcat support | <template>
<div>
- <Slider v-model="hexField" :merge="-1" :max="max" :tooltips="false"/>
+ <Slider v-model="hexField" :max="max" :tooltips="false" :options="sliderOptions"/>
</div>
</template>
<script>
import Slider from '@vueform/slider'
+function count(source, target) {
+ return (source.match(new RegExp(target, 'g'))... |
Better formatting for ++range and ++place definitions. | ::TODO separate stream for just msgs? what about just configs? presences?
:: yes!
== ::
- ::TODO more newlines
-++ range (unit {hed/place tal/(unit place)}) ::< inclusive msg range
-++ place $%({$da @da} {$ud @ud}) ::< @ud/@da for range
+++ range ::> inclusive msg range
+ %- unit ::< ~ means everything
+ $: hed/place :... |
Update changelog entry
Remove internal details. Add the condition of the bug. | Bugfix
- * Fix a build bug : when parallel out-of-box build with cmake, it raise file
- not found error. That's due to same target is included in different sub-
- makefiles. And cmake will call the targets in different forked `make`
- process. As a result, the dependancy will be broken. This fix remove the
- targets in... |
Add migration script for MOVE_TO using connected values rather than MOVE_TO_VALUE | @@ -314,13 +314,38 @@ export const migrateFrom120To200Event = event => {
}
}
}
+ if(event.args && event.command === "EVENT_ACTOR_MOVE_TO_VALUE") {
+ return {
+ ...event,
+ command: "EVENT_ACTOR_MOVE_TO",
+ args: {
+ actorId: event.args.actorId,
+ x: {
+ type: "variable",
+ value: event.args.vectorX,
+ },
+ y: {
+ type:... |
[chainmaker][#436]modify test result check sequence | @@ -76,21 +76,17 @@ START_TEST(test_001CreateWallet_0001CreateOneTimeWalletSuccess)
/* 1. execute unit test */
rtnVal = BoatWalletCreate(BOAT_PROTOCOL_CHAINMAKER, NULL, &wallet_config, sizeof(BoatHlchainmakerWalletConfig));
- /* 2. verify test result */
- /* 2-1. verify the return value */
ck_assert_int_eq(rtnVal, 0);
... |
Update: NAR_language.py: allow S V and O to be arbitrary flipped in the grammar to learn | @@ -99,11 +99,21 @@ def getNounRelNoun(words):
for i, word in enumerate(words):
RELATION = resolveViaChoice(word, i, RELATION, isRelation=True)
if RELATION is None:
- return
- for j, word in enumerate(words[:RELATION[1]]):
- SUBJECT = resolveViaChoice(word, j, SUBJECT, isRelation=False)
- for k, word in enumerate(words... |
removing "reset method" | /* CHECKME overlap */
/* Derek Kwan 2016
-
OVERALL: old average~ was a chunked avg, this is now a moving avg
-
========================
rewrite average_absolutesum, average_rmssum, average_bipolarsum for addition, subtraction
-
rewrite perform, a lot of things in the struct to move from a chunked average to moving aver... |
Refactoring: in preparation for | @@ -85,7 +85,7 @@ int grib_tool_new_handle_action(grib_runtime_options* options, grib_handle* h)
int i = 0;
grib_values* values = NULL;
grib_iterator* iter = NULL;
- char* format = NULL;
+ char* format_values = NULL;
char* default_format = "%.10e";
int print_keys = grib_options_on("p:");
long numberOfPoints = 0;
@@ -12... |
pbio/trajectory: Walk position trajectories in full. | @@ -106,7 +106,10 @@ static void walk_trajectory(pbio_trajectory_t *trj) {
// Start and end angles in millidegrees.
static const pbio_angle_t angles[] = {
{.rotations = 0, .millidegrees = 0 },
- {.rotations = 0, .millidegrees = 30 * 1000 },
+ {.rotations = 0, .millidegrees = 1 * MDEG_PER_DEG },
+ {.rotations = 0, .mill... |
Declaration of function changed in 'sane can ids'.
can loopback called the function with the old parameters. | @@ -709,11 +709,8 @@ int usb_cb_control_msg(USB_Setup_TypeDef *setup, uint8_t *resp, int hardwired) {
break;
case 0xe5: // Set CAN loopback (for testing)
can_loopback = (setup->b.wValue.w > 0);
- can_init(CAN1, 0);
- can_init(CAN2, 0);
- #ifdef CAN3
- can_init(CAN3, 0);
- #endif
+ for(i=0; i < CAN_MAX; i++)
+ can_init(... |
omnibox: add maybe operators | @@ -102,7 +102,7 @@ export default function index(contacts, associations, apps, currentGroup, groups
}).map((e) => {
// iterate through each app's metadata object
Object.keys(associations[e])
- .filter((association) => !associations[e][association].metadata.hidden)
+ .filter((association) => !associations?.[e]?.[associ... |
Remove obsolete nbtree "get root" comment.
Remove a very old Berkeley era comment that doesn't seem to have
anything to do with the current locking considerations within
_bt_getroot().
Discussion: | @@ -266,9 +266,7 @@ _bt_update_meta_cleanup_info(Relation rel, TransactionId oldestBtpoXact,
*
* Since the root page can move around the btree file, we have to read
* its location from the metadata page, and then read the root page
- * itself. If no root page exists yet, we have to create one. The
- * standard class of... |
awm deduplicates mouse driver events | @@ -47,6 +47,14 @@ typedef struct user_window {
bool has_done_first_draw;
} user_window_t;
+typedef struct incremental_mouse_state {
+ int8_t state;
+ int32_t rel_x;
+ int32_t rel_y;
+ int32_t rel_z;
+ uint32_t combined_msg_count;
+} incremental_mouse_state_t;
+
#define WINDOW_BORDER_MARGIN 0
#define WINDOW_TITLE_BAR_H... |
Fix endianness issues in ELF module.
See | @@ -478,11 +478,13 @@ static const char* str_table_entry(
yr_set_integer(yr_##bo##16toh(elf->type), elf_obj, "type"); \
yr_set_integer(yr_##bo##16toh(elf->machine), elf_obj, "machine"); \
yr_set_integer(yr_##bo##bits##toh(elf->sh_offset), elf_obj, "sh_offset"); \
- yr_set_integer(yr_##bo##16toh(elf->sh_entry_size), elf... |
Clear already parsed HUD elements when using legacy layout | @@ -526,6 +526,7 @@ void HudElements::sort_elements(std::pair<std::string, std::string> option){
void HudElements::legacy_elements(){
string value = "NULL";
+ ordered_functions.clear();
ordered_functions.push_back({time, value});
ordered_functions.push_back({version, value});
ordered_functions.push_back({gpu_stats, val... |
try to fix assembler errors on z13 | @@ -44,6 +44,7 @@ matrix:
arch: s390x
before_script:
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=Z13 NUM_THREADS=32"
+ - apt-get install --only-upgrade binutils
env:
# for matrix annotation only
- TARGET_BOX=IBMZ_LINUX
@@ -56,6 +57,7 @@ matrix:
compiler: clang
before_script:
- COMMON_FLAGS="DYNAMIC_ARCH=1 TARGET=Z13 NUM_THRE... |
commander: remove C DeviceInfo
Ported to Rust. | #if APP_ETH == 1
#include "commander/commander_eth.h"
#endif
-#include "commander/commander_states.h"
#if PRODUCT_BITBOX_BASE == 1
#include "rust/rust.h"
#endif
#include <flags.h>
#include <hardfault.h>
#include <keystore.h>
-#include <memory/memory.h>
#include <random.h>
#include <screen.h>
#include <sd.h>
#include <u... |
arvo: restores previous +load compilation | =/ lod
(slap (slot 7 gat) [%limb %load])
|= =heir
- |. ;;(^ q:(slam lod !>(heir)))
+ |. ~> %slog.[1 'arvo: +load next']
+ ;;(^ q:(slam lod !>(heir)))
::
:: hyp: hoon core type
:: hoc: hoon core
::
=/ voc .*(hoc [%7 +.rav %0 7])
::
- :: extract the upgrade gate +load at axis +4
+ :: extract the upgrade gate +load
::
- =... |
default inti for irun/ncsim is without initx | -aet) AET=1;;
-noaet) AET=0;;
-init0) SIM_INIT='-ncinitialize 0';;
+ -init1) SIM_INIT='-ncinitialize 1';;
-initx) SIM_INIT='-ncinitialize x';;
-h) echo "Usage: $0 -cdemx"
echo " -app "pgm" : single program (arguments can be passed with -arg)"
export LD_LIBRARY_PATH=$PSLSE_ROOT/afu_driver/src:$DENALI/verilog # to find l... |
Prevent null pointer in SolrIndexerQueryResponse | @@ -43,18 +43,26 @@ public class SolrIndexerQueryResponse implements IndexerQueryResponse {
this.rawResponse = response;
final JSONObject responseObj = (JSONObject) rawResponse.get("response");
final JSONObject responseHeader = (JSONObject) rawResponse.get("responseHeader");
+ if (responseObj != null && responseObj.get... |
schema compile BUGFIX (another) buffer overflow when generating path for logger
Fixes | @@ -182,7 +182,7 @@ remove_nodelevel:
for (; ctx->path[ctx->path_len] != '/' ; --ctx->path_len);
if (ctx->path_len == 0) {
/* top-level (last segment) */
- ++ctx->path_len;
+ ctx->path_len = 1;
}
}
/* set new terminating NULL-byte */
@@ -209,9 +209,14 @@ remove_nodelevel:
} else {
len = snprintf(&ctx->path[ctx->path_le... |
Fixed output buffer size | @@ -510,7 +510,8 @@ static int pack_double(grib_accessor* a, const double* val, size_t* len)
grib_context_log(a->context, GRIB_LOG_DEBUG,"CCSDS pack_double: packing %s, %d values", a->name, n_vals);
- buflen += 10240;
+ /*ECC-1431: GRIB2: CCSDS encoding failure AEC_STREAM_ERROR*/
+ buflen = buflen * 67.0/64 + 257;
buf ... |
HLS Sponge : adding header file | @@ -26,7 +26,8 @@ extern "C" {
#define CHECKSUM_ACTION_TYPE 0x10141001
#define RELEASE_LEVEL 0x00000020
-#define NB_ROUNDS 100000
+// For simulation use smaller numbers like 8 for both
+#define NB_ROUNDS 65536
#define NB_TEST_RUNS 65536
typedef enum {
|
virtio: remove unused code
Type: refactor | @@ -1320,10 +1320,6 @@ virtio_pci_delete_if (vlib_main_t * vm, virtio_if_t * vif)
vec_free (vif->txq_vrings);
vec_free (vif->cxq_vring);
- if (vif->fd != -1)
- vif->fd = -1;
- if (vif->tap_fd != -1)
- vif->tap_fd = -1;
clib_error_free (vif->error);
memset (vif, 0, sizeof (*vif));
pool_put (vim->interfaces, vif);
|
soprano: remove unused args from so_fewrite_ssl_request() | @@ -60,7 +60,7 @@ so_fewrite_cancel(so_stream_t *buf, uint32_t pid, uint32_t key)
}
static inline int
-so_fewrite_ssl_request(so_stream_t *buf, uint32_t pid, uint32_t key)
+so_fewrite_ssl_request(so_stream_t *buf)
{
int size = sizeof(uint32_t) + /* len */
sizeof(uint32_t); /* special */
|
omxplayer: Bump to latest revision
Also, add a deprecation note as per the project's status: | @@ -9,9 +9,9 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=00a27da7ac0f9bcd17320ec29ef4bbf6"
DEPENDS = "alsa-lib libpcre virtual/egl boost freetype dbus openssl libssh virtual/libomxil coreutils-native curl-native userland"
-PR = "r5"
+PR = "r6"
-SRCREV_default = "f543a0d0e707ab56415f17b0ca6d397394ee8b63"
+SRCREV_default =... |
Fix a typo breaking the link to Imath repository in readme | @@ -63,7 +63,7 @@ Platform](https://vfxplatform.com).
With the release of OpenEXR 3, the Imath library formerly distributed
via the IlmBase component of OpenEXR is now an independent library
-dependency, available for download from https:://github.com/AcademySoftwareFoundation/Imath.
+dependency, available for download... |
fix fedora oidc-prompt -fPIE -fpie issue | @@ -127,6 +127,7 @@ CXX := $(CXX)
CFLAGS := $(CFLAGS) -g -std=c99 -I$(SRCDIR) -I$(LIBDIR) -Wall -Wextra -fno-common
CPPFLAGS := $(CPPFLAGS) -g -I$(SRCDIR) -I$(LIBDIR)
CPPFLAGS += -std=c++11
+CPPFLAGS += -fPIC
ifndef MAC_OS
ifndef ANY_MSYS
CPPFLAGS += $(shell pkg-config --cflags --libs gtk+-3.0 webkit2gtk-4.0) -lstdc++
... |
virtio-input : fix : missing key when inputing combination keys
When HidQueue's ExecutionLevel= WdfExecutionLevelPassive and WdfIoQueueRetrieveNextRequest is called in IRQL=
DISPATCH ,so WdfRequestForwardToIoQueue(in hid.c EvtIoDeviceControl)can not be called timely for inserting request to HIdQueue. | @@ -104,7 +104,6 @@ VIOInputEvtDeviceAdd(
WDF_OBJECT_ATTRIBUTES_INIT_CONTEXT_TYPE(&Attributes, INPUT_DEVICE);
Attributes.SynchronizationScope = WdfSynchronizationScopeDevice;
- Attributes.ExecutionLevel = WdfExecutionLevelPassive;
status = WdfDeviceCreate(&DeviceInit, &Attributes, &hDevice);
if (!NT_SUCCESS(status))
{
|
Fix old documentation link in `lv_conf_template.h` | @@ -330,7 +330,7 @@ typedef void * lv_indev_drv_user_data_t; /*Type of user data in the i
/* The built-in fonts contains the ASCII range and some Symbols with 4 bit-per-pixel.
* The symbols are available via `LV_SYMBOL_...` defines
- * More info about fonts: https://docs.lvgl.com/#Fonts
+ * More info about fonts: https... |
Add a few missing api version documentation
A few api method/struct documentation did not have the
entry describing in which version it was introduced.
JerryScript-DCO-1.0-Signed-off-by: Peter Gal | @@ -612,7 +612,7 @@ Possible values:
- JERRY_PROMISE_STATE_FULFILLED - Promise is in "Fulfilled" state.
- JERRY_PROMISE_STATE_REJECTED - Promise is in "Rejected" state.
-*New in version [NEXT VERSION]*.
+*New in version 2.2*.
**See also**
@@ -3282,7 +3282,7 @@ jerry_get_promise_result (const jerry_value_t promise);
- A... |
add github.com/intel/govmm | @@ -359,6 +359,9 @@ ALLOW .* -> vendor/go.etcd.io/bbolt
# CONTRIB-1616 Gountries provides structured countries data
ALLOW .* -> vendor/github.com/pariz/gountries
+# CONTRIB-1630- Go binding for qemu/qmp runtime
+ALLOW .* -> vendor/github.com/intel/govmm/qemu
+
#
# Temporary exceptions.
#
|
psa_crypto.c, test_suite_psa_crypto.function: fix style | @@ -6784,11 +6784,11 @@ void derive_key_type( int alg_arg,
PSA_ASSERT( psa_import_key( &base_attributes, key_data->x, key_data->len,
&base_key ) );
- if( !mbedtls_test_psa_setup_key_derivation_wrap(
+ if( mbedtls_test_psa_setup_key_derivation_wrap(
&operation, base_key, alg,
input1->x, input1->len,
input2->x, input2->l... |
vppapigen: generate define for module_semver
Generate a semver define for API modules in the VPP side C generator.
E.g in map.api_types.h
\#define VL_API_MAP_API_VERSION_MAJOR 4
\#define VL_API_MAP_API_VERSION_MINOR 2
\#define VL_API_MAP_API_VERSION_PATCH 1
Type: improvement | @@ -525,6 +525,13 @@ def generate_include_types(s, module, stream):
write('#ifndef included_{module}_api_types_h\n'.format(module=module))
write('#define included_{module}_api_types_h\n'.format(module=module))
+ if 'version' in s['Option']:
+ v = s['Option']['version']
+ (major, minor, patch) = v.split('.')
+ write('#d... |
Minor comment-fixes in cc13xx/cc26xx WD | @@ -103,7 +103,7 @@ lock_config(uint32_t status)
}
/*---------------------------------------------------------------------------*/
/**
- * \brief Initialises the CC26xx WDT
+ * \brief Initialises the CC13xx/CC26xx WDT
*
* Simply locks the config so that future calls will lock properly.
* The WDT is not started yet. To ... |
I corrected a typo in one of the web pages. | <td>Mac OS X 10.13 - Intel 64 bit<br />
Darwin 10.13, Darwin Kernel Version 17.7.0, clang-900.39.2, MPICH<br />
<i>(Includes parallel VisIt with self-contained MPICH MPI, Uintah. Works on Mac OS X 10.13 and later.)</i></td>
- <td><a href="http://portal.nersc.gov/project/visit/releases/2.13.3/VisIt-2.13.3-10.12.dmg">Dow... |
add torque cmd on monitor example | @@ -43,6 +43,7 @@ void setup()
Serial.println("ping (ID)");
Serial.println("id (ID) (NEW_ID)");
Serial.println("baud (ID) (NEW_BAUD)");
+ Serial.println("torque (ID) (VALUE)");
Serial.println("joint (ID) (GOAL_POSITION)");
Serial.println("wheel (ID) (GOAL_VELOCITY)");
Serial.println("write (ID) (ADDRESS_NAME) (VALUE)")... |
tweak citation.cff | @@ -13,6 +13,8 @@ title: "SCS: Spltting Conic Solver"
version: 3.0.0
date-released: 2021
url: "https://github.com/cvxgrp/scs"
+
+# Original SCS paper:
preferred-citation:
type: article
authors:
@@ -26,10 +28,12 @@ preferred-citation:
given-names: "Stephen"
journal: "Journal of Optimization Theory and Applications"
mont... |
ble_mesh: Remove unused macro FRIEND_BUF_SIZE | #ifdef CONFIG_BLE_MESH_FRIEND
-#define FRIEND_BUF_SIZE (BLE_MESH_ADV_DATA_SIZE - BLE_MESH_NET_HDR_LEN)
-
/* We reserve one extra buffer for each friendship, since we need to be able
* to resend the last sent PDU, which sits separately outside of the queue.
*/
|
CHANGELOG: add Cardano | @@ -7,6 +7,7 @@ customers cannot upgrade their bootloader, its changes are recorded separately.
## Firmware
### [Unreleased]
+- Multi edition: add Cardano support.
- Allow recovery words that convert to a zero seed, such as the 12 words `abandon abandon .... about`.
- RestoreBackup: ported to Rust. Will now return User... |
BugID:19882985: Align task stack depth of rda5981x with other's module, use default AOS_START_STACK | @@ -61,7 +61,7 @@ static void sys_init(void)
void sys_start(void)
{
aos_init();
- krhino_task_dyn_create(&g_aos_init, "aos-init", 0, AOS_DEFAULT_APP_PRI, 0, AOS_START_STACK*4, (task_entry_t)sys_init, 1);
+ krhino_task_dyn_create(&g_aos_init, "aos-init", 0, AOS_DEFAULT_APP_PRI, 0, AOS_START_STACK, (task_entry_t)sys_init... |
config-tools: add validate_scenario_schema
add validate_scenario_schema to validate_scenario_setting and update the
excption handling. | @@ -91,7 +91,7 @@ def get_scenario_item_values(board_info, scenario_info):
return scenario_item_values
-def validate_scenario_setting(board_info, scenario_info):
+def validate_scenario_schema(scenario_info):
"""
Validate settings in scenario xml if there is scenario schema
:param xsd_doc: scenario schema
@@ -99,18 +99,... |
npl/riot: reduce default msys bufsize to minimum | #endif
#ifndef MYNEWT_VAL_MSYS_1_BLOCK_COUNT
-#define MYNEWT_VAL_MSYS_1_BLOCK_COUNT (12)
+#define MYNEWT_VAL_MSYS_1_BLOCK_COUNT (5)
#endif
#ifndef MYNEWT_VAL_MSYS_1_BLOCK_SIZE
-#define MYNEWT_VAL_MSYS_1_BLOCK_SIZE (292)
+#define MYNEWT_VAL_MSYS_1_BLOCK_SIZE (88)
#endif
#ifndef MYNEWT_VAL_MSYS_2_BLOCK_COUNT
|
fix(behaviors): Remove `behavior_hold_tap_data`
Related to discussion during development of tap-dance behavior:
This PR suggests to remove the `struct behavior_hold_tap_data` because is not used to store data for each hold tap. | @@ -674,9 +674,6 @@ static int behavior_hold_tap_init(const struct device *dev) {
return 0;
}
-struct behavior_hold_tap_data {};
-static struct behavior_hold_tap_data behavior_hold_tap_data;
-
#define KP_INST(n) \
static struct behavior_hold_tap_config behavior_hold_tap_config_##n = { \
.tapping_term_ms = DT_INST_PROP(... |
Fix vsync tearing on fade | @@ -77,6 +77,9 @@ void game_loop()
joy = joypad();
+ // Handle Fade
+ FadeUpdate();
+
// Handle stage switch
if (stage_type != stage_next_type && !IsFading())
{
@@ -99,9 +102,6 @@ void game_loop()
SceneUpdate();
}
- // Handle Fade
- FadeUpdate();
-
prev_joy = joy;
time++;
|
Fix Schema Admin link | @@ -55,6 +55,7 @@ init_collection_name() {
sed -i -e "s~@MAINCOLLECTION@~${1}~g" /opt/datafari/tomcat/webapps/Datafari/admin/ajax/js/queryElevator.js
sed -i -e "s~@MAINCOLLECTION@~${1}~g" /opt/datafari/tomcat/webapps/Datafari/js/AjaxFranceLabs/modules/QueryElevator.module.js
sed -i -e "s~@MAINCOLLECTION@~${1}~g" /opt/d... |
dns: packed dns_header_s and dns_question_s | /* The DNS message header */
-struct dns_header_s
+begin_packed_struct struct dns_header_s
{
uint16_t id;
uint8_t flags1;
@@ -147,15 +147,15 @@ struct dns_header_s
uint16_t numanswers;
uint16_t numauthrr;
uint16_t numextrarr;
-};
+} end_packed_struct;
/* The DNS question message structure */
-struct dns_question_s
+beg... |
fix strange lease count | @@ -303,12 +303,12 @@ static void try_connect(h2o_socketpool_connect_request_t *req)
req->selected_target = req->pool->balancer->callbacks->select_(req->pool->balancer, &req->pool->targets, req->lb.tried);
assert(!req->lb.tried[req->selected_target]);
req->lb.tried[req->selected_target] = 1;
- __sync_add_and_fetch(&req... |
update changelog for 0.7.1, first round | @@ -4,6 +4,24 @@ title: Changelog
# Changelog
+## AppScope 0.7.1
+
+2021-07-20 - Maintenance Pre-Release
+
+This pre-release addresses the following issues:
+
+- **Improvement**: [#350] In `docker-build`, add support for:
+ - Overriding the `build` command, for example `make docker-build CMD="make coreall"`.
+ - Passin... |
Sysinfo: Fix fullscreen padding | @@ -576,13 +576,15 @@ VOID PhSipOnCommand(
GetMonitorInfo(MonitorFromWindow(PhSipWindow, MONITOR_DEFAULTTOPRIMARY), &info)
)
{
+ ULONG padding = CurrentParameters.WindowPadding / 2;
PhSetWindowStyle(PhSipWindow, WS_OVERLAPPEDWINDOW, 0);
SetWindowPos(
PhSipWindow,
- HWND_TOP,
- info.rcMonitor.left, info.rcMonitor.top,
-... |
board_inspector: return from method call invocation on DefReturn
The current implementation of the AML interpreter continues interpreting a
method after meeting a DefReturn object, which is incorrect. This patch
fixes this issue by raising a dedicated exception on return and catching
that exception on the caller side. | @@ -7,6 +7,11 @@ from .context import *
from .datatypes import *
from .tree import Tree, Interpreter
+class MethodReturn(Exception):
+ """ A pseudo exception to return from a method"""
+ def __init__(self):
+ pass
+
class ConcreteInterpreter(Interpreter):
class Argument(Object):
def __init__(self, frame, index):
@@ -18... |
* jbi_consumer minors | @@ -23,6 +23,17 @@ start: {
}
if (rc == IWKV_ERROR_NOTFOUND) {
rc = 0;
+ if (ctx->midx.idx) {
+ iwlog_error("Orphaned index entry."
+ "\n\tCollection db: %" PRIu32
+ "\n\tIndex db: %" PRIu32
+ "\n\tEntry id: %" PRId64, ctx->jbc->dbid, ctx->midx.idx->dbid, id);
+ } else {
+ iwlog_error("Orphaned index entry."
+ "\n\tCol... |
[snitch] Set number of outstanding loads | @@ -45,7 +45,7 @@ package snitch_pkg;
} inst_req_t;
localparam int NumFPOutstandingLoads = 4;
- localparam int NumIntOutstandingLoads = 1;
+ localparam int NumIntOutstandingLoads = 4;
// Number of instructions the sequencer can hold
localparam int FPUSequencerInstr = 16;
// SSRs
|
Add document BoAT Blockchain IoT Module Technology and Application | @@ -40,6 +40,9 @@ For project status update, please visit [BoAT Project Status Update Reports](htt
### Whitepaper
Please see [BoAT Blockchain IoT Module Product White Paper](./docs/en-us/BoAT_Blockchain_IoT_Module_Product_White_Paper_EN.pdf).
+### Blockchain Module Technology and Application
+Please see [BoAT Blockchai... |
Coverity warning in http server
Remove duplicate error check | @@ -148,12 +148,6 @@ api_http_static_enable (vat_main_t * vam)
return -99;
}
- if (www_root == 0)
- {
- errmsg ("Must specify www-root");
- return -99;
- }
-
if (uri == 0)
uri = format (0, "tcp://0.0.0.0/80%c", 0);
|
zephyr: Detect unsorted config_allowed
When the file is not sorted the check fails, but this is not obvious.
Add an explicit message.
BRANCH=none
TEST=make buildall -j32 | @@ -30,6 +30,11 @@ usage() {
exit 1
}
+die() {
+ echo >&2 "$1"
+ exit 2
+}
+
[ $# -ge 3 ] || usage
config="$1"
@@ -52,7 +57,8 @@ sed -n 's/^\(CONFIG_[A-Za-z0-9_]*\).*/\1/p' "${config}" | sort | uniq \
>"${new_configs}"
# Find any not mentioned in the allowed file
-comm -23 "${new_configs}" "${allow}" > "${suspects}"
+c... |
Remove QUIC_ prefix in SSLKEYLOG | @@ -770,8 +770,8 @@ static int picoquic_update_traffic_key_callback(ptls_update_traffic_key_t * self
if (ctx->log_event != NULL) {
char hexbuf[PTLS_MAX_DIGEST_SIZE * 2 + 1];
static const char *log_labels[2][4] = {
- {NULL, "QUIC_CLIENT_EARLY_TRAFFIC_SECRET", "QUIC_CLIENT_HANDSHAKE_TRAFFIC_SECRET", "QUIC_CLIENT_TRAFFIC_... |
meta: fix refleak in mget
updates some comments as well. | @@ -4365,10 +4365,6 @@ static void process_mget_command(conn *c, token_t *tokens, const size_t ntokens)
it->it_flags |= ITEM_TOKEN_SENT;
}
- // TODO: Benchmark unlocking here vs later. _get_extstore() could be
- // intensive so probably better to unlock here after we're done
- // fiddling with the item header.
-
*p = '... |
libhfcommon: use TEMP_FAILURE_RETRY with some restartable funcs | @@ -206,13 +206,13 @@ void util_closeStdio(bool close_stdin, bool close_stdout, bool close_stderr) {
}
if (close_stdin) {
- dup2(fd, STDIN_FILENO);
+ TEMP_FAILURE_RETRY(dup2(fd, STDIN_FILENO));
}
if (close_stdout) {
- dup2(fd, STDOUT_FILENO);
+ TEMP_FAILURE_RETRY(dup2(fd, STDOUT_FILENO));
}
if (close_stderr) {
- dup2(f... |
frsky_d8: remove debug logging | @@ -209,7 +209,6 @@ static uint8_t frsky_d8_handle_packet() {
}
if ((timer_micros() - last_packet_received_time) > FRSKY_SYNC_DELAY_MAX) {
- quic_debugf("FRSKY_D8: update %d", frame_index);
frame_index++;
protocol_state = FRSKY_STATE_UPDATE;
}
|
NODE: v1.0.0-rc0 | {
"name": "mongodb-client-encryption",
- "version": "0.3.1",
+ "version": "1.0.0-rc0",
"description": "Official client encryption module for the MongoDB Node.js driver",
"main": "index.js",
"directories": {
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.