message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Update FireSim CI. Push threading into test context | @@ -42,10 +42,9 @@ abstract class FireSimTestSuite(
}
def runTest(backend: String, name: String, debug: Boolean, additionalArgs: Seq[String] = Nil) = {
- behavior of s"${name} running on ${backend} in MIDAS-level simulation"
compileMlSimulator(backend, debug)
if (isCmdAvailable(backend)) {
- it should s"pass" in {
+ it... |
One last warning fix | @@ -438,7 +438,8 @@ load_key ( const char * const p, ENGINE * const e )
printf ( "Engine key id: %s, algo %d\n", id, alg );
/* Attempt to load the key from the engine. */
- status = ldns_key_new_frm_engine ( &key, e, (char *) id, alg );
+ status = ldns_key_new_frm_engine (
+ &key, e, (char *) id, (ldns_algorithm)alg );... |
bluez-firmware-rpidistro: Add compatibility to oe-core/create-spdx
Add do_create_spdx dependency to fix error when LICENCE is not found | @@ -39,7 +39,7 @@ do_extract_lic() {
}
# Must be before both do_install and do_populate_lic. Putting it before
# their common ancestor works; other approaches do not.
-addtask extract_lic after do_unpack before do_patch
+addtask extract_lic after do_unpack before do_patch do_create_spdx
do_compile() {
:
|
sr: fix byte-order in steering API
Type: fix | @@ -224,7 +224,7 @@ static void vl_api_sr_steering_add_del_t_handler
ntohl (mp->sr_policy_index),
ntohl (mp->table_id),
&prefix_addr,
- ntohl (mp->prefix.len),
+ mp->prefix.len,
ntohl (mp->sw_if_index), mp->traffic_type);
BAD_SW_IF_INDEX_LABEL;
@@ -364,7 +364,7 @@ static void send_sr_steering_pol_details
rmp->fib_table... |
Force align compress_fixed_partition_buffers | @@ -937,7 +937,7 @@ struct encoding_choice_errors
};
// buffers used to store intermediate data in compress_symbolic_block_fixed_partition_*()
-struct compress_fixed_partition_buffers
+struct alignas(32) compress_fixed_partition_buffers
{
endpoints_and_weights ei1;
endpoints_and_weights ei2;
|
Update meson build for | @@ -29,7 +29,7 @@ m_dep = cc.find_library('m', required : false)
dl_dep = cc.find_library('dl', required : false)
# Some options
-add_project_arguments('-DJANET_BUILD="meson"', language : 'c')
+add_project_link_arguments('-rdynamic', language : 'c')
# Include directories
incdir = include_directories('src/include')
|
firfilt/autotest: adding explicit test for comparing push/write | @@ -126,3 +126,33 @@ void autotest_firfilt_recreate()
firfilt_crcf_destroy(q);
}
+// compare push vs write methods
+void autotest_firfilt_push_write()
+{
+ // create two identical objects
+ firfilt_rrrf q0 = firfilt_rrrf_create_kaiser(51, 0.2f, 60.0f, 0.0f);
+ firfilt_rrrf q1 = firfilt_rrrf_create_kaiser(51, 0.2f, 60.0... |
firfilt/autotest: adding tests for create_rect() | @@ -57,6 +57,23 @@ void autotest_firfilt_crcf_firdespm()
firfilt_crcf_destroy(q);
}
+void autotest_firfilt_crcf_rect()
+{
+ // design filter
+ firfilt_crcf q = firfilt_crcf_create_rect(4);
+ firfilt_crcf_set_scale(q, 0.25f);
+
+ // verify resulting spectrum
+ autotest_psd_s regions[] = {
+ {.fmin=-0.5, .fmax=-0.20, .pm... |
Remove CFS code for an unsupported platform. | @@ -68,11 +68,7 @@ cfs_readdir(struct cfs_dir *p, struct cfs_dirent *e)
}
strncpy(e->name, res->d_name, sizeof(e->name) - 1);
e->name[sizeof(e->name) - 1] = '\0';
-#if defined(__APPLE2__) || defined(__CBM__)
- e->size = res->d_blocks;
-#else /* __APPLE2__ || __CBM__ */
e->size = 0;
-#endif /* __APPLE2__ || __CBM__ */
r... |
Fix rate_control for other LP-GOPS | @@ -79,8 +79,19 @@ static double gop_allocate_bits(encoder_state_t * const state)
int pictures_coded = MAX(0, state->frame->num - encoder->cfg.owf);
int gop_offset = (state->frame->gop_offset - encoder->cfg.owf) % MAX(1, encoder->cfg.gop_len);
+
+ if(encoder->cfg.gop_lp_definition.d != 0 && encoder->cfg.gop_lp_definiti... |
Remove unneeded #warning pre-processor command in lv_vdb.h
That directive breaks non-gcc builds (e.g. for the pc simulator) and is
not very valuable from a user point of view. | @@ -31,8 +31,7 @@ extern "C" {
#define LV_VDB_ADR_INV 8 /*8 is still too small to be valid but it's aligned on 64 bit machines as well*/
#ifndef LV_VDB_PX_BPP
-#warning "LV_VDB_PX_BPP is not specified in lv_conf.h. Use the default value (LV_COLOR_SIZE)"
-#define LV_VDB_PX_BPP LV_COLOR_SIZE
+#define LV_VDB_PX_BPP LV_COL... |
Add HeaderCustomDraw types | @@ -165,6 +165,22 @@ typedef struct _PH_TREENEW_CONTEXT
WNDPROC HeaderWindowProc;
WNDPROC FixedHeaderWindowProc;
HIMAGELIST ImageListHandle;
+
+ union
+ {
+ ULONG HeaderFlags;
+ struct
+ {
+ ULONG HeaderCustomDraw : 1;
+ ULONG HeaderMouseActive : 1;
+ ULONG HeaderDragging : 1;
+ ULONG HeaderUnused : 13;
+
+ ULONG Heade... |
VERSION bump to version 1.4.98 | @@ -46,7 +46,7 @@ endif()
# micro version is changed with a set of small changes or bugfixes anywhere in the project.
set(SYSREPO_MAJOR_VERSION 1)
set(SYSREPO_MINOR_VERSION 4)
-set(SYSREPO_MICRO_VERSION 97)
+set(SYSREPO_MICRO_VERSION 98)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI... |
Give OpenVR its depth buffer back; | @@ -737,7 +737,7 @@ static void openvrRenderTo(headsetRenderCallback callback, void* userdata) {
if (!state.canvas) {
state.system->GetRecommendedRenderTargetSize(&state.renderWidth, &state.renderHeight);
- state.canvas = lovrCanvasCreate(state.renderWidth, state.renderHeight, FORMAT_RGB, CANVAS_3D, 4, false, false);
+... |
options/ansi: Fixed a bug in strtok() when the string ended on the delimiter. | @@ -203,6 +203,8 @@ char *strtok_r(char *__restrict s, const char *__restrict del, char **__restrict
}else{
*m = nullptr;
}
+ if(p == tok)
+ return nullptr;
return tok;
}
char *strtok(char *__restrict s, const char *__restrict delimiter) {
|
esp_netif: Update documentation on deinitialization of wifi default netif
Closes | @@ -160,7 +160,9 @@ such as softAP and station, are provided in two separate APIs to facilitate simp
Please note that these functions return the ``esp_netif`` handle, i.e. a pointer to a network interface object allocated and
configured with default settings, which as a consequence, means that:
-* The created object ha... |
Dont add repeated tasks to queue... Just execute them | @@ -47,11 +47,11 @@ bool GameMainThread::HookMainThread(void* a1, void* a2)
{
auto& gmt = Get();
- // add all repeated tasks
+ // do all repeated tasks
for (auto& task : gmt.m_repeatedTasks)
- gmt.m_taskQueue.Add(task);
-
+ task();
+ // do single tasks
gmt.m_taskQueue.Drain();
return gmt.m_pMainThreadOriginal(a1, a2);
|
set errno ENOMEM for limited arena allocation (issue | @@ -197,7 +197,10 @@ void* _mi_arena_alloc_aligned(size_t size, size_t alignment, bool* commit, bool*
}
// finally, fall back to the OS
- if (mi_option_is_enabled(mi_option_limit_os_alloc)) return NULL;
+ if (mi_option_is_enabled(mi_option_limit_os_alloc)) {
+ errno = ENOMEM;
+ return NULL;
+ }
*is_zero = true;
*memid ... |
BUMP pymongocrypt 1.2.0.dev0 | # See the License for the specific language governing permissions and
# limitations under the License.
-__version__ = '1.1.2'
+__version__ = '1.2.0.dev0'
_MIN_LIBMONGOCRYPT_VERSION = '1.2.0'
|
Range: Remove markers from end of Markdown heading | - infos/metadata = check/range check/type
- infos/description = tests if a value is within a given range
-## Introduction ##
+## Introduction
The range plugin checks if a `Key`'s value is within a given range.
-## Usage ##
+## Usage
The plugin checks every `Key` in the `KeySet` for the metakey `check/range` which conta... |
autopill: export to pills directory, not put root | =; sag=sole-effect:shoe
[[%txt "built {(trip name)}.pill"] sag ~]
|^ =* base base.pill
- :+ %sag /[name]/pill
+ :+ %sag /pills/[name]/pill
?- -.pill
%ivory (ivory:libpill (sys base))
::
|
Fix for timeout errors on I2C introduced with ESP32 3.0 release. | @@ -154,9 +154,6 @@ HRESULT Library_win_dev_i2c_native_Windows_Devices_I2c_I2cDevice::NativeTransmit
// see the comments in the SpiDevice() constructor in managed code for details, subtract 1 to get ESP32 bus number
i2c_port_t bus = (i2c_port_t)((pThis[ FIELD___deviceId ].NumericByRef().s4 / 1000) - 1);
- // Set the Bu... |
uds: rx message buffering | #!/usr/bin/env python3
import time
import struct
+from collections import deque
from typing import Callable, NamedTuple, Tuple, List
from enum import IntEnum
@@ -275,11 +276,12 @@ class CanClient():
self.rx = can_recv
self.tx_addr = tx_addr
self.rx_addr = rx_addr
+ self.rx_buff = deque()
self.sub_addr = sub_addr
self.b... |
fix(bot-audit-log): wrong id | @@ -59,7 +59,7 @@ void on_audit_channel_create(
client,
msg->guild_id,
&(struct discord_get_guild_audit_log_params){
- .user_id = msg->guild_id,
+ .user_id = msg->author->id,
.action_type = DISCORD_AUDIT_LOG_CHANNEL_CREATE
},
&audit_log);
|
argdist: Exit with nonzero return code on error | @@ -637,7 +637,7 @@ argdist -p 2780 -z 120 \\
self.probes.append(Probe(self, "hist", histspecifier))
if len(self.probes) == 0:
print("at least one specifier is required")
- exit()
+ exit(1)
def _generate_program(self):
bpf_source = """
@@ -695,10 +695,13 @@ struct __string_t { char s[%d]; };
self._attach()
self._main_l... |
Fix GCC compilation; | #pragma once
+#ifndef __has_builtin
+#define __has_builtin(x) 0
+#endif
+
#ifndef LOVR_ENABLE_THREAD
// Thread module is off, don't use atomics
@@ -21,7 +25,7 @@ static inline uint32_t ref_inc(Ref* ref) { return _InterlockedIncrement(ref); }
static inline uint32_t ref_dec(Ref* ref) { return _InterlockedDecrement(ref); ... |
Test application's return type | @@ -634,7 +634,7 @@ static inline void *iodine_handle_request_in_GVL(void *handle_) {
// close rack.io
IodineRackIO.close(tmp);
// test handler's return value
- if (rbresponse == 0 || rbresponse == Qnil)
+ if (rbresponse == 0 || rbresponse == Qnil || TYPE(rbresponse) != T_ARRAY)
goto internal_error;
IodineStore.add(rbr... |
fix BCH transfer handlers | @@ -233,8 +233,6 @@ BRCryptoTransferHandlers cryptoTransferHandlersBTC = {
BRCryptoTransferHandlers cryptoTransferHandlersBCH = {
cryptoTransferReleaseBTC,
- cryptoTransferGetAmountAsSignBTC,
- cryptoTransferGetDirectionBTC,
cryptoTransferGetHashBTC,
cryptoTransferSerializeForSubmissionBTC,
cryptoTransferIsEqualBTC
|
meta: correct environment in status bar | @@ -48,7 +48,7 @@ const StatusBar = (props) => {
<StatusBarItem
mr='2'
backgroundColor='yellow'
- display={process.env.NODE_ENV === 'development' ? 'flex' : 'none'}
+ display={process.env.LANDSCAPE_STREAM === 'development' ? 'flex' : 'none'}
justifyContent="flex-end"
flexShrink='0'
onClick={() => window.open(
|
Update the check for ret and xorps when we patch return addrs | @@ -243,17 +243,19 @@ patch_return_addrs(funchook_t *funchook,
(char*)asm_inst[i].mnemonic,
(char*)asm_inst[i].op_str);
- // If the current instruction is a RET or XORPS
- // we want to patch the ADD or SUB immediately before it.
+ // If the current instruction is a RET
+ // and previous inst is add or sub, then get th... |
hfuzz: don't use sanitizer-coverage-prune-blocks anymore. Use default value for that | @@ -362,8 +362,6 @@ static void commonPostOpts(int* j, char** args, int argc, char** argv) {
}
args[(*j)++] = "-fsanitize-coverage=trace-pc-guard,trace-cmp,trace-div,indirect-calls";
}
- args[(*j)++] = "-mllvm";
- args[(*j)++] = "-sanitizer-coverage-prune-blocks=1";
}
}
|
autopill: clear next build time after build | |%
+$ state-0
$: %0
- make=(map @ta [next=@da =task]) :: things to make
- hear=(set desk) :: desks we are observing
+ make=(map @ta [next=(unit @da) =task]) :: things to make
+ hear=(set desk) :: observed desks
sole=@ta :: the way out
==
::
==
=/ news (~(dif in targ) hear)
=. hear (~(uni in hear) targ)
- =. make (~(put... |
Add missing return on file_handler failure
Mistake introduced by | @@ -37,6 +37,7 @@ file_handler_init(struct file_handler *file_handler, const char *serial,
LOGE("Could not create intr");
sc_cond_destroy(&file_handler->event_cond);
sc_mutex_destroy(&file_handler->mutex);
+ return false;
}
file_handler->serial = strdup(serial);
|
bootstrap load_from_file returns a local handle to metacall | @@ -89,6 +89,8 @@ public class bootstrap {
}
public static String[] loadFromFile(String[] paths) {
+ Handle handleObject = new Handle(); // Handle Class to store classes and names
+
// load all scripts and store them into a Handle class, then return it
for (int i = 0; i < paths.length; i++) {
System.out.println("Path p... |
Minor re-styling of configure.ac | @@ -147,16 +147,17 @@ AS_IF([test "x$have_crypto" = "xno"],
],
[
AC_MSG_WARN([
-*******************************************************************************
- Could not find OpenSSL library. Some features in "pe" module have been
- disabled. If you want to enable all features please install it and run this
- script ... |
Verge Blockhasher fixes | @@ -63,9 +63,6 @@ namespace MiningCore.Blockchain.Bitcoin
private static readonly BitcoinCoinProperties x11Coin =
new BitcoinCoinProperties(1, sha256D, x11, new DigestReverser(x11), "X11");
- private static readonly BitcoinCoinProperties blake2sCoin =
- new BitcoinCoinProperties(1, sha256D, blake2s, new DigestReverser(... |
[mod_maxminddb] fix config validation typo
(bug on master branch; never released)
(thx maxentry)
x-ref:
"maxminddb.env error 1.4.56" | @@ -285,7 +285,7 @@ SETDEFAULTS_FUNC(mod_maxminddb_set_defaults)
T_CONFIG_STRING,
T_CONFIG_SCOPE_CONNECTION }
,{ CONST_STR_LEN("maxminddb.env"),
- T_CONFIG_ARRAY_VLIST,
+ T_CONFIG_ARRAY_KVSTRING,
T_CONFIG_SCOPE_CONNECTION }
,{ NULL, 0,
T_CONFIG_UNSET,
|
INCLUDE: clap/ext/draft/audio-ports-activation.h: disambiguate docs
Clarify that is_active=true *and* is_active=false can be set on the
audio-thread if can_activate_while_processing. | /// This extension provides a way for the host to activate and de-activate audio ports.
/// Deactivating a port provides the following benefits:
/// - the plugin knows ahead of time that a given input is not present and can choose
-/// an optimized computation path
+/// an optimized computation path,
/// - the plugin k... |
[chainmaker] update file | @@ -204,10 +204,10 @@ BSINT32 BoatWalletCreate(BoatProtocolType protocol_type, const BCHAR *wallet_nam
if (wallet_config_ptr != NULL)
{
memcpy(boatwalletStore_ptr, wallet_config_ptr, wallet_config_size);
- wallet_ptr = BoatChainmakerWalletInit((BoatHlfabricWalletConfig*)wallet_config_ptr, wallet_config_size);
+ wallet_... |
* jql_set_json_jbl fix | @@ -111,14 +111,25 @@ iwrc jql_set_json(JQL q, const char *placeholder, int index, JBL_NODE val) {
return jql_set_json2(q, placeholder, index, val, 0, 0);
}
+static void _jql_free_iwpool(void *ptr, void *op) {
+ iwpool_destroy((IWPOOL *) op);
+}
+
iwrc jql_set_json_jbl(JQL q, const char *placeholder, int index, JBL jbl... |
Add batch dim | @@ -31,6 +31,7 @@ enum mri_dims {
LEVEL_DIM,
SLICE_DIM,
AVG_DIM,
+ BATCH_DIM,
};
#ifdef BERKELEY_SVN
@@ -59,6 +60,7 @@ enum mri_dims {
#define SENS_FLAGS (COIL_FLAG|MAPS_FLAG)
#define SLICE_FLAG (1u << SLICE_DIM)
#define AVG_FLAG (1u << AVG_DIM)
+#define BATCH_FLAG (1u << BATCH_DIM)
|
travis: allow TEST_WRAPPER to be run from ctest | @@ -269,7 +269,7 @@ script:
-G "${CMAKE_GENERATOR}" \
-DCMAKE_BUILD_TYPE="${BUILD_TYPE}" \
-DBUILD_CPP_TESTS=${BUILD_CPP_TESTS} \
- -DALWAYS_BUILD_NATIVE_TESTS=ON \
+ -DCMAKE_CROSSCOMPILING_EMULATOR="${TEST_WRAPPER}" \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
${CMAKE_ARGS}
- ${BUILD_WRAPPER} cmake --build .
|
don't release from branches even if named w/semver | @@ -39,7 +39,7 @@ jobs:
- name: Get Tag
id: tag
run: |
- if [ "true" = "${{ steps.version.outputs.is-semver }}" ]; then
+ if [ -z "${GITHUB_REF%%ref/tags/v*}" -a "true" = "${{ steps.version.outputs.is-semver }}" ]; then
echo "::set-output name=tag::${{ steps.version.outputs.version-without-v }}"
echo "::set-output name... |
settings: fix notification optimism
Fixes urbit/landscape#1009 | import {
Box,
-
Center, Col, Icon,
-
- ToggleSwitch, Text,
+ Text,
StatelessToggleSwitchField
} from '@tlon/indigo-react';
import { Association, GraphConfig, resourceFromPath } from '@urbit/api';
@@ -37,17 +35,19 @@ function GroupWithChannels(props: { association: Association }) {
s.notificationsGroupConfig.includes(as... |
web-ui: update doc/METADATA.ini with `usedby/tool = web` | @@ -163,6 +163,7 @@ description=Typically all namespaces are cascaded one after the other
can change the order.
[default]
+usedby/tool = web
status=implemented
usedby/api= ksLookup
description=The default value will be used if no other value could
@@ -295,6 +296,7 @@ description= Information based on which requirement ... |
Add user credentials before deployment. | @@ -43,6 +43,8 @@ jobs:
- cmake -G "Visual Studio 15 2017" -A x64 -DTINYSPLINE_ENABLE_PYTHON=True ..
- C:\\Python37\\python setup.py bdist_wheel
- popd
+ - git config user.name "Travis CI"
+ - git config user.email "travis@tinyspline.org"
- git remote add gh https://${TRAVIS_REPO_SLUG%/*}:${GITHUB_TOKEN}@github.com/${T... |
Refactor out creation of autocompletion data struct | @@ -1180,6 +1180,7 @@ static void addAutocompleteOption(AutocompleteData* data, const char* option)
{
if (strstr(option, data->incompleteWord) == option)
{
+ // The option matches the incomplete word, add it to the list.
strncat(data->options, option, CONSOLE_BUFFER_SCREEN);
strncat(data->options, " ", CONSOLE_BUFFER_S... |
doc: fix 2.3 release notes broken link
Removed the VBS-K Framework Virtualization Overhead Analysis document on
master. | @@ -74,7 +74,7 @@ New and updated reference documents are available, including:
* :ref:`asa`
* GVT-g-porting (obsolete with v2.6))
-* :ref:`vbsk-overhead`
+* VBS-K Framework Virtualization Overhead Analysis
* :ref:`asm_coding_guidelines`
* :ref:`c_coding_guidelines`
* :ref:`contribute_guidelines`
|
[hg-client] Fix some config options after update | },
"hg": {
"formula": {
- "sandbox_id": [285061761, 285061956, 74450064],
+ "sandbox_id": [285216845, 285217265, 74450064],
"match": "Hg"
},
"executable": {
|
host: l2cap: check connection parameters in ble_l2cap_sig_update_req_rx
This should be done before asking application. | @@ -373,6 +373,40 @@ ble_l2cap_sig_update_call_cb(struct ble_l2cap_sig_proc *proc, int status)
}
}
+static int
+ble_l2cap_sig_check_conn_params(const struct ble_gap_upd_params *params)
+{
+ /* Check connection interval min */
+ if ((params->itvl_min < BLE_HCI_CONN_ITVL_MIN) ||
+ (params->itvl_min > BLE_HCI_CONN_ITVL_MA... |
Partial Revert "Pull a specific revision of the openssl 1.0.2 branch to fix the ECDSA test in fips mode"
This reverts part of commit
With the fix in OpenSSL 1.0.2q CVE-2018-5407, Issue is fixed.
FIPS builds can now use the latest OpenSSL 1.0.2-stable commit. | @@ -61,10 +61,9 @@ make
sudo make install
cd "$BUILD_DIR"
-# Pull from a specific commit since an ECDSA PEM parsing bug was introduced into the branch
-curl --retry 3 -L https://github.com/openssl/openssl/archive/6a815969776e3329fdffcc12c77e047e3a15be78.zip --output openssl-OpenSSL_1_0_2-stable.zip
+curl --retry 3 -L h... |
removed some double inits | @@ -4176,8 +4176,6 @@ static uint16_t frequency;
rth = (rth_t*)capptr;
pf = RTH_SIZE;
-rssi = 0;
-interfacechannel = 0;
if((rth->it_present & IEEE80211_RADIOTAP_DBM_ANTSIGNAL) != IEEE80211_RADIOTAP_DBM_ANTSIGNAL) return;
if((rth->it_present & IEEE80211_RADIOTAP_EXT) == IEEE80211_RADIOTAP_EXT)
{
@@ -4227,6 +4225,7 @@ st... |
explicit numthreads in test | load ./common/test_helper_functions || exit 1
source ./common/functions || exit 1
-export GFORTRAN_UNBUFFERED_PRECONNECTED=1
if [ -s ./common/TEST_ENV ];then
source ./common/TEST_ENV
@@ -15,6 +14,8 @@ rm=$RESOURCE_MANAGER
testname="libs/openblas"
ARGS=0
+export GFORTRAN_UNBUFFERED_PRECONNECTED=1
+export OMP_NUM_THREADS... |
Increase handle provider hashtable size | @@ -90,7 +90,7 @@ PPH_HANDLE_PROVIDER PhCreateHandleProvider(
ProcessId
);
- handleProvider->TempListHashtable = PhCreateSimpleHashtable(20);
+ handleProvider->TempListHashtable = PhCreateSimpleHashtable(512);
PhEmCallObjectOperation(EmHandleProviderType, handleProvider, EmObjectCreate);
|
OpenCoreAcpi: Add patcher support | @@ -123,7 +123,58 @@ OcAcpiPatchTables (
IN OC_ACPI_CONTEXT *Context
)
{
+ EFI_STATUS Status;
+ UINT32 Index;
+ OC_ACPI_PATCH_ENTRY *UserPatch;
+ OC_ACPI_PATCH Patch;
+
+ for (Index = 0; Index < Config->Acpi.Patch.Count; ++Index) {
+ UserPatch = Config->Acpi.Patch.Values[Index];
+
+ if (UserPatch->Disabled) {
+ continu... |
Update iotapi_evt_handler.c | #include "iotapi_evt_handler.h"
#define IOTAPI_QUEUE_SIZE 19
-#ifdef IOTAPI_DEBUG
+#ifdef CONFIG_IOTAPI_DEBUG
#define IOTAPI_LOG(format, ...) printf(format, ##__VA_ARGS__)
#else
#define IOTAPI_LOG(x...)
|
Document the include file name changes | @@ -55,3 +55,19 @@ existing source code, you can define the macros and typedef in your headers:
UpnpInit() has long been deprecated and has now been dropped. Please use UpnpInit2().
+### Some include files have been renamed
+
+When the template code was removed, a few files were renamed for consistency. The function ca... |
Clarify the POD source for the list command. | @@ -50,16 +50,14 @@ as input to the L<dgst(1)> or L<speed(1)> commands.
=item B<-digest-algorithms>
Display a list of message digest algorithms.
-If a line is of the form
- foo => bar
-then B<foo> is an alias for the official algorithm name, B<bar>.
+If a line is of the form C<foo =E<gt> bar> then B<foo> is an alias fo... |
change project-conf.f for cc26xx-web-demo to make it link with the new stack region size on cc26xx | * Shrink the size of the uIP buffer, routing table and ND cache.
* Set the TCP MSS
*/
-#define UIP_CONF_BUFFER_SIZE 900
-#define NETSTCK_ROUTING_STATE_SIZE 5
+#define UIP_CONF_BUFFER_SIZE 500
+#define NETSTACK_MAX_ROUTE_ENTRIES 5
#define NBR_TABLE_CONF_MAX_NEIGHBORS 5
#define UIP_CONF_TCP_MSS 128
/*--------------------... |
configdata.pm.in: Don't try to quotify undefined values
Fixes | @@ -245,7 +245,13 @@ _____
foreach (sort keys %target) {
next if $_ =~ m|^_| || $_ eq 'template';
my $quotify = sub {
- map { (my $x = $_) =~ s|([\\\$\@"])|\\$1|g; "\"$x\""} @_;
+ map {
+ if (defined $_) {
+ (my $x = $_) =~ s|([\\\$\@"])|\\$1|g; "\"$x\""
+ } else {
+ "undef";
+ }
+ } @_;
};
print ' ', $_, ' => ';
if (r... |
[io] fix KernelTest | @@ -131,12 +131,12 @@ void KernelTest::t2()
void KernelTest::t3()
{
- SP::SolverOptions so(new SolverOptions);
+ SP::SolverOptions so(solver_options_create(SICONOS_FRICTION_3D_NSN_AC),
+ solver_options_delete);
SP::SolverOptions sor(new SolverOptions);
- solver_options_initialize(so.get(), SICONOS_FRICTION_3D_NSN_AC, 0... |
fix SYSINCL for NORUNTIME | @@ -147,11 +147,18 @@ when ($USE_INTERNAL_STL == "no") {
}
otherwise {
USE_INTERNAL_STL=yes
+ # This trigger doesn't work for module level since SYSINCL is processed at
+ # configuration stage (This means that NO_RUNTIME() macro called in ya.make
+ # won't affect SYSINCL and the only way to make this trigger work corre... |
Support generation of kconfig configuration files compatible with C tools. | @@ -1010,7 +1010,7 @@ class MenuConfig(object):
print('Saving config: \'{}\''.format(path))
# Try to save config to selected path
try:
- self.kconfig.write_config(path)
+ self.kconfig.write_config(path, header="#\n# Automatically generated file; DO NOT EDIT.\n")
self.unsaved_changes = False
self.config_path = path
self... |
Various improvements of doc/man5/x509v3_config.pod
include is the better word | @@ -284,8 +284,16 @@ B<access_id;location>, where B<access_id> is an object identifier
(although only a few values are well-known) and B<location> has the same
syntax as subject alternative name (except that B<email:copy> is not supported).
+Possible values for access_id include B<OCSP> (OCSP responder),
+B<caIssuers> ... |
components/bt: Fixed the problem of incomplete data packets caused by disordered acl data packets | @@ -1131,6 +1131,12 @@ void l2c_link_check_send_pkts (tL2C_LCB *p_lcb, tL2C_CCB *p_ccb, BT_HDR *p_buf)
while ((l2cb.controller_xmit_window != 0) && (p_lcb->sent_not_acked < p_lcb->link_xmit_quota))
#endif
{
+ //need check flag: partial_segment_being_sent
+ if ( (p_lcb->partial_segment_being_sent)
+ || (p_lcb->link_stat... |
fdelay/autotest: ensuring delay is set properly internally | @@ -38,6 +38,7 @@ void testbench_fdelay_rrrf(unsigned int _nmax,
// design filter from prototype and scale to bandwidth
fdelay_rrrf q = fdelay_rrrf_create(_nmax, _m, _npfb);
fdelay_rrrf_set_delay(q, _delay);
+ CONTEND_DELTA(fdelay_rrrf_get_delay(q), _delay, 1e-6f);
// generate impulse and propagate through object
float... |
machinarium: update .gitignore file | *.o
*.a
*.so
-example/benchmark
-example/echo
-example/wait
-example/cancel
-example/cancel_connect
-tests/test_new
-tests/test_create
-tests/test_sleep
-tests/test_wait
-tests/test_condition
-tests/test_condition_2
-tests/test_io_new
-tests/test_getaddrinfo
-tests/test_getaddrinfo_2
-tests/test_getaddrinfo_3
-tests/te... |
Kill to end of line instead of the entire line | @@ -37,6 +37,7 @@ static void delete_char(Edit_field *edit_field);
static void delete_backward_char(Edit_field *edit_field);
static void kill_word(Edit_field *edit_field);
static void backward_kill_word(Edit_field *edit_field);
+static void kill_to_end_of_line(Edit_field *edit_field);
static void handle_keydown(Edit_fi... |
Fix garbage value in branch condition
move the disass_handle variable initialization to avoid
evaluate it with indetermine value in "out" label in case of
branch when exe_handle is equal NULL | @@ -137,11 +137,11 @@ static int
bashMemFuncsFound()
{
int num_found = 0;
+ csh disass_handle = 0;
void *exe_handle = g_fn.dlopen(NULL, RTLD_LAZY);
if (!exe_handle) goto out;
- csh disass_handle = 0;
cs_arch arch;
cs_mode mode;
#if defined(__aarch64__)
|
fix RTOS SysTick cycle time error caused by DFS | @@ -426,7 +426,7 @@ static void IRAM_ATTR on_freq_update(uint32_t old_ticks_per_us, uint32_t ticks_p
}
#if __XTENSA__
-#if XT_RTOS_TIMER_INT
+#ifdef XT_RTOS_TIMER_INT
/* Calculate new tick divisor */
_xt_tick_divisor = ticks_per_us * MHZ / XT_TICK_PER_SEC;
#endif
|
fbo: use get be helpers. | @@ -1389,9 +1389,6 @@ static int fbo_emulate_format_unit(struct tcmu_device *dev, uint8_t *cdb,
struct fbo_state *state = tcmu_get_dev_private(dev);
pthread_t thr;
uint8_t param_list[12];
- uint16_t temp;
- uint32_t num_lbas;
- uint16_t block_size;
// TBD: If we simulate start/stop, then fail if stopped
if (state->flag... |
opae-sdk: fix cmake 3.11.4 build error | @@ -94,11 +94,13 @@ CMAKE_BUILD_DIR="${SDK_DIR}/_build"
rm -rf ${CMAKE_BUILD_DIR}
mkdir ${CMAKE_BUILD_DIR}
+cd ${CMAKE_BUILD_DIR}
+
if [ "${WHICH_RPM}" = 'rhel' ]; then
-cmake -S ${SDK_DIR} -B ${CMAKE_BUILD_DIR} \
+cmake ${SDK_DIR} \
-DOPAE_MINIMAL_BUILD=ON
else
-cmake -S ${SDK_DIR} -B ${CMAKE_BUILD_DIR} \
+cmake ${SDK... |
session client BUGFIX testing return value in wrong variable | @@ -756,7 +756,7 @@ build_schema_info_yl(struct nc_session *session)
if (submodules_count) {
result[u].submodules = calloc(submodules_count + 1, sizeof *result[u].submodules);
- if (!result) {
+ if (!result[u].submodules) {
ERRMEM;
} else {
v = 0;
|
Clang static analyser: dereference of a null pointer | @@ -455,6 +455,7 @@ int grib_trie_with_rank_insert(grib_trie_with_rank* t, const char* key, void* da
grib_trie_with_rank* last = t;
const char* k = key;
DebugAssert(t);
+ if (!t) return -1;
GRIB_MUTEX_INIT_ONCE(&once, &init);
GRIB_MUTEX_LOCK(&mutex);
|
libhfuzz: make sure that the feedback structure is mmap()'d before guards are set | @@ -40,7 +40,7 @@ static feedback_t bbMapFb;
feedback_t* feedback = &bbMapFb;
uint32_t my_thread_no = 0;
-__attribute__((constructor)) static void initializeInstrument(void) {
+static void initializeInstrument(void) {
if (fcntl(_HF_LOG_FD, F_GETFD) != -1) {
enum llevel_t ll = INFO;
const char* llstr = getenv(_HF_LOG_LE... |
Better ws test | @@ -30,6 +30,11 @@ coroutine void client(int s) {
errno_assert(s >= 0);
int rc = msend(s, "ABC", 3, -1);
errno_assert(rc == 0);
+ char buf[3];
+ ssize_t sz = mrecv(s, buf, sizeof(buf), -1);
+ errno_assert(sz >= 0);
+ assert(sz == 3);
+ assert(buf[0] == 'D' && buf[1] == 'E' && buf[2] == 'F');
}
int main(void) {
@@ -45,6... |
misc: remove HV_RAM_SIZE
remove HV_RAM_SIZE under misc directory because PR 6664 has
changed it in HV side. | @@ -25,10 +25,6 @@ typedef int32_t CAT_(CTA_DummyType,__LINE__)[(expr) ? 1 : -1]
#error "CONFIG_HV_RAM_START must be aligned to 2MB"
#endif
-#if ((CONFIG_HV_RAM_SIZE & (MEM_2M - 1UL)) != 0UL)
-#error "CONFIG_HV_RAM_SIZE must be integral multiple of 2MB"
-#endif
-
#if ((MAX_IR_ENTRIES < 256U) || (MAX_IR_ENTRIES > 0x1000... |
[CI] Ensure that /usr/applications is treated as a directory while building Rust projects | @@ -86,7 +86,8 @@ def _build_rust_libc_port(temp_dir: Path) -> None:
'build',
'--no-default-features',
'-Zbuild-std=core,alloc',
- f'--target={_TARGET_SPEC_FILE.as_posix()}'
+ '-Z macro-backtrace',
+ f'--target={_TARGET_SPEC_FILE.as_posix()}',
],
cwd=libc_dir,
env_additions=env
@@ -161,6 +162,8 @@ def build_rust_progra... |
added support for temp tileset | package sgdk.rescomp.type;
import java.io.FileNotFoundException;
+import java.util.ArrayList;
+import java.util.List;
-import org.w3c.dom.Document;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
@@ -107,23 +108,24 @@ public class TSX
numTile = imageTileWidth * imageTileHeigt;
transparentColor = XMLUtil.getAttribu... |
tools/statsnoop: Add some stat() variants
Add support of statx(). | #
# 08-Feb-2016 Brendan Gregg Created this.
# 17-Feb-2016 Allan McAleavy updated for BPF_PERF_OUTPUT
+# 29-Nov-2022 Rocky Xing Added stat() variants.
from __future__ import print_function
from bcc import BPF
@@ -59,7 +60,7 @@ struct data_t {
BPF_HASH(infotmp, u32, struct val_t);
BPF_PERF_OUTPUT(events);
-int syscall__e... |
daos: update documentation
minor doc updates | @@ -25,7 +25,7 @@ When both the source and the destination are DAOS non-POSIX containers
(of the same type),
the DAOS Object API will be used to perform the copy/sync operations.
-When DAOS support is enabled, mpiFileUtils also provides the
+When DAOS and HDF5 support is enabled, mpiFileUtils also provides the
daos-ser... |
removed suggestion to use iw | @@ -7246,11 +7246,6 @@ printf("%s %s (C) %s ZeroBeat\n"
"\n"
"short options:\n"
"-i <interface> : interface (monitor mode will be enabled by hcxdumptool)\n"
- " some Realtek interfaces require NETLINK to set monitor mode\n"
- " in this case try iw:\n"
- " ip link set <interface> down\n"
- " iw dev <interface> set type ... |
commander_btc: more granular response codes | @@ -212,14 +212,10 @@ commander_error_t commander_btc_sign(const Request* request, Response* response)
default:
return COMMANDER_ERR_GENERIC;
}
- if (result == APP_BTC_SIGN_ERR_USER_ABORT) {
- return COMMANDER_ERR_USER_ABORT;
- }
- if (result != APP_BTC_SIGN_OK) {
- return COMMANDER_ERR_GENERIC;
- }
+ if (result == APP... |
4.4.3RC3 changelist | +CARTO Mobile SDK 4.4.3RC3
+-------------------
+
+### New features:
+
+* Added 'getRendererLayerFilter', 'setRendererLayerFilter', 'getClickHandlerLayerFilter', 'setClickHandlerLayerFilter' methods to 'VectorTileLayer'. These methods allow ignoring certain layers for rendering or click detection.
+* Added 'reverse' fu... |
Remove bogus 'return'.
Per the buildfarm, via Michael Paquier.
Discussion: | @@ -1659,10 +1659,9 @@ table_relation_fetch_toast_slice(Relation toastrel, Oid valueid,
int32 attrsize, int32 sliceoffset,
int32 slicelength, struct varlena *result)
{
- return toastrel->rd_tableam->relation_fetch_toast_slice(toastrel, valueid,
+ toastrel->rd_tableam->relation_fetch_toast_slice(toastrel, valueid,
attrs... |
Update PIO release workflow | @@ -20,17 +20,20 @@ jobs:
run: |
python -m pip install --upgrade pip
pip install platformio
- - name: publish
+ - name: publish luos engine
env:
PLATFORMIO_AUTH_TOKEN: ${{ secrets.PIO_TOKEN }}
run: |
-
# ***** Luos engine publication *****
pio package pack
pio package publish --owner luos --non-interactive
+ continue-o... |
Add ubuntu22.04 target for ci | @@ -260,7 +260,7 @@ jupyterlab:install:
# Start CI in siconos-tutorials, when required
# How? Use [with examples] in your commit message.
-# Based on the specific docker image build and saved during ubuntu20:install step.
+# Based on the specific docker image build and saved during ubuntu22:install step.
bridge:example... |
Added break to line 170 | @@ -167,6 +167,7 @@ static int sao_edge_ddistortion_avx2(const kvz_pixel *orig_data,
tmp_sum_epi32 = _mm256_hadd_epi32(tmp_sum_epi32, tmp_sum_epi32);
sum += (_mm256_extract_epi32(tmp_sum_epi32, 0) + _mm256_extract_epi32(tmp_sum_epi32, 4));
+ break;
default:
|
Release Python GIL when flush response to start sending request data. | @@ -4130,6 +4130,8 @@ static int wsgi_execute_script(request_rec *r)
const char *data = "Status: 200 Continue\r\n\r\n";
long length = strlen(data);
+ Py_BEGIN_ALLOW_THREADS
+
filters = r->output_filters;
while (filters && filters->frec->ftype != AP_FTYPE_NETWORK) {
filters = filters->next;
@@ -4153,6 +4155,8 @@ static ... |
Log unsucessfull server resets | @@ -838,6 +838,8 @@ od_frontend_cleanup(od_client_t *client, char *context,
rc = od_reset(server);
if (rc != 1) {
/* close backend connection */
+ od_log(&instance->logger, context, client, server,
+ "reset unsuccessful, closing server connection");
od_router_close(router, client);
break;
}
|
add new size functions to header | @@ -118,7 +118,10 @@ void SCS(finish)(ScsWork *w);
/* scs calls SCS(init), SCS(solve), and SCS(finish) */
scs_int scs(const ScsData *d, const ScsCone *k, ScsSolution *sol,
ScsInfo *info);
+
const char *SCS(version)(void);
+size_t SCS(sizeof_int)(void);
+size_t SCS(sizeof_float)(void);
/* the following structs are not e... |
Add mission exception class strings to `ZydisInfo` | @@ -953,7 +953,13 @@ static void PrintInstruction(const ZydisDecodedInstruction* instruction)
"E12",
"E12NP",
"K20",
- "K21"
+ "K21",
+ "AMXE1",
+ "AMXE2",
+ "AMXE3",
+ "AMXE4",
+ "AMXE5",
+ "AMXE6"
};
ZYAN_ASSERT(ZYAN_ARRAY_LENGTH(exception_classes) == ZYDIS_EXCEPTION_CLASS_MAX_VALUE + 1);
|
Fix for check parse status before epilogue processing.
This is just a sticking plaster; the parse status handling is
currently being reconsidered for more general refactoring. | @@ -2959,8 +2959,10 @@ doContent(XML_Parser parser,
poolClear(&tempPool);
freeBindings(parser, bindings);
}
- if (tagLevel == 0)
+ if ((tagLevel == 0) &&
+ !((ps_parsing == XML_FINISHED) || (ps_parsing == XML_SUSPENDED))) {
return epilogProcessor(parser, next, end, nextPtr);
+ }
break;
case XML_TOK_END_TAG:
if (tagLeve... |
update api_fiscobcos.h
fix the issue | @@ -288,7 +288,7 @@ __BOATSTATIC __BOATINLINE BOAT_RESULT BoatFiscobcosTxSetData(BoatFiscobcosTx *tx
* @brief Prase RPC method RESPONSE.
* @see web3_parse_json_result()
******************************************************************************/
-BOAT_RESULT BoatFiscobcosPraseRpcResponseStringResult(const BCHAR *jso... |
[chain] Remove unused utility function | @@ -7,9 +7,6 @@ package blockchain
import (
"encoding/base64"
- "encoding/json"
-
- "github.com/golang/protobuf/proto"
)
const (
@@ -17,10 +14,10 @@ const (
DefaultMaxBlockSize = 1 << 20
)
-func ToJSON(pb proto.Message) string {
- buf, _ := json.Marshal(pb)
- return string(buf)
-}
+// func ToJSON(pb proto.Message) stri... |
Generalize initialization | @@ -716,6 +716,8 @@ void bloch_simulation(struct sim_data* data, float (*mxy_sig)[3], float (*sa_r1_
enum { N = 3 }; // Number of dimensions (x, y, z)
enum { P = 4 }; // Number of parameters with estimated derivative (Mxy, R1, R2, B1)
+ assert(0 < P);
+
enum { M = N * P + 1 }; // STM based on single vector and addition... |
Deploy TravisCI buils to GitHub releases.
This should finally provide a MacOS release. | @@ -42,3 +42,13 @@ script:
- 'if [[ "$BUILD_TOOL" == "autotools" ]]; then (cd build/autotools && make check); fi'
- 'if [[ "$BUILD_TOOL" == "scons" ]]; then LD_LIBRARY_PATH=$TRAVIS_BUILD_DIR ./unittest; fi'
- (cd python && pytest -v)
+deploy:
+ provider: releases
+ api_key:
+ secure: oZQmlAWgh6QPSedG1Bxp7WPnYvsr+j896MZ... |
Added sceGxmShaderPatcherForceUnregisterProgram. | @@ -1382,6 +1382,7 @@ void *sceGxmShaderPatcherGetUserData(SceGxmShaderPatcher *shaderPatcher);
int sceGxmShaderPatcherDestroy(SceGxmShaderPatcher *shaderPatcher);
int sceGxmShaderPatcherRegisterProgram(SceGxmShaderPatcher *shaderPatcher, const SceGxmProgram *programHeader, SceGxmShaderPatcherId *programId);
int sceGxm... |
gall: in/exclude the nonce from the wire as needed
+ap-nuke was not including the nonce, but should.
+ap-handle-peers was potentially including a zero nonce.
(The latter shouldn't have been possible, but there's a bug in +load
where sub-nonce.yoke gets initialized as 0 instead of 1.) | ~
[%give %kick ~(tap in inbound-paths) ~]~
%+ turn ~(tap by boat.yoke)
- |= [[=wire =ship =term] ? =path]
- [%pass wire %agent [ship term] %leave ~]
+ |= [[=wire =dock] ? =path]
+ [%pass (ap-nonce-wire wire dock) %agent dock %leave ~]
=^ maybe-tang ap-core (ap-ingest ~ |.([will *agent]))
ap-core
:: +ap-from-internal: i... |
More dylib debug | @@ -33,6 +33,8 @@ before_install:
- sudo ln -s /usr/local/lib/haxe/haxelib /usr/local/bin/haxelib
- mkdir ~/haxelib
- export DYLD_PRINT_RPATHS=1
+- nm /usr/local/lib/haxe/libneko.2.dylib
+- nm /usr/local/lib/haxe/haxelib
- haxelib setup ~/haxelib
- haxelib dev nme $(pwd)
- git clone https://github.com/HaxeFoundation/hx... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.