message
stringlengths
6
474
diff
stringlengths
8
5.22k
OcConsoleLib: Add framebuffer base and params logging
@@ -59,6 +59,17 @@ OcSetConsoleResolutionForProtocol ( (UINT32) GraphicsOutput->Mode->MaxMode )); + DEBUG (( + DEBUG_INFO, + "OCC: Current FB at 0x%LX (0x%X), format %d, res %ux%u scan %u\n", + GraphicsOutput->Mode->FrameBufferBase, + (UINT32) GraphicsOutput->Mode->FrameBufferSize, + GraphicsOutput->Mode->Info != NULL ...
Fix SAL types
@@ -105,7 +105,7 @@ PPH_OPTIONS_SECTION PhOptionsCreateSection( _In_ PVOID Instance, _In_ PWSTR Template, _In_ DLGPROC DialogProc, - _In_ PVOID Parameter + _In_opt_ PVOID Parameter ); PPH_OPTIONS_SECTION PhOptionsCreateSectionAdvanced( @@ -113,7 +113,7 @@ PPH_OPTIONS_SECTION PhOptionsCreateSectionAdvanced( _In_ PVOID I...
Update privacy documentation.
+> ***NOTE*** +> In the EventProperties class, a `SetPrivacyMetadata` API is provided that allows setting the Privacy Tags + and Privacy Diagnostic Level as mentioned below. In absence of an explicitly provided Privac Diagnostic Level, + `PDL_Optional` is used. More details below. # Using Privacy Tags @@ -43,13 +47,13 ...
board/kodama/led.c: Format with clang-format BRANCH=none TEST=none
@@ -25,31 +25,34 @@ __override const int led_charge_lvl_2 = 97; __override struct led_descriptor led_bat_state_table[LED_NUM_STATES][LED_NUM_PHASES] = { - [STATE_CHARGING_LVL_1] = {{EC_LED_COLOR_RED, LED_INDEFINITE} }, - [STATE_CHARGING_LVL_2] = {{EC_LED_COLOR_AMBER, LED_INDEFINITE} }, - [STATE_CHARGING_FULL_CHARGE] = ...
YAML Smith: Write key set to file
// -- Imports ------------------------------------------------------------------------------------------------------------------------------ #include <fstream> +#include <iostream> #include "yamlsmith.hpp" #include <kdb.hpp> #include <kdberrors.h> +using std::endl; using std::ofstream; using ckdb::Key; @@ -72,9 +74,10 ...
feat: skip creating or updating the webhook resoruces when the staticWebhookConfig is set
@@ -191,7 +191,7 @@ func (r *ReconcileSPOd) Reconcile(_ context.Context, req reconcile.Request) (rec updatedSPod := foundSPOd.DeepCopy() updatedSPod.Spec.Template = configuredSPOd.Spec.Template updateErr := r.handleUpdate( - ctx, updatedSPod, webhook, metricsService, certManagerResources, + ctx, spod, updatedSPod, webh...
Import Semigroup for GHC <= 8.2 compatibility
+{-# LANGUAGE CPP #-} {-# LANGUAGE OverloadedStrings #-} {-| Module : Foreign.Lua.Module.Paths @@ -29,6 +30,9 @@ module Foreign.Lua.Module.Paths ( ) where +#if !MIN_VERSION_base(4,11,0) +import Data.Semigroup (Semigroup(..)) -- includes (<>) +#endif import Data.Text (Text) import Foreign.Lua (Lua, NumResults (..)) impo...
components/bt: Fix the different size of name buffer allocation size Close
@@ -52,7 +52,7 @@ typedef struct { list_t *list; list_t *incoming_list; uint8_t service_uuid[16]; - char service_name[ESP_SPP_SERVER_NAME_MAX]; + char service_name[ESP_SPP_SERVER_NAME_MAX + 1]; } spp_slot_t; static struct spp_local_param_t {
Fix builds on Arm
@@ -86,8 +86,8 @@ for all users with minimal restrictions. %endif %if "%{compiler_family}" == "arm" -which_armclang=`which armclang` -where_armclang=`dirname ${which_armclang}` +which_armclang=$(which armclang) +where_armclang=$(dirname ${which_armclang}) export PATH=${where_armclang}/../llvm-bin:$PATH %endif @@ -125,7...
libcupsfilters: Let pdftopdf() not send NULL to log function The variable holding the value of FINAL_CONTENT_TYPE is NULL when the environment variable is not set. At one place the variable value gets logged using the log function. Do not send NULL here, to avoid a crash of the log function.
@@ -867,7 +867,8 @@ bool checkFeature(const char *feature, int num_options, cups_option_t *options) "%s => pdftopdf will %slog pages in " "page_log.", (lastfilter ? lastfilter : "None"), - final_content_type, + (final_content_type ? final_content_type : + "(not supplied)"), (param.page_logging == 0 ? "not " : "")); } }...
remove (deprecated) from gpcheck. It has been un-deprecated.
<xref href="gpaddmirrors.xml#topic1" type="topic" format="dita"/> </p> <p> - <xref href="gpcheck.xml#topic1" type="topic" format="dita"/> (deprecated)</p> + <xref href="gpcheck.xml#topic1" type="topic" format="dita"/></p> <p> <xref href="gpcheckcat.xml#topic1"/> </p>
added initialization for required field
@@ -111,6 +111,7 @@ static int extclk_config(int frequency) TIMOCHandle.OCPolarity = TIM_OCPOLARITY_HIGH; TIMOCHandle.OCFastMode = TIM_OCFAST_DISABLE; TIMOCHandle.OCIdleState = TIM_OCIDLESTATE_RESET; + TIMOCHandle.OCNIdleState= TIM_OCIDLESTATE_RESET; if ((HAL_TIM_PWM_Init(&TIMHandle) != HAL_OK) || (HAL_TIM_PWM_ConfigCh...
doc: update build/install instructions
@@ -25,19 +25,17 @@ Then, run the following commands to build Criterion: .. code-block:: bash - $ mkdir build - $ cd build - $ cmake .. - $ cmake --build . + $ meson build + $ ninja -C build Installing the library and language files (Linux, OS X, FreeBSD) ----------------------------------------------------------------...
[rtservice] Add `rt_slist_first` and `rt_slist_next` API to slist.
@@ -230,6 +230,16 @@ rt_inline rt_slist_t *rt_slist_remove(rt_slist_t *l, rt_slist_t *n) return l; } +rt_inline rt_slist_t *rt_slist_first(rt_slist_t *l) +{ + return l->next; +} + +rt_inline rt_slist_t *rt_slist_next(rt_slist_t *n) +{ + return n->next; +} + rt_inline int rt_slist_isempty(rt_slist_t *l) { return l->next...
update contact pokes
-import { Path, Patp, Poke, resourceAsPath } from "../lib"; +import { Path, Patp, Poke, resourceAsPath, Scry } from "../lib"; import { Contact, ContactUpdateAdd, @@ -38,7 +38,7 @@ export const removeContact = (ship: Patp): Poke<ContactUpdateRemove> => export const share = (recipient: Patp, version: number = CONTACT_UPD...
mdns: fix static analysis warnings
@@ -1312,6 +1312,7 @@ static mdns_tx_packet_t * _mdns_create_probe_packet(tcpip_adapter_if_t tcpip_if, q->domain = MDNS_DEFAULT_DOMAIN; if (!q->host || _mdns_question_exists(q, packet->questions)) { free(q); + continue; } else { queueToEnd(mdns_out_question_t, packet->questions, q); } @@ -2801,7 +2802,7 @@ void mdns_pa...
Mark autokill wiki dicumented.
@@ -2479,6 +2479,7 @@ typedef struct entity //------------------------- a lot of flags --------------------------- bool arrowon; // Display arrow icon (parrow<player>) ~~ + bool autokill; // Kill on end animation. ~~ bool blink; // Toggle flash effect. ~~ bool boss; // I'm the BOSS playa, I'm the reason that you lost! ...
Fix Swift package template
+// swift-tools-version:5.4.0 + import PackageDescription let package = Package( @@ -11,13 +13,13 @@ let package = Package( targets: ["CartoMobileSDK"] ) ], + dependencies: [ + ], targets: [ .binaryTarget( name: "CartoMobileSDK", url: "https://nutifront.s3.amazonaws.com/sdk_snapshots/$distName", checksum: "$checksum" )...
peview: Add missing icon to new UI
@@ -583,13 +583,20 @@ INT_PTR CALLBACK PvTabWindowDialogProc( if (PeEnableThemeSupport) // TODO: fix options dialog theme (dmex) PhInitializeWindowTheme(hwndDlg, TRUE); - //if (PhExtractIcon(PvFileName->Buffer, &PvImageLargeIcon, &PvImageSmallIcon)) - //SendMessage(hwndDlg, WM_SETICON, ICON_SMALL, (LPARAM)PvImageSmallI...
Fixed size of bank data (was overflowing GB memory)
@@ -6,7 +6,7 @@ import { const BANKED_DATA_NOT_ARRAY = "BANKED_DATA_NOT_ARRAY"; const BANKED_DATA_TOO_LARGE = "BANKED_DATA_TOO_LARGE"; const BANKED_COUNT_OVERFLOW = "BANKED_COUNT_OVERFLOW"; -const GB_MAX_BANK_SIZE = 16394; // Calculated by adding bytes until address overflow +const GB_MAX_BANK_SIZE = 16384; // Calculat...
bypassed profiling bug
@@ -261,7 +261,9 @@ u3t_samp(void) c3_assert(u3R == &u3H->rod_u); if ( 0 == u3R->pro.day ) { - u3R->pro.day = u3v_do("doss", 0); + /* bunt a +doss + */ + u3R->pro.day = u3nt(u3nq(0, 0, 0, u3nq(0, 0, 0, 0)), 0, 0); } u3R->pro.day = u3dt("pi-noon", mot_l, lab, u3R->pro.day); } @@ -350,7 +352,9 @@ u3t_damp(void) u3_noun w...
link fe: refactor link-view subscriptions api
@@ -16,6 +16,9 @@ class UrbitApi { decline: this.inviteDecline.bind(this), invite: this.inviteInvite.bind(this) }; + + this.bind = this.bind.bind(this); + this.bindLinkView = this.bindLinkView.bind(this); } bind(path, method, ship = this.authTokens.ship, app, success, fail, quit) { @@ -39,6 +42,13 @@ class UrbitApi { }...
use owm1m2roguecount only on M2
@@ -934,8 +934,11 @@ for(zeiger = ownlist; zeiger < ownlist +OWNLIST_MAX; zeiger++) if(memcmp(zeiger->client, client, 6) != 0) continue; zeiger->timestamp = timestamp; if((zeiger->status &status) == status) return false; - if(status == OW_M1M2ROGUE) zeiger->owm1m2roguecount += 1; + if(status == OW_M1M2ROGUE) + { + zeig...
Improve the plugin template
@@ -24,6 +24,10 @@ static const clap_plugin_descriptor_t s_my_plug_desc = { typedef struct { clap_plugin_t plugin; const clap_host_t *host; + const clap_host_latency_t *hostLatency; + const clap_host_log_t *hostLog; + const clap_host_thread_check_t *hostThreadCheck; + uint32_t latency; } my_plug_t; @@ -95,7 +99,15 @@ s...
Probably better order of things
@@ -1697,10 +1697,18 @@ static void search_pu_inter(encoder_state_t * const state, } kvz_inter_pred_pu(state, lcu, x_cu, y_cu, width_cu, true, false, i_pu); + merge->unit[merge->size] = *cur_pu; + merge->unit[merge->size].type = CU_INTER; + merge->unit[merge->size].merge_idx = merge_idx; + merge->unit[merge->size].merg...
Add nvs part gen utility multi page blob support update
@@ -127,8 +127,8 @@ class Page(object): chunk_size = 0 # Get the size available in current page - if self.entry_num < (Page.PAGE_PARAMS["max_entries"] - 1): tailroom = (Page.PAGE_PARAMS["max_entries"] - self.entry_num - 1) * Page.SINGLE_ENTRY_SIZE + assert tailroom >=0, "Page overflow!!" # Split the binary data into tw...
Makefile: indent
@@ -292,7 +292,9 @@ clean: .PHONY: indent indent: - clang-format -style="{BasedOnStyle: Google, IndentWidth: 4, ColumnLimit: 100, AlignAfterOpenBracket: DontAlign, AllowShortFunctionsOnASingleLine: false, AlwaysBreakBeforeMultilineStrings: false}" -i -sort-includes *.c *.h */*.c */*.h + clang-format \ + -style="{BasedO...
doc: explain what is returned by h2o_socket_ebpf_setup()
@@ -373,7 +373,8 @@ int h2o_socket_set_df_bit(int fd, int domain); static int h2o_socket_skip_tracing(h2o_socket_t *sock); /** - * Prepares eBPF maps. Requires root privileges and thus should be called before dropping the privileges. + * Prepares eBPF maps. Requires root privileges and thus should be called before drop...
gpgme: release notes
@@ -62,6 +62,11 @@ The following section lists news about the [modules](https://www.libelektra.org/ for it to mimick the proxied plugin's contract in Elektra. It can be used with simple plugins like `dump` however, check the limitations in the readme for more details. *(Armin Wurzinger)* +### gpgme + +- The `gpgme` plu...
remove a couple printfs
^+ [next-bone.ossuary ossuary] :: ?^ existing=(~(get by by-duct.ossuary) duct) - ~& %ames-existing-bone^u.existing [u.existing ossuary] :: - ~& %ames-next-bone^next-bone.ossuary :- next-bone.ossuary :+ (add 4 next-bone.ossuary) (~(put by by-duct.ossuary) duct next-bone.ossuary)
host: Add basic taskinfo console command BRANCH=none TEST=./build/host/aes/aes.exe > taskinfo
@@ -301,6 +301,28 @@ task_id_t task_get_running(void) return running_task_id; } +void task_print_list(void) +{ + int i; + + ccputs("Name Events\n"); + + for (i = 0; i < TASK_ID_COUNT; i++) { + ccprintf("%4d %-16s %08x\n", i, task_names[i], tasks[i].event); + cflush(); + } +} + +int command_task_info(int argc, char **ar...
src: Use code blocks to prevent Latex rendering
@@ -54,7 +54,7 @@ The `index.html` will then try to serve the (dynamic) URL itself. #### PID file -Using ${config_root}${config_default_profile}/daemon/lock (i.e., `daemon.lock` in JSON) you can specify which PID file should be used. +Using `${config_root}${config_default_profile}/daemon/lock` (i.e., `daemon.lock` in J...
SOVERSION bump to version 5.4.12
@@ -45,7 +45,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 5) set(SYSREPO_MINOR_SOVERSION 4) -set(SYSREPO_MICRO_SOVERSION 11) +set(SYSREPO_MICRO_S...
Don't list directories as changed from the last run. It's not very useful information and just clutters the list.
@@ -416,7 +416,8 @@ eval "git -C ${strBackRestBase} ls-files -c --others --exclude-standard |" . " rsync -rtW --out-format=\"\%n\" --delete --ignore-missing-args" . " --exclude=test/result --exclude=repo.manifest" . - " ${strBackRestBase}/ --files-from=- ${strRepoCachePath}")))); + " ${strBackRestBase}/ --files-from=- ...
Fix cmake bus for hssi tool The hssi tool needs the path to Boost for the include files to compile on my system.
@@ -27,7 +27,8 @@ find_package(Boost 1.41.0 REQUIRED) include_directories(${OPAE_INCLUDE_DIR} ${CMAKE_SOURCE_DIR}/tools/fpgadiag ${CMAKE_SOURCE_DIR}/tools/c++utils - ${CMAKE_SOURCE_DIR}/tools/libopae++) + ${CMAKE_SOURCE_DIR}/tools/libopae++ + ${Boost_INCLUDE_DIRS}) add_library(hssi-io SHARED przone.h accelerator_przone...
Exiting application process in case of pre_init stage error.
@@ -333,10 +333,7 @@ nxt_app_start(nxt_task_t *task, void *data) ret = nxt_app->pre_init(task, data); if (nxt_slow_path(ret != NXT_OK)) { - nxt_debug(task, "application pre_init failed"); - - } else { - nxt_debug(task, "application pre_init done"); + return ret; } }
king: fix goshdarn typo
@@ -19,7 +19,7 @@ import Urbit.Vere.Ames.UDP (UdpServ(..), fakeUdpServ, realUdpServ) -- Constants ------------------------------------------------------------------- --- | How many unprocessed ames packets to allow in the queue before we stop +-- | How many unprocessed ames packets to allow in the queue before we start...
workflow/restore_from_mnemonic: pick number of words
#include "restore_from_mnemonic.h" +#include "blocking.h" #include "confirm.h" #include "password.h" #include "status.h" #include <hardfault.h> #include <keystore.h> #include <memory.h> +#include <ui/component.h> +#include <ui/components/trinary_choice.h> #include <ui/components/trinary_input_string.h> +#include <ui/sc...
Make test_nsalloc_realloc_long_ge_name() robust. Make test robust against memory allocation pattern changes
@@ -11605,15 +11605,9 @@ START_TEST(test_nsalloc_realloc_long_ge_name) { NULL, NULL } }; int i; -#define MAX_REALLOC_COUNT 5 - int repeat = 0; +#define MAX_REALLOC_COUNT 10 for (i = 0; i < MAX_REALLOC_COUNT; i++) { - /* Repeat some counts to defeat caching */ - if (i == 2 && repeat < 3) { - i--; - repeat++; - } realloc...
Add buffer check for named group
@@ -438,6 +438,7 @@ static int ssl_tls13_hrr_check_key_share_ext( mbedtls_ssl_context *ssl, MBEDTLS_SSL_DEBUG_BUF( 3, "key_share extension", p, end - buf ); /* Read selected_group */ + MBEDTLS_SSL_CHK_BUF_READ_PTR( p, end, 2 ); tls_id = MBEDTLS_GET_UINT16_BE( p, 0 ); MBEDTLS_SSL_DEBUG_MSG( 3, ( "selected_group ( %d )",...
adjusting comment on sliding window memory usage. The comment now uses '**' as exponentiation operator.
* Maximum window size used for modular exponentiation. Default: 6 * Minimum value: 1. Maximum value: 6. * - * Result is an array of ( 2 << MBEDTLS_MPI_WINDOW_SIZE ) MPIs used + * Result is an array of ( 2 ** MBEDTLS_MPI_WINDOW_SIZE ) MPIs used * for the sliding window calculation. (So 64 by default) * * Reduction in si...
Fix internalstyle inconsistency between QD and QEs Add GUC_GPDB_ADDOPT flag for internalstyle so it can be dispatched to QEs
@@ -2113,7 +2113,7 @@ static struct config_string ConfigureNamesString[] = {"IntervalStyle", PGC_USERSET, CLIENT_CONN_LOCALE, gettext_noop("Sets the display format for interval values."), NULL, - GUC_REPORT + GUC_REPORT | GUC_GPDB_ADDOPT }, &IntervalStyle_string, "postgres", assign_IntervalStyle, show_IntervalStyle
zephyr/subsys/ap_pwrseq/x86_non_dsx_mtl_pwrseq_sm.c: Format with clang-format BRANCH=none TEST=none
@@ -33,8 +33,8 @@ static void generate_pwrok_handler(void) power_signal_set(PWR_EC_PCH_SYS_PWROK, all_sys_pwrgd_in); /* PCH_PWROK is set to combined result of ALL_SYS_PWRGD and SLP_S3 */ - power_signal_set(PWR_PCH_PWROK, all_sys_pwrgd_in && - !power_signal_get(PWR_SLP_S3)); + power_signal_set(PWR_PCH_PWROK, + all_sys_p...
fix assert logging
@@ -461,7 +461,7 @@ extern int FIO_LOG_LEVEL; #define FIO_ASSERT(cond, ...) \ if (!(cond)) { \ - FIO_LOG_FATAL(__FILE__ ":" FIO_MACRO2STR(__LINE__) __VA_ARGS__); \ + FIO_LOG_FATAL("(" __FILE__ ":" FIO_MACRO2STR(__LINE__) ") "__VA_ARGS__); \ perror(" errno"); \ exit(-1); \ }
Fix SCCB/I2C timing for F7 & H7.
@@ -21,8 +21,10 @@ int cambus_init() /* Configure I2C */ I2CHandle.Instance = SCCB_I2C; I2CHandle.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT; - #if defined(MCU_SERIES_F7) || defined(MCU_SERIES_H7) - I2CHandle.Init.Timing = 0x40912732; // 100KHz + #if defined(MCU_SERIES_F7) + I2CHandle.Init.Timing = 0x1090699B; // 10...
Add GetModState that seemed to have been forgotten
@@ -29,6 +29,11 @@ func GetKeyboardState() []uint8 { return *(*[]uint8)(unsafe.Pointer(&sh)) } +// GetModState (https://wiki.libsdl.org/SDL_GetModState) +func GetModState() Keymod { + return (Keymod)(C.SDL_GetModState()) +} + // SetModState (https://wiki.libsdl.org/SDL_SetModState) func SetModState(mod Keymod) { C.SDL_...
collector: workaround gcc-4.6 value computed is not used error
@@ -138,7 +138,7 @@ collector_runner(void *s) *m = '\0'; sizem = sizeof(metric) - (m - metric); - __sync_and_and_fetch(&pending_router, NULL); + (void)__sync_and_and_fetch(&pending_router, NULL); } assert(srvs != NULL); sleep(1); @@ -319,7 +319,7 @@ collector_writer(void *unused) aggrs = router_getaggregators(prtr); nu...
Enable VGA MJPEG.
@@ -93,7 +93,7 @@ void mjpeg_add_frame(FIL *fp, uint32_t *frames, uint32_t *bytes, image_t *img, i { write_data(fp, "00dc", 4); // FOURCC fcc; *frames += 1; - if (IM_IS_JPEG(img)) { + if (img->bpp >= IMAGE_BPP_JPEG) { int pad = (((img->bpp + 3) / 4) * 4) - img->bpp; write_long(fp, img->bpp + pad); // DWORD cb; write_da...
fix: replace BoatIotSdkDeInit(); with BoatEthWalletDeInit(wallet_ptr); in test_002InitWallet_0005SetNodeUrlSuccess fix the issue aitos-io#1050
@@ -633,7 +633,7 @@ START_TEST(test_002InitWallet_0005SetNodeUrlSuccess) /* 2-2. verify the global variables that be affected */ ck_assert_str_eq(wallet_ptr->network_info.node_url_ptr, wallet.node_url_str); - BoatIotSdkDeInit(); + BoatEthWalletDeInit(wallet_ptr); } END_TEST
build: run unit tests early on linux
@@ -74,6 +74,11 @@ jobs: name: ares authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} + # run unit tests early on linux (x-compilation will skip them) + - name: build dynamic binary (and run tests) + if: ${{ matrix.type == 'linux' }} + run: nix-build -A urbit + - name: build static binary run: | nix-build -A urbit \
dm: update acrn-dm built-in list and description of args Update and light clean-up of the buit-in list of arguments from 'acrn-dm' * Added options in the top part (list with no explanation) * Remove a couple of arguments that are no longer valid ('vmcfg' and 'dump')
@@ -145,8 +145,8 @@ usage(int code) " %*s [--part_info part_info_name] [--enable_trusty] [--intr_monitor param_setting]\n" " %*s [--acpidev_pt HID] [--mmiodev_pt MMIO_Regions]\n" " %*s [--vtpm2 sock_path] [--virtio_poll interval] [--mac_seed seed_string]\n" - " %*s [--vmcfg sub_options] [--dump vm_idx] [--debugexit] \n...
Markdown Link Converter: Use fences for code
@@ -11,7 +11,9 @@ happens in 2 passes, which is needed because there can be files with no title. ## Usage for Manual Invocation +```sh markdownlinkconverter [<cmake-cache-file>] <input-file> +``` **The <input-file> parameter must be an absolute path!** @@ -42,7 +44,9 @@ which the link refers to. Every link starting wit...
vioserial: fix SDV issues EvtIoStopCancel: Requires EvtIoStop to unmark request cancellable EvtIoStopCompleteOrStopAck: Requires EvIoStop to complete/cancel/postpone request
@@ -1352,16 +1352,20 @@ VOID VIOSerialPortWriteIoStop(IN WDFQUEUE Queue, TraceEvents(TRACE_LEVEL_ERROR, DBG_WRITE, "--> %s\n", __FUNCTION__); - WdfSpinLockAcquire(pport->OutVqLock); - if (ActionFlags & WdfRequestStopActionSuspend) + if (WdfRequestUnmarkCancelable(Request) == STATUS_CANCELLED) { WdfRequestStopAcknowledg...
Fix warning, no functional change.
@@ -334,7 +334,7 @@ handle_upcall(struct socket *upcall_socket, void *upcall_data, int upcall_flags) snd_info.snd_flags |= SCTP_UNORDERED; } - while ((n = usrsctp_sendv(upcall_socket, tsctp_meta->buffer, tsctp_meta->par_message_length, NULL, 0, &snd_info, (socklen_t)sizeof(struct sctp_sndinfo), SCTP_SENDV_SNDINFO, 0)) ...
Reduce max scheduling delay to 1ms
@@ -31,7 +31,7 @@ extern "C" { #define PICOQUIC_PACKET_LOOP_SOCKETS_MAX 2 #define PICOQUIC_PACKET_LOOP_SEND_MAX 10 -#define PICOQUIC_PACKET_LOOP_SEND_DELAY_MAX 5000 +#define PICOQUIC_PACKET_LOOP_SEND_DELAY_MAX 1000 /* The packet loop will call the application back after specific events. */
more pretty error message
@@ -211,7 +211,7 @@ namespace NCatboostCuda { CB_ENSURE(FeaturesManager.IsCtr(split.FeatureId)); const auto& ctr = FeaturesManager.GetCtr(split.FeatureId); auto& borders = FeaturesManager.GetBorders(split.FeatureId); - CB_ENSURE(split.BinIdx < borders.size()); + CB_ENSURE(split.BinIdx < borders.size(), "Split " << spli...
Coding: Add tool integration section for Prettier
@@ -31,7 +31,7 @@ s/([^.`/])git[hH]ub([^.][^\w])/\1GitHub\2/g s/\<[Ll]ibreoffice/LibreOffice/g -s/([^/[-])\<mark[Dd]own\>/\1Markdown/g +s/([^./[-])\<mark[Dd]own\>/\1Markdown/g s/\<([Mm]ac )?OS X\>/macOS/g s/\<unix|UNIX/Unix/g
Disable Session Caching if Client Auth is enabled
@@ -253,7 +253,8 @@ int s2n_conn_set_handshake_type(struct s2n_connection *conn) /* A handshake type has been negotiated */ conn->handshake.handshake_type = NEGOTIATED; - if (s2n_is_caching_enabled(conn->config)) { + /* Only check cache for Session ID if Client Auth is not configured */ + if (conn->client_cert_auth_typ...
Adjust max ack blocks
@@ -97,7 +97,8 @@ typedef union { ngtcp2_frame fr; struct { ngtcp2_ack ack; - ngtcp2_ack_blk blks[NGTCP2_MAX_ACK_BLKS]; + /* ack includes 1 ngtcp2_ack_blk. */ + ngtcp2_ack_blk blks[NGTCP2_MAX_ACK_BLKS - 1]; } ackfr; } ngtcp2_max_frame;
[hg] release a new version for windows This PR releases a new version of hg for windows which contains fixes for the remaining problems. We need to udpate wiki page with couple of issues and things should work fine now.
}, "hg": { "formula": { - "sandbox_id": [384697982, 384698485, 386697305], + "sandbox_id": [384697982, 384698485, 398945090], "match": "Hg" }, "executable": {
options/posix: Implement execlp
@@ -123,9 +123,24 @@ int execle(const char *path, const char *arg0, ...) { return execve(path, argv, envp); } -int execlp(const char *, const char *, ...) { - __ensure(!"Not implemented"); - __builtin_unreachable(); +// This function is taken from musl +int execlp(const char *file, const char *argv0, ...) { + int argc;...
Add checks for BAD_STATE before calling psa_pake_setup() in ecjpake_setup() test
@@ -8128,6 +8128,23 @@ void ecjpake_setup( int alg_arg, int primitive_arg, int hash_arg, int role_arg, psa_pake_cs_set_primitive( &cipher_suite, primitive_arg ); psa_pake_cs_set_hash( &cipher_suite, hash_alg ); + PSA_ASSERT( psa_pake_abort( &operation ) ); + + TEST_EQUAL( psa_pake_set_user( &operation, NULL, 0 ), + PSA...
vppinfra: elog multi-track g2 test pattern Type: test
#include <vppinfra/serialize.h> #include <vppinfra/unix.h> +void +g2_test_pattern (elog_main_t * em, int g2_test, char *dump_file) +{ + int i, j; + clib_error_t *error; + elog_track_t *tracks = 0; + + elog_init (em, 100000); + elog_enable_disable (em, 1 /* enable */ ); + + for (i = 0; i < 100; i++) + { + elog_track_t *...
apps/btshell: Fix compilation with BLE_EXT_ADV disabled Add missing #if directive to fix use of undeclared variable.
@@ -3618,17 +3618,19 @@ static const struct shell_cmd btshell_commands[] = { void cmd_init(void) { +#if MYNEWT_VAL(BLE_EXT_ADV) int rc; - shell_register(BTSHELL_MODULE, btshell_commands); - shell_register_default_module(BTSHELL_MODULE); - - rc = os_mempool_init(&ext_adv_pool, 1, - EXT_ADV_POOL_SIZE, + rc = os_mempool_i...
std/png: add test for multiple IDAT chunks
@@ -194,6 +194,19 @@ test_wuffs_png_decode_interface() { "test/data/bricks-gray.png", 0, SIZE_MAX, 160, 120, 0xFF060606); } +const char* // +test_wuffs_png_decode_multiple_idats() { + CHECK_FOCUS(__func__); + wuffs_png__decoder dec; + CHECK_STATUS("initialize", + wuffs_png__decoder__initialize( + &dec, sizeof dec, WUFF...
fix win64 matlab issue
@@ -95,9 +95,9 @@ extern "C" { #ifdef DLONG #ifdef _WIN64 -/* #include <stdint.h> */ -/* typedef int64_t scs_int; */ -typedef long scs_int; +#include <stdint.h> +typedef int64_t scs_int; +/* typedef long scs_int; */ #else typedef long scs_int; #endif
Add missing resource update from commit
@@ -1299,7 +1299,10 @@ STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSM CAPTION "WMI Providers" FONT 8, "MS Shell Dlg", 400, 0, 0x1 BEGIN - CONTROL "",IDC_LIST,"SysListView32",LVS_REPORT | LVS_SINGLESEL | LVS_SHOWSELALWAYS | LVS_ALIGNLEFT | WS_BORDER | WS_TABSTOP,2,2,256,256 + PUSHBUTTON...
Add decorator. import deprecation removed_in="2.0", current_version=__version__, details="Use the bar function instead") def foo(): """Do some stuff""" return 1
aenum>= 2.1.2; python_version < '3.6' # BSD cffi # MIT cryptography!=2.0 # BSD/Apache-2.0 +deprecation>=2.0.6 # Apache-2.0 faulthandler; python_version < '3.3' # # BSD License (2 clause) flake8 # MIT ipaddress; python_version < '3.3' # PSF
BugID:17920924:replace disable interupt with mutex 3
@@ -117,7 +117,7 @@ RHINO_INLINE _pthread_tcb_t *_pthread_get_tcb(pthread_t thread) int pthread_create(pthread_t *thread, const pthread_attr_t *attr, void *(*start_routine)(void *), void *arg); -void pthread_exit(void *retval); +void pthread_exit(void *value_ptr); int pthread_detach(pthread_t thread); int pthread_join(...
TestHelloWorld: Code cleanup
SPDX-License-Identifier: BSD-3-Clause **/ -#include <Uefi.h> -#include <Library/UefiLib.h> -#include <Library/UefiApplicationEntryPoint.h> #include <Library/UefiBootServicesTableLib.h> +#include <Library/DebugLib.h> +STATIC EFI_STATUS EFIAPI UefiMain ( @@ -15,11 +14,12 @@ UefiMain ( IN EFI_SYSTEM_TABLE *SystemTable ) {...
misc: configurator: add check for uniqueness of cpus in Pre-launched VM CPUs assigned to Pre-launched VM can not be shared. Add a xsd rule to check it.
</xs:annotation> </xs:assert> + <xs:assert test="every $pcpu in /acrn-config/vm[load_order = 'PRE_LAUNCHED_VM']//cpu_affinity//pcpu_id satisfies + count(/acrn-config/vm[@id != $pcpu/ancestor::vm//companion_vmid ]//cpu_affinity[.//pcpu_id = $pcpu]) &lt;= 1"> + <xs:annotation acrn:severity="error" acrn:report-on="//vm//c...
byra: Enable I2C_CONTROL host command BRANCH=none TEST=with follow-on patches, switched I2C bus speed between 400 kHz and 1 MHz.
/* I2C speed console command */ #define CONFIG_CMD_I2C_SPEED +/* I2C control host command */ +#define CONFIG_HOSTCMD_I2C_CONTROL + #define CONFIG_USBC_PPC_SYV682X #define CONFIG_USBC_PPC_NX20P3483
SOVERSION bump to version 2.5.4
@@ -63,7 +63,7 @@ set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_ # set version of the library set(LIBYANG_MAJOR_SOVERSION 2) set(LIBYANG_MINOR_SOVERSION 5) -set(LIBYANG_MICRO_SOVERSION 3) +set(LIBYANG_MICRO_SOVERSION 4) set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_MI...
Remove required flag from zlib This should enable building of internal copy of zlib as necessary, hopefully helping default win32 builds
@@ -155,7 +155,7 @@ endif() option(OPENEXR_FORCE_INTERNAL_ZLIB "Force using an internal zlib" OFF) if (NOT OPENEXR_FORCE_INTERNAL_ZLIB) - find_package(ZLIB REQUIRED) + find_package(ZLIB) endif() if(OPENEXR_FORCE_INTERNAL_ZLIB OR NOT ZLIB_FOUND) set(zlib_VER "1.2.11")
vppapigen: coverity 219549, dead code in generated file Type: fix
@@ -206,6 +206,8 @@ class ToJSON(): write(' cJSON *array = cJSON_CreateArray();\n') for b in o.block: + if b[1] == 0: + continue write(' if (a & {})\n'.format(b[0])) write(' cJSON_AddItemToArray(array, cJSON_CreateString("{}"));\n'.format(b[0])) write(' return array;\n')
poor mans link which also works on docker under windows
-../../app/include/lwip/app/espconn.h \ No newline at end of file +// poor mans link which also works on docker under windows +#include "../../app/include/lwip/app/espconn.h" \ No newline at end of file
fix fixme in planner about calculating dNumGroups for grouping sets 1.remove useless codes, the last param is removed in create_groupingsets_path, so there is no need to calculate dNumGroups before create_groupingsets_path. 2.the last param of consider_groupingsets_paths should be dNumGroupsTotal. in consider_groupings...
@@ -4903,19 +4903,6 @@ consider_groupingsets_paths(PlannerInfo *root, parse->groupClause, srd->new_rollups); - // GPDB_12_MERGE_FIXME: fix computation of dNumGroups -#if 0 - /* - * dNumGroupsTotal is the total number of groups across all segments. If the - * Aggregate is distributed, then the number of groups in one se...
[components/shell] shell will not work if ch is none zero as random value in stack The serial getchar will only modify the LSB of ch, the MSB 3 bytes will be unchanged as the random value on stack, so if MSB 3 bytes not zero, the value got is wrong.
@@ -139,7 +139,7 @@ static int finsh_getchar(void) #ifdef RT_USING_POSIX return getchar(); #else - int ch; + int ch = 0; RT_ASSERT(shell != RT_NULL); while (rt_device_read(shell->device, -1, &ch, 1) != 1)
Docs: Removing DCA references
@@ -390,7 +390,7 @@ root 29622 29566 0 12:50 pts/16 00:00:00 grep 15673</codeblock> per host. When using partitioning and columnar storage it is important to balance the total number of files in the cluster, but it is <i>more</i> important to consider the number of files per segment and the total number of files on a n...
tests: internal: fuzzer: hash: use new api name
#include <fluent-bit/flb_utils.h> #include <fluent-bit/flb_slist.h> #include <fluent-bit/flb_gzip.h> -#include <fluent-bit/flb_hash.h> +#include <fluent-bit/flb_hash_table.h> #include <fluent-bit/flb_uri.h> #include <fluent-bit/flb_sha512.h> #include <fluent-bit/flb_regex.h> @@ -121,16 +121,16 @@ int LLVMFuzzerTestOneI...
hark: handle "no chat metadata" errors Fixes urbit/landscape#161.
@@ -40,11 +40,11 @@ export function ChatNotification(props: { const authors = _.map(contents, "author"); const { chat, mention } = index; - const association = props.associations.chat[chat]; - const groupPath = association["group-path"]; - const appPath = association["app-path"]; + const association = props?.associatio...
Fix compile isse when TinyUSB task is not enabled.
#include "tinyusb.h" #include "tusb_tasks.h" +#if !CONFIG_TINYUSB_NO_DEFAULT_TASK + const static char *TAG = "tusb_tsk"; static TaskHandle_t s_tusb_tskh; @@ -52,3 +54,5 @@ esp_err_t tusb_stop_task(void) s_tusb_tskh = NULL; return ESP_OK; } + +#endif // !CONFIG_TINYUSB_NO_DEFAULT_TASK \ No newline at end of file
imgtool: fix --vector-to-sign usage `--vector-to-sign` only exports the image payload, or digest, to be signed externally; it doesn't require any keys to be provided. This commit moves the code outside a key required block, after the payload and digest were already calculated from "image + headers + protected TLVs".
@@ -434,15 +434,9 @@ class Image(): tlv.add('SHA256', digest) - if key is not None or fixed_sig is not None: - if public_key_format == 'hash': - tlv.add('KEYHASH', pubbytes) - else: - tlv.add('PUBKEY', pub) - if vector_to_sign == 'payload': # Stop amending data to the image - # Just keep data vector which is expected t...
Remove spurious AVX512 requirement and add AVX2/FMA3 guard
-/* need a new enough GCC for avx512 support */ -#if (( defined(__GNUC__) && __GNUC__ > 6 && defined(__AVX512CD__)) || (defined(__clang__) && __clang_major__ >= 9)) +#if defined(HAVE_FMA3) && defined(HAVE_AVX2) #define HAVE_SROT_KERNEL 1
move babel-eslint to dev dependencies
}, "dependencies": { "babel-core": "^6.14.0", - "babel-eslint": "^7.1.1", "babel-loader": "^6.2.5", "babel-preset-es2015": "^6.14.0", "babel-preset-react": "^6.11.1", "webpack": "^1.13.2" }, "devDependencies": { + "babel-eslint": "^7.1.1", "eslint": "^3.11.1", "eslint-config-standard": "^6.2.1", "eslint-plugin-react": ...
stm32/mpconfigport.h: Remove unused root pointer for BTstack bindings. This was a cut-and-paste error from the NimBLE bindings.
@@ -271,7 +271,7 @@ struct _mp_bluetooth_nimble_root_pointers_t; #if MICROPY_BLUETOOTH_BTSTACK struct _mp_bluetooth_btstack_root_pointers_t; -#define MICROPY_PORT_ROOT_POINTER_BLUETOOTH_BTSTACK void **bluetooth_nimble_memory; struct _mp_bluetooth_btstack_root_pointers_t *bluetooth_btstack_root_pointers; +#define MICROP...
[Kernel] Add object re-initialization check.
@@ -251,6 +251,9 @@ void rt_object_init(struct rt_object *object, /* initialize object's parameters */ + /* check object type to avoid re-initialization */ + RT_ASSERT(object->type != (type | RT_Object_Class_Static)); + /* set object type to static */ object->type = type | RT_Object_Class_Static;
Reformat EventController Reformated by Android Studio.
@@ -111,7 +111,8 @@ public class EventController { return false; } setPointerCoords(point); - MotionEvent event = MotionEvent.obtain(lastMouseDown, now, action, 1, pointerProperties, pointerCoords, 0, buttons, 1f, 1f, 0, 0, InputDevice.SOURCE_TOUCHSCREEN, 0); + MotionEvent event = MotionEvent.obtain(lastMouseDown, now,...
snap: upgrade to v1.6.0
name: fluent-bit base: core18 -version: '1.5.0' +version: '1.6.0' summary: High performance logs and stream processor description: | Fluent Bit is a high performance log processor and stream processor for Linux. It provides a flexible pluggable architecture to collect, enrich and deliver logs or metrics to multiple dat...
framework/wifi_utils: Registration of scan callback for each scanning Register scan callback for every scanning trial, because slsi driver deregisters scan callback after finishing scanning
@@ -309,13 +309,18 @@ wifi_utils_result_e wifi_utils_deinit(void) wifi_utils_result_e wifi_utils_scan_ap(void *arg) { wifi_utils_result_e wuret = WIFI_UTILS_FAIL; - int8_t ret = WiFiScanNetwork(); + int8_t ret = WiFiRegisterScanCallback(&wifi_scan_result_callback); + if (ret != SLSI_STATUS_SUCCESS) { + ndbg("[WU] [ERR]...
only in Unity5
@@ -25,6 +25,7 @@ namespace SLua using UnityEngine; using System.Collections; using System.Collections.Generic; + using System.Linq; using System.IO; using System; using System.Reflection; @@ -38,6 +39,7 @@ namespace SLua public class LuaCodeGen : MonoBehaviour { static public string GenPath = SLuaSetting.Instance.Unit...
nimble/drivers: Fix loop condition in nrf51 driver This condition was suggesting that loop can break while om is NULL but this loop breaks only when copied enough bytes and om is expected to have enough space.
@@ -238,7 +238,7 @@ ble_phy_rxpdu_copy(uint8_t *dptr, struct os_mbuf *rxpdu) om = rxpdu; dst = om->om_data; - while (om) { + while (true) { /* * Always copy blocks of length aligned to word size, only last mbuf * will have remaining non-word size bytes appended.
Update signature for AtkResNode.SetPositionFloat
@@ -140,7 +140,7 @@ namespace FFXIVClientStructs.FFXIV.Component.GUI [MemberFunction("48 85 C9 74 0B 8B 41 44")] public partial void GetPositionFloat(float* outX, float* outY); - [MemberFunction("E8 ? ? ? ? 8B 45 B8")] + [MemberFunction("E8 ?? ?? ?? ?? 48 83 C5 30")] public partial void SetPositionFloat(float X, float ...
libhfuzz: remove unnecessary read barrier
@@ -60,7 +60,6 @@ extern const char* const LIBHFUZZ_module_memorycmp; extern const char* const LIBHFUZZ_module_instrument; static void HonggfuzzRunOneInput(const uint8_t* buf, size_t len) { instrument8BitCountersClear(); - rmb(); int ret = LLVMFuzzerTestOneInput(buf, len); if (ret != 0) { LOG_D("Dereferenced: %s, %s", ...
UI console: Restore tty settings, do not force ECHO after prompt The Console UI method always set echo on after prompting without echo. However, echo might not have been on originally, so just restore the original TTY settings. Fixes
@@ -503,17 +503,13 @@ static int echo_console(UI *ui) { # if defined(TTY_set) && !defined(OPENSSL_SYS_VMS) memcpy(&(tty_new), &(tty_orig), sizeof(tty_orig)); - tty_new.TTY_FLAGS |= ECHO; -# endif - -# if defined(TTY_set) && !defined(OPENSSL_SYS_VMS) if (is_a_tty && (TTY_set(fileno(tty_in), &tty_new) == -1)) return 0; #...
small fix to compiler options
@@ -10,7 +10,7 @@ local util = require 'titan-compiler.util' local p = argparse('titan', 'Titan compiler') p:argument('input', 'Input file.') p:flag('--print-ast', 'Print the AST.') -p:option('-o --output', 'Input file.') +p:option('-o --output', 'Output file.') local args = p:parse() -- Work like assert, but don't pri...
ixfr-out, fix to delete entries if too many before rename could go wrong.
@@ -1097,6 +1097,24 @@ static int ixfr_rename_it(struct zone* zone, const char* zfile, int oldnum, return 1; } +/* delete if we have too many items in memory */ +static void ixfr_delete_memory_items(struct zone* zone, int dest_num_files) +{ + if(!zone->ixfr || !zone->ixfr->data) + return; + if(dest_num_files == (int)zo...
oc_cloud:persist cloudconf after deregistrations
@@ -232,13 +232,10 @@ cloud_deregistered_internal(oc_client_response_t *data) cloud_api_param_t *p = (cloud_api_param_t *)data->user_data; oc_cloud_context_t *ctx = p->ctx; if (data->code >= OC_STATUS_SERVICE_UNAVAILABLE) { - cloud_set_last_error(ctx, CLOUD_ERROR_CONNECT); - ctx->store.status |= OC_CLOUD_FAILURE; + ctx...
subproc: make threads detachable since we're no longer using pthread_join
@@ -490,7 +490,7 @@ bool subproc_runThread(honggfuzz_t* hfuzz, pthread_t* thread, void* (*thread_fun pthread_attr_t attr; pthread_attr_init(&attr); - pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_JOINABLE); + pthread_attr_setdetachstate(&attr, PTHREAD_CREATE_DETACHED); pthread_attr_setstacksize(&attr, _HF_PTHREAD_S...
Apply fix for Reference-LAPACK issue 394 reference to XERBLA extending beyond column 72, breaking builds with compilers that default to traditional punch card format
$ NPLUSONE * .. * .. External Subroutines .. - EXTERNAL SCOPY, SLAORHR_COL_GETRFNP, SSCAL, STRSM, XERBLA + EXTERNAL SCOPY, SLAORHR_COL_GETRFNP, SSCAL, STRSM, + $XERBLA * .. * .. Intrinsic Functions .. INTRINSIC MAX, MIN