message
stringlengths
6
474
diff
stringlengths
8
5.22k
[mechanics] initialize _with_equality_contraints
@@ -534,13 +534,13 @@ void SiconosBulletCollisionManager::initialize_impl() } SiconosBulletCollisionManager::SiconosBulletCollisionManager() - : SiconosCollisionManager() + : SiconosCollisionManager(),_with_equality_constraints(false) { initialize_impl(); } SiconosBulletCollisionManager::SiconosBulletCollisionManager(c...
doc(spi_master): format the documentation of several fields and macros in `spi_master.h`
@@ -36,8 +36,8 @@ extern "C" #define SPI_DEVICE_HALFDUPLEX (1<<4) ///< Transmit data before receiving it, instead of simultaneously #define SPI_DEVICE_CLK_AS_CS (1<<5) ///< Output clock on CS line if CS is active /** There are timing issue when reading at high frequency (the frequency is related to whether native pins ...
job-impressions and job-impressions-completed are member variables in the server_job_t structure, so just set those values rather than (re)creating an attribute for them.
@@ -414,8 +414,36 @@ process_attr_message( { serverLogJob(SERVER_LOGLEVEL_DEBUG, job, "options[%d].name=\"%s\", .value=\"%s\"", num_options - i, option->name, option->value); - if (!strcmp(option->name, "job-impressions") || !strcmp(option->name, "job-impressions-col") || !strcmp(option->name, "job-media-sheets") || !s...
engine: warn when a 'retry' fails
@@ -185,6 +185,11 @@ static inline int flb_engine_manager(flb_pipefd_t fd, struct flb_config *config) flb_buffer_chunk_pop(config->buffer_ctx, thread_id, task); } #endif + /* Notify about this failed retry */ + flb_warn("[engine] Task cannot be retried: " + "task_id=%i thread_id=%i output=%s", + task->id, out_th->id, o...
dojo: parse %as in ++parse-value instead of ++parse-build Allows things like `+hello &helm-hi 'hi'`. Fixes
;~(plug (cold %ur lus) parse-url) ;~(plug (cold %ge lus) parse-model) ;~(plug (cold %te hep) sym (star ;~(pfix ace parse-source))) - ;~(plug (cold %as pad) sym ;~(pfix ace parse-source)) ;~(plug (cold %do cab) parse-hoon ;~(pfix ace parse-source)) parse-value == == ++ parse-value ;~ pose + ;~(plug (cold %as pad) sym ;~...
occ: Update Dynamic Data comment block with new GPU presence fields Document new GPU presence fields in the comment block next to struct occ_dynamic_data. Fixes: ("occ: Add support for GPU presence detection") Suggested-by: Shilpasri G Bhat
@@ -212,6 +212,11 @@ struct occ_response_buffer { * * struct occ_dynamic_data - Contains runtime attributes * @occ_state: Current state of OCC + * @major_version: Major version number + * @minor_version: Minor version number (backwards compatible) + * Version 1 indicates GPU presence populated + * @gpus_present: Bitmas...
Fix name of event method.
@@ -446,7 +446,7 @@ _papplSystemWebAddPrinter( " <tr><th></th><td><input type=\"submit\" value=\"Add Printer\"></td></tr>\n" " </tbody></table>\n" " </form>\n" - " <script>document.forms['form']['device_uri'].onChange = function () {\n" + " <script>document.forms['form']['device_uri'].onchange = function () {\n" " if (...
Test: Remove trailing semicolon from macro
@@ -37,7 +37,7 @@ using namespace kdb; cerr << message << endl; \ exit (1); \ } \ - SUCCEED () << message; + SUCCEED () << message #define succeed_if_same(x, y, message) ASSERT_EQ (x, y) << message #define compare_keyset(keySet1, keySet2) ASSERT_EQ (keySet1, keySet2) << "Key sets are not equal"
extmod/modlogger: experimental editor file write This adds experimental support to let the external editor create a file on the computer.
@@ -112,6 +112,7 @@ STATIC mp_obj_t tools_Logger_save(size_t n_args, const mp_obj_t *pos_args, mp_ma } #else tools_Logger_obj_t *self = MP_OBJ_TO_PTR(pos_args[0]); + mp_print_str(&mp_plat_print, "PB_OF\n"); #endif //PYBRICKS_HUB_EV3 // Read log size information @@ -155,6 +156,8 @@ STATIC mp_obj_t tools_Logger_save(size...
system/utils/README : Update heapinfo cmd information 1. heapinfo supports -e, -r and -k options, but there was no description in README. and for using heapinfo cmd, CONFIG_DEBUG_MM_HEAPINFO is mandantory, so changing the explanation for enabling the heapinfo cmd. 2. CONFIG_ENABLE_HEAPINFO is changed to CONFIG_ENABLE_H...
@@ -335,6 +335,11 @@ Options: -f Show the free list -g Show the User defined group allocation details (for -g option, CONFIG_HEAPINFO_GROUP is needed) + -e HEAP_IDX Show the heap[HEAP_IDX] allocation details + (-e option is available when CONFIG_MM_NHEAPS is greater than 1) + -r Show the all region information + (-r op...
Add osxfuse
@@ -27,17 +27,17 @@ RECURSE( platform platform/python protobuf + protobuf/java protobuf/python protobuf/python/test - protobuf/java protobuf/ut snappy sqlite3 tensorboard yaml zlib - zstd06 zstd + zstd06 ) IF (OS_FREEBSD OR OS_LINUX)
stm32/modpyb: Remove unused includes and clean up comments. The documentation (including the examples) for elapsed_millis and elapsed_micros can be found in docs/library/pyb.rst so doesn't need to be written in full in the source code.
#include <stdio.h> #include "py/runtime.h" -#include "py/gc.h" -#include "py/builtin.h" #include "py/mphal.h" #include "lib/utils/pyexec.h" -#include "lib/oofatfs/ff.h" -#include "lib/oofatfs/diskio.h" #include "drivers/dht/dht.h" -#include "gccollect.h" #include "stm32_it.h" #include "irq.h" -#include "systick.h" #inc...
consistent commit order
@@ -704,8 +704,7 @@ static bool mi_os_commitx(void* addr, size_t size, bool commit, bool conservativ #if defined(_WIN32) if (commit) { - // if the memory was already committed, the call succeeds but it is not zero'd - // *is_zero = true; + // *is_zero = true; // note: if the memory was already committed, the call succe...
add proc for loading an asset and connecting as history - to be used for shelf buttons
@@ -266,6 +266,9 @@ houdiniEngine_connectHistory(string $inputAttr, string $objects[], string $compo int $validObjectsCount = validateInputObjects($objects, $validObjects, $invalidObjects); + if(!`exists houdiniEngine_clearAssetInput`) + source houdiniEngineAssetInput; + if(size($invalidObjects)) { print("Error: Some s...
Clean up some code and comments in partbounds.c. Do some minor cleanup for commit 1) remove a useless assignment (in normal builds) and 2) improve comments a little. Back-patch to v13 where the aforementioned commit went in. Author: Etsuro Fujita Discussion:
@@ -1020,8 +1020,6 @@ partition_bounds_merge(int partnatts, JoinType jointype, List **outer_parts, List **inner_parts) { - PartitionBoundInfo outer_binfo = outer_rel->boundinfo; - /* * Currently, this function is called only from try_partitionwise_join(), * so the join type should be INNER, LEFT, FULL, SEMI, or ANTI. @...
fpgasupdate: hold the FME during non-PR update Holding an exclusive lock on the FME device during non-PR updates prevents another fpgaconf from initiating, preventing the driver from re-enabling the Port prematurely with respect to the initial non-PR update.
@@ -727,6 +727,7 @@ def main(): '%s : %s', pac.pci_node.pci_address, sec_dev.devpath) try: + with pac.fme: with sec_dev as descr: stat, mesg = update_fw(descr, args, pac) except SecureUpdateError as exc:
vpp-papi: Only install enum34 for python<=3.4.
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. +import sys + +stdlib_enum = sys.version_info >= (3, 4) try: from setuptools import setup, find_packages except ImportError: from distutils.co...
Add support of Cgroup Array in Python
@@ -142,6 +142,8 @@ def Table(bpf, map_id, map_fd, keytype, leaftype, **kwargs): t = LruHash(bpf, map_id, map_fd, keytype, leaftype) elif ttype == BPF_MAP_TYPE_LRU_PERCPU_HASH: t = LruPerCpuHash(bpf, map_id, map_fd, keytype, leaftype) + elif ttype == BPF_MAP_TYPE_CGROUP_ARRAY: + t = CgroupArray(bpf, map_id, map_fd, key...
remove unused network
@@ -7,12 +7,6 @@ x-scope-common: &scope-common working_dir: /opt/appscope privileged: true -networks: - fluentbit-net: - -volumes: - test_output: - services: # These tests run on all platforms; x86_64 and aarch64
Add support for TS011F_TZ3000_amdymr7l
{ "schema": "devcap1.schema.json", - "manufacturername": "_TZ3000_g5xawfcq", - "modelid": "TS0121", + "manufacturername": ["_TZ3000_g5xawfcq", "_TZ3000_amdymr7l"], + "modelid": ["TS0121", "TS011F"], "product": "BW-SHP13", "vendor": "Blitzwolf", "sleeper": false,
Remove pedantic arg
@@ -10,7 +10,7 @@ inc = include_directories('include') ent_sources = ['ent.c'] libent_dep = declare_dependency(sources : ent_sources, - compile_args : ['-Wall', '-pedantic'], + compile_args : ['-Wall'], include_directories : inc) libent = both_libraries('ent',
shareProfile: add missing lodash import
@@ -2,6 +2,7 @@ import React, { useState, useEffect } from 'react'; +import _ from 'lodash'; import { Box, Row, Text, BaseImage } from '@tlon/indigo-react'; import { uxToHex } from '~/logic/lib/util'; import { Sigil } from '~/logic/lib/sigil';
Updater: disable installer mode
@@ -66,7 +66,7 @@ HRESULT CALLBACK FinalTaskDialogCallbackProc( break; info.lpFile = PhGetStringOrEmpty(context->SetupFilePath); - info.lpParameters = L"-update"; + //info.lpParameters = L"-update"; info.lpVerb = PhGetOwnTokenAttributes().Elevated ? NULL : L"runas"; info.nShow = SW_SHOW; info.hwnd = hwndDlg;
feat(underglow): Debounce state settings save
@@ -227,6 +227,14 @@ static void zmk_rgb_underglow_tick_handler(struct k_timer *timer) { K_TIMER_DEFINE(underglow_tick, zmk_rgb_underglow_tick_handler, NULL); +#if IS_ENABLED(CONFIG_SETTINGS) +static void zmk_rgb_underglow_save_state_work() { + settings_save_one("rgb/underglow/state", &state, sizeof(state)); +} + +stat...
include: netutils: pppd.h: update license to Apache Brennan Ashton has signed the ICLA. As a result we can migrate the license to Apache.
/**************************************************************************** * apps/include/netutils/pppd.h * - * Copyright (C) 2015 Brennan Ashton. All rights reserved. - * Author: Brennan Ashton <bashton@brennanashton.com> + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license...
arm: fix fmadd parameter order
@@ -83,9 +83,9 @@ static inline float32x4_t glmm_fmadd(float32x4_t a, float32x4_t b, float32x4_t c) { #if defined(__aarch64__) - return vfmaq_f32(a, b, c); + return vfmaq_f32(c, a, b); #else - return vmlaq_f32(a, b, c); + return vmlaq_f32(c, a, b); #endif } @@ -93,9 +93,9 @@ static inline float32x4_t glmm_fnmadd(float3...
Solr updated to 6.6.4
<configuration> <!-- Version of Solr should be retrieved from a property file as well as the SHA1 --> - <url>http://archive.apache.org/dist/lucene/solr/6.6.2/solr-6.6.2.tgz</url> - <sha1>e4a772a7770010f85bfce26a39520584a85d5c3f</sha1> + <url>http://archive.apache.org/dist/lucene/solr/6.6.4/solr-6.6.4.tgz</url> + <sha1>...
fix(draw_sw): fix image cache to access the freed stack space
@@ -112,7 +112,6 @@ void lv_draw_sw_layer_blend(struct _lv_draw_ctx_t * draw_ctx, struct _lv_draw_la img.header.w = lv_area_get_width(draw_ctx->buf_area); img.header.h = lv_area_get_height(draw_ctx->buf_area); img.header.cf = draw_ctx->render_with_alpha ? LV_IMG_CF_TRUE_COLOR_ALPHA : LV_IMG_CF_TRUE_COLOR; - lv_img_cach...
gadgets/collect/process: Add missing Close() calls The documentation on NewCollectionWithOptions() states that "Omitting Collection.Close() during application shutdown is an error.", this commit fixes that by adding this missing line. Even if AttachIter() doesn't state we should call Close() on the returned link, it's ...
@@ -60,6 +60,7 @@ func RunCollector(enricher gadgets.DataEnricher, mntnsmap *ebpf.Map) ([]processc if err != nil { return nil, fmt.Errorf("failed to create BPF collection: %w", err) } + defer coll.Close() dumpTask, ok := coll.Programs[BPFIterName] if !ok { @@ -71,6 +72,7 @@ func RunCollector(enricher gadgets.DataEnrich...
Fix crash in usbmon
@@ -706,7 +706,7 @@ void *pcap_thread_fn(void *_driver) { survive_dump_buffer(ctx, pktData, usbp->data_len); } - if (usbp->event_type == 'C' && usbp->transfer_type == 2) { + if (usbp->event_type == 'C' && usbp->transfer_type == 2 && dev->so) { survive_usb_feature_read(dev->so, pktData, usbp->data_len); }
apps/examples/kernel_sample_main.c : Add check memory usage after workqueue test There is missing memory usage checking after running workqueue test.
@@ -467,6 +467,7 @@ static int user_main(int argc, char *argv[]) #ifdef CONFIG_SCHED_WORKQUEUE printf("\nuser_main: workqueue() test\n"); workqueue_test(); + check_test_memory_usage(); #endif #ifndef CONFIG_DISABLE_PTHREAD
Tests: skip "close failed" alert in test_proxy_parallel test.
@@ -196,6 +196,8 @@ Content-Length: 10 self.assertEqual(resp['body'], payload, 'body') def test_proxy_parallel(self): + self.skip_alerts.append(r'close\(\d+\) failed') + payload = 'X' * 4096 * 257 buff_size = 4096 * 258
Make all calss to WNCNetworkInformation inside try/catch block. Fixes
@@ -133,8 +133,8 @@ static NSLock* _allReachabilityOperationsLock; } + (void)_checkGlobalReachability { - WNCConnectionProfile* internetConnectionProfile = [WNCNetworkInformation getInternetConnectionProfile]; @try { + WNCConnectionProfile* internetConnectionProfile = [WNCNetworkInformation getInternetConnectionProfile...
Fix error reporting in external entity test handler
@@ -1180,7 +1180,7 @@ external_entity_loader(XML_Parser parser, strlen(test_data->parse_text), XML_TRUE) == XML_STATUS_ERROR) { - xml_failure(parser); + xml_failure(extparser); return XML_STATUS_ERROR; } XML_ParserFree(extparser);
dshot: tweak timing
// Tim_1 is running at 84mhz with APB2 clock currently configured at 42MHZ // clock cycles per bit for a bit timing period of 1.67us #define DSHOT_BIT_TIME ((PWM_CLOCK_FREQ_HZ / 1000 / profile.motor.dshot_time) - 1) -#define DSHOT_T0H_TIME (DSHOT_BIT_TIME * 0.30 + 0.05) -#define DSHOT_T1H_TIME (DSHOT_BIT_TIME * 0.60 + ...
fix typo in swayidle(1)
@@ -49,7 +49,7 @@ swayidle \ ``` This will lock your screen after 300 seconds of inactivity, then turn off your -displays after another 600 seconds, and turn your screens back on when resumed. +displays after another 300 seconds, and turn your screens back on when resumed. It will also lock your screen before your comp...
Import: Improve style of code blocks
@@ -54,30 +54,32 @@ kdb export system/backup > backup.ecf `backup.ecf` contains all the information about the keys below `system/backup`: ```sh -$ cat backup.ecf -kdbOpen 1 -ksNew 3 -keyNew 19 0 -system/backup/key1 -keyMeta 7 1 -binary -keyEnd -keyNew 19 0 -system/backup/key2 -keyMeta 7 1 -binary -keyEnd -keyNew 19 0 -...
common/usbc: Add missing fallthrough annotations BRANCH=none TEST=make buildall Code-Coverage: Zoss
@@ -74,11 +74,11 @@ void pe_run(int port, int evt, int en) case SM_PAUSED: if (!en) break; - /* fall through */ + __fallthrough; case SM_INIT: pe_init(port); local_state[port] = SM_RUN; - /* fall through */ + __fallthrough; case SM_RUN: if (en) run_state(port, &pe[port].ctx);
hexnumber: fix metadata see
- infos/recommends = - infos/placements = postgetstorage presetstorage - infos/status = maintained unittest nodep configurable -- infos/metadata = unit/base type +- infos/metadata = unit/base - infos/ordering = type - infos/description = converts hexadecimal values into decimal and back
out_null: accept metrics events
@@ -55,5 +55,6 @@ struct flb_output_plugin out_null_plugin = { .description = "Throws away events", .cb_init = cb_null_init, .cb_flush = cb_null_flush, + .event_type = FLB_OUTPUT_LOGS | FLB_OUTPUT_METRICS, .flags = 0, };
DDF cosmetics
"manufacturername": "$MF_LUMI", "modelid": "lumi.switch.n2aeu1", "vendor": "Xiaomi", - "product": "Aqara H1 2-gang switch (neutral wire) WS-EUK04", + "product": "Aqara H1 dual rocker switch (neutral wire) WS-EUK04", "sleeper": false, "status": "Gold", "subdevices": [ }, { "name": "attr/swversion", - "refresh.interval":...
Update: Memory.c: further improvement for control for mutual entailment support
@@ -372,7 +372,7 @@ void Memory_ProcessNewBeliefEvent(Event *event, long currentTime, double priorit } if(revision_happened) { - Memory_AddEvent(&c->belief, currentTime, priority, false, true, true, 0, false); + Memory_AddEvent(&c->belief, currentTime, priority, false, true, true, 0, temporalImplicationEvent); if(event...
qpacketmodem/autotest: adding useful print statement (if verbose)
@@ -116,6 +116,8 @@ void autotest_qpacketmodem_evm() // decode frame and get EVM estimate qpacketmodem_decode_soft(q, frame, payload_rx); float evm = qpacketmodem_get_demodulator_evm(q); + if (liquid_autotest_verbose) + printf(" EVM: %.3f dB, SNR: %.3f dB\n", evm, SNRdB); // destroy object qpacketmodem_destroy(q);
fix printf issue in GCC environment
@@ -155,13 +155,13 @@ _ssize_t _write_r(struct _reent *ptr, int fd, const void *buf, size_t nbytes) #ifdef WITH_LWIP_TELNETD TelnetWrite('\r'); #endif - hal_uart_send(&uart_stdio, (void *)"\r", 1, 0); + hal_uart_send(&uart_stdio, (void *)"\r", 1, AOS_WAIT_FOREVER); } #ifdef WITH_LWIP_TELNETD TelnetWrite(*tmp); #endif -...
luax_checkendpoints; Allows drawing a sphere/capsule using 2 endpoints.
@@ -529,11 +529,28 @@ static int l_lovrPassSphere(lua_State* L) { return 0; } +static bool luax_checkendpoints(lua_State* L, int index, float transform[16]) { + float *v, *u; + VectorType t1, t2; + if ((v = luax_tovector(L, index + 0, &t1)) == NULL || t1 != V_VEC3) return false; + if ((u = luax_tovector(L, index + 1, &...
Use config helpers in example
@@ -104,16 +104,13 @@ int initialize_cache(ocf_ctx_t ctx, ocf_cache_t *cache) context.error = &ret; /* Cache configuration */ - cache_cfg.backfill.max_queue_size = 65536; - cache_cfg.backfill.queue_unblock_size = 60000; - cache_cfg.cache_line_size = ocf_cache_line_size_4; - cache_cfg.cache_mode = ocf_cache_mode_wt; + o...
Remove unused 'now' variable in handleSensorEvent()
@@ -2537,7 +2537,6 @@ void DeRestPluginPrivate::handleSensorEvent(const Event &e) { return; } - const QDateTime now = QDateTime::currentDateTime(); // speedup sensor state check if ((e.what() == RStatePresence || e.what() == RStateButtonEvent) &&
Separate SoundData and SoundDataStrema constructors they take the same arguments so we can't overload the function parameterically. also I find it pretty confusing that lovr uses overloads so much in the api, so I really don't mind having a separate constructor :S
@@ -78,12 +78,7 @@ static int l_lovrDataNewSoundData(lua_State* L) { uint32_t sampleRate = luaL_optinteger(L, 3, 44100); SampleFormat format = luax_checkenum(L, 4, SampleFormat, "i16"); Blob* blob = luax_totype(L, 5, Blob); - SoundData* soundData; - if(blob) { - soundData = lovrSoundDataCreateRaw(frames, channels, samp...
Reformat AES changes for readability
@@ -550,15 +550,14 @@ int mbedtls_aes_setkey_enc( mbedtls_aes_context *ctx, const unsigned char *key, } #endif + ctx->rk_offset = 0; #if defined(MBEDTLS_PADLOCK_C) && defined(MBEDTLS_PADLOCK_ALIGN16) if( aes_padlock_ace == -1 ) aes_padlock_ace = mbedtls_padlock_has_support( MBEDTLS_PADLOCK_ACE ); if( aes_padlock_ace ) ...
YAML CPP: Add boolean config for `type` plugin
@@ -40,7 +40,8 @@ KeySet * contractYamlCpp (void) keyNew ("system/elektra/modules/yamlcpp/exports/set", KEY_FUNC, elektraYamlcppSet, KEY_END), #include ELEKTRA_README keyNew ("system/elektra/modules/yamlcpp/infos/version", KEY_VALUE, PLUGINVERSION, KEY_END), - keyNew ("system/elektra/modules/yamlcpp/config/needs/binary...
Fix PHP example.
@@ -7,7 +7,7 @@ include("tinyspline.php"); $spline = new BSpline(7); // Setup control points. -$ctrlp = $spline->ctrlp; +$ctrlp = $spline->controlPoints; $ctrlp[0] = -1.75; // x0 $ctrlp[1] = -1.0; // y0 $ctrlp[2] = -1.5; // x1 @@ -22,16 +22,16 @@ $ctrlp[10] = 0.0; // x5 $ctrlp[11] = 0.5; // y5 $ctrlp[12] = 0.5; // x6 $...
esp_http_server: Update LRU counter on accepting a new connection Closes
@@ -67,6 +67,8 @@ static esp_err_t httpd_accept_conn(struct httpd_data *hd, int listen_fd) close(new_fd); return ESP_FAIL; } + httpd_sess_update_lru_counter(hd->hd_sd->handle, new_fd); + ESP_LOGD(TAG, LOG_FMT("complete")); return ESP_OK; }
stm32/powerctrl: Disable IRQs during stop mode to allow reconfig on wake
@@ -260,6 +260,10 @@ set_clk: #endif void powerctrl_enter_stop_mode(void) { + // Disable IRQs so that the IRQ that wakes the device from stop mode is not + // executed until after the clocks are reconfigured + uint32_t irq_state = disable_irq(); + #if defined(STM32L4) // Configure the MSI as the clock source after waki...
Benchmarks: opmphm: activate all keysets
@@ -25,7 +25,7 @@ void printStderrExit (const char * msg); void showShape (void); // generate KeySets KeySetShape * getKeySetShapes (void); -const size_t numberOfShapes = 336; +const size_t numberOfShapes = 660; // config const size_t keySetsPerShape = 1; const size_t minN = 1000; @@ -725,12 +725,11 @@ KeySetShape * ge...
checks if call is available before calling call, closes
@@ -88,6 +88,8 @@ static void call_window_update_vumeters(struct call_window *win) static gboolean call_timer(gpointer arg) { struct call_window *win = arg; + if (!win || !win->call) + return false; call_window_update_duration(win); return G_SOURCE_CONTINUE; } @@ -96,6 +98,8 @@ static gboolean call_timer(gpointer arg) ...
Clarification in parametersDefault.
@@ -319,7 +319,7 @@ outSAMfilter None outSAMmultNmax -1 - int: max number of multiple alignments for a read that will be output to the SAM/BAM files. + int: max number of multiple alignments for a read that will be output to the SAM/BAM files. Note that if this value is not equal to -1, the top scoring alignment will b...
BUFR: Key 'bufrHeaderSubCentre' should not be a codetable
@@ -5,7 +5,7 @@ section_length[3] section1Length ; unsigned[1] masterTableNumber :dump; -codetable[1] bufrHeaderSubCentre 'common/c-1.table' : dump; +unsigned[1] bufrHeaderSubCentre : dump; codetable[1] bufrHeaderCentre 'common/c-1.table' : dump; unsigned[1] updateSequenceNumber :dump;
Check custom multitarget eval inheritance
@@ -1704,8 +1704,14 @@ cdef class _PreprocessParams: if params_to_json.get("eval_metric") == "PythonUserDefinedPerObject": self.customMetricDescriptor = _BuildCustomMetricDescriptor(params["eval_metric"]) - if (issubclass(params["eval_metric"].__class__, MultiTargetCustomMetric)): + is_multitarget_metric = issubclass(p...
[mod_fastcgi] fix NULL ptr deref from bugfix (fixes (thx rgenoud) x-ref: "SIGSEGV on file upload"
@@ -187,7 +187,7 @@ static handler_t fcgi_stdin_append(server *srv, handler_ctx *hctx) { } fcgi_header(&(header), FCGI_STDIN, request_id, weWant, 0); - hctx->wb->first->type == MEM_CHUNK /* else FILE_CHUNK for temp file */ + (chunkqueue_is_empty(hctx->wb) || hctx->wb->first->type == MEM_CHUNK) /* else FILE_CHUNK for te...
Compress byte reading macros in if statements exchange MBEDTLS_BYTE_x in if statements with MBEDTLS_GET_UINT16_BE
@@ -1848,8 +1848,7 @@ read_record_header: for( j = 0, p = buf + ciph_offset + 2; j < ciph_len; j += 2, p += 2 ) for( i = 0; ciphersuites[i] != 0; i++ ) { - if( p[0] != MBEDTLS_BYTE_1( ciphersuites[i] ) || - p[1] != MBEDTLS_BYTE_0( ciphersuites[i] )) + if( MBEDTLS_GET_UINT16_BE(p, 0) != ciphersuites[i] ) continue; got_c...
crypto: openssl - IV len not passed by caller. Callee knows from algo type
@@ -118,10 +118,10 @@ openssl_ops_enc_gcm (vlib_main_t * vm, vnet_crypto_op_t * ops[], u32 n_ops, int len; if (op->flags & VNET_CRYPTO_OP_FLAG_INIT_IV) - RAND_bytes (op->iv, op->iv_len); + RAND_bytes (op->iv, 8); EVP_EncryptInit_ex (ctx, cipher, 0, 0, 0); - EVP_CIPHER_CTX_ctrl (ctx, EVP_CTRL_GCM_SET_IVLEN, op->iv_len, ...
tweak box projection warm start for stability
@@ -673,12 +673,13 @@ static scs_float proj_box_cone(scs_float *tx, const scs_float *bl, } t = MAX(t - gt / MAX(ht, 1e-8), 0.); /* newton step */ #if VERBOSITY > 3 - scs_printf("t_new %4f, t_prev %4f, gt %4f, ht %4f\n", t, t_prev, gt, ht); + scs_printf("t warm start: %1.3e, t[0]: %1.3e\n", t_warm_start, tx[0]); + scs_p...
Fix build on Raspbian Stretch Issues
@@ -8,11 +8,9 @@ DEFINES += DECONZ_DLLSPEC=Q_DECL_IMPORT unix:contains(QMAKE_HOST.arch, armv6l) { DEFINES += ARCH_ARM ARCH_ARMV6 - INCLUDEPATH += /usr/include } unix:contains(QMAKE_HOST.arch, armv7l) { DEFINES += ARCH_ARM ARCH_ARMV7 - INCLUDEPATH += /usr/include } QMAKE_CXXFLAGS += -Wno-attributes \
added check for when no var has been selected
@@ -1689,10 +1689,20 @@ QvisSelectionsWindow::deleteSelection() void QvisSelectionsWindow::updateQuery() { + if( selectionProps.GetHistogramType() == + SelectionProperties::HistogramVariable && + selectionProps.GetHistogramVariable().empty() ) + { + Warning(tr("No histogram variable has been selected for the display ax...
TravisCI: simplify printing installed files
@@ -47,14 +47,14 @@ elif [[ ${MODE} = cmake ]]; then cmake . make all test make DESTDIR="${PWD}"/ROOT install - ( cd ROOT/ && find | sort ) + find ROOT -printf "%P\n" | sort elif [[ ${MODE} = cmake-oos ]]; then mkdir build cd build cmake .. make all test make DESTDIR="${PWD}"/ROOT install - ( cd ROOT/ && find | sort ) ...
Fix error handling in ts_internal_bspline_new.
@@ -340,6 +340,9 @@ void ts_internal_bspline_new(size_t n_ctrlp, size_t dim, size_t deg, const size_t sof_knots = n_knots + sof_real; const size_t sof_spline = sof_impl + sof_ctrlp + sof_knots; + tsError e; + jmp_buf b; + if (dim < 1) longjmp(buf, TS_DIM_ZERO); if (deg >= n_ctrlp) @@ -353,8 +356,14 @@ void ts_internal_...
make/import: copy the exported buildin registers copy the exported buildin registers to avoid symbols dropping on import build
@@ -95,6 +95,7 @@ fi WD=${PWD} IMPORTDIR=${WD}/import +BUILTINDIR=${WD}/builtin DARCHDIR=${IMPORTDIR}/arch DINCDIR=${IMPORTDIR}/include DLIBDIR=${IMPORTDIR}/libs @@ -144,6 +145,7 @@ SLIBDIR=${EXPORTDIR}/libs SSCRIPTSDIR=${EXPORTDIR}/scripts SSTARTDIR=${EXPORTDIR}/startup STOOLSDIR=${EXPORTDIR}/tools +REGISTERSDIR=${EXP...
Added newline for better readability.
@@ -772,6 +772,7 @@ log_fcb_copy_entry(struct log *log, struct fcb_entry *entry, struct fcb *fcb_tmp; rc = log_fcb_read(log, entry, &ueh, 0, LOG_BASE_ENTRY_HDR_SIZE); + if (rc != LOG_BASE_ENTRY_HDR_SIZE) { goto err; }
Added SceNpDrmForDriver
@@ -3511,9 +3511,29 @@ modules: sceNpSetPlatformType: 0xE807D0BC kernel: false nid: 0xECB62224 - SceNpDrmPackage: - nid: 0x78 - libraries: + SceNpDrm: + nid: 0xE7E2CE05 + libraries: + SceNpDrmForDriver: + functions: + ksceNpDrmCheckActData: 0x9265B350 + ksceNpDrmEbootSigConvert: 0xA29B75F9 + ksceNpDrmEbootSigGenMultiDi...
perf-tools/extrae: ignore post build checks
@@ -35,6 +35,7 @@ BuildRequires: binutils-devel BuildRequires: libxml2-devel BuildRequires: papi%{PROJ_DELIM} Requires: papi%{PROJ_DELIM} +#!BuildIgnore: post-build-checks # Default library install path %define install_path %{OHPC_LIBS}/%{compiler_family}/%{mpi_family}/%{pname}/%version
edit type conversion
@@ -57,7 +57,8 @@ namespace NKernel { while (i < docCount) { const ui64 highBits = ((ui64)qids[i]) << 32; - const ui64 lowBits = reinterpret_cast<ui32>(NextUniformF(&s)); + const int lowBits32 = reinterpret_cast<int>(NextUniformF(&s)); + const ui64 lowBits = lowBits32; keys[i] = lowBits | highBits; i += gridDim.x * blo...
Doc: Add how to configure network MTU size
@@ -144,3 +144,23 @@ It is important to note that your Ethernet controller driver of your MCU needs to support CONFIG_ARCH_PHY_INTERRUPT (and implement ``arch_phy_irq()``). +How to define the MTU and MSS for the network packets? +------------------------------------------------------ + +As you probably know the "MSS = ...
esp_eth: deprecate esp_eth_receive Ethernet driver is interrupt driven only, don't support polling mode. So deprecate esp_eth_receive API.
@@ -195,7 +195,8 @@ esp_err_t esp_eth_update_input_path( esp_err_t esp_eth_transmit(esp_eth_handle_t hdl, void *buf, size_t length); /** -* @brief General Receive +* @brief General Receive is deprecated and shall not be accessed from app code, +* as polling is not supported by Ethernet. * * @param[in] hdl: handle of Et...
Python Plugin: Require Python bindings
@@ -3,8 +3,9 @@ include (LibAddBinding) if (DEPENDENCY_PHASE) find_package(PythonLibs 3 QUIET) find_swig() + check_binding_included ("swig_python" BINDING_WAS_ADDED SUBDIRECTORY "swig/python" SILENT) - if (PYTHONLIBS_FOUND AND SWIG_FOUND) + if (PYTHONLIBS_FOUND AND SWIG_FOUND AND BINDING_WAS_ADDED) include (LibAddMacro...
update python developer tutorial Update python developer tutorial for lesson disksnoop.py.
@@ -194,7 +194,7 @@ REQ_WRITE = 1 # from include/linux/blk_types.h # load BPF program b = BPF(text=""" #include <uapi/linux/ptrace.h> -#include <linux/blkdev.h> +#include <linux/blk-mq.h> BPF_HASH(start, struct request *); @@ -217,9 +217,12 @@ void trace_completion(struct pt_regs *ctx, struct request *req) { } } """) -...
fix assertion bug for pxfprotocol test
@@ -107,6 +107,7 @@ test_pxfprotocol_import_first_call(void **state) /* set mock behavior for uri parsing */ GPHDUri* gphd_uri = palloc0(sizeof(GPHDUri)); + gphd_uri->fragments = palloc(sizeof(List)); expect_string(parseGPHDUri, uri_str, uri_param_segwork); will_return(parseGPHDUri, gphd_uri);
conf: parser: add syslog parser
Time_Key time Time_Format %Y-%m-%dT%H:%M:%S Time_Keep On + +[PARSER] + Name syslog + Format regex + Regex ^\<(?<pri>[0-9]+)\>(?<time>[^ ]* {1,2}[^ ]* [^ ]*) (?<host>[^ ]*) (?<ident>[a-zA-Z0-9_\/\.\-]*)(?:\[(?<pid>[0-9]+)\])?(?:[^\:]*\:)? *(?<message>.*)$ + Time_Key time + Time_Format %b %d %H:%M:%S
Java: fixing Spring applications start. This closes issue on GitHub.
@@ -1517,7 +1517,7 @@ public class Context implements ServletContext, InitParams || ci.isAnnotation() || ci.isAbstract()) { - return; + continue; } trace("loadInitializer: handles class: " + ci.getName());
sysdeps/managarm: convert sys_waitpid to helix_ng
@@ -59,38 +59,27 @@ int sys_waitpid(pid_t pid, int *status, int flags, struct rusage *ru, pid_t *ret } SignalGuard sguard; - HelAction actions[3]; - globalQueue.trim(); managarm::posix::CntRequest<MemoryAllocator> req(getSysdepsAllocator()); req.set_request_type(managarm::posix::CntReqType::WAIT); req.set_pid(pid); req...
rm unused variable;
@@ -424,7 +424,6 @@ static void fakeRenderTo(headsetRenderCallback callback, void* userdata) { glfwGetWindowSize(window, &w, &h); - float transform[16]; mat4_perspective(state.projection, state.clipNear, state.clipFar, 67 * M_PI / 180.0, (float)w/h); // render
update watch to github from example
-# This package is maintained in the same repository by the same people as -# upstream. Not sure if this is the smartest approach in general, but -# this makes watch obsolete +version=4 +opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/oidc-agent-$1\.tar\.gz/ \ + https://github.com/indigo-dc/oidc-agent/tags .*/v?(\d\S+)\.t...
OcAppleDiskImageLib: Remove incorrect FreePool() call.
@@ -252,7 +252,6 @@ InternalParsePlist ( Block = AllocatePool (BlockDictChildDataSize); if (Block == NULL) { - FreePool (Block); Result = FALSE; goto DONE_ERROR; }
nbtree README: move VACUUM linear scan section. Discuss VACUUM's linear scan after discussion of tuple deletion by VACUUM, but before discussion of page deletion by VACUUM. This progression is a lot more natural. Also tweak the wording a little. It seems unnecessary to talk about how it worked prior to PostgreSQL 8.2...
@@ -214,6 +214,34 @@ page). Since we hold a lock on the lower page (per L&Y) until we have re-found the parent item that links to it, we can be assured that the parent item does still exist and can't have been deleted. +VACUUM's linear scan, concurrent page splits +-------------------------------------------- + +VACUUM...
rsa_cms_verify: Avoid negative return with missing pss parameters Fixes
@@ -222,7 +222,7 @@ static int rsa_cms_verify(CMS_SignerInfo *si) CMS_SignerInfo_get0_algs(si, NULL, NULL, NULL, &alg); nid = OBJ_obj2nid(alg->algorithm); if (nid == EVP_PKEY_RSA_PSS) - return ossl_rsa_pss_to_ctx(NULL, pkctx, alg, NULL); + return ossl_rsa_pss_to_ctx(NULL, pkctx, alg, NULL) > 0; /* Only PSS allowed for ...
[drivers][alarm]Compact alarm output
@@ -753,21 +753,20 @@ void rt_alarm_dump(void) rt_alarm_t alarm; rt_uint8_t index = 0; - rt_kprintf("| id | YYYY-MM-DD hh:mm:ss | week | flag | en |\n"); - rt_kprintf("+----+---------------------+------+------+----+\n"); + rt_kprintf("| hh:mm:ss | week | flag | en |\n"); + rt_kprintf("+----------+------+------+----+\n"...
Fix lovr.data.newBlob(blob);
@@ -30,6 +30,7 @@ static int l_lovrDataNewBlob(lua_State* L) { size = blob->size; data = malloc(size); lovrAssert(data, "Out of memory"); + memcpy(data, blob->data, size); } const char* name = luaL_optstring(L, 2, ""); Blob* blob = lovrBlobCreate(data, size, name);
Fix library prefix of C# binding for Windows.
@@ -1061,6 +1061,11 @@ function (tinyspline_add_swig_library) COMPILE_FLAGS "${TINYSPLINE_BINDING_CXX_FLAGS} ${ARGS_FLAGS}") target_compile_definitions(${ARGS_TARGET} PUBLIC ${TINYSPLINE_CXX_DEFINITIONS}) + # Fix library prefix for C#. + if(${ARGS_LANG} STREQUAL "csharp") + set_property(TARGET ${ARGS_TARGET} + APPEND P...
Add eventDecoration when sending events via IDataInspector
@@ -668,6 +668,10 @@ namespace MAT_NS_BEGIN { m_customDecorator->decorate(*(event->source)); } + if (m_dataInspector) + { + m_dataInspector->decorate(*(event->source)); + } GetSystem()->sendEvent(event); } }
u3: cleanup comments about snapshot system limitations
//! ### limitations //! //! - loom page size is fixed (16 KB), and must be a multiple of the -//! system page size. (can the size vary at runtime give south.bin's -//! reversed order? alternately, if system page size > ours, the fault -//! handler could dirty N pages at a time.) -//! - update atomicity is suspect: patc...
Fix static mapping lookup issue for NAT plugin
@@ -3340,6 +3340,7 @@ snat_in2out_fast_static_map_fn (vlib_main_t * vm, } key0.addr = ip0->src_address; + key0.protocol = proto0; key0.port = udp0->src_port; key0.fib_index = rx_fib_index0;
Makefile: Add new opensuse-leap os id Newer opensuse no longer reports in /etc/os-release as opensuse. It refers to itself as opensuse-leap. I imagine they think that sounds cooler or something.
@@ -53,7 +53,7 @@ endif ifeq ($(filter ubuntu debian,$(OS_ID)),$(OS_ID)) PKG=deb -else ifeq ($(filter rhel centos fedora opensuse,$(OS_ID)),$(OS_ID)) +else ifeq ($(filter rhel centos fedora opensuse opensuse-leap,$(OS_ID)),$(OS_ID)) PKG=rpm endif @@ -139,6 +139,13 @@ else endif endif +ifeq ($(OS_ID),opensuse-leap) +ife...
[mod_openssl] reject invalid ALPN
@@ -662,7 +662,7 @@ mod_openssl_alpn_select_cb (SSL *ssl, const unsigned char **out, unsigned char * for (unsigned int i = 0, n; i < inlen; i += n) { n = in[i++]; - if (i+n > inlen) break; + if (i+n > inlen || 0 == n) break; switch (n) { #if 0 case 2: /* "h2" */
Triggers are stateless and always require processing
@@ -42,13 +42,6 @@ enum { // Does this trigger support per port automations? CLAP_TRIGGER_IS_AUTOMATABLE_PER_PORT = 1 << 4, - - // This trigger will affect the plugin output and requires to be done via - // process() if the plugin is active. - // - // A simple example would be a sample-and-hold, triggering it will chan...
add missing "void" in prototype.
@@ -99,7 +99,7 @@ static int gcd(int a, int b) return a; } -void setup_test_framework() +void setup_test_framework(void) { char *TAP_levels = getenv("HARNESS_OSSL_LEVEL"); char *test_seed = getenv("OPENSSL_TEST_RAND_ORDER");
Added ndb and signal messages to msg.js
@@ -97,9 +97,11 @@ var sbpImports = { imu: require('./imu.js'), logging: require('./logging.js'), navigation: require('./navigation.js'), + ndb: require('./ndb.js'), observation: require('./observation.js'), piksi: require('./piksi.js'), settings: require('./settings.js'), + signal: require('./signal.js'), system: requ...
icmpv6: add NTOHL when parse ICMPV6 option MTU
@@ -408,7 +408,7 @@ void icmpv6_input(FAR struct net_driver_s *dev, unsigned int iplen) { FAR struct icmpv6_mtu_s *mtuopt = (FAR struct icmpv6_mtu_s *)opt; - dev->d_pktsize = mtuopt->mtu; + dev->d_pktsize = NTOHL(mtuopt->mtu); } break;
fix(http2): move "BOAT_TLS_SUPPORT" and "BOAT_TLS_IDENTIFY_CLIENT" to "boatwallet.h"
@@ -29,6 +29,9 @@ boatwallet.h is the SDK header file. #include "boattypes.h" +#define BOAT_TLS_SUPPORT 1 //!< If need client support TLS, set it to 1. +#define BOAT_TLS_IDENTIFY_CLIENT 0 //!< If server need identify client, set it to 1. + //! @brief The generate mode of the used private key typedef enum {
Add link to where to find editors copy of the RATS arch doc
@@ -42,6 +42,12 @@ Depending on the plugin registration design, the app developer, the enclave signer, and/or the party configuring an application will choose one or more plugins to support and ensure they are available. +NOTE: The RATS Architecture referenced below is maintained in the +[RATS github repository](https:...
added documentation on * operator for strings
@@ -246,6 +246,12 @@ Returns a new string that concatenates this string and `other`. It is a runtime error if `other` is not a string. +### *****(count) operator + +Returns a new string that contains this string repeated `count` times. + +It is a runtime error if `count` is not a positive integer. + ### **==**(other) o...
Fix a spinlock leak for fault injector
@@ -734,9 +734,12 @@ FaultInjector_MarkEntryAsResume( } if (entryLocal->faultInjectorType != FaultInjectorTypeSuspend) + { + FiLockRelease(); ereport(ERROR, (errcode(ERRCODE_FAULT_INJECT), errmsg("only suspend fault can be resumed"))); + } entryLocal->faultInjectorType = FaultInjectorTypeResume;