message
stringlengths
6
474
diff
stringlengths
8
5.22k
Mark mpchargetime member wiki documented.
@@ -2450,7 +2450,7 @@ typedef struct entity u32 nextattack; // Time for next chance to attack. ~~ u32 next_hit_time; // When temporary invincibility after getting hit expires. ~~ u32 pausetime; // 2012/4/30 UT: Remove lastanimpos and add this. Otherwise hit pause is always bound to frame and attack box. ~~ - u32 mpchar...
npu2: Add NPU2_SM_REG_OFFSET() Add a register offset calculation macro using SM block index, similar to the other NPU2_*_REG_OFFSET() macros. Rebase/refactor original changes]
@@ -55,6 +55,10 @@ void npu2_scom_write(uint64_t gcid, uint64_t scom_base, NPU2_REG_OFFSET(((ndev)->index >> 1), \ 8 + ((ndev)->index % 2)*2, offset) +#define NPU2_SM_REG_OFFSET(ndev, sm, offset) \ + NPU2_REG_OFFSET(NPU2_STACK_STCK_0 + ((ndev)->index >> 1), \ + NPU2_BLOCK_SM_0 + (sm), offset) + /* Get the offset for th...
Use Cortex-M mutexes (CC13xx/CC26xx)
/*---------------------------------------------------------------------------*/ /* Path to CMSIS header */ #define CMSIS_CONF_HEADER_PATH "cc13x0-cc26x0-cm3.h" + +/* Path to headers with implementation of mutexes and memory barriers */ +#define MUTEX_CONF_ARCH_HEADER_PATH "mutex-cortex.h" #define MEMORY_BARRIER_CONF_AR...
GBP: BD index not BD ID
@@ -721,7 +721,7 @@ gbp_vxlan_tunnel_add (u32 vni, gbp_vxlan_tunnel_layer_t layer, gb = gbp_bridge_domain_get (gbi); gt->gt_gbd = gbi; - gt->gt_bd_index = gb->gb_bd_id; + gt->gt_bd_index = gb->gb_bd_index; gb->gb_vni_sw_if_index = gt->gt_sw_if_index; /* set it up as a GBP interface */ gt->gt_itf = gbp_itf_add_and_lock ...
suppress warnings for Mingw
#if defined( _WIN32 ) # if (defined(_M_AMD64) || defined(_M_X64)) || _M_IX86_FP == 2 +# ifndef __SSE2__ # define __SSE2__ +# endif # elif _M_IX86_FP == 1 +# ifndef __SSE__ # define __SSE__ # endif # endif +#endif #if defined( __SSE__ ) || defined( __SSE2__ ) # include <xmmintrin.h>
Some Initial Diagnostics Documentation
-# Diagnosing Issues using MsQuic +# Diagnosing Issues with MsQuic -TODO +This document describes various ways to debug and diagnose issues when using MsQuic. +# Logging + +For functional problems, generally logging is the best way to diagnose problems. MsQuic has extensive logs in the code to facilitate debugging. + +...
Swooshy launcher background
@@ -350,12 +350,50 @@ void init() { credits::prepare(); } +void swoosh(uint32_t time, float t1, float t2, float s1, float s2, int t0, int offset_y=120, int size=60, int alpha=45) { + for(auto x = 0u; x < screen.bounds.w; x++) { + if((x + 1) & 0b10) continue; // This is an aesthetic choice, not an optimisation! + float ...
clay: better print
^- path =/ paz (segments pax) |- ^- path - ?~ paz ~|(no-file+pre^pax !!) + ?~ paz ~_(leaf/"clay: no files match /{<pre>}/{<pax>}/hoon" !!) =/ pux=path pre^(snoc i.paz %hoon) ?: (~(has in deletes) pux) $(paz t.paz)
Fix the adding of padding to COOKIE-ECHO chunks. Thanks to Mark Wodrich who found this issue while fuzz testing the usrsctp stack and reported the issue in
#ifdef __FreeBSD__ #include <sys/cdefs.h> -__FBSDID("$FreeBSD: head/sys/netinet/sctp_output.c 351654 2019-09-01 10:09:53Z tuexen $"); +__FBSDID("$FreeBSD: head/sys/netinet/sctp_output.c 353119 2019-10-05 09:46:11Z tuexen $"); #endif #include <netinet/sctp_os.h> @@ -9569,8 +9569,7 @@ sctp_send_cookie_echo(struct mbuf *m...
gpinitsystem: gpinitsystem_help reflects flag changes
@@ -13,13 +13,13 @@ gpinitsystem -c <gpinitsystem_config> [-B <parallel_processes>] [-p <postgresql_conf_param_file>] [-s <standby_master_host> - [-P <standby_master_port>] [-F <standby_master_datadir>]] + [-P <standby_master_port>] [ {-S | --standby-datadir} <standby_master_datadir>] [--max_connections=<number>] [--sh...
BugID:17920924:modify macro name 1
@@ -14,6 +14,6 @@ GLOBAL_DEFINES += __BSD_VISIBLE endif GLOBAL_INCLUDES += . -GLOBAL_DEFINES += AOS_LITTLEVGL +GLOBAL_DEFINES += AOS_COMP_LITTLEVGL include ./3rdparty/experimental/gui/littlevGL/lvgl/lvgl.mk
added and removed a hack but something weird is going on on hyak so commiting just in case
@@ -3037,6 +3037,11 @@ void ForceBehaviorPoise(BODY *body,EVOLVE *evolve,IO *io,SYSTEM *system,UPDATE * } } + // hack! test perturbation in q + // if (evolve->dTime >= 100000*YEARSEC) { +// body[0].dLuminosity = 3.85e26; +// } + if (body[iBody].bDistRot == 0) { PrecessionExplicit(body,evolve,iBody); if (body[iBody].bFo...
remove frequency limits from sdr-transceiver-wide.c
@@ -17,6 +17,9 @@ volatile uint32_t *rx_freq, *tx_freq; volatile uint16_t *gpio, *rx_rate, *rx_cntr, *tx_rate, *tx_cntr; volatile uint8_t *rx_rst, *tx_rst; +const uint32_t freq_min = 0; +const uint32_t freq_max = 62500000; + int sock_thread[4] = {-1, -1, -1, -1}; void *rx_ctrl_handler(void *arg); @@ -139,8 +142,6 @@ vo...
updates u3m_soft to skip tank printing if we have no kernel
@@ -1180,10 +1180,20 @@ u3m_soft(c3_w sec_w, if ( 0 == u3h(why) ) { return why; - } else { - u3_noun tax, cod, pro, mok; + } + else { + // don't use .^ at the top level! + // + c3_assert(1 != u3h(why)); - c3_assert(1 != u3h(why)); // don't use .^ at the top level! + // don't call +mook if we have no kernel + // + if ( ...
poppy: Fix sensors location Sensors are in the lid, behind the screen. Similar changes were done for scarlet in c/433222. BRANCH=none TEST=Compile. Tested-by: Rajat Jain
@@ -625,7 +625,7 @@ struct motion_sensor_t motion_sensors[] = { .active_mask = SENSOR_ACTIVE_S0, .chip = MOTIONSENSE_CHIP_BMI160, .type = MOTIONSENSE_TYPE_ACCEL, - .location = MOTIONSENSE_LOC_BASE, + .location = MOTIONSENSE_LOC_LID, .drv = &bmi160_drv, .mutex = &g_lid_mutex, .drv_data = &g_bmi160_data, @@ -662,7 +662,7...
Try 'XDG_CONFIG_HOME' too (issue
@@ -156,8 +156,12 @@ static const char *SPACING_ATTRIBUTE = "spacing"; static const char *FALSE_VALUE = "false"; static const char *TRUE_VALUE = "true"; -static const char CONFIG_FILE[] = "$HOME/.config/jwm/jwmrc"; -static const char OLD_CONFIG_FILE[] = "$HOME/.jwmrc"; +static const char * const CONFIG_FILES[] = { + "$...
cmake: convert python path to cmake path
@@ -10,6 +10,7 @@ set(IDFTOOL ${PYTHON} "${IDF_PATH}/tools/idf.py") # Internally, the Python interpreter is already set to 'python'. Re-set here # to be absolutely sure. set_default(PYTHON "python") +file(TO_CMAKE_PATH ${PYTHON} PYTHON) idf_build_set_property(PYTHON ${PYTHON}) # On processing, checking Python required ...
check cached provider isn't NULL Tested-by: Build Bot
@@ -247,9 +247,11 @@ void Confmon::do_next_provider() state &= ~CONFMON_S_ITERGRACE; for (ProviderList::const_iterator ii = active_providers.begin(); ii != active_providers.end(); ++ii) { - ConfigInfo *info; Provider* cached_provider = *ii; - info = cached_provider->get_cached(); + if (!cached_provider) { + continue; +...
board/reef_mchp/usb_pd_policy.c: Format with clang-format BRANCH=none TEST=none
@@ -41,7 +41,8 @@ static void board_vbus_update_source_current(int port) { enum gpio_signal gpio = port ? GPIO_USB_C1_5V_EN : GPIO_USB_C0_5V_EN; int flags = (vbus_rp[port] == TYPEC_RP_1A5 && vbus_en[port]) ? - (GPIO_INPUT | GPIO_PULL_UP) : (GPIO_OUTPUT | GPIO_PULL_UP); + (GPIO_INPUT | GPIO_PULL_UP) : + (GPIO_OUTPUT | G...
chat: dismiss unread on scroll to bottom
@@ -99,6 +99,7 @@ export class ChatWindow extends Component { scrollIsAtBottom() { if (this.state.numPages !== 1) { this.setState({ numPages: 1 }); + this.dismissUnread(); } }
py/mpconfig.h: Define BITS_PER_BYTE only if not already defined. It's a common macro that is possibly defined in headers of systems/SDKs MicroPython is embedded into.
@@ -1610,7 +1610,9 @@ typedef double mp_float_t; #define BYTES_PER_WORD (sizeof(mp_uint_t)) #endif +#ifndef BITS_PER_BYTE #define BITS_PER_BYTE (8) +#endif #define BITS_PER_WORD (BITS_PER_BYTE * BYTES_PER_WORD) // mp_int_t value with most significant bit set #define WORD_MSBIT_HIGH (((mp_uint_t)1) << (BYTES_PER_WORD * ...
Add gpcheckcat to the pipeline. * This adds gpcheckcat to the master pipeline. This test takes about 20 * minutes. Authors: Karen Huddleston and Chris Hajas
@@ -467,6 +467,24 @@ jobs: file: gpdb_src/ci/pulse/api/monitor_pulse.yml params: *pulse_properties + +- name: MU_gpcheckcat + plan: + - aggregate: *pulse_trigger_resource + - task: trigger_pulse + tags: ["gpdb5-pulse-worker"] + file: gpdb_src/ci/pulse/api/trigger_pulse.yml + input_mapping: *input_mappings + params: + <...
make test: add option in pg interfaces for duplicating packets
@@ -68,6 +68,8 @@ class VppPGInterface(VppInterface): @property def input_cli(self): """CLI string to load the injected packets""" + if self._nb_replays is not None: + return "%s limit %d" % (self._input_cli, self._nb_replays) return self._input_cli @property @@ -105,9 +107,13 @@ class VppPGInterface(VppInterface): sel...
parallel-libs/opencoarrays: rebase patch for v2.8.0
---- a/src/tests/unit/teams/CMakeLists.txt 2019-04-10 16:06:09.000000000 -0500 -+++ b/src/tests/unit/teams/CMakeLists.txt 2019-05-24 17:10:12.000000000 -0500 -@@ -1,3 +1,3 @@ +--- a/src/tests/unit/teams/CMakeLists.txt 2019-10-08 16:54:36.000000000 -0700 ++++ b/src/tests/unit/teams/CMakeLists.txt 2019-10-13 19:55:54.000...
tests: internal: ra: add testcase for issue 4917
@@ -616,6 +616,79 @@ void cb_key_order_lookup() flb_free(out_buf); } +void cb_issue_4917() +{ + int len; + int ret; + int type; + char *out_buf; + size_t out_size; + char *json; + char *fmt_out; + size_t off = 0; + flb_sds_t fmt; + flb_sds_t str; + struct flb_record_accessor *ra; + msgpack_unpacked result; + msgpack_ob...
Fix regex in SCons
@@ -109,7 +109,8 @@ def get_libtcod_version(): continue with open(os.path.join(LIBTCOD_ROOT_DIR, filename), 'r') as changelog: # Grab the first thing we see after a "===" separator. - return re.search('.*?=+\n([^ :]+)', changelog.read()).groups()[0] + return re.match(r'[^=]+=+(?:\r\n?|\n)([^ :]+)', + changelog.read())....
add WHEEL NUM
#define DRIVE_INFORMATION_PUBLISH_PERIOD 30 //hz #define DRIVE_TEST_PERIOD 30 //hz +#define WHEEL_NUM 2 #define WHEEL_RADIUS 0.033 // meter #define WHEEL_SEPARATION 0.160 // meter (BURGER : 0.160, WAFFLE : 0.287) #define TURNING_RADIUS 0.080 // meter (BURGER : 0.080, WAFFLE : 0.1435)
Bump firmware version to 0x261d0500 Raise nwk buffers from 10 to 20 Backport some routing improvements from Bitcloud 3.3.0
@@ -61,7 +61,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_MIN_RPI_FW_VERSION=0x261c0500 +DEFINES += GW_MIN_RPI_FW_VERSION=0x261d0500 # Minimum version of the d...
test: improve error handling in x509_set_serial_check()
@@ -584,13 +584,18 @@ void x509_set_serial_check() sizeof(invalid_serial)), 0); TEST_EQUAL(mbedtls_x509write_crt_set_serial(&ctx, &serial_mpi), MBEDTLS_ERR_X509_BAD_INPUT_DATA); - mbedtls_mpi_free(&serial_mpi); #endif TEST_EQUAL(mbedtls_x509write_crt_set_serial_raw(&ctx, invalid_serial, sizeof(invalid_serial)), MBEDTLS...
wsman-soap-envelope: Check right variable for NULL Wrong variable was checked for NULL: node instead of object.
@@ -1262,7 +1262,7 @@ wsman_get_selector_list_from_filter(WsContextH cntx, WsXmlDocH doc) } object = ws_xml_get_child(assInst, 0, XML_NS_CIM_BINDING, WSMB_OBJECT); - if(!node) { + if(!object) { debug("no SelectorSet defined. Missing Object"); return NULL; }
framework/wifi_manager: sscanf to strncpy for WiFi profile saving Change sscanf to strncpy when the WiFi profile information is saved Change an order of the saved information to read SSID length
pos += (strlen(conv) + DELI_LEN); \ } while (0) -#define DECODE_STRING(buf, data, pos) \ +#define DECODE_STRING(buf, data, pos, len) \ do { \ - sscanf(buf + pos, "%s", data); \ - pos += ((int)(strlen(data)) + DELI_LEN); \ + strncpy(data, buf + pos, len); \ + data[len] = '\0'; \ + pos += ((int)(len) + DELI_LEN); \ } whi...
fix remove wrong timer when it was created inside nmeCheck
@@ -185,11 +185,8 @@ class Timer { if (sRunningTimers!=null) { - var timerCount = sRunningTimers.length; - var origTimerCount = timerCount; - var i = 0; - while(i<timerCount) + while(i<sRunningTimers.length) { var timer = sRunningTimers[i]; if (timer.mRunning) @@ -197,20 +194,16 @@ class Timer if (!timer.mRunning) { - ...
do not handle case where `PTLS_ERROR_ASYNC_OPERATION` is returned but we have no async capability
@@ -1604,10 +1604,6 @@ static void proceed_handshake_picotls(h2o_socket_t *sock) ptls_buffer_init(&wbuf, "", 0); int ret; -#if PTLS_OPENSSL_HAVE_ASYNC -#else -Retry: -#endif ret = ptls_handshake(sock->ssl->ptls, &wbuf, sock->ssl->input.encrypted->bytes, &consumed, NULL); h2o_buffer_consume(&sock->ssl->input.encrypted, ...
ci: move check_submodule_sync to test_deploy stage
tags: - deploy +# Check this before push_to_github +check_submodule_sync: + extends: + - .deploy_job_template + - .rules:test:submodule + stage: test_deploy + tags: + - github_sync + retry: 2 + variables: + GIT_STRATEGY: clone + SUBMODULES_TO_FETCH: "none" + PUBLIC_IDF_URL: "https://github.com/espressif/esp-idf.git" + ...
tests: fix typo in test doc string Type: test
@@ -597,7 +597,7 @@ class IpsecTra4(object): class IpsecTra4Tests(IpsecTra4): """ UT test methods for Transport v4 """ def test_tra_anti_replay(self): - """ ipsec v4 transport anti-reply test """ + """ ipsec v4 transport anti-replay test """ self.verify_tra_anti_replay() def test_tra_basic(self, count=1):
Improve options dialog startup check for autorun
@@ -724,12 +724,40 @@ static BOOLEAN GetCurrentFont( return result; } +typedef struct _PHP_HKURUN_ENTRY +{ + PPH_STRING Value; + //PPH_STRING Name; +} PHP_HKURUN_ENTRY, *PPHP_HKURUN_ENTRY; + +BOOLEAN NTAPI PhpReadCurrentRunCallback( + _In_ HANDLE RootDirectory, + _In_ PKEY_VALUE_FULL_INFORMATION Information, + _In_opt_...
language-server: prettier hover format
?~ p.tab-list ~ ?~ u.p.tab-list ~ :- ~ - %- crip - ;: weld - "`" - ~(ram re ~(duck easy-print detail.i.u.p.tab-list)) - "`" - == + =- (crip :(weld "```hoon\0a" tape "\0a```")) + ^- =tape + %- zing + %+ join "\0a" + %+ scag 20 + (~(win re ~(duck easy-print detail.i.u.p.tab-list)) 2 80) :: ++ sync-buf |= [buf=wall change...
u3: correctly handle nock %9 with axis 1 in bytecode compilation
@@ -1382,7 +1382,7 @@ _n_comp(u3_noun* ops, u3_noun fol, c3_o los_o, c3_o tel_o) case 9: u3x_cell(arg, &hed, &tel); - if ( 3 == u3qc_cap(hed) ) { + if ( (1 == hed) || (3 == u3qc_cap(hed)) ) { u3_noun mac = u3nq(7, u3k(tel), 2, u3nt(u3nc(0, 1), 0, u3k(hed))); tot_w += _n_comp(ops, mac, los_o, tel_o); u3z(mac);
[ARB] Fixed the IS_SWIZZLE macro
#include "../config.h" // ARBCONV_DBG_RE - resolve* error ArbConverter debug logs +#ifdef DEBUG #define ARBCONV_DBG_RE(...) printf(__VA_ARGS__); - -#define IS_SWIZZLE(str) (((str)[0] >= 'w') && ((str)[0] <= 'z') && \ - (((str)[1] == '\0') || (((str)[1] >= 'w') && ((str)[1] <= 'z') && \ - (((str)[2] == '\0') || (((str)[...
Freeing allocated memory for firstregion in test_malloc_iodesc().
@@ -1360,6 +1360,8 @@ int test_malloc_iodesc(int iosysid, int my_rank) if (iodesc->ndims != 1) return ERR_WRONG; ioid = pio_add_to_iodesc_list(iodesc); + if (iodesc->firstregion) + free_region_list(iodesc->firstregion); if ((ret = pio_delete_iodesc_from_list(ioid))) return ret; @@ -1371,6 +1373,8 @@ int test_malloc_iod...
filter_throttle: validate memory allocation
@@ -195,12 +195,18 @@ static int cb_throttle_init(struct flb_filter_instance *f_ins, return -1; } - ctx->hash = window_create(ctx->window_size); + ticker_ctx = flb_malloc(sizeof(struct ticker)); + if (!ticker_ctx) { + flb_errno(); + flb_free(ctx); + return -1; + } /* Set our context */ flb_filter_set_context(f_ins, ctx...
Temp primitive draw functions.
@@ -128,22 +128,38 @@ ChipmunkDemoFreeSpaceChildren(cpSpace *space) cpSpaceEachBody(space, (cpSpaceBodyIteratorFunc)PostBodyFree, space); } -/* static void DrawCircle(cpVect p, cpFloat a, cpFloat r, cpSpaceDebugColor outline, cpSpaceDebugColor fill, cpDataPointer data) {ChipmunkDebugDrawCircle(p, a, r, outline, fill);}...
win32: adding some extensions to rhosimulator
@@ -2058,9 +2058,17 @@ namespace "config" do else puts "do not checking for encrypt/decrypt because not iOS/Android 1" end - extensions << "zlib" if $current_platform == "win32" # required by coreapi on win32 for gzip support in Network + if $current_platform == "win32" + extensions << "zlib" # required by coreapi on w...
Fix potential compilation error for example multicast
@@ -71,7 +71,7 @@ tcpip_handler(void) if(uip_newdata()) { count++; PRINTF("In: [0x%08lx], TTL %u, total %u\n", - uip_ntohl((unsigned long) *((uint32_t *)(uip_appdata))), + (unsigned long)uip_ntohl((unsigned long) *((uint32_t *)(uip_appdata))), UIP_IP_BUF->ttl, count); } return;
USE_QRCODE def checks
@@ -65,7 +65,9 @@ AddressBookPage::AddressBookPage(Mode mode, Tabs tab, QWidget *parent) : QAction *copyLabelAction = new QAction(tr("Copy &Label"), this); QAction *copyAddressAction = new QAction(ui->copyToClipboard->text(), this); QAction *editAction = new QAction(tr("&Edit"), this); +#ifdef USE_QRCODE QAction *showQ...
README: Fix small typo, dfeault -> default.
@@ -199,7 +199,7 @@ options (like cross-compiling), the same set of options should be passed to `make deplibs`. To actually enable/disable use of dependencies, edit `ports/unix/mpconfigport.mk` file, which has inline descriptions of the options. For example, to build SSL module (required for `upip` tool described above...
ccl_data initialization
@@ -119,10 +119,12 @@ ccl_cosmology * ccl_cosmology_create(ccl_parameters params, ccl_configuration co cosmo->data.accelerator_achi=NULL; cosmo->data.accelerator_m=NULL; cosmo->data.accelerator_d=NULL; + cosmo->data.accelerator_k=NULL; cosmo->data.growth0 = 1.; cosmo->data.achi=NULL; cosmo->data.logsigma = NULL; + cosm...
Remove improper flag from cibuildwheel
@@ -47,7 +47,7 @@ jobs: - name: Build wheels - Linux if: runner.os != 'Windows' - run: python -m cibuildwheel --use-binfmt + run: python -m cibuildwheel env: CIBW_MANYLINUX_X86_64_IMAGE: libsurvive_manylinux2014_x86_64 CIBW_MANYLINUX_AARCH64_IMAGE: libsurvive_manylinux2014_aarch64
Fix CBMC build flow for ParseDNSReply and ProcessDHCPReplies.
@@ -68,7 +68,7 @@ uint8_t *prvReadNameField(uint8_t *pucByte, char bit; size_t offset; uint8_t *rc = bit ? pucByte + offset : 0; - __CPROVER_assum(offset <= NETWORK_BUFFER_SIZE); + __CPROVER_assume(offset <= NETWORK_BUFFER_SIZE); // Postconditions __CPROVER_assume((rc == 0) || @@ -107,7 +107,7 @@ uint8_t *prvSkipNameFi...
test CHANGE use ECDSA keys instead of deprecated DSA
@@ -202,7 +202,7 @@ ssh_endpt_del_authkey_thread(void *arg) pthread_barrier_wait(&barrier); - ret = nc_server_ssh_del_authkey(TESTS_DIR"/data/key_ecdsa.pub", NULL, 0, "test2"); + ret = nc_server_ssh_del_authkey(TESTS_DIR"/data/key_dsa.pub", NULL, 0, "test2"); nc_assert(!ret); return NULL; @@ -235,7 +235,7 @@ ssh_client...
search for libdevice in multiple locations
@@ -407,21 +407,47 @@ void linkLibDevice(llvm::Module *Module, const char *KernelName, else LibDeviceSM = 30; + const char *BasePath[] = { + "/usr/local/lib/cuda", + "/usr/local/lib", + "/usr/lib", + pocl_get_string_option("POCL_CUDA_TOOLKIT_PATH", CUDA_TOOLKIT_ROOT_DIR), + NULL + }; + + static const char *NVVMPath[] =...
minor byt cleanup
=+ n-take=(sub wid.b n) [n-take (end [bloq n-take] dat.b)] -- -++ byt - =/ bl ~(. blop 3) - |% - ++ cat cat:bl:byt - ++ flip flip:bl:byt - ++ take take:bl:byt - ++ drop drop:bl:byt - -- +++ byt ~(. blop 3) :: ++ bit =/ bl ~(. blop 0)
docs - removed limitation of singleton inserts into randomly distributed tables.
@@ -69,15 +69,6 @@ FROM (SELECT count(*) c, gp_segment_id FROM facts GROUP BY 2) AS a;</codeblock> of 0.1 indicates 10% skew, a value of 0.5 indicates 50% skew, and so on. Tables that have more than10% skew should have their distribution policies evaluated.</li> </ul></p> - <section> - <title>Considerations for Randoml...
Change coder test to only export functions
@@ -25,17 +25,20 @@ describe("Titan coder", function() run_coder("", "") end) - it("compiles a program with constant globals", function() + it("Can export functions that return constants", function() run_coder([[ - x1: integer = 42 - x2: float = 10.5 - x3: boolean = true - local x4: integer = 13 + function f(): integer...
eyre: use font-display:swap; in login page
font-family: "Source Code Pro"; src: url("https://storage.googleapis.com/media.urbit.org/fonts/scp-regular.woff"); font-weight: 400; + font-display: swap; } :root { --red05: rgba(255,65,54,0.05);
Tools: repack does not apply to BUFR
/* * C Implementation: bufr_set - * */ #include "grib_tools.h" @@ -104,43 +103,12 @@ int grib_tool_new_file_action(grib_runtime_options* options, grib_tools_file* fi int grib_tool_new_handle_action(grib_runtime_options* options, grib_handle* h) { - int i = 0; int err = 0; if (!options->skip) { - double* v = NULL; - siz...
doc - update link to PL/Java git repo to 1.5.0
@@ -1026,8 +1026,9 @@ select java_substring(a, 1, 5) from temp;</codeblock> <body> <p>The PL/Java Github wiki page - <xref href="https://github.com/tada/pljava/wiki" format="html" scope="external">https://github.com/tada/pljava/wiki</xref>.</p> - <p> PL/Java 1.4.0 release - <xref href="https://github.com/tada/pljava/tr...
Add Device id, Vendor id checking. Add Error buffer
@@ -98,6 +98,8 @@ struct dnut_data { struct wed *wed; struct dnut_action *action; /* software simulation mode */ + size_t errinfo_size; + void *errinfo; /* Err info Buffer */ }; /* To be used for software simulation, use funcs provided by action */ @@ -114,19 +116,54 @@ static void *hw_dnut_card_alloc_dev(const char *p...
decisions: rationale for rejecting key_name
## Problem -Often a Key _ argument is used when you just need a key name. -This is because with a Key _ we know the name is valid and we get an unescaped name. -Using a Key \* here makes the API a bit confusing. +Often a `Key` argument is used when you just need a key name. +This is because with a `Key` we know the nam...
Badger2040: Fix bugs in Launcher
import gc import os -import sys import time import math import machine @@ -19,14 +18,14 @@ inverted = False icons = bytearray(launchericons.data()) examples = [ - ("_clock.py", 0), - ("_fonts.py", 1), - ("_ebook.py", 2), - ("_image.py", 3), - ("_list.py", 4), - ("_badge.py", 5), - ("_info.py", 6), - ("_help.py", 7) + (...
window_covering expose bri or sat conditionally based on covering type lift/tilt
@@ -526,8 +526,41 @@ void LightNode::setHaEndpoint(const deCONZ::SimpleDescriptor &endpoint) } else if (i->id() == WINDOW_COVERING_CLUSTER_ID /*FIXME ubisys J1*/) { - addItem(DataTypeUInt8, RStateBri); - addItem(DataTypeUInt8, RStateSat); + QList<deCONZ::ZclCluster>::const_iterator ic = haEndpoint().inClusters().constB...
Tighten the ast.TypeExpr IsNumType methods
@@ -678,11 +678,11 @@ func (n *TypeExpr) IsIdeal() bool { } func (n *TypeExpr) IsNumType() bool { - return n.id0 == 0 && n.id2.IsNumType() + return n.id0 == 0 && n.id1 == t.IDBase && n.id2.IsNumType() } func (n *TypeExpr) IsNumTypeOrIdeal() bool { - return n.id0 == 0 && (n.id2.IsNumType() || n.id2 == t.IDDoubleZ) + ret...
output_thread: fixed multiple initialization of local_thread_instance in emulated TLS
#include <fluent-bit/flb_output_thread.h> #include <fluent-bit/flb_thread_pool.h> +static pthread_once_t local_thread_instance_init = PTHREAD_ONCE_INIT; FLB_TLS_DEFINE(struct flb_out_thread_instance, local_thread_instance); void flb_output_thread_instance_init() @@ -409,7 +410,7 @@ int flb_output_thread_pool_create(str...
lgtm REFACTOR use workspace for dependencies
@@ -3,15 +3,16 @@ extraction: prepare: packages: libpcre2-dev after_prepare: + - cd $LGTM_WORKSPACE - git clone -b devel https://github.com/CESNET/libyang.git - cd libyang; mkdir build; cd build - - cmake -DCMAKE_INSTALL_PREFIX=$LGTM_SRC/usr -DENABLE_BUILD_TESTS=OFF .. + - cmake -DCMAKE_INSTALL_PREFIX=$LGTM_WORKSPACE -...
Add type null in node loader.
@@ -396,13 +396,10 @@ value node_loader_impl_napi_to_value(loader_impl_node node_impl, napi_env env, n node_loader_impl_exception(env, status); - if (valuetype == napi_undefined) + if (valuetype == napi_undefined || valuetype == napi_null) { - /* TODO */ - } - else if (valuetype == napi_null) - { - /* TODO */ + /* TODO...
fix nsd-control-setup is not idempotent
@@ -117,10 +117,15 @@ commonName=$SERVERNAME EOF test -f request.cfg || error "could not create request.cfg" +if test -f $SVR_BASE.pem; then + echo "$SVR_BASE.pem exists" +else echo "create $SVR_BASE.pem (self signed certificate)" openssl req -key $SVR_BASE.key -config request.cfg -new -x509 -days $DAYS -out $SVR_BASE....
in_tail: file: fix comparisson (CID 304408)
@@ -995,7 +995,7 @@ int flb_tail_file_is_rotated(struct flb_tail_config *ctx, ret = lstat(file->name, &st); if (ret == -1) { /* Broken link or missing file */ - if (errno = ENOENT) { + if (errno == ENOENT) { flb_plg_info(ctx->ins, "inode=%lu link_rotated: %s", file->link_inode, file->name); return FLB_TRUE;
[CI] Remove redundant code with YAML templates
@@ -90,12 +90,13 @@ hardware: needs: [] dependencies: [] -apps-llvm: +# Software tests +.apps: &apps-compiler stage: test script: - git apply .gitlab-ci.d/patches/0001-hardware-Set-number-of-cores-to-32-in-simulation.patch - cd apps - - make bin/${APP} + - make COMPILER=${COMPILER} bin/${APP} - cd ../hardware - app=${A...
NimBLE/host: Remove duplicate parameter description
@@ -331,10 +331,6 @@ ble_l2cap_get_mtu(struct ble_l2cap_chan *chan) * pointer to the appropriate handler gets * written here. The caller should pass the * receive buffer to this callback. - * @param out_rx_buf If a full L2CAP packet has been received, this - * will point to the entire L2CAP packet. To - * process the p...
funnel: set init p_msg
@@ -158,17 +158,15 @@ static void funnel_msg_set(t_funnel_proxy *x, t_symbol *s, int argc, t_atom * ar static void funnel_proxy_anything(t_funnel_proxy *x, t_symbol *s, int argc, t_atom *argv){ - //new and redone! - Derek Kwan - //first set the message + funnel_msg_set(x, s, argc, argv); - //now output! outlet_list(x->...
Use ADDRESS_LENGTH
@@ -368,7 +368,7 @@ tokenDefinition_t *getKnownToken(uint8_t *contractAddress) { currentToken = (tokenDefinition_t *) PIC(&TOKENS_THETA[i]); break; } - if (memcmp(currentToken->address, tmpContent.txContent.destination, 20) == 0) { + if (memcmp(currentToken->address, tmpContent.txContent.destination, ADDRESS_LENGTH) ==...
fix(ci): Lint detected changes to drivers dir.
@@ -6,11 +6,15 @@ on: - "app/boards/**/*.c" - "app/include/**/*.h" - "app/src/**" + - "app/drivers/**/*.c" + - "app/drivers/**/*.h" pull_request: paths: - "app/boards/**/*.c" - "app/include/**/*.h" - "app/src/**" + - "app/drivers/**/*.c" + - "app/drivers/**/*.h" jobs: build:
data tree DOC mention lyd_owner_module works with opaque nodes
@@ -765,6 +765,8 @@ struct lyd_node *lyd_child_no_keys(const struct lyd_node *node); * @brief Get the owner module of the data node. It is the module of the top-level schema node. Generally, * in case of augments it is the target module, recursively, otherwise it is the module where the data node is defined. * + * Also...
Fix assertion error when Winograd convolution is used
@@ -253,8 +253,7 @@ LIBXSMM_API_DEFINITION libxsmm_dnn_layer* libxsmm_dnn_create_conv_layer( *status = libxsmm_dnn_internal_create_conv_handle_winograd_check( handle ); if ( *status == LIBXSMM_DNN_WARN_FALLBACK ) handle->algo = LIBXSMM_DNN_CONV_ALGO_DIRECT; } - - if ( handle->algo == LIBXSMM_DNN_CONV_ALGO_DIRECT ) { + ...
Prepare debian changelog for v0.6.1 tag
+bcc (0.6.1-1) unstable; urgency=low + + * Build support for Fedora 28 and Ubuntu 18.04 + * Add option to change license + * Optimizations for some uses of bpf_probe_reads + + -- Brenden Blanco <bblanco@gmail.com> Mon, 23 Jul 2018 17:00:00 +0000 + bcc (0.6.0-1) unstable; urgency=low * Support for kernel up to 4.17
Get the socket reference right in the newly added syscall for the UNIX/Edge case.
@@ -1358,7 +1358,7 @@ transportSend(transport_t *trans, const char *msg, size_t len) #endif int rc; if (g_ismusl == TRUE) { - rc = g_fn.syscall(SYS_sendto, trans->net.sock, msg, len, flags, NULL, 0); + rc = g_fn.syscall(SYS_sendto, trans->local.sock, msg, len, flags, NULL, 0); } else { rc = g_fn.send(trans->local.sock,...
Update windows config-site with conduit v0.7.1
@@ -160,7 +160,7 @@ VISIT_OPTION_DEFAULT(VISIT_HDF5_LIBDEP ## ## CONDUIT ## -VISIT_OPTION_DEFAULT(VISIT_CONDUIT_DIR ${VISITHOME}/conduit/0.4.0) +VISIT_OPTION_DEFAULT(VISIT_CONDUIT_DIR ${VISITHOME}/conduit/0.7.1) VISIT_OPTION_DEFAULT(VISIT_CONDUIT_LIBDEP HDF5_LIBRARY_DIR HDF5_LIB ${VISIT_HDF5_LIBDEP} TYPE STRING)
tests: Rename recv_stream0_data_error to recv_stream0_handshake_error
@@ -181,7 +181,7 @@ static int recv_stream0_data(ngtcp2_conn *conn, const uint8_t *data, return 0; } -static int recv_stream0_data_error(ngtcp2_conn *conn, const uint8_t *data, +static int recv_stream0_handshake_error(ngtcp2_conn *conn, const uint8_t *data, size_t datalen, void *user_data) { (void)conn; (void)data; @@ ...
vagrant: remove jn516x toolchain
@@ -62,20 +62,6 @@ tar xjf mspgcc*.tar.bz2 -C /tmp/ sudo cp -f -r /tmp/msp430/* /usr/local/ rm -rf /tmp/msp430 mspgcc*.tar.bz2 -# Install NXP toolchain (partial, with binaries excluded. Download from nxp.com) -wget http://simonduq.github.io/resources/ba-elf-gcc-4.7.4-part1.tar.bz2 -wget http://simonduq.github.io/resour...
Add FIXME to the code where we are missing some formatting Removed old comment Removed block context that was not needed
@@ -1557,6 +1557,10 @@ cdbexplain_showExecStats(struct PlanState *planstate, ExplainState *es) Motion *pMotion = (Motion *) planstate->plan; int curSliceId = pMotion->motionID; + /* + * FIXME: Only displayed in text format + * [#159442827] + */ for (int iWorker = 0; iWorker < ctx->slices[curSliceId].nworker; iWorker++)...
[Numerics] [CSparseMatrix_print_in_Matlab_file] Increase the precision of printing. If not, a risk of wrong computation for extremely small values.
@@ -982,7 +982,7 @@ int CSparseMatrix_print_in_Matlab_file(const CSparseMatrix *A, int brief, FILE* fprintf(file," col %lld : locations %lld to %lld\n", (long long int)j, (long long int)Ap [j], (long long int)Ap [j+1]-1); for(p = Ap [j] ; p < Ap [j+1] ; p++) { - fprintf(file," %lld : %g\n", (long long int)Ai [p], Ax ? ...
lyb printer BUGFIX generating hashes for output nodes
@@ -123,15 +123,21 @@ lyb_hash_siblings(struct lysc_node *sibling, struct hash_table **ht_p) const struct lysc_node *parent; const struct lys_module *mod; LYB_HASH i; + uint32_t getnext_opts; ht = lyht_new(1, sizeof(struct lysc_node *), lyb_hash_equal_cb, NULL, 1); LY_CHECK_ERR_RET(!ht, LOGMEM(sibling->module->ctx), LY...
Removed colon after preposition in man page.
@@ -19,7 +19,7 @@ GoAccess parses the specified web log file and outputs the data to the X terminal. Features include: .IP "General Statistics:" -This panel gives a summary of several metrics, such as: number of valid and +This panel gives a summary of several metrics, such as the number of valid and invalid requests, ...
Don't use yatest.common here
-import yatest.common - import sys import hashlib import math import re - +import subprocess import pytest import tempfile import time @@ -2416,7 +2414,7 @@ def test_overfit_detector_with_resume_from_snapshot_and_metric_period(boosting_t if with_resume_from_snapshot: model.set_params( save_snapshot=True, - snapshot_fil...
ci(cross) use python3 instead of python
@@ -80,4 +80,4 @@ jobs: # Produce a binary artifact and place it in the mounted volume run: | - python tests/main.py --report test + python3 tests/main.py --report test
disable sigpipe for android in server
@@ -593,6 +593,10 @@ bool CHttpServer::init() return false; } +#if defined(OS_ANDROID) + signal(SIGPIPE, SIG_IGN); +#endif + struct sockaddr_in sa; memset(&sa, 0, sizeof(sa)); sa.sin_family = AF_INET;
output: rename coro context
@@ -550,7 +550,6 @@ static inline void flb_output_return(int ret, struct flb_coro *co) { struct flb_output_instance *o_ins; struct flb_out_thread_instance *th_ins; - out_coro = (struct flb_output_coro *) co->data; o_ins = out_coro->o_ins; task = out_coro->task; @@ -616,15 +615,15 @@ static inline int flb_output_coros_s...
CLEANUP: remove useless sm_retry resetting.
@@ -1844,7 +1844,6 @@ static void *sm_state_thread(void *arg) "Failed to scrub stale data.\n"); } sm_info.node_added_time = 0; - sm_retry = false; } else { sm_retry = true; }
fix actionmanager
@@ -21,12 +21,6 @@ namespace FFXIVClientStructs.FFXIV.Client.Game { [MemberFunction("E8 ?? ?? ?? ?? 8B F8 3B DF")] public partial uint GetAdjustedActionId(uint actionID); - [MemberFunction("E8 ?? ?? ?? ?? 8B D6 41 8B CF")] - public partial float GetAdjustedRecastTime(ActionType actionType, uint actionID, byte a3 = 1); ...
Add missing buffer bounds check
@@ -1409,6 +1409,7 @@ void dotnet_parse_tilde( continue; #define ROW_CHECK(name) \ + if (fits_in_pe(pe, row_offset, (matched_bits + 1) * sizeof(uint32_t))) \ rows.name = *(row_offset + matched_bits); #define ROW_CHECK_WITH_INDEX(name) \
common BUGFIX set correct permissions when umask is set
@@ -4420,8 +4420,8 @@ sr_open(const char *path, int flags, mode_t mode) return -1; } - /* check permissions only if file was not created and group if there is any to set */ - if ((flags & O_CREAT) && (!(flags & O_EXCL) || strlen(SR_GROUP))) { + /* check permissions if the file could have been created */ + if (flags & O...
Delete superfluous "// --------" comment
// See the License for the specific language governing permissions and // limitations under the License. -// -------- - pub struct decoder? implements base.image_decoder( width : base.u32, height : base.u32,
input processing order fix
@@ -1122,8 +1122,6 @@ void tic_sys_poll() processTouchInput(); #endif - processGamepad(); - SCOPE(processKeyboard()) { #if defined(__LINUX__) @@ -1131,6 +1129,8 @@ void tic_sys_poll() return; #endif } + + processGamepad(); } bool tic_sys_keyboard_text(char* text)
one more try, getting close
@@ -43,7 +43,7 @@ jobs: awsCredentials: 'azure-pipeline-aws' regionName: 'us-west-2' bucketName: 'cdn.cribl.io' - sourceFolder: 'out/' + sourceFolder: 'lib/' globExpressions: '**' targetFolder: 'dl/scope/latest/' filesAcl: 'public-read'
Build system: Make missing DejaVuSans.ttf non-fatal DejaVuSans.ttf is only needed for test programs, not for actually using cups-filters. Therefore we make its absence non-fatal.
@@ -815,7 +815,7 @@ AC_ARG_WITH([test-font-path], ) AS_IF([test "x$cross_compiling" != "xyes" && ! test -f "$with_test_font_path"], - [AC_MSG_ERROR(DejaVuSans.ttf font file is missing. Please install a package providing it.)] + [AC_MSG_WARN(DejaVuSans.ttf font file is missing. Please install a package providing it.) &&...
[bsp][stm32]fix bug with dma setting
@@ -334,8 +334,8 @@ static const struct rt_uart_ops stm32_uart_ops = struct stm32_uart uart1 = { USART1, -#ifdef RT_SERIAL_USING_DMA USART1_IRQn, +#ifdef RT_SERIAL_USING_DMA { DMA2_Stream5, DMA_Channel_4, @@ -377,8 +377,8 @@ void DMA2_Stream5_IRQHandler(void) { struct stm32_uart uart2 = { USART2, -#ifdef RT_SERIAL_USIN...
tests: internal: utils: set default http/https port
@@ -18,8 +18,10 @@ struct url_check { struct url_check url_checks[] = { {0, "https://fluentbit.io/something", - "https", "fluentbit.io", NULL, "/something"}, - {0, "https://fluentbit.io", "https", "fluentbit.io", NULL, "/"}, + "https", "fluentbit.io", "443", "/something"}, + {0, "http://fluentbit.io/something", + "http...
Don't query some Windows types for lxss processes
* process tree list * * Copyright (C) 2010-2016 wj32 - * Copyright (C) 2016-2017 dmex + * Copyright (C) 2016-2019 dmex * * This file is part of Process Hacker. * @@ -930,15 +930,25 @@ static VOID PhpUpdateProcessNodeWindow( { if (!(ProcessNode->ValidMask & PHPN_WINDOW)) { - ProcessNode->WindowHandle = PhGetProcessMainW...
driver/battery/bq27541.c: Format with clang-format BRANCH=none TEST=none
@@ -273,10 +273,9 @@ enum battery_present battery_is_present(void) void battery_get_params(struct batt_params *batt) { int v; - const uint32_t flags_to_check = BATT_FLAG_BAD_TEMPERATURE | - BATT_FLAG_BAD_STATE_OF_CHARGE | - BATT_FLAG_BAD_VOLTAGE | - BATT_FLAG_BAD_CURRENT; + const uint32_t flags_to_check = + BATT_FLAG_B...
Test rejection of unbound prefix, improve coverage of attribute handling
@@ -3376,6 +3376,25 @@ START_TEST(test_ns_prefix_with_empty_uri_4) } END_TEST +/* Test with non-xmlns prefix */ +START_TEST(test_ns_unbound_prefix) +{ + const char *text = + "<!DOCTYPE doc [\n" + " <!ELEMENT prefix:doc EMPTY>\n" + " <!ATTLIST prefix:doc\n" + " notxmlns:prefix CDATA 'http://example.com/'>\n" + "]>\n" + ...