message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Added doxygen exclude of Core SDK | @@ -809,6 +809,10 @@ EXCLUDE_SYMLINKS = NO
EXCLUDE_PATTERNS = */cpu/cc26xx-cc13xx/lib/* \
*/cpu/cc26xx-cc13xx/rf-core/api/* \
+ */cpu/cc13xx-cc26xx/lib/* \
+ */cpu/cc13xx-cc26xx/rf-settings/* \
+ */cpu/cc13xx-cc26xx/cc13x0-cc26x0/driverlib/* \
+ */cpu/cc13xx-cc26xx/cc13x0-cc26x0/rf_patches/* \
*/platform/stm32nucleo-sp... |
apps/system/cle/cle.c: Fix warning, re-order to follow coding standard. | /****************************************************************************
* apps/system/cle/cle.c
*
- * Copyright (C) 2014, 2018 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2014, 2018-2019 Gregory Nutt. All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Redistribution and use in source and b... |
CI compile tools: refactor makefile | # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
# SUCH DAMAGE.
-TOOLS=tools sky jn516x
-TOOLSDIR=../../tools
-TESTLOGS=$(patsubst %,%.testlog, $(TOOLS))
+TOOLS=tools tools/sky tools/jn516x
+BASEDIR=../../
+TESTLOGS=$(subst /,__,$(patsubst %,%.testlog, $(TOOLS)))
all: clean summary
-tools.testlo... |
X509_STORE_CTX_purpose_inherit(): add missing details to its documentation
Fixes | @@ -210,14 +210,18 @@ It should not normally be necessary for end user applications to call
X509_STORE_CTX_purpose_inherit() directly. Typically applications should call
X509_STORE_CTX_set_purpose() or X509_STORE_CTX_set_trust() instead. Using this
function it is possible to set the purpose and trust values for the I<c... |
Fix incorrect usage of sourced list of indices. | ?. (~(has by sourced.u.soy) u.wer.qer) ~
%+ turn (~(got by sourced.u.soy) u.wer.qer)
|= n/@ud
- (snag (sub count.u.soy +(n)) grams.u.soy)
+ (snag n grams.u.soy)
==
(cury gram-to-envelope nom.qer)
:- shape.u.soy
|
params: hud_compact default off | @@ -539,6 +539,7 @@ parse_overlay_env(struct overlay_params *params,
params->enabled[OVERLAY_PARAM_ENABLED_horizontal] = 0;
params->enabled[OVERLAY_PARAM_ENABLED_hud_no_margin] = 0;
params->enabled[OVERLAY_PARAM_ENABLED_log_versioning] = 0;
+ params->enabled[OVERLAY_PARAM_ENABLED_hud_compact] = 0;
}
#define OVERLAY_PAR... |
kdb merge man: Make headings upper case | @@ -27,7 +27,7 @@ On success the resulting keyset will be saved to mergepath.<br>
On unresolved conflicts nothing will be changed.<br>
This tool currently exists alongside `kdb merge` until it is completely ready to supersede it. At this moment, cmerge will be renamed to merge.
-## Options
+## OPTIONS
The options of `k... |
Do not reset multiptah qlog ref | @@ -952,7 +952,7 @@ int multipath_qlog_test()
{
int ret = 0;
- (void)picoquic_file_delete(MULTIPATH_QLOG_REF, NULL);
+ (void)picoquic_file_delete(MULTIPATH_QLOG, NULL);
ret = multipath_trace_test_one();
|
drivers/audio: Use sem to start process thread
It is better than using while-sleep statement | #include <stdint.h>
#include <stdio.h>
#include <fcntl.h>
+#include <semaphore.h>
#include <string.h>
#include <errno.h>
#include <mqueue.h>
@@ -113,6 +114,7 @@ struct null_dev_s {
#ifdef CONFIG_AUDIO_PROCESSING_FEATURES
pthread_t process_threadid; /* ID of our process thread */
volatile bool process_terminate; /* True... |
Tests: added read_buffer_size option in http(). | @@ -12,6 +12,11 @@ class TestHTTP(TestUnit):
port = 7080 if 'port' not in kwargs else kwargs['port']
url = '/' if 'url' not in kwargs else kwargs['url']
http = 'HTTP/1.0' if 'http_10' in kwargs else 'HTTP/1.1'
+ read_buffer_size = (
+ 4096
+ if 'read_buffer_size' not in kwargs
+ else kwargs['read_buffer_size']
+ )
head... |
newtmgr; updated structure names for tinybor reader/writer. | @@ -44,8 +44,8 @@ struct os_eventq *nmgr_evq;
*/
static struct nmgr_cbuf {
struct mgmt_cbuf n_b;
- struct CborMbufWriter writer;
- struct CborMbufReader reader;
+ struct cbor_mbuf_writer writer;
+ struct cbor_mbuf_reader reader;
struct os_mbuf *n_out_m;
} nmgr_task_cbuf;
|
Rust: Add a full keyset example | use std::error::Error;
use std::fmt;
-use crate::{KeyNameInvalidError, ReadOnly, ReadableKey, StringKey, WriteableKey};
+use crate::{ReadOnly, ReadableKey, StringKey, WriteableKey};
use bitflags::bitflags;
use std::convert::TryInto;
@@ -305,15 +305,13 @@ impl KeySet {
}
/// Lookup a key by name.
- /// Returns a `KeyNam... |
Correctly format forwarding.c | //=========================== prototypes ======================================
-void forwarding_getNextHop(
- open_addr_t* destination,
- open_addr_t* addressToWrite
-);
+void forwarding_getNextHop(open_addr_t *destination, open_addr_t *addressToWrite);
+
owerror_t forwarding_send_internal_RoutingTable(
OpenQueueEntry... |
fixed music export with JUMP command | @@ -251,6 +251,12 @@ static void processMusic(tic_mem* memory)
if (row != music_state->music.row
&& jumpCmd->active)
{
+ if(!music_state->flag.music_loop)
+ {
+ stopMusic(memory);
+ return;
+ }
+
music_state->music.frame = jumpCmd->frame;
row = jumpCmd->beat * NOTES_PER_BEAT;
core->state.music.ticks = row2tick(core, tr... |
Apply COMMON_OPT to default FFLAGS to avoid building non-optimized LAPACK by mistake | @@ -1004,7 +1004,7 @@ endif
override CFLAGS += $(COMMON_OPT) $(CCOMMON_OPT) -I$(TOPDIR)
override PFLAGS += $(COMMON_OPT) $(CCOMMON_OPT) -I$(TOPDIR) -DPROFILE $(COMMON_PROF)
-override FFLAGS += $(FCOMMON_OPT)
+override FFLAGS += $(COMMON_OPT) $(FCOMMON_OPT)
override FPFLAGS += $(FCOMMON_OPT) $(COMMON_PROF)
#MAKEOVERRIDE... |
Readme with documentation link updated | # ESP8266 and ESP32 AT commands parser for RTOS systems
-More info coming soon..
\ No newline at end of file
+Documentation is under development and is available on link below.
+
+http://majerle.eu/documentation/esp_at/html/index.html
+
+## Why this library?
+
+Purpose of the library is to have stable and reliable comm... |
filter_rewrite_tag: fix on-exit leak for property emitter_name | @@ -179,6 +179,7 @@ static int cb_rewrite_tag_init(struct flb_filter_instance *ins,
{
int ret;
flb_sds_t tmp;
+ flb_sds_t emitter_name = NULL;
struct flb_rewrite_tag *ctx;
(void) data;
@@ -192,34 +193,47 @@ static int cb_rewrite_tag_init(struct flb_filter_instance *ins,
ctx->config = config;
mk_list_init(&ctx->rules);
... |
[chainmaker][#472]paramters tests add NULL para | @@ -181,7 +181,7 @@ START_TEST(test_002Param_0003AddTxParamSuccess)
BoatHlchainmakerTx tx_ptr;
rtnVal = BoatHlchainmakerAddTxParam(&tx_ptr, 6, "key1", "value1", "key2", "value2",
- "key3", "value3");
+ "key3", "value3", NULL);
ck_assert_int_eq(rtnVal, BOAT_SUCCESS);
ck_assert_int_eq(param_add_check(&tx_ptr), BOAT_SUCCE... |
Add register sync after calibration | @@ -267,6 +267,11 @@ int LMS7002M::CalibrateTx(float_type bandwidth_Hz, bool useExtLoopback)
return ReportError(EINVAL, "MCU error code(%i): %s", status, MCU_BD::MCUStatusMessage(status));
}
+ //sync registers to cache
+ const std::vector<uint16_t> regsToSync = {0x0208, 0x05C0};
+ for(const auto addr : regsToSync)
+ th... |
style(wallet.h): update style of wallet | @@ -38,7 +38,7 @@ typedef enum
}BoatWalletPriKeyGenMode;
//! @brief The format of the externally injected private key
-//! This field will be actived when @ref BOAT_WALLET_PRIKEY_FORMAT_EXTERN_INJECTION be selected.
+//! This field will be actived when BOAT_WALLET_PRIKEY_FORMAT_EXTERN_INJECTION be selected.
typedef enu... |
[numerics] correct double code after merge | @@ -80,8 +80,6 @@ void NM_internalData_new(NumericsMatrix* M)
M->internalData->dWorkSize = 0;
M->internalData->isInversed = false ;
M->internalData->isLUfactorized = false ;
- M->internalData->isInversed = false ;
- M->internalData->isLUfactorized = false ;
#ifdef SICONOS_HAS_MPI
M->internalData->mpi_comm = MPI_COMM_NU... |
Handle the case where the country code is empty. | @@ -41,7 +41,13 @@ LOGMANAGER_INSTANCE
// Obtain semantics values
NSBundle* bundle = [NSBundle mainBundle];
- std::string strUserLocale = std::string([[NSString stringWithFormat:@"%@-%@", [[NSLocale currentLocale] languageCode], [[NSLocale currentLocale] countryCode]] UTF8String]);
+ NSLocale* locale = [NSLocale curren... |
contacts: add mh4 to 'delete'
The delete button was flush against the margin,
which looked messy; this gives some horizontal
space while retaining the distance from
the other options. | @@ -521,7 +521,7 @@ export class ContactCard extends Component {
</div>
<button
className={
- `pl4 mt4 mb4 f9 red2 pointer ` + adminOpt
+ `pl4 mt4 mb4 mh4 f9 red2 pointer ` + adminOpt
}
onClick={this.removeFromGroup}>
{(
|
Switch from "BAL" mode to "MS" PWM modes. | @@ -56,7 +56,7 @@ func fanControl(pwmDutyMin int, pin int, tempTarget float32) {
time.Sleep(5 * time.Second)
C.digitalWrite(cPin, C.LOW)
- C.pwmSetMode(C.PWM_MODE_BAL)
+ C.pwmSetMode(C.PWM_MODE_MS)
C.pinMode(cPin, C.PWM_OUTPUT)
C.pwmSetRange(pwmDutyMax)
C.pwmSetClock(pwmClockDivisor)
|
UDS DTC number and status helpers | @@ -270,6 +270,26 @@ _negative_response_codes = {
0x93: 'voltage too low',
}
+def get_dtc_num_as_str(dtc_num_bytes):
+ # ISO 15031-6
+ designator = {
+ 0b00: "P",
+ 0b01: "C",
+ 0b10: "B",
+ 0b11: "U",
+ }
+ d = designator[dtc_num_bytes[0] >> 6]
+ n = bytes([dtc_num_bytes[0] & 0x3F]) + dtc_num_bytes[1:]
+ return d + n.... |
[core] li_to_base64 alt code to add padding | @@ -37,6 +37,17 @@ static const signed char base64_url_reverse_table[] = {
41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -1, -1, -1, -1, -1, /* 0x70 - 0x7F */
};
+__attribute_const__
+static char li_base64_padding_char (const base64_charset charset) {
+ switch (charset) {
+ default:
+ case BASE64_STANDARD:
+ return '='; ... |
[mod_webdav] workaround for gvfs dir redir bug
workaround for gvfs dir redir bug
fix for unhandled live properties
(thx montvid)
x-ref:
"lighttpd webdav does not work with Nemo, Nautilus gvfs" | @@ -3812,6 +3812,7 @@ webdav_has_lock (request_st * const r,
chunk_buffer_release(cbdata.b);
return 0;
}
+ cbdata.size = 16;
cbdata.tokens =
realloc(cbdata.tokens, sizeof(*(cbdata.tokens)) * 16);
force_assert(cbdata.tokens); /*(see above limit)*/
@@ -3944,6 +3945,12 @@ mod_webdav_propfind (request_st * const r, const p... |
fix update podspec: use correct library search path for MacOS | @@ -5,7 +5,7 @@ Pod::Spec.new do |s|
s.description = "Themis is a data security library, providing users with high-quality security services for secure messaging of any kinds and flexible data storage. Themis is aimed at modern development practices, with high level OOP wrappers for iOS / macOS, NodeJS, Go, Ruby, Pytho... |
Add comment to show how to debug GDB errors | "filterStderr": true,
"externalConsole": true,
"cwd": "${cwd}",
-
-
-
+ // Enable the following to debug GDB
+ //"logging": {
+ // "engineLogging": true,
+ // "traceResponse": true
+ //},
}
]
}
|
Remove boomerang from model initialization. | @@ -8416,8 +8416,6 @@ s_model *init_model(int cacheindex, int unload)
newchar->icon.mpmed = -1; //No mpmed icon yet.
newchar->edgerange.x = 0;
newchar->edgerange.z = 0;
- newchar->boomerang_prop.acceleration = 0;
- newchar->boomerang_prop.hdistance = 0;
// Default Attack1 in chain must be referenced if not used.
for(i ... |
Ensure Microphones properly stop recording; | @@ -23,6 +23,7 @@ Microphone* lovrMicrophoneCreate(const char* name, int samples, int sampleRate,
void lovrMicrophoneDestroy(void* ref) {
Microphone* microphone = ref;
+ lovrMicrophoneStopRecording(microphone);
alcCaptureCloseDevice(microphone->device);
free(microphone);
}
@@ -86,5 +87,6 @@ void lovrMicrophoneStopRecor... |
Add a descriptive header to diff output from failed tests. | @@ -40,6 +40,13 @@ static void test_fail_message_prefix(const char *prefix, const char *file,
test_printf_stderr("\n");
}
+/* Output a diff header */
+static void test_diff_header(const char *left, const char *right)
+{
+ test_printf_stderr("%*s# --- %s\n", subtest_level(), "", left);
+ test_printf_stderr("%*s# +++ %s\... |
[mod_accesslog] remove begin/end tags from %{}t
remove begin/end tags from %{begin:...}t and %{end:...}t
as those should not be part of the strftime format string | @@ -478,17 +478,20 @@ static format_fields * mod_accesslog_process_format(const char * const format, c
uint32_t tcount = 0;
for (format_field *f = parsed_format->ptr; f->field != FORMAT_UNSET; ++f) {
- const buffer * const fstr = &f->string;
+ buffer * const fstr = &f->string;
if (FORMAT_LITERAL == f->field) continue;
... |
Set InFile to NULL after closing it | @@ -7,7 +7,7 @@ Description: saves network data to an EPANET formatted text file
Authors: see AUTHORS
Copyright: see AUTHORS
License: see LICENSE
-Last Updated: 03/08/2019
+Last Updated: 03/09/2019
******************************************************************************
*/
@@ -113,6 +113,7 @@ void saveauxdata(Pro... |
Use cygwin compilation workaround for avx512 on msys2/mingw64 as well | @@ -15,6 +15,11 @@ FCOMMON_OPT += -march=skylake-avx512
ifeq ($(OSNAME), CYGWIN_NT)
CCOMMON_OPT += -fno-asynchronous-unwind-tables
endif
+ifeq ($(OSNAME), WINNT)
+ifeq ($(C_COMPILER), GCC)
+CCOMMON_OPT += -fno-asynchronous-unwind-tables
+endif
+endif
endif
endif
|
truth func needs refinements | @@ -46,8 +46,8 @@ void Table_AddAndRevise(Table *table, Implication *imp)
{
Implication penalized_closest = *closest;
Implication penalized_imp = *imp;
- penalized_closest.truth = Truth_Intersection(penalized_closest.truth, best_truth);
- penalized_imp.truth = Truth_Intersection(penalized_imp.truth, best_truth);
+ pena... |
hs: dunno, try this | -{ lib, stdenv, darwin, haskell-nix, gmp, zlib, libffi, brass
+{ lib, stdenv, darwin, haskell-nix, lmdb, gmp, zlib, libffi, brass
, enableStatic ? stdenv.hostPlatform.isStatic }:
haskell-nix.stackProject {
@@ -68,6 +68,7 @@ haskell-nix.stackProject {
enableShared = !enableStatic;
configureFlags = lib.optionals enableSt... |
fix save button behaviour for already created instances | @@ -128,7 +128,7 @@ export default class CreateInstanceCard extends React.Component {
</div>
<div style={{ flex: 1 }}>
<SelectField
- floatingLabelText="visibility"
+ floatingLabelText="visibility*"
floatingLabelFixed={true}
onChange={(e, _, val) => this.setState({ visibility: val })}
value={visibility}
|
fix:fix ethereum test case(test_002InitWallet_0004SetChainIdFailureNullParam) | @@ -650,9 +650,6 @@ START_TEST(test_002InitWallet_0004SetChainIdFailureNullParam)
/* 2-1. verify the return value */
ck_assert_int_eq(rtnVal, BOAT_ERROR_COMMON_INVALID_ARGUMENT);
-
- BoatIotSdkDeInit();
-
}
END_TEST
|
sendmetric: fix confusing/misleading help message regarding gzip | /*
- * Copyright 2013-2018 Fabian Groffen
+ * Copyright 2013-2021 Fabian Groffen
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -933,7 +933,7 @@ void do_usage(char *name, int exitcode)
printf(" -d Debug\n");
printf(" -c alg Compr... |
[io] build options in 2D if options is None | @@ -23,7 +23,7 @@ import tempfile
from contextlib import contextmanager
# Siconos imports
-import siconos.io.mechanics_hdf5
+import mechanics_hdf5
import siconos.numerics as Numerics
from siconos.kernel import \
EqualityConditionNSL, \
@@ -678,7 +678,7 @@ class ShapeCollection():
return self._shapes[shape_name]
-class ... |
tests: fix weird gcc 4.9.2 bug | @@ -206,10 +206,10 @@ int init (int argc, char ** argv);
// 4.6.3
// 4.7.2
//(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52116)
-#if __GNUC__ > 4 || (__GNUC__ == 4 && (__GNUC_MINOR__ > 6 || (__GNUC_MINOR__ == 6 && __GNUC_PATCHLEVEL__ > 2))) || \
- (__GNUC__ == 4 && (__GNUC_MINOR__ > 7 || (__GNUC_MINOR__ == 7 && __GNU... |
main.c: removed redundant condition | @@ -70,7 +70,7 @@ void main_initthr(void *unused)
while (cmdline != NULL && *cmdline != '\0') {
end = cmdline;
while (*end && *(++end) != ' ');
- while (*end && *end == ' ')
+ while (*end == ' ')
*(end++) = 0;
if (*cmdline == 'X' && ++xcount) {
i = 0;
|
disable TREADY for FIR filter in sdr_transceiver_wide/rx.tcl | @@ -224,7 +224,6 @@ cell xilinx.com:ip:fir_compiler:7.2 fir_0 {
CLOCK_FREQUENCY 125
OUTPUT_ROUNDING_MODE Convergent_Rounding_to_Even
OUTPUT_WIDTH 25
- M_DATA_HAS_TREADY true
HAS_ARESETN true
} {
S_AXIS_DATA conv_0/M_AXIS
|
update FreeRTOS_TCP_IP.c | /*
- * FreeRTOS+TCP V2.0.10
+ * FreeRTOS+TCP V2.0.11
* Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy of
@@ -692,7 +692,7 @@ static void prvTCPReturnPacket( FreeRTOS_Socket_t *pxSocket, NetworkBufferDescri
TCPP... |
fix unix function to strip lib name | @@ -152,6 +152,16 @@ static int dynlink_impl_interface_phdr_callback_unix(struct dl_phdr_info *info,
return 0;
}
+static char *dynlink_impl_interface_strip_lib_path_unix(char *metacall_lib_path, char *metacall_lib_name)
+{
+ /* TODO: Review this */
+ size_t lib_path_len = strlen(metacall_lib_path) - (strlen(metacall_li... |
net/lwip: handle without SLLA option in RA.
This commit added exception in RA handling routine.
In case of received RA message,
- Without SLLA option.
- but, src address is already in neighbor cache entry.
, RA handler should set isrouter flag to TRUE. | @@ -765,11 +765,10 @@ void nd6_input(struct pbuf *p, struct netif *inp)
struct nd6_neighbor_cache_entry *nce_update = NULL;
- if (nce_flag) {
s8_t j;
j = nd6_find_neighbor_cache_entry(ip6_current_src_addr());
- if (j < 0) {
+ if (nce_flag && j < 0) {
j = nd6_new_neighbor_cache_entry();
if (j < 0) {
pbuf_free(p);
@@ -78... |
Update camera UBO when popping a layer; | @@ -62,6 +62,8 @@ void lovrGraphicsReset() {
state.defaultShader = SHADER_DEFAULT;
mat4_perspective(state.layers[state.layer].projections, .01f, 100.f, 67 * M_PI / 180., (float) w / h / 2.);
mat4_perspective(state.layers[state.layer].projections + 16, .01f, 100.f, 67 * M_PI / 180., (float) w / h / 2.);
+ mat4_identity(... |
feat[#1155]:Use memset to init struct | @@ -114,7 +114,8 @@ __BOATSTATIC BOAT_RESULT ethereum_createOnetimeWallet()
__BOATSTATIC BOAT_RESULT ethereum_createPersistWallet(BCHAR *wallet_name)
{
BSINT32 index;
- BoatEthWalletConfig wallet_config = {0};
+ BoatEthWalletConfig wallet_config;
+ memset(&wallet_config,0U,sizeof(BoatEthWalletConfig));
BUINT8 binFormat... |
fix INCR/DECR refcount leak for extstore headers
Bug added in 2014. Same condition reused to bounce incr/decr commands
off of CHUNKED and ITEM_HDR items. Thus, incr/decr'ing a value that is
already in extstore would immediately cause a refcount leak :( | @@ -4234,6 +4234,7 @@ enum delta_result_type do_add_delta(conn *c, const char *key, const size_t nkey,
#else
if (it->nbytes <= 2 || (it->it_flags & (ITEM_CHUNKED)) != 0) {
#endif
+ do_item_remove(it);
return NON_NUMERIC;
}
|
[trace] Split when interacting with `cycle` csr | @@ -490,7 +490,7 @@ def main():
if perf_metrics[0]['start'] is None:
perf_metrics[0]['start'] = time_info[1]
# Create a new section after every 'nop' instruction
- if 'nop' in ann_insn:
+ if 'cycle' in ann_insn:
perf_metrics[-1]['end'] = time_info[1]
perf_metrics.append(defaultdict(int))
perf_metrics[-1]['start'] = tim... |
build: Make extra_cmake_flags optional | @@ -343,7 +343,7 @@ def build_and_test_asan(test_name, image, extra_cmake_flags = [:]) {
* tests: list of tests which should be run
* extra_artifacts: which files should be additionally saved from the build
*/
-def build_and_test(test_name, image, extra_cmake_flags,
+def build_and_test(test_name, image, extra_cmake_fla... |
YAML CPP: Catch exceptions per reference | @@ -64,11 +64,11 @@ std::pair<bool, unsigned long long> isArrayIndex (NameIterator const & nameItera
{
return std::make_pair (true, stoull (name.substr (name.find_first_not_of ("#\\_"))));
}
- catch (invalid_argument)
+ catch (invalid_argument const &)
{
return std::make_pair (false, 0);
}
- catch (out_of_range)
+ catc... |
Address issues noted in | @@ -13,20 +13,22 @@ autoreconf --version >/dev/null 2>&1 || { echo >&2 "'autoconf' $REQUIRED"; exit
# If libtool is not installed -> "error: Libtool library used but 'LIBTOOL' is undefined"
+if [ ! -e "./m4" ]; then
mkdir m4 2>/dev/null
+fi
BROTLI_ABI_HEX=`sed -n 's/#define BROTLI_ABI_VERSION 0x//p' c/common/version.h`... |
remove unnecessary? __token__ from pypi publishing | @@ -111,10 +111,9 @@ jobs:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository_url: https://test.pypi.org/legacy/
- # - name: Publish distribution to PyPI
- # if: github.event_name == 'release' && github.event.action == 'published'
- # uses: pypa/gh-action-pypi-publish@master
- # with:
- # user: __token__
- # passw... |
update rpm group | @@ -16,7 +16,7 @@ Name: %{PROJ_NAME}
Version: 1.3.1
Release: 1
License: Apache-2.0
-Group: %{PROJ_NAME}/admin
+Group: %{PROJ_NAME}/meta-package
URL: https://github.com/openhpc/ohpc
Source0: LICENSE
|
examples/openssl: enable -Wl,-z,muldefs for re-definition of time | @@ -14,7 +14,7 @@ CXX="$HFUZZ_SRC/hfuzz_cc/hfuzz-clang++"
COMMON_FLAGS="-DBORINGSSL_UNSAFE_DETERMINISTIC_MODE -DBORINGSSL_UNSAFE_FUZZER_MODE -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION -DBN_DEBUG \
-O3 -g -DFuzzerInitialize=LLVMFuzzerInitialize -DFuzzerTestOneInput=LLVMFuzzerTestOneInput \
-I./$DIR/include -I$HFUZZ_SRC/... |
exclude noarch from src | @@ -240,12 +240,14 @@ foreach my $distro (@distros) {
for my $arch (@arches) {
$tar_args .= "--exclude $distro/$arch \\\n";
}
+ $tar_args .= "--exclude $distro/noarch \\\n";
# exclude any other distro/arch updates
if ($micro) {
for my $arch (@arches) {
$tar_args .= "--exclude $distro/updates/$arch \\\n";
}
+ $tar_args ... |
Release: Capitalize proper noun Haskell | @@ -162,7 +162,7 @@ Thanks to Armin Wurzinger.
### CMake
-- The build system no longer installs haskell dependencies from hackage by itself, instead
+- The build system no longer installs Haskell dependencies from hackage by itself, instead
this has to be done beforehand like it is the case with all other dependencies.... |
Remove some more info from README. | @@ -16,16 +16,6 @@ to run script files. This client program is separate from the core runtime, so
janet could be embedded into other programs. Try janet in your browser at
[https://janet-lang.org](https://janet-lang.org).
----
-
-Implemented in mostly standard C99, janet runs on Windows, Linux and macOS.
-The few featu... |
Add option to output reprojection error | @@ -91,6 +91,7 @@ typedef struct MPFITData {
const char *serialize_prefix;
MPFITStats stats;
+ int record_reprojection_error;
FLT current_bias;
bool globalDataAvailable;
struct survive_async_optimizer *async_optimizer;
@@ -98,6 +99,7 @@ typedef struct MPFITData {
STRUCT_CONFIG_SECTION(MPFITData)
STRUCT_CONFIG_ITEM("mpf... |
Add correct types | @@ -143,7 +143,7 @@ VOID PhpClearEnvironmentItems(
_Inout_ PPH_ENVIRONMENT_CONTEXT Context
)
{
- ULONG i;
+ SIZE_T i;
PPH_ENVIRONMENT_ITEM item;
for (i = 0; i < Context->Items.Count; i++)
@@ -193,7 +193,7 @@ VOID PhpRefreshEnvironmentList(
PPHP_PROCESS_ENVIRONMENT_TREENODE systemRootNode;
PVOID systemDefaultEnvironment... |
avf: add README.md section about spoofing check
Type: docs | @@ -82,6 +82,16 @@ trust needs to be set to "on" using the linux "ip link" utility.
ip link set dev <PF inteface name> vf <VF id> trust on
```
+### L2 spoofing check
+By default Virtual Function is not allowed to send ethernet frames which
+have source MAC address different than address assigned to the VF.
+In some cas... |
added checking pedal interceptor message length | @@ -50,8 +50,9 @@ static void honda_rx_hook(CAN_FIFOMailBox_TypeDef *to_push) {
brake_prev = brake;
}
- // exit controls on rising edge of gas press if interceptor
- if (!bosch_hardware && (to_push->RIR>>21) == 0x201) {
+ // exit controls on rising edge of gas press if interceptor (0x201 w/ len = 6)
+ // length check b... |
h2olog: avoid runtime exceptions in parsing sys.argv | @@ -720,13 +720,10 @@ def usage():
def main():
- output_file = sys.argv[1]
- if not output_file:
+ if len(sys.argv) <= 2:
usage()
- d_files = sys.argv[2:]
- if not d_files:
- usage()
+ output_file, *d_files = sys.argv[1:]
context = prepare_context(d_files)
generate_cplusplus(context, output_file)
|
clean mod_auth_openidc.la in uninstall-local | @@ -73,7 +73,7 @@ install-exec-local:
${INSTALL} -p -m 755 -D .libs/mod_auth_openidc.so $(DESTDIR)@APACHE_MODULEDIR@/mod_auth_openidc.so
uninstall-local:
- rm -f $(DESTDIR)@APACHE_MODULEDIR@/mod_auth_openidc.so
+ rm -f $(DESTDIR)@APACHE_MODULEDIR@/mod_auth_openidc.so mod_auth_openidc.la
LDADD = libauth_openidc.la ${LIB... |
Sockeye: Fix PCI vaddr in use. | @@ -200,7 +200,7 @@ add_pci_internal(S, Addr, Enum, Module, ModuleIOMMU, NewS) :-
state_add(S4, pci_address_node_id(Addr, Enum), S5),
% We keep the lowest root vnode slot unmapped, hence the 512G hole.
Limit is 512 * 1024 * 1024 * 1024,
- state_add(S5, in_use(region(PCIOUT_ID, block(0, Limit))), NewS).
+ state_add(S5, ... |
Use -auto-orient rather than -flip | @@ -39,36 +39,6 @@ import testlib.misc as misc
CONVERT_BINARY = ["convert"]
-g_ConvertVersion = None
-
-
-def get_convert_version():
- """
- Get the major/minor version of ImageMagick on the system.
- """
- global g_ConvertVersion
-
- if g_ConvertVersion is None:
- command = list(CONVERT_BINARY)
- command += ["--versio... |
board/mrbland/base_detect.c: Format with clang-format
BRANCH=none
TEST=none | @@ -109,8 +109,8 @@ static uint32_t pulse_width;
static void print_base_detect_value(int v, int tmp_pulse_width)
{
- CPRINTS("%s = %d (pulse %d)", adc_channels[ADC_BASE_DET].name,
- v, tmp_pulse_width);
+ CPRINTS("%s = %d (pulse %d)", adc_channels[ADC_BASE_DET].name, v,
+ tmp_pulse_width);
}
static void base_detect_def... |
[kernel] fix bug in computation of Jacobian in Rolling friction | @@ -107,11 +107,18 @@ void NewtonEuler5DR::RFC3DcomputeJachqTFromContacts(SP::SiconosVector q1)
DEBUG_PRINT("lever arm skew matrix :\n");
DEBUG_EXPR(_NPG1->display(););
+ /* The Jacobian matrix (H) is given by the product
+ * H = _RotationAbsToContactFrame
+ * for the translation part and
+ * H = _RotationAbsToContactF... |
doc: fix Makefile to address multiple publishers
Need to make sure the local projectacrn.github.io is in sync with the
master before starting up the publishing process. | @@ -69,6 +69,7 @@ clean:
publish:
mkdir -p $(PUBLISHDIR)
+ cd $(PUBLISHDIR)/..; git pull origin master
rm -fr $(PUBLISHDIR)/*
cp -r $(BUILDDIR)/html/* $(PUBLISHDIR)
cp scripts/publish-README.md $(PUBLISHDIR)/../README.md
|
small logic cleanup | @@ -32,10 +32,14 @@ int cruise_engaged_last = 0; // cruise state
static void toyota_rx_hook(CAN_FIFOMailBox_TypeDef *to_push) {
// get eps motor torque (0.66 factor in dbc)
if ((to_push->RIR>>21) == 0x260) {
- int16_t torque_meas_new_16 = (((to_push->RDHR) & 0xFF00) | ((to_push->RDHR >> 16) & 0xFF));
+ int torque_meas_... |
Docs: Clarify for the end user | @@ -24,7 +24,7 @@ OpenCore Changelog
- Added support for `StartupMute` variable in `PlayChime`
- Added support for per-volume icons for APFS on Preboot
- Removed HII dependency from OpenUsbKbDxe driver
-- Fixed undefined behavior in OpenDuet
+- Fixed undefined behavior in OpenDuet causing random crashes and hangs
#### ... |
Clarify xref to fmt spec | @@ -395,7 +395,7 @@ Most of them return a string, however some of these functions actually return an
.Ql %spec
pattern replaced by interpolating the format
.Ar spec
-.Pq c.f. Sx Symbol interpolation
+.Pq using the same syntax as Sx Symbol interpolation
with its corresponding argument in
.Ar args
.Pq So %% Sc is replace... |
add menu items to show/hide houdini assets in the outliner | @@ -400,6 +400,22 @@ houdiniEngine_viewInHoudini()
houdiniEngine_run($cmds);
}
+global proc
+houdiniEngine_showOutliner(int $show, int $history)
+{
+ string $assets[] = `ls -type houdiniAsset`;
+ for ($asset in $assets) {
+ if($show) {
+ setAttr ($asset + ".hiddenInOutliner") false;
+ } else {
+ if(!$history || (`getAt... |
hark-chat-hook: restart possibly killed subscription
Issue may have caused the subscription to be killed by way of a
crashed %fact handling. If so, restart the subscription. | ++ on-load
|= old=vase
^- (quip card _this)
- `this(state !<(state-0 old))
+ :_ this(state !<(state-0 old))
+ ?: (~(has by wex.bowl) [/chat our.bowl %chat-store])
+ ~
+ ~[watch-chat:ha]
::
++ on-watch
|= =path
|
just put all 'press a' into default so you don't have to add a case if it's just another press a item | @@ -337,9 +337,7 @@ void blit_menu_render(uint32_t time) {
screen.rectangle(Rect(screen_width / 2, 31, 75 * global_volume, 5));
break;
- case DFU:
- case SHIPPING:
- case SWITCH_EXE:
+ default:
screen.pen = Pen(255, 255, 255);
screen.text("Press A", minimal_font, press_a_origin(item, screen_width));
break;
|
Add lv_roller_set_fix_width to API map | @@ -128,6 +128,23 @@ static inline bool lv_slider_get_sym(lv_obj_t * slider)
return lv_bar_get_sym(slider);
}
+#endif
+
+#if LV_USE_ROLLER
+
+/**
+ * Set a fixed width for the roller.
+ * @param roller pointer to a roller object
+ * @param w width
+ * @deprecated As of v7.0, you should use `lv_roller_set_auto_fit` and ... |
Update .gitattributes whitespaces | site-packages/* linguist-vendored linguist-generated
-"Pyto Mac/PyObjC/*" linguist-vendored linguist-generated
-"Pyto Mac/pip/*" linguist-vendored linguist-generated
+"Pyto[[:space:]]Mac/PyObjC/*" linguist-vendored linguist-generated
+"Pyto[[:space:]]Mac/pip/*" linguist-vendored linguist-generated
libpng/* linguist-ven... |
session MAINTENANCE remove unused functions | @@ -1375,26 +1375,6 @@ nc_handshake_io(struct nc_session *session)
return type;
}
-#ifdef NC_ENABLED_SSH
-
-static void
-nc_ssh_init(void)
-{
- ssh_threads_set_callbacks(ssh_threads_get_pthread());
- ssh_init();
-}
-
-static void
-nc_ssh_destroy(void)
-{
- FIPS_mode_set(0);
- CONF_modules_unload(1);
- nc_thread_destroy... |
build CHANGE make read_timeout a real option | @@ -36,6 +36,7 @@ set(LIBNETCONF2_SOVERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSI
option(ENABLE_SSH "Enable NETCONF over SSH support (via libssh)" ON)
option(ENABLE_TLS "Enable NETCONF over TLS support (via OpenSSL)" ON)
option(ENABLE_DNSSEC "Enable support for SSHFP retrieval using DNSSEC for SSH (req... |
Avoid penalizing tall skinny matrices | #endif
#ifndef COMPLEX
-#define SMP_FACTOR 8
+#define SMP_FACTOR 256
#else
-#define SMP_FACTOR 4
+#define SMP_FACTOR 128
#endif
static int (*trsm[])(blas_arg_t *, BLASLONG *, BLASLONG *, FLOAT *, FLOAT *, BLASLONG) = {
@@ -372,10 +372,14 @@ void CNAME(enum CBLAS_ORDER order,
mode |= (trans << BLAS_TRANSA_SHIFT);
mode |... |
Update /README.md | @@ -23,31 +23,32 @@ and operating systems (using that term to include desktop and mobile user
interfaces, not just the kernel).
[Wuffs the Library](/doc/wuffs-the-library.md) is [available](/release/c) as
-transpiled C code. Other C/C++ projects can use that library without requiring
-the [Wuffs the Language](/doc/wuff... |
threads: Print process name when asserting on corrupted ustack
JIRA: | @@ -630,7 +630,7 @@ int threads_schedule(unsigned int n, cpu_context_t *context, void *arg)
if (selected != NULL && selected->process != NULL && selected->ustack != NULL &&
hal_memcmp(selected->ustack, threads_common.stackCanary, sizeof(threads_common.stackCanary)) != 0) {
- lib_printf("proc: User stack corrupted pid=%... |
quickdump: fix size_t bug | @@ -504,7 +504,7 @@ ssize_t findMetaLink (struct list * list, const Key * meta)
if (search > list->array[list->size - 1]->meta)
{
- return -list->size - 1;
+ return -(ssize_t) list->size - 1;
}
ssize_t left = 0;
|
all -> default, new all -> build all | @@ -349,15 +349,20 @@ function _make_all(makefile)
makefile:print("")
-- make all
- local all = ""
+ local default = ""
for targetname, target in pairs(project.targets()) do
- local default = target:get("default")
- if default == nil or default == true then
- all = all .. " " .. targetname
+ local isdefault = target:ge... |
started adding dcp copy functions to dcmp | * For details, see https://github.com/hpc/fileutils.
* Please also read the LICENSE file.
*/
-
+#include "handle_args.h"
+#include "mfu_flist.h"
#include <stdio.h>
#include <unistd.h>
#include <getopt.h>
@@ -1997,6 +1998,41 @@ int main(int argc, char **argv)
int option_index = 0;
+ /* Initialize statistics */
+ DCOPY_s... |
Move PG_USED_FOR_ASSERTS_ONLY before initializer.
Erik Rijkers reported a compile failure, and I think this is probably
the reason. | @@ -2058,7 +2058,7 @@ compile_relation_list_one_db(PGconn *conn, SimplePtrList *relations,
{
int pattern_id = -1;
bool is_heap = false;
- bool is_btree = false PG_USED_FOR_ASSERTS_ONLY;
+ bool is_btree PG_USED_FOR_ASSERTS_ONLY = false;
Oid oid = InvalidOid;
const char *nspname = NULL;
const char *relname = NULL;
|
fixed handling of ESSIDs | @@ -405,7 +405,7 @@ static char essidstring[ESSID_LEN_MAX *2 +1];
p = 0;
for(c = 0; c < essidlen; c++)
{
- if((essid[c] < 0x20) && (essid[c] > 0x7e)) essidstring[p++] = '.';
+ if((essid[c] < 0x20) || (essid[c] > 0x7e)) essidstring[p++] = '.';
else if(essid[c] == 0x5c)
{
essidstring[p++] = 0x5c;
@@ -446,7 +446,7 @@ stat... |
lib: initialize event channel structure | @@ -138,6 +138,8 @@ flb_ctx_t *flb_create()
/* Prepare the notification channels */
ctx->event_channel = flb_calloc(1, sizeof(struct mk_event));
+ MK_EVENT_ZERO(ctx->event_channel);
+
ret = mk_event_channel_create(config->ch_evl,
&config->ch_notif[0],
&config->ch_notif[1],
|
travis: Default MACOSX_DEPLOYMENT_TARGET to 10.4 for LuaJIT 2.1 | @@ -11,6 +11,8 @@ addons:
env:
global:
- LUAROCKS=2.3.0
+ # For LuaJIT 2.1, see https://github.com/LuaJIT/LuaJIT/commit/8961a92dd1607108760694af3486b4434602f8be
+ - MACOSX_DEPLOYMENT_TARGET=10.4
matrix:
- WITH_LUA_ENGINE=Lua LUA=lua5.3
- WITH_LUA_ENGINE=LuaJIT LUA=luajit2.1
|
bbr: Init send_quantum | @@ -487,6 +487,8 @@ static void bbr_init(ngtcp2_bbr_cc *cc, ngtcp2_conn_stat *cstat,
cc->congestion_recovery_start_ts = UINT64_MAX;
cc->in_loss_recovery = 0;
+ cstat->send_quantum = cstat->max_udp_payload_size * 10;
+
ngtcp2_window_filter_init(&cc->btl_bw_filter, NGTCP2_BBR_BTL_BW_FILTERLEN);
bbr_init_round_counting(cc... |
OcMiscLib: Use TPL_CALLBACK for WaitForKeyIndex timeout
On APTIO IV TPL_APPLICATION gives EFI_INVALID_PARAMETER. | **/
#include <Uefi.h>
+#include <Library/DebugLib.h>
#include <Library/UefiRuntimeServicesTableLib.h>
#include <Library/UefiBootServicesTableLib.h>
#include <Library/OcMiscLib.h>
@@ -86,7 +87,7 @@ WaitForKeyIndex (
//
TimerEvent = NULL;
if (Timeout > 0) {
- Status = gBS->CreateEvent (EVT_TIMER, TPL_APPLICATION, NULL, N... |
Consolidate ban logging | @@ -195,7 +195,7 @@ namespace Miningcore.Blockchain.Equihash
await connection.RespondErrorAsync(StratumError.UnauthorizedWorker, "Authorization failed", request.Id, context.IsAuthorized);
// issue short-time ban if unauthorized to prevent DDos on daemon (validateaddress RPC)
- logger.Info(() => $"[{connection.Connectio... |
docs: update example test-suite output for 2.0 | @@ -50,14 +50,15 @@ checking whether build environment is sane... yes
...
---------------------------------------------- SUMMARY ---------------------------------------------
-Package version............... : test-suite-1.3.0
+Package version............... : test-suite-2.0.0
Build user.................... : ohpc-test
... |
Fix propotype to include the const qualifier
GH: | @@ -59,33 +59,33 @@ EVP_enc_null
void EVP_CIPHER_CTX_free(EVP_CIPHER_CTX *ctx);
int EVP_EncryptInit_ex(EVP_CIPHER_CTX *ctx, const EVP_CIPHER *type,
- ENGINE *impl, unsigned char *key, unsigned char *iv);
+ ENGINE *impl, const unsigned char *key, const unsigned char *iv);
int EVP_EncryptUpdate(EVP_CIPHER_CTX *ctx, unsig... |
SOVERSION bump to version 2.20.29 | @@ -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 20)
-set(LIBYANG_MICRO_SOVERSION 28)
+set(LIBYANG_MICRO_SOVERSION 29)
set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG... |
Implement +from-unix for turning timestamps into | :: ::::
++ chrono ^?
|%
+ :: +from-unix: unix timestamp to @da
+ ::
+ ++ from-unix
+ |= timestamp=@ud
+ ^- @da
+ %+ add ~1970.1.1
+ (mul timestamp ~s1)
:: :: ++dawn:chrono:
++ dawn :: Jan 1 weekday
|= yer/@ud
|
luci-app-ttyd: move to system | {
- "admin/services/ttyd": {
+ "admin/system/ttyd": {
"title": "ttyd",
"action": {
"type": "firstchild"
}
},
- "admin/services/ttyd/ttyd": {
+ "admin/system/ttyd/ttyd": {
"title": "Terminal",
"order": 1,
"action": {
}
},
- "admin/services/ttyd/config": {
+ "admin/system/ttyd/config": {
"title": "Config",
"order": 2,
"a... |
get rid of C99ism
We know that it is a good custom to keep the scope of variables narrower.
But, sadly, Visual C++ does not support such style. | @@ -19,15 +19,16 @@ static void start_document(void * ctx)
if(NULL != ctxt && ctxt->html != 1) {
if(ctxt->standalone != -1) { /* -1 means there was no declaration */
VALUE encoding = Qnil ;
+ VALUE standalone = Qnil;
+ VALUE version;
if (ctxt->encoding) {
encoding = NOKOGIRI_STR_NEW2(ctxt->encoding) ;
} else if (ctxt->... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.