message
stringlengths
6
474
diff
stringlengths
8
5.22k
load petsc for install
@@ -74,6 +74,10 @@ make %install %ohpc_setup_compiler +%if "%{compiler_family}" != "intel" +module load openblas +%endif +module load petsc make DESTDIR=$RPM_BUILD_ROOT install # Module file
Scripts: fix chemical vs src/sink
@@ -152,13 +152,21 @@ while (<>) { my $units_code = get_db_units_code($units); my $is_chem = ""; my $is_aero = ""; + my $is_srcsink = ""; if ($aero ne "") { $is_aero = "1"; $is_chem = ""; + $is_srcsink = ""; } if ($constit ne "") { $is_aero = ""; $is_chem = "1"; + $is_srcsink = ""; + } + if ($sourceSink ne "") { + $is_...
comment out GPU mode
@@ -417,8 +417,8 @@ static const struct operator_p_s* T1inv_p_create(const struct mdb_irgnm_l1_conf* auto tmp = operator_p_create(dm->N, dm->dims, dm->N, dm->dims, CAST_UP(PTR_PASS(data)), T1inv_apply, T1inv_del); -#ifdef USE_CUDA - if (0 < cuda_num_devices()) { +#if 0 + if (0 < cuda_num_devices()) { // FIXME: not a co...
link-view: in mark, use terms for +of cases
:: ++ mems %- of - :~ 'group'^pa - 'ships'^(cu sy (ar (su ;~(pfix sig fed:ag)))) + :~ %group^pa + %ships^(cu sy (ar (su ;~(pfix sig fed:ag)))) == -- --
Minor code comment cleanup.
@@ -1211,7 +1211,7 @@ bool celix_bundleContext_useServiceWithOptions( if(opts->flags & CELIX_SERVICE_USE_DIRECT) { if(opts->flags & CELIX_SERVICE_USE_SOD) { - // TL;DR make "service on demand" pattern work. Try comment it out and run CelixBundleContextServicesTests.UseServiceOnDemandDirectlyWithAsyncRegisterTest + // c...
Update README.md Add extra line after table
@@ -347,6 +347,7 @@ Parameters that are enabled by default have to be explicitly disabled. These (cu | `battery_icon` | Display battery icon instead of percent | | `battery_color` | Change the BATT text color | | `force_amdgpu_hwmon` | Use hwmon sysfs instead of libdrm for amdgpu stats | + Example: `MANGOHUD_CONFIG=cpu...
scripts: fix reformat-java for clang-format 11 version string
SCRIPTS_DIR=$(dirname "$0") . "${SCRIPTS_DIR}/include-common" -MIN_VERSION=11 -CLANG_FORMAT=$(command -v clang-format-$MIN_VERSION || command -v clang-format) +REQUIRED_VERSION=11 +CLANG_FORMAT=$(command -v clang-format-$REQUIRED_VERSION || command -v clang-format) if [ -n "$CLANG_FORMAT" ]; then LOCATION="$CLANG_FORMA...
Don't redefine variable.
@@ -1852,7 +1852,7 @@ define_function(imphash) return_string(UNDEFINED); // Lookup in cache first. - char* digest_ascii = (char*) yr_hash_table_lookup( + digest_ascii = (char*) yr_hash_table_lookup( pe->hash_table, "imphash", NULL);
[Readme] note about vulkan vsync support
@@ -152,11 +152,12 @@ Note: Width and Height are set automatically based on the font_size, but can be - `n` = Sync to refresh rate / n. ### Vulkan Vsync -- `0` = Adaptive VSync -- `1` = Off -- `2` = Mailbox (VSync with uncapped FPS) -- `3` = On +- `0` = Adaptive VSync (FIFO_RELAXED_KHR) +- `1` = Off (IMMEDIATE_KHR) +- ...
Update mat2cfl for new Matlab interleaved complex API
/* * Martin Uecker 2012-01-18 * uecker@eecs.berkeley.edu + * + * Damien Nguyen 2018-04-19 + * damien.nguyen@alumni.epfl.ch */ #include <string.h> @@ -70,13 +73,20 @@ int main(int argc, char *argv[]) snprintf(outname, 256, "%s_%s", strtok(argv[1], "."), name); complex float* buf = create_cfl(outname, ndim, ldims); + siz...
tramp: return success immediatly after command
@@ -158,7 +158,7 @@ vtx_update_result_t serial_tramp_update() { return VTX_WAIT; } else { parser_state = PARSER_IDLE; - return VTX_WAIT; + return VTX_SUCCESS; } } case PARSER_READ_MAGIC: {
Fix browser loop on iPhone
@@ -417,7 +417,7 @@ class DocumentBrowserViewController: UIViewController, UICollectionViewDataSourc collectionView.reloadData() // Directory observer - DispatchQueue.global(qos: .background).async { + DispatchQueue.global().async { var files = self.scripts_ while true { if self.stopObserver_ {
hooks: create plugin config from contract
@@ -45,11 +45,56 @@ static int initHooksGopts (KDB * kdb, Plugin * plugin, Key * errorKey) return 0; } -static Plugin * loadPlugin (const char * pluginName, KeySet * modules, Key * errorKey) +static KeySet * getPluginConfigFromContract(const char * pluginName, const KeySet * contract) +{ + KeySet * tmpContract = ksDup ...
compiler-families/arm-compilers-devel: cleanup to match latest convention(s), add check in %postun
#----------------------------------------------------------------------------eh- %include %{_sourcedir}/OHPC_macros -%{!?PROJ_DELIM: %global PROJ_DELIM -ohpc} - -%define pname arm-compilers-devel +%global pname arm-compilers-devel Summary: OpenHPC compatibility package for Arm HPC compiler Name: %{pname}%{PROJ_DELIM} @...
Adds option for goto-instrument flags specification
@@ -41,6 +41,11 @@ CBMCFLAGS = \ $(C_CBMCFLAGS) $(O_CBMCFLAGS) $(H_CBMCFLAGS) \ # empty +INSTFLAGS = \ + $(INSTFLAGS2) \ + $(C_INSTFLAGS) $(O_INSTFLAGS) $(H_INSTFLAGS) \ + # empty + # ____________________________________________________________________ # Rules # @@ -82,7 +87,7 @@ $(ENTRY)3.goto: $(ENTRY)2.goto > $(ENTR...
[build] fix lib paths for GnuTLS, NSS (thx dirk)
@@ -850,7 +850,7 @@ GNUTLS_LIBS= if test "x$use_gnutls" = "xyes"; then if test "$WITH_GNUTLS" != "yes"; then GNUTLS_CFLAGS="-I$WITH_GNUTLS/include" - GNUTLS_LIBS="-L$WITH_GNUTLS/lib" + GNUTLS_LIBS="-L$WITH_GNUTLS/lib -lgnutls" else dnl oldest GnuTLS supported release is 3.3.x at time this is being written PKG_CHECK_MOD...
hw-support: update C2 chip info to reflect that esp8684 has embedded flash Closes
@@ -14,5 +14,5 @@ void esp_chip_info(esp_chip_info_t *out_info) out_info->model = CHIP_ESP32C2; out_info->revision = efuse_hal_chip_revision(); out_info->cores = 1; - out_info->features = CHIP_FEATURE_WIFI_BGN | CHIP_FEATURE_BLE; + out_info->features = CHIP_FEATURE_WIFI_BGN | CHIP_FEATURE_BLE | CHIP_FEATURE_EMB_FLASH; ...
Sync flashloader.c with commit
static const uint8_t loader_code_stm32f4_lv[] = { // flashloaders/stm32f4lv.s - 0xdf, 0xf8, 0x28, 0xc0, - 0xdf, 0xf8, 0x28, 0xa0, - 0xe2, 0x44, 0x03, 0x78, + 0xdf, 0xf8, 0x2c, 0xc0, + 0xdf, 0xf8, 0x2c, 0xa0, + 0xe2, 0x44, 0x4f, 0xea, + 0x82, 0x02, 0x03, 0x78, 0x0b, 0x70, 0x00, 0xf1, 0x01, 0x00, 0x01, 0xf1, 0x01, 0x01, ...
Remove ntdll import
@@ -255,7 +255,8 @@ HANDLE PhCreateThread( // NOTE: PhCreateThread previously used CreateThread with callers using GetLastError() // for checking errors. We need to preserve this behavior for compatibility -dmex // TODO: Migrate code over to PhCreateThreadEx and remove this function. - RtlSetLastWin32ErrorAndNtStatusFr...
Update 'Widget.intentdefinition'
<key>INIntentDefinitionSystemVersion</key> <string>20A4299v</string> <key>INIntentDefinitionToolsBuildVersion</key> - <string>12A7208</string> + <string>12A7300</string> <key>INIntentDefinitionToolsVersion</key> - <string>12.0</string> + <string>12.0.1</string> <key>INIntents</key> <array> <dict>
removed stale ast.Stat.Func tag check
@@ -266,9 +266,6 @@ function Converter:visit_stat(stat) elseif tag == "ast.Stat.Call" then stat.call_exp = self:convert_exp(stat.call_exp) - elseif tag == "ast.Stat.Func" then - self:visit_func(stat) - elseif tag == "ast.Stat.Break" then -- empty else
OpenCanopy: Restore the old cursor rectangle early
@@ -58,6 +58,9 @@ STATIC UINT64 mStartTsc = 0; STATIC UINT8 mNumValidDrawReqs = 0; STATIC GUI_DRAW_REQUEST mDrawRequests[4] = { { 0 } }; +STATIC UINT32 mCursorOldX = 0; +STATIC UINT32 mCursorOldY = 0; + #define PIXEL_TO_UINT32(Pixel) \ ((UINT32) SIGNATURE_32 ((Pixel)->Blue, (Pixel)->Green, (Pixel)->Red, (Pixel)->Reserv...
Update: also allow to use raw output from Python interface
@@ -34,7 +34,7 @@ def GetOutput(): inputs = [parseTask(l.split("Input: ")[1]) for l in lines if l.startswith('Input:')] derivations = [parseTask(l.split("Derived: ")[1]) for l in lines if l.startswith('Derived:')] answers = [parseTask(l.split("Answer: ")[1]) for l in lines if l.startswith('Answer:')] - return {"input":...
Optimize imageviewer's XCB_EXPOSE handling
@@ -412,7 +412,8 @@ int main(int argc, char** argv) { switch (event->response_type & 0x7F) { case XCB_EXPOSE: { - if (loaded) { + xcb_expose_event_t* e = (xcb_expose_event_t*)event; + if (loaded && (e->count == 0)) { xcb_copy_area(c, g_pixmap, w, g, 0, 0, 0, 0, g_width, g_height); xcb_flush(c); }
Fix unlinking of SLRU segments. Commit intended to drop any queued up fsync requests before unlinking segment files, but missed a code path. Fix, by centralizing the forget-and-unlink code into a single function. Reported-by: Tomas Vondra Discussion:
@@ -145,7 +145,7 @@ static int SlruSelectLRUPage(SlruCtl ctl, int pageno); static bool SlruScanDirCbDeleteCutoff(SlruCtl ctl, char *filename, int segpage, void *data); -static void SlruInternalDeleteSegment(SlruCtl ctl, char *filename); +static void SlruInternalDeleteSegment(SlruCtl ctl, int segno); /* * Initialization...
examples/terminals: more term.log exclusions
@@ -48,6 +48,12 @@ static bool isInteresting(const char* s, size_t len) if (s[i] == ';') { continue; } + if (s[i] == 'c') { + continue; + } + if (s[i] == 'R') { + continue; + } if (isdigit(s[i])) { continue; }
avoid hole on data when we move from the end of msg_buffer to the begin.
@@ -266,7 +266,7 @@ void MsgAlloc_ValidHeader(void) // Move current_msg to msg_buffer current_msg = (volatile msg_t *)&msg_buffer[0]; // move data_ptr after the new location of the header - data_ptr = &msg_buffer[0] + sizeof(header_t) + 1; + data_ptr = &msg_buffer[0] + sizeof(header_t); } else {
Localize network names.
@@ -1155,14 +1155,14 @@ _papplSystemWebNetwork( { if (client->system->network_set_cb) { - papplClientHTMLPrintf(client, " <tr><th>%s:</th><td>%s: <select name=\"%s.config4\" onchange=\"update_ipv4('%s');\">", network->name, papplLocGetString(loc, _PAPPL_LOC("Configuration")), network->ident, network->ident); + papplCli...
tap: fix the segv Type: fix
@@ -109,8 +109,11 @@ tap_free (vlib_main_t * vm, virtio_if_t * vif) virtio_vring_free_tx (vm, vif, TX_QUEUE (i)); /* *INDENT-ON* */ + if (vif->tap_fds) + { _IOCTL (vif->tap_fds[0], TUNSETPERSIST, (void *) (uintptr_t) 0); tap_log_dbg (vif, "TUNSETPERSIST: unset"); + } error: vec_foreach_index (i, vif->tap_fds) close (vi...
Back out Linux updates since Travis CI still doesn't support Ubuntu Xenial...
@@ -15,7 +15,11 @@ matrix: - os: linux before_install: - sudo apt-get -qq update - - sudo apt-get install -y avahi-daemon avahi-utils cura-engine libavahi-client-dev libfreetype6-dev libgnutls28-dev libharfbuzz-dev libjbig2dec0-dev libjpeg-dev libmupdf-dev libnss-mdns libopenjp2-7-dev libpng-dev zlib1g-dev + # Note: Be...
Close file on error
@@ -1098,6 +1098,7 @@ int kvz_config_parse(kvz_config *cfg, const char *name, const char *value) if (width > 10000 || height > 10000) { fprintf(stderr, "ROI dimensions exceed arbitrary value of 10000.\n"); + fclose(f); return 0; }
Fix 'Console/Printing functions using UTF-8' section in docs
@@ -2122,7 +2122,9 @@ INCLUDE_FILE_PATTERNS = # This tag requires that the tag ENABLE_PREPROCESSING is set to YES. PREDEFINED = TCODLIB_API= \ - TCOD_DEPRECATED(msg)= \ + TCODLIB_CAPI= \ + "TCODLIB_FORMAT(int,int)= " \ + "TCOD_DEPRECATED(msg)= " \ TCOD_DEPRECATED_NOMESSAGE= # If the MACRO_EXPANSION and EXPAND_ONLY_PRED...
awm draws a stack of open windows
@@ -435,6 +435,32 @@ int main(int argc, char** argv) { user_window_t* window = &windows[i]; blit_layer(_screen.vmem, window->layer, window->frame, rect_make(point_zero(), window->frame.size)); } + // Draw a VStack of currently active applications, so the user is aware + Size vstack_row_size = size_make(200, 30); + uint...
Composite volume io calculations fix
@@ -282,7 +282,7 @@ static void *ocf_composite_io_allocator_new(ocf_io_allocator_t allocator, member_addr = cur_addr - (i > 0 ? composite->end_addr[i-1] : 0); member_bytes = OCF_MIN(cur_addr + cur_bytes, composite->end_addr[i]) - - member_addr; + - cur_addr; cio->member_io[i] = ocf_io_new(&composite->member[i].volume, ...
Update README.md Add check mark to 1-Wire for ESP32. ***NO_CI***
@@ -76,7 +76,7 @@ The above firmware builds include support for the class libraries and features m | ST_STM32F769I_DISCOVERY | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :heavy_check_mark: | :hea...
Add -pthread to avoid std::thread etc. issues With PHSA on Ubuntu 16.04, this issue gets triggered:
@@ -42,6 +42,8 @@ ExternalProject_Add( CMAKE_ARGS -DTESTS=ON -DCLIENTS=ON + # This is needed with some drivers due to https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67791 + -DCMAKE_CXX_FLAGS=-pthread INSTALL_COMMAND /bin/true )
Fix Double Free error
@@ -1333,7 +1333,7 @@ double *pluto_mip_scale_solutions_glpk(glp_prob *ilp) return scale_sols; } -glp_prob* get_scaling_lp_gplk(double* fpsol, int num_sols, double **val, int **index, int npar, int num_ccs) +glp_prob* get_scaling_lp_glpk(double* fpsol, int num_sols, double **val, int **index, int npar, int num_ccs) { i...
dispatcher: (try to) address some Coverity findings
@@ -1114,6 +1114,7 @@ dispatch_runner(void *arg) if (ufds == NULL) { logerr("dispatch: failed to allocate socket poll " "space, cannot continue!\n"); + pthread_rwlock_unlock(&connectionslock); kill(getpid(), SIGTERM); return NULL; } @@ -1158,7 +1159,8 @@ dispatch_runner(void *arg) conn = &(connections[c]); /* connectio...
config_tools: update loading msr driver logic load msr driver if not found cpu number.
@@ -54,7 +54,7 @@ def check_env(): # check cpu msr file cpu_dirs = "/dev/cpu" - if check_msr_files(cpu_dirs): + if not check_msr_files(cpu_dirs): res = subprocess.Popen("modprobe msr", shell=True, stdout=subprocess.PIPE, stderr=subprocess.PIPE, close_fds=True)
Fix makefile to attach build identifier.
@@ -27,7 +27,7 @@ PREFIX?=/usr/local INCLUDEDIR?=$(PREFIX)/include BINDIR?=$(PREFIX)/bin LIBDIR?=$(PREFIX)/lib -JANET_BUILD?="\"$(shell git log --pretty=format:'%h' -n 2> /dev/null || echo local)\"" +JANET_BUILD?="\"$(shell git log --pretty=format:'%h' -n 1 2> /dev/null || echo local)\"" CLIBS=-lm -lpthread JANET_TARGE...
[external] CSparse_extensions fix missing license
+/* Siconos, Copyright INRIA 2005-2016. + * Siconos is a program dedicated to modeling, simulation and control + * of non smooth dynamical systems. + * Siconos is a free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software ...
opae-sdk:update installation guide
@@ -126,6 +126,8 @@ Set the RHEL version and install packages. Set proxy name and port number # python3 -m pip install --user jsonschema virtualenv pudb pyyaml ``` +### Create opae-sdk packages ### + Download the OPAE-SDK source code from github. For example, download from Master branch. ```console
Updated Github screenshots.
@@ -8,8 +8,8 @@ viewer that runs in a **terminal** on &ast;nix systems or through your administrators that require a visual server report on the fly. More info at: [https://goaccess.io](https://goaccess.io/?src=gh). -[![GoAccess Terminal Dashboard](https://goaccess.io/images/goaccess-real-time-term-gh.png?2020071402)](...
s5j/gpio: clean up code Function open should not expose any GPIOs, so it is remained empty. Function up_gpioinitialize should not expose any GPIO, remained empty. This job will be done on board dependednt level by s5j_gpioinitialize()
@@ -227,8 +227,6 @@ static struct gpio_bank s5jt200_gpio_bank[] = { }; #endif -bool isinit = 0; - /**************************************************************************** * Private Functions ****************************************************************************/ @@ -608,10 +606,6 @@ static const char *gpio_b...
docs/ure: Document some more supported regex operators.
@@ -20,14 +20,19 @@ Supported operators are: including negated sets (e.g. ``[^a-c]``). ``'^'`` + Match the start of the string. ``'$'`` + Match the end of the string. ``'?'`` + Match zero or one of the previous entity. ``'*'`` + Match zero or more of the previous entity. ``'+'`` + Match one or more of the previous enti...
Update BoAT_User_Guide_en.md Function and architecture : change "based on cellular modules connect to the blockchain and realize offer data on-chain services." to "based on cellular modules connect to the blockchain and access on-chain services."
@@ -23,7 +23,7 @@ The intended readers of this article are customers who integrate the BoAT IoT Fr ## Function and architecture -BoAT IoT Framework is a C language blockchain client framework software for cellular modules, which is easy to be ported to various modules and helps IoT applications based on cellular module...
[catboost] order includes, add missing empty line
#pragma once #include "features.h" +#include "online_ctr.h" #include "split.h" - #include "static_ctr_provider.h" -#include <catboost/libs/options/enums.h> - -#include <catboost/libs/model/flatbuffers/model.fbs.h> - #include <catboost/libs/cat_feature/cat_feature.h> +#include <catboost/libs/model/flatbuffers/model.fbs....
Update: use resource protection section there as the arrays for var intro are now global
@@ -208,6 +208,8 @@ int appearing_left[ATOMS_MAX] = {0}; int appearing_right[ATOMS_MAX] = {0}; char variable_id[ATOMS_MAX] = {0}; Term Variable_IntroduceImplicationVariables(Term implication, bool *success, bool extensionally) +{ + #pragma omp critical(VarIntro) { assert(Narsese_copulaEquals(implication.atoms[0], TEMPO...
Fix x/y mixup in lv_page.c (fixes
@@ -567,7 +567,7 @@ void lv_page_scroll_ver(lv_obj_t * page, lv_coord_t dist) a.repeat_pause = 0; lv_anim_create(&a); #else - lv_obj_set_y(scrl, lv_obj_get_x(scrl) + dist); + lv_obj_set_y(scrl, lv_obj_get_y(scrl) + dist); #endif }
added info about rolling release and sync to hashcat beta
@@ -3,8 +3,9 @@ hcxtools Small set of tools to capture and convert packets from wlan devices for the use with latest hashcat. The tools are 100% compatible to hashcat -and recommended by hashcat (that means hcxtools 3.6.0 working with -hashcat 3.6.0). Support for hashcat hash-modes (2500, 2501, 4800, 5500, 12000, 15800...
mdns/fuzzer: Fix non-instrumentation test to reproduce fuzzer issues Regression from skipped reading the packet causing issues when locally reproducing crashed found by the fuzzer
@@ -205,6 +205,7 @@ int main(int argc, char** argv) // Note: parameter1 is a file (mangled packet) which caused the crash file = fopen(argv[1], "r"); assert(file >= 0 ); + len = fread(buf, 1, 1460, file); fclose(file); }
tests/posix: test pthread_key_create in key dtor
@@ -21,7 +21,7 @@ static void dtor2(void *arg) { dtors_entered++; } -static void *worker(void *arg) { +static void *worker1(void *arg) { (void)arg; pthread_key_t key1, key2; @@ -39,6 +39,32 @@ static void *worker(void *arg) { return NULL; } +static void dtor3(void *arg) { + (void)arg; + + // Make sure that we can creat...
Run BVT Last
@@ -177,5 +177,5 @@ if ($CompressOutput) { } # Run the script. -Invoke-Expression ($RunTest + " -Path $($MsQuicTest) " + $TestArguments) Invoke-Expression ($RunTest + " -Path $($MsQuicCoreTest) " + $TestArguments) +Invoke-Expression ($RunTest + " -Path $($MsQuicTest) " + $TestArguments)
Fix typo in replication.c
@@ -3310,7 +3310,7 @@ void replicationDiscardCachedMaster(void) { * passed as argument as the socket for the new master. * * This function is called when successfully setup a partial resynchronization - * so the stream of data that we'll receive will start from were this + * so the stream of data that we'll receive wil...
In shooter play actor interact script on hit
#include "DataManager.h" #include "rand.h" +#define SHOOTER_HURT_IFRAMES 6 + +UBYTE shooter_iframes = 0; + void Reset_Shmup(); void Start_Shmup() { @@ -21,6 +25,7 @@ void Start_Shmup() { camera_target = &player.pos; camera_offset.x = -64; camera_offset.y = 0; + shooter_iframes = 0; } void Update_Shmup() { @@ -118,14 +1...
Set length macro for pbuf
/* Set size of pbuf structure */ #define SIZEOF_PBUF_STRUCT ESP_MEM_ALIGN(sizeof(esp_pbuf_t)) +#define SET_NEW_LEN(v, len) do { if ((v) != NULL) { *(v) = (len); } } while (0) /** * \brief Skip pbufs for desired offset @@ -441,24 +442,20 @@ esp_pbuf_strcmp(const esp_pbuf_p pbuf, const char* str, size_t offset) { const v...
Docs - clarifying that non-superuser connections via dblink require both hostname and password
href="https://www.postgresql.org/docs/8.3/static/dblink.html" format="html" scope="external" >dblink</xref> in the PostgreSQL documentation for more information about individual functions. </p> + <note>You must specify both a hostname and a password to connect with <codeph>dblink</codeph> as + a non-superuser.</note> <...
options/ansi: Fix several maybe uninitialized warnings
@@ -527,8 +527,10 @@ struct tm *localtime_r(const time_t *unix_gmt, struct tm *res) { char *tm_zone; frg::unique_lock<FutexLock> lock(__time_lock); // TODO: Set errno if the conversion fails. - if(unix_local_from_gmt(*unix_gmt, &offset, &dst, &tm_zone)) + if(unix_local_from_gmt(*unix_gmt, &offset, &dst, &tm_zone)) { __...
Patched memory overflow in AcpiParsing.c
@@ -2013,7 +2013,7 @@ RetrieveChannelWaysFromInterleaveSetMap( continue; } - *ppChannelWays = ReallocatePool(sizeof(UINT32) * Length, sizeof(UINT32) * Length + 1, *ppChannelWays); + *ppChannelWays = ReallocatePool(sizeof(UINT32) * Length, sizeof(UINT32) * (Length + 1), *ppChannelWays); if (*ppChannelWays == NULL) { Ret...
update rom file for c2 controller lib
@@ -764,7 +764,6 @@ r_ble_ll_conn_hci_set_data_len = 0x40000ddc; r_ble_ll_conn_hci_update = 0x40000de0; r_ble_ll_conn_hci_wr_auth_pyld_tmo = 0x40000de4; r_ble_ll_conn_init_phy = 0x40000de8; -r_ble_ll_conn_is_dev_connected = 0x40000dec; r_ble_ll_conn_is_empty_pdu = 0x40000df0; r_ble_ll_conn_is_lru = 0x40000df4; r_ble_ll...
scroll on status text to change volume
@@ -27,9 +27,9 @@ static const char *colors[][3] = { static const char *tags[] = {"1", "2", "3", "4", "5", "6", "7", "8", "9"}; static const char *tagsalt[] = { "a", "b", "3", "4", "5", "6", "7", "8", "9" }; -static const char *upvol[] = {"/usr/bin/pactl", "set-sink-volume", "0", "+5%", NULL}; -static const char *downv...
Don't call dt_shutdown() from a unit test, nor from anywhere except hse_platform_fini()...
@@ -71,9 +71,6 @@ MTF_DEFINE_UTEST_PREPOST(rest_api, get_handler_test, rest_start, rest_stop) merr_t err; const char *path; - dt_shutdown(); - dt_init(); - ERROR_COUNTER(); /* Register the alias "test_dt" to send requests to DT */ @@ -91,17 +88,6 @@ MTF_DEFINE_UTEST_PREPOST(rest_api, get_handler_test, rest_start, rest_...
Dump: Use fence for code snippet
@@ -27,4 +27,7 @@ Currently it only works inside existing git repositories. ## Examples - kdb mount -R gitresolver /path/to/my/gitrepo/file.ini system/gittest ini shell execute/set='cd /path/to/my/gitrepo/ && git commit --amend' +```sh +kdb mount -R gitresolver /path/to/my/gitrepo/file.ini system/gittest ini shell \ + ...
arch/imxrt : Support board_reset functionality iMXRT is also enabled when resetting from boardctl.
@@ -323,3 +323,30 @@ void imxrt_wdog_hwreset(void) putreg16(reg, IMXRT_WDOG1_WCR); } } + +/**************************************************************************** + * Name: board_reset + * + * Description: + * Reset board. This function may or may not be supported by a + * particular board architecture. + * + * In...
burnout 3 crash fix
@@ -144,9 +144,9 @@ void init() addu(v0, s1, s2) ); - MakeInlineWrapper(0x1D5180, + MakeInlineWrapperWithNOP(0x1D5180, jal(0x2B6E20), - nop(), + sq(v0, v1, 0x30), jal((intptr_t)WriteHudValues), nop() );
19.04.1 Release Notes
# Release Notes {#release_notes} -* @subpage release_notes_19012 * @subpage release_notes_1908 +* @subpage release_notes_19041 * @subpage release_notes_1904 +* @subpage release_notes_19012 * @subpage release_notes_19011 * @subpage release_notes_1901 * @subpage release_notes_1810 * @subpage release_notes_1609 * @subpage...
Disable multithreading in ztrmv BLAS-Tester shows that the same problem exists as with DTRMV (issue
@@ -239,6 +239,9 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Uplo, } else nthreads = 1; +/* FIXME TRMV multithreading appears to be broken, see issue 1332*/ + nthreads = 1; + if(nthreads > 1) { buffer_size = n > 16 ? 0 : n * 4 + 40; }
use toeplitz mode by default
/* Copyright 2014-2015. The Regents of the University of California. - * Copyright 2016. Martin Uecker. + * Copyright 2016-2017. Martin Uecker. * All rights reserved. Use of this source code is governed by * a BSD-style license which can be found in the LICENSE file. * * Authors: * 2014-2017 Frank Ong <frankong@berkele...
removed fullscreen flag
@@ -57,7 +57,6 @@ static struct Net* net; bool missedFrame; - bool fullscreen; struct { @@ -884,8 +883,7 @@ static u64 getPerformanceFrequency() static void goFullscreen() { - platform.fullscreen = !platform.fullscreen; - SDL_SetWindowFullscreen(platform.window, platform.fullscreen ? SDL_WINDOW_FULLSCREEN_DESKTOP : 0);...
flash_ec: Add support for it8xxx2 Add support for it8xxx2, which will eventually replace ite_spi_ccd_i2c. TEST=Flash nereid BRANCH=none
@@ -383,7 +383,7 @@ esac case "${CHIP}" in "stm32"|"npcx_spi"|"npcx_int_spi"|"it83xx"|"npcx_uut"|"ite_spi"| \ - "ite_spi_ccd_i2c") + "ite_spi_ccd_i2c"|"it8xxx2") ;; *) if [[ -n "${FLAGS_read}" ]]; then @@ -972,10 +972,13 @@ function flash_flashrom() { fi fi + # Eventually remove ite_spi_ccd_i2c once all references are ...
ctrl_tcp: increase command buffer size
@@ -171,7 +171,7 @@ static bool command_handler(struct mbuf *mb, void *arg) struct re_printf pf = {print_handler, resp}; struct odict *od = NULL; const struct odict_entry *oe_cmd, *oe_prm, *oe_tok; - char buf[256]; + char buf[1024]; int err; err = json_decode_odict(&od, 32, (const char*)mb->buf, mb->end, 16);
Remove Artifactory promote
@@ -177,7 +177,6 @@ pipeline { steps { zip zipFile: 'astcenc.zip', dir: 'upload', archive: false cepeArtifactoryUpload(sourcePattern: '*.zip') - cepeArtifactoryPromote() } } }
conditionalize use of asm flags constraints on __GCC_ASM_FLAG_OUTPUTS__
@@ -26,6 +26,7 @@ atomic_testandset32(volatile u32 *p, u32 v) { u8 res; +#ifdef __GCC_ASM_FLAG_OUTPUTS__ __asm __volatile( " " MPLOCKED " " " btsl %2,%1 ; " @@ -34,6 +35,17 @@ atomic_testandset32(volatile u32 *p, u32 v) "+m" (*p) /* 1 */ : "Ir" (v & 0x1f) /* 2 */ : "cc"); +#else + __asm __volatile( + " " MPLOCKED " " +...
use rsp_put to free a response
@@ -458,7 +458,7 @@ dnode_rsp_send_next(struct context *ctx, struct conn *conn) if (status == DN_ERROR) { loga("OOM to obtain an mbuf for encryption!"); mbuf_put(header_buf); - req_put(rsp); + rsp_put(rsp); return NULL; }
Fix DHCP option Client-identifier
/* - * FreeRTOS+TCP V2.2.0 + * FreeRTOS+TCP V2.2.1 * Copyright (C) 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a copy of /* Offsets into the transmitted DHCP options fields at which various parameters are located. */ -#define dh...
BugID:17952514: fix the linkkitapp issue on developerkit
@@ -175,6 +175,8 @@ endif ifeq ($(COMPILER),armcc) $(NAME)_LINK_FILES := startup_stm32l496xx_keil.o $(NAME)_LINK_FILES += Src/stm32l4xx_hal_msp.o +GLOBAL_CFLAGS += -D__ORDER_LITTLE_ENDIAN__=1 +GLOBAL_CFLAGS += -D__BYTE_ORDER__=__ORDER_LITTLE_ENDIAN__ endif CONFIG_SYSINFO_PRODUCT_MODEL := ALI_AOS_developerkit
Fix incorrect argument order in lv_canvas_copy_buf
@@ -232,7 +232,7 @@ const lv_style_t * lv_canvas_get_style(const lv_obj_t * canvas, lv_canvas_style_ * @param x left side of the destination position * @param y top side of the destination position */ -void lv_canvas_copy_buf(lv_obj_t * canvas, const void * to_copy, lv_coord_t w, lv_coord_t h, lv_coord_t x, lv_coord_t ...
out_stackdriver: use new 'pthread' wrapper in header
#include <fluent-bit/flb_output.h> #include <fluent-bit/flb_oauth2.h> #include <fluent-bit/flb_sds.h> -#include <pthread.h> +#include <fluent-bit/flb_pthread.h> /* refresh token every 50 minutes */ #define FLB_STD_TOKEN_REFRESH 3000
another page tthat breaks tests because of fcgi issues
:- /gen/twit "slow and/or crash" :- /mar/twit "slow and/or crash" :- /web/pages/nutalk/menu "/$ doensn't work in tests" + :- /web/pages/nutalk/profile "/$ doensn't work in tests" == :: ++ failing
cr50: add closed loop reset property to mistral BRANCH=cr50 TEST=make buildall -j Commit-Ready: Mary Ruthven Tested-by: Mary Ruthven
@@ -257,7 +257,8 @@ static struct board_cfg board_cfg_table[] = { { .strap_cfg = 0x0B, .board_properties = BOARD_SLAVE_CONFIG_SPI | - BOARD_USE_PLT_RESET | BOARD_NO_INA_SUPPORT, + BOARD_USE_PLT_RESET | BOARD_NO_INA_SUPPORT | + BOARD_CLOSED_LOOP_RESET, }, /* I2C Variants: DIOA9 = 1M PD, DIOA1 = 1M PD */ /* Reef/Eve: DIO...
Fix typo that could clear EXTRALIB settings
@@ -46,7 +46,7 @@ if (${F_COMPILER} STREQUAL "GFORTRAN") set(FCOMMON_OPT "${FCOMMON_OPT} -fno-optimize-sibling-calls") #Don't include -lgfortran, when NO_LAPACK=1 or lsbcc if (NOT NO_LAPACK) - set(EXTRALIB "{EXTRALIB} -lgfortran") + set(EXTRALIB "${EXTRALIB} -lgfortran") endif () if (NO_BINARY_MODE) if (MIPS64)
grib_copy/grib_set - suggestion to avoid overwriting files (Part 1)
*/ #include "grib_tools.h" +#include <stdlib.h> + #if HAVE_LIBJASPER /* Remove compiler warnings re macros being redefined */ #undef PACKAGE_BUGREPORT @@ -982,6 +984,16 @@ void grib_print_full_statistics(grib_runtime_options* options) options->filter_handle_count,options->handle_count,options->file_count); } +static in...
Modified checksum, size for new release(1.3.2) file.
}, "url": "https://github.com/ROBOTIS-GIT/OpenCR/releases/download/1.3.2/opencr_core_1.3.2.tar.bz2", "archiveFileName": "opencr_core_1.3.2.tar.bz2", - "checksum": "SHA-256:9ed36bcc86666c12292e13d7e82cf9b41f6d4f0a3c804976bf9a338859c46f01", - "size": "4096035", + "checksum": "SHA-256:67374d94efe587b90ad418ff9e0c37dc143cc...
[utils] add size check in prod(const SiconosVector& x, const SiconosMatrix& A, BlockVector& y, bool init)
@@ -830,7 +830,14 @@ void subprod(const SiconosMatrix& A, const BlockVector& x, SiconosVector& y, con void prod(const SiconosVector& x, const SiconosMatrix& A, BlockVector& y, bool init) { + assert(!(A.isPLUFactorized()) && "A is PLUFactorized in prod !!"); + + if (A.size(0) != x.size()) + SiconosMatrixException::selfT...
[persistence] fix the length of log record body
@@ -793,18 +793,20 @@ int lrec_construct_snapshot_elem(LogRec *logrec, hash_item *it, void *elem) SnapshotElemLog *log = (SnapshotElemLog*)logrec; SnapshotElemData *body = &log->body; uint8_t updtype = UPD_NONE; - int bodylen = offsetof(SnapshotElemData, data) + body->nbytes; + int bodylen = offsetof(SnapshotElemData, ...
hv:Fix MISRA-C violations in vm.h fix "Macro parameter not in brackets" for PLUG_CPU(n) fix "Array has no bounds specified" for vm_configs[]
@@ -22,7 +22,7 @@ enum vm_privilege_level { #define INVALID_VM_ID 0xffffU -#define PLUG_CPU(n) (1U << n) +#define PLUG_CPU(n) (1U << (n)) struct vm_hw_info { /* vcpu array of this VM */ @@ -296,7 +296,7 @@ int32_t create_vm(uint16_t vm_id, struct acrn_vm_config *vm_config, struct acrn_ void prepare_vm(uint16_t vm_id, s...
updated error messages for linlog function
@@ -50,8 +50,13 @@ double * ccl_linlog_spacing(double xminlog, double xmin, double xmax, int Nlog, return NULL; } - if (xminlog>xmin && xmax<xmin){ - fprintf(stderr, "ERROR: xminlog must be smaller as xmin and xmin must be smaller as xmax"); + if (xminlog>xmin){ + fprintf(stderr, "ERROR: xminlog must be smaller as xmin...
Fix miniaudio warning;
@@ -18000,7 +18000,6 @@ static void ma_device__send_frames_to_client(ma_device* pDevice, ma_uint32 frame ma_uint8 pFramesInClientFormat[MA_DATA_CONVERTER_STACK_BUFFER_SIZE]; ma_uint64 framesInClientFormatCap = sizeof(pFramesInClientFormat) / ma_get_bytes_per_frame(pDevice->capture.format, pDevice->capture.channels); ma...
Do not retransmit 0RTT packet if early data was rejected
@@ -1431,6 +1431,10 @@ static size_t conn_retry_early_payloadlen(ngtcp2_conn *conn) { ngtcp2_frame_chain *frc; ngtcp2_strm *strm; + if (conn->flags & NGTCP2_CONN_FLAG_EARLY_DATA_REJECTED) { + return 0; + } + for (; !ngtcp2_pq_empty(&conn->tx.strmq);) { strm = ngtcp2_conn_tx_strmq_top(conn); if (ngtcp2_strm_streamfrq_em...
Sockeye: Update region_alloc
@@ -171,13 +171,16 @@ region_in_use(S, Region) :- region_free(S, Region) :- not(region_in_use(S, Region)). -% Allocate a free aligned region. -region_alloc(S, Region, Size, Bits) :- +% Ensure Base address is aligned to Bits and +region_aligned(Region, Bits) :- Region = region{node_id: RId, block:block{base: Base, limit...
Wrap overlong line.
@@ -619,7 +619,8 @@ specializedcl(Node *gnode, Type *param, Type *to, Node **name) if (gnode->decl.trait) { g = bestimpl(gnode, to); if (!g) - fatal(gnode, "type %s does not implement %s:%s", tystr(param), namestr(gnode->decl.name), tystr(to)); + fatal(gnode, "type %s does not implement %s:%s", + tystr(param), namestr(...
audio/i2s: add i2s_mclkfrequency method to the I2S lower half This method allows the codec driver to set a specific mclk frequency for the I2S lower half. This provides support to change it on run time according to the supported master clock frequency of the audio codec, the sample rate and the data width.
#define I2S_SEND(d,b,c,a,t) \ ((d)->ops->i2s_send ? (d)->ops->i2s_send(d,b,c,a,t) : -ENOTTY) +/**************************************************************************** + * Name: I2S_MCLKFREQUENCY + * + * Description: + * Set the master clock frequency. Usually, the MCLK is a multiple of the + * sample rate. Most of...
TUNE: Add support for chart axes ticks and value labels / chart label.
@@ -1121,7 +1121,7 @@ static void lv_chart_draw_x_axis_label(lv_obj_t * chart, const lv_area_t * mask) lv_area_t label_area; label_area.x1 = chart->coords.x1 + w/2 - size.x/2; - label_area.y1 = chart->coords.y1 - LV_CHART_AXIS_TO_LABEL_DISTANCE - size.y/2; + label_area.y1 = chart->coords.y1 - LV_CHART_AXIS_TO_LABEL_DIS...
os/drivers/usbhost: Rearrange memset range Part of struct usbhost_id_s *id should be initialized in usbhost_configdesc. Currently, the whole id is memset by 0, which occurs misoperation.
@@ -191,7 +191,10 @@ static inline int usbhost_configdesc(const uint8_t *configdesc, int cfglen, stru /* Loop while there are more descriptors to examine */ - memset(id, 0, sizeof(FAR struct usbhost_id_s)); + /* struct usb_desc_s is a sub structure of struct usbhost_id_s; + * Only initialize the first two bytes of id *...
Doc: Update logical decoding stats information. Add the information of pg_stat_replication_slots view along with other system catalogs related to logical decoding. Author: Vignesh C Discussion:
@@ -400,7 +400,10 @@ postgres=# select * from pg_logical_slot_get_changes('regression_slot', NULL, NU <structname>pg_stat_replication</structname></link> view provide information about the current state of replication slots and streaming replication connections respectively. These views apply to both physical and - log...
Try to fix failure
-name: Continuous Integration +name: CI on: push: @@ -17,4 +17,3 @@ jobs: run: docker pull jeffbush001/nyuzi-build - name: build run: docker run -v $TRAVIS_BUILD_DIR:/root/NyuziProcessor -w /root/NyuziProcessor jeffbush001/nyuzi-build /bin/bash -c scripts/run_ci_tests.sh -
cts/i2c/dut.c: Format with clang-format BRANCH=none TEST=none
enum cts_rc write8_test(void) { - if (i2c_write8(i2c_ports[0].port, TH_ADDR_FLAGS, - WRITE8_OFF, WRITE8_DATA)) + if (i2c_write8(i2c_ports[0].port, TH_ADDR_FLAGS, WRITE8_OFF, + WRITE8_DATA)) return CTS_RC_FAILURE; return CTS_RC_SUCCESS; } enum cts_rc write16_test(void) { - if (i2c_write16(i2c_ports[0].port, TH_ADDR_FLAG...
docs - add superuser to gp_gpperfmon_send_interval GUC set classifications
<row> <entry colname="col1">Any valid time expression (number and unit)</entry> <entry colname="col2">1sec</entry> - <entry colname="col3">master<p>system</p><p>restart</p></entry> + <entry colname="col3">master<p>system</p><p>restart</p><p>superuser</p></entry> </row> </tbody> </tgroup>
Added gawk to dependencies
@@ -10,7 +10,7 @@ Build and install from sources is possible. However, the source build for AOMP <b>Ubuntu</b> ``` - sudo apt-get install cmake g++-5 g++ pkg-config libpci-dev libnuma-dev libelf-dev libffi-dev git python libopenmpi-dev + sudo apt-get install cmake g++-5 g++ pkg-config libpci-dev libnuma-dev libelf-dev ...
TSCH: fix TSCH_CLOCK_TO_SLOTS macro used for deciding whether to leave the TSCH network
/* Convert rtimer ticks to clock and vice versa */ #define TSCH_CLOCK_TO_TICKS(c) (((c) * RTIMER_SECOND) / CLOCK_SECOND) -#define TSCH_CLOCK_TO_SLOTS(c, timeslot_length) (TSCH_CLOCK_TO_TICKS(c) / timeslot_length) +#define TSCH_CLOCK_TO_SLOTS(c, timeslot_length) ((TSCH_CLOCK_TO_TICKS(c) + timeslot_length - 1) / timeslot...