message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
Fixed copy not to potentially mess up buffers host mem allocation + readability improvement | @@ -416,25 +416,18 @@ pocl_exec_command (_cl_command_node * volatile node)
/* if source and destination are in different global mem
data needs to be read to the host memory and then written to
destination device */
- else
- {
- void* tofree = NULL;
- void* tmp = NULL;
- if (src_buf->flags & CL_MEM_USE_HOST_PTR)
- tmp =... |
BugID:17958917: BT Mesh CLI Bug fix found during debug. | @@ -54,12 +54,13 @@ static struct cli_command mcmd = { .name = "bt_mesh",
.function = handle_bt_mesh_cmd };
#endif
+extern int hci_driver_init();
int application_start(int argc, char **argv)
{
#ifdef CONFIG_AOS_CLI
aos_cli_register_command(&mcmd);
#endif
-
+ hci_driver_init();
aos_loop_run();
return 0;
}
|
ixfr-out, fix ixfr create to write size in bytes in the ixfr zone file. | @@ -907,10 +907,10 @@ static void ixfr_create_finishup(struct ixfr_create* ixfrcr,
if(strchr(nowstr, '\n'))
*strchr(nowstr, '\n') = 0;
snprintf(log_buf, sizeof(log_buf),
- "IXFR created by NSD %s for %s %u to %u at time %s",
+ "IXFR created by NSD %s for %s %u to %u of %u bytes at time %s",
PACKAGE_VERSION, wiredname2s... |
jenkinsfile: add opensuse leap 15.3 unstable packaging | @@ -460,6 +460,14 @@ def dockerInit() {
false
)
+ /* openSuse Leap 15.3 image used to install previously built packages */
+ DOCKER_IMAGES.opensuse_15_3_installed = dockerUtils.createDockerImageDesc(
+ "opensuse-15-3-installed", dockerUtils.&idTesting,
+ "./build/package",
+ "./scripts/docker/opensuse/15.3/release.Dock... |
Substitute precompiled gcc7 codes only when gcc is older than 9.x | @@ -89,14 +89,30 @@ ZTRSMKERNEL_RT = ../generic/trsm_kernel_RT.c
#SMINKERNEL = ../arm/min.c
#DMINKERNEL = ../arm/min.c
#
+ifneq ($(GCCVERSIONGTEQ9),1)
ISAMAXKERNEL = isamax_power9.S
+else
+ISAMAXKERNEL = isamax.c
+endif
IDAMAXKERNEL = idamax.c
+ifneq ($(GCCVERSIONGTEQ9),1)
ICAMAXKERNEL = icamax_power9.S
+else
+ICAMAXKE... |
Update Xcode settings. | isa = PBXProject;
attributes = {
DefaultBuildSystemTypeForWorkspace = Latest;
- LastUpgradeCheck = 1130;
+ LastUpgradeCheck = 1200;
ORGANIZATIONNAME = "IEEE-ISTO Printer Working Group";
TargetAttributes = {
72B402171C0CDFB400139783 = {
CLANG_WARN_INT_CONVERSION = YES;
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
CLANG_W... |
Add PronounModule | @@ -32,6 +32,9 @@ namespace FFXIVClientStructs.FFXIV.Client.UI
[VirtualFunction(7)]
public partial RaptureAtkModule* GetRaptureAtkModule();
+ [VirtualFunction(10)]
+ public partial PronounModule* GetPronounModule();
+
[VirtualFunction(11)]
public partial RaptureLogModule* GetRaptureLogModule();
|
add python3.10 wheel, try aarch | @@ -17,6 +17,10 @@ jobs:
strategy:
matrix:
os: [ubuntu-20.04, macos-10.15] # windows-2019,
+ cibw_archs: ["auto"]
+ include:
+ - os: ubuntu-20.04
+ cibw_archs: "aarch64"
steps:
- name: Checkout pysam
@@ -36,17 +40,19 @@ jobs:
if: runner.os == 'Linux'
uses: pypa/cibuildwheel@v2.1.2
env:
- CIBW_BUILD: cp36-* cp37-* cp38-... |
common/usb_pd_dual_role.c: Format with clang-format
BRANCH=none
TEST=none | @@ -158,8 +158,8 @@ int pd_find_pdo_index(uint32_t src_cap_cnt, const uint32_t * const src_caps,
prefer_cur = 1;
}
/*
- * pick the largest power if we don't see one staisfy
- * desired power
+ * pick the largest power if we don't see one
+ * staisfy desired power
*/
} else if (cur_uw == 0 || uw > cur_uw) {
prefer_cur =... |
[bsp/virt64/aarch64] Fixed format | @@ -24,6 +24,8 @@ config SOC_VIRT64_AARCH64
select ARCH_CPU_64BIT
select RT_USING_COMPONENTS_INIT
select RT_USING_USER_MAIN
+ select RT_USING_GIC
+ select RT_USING_RTC
default y
source "$BSP_DIR/driver/Kconfig"
|
admin/meta-packages: include wget in ohpc-base | @@ -54,6 +54,7 @@ Requires: lmod%{PROJ_DELIM}
Requires: losf%{PROJ_DELIM}
Requires: make
Requires: man
+Requires: wget
Requires: net-tools
Requires: nfs-utils
Requires: chrony
|
Utilities: Delete dumps unconditionally on failure; Fixed relative path of nvram.mojave | # Slight optimizations by PMheart and vit9696.
#
+if [ ! -x /usr/bin/dirname ] || [ ! -x /usr/sbin/nvram ] || [ ! -x /usr/bin/grep ] || [ ! -x /bin/chmod ] || [ ! -x /usr/bin/sed ] || [ ! -x /usr/bin/base64 ] || [ ! -x /bin/rm ] || [ ! -x /bin/mkdir ] || [ ! -x /bin/cat ] || [ ! -x /bin/dd ] || [ ! -x /usr/bin/stat ] |... |
npu2: Use correct kill type for TCE invalidation
kill_type is enum of OPAL_PCI_TCE_KILL_PAGES, OPAL_PCI_TCE_KILL_PE,
OPAL_PCI_TCE_KILL_ALL and phb4_tce_kill() gets it right but
npu2_tce_kill() uses OPAL_PCI_TCE_KILL which is an OPAL API token.
This fixes an obvious mistype. | @@ -1257,7 +1257,7 @@ static int64_t npu2_tce_kill(struct phb *phb, uint32_t kill_type,
* NPU2 doesn't support killing a PE so fall through
* and do a kill all instead.
*/
- case OPAL_PCI_TCE_KILL:
+ case OPAL_PCI_TCE_KILL_ALL:
npu2_write(npu, NPU2_ATS_TCE_KILL, NPU2_ATS_TCE_KILL_ALL);
break;
default:
|
libhfuzz: proper casting of funcs | @@ -61,7 +61,7 @@ static void* getsym(const char* sym) {
}
static void initializeLibcFunctions(void) {
- libc_memcmp = getsym("memcmp");
+ libc_memcmp = (int (*)(const void* s1, const void* s2, size_t n))getsym("memcmp");
if (!libc_memcmp) {
LOG_F("dlsym(memcmp) failed: %s", dlerror());
}
@@ -532,7 +532,7 @@ HF_REQUIRE... |
Flush write buffer before reading. | @@ -612,6 +612,10 @@ papplDeviceRead(
if (!device)
return (-1);
+ // Make sure any pending IO is flushed...
+ if (device->bufused > 0)
+ papplDeviceFlush(device);
+
gettimeofday(&starttime, NULL);
if (device->fd >= 0)
|
landscape: sets ModalButton label to nowrap
Fixes urbit/landscape#435 | -import React from "react"
-import { Box, Button, Icon, Text } from "@tlon/indigo-react"
-import {useModal} from "~/logic/lib/useModal";
+import React from 'react';
+import { Box, Button, Icon, Text } from '@tlon/indigo-react';
+import { useModal } from '~/logic/lib/useModal';
const ModalButton = (props) => {
- const {... |
framework/araui: Add set the update flag procedures
When a widget needs update transform matrix (when it is scaled or set pivot point), add set the update flag procedures to be updated its transform matrix by core thread. | @@ -871,9 +871,9 @@ static void _ui_widget_set_pivot_point_func(void *userdata)
info->body->pivot_x = info->x;
info->body->pivot_y = info->y;
- UI_FREE(info);
+ info->body->update_flag = true;
- // todo: Add redraw list
+ UI_FREE(info);
}
ui_error_t ui_widget_set_scale(ui_widget_t widget, float scale_x, float scale_y)
... |
artik053/openocd: fix build option for optimization
This commit add optimization options at build time. | @@ -29,6 +29,8 @@ fi
buildDir=$srcRoot
copyDir=$srcRoot/..
+CFLAGS="-mtune=generic -O2 -pipe"
+
die() {
if [ -n "$1" ]; then echo $1; fi
exit 1
@@ -121,6 +123,7 @@ setenv() {
;;
i386*|i686*)
HOST=${HOST}32
+ CFLAGS="-march=$HOSTTYPE $CFLAGS"
;;
*)
die "Unknown host type"
@@ -215,6 +218,7 @@ build-libftdi() {
-DLIBUSB_L... |
Fixed typo on i18n status code label. | #define STATUS_CODE_424 \
N_("424 - Failed Dependency: WebDAV)")
#define STATUS_CODE_426 \
- N_("426 - Upgrade Required Client should switch to a different protocol")
+ N_("426 - Upgrade Required: Client should switch to a different protocol")
#define STATUS_CODE_428 \
N_("428 - Precondition Required")
#define STATUS_C... |
all pallene functions now recieve an upvalue list parameter | @@ -391,10 +391,7 @@ function Coder:pallene_entry_point_declaration(f_id)
table.insert(args, {"lua_State *" , "L", ""})
table.insert(args, {"Udata *" , "G", ""})
table.insert(args, {"StackValue *", "base", ""})
-
- if #func.captured_vars >= 1 then
table.insert(args, {"TValue*", "U", C.comment("upvalues")})
- end
for i ... |
Fix deflate-etc.deflate.commentary.txt typo | @@ -3,7 +3,7 @@ and adding commentary:
offset xoffset ASCII hex binary
000000 0x0000 . 0x05 0b_...._.101 Dynamic Huffman block, final
- 000000 0x0000 . 0x04 0b_0000_0... NumLCodes: 257
+ 000000 0x0000 . 0x05 0b_0000_0... NumLCodes: 257
000001 0x0001 . 0xC0 0b_...0_0000 NumDCodes: 1
000001 0x0001 . 0xC0 0b_110._.... Num... |
Amended some further debug output | @@ -4113,12 +4113,12 @@ void DeRestPluginPrivate::bindingTimerFired()
{
if (i->restNode && !i->restNode->isAvailable())
{
- DBG_Printf(DBG_INFO_L2, "giveup binding srcAddr: %llX (not available)\n", i->binding.srcAddress);
+ DBG_Printf(DBG_INFO_L2, "giveup binding srcAddr: 0x%016llX (not available)\n", i->binding.srcAdd... |
Updated run_sollve.sh with additional support for ROCm AOMP testing. | # run_sollve.sh:
#
# --- Start standard header to set build environment variables ----
+
function getdname(){
local __DIRN=`dirname "$1"`
if [ "$__DIRN" = "." ] ; then
@@ -27,14 +28,19 @@ thisdir=$(getdname $0)
. $thisdir/aomp_common_vars
# --- end standard header ----
+if [[ "$ROCMASTER" == "1" ]]; then
+ pushd $AOMP_... |
Hotfix, change maximum temp file size | @@ -1228,7 +1228,7 @@ int xdag_blocks_start(int is_pool, int mining_threads_count, int miner_address)
g_light_mode = 1;
}
- if (xdag_mem_init(g_light_mode && !miner_address ? 0 : (((get_timestamp() - XDAG_ERA) >> 10) + (uint64_t)365 * 24 * 60 * 60) * 2 * sizeof(struct block_internal))) {
+ if (xdag_mem_init(g_light_mod... |
chat-hook: style touch-ups | ::
:_ this(state [%1 +.old])
%- zing
- ^- (list (list card))
%+ turn
%~ tap in
%^ scry:cc (set path)
?. &(?=(^ read) ?=(^ write))
~& [%missing-permission chat read=?=(~ read) write=?=(~ write)]
[%white [(slav %p (snag 0 chat)) ~ ~]]
+ ?+ [kind.u.read kind.u.write] !!
:: village: exclusive to writers
::
- ?: &(?=(%white... |
io MAINTENANCE unrecognized fallthrough in gcc7 | @@ -456,8 +456,8 @@ nc_read_poll(struct nc_session *session, int timeout)
}
fds.fd = SSL_get_fd(session->ti.tls);
- /* fallthrough */
#endif
+ /* fallthrough */
case NC_TI_FD:
if (session->ti_type == NC_TI_FD) {
fds.fd = session->ti.fd.in;
|
Mention submodules in the build instructions.
Without fetching the submodules, compilation and installation is successful,
but an error occurs when starting the demo cluster. | @@ -46,6 +46,9 @@ Follow [appropriate linux steps](README.Linux.md) for getting your system ready
### Build the database
```
+# Initialize and update submodules in the repository
+git submodule update --init
+
# Configure build environment to install at /usr/local/gpdb
./configure --with-perl --with-python --with-libxm... |
OpenCanopy: Disable not fully implemented code
closes acidanthera/bugtracker#834 | @@ -48,7 +48,7 @@ extern GUI_OBJ_CLICKABLE mBootPickerSelector;
extern CONST GUI_IMAGE mBackgroundImage;
STATIC UINT8 mBootPickerOpacity = 0xFF;
-STATIC UINT8 mBootPickerImageIndex = 0;
+// STATIC UINT8 mBootPickerImageIndex = 0;
BOOLEAN
GuiClickableIsHit (
@@ -1092,15 +1092,16 @@ InternalBootPickerAnimateImageList (
I... |
Fix lovr.headset.isTouched; | @@ -404,7 +404,7 @@ int l_lovrHeadsetIsTouched(lua_State* L) {
DeviceButton button = luaL_checkoption(L, 2, NULL, DeviceButtons);
bool touched;
FOREACH_TRACKING_DRIVER(driver) {
- if (driver->isDown(device, button, &touched)) {
+ if (driver->isTouched(device, button, &touched)) {
lua_pushboolean(L, touched);
return 1;
... |
Seding a STOP works too and is less drastic
Code wasn't sending stop on certain timeout events or with any
error conditions. | @@ -301,11 +301,8 @@ hal_i2c_master_write(uint8_t i2c_num, struct hal_i2c_master_data *pdata,
err:
if (regs && regs->EVENTS_ERROR) {
rc = regs->ERRORSRC;
+ regs->TASKS_STOP = 1;
regs->ERRORSRC = rc;
-
- // Disable/re-enable to release SCL after an error
- regs->ENABLE = TWI_ENABLE_ENABLE_Disabled;
- regs->ENABLE = TWI_... |
h2olog/quic: extract the master connection id | @@ -84,20 +84,35 @@ int trace_send_resp(struct pt_regs *ctx) {
"""
quic_bpf = """
+#define MAX_STR_LEN 32
+
+struct st_quicly_conn_t {
+ u32 dummy[4];
+ u32 master_id;
+};
+
struct quic_line_t {
- char type[32];
+ char type[MAX_STR_LEN];
+ char dcid[MAX_STR_LEN];
u64 at;
+ u32 master_conn_id;
};
BPF_PERF_OUTPUT(quic_ev... |
misc: add support to update linked package when optional package arg is provided | @@ -126,7 +126,7 @@ update_pkg_if_link () {
cd $TMPDIR || ERROR "unable to cd to $TMPDIR"
osc co ${branchNew} $1
- osc api -X GET "/source/${parent_path}/$1/_link" > ${localdir}/_link || ERROR "unable to copy _link from ${parent_path}"
+ osc api -X GET "/source/${parent_path}/$2/_link" > ${localdir}/_link || ERROR "una... |
Install some deps in CircleCI. | @@ -9,6 +9,7 @@ DEPS_DIR="$SCRIPT_DIR/deps"
mkdir -p "$DEPS_DIR"
pushd "$DEPS_DIR"
+ # Install dependencies from package manager.
if [ "$TRAVIS_OS_NAME" == "linux" ]; then
sudo apt-get -qq update
sudo apt-get install --no-install-recommends \
@@ -24,12 +25,22 @@ pushd "$DEPS_DIR"
r-cran-rcpp \
-y;
fi
-
if [ "$TRAVIS_OS... |
volteer: Disable apthrottle console command
Reduce flash usage by 128 bytes.
TEST=make buildall
BRANCH=none | #define CONFIG_DEBUG_ASSERT_BRIEF
-/* Disable volume button command in EC console */
+/* Disable console commands to help save space */
+#undef CONFIG_CMD_APTHROTTLE
#undef CONFIG_CMD_BUTTON
+#undef CONFIG_CONSOLE_CMDHELP
/* Disable volume button in ectool */
#undef CONFIG_HOSTCMD_BUTTON
-/* Disable console command hel... |
OcAppleKernelLib: Fix CFG lock patch for SNB | @@ -69,7 +69,7 @@ PatchAppleCpuPmCfgLock (
&& Walker[3] == mMovEcxE2[3]
&& Walker[4] == mMovEcxE2[4]) {
STATIC_ASSERT (sizeof (mMovEcxE2) == 5, "Unsupported mMovEcxE2");
- Walker += sizeof (mMovCxE2);
+ Walker += sizeof (mMovEcxE2);
} else if (Walker[0] == mMovCxE2[0]
&& Walker[1] == mMovCxE2[1]
&& Walker[2] == mMovCxE... |
Fix update handler | @@ -160,6 +160,8 @@ bool LuaVM::HookRunningStateRun(uintptr_t aThis, uintptr_t aApp)
luavm.Update(cSeconds.count());
+ luavm.m_lastframe = cNow;
+
return luavm.m_realRunningStateRun(aThis, aApp);
}
|
Snapcraft Proxy Test | @@ -47,7 +47,7 @@ parts:
- qtbase5-dev-tools
override-build: |
echo "Downgrading OpenSSL to 1.0.1j"
- sudo wget http://www.openssl.org/source/openssl-1.0.1j.tar.gz
+ sudo wget -e use_proxy=yes -e http_proxy=http://10.10.10.1:8222 http://www.openssl.org/source/openssl-1.0.1j.tar.gz
sudo tar -xzvf openssl-1.0.1j.tar.gz
c... |
Check that there is enough space in the buffer to copy the payload. | @@ -2038,6 +2038,10 @@ input(void)
/* copy the payload if buffer is non-null - which is only the case with first fragment
or packets that are non fragmented */
if(buffer != NULL) {
+ if(uncomp_hdr_len + packetbuf_payload_len > buffer_size) {
+ LOG_ERR("input: cannot copy the payload into the buffer\n");
+ return;
+ }
m... |
Require libavformat >= 57.33
In ffmpeg/doc/APIchanges:
> 2016-04-11 - 6f69f7a / 9200514 - lavf 57.33.100 / 57.5.0 - avformat.h
> Add AVStream.codecpar, deprecate AVStream.codec.
Refs
Refs <https://github.com/Genymobile/scrcpy/issues/2862> | @@ -84,7 +84,7 @@ if not get_option('crossbuild_windows')
# native build
dependencies = [
- dependency('libavformat'),
+ dependency('libavformat', version: '>= 57.33'),
dependency('libavcodec'),
dependency('libavutil'),
dependency('sdl2', version: '>= 2.0.5'),
|
validate tiles have valid headers when raw reading tiles | @@ -1316,6 +1316,11 @@ TiledInputFile::rawTileData (int &dx, int &dy,
readNextTileData (_data->_streamData, _data, dx, dy, lx, ly,
tileBuffer->buffer,
pixelDataSize);
+
+ if ( !isValidLevel(lx,ly) || !isValidTile (dx, dy, lx, ly) )
+ throw IEX_NAMESPACE::ArgExc ("File contains an invalid tile");
+
+
if(isMultiPart(vers... |
Fix the printf warning after blkcnt_t change | /****************************************************************************
- * apps/fsutils/mkfatfs/writefat.c
+ * apps/fsutils/mkfatfs/mkfatfs.c
*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
@@ -154,8 +154,8 @@ static in... |
Ordering: Wrap terms in code delimiters | @@ -63,6 +63,6 @@ Here you see a table that contains all names:
8 postrollback postgetstorage postcommit
9 postrollback postgetstorage postcommit
-. How the placement is influenced using infos/placement, infos/ordering
-and infos/stacking is described in
+. How the placement is influenced using `infos/placement`, `info... |
Fixed a missed last argument (void *__arg) for pthread_create
Closes
Close | @@ -29,7 +29,7 @@ Example to tune the stack size of the pthread:
cfg.stack_size = (4 * 1024);
esp_pthread_set_cfg(&cfg);
- pthread_create(&t1, NULL, thread_func);
+ pthread_create(&t1, NULL, thread_func, NULL);
}
The API can also be used for inheriting the settings across threads. For example:
@@ -48,7 +48,7 @@ The API... |
chat-cli: Subscribe to /updates instead of /all
On first boot (and debug poke) we scry for /all to ensure we know all
messages. | ~& %chat-cli-prep
?^ old
[~ this(+<+ u.old)]
- :- [connect ~]
- %_ this
+ =^ moves this
+ %_ catch-up
audience [[our-self /] ~ ~]
settings (sy %showtime %notify ~)
width 80
==
+ [[connect moves] this]
+:: +catch-up: process all chat-store state
+::
+++ catch-up
+ ^- (quip move _this)
+ =/ =inbox
+ .^ inbox
+ %gx
+ (sco... |
Deprecate file validation
Remove 2 header files leftover from libsgx-enclave-common-devel which was removed
in | @@ -11,8 +11,6 @@ intel_sgx_packages:
- "libsgx-pce-logic"
packages_validation_distribution_files:
- - "/usr/include/sgx_attributes.h"
- - "/usr/include/sgx_enclave_common.h"
- "/usr/lib64/libsgx_enclave_common.so.1"
- "/usr/lib64/libsgx_pce.signed.so"
- "/usr/lib64/libsgx_qe3.signed.so"
|
Set cart type to using MBC1+RAM+Battery on windows | @@ -2,7 +2,7 @@ import fs from "fs-extra";
import Path from "path";
const CC = `..\\_gbs\\gbdk\\bin\\lcc -Wa-l -Wl-m -Wl-j -Wl-yt1 -Iinclude`;
-const CFLAGS = `-DUSE_SFR_FOR_REG -Wl-yo32 -Wl-ya4`;
+const CFLAGS = `-DUSE_SFR_FOR_REG -Wl-yt3 -Wl-yo32 -Wl-ya4`;
export default async buildRoot => {
let cmds = [];
|
[components][ulog] Add support with timestamp print in function ulog_hexdump | @@ -667,6 +667,9 @@ void ulog_hexdump(const char *tag, rt_size_t width, rt_uint8_t *buf, rt_size_t s
rt_size_t i, j;
rt_size_t log_len = 0, name_len = rt_strlen(tag);
+#ifdef ULOG_OUTPUT_TIME
+ rt_size_t time_head_len = 0;
+#endif
char *log_buf = NULL, dump_string[8];
int fmt_result;
@@ -703,6 +706,35 @@ void ulog_hexd... |
sse: include <windows.h> instead of <Windows.h>
mingw32, mingw64, and wine all use the lowercase version, and the name
on Windows is case-insensitive, so this should be the safer option.
Fixes | @@ -71,7 +71,7 @@ SIMDE_DISABLE_UNWANTED_DIAGNOSTICS
# if !defined(HEDLEY_INTEL_VERSION) && !defined(HEDLEY_EMSCRIPTEN_VERSION) && defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201112L) && !defined(__STDC_NO_ATOMICS__)
# include <stdatomic.h>
# elif defined(_WIN32)
-# include <Windows.h>
+# include <windows.h>
# en... |
prov/drbg: fix misspelling of '#ifdef FIPS_MODULE' | @@ -587,7 +587,7 @@ int PROV_DRBG_reseed(PROV_DRBG *drbg, int prediction_resistance,
}
if (ent != NULL) {
-#ifdef FIP_MODULE
+#ifdef FIPS_MODULE
/*
* NIST SP-800-90A mandates that entropy *shall not* be provided
* by the consuming application. Instead the data is added as additional
|
added additional info to help: NMEA is for use with GPX tools, CSV is for use with bash tools | @@ -5148,6 +5148,7 @@ printf("%s %s (C) %s ZeroBeat\n"
" delimiter: tabulator (0x08)\n"
" columns:\n"
" YYYY-MM-DD HH:MM:SS MAC_AP ESSID ENC_TYPE CIPHER AKM COUNTRY_INFO CHANNEL RSSI\n"
+ " to convert it to other formats, use bash tools or scripting languages\n"
"--log=<file> : output logfile\n"
"--raw-out=<file> : out... |
out_forward: fix variable | @@ -187,7 +187,7 @@ static int secure_forward_ping(struct flb_upstream_conn *u_conn,
/* [3] Shared key in Hexdigest format */
msgpack_pack_str(&mp_pck, 128);
- msgpack_pack_str_body(&mp_pck, shared_key_digest, 128);
+ msgpack_pack_str_body(&mp_pck, shared_key_hexdigest, 128);
/* [4] Username (disabled) */
msgpack_pack_... |
Add checks for psa_pake_set_user/psa_pake_set_peer in test_suite_psa_crypto | @@ -8158,6 +8158,18 @@ void ecjpake_setup( int alg_arg, int primitive_arg, int hash_arg, int role_arg,
PSA_ASSERT( status );
}
+ TEST_EQUAL( psa_pake_set_user( &operation, NULL, 0 ),
+ PSA_ERROR_INVALID_ARGUMENT );
+ TEST_EQUAL( psa_pake_set_peer( &operation, NULL, 0 ),
+ PSA_ERROR_INVALID_ARGUMENT );
+
+ const uint8_t... |
[drivers]Fix put_force bug | @@ -119,8 +119,11 @@ rt_size_t rt_ringbuffer_put_force(struct rt_ringbuffer *rb,
space_length = rt_ringbuffer_space_len(rb);
- if (length > space_length)
+ if (length > rb->buffer_size)
+ {
+ ptr = &ptr[length - rb->buffer_size];
length = rb->buffer_size;
+ }
if (rb->buffer_size - rb->write_index > length)
{
|
modcustomdevices: Allow I2C write with no register | @@ -219,17 +219,52 @@ STATIC mp_obj_t customdevices_I2CDevice_write(size_t n_args, const mp_obj_t *pos
customdevices_I2CDevice_obj_t *self = MP_OBJ_TO_PTR(pos_args[0]);
- mp_int_t regist = mp_obj_get_int(reg);
- if (regist < 0 || regist > 255) {
+ // First, deal with the case where no data is given
+ if (data == mp_con... |
add Install infos | @@ -19,3 +19,38 @@ Full documentation can be found at https://indigo-dc.gitbooks.io/oidc-agent/.
We have a low-traffic mailing list with updates such as critical security incidents and new releases: [Subscribe oidc-agent-user](https://www.lists.kit.edu/sympa/subscribe/oidc-agent-user)
Current releases are available at ... |
upstream: added dns resolver configuration switch | @@ -40,6 +40,12 @@ struct flb_config_map upstream_net[] = {
"Select the primary DNS connection type (TCP or UDP)"
},
+ {
+ FLB_CONFIG_MAP_STR, "net.dns.resolver", NULL,
+ 0, FLB_TRUE, offsetof(struct flb_net_setup, dns_resolver),
+ "Select the primary DNS resolver type (LEGACY or ASYNC)"
+ },
+
{
FLB_CONFIG_MAP_BOOL, "... |
autotest: adding CONTEND_ISNULL macro | @@ -198,6 +198,19 @@ void liquid_autotest_print_array(unsigned char * _x,
#define CONTEND_EXPRESSION_FL(F,L,X) TEST_EXPRESSION(F,L,#X,(X))
#define CONTEND_EXPRESSION(X) CONTEND_EXPRESSION_FL(__FILE__,__LINE__,X)
+// CONTEND_ISNULL
+#define TEST_ISNULL(F,L,EX,X) \
+{ \
+ if ((void*)(X)!=(NULL)) \
+ { \
+ liquid_autotest... |
Improve file_handler readability
Use local variables as short name aliases. | @@ -104,6 +104,12 @@ static int
run_file_handler(void *data) {
struct file_handler *file_handler = data;
+ const char *serial = file_handler->serial;
+ assert(serial);
+
+ const char *push_target = file_handler->push_target;
+ assert(push_target);
+
for (;;) {
sc_mutex_lock(&file_handler->mutex);
file_handler->current_... |
cleanup: fixing typo
BRANCH=none
TEST=none | @@ -203,7 +203,7 @@ enum power_state common_intel_x86_power_handle_state(enum power_state state)
case POWER_S5:
#ifdef CONFIG_BOARD_HAS_RTC_RESET
- /* Wait for S5 exit and attempt RTC reset it supported */
+ /* Wait for S5 exit and attempt RTC reset if supported */
if (power_s5_up)
return power_wait_s5_rtc_reset();
#en... |
add come more info to the Maya Session doc
about closing the session, and cleaning up the undo queue. | @@ -69,4 +69,12 @@ HARS links directly to libHAPI and to core Houdini libraries and their dependenc
Please note that the HARS server currently only supports a single client connection. If a client is connected to the server and another client tries to connect, then the second client will block until the first connectio... |
chat: nicknames use inter medium | @@ -229,6 +229,7 @@ export class MessageWithSigil extends PureComponent<MessageProps> {
fontSize={0}
mr={3}
mono={!showNickname}
+ fontWeight={(showNickname) ? '500' : '400'}
className={`mw5 db truncate pointer`}
ref={e => nameSpan = e}
onClick={() => {
|
CMSIS-DAP: DAP_XXX_Transfer() counts too much in case of break in the first loop | @@ -712,7 +712,8 @@ static uint32_t DAP_SWD_Transfer(const uint8_t *request, uint8_t *response) {
request_count = *request++;
- for (; request_count != 0U; request_count--) {
+ while (request_count != 0) {
+ request_count--;
request_value = *request++;
if ((request_value & DAP_TRANSFER_RnW) != 0U) {
// Read register
@@... |
Increase the network connection time in wrap test for the Azure pipeline. | @@ -23,6 +23,8 @@ extern int osInitTSC(struct rtconfig_t *);
#define PORT1 65430
#define PORT2 65431
#define LIKELY_FILE_SIZE 12000
+#define NET_DURATION 2000
+#define FS_DURATION 100
rtconfig g_cfg = {0};
@@ -76,7 +78,7 @@ testFSDuration(void** state)
log = strtok_r(NULL, delim, &last);
assert_non_null(log);
int durat... |
changed performSelector to dispatch_async | @@ -340,7 +340,10 @@ int on_http_cb(http_parser* parser) { return 0; }
if (is_net_trace()) {
RAWTRACE1("$NetRequestProcess$ CRhoURLProtocol %s :: startLoading()", [self selfIDstring]);
}
- [self performSelectorInBackground:@selector(startLoadingInThread) withObject:nil];
+
+ dispatch_async( dispatch_get_global_queue( D... |
framework/arastorage: set a maximum value of tuples defined in db_options.h
DB_TUPLE_LIMIT is a maximum number of tuples in a relation.
This value should be set according to use case.
A arastorage utc has test cases with more than 800 tuples.
So DB_TUPLE_LIMIT should be bigger than total tuples. | /* The maximum number of tuples in a relation. */
#ifndef DB_TUPLE_LIMIT
-#define DB_TUPLE_LIMIT 256
+#define DB_TUPLE_LIMIT 1000
#endif /* DB_TUPLE_LIMIT */
/* The number of int array in a cursor. */
|
Remove unreliable reset trigger | @@ -143,20 +143,6 @@ LRESULT APIENTRY Overlay::WndProc(HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lP
return 0;
}
- if (uMsg == WM_WINDOWPOSCHANGED)
- {
- auto wp = reinterpret_cast<WINDOWPOS*>(lParam);
- spdlog::info("\tWM_WINDOWPOSCHANGED message received! Position: ({0}, {1}) Size ({2}, {3}) Flags ({4:x})", wp->x, w... |
Fix coverity warning | @@ -696,8 +696,11 @@ dpdk_lib_init (dpdk_main_t * dm)
clib_warning ("VLAN strip cannot be supported by interface\n");
}
+ if (hi)
hi->max_l3_packet_bytes[VLIB_RX] = hi->max_l3_packet_bytes[VLIB_TX] =
xd->port_conf.rxmode.max_rx_pkt_len - sizeof (ethernet_header_t);
+ else
+ clib_warning ("hi NULL");
rte_eth_dev_set_mtu... |
esp_http_server : Test added to check limit on max_open_sockets config option | @@ -232,3 +232,22 @@ TEST_CASE("URI Wildcard Matcher Tests", "[HTTP SERVER]")
ut++;
}
}
+
+TEST_CASE("Max Allowed Sockets Test", "[HTTP SERVER]")
+{
+ test_case_uses_tcpip();
+
+ httpd_handle_t hd;
+ httpd_config_t config = HTTPD_DEFAULT_CONFIG();
+
+ /* Starting server with default config options should pass */
+ TEST... |
[kernel] fix w.r.t changes in numerics | @@ -85,7 +85,7 @@ struct AVI::_BoundsNSLEffect : public SiconosVisitor
AVI::AVI(int numericsSolverId): LinearOSNS(numericsSolverId)
{
_numerics_problem.reset(new AffineVariationalInequalities);
- _numerics_problem->poly = new polyhedron;
+ _numerics_problem->poly.split = new polyhedron;
solver_options_set(_numerics_sol... |
board/gimble/usbc_config.c: Format with clang-format
BRANCH=none
TEST=none | @@ -160,8 +160,7 @@ void board_reset_pd_mcu(void)
if (battery_hw_present())
gpio_set_level(GPIO_USB_C1_RT_RST_R_ODL, 0);
- msleep(GENERIC_MAX(PS8XXX_RESET_DELAY_MS,
- PS8815_PWR_H_RST_H_DELAY_MS));
+ msleep(GENERIC_MAX(PS8XXX_RESET_DELAY_MS, PS8815_PWR_H_RST_H_DELAY_MS));
gpio_set_level(GPIO_USB_C0_TCPC_RST_ODL, 1);
gp... |
DM: bug fix in handling signal
With curren code, DM will ignore the SIGHUP signal generated from
SOS reboot that causes DM will not release resource when SOS reboot
occurs. | @@ -648,6 +648,8 @@ main(int argc, char *argv[])
quit_vm_loop = 0;
hugetlb = 0;
+ if (signal(SIGHUP, sig_handler_term) == SIG_ERR)
+ fprintf(stderr, "cannot register handler for SIGHUP\n");
if (signal(SIGINT, sig_handler_term) == SIG_ERR)
fprintf(stderr, "cannot register handler for SIGINT\n");
|
config BUGFIX avoid casting to atomic_uintptr_t
Because it seems it does not have to behave
as a standard type.
Refs | #cmakedefine HAVE_STDATOMIC
#ifdef HAVE_STDATOMIC
# include <stdatomic.h>
+# include <stdint.h>
# define ATOMIC_UINT32_T atomic_uint_fast32_t
# define ATOMIC_PTR atomic_uintptr_t
-# define ATOMIC_STORE(x, val) atomic_store(&(x), (atomic_uintptr_t)(val))
+# define ATOMIC_STORE(x, val) atomic_store(&(x), (uintptr_t)(val)... |
refactor(memory check):
"invoke_tx_id" should check non-null in BoatHlchainmakerContractInvoke() | @@ -466,6 +466,10 @@ BOAT_RESULT BoatHlchainmakerContractInvoke(BoatHlchainmakerTx *tx_ptr, char* met
}
invoke_tx_id = BoatMalloc(BOAT_TXID_LEN + 1);
+ if(NULL == invoke_tx_id){
+ BoatLog(BOAT_LOG_CRITICAL, "Fail to malloc invoke_tx_id");
+ boat_throw(BOAT_ERROR_COMMON_OUT_OF_MEMORY, BoatHlchainmakerContractInvoke);
+ ... |
ExtendedTools: Revert (Remove unused lock) | * ETW statistics collection
*
* Copyright (C) 2010-2011 wj32
- * Copyright (C) 2019-2020 dmex
+ * Copyright (C) 2019-2022 dmex
*
* This file is part of Process Hacker.
*
@@ -34,10 +34,17 @@ VOID NTAPI EtEtwNetworkItemsUpdatedCallback(
_In_opt_ PVOID Context
);
+VOID EtpUpdateProcessInformation(
+ VOID
+ );
+
BOOLEAN Et... |
esp32/mphalport: When tx'ing to REPL only release GIL if many chars sent
Otherwise, if multiple threads are active, printing data to the REPL may be
very slow because in some cases only one character is output per call to
mp_hal_stdout_tx_strn. | @@ -61,11 +61,17 @@ void mp_hal_stdout_tx_str(const char *str) {
}
void mp_hal_stdout_tx_strn(const char *str, uint32_t len) {
+ // Only release the GIL if many characters are being sent
+ bool release_gil = len > 20;
+ if (release_gil) {
MP_THREAD_GIL_EXIT();
+ }
for (uint32_t i = 0; i < len; ++i) {
uart_tx_one_char(s... |
Have jsonfindptrs re-use the output string buffer
On a mid-range x86_64 laptop, processing the 181 MiB citylots.json file
from github.com/zemirco/sf-city-lots-json:
$ time gen/bin/example-jsonfindptrs < citylots.json > /dev/null
Before this commit:
real 0m9.774s
After:
real 0m8.822s
Ratio: 1.11x | @@ -189,6 +189,8 @@ static const char* g_usage =
std::vector<uint32_t> g_quirks;
+std::string g_dst;
+
struct {
int remaining_argc;
char** remaining_argv;
@@ -349,28 +351,35 @@ escape_needed:
}
std::string //
-print_json_pointers(JsonThing& jt, std::string s, uint32_t depth) {
- std::cout << s << '\n';
+print_json_poin... |
Call log_invalid_page() with MAIN_FORKNUM for AO.
Fixing compilation error introduced due to commit
with --enable-segwalrep. | @@ -222,6 +222,7 @@ forget_invalid_segment_file(RelFileNode rnode, uint32 segmentFileNum)
return; /* nothing to do */
key.node = rnode;
+ key.forkno = MAIN_FORKNUM;
key.blkno = segmentFileNum;
hash_search(invalid_page_tab,
(void *) &key,
@@ -430,7 +431,7 @@ XLogReadBufferExtended(RelFileNode rnode, ForkNumber forknum,
... |
ble_mesh: stack: Fix no events for some error conditions | @@ -1983,6 +1983,7 @@ void btc_ble_mesh_model_call_handler(btc_msg_t *msg)
arg->model_publish.device_role);
if (err) {
BT_ERR("Failed to set client role");
+ btc_ble_mesh_model_publish_comp_cb(arg->model_publish.model, err);
break;
}
}
@@ -1995,10 +1996,14 @@ void btc_ble_mesh_model_call_handler(btc_msg_t *msg)
struct ... |
component/bt: Fix bug rfcomm test command cause crash
find when BQB | ******************************************************************************/
#include <stddef.h>
+#include <string.h>
#include "common/bt_target.h"
#include "stack/rfcdefs.h"
#include "stack/port_api.h"
@@ -513,6 +514,13 @@ void rfc_send_test (tRFC_MCB *p_mcb, BOOLEAN is_command, BT_HDR *p_buf)
UINT16 xx;
UINT8 *p_s... |
test: Fix "ovn-nbctl - daemon retry connection" on musl
On musl libc, signal_name() returns "signal 15", not "Terminated".
Fixes: ("ovn-nbctl: Daemon mode should retry when IDL...") | @@ -1892,5 +1892,5 @@ OVN_NBCTL_TEST_START daemon
AT_CHECK([kill `cat ovsdb-server.pid`])
AT_CHECK([ovsdb-server --detach --no-chdir --pidfile --log-file --remote=punix:$OVS_RUNDIR/ovnnb_db.sock ovn-nb.db], [0], [], [stderr])
AT_CHECK([ovn-nbctl show], [0], [ignore])
-OVN_NBCTL_TEST_STOP /Terminated/d
+OVN_NBCTL_TEST_S... |
doc(rt-thread): add section:import a bsp project into rt-thread studio | @@ -42,3 +42,7 @@ LVGL has registered as a [software package](https://packages.rt-thread.org/en/de
| [STM32F469 Discovery](https://github.com/RT-Thread/rt-thread/tree/master/bsp/stm32/stm32f469-st-disco/applications/lvgl) | |
| [Raspberry PICO](https://github.com/RT-Thread/rt-thread/tree/master/bsp/raspberry-pico/appli... |
Print warning for unsupported rule condition operators | @@ -1401,10 +1401,10 @@ bool DeRestPluginPrivate::evaluateRule(Rule &rule, const Event &e, Resource *eRe
return false;
}
}
+ /*
else if (c->op() == RuleCondition::OpNotIn && c->suffix() == RConfigLocalTime)
{
return false; // TODO
- /*
if (rule.lastTriggered().isValid() &&
rule.lastTriggered() >= item->lastChanged())
{... |
fixed hr rendering | @@ -59,6 +59,11 @@ export class PostBody extends Component {
return element;
}
+ renderHR(what, node, attr, parentNode) {
+ const element = React.createElement(node, attr);
+ return element;
+ }
+
renderDefault(what, node, attr, parentNode) {
let dStyle = {
wordWrap: "break-word",
@@ -84,6 +89,8 @@ export class PostBod... |
[BSP] remove error log for SD/MMC driver in QEMU VExpress A9 BSP | @@ -351,9 +351,6 @@ static void mmc_request_send(struct rt_mmcsd_host *host, struct rt_mmcsd_req *re
req->cmd->resp[1] = cmd.response[1];
req->cmd->resp[0] = cmd.response[0];
- if(req->cmd->err)
- LOG_E("transfer cmd err ");
-
if (req->stop)
{
stop.cmdidx = req->stop->cmd_code;
|
common BUGFIX typo
Fixes | @@ -5083,7 +5083,7 @@ sr_xpath_next_predicate(const char *xpath, const char **pred, int *len, int *has
*len = ptr - (xpath + 1);
}
if (has_predicate) {
- *has_predicate = (ptr[0] && (ptr[0] + 1 == '[')) ? 1 : 0;
+ *has_predicate = (ptr[0] && (ptr[1] == '[')) ? 1 : 0;
}
return ptr + 1;
|
python CMakeList BUGFIX add destination directory when python bindings is installed | @@ -22,5 +22,5 @@ if (PYTHON)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/docs/Makefile.in ${CMAKE_CURRENT_SOURCE_DIR}/docs/Makefile)
add_custom_target(pyapi ALL COMMAND ${PYTHON} ${SETUP_PY} build -b ${PYAPI_BUILD_DIR} ${DEBUG})
add_custom_target(pyapidoc COMMAND make -f ${CMAKE_CURRENT_SOURCE_DIR}/docs/Makefile html)
... |
pompom: Update for inclusive terminology
Replace 'slave' with 'target' for more inclusive terminology.
BRANCH=none
TEST=The modified source file builds successfully. | @@ -607,7 +607,7 @@ static void board_detect_motionsensor(void)
int val = 0;
/*
- * BMA253 and LIS2DWL have same slave address, so we check the
+ * BMA253 and LIS2DWL have same target address, so we check the
* LIS2DWL WHO AM I register to check the lid accel type
*/
i2c_read8(I2C_PORT_SENSOR, LIS2DWL_ADDR0_FLAGS, LIS2... |
VERSION bump to version 1.4.77 | @@ -45,7 +45,7 @@ endif()
# micro version is changed with a set of small changes or bugfixes anywhere in the project.
set(SYSREPO_MAJOR_VERSION 1)
set(SYSREPO_MINOR_VERSION 4)
-set(SYSREPO_MICRO_VERSION 76)
+set(SYSREPO_MICRO_VERSION 77)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_MI... |
Test resuming a general entity catches XML errors | @@ -4682,6 +4682,26 @@ START_TEST(test_suspend_resume_internal_entity)
}
END_TEST
+/* Test syntax error is caught at parse resumption */
+START_TEST(test_resume_entity_with_syntax_error)
+{
+ const char *text =
+ "<!DOCTYPE doc [\n"
+ "<!ENTITY foo '<suspend>Hi</wombat>'>\n"
+ "]>\n"
+ "<doc>&foo;</doc>\n";
+
+ XML_Set... |
WIN32 to _WIN32 for Compiler portability
_WIN32 is the standard according to the official documentation from Microsoft and also this fixes MinGW compile error. | #include <string>
#include <assert.h>
#include <time.h>
-#ifndef WIN32
+#ifndef _WIN32
#include <sys/times.h>
-#endif // WIN32
+#endif // _WIN32
#ifndef ILM_IMF_TEST_IMAGEDIR
#define ILM_IMF_TEST_IMAGEDIR
|
fix for high fps (why the fuck it wasnt fixed yet) | -
# Circle
from PIL import Image
-
from osr2mp4 import logger
from osr2mp4.EEnum.EImageFrom import ImageFrom
from osr2mp4.ImageProcess import imageproc
@@ -28,13 +26,14 @@ def prepare_approach(scale, time_preempt, settings):
"""
img = YImage(approachcircle, settings).img
approach_frames = []
- interval = int(settings.t... |
OSX: fix RhoSimulator bbuild | @@ -128,10 +128,10 @@ PRE_TARGETDEPS += #{$pre_targetdeps}
end
qmake = "#{$qmake} -o Makefile -r -spec macx-clang RhoSimulator.pro RHOSIMULATOR_BUILD=1"
- Jake.run3(qmake , $qt_project_dir, {}, true)
- #Jake.run3("#{$make} clean" , $qt_project_dir, {}, true)
- Jake.run3("#{$make} all" , $qt_project_dir, {}, true)
- Jak... |
doc: add IVSHMEM, mmio_resources, pt_intx in configuration tool
Add configration items: IVSHMEM, mmio_resources, pt_intx in
configuration tool documentation | @@ -168,6 +168,24 @@ Additional scenario XML elements:
Specify whether force to disable software workaround for Machine Check
Error on Page Size Change is enabled.
+``IVSHMEM`` (a child node of ``FEATURE``):
+ Specify the inter-VM shared memory configuration
+
+``IVSHMEM_ENABLED`` (a child node of ``FEATURE/IVSHMEM``):... |
[core] update comment about server.max-write-idle | @@ -1494,8 +1494,15 @@ static void connection_check_timeout (connection * const con, const unix_time64_
/* max_write_idle timeout currently functions as backend timeout,
* too, after response has been started.
- * future: have separate backend timeout, and then change this
- * to check for write interest before checkin... |
mesh: Provisioning: Reject identical random
Adds check for provisioning random values that are identical to our own,
and terminates the provisioning procedure.
this is port of | @@ -919,6 +919,12 @@ static void prov_random(const uint8_t *data)
BT_DBG("Remote Random: %s", bt_hex(data, 16));
+ if (!memcmp(data, link.rand, 16)) {
+ BT_ERR("Random value is identical to ours, rejecting.");
+ prov_fail(PROV_ERR_CFM_FAILED);
+ return;
+ }
+
if (bt_mesh_prov_conf(link.conf_key, data, link.auth, conf_v... |
kdb: remove gopts from default global plugins | @@ -330,14 +330,6 @@ KeySet * elektraDefaultGlobalConfig (void)
keyNew ("system/elektra/globalplugins/postcommit/user/plugins/#0/placements", KEY_VALUE, "spec", KEY_END),
keyNew ("system/elektra/globalplugins/postcommit/user/plugins/#0/placements/get", KEY_VALUE, "postgetstorage", KEY_END),
keyNew ("system/elektra/glob... |
param-indication: simplify the doc and add clear() function | // This extension lets the host tell the plugin that a parameter is currently
// mapped to a physical controller.
//
-// It is common that those controllers works using a bank of 8 knobs, and to
-// improve readability the host may assign a different color to each physical
-// knobs and indicate them on the GUI.
+// It... |
configdata.pm: Allow extra arguments when --query is given.
That allows operations like this:
./configdata.pm --query 'get_sources(@ARGV)' file1 file2 file3 | @@ -178,7 +178,10 @@ _____
'man' => \$man)
or die "Errors in command line arguments\n";
- if (scalar @ARGV > 0) {
+ # We allow extra arguments with --query. That allows constructs like
+ # this:
+ # ./configdata.pm --query 'get_sources(@ARGV)' file1 file2 file3
+ if (!$query && scalar @ARGV > 0) {
print STDERR <<"_____... |
Install system version | @@ -2,8 +2,6 @@ language: cpp
cache: ccache
-php: '5.4.x'
-
compiler: gcc
addons:
@@ -21,7 +19,7 @@ matrix:
- sudo add-apt-repository --yes ppa:ubuntu-toolchain-r/test
- sudo apt-add-repository --yes ppa:smspillaz/cmake-2.8.12
- sudo apt-get --yes update
- - sudo apt-get install --yes cmake cmake-data g++-4.8 libstdc++... |
Properly handle imports depending on the base SDK | // Use os_unfair_lock over OSSpinLock when building with the following SDKs: iOS 10, macOS 10.12 and any tvOS and watchOS
-#define TARGET_SDK_GE_10 TARGET_OS_WATCH || TARGET_OS_TV || (TARGET_OS_IOS &&__IPHONE_OS_VERSION_MIN_REQUIRED >= 100000) || (!TARGET_OS_IPHONE && __MAC_OS_X_VERSION_MIN_ALLOWED >= 101200)
+#define ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.