message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
fix(coredump): pr_status pid padding should be uint16 | @@ -115,7 +115,7 @@ typedef union {
/* We can determine the padding thank to the previous macros */
#define PRSTATUS_SIG_PADDING (PRSTATUS_OFFSET_PR_CURSIG)
-#define PRSTATUS_PID_PADDING (PRSTATUS_OFFSET_PR_PID - PRSTATUS_OFFSET_PR_CURSIG - sizeof(uint32_t))
+#define PRSTATUS_PID_PADDING (PRSTATUS_OFFSET_PR_PID - PRSTA... |
fix fee inclusion in balance calculations | @@ -191,6 +191,8 @@ cryptoTransferGetAmountDirected (BRCryptoTransfer transfer) {
extern BRCryptoAmount
cryptoTransferGetAmountDirectedNet (BRCryptoTransfer transfer) {
BRCryptoAmount amount = cryptoTransferGetAmountDirected (transfer);
+
+ if (CRYPTO_TRANSFER_SENT == cryptoTransferGetDirection (transfer)) {
BRCryptoAm... |
log: fix minor memory leak when cleaning list of log levels | @@ -174,8 +174,10 @@ void esp_log_level_set(const char* tag, esp_log_level_t level)
void clear_log_level_list()
{
- while( !SLIST_EMPTY(&s_log_tags)) {
+ uncached_tag_entry_t *it;
+ while((it = SLIST_FIRST(&s_log_tags)) != NULL) {
SLIST_REMOVE_HEAD(&s_log_tags, entries );
+ free(it);
}
s_log_cache_entry_count = 0;
s_lo... |
boot/boot_serial; syscfg restrictions should allow nvreg only
way of entering serial upload mode. | @@ -23,7 +23,8 @@ syscfg.defs:
value: '-1'
restrictions:
- '(BOOT_SERIAL_DETECT_PIN != -1) ||
- (BOOT_SERIAL_DETECT_TIMEOUT != 0)'
+ (BOOT_SERIAL_DETECT_TIMEOUT != 0) ||
+ (BOOT_SERIAL_NVREG_INDEX != -1)'
BOOT_SERIAL_DETECT_PIN_CFG:
description: >
@@ -48,7 +49,8 @@ syscfg.defs:
value: 0
restrictions:
- '(BOOT_SERIAL_DE... |
Fixed typo in X509_STORE_CTX_new description
'X509_XTORE_CTX_cleanup' -> 'X509_STORE_CTX_cleanup' | @@ -61,7 +61,7 @@ If B<ctx> is NULL nothing is done.
X509_STORE_CTX_init() sets up B<ctx> for a subsequent verification operation.
It must be called before each call to X509_verify_cert(), i.e. a B<ctx> is only
good for one call to X509_verify_cert(); if you want to verify a second
-certificate with the same B<ctx> the... |
Travis CI: Use build matrix
Using the build matrix can help speeding up the CI since they run
simultaneously.
Closes | language: cpp
dist: trusty
+env:
+ global:
+ - CFLAGS='-g -pipe'
+ matrix:
+ - MODE=address
+ - MODE=lib-coverage
+
addons:
apt:
packages:
- docbook2x
install:
- - wget -O xmlts.zip https://www.w3.org/XML/Test/xmlts20080827.zip
+ - wget -O expat/tests/xmlts.zip https://www.w3.org/XML/Test/xmlts20080827.zip
script:
- cd... |
Feat:fix the log info in dam_byte_pool_init | @@ -96,7 +96,7 @@ qapi_Status_t dam_byte_pool_init(void)
ret = txm_module_object_allocate(&byte_pool_test, sizeof(TX_BYTE_POOL));
if(ret != TX_SUCCESS)
{
- LOG_ERROR("DAM_APP:Allocate byte_pool_dam fail \n");
+ BoatLog(BOAT_LOG_CRITICAL,"DAM_APP:Allocate byte_pool_dam fail,ret=%d",ret);
break;
}
@@ -104,7 +104,7 @@ qap... |
STORE: Fix the repeated prompting of passphrase
OSSL_STORE's loading function could prompt repeatedly for the same
passphrase. It turns out that OSSL_STORE_load() wasn't caching the
passphrase properly. Fixed in this change. | @@ -135,7 +135,8 @@ OSSL_STORE_open_ex(const char *uri, OSSL_LIB_CTX *libctx, const char *propq,
}
if (ui_method != NULL
- && !ossl_pw_set_ui_method(&ctx->pwdata, ui_method, ui_data)) {
+ && (!ossl_pw_set_ui_method(&ctx->pwdata, ui_method, ui_data)
+ || !ossl_pw_enable_passphrase_caching(&ctx->pwdata))) {
ERR_raise(ERR... |
main: fix error goto | @@ -801,7 +801,7 @@ static int dev_added(struct tcmu_device *dev)
ret = pthread_cond_init(&rdev->lock_cond, NULL);
if (ret < 0)
- goto cleanup_lock_cond;
+ goto close_dev;
/*
* Set the optimal unmap granularity to max xfer len. Optimal unmap
@@ -814,14 +814,14 @@ static int dev_added(struct tcmu_device *dev)
ret = pthr... |
[examples] box stacks, disable wrecking ball by default | @@ -50,10 +50,10 @@ with Hdf5() as io:
io.addObject('ground', [Contactor('Ground')], [0,0,-0.05])
# Enable to smash the wall
- io.addPrimitiveShape('Ball', 'Sphere', [1,])
- io.addObject('WreckingBall', [Contactor('Ball')],
- translation=[30,0,3], velocity=[-30,0,2,0,0,0],
- mass=10)
+ # io.addPrimitiveShape('Ball', 'S... |
hw/mcu/dialog: Add MSPLIM support
This adds support for hardware stack limiter available in ARMv8-M.
It enables stack checking for MSP since PSP is already handled in
generic os_arch. | CRG_TOP_SYS_STAT_REG_COM_IS_DOWN_Msk | \
CRG_TOP_SYS_STAT_REG_RAD_IS_DOWN_Msk)
+extern uint8_t __StackLimit;
+
void SystemInit(void)
{
#if MYNEWT_VAL(OS_SCHEDULING) && MYNEWT_VAL(MCU_DEEP_SLEEP)
int idx;
#endif
+ __asm__ volatile (".syntax unified \n"
+ " msr msplim, %[msplim] \n"
+ :
+ : [msplim] "r" (&__StackLimit)
+... |
Fix issue 315 | @@ -111,9 +111,9 @@ int main(int argc,char **argv)
CCL_ClTracer *ct_wl=ccl_cl_tracer_lensing_simple_new(cosmo,NZ,z_arr_sh,nz_arr_sh, &status);
printf("ell C_ell(c,c) C_ell(c,g) C_ell(c,s) C_ell(g,g) C_ell(g,s) C_ell(s,s) | r(g,s)\n");
for(int l=2;l<=NL;l*=2) {
- double cl_cc=ccl_angular_cl(cosmo,l,ct_wl,ct_wl, &status)... |
quic: fix rx_callback refactoring
* check_quic_client_connected might allocate ctx
and invalidate our pointer
Type: fix | @@ -2053,10 +2053,10 @@ quic_app_rx_callback (session_t * udp_session)
if (packets_ctx[i].thread_index != thread_index)
continue;
+ check_quic_client_connected (&packets_ctx[i]);
ctx =
quic_ctx_get (packets_ctx[i].ctx_index,
packets_ctx[i].thread_index);
- check_quic_client_connected (&packets_ctx[i]);
quic_send_packet... |
file_close(): add call to release_fdesc()
Without this call, the notify set associated to a file descriptor
being closed is leaked, and in addition any notify entries
registered on the file descriptor fail to be notified of the file
closure. | @@ -716,8 +716,10 @@ closure_function(2, 0, sysreturn, file_close,
ret = spec_close(f);
}
- if (ret == 0)
+ if (ret == 0) {
+ release_fdesc(&f->f);
unix_cache_free(get_unix_heaps(), file, f);
+ }
return 0;
}
|
ci: remove redundant OTA examples jobs | @@ -411,15 +411,8 @@ test_weekend_mqtt:
- .example_test_template
- .rules:test:example_test-esp32s3
-example_test_001A:
- extends: .example_test_esp32_template
- tags:
- - ESP32
- - Example_WIFI
-
example_test_001B:
extends: .example_test_esp32_template
- parallel: 2
tags:
- ESP32
- Example_EthKitV1
@@ -437,32 +430,12 ... |
For %crow tasks: Skim instead of murn. No longer include desks with no rules. | ?~ des [[hen %give %croz rus]~ ..^^$]
=+ per=(filter-rules per.q.i.des)
=+ pew=(filter-rules pew.q.i.des)
- $(des t.des, rus (~(put by rus) p.i.des per pew))
+ =? rus |(?=(^ per) ?=(^ pew))
+ (~(put by rus) p.i.des per pew)
+ $(des t.des)
::
++ filter-rules
|= pes/regs
^+ pes
=- (~(gas in *regs) -)
- %+ murn ~(tap by p... |
no test plugins in 2.26.1 | @@ -29,8 +29,7 @@ Source0: https://www.cs.uoregon.edu/research/tau/tau_releases/tau-%{version}.t
Source1: OHPC_macros
Patch1: tau-add-explicit-linking-option.patch
Patch2: tau-shared_libpdb.patch
-Patch3: tau-testplugins_makefile.patch
-Patch4: tau-disable_examples.patch
+Patch3: tau-disable_examples.patch
Provides: li... |
Pass stack allocated buffer to realpath | @@ -423,12 +423,12 @@ Request request_path(const std::string &uri, bool is_connect) {
namespace {
std::string resolve_path(const std::string &req_path) {
auto raw_path = config.htdocs + req_path;
- auto malloced_path = realpath(raw_path.c_str(), nullptr);
- if (malloced_path == nullptr) {
+ std::array<char, PATH_MAX> b... |
Updated README.md to reflect the latest version. | @@ -47,6 +47,9 @@ terminal. Features include:
Have multiple Virtual Hosts (Server Blocks)? It features a panel that
displays which virtual host is consuming most of the web server resources.
+* **ASN (Autonomous System Number mapping)**<br>
+ Great for detecting malicious traffic patterns and block them accordingly.
+
... |
pbio/source: double default drivebase acceleration
As acceleration, we take double the single motor amount, because
drivebases are usually expected to respond quickly to speed
setpoint changes, particularly when following lines. | @@ -16,13 +16,16 @@ static pbio_error_t drivebase_adopt_settings(pbio_control_settings_t *s_distance
// All rate/count acceleration limits add up, because distance state is two motors counts added
s_distance->max_rate = s_left->max_rate + s_right->max_rate;
- s_distance->abs_acceleration = s_left->abs_acceleration + s_... |
CODEOWNERS: add acrn-hypervisor Makefile owner | # Default/global reviewers (if not overridden later)
* @anthonyzxu @dongyaozu
+Makefile @binbinwu1
/hypervisor/ @anthonyzxu @dongyaozu
/devicemodel/ @anthonyzxu @ywan170
/doc/ @dbkinder @deb-intel @NanlinXie
|
config_tools: update configurator readme
update configurator readme | @@ -9,13 +9,14 @@ This version is based on Tauri, WIP.
- [x] Linux (.deb, AppImage)
- [x] Windows 7,8,10 (.exe, .msi)
-
## Setting Up
### 1. Install System Dependencies
-Please follow [this guide](https://tauri.studio/docs/getting-started/prerequisites)
-to install system dependencies **(including yarn)**.
+1. Please f... |
batchMetricCalcer test | @@ -803,6 +803,29 @@ def test_eval_metrics(loss_function):
assert np.all(first_metrics == second_metrics)
+@pytest.mark.parametrize('loss_function', ['Logloss', 'RMSE', 'QueryRMSE'])
+def test_eval_metrics_batch_calcer(loss_function):
+ metric = loss_function
+ if loss_function == 'QueryRMSE':
+ train, test, cd = QUERY... |
Changed iptest light resource to match bleprph_oic | @@ -321,19 +321,19 @@ net_cli(int argc, char **argv)
static void
app_get_light(oc_request_t *request, oc_interface_mask_t interface)
{
- bool state;
+ bool value;
if (hal_gpio_read(LED_BLINK_PIN)) {
- state = true;
+ value = true;
} else {
- state = false;
+ value = false;
}
oc_rep_start_root_object();
switch (interfac... |
chat: sort DMs by most recent, sort grouped by alphabetical | @@ -17,7 +17,30 @@ export class GroupItem extends Component {
let first = (props.index === 0) ? "pt1" : "pt4"
- let channelItems = channels.map((each, i) => {
+ let channelItems = channels.sort((a, b) => {
+ if (props.index === "/~/") {
+ let aPreview = props.messagePreviews[a];
+ let bPreview = props.messagePreviews[b... |
Clean up readinto. | @@ -365,7 +365,7 @@ const readln = {f
/* get at least delimiter count of characters */
match ensureread(f, 1)
| `std.Err `Eof:
- ret = readinto(f, ret, f.rend - f.rstart)
+ readinto(f, &ret, f.rend - f.rstart)
if ret.len > 0
-> `std.Ok ret
else
@@ -378,7 +378,7 @@ const readln = {f
for var i = f.rstart; i < f.rend; i++... |
test: additional resilience in the MSD tests + remove 2 tests from quick suite | @@ -151,7 +151,18 @@ class MassStorageTester(object):
def _check_data_correct(self, expected_data, _):
"""Return True if the actual data written matches the expected"""
data_len = len(expected_data)
+ for retry_count in range(self.RETRY_COUNT):
+ if retry_count > 0:
+ test_info.info('Previous attempts %s' % retry_count... |
prgenv/amd: Test eccodes_t_grib_bpv_limit fails | @@ -40,16 +40,17 @@ long grib_get_binary_scale_fact(double max, double min, long bpval, int* ret)
long scale = 0;
const long last = 127; /* Depends on edition, should be parameter */
unsigned long maxint = 0;
+ const size_t ulong_size = sizeof(maxint) * 8;
/* See ECC-246
unsigned long maxint = grib_power(bpval,2) - 1;
... |
add AKM defined PMKIDs to PMKIDs total | @@ -793,7 +793,6 @@ if(pmkiduselesscount > 0) fprintf(stdout, "PMKID (useless).....................
if(pmkidcount > 0) fprintf(stdout, "PMKID (total)............................: %ld\n", pmkidcount);
if(zeroedpmkidpskcount > 0) fprintf(stdout, "PMKID (from zeroed PSK)..................: %ld\n", zeroedpmkidpskcount);
if... |
out_azure_blob: updated crypto wrapper calls | @@ -32,7 +32,7 @@ static int hmac_sha256_sign(unsigned char out[32],
unsigned char *key, size_t key_len,
unsigned char *msg, size_t msg_len)
{
- return flb_hmac_simple(FLB_CRYPTO_SHA256,
+ return flb_hmac_simple(FLB_DIGEST_SHA256,
key, key_len,
msg, msg_len,
out, 32);
|
memcheck: suppress gpg-agent leak | obj:/usr/bin/gpg-agent
fun:(below main)
}
+{
+ gpg-agent
+ Memcheck:Leak
+ match-leak-kinds: reachable
+ fun:calloc
+ obj:/usr/bin/gpg-agent
+ obj:/usr/bin/gpg-agent
+ fun:(below main)
+}
{
PluginProcess child dies keyDup
Memcheck:Leak
|
docs: Add lutime | @@ -2590,6 +2590,22 @@ Equivalent to `futime(2)`.
**Returns (async version):** `uv_fs_t userdata`
+### `uv.fs_lutime(path, atime, mtime, [callback])`
+
+**Parameters:**
+- `path`: `string`
+- `atime`: `number`
+- `mtime`: `number`
+- `callback`: `callable` (async version) or `nil` (sync version)
+ - `err`: `nil` or `st... |
Tests: added delay before SIGQUIT in access_log partial tests.
This change is necessary to avoid race between
client connection close and Unit close.
Also "read_timeout" value decreased to speed up tests. | @@ -180,7 +180,9 @@ Connection: close
self.assertEqual(self.post()['status'], 200, 'init')
- resp = self.http(b"""GE""", raw=True, read_timeout=5)
+ resp = self.http(b"""GE""", raw=True, read_timeout=1)
+
+ time.sleep(1)
self.stop()
@@ -206,7 +208,9 @@ Connection: close
self.assertEqual(self.post()['status'], 200, 'ini... |
Removed instance variable from child class
As inheritance takes care of making the parent class methods accessible in child class, removed the instance variable from child class | /**
* inheritance.du
-*
*/
// Parent class - Animal
class Animal {
-
eating() {
print("Eating");
}
@@ -13,11 +11,6 @@ class Animal {
// Child class - Dog
class Dog < Animal {
-
- init() {
- this.eating = super.eating;
- }
-
bark() {
print("Barking");
}
@@ -25,11 +18,6 @@ class Dog < Animal {
// Child class - Cat
class ... |
viofs-svc: fix repoprted file allocation.
The blocks field is in 512 bytes blocks and not in blksize. | @@ -321,7 +321,7 @@ static VOID SetFileInfo(struct fuse_attr *attr, FSP_FSCTL_FILE_INFO *FileInfo)
{
FileInfo->FileAttributes = PosixUnixModeToAttributes(attr->mode);
FileInfo->ReparseTag = 0;
- FileInfo->AllocationSize = attr->blocks * attr->blksize;
+ FileInfo->AllocationSize = attr->blocks * 512;
FileInfo->FileSize ... |
tests CHANGE additional tests of refining actions/notifications from groupings | @@ -2275,6 +2275,7 @@ test_uses(void **state)
struct ly_ctx *ctx;
struct lys_module *mod;
const struct lysc_node *parent, *child;
+ const struct lysc_node_container *cont;
assert_int_equal(LY_SUCCESS, ly_ctx_new(NULL, LY_CTX_DISABLE_SEARCHDIRS, &ctx));
@@ -2338,6 +2339,26 @@ test_uses(void **state)
assert_non_null(chil... |
trusty: fix typo of comments
Remove TODO comments since it has been done below the comments.
Typo fix: startup_info --> startup_param.
Acked-by: Eddie Dong | @@ -304,8 +304,6 @@ static bool setup_trusty_info(struct vcpu *vcpu,
mem = (struct trusty_mem *)(HPA2HVA(mem_base_hpa));
- /* TODO: prepare vkey_info */
-
/* copy key_info to the first page of trusty memory */
memcpy_s(&mem->first_page.key_info, sizeof(g_key_info),
&g_key_info, sizeof(g_key_info));
@@ -327,7 +325,7 @@ ... |
test[platon]:modify g_platon_network_config | extern char g_platon_private_key_buf[1024];
extern BoatKeypairPriKeyCtx_config g_keypair_config;
-extern BoatVenachainNetworkConfig g_platon_network_config;
+extern BoatPlatONNetworkConfig g_platon_network_config;
extern BUINT8 g_binFormatKey[32];
\ No newline at end of file
|
Add missing getDirection binding; | @@ -442,6 +442,7 @@ static const luaL_Reg lovrHeadset[] = {
{ "getPose", l_lovrHeadsetGetPose },
{ "getPosition", l_lovrHeadsetGetPosition },
{ "getOrientation", l_lovrHeadsetGetOrientation },
+ { "getDirection", l_lovrHeadsetGetDirection },
{ "getVelocity", l_lovrHeadsetGetVelocity },
{ "getAngularVelocity", l_lovrHea... |
ecx_set_priv_key: Try to obtain libctx from the pkey's keymgmt
We can try to do that although for legacy keys the keymgmt
will not be set. This function will disappear with legacy support
removed. | #include "internal/deprecated.h"
#include <stdio.h>
-#include "internal/cryptlib.h"
#include <openssl/x509.h>
#include <openssl/ec.h>
#include <openssl/rand.h>
#include <openssl/core_names.h>
-#include "openssl/param_build.h"
+#include <openssl/param_build.h>
+#include "internal/cryptlib.h"
+#include "internal/provider... |
Add pci_get_class() and pci_get_subclass(). | #pragma once
+/* PCI config register */
#define PCIR_VENDOR 0x00
#define PCIR_DEVICE 0x02
+#define PCIR_SUBCLASS 0x0a
+#define PCIR_CLASS 0x0b
#define PCIR_MEMBASE0_2 0x1c
#define PCIR_MEMLIMIT0_2 0x20
#define PCIR_MEMBASE1_2 0x24
#define PCIR_IOBASEH_1 0x30
#define PCIR_IOLIMITH_1 0x32
+/* PCI device class */
+#define... |
Use up-to-date value of mv dir for bit cost calculations | @@ -1371,7 +1371,7 @@ static void search_pu_inter_ref(inter_search_info_t *info,
// Only check when candidates are different
uint8_t mv_ref_coded = LX_idx;
int cu_mv_cand = select_mv_cand(info->state, info->mv_cand, best_mv.x, best_mv.y, NULL);
- best_bits += cur_cu->inter.mv_dir - 1 + mv_ref_coded;
+ best_bits += ref_... |
OcAppleKernelLib: Implement support for macOS 10.4 for ProvideCurrentCpuInfo quirk | @@ -1361,7 +1361,13 @@ PatchProvideCurrentCpuInfo (
Status |= PatcherGetSymbolAddressValue (Patcher, "_tsc_init", (UINT8 **)&TscInitFunc, &TscInitFuncSymAddr);
Status |= PatcherGetSymbolAddress (Patcher, "_tmrCvt", (UINT8 **)&TmrCvtFunc);
+ //
+ // _busFreq only exists on 10.5 and higher.
+ //
+ if (OcMatchDarwinVersio... |
VERSION bump to version 0.11.1 | @@ -29,7 +29,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0")
# set version
set(LIBNETCONF2_MAJOR_VERSION 0)
set(LIBNETCONF2_MINOR_VERSION 11)
-set(LIBNETCONF2_MICRO_VERSION 0)
+set(LIBNETCONF2_MICRO_VERSION 1)
set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION})
set(LIB... |
tigertail: bugfix mux select
Don't clobber uart autodetect settings on detect.
BRANCH=None
TEST=ran on tigertail
Commit-Ready: Nick Sanders
Tested-by: Nick Sanders | @@ -260,7 +260,8 @@ void uart_sbu_tick(void)
if (debounce > 4) {
debounce = 0;
CPRINTS("UART autoenable\n");
- set_uart_state(state);
+ uart_state = state;
+ set_uart_gpios(state);
}
return;
}
@@ -272,7 +273,8 @@ void uart_sbu_tick(void)
if (debounce > 4) {
debounce = 0;
CPRINTS("UART autodisable\n");
- set_uart_state(... |
crypto: fix typo in testmod_crypt.c | @@ -281,7 +281,7 @@ static void test_gpg (void)
int main (int argc, char ** argv)
{
- printf ("CYPTO TESTS\n");
+ printf ("CRYPTO TESTS\n");
printf ("==================\n\n");
init (argc, argv);
|
Add an alignment test for the heapmem module. | * Nicolas Tsiftes <nicolas.tsiftes@ri.se>
*/
+#include <stdint.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -77,6 +78,13 @@ UNIT_TEST(do_many_allocations)
char *ptrs[TEST_CONCURRENT] = { NULL };
unsigned failed_allocations = 0;
unsigned failed_deallocations = 0;
+ unsigned misalignments = 0;
+ unsig... |
peview: Add symbol for entrypoint | @@ -1121,23 +1121,72 @@ VOID PvpSetPeImageEntropy(
PhQueueItemWorkQueue(PhGetGlobalWorkQueue(), PvpEntropyImageThreadStart, WindowHandle);
}
-VOID PvpSetPeImageEntryPoint(
- _In_ HWND ListViewHandle
+static NTSTATUS PvpEntryPointImageThreadStart(
+ _In_ PVOID Parameter
)
{
ULONG addressOfEntryPoint;
PPH_STRING string;
... |
Modify implementation to take advantage of browser | @@ -933,6 +933,7 @@ typedef struct {
#define DISPLAY_DIMM_ID_MAX_SIZE 2 //!< Number of possible Dimm Identifiers
#define DISPLAY_DIMM_ID_DEFAULT DISPLAY_DIMM_ID_HANDLE
+#define APP_DIRECT_SETTINGS_INDEX_DEFAULT 0
#define BMI_DEFAULT MODE_DISABLED //!< default setting for boot minimal init
|
Optimize the performance of msetnx command by call lookupkey only once
This is a small addition to
It improves performance by avoiding double lookup of the the key. | @@ -553,6 +553,7 @@ void mgetCommand(client *c) {
void msetGenericCommand(client *c, int nx) {
int j;
+ int setkey_flags = 0;
if ((c->argc % 2) == 0) {
addReplyErrorArity(c);
@@ -568,11 +569,12 @@ void msetGenericCommand(client *c, int nx) {
return;
}
}
+ setkey_flags |= SETKEY_DOESNT_EXIST;
}
for (j = 1; j < c->argc; ... |
Fix ticket logging bug | @@ -930,8 +930,9 @@ int quic_client(const char* ip_address_text, int server_port, const char * sni,
uint16_t ticket_length;
if (sni != NULL && 0 == picoquic_get_ticket(qclient->p_first_ticket, current_time, sni, (uint16_t)strlen(sni), alpn, (uint16_t)strlen(alpn), &ticket, &ticket_length, 0)) {
- fprintf(F_log, "Receiv... |
[core] fix HTTP/2 upload > 64k w/ max-request-size (fixes
fix HTTP/2 upload > 64k with server.max-request-size > 0
(regression present only in lighttpd 1.4.60)
(thx SM)
x-ref:
"File upload is broken after upgrade from 1.4.59 to 1.4.60" | @@ -1742,6 +1742,7 @@ h2_init_con (request_st * const restrict h2r, connection * const restrict con, c
con->read_idle_ts = log_monotonic_secs;
con->keep_alive_idle = h2r->conf.max_keep_alive_idle;
+ /*(h2r->h2_rwin must match value assigned in h2_init_stream())*/
h2r->h2_rwin = 65535; /* h2 connection recv window */
h2... |
sasuke : tune usb_eq on port 1
add function to tune usb_eq_rx
BRANCH=None
TEST=make -j BOARD=sasuke
update ec and check usb eq register | @@ -454,11 +454,13 @@ const struct tcpc_config_t tcpc_config[CONFIG_USB_PD_PORT_MAX_COUNT] = {
},
};
+static int tune_mux(const struct usb_mux *me);
const struct usb_mux usbc1_retimer = {
.usb_port = 1,
.i2c_port = I2C_PORT_SUB_USB_C1,
.i2c_addr_flags = NB7V904M_I2C_ADDR0,
.driver = &nb7v904m_usb_redriver_drv,
+ .board... |
Ensure non deleted resources are returned in getLight.. and getSensor.. methods
This also fixes rule resource re-indexing after delete and rejoin a device,
which required a deCONZ restart to work. | @@ -2375,7 +2375,7 @@ LightNode *DeRestPluginPrivate::getLightNodeForId(const QString &id)
{
for (i = nodes.begin(); i != end; ++i)
{
- if (i->id() == id)
+ if (i->id() == id && i->state() == LightNode::StateNormal)
{
return &*i;
}
@@ -2385,7 +2385,7 @@ LightNode *DeRestPluginPrivate::getLightNodeForId(const QString &i... |
addad chapter ioctl vs NETLINK | @@ -124,6 +124,12 @@ Requirements
If you decide to compile latest git head, make sure that your distribution is updated to latest version.
+ioctl() system calls versus NETLINK
+--------------
+* ioctl() system calls are purely synchronous and should be the first choice due to its immediacy and reliable delivery.
+* Net... |
Restore groupSize if (re)allocation of groupConnector fails | @@ -4832,8 +4832,10 @@ doProlog(XML_Parser parser,
if (prologState.level >= groupSize) {
if (groupSize) {
char *temp = (char *)REALLOC(groupConnector, groupSize *= 2);
- if (temp == NULL)
+ if (temp == NULL) {
+ groupSize /= 2;
return XML_ERROR_NO_MEMORY;
+ }
groupConnector = temp;
if (dtd->scaffIndex) {
int *temp = (i... |
kdb-set: fix documentation | @@ -18,7 +18,7 @@ To set a key to an empty value, `""` should be passed for the `value` argument.
## NEGATIVE VALUES
-To set a key to a negative value, `--` has to be used to stop option processing. (example below)
+To set a key to a negative value, `--` has to be used to stop option processing. (see example below)
## ... |
out_pgsql: Fix typo specefied | @@ -209,7 +209,7 @@ static int cb_pgsql_init(struct flb_output_instance *ins,
return -1;
}
- /* Maybe use the timestamp with the TZ specefied */
+ /* Maybe use the timestamp with the TZ specified */
/* in the postgresql connection? */
snprintf(query, str_len,
"CREATE TABLE IF NOT EXISTS %s "
|
cirrus: add -Db_lundef=false to sanitizer buld | @@ -17,7 +17,7 @@ task:
- apt-get install -y ninja-build ninja-build python3-pip python3-setuptools python3-wheel gcovr clang
- pip3 install meson
configure_script:
- - /usr/local/bin/meson setup build -Db_coverage=true -Db_sanitize=address,undefined
+ - /usr/local/bin/meson setup build -Db_coverage=true -Db_sanitize=a... |
arvo: revive |start | |= $: [now=@da eny=@uvJ bec=beak]
[arg=[@ $@(~ [@ ~])] ~]
==
-:- %drum-start
+=/ [des=@tas dap=@tas]
?> ((sane %tas) -.arg)
?@ +.arg [q.bec -.arg]
?> ((sane %tas) +<.arg)
[-.arg +<.arg]
+[%kiln-rein des & [dap ~ ~] ~]
|
Fix LibreSSL build issue
LibreSSL forked from 1.0.1f, this 1.0.2 method is unavailable | @@ -651,7 +651,7 @@ mongoc_stream_tls_openssl_new (mongoc_stream_t *base_stream,
RETURN (NULL);
}
-#if OPENSSL_VERSION_NUMBER >= 0x10002000L
+#if OPENSSL_VERSION_NUMBER >= 0x10002000L && !defined(LIBRESSL_VERSION_NUMBER)
if (!opt->allow_invalid_hostname) {
struct in_addr addr;
X509_VERIFY_PARAM *param = X509_VERIFY_PAR... |
fix and optimise Variable Set to Value causing Nan / Null if no value
If value greater than 1 use value, if 1 cmd set true, if 0 or no value, cmd set false.
would be nan if no value (now that data is checked). | @@ -16,6 +16,14 @@ export const fields = [
];
export const compile = (input, helpers) => {
+ if (input.value > 1) {
const { variableSetToValue } = helpers;
variableSetToValue(input.variable, input.value);
+ }else if (input.value == 1) {
+ const { variableSetToTrue } = helpers;
+ variableSetToTrue(input.variable);
+ }el... |
fcm: fixing maven deps | @@ -6,12 +6,8 @@ android:
- ext/android/ApplicationManifestAdds.erb
library_deps: [extras/google/google_play_services/libproject/google-play-services_lib]
source_list: ext/android/ext_java.files
- maven_deps: ['com.android.support:appcompat-v7:25.2.0']
- maven_deps: ['com.google.android.gms:play-services:11.0.2']
- mav... |
Travis: Allow job LINUX64_MUSL USE_OPENMP=1 to fail
See: | @@ -87,7 +87,10 @@ jobs:
- TARGET_BOX=LINUX64_MUSL
- BTYPE="BINARY=64"
- - <<: *test-alpine
+ # XXX: This job segfaults in TESTS OF THE COMPLEX LEVEL 3 BLAS,
+ # so it's "allowed to fail" for now (see allow_failures).
+ - &test-alpine-openmp
+ <<: *test-alpine
env:
- TARGET_BOX=LINUX64_MUSL
- BTYPE="BINARY=64 USE_OPENM... |
input: do not show password title while confirming empty passw. | @@ -142,8 +142,9 @@ static void _render(component_t* component)
data_t* data = (data_t*)component->data;
bool confirm_gesture_active =
data->can_confirm && data->longtouch && confirm_gesture_is_active(data->confirm_component);
- bool show_title =
- data->string_index == 0 && !trinary_input_char_in_progress(data->trinar... |
Fix World:update; | @@ -85,6 +85,10 @@ void lovrWorldDestroyData(World* world) {
}
void lovrWorldUpdate(World* world, float dt, CollisionResolver resolver, void* userdata) {
+ if (dt == 0.) {
+ return;
+ }
+
if (resolver) {
resolver(world, userdata);
} else {
|
Move newline generation in help
If we removed the shortcuts intro, we would not need the additional '\n'
of the section title, so it should be printed along with the shortcuts
intro. | @@ -776,7 +776,7 @@ print_shortcuts_intro(unsigned cols) {
return;
}
- printf("%s\n", intro);
+ printf("\n%s\n", intro);
free(intro);
}
@@ -831,7 +831,7 @@ scrcpy_print_usage(const char *arg0) {
}
// Print shortcuts section
- printf("\nShortcuts:\n\n");
+ printf("\nShortcuts:\n");
print_shortcuts_intro(cols);
for (size... |
Updater: Fix missing changelog | @@ -62,7 +62,7 @@ VOID ShowProgressDialog(
memset(&config, 0, sizeof(TASKDIALOGCONFIG));
config.cbSize = sizeof(TASKDIALOGCONFIG);
- config.dwFlags = TDF_USE_HICON_MAIN | TDF_ALLOW_DIALOG_CANCELLATION | TDF_CAN_BE_MINIMIZED | TDF_ENABLE_HYPERLINKS | TDF_SHOW_PROGRESS_BAR;
+ config.dwFlags = TDF_USE_HICON_MAIN | TDF_ALL... |
OCC: Increase max pstate check on P9 to 255
This has changed from P8, we can now have > 127 pstates.
This was observed on Boston during WoF bringup.
Reported-by: Minda Wei
Reported-by: Francesco A Campisano | @@ -612,13 +612,15 @@ static bool add_cpu_pstate_properties(int *pstate_nom)
nr_pstates = labs(pmax - pmin) + 1;
prlog(PR_DEBUG, "OCC: Version %x Min %d Nom %d Max %d Nr States %d\n",
occ_data->version, pmin, pnom, pmax, nr_pstates);
- if (nr_pstates <= 1 || nr_pstates > 128) {
+ if ((occ_data->version == 0x90 && (nr_p... |
Ensure we have a valid fname_as_vhost before making a copy of it. | @@ -1798,7 +1798,7 @@ pre_process_log (GLog * glog, char *line, int dry_run) {
else
ret = parse_format (logitem, line, fmt);
- if (!glog->piping && conf.fname_as_vhost)
+ if (!glog->piping && conf.fname_as_vhost && glog->fname_as_vhost)
logitem->vhost = xstrdup(glog->fname_as_vhost);
if (ret || (ret = verify_missing_fi... |
Add test-java to CI. | @@ -289,6 +289,40 @@ jobs:
path: ${{runner.workspace}}/${{github.event.repository.name}}/tools/ci/tinyspline/
if-no-files-found: error
+ test-java:
+ needs: [package]
+ runs-on: ${{ matrix.os }}
+ strategy:
+ matrix:
+ os: [ubuntu-latest, windows-latest]
+ java: ["11", "17"]
+
+ steps:
+ - uses: actions/checkout@v2
+ -... |
os/arch: remove dependancy between DDR and ARCH_BOARD_CY4390X
Any board can use DDR, this is not specific to Cypress board. | @@ -738,14 +738,15 @@ config RAM_SIZE
config DDR
bool "Use DDR memory"
default n
- depends on ARCH_CHIP_BCM4390X
+ ---help---
+ If the board uses external DDR RAM memory, enable this.
config RAM_DDR_START
hex "DDR RAM start address"
default 0x0
depends on DDR
---help---
- If the board using external DDR RAM memory, you... |
commander_btc: enforce next BTCRequest/* call
So that during a signing session, no other unrelated api calls can be
made. | @@ -184,6 +184,9 @@ commander_error_t commander_btc_pub(const BTCPubRequest* request, PubResponse* r
}
}
+// like commander_states, but for requests nested in BTCRequest.
+static commander_states_endpoint_id _force_next = 0;
+
static void _handle_sign_next(const BTCSignNextResponse* next)
{
switch (next->type) {
@@ -19... |
[kernel/schedule] fix the time slice issue | @@ -683,8 +683,19 @@ void rt_schedule_insert_thread(struct rt_thread *thread)
#endif /* RT_THREAD_PRIORITY_MAX > 32 */
rt_thread_ready_priority_group |= thread->number_mask;
+ /* there is no time slices left(YIELD), inserting thread before ready list*/
+ if((thread->stat & RT_THREAD_STAT_YIELD_MASK) != 0)
+ {
rt_list_i... |
Disable HS USB for nrf52840
The nrf52840 does not support high speed USB so this patch disables it. | // <o0.0> High-speed
// <i> Enable high-speed functionality (if device supports it)
-#define USBD_HS_ENABLE 1
+#define USBD_HS_ENABLE 0
#if (defined(WEBUSB_INTERFACE) || defined(WINUSB_INTERFACE) || defined(BULK_ENDPOINT))
#define USBD_BOS_ENABLE 1
#else
#define USBD_HID_EP_INTIN_STACK 0
#define USBD_HID_WMAXPACKETSIZE... |
Improve CLR exit | @@ -637,7 +637,8 @@ void ClrStartup(CLR_SETTINGS params)
}
else
{
- CPU_Reset();
+ // equivalent to CPU_Reset();
+ break;
}
}
|
board/beadrix/board.h: Format with clang-format
BRANCH=none
TEST=none
Tricium: disable | #define CONFIG_CHARGE_RAMP_HW
#undef CONFIG_CHARGER_SINGLE_CHIP
#define CONFIG_OCPC
-#define CONFIG_OCPC_DEF_RBATT_MOHMS 22 /* R_DS(on) 11.6mOhm + 10mOhm sns rstr \
+#define CONFIG_OCPC_DEF_RBATT_MOHMS \
+ 22 /* R_DS(on) 11.6mOhm + 10mOhm sns rstr \
*/
/*
|
contact-push-hook: add blank personal psuedo-resource for personal contact subscriptions | :: if the ship is in any group that I am pushing updates for, push
:: it out to that resource.
::
+ =/ rids
%+ skim ~(tap in scry-sharing)
|= r=resource:res
(is-member:grp s r)
+ ?. =(s our.bowl)
+ rids
+ (snoc rids [our.bowl %''])
::
++ scry-sharing
.^ (set resource:res)
++ rolo
^- rolodex:store
=/ ugroup (scry-group:... |
zephyr: flash: change flash_lock to use K_MUTEX_DEFINE
Switch this Zephyr-only code to use K_MUTEX_DEFINE, removing the
requirement to initialize this mutex at runtime.
BRANCH=none
TEST=zmake testall | @@ -30,15 +30,7 @@ static uint8_t saved_sr2;
#define CMD_READ_STATUS_REG 0x05
#define CMD_READ_STATUS_REG2 0x35
-static mutex_t flash_lock;
-static int init_flash_mutex(const struct device *dev)
-{
- ARG_UNUSED(dev);
-
- k_mutex_init(&flash_lock);
- return 0;
-}
-SYS_INIT(init_flash_mutex, POST_KERNEL, 50);
+K_MUTEX_DE... |
fix display converter | @@ -53,6 +53,20 @@ pbc.initIgnoreS = function(){
}
pbc.initModuleAttrD = function(){
+ for (var i = 0; i < profile.default.builtinimg.length; i++) {
+ pbc.moduleAttrD.get('Image')[profile.default.builtinimg[i][0]] = function (node, module, attr) {
+ return block("pins_builtinimg", node.lineno, {
+ "PIN": module + "." +... |
apps/wifi_manager_sample/wm_test : Change strcat to strncat
1) WID:10637402 Use of vulnerable function 'strcat' at wm_test.c:366. This function is unsafe, use strncat instead.
2) Revert partial of about unreachable code | @@ -357,14 +357,14 @@ static void print_wifi_ap_profile(wifi_manager_ap_config_s *config, char *title)
if (config->ap_auth_type == WIFI_MANAGER_AUTH_UNKNOWN || config->ap_crypto_type == WIFI_MANAGER_CRYPTO_UNKNOWN) {
printf("[WT] SECURITY: unknown\n");
} else {
- char security_type[20] = {0,};
+ char security_type[21] ... |
fix randomseed bug
put randomseed into setup default | @@ -169,8 +169,8 @@ Blockly.Arduino.math_max_min = function() {
Blockly.Arduino.math_random_seed = function () {
// Random integer between [X] and [Y].
var a = Blockly.Arduino.valueToCode(this, 'NUM',Blockly.Arduino.ORDER_NONE) || '0';
- var code = 'randomSeed(' + a + ');'+'\n';
- return code;
+ Blockly.Arduino.setups_... |
OpenXR: More robust graphics plugin; | @@ -171,13 +171,13 @@ static bool openxr_init(float offset, uint32_t msaa) {
{ // Session
XrSessionCreateInfo info = {
.type = XR_TYPE_SESSION_CREATE_INFO,
-#if defined(_WIN32)
+#if defined(_WIN32) && defined(LOVR_GL)
.next = &(XrGraphicsBindingOpenGLWin32KHR) {
.type = XR_TYPE_GRAPHICS_BINDING_OPENGL_WIN32_KHR,
.hDC =... |
Prevent using uninitialized memory | @@ -1759,7 +1759,10 @@ static void search_pu_inter(encoder_state_t * const state,
kvz_sort_keys_by_cost(&amvp[0]);
kvz_sort_keys_by_cost(&amvp[1]);
- int best_keys[2] = { amvp[0].keys[0], amvp[1].keys[0] };
+ int best_keys[2] = {
+ amvp[0].size > 0 ? amvp[0].keys[0] : 0,
+ amvp[1].size > 0 ? amvp[1].keys[0] : 0
+ };
cu... |
RTX5: moved "weak" attribute to function definition (issue | @@ -434,9 +434,8 @@ extern const uint8_t *irqRtxLibRef;
const uint8_t *irqRtxLibRef = &irqRtxLib;
// Default User SVC Table
-__WEAK
extern void * const osRtxUserSVC[];
- void * const osRtxUserSVC[1] = { (void *)0 };
+__WEAK void * const osRtxUserSVC[1] = { (void *)0 };
// OS Sections
@@ -511,18 +510,16 @@ const uint32_... |
Fix typo in crlf.c | @@ -190,7 +190,7 @@ static ssize_t crlf_mrecvl(struct msock_vfs *mvfs,
c1 = c2;
/* c2 <- socket */
int rc = obj->uvfs->brecvl(obj->uvfs, &iol, &iol, deadline);
- if(dill_slow(rc < 0)) {obj->inerr = -1; return -1;}
+ if(dill_slow(rc < 0)) {obj->inerr = 1; return -1;}
++recvd;
if(c1 == '\r' && c2 == '\n') break;
}
|
Don't add pointers with uncertain lifetimes into long lived stat cache hash table | @@ -25,9 +25,7 @@ void StatCacheDestroy(StatCache* self)
static void StatCacheInsert(StatCache* self, uint32_t hash, const char* path, const FileInfo& info)
{
ReadWriteLockWrite(&self->m_HashLock);
-
- HashTableInsert(&self->m_Files, hash, path, info);
-
+ HashTableInsert(&self->m_Files, hash, StrDup(self->m_Allocator,... |
king: fix bug Show Ipv4 | @@ -172,9 +172,9 @@ newtype Ipv4 = Ipv4 { unIpv4 :: Word32 }
instance Show Ipv4 where
show (Ipv4 i) =
- show ((shiftL i 24) .&. 0xff) ++ "." ++
- show ((shiftL i 16) .&. 0xff) ++ "." ++
- show ((shiftL i 8) .&. 0xff) ++ "." ++
+ show ((shiftR i 24) .&. 0xff) ++ "." ++
+ show ((shiftR i 16) .&. 0xff) ++ "." ++
+ show ((... |
cloud: reset lists of published resources on stop
Do not destroy the list of published resources, but move the
resources into the to-be-published list when oc_cloud_manager_stop
is invoked. | @@ -365,7 +365,7 @@ oc_cloud_manager_stop(oc_cloud_context_t *ctx)
#endif /* OC_SESSION_EVENTS */
oc_remove_delayed_callback(ctx, restart_manager);
oc_remove_delayed_callback(ctx, start_manager);
- cloud_rd_deinit(ctx);
+ cloud_rd_reset_context(ctx);
cloud_manager_stop(ctx);
cloud_store_initialize(&ctx->store);
cloud_c... |
unified: harden crsf protocol detection | @@ -346,7 +346,9 @@ void rx_serial_find_protocol(void) {
}
break;
case RX_SERIAL_PROTOCOL_CRSF:
- if (rx_buffer[0] == 0xC8) {
+ if (rx_buffer[0] == 0xC8 &&
+ rx_buffer[1] <= 64 &&
+ (rx_buffer[2] == 0x16 || rx_buffer[2] == 0x14)) {
rx_serial_protocol = protocol_to_check;
}
break;
@@ -362,6 +364,10 @@ void rx_serial_fin... |
out OPTIMIZE realloc for LY_OUT_MEMORY | #include "tree_data.h"
#include "tree_schema.h"
+/**
+ * @brief Align the desired size to 1 KB.
+ */
+#define REALLOC_CHUNK(NEW_SIZE) \
+ NEW_SIZE + (1024 - (NEW_SIZE % 1024))
+
ly_bool
ly_should_print(const struct lyd_node *node, uint32_t options)
{
@@ -534,7 +540,7 @@ LY_ERR
ly_write_(struct ly_out *out, const char *... |
ixfr-out, limit IXFR packets to the compression bounds of 16k. | @@ -144,7 +144,7 @@ static void pktcompression_insert(struct pktcompression* pcomp, uint8_t* dname,
struct rrcompress_entry* entry;
if(len > 65535)
return;
- if(offset > 16384)
+ if(offset > MAX_COMPRESSION_OFFSET)
return; /* too far for a compression pointer */
entry = pktcompression_alloc(pcomp, sizeof(*entry));
if(!... |
gall: no-op on %slay,%idle for missing agent | ++ mo-fade
|= [dap=term style=?(%slay %idle %jolt)]
^+ mo-core
- =/ =routes [disclosing=~ attributing=our]
- =/ app (ap-abed:ap dap routes)
+ ?. |(=(%jolt style) (~(has by yokes.state) dap))
+ mo-core
+ =/ app
+ ~_ leaf/"gall: fade {<style>} missing agent {<dap>}"
+ (ap-abed:ap dap `routes`[disclosing=~ attributing=our... |
include/gpio_list.h: Format with clang-format
BRANCH=none
TEST=none | @@ -64,7 +64,8 @@ const int gpio_ih_count = ARRAY_SIZE(gpio_irq_handlers);
* The compiler will complain if we use the same name twice. The linker ignores
* anything that gets by.
*/
-#define PIN(a, b...) static const int _pin_ ## a ## _ ## b \
+#define PIN(a, b...) \
+ static const int _pin_##a##_##b \
__attribute__((u... |
Sockeye TN: Update info about node types | @@ -271,12 +271,14 @@ The overlay will span addresses from \texttt{0x0} to \(\texttt{0x2}^\texttt{bits
\end{syntax}
\subsection{Node Type}
-Currently there are two types: \Sockeye{device} and \Sockeye{memory}. A third internal type \Sockeye{other} is given to nodes for which no type is specified.
-The \Sockeye{device} ... |
Actually add the message to the TLS section | @@ -1291,7 +1291,12 @@ UNLOCK_COMMAND(&alloc_lock);
return (void *)(((char *)alloc_info) + sizeof(struct alloc_t));
error:
- printf("OpenBLAS : Program will terminate because you tried to allocate too many memory regions.\n");
+ printf("OpenBLAS : Program will terminate because you tried to allocate too many TLS memory... |
vere: skip disk cleanup if commit thread cannot be canceled | @@ -689,18 +689,14 @@ u3_disk_exit(u3_disk* log_u)
}
}
- // cancel write thread
+ // try to cancel write thread
+ // shortcircuit cleanup if we cannot
//
- // XX can deadlock when called from signal handler
- // XX revise SIGTSTP handling
- //
- if ( c3y == log_u->ted_o ) {
- c3_i sas_i;
-
- do {
- sas_i = uv_cancel(&l... |
ipc/tree: populate `focus` fields
Ids of children, by order of focus | @@ -454,21 +454,50 @@ json_object *ipc_json_describe_container_recursive(swayc_t *c) {
int i;
json_object *floating = json_object_new_array();
- if (c->type != C_VIEW && c->floating && c->floating->length > 0) {
+ if (c->type != C_VIEW && c->floating) {
for (i = 0; i < c->floating->length; ++i) {
- json_object_array_ad... |
Cleanup port macro flag names | @@ -140,9 +140,9 @@ static inline void oper_move_relative_or_explode(Gbuffer gbuf, Mbuffer mbuf,
if (!oper_has_neighboring_bang(gbuffer, height, width, y, x)) \
return
-#define PORT_LOCKED Mark_flag_lock
-#define PORT_UNLOCKED Mark_flag_none
-#define PORT_HASTE Mark_flag_haste_input
+#define LOCKING Mark_flag_lock
+#de... |
Cleanup draw naming | @@ -161,7 +161,7 @@ void tui_cursor_move_relative(Tui_cursor* tc, Usz field_h, Usz field_w,
tc->x = (Usz)x0;
}
-void draw_tui_cursor(WINDOW* win, Glyph const* gbuffer, Usz field_h,
+void tdraw_tui_cursor(WINDOW* win, Glyph const* gbuffer, Usz field_h,
Usz field_w, Usz ruler_spacing_y, Usz ruler_spacing_x,
Usz cursor_y,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.