message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
made to clear sum vector after it has been set to memory | @@ -95,6 +95,7 @@ static int sao_edge_ddistortion_avx2(const kvz_pixel *orig_data,
__m256i tmp1_vec_epi32;
__m256i tmp2_vec_epi32;
+ int sum = 0;
for (y = 1; y < block_height - 1; ++y) {
for (x = 1; x < block_width - 8; x+=8) {
const kvz_pixel *c_data = &rec_data[y * block_width + x];
@@ -155,8 +156,11 @@ static int sa... |
Set noise macro values when compiling song to C | @@ -555,7 +555,9 @@ export const exportToC = (song: Song, trackName: string): string => {
if (instr.length !== null) param1 |= 0x40;
if (instr.bit_count === 7) param1 |= 0x80;
- return `${decHex(param0)}, ${decHex(param1)}, 0, 0, 0, 0, 0, 0`;
+ return `${decHex(param0)}, ${decHex(param1)}, ${instr.noise_macro
+ .map((n... |
nrf/modules/machine/adc: Don't compare -1 to an unsigned number.
Clang warns about this. | @@ -97,7 +97,7 @@ STATIC int adc_find(mp_obj_t id) {
int adc_idx = adc_id;
if (adc_idx >= 0 && adc_idx <= MP_ARRAY_SIZE(machine_adc_obj)
- && machine_adc_obj[adc_idx].id != -1) {
+ && machine_adc_obj[adc_idx].id != (uint8_t)-1) {
return adc_idx;
}
nlr_raise(mp_obj_new_exception_msg_varg(&mp_type_ValueError,
|
Fix bad merge from rc to develop.
Remove the python3 manuals logic from root CMakelists.txt,
as it is now in the doc/CMakeLists.txt | @@ -2292,53 +2292,6 @@ ELSE (NOT WIN32)
ENDIF(VISIT_MAKE_NSIS_INSTALLER)
ENDIF (NOT WIN32)
-if(VISIT_PYTHON3_DIR AND VISIT_ENABLE_MANUALS)
- if(WIN32)
- # Need a different path for windows because sphinx-build
- # is in a different location.
-
- # don't pollute the src repo, build the docs in the binary dir.
- # This d... |
Fix protocol lock for upgrade without `on_open` | @@ -168,6 +168,8 @@ static void websocket_on_unwrapped(void *udata, void *msg, uint64_t len,
char first, char last, char text,
unsigned char rsv) {
ws_s *ws = udata;
+ fprintf(stderr, "Unwrapped %llu bytes, %d first, %d last, %d text\n%s\n", len,
+ first, last, text, (char *)msg);
if (last && first) {
ws->on_message(ws... |
doc: Mention requirement to --enable-tap-tests on section for TAP tests
Author: Greg Sabino Mullane
Discussion:
Backpatch-through: 9.6 | @@ -783,6 +783,8 @@ make check PROVE_TESTS='t/001_test1.pl t/003_test3.pl'
<para>
The TAP tests require the Perl module <literal>IPC::Run</literal>.
This module is available from CPAN or an operating system package.
+ They also require <productname>PostgreSQL</productname> to be
+ configured with the option <option>--e... |
phb4: Fix endian of TLP headers print
Byte swap TLP headers so they are the same as the PCIe spec.
Also remove redundant print.
Suggested-by: Rob Lippert | @@ -203,12 +203,12 @@ static void phb4_eeh_dump_regs(struct phb4 *p)
PHBERR(p, " uncorrErrorStatus = %08x\n", s->uncorrErrorStatus);
PHBERR(p, " corrErrorStatus = %08x\n", s->corrErrorStatus);
PHBERR(p, " uncorrErrorStatus = %08x\n", s->uncorrErrorStatus);
- PHBERR(p, " tlpHdr1 = %08x\n", s->tlpHdr1);
- PHBERR(p, " tlp... |
pull on Windows! | # usage: (in powershell)
# Invoke-Expression (Invoke-Webrequest <my location> -UseBasicParsing).Content
-$outfile=($env:TMP,$env:TEMP,'.' -ne $null)[0]+"\$pid-xmake-installer.exe"
+$temppath=($env:TMP,$env:TEMP,'.' -ne $null)[0]
+$outfile=$temppath+"\$pid-xmake-installer.exe"
try{
Write-Output "$pid"|Out-File -FilePath... |
Remove PidService | @@ -214,12 +214,3 @@ func PidExists(pid int) bool {
}
return false
}
-
-func PidService(pid int) (bool, error) {
- // Get ppid from status
- pStat, err := linuxproc.ReadProcessStatus(fmt.Sprintf("/proc/%v/status", pid))
- if err != nil {
- return false, errGetProcStatus
- }
- return pStat.PPid == 1, nil
-}
|
Use the libcoap client in our CoAP execution tests | @@ -24,11 +24,11 @@ echo "Sending CoAP requests"
rm -f $BASENAME.log
for TARGET in .well-known/core test/push; do
echo "Get $TARGET" | tee -a $BASENAME.log
- coap get coap://[$IPADDR]/$TARGET 2>&1 | tee coap.log
+ coap-client -v6 -m get coap://[$IPADDR]/$TARGET 2>&1 | tee coap.log
cat coap.log >> $BASENAME.log
# Fetch ... |
Add certificate success check | @@ -8831,6 +8831,7 @@ run_test "TLS1.3: Test client hello msg work - openssl" \
-c "server hello, chosen ciphersuite: ( 1301 ) - TLS1-3-AES-128-GCM-SHA256" \
-c "ECDH curve: x25519" \
-c "=> ssl_tls1_3_process_server_hello" \
+ -c "Certificate verification flags clear" \
-c "<= parse encrypted extensions"
requires_gnut... |
add vmm_identity_map_region() | @@ -243,6 +243,22 @@ static void vmm_remap_kernel(page_directory_t* dir, uint32_t dest_virt_addr) {
}
}
+void vmm_identity_map_region(page_directory_t* dir, uint32_t start, uint32_t size) {
+ if (start & ~PAGING_FRAME_MASK) {
+ panic("vmm_identity_map_region start not page aligned!");
+ }
+ if (size & ~PAGING_FRAME_MAS... |
added some doc strings and fixed formating | @@ -60,8 +60,9 @@ def render(template_path: str, driver_jsoncontext: list) -> str:
return template.render(drivers=driver_jsoncontext)
-def generate_driver_wrapper_file(template_dir: str, \
- output_dir: str, driver_jsoncontext: list) -> None:
+def generate_driver_wrapper_file(template_dir: str,
+ output_dir: str,
+ dri... |
Remove mesa/llvm/osmesa from groups so they aren't built unnecessarily | <lib name="conduit"/>
<lib name="cgns"/>
<lib name="gdal"/>
- <lib name="glu"/>
<lib name="fastbit"/>
<lib name="fastquery"/>
<lib name="hdf5"/>
<lib name="h5part"/>
- <lib name="llvm"/>
- <lib name="mesagl"/>
<lib name="mpich"/>
<lib name="mxml"/>
<lib name="netcdf"/>
<lib name="nektarpp"/>
<lib name="openexr"/>
<lib ... |
Add default width for confirmation dialog | @@ -1136,6 +1136,7 @@ BOOLEAN PhShowConfirmMessage(
config.cButtons = 2;
config.pButtons = buttons;
config.nDefaultButton = IDYES;
+ config.cxWidth = 200;
if (SUCCEEDED(TaskDialogIndirect(
&config,
|
fec: support encoding with inverted polynomials | @@ -100,7 +100,7 @@ int fec_conv_encode(fec _q,
// compute parity bits for each polynomial
for (r=0; r<_q->R; r++) {
- byte_out = (byte_out<<1) | parity(sr & _q->poly[r]);
+ byte_out = (byte_out<<1) | ((_q->poly[r] < 0) ^ parity(sr & abs(_q->poly[r])));
_msg_enc[n/8] = byte_out;
n++;
}
|
Fix systemd configure. | includes:
- util.h: contrib/libs/numa/internal/util.h
+- source_filter: "^contrib/libs/systemd"
+ includes:
+ - util.h: contrib/libs/systemd/src/basic/util.h
+
- source_filter: "^contrib/libs/nvidia/nccl"
includes:
- socket.h: contrib/libs/nvidia/nccl/src/include/socket.h
|
Retrieve the status from ldscope | @@ -67,23 +67,22 @@ func (rc *Config) startAttachStage(process util.Process, cfgData []byte) error {
if err != nil {
return err
}
+ defer os.Remove(tmpFile.Name())
if _, err := tmpFile.Write(cfgData); err != nil {
- os.Remove(tmpFile.Name())
return err
}
if err := tmpFile.Close(); err != nil {
- os.Remove(tmpFile.Name(... |
Terrador: Free flash space
Enable brief debug asserts and clear about 2.6k of free flash space for
this board.
BRANCH=None
TEST=make -j buildall | #define CONFIG_USB_PD_DEBUG_LEVEL 2
#undef CONFIG_CONSOLE_CMDHELP
#undef CONFIG_CMD_BATTFAKE
+#define CONFIG_DEBUG_ASSERT_BRIEF
/* Optional features */
#define CONFIG_SYSTEM_UNLOCKED /* Allow dangerous commands while in dev. */
|
maint: building from a git clone is way easier without Autotools!
* README.md: Simplify build instructions to match new Autotool
free luaposix tree! | @@ -25,8 +25,7 @@ Installation
------------
The simplest and best way to install luaposix is with [LuaRocks][]. To
-install the
-latest release (recommended):
+install the latest release (recommended):
```bash
luarocks install luaposix
@@ -36,30 +35,24 @@ To install current git master (for testing, before submitting a ... |
Make zero?, one?, neg? and pos? polymorphic. | (defn nan? "Check if x is NaN" [x] (not= x x))
(defn even? "Check if x is even." [x] (= 0 (mod x 2)))
(defn odd? "Check if x is odd." [x] (= 1 (mod x 2)))
-(defn zero? "Check if x is zero." [x] (= x 0))
-(defn pos? "Check if x is greater than 0." [x] (> x 0))
-(defn neg? "Check if x is less than 0." [x] (< x 0))
-(defn... |
Tools: Load tool versions automatically for IDF Tools tests | # SPDX-FileCopyrightText: 2019-2021 Espressif Systems (Shanghai) CO LTD
# SPDX-License-Identifier: Apache-2.0
+import json
import os
import shutil
import sys
@@ -45,13 +46,29 @@ XTENSA_ESP32_ELF = 'xtensa-esp32-elf'
XTENSA_ESP32S2_ELF = 'xtensa-esp32s2-elf'
XTENSA_ESP32S3_ELF = 'xtensa-esp32s3-elf'
-ESP32ULP_VERSION = ... |
fixed getSubTick() to take care of HV counter latching (when light guns are used) | @@ -108,21 +108,16 @@ u32 getTimer(u16 numTimer, u16 restart)
// WARNING : this function isn't accurate because of the VCounter rollback
void waitSubTick(u32 subtick)
{
- u32 start;
- u32 current;
- u32 i;
-
- // waitSubTick(...) can not be called from V-Int callback or when V-Int is disabled
- if (SYS_getInterruptMask... |
Include DNS in state verification. | =. +> (ta-read %ships i.who)
$(who t.who)
::
+ ++ ta-read-dns
+ =+ inx=(gulf 0 2)
+ |-
+ ?~ inx ..ta-read-dns
+ =. ..ta-read-dns (ta-read %dns-domains i.inx)
+ $(inx t.inx)
+ ::
::
++ ta-new-filter
%- ta-request-single
++ ta-run-check
|= save=?
=. wir (weld /read ?:(save /reset /verify))
+ =< ta-read-dns
(ta-read-ships... |
Test that non-name characters after a colon are rejected
I.e. test that leafnames have to be valid names | @@ -6741,6 +6741,17 @@ START_TEST(test_ns_double_colon)
}
END_TEST
+/* Test that non-name characters after a colon are rejected */
+START_TEST(test_ns_bad_attr_leafname)
+{
+ const char *text =
+ "<foo:e xmlns:foo='http://example.org/' foo:?ar='baz' />";
+
+ expect_failure(text, XML_ERROR_INVALID_TOKEN,
+ "Invalid char... |
add lwip_tryget_socket | @@ -231,6 +231,19 @@ tryget_socket(int s)
return &sockets[s];
}
+/**
+ * Same as tryget_socket but a global routine.
+ *
+ * @param s externally used socket index
+ * @return struct lwip_sock for the socket or NULL if not found
+ */
+struct lwip_sock *
+lwip_tryget_socket(int s)
+{
+ return tryget_socket(s);
+}
+
+
/**... |
pack: json: do not create an empty msgpack buffer if no tokens exists | @@ -96,6 +96,10 @@ static char *tokens_to_msgpack(char *js,
msgpack_packer pck;
msgpack_sbuffer sbuf;
+ if (arr_size == 0) {
+ return NULL;
+ }
+
/* initialize buffers */
msgpack_sbuffer_init(&sbuf);
msgpack_packer_init(&pck, &sbuf, msgpack_sbuffer_write);
@@ -112,7 +116,6 @@ static char *tokens_to_msgpack(char *js,
}
... |
extmod/Matrix: implement subtraction | @@ -435,7 +435,7 @@ void robotics_Matrix_print(const mp_print_t *print, mp_obj_t self_in, mp_print_k
}
// pybricks.robotics.Matrix._add
-STATIC mp_obj_t robotics_Matrix__add(mp_obj_t lhs_obj, mp_obj_t rhs_obj) {
+STATIC mp_obj_t robotics_Matrix__add(mp_obj_t lhs_obj, mp_obj_t rhs_obj, bool add) {
// Get left and right ... |
Callout evidence and certificate change
Update CHANGELOG.md | @@ -38,7 +38,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- HAS_QUOTE_PROVIDER cmake option has been removed. This is a continuation of the work in the previous release to allow the same build of OE SDK to run on both FLC and non-FLC machines.
- Intel SGX EnclaveCommonAPI packa... |
esp32/modmachine: Rename machine.sleep to machine.lightsleep.
While keeping machine.sleep as an alias for machine.lightsleep for
backwards compatibility. | @@ -119,10 +119,10 @@ STATIC mp_obj_t machine_sleep_helper(wake_type_t wake_type, size_t n_args, const
return mp_const_none;
}
-STATIC mp_obj_t machine_sleep(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
+STATIC mp_obj_t machine_lightsleep(size_t n_args, const mp_obj_t *pos_args, mp_map_t *kw_args) {
re... |
bfp, xdp: make type explicit
explicit the type of the nlattr | @@ -637,7 +637,7 @@ int bpf_attach_xdp(const char *dev_name, int progfd) {
// we specify the FD passed over by the user
nla_xdp->nla_type = 1/*IFLA_XDP_FD*/;
- nla_xdp->nla_len = NLA_HDRLEN + sizeof(int);
+ nla_xdp->nla_len = NLA_HDRLEN + sizeof(progfd);
memcpy((char *)nla_xdp + NLA_HDRLEN, &progfd, sizeof(progfd));
nl... |
change the linking of the build directory | #-----------------------------------------------------------
PSL_SOURCE_ENV=$(FPGACARD)
-export BUILD_DIR=$(DONUT_HARDWARE_ROOT)/HDK_build
+export BUILD_NAME=HDK_build
+export BUILD_DIR=$(DONUT_HARDWARE_ROOT)/$(BUILD_NAME)
PSL_ACCEL_FILES=$(DONUT_HARDWARE_ROOT)/hdl/psl_accel_sim.vhd $(DONUT_HARDWARE_ROOT)/hdl/psl_accel... |
Add table 140 limits | @@ -110,10 +110,10 @@ concept param_value_max(default_max_val) {
125000 = { paramId=151; }
308 = { paramId=151126; }
360.5 = { paramId=140230; }
- 35 = { paramId=140221; }
+ 50 = { paramId=140221; }
100 = { paramId=3074; }
330 = { paramId=122; }
- 35 = { paramId=140214; }
+ 150 = { paramId=140214; }
3.5 = { paramId=151... |
Add flag macros | @@ -333,6 +333,20 @@ typedef struct _KSYSTEM_TIME
#include <poppack.h>
+// NT macros used to test, set and clear flags
+#ifndef FlagOn
+#define FlagOn(_F, _SF) ((_F) & (_SF))
+#endif
+#ifndef BooleanFlagOn
+#define BooleanFlagOn(F, SF) ((BOOLEAN)(((F) & (SF)) != 0))
+#endif
+#ifndef SetFlag
+#define SetFlag(_F, _SF) ((... |
nrf: remove naked in hardfault-handler.c
Naked functions are only supposed to contain
inline assembly, and this function contains
regular C statements. Remove the naked
attribute for the non-assembly version
of the function. | @@ -215,7 +215,7 @@ HardFault_Handler(void)
* @brief Hardfault handler
*
*/
-void HardFault_Handler(void) __attribute__((naked));
+void HardFault_Handler(void);
/*---------------------------------------------------------------------------*/
/**
* @brief Hardfault handler
|
Check Bashisms: Ensure `find` exited successfully | @@ -17,6 +17,7 @@ find -version > /dev/null 2>&1 > /dev/null && FIND='find scripts -regextype egre
scripts=$($FIND -type f -not -regex \
'.+(check-env-dep|gitignore|kdb_zsh_completion|run_dev_env|sed|(Docker|Jenkins|Vagrant)file.*|\.(cmake|fish|in|md|txt))$' | \
xargs)
+exit_if_fail 'Unable to locate shell scripts via ... |
Modified the text related to simplified jobs options. | "downloading": "Downloading",
"downZKconf": "Download configuration files from The System Configuration Manager (experts only)",
"downZKconfLabel": "Download the FileShare configuration from the System Configuration Manager (stored in /opt/datafari/bin/backup/solr)",
- "duplicateJobWarn": "The duplicate jobs are not au... |
fix(board): Fix status LED on BlueMicro | leds {
compatible = "gpio-leds";
blue_led: led_0 {
- gpios = <&gpio0 42 GPIO_ACTIVE_LOW>;
+ gpios = <&gpio0 42 GPIO_ACTIVE_HIGH>;
label = "Blue LED";
};
};
|
cooja: loop over unsigned counter
This fixes a -Wsign-compare warning
which is included in -Wextra. | @@ -154,13 +154,10 @@ set_lladdr(void)
memset(&addr, 0, sizeof(linkaddr_t));
#if NETSTACK_CONF_WITH_IPV6
- {
- int i;
- for(i = 0; i < sizeof(uip_lladdr.addr); i += 2) {
+ for(size_t i = 0; i < sizeof(uip_lladdr.addr); i += 2) {
addr.u8[i + 1] = simMoteID & 0xff;
addr.u8[i + 0] = simMoteID >> 8;
}
- }
#else /* NETSTACK... |
[mquicly] Support quicly stats APIs | @@ -326,12 +326,19 @@ int quicly_is_destination(quicly_conn_t *conn, struct sockaddr *dest_addr, struc
return 0;
}
-int quicly_get_stats(quicly_conn_t *conn, quicly_stats_t *stats)
+uint32_t quicly_num_streams_by_group(quicly_conn_t *conn, int uni, int locally_initiated)
{
assert(0 && "unimplemented");
return 0;
}
+int... |
fix issue of missing command - exit | @@ -44,6 +44,7 @@ void printHelp(FILE *out);
int account_callback(void *data, xdag_hash_t hash, xdag_amount_t amount, xdag_time_t time, int n_our_key);
long double hashrate(xdag_diff_t *diff);
const char *get_state(void);
+
void processAccountCommand(char *nextParam, FILE *out);
void processBalanceCommand(char *nextPar... |
perlasm/x86_64-xlate.pl: recognize even offset(%reg) in cfa_expression.
This is handy when "offset(%reg)" is a perl variable. | @@ -610,6 +610,8 @@ my %globals;
foreach my $token (split(/,\s*/,$line)) {
if ($token =~ /^%r/) {
push @ret,reg($token);
+ } elsif ($token =~ /((?:0x)?[0-9a-f]+)\((%r\w+)\)/) {
+ push @ret,reg("$2+$1");
} elsif ($token =~ /(\w+):(\-?(?:0x)?[0-9a-f]+)(U?)/i) {
my $i = 1*eval($2);
push @ret,$DW_OP_complex{$1}, ($3 ? uleb... |
added weak candidate based onwpa-sec analysis | @@ -304,8 +304,8 @@ static const char *wordlist[] =
"daily", "daisy", "damp", "darken", "data", "deep", "deer", "degree",
"desert", "desk", "diamond", "dirt", "dizzy", "dog", "doll", "domain",
"dusty", "duty", "dynamic",
-"eager", "eagle", "earth", "easy", "elated", "elegant", "energy", "engine",
-"epic", "errand", "ev... |
cache: add error when mounting module dependencies | @@ -40,12 +40,13 @@ struct _cacheHandle
Plugin * cacheStorage;
};
-static int resolveCacheDirectory (Plugin * handle, CacheHandle * ch)
+static int resolveCacheDirectory (Plugin * handle, CacheHandle * ch, Key * errorKey)
{
KeySet * resolverConfig = ksNew (5, keyNew ("user/path", KEY_VALUE, "/.cache/elektra", KEY_END),... |
Count UDP datagram on forwarding side
Turns out multiple QUIC packets end up with the same number of UDP
datagrams upon forwarding, so we should count the latter so that
the number matches with the receiver side. | @@ -2501,6 +2501,7 @@ static int forward_quic_packets(h2o_quic_ctx_t *h3ctx, const uint64_t *node_id,
for (size_t i = 0; i != num_packets; ++i) {
struct iovec vec[2] = {{header_buf, header_len}, {packets[i].octets.base, packets[i].octets.len}};
writev(fd, vec, 2);
+ ++h2octx->http3.events.packet_forwarded;
}
#if H2O_US... |
Don't verify signatures - no local SDK | @@ -198,7 +198,7 @@ pipeline {
withCredentials([usernamePassword(credentialsId: 'win-signing',
usernameVariable: 'USERNAME',
passwordVariable: 'PASSWORD')]) {
- sh 'python3 ./signing/authenticode-client.py -v -u ${USERNAME} *.zip'
+ sh 'python3 ./signing/authenticode-client.py -u ${USERNAME} *.zip'
}
}
dir('upload/maco... |
Ensure we curry any connect error to an async context. | @@ -604,7 +604,8 @@ static int __redisAsyncHandleConnect(redisAsyncContext *ac) {
if (redisCheckConnectDone(c, &completed) == REDIS_ERR) {
/* Error! */
- redisCheckSocketError(c);
+ if (redisCheckSocketError(c) == REDIS_ERR)
+ __redisAsyncCopyError(ac);
__redisAsyncHandleConnectFailure(ac);
return REDIS_ERR;
} else if ... |
Handle block-wise transfer in observer notifications | @@ -259,16 +259,18 @@ coap_notify_observers_sub(coap_resource_t *resource, const char *subpath)
/* prepare response */
notification->mid = transaction->mid;
+ int32_t new_offset = 0;
+
/* Either old style get_handler or the full handler */
if(coap_call_handlers(request, notification, transaction->message +
COAP_MAX_HEA... |
More use of DEV_TestManaged() to test full Device implementation | @@ -2159,6 +2159,11 @@ void DeRestPluginPrivate::handleMacDataRequest(const deCONZ::NodeEvent &event)
*/
void DeRestPluginPrivate::addLightNode(const deCONZ::Node *node)
{
+ if (DEV_TestManaged())
+ {
+ return;
+ }
+
DBG_Assert(node != nullptr);
if (!node)
{
@@ -3043,6 +3048,11 @@ void DeRestPluginPrivate::setLightNode... |
feat: Add test_010CallContract_0003SetTwoBytesArraysAndTwoNonFixedSuccess | @@ -134,6 +134,40 @@ START_TEST(test_010CallContract_0002SetTwoBytesArraySuccess)
}
END_TEST
+
+START_TEST(test_010CallContract_0003SetTwoBytesArraysAndTwoNonFixedSuccess)
+{
+ BOAT_RESULT ret;
+
+ BoatEthWallet *wallet;
+ BoatEthTx *tx_ctx;
+
+ BCHAR *result_str;
+ BCHAR *teststring1 = "Hello";
+ BCHAR *teststring2 = ... |
FIB: adj src assert fix part 2 | @@ -292,8 +292,15 @@ fib_entry_src_adj_deactivate (fib_entry_src_t *src,
/*
* remove the depednecy on the covering entry
*/
- cover = fib_entry_get(src->u.adj.fesa_cover);
+ if (FIB_NODE_INDEX_INVALID == src->u.adj.fesa_cover)
+ {
+ /*
+ * this is the case if the entry is in the non-forwarding trie
+ */
+ return;
+ }
+... |
Add pcap mode to veth and remove core | @@ -75,7 +75,8 @@ testcase=psa -> p4opts += --p4opt=USE_PSA
testcase=v1 -> model=v1model
testcase=psa -> model=psa
-vetheal -> ealopts += -c 0x01 -n 4 --no-pci --vdev net_pcap0,iface=veth0 --vdev net_pcap1,iface=veth1
+vetheal -> ealopts += --no-pci --vdev net_pcap0,iface=veth0 --vdev net_pcap1,iface=veth1
+vethealpcap... |
CI fix logo cp | @@ -199,9 +199,9 @@ build-windows-64:
cp VERSION results
ls -la results
- test -e results/logogs && rm -rf results/logos
+ test -e results/logos && rm -rf results/logos
mkdir results/logos
- cp logos/logo.ico logos
+ cp logos/logo.ico results/logos
#cp bin/*installer.exe results
set +x
|
options/ansi: Handle wcrtomb() errors | @@ -72,8 +72,11 @@ size_t mbrtowc(wchar_t *wcp, const char *mbs, size_t mb_limit, mbstate_t *stp) {
mlibc::code_seq<const char> nseq{mbs, mbs + mb_limit};
mlibc::code_seq<wchar_t> wseq{wcp, wcp + 1};
if(auto e = cc->decode_wtranscode(nseq, wseq, *stp); e != mlibc::charcode_error::null) {
- __ensure(!"decode_wtranscode(... |
YAy PEG: Update dependency section in ReadMe | @@ -15,7 +15,7 @@ The YAy PEG plugin use a parser based on [PEGTL](https://github.com/taocpp/PEGTL
## Dependencies
-This plugin requires [PEGTL](https://github.com/taocpp/PEGTL/blob/2.7.x/doc/Installing-and-Using.md) `2.7.1` or later.
+This plugin requires [PEGTL](https://repology.org/project/pegtl/versions) `2.7.1` or... |
Update sedem image
r6335288 by SEDEM - Fix service creation with secrets
r6335599 by cleanup abc/v3 requests from sedem cassetes
r6335814 by Sedem fix invalid parameter order in duty helper call | },
"sedem": {
"formula": {
- "sandbox_id": 603906440,
+ "sandbox_id": 604014099,
"match": "SEDEM archive"
},
"executable": {
|
stream reuse, fix to return key pointer from reuse_tcp_by_id_find. | @@ -418,10 +418,13 @@ static struct waiting_tcp*
reuse_tcp_by_id_find(struct reuse_tcp* reuse, uint16_t id)
{
struct waiting_tcp key_w;
+ rbnode_type* n;
memset(&key_w, 0, sizeof(key_w));
key_w.id_node.key = &key_w;
key_w.id = id;
- return (struct waiting_tcp*)rbtree_search(&reuse->tree_by_id, &key_w);
+ n = rbtree_sea... |
Remove selective search to save flash | #define IMLIB_ENABLE_HOG
// Enable selective_search()
-#define IMLIB_ENABLE_SELECTIVE_SEARCH
+// #define IMLIB_ENABLE_SELECTIVE_SEARCH
// Enable STM32 DMA2D
#define IMLIB_ENABLE_DMA2D
|
zuse: rewrites |base16 for clarity, simplicity, specificity | |%
++ en
~/ %en
- |= a=(pair @ud @) :: $octs, but safe
- ^- cord
- :: trailing zero bytes, possible truncated input
- ::
- =/ [pad=@ud dat=@]
- =/ wid (met 3 q.a)
- ?: (gte p.a wid)
- [(sub p.a wid) q.a]
- =/ dat (cut 3 [0 p.a] q.a)
- =. wid (met 3 dat)
- [(sub p.a wid) dat]
- ::
- =/ dap (add (mod (met 2 dat) 2) (mul ... |
website: update package-lock | "connect-livereload": "^0.6.1",
"morgan": "^1.10.0",
"node-http2": "^4.0.1",
- "opn": "^6.0.0",
+ "open": "^6.0.0",
"portscanner": "^2.2.0",
"serve-index": "^1.9.1",
"serve-static": "^1.14.1"
"wrappy": "1"
}
},
- "opn": {
- "version": "6.0.0",
- "resolved": "https://registry.npmjs.org/opn/-/opn-6.0.0.tgz",
- "integrity... |
pluginprocess-improvements: format | @@ -255,8 +255,8 @@ int elektraPluginProcessSend (const ElektraPluginProcess * pp, pluginprocess_t c
// Some plugin functions don't use keysets, in that case don't send any actual payload, signal via flag
KeySet * keySet = originalKeySet != NULL ? ksDup (originalKeySet) : NULL;
char * payloadSize = intToStr (ksGetSize ... |
[cmake] check some compiler flags before use (for ubuntu 14.04) | @@ -113,14 +113,45 @@ if(BUILD_AS_CPP)
set(${COMPONENT}_LINKER_LANGUAGE CXX)
endif()
+check_c_compiler_flag("-Wno-error=float-conversion" W_no_error_float_conversion_flag)
+check_c_compiler_flag("-Wno-error=conversion" W_no_error_conversion_flag)
+check_c_compiler_flag("-Wno-conversion" W_no_conversion_flag)
+check_c_c... |
Bug fix for the debugger python client 'quit' command
JerryScript-DCO-1.0-Signed-off-by: Levente Orban | @@ -172,6 +172,7 @@ class DebuggerPrompt(Cmd):
def do_quit(self, args):
""" Exit JerryScript debugger """
self.do_delete("all")
+ self.do_exception("0") # disable the exception handler
self.exec_command(args, JERRY_DEBUGGER_CONTINUE)
self.stop = True
self.quit = True
|
Use elastic queues in server
Use TElasticQueue in server
Note: mandatory check (NEED_CHECK) was skipped | @@ -297,9 +297,9 @@ public:
{
}
- template <class T1>
- inline TThreadPoolBinder(TSlave* slave, const T1& t1)
- : TQueueType(t1)
+ template <class ...Args>
+ inline TThreadPoolBinder(TSlave* slave, Args&& ...args)
+ : TQueueType(std::forward<Args>(args)...)
, Slave_(slave)
{
}
|
Fixed parentheses warning | @@ -1256,8 +1256,8 @@ bool DeRestPluginPrivate::sendConfigureReportingRequest(BindingTask &bt)
{
rq3.reportableChange16bit = 100; // 0.1 A
}
- else if (sensor && sensor->modelId() == QLatin1String("SmartPlug") || // Heiman
- sensor && sensor->modelId() == QLatin1String("EMIZB-132")) // Develco
+ else if (sensor && (sen... |
BugID:17865306: Update scripts/aos_parse_components.py | @@ -33,23 +33,46 @@ def get_comp_name(mkfile):
return name
def write_config_file(source_root, config_file, mklist):
- config_contents = []
+ config_contents = {}
+ config_keys = []
aliasname = ""
patten = re.compile(source_root + "(/*|\\\\*)(.*)(/|\\\\.*mk)")
for mkfile in mklist:
name = get_comp_name(mkfile)
+
+ if no... |
autogen.sh: fix po/Makefile.in.in | @@ -28,7 +28,16 @@ $AUTOHEADER --force || exit 1
#Generate Makefile.in's
touch config.rpath
$AUTOMAKE --add-missing --copy --force || exit 1
-AUTOMAKE=$AUTOMAKE intltoolize -c --automake --force || exit 1
+
+if grep "IT_PROG_INTLTOOL" configure.ac ; then
+ intltoolize -c --automake --force || exit 1
+ # po/Makefile.in.... |
Added information about ndctl dependency | @@ -44,6 +44,14 @@ Ubuntu packages can be found at: https://launchpad.net/~jhli/+archive/ubuntu/lib
Alternately, -DSAFECLIB_SRC_DOWNLOAD_AND_STATIC_LINK=ON to download sources and statically link to safeclib
+### ndctl
+
+
+ipmctl requires ndctl as a dependency on Linux-based systems.
+
+It can be found here https://gi... |
allow range queries for inbox on collections primary subscription | ++ peer
|= wir=wire
^- (quip move _this)
- ::~& peer-prize+str.sta
+ =/ response=streams
+ ?+ wir
+ %= str.sta
+ env.inbox (scag 1.000 env.inbox.str.sta)
+ ==
+ :: negative range from latest
+ ::
+ [%primary @t ~]
+ =/ val=@ (slav %ud i.t.wir)
+ %= str.sta
+ env.inbox (scag val env.inbox.str.sta)
+ ==
+ :: negative ran... |
Fix shadowed variable and return code | @@ -437,7 +437,7 @@ static int unpack_double(grib_accessor* a, double* val, size_t* len)
int ret = 0;
if (a->flags & GRIB_ACCESSOR_FLAG_LONG_TYPE) {
long lval = 0;
- int ret = unpack_long(a, &lval, len);
+ ret = unpack_long(a, &lval, len);
if (ret == GRIB_SUCCESS) {
*val = lval;
}
|
Eliminate warning about an unused global variable. | * Private Data
****************************************************************************/
+#ifdef CONFIG_NX_KBD
static const uint8_t g_pumsg[] = "Pop-Up!";
+#endif
+
static const char *g_bgmsg[BGMSG_LINES] =
{
"\nJULIET\n", /* Line 1 */
|
gftp-gtk: fix connect_to_remote_on_startup | @@ -1404,11 +1404,10 @@ _setup_window1 ()
}
-static void
-_setup_window2 (int argc, char **argv)
+static void _setup_window2 (int argc, char **argv)
{
intptr_t connect_to_remote_on_startup;
-
+ char * rhost;
gftp_lookup_request_option (window2.request, "connect_to_remote_on_startup",
&connect_to_remote_on_startup);
@@ ... |
[mod_vhostdb_dbi] allow strings and ints in config
e.g. allow "port" value to be a string or integer instead of requiring
port be a string | @@ -286,7 +286,7 @@ static void mod_vhostdb_patch_config(request_st * const r, plugin_data * const p
SETDEFAULTS_FUNC(mod_vhostdb_set_defaults) {
static const config_plugin_keys_t cpk[] = {
{ CONST_STR_LEN("vhostdb.dbi"),
- T_CONFIG_ARRAY_KVSTRING,
+ T_CONFIG_ARRAY_KVANY,
T_CONFIG_SCOPE_CONNECTION }
,{ NULL, 0,
T_CONFI... |
deterministic, immediate-printing tests | ++ test-runner
:> run all tests in {a} with a filter.
=| pax=path
- |= [filter=path eny=@uvJ a=tests:tester]
+ |= [filter=path [defer=? eny=@uvJ] a=tests:tester]
^- tang
%- concat:ls
%+ turn a
|= b=instance:tester
^- tang
+ =; tan/tang
+ ?: defer tan
+ ((slog (flop tan)) ~)
=^ matches filter (match-filter filter p.b)
?... |
apps/bttester: Fix setting friend and gatt proxy options | @@ -105,12 +105,12 @@ static void supported_commands(u8_t *data, u16_t len)
static struct bt_mesh_cfg_srv cfg_srv = {
.relay = BT_MESH_RELAY_ENABLED,
.beacon = BT_MESH_BEACON_ENABLED,
-#if defined(CONFIG_BT_MESH_FRIEND)
+#if MYNEWT_VAL(BLE_MESH_FRIEND)
.frnd = BT_MESH_FRIEND_DISABLED,
#else
.frnd = BT_MESH_FRIEND_NOT_S... |
;who only shows members of currently joined circles. | =< (sh-fact %mor (murn (sort ~(tap by remotes) aor) .))
|= {pon/circle gop/group} ^- (unit sole-effect)
?. |(=(~ pas) (~(has in pas) pon)) ~
+ ?. (~(has in sources) pon) ~
=- `[%tan rose+[", " `~]^- leaf+~(pr-full pr pon) ~]
=< (murn (sort ~(tap by gop) aor) .)
|= {a/ship b/presence c/human} ^- (unit tank)
|
[Auto updates] Stop auto updates if the service that demanded them is excluded | @@ -473,6 +473,13 @@ static void Luos_AutoUpdateManager(void)
// check if there is a timed update setted and if it's time to update it.
if (service_table[i].auto_refresh.time_ms)
{
+ if (service_table[i].ll_service->dead_service_spotted == service_table[i].auto_refresh.target)
+ {
+ service_table[i].auto_refresh.target... |
Use last reported value as a result | @@ -204,17 +204,17 @@ def runInvoke(test):
actual = "<Crashed>"
if not actual:
result = re.findall(r'^Result: (.*?)$', "\n" + output + "\n", re.MULTILINE)
- if len(result) == 1:
- actual = "result " + result[0]
+ if len(result) > 0:
+ actual = "result " + result[-1]
actual_val = result[0]
if not actual:
result = re.fin... |
hw/mcu/nordic: Update support for 380KHz I2C | @@ -398,6 +398,9 @@ hal_i2c_config(uint8_t i2c_num, const struct hal_i2c_settings *cfg)
case 250:
freq = TWI_FREQUENCY_FREQUENCY_K250;
break;
+ case 380:
+ freq = TWI_FREQUENCY_FREQUENCY_K380;
+ break;
case 400:
freq = TWI_FREQUENCY_FREQUENCY_K400;
break;
|
xpath REFACTOR use uint32_t for qname len | static LY_ERR reparse_or_expr(const struct ly_ctx *ctx, struct lyxp_expr *exp, uint16_t *tok_idx, uint16_t depth);
static LY_ERR eval_expr_select(const struct lyxp_expr *exp, uint16_t *tok_idx, enum lyxp_expr_type etype,
struct lyxp_set *set, uint32_t options);
-static LY_ERR moveto_resolve_model(const char **qname, ui... |
Detailed Interface stats API takes sw_if_index | @@ -544,12 +544,15 @@ autoreply define delete_loopback
/** \brief Enable or disable detailed interface stats
@param client_index - opaque cookie to identify the sender
@param context - sender context, to match reply w/ request
+ @param sw_if_index - The interface to collect detail stats on. ~0 implies
+ all interfaces.... |
exrcheck: Revert to using 'getStep' for Rgba interfaces | @@ -37,6 +37,37 @@ const int gMaxTileSize = 1000*1000;
const int gMaxSamplesPerDeepPixel = 1000;
const int gMaxSamplesPerScanline = 1<<12;
+//
+// limits for reduceTime mode
+//
+const int gTargetPixelsToRead = 1<<28;
+const int gMaxScanlinesToRead = 1<<20;
+
+
+
+
+//
+// compute row stride appropriate to process file... |
docs: Simple one-line fix to a search+replace oops. | @@ -375,7 +375,7 @@ int lily_load_library(lily_state *s, const char *path);
// s - The interpreter state.
// path - The path to register for the library.
// info_table - An info table for the library.
-// call_table - The call table companion to the NULL table.
+// call_table - The call table companion to the info tabl... |
Debugging: show more output | @@ -30,15 +30,17 @@ GRIB_INLINE static int grib_inline_strcmp(const char* a, const char* b)
/* Debug utility function to track GRIB packing/repacking issues */
static void print_debug_info__set_double_array(grib_handle* h, const char* func, const char* name, const double* val, size_t length)
{
- size_t N = 5, i = 0;
+ ... |
Move and fixup check_test_requires_psa_disabled() into check_test_cases() | @@ -866,6 +866,10 @@ component_check_test_cases () {
fi
tests/scripts/check_test_cases.py $opt
unset opt
+
+ # Check if some test are explicitely disabled when USE_PSA_CRYPTO is set
+ not grep -n -R 'depends_on.*!MBEDTLS_USE_PSA_CRYPTO' tests/suites/*.function tests/suites/*.data
+ not grep -n -R '^ *requires_config_di... |
WebPPictureHasTransparency: remove unreachable return | @@ -61,16 +61,14 @@ static int CheckNonOpaque(const uint8_t* alpha, int width, int height,
// Checking for the presence of non-opaque alpha.
int WebPPictureHasTransparency(const WebPPicture* picture) {
if (picture == NULL) return 0;
- if (!picture->use_argb) {
- return CheckNonOpaque(picture->a, picture->width, picture... |
[OpenGL] Force-load libGL.so.1 with dlopen() if dlsym fails to find functions | @@ -162,11 +162,19 @@ void* get_proc_address(const char* name) {
}
void* get_glx_proc_address(const char* name) {
+ if (!gl.Load()) {
+ // Force load libGL then. If it still doesn't find it, get_proc_address should quit the program
+ void *handle = dlopen("libGL.so.1", RTLD_GLOBAL | RTLD_LAZY | RTLD_DEEPBIND);
+ if (!h... |
Sentinel: don't log auth-pass value for better security | @@ -4156,6 +4156,7 @@ void sentinelSetCommand(client *c) {
int j, changes = 0;
int badarg = 0; /* Bad argument position for error reporting. */
char *option;
+ int redacted;
if ((ri = sentinelGetMasterByNameOrReplyError(c,c->argv[2]))
== NULL) return;
@@ -4166,6 +4167,7 @@ void sentinelSetCommand(client *c) {
option = ... |
distro-packages/python-rpm-macros: old python prefix | --- a/macros.lua 2017-12-07 11:46:04.000000000 -0800
-+++ b/macros.lua 2017-12-11 09:21:54.000000000 -0800
++++ b/macros.lua 2017-12-11 10:29:00.000000000 -0800
-- ...but check that it is actually in the buildset
if insert_last_python then table.insert(pythons, last_python) end
end
function python_subpackages()
+@@ -28... |
Move the change to c->ret_addr_column to the end of dwarf_step, to make sure
that it gets set in the cache hit case. | @@ -516,7 +516,6 @@ setup_fde (struct dwarf_cursor *c, dwarf_state_record_t *sr)
set_reg (sr, i, DWARF_WHERE_SAME, 0);
struct dwarf_cie_info *dci = c->pi.unwind_info;
- c->ret_addr_column = dci->ret_addr_column;
sr->rs_current.ret_addr_column = dci->ret_addr_column;
unw_word_t addr = dci->cie_instr_start;
unw_word_t cu... |
Change the window icon color in debug mode
To highlight the debug/release mode of the running application, use a
different window icon color in debug mode. | @@ -29,6 +29,11 @@ static SDL_bool find_color(struct index *index, int len, char c, Uint32 *color)
// Parameter is not "const char *" because XPM formats are generally stored in a
// (non-const) "char *"
SDL_Surface *read_xpm(char *xpm[]) {
+#if SDL_ASSERT_LEVEL >= 2
+ // patch the XPM to change the icon color in debug... |
[snitch] Handle special case AxiDataWidth=CachelineWidth | @@ -65,12 +65,14 @@ module snitch_axi_to_cache #(
logic r_cnt_len_dec, r_cnt_offset_inc, r_cnt_req, r_cnt_gnt;
axi_pkg::len_t r_cnt_len, ar_len;
logic cnt_alloc_req, cnt_alloc_gnt;
- offset_t ar_offset, r_offset, r_offset_d, r_offset_q;
+ offset_t ar_offset, r_cnt_offset, r_offset, r_offset_d, r_offset_q;
// Store the ... |
VERSION bump to version 1.4.35 | @@ -37,7 +37,7 @@ endif()
# micro version is changed with a set of small changes or bugfixes anywhere in the project.
set(SYSREPO_MAJOR_VERSION 1)
set(SYSREPO_MINOR_VERSION 4)
-set(SYSREPO_MICRO_VERSION 34)
+set(SYSREPO_MICRO_VERSION 35)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI... |
HLS memcopy : applying snap_malloc - corrects issue#330 created by patch of issue#320 | @@ -107,7 +107,6 @@ int main(int argc, char *argv[])
struct timeval etime, stime;
ssize_t size = 1024 * 1024;
uint8_t *ibuff = NULL, *obuff = NULL;
- unsigned int page_size = sysconf(_SC_PAGESIZE);
uint8_t type_in = SNAP_ADDRTYPE_HOST_DRAM;
uint64_t addr_in = 0x0ull;
uint8_t type_out = SNAP_ADDRTYPE_HOST_DRAM;
@@ -228,... |
Work CI-CD
Update conditions to allow build from pipeline variables for WIN nanoCLR and CLI.
***NO_CI*** | @@ -667,6 +667,7 @@ jobs:
succeeded('Check_Code_Style'),
ne( dependencies.Check_Build_Options.outputs['BuildOptions.SKIP_BUILD'], true ),
or(
+ eq(variables['BUILD_WINDOWS_NANOCLR__'], true),
eq(dependencies.Check_Build_Options.outputs['TargetsToBuild.BUILD_ALL'], true),
eq(dependencies.Check_Build_Options.outputs['Tar... |
VERSION bump to version 0.7.46 | @@ -38,7 +38,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0")
# set version
set(LIBNETCONF2_MAJOR_VERSION 0)
set(LIBNETCONF2_MINOR_VERSION 7)
-set(LIBNETCONF2_MICRO_VERSION 45)
+set(LIBNETCONF2_MICRO_VERSION 46)
set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION})
set(LI... |
leap: safety check state.selected | @@ -78,7 +78,7 @@ export class Omnibox extends Component {
if (evt.key === 'Enter') {
evt.preventDefault();
- if (this.state.selected !== '') {
+ if (this.state.selected !== []) {
this.navigate(this.state.selected[0], this.state.selected[1]);
} else {
this.navigate(
@@ -133,7 +133,7 @@ export class Omnibox extends Comp... |
Fix use after free bug. | @@ -148,11 +148,13 @@ void yr_re_node_destroy(
RE_NODE* node)
{
RE_NODE* child = node->children_head;
+ RE_NODE* next_child;
while (child != NULL)
{
+ next_child = child->next_sibling;
yr_re_node_destroy(child);
- child = child->next_sibling;
+ child = next_child;
}
if (node->type == RE_NODE_CLASS)
|
Fix copy-paste defect in comment.
Commit introduced it. | * GCC: https://gcc.gnu.org/onlinedocs/gcc/Function-Attributes.html
* GCC: https://gcc.gnu.org/onlinedocs/gcc/Type-Attributes.html
* Sunpro: https://docs.oracle.com/cd/E18659_01/html/821-1384/gjzke.html
- * XLC: https://www.ibm.com/support/knowledgecenter/SSGH2K_13.1.2/com.ibm.xlc131.aix.doc/language_ref/type_attrib.htm... |
Fix miTLS Multiple Ticket Key Test | @@ -500,9 +500,8 @@ CxPlatTlsSecConfigSetTicketKeys(
_In_ uint8_t KeyCount
)
{
- if (KeyCount != 1) { // Only supports 1 key
- return QUIC_STATUS_NOT_SUPPORTED;
- }
+ CXPLAT_DBG_ASSERT(KeyCount >= 1);
+ UNREFERENCED_PARAMETER(KeyCount);
if (KeyConfig->MaterialLength < miTlsTicketKeyLength) {
return QUIC_STATUS_INVALID_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.