message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
[mechanics] support older Bullet btConvexHull::addPoint API. | @@ -823,7 +823,11 @@ void SiconosBulletCollisionManager_impl::createCollisionObject(
btch.reset(new btConvexHullShape);
for (int i=0; i < shrinkCH.vertices.size(); i++) {
const btVector3 &v(shrinkCH.vertices[i]);
+#if defined(BT_BULLET_VERSION) && (BT_BULLET_VERSION <= 281)
+ btch->addPoint(v);
+#else
btch->addPoint(v,... |
Fix improper size_t type usage | @@ -1175,10 +1175,15 @@ oe_result_t oe_gen_custom_x509_cert(
// Write a built up certificate to a X509 DER structure Note: data
// is written at the end of the buffer! Use the return value to
// determine where you should start using the buffer.
- *bytes_written = (size_t)mbedtls_x509write_crt_der(
+ ret = mbedtls_x509... |
Border router CI test: check that all ping replies are received | @@ -9,6 +9,9 @@ BASENAME=$2
# Destination IPv6
IPADDR=$3
+# ICMP request-reply count
+COUNT=5
+
# Start simulation
echo "Starting Cooja simulation $BASENAME.csc"
java -Xshare:on -jar $CONTIKI/tools/cooja/dist/cooja.jar -nogui=$BASENAME.csc -contiki=$CONTIKI > $BASENAME.coojalog &
@@ -28,9 +31,10 @@ sleep 5
# Do ping
ec... |
gall: use spore tag for +molt subscription killing
WIP: kiln crashes after upgrade with a ! kiln: %base not installed | :: pupal gall core, on upgrade
::
=< =* adult-gate .
+ =| spore-tag=@tas
=| =spore
|= [now=@da eny=@uvJ rof=roof]
=* pupal-gate .
$(apps t.apps, mo-core ap-abet:ap-core)
:: kill subscriptions when upgrading to gall request queue fix
::
- =. mo-core
+ =? mo-core (lth spore-tag %9)
|- ^+ mo-core
?~ apps mo-core
+ ~> %slo... |
http3: Correctly reject extra bytes after GOAWAY | @@ -80,12 +80,13 @@ int h2o_http3_decode_goaway_frame(h2o_http3_goaway_frame_t *frame, const uint8_t
{
const uint8_t *src = payload, *end = src + len;
- /* quicly_decodev below will reject len == 0 case */
- if (len > PTLS_ENCODE_QUICINT_CAPACITY)
+ if ((frame->stream_or_push_id = quicly_decodev(&src, end)) == UINT64_M... |
Add %t formatter to janet.
Was not present in printf and family. | @@ -955,6 +955,9 @@ void janet_buffer_format(
janet_description_b(b, argv[arg]);
break;
}
+ case 't':
+ janet_buffer_push_cstring(b, typestr(argv[arg]));
+ break;
case 'M':
case 'm':
case 'N':
|
Increase lib/cgozstd buffer size from 4K to 64K | @@ -161,7 +161,7 @@ func (c *ReaderRecycler) Close() error {
//
// The zero value is not usable until Reset is called.
type Reader struct {
- buf [4096]byte
+ buf [65536]byte
i, j uint32
r io.Reader
@@ -315,7 +315,7 @@ func (c *WriterRecycler) Close() error {
//
// The zero value is not usable until Reset is called.
ty... |
pbio/motorpoll: stop control on reset
This ensures that motors don't turn back on after we stop them.
We call these instead of calling pbio_servo/drivebase_stop() so we are sure to stop control even if the device became disconnected. | // Copyright (c) 2018-2020 Laurens Valk
// Copyright (c) 2020 LEGO System A/S
+#include <pbio/control.h>
#include <pbio/drivebase.h>
#include <pbio/motorpoll.h>
#include <pbio/servo.h>
@@ -32,9 +33,17 @@ pbio_error_t pbio_motorpoll_get_drivebase(pbio_drivebase_t **db) {
void _pbio_motorpoll_reset_all(void) {
- int i;
-... |
Jb/issue 1613
fixed issue that CPathMapper() receives null as path when trying to get data from NSUserDefaults
changed manual convertion of mutable string to charactes into using of native representation of url's path | @@ -182,19 +182,24 @@ static CFURLRef _preferencesDirectoryForUserHostSafetyLevel(CFStringRef userName
#if DEPLOYMENT_TARGET_WINDOWS
CFURLRef url = NULL;
+Boolean success = false;
CFMutableStringRef completePath = _CFCreateApplicationRepositoryPath(alloc, CSIDL_APPDATA);
if (completePath) {
// append "Preferences\" and... |
Fix typo
Fix typo in the name of test
([arc::pullid] 5330a217-4aedf6bf-acf0c0bf-c7e598fe) | @@ -147,7 +147,7 @@ Y_UNIT_TEST_SUITE(SplitStringTest) {
TestDelimiterOnRange<TContainerConvertingConsumer>(good, data.data(), data.end(), delim);
}
- Y_UNIT_TEST(TestCharSkipEmty) {
+ Y_UNIT_TEST(TestCharSkipEmpty) {
TString data("qw ab qwabcab ");
TString canonic[] = {"qw", "ab", "qwabcab"};
TVector<TString> good(can... |
improved POW/POS check | @@ -633,7 +633,8 @@ namespace MiningCore.Blockchain.Bitcoin
if (!validateAddressResponse.IsMine)
logger.ThrowLogPoolStartupException($"Daemon does not own pool-address '{poolConfig.Address}'", LogCat);
- isPoS = difficultyResponse.Values().Any(x => x.Path == "proof-of-stake");
+ isPoS = difficultyResponse.Values().Any(... |
chip/ish/system.c: Format with clang-format
BRANCH=none
TEST=none | @@ -57,8 +57,7 @@ uint32_t chip_read_reset_flags(void)
* Used when the watchdog timer exceeds max retries and we want to
* disable ISH completely.
*/
-noreturn
-static void system_halt(void)
+noreturn static void system_halt(void)
{
cflush();
@@ -66,8 +65,7 @@ static void system_halt(void)
disable_all_interrupts();
WDT... |
add the correct sha256 value for the 0.7-5 source tarball | @@ -12,9 +12,10 @@ class Aomp(MakefilePackage):
""" llvm openmp compiler from AMD"""
homepage = "https://github.com/ROCm-Developer-Tools/aomp"
- url = "https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_0.7-3/aomp-0.7-3.tar.gz"
+ url = "https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_... |
BugID: [udev] add info in README | @@ -25,6 +25,7 @@ The `aos ota` command upgrade remote devices quickly:

+> need to update `aos-cube` to 0.3.0 or later.
##### udev architecture Overview
|
Remove senseless pointer arithmetic (issue | @@ -2089,15 +2089,20 @@ XML_GetBuffer(XML_Parser parser, int len)
parser->m_bufferPtr = parser->m_buffer + keep;
}
else {
- parser->m_bufferEnd = newBuf + (parser->m_bufferEnd - parser->m_bufferPtr);
+ /* This must be a brand new buffer with no data in it yet */
+ parser->m_bufferEnd = newBuf;
parser->m_bufferPtr = par... |
Utilities: Fuzzy match for HFS+ filesystem driver in ocvalidate | @@ -130,7 +130,7 @@ CheckUEFI (
BOOLEAN HasOpenRuntimeEfiDriver;
BOOLEAN HasOpenUsbKbDxeEfiDriver;
BOOLEAN HasPs2KeyboardDxeEfiDriver;
- BOOLEAN HasHfsPlusEfiDriver;
+ BOOLEAN HasHfsEfiDriver;
BOOLEAN HasAudioDxeEfiDriver;
BOOLEAN IsConnectDriversEnabled;
BOOLEAN IsRequestBootVarRoutingEnabled;
@@ -161,7 +161,7 @@ Chec... |
Removed unnecessary GeoIP include from header file. | #ifndef GEOLOCATION_H_INCLUDED
#define GEOLOCATION_H_INCLUDED
-#ifdef HAVE_LIBGEOIP
-#include <GeoIP.h>
-#endif
-
#include "commons.h"
#define CITY_LEN 28 /* max string length for a city */
|
tools/pydfu.py: Use getfullargspec instead of getargspec for newer pyusb
pyusb v1.0.2 warns about `getargspec` as being deprecated. | @@ -62,7 +62,7 @@ __verbose = None
__DFU_INTERFACE = 0
import inspect
-if 'length' in inspect.getargspec(usb.util.get_string).args:
+if 'length' in inspect.getfullargspec(usb.util.get_string).args:
# PyUSB 1.0.0.b1 has the length argument
def get_string(dev, index):
return usb.util.get_string(dev, 255, index)
|
Update index_board_Arduino_HandBit.html
add text blocks | </shadow>
</value>
</block>
+<block type="substring">
+ <value name="name">
+ <shadow type="text">
+ <field name="TEXT">substring</field>
+ </shadow>
+</value>
+<value name="Start">
+ <shadow type="math_number">
+ <field name="NUM">0</field>
+ </shadow>
+</value>
+<value name="end">
+ <shadow type="math_number">
+ <fie... |
options/ansi: add %r for strftime | @@ -254,6 +254,18 @@ size_t strftime(char *__restrict dest, size_t max_size,
return 0;
p += chunk;
c += 2;
+ }else if(*(c + 1) == 'r') {
+ int hour = tm->tm_hour;
+ if(!hour)
+ hour = 12;
+ if(hour > 12)
+ hour -= 12;
+ auto chunk = snprintf(p, space, "%.2i:%.2i:%.2i %s", hour, tm->tm_min, tm->tm_sec,
+ nl_langinfo((tm... |
sparse: symbols in imc.c weren't declared, Should they be static?
Yes, a bunch of these should be. | -/* Copyright 2016 IBM Corp.
+/* Copyright 2016-2019 IBM Corp.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* imc_chip_avl_vector(in struct imc_chip_cb, look at include/imc.h).
* nest_pmus[] is an array containing all the possible... |
esp32/README.md: Add note about btree submodule initialization. | @@ -83,6 +83,14 @@ this repository):
$ make -C mpy-cross
```
+The ESP32 port has a dependency on Berkeley DB, which is an external
+dependency (git submodule). You'll need to have git initialize that
+module using the commands:
+```bash
+$ git submodule init lib/berkeley-db-1.xx
+$ git submodule update
+```
+
Then to b... |
Fix bug in which ENOACK was not correctly being returned. | @@ -327,7 +327,14 @@ int ieee802154_send(unsigned short addr,
err = command(RADIO_DRIVER, COMMAND_SEND, (unsigned int) addr, 0);
if (err < 0) return err;
yield_for(&tx_done);
+ if (tx_result != TOCK_SUCCESS) {
return tx_result;
+ } else if (tx_acked == 0) {
+ return TOCK_ENOACK;
+ } else {
+ return TOCK_SUCCESS;
+ }
+
... |
[catboost/java] javadocs and sources to final artifacts
This fixes one of the maven central requirements | <encoding>utf-8</encoding>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <version>2.2.1</version>
+ <executions>
+ <execution>
+ <id>attach-sources</id>
+ <goals>
+ <goal>jar-no-fork</goal>
+ </goals>
+ </execution>
+ </executions>
+... |
fixed typo in create_ip: set BLOCK_RAM depth to 8192 | @@ -76,7 +76,7 @@ if { $ddr3_used == TRUE } {
if { $bram_used == TRUE } {
#create BlockRAM
create_ip -name blk_mem_gen -vendor xilinx.com -library ip -version 8.3 -module_name block_RAM -dir $ip_dir
- set_property -dict [list CONFIG.Interface_Type {AXI4} CONFIG.Write_Width_A {256} CONFIG.AXI_ID_Width $axi_id_width CONF... |
edit sync function | @@ -585,12 +585,10 @@ void DynamixelDriver::addSyncWrite(const char *item_name)
syncWriteHandler_[sync_write_handler_cnt_].cti = cti;
- syncWriteHandler_[sync_write_handler_cnt_].groupSyncWrite = new dynamixel::GroupSyncWrite(portHandler_,
+ syncWriteHandler_[sync_write_handler_cnt_++].groupSyncWrite = new dynamixel::G... |
include page anchor in url ref to silo manual | @@ -101,7 +101,7 @@ GetExodusReadOptions(void)
"holding material-specific values given the name of a non-material-specific variable. "
"For more information on nameschemes, please consult the description of DBMakeNamescheme "
"in the <a href=\"https://wci.llnl.gov/content/assets/docs/simulation/computer-codes/"
- "silo... |
Fixing index error in test | @@ -22,7 +22,7 @@ BOOST_AUTO_TEST_SUITE (test_analysis)
BOOST_FIXTURE_TEST_CASE(test_anlys_getoption, FixtureOpenClose)
{
int i;
- double array[13];
+ double array[12];
std::vector<double> test;
std::vector<double> ref = {40.0, 0.001, 0.01, 0.5, 1.0, 0.0, 0.0, 0.0, 75.0, 0.0, 0.0, 0.0};
@@ -39,7 +39,7 @@ BOOST_FIXTURE_... |
pbio/button: document SPIKE Prime butons | @@ -46,6 +46,7 @@ typedef enum _pbio_button_flags_t {
* |----------------------|---------------
* | Powered UP hub | *invalid*
* | Powered UP remote | Lefthand red button
+ * | SPIKE Prime hub | Left button
* | EV3 Brick | Left button
* | EV3 IR remote | *invalid*
* | NXT brick | Left arrow button
@@ -54,6 +55,7 @@ typ... |
VERSION bump to version 2.0.196 | @@ -61,7 +61,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
# set version of the project
set(LIBYANG_MAJOR_VERSION 2)
set(LIBYANG_MINOR_VERSION 0)
-set(LIBYANG_MICRO_VERSION 195)
+set(LIBYANG_MICRO_VERSION 196)
set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}... |
[fix] miss arguments when invoke dist_handle
Use this command: `scons --dist-strip` to detach project. but it aborted with error: "TypeError: dist_handle() takes exactly 2 arguments (1 given):" | @@ -218,7 +218,7 @@ def MkDist_Strip(program, BSP_ROOT, RTT_ROOT, Env):
if 'dist_handle' in Env:
print("=> start dist handle")
dist_handle = Env['dist_handle']
- dist_handle(BSP_ROOT)
+ dist_handle(BSP_ROOT, dist_dir)
# get all source files from program
for item in program:
|
Add missing entries in ssl_mac_pkey_id
Fixes | @@ -171,6 +171,8 @@ static int ssl_mac_pkey_id[SSL_MD_NUM_IDX] = {
EVP_PKEY_HMAC, EVP_PKEY_HMAC, EVP_PKEY_HMAC, NID_undef,
/* GOST2012_512 */
EVP_PKEY_HMAC,
+ /* MD5/SHA1, SHA224, SHA512 */
+ NID_undef, NID_undef, NID_undef
};
static size_t ssl_mac_secret_size[SSL_MD_NUM_IDX];
|
dpdk: fix vlan creation on ixgbe
Type: fix
VLAN programming is currently enabled for IXGBE. However, that is only
supported for IXGBE_VF.
With this fix, disable VLAN programming for IXGBE. | @@ -30,7 +30,6 @@ static dpdk_driver_t dpdk_drivers[] = {
{
.drivers = DPDK_DRIVERS ({ "net_ixgbe", "Intel 82599" }),
.enable_rxq_int = 1,
- .program_vlans = 1,
.supported_flow_actions = supported_flow_actions_intel,
.use_intel_phdr_cksum = 1,
},
|
Oops. flipmask for font should be nonzero
Note to self : don't skip testing on other carts. | @@ -789,7 +789,7 @@ s32 tic_api_font(tic_mem* memory, const char* text, s32 x, s32 y, u8 chromakey,
// Compatibility : flip top and bottom of the spritesheet
// to preserve tic_api_font's default target
u8 segment = memory->ram.vram.blit.segment >> 1;
- u8 flipmask = 0; while (segment >>= 1) flipmask<<=1;
+ u8 flipmask... |
fix(my_bot): update to latest | #include <stdio.h>
#include "discord.h"
-void on_ready(struct discord* client, const struct discord_user* bot)
+void on_ready(struct discord* client)
{
+ const struct discord_user *bot = discord_get_self(client);
log_info("Logged in as %s!", bot->username);
}
|
Extract Volume::open() class method | @@ -29,6 +29,7 @@ from .shared import OcfErrorCode, Uuid
from ..ocf import OcfLib
from ..utils import print_buffer, Size as S
from .data import Data
+from .queue import Queue
class VolumeCaps(Structure):
@@ -136,13 +137,7 @@ class Volume:
print("{}".format(Volume._uuid_))
return -1
- if volume.opened:
- return -OcfErro... |
abis/mlibc: Match signal constants to linux. | @@ -30,46 +30,45 @@ extern "C" {
#define SIG_DFL ((__sighandler)(void *)(-2))
#define SIG_IGN ((__sighandler)(void *)(-3))
-#define SIGABRT 1
-#define SIGFPE 2
-#define SIGILL 3
-#define SIGINT 4
-#define SIGSEGV 5
-#define SIGTERM 6
-#define SIGPROF 7
-#define SIGIO 9
-#define SIGPWR 10
-#define SIGRTMIN 11
-#define S... |
Fix typos and improve if/when-let macros
In clojure when-let and if-let accept at most two forms and must both be true for the evaluatioh to take place. The implementation here does the same but can bind more forms | -(defn- reverse-array [t]
+(defn- reverse-array
+ "Reverses the order of the elements in a given array"
+ [t]
(var n (dec (length t)) )
(var reversed [])
(while (>= n 0)
reversed)
-(defn- reverse-tuple [t]
+(defn- reverse-tuple
+ "Reverses the order of the elements of a given tuple"
+ [t]
(def max (length t))
(var n 0)... |
NimBLE: Update the link to NimBLE upstream documentation | @@ -3,7 +3,7 @@ NimBLE-based host APIs
Overview
========
-Apache MyNewt NimBLE is a highly configurable and BT SIG qualifiable BLE stack providing both host and controller functionalities. ESP-IDF supports NimBLE host stack which is specifically ported for ESP32 platform and FreeRTOS. The underlying controller is still... |
Remove dead code from pk_parse_key_pkcs8_unencrypted_der
pk_get_pk_alg will either return 0 or a pk error code. This means that
the error code will always be a high level module ID and so we just
return ret. | @@ -1041,14 +1041,7 @@ static int pk_parse_key_pkcs8_unencrypted_der(
if( ( ret = pk_get_pk_alg( &p, end, &pk_alg, ¶ms ) ) != 0 )
{
- if( ret >= -0x007F )
- {
- return( MBEDTLS_ERROR_ADD( MBEDTLS_ERR_PK_KEY_INVALID_FORMAT, ret ) );
- }
- else
- {
- return ret;
- }
+ return( ret );
}
if( ( ret = mbedtls_asn1_get_tag... |
Fix ksceCtrlSetAnalogEmulation parameters | @@ -256,23 +256,23 @@ int ksceCtrlSetButtonEmulation(unsigned int port, unsigned char slot,
* @param port Use 0
* @param slot The slot used to set the custom values. Between 0 - 3. If multiple slots are used,
* their settings are combined.
- * @param lX New emulated value for the left joystick's X-axis. Between 0 - 0xF... |
document quantized:// datasets | @@ -229,6 +229,7 @@ class Pool(_PoolBase):
If FeaturesData - see FeaturesData description for details, 'cat_features' and 'feature_names'
parameters must be equal to None in this case
If string, giving the path to the file with data in catboost format.
+ If path starts with "quantized://", the file has to contain quant... |
Add fallback functionality for async crypto | @@ -187,7 +187,7 @@ void do_encryption_async(packet_descriptor_t* pd, lookup_table_t** tables, parse
debug(T4LIT(Cannot find the context. We cannot do an async operation!,error) "\n");
}
#else
- do_async_op(pd, ASYNC_OP_ENCRYPT);
+ do_encryption(pd,tables,pstate);
#endif
}
@@ -199,8 +199,8 @@ void do_decryption_async(p... |
Update osr2mp4/ImageProcess/Animation/alpha.py | @@ -63,7 +63,7 @@ def list_fade_(imgs: [Image], start: float, end: float, duration: float, easing:
for img in imgs:
fade_val = easing(cur_time, start, end, duration)
- res += [imageproc.newalpha(img, fade_val)]
+ res.append(imageproc.newalpha(img, fade_val))
cur_time += delta
return res
@@ -78,4 +78,3 @@ def fade(imgs:... |
Add source paths for OCW from CMake | @@ -159,6 +159,7 @@ function(afr_write_metadata)
set(3rdparty_list "")
set(src_all "")
+ set(src_ocw "")
set(inc_all "")
foreach(module IN LISTS AFR_MODULES_ENABLED)
@@ -195,6 +196,7 @@ function(afr_write_metadata)
list(APPEND 3rdparty_list ${dep})
endif()
endforeach()
+ list(REMOVE_DUPLICATES 3rdparty_list)
list(APPEN... |
libbpf-tools: Add verbose option to statsnoop
Support verbose mode and set custom libbpf print callback
in statsnoop. | @@ -23,6 +23,7 @@ static volatile sig_atomic_t exiting = 0;
static pid_t target_pid = 0;
static bool trace_failed_only = false;
static bool emit_timestamp = false;
+static bool verbose = false;
const char *argp_program_version = "statsnoop 0.1";
const char *argp_program_bug_address =
@@ -42,6 +43,7 @@ static const stru... |
options/internal: Fix type limits warning | @@ -32,7 +32,7 @@ charset *current_charset();
// The property if a character is a control character is locale-independent.
inline bool generic_is_control(codepoint c) {
- return (c >= 0x00 && c <= 0x1F) || (c == 0x7F) || (c >= 0x80 && c <= 0x9F);
+ return (c <= 0x1F) || (c == 0x7F) || (c >= 0x80 && c <= 0x9F);
}
} // n... |
Decrease fuzzing time to 4h to avoid GH timeout | @@ -15,7 +15,7 @@ jobs:
uses: google/oss-fuzz/infra/cifuzz/actions/run_fuzzers@master
with:
oss-fuzz-project-name: 'libcbor'
- fuzz-seconds: 21600 # 6 hours
+ fuzz-seconds: 14400 # 4 hours
dry-run: false
- name: Upload Crash
uses: actions/upload-artifact@v1
|
Show owning process for ALPC handles | @@ -389,6 +389,17 @@ VOID PhpUpdateHandleGeneralListViewGroups(
L"Port Context",
NULL
);
+
+ if (WindowsVersion >= WINDOWS_10_19H2)
+ {
+ Context->ListViewRowCache[PH_HANDLE_GENERAL_INDEX_MUTANTOWNER] = PhAddListViewGroupItem(
+ Context->ListViewHandle,
+ PH_HANDLE_GENERAL_CATEGORY_ALPC,
+ PH_HANDLE_GENERAL_INDEX_MUTAN... |
Drivers: int32_t for all encoder counts, rates, and accelerations | typedef struct _pbio_encmotor_settings_t {
float_t counts_per_unit; /**< Encoder counts per output unit. Counts per degree for rotational motors, counts per cm for a linear motor. */
float_t counts_per_output_unit; /**< Encoder counts per output unit, including optional gear train. Equals counts_per_unit*gear_ratio. */... |
cjoin: Initial update of the Join Message implementation compliant with minimal-security-06 | #include "idmanager.h"
#include "IEEE802154E.h"
#include "IEEE802154_security.h"
-#include "cbor.h"
+#include "cojp_cbor.h"
#include "eui64.h"
#include "neighbors.h"
@@ -126,7 +126,7 @@ owerror_t cjoin_receive(OpenQueueEntry_t* msg,
coap_option_iht* coap_outgoingOptions,
uint8_t* coap_outgoingOptionsLen) {
- join_respo... |
Doc: dev: data-structures: OPMPHM fix inconsistencies | @@ -364,19 +364,21 @@ Continue reading [with the error handling](error-handling.md).
## Order Preserving Minimal Perfect Hash Map (aka OPMPHM)
-All structs are defined in [opmphm.h](/src/include/kdbopmphm.h).
-
-The OPMPHM is a randomized hash map of the Las Vegas type, that creates an index over the elements,
+The OPM... |
dbug: fix type error from nonce change | 'ship'^(ship s)
'path'^(path p)
==
+ :: TODO: display subscription nonce
::
++ outgoing
|= =boat:gall
^- json
:- %a
%+ turn ~(tap by boat)
- |= [[w=wire s=^ship t=term] [a=? p=^path]]
+ |= [[w=wire s=^ship t=term] [a=? p=^path nonce=@]]
%- pairs
:~ 'wire'^(path w)
'ship'^(ship s)
|
print final stats | @@ -152,6 +152,16 @@ static void setupSignalsMainThread(void) {
}
}
+static void printSummary(honggfuzz_t* hfuzz) {
+ uint64_t exec_per_sec = 0;
+ uint64_t elapsed_sec = time(NULL) - hfuzz->timing.timeStart;
+ if (elapsed_sec) {
+ exec_per_sec = hfuzz->cnts.mutationsCnt / elapsed_sec;
+ }
+ LOG_I("Summary iterations:%z... |
Fix menus links for Datafari CE | @@ -124,7 +124,7 @@ AjaxFranceLabs.HeaderMenusWidget = AjaxFranceLabs.AbstractWidget.extend({
}
var getUrl = window.location;
- var mcfUrl = "@GET-MCF-IP@";
+ var mcfUrl = getUrl.protocol + "//" + getUrl.hostname + ":9080" + "/" + "datafari-mcf-crawler-ui/";
linkDOMElement.prop('href', mcfUrl);
linkDOMElement.prop('tar... |
Sprite static changed bitwise & to logical && | @@ -587,7 +587,7 @@ void SceneUpdateActors_b()
{
if (ACTOR_ANIM_SPEED(ptr) == 4 || (ACTOR_ANIM_SPEED(ptr) == 3 && IS_FRAME_16) || (ACTOR_ANIM_SPEED(ptr) == 2 && IS_FRAME_32) || (ACTOR_ANIM_SPEED(ptr) == 1 && IS_FRAME_64) || (ACTOR_ANIM_SPEED(ptr) == 0 && IS_FRAME_128))
{
- if ((ACTOR_MOVING(ptr) & actors[i].sprite_type... |
Mark non-used functions in overwrite only mode | @@ -667,11 +667,13 @@ impl Images {
fails > 0
}
+ #[cfg(not(feature = "overwrite-only"))]
fn trailer_sz(&self) -> usize {
c::boot_trailer_sz(self.align) as usize
}
// FIXME: could get status sz from bootloader
+ #[cfg(not(feature = "overwrite-only"))]
fn status_sz(&self) -> usize {
self.trailer_sz() - (16 + 24)
}
|
Fix missing handle type when NtQueryObject has been hooked by kernel | @@ -625,6 +625,19 @@ VOID PhHandleProviderUpdate(
NULL
);
+ // HACK: Some security products block NtQueryObject with ObjectTypeInformation and return an invalid type
+ // so we need to lookup the TypeName using the TypeIndex. We should improve PhGetHandleInformationEx for this case
+ // but for now we'll preserve backw... |
ci: specific gcc explicitly on the basic-gcc CI build
GitHub Actions default to clang not gcc so this is necessary now. | @@ -61,7 +61,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: config
- run: ./config --banner=Configured enable-fips --strict-warnings && perl configdata.pm --dump
+ run: CC=gcc ./config --banner=Configured enable-fips --strict-warnings && perl configdata.pm --dump
- name: make
run: make -s -j4
- name: make test
|
add tilt mode since in sentinel info
Sentinel shows tilt mode boolean in info, now it'll show an indication of how long ago it started. | @@ -3919,11 +3919,13 @@ void sentinelInfoCommand(client *c) {
"# Sentinel\r\n"
"sentinel_masters:%lu\r\n"
"sentinel_tilt:%d\r\n"
+ "sentinel_tilt_since_seconds:%jd\r\n"
"sentinel_running_scripts:%d\r\n"
"sentinel_scripts_queue_length:%ld\r\n"
"sentinel_simulate_failure_flags:%lu\r\n",
dictSize(sentinel.masters),
sentin... |
singAll: Update command line for new version of signtool | @echo off
call "%~dp0\SetVsEnv.bat" x86
-for /r "%~dp0\..\" %%i in (*.sys) do "signtool.exe" sign /f "%~dp0\VirtIOTestCert.pfx" "%%i"
-for /r "%~dp0\..\" %%i in (*.cat) do "signtool.exe" sign /f "%~dp0\VirtIOTestCert.pfx" "%%i"
+for /r "%~dp0\..\" %%i in (*.sys) do "signtool.exe" sign /fd SHA256 /f "%~dp0\VirtIOTestCer... |
test: Add CreateOneTimeWalletSuccess case | @@ -67,6 +67,38 @@ BoatPlatONWalletConfig get_platon_wallet_settings()
return wallet_config;
}
+START_TEST(test_001CreateWallet_0001CreateOneTimeWalletSuccess)
+{
+ BSINT32 rtnVal;
+ BoatPlatONWallet *g_platon_wallet_ptr = NULL;
+ BoatPlatONWalletConfig wallet = get_platon_wallet_settings();
+ extern BoatIotSdkContext ... |
Added AlienVault to Who's using YARA | @@ -49,6 +49,7 @@ helpful extension to YARA developed and open-sourced by Bayshore Networks.
* [ActiveCanopy](https://activecanopy.com/)
* [Adlice](http://www.adlice.com/)
+* [AlienVault] (https://otx.alienvault.com/)
* [BAE Systems](http://www.baesystems.com/home?r=ai)
* [Bayshore Networks, Inc.](http://www.bayshorene... |
adds missing semicolon in coap.c
This change is necessary for compiling the codebase with
arm-none-eabi-gcc. The compiler expects a statement after the
`leave_notify_observers` label, and the semicolon provides that without
altering the behaviour of the program. | @@ -716,6 +716,7 @@ coap_notify_observers(oc_resource_t *resource,
obs = obs->next;
} // iterate over observers
leave_notify_observers:
+ ;
#ifdef OC_DYNAMIC_ALLOCATION
if (buffer) {
free(buffer);
|
threads: reschedule conditionally in thread*Yield | @@ -1144,23 +1144,37 @@ void proc_threadBroadcast(thread_t **queue)
void proc_threadWakeupYield(thread_t **queue)
{
hal_spinlockSet(&threads_common.spinlock);
- if (*queue != NULL && *queue != (void *)(-1))
+ if (*queue != NULL && *queue != (void *)(-1)) {
_proc_threadWakeup(queue);
- else
- (*queue) = (void *)(-1);
ha... |
[sbp] prevent redundant block queueing | @@ -52,6 +52,7 @@ type SimpleBlockFactory struct {
quit chan interface{}
sdb *state.ChainStateDB
ca types.ChainAccessor
+ prevBlock *types.Block
}
// New returns a SimpleBlockFactory.
@@ -88,6 +89,11 @@ func (s *SimpleBlockFactory) Ticker() *time.Ticker {
// QueueJob send a block triggering information to jq.
func (s *... |
Wait until DAO has been sent. | @@ -144,11 +144,9 @@ void cjoin_task_cb() {
return;
}
-/* if (icmpv6rpl_daoSent() == FALSE) {
+ if (icmpv6rpl_daoSent() == FALSE) {
return;
}
-*/
-
opentimers_stop(cjoin_vars.startupTimerId);
cjoin_sendPut(NUMBER_OF_EXCHANGES-1);
|
Check that sk_SSL_CIPHER_value returns non-NULL value.
Fixes openssl#19162. | @@ -226,6 +226,10 @@ int ciphers_main(int argc, char **argv)
if (!verbose) {
for (i = 0; i < sk_SSL_CIPHER_num(sk); i++) {
const SSL_CIPHER *c = sk_SSL_CIPHER_value(sk, i);
+
+ if (!ossl_assert(c != NULL))
+ continue;
+
p = SSL_CIPHER_get_name(c);
if (p == NULL)
break;
@@ -241,6 +245,9 @@ int ciphers_main(int argc, cha... |
Fix build error from add of fs.read, fs.write. | @@ -1408,7 +1408,7 @@ preadv64v2(int fd, const struct iovec *iov, int iovcnt, off_t offset, int flags)
doRecv(fd, rc);
} else if (g_fsinfo && (fd <= g_cfg.numFSInfo) && (g_fsinfo[fd].fd == fd)) {
doFSMetric(FS_DURATION, fd, EVENT_BASED, "preadv64v2", 0);
- doFSMetric(FS_READ_SIZE, fd, EVENT_BASED, "preadv64v2", rc);
+ ... |
Fix import order lint warning | @@ -2,8 +2,8 @@ import glob from "glob";
import { promisify } from "util";
import uuidv4 from "uuid/v4";
import sizeOf from "image-size";
-import { spriteTypeFromNumFrames } from "../helpers/gbstudio";
import Path from "path";
+import { spriteTypeFromNumFrames } from "../helpers/gbstudio";
const FRAME_SIZE = 16;
|
expand +test-alien-encounter to get keys | ::
=/ lane-foo=lane:alef [%| `@ux``@`%lane-foo]
::
+ =/ =message:alef [/g/talk [%first %post]]
+ ::
+ =/ =shut-packet:alef
+ :* sndr-life=4
+ rcvr-life=3
+ bone=1
+ message-num=1
+ [%& num-fragments=1 fragment-num=0 (jam message)]
+ ==
+ ::
=/ =packet:alef
:* [sndr=~bus rcvr=~doznec-doznec]
encrypted=%.y
origin=~
- con... |
YAML Smith: Fix calculation of relative key name | @@ -175,10 +175,10 @@ void writeYAML (ofstream & output, CppKeySet & keys, CppKey const & parent)
string indent;
bool sameOrBelowLast = sameLevelOrBelow (last, keys.current ());
auto relative = relativeKeyIterator (keys.current (), parent);
- auto baseName = keys.current ().rbegin ();
- CppKey current{ keys.current ().... |
Updated RHELINSTALL doc to properly reference 0.7-0 | @@ -6,12 +6,12 @@ sudo yum install perl-Digest-MD5
```
### Download and Install
```
-wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_0.6-5/aomp_REDHAT_7-0.6-5.x86_64.rpm
-sudo rpm -i aomp_REDHAT_7-0.6-5.x86_64.rpm
+wget https://github.com/ROCm-Developer-Tools/aomp/releases/download/rel_0.7-0/aom... |
Add riscv scalar crypto extension capability | @@ -22,6 +22,16 @@ RISCV_DEFINE_CAP(ZBA, 0, 0)
RISCV_DEFINE_CAP(ZBB, 0, 1)
RISCV_DEFINE_CAP(ZBC, 0, 2)
RISCV_DEFINE_CAP(ZBS, 0, 3)
+RISCV_DEFINE_CAP(ZBKB, 0, 4)
+RISCV_DEFINE_CAP(ZBKC, 0, 5)
+RISCV_DEFINE_CAP(ZBKX, 0, 6)
+RISCV_DEFINE_CAP(ZKND, 0, 7)
+RISCV_DEFINE_CAP(ZKNE, 0, 8)
+RISCV_DEFINE_CAP(ZKNH, 0, 9)
+RISCV_DE... |
removed wrappers from releases | @@ -44,7 +44,7 @@ copy "%DXSDK_DIR%\Utilities\bin\x86\PIXWin.exe" ".\Scarface.GenericFix\PIXWin.ex
rem Creating archives
FOR /d %%X IN (*) DO (
-7za a -tzip "Archives\%%X.zip" "%%X\" -r -xr^^!Archives -x^^!*.pdb -x^^!*.db -x^^!*.ipdb -x^^!*.iobj -x^^!*.tmp -x^^!*.iobj -x^^!*.ual
+7za a -tzip "Archives\%%X.zip" "%%X\" -... |
Gmake2: Clean Makefile tests | function suite.setup()
wks, prj = test.createWorkspace()
+ kind "Makefile"
end
local function prepare()
- local cfg = test.getconfig(prj, "Debug")
- kind "Makefile"
- gmake2.cpp.allRules(cfg)
+ prj = test.getproject(wks, 1)
+ gmake2.makefile.configs(prj)
end
--
function suite.makefile_configs_empty()
- kind "Makefile"
... |
fix sysTickMillisecond to _systick_ms of drv_common.c in stm32 bsp | @@ -29,7 +29,7 @@ MSH_CMD_EXPORT(reboot, Reboot System);
#endif /* RT_USING_FINSH */
extern __IO uint32_t uwTick;
-static uint32_t sysTickMillisecond = 1;
+static uint32_t _systick_ms = 1;
/* SysTick configuration */
void rt_hw_systick_init(void)
@@ -38,9 +38,9 @@ void rt_hw_systick_init(void)
NVIC_SetPriority(SysTick_... |
network: Removed fragile test and added comment for it | @@ -76,6 +76,8 @@ static void testPorts (void)
testPortAny ("22d", -1);
testPortAny ("myInvalidServiceName", -1);
- // These tests aren't portable I guess
- testListenPortAny ("62493", 1);
+ // Tests for ListenPort are not portable, even system ports in a range from 1-1000 can some short time be reachable
+ // https://... |
out_cloudwatch: Fix integer overflow on 32 bit systems when converting tv_sec to millis | @@ -437,7 +437,7 @@ int process_event(struct flb_cloudwatch *ctx, struct cw_flush *buf,
event = &buf->events[buf->event_index];
event->json = tmp_buf_ptr;
event->len = written;
- event->timestamp = (unsigned long long) (tms->tm.tv_sec * 1000 +
+ event->timestamp = (unsigned long long) (tms->tm.tv_sec * 1000ull +
tms->t... |
Fix Markdown links in SUPPORT.md
Add link to CONTRIBUTING and fix (presumably broken?) link to Github issues
CLA: trivial | @@ -55,7 +55,7 @@ particular the manual pages, can be reported as issues.
The fastest way to get a bug fixed is to fix it yourself ;-). If you are
experienced in programming and know how to fix the bug, you can open a
-pull request. The details are covered in the [Contributing](#contributing) section.
+pull request. Th... |
usb_serial_jtag: remove the strict condition check in esp_phy | #include "esp_rom_crc.h"
#include "esp_rom_sys.h"
-#if CONFIG_ESP_PHY_ENABLE_USB
-#include "hal/usb_serial_jtag_ll.h"
-#endif
-
#include "soc/rtc_cntl_reg.h"
#if CONFIG_IDF_TARGET_ESP32C3
#include "soc/syscon_reg.h"
@@ -660,13 +656,7 @@ void esp_phy_load_cal_and_init(void)
#endif
#if CONFIG_ESP_PHY_ENABLE_USB
-#if CONF... |
Use canonical include format | #include <Zydis/Mnemonic.h>
#include <Zydis/Register.h>
#include <Zydis/SharedTypes.h>
-#include "Zydis/DecoderTypes.h"
+#include <Zydis/DecoderTypes.h>
#ifdef __cplusplus
extern "C" {
|
Remove extraneous va_end | @@ -412,7 +412,6 @@ static void add_value(request *r, const char *parname, const char *fmt, ...)
va_end(list);
put_value(r, parname, buffer, TRUE, FALSE, FALSE);
- va_end(list);
}
static void _reqmerge2(request *a, const request *b)
|
docs/reference/speed_python: Update that read-only buffers are accepted.
As allowed by recent | @@ -293,9 +293,11 @@ microseconds. The rules for casting are as follows:
* The argument to a bool cast must be integral type (boolean or integer); when used as a return
type the viper function will return True or False objects.
* If the argument is a Python object and the cast is ``ptr``, ``ptr``, ``ptr16`` or ``ptr32`... |
graph-validator-post: reject invalid input | :: +notification-kind: no notifications for now
::
++ notification-kind ~
+ ++ transform-add-nodes
+ |= [=index =post =atom was-parent-modified=?]
+ ^- [^index ^post]
+ =- [- post(index -)]
+ ?~ index !!
+ ?: ?=([@ ~] index)
+ [atom ~]
+ ?: was-parent-modified
+ ~|(%cannot-submit-parents-with-prepopulated-children !!)
... |
apps : include platform/gnu Kconfig
This patch adds support to source missing gnu/Kconfig
It is required to include CONFIG_HAVE_CXXINITIALIZE in the
build configuration | @@ -14,4 +14,7 @@ config PLATFORM_CONFIGDATA
storage mechanism is not visible to applications so underlying non-
volatile storage can be used: A file, EEPROM, hardcoded values in
FLASH, etc.
+
+source "$APPSDIR/platform/gnu/Kconfig"
+
endmenu
|
doccords: flop order of +print-arm results | |= [name=tape adoc=what pdoc=what cdoc=what gen=hoon sut=type]
^- tang
~? >> debug %print-arm
+ %- flop
;: weld
(print-header name adoc)
`tang`[[%leaf ""] [%leaf "product:"] ~]
|
decisions: clarify to have open mind for drafts | @@ -18,7 +18,7 @@ Additionally, decision that are not yet "Decided" can be become "Rejected" or "D
## Drafts
-> This step is recommended if the problem is not yet clear to the core developers.
+> This step is highly recommended and it is even required if the problem is not yet clear to all the core developers.
The firs... |
peview: Fix section sizes, update tab layout | @@ -117,6 +117,17 @@ VOID PvPeProperties(
);
PvAddPropPage(propContext, newPage);
+ // Load Config page
+ if (NT_SUCCESS(PhGetMappedImageDataEntry(&PvMappedImage, IMAGE_DIRECTORY_ENTRY_LOAD_CONFIG, &entry)) && entry->VirtualAddress)
+ {
+ newPage = PvCreatePropPageContext(
+ MAKEINTRESOURCE(IDD_PELOADCONFIG),
+ PvpPeLo... |
Update lib/http3/server.c | @@ -1238,7 +1238,7 @@ static int handle_input_expect_headers(struct st_h2o_http3_server_stream_t *stre
/* validate semantic requirement */
if (!h2o_req_validate_pseudo_headers(&stream->req)) {
- *err_desc = "Invalid pseudo headers";
+ *err_desc = "invalid pseudo headers";
return H2O_HTTP3_ERROR_GENERAL_PROTOCOL;
}
|
'hawq stop cluster' failed when rps.sh have some path errors (e.g. CATALINA_HOME) | @@ -964,8 +964,8 @@ class HawqStop:
if self.hawq_acl_type == 'ranger':
self.stop_rps()
if self.hawq_acl_type == 'unknown':
- logger.warning("try to stop RPS when hawq_acl_type is unknown")
- self.stop_rps()
+ logger.warning("Try to stop RPS when hawq_acl_type is unknown")
+ self.stop_rps(check_ret = False)
# Execute se... |
build: fixing trivial typo in global header | @@ -5594,7 +5594,7 @@ extern const char * liquid_window_str[LIQUID_WINDOW_NUM_FUNCTIONS][2];
// Print compact list of existing and available windowing functions
void liquid_print_windows();
-// returns modulation_scheme based on input string
+// returns window type based on input string
liquid_window_type liquid_getopt... |
fixing tx already in mempool errors in test | @@ -310,7 +310,6 @@ class RestrictedAssetsTest(RavenTestFramework):
assert_raises_rpc_error(None, "Invalid Raven change address", n0.addtagtoaddress, tag, address, "garbagechangeaddress")
n0.addtagtoaddress(tag, address, change_address)
- n0.addtagtoaddress(tag, address, change_address) # redundant tagging ok if consis... |
Fix treeview dark theme | @@ -638,9 +638,11 @@ BOOLEAN CALLBACK PhpThemeWindowEnumChildWindows(
switch (PhpThemeColorMode)
{
case 0: // New colors
+ PhSetControlTheme(WindowHandle, L"explorer");
PhSetControlTheme(tooltipWindow, L"");
break;
case 1: // Old colors
+ PhSetControlTheme(WindowHandle, L"DarkMode_Explorer");
PhSetControlTheme(tooltipW... |
[chainmaker][#436]add test_02InitSetTxParam_0006setTxParamFailureOddParam | @@ -141,6 +141,17 @@ START_TEST(test_02InitSetTxParam_0005setTxParamFailureLongParam)
}
END_TEST
+START_TEST(test_02InitSetTxParam_0006setTxParamFailureOddParam)
+{
+ BSINT32 rtnVal;
+ BoatHlchainmakerTx tx_ptr;
+
+ rtnVal = BoatHlchainmakerAddTxParam(&tx_ptr, 9, "key1", "vlaue1", "key2", "vlaue2", "key3", "vlaue3",
+ ... |
FIx syntax style | @@ -377,8 +377,8 @@ esp_pbuf_memcmp(const esp_pbuf_p pbuf, const void* data, size_t len, size_t offs
uint8_t el;
const uint8_t* d = data;
- if (pbuf == NULL || data == NULL || len == 0 || /* Input parameters check */
- pbuf->tot_len < (offset + len)) { /* Check of valid ranges */
+ if (pbuf == NULL || data == NULL || l... |
Documentation cleanup for man1/nseq.pod | @@ -34,11 +34,11 @@ option is not specified.
=item B<-out filename>
-specifies the output filename or standard output by default.
+Specifies the output filename or standard output by default.
=item B<-toseq>
-normally a Netscape certificate sequence will be input and the output
+Normally a Netscape certificate sequence... |
Changed release detection to use grep to work on more environments | @@ -7,11 +7,7 @@ Group: *Development/Libraries*
URL: http://e2epi.internet2.edu/owamp/
Source: %{name}-%{version}.tar.gz
Packager: Aaron Brown <aaron@internet2.edu>
-%if 0%{?el7}
BuildRequires: libtool, I2util, libcap-devel, openssl-devel, systemd, selinux-policy-devel
-%else
-BuildRequires: libtool, I2util, libcap-dev... |
Remove 'noxsave' bootarg in dm sample script
xsave feature is enabled in hv and exposed to uos | @@ -22,7 +22,7 @@ acrn-dm -A -m $mem_size -c $2 -s 0:0,hostbridge -s 1:0,lpc -l com1,stdio \
-s 3,virtio-blk,/root/clear-21260-kvm.img \
-s 4,virtio-net,tap0 \
-k /usr/lib/kernel/org.clearlinux.pk414-standard.4.14.23-19 \
- -B "root=/dev/vda3 rw rootwait noxsave maxcpus=$2 nohpet console=tty0 console=hvc0 \
+ -B "root=... |
Fix multiple statements on code completion | @@ -666,7 +666,7 @@ fileprivate func parseArgs(_ args: inout [String]) {
PyInputHelper.userInput = [
"from _codecompletion import suggestForCode",
"source = '''",
- text,
+ text.replacingOccurrences(of: "'", with: "\\'"),
"'''",
"suggestForCode(source, '\(document?.fileURL.path ?? "")')"
].joined(separator: ";")
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.