message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
testcase/task_manager : Add task_manager_getinfo_with_pid TC
Add positive and negative TCs for task_manager_getinfo_with_pid() | #define TM_INVALID_PERMISSION -2
#define TM_INVALID_MSG_MASK -2
#define TM_INVALID_BROAD_MSG -2
+#define TM_INVALID_PID -2
#define TM_BROAD_TASK_NUM 2
#define TM_BROAD_WIFI_ON_DATA 1
#define TM_BROAD_WIFI_OFF_DATA 2
@@ -68,6 +69,7 @@ static int broad_wifi_on_cnt;
static int broad_wifi_off_cnt;
static int broad_undefine... |
man: update date | .\" generated with Ronn-NG/v0.10.1
.\" http://github.com/apjanke/ronn-ng/tree/0.10.1.pre1
-.TH "ELEKTRA\-BOOTSTRAPPING" "7" "November 2022" ""
+.TH "ELEKTRA\-BOOTSTRAPPING" "7" "February 2023" ""
.SH "NAME"
\fBelektra\-bootstrapping\fR \- default backend
.P
|
Equality comparison for TMaybeOwningArrayHolder. Useful for unit tests. | @@ -59,6 +59,10 @@ namespace NCB {
return 0;
}
+ bool operator==(const TMaybeOwningArrayHolder& rhs) const {
+ return ArrayRef == rhs.ArrayRef;
+ }
+
TArrayRef<T> operator*() {
return ArrayRef;
}
|
Test malformed XML/text declaration rejected by ext entity parser | @@ -3689,6 +3689,7 @@ external_entity_valuer(XML_Parser parser,
else if (!strcmp(systemId, "004-2.ent")) {
ExtFaults *fault = (ExtFaults *)XML_GetUserData(parser);
enum XML_Status status;
+ enum XML_Error error;
status = _XML_Parse_SINGLE_BYTES(ext_parser,
fault->parse_text,
@@ -3700,7 +3701,10 @@ external_entity_value... |
Move the early data status set afeter all of the extensions parse | @@ -2072,8 +2072,6 @@ static int ssl_tls13_parse_encrypted_extensions( mbedtls_ssl_context *ssl,
return( MBEDTLS_ERR_SSL_DECODE_ERROR );
}
- ssl->early_data_status = MBEDTLS_SSL_EARLY_DATA_STATUS_ACCEPTED;
-
break;
#endif /* MBEDTLS_SSL_EARLY_DATA */
@@ -2119,6 +2117,14 @@ static int ssl_tls13_process_encrypted_extensi... |
Add test case for typealias shadowing
Closes | @@ -1060,6 +1060,8 @@ describe("Pallene coder /", function()
local x = 10
+ type y = integer
+
------
function local_type(): integer
@@ -1072,6 +1074,14 @@ describe("Pallene coder /", function()
return x
end
+ function for_type_annotation(): integer
+ local res = 0
+ for y:y = 1, 10 do
+ res = res + y
+ end
+ return re... |
Suppress an uninitialized warning on GCC-4.1 | @@ -260,12 +260,12 @@ sixel_chunk_from_file(
{
SIXELSTATUS status = SIXEL_FALSE;
int ret;
- FILE *f;
+ FILE *f = NULL;
size_t n;
size_t const bucket_size = 4096;
status = open_binary_file(&f, filename);
- if (SIXEL_FAILED(status)) {
+ if (SIXEL_FAILED(status) || f == NULL) {
goto end;
}
|
dpdk: disable tun/tap PMD
Beside the fact that we don't need it, it fails to build on ARM64. | @@ -150,6 +150,7 @@ $(B)/custom-config: $(B)/.patch.ok Makefile
$(call set,RTE_LIBRTE_MLX4_PMD,$(DPDK_MLX4_PMD))
$(call set,RTE_LIBRTE_MLX5_PMD,$(DPDK_MLX5_PMD))
@# not needed
+ $(call set,RTE_LIBRTE_PMD_TAP,n)
$(call set,RTE_LIBRTE_TIMER,n)
$(call set,RTE_LIBRTE_CFGFILE,n)
$(call set,RTE_LIBRTE_LPM,n)
|
Log when a connection is cwnd limited | @@ -1739,6 +1739,12 @@ static uint64_t conn_cwnd_is_zero(ngtcp2_conn *conn) {
? ngtcp2_cc_compute_initcwnd(conn->cstat.max_udp_payload_size)
: conn->cstat.cwnd;
+ if (bytes_in_flight >= cwnd) {
+ ngtcp2_log_info(&conn->log, NGTCP2_LOG_EVENT_RCV,
+ "cwnd limited bytes_in_flight=%lu cwnd=%lu",
+ bytes_in_flight, cwnd);
+... |
apps/examples/testcase/tc_umm_heap.c : Fix build warning for unused variable
le_tc/kernel/tc_umm_heap.c:144:9: error: unused variable 'alloc_size' [-Werror=unused-variable]
size_t alloc_size = ALLOC_SIZE_VAL * sizeof(int);
^~~~~~~~~~
cc1: all warnings being treated as errors | @@ -141,8 +141,8 @@ static void tc_umm_heap_calloc(void)
int *mem_ptr[ALLOC_FREE_TIMES] = { NULL };
int n_alloc;
int n_test_iter;
- size_t alloc_size = ALLOC_SIZE_VAL * sizeof(int);
#ifdef CONFIG_DEBUG_MM_HEAPINFO
+ size_t alloc_size = ALLOC_SIZE_VAL * sizeof(int);
pid_t hash_pid = PIDHASH(getpid());;
struct mm_heap_s ... |
tneat - use after free fix | @@ -336,20 +336,6 @@ on_close(struct neat_flow_operations *opCB)
}
}
- if (tnf->snd.buffer) {
- free(tnf->snd.buffer);
- }
-
- if (tnf->rcv.buffer) {
- free(tnf->rcv.buffer);
- }
-
- if (tnf) {
- free(tnf);
- }
-
- fprintf(stderr, "%s - flow closed OK!\n", __func__);
-
// stop event loop if we are active part
if (tnf->... |
Ensure string passed to cJSON_Parse is properly terminated | @@ -2911,7 +2911,8 @@ ikvdb_import_toc(
return err;
}
- buf = malloc(buflen);
+ /* Need an extra byte to terminate string read from TOC file */
+ buf = malloc(buflen + 1);
if (!buf) {
err = merr(ev(ENOMEM, HSE_ERR));
fclose(f);
@@ -2932,6 +2933,8 @@ ikvdb_import_toc(
return err;
}
+ buf[buflen] = '\0';
+
crc_rd = le32_... |
Allow hslua 1.3.* | @@ -31,7 +31,7 @@ library
build-depends: base >= 4.7 && < 5
, aeson >= 0.11 && < 1.6
, hashable >= 1.2 && < 1.4
- , hslua >= 1.0 && < 1.1.1 || >= 1.1.2 && < 1.3
+ , hslua >= 1.0 && < 1.1.1 || >= 1.1.2 && < 1.4
, scientific >= 0.3 && < 0.4
, text >= 1.1.1.0 && < 1.3
, unordered-containers >= 0.2 && < 0.3
|
Minor renaming of parameter. | @@ -540,7 +540,7 @@ tsDeBoorNet ts_deboornet_init()
return net;
}
-tsError ts_int_deboornet_new(const tsBSpline *spline, tsDeBoorNet *_deBoorNet_,
+tsError ts_int_deboornet_new(const tsBSpline *spline, tsDeBoorNet *net,
tsStatus *status)
{
const size_t dim = ts_bspline_dimension(spline);
@@ -555,16 +555,16 @@ tsError t... |
Launch: remove dev cruft | @@ -234,7 +234,7 @@ export default function LaunchApp(props) {
</Box>
<Box alignSelf="flex-start" display={["block", "none"]}>{hashBox}</Box>
</ScrollbarLessBox>
- <Box onClick={() => history.push('/~graph/graph/ship/~bitpyx-dildus/infrastructure-digests/170141184504958869914231288036524556288/2/17014118450495891756647... |
nipperkin: config led related gpio
BRANCH=none
TEST=make BOARD=nipperkin | #include "base_gpio.inc"
/* LED Signals */
-ALTERNATE(/*EC_PWM_LED_CHRG_L*/ PIN_MASK(C, BIT(4)), 0, MODULE_PWM, 0) /* Charging LED */
-ALTERNATE(/*EC_PWM_LED_FULL_L*/ PIN_MASK(8, BIT(0)), 0, MODULE_PWM, 0) /* Full LED */
+GPIO(C0_CHARGE_LED_AMBER_L, PIN(C, 4), GPIO_OUT_HIGH)
+GPIO(C0_CHARGE_LED_WHITE_L, PIN(8, 0), GPIO... |
VERSION bump to version 0.11.34 | @@ -32,7 +32,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0")
# set version
set(LIBNETCONF2_MAJOR_VERSION 0)
set(LIBNETCONF2_MINOR_VERSION 11)
-set(LIBNETCONF2_MICRO_VERSION 33)
+set(LIBNETCONF2_MICRO_VERSION 34)
set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION})
set(L... |
dm: vdisplay: fix comment typos.
Fix some typos in output logs.
Acked-by: Wang, Yu1 | @@ -1140,7 +1140,7 @@ gfx_ui_init()
setenv("SDL_RENDER_SCALE_QUALITY", "linear", 1);
if (SDL_Init(SDL_INIT_VIDEO)) {
- pr_err("Failed to Init SDL2 system");
+ pr_err("Failed to init SDL2 system\n");
return -1;
}
|
Add WINDOWS_MANIFEST() macro
ISSUE: | @@ -6682,3 +6682,12 @@ multimodule PY23_TEST {
RESTRICT_PATH(devtools/dummy_arcadia MSG Module PY23_TEST is under development)
}
}
+
+WINDOWS_MANIFEST=
+macro WINDOWS_MANIFEST(Manifest) {
+ SET(WINDOWS_MANIFEST $Manifest)
+}
+
+when ($MSVC == "yes" && $WINDOWS_MANIFEST) {
+ LDFLAGS+=/MANIFEST:EMBED /MANIFESTINPUT:${inp... |
Fix documentation mistake for glm_vec3_rotate
In the documentation, for glm_vec3_rotate, correctly labels `angle` as `in` rather than `out`. | @@ -392,7 +392,7 @@ Functions documentation
Parameters:
| *[in, out]* **v** vector
| *[in]* **axis** axis vector (will be normalized)
- | *[out]* **angle** angle (radians)
+ | *[in]* **angle** angle (radians)
.. c:function:: void glm_vec3_rotate_m4(mat4 m, vec3 v, vec3 dest)
|
Ensure we use strict JSON when determining if we're using a JSON format.
This fixes a regression in parsing Google Cloud Storage or possibly
other non-JSON formats.
Fixes | @@ -699,6 +699,8 @@ is_json_log_format (const char *fmt) {
json_stream json;
json_open_string (&json, fmt);
+ /* ensure we use strict JSON when determining if we're using a JSON format */
+ json_set_streaming (&json, false);
do {
t = json_next (&json);
switch (t) {
|
oofie doofie | @@ -45,7 +45,7 @@ If you do not wish to compile anything, simply download the file under [Releases
#### Arch-based distributions
-If you are using an Arch-based distribution, install [`mangohud`](https://aur.archlinux.org/packages/mangohud/) and [`lib32-mangohud`](https://aur.archlinux.org/packages/lib32-mangohud/) wit... |
YAML CPP: Add reading support for arrays | #include "yaml.h"
#include <kdb.hpp>
+#include <kdbease.h>
#include <kdblogger.h>
#include <kdbplugin.h>
@@ -36,6 +37,28 @@ Key newKey (string const & name, Key const & parent)
return key;
}
+/**
+ * @brief This function creates a new array key from the given parameters.
+ *
+ * @param mappings This argument specifies ... |
Update ya-binAuthor: nslusRevision: r3811334Task ID: | @@ -4,8 +4,8 @@ import sys
import platform
import json
-URLS = ["https://storage.mds.yandex.net/get-devtools-opensource/250854/6702749c9591550601b24123a7c4085a"]
-MD5 = "6702749c9591550601b24123a7c4085a"
+URLS = ["https://storage.mds.yandex.net/get-devtools-opensource/233854/0feb358dab3dbea3e10be1b2f05a93f5"]
+MD5 = "0... |
[#1116]add wallet_config vabrible type | @@ -43,7 +43,7 @@ BOAT_RESULT check_platon_wallet(BoatPlatONWallet *wallet_ptr)
BoatPlatONWalletConfig get_platon_wallet_settings()
{
//set user private key context
-
+ BoatPlatONWalletConfig wallet_config;
if (TEST_KEY_TYPE == BOAT_WALLET_PRIKEY_FORMAT_NATIVE)
{
wallet_config.prikeyCtx_config.prikey_format = BOAT_WALL... |
[arch][riscv] simplify the exception decoding logic
Use the sign bit on the cause register to separate interrupts from
exceptions. | @@ -38,29 +38,32 @@ struct riscv_short_iframe {
extern enum handler_return riscv_platform_irq(void);
extern enum handler_return riscv_software_exception(void);
-void riscv_exception_handler(ulong cause, ulong epc, struct riscv_short_iframe *frame) {
+void riscv_exception_handler(long cause, ulong epc, struct riscv_shor... |
linux-cp: fix coverity defect
Type: fix
If no host interface name is passed to the CLI command which creates
an interface pair, NULL gets passed to lcp_itf_pair_create() and a
seg fault occurs. Check whether a host interface name was provided
and fail gracefully if none was given. | @@ -72,6 +72,12 @@ lcp_itf_pair_create_command_fn (vlib_main_t *vm, unformat_input_t *input,
unformat_free (line_input);
+ if (!host_if_name)
+ {
+ vec_free (ns);
+ return clib_error_return (0, "host interface name required");
+ }
+
if (sw_if_index == ~0)
{
vec_free (host_if_name);
|
update submodules script | @@ -16,14 +16,18 @@ git config submodule.toolchains/esp-tools.update none
git config --global submodule.experimental-blocks.update none
# Disable updates to the FireSim submodule until explicitly requested
git config submodule.sims/firesim.update none
-# Disable updates to the hammer-cad-plugins repo
-git config submod... |
OcDebugLogLib: Workaround NVRAM log assertions | @@ -261,9 +261,14 @@ OcLogAddEntry (
//
if (ErrorLevel != DEBUG_BULK_INFO && (OcLog->Options & (OC_LOG_VARIABLE | OC_LOG_NONVOLATILE)) != 0) {
//
- // Do not log timing information to NVRAM, it is already large...
+ // Do not log timing information to NVRAM, it is already large.
+ // This check is here, because Microso... |
Some fixes to neat_core.c that casued the policy manager to crash | @@ -2946,7 +2946,7 @@ build_he_candidates(neat_ctx *ctx, neat_flow *flow, json_t *json, struct neat_he
char dummy[sizeof(struct in6_addr)];
struct neat_he_candidate *candidate;
- const char *so_key=NULL, *so_prefix = "SO/";
+ const char *so_key=NULL, *so_prefix = "so/";
json_t *so_value;
nt_log(ctx, NEAT_LOG_DEBUG, "No... |
driver/usb_mux/pi3usb3x532.c: Format with clang-format
BRANCH=none
TEST=none | #include "usb_mux.h"
#include "util.h"
-static int pi3usb3x532_read(const struct usb_mux *me,
- uint8_t reg, uint8_t *val)
+static int pi3usb3x532_read(const struct usb_mux *me, uint8_t reg, uint8_t *val)
{
int read, res;
@@ -33,8 +32,7 @@ static int pi3usb3x532_read(const struct usb_mux *me,
return EC_SUCCESS;
}
-stat... |
Fix the documentation for uCellInfoGetIccidStr
uCellInfoGetIccidStr does not return 0 on success, but the written characters similar to the other *Str functions. | @@ -211,7 +211,9 @@ int32_t uCellInfoGetImsi(uDeviceHandle_t cellHandle,
* including room for a terminator. Allocating
* #U_CELL_INFO_ICCID_BUFFER_SIZE bytes of
* storage is safe.
- * @return zero on success, negative error code on failure.
+ * @return on success, the number of characters copied into
+ * pStr NOT inclu... |
fix comments grammar issues | @@ -56,11 +56,11 @@ else()
link_to_source(${file})
endforeach()
endif()
-# CMake generate sub-makefile for each target and call it in subprocess. Without
-# this command, cmake will generate ruler in each sub makefile. As a result,
-# they will conflict under parllel build.
-# With this line, only 4 sub-makefiles inclu... |
BugID:17797965:[mqtt] fix client_id == NULL crash issue | @@ -2978,7 +2978,7 @@ void *IOT_MQTT_Construct(iotx_mqtt_param_t *pInitParams)
mqtt_free(pconn);
return NULL;
}
- if(strlen(pInitParams->client_id) == 0) {
+ if(pInitParams->client_id == NULL || strlen(pInitParams->client_id) == 0) {
pInitParams->client_id = pconn->client_id;
}
|
Update MCF logging.xml conf | <Logger name="org.apache.manifoldcf.crawler.connectors.sharepoint.rest.SharePointRestRepositoryConnector" level="docprocess" additivity="false">
<AppenderRef ref="DocProcess"/>
</Logger>
+ <Logger name="org.apache.manifoldcf.crawler.connectors.o365.exchange.ExchangeRepositoryConnector" level="docprocess" additivity="fa... |
Make sure we properly test for EdDSA with alg ids | @@ -143,15 +143,15 @@ subtest "generating certificate requests with Ed25519" => sub {
SKIP: {
skip "Ed25519 is not supported by this OpenSSL build", 2
- if disabled("ec") || !@tmp_loader_hack;
+ if disabled("ec");
- ok(run(app(["openssl", "req", @tmp_loader_hack,
+ ok(run(app(["openssl", "req",
"-config", srctop_file("... |
Improvements in Debugger::AccessMemory | @@ -496,6 +496,8 @@ bool CLR_DBG_Debugger::AccessMemory( CLR_UINT32 location, unsigned int lengthInB
NATIVE_PROFILE_CLR_DEBUGGER();
TRACE("AccessMemory( 0x%08X, 0x%08x, 0x%08X, %s)\n", location, lengthInBytes, buf, AccessMemoryModeNames[mode] );
+ bool success = false;
+
// reset error code
*errorCode = AccessMemoryErr... |
Ensure accumulated time is also displayed in the terminal output. | @@ -509,8 +509,15 @@ get_str_visitors (void)
static char *
get_str_proctime (void)
{
+ char *s = NULL;
uint64_t secs = (long long) end_proc - start_proc;
- char *s = xmalloc (snprintf (NULL, 0, "%" PRIu64 "s", secs) + 1);
+
+#ifdef TCB_BTREE
+ if (conf.store_accumulated_time)
+ secs = (uint64_t) ht_get_genstats ("accum... |
fix inappropriate translation in hall-legacy | %- of :~
name+(ot nom+so mon+tors ~)
text+(cu to-wain:format so)
- tank+(ot dat+(cu ;;((list tank) blob)) ~)
+ tank+(ot dat+(cu (list tank) blob) ~)
==
::
++ blob (cu cue (su fel:de-base64:mimes:html))
|
Remove plugin error prompt | @@ -299,25 +299,11 @@ VOID PhLoadPlugins(
PhDereferenceObject(baseName);
}
- PhAppendStringBuilder2(&sb, L"\nDo you want to disable the above plugin(s)?");
-
- if (PhShowMessage2(
+ PhShowError2(
NULL,
- TDCBF_YES_BUTTON | TDCBF_NO_BUTTON,
- TD_ERROR_ICON,
L"Unable to load the following plugin(s)",
- L"%s",
sb.String->... |
Use sensor color palette in lepton code. | @@ -50,7 +50,6 @@ static DMA_HandleTypeDef DMAHandle;
extern uint8_t _line_buf;
extern uint8_t _vospi_buf;
-extern const uint16_t rainbow_table[256];
static bool vospi_resync = true;
static uint8_t *vospi_packet = &_line_buf;
@@ -425,7 +424,7 @@ static int snapshot(sensor_t *sensor, image_t *image, streaming_cb_t strea... |
INSTALL.md: add new Ubuntu bpfcc-tools package name
add new Ubuntu bpfcc-tools package name in INSTALL.md | @@ -62,7 +62,7 @@ echo "deb https://repo.iovisor.org/apt/$(lsb_release -cs) $(lsb_release -cs) mai
sudo apt-get update
sudo apt-get install bcc-tools libbcc-examples linux-headers-$(uname -r)
```
-(replace `xenial` with `artful` or `bionic` as appropriate)
+(replace `xenial` with `artful` or `bionic` as appropriate). T... |
Changed to 'git clone --depth 1' in get_nanoversion.sh | br=`git branch |tail -n1`
read o u f <<< `git remote -v |grep origin |grep fetch`
echo "Repo: $o $u $br"
+
+# This doesn't work well for rc because it is supposed tag is not pushed yet.
git describe --tags --dirty
+
TD=`mktemp -d`
WD=`pwd`
-git clone $u $TD
+echo "Run 'git clone --depth 1 $u $TD'"
+git clone --depth 1 ... |
Camera commands working | @@ -298,13 +298,11 @@ void SceneUpdateCamera_b()
}
// @todo - should event finish checks be included here, or seperate file?
- /*
- if (((last_fn == script_cmd_camera_move) || (last_fn == script_cmd_camera_lock)) && SCX_REG == camera_dest.x && SCY_REG == camera_dest.y)
+ if (((last_fn == Script_CameraMoveTo_b) || (last... |
Remove test that breaks on AIX.
The offending test checks that fopen("anydir/") fails. This looks fairly platform
specific. For the test involved this creates a file called
"anydir" on an AIX test machine.
This change was introduced on (Sept 24) | @@ -16,7 +16,7 @@ use OpenSSL::Test qw/:DEFAULT srctop_file/;
setup("test_x509");
-plan tests => 15;
+plan tests => 14;
require_ok(srctop_file('test','recipes','tconversion.pl'));
@@ -124,8 +124,6 @@ sub test_errors { # actually tests diagnostics of OSSL_STORE
return $res && $found;
}
-ok(test_errors("Can't open any-di... |
include/online_calibration.h: Format with clang-format
BRANCH=none
TEST=none | @@ -22,8 +22,7 @@ void online_calibration_init(void);
* @param timestamp The time associated with the sample
* @return EC_SUCCESS when successful.
*/
-int online_calibration_process_data(
- struct ec_response_motion_sensor_data *data,
+int online_calibration_process_data(struct ec_response_motion_sensor_data *data,
str... |
[README]
Update the top level readme with a bit more information and a pointer into the docs folder. | -# LK
+# The Little Kernel Embedded Operating System
-The LK embedded kernel. An SMP-aware kernel designed for small systems.
+The LK kernel is an SMP-aware kernel designed for small systems ported to a variety of platforms and cpu architectures.
See https://github.com/littlekernel/lk for the latest version.
-See https... |
cloud: set expires_in to UINT16_MAX when is greater than UINT16_MAX | @@ -129,6 +129,25 @@ cloud_start_process(oc_cloud_context_t *ctx)
_oc_signal_event_loop();
}
+static uint16_t
+check_expires_in(int64_t expires_in)
+{
+ if (expires_in <= 0) {
+ return 0;
+ }
+ if (expires_in > 60*60) {
+ // if time is more than 1h then set expires to (expires_in - 10min).
+ expires_in = expires_in - 1... |
correct OIDCPublicKeyFiles config.c doc; see thanks | @@ -2819,7 +2819,7 @@ const command_rec oidc_config_cmds[] = {
oidc_set_public_key_files,
(void *)APR_OFFSETOF(oidc_cfg, public_keys),
RSRC_CONF,
- "The fully qualified names of the files that contain the X.509 certificates that contains the RSA public keys that can be used for encryption by the OP."),
+ "The fully qua... |
Decoder: fix name confusion (context vs state)
The name `context` is otherwise always used for `ZydisDecoderContext*`. | @@ -267,22 +267,22 @@ static ZyanStatus ZydisInputPeek(ZydisDecoderState* state,
/**
* Increases the read-position of the input data-source by one byte.
*
- * @param context A pointer to the `ZydisDecoderContext` instance
+ * @param state A pointer to the `ZydisDecoderState` instance
* @param instruction A pointer to t... |
fixed missing spline free | @@ -80,6 +80,10 @@ void ccl_cosmology_compute_hmfparams(ccl_cosmology * cosmo, int *status)
gsl_spline * etahmf = gsl_spline_alloc(D_SPLINE_TYPE, nd);
*status = gsl_spline_init(etahmf, lgdelta, eta, nd);
if (*status){
+ gsl_spline_free(alphahmf);
+ gsl_spline_free(betahmf);
+ gsl_spline_free(gammahmf);
+ gsl_spline_fre... |
docs: Add oomkill to README "How to use" section.
Fixes: ("docs: Add oomkill to README and requirements.")
Suggested-by: Jose Blanquicet | @@ -69,6 +69,7 @@ Available Commands:
help Help about any command
mountsnoop Trace mount and umount syscalls
network-policy Generate network policies based on recorded network activity
+ oomkill Trace the Linux out-of-memory (OOM) killer
opensnoop Trace open() system calls
process-collector Gather information about run... |
Removed configurable jac mode; fix for windows _Generic | @@ -181,8 +181,6 @@ SURVIVE_EXPORT void survive_kalman_tracker_correct_imu(SurviveKalmanTracker *tra
t->term_criteria.max_error) \
STRUCT_CONFIG_ITEM("kalman-" #prefix "-" #x "-iterations", "Max iterations for " #x, default_iterations, \
t->term_criteria.max_iterations) \
- STRUCT_CONFIG_ITEM("kalman-" #prefix "-" #x "... |
added owtvec to check targets | INCLUDES = $(OWPINCS) $(I2UTILINCS)
AM_CFLAGS = $(OWP_PREFIX_CFLAGS)
-bin_PROGRAMS = owtvec
+check_PROGRAMS = owtvec
+TESTS = $(check_PROGRAMS)
owtvec_SOURCES = owtvec.c
owtvec_LDADD = $(OWPLIBS) -lI2util $(MALLOCDEBUGLIBS)
owtvec_DEPENDENCIES = $(OWPLIBDEPS) $(I2UTILLIBDEPS)
|
readme: added build status badges | @@ -7,6 +7,11 @@ Read more about Lime Suite on the official project page:
* https://myriadrf.org/projects/lime-suite/
+##Build Status
+
+- Travis: [](https://travis-ci.org/myriadrf/LimeSuite)
+- AppVeyor: [subelem_info_rec->dest, YIN_ARG_TAG, Y_STR_ARG, exts);
break;
case YANG_UNITS:
break;
|
ames: don't start pump timers on recork | [%hear =message-num =ack-meat]
[%near =naxplanation]
[%prod ~]
- [%wake ~]
+ [%wake recork=?]
==
:: $message-pump-gift: effect from |message-pump
::
$% [%hear =message-num =fragment-num]
[%done =message-num lag=@dr]
[%halt ~]
- [%wake current=message-num]
+ [%wake recork=? current=message-num]
[%prod ~]
==
:: $packet-p... |
khan: separate arms by blank comments | ++ get-beak
|= [=bear now=@da]
?@(bear [our bear %da now] bear)
+::
++ get-dais
|= [=beak =mark rof=roof]
^- dais:clay
~|(mark-invalid+mark !!)
?> =(%dais p.u.u.ret)
!<(dais:clay q.u.u.ret)
+::
++ get-tube
|= [=beak =mark =out=mark rof=roof]
^- tube:clay
~|(tube-invalid+[mark out-mark] !!)
?> =(%tube p.u.u.ret)
!<(tube... |
arch/arm/amebad: Fix the 'mixed uart log' issue
This commit fixes the 'mixed uart log' issue which happens when multiple functions use log_uart at the same time. | #elif defined(CONFIG_UART1_SERIAL_CONSOLE)
#define CONSOLE_DEV g_uart1port /* UART1 is console */
#define TTYS0_DEV g_uart1port /* UART1 is ttyS0 */
-#define CONSOLE UART1_DEV
+#define CONSOLE UART3_DEV
#define UART1_ASSIGNED 1
#define HAVE_SERIAL_CONSOLE
#elif defined(CONFIG_UART2_SERIAL_CONSOLE)
@@ -672,8 +672,30 @@ ... |
[mechanics] use collision_group=-1 to mean no collisions for that contactor | @@ -1238,6 +1238,11 @@ void SiconosBulletCollisionManager_impl::createCollisionObjectsForBodyContactorS
std::vector< SP::SiconosContactor >::const_iterator it;
for (it=con->begin(); it!=con->end(); it++)
{
+ // special collision group -1 = do not collide, thus we can skip
+ // creation of associated collision objects
+... |
[File Browser] Remove click_me!.txt magic | @@ -505,12 +505,6 @@ impl FileBrowser2 {
// Don't set up any callback for file click
entry_view.button.on_left_click(move |_b| {
printf!("Button with path {:?} clicked! Launching...\n", path);
- if path == "click_me!.txt" {
- amc_message_send(
- FILE_SERVER_SERVICE_NAME,
- LaunchProgram::new("/usr/applications/valentin... |
Fixed: Game template did not compile with VS2019 | <PreprocessorDefinitions>_DEBUG;_CONSOLE;WIN32;%(PreprocessorDefinitions)</PreprocessorDefinitions>
<ConformanceMode>true</ConformanceMode>
<AdditionalIncludeDirectories>..\32blit;%(AdditionalIncludeDirectories)</AdditionalIncludeDirectories>
- <LanguageStandard>stdcpp14</LanguageStandard>
+ <LanguageStandard>stdcpp17<... |
jacuzzi: enable usb-a port power on S3
TEST=verify that usb keyboard works without manually enable EN_USBA_5V
BRANCH=master
Tested-by: Ting Shen | @@ -256,3 +256,17 @@ int charger_is_sourcing_otg_power(int port)
{
return 0;
}
+
+/* Called on AP S5 -> S3 transition */
+static void board_chipset_startup(void)
+{
+ gpio_set_level(GPIO_EN_USBA_5V, 1);
+}
+DECLARE_HOOK(HOOK_CHIPSET_STARTUP, board_chipset_startup, HOOK_PRIO_DEFAULT);
+
+/* Called on AP S3 -> S5 transit... |
group-store: cleanup sign handling | ++ on-agent
|= [=wire =sign:agent:gall]
^- (quip card _this)
- ?: ?=([%pyre *] wire)
=^ cards state
- (take-pyre:gc t.wire sign)
- [cards this]
- ?: ?=([%gladio ~] wire)
- (on-agent:def wire sign)
- ?: ?=([%gladio @ ~] wire)
- =^ cards state
- (take-migrate:gc sign)
- [cards this]
- ?. ?=([%try-rejoin @ *] wire)
- (on-... |
add log handler to octave
outputs error/warning/info messages | @@ -60,6 +60,17 @@ void PrintDeviceInfo(lms_device_t* port)
}
}
+
+static void LogHandler(int level, const char *msg)
+{
+ const char* levelText[] = {"CRITICAL: " , "ERROR: ", "WARNING: ", "INFO: ", "DEBUG: "};
+ if (level < 0)
+ level = 0;
+ else if (level >= 4)
+ return; //do not output debug messages
+ octave_stdout... |
Fix issue in actor moveTo codegen where last arg would overwrite first variable data | @@ -2651,7 +2651,7 @@ ${
}
.area _CODE_255
-${this.includeActor ? "ACTOR = -4" : ""}
+${this.includeActor ? "ACTOR = -5" : ""}
___bank_${name} = 255
.globl ___bank_${name}
@@ -2667,6 +2667,8 @@ ${lock ? this._padCmd("VM_LOCK", "", 8, 24) + "\n\n" : ""}${
this._padCmd("VM_PUSH_CONST", "0", 8, 24) +
"\n" +
this._padCmd("... |
config-tools: add confirm message
Add confirm message when saveing scenario and launch scripts. | <template #title>
<div class="p-1 ps-3 d-flex w-100 justify-content-between align-items-center">
<div class="fs-4">3. Configure settings for scenario and launch scripts</div>
- <button type="button" class="btn btn-primary btn-lg" @click.stop.prevent="saveScenario">
+ <button type="button" class="btn btn-primary btn-lg"... |
[chainmaker]add Deinit | @@ -162,5 +162,15 @@ int main(int argc, char *argv[])
return -1;
}
+
+result = BoatHlchainmakerContractQuery(&tx_ptr, "find_by_file_hash","fact", &query_reponse);
+ if (result != BOAT_SUCCESS)
+ {
+ return -1;
+ }
+
+ /* step-6: chainmaker transaction structure Deinitialization */
+ BoatHlchainmakerTxDeInit(&tx_ptr);
+... |
[CUDA] Use C style comments in header | @@ -31,8 +31,8 @@ extern "C"
{
#endif
-// Generate a PTX file from an LLVM bitcode file.
-// Returns zero on success, non-zero on failure.
+/* Generate a PTX file from an LLVM bitcode file. */
+/* Returns zero on success, non-zero on failure. */
int pocl_ptx_gen(const char *BitcodeFilename,
const char *PTXFilename,
con... |
pwm: convert pwm duty type to float, fix
[Detail]
pwm duty type should be float type
[Verified Cases]
Build Pass: <py_engine_demo>
Test Pass: <py_engine_demo> | @@ -135,8 +135,7 @@ int32_t aos_hal_pwm_para_chg(pwm_dev_t *pwm, pwm_config_t para)
printf ("set freq to %d on pwm%d failed, ret:%d\r\n", para.freq, pwm->port, ret);
}
- int duty = 0;
- duty = para.duty_cycle / 100;
+ float duty = para.duty_cycle / 100.0;
ret = ioctl(*p_fd, IOC_PWM_DUTY_CYCLE, (unsigned long)&duty);
if... |
bench: bump thresholds | @@ -11,16 +11,16 @@ SLUSH_PERCENTAGE = 0.25
# How much faster Rust should be than other implementations
RATIOS_SBP2JSON = {
- "haskell": 2.06,
- "python": 26.0,
+ "haskell": 2.19,
+ "python": 17.72,
}
RATIOS_JSON2SBP = {
- "haskell": 2.18,
+ "haskell": 2.75,
}
RATIOS_JSON2JSON = {
- "haskell": 2.68,
+ "haskell": 3.45,
... |
[hardware] Undo changes in common_cells and tech_cells revisions | @@ -23,8 +23,8 @@ packages:
dependencies:
- common_cells
common_cells:
- revision: a06e4beb08b8c0a5ef2c85d9afcfe0d96be76f30
- version: 1.20.0
+ revision: ff721776a7deabb0d09046c3aa8411d6e0686f63
+ version: 1.19.0
source:
Git: "https://github.com/pulp-platform/common_cells.git"
dependencies:
@@ -43,8 +43,8 @@ packages:
... |
Compile and valgrind warnings | @@ -3828,9 +3828,7 @@ int migration_stress_test()
int client_rebinding_done = 0;
struct sockaddr_in hack_address;
struct sockaddr_in hack_address_random;
- uint64_t loss_mask_data = 0;
uint64_t simulated_time = 0;
- uint64_t next_time = 0;
uint64_t loss_mask = 0;
uint64_t last_inject_time = 0;
uint64_t random_context =... |
BugID:21213413:Enable network loopback interface on rda5981 | /**
* Loopback demo related options.
*/
-//#define LWIP_NETIF_LOOPBACK 1
-//#define LWIP_HAVE_LOOPIF 1
-//#define LWIP_NETIF_LOOPBACK_MULTITHREADING 1
-//#define LWIP_LOOPBACK_MAX_PBUFS 8
+#define LWIP_NETIF_LOOPBACK 1
+#define LWIP_HAVE_LOOPIF 1
+#define LWIP_NETIF_LOOPBACK_MULTITHREADING 1
+#define LWIP_LOOPBACK_MAX_... |
Enable vectorized CRT support for string routines in release builds | #define PH_VECTOR_LEVEL_SSE2 1
#define PH_VECTOR_LEVEL_AVX 2
+#if (_MSC_VER < 1920 || DEBUG)
+// Newer versions of the CRT support AVX/SSE vectorization for string routines
+// but keep using our vectorization for debug builds since optimizations are
+// disabled for the debug CRT and slower than our routines in this c... |
Compat non-GNU, non-clang compilers | @@ -11,6 +11,8 @@ Feel free to copy, use and enjoy according to the license provided.
#if __GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 5)
#define deprecated(reason) deprecated
#endif
+#elif !defined(__clang__)
+#define __attribute__(...)
#endif
#include <fio.h>
|
Remove mRefCound debug. Closes | @@ -54,8 +54,6 @@ SimpleSurface::SimpleSurface(int inWidth,int inHeight,PixelFormat inPixelFormat,
mTexture = 0;
mPixelFormat = inPixelFormat;
- mRefCount = 10000000;
-
int pix_size = BytesPerPixel(inPixelFormat);
if (inByteAlign>1)
|
6. trivially single-home arvo with %whom | =| bod=(unit vase) :: %zuse if installed
=| $: lac=? :: laconic bit
eny=@ :: entropy
+ urb/(unit ship) :: identity
vanes=(list [label=@tas =vane]) :: modules
== ::
=< |%
::
:: XX should vega be in this list?
::
- ?: ?=(?(%veer %vega %verb %wack) -.q.ovo)
+ ?: ?=(?(%veer %vega %verb %wack %whom) -.q.ovo)
[[ovo ~] +>.$]
... |
CMake: Only strip android libraries in release mode; | @@ -734,7 +734,6 @@ elseif(ANDROID)
COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/src/resources/Activity_${ACTIVITY}.java Activity.java
COMMAND ${Java_JAVAC_EXECUTABLE} -classpath "${ANDROID_CLASSPATH}" -d . Activity.java
COMMAND ${ANDROID_TOOLS}/dx --dex --output raw/classes.dex ${EXTRA_JAR} org/lovr/ap... |
Add opacity parsing, update LCUI_PrintStyleSheet() | @@ -135,6 +135,7 @@ static KeyNameGroupRec style_name_map[] = {
{ key_left, "left" },
{ key_bottom, "bottom" },
{ key_position, "position" },
+ { key_opacity, "opacity" },
{ key_vertical_align, "vertical-align" },
{ key_background_color, "background-color" },
{ key_background_position, "background-position" },
@@ -1294... |
a little optimization in touchAllWatchedKeysInDb
touch keys only if the key is in one of the dbs,
in case rewind the list when the key doesn't exist. | @@ -380,14 +380,14 @@ void touchAllWatchedKeysInDb(redisDb *emptied, redisDb *replaced_with) {
dictIterator *di = dictGetSafeIterator(emptied->watched_keys);
while((de = dictNext(di)) != NULL) {
robj *key = dictGetKey(de);
+ if (dictFind(emptied->dict, key->ptr) ||
+ (replaced_with && dictFind(replaced_with->dict, key-... |
naive: l2 csv change gasUsed to effectiveGasPrice | :- %- parse-hex-result:rpc:ethereum
~| json
?> ?=(%o -.json)
- (~(got by p.json) 'gasUsed') :: gas used in wei
+ (~(got by p.json) 'effectiveGasPrice') :: gas used in wei
%- parse-hex-result:rpc:ethereum
~| json
?> ?=(%o -.json)
|
Avoid test_errstr in a cross compiled configuration
There's too high a chance that the openssl app and perl get different
messages for some error numbers.
[extended tests] | use strict;
no strict 'refs'; # To be able to use strings as function refs
use OpenSSL::Test;
+use OpenSSL::Test::Utils;
use Errno qw(:POSIX);
use POSIX qw(strerror);
@@ -22,6 +23,14 @@ use constant NUM_SYS_STR_REASONS => 127;
setup('test_errstr');
+# In a cross compiled situation, there are chances that our
+# applica... |
interface: clarify error message when adding existing interface
When adding a network interface that is already known to babeld, an
error message is displayed and the new configuration is ignored. This
message is adjusted to include the name of the interface being added so
it is visible from the logs without context | @@ -68,8 +68,8 @@ add_interface(char *ifname, struct interface_conf *if_conf)
if(strcmp(ifp->name, ifname) == 0) {
if(if_conf)
fprintf(stderr,
- "Warning: attempting to add existing interface, "
- "new configuration ignored.\n");
+ "Warning: attempting to add existing interface (%s), "
+ "new configuration ignored.\n",... |
Bug fix for SCL being held low after NACK on NRF52
For some reason SCL is held low by the nrf52832 after a NACK.
For an example of the bug using the NRF52, see: | @@ -302,6 +302,10 @@ err:
if (regs && regs->EVENTS_ERROR) {
rc = regs->ERRORSRC;
regs->ERRORSRC = rc;
+
+ // Disable/re-enable to release SCL after an error
+ regs->ENABLE = TWI_ENABLE_ENABLE_Disabled;
+ regs->ENABLE = TWI_ENABLE_ENABLE_Enabled;
}
return (rc);
}
@@ -367,6 +371,10 @@ err:
if (regs && regs->EVENTS_ERROR)... |
Include u2019 (RIGHT SINGLE QUOTATION MARK) glyph by default | @@ -18,6 +18,7 @@ void create_fonts(const overlay_params& params, ImFont*& small_font, ImFont*& te
static const ImWchar default_range[] =
{
0x0020, 0x00FF, // Basic Latin + Latin Supplement
+ 0x2019, 0x2019, // RIGHT SINGLE QUOTATION MARK
//0x0100, 0x017F, // Latin Extended-A
//0x2103, 0x2103, // Degree Celsius
//0x210... |
v2.71 landed | -ejdb2 (2.71) UNRELEASED; urgency=medium
+ejdb2 (2.71) testing; urgency=medium
* Fixed wrong format of printf like function calls.
* Query placeholders with the same name can be specified multiply times.
@@ -6,7 +6,7 @@ ejdb2 (2.71) UNRELEASED; urgency=medium
* Removed potential memory leaks in `jql_set_xx` query API (... |
CONTRIBUTING: add note for changes to package | @@ -185,8 +185,10 @@ step towards the end goal. Each commit on its own should be able to be compiled
Please follow the recommendations below to write a *useful* commit message.
1. Add a prefix to the subject line that gives the area of code that is changed.
- Usually this will be the relative file path of the file bein... |
fix he-lpbk interleave help | @@ -288,6 +288,14 @@ const std::map<std::string, uint32_t> he_test_mode = {
using test_afu = opae::afu_test::afu;
using test_command = opae::afu_test::command;
+// Inerleave help
+const char *interleave_help = R"desc(Interleave requests pattern to use in throughput mode {0, 1, 2}
+indicating one of the following series... |
Update docs/Customization/Dsptools-Blocks.rst | @@ -13,7 +13,7 @@ Dsptools Blocks
===============
A ``DspBlock`` is the basic unit of signal processing functionality that can be integrated into an SoC.
It has a AXI4-stream interface and an optional memory interface.
-The idea idea is that these ``DspBlocks`` can be easily designed, unit tested, and assembled lego-st... |
Reduce RE_MAX_AST_LEVELS (yes, yet again). Fixes | @@ -82,6 +82,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define RE_MAX_FIBERS 1024
// Maximum number of levels in regexp's AST
-#define RE_MAX_AST_LEVELS 6000
+#define RE_MAX_AST_LEVELS 5000
#endif
|
Update .travis.yml
CI will build 3 configs automatically | -sudo: required
+sudo: false
+dist: trusty
+group: deprecated-2017Q2
language: c
services:
- docker
+env:
+- BUILD_CONFIG=tash
+- BUILD_CONFIG=nettest
+- BUILD_CONFIG=minimal
+
before_install:
- docker pull an4967/tizenrt:1.1
- echo "${TRAVIS_BUILD_DIR}"
@@ -12,5 +19,5 @@ before_install:
script:
- docker run -d -it --n... |
Added value "new-configured" to wifi parameter | @@ -2695,7 +2695,7 @@ int DeRestPluginPrivate::configureWifi(const ApiRequest &req, ApiResponse &rsp)
{
QString wifi = map["wifi"].toString();
- if ((map["wifi"].type() != QVariant::String) || ((wifi != "configured") && (wifi != "not-configured") && (wifi != "deactivated")))
+ if ((map["wifi"].type() != QVariant::Strin... |
polymorphic stack fix | @@ -149,8 +149,13 @@ u16 GetStackTopSlotIndex (IM3Compilation o)
u16 GetSlotForStackIndex (IM3Compilation o, u16 i_stackIndex)
-{ d_m3Assert (i_stackIndex < o->stackIndex);
- return o->wasmStack [i_stackIndex];
+{ d_m3Assert (i_stackIndex < o->stackIndex or IsStackPolymorphic (o));
+ u16 slot = c_slotUnused;
+
+ if (no... |
[hardware] Fix address scrambling in tile | @@ -402,12 +402,14 @@ module mempool_tile #(
for (genvar c = 0; c < NumCoresPerTile; c++) begin: gen_core_mux
// Remove tile index from local_xbar_addr_int, since it will not be used for routing.
addr_t local_xbar_addr_int;
- assign local_xbar_req_addr[c] = addr_t'({local_xbar_addr_int[AddrWidth-1:ByteOffset+$clog2(Num... |
Simplify kscan_gpio_get_flags | @@ -126,19 +126,11 @@ static void kscan_direct_irq_callback_handler(const struct device *port, struct
#endif
static gpio_flags_t kscan_gpio_get_flags(const struct gpio_dt_spec *gpio, bool active) {
- if (((BIT(0) & gpio->dt_flags) == BIT(0))) { // Devicetree configured input ACTIVE_LOW
- if (!active) {
- return GPIO_AC... |
docs/en: add entry for removed components to migration guide | @@ -7,6 +7,11 @@ Following components are removed from ESP-IDF and moved to `IDF Component Regist
* `cbor <https://components.espressif.com/component/espressif/cbor>`_
* `jsmn <https://components.espressif.com/component/espressif/jsmn>`_
* `esp_modem <https://components.espressif.com/component/espressif/esp_modem>`_
+*... |
fix bug in recived message consists one record | @@ -130,6 +130,10 @@ static PushNotificationsReceiver *instance = nil;
if(id title = alert[@"title"])
[ret setObject:title forKey:@"title"];
}
+ else
+ {
+ [ret setObject:alert forKey:@"body"];
+ }
}
}
}
|
chore(test-discord-ws.c): update to match | #include <stdio.h>
#include <stdlib.h>
+#include <string.h> /* strcmp() */
#include <pthread.h>
#include <assert.h>
#include "discord.h"
-#include "discord-internal.h"
#include "cee-utils.h"
+#include "json-actor.h" /* json_extract() */
#define THREADPOOL_SIZE "4"
@@ -107,7 +108,7 @@ void on_ping(
if (msg->author->bot)... |
Fix bug for VS2003 can't be found
(xmake config --vs=2003) | @@ -179,14 +179,15 @@ function main()
local pathes =
{
format("$(reg HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VS7;%s)\\VC", version),
+ format("$(reg HKEY_LOCAL_MACHINE\\SOFTWARE\\Microsoft\\VisualStudio\\SxS\\VS7;%s)\\VC7\\bin", version),
format("$(reg HKEY_LOCAL_MACHINE\\SOFTWARE\\Wow6432Node\\Micr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.