message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Fix typo in Windows makefile template: quotify, not quotiry | @@ -175,7 +175,7 @@ LDOUTFLAG={- $target{loutflag} || "/out:" -}$(OSSL_EMPTY)
EX_LIBS={- join(' ', @{$config{ex_libs}}) -}
LIB_CPPFLAGS={- join(" ",
$target{shared_cppflag} || "",
- (map { quotiry_l("-D".$_) }
+ (map { quotify_l("-D".$_) }
'OPENSSLDIR="$(OPENSSLDIR)"',
'ENGINESDIR="$(ENGINESDIR)"')) -}
LIB_CFLAGS={- jo... |
Fix SceKernelModuleLibraryInfo member | * \usage{psp2kern/kernel/modulemgr.h,SceModulemgrForKernel_stub}
*/
-
#ifndef _PSP2_KERNEL_MODULEMGR_H_
#define _PSP2_KERNEL_MODULEMGR_H_
@@ -130,7 +129,8 @@ typedef struct SceKernelModuleLibraryInfo {
SceSize size; //!< sizeof(SceKernelModuleLibraryInfo) : 0x120
SceUID library_id;
uint32_t libnid;
- uint16_t libver[2]... |
[ci] Compile all applications | @@ -135,10 +135,7 @@ hardware:
- $CI_PROJECT_DIR/.gitlab-ci.d/memora_retry.sh get tc-riscv-gcc
- $CI_PROJECT_DIR/.gitlab-ci.d/memora_retry.sh get riscv-isa-sim
- cd apps
- - |
- for APP in ${APPS}; do
- make COMPILER=${COMPILER} bin/${APP}
- done
+ - make COMPILER=${COMPILER} all
- cd ../hardware
- |
for APP in ${APPS}... |
tests/stress/recursive_gen: Add test for recursive gen with iter. | # test deeply recursive generators
+# simple "yield from" recursion
def gen():
yield from gen()
-
try:
list(gen())
except RuntimeError:
print('RuntimeError')
+
+# recursion via an iterator over a generator
+def gen2():
+ for x in gen2():
+ yield x
+try:
+ next(gen2())
+except RuntimeError:
+ print('RuntimeError')
|
Fix use of DEVELOPER_MODE (related to | @@ -319,10 +319,9 @@ endif()
###############################################################################
# contents
-
-if( NOT ${DEVELOPER_MODE} )
set( the_default_data_prefix ${CMAKE_INSTALL_PREFIX} )
-else()
+if( ${DEVELOPER_MODE} )
+ ecbuild_info("DEVELOPER_MODE is defined")
set( the_default_data_prefix ${CMAKE_... |
ev3dev/modules/hubs: re-use Speaker/Display
Until we implement the speaker and display in C, the newly introduced EV3Brick class will continue to use the Python implementations.
This is done by inheriting the EV3Brick class that is already written in C, and extending it with a speaker and display attribute. | # SPDX-License-Identifier: MIT
# Copyright (c) 2018-2019 Laurens Valk
-from hubs_c import EV3Brick
+from sys import stderr, exit
+
+from .speaker import Speaker
+from .display import Display
+
+from hubs_c import EV3Brick as EV3Brick_c
+
+
+class EV3Brick(EV3Brick_c):
+ def __init__(self):
+ try:
+ # Initialize the EV3... |
Added Uptycs Inc in "who is using yara" list. | @@ -127,6 +127,7 @@ awesome list of [YARA-related stuff](https://github.com/InQuest/awesome-yara).
* [Thug](https://github.com/buffer/thug)
* [TouchWeb](https://www.touchweb.fr)
* [Trend Micro](https://www.trendmicro.com)
+* [Uptycs Inc](https://www.uptycs.com/)
* [VirusTotal Intelligence](https://www.virustotal.com/in... |
Fix a shell issue of empty string
If the $(UBUNTU_PLATFORM) is an empty string, the test command will fail,
double quotes it to fix.
```
mock for platform
/bin/sh: line 0: [: =: unary operator expected
``` | @@ -148,7 +148,7 @@ pylint:
$(MOCK_BIN):
@echo "--- mock for platform $(UBUNTU_PLATFORM)"
- @if [ $(UBUNTU_PLATFORM) = "Ubuntu" ]; then\
+ @if [ "$(UBUNTU_PLATFORM)" = "Ubuntu" ]; then\
pip install mock;\
else\
mkdir -p $(PYTHONSRC_INSTALL_SITE) && \
|
send --loaded output to stdout (fix merge error) | @@ -55,6 +55,6 @@ void add_parseLoadedAccountsResponse(char* res) {
struct statusInfo tmp = _add_parseResponse(res);
char* printable = JSONArrayStringToDelimitedString(tmp.info, '\n');
secFreeStatusInfo(tmp);
- printNormal("%s\n", printable);
+ printStdout("%s\n", printable);
secFree(printable);
}
|
Update begin_phapppub | @@ -44,13 +44,11 @@ typedef struct _PH_SERVICE_ITEM
BOOLEAN Spare : 3;
};
};
-
+// begin_phapppub
VERIFY_RESULT VerifyResult;
PPH_STRING VerifySignerName;
WCHAR ProcessIdString[PH_INT32_STR_LEN_1];
-
-// begin_phapppub
} PH_SERVICE_ITEM, *PPH_SERVICE_ITEM;
// end_phapppub
|
decision: correct remark from | @@ -80,8 +80,41 @@ I.e. to the mountpoint of the backend that contains parentKey.
"Fewer keys":
IMO this is simply a bug in the "nothing changed" logic.
-I don't think we need some complicated COW scheme to solve this.
-I haven't had a chance to check this yet, but I think it is just a matter of copying the keys from `... |
Docs: More precise patch | @@ -96,7 +96,7 @@ bumpversion() {
rm -f PreviousConfiguration.tex
cp ../Configuration.tex PreviousConfiguration.tex || abort "Failed to copy PreviousConfiguration.tex"
cd .. || abort "Unable to enter parent directory"
- perl -pi -e "s/\($docver\)/\($ocver\)/" ./Configuration.tex || abort "Failed to patch Configuration.... |
[CUDA] Implement get_num_groups() properly | @@ -141,6 +141,9 @@ void pocl_insert_ptx_intrinsics(llvm::Module *module)
{"_group_id_x", "llvm.nvvm.read.ptx.sreg.ctaid.x"},
{"_group_id_y", "llvm.nvvm.read.ptx.sreg.ctaid.y"},
{"_group_id_z", "llvm.nvvm.read.ptx.sreg.ctaid.z"},
+ {"_num_groups_x", "llvm.nvvm.read.ptx.sreg.nctaid.x"},
+ {"_num_groups_y", "llvm.nvvm.re... |
updates ames to always allocate 2K bytes on read | @@ -30,8 +30,11 @@ _ames_alloc(uv_handle_t* had_u,
uv_buf_t* buf
)
{
- void* ptr_v = c3_malloc(len_i);
- *buf = uv_buf_init(ptr_v, len_i);
+ // we allocate 2K, which gives us plenty of space
+ // for a single ames packet (max size 1060 bytes)
+ //
+ void* ptr_v = c3_malloc(2048);
+ *buf = uv_buf_init(ptr_v, 2048);
}
/*... |
[io] add violation in siconos_info | @@ -92,6 +92,19 @@ def list_contactors(io):
obj.attrs['type'],
obj.attrs['primitive'] if 'primitive' in obj.attrs else ''))
+
+def compute_violation(io):
+ cf_data = io.contact_forces_data()
+ gap = cf_data[:,14]
+ negative_gap = C = np.where(gap < 0, gap, 0.)
+
+ print (' {0:>10} {1:>10} {2:>10}'.format('Min','Avg','s... |
Add Windows VERSIONINFO resource to fips provider dll.
Fixes
This just looks like an omission, as this is added to libcrypto and libssl | @@ -118,6 +118,12 @@ IF[{- !$disabled{fips} -}]
GENERATE[fipsmodule.cnf]=../util/mk-fipsmodule-cnf.pl \
-module $(FIPSMODULE) -section_name fips_sect -key $(FIPSKEY)
DEPEND[fipsmodule.cnf]=$FIPSGOAL
+
+ # Add VERSIONINFO resource for windows
+ IF[{- $config{target} =~ /^(?:Cygwin|mingw|VC-|BC-)/ -}]
+ GENERATE[fips.rc]... |
hoon: remove $constant type syntax | :- ','
;~(pfix com (stag %bcmc wide))
:- '$'
- ;~ pose
- ;~ pfix buc
- ;~ pose
- :: XX all three deprecated
- ::
- (stag %leaf (stag %tas (cold %$ buc)))
- (stag %leaf (stag %t qut))
- (stag %leaf (sear |=(a/coin ?:(?=($$ -.a) (some +.a) ~)) nuck:so))
- ==
- ==
(stag %like (most col rope))
- ==
:- '%'
;~ pose
;~ pfix c... |
BugID:17132132: [WhiteScan] Fix integer index overflow error during reading pinmap array | @@ -29,6 +29,7 @@ void pin_function(PinName pin, int function)
shift_bits = (pin % 2) * 16;
/* get PADCTR */
+ assert_param(dword_index <= sizeof(PINMUX->PADCTR));
Temp = PINMUX->PADCTR[dword_index];
/* clear Pin_Num PADCTR */
|
Test ignore section in big-endian encoding | @@ -4292,6 +4292,59 @@ START_TEST(test_ignore_section_utf16)
}
END_TEST
+static int XMLCALL
+external_entity_load_ignore_utf16_be(XML_Parser parser,
+ const XML_Char *context,
+ const XML_Char *UNUSED_P(base),
+ const XML_Char *UNUSED_P(systemId),
+ const XML_Char *UNUSED_P(publicId))
+{
+ const char text[] =
+ /* <![I... |
Provide a brief description of SmartConfig and add link to example | @@ -10,4 +10,11 @@ Provisioning API
Unified Provisioning <provisioning>
Wi-Fi Provisioning <wifi_provisioning>
-Code examples for this API section are provided in the :example:`provisioning` directory of ESP-IDF examples.
+Code examples for above API are provided in the :example:`provisioning` directory of ESP-IDF exam... |
Changed dOutputTime from 10 to 100 | @@ -21,4 +21,4 @@ bVarDt 0 # Use variable timestepping?
#dEta .1
dTimeStep 0.0005 # Timestep in years
dStopTime 1e5 # Stop time for evolution
-dOutputTime 10 # Output timesteps (assuming in body files)
+dOutputTime 100 # Output timesteps (assuming in body files)
|
iommu: proper parsing of the two capability registers | @@ -75,10 +75,7 @@ typedef enum {
} vtd_version_t;
struct vtd {
- struct {
- vtd_t vtd;
- vtd_iotlb_t iotlb;
- } registers;
+ vtd_t vtd_dev;
vtd_version_t version;
@@ -93,16 +90,19 @@ struct vtd {
struct vtd_ctxt_table ctxt_tables[VTD_NUM_ROOT_ENTRIES];
struct vtd_domain **domains;
- uint16_t domains_max;
+ uint16_t ma... |
Fixes compile errors in serer.hoon | |= [session=@ud =bone data=wall]
^- [(list move) _m]
::
- =/ lines=tape
- ::
:- :~ :* bone %http-response
%start 200
:~ ['content-type' 'text/event-stream']
complete=%.n
== ==
m
+
+::
:: %_ +>.$
:: :: +reconnect-session: reconnect an old session to a new http pipe
:: ::
:- :~ :* bone %http-response
%continue
(wall-to-o... |
removed interrupts protection (useless now) | @@ -1487,9 +1487,6 @@ void SPR_update()
KLog_U1("----------------- SPR_update: sprite number = ", SPR_getNumActiveSprite());
#endif // SPR_DEBUG
- // disable interrupts (we want to avoid DMA queue process when executing this method)
- SYS_disableInts();
-
#ifdef SPR_DEBUG
KLog_U1_(" Send sprites to DMA queue: ", highes... |
Handle NULL transition states for ordered set aggregates | @@ -1959,11 +1959,14 @@ cq_percentile_cont_float8_combine(PG_FUNCTION_ARGS)
MemoryContext context;
MemoryContext old;
CQOSAAggState *state;
- CQOSAAggState *incoming = (CQOSAAggState *) PG_GETARG_POINTER(1);
+ CQOSAAggState *incoming = PG_ARGISNULL(1) ? NULL : (CQOSAAggState *) PG_GETARG_POINTER(1);
if (!AggCheckCallCo... |
Keep LOONGSON3A and LOONGSON3B for loongson | @@ -814,7 +814,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#endif
-#ifdef FORCE_LOONGSON3R3
+#if defined FORCE_LOONGSON3R3 || defined FORCE_LOONGSON3A || defined FORCE_LOONGSON3B
#define FORCE
#define ARCHITECTURE "MIPS"
#define SUBARCHITECTURE "LOONGSON3R3"
|
Replace with ARM64 intrinsics | @@ -35,9 +35,9 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#ifdef C_MSVC
#include <intrin.h>
-#define MB do {} while (0)
-#define WMB do {} while (0)
-#define RMB
+#define MB __dmb(_ARM64_BARRIER_ISH)
+#define WMB __dmb(_ARM64_BARRIER_ISHST)
+#define RMB __dmb(_ARM64_BARRIER_ISHLD)
#else... |
Added CounterCraft to Who is using Yara | @@ -63,6 +63,7 @@ awesome list of [YARA-related stuff](https://github.com/InQuest/awesome-yara).
* [Blueliv](http://www.blueliv.com)
* [Cofense](https://cofense.com)
* [Conix](http://www.conix.fr)
+* [CounterCraft](https://www.countercraft.eu)
* [CrowdStrike FMS](https://github.com/CrowdStrike/CrowdFMS)
* [Cuckoo Sandb... |
docs/LoadableAppsConfigurationUserGuide : Add description about API usage limitation
The usage of some APIs are distinguished from kernel and user.
So User should consider which API to use from each side. | @@ -35,6 +35,14 @@ The document [Protected Build Guide](ProtectedBuildGuide.md) provides the instru
2. Flash and ram memory needs to be available to accomodate the applications.
3. The total ram requirement of an application needs to be fixed at build time.
4. Currently TizenRT supports only elf binary format.
+5. Code... |
OcBootManagementLib: Fix panic expansion and zero shrinking | @@ -244,12 +244,12 @@ OcReadApplePanicLog (
VOID *Value;
UINTN ValueSize;
CHAR16 VariableName[32];
- VOID *PanicData;
VOID *TmpData;
- UINTN PanicDataSize;
+ UINTN TmpDataSize;
+ VOID *PanicData;
- PanicData = NULL;
- PanicDataSize = 0;
+ TmpData = NULL;
+ TmpDataSize = 0;
for (Index = 0; Index < 1024; ++Index) {
Unico... |
ALLOCATOR's argument verification (temporary solution) | @@ -1680,6 +1680,12 @@ macro USE_PERL_LIB() {
### More about the allocator in Arcadia: https://wiki.yandex-team.ru/arcadia/allocators/
macro ALLOCATOR(Alloc) {
SET(ALLOCATOR $Alloc)
+
+ when ($ALLOCATOR in [ "LF", "LF_YT", "LF_DBG", "J", "B", "BS", "C", "GOOGLE", "LOCKLESS", "SYSTEM", "FAKE" ]) {
+ }
+ otherwise {
+ PE... |
Refactored nxt_conf_op_compile().
Now index is always initialized for create operations.
The changes in nxt_conf_op_compile() simplify adding upcoming support of
operations with arrays.
No functional changes. | @@ -741,6 +741,7 @@ nxt_conf_op_compile(nxt_mp_t *mp, nxt_conf_op_t **ops, nxt_conf_value_t *root,
{
nxt_str_t token;
nxt_conf_op_t *op, **parent;
+ nxt_conf_value_t *node;
nxt_conf_path_parse_t parse;
nxt_conf_object_member_t *member;
@@ -761,22 +762,23 @@ nxt_conf_op_compile(nxt_mp_t *mp, nxt_conf_op_t **ops, nxt_con... |
adding local entries in ECMWF code table 4.230 for CAMS 48r1 new parameters | # Code table 4.230 - Atmospheric chemical constituent type for ECMWF
+65526 65526 Condensable gas type 1
+65527 65527 Condensable gas type 2a
+65528 65528 Condensable gas type 2b
+65529 65529 Toluene and less reactive aromatics
+65530 65530 Xylene and more reactive aromatics
+65531 65531 Stratospheric Ozone
+65532 6553... |
lifecycle: correct [sg]ettable to [sg]et | @@ -99,8 +99,8 @@ This is the canonical list.
EVP_MAC_update updated updated
EVP_MAC_final finaled
EVP_MAC_CTX_free freed freed freed freed freed
- EVP_MAC_gettable_ctx_params newed initialised updated
- EVP_MAC_settable_ctx_params newed initialised updated
+ EVP_MAC_CTX_get_params newed initialised updated
+ EVP_MAC_C... |
Formatting tweak based on review feedback | @@ -274,9 +274,9 @@ c448_error_t c448_ed448_verify(
uint8_t challenge[2 * EDDSA_448_PRIVATE_BYTES];
if (hashctx == NULL
- || !hash_init_with_dom(hashctx, prehashed, 0, context, context_len)
- || !EVP_DigestUpdate(hashctx, signature,
- EDDSA_448_PUBLIC_BYTES)
+ || !hash_init_with_dom(hashctx, prehashed, 0, context,
+ co... |
show only PMKID type 4 | @@ -3909,12 +3909,15 @@ if(authlen >= WPAKEY_SIZE +PMKID_SIZE)
pmkid = (pmkid_t*)(wpakptr +WPAKEY_SIZE);
if(pmkid->id != TAG_VENDOR) return;
if(memcmp(pmkid->pmkid, &zeroed32, 16) != 0)
+ {
+ if((pmkid->len == 0x14) && (pmkid->type == 0x04))
{
if(addownap(AP_PMKID, macfrx->addr3) == false) return;
pmkidcount++;
if((sta... |
Tests: added tests for the log format.
Also added tests for the following variables:
$request_line, $time_local, $bytes_sent, and $status. | @@ -15,6 +15,15 @@ class TestAccessLog(TestApplicationPython):
'"' + option.temp_dir + '/access.log"', 'access_log'
), 'access_log configure'
+ def set_format(self, format):
+ assert 'success' in self.conf(
+ {
+ 'path': option.temp_dir + '/access.log',
+ 'format': format,
+ },
+ 'access_log',
+ ), 'access_log format'
... |
fix comparing with 0 in FuzzyEquals in ShapValues | @@ -79,7 +79,7 @@ static TVector<TFeaturePathElement> UnwindFeaturePath(
const double zeroPathsFraction = oldFeaturePath[eraseElementIdx].ZeroPathsFraction;
double weightDiff = oldFeaturePath[pathLength - 1].Weight;
- if (!FuzzyEquals(onePathsFraction, 0.0)) {
+ if (!FuzzyEquals(1 + onePathsFraction, 1 + 0.0)) {
for (i... |
[chainmaker]modify Deinit ptr NULL | @@ -140,12 +140,11 @@ void BoatHlchainmakerWalletDeInit(BoatHlchainmakerWallet *wallet_ptr)
BoatLog(BOAT_LOG_CRITICAL, "wallet_ptr needn't DeInit: wallet_ptr is NULL.");
return;
}
-
/* account_info DeInit */
BoatFree(wallet_ptr->user_client_info.cert.field_ptr);
wallet_ptr->user_client_info.cert.field_len = 0;
-#if 0
+... |
Fix deploy on non 3.4 python | @@ -37,7 +37,7 @@ repo_dir = os.path.join(script_dir, "..")
os.chdir(script_dir)
-if platform.system() == "Linux":
+if platform.system() == "Linux" and platform.python_version().startswith("3.4"):
DASHDASH = ["--"]
else:
DASHDASH = []
|
Add InQuest to Whos using YARA list | @@ -63,6 +63,7 @@ helpful extension to YARA developed and open-sourced by Bayshore Networks.
* [FSF](https://github.com/EmersonElectricCo/fsf)
* [Guidance Software](http://www.guidancesoftware.com/endpointsecurity)
* [Heroku](https://heroku.com)
+* [InQuest](http://www.inquest.net/)
* [JASK](http://jask.io)
* [jsunpack... |
NODE: v0.2.0 | {
"name": "mongodb-client-encryption",
- "version": "0.1.3",
+ "version": "0.2.0",
"description": "Official client encryption module for the MongoDB Node.js driver",
"main": "index.js",
"directories": {
|
SOVERSION bump to version 2.24.3 | @@ -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 24)
-set(LIBYANG_MICRO_SOVERSION 2)
+set(LIBYANG_MICRO_SOVERSION 3)
set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_M... |
del useless js in html for esp32s2 | <!--
<script src="../../converters/esp32_s2/control.js" type="application/javascript"></script>
-->
- <script src="../../converters/mixpy_python/system.js" type="application/javascript"></script>
+<!-- <script src="../../converters/mixpy_python/system.js" type="application/javascript"></script>
<script src="./js/python... |
Fix core_new_io | @@ -166,3 +166,5 @@ lib = OcfLib.getInstance()
lib.ocf_core_get_volume.restype = c_void_p
lib.ocf_volume_new_io.argtypes = [c_void_p]
lib.ocf_volume_new_io.restype = c_void_p
+lib.ocf_core_get_volume.argtypes = [c_void_p]
+lib.ocf_core_get_volume.restype = c_void_p
|
Remove a bad documentation reference. | @@ -198,7 +198,7 @@ Working with REXPaint ``.xp`` files
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
REXPaint gives special treatment to tiles with a magic pink ``{255, 0, 255}``
background color. You can processes this effect manually or by setting
-:any:`TCOD_console_set_key_color` to :any:`TCOD_fuchsia`.
+:any:`TCOD_console_... |
[ci] Only run Verilator on MinPool | @@ -107,9 +107,11 @@ verilator_model:
ln -s $VERILATOR_ROOT/share/verilator/include $VERILATOR_ROOT/include
ln -s $VERILATOR_ROOT/share/verilator/bin/verilator_includer $VERILATOR_ROOT/bin/verilator_includer
# Build the verilator model
- make -C hardware $(ROOT_DIR)/hardware/verilator_build/Vmempool_tb_verilator
+ make... |
travis: Build stm32 PYBD_SF6 with BTstack as bluetooth stack. | @@ -94,10 +94,11 @@ jobs:
script:
- make ${MAKEOPTS} -C mpy-cross
- make ${MAKEOPTS} -C ports/stm32 submodules
+ - git submodule update --init lib/btstack
- make ${MAKEOPTS} -C ports/stm32 BOARD=NUCLEO_F091RC
- make ${MAKEOPTS} -C ports/stm32 BOARD=PYBV11 MICROPY_PY_WIZNET5K=5200 MICROPY_PY_CC3K=1
- make ${MAKEOPTS} -C... |
story: make desk an optional param in story-list | /- *story
:- %say
|= $: [now=@da eny=@uvJ bec=beak]
- [[syd=desk ~] ~]
+ [[~] =desk ~]
==
::
:: (Internal) List all commit messages for the given desk,
:: including orphans (i.e. ones that have no connection to the file graph)
::
=/ our p.bec
-=/ tale=story .^(story %cx /(scot %p our)/[syd]/(scot %da now)/story)
-=/ st... |
printer json BUGFIX correct metadata parents | @@ -476,7 +476,7 @@ json_print_attributes(struct jsonpr_ctx *pctx, const struct lyd_node *node, ly_b
if (node->schema && (node->meta || wdmod)) {
if (inner) {
- LY_CHECK_RET(json_print_member2(pctx, NULL, LY_VALUE_JSON, NULL, 1));
+ LY_CHECK_RET(json_print_member2(pctx, lyd_parent(node), LY_VALUE_JSON, NULL, 1));
} els... |
Remove dcd_edpt_xfer_abort from DCD header | @@ -133,9 +133,6 @@ void dcd_edpt_close (uint8_t rhport, uint8_t ep_addr) TU_ATTR_WEAK;
// Submit a transfer, When complete dcd_event_xfer_complete() is invoked to notify the stack
bool dcd_edpt_xfer (uint8_t rhport, uint8_t ep_addr, uint8_t * buffer, uint16_t total_bytes);
-// Abort a ongoing transfer
-TU_ATTR_WEAK bo... |
readded get chipid parameters on print info | @@ -29,7 +29,7 @@ static void stlink_print_version(stlink_t *sl) {
}
static void stlink_print_info(stlink_t *sl) {
-
+ const struct stlink_chipid_params *params = NULL;
if (!sl) { return; }
printf(" version: "); stlink_print_version(sl);
@@ -37,6 +37,9 @@ static void stlink_print_info(stlink_t *sl) {
printf(" flash: %u... |
Fix: transferqualifier parameter index (PR | @@ -52,7 +52,7 @@ static const CRPCConvertParam vRPCConvertParams[] =
{ "transferfromaddresses", 1, "from_addresses"},
{ "transferfromaddresses", 2, "qty"},
{ "transferfromaddresses", 5, "expire_time"},
- { "transferqualifier", 2, "qty"},
+ { "transferqualifier", 1, "qty"},
{ "transferqualifier", 5, "expire_time"},
{ "... |
build/configs/artik053/tc: enable ITC testcase options
To enable option of ITC testcase for arastorage module and SystemI/O module, ITC testcase command "arastorage_itc / sysio_itc" would be execute on TASH manually | @@ -1134,7 +1134,7 @@ CONFIG_EXAMPLES_SLSIWIFI_STACKSIZE=2048
# CONFIG_EXAMPLES_SYSIO_TEST is not set
CONFIG_EXAMPLES_TESTCASE=y
CONFIG_EXAMPLES_TESTCASE_ARASTORAGE_UTC=y
-# CONFIG_EXAMPLES_TESTCASE_ARASTORAGE_ITC is not set
+CONFIG_EXAMPLES_TESTCASE_ARASTORAGE_ITC=y
# CONFIG_EXAMPLES_TESTCASE_AUDIO_UTC is not set
CONF... |
fix amalgamation documentation | @@ -59,7 +59,9 @@ Since it has no dependencies this is simple, all the code in `src/` comes along.
If you want an even simpler way, there's an 'amalgamated' build (often called `blob`, or `unity` builds.).
This is _all of the wren source code in one file_.
-This file can be generated by running `python3 util/generate_a... |
fix dependanies for generated *.pb.go files | @@ -260,7 +260,7 @@ macro OPTIMIZE_PY_PROTOS() {
macro GO_PROTO_CMD(File) {
.CMD=${cwd;rootdir;input:File} $PROTOC --plugin=protoc-gen-go=${ARCADIA_BUILD_ROOT}/vendor/github.com/golang/protobuf/protoc-gen-go/protoc-gen-go ${tool;hide:"vendor/github.com/golang/protobuf/protoc-gen-go"} -I=./$PROTO_NAMESPACE -I=$ARCADIA_R... |
atomic: fixed missing windows.h include on win32 | #else
# define cri_atomic_add(Val, Add) cri_atomic_add_impl((uintptr_t *) &(Val), (Add))
+# if defined (_WIN32)
+# include <windows.h>
+# endif
+
static inline uintptr_t cri_atomic_add_impl(uintptr_t *val, uintptr_t add)
{
# if defined (_WIN64)
|
picture_tools_enc: fix windows build warning
with WebPReplaceTransparentPixels() function signature:
src\enc\picture_tools_enc.c(86): warning C4028: formal parameter 1
different from declaration | @@ -83,7 +83,7 @@ static int SmoothenBlock(const uint8_t* a_ptr, int a_stride, uint8_t* y_ptr,
return (count == 0);
}
-void WebPReplaceTransparentPixels(WebPPicture* pic, uint32_t color) {
+void WebPReplaceTransparentPixels(WebPPicture* const pic, uint32_t color) {
if (pic != NULL && pic->use_argb) {
int y = pic->heigh... |
esp32s3: remove duplicate pm configs | @@ -523,53 +523,3 @@ menu "ESP32S3-Specific"
wise RTC fast memory operates on APB clock and hence does not have much performance impact.
endmenu # ESP32S3-Specific
\ No newline at end of file
-
-menu "Power Management"
- config PM_ENABLE
- bool "Support for power management"
- default n
- help
- If enabled, application... |
Fix inline stack walking regression | @@ -1350,13 +1350,6 @@ BOOLEAN NTAPI PhpWalkThreadStackCallback(
if (symbol && PhIsStackFrameTypeInline(StackFrame->InlineFrameContext))
{
PhMoveReference(&symbol, PhConcatStringRefZ(&symbol->sr, L" (Inline function)"));
-
- // Zero inline frames like windbg does. (dmex)
- StackFrame->PcAddress = 0;
- StackFrame->Retur... |
Compiler warnings: formal parameter different from declaration | @@ -129,7 +129,7 @@ int grib_nearest_get_radius(grib_handle* h, double* radiusInKm)
}
/* Note: the argument 'n' is NOT the size of the 'xx' array but its LAST index i.e. size of xx - 1 */
-void grib_binary_search(const double xx[], size_t n, double x, size_t* ju, size_t* jl)
+void grib_binary_search(const double xx[], ... |
cooja: only add dependences based on LIBNAME when LIBNAME is available.
LIBNAME is not set, for example, in quickstart mode or for clean. | @@ -122,7 +122,10 @@ $(BUILD_DIR_BOARD)/%.$(TARGET): MAPFILE = $(LIBNAME:.cooja=.map)
MTYPE_OBJ = $(LIBNAME:.cooja=.o)
MTYPE_DEP = $(DEPDIR)/$(notdir $(LIBNAME:.cooja=.d))
+# LIBNAME is not set for example in QUICKSTART or for clean
+ifdef LIBNAME
TARGET_DEPFILES += $(MTYPE_DEP)
+endif # LIBNAME
PROJECT_OBJECTFILES += ... |
webp-lossless-bitstream-spec,cosmetics: normalize range syntax
[N, M] -> [N..M] the latter is more common in this doc | @@ -866,7 +866,7 @@ stream. This may be inefficient, but it is allowed by the format.
\[AMENDED2\]
This variant is used in the special case when only 1 or 2 Huffman symbols are
-in the range \[0, 255\] with code length `1`. All other Huffman code lengths
+in the range \[0..255\] with code length `1`. All other Huffman ... |
doc: explain -DWITH_H2OLOG=on | @@ -84,6 +84,12 @@ This option instructs whether or not to enable DTrace support.
It is turned on by default if the prerequisites (<a href="https://sourceware.org/systemtap/">SystemTap</a> on Linux, or DTrace on macOS) are found.
See also <a href="https://github.com/h2o/h2o/wiki/macOS">wiki/macOS</a> to use DTrace on m... |
Add missing comma
Thank you clang:
../app/src/control_msg.c:45:5: warning: suspicious concatenation of
string literals in an array initialization; did you mean to separate
the elements with a comma? [-Wstring-concatenation]
"hover-exit",
^ | @@ -41,7 +41,7 @@ static const char *const android_motionevent_action_labels[] = {
"pointer-up",
"hover-move",
"scroll",
- "hover-enter"
+ "hover-enter",
"hover-exit",
"btn-press",
"btn-release",
|
Attempt to get mingw cross compile working for CI | @@ -10,9 +10,12 @@ env:
- CHECKED=no
- CHECKED=yes
-script:
+install:
- sudo cpanm File::Slurp Digest::MD5
+
+script:
- make NO_GIT_FILE=1 all run-all-tests
+ - make NO_GIT_FILE=1 CROSSMINGW=yes all
addons:
apt:
@@ -20,3 +23,5 @@ addons:
valgrind
yasm
cpanminus
+ mingw-w64
+ g++-mingw-w64-x86-64
|
corrected email address | @@ -39,8 +39,8 @@ Campagne,Jean-\'Eric,Jean-\'Eric Campagne,Contributor,"Laboratoire de l'Acc\'el\
Chisari,Elisa,N. Elisa Chisari,Contributor,"Department of Physics, University of Oxford, Denys Wilkinson Building, Keble Road, Oxford OX1 3RH, United Kingdom","Co-led project, coordinated hack projects \& communication, c... |
disables proxy printf on u3_ward auth failure | @@ -2215,11 +2215,10 @@ _proxy_wcon_peek_read_cb(uv_stream_t* upt_u,
c3_w len_w = rev_u->non_u.len;
- // XX await further reads if siz_w < len_w ?
if ( ((len_w + 1) != siz_w) ||
(len_w != buf_u->base[0]) ||
(0 != memcmp(rev_u->non_u.base, buf_u->base + 1, len_w)) ) {
- uL(fprintf(uH, "proxy: ward auth fail\n"));
+ // u... |
update kernel-pk version to align with ACNR v0.1
update kernel-pk version to align with ACRN v0.1 release | title The ACRN Service OS
-linux /EFI/org.clearlinux/kernel-org.clearlinux.pk414-sos.4.14.23-19
-options pci_devices_ignore=(0:18:2) maxcpus=1 console=tty0 console=ttyS0 i915.nuclear_pageflip=1 root=PARTUUID=<UUID of rootfs partition> rw rootwait ignore_loglevel no_timer_check consoleblank=0 i915.tsd_init=7 i915.tsd_de... |
Set a random network key when reseting gateway. | @@ -8207,7 +8207,20 @@ bool DeRestPluginPrivate::resetConfiguration(bool resetGW, bool deleteDB)
uint8_t securityMode = 3;
// TODO: original macAddress
quint64 macAddress = apsCtrl->getParameter(deCONZ::ParamMacAddress);
- QByteArray nwkKey = QByteArray::fromHex(qPrintable("cccccccccccccccccccccccccccccccc"));
+
+ uint... |
contributing: remove labelling discussion
In general contributors can't add labels to issues, so this section was
incorrect. | @@ -210,11 +210,6 @@ The [GitHub tracker][issu] is our canonical source of truth around issues,
bugs, performance problems, feature requests, and so on. If you encounter any
issues when developing on urbit, feel free to submit a report about it here.
-You should label your issue appropriately if you know happen to know... |
nimble/ll: Fix txend callback
We should call txend before transition as otherwise called code may mess
up transition. | @@ -1025,6 +1025,10 @@ ble_phy_tx_end_isr(void)
}
#endif
+ if (g_ble_phy_data.txend_cb) {
+ g_ble_phy_data.txend_cb(g_ble_phy_data.txend_arg);
+ }
+
transition = g_ble_phy_data.phy_transition;
if (transition == BLE_PHY_TRANSITION_TX_RX) {
@@ -1081,10 +1085,6 @@ ble_phy_tx_end_isr(void)
PPI_CHEN_CH20_Msk | PPI_CHEN_CH31... |
When building a tarball, avoid trying to copy submodules
submodules are directories that we don't want in our tarballs, so
avoid them. | @@ -686,8 +686,11 @@ tar:
DISTDIR=$(NAME); \
mkdir -p $$TMPDIR/$$DISTDIR; \
(cd $(SRCDIR); \
+ excl_re=`git submodule status | sed -e 's/^.//' | cut -d' ' -f2`; \
+ excl_re="^(fuzz/corpora|`echo $$excl_re | sed -e 's/ /$$|/g'`\$$)"; \
+ echo "$$excl_re"; \
git ls-tree -r --name-only --full-tree HEAD \
- | grep -v '^fuz... |
slinky - Slight rearrangement of loader init.
This change does not fix any observable issue. It is only made to
reinforce the preferred control flow for the split image setup. The
loader should jump into the app at the very end of main(), where the OS
would normally get started. | @@ -303,6 +303,11 @@ main(int argc, char **argv)
log_reboot(hal_reset_cause());
+ init_tasks();
+
+ /* If this app is acting as the loader in a split image setup, jump into
+ * the second stage application instead of starting the OS.
+ */
#if MYNEWT_VAL(SPLIT_LOADER)
{
void *entry;
@@ -313,8 +318,6 @@ main(int argc, ch... |
pbio/platform/prime_hub: set usb product name
This helps us find the hub in pybricksdev | #define USBD_PID 0x5740
#define USBD_LANGID_STRING 0x409
#define USBD_MANUFACTURER_STRING "STMicroelectronics"
-#define USBD_PRODUCT_FS_STRING "STM32 Virtual ComPort in FS Mode"
+#define USBD_PRODUCT_FS_STRING "Pybricks Hub"
#define USBD_CONFIGURATION_FS_STRING "VCP Config"
#define USBD_INTERFACE_FS_STRING "VCP Interfa... |
ignore addtoframe if image size is 1 | @@ -59,6 +59,9 @@ def add(img, background, x_offset, y_offset, alpha=1, channel=3, topleft=False):
:param alpha: float between 0 and 1
:return:
"""
+ if img.size[0] == 1 and img.size[1] == 1:
+ return
+
if not topleft:
y_offset = y_offset - img.size[1]//2
x_offset = x_offset - img.size[0]//2
|
DEV: Move Qt slot connection to create function | @@ -888,7 +888,7 @@ Device::Device(DeviceKey key, deCONZ::ApsController *apsCtrl, QObject *parent) :
d->apsCtrl = apsCtrl;
d->deviceKey = key;
d->managed = DEV_TestManaged();
- connect(this, SIGNAL(eventNotify(Event)), parent, SLOT(enqueueEvent(Event)));
+
addItem(DataTypeBool, RStateReachable);
addItem(DataTypeBool, R... |
VERSION bump to version 1.3.66 | @@ -31,7 +31,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 3)
-set(SYSREPO_MICRO_VERSION 65)
+set(SYSREPO_MICRO_VERSION 66)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI... |
Enhanced calculation of knot multiplicity. | @@ -1059,11 +1059,10 @@ tsError ts_int_bspline_find_knot(const tsBSpline *spline, tsReal knot,
(*index)++;
}
- *multiplicity = 0;
- for (low = 0; low < deg+1; low++) {
- if (ts_knots_equal(knot, knots[*index - deg + low])) {
- (*multiplicity)++;
- }
+ /* Calculate knot's multiplicity. */
+ for (*multiplicity = deg + 1;... |
Randomize latency and bandwidth of test links | @@ -863,8 +863,12 @@ static int stress_create_client_context(int client_index, picoquic_stress_ctx_t
}
if (ret == 0) {
/* initialize the simulation links from client to server and back. */
- ctx->c_to_s_link = picoquictest_sim_link_create(0.01, 10000, 0, 0, 0);
- ctx->s_to_c_link = picoquictest_sim_link_create(0.01, 10... |
WindowExplorer: Add filename for window class module | @@ -1053,6 +1053,9 @@ static VOID WepRefreshWindowClassInfo(
{
WCHAR className[256];
PH_STRING_BUILDER stringBuilder;
+ HANDLE processHandle;
+ PPH_STRING fileName = NULL;
+ PVOID instanceHandle;
ULONG i;
if (!GetClassName(Context->WindowHandle, className, sizeof(className) / sizeof(WCHAR)))
@@ -1066,9 +1069,39 @@ stat... |
Fixed collisions length calculation | @@ -122,7 +122,10 @@ const compile = async (
// Add scene data
const scenePtrs = precompiled.sceneData.map((scene, sceneIndex) => {
- const collisionsLength = Math.ceil((scene.width * scene.height) / 8);
+ const sceneImage = precompiled.usedImages[scene.imageIndex];
+ const collisionsLength = Math.ceil(
+ (sceneImage.w... |
Update lv_ta_signal in lv_ta.c
add code processing LV_SIGNAL_DEFOCUS and LV_SIGNAL_FOCUS signals. | @@ -972,7 +972,18 @@ static lv_res_t lv_ta_signal(lv_obj_t * ta, lv_signal_t sign, void * param)
}
buf->type[i] = "lv_ta";
}
-
+ else if (sign == LV_SIGNAL_DEFOCUS)
+ {
+ lv_cursor_type_t cur_type;
+ cur_type = lv_ta_get_cursor_type(ta);
+ lv_ta_set_cursor_type(ta, cur_type | LV_CURSOR_HIDDEN);
+ }
+ else if (sign == L... |
Quickfix for issue allocate buffer more 1 lines to prevent heap-buffer-overflow | @@ -3063,7 +3063,7 @@ static int stbi__process_frame_header(stbi__jpeg *z, int scan)
z->img_comp[i].coeff = 0;
z->img_comp[i].raw_coeff = 0;
z->img_comp[i].linebuf = NULL;
- z->img_comp[i].raw_data = stbi__malloc_mad2(z->img_comp[i].w2, z->img_comp[i].h2, 15);
+ z->img_comp[i].raw_data = stbi__malloc_mad2(z->img_comp[i... |
removes dns automation from %ames | == ::
task:able:jael ::
== ::
- $: %g :: to %gall
- $>(%deal task:able:gall) :: interact with apps
- == ::
$: @tas :: to any
$>(%west task:able) :: deliver message
== == ::
[gad.fox %pass /ames %b %rest u.tim.fox]~
::
%raki
- =* her p.bon
- =/ moz=(list move)
- [hen [%pass / %j %meet her life=q.bon pass=r.bon]]~
- :: p... |
OpenDistro: allow users to be modified via REST API in admin UI | @@ -16,14 +16,14 @@ admin:
searchexpert:
hash: "$2a$12$VcCDgh2NDk07JGN0rjGbM.Ad41qVR/YFJcgHp0UGns5JDymv..TOG"
- reserved: true
+ reserved: false
backend_roles:
- "kibanauser"
- "serchexpert"
searchadmin:
hash: "$2a$12$VcCDgh2NDk07JGN0rjGbM.Ad41qVR/YFJcgHp0UGns5JDymv..TOG"
- reserved: true
+ reserved: false
backend_role... |
include/charge_state_v1.h: Format with clang-format
BRANCH=none
TEST=none | #define F_BATTERY_NOT_CONNECTED BIT(12) /* Battery not connected */
#define F_BATTERY_GET_PARAMS BIT(13) /* Any battery parameter bad */
-#define F_BATTERY_MASK (F_BATTERY_VOLTAGE | \
- F_BATTERY_MODE | \
- F_BATTERY_CAPACITY | F_BATTERY_STATE_OF_CHARGE | \
- F_BATTERY_UNRESPONSIVE | F_BATTERY_NOT_CONNECTED | \
- F_BAT... |
OcConsoleLib: Fix message error level | @@ -118,7 +118,7 @@ OcAppleFbInfoInstallProtocol (
}
if (OcCountProtocolInstances (&gEfiGraphicsOutputProtocolGuid) == 0) {
- DEBUG ((DEBUG_ERROR, "OCOS: No GOP protocols for FB info\n"));
+ DEBUG ((DEBUG_INFO, "OCOS: No GOP protocols for FB info\n"));
return NULL;
}
|
extmod/modurandom: Add init method to seed the Yasmarang generator.
In CPython the random module is seeded differently on each import, and so
this new macro option MICROPY_PY_URANDOM_SEED_INIT_FUNC allows to implement
such a behaviour. | @@ -200,8 +200,19 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_2(mod_urandom_uniform_obj, mod_urandom_uniform);
#endif // MICROPY_PY_URANDOM_EXTRA_FUNCS
+#ifdef MICROPY_PY_URANDOM_SEED_INIT_FUNC
+STATIC mp_obj_t mod_urandom___init__() {
+ mod_urandom_seed(MP_OBJ_NEW_SMALL_INT(MICROPY_PY_URANDOM_SEED_INIT_FUNC));
+ return mp_const... |
HV: add px data of bxt j3455 SOC
The cpu model name of "Intel(R) Celeron(R) CPU J3455 @ 1.50GHz" is used for
APL NUC which is in Acrn official suport list.
Acked-by: Kevin Tian | @@ -55,8 +55,22 @@ struct cpu_px_data px_a3960[] = {
{0x320, 0, 0xA, 0xA, 0x0800, 0x0800} /* P16 */
};
+/* The table includes cpu px info of Intel J3455 SoC */
+struct cpu_px_data px_j3455[] = {
+ {0x5DD, 0, 0xA, 0xA, 0x1700, 0x1700}, /* P0 */
+ {0x5DC, 0, 0xA, 0xA, 0x0F00, 0x0F00}, /* P1 */
+ {0x578, 0, 0xA, 0xA, 0x0E... |
Check if pApplicationInfo is null | @@ -2546,7 +2546,9 @@ static VkResult overlay_CreateInstance(
get_instance_chain_info(pCreateInfo, VK_LAYER_LINK_INFO);
- const char* pEngineName = pCreateInfo->pApplicationInfo->pEngineName;
+ const char* pEngineName = nullptr;
+ if (pCreateInfo->pApplicationInfo)
+ pEngineName = pCreateInfo->pApplicationInfo->pEngine... |
STM32 Ethernet: Using Timer Instead of Poll Thread | @@ -35,6 +35,9 @@ struct rt_stm32_eth
{
/* inherit from ethernet device */
struct eth_device parent;
+#ifndef PHY_USING_INTERRUPT_MODE
+ rt_timer_t poll_link_timer;
+#endif
/* interface address info, hw address */
rt_uint8_t dev_addr[MAX_ADDR_LEN];
@@ -515,12 +518,7 @@ static void phy_monitor_thread_entry(void *paramet... |
Remove TODO comment. Resolves | @@ -122,13 +122,6 @@ const char *ossl_ec_curve_nid2name(int nid)
if (nid <= 0)
return NULL;
- /*
- * TODO(3.0) Figure out if we should try to find the nid with
- * EC_curve_nid2nist() first, i.e. make it a priority to return
- * NIST names if there is one for the NID. This is related to
- * the TODO comment in ossl_ec_... |
jenkinsfile: fix hardcoded stage naming which prevented parallel stage execution | @@ -105,9 +105,8 @@ def dockerInit() {
* image: which docker image should be used
*/
def buildRelease(testName, image) {
- def stageName = "release"
- return [(stageName): {
- stage(stageName) {
+ return [(testName): {
+ stage(testName) {
withDockerEnv(DOCKER_IMAGES.buster, [DOCKER_OPTS.MOUNT_MIRROR]) {
withCredentials... |
[dpos] reject the reorganization beyond a LIB | @@ -131,9 +131,6 @@ func decode(r io.Reader, e interface{}) error {
// NeedReorganization reports whether reorganization is needed or not.
func (s *Status) NeedReorganization(rootNo types.BlockNo) bool {
- return true
-
- /*
s.RLock()
defer s.RUnlock()
@@ -145,15 +142,14 @@ func (s *Status) NeedReorganization(rootNo ty... |
[build] fix CMake pcre2 detection | @@ -256,7 +256,7 @@ macro(XCONFIG _package _include_DIR _link_DIR _link_FLAGS _cflags)
set(XCONFIG_EXECUTABLE "${${_package}CONFIG_EXECUTABLE}")
message(STATUS "found ${_package}: ${XCONFIG_EXECUTABLE}")
- if(${_package} EQUAL "pcre2-config")
+ if(${_package} STREQUAL "pcre2-config")
exec_program(${XCONFIG_EXECUTABLE} ... |
Update expected output after PR (__str__ improvement) merge | @@ -70,7 +70,7 @@ class TestAlignedSegment(ReadTest):
a = pysam.AlignedSegment()
s = str(a)
self.assertEqual(
- "None\t0\t-1\t-1\t0\tNone\t-1\t-1\t0\tNone\tNone\t[]",
+ "None\t0\t*\t0\t0\tNone\t*\t0\t0\tNone\tNone\t[]",
s)
def testSettingTagInEmptyRead(self):
|
ChatMessage: remove dead props | @@ -141,7 +141,7 @@ const MessageActionItem = (props) => {
);
};
-const MessageActions = ({ api, onReply, association, history, msg, group }) => {
+const MessageActions = ({ api, onReply, association, msg, group }) => {
const isAdmin = () => group.tags.role.admin.has(window.ship);
const isOwn = () => msg.author === win... |
horadric update (282898472) | },
"horadric":{
"formula": {
- "sandbox_id": 282605911,
+ "sandbox_id": 282898472,
"match": "horadric"
},
"executable": {
|
docs: removed references to ALTER FILESPACE, DROP FILESPACE
see commit | </section>
<p otherprops="op-html">See <xref href="sql_commands/ALTER_EXTERNAL_TABLE.xml"/> for more
information.</p>
- <section id="ae1903373">
- <title>ALTER FILESPACE</title>
- </section>
- <p conref="sql_commands/ALTER_FILESPACE.xml#topic1/sql_command_desc"/>
- <codeblock conref="sql_commands/ALTER_FILESPACE.xml#to... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.