message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Immediate close if initial refused | @@ -1043,6 +1043,25 @@ void picoquic_queue_stateless_retry(picoquic_cnx_t* cnx,
}
}
+/* Queue a close message for an incoming connection attemt that was rejected.
+ * The connection context can then be immediately frees.
+ */
+void picoquic_queue_immediate_close(picoquic_cnx_t* cnx, uint64_t current_time)
+{
+ picoquic... |
Update: two additional structural deduction rules for list | @@ -215,6 +215,8 @@ R2VarIntro( (! ((B * A) --> R)), ((A * B) --> S), |-, (((A * B) --> S) ==> (! ((
R2( ((A * B) --> R), ((B * C) --> S), |-, (((A * B) --> R) && ((B * C) --> S)), Truth_Intersection )
R2VarIntro( ((A * C) --> M), (((A * B) --> R) && ((B * C) --> S)), |-, ((((A * B) --> R) && ((B * C) --> S)) ==> ((A *... |
fixed gyro calibration for F4 | @@ -442,8 +442,12 @@ while ( time - timestart < CAL_TIME && time - timemax < 15e6 )
lastlooptime = time;
if ( looptime == 0 ) looptime = 1;
+#ifdef F0
i2c_readdata( 67 , data , 6 );
-
+#endif
+#ifdef F405
+ MPU6XXX_read_data( 67 , data , 6 );
+#endif
gyro[1] = (int16_t) ((data[0]<<8) + data[1]);
gyro[0] = (int16_t) ((d... |
ixfr-out, document duplicate check for ixfr creation by nsd-checkzone in
the man page for it. | @@ -42,6 +42,9 @@ the zonefile directory. This is also where the result is written, to a file
with the zonefile name, ending with '.ixfr'. This is also where NSD reads it
when IXFRs are configured for the zone. The other existing ixfr files are
renamed to become older IXFR contents for the zone, if any such files exist... |
use new ohpc_macros in ipmiutil for sensys | # Copyright (c) 2012 Andy Cress
#
-%{!?PROJ_DELIM: %global PROJ_DELIM -ohpc}
+%{include %{_sourcedir}/OHPC_macros
%define pname ipmiutil
@@ -25,6 +25,8 @@ Summary: Easy-to-use IPMI server management utilities
License: BSD 3-clause
Group: %{PROJ_NAME}/distro-packages
Source: %{pname}-%{version}.tar.gz
+Source0: https://... |
CLEANUP: refactor do_item_cachedump() considering long key. | @@ -1001,17 +1001,23 @@ static char *do_item_cachedump(struct default_engine *engine, const unsigned int
const unsigned int limit, const bool forward, const bool sticky,
unsigned int *bytes)
{
- unsigned int memlimit = 256 * 1024; /* 256KB max response size */
+ unsigned int memlimit = 512 * 1024; /* 512KB max response... |
update ya tool arc
don't remove non-empty directories inside fuse | },
"arc": {
"formula": {
- "sandbox_id": [353330552],
+ "sandbox_id": [353992795],
"match": "arc"
},
"executable": {
|
Added uiConfig to the info returned by /users/current and fix a typo in and error message | @@ -18,7 +18,6 @@ package com.francelabs.datafari.rest.v1_0.users;
import java.util.ArrayList;
import javax.servlet.http.HttpServletRequest;
-import javax.servlet.http.HttpServletResponse;
import com.francelabs.datafari.audit.AuditLogUtil;
import com.francelabs.datafari.exception.DatafariServerException;
@@ -35,7 +34,6... |
porting/linux_blemesh: Add new configs | #define MYNEWT_VAL_BLE_MESH_LPN_SCAN_LATENCY (10)
#endif
+#ifndef MYNEWT_VAL_BLE_MESH_MODEL_EXTENSIONS
+#define MYNEWT_VAL_BLE_MESH_MODEL_EXTENSIONS (0)
+#endif
+
/* Overridden by @apache-mynewt-nimble/targets/linux_blemesh (defined by @apache-mynewt-nimble/nimble/host/mesh) */
#ifndef MYNEWT_VAL_BLE_MESH_MODEL_GROUP_C... |
No longer closes all windows while going to new project | @@ -265,12 +265,13 @@ menu.on("build", buildType => {
const newProject = async () => {
if (splashWindow) {
- splashWindow.close();
- }
+ splashWindow.reload();
+ } else {
+ await createSplash();
if (mainWindow) {
mainWindow.close();
}
- await createSplash();
+ }
};
const openProjectPicker = async () => {
|
input: use refs as a skip factor | @@ -511,10 +511,10 @@ static inline int input_skipFactor(run_t* run, dynfile_t* dynfile, int* speed_fa
}
#endif
-#if 0
+#if 1
{
/* If the input wasn't source of other inputs so far, make it less likely to be tested */
- penalty += HF_CAP((0 - (int)dynfile->refs), -10, 0);
+ penalty += HF_CAP((2 - (int)dynfile->refs), -... |
Temporary fix for old NDKs | @@ -27,7 +27,9 @@ extern "C" {
#if defined(__ANDROID__)
#include <android/api-level.h>
+#if defined(__has_include) && __has_include(<android/ndk-version.h>)
# include <android/ndk-version.h>
+#endif
#include <support/xlocale/__posix_l_fallback.h>
// In NDK versions later than 16, locale-aware functions are provided by
... |
doc: prettify OPAL_SLW_SET_REG | +.. _OPAL_SLW_SET_REG:
+
OPAL_SLW_SET_REG
-==============================
-::
+================
- int64_t opal_slw_set_reg(uint64_t cpu_pir, uint64_t sprn, uint64_t val)
+.. code-block:: c
+ #define OPAL_SLW_SET_REG 100
-OPAL_SLW_SET_REG is used to inform low-level firmware to restore a
-given value of SPR when there i... |
peview: Remove duplicate fields | @@ -406,16 +406,6 @@ INT_PTR CALLBACK PvPeLoadConfigDlgProc(
ADD_VALUE(L"Guard EH Continuation table", PhaFormatString(L"0x%Ix", (Config)->GuardEHContinuationTable)->Buffer); \
ADD_VALUE(L"Guard EH Continuation table entry count", PhaFormatUInt64((Config)->GuardEHContinuationCount, TRUE)->Buffer); \
} \
- if (RTL_CONTA... |
Fix typo in call to end_message in buffer_hello.
This would cause an assertion failure whenever we
sent a Unicast Hello. Thanks to Dave Taht. | @@ -1041,7 +1041,7 @@ buffer_hello(struct buffered *buf, struct interface *ifp,
accumulate_byte(buf, 4);
accumulate_int(buf, 0);
}
- end_message(&ifp->buf, MESSAGE_HELLO, timestamp ? 12 : 6);
+ end_message(buf, MESSAGE_HELLO, timestamp ? 12 : 6);
}
void
|
The showtype argument of get_const_expr() is no longer bool.
PG patch changed that but somehow this code line change is lost in gpdb during
merge. | @@ -8218,7 +8218,7 @@ get_coercion_expr(Node *arg, deparse_context *context,
((Const *) arg)->consttypmod == -1)
{
/* Show the constant without normal ::typename decoration */
- get_const_expr((Const *) arg, context, false);
+ get_const_expr((Const *) arg, context, -1);
}
else
{
|
Update Drivers page and add it to the OS User Guide. | Drivers
=======
+.. toctree::
+ :maxdepth: 1
+
+ flash <flash>
+ mmc <mmc>
+
+
Description
~~~~~~~~~~~
@@ -135,15 +142,15 @@ includes:
+----------------------------------------+--------------------------+
| Driver | Description |
+========================================+==========================+
-| `adc <adc.html>`_... |
hslua-module-version: bump version to hslua-module-version-1.0.3 | cabal-version: 2.2
name: hslua-module-version
-version: 1.0.2
+version: 1.0.3
synopsis: Lua module to work with version specifiers.
description: Wrapper for the Data.Version.Version Haskell type.
homepage: https://hslua.org/
|
harness: fix function call to get_kernel_args() | @@ -223,7 +223,7 @@ class Machine(object):
# remove kernel
m.set_kernel(None)
# add cpu driver
- m.set_cpu_driver(kernel, machine.get_kernel_args)
+ m.set_cpu_driver(kernel, machine.get_kernel_args())
# add boot driver
m.set_boot_driver(machine.get_boot_driver())
else :
|
[persistence] refactoring cmdlog_file_sync(). | @@ -189,29 +189,6 @@ static void do_log_flusher_wakeup(log_FLUSHER *flusher)
pthread_mutex_unlock(&flusher->lock);
}
-static void do_log_file_sync(int fd, bool close)
-{
- int ret = disk_fsync(fd);
- if (ret < 0) {
- logger->log(EXTENSION_LOG_WARNING, NULL,
- "log file fsync error (%d:%s)\n",
- errno, strerror(errno));... |
misc: deb: Fix the ServiceVM kernel line in ACRN grub entry
After replacing partitioned ACRN deb with shared deb, the stale
multiboot module for ACPI1.bin was left in ACRN grub entry because it
was taken as kernel image. | @@ -26,7 +26,12 @@ done < <(blkid |grep ext4 |grep ${type})
filename="/etc/grub.d/40_custom"
-kernelimg=$(grep module ${filename} | tail -1 || true)
+if ls /boot/vmlinuz*acrn-service-vm* 1> /dev/null 2>&1;then
+ service_vm_kernel=$(ls -tr /boot/vmlinuz-*acrn-service-vm* | tail -1)
+else
+ service_vm_kernel=$(ls /boot/v... |
Update: Further compactified | @@ -353,13 +353,7 @@ void Narsese_Sentence(char *narsese, Term *destTerm, char *punctuation, bool *is
{
//scan for opening '{'
int openingIdx;
- for(openingIdx=len-2; openingIdx>=0; openingIdx--)
- {
- if(narseseInplace[openingIdx] == '{') //truth value opener found?
- {
- break; //found
- }
- }
+ for(openingIdx=len-2;... |
Bump ames protocol version. Now set in a single constant. | => =~
:: structures
=, ames
+=+ protocol-version=0
|%
+= move [p=duct q=(wind note:able gift:able)] :: local move
--
vix=(bex +((cut 0 [25 2] mag))) :: width of sender
tay=(cut 0 [27 5] mag) :: message type
==
- ?> =(7 vez)
+ ?> =(protocol-version vez)
?> =(chk (end 0 20 (mug bod)))
:+ [(end 3 wix bod) (cut 3 [wix vix]... |
ian444's profile is huge | @@ -276,7 +276,7 @@ static const float pid_scales[PIDNUMBER][PIDNUMBER] = {
// x (micro)seconds after loss of tx or low bat before buzzer starts
#define BUZZER_DELAY 30e6
-#define PROFILE_FLASH_SIZE 2048
+#define PROFILE_FLASH_SIZE 4096
#define OSD_NUMBER_ELEMENTS 32
#define SWITCHABLE_FEATURE_1 //CONFIGURATION WIZARD
|
UI: Use RUN_ONCE differently | @@ -85,11 +85,14 @@ static void ui_free_method_data(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
}
static CRYPTO_ONCE get_index_once = CRYPTO_ONCE_STATIC_INIT;
-DEFINE_RUN_ONCE_STATIC(ui_method_data_index)
+static int ui_method_data_index = -1;
+DEFINE_RUN_ONCE_STATIC(ui_method_data_index_init)
{
- return CRYPTO_get_ex... |
kdb: fix wrong cut
removes all files in system/elektra
see | @@ -31,8 +31,6 @@ int GlobalUmountCommand::execute (Cmdline const & cl)
kdb.get (conf, parentKey);
printWarnings (cerr, parentKey);
- conf = conf.cut (parentKey);
-
const string name = cl.arguments[0];
auto it =
find_if (conf.begin (), conf.end (), [&](Key key) { return key.isDirectBelow (parentKey) && key.get<string> ... |
common CHANGE fix macro description | @@ -591,6 +591,7 @@ LY_ERR ly_strcat(char **dest, const char *format, ...);
* @param[in,out] LIST Linked list to add to.
* @param[out] NEW_ITEM New item that is appended to the list.
* @param[in] LINKER name of structure member that is used to connect items together.
+ * @param[in] RETVAL Return value for the case of e... |
imgtool: add mailing list email to setup
Seems like pypi.org is not accepting "None" for email anymore, so this
just adds the mailing list in case someone needs to contact the project. | @@ -5,7 +5,7 @@ setuptools.setup(
name="imgtool",
version=imgtool_version,
author="The MCUboot commiters",
- author_email="None",
+ author_email="dev-mcuboot@lists.runtime.co",
description=("MCUboot's image signing and key management"),
license="Apache Software License",
url="http://github.com/JuulLabs-OSS/mcuboot",
|
doc: add 3.0 release docs to menu choice | @@ -198,6 +198,7 @@ html_context = {
'docs_title': docs_title,
'is_release': is_release,
'versions': ( ("latest", "/latest/"),
+ ("3.0", "/3.0/"),
("2.7", "/2.7/"),
("2.6", "/2.6/"),
("2.5", "/2.5/"),
|
Add wasm3-strace build for Win64. Closes | @@ -20,12 +20,15 @@ jobs:
config:
- {target: wasm3-win-x64, platform: "-A x64", toolset: "-T ClangCL" }
- {target: wasm3-win-x86, platform: "-A Win32", toolset: "-T ClangCL" }
+ - {target: wasm3-strace-win-x64, platform: "-A x64", toolset: "-T ClangCL", cflags: "-DDEBUG -Dd_m3EnableStrace=2 -Dd_m3RecordBacktraces=1" }
... |
Remove spurious names from EXTERNAL list
Remove unused (and nonexistent) functions ZHETRD_SY2SB and ZHETRD_SB2ST from comment and EXTERNAL declaration | *> ZHPEV, CHPEVX, CHPEVD, and ZSTEDC.
*> ZHEEVD_2STAGE, ZHEEVR_2STAGE, ZHEEVX_2STAGE,
*> ZHEEV_2STAGE, ZHBEV_2STAGE, ZHBEVD_2STAGE,
-*> ZHBEVX_2STAGE, ZHETRD_2STAGE, ZHETRD_SY2SB,
-*> ZHETRD_SB2ST
+*> ZHBEVX_2STAGE, ZHETRD_2STAGE
*> \endverbatim
*
* Arguments:
$ ZUNGTR, ZUNMTR, ZUPGTR, ZUPMTR,
$ ZHEEVD_2STAGE, ZHEEVR_2... |
contrib: added release checklist to not forget some steps | @@ -69,3 +69,16 @@ stylistic choices that cannot pass the style check.
|- outputs/: Expected output files for the current samples
`- tests/: Internal regression tests
`- outputs/: Expected output files for the regression tests
+
+## Release Checklist
+
+* [ ] Make sure `bleeding` builds on all platforms and all tests p... |
mcu/nrf5340: Enable cache only from secure code
This is allowed only from secure code (either application running
in secure mode, or bootloader). | @@ -38,8 +38,10 @@ void
hal_system_init(void)
{
#if MYNEWT_VAL(MCU_CACHE_ENABLED)
+#if MYNEWT_VAL(MCU_APP_SECURE) || MYNEWT_VAL(BOOT_LOADER)
NRF_CACHE_S->ENABLE = 1;
#endif
+#endif
#if MYNEWT_VAL(MCU_DCDC_ENABLED)
NRF_REGULATORS->VREGMAIN.DCDCEN = 1;
|
add once more fixes. maybe the last for T13.764 | #include <sys/time.h>
#if defined(_WIN32) || defined(_WIN64)
#include <sys/socket.h>
+#if defined(_WIN64)
#define poll WSAPoll
#else
+#define poll(a,b,c) ((a)->revents = POLLOUT, 1)
+#endif
+#else
#include <poll.h>
#endif
#include "dnet_connection.h"
|
in_docker: fix leak on exception (CID 253602) | @@ -387,19 +387,20 @@ static uint64_t get_docker_mem_limit(char *id)
uint64_t mem_limit = 0;
FILE *f;
- if (limit_file != NULL) {
- f = fopen(limit_file, "r");
+ if (!limit_file) {
+ return 0;
+ }
+ f = fopen(limit_file, "r");
if (!f) {
- perror(limit_file);
+ flb_errno();
+ flb_free(limit_file);
return 0;
}
fscanf(f, ... |
YANG printer BUGFIX printing parsed deviation structures
Since deviation is LIST structure, the iterator should be LY_LIST_FOR rather than LY_ARRAY_FOR | @@ -2021,10 +2021,11 @@ yprc_node(struct ypr_ctx *ctx, const struct lysc_node *node)
static void
yprp_deviation(struct ypr_ctx *ctx, const struct lysp_deviation *deviation)
{
- unsigned int u, v;
+ unsigned int v;
struct lysp_deviate_add *add;
struct lysp_deviate_rpl *rpl;
struct lysp_deviate_del *del;
+ struct lysp_de... |
media_utc: Use conditional variable for test
For testing setObserver, use wait() and notify_one() | ****************************************************************************/
#include <stdio.h>
+#include <condition_variable>
#include <media/MediaPlayer.h>
#include <media/FileInputDataSource.h>
class TestObserver : public media::MediaPlayerObserverInterface
{
public:
- int value[3];
- TestObserver() : value{0, 0, 0... |
Add link dependency to fix tests link error when ENABLE_CJSON_UTILS is ON | @@ -102,6 +102,9 @@ if(ENABLE_CJSON_TEST)
foreach (cjson_utils_test ${cjson_utils_tests})
add_executable("${cjson_utils_test}" "${cjson_utils_test}.c")
target_link_libraries("${cjson_utils_test}" "${CJSON_LIB}" "${CJSON_UTILS_LIB}" unity)
+ if("${CMAKE_C_COMPILER_ID}" STREQUAL "MSVC")
+ target_sources(${cjson_utils_tes... |
[CI] Use Python >= 3.9 | @@ -19,6 +19,10 @@ jobs:
steps:
# Checks out repo at $GITHUB_WORKSPACE
- uses: actions/checkout@v2
+ - uses: actions/setup-python@v2
+ with:
+ # Requires Python >= 3.9 for str.removesuffix()
+ python-version: '3.9'
# Runs a set of commands using the runners shell
- name: Build axle toolchain
|
fix cursor middle not found do not fall back to default | @@ -29,7 +29,7 @@ def prepare_cursormiddle(scale, default=False):
path = SkinPaths.path
exists = os.path.isfile(path + cursormiddle + SkinPaths.format)
- yimg = YImage(cursormiddle, scale, defaultpath=default)
+ yimg = YImage(cursormiddle, scale, defaultpath=default, fallback="reeeee")
frame = [yimg.img]
return frame, ... |
Update lv_win.h
arm cross compile error: invalid conversion from void* to lv_win_ext_t* | @@ -217,7 +217,7 @@ void lv_win_focus(lv_obj_t * win, lv_obj_t * obj, uint16_t anim_time);
*/
static inline void lv_win_scroll_hor(lv_obj_t * win, lv_coord_t dist)
{
- lv_win_ext_t * ext = lv_obj_get_ext_attr(win);
+ lv_win_ext_t * ext = (lv_win_ext_t *)lv_obj_get_ext_attr(win);
lv_page_scroll_hor(ext->page, dist);
}
/... |
graph-store: use +bap for update-log listification | ?< (~(has by archive) resource)
?> (~(has by graphs) resource)
=/ updates=(list [=time upd=logged-update:store])
- :: TODO: add +bap:orm (backwards tap) and use that
- (flop (tap:orm-log update-log))
+ :: updates are time-ordered with most recent first
+ :: process with earliest first
+ (bap:orm-log update-log)
=| card... |
out_prometheus_exporter: stop service before exit | @@ -106,7 +106,7 @@ static int cb_prom_exit(void *data, struct flb_config *config)
{
struct prom_exporter *ctx = data;
- //FIXME: prom_http_server_stop(ctx->http);
+ prom_http_server_stop(ctx->http);
prom_http_server_destroy(ctx->http);
flb_free(ctx);
|
tls: psa_pake: add missing braces | @@ -2354,7 +2354,9 @@ start_processing:
if( ( *p != MBEDTLS_ECP_TLS_NAMED_CURVE ) ||
( read_tls_id != curve_info->tls_id ) )
+ {
return( MBEDTLS_ERR_SSL_ILLEGAL_PARAMETER );
+ }
p += 3;
|
vlib: fix unix cli SIGSEGV for empty line input
When logging is enabled, an empty line input (press Enter only)
will cause SIGSEGV. This patch fixes the problem by checking
the command length first.
Type: fix | @@ -2557,7 +2557,8 @@ more:
format_timeval, 0 /* current bat-time */ ,
0 /* current bat-format */ ,
cli_file_index, cf->current_command);
- if (cf->current_command[vec_len (cf->current_command) - 1] != '\n')
+ if ((vec_len (cf->current_command) > 0) &&
+ (cf->current_command[vec_len (cf->current_command) - 1] != '\n'))... |
Add prototype/sketch of hud bar | @@ -257,15 +257,22 @@ void undo_history_pop(Undo_history* hist, Field* out_field, Usz* out_tick_num) {
Usz undo_history_count(Undo_history* hist) { return hist->count; }
-void tdraw_hud(WINDOW* win, int win_y, int win_x, const char* filename,
- Usz tick_num) {
+void tdraw_hud(WINDOW* win, int win_y, int win_x, int heig... |
Add '#' on the right sides of the titles | -# High Level API
+# High Level API #
-## Issue
+## Issue ##
Some projects do not want to use code-generation but prefer
an "old-school" key/value getter/setter approach.
@@ -8,7 +8,7 @@ an "old-school" key/value getter/setter approach.
Here we propose new libraries (libelektra-highlevel and libelektra-hierarchy)
with ... |
Enable boot.py to set USB mode to HID if required. | @@ -539,8 +539,17 @@ soft_reset:
wifi_dbg_apply_config(&openmv_config.wifi_dbg_config);
}
+ // Run boot script(s)
+ if (first_soft_reset) {
+ // Execute the boot.py script before initializing the USB dev
+ // to override the USB mode if required, otherwise VCP+MSC is used.
+ exec_boot_script("/boot.py", false, false);
... |
Checking if the travis upgrade broke things | @@ -23,3 +23,6 @@ curl https://saw.galois.com/builds/nightly/saw-0.2-2017-06-22-Ubuntu14.04-64.tar
mkdir -p saw && tar -xzf saw.tar.gz --strip-components=1 -C saw
mkdir -p $INSTALL_DIR && mv saw/* $INSTALL_DIR
+clang --version
+$INSTALL_DIR/saw --version
+
|
runtime: cleanups to work stealing and recheck RXQ before parking | @@ -125,49 +125,53 @@ static bool steal_work(struct kthread *l, struct kthread *r)
unreachable();
}
+ /* try to steal directly from the runqueue */
avail = load_acquire(&r->rq_head) - r->rq_tail;
- if (!avail) {
+ if (avail) {
+ /* steal half the tasks */
+ avail = div_up(avail, 2);
+ assert(avail <= div_up(RUNTIME_RQ_... |
neon/max: fix unsafe SSE2 implementation of vmaxq_f64
It's 64-bit floats, we need to use _mm_max_pd not _mm_max_ps. | @@ -343,7 +343,7 @@ simde_vmaxq_f64(simde_float64x2_t a, simde_float64x2_t b) {
res = _mm_or_pd(res, _mm_and_pd(_mm_set1_pd(SIMDE_MATH_NAN), nan_mask));
return res;
#else
- return _mm_max_ps(a, b);
+ return _mm_max_pd(a, b);
#endif
#elif defined(SIMDE_POWER_ALTIVEC_P7_NATIVE) && defined(SIMDE_FAST_NANS)
return vec_max(... |
account: fix video codes decode | @@ -294,21 +294,21 @@ static int video_codecs_decode(struct account *acc, const struct pl *prm)
return 0;
while (0 == csl_parse(&vcs, cname, sizeof(cname))) {
- struct vidcodec *vc;
+ struct le *le;
+
+ for (le=list_head(vidcodecl); le; le=le->next) {
+ struct vidcodec *vc = le->data;
- vc = (struct vidcodec *)vidcodec... |
Use g_fn for file ops in getBaseAddress() | #include "os.h"
#include "state.h"
#include "utils.h"
+#include "fn.h"
#include "../contrib/funchook/distorm/include/distorm.h"
#define SCOPE_STACK_SIZE (size_t)(32 * 1024)
@@ -386,18 +387,20 @@ int getBaseAddress(uint64_t *addr) {
char buf[17];
int fd;
- if ((fd = open("/proc/self/maps", O_RDONLY)) == -1) {
+ if (!g_f... |
Android: fixing building for back-compatibility; adding default XML resources | @@ -2026,6 +2026,9 @@ namespace "build" do
set_app_name_android($appname)
+ #copy default xml resources. can be overwritten by extensions
+ cp_r File.join( $rhores, 'xml'), File.join($appres,'xml')
+
puts 'EXT: add additional files to project before build'
Dir.glob(File.join($app_builddir, 'extensions', '*', 'adds', '*... |
Don't peerdir plotly on windows | @@ -48,9 +48,13 @@ IF(NOT CATBOOST_OPENSOURCE)
PEERDIR(
catboost//private/libs/for_python_package
contrib/python/matplotlib
+ )
+ IF (NOT OS_WINDOWS)
+ PEERDIR(
contrib/python/plotly
)
ENDIF()
+ENDIF()
IF(HAVE_CUDA)
PEERDIR(
|
more improvements on rcascan | @@ -5525,7 +5525,7 @@ printf("\033[2J\033[0;0H BSSID CH COUNT HIT ESSID [%s]
for(zeiger = scanlist; zeiger < scanlist +scanlistmax; zeiger++)
{
if(zeiger->count == 0) return;
- printf(" %02x%02x%02x%02x%02x%02x %3d %5d %5d %s\n",
+ if(zeiger->channel != 0) printf(" %02x%02x%02x%02x%02x%02x %3d %5d %5d %s\n",
zeiger->ap... |
doc: update v2.3 release notes | @@ -43,12 +43,12 @@ Shared memory based inter-VM communication (ivshmem) is extended
ivshmem now supports interrupts (See :ref:`ivshmem-hld`).
Enhanced vUART support
- Added console support using legacy vUART (0x3F8-like) and
- added PCI vUART (up to 8) for VM-to-VM communication.
+ Added PCI vUART (up to 8) for VM-to-... |
removed reading the coding guidelines since it isn't needed | @@ -6,8 +6,6 @@ Building a bot is pretty simple with this library, but there are some basic thin
2. Make sure that you have a bot token. If you do not [discord-irc](https://github.com/reactiflux/discord-irc/wiki/Creating-a-discord-bot-&-getting-a-token) has instructions on building a bot. But your bot token in `bot.con... |
Make type conversions generate a variable name | @@ -1945,16 +1945,25 @@ generate_exp = function(exp, ctx)
end
elseif tag == ast.Exp.Cast then
- local cstats, cvalue = generate_exp(exp.exp, ctx)
+ local exp_cstats, exp_cvalue = generate_exp(exp.exp, ctx)
local src_typ = exp.exp._type
local dst_typ = exp._type
if src_typ._tag == dst_typ._tag then
- return cstats, cval... |
newlib: stdatomic: fix conflicting types for __atomic_load/__atomic_store | @@ -497,16 +497,16 @@ ATOMIC_STORE(8, long long unsigned int)
#endif // !HAS_ATOMICS_64
// Clang generates calls to the __atomic_load/__atomic_store functions for object size more then 4 bytes
-void CLANG_ATOMIC_SUFFIX( __atomic_load ) (int size, void *src, void *dest, int model) {
+void CLANG_ATOMIC_SUFFIX( __atomic_l... |
Improve GPIO events for ESP32 | @@ -91,13 +91,7 @@ void DeleteInputState(GPIO_PIN pinNumber)
UnlinkInputState(pState);
}
-//
-// Debounce Handler, called when timer is complete
-//
-void Esp_Gpio_DebounceHandler(TimerHandle_t xTimer)
-{
- gpio_input_state* pState = (gpio_input_state*)pvTimerGetTimerID(xTimer);
- if (pState->isrPtr)
+void Esp_Gpio_fir... |
blockresolver: Make test_BlockresolverRead more dynamic by adding expected key value to the parameters | #include <tests_plugin.h>
-static void test_BlockresolverRead (char * fileName)
+static void test_BlockresolverRead (char * fileName, char * keyName, char * expectedKeyValue)
{
- Key * parentKey = keyNew ("system:/test/blockresolver-read", KEY_VALUE, srcdir_file (fileName), KEY_END);
+ Key * parentKey = keyNew (keyName... |
libtool: fix syntax for __provides_exclude | @@ -25,7 +25,7 @@ Source1: OHPC_macros
BuildRoot: %{_tmppath}/%{pname}-%{version}-%{release}-root
#!BuildIgnore: post-build-checks rpmlint-Factory
-% _provides exclude ^libltdl.so\\.so.*$
+% global __provides_exclude ^libltdl.so\\.so.*$
%define debug_package %{nil}
%define install_path %{OHPC_UTILS}/autotools
|
DEV: Remove dead code | @@ -1092,40 +1092,6 @@ void DEV_BindingIdleHandler(Device *device, const Event &event)
}
}
-
-//void DEV_BindingTableVerifyHandler(Device *device, const Event &event)
-//{
-// DevicePrivate *d = device->d;
-
-// if (event.what() != REventBindingTick)
-// {
-
-// }
-// else if (d->binding.bindingIter >= device->node()->... |
Enclosed camera calls within a null check | @@ -173,13 +173,17 @@ public class HolidayIOIOActivity extends IOIOActivity {
protected void onStart() {
// Start the camera oreview
camera_ = getCameraInstance();
- Parameters params = camera_.getParameters();
+ Parameters params = null;
+
+ if (camera_ != null) {
+ params = camera_.getParameters();
params.setPreviewF... |
make: fix parallel building of "make clean all" target | @@ -75,11 +75,14 @@ all: subsystems $(OBJS) $(EMBED) $(BIN)
printf " data=%-5d text=%-5d rodata=%-5d\n" $$datasz $$textsz $$rodatasz)
+
+$(OBJS): $(filter clean,$(MAKECMDGOALS))
+
subsystems: $(ARCHS)
-%/$(ARCH):
+%/$(ARCH): $(filter clean,$(MAKECMDGOALS))
@+echo "\033[1;32mCOMPILE $(@D)\033[0m";\
- if ! make -C "$(@D)... |
make WinObjC.Frameworks.UWP.nupkg output into the build folder | @@ -2387,7 +2387,7 @@ wstring generateNugetProject(const map<wstring, pair<wstring, vector<shared_ptr<
<TargetFramework>uap10.0</TargetFramework>
</PropertyGroup>
<PropertyGroup Label="Globals">
- <OutputPath>bin\$(Configuration)\</OutputPath>
+ <OutputPath>..\..\..\..\build\OutputPackages\$(Configuration)\</OutputPath... |
OpenCoreKernel: Fix formatting string for missing plist | @@ -120,7 +120,7 @@ OcKernelLoadKextsAndReserve (
);
if (Kext->PlistData == NULL) {
- DEBUG ((DEBUG_ERROR, "OC: Plist %s is missing for kext %s\n", FullPath, BundlePath));
+ DEBUG ((DEBUG_ERROR, "OC: Plist %s is missing for kext %a\n", FullPath, BundlePath));
Kext->Enabled = FALSE;
continue;
}
|
Add comment about manually running benchmarks. | // in the LICENSE file.
/*
-To manually run this test:
+This test program is typically run indirectly, by the "puffs test" or "puffs
+bench" commands. To manually run it:
for cc in clang gcc; do
$cc -std=c99 -Wall -Werror gif.c && ./a.out
@@ -11,8 +12,13 @@ done
Each edition should print "PASS", amongst other informati... |
refactor ++flow to be a list, allow interpolations | => |%
++ item (pair mite marl:dynamic) :: xml node generator
++ colm @ud :: column
- ++ flow manx:dynamic :: node or generator
+ ++ flow marl:dynamic :: node or generator
++ mite :: context
$? $down :: outer embed
$list :: unordered list
(poxo ;;(manx q:(slap !>(..zuse) (steam p.u.q.vex))))
:: ::
++ cram :: parse unmar... |
README.webp_js: s/fastcomp/upstream/
the fastcomp backend is deprecated: | @@ -19,8 +19,8 @@ using Emscripten and CMake.
accessible. This is the toolchain file used by CMake to invoke Emscripten.
If $EMSCRIPTEN is unset search for Emscripten.cmake under $EMSDK and set
$EMSCRIPTEN accordingly, for example:
- unix-like environments: export EMSCRIPTEN=$EMSDK/fastcomp/emscripten
- windows: set EM... |
pg: fix uninitialized variable in pg mac filter CLI
Fixes coverity issue 214887
Type: fix
Fixes: | @@ -1911,7 +1911,7 @@ pg_input_mac_filter_cfg (vlib_main_t * vm,
{
unformat_input_t _line_input, *line_input = &_line_input;
u32 sw_if_index = ~0;
- int is_enable;
+ int is_enable = 1;
if (!unformat_user (input, unformat_line_input, line_input))
return 0;
|
Fix typo in release docs | @@ -41,7 +41,7 @@ This table describes all MsQuic releases, both officially supported (LTSC or SAC
| -- | -- | -- | -- | -- |
| LTSC | [release/1.0](https://github.com/microsoft/msquic/tree/release/1.0) | Nov 13 2020 | Jan 5 2021 | Jan 4 2026 |
| TBD | [release/1.1](https://github.com/microsoft/msquic/tree/release/1.1)... |
options/glibc: Handle arguments in getopt_long() | @@ -15,16 +15,32 @@ int optopt;
int getopt_long(int argc, char * const argv[], const char *optstring,
const struct option *longopts, int *longindex) {
+ // glibc extension: Setting optind to zero causes a full reset.
+ // TODO: Should we really reset opterr and the other flags?
+ if(!optind) {
+ optarg = nullptr;
+ opt... |
Add SceKernelSysClock typedef | extern "C" {
#endif
+typedef uint64_t SceKernelSysClock;
+
typedef struct SceKernelProcessInfo {
SceSize size; //!< size of this struct, make sure it's 0xE8
SceUID pid; //!< our process ID
|
remove unused parameter in check double free | @@ -436,8 +436,8 @@ static mi_segment_t* mi_segment_alloc(size_t required, mi_page_kind_t page_kind,
mi_assert_internal(segment_size >= required);
// Initialize parameters
- bool eager_delayed = (page_kind <= MI_PAGE_MEDIUM && tld->count < (size_t)mi_option_get(mi_option_eager_commit_delay));
- bool eager = !eager_dela... |
fixing new json lib | @@ -384,7 +384,7 @@ uint64 CJSONEntry::getUInt64(const char* name)
uint64 nRes = 0;
struct json_object* obj = json_object_object_get(m_object,const_cast<char*>(name));
if ( obj != 0 )
- nRes = (uint64)json_object_get_int(obj);
+ nRes = (uint64)json_object_get_int64(obj);
return nRes;
}
|
[numerics] NM_display: correct dwork info | @@ -1083,8 +1083,8 @@ void NM_display(const NumericsMatrix* const m)
printf("========== internalData->iWorkSize = %lu\n", m->internalData->iWorkSize);
printf("========== internalData->iWork = %p\n", m->internalData->iWork);
- printf("========== internalData->dWorkSize = %lu\n", m->internalData->iWorkSize);
- printf("==... |
tools/ci.sh: Build mpy-cross as part of ci_mimxrt_build. | @@ -146,6 +146,7 @@ function ci_mimxrt_setup {
}
function ci_mimxrt_build {
+ make ${MAKEOPTS} -C mpy-cross
make ${MAKEOPTS} -C ports/mimxrt submodules
make ${MAKEOPTS} -C ports/mimxrt BOARD=MIMXRT1020_EVK
make ${MAKEOPTS} -C ports/mimxrt BOARD=TEENSY40
|
comment, saving unexpanded argument
if no receive symbol has been sent, object saves with unexpanded argument from binbuf | @@ -65,6 +65,7 @@ typedef struct _comment{
int x_ready;
t_symbol *x_receive_sym;
t_symbol *x_rcv_unexpanded;
+ int x_rcv_set;
t_symbol *x_selector;
/* new args that currently do nothing - DK 2017
t_float x_bgcolor[COMMENT_NUMCOLORS];
@@ -87,6 +88,11 @@ static void comment_receive(t_comment *x, t_symbol *s){
}
}
+static... |
Add debian package dependencies: libmicrohttpd, liburcu | @@ -18,7 +18,10 @@ set( CPACK_DEBIAN_PACKAGE_SECTION "database" )
set( CPACK_DEBIAN_RUNTIME_PACKAGE_NAME "${CPACK_PACKAGE_NAME}" )
-set( CPACK_DEBIAN_RUNTIME_PACKAGE_DEPENDS "sosreport (>= 3.2)" )
+
+set( CPACK_DEBIAN_RUNTIME_PACKAGE_DEPENDS
+ "sosreport (>= 3.2), liburcu6 (>= 0.10.1), libmicrohttpd12 (>= 0.9.59)"
+ )
... |
Fixed check for invalid gather registers in non 64-bit mode | @@ -4279,16 +4279,20 @@ static ZydisStatus ZydisCheckErrorConditions(ZydisDecoderContext* context,
ZYDIS_UNREACHABLE;
}
- // Check gather/scatter registers
+ // Check gather registers
if (isGather)
{
ZYDIS_ASSERT(hasVSIB);
ZYDIS_ASSERT(instruction->raw.modrm.mod != 3);
ZYDIS_ASSERT(instruction->raw.modrm.rm == 4);
- co... |
nat: Fix ICMP bypass session creation
After get_icmp_o2i_ed_key() bihash key may include
IP protocol and addresses from inner ICMP packet.
It is OK for session lookup, but we should not create
a session on ICMP error message receiving.
Type: fix | @@ -452,6 +452,12 @@ create_bypass_for_fwd (snat_main_t * sm, vlib_buffer_t * b, ip4_header_t * ip,
pool_elt_at_index (tsm->sessions,
ed_value_get_session_index (&value));
}
+ else if (ip->protocol == IP_PROTOCOL_ICMP &&
+ icmp_type_is_error_message
+ (vnet_buffer (b)->ip.reass.icmp_type_or_tcp_flags))
+ {
+ return;
+ ... |
Add arg for filtering on signal | @@ -23,6 +23,7 @@ examples = """examples:
./killsnoop # trace all kill() signals
./killsnoop -x # only show failed kills
./killsnoop -p 181 # only trace PID 181
+ ./killsnoop -s 13 # only trace signal 13
"""
parser = argparse.ArgumentParser(
description="Trace signals issued by the kill() syscall",
@@ -32,6 +33,8 @@ pa... |
cache: disable all plugin positions | @@ -807,9 +807,9 @@ static int elektraCacheLoadSplit (KDB * handle, Split * split, KeySet * ks, KeyS
if (splitCacheLoadState (split, handle->global) != 0) return -1;
keySetName (parentKey, keyName (initialParent));
- elektraGlobalGet (handle, *cache, parentKey, PROCGETSTORAGE, INIT);
- elektraGlobalGet (handle, *cache,... |
Specify openssl command line for samples | @@ -19,10 +19,11 @@ Key concepts are explained in detail [here][SDK_README_KEY_CONCEPTS].
## Prerequisites
-- To generate the device certificate, the provided script uses [OpenSSL](https://www.openssl.org/). Please
-install OpenSSL prior to using the script.
+- To generate the device certificate, the provided script us... |
naive: cached naive state -> predicted naive state | :: sending: the l2 txs currently sending/awaiting l2 confirmation
:: finding: raw-tx-hash reverse lookup for sending map
:: next-nonce: next l1 nonce to use
- :: nas: cached naive state
- :: when a new l2 tx comes in, via +take-tx or +on-naive-dif, the
- :: +canonical-state is retrieved from %azimuth, the pending txs
-... |
Add parameter for maven package hawq-hadoop | @@ -40,7 +40,11 @@ all: $(DEFAULTTARGET)
$(DEFAULTTARGET):
ifdef MAVEN
+ifeq ($(shell java -version 2>&1 | grep 1.7.0 > /dev/null; printf $$?),0)
+ $(MAVEN) package -DskipTests -Dhttps.protocols=TLSv1.2
+else
$(MAVEN) package -DskipTests
+endif
else
@$(missing) mvn $< $@
endif
|
tests/unix/ffi_types: Update for Pycopy. | # test 8/16/32/64 bit signed/unsigned integer arguments and return types for ffi functions
# requires ffi_lib.c to be compiled as: $(CC) -shared -o ffi_lib.so ffi_lib.c
-import uos, usys
+import uos, sys as usys
try:
import ffi
|
Completions: Add suggestions for option `profile` | @@ -65,11 +65,24 @@ function __fish_kdb_add_option -d 'Add suggestions for a certain option to multi
set -l completion_function $argv[1]
set -l opt_long $argv[2]
set -l opt_short $argv[3]
- set -l description $argv[4..-1]
+ set -l description $argv[4]
- set completion_function "$completion_function; and not __input_inc... |
armv8: fix compilation for lrpc benchmark | @@ -35,6 +35,11 @@ static struct timestamps timestamps[ITERATIONS];
static struct timestamps overhead[ITERATIONS];
static int currentiter;
+
+#ifndef __x86_64__
+#define rdpmc(x) bench_tsc()
+#endif
+
// server side handler
static void lrpc_bench_handler(void *arg)
{
|
Docs: Sync with OcSupportPkg | @@ -24,6 +24,7 @@ OpenCore Changelog
- Fixed NULL parent DeviceHandle for launched tools
- Added bundled HiiDatabase driver for very old firmwares
- Added SSE2 support in memory intrinsics for better performance
+- Improved ACPI PM timer CPU frequency calculation performance
#### v0.5.5
- Fixed CPU bus ratio calculatio... |
[Components][Drivers][USB]fix OS proerty desc bug | @@ -435,7 +435,7 @@ rt_inline void usbd_os_proerty_descriptor_send(ufunction_t func, ureq_t setup, u
{
rt_memcpy((void *)pdata,(void *)&usb_os_proerty[index],10);
pdata += 10;
- for(i = 0;i < usb_os_proerty[index].wPropertyNameLength;i++)
+ for(i = 0;i < usb_os_proerty[index].wPropertyNameLength/2;i++)
{
*pdata = usb_o... |
Fix generating empty spritesheet | @@ -655,7 +655,7 @@ export const compileTileset = (tileset: Uint8Array, tilesetIndex: number) =>
tilesetSymbol(tilesetIndex),
`// Tileset: ${tilesetIndex}`,
{
- n_tiles: Math.ceil(tileset.length / 16),
+ n_tiles: Math.max(1, Math.ceil(tileset.length / 16)),
tiles: Array.from(tileset.length > 0 ? tileset : [0]).map(toHe... |
[CI] Drop old lines from CI steps | @@ -50,8 +50,6 @@ jobs:
- name: Build Rust toolchain
shell: bash
run: |
- # curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- --default-toolchain none -y
- # rustup toolchain install nightly --allow-downgrade --profile minimal --component clippy --component rustfmt
python3 scripts/build_rust_toolchai... |
Add blank configuration for project_name and layer_suffix with build.sh | @@ -90,7 +90,9 @@ vklayer_mesa_overlay = shared_library(
if get_option('using_build_sh')
configure_file(input : 'mangohud.json.in',
output : '@0@.json'.format(meson.project_name()),
- configuration : {'PROJECT_NAME' : meson.project_name()},
+ configuration : {'PROJECT_NAME' : meson.project_name(),
+ 'libdir_mangohud' :... |
bare-arm/main: Add dummy stub for strstr().
Triggered by addition to lexer.c code to check for strict mode
pragma-comment. | @@ -119,6 +119,9 @@ char *strcat(char *dest, const char *src) {
char *strchr(const char *dest, int c) {
return NULL;
}
+char *strstr(const char *where, const char *what) {
+ return NULL;
+}
#include <stdarg.h>
int vprintf(const char *format, va_list ap) {
return 0;
|
Try fixing macos CI, take 2 | @@ -229,7 +229,8 @@ class Wasm3():
raise Exception(error)
def _write(self, data):
- #if not self._is_running():
+ if not self._is_running():
+ self.load(self.loaded)
#raise Exception("Not running")
self.p.stdin.write(data.encode("utf-8"))
self.p.stdin.flush()
|
Fixed tag cloud style | /* overflow: auto; */
}
+.filterFacetLinkValue a {
+ color: #444; }
+
+.filterFacetLinkValue a:hover {
+ color: #444;
+ text-decoration: underline;
+}
+
+.filterFacetLinkValue a:link {
+ font-weight: normal;
+}
+
.icon object {
width: 24px;
height: 24px;
|
CRASH: Python keys iterator on GRIB message | @@ -996,8 +996,9 @@ def grib_get_string_array(msgid, key):
GRIB_CHECK(_internal.grib_c_get_string_array(msgid, key, a, s))
+ newsize = s.value()
result = list()
- for i in range(nval):
+ for i in range(newsize):
result.append(_internal.stringArray_getitem(a, i))
_internal.delete_stringArray(a)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.