message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Fix font size on Splash page Open button | @@ -168,6 +168,7 @@ export const SplashOpenButton = styled(Button).attrs(() => ({
variant: "transparent",
}))`
color: ${(props) => props.theme.colors.text};
+ font-size: 13px;
justify-content: flex-start;
padding: 5px;
margin: 15px;
|
Fix missing `close` packet to be sent after user's `on_shutdown` callback | @@ -214,7 +214,7 @@ The Websocket Protocol implementation
static void ws_ping(intptr_t fd, protocol_s *ws) {
(void)(ws);
if (((ws_s *)ws)->is_client) {
- sock_write2(.uuid = fd, .buffer = "\x89\x80mask", .length = 6,
+ sock_write2(.uuid = fd, .buffer = "\x89\x80MASK", .length = 6,
.dealloc = SOCK_DEALLOC_NOOP);
} else ... |
lv_app_wifi: buffer and resend last message | @@ -33,6 +33,8 @@ typedef struct
char set_pwd[64];
char set_ip[32];
char set_port[16];
+ uint8_t * last_msg_dp;
+ uint16_t last_msg_size;
}my_app_data_t;
/*Application specific data a window of this application*/
@@ -151,6 +153,8 @@ static void my_app_run(lv_app_inst_t * app, void * conf)
strcpy(adata->set_pwd, LV_APP_... |
tool: acrn-manager: do not wakeup SOS in advance
There is no need to wakeup SOS in advance since UOS wakeup time is
not required to be that exact.
Acked-by: Yin Fengwei | @@ -263,7 +263,6 @@ static int active_all_vms(void)
#define SOS_LCS_SOCK "sos-lcs"
#define DEFAULT_TIMEOUT 2U
-#define SOS_ADVANCE_WKUP 10U /* WKUP SOS 10 sec in advance */
#define ACRND_NAME "acrnd"
static int acrnd_fd = -1;
@@ -393,8 +392,6 @@ static int store_timer_list(void)
/* If any timer is stored
* system must ... |
Remove unnecessary call to strlen(3) from temporary_buffer_equals() | @@ -375,22 +375,20 @@ static void append_char_to_temporary_buffer (
}
#ifndef NDEBUG
-// Checks to see if the temporary buffer equals a certain string.
-// Make sure this remains side-effect free; it's used in assertions.
-static bool temporary_buffer_equals (
+static bool temporary_buffer_equals__ (
const GumboParser*... |
SOVERSION bump to version 4.0.7 | @@ -35,7 +35,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 4)
set(SYSREPO_MINOR_SOVERSION 0)
-set(SYSREPO_MICRO_SOVERSION 6)
+set(SYSREPO_MICRO_SO... |
parse_keyval_string: Check number of tokens | @@ -1909,12 +1909,14 @@ static void set_value(grib_values* value, char* str, int equal)
'arg' The string to be parsed e.g. key1=value1,key2!=value2 etc
'values_required' If true then each key must have a value after it
'default_type' The default type e.g. GRIB_TYPE_UNDEFINED or GRIB_TYPE_DOUBLE
- 'values' The array we ... |
Switch fexists to use os/stat when available.
When os/stat is not available, we first
try to read one byte from the file before
saying it is good. If that fails, it is not
a file that we can read from so it counts as not found. | on Windows is C:/Janet/Library."
(or (process/opts "JANET_PATH") ""))
-(defn- fexists [path]
- (def f (file/open path :r+))
- (if f (do (file/close f) path)))
+# Version of fexisst that works even with a reduced OS
+(if-let [has-stat (_env 'os/stat)]
+ (let [stat (has-stat :value)]
+ (defglobal "fexists" (fn fexists [p... |
Don't compile when e2e testing | @@ -27,9 +27,6 @@ jobs:
- name: Install yarn
run: |
npm install -g yarn
- - name: Build Ledger app
- run: |
- make DEBUG=1 ALLOW_DATA=1
- name: Build/Install build js deps
run: |
make zemu_install
|
WOrk CI-CD
Add task to set repo name and version for WIN32 CLR. | # set 'ForceUpload' variable to true on target matrix
steps:
+ - task: PowerShell@2
+ inputs:
+ targetType: 'inline'
+ script: |
+ $repoName = $env:Build_Repository_Name
+ $branchName = $env:Build_SourceBranchName
+
+ Write-Host "repo name is: $repoName"
+ Write-Host "branch name is: $branchName"
+
+ if( $env:Build_Sou... |
ci: allow wildcard in known failure cases | @@ -25,6 +25,7 @@ import argparse
import os
import sys
import threading
+from fnmatch import fnmatch
from tiny_test_fw.TinyFW import JunitReport, set_default_config
from tiny_test_fw.Utility import CaseConfig, SearchCases, console_log
@@ -69,12 +70,21 @@ class Runner(threading.Thread):
for case in self.test_cases:
case... |
fix double free when not using -G with picoquicdemo | @@ -1178,7 +1178,9 @@ int quic_client(const char* ip_address_text, int server_port, const char * sni,
{
fprintf(F_log, "All done, Closing the connection.\n");
}
+ if (get_size > 0) {
free((void *)callback_ctx.demo_stream);
+ }
ret = picoquic_close(cnx_client, 0);
} else if (
picoquic_current_time() > callback_ctx.last_... |
Missing code for Radio Text scaling (Fixes) | @@ -865,6 +865,8 @@ DWORD WINAPI Init(LPVOID bDelay)
auto pattern = hook::pattern("D8 0D ? ? ? ? D8 0D ? ? ? ? D9 1C 24 E8 ? ? ? ? 59 59 E8 ? ? ? ? 6A 01 E8"); //0x5FA15B radio text
injector::WriteMemory(pattern.count(1).get(0).get<uint32_t>(2), &fCustomWideScreenWidthScaleDown, true);
injector::WriteMemory(pattern.cou... |
Update curl from 7.63.0 to 7.66.0, enable nghttp2 except on Windows.
Note: mandatory check (NEED_CHECK) was skipped | - source_filter: "^contrib/libs/curl"
includes:
+ - http.h: contrib/libs/curl/lib/http.h
+ - inet_ntop.h: contrib/libs/curl/lib/inet_ntop.h
- share.h: contrib/libs/curl/lib/share.h
- - libssh2.h
- - libssh2_sftp.h
- - nghttp2/nghttp2.h
- source_filter: "^contrib/libs/gdal"
includes:
|
Remove deprecated key codes from bat43 keymap | bindings = <
&kp ESC &kp Q &kp W &kp E &kp R &kp T &kp Y &kp U &kp I &kp O &kp P &kp MINUS
&kp TAB &kp A &kp S &kp D &kp F &kp G &kp BSPC &kp H &kp J &kp K &kp L &kp SEMI &kp RSHFT
-&kp LCTL &kp Z &kp X &kp C &kp V &kp B &kp N &kp M &kp COMMA &kp DOT &kp FSLH &kp RCTL
+&kp LCTRL &kp Z &kp X &kp C &kp V &kp B &kp N &kp ... |
increase timegap for raw handshake also for hccap and john output | @@ -781,7 +781,7 @@ if((rawhandshakeliste != NULL) && (hccaprawoutname != NULL))
zeiger = rawhandshakeliste;
for(c = 0; c < rawhandshakecount; c++)
{
- if((zeiger->tv_diff <= maxtvdiff) && (zeiger->rc_diff <= maxrcdiff))
+ if((zeiger->tv_diff <= maxtvdiff *10000) && (zeiger->rc_diff <= maxrcdiff))
{
writehccaprecord(ze... |
hv:use copy of guest's memory block in 'hcall_set_vm_memory_regions()'
to avoid passing guest's memory block into hypervisor internal
process for security.
Acked-by: Eddie Dong | @@ -581,7 +581,7 @@ static int32_t set_vm_memory_region(struct acrn_vm *vm,
int32_t hcall_set_vm_memory_regions(struct acrn_vm *vm, uint64_t param)
{
struct set_regions set_regions;
- struct vm_memory_region *regions;
+ struct vm_memory_region region;
struct acrn_vm *target_vm;
uint32_t idx;
@@ -604,13 +604,17 @@ int32... |
linux-raspberrypi: Update to tag 'raspberrypi-kernel_1.20170811-1' | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"
-LINUX_VERSION ?= "4.9.35"
+LINUX_VERSION ?= "4.9.41"
-SRCREV = "be2540e540f5442d7b372208787fb64100af0c54"
+SRCREV = "4153f509b449f1c1c816cf124c314975c3daa824"
SRC_URI = "git://github.com/raspberrypi/linux.git;branch=rpi-4.9.y"
require linux-raspberrypi.inc
|
input: seat: Fix seat device list not initialised before use
When being created, non first seats would get through the list of devices
without the list being first initialised -> segfault.
Issue introduced with
Fixes Crash when reloading Sway with multiple seats configured | @@ -494,6 +494,8 @@ struct sway_seat *seat_create(const char *seat_name) {
// init the focus stack
wl_list_init(&seat->focus_stack);
+ wl_list_init(&seat->devices);
+
root_for_each_workspace(collect_focus_workspace_iter, seat);
root_for_each_container(collect_focus_container_iter, seat);
@@ -526,7 +528,6 @@ struct sway... |
Rust: Remove links to crates.io that cause a 404 | @@ -147,7 +147,7 @@ you up to date with the multi-language support provided by Elektra.
- Add the `elektra-sys` crate which contains raw bindings to libelektra for Rust. _(Philipp Gackstatter)_
- Add the `elektra` crate which contains safe wrapper methods for the raw bindings. The crate contains bindings for the low-le... |
firdes/autotest: adding test for create_firdespm() | @@ -40,6 +40,23 @@ void autotest_firfilt_crcf_kaiser()
firfilt_crcf_destroy(q);
}
+void autotest_firfilt_crcf_firdespm()
+{
+ // design filter
+ firfilt_crcf q = firfilt_crcf_create_firdespm(51, 0.2f, 60.0f);
+ firfilt_crcf_set_scale(q, 0.4f);
+
+ // verify resulting spectrum
+ autotest_psd_s regions[] = {
+ {.fmin=-0.... |
[agx] Bugfix area_excluding_rect | @@ -548,7 +548,7 @@ impl Rect {
//println!("bottom edge {trimmed_area} overlap {bottom_overlap}");
out.push(Rect::from_parts(
trimmed_area.origin,
- Size::new(trimmed_area.width(), trimmed_area.height() - bottom_overlap),
+ Size::new(trimmed_area.width(), bottom_overlap),
));
trimmed_area.size.height -= bottom_overlap;... |
Test for specific error from XML_UseForeignDTD() | @@ -1908,7 +1908,8 @@ START_TEST(test_set_foreign_dtd)
/* Ensure that trying to set the DTD after parsing has started
* is faulted, even if it's the same setting.
*/
- if (XML_UseForeignDTD(parser, XML_TRUE) == XML_ERROR_NONE)
+ if (XML_UseForeignDTD(parser, XML_TRUE) !=
+ XML_ERROR_CANT_CHANGE_FEATURE_ONCE_PARSING)
fa... |
Work CI-CD
Fix search for board config files of community targets.
***NO_CI*** | @@ -351,9 +351,33 @@ else()
# set flag for this being a community board
set(CHIBIOS_COMMUNITY_TARGET TRUE CACHE INTERNAL "Community target flag")
+
+ # check if the board definition files are available at the target folder
+ if( EXISTS ${CMAKE_SOURCE_DIR}/targets-community/ChibiOS/${TARGET_BOARD}/board.c AND
+ EXISTS $... |
I changed use of 'snprintf' to our 'SNPRINTF' macro so things compile on Windows | @@ -513,7 +513,7 @@ AddGroupings(avtDatabaseMetaData *md, vtkDataSet *ds, char const *meshname,
/* Define X windows #RRGGBB color string format */
char tmp[16];
- snprintf(tmp, sizeof(tmp), "#%02X%02X%02X", (int) (rgb[0]*255), (int) (rgb[1]*255),
+ SNPRINTF(tmp, sizeof(tmp), "#%02X%02X%02X", (int) (rgb[0]*255), (int) (... |
fix atomic issue for c11. | @@ -58,7 +58,7 @@ struct block_internal {
};
struct block_internal *link[MAX_LINKS];
struct block_backrefs *backrefs;
- char *remark;
+ atomic_uintptr_t remark;
uint16_t flags, in_mask, n_our_key;
uint8_t nlinks:4, max_diff_link:4, reserved;
};
@@ -1995,8 +1995,8 @@ static int add_remark_bi(struct block_internal* bi, x... |
Fixed Linux compiler warnings caused by previous commit | @@ -1061,9 +1061,9 @@ bool CChar::NPC_LookAtItem(CItem *pItem)
{
CScriptTriggerArgs Args(iDist, iWantThisItem, pItem);
TRIGRET_TYPE tr = OnTrigger(CTRIG_NPCLookAtItem, this, &Args);
- if ( tr = TRIGRET_RET_TRUE )
+ if ( tr == TRIGRET_RET_TRUE )
return true;
- if ( tr = TRIGRET_RET_FALSE )
+ else if ( tr == TRIGRET_RET_... |
restructure test script to be flatter
/ more like build-pill | -require! \stream-snitch
+require! <[ stream-snitch once ]>
pty = require \pty.js
urbit =
@@ -6,27 +6,26 @@ urbit =
pty.spawn 'urbit' <[-B urbit.pill -A .. -cFI zod zod]>
.on \data -> process.stdout.write it
+console.log "FIXME Running Ubuntu 14.04, which causes a libtinfo version info warning. Should update to 16.04.\... |
unix/Makefile: Disable stack protector, unwind tables.
Add following options by default to CFLAGS: -fno-stack-protector
fno-unwind-tables -fno-asynchronous-unwind-tables.
This saves ~80K of the executable size and parallels similar changes
done to "minimal" port. | @@ -56,6 +56,16 @@ COPT = -Os -fdata-sections -ffunction-sections -DNDEBUG
#
# Turning off _FORTIFY_SOURCE is only required when compiling with -O1 or greater
CFLAGS += -U _FORTIFY_SOURCE
+
+# Likewise, recent OSes may have stack protector enabled by default, which was
+# see to add 15K+ (x86_32) to the code size. We h... |
[mod_deflate] use zstd typedefs (minor cleanup) | @@ -966,17 +966,17 @@ static int stream_zstd_init(handler_ctx *hctx) {
* (i.e. not generic "compression_level" across all compression algos) */
/*(note: we ignore any errors while tuning parameters here)*/
const plugin_data * const p = hctx->plugin_data;
- int level = ZSTD_CLEVEL_DEFAULT;
- if (p->conf.compression_leve... |
Config: Additional targets in Makefile | @@ -30,13 +30,13 @@ snap_env_sh = $(CURDIR)/.snap_env.sh
clean_subdirs += $(config_subdirs) $(software_subdirs) $(hardware_subdirs) $(action_subdirs)
ifeq ($(PLATFORM),x86_64)
-all: $(config_subdirs) $(software_subdirs) $(action_subdirs) $(hardware_subdirs)
+all: $(software_subdirs) $(action_subdirs) $(hardware_subdirs... |
fix license year
2019 -> 2022 in readme.md, 2021 -> 2022 in license | -Copyright 2017-2021 YANDEX LLC
+Copyright 2017-2022 YANDEX LLC
Apache License
Version 2.0, January 2004
|
GRIB: Cannot convert gridType=space_view to edition 2 | @@ -40,9 +40,10 @@ include "grib1/scanning_mode.def";
unsigned[3] orientationOfTheGrid : edition_specific ;
meta geography.orientationOfTheGridInDegrees scale(orientationOfTheGrid,oneConstant,grib1divider,truncateDegrees) : dump;
-unsigned[3] NrInRadiusOfEarth : edition_specific,can_be_missing,no_copy;
-alias altitudeO... |
Updated oscillating Ecc equation to be correct | @@ -3123,7 +3123,7 @@ void ForceEcc(BODY *body, EVOLVE *evolve, int iBody) {
A = body[iBody].dEccAmp;
C = body[iBody].dEcc0;
- body[iBody].dEcc = (A*sin(2*PI*evolve->dTime/P))+C;
+ body[iBody].dEcc = (0.5*A*sin(2*PI*evolve->dTime/P))+C;
CalcHK(body,iBody);
}
|
release: urbit-os-v1.0.43 | <div id="root"></div>
<script src="/~landscape/js/channel.js"></script>
<script src="/~landscape/js/session.js"></script>
- <script src="/~landscape/js/bundle/index.f58fbbc4b037bb976a2a.js"></script>
+ <script src="/~landscape/js/bundle/index.5c70804296e13e8973c3.js"></script>
<script src="https://sdk.amazonaws.com/js/... |
sp: stream: remove unused variable | @@ -59,7 +59,6 @@ int flb_sp_stream_create(char *name, struct flb_sp_task *task,
{
int ret;
char *tag;
- char *tmp;
struct flb_input_instance *in;
struct flb_sp_stream *stream;
|
add LimitBreakController | @@ -32,6 +32,7 @@ public unsafe partial struct UIState
[FieldOffset(0xAA58)] public Map Map;
[FieldOffset(0xEA40)] public MarkingController MarkingController;
+ [FieldOffset(0xECF0)] public LimitBreakController LimitBreakController;
[FieldOffset(0x11A88)] public ContentsFinder ContentsFinder;
|
Add missing notnull_check() to s2n_choose_preferred_signature_hash_pair() | @@ -285,6 +285,7 @@ int s2n_choose_preferred_signature_hash_pair(struct s2n_stuffer *in, int pairs_a
s2n_hash_algorithm *hash_alg_out, s2n_signature_algorithm *signature_alg_out)
{
uint8_t *their_hash_sig_pairs = s2n_stuffer_raw_read(in, pairs_available * 2);
+ notnull_check(their_hash_sig_pairs);
for(int our_hash_idx ... |
build BUGFIX Add yanglint tests only when ENABLE_BUILD_TESTS is set | @@ -39,6 +39,7 @@ function(add_yanglint_test)
set_property(TEST ${TEST_NAME} APPEND PROPERTY ENVIRONMENT "YANGLINT=${PROJECT_BINARY_DIR}/yanglint")
endfunction(add_yanglint_test)
+if(ENABLE_BUILD_TESTS)
# tests of non-interactive mode using shunit2
find_program(PATH_SHUNIT NAMES shunit2)
if(NOT PATH_SHUNIT)
@@ -54,3 +5... |
Remove SCTP_NXTINFO support | @@ -1718,13 +1718,6 @@ io_readable(neat_ctx *ctx, neat_flow *flow, struct neat_pollable_socket *socket,
stream_id = sndrcvinfo->sinfo_stream;
}
#endif // defined (SCTP_SNDRCV)
-#if defined (SCTP_NXTINFO)
- if (cmsg->cmsg_type == SCTP_NXTINFO) {
- nt_log(ctx, NEAT_LOG_DEBUG, "%s - got SCTP_NXTINFO", __func__);
- //sndrc... |
doc: fix submittingpatches.md
Fixed H2 title in 2nd section
Rephrased the 1st section to remove duplicate content. | -# Submitting patches
+# Patch submission
-Development on MCUboot primarily takes place in github, at:
-https://github.com/mcu-tools/mcuboot
+The development of MCUboot takes place in the [MCUboot GitHub
+repository](https://github.com/mcu-tools/mcuboot).
-Changes should be submitted via github pull requests. Each comm... |
Add reference to nami_fp in flash_ec
BRANCH=None
TEST=make BOARD=nami_fp -j | @@ -73,6 +73,7 @@ BOARDS_STM32=(
kukui
meowth_fp
minimuffin
+ nami_fp
nocturne_fp
oak
oak_pd
@@ -642,7 +643,7 @@ case "${BOARD}" in
chocodile_bec ) MCU="usbpd" ;;
oak_pd|samus_pd|strago_pd ) MCU="usbpd" ;;
chell_pd|glados_pd ) MCU="usbpd" ;;
- meowth_fp|nocturne_fp ) MCU="usbpd" ;;
+ meowth_fp|nami_fp|nocturne_fp ) MCU... |
VERSION bump to version 0.8.38 | @@ -28,7 +28,7 @@ set(CMAKE_C_FLAGS_DEBUG "-g -O0")
# set version
set(LIBNETCONF2_MAJOR_VERSION 0)
set(LIBNETCONF2_MINOR_VERSION 8)
-set(LIBNETCONF2_MICRO_VERSION 37)
+set(LIBNETCONF2_MICRO_VERSION 38)
set(LIBNETCONF2_VERSION ${LIBNETCONF2_MAJOR_VERSION}.${LIBNETCONF2_MINOR_VERSION}.${LIBNETCONF2_MICRO_VERSION})
set(LI... |
doc: Add ALTER/DROP ROUTINE to the event trigger matrix
ALTER ROUTINE triggers the events ddl_command_start and ddl_command_end,
and DROP ROUTINE triggers sql_drop, ddl_command_start and
ddl_command_end, but this was not mention on the matrix table.
Reported-by: Leslie Lemaire
Discussion:
Backpatch-through: 11 | <entry align="center"><literal>-</literal></entry>
<entry align="center"></entry>
</row>
+ <row>
+ <entry align="left"><literal>ALTER ROUTINE</literal></entry>
+ <entry align="center"><literal>X</literal></entry>
+ <entry align="center"><literal>X</literal></entry>
+ <entry align="center"><literal>-</literal></entry>
+... |
queue.h: cTaskWokenByPost -> xTaskWokenByReceive | @@ -1400,12 +1400,12 @@ BaseType_t xQueueGiveFromISR( QueueHandle_t xQueue,
* vOutputCharacter( cRxedChar );
*
* // If removing the character from the queue woke the task that was
- * // posting onto the queue cTaskWokenByReceive will have been set to
+ * // posting onto the queue xTaskWokenByReceive will have been set... |
Add more tips for Verilog blackbox integration | @@ -37,7 +37,10 @@ different directory from Chisel (Scala) sources.
In addition to the steps outlined in the previous section on adding a
project to the ``build.sbt`` at the top level, it is also necessary to
add any projects that contain Verilog IP as dependencies to the
-``tapeout`` project.
+``tapeout`` project. Thi... |
Fix issue compiling engine field initial values when set as undefined (falls back to default value) | @@ -80,7 +80,10 @@ _script_engine_init::
${engineFields
.map((engineField) => {
const engineValue = engineFieldValues.find((v) => v.id === engineField.key);
- const value = engineValue ? engineValue.value : engineField.defaultValue;
+ const value =
+ engineValue && engineValue.value !== undefined
+ ? engineValue.value
... |
Remove incorrect assert in redis_rewrite_query()
The 'nkeys' member of 'struct msg' is used to indicate the number
of keys in a script. It was previously incorrectly interpreted as
the number of keys in query instead. This patch removes this assert. | @@ -411,8 +411,6 @@ rstatus_t redis_rewrite_query(struct msg *orig_msg, struct context *ctx,
case MSG_REQ_REDIS_SMEMBERS:
if (orig_msg->owner->read_consistency == DC_SAFE_QUORUM) {
- // SMEMBERS should have only one key.
- ASSERT(orig_msg->nkeys == 1);
// Get a new 'msg' structure.
new_msg = msg_get(orig_msg->owner, tr... |
Now *actually* checks if a message is in a subscriber's range.
Fixes omitted sample caused by changes in | ?. =(nom.qer nom.det) ~
?. (circle-feel-story wat.qer nom.det det.det) ~
=/ sor (~(got by stories) nom.qer)
- ?. in:(~(so-in-range so:ta nom.qer ~ sor)) ~
+ ?. =< in %. ran.qer
+ ~(so-in-range so:ta nom.qer ~ sor) ~
?. ?=(?($gram $new $config $status) -.det.det) ~
:+ ~ %circle
?+ det.det det.det
|
Avoid arithmetic on void pointer in ble-hal | @@ -897,7 +897,8 @@ connection_rx(ble_conn_param_t *param)
NETSTACK_MAC.input();
}
} else if(frame_type == BLE_DATA_PDU_LLID_DATA_FRAGMENT) {
- memcpy((packetbuf_dataptr() + packetbuf_datalen()), &rx_data[header_offset], len);
+ memcpy(((uint8_t*)packetbuf_dataptr() + packetbuf_datalen()),
+ &rx_data[header_offset], le... |
pyocf: test update to handle zeroed metadata in attach
With atomic superblock commit during cache attach, it is possible
that power failure interrupts attach operation at a point where
neither new or old superblock is present - right after the superblock
is cleared. | @@ -427,10 +427,19 @@ def test_surprise_shutdown_cache_reinit(pyocf_ctx):
device.disarm()
+ cache = None
+ status = OcfErrorCode.OCF_OK
+ try:
cache = Cache.load_from_device(device)
+ except OcfError as ex:
+ status = ex.error_code
+ if not cache:
+ assert status == OcfErrorCode.OCF_ERR_NO_METADATA
+ else:
stats = cach... |
set send timeout in kadnode nss module | @@ -53,6 +53,10 @@ static int _nss_kadnode_lookup(struct kadnode_nss_response *res, const struct ka
return -1;
}
+ if (setsockopt(sock, SOL_SOCKET, SO_SNDTIMEO, (char *)&tv, sizeof(struct timeval)) < 0) {
+ return -1;
+ }
+
addr.sun_family = AF_LOCAL;
strcpy(addr.sun_path, path);
|
Remove duplicate dns query for localhost | @@ -412,28 +412,33 @@ PPH_STRING PhGetHostNameFromAddressEx(
PPH_STRING dnsReverseNameString = NULL;
PDNS_RECORD dnsRecordList = NULL;
- if (Address->Type == PH_IPV4_NETWORK_TYPE)
+ switch (Address->Type)
{
- if (
- IN4_IS_ADDR_UNSPECIFIED(&Address->InAddr) ||
- IN4_IS_ADDR_LOOPBACK(&Address->InAddr) ||
- IN4_IS_ADDR_R... |
sysdeps/linux: Implement sys_futex sysdeps | #define NR_exit 60
#define NR_fcntl 72
#define NR_arch_prctl 158
+#define NR_sys_futex 202
#define NR_clock_gettime 228
#define NR_pselect6 270
@@ -231,7 +232,23 @@ void sys_exit(int status) {
#endif // MLIBC_BUILDING_RTDL
-int sys_futex_wait(int *pointer, int expected) STUB_ONLY
-int sys_futex_wake(int *pointer) STUB_... |
[OpenGL] Use GL_R8 for font textures
Randomly getting squares with GL_ALPHA for some reason | @@ -125,14 +125,7 @@ static bool ImGui_ImplOpenGL3_CreateFontsTexture()
if (g_IsGLES || g_GlVersion >= 200)
glPixelStorei(GL_UNPACK_ROW_LENGTH, 0);
- // FIXME can compress?
- glTexImage2D(GL_TEXTURE_2D, 0, GL_COMPRESSED_ALPHA, width, height, 0, GL_ALPHA, GL_UNSIGNED_BYTE, pixels);
-
-#ifndef NDEBUG
- GLint compFlag= 0;... |
TLS 1.3 only have AEAD ciphers, drop the PSA_ALG_IS_AEAD() check in mbedtls_ssl_tls13_get_cipher_key_info() | @@ -1210,10 +1210,8 @@ static int mbedtls_ssl_tls13_get_cipher_key_info(
*key_len = PSA_BITS_TO_BYTES( key_bits );
- if( PSA_ALG_IS_AEAD( alg ) )
+ /* TLS 1.3 only have AEAD ciphers, IV length is unconditionally 12 bytes */
*iv_len = 12;
- else
- *iv_len = PSA_CIPHER_IV_LENGTH( key_type, alg );
return 0;
}
|
[numerics] add prototype for grfc3d_checkTrivialCaseGlobal | @@ -48,6 +48,9 @@ extern "C"
void grfc3d_nsgs_wr(GlobalRollingFrictionContactProblem* problem, double *reaction , double *velocity, double* globalVelocity, int* info, SolverOptions* options);
+ int grfc3d_checkTrivialCaseGlobal(int n, double* q, double* velocity, double* reaction, double * globalVelocity, SolverOptions... |
chip/mec1322/system.c: Format with clang-format
BRANCH=none
TEST=none | @@ -34,9 +34,9 @@ static void check_reset_cause(void)
{
uint32_t status = MEC1322_VBAT_STS;
uint32_t flags = 0;
- uint32_t rst_sts = MEC1322_PCR_CHIP_PWR_RST &
- (MEC1322_PWR_RST_STS_VCC1 |
- MEC1322_PWR_RST_STS_VBAT);
+ uint32_t rst_sts =
+ MEC1322_PCR_CHIP_PWR_RST &
+ (MEC1322_PWR_RST_STS_VCC1 | MEC1322_PWR_RST_STS_V... |
Remove ccm input validation.
VALIDATE and VALIDATE_RET macros are obsolete. | #if !defined(MBEDTLS_CCM_ALT)
-#define CCM_VALIDATE_RET( cond ) \
- MBEDTLS_INTERNAL_VALIDATE_RET( cond, MBEDTLS_ERR_CCM_BAD_INPUT )
-#define CCM_VALIDATE( cond ) \
- MBEDTLS_INTERNAL_VALIDATE( cond )
-
/*
* Initialize context
*/
void mbedtls_ccm_init( mbedtls_ccm_context *ctx )
{
- CCM_VALIDATE( ctx != NULL );
memset(... |
fix incorrect scripting example in Maya docs | @@ -308,8 +308,8 @@ postSync(string $assetNode, int $syncOnlyAttributes, int $syncOnlyOutputs)
cmds.dgeval("{}.output".format(asset))
# source MEL script for houdiniEngine_syncAssetOutput
- cmds.eval("source houdiniEngineAssetSync")
+ mel.eval("source houdiniEngineAssetSync")
# sync the asset if needed
- cmds.eval("hou... |
Feat:adapt heap size to alloc | #include "qapi_fibocom.h"
-#define TEST_BYTE_POOL_SIZE 30720*8
+#define BoAT_BYTE_POOL_SIZE 30720*12
-uint32 free_memory_test[TEST_BYTE_POOL_SIZE/4];
+uint32 free_memory_boat[BoAT_BYTE_POOL_SIZE];
-TX_BYTE_POOL *byte_pool_test;
+TX_BYTE_POOL *byte_pool_boat;
BOAT_RESULT BoatHash(const BoatHashAlgType type, const BUINT8... |
Docker: added Perl image. | @@ -10,7 +10,7 @@ CODENAME := stretch
UNIT_VERSION = $(VERSION)-$(RELEASE)~$(CODENAME)
-MODULES = python2.7 python3.5 php7.0 go1.7-dev go1.8-dev full minimal
+MODULES = python2.7 python3.5 php7.0 go1.7-dev go1.8-dev perl5.24 full minimal
MODULE_php7.0="unit=$${UNIT_VERSION} unit-php=$${UNIT_VERSION}"
@@ -22,7 +22,9 @@ ... |
Fix error in automation.py | @@ -306,7 +306,7 @@ class Automation2040WMini():
self.__conn_led_pwm.duty_u16(65535)
elif brightness is False:
self.__conn_led_pwm.duty_u16(0)
- elif brightness > 0.0 or brightness > 100.0:
+ elif brightness < 0.0 or brightness > 100.0:
raise ValueError("brightness out of range. Expected 0 to 100, or True or False")
el... |
mtd/progmem: fix and generalize progmem_log2()
progmem_log2() needs to be reworked to be more generally usable. | @@ -96,7 +96,7 @@ struct progmem_dev_s {
/* Internal helper functions */
-static int32_t progmem_log2(size_t blocksize);
+static int32_t progmem_log2(size_t num);
/* MTD driver methods */
@@ -132,34 +132,30 @@ static struct progmem_dev_s g_progmem = {
********************************************************************... |
HV: use api to get kernel load addr
For a Linux guest, the kernel load address should be gotten from zeropage
even for a pre-launched VM; | @@ -135,10 +135,14 @@ static void merge_cmdline(const struct acrn_vm *vm, const char *cmdline, const c
}
}
-static void *get_kernel_load_addr(void *kernel_src_addr)
+static void *get_kernel_load_addr(struct acrn_vm *vm)
{
+ void *load_addr = NULL;
+ struct vm_sw_info *sw_info = &vm->sw;
struct zero_page *zeropage;
+ sw... |
Move common instruction out of ifdef
Both ifdef-branches return server_path. | @@ -47,8 +47,6 @@ get_server_path(void) {
LOGE("Could not allocate memory");
return NULL;
}
- // the absolute path is hardcoded
- return server_path;
#else
char *server_path = get_local_file_path(SERVER_FILENAME);
if (!server_path) {
@@ -58,8 +56,9 @@ get_server_path(void) {
}
LOGD("Using server (portable): %s", server... |
docs: latest xCAT requires extra net option to define ib0 network | @@ -34,7 +34,7 @@ the {\em ib0} interface:
% ohpc_indent 5
\begin{lstlisting}[language=bash,keywords={},upquote=true,basicstyle=\footnotesize\ttfamily]
# Define ib0 netmask
-[sms](*\#*) chdef -t network -o ib0 mask=$ipoib_netmask
+[sms](*\#*) chdef -t network -o ib0 mask=$ipoib_netmask net=${c_ipoib[0]}
# Enable second... |
Extend coverage of byte information function tests | @@ -2224,6 +2224,21 @@ START_TEST(test_byte_info_at_end)
}
END_TEST
+/* Test position information from errors */
+START_TEST(test_byte_info_at_error)
+{
+ const char *text = "<doc></wombat></doc>";
+
+ if (_XML_Parse_SINGLE_BYTES(parser, text, strlen(text),
+ XML_TRUE) == XML_STATUS_OK)
+ fail("Syntax error not faulted... |
firinterp: simplifying internal copy() method | @@ -190,15 +190,12 @@ FIRINTERP() FIRINTERP(_copy)(FIRINTERP() q_orig)
if (q_orig == NULL)
return liquid_error_config("firinterp_%s_create(), object cannot be NULL", EXTENSION_FULL);
- // create filter object
+ // create filter object and copy internal memory
FIRINTERP() q_copy = (FIRINTERP()) malloc(sizeof(struct FIRI... |
refactor: rename channel_types to types | @@ -41,7 +41,7 @@ namespace channel {
/* CHANNEL TYPES
* https://discord.com/developers/docs/resources/channel#channel-object-channel-types */
-struct channel_types {
+struct types {
enum {
GUILD_TEXT = 0,
DM = 1,
|
Re-fixed. now misra test should pass | // brake rising edge
// brake > 0mph
//
-bool fmax_limit_check(float val, const float MAX, const float MIN) {
- return (val > MAX) || (val < MIN);
+bool fmax_limit_check(float val, const float MAX_VAL, const float MIN_VAL) {
+ return (val > MAX_VAL) || (val < MIN_VAL);
}
// 2m/s are added to be less restrictive
|
removed duplicate category | <?xml version="1.0"?>
- <Plugin name="Slice" type="operator" label="Slice" version="1.0" enabled="true" mdspecificcode="false" engspecificcode="false" onlyengine="false" noengine="false" iconFile="Slice.xpm" category="Slicing" category="Slicing">
+ <Plugin name="Slice" type="operator" label="Slice" version="1.0" enable... |
Remove braces. | @@ -271,9 +271,7 @@ cgiMoveJobs(http_t *http, /* I - Connection to server */
*/
if ((user = getenv("REMOTE_USER")) == NULL)
- {
user = "guest";
- }
/*
* See if the user has already selected a new destination...
|
travis: call build_test.sh instead of BUILD_CONFIG
Recently docker made a policy for pulling limitation.
To reduce pulling TizenRT docker image, let's use build_test script to pull it once. | @@ -17,16 +17,6 @@ env:
global:
- TIZENRT_IMG_VERSION=latest
-matrix:
- include:
- - env: BUILD_CONFIG=artik055s/audio
- - env: BUILD_CONFIG=artik053/st_things
- - env: BUILD_CONFIG=artik053/tc
- - env: BUILD_CONFIG=qemu/build_test
- - env: BUILD_CONFIG=esp_wrover_kit/hello_with_tash
- - env: BUILD_CONFIG=imxrt1020-evk... |
sr: show the hop-limit value used for SRv6 encapsulation
Implements CLI to show the hop-limit value used for the
outer IPv6 header of the SRv6 encapsulation.
Type: feature | @@ -1189,6 +1189,27 @@ VLIB_CLI_COMMAND (show_sr_encaps_source_command, static) = {
};
/* *INDENT-ON* */
+/**
+ * @brief CLI to display onscreen the hop-limit value used for SRv6 encapsulation
+ */
+static clib_error_t *
+show_sr_encaps_hop_limit_command_fn (vlib_main_t * vm,
+ unformat_input_t * input,
+ vlib_cli_comm... |
workflows: add Windows node for syncing Windows containers | @@ -24,6 +24,9 @@ on:
# We also do not want multiples to run for the same version.
concurrency: staging-build-release
+env:
+ STAGING_IMAGE_NAME: ghcr.io/${{ github.repository }}/staging
+
jobs:
staging-release-version-check:
@@ -163,8 +166,6 @@ jobs:
needs:
- staging-release-version-check
environment: release
- env:
-... |
examples/bind: print error on shutdown() failure | diff -Nur ORIG.bind-9.11.1-P3/bin/named/main.c bind-9.11.1-P3/bin/named/main.c
--- ORIG.bind-9.11.1-P3/bin/named/main.c 2017-07-07 17:01:52.000000000 +0200
-+++ bind-9.11.1-P3/bin/named/main.c 2017-07-17 17:20:46.111302279 +0200
-@@ -1302,10 +1302,203 @@
++++ bind-9.11.1-P3/bin/named/main.c 2017-07-18 14:38:28.00272377... |
test nested '& destructure and empty rest array
This commit adds two new tests for destructure patterns with '&:
Test that the rest array can be empty
Test that & can be nested | (assert (= b 2) "tuple destructuring 10 - rest")
(assert (= x :a) "tuple destructuring 11 - rest")
(assert (= rest [:c :b :a]) "tuple destructuring 12 - rest"))
+(do
+ (def [a b & rest] [:a :b])
+ (assert (= a :a) "tuple destructuring 13 - rest")
+ (assert (= b :b) "tuple destructuring 14 - rest")
+ (assert (= rest [])... |
engine: change order of collectors initialization | @@ -648,7 +648,6 @@ int flb_engine_start(struct flb_config *config)
flb_sched_ctx_init();
flb_sched_ctx_set(sched);
-
/* Initialize input plugins */
ret = flb_input_init_all(config);
if (ret == -1) {
@@ -695,9 +694,6 @@ int flb_engine_start(struct flb_config *config)
}
#endif
- /* Initialize collectors */
- flb_input_c... |
Fix holes from editor lag while drawing collisions
Use paintCollisionLine for tiles, scribbling to cover an area works. | @@ -257,7 +257,15 @@ class SceneCursor extends Component {
this.startX = x1;
this.startY = y1;
} else {
- paintCollisionTile(sceneId, x, y, this.drawTile, brushSize, this.isTileProp);
+ if(this.startX === undefined || this.startY === undefined) {
+ this.startX = x;
+ this.startY = y;
+ }
+ let x1 = x;
+ let y1 = y;
+ p... |
Use security context to set up the default seccomp profile for spod pod and security-profiles-operator container | @@ -45,6 +45,7 @@ var (
metricsCertPath = "/var/run/secrets/metrics"
metricsServerCert = "metrics-server-cert"
openshiftCertAnnotation = "service.beta.openshift.io/serving-cert-secret-name"
+ localSeccompProfilePath = "localhost/security-profiles-operator.json"
)
const (
@@ -126,8 +127,6 @@ var Manifest = &appsv1.Daemo... |
explicit output include in XS_PROTO macro
([arc::pullid] 498d5e97-146b8953-2fc4c906-9c62daeb) | @@ -374,7 +374,7 @@ macro JAVA_PROTO_CMD(File) {
}
macro XS_PROTO(File, Dir, Outputs...) {
- .CMD=$PROTOC -I=${ARCADIA_ROOT}/${Dir} -I=${ARCADIA_ROOT} -I=${PROTO_PATH} --perlxs_out=${BINDIR} ${input:File} ${hide;output:Outputs}
+ .CMD=$PROTOC -I=${ARCADIA_ROOT}/${Dir} -I=${ARCADIA_ROOT} -I=${PROTO_PATH} --perlxs_out=${... |
scripts: add file+xerces for website build | @@ -8,7 +8,7 @@ ROOT_DIR=$PWD
# build the applications
mkdir -p build
cd build
-cmake -DENABLE_ASAN=ON -DBUILD_FULL=OFF -DBUILD_SHARED=ON -DBUILD_STATIC=OFF -DBUILD_DOCUMENTATION=OFF -DPLUGINS='ALL;-fstab;-semlock' -DTOOLS='kdb;rest-backend;rest-frontend' -DCMAKE_C_FLAGS='-D_FORTIFY_SOURCE=2 -Werror=format-security -fs... |
[bsp][stm32] Modify variable name p_tm to tm | @@ -65,21 +65,21 @@ static rt_err_t set_rtc_time_stamp(time_t time_stamp)
{
RTC_TimeTypeDef RTC_TimeStruct = {0};
RTC_DateTypeDef RTC_DateStruct = {0};
- struct tm p_tm = {0};
+ struct tm tm = {0};
- gmtime_r(&time_stamp, &p_tm);
- if (p_tm.tm_year < 100)
+ gmtime_r(&time_stamp, &tm);
+ if (tm.tm_year < 100)
{
return -... |
Fixed issues with reporting failed algorithms | @@ -2313,7 +2313,9 @@ static ACVP_RESULT acvp_process_vector_set(ACVP_CTX *ctx, JSON_Object *obj) {
static ACVP_RESULT acvp_get_result_test_session(ACVP_CTX *ctx, char *session_url) {
ACVP_RESULT rv = ACVP_SUCCESS;
JSON_Value *val = NULL;
+ JSON_Value *val2 = NULL;
JSON_Object *obj = NULL;
+ JSON_Object *obj2 = NULL;
i... |
mesh: fix shadow declare
this is port of | @@ -59,14 +59,6 @@ static os_membuf_t adv_buf_mem[OS_MEMPOOL_SIZE(
struct os_mbuf_pool adv_os_mbuf_pool;
static struct os_mempool adv_buf_mempool;
-static const u8_t adv_type[] = {
- [BT_MESH_ADV_PROV] = BLE_HS_ADV_TYPE_MESH_PROV,
- [BT_MESH_ADV_DATA] = BLE_HS_ADV_TYPE_MESH_MESSAGE,
- [BT_MESH_ADV_BEACON] = BLE_HS_ADV_... |
[bsp][ls1c] add rtgui_lcd_init | #include "../../libraries/ls1c_pwm.h"
#include "../../libraries/ls1c_public.h"
#include "../../libraries/ls1c_gpio.h"
+#include "../../libraries/ls1c_pin.h"
+
+#ifdef RT_USING_RTGUI
struct vga_struct vga_mode[] =
{
@@ -231,3 +234,30 @@ void rt_hw_dc_init(void)
rt_device_init(dc);
}
+#include <rtgui/driver.h>
+#include ... |
[Meta] build_kernel.py pulls file server from the sysroot | @@ -54,7 +54,7 @@ def build_iso() -> Path:
if not kernel_binary_path.exists():
raise ValueError(f"Kernel binary missing: {kernel_binary_path}")
- fs_server_path = Path(__file__).parents[1] / "initrd" / "initrd_fs"
+ fs_server_path = Path(__file__).parents[1] / "axle-sysroot" / "usr" / "applications" / "initrd_fs"
if no... |
Use the sha1 as gitrev even if no tag points at it | @@ -3,8 +3,7 @@ use strict;
use warnings;
my $gitrev = exec_git_command('git rev-parse --short HEAD') or die "failed to get current revision";
-my $gittag = exec_git_command("git tag --points-at $gitrev");
-my $content = $gittag ? '' : "#define H2O_GITREV $gitrev\n";
+my $content = "#define H2O_GITREV $gitrev\n";
my $o... |
Add rejection of invalid glyphs for tui input | @@ -124,6 +124,25 @@ static Glyph_class glyph_class_of(Glyph glyph) {
return Glyph_class_unknown;
}
+static bool is_valid_glyph(Glyph c) {
+ if (c >= '0' && c <= '9')
+ return true;
+ if (c >= 'A' && c <= 'Z')
+ return true;
+ if (c >= 'a' && c <= 'z')
+ return true;
+ switch (c) {
+ case '!':
+ case '.':
+ case '*':
+... |
Minor cleanup of some OACR fixes (and remove a bogus assert) | @@ -58,11 +58,6 @@ class WinInetRequestWrapper : public PAL::RefCountedImpl<WinInetRequestWrapper>
m_hWinInetRequest = NULL;
}
-#ifndef _DEBUG
-// bResult is only used inside an assertion
-#pragma warning(push)
-#pragma warning(disable:4189)
-#endif
void send(SimpleHttpRequest* request, IHttpResponseCallback* callback)... |
test adding and removing shared mcast dst tunnels
Adds and delete 2000 multicast vxlan tunnels sharing group address
to test mcast tunnel ref count code as part of the stability stage (before starting traffic tests) | @@ -86,9 +86,38 @@ class TestVxlan(BridgeDomain, VppTestCase):
cls.vapi.sw_interface_set_l2_bridge(r.sw_if_index, bd_id=vni)
@classmethod
- def add_del_mcast_load(cls, is_add):
+ def add_del_shared_mcast_dst_load(cls, is_add):
+ """
+ add or del tunnels sharing the same mcast dst
+ to test vxlan ref_count mechanism
+ "... |
Create fresh filesystem contents for Nano RP2040. | #include "py_audio.h"
#endif
+#if MICROPY_VFS_FAT && MICROPY_HW_USB_MSC
+#include "extmod/vfs.h"
+#include "extmod/vfs_fat.h"
+#include "common/factoryreset.h"
+#endif
+
extern uint8_t __StackTop, __StackBottom;
static char OMV_ATTR_SECTION(OMV_ATTR_ALIGNED(gc_heap[OMV_HEAP_SIZE], 4), ".heap");
@@ -128,7 +134,6 @@ void... |
chip/stm32/hwtimer32.c: Format with clang-format
BRANCH=none
TEST=none
Tricium: disable | @@ -285,8 +285,9 @@ void IRQ_HANDLER(IRQ_WD)(void)
"pop {r0,pc}\n");
}
const struct irq_priority __keep IRQ_PRIORITY(IRQ_WD)
- __attribute__((section(".rodata.irqprio"))) = { IRQ_WD,
- 0 }; /* put the watchdog
+ __attribute__((section(".rodata.irqprio"))) = {
+ IRQ_WD, 0
+ }; /* put the watchdog
at the highest
priority... |
testing: smp: nxstyle fixes
Fixes for errors reported by nxstyle tool | @@ -60,7 +60,8 @@ static volatile int g_thread_cpu[CONFIG_TESTING_SMP_NBARRIER_THREADS+1];
static void show_cpu(FAR const char *caller, int threadno)
{
g_thread_cpu[threadno] = sched_getcpu();
- printf("%s[%d]: Running on CPU%d\n", caller, threadno, g_thread_cpu[threadno]);
+ printf("%s[%d]: Running on CPU%d\n",
+ call... |
arch/arm/amebad_timer_lowerhalf.c : Remove unnecessary return assignment
'ret' is initialized as -EINVAL, so it is not need to be reassigned for some cases. | @@ -400,10 +400,8 @@ static int amebad_gpt_ioctl(struct timer_lowerhalf_s *lower, int cmd, unsigned l
switch (cmd) {
case TCIOC_SETDIV:
- ret = -EINVAL;
break;
case TCIOC_GETDIV:
- ret = -EINVAL;
break;
case TCIOC_SETMODE:
if ((timer_mode_t)arg == MODE_FREERUN) {
@@ -413,23 +411,18 @@ static int amebad_gpt_ioctl(struct... |
extmod/modev3devices: further simplify instance attributes
No separate map, just a QSTR pointing to the right offset | @@ -454,14 +454,10 @@ STATIC MP_DEFINE_CONST_FUN_OBJ_1(ev3devices_UltrasonicSensor_distance_obj, ev3de
// dir(pybricks.ev3devices.UltrasonicSensor)
STATIC const mp_rom_map_elem_t ev3devices_UltrasonicSensor_locals_dict_table[] = {
{ MP_ROM_QSTR(MP_QSTR_distance), MP_ROM_PTR(&ev3devices_UltrasonicSensor_distance_obj) },... |
had one . too many in output summary | @@ -83,7 +83,7 @@ echo
echo '-------------------------------------------------- SUMMARY --------------------------------------------------'
echo
echo Package version............... : $PACKAGE-$VERSION
-echo OHPC compiler toolchain........ : $LMOD_FAMILY_COMPILER
+echo OHPC compiler toolchain....... : $LMOD_FAMILY_COMPI... |
Enable high dpi support
Use high DPI if available.
Note that on Mac OS X, setting this flag is not sufficient:
> On Apple's OS X you must set the NSHighResolutionCapable Info.plist
> property to YES, otherwise you will not receive a High DPI OpenGL
> display.
<https://wiki.libsdl.org/SDL_CreateWindow#flags> | @@ -141,7 +141,8 @@ SDL_bool screen_init_rendering(struct screen *screen, const char *device_name, s
struct size window_size = get_initial_optimal_size(frame_size);
screen->window = SDL_CreateWindow(device_name, SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED,
- window_size.width, window_size.height, SDL_WINDOW_HIDDEN... |
Doc: fix a trivial typo | @@ -135,7 +135,7 @@ typedef char lms_name_t[16];
typedef struct
{
float_type min; ///<Minimum allowed value
- float_type max; ///<Minimum allowed value
+ float_type max; ///<Maximum allowed value
float_type step; ///<Minimum value step
}lms_range_t;
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.