message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
hood: added chat-store, hook, and view to startup | [%home %group-hook]
[%home %permission-store]
[%home %permission-group-hook]
+ [%home %chat-store]
+ [%home %chat-hook]
+ [%home %chat-view]
==
:~ [%home %lens]
[%home %acme]
[%home %group-hook]
[%home %permission-store]
[%home %permission-group-hook]
+ [%home %chat-store]
+ [%home %chat-hook]
+ [%home %chat-view]
[%ho... |
vere: prune wrong motes
verified using vim regex search (and corresponding regexes for the 3, 2,
and 1 letter motes):
/c3__\(.\)\(.\)\(.\)\(.\) *c3_s4\(('\1','\2','\3','\4')\)\@! | # define c3__plet c3_s4('p','l','e','t')
# define c3__plic c3_s4('p','l','i','c')
# define c3__plin c3_s4('p','l','i','n')
-# define c3__plol c3_s4('p','l','o','m')
# define c3__plom c3_s4('p','l','o','m')
# define c3__plov c3_s4('p','l','o','v')
# define c3__plug c3_s4('p','l','u','g')
# define c3__zpdx c3_s4('z','p',... |
Master debugging info. | @@ -19,9 +19,11 @@ static void buffer_eq (char *buf1, char *buf2) {
for (i = 0; i < BUF_SIZE; i++) {
if (buf1[i] != buf2[i]) {
led_on(0);
+ printf("Buffers not equal: FAIL (%i: %i != %i\n", (int)i, (int)buf1[i], (int)buf2[i]);
return;
}
}
+ printf("Buffers equal: PASS\n");
}
// This callback occurs when a read_write ca... |
spgram/autotest: updating config test to use CONTEND_ISNULL | @@ -218,22 +218,21 @@ void autotest_spgramcf_config_errors()
#if LIQUID_STRICT_EXIT
AUTOTEST_WARN("skipping spgram config test with strict exit enabled\n");
return;
-#else
+#endif
// check that object returns NULL for invalid configurations
fprintf(stderr,"warning: ignore potential errors here; checking for invalid con... |
hfuzz-cc: better basename/strstr discovery | @@ -266,6 +266,7 @@ static int ccMode(int argc, char** argv) {
} else {
args[j++] = "cc";
}
+
commonOpts(&j, args);
for (int i = 1; i < argc; i++) {
@@ -285,6 +286,8 @@ static int ldMode(int argc, char** argv) {
args[j++] = "cc";
}
+ commonOpts(&j, args);
+
/* Intercept common *cmp functions */
args[j++] = "-Wl,--wrap=... |
Remove luacheck warning from dead code | @@ -403,7 +403,6 @@ local function titan_type_tag(typ)
elseif tag == types.T.Record then error("not implemented")
else error("impossible")
end
- return util.render(tmpl, {SLOT = slot})
end
-- Specialized version of luaH_barrierback. To be called when setting v as an
|
Removing commented code
Removing some commented out code. No code change. | @@ -602,11 +602,6 @@ io_desc_t *malloc_iodesc(const iosystem_desc_t *ios, int piotype, int ndims)
iodesc->firstregion = alloc_region(ndims);
/* Set the swap memory settings to defaults. */
- /*
- iodesc->handshake = swapm_defaults.handshake;
- iodesc->isend = swapm_defaults.isend;
- iodesc->max_requests = swapm_default... |
Enable default setting when testing cli
enable `cribl` backend when testing `--cribldest` | @@ -95,9 +95,14 @@ starttest cribl_edge_cribl_home
nc -lU $CRIBL_HOME_SOCKET > $DEST_FILE &
ERR+=$?
+PRE_SCOPE_CRIBL_ENABLE=$SCOPE_CRIBL_ENABLE
+unset SCOPE_CRIBL_ENABLE
+
CRIBL_HOME=$CRIBL_HOME_PATH scope run --cribldest=edge ls
ERR+=$?
+export SCOPE_CRIBL_ENABLE=$PRE_SCOPE_CRIBL_ENABLE
+
count=$(grep '"type":"evt"' $... |
VERSION bump to version 2.0.244 | @@ -61,7 +61,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
# set version of the project
set(LIBYANG_MAJOR_VERSION 2)
set(LIBYANG_MINOR_VERSION 0)
-set(LIBYANG_MICRO_VERSION 243)
+set(LIBYANG_MICRO_VERSION 244)
set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}... |
Test: Exclude `augeas` if ASAN is enabled | #include <algorithm>
#include <iostream>
+#include <kdbconfig.h>
#include <plugindatabase.hpp>
#include <gtest/gtest.h>
@@ -79,10 +80,13 @@ TEST (PluginVariantsDatabase, getPluginVariants)
ASSERT_EQ (0, dump_variants.size ());
}
+#ifndef ENABLE_ASAN
+ // ASAN reports memory leaks for the Augeas plugin on macOS: https:/... |
occ-sensors : Add OCC inband sensor region to exports | @@ -546,7 +546,7 @@ static const char *get_sensor_loc_string(enum occ_sensor_location loc)
void occ_sensors_init(void)
{
struct proc_chip *chip;
- struct dt_node *sg;
+ struct dt_node *sg, *exports;
int occ_num = 0, i;
/* OCC inband sensors is only supported in P9 */
@@ -633,4 +633,16 @@ void occ_sensors_init(void)
occ... |
validate length of string before memory compare
Tested-by: IoTivity Jenkins | @@ -331,30 +331,34 @@ oc_parse_endpoint_string(oc_string_t *endpoint_str, oc_endpoint_t *endpoint,
const char *address = NULL;
endpoint->flags = 0;
+ size_t len = oc_string_len(*endpoint_str);
#ifdef OC_TCP
- if (memcmp(OC_SCHEME_COAPS_TCP, oc_string(*endpoint_str),
+ if (len > strlen(OC_SCHEME_COAPS_TCP) &&
+ memcmp(O... |
bntest: make sure file_rshift tests BN_rshift1 as well when appropriate | @@ -1155,21 +1155,28 @@ static int file_rshift(STANZA *s)
BIGNUM *rshift = getBN(s, "RShift");
BIGNUM *ret = BN_new();
int n = 0;
- int st = 0;
+ int errcnt = 1;
if (a == NULL || rshift == NULL || ret == NULL || !getint(s, &n, "N"))
goto err;
+ errcnt = 0;
if (!BN_rshift(ret, a, n)
|| !equalBN("A >> N", rshift, ret))
-... |
patch xorps at index | @@ -86,10 +86,10 @@ tap_t g_go_tap_17[] = {
{"syscall.openat", go_hook_open, NULL, 0},
{"syscall.unlinkat", go_hook_unlinkat, NULL, 0},
{"syscall.Getdents", go_hook_getdents, NULL, 0},
- {"syscall.socket", go_hook_socket, NULL, 0},
+ {"syscall.socket", go_hook_socket, NULL, 0}, // creates a net object
{"syscall.accept4... |
remove plus and tilda from TStringBase
Note: mandatory check (NEED_CHECK) was skipped | @@ -225,10 +225,6 @@ public:
return Ptr();
}
- constexpr inline const TCharType* operator~() const noexcept {
- return Ptr();
- }
-
inline const_iterator begin() const noexcept {
return Ptr();
}
@@ -275,10 +271,6 @@ public:
return Len();
}
- constexpr inline size_t operator+() const noexcept {
- return Len();
- }
-
inl... |
Remove duplicated EMPTY label in case no bank memory is used | @@ -479,11 +479,11 @@ static uint16_t writeMapBank(struct SortedSections const *sectList,
uint16_t bankEndAddr = sectionTypeInfo[type].startAddr + sectionTypeInfo[type].size;
- writeEmptySpace(prevEndAddr, bankEndAddr);
-
if (used == 0) {
fputs("\tEMPTY\n\n", mapFile);
} else {
+ writeEmptySpace(prevEndAddr, bankEndAdd... |
use disttag in ohpc-release | %include %{_sourcedir}/OHPC_macros
%{!?PROJ_DELIM: %global PROJ_DELIM -ohpc}
+%if 0%{?centos_version} || 0%{?rhel_version}
+%define disttag %{dist}
+%endif
+
+%if 0%{?sles_version} || 0%{?suse_version}
+%if 0%{?suse_version} == 1315
+%define disttag .sle12
+%endif
+%endif
+
Summary: OpenHPC release files
Name: ohpc-rel... |
chat: handle 'no chats' case | @@ -66,7 +66,7 @@ export class Sidebar extends Component {
return selectedPaths.includes(each)
})
.map((each, i) => {
- let channels = groupedChannels[each];
+ let channels = groupedChannels[each] || [];
if (channels.length === 0) return;
if (groupedChannels["/~/"] && groupedChannels["/~/"].length !== 0) {
i = i + 1;
|
bitbox02/setup: bump ecdsa to 0.14
0.14 added support for parsing compressed pubkeys, which is needed to
parse the signer nonce commitment in the anti-klepto protocol. | @@ -76,7 +76,7 @@ setup(
"hidapi>=0.7.99.post21",
"noiseprotocol>=0.3",
"protobuf>=3.7",
- "ecdsa>=0.13",
+ "ecdsa>=0.14",
"semver>=2.8.1",
# Needed as long as we support python < 3.7
"typing_extensions>=3.7.4",
|
Update web interface header and add a footer with copyright, link to the
ippsample project, and a disclaimer. | @@ -960,6 +960,8 @@ html_footer(server_client_t *client) /* I - Client */
{
html_printf(client,
"</div>\n"
+ "<div class=\"footer\">Copyright © 2014-2022 by the IEEE-ISTO Printer Working Group.<br>\n"
+ "ippserver is part of the <a href=\"https://github.com/istopwg/ippsample\" target=\"_blank\">ippsample</a> proje... |
Changes usage of useService to findService to prevent dealock when use/track/etc is executed on a single thread. | @@ -56,38 +56,21 @@ static double getPSAScore(const char *requested_admin, const char *request_qos,
return score;
}
-struct psa_serializer_selection_data {
- const char *requested_serializer;
- long matchingSvcId;
-};
-
-void psa_serializer_selection_callback(void *handle, void *svc __attribute__((unused)), const celix... |
potential fix for link error with clang-cl (issue | @@ -853,8 +853,8 @@ static bool mi_try_new_handler(bool nothrow) {
#else
typedef void (*std_new_handler_t)(void);
-#if (defined(__GNUC__) || defined(__clang__))
-std_new_handler_t __attribute((weak)) _ZSt15get_new_handlerv(void) {
+#if (defined(__GNUC__) || (defined(__clang__) && !defined(_MSC_VER))) // exclude clang-c... |
docs(codes): Windows Support:
are confirmed to work on Windows 11 in VSCode 1.71.2.
Refs: | @@ -2732,7 +2732,7 @@ export default [
],
documentation: "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
os: {
- windows: null,
+ windows: true,
linux: true,
android: false,
macos: true,
@@ -2753,7 +2753,7 @@ export default [
],
documentation: "https://usb.org/sites/default/files/hut1_2.pdf#page=86",
os: {
- ... |
Drop indexes not compatible with timestamptz | @@ -105,7 +105,6 @@ CREATE TABLE poolstats
);
CREATE INDEX IDX_POOLSTATS_POOL_CREATED on poolstats(poolid, created);
-CREATE INDEX IDX_POOLSTATS_POOL_CREATED_HOUR on poolstats(poolid, date_trunc('hour',created));
CREATE TABLE minerstats
(
@@ -120,6 +119,4 @@ CREATE TABLE minerstats
CREATE INDEX IDX_MINERSTATS_POOL_CREA... |
reduce speed of i2c master bus reset routine and release sda | @@ -541,14 +541,23 @@ static esp_err_t i2c_master_clear_bus(i2c_port_t i2c_num)
// because after some serious interference, the bus may keep high all the time and the i2c bus is out of service.
gpio_set_direction(scl_io, GPIO_MODE_OUTPUT_OD);
gpio_set_direction(sda_io, GPIO_MODE_OUTPUT_OD);
- gpio_set_level(scl_io, 1);... |
EVP_SIGNATURE-ED25519.pod: fix typo in algo name
CLA: trivial | @@ -15,7 +15,7 @@ one-shot digest sign and digest verify using PureEdDSA and B<Ed25519> or B<Ed448
(see RFC8032). It has associated private and public key formats compatible with
RFC 8410.
-=head2 ED25591 and ED448 Signature Parameters
+=head2 ED25519 and ED448 Signature Parameters
No additional parameters can be set d... |
doc: remove use of :term: role in tooltip
The configurator can't process :term: glossary references, so remove it. | </xs:element>
<xs:element name="SECURITY_VM_FIXUP" type="Boolean" default="n">
<xs:annotation acrn:title="Security VM Features" acrn:views="advanced">
- <xs:documentation>This option enables hypervisor features potentially needed by a :term:`Security VM`:
+ <xs:documentation>This option enables hypervisor features pote... |
BugId:17624007:[http2app]modify user header | @@ -144,11 +144,14 @@ static int http2_stream_test()
if(handle == NULL) {
return -1;
}
- header_ext_info_t my_header_info = {
- {
+
+ http2_header header[] = {
MAKE_HEADER("test_name", "test_http2_header"),
MAKE_HEADER_CS("hello", "world"),
- },
+ };
+
+ header_ext_info_t my_header_info = {
+ header,
2
};
stream_data_i... |
conn: some peel/urth functionality | @@ -500,18 +500,31 @@ _conn_moor_poke(void* ptr_v, c3_d len_d, c3_y* byt_y)
can_u->mor_u.bal_f(can_u, -5, "peel-bad");
}
else {
- // TODO: fill in %peel namespace.
- //
switch (i_dat) {
default: {
can_u->mor_u.bal_f(can_u, -6, "peel-unknown");
break;
}
-
- case c3__mass: {
- _conn_send_noun(can_u, u3nt(u3k(rid), c3__ma... |
decisions: rephrase+add example | @@ -92,6 +92,7 @@ Here is a full list of off-line discussions, issue trackers, PRs etc. related to
Preferable it is linked, but if it is not possible, it can also be in full-text here.
If particular information is important and not present in any sections above, please quote it here.
-Any discarded ideas and opinions t... |
Add warning when dataset is provided but not used in feature importance. | @@ -197,6 +197,11 @@ static TVector<std::pair<double, TFeature>> CalcFeatureEffectAverageChange(
CB_ENSURE(dataset->MetaInfo.GetFeatureCount() > 0, "no features in pool");
leavesStatisticsOnPool = CollectLeavesStatistics(*dataset, model, localExecutor);
+ } else {
+ if (dataset) {
+ CATBOOST_WARNING_LOG << "Dataset is ... |
error: Exclude High-Level KDB test on Xcode 10.1 | @@ -6,6 +6,50 @@ add_toolheaders (HDR_FILES)
include (LibAddTest)
+# This function checks information about the currently selected version of Xcode.
+#
+# The function exports the variables described below.
+#
+# - XCODE_INSTALLED: This variable specifies, if the current system uses Xcode or not.
+# - XCODE_VERSION: Th... |
add missing colon to close ITP bug | -oidc-agent (4.0.2-2) UNRELEASED; urgency=medium
+oidc-agent (4.0.2-4) UNRELEASED; urgency=medium
[ Marcus hardt ]
* Also accept libcurl4 as a dependency
@@ -26,6 +26,6 @@ oidc-agent (4.0.2-2) UNRELEASED; urgency=medium
based config file instead (assuming yes).
* oidc-agent-cli, oidc-agent-prompt, and oidc-agent-deskto... |
ports/stm32: Re-initialize IMU after every soft-reset.
* Fixes
* On soft-reset all SPI instance are deinitialized, if IMU SPI bus
is enabled in MicroPython it needs to be reinitialized. | @@ -432,10 +432,11 @@ soft_reset:
// mounting the file-system to log errors (if any).
if (first_soft_reset) {
sensor_init();
+ }
+
#if MICROPY_PY_IMU
py_imu_init();
#endif // MICROPY_PY_IMU
- }
mod_network_init();
|
net/ip6: Fix problem using wrong interface for dad detection.
ip6_input() interface flag check should inp not a netif. | @@ -438,7 +438,7 @@ err_t ip6_input(struct pbuf *p, struct netif *inp)
/* match packet against an interface, i.e. is this packet for us? */
if (ip6_addr_ismulticast(ip6_current_dest_addr())) {
- if (netif_is_up(netif)) {
+ if (netif_is_up(inp)) {
/* Always joined to multicast if-local and link-local all-nodes group. */... |
Added documentation to the 60hz logic | @@ -80,6 +80,7 @@ const LighthouseStateParameters LS_Params[LS_END + 1] = {
{.acode = 5, .lh = 1, .axis = 1, .window = PULSE_WINDOW, .offset = 3 * PULSE_WINDOW + 1 * CAPTURE_WINDOW}, // 420000
{.acode = 1, .lh = 0, .axis = 1, .window = CAPTURE_WINDOW, .offset = 4 * PULSE_WINDOW + 1 * CAPTURE_WINDOW, .is_sweep = 1}, // ... |
SOVERSION bump to version 6.4.18 | @@ -72,7 +72,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_
# with backward compatible change and micro version is connected with any internal change of the library.
set(SYSREPO_MAJOR_SOVERSION 6)
set(SYSREPO_MINOR_SOVERSION 4)
-set(SYSREPO_MICRO_SOVERSION 17)
+set(SYSREPO_MICRO_S... |
spi_flash: remove xmc hpm support, because there is some compatible issue with ROM,
Closes | @@ -79,7 +79,7 @@ static spi_flash_requirement_t spi_flash_hpm_chip_hpm_requirement_check_with_cmd
/* The flash listed here should enter the HPM with command 0xA3 */
case 0xC84016:
case 0xC84017:
- if (freq_mhz >= 80) {
+ if (freq_mhz > 80) {
chip_cap = SPI_FLASH_HPM_NEEDED;
}
break;
@@ -123,12 +123,9 @@ static esp_err... |
Do not use calsizeV if is not set | @@ -48,7 +48,7 @@ static SdbHash* internal_ht_new(ut32 size, HashFunction hashfunction,
ht->dupvalue = valdup? valdup: NULL;
ht->table = calloc (ht->size, sizeof (SdbList*));
ht->calcsizeK = calcsizeK? calcsizeK: (CalcSize)strlen;
- ht->calcsizeV = calcsizeV? calcsizeV: (CalcSize)strlen;
+ ht->calcsizeV = calcsizeV? ca... |
Docs - update gpcc compatibility info for 6.8 | <topic id="topic_zkq_j5b_hbb">
<title>Greenplum Command Center</title>
<body>
- <p>Pivotal Greenplum Database 6 is compatible with Pivotal Greenplum Command Center 6.0.0
- and later. See the <xref href="http://gpcc.docs.pivotal.io" format="html" scope="external"
- >Greenplum Command Center documentation</xref> for addi... |
ci: fix the docker build script not to use caches
That's because `docker build` uses caches by default
even if they are too old, which may result in build failure. | @@ -15,6 +15,6 @@ SCRIPT_DIR=$(realpath $(dirname $0))
cd "$SCRIPT_DIR/docker-root"
for variant in $@ ; do
- docker build --tag "${IMAGE_NAME}:${variant}" -f "${SCRIPT_DIR}/Dockerfile.${variant}" .
+ docker build --no-cache --tag "${IMAGE_NAME}:${variant}" -f "${SCRIPT_DIR}/Dockerfile.${variant}" .
docker push "${IMAGE... |
Reduce frequency in which checks for timeouts are done in yr_execute.
Frequency has been reduced to a check every 10 instructions to a check every 100 instructions. This improves performance at the expense of timeout accuracy. | @@ -1631,10 +1631,10 @@ int yr_execute_code(
assert(false);
}
- // Check for timeout every 10 instruction cycles. If timeout == 0 it means
+ // Check for timeout every 100 instruction cycles. If timeout == 0 it means
// no timeout at all.
- if (context->timeout > 0L && ++cycle == 10)
+ if (context->timeout > 0L && ++cy... |
Remove use of SSL_CONNECTION_TREAT_AS_TLS13() from the record layer
In all cases we should be able to replace this with a simple check
against rl->version. | @@ -1539,8 +1539,8 @@ int tls_write_records(OSSL_RECORD_LAYER *rl, OSSL_RECORD_TEMPLATE *templates,
if (!using_ktls) {
/* Explicit IV length, block ciphers appropriate version flag */
- if (s->enc_write_ctx && SSL_USE_EXPLICIT_IV(s)
- && !SSL_CONNECTION_TREAT_AS_TLS13(s)) {
+ if (s->enc_write_ctx != NULL && RLAYER_USE_... |
Run make check on arm64 on Travis CI | @@ -36,6 +36,23 @@ linux-s390x: &linux-s390x
- ulimit -c unlimited
- make check -j32
+linux-arm64: &linux-arm64
+ dist: focal
+ arch: arm64-graviton2
+ group: edge
+ virt: vm
+ env: OPT=-O2
+ script:
+ - |
+ CFLAGS="$OPT"
+ CXXFLAGS="$OPT"
+ export CFLAGS CXXFLAGS
+ - autoreconf -i
+ - ./configure
+ - make -j32
+ - uli... |
Fix metadata flapping | @@ -304,6 +304,21 @@ static void ocf_metadata_flush_superblock_prepare(ocf_pipeline_t pipeline,
ocf_pipeline_next(pipeline);
}
+static void ocf_metadata_flush_superblock_flap(ocf_pipeline_t pipeline,
+ void *priv, ocf_pipeline_arg_t arg)
+{
+ struct ocf_metadata_context *context = priv;
+ struct ocf_metadata_ctrl *ctrl... |
updated mismatch and match message | @@ -94,12 +94,18 @@ namespace ebi
for (auto &output : outputs ) {
if (match_result) {
- std::string match_result = "Line " + std::to_string(line_num) + ": Reference allele \'"
- + reference_sequence + "\' matches with the fasta_sequence";
+ std::string match_result = "Line " + std::to_string(line_num)
+ + ": Chromosome... |
Include mac_meth and mac_lib in the FIPS provider | LIBS=../../libcrypto
$COMMON=digest.c evp_enc.c evp_lib.c evp_fetch.c cmeth_lib.c evp_utils.c \
- keymgmt_meth.c keymgmt_lib.c
+ mac_lib.c mac_meth.c keymgmt_meth.c keymgmt_lib.c
SOURCE[../../libcrypto]=$COMMON\
encode.c evp_key.c evp_cnf.c \
e_des.c e_bf.c e_idea.c e_des3.c e_camellia.c\
@@ -16,7 +16,7 @@ SOURCE[../..... |
Logic for overriding fall landing and landframes. | @@ -20217,6 +20217,13 @@ bool check_landframe(entity *ent)
{
return 0;
}
+
+ // Can't be bound with a landframe override.
+ if(check_bind_override(ent, BINDING_OVERRIDING_LANDFRAME))
+ {
+ return 0;
+ }
+
// Can't be passed over current animation's frame count.
if(ent->animation->landframe->frame > ent->animation->numf... |
Add in CONTRIBUTORS.rst | @@ -177,5 +177,13 @@ Notable contributors
v1.1, msp\_exp430f5529lp etc ...
+`Zixun Li <https://github.com/HiFiPhile>`__
+-----------------------------------------------
+
+- Add new DCD port for Microchip SAMx7x
+- Add IAR compiler support
+- Improve UAC2, CDC, DFU class driver
+
+
`Full contributors list <https://gith... |
stm32/mpconfigport.h: Enable useful networking modules if lwIP enabled. | #define MICROPY_PY_URE_SUB (1)
#define MICROPY_PY_UHEAPQ (1)
#define MICROPY_PY_UHASHLIB (1)
+#define MICROPY_PY_UHASHLIB_MD5 (MICROPY_PY_USSL)
+#define MICROPY_PY_UHASHLIB_SHA1 (MICROPY_PY_USSL)
+#define MICROPY_PY_UCRYPTOLIB (MICROPY_PY_USSL)
#define MICROPY_PY_UBINASCII (1)
#define MICROPY_PY_URANDOM (1)
#define MIC... |
For BT device restore security info from NV to SRAM, should set the ble_hci_handle to a invalid value, otherwise BLE devices may have pairing problem | @@ -81,6 +81,7 @@ BOOLEAN BTM_SecAddDevice (BD_ADDR bd_addr, DEV_CLASS dev_class, BD_NAME bd_name,
p_dev_rec->sec_flags = BTM_SEC_IN_USE;
memcpy (p_dev_rec->bd_addr, bd_addr, BD_ADDR_LEN);
p_dev_rec->hci_handle = BTM_GetHCIConnHandle (bd_addr, BT_TRANSPORT_BR_EDR);
+ p_dev_rec->ble_hci_handle = BTM_GetHCIConnHandle (bd... |
error: fix libuv dbusrecv | @@ -46,9 +46,9 @@ if (ADDTESTING_PHASE)
# the test requires an IO binding; using io_uv for now
check_binding_was_added ("io_uv" IS_INCLUDED)
if (BUILD_TESTING AND IS_INCLUDED)
- if (BUILD_FULL OR BUILD_STATIC)
find_package (libuv QUIET)
+ if (BUILD_FULL OR BUILD_STATIC)
set (STATIC_LIBRARIES ${libuv_LIBRARIES}) # libuv... |
Suppress an open-ended dependency warning
This commit will suppress an open-ended dependency warning
when `gem build oj.gemspec` is executed. | @@ -24,7 +24,7 @@ Gem::Specification.new do |s|
s.rubyforge_project = 'oj'
- s.add_development_dependency 'rake-compiler', '>= 0.9'
+ s.add_development_dependency 'rake-compiler', '>= 0.9', '< 2.0'
s.add_development_dependency 'minitest', '~> 5'
s.add_development_dependency 'wwtd', '~> 0'
end
|
less msgs, better readability | @@ -19,36 +19,27 @@ NAME=`basename $2`
if [ "$NAME" == "top.sh" ]; then
echo " patch $NAME for $SIMULATOR"
if [ "$SIMULATOR" == "xsim" ]; then
- echo "xsim disable step=simulate"
sed -i "s/ simulate/# simulate/g" $1/$2 # run up to elaboration, skip execution
- echo "xsim add -svlib libdpi"
sed -i "s/-log elaborate.log/... |
Update the documentation with some details which describe how to configure a custom kubelet root directory | - [Installation using OLM using upstream catalog and bundle](#installation-using-olm-using-upstream-catalog-and-bundle)
- [Installation using helm](#installation-using-helm)
- [Installation on AKS](#installation-on-aks)
+- [Configure a custom kubelet root directory](#configure-a-custom-kubelet-root-directory)
- [Set lo... |
fix(spi_master): fix the variable command and address flag issue.
Closes | @@ -62,11 +62,11 @@ typedef struct {
#define SPI_TRANS_MODE_DIO (1<<0) ///< Transmit/receive data in 2-bit mode
#define SPI_TRANS_MODE_QIO (1<<1) ///< Transmit/receive data in 4-bit mode
-#define SPI_TRANS_MODE_DIOQIO_ADDR (1<<4) ///< Also transmit address in mode selected by SPI_MODE_DIO/SPI_MODE_QIO
#define SPI_TRANS... |
fix borderpx bug | @@ -4668,6 +4668,7 @@ togglefloating(const Arg *arg)
return;
if (selmon->sel->isfullscreen && !selmon->sel->isfakefullscreen) /* no support for fullscreen windows */
return;
+ selmon->sel->bw = borderpx;
selmon->sel->isfloating = !selmon->sel->isfloating || selmon->sel->isfixed;
if (selmon->sel->isfloating) {
/* restor... |
Disable SMBUS module | /* #define HAL_JPEG_MODULE_ENABLED */
/* #define HAL_OPAMP_MODULE_ENABLED */
/* #define HAL_I2S_MODULE_ENABLED */
-#define HAL_SMBUS_MODULE_ENABLED
+/* #define HAL_SMBUS_MODULE_ENABLED */
/* #define HAL_IWDG_MODULE_ENABLED */
/* #define HAL_LPTIM_MODULE_ENABLED */
#define HAL_LTDC_MODULE_ENABLED
|
DotNetTools: Remove msvc warnings | @@ -62,6 +62,9 @@ VOID NTAPI MenuItemCallback(
{
PPH_PLUGIN_MENU_ITEM menuItem = Parameter;
+ if (!menuItem)
+ return;
+
switch (menuItem->Id)
{
default:
@@ -75,6 +78,7 @@ VOID NTAPI TreeNewMessageCallback(
_In_opt_ PVOID Context
)
{
+ if (Parameter)
DispatchTreeNewMessage(Parameter);
}
@@ -83,6 +87,7 @@ VOID NTAPI PhS... |
scheduler: use labs() to avoid integer truncation | -
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
/* Fluent Bit
@@ -172,7 +171,7 @@ static int schedule_request_promote(struct flb_sched *sched)
else {
/* Check if we should schedule within this frame */
if (passed + FLB_SCHED_REQUEST_FRAME >= request->timeout) {
- next = abs(passed - requ... |
Python: Ignore warnings about string truncation | @@ -44,6 +44,7 @@ else ()
set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-deprecated-register")
elseif (CMAKE_COMPILER_IS_GNUCXX)
set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-cast-function-type")
+ set (SWIG_COMPILE_FLAGS "${SWIG_COMPILE_FLAGS} -Wno-stringop-truncation")
endif ()
set_source_files_properties ... |
Do not run thread_pause when shutting down
While shutting down, after threads have exited, outstanding i/o can cause
the cpu to go into runloop again where thread_pause will crash the os
because all thread pointers are now invalid. | @@ -97,6 +97,8 @@ static inline boolean update_timer(void)
static inline void sched_thread_pause(void)
{
+ if (shutting_down)
+ return;
nanos_thread nt = get_current_thread();
if (nt)
apply(nt->pause);
|
Minor code formatting update. | @@ -507,7 +507,8 @@ print_conn_def (FILE * fp) {
fpopen_obj (fp, sp);
fpskeysval (fp, "url", (conf.ws_url ? conf.ws_url : ""), sp, 0);
fpskeyival (fp, "port", (conf.port ? atoi (conf.port) : 7890), sp, 0);
- fpskeyival (fp, "ping_interval", (conf.ping_interval ? atoi (conf.ping_interval) : 0), sp, 1);
+ fpskeyival (fp,... |
Fix error handling in drbgtest.c | @@ -799,12 +799,15 @@ static void run_multi_thread_test(void)
{
unsigned char buf[256];
time_t start = time(NULL);
- RAND_DRBG *public, *private;
+ RAND_DRBG *public = NULL, *private = NULL;
- public = RAND_DRBG_get0_public();
- private = RAND_DRBG_get0_private();
- RAND_DRBG_set_reseed_time_interval(public, 1);
+ if (... |
use tenmul instead of clear/fmac | @@ -1122,8 +1122,7 @@ static void nufft_apply_adjoint(const linop_data_t* _data, complex float* dst, c
linop_adjoint(data->fft_op, ND, data->cml_dims, grid, ND, data->cml_dims, grid);
- md_clear(ND, data->cim_dims, dst, CFL_SIZE);
- md_zfmacc2(ND, data->cml_dims, data->cim_strs, dst, data->cml_strs, grid, data->lph_str... |
Fix unknown pragma warnings under MSVC. | @@ -3,6 +3,24 @@ import subprocess
import argparse
import os
+header = '''\
+#ifdef __GNUC__
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wunused-parameter"
+#pragma GCC diagnostic ignored "-Wmissing-braces"
+#pragma GCC diagnostic ignored "-Wuninitialized"
+#pragma GCC diagnostic ignored "-Wreturn-ty... |
Changed URL in log. | @@ -63,7 +63,7 @@ assignees: ''
<!--
Debug logs can help to investigate certain problems like device pairing and communication issues.
Logging can be enabled on the command line as described in:
- https://github.com/dresden-elektronik/deconz-rest-plugin/wiki/deCONZ-debug-switches
+ https://github.com/dresden-elektronik... |
Simplify writeExprBinaryOp | @@ -237,14 +237,13 @@ func (g *gen) writeExprUnaryOp(b *buffer, n *a.Expr, rp replacementPolicy, depth
}
func (g *gen) writeExprBinaryOp(b *buffer, n *a.Expr, rp replacementPolicy, depth uint32) error {
- opName, lhsExtra, rhsExtra := "", "", ""
+ opName, extra := "", ""
op := n.Operator()
switch op {
case t.IDXBinaryE... |
VXLAN-GBP: format flags in encap trace | @@ -63,8 +63,9 @@ format_vxlan_gbp_encap_trace (u8 * s, va_list * args)
s =
format (s,
- "VXLAN_GBP encap to vxlan_gbp_tunnel%d vni %d sclass %d flags %d",
- t->tunnel_index, t->vni, t->sclass, t->flags);
+ "VXLAN_GBP encap to vxlan_gbp_tunnel%d vni %d sclass %d flags %U",
+ t->tunnel_index, t->vni, t->sclass,
+ format... |
Keep Apple Clang from optimizing this | +#if defined(__apple_build_version__) && __clang_major__ == 11 && __clang_minor__ == 0 && __clang_patchlevel__ == 3
+#pragma clang optimize off
+#endif
+
+
/* %0 = "+r"(a_pointer), %1 = "+r"(b_pointer), %2 = "+r"(c_pointer), %3 = "+r"(ldc_in_bytes), %4 for k_count, %5 for c_store */
/* r10 to assist prefetch, r12 = k <... |
Return error on start when detected old metadata of not flushed cache. | @@ -959,7 +959,7 @@ static void _ocf_mngt_attach_load_properties_end(void *priv, int error,
}
context->metadata.shutdown_status = properties->shutdown_status;
- context->metadata.dirty_flushed = properties->shutdown_status;
+ context->metadata.dirty_flushed = properties->dirty_flushed;
if (cache->device->init_mode == o... |
Restore pre-refactoring spacing sizes for print | @@ -799,7 +799,10 @@ s32 tic_api_print(tic_mem* memory, const char* text, s32 x, s32 y, u8 color, boo
{
u8 mapping[] = {255, color};
tic_tilesheet font_face = getTileSheetFromSegment(memory, 1);
- return drawText((tic_machine*)memory, &font_face, text, x, y, alt ? TIC_ALTFONT_WIDTH : TIC_FONT_WIDTH, TIC_FONT_HEIGHT+1, ... |
Mark os.is as deprecated | +:::caution
+**This function has been deprecated.** Use [os.target()](os.target.md) or [os.host()](os.host.md) instead.
+:::
+
Checks the current operating system identifier against a particular value.
```lua
|
Move updates to SharedLocalSnapshotSlot under one lock.
This was probably an oversight, there is no need to update "ready" field of
SharedLocalSnapshotSlot object separately. | @@ -2177,13 +2177,6 @@ StartTransaction(void)
DtxContextToString(DistributedTransactionContext));
}
- if (SharedLocalSnapshotSlot != NULL)
- {
- LWLockAcquire(SharedLocalSnapshotSlot->slotLock, LW_EXCLUSIVE);
- SharedLocalSnapshotSlot->ready = false;
- LWLockRelease(SharedLocalSnapshotSlot->slotLock);
- }
-
/*
* MPP: w... |
ARMv8: fixing invoking function for CPU on | @@ -160,7 +160,7 @@ errval_t psci_cpu_on(uintptr_t target_cpu, lpaddr_t entry_point,
uintptr_t context_id)
{
struct psci_retval retval;
- psci_invoke(PSCI_FN_CPU_OFF, target_cpu, entry_point, context_id, &retval);
+ psci_invoke(PSCI_FN_CPU_ON, target_cpu, entry_point, context_id, &retval);
return psci_error_to_barrelfi... |
Re-evaluate Task.Run usage | @@ -52,7 +52,6 @@ namespace Miningcore.Mining
private readonly CompositeDisposable disposables = new();
private readonly ConcurrentDictionary<string, PoolContext> pools = new();
private readonly BufferBlock<(string Url, ZMessage Message)> queue = new();
- private readonly CancellationTokenSource cts = new();
readonly J... |
Minor bug in metacall node python port ruby test. | @@ -59,7 +59,7 @@ TEST_F(metacall_node_python_port_ruby_test, DefaultConstructor)
ASSERT_EQ((int) 0, (int) metacall_load_from_memory("node", buffer, sizeof(buffer), NULL));
}
- //#endif /* OPTION_BUILD_LOADERS_NODE && OPTION_BUILD_LOADERS_PY && OPTION_BUILD_LOADERS_RB */
+ #endif /* OPTION_BUILD_LOADERS_NODE && OPTION_... |
ISH: HID: enable HID subsystem
enable HID subsystem.
BRANCH=none
TEST=Tested on Atlas board.
CQ-DEPEND=CL:1279433
Commit-Ready: Hyungwoo Yang
Tested-by: Hyungwoo Yang | #define CONFIG_ISH_IPC
/* HECI */
#define CONFIG_HECI
+/* HID subsystem */
+#define CONFIG_HID_SUBSYS
+
/* I2C ports */
#define I2C_PORT_TP ISH_I2C0
#define GPIO_I2C_PORT_TP_SCL GPIO_ISH_I2C0_SCL
|
u3: treat fsync/fdatasync snapshot errors as fatal | @@ -605,8 +605,17 @@ _ce_patch_compose(void)
static void
_ce_patch_sync(u3_ce_patch* pat_u)
{
- c3_sync(pat_u->ctl_i);
- c3_sync(pat_u->mem_i);
+ if ( -1 == c3_sync(pat_u->ctl_i) ) {
+ fprintf(stderr, "loom: control file sync failed: %s\r\n",
+ strerror(errno));
+ c3_assert(!"loom: control sync");
+ }
+
+ if ( -1 == c3... |
CI: Use setup-ruby instead
Because `eregon/use-ruby-action` fails | @@ -92,7 +92,7 @@ jobs:
restore-keys: |
v1-macos-imagemagick-${{ matrix.imagemagick-version.full }}
- name: Set up Ruby ${{ matrix.ruby-version }}
- uses: eregon/use-ruby-action@master
+ uses: ruby/setup-ruby@master
with:
ruby-version: ${{ matrix.ruby-version }}
- name: Update/Install packages
|
Get rid of +*this for now. | reqs=(list (pair (unit @t) request)) :: rpc requests
wir=wire :: wire for reqs
==
- +* this .
::
++ ta-save
^- (quip move _+>)
::
++ ta-read-ships
|= who=(list @p)
- ?~ who this
- $(who t.who, this (ta-read %ships i.who))
+ ?~ who +>
+ =. +> (ta-read %ships i.who)
+ $(who t.who)
::
::
++ ta-new-filter
::
++ ta-init-res... |
removed multiplier from trail radius scale | @@ -32,7 +32,7 @@ class Cursortrail(FrameObject):
def __init__(self, trail_frames, continuous, settings):
super().__init__(trail_frames, settings=settings)
self.continuous = continuous
- self.radius = self.settings.scale * 3
+ self.radius = self.settings.scale
self.alphas = [] # for continuous trail
self.updatetime = 1... |
Highlight line on error | @@ -193,13 +193,15 @@ fileprivate func parseArgs(_ args: inout [String]) {
}
}
+ let errorColor = #colorLiteral(red: 0.6743632277, green: 0.1917540668, blue: 0.1914597603, alpha: 1)
+
let errorVC = ErrorViewController()
errorVC.view = errorView
- errorVC.view.backgroundColor = #colorLiteral(red: 0.6743632277, green: 0.... |
lovr.graphics.getStats does a flush; | @@ -389,6 +389,7 @@ static int l_lovrGraphicsGetStats(lua_State* L) {
lua_createtable(L, 0, 2);
}
+ lovrGraphicsFlush();
const GpuStats* stats = lovrGraphicsGetStats();
lua_pushinteger(L, stats->drawCalls);
lua_setfield(L, 1, "drawcalls");
|
Fix keypoints match list. | @@ -5971,7 +5971,7 @@ static mp_obj_t py_image_match_descriptor(uint n_args, const mp_obj_t *args, mp_
count = orb_match_keypoints(kpts1->kpts, kpts2->kpts, match, threshold, &r, &c, &theta);
// Add matching keypoints to Python list.
- for (int i=0; i<count; i+=2) {
+ for (int i=0; i<count*2; i+=2) {
mp_obj_t index_obj... |
out_prometheus_exporter: fix msgpack decoder prototype | @@ -73,11 +73,12 @@ static void cb_prom_flush(const void *data, size_t bytes,
struct flb_config *config)
{
int ret;
+ size_t off = 0;
cmt_sds_t text;
struct cmt *cmt;
struct prom_exporter *ctx = out_context;
- ret = cmt_decode_msgpack(&cmt, (char *) data, bytes);
+ ret = cmt_decode_msgpack_create(&cmt, (char *) data, b... |
Don't pass -I<platform-dir> twice
We currently pass this CFLAG twice. For example:
```
$ make TARGET=zoul V=1
arm-none-eabi-gcc [...] -I. -I../../arch/platform/zoul/. [...] -I../../arch/platform/zoul/
```
This commit fixes this behaviour | @@ -283,7 +283,7 @@ CONTIKI_CPU_DIRS_CONCAT = ${addprefix $(CONTIKI_CPU)/, \
CONTIKI_ARCH_DIRS = ${addprefix $(CONTIKI)/, arch}
SOURCEDIRS = . $(PROJECTDIRS) $(CONTIKI_TARGET_DIRS_CONCAT) $(CONTIKI_ARCH_DIRS) \
- $(CONTIKI_CPU_DIRS_CONCAT) $(CONTIKIDIRS) $(MODULEDIRS) $(EXTERNALDIRS) ${dir $(target_makefile)}
+ $(CONTI... |
Use stringbuilder in ecma_builtin_typedarray_prototype_join
JerryScript-DCO-1.0-Signed-off-by: Adam Szilagyi | @@ -1134,36 +1134,41 @@ ecma_builtin_typedarray_prototype_join (ecma_value_t this_arg, /**< this argumen
}
/* 7-8. */
- ecma_string_t *return_string_p = ecma_op_typedarray_get_to_string_at_index (obj_p, 0);
+ ecma_string_t *first_string_p = ecma_op_typedarray_get_to_string_at_index (obj_p, 0);
- if (JERRY_UNLIKELY (ret... |
[DeviceDriver][SFUD] Change the rt_sfud_flash_find() function position. | @@ -455,6 +455,35 @@ rt_err_t rt_sfud_flash_delete(rt_spi_flash_device_t spi_flash_dev) {
return RT_EOK;
}
+sfud_flash_t rt_sfud_flash_find(const char *spi_dev_name)
+{
+ rt_spi_flash_device_t rtt_dev = RT_NULL;
+ struct rt_spi_device *rt_spi_device = RT_NULL;
+ sfud_flash_t sfud_dev = RT_NULL;
+
+ rt_spi_device = (str... |
Fix the ce_len+2 fix (Aggressive NSEC review) | @@ -1527,7 +1527,7 @@ val_neg_getmsg(struct val_neg_cache* neg, struct query_info* qinfo,
wc_ce[1] = (uint8_t)'*';
memmove(wc_ce+2, ce, ce_len);
wc_qinfo.qname = wc_ce;
- wc_qinfo.qname_len = ce_len += 2;
+ wc_qinfo.qname_len = ce_len + 2;
wc_qinfo.qtype = qinfo->qtype;
|
options/ansi: Fix weak_alias | #ifndef _WEAK_ALIAS_H
#define _WEAK_ALIAS_H
-#define weak_alias(name, alias) \
- extern __typeof (name) alias __attribute__ ((weak, alias (#name)));
+#define weak_alias(name, alias_to) \
+ extern __typeof (name) alias_to __attribute__ ((weak, alias(#name)));
#endif
|
iommu: adding comments to the struct declarations of VT-d | @@ -23,34 +23,89 @@ extern vregion_flags_t vtd_table_map_attrs;
typedef uint16_t vtd_domid_t;
+/**
+ * @brief the number of entries in the root table. this corresponds to the
+ * maximum possible number of PCI busses which is an 8-bit number,
+ * hence 256 entries
+ */
#define VTD_NUM_ROOT_ENTRIES 256
+/**
+ * @brief t... |
docs - add resgroup seg memory calculation to resgroup page | href="../ref_guide/config_params/guc-list.xml#gp_resource_group_cpu_limit"
type="section"/></codeph> server configuration parameter identifies the maximum
percentage of system CPU resources to allocate to resource groups on each Greenplum Database
- segment node. The remaining CPU resources are used for the OS kernel a... |
OcResetSystemLib: Initial import | UefiLib|MdePkg/Library/UefiLib/UefiLib.inf
UefiRuntimeServicesTableLib|MdePkg/Library/UefiRuntimeServicesTableLib/UefiRuntimeServicesTableLib.inf
UefiUsbLib|MdePkg/Library/UefiUsbLib/UefiUsbLib.inf
+ ResetSystemLib|OpenCorePkg/Library/OcResetSystemLib/OcResetSystemLib.inf
!include NetworkPkg/NetworkLibs.dsc.inc
|
Indicate no support for mining.extranonce.subscribe stratum method | @@ -267,7 +267,7 @@ namespace MiningCore.Blockchain.Ethereum
break;
case EthereumStratumMethods.ExtraNonceSubscribe:
- client.Respond(true, request.Id);
+ client.RespondError(StratumError.Other, "not supported", request.Id, false);
break;
default:
|
Skip cinema tests on windows. | {"platform":"win", "category":"databases","file":"reopen.py","cases":["reopen_7_01","reopen_7_02"]},
{"platform":"win", "category":"databases","file":"silo.py","cases":["silo_26","silo_36","silo_37","silo_38","silo_39"]},
{"platform":"win", "category":"databases","file":"vista.py"},
+ {"platform":"win", "category":"hyb... |
tm4c1294-launchpad/Kconfig: Fix warning: defaults for choice values not supported | @@ -87,12 +87,10 @@ choice
config TM4C1294_LAUNCHPAD_UART2_RX_A6
bool "Use A6 as UART Rx pin"
- default n
depends on TIVA_UART2 && !TM4C1294_LAUNCHPAD_JUMPERS_CAN
config TM4C1294_LAUNCHPAD_UART2_RX_D4
bool "Use D4 as UART Rx pin"
- default n
depends on TIVA_UART2
endchoice # UART2 Rx pin selection
@@ -104,12 +102,10 @@... |
Update satelite test to produce proper qlog | @@ -7358,8 +7358,11 @@ static int satellite_test_one(picoquic_congestion_algorithm_t* ccalgo, size_t da
picoquic_cnx_set_pmtud_required(test_ctx->cnx_client, 1);
+ /* set the binary log on the client side */
picoquic_set_binlog(test_ctx->qclient, binlog_file_name);
test_ctx->qclient->use_long_log = 1;
+ /* Since the cl... |
Fixed bug with matter power spectrum in case of Nur=0 | @@ -284,6 +284,9 @@ static void ccl_fill_class_parameters(ccl_cosmology * cosmo, struct file_content
if (cosmo->params.N_nu_rel > 1.e-4){
strcpy(fc->name[14],"N_ur");
sprintf(fc->value[14],"%e",cosmo->params.N_nu_rel);
+ }else{
+ strcpy(fc->name[14],"N_ur");
+ sprintf(fc->value[14],"%e", 0.);
}
if (cosmo->params.N_nu_m... |
Coder spec: move "Variables" closer to top
Lots of other tests assume that local and global variables work. In case this
feature breaks, it is better to fail early to get a better error message. | @@ -102,6 +102,34 @@ describe("Pallene coder /", function()
end)
end)
+ describe("Variables /", function()
+ setup(compile([[
+ function fst(x:integer, y:integer): integer return x end
+ function snd(x:integer, y:integer): integer return y end
+
+ local n = 0
+ function next_n(): integer
+ n = n + 1
+ return n
+ end
+ ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.