message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
skiboot.spec: Update to v5.10 release
Update skiboot.spec to be able to package skiboot v5.10 release. | Name: opal-prd
-Version: 5.6.0
+Version: 5.10
Release: 1%{?dist}
Summary: OPAL Processor Recovery Diagnostics Daemon
@@ -12,7 +12,7 @@ BuildRequires: systemd
Requires: systemd
-Source0: https://github.com/open-power/skiboot/archive/skiboot-%{version}.tar.gz
+Source0: https://github.com/open-power/skiboot/archive/v%{ver... |
Fix dresden elektronik Lighting Switch group configuration | @@ -2535,7 +2535,25 @@ void DeRestPluginPrivate::checkSensorButtonEvent(Sensor *sensor, const deCONZ::A
{
QStringList gids;
ResourceItem *item = sensor->addItem(DataTypeString, RConfigGroup);
- QString gid = QString::number(ind.dstAddress().group());
+
+ quint16 groupId = ind.dstAddress().group();
+
+ if (sensor->model... |
metadata-push-hook: correct association key
Fixes urbit/landscape#405 | =/ role=(unit (unit role-tag))
(role-for-ship:grp group.update src.bowl)
=/ =metadatum:store
- (need (peek-metadatum:met %contacts group.update))
+ (need (peek-metadatum:met %groups group.update))
?~ role %.n
?^ u.role
?=(?(%admin %moderator) u.u.role)
|
Removed old os_strcmp function | #define ZERO(x) memset(&x, 0, sizeof(x))
-static int os_strcmp(const char* s1, const char* s2) {
- size_t size = strlen(s1) + 1;
- return memcmp(s1, s2, size);
-}
-
int handle_check_address(check_address_parameters_t* params, chain_config_t* chain_config) {
PRINTF("Params on the address %d\n", (unsigned int) params);
P... |
driverkit: provide some more debug information in the iommu client | @@ -201,6 +201,10 @@ static errval_t iommu_alloc_vregion(struct iommu_client *st,
return SYS_ERR_OK;
}
+
+ DRIVERKIT_DEBUG("[iommu client] allocate driver vspace\n");
+
+
// Alloc space in my vspace
int32_t my_nodeid = driverkit_hwmodel_get_my_node_id();
err = driverkit_hwmodel_vspace_alloc(mem, my_nodeid, driver);
@@ ... |
BugID:16974841:Rm not used enable auth and ota params | @@ -126,7 +126,6 @@ static void alink_work(void *arg)
init_bzlink.set_cb = set_dev_status_handler;
init_bzlink.get_cb = get_dev_status_handler;
init_bzlink.apinfo_cb = apinfo_handler;
- init_bzlink.enable_auth = true;
init_bzlink.secret_len = strlen(DEVICE_SECRET);
memcpy(init_bzlink.secret, DEVICE_SECRET, init_bzlink.... |
doc: fix typo beeing -> being | @@ -176,7 +176,7 @@ All options have a helptext next to them explaining what the settings do.
Most of the default settings should be ok, however some settings need to be
verified or added:
* In Branch Sources under Behaviours `Filter by name` should be
- added to exclude the `debian` branch from beeing build.
+ added t... |
Extend LE entity test to hex entities | @@ -6603,9 +6603,10 @@ END_TEST
START_TEST(test_entity_in_utf16_le_attr)
{
const char text[] =
- /* <e a='ä'></e> */
- "<\0e\0 \0a\0=\0'\0&\0#\0\x32\0\x32\0\x38\0;\0'\0>\0<\0/\0e\0>\0";
- const XML_Char *expected = "\xc3\xa4";
+ /* <e a='ä ä'></e> */
+ "<\0e\0 \0a\0=\0'\0&\0#\0\x32\0\x32\0\x38\0;\0 \0"... |
wireless/scsc: Fix uninitialized variable | @@ -565,7 +565,7 @@ int slsi_hw_scan(void *priv, struct wpa_driver_scan_params *request)
int r, i;
#ifdef CONFIG_SCSC_ENABLE_P2P
- u16 p2p_state = sdev->p2p_state;
+ u16 p2p_state;
#endif
u8 *scan_ie = NULL;;
size_t scan_ie_len;
@@ -585,6 +585,9 @@ int slsi_hw_scan(void *priv, struct wpa_driver_scan_params *request)
re... |
Update session local address is_ip4 on bind when not global | @@ -772,6 +772,7 @@ done:
{
rmp->handle = a->handle;
rmp->lcl_port = mp->port;
+ rmp->lcl_is_ip4 = mp->is_ip4;
if (app && application_has_global_scope (app))
{
s = listen_session_get_from_handle (a->handle);
|
PR algorithm support for TSIG signing of...
ldns-notify in the man page | @@ -40,9 +40,9 @@ Append a SOA record indicating the serial number of the updated zone.
Use port as destination port (default the DNS port 53) for the UDP packets.
.TP
-\fB-y key:data\fR
-Use the given TSIG key and base64-data to sign the NOTIFY. Uses the
-hmac-md5 algorithm.
+\fB-y key:data[:algo] \fR
+Use the given T... |
Add AtkCursor | @@ -15,6 +15,7 @@ namespace FFXIVClientStructs.FFXIV.Component.GUI
[FieldOffset(0x0)] public AtkEventTarget AtkEventTarget;
[FieldOffset(0x20)] public RaptureAtkUnitManager* RaptureAtkUnitManager;
[FieldOffset(0x168)] public AtkTooltipManager TooltipManager;
+ [FieldOffset(0x338)] public AtkCursor AtkCursor;
[MemberFun... |
Add d_m3SkipCallCheck | @@ -70,7 +70,7 @@ d_m3OpDef (CallIndirect)
{
// TODO: this can eventually be simplified. by using a shared set of unique M3FuncType objects in
// M3Environment, the compare can be reduced to a single pointer-compare operation
-
+#if !defined(d_m3SkipCallCheck)
if (type->numArgs != function->funcType->numArgs)
{
return ... |
Check all pressed inputs for attached scripts | @@ -741,19 +741,21 @@ static void SceneHandleInput()
{
input_index = 0;
input_joy = joy;
- while (!(input_joy & 1) && input_joy != 0)
+ for (input_index = 0; input_index != 8; ++input_index)
+ {
+ if (input_joy & 1)
{
- input_index += 1;
- input_joy = input_joy >> 1;
- }
if (input_script_ptrs[input_index].bank)
{
actor... |
README: Update for pycopy-cross. | @@ -112,13 +112,13 @@ You will also need bash, gcc, and Python 3.3+ available as the command `python3`
(if your system only has Python 2.7 then invoke make with the additional option
`PYTHON=python2`).
-The cross-compiler, mpy-cross
------------------------------
+The cross-compiler, pycopy-cross
+---------------------... |
[bsp] fix incompatible type for finsh_system_init in bsp/lpc824 | extern int rt_application_init(void);
#ifdef RT_USING_FINSH
-extern void finsh_system_init(void);
+extern int finsh_system_init(void);
extern void finsh_set_device(const char* device);
#endif
|
Fix the example code of 'jerry_define_own_property' function
JerryScript-DCO-1.0-Signed-off-by: Gabor Loki | @@ -2837,7 +2837,8 @@ jerry_define_own_property (const jerry_value_t obj_val,
prop_desc.value = value_to_set;
jerry_value_t prop_name = jerry_create_string ((const jerry_char_t *) "my_prop");
- jerry_define_own_property (global_obj_val, prop_name, &prop_desc);
+ jerry_value_t return_value = jerry_define_own_property (g... |
pyocf: security test for seq cutoff threshold | @@ -126,6 +126,71 @@ def test_neg_cache_set_seq_cut_off_policy(pyocf_ctx, cm, cls):
cache.set_seq_cut_off_policy(i)
+@pytest.mark.parametrize("cm", CacheMode)
+@pytest.mark.parametrize("cls", CacheLineSize)
+@pytest.mark.security
+def test_neg_cache_set_seq_cut_off_threshold(pyocf_ctx, cm, cls):
+ """
+ Test whether it... |
Check that elasticsearch is reachable on Datafari's initialization | @@ -52,6 +52,10 @@ then
cd $ELASTICSEARCH_HOME/bin
sudo -E su datafari -p -c "bash elasticsearch -p $ELASTICSEARCH_PID_FILE" &
sleep 15
+
+ #Test if Elasticsearch is up, if not then exit
+ curl -s --fail -XGET http://localhost:9200/ || { echo "Fail to reach Elasticsearch on localhost:9200"; echo "Please check your netw... |
hv: use ARRAY_SIZE to calc local array size
if one array just used in local only, and its size not used extern,
use ARRAY_SIZE macro to calculate its size. | @@ -80,8 +80,7 @@ static const uint32_t emulated_guest_msrs[NUM_GUEST_MSRS] = {
#endif
};
-#define NUM_MTRR_MSRS 13U
-static const uint32_t mtrr_msrs[NUM_MTRR_MSRS] = {
+static const uint32_t mtrr_msrs[] = {
MSR_IA32_MTRR_CAP,
MSR_IA32_MTRR_DEF_TYPE,
MSR_IA32_MTRR_FIX64K_00000,
@@ -98,13 +97,7 @@ static const uint32_t ... |
Legacy: Fix boot1 base address | @@ -17,7 +17,7 @@ Acidanthera variant of DuetPkg. Specialties:
1. `boot0` is loaded by BIOS from MBR at `7C00h`.
2. `boot0` finds active MBR or ESP GPT partition.
-3. `boot0` loads `boot1` from found partition at `9000h`.
+3. `boot0` loads `boot1` from found partition at `E000h`.
4. `boot1` finds `boot` file at partiti... |
fix reader byte ordering | @@ -229,19 +229,19 @@ static uintptr_t counter(char *data, size_t len) {
/* leftover bytes */
switch ((len & 7)) {
case 7: /* overflow */
- tmp |= ((uint64_t)data[6]) << 56;
+ tmp |= ((uint64_t)data[6]) << 8;
case 6: /* overflow */
- tmp |= ((uint64_t)data[5]) << 48;
+ tmp |= ((uint64_t)data[5]) << 16;
case 5: /* overf... |
stats: fix crash on early init | @@ -63,6 +63,17 @@ STATIC_ASSERT_OFFSET_OF (vlib_buffer_t, template_end, 64);
u16 __vlib_buffer_external_hdr_size = 0;
+static void
+buffer_gauges_update_cached_fn (stat_segment_directory_entry_t * e,
+ u32 index);
+
+static void
+buffer_gauges_update_available_fn (stat_segment_directory_entry_t * e,
+ u32 index);
+
+s... |
zephyr: zmake: Drop the log level of some config related logging
INFO can be a bit spammy for these logs, use DEBUG instead.
BRANCH=none
TEST="zmake list-projects" has no output spam | @@ -55,10 +55,10 @@ def load_config_file(path):
exec(code, config_globals)
# Next, load the BUILD.py
- logging.info("Loading config file %s", path)
+ logging.debug("Loading config file %s", path)
code = compile(path.read_bytes(), str(path), "exec")
exec(code, config_globals)
- logging.info("Config file %s defines %s pr... |
http_server: plugins: fix buffer destroy API usage | @@ -99,7 +99,7 @@ static void cb_plugins(mk_request_t *request, void *data)
out_buf, flb_sds_len(out_buf), NULL);
mk_http_done(request);
- flb_free(out_buf);
+ flb_sds_destroy(out_buf);
}
/* Perform registration */
|
README.md: add example config file location | @@ -259,7 +259,9 @@ Some Linux native OpenGL games overrides LD_PRELOAD and stops MangoHud from work
## Hud configuration
-MangoHud comes with a config file which can be used to set configuration options globally or per application. The priorities of different config files are:
+MangoHud comes with a config file which ... |
sensors: occ: Skip the deconfigured core sensors
This patch skips the deconfigured cores from the core sensors while
parsing the sensor names in the main memory as these sensor values are
not updated by OCC. | #include <chip.h>
#include <sensor.h>
#include <device.h>
+#include <cpu.h>
/*
* OCC Sensor Data
@@ -474,9 +475,11 @@ static void add_sensor_label(struct dt_node *node, struct occ_sensor_name *md,
if (!strncmp(str_maps[i].occ_str, md->name,
strlen(str_maps[i].occ_str))) {
char *end;
- int num;
+ int num = -1;
+ if (md-... |
Mark animating wiki documented. | @@ -2492,7 +2492,7 @@ typedef struct entity
int noaicontrol; // pause A.I. control
int projectile;
int toexplode; // Needed to determine if the projectile is a type that will explode (bombs, dynamite, etc)
- int animating; // Set by animation code can be -1, 0 or 1 (used for reverse animation)
+ int animating; // Anima... |
docs(codes): improve macOS support data (volume, brightness, media controls)
Codes:
K_VOLUME_UP, C_VOLUME_UP, K_VOLUME_DOWN, C_VOLUME_DOWN, K_MUTE
C_BRIGHTNESS_INC, C_BRIGHTNESS_DEC
C_PLAY_PAUSE, C_NEXT, C_PREVIOUS
Tested on:
Catalina 10.15.7
Big Sur 11.2 Beta
PR:
See: | @@ -3218,7 +3218,7 @@ export default [
windows: null,
linux: true,
android: true,
- macos: null,
+ macos: true,
ios: null,
},
footnotes: {},
@@ -3239,7 +3239,7 @@ export default [
windows: null,
linux: true,
android: true,
- macos: null,
+ macos: false,
ios: null,
},
footnotes: {},
@@ -3260,7 +3260,7 @@ export default ... |
make: print gcc version on succesfull build | @@ -7,6 +7,8 @@ CP=arm-none-eabi-objcopy
OD=arm-none-eabi-objdump
SE=arm-none-eabi-size
+GCC_VERSION=$(shell arm-none-eabi-gcc -dumpversion)
+
INCLUDE = src \
src/main \
src/main/rx \
@@ -62,9 +64,9 @@ all: $(TARGET)
FORCE:
$(TARGET): $(BUILD_DIR)/target $(BUILD_DIR)/$(BINARY).bin $(BUILD_DIR)/$(BINARY).hex $(BUILD_DIR... |
Doc: Remove type information for import_generated in postgres-fdw.sgml.
The type information for FDW options is only added to HEAD; remove this
from back branches. Oversight in commit
Apply the patch to v12, v13, and v14.
Discussion: | </listitem>
</varlistentry>
<varlistentry>
- <term><literal>import_generated</literal> (<type>boolean</type>)</term>
+ <term><literal>import_generated</literal></term>
<listitem>
<para>
This option controls whether column <literal>GENERATED</literal> expressions
|
Change comment in gst.h | @@ -210,8 +210,8 @@ struct GstValue {
GstValueUnion data;
};
-/* A lightweight thread in gst. Does not correspond to
- * operating system threads. Used in coroutines and continuations. */
+/* A lightweight green thread in gst. Does not correspond to
+ * operating system threads. */
struct GstThread {
uint32_t count;
ui... |
Fix coverity CID & - Arg passed to function that cannot be negative in cms_ess.c | @@ -430,12 +430,12 @@ ASN1_OCTET_STRING *cms_encode_Receipt(CMS_SignerInfo *si)
int cms_add1_signing_cert_v2(CMS_SignerInfo *si, ESS_SIGNING_CERT_V2 *sc)
{
ASN1_STRING *seq = NULL;
- unsigned char *p, *pp;
+ unsigned char *p, *pp = NULL;
int len;
/* Add SigningCertificateV2 signed attribute to the signer info. */
len =... |
Remove SRCDIR in opessl/apps. | @@ -91,67 +91,65 @@ IF (OS_WINDOWS AND ARCH_X86_64)
)
ENDIF()
-SRCDIR(contrib/libs/openssl)
-
SRCS(
- apps/app_rand.c
- apps/apps.c
- apps/asn1pars.c
- apps/bf_prefix.c
- apps/ca.c
- apps/ciphers.c
- apps/cms.c
- apps/crl.c
- apps/crl2p7.c
- apps/dgst.c
- apps/dhparam.c
- apps/dsa.c
- apps/dsaparam.c
- apps/ec.c
- apps... |
Recover performance for sector-aligned uhex images | @@ -84,7 +84,7 @@ static uint8_t validate_checksum(hex_line_t *record)
static hex_line_t line = {0};
static uint32_t next_address_to_write = 0;
-static uint8_t low_nibble = 0, idx = 0, record_processed = 0, load_unaligned_record = 0;
+static uint8_t low_nibble = 0, idx = 0, record_processed = 0, load_unaligned_record =... |
compiled schema BUGFIX recursive error cleanup
Fixes | @@ -7407,7 +7407,7 @@ error:
/* revert compilation of modules implemented by dependency */
for (u = 0; u < ctx.ctx->list.count; ++u) {
m = ctx.ctx->list.objs[u];
- if (m->implemented == 2) {
+ if ((m->implemented == 2) && m->compiled) {
/* revert features list to the precompiled state */
lys_feature_precompile_revert(&... |
ic: use ovsdb_index to iterate over routes
Small optimization in routes advertizement code.
Instead of iterating over all routes and checking for
needed transit_switch and availability_zone, use
ovsdb_index built with appropriate fields. | @@ -68,6 +68,7 @@ struct ic_context {
struct ovsdb_idl_index *sbrec_port_binding_by_name;
struct ovsdb_idl_index *icsbrec_port_binding_by_ts;
struct ovsdb_idl_index *icsbrec_route_by_ts;
+ struct ovsdb_idl_index *icsbrec_route_by_ts_az;
};
struct ic_state {
@@ -1256,15 +1257,13 @@ advertise_route(struct ic_context *ctx... |
LISP: fix wrong reply message in map_register_fallback_threshold call | @@ -1617,7 +1617,7 @@ static void
mp->value = clib_net_to_host_u32 (mp->value);
rv = vnet_lisp_map_register_fallback_threshold_set (mp->value);
- REPLY_MACRO (VL_API_ONE_MAP_REGISTER_FALLBACK_THRESHOLD);
+ REPLY_MACRO (VL_API_ONE_MAP_REGISTER_FALLBACK_THRESHOLD_REPLY);
}
static void
|
Ensure sending Set Long Poll Interval after Check-in Interval | @@ -135,6 +135,8 @@ bool DeRestPluginPrivate::checkPollControlClusterTask(Sensor *sensor)
item->setValue(item->toNumber() & ~R_PENDING_WRITE_POLL_CHECKIN_INTERVAL);
return true;
}
+
+ return false; // only send Set Long Poll Interval after writing this attribute
}
if (item->toNumber() & R_PENDING_SET_LONG_POLL_INTERVAL... |
Fix trigger interact call | @@ -12,7 +12,9 @@ UBYTE last_trigger = NO_TRIGGER_COLLISON;
UBYTE trigger_at_intersection(bounding_box_t *bb, upoint16_t *offset);
void trigger_interact(UBYTE i) __banked {
- script_execute(triggers[i].script.bank, triggers[i].script.ptr, 0, 0);
+ if (triggers[i].script_flags & TRIGGER_HAS_ENTER_SCRIPT) {
+ script_exec... |
Check the value passed to the grib_set -d option | @@ -240,7 +240,13 @@ int grib_process_runtime_options(grib_context* context,int argc,char** argv,grib
options->gts=grib_options_on("g");
if (grib_options_on("d:")) {
- options->constant=atof(grib_options_get_option("d:"));
+ char* endPtr = NULL; /* for error handling */
+ const char* optionStr = grib_options_get_option... |
taniks: Set input current as 95% of adapter rating
BRANCH=brya
TEST=make buildall -j
verify pass by power team | #include "battery.h"
#include "button.h"
+#include "charge_manager.h"
#include "charge_ramp.h"
+#include "charge_state_v2.h"
#include "charger.h"
#include "common.h"
#include "compile_time_macros.h"
@@ -109,3 +111,17 @@ enum battery_present battery_hw_present(void)
/* The GPIO is low when the battery is physically pres... |
Use stock bam-bam-boogieman | @@ -20,15 +20,9 @@ set -x
sudo apt-get install -y figlet
#Install boogieman
-#sudo gem install --pre bam-bam-boogieman
-git clone https://github.com/Qthan/bam-bam-boogieman.git -b cost-modeling
-cd bam-bam-boogieman
-bundle update
-bundle exec rake install
-cd ..
+gem install bam-bam-boogieman
which bam
-
#Install the ... |
Fix fstr for EMetricBestValue::FixedValue | @@ -390,7 +390,7 @@ static TVector<std::pair<double, TFeature>> CalcFeatureEffectLossChange(
score = -score;
break;
case EMetricBestValue::FixedValue:
- score = abs(score - bestValue);
+ score = abs(metric->GetFinalError(scores[idx]) - bestValue) - abs(metric->GetFinalError(scores.back()) - bestValue);
default:
ythrow ... |
Fix for armclang support | @@ -61,7 +61,7 @@ COMPILER_ASSERT(sizeof(cfg_setting_t) < SECTOR_BUFFER_SIZE);
COMPILER_ASSERT(SECTOR_BUFFER_SIZE % 8 == 0);
// Configuration ROM
-#if defined(__CC_ARM) || defined(__ARMCC_VERSION)
+#if defined(__CC_ARM)
static volatile cfg_setting_t config_rom __attribute__((section("cfgrom"),zero_init));
#else
static ... |
print warning if virtual monitor mode interface is detected | @@ -7491,7 +7491,7 @@ else
{
for (p = 0; p < 6; p++) printf("%02x", (permaddr[p]));
if(checkmonitorinterface(ifa->ifa_name) == false) printf(" %s (%s)", ifa->ifa_name, drivername);
- else printf(" %s (%s) warning:probably a monitor interface!", ifa->ifa_name, drivername);
+ else printf(" %s (%s) warning:probably a virt... |
zephyr/test/drivers/src/stubs.c: Format with clang-format
BRANCH=none
TEST=none | @@ -55,8 +55,7 @@ BUILD_ASSERT(ARRAY_SIZE(pi3usb9201_bc12_chips) == USBC_PORT_COUNT);
int board_set_active_charge_port(int port)
{
- int is_real_port = (port >= 0 &&
- port < CONFIG_USB_PD_PORT_MAX_COUNT);
+ int is_real_port = (port >= 0 && port < CONFIG_USB_PD_PORT_MAX_COUNT);
int i;
if (!is_real_port && port != CHARG... |
extmod/Matrix: return if already a matrix
We can do this because our matrix type is immutable. | @@ -285,12 +285,18 @@ typedef struct _robotics_Matrix_obj_t {
bool transposed;
} robotics_Matrix_obj_t;
+const mp_obj_type_t robotics_Matrix_type;
// pybricks.robotics.Matrix.__init__
STATIC mp_obj_t robotics_Matrix_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw, const mp_obj_t *args) {
PB_PARSE_ARGS_CL... |
Update: NAR_language_ex10.txt: improved example: | @@ -25,12 +25,6 @@ plastic is meltable
<BOTTLE --> [MELTABLE]>.
a bottle is meltable
-<LIGHTNING --> [DANGEROUS]>.
-lightning is dangerous
-
-<THUNDER --> [LOUD]>.
-thunder is loud
-
*train=false
<<($1 * $2) --> CAUSE> ==> <<$1 --> [OBSERVE]> =/> <$2 --> [OBSERVE]>>>.
<<$1 --> [MELTABLE]> ==> <(<$1 --> [OBSERVE]> &/ ^l... |
fixed unknown topic warning in the console | @@ -844,7 +844,7 @@ static void fileFound(void* data)
FREE(loadPublicCartData);
}
-static void printUsage(Console* console, const char* command);
+static bool printUsage(Console* console, const char* command);
static void onLoadCommandConfirmed(Console* console)
{
@@ -3092,7 +3092,7 @@ static void toUpperStr(char* str)... |
TLSProxy/Proxy.pm: preclude output intermix.
s_server -rev emits info output on stderr, i.e. unbufferred, which
risks intermixing with output from TLSProxy itself on non-line
boundaries, which in turn is confusing to TAP parser. | @@ -239,7 +239,7 @@ sub start
open(my $savedin, "<&STDIN");
# Temporarily replace STDIN so that sink process can inherit it...
- $pid = open(STDIN, "$execcmd |") or die "Failed to $execcmd: $!\n";
+ $pid = open(STDIN, "$execcmd 2>&1 |") or die "Failed to $execcmd: $!\n";
$self->{real_serverpid} = $pid;
# Process the ou... |
Modify for all-wet core. | :: :: ::
:::: :: ::
:: :: ::
+!:
|%
++ foil :: ship allocation map
|* a=mold :: entry mold
[min=1 ctr=1 und=~ ove=~ max=(dec (bex (bex a))) box=~]
::
++ fo
- =| (foil $@(~ *))
- |@
+ |_ (foil $@(~ *))
+- nth :: index
|= a/@u ^- (pair (unit @u) @u)
?: (lth a ~(wyt in und))
?: =(0 a) [(some ctr) a]
$(a (dec a), +<.nth ne... |
it just blows up | // stolen from zexy/relay by porres
+#define USEVAR(x) x=x
+
#include "m_pd.h"
static t_class *routepass_class;
@@ -116,7 +118,7 @@ static void *routepass_new(t_symbol *s, int argc, t_atom *argv)
t_routepasselement *e;
t_routepass *x = (t_routepass *)pd_new(routepass_class);
t_atom a;
-// ZEXY_USEVAR(s);
+ USEVAR(s);
i... |
Add Debuggers And Tools Wow64 dbghelp support | @@ -210,13 +210,13 @@ VOID PhpSymbolProviderCompleteInitialization(
VOID
)
{
-#ifdef _WIN64
- static PH_STRINGREF windowsKitsRootKeyName = PH_STRINGREF_INIT(L"Software\\Wow6432Node\\Microsoft\\Windows Kits\\Installed Roots");
-#else
static PH_STRINGREF windowsKitsRootKeyName = PH_STRINGREF_INIT(L"Software\\Microsoft\\W... |
Some minor changes to Omeganuh2 python routines | from pyccl import ccllib as lib
-from pyccl.pyutils import _vectorize_fn_simple
def Omeganuh2(a,Neff,mnu,TCMB):
"""Omeganuh2
@@ -7,14 +6,14 @@ def Omeganuh2(a,Neff,mnu,TCMB):
Args:
a (float): Scale factor, normalized to 1 today.
Neff (float): Number of relativistic neutrino species
- mnu (float): Neutrino mass ()
+ mnu... |
debian: bump to v1.0.0 | -td-agent-bit (0.15.0) stable; urgency=low
+td-agent-bit (1.0.0) stable; urgency=low
- * Fluent Bit v0.15.0
+ * Fluent Bit v1.0.0
- -- Eduardo Silva <eduardo@treasure-data.com> Fri, 05 Oct 2018 22:00:00 -0600
+ -- Eduardo Silva <eduardo@treasure-data.com> Mon, 10 Dec 2018 08:00:00 -0600
+
+td-agent-bit (0.14.7) stable;... |
chat: timestamps are lined at top of messages | @@ -97,7 +97,7 @@ export default class ChatMessage extends Component<ChatMessageProps> {
const containerClass = `${renderSigil
? `cf pt2 pl3 lh-copy`
- : `items-center cf hide-child`} ${isPending ? 'o-40' : ''} ${className}`
+ : `items-top cf hide-child`} ${isPending ? 'o-40' : ''} ${className}`
const timestamp = momen... |
docs: update cn trans for flash-encryptions | @@ -434,7 +434,7 @@ To use a host generated key, take the following steps:
espefuse.py --port PORT burn_key BLOCK_KEY0 flash_encryption_key256.bin XTS_AES_128_KEY
- For AES-128 key derived from 128 bits (SHA256(128 bits)) - ``XTS_AES_128_KEY_DERIVED_FROM_128_EFUSE_BITS``. The FE key will be written in the lower part of... |
Update http_client.c | * Usage: http_client remote_addr remote_port [local_port] [local_encaps_port] [remote_encaps_port] [uri]
*
* Example
- * Server: $ ./echo_server 11111 22222
- * Client: $ ./http_client 127.0.0.1 7 0 22222 11111 "/index.html"
+ * Client: $ ./http_client 212.201.121.100 80 0 9899 9899 /index.html
*/
#ifdef _WIN32
|
python lib: only import spidev as necessary | @@ -18,7 +18,6 @@ from .update import ensure_st_up_to_date # noqa pylint: disable=import-error
from .serial import PandaSerial # noqa pylint: disable=import-error
from .isotp import isotp_send, isotp_recv # pylint: disable=import-error
from .config import DEFAULT_FW_FN, DEFAULT_H7_FW_FN, SECTOR_SIZES_FX, SECTOR_SIZES_H... |
Fix command-line defaults processing. | @@ -40,11 +40,6 @@ main(int argc, /* I - Number of command-line args */
*/
memset(&pinfo, 0, sizeof(pinfo));
-
- pinfo.document_formats = "application/pdf,image/jpeg,image/pwg-raster";
- pinfo.location = "";
- pinfo.make = "Test";
- pinfo.model = "Printer";
pinfo.print_group = SERVER_GROUP_NONE;
pinfo.proxy_group = SER... |
Switching from localtime to localtime_r on non-Windows platforms.
localtime isn't thread-safe, since it returns a pointer to a
statically-allocated struct, whereas localtime_r takes the address of a
user-allocated struct.
This is only used in usrsctp_dumppacket. | @@ -3353,12 +3353,11 @@ usrsctp_dumppacket(const void *buf, size_t len, int outbound)
{
size_t i, pos;
char *dump_buf, *packet;
+ struct tm t;
#ifdef _WIN32
struct timeb tb;
- struct tm t;
#else
struct timeval tv;
- struct tm *t;
time_t sec;
#endif
@@ -3378,10 +3377,10 @@ usrsctp_dumppacket(const void *buf, size_t len,... |
ChatResource: cap initial backlog | @@ -40,7 +40,7 @@ function ChatResource(props: ChatResourceProps) {
const graphPath = station.slice(7);
const graph = graphs[graphPath];
const unreads = useHarkState(state => state.unreads);
- const unreadCount = unreads.graph?.[station]?.['/']?.unreads || 0;
+ const unreadCount = unreads.graph?.[station]?.['/']?.unrea... |
Rollback: r6436477
[diff-resolver:snermolaev] Sandbox task:
Task author: rustammm@
Description: Caused too many nodes in builds
Note: mandatory check (NEED_CHECK) was skipped | @@ -20,13 +20,7 @@ GLOBAL_SRCS_IN_RESULTS=yes
JSON_CACHE_IS_ATTACHED=yes
_BLACKLISTS=
-when ($DISABLE_BLACKLIST == "yes") {
- _BLACKLISTS=
-}
-elsewhen ($CUSTOM_BLACKLIST != "") {
- _BLACKLISTS=$CUSTOM_BLACKLIST
-}
-elsewhen ($AUTOCHECK == "yes" || $TEST_BLACKLIST_AUTOCHECK == "yes") {
+when ($AUTOCHECK == "yes" || $TE... |
Ensure we don't re-render Term/HTML output if no data was read/piped. | @@ -797,6 +797,10 @@ perform_tail_follow (GLog * glog) {
if (glog->filename[0] == '-' && glog->filename[1] == '\0') {
parse_tail_follow (glog, glog->pipe);
+ /* did we read something from the pipe? */
+ if (0 == glog->bytes)
+ return;
+
glog->length += glog->bytes;
goto out;
}
|
DEV: Init attr/sleeper from Node Descriptor | @@ -236,6 +236,7 @@ void DEV_NodeDescriptorStateHandler(Device *device, const Event &event)
if (!device->node()->nodeDescriptor().isNull())
{
DBG_Printf(DBG_INFO, "ZDP node descriptor verified: 0x%016llX\n", device->key());
+ device->item(RAttrSleeper)->setValue(!device->node()->nodeDescriptor().receiverOnWhenIdle()); ... |
travis: add libhwloc-dev to build | @@ -93,6 +93,7 @@ matrix:
apt:
packages:
- libjson-c-dev
+ - libhwloc-dev
- uuid-dev
- doxygen
- lcov
@@ -114,6 +115,7 @@ matrix:
apt:
packages:
- libjson-c-dev
+ - libhwloc-dev
- uuid-dev
- doxygen
- lcov
|
Doc: Replace mention to "K bytes" by "kilobytes" in textsearch.sgml
"kB" or "kilobyte" is used in the documentation.
Author: Daniel Gustafsson
Discussion: | @@ -3915,7 +3915,7 @@ Parser: "pg_catalog.default"
text search features are:
<itemizedlist spacing="compact" mark="bullet">
<listitem>
- <para>The length of each lexeme must be less than 2K bytes</para>
+ <para>The length of each lexeme must be less than 2 kilobytes</para>
</listitem>
<listitem>
<para>The length of a <... |
fix: make install | @@ -194,8 +194,8 @@ install : all
install -m 644 $(LIBDISCORD) $(PREFIX)/lib/
install -d $(PREFIX)/include/orca/
install -m 644 *.h common/*.h common/**/*.h $(PREFIX)/include/orca/
- $(foreach var, $(SPECS_SUBDIR), install -d $(PREFIX)/include/orca/$(SPECSDIR)/$(var))
- $(foreach var, $(SPECS_SUBDIR), install -m 644 $(... |
BugID:21716117: Enlarge CLI stack size for esp8266 yts APP | @@ -33,3 +33,8 @@ $(NAME)_SOURCES := board.c
EXTRA_TARGET_MAKEFILES += $($(HOST_MCU_FAMILY)_LOCATION)/gen_crc_bin.mk
GLOBAL_DEFINES += LOCAL_PORT_ENHANCED_RAND WITH_VENDOR_LWIP
+
+ifeq ($(APP), yts)
+GLOBAL_DEFINES += CLI_CONFIG_STACK_SIZE=4096
+endif
+
|
Fix `__open_2` reported operation error
- fix error open/close - `__openat_2` -> `__open_2` | @@ -2024,7 +2024,7 @@ __open_2(const char *file, int oflag)
if (fd != -1) {
doOpen(fd, file, FD, "__open_2");
} else {
- doUpdateState(FS_ERR_OPEN_CLOSE, fd, 0, "__openat_2", file);
+ doUpdateState(FS_ERR_OPEN_CLOSE, fd, 0, "__open_2", file);
}
return fd;
|
Enable saving IAS Zone based sensor state to database | @@ -98,6 +98,7 @@ void DeRestPluginPrivate::handleIasZoneClusterIndication(const deCONZ::ApsDataIn
bool alarm = (zoneStatus & (STATUS_ALARM1 | STATUS_ALARM2)) ? true : false;
item->setValue(alarm);
sensor->updateStateTimestamp();
+ sensor->setNeedSaveDatabase(true);
deCONZ::NumericUnion num = {0};
num.u16 = zoneStatus;... |
build/configs/usbrule.sh : Modify descriptions about supporting which boards
This file is not only for Artik05x, but also another boards like stm32, imxrt. | #
###########################################################################
#
-# File : artik05x_usbrule.sh
-# Description : usb rule script for ARTIK 05X
+# File : usbrule.sh
+# Description : usb rule script
args=("$@")
BOARD=${args[0]}
|
os/binfmt/libelf: fix build warning
Add preprocessor condition to fix build warning as shown below
CC: libelf/libelf_read.c
libelf/libelf_read.c: In function 'elf_read':
libelf/libelf_read.c:134:8: warning: unused variable 'rpos' [-Wunused-variable]
off_t rpos; /* Position returned by lseek */
^~~~ | @@ -131,7 +131,9 @@ static inline void elf_dumpreaddata(FAR char *buffer, int buflen)
int elf_read(FAR struct elf_loadinfo_s *loadinfo, FAR uint8_t *buffer, size_t readsize, off_t offset)
{
ssize_t nbytes; /* Number of bytes read */
+#if !defined(CONFIG_COMPRESSED_BINARY)
off_t rpos; /* Position returned by lseek */
+#... |
tests: add test for exponentiation | @@ -288,6 +288,23 @@ describe("Titan code generator ", function()
local ok, err = call("titan_test", "assert(6==titan_test.sum(1,2,3))")
assert.truthy(ok, err)
end)
+
+ it("generates code for exponentiation", function()
+ local code = [[
+ function power(a: float, b: float): float
+ return a ^ b
+ end
+ ]]
+ local ast,... |
Fix problems with script introduced yesterday. | @@ -290,6 +290,7 @@ if test "$branch" = "trunk" ; then
-DCMAKE_BUILD_TYPE=Release \
-DVISIT_BUILD_ALL_PLUGINS=1 \
-DVISIT_DATA_MANUAL_EXAMPLES:BOOL=ON \
+ -DVISIT_INSTALL_THIRD_PARTY:BOOL=ON \
-DIGNORE_THIRD_PARTY_LIB_PROBLEMS:BOOL=ON \
-DCMAKE_CXX_FLAGS_RELEASE:STRING="-fopenmp -O3 -DNDEBUG -Wall -pedantic -Wextra -Wn... |
debian: fix libmbedtls package names on different debian versions | @@ -8,7 +8,7 @@ Homepage: https://github.com/mwarning/kadnode
Package: kadnode
Architecture: any
-Depends: libmbedtls (>=2.4.2), ${shlibs:Depends}, ${misc:Depends}, ${misc:Pre-Depends}
+Depends: libmbedtls (>=2.4.2) | libmbedtls10 (>=2.4.2) | libmbedtls12 (>=2.4.2), ${shlibs:Depends}, ${misc:Depends}, ${misc:Pre-Depend... |
vere: adds --no-dock to usage printf | @@ -681,6 +681,7 @@ u3_ve_usage(c3_i argc, c3_c** argv)
"-Y, --scry-into FILE Optional name of file (for -X)\n",
"-Z, --scry-format FORMAT Optional file format ('jam', or aura, for -X)\n",
" --no-conn Do not run control plane\n",
+ " --no-dock Skip binary \"docking\" on boot\n",
"\n",
"Development Usage:\n",
" To creat... |
[CI] Run matrix multiplication and hello world | variables:
GIT_SUBMODULE_STRATEGY: recursive
ROOT_DIR: '$CI_PROJECT_DIR'
- APP: 'hello_world'
+ APPS: "hello_world matrix_mul"
before_script:
- env
@@ -96,10 +96,16 @@ hardware:
script:
- git apply .gitlab-ci.d/patches/0001-hardware-Set-number-of-cores-to-32-in-simulation.patch
- cd apps
- - make COMPILER=${COMPILER} b... |
Add a CHANGES entry to mention the replay protection capabilities | Changes between 1.1.0g and 1.1.1 [xx XXX xxxx]
+ *) TLSv1.3 replay protection for early data has been implemented. See the
+ SSL_read_early_data() man page for further details.
+ [Matt Caswell]
+
*) Separated TLSv1.3 ciphersuite configuration out from TLSv1.2 ciphersuite
configuration. TLSv1.3 ciphersuites are not comp... |
Remove pg_xact from pg_stat_reset_slru docs
This should have been included in
Reported-by: Fujii Masao
Discussion: | @@ -3483,9 +3483,9 @@ SELECT pid, wait_event_type, wait_event FROM pg_stat_activity WHERE wait_event i
predefined list (<literal>async</literal>, <literal>clog</literal>,
<literal>commit_timestamp</literal>, <literal>multixact_offset</literal>,
<literal>multixact_member</literal>, <literal>oldserxid</literal>,
- <liter... |
test-suite: disable ucx for openmpi/opencoarrays | @@ -12,7 +12,7 @@ check_rms
rm=$RESOURCE_MANAGER
NODES=2
-TASKS=4
+TASKS=2
ARGS=8
@test "[libs/OpenCoarrays] hello_multiverse binary runs under resource manager ($rm/$LMOD_FAMILY_COMPILER/$LMOD_FAMILY_MPI)" {
@@ -28,6 +28,11 @@ ARGS=8
export FI_PROVIDER=sockets
fi
+ if [[ "$LMOD_FAMILY_MPI" =~ "openmpi" ]];then
+ expor... |
simplify test, make more robust, new interface | @@ -299,38 +299,37 @@ static bool test_iter_lsqr_warmstart(void)
enum { N = 3 };
long dims[N] = { 4, 2, 3 };
- complex float* src1 = md_alloc(N, dims, CFL_SIZE);
- complex float* dst1 = md_alloc(N, dims, CFL_SIZE);
- complex float* dst2 = md_alloc(N, dims, CFL_SIZE);
-
- md_zfill(N, dims, src1, 1.);
- md_zfill(N, dims,... |
web ui docker: add more mountpoints to demo | @@ -10,6 +10,11 @@ WORKDIR /home/elektra
# mount as root user
RUN kdb mount --with-recommends hosts user/hosts hosts
+RUN kdb mount /etc/networks system/networks hosts
+RUN kdb mount /etc/ssh/ssh_config system/ssh line
+RUN kdb mount /etc/ldap/ldap.conf system/ldap line
+RUN kdb mount /var/lib/dpkg/available system/dpk... |
tools/dual-boot: refactor padding read
Make it take just its length so it does not need to know about base firmware size | @@ -143,27 +143,33 @@ def get_base_firmware(size, new_boot_vector):
# Gets empty padding blocks with extra information put in at the end
-def get_padding(base_firmware_size, second_firmware_start, extra_info):
+def get_padding(padding_length, extra_info):
+
+ if len(extra_info) > padding_length:
+ raise ValueError('Pad... |
Document random PIN and reset functions in oc_api.h
This adds doxygen documentation for:
- oc_random_pin_cb_t - callback function
- oc_set_random_pin_callback
- oc_reset
- oc_reset_device | @@ -454,8 +454,56 @@ int oc_init_platform(const char *mfg_name,
#define oc_set_custom_platform_property(prop, value) \
oc_rep_set_text_string(root, prop, value)
+/**
+ * Callback invoked when an onboarding client requests device ownership via the
+ * Random PIN Ownership Transfer Method (OTM). The purpose of the callba... |
OSX is unhappy when combining 'as -g' and .loc directives.
Turn it off. It isn't really helping with .loc directives. | @@ -98,7 +98,7 @@ esac
# config.h
echo '#define Instroot "'$prefix'"' >> config.h
-echo '#define Asmcmd {"as", "-g", "-o", NULL}' >> config.h
+echo '#define Asmcmd {"as", "-o", NULL}' >> config.h
echo '#define Objsuffix ".o"' >> config.h
echo 'export SYSCLASS=posixy' >> config.mk
echo '#define Symprefix' $symprefix >> ... |
Cmake will automatically install Imath if it is not found to be installed. | @@ -25,6 +25,23 @@ project(IlmBase VERSION ${ILMBASE_VERSION} LANGUAGES C CXX)
find_package(Imath)
+if(NOT Imath_FOUND)
+ message("Imath was not found. It is going to be cloned and installed.")
+
+ include(ExternalProject)
+
+ set(EXTERNAL_INSTALL_LOCATION ${CMAKE_BINARY_DIR}/Imath)
+
+ ExternalProject_Add(Imath
+ GIT_... |
input_metric: use new cmetrics function names | @@ -34,7 +34,7 @@ int flb_input_metrics_append(struct flb_input_instance *ins,
size_t mt_size;
/* Convert metrics to msgpack */
- ret = cmt_encode_msgpack(cmt, &mt_buf, &mt_size);
+ ret = cmt_encode_msgpack_create(cmt, &mt_buf, &mt_size);
if (ret != 0) {
flb_plg_error(ins, "could not encode metrics");
return -1;
@@ -43... |
Fix datafari-community/datafari-ce#862 Autocomplete for entity
extraction not working | ACTIVATED=false
-AUTOCOMPLETESUGGESTERS=[]
-CATEGORIES={}
\ No newline at end of file
+AUTOCOMPLETESUGGESTERS=[\
+ {\
+ "i18nKey":"asAuthor", \
+ "serverUrl":"", \
+ "solrCore":"", \
+ "servlet":"suggestEntityAuthors", \
+ "suggestComponent":"suggesterEntityAuthors", \
+ "maxSuggest":1, \
+ "categoryKey":"authors", \
+... |
kick and tick | @@ -892,6 +892,7 @@ _n_burn(c3_y* pog)
&&do_nock, &&do_noct,
&&do_deep, &&do_peep,
&&do_bump, &&do_same,
+ &&do_kick, &&do_tick,
};
#define BURN() goto *lab[pog[ip_s++]]
@@ -985,7 +986,7 @@ _n_burn(c3_y* pog)
do_quot:
_n_toss();
do_quip:
- _n_push(_n_rean(pog, &ip_s));
+ _n_push(u3k(_n_rean(pog, &ip_s)));
BURN();
do_no... |
Formating
Fixing formatting. | # Comment that will be sent if an issue is judged to be closed
-comment: "Hi there. Thank you for filing this issue. Unfortunately, we cannot help you, as you haven't sticked to the provided template and/or have not provided all information requested. Consequently, this issue has been closed.
-
-We're more than happy t... |
add check for non power of two device count for doc-parallel mode | @@ -74,16 +74,28 @@ namespace NCatboostCuda {
}
inline void UpdateDataPartitionType(const TBinarizedFeaturesManager& featuresManager,
- NCatboostOptions::TCatBoostOptions& catBoostOptions) {
+ NCatboostOptions::TCatBoostOptions& catBoostOptions,
+ ui32 devCount) {
+
+ const bool couldUsedDocParallelBoosting = (1 << Int... |
Fix GL error with buffer unmapping;
This doesn't seem to fix any of the macOS rendering bugs though... | @@ -1744,8 +1744,10 @@ void lovrBufferDiscard(Buffer* buffer) {
glBufferData(glType, buffer->size, NULL, convertBufferUsage(buffer->usage));
#else
// We unmap even if persistent mapping is supported
- // TODO investigate glInvalidateBufferData and its interactions with persistently mapped buffers.
+ if (buffer->mapped ... |
BugID:18545473:[netmgr] add g_alink_smartconfig implementation | @@ -61,7 +61,7 @@ typedef struct
bool wifi_scan_complete_cb_finished;
} netmgr_cxt_t;
-extern autoconfig_plugin_t g_alink_smartconfig;
+autoconfig_plugin_t g_alink_smartconfig;
static netmgr_cxt_t g_netmgr_cxt;
#ifndef WITH_SAL
@@ -734,3 +734,39 @@ int netmgr_wifi_start(bool autoconfig)
return -1;
}
+
+#ifdef CONFIG_YW... |
RTX5 (Component View): displaying "Mutex owner" only when mutex locked | <?xml version="1.0" encoding="utf-8"?>
<component_viewer schemaVersion="1.2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="Component_Viewer.xsd">
- <component name="CMSIS:RTOS2:Keil RTX5" shortname="RTX5" version="5.5.0"/> <!-- name and version of the component -->
+ <component na... |
To keep the cache little | @@ -1608,12 +1608,8 @@ void xdag_list_mined_blocks(int count, int include_non_payed, FILE *out)
void cache_retarget(int32_t cache_hit, int32_t cache_miss)
{
if(g_xdag_extstats.cache_usage >= g_xdag_extstats.cache_size) {
- if(g_xdag_extstats.cache_hitrate < 0.94 && g_xdag_extstats.cache_size * 2 <= CACHE_MAX_SIZE) {
- ... |
Refactored Scene update | @@ -40,9 +40,10 @@ void SceneRender();
UBYTE SceneNpcAt_b(UBYTE actor_i, UBYTE tx_a, UBYTE ty_a);
UBYTE SceneTriggerAt_b(UBYTE tx_a, UBYTE ty_a);
void SceneUpdateActors_b();
-void MapRepositionCamera_b();
+void SceneUpdateCamera_b();
void SceneHandleTriggers_b();
-void MapUpdateEmotionBubble_b();
+void SceneRenderActor... |
Add troubleshooting in wireless section
Add a small troubleshooting section since wireless might add some
complexity, and to lessen incoming relevant issue posts.
PR <https://github.com/Genymobile/scrcpy/pull/1303> | @@ -418,6 +418,11 @@ Alternatively, it is possible to enable the TCP/IP connection manually using
6. Connect to your device: `adb connect DEVICE_IP:5555` _(replace `DEVICE_IP`)_.
7. Run `scrcpy` as usual.
+If the connection randomly drops, run your `scrcpy` command to reconnect. If it
+says there are no devices/emulato... |
[kernel][mem] Improve some ISR check range. | @@ -261,11 +261,11 @@ void *rt_malloc(rt_size_t size)
rt_size_t ptr, ptr2;
struct heap_mem *mem, *mem2;
- RT_DEBUG_NOT_IN_INTERRUPT;
-
if (size == 0)
return RT_NULL;
+ RT_DEBUG_NOT_IN_INTERRUPT;
+
if (size != RT_ALIGN(size, RT_ALIGN_SIZE))
RT_DEBUG_LOG(RT_DEBUG_MEM, ("malloc size %d, but align to %d\n",
size, RT_ALIGN(... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.