message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
"set development target to xxxx" in line 45 should be commented out
That is not executable code :) | @@ -42,7 +42,7 @@ make HOST_CC="gcc -std=c99" CROSS="$ISDKP" TARGET_FLAGS="$ISDKF" TARGET=arm64 TA
# add simulator support
ISDK=$IXCODE/Platforms/iPhoneSimulator.platform/Developer
ISDKVER=iPhoneSimulator.sdk
-set development target to 8.0
+# set development target to 9.0
DEVTAR=9.0
ISDKP=/usr/bin/
|
qp calculation for frame | @@ -266,7 +266,7 @@ static INLINE double calculate_weights(encoder_state_t* const state, const int l
return total_weight;
}
-// TODO: Missing QP calculation
+
void estimatePicLambda(encoder_state_t * const state) {
double bits = pic_allocate_bits(state);
const int layer = state->frame->gop_offset - (state->frame->is_ir... |
build: adding deprecation message alongside compile-time warnings | @@ -148,13 +148,13 @@ const char * liquid_error_info(liquid_error_code _code);
LIQUID_DEFINE_COMPLEX(float, liquid_float_complex);
LIQUID_DEFINE_COMPLEX(double, liquid_double_complex);
-// external compile-time deprecation warnings
+// external compile-time deprecation warnings with messages
#ifdef __GNUC__
-# define D... |
fixed len of MAC vendor | @@ -45,7 +45,7 @@ cbhdr->total_length = CB_SIZE;
memcpy(cbhdr->pen, &hcxmagic, 4);
memcpy(cbhdr->hcxm, &hcxmagic, 32);
-cblen += addoption(cb +cblen, OPTIONCODE_MACMYORIG, 3, (char*)macorig);
+cblen += addoption(cb +cblen, OPTIONCODE_MACMYORIG, 6, (char*)macorig);
cblen += addoption(cb +cblen, OPTIONCODE_MACMYAP, 6, (c... |
OcDevicePathLib: Fix potential OOB access | @@ -160,7 +160,7 @@ TrailedBooterDevicePath (
&& IsDevicePathEnd (NextDevicePathNode (DevicePathWalker))) {
FilePath = (FILEPATH_DEVICE_PATH *) DevicePathWalker;
Length = OcFileDevicePathNameLen (FilePath);
-
+ if (Length > 0) {
if (FilePath->PathName[Length - 1] == L'\\') {
//
// Already appended, good. It should neve... |
dma: change of ioat device init functions signature | @@ -41,8 +41,7 @@ static inline struct ioat_dma_device *dma_device_to_ioat(struct dma_device *dev)
* errval on error
*/
errval_t ioat_dma_device_init(struct capref mmio,
- struct pci_addr *pci_addr,
- bool iommu_present,
+ struct iommu_client *cl,
struct ioat_dma_device **dev);
/**
|
[python] fix bug when creation of temp directory on windows returns lowercase path (sync with upstream) DEVTOOLS-4496https://bugs.python.org/issue14255https://hg.python.org/cpython/rev/d5a9a1ba47ee | @@ -188,7 +188,7 @@ def _get_default_tempdir():
for dir in dirlist:
if dir != _os.curdir:
- dir = _os.path.normcase(_os.path.abspath(dir))
+ dir = _os.path.abspath(dir)
# Try only a few names per directory.
for seq in xrange(100):
name = namer.next()
|
Changelog for 4.2.2RC1 | +CARTO Mobile SDK 4.2.2RC1
+-------------------
+
+### Changes/fixes:
+
+* Additional synchronization for iOS events to prevent potential GL calls while app is paused
+* Fixed wrong rendering of vector tile labels using 'point-placement' mode
+* Fixed vector tile label transformation handling
+* Speed and memory usage ... |
CMakeLists: bump version to v9.1.0
Added more ERC20 tokens | @@ -89,9 +89,9 @@ endif()
#
# Versions MUST contain three parts and start with lowercase 'v'.
# Example 'v1.0.0'. They MUST not contain a pre-release label such as '-beta'.
-set(FIRMWARE_VERSION "v9.0.0")
-set(FIRMWARE_BTC_ONLY_VERSION "v9.0.0")
-set(FIRMWARE_BITBOXBASE_VERSION "v9.0.0")
+set(FIRMWARE_VERSION "v9.1.0")... |
Update IoT Esp32 sample readme with latest versions verified | @@ -30,7 +30,7 @@ This is a "to-the-point" guide outlining how to run an Azure SDK for Embedded C
- Configuration instructions for the Arduino IDE to compile a sample using the [Azure SDK for Embedded C](https://github.com/Azure/azure-sdk-for-c).
- Configuration, build, and run instructions for the IoT Hub telemetry sa... |
interface: share profile banner washedGray to lightGray | @@ -60,7 +60,7 @@ export const ShareProfile = (props) => {
alignItems="center"
justifyContent="space-between"
borderBottom={1}
- borderColor="washedGray"
+ borderColor="lightGray"
>
<Row pl={3} alignItems="center">
{image}
|
pbdrv/nxtcolor: simplify analog compensation
Also, scale reflection values to be somewhat closer to the EV3. That is, close to a white or reflective surface, the sensor should return 100%. | #define IN (0)
#define OUT (1)
+#define min(a, b) ((a) < (b) ? (a) : (b))
+#define max(a, b) ((a) > (b) ? (a) : (b))
+
typedef struct {
const int digi0; // GPIO on wire 5
const int digi1; // GPIO on wire 6
@@ -50,6 +53,8 @@ typedef struct _pbdrv_nxtcolor_t {
pbio_light_color_t lamp;
uint32_t calibration[3][4];
uint16_t... |
Fix error: unknown attribute 'long_call' ignored [-Werror,-Wunknown-attributes] | * (even though -mlong-calls does not appear in the compilation options)
*/
+# if defined(__clang__)
+# define farcall_function
+# else
# define farcall_function __attribute__ ((long_call))
+# endif
/* Code locate */
|
Update ntexapi.h with undocumented SYSDBG types | @@ -3152,6 +3152,51 @@ typedef struct _SYSDBG_TRIAGE_DUMP
PHANDLE Handles;
} SYSDBG_TRIAGE_DUMP, *PSYSDBG_TRIAGE_DUMP;
+// private
+typedef struct _SYSDBG_LIVEDUMP_CONTROL_FLAGS
+{
+ union
+ {
+ struct
+ {
+ ULONG UseDumpStorageStack : 1;
+ ULONG CompressMemoryPagesData : 1;
+ ULONG IncludeUserSpaceMemoryPages : 1;
+ U... |
Experimental: setting MISSING as a valid value (for now disabled) | @@ -295,7 +295,16 @@ static int compare(grib_accessor* a, grib_accessor* b)
static int pack_string(grib_accessor* a, const char* val, size_t* len)
{
char* theEnd = NULL;
- long v = strtol(val, &theEnd, 10);
+ long v = 0;
+
+#if 0
+ /* Requires more work e.g. filter */
+ if (strcmp_nocase(val, "missing")==0) {
+ return ... |
Fix multi-event commit. | @@ -104,10 +104,10 @@ _pier_db_commit_complete(c3_o success,
#ifdef VERBOSE_EVENTS
if (event_count_d != 1) {
- u3l_log("pier: (%" PRIu64 "-%" PRIu64 "): db commit completed\r\n",
- first_event_d, first_event_d + count_d - 1ULL);
+ u3l_log("pier: (%" PRIu64 "-%" PRIu64 "): db commit: complete\r\n",
+ first_event_d, firs... |
cloud: retry register on connection error | @@ -231,11 +231,17 @@ check_expires_in(int64_t expires_in)
return expires_in > UINT16_MAX ? UINT16_MAX : (uint16_t)expires_in;
}
+static bool
+is_connection_error_code(oc_status_t code)
+{
+ return code == OC_STATUS_SERVICE_UNAVAILABLE ||
+ code == OC_STATUS_GATEWAY_TIMEOUT;
+}
+
static oc_cloud_error_t
_register_handl... |
Unify artifact installation | @@ -187,22 +187,22 @@ target_link_libraries(bro ${BROTLI_LIBRARIES})
# Installation
if(NOT BROTLI_BUNDLED_MODE)
- install (TARGETS bro RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}")
+ install(
+ TARGETS bro
+ RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}"
+ )
- if(WIN32)
install(
TARGETS ${BROTLI_LIBRARIES_CORE}
- LIBRA... |
libcupsfilters: Added info about source of human-readable option strings
The files cupsfilters/catalog.c and cupsfilters/catalog.h contain an
API to obtain human-readable and translated strings for printer
options and choices. Document where the actual strings are taken from. | // USA.
//
+//
+// Human-readable strings for printer or scanner option/attribute
+// names and also the names for the possible choices for each option
+// are essentially important for user-friendly print dialogs and other
+// user interfaces. Also translations into the user-chosen user
+// interface language should b... |
add 5.2 to sollve runs | @@ -97,6 +97,8 @@ else
export MY_SOLLVE_FLAGS="$MY_SOLLVE_FLAGS -fopenmp-version=50"
elif [ $this_omp_version == "5.1" ] ; then
export MY_SOLLVE_FLAGS="$MY_SOLLVE_FLAGS -fopenmp-version=51"
+ elif [ $this_omp_version == "5.2" ] ; then
+ export MY_SOLLVE_FLAGS="$MY_SOLLVE_FLAGS -fopenmp-version=52"
elif [ $this_omp_vers... |
Add show -performance command to UEFI cli | @@ -767,6 +767,13 @@ RegisterCommands(
if (EFI_ERROR(Rc)) {
goto done;
}
+#ifndef __MFG__
+ // Mfg has a low latency version of this command in RegisterMfgCommands()
+ Rc = RegisterShowPerformanceCommand();
+ if (EFI_ERROR(Rc)) {
+ goto done;
+ }
+#endif // !__MFG__
#ifdef OS_BUILD
#ifdef __MFG__
@@ -774,11 +781,6 @@ R... |
Print debug and change delay for WIN32 LL implementation | @@ -132,6 +132,8 @@ uart_thread(void* param) {
while (comPort == NULL);
esp_sys_sem_create(&sem, 1); /* Create semaphore for delay functions */
+ esp_sys_sem_wait(&sem, 0);
+
fopen_s(&file, "log_file.txt", "w+"); /* Open debug file in write mode */
while (1) {
/*
@@ -143,7 +145,7 @@ uart_thread(void* param) {
if (bytes... |
fix selftest declaration in luos lib | "-I Profiles/Motor",
"-I Profiles/Servo_motor",
"-I Profiles/Voltage",
- "-I Bootloader"
+ "-I Bootloader",
+ "-I SelfTest"
],
"srcFilter": [
"+<*.c>",
"+<../Profiles/Motor/*.c>",
"+<../Profiles/Servo_motor/*.c>",
"+<../Profiles/Voltage/*.c>",
- "+<../Bootloader/*.c>"
+ "+<../Bootloader/*.c>",
+ "+<../SelfTest/*.c>"
]
... |
Change order of loading folders for node port. | @@ -8,18 +8,18 @@ const addon = (() => {
const LIBRARY_PATH = process.env.LOADER_LIBRARY_PATH || '';
const paths = [
- LIBRARY_PATH,
- __dirname,
Path.join(__dirname, 'build'),
+ __dirname,
process.cwd(),
+ LIBRARY_PATH,
Path.join(LIBRARY_PATH, 'build'),
Path.join(LIBRARY_PATH, 'node_modules', 'metacall'),
Path.join(LI... |
Add missing sceKernelTryLockLwMutex | @@ -1115,6 +1115,7 @@ typedef struct SceKernelLwMutexOptParam {
int sceKernelCreateLwMutex(SceKernelLwMutexWork *pWork,const char *pName, unsigned int attr, int initCount, const SceKernelLwMutexOptParam *pOptParam);
int sceKernelDeleteLwMutex(SceKernelLwMutexWork *pWork);
int sceKernelLockLwMutex(SceKernelLwMutexWork *... |
allocate fd: Added missing memset | @@ -214,6 +214,7 @@ static int _posix_allocateFd(process_info_t *p, int *fd)
return -ENFILE;
hal_memcpy(newfds, p->fds, p->maxfd * sizeof(p->fds[0]));
+ hal_memset(&newfds[p->maxfd], NULL, p->maxfd * sizeof(p->fds[0]));
vm_kfree(p->fds);
p->fds = newfds;
|
fix:fix ethereum test case(test_001CreateWallet_0011CreateSevenWallet) | @@ -309,6 +309,7 @@ END_TEST
START_TEST(test_001CreateWallet_0011CreateSevenWallet)
{
BSINT32 rtnVal;
+ BoatIotSdkInit();
BoatEthWalletConfig wallet = get_ethereum_wallet_settings();
extern BoatIotSdkContext g_boat_iot_sdk_context;
wallet.prikeyCtx_config.prikey_genMode = BOAT_WALLET_PRIKEY_GENMODE_INTERNAL_GENERATION;... |
review comment... tweak errno handling in readdir | @@ -1727,7 +1727,9 @@ readdir(DIR *dirp)
doRead(fd, initialTime, (errno != 0), NULL, sizeof(struct dirent), "readdir", BUF, 0);
- errno = errsave;
+ // If readdir modified errno, leave the errno value alone.
+ // Otherwise, restore the saved errno value (before we set it to zero.)
+ errno = (errno) ? errno : errsave;
r... |
Use aligned buffer size with vkMapMemory too | @@ -1117,9 +1117,9 @@ static struct overlay_draw *render_swapchain_display(struct swapchain_data *data
ImDrawVert* vtx_dst = NULL;
ImDrawIdx* idx_dst = NULL;
VK_CHECK(device_data->vtable.MapMemory(device_data->device, draw->vertex_buffer_mem,
- 0, vertex_size, 0, (void**)(&vtx_dst)));
+ 0, draw->vertex_buffer_size, 0, ... |
bcc_syms.cc: bug fix; identify VDSO using 'name' vs. 'path' (use of path incorrectly compares /proc/<pid>/root[vdso] with [vdso]). | @@ -238,7 +238,7 @@ ProcSyms::Module::Module(const char *name, const char *path,
// Other symbol files
if (bcc_is_valid_perf_map(path_.c_str()) == 1)
type_ = ModuleType::PERF_MAP;
- else if (bcc_elf_is_vdso(path_.c_str()) == 1)
+ else if (bcc_elf_is_vdso(name_.c_str()) == 1)
type_ = ModuleType::VDSO;
// Will be stored ... |
Fixed issue with the OBJDIR value not being escaped | ---------------------------------------------------------------------------
function make.objdir(cfg)
- _x(' OBJDIR = %s', project.getrelative(cfg.project, cfg.objdir))
+ _x(' OBJDIR = %s', premake.esc(project.getrelative(cfg.project, cfg.objdir)))
end
|
BUFR decode: Check error code before asserting | @@ -646,6 +646,10 @@ static void dump_string(grib_dumper* d, grib_accessor* a, const char* comment)
self->empty = 0;
err = grib_unpack_string(a, value, &size);
+ if (err) {
+ fprintf(self->dumper.out, " *** ERR=%d (%s) [dump_string on '%s']", err, grib_get_error_message(err), acc_name);
+ return;
+ }
Assert(size < MAX_... |
Drop the redundant ast.Node.list3 field | @@ -187,7 +187,6 @@ type Node struct {
list0 []*Node
list1 []*Node
list2 []*Node
- list3 []*Node
}
func (n *Node) Kind() Kind { return n.kind }
@@ -254,7 +253,7 @@ func (n *Raw) Node() *Node { return (*Node)(n) }
func (n *Raw) Flags() Flags { return n.flags }
func (n *Raw) FilenameLine() (string, uint32) { return n.fil... |
Remove unneeded config line | @l3 hugemb=256 ctr=l3fwd ctrcfg+=examples/tables/l3fwd.txt
@smgw hugemb=512 ctr=smgw ctrcfg+=examples/tables/smgw.txt
@portfwd ctr=portfwd ctrcfg+=examples/tables/old/portfwd_table.txt
-;@portfwd ctr=l2fwd ctrcfg+=examples/tables/portfwd.txt
@nonic arch=dpdk hugemb=64 cores=2 ports=0 noeal
@nic arch=dpdk hugemb=4096
|
Disallow SSL2_VERSION record version in an SSLv3 record header
When validate_record_header() gets called it should be able to rely on
the fact that an SSLv2 record version means that the record was received in
SSLv2 format. | @@ -517,6 +517,18 @@ static int tls_get_more_records(OSSL_RECORD_LAYER *rl,
thisrr->type = type;
thisrr->rec_version = version;
+ /*
+ * When we call validate_record_header() only records actually
+ * received in SSLv2 format should have the record version set
+ * to SSL2_VERSION. This way validate_record_header() can ... |
Anohter tweak to BIND_ANIMATION_FRAME_REMOVE. Frame checking was off by 1. | @@ -21999,7 +21999,7 @@ void adjust_bind(entity *e)
{
// If we don't have the frame and frame kill flag is
// set, kill ourselves.
- if (e->animation->numframes < frame)
+ if ((e->animation->numframes -1) < frame)
{
if (e->binding.match & BIND_ANIMATION_FRAME_REMOVE)
|
serial-libs/gsl: dropping optimization level down to -O2 to avoid
failure observed with rng test | @@ -55,7 +55,7 @@ lends itself to being used in very high level languages (VHLLs).
export CFLAGS="-fp-model strict $CFLAGS"
%endif
-./configure --prefix=%{install_path} \
+./configure CFLAGS="-O2" --prefix=%{install_path} \
--libdir=%{install_path}/lib \
--disable-static || { cat config.log && exit 1; }
make %{?_smp_mf... |
show the parm attributes in the channel box | @@ -413,6 +413,7 @@ CreateAttrOperation::createNumericAttr(const HAPI_ParmInfo &parm)
{
result = nAttr.createColor(attrName, attrName);
nAttr.setNiceNameOverride(niceName);
+ nAttr.setChannelBox(true);
return result;
}
@@ -430,6 +431,7 @@ CreateAttrOperation::createNumericAttr(const HAPI_ParmInfo &parm)
type
);
nAttr.s... |
Change implicit fallthrough flag to work with older versions of gcc. | @@ -28,7 +28,7 @@ else()
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O2")
endif(NOT QUICK_BUILD)
- set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wimplicit-fallthrough=0 -Wsign-compare -Wshadow")
+ set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wextra -Wno-implicit-fallthrough -Wsign-compare -Wshadow")
if(WITH_COVERAGE)
set(C... |
replace the use of shared_ptr with ref | @@ -85,7 +85,7 @@ public:
/// Get a singleton of Common Diagnostic Stack that is used for regitering CollectorCallback and is used to call
/// to collect and upload data.
/// </summary>
-MATSDK_LIBABI std::shared_ptr<ICommonDiagnosticSystem> GetCommonDiagnosticSystem() noexcept;
+MATSDK_LIBABI ICommonDiagnosticSystem& ... |
session client BUGFIX using not initialized variable | @@ -650,7 +650,7 @@ build_schema_info_yl(struct nc_session *session)
struct lyd_node *yldata = NULL;
NC_MSG_TYPE msg;
uint64_t msgid;
- struct ly_set *modules;
+ struct ly_set *modules = NULL;
struct schema_info *result;
unsigned int u, c;
struct lyd_node *iter;
|
DOCS: Update gppkg - update requirements for --migrate | <codeblock><b>gppkg</b> [<b>-i</b> <varname>package</varname> | <b>-u</b> <varname>package</varname> | <b>-r </b> <varname>name</varname>-<varname>version</varname> | <b>-c</b>]
[<b>-d</b> <varname>master_data_directory</varname>] [<b>-a</b>] [<b>-v</b>]
-<b>gppkg --migrate</b> <varname>GPHOME_1</varname> <varname>GPHO... |
removes unnecessary and non-portable type casts | @@ -5840,12 +5840,13 @@ void arm_rfft_fast_f32(
uint32_t blockSize)
{
uint32_t i = 0U;
- int32_t rOffset, dst_end;
+ int32_t rOffset;
+ int32_t* dst_end;
/* Copy the value of Index pointer that points
* to the current location from where the input samples to be read */
rOffset = *readOffset;
- dst_end = (int32_t) (dst_... |
Send lovrEye to fragment shaders; | @@ -28,7 +28,6 @@ const char* lovrShaderVertexPrefix = ""
"#version 150 \n"
#endif
"#define MAX_BONES 48 \n"
-"#define lovrEye (gl_InstanceID & 1) \n"
"#define lovrTransform lovrTransforms[lovrEye] \n"
"#define lovrView lovrViews[lovrEye] \n"
"#define lovrProjection lovrProjections[lovrEye] \n"
@@ -43,6 +42,7 @@ const ... |
session server BUGFIX invalid dereference | @@ -108,7 +108,8 @@ nc_server_ch_client_lock(const char *name, const char *endpt_name, NC_TRANSPORT_
break;
}
for (j = 0; j < client->ch_endpt_count; ++j) {
- if (!strcmp(client->ch_endpts[j].name, endpt_name) && (!ti || (ti == client->ch_endpts[j].ti))) {
+ if ((!endpt_name || !strcmp(client->ch_endpts[j].name, endpt_... |
doc/bmc: Document SBE validation on P8 platforms | @@ -53,3 +53,30 @@ Real-time clock
On platforms where a real-time-clock is not available, skiboot may use the
IPMI SEL Time as a real-time-clock device.
+
+SBE validation
+--------------
+
+On some P8 platforms with an AMI or SMC BMC (ie. astbmc) SBE validation is done
+by a tool on the BMC. This is done to inspect the... |
Command not found returns error | @@ -345,7 +345,8 @@ int cmd_process_long(struct commands *commands, const char *str, size_t len,
err = cmd_long->h(pf_resp, &arg);
}
else {
- err = re_hprintf(pf_resp, "command not found (%s)\n", name);
+ (void)re_hprintf(pf_resp, "command not found (%s)\n", name);
+ err = ENOTSUP;
}
out:
|
Report msg id as hexadecimal | @@ -1146,7 +1146,7 @@ static celix_status_t pubsub_topologyManager_metrics(pubsub_topology_manager_t *
char uuidStr[UUID_STR_LEN+1];
uuid_unparse(rm->msgTypes[j].origins[m].originUUID, uuidStr);
fprintf(os, " |- Message '%s' from framework UUID %s:\n", rm->msgTypes[j].typeFqn, uuidStr);
- fprintf(os, " |- msg type = %i... |
add raptor lake ids | @@ -1544,6 +1544,13 @@ int get_cpuname(void){
return CPUTYPE_NEHALEM;
}
break;
+ case 11: //family 6 exmodel 11
+ switch (model) {
+ case 7: // Raptor Lake
+ if(support_avx2())
+ return CPUTYPE_HASWELL;
+ }
+ break;
}
break;
case 0x7:
@@ -2334,6 +2341,12 @@ int get_coretype(void){
return CORE_NEHALEM;
}
+ case 11:
+ sw... |
Debug output doesn't make sense... | @@ -42,9 +42,6 @@ main(void)
unsigned int i;
usrsctp_init(0, NULL, NULL);
-#ifdef SCTP_DEBUG
- usrsctp_sysctl_set_sctp_debug_on(SCTP_DEBUG_ALL);
-#endif
printf("Entering the loop\n");
for (i = 0; i < 1000000; i++) {
usrsctp_register_address(NULL);
|
anahera: Raise C1 port i2c speed to 1Mhz
BRANCH=none
TEST=On Anahera, Make sure the C1 port is charging. | @@ -38,7 +38,7 @@ const struct i2c_port_t i2c_ports[] = {
/* I2C4 C1 TCPC */
.name = "tcpc1",
.port = I2C_PORT_USB_C1_TCPC,
- .kbps = 400,
+ .kbps = 1000,
.scl = GPIO_EC_I2C_USB_C1_TCPC_SCL,
.sda = GPIO_EC_I2C_USB_C1_TCPC_SDA,
},
@@ -54,7 +54,7 @@ const struct i2c_port_t i2c_ports[] = {
/* I2C6 */
.name = "ppc1,retimer... |
artik053/openocd: fix build.sh to make it work on windows
The environment variable 'HOSTTYPE' specifies the type of installed OS.
However, MSYS has 32 bits and 64 bits, and can be classified into
'MSYSTEM_CARCH'.
This commit fixes to provide builds in the Windows environment. | @@ -29,7 +29,9 @@ fi
buildDir=$srcRoot
copyDir=$srcRoot/..
-CFLAGS="-mtune=generic -O2 -pipe"
+CFLAGS="-O2 -pipe"
+
+CTARGET=`gcc -dumpmachine`
die() {
if [ -n "$1" ]; then echo $1; fi
@@ -105,28 +107,29 @@ fetch_libconfuse() {
}
setenv() {
- case $OSTYPE in
- linux*)
+ case $CTARGET in
+ *linux*)
HOST=linux
;;
- msys*... |
Make sure we save ALPN data in the session | @@ -1400,6 +1400,17 @@ int tls_parse_stoc_alpn(SSL *s, PACKET *pkt, unsigned int context, X509 *x,
}
s->s3->alpn_selected_len = len;
+ /* We also put a copy in the session */
+ OPENSSL_free(s->session->ext.alpn_selected);
+ s->session->ext.alpn_selected = OPENSSL_memdup(s->s3->alpn_selected,
+ s->s3->alpn_selected_len)... |
socketpool: check poll exipred after lisklist inserted
Issues | @@ -601,9 +601,9 @@ int h2o_socketpool_return(h2o_socketpool_t *pool, h2o_socket_t *sock)
__sync_add_and_fetch(&pool->_shared.pooled_count, 1);
pthread_mutex_lock(&pool->_shared.mutex);
- check_pool_expired_locked(pool, h2o_socket_get_loop(sock));
h2o_linklist_insert(&pool->_shared.sockets, &entry->all_link);
h2o_linkl... |
Add sce_paf_malloc_align nid | @@ -7403,6 +7403,7 @@ modules:
kernel: false
nid: 0xA7D28DAE
functions:
+ sce_paf_malloc_align: 0xAA9952E0
sce_paf_private_abs: 0x0F297A5E
sce_paf_private_atexit: 0x9A1D1ED1
sce_paf_private_atof: 0x9C251354
|
discard: Make max_length aligned to sector size | @@ -61,7 +61,8 @@ void ocf_submit_volume_discard(ocf_volume_t volume, uint64_t addr,
{
struct ocf_submit_volume_context *context;
uint64_t bytes;
- uint64_t max_length = (uint32_t)~0;
+ uint64_t sector_mask = (1 << ENV_SECTOR_SHIFT) - 1;
+ uint64_t max_length = (uint32_t)~0 & ~sector_mask;
struct ocf_io *io;
context = ... |
remove rounded-ending in lv_arc.c | @@ -239,37 +239,6 @@ static lv_design_res_t lv_arc_design(lv_obj_t * arc, const lv_area_t * clip_area
lv_coord_t y = arc->coords.y1 + lv_obj_get_height(arc) / 2;
lv_opa_t opa_scale = lv_obj_get_opa_scale(arc);
lv_draw_arc(x, y, r, clip_area, ext->angle_start, ext->angle_end, style, opa_scale);
-
- /*Draw circle on the ... |
sse4.1: Add missing explicit cast to __m128i*
Explicitly casting to __m128* on this line appears to be necessary to compile using clang or gcc when SIMDE_SSE4_1_NATIVE is defined. | @@ -987,7 +987,7 @@ SIMDE__FUNCTION_ATTRIBUTES
simde__m128i
simde_mm_stream_load_si128 (const simde__m128i* mem_addr) {
#if defined(SIMDE_SSE4_1_NATIVE)
- return SIMDE__M128I_C(_mm_stream_load_si128((void*) &(mem_addr->n)));
+ return SIMDE__M128I_C(_mm_stream_load_si128((__m128i*)(void*) &(mem_addr->n)));
#else
return ... |
Bump SEDEM version (fix for Release Tracker) | },
"sedem": {
"formula": {
- "sandbox_id": 465320622,
+ "sandbox_id": 466065104,
"match": "SEDEM archive"
},
|
jni: fix JNI version check with correct API level | @@ -30,11 +30,11 @@ if (DEPENDENCY_PHASE)
set (DIRS ${JNI_INCLUDE_DIRS} ${JAVA_INCLUDE_PATH} ${JAVA_INCLUDE_PATH2} ${JAVA_AWT_INCLUDE_PATH})
set (LIBS ${JAVA_MAWT_LIBRARY} ${JNI_LIBRARIES} ${JAVA_AWT_LIBRARY} ${JAVA_JVM_LIBRARY}) # for check_symbol_exists
set (CMAKE_REQUIRED_INCLUDES ${DIRS})
- safe_check_symbol_exists... |
Eliminate trivial switch's. | @@ -2270,19 +2270,17 @@ dnssd_client_cb(
if (!c)
return;
- switch (state)
+ if (state == AVAHI_CLIENT_FAILURE)
{
- default :
- fprintf(stderr, "Ignored Avahi state %d.\n", state);
- break;
-
- case AVAHI_CLIENT_FAILURE:
if (avahi_client_errno(c) == AVAHI_ERR_DISCONNECTED)
{
fputs("Avahi server crashed, exiting.\n", std... |
[numerics] add an unstable test that pass only with mumps | @@ -825,10 +825,11 @@ if(WITH_${COMPONENT}_TESTING)
INTERNAL_DPARAM 0 1e-10)
NEW_GFC_3D_TEST(GFC3D_TwoRods1.dat SICONOS_GLOBAL_FRICTION_3D_NSGS)
NEW_GFC_3D_TEST(GFC3D_TwoRods1.dat SICONOS_GLOBAL_FRICTION_3D_NSGS_WR)
+ IF (WITH_UNSTABLE_TEST)
NEW_GFC_3D_TEST(GFC3D_TwoRods1.dat SICONOS_GLOBAL_FRICTION_3D_NSN_AC 0 0
0 0 0... |
Allow logs to be read by others
Dynomite assumes the instance its running on is secure, so we default
to letting logs be editable by other users as well. This is motivated
by the need to allow other agents on the instance to rotate old log
files. | @@ -47,7 +47,7 @@ int log_init(int level, char *name) {
if (name == NULL || !strlen(name)) {
l->fd = STDERR_FILENO;
} else {
- l->fd = open(name, O_WRONLY | O_APPEND | O_CREAT, 0644);
+ l->fd = open(name, O_WRONLY | O_APPEND | O_CREAT, 0666);
if (l->fd < 0) {
log_stderr("opening log file '%s' failed: %s", name, strerro... |
Remove warnings about unused variables. | @@ -195,6 +195,8 @@ create_udp_sock(int family, int socktype, struct sockaddr* addr,
|| (use_systemd
&& (s = systemd_get_activated(family, socktype, -1, addr,
addrlen, NULL)) == -1)) {
+#else
+ (void)use_systemd;
#endif
if((s = socket(family, socktype, 0)) == -1) {
*inuse = 0;
@@ -613,6 +615,8 @@ create_tcp_accept_sock... |
Disable OPENMVPT Travis target | @@ -73,13 +73,6 @@ jobs:
name: PORTENTA_WORKSPACE # workspace names are escaped.
paths: ~/build/$TARGET
- - stage: build
- env: TARGET=OPENMVPT
- workspaces:
- create:
- name: OPENMVPT_WORKSPACE # workspace names are escaped.
- paths: ~/build/$TARGET
-
- stage: build
env: TARGET=NANO33
workspaces:
@@ -115,12 +108,11 @@... |
sensor_shell: return error in sensor_cmd_notify if no sensor found | @@ -789,6 +789,8 @@ sensor_cmd_notify(char *name, bool on, char *type_string)
sensor = sensor_mgr_find_next_bydevname(name, NULL);
if (!sensor) {
console_printf("Sensor %s not found!\n", name);
+ rc = SYS_EINVAL;
+ goto done;
}
if (!strcmp(type_string, "single")) {
|
Updated changelog with release notes for 11.5-0, 11.6-1, 11.6-2 | -aomp (11.0-1) UNRELEASED; urgency=medium
+aomp (11.6-2) UNRELEASED; urgency=medium
* Initial release of aomp is 0.3-2
* Please see example in /usr/lib/aomp/examples/vmuldemo
@@ -329,4 +329,42 @@ aomp (11.0-1) UNRELEASED; urgency=medium
* Issue #89 Linker error (The file was not recognized as a valid object file) when ... |
[chainmaker][#436]add host name in Makefile | @@ -16,8 +16,8 @@ DEPENDENCE_LIBS = $(BOAT_LIB_DIR)/libboatwallet.a \
BOAT_CFLAGS += -DTEST_CHAINMAKER_NODE_URL=\"$(CHAINMKER_NODE_URL)\"\
-DTEST_CHAINMAKER_CHAIN_ID=\"$(CHAINMKER_CHAIN_ID)\"\
- -DTEST_CHAINMAKER_ORG_ID=\"$(CHAINMKER_ORG_ID)\"
-
+ -DTEST_CHAINMAKER_ORG_ID=\"$(CHAINMKER_ORG_ID)\"\
+ -DTEST_CHAINMAKER_HO... |
hssi: support new glob format for upstreamed drivers
The glob path used to discover the ethernet interface name
was updated by recent driver changes. Support both the old
and the new formats. | @@ -57,39 +57,64 @@ public:
: test_afu("hssi")
{}
- std::string ethernet_interface()
+ bool glob_ethernet_interface(const std::string &glob_pattern, std::string ð_ifc)
{
- auto props = properties::get(handle_);
+ glob_t gl;
- std::ostringstream oss;
- oss << "/sys/bus/pci/devices/" <<
- std::setw(4) << std::setfill(... |
arm/cache: fix build warning on LLVM clang
armv7-m/arm_cache.c:93:24: warning: unused function 'arm_clz' [-Wunused-function]
static inline uint32_t arm_clz(unsigned int value)
^ | *
****************************************************************************/
+#ifdef CONFIG_ARMV7M_DCACHE
static inline uint32_t arm_clz(unsigned int value)
{
uint32_t ret;
@@ -97,6 +98,7 @@ static inline uint32_t arm_clz(unsigned int value)
__asm__ __volatile__ ("clz %0, %1" : "=r"(ret) : "r"(value));
return ret;
}... |
In NxWM unit test, call boardctl(BOARDIOC_INIT) if available and appropriate. | #include <cstdlib>
#include <cunistd>
+#include <sys/boardctl.h>
+
#ifdef CONFIG_NXWM_TOUCHSCREEN_CONFIGDATA
# include "platform/configdata.hr"
#endif
@@ -675,6 +677,16 @@ int nxwm_main(int argc, char *argv[])
up_cxxinitialize();
#endif
+ // Should we perform board-specific initialization? There are two ways
+ // that ... |
Add dbg-io module for JN516x platform
As JN516x is not an ARM core, it will not inherit configuration from Makefile.arm, so all required options has to be in Makefile.jn516x | @@ -111,6 +111,8 @@ endif
CONTIKI_TARGET_DIRS = . dev
CONTIKI_TARGET_MAIN = platform.c
+MODULES += os/lib/dbg-io
+
ifeq ($(JN516x_WITH_DR1175),1)
JN516x_WITH_DR1174 = 1
CFLAGS += -DSENSOR_BOARD_DR1175
|
11. single-home %gall state-machine | ::::::::::::::::::::::::::::::::::::::::::::::::::::::
++ mo
~% %gall-mo +> ~
- |_ $: $: our/@p
- hen/duct
- moz/(list move)
+ |_ $: $: hen=duct
+ moz=(list move)
==
mast
==
++ mo-abed :: initialize
- |= {our/@p hen/duct}
+ |= hen=duct
^+ +>
%_ +>
- our our
hen hen
+<+ (~(got by pol.all) our)
==
?. (~(has by pol.all) p... |
scope_getenv -> getenv | @@ -438,7 +438,9 @@ setupProfile(const char *libscopePath, const char *loaderVersion) {
* requires libscope specifics that we don't want here.
* Should fix that.
*/
- if (scope_getenv("SCOPE_START_NOPROFILE")) return TRUE;
+ if (getenv("SCOPE_START_NOPROFILE")) {
+ return TRUE;
+ }
char buf[PATH_MAX] = {0};
int fd = sc... |
Add comments to else and endif preprocessor directives | extern void *gles, *egl, *bcm_host, *vcos, *gbm;
#ifdef AMIGAOS4
#define proc_address(lib, name) os4GetProcAddress(name)
-#else
+#else // AMIGAOS4
#define proc_address(lib, name) dlsym(lib, name)
void *open_lib(const char **names, const char *override);
-#endif
+#endif // AMIGAOS4
#define WARN_NULL(name) if (name == NU... |
end-to-end tested | # Bitcoin Demo/Integration Test
-Dec 9, 2020
-Can use as the base of an integration test.
+Use only one of `%main` or `%testnet` for `=network` in the examples below, and use the corresponding `xpubmain` or `xpubtest`.
## Start Services
Runs the full node API services.
@@ -61,7 +60,7 @@ Using 1 confirmation for testing... |
add the category the git package to fix installation
packages on gentoo are named as category/package, allowing there to be multiple packages of the same name. | @@ -153,7 +153,7 @@ install_tools()
{ yum --version >/dev/null 2>&1 && $sudoprefix yum install -y git readline-devel ccache && $sudoprefix yum groupinstall -y 'Development Tools'; } ||
{ zypper --version >/dev/null 2>&1 && $sudoprefix zypper --non-interactive install git readline-devel ccache && $sudoprefix zypper --no... |
Fixed getblocktemplate for masternode/fortunastakes | @@ -382,6 +382,8 @@ Value getblocktemplate(const Array& params, bool fHelp)
" \"payee_amount\" : required amount to pay\n"
" \"fortunastake_payments\" : true|false, (boolean) true, if fortunastake payments are enabled"
" \"enforce_fortunastake_payments\" : true|false (boolean) true, if fortunastake payments are enforce... |
Fix %next to not cancel the subscription if the watched file doesn't yet exist.
Instead, register file creation as a change. | ++ cach (unit (each cage lobe)) :: cached result
++ rove :: stored request
$% {$sing p/mood} :: single request
- {$next p/mood q/(unit (each cage lobe))} :: next version
+ {$next p/mood q/(unit cach)} :: next version
$: $mult :: next version of any
p/care ::
q/(jug case spur) ::
::
$next
=+ ver=(aver p.rav)
- ?~ ver
- ... |
docket: account for new kiln fact mark | =* cha ~(. ch desk.diff)
?+ -.diff `state
::
- %merge
+ %commit
=* cha ~(. ch desk.diff)
?. docket-exists:cha `state
=/ =docket docket:cha
|
Re-enable typ check for RConfigCoolSetpoint
Confirmed to be working as expected. Values must be passed as integer. | @@ -1171,12 +1171,8 @@ int DeRestPluginPrivate::changeSensorConfig(const ApiRequest &req, ApiResponse &
}
else if (rid.suffix == RConfigCoolSetpoint)
{
-
- // Further Clarification on the type check required. Value should come in as integer by the client and expected as such by the API
- // Suspended for now in favor o... |
Makefile: On Windows Subsystem for Linux (WSL), build as Posix | @@ -40,8 +40,9 @@ GREP_COLOR ?=
OS ?= $(shell uname -s)
MARCH ?= $(shell uname -m)
+KERNEL ?= $(shell uname -r)
-ifeq ($(OS),Linux)
+ifeq ($(OS)$(findstring Microsoft,$(KERNEL)),Linux)
ARCH := LINUX
ARCH_CFLAGS := -std=c11 -I/usr/local/include \
|
Added infinity guards | @@ -304,7 +304,10 @@ SurviveVelocity *survive_optimizer_get_velocity(survive_optimizer *ctx) {
static inline FLT fix_infinity(FLT d) {
// assert(isfinite(*d));
- assert(!isnan(d));
+ // assert(!isnan(d));
+ if (isnan(d)) {
+ return 0;
+ }
if (!isfinite(d)) {
return linmath_enforce_range(d, -1e3, 1e3);
}
@@ -471,7 +474,... |
Remove redundant environment variable for max connections
The function `make_cluster` included a default value for
`DEFAULT_QD_MAX_CONNECT` but this value is set in the gpdemo Makefile
since commit | @@ -55,9 +55,6 @@ function install_and_configure_gpdb() {
function make_cluster() {
source /usr/local/greenplum-db-devel/greenplum_path.sh
export BLDWRAP_POSTGRES_CONF_ADDONS=${BLDWRAP_POSTGRES_CONF_ADDONS}
- # Currently, the max_concurrency tests in src/test/isolation2
- # require max_connections of at least 129.
- ex... |
remove module word from robus.h | ******************************************************************************/
void Robus_Init(memory_stats_t *memory_stats);
void Robus_Loop(void);
-vm_t *Robus_ModuleCreate(uint8_t type);
-void Robus_ModulesClear(void);
+vm_t *Robus_ContainerCreate(uint8_t type);
+void Robus_ContainersClear(void);
uint8_t Robus_Send... |
Tested some command sending flavors | @@ -552,7 +552,14 @@ Simple RESP formatting
*/
static FIOBJ fiobj2resp_tmp(FIOBJ obj1, FIOBJ obj2) {
FIOBJ dest = fiobj_str_tmp();
- if (FIOBJ_TYPE(obj2) == FIOBJ_T_ARRAY) {
+ if (!obj2 || FIOBJ_IS_NULL(obj2)) {
+ fio_cstr_s s = fiobj_obj2cstr(obj1);
+ fiobj_str_write(dest, "*1\r\n$", 5);
+ fiobj_str_join(dest, fiobj_n... |
Decouple cache attached state from metadata refcount state | @@ -47,7 +47,7 @@ bool ocf_cache_is_running(ocf_cache_t cache)
bool ocf_cache_is_device_attached(ocf_cache_t cache)
{
OCF_CHECK_NULL(cache);
- return !ocf_refcnt_frozen(&cache->refcnt.metadata);
+ return !!cache->device;
}
ocf_cache_mode_t ocf_cache_get_mode(ocf_cache_t cache)
|
Improve extern call with {} parts | @@ -730,7 +730,6 @@ def gen_methodcall(mcall):
funname = f'{m.path.name}{type_args_postfix}'
argtypes = ", ".join(mcall.arguments.filter(lambda arg: not arg.is_vec()).map('expression').map(format_with_ref).filter(lambda t: t is not None) + ['SHORT_STDPARAMS'])
-
funname = funname_map[funname] if funname in funname_map ... |
procmeminfo:support memdump can show specific task for tlsf | #include <nuttx/fs/procfs.h>
#include <nuttx/mutex.h>
#include <nuttx/mm/mm.h>
+#include <nuttx/sched.h>
#include <nuttx/mm/mempool.h>
#include "tlsf/tlsf.h"
@@ -144,9 +145,15 @@ struct memdump_backtrace_s
static void memdump_backtrace(FAR struct mm_heap_s *heap,
FAR struct memdump_backtrace_s *dump)
{
+# if CONFIG_MM_... |
BugID:18874122: min tx data rate DR_0 | /*!
* Minimal datarate that can be used by the node
*/
-#define CN470_TX_MIN_DATARATE DR_2
+#define CN470_TX_MIN_DATARATE DR_0
/*!
* Maximal datarate that can be used by the node
|
[core] perf: buffer.c internal inlines
buffer_copy_string_len() and buffer_append_string_len() now
internally inline what buffer_commit() does, but do not repeat the
sanity checks already enforced by buffer_string_prepare_copy() and
buffer_string_prepare_append(), respectively
buffer_string_set_length() short-circuit c... | @@ -145,9 +145,11 @@ char* buffer_string_prepare_append(buffer *b, size_t size) {
void buffer_string_set_length(buffer *b, size_t len) {
force_assert(NULL != b);
- force_assert(len + 1 > len);
+ if (len >= b->size) {
+ force_assert(len + 1 > len);
buffer_realloc(b, len + 1);
+ }
b->used = len + 1;
b->ptr[len] = '\0';
@... |
Swig: Add properties to Morphism. | tinyspline::Vec3,
binormal,
binormal);
+%attributeval(tinyspline::Morphism,
+ tinyspline::BSpline,
+ origin,
+ origin);
+%attributeval(tinyspline::Morphism,
+ tinyspline::BSpline,
+ target,
+ target);
+%attribute(tinyspline::Morphism,
+ tinyspline::real,
+ epsilon,
+ epsilon);
%attribute(tinyspline::Vec2,
tinyspline::r... |
s5j/serial: fix invalid clock configuration on UART4
UARTDBG has incorrect PCLK and EXTCLK configurations. This may cause
system hang when we access UARTDBG if it is not set as a default
console. | @@ -971,8 +971,8 @@ static struct up_dev_s g_uart4priv = {
.stopbits2 = CONFIG_UART4_2STOP,
.rxd = GPIO_UART4_RXD,
.txd = GPIO_UART4_TXD,
- .pclk = CLK_GATE_UART0_PCLK,
- .extclk = CLK_GATE_UART0_EXTCLK,
+ .pclk = CLK_GATE_UARTDBG_PCLK,
+ .extclk = CLK_GATE_UARTDBG_EXTCLK,
};
static uart_dev_t g_uart4port = {
|
apps/examples/le_tc/kernel/tc_mqueue.c : Add missing return statement
In tc_mqueue_mq_timedsend_timedreceive_failurechecks, return statement is missed.
So duplicated mq_close prints the below ERRORs.
mq_close_group: ERROR: mqdes(xxxxx) is not in this thread's group. | @@ -846,7 +846,11 @@ static void tc_mqueue_mq_timedsend_timedreceive_failurechecks(void)
TC_ASSERT_GEQ_CLEANUP("timedreceive_test", mq_close(g_timedrecv_mqfd), 0, goto cleanup1);
TC_ASSERT_GEQ("timedsend_test", mq_close(g_timedsend_mqfd), 0);
+ /* Unlink all mqueues related to this tc. */
+ mq_unlink("t_mqueuer");
+ mq... |
Only scale test counts if repeats > 1 | @@ -462,9 +462,9 @@ def main():
# The fast and fastest presets are now sufficiently fast that
# the results are noisy without more repeats
testRepeats = args.testRepeats
- if quality == "fast":
+ if quality == "fast" and testRepeats > 1:
testRepeats *= 2
- elif quality == "fastest":
+ elif quality == "fastest" and test... |
ec: Only build ecp_nistp521-ppc64.s if enable-ec_nistp_64_gcc_128 | @@ -30,9 +30,13 @@ IF[{- !$disabled{asm} -}]
$ECASM_parisc20_64=
$ECASM_ppc32=
- $ECASM_ppc64=ecp_nistz256.c ecp_nistz256-ppc64.s ecp_nistp521-ppc64.s x25519-ppc64.s
- $ECDEF_ppc64=ECP_NISTZ256_ASM ECP_NISTP521_ASM X25519_ASM
+ $ECASM_ppc64=ecp_nistz256.c ecp_nistz256-ppc64.s x25519-ppc64.s
+ $ECDEF_ppc64=ECP_NISTZ256_... |
sosreport: update instance structure fields | @@ -203,8 +203,8 @@ int flb_sosreport(struct flb_config *config)
print_host(&ins_in->host);
}
- if (ins_in->mp_buf_limit > 0) {
- flb_utils_bytes_to_human_readable_size(ins_in->mp_buf_limit,
+ if (ins_in->mem_buf_limit > 0) {
+ flb_utils_bytes_to_human_readable_size(ins_in->mem_buf_limit,
tmp, sizeof(tmp) - 1);
printf(... |
sds: fix missing va_end(x) on flb_sds_printf() call when an increase is required | @@ -107,11 +107,7 @@ flb_sds_t flb_sds_increase(flb_sds_t s, size_t len)
flb_errno();
return NULL;
}
-
- if (tmp != head) {
- head = tmp;
- }
-
+ head = (struct flb_sds *) tmp;
head->alloc += len;
out = head->buf;
@@ -308,34 +304,35 @@ flb_sds_t flb_sds_printf(flb_sds_t *sds, const char *fmt, ...)
}
va_start(ap, fmt);
... |
cleanup: add prototype incorrectly removed
CL:1900058 accidentally removed this prototype that was initially added
in CL:1891255.
BRANCH=none
TEST=builds | @@ -2329,6 +2329,17 @@ void pd_notify_dp_alt_mode_entry(void);
enum pd_cc_states pd_get_cc_state(
enum tcpc_cc_voltage_status cc1, enum tcpc_cc_voltage_status cc2);
+/*
+ * Optional, get the board-specific SRC DTS polarity.
+ *
+ * This function is used for SRC DTS mode. The polarity is predetermined as a
+ * board-spe... |
xeonphi: make the interphi channel to be large page sized | #ifndef XEON_PHI_INTERPHI_H
#define XEON_PHI_INTERPHI_H
-#define XEON_PHI_INTERPHI_CHANNEL_SIZE BASE_PAGE_SIZE
+#define XEON_PHI_INTERPHI_CHANNEL_SIZE (LARGE_PAGE_SIZE / 2)
#define XEON_PHI_INTERPHI_FRAME_SIZE (2* XEON_PHI_INTERPHI_CHANNEL_SIZE)
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.