message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Ensure test user has permissions before removing test files.
This allows files to be deleted even when tests have limited the permissions. | @@ -642,7 +642,8 @@ eval
}
executeTest(
- "rm -rf ${strTestPath}/temp ${strTestPath}/test-* ${strTestPath}/data-*" . ($bDev ? '' : " ${strTestPath}/gcov-*"));
+ "chmod 700 -R ${strTestPath}/test-* 2>&1 || true && rm -rf ${strTestPath}/temp ${strTestPath}/test-*" .
+ " ${strTestPath}/data-*" . ($bDev ? '' : " ${strTestP... |
Tolerate failure on ipv6 tcp server test and add ipv4 version
(needed for Travis tests which seem to have broken ipv6 support) | return require('lib/tap')(function (test)
- test("basic tcp server and client", function (print, p, expect, uv)
+ test("basic tcp server and client (ipv4)", function (print, p, expect, uv)
local server = uv.new_tcp()
- uv.tcp_bind(server, "::", 0)
- uv.listen(server, 128, expect(function (err)
+ assert(uv.tcp_bind(serv... |
Reword readme.md under ./Test. | ## Testing in FreeRTOS
- This directory is in working progress -- we are migrating scattered test cases to this directory. The directory structure section below only lists what's currently under this directory.
+FreeRTOS kernel consists of common code and porting layer. Extensive [static analysis](https://en.wikipedia.... |
menu: sndcode should signal release of key | @@ -816,6 +816,9 @@ static int send_code(struct re_printf *pf, void *arg)
for (i = 0; i < str_len(carg->prm) && !err; i++) {
err = call_send_digit(call, carg->prm[i]);
}
+ if (!err) {
+ err = call_send_digit(call, KEYCODE_REL);
+ }
}
return err;
|
update params guitar | @@ -51,9 +51,9 @@ guitar_string_sparse = StringDS(ndof, geometry_and_material=G_string,
# -- The obstacles (Interactions) --
# ie guitar fret(s)
-fret = Fret(guitar_string, position=[imax, -0.010])
-fret_m = Fret(guitar_string_m, position=[imax, -.002], restitution_coeff = 0.0)
-fret_sp = Fret(guitar_string_sparse, pos... |
sdcard_image-rpi: Drop redundant dependency on rpi-config:do_deploy
The bootfiles:do_deploy task already depends on rpi-config:do_deploy so
we do not explicitly need to list the dependency again in the
sdcard_image-rpi class. | @@ -57,7 +57,6 @@ do_image_rpi_sdimg[depends] = " \
dosfstools-native:do_populate_sysroot \
virtual/kernel:do_deploy \
${IMAGE_BOOTLOADER}:do_deploy \
- rpi-config:do_deploy \
${@bb.utils.contains('MACHINE_FEATURES', 'armstub', 'armstubs:do_deploy', '' ,d)} \
${@bb.utils.contains('RPI_USE_U_BOOT', '1', 'u-boot:do_deplo... |
Added lv_gauge_value_t and lv_linemeter_value_t typedefs | @@ -34,6 +34,8 @@ typedef void * lv_anim_user_data_t;
typedef void * lv_group_user_data_t;
typedef void * lv_fs_drv_user_data_t;
typedef void * lv_img_decoder_user_data_t;
+typedef int16_t lv_gauge_value_t;
+typedef int16_t lv_linemeter_value_t;
/**********************
* GLOBAL PROTOTYPES
|
Update token guid string | @@ -2216,7 +2216,7 @@ BOOLEAN PhpAddTokenCapabilities(
if (capabilityName = PhGetCapabilityGuidName(name))
{
- PhpAddAttributeNode(&TokenPageContext->CapsTreeContext, node, PhFormatString(L"GuidName: %s", PhGetString(capabilityName)));
+ PhpAddAttributeNode(&TokenPageContext->CapsTreeContext, node, PhFormatString(L"Cap... |
redpine: use new magic, parse packet flag | @@ -330,7 +330,7 @@ void rx_serial_find_protocol(void) {
break;
case RX_SERIAL_PROTOCOL_REDPINE:
case RX_SERIAL_PROTOCOL_REDPINE_INVERTED:
- if (rx_buffer[0] == 11) {
+ if ((rx_buffer[0] & 0x3F) == 0x2A) {
rx_serial_protocol = protocol_to_check;
}
break;
@@ -1046,6 +1046,16 @@ void rx_serial_process_redpine(void) {
rx_... |
devicemodel: remove obsolete argument from list of options
Remove the 'p' argument from the list as it is now obsolete and there is no
implementation for it in the code. | @@ -777,7 +777,7 @@ static struct option long_options[] = {
{0, 0, 0, 0 },
};
-static char optstr[] = "hAWYvE:k:r:B:p:s:m:l:U:G:i:";
+static char optstr[] = "hAWYvE:k:r:B:s:m:l:U:G:i:";
int
main(int argc, char *argv[])
|
u3: refactors u3u_uniq, prints memory measurements | @@ -323,34 +323,34 @@ u3u_uniq(void)
c3_assert(0);
}
- fprintf(stderr, "hc: cells fill %" PRIu64 " size %" PRIu64 "\r\n", r->cells.fill, r->cells.size);
- fprintf(stderr, "hc: atoms fill %" PRIu64 " size %" PRIu64 "\r\n", r->atoms.fill, r->atoms.size);
-
+ // reallocate kernel
+ //
ur_nref ken = _cu_from_loom(r, u3A->r... |
vio-svc: rhbz#1979469: update device hardware to rev 01 | ;Abstract:
;
;Installation Notes:
-; Using Devcon: Type "devcon install viofs.inf PCI\VEN_1AF4&DEV_105A&SUBSYS_1100_INX_SUBSYS_VENDOR_ID&REV_00" to install
+; Using Devcon: Type "devcon install viofs.inf PCI\VEN_1AF4&DEV_105A&SUBSYS_1100_INX_SUBSYS_VENDOR_ID&REV_01" to install
;
;--*/
@@ -41,7 +41,7 @@ WdfCoInstaller$K... |
cmake: don't install binaries from extras/
this matches the behavior of configure | @@ -567,7 +567,6 @@ if(WEBP_BUILD_EXTRAS)
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}
${CMAKE_CURRENT_SOURCE_DIR}/src
${CMAKE_CURRENT_BINARY_DIR}/src)
- install(TARGETS get_disto RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
# webp_quality
add_executable(webp_quality ${WEBP_QUALITY_SRCS} ${WEBP_EXTRAS_SRCS})
@@ -575,7 +574,6 @@... |
try adding space | @@ -20,10 +20,10 @@ scientific libraries.
The compatible OS version(s) for this release and the total number of
pre-packaged RPMs available per architecture type are summarized as follows:
--344-464646.svg?colorA=c5222d)
+/4] = 0;
memcpy(pulSerializingArray, pacData + ulByteSent, ulByteToSend);
xEventGroupClearBits( xFlashEventGrp, otapalFLASH_SUCCESS... |
Get rid of separate target for static library and stop fiddling BUILD_SHARED_LIBS flag. | -if (NOT DEFINED BUILD_SHARED_LIBS)
- set(BUILD_SHARED_LIBS ON)
-endif (NOT DEFINED BUILD_SHARED_LIBS)
-
-file(GLOB libsbp_HEADERS "${PROJECT_SOURCE_DIR}/include/libsbp/*.h")
-
-include_directories("${PROJECT_SOURCE_DIR}/include")
+set(libsbp_HEADERS
+ "${PROJECT_SOURCE_DIR}/include/libsbp/acquisition.h"
+ "${PROJECT_S... |
OpenXR: Add identity pose to reference spaces; | @@ -217,7 +217,8 @@ static bool openxr_init(float offset, uint32_t msaa) {
// Main reference space (can be stage or local)
XrReferenceSpaceCreateInfo info = {
.type = XR_TYPE_REFERENCE_SPACE_CREATE_INFO,
- .referenceSpaceType = XR_REFERENCE_SPACE_TYPE_STAGE
+ .referenceSpaceType = XR_REFERENCE_SPACE_TYPE_STAGE,
+ .pose... |
fixes bug in forwarded packet routing | :: u.q.fud
?: =(our p.fud)
(emit %mead lyn r.fud)
- =+ zid=(myx:gus p.fud)
- (emir (wist:zid now xong [~ lyn] r.fud))
+ =/ zid (myx:gus p.fud)
+ =/ zon %*(xong ..xong her p.fud)
+ (emir (wist:zid now zon [~ lyn] r.fud))
==
::
++ emir :: emir:la:ho:um:am
|
OpenXR focus events; | @@ -630,7 +630,6 @@ static void openxr_update(float dt) {
switch (e.type) {
case XR_TYPE_EVENT_DATA_SESSION_STATE_CHANGED: {
XrEventDataSessionStateChanged* event = (XrEventDataSessionStateChanged*) &e;
- state.sessionState = event->state;
switch (event->state) {
case XR_SESSION_STATE_READY:
@@ -651,6 +650,14 @@ static... |
Blindly try to fix test script's tar invocation for MSYS.
Buildfarm member fairywren doesn't like the test case I added
in commit I'm guessing the reason is that I shouldn't
be using a perl2host-ified path in the tar command line. | @@ -270,9 +270,10 @@ SKIP:
$node2->init_from_backup($node, 'tarbackup2', tar_program => $tar);
# Recover tablespace into a new directory (not where it was!)
- mkdir "$tempdir/tblspc1replica";
+ my $repTsDir = "$tempdir/tblspc1replica";
my $realRepTsDir = TestLib::perl2host("$shorter_tempdir/tblspc1replica");
- TestLib:... |
only import pyframewriter if it's enabled | @@ -6,7 +6,6 @@ import numpy as np
import cv2
from ..global_var import videoextensions
from ..Exceptions import CannotCreateVideo, FourccIsNotExtension, WrongFourcc
-from .FFmpegWriter.osr2mp4cv import PyFrameWriter
def write_frame(shared, conn, filename, settings, iii):
@@ -38,6 +37,7 @@ def write(shared, conn, filena... |
strict prototype | @@ -51,7 +51,7 @@ static void test_memoryvalue (const char * memoryvaluestring, kdb_unsigned_long_
}
-static void test_memoryvalueplugin ()
+static void test_memoryvalueplugin (void)
{
test_memoryvalue ("1Z", 0, true);
test_memoryvalue ("!TB", 0, true);
|
[ivshmem] propagate MmAllocateMdlForIoSpace error result | @@ -141,10 +141,10 @@ NTSTATUS IVSHMEMEvtDevicePrepareHardware(_In_ WDFDEVICE Device, _In_ WDFCMRESLIS
{
deviceContext->shmemAddr.PhysicalAddress = descriptor->u.Memory.Start;
deviceContext->shmemAddr.NumberOfBytes = descriptor->u.Memory.Length;
- if (!NT_SUCCESS(MmAllocateMdlForIoSpace(&deviceContext->shmemAddr, 1, &d... |
options/ansi: Adjust ENOTDIR error string | @@ -231,7 +231,7 @@ char *strerror(int errnum) {
case EISDIR: s = "Resource is directory (EISDIR)"; break;
case ENOENT: s = "No such file or directory (ENOENT)"; break;
case ENOMEM: s = "Out of memory (ENOMEM)"; break;
- case ENOTDIR: s = "Directory does not exist (ENOTDIR)"; break;
+ case ENOTDIR: s = "Expected direct... |
remove superfluous Group | @@ -16,7 +16,6 @@ Name: %{pname}%{PROJ_DELIM}
Version: 1.22
Release: 1%{?dist}
Summary: Static cluster configuration database
-Group: System Environment/Base
License: GPL
Source: https://github.com/chaos/genders/releases/download/genders-1-22-1/%{pname}-%{version}.tar.gz
Source1: OHPC_macros
|
out_stdout: fix leak on exit and add missing cb_exit() | * limitations under the License.
*/
-#include <stdio.h>
-
+#include <fluent-bit/flb_info.h>
#include <fluent-bit/flb_output.h>
#include <fluent-bit/flb_utils.h>
#include <fluent-bit/flb_time.h>
#include "stdout.h"
-static char *msgpack_to_json(struct flb_out_stdout_config *ctx, char *data, uint64_t bytes, uint64_t *out... |
contributing: text fixup
'clear' is preferred to "clear, obvious" here. | @@ -211,11 +211,11 @@ 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.
A good bug report, description of a crash, etc., should ideally be
-*reproducible*, with clear, obvious steps as to how another developer can
-... |
proc/name.c: fixed memory leak in proc_portRegister()
DONE: | @@ -74,6 +74,14 @@ int proc_portRegister(unsigned int port, const char *name, oid_t *oid)
}
proc_lockClear(&name_common.dcache_lock);
+ if (name[0] == '/' && name[1] == 0) {
+ name_common.root_oid.port = port;
+ if (oid != NULL)
+ name_common.root_oid.id = oid->id;
+ name_common.root_registered = 1;
+ return EOK;
+ }
+... |
Update to VS project file for PSA crypto config
The new header files to support PSA crypto config needed to be
added to the VS project file. | <ClInclude Include="..\..\include\mbedtls\cmac.h" />
<ClInclude Include="..\..\include\mbedtls\compat-1.3.h" />
<ClInclude Include="..\..\include\mbedtls\config.h" />
+ <ClInclude Include="..\..\include\mbedtls\config_psa.h" />
<ClInclude Include="..\..\include\mbedtls\ctr_drbg.h" />
<ClInclude Include="..\..\include\m... |
Add tests that cover most of the top-level interface | from numpy.testing import run_module_suite
+# Per-module accuracy and input correctness tests
from ccl_test_distances import *
from ccl_test_growth import *
from ccl_test_core import *
+# Overall interface functionality tests
+from ccl_test_pyccl_interface import *
+
if __name__ == "__main__":
# Run all tests
run_modul... |
grid: fix sort order in notifications | @@ -40,7 +40,7 @@ export const BasicNotification = ({ notification, lid }: BasicNotificationProps)
if (!first || !charge) {
return null;
}
- const orderedByTime = notification.body.sort((a, b) => b.time - a.time);
+ const orderedByTime = notification.body.sort((a, b) => a.time - b.time);
const contents = map(orderedByT... |
ci: update ruby versions to test
Remove 2.3 and include 2.7 at versions which the macOS builds do support. | @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
- ruby: [ '2.3.7', '2.4.6', '2.5.5', '2.6.3' ]
+ ruby: [ '2.4.9', '2.5.7', '2.6.5', '2.7.0' ]
os: [ ubuntu-18.04, macOS-10.14 ]
runs-on: ${{ matrix.os }}
|
Allow minimizing live dump progress dialog | @@ -184,7 +184,7 @@ HRESULT CALLBACK PhpLiveDumpProgressDialogCallbackProc(
if (NT_SUCCESS(context->LastStatus))
{
- config.dwFlags = TDF_USE_HICON_MAIN | TDF_ALLOW_DIALOG_CANCELLATION;
+ config.dwFlags = TDF_USE_HICON_MAIN | TDF_ALLOW_DIALOG_CANCELLATION | TDF_CAN_BE_MINIMIZED;
config.hMainIcon = PhGetApplicationIcon(... |
libssh2.h: Update Diffie Hellman group values
File: libssh2.h
Notes:
Update the min, preferred and max DH group values based on RFC 8270.
Credit:
Will Cosgrove, noted from email list by Mitchell Holland | @@ -235,9 +235,9 @@ typedef off_t libssh2_struct_stat_size;
/* Default generate and safe prime sizes for
diffie-hellman-group-exchange-sha1 */
-#define LIBSSH2_DH_GEX_MINGROUP 1024
-#define LIBSSH2_DH_GEX_OPTGROUP 1536
-#define LIBSSH2_DH_GEX_MAXGROUP 2048
+#define LIBSSH2_DH_GEX_MINGROUP 2048
+#define LIBSSH2_DH_GEX_O... |
bypass SSE optimization when skipping subsampled channels | @@ -1432,6 +1432,14 @@ ScanLineInputFile::setFrameBuffer (const FrameBuffer &frameBuffer)
// not possible.
break;
}
+
+ //
+ // optimization mode cannot currently skip subsampled channels
+ //
+ if (i.channel().xSampling!=1 || i.channel().ySampling!=1)
+ {
+ optimizationPossible = false;
+ }
++i;
}
|
RPC: Remove CAN bit timing function. | @@ -282,21 +282,11 @@ class rpc_slave(rpc):
self.__schedule_cb = None
if self.__loop_cb is not None: self.__loop_cb()
-def __get_can_settings(bit_rate, sample_point):
- clk = 48000000 if omv.board_type() == "H7" else pyb.freq()[2]
- for prescaler in range(8):
- for bs1 in range(16):
- for bs2 in range(8):
- if bit_rate... |
iirdes/autotest: simplifying static 2nd-order butterworth filter test | // Example 9-7, pp. 440--442)
void autotest_iirdes_butter_2()
{
- // initialize variables
- unsigned int order = 2; // filter order
- float fc = 0.25f; // normalized cutoff frequency
- float f0 = 0.0f; // center frequency (ignored for low-pass filter)
- float Ap = 1.0f; // pass-band ripple (ignored for Butterworth)
- f... |
Updated CHANGES and added myself to CREDITS | @@ -9,6 +9,13 @@ Notable User Facing Changes
- improved local variables support
- OpenCL 2.0 atomics are now supported
- work_group_barrier, to_local/to_global are implemented
+- Changed default target OpenCL version to 3.0. Note: PoCL still lacks support
+ for most new features in OpenCL 3.0 and calling such features ... |
Optimize poll manager to consider only avaliable attributes
When cluster to be polled is found, extend the check to also determine if an attribute is available. If not, they get discarded (mainly applicable for instantaneous demand attribute on simple metering cluster). Also, freshness of values is only checked on avai... | @@ -403,19 +403,8 @@ void PollManager::pollTimerFired()
{
clusterId = METERING_CLUSTER_ID;
attributes.push_back(0x0000); // Current Summation Delivered
- item = r->item(RAttrModelId);
- if (item &&
- !item->toString().startsWith(QLatin1String("SP 120")) && // Attribute is not available
- !item->toString().startsWith(QL... |
Wait for read signals twice
This is a temporary solution to ensure server connection is not reattached to
the client in case after backend is ready for query in transaction pooling
mode. | @@ -613,6 +613,7 @@ od_frontend_remote(od_client_t *client)
for (;;)
{
machine_cond_wait(client->cond, UINT32_MAX);
+ machine_cond_wait(client->cond, UINT32_MAX);
/* client operations */
status = od_frontend_ctl(client);
|
docs: update a description about making use of blockchain | @@ -73,9 +73,9 @@ Linux-based embedded devices are similar to that on x86_64, except for the exact
As BoAT is a client for blockchain, some environments must be prepared before building the demo.
#### Make use of a deployed blockchain or deploy your own blockchain
-For public blockchain, you must prepare some gas for t... |
doc(readme): update packaging info | - Loads settings from Xresources. See https://git.io/vVisW
- Live-reloads settings from xrdb on USR1 signal (like termite)
-- Is available as an AUR package `xst-git` (binary and man also still named st)
-- Is available as a copr package for Fedora`keefle/xst` (binary and man also still named st)
- Has cursor blinking ... |
Additional check for Bitcoin POS detection | @@ -469,7 +469,8 @@ public abstract class BitcoinJobManagerBase<TJob> : JobManagerBase<TJob>
if(validateAddressResponse is not {IsValid: true})
throw new PoolStartupException($"Daemon reports pool-address '{poolConfig.Address}' as invalid", poolConfig.Id);
- isPoS = poolConfig.Template is BitcoinTemplate {IsPseudoPoS: ... |
More fussing in tests/EarthClimate. | @@ -10,7 +10,7 @@ def test_EarthClimate():
# Remove old log file
subprocess.run(['rm', 'solarsys.log'], cwd=cwd)
# Run vplanet
- subprocess.run(['vplanet', 'vpl.in', '-q'], cwd=cwd)
+ subprocess.run(['vplanet', 'vpl.in'], cwd=cwd)
files = os.listdir(cwd)
print (files)
|
webp-lossless-bitstream-spec,cosmetics: reflow abstract | @@ -21,16 +21,15 @@ Paragraphs marked as \[AMENDED2\] were amended on 2022-05-13.
Abstract
--------
-WebP lossless is an image format for lossless compression of ARGB
-images. The lossless format stores and restores the pixel values
-exactly, including the color values for pixels whose alpha value is 0. The
-format use... |
grunt: Update battery info
Adjust values to match the datasheet.
BRANCH=none
TEST=make BOARD=grunt
Commit-Ready: ChromeOS CL Exonerator Bot | static const struct battery_info info = {
.voltage_max = 13200, /* mV */
- .voltage_normal = 11400,
+ .voltage_normal = 11550,
.voltage_min = 9000,
.precharge_current = 256, /* mA */
.start_charging_min_c = 0,
@@ -22,7 +22,7 @@ static const struct battery_info info = {
.charging_min_c = 0,
.charging_max_c = 60,
.discha... |
workflows: allow single quote in commit message | @@ -14,7 +14,7 @@ jobs:
- name: Check commit subject complies with https://github.com/fluent/fluent-bit/blob/master/CONTRIBUTING.md#commit-changes
uses: gsactions/commit-message-checker@v1
with:
- pattern: '^[a-z0-9A-Z\-_\s\,\.\/]+\:[ ]{0,1}[a-zA-Z]+[a-zA-Z0-9 \-\.\:_\#\(\)=\/\"\,><\+\[\]\!\*\\]+$'
+ pattern: '^[a-z0-9... |
Just for now | @@ -8,7 +8,7 @@ fi
echo "Creating $1"
mkdir $1
cd $1
-curl -LJO https://github.com/boazsegev/facil.io/archive/stable.tar.gz
+curl -LJO https://github.com/boazsegev/facil.io/archive/master.tar.gz
tar -xf facil.io-stable.tar.gz
rm facil.io-stable.tar.gz
mv ./facil.io-stable/* ./
@@ -16,3 +16,4 @@ rm -R facil.io-stable
rm... |
Set alpha sampling to false in lovr.graphics.reset; | @@ -251,6 +251,7 @@ Buffer* lovrGraphicsGetIdentityBuffer() {
void lovrGraphicsReset() {
state.transform = 0;
lovrGraphicsSetCamera(NULL, false);
+ lovrGraphicsSetAlphaSampling(false);
lovrGraphicsSetBackgroundColor((Color) { 0, 0, 0, 1 });
lovrGraphicsSetBlendMode(BLEND_ALPHA, BLEND_ALPHA_MULTIPLY);
lovrGraphicsSetCan... |
Fix for .NET 6 regression. Fixes | @@ -743,7 +743,7 @@ namespace Miningcore
// register repositories
builder.RegisterAssemblyTypes(Assembly.GetExecutingAssembly())
.Where(t =>
- t.Namespace.StartsWith(typeof(ShareRepository).Namespace))
+ t.Namespace?.StartsWith(typeof(ShareRepository).Namespace) == true)
.AsImplementedInterfaces()
.SingleInstance();
}
|
fixing sprint %ld for negative values | @@ -77,7 +77,7 @@ static void sprintf_proxy_checkit(t_sprintf_proxy *x, char *buf, int checkin)
t_float f = x->p_atom.a_w.w_float;
if (x->p_type == SPRINTF_INT)
/* CHECKME large/negative values */
- result = sprintf(buf, x->p_pattern, (int)f);
+ result = sprintf(buf, x->p_pattern, (long)f);
else if (x->p_type == SPRINT... |
Check if there is branch related (same name) to this one on LuosHAL and Examples | @@ -10,6 +10,13 @@ jobs:
strategy:
matrix:
os: [macos-latest, windows-latest, ubuntu-latest]
+ include:
+ - os: windows-latest
+ pio_lib_path: D:\a\Luos
+ - os: macos-latest
+ pio_lib_path: ~/work/Luos
+ - os: ubuntu-latest
+ pio_lib_path: ~/work/Luos
steps:
@@ -28,43 +35,39 @@ jobs:
uses: actions/checkout@v2
# - name:... |
config/rtl8721csm/loadable_apps: enable Dcache by default
Enable Dcache for performance | @@ -106,7 +106,8 @@ CONFIG_ARMV8M_HAVE_DCACHE=y
CONFIG_ARMV8M_USEBASEPRI=y
CONFIG_ARMV8M_TRUSTZONE=y
CONFIG_ARMV8M_ICACHE=y
-# CONFIG_ARMV8M_DCACHE is not set
+CONFIG_ARMV8M_DCACHE=y
+# CONFIG_ARMV8M_DCACHE_WRITETHROUGH is not set
# CONFIG_ARMV8M_HAVE_ITCM is not set
# CONFIG_ARMV8M_HAVE_DTCM is not set
# CONFIG_ARMV8M... |
Whitespace changes
Makes coder_spec a tad more compact | @@ -125,39 +125,14 @@ describe("Pallene coder /", function()
describe("Literals /", function()
setup(compile([[
- function f_nil(): nil
- return nil
- end
-
- function f_true(): boolean
- return true
- end
-
- function f_false(): boolean
- return false
- end
-
- function f_integer(): integer
- return 17
- end
-
- funct... |
java: Add support for u32 arrays
java: Add support for u32 arrays
The generated Java code was missing some code to allow for u32 arrays,
which is needed for the upcoming signature message. | @@ -189,6 +189,16 @@ public class SBPMessage {
return ret;
}
+ public long[] getArrayofU32() {
+ return getArrayofU32(buf.remaining() / 4);
+ }
+
+ public long[] getArrayofU32(int n) {
+ long[] ret = new long[n];
+ for (int i = 0; i < n; i++) ret[i] = getU32();
+ return ret;
+ }
+
public float[] getArrayofFloat() {
ret... |
Some cleanup for the CelixConfig.cmake file | # CELIX_LIBRARIES - libraries to link against
# CELIX_LAUNCHER - The Celix launcher
-set(REL_INSTALL_DIR "${CMAKE_CURRENT_LIST_DIR}/../../..") #from lib/Cmake/Celix
+# relative install dir from lib/CMake/Celix.
+get_filename_component(REL_INSTALL_DIR "${CMAKE_CURRENT_LIST_FILE}" PATH)
+get_filename_component(REL_INSTAL... |
hwrecords: fix in formatting for iommu | @@ -73,12 +73,15 @@ enum {
};
#define HW_PCI_IOMMU_RECORD_FIELDS \
-"type: %d, flags: %d, segment: %d, address=%" PRIu64
+"type: %d, flags: %d, segment: %d, address: %" PRIu64
+
+#define HW_PCI_IOMMU_RECORD_FIELDS_READ \
+"type: %d, flags: %d, segment: %d, address: %d"
#define HW_PCI_IOMMU_RECORD_FORMAT \
"hw.pci.iommu... |
Remove old RAS error strings.
Strings were moved to other structures but the old instances remained.
New C++ compilers trigger errors on the unused strings. | @@ -201,39 +201,6 @@ static const char * const RAS_INJECT_ERROR[RAS_INJECT_ERROR_COUNT] = {
"Ser Non-fatal error .", \
};
-#define RAS_GBS_ERROR_COUNT 13
-static const char * const RAS_GBS_ERROR [RAS_GBS_ERROR_COUNT] = {
- "Temperature threshold triggered AP1 detected", \
- "Temperature threshold triggered AP2 detected... |
docs/esp8266/tutorial: Make http_get sample function self contained. | @@ -61,6 +61,7 @@ of the request you need to specify the page to retrieve.
Let's define a function that can download and print a URL::
def http_get(url):
+ import socket
_, _, host, path = url.split('/', 3)
addr = socket.getaddrinfo(host, 80)[0][-1]
s = socket.socket()
@@ -74,8 +75,7 @@ Let's define a function that can... |
Use dismissMemory to dismiss COW of client output buffer
c->buf is not sds, so we should use dismissMemory instead of dismissSds to dismiss it.
This is a recent regression from | @@ -6418,7 +6418,7 @@ void dismissMemory(void* ptr, size_t size_hint) {
/* Dismiss big chunks of memory inside a client structure, see dismissMemory() */
void dismissClientMemory(client *c) {
/* Dismiss client query buffer and static reply buffer. */
- dismissSds(c->buf);
+ dismissMemory(c->buf, c->buf_usable_size);
di... |
Update curl notice in readme | @@ -103,6 +103,12 @@ header files, and link libcurl against the "new" OpenSSL.
libacvp uses compile time macro logic to address differences in the APIs of different OpenSSL
versions.
+Libacvp is designed to work with curl version 7.61.0 or newer. Some operating systems may ship with
+older versions of Curl which are mi... |
add aslr test (issue | @@ -12,6 +12,8 @@ static void double_free2();
static void corrupt_free();
static void block_overflow1();
static void invalid_free();
+static void test_aslr(void);
+
int main() {
mi_version();
@@ -21,6 +23,7 @@ int main() {
// double_free2();
// corrupt_free();
// block_overflow1();
+ // test_aslr();
invalid_free();
voi... |
record: specify that the kdb tool will print an error message | - User makes a change to the key database, e.g. add key, delete key, modify key, modify meta
- The old & new values for every changed key and metakey are recorded.
- **Alternative scenario:** -
-- **Error scenario:** We log that the changes could not be recorded.
+- **Error scenario:** The `kdb` command will print an e... |
Fix Linux build break: sleep is undeclared, use PAL::sleep | @@ -888,7 +888,7 @@ TEST_F(BasicFuncTests, sendManyRequestsAndCancel)
LogManager::UploadNow();
if ((i % 3) == 0)
{
- sleep(100);
+ PAL::sleep(100);
}
if (i % 2)
{
|
Add makefile options | # limitations under the License.
CFLAGS += -O3
+CFLAGS += -fdiagnostics-color
CFLAGS += -Wall
CFLAGS += -Wno-unused-function
+# TODO clang has a different name for this
+ifneq ($(CC),clang)
CFLAGS += -Wno-unused-but-set-variable
+endif
+
+# TODO this is for valgrind, do not use as a regular option
+# CFLAGS+=-mno-rdrnd... |
Fix copypasta default process columns | @@ -234,8 +234,8 @@ VOID PhInitializeProcessTreeList(
PhAddTreeNewColumnEx2(hwnd, PHPRTLC_TIMELINE, FALSE, L"Timeline", 100, PH_ALIGN_LEFT, ULONG_MAX, 0, TN_COLUMN_FLAG_CUSTOMDRAW | TN_COLUMN_FLAG_SORTDESCENDING);
PhAddTreeNewColumnEx(hwnd, PHPRTLC_POWERTHROTTLING, FALSE, L"Power throttling", 70, PH_ALIGN_LEFT, ULONG_M... |
Clarify that client can accept DNS name as well as IP address | @@ -2329,7 +2329,7 @@ void keylog_callback(const SSL *ssl, const char *line) {
namespace {
void print_usage() {
- std::cerr << "Usage: client [OPTIONS] <ADDR> <PORT> [<URI>...]" << std::endl;
+ std::cerr << "Usage: client [OPTIONS] <HOST> <PORT> [<URI>...]" << std::endl;
}
} // namespace
@@ -2364,7 +2364,8 @@ void prin... |
nissa: enable CONFIG_PLATFORM_EC_BACKLIGHT_LID
BRANCH=none
TEST=verify panel backlight turn off when system in factory image with
lid close.
Code-Coverage: Zoss | @@ -93,9 +93,6 @@ CONFIG_PLATFORM_EC_BOARD_VERSION_CBI=y
CONFIG_PWM=y
CONFIG_PWM_SHELL=y
-# TODO(b/188605676): bring these features up
-CONFIG_PLATFORM_EC_BACKLIGHT_LID=n
-
# Sensors support
CONFIG_PLATFORM_EC_LID_ANGLE=y
CONFIG_PLATFORM_EC_LID_ANGLE_UPDATE=y
|
mkdir: rework conditionals | @@ -216,22 +216,22 @@ int filesystem_mkdir(filesystem fs, char *fp)
tuple prev_folder = folder;
boolean final = *rest == '\0';
folder = table_find(folder, sym_this(token));
- if (!folder && !final) {
- rprintf("mkdir: failed to find \"%s\"\n", token);
- return -1;
- }
- if (!folder && final) {
+ if (!folder) {
+ if (fi... |
Change literal status flags to enum.
Also fix a white space typo.
JerryScript-DCO-1.0-Signed-off-by: Zoltan Herczeg | @@ -55,24 +55,22 @@ typedef enum
used by the byte code generator. */
} lexer_literal_type_t;
-/* Flags for status_flags. */
-
-/** Local identifier (var, function arg). */
-#define LEXER_FLAG_VAR 0x01
-/** This local identifier cannot be stored in register. */
-#define LEXER_FLAG_NO_REG_STORE 0x02
-/** This local ident... |
all.sh: add testing of AEAD drivers with libtestdriver1 | @@ -1941,6 +1941,32 @@ component_test_psa_crypto_config_accel_cipher () {
make test
}
+component_test_psa_crypto_config_accel_aead () {
+ msg "test: MBEDTLS_PSA_CRYPTO_CONFIG with accelerated AEAD"
+
+ # Disable ALG_STREAM_CIPHER and ALG_ECB_NO_PADDING to avoid having
+ # partial support for cipher operations in the dr... |
minor fix in stream buffer doc | @@ -73,7 +73,7 @@ typedef struct StreamBufferDef_t * StreamBufferHandle_t;
/**
- * message_buffer.h
+ * stream_buffer.h
*
* <pre>
* StreamBufferHandle_t xStreamBufferCreate( size_t xBufferSizeBytes, size_t xTriggerLevelBytes );
|
return 0 instead of SHB_EOC | @@ -3684,7 +3684,7 @@ while(0 <= restlen)
option->option_code = byte_swap_16(option->option_code);
option->option_length = byte_swap_16(option->option_length);
}
- if(option->option_code == SHB_EOC) return SHB_EOC;
+ if(option->option_code == SHB_EOC) return 0;
padding = 0;
if(option->option_length > OPTIONLEN_MAX) ret... |
Add missing dependency.
Merges | @@ -22,7 +22,7 @@ Install Dependencies
Install packages that are required to compile OpenOCD using Homebrew::
- brew install automake libtool libusb wget gcc@4.9
+ brew install automake libtool libusb wget gcc@4.9 pkg-config
Build OpenOCD
=============
|
Fix PhSearchFilePath error checking bug | @@ -4811,12 +4811,12 @@ BOOLEAN PhpSearchFilePath(
// Make sure this is not a directory.
- if (!NT_SUCCESS(RtlDosPathNameToNtPathName_U(
+ if (!RtlDosPathNameToNtPathName_U(
Buffer,
&fileName,
NULL,
NULL
- )))
+ ))
return FALSE;
InitializeObjectAttributes(
|
no longer allocating metatables for upvalue boxes | @@ -641,9 +641,11 @@ function Coder:init_upvalues()
-- Metatables
for _, typ in ipairs(self.module.record_types) do
+ if not typ.is_upvalue_box then
table.insert(self.upvalues, coder.Upvalue.Metatable(typ))
self.upvalue_of_metatable[typ] = #self.upvalues
end
+ end
-- String Literals
for _, func in ipairs(self.module.fu... |
Test Autotools builds without sudo. | @@ -7,10 +7,10 @@ if [[ "$BUILD_TOOL" == "scons" ]]; then
elif [[ "$BUILD_TOOL" == "autotools" ]]; then
cd build/autotools
autoreconf --install || exit 1
- ./configure || exit 1
- sudo make -j 3 install
+ ./configure --prefix=$HOME/.local || exit 1
+ make -j 3 install
cd ../..
- export LIBTCOD_DLL_PATH=/usr/local/lib
+... |
interface: type annotations, imports | -import _ from 'lodash';
import {StoreState} from '../store/type';
-import {GcpToken} from '../../types/gcp-state';
-import { Cage } from '~/types/cage';
+import type {GcpToken} from '../../types/gcp-state';
+import type {Cage} from '~/types/cage';
import useStorageState, { StorageState } from '../state/storage';
impor... |
Update aboutdialog.ui
Changed forum address from to | @@ -131,7 +131,7 @@ This product includes software developed by the OpenSSL Project for use in the O
<item>
<widget class="QLabel" name="label_3">
<property name="text">
- <string>Join us on the forums at <a href="https://denariustalk.org" style="color: #FFF;">https://denariustalk.org</a>... |
remove extra/intermediate size step for min_jj introduced in PR747 | @@ -373,8 +373,10 @@ static int inner_thread(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n,
#else
if (min_jj >= 3*GEMM_UNROLL_N) min_jj = 3*GEMM_UNROLL_N;
else
+/*
if (min_jj >= 2*GEMM_UNROLL_N) min_jj = 2*GEMM_UNROLL_N;
else
+*/
if (min_jj > GEMM_UNROLL_N) min_jj = GEMM_UNROLL_N;
#endif
/* Copy part of local ... |
improve sockaddr_un define | #include "../../network/network.h"
#ifdef TB_CONFIG_OS_WINDOWS
# include "ws2tcpip.h"
+#else
+# include <netinet/in.h>
+# include <sys/un.h>
+#endif
-// hack for afunix.h
-struct tb_sockaddr_un
+/* //////////////////////////////////////////////////////////////////////////////////////
+ * types
+ */
+#ifdef TB_CONFIG_OS... |
Add WindowsSDKDesktopARMSupport for static bits | <PlatformToolset>v141</PlatformToolset>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release.vs2015.MT-sqlite|ARM'" Label="Configuration">
+ <WindowsSDKDesktopARMSupport>true</WindowsSDKDesktopARMSupport>
<ConfigurationType>StaticLibrary</ConfigurationType>
<UseOfMfc>false</UseOfMfc>
<Who... |
Increment YR_ARENA_FILE_VERSION.
With the introduction of new opcodes for the YARA virtual machine (OP_DEFINED, OP_COUNT_IN, etc), rules compiled with version 4.2.x can't be loaded by version 4.1.x. | @@ -37,7 +37,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#define EOL ((size_t) -1)
-#define YR_ARENA_FILE_VERSION 18
+#define YR_ARENA_FILE_VERSION 19
#define YR_ARENA_NULL_REF \
(YR_ARENA_REF) { UINT32_MAX, UINT32_MAX }
|
Spelling: Fix minor spelling mistake in comment | @@ -195,7 +195,7 @@ GElektraKey * gelektra_keyset_pop (GElektraKeySet * ks)
* gelektra_keyset_cut:
* @ks: A #GElektraKeySet
*
- * Returns: (transfer full): Cutted #GElektraKeySet
+ * Returns: (transfer full): Cut #GElektraKeySet
* see ksCut
*/
GElektraKeySet * gelektra_keyset_cut (GElektraKeySet * ks, const GElektraKey... |
Eliminate extraneous transout/combinein calls for user combines | @@ -3428,12 +3428,7 @@ RewriteContinuousViewSelect(Query *query, Query *rule, Relation cv, int rtindex)
Oid finalfn;
HeapTuple tup;
Form_pg_aggregate aggform;
- FuncExpr *fexpr;
- Expr *expr;
- Oid combinefn;
- Oid transoutfn;
- Oid combineinfn;
- Oid statetype;
+ Var *matrel_ref;
pull_vars(lfirst(lc), &l);
Assert(list... |
Remove redundant incomplete split assertion.
The fastpath insert optimization's incomplete split flag Assert() is
redundant. We'll reach the more general Assert() within
_bt_findinsertloc() in all cases. (Besides, Assert()'ing that the
rightmost page doesn't have the flag set never made much sense.) | @@ -179,11 +179,6 @@ top:
PageGetMaxOffsetNumber(page) >= P_FIRSTDATAKEY(lpageop) &&
_bt_compare(rel, itup_key, page, P_FIRSTDATAKEY(lpageop)) > 0)
{
- /*
- * The right-most block should never have an incomplete split.
- * But be paranoid and check for it anyway.
- */
- Assert(!P_INCOMPLETE_SPLIT(lpageop));
fastpath = ... |
Added some missing register sizes | @@ -145,6 +145,10 @@ ZydisRegisterWidth ZydisRegisterGetWidth(ZydisRegister reg)
case ZYDIS_REGISTER_BNDCFG:
case ZYDIS_REGISTER_BNDSTATUS:
return 64;
+ case ZYDIS_REGISTER_XCR0:
+ return 64;
+ case ZYDIS_REGISTER_MXCSR:
+ return 32;
default:
break;
}
@@ -181,6 +185,10 @@ ZydisRegisterWidth ZydisRegisterGetWidth64(Zydi... |
Shell: do not use tsch-logs when not enabled | @@ -307,7 +307,7 @@ PT_THREAD(cmd_log(struct pt *pt, shell_output_func output, char *args))
/* Set log level */
if(level != prev_level) {
log_set_level(module, level);
-#if MAC_CONF_WITH_TSCH
+#if MAC_CONF_WITH_TSCH && TSCH_LOG_PER_SLOT
if(!strcmp(module, "mac") || !strcmp(module, "all")) {
if(level >= LOG_LEVEL_DBG) {... |
anahera: Limit input current to fraction of negotiated limit
Limit input current to 95% of negotiated limit
BRANCH=none
TEST=Connect adapter then check input current. | #include "battery.h"
#include "button.h"
#include "charge_ramp.h"
+#include "charge_state_v2.h"
#include "charger.h"
#include "common.h"
#include "compile_time_macros.h"
@@ -61,3 +62,16 @@ enum battery_present battery_hw_present(void)
/* The GPIO is low when the battery is physically present */
return gpio_get_level(GP... |
kernel/sched/sched_processtimer : Add watchdog for irq on every system timer
On every system timer events, reset the watchdog for irq.
If not, watchdog resets the system. | @@ -193,6 +193,9 @@ static inline void sched_process_timeslice(void)
void sched_process_timer(void)
{
+#ifdef CONFIG_WATCHDOG_FOR_IRQ
+ up_wdog_keepalive();
+#endif
/* Increment the system time (if in the link) */
#ifdef CONFIG_HAVE_WEAKFUNCTIONS
|
docs/troubleshooting: add an issue on building Proto buffers
It is easy to meet build breaks on proto buffers.
This commit shows error and how to resolve it. | @@ -20,6 +20,27 @@ make
sudo make install
```
+### Issue on build of Proto buffers
+When Proto buffers (a.k.a., protobuf) which is mandatory on using gRPC is enabled,
+you can meet build breaks as shown below:
+```
+AR: helloxx_main.o
+make[2]: Leaving directory '/TizenRT/apps/examples/helloxx'
+make[2]: Entering direc... |
sse2: add NEON implementation of simde_mm_set_epi64 | @@ -4299,8 +4299,12 @@ simde_mm_set_epi64 (simde__m64 e1, simde__m64 e0) {
#else
simde__m128i_private r_;
- r_.m64_private[0] = simde__m64_to_private(e0);
- r_.m64_private[1] = simde__m64_to_private(e1);
+ #if defined(SIMDE_ARM_NEON_A32V7_NATIVE)
+ r_.neon_i64 = vcombine_s64(simde__m64_to_neon_i64(e0), simde__m64_to_ne... |
pto is ngtcp2_duration | @@ -9430,7 +9430,7 @@ ngtcp2_tstamp ngtcp2_conn_lost_pkt_expiry(ngtcp2_conn *conn) {
}
void ngtcp2_conn_remove_lost_pkt(ngtcp2_conn *conn, ngtcp2_tstamp ts) {
- ngtcp2_tstamp pto;
+ ngtcp2_duration pto;
if (conn->in_pktns) {
pto = conn_compute_pto(conn, conn->in_pktns);
|
capitalisation of months, more cyclone->Cyclone | @@ -189,7 +189,7 @@ Excerpt from Cyclone's original Readme (by its original author Krzysztof Czaja):
* "Cyclone is a library of Pure Data classes, bringing some level of compatibility between Max/MSP and Pd environments. Although being itself in the early stage of development, it is meant to eventually become part of a... |
Implement received sig_algs check | @@ -1911,10 +1911,17 @@ static inline const void *mbedtls_ssl_get_sig_algs(
static inline int mbedtls_ssl_sig_alg_is_received( const mbedtls_ssl_context *ssl,
uint16_t own_sig_alg )
{
- ((void) ssl);
- ((void) own_sig_alg);
+ const uint16_t *sig_alg = ssl->handshake->received_sig_algs;
+ if( sig_alg == NULL )
+ return(... |
ci one last try at this for tonight | @@ -30,11 +30,12 @@ jobs:
if: success()
with:
token: ${{ secrets.LVGL_BOT_TOKEN }}
- - name: Checkout pull request
+ - name: Checkout PR
+ uses: dawidd6/action-checkout-pr@v1
if: success()
- env:
- GITHUB_TOKEN: ${{secrets.LVGL_BOT_TOKEN}}
- run: hub pr checkout ${{github.event.issue.number}}
+ with:
+ pr: ${{github.ev... |
Added second line to error message on too many body files. | @@ -987,7 +987,8 @@ void ReadBodyFileNames(CONTROL *control,FILES *files,OPTIONS *options,INFILE *in
}
files->iNumInputs=iNumIndices+1;
if (files->iNumInputs >= MAXFILES) {
- fprintf(stderr,"ERROR: Number of input files (%d) exceeds MAXFILES (%d)",files->iNumInputs,MAXFILES);
+ fprintf(stderr,"ERROR: Number of input fi... |
Remove obsolete MBEDTLS_ALLOW_PRIVATE_ACCESS from helpers function.
MBEDTLS_ALLOW_PRIVATE_ACCESS is already defined inside test/helpers.h | /*----------------------------------------------------------------------------*/
/* Headers */
-#define MBEDTLS_ALLOW_PRIVATE_ACCESS
-
-#include <test/macros.h>
#include <test/helpers.h>
+#include <test/macros.h>
#include <test/random.h>
#include <test/psa_crypto_helpers.h>
|
MQTT: Restore default MQTT_OUTBOX_EXPIRED_TIMEOUT_MS to 30 sec
The OUTBOX_EXPIRED_TIMEOUT_MS was 30*1000 in original esp-mqtt code.
Don't change the default OUTBOX_EXPIRED_TIMEOUT_MS without good reason,
which may has impact on memory usage for existing applications.
Fixes: ("MQTT: add configurable msg expired timeout"... | @@ -117,7 +117,7 @@ menu "ESP-MQTT Configurations"
config MQTT_OUTBOX_EXPIRED_TIMEOUT_MS
int "Outbox message expired timeout[ms]"
- default 300000
+ default 30000
depends on MQTT_USE_CUSTOM_CONFIG
help
Messages which stays in the outbox longer than this value before being published will be discarded.
|
Completion: Suggest option `-f` for mount command | @@ -293,7 +293,7 @@ function __fish_kdb_subcommand_supports_option_debug -d 'Check if the current su
end
function __fish_kdb_subcommand_supports_option_force -d 'Check if the current subcommand supports the option force'
- __fish_kdb_subcommand_includes check merge rm
+ __fish_kdb_subcommand_includes check merge mount ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.