message
stringlengths
6
474
diff
stringlengths
8
5.22k
File manager can read files upon request
@@ -395,6 +395,47 @@ static void _generate_ui_tree(gui_view_t* container_view, file_view_t* parent_vi } } +static initrd_fs_node_t* _find_node_by_name(char* name) { + fs_base_node_t* initrd = array_lookup(root_fs_node->base.children, 0); + for (uint32_t i = 0; i < initrd->children->size; i++) { + initrd_fs_node_t* chil...
output root normalised
@@ -10,6 +10,7 @@ import { CMD_STD_OUT, CMD_STD_ERR } from "../actions/actionTypes"; +import path from "path"; export default store => next => async action => { if (action.type === BUILD_GAME) { @@ -22,7 +23,9 @@ export default store => next => async action => { const state = store.getState(); const projectRoot = state...
Fix warning in overwrite only
@@ -1012,6 +1012,8 @@ boot_copy_image(struct boot_status *bs) size_t this_size; size_t last_sector; + (void)bs; + #if defined(MCUBOOT_OVERWRITE_ONLY_FAST) uint32_t src_size = 0; rc = boot_read_image_size(1, boot_img_hdr(&boot_data, 1), &src_size);
tcp: modify errno when connect raddr is ANY for ltp
@@ -81,7 +81,7 @@ static int tcp_find_ipv4_device(FAR struct tcp_conn_s *conn, return OK; } - return -EINVAL; + return -ECONNREFUSED; } /* We need to select the device that is going to route the TCP packet @@ -137,7 +137,7 @@ static int tcp_find_ipv6_device(FAR struct tcp_conn_s *conn, return OK; } - return -EINVAL; + ...
nx-compress: PR_DEBUG not prerror in the normal case
@@ -70,7 +70,7 @@ static int nx_cfg_dma_vas_mmio(u32 gcid, u64 xcfg) if (rc) prerror("NX%d: ERROR: DMA VAS MMIO BAR, %d\n", gcid, rc); else - prerror("NX%d: DMA VAS MMIO BAR, 0x%016lx, xcfg 0x%llx\n", + prlog(PR_DEBUG, "NX%d: DMA VAS MMIO BAR, 0x%016lx, xcfg 0x%llx\n", gcid, (unsigned long)cfg, xcfg); return rc;
Sort `rgbgfx`'s `-r` option alphabetically
.Nd Game Boy graphics converter .Sh SYNOPSIS .Nm -.Op Fl r Ar stride .Op Fl CmuVZ .Op Fl v Op Fl v No ... .Op Fl a Ar attrmap | Fl A .Op Fl o Ar out_file .Op Fl p Ar pal_file | Fl P .Op Fl q Ar pal_map | Fl Q +.Op Fl r Ar stride .Op Fl s Ar nb_colors .Op Fl t Ar tilemap | Fl T .Op Fl x Ar quantity
Add OP_LOADSYM16, OP_STRING16
@@ -483,6 +483,30 @@ static inline int op_loadsym( mrbc_vm *vm, mrbc_value *regs ) } +//================================================================ +/*! OP_LOADSYM16 + + R(a) = Syms(b) + + @param vm pointer of VM. + @param regs pointer to regs + @retval 0 No error. +*/ +static inline int op_loadsym16( mrbc_vm *vm,...
Run `openDocument` from widgets with `isShortcut` as `true`
@@ -223,7 +223,7 @@ import SwiftUI let url = try URL(resolvingBookmarkData: bookmarkData, bookmarkDataIsStale: &isStale) _ = url.startAccessingSecurityScopedResource() Python.shared.widgetLink = inputURL.queryParameters?["link"] - openDocument(at: url, run: true, isShortcut: false) + openDocument(at: url, run: true, is...
cleanup tcmu_get_runner_handler No need to cast from a void pointer. Follow coding style above it.
@@ -786,7 +786,7 @@ struct tcmur_handler *tcmu_get_runner_handler(struct tcmu_device *dev) { struct tcmulib_handler *handler = tcmu_get_dev_handler(dev); - return (struct tcmur_handler *)handler->hm_private; + return handler->hm_private; } static inline struct tcmu_cmd_entry *
py/objmap: make_new: Support separate __new__ vs __init__ phases.
/* - * This file is part of the MicroPython project, http://micropython.org/ + * This file is part of the Pycopy project, https://github.com/pfalcon/pycopy + * This file was part of the MicroPython project, http://micropython.org/ * * The MIT License (MIT) * * Copyright (c) 2013, 2014 Damien P. George + * Copyright (c)...
Improve cmake for NodeJS.
@@ -64,7 +64,7 @@ set(NODEJS_PATHS # Find NodeJS include directories if(MSVC OR CMAKE_BUILD_TYPE EQUAL "Debug") - set(NODEJS_V8_HEADERS v8.h v8-debug.h v8-profiler.h v8-version.h) + set(NODEJS_V8_HEADERS v8.h v8-version.h v8-profiler.h) # v8-debug.h else() set(NODEJS_V8_HEADERS v8.h v8-version.h) endif() @@ -75,6 +75,7...
getrlimit(): add support for address space resource When the resource argument is set to RLIMIT_AS, getrlimit() returns the maximum size of the process virtual memory.
@@ -1453,6 +1453,9 @@ sysreturn getrlimit(int resource, struct rlimit *rlim) rlim->rlim_cur = 65536; rlim->rlim_max = 65536; return 0; + case RLIMIT_AS: + rlim->rlim_cur = rlim->rlim_max = heap_total(&current->p->virtual->h); + return 0; } return set_syscall_error(current, EINVAL);
Fix buffer allocation
@@ -83,11 +83,14 @@ static JanetTArrayType get_ta_type_by_name(const uint8_t *name) { - - - static JanetTArrayBuffer *ta_buffer_init(JanetTArrayBuffer *buf, size_t size) { + buf->data = NULL; + if (size > 0) { buf->data = (uint8_t *)calloc(size, sizeof(uint8_t)); + if (buf->data == NULL) { + JANET_OUT_OF_MEMORY; + } + ...
Add ~| to arvo to try to debug intermittent crash.
:: ++ wink :: deploy |= {now/@da eny/@ ski/slyd} - =^ rig worm.vane (~(slym wa worm.vane) vase.vane +<) :: activate vane + =^ rig worm.vane + ~| [%failed-vane-activation-for lal] + (~(slym wa worm.vane) vase.vane +<) :: activate vane ~% %wink +>+> ~ |% ++ slid ++ slur :: call gate on |= {gat/vase hil/mill} ^- (unit (pa...
Add SUSE linux support to installer
@@ -48,6 +48,9 @@ if [[ "$unamestr" == 'Linux' ]]; then elif [ $(which yum) ]; then sudo yum install -y python-pip python-devel gcc gcc-c++ python-virtualenv glib2-devel fi + elif [ $(which zypper) ]; then + sudo zypper install -y python-pip python-devel gcc gcc-c++ python-virtualenv glib2-devel + fi if [ $(tracers/qem...
Temporary commit to try fix TidalQ issues.
@@ -2491,8 +2491,10 @@ void LogBodyEqtide(BODY *body,CONTROL *control,OUTPUT *output,SYSTEM *system,UPD fprintf(fp,"----- EQTIDE PARAMETERS (%s)------\n",body[iBody].cName); for (iOut=iStart;iOut<OUTENDEQTIDE;iOut++) { if (output[iOut].iNum > 0) { + //if (iOut == 1084) { printf("%d\n",iOut); fflush(stdout); + //} Write...
Tools: Add option to display the library version
@@ -35,12 +35,13 @@ static int DBL_EQUAL(double d1, double d2, double tolerance) static void usage(const char* prog) { - printf("Usage: %s [-f] [-v] grib_file grib_file ...\n\n", prog); + printf("Usage: %s [-f] [-v] [-V] grib_file grib_file ...\n\n", prog); printf("Check geometry of GRIB fields with a Gaussian Grid.\n"...
Added warning if bad lightdata gets through
@@ -21,8 +21,13 @@ void handle_lightcap(SurviveObject *so, LightcapElement *le) { if (so->channel_map) { assert(le->sensor_id < 32); - le->sensor_id = so->channel_map[le->sensor_id]; - assert(le->sensor_id != -1); + int ole = le->sensor_id; + le->sensor_id = so->channel_map[ole]; + if (le->sensor_id >= so->sensor_ct) {...
I updated the parallel host profile for trinity to use sbatch/srun.
<Field name="parallel" type="bool">false</Field> </Object> <Object name="LaunchProfile"> - <Field name="profileName" type="string">parallel viz</Field> + <Field name="profileName" type="string">parallel batch standard viz</Field> <Field name="timeout" type="int">480</Field> <Field name="numProcessors" type="int">128</F...
Removed the prefix in ImGuiMouseButton enum
@@ -2173,10 +2173,10 @@ namespace sol_ImGui #ifdef SOL_IMGUI_ENABLE_INPUT_FUNCTIONS #pragma region MouseButton lua.new_enum("ImGuiMouseButton", - "ImGuiMouseButton_Left" , ImGuiMouseButton_Left, - "ImGuiMouseButton_Right" , ImGuiMouseButton_Right, - "ImGuiMouseButton_Middle" , ImGuiMouseButton_Middle, - "ImGuiMouseButt...
include/driver/accel_bma2x2.h: Format with clang-format BRANCH=none TEST=none
/* Do not use BW lower than 7813, because __fls cannot be call for 0 */ #define BMA2x2_BW_TO_REG(_bw) \ - ((_bw) < 125000 ? \ - BMA2x2_BW_7_81HZ + __fls(((_bw) * 10) / 78125) : \ + ((_bw) < 125000 ? BMA2x2_BW_7_81HZ + __fls(((_bw)*10) / 78125) : \ BMA2x2_BW_125HZ + __fls((_bw) / 125000)) #define BMA2x2_REG_TO_BW(_reg) ...
Updates USAGE-GUIDE for s2n_connection_client_cert_used API
@@ -1287,12 +1287,12 @@ ssize_t s2n_client_hello_get_extension_by_id(struct s2n_client_hello *ch, s2n_tl **s2n_client_hello_get_extension_length** returns the number of bytes the given extension type takes on the ClientHello message received by the server; it can be used to allocate the **out** buffer. **s2n_client_hel...
Fix Error: chip/stm32_spi.c:571:23: error: unused function 'spi_getreg8' and unused function 'spi_putreg8'
@@ -553,27 +553,6 @@ static inline void spi_rx_mode(struct stm32_spidev_s *priv, bool enable) } } -/**************************************************************************** - * Name: spi_getreg8 - * - * Description: - * Get the contents of the SPI register at offset - * - * Input Parameters: - * priv - private SPI ...
run_tw_test: test errno after recvfromttl() fail Only check the value of errno if recvfromttl() did not return the expected payload length. This prevents exiting when there is no actual failure.
@@ -3465,7 +3465,7 @@ RECEIVE: ep->payload,resp_len_payload,lsaddr,lsaddrlen, (struct sockaddr*)&peer_addr,&peer_addr_len, &twdatarec.reflected.ttl); - if(errno != EINTR){ + if(resp_len != resp_len_payload && errno != EINTR){ OWPError(ep->cntrl->ctx,OWPErrFATAL, OWPErrUNKNOWN,"recvfromttl(): %M"); goto finish_sender;
/devices show productid, fix top level attributes for main device
#include <QProcess> #include "de_web_plugin.h" #include "de_web_plugin_private.h" +#include "device_descriptions.h" #include "json.h" #include "rest_devices.h" #include "utils/utils.h" @@ -208,6 +209,13 @@ int RestDevices::getDevice(const ApiRequest &req, ApiResponse &rsp) return REQ_READY_SEND; } + const DeviceDescrip...
[dpos] fix pre-LIB map: wrong BP ID used
@@ -65,26 +65,26 @@ func (pls *pLibStatus) addConfirmInfo(block *types.Block) { bi := ci.blockInfo // Initialize an empty pre-LIB map entry with genesis block info. - if _, exist := pls.plib[bi.BPID]; !exist { - pls.updatePreLIB(bi.BPID, pls.genesisInfo) + if _, exist := pls.plib[ci.BPID]; !exist { + pls.updatePreLIB(c...
[fix] enhance strength about cpp testcase.
@@ -31,6 +31,14 @@ static void test_thread(void) uassert_false(1); } + std::thread t2(func); + t2.join(); + + if (count != 200) + { + uassert_false(1); + } + uassert_true(1); }
Ensure configured module specific and application specific defines are used
@@ -231,8 +231,8 @@ LIB_CPPFLAGS={- our $lib_cppflags = join(' ', $target{lib_cppflags} || (), $target{shared_cppflag} || (), (map { '-D'.$_ } - @{$config{lib_defines}}, - @{$config{shared_defines}}), + @{$config{lib_defines} || ()}, + @{$config{shared_defines} || ()}), @{$config{lib_cppflags}}, @{$config{shared_cppfla...
SOVERSION bump to version 4.1.14
@@ -38,7 +38,7 @@ set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_ # with backward compatible change and micro version is connected with any internal change of the library. set(SYSREPO_MAJOR_SOVERSION 4) set(SYSREPO_MINOR_SOVERSION 1) -set(SYSREPO_MICRO_SOVERSION 13) +set(SYSREPO_MICRO_S...
Improve comment, remove duplicated header and extraneous braces.
@@ -14,7 +14,6 @@ Archive Get File #include "info/infoArchive.h" #include "postgres/interface.h" #include "storage/helper.h" -#include "storage/helper.h" /*********************************************************************************************************************************** Check if a WAL file exists in the...
Fix year on 2.09 release. Reported by Achilleas Mantzios.
</release-core-list> </release> - <release date="2018-01-30" version="2.09" title="Minor Improvements and Bug Fixes"> + <release date="2019-01-30" version="2.09" title="Minor Improvements and Bug Fixes"> <release-core-list> <release-bug-list> <release-item>
fix tabbed titlebar widths
@@ -599,7 +599,8 @@ static void render_container_tabbed(struct sway_output *output, struct border_colors *current_colors = &config->border_colors.unfocused; struct sway_container_state *pstate = &con->current; - int tab_width = pstate->swayc_width / pstate->children->length; + double width_gap_adjustment = 2 * pstate->...
doc: update 'asa.rst' for 2.7 release Update security advisory 2.7 release.
Security Advisory ################# +Addressed in ACRN v2.7 +************************ + +We recommend that all developers upgrade to this v2.7 release (or later), which +addresses the following security issue discovered in previous releases: + +----- + +- Heap-use-after-free happens in ``MEVENT mevent_handle`` + The fi...
DoxyGen: Update used compilers for RTX5 development.
@@ -1565,9 +1565,9 @@ RTX5 is initially developed and optimized using Arm Compiler and Arm/Keil MDK. The current release is tested with the following versions: <ul> <li>Arm Compiler 5.06 Update 6</li> - <li>Arm Compiler 6.6.2 (Long Term Maintenance)</li> - <li>Arm Compiler 6.9</li> - <li>RTOS-aware debugging with uVisi...
maximize fix
@@ -2081,7 +2081,7 @@ movemouse(const Arg *arg) togglefloating(NULL); createoverlay(); selmon->gesture = 11; - } else if (selmon->sel->isfloating) { + } else if (selmon->sel->isfloating || NULL == selmon->lt[selmon->sellt]->arrange) { notfloating = 1; } } else {
QuickTest: add Limesuite version information
#include "Logger.h" #include "LMS64CProtocol.h" #include "LimeSDRTest.h" +#include "VersionInfo.h" #include <thread> #include "kiss_fft.h" #include "FPGA_Mini.h" @@ -483,6 +484,7 @@ int LimeSDRTest::RunTests(TestCallback cb, bool nonblock) std::string str = "[ TESTING STARTED ]\n->Start time: "; std::time_t time = std:...
sysdeps/qword: Do not fail on sys_anon_free()
@@ -65,7 +65,10 @@ int sys_anon_allocate(size_t size, void **pointer) { return 0; } -int sys_anon_free(void *pointer, size_t size) STUB_ONLY +int sys_anon_free(void *pointer, size_t size) { + mlibc::infoLogger() << "mlibc: " << __func__ << " is a stub!" << frg::endlog; + return 0; +} #ifndef MLIBC_BUILDING_RTDL void sy...
[chainmaker][#436]modify url chain_id and org_id pass by python
@@ -13,7 +13,10 @@ DEPENDENCE_LIBS = $(BOAT_LIB_DIR)/libboatwallet.a \ -lm\ -lrt\ -lsubunit -BOAT_CFLAGS += -DTEST_CHAINMAKER__NODE_URL=\"$(TEST_CHAINMAKER_NODE_URL)\" + +BOAT_CFLAGS += -DTEST_CHAINMAKER_NODE_URL=\"$(CHAINMKER_NODE_URL)\"\ + -DTEST_CHAINMAKER_CHAIN_ID=\"$(CHAINMKER_CHAIN_ID)\"\ + -DTEST_CHAINMAKER_ORG_...
SOVERSION bump to version 3.2.1
@@ -67,7 +67,7 @@ set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION # with backward compatible change and micro version is connected with any internal change of the library. set(LIBNETCONF2_MAJOR_SOVERSION 3) set(LIBNETCONF2_MINOR_SOVERSION 2) -set(LIBNETCONF2_MICRO_SOVERSION 0) +set(LIBN...
turn off buffering to standard output
@@ -79,6 +79,11 @@ int main(int argc, char *argv[]) size_t i; int err; + /* + * turn off buffering on stdout + */ + setbuf(stdout, NULL); + (void)re_fprintf(stdout, "baresip v%s" " Copyright (C) 2010 - 2018" " Alfred E. Heggestad et al.\n",
libbpf-tools: update readahead for libbpf 1.0 Switch to libbpf 1.0 mode and adapt libbpf API usage accordingly.
@@ -110,14 +110,9 @@ int main(int argc, char **argv) if (err) return err; + libbpf_set_strict_mode(LIBBPF_STRICT_ALL); libbpf_set_print(libbpf_print_fn); - err = bump_memlock_rlimit(); - if (err) { - fprintf(stderr, "failed to increase rlimit: %d\n", err); - return 1; - } - obj = readahead_bpf__open(); if (!obj) { fpri...
Check if /tmp/urbit.sock already exists
+#include <unistd.h> #include <uv.h> #include "all.h" #include "vere/vere.h" @@ -416,6 +417,10 @@ u3_king_commence() } /* listen on command socket */ + if ( access("/tmp/urbit.sock", F_OK) != -1 ) { + fprintf(stderr, "/tmp/urbit.sock exists - is urbit already running?\r\n"); + exit(1); + } uv_pipe_init(u3L, &u3K.cmd_u,...
oculus_mobile: respect t.headset.msaa;
@@ -31,12 +31,14 @@ static struct { static struct { void (*renderCallback)(void*); void* renderUserdata; + uint32_t msaa; float offset; } state; // Headset driver object static bool vrapi_init(float offset, uint32_t msaa) { + state.msaa = msaa; state.offset = offset; return true; } @@ -529,7 +531,7 @@ void bridgeLovrDr...
Don't apply hide_edge_borders to any floating container This fixes the following scenario: Place a floating window so its border is right at the edge of the screen Create a new split The border disappears Moving the window does not restore the border
@@ -262,7 +262,7 @@ void view_autoconfigure(struct sway_view *view) { con->pending.border_left = con->pending.border_right = true; double y_offset = 0; - if (!container_is_floating(con) && ws) { + if (!container_is_floating_or_child(con) && ws) { if (config->hide_edge_borders == E_BOTH || config->hide_edge_borders == E...
Resolver: Ignore warning about string truncation
@@ -283,7 +283,14 @@ static void elektraAddErrnoText (char * errorText) { strcpy (buffer, strerror (errno)); } +#if defined(__GNUC__) && __GNUC__ >= 8 && !defined(__clang__) +#pragma GCC diagnostic push +#pragma GCC diagnostic ignored "-Wstringop-truncation" +#endif strncat (errorText, buffer, ERROR_SIZE - 2 - strlen (...
resolver: disable cache timestamp check and storage if filesystem is missing nanosecond timestamps
@@ -556,7 +556,7 @@ int ELEKTRA_PLUGIN_FUNCTION (get) (Plugin * handle, KeySet * returned, Key * par name = strcat (name, pk->filename); ELEKTRA_LOG_DEBUG ("persistent chid key: %s", name); - if ((global = elektraPluginGetGlobalKeySet (handle)) != NULL) + if ((global = elektraPluginGetGlobalKeySet (handle)) != NULL && ...
struct epoll_event only packed on x86_64
@@ -685,10 +685,17 @@ struct tms { #define CLONE_NEWNET 0x40000000 /* New network namespace */ #define CLONE_IO 0x80000000 /* Clone io context */ +#ifdef __x86_64__ +#define __packed __attribute__((packed)) +#else +#define __packed +#endif + struct epoll_event { u32 events; /* Epoll events */ u64 data; -} __attribute__...
queryweights support in GPU boosting metrics calcer in case of CPU fallback
@@ -98,6 +98,8 @@ namespace NCatboostCuda { void CacheQueryInfo(const TGpuSamplesGrouping<TTargetMapping>& samplesGrouping) { if (QueryInfo.size() == 0) { + CacheCpuTargetAndWeight(); + const ui32 qidCount = samplesGrouping.GetQueryCount(); ui32 cursor = 0; @@ -106,6 +108,7 @@ namespace NCatboostCuda { TQueryInfo query...
Fix tabspace, Add author
@@ -642,19 +642,17 @@ VOID PhTickProcessNodes( for (i = 0; i < ProcessNodeList->Count; i++) { - ULONG remainsValidMask; PPH_PROCESS_NODE node = ProcessNodeList->Items[i]; // The name and PID never change, so we don't invalidate that. memset(&node->TextCache[2], 0, sizeof(PH_STRINGREF) * (PHPRTLC_MAXIMUM - 2)); + node->...
Update check_sollve.sh with 11.5-0 expected fails.
@@ -13,7 +13,7 @@ compile_regex='Compiler result": "(.*)"' runtime_regex='Runtime result": "(.*)"' #skip known failures for now -skip_tests='gemv_target.cpp gemv_target_reduction.cpp reduction_separated_directives.cpp test_target_enter_data_classes_inheritance.cpp test_target_enter_exit_data_classes.cpp reduction_separ...
ra: remove unnecessary funtion to simplify
@@ -45,18 +45,6 @@ static struct flb_ra_parser *ra_parse_string(struct flb_record_accessor *ra, return rp; } -static struct flb_ra_parser *ra_parse_regex_id(struct flb_record_accessor *ra, - int c) -{ - struct flb_ra_parser *rp; - - rp = flb_ra_parser_regex_id_create(c); - if (!rp) { - return NULL; - } - return rp; -} ...
Version bumped to 0.5
@@ -2,8 +2,8 @@ cmake_minimum_required (VERSION 2.8) project (vcf-validator CXX C) set (vcf-validator_VERSION_MAJOR 0) -set (vcf-validator_VERSION_MINOR 4) -set (vcf-validator_VERSION_PATCH 3) +set (vcf-validator_VERSION_MINOR 5) +set (vcf-validator_VERSION_PATCH 0) # no unknown pragmas: ODB compiler uses some pragmas ...
BugID:21737422: Update fatfs include for cameraapp.c & yts include for yts example
*/ #include <fcntl.h> #include <k_api.h> + #include "aos/kernel.h" -#include "fatfs.h" +#include "aos/vfs.h" +#include "fatfs/aos_fatfs.h" + #include "st7789.h" /* LCD */ #include "gc0329.h" /* camera */ #include "camera_demo.h" -#include "fatfs.h" -#include "aos/vfs.h" #include "ulog/ulog.h" uint8_t g_sd_valid = 0; st...
Docker: Remove temporary data from Alpine image
@@ -25,7 +25,9 @@ RUN cd /tmp \ && git clone --depth 1 https://github.com/sanssecours/yaep.git \ && cd yaep \ && env CXXFLAGS='-fPIC' ./configure \ - && make -C src install + && make -C src install \ + && cd .. \ + && rm -r yaep # Create User:Group # The id is important as jenkins docker agents use the same id that is ...
Remove old SDL1 clause.
#include <wchar.h> #endif -/* This is a hack. SDL by default want you to rename your main statement, and insert it's own first - It does that to handle some init code. However, libtcod handles that for you. If we did this - wrappers like libtcod-net would be hosed, since there is no main statement there. */ -/* This ha...
added error message for out of interpolation range for tinker10
@@ -224,6 +224,16 @@ static double massfunc_f(ccl_cosmology *cosmo, double halomass, double a, double //this version uses f(nu) parameterization from Eq. 8 in Tinker et al. 2010 // use this for consistency with Tinker et al. 2010 fitting function for halo bias case ccl_tinker10: + if (odelta < 200){ + *status = CCL_ERR...
Fix missing "Global" header on variable dropdown in cases when only global variables are available
@@ -101,7 +101,7 @@ export const namedGlobalVariables = ( id: variable, code: globalVariableCode(variable), name: globalVariableName(variable, variablesLookup), - group: "", + group: l10n("FIELD_GLOBAL"), })) ); };
backport use_integers_for_enums in protobuf/json_format.py
@@ -93,7 +93,8 @@ def MessageToJson(message, including_default_value_fields=False, preserving_proto_field_name=False, indent=4, - sort_keys=False): + sort_keys=False, + use_integers_for_enums=False): """Converts protobuf message to JSON format. Args: @@ -108,18 +109,21 @@ def MessageToJson(message, indent: The JSON obj...
docs - remove duplicate left nav entry
<topicref href="postGIS.xml" navtitle="Geospatial Analytics" otherprops="pivotal" linking="none"> <topicref href="postgis-upgrade.xml" otherprops="pivotal" linking="none"/> </topicref> - <topicref href="text.xml" navtitle="Text Analytics and Search" otherprops="pivotal" - linking="none"/> <topicref href="text.xml" navt...
tools/tcpsubnet: reference tcpsubnet in README
@@ -140,6 +140,7 @@ pair of .c and .py files, and some are directories of files. - tools/[tcpconnlat](tools/tcpconnlat.py): Trace TCP active connection latency (connect()). [Examples](tools/tcpconnlat_example.txt). - tools/[tcplife](tools/tcplife.py): Trace TCP sessions and summarize lifespan. [Examples](tools/tcplife_...
runtimes/singularity: bump to v2.5.0
Summary: Application and environment virtualization Name: %{pname}%{PROJ_DELIM} -Version: 2.4.6 +Version: 2.5.0 Release: 1%{?dist} # https://spdx.org/licenses/BSD-3-Clause-LBNL.html License: BSD-3-Clause-LBNL
Run tests with CMake Linux build
-# This is a basic workflow to help you get started with Actions +# Build on Linux with CMake and execute tests name: CI-cmake building linux -# Controls when the action will run. on: # Triggers the workflow on push or pull request events but only for the master branch push: @@ -13,29 +12,30 @@ on: # Allows you to run ...
tests FEATURE clean all files created by tests
@@ -28,6 +28,12 @@ endif() # generate config configure_file("${PROJECT_SOURCE_DIR}/tests/config.h.in" "${PROJECT_BINARY_DIR}/tests/config.h" ESCAPE_QUOTES @ONLY) +if(${CMAKE_VERSION} VERSION_GREATER "3.7") + # tests cleanup fixture + add_test(NAME tests_done COMMAND make test_clean) + set_tests_properties(tests_done PR...
style: Supplementary notes
@@ -142,7 +142,8 @@ extern "C" { * * @return * This function returns BOAT_SUCCESS if initialization is successful.\n - * Otherwise it returns BOAT_ERROR. + * Otherwise it returns one of the error codes. Refer to header file boaterrcode.h + * for details. * @see BoatIotSdkDeInit() ***************************************...
esp32: Fix int overflow in machine.sleep/deepsleep functions.
@@ -89,7 +89,7 @@ STATIC mp_obj_t machine_sleep_helper(wake_type_t wake_type, size_t n_args, const mp_int_t expiry = args[ARG_sleep_ms].u_int; if (expiry != 0) { - esp_sleep_enable_timer_wakeup(expiry * 1000); + esp_sleep_enable_timer_wakeup(((uint64_t)expiry) * 1000); } if (machine_rtc_config.ext0_pin != -1 && (machin...
BugID:19386281: Fix for compile issue for libcoap on linuxhost
@@ -163,7 +163,11 @@ coap_add_data_blocked_response(coap_resource_t *resource, unsigned char buf[4]; coap_block_t block2 = { 0, 0, 0 }; int block2_requested = 0; - coap_subscription_t *subscription = coap_find_observer(resource, session, token); + coap_subscription_t *subscription = NULL; + +#ifndef WITHOUT_OBSERVE + s...
add test timeout on windows pipeline
@@ -38,7 +38,7 @@ jobs: configuration: '$(MSBuildConfiguration)' - script: | cd $(BuildType) - ctest --verbose + ctest --verbose --timeout 120 displayName: CTest # - upload: $(Build.SourcesDirectory)/$(BuildType) # artifact: mimalloc-windows-$(BuildType)
Build: Attempt to fix DuetPkg compilation closes acidanthera/bugtracker#915
#!/bin/bash imgbuild() { + echo "Erasing older files..." + rm -f "${BUILD_DIR}/FV/DUETEFIMAINFV${TARGETARCH}.z" \ + "${BUILD_DIR}/FV/DxeMain${TARGETARCH}.z" \ + "${BUILD_DIR}/FV/DxeIpl${TARGETARCH}.z" \ + "${BUILD_DIR_ARCH}/EfiLoaderRebased.efi" \ + "${BUILD_DIR}/FV/Efildr${TARGETARCH}" \ + "${BUILD_DIR}/FV/Efildr${TAR...
Add alternate runas method (experimental)
@@ -1199,18 +1199,97 @@ INT_PTR CALLBACK PhpRunAsDlgProc( } else { - status = PhExecuteRunAsCommand3( - hwndDlg, + HANDLE processHandle = NULL; + HANDLE newProcessHandle; + STARTUPINFOEX startupInfo; + SIZE_T attributeListLength = 0; + + memset(&startupInfo, 0, sizeof(STARTUPINFOEX)); + startupInfo.StartupInfo.cb = siz...
sse2: work around GCC bug Again. Apparently left shift suffers from the same issue.
@@ -680,6 +680,9 @@ HEDLEY_STATIC_ASSERT(sizeof(simde_float64) == 8, "Unable to find 64-bit floating # if defined(SIMDE_ARCH_X86) && !defined(SIMDE_ARCH_AMD64) # define SIMDE_BUG_GCC_94482 # endif +# if defined(SIMDE_ARCH_AARCH64) +# define SIMDE_BUG_GCC_94488 +# endif # endif # if defined(HEDLEY_EMSCRIPTEN_VERSION) # ...
Reorder decoder functions This will make further commits more readable.
#include "video_buffer.h" #include "util/log.h" -void -decoder_init(struct decoder *decoder, struct video_buffer *vb) { - decoder->video_buffer = vb; -} - bool decoder_open(struct decoder *decoder, const AVCodec *codec) { decoder->codec_ctx = avcodec_alloc_context3(codec); @@ -63,3 +58,8 @@ decoder_push(struct decoder ...
Update hcxpcapngtool.c some simple spelling fixes
@@ -504,7 +504,7 @@ if(actioncount > 0) printf("ACTION (total)...........................: %ld\n", if(awdlcount > 0) printf("AWDL (Apple Wireless Direct Link)........: %ld\n", awdlcount); if(proberequestcount > 0) printf("PROBEREQUEST.............................: %ld\n", proberequestcount); if(proberequestdirectedcoun...
set max sidetone level to a lower value in sdr-transceiver-hpsdr.c
@@ -582,7 +582,7 @@ int main(int argc, char *argv[]) *dac_size = size; /* set default dac level */ - *dac_level = 32766; + *dac_level = 1600; } else { @@ -1110,7 +1110,7 @@ void process_ep2(uint8_t *frame) if(i2c_codec) { data = dac_level_data; - *dac_level = (int16_t)floor(data * 128.494 + 0.5); + *dac_level = data * ...
Simplified ++word parsing, no longer produces (list graf), now just graf.
[i.los $(los +.los)] :: :: ++ word :: flow parser - %+ knee *(list graf) |. ~+ + %+ knee *graf |. ~+ ;~ pose :: :: whitespace :: - (cold [%text " "]~ whit) + (stag %text (cold " " whit)) :: :: ordinary word :: - %+ cook |=(graf [+< ~]) (stag %text ;~(plug ;~(pose low hig) (star ;~(pose nud low hig hep)))) :: :: naked \...
Adding implementation details for the Arty.
@@ -69,6 +69,12 @@ Adding this config. fragment will enable and connect the JTAG, UART, SPI, and I2 Future peripherals to be supported include the Arty's SPI Flash EEPROM. +Brief Implementation Description for Less Complicated Designs (Such as Arty), and Guidance for Adding/Changing Xilinx Collateral +~~~~~~~~~~~~~~~~~...
CoreValidation: Fixed CoreFunc tests for GCC on ARMv8-MB.
@@ -134,7 +134,7 @@ void TC_CoreFunc_IPSR (void) { #if defined(__CC_ARM) #define SUBS(Rd, Rm, Rn) __ASM("SUBS " # Rd ", " # Rm ", " # Rn) #define ADDS(Rd, Rm, Rn) __ASM("ADDS " # Rd ", " # Rm ", " # Rn) -#elif defined( __GNUC__ ) && defined(__ARM_ARCH_6M__) +#elif defined( __GNUC__ ) && (defined(__ARM_ARCH_6M__) || def...
BugID:17522316:fix white scan issue
@@ -373,7 +373,7 @@ void user_post_property(void) static int example_index = 0; int res = 0; user_example_ctx_t *user_example_ctx = user_example_get_ctx(); - char *property_payload = NULL; + char *property_payload = "NULL"; if (example_index == 0) { /* Normal Example */ @@ -417,7 +417,7 @@ void user_post_event(void) in...
webterm: clean up component state derivation
@@ -6,8 +6,7 @@ import React, { import Helmet from 'react-helmet'; import useTermState from '~/logic/state/term'; -import useSettingsState from '~/logic/state/settings'; -import useLocalState from '~/logic/state/local'; +import { useDark } from '~/logic/state/join'; import { Terminal, ITerminalOptions, ITheme } from 'x...
Remove Python2-xml dep
@@ -94,7 +94,7 @@ BuildRequires: libXext-devel BuildRequires: libXft-devel BuildRequires: fontconfig BuildRequires: timezone -BuildRequires: python-xml +#BuildRequires: python-xml %else BuildRequires: expat-devel BuildRequires: openssl-devel
Allow config values to work in unit tests
@@ -670,6 +670,10 @@ void config_read(SurviveContext *sctx, const char *path) { } static config_entry *sc_search(SurviveContext *ctx, const char *tag) { + if (ctx == 0) { + return 0; + } + config_entry *cv = find_config_entry(ctx->temporary_config_values, tag); if (!cv) { cv = find_config_entry(ctx->global_config_value...
Use calloc to allocate unique visitors key and initialize buffer. This could possibly fix the use of uninitialised value reported by Valgrind resulting on an invalid read and therefore corrupting the btree db files.
@@ -1885,7 +1885,7 @@ get_uniq_visitor_key (GLogItem * logitem) s3 = strlen (ua); /* includes terminating null */ - key = xmalloc (s1 + s2 + s3 + 3); + key = xcalloc (s1 + s2 + s3 + 3, sizeof (char)); memcpy (key, logitem->host, s1);
Docs - typo fix in xml
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd"> -<topic id="topic1" other_props="pivotal"> +<topic id="topic1" otherprops="pivotal"> <title>gpbackup_manager</title> <body> <p>Display information about existing backups, delete existing backups, or encrypt passwor...
luci-app-argon-config: add luci-lib-ipkg interface fix
@@ -11,8 +11,10 @@ PKG_VERSION:=0.9 PKG_RELEASE:=20210309 LUCI_TITLE:=LuCI page for Argon Config -LUCI_DEPENDS:=+luci-theme-argon LUCI_PKGARCH:=all +LUCI_DEPENDS:= \ + +luci-theme-argon \ + +luci-lib-ipkg include ../../luci.mk
dill: resolve review questions
=/ zon=axon [app input=[~ ~] width=80] :: =^ moz all abet:(~(into as duc %$ zon) ~) - ::REVIEW can anything relevant happen between %boot and %init? =. eye.all (~(put ju eye.all) %$ duc) [moz ..^$] :: %flog tasks are unwrapped and sent back to us on our default duct !! =/ zon=axon [p.task ~ width=80] =^ moz all abet:(~...
Identified purpose of another Xiaomi specific attribute 0x0202 = Auto-off after 20m below 2W
@@ -2802,7 +2802,7 @@ Fil pilote > Off=0001 - On=0002</description> <attribute id="0x0100" name="Unknown" type="u8" mfcode="0x115f" access="rw" required="m"> </attribute> <attribute id="0x0200" name="Unknown" type="u8" mfcode="0x115f" access="rw" required="m"> </attribute> <attribute id="0x0201" name="Restore Power on ...
options/ansi: Stub strptime
@@ -561,8 +561,8 @@ char *ctime_r(const time_t *, char *) { char *strptime(const char *__restrict, const char *__restrict, struct tm *__restrict) { - __ensure(!"Not implemented"); - __builtin_unreachable(); + mlibc::infoLogger() << "mlibc: strptime is a stub!" << frg::endlog; + return nullptr; } time_t timelocal(struct...
Use clone_epsdb_test for run_rocm_test
@@ -265,7 +265,7 @@ copyresults omp5 mkdir -p "$resultsdir"/sollve45 mkdir -p "$resultsdir"/sollve50 cd "$aompdir"/bin -./clone_aomp_test.sh +./clone_epsdb_test.sh SKIP_SOLLVE51=1 ./run_sollve.sh ./check_sollve.sh checkrc $?
correct cmake options when building for nvidia with cuda installed
@@ -18,6 +18,13 @@ if [ "$AOMP_USE_NINJA" == 0 ] ; then else _set_ninja_gan="-G Ninja" fi +if [ "$TRUNK_BUILD_CUDA" == 0 ] ; then + _cuda_plugin="-DLIBOMPTARGET_BUILD_CUDA_PLUGIN=OFF" + _targets_to_build="-DLLVM_TARGETS_TO_BUILD='X86;AMDGPU'" +else + _cuda_plugin="-DLIBOMPTARGET_BUILD_CUDA_PLUGIN=ON" + _targets_to_buil...
Improve accuracy of FPS calculation. Use microseconds instead of milliseconds to measure the time since the last update. With this, the FPS display can actually show 60 instead of bouncing between 58 and 62.
@@ -16192,8 +16192,8 @@ void pausemenu() unsigned getFPS(void) { - static unsigned lasttick = 0, framerate = 0; - unsigned curtick = timer_gettick(); + static u64 lasttick = 0, framerate = 0; + u64 curtick = timer_uticks(); if(lasttick > curtick) { lasttick = curtick; @@ -16208,7 +16208,7 @@ unsigned getFPS(void) #ifde...
Small typo in ftp server fails compilation There sneaked in an 'o' at the beginning of the file
-o--[[ A simple ftp server +--[[ A simple ftp server This is my implementation of a FTP server using Github user Neronix's example as inspriration, but as a cleaner Lua implementation that has been
ip: Adding IP tables is no MP safe Type: fix it was marked MP safe in the CLI (which it shouldn't be) but it it not marked MP safe on the API.
@@ -640,7 +640,6 @@ VLIB_CLI_COMMAND (ip4_table_command, static) = { .path = "ip table", .short_help = "ip table [add|del] <table-id>", .function = vnet_ip4_table_cmd, - .is_mp_safe = 1, }; /* *INDENT-ON* */ @@ -656,7 +655,6 @@ VLIB_CLI_COMMAND (ip6_table_command, static) = { .path = "ip6 table", .short_help = "ip6 tab...
plugin BUGFIX fix eventual double free. fix eventual double free when call lydict_insert_zc fail in store_bists function
@@ -1199,9 +1199,9 @@ next: if (!ws_count && !lws_count && (options & LY_TYPE_STORE_DYNAMIC)) { ret = lydict_insert_zc(ctx, (char *)value, &can); - LY_CHECK_GOTO(ret, cleanup); value = NULL; options &= ~LY_TYPE_STORE_DYNAMIC; + LY_CHECK_GOTO(ret, cleanup); } else { ret = lydict_insert(ctx, value_len ? &value[lws_count]...
Make sure to use the arm version of dynamic.c in ARM64 DYNAMIC_ARCH cf.
@@ -47,7 +47,11 @@ GenerateNamedObjects("abs.c" "DOUBLE" "z_abs" 0 "" "" 1) GenerateNamedObjects("openblas_get_config.c;openblas_get_parallel.c" "" "" 0 "" "" 1) if (DYNAMIC_ARCH) + if (ARM64) + list(APPEND COMMON_SOURcES dynamic_arm64.c) + else () list(APPEND COMMON_SOURCES dynamic.c) + endif () else () list(APPEND CO...
pocl_cache.c: add SPIR-V spec constants and program binary type to hash
@@ -386,6 +386,10 @@ build_program_compute_hash (cl_program program, unsigned device_i, pocl_SHA1_Update(&hash_ctx, (uint8_t*) program->compiler_options, strlen(program->compiler_options)); + pocl_SHA1_Update (&hash_ctx, + (uint8_t *)&program->binary_type, + sizeof(cl_program_binary_type)); + #ifdef ENABLE_LLVM /* The ...
Fix iOS build script compatibility issue with certain Python versions
@@ -299,7 +299,7 @@ args.defines += ';' + getProfile(args.profile).get('defines', '') if args.metalangle: args.defines += ';' + '_CARTO_USE_METALANGLE' else: - if filter(lambda arch: arch.endswith('-maccatalyst'), args.iosarch): + if list(filter(lambda arch: arch.endswith('-maccatalyst'), args.iosarch)): print('Mac Cat...
Implement uninitialized resize in protobuf.
@@ -65,7 +65,9 @@ void STLDeleteContainerPointers(ForwardIterator begin, // place in open source code. Feel free to fill this function in with your // own disgusting hack if you want the perf boost. inline void STLStringResizeUninitialized(string* s, size_t new_size) { - s->resize(new_size); +// Yandex-specific: uninit...
Remove unneccessary classes_ property redefinition and corresponding _classes attribute in CatBoostClassifier. Recreate train_pool only if it is needed for get_feature_importance when model has no leaf weights data and do pass to get_feature_importance in this case (was broken).
@@ -833,7 +833,7 @@ class _CatBoostBase(object): params['_test_evals'] = test_evals if self.is_fitted(): params['__model'] = self._serialize_model() - for attr in ['_classes', '_prediction_values_change', '_loss_value_change']: + for attr in ['_prediction_values_change', '_loss_value_change']: if getattr(self, attr, No...
ish: correct gpio voltage to 3.3V The sensor interrupt signal is 3.3V not 1.8V and ISH GPIO does not support 3.3V away. This was benign but incorrect. BRANCH=none TEST=sensor still work
* found in the LICENSE file. */ -GPIO_INT(ACCEL_GYRO_INT_L, PIN(0), GPIO_INT_FALLING | GPIO_SEL_1P8V, lsm6dsm_interrupt) +GPIO_INT(ACCEL_GYRO_INT_L, PIN(0), GPIO_INT_FALLING, lsm6dsm_interrupt) GPIO_INT(LID_OPEN, PIN(5), GPIO_INT_BOTH, lid_interrupt) /* LID_CL_NB_L */ GPIO(NB_MODE_L, PIN(4), GPIO_OUT_LOW)
Default nums of RX/TX descriptors changed to 512 for 2M page on DVN As DVN has fewer DTLB entries supported for 2M page, default numbers of RX/TX descriptors are changed to 512 if nums of RX/TX descriptors are not specified by VPP users.
#include <sys/mount.h> #include <string.h> #include <fcntl.h> +#include <dirent.h> #include <dpdk/device/dpdk_priv.h> @@ -157,6 +158,47 @@ dpdk_port_crc_strip_enabled (dpdk_device_t * xd) return !(xd->port_conf.rxmode.offloads & DEV_RX_OFFLOAD_KEEP_CRC); } +/* The funciton check_l3cache helps check if Level 3 cache exi...
Fix typo and reduce 2 newlines at end to 1
@@ -78,5 +78,4 @@ You can create a `tic80` folder into your SD card to put your carts in. # Thanks -This project is built on two awesome projects, [circle](https://github.com/rsta2/circle) and [circle-stdlib](https://github.com/smuehlst/circle-stdlib). Without them, this version of TIC-80 would not exists. - +This proj...