message
stringlengths 6
474
| diff
stringlengths 8
5.22k
|
---|---|
autoprop: include desk name in install prop meta | ++ install
|= [as=desk =beak pri=?]
^- prop
- :^ %prop %install %hind
+ :^ %prop (rap 3 %install '-' as ~) %hind
::TODO will exclude non-:directories files, such as /changelog/txt
=- (murn - same)
^- (list (unit ovum))
|
Activate all BUILD_ options if none was specified | @@ -393,6 +393,13 @@ set(REVISION "-r${OpenBLAS_VERSION}")
set(MAJOR_VERSION ${OpenBLAS_MAJOR_VERSION})
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CCOMMON_OPT}")
+
+if (NOT BUILD_SINGLE AND NOT BUILD_DOUBLE AND NOT BUILD_COMPLEX AND NOT BUILD_COMPLEX16)
+ set (BUILD_SINGLE ON)
+ set (BUILD_DOUBLE ON)
+ set (BUILD_COMPLEX ON)
+ set (BUILD_COMPLEX16 ON)
+endif()
if (BUILD_SINGLE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -DBUILD_SINGLE")
endif()
|
fix spelling in error msg | @@ -262,7 +262,7 @@ void NCatboostOptions::TCatFeatureParams::Validate() const {
"Error in one_hot_max_size: maximum value of one-hot-encoding is 255");
const ui32 ctrComplexityLimit = GetMaxTreeDepth();
CB_ENSURE(MaxTensorComplexity.Get() < ctrComplexityLimit,
- "Error: max ctr complexity should be less then " << ctrComplexityLimit);
+ "Error: max ctr complexity should be less than " << ctrComplexityLimit);
if (!CtrLeafCountLimit.IsUnimplementedForCurrentTask()) {
CB_ENSURE(CtrLeafCountLimit.Get() > 0,
"Error: ctr_leaf_count_limit must be positive");
|
Pass DESTDIR directly to jpm bootstrap script. | @@ -285,11 +285,12 @@ install-jpm-git: $(JANET_TARGET)
mkdir -p build
rm -rf build/jpm
git clone --depth=1 https://github.com/janet-lang/jpm.git build/jpm
- cd build/jpm && PREFIX='$(DESTDIR)$(PREFIX)' \
- JANET_MANPATH='$(DESTDIR)$(JANET_MANPATH)' \
- JANET_HEADERPATH='$(DESTDIR)$(INCLUDEDIR)/janet' \
- JANET_BINPATH='$(DESTDIR)$(BINDIR)' \
- JANET_LIBPATH='$(DESTDIR)$(LIBDIR)' \
+ cd build/jpm && PREFIX='$(PREFIX)' \
+ DESTDIR=$(DESTDIR) \
+ JANET_MANPATH='$(JANET_MANPATH)' \
+ JANET_HEADERPATH='$(INCLUDEDIR)/janet' \
+ JANET_BINPATH='$(BINDIR)' \
+ JANET_LIBPATH='$(LIBDIR)' \
../../$(JANET_TARGET) ./bootstrap.janet
uninstall:
|
fix qt cpp language detection | @@ -153,7 +153,7 @@ function main(target, opt)
local cppversion = _get_target_cppversion(target)
if qt_sdkver:ge("6.0") then
-- add conditionnaly c++17 to avoid for example "cl : Command line warning D9025 : overriding '/std:c++latest' with '/std:c++17'" warning
- if (not cppversion) or (cppversion ~= "latest") or (tonumber(cppversion) and tonumber(cppversion) < 17) then
+ if (not cppversion) or (tonumber(cppversion) and tonumber(cppversion) < 17) then
target:add("languages", "c++17")
end
-- @see https://github.com/xmake-io/xmake/issues/2071
@@ -163,7 +163,7 @@ function main(target, opt)
end
else
-- add conditionnaly c++11 to avoid for example "cl : Command line warning D9025 : overriding '/std:c++latest' with '/std:c++11'" warning
- if (not cppversion) or (cppversion ~= "latest") or (tonumber(cppversion) and tonumber(cppversion) < 11) then
+ if (not cppversion) or (tonumber(cppversion) and tonumber(cppversion) < 11) then
target:add("languages", "c++11")
end
end
|
sysdeps/managarm: Report all stat() file types | @@ -3783,10 +3783,18 @@ int sys_stat(fsfd_target fsfdt, int fd, const char *path, int flags, struct stat
result->st_mode = S_IFREG; break;
case managarm::posix::FileType::FT_DIRECTORY:
result->st_mode = S_IFDIR; break;
+ case managarm::posix::FileType::FT_SYMLINK:
+ result->st_mode = S_IFLNK; break;
case managarm::posix::FileType::FT_CHAR_DEVICE:
result->st_mode = S_IFCHR; break;
case managarm::posix::FileType::FT_BLOCK_DEVICE:
result->st_mode = S_IFBLK; break;
+ case managarm::posix::FileType::FT_SOCKET:
+ result->st_mode = S_IFSOCK; break;
+ case managarm::posix::FileType::FT_FIFO:
+ result->st_mode = S_IFIFO; break;
+ default:
+ __ensure(!resp.file_type());
}
result->st_dev = 1;
|
Add a release timestamp to the collection | @@ -102,8 +102,8 @@ typedef struct clap_preset_discovery_metadata_receiver {
// It must be unique within the container file.
//
// The load_key is a machine friendly string used to load the preset inside the container via a
- // the preset-load plug-in extension. The load_key can also just be the subpath if that's what the
- // plugin wants but it could also be some other unique id like a database primary key or a
+ // the preset-load plug-in extension. The load_key can also just be the subpath if that's what
+ // the plugin wants but it could also be some other unique id like a database primary key or a
// binary offset. It's use is entirely up to the plug-in.
//
// If the function returns false, the the provider must stop calling back into the receiver.
@@ -193,6 +193,9 @@ typedef struct clap_preset_discovery_collection {
const char *homepage_url; // url to the pack's homepage
const char *vendor; // collection's vendor
const char *image_uri; // may be an image on disk or from an http server
+
+ // release date, in numbe of seconds since UNIX EPOCH, 0 if unavailable
+ uint64_t release_timestamp;
} clap_preset_discovery_collection_t;
// Describes a preset provider
|
calculate feature strengths if requested | #include <catboost/libs/algo/preprocess.h>
#include <catboost/libs/algo/roc_curve.h>
#include <catboost/libs/algo/train.h>
+#include <catboost/libs/fstr/output_fstr.h>
#include <catboost/libs/helpers/exception.h>
#include <catboost/libs/helpers/parallel_tasks.h>
#include <catboost/libs/helpers/restorable_rng.h>
@@ -592,6 +593,8 @@ void EvaluateFeatures(
const auto iterationCount = catBoostOptions.BoostingOptions->IterationCount.Get();
const auto topLevelTrainDir = outputFileOptions.GetTrainDir();
+ const bool isCalcFstr = outputFileOptions.CreateFstrRegularFullPath() || outputFileOptions.CreateFstrIternalFullPath();
+
for (auto foldIdx : xrange(foldCount)) {
THPTimer timer;
TErrorTracker errorTracker = CreateErrorTracker(
@@ -625,6 +628,21 @@ void EvaluateFeatures(
);
CATBOOST_INFO_LOG << "Fold " << (*foldContexts)[foldIdx].FoldIdx << ": model built in " <<
FloatToString(timer.Passed(), PREC_NDIGITS, 2) << " sec" << Endl;
+
+ if (isCalcFstr) {
+ auto foldOutputOptions = outputFileOptions;
+ foldOutputOptions.SetTrainDir(JoinFsPaths(topLevelTrainDir, foldTrainDir));
+ const auto foldRegularFstrPath = foldOutputOptions.CreateFstrRegularFullPath();
+ const auto foldInternalFstrPath = foldOutputOptions.CreateFstrIternalFullPath();
+ const auto& model = (*foldContexts)[foldIdx].FullModel.GetRef();
+ CalcAndOutputFstr(
+ model,
+ /*dataset*/nullptr,
+ &NPar::LocalExecutor(),
+ foldRegularFstrPath ? &foldRegularFstrPath : nullptr,
+ foldInternalFstrPath ? &foldInternalFstrPath : nullptr,
+ outputFileOptions.GetFstrType());
+ }
}
for (auto foldIdx : xrange(foldCount)) {
|
Fix some markdown links to /doc/glossary.md | @@ -82,9 +82,9 @@ reserved for impure effects.
Expressions involving the standard arithmetic operators (e.g. `*`, `+`), will
not compile if overflow is possible. Some of these operators have alternative
'tilde' forms (e.g. `~mod*`, `~sat+`) which provide
-[modular](/doc/glossary.md#modular-arithmetic.md) and
-[saturating](/doc/glossary.md#saturating-arithmetic.md) arithmetic. By
-definition, these never overflow.
+[modular](/doc/glossary.md#modular-arithmetic) and
+[saturating](/doc/glossary.md#saturating-arithmetic) arithmetic. By definition,
+these never overflow.
The `as` operator, e.g. `x as T`, converts an expression `x` to the type `T`.
|
DotNetTools: Fix 32bit build | @@ -178,10 +178,12 @@ VOID NTAPI ThreadsContextCreateCallback(
context->Type = THREAD_TREE_CONTEXT_TYPE;
context->ProcessId = threadsContext->Provider->ProcessId;
+#if _WIN64
if (threadsContext->Provider->ProcessHandle)
{
PhGetProcessIsWow64(threadsContext->Provider->ProcessHandle, &context->IsWow64);
}
+#endif
PhRegisterCallback(
&threadsContext->Provider->ThreadAddedEvent,
|
Fix for cloud_server | @@ -54,19 +54,9 @@ init(void)
return 0;
}
-void
-display_device_uuid(void)
-{
- char buffer[OC_UUID_LEN];
- oc_uuid_to_str(oc_core_get_device_id(0), buffer, sizeof(buffer));
-
- PRINT("Started device with ID: %s\n", buffer);
-}
-
static void
run(void)
{
- display_device_uuid();
while (quit != 1) {
oc_clock_time_t next_event = oc_main_poll();
if (next_event == 0) {
@@ -664,6 +654,15 @@ factory_presets_cb(size_t device, void *data)
#endif /* OC_SECURITY && OC_PKI */
}
+void
+display_device_uuid(void)
+{
+ char buffer[OC_UUID_LEN];
+ oc_uuid_to_str(oc_core_get_device_id(0), buffer, sizeof(buffer));
+
+ PRINT("Started device with ID: %s\n", buffer);
+}
+
int
main(int argc, char *argv[])
{
@@ -723,7 +722,7 @@ main(int argc, char *argv[])
oc_cloud_provision_conf_resource(ctx, cis, auth_code, sid, apn);
}
}
-
+ display_device_uuid();
run();
oc_cloud_manager_stop(ctx);
|
Increase cmake minimum version on windows
OpenSSL changes requires 3.20 at minimum. However on windows this isn't a difficult requirement to have | # Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
+if ("${CMAKE_HOST_SYSTEM_NAME}" STREQUAL "Windows")
+ cmake_minimum_required(VERSION 3.20)
+else()
cmake_minimum_required(VERSION 3.16)
+endif()
# Disable in-source builds to prevent source tree corruption.
if("${CMAKE_CURRENT_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}")
|
mtd/smart: Fix a compile error in smart_fsck
Fix a compile error caused by below commit.
Added SMART flash filesystem to RP2040
Add some macro functions for smartfs driver. | #define CLR_BITMAP(m, n) do { (m)[(n) / 8] &= ~(1 << ((n) % 8)); } while (0)
#define ISSET_BITMAP(m, n) ((m)[(n) / 8] & (1 << ((n) % 8)))
+#ifdef CONFIG_SMARTFS_ALIGNED_ACCESS
+# define SMARTFS_NEXTSECTOR(h) \
+ (uint16_t)((FAR const uint8_t *)(h)->nextsector)[1] << 8 | \
+ (uint16_t)((FAR const uint8_t *)(h)->nextsector)[0]
+
+# define SMARTFS_SET_NEXTSECTOR(h, v) \
+ do \
+ { \
+ ((FAR uint8_t *)(h)->nextsector)[0] = (v) & 0xff; \
+ ((FAR uint8_t *)(h)->nextsector)[1] = (v) >> 8; \
+ } while (0)
+
+#else
+# define SMARTFS_NEXTSECTOR(h) (*((FAR uint16_t *)(h)->nextsector))
+# define SMARTFS_SET_NEXTSECTOR(h, v) \
+ do \
+ { \
+ ((*((FAR uint16_t *)(h)->nextsector)) = (uint16_t)(v)); \
+ } while (0)
+
+#endif
+
#ifdef CONFIG_MTD_SMART_WEAR_LEVEL
/****************************************************************************
|
tapv2: coverity woe
coverity complains about fd leaking inside the if statement because there is
a goto which bypasses the statement close (fd).
The fix is to close (fd) immediately after it is no longer used. | @@ -182,6 +182,7 @@ tap_create_if (vlib_main_t * vm, tap_create_if_args_t * args)
if (args->host_namespace)
{
int fd;
+ int rc;
old_netns_fd = open ("/proc/self/ns/net", O_RDONLY);
if ((fd = open_netns_fd ((char *) args->host_namespace)) == -1)
{
@@ -197,14 +198,15 @@ tap_create_if (vlib_main_t * vm, tap_create_if_args_t * args)
args->rv = VNET_API_ERROR_NETLINK_ERROR;
goto error;
}
- if (setns (fd, CLONE_NEWNET) == -1)
+ rc = setns (fd, CLONE_NEWNET);
+ close (fd);
+ if (rc == -1)
{
args->rv = VNET_API_ERROR_SYSCALL_ERROR_3;
args->error = clib_error_return_unix (0, "setns '%s'",
args->host_namespace);
goto error;
}
- close (fd);
if ((vif->ifindex = if_nametoindex ((char *) args->host_if_name)) == 0)
{
args->rv = VNET_API_ERROR_SYSCALL_ERROR_3;
|
Taniks: Add board_kblight_shutdown
This patch adds kblight_shutdown.
BRANCH=None
TEST=Taniks | @@ -66,10 +66,16 @@ void board_init(void)
}
DECLARE_HOOK(HOOK_INIT, board_init, HOOK_PRIO_DEFAULT);
+__override void board_kblight_shutdown(void)
+{
+ gpio_set_level(GPIO_EC_KB_BL_EN_L, 1);
+}
__override void board_kblight_init(void)
{
+ gpio_set_level(GPIO_RGBKBD_SDB_L, 1);
gpio_set_level(GPIO_EC_KB_BL_EN_L, 0);
+ msleep(10);
}
#ifdef CONFIG_CHARGE_RAMP_SW
|
Autodetect Intel Ice Lake (as SKYLAKEX target) | @@ -1211,7 +1211,7 @@ int get_cpuname(void){
return CPUTYPE_CORE2;
}
break;
- case 1:
+ case 1: // family 6 exmodel 1
switch (model) {
case 6:
return CPUTYPE_CORE2;
@@ -1228,7 +1228,7 @@ int get_cpuname(void){
return CPUTYPE_DUNNINGTON;
}
break;
- case 2:
+ case 2: // family 6 exmodel 2
switch (model) {
case 5:
//Intel Core (Clarkdale) / Core (Arrandale)
@@ -1257,7 +1257,7 @@ int get_cpuname(void){
return CPUTYPE_NEHALEM;
}
break;
- case 3:
+ case 3: // family 6 exmodel 3
switch (model) {
case 7:
// Bay Trail
@@ -1287,7 +1287,7 @@ int get_cpuname(void){
return CPUTYPE_NEHALEM;
}
break;
- case 4:
+ case 4: // family 6 exmodel 4
switch (model) {
case 5:
case 6:
@@ -1321,7 +1321,7 @@ int get_cpuname(void){
return CPUTYPE_NEHALEM;
}
break;
- case 5:
+ case 5: // family 6 exmodel 5
switch (model) {
case 6:
//Broadwell
@@ -1364,7 +1364,7 @@ int get_cpuname(void){
return CPUTYPE_NEHALEM;
}
break;
- case 6:
+ case 6: // family 6 exmodel 6
switch (model) {
case 6: // Cannon Lake
if(support_avx512())
@@ -1377,6 +1377,19 @@ int get_cpuname(void){
return CPUTYPE_NEHALEM;
}
break;
+ case 7: // family 6 exmodel 7
+ switch (model) {
+ case 14: // Ice Lake
+ if(support_avx512())
+ return CPUTYPE_SKYLAKEX;
+ if(support_avx2())
+ return CPUTYPE_HASWELL;
+ if(support_avx())
+ return CPUTYPE_SANDYBRIDGE;
+ else
+ return CPUTYPE_NEHALEM;
+ }
+ break;
case 9:
case 8:
switch (model) {
|
deallocate based on pageheader size, reset r->p if it matches freed page, make r->p == 0 a condition which triggers a page advance | @@ -37,7 +37,7 @@ static u64 rolling_alloc(heap h, bytes len)
rolling r = (void *)h;
bytes actual = len;
- if ((r->offset + len) > r->p->length) {
+ if (!r->p || (r->offset + len) > r->p->length) {
if (len > r->parent->pagesize) {
// cant allocate in the remainder of a multipage allocation, since we cant find the header
actual = pad(len + sizeof(struct pageheader), r->parent->pagesize) - sizeof(struct pageheader);
@@ -59,10 +59,9 @@ static void rolling_free(heap h, u64 x, u64 length)
pageheader p = pointer_from_u64(x&(~(r->parent->pagesize-1)));
if (!--p->references) {
-#if 0
- /* XXX - something is b0rked at the moment */
- deallocate(r->parent, p, r->parent->pagesize);
-#endif
+ deallocate(r->parent, p, p->length);
+ if (r->p == p)
+ r->p = 0;
}
assert(h->allocated >= length);
h->allocated -= length;
@@ -88,7 +87,7 @@ heap allocate_rolling_heap(heap p, u64 align)
l->h.pagesize = align;
l->h.destroy = rolling_destroy;
l->h.allocated = 0;
- l->p = (void *)l;
+ l->p = 0;
l->parent = p;
l->offset = sizeof(struct rolling);
return(&l->h);
|
enable USB_SERIAL_GENERIC | @@ -9,7 +9,7 @@ diff -rupN old/linux-xlnx-xilinx-v2016.4/arch/arm/configs/xilinx_zynq_defconfig
CONFIG_MDIO_BITBANG=y
CONFIG_INPUT_SPARSEKMAP=y
CONFIG_INPUT_EVDEV=y
-@@ -239,3 +240,132 @@ CONFIG_RCU_CPU_STALL_TIMEOUT=60
+@@ -239,3 +240,133 @@ CONFIG_RCU_CPU_STALL_TIMEOUT=60
CONFIG_FONTS=y
CONFIG_FONT_8x8=y
CONFIG_FONT_8x16=y
@@ -48,7 +48,6 @@ diff -rupN old/linux-xlnx-xilinx-v2016.4/arch/arm/configs/xilinx_zynq_defconfig
+CONFIG_USB_NET_CDC_MBIM=m
+CONFIG_USB_NET_HUAWEI_CDC_NCM=m
+CONFIG_USB_NET_QMI_WWAN=m
-+CONFIG_USB_SERIAL_OPTION=m
+CONFIG_NETFILTER=y
+CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m
+CONFIG_NETFILTER_XT_MATCH_STATE=m
@@ -95,6 +94,8 @@ diff -rupN old/linux-xlnx-xilinx-v2016.4/arch/arm/configs/xilinx_zynq_defconfig
+CONFIG_USB_EHCI_TT_NEWSCHED=y
+CONFIG_SND_USB_AUDIO=m
+CONFIG_USB_SERIAL=m
++CONFIG_USB_SERIAL_GENERIC=y
++CONFIG_USB_SERIAL_OPTION=m
+CONFIG_USB_SERIAL_FTDI_SIO=m
+CONFIG_CIFS=m
+CONFIG_CIFS_STATS=y
|
fix FCFS stream scheduler | #if defined(__FreeBSD__) && !defined(__Userspace__)
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: head/sys/netinet/sctp_ss_functions.c 365071 2020-09-01 21:19:14Z mjg $");
+__FBSDID("$FreeBSD$");
#endif
#include <netinet/sctp_pcb.h>
@@ -814,11 +814,10 @@ sctp_ss_fcfs_init(struct sctp_tcb *stcb, struct sctp_association *asoc,
static void
sctp_ss_fcfs_clear(struct sctp_tcb *stcb, struct sctp_association *asoc,
- int clear_values, int holds_lock)
+ int clear_values SCTP_UNUSED, int holds_lock)
{
struct sctp_stream_queue_pending *sp;
- if (clear_values) {
if (holds_lock == 0) {
SCTP_TCB_SEND_LOCK(stcb);
}
@@ -828,10 +827,10 @@ sctp_ss_fcfs_clear(struct sctp_tcb *stcb, struct sctp_association *asoc,
sp->ss_next.tqe_next = NULL;
sp->ss_next.tqe_prev = NULL;
}
+ asoc->ss_data.last_out_stream = NULL;
if (holds_lock == 0) {
SCTP_TCB_SEND_UNLOCK(stcb);
}
- }
return;
}
|
board/mithrax/led.c: Format with clang-format
BRANCH=none
TEST=none | @@ -19,16 +19,23 @@ __override const int led_charge_lvl_2 = 94;
__override struct led_descriptor
led_bat_state_table[LED_NUM_STATES][LED_NUM_PHASES] = {
- [STATE_CHARGING_LVL_1] = {{EC_LED_COLOR_AMBER, LED_INDEFINITE} },
- [STATE_CHARGING_LVL_2] = {{EC_LED_COLOR_AMBER, LED_INDEFINITE} },
- [STATE_CHARGING_FULL_CHARGE] = {{EC_LED_COLOR_WHITE, LED_INDEFINITE} },
- [STATE_DISCHARGE_S0] = {{EC_LED_COLOR_WHITE, LED_INDEFINITE} },
- [STATE_DISCHARGE_S0_BAT_LOW] = {{EC_LED_COLOR_AMBER, 1 * LED_ONE_SEC},
+ [STATE_CHARGING_LVL_1] = { { EC_LED_COLOR_AMBER,
+ LED_INDEFINITE } },
+ [STATE_CHARGING_LVL_2] = { { EC_LED_COLOR_AMBER,
+ LED_INDEFINITE } },
+ [STATE_CHARGING_FULL_CHARGE] = { { EC_LED_COLOR_WHITE,
+ LED_INDEFINITE } },
+ [STATE_DISCHARGE_S0] = { { EC_LED_COLOR_WHITE,
+ LED_INDEFINITE } },
+ [STATE_DISCHARGE_S0_BAT_LOW] = { { EC_LED_COLOR_AMBER,
+ 1 * LED_ONE_SEC },
{ LED_OFF, 3 * LED_ONE_SEC } },
- [STATE_DISCHARGE_S3] = {{EC_LED_COLOR_WHITE, 1 * LED_ONE_SEC},
+ [STATE_DISCHARGE_S3] = { { EC_LED_COLOR_WHITE,
+ 1 * LED_ONE_SEC },
{ LED_OFF, 3 * LED_ONE_SEC } },
[STATE_DISCHARGE_S5] = { { LED_OFF, LED_INDEFINITE } },
- [STATE_BATTERY_ERROR] = {{EC_LED_COLOR_AMBER, 1 * LED_ONE_SEC},
+ [STATE_BATTERY_ERROR] = { { EC_LED_COLOR_AMBER,
+ 1 * LED_ONE_SEC },
{ LED_OFF, 1 * LED_ONE_SEC } },
};
|
docs: add standalone executable build instruction | @@ -55,6 +55,11 @@ make
sudo make install
```
+#### Standalone executable
+```
+gcc your-bot.c -o your-bot.exe -ldiscord -lcurl -lcrypto -lpthread -lm
+```
+
### For Windows
* If you do not have Ubuntu or Debian but have Windows 10, you can install WSL2 and get either Ubuntu or Debian [here](https://docs.microsoft.com/en-us/windows/wsl/install-win10).
|
OcAppleBootPolicyLib: Fix Apple UB | @@ -1344,7 +1344,6 @@ OcBootPolicyGetAllApfsRecoveryFilePath (
EFI_HANDLE *HandleBuffer;
APFS_VOLUME_INFO *VolumeInfo;
GUID *ContainerGuids;
- EFI_GUID ContainerGuid;
UINTN NumberOfContainers;
UINTN NumberOfVolumeInfos;
UINTN Index;
@@ -1417,7 +1416,7 @@ OcBootPolicyGetAllApfsRecoveryFilePath (
GuidPresent = FALSE;
for (Index2 = 0; Index2 < NumberOfContainers; ++Index2) {
- if (CompareGuid (&ContainerGuids[Index2], &ContainerGuid)) {
+ if (CompareGuid (&ContainerGuids[Index2], &VolumeInfo[NumberOfVolumeInfos].ContainerGuid)) {
GuidPresent = TRUE;
break;
}
|
Adding support for __restrict keyword for TI ARM compiler | #define __ALIGNED(x) __attribute__((aligned(x)))
#endif
#ifndef __RESTRICT
- #warning No compiler specific solution for __RESTRICT. __RESTRICT is ignored.
- #define __RESTRICT
+ #define __RESTRICT __restrict
#endif
|
docs: pop deprecated, updated to sec_params | @@ -27,7 +27,7 @@ Initialization of the **esp_local_ctrl** service over BLE transport is performed
.proto_sec = {
.version = PROTOCOM_SEC0,
.custom_handle = NULL,
- .pop = NULL,
+ .sec_params = NULL,
},
.handlers = {
/* User defined handler functions */
@@ -73,7 +73,7 @@ Similarly for HTTPS transport:
.proto_sec = {
.version = PROTOCOM_SEC0,
.custom_handle = NULL,
- .pop = NULL,
+ .sec_params = NULL,
},
.handlers = {
/* User defined handler functions */
|
Replace ModifyPostgresqlConfSetting with ModifyConfSetting. | @@ -164,31 +164,31 @@ class ConfExpSegCmd(Command):
raise
logger.info("Updating %s/postgresql.conf" % self.datadir)
- modifyPostgresqlConfCmd = ModifyPostgresqlConfSetting('Updating %s/postgresql.conf' % self.datadir,
+ modifyConfCmd = ModifyConfSetting('Updating %s/postgresql.conf' % self.datadir,
self.datadir + '/postgresql.conf',
'port', self.port, optType='number')
try:
- modifyPostgresqlConfCmd.run(validateAfter=True)
+ modifyConfCmd.run(validateAfter=True)
except:
- self.set_results(modifyPostgresqlConfCmd.get_results())
+ self.set_results(modifyConfCmd.get_results())
raise
- modifyPostgresqlConfCmd = ModifyPostgresqlConfSetting('Updating %s/postgresql.conf' % self.datadir,
+ modifyConfCmd = ModifyConfSetting('Updating %s/postgresql.conf' % self.datadir,
self.datadir + '/postgresql.conf',
'gp_contentid', self.contentid, optType='number')
try:
- modifyPostgresqlConfCmd.run(validateAfter=True)
+ modifyConfCmd.run(validateAfter=True)
except:
- self.set_results(modifyPostgresqlConfCmd.get_results())
+ self.set_results(modifyConfCmd.get_results())
raise
- modifyPostgresqlConfCmd = ModifyPostgresqlConfSetting('Updating %s/internal.auto.conf' % self.datadir,
+ modifyConfCmd = ModifyConfSetting('Updating %s/internal.auto.conf' % self.datadir,
self.datadir + '/internal.auto.conf',
'gp_dbid', self.dbid, optType='number')
try:
- modifyPostgresqlConfCmd.run(validateAfter=True)
+ modifyConfCmd.run(validateAfter=True)
except:
- self.set_results(modifyPostgresqlConfCmd.get_results())
+ self.set_results(modifyConfCmd.get_results())
raise
# We might need to stop the segment if the last setup failed past this point
|
profileOverlay: add dropdown options | @@ -4,7 +4,8 @@ import { Contact, Group } from '~/types';
import { cite, useShowNickname } from '~/logic/lib/util';
import { Sigil } from '~/logic/lib/sigil';
-import { Box, Col, Row, Button, Text, BaseImage, ColProps, Icon } from '@tlon/indigo-react';
+import { Box, Col, Row, Text, BaseImage, ColProps, Icon } from '@tlon/indigo-react';
+import { Dropdown } from './Dropdown';
import { withLocalState } from '~/logic/state/local';
export const OVERLAY_HEIGHT = 250;
@@ -114,7 +115,44 @@ class ProfileOverlay extends PureComponent<ProfileOverlayProps, {}> {
{...rest}
>
<Row color='black' width='100%' height="3rem">
- <Icon icon="Menu"/>
+ <Dropdown
+ dropWidth="150px"
+ width="auto"
+ alignY="top"
+ alignX="left"
+ options={
+ <Col
+ mt='4'
+ p='1'
+ backgroundColor="white"
+ color="washedGray"
+ border={1}
+ borderRadius={2}
+ borderColor="lightGray"
+ boxShadow="0px 0px 0px 3px">
+ <Row
+ p={1}
+ color='black'
+ cursor='pointer'
+ fontSize={0}
+ onClick={() => history.push('/~profile/' + window.ship)}>
+ View Profile
+ </Row>
+ {(!isOwn) && (
+ <Row
+ p={1}
+ color='black'
+ cursor='pointer'
+ fontSize={0}
+ onClick={() => history.push(`/~landscape/dm/${ship}`)}
+ >
+ Send Message
+ </Row>
+ )}
+ </Col>
+ }>
+ <Icon icon="Menu" mr='3'/>
+ </Dropdown>
{(!isOwn) && (
<Icon icon="Chat" size={16} onClick={() => history.push(`/~landscape/dm/${ship}`)}/>
)}
|
Fix typo in ifndef OPENSSL_NO_ENGINES.
All other instances are OPENSSL_NO_ENGINE without the trailing "S".
Fixes build when configured with no-engine.
CLA: trivial | @@ -845,7 +845,7 @@ static int SortFnByName(const void *_f1, const void *_f2)
static void list_engines(void)
{
-#ifndef OPENSSL_NO_ENGINES
+#ifndef OPENSSL_NO_ENGINE
ENGINE *e;
BIO_puts(bio_out, "Engines:\n");
|
iOS: remove reunpacking frameworks zip in fcm push ext | @@ -1261,14 +1261,16 @@ namespace "config" do
end
end
- # unpack Google frameworks zip
+ # unpack Google frameworks zip- only in case of sources of RHodes used - in case of GEM zip unpacked during installation
if RUBY_PLATFORM =~ /darwin/
currentdir = Dir.pwd()
if File.exists?(File.dirname(__FILE__) + "/../../../lib/extensions/fcm-push/ext/iphone/Frameworks/Frameworks.zip")
+ if !File.exists?(File.dirname(__FILE__)+ "/../../../lib/extensions/fcm-push/ext/iphone/Frameworks/FirebaseCore.xcframework")
chdir (File.dirname(__FILE__) + "/../../../lib/extensions/fcm-push/ext/iphone/Frameworks/")
system("unzip Frameworks.zip")
rm_rf "Frameworks.zip"
end
+ end
Dir.chdir currentdir
end
|
Fix assembly example | # Example of dst bytecode assembly
# Fibonacci sequence, implemented with naive recursion.
-(def fibasm (asm '{
- arity 1
- bytecode [
- (ltim 1 0 0x2) # $1 = $0 < 2
+(def fibasm
+ (asm
+ '{:arity 1
+ :bytecode @[(ltim 1 0 0x2) # $1 = $0 < 2
(jmpif 1 :done) # if ($1) goto :done
(lds 1) # $1 = self
(addim 0 0 -0x1) # $0 = $0 - 1
(add 0 0 2) # $0 = $0 + $2 (integers)
:done
(ret 0) # return $0
- ]
-}))
+]}))
# Test it
|
Add a note about pe.rva_to_offset(pe.entry_point) | @@ -965,3 +965,7 @@ Reference
Function returning the file offset for RVA *addr*.
*Example: pe.rva_to_offset(pe.entry_point)*
+
+ Passing `pe.entry_point` here only makes sense when scanning a process. This
+ is because `pe.entry_point` will be an RVA when scanning a process and a
+ file offset when scanning a file.
|
artik055s/audio: supress no-address-of-packed-member warnings
Toolchain 10.2.1 adds warning for unaligned pointer values cause by
packed struct. Supress the warnings as we use -Werror flag | @@ -106,10 +106,10 @@ endif
ARCHCFLAGS = -fno-builtin -mcpu=cortex-r4 -mfpu=vfpv3
ARCHCXXFLAGS = -fno-builtin -mcpu=cortex-r4 -mfpu=vfpv3
ifeq ($(QUICKBUILD),y)
-ARCHWARNINGS = -Wall -Werror -Wstrict-prototypes -Wshadow -Wundef -Wno-implicit-function-declaration -Wno-unused-function -Wno-unused-but-set-variable
+ARCHWARNINGS = -Wall -Werror -Wstrict-prototypes -Wshadow -Wundef -Wno-implicit-function-declaration -Wno-unused-function -Wno-unused-but-set-variable -Wno-address-of-packed-member
ARCHWARNINGSXX = -Wall -Wshadow -Wundef
else
-ARCHWARNINGS = -Wall -Werror -Wstrict-prototypes -Wshadow -Wundef -Wno-implicit-function-declaration -Wno-unused-function -Wno-unused-but-set-variable
+ARCHWARNINGS = -Wall -Werror -Wstrict-prototypes -Wshadow -Wundef -Wno-implicit-function-declaration -Wno-unused-function -Wno-unused-but-set-variable -Wno-address-of-packed-member
ARCHWARNINGSXX = -Wall -Wshadow -Wundef
# only version 4.9 supports color diagnostics
ifeq "$(ARCHMAJOR)" "4"
|
Add pretty.reindent_c to coder | local checker = require "titan-compiler.checker"
local util = require "titan-compiler.util"
+local pretty = require "titan-compiler.pretty"
local coder = {}
@@ -24,9 +25,10 @@ int luaopen_$MODNAME(lua_State *L) {
]]
generate_program = function(prog, modname)
- return util.render(whole_file_template, {
+ local code = util.render(whole_file_template, {
MODNAME = modname,
})
+ return pretty.reindent_c(code)
end
return coder
|
BugID:16983104: Fix the KV typo error (no impact to the module function) | @@ -575,7 +575,7 @@ static int kv_item_update(kv_item_t *item, const char *key, const void *val,
int res;
if (item->hdr.val_len == len) {
- if (!memcpy(item->store + item->hdr.key_len, val, len)) {
+ if (!memcmp(item->store + item->hdr.key_len, val, len)) {
return RES_OK;
}
}
|
[chainmaker][#436]add test_02InitSetTxParam_0007setTxParamFailureNULLParam | @@ -152,6 +152,15 @@ START_TEST(test_02InitSetTxParam_0006setTxParamFailureOddParam)
}
END_TEST
+START_TEST(test_02InitSetTxParam_0007setTxParamSucessNULLParam)
+{
+ BSINT32 rtnVal;
+ BoatHlchainmakerTx tx_ptr;
+
+ rtnVal = BoatHlchainmakerAddTxParam(&tx_ptr, 0, NULL);
+ ck_assert_int_eq(rtnVal, 0);
+}
+END_TEST
Suite *make_parameters_suite(void)
@@ -171,6 +180,7 @@ Suite *make_parameters_suite(void)
tcase_add_test(tc_paramters_api, test_02InitSetTxParam_0004setTxParamFailureShortParam);
tcase_add_test(tc_paramters_api, test_02InitSetTxParam_0005setTxParamFailureLongParam);
tcase_add_test(tc_paramters_api, test_02InitSetTxParam_0006setTxParamFailureOddParam);
+ tcase_add_test(tc_paramters_api, test_02InitSetTxParam_0007setTxParamSucessNULLParam);
return s_paramters;
}
|
Tiebreaker: Add RNG Collision Warning | #include <ross.h>
+#define ROSS_WARN_TIE_COLLISION 1
+
#define UP(t) ((t)->up)
#define UPUP(t) ((t)->up->up)
#define LEFT(t) ((t)->next)
@@ -117,6 +119,13 @@ static unsigned int tw_pq_compare_less_than_rand(tw_event *n, tw_event *e)
else if (n->event_id > e->event_id)
return 0;
else {
+ if (ROSS_WARN_TIE_COLLISION)
+ printf("ROSS Splay Tree Warning: Identical Tiebreaker and Event IDs found - Implies RNG Collision\n");
+ if(n->send_pe < e->send_pe)
+ return 1;
+ else if (n->send_pe > e->send_pe)
+ return 0;
+ else
tw_error(TW_LOC,"Identical events found - impossible\n");
}
}
|
Small fixes of cryptodev engine
guard CRYPTO_3DES_CBC
add a missing cast | @@ -176,7 +176,9 @@ static struct {
} ciphers[] = {
{CRYPTO_ARC4, NID_rc4, 0, 16},
{CRYPTO_DES_CBC, NID_des_cbc, 8, 8},
+# if !defined(CRYPTO_ALGORITHM_MIN) || defined(CRYPTO_3DES_CBC)
{CRYPTO_3DES_CBC, NID_des_ede3_cbc, 8, 24},
+# endif
# if !defined(CRYPTO_ALGORITHM_MIN) || defined(CRYPTO_3DES_ECB)
{CRYPTO_3DES_ECB, NID_des_ede3_ecb, 0, 24},
# endif
@@ -1144,7 +1146,7 @@ static int cryptodev_digest_final(EVP_MD_CTX *ctx, unsigned char *md)
cryp.ses = sess->ses;
cryp.flags = 0;
cryp.len = state->mac_len;
- cryp.src = state->mac_data;
+ cryp.src = (void *)state->mac_data;
cryp.dst = NULL;
cryp.mac = (void *)md;
if (ioctl(state->d_fd, CIOCCRYPT, &cryp) < 0) {
|
Fix typo in sway.5.scd
small typo fix (ptt => ppt) | @@ -215,7 +215,7 @@ set|plus|minus|toggle <amount>
If unspecified, the default is 10 pixels. Pixels are ignored when moving
tiled containers.
-*move* [absolute] position <pos_x> [px|ppt] <pos_y> [px|ptt]
+*move* [absolute] position <pos_x> [px|ppt] <pos_y> [px|ppt]
Moves the focused container to the specified position in the workspace.
The position can be specified in pixels or percentage points, omitting
the unit defaults to pixels. If _absolute_ is used, the position is
|
integration: Add test for socket-collector. | @@ -239,6 +239,29 @@ func TestProcessCollector(t *testing.T) {
runCommands(commands, t)
}
+func TestSocketCollector(t *testing.T) {
+ if *githubCI {
+ t.Skip("Cannot run socket-collector within GitHub CI.")
+ }
+
+ commands := []*command{
+ {
+ name: "Run nginx pod",
+ cmd: "kubectl run --restart=Never --image=nginx -n test-ns test-pod",
+ expectedRegexp: "pod/test-pod created",
+ },
+ waitUntilTestPodReady,
+ {
+ name: "Run socket-collector gadget",
+ cmd: "$KUBECTL_GADGET socket-collector -n test-ns",
+ expectedRegexp: `test-ns\s+test-pod\s+TCP\s+0\.0\.0\.0`,
+ },
+ deleteTestPod,
+ }
+
+ runCommands(commands, t)
+}
+
func TestTraceloop(t *testing.T) {
commands := []*command{
{
|
add missing variable in processTx's PRINTF | @@ -596,7 +596,7 @@ parserStatus_e processTx(txContext_t *context,
context->commandLength = length;
context->processingFlags = processingFlags;
result = processTxInternal(context);
- PRINTF("result: %d\n");
+ PRINTF("result: %d\n", result);
}
CATCH_OTHER(e) {
result = USTREAM_FAULT;
|
fix oc_rep_shrink_encoder_buf
If the buffer is not used by the encoder, do not shrink it. | @@ -160,7 +160,8 @@ oc_rep_shrink_encoder_buf(uint8_t *buf)
if (!g_enable_realloc || !buf || !g_buf_ptr || buf != g_buf)
return buf;
int size = oc_rep_get_encoded_payload_size();
- if (size < 0) {
+ if (size <= 0) {
+ // if the size is 0, then it means that the encoder was not used at all
return buf;
}
uint8_t *tmp = (uint8_t *)realloc(buf, size);
|
[build] Add 'network' REQUIREMENTS to valid requirements list | @@ -131,7 +131,7 @@ def validate_test(kw, is_fuzz_test):
errors.append("Invalid requirement syntax [[imp]]{}[[rst]]: expect <requirement>:<value>".format(req))
in_autocheck = "ya:not_autocheck" not in tags and 'ya:manual' not in tags
- invalid_requirements_for_distbuild = [requirement for requirement in requirements.keys() if requirement not in ('ram', 'ram_disk', 'cpu')]
+ invalid_requirements_for_distbuild = [requirement for requirement in requirements.keys() if requirement not in ('ram', 'ram_disk', 'cpu', 'network')]
sb_tags = [tag for tag in tags if tag.startswith('sb:')]
# XXX remove when the dust settles
if 'ya:force_distbuild' in tags:
|
chat: fixed embedded scroll item disability
Fixes | @@ -244,7 +244,17 @@ export default class VirtualScroller extends PureComponent<VirtualScrollerProps,
element.addEventListener('wheel', (event) => {
event.preventDefault();
const normalized = normalizeWheel(event);
+ if (
+ (event.target.scrollHeight > event.target.clientHeight && event.target.clientHeight > 0) // If we're scrolling something with a scrollbar
+ && (
+ (event.target.scrollTop > 0 && event.deltaY < 0) // Either we're not at the top and scrolling up
+ || (event.target.scrollTop < event.target.scrollHeight - event.target.clientHeight && event.deltaY > 0) // Or we're not at the bottom and scrolling down
+ )
+ ) {
+ event.target.scrollBy(0, normalized.pixelY);
+ } else {
element.scrollBy(0, normalized.pixelY * -1);
+ }
return false;
}, { passive: false });
window.addEventListener('keydown', this.invertedKeyHandler, { passive: false });
|
Update arm-gcc version in Travis CI
Update arm-gcc version from 4.9 to 6.3
Add artik053/grpc config to test grpc build | @@ -8,22 +8,22 @@ services:
- docker
env:
-- BUILD_CONFIG=artik053/minimal
-- BUILD_CONFIG=artik053/tc
+- BUILD_CONFIG=artik055s/audio
+- BUILD_CONFIG=artik053/grpc
- BUILD_CONFIG=artik053/st_things
+- BUILD_CONFIG=artik053/tc
- BUILD_CONFIG=artik053/iotjs
-- BUILD_CONFIG=artik055s/audio
+- BUILD_CONFIG=artik053/minimal
- BUILD_CONFIG=qemu/tc_64k
-
before_install:
-- docker pull tizenrt/tizenrt:1.2
+- docker pull tizenrt/tizenrt:1.4.4
- echo "${TRAVIS_BUILD_DIR}"
script:
-- docker run -d -it --name tizenrt_docker -v ${TRAVIS_BUILD_DIR}:/root/tizenrt -w /root/tizenrt/os tizenrt/tizenrt:1.2 /bin/bash
+- docker run -d -it --name tizenrt_docker -v ${TRAVIS_BUILD_DIR}:/root/tizenrt -w /root/tizenrt/os tizenrt/tizenrt:1.4.4 /bin/bash
+- docker exec tizenrt_docker arm-none-eabi-gcc --version
- docker exec tizenrt_docker make distclean
- docker exec -it tizenrt_docker bash -c "cd tools; ./configure.sh ${BUILD_CONFIG}"
-- docker exec -it tizenrt_docker bash -c "export PATH=/root/gcc-arm-none-eabi-4_9-2015q3/bin:$PATH;make;"
-
+- docker exec -it tizenrt_docker bash -c "make"
|
oculus_mobile: Fix vrapi_getView* signatures; | @@ -81,7 +81,7 @@ static uint32_t vrapi_getViewCount(void) {
return 2;
}
-static void vrapi_getViewPose(uint32_t view, float* position, float* orientation) {
+static bool vrapi_getViewPose(uint32_t view, float* position, float* orientation) {
if (view > 1) return false;
float transform[16];
mat4_init(transform, bridgeLovrMobileData.updateData.eyeViewMatrix[view]);
@@ -91,7 +91,7 @@ static void vrapi_getViewPose(uint32_t view, float* position, float* orientation
return true;
}
-static void vrapi_getViewAngles(uint32_t view, float* left, float* right, float* up, float* down) {
+static bool vrapi_getViewAngles(uint32_t view, float* left, float* right, float* up, float* down) {
return false; // TODO decompose projection matrix into fov angles
}
|
netutils/netcat: sendfile related code refactoring + small fixes | @@ -78,6 +78,33 @@ int do_io(int infd, int outfd)
return EXIT_SUCCESS;
}
+#ifdef CONFIG_NETUTILS_NETCAT_SENDFILE
+int do_io_over_sendfile(int infd, int outfd, ssize_t len)
+{
+ off_t offset = 0;
+ ssize_t written;
+
+ while (len > 0)
+ {
+ written = sendfile(outfd, infd, &offset, len);
+
+ if (written == -1 && errno == EAGAIN)
+ {
+ continue;
+ }
+ else if (written == -1)
+ {
+ perror("do_io: sendfile error");
+ return 5;
+ }
+
+ len -= written;
+ }
+
+ return EXIT_SUCCESS;
+}
+#endif
+
int netcat_server(int argc, char * argv[])
{
int id = -1;
@@ -170,8 +197,6 @@ int netcat_client(int argc, char * argv[])
int result = EXIT_SUCCESS;
#ifdef CONFIG_NETUTILS_NETCAT_SENDFILE
struct stat stat_buf;
- off_t offset;
- ssize_t len;
#endif
if (argc > 1)
@@ -198,7 +223,7 @@ int netcat_client(int argc, char * argv[])
#ifdef CONFIG_NETUTILS_NETCAT_SENDFILE
if (fstat(infd, &stat_buf) == -1)
{
- perror("fstat");
+ perror("error: fstat: Could not get the input file size");
infd = STDIN_FILENO;
result = 1;
goto out;
@@ -234,25 +259,7 @@ int netcat_client(int argc, char * argv[])
#ifdef CONFIG_NETUTILS_NETCAT_SENDFILE
if (argc > 3)
{
- len = stat_buf.st_size;
- offset = 0;
-
- while (len > 0)
- {
- result = sendfile(id, infd, &offset, len);
-
- if (result == -1 && errno == EAGAIN)
- {
- continue;
- }
- else if (result == -1)
- {
- perror("sendfile error");
- break;
- }
-
- len -= result;
- }
+ result = do_io_over_sendfile(infd, id, stat_buf.st_size);
}
else
#endif
|
prepare to read raw text file | @@ -4014,36 +4014,58 @@ static bool processrawfile(char *rawinname)
static int len;
static long int linecount;
static FILE *fh_raw_in;
-
+static char *csptr;
static char linein[RAW_LEN_MAX];
if(initlists() == false) return false;
-
if((fh_raw_in = fopen(rawinname, "r")) == NULL)
{
fprintf(stderr, "failed to open raw file %s\n", rawinname);
return false;
}
-
linecount = 0;
while(1)
{
- linecount++;
if((len = fgetline(fh_raw_in, RAW_LEN_MAX, linein)) == -1) break;
+ linecount++;
if(len < 23) continue;
if((linein[16] != '*') && (linein[21] != '*'))
{
- printf("delimiter error\n");
- if(fh_log != NULL) fprintf(fh_log, "failed to set file pointer: %ld\n", linecount);
+ printf("delimiter error line: %ld\n", linecount);
+ if(fh_log != NULL) fprintf(fh_log, "delimiter error line: %ld\n", linecount);
+ pcapreaderrors++;
+ continue;
+ }
+ csptr = strchr(linein +22, '*');
+ if(csptr == NULL)
+ {
+ printf("delimiter error line: %ld\n", linecount);
+ if(fh_log != NULL) fprintf(fh_log, "delimiter error line: %ld\n", linecount);
+ pcapreaderrors++;
+ continue;
+ }
+ if(((csptr -linein) %2) != 0)
+ {
+ printf("delimiter error line: %ld\n", linecount);
+ if(fh_log != NULL) fprintf(fh_log, "delimiter error line: %ld\n", linecount);
+ pcapreaderrors++;
+ continue;
+ }
+ if((len -(csptr -linein)) < 3)
+ {
+ printf("delimiter error line: %ld\n", linecount);
+ if(fh_log != NULL) fprintf(fh_log, "delimiter error line: %ld\n", linecount);
pcapreaderrors++;
continue;
}
rawpacketcount++;
}
+
printf("\nsummary raw file\n"
"----------------\n"
"file name................................: %s\n"
- , basename(rawinname));
+ "lines read...............................: %ld\n"
+ , basename(rawinname),linecount);
printlinklayerinfo();
cleanupmac();
|
Poll manager: support ZHALightLevel and ZHAPresence for mains powered sensors | @@ -79,6 +79,8 @@ void PollManager::poll(RestNodeBase *restNode, const QDateTime &tStart)
suffix == RStateColorMode ||
(suffix == RStateConsumption && sensor && sensor->type() == QLatin1String("ZHAConsumption")) ||
(suffix == RStatePower && sensor && sensor->type() == QLatin1String("ZHAPower")) ||
+ (suffix == RStatePresence && sensor && sensor->type() == QLatin1String("ZHAPresence")) ||
+ (suffix == RStateLightLevel && sensor && sensor->type() == QLatin1String("ZHALightLevel")) ||
suffix == RAttrModelId)
{
// DBG_Printf(DBG_INFO_L2, " attribute %s\n", suffix);
@@ -321,6 +323,17 @@ void PollManager::pollTimerFired()
}
}
}
+ else if (suffix == RStatePresence)
+ {
+ clusterId = OCCUPANCY_SENSING_CLUSTER_ID;
+ attributes.push_back(0x0000); // Occupancy
+ attributes.push_back(0x0010); // PIR Occupied To Unoccupied Delay
+ }
+ else if (suffix == RStateLightLevel)
+ {
+ clusterId = ILLUMINANCE_MEASUREMENT_CLUSTER_ID;
+ attributes.push_back(0x0000); // Measured Value
+ }
else if (suffix == RStateConsumption)
{
clusterId = METERING_CLUSTER_ID;
|
Core.Error: return Result type from `fromFailable`
Working towards a cleaner separation of different kinds of error
handling. | {-# LANGUAGE DeriveDataTypeable #-}
+{-# LANGUAGE DeriveFunctor #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE ScopedTypeVariables #-}
{-# OPTIONS_GHC -fno-warn-orphans #-}
@@ -155,19 +156,38 @@ hsluaErrorRegistryField = "HSLUA_ERR"
-- CInt should be converted.
newtype Failable a = Failable CInt
--- | Convert from Failable to target type, throwing an error if the value
--- indicates a failure.
-fromFailable :: (CInt -> a) -> Failable a -> Lua a
+-- | Convert from Failable to target type if possible, returning
+-- @'Nothing'@ if there was a failure.
+fromFailable :: (CInt -> a) -> Failable a -> Lua (Result a)
fromFailable fromCInt (Failable x) =
if x < 0
- then throwTopMessage
- else return (fromCInt x)
+ then return ErrorOnStack
+ else return (Success $ fromCInt x)
+
+-- | The result of a Lua operation which may throw an error.
+data Result a
+ = Success a
+ | ErrorOnStack
+ deriving
+ ( Eq
+ , Functor
+ , Ord
+ , Show
+ )
+
+-- | Return a result or throw the error object at the top of the
+-- stack as an exception.
+forceResult :: Result a -> Lua a
+forceResult = \case
+ ErrorOnStack -> throwTopMessage
+ Success x -> return x
-- | Throw a Haskell exception if the computation signaled a failure.
throwOnError :: Failable () -> Lua ()
-throwOnError = fromFailable (const ())
+throwOnError x = fromFailable (const ()) x >>= forceResult
-- | Convert lua boolean to Haskell Bool, throwing an exception if the return
-- value indicates that an error had happened.
boolFromFailable :: Failable Lua.LuaBool -> Lua Bool
-boolFromFailable = fmap fromLuaBool . fromFailable Lua.LuaBool
+boolFromFailable x = fromFailable Lua.LuaBool x
+ >>= (fmap fromLuaBool . forceResult)
|
update readme for 1.5 release | @@ -57,6 +57,7 @@ Enjoy!
### Releases
+* 2020-02-09, `v1.5.0`: stable release 1.5: improved free performance, small bug fixes.
* 2020-01-22, `v1.4.0`: stable release 1.4: improved performance for delayed OS page reset,
more eager concurrent free, addition of STL allocator, fixed potential memory leak.
* 2020-01-15, `v1.3.0`: stable release 1.3: bug fixes, improved randomness and [stronger
|
add default setting if missing auto | @@ -3,6 +3,7 @@ import os
from autologging import traced, logged
+from ..global_var import defaultsettings
from ..osrparse.enums import Mod
from ..Parser.skinparser import Skin
@@ -58,10 +59,18 @@ def setupglobals(data, gameplaydata, mod_combination, settings, ppsettings=None)
settings.skin_ini = skin
settings.default_skin_ini = skin
- gameplaydata["Enable PP counter"] = gameplaydata.get("Enable PP counter", False)
- gameplaydata["Song delay"] = gameplaydata.get("Song delay", 0)
- gameplaydata["Show mods icon"] = gameplaydata.get("Show mods icon", True)
- gameplaydata["Custom mods"] = gameplaydata.get("Custom mods", "")
+ # gameplaydata["Enable PP counter"] = gameplaydata.get("Enable PP counter", False)
+ # gameplaydata["Song delay"] = gameplaydata.get("Song delay", 0)
+ # gameplaydata["Show mods icon"] = gameplaydata.get("Show mods icon", True)
+ # gameplaydata["Custom mods"] = gameplaydata.get("Custom mods", "")
+ # gameplaydata["Use FFmpeg video writer"] = gameplaydata.get("Use FFmpeg video writer", False)
+ # gameplaydata["FFmpeg codec"] = gameplaydata.get("Use FFmpeg video writer", False)
+ # gameplaydata["Use FFmpeg video writer"] = gameplaydata.get("Use FFmpeg video writer", False)
+
+ for setting in defaultsettings:
+ if setting not in gameplaydata:
+ gameplaydata[setting] = defaultsettings[setting]
+
settings.settings = gameplaydata
if ppsettings is not None:
|
Improve documentation,for | @@ -142,11 +142,13 @@ These options control the behaviour of **carbon-c-relay**.
connection refused errors on the clients.
* `-U` *bufsize*:
- Sets the socket send/receive buffer sizes in bytes. When unset, the
- OS default is used. The maximum is also determined by the OS. The
- sizes are set using setsockopt with the flags SO_RCVBUF and
- SO_SNDBUF. Setting this size may be necessary for large volume
- scenarios, for which also `-B` might apply.
+ Sets the socket send/receive buffer sizes in bytes, for both TCP and UDP
+ scenarios. When unset, the OS default is used. The maximum is also
+ determined by the OS. The sizes are set using setsockopt with the flags
+ SO_RCVBUF and SO_SNDBUF. Setting this size may be necessary for large
+ volume scenarios, for which also `-B` might apply. Checking the *Recv-Q*
+ and the *receive errors* values from *netstat* gives a good hint
+ about buffer usage.
* `-T` *timeout*:
Specifies the IO timeout in milliseconds used for server connections.
|
Fix typo catboost_clickhouse_sprint_02.02.2019 problem 1 | @@ -84,7 +84,7 @@ inline static void BindPoolLoadParams(NLastGetopt::TOpts* parser, NCatboostOptio
const auto cvDescription = TString::Join(
"Cross validation type. Should be one of: ",
- GetEnumAllNames<ECrossValidation>());
+ GetEnumAllNames<ECrossValidation>(),
". Classical: test on fold n of k, n is 0-based",
". Inverted: train on fold n of k, n is 0-based",
". All cv types have two parameters n and k, they should be written in format cvtype:n;k.");
|
[Chenyu Zhao] : add GetPluginByName() method but not implemented | @@ -12,14 +12,15 @@ import (
"github.com/linuxkerneltravel/lmp/models"
"github.com/linuxkerneltravel/lmp/settings"
- "go.uber.org/zap"
"github.com/gin-gonic/gin"
+ "go.uber.org/zap"
)
type Plugin interface {
EnterRun() error
ExitRun() error
Run(chan bool, int)
+ GetPluginByName() Plugin
}
type PluginBase struct {
@@ -40,6 +41,11 @@ func (p *PluginBase) ExitRun() error {
return nil
}
+func (p *PluginBase) GetPluginByName() Plugin {
+ // todo:GetPluginByName() method
+ return nil
+}
+
func (p *PluginBase) Run(exitChan chan bool, collectTime int) {
defer func() {
if err := recover(); err != nil {
|
fix default num threads | @@ -244,7 +244,7 @@ namespace "config" do
if !$app_config["sailfish"]["build_threads"].nil?
$build_threads = $app_config["sailfish"]["build_threads"]
else
- $build_threads = 4
+ $build_threads = 1
end
Rake::Task["build:sailfish:startvm"].invoke()
|
tests: updates aes-siv regression test comment | ^- (list vector-siv)
:~
::
- :: failed in the wild
+ :: failed in the wild, see https://github.com/urbit/urbit/pull/3013
::
:^ 0xfdef.6253.d284.a940.1b5d.d1b7.fbcd.4489.
3071.bf93.ace9.37da.7c5d.77d2.1f3e.cda4.
|
CString doesn't need the varlena header space
CString only has the length and data in the serialized structure, no
need to allocate spaces for the varlena header. | @@ -810,7 +810,7 @@ DeserializeTuple(SerTupInfo *pSerInfo, StringInfo serialTup)
if (sz < 0)
elog(ERROR, "invalid length received for a CString");
- p = palloc(sz + VARHDRSZ);
+ p = palloc(sz);
/* Then data */
pq_copymsgbytes(serialTup, p, sz);
|
in_tail: create stream_id by file inode(#4190)
If stream_id is created by filename, rotated file id will be same.
It causes releasing new multiline instance after file rotation. | @@ -795,6 +795,7 @@ int flb_tail_file_append(char *path, struct stat *st, int mode,
size_t tag_len;
struct flb_tail_file *file;
struct stat lst;
+ flb_sds_t inode_str;
if (!S_ISREG(st->st_mode)) {
return -1;
@@ -882,18 +883,30 @@ int flb_tail_file_append(char *path, struct stat *st, int mode,
/* Multiline core mode */
if (ctx->ml_ctx) {
+ /*
+ * Create inode str to get stream_id.
+ *
+ * If stream_id is created by filename,
+ * it will be same after file rotation and it causes invalid destruction.
+ * https://github.com/fluent/fluent-bit/issues/4190
+ *
+ */
+ inode_str = flb_sds_create_size(64);
+ flb_sds_printf(&inode_str, "%"PRIu64, file->inode);
/* Create a stream for this file */
ret = flb_ml_stream_create(ctx->ml_ctx,
- file->name, file->name_len,
+ inode_str, flb_sds_len(inode_str),
ml_flush_callback, file,
&stream_id);
if (ret != 0) {
flb_plg_error(ctx->ins,
"could not create multiline stream for file: %s",
- file->name);
+ inode_str);
+ flb_sds_destroy(inode_str);
goto error;
}
file->ml_stream_id = stream_id;
+ flb_sds_destroy(inode_str);
}
/* Local buffer */
|
Add arbitrum to networks | @@ -19,6 +19,7 @@ const network_info_t NETWORK_MAPPING[] = {
{.chain_id = 100, .name = "xDai", .ticker = "xDAI "},
{.chain_id = 137, .name = "Polygon", .ticker = "MATIC "},
{.chain_id = 250, .name = "Fantom", .ticker = "FTM "},
+ {.chain_id = 42161, .name = "Arbitrum", .ticker = "AETH "},
{.chain_id = 42220, .name = "Celo", .ticker = "CELO "},
{.chain_id = 43114, .name = "Avalanche", .ticker = "AVAX "},
{.chain_id = 44787, .name = "Celo Alfajores", .ticker = "aCELO "},
|
fix(docs): change to the new is_fitted() API | " eval_set=(X_validation, y_validation),\n",
" logging_level='Silent'\n",
")\n",
- "print('Model is fitted: ' + str(model.is_fitted_))\n",
+ "print('Model is fitted: ' + str(model.is_fitted()))\n",
"print('Model params:')\n",
"print(model.get_params())"
]
|
Removed print statement from test_EarthClimate.py. | @@ -12,9 +12,6 @@ def test_EarthClimate():
# Run vplanet
subprocess.run(['vplanet', 'vpl.in', '-q'], cwd=cwd)
- files = os.listdir(cwd)
- print (files)
-
# Grab the output
output = GetOutput(path=cwd)
|
Ignore me, just formatting. | @@ -319,7 +319,9 @@ static const char * method_strmap[] = {
}
#define __HTPARSE_GENDHOOK(__n) \
- static inline int hook_ ## __n ## _run(htparser * p, htparse_hooks * hooks, const char * s, size_t l) \
+ static inline int hook_ ## __n ## _run(htparser * p, \
+ htparse_hooks * hooks, \
+ const char * s, size_t l) \
{ \
log_debug("enter"); \
if (hooks && (hooks)->__n) \
|
Remove hidden option to skip ssl-opt and compat tests
Also remove compat tests from reference component as results from this run are not included in outcome file. | @@ -2098,16 +2098,11 @@ component_test_psa_crypto_config_accel_hash_use_psa () {
msg "test: MBEDTLS_PSA_CRYPTO_CONFIG with accelerated hash and USE_PSA"
make test
- # hidden option: when running outcome-analysis.sh, we can skip this
- if [ "${SKIP_SSL_OPT_COMPAT_SH-unset}" = "unset" ]; then
msg "test: ssl-opt.sh, MBEDTLS_PSA_CRYPTO_CONFIG with accelerated hash and USE_PSA"
tests/ssl-opt.sh
- msg "test: compat.sh, MBEDTLS_PSA_CRYPTO_CONFIG with accelerated hash and USE_PSA"
+ msg "test: compat.sh, MBEDTLS_PSA_CRYPTO_CONFIG without accelerated hash and USE_PSA"
tests/compat.sh
- else
- echo "skip ssl-opt.sh and compat.sh"
- fi
}
component_test_psa_crypto_config_reference_hash_use_psa() {
@@ -2128,16 +2123,8 @@ component_test_psa_crypto_config_reference_hash_use_psa() {
msg "test: MBEDTLS_PSA_CRYPTO_CONFIG without accelerated hash and USE_PSA"
make test
- # hidden option: when running outcome-analysis.sh, we can skip this
- if [ "${SKIP_SSL_OPT_COMPAT_SH-unset}" = "unset" ]; then
msg "test: ssl-opt.sh, MBEDTLS_PSA_CRYPTO_CONFIG without accelerated hash and USE_PSA"
tests/ssl-opt.sh
-
- msg "test: compat.sh, MBEDTLS_PSA_CRYPTO_CONFIG without accelerated hash and USE_PSA"
- tests/compat.sh
- else
- echo "skip ssl-opt.sh and compat.sh"
- fi
}
component_test_psa_crypto_config_accel_cipher () {
|
zephyr/machine_uart: Fix arg of machine_uart_ioctl to make it uintptr_t. | @@ -131,7 +131,7 @@ STATIC mp_uint_t machine_uart_write(mp_obj_t self_in, const void *buf_in, mp_uin
return size;
}
-STATIC mp_uint_t machine_uart_ioctl(mp_obj_t self_in, mp_uint_t request, mp_uint_t arg, int *errcode) {
+STATIC mp_uint_t machine_uart_ioctl(mp_obj_t self_in, mp_uint_t request, uintptr_t arg, int *errcode) {
mp_uint_t ret;
if (request == MP_STREAM_POLL) {
|
bufr_dump -p performance: speed up by skipping extra key attributes | @@ -360,6 +360,10 @@ int grib_tool_new_handle_action(grib_runtime_options* options, grib_handle* h)
grib_dump_content(h,stdout,options->dump_mode,options->dump_flags,0);
} else {
const char* dumper_name = get_dumper_name(options);
+ if (strcmp(dumper_name, "bufr_simple")==0) {
+ /* This speeds up the unpack by skipping attribute keys not used in the dump */
+ grib_set_long(h, "skipExtraKeyAttributes", 1);
+ }
err=grib_set_long(h,"unpack",1);
if (err) {
if (options->fail) {
|
Add notice about Scoop and Chocolatey integration not maintained by YARA authors. | @@ -88,7 +88,8 @@ You can also download and install YARA using the `vcpkg <https://github.com/Micr
./vcpkg integrate install
vcpkg install yara
-The YARA port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out of date, please `create an issue or pull request <https://github.com/Microsoft/vcpkg/>`_ on the vcpkg repository.
+The YARA port in vcpkg is kept up to date by Microsoft team members and community contributors. If the version is out
+of date, please `create an issue or pull request <https://github.com/Microsoft/vcpkg/>`_ on the vcpkg repository.
Installing on Windows
@@ -101,7 +102,9 @@ link below. Just download the version you want, unzip the archive, and put the
`Download Windows binaries <https://github.com/VirusTotal/yara/releases/latest>`_
To install YARA using `Scoop <https://scoop.sh>`_ or `Chocolatey <https://chocolatey.org>`_, simply type
-``scoop install yara`` or ``choco install yara``
+``scoop install yara`` or ``choco install yara``. The integration with both `Scoop` and `Chocolatey` are
+not maintained their respective teams, not by the YARA authors.
+
Installing on Mac OS X with Homebrew
------------------------------------
|
adds +certificate:event to +sigh-httr | %new-order (new-order:event t.wir rep)
%finalize-order (finalize-order:event t.wir rep)
%check-order (check-order:event t.wir rep)
+ %certificate (certificate:event t.wir rep)
%get-authz (get-authz:event t.wir rep)
:: XX check/finalize-authz ??
%test-trial (test-trial:event t.wir rep)
|
Changlog: More detail | @@ -24,9 +24,10 @@ OpenCore Changelog
- Fixed OpenCanopy interrupt handling causing missed events and lag
- Improved OpenCanopy double-click detection
- Reduced OpenCanopy touch input lag and improved usability
-- Apple Event keyboard handling for improved keypress response in OpenCanopy and Builtin pickers
-- Apple Key Map edge detection for improved non-repeating key response in pickers
-- Improved Shift+Enter and Shift+Index handling with PollAppleHotKeys
+- Added Apple Event keyboard handling for improved keypress response in OpenCanopy and Builtin pickers
+- Added Apple Key Map edge detection for improved non-repeating key response in pickers
+- Fixed extremely fast repeat then stall issue with keyboard handling on some PS/2 systems
+- Improved Shift+Enter and Shift+Index behaviour with PollAppleHotKeys
- Added CTRL-held indicator to Builtin picker
#### v0.6.7
|
lis2de: fix build issues when BUS_DRIVER_PRESENT:1 | @@ -2915,6 +2915,7 @@ lis2de12_config(struct lis2de12 *lis2de12, struct lis2de12_cfg *cfg)
itf = SENSOR_GET_ITF(&(lis2de12->sensor));
sensor = &(lis2de12->sensor);
+ (void)sensor;
#if !MYNEWT_VAL(BUS_DRIVER_PRESENT)
if (itf->si_type == SENSOR_ITF_SPI) {
|
CMSIS DAP: minor update in documentation | @@ -861,11 +861,11 @@ Reads extended information about the SWO trace status.
- <b>Control</b>:
- Bit 0: Trace Status (1 - request, 0 - inactive)
- Bit 1: Trace Count (1 - request, 0 - inactive)
- - Bit 2: Index/Trace (1 - request, 0 - inactive)
+ - Bit 2: Index/Timestamp (1 - request, 0 - inactive)
<b>DAP_SWO_ExtendStatus Response:</b>
\code
- | BYTE | BYTE | WORD | WORD | |
+ | BYTE | BYTE | WORD | WORD | WORD |
< 0x1E | Trace Status | Trace Count | Index | TD_TimeStamp |
|******|++++++++++++++|+++++++++++++|+++++++|++++++++++++++|
\endcode
|
nocturne_fp: Better comments for pin config
BRANCH=nocturne
TEST=none | @@ -23,9 +23,9 @@ GPIO(USER_PRES_L, PIN(C, 5), GPIO_ODR_HIGH)
UNIMPLEMENTED(ENTERING_RW)
-/* USART1: PA9/PA10 */
+/* USART1: PA9/PA10 (TX/RX) */
ALTERNATE(PIN_MASK(A, 0x0600), GPIO_ALT_USART, MODULE_UART, GPIO_PULL_UP)
-/* SPI1 slave from the AP: PA4/5/6/7 */
+/* SPI1 slave from the AP: PA4/5/6/7 (CS/CLK/MISO/MOSI) */
ALTERNATE(PIN_MASK(A, 0x00f0), GPIO_ALT_SPI, MODULE_SPI, 0)
-/* SPI4 master to sensor: PE2/5/6 */
+/* SPI4 master to sensor: PE2/5/6 (CLK/MISO/MOSI) */
ALTERNATE(PIN_MASK(E, 0x0064), GPIO_ALT_SPI, MODULE_SPI_MASTER, 0)
|
GraphContent: don't linebreak on empty text nodes | @@ -61,6 +61,12 @@ const contentToMdAst = (tall: boolean) => (
content: Content
): [StitchMode, any] => {
if ('text' in content) {
+ if (content.text.toString().trim().length === 0) {
+ return [
+ 'merge',
+ { type: 'root', children: [{ type: 'paragraph', children: [] }] },
+ ];
+ }
return [
'merge',
tall ? parseTall(content.text) : parseWide(content.text),
|
bntest: make sure that equalBN takes note of negative zero | @@ -146,7 +146,13 @@ static int equalBN(const char *op, const BIGNUM *expected, const BIGNUM *actual)
if (BN_cmp(expected, actual) == 0)
return 1;
+ if (BN_is_zero(expected) && BN_is_negative(expected))
+ exstr = OPENSSL_strdup("-0");
+ else
exstr = BN_bn2hex(expected);
+ if (BN_is_zero(actual) && BN_is_negative(actual))
+ actstr = OPENSSL_strdup("-0");
+ else
actstr = BN_bn2hex(actual);
if (exstr == NULL || actstr == NULL)
goto err;
|
zephyr/drivers/cros_rtc/cros_rtc_xec.c: Format with clang-format
BRANCH=none
TEST=none | @@ -123,7 +123,7 @@ static const struct cros_rtc_xec_config cros_rtc_xec_cfg_0 = {
static struct cros_rtc_xec_data cros_rtc_xec_data_0;
-DEVICE_DT_INST_DEFINE(0, cros_rtc_xec_init, NULL,
- &cros_rtc_xec_data_0, &cros_rtc_xec_cfg_0, POST_KERNEL,
+DEVICE_DT_INST_DEFINE(0, cros_rtc_xec_init, NULL, &cros_rtc_xec_data_0,
+ &cros_rtc_xec_cfg_0, POST_KERNEL,
CONFIG_KERNEL_INIT_PRIORITY_DEVICE,
&cros_rtc_xec_driver_api);
|
fix extern C declaration for msvc (issue | @@ -586,7 +586,7 @@ static void mi_process_done(void) {
__pragma(comment(linker, "/include:" "__mi_msvc_initu"))
#endif
#pragma data_seg(".CRT$XIU")
- extern "C" _mi_crt_callback_t _mi_msvc_initu[] = { &_mi_process_init };
+ mi_decl_externc _mi_crt_callback_t _mi_msvc_initu[] = { &_mi_process_init };
#pragma data_seg()
#elif defined(__cplusplus)
|
[numerics] adapt an in RFC3D projectionOnCone to improve a bit the convergence | @@ -97,9 +97,11 @@ int rolling_fc3d_projectionOnCone_solve(
/* double at = 2*(alpha - beta)/((alpha + beta)*(alpha + beta)); */
//double an = 1./(MLocal[0]+mu_i);
- //double an = 1. / (MLocal[0]);
-
- double an=1.0;
+ double an = 1. / (MLocal[0]);
+ for (unsigned int i =1; i <5; i++)
+ {
+ an = fmin(an,1. / (MLocal[i+i*5]));
+ }
/* int incx = 1, incy = 1; */
double velocity[5];
|
add hwloc to buildrequires | @@ -52,7 +52,7 @@ BuildRequires: opensm-devel
BuildRequires: numactl
BuildRequires: libevent-devel
BuildRequires: pmix%{PROJ_DELIM}
-BuildRequires: hwloc-devel
+BuildRequires: hwloc hwloc-devel
%if 0%{with_slurm}
BuildRequires: slurm-devel%{PROJ_DELIM}
#!BuildIgnore: slurm%{PROJ_DELIM}
|
tap: add the static assert for api flags
Type: improvement | @@ -126,6 +126,25 @@ vl_api_tap_create_v2_t_handler (vl_api_tap_create_v2_t * mp)
ap->host_mtu_set = 1;
}
+ STATIC_ASSERT (((int) TAP_API_FLAG_GSO == (int) TAP_FLAG_GSO),
+ "tap gso api flag mismatch");
+ STATIC_ASSERT (((int) TAP_API_FLAG_CSUM_OFFLOAD ==
+ (int) TAP_FLAG_CSUM_OFFLOAD),
+ "tap checksum offload api flag mismatch");
+ STATIC_ASSERT (((int) TAP_API_FLAG_PERSIST == (int) TAP_FLAG_PERSIST),
+ "tap persist api flag mismatch");
+ STATIC_ASSERT (((int) TAP_API_FLAG_ATTACH == (int) TAP_FLAG_ATTACH),
+ "tap attach api flag mismatch");
+ STATIC_ASSERT (((int) TAP_API_FLAG_TUN == (int) TAP_FLAG_TUN),
+ "tap tun api flag mismatch");
+ STATIC_ASSERT (((int) TAP_API_FLAG_GRO_COALESCE ==
+ (int) TAP_FLAG_GRO_COALESCE),
+ "tap gro coalesce api flag mismatch");
+ STATIC_ASSERT (((int) TAP_API_FLAG_PACKED == (int) TAP_FLAG_PACKED),
+ "tap packed api flag mismatch");
+ STATIC_ASSERT (((int) TAP_API_FLAG_IN_ORDER ==
+ (int) TAP_FLAG_IN_ORDER), "tap in-order api flag mismatch");
+
ap->tap_flags = ntohl (mp->tap_flags);
tap_create_if (vm, ap);
|
update src dir name | @@ -315,7 +315,7 @@ from an allocated Torque job.
##############################################################################
%prep
-%setup -q -n %{pname}-%{pname}-%{version}
+%setup -q -n %{pname}-%{version}
##############################################################################
%build
|
mesh: Fix macro in net.c | @@ -344,7 +344,7 @@ static void bt_mesh_net_local(struct ble_npl_event *work)
static const struct bt_mesh_net_cred *net_tx_cred_get(struct bt_mesh_net_tx *tx)
{
-#if defined(CONFIG_BT_MESH_LOW_POWER)
+#if IS_ENABLED(CONFIG_BT_MESH_LOW_POWER)
if (tx->friend_cred && bt_mesh_lpn_established()) {
return &bt_mesh.lpn.cred[SUBNET_KEY_TX_IDX(tx->sub)];
}
|
Fix inconsistent variable name in static function of mac8.c
Both argument names were reversed in the declaration of the function.
Author: Ranier Vilela
Discussion: | #define lobits(addr) \
((unsigned long)(((addr)->e<<24) | ((addr)->f<<16) | ((addr)->g<<8) | ((addr)->h)))
-static unsigned char hex2_to_uchar(const unsigned char *str, const unsigned char *ptr);
+static unsigned char hex2_to_uchar(const unsigned char *ptr, const unsigned char *str);
static const signed char hexlookup[128] = {
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
|
tweaks replacement events: %crud contents, %warn structure | @@ -406,12 +406,15 @@ _worker_lame(c3_d evt_d, u3_noun ovo, u3_noun why, u3_noun tan)
}
// failed event notifications (%crud) are replaced with
// an even more generic notifications, on a generic arvo wire.
- //
// N.B this must not be allowed to fail!
//
+ // [%warn original-event-tag=@tas combined-trace=(list tank)]
+ //
else if ( c3__crud == tag ) {
+ u3_noun lef = u3nc(c3__leaf, u3i_tape("crude crashed!"));
+ u3_noun nat = u3kb_weld(u3k(u3t(cad)), u3nc(lef, u3k(tan)));
rep = u3nc(u3nt(u3_blip, c3__arvo, u3_nul),
- u3nc(c3__warn, u3i_tape("crude crashed!")));
+ u3nt(c3__warn, u3k(u3h(cad)), nat));
}
// failed failure failing fails
//
@@ -421,11 +424,14 @@ _worker_lame(c3_d evt_d, u3_noun ovo, u3_noun why, u3_noun tan)
}
// failure notifications are sent on the same wire
//
+ // [%crud event-tag=@tas event-trace=(list tank)]
+ //
else {
// prepend failure mote to tank
//
- u3_noun tap = u3kb_weld(u3i_tape("bail: "), u3qc_rip(3, why));
- u3_noun nat = u3nc(u3nc(c3__leaf, tap), u3k(tan));
+ u3_noun lef = u3nc(c3__leaf, u3kb_weld(u3i_tape("bail: "),
+ u3qc_rip(3, why)));
+ u3_noun nat = u3kb_weld(u3k(tan), u3nc(lef, u3_nul));
rep = u3nc(u3k(wir), u3nt(c3__crud, u3k(tag), nat));
}
|
Patched up some TODO comments. | !:
::::
::
-[. talk]
+[. talk] ::TODO =,
=> ::> ||
::> || %arch
::> ||
|%
++ state ::> broker state
$: stories/(map knot story) ::< conversations
+ ::TODO outbox not needed
outbox/(pair @ud (map @ud thought)) ::< urbit outbox
log/(map knot @ud) ::< logged to clay
nicks/(map ship knot) ::< nicknames
remotes/(map partner group) ::< remote presence
shape/config ::< configuration
mirrors/(map circle config) ::< remote config
- ::TODO never gets updated. ::
+ ::TODO? never gets updated. still needed? ::
sequence/(map partner @ud) ::< partners heard
known/(map serial @ud) ::< messages heard
burden/? ::< from parent?
::
::TODO maybe rewrite all arms to produce (list delta)
:: instead of state? or nah?
- |_ ::> moves: moves created by core operations.
+ |_ ::> deltas: deltas created by core operations.
::
deltas/(list delta)
::
++ so-hear ::< accept circle rumor
::> apply changes from a rumor to this story.
::
- ::TODO cleanup
|= {bur/? src/circle dif/diff-story}
^+ +>
::TODO? are these checks still important?
~& %ignoring-remote-status
+>
(so-delta-our dif)
- $follow ~&(%follow-not-rumor +>) ::TODO? crash?
+ $follow ~&(%follow-not-rumor +>) ::REVIEW
$remove (so-delta-our %config src %remove ~)
==
::
^- (list move)
?+ -.dif ~
$permit (sa-permit-effects sec.con.old ses.con.old +.dif)
- ::TODO $secure ? not here, logic should go up-stream.
+ ::NOTE when doing a lone %secure, calculate the
+ :: necessary %permit deltas alongside it.
==
::
++ sa-follow-effects ::< un/subscribe
::> || %new-events
::> ||
::+|
-::TODO make use of ++prey for filtering subs?
++ bake ::< apply state delta
::> applies a change to the application state,
::> producing side-effects.
|= dis/(list delta)
^- (quip move +>)
%+ roll dis
- |= {d/delta m/(list move) _+>.$} ::TODO? ^$ find-fails, how is this correct?
+ |= {d/delta m/(list move) _+>.$} ::REVIEW ^$ find-fails, how is this correct?
=^ mos +>.^$ (bake d)
[(welp m mos) +>.^$]
::
%+ murn (~(tap by stories))
|= {n/knot s/story}
^- (unit (pair knot burden))
- :: only auto-federate channels for now.
+ :: only auto-federate channels for now. ::REVIEW
?. ?=($black sec.con.shape.s) ~
:+ ~ n
:+ grams.s
[locals.s remotes.s]
::
$report
- ~ ::TODO? we just don't have a prize. or do we need [%report ~] ?
+ ::REVIEW we just don't have a prize... but do have rumors.
+ :: or do we need [%report ~] ?
+ ~
::
$circle ::REVIEW should we send precs & config to out of range subs?
- :: we can either be:
- :: - before range: send precs, config
- :: - in range: send precs, config, msgs
- :: - after range: send msgs
=+ soy=(~(get by stories) nom.qer)
?~ soy ~
:+ ~ ~
::> gall dropped our subscription. resubscribe.
::
::TODO update for all subscription kinds.
+ ::TODO? does new gall still drop subscriptions?
|= wir/wire
^- (quip move +>)
%+ etch-circle [%circle wir]
|
wpa_supplicant : Prevent h2e config overwrite
Current esp_wifi_get_config doesn't return correct value of h2e config which will cause h2e config to be overwritten in Station connected handler.
Add one preventative condition to take care of this. | @@ -171,8 +171,10 @@ static void clear_bssid_flag(struct wpa_supplicant *wpa_s)
}
esp_wifi_get_config(WIFI_IF_STA, config);
+ if (config->sta.bssid_set) {
config->sta.bssid_set = 0;
esp_wifi_set_config(WIFI_IF_STA, config);
+ }
os_free(config);
wpa_printf(MSG_DEBUG, "cleared bssid flag");
}
|
gbp: missing contract hash-mode setting
Type: fix | @@ -4950,9 +4950,11 @@ class TestGBP(VppTestCase):
self, 44, 4220, 4221, acl_index,
[VppGbpContractRule(
VppEnum.vl_api_gbp_rule_action_t.GBP_API_RULE_PERMIT,
+ VppEnum.vl_api_gbp_hash_mode_t.GBP_API_HASH_MODE_SRC_IP,
[]),
VppGbpContractRule(
VppEnum.vl_api_gbp_rule_action_t.GBP_API_RULE_PERMIT,
+ VppEnum.vl_api_gbp_hash_mode_t.GBP_API_HASH_MODE_SRC_IP,
[])],
[ETH_P_IP, ETH_P_IPV6])
c_44.add_vpp_config()
|
docs: Update XDP driver support list | @@ -147,6 +147,11 @@ Intel `ixgbevf` driver | 4.17 | [`c7aec59657b6`](https://git.kernel.org/cgit/lin
Freescale `dpaa2` driver | 5.0 | [`7e273a8ebdd3`](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=7e273a8ebdd3b83f94eb8b49fc8ee61464f47cc2)
Socionext `netsec` driver | 5.3 | [`ba2b232108d3`](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=ba2b232108d3c2951bab02930a00f23b0cffd5af)
TI `cpsw` driver | 5.3 | [`9ed4050c0d75`](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=9ed4050c0d75768066a07cf66eef4f8dc9d79b52)
+Intel `ice` driver |5.5| [`efc2214b6047`](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=efc2214b6047b6f5b4ca53151eba62521b9452d6)
+Solarflare `sfc` driver | 5.5 | [`eb9a36be7f3e`](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=eb9a36be7f3ec414700af9a616f035eda1f1e63e)
+Marvell `mvneta` driver | 5.5 | [`0db51da7a8e9`](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=0db51da7a8e99f0803ec3a8e25c1a66234a219cb)
+Microsoft `hv_netvsc` driver | 5.6 | [`351e1581395f`](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=351e1581395fcc7fb952bbd7dda01238f69968fd)
+Amazon `ena` driver | 5.6 | [`838c93dc5449`](https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=838c93dc5449e5d6378bae117b0a65a122cf7361)
Intel `e1000` driver | | [Not upstream yet](https://git.kernel.org/pub/scm/linux/kernel/git/ast/bpf.git/commit/?h=xdp&id=0afee87cfc800bf3317f4dc8847e6f36539b820c)
Intel `e1000e` driver | | [Not planned for upstream at this time](https://github.com/adjavon/e1000e_xdp)
|
[catboost] validate inputs in TQuantizedFeaturesDataProviderBuilder
[catboost] fix condition | #include <util/generic/string.h>
#include <util/generic/xrange.h>
#include <util/generic/ylimits.h>
+#include <util/stream/labeled.h>
#include <util/system/yassert.h>
#include <algorithm>
@@ -809,6 +810,13 @@ namespace NCB {
template <class T>
static void CopyPart(ui32 objectOffset, TUnalignedArrayBuf<T> srcPart, TVector<T>* dstData) {
+ CB_ENSURE_INTERNAL(
+ objectOffset < dstData->size(),
+ LabeledOutput(objectOffset, srcPart.GetSize(), dstData->size()));
+ CB_ENSURE_INTERNAL(
+ objectOffset + srcPart.GetSize() <= dstData->size(),
+ LabeledOutput(objectOffset, srcPart.GetSize(), dstData->size()));
+
TArrayRef<T> dstArrayRef(dstData->data() + objectOffset, srcPart.GetSize());
srcPart.WriteTo(&dstArrayRef);
}
@@ -1075,13 +1083,26 @@ namespace NCB {
ui32 objectOffset,
TConstArrayRef<ui8> featuresPart
) {
- if (IsAvailable[*perTypeFeatureIdx]) {
+ if (!IsAvailable[*perTypeFeatureIdx]) {
+ return;
+ }
+
+ const auto dstCapacityInBytes =
+ DstView[*perTypeFeatureIdx].size() *
+ sizeof(decltype(*DstView[*perTypeFeatureIdx].data()));
+ const auto objectOffsetInBytes = objectOffset * sizeof(ui8);
+
+ CB_ENSURE_INTERNAL(
+ objectOffsetInBytes < dstCapacityInBytes,
+ LabeledOutput(perTypeFeatureIdx, objectOffset, objectOffsetInBytes, featuresPart.size(), dstCapacityInBytes));
+ CB_ENSURE_INTERNAL(
+ objectOffsetInBytes + featuresPart.size() <= dstCapacityInBytes,
+ LabeledOutput(perTypeFeatureIdx, objectOffset, objectOffsetInBytes, featuresPart.size(), dstCapacityInBytes));
+
memcpy(
((ui8*)DstView[*perTypeFeatureIdx].data()) + objectOffset,
featuresPart.data(),
- featuresPart.size()
- );
- }
+ featuresPart.size());
}
template <class IColumnType>
|
Reorder release.mk recipes
Group prepare-deps for win32 and win64. | @@ -67,6 +67,11 @@ prepare-deps-win32:
@prebuilt-deps/prepare-sdl.sh
@prebuilt-deps/prepare-ffmpeg-win32.sh
+prepare-deps-win64:
+ @prebuilt-deps/prepare-adb.sh
+ @prebuilt-deps/prepare-sdl.sh
+ @prebuilt-deps/prepare-ffmpeg-win64.sh
+
build-win32: prepare-deps-win32
[ -d "$(WIN32_BUILD_DIR)" ] || ( mkdir "$(WIN32_BUILD_DIR)" && \
meson "$(WIN32_BUILD_DIR)" \
@@ -76,11 +81,6 @@ build-win32: prepare-deps-win32
-Dportable=true )
ninja -C "$(WIN32_BUILD_DIR)"
-prepare-deps-win64:
- @prebuilt-deps/prepare-adb.sh
- @prebuilt-deps/prepare-sdl.sh
- @prebuilt-deps/prepare-ffmpeg-win64.sh
-
build-win64: prepare-deps-win64
[ -d "$(WIN64_BUILD_DIR)" ] || ( mkdir "$(WIN64_BUILD_DIR)" && \
meson "$(WIN64_BUILD_DIR)" \
|
Changes for building for ESX | @@ -72,6 +72,9 @@ endif()
if(ESX_BUILD)
set(OS_TYPE esx)
set(FILE_PREFIX esx)
+ set(CMAKE_SKIP_BUILD_RPATH FALSE)
+ set(CMAKE_BUILD_WITH_INSTALL_RPATH TRUE)
+ set(CMAKE_INSTALL_RPATH "/opt/intel/bin")
find_package(PythonInterp REQUIRED)
elseif(UNIX)
set(LNX_BUILD 1)
|
kernel/os: Remove obsolete API
This is not used as public API anymore. | @@ -59,7 +59,6 @@ struct os_task;
#endif
os_stack_t *os_arch_task_stack_init(struct os_task *, os_stack_t *, int);
-void timer_handler(void);
void os_arch_ctx_sw(struct os_task *);
os_sr_t os_arch_save_sr(void);
void os_arch_restore_sr(os_sr_t);
|
build: fix install-deps on centos-8
Required to fix CI jobs failing due to errant
upgrade of glibc-devel which cannot be found.
Type: fix | @@ -295,7 +295,7 @@ else ifeq ($(OS_ID)-$(OS_VERSION_ID),centos-8)
@sudo -E dnf config-manager --set-enabled \
$(shell dnf repolist all 2>/dev/null|grep -i powertools|cut -d' ' -f1)
@sudo -E dnf groupinstall $(CONFIRM) $(RPM_DEPENDS_GROUPS)
- @sudo -E dnf install $(CONFIRM) $(RPM_DEPENDS)
+ @sudo -E dnf install --skip-broken $(CONFIRM) $(RPM_DEPENDS)
else ifeq ($(OS_ID),centos)
@sudo -E yum install $(CONFIRM) centos-release-scl-rh epel-release
@sudo -E yum groupinstall $(CONFIRM) $(RPM_DEPENDS_GROUPS)
|
updating badge counts ((#529) | ---
-[ ](https://github.com/openhpc/ohpc/wiki/Component-List)
-[ ](https://github.com/openhpc/ohpc/releases/tag/v1.3.2.GA)
-[ ](https://github.com/openhpc/ohpc/releases/tag/v1.3.2.GA)
+[ ](https://github.com/openhpc/ohpc/wiki/Component-List)
+[ ](https://github.com/openhpc/ohpc/releases/tag/v1.3.2.GA)
+[ ](https://github.com/openhpc/ohpc/releases/tag/v1.3.2.GA)
[ ](http://test.openhpc.community:8080/job/1.3.x/)
|
ports/rp2: Fix cambus fast mode plus frequency. | @@ -24,7 +24,7 @@ int cambus_init(cambus_t *bus, uint32_t bus_id, uint32_t speed)
bus->speed = 250 * 1000; ///< 250 kbps
break;
case CAMBUS_SPEED_FAST:
- bus->speed = 400 * 1000; ///< 400 kbps
+ bus->speed = 1000 * 1000; ///< 1000 kbps
break;
default:
return -1;
|
iokernel: increase polling interval to 10us | @@ -44,7 +44,7 @@ extern struct iokernel_cfg cfg;
#define IOKERNEL_CMD_BURST_SIZE 64
#define IOKERNEL_RX_BURST_SIZE 64
#define IOKERNEL_CONTROL_BURST_SIZE 4
-#define IOKERNEL_POLL_INTERVAL 5
+#define IOKERNEL_POLL_INTERVAL 10
/*
* Process Support
|
improve rotate vec3 with affine matrix
because v and dest may be same vector | @@ -428,9 +428,11 @@ glm_vec_rotate(vec3 v, float angle, vec3 axis) {
CGLM_INLINE
void
glm_vec_rotate_m4(mat4 m, vec3 v, vec3 dest) {
- dest[0] = m[0][0] * v[0] + m[1][0] * v[1] + m[2][0] * v[2];
- dest[1] = m[0][1] * v[0] + m[1][1] * v[1] + m[2][1] * v[2];
- dest[2] = m[0][2] * v[0] + m[1][2] * v[1] + m[2][2] * v[2];
+ vec3 res;
+ res[0] = m[0][0] * v[0] + m[1][0] * v[1] + m[2][0] * v[2];
+ res[1] = m[0][1] * v[0] + m[1][1] * v[1] + m[2][1] * v[2];
+ res[2] = m[0][2] * v[0] + m[1][2] * v[1] + m[2][2] * v[2];
+ glm_vec_dup(res, dest);
}
#endif /* cglm_vec_h */
|
Add apache rat check in travis CI. | @@ -21,6 +21,7 @@ install:
libevent
bison
cpanm
+ maven
- brew reinstall python
- brew outdated libyaml || brew upgrade libyaml
- brew outdated json-c || brew upgrade json-c
@@ -31,6 +32,7 @@ install:
- sudo cpanm install JSON
before_script:
+ - mvn apache-rat:check
- cd $TRAVIS_BUILD_DIR
- ./configure
|
Enable iterator based flatbuffers generation | @@ -15,9 +15,8 @@ class FlatcBase(iw.CustomCommand):
def output(self):
base_path = common.tobuilddir(common.stripext(self._path))
- return [
- (base_path + self.extension(), []),
- (base_path + self.schema_extension(), ['noauto'])]
+ return [(base_path + extension, []) for extension in self.extensions()] +\
+ [(base_path + self.schema_extension(), ['noauto'])]
def run(self, binary):
return self.do_run(binary, self._path)
@@ -28,7 +27,11 @@ class FlatcBase(iw.CustomCommand):
yield '-I'
yield self.resolve_path(x)
output_dir = os.path.dirname(self.resolve_path(common.get(self.output, 0)))
- cmd = common.get_interpreter_path() + ['$S/build/scripts/stdout2stderr.py', binary, '--cpp', '--keep-prefix', '--gen-mutable', '--schema', '-b'] + list(incls()) + ['-o', output_dir, path]
+ cmd = (common.get_interpreter_path() +
+ ['$S/build/scripts/stdout2stderr.py', binary, '--cpp', '--keep-prefix', '--gen-mutable', '--schema', '-b'] +
+ self.extra_arguments() +
+ list(incls()) +
+ ['-o', output_dir, path])
self.call(cmd)
@@ -43,12 +46,15 @@ class Flatc(FlatcBase):
def tools(self):
return ['contrib/tools/flatc']
- def extension(self):
- return ".fbs.h"
+ def extensions(self):
+ return [".fbs.h", ".iter.fbs.h"]
def schema_extension(self):
return ".bfbs"
+ def extra_arguments(self):
+ return ['--yandex-maps-iter']
+
class Flatc64(FlatcBase):
@@ -61,12 +67,15 @@ class Flatc64(FlatcBase):
def tools(self):
return ['contrib/tools/flatc64']
- def extension(self):
- return ".fbs64.h"
+ def extensions(self):
+ return [".fbs64.h"]
def schema_extension(self):
return ".bfbs64"
+ def extra_arguments(self):
+ return []
+
def init():
iw.addrule('fbs', Flatc)
|
unit tests: address nightly unit test failures
These test cases were erroneously calling functions
without a prior call to opae_ioctl_initialize(). This
resulted in a NULL check failure and a subsequent
FPGA_EXCEPTION. | @@ -60,6 +60,7 @@ fpga_result opae_port_unmap(int fd, uint64_t io_addr);
fpga_result intel_fpga_version(int fd);
fpga_result intel_fme_port_pr(int fd, uint32_t flags, uint32_t port_id,
uint32_t sz, uint64_t addr, uint64_t *status);
+int opae_ioctl_initialize(void);
}
#include "mock/opae_fixtures.h"
@@ -127,6 +128,7 @@ TEST_P(sdl_c_p, test_opae_get_port_region_info_for_invalid_fd) {
TEST_P(sdl_c_p, test_opae_get_fme_info_for_invalid_fd) {
opae_fme_info info;
int fd = -1;
+ EXPECT_EQ(opae_ioctl_initialize(), 0);
EXPECT_EQ(opae_get_fme_info(fd,&info), FPGA_NOT_SUPPORTED);
}
@@ -210,6 +212,7 @@ TEST_P(sdl_c_p, test_opae_dfl_port_err_user_irq_for_invalid_fd) {
*/
TEST_P(sdl_c_p, test_opae_port_set_err_irq_for_invalid_fd) {
int fd = -1;
+ EXPECT_EQ(opae_ioctl_initialize(), 0);
EXPECT_EQ(opae_port_set_err_irq(fd, 0, 0), FPGA_NOT_SUPPORTED);
}
@@ -221,6 +224,7 @@ TEST_P(sdl_c_p, test_opae_port_set_err_irq_for_invalid_fd) {
*/
TEST_P(sdl_c_p, test_opae_port_set_user_irq_for_invalid_fd) {
int fd = -1;
+ EXPECT_EQ(opae_ioctl_initialize(), 0);
EXPECT_EQ(opae_port_set_user_irq(fd, 0, 0, 1, 0), FPGA_NOT_SUPPORTED);
}
@@ -232,6 +236,7 @@ TEST_P(sdl_c_p, test_opae_port_set_user_irq_for_invalid_fd) {
*/
TEST_P(sdl_c_p, test_opae_fme_set_err_irq_for_invalid_fd) {
int fd = -1;
+ EXPECT_EQ(opae_ioctl_initialize(), 0);
EXPECT_EQ(opae_fme_set_err_irq(fd, 0, 0), FPGA_NOT_SUPPORTED);
}
|
Add macos build to CI | @@ -38,7 +38,7 @@ jobs:
uses: actions/cache@v2
with:
path: "/home/runner/.cache/bazel"
- key: bazel
+ key: bazel-ubuntu
- name: Build
run: |
@@ -55,7 +55,24 @@ jobs:
uses: actions/cache@v2
with:
path: "/home/runner/.cache/bazel"
- key: bazel
+ key: bazel-windows
+
+ - name: Build
+ run: |
+ bazelisk build //...
+
+ build_and_test_macos:
+ name: macOS 12 Bazel build <Apple Clang14>
+ runs-on: macos-12
+
+ steps:
+ - uses: actions/checkout@v3
+
+ - name: Mount Bazel cache
+ uses: actions/cache@v2
+ with:
+ path: "/home/runner/.cache/bazel"
+ key: bazel-macos
- name: Build
run: |
|
Added many SceSysrootForKernel functions | @@ -1732,6 +1732,12 @@ modules:
functions:
ksceKernelGetSysrootBuffer: 0x3E455842
ksceKernelGetProcessTitleId: 0xEC3124A3
+ ksceSysrootIsBsodReboot: 0x4373AC96
+ ksceSysrootIsExternalBootMode: 0x89D19090
+ ksceSysrootIsManufacturingMode: 0x55392965
+ ksceSysrootIsSafeMode: 0x834439A7
+ ksceSysrootIsUpdateMode: 0xB0E1FC67
+ ksceSysrootIsUsbEnumWakeup: 0x79C9AE10
SceKernelSuspendForDriver:
kernel: true
nid: 0x7290B21C
|
[github][irc] try to use notice instead of privmsg | @@ -11,6 +11,7 @@ jobs:
with:
channel: "#lk"
nickname: lk-github
+ notice: true
message: |
${{ github.actor }} pushed ${{ github.event.ref }} ${{ github.event.compare }}
${{ join(github.event.commits.*.message) }}
@@ -20,6 +21,7 @@ jobs:
with:
channel: "#lk"
nickname: lk-github
+ notice: true
message: |
${{ github.actor }} opened PR ${{ github.event.html_url }}
- name: irc tag created
@@ -28,5 +30,6 @@ jobs:
with:
channel: "#lk"
nickname: lk-github
+ notice: true
message: |
${{ github.actor }} tagged ${{ github.repository }} ${{ github.event.ref }}
|
Subsets and Splits