message
stringlengths
6
474
diff
stringlengths
8
5.22k
baseboard/ite_evb/usb_pd_policy.c: Format with clang-format BRANCH=none TEST=none
@@ -62,7 +62,6 @@ void pd_power_supply_reset(int port) board_pd_vbus_ctrl(port, 0); } - __override int pd_check_data_swap(int port, enum pd_data_role data_role) { /* Always allow data swap: we can be DFP or UFP for USB */
new testdata will be pulled and extracted
@@ -94,6 +94,7 @@ stages: git lfs pull --include blueprint_v0.3.1_test_data.7z git lfs pull --include blueprint_v0.3.1_mfem_test_data.7z git lfs pull --include blueprint_v0.7.0_venn_test_data.7z + git lfs pull --include blueprint_v0.8.2_braid_examples_test_data.7z cd ../ git lfs pull --include test/baseline/databases/s...
Annotate acked pkt_num
@@ -215,22 +215,36 @@ void print_frame(ngtcp2_dir dir, const ngtcp2_frame *fr) { print_indent(); fprintf(outfile, "length=%zu\n", fr->padding.len); break; - case NGTCP2_FRAME_ACK: + case NGTCP2_FRAME_ACK: { print_indent(); fprintf(outfile, "num_blks=%zu num_ts=%zu largest_ack=%" PRIu64 " ack_delay=%u\n", fr->ack.num_bl...
Cleanup header def ordering
@@ -23,17 +23,31 @@ void markmap_reusable_deinit(Markmap_reusable* map); void mbuffer_clear(Mbuffer map, Usz height, Usz width); +ORCA_OK_IF_UNUSED +static Mark_flags mbuffer_peek(Mbuffer map, Usz map_height, Usz map_width, + Usz y, Usz x); ORCA_OK_IF_UNUSED static Mark_flags mbuffer_peek_relative(Mbuffer map, Usz map_...
add commentline for fixing docker builds back
@@ -13,6 +13,7 @@ URL: https://github.com/indigo-dc/oidc-agent #Source0: https://github.com/indigo-dc/oidc-agent/archive/refs/heads/master.zip #Source0: https://github.com/indigo-dc/oidc-agent/archive/refs/heads/docker-builds.zip Source0: https://github.com/indigo-dc/oidc-agent/archive/refs/tags/v%{version}.tar.gz +#DO...
Added missing BF8 conditions in equaiton backend analysis
@@ -95,7 +95,7 @@ LIBXSMM_API_INTERN libxsmm_blasint libxsmm_matrix_eqn_can_overwrite_unary_input( if (cur_node->info.u_op.type == LIBXSMM_MELTW_TYPE_UNARY_IDENTITY) { result = 0; } - if ((cur_node->le->tmp.dtype == LIBXSMM_DATATYPE_BF16) && (cur_node->tmp.dtype == LIBXSMM_DATATYPE_F32)) { + if (((cur_node->le->tmp.dty...
ci: set bash -xe for step scripts
@@ -38,7 +38,7 @@ jobs: submodules: recursive - name: Run with Docker - shell: 'script -q -e -c "bash {0}"' + shell: 'script -q -e -c "bash -xe {0}"' run: | chmod -R ugo+w . export CONTAINER_NAME=${{ matrix.container }}
admin/lmod: add Conflict for EPEL Lmod to avoid confusion
@@ -59,6 +59,7 @@ Conflicts: Modules # also use the OS provided modulesfiles. Provides: environment(modules) Obsoletes: environment-modules +Conflicts: Lmod %else Conflicts: environment-modules %endif
Persist cloud store after cps and last_error were reset.
@@ -116,6 +116,7 @@ cloud_deregister_on_reset_internal(oc_cloud_context_t *ctx, cloud_manager_stop(ctx); ctx->last_error = 0; ctx->store.cps = 0; + cloud_store_dump(&ctx->store); } #endif /* OC_SECURITY */ @@ -137,10 +138,10 @@ oc_cloud_reset_context(size_t device) #endif /* OC_SECURITY */ cloud_store_initialize(&ctx->...
libhfnetdriver: initialize tmpdir to NULs
@@ -93,10 +93,8 @@ static void netDriver_initNsIfNeeded(void) { LOG_F("nsIfaceUp('lo') failed"); } - char tmpdir[PATH_MAX]; - int ret; - - ret = HonggfuzzNetDriverTempdir(tmpdir, sizeof(tmpdir)); + char tmpdir[PATH_MAX] = {}; + int ret = HonggfuzzNetDriverTempdir(tmpdir, sizeof(tmpdir)); if (ret < 0) { LOG_F("Honggfuzz...
specify x64 for vs2017 pipeline
@@ -17,15 +17,15 @@ jobs: matrix: Debug: BuildType: debug - cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Debug -DMI_DEBUG_FULL=ON + cmakeExtraArgs: -A x64 -DCMAKE_BUILD_TYPE=Debug -DMI_DEBUG_FULL=ON MSBuildConfiguration: Debug Release: BuildType: release - cmakeExtraArgs: -DCMAKE_BUILD_TYPE=Release + cmakeExtraArgs: -A x64 -DCMA...
Convert the weak key and key parity tests to be constant time. Fixes Fixes
#include "internal/deprecated.h" #include <openssl/crypto.h> +#include "internal/constant_time.h" +#include "internal/nelem.h" #include "des_local.h" static const unsigned char odd_parity[256] = { @@ -62,15 +64,23 @@ void DES_set_odd_parity(DES_cblock *key) (*key)[i] = odd_parity[(*key)[i]]; } +/* + * Check that a key ...
Minor tweaks to symtab
@@ -21,31 +21,25 @@ function symtab:with_block(body, ...) end function symtab:add_symbol(name, decl) - assert(#self.blocks > 0, "no blocks") + assert(#self.blocks > 0) local block = self.blocks block[#block][name] = decl end function symtab:find_symbol(name) - local decl for i = #self.blocks, 1, -1 do - decl = self.blo...
jelboz:Re-define Volume up/down position Depend on dynamic change volume up/down function. Need change Volume up/down position. BRANCH=zork TEST=Check Volume up/down function.
@@ -23,8 +23,8 @@ GPIO_INT(EC_PWR_BTN_ODL, PIN(0, 1), GPIO_INT_BOTH, power_button_interrupt) GPIO_INT(LID_OPEN, PIN(D, 2), GPIO_INT_BOTH | GPIO_HIB_WAKE_HIGH, lid_interrupt) GPIO_INT(ACOK_OD, PIN(0, 0), GPIO_INT_BOTH | GPIO_HIB_WAKE_HIGH, extpower_interrupt) GPIO_INT(EC_WP_L, PIN(5, 0), GPIO_INT_BOTH, switch_interrupt)...
tutorial: merge two cleanup sections
@@ -286,7 +286,7 @@ we are able to retrieve the default value from the key database: ```sh kdb get /sw/org/app/\#0/current/server/secure -1 +#> 1 ``` You can read more about this in the documentation for the [type plugin](https://www.libelektra.org/plugins/type#normalization). @@ -651,25 +651,7 @@ sudo rm -v /usr/share...
docs/uselect: ipoll: Fix grammar/wording of one-shot flag description.
@@ -83,10 +83,10 @@ Methods way to poll on streams. If *flags* is 1, one-shot behavior for events is employed: streams for - which events happened, event mask will be automatically reset (equivalent - to ``poll.modify(obj, 0)``), so new events for such a stream won't be - processed until new mask is set with `poll.modi...
Use a software CRC for tx avoiding RX CRC perturbations
@@ -177,9 +177,15 @@ error_return_t Robus_SendMsg(ll_container_t *ll_container, msg_t *msg) // compute the CRC for (uint16_t i = 0; i < full_size - 2; i++) { - LuosHAL_SetIrqState(false); - LuosHAL_ComputeCRC(&msg->stream[i], (uint8_t *)&crc_val); - LuosHAL_SetIrqState(true); + uint16_t dbyte = msg->stream[i]; + crc_va...
[arch][riscv] C++ header guard the core riscv header
#ifndef ASSEMBLY #define __ASM_STR(x) #x +__BEGIN_CDECLS + #define riscv_csr_clear(csr, bits) \ ({ \ ulong __val = bits; \ @@ -238,4 +240,6 @@ static inline uint64_t riscv_get_time(void) { # endif #endif +__END_CDECLS + #endif /* ASSEMBLY */
OcAppleBootPolicyLib: Fix GetBootInfo function logic
@@ -995,8 +995,13 @@ BootPolicyGetBootInfo ( *Device = DeviceHandle; *BootPathName = PathName; - // CHANGE: Apple always returns success here. - return InternalGetApfsVolumeHandle (DeviceHandle, PathName, ApfsVolumeHandle); + // + // InternalGetApfsVolumeHandle status code is ignored, as ApfsVolumeHandle + // may not e...
Exclude Lua 5.1 from macos.
@@ -260,6 +260,9 @@ jobs: matrix: os: [ubuntu-latest, macos-10.15] luaVersion: ["5.1", "5.2", "5.3", "5.4"] + exclude: + - os: macos-10.15 + luaVersion: 5.1 steps: - uses: actions/checkout@master
skiboot: Documentation typo in opal-return-cpu changed OPAL_REINIT_CPU -> OPAL_REINIT_CPUS
@@ -5,11 +5,11 @@ OPAL_RETURN_CPU int64_t opal_return_cpu(void); When OPAL first starts the host, all secondary CPUs are spinning in OPAL. -To start them, one must call OPAL_START_CPU (you may want to OPAL_REINIT_CPU +To start them, one must call OPAL_START_CPU (you may want to OPAL_REINIT_CPUS to set the HILE bit firs...
swaynag: do error checking and rename read_from_stdin read_from_stdin not only read from stdin, but trimming trailing newlines, so rename it to reflect this.
#include "util.h" #include "wlr-layer-shell-unstable-v1-client-protocol.h" -static char *read_from_stdin(void) { - char *buffer = NULL; - size_t buffer_len = 0; - char *line = NULL; - size_t line_size = 0; - ssize_t nread; - while ((nread = getline(&line, &line_size, stdin)) != -1) { +static char *read_and_trim_stdin(v...
Send ACK in retransmitted unprotected packet
@@ -652,6 +652,7 @@ static ssize_t conn_retransmit_unprotected(ngtcp2_conn *conn, uint8_t *dest, int send_pkt_cb_called = 0; ssize_t nwrite; ngtcp2_crypto_ctx ctx; + ngtcp2_frame *ackfr; /* This is required because ent->hd may have old client version. */ hd.version = conn->version; @@ -691,6 +692,30 @@ static ssize_t c...
doc: update All PRs must have a
@@ -176,6 +176,14 @@ is set up correctly by using: git config --global user.name "David Developer" git config --global user.email "david.developer@company.com" +Tracked-on +========== + +All commits must be mapped to a GitHub issue for a feature or bug. Add a +Tracked-On: #issue-number line to your commit message toget...
Android: accept third-party cookies when targeted to SDK>=21
@@ -27,6 +27,8 @@ import android.webkit.WebBackForwardList; import android.webkit.WebChromeClient; import android.webkit.WebSettings; import android.webkit.WebViewClient; +import android.webkit.CookieManager; + public class GoogleWebView implements IRhoWebView { private static final String TAG = GoogleWebView.class.get...
doc: add v0.7 version to master branch (/latest) With the 0.7 release published, we can add the v0.7 doc menu choice.
@@ -189,6 +189,7 @@ else: html_context = { 'current_version': current_version, 'versions': ( ("latest", "/latest/"), + ("0.7", "/0.7/"), ("0.6", "/0.6/"), ("0.5", "/0.5/"), ("0.4", "/0.4/"),
cleaner message stack
@@ -32,15 +32,17 @@ void mngr_set(module_t* module, msg_t* msg) { } void mngr_get_msg(int module_index,int msg_index, mngr_t* chunk) { + int i; if ((module_index < 0) | (msg_index < 0)){ return; } // get module chunk->module = module_msg_mngr[module_index]; hal_disable_irq(); - for (int i = module_index; i < module_msg...
publish: fix check on edit-comment delta An incorrect check caused comment editing to never be propagated.
=/ old-comment (~(get by comments.u.note) comment-date.del) ?~ old-comment [~ sty] - ?: =(our.bol author.u.old-comment) - [~ sty] =. comments.u.note (~(put by comments.u.note) comment-date.del data.del) =. notes.u.book (~(put by notes.u.book) note.del u.note) (emit-updates-and-state host.del book.del u.book del sty)
Must call mbedtls_mpi_mod_modulus_init() before anything else in tests Fixes (new) Coverity issues 381893 and 381894
@@ -300,9 +300,11 @@ void mpi_mod_raw_to_mont_rep( char * input_N, char * input_A, char * input_X ) mbedtls_mpi_uint *N = NULL; mbedtls_mpi_uint *A = NULL; mbedtls_mpi_uint *X = NULL; - mbedtls_mpi_mod_modulus m; size_t n_limbs, a_limbs, x_limbs, x_bytes; + mbedtls_mpi_mod_modulus m; + mbedtls_mpi_mod_modulus_init( &m ...
Device: Ignore Daylight and CLIP sensors
@@ -4236,9 +4236,12 @@ static int sqliteLoadAllSensorsCallback(void *user, int ncols, char **colval , c d->sensors.push_back(sensor); d->updateSensorEtag(&d->sensors.back()); + if (!isClip && sensor.modelId() != QLatin1String("Daylight")) + { const auto key = extAddr != 0 ? extAddr : qHash(sensor.uniqueId()); auto *dev...
fix iPXE config path
if (! close IPXE) { &eprint("Could not write iPXE configuration file: $!\n"); } -+ if (! chmod 0644, "$tftproot/warewulf/pxelinux.cfg/$config") { ++ if (! chmod 0644, "$statedir/warewulf/ipxe/cfg/$config") { + &eprint("Could not chmod Pxelinux configuration file: $!\n"); + } } else {
parser: json: use proper pack_json() prototype
@@ -32,13 +32,13 @@ int flb_parser_json_do(struct flb_parser *parser, int i; int skip; int ret; - int mp_size; int slen; double tmfrac = 0; char *mp_buf; char *time_key; size_t off = 0; size_t map_size; + size_t mp_size; msgpack_sbuffer mp_sbuf; msgpack_packer mp_pck; msgpack_unpacked result;
Set ecdh_psa_privkey_is_external to 1 right after setting ecdh_psa_privkey in ssl_get_ecdh_params_from_cert()
@@ -2883,19 +2883,22 @@ static int ssl_get_ecdh_params_from_cert( mbedtls_ssl_context *ssl ) ssl->handshake->ecdh_psa_privkey = *( (mbedtls_svc_key_id_t*) pk->pk_ctx ); + /* Key should not be destroyed in the TLS library */ + ssl->handshake->ecdh_psa_privkey_is_external = 1; + status = psa_get_key_attributes( ssl->hand...
libbarrelfish,threads: print core and thread id when exception undeliverable
@@ -1548,26 +1548,38 @@ void thread_deliver_exception_disabled(dispatcher_handle_t handle, void *addr, arch_registers_state_t *regs) { struct dispatcher_generic *disp_gen = get_dispatcher_generic(handle); + struct dispatcher_shared_generic *disp =get_dispatcher_shared_generic(handle); struct thread *thread = disp_gen->...
Check psa_destroy_key() return in rsa_decrypt_wrap()
@@ -283,7 +283,10 @@ static int rsa_decrypt_wrap( void *ctx, ret = 0; cleanup: - psa_destroy_key( key_id ); + status = psa_destroy_key( key_id ); + if( ret == 0 && status != PSA_SUCCESS ) + ret = mbedtls_psa_err_translate_pk( status ); + return( ret ); } #else
fix segfault and fd leaking problems 1. to avoid bus fd leaking, removed double fd reference and added bus watch removing in dispose of class 2. change the release position of appsrc and appsink in pad removing processing
@@ -346,6 +346,7 @@ kms_player_endpoint_dispose (GObject * object) bus = gst_pipeline_get_bus (GST_PIPELINE (self->priv->pipeline)); gst_bus_set_sync_handler (bus, NULL, NULL, NULL); + gst_bus_remove_watch(bus); g_object_unref (bus); gst_element_set_state (self->priv->pipeline, GST_STATE_NULL); @@ -899,13 +900,15 @@ km...
HardwareDevices: Fix RAPL graph tooltip showing incorrect values
@@ -869,7 +869,7 @@ BOOLEAN RaplDeviceSectionCallback( value = PhGetItemCircularBuffer_FLOAT(&context->DeviceEntry->TotalBuffer, getTooltipText->Index); // %.2f W\%s - PhInitFormatF(&format[0], context->DeviceEntry->CurrentTotalPower, 2); + PhInitFormatF(&format[0], value, 2); PhInitFormatS(&format[1], L" W\n"); PhInit...
Add overlay support for OpenXR
@@ -145,6 +145,7 @@ static struct { XrHandTrackerEXT handTrackers[2]; struct { bool handTracking; + bool overlay; } features; } state; @@ -198,7 +199,7 @@ static bool openxr_init(float supersample, float offset, uint32_t msaa, bool ove for (uint32_t i = 0; i < extensionCount; i++) extensions[i].type = XR_TYPE_EXTENSION...
Add weights for GOP 16 based on fitting a power curve to bits spent by HM
@@ -812,7 +812,21 @@ static int encoder_control_init_gop_layer_weights(encoder_control_t * const enco } } break; - + case 5: + if(!encoder->cfg.gop_lowdelay) { + // These are obtained by running HM with RA GOP 16 collecting the ratio of bits spent for each + // layer from the CTC sequences and then fitting power curve ...
BLE: Fix issues in NimBLE at the AFR layer 1. Modify prvBTEnable to trigger pxDeviceStateChangedCb 2. Handle BLE_GAP_EVENT_NOTIFY_TX appropriately for indications and notifications
@@ -316,14 +316,30 @@ int prvGAPeventHandler( struct ble_gap_event * event, return 0; case BLE_GAP_EVENT_NOTIFY_TX: - - if( ( event->notify_tx.status != 0 ) && ( xGattServerCb.pxIndicationSentCb != NULL ) ) + xStatus = eBTStatusSuccess; + if( event->notify_tx.indication ) + { + if( event->notify_tx.status == 0 ) + { + ...
test: add ethereum test case test_002InitWallet_0010SetEIP155CompFailureNullParam
@@ -249,6 +249,24 @@ START_TEST(test_002InitWallet_0009SetEIP155CompSuccess) } END_TEST +START_TEST(test_002InitWallet_0010SetEIP155CompFailureNullParam) +{ + BSINT32 rtnVal; + BoatEthWallet *wallet_ptr = BoatMalloc(sizeof(BoatEthWallet)); + BoatEthWalletConfig wallet_config = get_ethereum_wallet_settings(); + + /* 1. ...
link: fix meta key propagation for comment posting
@@ -168,6 +168,14 @@ export class LinkDetail extends Component { }} placeholder="Leave a comment on this link" onChange={this.setComment} + onKeyDown={e => { + if ( + (e.getModifierState("Control") || e.metaKey) && + e.key === "Enter" + ) { + this.onClickPost(); + } + }} onFocus={() => this.setState({ commentFocus: tru...
Replace call to serial stream with channel equivalent that has timeout
@@ -46,8 +46,8 @@ int WP_ReceiveBytes(uint8_t* ptr, uint16_t* size) // if the requested number of bytes was actually read ////////////////////////////////////////////////////////// - // read from serial stream - size_t read = streamRead(&SDU1, ptr, *size); + // read from serial stream with 250ms timeout + size_t read =...
flash_mmap: restore interrupt and cache before err return
@@ -191,6 +191,7 @@ esp_err_t IRAM_ATTR spi_flash_mmap_pages(const int *pages, size_t page_count, sp uint32_t region_addr; // base address of memory region get_mmu_region(memory,&region_begin,&region_size,&region_addr); if (region_size < page_count) { + spi_flash_enable_interrupts_caches_and_other_cpu(); return ESP_ERR...
freebsd: extend readme for local tarballs
@@ -15,11 +15,27 @@ Make sure /usr/ports is populated: portsnap fetch extract ``` +Create a source tarball of the current repository: + +``` +git archive HEAD --prefix kadnode-head/ -o freebsd/kadnode-head.tar.gz +``` + +Edit `freebsd/Makefile` to build package locally: +``` +# Comment out: +#USE_GITHUB= yes + +# Add: ...
Fixes the crash on planet startup.
@@ -45,12 +45,19 @@ cvtRespHeaders resp = where heads = convertHeaders (H.responseHeaders resp) +bornEv :: KingId -> Ev +bornEv king = + EvBlip $ BlipEvHttpClient $ HttpClientEvBorn (king, ()) () + -------------------------------------------------------------------------------- client :: forall e. HasLogFunc e => KingI...
Increase MaxFunctionStackHeight for ESP32 WASI example
@@ -5,7 +5,7 @@ set(APP_SOURCES "main.cpp" "m3_api_esp_wasi.c") idf_component_register(SRCS ${APP_SOURCES} ${M3_SOURCES} INCLUDE_DIRS "") -target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-error -O3 -DESP32 -Dd_m3LogOutput=false) +target_compile_options(${COMPONENT_LIB} PRIVATE -Wno-error -O3 -DESP32 -Dd_m3MaxFuncti...
[lwip] update netstat: add list_udps.
@@ -385,8 +385,10 @@ FINSH_FUNCTION_EXPORT_ALIAS(cmd_dns, __cmd_dns, list the information of dns); int cmd_netstat(int argc, char **argv) { extern void list_tcps(void); + extern void list_udps(void); list_tcps(); + list_udps(); return 0; } FINSH_FUNCTION_EXPORT_ALIAS(cmd_netstat, __cmd_netstat, list the information of ...
[CI] more hacks, there can't be enough
@@ -364,7 +364,11 @@ pkgs: /opt/conda/bin/conda install numpy scipy lxml pytest matplotlib vtk && /opt/conda/bin/conda install -c https://conda.anaconda.org/dlr-sc pythonocc-core && rm /opt/conda/lib/libgfortran.so* && - rm /opt/conda/pkgs/*.tar.bz2 -f + rm /opt/conda/pkgs/*.tar.bz2 -f && + for i in $(ls /opt/conda/lib...
[apps] :art: Keep clang-format from formatting assembly header file
// See LICENSE for license details. +// clang-format off + #ifndef _ENV_PHYSICAL_SINGLE_CORE_H #define _ENV_PHYSICAL_SINGLE_CORE_H @@ -131,4 +133,6 @@ begin_signature: .global end_signature; \ end_signature: +// clang-format on + #endif
added reset constrain for PCIe RC
############################################################################ ## -set_false_path -from [get_pins nvme_reset_n_q_reg/C] -to [get_pins {a0/nvme_top_i/axi_pcie3_1/inst/pcie3_ip_i/inst/gt_top_i/phy_rst_i/rrst_n_r_reg[?]/CLR}] - +set_false_path -from [get_ports sys_rst_n] # ------------------------------ # Pi...
Update the make manuals target for Python 3.
# same for all platforms, except the sphinx build command which is # different on Windows. Added logic to ensure sphinx build command exists. # +# Eric Brugger, Wed Feb 10 15:07:41 PST 2021 +# Update for switch to Python 3. +# #**************************************************************************** -if(VISIT_PYTHO...
md formatting issue.
@@ -710,7 +710,7 @@ What happens in the following code? ``` We want the max to be 14, but this will actually evaluate to 12! This can be understood -if we expand the macro. You can expand macro once in janet using the '(macex1 x)` function. +if we expand the macro. You can expand macro once in janet using the `(macex1 ...
update help str.
-/* Copyright 2014,2019. The Regents of the University of California. - * Copyright 2022. Institute of Biomedical Imaging. TU Graz. +/* Copyright 2022. Institute of Biomedical Imaging. TU Graz. * All rights reserved. Use of this source code is governed by * a BSD-style license which can be found in the LICENSE file. * ...
consume chunked extra bytes before calling `cleanup_connection` since that might start reading a request immediately
@@ -245,7 +245,7 @@ DECL_ENTITY_READ_SEND_ERROR_XXX(400) DECL_ENTITY_READ_SEND_ERROR_XXX(413) DECL_ENTITY_READ_SEND_ERROR_XXX(502) -static void handle_one_body_fragment(struct st_h2o_http1_conn_t *conn, size_t fragment_size, int complete) +static void handle_one_body_fragment(struct st_h2o_http1_conn_t *conn, size_t fr...
Fix typo numbes -> number
@@ -170,7 +170,7 @@ typedef struct mi_page_s { // layout like this to optimize access in `mi_malloc` and `mi_free` mi_page_flags_t flags; uint16_t capacity; // number of blocks committed - uint16_t reserved; // numbes of blocks reserved in memory + uint16_t reserved; // number of blocks reserved in memory mi_block_t* f...
add ksceAppMgrLaunchAppByPath header
@@ -20,6 +20,37 @@ extern "C" { */ int ksceAppMgrKillProcess(SceUID pid); +typedef struct +{ + size_t size; + unsigned int unk_4; //<! set to 0x80000000 to break on launch + unsigned int unk_8; + unsigned int unk_C; + unsigned int unk_10; + unsigned int unk_14; + unsigned int unk_18; + unsigned int unk_1C; + unsigned i...
HV: life_mngr: add sync delay for WaaG lifecycle manager The lifecycle manager in Service VM checks sync message every 5 seconds, so need add 5 seconds to sync delay for WaaG lifecycle manager to avoid unnecessary sync resending.
@@ -179,6 +179,12 @@ int main() snprintf(buf, sizeof(buf), SYNC_FMT, WIN_VM_NAME); enable_uart_resend(buf, MIN_RESEND_TIME); send_message_by_uart(hCom2, buf, strlen(buf)); + /** + * The lifecycle manager in Service VM checks sync message every 5 seconds + * during listening phase, delay 5 seconds to wait Service VM to ...
Send CRYPTO before STREAM
@@ -1864,6 +1864,37 @@ static ssize_t conn_write_pkt(ngtcp2_conn *conn, uint8_t *dest, size_t destlen, left = ngtcp2_ppe_left(&ppe); + if (rv != NGTCP2_ERR_NOBUF && *pfrc == NULL && + left >= NGTCP2_CRYPTO_OVERHEAD + NGTCP2_MIN_FRAME_PAYLOADLEN) { + left -= NGTCP2_CRYPTO_OVERHEAD; + + nwrite = conn_create_crypto_frame(...
Pico: 1.20v overvolt for stable 250MHz Required for stable 250MHz overclock on some PicoSystem units. Default voltage is 1.10v.
#include "hardware/clocks.h" #include "hardware/structs/rosc.h" +#include "hardware/vreg.h" #include "pico/binary_info.h" #include "pico/stdlib.h" @@ -232,6 +233,10 @@ static int64_t timer_callback(alarm_id_t alarm_id, void *user_data) { int main() { #if OVERCLOCK_250 + // Apply a modest overvolt, default is 1.10v. + /...
fib: Another realloc burn Type: fix harmless this time since it only affects the debug statement, but it still crashes an ASAN image.
@@ -712,7 +712,7 @@ fib_entry_post_flag_update_actions (fib_entry_t *fib_entry, return (fib_entry); } -static void +static fib_entry_t* fib_entry_post_install_actions (fib_entry_t *fib_entry, fib_source_t source, fib_entry_flag_t old_flags) @@ -720,6 +720,8 @@ fib_entry_post_install_actions (fib_entry_t *fib_entry, fib...
Update memory list menu text
@@ -165,13 +165,13 @@ VOID PhShowMemoryListCommand( PPH_EMENU_ITEM selectedItem; menu = PhCreateEMenu(); - PhInsertEMenuItem(menu, PhCreateEMenuItem(0, ID_EMPTY_COMBINEMEMORYLISTS, L"&Combine memory lists", NULL, NULL), ULONG_MAX); + PhInsertEMenuItem(menu, PhCreateEMenuItem(0, ID_EMPTY_COMBINEMEMORYLISTS, L"&Combine m...
drv/virtual/simulation: Pass integers to pbdrv. Fixes: TypeError: 'numpy.float64' object cannot be interpreted as an integer.
@@ -77,7 +77,7 @@ class VirtualCounter: abs_angle = mod_angle if mod_angle < 180 else mod_angle - 360 # Return all values. - return angle - self.initial_angle, abs_angle, speed + return int(angle - self.initial_angle), int(abs_angle), int(speed) def __init__(self, sim_motor, clock): # Store references to motor and cloc...
Mapping a physical range will map into shared memory when using the global dir And will map into unshared memory when using any other dir
@@ -706,8 +706,21 @@ uint32_t vas_active_map_phys_range(uint32_t phys_start, uint32_t size) { panic("size is not page aligned"); } - uint32_t index = find_free_region(vmm_active_pdir(), size, _first_page_outside_shared_kernel_tables); + // If we're mapping in the root directory, we're allowed to allocate within a share...
minor update for inputoverlay
@@ -54,8 +54,9 @@ class InputOverlay(Images): self.button_frames.append(self.img) def clicked(self): + is_new_click = not self.going_down_frame if not self.going_down_frame: - self.frame_index = 0 + self.frame_index = 2 self.font_scale = 0.5 * self.scale self.font_width, self.font_height = cv2.getTextSize('0', cv2.FONT...
Add ins32() and outs32().
@@ -14,6 +14,13 @@ static inline void out32(u32 port, u32 data) __asm __volatile("outl %0, %w1" : : "a" (data), "Nd" (port)); } +static inline void outs32(u32 port, const void *addr, u32 count) +{ + __asm __volatile("cld; rep; outsl" + : "+S" (addr), "+c" (count) + : "d" (port)); +} + static inline u8 in8(u32 port) { u...
ble_mesh: fix virtual addr wrong return value Fixes missing return value on `va_del` Fixes wrong return value on `va_add`
@@ -1200,7 +1200,7 @@ static u8_t va_add(u8_t *label_uuid, u16_t *addr) if (update) { update->ref++; va_store(update); - return 0; + return STATUS_SUCCESS; } if (!free_slot) { @@ -1232,6 +1232,7 @@ static u8_t va_del(u8_t *label_uuid, u16_t *addr) } va_store(update); + return STATUS_SUCCESS; } if (addr) {
reconnecting debug console
@@ -12,13 +12,14 @@ from panda import Panda # noqa: E402 setcolor = ["\033[1;32;40m", "\033[1;31;40m"] unsetcolor = "\033[00m" -if __name__ == "__main__": - while True: - try: port_number = int(os.getenv("PORT", "0")) claim = os.getenv("CLAIM") is not None no_color = os.getenv("NO_COLOR") is not None +no_reconnect = os...
Fix windows build compiler issue. Another case of snprintf() being used.
#include <openssl/http.h> #include <openssl/httperr.h> +#include <openssl/bio.h> /* for BIO_snprintf() */ #include <openssl/err.h> #include <string.h> #include "internal/cryptlib.h" /* for ossl_assert() */ @@ -164,7 +165,7 @@ int OSSL_parse_url(const char *url, char **pscheme, char **puser, char **phost, if ((*ppath = ...
updated Debian Requirements
@@ -57,14 +57,11 @@ git clone https://github.com/ZerBea/hcxdumptool.git cd hcxdumptool ``` -Solve dependencies (Debian based distributions >= bullseye: KALI, UBUNTU, ...) + +Solve dependencies -------------- +as mentioned in Requirements chapter -You need to install missing dependencies before running `make`: - -``` -s...
board/wheelie/board.c: Format with clang-format BRANCH=none TEST=none
@@ -68,34 +68,26 @@ static void c0_ccsbu_ovp_interrupt(enum gpio_signal s) /* ADC channels */ const struct adc_t adc_channels[] = { - [ADC_VSNS_PP3300_A] = { - .name = "PP3300_A_PGOOD", + [ADC_VSNS_PP3300_A] = { .name = "PP3300_A_PGOOD", .factor_mul = ADC_MAX_MVOLT, .factor_div = ADC_READ_MAX + 1, .shift = 0, - .channe...
Make Source:clone suck less;
@@ -429,11 +429,21 @@ Source* lovrSourceClone(Source* source) { Source* clone = calloc(1, sizeof(Source)); lovrAssert(clone, "Out of memory"); clone->ref = 1; + clone->index = ~0u; clone->sound = source->sound; lovrRetain(clone->sound); clone->volume = source->volume; + memcpy(clone->position, source->position, 4 * siz...
tests in appveyor
@@ -12,3 +12,9 @@ install: build_script: - cmd: cmake -G "NMake Makefiles" . - cmd: nmake + +test_script: + - cmd: bin\test_validator.exe + - cmd: bin\test_validator_v41.exe + - cmd: bin\test_validator_v42.exe + - cmd: bin\test_validator_v43.exe
Fixed problem for connecting to server with return values.
@@ -619,17 +619,21 @@ espi_process_sub_cmd(esp_msg_t* msg, uint8_t is_ok, uint8_t is_error, uint8_t is res = espi_initiate_cmd(msg); /* Start connection */ if (res == espOK) { return espCONT; + } else { + return espERR; } } } else if (msg->i == 1 && msg->cmd == ESP_CMD_TCPIP_CIPSTART) { msg->cmd = ESP_CMD_TCPIP_CIPSTAT...
[kernel] missing std:: prefix in assert
@@ -795,9 +795,9 @@ void SiconosBulletCollisionManager_impl::updateContactorInertia( assert( ! ((localinertia.x() == 0.0 && localinertia.y() == 0.0 && localinertia.z() == 0.0) - || isinf(localinertia.x()) - || isinf(localinertia.y()) - || isinf(localinertia.z())) + || std::isinf(localinertia.x()) + || std::isinf(locali...
Add RISC-V 64-bit (riscv64) platform configuration
@@ -406,12 +406,16 @@ OR: #define BROTLI_TARGET_POWERPC64 #endif +#if defined(__riscv) && defined(__riscv_xlen) && __riscv_xlen == 64 +#define BROTLI_TARGET_RISCV64 +#endif + #if defined(BROTLI_BUILD_64_BIT) #define BROTLI_64_BITS 1 #elif defined(BROTLI_BUILD_32_BIT) #define BROTLI_64_BITS 0 #elif defined(BROTLI_TARGET...
metadata-store: support /lib/dbug interface
:: /app-name/%app-name associations for app :: /- *metadata-store -/+ default-agent +/+ default-agent, dbug |% +$ card card:agent:gall :: :: =| state-zero =* state - +%- agent:dbug ^- agent:gall =< |_ =bowl:gall
re-arrange new code for readability
#include "functable.h" #endif +// this is smallest dimension N of square input a to permit threading +// see graph in issue #1820 for explanation +#define MULTI_THREAD_MINIMAL 362 + #ifdef XDOUBLE #define ERROR_NAME "XHEMV " #elif defined(DOUBLE) @@ -195,8 +199,7 @@ void CNAME(enum CBLAS_ORDER order, enum CBLAS_UPLO Up...
Fixed faulty FOR loops with device removal
@@ -965,6 +965,8 @@ class Iotivity(): self.lib.py_otm_just_works.argtypes = [String] self.lib.py_otm_just_works.restype = None + onboarded_devices = [] + for device in self.unowned_devices: device_name = self.get_device_name(device) print ("Onboarding device :", device, device_name) @@ -989,17 +991,26 @@ class Iotivity...
input_chunk: do not free fixed array variable on exception (CID 304425)
@@ -137,7 +137,6 @@ struct flb_input_chunk *flb_input_chunk_create(struct flb_input_instance *in, if (!chunk) { flb_error("[input chunk] could not create chunk file: %s:%s", storage->stream, name); - flb_sds_destroy(name); return NULL; }
Fix menu focus when there is a separator at the end (issue
@@ -907,10 +907,10 @@ void DrawMenuItem(Menu *menu, MenuItem *item, int index) /** Get the next item in the menu. */ int GetNextMenuIndex(Menu *menu) { - MenuItem *item; int x; + /* Move to the next non-separator in the menu. */ for(x = menu->currentIndex + 1; x < menu->itemCount; x++) { item = GetMenuItem(menu, x); if...
test-suite: fix reference to FC compiler in opencoarrays config summary
@@ -47,7 +47,7 @@ echo OHPC compiler toolchain....... : $LMOD_FAMILY_COMPILER echo OHPC MPI toolchain............ : $LMOD_FAMILY_MPI echo echo F77 compiler ................. : `which $F77` -echo F90 compiler ................. : `which $F90` +echo F90 compiler ................. : `which $FC` echo echo F77 compiler flags...
In some cases a string sent to a console (stdout|stderr) will cause the json formatter to fail and return a null message. Handle the error properly.
@@ -416,16 +416,18 @@ evtLog(evt_t *evt, const char *host, const char *path, event.uid = uid; msg = fmtEventMessageString(evt->format, &event); - // Until we know how to do this with the json lib; new line delimited - strcat(msg, "\n"); + if (!msg) return -1; regex_t* filter = evtValueFilter(evt, logType); - if (msg &&...
take out local vectors curDir and curDir2 from UpdateBucketsMulti Speed up on higgs(2 classes): leaf_estimation_iterations=1 Time per iteration ~ 10%(Newton), ~5%(Gradient) leaf_estimation_iterations=10 Time per iteration ~ 13%(Newton), ~5%(Gradient) and cloudness(9 classes): leaf_estimation_iterations=1 Time per itera...
@@ -26,13 +26,13 @@ void AddSampleToBucketNewtonMulti( float target, double weight, int iteration, + TVector<double>* curDer, + TArray2D<double>* curDer2, TSumMulti* bucket ) { - const int approxDimension = approx.ysize(); - TVector<double> curDer(approxDimension); - TArray2D<double> curDer2(approxDimension, approxDime...
Fixed inability to close expanded panel pressing 'q' on TUI.
@@ -1012,7 +1012,7 @@ get_keys (Logs * logs) { quit = 0; break; } - if (collapse_current_module ()) + if (collapse_current_module () == 0) render_screens (offset); break; case KEY_F (1):
fieryrage skin fix score-percent too big wont show up
+from PIL import Image + from ...PrepareFrames.YImage import YImage @@ -12,6 +14,11 @@ class ScoreNumbers: self.score_images.append(YImage(scoreprefix + str(x), settings, scale, prefix="ScorePrefix")) self.score_percent = YImage(score_percent, settings, scale, prefix="ScorePrefix") + print(scale) + # fierymod_v8_reales...
ble_mesh: fix resending segments on correct bearer
@@ -731,6 +731,7 @@ int bt_mesh_net_resend(struct bt_mesh_subnet *sub, struct net_buf *buf, { const u8_t *enc, *priv; u32_t seq; + u16_t dst; int err; BT_DBG("net_idx 0x%04x new_key %u len %u", sub->net_idx, new_key, @@ -757,6 +758,9 @@ int bt_mesh_net_resend(struct bt_mesh_subnet *sub, struct net_buf *buf, buf->data[3...
nonzero errno if bdf is not compatible. * nonzero errno if bdf is not compatible. Added space between "a" and "compatible". Removed "invalid" because that check is handled earlier -- by a call to normalize_bdf(...) on line 262. Returning a non-zero value due to an error.
@@ -279,9 +279,9 @@ def main(): fcntl.flock(flock.fileno(), fcntl.LOCK_UN) raise SystemExit(exit_code) - logging.error(('PCIe address (%s) is invalid or does not identify a' - 'compatible device'), args.bdf) - + logging.error('PCIe address (%s) does not identify a compatible device', + args.bdf) + raise SystemExit(os.E...
Fix author entity suggester conf into Solr
</arr> </requestHandler> - <requestHandler class="org.apache.solr.handler.component.SearchHandler" name="/suggesEntitytAuthors"> + <requestHandler class="org.apache.solr.handler.component.SearchHandler" name="/suggestEntitytAuthors"> <lst name="defaults"> <str name="suggest">true</str> <str name="suggest.dictionary">su...
honggfuzz: fix a typo
@@ -82,7 +82,7 @@ static void sigHandler(int sig) { } if (ATOMIC_GET(sigReceived) != 0) { - exitWithMsg("Repeated termination signal caugth\n", EXIT_FAILURE); + exitWithMsg("Repeated termination signal caught\n", EXIT_FAILURE); } ATOMIC_SET(sigReceived, sig);
docs/android: NDK version
@@ -17,7 +17,7 @@ build an upstream git fork is executed | **Dependency** | **Last Tested Version** | |:-------|:-----------| -| **Android NDK** | r14b with Android API 24 (Nougat 7.0) | +| **Android NDK** | r15-beta2 with Android API 24 (Nougat 7.0) | | **libunwind** | upstream master commit [bc8698f] | | **capstone**...
fix for emscripten build
@@ -13,10 +13,12 @@ extern uint16_t keys_needed; extern LRKCNV* keys_poll; void init_lrkey_to_pc98(); +void reset_lrkey(); void send_libretro_key_down(UINT key); void send_libretro_key_up(UINT key); #else /* __LIBRETRO__ */ void sdlkbd_initialize(void); +void sdlkbd_reset() void sdlkbd_keydown(UINT key); void sdlkbd_ke...
update readme for valgrind
@@ -350,7 +350,12 @@ executables. To build with valgrind support, use the `MI_VALGRIND=ON` cmake opti ``` This can also be combined with secure mode or debug mode. -You can then run your programs directly under the `valgrind <myprogram>` tool. +You can then run your programs directly under valgrind: + +``` +> valgrind ...
Fix issue - bad format specifiers in run.c
@@ -80,9 +80,9 @@ int janet_dobytes(JanetTable *env, const uint8_t *bytes, int32_t len, const char const char *e = janet_parser_error(&parser); errflags |= 0x04; ret = janet_cstringv(e); - size_t line = parser.line; - size_t col = parser.column; - janet_eprintf("%s:%lu:%lu: parse error: %s\n", sourcePath, line, col, e)...
Gets rid of "actual" variable From you can actually pass NULL to the obtained parameter and it will modify the desired parameter struct in place (if it's allowed to do so)
@@ -31,7 +31,7 @@ int init_buffer_and_device(Sound_samples *sound_samples, .format = AUDIO_F32, .channels = 2, .freq = 44100 - }, actual; + }; // TODO: a return value by SDL_GetNumAudioDevices that is <= 0 may not indicate an error if (SDL_GetNumAudioDevices(0) <= 0) { log_fail("No audio in 2019 LULW\n"); @@ -84,7 +84,...
Fix reference to conn_public_t in a comment
@@ -392,7 +392,7 @@ struct st_quicly_conn_streamgroup_state_t { /** * Values that do not need to be gathered upon the invocation of `quicly_get_stats`. We use typedef to define the same fields in - * the same order for quicly_stats_t and `struct st_quicly_public_conn_t::stats`. + * the same order for quicly_stats_t and...
WIP Fix vertical alignment in 16px grid topdown
@@ -19,7 +19,7 @@ void Start_TopDown() { if (topdown_grid == 16) { // Snap to 16px grid player.pos.x = MUL_16(DIV_16(player.pos.x)); - player.pos.y = MUL_16(DIV_16(player.pos.y)); + player.pos.y = 8 + MUL_16(DIV_16(player.pos.y)); } } @@ -30,7 +30,7 @@ void Update_TopDown() { tile_y = DIV_8(player.pos.y); // Is player ...
[P2P] Skip tests depending on semi-env. the test will be revived after finding suitible ways.
@@ -50,6 +50,7 @@ func TestParseAergoVersion(t *testing.T) { } func TestCheckVersion(t *testing.T) { + t.Skip("the test is dependent of version of binary, which is related to git tagging. this test will be skipped until found more consistent way to test") tests := []struct { name string arg string
espressif iot_wifi.c: Fix log print for SYSTEM_EVENT_AP_STOP event
@@ -178,7 +178,7 @@ static void event_handler(void* arg, esp_event_base_t event_base, int32_t event_ xEventGroupSetBits(wifi_event_group, AP_STARTED_BIT); break; case SYSTEM_EVENT_AP_STOP: - ESP_LOGI(TAG, "SYSTEM_EVENT_AP_START"); + ESP_LOGI(TAG, "SYSTEM_EVENT_AP_STOP"); wifi_ap_state = false; xEventGroupClearBits(wifi...
WebPIoInitFromOptions: respect incoming bypass_filtering val if bypass_filtering was set to 1 in the user provided options it shouldn't be reset in the use_scaling pass even if the image satisfies the scaling requirements.
@@ -835,7 +835,7 @@ int WebPIoInitFromOptions(const WebPDecoderOptions* const options, if (io->use_scaling) { // disable filter (only for large downscaling ratio). - io->bypass_filtering = (io->scaled_width < W * 3 / 4) && + io->bypass_filtering |= (io->scaled_width < W * 3 / 4) && (io->scaled_height < H * 3 / 4); io->...