message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
deactivated shader support on android | #define TOUCH_INPUT_SUPPORT
#endif
+#if !defined(__TIC_ANDROID__)
+#define CRT_SHADER_SUPPORT
+#endif
+
typedef enum
{
HandCursor,
@@ -148,10 +152,12 @@ static struct
#endif
};
+#if defined(CRT_SHADER_SUPPORT)
static inline bool crtMonitorEnabled()
{
return platform.studio->config()->crtMonitor && platform.gpu.shader;
... |
SOVERSION bump to version 2.19.1 | @@ -66,7 +66,7 @@ set(LIBYANG_VERSION ${LIBYANG_MAJOR_VERSION}.${LIBYANG_MINOR_VERSION}.${LIBYANG_
# set version of the library
set(LIBYANG_MAJOR_SOVERSION 2)
set(LIBYANG_MINOR_SOVERSION 19)
-set(LIBYANG_MICRO_SOVERSION 0)
+set(LIBYANG_MICRO_SOVERSION 1)
set(LIBYANG_SOVERSION_FULL ${LIBYANG_MAJOR_SOVERSION}.${LIBYANG_M... |
[cmake] HEM5 calls DGETRF and DGETRS | @@ -163,9 +163,11 @@ else()
endif()
endif()
-# externals lib needs blas while tests need Blas AND lapack.
+# externals lib needs blas and lapack while tests need Blas AND lapack.
# Link only at build time.
target_link_libraries(externals PUBLIC $<BUILD_INTERFACE:BLAS::BLAS>)
+# HEM5 calls DGETRF and DGETRS from LAPACK
... |
change www.example.com SHA1 hash (document was updated 2019-10-17) | #include "convey.h"
#include "trantest.h"
-const uint8_t example_sum[20] = { 0x0e, 0x97, 0x3b, 0x59, 0xf4, 0x76, 0x00,
- 0x7f, 0xd1, 0x0f, 0x87, 0xf3, 0x47, 0xc3, 0x95, 0x60, 0x65, 0x51, 0x6f,
- 0xc0 };
+const uint8_t example_sum[20] = { 0x4a, 0x3c, 0xe8, 0xee, 0x11, 0xe0, 0x91,
+ 0xdd, 0x79, 0x23, 0xf4, 0xd8, 0xc6, 0x... |
CI: update to ccache v4.7.2 | @@ -115,8 +115,8 @@ jobs:
# Install in /usr/bin so the ccache action gets the expected environment.
- name: install ccache
run: |
- wget -nv https://github.com/ccache/ccache/releases/download/v4.7/ccache-4.7-linux-x86_64.tar.xz
- sudo tar xf ccache-4.7-linux-x86_64.tar.xz -C /usr/bin --strip-components=1 --no-same-owne... |
Support generic ya nile runner
Pull-request for branch users/ngc224/ya_nile | "transfer-manager": { "description": "Run Transfer Manager client" },
"rem-tool": { "description": "Run REM cli client" },
"afl-fuzz": { "description": "Run afl-fuzz" },
- "horadric": { "description": "Run horadric generator" }
+ "horadric": { "description": "Run horadric generator" },
+ "run_python_udf": {"description... |
[CUDA] Support basic %x printf format | @@ -58,6 +58,12 @@ __cl_printf(__attribute__((address_space(4))) char* restrict format, ...)
vprintf("%d", arg_data);
break;
}
+ case 'x':
+ {
+ __cl_va_arg(ap, arg_data, 1);
+ vprintf("%x", arg_data);
+ break;
+ }
case 'f':
{
__cl_va_arg(ap, arg_data, 2);
|
/mar/bill: fix +mime:grow, print on failure | |_ bil=bill
++ grow
|%
- ++ mime [/text/x-bill (as-octs:mimes:html hoon)]
+ ++ mime `^mime`[/text/x-bill (as-octs:mimes:html hoon)]
++ noun bil
++ hoon
^- @t
++ noun bill
++ mime
|= [=mite len=@ud tex=@]
+ ~_ tex
!<(bill (slap !>(~) (ream tex)))
--
++ grad %noun
|
Update per comment
Removed the call to ERR_load_crypto_strings() from the function as it
is in main() | @@ -2046,8 +2046,6 @@ static ACVP_RESULT app_rsa_sigver_handler(const unsigned char* msg, const int ms
goto err;
}
- ERR_load_crypto_strings();
-
/* Create RSA Public key from input */
rsa_key = RSA_new();
if (rsa_key) {
|
sokol build fux | @@ -357,7 +357,7 @@ static void app_input(const sapp_event* event)
sokol_calc_viewport(&rect.x, &rect.y, &rect.w, &rect.h);
if (rect.w) {
- s32 temp_x = ((s32)event->mouse_x - rect.x) * TIC80_FULLWIDTH / rect.w
+ s32 temp_x = ((s32)event->mouse_x - rect.x) * TIC80_FULLWIDTH / rect.w;
if (temp_x < 0) temp_x = 0; else if... |
rand_unix.c: Only enable hack for old FreeBSD versions on FreeBSD | @@ -227,10 +227,12 @@ static ssize_t sysctl_random(char *buf, size_t buflen)
* when the sysctl returns long and we want to request something not a
* multiple of longs, which should never be the case.
*/
+#if defined(__FreeBSD__)
if (!ossl_assert(buflen % sizeof(long) == 0)) {
errno = EINVAL;
return -1;
}
+#endif
/*
* O... |
out_stackdriver: use intermediary buffer for string to int conversion | @@ -48,14 +48,30 @@ static void try_assign_time(long long seconds, long long nanos,
static long long get_integer(msgpack_object obj)
{
+ char tmp[32];
+
if (obj.type == MSGPACK_OBJECT_POSITIVE_INTEGER) {
return obj.via.i64;
}
else if (obj.type == MSGPACK_OBJECT_STR
&& is_integer((char *) obj.via.str.ptr,
obj.via.str.si... |
lyb parser BUGFIX init var to append to | @@ -489,7 +489,7 @@ lyb_parse_attributes(struct lylyb_ctx *lybctx, struct lyd_attr **attr)
{
LY_ERR ret = LY_SUCCESS;
uint8_t count, i;
- struct lyd_attr *attr2;
+ struct lyd_attr *attr2 = NULL;
char *prefix = NULL, *module_name = NULL, *name = NULL, *value = NULL;
ly_bool dynamic = 0;
LY_VALUE_FORMAT format = 0;
|
Added plot graph to quick benchmark | @@ -1178,7 +1178,7 @@ void render_mpris_metadata(swapchain_stats& data, const ImVec4& color, metadata&
void render_benchmark(swapchain_stats& data, struct overlay_params& params, ImVec2& window_size, unsigned height, uint64_t now){
// TODO, FIX LOG_DURATION FOR BENCHMARK
- ImGui::SetNextWindowSize(ImVec2(window_size.x,... |
Fixed account character creation not working correctly on enhanced clients | @@ -313,10 +313,13 @@ bool PacketCreate::doCreate(NetState* net, LPCTSTR charname, bool bFemale, RACE_
}
}
+ if ( !(net->isClientKR() || net->isClientEnhanced()) )
+ {
if ( (wShirtHue < HUE_BLUE_LOW) || (wShirtHue > HUE_DYE_HIGH) )
goto InvalidInfo;
if ( (wPantsHue < HUE_BLUE_LOW) || (wPantsHue > HUE_DYE_HIGH) )
goto I... |
CMSIS-Core(A): Fixed the position of "extern "C"" | #pragma clang system_header /* treat file as system include file */
#endif
-#ifdef __cplusplus
- extern "C" {
-#endif
-
#ifndef __CORE_CA_H_GENERIC
#define __CORE_CA_H_GENERIC
+#ifdef __cplusplus
+ extern "C" {
+#endif
/*******************************************************************************
* CMSIS definitions
|
coachz: config: Add on-body detection config
Add on-body detection configuration on CoachZ devices
BRANCH=None
TEST=make buildall | #include "baseboard.h"
+/* On-body detection */
+#define CONFIG_BODY_DETECTION
+#define CONFIG_BODY_DETECTION_SENSOR LID_ACCEL
+#define CONFIG_BODY_DETECTION_VAR_NOISE_FACTOR 150 /* % */
+#define CONFIG_GESTURE_DETECTION
+#define CONFIG_GESTURE_DETECTION_MASK BIT(CONFIG_BODY_DETECTION_SENSOR)
+#define CONFIG_GESTURE_HO... |
doc: document "IS NOT DOCUMENT"
Reported-by:
Discussion:
Author: Euler Taveira
Backpatch-through: 9.3 | @@ -9712,6 +9712,24 @@ SELECT xmlagg(x) FROM (SELECT * FROM test ORDER BY y DESC) AS tab;
</para>
</sect3>
+ <sect3>
+ <title><literal>IS NOT DOCUMENT</literal></title>
+
+ <indexterm>
+ <primary>IS NOT DOCUMENT</primary>
+ </indexterm>
+
+<synopsis>
+<replaceable>xml</replaceable> IS NOT DOCUMENT
+</synopsis>
+
+ <par... |
api: Typo fix to comment name. | @@ -316,7 +316,7 @@ const char *lily_error_message_no_trace(lily_state *s);
// Returns 1 on success, 0 on failure.
int lily_load_file(lily_state *s, const char *path);
-// Function: lily_load_package_file
+// Function: lily_load_file_package
// Load a Lily file from a given path as an isolated package.
//
// The file l... |
esp_timer: Fix Test ESP_TIMER_ISR dispatch method is not blocked | @@ -568,6 +568,7 @@ esp_err_t esp_timer_dump(FILE* stream)
timer_list_unlock(dispatch_method);
}
+ if (stream != NULL) {
fprintf(stream, "Timer stats:\n");
#if WITH_PROFILING
fprintf(stream, "%-20s %-10s %-12s %-12s %-12s %-12s %-12s\n",
@@ -577,7 +578,6 @@ esp_err_t esp_timer_dump(FILE* stream)
#endif
/* Print the buf... |
CRYPTO_THREAD_run_once.pod: fix typo and punktuation | @@ -67,7 +67,7 @@ CRYPTO_THREAD_unlock() unlocks the previously locked B<lock>.
=item *
-CRYPTO_THREAD_lock_frees() frees the provided B<lock>.
+CRYPTO_THREAD_lock_free() frees the provided B<lock>.
=item *
@@ -96,9 +96,9 @@ CRYPTO_THREAD_run_once() returns 1 on success, or 0 on error.
CRYPTO_THREAD_lock_new() returns ... |
board/coffeecake/usb_pd_config.h: Format with clang-format
BRANCH=none
TEST=none | @@ -100,8 +100,8 @@ static inline void pd_select_polarity(int port, int polarity)
* use the right comparator : CC1 -> PA1 (COMP1 INP)
* use VrefInt / 2 as INM (about 600mV)
*/
- STM32_COMP_CSR = (STM32_COMP_CSR & ~STM32_COMP_CMP1INSEL_MASK)
- | STM32_COMP_CMP1EN | STM32_COMP_CMP1INSEL_VREF12;
+ STM32_COMP_CSR = (STM32_... |
Add ability to override list of prereq and supplemental components with environment variables. This is for building trunk which only requires an up to date version of cmake | @@ -51,8 +51,8 @@ $ $AOMP_SUPP/build/cmdlog File with log of all components built
EOF
}
-SUPPLEMENTAL_COMPONENTS="openmpi silo hdf5 fftw"
-PREREQUISITE_COMPONENTS="cmake rocmsmilib hwloc"
+SUPPLEMENTAL_COMPONENTS=${SUPPLEMENTAL_COMPONENTS:-openmpi silo hdf5 fftw}
+PREREQUISITE_COMPONENTS=${PREREQUISITE_COMPONENTS:-cmak... |
testing: document file tool
separate required env | @@ -50,6 +50,15 @@ The alternative to `make run_nokdbtests`:
ctest -T Test --output-on-failure -LE kdbtests -j 6
```
+## Required Environment
+
+To run the tests successfully, the environment
+must fulfill:
+
+- Mounted /dev and /proc (to have stdin and stdout for import & export test cases).
+- POSIX tools need to be ... |
Fix return value of update. | data structure ds."
[ds key func & args]
(def old (get ds key))
- (set (ds key) (func old ;args)))
+ (put ds key (func old ;args)))
(defn merge-into
"Merges multiple tables/structs into a table. If a key appears in more than one
|
Added arm32v7 releases | @@ -13,8 +13,20 @@ jobs:
strategy:
matrix:
include:
+ - arch: arm32v7
+ distro: ubuntu16.04
- arch: arm32v7
distro: ubuntu18.04
+ - arch: arm32v7
+ distro: ubuntu20.04
+ - arch: arm32v7
+ distro: ubuntu22.04
+ - arch: arm32v7
+ distro: stretch
+ - arch: arm32v7
+ distro: buster
+ - arch: arm32v7
+ distro: bullseye
- ar... |
Simplify allocating multiple `ds` args
Dealing with indexes is only necessary for `strfmt` | @@ -385,7 +385,7 @@ static void initDsArgList(struct DsArgList *args)
strerror(errno));
}
-static size_t nextDsArgListIndex(struct DsArgList *args)
+static void appendDsArgList(struct DsArgList *args, const struct Expression *expr)
{
if (args->nbArgs == args->capacity) {
args->capacity = (args->capacity + 1) * 2;
@@ -3... |
Set level1_dcache_linesize to 64 if getconf returns "undefined"... | @@ -114,6 +114,10 @@ level1_dcache_linesize = run_command(
check: true
).stdout().strip()
+if level1_dcache_linesize.contains('undefined')
+ level1_dcache_linesize = 64
+endif
+
if get_option('omf-byte-order') != 'native'
add_project_arguments(
'-DHSE_OMF_BYTE_ORDER=__ORDER_@0@_ENDIAN__'.format(
|
baseboard/kukui/battery_smart.c: Format with clang-format
BRANCH=none
TEST=none | @@ -98,38 +98,29 @@ __override void board_battery_compensate_params(struct batt_params *batt)
/* return cached values for at most CACHE_INVALIDATION_TIME_US */
fix_single_param(batt->flags & BATT_FLAG_BAD_STATE_OF_CHARGE,
- &batt_cache.state_of_charge,
- &batt->state_of_charge);
+ &batt_cache.state_of_charge, &batt->st... |
Remove obsolete writeStatementAssign lhsIdent arg | @@ -70,9 +70,9 @@ func (g *gen) writeStatement(b *buffer, n *a.Node, depth uint32) error {
switch n.Kind() {
case a.KAssign:
n := n.AsAssign()
- return g.writeStatementAssign(b, 0, n.LHS(), n.LHS().MType(), n.Operator(), n.RHS(), depth)
+ return g.writeStatementAssign(b, n.LHS(), n.LHS().MType(), n.Operator(), n.RHS(),... |
hslua-marshalling: fix for GHC 8.0 and 8.2 | @@ -41,7 +41,7 @@ import HsLua.Core as Lua
import Control.Monad.Fail (MonadFail (..))
#endif
#if !MIN_VERSION_base(4,12,0)
-import Data.Semigroup (Semigroup)
+import Data.Semigroup (Semigroup ((<>)))
#endif
import qualified HsLua.Core.Utf8 as Utf8
|
stm32/flashbdev: Protect flash writes from cache flushing and USB MSC. | @@ -265,8 +265,10 @@ bool flash_bdev_writeblock(const uint8_t *src, uint32_t block) {
// bad block number
return false;
}
+ uint32_t basepri = raise_irq_pri(IRQ_PRI_FLASH); // prevent cache flushing and USB access
uint8_t *dest = flash_cache_get_addr_for_write(flash_addr);
memcpy(dest, src, FLASH_BLOCK_SIZE);
+ restore... |
Make the hierarchy linkable | @@ -531,7 +531,7 @@ class FfxivClass:
for parent_class_name in self.parent_class_names[-1::-1] + [self.name]:
if comment:
comment += "\n"
- comment += (" " * indent) + parent_class_name
+ comment += (" " * indent) + self.VTBL_FORMAT.format(cls=parent_class_name)
indent += 4
api.set_comment(self.vtbl_ea, comment)
|
Add breakpad to contrib (via yamaker) | # TinyALSA references linux kernel headers for kernel ALSA interface
includes:
- sound/asound.h
+
+- source_filter: "^contrib/libs/breakpad"
+ includes:
+ - asm/ptrace.h
+ - stab.h
|
++ra-unconfig and ++pa-reform-gone for story deletion. | ?. (~(has by stories) p.cod)
(ra-evil %talk-no-story)
::x $design with ~ for config signals delete
- ::TODO untangle into ++ra-unconfig, ++pa-reform-gone instead of using
- :: bunts or empty keys.
- :: be sure to send a deletion %tales lowdown!
- =. +>.$ (ra-config p.cod *config)
- +>.$(stories (~(del by stories) p.cod... |
[kernel] direct fill HTrans with the whole block | @@ -531,6 +531,8 @@ void OSNSMatrix::fillH(DynamicalSystemsGraph & DSG, InteractionsGraph& indexSet,
}
DEBUG_END("void OSNSMatrix::fillH(SP::DynamicalSystemsGraph DSG, InteractionsGraph& indexSet, bool update)\n");
}
+
+#include <float.h>
// Fill the matrix H
void OSNSMatrix::fillHtrans(DynamicalSystemsGraph & DSG, Int... |
dnstap unbound-dnstap-sock, fixup check for ssl context create error. | @@ -241,6 +241,12 @@ static struct tap_socket* tap_socket_new_tlsaccept(char* ip,
s->ev_cb = ev_cb;
s->data = data;
s->sslctx = listen_sslctx_create(server_key, server_cert, verifypem);
+ if(!s->sslctx) {
+ log_err("could not create ssl context");
+ free(s->ip);
+ free(s);
+ return NULL;
+ }
return s;
}
|
doc: update virtio-i2c inclusive language
A previous update changed "slave" to "secondary", but the code comments
were changed to use "client", so update the documentation to match. | @@ -4,10 +4,10 @@ Virtio-i2c
##########
Virtio-i2c provides a virtual I2C adapter that supports mapping multiple
-secondary devices under multiple native I2C adapters to one virtio I2C
-adapter. The address for the secondary device is not changed. Virtio-i2c
-also provides an interface to add an acpi node for secondary... |
lib: jsmn: fix memory access check for tokens
This patch also fixes the problem we previously reported
in the jsmn repo: | @@ -343,7 +343,7 @@ int jsmn_parse(jsmn_parser *parser, const char *js, size_t len,
if (parser->toksuper != -1 && tokens != NULL)
tokens[parser->toksuper].size++;
#ifdef JSMN_STRICT
- if (tokens != NULL) {
+ if (parser->toksuper != -1 && tokens != NULL) {
parser->toktype = jsmn_string_next_tok
(&tokens[parser->toksuper... |
Examples: Add comments and sanity checks | #include <stdio.h>
#include <stdlib.h>
+#include <assert.h>
#include "eccodes.h"
int main(int argc, char** argv)
{
- int err = 0;
- size_t size = 0;
+ int err = 0, i = 0, NUM_MISSING = 10;
FILE* in = NULL;
const char* infile = "../../data/regular_latlon_surface.grib1";
@@ -31,10 +31,10 @@ int main(int argc, char** argv... |
remove node url | seven_zip_hash: "F00E1588ED54DDF633D8652EB89D0A8F95BD80CCCFC3EED362D81927BEC05AA5"
vs_buildtools: "https://oejenkins.blob.core.windows.net/oejenkins/vs_buildtools_2017.exe"
vs_buildtools_hash: "9822B4C851E14D9658BABD1533F66F518C6169196E985FE5713B2774128832AE"
- node_url: "https://oejenkins.blob.core.windows.net/oejenki... |
libcommon/util: lock btsq was awfully slow under x86 | @@ -70,14 +70,7 @@ __attribute__((always_inline)) static inline uint8_t ATOMIC_BTS(uint8_t* addr, s
{
uint8_t oldbit;
addr += (offset / 8);
-#if defined(__x86_64__)
- __asm__("lock btsq %2, %1\n"
- "sbb %0, %0\n"
- : "=r"(oldbit), "+m"(*addr)
- : "Ir"(offset % 8));
-#else
- oldbit = ATOMIC_POST_OR(*addr, ((uint8_t)1U <... |
aes_platform: add riscv64 zkn asm support | @@ -428,6 +428,19 @@ void aes256_t4_xts_decrypt(const unsigned char *in, unsigned char *out,
/* Convert key size to function code: [16,24,32] -> [18,19,20]. */
# define S390X_AES_FC(keylen) (S390X_AES_128 + ((((keylen) << 3) - 128) >> 6))
+# elif defined(OPENSSL_CPUID_OBJ) && defined(__riscv) && __riscv_xlen == 64
+/* ... |
net: Kconfig: remove NET_ETH_TCP_RECVWNDO
NET_ETH_TCP_RECVWNDO is legacy Nuttx uIP feature and not used anymore.
So this should be removed. | @@ -82,17 +82,6 @@ config NET_ETH_MTU
IPv6 hosts are required to be able to handle an MSS of 1220 octets,
resulting in a minimum buffer size of of 1220+20+40+14 = 1294
-config NET_ETH_TCP_RECVWNDO
- int "Ethernet TCP receive window size"
- default 1220 if NET_IPv6
- default 536 if !NET_IPv6
- depends on NET_ETHERNET &&... |
Fix memory leak in c0sk_cursor_destroy | @@ -848,6 +848,7 @@ static void
c0sk_cursor_release(struct c0_cursor *cur)
{
int i;
+ struct c0_kvmultiset_cursor *p, *next;
/* Destroy KVMS cursors */
for (i = 0; i < cur->c0cur_cnt; i++) {
@@ -858,10 +859,22 @@ c0sk_cursor_release(struct c0_cursor *cur)
c0kvms_putref(this->c0mc_kvms);
}
+ for (p = cur->c0cur_free; p;... |
fix linux link suffix for qt | @@ -30,7 +30,7 @@ function _link(framework, major)
debug_suffix = "d"
elseif is_plat("mingw") then
debug_suffix = "d"
- elseif is_plat("android") then
+ elseif is_plat("android") or is_plat("linux") then
debug_suffix = ""
end
framework = "Qt" .. major .. framework:sub(3) .. (is_mode("debug") and debug_suffix or "")
@@ ... |
ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11] | @@ -3049,7 +3049,7 @@ static void heartbeat_pub_set(struct bt_mesh_model *model,
goto failed;
}
- if (param->period_log > 0x10) {
+ if (param->period_log > 0x11) {
status = STATUS_CANNOT_SET;
goto failed;
}
|
build: Separate ip and ip6 maintainers
Boldly assign IPv6 to Neale and to me.
Ole said so. Really!
Type: make | @@ -127,11 +127,17 @@ F: src/vnet/mfib/
F: src/vnet/dpo
F: src/vnet/adj
-VNET IPv4 and IPv6 LPM
+VNET IPv4 LPM
I: ip
M: Dave Barach <dave@barachs.net>
F: src/vnet/ip/
+VNET IPv6 LPM
+I: ip6
+M: Neale Ranns <nranns@cisco.com>
+M: Jon Loeliger <jdl@netgate.com>
+F: src/vnet/ip/
+
VNET QoS
I: qos
M: Neale Ranns <nranns@ci... |
older versions may not have all categories | @@ -88,7 +88,9 @@ print $header;
foreach my $category (@ohpcCategories) {
print "\n### $ohpcCategoryHeadings{$category}:\n";
+
my $filein="pkg-ohpc.$category";
+ next unless (-s $filein);
open(IN,"<$filein") || die "Cannot open file -> $filein\n";
|
Try again with vcvarsall.bat | @@ -16,7 +16,7 @@ matrix:
# skip unsupported combinations
init:
- - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat"
+ - call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvarsall.bat" %platform%
install:
- set JANET_BUILD=%appve... |
move rodata segment of libphy.a to dram
1. rodata segment of libphy.a(about 1200B) can be accessed by ISRs, so put it into DRAM | @@ -115,6 +115,7 @@ SECTIONS
*(.jcr)
*(.dram1 .dram1.*)
*libesp32.a:panic.o(.rodata .rodata.*)
+ *libphy.a:(.rodata .rodata.*)
*libsoc.a:rtc_clk.o(.rodata .rodata.*)
*libapp_trace.a:(.rodata .rodata.*)
*libgcov.a:(.rodata .rodata.*)
|
Assign hidden labels to ImGui items which had none to prevent aliasing | @@ -83,7 +83,7 @@ void Overlay::DrawImgui()
ImVec2 listboxSize = ImGui::GetContentRegionAvail();
listboxSize.y -= ImGui::GetFrameHeightWithSpacing();
- const auto result = ImGui::ListBoxHeader("", listboxSize);
+ const auto result = ImGui::ListBoxHeader("##ConsoleHeader", listboxSize);
ImGuiListClipper clipper;
clipper... |
Forgot to normalize the quaternion | @@ -1151,7 +1151,7 @@ void SolveForRotation(FLT rotOut[4], TrackedObject *obj, Point lh)
}
-static Point SolveForLighthouse(FLT posOut[3], FLT quatOut[4], TrackedObject *obj, SurviveObject *so, char doLogOutput, int lh, int setLhCalibration)
+static Point SolveForLighthouse(FLT posOut[3], FLT quatOut[4], TrackedObject ... |
ci(micropython) fix git fetch
Switch from git protocol to https.
Related: | @@ -31,8 +31,8 @@ jobs:
- name: Checkout LVGL submodule
working-directory: ./lib/lv_bindings/lvgl
run: |
- git fetch --force ${{ github.event.repository.git_url }} "+refs/heads/*:refs/remotes/origin/*"
- git fetch --force ${{ github.event.repository.git_url }} "+refs/pull/*:refs/remotes/origin/pr/*"
+ git fetch --force... |
Fix bug when copying colors if search field is active | @@ -201,7 +201,7 @@ class CustomPalettePicker extends Component {
}
onCopy = (e) => {
- if (e.target.nodeName !== "BODY") {
+ if (e.target.nodeName !== "BODY" && e.target.value.length > 0) {
return;
}
const { palette } = this.props;
|
rpc:window update logic is updated to DCTCP-like one. | @@ -63,8 +63,8 @@ static void srpc_update_window(struct srpc_session *s)
if (us >= 20) {
if (us > 60)
us = 60;
- float scale = 1.0 + (us - 20) / 40.0;
- s->win = (float)s->win / scale;
+ float alpha = (us - 20) / 40.0;
+ s->win = (float)s->win / (1.0 - alpha/2.0);
} else {
s->win++;
}
|
OcAppleKernelLib: Reassign RelocationsSize after preserving relocs. | @@ -1362,6 +1362,7 @@ InternalPrelinkKext64 (
return RETURN_LOAD_ERROR;
}
NumRelocations += NumRelocations2;
+ RelocationsSize = (NumRelocations * sizeof (MACH_RELOCATION_INFO));
//
// Copy the entire symbol table excluding the area for undefined symbols.
//
|
Xerces: Fix spelling mistake in unit test | @@ -277,7 +277,7 @@ static void test_jenkins_config ()
succeed_if (strcmp (keyValue (current), "bee4ahGhOqua3ahzsai2Eef5quie5ohK/eiSe4eav+JhVlerBftAil8Ow5AejahBe9oiksKAlla/kk1/1=") == 0,
"api token is wrong");
- succeed_if (86 == ksGetSize (ks), "pom file is expected to contain 64 keys");
+ succeed_if (86 == ksGetSize ... |
Update docs with troubleshooting and instructions for Chocolatey | @@ -9,6 +9,8 @@ libsbp Development Procedures
- [Installing QuickType](#installing-quicktype)
- [Distributing Python](#distributing-python)
* [Building on Windows](#building-on-windows)
+ * [Troubleshooting](#troubleshooting)
+ + [Error: `!!! No Python wheel (.whl) file found...`](#error--no-python-wheel-whl-file-found... |
doc: one more todo | @@ -97,6 +97,7 @@ What is not so nice:
- error handling can be forgotten
- merging on conflicts? (maybe libelektra-tools dynamically loaded?)
- warning/error handling?
+- should recursive + lower-level type API in a separate library, in ease, or in core?
## Argument ##
|
passwd: cast to unsigned char | @@ -61,7 +61,7 @@ static int validatepwent (struct passwd * pwd)
static unsigned atou(char **s)
{
unsigned x;
- for (x=0; **s-'0'<10U; ++*s) x=10*x+(**s-'0');
+ for (x=0; (unsigned char)(**s-'0')<10U; ++*s) x=10*x+((unsigned char)**s-'0');
return x;
}
|
examples/ostest: clarify when pthread clean-up test mutex need to remain usable | @@ -60,16 +60,20 @@ static void cleanup(FAR void * data)
FAR struct sync_s *sync = (FAR struct sync_s *) data;
int status;
- /* Note: pthread_cond_wait() will release the mutex while it waits on
- * condition value. So a EPERM error is not a failure.
+ /* Note: The behavior of canceling pthread_cond_wait() with asynchr... |
lcb_respexists_is_found returns true for deleted documents.
We could either add a lcb_respexists_is_deleted api, or just have
is_found return false if the doc's deleted flag is set. I chose
the latter.
Tested-by: Build Bot | @@ -26,7 +26,7 @@ LIBCOUCHBASE_API lcb_STATUS lcb_respexists_status(const lcb_RESPEXISTS *resp)
LIBCOUCHBASE_API int lcb_respexists_is_found(const lcb_RESPEXISTS *resp)
{
- return resp->ctx.rc == LCB_SUCCESS;
+ return resp->ctx.rc == LCB_SUCCESS && !resp->deleted;
}
LIBCOUCHBASE_API lcb_STATUS lcb_respexists_error_cont... |
misc: update MAINTAINERS file
Type: improvement
Add myself as maintainer for crypto related components. | @@ -188,6 +188,7 @@ VNET IPSec
I: ipsec
M: Neale Ranns <neale@graphiant.com>
M: Radu Nicolau <radu.nicolau@intel.com>
+M: Fan Zhang <roy.fan.zhang@intel.com>
F: src/vnet/ipsec/
VNET Crypto Infra
@@ -219,8 +220,14 @@ F: src/plugins/crypto_openssl/
Plugin - Crypto - ipsecmb
I: crypto-ipsecmb
M: Neale Ranns <neale@graphia... |
Fixup 3D texture blit validation; | @@ -5320,7 +5320,8 @@ void lovrPassBlit(Pass* pass, Texture* src, Texture* dst, uint32_t srcOffset[4],
lovrCheck(state.features.formats[src->info.format] & GPU_FEATURE_BLIT_SRC, "This GPU does not support blitting from the source texture's format");
lovrCheck(state.features.formats[dst->info.format] & GPU_FEATURE_BLIT_... |
Update azure-pipelines.yml
Add include branches all | trigger:
batch: true
+ branches:
+ include:
+ - *
paths:
exclude:
- .gitignore
@@ -11,6 +14,9 @@ trigger:
- cmake-variants.TEMPLATE.json
pr:
+ branches:
+ include:
+ - *
paths:
exclude:
- .gitignore
|
test: test code commit hook,auto cppcheck | @@ -773,6 +773,7 @@ BOAT_RESULT BoatHlfabricDiscoverSubmit(BoatHlfabricTx *tx_ptr, const BoatHlfabri
}
}
}
+ 1111
Discovery__ConfigResult *config_result = discoveryResponse->results[1]->config_result;
discoverResult.discoverConfig.discoverMsps.num = config_result->n_msps;
discoverResult.discoverConfig.discoverMsps.disc... |
ble_mesh: Add PRIu64 & PRIx64 in mesh_types.h | #include <stdint.h>
#include <stdbool.h>
+#include <inttypes.h>
#ifdef __cplusplus
extern "C" {
@@ -39,6 +40,14 @@ typedef int bt_mesh_atomic_t;
#define true 1
#endif
+#ifndef PRIu64
+#define PRIu64 "llu"
+#endif
+
+#ifndef PRIx64
+#define PRIx64 "llx"
+#endif
+
#ifdef __cplusplus
}
#endif
|
ci: ensure clang_tidy_deploy artifacts downloaded | @@ -111,6 +111,7 @@ clang_tidy_deploy:
extends:
- .deploy_job_template
- .rules:patterns:clang_tidy
+ dependencies: # set dependencies to null to avoid missing artifacts issue
needs:
- clang_tidy_check
tags:
|
improve fuzzing support | #define MAX_PACKET_SIZE (1 << 16)
+//#define FUZZ_FAST 1
+
static int fd_c, fd_s;
static struct socket *s_c, *s_s, *s_l;
static pthread_t tid_c, tid_s;
@@ -125,9 +127,11 @@ int init_fuzzer(void)
struct sockaddr_in sin_s, sin_c;
socklen_t name_len;
+#if defined(FUZZ_FAST)
if (initialized) {
return 0;
}
+#endif
usrsctp_i... |
Update policy name and remove sgx | @@ -19,7 +19,7 @@ Goals:
User Experience
----
-A new policy type `OE_POLICY_SGX_COLLATERAL_BASELINE` is added to current policy types.
+A new policy type `OE_POLICY_OPTIONS_BASELINE` is added to current policy types.
A quote verifier application can pass multiple policies with this type, while OE SDK would pass all the... |
Fix compile error on HP C.
Per build farm animal anole, after commit | @@ -9134,5 +9134,5 @@ HeapCheckForSerializableConflictOut(bool visible, Relation relation,
if (TransactionIdPrecedes(xid, TransactionXmin))
return;
- return CheckForSerializableConflictOut(relation, xid, snapshot);
+ CheckForSerializableConflictOut(relation, xid, snapshot);
}
|
wifi_manager: modify state changing in scanning.
wifi_manager manages it's internal information in
wifi_manager_info.c. However it doesn't update its state after
scanning is done. Because wifimgr_set_info wasn't called. | @@ -140,6 +140,9 @@ static char *wifimgr_state_str[] = {
do { \
g_manager_info.state = g_manager_info.prev_state; \
g_manager_info.prev_state = WIFIMGR_NONE; \
+ wifimgr_info_msg_s twmsg; \
+ twmsg.state = g_manager_info.state; \
+ wifimgr_set_info(WIFIMGR_STATE, &twmsg); \
} while (0)
#define TAG "[WM]"
|
board/storo/led.c: Format with clang-format
BRANCH=none
TEST=none | @@ -18,19 +18,28 @@ __override const int led_charge_lvl_2 = 95;
__override struct led_descriptor
led_bat_state_table[LED_NUM_STATES][LED_NUM_PHASES] = {
- [STATE_CHARGING_LVL_1] = {{EC_LED_COLOR_AMBER, LED_INDEFINITE} },
- [STATE_CHARGING_LVL_2] = {{EC_LED_COLOR_AMBER, LED_INDEFINITE} },
- [STATE_CHARGING_FULL_CHARGE] ... |
GI: Search quietly for Lua | @@ -28,7 +28,7 @@ endmacro (do_gi_lua_test)
install (DIRECTORY lgi DESTINATION ${TARGET_LUA_LMOD_FOLDER})
# we're searching for the lua interpreter however FindLua only searches for the library. But that's better than nothing.
-find_package (Lua 5.1)
+find_package (Lua 5.1 QUIET)
if (LUA_FOUND AND LUA_EXECUTABLE_VERSIO... |
docs: update README.md
update to fixed logo | <div align="center">
<br />
<p>
- <a href="https://cee-studio.github.io/orca"><img src="https://raw.githubusercontent.com/cee-studio/orca-docs/1cf8a55701130af1ec79d6b0c036cb4a0a1f4d8c/docs/source/images/logo-light.svg" width="546" alt="orca" style="background-color:red;" /></a>
+ <a href="https://cee-studio.github.io/o... |
Remove outdated assertion blocking timesplit evaluation; fix progress logging for small datasets | @@ -805,11 +805,16 @@ static bool HaveFeaturesToEvaluate(const TVector<TTrainingDataProviders>& foldsD
return true;
}
-static ui32 GetTrainingCount(const NCatboostOptions::TFeatureEvalOptions& featureEvalOptions) {
+static ui32 GetTrainingCountPerFold(const NCatboostOptions::TFeatureEvalOptions& featureEvalOptions) {
c... |
Update README.md
Update targets' features informations. | @@ -62,13 +62,13 @@ The above firmware builds include support for the class libraries and features m
| Target | Gpio | Spi | I2c | Events | Native | SWO |
|:-|:-:|:-:|:-:|:-:|:-:|:-:|
-| ST_STM32F4_DISCOVERY | :heavy_check_mark: | | | :heavy_check_mark: | | :heavy_check_mark: |
-| ST_STM32F429I_DISCOVERY | :heavy_check... |
demmt: Sync autogenerated nvrm_object.xml.h against rnndb
Utilized rnndb/headergen to sync .h header output against latest rnndb registers. | /* Autogenerated file, DO NOT EDIT manually!
This file was generated by the rules-ng-ng headergen tool in this git repository:
-http://github.com/envytools/envytools/
+https://github.com/envytools/envytools/
git clone https://github.com/envytools/envytools.git
The rules-ng-ng source files this header was generated from... |
Fixed DebugPortStart, ResetSystem, and ResetProcessor default debug sequences. | @@ -359,7 +359,7 @@ Connect to the target debug port and power it up.
<control while="(ReadDP(DP_CTRL_STAT) & 0xA8000000) != 0xA8000000" timeout="300000"/>
<!-- JTAG Specific Part of sequence -->
- <control if="__protocol == 1">
+ <control if="(__protocol & 0xFFFF) == 1">
<block>
// Init AP Transfer Mode, Trans... |
CCode: Remove redundant comments | @@ -237,8 +237,6 @@ int elektraCcodeClose (Plugin * handle, Key * key ELEKTRA_UNUSED)
/** @see elektraDocGet */
int elektraCcodeGet (Plugin * handle, KeySet * returned, Key * parentKey)
{
- /* get all keys */
-
if (!strcmp (keyName (parentKey), "system/elektra/modules/ccode"))
{
KeySet * pluginConfig =
@@ -282,7 +280,6... |
Fix leak in configOptionRemote().
A Pack and String were leaked. | @@ -63,9 +63,11 @@ configOptionRemote(ProtocolClient *client, const VariantList *paramList)
for (unsigned int paramIdx = 0; paramIdx < varLstSize(paramList); paramIdx++)
pckWriteStrP(param, varStr(varLstGet(paramList, paramIdx)));
+ const String *const json = pckReadStrP(protocolClientExecute(client, command, true));
+... |
BugID:19675668: Cleanup kconfig_template from gen_configin.py | @@ -6,7 +6,6 @@ import shutil
from aos_parse_components import get_comp_name
# Global definitions
-templatedir = "build/scripts/kconfig_template"
top_config_in = "build/Config.in"
board_config_in = "board/Config.in"
example_config_in = "app/example/Config.in"
@@ -62,11 +61,11 @@ def get_opt_config(config_file, keyword,... |
changed the way to merge static and dynamic region | @@ -73,22 +73,29 @@ set ::env(WIDTHCOL4) $widthCol4
##
## create temporary in memory project
-puts [format "%-*s%-*s%-*s" $widthCol1 "" [expr $widthCol2 + $widthCol3] "creating in memory project" $widthCol4 "[clock format [clock seconds] -format {%T %a %b %d %Y}]"]
-create_project -in_memory -part $fpga_part >> $logfil... |
Fix max DCMI transfer size. | #include "framebuffer.h"
#include "omv_boardconfig.h"
-#define MAX_XFER_SIZE (0xFFFC*4)
+#define MAX_XFER_SIZE (0xFFFF*4)
sensor_t sensor = {0};
TIM_HandleTypeDef TIMHandle = {0};
|
Remove unused declarations from STM32 SPI declarations | @@ -110,26 +110,4 @@ struct NF_PAL_SPI
extern NF_PAL_SPI SPI6_PAL;
#endif
-// when a SPI is defined the declarations bellow will have the real function/configuration
-// in the target folder @ target_windows_devices_SPI_config.cpp
-void Init_SPI1();
-void Init_SPI2();
-void Init_SPI3();
-void Init_SPI4();
-void Init_SP... |
examples/littlevgl: Add missing btn event handler | @@ -142,7 +142,9 @@ static void text_area_event_handler(lv_obj_t *text_area, lv_event_t event)
{
(void)text_area;
- /* Text area is on the scrollable part of the page but we need the page itself */
+ /* Text area is on the scrollable part of the
+ * page but we need the page itself
+ */
lv_obj_t *parent = lv_obj_get_pa... |
Remove redundant check and add more logging | @@ -250,10 +250,11 @@ void ngtcp2_cc_cubic_cc_on_pkt_acked(ngtcp2_cc *ccx, ngtcp2_conn_stat *cstat,
}
cc->w_tcp = cstat->cwnd;
- }
- if (cstat->cwnd > cc->target_cwnd) {
- return;
+ ngtcp2_log_info(cc->ccb.log, NGTCP2_LOG_EVENT_RCV,
+ "cubic-ca epoch_start=%" PRIu64 " k=%" PRIu64
+ " origin_point=%" PRIu64,
+ cc->epoch... |
Typo fix in help text | @@ -373,7 +373,7 @@ ADVANCED COMPRESSION
-exhaustive : 1000.0
-planecorlimit <factor>
- Stop compression after testing only one planes of weights,
+ Stop compression after testing only one plane of weights,
unless the minimum color correlation factor between any pair of
color channels is below this factor. This option ... |
Makefile.vc: add sharpyuv_csp.obj to SHARPYUV_OBJS
missed in:
libsharpyuv: add colorspace utilities | @@ -176,6 +176,7 @@ CFLAGS = $(CFLAGS) /D_UNICODE /DUNICODE
SHARPYUV_OBJS = \
$(DIROBJ)\sharpyuv\sharpyuv.obj \
+ $(DIROBJ)\sharpyuv\sharpyuv_csp.obj \
$(DIROBJ)\sharpyuv\sharpyuv_dsp.obj \
$(DIROBJ)\sharpyuv\sharpyuv_neon.obj \
$(DIROBJ)\sharpyuv\sharpyuv_sse2.obj \
|
[test] Remove the test data directory when finish the contract test | @@ -2,6 +2,7 @@ package state
import (
"bytes"
+ "os"
"testing"
"github.com/aergoio/aergo/types"
@@ -20,6 +21,7 @@ func initTest(t *testing.T) {
}
func deinitTest() {
chainStateDB.Close()
+ os.RemoveAll("test")
}
func TestContractStateCode(t *testing.T) {
initTest(t)
|
Analysis workflow, test ctime replacement. | @@ -687,7 +687,11 @@ do_macro_ctime(char* arg)
log_err("macro ctime: expected number, not: %s", arg);
return NULL;
}
+#ifndef HAVE_CTIME_R
+ unbound_ctime_r(&tt, buf);
+#else
ctime_r(&tt, buf);
+#endif
strip_end_white(buf);
return strdup(buf);
}
|
Parallel pool startup | @@ -332,7 +332,9 @@ namespace Miningcore
.Select(config=> RunPool(config, coinTemplates, ct)));
}
- private async Task RunPool(PoolConfig poolConfig, Dictionary<string, CoinTemplate> coinTemplates, CancellationToken ct)
+ private Task RunPool(PoolConfig poolConfig, Dictionary<string, CoinTemplate> coinTemplates, Cancel... |
Updated Travis CI configuration: Ubuntu 19.04 (Disco Dingo) is now obsolete. | @@ -42,22 +42,6 @@ matrix:
group: travis_latest
env: DOCKER="ubuntu:eoan" VARIANT="ubuntu" TOOL="pbuilder"
- # ====== Ubuntu 19.04 (Disco Dingo) ======================================
- - name: "Ubuntu 19.04 (Disco Dingo) with GCC"
- os: linux
- dist: xenial
- group: travis_latest
- env: DOCKER="ubuntu:disco" VARIANT="... |
ci(stale) bump action version
This should fix a couple problems I've noted with issues not having their stale status removed. | @@ -9,7 +9,7 @@ jobs:
if: github.repository == 'lvgl/lvgl'
runs-on: ubuntu-latest
steps:
- - uses: actions/stale@v3
+ - uses: actions/stale@v5
with:
repo-token: ${{ secrets.LVGL_BOT_TOKEN }}
stale-issue-message: 'This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or thi... |
esp_http_server: fix return values for `httpd_socket_send()` and `httpd_socket_recv()` APIs
Closes | @@ -622,10 +622,10 @@ int httpd_socket_send(httpd_handle_t hd, int sockfd, const char *buf, size_t buf
{
struct sock_db *sess = httpd_sess_get(hd, sockfd);
if (!sess) {
- return ESP_ERR_INVALID_ARG;
+ return HTTPD_SOCK_ERR_INVALID;
}
if (!sess->send_fn) {
- return ESP_ERR_INVALID_STATE;
+ return HTTPD_SOCK_ERR_INVALID;... |
Enable zcl attribute reporting for ubisys onoff and level clusters | @@ -664,6 +664,9 @@ void DeRestPluginPrivate::checkLightBindingsForAttributeReporting(LightNode *lig
else if (lightNode->manufacturer() == QLatin1String("OSRAM"))
{
}
+ else if (lightNode->manufacturerCode() == VENDOR_UBISYS)
+ {
+ }
else
{
return;
|
Refactor. Use lookup and dispatch | @@ -146,6 +146,15 @@ static int get_native_type(grib_accessor* a)
return GRIB_TYPE_STRING;
}
+/* Function pointer than takes a handle and returns the proj string */
+typedef int (*proj_func)(grib_handle*, char*);
+struct proj_mapping {
+ const char* gridType; /* key gridType */
+ proj_func func; /* function to compute ... |
SOVERSION bump to version 2.0.5 | @@ -38,7 +38,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 2)
set(SYSREPO_MINOR_SOVERSION 0)
-set(SYSREPO_MICRO_SOVERSION 4)
+set(SYSREPO_MICRO_SO... |
Add 3.10 to test-python. | @@ -338,7 +338,7 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-10.15]
- python: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9"]
+ python: ["2.7", "3.5", "3.6", "3.7", "3.8", "3.9", "3.10"]
steps:
- uses: actions/checkout@v2
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.