message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
hsa: http proxy connected callback fixes
svm_fifo_init_ooo_lookup has been called by transport
Type: fix | @@ -486,9 +486,6 @@ active_open_connected_callback (u32 app_index, u32 opaque,
s->tx_fifo->refcnt++;
s->rx_fifo->refcnt++;
- svm_fifo_init_ooo_lookup (s->tx_fifo, 1 /* deq ooo */ );
- svm_fifo_init_ooo_lookup (s->rx_fifo, 0 /* enq ooo */ );
-
hash_set (pm->proxy_session_by_active_open_handle,
ps->vpp_active_open_handle... |
Add modulo and power hints | @@ -29,7 +29,7 @@ Whilst the Lua standard distribution includes a host stand-alone Lua interpreter
The ESP8266 was designed and is fabricated in China by [Espressif Systems](http://espressif.com/new-sdk-release/). Espressif have also developed and released a companion software development kit (SDK) to enable developers... |
azimuth: style nits | ::
:: contract addresses
++ contracts mainnet-contracts
- ++ local-contracts
- |%
- ++ ecliptic 0x56db.68f2.9203.ff44.a803.faa2.404a.44ec.bb7a.7480
- ++ azimuth 0x863d.9c2e.5c4c.1335.96cf.ac29.d552.55f0.d0f8.6381
- ++ delegated-sending 0xb71c.0b6c.ee1b.cae5.6dfe.95cd.9d3e.41dd.d7ea.fc43
- ++ linear-star-release 0x3c3.d... |
Release: Update script for new Markdown format | #!/bin/sh
-git diff origin/master -- doc/news/_preparation_next_release.md | egrep "^\+.+\*\(.+\)\*"
+git diff origin/master -- doc/news/_preparation_next_release.md | egrep "^\+.+_\(.+\)_"
if [ $? != "0" ]; then
linesChanged=$(git diff --numstat origin/master -- doc/news/_preparation_next_release.md | cut -f1)
if [ "$... |
Debug: Add assert on result of calls | @@ -160,7 +160,6 @@ static void init(grib_accessor* a, const long l, grib_arguments* c)
int n = 0;
self->vector = grib_arguments_get_name(grib_handle_of_accessor(a), c, n++);
-
va = (grib_accessor*)grib_find_accessor(grib_handle_of_accessor(a), self->vector);
v = (grib_accessor_abstract_long_vector*)va;
@@ -175,6 +174,... |
Adressing comments from the pull request | @@ -528,11 +528,12 @@ function Checker:check_stat(stat, is_toplevel)
if not is_toplevel then
type_error(var.loc, "module fields can only be set at the toplevel")
end
- local qvar = ast.Var.Name(var.loc, var.name)
- qvar._type = false -- will be set by the initializer
- qvar._def = checker.Def.Variable(qvar)
- qvar._exp... |
fix issue in check_standy_sync | @@ -767,7 +767,7 @@ class HawqStart:
conn.close()
for row in rows:
if row[0] != 'Synchronized':
- if row[1].find('Standby master too far behind') != -1:
+ if row[1] == 'Standby master too far behind':
return 3
return 2
else:
|
Display invalid project path message also on Windows | @@ -173,7 +173,7 @@ class Splash extends Component {
nameError: l10n("ERROR_PROJECT_ALREADY_EXISTS"),
creating: false,
});
- } else if (String(err.message).startsWith("ENOTDIR")) {
+ } else if (String(err.message).startsWith("ENOTDIR") || String(err.message).startsWith("EEXIST")) {
this.setState({
pathError: l10n("ERRO... |
s32k3xx:EDMA fix git count | @@ -1479,12 +1479,13 @@ unsigned int s32k3xx_dmach_getcount(DMACH_HANDLE *handle)
if ((regval16 & EDMA_TCD_CITER_ELINK) != 0)
{
- remaining = (regval16 & EDMA_TCD_CITER_MASK) >>
+ remaining = (regval16 & EDMA_TCD_CITER_MASK_ELINK) >>
EDMA_TCD_CITER_SHIFT;
}
else
{
- remaining = 1;
+ remaining = (regval16 & EDMA_TCD_CIT... |
[Linker] Model ConstantData separately from a label it might be annotated with | use alloc::{
borrow::ToOwned,
- rc::Rc,
string::{String, ToString},
vec::Vec,
};
use core::{cell::RefCell, fmt::Display};
-use crate::println;
use crate::{
- assembly_packer::Instruction,
+ assembly_packer::{next_atom_id, PotentialLabelTarget, PotentialLabelTargetId},
+ println,
+};
+use crate::{
+ assembly_parser::Bin... |
Make slice-profile gradient moment accessible from sim interface | @@ -85,6 +85,10 @@ int main_sim(int argc, char* argv[argc])
/* Voxel Specific Parameters */
OPTL_FLOAT(0, "off", &(data.voxel.w), "float", "Off-Resonance [rad/s]"),
+
+ /* Gradient Specific Parameters */
+ OPTL_FLOAT(0, "mom-sl", &(data.grad.mom_sl), "float", "Slice Selection Gradient Moment [rad/s]"),
+
};
const int N... |
don't show value fields for expandable items | @@ -126,7 +126,7 @@ export default class TreeItem extends Component {
return (
<a style={{ display: 'flex', alignItems: 'center' }}>
- {(data && !(item.children && item.children.length > 0))
+ {(data && !item.children)
? (
<span style={{ display: 'flex', alignItems: 'center', height: 48 }}>
<b style={titleStyle}>{item.... |
Add pipeline related requirements into the Gitlab MR template | @@ -7,14 +7,16 @@ _This entire section can be deleted if all items are checked._
* [ ] Enough information to help reviewers understand the issue, its root cause, impact, and the proposed solution
* [ ] Enough information to help reviewers understand the feature, its functional description, example, documentation, test ... |
fix resources targets for bundle projects in packaging world | <PropertyGroup>
<!-- Pass all SBResourceCopy items to the APPX packager, instead of copying them ourselves -->
- <SBResourceCopyToAPPX Condition="'$(AppContainerApplication)' == 'true'">true</SBResourceCopyToAPPX>
+ <SBResourceCopyToAPPX Condition="'$(AppContainerApplication)' == 'true' AND '$(IslandwoodConfigurationTy... |
Reference bugzilla report | 1.7.1 ????-??-??
- * bugfix: Only one signature per RRset needs to be valid with
+ * bugfix #1245: Only one signature per RRset needs to be valid with
ldns-verify-zone. Thanks Emil Natan.
* ldns-notify can use all supported hash algorithms with -y.
* bugfix #1209: make install ldns.pc file
|
Make cli export rom destination path more explicit | @@ -130,7 +130,7 @@ program
});
program
- .command("make:rom <projectFile> <destination>")
+ .command("make:rom <projectFile> <destination.gb>")
.description("Build a ROM from project file")
.action((source, destination) => {
main("make:rom", source, destination);
|
doc: update CR HLD
add missing bits in CR4 virtualization. | @@ -1047,7 +1047,7 @@ setting.
are fixed to be 0 under VMX operation
* - CR4_TRAP_MASK
- - CR4_PSE | CR4_PAE | CR4_VMXE | CR4_PCIDE
+ - CR4_PSE | CR4_PAE | CR4_VMXE | CR4_PCIDE | CR4_SMEP | CR4_SMAP | CR4_PKE
- ACRN will also trap PSE, PAE, VMXE, and PCIDE bits
* - cr4_host_mask
|
libc: Implement bsearch() | @@ -197,8 +197,25 @@ char *mktemp(char *) {
void *bsearch(const void *key, const void *base, size_t count, size_t size,
int (*compare)(const void *, const void *)) {
- __ensure(!"Not implemented");
- __builtin_unreachable();
+ // Invariant: Element is in the interval [i, j).
+ size_t i = 0;
+ size_t j = count;
+
+ whil... |
[x86_64] build_kernel_headers supports 64b | @@ -10,9 +10,12 @@ from build_utils import sysroot_copy_needs_update
def copy_kernel_headers():
+ arch = "x86_64"
+
src_root = Path(__file__).parent / "kernel"
+ bootloader_root = Path(__file__).parent / "bootloader"
sysroot = Path(__file__).parent / "axle-sysroot"
- include_dir = sysroot / "usr" / "i686-axle" / "inclu... |
we need branch amd-stg-open for comgr | <project path="roct-thunk-interface" name="compute/ec/libhsakmt" revision="amd-staging" groups="unlocked" />
<!-- Lightning -->
-<project path="rocm-compilersupport" name="lightning/ec/support" upstream="amd-stg-open" groups="unlocked" />
+<project path="rocm-compilersupport" name="lightning/ec/support" revision="amd-s... |
Fix unused variable warning for guc-file.l | @@ -498,8 +498,6 @@ ParseConfigFile(const char *config_file, const char *calling_file,
* An include directive isn't a variable and should be processed
* immediately.
*/
- unsigned int save_ConfigFileLineno = ConfigFileLineno;
-
if (!ParseConfigFile(opt_value, config_file,
depth + 1, context, elevel,
head_p, tail_p))
|
Tools: Driver.Vendor.props: current year to 2019 | @@ -17,7 +17,7 @@ Set $(Feature_AlwaysDefaultVendor) to false and set $(_VENDOR_) to override.
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_VENDOR_ Condition="'$(_VENDOR_)'=='' OR '$(Feature_AlwaysDefaultVendor)'!='false'">RHEL</_VENDOR_>
- <COPYRIGHT_CURRENT_YEAR>2018</COPYRI... |
build BUGFIX typo | @@ -307,7 +307,7 @@ if(ENABLE_TESTS)
add_subdirectory(tests)
else()
message(STATUS "Disabling tests because of missing CMocka.")
- set(ENABLE_BUILD_TESTS NO)
+ set(ENABLE_TESTS NO)
endif()
endif()
|
Remove erroneous key. | &kp GRAV &kp 1 &kp 2 &kp 3 &kp 4 &kp 5 &kp 6 &kp 7 &kp 8 &kp 9 &kp 0 &kp F12
&trans &kp BANG &kp ATSN &kp HASH &kp CURU &kp PRCT &kp CRRT &kp AMPS &kp KMLT &kp LPRN &kp RPRN &kp PIPE
&trans &kp EQL &kp MINUS &kp KPLS &kp LCUR &kp RCUR &trans &trans &kp LBKT &kp RKBT &kp SCLN &kp COLN &kp BSLH &trans
- &trans &trans &tr... |
updates terminal to always 32 bytes on read | @@ -41,14 +41,19 @@ _term_msc_out_host()
return 1000000ULL * tim_tv.tv_sec + tim_tv.tv_usec;
}
+/* _term_alloc(): libuv buffer allocator.
+*/
static void
_term_alloc(uv_handle_t* had_u,
size_t len_i,
uv_buf_t* buf
)
{
- void* ptr_v = c3_malloc(len_i);
- *buf = uv_buf_init(ptr_v, len_i);
+ // this read can range from a ... |
Fix test name musl->glibc | @@ -44,7 +44,7 @@ endtest(){
#
# extract on glibc
#
-starttest extract_musl
+starttest extract_glibc
scope extract /opt/extract_scope
ERR+=$?
@@ -64,7 +64,8 @@ endtest
#
# ldscope patch
#
-starttest patch_on_musl
+starttest patch_on_glibc
+
cp /usr/local/scope/lib/libscope.so /opt/patch_libscope
cp /usr/local/scope/bin... |
Delete needless begin and rescue for channel | " if @queue.empty?\n" \
" _h2o__channel_wait(self)\n" \
" end\n" \
- " begin\n" \
- " ret = @queue.shift\n" \
- " rescue => ex\n" \
- " raise ex\n" \
- " end\n" \
- " ret\n" \
+ " @queue.shift\n" \
" end\n" \
" end\n" \
"end\n"
|
test: i2c: Add tests for fast plus speed
Add tests that set/get the I2C bus speed to fast-plus (1 MHz).
BRANCH=none
TEST=twister
Code-Coverage: Zoss | @@ -52,12 +52,29 @@ ZTEST_USER(i2c, test_i2c_set_speed_success)
"response.cmd_response.speed_khz = %d",
response.cmd_response.speed_khz);
+ /* Set the speed to 1000. */
+ set_params.cmd_params.speed_khz = 1000;
+ zassert_ok(host_command_process(&set_args), NULL);
+ zassert_ok(set_args.result, NULL);
+ zassert_equal(set... |
Greatly speeds up picoquic_is_cnx_backlog_empty by using metadata rather than doing lots of computation | @@ -1388,27 +1388,9 @@ int picoquic_is_cnx_backlog_empty(picoquic_cnx_t* cnx)
while (p != NULL && backlog_empty == 1) {
/* check if this is an ACK only packet */
- int ret = 0;
- int frame_is_pure_ack = 0;
- size_t frame_length = 0;
- size_t byte_index = 0; /* Used when parsing the old packet */
-
-
- /* Copy the relev... |
Add suffix handling to run_msvc_wine.py | import sys
import os
+import re
import subprocess
import signal
import time
@@ -198,7 +199,8 @@ def is_good_file(p):
if os.path.getsize(p) < 300:
return False
- if p.endswith('asm.obj'):
+ asm_pattern = re.compile('asm(\.\w+)?\.obj$')
+ if asm_pattern.search(p):
pass
elif p.endswith('.obj'):
with open(p, 'rb') as f:
|
libhfuzz: memcmp() | @@ -127,7 +127,7 @@ static inline int _memcmp(const void *m1, const void *m2, size_t n, void *addr)
for (size_t i = 0; i < n; i++) {
if (s1[i] != s2[i]) {
- ret = ret ? ret : (s1[i] != s2[i]);
+ ret = ret ? ret : (s1[i] - s2[i]);
} else {
v++;
}
|
pi-bluetooth: Fix signature failures
After we made this package
depend on a package that is not allarch while this is. Let's drop it for
this package as well to avoid these sstate signature issues. | @@ -21,8 +21,6 @@ SYSTEMD_SERVICE_${PN} = "\
bthelper@.service \
"
-inherit allarch
-
do_install() {
install -d ${D}${sysconfdir}/udev/rules.d
install -m 0644 ${S}/lib/udev/rules.d/* ${D}${sysconfdir}/udev/rules.d
|
Use popValue in FunctionCalling | @@ -36,7 +36,7 @@ import Foreign.Lua.Core as Lua
import Foreign.Lua.Types
import Foreign.Lua.Userdata ( ensureUserdataMetatable, pushAnyWithMetatable
, toAnyWithName )
-import Foreign.Lua.Util (getglobal', raiseError)
+import Foreign.Lua.Util (getglobal', popValue, raiseError)
import Foreign.Ptr (freeHaskellFunPtr)
imp... |
msp_vtx: reset read timeout on fail | @@ -108,6 +108,7 @@ void serial_msp_vtx_init() {
serial_enable_isr(serial_smart_audio_port);
msp_vtx = &msp;
+ vtx_last_valid_read = time_millis();
}
vtx_update_result_t serial_msp_vtx_update() {
@@ -153,6 +154,7 @@ vtx_update_result_t serial_msp_vtx_update() {
if ((in_progress || is_first_packet) && (time_millis() - v... |
cleaner version of loadmess | #include "m_pd.h"
#include "g_canvas.h"
-#include "hammer/file.h"
+/* #include "hammer/file.h" */
#define IS_A_POINTER(atom,index) ((atom+index)->a_type == A_POINTER)
#define IS_A_FLOAT(atom,index) ((atom+index)->a_type == A_FLOAT)
@@ -38,7 +38,7 @@ typedef struct _loadmess
t_symbol *x_sym;
t_atomtype x_type;
t_canvas ... |
[mod_deflate] fix use of libdeflate for files>128k (fixes
must use mmap MAP_SHARED for writes to modify file on disk
(MAP_PRIVATE does not modify underlying file on disk)
(thx flynn)
x-ref:
"gzip dynamic compression broken with source size bigger than 128k" | @@ -1540,8 +1540,8 @@ static int mod_deflate_using_libdeflate (handler_ctx * const hctx, const plugin_
return mod_deflate_using_libdeflate_err(hctx, fn, fd);
}
- /*void *addr = mmap(NULL, sz, PROT_READ|PROT_WRITE, MAP_PRIVATE, fd, 0);*/
- void * const addr = mmap(NULL, sz, PROT_WRITE, MAP_PRIVATE, fd, 0);
+ /*void *add... |
OcAcpiLib: Fix table dropping | @@ -553,9 +553,10 @@ AcpiInitContext (
DEBUG ((
DEBUG_INFO,
- "Detected table %08x (%016Lx) of %u bytes at index %u\n",
+ "Detected table %08x (%016Lx) at %p of %u bytes at index %u\n",
Context->Tables[DstIndex]->Signature,
AcpiReadOemTableId (Context->Tables[DstIndex]),
+ Context->Tables[DstIndex],
Context->Tables[Dst... |
jenkins: fix comment | @@ -311,7 +311,7 @@ def dockerInit() {
"./scripts/docker/ubuntu/bionic/Dockerfile"
)
- /* Ubuntu bionic image*/
+ /* Ubuntu focal image*/
DOCKER_IMAGES.focal = dockerUtils.createDockerImageDesc(
"focal", dockerUtils.&idTesting,
"./scripts/docker/ubuntu/focal",
|
Correct UTF8 params documentation further
The latest change misdocumented OSSL_PARAM_get_utf8_string(), that
change should have been for OSSL_PARAM_set_utf8_string(). | @@ -241,15 +241,20 @@ will be assigned the size the parameter's I<data> buffer should have.
OSSL_PARAM_get_utf8_string() retrieves a UTF8 string from the parameter
pointed to by I<p>.
The string is stored into I<*val> with a size limit of I<max_len>,
-which must be large enough to accomodate the string. A terminating N... |
Jenkinsfile: ENABLE_DEBUG everything | @@ -64,7 +64,8 @@ CMAKE_FLAGS_BASE = [
CMAKE_FLAGS_BUILD_ALL = [
'BINDINGS': 'ALL;-DEPRECATED',
'PLUGINS': 'ALL;-DEPRECATED',
- 'TOOLS': 'ALL'
+ 'TOOLS': 'ALL',
+ 'ENABLE_DEBUG': 'ON' // TODO: remove ENABLE_DEBUG
]
CMAKE_FLAGS_COVERAGE = ['ENABLE_COVERAGE': 'ON']
@@ -100,8 +101,6 @@ CMAKE_FLAGS_OPTIMIZATIONS_OFF = ['EN... |
[kernel] remove useless resetToInitial state | @@ -63,6 +63,9 @@ void MatrixIntegrator::commonInit(const DynamicalSystem& ds, const NonSmoothDyna
{
_TD.reset(new TimeDiscretisation(td));
+ DEBUG_EXPR(ds.display(););
+
+
Type::Siconos dsType = Type::value(ds);
if (dsType == Type::FirstOrderLinearTIDS)
{
@@ -81,6 +84,8 @@ void MatrixIntegrator::commonInit(const Dynam... |
nimble/ll: Fix legacy extended directed advertising event length
Directed address is already within `struct ble_ll_ext_adv_report' so
there is no need to increase `evt->event_len` | @@ -753,7 +753,6 @@ ble_ll_hci_send_legacy_ext_adv_report(uint8_t evtype,
if (inita) {
evt->dir_addr_type = inita_type;
memcpy(evt->dir_addr, inita, BLE_DEV_ADDR_LEN);
- evt->event_len += BLE_DEV_ADDR_LEN + 1;
} else if (adv_data_len <= (MYNEWT_VAL(BLE_HCI_EVT_BUF_SIZE) - sizeof(*evt))) {
evt->adv_data_len = adv_data_l... |
Update README.md
add testnet header in section of fields | @@ -76,7 +76,8 @@ Types of fields:
5. half of output signature; only owner of this key can use this block as input
6. public key (x) with even y
7. public key with odd y
-8. ... 15. are reserved for future usage.
+8. header of testnet
+9. ... 15. are reserved for future usage.
Transport layer:
|
hood: fix migration from master | [%11 drum=state-2:drum helm=state:helm kiln=state-0:kiln]
[%12 drum=state-2:drum helm=state:helm kiln=state-0:kiln]
[%13 drum=state-2:drum helm=state:helm kiln=state-1:kiln]
- [%14 drum=state-3:drum helm=state:helm kiln=state-1:kiln]
- [%15 drum=state-3:drum helm=state:helm kiln=state-2:kiln]
+ [%14 drum=state-2:drum h... |
added check for debug | @@ -191,7 +191,11 @@ FOREACH(_CURRENT_VERSION 2.7 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.6 1.5)
SET(curPYLIB "libpython${CV}.")
IF(WIN32)
STRING(REPLACE "." "" CV2 ${CV})
+ if (CMAKE_BUILD_TYPE STREQUAL Debug)
+ SET(curPYLIB "python${CV2}_d.lib")
+ else ()
SET(curPYLIB "python${CV2}.lib")
+ endif ()
ENDIF(WIN32)
IF(${PYLIB} MAT... |
DM: Samples: Enable VxWorks as hard-rt VM
This patch adds --lapic_pt option to launch VxWorks as hard-rt VM. | @@ -16,20 +16,16 @@ fi
mem_size=2048M
# Note:
-# Here we just launch VxWorks as a normal vm without lapic_pt. If you want try it
-# with lapic_pt, you should add the following options and make sure the front-end virtio-console
-# driver use polling mode (This feature is not supported by VxWorks offically now and should... |
Fix Error: shift_main.c:763:7: error: variable 'score' set but not used [-Werror,-Wunused-but-set-variable] | @@ -760,7 +760,6 @@ int main(int argc, FAR char *argv[])
struct input_state_s input;
struct screen_state_s state;
struct fb_area_s area;
- int score = 0;
int ret;
/* Open the framebuffer driver */
@@ -906,8 +905,6 @@ int main(int argc, FAR char *argv[])
}
usleep(500000);
-
- score += 100;
}
#ifdef DEBUG_SHIFT_GAME
|
http_client.c: 2nd fix for calculation of Content-Length in set1_content() | @@ -266,8 +266,10 @@ int OSSL_HTTP_REQ_CTX_set_expected(OSSL_HTTP_REQ_CTX *rctx,
static int set1_content(OSSL_HTTP_REQ_CTX *rctx,
const char *content_type, BIO *req)
{
- long req_len;
+ long req_len = 0;
+#ifndef OPENSSL_NO_STDIO
FILE *fp = NULL;
+#endif
if (rctx == NULL || (req == NULL && content_type != NULL)) {
ERR_... |
doc: elementpath version must be 2.5.0 in the GSG | @@ -135,7 +135,7 @@ To set up the ACRN build environment on the development computer:
.. code-block:: bash
- sudo pip3 install "elementpath<=2.5.0" lxml xmlschema defusedxml tqdm
+ sudo pip3 install "elementpath==2.5.0" lxml xmlschema defusedxml tqdm
#. Create a working directory:
|
Remove comment from JSON | @@ -101,7 +101,7 @@ This sample uses a property named `device_count`, which records the number of ti
```json
"properties": {
"desired": {
- "device_count": 42, //add this line
+ "device_count": 42,
```
Select Save to send the message. The device will store the value locally and report the updated property to the servic... |
Only drop DATA chunk with lower priority as specified in RFC 7496. | #ifdef __FreeBSD__
#include <sys/cdefs.h>
-__FBSDID("$FreeBSD: head/sys/netinet/sctp_output.c 360671 2020-05-05 19:54:30Z tuexen $");
+__FBSDID("$FreeBSD: head/sys/netinet/sctp_output.c 360869 2020-05-10 10:03:10Z tuexen $");
#endif
#include <netinet/sctp_os.h>
@@ -6690,11 +6690,11 @@ sctp_prune_prsctp(struct sctp_tcb ... |
pack: fix required bytes calc | @@ -311,25 +311,26 @@ static inline int try_to_write(char *buf, int *off, size_t left,
return FLB_TRUE;
}
-static inline int try_to_write_str(char *buf, int *off, size_t left,
+static inline int try_to_write_str(char *buf, int *off, size_t size,
char *str, size_t str_len)
{
int i;
int written = 0;
int required;
+ size_... |
rand/rand_unix.c: mask getentropy ELF detection on HP-UX.
Unlike other ELF systems, HP-UX run-time linker fails to detect symbol
availability through weak declaration. | @@ -240,7 +240,7 @@ int syscall_random(void *buf, size_t buflen)
* - Linux since 3.17 with glibc 2.25
* - FreeBSD since 12.0 (1200061)
*/
-# if defined(__GNUC__) && __GNUC__>=2 && defined(__ELF__)
+# if defined(__GNUC__) && __GNUC__>=2 && defined(__ELF__) && !defined(__hpux)
extern int getentropy(void *bufer, size_t le... |
Removed warnings and worked a little bit on initialize | #include <log/log.h>
+/* Disable warnings from LLVM */
+#if defined(_MSC_VER) || defined(__clang__)
+ #pragma warning(push)
+// TODO
+#elif defined(__GNUC__)
+ #pragma GCC diagnostic push
+ #pragma GCC diagnostic ignored "-Wunused-parameter"
+ #pragma GCC diagnostic ignored "-Wredundant-decls"
+#endif
+
// LLVM
#includ... |
sysdeps/managarm: Return EWOULDBLOCK in sys_accept if needed | @@ -31,10 +31,14 @@ int sys_accept(int fd, int *newfd) {
managarm::posix::SvrResponse<MemoryAllocator> resp(getSysdepsAllocator());
resp.ParseFromArray(recvResp.data(), recvResp.length());
+ if(resp.error() == managarm::posix::Errors::WOULD_BLOCK) {
+ return EWOULDBLOCK;
+ }else{
__ensure(resp.error() == managarm::posi... |
Log like crazy! | @@ -668,15 +668,21 @@ struct ws_on_data_args_s {
uint8_t is_text;
};
void *ws_on_data_inGIL(void *args_) {
+ fprintf(stderr, "INFO: iodine entered GIL\n");
struct ws_on_data_args_s *a = args_;
VALUE handler = get_handler(a->ws);
- if (!handler)
+ if (!handler) {
+ fprintf(stderr, "ERROR: iodine can't find Websocket han... |
Track root of ACK delays | @@ -2695,10 +2695,17 @@ int picoquic_is_ack_needed(picoquic_cnx_t* cnx, uint64_t current_time, uint64_t
pkt_ctx->time_oldest_unack_packet_received + cnx->ack_delay_remote <= current_time) {
ret = 1;
}
- else if (pkt_ctx->time_oldest_unack_packet_received + cnx->ack_delay_remote < *next_wake_time) {
+ else{
+ if (pkt_ct... |
Minor update to debug message under raw data parse. | @@ -2800,7 +2800,7 @@ parse_raw_data (GModule module) {
modstr = get_module_str (module);
taken = (double) (clock () - begin) / CLOCKS_PER_SEC;
- LOG_DEBUG (("==TIME TAKEN PARSE RAW DATA==\n%s\t\t\t%f\n", modstr, taken));
+ LOG_DEBUG (("== %s\t\t\t%f\n", modstr, taken));
free (modstr);
return raw_data;
|
80-test_cmp_http.t: Silence check for availability of 'kill' and 'lsof' commands | @@ -34,9 +34,9 @@ plan skip_all => "Tests involving local HTTP server not available on Windows, AI
plan skip_all => "Tests involving local HTTP server not available in cross-compile builds"
if defined $ENV{EXE_SHELL};
plan skip_all => "Tests involving local HTTP server require 'kill' command"
- if system("which kill");... |
rust: Remove KDB_O_NOCASE test | @@ -530,19 +530,6 @@ mod tests {
assert_eq!(ks.tail().unwrap().name(), "user/test/key");
}
- #[test]
- fn can_lookup_key_with_nocase_and_pop_option() {
- let mut ks = setup_keyset();
- let lookup_key = StringKey::new("/TEST/key").unwrap();
- let key = ks.lookup(
- lookup_key,
- LookupOption::KDB_O_NOCASE | LookupOption... |
odissey: send NULL for connect_time and request_time | @@ -245,13 +245,11 @@ od_console_show_servers_callback(od_server_t *server, void *arg)
if (rc == -1)
return -1;
/* connect_time */
- data_len = snprintf(data, sizeof(data), "%s", "");
- rc = shapito_be_write_data_row_add(stream, offset, data, data_len);
+ rc = shapito_be_write_data_row_add(stream, offset, NULL, -1);
if... |
Add gnu11 compiler flag | @@ -38,8 +38,8 @@ SOURCES_C += $(wildcard $(NP2_PATH)/i286c/*.c) \
$(NP2_PATH)/sdl2/gcw0/main.c
OBJECTS = $(SOURCES_CXX:.cpp=.o) $(SOURCES_C:.c=.o)
-CXXFLAGS += $(fpic) $(INCFLAGS) $(COMMONFLAGS) -DGCW0 -DNP2_SDL2 -DUSE_SDLAUDIO -DUSE_SDLMIXER -DSUPPORT_LARGE_HDD -DSUPPORT_VPCVHD -DSUPPORT_KAI_IMAGES -DHOOK_SYSKEY -DAL... |
in_syslog: fix log format specifier (CID 304402 304438) | @@ -69,7 +69,7 @@ int syslog_conn_event(void *data)
bytes = read(conn->fd,
conn->buf_data + conn->buf_len, available);
if (bytes > 0) {
- flb_plg_trace(ctx->ins, "read()=%i pre_len=%i now_len=%i",
+ flb_plg_trace(ctx->ins, "read()=%i pre_len=%zu now_len=%zu",
bytes, conn->buf_len, conn->buf_len + bytes);
conn->buf_len ... |
options/internal: Fix file_window debug message | @@ -35,7 +35,8 @@ struct file_window {
break;
progress += chunk;
}
- mlibc::infoLogger() << "stat says " << info.st_size << " but we got "
+ if(progress != info.st_size)
+ mlibc::panicLogger() << "stat reports " << info.st_size << " but we only read "
<< progress << " bytes" << frg::endlog;
#endif
|
odissey: add some notes about logging | @@ -39,6 +39,13 @@ Odissey has full-featured `SSL/TLS` support and common authentication methods
like: `md5` and `clear text` both for client and server authentication.
Additionally it allows to block each pool user separately.
+**Logging**
+
+Odissey generates universally unique identifiers `uuid` for client and serve... |
runtimes/charliecloud: adjust src URL | @@ -29,7 +29,7 @@ Release: 1%{?dist}
License: Apache-2.0
Group: %{PROJ_NAME}/runtimes
URL: https://hpc.github.io/%{pname}/
-Source0: https://github.com/hpc/%{pname}/releases/v%{version}.tar.gz#/%{pname}-%{version}.tar.gz
+Source0: https://github.com/hpc/charliecloud/releases/download/v%{version}/charliecloud-%{version}... |
ACRN:DM: Check the alignment of mem_size
Now the memory region is aligned down to 2M if 2M hugetlb is supported.
Maybe some contents are dropped if it is not aligned.
Acked-by: Wang Yu | extern char *vmname;
+#define ALIGN_CHECK(x, align) (((x) & ((align)-1)) ? 1 : 0)
+
#define HUGETLB_LV1 0
#define HUGETLB_LV2 1
#define HUGETLB_LV_MAX 2
@@ -718,6 +720,13 @@ int hugetlb_setup_memory(struct vmctx *ctx)
}
}
+ if (ALIGN_CHECK(ctx->lowmem, hugetlb_priv[HUGETLB_LV1].pg_size) ||
+ ALIGN_CHECK(ctx->highmem, h... |
admin/test-suite: updating version for test suite | Summary: Integration test suite for OpenHPC
Name: test-suite%{PROJ_DELIM}
-Version: 2.1.0
+Version: 2.3.0
Release: 1
License: Apache-2.0
Group: %{PROJ_NAME}/admin
|
is dead code, too. | |%
++ gift :: out result <-$
$% {$blit p/(list blit)} :: terminal output
- {$burl p/@t} :: activate url
{$init p/@p} :: set owner
{$logo ~} :: logout
{$lyra p/@t q/@t} :: upgrade kernel
|
Document upcoming API changes in README | The ACVP specification is a work-in-progress and can be found at
https://github.com/usnistgov/ACVP
+Upcoming Changes!
+
+ The library API has been updated as of **August 2018** to store hex buffers
+ as their equivalent byte arrays. This simplifies the responsibilities of
+ the applicatin layer as most C crypto librari... |
Update vbus_hw.h
Added define __VBUS_HW_H__ | * 2015-01-07 Grissiom init commit
*/
+#ifndef __VBUS_HW_H__
+#define __VBUS_HW_H__
+
#include <rtthread.h>
#include <stddef.h>
#include <gic.h>
@@ -52,3 +55,5 @@ rt_inline void rt_vbus_smp_mb(void)
{
asm volatile ("dsb" : : : "memory");
}
+
+#endif /* __VBUS_HW_H__ */
|
webp-lossless-bitstream-spec: reword abstract re alpha
'zero alpha pixels' was a bit hard to parse; replace this with something
more explicit | @@ -23,7 +23,7 @@ Abstract
WebP lossless is an image format for lossless compression of ARGB
images. The lossless format stores and restores the pixel values
-exactly, including the color values for zero alpha pixels. The
+exactly, including the color values for pixels whose alpha value is 0. The
format uses subresolut... |
OcBootManagementLib: Add change forgotten from last commit | @@ -390,7 +390,7 @@ OcGetAppleBootLoadedImage (
if (!EFI_ERROR (Status)
&& LoadedImage->FilePath != NULL
- && (OcGetBootDevicePathType (LoadedImage->FilePath, NULL) & OC_BOOT_APPLE_ANY) != 0) {
+ && (OcGetBootDevicePathType (LoadedImage->FilePath, NULL, NULL) & OC_BOOT_APPLE_ANY) != 0) {
return LoadedImage;
}
|
Switch MicroPython to build against upstream
USER_C_MODULE support has been merged upstream. Hooray! | @@ -29,8 +29,8 @@ jobs:
- name: Checkout MicroPython
uses: actions/checkout@v2
with:
- repository: pimoroni/micropython
- ref: continuous-integration
+ repository: micropython/micropython
+ ref: master
submodules: false # MicroPython submodules are hideously broken
path: micropython
|
Update cmakeCmd for regression testing to use v 3.24.3 | @@ -224,7 +224,7 @@ done
if test "$branch" = "trunk" ; then
workingDir="test_trunk"
- cmakeCmd="/usr/WS1/visit/visit/thirdparty_shared/3.3.0/toss3/cmake/3.18.2/linux-x86_64_gcc-7.3/bin/cmake"
+ cmakeCmd="/usr/WS1/visit/visit/thirdparty_shared/3.3.0/toss3/cmake/3.24.3/linux-x86_64_gcc-7.3/bin/cmake"
else
workingDir="tes... |
Improve array docs | @@ -34,8 +34,11 @@ CBOR_EXPORT size_t cbor_array_allocated(const cbor_item_t* item);
/** Get item by index
*
* @param item An array
- * @param index The index
- * @return **incref** The item, or `NULL` in case of boundary violation
+ * @param index The index (zero-based)
+ * @return Reference to the item, or `NULL` in ... |
Use correct length increment for msg_controllen | @@ -2412,7 +2412,9 @@ CxPlatSocketSendInternal(
*(int *)CMSG_DATA(CMsg) = SendData->ECN;
if (!Socket->Connected) {
- Mhdr->msg_controllen += CMSG_SPACE(sizeof(struct in6_pktinfo));
+ Mhdr->msg_controllen += RemoteAddress->Ip.sa_family == QUIC_ADDRESS_FAMILY_INET
+ ? CMSG_SPACE(sizeof(struct in_pktinfo))
+ : CMSG_SPACE(... |
fix ap ssid imcomplete bug | @@ -561,7 +561,7 @@ void xr871_scan_adv_compeleted_event(enum scan_type type)
}
if (m->ev_cb != NULL && m->ev_cb->scan_compeleted != NULL) {
- m->ev_cb->scan_compeleted(m, &result, NULL);
+ m->ev_cb->scan_adv_compeleted(m, &result, NULL);
}
free(result.ap_list);
|
hv: vlapic: call vlapic_accept_intr directly in vlapic_set_error
LVT ERROR is an edge and fixed mode interrupt. We could call vlapic_accept_intr
to fire it directly. Otherwise, if LVT ERR vector is invalid, an invalid
interrupt will be accepted in IRR. | @@ -793,7 +793,7 @@ vlapic_fire_lvt(struct acrn_vlapic *vlapic, uint32_t lvt)
switch (mode) {
case APIC_LVT_DM_FIXED:
- if (vlapic_accept_intr(vlapic, vec, false)) {
+ if (vlapic_accept_intr(vlapic, vec, LAPIC_TRIG_EDGE)) {
vcpu_make_request(vcpu, ACRN_REQUEST_EVENT);
}
break;
@@ -944,7 +944,7 @@ vlapic_process_eoi(str... |
pid.c: dlpf is simply a float now! | @@ -274,19 +274,19 @@ float pid(int x) {
lastrate[x] = gyro[x];
//D term filtering
- static float dlpf[3] = {0};
+ float dlpf = 0;
#ifdef DTERM_LPF_2ND_HZ
- dlpf[x] = filter_lp2_pt1_step(&filter[x], dterm);
+ dlpf = filter_lp2_pt1_step(&filter[x], dterm);
#endif
#ifdef DTERM_LPF_1ST_HZ
- dlpf[x] = filter_lp_pt1_step(&f... |
tests/ev3dev/brick: update tests for speech options | @@ -163,10 +163,13 @@ ev3.speaker.set_speech_options()
ev3.speaker.set_speech_options('en')
# two options are OK
-ev3.speaker.set_speech_options('en', 100)
+ev3.speaker.set_speech_options('en', 'f1')
# three options are OK
-ev3.speaker.set_speech_options('en', 100, 50)
+ev3.speaker.set_speech_options('en', 'f1', 100)
+... |
codegen: Add defines for enum type and conversions | @@ -13,8 +13,20 @@ cheetahVarStartToken = $
@from support.elektra_gen import *
@set support = ElektraGenSupport()
+#include <stdlib.h>
+#include <elektra.h>
+#include <kdbhelper.h>
+#include "elektra_gen.h"
+
+KDBType KDB_TYPE_ENUM = "enum";
+#define KDB_ENUM_TO_STRING(value) elektraFormat (ELEKTRA_LONG_F, value)
+#def... |
Add promote file to pg_basebackup exclude list.
If primary has promote file and pg_basebackup copies over the same,
then due to existency of the same mirror gets auto-promoted which is
very dangerous. Hence avoid copying over promote file. | @@ -289,6 +289,8 @@ class PgBaseBackup(Command):
cmd_tokens.append('./gpperfmon/data')
cmd_tokens.append('-E')
cmd_tokens.append('./gpperfmon/logs')
+ cmd_tokens.append('-E')
+ cmd_tokens.append('./promote')
else:
for path in excludePaths:
cmd_tokens.append('-E')
|
[RPC] If a transaction is found, make sure that the block is in the main chain. | @@ -8,6 +8,7 @@ package blockchain
import (
"bytes"
"crypto/sha256"
+ "errors"
"fmt"
"strconv"
@@ -46,7 +47,14 @@ func (cs *ChainService) getHashByNo(blockNo types.BlockNo) ([]byte, error) {
}
func (cs *ChainService) getTx(txHash []byte) (*types.Tx, *types.TxIdx, error) {
- return cs.cdb.getTx(txHash)
+
+ tx, txidx, er... |
Update NN Documentation |  
This CMSIS component has been moved into its own realm, please find it at [ARM-software/CMSIS-NN](https://gi... |
optimize project | @@ -67,7 +67,7 @@ glm_unprojecti(mat4 invMat, vec4 vp, vec3 coord, vec4 dest) {
* You probably want to map the coordinates into object space
* so use MVP as m
*
- * Computing viewProj:
+ * Computing viewProj and MVP:
* glm_mat4_mul(proj, view, viewProj);
* glm_mat4_mul(viewProj, model, MVP);
*
@@ -87,6 +87,10 @@ glm_un... |
don't store mesh IDs | @@ -3523,7 +3523,6 @@ return;
void process80211beacon(uint32_t tv_sec, uint32_t tv_usec, uint32_t caplen, uint32_t wdsoffset, uint8_t *packet)
{
mac_t *macf;
-FILE *fhoutlist = NULL;
uint8_t *packet_ptr;
uint8_t *tagptr;
ietag_t *thetag;
@@ -3564,14 +3563,6 @@ if(tagptr != NULL)
if(thetag ->data[0] != 0)
{
meshidframec... |
rbtree: Fix swapping out-of-tree node with root | @@ -192,6 +192,10 @@ static void ocf_rb_tree_update_children(struct ocf_rb_node *node)
node->right->parent = node;
}
+/*
+ * Note: When swapping with out-of-tree element, the tree member must go
+ * as node1 and out-of-tree item as node2.
+ */
static void ocf_rb_tree_swap(struct ocf_rb_tree *tree,
struct ocf_rb_node *n... |
Homebridge skript: Removed deleting the persist folder | @@ -307,13 +307,9 @@ function checkHomebridge {
if [[ "$HOMEBRIDGE" != "managed" ]]; then
sqlite3 $ZLLDB "replace into config2 (key, value) values('homebridge', 'managed')" &> /dev/null
fi
- # this is currently a hack/fix for the common issue "My iOS App Can't Find Homebridge" (see github homebridge)
- rm -rf /home/$MA... |
manual shared lib; clean static | Summary: A Parallel NetCDF library (PnetCDF)
Name: %{pname}-%{compiler_family}-%{mpi_family}%{PROJ_DELIM}
Version: 1.8.1
+%global sonum 1
Release: 1%{?dist}
License: NetCDF
Group: %{PROJ_NAME}/io-libs
@@ -67,7 +68,10 @@ CFLAGS="-fPIC -DPIC" CXXFLAGS="-fPIC -DPIC" FCFLAGS="-fPIC" \
./configure --prefix=%{install_path} |... |
mqtt: Add docs on MQTT_CUSTOM_OUTBOX implentation
Closes | @@ -137,8 +137,12 @@ menu "ESP-MQTT Configurations"
bool "Enable custom outbox implementation"
default n
help
- Set to true if a specific implementation of message outbox is needed (e.g. persistant outbox in NVM or
+ Set to true if a specific implementation of message outbox is needed (e.g. persistent outbox in NVM or
... |
Doxygen for tsch-packet.h | /********** Functions *********/
-/* Construct enhanced ACK packet and return ACK length */
+/**
+ * \brief Construct Enhanced ACK packet
+ * \param buf The buffer where to build the EACK
+ * \param buf_size The buffer size
+ * \param dest_addr The link-layer address of the neighbor we are ACKing
+ * \param seqno The s... |
BugID:25211717: update config.in for backward compatibility | +if AOS_CREATE_PROJECT
config AOS_COMP_EXTERNAL_MODULE
bool
- depends on BSP_SUPPORT_EXTERNAL_MODULE
default y
+endif
+
+if !AOS_CREATE_PROJECT
+config AOS_COMP_EXTERNAL_MODULE
+ bool "External module enable"
+ default y if BSP_SUPPORT_EXTERNAL_MODULE
+ default n
+endif
+
choice
prompt "External module Configurations"
|
DM: to avoid RTVM shutdown forcely by acrn-dm
if RTVM, now we assume it can't be shutdown forcely by SOS, so
add check condition to avoid that.
Acked-by: Yin Fengwei | @@ -352,7 +352,7 @@ static void handle_stop(struct mngr_msg *msg, int client_fd, void *param)
ack.msgid = msg->msgid;
ack.timestamp = msg->timestamp;
- if (msg->data.acrnd_stop.force) {
+ if (msg->data.acrnd_stop.force && !is_rtvm) {
vm_set_suspend_mode(VM_SUSPEND_POWEROFF);
ack.data.err = 0;
} else {
|
Logging: Use list syntax for logging levels | @@ -70,10 +70,10 @@ in these situations).
So we would have:
- ELEKTRA_LOG_WARNING warning conditions
- ELEKTRA_LOG_NOTICE normal, but significant, condition
- ELEKTRA_LOG INFO informational message
- ELEKTRA_LOG_DEBUG debug-level message
+- `ELEKTRA_LOG_WARNING`: warning conditions
+- `ELEKTRA_LOG_NOTICE`: normal, but ... |
docs(javascript): add javascript binding docs | micropython
cpp
pikascript
+ javascript
```
|
More tests for the right square bracket control paths | @@ -2467,6 +2467,55 @@ START_TEST(test_ext_entity_trailing_cr)
}
END_TEST
+/* Test handling of trailing square bracket */
+static void XMLCALL
+rsqb_handler(void *userData, const XML_Char *s, int len)
+{
+ int *pfound = (int *)userData;
+
+ if (len == 1 && *s == ']')
+ *pfound = 1;
+}
+
+START_TEST(test_trailing_rsqb)
... |
libbarrelfish: pmap_array: pmap_refill_slabs: refill vnode slabs again after refilling ptslabs
We need to ensure that we still have enough free vnode slabs after calls
to refill ptslabs, so we refill vnode slab again after refilling ptslabs. | @@ -133,5 +133,11 @@ errval_t pmap_refill_slabs(struct pmap *pmap, size_t max_slabs)
if (err_is_fail(err)) {
return err;
}
+ /* for pmap_array, after refilling ptslabs, we need to make sure that we
+ * actually still have enough vnode slabs. */
+ err = pmap_slab_refill(pmap, &pmap->m.slab, max_slabs);
+ if (err_is_fail... |
Add header guard around malloc(0) returning NULL implementation
Make it safe to import the config multiple times without having
multiple definition errors.
(This prevents errors in the fuzzers in a later patch.) | #include "mbedtls/mbedtls_config.h"
#include <stdlib.h>
+
+#ifndef MBEDTLS_PLATFORM_STD_CALLOC
static inline void *custom_calloc( size_t nmemb, size_t size )
{
if( nmemb == 0 || size == 0 )
@@ -30,3 +32,4 @@ static inline void *custom_calloc( size_t nmemb, size_t size )
#define MBEDTLS_PLATFORM_MEMORY
#define MBEDTLS_P... |
Add workaround for GetDpiForSystem | @@ -180,7 +180,19 @@ LONG PhGetSystemDpi(
VOID
)
{
- return PhGetDpiValue(NULL, NULL);
+ UINT dpi;
+
+ // Try avoid calling GetDpiForSystem since it'll return incorrect DPI
+ // when the user changes the display settings. GetDpiForWindow doesn't have
+ // this same limitation and always returns the correct DPI. (dmex)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.