message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
fix case in compiler name check | @@ -155,7 +155,7 @@ if (DEFINED TARGET)
else()
set (KERNEL_DEFINITIONS "${KERNEL_DEFINITIONS} -march=skylake-avx512")
endif()
- elseif (${CMAKE_C_COMPILER_ID} STREQUAL "CLANG" OR ${CMAKE_C_COMPILER_ID} STREQUAL "AppleClang")
+ elseif (${CMAKE_C_COMPILER_ID} STREQUAL "Clang" OR ${CMAKE_C_COMPILER_ID} STREQUAL "AppleClan... |
Align all DCT test buffers to 32 bytes
Now that most AVX2 DCTs use MOVDQA instead of MOVDQU, also adapt the
tests to that.. | @@ -146,7 +146,7 @@ TEST dct(void)
if (strcmp(test_env.strategy->type, "fast_forward_dst_4x4") == 0) index = 0;
int16_t *buf = dct_bufs[index];
- int16_t test_result[LCU_WIDTH*LCU_WIDTH] = { 0 };
+ ALIGNED(32) int16_t test_result[LCU_WIDTH*LCU_WIDTH] = { 0 };
test_env.tested_func(KVZ_BIT_DEPTH, buf, test_result);
@@ -1... |
libcupsfilters: In universal() use Ghostscript for PDF-to-Raster
As Ghostscript is more optimized for print output we use now the
Ghostscript-based ghostscript() filter function to convert PDF into
PWG/CUPS Raster and not the Poppler-based pdftoraster() any more.
Later on we will add conditional compiling to use Popple... | @@ -113,7 +113,7 @@ universal(int inputfd, /* I - File descriptor input stream */
filter = malloc(sizeof(filter_filter_in_chain_t));
filter->function = ghostscript;
filter->parameters = outformat;
- filter->name = "gstopdf";
+ filter->name = "ghostscript";
cupsArrayAdd(filter_chain, filter);
if (log) log(ld, FILTER_LOG... |
[catboost] better exception message and better debug experience for snapshot recovery;
[catboost] better exception message and better debug experience for snapshot recovery;
([arc::mergeid] 68481e81-c55b4e65-f4a39c46-2b6b470d) | #include <library/digest/crc32c/crc32c.h>
#include <library/digest/md5/md5.h>
-#include <util/generic/guid.h>
#include <util/folder/path.h>
-#include <util/system/fs.h>
+#include <util/generic/guid.h>
#include <util/stream/file.h>
+#include <util/stream/labeled.h>
+#include <util/system/fs.h>
TLearnContext::~TLearnCont... |
u3: fixes sample deconstruction error handling in scrypt jets | u3_noun p, pl, s, sl, n, r, z, d;
u3_noun q;
- u3x_quil(u3r_at(u3x_sam, cor), &p, &pl, &s, &sl, &q);
+ u3x_quil(u3x_at(u3x_sam, cor), &p, &pl, &s, &sl, &q);
u3x_qual(q, &n, &r, &z, &d);
if ( !(_(u3a_is_atom(p)) && _(u3a_is_atom(pl)) &&
u3_noun p, s, n, r, z, d;
u3_noun q;
- u3x_quil(u3r_at(u3x_sam, cor), &p, &s, &n, &r... |
Fixed CMSIS version history in doxygen documentation. | @@ -204,7 +204,6 @@ In addition, each CMSIS component has its own release history:
- CMSIS-Zone 0.0.1 (unchanged)
</td>
</tr>
- <tr>
<tr>
<td>5.1.1</td>
<td>
|
add memory barrier to cid table loads | @@ -316,6 +316,7 @@ PCID_TABLE_ENTRY CidLookupEntry(
// N.B. Capture the volatile table pointer. This is a lock-free lookup.
//
table = Table->Table;
+ MemoryBarrier();
switch (table & CID_TABLE_LEVEL_MASK)
{
@@ -433,6 +434,8 @@ PCID_TABLE_ENTRY CidExpandTableFor(
//
table = Table->Table;
+ MemoryBarrier();
+
level = (... |
fixing a typo in comment | @@ -1015,7 +1015,8 @@ int MBEDTLS_DEPRECATED mbedtls_x509write_crt_set_serial(
* \param ctx CRT context to use
* \param serial A raw array of bytes containing the serial number in big
* endian format
- * \param serial_len Length of the previous input buffer buffer
+ * \param serial_len Length of valid bytes (expressed ... |
Fix segfault on empty file recorded
Write the file trailer only if the file header have been written, to
avoid a segfault in libav.
Fixes <https://github.com/Genymobile/scrcpy/issues/918>. | @@ -174,11 +174,16 @@ recorder_open(struct recorder *recorder, const AVCodec *input_codec) {
void
recorder_close(struct recorder *recorder) {
+ if (recorder->header_written) {
int ret = av_write_trailer(recorder->ctx);
if (ret < 0) {
LOGE("Failed to write trailer to %s", recorder->filename);
recorder->failed = true;
}
... |
OcAppleKernelLib: Fix assertion when patching AppleImage4 | @@ -1840,7 +1840,14 @@ PatchForceSecureBootScheme (
UINT8 *HybridAp;
UINT32 Diff;
- ASSERT (Patcher != NULL);
+ if (!OcMatchDarwinVersion (KernelVersion, KERNEL_VERSION_BIG_SUR_MIN, 0)) {
+ DEBUG ((DEBUG_INFO, "OCAK: Skipping sb scheme on %u\n", KernelVersion));
+ return EFI_SUCCESS;
+ }
+
+ if (Patcher == NULL) {
+ re... |
Imports now add a 'src' to the package path (fixes
Prior to this, `import` would search the toplevel directory of a
package to be loaded. This change is being made so that toplevel
directories of packages aren't cluttered with source files. | @@ -685,8 +685,10 @@ static void link_module_to(lily_module_entry *target, lily_module_entry *to_link
#define FIRST_PATH "%s" LILY_PATH_SLASH "%s.lily"
#define SECOND_PATH "%s" LILY_PATH_SLASH "%s." LILY_LIB_SUFFIX
-#define THIRD_PATH "%s" PACKAGE_DIR "%s" LILY_PATH_SLASH "%s.lily"
-#define FOURTH_PATH "%s" PACKAGE_DIR... |
emulator: Add comment about GUI debuggers
[ci skip] | @@ -82,6 +82,13 @@ Other notes:
execution point.
- The debugger does not work with virtual memory enabled.
+It should be possible to use any GUI debugger that works with the GDB/MI
+protocol, such as [Eclipse](https://eclipse.org/) or Emacs using the
+lldb-mi executable that is installed with the toolchain, but I have ... |
Short-time ban for unauthorized miners to prevent potential validateaddress RPC DDos | @@ -122,10 +122,23 @@ namespace MiningCore.Blockchain.Bitcoin
// respond
client.Respond(context.IsAuthorized, request.Id);
+ if (context.IsAuthorized)
+ {
// log association
logger.Info(() => $"[{LogCat}] [{client.ConnectionId}] = {workerValue} = {client.RemoteEndpoint.Address}");
}
+ else
+ {
+ // issue short-time ban... |
Fix
Fallback to focused_statusline instead of statusline on focused output | @@ -269,7 +269,9 @@ static uint32_t render_status_block(cairo_t *cairo,
}
double text_y = height / 2.0 - text_height / 2.0;
cairo_move_to(cairo, offset, (int)floor(text_y));
- uint32_t color = block->color_set ? block->color : config->colors.statusline;
+ uint32_t color = output->focused ?
+ config->colors.focused_stat... |
py/objset: Remove unneeded check from set_equal.
set_equal is called only from set_binary_op, and this guarantees that the
second arg to set_equal is always a set or frozenset. So there is no need
to do a further check. | @@ -351,11 +351,9 @@ STATIC mp_obj_t set_issuperset_proper(mp_obj_t self_in, mp_obj_t other_in) {
}
STATIC mp_obj_t set_equal(mp_obj_t self_in, mp_obj_t other_in) {
+ assert(is_set_or_frozenset(other_in));
check_set_or_frozenset(self_in);
mp_obj_set_t *self = MP_OBJ_TO_PTR(self_in);
- if (!is_set_or_frozenset(other_in)... |
VERSION bump to version 0.12.49 | @@ -34,7 +34,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0")
# set version
set(LIBNETCONF2_MAJOR_VERSION 0)
set(LIBNETCONF2_MINOR_VERSION 12)
-set(LIBNETCONF2_MICRO_VERSION 48)
+set(LIBNETCONF2_MICRO_VERSION 49)
set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION})
set(L... |
Add MAX78000fthr in test/info.py | @@ -172,6 +172,7 @@ SUPPORTED_CONFIGURATIONS = [
( 0x0418, VENDOR_TO_FAMILY('Stub', 1), 'max32625_max32620fthr_if', 'max32625_bl', 'MAX32620' ),
( 0x0421, VENDOR_TO_FAMILY('Stub', 1), 'max32625_max32660evsys_if', 'max32625_bl', 'MAX32660' ),
( 0x0422, VENDOR_TO_FAMILY('Stub', 1), 'max32625_max32666fthr_if', 'max32625_b... |
Issue Color console support for windows 10
Use SetConsoleMode winapi function to enable ANSI
escape codes if we can. | #include <janet.h>
#include "line.h"
+#ifdef _WIN32
+#include <windows.h>
+#ifndef ENABLE_VIRTUAL_TERMINAL_PROCESSING
+#define ENABLE_VIRTUAL_TERMINAL_PROCESSING 0x0004
+#endif
+#endif
+
extern const unsigned char *janet_gen_init;
extern int32_t janet_gen_init_size;
@@ -31,6 +38,15 @@ int main(int argc, char **argv) {
... |
ipc bug fixes | #include <kernel/util/shmem/shmem.h>
#include <kernel/util/multitasking/tasks/task.h>
+#define PAGE_MASK 0xFFFFF000
+
static void expand_ipc_region(task_t* dest, uint32_t size) {
//is there any ipc region yet?
if (!dest->ipc_state) {
+ printf("initial ipc map pid %d\n", dest->id);
dest->ipc_state = kmalloc(sizeof(ipc_s... |
Abort if pthread_create fails: CID | @@ -248,7 +248,10 @@ static void reader_main(h2o_memcached_context_t *ctx)
/* connect to server and start the writer thread */
connect_to_server(conn.ctx, &conn.yrmcds);
- pthread_create(&writer_thread, NULL, writer_main, &conn);
+ if (pthread_create(&writer_thread, NULL, writer_main, &conn) != 0) {
+ perror("pthread_c... |
add vcs_info to fat object more carefully | @@ -1186,7 +1186,6 @@ LINK_BOOSTTEST_CMD=
BOOST_TEST_TYPE_STRING=
VCS_C_OBJ_WRAP=
when ($BOOSTTEST_IS_FAT_OBJECT) {
- VCS_C_OBJ_WRAP=$VCS_C_OBJ
LINK_BOOSTTEST_CMD=$GENERATE_VCS_C_INFO_NODEP && $LINK_FAT_OBJECT --with-own-obj --with-global-srcs
BOOST_TEST_TYPE_STRING=no.test
}
@@ -1206,6 +1205,7 @@ module BOOSTTEST: _BA... |
Copy files with concrete path instead of wildcard.
CMake does not support wildcards in copy command. | @@ -804,7 +804,7 @@ if(${TINYSPLINE_BINDING_REQUESTED})
COMMAND
${CMAKE_COMMAND}
-E copy
- "${TINYSPLINE_PHP_SOURCE_DIRECTORY}/*.php"
+ "${TINYSPLINE_PHP_SOURCE_DIRECTORY}/${TINYSPLINE_PHP_CMAKE_TARGET}.php"
"${TINYSPLINE_PHP_INTERFACE_FILE}"
)
endif()
@@ -842,7 +842,7 @@ if(${TINYSPLINE_BINDING_REQUESTED})
POST_BUILD
... |
VERSION bump to version 2.0.79 | @@ -58,7 +58,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 78)
+set(LIBYANG_MICRO_VERSION 79)
set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_MICRO_VERSION})
... |
elf loading - mmap enough space (fix influxd crash) | @@ -131,6 +131,7 @@ map_segment(char *buf, Elf64_Phdr *phead)
int pgsz = sysconf(_SC_PAGESIZE);
void *addr;
char *laddr;
+ unsigned long lsize;
if ((phead->p_vaddr == 0) || (phead->p_memsz <= 0) || (phead->p_flags == 0)) return -1;
@@ -140,11 +141,13 @@ map_segment(char *buf, Elf64_Phdr *phead)
prot |= (phead->p_flags ... |
Make benchmark suffixes "/gcc" not "_gcc". | @@ -53,10 +53,10 @@ void bench_finish(uint64_t reps, uint64_t n_bytes) {
}
uint64_t kb_per_s = n_bytes * 1000000 / nanos;
if (bench_warm_up) {
- printf("# (warm up) %s_%s\t%8" PRIu64 ".%06" PRIu64 " seconds\n",
+ printf("# (warm up) %s/%s\t%8" PRIu64 ".%06" PRIu64 " seconds\n",
proc_funcname, cc, nanos / 1000000000, (n... |
pyocf: more options to standby load | @@ -561,11 +561,11 @@ class Cache:
c.results["error"],
)
- def standby_load(self, device):
+ def standby_load(self, device, perform_test=True):
self.device = device
self.device_name = device.uuid
- device_config = Cache.generate_device_config(device)
+ device_config = Cache.generate_device_config(device, perform_test=p... |
docs/fingerprint: Add note about generating keys
BRANCH=none
TEST=view in gitile | @@ -187,6 +187,13 @@ devices.
Switching keys is only possible when the `RO` firmware is not write protected,
since the public portion of the keypair is stored in the `RO` firmware.
+### Generate Key
+
+For testing, you can generate a new key by using the following openssl command:
+```bash
+openssl genrsa -3 -out board... |
Check for L<foo|foo> | @@ -160,6 +160,8 @@ sub check()
if $contents =~ /=head1 NAME.*\.\n.*=head1 SYNOPSIS/ms;
print "$id POD markup in NAME section\n"
if $contents =~ /=head1 NAME.*[<>].*=head1 SYNOPSIS/ms;
+ print "$id Duplicate $1 in L<>\n"
+ if $contents =~ /L<([^>]*)\|([^>]*)>/ && $1 eq $2;
# Look for multiple consecutive openssl #inclu... |
YAML Smith: Add Doxygen comments for new functions | @@ -82,6 +82,13 @@ CppKeySet leaves (CppKeySet const & keys)
return leaves;
}
+/**
+ * @brief This function counts the levels of a certain key name.
+ *
+ * @param key This parameter stores the key for which this function retrieves the number of parts.
+ *
+ * @return The number of parts of `key`
+ */
size_t countKeyLe... |
OcCpuLib: Print MicrocodeRevision in the log | @@ -1415,14 +1415,15 @@ OcCpuScanProcessor (
DEBUG ((
DEBUG_INFO,
- "OCCPU: Signature %0X Stepping %0X Model %0X Family %0X Type %0X ExtModel %0X ExtFamily %0X\n",
+ "OCCPU: Signature %0X Stepping %0X Model %0X Family %0X Type %0X ExtModel %0X ExtFamily %0X uCode %0X\n",
Cpu->Signature,
Cpu->Stepping,
Cpu->Model,
Cpu->... |
lowered CPU utilization | @@ -392,6 +392,7 @@ bool Panda::can_rx_q_push(HANDLE kill_event, DWORD timeoutms) {
// Pause if there is not a slot available in the queue
if (n_ptr == this->r_ptr) {
printf("RX queue full!\n");
+ Sleep(1);
continue;
}
@@ -455,6 +456,7 @@ void Panda::can_rx_q_pop(PANDA_CAN_MSG msg_out[], int &count) {
// No data left i... |
now we are on mac_ap +-8 for some weak candidates | @@ -656,6 +656,10 @@ keywritemac(mac -5);
keywritemac(mac +5);
keywritemac(mac -6);
keywritemac(mac +6);
+keywritemac(mac -7);
+keywritemac(mac +7);
+keywritemac(mac -8);
+keywritemac(mac +8);
keywritemacwps(mac);
keywritemacwps(mac -1);
keywritemacwps(mac +1);
@@ -669,6 +673,10 @@ keywritemacwps(mac -5);
keywritemacwp... |
fs/smartfs : Fix logic of writing #of bytes in chainheader
If all exist data in user buffer copied to sf->buffer, sometimes it writes wrong value.
In this case, #of written bytes was empty but calculates #of written bytes based on
sf->byteswritten, but it writes wrongly. | @@ -685,14 +685,19 @@ int smartfs_sync_internal(struct smartfs_mountpt_s *fs, struct smartfs_ofile_s *
if (used_value == 0) {
set_used_byte_count((uint8_t *)header->used, sf->byteswritten);
#else
- if (header->used[0] == CONFIG_SMARTFS_ERASEDSTATE) {
- *((uint16_t *)header->used) = sf->byteswritten;
+ if (SMARTFS_USED(... |
fix special characters performance bug | @@ -311,6 +311,7 @@ drw_text(Drw *drw, int x, int y, unsigned int w, unsigned int h, unsigned int lp
nextfont = NULL;
while (*text) {
utf8charlen = utf8decode(text, &utf8codepoint, UTF_SIZ);
+ while (!charexists) {
for (curfont = drw->fonts; curfont; curfont = curfont->next) {
charexists = charexists || XftCharExists(d... |
Have jsonfindptrs not flush stdout after each line
On a mid-range x86_64 laptop, processing the 181 MiB citylots.json file
from github.com/zemirco/sf-city-lots-json:
$ time gen/bin/example-jsonfindptrs < citylots.json > /dev/null
Before this commit:
real 0m21.104s
After:
real 0m9.774s
Ratio: 2.16x | @@ -350,7 +350,7 @@ escape_needed:
std::string //
print_json_pointers(JsonThing& jt, std::string s, uint32_t depth) {
- std::cout << s << std::endl;
+ std::cout << s << '\n';
if (depth++ >= g_flags.max_output_depth) {
return "";
}
@@ -534,7 +534,7 @@ compute_exit_code(std::string status_msg) {
if (status_msg.empty()) {... |
Enhance clamping. | @@ -1940,8 +1940,8 @@ ts_bspline_tension(const tsBSpline *spline,
TS_CALL_ROE(err, ts_bspline_copy(spline, out, status))
ctrlp = ts_int_bspline_access_ctrlp(out);
- if (beta < 0.f) beta = 0;
- if (beta > 1.f) beta = 1;
+ if (beta < (tsReal) 0.0) beta = (tsReal) 0.0;
+ if (beta > (tsReal) 1.0) beta = (tsReal) 1.0;
s = 1... |
Update native_ota_example.c
* assert(update_partition) should be before trying to use update_partition in ESP_LOGI().
* if we show detailed description about the error ESP_ERR_OTA_VALIDATE_FAILED, why show it again using esp_err_to_name() ?
Merges | @@ -132,9 +132,9 @@ static void ota_example_task(void *pvParameter)
esp_http_client_fetch_headers(client);
update_partition = esp_ota_get_next_update_partition(NULL);
+ assert(update_partition != NULL);
ESP_LOGI(TAG, "Writing to partition subtype %d at offset 0x%x",
update_partition->subtype, update_partition->address)... |
Restored previous kernel headers install path | @@ -45,7 +45,7 @@ EXTERNAL_HEADERS_DIR := ../include
EXTERNAL_HEADERS := $(shell find $(EXTERNAL_HEADERS_DIR) -name \*.h)
SYSROOT := $(shell $(CC) $(CFLAGS) -print-sysroot)
-HEADERS_INSTALL_DIR := $(SYSROOT)/usr/local/include/phoenix
+HEADERS_INSTALL_DIR := $(SYSROOT)/usr/include/phoenix
ifeq (/,$(SYSROOT))
$(error Sys... |
Add note to changelog that libqrencode is now compiled in | @@ -30,6 +30,7 @@ oidc-agent (4.2.0-1) UNRELEASED; urgency=medium
* liboidc-agent now suggestst oidc-agent-cli (before: recommend oidc-agent)
* Add special handling for buggy libcjson in ubuntu-focal)
* Add stricter dependencies
+ * Add libqrencode4 as a dependency, since it's compiled in by upstream now
* Closes: #980... |
set patch fuzz factor to standard value | @@ -52,6 +52,8 @@ Conflicts: environment-modules
# 8/28/14 karl.w.schulz@intel.com - include patches to remove consulting notice and setting of TACC env variables
Patch1: lmod.consulting.patch
Patch2: lmod.site.patch
+# 4/25/17 karl.w.schulz@intel.com - upping patch fuzz factor for newer lmod
+%global _default_patch_fu... |
Automation-only change to NRF53: start logging before downloading so as not to miss the initial log output. | @@ -305,6 +305,15 @@ def run(instance, sdk, connection, connection_lock, platform_lock, clean, define
CONNECTION_LOCK_GUARD_TIME_SECONDS,
printer, prompt) as locked_connection:
if locked_connection:
+ # On the NRF53 platform we capture debug
+ # on the COM port. This output begins the moment
+ # the target is reset aft... |
hv: sched: remove do_switch
Clean up do_swtich and do switch related things in schedule().
Acked-by: Eddie Dong | @@ -145,20 +145,6 @@ bool need_reschedule(uint16_t pcpu_id)
return bitmap_test(NEED_RESCHEDULE, &ctl->flags);
}
-static void do_switch(struct thread_object *prev, struct thread_object *next)
-{
- if ((prev != NULL) && (prev->switch_out != NULL)) {
- prev->switch_out(prev);
- }
-
- /* update current object */
- get_cpu_... |
zephyr: Fix duplicated definition warning
Fix a duplicated definition warning in zephyr/test/system.
BRANCH=none
TEST=zmake testall | LOG_MODULE_REGISTER(test);
-#define BBRAM_OFF(name) DT_PROP(DT_PATH(named_bbram_regions, name), offset)
-#define BBRAM_SIZE(name) DT_PROP(DT_PATH(named_bbram_regions, name), size)
+#define BBRAM_REGION_OFF(name) \
+ DT_PROP(DT_PATH(named_bbram_regions, name), offset)
+#define BBRAM_REGION_SIZE(name) \
+ DT_PROP(DT_PATH... |
fix(discord): interaction_data.values should be an array of strings | {"name":"resolved", "type":{"base":"struct discord_resolved_data", "dec":"*"}, "option":true, "comment":"converted users + roles + channels", "inject_if_not":null},
{"name":"options", "type":{"base":"struct discord_application_command_interaction_data_option", "dec":"ntl"}, "option":true, "comment":"the parameters for ... |
EVP: Don't shadow EVP_PKEY_CTX_new* error records
There are places that add an ERR_R_MALLOC_FAILURE record when any of
EVP_PKEY_CTX_new*() return NULL, which is 1) inaccurate, and 2)
shadows the more accurate error record generated when trying to create
the EVP_PKEY_CTX. | @@ -606,10 +606,8 @@ static EVP_PKEY *new_cmac_key_int(const unsigned char *priv, size_t len,
}
ctx = EVP_PKEY_CTX_new_from_name(libctx, "CMAC", propq);
- if (ctx == NULL) {
- EVPerr(0, ERR_R_MALLOC_FAILURE);
+ if (ctx == NULL)
goto err;
- }
if (!EVP_PKEY_key_fromdata_init(ctx)) {
EVPerr(0, EVP_R_KEY_SETUP_FAILED);
|
OcCompressionLib: Add license header. | -/*
- * Zlib (RFC1950 / RFC1951) compression for PuTTY.
- *
- * There will no doubt be criticism of my decision to reimplement
- * Zlib compression from scratch instead of using the existing zlib
- * code. People will cry `reinventing the wheel'; they'll claim
- * that the `fundamental basis of OSS' is code reuse; they... |
Improve continue message error checking | @@ -785,9 +785,14 @@ static BOOLEAN PhpShowContinueMessageProcesses(
for (i = 0; i < NumberOfProcesses; i++)
{
HANDLE processHandle;
- ULONG breakOnTermination;
+ ULONG breakOnTermination = 0;
- breakOnTermination = 0;
+ if (PhpIsDangerousProcess(Processes[i]->ProcessId))
+ {
+ critical = TRUE;
+ dangerous = TRUE;
+ br... |
osx: adding SSLImpl.cpp to the rhodes.pro | @@ -136,6 +136,8 @@ oldnames.lib wininet.lib Iphlpapi.lib Dbghelp.lib ws2_32.lib Crypt32.lib gdiplus
unix:!macx {
!contains(DEFINES, OS_SAILFISH) {
DESTDIR = $$PWD/../../../linux/bin/RhoSimulator
+ HEADERS += impl/SSLImpl.h
+ SOURCES += impl/SSLImpl.cpp
}
contains(DEFINES, OS_SAILFISH) {
#DESTDIR = $$PWD/../Build_Sailf... |
esp32/machine_adc: Add ADC.read_u16() method. | @@ -53,12 +53,15 @@ STATIC const madc_obj_t madc_obj[] = {
{{&machine_adc_type}, GPIO_NUM_35, ADC1_CHANNEL_7},
};
+STATIC uint8_t adc_bit_width;
+
STATIC mp_obj_t madc_make_new(const mp_obj_type_t *type, size_t n_args, size_t n_kw,
const mp_obj_t *args) {
static int initialized = 0;
if (!initialized) {
adc1_config_widt... |
cpeng: set default image name to u-boot.itb | @@ -50,7 +50,7 @@ class cpeng : public opae::afu_test::command
{
public:
cpeng()
- : filename_("kernel.itb")
+ : filename_("u-boot.itb")
, destination_offset_(0x2000000)
, timeout_usec_(default_timeout_usec.count())
, chunk_(pg_size)
|
Fix Lcache and property hashmap related buildoption tests
JerryScript-DCO-1.0-Signed-off-by: Robert Fancsik | @@ -148,7 +148,7 @@ JERRY_BUILDOPTIONS = [
Options('buildoption_test-no_jerry_libm',
['--jerry-libm=off', '--link-lib=m']),
Options('buildoption_test-no_lcache_prophashmap',
- ['--compile-flag=-DCONFIG_ECMA_LCACHE_DISABLE', '--compile-flag=-DCONFIG_ECMA_PROPERTY_HASHMAP_DISABLE']),
+ ['--compile-flag=-DJERRY_LCACHE=0',... |
tree schema BUGFIX look for extensions in submodules
Fixes | @@ -2067,8 +2067,9 @@ lysp_ext_find_definition(const struct ly_ctx *ctx, const struct lysp_ext_instanc
{
const char *tmp, *name, *prefix;
size_t pref_len, name_len;
- LY_ARRAY_COUNT_TYPE v;
+ LY_ARRAY_COUNT_TYPE u, v;
const struct lys_module *mod = NULL;
+ const struct lysp_submodule *submod;
assert(ext_def);
@@ -2099,... |
tplist: don't fail if no verbosity is supplied
Initialise the verbosity argument to 0, so that when no verbosity is
provided we don't fail with
$ tplist
kvmmmu:kvm_mmu_pagetable_walk
unorderable types: NoneType() > int() | @@ -26,7 +26,7 @@ parser.add_argument("-p", "--pid", type=int, default=None,
help="List USDT probes in the specified process")
parser.add_argument("-l", "--lib", default="",
help="List USDT probes in the specified library or executable")
-parser.add_argument("-v", dest="verbosity", action="count",
+parser.add_argument(... |
SOVERSION bump to version 2.26.5 | @@ -66,7 +66,7 @@ set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_
# set version of the library
set(LIBYANG_MAJOR_SOVERSION 2)
set(LIBYANG_MINOR_SOVERSION 26)
-set(LIBYANG_MICRO_SOVERSION 4)
+set(LIBYANG_MICRO_SOVERSION 5)
set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_M... |
update release notes for 0.11.2 | # Release 0.11.2
## Changes:
-* Implemented GPU-optimized NDCG, IDCG, and DCG metrics
+* Pure GPU implementation of NDCG metric
* Enabled LQ loss function
-* Sped up DCG on CPU by 15%
-* Added model_sum mode to command line interface
-* Added SHAP values benchmark
+* Fixed NDCG metric on CPU
+* Added `model_sum` mode t... |
Extract $BUILD_TOOLS_DIR
In the script to build without gradle, the build-tools full path is used
at several places. Use a separate variable for readability. | @@ -16,6 +16,7 @@ SCRCPY_VERSION_NAME=1.24
PLATFORM=${ANDROID_PLATFORM:-33}
BUILD_TOOLS=${ANDROID_BUILD_TOOLS:-33.0.0}
+BUILD_TOOLS_DIR="$ANDROID_HOME/build-tools/$BUILD_TOOLS"
BUILD_DIR="$(realpath ${BUILD_DIR:-build_manual})"
CLASSES_DIR="$BUILD_DIR/classes"
@@ -41,9 +42,8 @@ EOF
echo "Generating java from aidl..."
c... |
Sync up changelog. | @@ -8,6 +8,13 @@ Changes in v1.1b1
- Added Wi-Fi callbacks to support configuration over IPP-USB (Issue #45)
+Changes in v1.0.3
+-----------------
+
+- The Set-Printer-Attributes operation did not save changes to
+ "printer-contact-col".
+
+
Changes in v1.0.2
-----------------
|
Return exit code 0 after using openocd script
Shutdown after catching halt | @@ -65,7 +65,6 @@ proc jtag_init {} {
#set scriptDir [ getScriptDirectory ]
fusing_image_all
reset
- shutdown
}
proc s5j_set_ft2232_serial { arg1 } {
@@ -304,3 +303,11 @@ proc fusing_image_wlan {} {
load_image $WLAN_PATH 0x60304000
echo "Done"
}
+
+proc s5jt200_shutdown {} {
+ init
+ catch {halt}
+ echo "s5jt200_shutdo... |
Update README.md
Centering the title | -## **Ravencoin: A Peer to Peer Electronic System for the Creation and Transfer of Assets**
-
+<p align="center"><b><h1>
+Ravencoin: A Peer to Peer Electronic System for the Creation and Transfer of Assets
+</b></h1>
+</p>
<p align="center">
Bruce Fenton<br>
|
test/pkcs12_api_test.c: fix failure on MinGW
Use binary mode when opening a file.
Partially fixes | @@ -35,7 +35,7 @@ static PKCS12 *PKCS12_load(const char *fpath)
BIO *bio = NULL;
PKCS12 *p12 = NULL;
- bio = BIO_new_file(fpath, "r");
+ bio = BIO_new_file(fpath, "rb");
if (!TEST_ptr(bio))
goto err;
|
Use %VCToolsInstallDir% environment variable for correct local MSVC 2017 configuration
Pull-request for branch users/somov/ya_vctoolsinstalldir | @@ -1036,7 +1036,7 @@ class MSVCToolchainOptions(ToolchainOptions):
def __init__(self, build, detector):
super(MSVCToolchainOptions, self).__init__(build, detector)
- # C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC
+ # C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Tools\MSVC\14.14.26428
self... |
Travis: Add a MinGW cross compilation test | @@ -56,3 +56,20 @@ script:
- cmake .. ${EXTRA_CMAKE_OPTS}
- make VERBOSE=1
- ctest -V
+
+matrix:
+ include:
+ # Windows MinGW cross compile on Linux
+ - os: linux
+ dist: xenial
+ compiler: mingw
+ addons:
+ apt:
+ packages:
+ - ninja-build
+ - gcc-mingw-w64-x86-64
+ - g++-mingw-w64-x86-64
+ script:
+ - mkdir build && ... |
[mod_dirlisting] use fdevent_rename() wrapper | @@ -1571,7 +1571,6 @@ static int mkdir_recursive (char *dir, size_t off) {
}
-#include <stdio.h> /* rename() */
__attribute_noinline__
static void mod_dirlisting_cache_add (request_st * const r, handler_ctx * const hctx) {
#ifndef PATH_MAX
@@ -1594,7 +1593,7 @@ static void mod_dirlisting_cache_add (request_st * const r... |
armv7-a: set normal memory shareable in smp mode | #endif
#define MMU_L1_DATAFLAGS (PMD_TYPE_PTE | PMD_PTE_PXN | PMD_PTE_DOM(0))
+#ifndef CONFIG_SMP
# define MMU_L2_UDATAFLAGS (PTE_TYPE_SMALL | PTE_WRITE_BACK | PTE_AP_RW01)
# define MMU_L2_KDATAFLAGS (PTE_TYPE_SMALL | PTE_WRITE_BACK | PTE_AP_RW1)
# define MMU_L2_UALLOCFLAGS (PTE_TYPE_SMALL | PTE_WRITE_BACK | PTE_AP_RW0... |
Remove the cast from the definition of OPENSSL_VERSION_NUMBER
If a cast is included in the definition it cannot be used in preprocessor
expressions, e.g. "#if OPENSSL_VERSION_NUMBER > 0x10000000L"
[extended tests] | @@ -131,7 +131,7 @@ const char *OPENSSL_version_build_metadata(void);
# define _OPENSSL_VERSION_PRE_RELEASE 0xf
# endif
# define OPENSSL_VERSION_NUMBER \
- (long)( (OPENSSL_VERSION_MAJOR<<28) \
+ ( (OPENSSL_VERSION_MAJOR<<28) \
|(OPENSSL_VERSION_MINOR<<20) \
|(OPENSSL_VERSION_PATCH<<4) \
|_OPENSSL_VERSION_PRE_RELEASE )... |
Use StringValueCStr() to get null-terminated C-lang string
Because RSTRING_PTR() just return raw pointer in String object which might not have null-terminate in string.
It might cause a crash in magick_clone_string() | */
#define OBJ_TO_MAGICK_STRING(f, obj) \
if ((obj) != Qnil)\
- magick_clone_string(&f, RSTRING_PTR(obj));\
+ {\
+ VALUE str = rb_String(obj);\
+ magick_clone_string(&f, StringValueCStr(str));\
+ }\
else\
f = NULL;
|
Windows: Fix test failure (eccodes_t_grib_data_quality_checks) | @@ -26,6 +26,16 @@ int feenableexcept(int excepts);
grib_string_list grib_file_not_found;
+/* Windows always has a colon in pathnames e.g. C:\temp\file. So instead we use semi-colons as delimiter */
+/* in order to have multiple definitions directories */
+#ifdef ECCODES_ON_WINDOWS
+# define DEFS_PATH_DELIMITER_CHAR ';... |
external/include/libcxx: Backport max_align_t type from LLVM. max_align_t will be needed for tflite framework. | @@ -97,6 +97,13 @@ namespace std
#if __cplusplus >= 201103L
using nullptr_t = decltype(nullptr);
#endif
+#if defined(__CLANG_MAX_ALIGN_T_DEFINED) || defined(_GCC_MAX_ALIGN_T) || \
+ defined(__DEFINED_max_align_t) || defined(__NetBSD__)
+// Re-use the compiler's <stddef.h> max_align_t where possible.
+using ::max_align_... |
Improve windows error messages on write failures. | @@ -884,7 +884,7 @@ JanetListenerState *janet_listen(JanetStream *stream, JanetListener behavior, in
} while (status == -1 && errno == EINTR);
if (status == -1) {
janet_unlisten_impl(state);
- janet_panicf("failed to schedule event: %s", strerror(errno));
+ janet_panicv(janet_ev_lasterr());
}
return state;
}
@@ -903,7 ... |
cmake: print all flags | @@ -46,17 +46,28 @@ set(CMAKE_C_COMPILER_TARGET ${CMAKE_SYSTEM_PROCESSOR}-linux-gnu)
##############################################################################
# build config
##############################################################################
+check_c_compiler_flag("-Wno-address-of-packed-member"
+ compi... |
Better fix for GCC build | @@ -1306,12 +1306,16 @@ class GnuCompiler(Compiler):
"-fdebug-prefix-map=${ARCADIA_BUILD_ROOT}=/-B",
"-fdebug-prefix-map=${ARCADIA_ROOT}=/-S",
"-fdebug-prefix-map=$(TOOL_ROOT)=/-T",
- # "-Xclang", "-fdebug-compilation-dir", "-Xclang", "/tmp",
+ ]
+ c_debug_map_cl = c_debug_map + [
+ "-Xclang", "-fdebug-compilation-dir"... |
BugID:22393565: Remove hard coded AP infomation, and change to use netmgr connect cli for AP connection. | #define CONFIG_HTTP_CONTINUE_TEST 0
-#define WIFI_SSID "Yuemewifi-3766"
-#define WIFI_PASSWORD "aos12345"
-
enum {
HTTP_AUTH,
HTTP_OTA,
@@ -34,6 +31,7 @@ enum {
bool httpc_running = false;
int command = HTTP_INVALID;
httpc_connection_t settings;
+static bool _ip_got_finished = false;
#if 1
#define PRODUCT_KEY "a1cXH4Sg... |
tls: psa_pake: add a check on read size on both rounds | @@ -8231,6 +8231,9 @@ int mbedtls_psa_ecjpake_read_round_one(
}
}
+ if ( input_offset != len )
+ return PSA_ERROR_INVALID_ARGUMENT;
+
return( 0 );
}
@@ -8286,6 +8289,9 @@ int mbedtls_psa_ecjpake_read_round_two(
input_offset += length;
}
+ if ( input_offset != len )
+ return PSA_ERROR_INVALID_ARGUMENT;
+
return( 0 );
}
|
Note new iterate syntax | - Renamed `~+` to `~mod+`; added `~mod-`, `~sat+` and `~sat-`.
- Removed `&^`.
- Renamed `[N] T` and `[] T` types to `array[N] T` and `slice T`.
-- Renamed `iterate.N` to `iterate[N]`; added step argument.
+- Renamed `iterate.U` to `iterate (step:S, unroll:U)`.
- Renamed `buf1`, `reader1`, etc to `io_buffer`, `io_reade... |
OpenCanopy: Overlay pointer late to further reduce input lag | @@ -630,7 +630,7 @@ GuiRedrawObject (
}
VOID
-GuiRedrawPointer (
+GuiOverlayPointer (
IN OUT GUI_DRAWING_CONTEXT *DrawContext
)
{
@@ -742,11 +742,6 @@ GuiFlushScreen (
ASSERT (DrawContext != NULL);
ASSERT (DrawContext->Screen != NULL);
-
- if (mPointerContext != NULL) {
- GuiRedrawPointer (DrawContext);
- }
-
ASSERT (D... |
[mod_wstunnel] fix for frames larger than 64k (fixes
(thx rschmid)
x-ref:
"Wrong websocket frametype if frame is longer then UINT16_MAX" | @@ -1122,7 +1122,6 @@ static int send_rfc_6455(handler_ctx *hctx, mod_wstunnel_frame_type_t type, cons
len = 1+MOD_WEBSOCKET_FRAME_LEN16_CNT+1;
}
else {
- memset(mem, 0, sizeof(mem));
mem[1] = MOD_WEBSOCKET_FRAME_LEN63;
mem[2] = 0;
mem[3] = 0;
|
[io] vview.py, inertia : principal moments or full matrix | @@ -1704,7 +1704,15 @@ class VView(object):
# a dynamic instance
self.mass[instid] = instance.attrs['id']
if 'inertia' in instance.attrs:
- self.inertia[instid] = instance.attrs['inertia']
+ inertia = instance.attrs['inertia']
+ if len(inertia.shape) > 1 and inertia.shape[0] == inertia.shape[1] == 3:
+ self.inertia[ins... |
Update License to match other licenses | /*
- * licensed to the apache software foundation (asf) under one
- * or more contributor license agreements. see the notice file
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
- * reg... |
[chainmaker][#1140]the result judgment of the first stage of invoke | @@ -486,6 +486,12 @@ BOAT_RESULT BoatHlchainmakerContractInvoke(BoatHlchainmakerTx *tx_ptr, char* met
common__tx_response__free_unpacked(tx_response, NULL);
}
+ if (invoke_response->code != BOAT_SUCCESS)
+ {
+ BoatLog(BOAT_LOG_CRITICAL, "invoke without sync failed");
+ boat_throw(result, BoatHlchainmakerContractInvoke)... |
In C-only apps, std::cerr and friends can be uninitialized | @@ -41,7 +41,7 @@ static bool check_blacklisted() {
std::string proc_name = get_proc_name();
bool blacklisted = std::find(blacklist.begin(), blacklist.end(), proc_name) != blacklist.end();
#ifndef NDEBUG
- std::cerr << "MANGOHUD: process " << proc_name << " is blacklisted: " << blacklisted << std::endl;
+ fprintf(stder... |
Provide more information about this SRAM | @@ -35,7 +35,7 @@ menu "Onboard Peripheral Drivers"
default n
config BSP_USING_SRAM
- bool "Enable SRAM"
+ bool "Enable SRAM. Chip name is IS62WV51216, 1Mbytes static RAMs organized as 512K words by 16bits."
default n
endmenu
|
Fix regression in repl. | the repl in."
[&opt chunks onsignal env]
(default env (make-env))
+ (defn repl-wrap [x] (pp x) x)
(default chunks
(fn [buf p]
(getline
(run-context {:env env
:chunks chunks
- :expander (fn [x] (with-syms [g] (apply let [g x] [pp g] [g])))
+ :expander (fn [x] [repl-wrap x])
:on-status (or onsignal (make-onsignal env 1))... |
phb4: Do not set the PBCQ Tunnel BAR register when enabling capi mode.
The cxl driver will set the capi value, like other drivers already do. | @@ -3947,25 +3947,6 @@ static int64_t enable_capi_mode(struct phb4 *p, uint64_t pe_number,
((u64)CAPIMASK << 32) | PHB_CAPI_CMPM_ENABLE);
if (!(p->rev == PHB4_REV_NIMBUS_DD10)) {
- /*
- * PBCQ Tunnel Bar Register
- *
- * If set, for example by a driver that may already have
- * tweaked the tunnel bar, then we do not to... |
no-op in ames.c if no galaxy domain | @@ -194,7 +194,11 @@ _ames_czar(u3_pact* pac_u, c3_c* bos_c)
return;
}
- c3_assert( 0 != bos_c );
+ // if we don't have a galaxy domain, no-op
+ //
+ if ( 0 == bos_c ) {
+ return;
+ }
time_t now = time(0);
|
board/anahera/thermal.c: Format with clang-format
BRANCH=none
TEST=none | @@ -139,10 +139,8 @@ int fan_table_to_rpm(int fan, int *temp)
void board_override_fan_control(int fan, int *tmp)
{
- if (chipset_in_state(CHIPSET_STATE_ON |
- CHIPSET_STATE_ANY_SUSPEND)) {
+ if (chipset_in_state(CHIPSET_STATE_ON | CHIPSET_STATE_ANY_SUSPEND)) {
fan_set_rpm_mode(FAN_CH(fan), 1);
- fan_set_rpm_target(FAN_... |
BugID:17532980:refine camera log description. | @@ -74,7 +74,7 @@ void CameraDEMO_Init(uint16_t *buff, uint32_t size)
//printf("CameraDEMO_Main\n");
gc0329_power_onoff(1);
sensor_id = gc0329_ReadID();
- printf("sensor_id = 0x%x\n", sensor_id);
+ LOG("camera sensor_id = 0x%x\n", sensor_id);
//gc0329_power_onoff(0);
if(sensor_id == GC0329_ID){
CAMERA_Init(CAMERA_R640x... |
flash_ec: respect SERVOD_PORT
If the SERVOD_PORT variable is set, servod will use it as its default
port. This makes flash_ec also respect the variable.
TEST=SERVOD_PORT=9000 flash_ec --board=grunt
BRANCH=none | @@ -179,6 +179,8 @@ declare -A VALID_CHIP_COMBO
VALID_CHIP_COMBO["grunt.npcx_uut"]="ccd_cr50"
VALID_CHIP_COMBO["grunt.npcx_spi"]="servo"
+DEFAULT_PORT="${SERVOD_PORT:-9999}"
+
# Flags
DEFINE_string board "${DEFAULT_BOARD}" \
"The board to run debugger on."
@@ -190,7 +192,7 @@ DEFINE_integer timeout 600 \
"Timeout for f... |
Using SHUTDOWN only, as it is cleaner and more concise. Clear timers before starting them up again. | @@ -653,6 +653,7 @@ hal_timer_config(int timer_num, uint32_t freq_hz)
/* Stop the timer first */
hwtimer->TASKS_STOP = 1;
+ hwtimer->TASKS_CLEAR = 1;
/* Put the timer in timer mode using 32 bits. */
hwtimer->MODE = TIMER_MODE_MODE_Timer;
@@ -703,7 +704,6 @@ hal_timer_deinit(int timer_num)
} else {
hwtimer = (NRF_TIMER_... |
Hot reload for GB Studio compiler | @@ -7,7 +7,8 @@ import {
CMD_START,
CMD_COMPLETE,
CMD_STD_OUT,
- CMD_STD_ERR
+ CMD_STD_ERR,
+ CMD_CLEAR
} from "../actions/actionTypes";
import copy from "../lib/helpers/fsCopy";
import { denormalizeProject } from "../reducers/entitiesReducer";
@@ -107,7 +108,25 @@ export default store => next => async action => {
disp... |
proxy: fix re-assembly bug if \r missing
proxy does actually accept requests with "\n" and not "\r\n", so this
parser could've read past the end of the input buffer.
adding the end token to the parser would fix this better though. | @@ -988,8 +988,8 @@ void proxy_worker_reload(void *arg, LIBEVENT_THREAD *thr) {
pthread_mutex_unlock(&ctx->worker_lock);
}
-// FIXME: need to test how to recover from an actual error here. stuff gets
-// left on the stack?
+// FIXME (v2): need to test how to recover from an actual error here. error message
+// needs to... |
Try new methods before legacy ones
Use the legacy methods when the new ones do not exist. | @@ -14,11 +14,12 @@ public final class WindowManager {
try {
Class<?> cls = manager.getClass();
try {
- return (Integer) cls.getMethod("getRotation").invoke(manager);
- } catch (NoSuchMethodException e) {
// method changed since this commit:
// https://android.googlesource.com/platform/frameworks/base/+/8ee7285128c3843... |
Fix synthesis error
Altera's documentation for sld_virtual_jag had the parameter name
wrong.
[ci skip] | @@ -271,7 +271,7 @@ module de2_115_top(
`ifdef VENDOR_ALTERA
// Altera's virtual JTAG megafunction.
sld_virtual_jtag #(
- .SLD_IR_WIDTH(4)
+ .sld_ir_width(4)
)virtual_jtag(
.tdo(jtag.tdo),
.tck(virt_tck),
|
Clear buffer in PEM_write_bio | @@ -661,7 +661,7 @@ int PEM_write_bio(BIO *bp, const char *name, const char *header,
if (retval == 0)
PEMerr(PEM_F_PEM_WRITE_BIO, reason);
EVP_ENCODE_CTX_free(ctx);
- OPENSSL_free(buf);
+ OPENSSL_clear_free(buf, PEM_BUFSIZE * 8);
return retval;
}
|
Leaf: Convert array keys in `get` direction | @@ -407,11 +407,13 @@ int LeafDelegate::convertToDirectories (CppKeySet & keys)
* - Merge everything back together and convert directories to leaves
*/
- tie (arrayParents, notArrayParents) = splitArrayParentsOther (keys);
+ tie (arrayParents, ignore) = splitArrayParentsOther (keys);
tie (arrays, maps) = splitArrayOthe... |
libc: Support EINVAL result from DRM_IOCTL_GET_CAP | @@ -831,11 +831,16 @@ int ioctl(int fd, unsigned long request, void *arg) {
managarm::fs::SvrResponse<MemoryAllocator> resp(getAllocator());
resp.ParseFromArray(recv_resp->data, recv_resp->length);
+ if(resp.error() == managarm::fs::Errors::ILLEGAL_ARGUMENT) {
+ errno = EINVAL;
+ return -1;
+ }else{
__ensure(resp.error... |
Sort clauses of $fork type pretty-printing | ?^(p.sut yad [p.yad [%face p.sut q.yad]])
::
{$fork *}
- =+ yed=~(tap in p.sut)
+ =+ yed=(sort ~(tap in p.sut) aor)
=- [p [%bswt q]]
|- ^- {p/{p/(map type @) q/(map @ wine)} q/(list wine)}
?~ yed
|
OcBlitLib: Simplify fill function | @@ -108,10 +108,8 @@ BlitLibVideoFill (
UINTN IndexY;
UINTN Tmp;
UINT8 *Destination;
- UINT8 Uint8;
UINT32 Uint32;
UINT64 WideFill;
- BOOLEAN UseWideFill;
BOOLEAN LineBufferReady;
UINTN Offset;
UINTN WidthInBytes;
@@ -182,31 +180,11 @@ BlitLibVideoFill (
// If the size of the pixel data evenly divides the sizeof
// Wid... |
PR flow: Adding missing log file setup to snap_cloud_merge.tcl | @@ -143,6 +143,8 @@ if { $cloud_build_bitfile == "TRUE" } {
##
### writing bitstream
+ set step write_bitstream
+ set logfile $log_dir/${step}.log
set command "write_bitstream -force -file ./Images/$IMAGE_NAME"
puts [format "%-*s %-*s %-*s %-*s" $widthCol1 "" $widthCol2 "generating bitstreams" $widthCol3 "type: user im... |
URI: empty strings => NULL | @@ -2665,6 +2665,25 @@ parse_path:
++url;
result.target.data = (char *)url;
result.target.len = end - result.target.data;
+
+ /* set any empty values to NULL */
+ if (!result.scheme.len)
+ result.scheme.data = NULL;
+ if (!result.user.len)
+ result.user.data = NULL;
+ if (!result.password.len)
+ result.password.data = ... |
session: fix io_evt mq locking
Type: fix | @@ -495,14 +495,13 @@ app_send_io_evt_to_vpp (svm_msg_q_t * mq, u32 session_index, u8 evt_type,
else
{
svm_msg_q_lock (mq);
- while (svm_msg_q_ring_is_full (mq, SESSION_MQ_IO_EVT_RING))
+ while (svm_msg_q_ring_is_full (mq, SESSION_MQ_IO_EVT_RING)
+ || svm_msg_q_is_full (mq))
svm_msg_q_wait (mq);
msg = svm_msg_q_alloc_m... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.