message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
[hsa] add hsa-native labels instead of overwriting them | @@ -217,10 +217,34 @@ set_tests_properties(clblast_test_xswap clblast_test_xscal clblast_test_xcopy
PROPERTIES
LABELS "CLBlast")
-# Skipped some of the slowest test cases:
-# clblast_test_xtbmv clblast_test_xtpmv clblast_test_xgemm
-# clblast_test_xgbmv clblast_test_xhbmv clblast_test_xsbmv
-# clblast_test_xtrmv clblas... |
publish: update remote metadata group properly and only send invites for unmanaged notebooks | |= who=@p
?. (allowed who %read u.book)
[%give %kick [/notebook/[u.book]]~ `who]~
- ?: ?=(%remove -.upd)
+ ?: ?|(?=(%remove -.upd) (is-managed path.upd))
~
=/ uid (sham %publish who u.book eny.bol)
=/ inv=invite
?: use-preexisting.group
?~ grp !!
?. (is-managed group-path.group) !!
- :_ [group-path.group group-path.gro... |
CoreValidation: Fix Arm Compiler 6 linker warnings.
The compiler issues warning about unsupported (deprecated)
target architectures when called with specific -march. | -#! armclang -E --target=arm-arm-none-eabi -xc
+#! armclang -E --target=arm-arm-none-eabi -march=armv7-a -xc
;**************************************************
; Copyright (c) 2017 ARM Ltd. All rights reserved.
;**************************************************
|
remove handshakes if the belong to the same authentication sequence (anonce = anonce +1) | @@ -660,10 +660,11 @@ if(oldhcxrecord.message_pair == hcxrecord.message_pair)
return;
if((memcmp(oldhcxrecord.nonce_ap, hcxrecord.nonce_ap, 28) == 0) && (memcmp(oldhcxrecord.nonce_ap, hcxrecord.nonce_ap, 32) != 0))
+ {
anecflag = true;
-
+ return;
+ }
memcpy(&oldhcxrecord, &hcxrecord, HCX_SIZE);
-hcxwritecount++;
if(hc... |
Trembyle: enable external 32K crystal osc
BRANCH=none
TEST=make buildall -j | #define CONFIG_CHIPSET_CAN_THROTTLE
#define CONFIG_CHIPSET_RESET_HOOK
+/* Use external 32kHz OSC as LFCLK source */
+#define CONFIG_CLOCK_SRC_EXTERNAL
+
#undef CONFIG_EXTPOWER_DEBOUNCE_MS
#define CONFIG_EXTPOWER_DEBOUNCE_MS 200
#define CONFIG_EXTPOWER_GPIO
|
Doc: Do reformatting of comments in .c-files | @@ -2450,8 +2450,9 @@ static Key * elektraLookupCreateKey (KeySet * ks, Key * key, ELEKTRA_UNUSED elek
*
* @par Hybrid search
* When Elektra is compiled with `ENABLE_OPTIMIZATIONS=ON` a hybrid search decides
- * dynamically between the binary search and the [OPMPHM](https://master.libelektra.org/doc/dev/data-structures... |
[snitch] Adapt ro-cache for new lookup module | @@ -208,6 +208,7 @@ module snitch_read_only_cache #(
TAG_WIDTH: AxiAddrWidth - $clog2(LineWidth/8) - $clog2(LineCount) + 1,
ID_WIDTH_REQ: AxiIdWidth,
ID_WIDTH_RESP: 2**AxiIdWidth,
+ META_WIDTH: AxiIdWidth,
PENDING_IW: $clog2(PendingCount),
default: 0
};
@@ -443,12 +444,12 @@ module snitch_read_only_cache #(
// TODO(zar... |
pull-hook: restart subscriptions in on-load | =| cards=(list card:agent:gall)
|^
?- -.old
+ %0 $(-.old %1)
+ ::
%1
=^ og-cards pull-hook
(on-load:og inner-state.old)
- [(weld cards og-cards) this(state old)]
- ::
- %0
- %_ $
- -.old %1
- ::
- cards
- (weld cards (missing-subscriptions tracking.old))
+ =. state old
+ =/ restart-cards
+ (restart-subscriptions tracki... |
bootloader_efuse: Adds IRAM_ATTR for efuse API
Fixes startup of app for case:
bootloader with 40Mhz and app with 80Mhz (ESPTOOLPY_FLASHFREQ)
Closes | #include "bootloader_common.h"
#include "hal/efuse_ll.h"
#include "hal/efuse_hal.h"
+#include "esp_attr.h"
-uint8_t bootloader_common_get_chip_revision(void)
+IRAM_ATTR uint8_t bootloader_common_get_chip_revision(void)
{
return efuse_hal_get_chip_revision();
}
-uint32_t bootloader_common_get_chip_ver_pkg(void)
+IRAM_AT... |
added upload stats | /*===========================================================================*/
/* globale Konstante */
+long int uploadcountok;
+long int uploadcountfailed;
const char *wpasecurl = "http://wpa-sec.stanev.org";
-
/*===========================================================================*/
int testwpasec(long int tim... |
Do not error when failing to find a resolution symbol | @@ -230,7 +230,10 @@ InternalSolveSymbolNonWeak64 (
//
return FALSE;
}
-
+ //
+ // Do not error when the referenced symbol cannot be found as some will be
+ // patched by the VTable code. This matches the KXLD behaviour.
+ //
ResolveSymbol = InternalOcGetSymbolByName (
Kext,
Name,
@@ -238,10 +241,9 @@ InternalSolveSymb... |
BugID:16787175:remove unneed print info | @@ -52,9 +52,9 @@ define Brief_Log
if [ "$${FIRST_DEP}" != "" ]; then \
FIRST_DEP="$$(basename $${FIRST_DEP})"; \
fi; \
- printf "\r%-40s%s%s$(3)\n" "[$1] $$(echo -n "$$(basename $@)" | cut -c1-28)" "<=22 $${FIRST_DEP} $${SPACE_BAR}"; \
+ printf "\r%-40s%s%s$(3)\n" "[$1] $$(echo -n "$$(basename $@)" | cut -c1-28)" "<= ... |
kdb: spec-mount clarification added | @@ -43,7 +43,7 @@ public:
virtual std::string getShortHelpText () override
{
- return "Mount a new backend by specification.";
+ return "Mount a new backend by specification. All necessary plugins will be loaded automatically, depending on the metadata.";
}
virtual std::string getLongHelpText () override
|
zuse: lightly restructure encode:rlp:ethereum | $% [%l l=(list item)]
[%b b=byts]
==
+ :: +encode-atoms: encode list of atoms as a %l of %b items
::
- :: treat atoms as list of items
++ encode-atoms
|= l=(list @)
+ ^- @
%+ encode %l
%+ turn l
|=(a=@ b+[(met 3 a) a])
::
++ encode
|= in=item
- ^- @
+ |^ ^- @
?- -.in
%b
- ?: &(=(1 wid.b.in) (lth dat.b.in 0x80))
+ ?: &(... |
[P2P] Fix all handshake contention (in progress) | @@ -329,7 +329,7 @@ func (pm *peerManager) addOutboundPeer(meta PeerMeta) bool {
newPeer, ok := pm.remotePeers[peerID]
if ok {
// peer is already exist
- pm.logger.Info().Str(LogPeerID, newPeer.meta.ID.Pretty()).Msg("Peer is already managed by peerService")
+ pm.logger.Info().Str(LogPeerID, newPeer.meta.ID.Pretty()).Ms... |
SampleApplication: Change the unit of result
Correct the unit of sample-application result, which should be us(microseconds). | @@ -49,7 +49,7 @@ def create_hist():
figure = plt.hist(dataset)
plt.title("Latency percentages")
- plt.xlabel("Latency Value (ms)")
+ plt.xlabel("Latency Value (us)")
plt.ylabel("Frequency")
plt.savefig("hist.png")
|
free hard-restart timer more safely | @@ -1105,7 +1105,10 @@ _http_serv_restart_cb(uv_timer_t* tim_u)
_http_serv_start_all();
- free(tim_u);
+ if ( 0 != u3_Host.fig_u.tim_u) {
+ free(u3_Host.fig_u.tim_u);
+ u3_Host.fig_u.tim_u = 0;
+ }
}
static void
|
zephyr/shim/include/usbc/ppc_sn5s330.h: Format with clang-format
BRANCH=none
TEST=none | #define SN5S330_COMPAT ti_sn5s330
#define PPC_CHIP_SN5S330(id) \
- { \
- .i2c_port = I2C_PORT(DT_PHANDLE(id, port)), \
+ { .i2c_port = I2C_PORT(DT_PHANDLE(id, port)), \
.i2c_addr_flags = DT_STRING_UPPER_TOKEN(id, i2c_addr_flags), \
- .drv = &sn5s330_drv \
- },
+ .drv = &sn5s330_drv },
|
The comma operator should not be used | @@ -397,7 +397,8 @@ void *USB_ReadPacket(void *dest, uint16_t len) {
uint32_t i=0;
uint32_t count32b = (len + 3) / 4;
- for ( i = 0; i < count32b; i++, dest += 4 ) {
+ for ( i = 0; i < count32b; i++) {
+ dest += 4;
// packed?
*(__attribute__((__packed__)) uint32_t *)dest = USBx_DFIFO(0);
}
@@ -420,7 +421,8 @@ void USB_... |
small speed increase | @@ -1595,7 +1595,7 @@ static handshakelist_t *zeiger;
if(donotcleanflag == true) return false;
zeiger = handshakelistptr;
-for(c = 0; c < 20; c ++)
+for(c = 0; c < 10; c ++)
{
zeiger--;
if(zeiger < handshakelist) return false;
|
Better looking preload animation | @@ -92,6 +92,21 @@ lv_obj_t * lv_preload_create(lv_obj_t * par, const lv_obj_t * copy)
a.repeat = 1;
a.repeat_pause = 0;
lv_anim_create(&a);
+
+ lv_anim_t b;
+ b.var = new_preload;
+ b.start = ext->arc_length;
+ b.end = 360;
+ b.fp = (lv_anim_fp_t)lv_preload_set_arc_length;
+ b.path = lv_anim_path_ease_in_out;
+ b.end_... |
error: testfix haskell | @@ -93,8 +93,8 @@ typecheck p ks k c = withGlobalLogging (LogConfig Nothing ("@ENABLE_LOGGER@" ==
Left err -> do
let errStr = errorString specFile err
case c of
- Set -> triggerError 193 k errStr
- Get -> triggerWarnings 192 k errStr
+ Set -> triggerError "C04200" k errStr
+ Get -> triggerWarnings "C04200" k errStr
log... |
test: Fix TypeError in run_device_tests.py
TEST=run_device_tests.py --help
BRANCH=none
Code-Coverage: Zoss | @@ -397,7 +397,7 @@ def read_file_gsutil(path: str) -> bytes:
return gsutil.stdout
-def find_section_offset_size(section: str, image: bytes) -> Tuple(int, int):
+def find_section_offset_size(section: str, image: bytes) -> Tuple[int, int]:
"""Get offset and size of the section in image"""
areas = fmap.fmap_decode(image)... |
Add Flash Inforamtion for RCXVUP | @@ -79,19 +79,22 @@ config FLASH_INTERFACE
string
default "BPIx16" if S121B_BPIx16 || N250S || N250SP || ADKU3 || AD8K5
default "SPIx4" if S121B_SPIx4
+ default "SPIx8" if RCXVUP
#FLASH_SIZE: in MB, will be used by build_mcs.tcl
config FLASH_SIZE
string
- default 256 if S121B_SPIx4
+ default 256 if S121B_SPIx4 || RCXVU... |
feat: update gateway version to v8 | #include "orka-utils.h"
-#define BASE_GATEWAY_URL "wss://gateway.discord.gg/?v=6&encoding=json"
+#define BASE_GATEWAY_URL "wss://gateway.discord.gg/?v=8&encoding=json"
struct _event_cxt {
pthread_t tid; // the thread id
|
Makefile: build less with nullnet
Use the mechanism introduced in the previous
commit to avoid building files when using
nullnet. | @@ -200,6 +200,9 @@ MAKE_NET ?= MAKE_NET_IPV6
ifeq ($(MAKE_NET),MAKE_NET_NULLNET)
CFLAGS += -DNETSTACK_CONF_WITH_NULLNET=1
MODULES += $(CONTIKI_NG_NET_DIR)/nullnet
+ # SLIP uses the rxbuf defined in uIP.
+ MODULES_SOURCES_EXCLUDES += slip.c
+ CONTIKI_SOURCES_EXCLUDES_NATIVE += tun6-net.c
endif
ifeq ($(MAKE_NET),MAKE_NE... |
add more steps to development guide for metadata | @@ -202,3 +202,10 @@ export const HANDLED_METADATA = [
+ 'check/something',
]
```
+
+- Validation can then be added by handling metadata in the
+ `client/src/components/TreeItem/fields/validateType.js` file to the
+ `validateType` function.
+
+- Rendering fields in a special way when certain metakeys are present can be... |
linkchecker: use merged branch in PRs | @@ -192,6 +192,16 @@ linux_task:
container:
dockerfile: scripts/docker/cirrus/Dockerfile
+ clone_script: |
+ if [ -z "$CIRRUS_PR" ]; then
+ git clone --branch=$CIRRUS_BRANCH https://x-access-token:${CIRRUS_REPO_CLONE_TOKEN}@github.com/${CIRRUS_REPO_FULL_NAME}.git $CIRRUS_WORKING_DIR
+ git reset --hard $CIRRUS_CHANGE_IN... |
fix: feature's template | ---
name: Feature report
about: Suggest an idea for this project
-title: ''
-labels: ''
+title: '[FEATURES] [Subject of the issue]'
+labels: 'enhancement'
assignees: ''
---
-## [FEATURES] [Subject of the issue]
-
-### Description
+## Description
Describe your issue in as much detail as possible here.
-### Your environm... |
prints request path if %eyre fails to parse it | %- emule |. ^+ ..apex
=* sec p.kyz :: ? :: https bit
=* heq r.kyz :: httq :: request content
- =+ ryp=`quri`(rash q.heq zest:de-purl)
+ =/ ryp=quri
+ =+ (rush q.heq zest:de-purl)
+ ?^(- u.- ~|(eyre-parse-url-failed+q.heq !!))
=+ maf=(eat-headers r.heq)
=+ ^= pul ^- purl
?- -.ryp
|
Controller config file as a new cmd line argument | @@ -9,6 +9,7 @@ function print_usage_and_exit {
(>&2 echo " - v14|v16")
(>&2 echo " - cfg <config string>")
(>&2 echo " - ctrl <controller name>")
+ (>&2 echo " - ctrcfg <controller config file>")
exit $ERROR_CODE
}
@@ -107,6 +108,9 @@ while [ $# -gt 0 ]; do
"cfg") shift
DPDK_OPTS="$1"
;;
+ "ctrcfg") shift
+ CONTROLLER... |
Why are you here; | @@ -88,9 +88,6 @@ static void onMountChanged(bool mounted) {
}
static void onFrame(float* leftView, float* rightView, float* leftProjection, float* rightProjection, void* userdata) {
- int width, height;
- webvrGetDisplayDimensions(&width, &height);
-
Camera camera = { .canvas = NULL, .stereo = true };
memcpy(camera.pr... |
Fix MSVC-specific warnings | @@ -37,7 +37,7 @@ static Texture* lookupTexture(uint32_t handle) {
return *texture;
}
-static ovrTrackingState *refreshTracking() {
+static ovrTrackingState *refreshTracking(void) {
static ovrTrackingState ts;
if (!state.needRefreshTracking) {
return &ts;
@@ -58,7 +58,7 @@ static ovrTrackingState *refreshTracking() {
r... |
docs: remove rc watermark | \tcbuselibrary{skins}
% for non-released DRAFT - comment out for GA release
-\usepackage[firstpage]{draftwatermark}
-%\usepackage{draftwatermark}
-%\SetWatermarkText{Tech Preview}
-%\SetWatermarkHorCenter{0.55\paperwidth}
-\SetWatermarkVerCenter{0.6\paperheight}
-\SetWatermarkText{\parbox{38cm}{\centering Release \\ Ca... |
Updated instructions for disabling deCONZ GUI
deCONZ GUI is started as a systemd service not an X11 autostart script | @@ -97,12 +97,12 @@ The beta version contains a systemd script, which allows deCONZ to run without a
$ sudo systemctl enable deconz
```
-2. Disable X11 deCONZ autostart script
+2. Disable deCONZ GUI Autostart
-The dresden elektronik Raspbian sd-card image contains a autostart script for X11 which should be removed.
+Th... |
tmp: debug printfs | ++ install
|= [=ship =desk]
^- (quip card _state)
+ ~& [dap.bowl %install ship desk]
=+ .^(=treaty:treaty %gx (scry:io %treaty /treaty/(scot %p ship)/[desk]/noun))
?: (~(has by charges) desk)
~| bad-install-desk/desk
++ uninstall
|= =desk
^- (quip card _state)
+ ~& [dap.bowl %uninstall desk]
=/ =charge ~|(no-charge-ins... |
Fix BGZFile.read() behaviour near or at EOF
Fix typo, which caused read() (with a size given) to return uninitialised
data of exactly the size requested instead of ever signalling EOF. | @@ -115,7 +115,7 @@ cdef class BGZFile(object):
if read_size < 0:
raise IOError('Error reading from BGZFile')
elif read_size < size:
- chunk = chunk[:size]
+ chunk = chunk[:read_size]
return chunk
else:
return b''
|
Resize permutability constraints with per cc objective | @@ -382,6 +382,17 @@ PlutoConstraints *get_permutability_constraints(PlutoProg *prog) {
if (dep->cst == NULL) {
/* First time, compute the constraints */
compute_permutability_constraints_dep(dep, prog);
+ if (options->per_cc_obj) {
+ int num_cols_to_add = (npar + 1) * (prog->ddg->num_ccs);
+ pluto_constraints_add_lead... |
doc: Fix wrong page generating faults of the modules
`doxygen -d commentscan` will help to resolve the problem.
and `^^` will replace to `\_linebr`
resolve | @@ -238,20 +238,20 @@ TAB_SIZE = 4
# "Side Effects:". You can put \n's in the value part of an alias to insert
# newlines.
-ALIASES = projectstart="---------------------\n### Using this library in your project ###\n"
+ALIASES = projectstart="<hr><h3> Using this library in your project </h3>"
ALIASES += projectinc{1}="I... |
fix when image is 1x1 blank, resize it to 2x2 | @@ -9,6 +9,8 @@ class Images:
def __init__(self, filename):
self.filename = filename
self.img = cv2.imread(self.filename, -1)
+ if self.img.shape[0] == 1 or self.img.shape[1] == 1:
+ self.img = np.zeros((2, 2, 4))
self.orig_img = np.copy(self.img)
self.orig_rows = self.img.shape[0]
self.orig_cols = self.img.shape[1]
|
actions: set JAVA_HOME | @@ -21,7 +21,7 @@ jobs:
# well on Windows or Mac. You can convert this to a matrix build if you need
# cross-platform coverage.
# See: https://docs.github.com/en/free-pro-team@latest/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
- runs-on: macos-latest
+ runs-on: macos-10.15
steps:
- uses... |
dm: clean up assert in virtio_input.c
clean up assert in virtio_input.c
Acked-by: Anthony Xu | #include <stdbool.h>
#include <string.h>
#include <unistd.h>
-#include <assert.h>
#include <pthread.h>
#include "dm.h"
@@ -251,7 +250,19 @@ virtio_input_notify_status_vq(void *vdev, struct virtio_vq_info *vq)
while (vq_has_descs(vq)) {
n = vq_getchain(vq, &idx, &iov, 1, NULL);
- assert(n == 1);
+ if (n < 0) {
+ WPRINTF... |
change updater servers with fallback | @@ -305,7 +305,8 @@ ULONG64 ParseVersionString(
}
BOOLEAN QueryUpdateData(
- _Inout_ PPH_UPDATER_CONTEXT Context
+ _Inout_ PPH_UPDATER_CONTEXT Context,
+ _In_ PWSTR ServerName
)
{
BOOLEAN success = FALSE;
@@ -326,7 +327,7 @@ BOOLEAN QueryUpdateData(
if (!PhHttpSocketConnect(
httpContext,
- L"systeminformer.sourceforge.... |
Simplify conditions and don't send ERROR chunks when not ready. | #if defined(__FreeBSD__) && !defined(__Userspace__)
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: head/sys/netinet/sctp_input.c 362153 2020-06-13 18:38:59Z tuexen $");
+__FBSDID("$FreeBSD: head/sys/netinet/sctp_input.c 362722 2020-06-28 14:11:36Z tuexen $");
#endif
#include <netinet/sctp_os.h>
@@ -5583,7 +5583,7 @@ sctp_... |
Doc: add shell recorder test for spec-tutorial | @@ -32,6 +32,8 @@ add_msr_test (
ENVIRONMENT KDB_EXEC_PATH=${CMAKE_SOURCE_DIR}/scripts/kdb)
add_msr_test (tutorial_storage_plugins "${CMAKE_SOURCE_DIR}/doc/tutorials/storage-plugins.md" REQUIRED_PLUGINS type yamlcpp)
add_msr_test (cmerge "${CMAKE_SOURCE_DIR}/doc/tutorials/cmerge.md" REQUIRED_PLUGINS hosts line PROPERTY... |
Update oe_verify_evidence not to accept both endorsements baseline and endorsements | @@ -326,6 +326,12 @@ oe_result_t oe_verify_evidence(
}
}
+ // Endorsements buffer conflicts with endorsements baseline policy
+ if (endorsements_buffer && has_endorsements_baseline_policy)
+ {
+ OE_RAISE(OE_INVALID_PARAMETER);
+ }
+
if (!format_id)
{
// check whether evidence buffer structure is oe_report
|
minor sd cone tweak | @@ -489,9 +489,9 @@ static scs_int proj_semi_definite_cone(scs_float *X, const scs_int n,
BLAS(syev)("Vectors", "Lower", &nb, Xs, &nb, e, work, &lwork, &info);
if (info != 0) {
scs_printf("WARN: LAPACK syev error, info = %i\n", info);
- }
if (info < 0) {
- return -1;
+ return info;
+ }
}
first_idx = -1;
@@ -724,7 +724,... |
CCode: Fix minor spelling mistakes in comments | @@ -219,7 +219,7 @@ size_t encode (char const * const value, size_t const size, CCodeData * mapping)
extern "C" {
/**
- * @brief This function replaces escaped character in a key value with unescaped characters.
+ * @brief This function replaces escaped characters in a key value with unescaped characters.
*
* The funct... |
[numerics] Arrow_mat interface was changed | @@ -40,7 +40,7 @@ static int Arrow_repr_3d_test()
vec[4] = 5.0;
vec[5] = 6.0;
- NumericsMatrix * Arw_mat = Arrow_repr(vecSize, vec, varsCount);
+ NumericsMatrix * Arw_mat = Arrow_repr(vec, vecSize, varsCount);
NumericsMatrix * D_Arw_mat = NM_create(NM_DENSE, vecSize, vecSize);
NM_to_dense(Arw_mat, D_Arw_mat);
// NM_dis... |
bump cmake to v3.9.0 | %define pname cmake
-%define major_version 3.8
-%define minor_version 2
+%define major_version 3.9
+%define minor_version 0
Summary: CMake is an open-source, cross-platform family of tools designed to build, test and package software.
Name: %{pname}%{PROJ_DELIM}
|
+on-take-turf simple handler compiles | :: %memo: message to vane from peer
:: %send: packet to unix
:: %done: notify vane that peer (n)acked our message
+::
:: %mass: memory usage report
+:: %turf: domain report, relayed from jael
::
+$ gift
$% [%memo =message]
[%send =lane =blob]
[%done error=(unit error)]
+ ::
[%mass mass]
+ [%turf turfs=(list turf)]
==
:... |
SOVERSION bump to version 2.18.10 | @@ -66,7 +66,7 @@ set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_
# set version of the library
set(LIBYANG_MAJOR_SOVERSION 2)
set(LIBYANG_MINOR_SOVERSION 18)
-set(LIBYANG_MICRO_SOVERSION 9)
+set(LIBYANG_MICRO_SOVERSION 10)
set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_... |
main: add a max_quic_connections setting | @@ -155,6 +155,7 @@ static struct {
char *pid_file;
char *error_log;
int max_connections;
+ int max_quic_connections;
/**
* array size == number of worker threads to instantiate, the values indicate which CPU to pin, -1 if not
*/
@@ -202,6 +203,7 @@ static struct {
NULL, /* pid_file */
NULL, /* error_log */
1024, /* ma... |
fix state logging level | @@ -410,7 +410,7 @@ extern int FIO_LOG_LEVEL;
#endif
#if FIO_PRINT_STATE
-#define FIO_LOG_STATE(...) FIO_LOG_PRINT(0, __VA_ARGS__)
+#define FIO_LOG_STATE(...) FIO_LOG_PRINT(FIO_LOG_LEVEL_INFO, __VA_ARGS__)
#else
#define FIO_LOG_STATE(...)
#endif
@@ -1193,6 +1193,9 @@ typedef struct fio_rw_hook_s {
* Implement writing t... |
Added 'Android 8 Oreo' to the list of OSs. | @@ -121,7 +121,11 @@ static const char *os[][2] = {
static char *
get_real_android (const char *droid)
{
- if (strstr (droid, "7.1"))
+ if (strstr (droid, "8.1"))
+ return alloc_string ("Oreo 8.1");
+ else if (strstr (droid, "8.0"))
+ return alloc_string ("Oreo 8.0");
+ else if (strstr (droid, "7.1"))
return alloc_stri... |
parser: ltsv: fix overflow (oss-fuzz) | @@ -105,7 +105,7 @@ static int ltsv_parser(struct flb_parser *parser,
while (c < end) {
label = c;
- while (ltvs_label[*c] && (c < end)) {
+ while ((c < end) && ltvs_label[*c]) {
c++;
}
label_len = c - label;
@@ -120,7 +120,7 @@ static int ltsv_parser(struct flb_parser *parser,
field = c;
if (c != end) {
- while (ltvs_... |
rcu: defer timer creation | static DEFINE_SPINLOCK(rcu_lock);
/* The head of the list of objects waiting to be freed */
static struct rcu_head *rcu_head;
+static bool rcu_worker_launched;
#ifdef DEBUG
__thread int rcu_read_count;
@@ -95,12 +96,19 @@ static void rcu_worker(void *arg)
*/
void rcu_free(struct rcu_head *head, rcu_callback_t func)
{
+... |
[io, vview] not updating CP arrays leaves them on display when no contact
Fixes | @@ -357,9 +357,6 @@ class CFprov():
self._dom_data[dom_id_f,-1] == self._data[id_f[imu],-1]
)[0]
- if self._data[id_f[imu]].shape[0]==0:
- continue
-
self.cpa_at_time[mu] = self._data[
id_f[imu], 2:5]
self.cpb_at_time[mu] = self._data[
|
publish: fix edit-book reducer | @@ -133,6 +133,10 @@ export class PrimaryReducer {
state.notebooks[host][book]["num-notes"] = json[host][book]["num-notes"];
state.notebooks[host][book]["num-unread"] = json[host][book]["num-unread"];
state.notebooks[host][book]["title"] = json[host][book]["title"];
+ state.notebooks[host][book]["writers-group-path"] =... |
Added addition check of connected target | #define STLINK_REG_CM3_CPUID 0xE000ED00
-#define STLINK_REG_CM3_CPUID_PARTNO(cpuid) ((cpuid)&STLINK_REG_CMx_CPUID_PARTNO_MASK)
-#define STLINK_REG_CMx_CPUID_PARTNO_MASK 0xFFF0
-#define STLINK_REG_CMx_CPUID_PARTNO_CM0 0xC200
-#define STLINK_REG_CMx_CPUID_PARTNO_CM3 0xC230
-#define STLINK_REG_CMx_CPUID_PARTNO_CM7 0xC270
... |
website: fix link + regenerate man page | @@ -63,7 +63,6 @@ Elektra:
## Installation Manuals
These tutorials provide additional information on how to
-install and set up specific plugins and tools.
+install and set up specific tools.
-- [Snippet Sharing REST-Service](snippet-sharing-rest-service.md)
- [Webui](install-webui.md)
|
Treat internal requests as authenticated | @@ -98,6 +98,11 @@ bool DeRestPluginPrivate::checkApikeyAuthentification(const ApiRequest &req, Api
return false;
}
+ if (req.sock == 0) // allow internal requests, as they are issued by triggering rules
+ {
+ return true;
+ }
+
std::vector<ApiAuth>::iterator i = apiAuths.begin();
std::vector<ApiAuth>::iterator end = a... |
BugID:17689689:fix alcs memory leak | @@ -254,8 +254,24 @@ void alcs_auth_subdev_init(CoAPContext *ctx, const char* productKey, const char*
void alcs_auth_deinit(void)
{
+#ifdef SUPPORT_MULTI_DEVICES
+ device_auth_list *node = NULL, *next = NULL;
+#endif
+
alcs_resource_cb_deinit();
alcs_auth_list_deinit();
+
+#ifdef SUPPORT_MULTI_DEVICES
+ list_for_each_e... |
tests: internal: fuzzer: initialize timestamp | @@ -9,7 +9,7 @@ int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size){
/* Target the conversion of raw msgpack to gelf */
flb_sds_t record;
- struct flb_time tm;
+ struct flb_time tm = {0};
struct flb_gelf_fields fields = {0};
fields.short_message_key = flb_sds_create("AAAAAAAAAA");
record = flb_msgpack_raw_to_g... |
sds: new flb_sds_cmp() function | #include <fluent-bit/flb_info.h>
#include <stdlib.h>
+#include <string.h>
#include <inttypes.h>
#define FLB_SDS_HEADER_SIZE (sizeof(uint64_t) + sizeof(uint64_t))
@@ -60,10 +61,21 @@ static inline size_t flb_sds_avail(flb_sds_t s)
return (h->alloc - h->len);
}
+static inline int flb_sds_cmp(flb_sds_t s, char *str, int l... |
Add Raw/Native funcs benchmark | @@ -41,6 +41,10 @@ commands = [
"wasm": "./wasi/test-opt.wasm",
"args": ["cat", "./wasi/0.txt"],
"expect_pattern": "Hello world*Constructor OK*Args: *; cat; ./wasi/0.txt;*fib(20) = 6765*[* ms]*48 65 6c 6c 6f 20 77 6f 72 6c 64*=== done ===*"
+ }, {
+ "name": "Raw/Native funcs benchmark",
+ "wasm": "./wasi/test_native_vs... |
Update DEVELOPERS-GUIDE.md
Correct mistake for windows developer | @@ -23,7 +23,8 @@ $ virtualenv venv
**Step 2.1** For uvision progen compilation, update tools and generate project files. **This should be done every time you pull new changes**
```
-$ venv/Scripts/activate
+$ venv/Scripts/activate (For Linux)
+$ venv/Scripts/activate.bat (For Windows)
$ pip install -r requirements.txt... |
Fixed invaild mv(move) command for travis. | @@ -43,6 +43,7 @@ if [ $? -ne 0 ]; then echo -e "\xe2\x9c\x96"; else echo -e "\xe2\x9c\x93"; fi
# Update OpenCR package manually
git clone --recursive https://github.com/ROBOTIS-GIT/OpenCR.git --branch develop --single-branch
rm -rf $HOME/.arduino15/packages/OpenCR/hardware
+mkdir $HOME/Arduino/hardware/OpenCR
mv $PWD/... |
Router: fixed nxt_http_route_arguments_parse().
A valid query string argument is a string of "key=value\[&key=value ...\]"
pairs with non-empty keys. The fix removes invalid empty arguments. | @@ -2025,10 +2025,9 @@ static nxt_array_t *
nxt_http_route_arguments_parse(nxt_http_request_t *r)
{
size_t name_length;
- u_char c, *p, *dst, *dst_start, *start, *end, *name;
+ u_char *p, *dst, *dst_start, *start, *end, *name;
uint8_t d0, d1;
uint32_t hash;
- nxt_bool_t valid;
nxt_array_t *args;
nxt_http_name_value_t *... |
Fix remap line count for user partitions | @@ -123,7 +123,7 @@ static inline uint32_t ocf_remap_do(struct ocf_request *req)
* priority in this case, as overflown partitions should
* free its cachelines regardless of destination partition
* priority. */
- remapped += ocf_evict_user_partitions(cache, req, remap_cline_no,
+ remapped += ocf_evict_user_partitions(ca... |
Feat:replace socket with handle | #include <stdint.h>
#include <stdbool.h>
#include <sys/time.h>
-#include "lwip/sockets.h"
+#include "qapi_socket.h"
//#define BOAT_HTTPCLIENT_SSL_ENABLE
#ifdef BOAT_HTTPCLIENT_SSL_ENABLE
@@ -132,7 +132,8 @@ typedef enum {
*/
/** @brief This structure defines the httpclient_t structure. */
typedef struct {
- int socket;... |
modnxtdevices/Ultrasonic: drop presence/silent
This functionality appears unreliable, so remove it until further notice.
In particular, presence/listen mode will not just return 0 or 1, but other values as well, which do not seem to be related to actual presence of another nearby sensor. | @@ -46,36 +46,16 @@ STATIC void nxtdevices_UltrasonicSensor_print(const mp_print_t *print, mp_obj_t
// pybricks.nxtdevices.UltrasonicSensor.distance
STATIC mp_obj_t nxtdevices_UltrasonicSensor_distance(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
-
- PB_PARSE_ARGS_METHOD(n_args, pos_args, kw_args,
- PB... |
build/channel: extending line width for more compact header with comment apis | @@ -544,18 +544,19 @@ LIQUID_WDELAY_DEFINE_API(LIQUID_WDELAY_MANGLE_CFLOAT, liquid_float_complex)
// TI : input data type
#define LIQUID_CHANNEL_DEFINE_API(CHANNEL,TO,TC,TI) \
\
+/* Channel emulation */ \
typedef struct CHANNEL(_s) * CHANNEL(); \
\
-/* create channel object with default parameters */ \
+/* Create chann... |
Describes what tests we do not have codes for | @@ -13,3 +13,5 @@ The source codes included in this directory can be used to reproduce all benchma
* **bcm_bm.c** : this file shows an excerpt from a modified version of CLASS that was used to generate a benchmark power spectrum containing baryon corrections (used for test bcm:model_1). The file is just an excerpt, and... |
Add a plugin misbehaving log severity | @@ -15,8 +15,10 @@ enum {
CLAP_LOG_ERROR = 3,
CLAP_LOG_FATAL = 4,
- // This severity should be used to report misbehaviour of the host
+ // Those severities should be used to report misbehaviour.
+ // The plugin one can be used by a layer between the plugin and the host.
CLAP_LOG_HOST_MISBEHAVING = 5,
+ CLAP_LOG_PLUGIN... |
power/mt8192.c: Format with clang-format
BRANCH=none
TEST=none
Tricium: disable | @@ -516,15 +516,15 @@ static void power_button_changed(void)
DECLARE_HOOK(HOOK_POWER_BUTTON_CHANGE, power_button_changed, HOOK_PRIO_DEFAULT);
#ifdef CONFIG_POWER_TRACK_HOST_SLEEP_STATE
-__overridable void power_chipset_handle_sleep_hang(
- enum sleep_hang_type hang_type)
+__overridable void
+power_chipset_handle_sleep_... |
Missing rules in vpp-selinux-policy
SELinux exceptions occurring for host interfaces and with the
vmxnet3 driver. | @@ -46,7 +46,7 @@ files_tmp_file(vpp_tmp_t)
allow vpp_t self:capability { dac_override ipc_lock setgid sys_rawio net_raw sys_admin net_admin chown }; # too benevolent
dontaudit vpp_t self:capability2 block_suspend;
allow vpp_t self:process { execmem execstack setsched signal }; # too benevolent
-allow vpp_t self:packet... |
lt: make the RETURN_LT and RETURN_LT0 safer | lt_release(lt, (void*) resource)
#define RETURN_LT(lt, result) \
+ do { \
destroy_lt(lt); \
- return result
+ return result; \
+ } while (0)
#define RETURN_LT0(lt) \
+ do { \
destroy_lt(lt); \
- return
+ return; \
+ } while (0)
typedef struct lt_t lt_t;
typedef void (*lt_destroy_t)(void*);
|
added filter by VENDOR | @@ -493,6 +493,17 @@ return;
}
/*===========================================================================*/
/*===========================================================================*/
+static bool isoui(uint8_t *mac)
+{
+static ouilist_t *zeiger;
+
+for(zeiger = ouilist; zeiger < ouilist +ouicount; zeiger++)
+ {... |
Use this terrible github tar.gz ball, and see what happens. | @@ -9,8 +9,9 @@ Group: Misc
%endif
License: MIT
URL: https://github.com/indigo-dc/oidc-agent
-Source0: %{name}-%{version}.tar.gz
+#Source0: %{name}-%{version}.tar
# use `make rpmsource` to generate the required tarball
+Source0: https://github.com/indigo-dc/oidc-agent/archive/refs/tags/v%{version}.tar.gz
BuildRequires:... |
apps/testcase/wifi_manager: add UTC of newly added public API
Add UTC of wifi_manager_get_connected_config in wifi_manager | @@ -440,6 +440,37 @@ static void utc_wifi_manager_remove_config_p(void)
TC_SUCCESS_RESULT();
}
+static void utc_wifi_manager_get_connected_config_n(void)
+{
+ wifi_manager_result_e ret = WIFI_MANAGER_FAIL;
+ wifi_manager_ap_config_s apconfig;
+ ret = wifi_manager_get_connected_config(&apconfig);
+ if (ret == WIFI_MANAG... |
Tweak apps/build.info for VMS
A bit of quoting is all that's needed, and it doesn't hurt other platforms. | @@ -62,8 +62,8 @@ IF[{- !$disabled{apps} -}]
DEPEND[openssl]=libapps.a ../libssl
DEPEND[${OPENSSLSRC/.c/.o}]=progs.h
- GENERATE[progs.c]=progs.pl -C $(APPS_OPENSSL)
- GENERATE[progs.h]=progs.pl -H $(APPS_OPENSSL)
+ GENERATE[progs.c]=progs.pl "-C" $(APPS_OPENSSL)
+ GENERATE[progs.h]=progs.pl "-H" $(APPS_OPENSSL)
# progs... |
mancomb: Enable EFS2 and CBI support
Enable EFS2 and CBI for mancomb boards.
BRANCH=None
TEST=Build
Tested-by: Matt Wang | #undef CONFIG_UART_TX_BUF_SIZE
#define CONFIG_UART_TX_BUF_SIZE 4096
+/* Vboot Config */
+#define CONFIG_CRC8
+#define CONFIG_VBOOT_EFS2
+#define CONFIG_VBOOT_HASH
+#define CONFIG_VSTORE
+#define CONFIG_VSTORE_SLOT_COUNT 1
+#define GPIO_PACKET_MODE_EN GPIO_EC_GSC_PACKET_MODE
+
+/* CBI Config */
+#define CONFIG_CROS_BOAR... |
cstring_array_from_char_array: return empty initializes cstring_array from empty string | @@ -710,20 +710,23 @@ cstring_array *cstring_array_new_size(size_t size) {
}
cstring_array *cstring_array_from_char_array(char_array *str) {
+ if (str == NULL) return NULL;
+ if (str->n == 0)
+ return cstring_array_new();
+
cstring_array *array = malloc(sizeof(cstring_array));
- if (array == NULL || str == NULL) return... |
Fix regression introduced by IN-GROUP change. | @@ -1416,7 +1416,7 @@ do_test(_ipp_file_t *f, /* I - IPP data file */
_ippVarsGet(vars, expect->if_not_defined))
continue;
- if ((found = ippFindAttribute(response, expect->name, IPP_TAG_ZERO)) != NULL && expect->in_group != ippGetGroupTag(found))
+ if ((found = ippFindAttribute(response, expect->name, IPP_TAG_ZERO)) !... |
apply hardening flags to missing rules | @@ -81,9 +81,9 @@ endif
GEN_LFLAGS = $(LFLAGS) -lmicrohttpd
ADD_LFLAGS = $(LFLAGS)
ifdef MAC_OS
-CLIENT_LFLAGS = -L$(APILIB) -largp -loidc-agent.$(LIBVERSION)
+CLIENT_LFLAGS = $(shell dpkg-buildflags --get LDFLAGS) -L$(APILIB) -largp -loidc-agent.$(LIBVERSION)
else
-CLIENT_LFLAGS = -L$(APILIB) -l:$(SHARED_LIB_NAME_FULL... |
Fix build error on custom app | C97B760822046CF100A05C8D /* kiwisolver.cpython-37m-darwin.so in Copy kiwisolver */ = {isa = PBXBuildFile; fileRef = C97B760422046CB700A05C8D /* kiwisolver.cpython-37m-darwin.so */; settings = {ATTRIBUTES = (CodeSignOnCopy, ); }; };
C97B760A22046CFA00A05C8D /* Info.plist in Copy kiwisolver */ = {isa = PBXBuildFile; file... |
Ubuntu Eon build dependencies and version numbers
Add updated list of dependencies to build on Ubuntu Eon (19.10)
Add Ubuntu version numbers for increased clarity
Capitalize release names to match official branding | @@ -329,7 +329,7 @@ To build the toolchain from source, one needs:
### Install build dependencies
```
-# Trusty and older
+# Trusty (14.04 LTS) and older
VER=trusty
echo "deb http://llvm.org/apt/$VER/ llvm-toolchain-$VER-3.7 main
deb-src http://llvm.org/apt/$VER/ llvm-toolchain-$VER-3.7 main" | \
@@ -337,10 +337,14 @@ ... |
BUFR encoding memory leaks (part 6) | @@ -2949,8 +2949,10 @@ static int process_elements(grib_accessor* a, int flag, long onlySubset, long st
self->numericValues = grib_vdarray_new(c, 1000, 1000);
self->stringValues = grib_vsarray_new(c, 10, 10);
- if (self->elementsDescriptorsIndex)
+ if (self->elementsDescriptorsIndex) {
+ grib_viarray_delete_content(c, ... |
gitlab-ci: Move shared tags to a default section.
Move shared properties into a `default` stanza per current
style recommendations. | +default:
+ tags:
+ - docker
# Image from https://hub.docker.com/_/gcc/ based on Debian
image: gcc
@@ -15,8 +18,6 @@ autoconf:
paths:
- "lib/*.o"
- "lib/.libs/*.o"
- tags:
- - docker
cmake:
stage: build
@@ -28,5 +29,3 @@ cmake:
- mkdir build
- cmake -S . -B build -G "Ninja" -DCMAKE_BUILD_TYPE=Release
- cmake --build bu... |
Bump version to reflect more structural changes | "license": "MIT",
"tags": [ "cpp", "neko", "nme", "opengl", "sdl", "android", "ios" ],
"description": "NME provides a backend for native iOS, Android, Windows, Mac and Linux applications, using a Flash inspired API",
- "version": "5.7.0",
- "binaryversion": "93",
+ "version": "6.0.0",
+ "binaryversion": "94",
"releasen... |
fix: add event unregister comment | @@ -120,6 +120,7 @@ void wifi_init_sta(void)
ESP_LOGE(TAG, "UNEXPECTED EVENT");
}
+ /* The event will not be processed after unregister */
ESP_ERROR_CHECK(esp_event_handler_instance_unregister(IP_EVENT, IP_EVENT_STA_GOT_IP, instance_got_ip));
ESP_ERROR_CHECK(esp_event_handler_instance_unregister(WIFI_EVENT, ESP_EVENT_A... |
Fix minor documentation errors.
When I migrated the predefined library to manifest files, I used a
script to do the rollover. It seems that the script didn't format list
elements correctly, and it went unnoticed. | @@ -74,8 +74,9 @@ predefined ByteString {
###
### On error, this generates an empty `ByteString`. Error conditions are:
###
- ### * Either `start` or `stop` is out of range. * The `start` is larger than
- ### the `stop` (reversed).
+ ### * Either `start` or `stop` is out of range.
+ ###
+ ### * The `start` is larger th... |
readme UPDATE mention python bindings | @@ -195,6 +195,7 @@ If you are using `cmake` in you project, it is also possible to use the provided
There are no bindings for other languages directly in this project but they are
available separately.
+* [Python](https://github.com/CESNET/libyang-python/)
* [C++](https://github.com/CESNET/libyang-cpp/)
* [Rust](https... |
Fix false positive gcc warning on legitimate use of `strndup`. | @@ -124,6 +124,10 @@ if("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU")
set(CMAKE_C_FLAGS "-Wno-stringop-truncation ${CMAKE_C_FLAGS}")
set(CMAKE_CXX_FLAGS "-Wno-stringop-truncation ${CMAKE_CXX_FLAGS}")
endif()
+ if(CMAKE_CXX_COMPILER_VERSION VERSION_GREATER_EQUAL 11.0)
+ set(CMAKE_C_FLAGS "-Wno-error=stringop-overread ${CMA... |
py/compile: Check that arch is set when compiling native, viper or asm. | @@ -852,6 +852,18 @@ STATIC bool compile_built_in_decorator(compiler_t *comp, int name_len, mp_parse_
compile_syntax_error(comp, name_nodes[1], "invalid micropython decorator");
}
+ #if MICROPY_DYNAMIC_COMPILER
+ if (*emit_options == MP_EMIT_OPT_NATIVE_PYTHON || *emit_options == MP_EMIT_OPT_VIPER) {
+ if (emit_native_t... |
Clear the pointer to the socket when closing it also in case of
an ungraceful operation.
This fixes a use-after-free bug found and reported by Taylor
Brandstetter from Google by testing the userland stack. | #if defined(__FreeBSD__) && !defined(__Userspace__)
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.c 363323 2020-07-19 12:34:19Z tuexen $");
+__FBSDID("$FreeBSD: head/sys/netinet/sctp_pcb.c 363456 2020-07-23 19:43:49Z tuexen $");
#endif
#include <netinet/sctp_os.h>
@@ -4096,6 +4096,11 @@ sctp_inp... |
BugID:19620416: Remove cli dependence in mqttapp's aos.mk | @@ -5,10 +5,14 @@ $(NAME)_VERSION := 1.0.0
$(NAME)_SUMMARY := mqtt examples
$(NAME)_SOURCES := app_entry.c
-$(NAME)_COMPONENTS := linkkit_sdk_c netmgr cjson cli
+$(NAME)_COMPONENTS := linkkit_sdk_c netmgr cjson
# MQTTAPP_CONFIG_TEST_LOOP ?= y
+ifneq ($(HOST_MCU_FAMILY),mcu_esp8266)
+$(NAME)_COMPONENTS += cli
+endif
+
i... |
remove printf mixin in original config | @@ -149,7 +149,6 @@ class FireSimRocketChipOctaCoreConfig extends Config(
// SHA-3 accelerator config
class FireSimRocketChipSha3L2Config extends Config(
new WithInclusiveCache ++
- new sha3.WithSha3Printf ++
new sha3.WithSha3Accel ++
new WithNBigCores(1) ++
new FireSimRocketChipConfig)
|
remove new menu item hilighting from the 17.0 menu items | @@ -656,13 +656,11 @@ houdiniEngineCreateUI()
menuItem -label "Update Houdini Shelf"
-imageOverlayLabel "UHS"
- -version $mayaVersion
-annotation "Replace your old Houdini shelf with the current version "
-command "houdiniEngine_updateShelf";
menuItem -label "Update Houdini Tool Shelf"
-imageOverlayLabel "UTS"
- -versi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.