message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
testing/fstest/fstest_main.c: Eliminate a warning found during the build
test. | @@ -1084,7 +1084,8 @@ int main(int argc, FAR char *argv[])
/* Perform garbage collection, integrity checks */
- fstest_gc(buf.f_bfree);
+ ret = fstest_gc(buf.f_bfree);
+ UNUSED(ret);
/* Show memory usage */
|
Fix the active/pull down flags for the example. | @@ -81,9 +81,9 @@ this might look something like:
;
row-gpios
- = <&pro_micro_a 1 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
- , <&pro_micro_a 2 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
- , <&pro_micro_a 3 (GPIO_ACTIVE_LOW | GPIO_PULL_UP)>
+ = <&pro_micro_a 1 (GPIO_ACTIVE_HIGH | GPIO_PULL_DOWN)>
+ , <&pro_micro_a 2 (GPIO_ACTIVE_HIGH |... |
hoon: doccords for tisfas
wraps the skin in tisface with a %help skin | ?: =([~ ~ ~ ~] wit)
gen
?+ gen gen
- ::
+ :: bar runes
$? [%brbc *] [%brcb *] [%brcl *] [%brdt *] [%brkt *]
[%brhp *] [%brsg *] [%brtr *] [%brts *] [%brwt *] ==
?~ boy.wit
?~ boy.wit
[%brcn lab.wit q.gen]
[%note help+`u.boy.wit [%brpt lab.wit q.gen]]
+ ::
+ :: tis runes
+ [%tsfs *]
+ ?~ boy.wit
+ gen
+ [%tsfs [%help `u... |
vrrp: do not define _details as autoreply
Without this, _details_reply messages also end up defined;
which is not intended, as there are no _details_t_handler functions.
Type: fix
Fixes: | *
*/
-option version = "1.0.0";
+option version = "1.0.1";
import "vnet/interface_types.api";
import "vnet/ip/ip_types.api";
@@ -167,7 +167,7 @@ define vrrp_vr_peer_dump {
@param n_peer_addrs - number of peer addresses
@param peer_addrs - peer addresses
*/
-autoreply define vrrp_vr_peer_details {
+define vrrp_vr_peer_d... |
limeutil - free connection on open error | @@ -112,6 +112,7 @@ static int makeDevice(void)
if (not conn->IsOpen())
{
std::cout << "Connection not open!" << std::endl;
+ ConnectionRegistry::freeConnection(conn);
return EXIT_FAILURE;
}
|
[mod_webdav] update rc for PROPFIND allprop
(rc currently ignored in case of PROPFIND allprop) | @@ -3141,6 +3141,7 @@ webdav_propfind_live_props (const webdav_propfind_bufs * const restrict pb,
__attribute_fallthrough__
#endif
default: /* WEBDAV_PROP_UNSET */
+ if (pnum == WEBDAV_PROP_ALL) break;
return -1; /* not found */
}
return 0; /* found (WEBDAV_PROP_ALL) */
|
Add document length to MetadataCleaner connector's logs | @@ -251,6 +251,8 @@ public class MetadataCleaner extends org.apache.manifoldcf.agents.transformation
final SpecPacker spec = new SpecPacker(pipelineDescription.getSpecification());
+ final long startTime = System.currentTimeMillis();
+
final Iterator<String> fieldsI = document.getFields();
// As we will replace the met... |
OcBootManagementLib: Fix compiler warning
closes acidanthera/bugtracker#898 | @@ -400,7 +400,7 @@ OcGetBootOrder (
);
if (Status == EFI_BUFFER_TOO_SMALL) {
- BootOrder = AllocatePool (WithBootNext * sizeof (BootNext) + VariableSize);
+ BootOrder = AllocatePool ((UINTN) WithBootNext * sizeof (BootNext) + VariableSize);
if (BootOrder == NULL) {
return NULL;
}
@@ -410,7 +410,7 @@ OcGetBootOrder (
B... |
retry failed domain validation token verification | |= [wir=wire rep=httr]
^+ this
?. =(200 p.rep)
- :: XX retry immediately? backoff?
+ :: XX count retries, backoff
~& [%test-trial-fail wir rep]
- this
+ (retry:effect /test-trial (add now.bow ~m10))
?> ?=(^ rod)
?> ?=(^ active.aut.u.rod)
:: XX check content type and response body
~&(unknown-retry+wir this)
:: XX do the... |
nimble/ll: Fix calculations for aux scheduling
We need to take scheduling offset into account when calculating
advertising event duration. | @@ -1674,28 +1674,18 @@ ble_ll_adv_aux_set_start_time(struct ble_ll_adv_sm *advsm)
chans = bits[advsm->adv_chanmask];
- /*
- * We want to schedule auxiliary packet as soon as possible after the end
- * of advertising event, but no sooner than T_MAFS. The interval between
- * advertising packets is 250 usecs (8.19 ticks... |
usb.c: rework probe loop to _not_ free all stuff without closing if _one_ probe failed.
we return count and list of successfully probed devices, no need to free
everything if some libusb call of the last probe attempt failed. | @@ -1101,14 +1101,13 @@ static size_t stlink_probe_usb_devs(libusb_device **devs, stlink_t **sldevs[]) {
stlink_t **_sldevs;
libusb_device *dev;
int i = 0;
- int ret = 0;
size_t slcnt = 0;
size_t slcur = 0;
/* Count stlink */
while ((dev = devs[i++]) != NULL) {
struct libusb_device_descriptor desc;
- ret = libusb_get_d... |
[Chenyu Zhao] : alter CreatePlugin method | @@ -123,28 +123,28 @@ type PluginFactory interface {
type BccPluginFactory struct{}
-func (BccPluginFactory) CreatePlugin(id int, name string, execPath string, instruction string) Plugin {
+func (BccPluginFactory) CreatePlugin(name string) Plugin {
return &BccPlugin{
PluginBase: &PluginBase{
- PluginId: id,
+ //PluginI... |
Improve metadata header detection | @@ -233,6 +233,10 @@ def unspecified_value(size):
# ################################################################################
+def is_meta(node):
+ return 'hdr_ref' in node and node.hdr_ref.urtype('is_metadata', False)
+ # return 'is_metadata' in node and node.is_metadata
+
def get_raw_hdr_name(e):
nt = e.node_t... |
snap: bump to v2.0.6 | name: fluent-bit
base: core18
-version: '2.0.5'
+version: '2.0.6'
summary: High performance logs and stream processor
description: |
Fluent Bit is a high performance log processor and stream processor for Linux.
|
doc: Add known issues in v0.2 release note.
Add known issues and description in v0.2 release note. | @@ -129,6 +129,25 @@ Fixed Issues
Known Issues
************
+:acrn-issue:`677` - SSD Disk ID not consistent between SOS/UOS
+The SSD disk ID in the UOS is not the same as in the SOS when
+the SSD device is pass-through to the UOS. The ID is also changing after
+a reboot. **Impact:** There is no impact to functionality.... |
Check if nvml is avaible on intel vendorID | #include "cpu_gpu.h"
#include "logging.h"
#include "keybinds.h"
+#include "loaders/loader_nvml.h"
bool open = false, displayHud = true;
string gpuString;
@@ -887,6 +888,12 @@ static void snapshot_swapchain_frame(struct swapchain_data *data)
}
}
+ if (device_data->properties.vendorID == 0x8086){
+ libnvml_loader nvml("l... |
ExtendedTools: Add EnableTraceEx2 | @@ -629,7 +629,22 @@ NTSTATUS EtpRundownEtwMonitorThreadStart(
// into EtpEtwEventCallback and enable after the first IO_READ/IO_WRITE event. (dmex)
if (!EtpRundownEnabled && EtpRundownSessionHandle != INVALID_PROCESSTRACE_HANDLE)
{
- EnableTraceEx(&KernelRundownGuid_I, NULL, EtpRundownSessionHandle, 1, 0, 0x10, 0, 0, ... |
[scons] move LIB* initializing block | @@ -292,6 +292,30 @@ if 1:
else:
autoconf.env.Append(APPEND_LIBS = '')
+ autoconf.env.Append(
+ LIBBZ2 = '',
+ LIBCRYPT = '',
+ LIBCRYPTO = '',
+ LIBDBI = '',
+ LIBDL = '',
+ LIBFCGI = '',
+ LIBGDBM = '',
+ LIBGSSAPI_KRB5 = '',
+ LIBKRB5 = '',
+ LIBLBER = '',
+ LIBLDAP = '',
+ LIBLUA = '',
+ LIBMEMCACHED = '',
+ LIBMYS... |
add limeRFE include dir when GUI is not enabled (fix | @@ -94,6 +94,7 @@ set(LIME_SUITE_INCLUDES
LTEpackets
FPGA_common
lms7002m_mcu
+ limeRFE
${PROJECT_SOURCE_DIR}/external/cpp-feather-ini-parser
HPM7
${PROJECT_SOURCE_DIR}/external/kissFFT/
@@ -272,8 +273,6 @@ if (ENABLE_GUI)
include_directories(fftviewer_wxgui)
include_directories(lms7suiteEvents)
include_directories(boa... |
raspberrypi2.conf: Make SERIAL_CONSOLE overwritable | @@ -7,7 +7,7 @@ DEFAULTTUNE ?= "cortexa7thf-neon-vfpv4"
require conf/machine/include/tune-cortexa7.inc
include conf/machine/include/rpi-base.inc
-SERIAL_CONSOLE = "115200 ttyAMA0"
+SERIAL_CONSOLE ?= "115200 ttyAMA0"
UBOOT_MACHINE = "rpi_2_config"
VC4_CMA_SIZE ?= "cma-256"
|
updated some comments from changes | @@ -1113,8 +1113,8 @@ static void dcmp_strmap_compare(mfu_flist src_list,
/* TODO: copy/replace bytes of the files that are both in src/dest */
if (do_sync) {
- /* returns 1 and copies the dst/target file to the remove list if
- * the file only exists in dst/target list */
+ /* copy files that are only in the destinati... |
net/socket: compilation error fixes on sendmsg
arm-none-eabi-gcc 7.2.1 shows below compilation error message on sendmsg
socket/sendmsg.c: In function 'sendmsg':
error: pointer targets in initialization differ in signedness
[-Werror=pointer-sign]
int *addrlen = &(msg->msg_namelen); | @@ -93,7 +93,7 @@ ssize_t sendmsg(int sockfd, struct msghdr *msg, int flags)
uint8_t *buf = (uint8_t *)(msg->msg_iov->iov_base);
size_t len = msg->msg_iov->iov_len;
struct sockaddr *to = (struct sockaddr *)msg->msg_name;
- int *addrlen = &(msg->msg_namelen);
+ int *addrlen = (int *)&(msg->msg_namelen);
return sendto(so... |
Make getting and setting the RAND default method thread safe | #include "internal/cryptlib.h"
#include <openssl/opensslconf.h>
#include "internal/rand.h"
-
#include <openssl/engine.h>
+#include "internal/thread_once.h"
#ifndef OPENSSL_NO_ENGINE
/* non-NULL if default_RAND_meth is ENGINE-provided */
static ENGINE *funct_ref = NULL;
+static CRYPTO_RWLOCK *rand_engine_lock = NULL;
#e... |
Support starting the repoly on req_pending | @@ -341,6 +341,8 @@ void finalostream_send(h2o_ostream_t *self, h2o_req_t *req, h2o_iovec_t *bufs, s
switch (stream->state) {
case H2O_HTTP2_STREAM_STATE_RECV_BODY:
h2o_http2_stream_set_state(conn, stream, H2O_HTTP2_STREAM_STATE_REQ_PENDING);
+ /* fallthru */
+ case H2O_HTTP2_STREAM_STATE_REQ_PENDING:
h2o_http2_stream_... |
esp_tls: fail connection if esp_tls_conn_new() timeouts | @@ -315,6 +315,7 @@ esp_tls_t *esp_tls_conn_new(const char *hostname, int hostlen, int port, const e
}
/* esp_tls_conn_new() API establishes connection in a blocking manner thus this loop ensures that esp_tls_conn_new()
API returns only after connection is established unless there is an error*/
+ size_t start = xTaskGe... |
[viostor] Trivial fix. Do not read current processor number whn it is not needed | @@ -1626,6 +1626,7 @@ VioStorCompleteRequest(
PSRB_EXTENSION srbExt = NULL;
LIST_ENTRY complete_list;
UCHAR srbStatus = SRB_STATUS_SUCCESS;
+#ifdef DBG
#if (NTDDI_VERSION >= NTDDI_WIN7)
PROCESSOR_NUMBER ProcNumber = { 0 };
ULONG processor = KeGetCurrentProcessorNumberEx(&ProcNumber);
@@ -1633,7 +1634,7 @@ VioStorComple... |
[tests] disable auth.delay-invalid-creds for tests
avoid response delay after bad authentication *while running tests* | @@ -16,6 +16,8 @@ server.breakagelog = env.SRCDIR + "/tmp/lighttpd/logs/lighttpd.breakage.
server.name = "www.example.org"
server.tag = "lighttpd-1.4.x"
+server.feature-flags += ( "auth.delay-invalid-creds" => "disable" )
+
server.dir-listing = "enable"
server.modules = (
|
Add shortcut to resize to ratio 1:1
Make Ctrl+g resize the window to the size of the video (pixel-perfect). | @@ -275,6 +275,12 @@ static void handle_key(const SDL_KeyboardEvent *event) {
return;
}
+ // Ctrl+g: pixel-perfect (ratio 1:1)
+ if (keycode == SDLK_g && !shift) {
+ SDL_SetWindowSize(window, frame_size.width, frame_size.height);
+ return;
+ }
+
// Ctrl+f: switch fullscreen
if (keycode == SDLK_f && !shift) {
Uint32 new... |
feat(coder) Implement %, // and ^
Except for % on float operands. We will probably need to create a helper
function for that one. Or use a GCC compiler extension... | @@ -34,6 +34,8 @@ local whole_file_template = [[
#include "ltable.h"
#include "lvm.h"
+#include "math.h"
+
${DEFINE_FUNCTIONS}
int init_${MODNAME}(lua_State *L)
@@ -706,25 +708,45 @@ generate_exp = function(exp) -- TODO
elseif op == "%" then
if ltyp == types.T.Integer and rtyp == types.T.Integer then
- error("not imple... |
improved packet injection test | @@ -5860,10 +5860,11 @@ tsfd.tv_nsec = FDNSECTIMER;
cpa = 0;
while(channelscanlistrca[cpa] != 0)
{
- channelscanlist[cpa] = channelscanlist1[cpa];
+ channelscanlist[cpa] = channelscanlistrca[cpa];
cpa++;
}
channelscanlist[cpa] = 0;
+cpa = 0;
if(set_channel() == false) errorcount++;
if((attackstatus &DISABLE_AP_ATTACKS)... |
py/asmx64: Extend asm_x64_mov_reg_pcrel to accept high registers. | @@ -579,10 +579,9 @@ void asm_x64_mov_local_addr_to_r64(asm_x64_t *as, int local_num, int dest_r64) {
}
void asm_x64_mov_reg_pcrel(asm_x64_t *as, int dest_r64, mp_uint_t label) {
- assert(dest_r64 < 8);
mp_uint_t dest = get_label_dest(as, label);
mp_int_t rel = dest - (as->base.code_offset + 7);
- asm_x64_write_byte_3(... |
Add missing override to fix warnings | @@ -47,8 +47,8 @@ struct BreakConstantGEPs : public FunctionPass {
#else
llvm::StringRef getPassName() const override {return "Remove Constant GEP Expressions";}
#endif
- virtual bool runOnFunction (Function & F);
- virtual void getAnalysisUsage(AnalysisUsage &AU) const {
+ virtual bool runOnFunction (Function & F) ove... |
[readme] changed frametime_alpha to alpha | @@ -71,7 +71,8 @@ A partial list of parameters are below. See the config file for a complete list.
| `toggle_hud=`<br>`toggle_logging=` | Modifiable toggle hotkeys. Default are F12 and F2, respectively. |
| `time`<br>`time_format=%T` | Displays local time. See [std::put_time](https://en.cppreference.com/w/cpp/io/manip/... |
Make the enum start at 0 | @@ -19,10 +19,10 @@ static CLAP_CONSTEXPR const char CLAP_EXT_STATE_CONTEXT[] = "clap.state-context.
enum clap_plugin_state_context_type {
// suitable for duplicating a plugin instance
- CLAP_STATE_CONTEXT_FOR_DUPLICATE = 1,
+ CLAP_STATE_CONTEXT_FOR_DUPLICATE = 0,
// suitable for loading a state as a preset
- CLAP_STAT... |
Read a REQUEST not RESPONSE in ocsp responder
Fixes: | @@ -1165,7 +1165,7 @@ static int do_responder(OCSP_REQUEST **preq, BIO **pcbio, BIO *acbio,
int timeout)
{
#ifndef OPENSSL_NO_SOCK
- return http_server_get_asn1_req(ASN1_ITEM_rptr(OCSP_RESPONSE),
+ return http_server_get_asn1_req(ASN1_ITEM_rptr(OCSP_REQUEST),
(ASN1_VALUE **)preq, NULL, pcbio, acbio,
prog, 1 /* accept_g... |
Fix lovr.audio.setPose() in oculus spatializer mode | @@ -237,6 +237,7 @@ static uint32_t oculus_tail(float* scratch, float* output, uint32_t frames) {
}
}
}
+ state.midPlayback = false; // Allow the first Source of the next pass to recognize it is first
return didAnything ? frames : 0;
}
|
Inject button state for touch/mouse events
The buttons state was forwarded, but ignored by the server. | @@ -82,7 +82,7 @@ public class Controller {
injectText(msg.getText());
break;
case ControlMessage.TYPE_INJECT_TOUCH_EVENT:
- injectTouch(msg.getAction(), msg.getPointerId(), msg.getPosition(), msg.getPressure(), 0);
+ injectTouch(msg.getAction(), msg.getPointerId(), msg.getPosition(), msg.getPressure(), msg.getButtons(... |
webterm: wrap lines | @@ -55,7 +55,7 @@ export default function Line({index, line}) {
//
return (
<Text mono display='block' fontSize='14px'
- style={{ overflowWrap: 'break-word', whiteSpace: 'pre' }}
+ style={{ overflowWrap: 'break-word', whiteSpace: 'pre-wrap' }}
>
{text}
</Text>
|
Add 'kai' to core name | //#define SNDSZ 735 //44100Hz/60fps=735 (sample/flame)
#define SNDSZ 782 //44100Hz/56.4fps=781.9 (sample/flame)
-#define LR_CORENAME "Neko Project II"
+#define LR_CORENAME "Neko Project II kai"
#define LR_LIBVERSION NP2VER_CORE
#define LR_VALIDFILEEXT "d88|88d|d98|98d|fdi|xdf|hdm|dup|2hd|tfd|nfd|hd4|hd5|hd9|fdd|h01|hdb... |
in_storage_backlog: remove unused variables | @@ -415,10 +415,8 @@ int sb_release_output_queue_space(struct flb_output_instance *output_plugin,
size_t required_space)
{
struct mk_list *chunk_iterator_tmp;
- size_t releasable_space;
struct mk_list *chunk_iterator;
size_t released_space;
- size_t chunk_size;
struct flb_sb *context;
struct sb_out_queue *backlog;
stru... |
cmd/local-gadget: Temporarily removing --no-trunc flag from list-containers command
Now that we are using the textformatter library to print the full table,
there is no easy way to support this feature on one single column. So, I
am temporarily removing it. | @@ -26,13 +26,8 @@ import (
localgadgetmanager "github.com/kinvolk/inspektor-gadget/pkg/local-gadget-manager"
)
-type ContainerFlags struct {
- noTrunc bool
-}
-
func NewListContainersCmd() *cobra.Command {
var commonFlags utils.CommonFlags
- var containerFlags ContainerFlags
cmd := &cobra.Command{
Use: "list-container... |
helm: fix |rekey to work with multikey files | ::
++ poke-rekey :: rotate private keys
|= des=@t
- =/ sed=(unit seed:jael)
+ =/ fud=(unit feed:jael)
%+ biff
(bind (slaw %uw des) cue)
- (soft seed:jael)
+ (soft feed:jael)
=< abet
- ?~ sed
+ ?~ fud
~& %invalid-private-key
this
- ?. =(our.bowl who.u.sed)
- ~& [%wrong-private-key-ship who.u.sed]
+ =/ fed (need fud)
+ ?... |
Support for older GCC versions | @@ -49,7 +49,7 @@ ifdef DEBUG
$(info * Detected DEBUG environment flag, enforcing debug mode compilation)
FLAGS:=$(FLAGS) DEBUG
# # comment the following line if you want to use a different address sanitizer or a profiling tool.
- OPTIMIZATION:=-O0 -march=native -fsanitize=address,undefined -fno-omit-frame-pointer
+ OP... |
Bump firmware version to 0x26215000
Route optimizations, build up routes on incoming commands | @@ -62,7 +62,7 @@ DEFINES += GIT_COMMMIT=\\\"$$GIT_COMMIT\\\" \
# Minimum version of the RaspBee firmware
# which shall be used in order to support all features for this software release (case sensitive)
DEFINES += GW_AUTO_UPDATE_FW_VERSION=0x260b0500
-DEFINES += GW_MIN_RPI_FW_VERSION=0x261f0500
+DEFINES += GW_MIN_RPI_... |
docs/sample.gftp/Makefile.am: $(files) | ## Process this file with automake to produce Makefile.in
-pkgdata_DATA=bookmarks \
+files = bookmarks \
deb.xpm \
diff.xpm \
dir.xpm \
@@ -20,22 +20,7 @@ pkgdata_DATA=bookmarks \
sound.xpm \
world.xpm
-EXTRA_DIST=bookmarks \
- deb.xpm \
- diff.xpm \
- dir.xpm \
- doc.xpm \
- dotdot.xpm \
- exe.xpm \
- gftp-logo.xpm \
... |
dbug: sort correctly, by value order
Was using +aor, which sorts by LSB order. | ::
:- 'snd'
:- %a
- %+ turn (sort ~(tap by snd) aor) :: sort by bone
+ %+ turn (sort ~(tap by snd) vor) :: sort by bone
(cury snd-with-bone ossuary)
::
:- 'rcv'
:- %a
- %+ turn (sort ~(tap by rcv) aor) :: sort by bone
+ %+ turn (sort ~(tap by rcv) vor) :: sort by bone
(cury rcv-with-bone ossuary)
::
:- 'nax'
:- %a
- %+... |
edited release schedule | @@ -17,11 +17,12 @@ The Phoscon App is a browser based web application and supports lights, sensors
### Release Schedule
-deCONZ is having a beta release at the 15th day of the month in which the beta of last month becomes stable. Pull requests done before the 10th of the month, are getting included in the next beta (i... |
Added clarification to readme | @@ -167,8 +167,11 @@ For acvp_app, If you are using a FIPS Object Module with OpenSSL: you need a hea
/include folder that maps FIPS functions to SSL ones (for example, fipssyms.h) which is sometimes
not moved to the install path from the source path by default on Windows.
+For these steps, use the Visual Studio Comman... |
bugID:17132093:[whitescan][587424]: fix out-of-bounds access. | @@ -9101,9 +9101,12 @@ static u8_t enc_rsp_send(struct connection *conn)
+ sizeof(struct pdu_data_llctrl_enc_rsp);
pdu_ctrl_tx->payload.llctrl.opcode = PDU_DATA_LLCTRL_TYPE_ENC_RSP;
/* NOTE: if not sufficient random numbers, ignore waiting */
- rand_isr_get(sizeof(pdu_ctrl_tx->payload.llctrl.ctrldata.enc_rsp.skds),
+ /... |
tests: require clang-format-5.0 | @@ -5,7 +5,7 @@ echo ELEKTRA CHECK FORMATTING
echo
command -v git >/dev/null 2>&1 || { echo "git command needed for this test, aborting" >&2; exit 0; }
-command -v clang-format-3.8 >/dev/null 2>&1 || command -v clang-format >/dev/null 2>&1 || { echo "clang-format command needed for this test, aborting" >&2; exit 0; }
+... |
[bsp/imxrt] fix compile warnings. | @@ -379,7 +379,7 @@ osa_status_t OSA_SemaphoreDestroy(osa_semaphore_handle_t semaphoreHandle)
*END**************************************************************************/
osa_status_t OSA_SemaphoreWait(osa_semaphore_handle_t semaphoreHandle, uint32_t millisec)
{
- uint32_t timeoutTicks;
+ int32_t timeoutTicks;
asser... |
accept_tcp_from_lwip: if incoming queue is full, give lwIP an error to abort tcp connection rather than accept and never handle | @@ -464,7 +464,7 @@ static boolean socket_check(sock s, u32 eventmask, u32 * last, event_handler eh)
return true;
}
-#define SOCK_QUEUE_LEN 32
+#define SOCK_QUEUE_LEN 128
static CLOSURE_1_0(socket_close, sysreturn, sock);
static sysreturn socket_close(sock s)
@@ -501,7 +501,7 @@ static void udp_input_lower(void *z, str... |
Switch to unsigned type for clarity, since the number of free buffers can be 0 before the subtraction by 1. | @@ -1733,18 +1733,21 @@ output(const linkaddr_t *localdest)
/* sum of all IPv6 payload that goes to non-first and non-last fragments */
int middle_fragn_total_payload = MAX(total_payload - frag1_payload - last_fragn_max_payload, 0);
/* Ceiling of: 2 + middle_fragn_total_payload / fragn_max_payload */
- int fragment_cou... |
minor clean up of try readme | @@ -7,9 +7,9 @@ This is the code to build the https://wren.io/try wasm component.
- Install emscripten sdk from https://emscripten.org/
- Make the emsdk available to your terminal/PATH
- for example:
- - source ~/dev/emsdk/emsdk_env.sh
+ - `source ~/dev/emsdk/emsdk_env.sh`
- Run the emmake command to build
- - emmake m... |
v1.9 Release Notes | @@ -48,6 +48,7 @@ This table describes all MsQuic releases, both officially supported (LTSC or SAC
| PRE | [prerelease/1.6](https://github.com/microsoft/msquic/tree/prerelease/1.6) | N/A | Jul 28 2021 | N/A | N/A |
| PRE | [prerelease/1.7](https://github.com/microsoft/msquic/tree/prerelease/1.7) | N/A | Aug 13 2021 | N... |
Fix DBG_PRINTF macro | @@ -74,7 +74,7 @@ int picoquic_get_input_path(char * target_file_path, size_t file_path_max, const
#define DBG_PRINTF_FILENAME_MAX 24
#define DBG_PRINTF(fmt, ...) \
debug_printf("%s:%u [%s]: " fmt "\n", \
- __FILE__ + MAX(DBG_PRINTF_FILENAME_MAX, sizeof(__FILE__)) - DBG_PRINTF_FILENAME_MAX, \
+ &__FILE__[MAX(DBG_PRINTF... |
test/params_conversion_test.c: fix the use of strtoumax and strtoimax on VMS
We do this by making them aliases for strtoull and strtoll, since long
long is the current largest integer that have this sort of routine on
VMS. | # define strcasecmp _stricmp
# endif
+# ifdef OPENSSL_SYS_VMS
+# define strtoumax strtoull
+# define strtoimax strtoll
+# endif
+
typedef struct {
OSSL_PARAM *param;
int32_t i32;
|
Port Ben's parallell Makefile hack to VMS
As far as I know, there is no MMS / MMK with parallellism today.
However, it might be added in the future (perhaps in MMK at least), so
we may as well prepare for it now. | = qq(deassign statem
deassign record);
}
+ # This makes sure things get built in the order they need
+ # to. You're welcome.
+ sub dependmagic {
+ my $target = shift;
+
+ return "$target : build_generated\n\t\pipe $(MMS) depend && \$(MMS) _$target\n_$target";
+ }
#use Data::Dumper;
#print STDERR "DEBUG: before:\n", Dum... |
components/bt: fixed memory damage caused by bluetooth memory release | @@ -1224,6 +1224,11 @@ esp_err_t esp_bt_controller_init(esp_bt_controller_config_t *cfg)
esp_err_t err;
uint32_t btdm_cfg_mask = 0;
+ //if all the bt available memory was already released, cannot initialize bluetooth controller
+ if (btdm_dram_available_region[0].mode == ESP_BT_MODE_IDLE) {
+ return ESP_ERR_INVALID_STA... |
VOM: Inspect: fix the bug
If key is passed without ":", results in segmentation fault.
This patch fixes this issue. | @@ -54,10 +54,9 @@ inspect::handle_input(const std::string& message, std::ostream& output)
}
} else if (message.find("keys") != std::string::npos) {
OM::dump(output);
- } else if (message.find("key") != std::string::npos) {
+ } else if (message.find("key:") != std::string::npos) {
std::vector<std::string> results;
boos... |
zephyr: tests: Test charger.c charger_get_actual_current()
Test charger_get_actual_current in common/charger.c
BRANCH=None
TEST=./twister
Code-Coverage: Zoss | @@ -26,6 +26,7 @@ BUILD_ASSERT(IS_ENABLED(CONFIG_PLATFORM_EC_CHARGER_RUNTIME_CONFIG),
FAKE_VALUE_FUNC(enum ec_error_list, enable_otg_power, int, int);
FAKE_VALUE_FUNC(enum ec_error_list, set_otg_current_voltage, int, int, int);
FAKE_VALUE_FUNC(int, is_sourcing_otg_power, int, int);
+FAKE_VALUE_FUNC(enum ec_error_list, ... |
Fix vere link and remove herb link | @@ -36,8 +36,7 @@ For details about our release process, see the [maintainers guidelines][main]
[arvo]: https://github.com/urbit/urbit/tree/master/pkg/arvo
[azim]: https://github.com/urbit/azimuth
[brid]: https://github.com/urbit/bridge
-[herb]: https://github.com/urbit/urbit/tree/master/pkg/herb
-[vere]: https://githu... |
misc: acrn_trace: enlarge DEV_PATH_LEN
Now ACRN support platform which CPU numbers are large than 10. So the old value
for DEV_PATH_LEN is not enough (18 is not enough for /dev/acrn_trace_xx). | #define TRACE_FILE_NAME_LEN 32
#define TRACE_FILE_DIR_LEN (TRACE_FILE_NAME_LEN - 3)
#define TRACE_FILE_ROOT "acrntrace/"
-#define DEV_PATH_LEN 18
+#define DEV_PATH_LEN 20
#define TIME_STR_LEN 16
#define CMD_MAX_LEN 48
|
analysis workflow, fixup SDK and CPU definitions. | @@ -89,8 +89,8 @@ jobs:
os: macos-latest
AUTOTOOLS_HOST: i386-apple-ios
OPENSSL_HOST: iphoneos-cross
- IOS_SDK: i386
- IOS_CPU: iPhoneSimulator
+ IOS_SDK: iPhoneSimulator
+ IOS_CPU: i386
test_ios: "yes"
config: "no"
make: "no"
@@ -98,8 +98,8 @@ jobs:
os: macos-latest
AUTOTOOLS_HOST: x86_64-apple-ios
OPENSSL_HOST: iphon... |
scripts: Change gdb file output dir, absolute paths into it | @@ -23,7 +23,6 @@ then
CROSS="arm-phoenix-"
fi
-GDB_APP_FILE="../gdb_app_symbols"
KERNELELF=$1
shift
@@ -31,6 +30,8 @@ shift
OUTPUT=$1
shift
+GDB_SYM_FILE=`dirname ${OUTPUT}`"/gdb_symbols"
+
SIZE_PAGE=$((0x200))
KERNEL_END=$((`readelf -l $KERNELELF | grep "LOAD" | grep "R E" | awk '{ print $6 }'`))
FLASH_START=$((0x080... |
in_syslog: fix missing variable initialization (CID 164842) | static int syslog_server_unix_create(struct flb_syslog *ctx)
{
- flb_sockfd_t fd;
+ flb_sockfd_t fd = -1;
unsigned long len;
size_t address_length;
struct sockaddr_un address;
|
[core] fix HTTP/2 downloads >= 4GiB (fixes
(thx flynn)
regression in lighttpd 1.4.60 - lighttpd 1.4.65
x-ref:
"GET requests hangs on big files after 10% using HTTP/2" | @@ -2636,8 +2636,8 @@ h2_send_cqdata (request_st * const r, connection * const con, chunkqueue * const
if (h2r->h2_swin < 0) return 0;
if ((int32_t)dlen > r->h2_swin) dlen = (uint32_t)r->h2_swin;
if ((int32_t)dlen > h2r->h2_swin) dlen = (uint32_t)h2r->h2_swin;
- const uint32_t cqlen = (uint32_t)chunkqueue_length(cq);
-... |
fix README(Fedora) | @@ -211,10 +211,18 @@ X with GTK2 and SDL
#### Install tools
1. Run follow command.
+
+- Debian/Ubuntu series
```
$ sudo apt install git cmake ninja-build build-essential libx11-dev libglib2.0-dev libgtk2.0-dev libsdl2-dev libsdl2-mixer-dev libsdl2-ttf-dev libsdl1.2-dev libsdl-mixer1.2-dev libsdl-ttf2.0-dev libusb-1.0-... |
The nxt_expect() macro. | @@ -30,17 +30,25 @@ nxt_pragma_loop_disable_vectorization
#if (NXT_HAVE_BUILTIN_EXPECT)
+#define \
+nxt_expect(c, x) \
+ __builtin_expect((long) (x), (c))
+
#define \
nxt_fast_path(x) \
- __builtin_expect((long) (x), 1)
+ nxt_expect(1, x)
#define \
nxt_slow_path(x) \
- __builtin_expect((long) (x), 0)
+ nxt_expect(0, x)... |
Change priority of static extensions in config file. | @@ -543,15 +543,9 @@ static-file .gif
static-file .ico
static-file .jpeg
static-file .pdf
-static-file .txt
static-file .csv
-static-file .zip
-static-file .ogg
-static-file .mp3
-static-file .mp4
static-file .mpeg
static-file .mpg
-static-file .exe
static-file .swf
static-file .woff
static-file .woff2
@@ -561,6 +555,1... |
Experimented and found "smaller" math | @@ -303,26 +303,19 @@ static inline uint32_t lv_color_to32(lv_color_t color)
ret.ch.alpha = 0xFF;
return ret.full;
#elif LV_COLOR_DEPTH == 16
-#if LV_COLOR_16_SWAP == 0
- lv_color32_t ret;
/**
* Per https://docs.google.com/spreadsheets/d/1PppX8FJpddauAPasHwlNgIPGIuPGPNvRbhilIQ8w-7g/edit#gid=0
- * Truly any of the liste... |
Proper Android Logging | @@ -34,27 +34,27 @@ public class FactoryPresetsHandler implements OCFactoryPresetsHandler {
byte[] rootCa1 = getFileBytes("pki_certs/rootca1.pem");
if (rootCa1 == null) {
- System.err.println("Failed to read root ca1 certificate");
+ Log.e(TAG, "Failed to read root ca1 certificate");
return;
}
int rootCaCredId = OCPki.... |
Remove double def for openblas | @@ -84,7 +84,6 @@ function(guess_blas_name_and_headers)
set(LAPACK_EXTRA_LIBS lapacke)
set(LAPACK_SUFFIX)
set(LAPACK_PREFIX "LAPACKE_")
- set(HAS_OpenBLAS 1 CACHE BOOL "Blas/Lapack come from OpenBlas ")
elseif(BLAS_LIBRARIES MATCHES "Accelerate" OR BLA_VENDOR MATCHES "Apple")
set(BLAS_NAME "Accelerate")
set(BLAS_HEADER... |
netkvm: ignore CFlowStateMachine::Stop in wrong state
NETKVM_ASSERT is not implemented in release version.
Pause flow can come after out-of-order reset flow or
vice versa. There is no such functional flow but this
happens in erroneous NDIS flow on 2012r2 with incorrect
driver verifier setting.
See | @@ -28,7 +28,10 @@ public:
virtual void Stop(NDIS_STATUS Reason = NDIS_STATUS_PAUSED)
{
- NETKVM_ASSERT(m_State == FlowState::Running);
+ if (m_State != FlowState::Running)
+ {
+ return;
+ }
m_State = FlowState::Stopping;
m_StopReason = Reason;
m_NoOutstandingItems.Clear();
|
localtime -> localtime_s (Finally all warnings eliminated) | @@ -175,7 +175,6 @@ static void UpnpDisplayFileAndLine(FILE *fp,
{
char timebuf[26];
time_t now = time(NULL);
- struct tm *timeinfo;
const char *smod;
#if 0
char *slev;
@@ -223,8 +222,23 @@ static void UpnpDisplayFileAndLine(FILE *fp,
break;
}
+#ifdef _WIN32
+ struct tm timeinfo = {.tm_sec = 0,
+ .tm_min = 0,
+ .tm_hou... |
Close all opened CPU perf buffer (not only currently online ones) | @@ -114,7 +114,10 @@ StatusTuple BPFPerfBuffer::close_on_cpu(int cpu) {
StatusTuple BPFPerfBuffer::close_all_cpu() {
std::string errors;
bool has_error = false;
- for (int i: get_online_cpus()) {
+ std::vector<int> opened_cpus;
+ for (auto it : cpu_readers_)
+ opened_cpus.push_back(it.first);
+ for (int i : opened_cpus... |
Fix a test failure with no-tls1_3
If we're using TLSv1.2 then the test_sigalgs_available test needs to be
careful which ciphersuite is selected in order for the test to behave
correctly. | @@ -7820,7 +7820,8 @@ static int test_servername(int tst)
return testresult;
}
-#ifndef OPENSSL_NO_EC
+#if !defined(OPENSSL_NO_EC) \
+ && (!defined(OPENSSL_NO_TLS1_3) || !defined(OPENSSL_NO_TLS1_2))
/*
* Test that if signature algorithms are not available, then we do not offer or
* accept them.
@@ -7889,6 +7890,17 @@ s... |
travis: install our own deps so libssh2 can talk to GitHub | @@ -15,6 +15,9 @@ rvm:
addons:
apt:
+ sources:
+ - sourceline: 'deb https://dl.bintray.com/libgit2/ci-dependencies trusty libgit2deps'
+ key_url: 'https://bintray.com/user/downloadSubjectPublicKey?username=bintray'
packages:
- cmake
- libssh2-1-dev
|
azimuth: restart %eth-watcher if not running | -/- eth-watcher, *dice
+/- eth-watcher, *dice, *hood
/+ ethereum,
azimuth,
naive,
number:(last-block-id:dice logs.state)
~& >> %no-logs-in-azimuth-state
last-snap
+ =+ [our=(scot %p our.bowl) now=(scot %da now.bowl)]
+ =+ .^(dudes=(set [dude:gall ?]) %ge our %base now /)
+ =/ running=? (~(has in dudes) [%eth-watcher &]... |
Add description of the RAIM exclusion bit in MSG_OBS.flags | @@ -88,7 +88,12 @@ definitions:
status of this observation. If this field is 0 it means only the Cn0
estimate for the signal is valid.
fields:
- - 4-7:
+ - 7:
+ desc: RAIM exclusion
+ values:
+ - 0: No exclusion
+ - 1: Measurement was excluded by SPP RAIM, use with care
+ - 4-6:
desc: Reserved
- 3:
desc: Doppler valid
|
Disable OpenProtocol hook due to freezes on APTIO | STATIC EFI_HANDLE_PROTOCOL mOriginalHandleProtocol;
STATIC EFI_LOCATE_PROTOCOL mOriginalLocateProtocol;
-STATIC EFI_OPEN_PROTOCOL mOriginalOpenProtocol;
STATIC EFI_FILE_OPEN mOpenCallback;
+STATIC UINT32 mEntranceCount;
STATIC
VOID
@@ -62,8 +62,10 @@ VirtualFsHandleProtocol (
Status = mOriginalHandleProtocol (Handle, P... |
Add implementation note for MSG | @@ -4,7 +4,8 @@ This directory contains python-sphinx documentation source.
## How to compile
-```
+```shell
+pip install sphinx sphinx-bootstrap-theme
make html
```
|
travis: use llvm-toolchain-focal-12 | @@ -113,9 +113,11 @@ matrix:
compiler: clang
addons:
apt:
+ sources:
+ - llvm-toolchain-focal-12
packages:
- - llvm-11
- - clang-11
+ - llvm-12
+ - clang-12
env:
- ENABLE_ASAN=ON
- CC=clang
@@ -161,9 +163,11 @@ matrix:
compiler: clang
addons:
apt:
+ sources:
+ - llvm-toolchain-focal-12
packages:
- - clang-11
- - clang-... |
Tests: added test with invalid "working_directory" value. | @@ -130,6 +130,18 @@ class TestPythonApplication(TestApplicationPython):
self.get()['headers']['Server-Port'], '7080', 'Server-Port header'
)
+ @unittest.skip('not yet')
+ def test_python_application_working_directory_invalid(self):
+ self.load('empty')
+
+ self.assertIn(
+ 'success',
+ self.conf('"/blah"', 'applicatio... |
Update hello-world README.md | -Hello-world
-===========
-
-This adds the hello-world process in hello-world.c to the platform build, which
-prints "Hello-world" to stdout on startup.
-
-The entire platform is built, with uip stack, radio drivers, routing, etc.
-So it is not usually a simple build! The native platform is the default:
-
- make
- ./he... |
Fix error while running scripts with single quotes in name | @@ -709,7 +709,7 @@ fileprivate func parseArgs(_ args: inout [String]) {
}
// Import the script
if !debug {
- PyInputHelper.userInput = "import console as c; s = c.run_script('\(url.path)')"
+ PyInputHelper.userInput = "import console as c; s = c.run_script('\(url.path.replacingFirstOccurrence(of: "'", with: "\\'"))')"... |
[CUDA] Fix creation of nvvm.annotations nodes | @@ -147,8 +147,9 @@ void pocl_add_kernel_annotations(llvm::Module *module)
llvm::Metadata *md_n = llvm::MDString::get(context, "kernel");
llvm::Metadata *md_1 = llvm::ConstantAsMetadata::get(one);
- llvm::ArrayRef<llvm::Metadata*> md({md_f, md_n, md_1});
- nvvm_annotations->addOperand(llvm::MDNode::get(context, md));
+... |
imx6ull: Remove unnecessary programs copying | *
* Low-level initialization for iMX6ULL processor
*
- * Copyright 2018 Phoenix Systems
- * Author: Pawel Pisarczyk, Aleksander Kaminski
+ * Copyright 2018, 2020 Phoenix Systems
+ * Author: Pawel Pisarczyk, Aleksander Kaminski, Maciej Purski
*
* This file is part of Phoenix-RTOS.
*
@@ -410,48 +410,7 @@ enet_pll:
ands r... |
Check only if the recording is enabled | @@ -16,25 +16,10 @@ limitations under the License.
package e2e_test
-import (
- "time"
-)
-
func (e *e2e) testCaseSPODEnableProfileRecorder(nodes []string) {
e.enableLogEnricherInSpod()
e.logf("assert profile recorder is enabled in the spod DS when log enricher is enabled")
profileRecorderEnabledInSPODDS := e.kubectlOp... |
lindar: remove config for firmware qual
1.Remove CONFIG_SYSTEM_UNLOCKED
2.Remove CONFIG_BYPASS_CBI_EEPROM_WP_CHECK
BRANCH=firmware-volteer-13672.B-main
TEST=make buildall | /* Baseboard features */
#include "baseboard.h"
-/* Optional features */
-#define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands while in dev. */
-#define CONFIG_BYPASS_CBI_EEPROM_WP_CHECK /* bypass cbi wp check in dev. */
#define CONFIG_VBOOT_EFS2
|
Correct LOG ERRORS document
Error table feature was removed, but `\h CREATE EXTERNAL TABLE` still
has the description. This commit corrects it. | @@ -46,7 +46,7 @@ CREATE [READABLE] EXTERNAL TABLE table_name
[FILL MISSING FIELDS] )]
| 'CUSTOM' (Formatter=<formatter specifications>)
[ ENCODING 'encoding' ]
- [ [LOG ERRORS INTO error_table] SEGMENT REJECT LIMIT count
+ [ [LOG ERRORS] SEGMENT REJECT LIMIT count
[ROWS | PERCENT] ]
CREATE [READABLE] EXTERNAL WEB TABL... |
In add_if(), B MAY be aliased to A. Also update another comment for consistency. | @@ -171,7 +171,8 @@ int mbedtls_mpi_core_write_be( const mbedtls_mpi_uint *A,
* representing the bignum to accumulate onto.
* \param[in] B The pointer to the (little-endian) array
* representing the bignum to conditionally add
- * to \p A. This must be disjoint from \p A.
+ * to \p A. This may be aliased to \p A but ma... |
add the const back in | @@ -241,7 +241,7 @@ ParallelCoordinatesViewerEnginePluginInfo::InitializePlotAtts(
}
else
{
- Expression *exp =
+ Expression const *exp =
ParsingExprList::GetExpression(plot.GetVariableName());
if (exp == NULL || exp->GetType() != Expression::ArrayMeshVar)
{
|
Docs: Add Flavour field xref to main flavour info | @@ -3233,8 +3233,9 @@ the default boot entry choice will remain changed until the next manual reconfig
builds only.
\item \texttt{0x0040} --- \texttt{OC\_ATTR\_USE\_MINIMAL\_UI}, use minimal UI display, no
Shutdown or Restart buttons, affects OpenCanopy and builtin picker.
- \item \texttt{0x0080} --- \texttt{OC\_ATTR\_... |
Update README
Closes fixes some outdated instructions, and replaces
uppercase OPS with lowercase ops. | @@ -17,11 +17,12 @@ Read more about the Nanos Charter [here](CHARTER.md).
### Getting Started
Please use the [ops](https://ops.city) orchestrator to run your applications with Nanos unless you plan on hacking on Nanos itself.
+Many ready-to-use examples for running applications on Nanos using ops are available [here](h... |
Added time factor to playback | -//Unofficial driver for the official Valve/HTC Vive hardware.
-//
-//Based off of https://github.com/collabora/OSVR-Vive-Libre
-// Originally Copyright 2016 Philipp Zabel
-// Originally Copyright 2016 Lubosz Sarnecki <lubosz.sarnecki@collabora.co.uk>
-// Originally Copyright (C) 2013 Fredrik Hultin
-// Originally Copy... |
Ruby: add RUBYLIB env var to test execution
This is required to have the test scripts find the Ruby bindings | @@ -69,7 +69,9 @@ if (ADDTESTING_PHASE)
# bindings are required for tests
check_binding_was_added ("swig_ruby" BINDING_WAS_ADDED)
if (BUILD_TESTING AND BINDING_WAS_ADDED)
- add_plugintest (ruby MEMLEAK)
+ add_plugintest (ruby
+ MEMLEAK
+ ENVIRONMENT "RUBYLIB=${CMAKE_BINARY_DIR}/src/bindings/swig/ruby:${CMAKE_SOURCE_DIR... |
Fix example for initialize method name change | @@ -323,7 +323,7 @@ const char* play() {
}
// Override the source's indexed pixel format to be non-indexed.
- wuffs_base__pixel_config__initialize(
+ wuffs_base__pixel_config__set(
&ic.pixcfg, WUFFS_BASE__PIXEL_FORMAT__BGRA_PREMUL,
WUFFS_BASE__PIXEL_SUBSAMPLING__NONE, width, height);
|
in_storage_backlog: extra checks and use content size for validation | @@ -77,6 +77,8 @@ static int cb_queue_chunks(struct flb_input_instance *in,
* All chunks on this backlog are 'file' based, always try to set
* them up. We validate the status.
*/
+ ret = cio_chunk_is_up(sbc->chunk);
+ if (ret == CIO_FALSE) {
ret = cio_chunk_up(sbc->chunk);
if (ret == CIO_CORRUPTED) {
flb_plg_error(ctx-... |
[chain] add the size limits for some chain id members | @@ -20,11 +20,18 @@ var (
}
)
+const (
+ // MagicMax is the max size of the Magic field of ChainID.
+ MagicMax = 10
+ // ConsensusIDMax is the max size of the Consensus field of ChainID.
+ ConsensusIDMax = 10
+)
+
// ChainID represents the identity of the chain.
type ChainID struct {
- Magic string `json:"magic"`
Publi... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.