message
stringlengths
6
474
diff
stringlengths
8
5.22k
Simpler overflow check.
@@ -91,9 +91,7 @@ void janet_buffer_extra(JanetBuffer *buffer, int32_t n) { } int32_t new_size = buffer->count + n; if (new_size > buffer->capacity) { - size_t new_capacity_sizet = (size_t) (new_size) * 2; - if (new_capacity_sizet > INT32_MAX) new_capacity_sizet = INT32_MAX; - int32_t new_capacity = (int32_t) new_capac...
doc: rework of release notes
This release did not happen yet. -Please update this file within PRs accordingly. -For non-trivial changes, you can choose to be -part of the highlighted changes. +Please always update this file within **every PR**: + +1. write what changed +2. use links pointing to your change +3. add your name at the end of the line ...
Add ksceKernelLaunchApp in processmgr.h
@@ -31,6 +31,16 @@ int ksceKernelCreateProcessLocalStorage(const char *name, SceSize size); void *ksceKernelGetProcessLocalStorageAddr(int key); int ksceKernelGetProcessLocalStorageAddrForPid(SceUID pid, int key, void **out_addr, int create_if_doesnt_exist); +/** + * @brief Launch an application + * @param[in] titleid ...
provider-signature.pod: Fix formatting.
@@ -323,8 +323,8 @@ follows. =item "digest" (B<OSSL_SIGNATURE_PARAM_DIGEST>) <UTF8 string> -Get or sets the name of the digest algorithm used for the input to the signature -functions. It is required in order to calculate the "algorithm-id". +Get or sets the name of the digest algorithm used for the input to the +signa...
untested minor bugfix
?~ duct-status=(~(get by ducts.state) duct) ~& [%no-build-for-duct duct] ..execute - :: this duct is no more; it has ceased to be + :: :duct is being canceled, so remove it unconditionally :: =. ducts.state (~(del by ducts.state) duct) :: if the duct was not live, cancel any in-progress builds :: ?~ last-sent=last-sent...
json MAINTENANCE cast warning
@@ -764,7 +764,7 @@ lyjson_ctx_status(struct lyjson_ctx *jsonctx, uint32_t index) } else if (jsonctx->status.count == index) { return LYJSON_ROOT; } else { - return (enum LYJSON_PARSER_STATUS)jsonctx->status.objs[jsonctx->status.count - (index + 1)]; + return (enum LYJSON_PARSER_STATUS)(uintptr_t)jsonctx->status.objs[j...
doc: update acrn_ootb.rst 1. Update the Service OS VM default install disk to SATA, and Preempt-RT User VM default install disk to NVMe. 2. Update the Launch Preempt-RT User VM setup.
@@ -372,7 +372,7 @@ Step 3: Deploy the Service VM image .. code-block:: none - # sudo gdisk /dev/nvme0n1 + # sudo gdisk /dev/sda GPT fdisk (gdisk) version 1.0.3 Partition table scan: @@ -393,7 +393,7 @@ Step 3: Deploy the Service VM image PARTITIONS!! Do you want to proceed? (Y/N): Y - OK; writing new GUID partition ta...
and with table fixed
\caption{Cosmologies implemented in CCL. \label{tab:cosmo}} \begin{tabular}{lccccccc} \hline\hline -Observable/Model & flat $\Lambda$CDM & $\Lambda$CDM+$K$ & $\Lambda$CDM+$\nu$ & $w$CDM & $w_0+w_a$ & $w_a+\nu+K$ & MG \\[3pt] +Observable/Model & flat $\Lambda$CDM & $\Lambda$CDM+$K$ & $w$CDM & $w_0+w_a$ & MG \\[3pt] \hli...
_lovrAlloc throws on OOM;
@@ -29,10 +29,12 @@ void lovrThrow(const char* format, ...) { } void* _lovrAlloc(const char* type, size_t size, void (*destructor)(void*)) { - void* object = calloc(1, size); - if (!object) return NULL; - *((Ref*) object) = (Ref) { .free = destructor, .type = type, .count = 1 }; - return object; + Ref* ref = calloc(1, ...
schema compile BUGFIX do not read invalid data Fixes
@@ -345,6 +345,9 @@ lysp_type_dup(const struct ly_ctx *ctx, struct lysp_type *type, const struct lys { LY_ERR ret = LY_SUCCESS; + /* array macros read previous data so we must zero it */ + memset(type, 0, sizeof *type); + DUP_STRING_GOTO(ctx, orig_type->name, type->name, ret, done); if (orig_type->range) {
fixed wram_raddr_q handling in dma_fsm_q
@@ -1506,9 +1506,11 @@ BEGIN -- -- defaults -- + dma_rtag_q <= dma_rtag_q; dma_rtag_v := to_integer(unsigned(dma_rtag_q (4 DOWNTO 0))); dma_rtag_next_v := to_integer(unsigned(dma_rtag_next_q(4 DOWNTO 0))); + dma_wtag_q <= dma_wtag_q; dma_wtag_v := to_integer(unsigned(dma_wtag_q (4 DOWNTO 0))); dma_wtag_next_v := to_int...
Fixes to the TI demo wifi startup
#define mainLOGGING_WIFI_STATUS_DELAY pdMS_TO_TICKS( 1000 ) void vApplicationDaemonTaskStartupHook( void ); -static void prvWifiConnect( void ); static CK_RV prvProvisionRootCA( void ); static void prvShowTiCc3220SecurityAlertCounts( void ); @@ -124,7 +123,6 @@ int main( void ) void vApplicationDaemonTaskStartupHook( v...
add doc for newly opened features
@@ -85,6 +85,13 @@ You can use telnet to visit ApsaraCache(telnet use the classic ASCII protocol). Enjoy! +Test point in time recovery(PITR) +------------------ +* [Documentation](https://github.com/alibaba/ApsaraCache/wiki/Test-point-in-time-recovery(PITR)) + +Test log based replication(AOF PSYNC) +------------------ ...
Breakwater: README update
@@ -61,9 +61,9 @@ breakwater$ sudo ./scripts/setup_machine.sh breakwater$ make -C apps/netbench/ ``` -6. Start IOKernel +6. Start IOKernel (hardware timestamp feature is under testing) ``` -breakwater$ sudo ./iokerneld +breakwater$ sudo ./iokerneld no_hw_qdel ``` 7. Start application. The following example will start a...
Replace LIBRUBY_SONAME with LIBRUBY
@@ -256,7 +256,7 @@ jobs: INCLUDE_DIR=$(ruby -e "puts(RbConfig::CONFIG['rubyhdrdir'])") CONFIG_DIR=$(ruby -e "puts(RbConfig::CONFIG['rubyarchhdrdir'])") LIBRARY=$(ruby -e "puts(RbConfig::CONFIG['libdir'])") - LIBRARY=$LIBRARY/$(ruby -e "puts(RbConfig::CONFIG['LIBRUBY_SONAME'])") + LIBRARY=$LIBRARY/$(ruby -e "puts(RbCon...
common/capsense.c: Format with clang-format BRANCH=none TEST=none
@@ -24,8 +24,7 @@ static int capsense_read_bitmask(void) int rv; uint8_t val = 0; - rv = i2c_xfer(I2C_PORT_CAPSENSE, CAPSENSE_I2C_ADDR, - 0, 0, &val, 1); + rv = i2c_xfer(I2C_PORT_CAPSENSE, CAPSENSE_I2C_ADDR, 0, 0, &val, 1); if (rv) CPRINTS("%s failed: error %d", __func__, rv); @@ -52,8 +51,8 @@ static void capsense_cha...
[mod_wolfssl] need to build --enable-alpn for ALPN need to build wolfSSL library with --enable-alpn for ALPN even if already building wolfSSL library with --enable-openssall (sigh) ALPN is required by the HTTP/2 specification
@@ -1520,6 +1520,7 @@ network_openssl_load_pemfile (server *srv, const buffer *pemfile, const buffer * #ifdef HAVE_TLS_EXTENSIONS +#ifdef HAVE_ALPN #ifdef TLSEXT_TYPE_application_layer_protocol_negotiation static int @@ -1687,6 +1688,7 @@ mod_openssl_alpn_select_cb (SSL *ssl, const unsigned char **out, unsigned char * ...
Docs - qualify pgcrypto.fips as starting in v6.22
@@ -10,7 +10,7 @@ The `pgcrypto` module is installed when you install Greenplum Database. Before y ## Configuring FIPS Encryption -The `pgcrypto` extension provides a module-specific configuration parameter, `pgcrypto.fips`, that configures Greenplum Database support for a limited set of FIPS encryption functionality \...
admin/test-suite: add check for singularity group
@@ -29,7 +29,6 @@ BuildRequires: automake%{PROJ_DELIM} %if 0%{?suse_version} Requires(pre): shadow Requires: python-base -Requires: singularity %endif %if 0%{?rhel_version} @@ -68,7 +67,9 @@ getent passwd %{testuser} >/dev/null || \ /usr/sbin/useradd -U -c "OpenHPC integration test account" \ -s /bin/bash -m -b /home %...
wireless: gs2200m: Add support for setsockopt_request() NOTE: Just check parameters and do nothing special
@@ -1221,8 +1221,78 @@ err_out: static int setsockopt_request(int fd, FAR struct gs2200m_s *priv, FAR void *hdrbuf) { - DEBUGASSERT(false); - return -ENOSYS; + FAR struct usrsock_request_setsockopt_s *req = hdrbuf; + struct usrsock_message_req_ack_s resp; + FAR struct usock_s *usock; + ssize_t rlen; + int ret = 0; + in...
Fix LLDB test The literal string '\n' is in the response now instead of a newline. This was causing it to parse the stack crawl incorrectly. Clarify a comment [ci skip]
@@ -29,10 +29,10 @@ DEBUG = False class EmulatorProcess(object): """ - This handles spawning the emulator process and allows communication - with it via stdin and stdout. It has the __enter__ and __exit__ methods - allowing it to be used in the 'with' construct so it will automatically - be torn down when the test is d...
vscode: Parse all headers as C headers
"path": "bash", "args": ["-l"] } + }, + "files.associations": { + "*.h": "c" } } } \ No newline at end of file
[yolint_next] bumped to
@@ -4,13 +4,13 @@ RESOURCES_LIBRARY() IF (HOST_OS_LINUX) DECLARE_EXTERNAL_RESOURCE(YOLINT sbr:1378667101) - DECLARE_EXTERNAL_RESOURCE(YOLINT_NEXT sbr:1378667101) + DECLARE_EXTERNAL_RESOURCE(YOLINT_NEXT sbr:1437513692) ELSEIF (HOST_OS_DARWIN) DECLARE_EXTERNAL_RESOURCE(YOLINT sbr:1378666778) - DECLARE_EXTERNAL_RESOURCE(Y...
Add missing options and loosen libzip requirement.
@@ -35,6 +35,9 @@ class CelixConan(ConanFile): "build_pubsub": [True, False], "build_pubsub_psa_zmq": [True, False], "build_zmq_security": [True, False], + "build_pubsub_psa_tcp": [True, False], + "build_pubsub_psa_udp_mc": [True, False], + "build_pubsub_psa_ws": [True, False], "build_pubsub_tests": [True, False], "bui...
xivu: adjust fw_config value for sub-board TEST=zmake and verify on DUT BRANCH=none Tested-by: SamSP Liu
sub-board-1 { compatible = "cros-ec,cbi-fw-config-value"; enum-name = "FW_SUB_BOARD_1"; - value = <1>; + value = <0>; }; sub-board-2 { compatible = "cros-ec,cbi-fw-config-value"; enum-name = "FW_SUB_BOARD_2"; - value = <2>; + value = <1>; }; sub-board-3 { compatible = "cros-ec,cbi-fw-config-value"; enum-name = "FW_SUB_...
fixed typo with logo enable
@@ -535,7 +535,7 @@ void _start_entry() waitTick(TICKPERSECOND * 1); #else // set palette 0 to black - PAL_setPalette(PAL0, palette_black); + PAL_setPalette(PAL0, palette_black, CPU); // don't load the palette immediatly BMP_loadBitmap(logo, 128 - (LOGO_SIZE / 2), 80 - (LOGO_SIZE / 2), FALSE);
ExtendedTools: Add warnings when deleting reparse points (Fixes
* * Authors: * - * dmex 2020-2022 + * dmex 2020-2023 * */ @@ -48,8 +48,8 @@ typedef struct _REPARSE_LISTVIEW_ENTRY #define FILE_LAYOUT_ENTRY_VERSION 0x1 #define STREAM_LAYOUT_ENTRY_VERSION 0x1 #define PH_FIRST_LAYOUT_ENTRY(LayoutEntry) \ - ((PFILE_LAYOUT_ENTRY)(PTR_ADD_OFFSET(LayoutEntry, \ - ((PQUERY_FILE_LAYOUT_OUTPU...
error: Migrated errors post rebase
@@ -188,10 +188,10 @@ static void handleConflict (Key * parentKey, const char * msg, OnConflict onConf switch (onConflict) { case ERROR: - ELEKTRA_SET_ERRORF (ELEKTRA_ERROR_VALIDATION_SEMANTIC, parentKey, "%s", msg); + ELEKTRA_SET_VALIDATION_SEMANTIC_ERRORF (parentKey, "%s", msg); break; case WARNING: - ELEKTRA_ADD_WAR...
The synthesized OPENSSL_VERSION_NUMBER must be long (to keep API compatibility with older releases) Fixes
@@ -91,9 +91,9 @@ extern "C" { /* Synthesize OPENSSL_VERSION_NUMBER with the layout 0xMNN00PPSL */ # ifdef OPENSSL_VERSION_PRE_RELEASE -# define _OPENSSL_VERSION_PRE_RELEASE 0x0 +# define _OPENSSL_VERSION_PRE_RELEASE 0x0L # else -# define _OPENSSL_VERSION_PRE_RELEASE 0xf +# define _OPENSSL_VERSION_PRE_RELEASE 0xfL # en...
CI-Actions: define matrix as a list Defining the matrix as a list will make it more readable and easy to extend also users can exclude and add new cases without using include, exclude just add a new combination to the list.
@@ -19,43 +19,28 @@ jobs: libssl-dev llvm-dev libelf-dev libnuma-dev libpcap-dev \ selinux-policy-dev ncat python3-scapy isc-dhcp-server m32_dependecies: gcc-multilib - CC: ${{ matrix.compiler }} - LIBS: ${{ matrix.libs }} - M32: ${{ matrix.m32 }} - OPTS: ${{ matrix.opts }} - TESTSUITE: ${{ matrix.testsuite }} - SANITI...
files: support EINTR for readdir
@@ -152,6 +152,9 @@ static bool files_getDirStatsAndRewind(honggfuzz_t * hfuzz) size_t fileCnt = 0U; for (;;) { struct dirent* entry = readdir(hfuzz->inputDirP); + if (entry == NULL && errno == EINTR) { + continue; + } if (entry == NULL && errno != 0) { PLOG_W("readdir('%s')", hfuzz->inputDir); return false; @@ -216,6 ...
[mod_cgi] perf: use stat_cache for cgi handler
@@ -703,6 +703,15 @@ static int cgi_write_request(server *srv, handler_ctx *hctx, int fd) { return 0; } +static struct stat * cgi_stat(server *srv, connection *con, buffer *path, struct stat *st) { + /* CGI might be executable even if it is not readable + * (stat_cache_get_entry() currently checks file is readable)*/ +...
Passing query instead of path or coins.
++ ta-subscribe ::< listen to ::> add her to a presence list if applicable. :: - ::TODO change interface to not include path, - :: only call for /circle queries. - |= {her/ship pax/path} + |= {her/ship qer/query} ^+ +> - ?. ?=({@ta *} pax) +> - ?+ -.pax + ?+ -.qer +> :: $burden (ta-observe her) :: $circle - ?. ?=({@ta ...
libppd: Corrected comments in ppd.h
@@ -575,7 +575,7 @@ extern int ppdPageSizeLimits(ppd_file_t *ppd, /**** New in libppd (cups-filters) ****/ -/**** New in cups-filters 1.0.28: Renamed functions from original CUPS API ****/ +/**** New in cups-filters 1.28.0: Renamed functions from original CUPS API ****/ extern int ppdMarkOptions(ppd_file_t *ppd, int nu...
rms/openpbs: remove conflicting README.md and LICENSE from devel package; throws error on Leap 15.3 build
@@ -523,8 +523,6 @@ ${RPM_INSTALL_PREFIX:=%{pbs_prefix}}/libexec/pbs_posttrans \ %defattr(-,root,root, -) %{pbs_prefix}/lib*/*.a %{pbs_prefix}/include/* -%doc README.md -%license LICENSE %if %{with ptl} %files %{pbs_ptl}
Update for crypto++ 6.0.0 compatibility Changes the crypto module to use unsigned char instead of byte. The byte typedef is no longer included in the global namespace in crypto++ 6.0.0. See Fixes
@@ -16,10 +16,10 @@ int kvz_make_vs_ignore_crypto_not_having_symbols = 0; struct crypto_handle_t { cipher_t *cipher; - byte key[CryptoPP::AES::DEFAULT_KEYLENGTH]; - byte iv[CryptoPP::AES::BLOCKSIZE]; - byte out_stream_counter[CryptoPP::AES::BLOCKSIZE]; - byte counter[CryptoPP::AES::BLOCKSIZE]; + unsigned char key[Crypt...
show information that GPS data on CSV output is NME format (no decimal degrees)
@@ -5379,7 +5379,7 @@ printf("%s %s (C) %s ZeroBeat\n" "--csv=<file> : output ACCESS POINT information in CSV format\n" " delimiter: tabulator (0x08)\n" " columns:\n" - " YYYY-MM-DD HH:MM:SS MAC_AP ESSID ENC_TYPE CIPHER AKM COUNTRY_INFO CHANNEL RSSI\n" + " YYYY-MM-DD HH:MM:SS MAC_AP ESSID ENC_TYPE CIPHER AKM COUNTRY_IN...
spgram: moving to use liquid_get_scale() method for getting units
@@ -433,17 +433,9 @@ int SPGRAM(_export_gnuplot)(SPGRAM() _q, fprintf(fid,"set xlabel 'Noramlized Frequency'\n"); fprintf(fid,"plot '-' w %s lt 1 lw 2 lc rgb '#004080'\n", plot_with); } else { - char unit; + char unit = ' '; float g = 1.0f; - if (_q->frequency < 1e-9) { g = 1e12; unit = 'p'; } - else if (_q->frequency ...
Load .lovr files from the macOS app bundle;
#include <stdio.h> #ifdef __APPLE__ #include <mach-o/dyld.h> +#include <objc/objc-runtime.h> #endif #if _WIN32 #include <windows.h> @@ -58,6 +59,23 @@ bool lovrFilesystemInit(const char* argExe, const char* argGame, const char* arg // Try to mount either an archive fused to the executable or an archive from the command...
Improve performance of gradient calculation
@@ -436,23 +436,25 @@ Point getGradient(Point pointIn, PointsAndAngle *pna, size_t pnaCount, FLT preci { Point result; + FLT baseFitness = getPointFitness(pointIn, pna, pnaCount, 0); + Point tmpXplus = pointIn; Point tmpXminus = pointIn; tmpXplus.x = pointIn.x + precision; tmpXminus.x = pointIn.x - precision; - result....
[Rust] Provide a raw bytes amc_message_await
@@ -55,16 +55,17 @@ pub trait ContainsEventField { fn event(&self) -> u32; } -// This allows receiving messages that might not specify an event field +// This allows receiving messages for which the format of the body is not yet known +// It is the caller's responsibility to parse the body into the correct type #[cfg(t...
launch: tile borders use scales.black20
@@ -46,7 +46,7 @@ export default class Tile extends React.Component { borderRadius={2} overflow="hidden" bg={bg || "white"} - color={props?.color || 'washedGray'} + color={props?.color || 'scales.black20'} boxShadow={boxShadow || '0 0 0px 1px inset'} > <Box
Re-bump CI image
@@ -12,7 +12,7 @@ parameters: executors: main-env: docker: - - image: ucbbar/chipyard-ci-image:03650a + - image: ucbbar/chipyard-ci-image:03650a2 environment: JVM_OPTS: -Xmx3200m # Customize the JVM maximum heap limit
interface: fix field name that broke GCP support Tests would be great, wouldn't they...
@@ -23,8 +23,8 @@ const useStorage = (s3: S3State, gcp: GcpState, useEffect(() => { // prefer GCP if available, else use S3. - if (gcp.current !== undefined) { - client.current = new GcpClient(gcp.current.accessKey); + if (gcp.token !== undefined) { + client.current = new GcpClient(gcp.token.accessKey); } else { // XX ...
Refactor QHttpRequestHeader()
@@ -12399,35 +12399,27 @@ int DeRestPlugin::handleHttpRequest(const QHttpRequestHeader &hdr, QTcpSocket *s } } - QUrl url(hdrmod.path()); // get rid of query string - QString strpath = url.path(); - - if (hdrmod.path().startsWith(QLatin1String("/api"))) - { - // some clients send /api123 instead of /api/123 - // correc...
Creation of symbolic link was failing.
@@ -216,7 +216,7 @@ if(NOT WIN32) # install a symlink in the /usr/local/lib to the versioned library set(mi_symlink "${CMAKE_SHARED_MODULE_PREFIX}${mi_basename}${CMAKE_SHARED_LIBRARY_SUFFIX}") set(mi_soname "mimalloc-${mi_version}/${mi_symlink}.${mi_version}") - install(CODE "execute_process(COMMAND ${CMAKE_COMMAND} -E...
[numerics] fix msan false-positive
@@ -246,7 +246,7 @@ int soclcp_projectionOnConeWithLocalIteration_solve(SecondOrderConeLinearComplem projectionOnSecondOrderCone(&r[0], mu_i, nLocal); /* v <- q */ - cblas_dcopy(nLocal , qLocal , 1 , v, 1); + cblas_dcopy_msan(nLocal , qLocal , 1 , v, 1); /* v <- q + M * r */ cblas_dgemv(CblasColMajor,CblasNoTrans, nLoc...
Update comments in src/h2olog/misc/gen_raw_tracer.py
@@ -158,7 +158,7 @@ def parse_d(context: dict, path: Path, block_probes: set = None): for st_field_access, st_field_name in struct_map[st_name]: flat_args_map[st_field_name or st_field_access] = "typeof_%s__%s" % (st_name, st_field_name or st_field_access) else: - # decoes the struct into members in the user space (jso...
Fix cmake target_include_directories
@@ -302,6 +302,13 @@ if(NOT WIN32) set_property(TARGET ${_EXPAT_TARGET} PROPERTY NO_SONAME ${NO_SONAME}) endif(NOT WIN32) +target_include_directories(${_EXPAT_TARGET} + INTERFACE + $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/lib> + $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}> + $<INSTALL_INTERFACE:${CMAKE_INSTALL_I...
odissey: change ipv6 display format
@@ -75,7 +75,7 @@ char *od_getpeername(mm_io_t io) if (sa.ss_family == AF_INET6) { struct sockaddr_in6 *sin = (struct sockaddr_in6*)&sa; inet_ntop(sa.ss_family, &sin->sin6_addr, addr, sizeof(addr)); - snprintf(sockname, sizeof(sockname), "%s:%d", addr, ntohs(sin->sin6_port)); + snprintf(sockname, sizeof(sockname), "[%s...
to -> iso8601 in sail (move this to js)
/collections-topic-full/ == =/ config (~(get by configs) +<:s.bem.gas) +=, old-zuse +|% +++ esoo + |= d/@d + ^- tape + =/ t (yore d) + ;: welp + (scag 1 (scow %ud y.t)) + (swag [2 3] (scow %ud y.t)) + "-" + (double m.t) + "-" + (double d.t.t) + "T" + (double h.t.t) + ":" + (double m.t.t) + ":" + (double s.t.t) + "Z" + ...
fixed networkhandling
@@ -1179,6 +1179,7 @@ int c; zeiger1 = macapessidliste; for(c = 0; c < MACAPESSIDLISTZEMAX -1; c++) { + if(memcmp(&mac_null, zeiger1->addr, 6) == 0) { break; @@ -1214,7 +1215,6 @@ memcpy(zeiger2->addr, &mac_myap, 6); memset(zeiger2->essid, 0, 32); zeiger2->essid_len = essid_tag->len; memcpy(zeiger2->essid, essid_tag->d...
Use correct cpu type
#define _PSP2_KERNEL_CPU_H_ #include <psp2kern/types.h> -#include <string.h> +#include <psp2kern/kernel/sysclib.h> +#include <psp2kern/kernel/sysmem/mmu.h> #ifdef __cplusplus extern "C" { @@ -50,11 +51,11 @@ void ksceKernelCpuDcacheWritebackRange(const void *ptr, SceSize len); * * @param context The context */ -static ...
travis: change Ruby version for iOS SAS build
@@ -154,7 +154,7 @@ matrix: - language: objective-c os: osx osx_image: xcode11.4 - env: RHO_TARGET="iphone" RHO_APP="sas" CACHE_NAME="RVM_OSX" RHO_RUNNER_SCRIPT="run_app_on_simulator.sh" + env: RHO_TARGET="iphone" RHO_APP="sas" CACHE_NAME="RVM_OSX" RHO_RUNNER_SCRIPT="run_app_on_simulator.sh" RHO_RUBY="2.5.7" - language...
Correct callback name.
@@ -40,7 +40,7 @@ void init() { // Setup channel channels[0].waveforms = Waveform::WAVE; // Set type to WAVE channels[0].sustain = 0xffff; // Set sustain to max - channels[0].bufferRefreshCallback = &buffCallBack; // Set callback address + channels[0].callback_waveBufferRefresh = &buffCallBack; // Set callback address ...
sysdeps/managarm: Support EINVAL for read()
@@ -1858,7 +1858,10 @@ int sys_read(int fd, void *data, size_t max_size, ssize_t *bytes_read) { errno = EBADF; return -1; }else*/ - if(resp.error() == managarm::fs::Errors::WOULD_BLOCK) { + if(resp.error() == managarm::fs::Errors::ILLEGAL_ARGUMENT) { + errno = EINVAL; + return -1; + }else if(resp.error() == managarm::f...
system/cfgdata: fix compilation when MTD_CONFIG_NAMED is enabled
@@ -234,6 +234,7 @@ static void cfgdatacmd_set(int argc, char *argv[]) { int ret; int fd; + int x; struct config_data_s cfg; uint8_t data[32]; @@ -244,7 +245,6 @@ static void cfgdatacmd_set(int argc, char *argv[]) strncpy(cfg.name, argv[2], CONFIG_MTD_CONFIG_NAME_LEN); #else - int x; /* Parse the id and instance */ @@ ...
hslua-marshalling: make `withContext` more useful. The string `retrieving` is now added to the error context by `retrieving`, so `withContext` allows to define contexts without this prefix.
@@ -40,6 +40,9 @@ import HsLua.Core as Lua #if !MIN_VERSION_base(4,13,0) import Control.Monad.Fail (MonadFail (..)) #endif +#if !MIN_VERSION_base(4,12,0) +import Data.Semigroup (Semigroup) +#endif import qualified HsLua.Core.Utf8 as Utf8 -- | Record to keep track of failure contexts while retrieving objects @@ -155,7 +...
Add a deprecation message for clap-core
@@ -27,6 +27,7 @@ target_include_directories(clap INTERFACE # Exposing the main library with the same name as the project makes it much # simpler for build systems to find the CLAP package. add_library(clap-core ALIAS clap) +set_target_properties(clap-core PROPERTIES DEPRECATION "Link against clap instead of clap-core"...
Check that status messages start with one of
@@ -32,6 +32,14 @@ func isDoubleUnderscore(s string) bool { return len(s) >= 2 && s[0] == '_' && s[1] == '_' } +func isStatusMessage(s string) bool { + if s == "" { + return false + } + c := s[0] + return (c == '@') || (c == '#') || (c == '$') +} + func Parse(tm *t.Map, filename string, src []t.Token, opts *Options) (*...
Updated default AWSELB log format.
@@ -69,7 +69,7 @@ static const GPreConfLog logs = { "%d %t %^ %m %U %q %^ %^ %h %u %R %s %^ %^ %L", /* W3C */ "%d\\t%t\\t%^\\t%b\\t%h\\t%m\\t%^\\t%r\\t%s\\t%R\\t%u\\t%^", /* CloudFront */ "\"%x\",\"%h\",%^,%^,\"%m\",\"%U\",\"%s\",%^,\"%b\",\"%D\",%^,\"%R\",\"%u\"", /* Cloud Storage */ - "%dT%t.%^ %^ %h:%^ %^ %T %^ %^ %...
BugID: add binary load when entering debug mode.
}, { "text": "break application_start" + }, + { + "text": "monitor reset" + }, + { + "text": "load" } ], "customLaunchSetupCommands": [],
docs: update esp wrover kit user guide
Binary files a/docs/_static/esp-wrover-kit-v4.1-layout-front.png and b/docs/_static/esp-wrover-kit-v4.1-layout-front.png differ
Reapply my C89 fixes to TCOD_dijkstra_compute The only variables which actually had to be moved were unsigned int x, y; and int i; which couldn't be merged with its for loop.
@@ -516,25 +516,9 @@ void TCOD_dijkstra_compute (TCOD_dijkstra_t dijkstra, int root_x, int root_y) { /* and distances for each index */ int dd[8] = { 100, 100, 100, 100, data->diagonal_cost, data->diagonal_cost, data->diagonal_cost, data->diagonal_cost }; /* if diagonal_cost is 0, disallow diagonal moves */ - int i; in...
volteer: Disable USB PD extended messages Remove support for sending or receiving extended messages, including chunking. Save 3120 bytes in RO flash and 3128 bytes in RW. TEST=make buildall BRANCH=none
/* Enabling USB4 mode */ #define CONFIG_USB_PD_USB4 +/* Disabled PD extended message support to save flash space. */ +#undef CONFIG_USB_PD_EXTENDED_MESSAGES + /* USB Type A Features */ #define USB_PORT_COUNT 1 #define CONFIG_USB_PORT_POWER_DUMB
Generalize version check for run_rocm to work old or new rpm divisons
@@ -119,7 +119,7 @@ function getversion(){ echo "Selecting highest supported version: ${versions[$maxvers]}" else # Determine ROCm version. - rocm=$(cat "$AOMPROCM"/.info/version-dev) + rocm=$(cat "$AOMPROCM"/.info/version*|head -1) rocmregex="([0-9]+\.[0-9]+\.[0-9]+)" if [[ "$rocm" =~ $rocmregex ]]; then rocmver=$(ech...
[DYNAREC] Fixed the ARMs and ARM$ instructions type for the printer
@@ -840,7 +840,7 @@ def main(root, ver, __debug_forceAllDebugging=False): if (len(imms) == 2) and (len(imms[0]) == 3): append("uint8_t imm = ((opcode >> " + str(imms[0][0]) + ") & 0x1F) + 1;\n") append("uint8_t shift = ((opcode >> 4) & " + \ - ("0xFF)" if (spltln[0] == "ARMS") else ("0xFE)" if (spltln[0] == "ARM$") els...
sse4.1: use NEON types instead of vector in insert implementations This is another fix to get MSVC on Arm working properly.
@@ -1398,7 +1398,7 @@ simde_mm_insert_epi8 (simde__m128i a, int i, const int imm8) #define simde_mm_insert_epi8(a, i, imm8) _mm_insert_epi8(a, i, imm8) #endif #elif defined(SIMDE_ARM_NEON_A32V7_NATIVE) -# define simde_mm_insert_epi8(a, i, imm8) simde__m128i_from_neon_i8(vsetq_lane_s8(i, simde__m128i_to_private(a).i8, i...
io: fix flb_io_net_connect only opening sync connections Sockets were always initialized to synchronous mode in flb_io_net_connect. This caused a large performance cost when using http_do in async mode.
@@ -257,6 +257,14 @@ FLB_INLINE int flb_io_net_connect(struct flb_upstream_conn *u_conn, flb_socket_close(u_conn->fd); } + /* Check which connection mode must be done */ + if (th) { + async = flb_upstream_is_async(u); + } + else { + async = FLB_FALSE; + } + /* * If the net.source_address was set, we need to determinate...
Testing: for grib_dump on section(s)
REDIRECT=/dev/null +label="grib_dump_test" +temp=temp.$label.txt + if [ $HAVE_MEMFS -eq 1 ]; then unset ECCODES_DEFINITION_PATH unset ECCODES_SAMPLES_PATH @@ -76,3 +79,23 @@ for file in $files; do ${tools_dir}/grib_dump -O ${data_dir}/$file 2> $REDIRECT > $REDIRECT fi done + + +# Test for dumping a section +if [ $HAVE_...
Remove unrelated to custom loss changes
@@ -175,12 +175,12 @@ ui32 TFeaturesLayout::GetExternalFeatureIdx(ui32 internalFeatureIdx, EFeatureTyp } ui32 TFeaturesLayout::GetInternalFeatureIdx(ui32 externalFeatureIdx) const { - Y_ASSERT(IsCorrectExternalFeatureIdx(externalFeatureIdx) && "Training and validation sets have different number of features"); + Y_ASSER...
[engine] Fix updates when node is not detected,
@@ -505,10 +505,13 @@ static void Luos_AutoUpdateManager(void) service_table[i].service_cb(&service_table[i], &updt_msg); } else + { + if (Robus_IsNodeDetected() == DETECTION_OK) { // directly transmit the message in Localhost Robus_SetTxTask(service_table[i].ll_service, &updt_msg); } + } service_table[i].auto_refresh....
util/wrap.pl: do not look at EXE_SHELL Acting on EXE_SHELL was a bit over the top, especially in light of instructions like this (from NOTES.VALGRIND): EXE_SHELL="`/bin/pwd`/util/wrap.pl valgrind --error-exitcode=1 --leak-check=full -q" Fixes
@@ -19,11 +19,7 @@ $ENV{OPENSSL_MODULES} = $std_providers my $use_system = 0; my @cmd; -if (($ENV{EXE_SHELL} // '') ne '') { - # We don't know what $ENV{EXE_SHELL} contains, so we must use the one - # string form to ensure that exec invokes a shell as needed. - @cmd = ( join(' ', $ENV{EXE_SHELL}, @ARGV) ); -} elsif (-x...
story: use new parser in mark
++ noun story :: clam from %noun ++ mime :: retrieve form %mime |= [p=mite q=octs] - ^- story =/ story-text `@t`q.q - =/ parsed-story `(list [@uv @t wain])`(rash story-text story-parser) + =/ parsed-story `(list [@uv (list [@t wain])])`(rash story-text parse-story) + ^- story %- ~(gas by *story) %+ turn parsed-story - ...
Resolve a segfault in aws-nuke by removing thread local access in the internal openssl.
@@ -77,7 +77,7 @@ build/openssl/libssl.a build/openssl/libcrypto.a: @echo "$${CI:+::group::}Building openssl" @$(RM) -r build/openssl @mkdir build/openssl - cd build/openssl && ../../openssl/Configure no-engine no-async no-tests no-unit-test && make -j8 + cd build/openssl && ../../openssl/Configure no-engine no-async n...
Enable xcb-native-painting.
@@ -454,7 +454,7 @@ function build_qt qt_flags="${qt_flags} -qt-libpng" if [[ "$OPSYS" == "Linux" ]] ; then - qt_flags="${qt_flags} -qt-xcb --xkbcommon=yes" + qt_flags="${qt_flags} -qt-xcb --xkbcommon=yes -xcb-native-painting" fi if [[ "$VISIT_BUILD_MODE" == "Release" ]] ; then
relaxing rz tolerance and logging degenerate intersections
@@ -1782,6 +1782,9 @@ avtXRayFilter::CartesianExecute(vtkDataSet *ds, int &nLinesPerDataset, // Kathleen Biagas, Thu Mar 29 07:48:13 PDT 2012 // Templatized this method, for double-precision support. // +// Matt Larsen, Mon June 21 08:03:32 PDT 2021 +// Log the total number of degenerate intersections +// // **********...
nimble/phy/nrf: Update timings for BabbleSim Only 1M and 2M are supported, no need for LE Coded.
@@ -179,31 +179,23 @@ static const uint16_t g_ble_phy_mode_pkt_start_off[BLE_PHY_NUM_MODE] = { #if BABBLESIM /* delay between EVENTS_READY and start of tx */ static const uint8_t g_ble_phy_t_txdelay[BLE_PHY_NUM_MODE] = { - [BLE_PHY_MODE_1M] = 0, - [BLE_PHY_MODE_2M] = 3, - [BLE_PHY_MODE_CODED_125KBPS] = 5, - [BLE_PHY_MO...
Fix parsing private key when empty
@@ -441,8 +441,13 @@ HRESULT Library_sys_net_native_System_Net_Security_SslNative::InitHelper(CLR_RT_ privateKey = hbCert[Library_sys_net_native_System_Security_Cryptography_X509Certificates_X509Certificate2:: FIELD___privateKey] .DereferenceArray(); + + // grab the first element, if there is a private key + if (privat...
Fix Path Allowance (Amplification Protection) Logic
@@ -66,7 +66,7 @@ QuicPathSetAllowance( BOOLEAN WasBlocked = Path->Allowance < QUIC_MIN_SEND_ALLOWANCE; Path->Allowance = NewAllowance; - if (Path->IsPeerValidated && + if (!Path->IsPeerValidated && (Path->Allowance < QUIC_MIN_SEND_ALLOWANCE) != WasBlocked) { if (WasBlocked) { QuicConnRemoveOutFlowBlockedReason(
storage: modified the log_cb prototype to match the one expected by cio
@@ -479,8 +479,8 @@ static void print_storage_info(struct flb_config *ctx, struct cio_ctx *cio) } } -static void log_cb(void *ctx, int level, const char *file, int line, - const char *str) +static int log_cb(struct cio_ctx *ctx, int level, const char *file, int line, + char *str) { if (level == CIO_LOG_ERROR) { flb_err...
analysis workflow, Add address sanitizer test, disable static for build speedup.
@@ -21,13 +21,13 @@ jobs: # make_test: "yes" # - name: Clang-analyzer # os: ubuntu-latest -# config: "CC=clang --enable-debug --disable-flto" +# config: "CC=clang --enable-debug --disable-flto --disable-static" # make_test: "yes" # clang_analysis: "yes" # - name: libevent # os: ubuntu-latest # install_libevent: "yes" -...
Use error*() getters where possible. This makes it a little easier to change the underlying representation and ensures that the functions are used.
@@ -328,7 +328,7 @@ errorInternalCatch(const ErrorType *const errorTypeCatch, const bool fatalCatch) void errorInternalPropagate(void) { - assert(errorContext.error.errorType != NULL); + assert(errorType() != NULL); // Mark the error as uncaught errorContext.tryList[errorContext.tryTotal].uncaught = true; @@ -391,7 +39...
linux-build.sh support output directory argument
# the following dev-dependencies must be installed # Ubuntu: apt-get update -y && apt-get -y install git cmake build-essential libssl-dev pkg-config libboost-all-dev libsodium-dev +BUILDIR=${1:-../../build} + +echo "Building into $BUILDIR" + # publish -mkdir -p ../../build -dotnet publish -c Release --framework netcore...
HV: code format for memory.c replace blank space indent with tabs Acked-by: Eddie Dong
@@ -108,7 +108,8 @@ static void *allocate_mem(struct mem_pool *pool, unsigned int num_bytes) } /* Break if selected buffer is not free */ - if ((pool->bitmap[tmp_idx] & (1U << tmp_bit_idx)) != 0U) + if ((pool->bitmap[tmp_idx] + & (1U << tmp_bit_idx)) != 0U) break; } @@ -121,7 +122,8 @@ static void *allocate_mem(struct ...
Fix warnings on Linux build.
@@ -66,7 +66,7 @@ _papplSystemInitDNSSD( return; } - if ((system->dns_sd_client = avahi_client_new(avahi_threaded_poll_get(system->dns_sd_master), AVAHI_CLIENT_NO_FAIL, dns_sd_client_cb, system, &error)) == NULL) + if ((system->dns_sd_client = avahi_client_new(avahi_threaded_poll_get(system->dns_sd_master), AVAHI_CLIEN...
zuse: schnorrsig-sign from spec test vectors match, but are byte-flipped. has to do a lot of endianness twiddling.
=/ pub (from.j qj) ?< =([0 0] pub) pub + ++ hash-tag + |= [tag=@ [l=@ x=@]] + =+ hat=(shax tag) + %- shay + =/ pin + (cat 8 hat (cat 8 hat x)) + [(add 64 l) pin] ++ schnorrsig-sign - ~& %no-impl - ~/ %sosi - |= * - !! + :: ~/ %sosi + |= [sk=@I m=@I a=@I] + =/ c curve + =/ j jc.c + ?< |(=(0 sk) (gte sk n.domain.c)) + =/...
Manage time messages
@@ -120,5 +120,4 @@ typedef struct __attribute__((__packed__)){ float wheel_diameter_mm; }motor_config_t; - #endif /*__ __L0_H */
spider2 works with ford-fusion
$~ [*thread-form ~] [=thread-form kid=(map tid trie)] :: -+$ trying ?(%find %build %none) ++$ trying ?(%build %none) +$ state $: starting=(map yarn [=trying =vase]) running=trie =/ =yarn (~(got by tid.state) tid) =. starting.state (~(jab by starting.state) yarn |=([=trying =vase] [%none vase])) + ~| sign+[- +<]:sign-ar...
oc_discovery: reflect internal API change
@@ -164,7 +164,7 @@ process_device_resources(CborEncoder *links, oc_request_t *request, matches++; if (filter_resource(oc_core_get_resource_by_index(OCF_RES, device_index), - request, oc_string(anchor), links)) + request, oc_string(anchor), links, device_index)) matches++; if (filter_resource(oc_core_get_resource_by_in...
Initialize Pass font properly;
@@ -3197,6 +3197,7 @@ Pass* lovrGraphicsGetPass(PassInfo* info) { float defaultColor[4] = { 1.f, 1.f, 1.f, 1.f }; memcpy(pass->pipeline->color, defaultColor, sizeof(defaultColor)); pass->pipeline->formatHash = 0; + pass->pipeline->font = NULL; pass->pipeline->shader = NULL; pass->pipeline->mode = MESH_TRIANGLES; pass->...
kukui_scp: Always use watchdog reset on reboot. TEST=`reboot` in SCP console, and see that it triggers a watchdog reset. BRANCH=none Commit-Ready: ChromeOS CL Exonerator Bot
@@ -232,9 +232,10 @@ void system_reset(int flags) } } - /* SCB AIRCR reset */ - CPU_NVIC_APINT = 0x05fa0004; - /* Spin wait for chip to reboot */ + /* Set watchdog timer to small value, and spin wait for watchdog reset */ + SCP_WDT_CFG = 0; + SCP_WDT_CFG = SCP_WDT_ENABLE | SCP_WDT_PERIOD(1); + watchdog_reload(); while ...
Recursively replace constant expressions in AutomaticLocals The previous commit didn't take into account nested constant expressions.
@@ -123,6 +123,25 @@ AutomaticLocals::runOnModule(Module &M) return changed; } +// Recursively descend a Value's users and convert any constant expressions into +// regular instructions. +static void breakConstantExpressions(llvm::Value *Val, llvm::Function *Func) { + std::vector<llvm::Value *> Users(Val->user_begin(),...
Simpler to deal with..
@@ -6,5 +6,5 @@ public interface Processor { public String getId(); - public Resource execute(String[] fields) throws IOException; + public Resource execute(String[] fields) throws Exception; }
Update mangohud-setup.sh for new libdir paths
@@ -9,9 +9,10 @@ install() { uninstall() { [ "$UID" -eq 0 ] || exec sudo bash "$0" uninstall - rm -rfv "/usr/lib/MangoHud" + rm -rfv "/usr/lib/mangohud" rm -fv "/usr/share/vulkan/implicit_layer.d/mangohud.json" rm -fv "/etc/ld.so.conf.d/libmangohud.conf" + rm -fv "/etc/ld.so.conf.d/lib32-libmangohud.conf" rm -fv "/usr/...
bug fix in extract area
@@ -271,8 +271,5 @@ static int pack_long(grib_accessor* a, const long* val, size_t *len) err=select_area(a); if (err) return err; - err=grib_set_long(a->parent->h,self->doExtractSubsets,1); - if (err) return err; - return err; }
Fix OS-X compiler warning rdo.c:475:25: warning: absolute value function 'abs' given an argument of type 'int64_t' (aka 'long long') but has parameter of type 'int' which may cause truncation of value [-Wabsolute-value] current.cost = -abs(quant_cost_in_bits) + (bits << PRECISION_INC); ^ rdo.c:475:25: note: use functio...
@@ -472,7 +472,7 @@ void kvz_rdoq_sign_hiding( // Add sign bit, other bits and sig_coeff goes to one. int bits = CTX_FRAC_ONE_BIT + sh_rates->inc[current.pos] + sh_rates->sig_coeff_inc[current.pos]; - current.cost = -abs(quant_cost_in_bits) + (bits << PRECISION_INC); + current.cost = -llabs(quant_cost_in_bits) + (bits ...
graph-store: fix parsing of firstborn scry path
== == :: - [%x %firstborn @ @ @ *] + [%x %firstborn @ @ @ ~] =/ =ship (slav %p i.t.t.path) =/ =term i.t.t.t.path - =/ =atom i.t.t.t.t.path + =/ =atom (slav %ud i.t.t.t.t.path) =/ result=(unit marked-graph:store) (~(get by graphs) [ship term]) ?~ result
config-tools: add ROOTFS to misc_cfg.h.xsl Generate the ROOTFS_# macros to misc_cfg.h.xsl.
xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:dyn="http://exslt.org/dynamic" xmlns:math="http://exslt.org/math" + xmlns:str="http://exslt.org/strings" xmlns:acrn="http://projectacrn.org"> <xsl:include href="lib.xsl" /> <xsl:output method="text" /> <!-- Header include guard --> <xsl:value-of select="acrn:includ...
Set [NDCG] to fallback to [CPU] (until GPU implementation is fixed)
@@ -588,7 +588,6 @@ namespace NCatboostCuda { } break; } - case ELossFunction::NDCG: case ELossFunction::QueryRMSE: case ELossFunction::QuerySoftMax: case ELossFunction::PairLogit: