message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Add workaround for minimal/reflected processes showing as suspended | @@ -1963,6 +1963,13 @@ VOID PhpGetProcessThreadInformation(
contextSwitches += Process->Threads[i].ContextSwitches;
}
+ // HACK: Minimal/Reflected processes don't have threads (TODO: Use PhGetProcessIsSuspended instead).
+ if (Process->NumberOfThreads == 0)
+ {
+ isSuspended = FALSE;
+ isPartiallySuspended = FALSE;
+ }... |
Add support for newer Heiman HS1DS-E door/window sensor | @@ -183,7 +183,7 @@ static const SupportedDevice supportedDevices[] = {
{ VENDOR_NONE, "Z716A", netvoxMacPrefix },
// { VENDOR_OSRAM_STACK, "Plug", osramMacPrefix }, // OSRAM plug - exposed only as light
{ VENDOR_OSRAM_STACK, "CO_", heimanMacPrefix }, // Heiman CO sensor
- { VENDOR_OSRAM_STACK, "DOOR_", heimanMacPrefix... |
quickdump: use stupidly complicated test script to accommodate shell recorder | @@ -80,16 +80,19 @@ kdb set user/tests/quickdump/otherkey "other value"
# 00000060: 616c 7565 00 alue.
-# Change mounted file:
-cp $(kdb file user/tests/quickdump/key) /tmp/a.tmp
+# Change mounted file (in a very stupid way to enable shell-recorder testing):
+cp $(kdb file user/tests/quickdump/key) a.tmp
# 1. change ke... |
Disable test/timing_load_creds.c on VMS | #include <stdio.h>
#include <stdlib.h>
-#ifndef _WIN32
+#if !defined(_WIN32) && !defined(__VMS)
# include <sys/stat.h>
# include <openssl/pem.h>
# include <openssl/x509.h>
@@ -192,7 +192,13 @@ int main(int ac, char **av)
OPENSSL_free(contents);
return EXIT_SUCCESS;
#else
+# if defined(_WIN32)
fprintf(stderr, "This tool... |
kiln: first stab at ota inside +vats | ::
++ reset
^+ vats
+ ~> %slog.0^leaf/"kiln: resetting tracking for {here}"
=. ark (~(del by ark) loc)
(install loc [ship desk]:rak)
:: +bump: handle kernel kelvin upgrade
~> %slog.0^leaf/"kiln: desks blocked upgrade {<ded>}"
!!
=/ liv (skip ~(tap by ark) |=([d=desk *] (~(has in except) d)))
+ ~> %slog.0^leaf/"kiln: bu... |
Don't establish more active paths than remote addresses | @@ -20,7 +20,7 @@ protoop_arg_t path_manager(picoquic_cnx_t* cnx) {
// Do not return, it will never use uniflows otherwise...
}
- if (bpfd->nb_sending_active >= N_SENDING_UNIFLOWS) {
+ if (bpfd->nb_sending_active >= N_SENDING_UNIFLOWS || bpfd->nb_sending_active >= bpfd->nb_rem_addrs) {
return 0;
}
|
Increase Try Count for Test Force Functions | @@ -226,7 +226,7 @@ TestConnection::ForceKeyUpdate()
0,
nullptr);
- } while (Status == QUIC_STATUS_INVALID_STATE && ++Try <= 3);
+ } while (Status == QUIC_STATUS_INVALID_STATE && ++Try <= 10);
return Status;
}
@@ -255,7 +255,7 @@ TestConnection::ForceCidUpdate()
0,
nullptr);
- } while (Status == QUIC_STATUS_INVALID_STA... |
publish: fix join typo | @@ -159,7 +159,7 @@ export class JoinScreen extends Component {
disabled={(this.state.disable) || (!state.book) || (state.book === "/")}
onClick={this.onClickJoin.bind(this)}
className={joinClasses}
- >Join Chat</button>
+ >Join Notebook</button>
</div>
</div>
);
|
Fix engine crash with transparency. | @@ -611,16 +611,12 @@ avtTransparencyActor::~avtTransparencyActor()
// Mark C. Miller, Thu Jan 20 22:27:39 PST 2005
// Added opacity arg. Added code to stick opacity value in map
//
-// Kathleen Biagas, Tue Nov 5 12:34:55 PST 2019
-// Set actorMTime to 0.
-//
// *********************************************************... |
test/utils.c: Adjust expected speedup for STM32H743
BRANCH=none
TEST=On Icetower v0.1 connected to servo_micro:
./test/run_device_tests.py -b dartmonkey -t utils | @@ -45,13 +45,19 @@ static int test_memmove(void)
TEST_ASSERT_ARRAY_EQ(buf + 100, buf, len);
/* Expected about 4x speed gain. Use 3x because it fluctuates */
-#ifndef EMU_BUILD
+ if (!IS_ENABLED(EMU_BUILD)) {
/*
* The speed gain is too unpredictable on host, especially on
* buildbots. Skip it if we are running in the e... |
Update main.c
Fix code where HID keyboard was being stuffed into the HID mouse buffer. | @@ -262,7 +262,7 @@ void hid_task(void)
if ( !tuh_hid_keyboard_is_busy(addr) )
{
process_kbd_report(&usb_keyboard_report);
- tuh_hid_keyboard_get_report(addr, &usb_mouse_report);
+ tuh_hid_keyboard_get_report(addr, &usb_keyboard_report);
}
}
#endif
|
Change default properties for new pipe created with EN_addlink (issue | @@ -3152,10 +3152,18 @@ int DLLEXPORT EN_addlink(EN_Project p, char *id, int linkType,
}
else if (linkType <= PIPE) // pipe or cvpipe
{
+ // 10" diameter new ductile iron pipe with
+ // length of average city block
link->Diam = 10 / p->Ucf[DIAM];
- link->Kc = 100; // Rough. coeff
+ switch (hyd->Formflag)
+ {
+ case HW:... |
support emoji in VS | <_XmakeExecutable>"$([System.IO.Path]::GetFullPath('$(XmakeProgramDir)xmake.exe'))"</_XmakeExecutable>
<_XmakeEnv>
+ chcp 65001 > NUL
pushd "$(XmakeProjectDir)"
set XMAKE_CONFIGDIR=$(XmakeConfigDir)
set XMAKE_PROGRAM_DIR=$(XmakeProgramDir)
</Target>
<Target Name="_XmakeConfig" DependsOnTargets="_XmakeProjCheck">
<Me... |
fpsensor: Clear reset bit only after reset completes
BRANCH=nocturne
TEST=Build, check that boot works. | @@ -296,9 +296,9 @@ void fp_task(void)
if (mode & FP_MODE_ANY_WAIT_IRQ) {
gpio_enable_interrupt(GPIO_FPS_INT);
} else if (mode & FP_MODE_RESET_SENSOR) {
- sensor_mode &= ~FP_MODE_RESET_SENSOR;
fp_clear_context();
fp_sensor_init();
+ sensor_mode &= ~FP_MODE_RESET_SENSOR;
} else {
fp_sensor_low_power();
}
|
interface: fixing babel config | @@ -5,6 +5,6 @@ module.exports = {
'@babel/plugin-proposal-object-rest-spread',
'@babel/plugin-proposal-optional-chaining',
'@babel/plugin-proposal-class-properties',
- 'react-refresh/babel'
+ process.env.NODE_ENV !== 'production' && 'react-refresh/babel'
]
};
|
[run_rocm_test.sh] - Add EPSDB Status and return code. | @@ -412,8 +412,11 @@ echo Overall Unexpected fails: $totalunexpectedfails >> $summary
echo Script Errors: $scriptfails >> $summary
if [ "$totalunexpectedfails" -gt 0 ] || [ "$scriptfails" != 0 ]; then
echo FAIL >> $summary
+ echo "EPSDB Status: red" >> $summary
else
echo PASS >> $summary
+ echo "EPSDB Status: green" >>... |
Tests: increase default "read_timeout" to 60s in message_read(). | @@ -221,7 +221,7 @@ class TestApplicationWebsocket(TestApplicationProto):
op_code = self.OP_CONT
pos = end
- def message_read(self, sock, read_timeout=10):
+ def message_read(self, sock, read_timeout=60):
frame = self.frame_read(sock, read_timeout=read_timeout)
while not frame['fin']:
|
Align xid_age() with upstream
This addresses the following GPDB_96_MERGE_FIXME:
```
* GPDB_96_MERGE_FIXME: Upstream uses GetStableLatestTransactionId() nowadays,
* and looking at what it does, I think it should work. Try reverting this to
* upstream version and see if it works.
``` | @@ -149,20 +149,12 @@ xidneq(PG_FUNCTION_ARGS)
/*
* xid_age - compute age of an XID (relative to latest stable xid)
- *
- * ReadNewTransactionId() is used here instead of GetTopTransactionId(), as
- * this function may be called on QE Reader and with laxy XID try to allocate
- * XID as QE Reader which is not allowed.
-... |
fix start adjustment for the commit mask | @@ -487,7 +487,7 @@ static void mi_segment_commit_mask(mi_segment_t* segment, bool conservative, uin
start = _mi_align_down(pstart, MI_MINIMAL_COMMIT_SIZE);
end = _mi_align_up(pstart + size, MI_MINIMAL_COMMIT_SIZE);
}
- if (start < segstart) {
+ if (pstart >= segstart && start < segstart) { // note: the mask is also ca... |
new optimization for tensor/scalar operations | @@ -573,6 +573,75 @@ void optimized_nop(unsigned int N, unsigned int io, unsigned int D, const long d
int ND = optimize_dims(N, D, tdims, nstr1);
+#if 1
+ unsigned long cnst_flags = 0;
+ bool cnst_ok = true;
+
+ for (unsigned int i = 0; i < N; i++) {
+
+ if (0 == tstrs[i][0]) {
+
+ if (MD_IS_SET(io, i)) {
+
+ cnst_ok =... |
dnstap io, failure to add event closes and attempts to reopen the output. | @@ -757,6 +757,8 @@ static void dtio_add_output_event_read(struct dt_io_thread* dtio)
log_err("dnstap io: out of memory (adding event)");
dtio->event_added = 0;
dtio->event_added_is_write = 0;
+ /* close output and start reattempts to open it */
+ dtio_close_output(dtio);
return;
}
dtio->event_added = 1;
@@ -778,6 +780... |
.gitignore tidying | # Build outputs.
/bin
-/lib
-/wren
# Intermediate files.
+.vs
/build
+Debug/
+Release
+obj/
/obj
/.sass-cache
*.pyc
-/util/vs2017/build
-/util/vs2017/lib/obj
-/util/vs2017/wren/obj
# I leave a temporary Wren script at the top level so that I can quickly test
# stuff.
|
runtime/sched.c change shouldn't have been included | @@ -147,6 +147,12 @@ static void drain_overflow(struct kthread *l)
}
}
+static bool work_available(struct kthread *k)
+{
+ return ACCESS_ONCE(k->rq_tail) != ACCESS_ONCE(k->rq_head) ||
+ !list_empty(&k->rq_overflow) || softirq_work_available(k);
+}
+
static bool steal_work(struct kthread *l, struct kthread *r)
{
thread_... |
sse4.1: add NEON implementation of _mm_extract_epi32
This commit includes a fix when the selector is greater than 3. | @@ -509,10 +509,12 @@ simde_mm_extract_epi8 (simde__m128i a, const int imm8) {
SIMDE__FUNCTION_ATTRIBUTES
int32_t
simde_mm_extract_epi32 (simde__m128i a, const int imm8) {
- return a.i32[imm8];
+ return a.i32[imm8&3];
}
#if defined(SIMDE_SSE4_1_NATIVE)
# define simde_mm_extract_epi32(a, imm8) _mm_extract_epi32(a.n, imm... |
Yan LR: Remove useless command from MSR test | @@ -134,7 +134,6 @@ kdb ls user/tests/yanlr
# we store the text before `config.yaml` as `user/tests/error/prefix`.
kdb set user/tests/error "$(2>&1 kdb ls user/tests/yanlr)"
kdb set user/tests/error/prefix "$(kdb get user/tests/error | grep 'config.yaml' | head -1 | sed -E 's/(.*)config.yaml.*/\1/')"
-kdb get user/test... |
Only return resourcelinks which are not deleted | @@ -73,15 +73,20 @@ int DeRestPluginPrivate::getAllResourcelinks(ApiRequest &req, ApiResponse &rsp)
{
Q_UNUSED(req);
for (const Resourcelinks &rl : resourcelinks)
+ {
+ if (rl.state == Resourcelinks::StateNormal)
{
rsp.map[rl.id] = rl.data;
}
+ }
if (resourcelinks.empty())
{
rsp.str = "{}"; // empty
}
+ rsp.httpStatus ... |
AppVeyor: Use "--config Release" to build release type with MSVC. | @@ -85,7 +85,7 @@ pushd $BUILD_DIR_FIXED
}
$PROCESS = Start-Process cmake `
- -ArgumentList "--build ." `
+ -ArgumentList "--build . --config Release" `
-PassThru `
-RedirectStandardOutput "$OUT_LOG" `
-RedirectStandardError "$ERR_LOG"
|
out_s3: release 'uri' on exception (CID 310852) | @@ -932,6 +932,7 @@ static int s3_put_object(struct flb_s3 *ctx, const char *tag, time_t create_time
random_alphanumeric = flb_sts_session_name();
if (!random_alphanumeric) {
flb_sds_destroy(s3_key);
+ flb_sds_destroy(uri);
flb_plg_error(ctx->ins, "Failed to create randomness for S3 key %s", tag);
return -1;
}
|
ExtendedTools: Disable processing events when inactive | @@ -172,6 +172,20 @@ BOOLEAN FwTabPageCallback(
SaveSettingsFwTreeList();
}
return TRUE;
+ case MainTabPageSelected:
+ {
+ BOOLEAN selected = (BOOLEAN)Parameter1;
+
+ if (selected)
+ {
+ EtFwEnabled = TRUE;
+ }
+ else
+ {
+ EtFwEnabled = FALSE;
+ }
+ }
+ break;
case MainTabPageExportContent:
{
NOTHING;
|
slider repeat sounds no end. farming commit | @@ -82,12 +82,14 @@ sliderTime = []
repeatedTime = []
durationTime = []
endTime = []
+
for bp in range(len(beatmap_info)):
if "slider" in beatmap_info[bp]["type"]:
sliderTime.append(beatmap_info[bp]["time"])
repeatedTime.append(beatmap_info[bp]["repeated"])
durationTime.append(beatmap_info[bp]["duration"])
endTime.appe... |
feat[#1112]:Add XY1100_R14 platform for Makefile | @@ -66,6 +66,7 @@ SCRIPTS_PARAM += "BOAT_PROTOCOL_USE_ETHEREUM=$(BOAT_PROTOCOL_USE_ETHEREUM)" \
# - MTK-MT3620 : MTK MT3620
# - XinYi-XY1100 : XY1100
# - Fibocom-MA510 : MA510
+# - XinYi-XY1100-R14 : XY1100 R14
PLATFORM_TARGET ?= linux-default
# Environment-specific Settings
|
[bus][pci] Make sure there's a fallback range in release mode | @@ -38,6 +38,8 @@ resource_range &resource_allocator::type_to_range(pci_resource_type type, bool p
DEBUG_ASSERT_MSG(0, "uhandled pci resource type %d\n", type);
}
}
+ static resource_range zero = {};
+ return zero;
}
status_t resource_allocator::set_range(const resource_range &range, bool prefetchable) {
|
fix(examples) adjust canvas example for MicroPython API change | @@ -39,5 +39,5 @@ img.header.cf = lv.img.CF.TRUE_COLOR
img.header.w = _CANVAS_WIDTH
img.header.h = _CANVAS_HEIGHT
-canvas.fill_bg(lv_palette_lighten(LV_PALETTE_GREY, 3), LV_OPA_COVER)
+canvas.fill_bg(lv.palette_lighten(lv.PALETTE.GREY, 3), lv.OPA.COVER)
canvas.transform(img, 30, LV_IMG_ZOOM_NONE, 0, 0, _CANVAS_WIDTH //... |
SOVERSION bump to version 2.20.6 | @@ -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 20)
-set(LIBYANG_MICRO_SOVERSION 5)
+set(LIBYANG_MICRO_SOVERSION 6)
set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_M... |
Hake: Ddd dependency tracking for sockeye | @@ -784,13 +784,23 @@ skateGenSchemas opts schema =
-- Build SKB facts from Sockeye file
--
sockeyeProgLoc = In InstallTree "tools" "/bin/sockeye"
-sockeyeSpecFileLoc d = In SrcTree "src" ("/socs" </> (d ++ ".soc"))
+sockeyeSocFileLoc d = In SrcTree "src" ("/socs" </> (d ++ ".soc"))
sockeyeFactFilePath d = "/sockeyefac... |
update openmpi install on aarch64 | @@ -7,12 +7,12 @@ carried using an {\em ethernet} transport layer.
% ohpc_command if [[ ${enable_mpi_defaults} -eq 1 ]];then
% ohpc_indent 5
\begin{lstlisting}[language=bash]
-[sms](*\#*) (*\install*) openmpi-gnu7-ohpc mpich-gnu7-ohpc
+[sms](*\#*) (*\install*) openmpi3-gnu7-ohpc mpich-gnu7-ohpc
\end{lstlisting}
% ohpc_... |
OpenCanopy: Remove unused variable | @@ -1596,13 +1596,11 @@ InternalBootPickerAnimateSinMov (
{
STATIC UINT32 PrevSine = 0;
- INT64 OldOffsetX;
UINT32 InterpolVal;
UINT32 DeltaSine;
ASSERT (DrawContext != NULL);
- OldOffsetX = mBootPicker.Hdr.Obj.OffsetX;
InterpolVal = GuiGetInterpolatedValue (&mBpAnimInfoSinMove, CurrentTime);
DeltaSine = InterpolVal - ... |
SOVERSION bump to version 7.13.9 | @@ -73,7 +73,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_
# with backward compatible change and micro version is connected with any internal change of the library.
set(SYSREPO_MAJOR_SOVERSION 7)
set(SYSREPO_MINOR_SOVERSION 13)
-set(SYSREPO_MICRO_SOVERSION 8)
+set(SYSREPO_MICRO_S... |
Disallow handshake messages in the middle of early_data | @@ -129,6 +129,12 @@ static int ossl_statem_server13_read_transition(SSL *s, int mt)
break;
case TLS_ST_OK:
+ /*
+ * Its never ok to start processing handshake messages in the middle of
+ * early data (i.e. before we've received the end of early data alert)
+ */
+ if (s->early_data_state == SSL_EARLY_DATA_READING)
+ br... |
file: fix storage format | - infos/author = Thomas Waser <thomas.waser@libelektra.org>
- infos/licence = BSD
- infos/needs =
-- infos/provides = storage
+- infos/provides = storage/file
- infos/recommends =
- infos/placements = getstorage setstorage
- infos/status = maintained conformant compatible coverage specific unittest tested nodep libc co... |
lib: onigmo: commit auto-generated changes | @@ -727,6 +727,7 @@ infodir
docdir
oldincludedir
includedir
+runstatedir
localstatedir
sharedstatedir
sysconfdir
@@ -811,6 +812,7 @@ datadir='${datarootdir}'
sysconfdir='${prefix}/etc'
sharedstatedir='${prefix}/com'
localstatedir='${prefix}/var'
+runstatedir='${localstatedir}/run'
includedir='${prefix}/include'
oldincl... |
VTL: Move doc generation and linting to python3.
* running linting/pycodestyle under python3 provides the additional benefit
of access to the python3 AST. | @@ -204,8 +204,8 @@ wipe: reset
@rm -f $(PAPI_INSTALL_FLAGS)
doc: verify-test-dir $(PIP_PATCH_DONE)
- @virtualenv $(VENV_PATH) -p $(PYTHON_INTERP)
- @bash -c "source $(VENV_PATH)/bin/activate && $(PYTHON_INTERP) -m pip install sphinx sphinx-rtd-theme"
+ @virtualenv $(VENV_PATH) -p python3
+ @bash -c "source $(VENV_PATH... |
viofs: Fix code analysis warning C6387
Add optional parameter for RtlUTF8ToUnicodeN. | @@ -186,6 +186,7 @@ static VOID HandleGetVolumeName(IN PDEVICE_CONTEXT Context,
{
NTSTATUS status;
WCHAR WideTag[MAX_FILE_SYSTEM_NAME + 1];
+ ULONG WideTagActualSize;
BYTE *out_buf;
char tag[MAX_FILE_SYSTEM_NAME];
size_t size;
@@ -196,7 +197,7 @@ static VOID HandleGetVolumeName(IN PDEVICE_CONTEXT Context,
FIELD_OFFSET(... |
Make sure ./config passes options to ./Configure correctly
This is, even when they contain spaces or all kinds of funny quotes | @@ -35,7 +35,8 @@ See INSTALL for instructions.
EOF
;;
-*) options=$options" $i" ;;
+*) i=`echo "$i" | sed -e "s|'|'\\\\\\''|g"`
+ options="$options '$i'" ;;
esac
done
@@ -902,7 +903,9 @@ if [ $? = "0" ]; then
echo $PERL $THERE/Configure $OUT $options
fi
if [ "$DRYRUN" = "false" ]; then
- $PERL $THERE/Configure $OUT $o... |
ixfr-out, review fix in pktcompression_write_dname to return 0 on failure. | @@ -221,9 +221,9 @@ static size_t pktcompression_write_dname(struct buffer* packet,
size_t lablen = (size_t)(rr[0]);
uint16_t offset;
if( (lablen&0xc0) )
- break; /* name should be uncompressed */
+ return 0; /* name should be uncompressed */
if(lablen+1 > rrlen)
- break; /* name should fit */
+ return 0; /* name shoul... |
make: allow default distro definition of CFLAGS
make non-required CFLAGS optional if none are defined from the env
like in distro builds. | @@ -4,7 +4,8 @@ INSTALLDIR = $(DESTDIR)$(PREFIX)/bin
HOSTOS := $(shell uname -s)
CC ?= gcc
-CFLAGS = -std=gnu99 -O3 -Wall -Wextra
+CFLAGS ?= -O3 -Wall -Wextra
+CFLAGS += -std=gnu99
INSTFLAGS = -m 0755
ifeq ($(HOSTOS), Linux)
|
sds: revert prototypes | @@ -82,10 +82,10 @@ flb_sds_t flb_sds_create(const char *str);
flb_sds_t flb_sds_create_len(const char *str, int len);
flb_sds_t flb_sds_create_size(size_t size);
flb_sds_t flb_sds_cat(flb_sds_t s, const char *str, int len);
-flb_sds_t flb_sds_cat_utf8(flb_sds_t *s, const char *str, int len);
+flb_sds_t flb_sds_cat_utf... |
[apps] Add delete to queue test | @@ -73,6 +73,14 @@ int main() {
}
}
+ // Wait for all cores
+ mempool_barrier(num_cores, num_cores * 4);
+
+ // Destroy queue
+ if (core_id == 0) {
+ queue_destroy(queue);
+ }
+
// wait until all cores have finished
mempool_barrier(num_cores, num_cores * 4);
return 0;
|
test: add platone test case test_002InitWallet_0013InitPlatoneWalletGenerationKey
fix the issue aitos-io#1176
teambition task id: | @@ -818,6 +818,26 @@ START_TEST(test_002InitWallet_0012InitPlatoneWalletSuccess)
}
END_TEST
+START_TEST(test_002InitWallet_0013InitPlatoneWalletGenerationKey)
+{
+ BoatPlatoneWallet *rtnVal;
+ BoatPlatoneWalletConfig walletConfig;
+
+ walletConfig.prikeyCtx_config.prikey_genMode = BOAT_WALLET_PRIKEY_GENMODE_INTERNAL_GE... |
Updating the CmakeLists for Nuvoton | @@ -33,7 +33,7 @@ afr_set_board_metadata(RECOMMENDED_IDE "uVision")
afr_set_board_metadata(IDE_uVision_NAME "Keil uVision")
afr_set_board_metadata(IDE_uVision_COMPILER "ARMCC")
afr_set_board_metadata(IS_ACTIVE "TRUE")
-afr_set_board_metadata(IDE_uVision_PROJECT_LOCATION "${CMAKE_CURRENT_LIST_DIR}/aws_demos/keil")
+afr_... |
[Readme] Removed crosshair | @@ -116,7 +116,6 @@ A partial list of parameters are below. See the config file for a complete list.
| `gpu_core_clock`<br>`gpu_mem_clock`| Displays GPU core/memory frequency |
| `ram`<br>`vram` | Displays system RAM/VRAM usage |
| `full` | Enables all of the above config options |
-| `crosshair` | Adds a crosshair ove... |
add bootstrap/teardown function to task init | @@ -117,9 +117,20 @@ task_small_t* tasking_get_current_task() {
return tasking_get_task_with_pid(getpid());
}
-void task_die() {
- printf("[%d] self-terminated. Spinlooping\n", getpid());
- while (1) {asm("hlt");}
+void task_die(int exit_code) {
+ printf("[%d] self-terminated with exit %d. Zombie\n", getpid(), exit_cod... |
link-store: add scry endpoint for getting unseen urls | ::
:: scry-only paths:
::
+:: (set url)
+:: /seen//some-path the ones we've seen here
+::
:: ?
-:: /seen/wood-url/some-path have we seen this here (scry only)
+:: /seen/wood-url/some-path have we seen this here
::
/+ *link, default-agent, verb, dbug
::
::
[%x %seen @ ^]
``noun+!>((is-seen t.t.path))
+ ::
+ [%x %unseen ... |
zephyr: tests: Test `common/timer.c` console commands
Test two console commands, gettime and timerinfo.
BRANCH=None
TEST=./twister
Code-Coverage: Zoss | */
#include <zephyr/ztest.h>
#include <zephyr/fff.h>
+#include <zephyr/shell/shell_dummy.h>
+#include "console.h"
#include "host_command.h"
#include "test/drivers/test_state.h"
#include "timer.h"
@@ -54,6 +56,49 @@ ZTEST(timer, init_from_zero)
zassert_equal(0, __hw_clock_source_init64_fake.arg0_history[0], NULL);
}
+ZT... |
SwipeMenu: make faster | @@ -39,6 +39,10 @@ export function SwipeMenu(
const [{ x, opacity }, springApi] = useSpring(() => ({
x: 0,
opacity: 0,
+ config: {
+ tension: 240,
+ friction: 30
+ }
}));
const activationDistance = threshold - menuWidth;
|
Remove deprecated code from telemetry_ariasdk once we have switched to Xcode 12 | @@ -30,20 +30,11 @@ public:
LOG_INFO("=== %s.%s [%s]", test.test_case_name(), test.name(), test.result()->Passed() ? "OK" : "FAILED");
if(!test.result()->Passed())
{
-#if 0
-// use something like this code after we switch to Xcode 12 and can
-// delete the deprecated code in the else block below. ADO 4251996
- XCTSourc... |
Disable Bluetooth test code to allow debugging
* Update targetHAL.cpp
Disable Bluetooth test code, causes a problem with debugging
* Code style fixes
Automated fixes for code style. | @@ -136,9 +136,8 @@ void nanoHAL_Initialize()
#if (NANOCLR_ESP32_BLE == TRUE)
// Bluetooth test code
// blehr_start(); // Heart rate monitor device test
- ibeacon_start(); // Ibeacon test code
+ // ibeacon_start(); // Ibeacon test code
#endif
-
}
void nanoHAL_Uninitialize()
|
libc/math: Update testcases for pow() and log()
Update testcase for pow() to input specific value which leads to
system hang.
Add testcases for log() to cover corner cases. | @@ -2026,6 +2026,32 @@ static void tc_libc_math_ldexpl(void)
TC_SUCCESS_RESULT();
}
+/**
+ * @fn :tc_libc_math_log
+ * @brief :Returns the natural (base-e) logarithm of x
+ * @Scenario :Returns the natural (base-e) logarithm of x
+ * API's covered :log
+ * Preconditions :None
+ * Postconditions :None
+ * @return :void
... |
Do not fail on EAGAIN
A call to avcodec_receive_frame() may return AVERROR(EAGAIN) if more
input is required. This is not an error, do not fail. | @@ -100,12 +100,14 @@ static int run_decoder(void *data) {
LOGE("Could not send video packet: %d", ret);
goto run_quit;
}
- if ((ret = avcodec_receive_frame(codec_ctx, decoder->frames->decoding_frame)) < 0) {
+ ret = avcodec_receive_frame(codec_ctx, decoder->frames->decoding_frame);
+ if (!ret) {
+ // a frame was recei... |
build/rtl8721csm: Copy a binary of boot param to the download tool path to flash it
Copy a binary of boot param to the download tool path to flash it. | @@ -158,6 +158,7 @@ function get_partition_sizes()
cp -p ${BIN_PATH}/km0_boot_all.bin ${IMG_TOOL_PATH}/km0_boot_all.bin
cp -p ${BIN_PATH}/km4_boot_all.bin ${IMG_TOOL_PATH}/km4_boot_all.bin
cp -p ${BIN_PATH}/km0_km4_image2.bin ${IMG_TOOL_PATH}/km0_km4_image2.bin
+cp -p ${BIN_PATH}/bootparam.bin ${IMG_TOOL_PATH}/bootpara... |
[Libc][dlib] Add STDIN_FILENO, STDOUT_FILENO and STDERR_FILENO to dlib sys/unistd.h . | #define _SYS_UNISTD_H
#ifdef RT_USING_DFS
+
+#define STDIN_FILENO 0 /* standard input file descriptor */
+#define STDOUT_FILENO 1 /* standard output file descriptor */
+#define STDERR_FILENO 2 /* standard error file descriptor */
+
#include <dfs_posix.h>
#else
#define _FREAD 0x0001 /* read enabled */
|
fix random seed for test | @@ -31,6 +31,7 @@ Y_UNIT_TEST_SUITE(TModelSummTests) {
NJson::TJsonValue params;
params.InsertValue("learning_rate", 0.01);
params.InsertValue("iterations", 100);
+ params.InsertValue("random_seed", 1);
TFullModel bigModel;
TEvalResult evalResult;
|
[firechip] Add a small target that should fit on all hosts | @@ -125,6 +125,20 @@ class FireSimQuadRocketConfig extends Config(
new WithFireSimConfigTweaks ++
new chipyard.QuadRocketConfig)
+// Should fit on all supported hosts
+class FireSimSmallSystemConfig extends Config(
+ new WithDefaultFireSimBridges ++
+ new WithDefaultMemModel ++
+ new WithBootROM ++
+ new WithPeripheryB... |
Base64: Update documentation of decoding function | * The conversion only happens if
*
* - the value of the key has type `string`
- * - the key value starts with `ELEKTRA_PLUGIN_BASE64_PREFIX` (`@`).
+ * - the key value starts with `ELEKTRA_PLUGIN_BASE64_PREFIX` (`"@BASE64"`).
*
* .
*
* @retval -1 if the function was unable to convert the value of `key`
* @retval 0 if n... |
[numerics] increase timeout for some specific tests | @@ -221,6 +221,7 @@ if(WITH_${COMPONENT}_TESTING)
# Oliverie
IF(NOT DEV_MODE)
SET(NCP_NEWTON_FBLSA-NCP_ZI1_PROPERTIES WILL_FAIL TRUE)
+ set_tests_properties(NCP_NEWTON_FBLSA-NCP_ZI1 TIMEOUT 60)
ENDIF(NOT DEV_MODE)
END_TEST() # NCP
|
add nightcore sound | @@ -150,7 +150,7 @@ def getoffset(offset, endtime, song):
def processaudio(my_info, beatmap, offset, endtime, mods, settings):
- dt = Mod.DoubleTime in mods
+ nc = Mod.Nightcore in mods
addmisssound = not (Mod.Relax in mods or Mod.Autopilot in mods)
skin_path = settings.skin_path
@@ -160,7 +160,7 @@ def processaudio(my... |
removed endl from being written into report | @@ -87,7 +87,7 @@ namespace ebi
{
match_stats.num_variants++;
if(report_type == ebi::vcf::INVALID) {
- file << vcf_variant.line << std::endl;
+ file << vcf_variant.line;
}
}
@@ -96,7 +96,7 @@ namespace ebi
match_stats.num_variants++;
match_stats.num_matches++;
if(report_type == ebi::vcf::VALID) {
- file << vcf_variant.... |
Don't send ACK in Short packet until handshake completes | @@ -2063,12 +2063,10 @@ ssize_t ngtcp2_conn_write_ack_pkt(ngtcp2_conn *conn, uint8_t *dest,
case NGTCP2_CS_CLIENT_WAIT_HANDSHAKE:
case NGTCP2_CS_CLIENT_HANDSHAKE_ALMOST_FINISHED:
case NGTCP2_CS_SERVER_INITIAL:
+ case NGTCP2_CS_SERVER_WAIT_HANDSHAKE:
nwrite = conn_write_handshake_ack_pkt(conn, dest, destlen,
NGTCP2_PKT_... |
Contract: Rephrase sentence | @@ -188,7 +188,7 @@ description = gives a list of places in which the plugin must appear.
For global plugins, for every placement additional placement information
can be given separated by slash (ignored by regular mountpoints).
- The places are referred to with the names given
+ The places refer to names given
in [ele... |
bump openblas version to v0.2.20 | %define PNAME %(echo %{pname} | tr [a-z] [A-Z])
Name: %{pname}-%{compiler_family}%{PROJ_DELIM}
-Version: 0.2.19
+Version: 0.2.20
Release: 1%{?dist}
Summary: An optimized BLAS library based on GotoBLAS2
License: BSD-3-Clause
|
avf: explicit types in api
Type: fix | */
option version = "1.0.0";
+import "vnet/interface_types.api";
/** \brief
@param client_index - opaque cookie to identify the sender
@@ -51,7 +52,7 @@ define avf_create_reply
{
u32 context;
i32 retval;
- u32 sw_if_index;
+ vl_api_interface_index_t sw_if_index;
};
/** \brief
@@ -65,7 +66,7 @@ autoreply define avf_dele... |
feat: add json_get_child() test | #include <json-actor.h>
+#define TEXT1 "{\"a\": 12, \"ab\": 481}"
+
char *get_json_text(char filename[]);
json_item_t *callback_test(json_item_t *item);
@@ -42,9 +44,12 @@ int main(int argc, char *argv[])
char *json_text = get_json_text(argv[1]);
json_item_t *root = json_parse(json_text, strlen(json_text));
-
struct si... |
odissey: do reattach if server connection lost on attach | @@ -259,15 +259,27 @@ od_frontend_attach(od_client_t *client, char *context)
od_routerstatus_t status;
od_server_t *server;
+ for (;;)
+ {
status = od_router_attach(client);
if (status != OD_ROK)
return OD_FE_EATTACH;
-
server = client->server;
+
+ if (server->io && !machine_connected(server->io)) {
+ od_log(&instance-... |
Writeback cache in ksceKernelCpuUnrestrictedMemcpy | @@ -89,6 +89,7 @@ static inline int ksceKernelCpuUnrestrictedMemcpy(void *dst, const void *src, si
asm ("mcr p15, 0, %0, c3, c0, 0" :: "r" (0xFFFF0000));
memcpy(dst, src, len);
+ ksceKernelCpuDcacheWritebackRange((uintptr_t)dst & ~0x1F, (len + 0x1F) & ~0x1F);
asm ("mcr p15, 0, %0, c3, c0, 0" :: "r" (prev_dacr));
return... |
nvptx does not have fprintf on device, switched this test case to printf | @@ -81,13 +81,13 @@ int main() {
success = success && rc_t_p;
#endif
-#pragma omp target map(tofrom: is_set) is_device_ptr(stderr)
+#pragma omp target map(tofrom: is_set)
{
#if IS_USM >= 1
// We use proprocessing macro, because cannot yet reference data in USM mode, even in an unused printf
- fprintf(stderr,"DEVICE : a... |
Rename argument of scePromoterUtilityDeletePkg
`void *unk` to `const char *titleid` | @@ -37,9 +37,11 @@ int scePromoterUtilityExit(void);
/**
* Delete a package from the LiveArea.
*
+ * @param[in] *titleid
+ *
* @return 0 on success.
*/
-int scePromoterUtilityDeletePkg(void *unk);
+int scePromoterUtilityDeletePkg(const char *titleid);
/**
* Update the LiveArea ressources of an app
|
filter_parser: use string as a default value | @@ -367,12 +367,12 @@ static struct flb_config_map config_map[] = {
"Multiple Parser entries are allowed (one per line)."
},
{
- FLB_CONFIG_MAP_BOOL, "Preserve_Key", FLB_FALSE,
+ FLB_CONFIG_MAP_BOOL, "Preserve_Key", "false",
0, FLB_TRUE, offsetof(struct filter_parser_ctx, preserve_key),
"Keep original Key_Name field in... |
remove module word from msgAlloc.h | @@ -33,12 +33,12 @@ msg_t *MsgAlloc_GetCurrentMsg(void);
error_return_t MsgAlloc_PullMsgToInterpret(msg_t **returned_msg);
// Luos task stack
-void MsgAlloc_LuosTaskAlloc(vm_t *module_concerned_by_current_msg, msg_t *concerned_msg);
+void MsgAlloc_LuosTaskAlloc(vm_t *container_concerned_by_current_msg, msg_t *concerned... |
Use setempty instead of setnil in table.remove | @@ -1217,7 +1217,7 @@ local function generate_exp_builtin_table_remove(exp, ctx)
if (TITAN_LIKELY(${UI} > 0)) {
${UI} = ${UI} - 1;
${SLOT_DECL} = &${CVALUE_T}->array[${UI}];
- setnilvalue(${SLOT});
+ setempty(${SLOT});
${HALFSIZE_DECL} = ${CVALUE_T}->sizearray / 2;
if (${UI} < ${HALFSIZE}) {
luaH_resizearray(L, ${CVALU... |
[library/threading] Fix bogus MSVC warning. | @@ -68,6 +68,7 @@ namespace NThreading {
}
static void Destroy(T* ptr) {
+ (void) ptr; /* Make MSVC happy. */
ptr->~T();
}
};
|
usb_pd_protocol: disable vconn on pd_suspend
this disables VCONN on a port before we start the TCPC firmware update.
BRANCH=none
TEST=tested TCPC firmware update on atlas | @@ -3843,6 +3843,9 @@ void pd_task(void *u)
pd_power_supply_reset(port);
#else
pd_power_supply_reset(port);
+#ifdef CONFIG_USBC_VCONN
+ set_vconn(port, 0);
+#endif
rstatus = tcpm_release(port);
if (rstatus != 0 && rstatus != EC_ERROR_UNIMPLEMENTED)
CPRINTS("TCPC p%d release failed!", port);
|
mmapstorage: fix spelling in plugin overview | @@ -118,7 +118,7 @@ productive use:
- [camel](camel/) reads and writes a very limited subset of [YAML][]
- [yamlcpp](yamlcpp/) reads and writes data in the [YAML][] format using [yaml-cpp](https://github.com/jbeder/yaml-cpp)
- [yanlr](yanlr/) reads data using a parser generated by [ANTLR](http://www.antlr.org)
-- [mmap... |
bn/asm/rsaz-avx2.pl: harmonize clang version detection. | @@ -66,7 +66,7 @@ if (!$avx && $win64 && ($flavour =~ /masm/ || $ENV{ASM} =~ /ml64/) &&
$addx = ($1>=11);
}
-if (!$avx && `$ENV{CC} -v 2>&1` =~ /(^clang version|based on LLVM) ([3-9])\.([0-9]+)/) {
+if (!$avx && `$ENV{CC} -v 2>&1` =~ /((?:^clang|LLVM) version|based on LLVM) ([3-9])\.([0-9]+)/) {
my $ver = $2 + $3/100.0... |
Declaring the arrays of fdLXUVFlare function into InitializeBodyFlare in the attempt of fix the Windows bug. | @@ -970,18 +970,18 @@ void fnForceBehaviorFlare(BODY *body,
void InitializeBodyFlare(BODY *body, CONTROL *control, UPDATE *update,
int iBody, int iModule) {
- double *daEnergyERGXUV, *daLXUVFlare, *daFFD, *daEnergyJOUXUV, *daLogEner;
- double *daLogEnerXUV, *daEnergyERG, *daEnergyJOU, *daEnerJOU;
-
- daEnergyERGXUV = m... |
Adopt new ConnectInputs structure | @@ -320,7 +320,7 @@ CBlock* CreateNewBlock(CWallet* pwallet, bool fProofOfStake, int64_t* pFees)
if (nBlockSigOps + nTxSigOps >= MAX_BLOCK_SIGOPS)
continue;
- if (!tx.ConnectInputs(txdb, mapInputs, mapTestPoolTmp, CDiskTxPos(1,1,1), pindexPrev, false, true))
+ if (!tx.ConnectInputs(txdb, mapInputs, mapTestPoolTmp, CDis... |
[dpos] Remove duplicate error type | @@ -22,16 +22,13 @@ const (
slotQueueMax = 100
)
-var (
- errBpTimeout = errors.New("block production timeout")
- errQuit = errors.New("shutdown initiated")
-)
+var errBpTimeout = errors.New("block production timeout")
// BlockFactory is the main data structure for DPoS block factory.
type BlockFactory struct {
*compon... |
rms/slurm: test re-enable of pmix build | @@ -72,7 +72,7 @@ Source1: slurm.epilog.clean
%bcond_with hdf5
%bcond_with lua
%bcond_with numa
-%bcond_with pmix
+%bcond_without pmix
%bcond_with nvml
# 4/11/18 karl@ices.utexas.edu - enable lua bindings
|
dm: virtio-i2c: minor fix
Change the condition of checking native adapter number.
Change sprintf to snprintf. | @@ -443,7 +443,7 @@ native_adapter_create(int bus, uint16_t slave_addr[], int n_slave)
return NULL;
}
- sprintf(native_path, "/dev/i2c-%d", bus);
+ snprintf(native_path, sizeof(native_path), "/dev/i2c-%d", bus);
fd = open(native_path, O_RDWR);
if (fd < 0) {
WPRINTF("virtio_i2c: failed to open %s\n", native_path);
@@ -6... |
FIX: cast a type to fit the output format in prefix stats. | @@ -608,9 +608,9 @@ ENGINE_ERROR_CODE prefix_get_stats(const char *prefix, const int nprefix, void *
pt->items_bytes_exclusive[ITEM_TYPE_SET],
pt->items_bytes_exclusive[ITEM_TYPE_MAP],
pt->items_bytes_exclusive[ITEM_TYPE_BTREE],
- pt->prefix_items,
- 0,
- 0,
+ (uint64_t)pt->prefix_items,
+ (uint64_t)0,
+ (uint64_t)0,
t... |
lib/socket-connect.c: gftp_connect_server(): tweaks / make more readable | @@ -188,7 +188,7 @@ int gftp_connect_server (gftp_request * request,
// with the proper info for future data connections:
// - see remote_addr, remote_addr_len, ai_family, ai_socktype
DEBUG_PRINT_FUNC
- struct addrinfo *res, *hostp, *current_hostp;
+ struct addrinfo *hostp, *current_hostp;
struct sockaddr * saddr;
char... |
Types based off of void *also* have no storage. | @@ -1282,7 +1282,7 @@ static void simpinit(Simp *s, Node *f)
s->isbigret = 1;
s->ret = gentemp(f->loc, mktyptr(f->loc, ty), &dcl);
declarearg(s, dcl);
- } else if (ty->type != Tyvoid) {
+ } else if (tybase(ty)->type != Tyvoid) {
s->isbigret = 0;
s->ret = gentemp(f->loc, ty, &dcl);
}
|
Fix resource leak spotted by coverity. | @@ -318,8 +318,10 @@ static int on_config_paths(h2o_configurator_command_t *cmd, h2o_configurator_con
path_ctx->mimemap = &path_ctx->pathconf->mimemap;
yoml_t *config_node = convert_path_config_node(cmd, value);
- if (config_node == NULL)
+ if (config_node == NULL) {
+ destroy_context(path_ctx);
return -1;
+ }
int cmd_... |
tools: Fix error message for check-readme.pl
Fixes: ("tools: Add a script to check README is up to date.") | @@ -26,7 +26,7 @@ $kubectl_gadget_path = shift or die "Usage: $0 relative_path_to_kubectl_gadget p
$readme_path = shift or die "Usage: $0 path_to_kubectl_gadget path_to_README";
if (substr($kubectl_gadget_path, 0, 1) ne '.') {
- die "kubectl-gadget must be absolute path: ${kubectl_gadget_path}";
+ die "kubectl-gadget m... |
Docs: dynamic_library_path needs reload not restart | <row>
<entry colname="col1">a list of absolute directory paths separated by colons</entry>
<entry colname="col2">$libdir</entry>
- <entry colname="col3">local<p>system</p><p>restart</p></entry>
+ <entry colname="col3">local<p>system</p><p>reload</p></entry>
</row>
</tbody>
</tgroup>
|
machinarium: properly set openssl errors message | @@ -33,57 +33,65 @@ void mm_tlsio_error_reset(mm_tlsio_t *io)
ERR_clear_error();
}
+static inline char*
+mm_tlsio_error_strerror(int error)
+{
+ switch (error) {
+ case SSL_ERROR_NONE:
+ return "SSL_ERROR_NONE";
+ case SSL_ERROR_SSL:
+ return "SSL_ERROR_SSL";
+ case SSL_ERROR_WANT_CONNECT:
+ return "SSL_ERROR_CONNECT";... |
wsman-client: set selectors to NULL to allow reuse | @@ -602,6 +602,7 @@ wsmc_set_selectors_from_uri(const char *resource_uri, client_opt_t * options)
if (options->selectors) {
list_destroy_nodes(options->selectors);
list_destroy(options->selectors);
+ options->selectors = NULL;
}
u_uri_t *uri = u_malloc(sizeof(u_uri_t));
u_uri_parse(resource_uri, &uri);
|
Check for nulls and check for dimm count out of bounds | @@ -1176,10 +1176,10 @@ InitializeDimmFieldsFromNfit(
OUT DIMM *pDimm
)
{
-
pDimm->Signature = DIMM_SIGNATURE;
pDimm->Configured = FALSE;
pDimm->ISsNum = 0;
+ if (pNvDimmRegionTbl != NULL) {
pDimm->SocketId = (UINT16) pNvDimmRegionTbl->DeviceHandle.NfitDeviceHandle.SocketId;
// BIOS sets this to 0x0 for every non-funct... |
Update doc/note/facts.md for facts vs truths | @@ -54,15 +54,21 @@ pub func foo.bar!(ic: nptr base.image_config) {
## Creating Facts
-One way to create a fact is by assignment. Immediately after the statement `a =
-rhs`, the boolean expression `a == rhs` is a true fact, provided that `rhs` is
-an expression with no [side effects](/doc/note/effects.md). That assignm... |
providers/common/der/oids_to_c.pm: Remove use of Data::Dumper
This is a development remnant, which should have been remove when finalized.
Fixes | @@ -23,8 +23,6 @@ my $OID_def_re = qr/
\s* ${OID_value_re}
/x;
-use Data::Dumper;
-
sub filter_to_H {
my ($name, $comment) = @{ shift() };
my @oid_nums = @_;
|
OcMachoLib: Fix LC boundary verification. | @@ -116,7 +116,7 @@ MachoInitializeContext (
Index < MachHeader->NumCommands;
++Index, Command = NEXT_MACH_LOAD_COMMAND (Command)
) {
- if ((((UINTN)Command + sizeof (*Command)) > ((UINTN)MachHeader + MachHeader->CommandsSize))
+ if ((((UINTN)Command + sizeof (*Command)) > TopOfCommands)
|| (Command->CommandSize < size... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.