message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Docs: incorrect guc gp_external_max_segments | <codeph>gpfdist</codeph> servers participating in the load, data can be loaded at very
high rates. </p>
<p>Primary segments access external files in parallel when using <codeph>gpfdist</codeph> up
- to the value of <codeph>gp_external_max_segments</codeph>. When optimizing
+ to the value of <codeph>gp_external_max_segs... |
Add post-build step to make bin file for Mediatek board | @@ -423,7 +423,13 @@ target_link_libraries(
AFR::pkcs11
)
+find_program(fromelf fromelf.exe PATHS "${AFR_COMPILER_DIR}")
+set(output_bin_file "$<TARGET_FILE_DIR:${exe_target}>/${exe_target}.bin")
+set(output_axf_file "$<TARGET_FILE_DIR:${exe_target}>/${exe_target}.axf")
+
add_custom_command(
TARGET ${exe_target} POST_B... |
Step should be set to endStep, not startStep, in stream wamd, type=fc | meta verificationDate g1verificationdate(dataDate, dataTime, endStep) : read_only;
meta monthlyVerificationDate g1monthlydate(verificationDate) : dump,no_copy;
alias mars.date = monthlyVerificationDate;
-alias mars.step = startStep;
meta verificationYear evaluate(verificationDate/10000);
meta monthlyVerificationYear ev... |
Update internal resource limit caps; | @@ -649,9 +649,9 @@ void lovrGraphicsGetLimits(GraphicsLimits* limits) {
limits->renderSize[0] = state.limits.renderSize[0];
limits->renderSize[1] = state.limits.renderSize[1];
limits->renderSize[2] = state.limits.renderSize[2];
- limits->uniformBuffersPerStage = MIN(state.limits.uniformBuffersPerStage - 2, MAX_SHADER_... |
perf-tools/paraver: build in %install | @@ -52,7 +52,8 @@ Paraver was developed to respond to the need to have a qualitative global percep
%setup -q -n %{pname}-%{version}
-%build
+%install
+export NO_BRP_CHECK_RPATH=true
%ohpc_setup_compiler
module load boost
@@ -64,16 +65,6 @@ module load boost
CC=g++ ./configure --prefix=%{install_path} --with-boost=$BOOS... |
fix paths for rpm based distros | @@ -39,7 +39,7 @@ ldconfig
%install
echo "Buildroot: ${RPM_BUILD_ROOT}"
-make install BIN_PATH=${RPM_BUILD_ROOT}/usr MAN_PATH=${RPM_BUILD_ROOT}/usr/share/man CONFIG_PATH=${RPM_BUILD_ROOT}/etc BASH_COMPLETION_PATH=${RPM_BUILD_ROOT}/usr/share/bash-completion/completions LIB_PATH=${RPM_BUILD_ROOT}/usr/lib/`uname -p`-linux... |
fdupes on sles only | @@ -48,7 +48,9 @@ DocDir: %{OHPC_PUB}/doc/contrib
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: doxygen
+%if 0%{?sles_version}
BuildRequires: fdupes
+%endif
BuildRequires: gcc-c++
BuildRequires: libtool
%if 0%{?suse_version} <= 1220 && !0%{?suse_version}
@@ -130,10 +132,12 @@ autoreconf --force --insta... |
EFAS: make efasDomain string for readability | @@ -55,7 +55,7 @@ concept efas_post_proc {
} : hidden;
# Domain. Missing, local or global
-codetable[1] efasDomain "grib2/tables/local/ecmf/efas_domain.table" = 255 : dump;
+codetable[1] efasDomain "grib2/tables/local/ecmf/efas_domain.table" = 255 : dump, string_type;
#unsigned[1] efas_domain = missing() : can_be_missi... |
session: use endpt fib index if app in default ns | @@ -163,6 +163,11 @@ session_endpoint_update_for_app (session_endpoint_cfg_t * sep,
* that "supports" app's namespace. This will fix our local connection
* endpoint.
*/
+
+ /* If in default namespace and user requested a fib index use it */
+ if (ns_index == 0 && sep->fib_index != ENDPOINT_INVALID_INDEX)
+ fib_index = ... |
Validate parser parameter for XML_GetParsingStatus | @@ -2007,6 +2007,8 @@ XML_ResumeParser(XML_Parser parser)
void XMLCALL
XML_GetParsingStatus(XML_Parser parser, XML_ParsingStatus *status)
{
+ if (parser == NULL)
+ return;
assert(status != NULL);
*status = parser->m_parsingStatus;
}
|
hark-store: fix %archive-all | ::
++ archive-all
- (give:opened %archive-all ~)
+ |^
+ =. poke-core (archive-lid unseen/~ unseen)
+ (archive-lid seen/~ seen)
+ ++ archive-lid
+ |= [=lid:store =timebox:store]
+ %+ roll ~(tap ~(key by timebox))
+ |= [=bin:store out=_poke-core]
+ (do-archive:out lid bin)
+ --
::
++ turn-places
|= f=$-(stats:store stats... |
docs: hw/gpu.rst was missing Pascal
This is the apparently only location that doesn't include Pascal in a
descriptive list of GPU families. As this location ends up being presented
prominently in the documentation it is worth amending. | @@ -51,7 +51,7 @@ The GPU families
================
The GPUs can roughly be grouped into a dozen or so families: NV1, NV3/RIVA,
-NV4/TNT, Celsius, Kelvin, Rankine, Curie, Tesla, Fermi, Kepler, Maxwell. This
+NV4/TNT, Celsius, Kelvin, Rankine, Curie, Tesla, Fermi, Kepler, Maxwell and Pascal. This
aligns with big revisio... |
Added MD5SUM for DPDK 17.08 tarball as a first step towards migration | @@ -31,6 +31,7 @@ DPDK_TARBALL := dpdk-$(DPDK_VERSION).tar.xz
DPDK_TAR_URL := $(DPDK_BASE_URL)/$(DPDK_TARBALL)
DPDK_17.02_TARBALL_MD5_CKSUM := 6b9f7387c35641f4e8dbba3e528f2376
DPDK_17.05_TARBALL_MD5_CKSUM := 0a68c31cd6a6cabeed0a4331073e4c05
+DPDK_17.08_TARBALL_MD5_CKSUM := 0641f59ea8ea98afefa7cfa2699f6241
DPDK_SOURCE :... |
Fix compatibility problem with hslua 0.5
The signature for `loadstring` (which is used for testing) has changed. | @@ -99,7 +99,7 @@ luaTest luaTestCode xs = do
Lua.push lua value *> Lua.setglobal lua var
let luaScript = "function run() return (" ++ luaTestCode ++ ") end"
Lua.openlibs lua
- _ <- Lua.loadstring lua luaScript "test script"
+ _ <- loadstring lua luaScript "test script"
Lua.call lua 0 0
retval <- Lua.callfunc lua "run"... |
ruby kdbtools: MountBackendBuilder.to_add getter + missing exception | @@ -584,15 +584,18 @@ STATUS_OSTREAM_TO_STRING(kdb::tools::ImportExportBackend)
%catches(kdb::tools::NoGlobalPlugin,
kdb::tools::BackendCheckException,
+ kdb::tools::OrderingViolation,
kdb::tools::ToolException
) kdb::tools::GlobalPlugins::serialize;
%catches(kdb::tools::TooManyPlugins,
+ kdb::tools::OrderingViolation,... |
xfconf: Add channel as mount parameter | @@ -59,16 +59,10 @@ int elektraXfconfGet (Plugin * handle ELEKTRA_UNUSED, KeySet * returned, Key * p
return ELEKTRA_PLUGIN_STATUS_SUCCESS;
}
// get all keys
-
- // todo: remove workaround which requires a channel to exist as a file
- char * absolutePath = elektraStrDup (keyString (parentKey));
- const char * channelNam... |
display: enable scrolling at the end | #define ESC_RESET "\033[0m"
#define ESC_SCROLL(x, y) "\033[" #x ";" #y "r"
#define ESC_SCROLL_DISABLE "\033[?7h"
+#define ESC_SCROLL_ENABLE "\033[r"
#define ESC_RESET_SETTINGS "\033[!p"
#if defined(_HF_ARCH_LINUX)
@@ -281,7 +282,7 @@ extern void display_display(honggfuzz_t* hfuzz) {
}
extern void display_fini(void) {
-... |
Add dark theme toggle based on browser setting | <title>{{ page.title }} - {{ site.title }}</title>
<link rel="stylesheet" href="{{ "/assets/css/just-the-docs.css" | absolute_url }}">
+ <script>
+ if (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches) {
+ const cssFile = document.querySelector('[rel="stylesheet"]');
+ const originalCssRef... |
Use accumulate operator | @@ -914,8 +914,8 @@ void compute_ideal_weights_for_decimation_table(
vfloat contrib_weight = weight * weight_error_scale;
- weight_weight = weight_weight + contrib_weight;
- initial_weight = initial_weight + gatherf(eai_in.weights, texel) * contrib_weight;
+ weight_weight += contrib_weight;
+ initial_weight += gatherf(... |
detect identities with zeroed first character | @@ -1627,21 +1627,27 @@ void outlistidentity(uint32_t idlen, uint8_t *packet)
{
FILE *fhoutlist = NULL;
-if(idlen <= 5)
+uint32_t idcount = 5;
+
+if(idlen <= idcount)
{
return;
}
-if(packet[5] == 0)
+
+if((packet[idcount] == 0) && (idlen > idcount +1))
+ {
+ idcount++;
+ if((packet[idcount] == 0) && (idlen <= idcount +... |
board/moli/sensors.c: Format with clang-format
BRANCH=none
TEST=none | @@ -51,24 +51,18 @@ BUILD_ASSERT(ARRAY_SIZE(adc_channels) == ADC_CH_COUNT);
/* Temperature sensor configuration */
const struct temp_sensor_t temp_sensors[] = {
- [TEMP_SENSOR_1_SSD] = {
- .name = "SSD",
+ [TEMP_SENSOR_1_SSD] = { .name = "SSD",
.type = TEMP_SENSOR_TYPE_BOARD,
.read = get_temp_3v3_30k9_47k_4050b,
- .idx... |
VERSION bump to version 2.1.58 | @@ -64,7 +64,7 @@ endif()
# micro version is changed with a set of small changes or bugfixes anywhere in the project.
set(SYSREPO_MAJOR_VERSION 2)
set(SYSREPO_MINOR_VERSION 1)
-set(SYSREPO_MICRO_VERSION 57)
+set(SYSREPO_MICRO_VERSION 58)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI... |
Print correct default value in command line exec | @@ -16,8 +16,8 @@ Both <options> and <filename> are optional.
Available options:
-p Port number. Default: 3000.
- -t Number of threads. Default: 1 => single worker thread.
- -w Number of worker processes. Default: 1 => a single process.
+ -t Number of threads. Default: half of the CPU core count.
+ -w Number of worker ... |
[examples] BouncingBall with opt | @@ -93,13 +93,22 @@ int main(int argc, char* argv[])
// --- Model ---
// -------------
SP::NonSmoothDynamicalSystem bouncingBall(new NonSmoothDynamicalSystem(t0, T));
-
+ std::cout<< "1-"<< std::endl;
+ bouncingBall->changeLog().begin()->display();
+ bouncingBall->changeLogPosition()->display();
// add the dynamical sy... |
BugID:17117635: Remove password information in log. | @@ -287,15 +287,12 @@ static void linkkit_work(breeze_apinfo_t *info)
if (!info)
return;
- printf("%s %d, ssid: %s, pw: %s\r\n", __func__, __LINE__, info->ssid,
- info->pw);
-
strncpy(config.ssid, info->ssid, sizeof(config.ssid) - 1);
strncpy(config.pwd, info->pw, sizeof(config.pwd) - 1);
memcpy(config.bssid, info->bss... |
BugID:17132181:Fix for rtl param issue | @@ -294,7 +294,7 @@ UartLogCmdExecuteRam(
if (cmd_handler != NULL) {
StrUpr(argv[0]);
cmd_handler((argc-1) , (argv+1));
- ArrayInitialize(argv[0], sizeof(argv[0]) ,0);
+ ArrayInitialize((u8 *)argv[0], (u8)sizeof(argv[0]) ,0);
return TRUE;
}
}
|
interop: Longer timeout for multiconnect
Use longer timeout because packet loss rate is incredibly high (30%). | @@ -34,7 +34,7 @@ if [ "$ROLE" == "client" ]; then
REQUESTS=${REQS[@]:1}
/usr/local/bin/client $CLIENT_ARGS --disable-early-data $REQUESTS $CLIENT_PARAMS &> $LOG
elif [ "$TESTCASE" == "multiconnect" ]; then
- CLIENT_ARGS="$CLIENT_ARGS --exit-on-first-stream-close --timeout=30s"
+ CLIENT_ARGS="$CLIENT_ARGS --exit-on-fir... |
slightly better output writing | @@ -650,9 +650,9 @@ static void print_footer(const ScsData *d, const ScsCone *k, ScsSolution *sol,
get_dual_cone_dist(sol->y, k, w->cone_work, d->m),
SCS(dot)(sol->s, sol->y, d->m) / SCS(norm)(sol->s, d->m) /
SCS(norm)(sol->y, d->m));
- scs_printf("|Ax + s - b|_2 / (1 + |b|_2) = %.4e\n", info->res_pri);
- scs_printf("|... |
ToolStatus: Fix rare statusbar update crash | @@ -273,11 +273,13 @@ VOID StatusBarUpdate(
count = 0;
memset(text, 0, sizeof(text));
+ memset(textLength, 0, sizeof(textLength));
for (i = 0; i < StatusBarItemList->Count; i++)
{
SIZE size;
ULONG width;
+ SIZE_T length;
switch (PtrToUlong(StatusBarItemList->Items[i]))
{
@@ -586,7 +588,12 @@ VOID StatusBarUpdate(
break... |
revert is_array | @@ -178,23 +178,12 @@ end
-- is array?
function table.is_array(array)
- if type(array) == "table" then
- local i = 0
- for _ in pairs(array) do
- i = i + 1
- if array[i] == nil then
- return false
- end
- end
- return true
- else
- return false
- end
+ return type(array) == "table" and array[1] ~= nil
end
-- is diction... |
Toyota safety: removing unnecessary code and fixing typo | -// board enforces
-// in-state
-// accel set/resume
-// out-state
-// cancel button
-
-// these are set in the toyota safety hooks...this is the wrong place
-int gas_interceptor_detected = 0;
-
-// all commands: brake and steering
-// if controls_allowed
-// allow all commands up to limit
-// else
-// block all comman... |
elminate unread variable, after reiteration 3 of them (clang4) | @@ -974,7 +974,7 @@ static int gemm_driver(blas_arg_t *args, BLASLONG *range_m, BLASLONG
int CNAME(blas_arg_t *args, BLASLONG *range_m, BLASLONG *range_n, FLOAT *sa, FLOAT *sb, BLASLONG mypos){
BLASLONG m = args -> m;
- BLASLONG n = args -> n;
+ // BLASLONG n = args -> n;
BLASLONG nthreads = args -> nthreads;
BLASLONG ... |
Analysis workflow, remove program files dir. | @@ -293,17 +293,17 @@ jobs:
./configure SHELL=/usr/bin/bash CONFIG_SHELL=/usr/bin/bash --prefix="$prepath/expat" --exec-prefix="$prepath/expat" --bindir="$prepath/expat/bin" --includedir="$prepath/expat/include" --mandir="$prepath/expat/man" --libdir="$prepath/expat/lib"
# fixup shell from space in pathname
mv Makefile... |
rune/libenclave/pal: add the relationship between exec and PAL APIs | @@ -26,5 +26,7 @@ The PAL API will evolve. You can submit proposal for the extension of PAL API. W
| | pal_init | pal_init |
| | pal_exec | pal_create_process |
| | | pal_exec |
+| exec | pal_exec | pal_create_process |
+| | | pal_exec |
| delete | pal_destroy | pal_destroy |
| kill | | pal_kill |
|
Test unannounced no BOM, leading space to hide '<' | @@ -490,6 +490,16 @@ START_TEST(test_bom_utf16_le)
}
END_TEST
+/* Parse whole buffer at once to exercise a different code path */
+START_TEST(test_nobom_utf16_le)
+{
+ char text[] = " \0<\0e\0/\0>\0";
+
+ if (XML_Parse(parser, text, sizeof(text)-1, XML_TRUE) == XML_STATUS_ERROR)
+ xml_failure(parser);
+}
+END_TEST
+
st... |
ADDING FEC - add additional necessary byte for outputing FEC frames | protoop_arg_t stream_bytes_max(picoquic_cnx_t* cnx) {
size_t bytes_max = get_cnx(cnx, CNX_AK_INPUT, 0);
size_t header_length = get_cnx(cnx, CNX_AK_INPUT, 1);
- size_t overhead = header_length + (1 + sizeof(fec_frame_header_t));
+ // FIXME there is one more byte than needed (?) in the overhead, but without it, it doesn'... |
tcmur: write same emulator add unmap support | @@ -149,8 +149,17 @@ static int write_work_fn(struct tcmu_device *dev,
}
struct write_same {
+ union {
+ struct {
+ uint64_t offset;
+ uint64_t length;
+ };
+
+ struct {
uint64_t cur_lba;
uint64_t lba_cnt;
+ };
+ };
struct iovec iovec;
size_t iov_cnt;
@@ -294,8 +303,31 @@ static int handle_writesame_check(struct tcmu_d... |
Add test info for Wio EMW3166 | @@ -62,6 +62,7 @@ PROJECT_RELEASE_INFO = {
("lpc11u35_archmax_if", False, 0x0000, "bin" ),
("lpc11u35_wio3g_if", False, 0x0000, "bin" ),
("lpc11u35_wiobg96_if", False, 0x0000, "bin" ),
+ ("lpc11u35_wio_emw3166_if", False, 0x0000, "bin" ),
("lpc11u35_hrm1017_if", False, 0x0000, "bin" ),
("lpc11u35_sscity_if", False, 0x0... |
include/2id.h: Format with clang-format
BRANCH=none
TEST=none | @@ -25,8 +25,23 @@ struct vb2_id {
#define EXPECTED_ID_SIZE VB2_ID_NUM_BYTES
/* IDs to use for "keys" with sig_alg==VB2_SIG_NONE */
-#define VB2_ID_NONE_SHA1 {{0x00, 0x01,}}
-#define VB2_ID_NONE_SHA256 {{0x02, 0x56,}}
-#define VB2_ID_NONE_SHA512 {{0x05, 0x12,}}
+#define VB2_ID_NONE_SHA1 \
+ { \
+ { \
+ 0x00, 0x01, \
+ ... |
Changelog entry for
Merge from fobser: Implement IPv4-Embedded addresses according
to RFC6052. | +15 January 2021: Wouter
+ - Merge #402 from fobser: Implement IPv4-Embedded addresses according
+ to RFC6052.
+
14 January 2021: Wouter
- Fix for #93: dynlibmodule import library is named libunbound.dll.a.
|
Divide by max threads, not activated threads. | @@ -365,7 +365,7 @@ static PyObject *wsgi_request_metrics(void)
Py_DECREF(object);
request_busy_time = stop_request_busy_time - start_request_busy_time;
- capacity_utilization = (request_busy_time / wsgi_request_threads);
+ capacity_utilization = (request_busy_time / max_threads);
object = PyFloat_FromDouble(capacity_u... |
Add macros for imperative programming (c style sugar). | })
(fn [x] (not (get non-atomic-types (type x))))))
+# C style macros for imperative sugar
+(defmacro ++ [x] (tuple ':= x (tuple + x 1)))
+(defmacro -- [x] (tuple ':= x (tuple - x 1)))
+(defmacro += [x n] (tuple ':= x (tuple + x n)))
+(defmacro -= [x n] (tuple ':= x (tuple - x n)))
+(defmacro *= [x n] (tuple ':= x (tup... |
Remove module eccodes | @@ -4,6 +4,7 @@ if [[ ! $(command -v module > /dev/null 2>&1) ]]; then
fi
# Unload modules not available for Intel
module unload grib_api
+module unload eccodes
module unload emos
module unload fftw
module unload libemos
|
vnet: add vnet_device_input_have_features function | @@ -223,6 +223,13 @@ vnet_feature_next (u32 sw_if_index, u32 * next0, vlib_buffer_t * b0)
vnet_feature_next_with_data (sw_if_index, next0, b0, 0);
}
+static_always_inline int
+vnet_device_input_have_features (u32 sw_if_index)
+{
+ vnet_feature_main_t *fm = &feature_main;
+ return vnet_have_features (fm->device_input_fe... |
jenkinsfile: move basic checks to dedicated stage | @@ -136,6 +136,11 @@ def main() {
}
}
+ stage("Basic checks") {
+ milestone label: "Basic checks"
+ parallel generateBasicCheckStages()
+ }
+
stage("Main builds") {
milestone label: "Main builds"
parallel generateMainBuildStages()
@@ -443,6 +448,34 @@ def dockerInit() {
}
}
+/* Generate basic check stages
+ *
+ * Runs ... |
extmod/vfs_posix_file: Closing already closed file should not lead to error.
Similar to change in "native" file object of the Unix port. | @@ -163,6 +163,12 @@ STATIC mp_uint_t vfs_posix_file_write(mp_obj_t o_in, const void *buf, mp_uint_t
STATIC mp_uint_t vfs_posix_file_ioctl(mp_obj_t o_in, mp_uint_t request, uintptr_t arg, int *errcode) {
mp_obj_vfs_posix_file_t *o = MP_OBJ_TO_PTR(o_in);
+
+ // It should be possible to close already closed file without ... |
correct hashkeytomembus function | @@ -99,10 +99,10 @@ static snap_membus_t hashkey_to_mbus(hashkey_t key)
snap_membus_t mem = 0;
loop_hashkey_to_mbus:
- for (unsigned char k = 0; k < sizeof(hashkey_t); k++) {
+ for (char k = sizeof(hashkey_t)-1; k >= 0; k--) {
#pragma HLS UNROLL /* factor=2 */
- mem(7, 0) = key[k];
mem = mem << 8;
+ mem(7, 0) = key[k];... |
pack: reduce allocation and iteration time on state parsing | @@ -59,7 +59,7 @@ int flb_json_tokenise(const char *js, size_t len,
/* New size: add capacity for new 256 entries */
new_size = old_size + (sizeof(jsmntok_t) * new_tokens);
- tmp = flb_realloc_z(state->tokens, old_size, new_size);
+ tmp = flb_realloc(state->tokens, new_size);
if (!tmp) {
flb_errno();
return -1;
@@ -299... |
util/tagbranch: Update for COIL
The primary branch name has changed, so update the script to reflect
that.
BRANCH=none
TEST=none | # - the remote git server name shows up in 'git config -l' output in the
# line starting with "remote.cros.url="
# - firmware branch names have format of firmware-<board>-XXXXXX
-# - the current branch was cut off of <remote name>/master
+# - the current branch was cut off of <remote name>/main
#
# The tag name generat... |
Add missing checks for automipmap transfer usage; | @@ -3346,6 +3346,7 @@ void lovrPassSetTarget(Pass* pass, Texture* color[4], Texture* depth) {
lovrCheck(info->width == t->width, "Texture sizes must match");
lovrCheck(info->height == t->height, "Texture sizes must match");
lovrCheck(info->layers == t->layers, "Texture sizes must match");
+ lovrCheck(!canvas->mipmap ||... |
Fixed filename typo on line 2
changed:
startup_ARMCM4.c
to:
startup_ARMCM7.c | /******************************************************************************
- * @file startup_ARMCM4.c
+ * @file startup_ARMCM7.c
* @brief CMSIS-Core(M) Device Startup File for a Cortex-M7 Device
* @version V2.0.0
* @date 04. June 2019
|
Switch to 1-iteration batches in cv on CPU. | @@ -112,7 +112,14 @@ inline bool DivisibleOrLastIteration(int currentIteration, int iterationsCount,
}
+/*
+ * For CPU foldContexts contain LearnProgress that allows quick learning resume when switching
+ * between folds, so use one iteration batches.
+ *
+ * For GPU where fold context switch is relatively expensive in... |
Fixed reply not being initialized
Fixed monogc_bulk_operation_execute() so that it behaves as documented
and always initializes the reply bson_t before returning. | @@ -679,6 +679,10 @@ mongoc_bulk_operation_execute (mongoc_bulk_operation_t *bulk, /* IN */
BSON_ASSERT (bulk);
+ if (reply) {
+ bson_init (reply);
+ }
+
if (!bulk->client) {
bson_set_error (error,
MONGOC_ERROR_COMMAND,
@@ -695,10 +699,6 @@ mongoc_bulk_operation_execute (mongoc_bulk_operation_t *bulk, /* IN */
bulk->ex... |
Samjin multi sensor fix configure reporting for manufacturer specific cluster
For ZCL data type bitmap there is no reportable change field. | @@ -1944,7 +1944,7 @@ bool DeRestPluginPrivate::sendConfigureReportingRequest(BindingTask &bt)
rq.attributeId = 0x0010; // active
rq.minInterval = manufacturerCode == VENDOR_SAMJIN ? 0 : 10;
rq.maxInterval = 3600;
- rq.reportableChange8bit = 1;
+ rq.reportableChange8bit = 0xFF;
rq.manufacturerCode = manufacturerCode;
C... |
Clarify docs for `some` and `all`. | ret)
(defn all
- "Returns true if all xs are truthy, otherwise the first false or nil value."
+ "Returns true if all xs are truthy, otherwise the resulty of first
+ falsey predicate value, (pred x)."
[pred xs]
(var ret true)
(loop [x :in xs :while ret] (set ret (pred x)))
ret)
(defn some
- "Returns nil if all xs are fa... |
Add God's own serial comma to Loader/Library page's title | title: Extracting the Library
---
-## The Loader, Library and .yml Files
+## The Loader, Library, and .yml Files
---
As covered in [How AppScope Works](/docs/how-works), the single binary contains **Loader** and **Library** components that can be used independently of the CLI. In order to use these components, you must... |
added new option -V for detailed status informations | +15.01.2018
+==========
+hcxpcaptool
+added new option -V
+-V : verbose (but slow) status output
+Running hcxpcaptool without options on cap/pcap/pcapng files
+shows only limited stauts output
+If you need detailed informations, use -V
+
+
14.01.2018
==========
hcxpcaptool
|
Update iOS SDK to iOS 13.1 | @@ -5,11 +5,11 @@ RESOURCES_LIBRARY()
SET(NEED_PLATFORM_PEERDIRS no)
IF (ARCH_ARM7 OR ARCH_ARM64)
- # iOS 13.0 SDK / Xcode 11.0 (11A420a)
- DECLARE_EXTERNAL_RESOURCE(IOS_SDK_ROOT sbr:1137289555)
+ # iOS 13.1 SDK / Xcode 11.1 (11A1027)
+ DECLARE_EXTERNAL_RESOURCE(IOS_SDK_ROOT sbr:1184199239)
ELSEIF (ARCH_I386 OR ARCH_X8... |
Fix icu4c version for NodeJS 15.x.x | @@ -406,7 +406,9 @@ if(NOT NODEJS_LIBRARY)
message(STATUS "Configure NodeJS shared library")
# Select the ICU library depending on the NodeJS version
- if("${NODEJS_VERSION_MAJOR}" GREATER_EQUAL "14")
+ if("${NODEJS_VERSION_MAJOR}" GREATER_EQUAL "15")
+ set(ICU_URL "https://github.com/unicode-org/icu/releases/download/... |
X509_STORE: fix two misspelled compatibility macros
Fixes | @@ -366,7 +366,11 @@ X509_STORE_CTX_cleanup_fn X509_STORE_CTX_get_cleanup(X509_STORE_CTX *ctx);
# define X509_STORE_CTX_set_chain X509_STORE_CTX_set0_untrusted
# define X509_STORE_CTX_trusted_stack X509_STORE_CTX_set0_trusted_stack
# define X509_STORE_get_by_subject X509_STORE_CTX_get_by_subject
+# define X509_STORE_ge... |
Fix Luos_ReadMsg potential memory error | @@ -546,11 +546,14 @@ error_return_t Luos_ReadMsg(container_t *container, msg_t **returned_msg)
{
error = MsgAlloc_PullMsg(container->ll_container, returned_msg);
// check if the content of this message need to be managed by Luos and do it if it is.
- if ((Luos_MsgHandler(container, *returned_msg) == FAILED) & (error =... |
hfuzz-cc: correct name for libhfcommon | @@ -337,7 +337,7 @@ static char* getLibHFCommonPath() {
if (path[0]) {
return path;
}
- if (!getLibPath("libhfuzz", "HFUZZ_LHFCOMMON_PATH", &lhfcommon_start, &lhfcommon_end, path)) {
+ if (!getLibPath("libhfcommon", "HFUZZ_LHFCOMMON_PATH", &lhfcommon_start, &lhfcommon_end, path)) {
LOG_F("Couldn't create the temporary ... |
validation BUGFIX unresolved term nodes may be under false when
Fixes | @@ -178,18 +178,19 @@ lyd_validate_node_when(const struct lyd_node *tree, const struct lyd_node *node,
* If set, it is expected @p tree should point to the first node of @p mod. Otherwise it will simply be
* the first top-level sibling.
* @param[in] node_when Set with nodes with "when" conditions.
+ * @param[in,out] no... |
examples: Fix ack gap and blklen calculation | @@ -282,24 +282,16 @@ void print_frame(ngtcp2_dir dir, const ngtcp2_frame *fr) {
auto largest_ack = fr->ack.largest_ack;
auto min_ack = fr->ack.largest_ack - fr->ack.first_ack_blklen;
fprintf(outfile,
- "first_ack_block_length=%" PRIu64 "; [%" PRIu64 "..%" PRIu64 "]\n",
+ "first_ack_block=%" PRIu64 "; [%" PRIu64 "..%" ... |
quic: call quic_send_packets only once per ctx
This prevents unnecessary calls to quic_send_packets.
Type: fix | @@ -2153,7 +2153,7 @@ static int
quic_udp_session_rx_callback (session_t * udp_session)
{
/* Read data from UDP rx_fifo and pass it to the quicly conn. */
- quic_ctx_t *ctx = NULL;
+ quic_ctx_t *ctx = NULL, *prev_ctx = NULL;
svm_fifo_t *f = udp_session->rx_fifo;
u32 max_deq;
u64 udp_session_handle = session_handle (udp... |
Added log period description to get_feature_importance also | @@ -1499,7 +1499,9 @@ class CatBoost(_CatBoostBase):
verbose : bool or int
If False, then evaluation is not logged. If True, then each possible iteration is logged.
- If positive integer, then it stands for log write period.
+ If positive integer, then it stands for log write period, the number of iterations that will ... |
Clean up intel_s1000_crb.conf file
Cleaned up the conf file for intel_s1000_crb by defining only
those values that are different from prj.conf. | -CONFIG_LOG=y
-CONFIG_USB_DRIVER_LOG_LEVEL_ERR=y
-CONFIG_USB_DEVICE_LOG_LEVEL_ERR=y
+CONFIG_BOOT_HAVE_LOGGING=n
+CONFIG_USB_DRIVER_LOG_LEVEL_ERR=n
+CONFIG_USB_DEVICE_LOG_LEVEL_ERR=n
-CONFIG_CONSOLE_HANDLER=y
-CONFIG_SYS_LOG=y
CONFIG_DEBUG=n
-CONFIG_SYSTEM_CLOCK_DISABLE=y
-CONFIG_SYS_POWER_MANAGEMENT=n
-
-CONFIG_MAIN_ST... |
misc/opts: OPT_INOUTFILE is just a string for now | @@ -158,7 +158,7 @@ static bool opt_dispatch(enum OPT_TYPE type, void* ptr, opt_conv_f* conv, char c
case OPT_OUTFILE:
return opt_outfile(ptr, c, optarg);
case OPT_INOUTFILE:
- error("OPT_INOUTFILE not yet implemented!\n");
+ return opt_string(ptr, c, optarg); // FIXME: use something more proper here
case OPT_SELECT:
r... |
don't use LuosBootloader_init() outside of the bootloader app | @@ -72,6 +72,7 @@ void LuosBootloader_SaveNodeID(void)
LuosHAL_SaveNodeID(node_id);
}
+#ifdef BOOTLOADER_CONFIG
/******************************************************************************
* @brief Create a service to signal a bootloader node
* @param None
@@ -86,7 +87,6 @@ void LuosBootloader_Init(void)
LuosBootloa... |
[util] Add comment about THashMap::erase(const iterator&) method signature. | @@ -814,6 +814,7 @@ public:
template <class OtherKey>
size_type erase_one(const OtherKey& key);
+ // void (instead of iterator) is intended, see http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2023.pdf
void erase(const iterator& it);
void erase(iterator first, iterator last);
|
reduced dgemm_unroll_m to work with 128-bit sve | @@ -3301,7 +3301,7 @@ is a big desktop or server with abundant cache rather than a phone or embedded d
/* When all BLAS3 routines are implemeted with SVE, DGEMM_DEFAULT_UNROLL_M should be "sve_vl".
Until then, just keep it different than DGEMM_DEFAULT_UNROLL_N to keep copy routines in both directions seperated. */
-#de... |
OpenSSL 1.1.1-pre5: update CHANGES with recent user visible changes | Changes between 1.1.0h and 1.1.1 [xx XXX xxxx]
+ *) Updated CONTRIBUTING
+ [Rich Salz]
+
+ *) Updated DRBG / RAND to request nonce and additional low entropy
+ randomness from the system.
+ [Matthias St. Pierre]
+
+ *) Updated 'openssl rehash' to use OpenSSL consistent default.
+ [Richard Levitte]
+
+ *) Moved the load... |
Update module provider filenames to native paths | @@ -132,7 +132,7 @@ PPH_MODULE_PROVIDER PhCreateModuleProvider(
if (NT_SUCCESS(PhGetProcessImageFileNameByProcessId(ProcessId, &fileName)))
{
- PhMoveReference(&moduleProvider->ProcessFileName, PhGetFileName(fileName));
+ PhMoveReference(&moduleProvider->ProcessFileName, fileName);
}
if (WindowsVersion >= WINDOWS_8 && ... |
Casta : Change Maximum Voltage of Battery
Change max voltage of battery to 8600mV
BRANCH=firmware-octopus-11297.B
TEST= build, update and check charging voltage | @@ -54,7 +54,7 @@ const struct board_batt_params board_battery_info[] = {
}
},
.batt_info = {
- .voltage_max = 8650,
+ .voltage_max = 8600,
.voltage_normal = 7700, /* mV */
.voltage_min = 6000, /* mV */
.precharge_current = 200, /* mA */
|
[build] automake support for wolfSSL | @@ -635,8 +635,6 @@ AC_ARG_WITH([openssl-libs],
[AC_MSG_RESULT([no])]
)
-AM_CONDITIONAL([BUILD_WITH_OPENSSL], [test "$WITH_OPENSSL" != no])
-
if test "$WITH_OPENSSL" != no; then
if test "$WITH_KRB5" != no; then
AC_DEFINE([USE_OPENSSL_KERBEROS], [1], [with kerberos])
@@ -663,6 +661,53 @@ if test "$WITH_OPENSSL" != no; t... |
Fix warnings on BSDs. | @@ -256,6 +256,11 @@ typedef struct {
#include <stddef.h>
#include <stdio.h>
+#ifdef JANET_BSD
+int _setjmp(jmp_buf);
+JANET_NO_RETURN void _longjmp(jmp_buf, int);
+#endif
+
/* Names of all of the types */
JANET_API extern const char *const janet_type_names[16];
JANET_API extern const char *const janet_signal_names[14]... |
doc: add VPID allocation to nested virtualization tutorial | @@ -91,6 +91,20 @@ Constraints on L1 guest configuration:
* Only the ``SCHED_NOOP`` scheduler is supported. ACRN can't receive timer interrupts
on LAPIC passthrough pCPUs
+VPID allocation
+===============
+
+ACRN doesn't emulate L2 VPIDs and allocates VPIDs for L1 VMs from the reserved top
+16-bit VPID range (``0x10000... |
openwsman: fix _snprintf define
The _snprintf define is required for old versions of VS,
but failed to compile with VS2017.
Protect define by version guard to ensure compatibility. | @@ -41,7 +41,9 @@ pid_t getpid(void);
#define strtoull(nptr, endptr, base) _strtoul_l(nptr, endptr, base, NULL)
#define strtoll(nptr, endptr, base) _strtol_l(nptr, endptr, base, NULL)
#define sleep(secs) Sleep( (secs) * 1000 )
+#if _MSC_VER < 1900
#define snprintf _snprintf /*!< The snprintf is called _snprintf() in Wi... |
Make test_alloc_comment_in_epilog() robust vs allocation changes | @@ -9537,26 +9537,18 @@ START_TEST(test_alloc_comment_in_epilog)
"<doc></doc>\n"
"<!-- comment in epilog -->";
int i;
-#define MAX_ALLOC_COUNT 10
- int repeat = 0;
+#define MAX_ALLOC_COUNT 15
for (i = 0; i < MAX_ALLOC_COUNT; i++) {
- /* Repeat certain counts to allow for cached allocations */
- if (i == 3 && repeat == ... |
Fix immediate reassign
Don't reassign value of cache without any previus use.
It produced warnings when analyzing with scanbuild. | @@ -189,8 +189,6 @@ static int ocf_restart_meta_io(struct ocf_request *req)
struct ocf_io *io;
int ret;
- cache = req->cache;
-
/* Fill with the latest metadata. */
OCF_METADATA_LOCK_RD();
metadata_io_req_fill(meta_io_req);
|
zuse: add missing assertions | |= x=@I
^- (unit point)
=/ c curve
+ ?. (lth x p.domain.c)
+ ~
=/ fop field-p.c
=+ [fadd fpow]=[sum.fop exp.fop]
=/ cp (fadd (fpow 3 x) 7)
:- 96
(rep 8 ~[m x.pp t])
=/ kp (mod rand n.domain.c)
+ ?< =(0 kp)
=/ rr (mul-point-scalar g.domain.c kp)
=/ k
?: =(0 (mod y.rr 2))
|
BugID:17131957:[comboapp] fix white scan issue | @@ -630,11 +630,8 @@ int trigger_event(sample_context_t *sample)
linkkit_set_value(linkkit_method_set_event_output_value, sample->thing,
event_output_identifier, &errorCode, NULL);
- return linkkit_trigger_event(sample->thing, EVENT_ERROR_IDENTIFIER,
- post_property_cb);
-
/* please modify the event_id by TSL */
- retu... |
Set package json to release version | "name": "gb-studio",
"productName": "GB Studio",
"homepage": "https://www.gbstudio.dev",
- "version": "1.1.0-rc.2",
+ "version": "1.1.0",
"description": "Visual retro game maker",
"main": "src/index.js",
"scripts": {
|
Fixed row size calculation
Previous code did not account for padding, rounding up to the next multiple of 4 bytes | @@ -148,7 +148,7 @@ static lv_res_t decoder_open(lv_img_decoder_t * decoder, lv_img_decoder_dsc_t *
memcpy(&b.px_width, header + 18, 4);
memcpy(&b.px_height, header + 22, 4);
memcpy(&b.bpp, header + 28, 2);
- b.row_size_bytes = (b.bpp * b.px_width) / 8;
+ b.row_size_bytes = ((b.bpp * b.px_width + 31) / 32) * 4;
dsc->us... |
rune/libenclave/attestation: fix the return error of the sgxEpidChallenger.New function | @@ -22,7 +22,7 @@ func (epid *sgxEpidChallenger) Name() string {
func (epid *sgxEpidChallenger) New(cfg map[string]string) error {
ias, err := ias.NewIasAttestation(cfg)
if err != nil {
- return nil
+ return err
}
epid.ias = ias
|
e_loader_attic.c: Remove redundant 'pass phrase' sub-string from try_decode_PKCS12() | @@ -327,7 +327,7 @@ static OSSL_STORE_INFO *try_decode_PKCS12(const char *pem_name,
pass = "";
} else {
if ((pass = file_get_pass(ui_method, tpass, PEM_BUFSIZE,
- "PKCS12 import pass phrase", uri,
+ "PKCS12 import", uri,
ui_data)) == NULL) {
ATTICerr(0, ATTIC_R_PASSPHRASE_CALLBACK_ERROR);
goto p12_end;
|
Replace Ctrl by Meta for volume shortcuts on MacOS
Ctrl+UP and Ctrl+DOWN are already used by the window manager on MacOS.
Use Cmd key instead (like on VLC). | @@ -200,13 +200,21 @@ void input_manager_process_key(struct input_manager *input_manager,
}
return;
case SDLK_DOWN:
+#ifdef __APPLE__
+ if (!ctrl && meta) {
+#else
if (ctrl && !meta) {
+#endif
// forward repeated events
action_volume_down(input_manager->controller, action);
}
return;
case SDLK_UP:
+#ifdef __APPLE__
+ i... |
btc: provider now has one heartbeat for all clients | ~& >>> "btc-provider: blocked client {<src.bowl>}"
[~[[%give %kick ~ ~]] this]
~& > "btc-provider: accepted client {<src.bowl>}"
- :- do-ping:hc
+ :- [do-ping:hc]~
this(clients.host-info (~(put in clients.host-info) src.bowl))
::
++ on-arvo
:: check for connectivity every 30 seconds
::
?: ?=([%ping-timer *] wire)
- [do... |
Addressed issue removing an unnecessary write to the include directory | @@ -2499,6 +2499,5 @@ foreach (Utils_FILE ${Utils_SRC})
endforeach ()
set(lapacke_include_dir "${NETLIB_LAPACK_DIR}/LAPACKE/include")
-configure_file("${lapacke_include_dir}/lapacke_mangling_with_flags.h.in" "${lapacke_include_dir}/lapacke_mangling.h" COPYONLY)
include_directories(${lapacke_include_dir})
set_source_fil... |
TSG for Windows Packet Capture | @@ -22,6 +22,7 @@ This document is meant to be a step-by-step guide for trouble shooting any issue
6. [I am having problems with SMB over QUIC.](#trouble-shooting-smb-over-quic-issues)
7. [No credentials when loading a server certificate from PEM with Schannel.](#convert-pem-to-pkcs12-for-schannel)
8. [TLS handshake fa... |
nva/nvapy: Fix nvapy python module import
Without this the following error occurs when importing the nvapy module:
>>> import nvapy
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: nva/nvapy.so: undefined symbol: gpu_list
Fixes: ("Single Source of Truth.") | @@ -84,6 +84,7 @@ if (NOT DISABLE_NVA)
MAIN_DEPENDENCY ${CMAKE_CURRENT_SOURCE_DIR}/nvapy.pyx)
add_library(nvapy MODULE ${CMAKE_CURRENT_BINARY_DIR}/nvapy.c nva.c ../nvhw/chipset.c)
set_target_properties(nvapy PROPERTIES PREFIX "")
+ target_link_libraries(nvapy cgen)
target_link_libraries(nvapy ${PC_PYTHON_LIBRARIES} ${P... |
gha: Use go 1.18 to build examples | @@ -244,6 +244,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
+ - name: Setup go
+ uses: actions/setup-go@v3
+ with:
+ go-version: 1.18.3
+ cache: true
- name: Build example binaries
run: |
for dir in $(dirname $(find examples/gadgets -name README.md)); do
|
So beautifully | <dict>
<key>Add</key>
<array>
- <string>DSDT-patched.aml</string>
+ <string>DSDT.aml</string>
<string>SSDT.aml</string>
- <string>SSDT1.aml</string>
- <string>SSDT_ACPI.aml</string>
+ <string>SSDT-1.aml</string>
+ <string>SSDT-ACPI.aml</string>
</array>
<key>Block</key>
<array>
|
[Meta] Upgrade rustc version to nightly-2022-11-27 | @@ -61,8 +61,8 @@ def _install_rustc(temp_dir: Path) -> None:
run_and_check([rustup_install_script.as_posix(), "-y"])
# Install our toolchail and required components
- run_and_check(["rustup", "install", "nightly-2021-12-05"])
- run_and_check(["rustup", "default", "nightly-2021-12-05"])
+ run_and_check(["rustup", "inst... |
An attempt to refactor the depreciated Notification constructor with the new Notification.builder. This builds fine, but has not been functionally tested to be identical. Requires further testing. | @@ -6,11 +6,13 @@ import ioio.lib.api.exception.ConnectionLostException;
import ioio.lib.util.BaseIOIOLooper;
import ioio.lib.util.IOIOLooper;
import ioio.lib.util.android.IOIOService;
-import android.app.Notification;
+
import android.app.NotificationManager;
import android.app.PendingIntent;
+import android.content.C... |
wpa_supplicant: Allow NULL-padded WPS attributes
Some AP's keep NULL-padding at the end of some variable length WPS
Attributes. This is not as par the WPS2.0 specs, but to avoid interop
issues, ignore the padding by reducing the attribute length by 1. | @@ -128,10 +128,42 @@ static int wps_parse_vendor_ext(struct wps_parse_attr *attr, const u8 *pos,
return 0;
}
+static u16 wps_ignore_null_padding_in_attr(const u8 *pos, u16 type, u16 attr_data_len)
+{
+ u16 len = attr_data_len;
+
+ if (len == 0)
+ return 0;
+ /*
+ * Some AP's keep NULL-padding at the end of some variab... |
io: fix handling of event mask for socket validation | @@ -252,6 +252,7 @@ static FLB_INLINE int net_io_write_async(struct flb_thread *th,
{
int ret = 0;
int error;
+ uint32_t mask;
ssize_t bytes;
size_t total = 0;
size_t to_send;
@@ -282,9 +283,7 @@ static FLB_INLINE int net_io_write_async(struct flb_thread *th,
if (bytes == -1) {
if (errno == EAGAIN) {
- MK_EVENT_NEW(&u_... |
Previous version was still downloading, unpacking and building IPSEC / AES
libraries.
This patch addresses the misbehaviour. | @@ -34,6 +34,12 @@ DPDK_17.05_TARBALL_MD5_CKSUM := 0a68c31cd6a6cabeed0a4331073e4c05
DPDK_17.08_TARBALL_MD5_CKSUM := 0641f59ea8ea98afefa7cfa2699f6241
DPDK_SOURCE := $(B)/dpdk-$(DPDK_VERSION)
+ifeq ($(MACHINE),$(filter $(MACHINE),x86_64))
+AESNI := y
+else
+AESNI := n
+endif
+
IPSEC_MB_VER := 0.45
AESNIMB_LIB_TARBALL := ... |
py/parse: Use calculation instead of table to convert token to operator. | @@ -647,21 +647,11 @@ STATIC bool fold_constants(parser_t *parser, uint8_t rule_id, size_t num_args) {
return false;
}
mp_token_kind_t tok = MP_PARSE_NODE_LEAF_ARG(peek_result(parser, i));
- static const uint8_t token_to_op[] = {
- MP_BINARY_OP_LSHIFT,
- MP_BINARY_OP_RSHIFT,
- MP_BINARY_OP_ADD,
- MP_BINARY_OP_SUBTRACT,... |
desktop: small fixes in README | - infos = Information about the desktop plugin is in keys below
-- infos/author = Name <name@libelektra.org>
+- infos/author = Name <elektra@libelektra.org>
- infos/licence = BSD
- infos/needs =
- infos/provides = storage/info
@@ -18,11 +18,11 @@ other configuration. See [elektrify-getenv](/src/libs/getenv/README.md).
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.