message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
chip/stm32/usart_tx_interrupt.c: Format with clang-format
BRANCH=none
TEST=none | @@ -37,8 +37,7 @@ static void usart_written(struct consumer const *consumer, size_t count)
STM32_USART_CR1(config->hw->base) |= STM32_USART_CR1_TXEIE;
}
-static void usart_tx_interrupt_handler_common(
- struct usart_config const *config,
+static void usart_tx_interrupt_handler_common(struct usart_config const *config,
... |
Fix HeapTupleSatisfiesNonVacuumable() comment.
Oversight in commit | @@ -1389,7 +1389,7 @@ HeapTupleSatisfiesVacuum(HeapTuple htup, TransactionId OldestXmin,
* True if tuple might be visible to some transaction; false if it's
* surely dead to everyone, ie, vacuumable.
*
- * See SNAPSHOT_TOAST's definition for the intended behaviour.
+ * See SNAPSHOT_NON_VACUUMABLE's definition for the i... |
[lemon] silence coverity warnings | @@ -448,13 +448,11 @@ struct acttab {
#define acttab_yylookahead(X,N) ((X)->aAction[N].lookahead)
/* Free all memory associated with the given acttab */
-/*
PRIVATE void acttab_free(acttab *p){
free( p->aAction );
free( p->aLookahead );
free( p );
}
-*/
/* Allocate a new acttab structure */
PRIVATE acttab *acttab_alloc... |
Dynamically set version for Conan packages. | @@ -3,7 +3,6 @@ from conans import ConanFile, CMake, tools
class LibtcodConan(ConanFile):
name = "libtcod"
- version = "0.0.0"
license = "BSD 3-Clause License"
author = "Kyle Stewart 4b796c65+libtcod@gmail.com"
url = "https://github.com/libtcod/libtcod"
@@ -23,6 +22,11 @@ class LibtcodConan(ConanFile):
"revision": "aut... |
Fix stack grow warning on rpn operations | @@ -604,6 +604,9 @@ class ScriptBuilder {
output.forEach((cmd: string) => {
this.output.push(cmd);
});
+ stack.forEach((value: number) => {
+ this.stackPtr++;
+ });
},
};
|
examples/foc/foc_parseargs.c: fix help message | @@ -82,11 +82,11 @@ static void foc_help(void)
PRINTF("Usage: foc [OPTIONS]\n");
PRINTF(" [-t] run time\n");
PRINTF(" [-h] shows this message and exits\n");
- PRINTF(" [-m] operation mode\n");
+ PRINTF(" [-f] FOC run mode\n");
PRINTF(" 1 - IDLE mode\n");
PRINTF(" 2 - voltage mode\n");
PRINTF(" 3 - current mode\n");
- P... |
feat(fabric test):
add fabric test case "DeInit_Txptr_NULL" | @@ -756,6 +756,14 @@ START_TEST(test_002Transaction_0029TxQueryFail_args_ADD1)
}
END_TEST
+START_TEST(test_002Transaction_0030DeInit_Txptr_NULL)
+{
+ BoatIotSdkInit();
+ BoatHlfabricTxDeInit(NULL);
+ BoatIotSdkDeInit();
+}
+END_TEST
+
Suite *make_transaction_suite(void)
{
@@ -797,6 +805,7 @@ Suite *make_transaction_sui... |
Fix broken elif in dynamic.c
This fixes compilation in the following case:
$(MAKE) USE_OPENMP=1 USE_THREAD=1 NO_LAPACK=0 DYNAMIC_ARCH=1 \
DYNAMIC_LIST="HASWELL SKYLAKEX ATOM COOPERLAKE SAPPHIRERAPIDS ZEN" | @@ -96,7 +96,7 @@ extern gotoblas_t gotoblas_BARCELONA;
#endif
#ifdef DYN_ATOM
extern gotoblas_t gotoblas_ATOM;
-elif defined(DYN_NEHALEM)
+#elif defined(DYN_NEHALEM)
#define gotoblas_ATOM gotoblas_NEHALEM
#else
#define gotoblas_ATOM gotoblas_PRESCOTT
|
out_http: add more details in events and messages | @@ -401,21 +401,26 @@ void cb_http_flush(void *data, size_t bytes,
*
*/
if (c->resp.status < 200 || c->resp.status > 205) {
- flb_error("[out_http] HTTP STATUS=%i", c->resp.status);
+ flb_error("[out_http] %s:%i, HTTP status=%i",
+ ctx->host, ctx->port, c->resp.status);
out_ret = FLB_RETRY;
}
else {
if (c->resp.payload... |
SOVERSION bump to version 7.9.2 | @@ -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 7)
set(SYSREPO_MINOR_SOVERSION 9)
-set(SYSREPO_MICRO_SOVERSION 1)
+set(SYSREPO_MICRO_SO... |
dev-tools/hwloc: bump version to v1.11.10 | %define PNAME %(echo %{pname} | tr [a-z] [A-Z])
Name: %{pname}%{PROJ_DELIM}
-Version: 1.11.9
+Version: 1.11.10
Release: 1%{?dist}
Summary: Portable Hardware Locality
License: BSD-3-Clause
|
Fix bio_wait() in crypto/bio/bio_lib.c in case OPENSSL_NO_SOCK | @@ -788,7 +788,9 @@ void bio_cleanup(void)
/* Internal variant of the below BIO_wait() not calling BIOerr() */
static int bio_wait(BIO *bio, time_t max_time, unsigned int milliseconds)
{
+#ifndef OPENSSL_NO_SOCK
int fd;
+#endif
if (max_time == 0)
return 1;
|
data tree DOC lyd_merge examples | @@ -1407,6 +1407,16 @@ LY_ERR lyd_dup_meta_single(const struct lyd_meta *meta, struct lyd_node *parent,
* @brief Merge the source data subtree into the target data tree. Merge may not be complete until validation
* is called on the resulting data tree (data from more cases may be present, default and non-default values... |
Fix parameter mismatch in map-t code | @@ -189,7 +189,7 @@ ip6_map_t_icmp (vlib_main_t * vm,
d0 =
pool_elt_at_index (map_main.domains,
vnet_buffer (p0)->map_t.map_domain_index);
- ctx0.sender_port = ip6_get_port (ip60, 0, len0);
+ ctx0.sender_port = ip6_get_port (ip60, 0, p0->current_length);
ctx0.d = d0;
if (ctx0.sender_port == 0)
{
|
group-hook: on-load, re-establish subscriptions
For every item in the synced map that doesn't have a matching outgoing
subscription, re-establish the subscription we expect to have. | ++ on-save !>(state)
++ on-load
|= old=vase
- `this(state !<(state-zero old))
+ ^- (quip card _this)
+ :_ this(state !<(state-zero old))
+ %+ murn
+ ~(tap by synced)
+ |= [=path =ship]
+ ^- (unit card)
+ =/ =wire
+ [(scot %p ship) %group path]
+ =/ =term
+ ?: =(our.bowl ship)
+ %group-store
+ %group-hook
+ ?: (~(has by... |
Update the build artifacts path for gpdb_prd pipeline
Authored-by: Tingfang Bao | @@ -36,30 +36,30 @@ resources:
- name: libquicklz-centos7
type: gcs
source:
- bucket: ((pivotal-gp-internal-artifacts-gcs-bucket))
- json_key: ((gcs-key))
- regexp: centos7/libquicklz-(\d.*)\.el7\.x86_64\.rpm
+ bucket: ((gcs-bucket))
+ json_key: ((concourse-gcs-resources-service-account-key))
+ regexp: gp-internal-arti... |
phb4: remove POWER9N DD1 creset workaround | @@ -3384,11 +3384,6 @@ static int64_t phb4_creset(struct pci_slot *slot)
xscom_write(p->chip_id,
p->pci_stk_xscom + XPEC_PCI_STK_ETU_RESET, 0x0);
- /* DD1 errata: write to PEST to force update */
- phb4_ioda_sel(p, IODA3_TBL_PESTA, PHB4_RESERVED_PE_NUM(p),
- false);
- phb4_write_reg(p, PHB_IODA_DATA0, 0);
-
pci_slot_se... |
test/evp_extra_test.c: Add test for CMAC keygen with a NULL engine
Verifies that is fixed | @@ -1179,6 +1179,27 @@ static int test_EVP_PKEY_check(int i)
return ret;
}
+static int test_CMAC_keygen(void)
+{
+ /*
+ * This is a legacy method for CMACs, but should still work.
+ * This verifies that it works without an ENGINE.
+ */
+ EVP_PKEY_CTX *kctx = EVP_PKEY_CTX_new_id(EVP_PKEY_CMAC, NULL);
+ int ret = 0;
+
+ ... |
hv: Makefile flags initialization
For hypervisor, we initliaze the flags used in build command
to empty to avoid flags set in default env impact to hypervisor
build.
Acked-by: VanCutsem Geoffroy
Acked-by: Eddie Dong | @@ -19,6 +19,15 @@ BASEDIR := $(shell pwd)
HV_OBJDIR ?= $(CURDIR)/build
HV_FILE := acrn
+# initialize the flags we used
+CFLAGS :=
+ASFLAGS :=
+LDFLAGS :=
+ARCH_CFLAGS :=
+ARCH_ASFLAGS :=
+ARCH_ARFLAGS :=
+ARCH_LDFLAGS :=
+
.PHONY: default
default: all
|
Fix BillBoardRenderer <-> VectorLayer deadlock (issue | @@ -163,14 +163,14 @@ namespace carto {
const std::vector<std::shared_ptr<BillboardDrawData> >& billboardDrawDatas,
StyleTextureCache& styleCache, const ViewState& viewState)
{
- std::lock_guard<std::recursive_mutex> lock(_mutex);
-
// Get layer opacity
float opacity = 1.0f;
- if (auto layer = _layer.lock()) {
+ if (st... |
Shrink gif some more. | @@ -164,4 +164,4 @@ See the examples directory for some example janet code.
Janet is named after the omniscient and friendly artificial being in [The Good Place](https://en.wikipedia.org/wiki/The_Good_Place).
-<img src="https://raw.githubusercontent.com/janet-lang/janet/master/assets/janet-the-good-place.gif" alt="Jane... |
digest: skip null entries in batch mode | @@ -164,10 +164,13 @@ int flb_digest_simple_batch(int hash_type,
for (entry_index = 0 ;
entry_index < entry_count && result == FLB_CRYPTO_SUCCESS;
entry_index++) {
+ if (data_entries[entry_index] != NULL &&
+ length_entries[entry_index] > 0) {
result = flb_digest_update(&digest_context,
data_entries[entry_index],
lengt... |
xml BUGFIX uninitialized variable | @@ -838,7 +838,7 @@ search_file:
LY_ERR
lysp_load_submodule(struct ly_parser_ctx *ctx, struct lysp_module *mod, struct lysp_include *inc)
{
- struct lysp_submodule *submod;
+ struct lysp_submodule *submod = NULL;
const char *submodule_data = NULL;
LYS_INFORMAT format = LYS_IN_UNKNOWN;
void (*submodule_data_free)(void *... |
Make sure to run util/mktar.sh from the source directory | @@ -231,6 +231,7 @@ TARFLAGS= {- $target{TARFLAGS} -}
BASENAME= openssl
NAME= $(BASENAME)-$(VERSION)
+# Relative to $(SRCDIR)
TARFILE= ../$(NAME).tar
##### Project flags ##################################################
@@ -873,7 +874,7 @@ tags TAGS: FORCE
# Release targets (note: only available on Unix) #############... |
Fix openbsd build. | @@ -22,7 +22,7 @@ const mkcond = {mtx
}
const condwait = {cond
- var seq
+ var seq : uint32
var mtx
mtx = cond._mtx
@@ -33,7 +33,7 @@ const condwait = {cond
FIXME?: `futex` can be interrupted but `condwait` should always be done
in a loop anyway.
*/
- sys.futex(&cond._seq, sys.Futexwait, seq, Zptr, Zptr)
+ sys.futex(&c... |
zonemd, please doxygen
zonemd, fix clang analyzer warning about null nsec3 salt pointer access. | @@ -7673,9 +7673,14 @@ static int nsec3_of_param_has_type(struct auth_rrset* nsec3, int algo,
if(!nsec3_get_params(&pk, i, &rralgo, &rriter, &rrsalt,
&rrsaltlen))
continue; /* no parameters, malformed */
- if(rralgo != algo || rriter != iter || rrsaltlen != saltlen ||
- memcmp(rrsalt, salt, saltlen) != 0)
+ if(rralgo !... |
doc: add description for usb-virt-hld
add description of supporting WaaG USB camera and headset. | @@ -57,9 +57,9 @@ The following USB devices are supported for the WaaG and LaaG operating systems.
+--------------+---------+---------+
| USB Keyboard | Y | Y |
+--------------+---------+---------+
-| USB Camera | N | Y |
+| USB Camera | Y | Y |
+--------------+---------+---------+
-| USB Headset | N | Y |
+| USB Heads... |
fix unsafe read of Y in assembly kernel | MOVDDUP(4 * SIZE, A1, a1)
- movsd 0 * SIZE(YY), yy1
- movhpd 1 * SIZE(YY), yy1
- movsd 2 * SIZE(YY), yy2
- movhpd 3 * SIZE(YY), yy2
-
movapd 8 * SIZE(XX), xtemp1
movapd 10 * SIZE(XX), xtemp2
movapd 12 * SIZE(XX), xtemp3
MOVDDUP(6 * SIZE - (4 * SIZE), A2, a2)
ALIGN_3
+.L12_prep:
+ movsd 0 * SIZE(YY), yy1
+ movhpd 1 * SI... |
Upload code coverage data. | @@ -107,6 +107,60 @@ jobs:
run: |
cmake --install ${{env.CMAKE_BUILD_DIR}} --config ${{matrix.config}}
+ coverage:
+ runs-on: ${{ matrix.os }}
+ strategy:
+ fail-fast: true
+ matrix:
+ include:
+ - os: ubuntu-20.04
+ triplet: x64-linux
+ steps:
+ - uses: actions/checkout@v2
+ with:
+ submodules: true
+ - name: Install ... |
diff FEATURE support for state list merging | @@ -1427,6 +1427,11 @@ lyd_diff_merge_r(const struct lyd_node *src_diff, struct lyd_node *diff_parent,
ret = lyd_diff_merge_replace(diff_node, cur_op, src_diff);
break;
case LYD_DIFF_OP_CREATE:
+ if ((cur_op == LYD_DIFF_OP_CREATE) && lysc_is_dup_inst_list(diff_node->schema)) {
+ /* special case of creating duplicate st... |
clarify discussions forum | @@ -2,4 +2,4 @@ blank_issues_enabled: false
contact_links:
- name: Questions and Suggestions
url: https://github.com/zmartzone/mod_auth_openidc/discussions
- about: This issue tracker is not for end users, please provide your input here.
+ about: This issue tracker is not for end users, please provide your question/sug... |
hoon: ~master-morzod comments on doccords
TODO items from a pairing session | +$ foot $% [%dry p=hoon] :: dry arm, geometric
[%wet p=hoon] :: wet arm, generic
== ::
+::TODO: only add %plan since otherwise we might need a migration
+::in the future. leave the others in another branch for future
+::recollection
+$ link :: lexical segment
$% [%chat p=term] :: |chapter
[%cone p=aura q=atom] :: %cons... |
Add error checking in frame_identify() | @@ -179,6 +179,9 @@ static inline errval_t frame_identify(struct capref frame, struct frame_identity
return err_push(err, LIB_ERR_SLOT_ALLOC);
}
err = cap_copy(invokable, frame);
+ if (err_is_fail(err)) {
+ return err_push(err, LIB_ERR_CAP_COPY);
+ }
}
err = invoke_frame_identify(invokable, ret);
|
tls13_only: tls 1.3 suite pass | @@ -9039,7 +9039,6 @@ run_test "TLS 1.3: Not supported version check: tls12 and tls13" \
-s "Hybrid TLS 1.2 + TLS 1.3 configurations are not yet supported" \
-c "Hybrid TLS 1.2 + TLS 1.3 configurations are not yet supported"
-requires_config_enabled MBEDTLS_SSL_PROTO_TLS1_2
requires_config_enabled MBEDTLS_SSL_PROTO_TLS... |
Fix TGetQuantizedNonDefaultValuesMasks for case when src default value is not mapped to dst default value for bundling (can happen because of default bin for bundling for numeric features is always 0 for now). | @@ -529,11 +529,10 @@ namespace NCB {
}
}
- void ProcessSparseColumn(
- const TSparseArrayValuesHolder<T, FeatureValuesType>& sparseColumn,
+ void ProcessSparseColumnWithSrcDefaultEqualToDstDefault(
+ const TConstSparseArray<T, ui32>& sparseArray,
const TFeaturesArraySubsetInvertedIndexing& incrementalInvertedIndexing
... |
hs-test: fix tests using wget
This fixes an issue on systems with http proxy set.
Type: test | @@ -183,7 +183,7 @@ func startWget(finished chan error, server_ip, port, query, netNs string) {
finished <- errors.New("wget error")
}()
- cmd := NewCommand([]string{"wget", "--tries=5", "-q", "-O", "/dev/null", server_ip + ":" + port + "/" + query},
+ cmd := NewCommand([]string{"wget", "--no-proxy", "--tries=5", "-q",... |
landscape: remove hark-update printfs | @@ -128,7 +128,6 @@ function graphWatchSelf(json: any, state: HarkState) {
}
function reduce(data: any, state: HarkState) {
- console.log(data);
unread(data, state);
read(data, state);
archive(data, state);
@@ -190,7 +189,6 @@ function unreadEach(json: any, state: HarkState) {
function unreads(json: any, state: HarkSta... |
Implement load RAND_bytes() on Windows | @@ -49,20 +49,32 @@ private:
#endif
#ifdef _WIN32
+#include <windows.h>
/*! RAII helper to open/close OpenSSL.
- TODO implement Windows version
*/
class RNGLib
{
public:
RNGLib()
- { }
+ {
+ handle = LoadLibraryA("libcrypto-1_1.dll");
+
+ if (handle)
+ {
+ RAND_bytes = reinterpret_cast<RAND_bytes_t>(GetProcAddress(hand... |
Python-package: remove unnecessary exception | @@ -1130,8 +1130,6 @@ class CatBoost(_CatBoostBase):
if fstr_type == 'ShapValues':
fstr = self._calc_fstr(data, fstr_type, thread_count)
return np.array([np.array(row) for row in fstr])
- if data.get_label() is None and data.num_pairs() is None:
- raise CatboostError("Label in data has not initialized.")
fstr = self._c... |
Updated mfem to 4.0 in the quartz config site file. | @@ -213,7 +213,7 @@ VISIT_OPTION_DEFAULT(VISIT_ICET_DIR ${VISITHOME}/icet/77c708f9090236b576669b74c5
##
## MFEM
##
-VISIT_OPTION_DEFAULT(VISIT_MFEM_DIR ${VISITHOME}/mfem/3.4/${VISITARCH})
+VISIT_OPTION_DEFAULT(VISIT_MFEM_DIR ${VISITHOME}/mfem/4.0/${VISITARCH})
VISIT_OPTION_DEFAULT(VISIT_MFEM_INCDEP CONDUIT_INCLUDE_DIR ... |
Add sceMotionDevGetEvaInfo NID | @@ -8029,6 +8029,7 @@ modules:
sceMotionDevReadForMagnCalib: 0xCC4FDA6A
sceMotionDevSetGyroFeedBack: 0xCCAEBF59
sceMotionDevGetAccCalibData2: 0xD582B628
+ sceMotionDevGetEvaInfo: 0xE6955280
sceMotionDevMagnSamplingStop: 0xE72A35B8
sceMotionDevIsReady: 0xE8A3E48E
sceMotionDevGetMeasMode: 0xEA95D3C9
|
Fix format in yara-python documentation. | @@ -388,13 +388,22 @@ Reference
Objects returned by :py:func:`yara.match`, representing a match.
.. py:attribute:: rule
+
Name of the matching rule.
+
.. py:attribute:: namespace
+
Namespace associated to the matching rule.
+
.. py:attribute:: tags
+
Array of strings containig the tags associated to the matching rule.
... |
client session BUGFIX xpath filter selects subtrees, not nodes | @@ -609,7 +609,7 @@ nc_ctx_fill_yl(struct nc_session *session, ly_module_imp_clb user_clb, void *use
const struct lys_module *mod;
/* get yang-library data from the server */
- rpc = nc_rpc_get("/ietf-yang-library:*//.", 0, NC_PARAMTYPE_CONST);
+ rpc = nc_rpc_get("/ietf-yang-library:*", 0, NC_PARAMTYPE_CONST);
if (!rpc... |
chat: fall back to native input on mobile | @@ -3,7 +3,7 @@ import { UnControlled as CodeEditor } from 'react-codemirror2';
import { MOBILE_BROWSER_REGEX } from "~/logic/lib/util";
import CodeMirror from 'codemirror';
-import { Row } from '@tlon/indigo-react';
+import { Row, BaseInput } from '@tlon/indigo-react';
import 'codemirror/mode/markdown/markdown';
impor... |
board/oak/led.c: Format with clang-format
BRANCH=none
TEST=none | #include "util.h"
#include "system.h"
-const enum ec_led_id supported_led_ids[] = {
- EC_LED_ID_BATTERY_LED
-};
+const enum ec_led_id supported_led_ids[] = { EC_LED_ID_BATTERY_LED };
const int supported_led_ids_count = ARRAY_SIZE(supported_led_ids);
@@ -131,8 +129,7 @@ static void oak_led_set_power(int board_version)
b... |
test/bntest.c: add bn_sqrx8x_internal regression test. | @@ -389,6 +389,54 @@ static int test_modexp_mont5(void)
if (!TEST_BN_eq(c, d))
goto err;
+ /* Regression test for carry bug in bn_sqrx8x_internal */
+ {
+ static const char *ahex[] = {
+ "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF",
+ "FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF",
+ "FF... |
Make sure that the persistent signature is never optimized # missing cast | @@ -25,7 +25,7 @@ main(int argc, char** argv) {
* optimizers
*/
if (getpid() == -2) {
- return strlen(LIBHFUZZ_module_main);
+ return (int)strlen(LIBHFUZZ_module_main);
}
return HonggfuzzMain(argc, argv);
}
|
fixup! tests CHANGE use own pthread_barrier if not available | @@ -17,7 +17,7 @@ else()
endif()
# check for pthread_barrier existence
-#check_function_exists(pthread_barrier_init SR_HAVE_PTHREAD_BARRIER)
+check_function_exists(pthread_barrier_init SR_HAVE_PTHREAD_BARRIER)
if(SR_HAVE_PTHREAD_BARRIER)
set(test_sources "")
else()
|
adding OceanModelLevel as typeOfLevel | 'generalVerticalLayer' = {genVertHeightCoords=1; typeOfFirstFixedSurface=150; typeOfSecondFixedSurface=150; NV=6;}
'depthBelowSea' = {typeOfFirstFixedSurface=160; typeOfSecondFixedSurface=255;}
'oceanSurface' = {typeOfFirstFixedSurface=160; scaleFactorOfFirstFixedSurface=0; scaledValueOfFirstFixedSurface=0; typeOfSecon... |
[brick] fix parsing bug | @@ -50,7 +50,7 @@ func (c *queryContract) parse(args string) (string, string, string, string, erro
queryCode := "[]"
- if len(splitArgs) == 3 {
+ if len(splitArgs) >= 3 {
queryCode = splitArgs[2].Text
}
|
Commenting Main builds and full builds | @@ -145,15 +145,15 @@ def main() {
}
}
- stage("Main builds") {
- milestone label: "Main builds"
- parallel generateMainBuildStages()
- }
-
- stage("Full builds") {
- milestone label: "Full builds"
- parallel generateFullBuildStages()
- }
+ // stage("Main builds") {
+ // milestone label: "Main builds"
+ // parallel gen... |
OcBootManagementLib: Fix accessing freed device path for APFS recovery | @@ -348,11 +348,7 @@ AddBootEntryOnFileSystem (
DEBUG_CODE_BEGIN ();
- if (DevicePath != NULL) {
TextDevicePath = ConvertDevicePathToText (DevicePath, TRUE, FALSE);
- } else {
- TextDevicePath = NULL;
- }
DEBUG ((
DEBUG_INFO,
@@ -645,6 +641,7 @@ AddBootEntryFromBless (
)
{
EFI_STATUS Status;
+ EFI_STATUS PrimaryStatus;... |
openthread: fix wrong panid range in border router example | @@ -15,7 +15,7 @@ menu "OpenThread Border Router Example"
config OPENTHREAD_NETWORK_PANID
hex "OpenThread network pan id"
- range 0 0x1234
+ range 0 0xFFFE
default 0x1234
help
The OpenThread network pan id to use
|
add support for IntelLLVM | @@ -179,7 +179,7 @@ if(MI_USE_CXX)
if(CMAKE_CXX_COMPILER_ID MATCHES "AppleClang|Clang")
list(APPEND mi_cflags -Wno-deprecated)
endif()
- if(CMAKE_CXX_COMPILER_ID MATCHES "Intel")
+ if(CMAKE_CXX_COMPILER_ID MATCHES "Intel" AND NOT CMAKE_CXX_COMPILER_ID MATCHES "IntelLLVM")
list(APPEND mi_cflags -Kc++)
endif()
endif()
|
Fixing call to gen-config | @@ -100,5 +100,4 @@ tar xzf benchmark.tar.gz --wildcards --no-anchored --strip-components=1 '*/manif
# generate json configuration file for software under test
mkdir apps
-gen_config_cmd="${SCRIPT_HOME}/gen-config.sh ${SUT_PATH} ${PLATFORM} ${SUT_BUILD_ID} ${SUT_VERSION} > apps/epanet-${SUT_BUILD_ID}.json"
-return_valu... |
doc: fix order of tutorials | @@ -53,12 +53,13 @@ These tutorials are for persons that want to contribute to
Elektra:
- [Contributing with CLion](contributing-clion.md)
-- [Benchmarking](benchmarking.md)
-- [Profiling](profiling.md)
+- [Contributing with Visual Studio (Windows)](contributing-windows.md)
- [Run all Tests with Docker](run_all_tests_w... |
Appveyor why | @@ -31,7 +31,7 @@ only_commits:
artifacts:
- path: dist
- name: janet-%APPVEYOR_TAG_NAME%-windows.zip
+ name: "janet-$(APPVEYOR_TAG_NAME)-windows.zip"
type: Zip
deploy:
@@ -39,7 +39,7 @@ deploy:
provider: GitHub
auth_token:
secure: lwEXy09qhj2jSH9s1C/KvCkAUqJSma8phFR+0kbsfUc3rVxpNK5uD3z9Md0SjYRx
- artifact: janet-%APPV... |
replace libretro-common 41 | @@ -723,9 +723,9 @@ SOURCES_C += $(NP2_PATH)/sdl2/libretro/libretro-common/compat/compat_strcasestr
# $(NP2_PATH)/sdl2/libretro/libretro-common/streams/trans_stream_zlib.c
#ifeq ($(platform), switch)
-SOURCES_C += $(NP2_PATH)/sdl2/libretro/libretro-common/rthreads/switch_pthread.c
+#SOURCES_C += $(NP2_PATH)/sdl2/libret... |
Specify struct type | @@ -80,7 +80,7 @@ extern void bloch_simulation(struct sim_data* data, float (*mxy_sig)[3], float (
struct ode_matrix_simu_s {
unsigned int N;
- void* sim_data;
+ struct sim_data* sim_data;
};
extern void ode_matrix_interval_simu(struct sim_data* _data, float h, float tol, unsigned int N, float out[N], float st, float e... |
Import only necessary modules in calc_feature_statistics | @@ -2246,21 +2246,27 @@ class CatBoost(_CatBoostBase):
res.pop('borders', None)
if plot or plot_file is not None:
+ warn_msg = "To draw binarized feature statistics you should install plotly."
+ figs = _plot_feature_statistics(res, feature, max_cat_features_on_plot)
+ if plot:
try:
from plotly.offline import iplot
- fr... |
Link the libraries libpthread and libc++abi
These are required for building LuaJIT on OpenBSD with clang. They provide the symbols . | @@ -92,6 +92,10 @@ if ( LUA_USE_LIBM )
list ( APPEND LIBS m )
endif ()
+if ( CMAKE_SYSTEM_NAME MATCHES "OpenBSD")
+ list ( APPEND LIBS pthread c++abi )
+endif ()
+
## SOURCES
MACRO(LJ_TEST_ARCH stuff)
CHECK_C_SOURCE_COMPILES("
|
arch:xtena: modify timer interrupt level large to XCHAL_IRQ_LEVEL level. | #ifndef XT_TIMER_INDEX
# if XCHAL_TIMER3_INTERRUPT != XTHAL_TIMER_UNCONFIGURED
-# if XCHAL_INT_LEVEL(XCHAL_TIMER3_INTERRUPT) <= XCHAL_EXCM_LEVEL
+# if XCHAL_INT_LEVEL(XCHAL_TIMER3_INTERRUPT) <= XCHAL_IRQ_LEVEL
# undef XT_TIMER_INDEX
# define XT_TIMER_INDEX 3
# endif
# endif
# if XCHAL_TIMER2_INTERRUPT != XTHAL_TIMER_UN... |
doc: apply suggestion from | @@ -13,7 +13,7 @@ Alternatively, you can directly fix it with your next PR.
We write documentation for three groups:
- User:
- Is a person who uses some tool of Elektra, e.g. `kdb`, Qt-Gui or Web-UI.
+ Is a person who uses Elektra, e.g. an application using Elektra or one of Elektra's tools like `kdb`.
- Developer:
Is ... |
wpa_supplicant: Remove lock during processing of btm/rrm packets
Lock is not required during btm/rrm action frames processing and
taking it may cause inconsistant behavior since wifi task
posts the events to this task. | @@ -116,9 +116,6 @@ static void esp_btm_rrm_task(void *pvParameters)
continue;
}
- /* get lock */
- SUPPLICANT_API_LOCK();
-
switch (evt->id) {
case SIG_SUPPLICANT_RX_ACTION:
{
@@ -139,7 +136,6 @@ static void esp_btm_rrm_task(void *pvParameters)
}
os_free(evt);
- SUPPLICANT_API_UNLOCK();
if (task_del)
break;
|
imgtool: fix package's author email
Fix author email after move to new mailing list. | @@ -5,7 +5,7 @@ setuptools.setup(
name="imgtool",
version=imgtool_version,
author="The MCUboot committers",
- author_email="dev-mcuboot@lists.runtime.co",
+ author_email="mcuboot@groups.io",
description=("MCUboot's image signing and key management"),
license="Apache Software License",
url="http://github.com/JuulLabs-OS... |
add /dev/null redirection to alpine/etc/dhcpcd.exit-hook | if [ "$interface" = wlan0 ]; then
case "$reason" in
- PREINIT) (sleep 3; openrc wifi) & ;;
- DEPARTED) (sleep 3; openrc default) & ;;
+ PREINIT) (sleep 3; openrc wifi > /dev/null 2>&1) & ;;
+ DEPARTED) (sleep 3; openrc default > /dev/null 2>&1) & ;;
esac
fi
|
Use environment marker to specify enum34 dependency
Use environment markers for typing_extensions to specify
that enum34 is only required if python < 3.4. Some dependency management
tools (including poetry) only work reliable with environment markers
instead of conditional checks in setup.py. | @@ -27,11 +27,9 @@ install_requires=[
'scipy',
'plotly',
'six',
+ 'enum34; python_version < "3.4"'
],
-if sys.version_info < (3, 4):
- install_requires.append('enum34')
-
setup(
name=PACKAGE,
version=version(),
|
TCPMv2: Clear message Rx flag after VDM response
Avoid "receiving" VDM response again, which the TCPM was interpreting
as a protocol error.
TEST=Observe TBT setup
BRANCH=none | @@ -4099,6 +4099,7 @@ static enum vdm_response_result parse_vdm_response_common(int port)
if (!PE_CHK_FLAG(port, PE_FLAGS_MSG_RECEIVED))
return VDM_RESULT_WAITING;
+ PE_CLR_FLAG(port, PE_FLAGS_MSG_RECEIVED);
payload = (uint32_t *)rx_emsg[port].buf;
sop = PD_HEADER_GET_SOP(rx_emsg[port].header);
|
Set fib to -1 if no specific addresses are used | @@ -142,6 +142,7 @@ setup_socket(
char service_buf[6 + 1 /* '\0' */]; /* 65535 */
struct addrinfo *addr = NULL;
+ sock->fib = -1;
if(node) {
host = host_buf;
sep = strchr(node, '@');
@@ -279,9 +280,11 @@ figure_default_sockets(
(r = getaddrinfo(NULL, tcp_port, &ai[1], &addrs[1])) == 0)
{
(*udp)[i].flags |= NSD_SOCKET_I... |
changed wording from empty block to invalid block, if block length is < 12 | @@ -5451,7 +5451,7 @@ while(1)
if(pcapngbh.total_length < 12)
{
pcapreaderrors++;
- printf("empty block detected\n");
+ printf("invalid block detected\n");
break;
}
aktseek = lseek(fd, 0, SEEK_CUR);
@@ -5487,7 +5487,7 @@ while(1)
if(pcapngbh.total_length < 12)
{
pcapreaderrors++;
- printf("empty block detected\n");
+ p... |
fix memory corruption in picoquicdemo | @@ -1140,11 +1140,25 @@ int quic_client(const char* ip_address_text, int server_port, const char * sni,
callback_ctx.nb_demo_streams = test_scenario_nb;
} else {
sprintf(buf, "doc-%d.html", get_size);
+ demo_stream_desc_t *tab = calloc(sizeof(demo_stream_desc_t), (only_stream_4 ? 1 : 2));
if (only_stream_4) {
- callbac... |
don't align to sizes greater than than the allocation size | @@ -18,8 +18,9 @@ static void* mi_heap_malloc_zero_aligned_at(mi_heap_t* heap, size_t size, size_t
// note: we don't require `size > offset`, we just guarantee that
// the address at offset is aligned regardless of the allocated size.
mi_assert(alignment > 0 && alignment % sizeof(uintptr_t) == 0);
- if (alignment <= si... |
doccords: dprint chapter and overview print tweak
printing an overview only gives the summary now, not the details. also
fixed chapter printing so that it doesn't print the details twice | --
:> # %dprint
|%
+:> contains arms used for looking for docs inside of a type
+:>
+:> the entrypoint for finding docs within a type is +find-item-in-type.
+| %searching
:> returns the item to print while searching through topic
:>
++ print-chapter
|= [name=tape doc=what sut=type con=coil chapter-id=term]
^- tang
+ ~?... |
ngtcp2_pkt_decode_hd_short: Explicitly nullify token field | @@ -373,6 +373,8 @@ ngtcp2_ssize ngtcp2_pkt_decode_hd_short(ngtcp2_pkt_hd *dest, const uint8_t *pkt,
dest->len = 0;
dest->pkt_num = 0;
dest->pkt_numlen = 0;
+ dest->token.base = NULL;
+ dest->token.len = 0;
assert((size_t)(p - pkt) == len);
|
fix src dir naem | @@ -74,7 +74,7 @@ Header files for developing against the Sigar API
%prep
# When using the GitHub tarballs, use:
# setup -q -n hyperic-{name}-{sigar_hash}
-%setup -q -n %{pname}-%{version}
+%setup -q -n %{pname}-%{sigar_hash}
%patch100 -p1 -b .bz714249
%patch101 -p1 -b .bz746288
|
harness: pandaboard: cleanup compiler-rt tests | @@ -222,6 +222,10 @@ def get_modules_tpl(ts, self, build, machine):
'''Function template for get_modules() for each compiler-rt test case'''
modules = super(CompilerRTBuiltinsAbstract, self).get_modules(build, machine)
for m in ts:
+ if machine.name.startswith("panda") and \
+ (m.endswith("floatdisf_test") or m.endswit... |
data tree REFACTOR rename attr to meta | @@ -1029,7 +1029,7 @@ LY_ERR lyd_compare(const struct lyd_node *node1, const struct lyd_node *node2, i
#define LYD_DUP_RECURSIVE 0x01 /**< Duplicate not just the node but also all the children. Note that
list's keys are always duplicated. */
-#define LYD_DUP_NO_ATTR 0x02 /**< Do not duplicate attributes of any node. */... |
Fix hidden variable warning from LGTM. | @@ -923,7 +923,7 @@ static bool // O - `true` on success, `false` on failure
pappl_socket_open(
pappl_device_t *device, // I - Device
const char *device_uri, // I - Device URI
- const char *name) // I - Job name
+ const char *job_name) // I - Job name
{
_pappl_socket_t *sock; // Socket device
char scheme[32], // URI sc... |
mkdir: disable persistence | @@ -236,7 +236,7 @@ int filesystem_mkdir(filesystem fs, char *fp)
basename_sym = sym_this(basename);
table_set(folder, basename_sym, dir);
log_write_eav(fs->tl, folder, basename_sym, dir, ignore);
- log_flush(fs->tl);
+ //log_flush(fs->tl);
rprintf("mkdir: written!\n");
return 0;
|
GitHub Actions: build with -D_FORTIFY_SOURCE=2
This requires --buildtype=debugoptimized (or --buildtype=release, but
optimizations need to be enabled), and will allow us to keep the i3 build free
of warnings during development.
Distributions like Debian build with -D_FORTIFY_SOURCE=2. | @@ -47,7 +47,7 @@ jobs:
echo "::endgroup::"
- name: build i3
run: |
- docker run -v $PWD:/usr/src/i3/ -w /usr/src/i3 -e CC ${{ env.BASENAME }} /bin/sh -c 'rm -rf build; mkdir -p build && cd build && CFLAGS="-Wformat -Wformat-security -Wextra -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Werror -fno-co... |
tup: Fix android phonon library path; | @@ -251,7 +251,7 @@ ifneq (@(CMAKE_DEPS),)
CFLAGS_@(STEAM_AUDIO) += -I@(STEAM_AUDIO_PATH)/include
LIBS_@(STEAM_AUDIO)_$(win32) += @(STEAM_AUDIO_PATH)/lib/Windows/x64/phonon.dll
LIBS_@(STEAM_AUDIO)_$(linux) += @(STEAM_AUDIO_PATH)/lib/Linux/x64/libphonon.so
- LIBS_@(STEAM_AUDIO)_$(android) += @(STEAM_AUDIO_PATH)/lib/Andr... |
Updated paramters after biscecting against shaking controller tests | @@ -49,7 +49,7 @@ STRUCT_CONFIG_SECTION(SurviveKalmanTracker)
STRUCT_CONFIG_ITEM("obs-pos-variance", "Variance of position integration from light capture",
1e-6, t->obs_pos_var)
STRUCT_CONFIG_ITEM("obs-rot-variance", "Variance of rotation integration from light capture",
- 1e-4, t->obs_rot_var)
+ 1e-7, t->obs_rot_var)
... |
Fix coverity uninit | @@ -3732,7 +3732,10 @@ CON_FUNC_RETURN tls_construct_client_compressed_certificate(SSL_CONNECTION *sc,
err:
SSLfatal(sc, SSL_AD_INTERNAL_ERROR, ERR_R_INTERNAL_ERROR);
out:
+ if (buf != NULL) {
+ /* If |buf| is NULL, then |tmppkt| could not have been initialized */
WPACKET_cleanup(&tmppkt);
+ }
BUF_MEM_free(buf);
COMP_C... |
Print adb command on error
When the execution of an adb command fails, print the command. This will
help to understand what went wrong.
See <https://github.com/Genymobile/scrcpy/issues/530>. | #include "command.h"
+#include <assert.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -20,15 +21,52 @@ get_adb_command(void) {
return adb_command;
}
+// serialize argv to string "[arg1], [arg2], [arg3]"
+static size_t
+argv_to_string(const char *const *argv, char *buf, size_t bufsize) {
+ size_t idx =... |
invalidate the aws cdn cache for /dl/scope/latest too. | @@ -389,7 +389,7 @@ jobs:
aws s3 cp ${TMPDIR}/scope-${ARCH}.tgz ${S3_SCOPE}/${VERSION}/linux/${ARCH}/scope.tgz
aws s3 cp ${TMPDIR}/scope-${ARCH}.tgz.md5 ${S3_SCOPE}/${VERSION}/linux/${ARCH}/scope.tgz.md5
done
- aws cloudfront create-invalidation --distribution-id ${CF_DISTRIBUTION_ID} --paths '/dl/scope/'"$VERSION"'/*'... |
Add Intel Goldmont+ cpuid
was originally in but that PR had misplaced the file in the toplevel directory | @@ -586,6 +586,8 @@ static gotoblas_t *get_coretype(void){
}
return NULL;
case 7:
+ if (model == 10) // Goldmont Plus
+ return &gotoblas_NEHALEM;
if (model == 14) {
// Ice Lake
if (support_avx512())
|
Fix verification logic for 288452 | @@ -51,8 +51,10 @@ program test
touch_limit= .false.
call compute_dev()
- print *, "touch limit: ", touch_limit
- if (.not. touch_limit) then
+ ! touch limit true if we have error
+
+ write(0,*) "touch limit: ", touch_limit
+ if (touch_limit) then
call kill(0,4)
endif
end program test
|
lib/libm/wf_tgamma: Fix tgammaf handling of -inf, should return nan. | {
float y;
int local_signgam;
+ if (!isfinite(x)) {
+ /* special cases: tgammaf(nan)=nan, tgammaf(inf)=inf, tgammaf(-inf)=nan */
+ return x + INFINITY;
+ }
y = expf(__ieee754_lgammaf_r(x,&local_signgam));
if (local_signgam < 0) y = -y;
#ifdef _IEEE_LIBM
|
make add_pqueue iterative, too | @@ -37,9 +37,10 @@ static void add_pqueue(pqueue q, index i)
{
index parent = i >> 1;
- if ((parent > 0) && qcompare(q, parent, i)) {
+ while ((parent > 0) && qcompare(q, parent, i)) {
swap(q, i, parent);
- add_pqueue(q, parent);
+ i = parent;
+ parent >>= 1;
}
}
|
Add -v to pytest to get more information on failure | @@ -204,7 +204,7 @@ jobs:
# There is an issue around the ticket age validation between
# gtlsserver and bsslclient that causes early data test
# failure; see https://gitlab.com/gnutls/gnutls/-/issues/1403
- pytest-3 -k 'not (gnutls-wolfssl and (resume or earlydata)) and not (gnutls-boringssl and earlydata)'
+ pytest-3 ... |
esp32s2: Fix missed features CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP and CONFIG_BOOTLOADER_CUSTOM_RESERVE_RTC
Defines the correct size for RTC fast memory (the same as for ESP32).
Closes: | */
#include "sdkconfig.h"
+#ifdef CONFIG_BOOTLOADER_CUSTOM_RESERVE_RTC
+#define ESP_BOOTLOADER_RESERVE_RTC (CONFIG_BOOTLOADER_RESERVE_RTC_SIZE + CONFIG_BOOTLOADER_CUSTOM_RESERVE_RTC_SIZE)
+#elif defined(CONFIG_BOOTLOADER_SKIP_VALIDATE_IN_DEEP_SLEEP)
+#define ESP_BOOTLOADER_RESERVE_RTC (CONFIG_BOOTLOADER_RESERVE_RTC_SIZ... |
test/run-test: for debugging aid, use separate conf files in dual mode | @@ -140,7 +140,7 @@ run_servertest() {
local unixsock="${tmpdir}/sock.${port}"
local cert="${test}.cert"
local ca="${test}.cert"
- local conf="${tmpdir}"/conf
+ local conf="${tmpdir}"/conf-${id}
local output="${tmpdir}"/relay-${id}.out
local pidfile="${tmpdir}"/pidfile-${id}
|
Update whitespace issue. | @@ -40,7 +40,8 @@ static int minarity2(JanetFopts opts, JanetSlot *args) {
static int fixarity2(JanetFopts opts, JanetSlot *args) {
(void) opts;
return janet_v_count(args) == 2;
-}static int fixarity3(JanetFopts opts, JanetSlot *args) {
+}
+static int fixarity3(JanetFopts opts, JanetSlot *args) {
(void) opts;
return ja... |
Rearranged make values to line up | @@ -16,7 +16,7 @@ ifdef WINDOWS
LIBSURVIVE_CORE:=redist/puff.c redist/crc32.c redist/hid-windows.c winbuild/getdelim.c
CC:=i686-w64-mingw32-gcc
else
- CFLAGS+=-Iinclude/libsurvive -fPIC -g -O3 -Iredist -DUSE_DOUBLE -std=gnu99 -rdynamic -MD #-flto
+ CFLAGS+=-Iinclude/libsurvive -fPIC -g -O3 -Iredist -DUSE_DOUBLE -std=gn... |
is31fl3743b: Clean up is31fl3743b_enable
This patch adds IS31FL3743B_CONFIG macro to make the config register values
more readable.
BRANCH=None
TEST=Vell | #define IS31FL3743B_REG_SPREAD_SPECTRUM 0x25
#define IS31FL3743B_REG_RSTN 0x2f
+#define IS31FL3743B_CFG_SWS_1_11 0b0000
+#define IS31FL3743B_CONFIG(sws, osde, ssd) \
+ ((sws) << 4 | BIT(3) | (osde) << 1 | (ssd) << 0)
+
struct is31fl3743b_cmd {
uint8_t page: 4;
uint8_t id: 3;
@@ -82,15 +86,9 @@ static int is31fl3743b_re... |
dhcp: disable extraneous vlib_log spew
When there are no dhcp client interfaces configured, it's not
useful to make periodic / timeout log entries.
Type: fix | @@ -887,15 +887,18 @@ dhcp_client_process (vlib_main_t * vm,
break;
case ~0:
- /* *INDENT-OFF* */
+ if (pool_elts (dcm->clients))
+ {
DHCP_INFO ("timeout");
+ /* *INDENT-OFF* */
pool_foreach (c, dcm->clients,
({
timeout = dhcp_client_sm (now, timeout,
(uword) (c - dcm->clients));
}));
/* *INDENT-ON* */
- if (pool_elts ... |
use bigger stack when initializing tcache | @@ -60,6 +60,7 @@ uint64_t g_go_static = 0LL;
void (*go_runtime_cgocall)(void);
static list_t *g_threadlist;
+void *g_stack;
#if NEEDEVNULL > 0
static void
@@ -244,6 +245,7 @@ initGoHook(elf_buf_t *ebuf)
char *estr;
char *go_runtime_version = NULL;
+ g_stack = malloc(32 * 1024);
g_threadlist = lstCreate(NULL);
int (*ni... |
fix data_length in IpSec API call | @@ -717,9 +717,10 @@ static void
#if WITH_LIBSSL > 0
vlib_main_t *vm = vlib_get_main ();
clib_error_t *error;
+ int data_len = ntohl (mp->data_len);
u8 *tmp = format (0, "%s", mp->name);
- u8 *data = vec_new (u8, mp->data_len);
- clib_memcpy (data, mp->data, mp->data_len);
+ u8 *data = vec_new (u8, data_len);
+ clib_me... |
Disable junk ban | @@ -230,7 +230,7 @@ namespace MiningCore.Stratum
case JsonReaderException jsonEx:
// ban clients sending junk
logger.Info(() => $"[{LogCat}] [{client.ConnectionId}] Banning client for sending junk");
- banManager.Ban(client.RemoteEndpoint.Address, TimeSpan.FromMinutes(30));
+ //banManager.Ban(client.RemoteEndpoint.Addr... |
Update webrepl. | # Copyright 2017-2018 (C) Calvin Rose
-(print (string "Janet " janet.version " Copyright (C) 2017-2018 Calvin Rose"))
+(print (string "Janet " janet/version " Copyright (C) 2017-2018 Calvin Rose"))
-(fiber.new (fn webrepl []
+(fiber/new (fn webrepl []
(repl (fn get-line [buf p]
- (def [line] (parser.where p))
- (def pr... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.