message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
ssl: add 9.5 merge FIXME for SAN TAP tests
We don't have Subject Alternative Name support, and won't until 9.5.
Make sure we uncomment these tests when we get there. | @@ -158,6 +158,7 @@ test_connect_ok("sslmode=verify-ca host=wronghost.test");
test_connect_fails("sslmode=verify-full host=wronghost.test");
# Test Subject Alternative Names.
+# GPDB_95_MERGE_FIXME: uncomment these tests when commit acd08d764 is merged.
#switch_server_cert($node, 'server-multiple-alt-names');
#
#note "... |
drivebase: add actuation | static pbio_drivebase_t __db;
-// Get the physical state of a single motor
+// Get the physical state of a drivebase
static pbio_error_t drivebase_get_state(pbio_drivebase_t *db,
int32_t *time_now,
int32_t *distance_count,
@@ -64,6 +64,24 @@ static pbio_error_t drivebase_get_state(pbio_drivebase_t *db,
return PBIO_SUCC... |
vnet:remove duplicate interface function macro | @@ -89,21 +89,6 @@ typedef struct _vnet_interface_function_list_elt
clib_error_t *(*fp) (struct vnet_main_t * vnm, u32 if_index, u32 flags);
} _vnet_interface_function_list_elt_t;
-#define _VNET_INTERFACE_FUNCTION_DECL(f,tag) \
- \
-static void __vnet_interface_function_init_##tag##_##f (void) \
- __attribute__((__cons... |
Install dependencies for tests in windows ci. | @@ -94,6 +94,17 @@ function sub-python {
echo "include(FindPackageHandleStandardArgs)" >> $FindPython
echo "FIND_PACKAGE_HANDLE_STANDARD_ARGS(Python REQUIRED_VARS Python_EXECUTABLE Python_LIBRARIES Python_INCLUDE_DIRS VERSION_VAR Python_VERSION)" >> $FindPython
echo "mark_as_advanced(Python_EXECUTABLE Python_LIBRARIES ... |
Document -U flag to ldns-signzone
Thank you Andreas for noticing! | @@ -91,6 +91,12 @@ small, and only the SEP keys that are passed are used. If there are no
SEP keys, the DNSKEY RRset is signed with the non\-SEP keys. This option
turns off the default and all keys are used to sign the DNSKEY RRset.
+.TP
+\fB-U\fR
+Sign with every unique algorithm in the provided keys. The DNSKEY set
+... |
SW: Improve error messages | @@ -398,7 +398,16 @@ __hw_wait_irq_retry:
}
rc = 0;
break;
- case CXL_EVENT_DATA_STORAGE:
+
+ case CXL_EVENT_DATA_STORAGE: {
+ struct cxl_event_data_storage *ds = &card->event.fault;
+
+ snap_trace(" %s: CXL_EVENT_DATA_STORAGE\n", __func__);
+ snap_trace(" flags=%04x addr=%08llx dsisr=%08llx\n",
+ ds->flags, (long long... |
[components][driver]fix qspi bug | @@ -388,9 +388,10 @@ rt_spi_flash_device_t rt_sfud_flash_probe(const char *spi_flash_dev_name, const
rt_qspi_configure(qspi_dev, &qspi_cfg);
if(qspi_dev->enter_qspi_mode != RT_NULL)
qspi_dev->enter_qspi_mode(qspi_dev);
- }
+
/* set data lines width */
sfud_qspi_fast_read_enable(sfud_dev, qspi_dev->config.qspi_dl_width)... |
Add PH_TICKS_PARTIAL_NS | #define PH_TICKS_PER_HOUR (PH_TICKS_PER_MIN * 60)
#define PH_TICKS_PER_DAY (PH_TICKS_PER_HOUR * 24)
+#define PH_TICKS_PARTIAL_NS(Ticks) (((ULONG64)(Ticks) / PH_TICKS_PER_NS) % 1000000)
#define PH_TICKS_PARTIAL_MS(Ticks) (((ULONG64)(Ticks) / PH_TICKS_PER_MS) % 1000)
#define PH_TICKS_PARTIAL_SEC(Ticks) (((ULONG64)(Ticks)... |
Add new fields to FileShare schema | <!-- SharePoint debug fields -->
<field name="sp_path" type="string" indexed="true" stored="true" multiValued="false"/>
+ <field name="sp_site" type="string" indexed="true" stored="true" multiValued="false"/>
+ <field name="sp_item" type="string" indexed="true" stored="true" multiValued="false"/>
<!-- Common metadata f... |
Fix Exception text in print | @@ -696,6 +696,10 @@ int mrbc_print_sub(const mrbc_value *v)
console_printf( "#<Handle:%08x>", v->handle );
break;
+ case MRBC_TT_EXCEPTION:
+ console_printf( "#<%s>", symid_to_str(v->cls->sym_id));
+ break;
+
default:
console_printf("Not support MRBC_TT_XX(%d)", mrbc_type(*v));
break;
|
Fix ref-1.7 encoder test support | @@ -252,7 +252,7 @@ def get_encoder_params(encoderName, imageSet):
name = "reference-1.7"
outDir = "Test/Images/%s" % imageSet
refName = None
- if encoderName == "ref-2.0":
+ elif encoderName == "ref-2.0":
# Note this option rebuilds a new reference test set using the
# user's locally build encoder.
encoder = te.Encode... |
codegen: disable check_gen test in ASAN builds | @@ -139,7 +139,14 @@ file (GLOB SCRIPT_TESTS
*.sh)
foreach (file ${SCRIPT_TESTS})
get_filename_component (name ${file} NAME)
+ if (NOT
+ ENABLE_ASAN
+ OR NOT
+ name
+ MATCHES
+ "check_gen.sh")
add_scripttest (${name})
+ endif ()
endforeach (file ${SCRIPT_TESTS})
add_subdirectory (gen)
|
stm32_eth: Fix in assertion parameters. | @@ -1134,7 +1134,7 @@ static int stm32_transmit(struct stm32_ethmac_s *priv)
/* Set frame size */
- DEBUGASSERT(priv->dev.d_len <= CONFIG_NET_ETH_PKTSIZE);
+ DEBUGASSERT(priv->dev.d_len <= CONFIG_STM32_ETH_BUFSIZE);
txdesc->tdes1 = priv->dev.d_len;
/* Set the Buffer1 address pointer */
|
build centos image on RHEL | @@ -28,7 +28,7 @@ echo "-------------------------------------------------------"
echo "Runtimes: Singularity"
echo "-------------------------------------------------------"
-if [ "x$DISTRO_FAMILY" == "xCentOS" ];then
+if [ "x$DISTRO_FAMILY" == "xCentOS" -o "x$DISTRO_FAMILY" == "xRHEL" ];then
export DISTRO=centos
export... |
Add reference to Labs to Readme.md | @@ -39,3 +39,10 @@ This repository contains the FreeRTOS Kernel, a number of supplementary librarie
## Previous releases
[Releases](https://github.com/FreeRTOS/FreeRTOS/releases) contains older FreeRTOS releases.
+## FreeRTOS Lab Projects
+FreeRTOS Lab projects are libraries and demos that are fully functional, but may... |
Another Windows build failure... | @@ -183,7 +183,7 @@ handle_connection(void *arg)
unsigned long messages = 0;
unsigned long long first_length = 0;
unsigned long long sum = 0;
- unsigned long round_bytes;
+ unsigned long long round_bytes;
struct timeval round_start;
time_t round_timeout = 0;
|
fix enable DAOS link in DAOS-Support README | [DAOS](https://github.com/daos-stack/daos) is supported as a backend storage system in dcp. The build instructions for
enabling DAOS support can be found here:
-[Enable DAOS](https://github.com/hpc/mpifileutils/doc/rst/build.rst).
-
+[Enable DAOS](https://mpifileutils.readthedocs.io/en/latest/build.html).
The following... |
[software] Exclude systolic apps for non-systolic configurations | @@ -16,9 +16,14 @@ include $(RUNTIME_DIR)/runtime.mk
APPS := $(patsubst $(APPS_DIR)/%/main.c,%,$(shell find $(APPS_DIR) -name "main.c"))
BINARIES := $(addprefix $(BIN_DIR)/,$(APPS))
+ifeq ($(config), systolic)
+ ALL := $(APPS)
+else
+ ALL := $(filter-out systolic/%,$(APPS))
+endif
# Make all applications
-all: $(BINARI... |
Use `h2o_gettimeofday` rather than `gettimeofday`. | @@ -992,7 +992,7 @@ static int handle_settings_frame(h2o_http2_conn_t *conn, h2o_http2_frame_t *fram
return H2O_HTTP2_ERROR_FRAME_SIZE;
}
if (conn->timestamps.settings_acked_at.tv_sec == 0 && conn->timestamps.settings_sent_at.tv_sec != 0) {
- gettimeofday(&conn->timestamps.settings_acked_at, NULL);
+ conn->timestamps.s... |
Avoid rechecking min/max weight bitcount
We know it's valid as checked during table creation | @@ -336,7 +336,7 @@ static float compress_symbolic_block_for_partition_1plane(
bm.get_weight_quant_mode());
int bitcount = free_bits_for_partition_count[partition_count] - bits_used_by_weights;
- if (bitcount <= 0 || bits_used_by_weights < 24 || bits_used_by_weights > 96)
+ if (bitcount <= 0)
{
qwt_errors[i] = 1e38f;
c... |
[verilator] Debug and fix loading of sections in verilator | @@ -164,12 +164,16 @@ static std::vector<uint8_t> FlattenElfFile(const std::string &filepath) {
continue;
}
- if (phdr.p_memsz == 0) {
+ if (phdr.p_memsz == 0 || phdr.p_filesz == 0) {
+ std::cout << "Program header number " << i << " in `" << filepath
+ << "' has size 0; ignoring." << std::endl;
continue;
}
if (!any ||... |
Fix vertical text align;
Off-by-one error with counting lines. | @@ -1015,7 +1015,7 @@ void lovrGraphicsPrint(const char* str, size_t length, mat4 transform, float wra
lovrFontMeasure(font, str, length, wrap, &width, &lineCount, &glyphCount);
float scale = 1.f / font->pixelDensity;
- float offsetY = (lineCount * font->rasterizer->height * font->lineHeight) * (valign / 2.f);
+ float ... |
BugID:17137306: Modify linkkit_ntp_time_request to been deprecated API. | @@ -365,6 +365,16 @@ int being_deprecated linkkit_fota_init(handle_service_fota_callback_fp_t callbac
*/
int being_deprecated linkkit_invoke_fota_service(void *data_buf, int data_buf_length);
+/**
+ * @brief this function used to get NTP time from cloud.
+ *
+ * @param ntp_reply_cb, user callback which register to ntp ... |
Galaxy table gets real pubkeys now. | @@ -13,12 +13,16 @@ import Network.Ethereum.Web3
import Data.Text (splitOn)
+import qualified Data.ByteArray as BA
import qualified Data.Map.Strict as M
{-TODOs:
- Dawn takes a NounMap instead of a Map. Need a conversion function.
+ - The Haskell Dawn structure as it exists right now isn't right? It can't
+ parse a rea... |
Fixed issue with integer too large on 32 bit compilers | /*
- * Copyright (c) 2016 Lammert Bies
+ * Copyright (c) 2016-2018 Lammert Bies
* Copyright (c) 2013-2016 the Civetweb developers
* Copyright (c) 2004-2013 Sergey Lyubka
*
@@ -59,7 +59,7 @@ LIBHTTP_API uint64_t httplib_get_random( void ) {
*/
lfsr = (lfsr >> 1) | ((((lfsr >> 0) ^ (lfsr >> 1) ^ (lfsr >> 3) ^ (lfsr >> 4)... |
tools: fix fpgainfo security key sysfs path
-max10/bmc sysfs path are different for n3000 and d5005 cards
d5005 sysfspath dfl*/*spi*/spi_master/spi*/spi*/**/security/
n3000 sysfspath dfl*/*spi*/spi_master/spi*/**/security/
resuraeve search path *dfl*/*spi*/*spi*/*spi*/**/security/ | #include "board_common.h"
-#define DFL_SYSFS_SEC_GLOB "dfl*/*spi*/spi_master/spi*/spi*/**/security/"
+#define DFL_SYSFS_SEC_GLOB "*dfl*/*spi*/*spi*/*spi*/**/security/"
#define DFL_SYSFS_SEC_USER_FLASH_COUNT DFL_SYSFS_SEC_GLOB "*flash_count"
#define DFL_SYSFS_SEC_BMC_CANCEL DFL_SYSFS_SEC_GLOB "bmc_canceled_csks"
#define... |
Add handling for `processMtcWatchType` | @@ -140,6 +140,15 @@ enum_map_t watchTypeMap[] = {
{NULL, -1}
};
+enum_map_t mtcCategoriesWatchTypeMap[] = {
+ {"fs", CFG_MTC_FS},
+ {"net", CFG_MTC_NET},
+ {"http", CFG_MTC_HTTP},
+ {"dns", CFG_MTC_DNS},
+ {"process", CFG_MTC_PROC},
+ {NULL, -1}
+};
+
enum_map_t boolMap[] = {
{"true", TRUE},
{"false", FALSE},
@@ -1233... |
HV: Trace: Remove macro GEN_CASE
Macro GEN_CASE in hypervisor is not used. It's just for userspcace tool
acrntrace and we get one copy of it in ./tools/acrntrace/trace_event.h.
So, remove it.
Acked-by: Eddie Dong | #include <sbuf.h>
-#define GEN_CASE(id) case (id): { id##_FMT; break; }
-
#define TRACE_CUSTOM 0xFC
#define TRACE_FUNC_ENTER 0xFD
#define TRACE_FUNC_EXIT 0xFE
#define TRACE_STR 0xFF
-#define TRACE_TIMER_ACTION_ADDED_FMT \
-{PR("TIMER_ACTION ADDED: ID %d, deadline %llx total: %d\n", \
- (p)->a, ((uint64_t)((p)->c)<<32)|... |
Fix diagnostics builds | @@ -1267,14 +1267,14 @@ static float prepare_block_statistics(
lowest_correlation = astc::min(lowest_correlation, fabsf(ba_cov));
// Diagnostic trace points
- trace_add_data("min_r", blk->data_min.lane<0>());
- trace_add_data("max_r", blk->data_max.lane<0>());
- trace_add_data("min_g", blk->data_min.lane<1>());
- trace... |
apps/blemesh: Add callbacks for mesh health fault handling
This is required for MESH/SR/HM/RFS/* tests. | /* Company ID*/
#define CID_VENDOR 0xFFFF
+#define FAULT_ARR_SIZE 2
+
+static bool has_reg_fault = true;
+
static struct bt_mesh_cfg cfg_srv = {
.relay = BT_MESH_RELAY_DISABLED,
.beacon = BT_MESH_BEACON_ENABLED,
@@ -52,7 +56,83 @@ static struct bt_mesh_cfg cfg_srv = {
.relay_retransmit = BT_MESH_TRANSMIT(2, 20),
};
+st... |
Fix variable access. | @@ -232,7 +232,7 @@ jobs:
rpath=$(dirname $(dirname $(python -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())")))/lib
libpython=$(basename $(find ${rpath} -maxdepth 1 -name *.dylib))
libpython="${libpython%.*}"
- find $(python -c "import site; print(site.getsitepackages()[0])") -name '*tinysp... |
story: update `|story-remove` to use new types | ::
::::
::
+/- *story
:- %say
|= $: [now=@da eny=@uvJ bec=beak]
[[syd=desk =aeon:clay ~] ~]
=/ our p.bec
:: XX should `base` here be syd or q.bec
=/ tak .^(tako:clay %cs /(scot %p our)/base/(scot %ud aeon)/tako/~)
-=/ tale=(map tako:clay [@t @t])
- .^((map tako:clay [@t @t]) %cx /(scot %p our)/[syd]/(scot %da now)/stor... |
Solve memory leaks and unconditional jumps found in MetaCall node loader. | @@ -2112,8 +2112,8 @@ void node_loader_impl_thread(void * data)
const size_t path_max_length = PATH_MAX;
#endif
- char exe_path_str[path_max_length];
- size_t exe_path_str_size, exe_path_str_offset = 0;
+ char exe_path_str[path_max_length] = { 0 };
+ size_t exe_path_str_size = 0, exe_path_str_offset = 0;
#if defined(WI... |
Disable downsizing on error if V4L2 is enabled
V4L2 device is created with the initial device size, it does not support
resizing.
PR <https://github.com/Genymobile/scrcpy/pull/2947> | @@ -1545,13 +1545,20 @@ parse_args_with_getopt(struct scrcpy_cli_args *args, int argc, char *argv[],
return false;
}
- if (opts->v4l2_device && opts->lock_video_orientation
- == SC_LOCK_VIDEO_ORIENTATION_UNLOCKED) {
+ if (opts->v4l2_device) {
+ if (opts->lock_video_orientation ==
+ SC_LOCK_VIDEO_ORIENTATION_UNLOCKED) {... |
u3: abort all home-road bails | @@ -661,7 +661,10 @@ u3m_dump(void)
c3_i
u3m_bail(u3_noun how)
{
- if ( (c3__exit == how) && (u3R == &u3H->rod_u) ) {
+ if ( &(u3H->rod_u) == u3R ) {
+ // XX set exit code
+ //
+ fprintf(stderr, "home: bailing out\r\n");
abort();
}
@@ -689,6 +692,8 @@ u3m_bail(u3_noun how)
switch ( how ) {
case c3__foul:
case c3__oops:... |
Misra 10.4: fix last 2 violations | @@ -44,7 +44,7 @@ int append_crc(char *in, int in_len) {
unsigned int crc = 0;
for (int i = 0; i < in_len; i++) {
crc <<= 1;
- if ((in[i] ^ ((crc >> 15) & 1U)) != 0U) {
+ if (((unsigned int)(in[i]) ^ ((crc >> 15) & 1U)) != 0U) {
crc = crc ^ 0x4599U;
}
crc &= 0x7fffU;
@@ -69,7 +69,7 @@ int append_bits(char *in, int in_l... |
add note about possible runtime failures when NOWAIT starts working | program t273959
! testing presence of NOWAIT clause on an omp target update directive
+! NOTE: test may fail at runtime once NOWAIT is supported and working
integer, parameter :: nsize=100
real p(nsize), v1(nsize), v2(nsize)
call vec_mult(p, v1, v2, nsize)
|
Comment change only: clarify how to write an empty parameter (using uAtClientWriteString()). | @@ -637,7 +637,10 @@ void uAtClientWriteUint64(uAtClientHandle_t atHandle,
* Quotes are added around the string if useQuotes is
* true. The AT client tracks whether this is the first
* parameter or not and adds delimiters to the outgoing
- * AT command as appropriate.
+ * AT command as appropriate. You can skip a param... |
Fixes an issues when zip command is used instead of jar | @@ -257,12 +257,15 @@ function(add_celix_bundle)
WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}
)
elseif(ZIP_COMMAND)
- add_custom_command(OUTPUT ${BUNDLE_FILE}
+ add_custom_command(OUTPUT ${BUNDLE_CONTENT_DIR}
COMMAND ${CMAKE_COMMAND} -E make_directory ${BUNDLE_CONTENT_DIR}
+ )
+
+ add_custom_command(OUTPUT ${BUNDLE_FI... |
Minor safeguard added | @@ -157,6 +157,8 @@ static void dill_halfchan_term(struct dill_halfchan *ch) {
static void dill_halfchan_close(struct hvfs *vfs) {
struct dill_halfchan *ch = (struct dill_halfchan*)vfs;
dill_assert(ch);
+ /* This shouldn't happen, but let's handle it decently. */
+ if(dill_slow(ch->closed)) return;
/* If the other half... |
Remove pkg_mod stuff | @@ -17,13 +17,6 @@ libent = static_library('ent',
libent_dep = declare_dependency(include_directories : inc, link_with : libent)
-pkg_mod = import('pkgconfig')
-pkg_mod.generate(libraries : libent,
- version : '0.0',
- name : 'libent',
- filebase : 'ent',
- description : 'A library to get entropy.')
-
ent_sample = exec... |
Update: Small printing improvement | @@ -126,8 +126,8 @@ void Display_Help()
{
puts("\nAll C tests ran successfully, run python3 evaluation.py for more comprehensive evaluation!");
puts("");
- puts("Welcome to OpenNARS for Applications!");
- puts("`````````````````````````````````````");
+ puts("Welcome to `OpenNARS for Applications`!");
+ puts("`````````... |
sp: add missing timestamp on aggregation function | @@ -554,6 +554,7 @@ static int sp_process_data_aggr(char *buf_data, size_t buf_size,
msgpack_object key;
msgpack_object val;
struct mk_list *head;
+ struct flb_time tm;
struct flb_sp_cmd *cmd = task->cmd;
struct flb_sp_cmd_key *ckey;
@@ -573,7 +574,11 @@ static int sp_process_data_aggr(char *buf_data, size_t buf_size,
... |
use proper logging level and fix incorrect sync condition | @@ -199,7 +199,7 @@ namespace NCudaLib {
const ui64 defragmentedMemory = (temp - (startPtr + writeOffset));
GetDefaultStream().Synchronize();
- MATRIXNET_INFO_LOG << "Defragment " << defragmentedMemory * 1.0 / 1024 / 1024 << " memory"
+ MATRIXNET_DEBUG_LOG << "Defragment " << defragmentedMemory * 1.0 / 1024 / 1024 << "... |
linux-raspberrypi: Bump to 5.10.78
To include Pi Zero 2W device-tree changes
for brcmfmac firmware. | -LINUX_VERSION ?= "5.10.76"
+LINUX_VERSION ?= "5.10.78"
LINUX_RPI_BRANCH ?= "rpi-5.10.y"
LINUX_RPI_KMETA_BRANCH ?= "yocto-5.10"
-SRCREV_machine = "3728690b4a894dd57d3913f048dcab12bb61251e"
+SRCREV_machine = "b2c047ab7e17a4ed702d313581620e826c58cc3c"
SRCREV_meta = "e1979ceb171bc91ef2cb71cfcde548a101dab687"
KMETA = "kern... |
Factorize resource release after CreateProcess()
Free the wide characters string in all cases before checking for errors. | @@ -94,10 +94,10 @@ sc_process_execute_p(const char *const argv[], HANDLE *handle,
goto error_close_stderr;
}
- if (!CreateProcessW(NULL, wide, NULL, NULL, TRUE, 0, NULL, NULL, &si,
- &pi)) {
+ BOOL ok = CreateProcessW(NULL, wide, NULL, NULL, TRUE, 0, NULL, NULL, &si,
+ &pi);
free(wide);
-
+ if (!ok) {
if (GetLastError... |
Add restrictions for hls_intersect | @@ -171,6 +171,11 @@ choice
config HLS_INTERSECT
bool "HLS Intersect"
+ help
+ This example often does not meet timing (> 200ps negative slack) in bitstream generation.
+ Running on FPGA hardware has passed for many times but it is NOT guaranteed.
+ It is intended as a HLS coding example to show how to make two impleme... |
[libc/time] Add microseconds time get feature in gettimeofday. | @@ -120,7 +120,7 @@ struct tm* localtime_r(const time_t* t, struct tm* r)
time_t local_tz;
int utc_plus;
- utc_plus = 0; /* GTM: UTC+0 */
+ utc_plus = 8; /* GMT: UTC+8 */
local_tz = *t + utc_plus * 3600;
return gmtime_r(&local_tz, r);
}
@@ -183,18 +183,14 @@ char* ctime(const time_t *tim_p)
}
RTM_EXPORT(ctime);
-/**
- ... |
KDB Tool: Reformat CMake code | @@ -36,18 +36,14 @@ if (BUILD_STATIC)
add_dependencies (kdb-static kdberrors_generated)
set_target_properties (kdb-static PROPERTIES LINKER_LANGUAGE CXX)
- set_target_properties (kdb-static PROPERTIES
- COMPILE_DEFINITIONS "HAVE_KDBCONFIG_H;ELEKTRA_STATIC")
+ set_target_properties (kdb-static PROPERTIES COMPILE_DEFINIT... |
Fix fd leak in pg_verifybackup
An error code path newly-introduced by forgot to close a file
descriptor when verifying a file's checksum.
Per report from Coverity, via Tom Lane. | @@ -730,6 +730,7 @@ verify_file_checksum(verifier_context *context, manifest_file *m,
{
report_backup_error(context, "could not initialize checksum of file \"%s\"",
relpath);
+ close(fd);
return;
}
|
Use tostring' when throwing top of stack as error | @@ -266,7 +266,6 @@ module Foreign.Lua.Core (
) where
import Prelude hiding (EQ, LT, compare, concat, error)
-import qualified Prelude
import Control.Monad
import Data.ByteString (ByteString)
@@ -310,37 +309,9 @@ throwTopMessageAsError = throwTopMessageAsError' id
throwTopMessageAsError' :: (String -> String) -> Lua a
... |
hv: vtd: check vtd enabling status with spinlock
Check vtd translation enabling status when enable/disable translation
inside dmar_enable/disable_translation with spinlock.
Acked-by: Anthony Xu | @@ -357,16 +357,16 @@ static bool dmar_unit_support_aw(const struct dmar_drhd_rt *dmar_unit, uint32_t
static void dmar_enable_translation(struct dmar_drhd_rt *dmar_unit)
{
- uint32_t status;
+ uint32_t status = 0;
spinlock_obtain(&(dmar_unit->lock));
+ if ((dmar_unit->gcmd & DMA_GCMD_TE) == 0U) {
dmar_unit->gcmd |= DMA... |
Remove unnecessary entry in hslua.h | @@ -24,10 +24,3 @@ int hslua_next(lua_State *L, int index, int *status);
/* auxiliary library */
const char *hsluaL_tolstring(lua_State *L, int index, size_t *len);
-
-/*
-** function calling
-*/
-
-/* Wraps a Haskell function with an userdata object. */
-void hslua_newhsfunwrapper(lua_State *L, HsStablePtr fn);
|
mat4: fix rmc multiplication | @@ -695,8 +695,8 @@ CGLM_INLINE
float
glm_mat4_rmc(vec4 r, mat4 m, vec4 c) {
vec4 tmp;
- glm_mat4_mulv(m, r, tmp);
- return glm_vec4_dot(c, tmp);
+ glm_mat4_mulv(m, c, tmp);
+ return glm_vec4_dot(r, tmp);
}
#endif /* cglm_mat_h */
|
Fix merge error with libcrypto.num | @@ -5312,4 +5312,3 @@ OSSL_ENCODER_CTX_set_cleanup ? 3_0_0 EXIST::FUNCTION:
OSSL_DECODER_INSTANCE_get_input_type ? 3_0_0 EXIST::FUNCTION:
OSSL_ENCODER_CTX_set_passphrase_cb ? 3_0_0 EXIST::FUNCTION:
EVP_PKEY_typenames_do_all ? 3_0_0 EXIST::FUNCTION:
-OSSL_DECODER_INSTANCE_get_input_type ? 3_0_0 EXIST::FUNCTION:
|
lyb parser REFACTOR add lyb_completion_node_inner | @@ -933,6 +933,36 @@ lyb_create_term(struct lyd_lyb_ctx *lybctx, const struct lysc_node *snode, struc
return ret;
}
+/**
+ * @brief Validate inner node, autodelete default values nad create implicit nodes.
+ *
+ * @param[in,out] lybctx LYB context.
+ * @param[in] snode Schema of the inner node.
+ * @param[in] node Pars... |
Return -1 properly from do_X509_REQ_verify and do_X509_verify | @@ -2322,23 +2322,35 @@ int do_X509_CRL_sign(X509_CRL *x, EVP_PKEY *pkey, const char *md,
return rv;
}
+/*
+ * do_X509_verify returns 1 if the signature is valid,
+ * 0 if the signature check fails, or -1 if error occurs.
+ */
int do_X509_verify(X509 *x, EVP_PKEY *pkey, STACK_OF(OPENSSL_STRING) *vfyopts)
{
int rv = 0;
... |
VERSION bump to version 2.0.112 | @@ -62,7 +62,7 @@ set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR})
# set version of the project
set(LIBYANG_MAJOR_VERSION 2)
set(LIBYANG_MINOR_VERSION 0)
-set(LIBYANG_MICRO_VERSION 111)
+set(LIBYANG_MICRO_VERSION 112)
set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION}... |
cmake: hide not so important vars
so that all vars fit on my screen | @@ -403,6 +403,7 @@ mark_as_advanced (
XercesC_DIR
OPENSSL_INCLUDE_DIR
LUA_EXECUTABLE # The following settings are internal (not to be changed by users):
+ FEDORA
CARGO_EXECUTABLE
DIFF_COMMAND
GLib_CONFIG_INCLUDE_DIR
@@ -441,6 +442,7 @@ mark_as_advanced (
ADDED_DIRECTORIES
ADDED_PLUGINS
REMOVED_PLUGINS
+ REMOVED_TOOLS
... |
Added test for tcp_wrap_fd | IN THE SOFTWARE.
*/
+#include <libdill.h>
+#include <stdbool.h>
+#include <stdio.h>
+#include <stdlib.h>
#include <string.h>
+#include <pthread.h>
+#include <sys/socket.h>
+#include <sys/time.h>
+#include <sys/types.h>
+#include <unistd.h>
+#include <netdb.h>
+
+#include <libdill.h>
+
#include "assert.h"
#include "../l... |
Remove dead light.state read code
This isn't used anymore, further this is the job of Poll Manager. | @@ -431,45 +431,6 @@ int DeRestPluginPrivate::getLightState(const ApiRequest &req, ApiResponse &rsp)
return REQ_READY_SEND;
}
- // handle request to force query light state
- if (req.hdr.hasKey("Query-State"))
- {
- bool enabled = false;
- int diff = idleTotalCounter - lightNode->lastRead(READ_ON_OFF);
- QString attrs ... |
Docs - update component lists for 6.5 | </row>
<row>
<entry>PL/Container and PL/Container images for Python, R </entry>
- <entry>2.1.0</entry>
+ <entry>2.1.1</entry>
+ </row>
+ <row>
+ <entry>PL/Container and image for R </entry>
+ <entry>3.0.0 Beta</entry>
+ </row>
+ <row>
+ <entry>GreenplumR</entry>
+ <entry>1.0.0 Beta</entry>
</row>
<row class="- topic/ro... |
rexec: support send command with arguments | @@ -114,8 +114,10 @@ static int do_rexec(FAR struct rexec_arg_s *arg)
int main(int argc, FAR char **argv)
{
+ char cmd[CONFIG_NSH_LINELEN];
struct rexec_arg_s arg;
int option;
+ int i;
memset(&arg, 0, sizeof(arg));
@@ -159,6 +161,13 @@ int main(int argc, FAR char **argv)
usage(argv[0]);
}
- arg.command = argv[optind];
... |
Find Botan: Reformat CMake code | +# ~~~
# Try to find the Botan library.
#
# Defines:
#
# Redistribution and use is allowed according to the terms of the BSD license.
# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
-#
+# ~~~
if (NOT BOTAN_FOUND)
include (FindPkgConfig)
@@ -18,14 +19,13 @@ if (NOT BOTAN_FOUND)
endif ()
if (BOTAN_FOUND)
+... |
servo_v4: Disable some features to save space
No room left in the flash for the ToT firmware. Remove some features to
save space.
BRANCH=servo
TEST=Built the servo v4 firmware, 560 bytes in flash available. | #undef CONFIG_CMD_MEM
#undef CONFIG_CMD_SHMEM
#undef CONFIG_CMD_SYSLOCK
+#undef CONFIG_CMD_TIMERINFO
#undef CONFIG_CMD_WAITMS
/* Enable control of I2C over USB */
/* PD features */
#define CONFIG_ADC
+#undef CONFIG_ADC_WATCHDOG
#define CONFIG_BOARD_PRE_INIT
/*
* If task profiling is enabled then the rx falling edge det... |
zephyr test: Check EC_CMD_TYPEC_STATUS results
After attaching emulated PD charger, using EC_CMD_TYPEC_STATUS to verify
USB default charging state.
TEST=zmake configure --test zephyr/test/drivers
BRANCH=none
Cq-Depend: chromium:3368262 | @@ -113,6 +113,10 @@ static void test_attach_pd_charger(void)
struct ec_response_charge_state charge_response;
struct host_cmd_handler_args args = BUILD_HOST_COMMAND(
EC_CMD_CHARGE_STATE, 0, charge_response, charge_params);
+ struct ec_params_typec_status typec_params;
+ struct ec_response_typec_status typec_response;
... |
Update README.md
fixed ack.vim link | @@ -167,7 +167,7 @@ You may need to use `sudo` or run as root for the make install.
### Vim
-You can use Ag with [ack.vim][] by adding the following line to your `.vimrc`:
+You can use Ag with [ack.vim](https://github.com/mileszs/ack.vim) by adding the following line to your `.vimrc`:
let g:ackprg = 'ag --nogroup --noc... |
update time calculation | @@ -382,9 +382,6 @@ public:
uint32_t offset = hardware_.time() - rt_time;
t.deserialize(data);
-
- // SerialBT2.print(t.data.sec); SerialBT2.print(" "); SerialBT2.println(t.data.nsec);
-
t.data.sec += offset / 1000;
t.data.nsec += (offset % 1000) * 1000000UL;
@@ -405,8 +402,8 @@ public:
void setNow(Time & new_now)
{
ui... |
misc: fix typo in set-ipfix-exporter CLI short_help
Type: fix | @@ -569,7 +569,7 @@ VLIB_CLI_COMMAND (set_ipfix_exporter_command, static) = {
"collector <ip4-address> [port <port>] "
"src <ip4-address> [fib-id <fib-id>] "
"[path-mtu <path-mtu>] "
- "[template-interval <template-interval>]",
+ "[template-interval <template-interval>] "
"[udp-checksum]",
.function = set_ipfix_exporte... |
Set correct "hosts" parameter in config for HB Hue version > 0.13.2 | @@ -163,6 +163,15 @@ function checkHomebridge {
local HOMEBRIDGE=""
local IP_ADDRESS=""
local HOMEBRIDGE_PIN=""
+ local hb_hue_version=$(npm list -g homebridge-hue | grep homebridge-hue | cut -d@ -f2 | xargs)
+
+ #hostline used in config
+ local hostline="\"hosts\": [\"127.0.0.1\"],"
+ if [ ${hb_hue_version:2:2} -le 13... |
misprint: SDL_SCANCODE_RGUI mapped twice, SDL_SCANCODE_LGUI not mapped | [SDL_SCANCODE_LCTRL] = tic_key_ctrl,
[SDL_SCANCODE_LSHIFT] = tic_key_shift,
[SDL_SCANCODE_LALT] = tic_key_alt,
-[SDL_SCANCODE_RGUI] = tic_key_ctrl,
+[SDL_SCANCODE_LGUI] = tic_key_ctrl,
[SDL_SCANCODE_RCTRL] = tic_key_ctrl,
[SDL_SCANCODE_RSHIFT] = tic_key_shift,
[SDL_SCANCODE_RALT] = tic_key_alt,
|
Remove filterfd.
Neat party trick, but not generally useful enough
to belong in libstd. | @@ -12,7 +12,6 @@ pkg std =
const espork : (cmd : byte[:][:] -> result((pid, fd, fd, fd), errno))
const sporkdir : (cmd : byte[:][:], dir : byte[:] -> result((pid, fd, fd), errno))
const esporkdir : (cmd : byte[:][:], dir : byte[:] -> result((pid, fd, fd, fd), errno))
- const filterfd : (fd : fd, cmd : byte[:][:] -> re... |
nshlib/nsh_netcmds.c: fix nxstyle warning | /****************************************************************************
* apps/nshlib/nsh_netcmds.c
*
- * Copyright (C) 2007-2012, 2014-2015, 2017 Gregory Nutt. All rights reserved.
+ * Copyright (C) 2007-2012, 2014-2015, 2017 Gregory Nutt.
+ * All rights reserved.
* Author: Gregory Nutt <gnutt@nuttx.org>
*
* Red... |
multiplace_move_F for gpu | @@ -76,7 +76,7 @@ const void* multiplace_read(struct multiplace_array_s* ptr, const void* ref)
if (cuda_ondevice(ref)) {
if (NULL == ptr->ptr_gpu)
- ptr->ptr_gpu = md_gpu_move(ptr->N, ptr->dims, ptr->ptr_cpu, ptr->size);
+ ptr->ptr_gpu = md_gpu_move(ptr->N, ptr->dims, ptr->ptr_ref, ptr->size);
return ptr->ptr_gpu;
}
@@... |
Keep file extension (dylib). | @@ -231,7 +231,6 @@ jobs:
find . -name "*$(python -c "import platform; print(''.join(platform.python_version_tuple()[0:2]))")*macosx*.whl" -exec python -m pip install {} \;
rpath=$(dirname $(dirname $(python -c "from distutils.sysconfig import get_python_inc; print(get_python_inc())")))/lib
libpython=$(basename $(find ... |
add rpm target in Makefile | @@ -4,6 +4,11 @@ ROOTDIR=$(dir $(abspath $(lastword $(MAKEFILE_LIST))))
# Base path used to install.
DESTDIR ?= /usr/local
+# Variables for building rpm
+VERSION ?= 0.2.0
+RELEASE_TARBALL_URL ?= https://github.com/alibaba/inclavare-containers/archive/v$(VERSION).tar.gz
+RPMBUILD_DIR ?= /tmp/inclavare-containers/shim/rp... |
webdojo: use /~_~/slog endpoint
As updated in | @@ -18,8 +18,8 @@ export default class Subscription {
}
setupSlog() {
- const slog = new EventSource('/~/slog', { withCredentials: true });
let available = false;
+ const slog = new EventSource('/~_~/slog', { withCredentials: true });
slog.onopen = e => {
console.log('slog: opened stream');
|
Update docs for buffer/push-word
Should be little endian, not big endian. | @@ -387,7 +387,7 @@ static const JanetReg buffer_cfuns[] = {
"buffer/push-word", cfun_buffer_word,
JDOC("(buffer/push-word buffer x)\n\n"
"Append a machine word to a buffer. The 4 bytes of the integer are appended "
- "in twos complement, big endian order, unsigned. Returns the modified buffer. Will "
+ "in twos comple... |
Add entry point for Python3 UDFs | @@ -27,6 +27,7 @@ def onregister_yql_python_udf(unit, *args):
'yql/udfs/common/python/main'
] if not py3 else [
'library/python/runtime_py3',
+ 'yql/udfs/common/python/main_py3'
])
else:
flavor = 'System'
|
[scripts][do-qemuarm] set script=no when using tun/tap | @@ -105,7 +105,7 @@ elif (( $DO_NET_TAP )); then
# sudo tunctl -u $(whoami) -t ${IFNAME}
# sudo ifconfig ${IFNAME} up
# sudo ip link set ${IFNAME} master ${BRIDGE}
- ARGS+=" -netdev tap,id=vmnic,ifname=qemu0,downscript=no"
+ ARGS+=" -netdev tap,id=vmnic,ifname=qemu0,script=no,downscript=no"
ARGS+=" -device virtio-net-d... |
hw/xive: Use XIVE_VSD_SIZE more
I think Cedric forgot this patch at some point. | @@ -1672,7 +1672,7 @@ static bool xive_prealloc_tables(struct xive *x)
}
memset(x->eq_ind_base, 0, al);
xive_dbg(x, "EQi at %p size 0x%llx\n", x->eq_ind_base, al);
- x->eq_ind_count = XIVE_EQ_TABLE_SIZE / 8;
+ x->eq_ind_count = XIVE_EQ_TABLE_SIZE / XIVE_VSD_SIZE;
/* Indirect VP table. Limited to one top page. */
al = A... |
Run perltidy, use strict+warnings on mkrc.pl | # in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html
+use strict;
+use warnings;
use lib ".";
use configdata;
use File::Spec::Functions;
my $versionfile = catfile( $config{sourcedir}, "include/openssl/opensslv.h" );
+my ( $ver, $v1, $v2, $v3, $v4, $beta, $version );
+
ope... |
rpio: Use pypi.bbclass
This should resolve recent issues with the non-https URL in SRC_URI. | @@ -5,12 +5,10 @@ SECTION = "devel/python"
LICENSE = "LGPLv3+"
LIC_FILES_CHKSUM = "file://README.rst;beginline=41;endline=53;md5=d5d95d7486a4d98c999675c23196b25a"
-SRCNAME = "RPIO"
+PYPI_PACKAGE = "RPIO"
+inherit pypi
-SRC_URI = "http://pypi.python.org/packages/source/R/RPIO/${SRCNAME}-${PV}.tar.gz \
- file://0001-incl... |
[ML302v003][#821]open random32 function | #define GENERATE_KEY_REPEAT_TIMES 100
-/*
+
uint32_t random32(void)
{
static uint32_t seed = 0;
@@ -65,7 +65,7 @@ uint32_t random32(void)
return seed;
}
-*/
+
BOAT_RESULT BoatRandom(BUINT8 *output, BUINT32 outputLen, void *rsvd)
|
Bump to version 2.05.68 | @@ -75,7 +75,7 @@ GIT_COMMIT_DATE = $$system("git show -s --format=%ct $$GIT_TAG")
# Version Major.Minor.Build
# Important: don't change the format of this line since it's parsed by scripts!
-DEFINES += GW_SW_VERSION=\\\"2.05.67\\\"
+DEFINES += GW_SW_VERSION=\\\"2.05.68\\\"
DEFINES += GW_SW_DATE=$$GIT_COMMIT_DATE
DEFIN... |
Fix vulkan device name | @@ -2359,7 +2359,7 @@ static VkResult overlay_CreateSwapchainKHR(
// ss << "." << VK_VERSION_PATCH(prop.driverVersion);
// }
// ss << ")";
- swapchain_data->sw_stats.deviceName = ss.str();
+ swapchain_data->sw_stats.deviceName = prop.deviceName;
get_device_name(prop.vendorID, prop.deviceID, swapchain_data->sw_stats);
i... |
Fix memory leak in mac_newctx() on error | @@ -74,6 +74,7 @@ static void *mac_newctx(void *provctx, const char *propq, const char *macname)
return pmacctx;
err:
+ OPENSSL_free(pmacctx->propq);
OPENSSL_free(pmacctx);
EVP_MAC_free(mac);
return NULL;
|
add cuda debugger to debugger.run | -- imports
import("core.base.option")
import("core.project.config")
+import("detect.tools.find_cudagdb")
+import("detect.tools.find_cudamemcheck")
import("detect.tools.find_gdb")
import("detect.tools.find_lldb")
import("detect.tools.find_windbg")
@@ -49,6 +51,27 @@ function _run_gdb(program, argv)
return true
end
+-- r... |
Add position and box-sizing setter | @@ -1261,27 +1261,39 @@ void Widget_SetMargin( LCUI_Widget w, float top, float right,
void Widget_Move( LCUI_Widget w, float left, float top )
{
- SetStyle( w->custom_style, key_top, top, px );
- SetStyle( w->custom_style, key_left, left, px );
+ Widget_SetStyle( w, key_top, top, px );
+ Widget_SetStyle( w, key_left, l... |
hpet init fails with no increment.. | @@ -168,10 +168,11 @@ boolean init_hpet(heap misc, heap virtual_pagesized, heap pages) {
timers = create_id_heap(misc, 0, field_from_u64(hpet->capid, HPET_CAPID_NUM_TIM_CAP) + 1, 1);
hpet->conf |= U64_FROM_BIT(HPET_CONF_ENABLE_CNF_SHIFT);
u64 prev = hpet->mainCounterRegister;
- if (prev == hpet->mainCounterRegister) {
... |
apps/Makefile: Fix one missing instance of CONFIG_EXAMPLES_NSH* that was not changes to CONFIG_SYSTEM_NSH*. | @@ -76,7 +76,7 @@ BIN = libapps$(LIBEXT)
# Symbol table for loadable apps.
SYMTABSRC = $(APPDIR)$(DELIM)symtab_apps.c
-SYMTABOBJ = $(APPDIR)$(DELIM)symtab_apps.o
+SYMTABOBJ = $(APPDIR)$(DELIM)symtab_apps$(OBJEXT)
# Build targets
@@ -103,7 +103,7 @@ $(foreach SDIR, $(CLEANDIRS), $(eval $(call SDIR_template,$(SDIR),clean... |
Getting Started Guide: add instructions for other OSs
Add instructions on how to build the hypervisor and device model
on other operating systems such as Ubuntu/Debian, Fedora/doc/Redhat
and CentOS. | @@ -281,32 +281,69 @@ Build ACRN from Source
**********************
If you would like to build ACRN hypervisor and device model from source,
-follow these steps, using your NUC as a development system:
+follow these steps.
-#. On your Clear Linux system, install the os-clr-on-clr bundle to get
- the necessary tools.
+I... |
Fix header in blockquote | :: if column has retreated, adjust stack
=. ..$ (back col.saw)
::
- =^ val sty.saw
+ =^ col-ok sty.saw
?+ (sub col.saw inr.ind) [| sty.saw] :: columns advanced
$0 [& sty.saw]
$8 [& %new %poem]
==
- ?. val ..$(err `[p.loc col.saw])
+ ?. col-ok ..$(err `[p.loc col.saw])
::
=. inr.ind col.saw
::
::
++ push :: push context... |
Fix compiler warning introduced in | @@ -1364,7 +1364,7 @@ DefineRange(CreateRangeStmt *stmt)
AclResult aclresult;
ListCell *lc;
ObjectAddress address;
- ObjectAddress mltrngaddress;
+ ObjectAddress mltrngaddress PG_USED_FOR_ASSERTS_ONLY;
Oid castFuncOid;
/* Convert list of names to a name and namespace */
|
Update Encoding.md
Add a missing "-" | @@ -135,7 +135,7 @@ Most other texture compression formats have a static channel assignment in
terms of the expected data correlation. For example, ETC2+EAC assumes that RGB
are always correlated and that alpha is non-correlated. ASTC can automatically
encode data as either fully correlated across all 4 channels, or wi... |
Doc: release_notes_2.2 update | @@ -195,7 +195,7 @@ Build the ACRN Hypervisor on Ubuntu
.. code-block:: none
- $ make all BOARD_FILE=misc/vm-configs/xmls/board-xmls/whl-ipc-i7.xml SCENARIO_FILE=misc/vm-configs/xmls/config-xmls/whl-ipc-i7/industry.xml RELEASE=0
+ $ make all BOARD_FILE=misc/vm_configs/xmls/board-xmls/whl-ipc-i7.xml SCENARIO_FILE=misc/v... |
pg_dump: improve big-O of partition dependency generation
We were doing a linear search through the list of tables to find the
correct OID. That's what findTableByOid() is for -- it does a binary
search on the sorted list of tables -- so use it instead. | @@ -16064,24 +16064,26 @@ static void
setExtPartDependency(TableInfo *tblinfo, int numTables)
{
int i;
- int j;
for (i = 0; i < numTables; i++)
{
TableInfo *tbinfo = &(tblinfo[i]);
+ TableInfo *parent;
Oid parrelid = tbinfo->parrelid;
if (parrelid == 0)
continue;
- for (j = 0; j < numTables; j++)
+ parent = findTableBy... |
DH_check[_params]() use libctx of the dh for prime checks | @@ -73,7 +73,7 @@ int DH_check_params(const DH *dh, int *ret)
BN_CTX *ctx = NULL;
*ret = 0;
- ctx = BN_CTX_new();
+ ctx = BN_CTX_new_ex(dh->libctx);
if (ctx == NULL)
goto err;
BN_CTX_start(ctx);
@@ -155,7 +155,7 @@ int DH_check(const DH *dh, int *ret)
if (!DH_check_params(dh, ret))
return 0;
- ctx = BN_CTX_new();
+ ctx... |
fixes the makefile | @@ -30,7 +30,7 @@ ACTOR_GEN_SRC = cee-utils/orka-utils.c \
cee-utils/json-struct.c \
cee-utils/json-printf.c \
cee-utils/log.c \
- cee-utils/specs-gen.c
+ specs/specs-gen.c
ACTOR_GEN_OBJS := $(ACTOR_GEN_SRC:%=$(ACTOR_OBJDIR)/%.o)
|
put new fortunastakes to last rank until we receive their active message | @@ -569,7 +569,7 @@ bool GetFortunastakeRanks(CBlockIndex* pindex)
BOOST_FOREACH(CFortunaStake& mn, vecFortunastakeScoresList)
{
i++;
- if (mn.nTimeRegistered > pindex->GetBlockTime()) {
+ if (mn.nTimeRegistered > pindex->GetBlockTime() || mn.active == 0) {
vecFortunastakeScores.push_back(vecFortunastakeScores[i]);
vec... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.