message
stringlengths
6
474
diff
stringlengths
8
5.22k
enable BRCMFMAC and BRCMFMAC_USB
@@ -9,7 +9,7 @@ diff -rupN old/linux-xlnx-xilinx-v2016.4/arch/arm/configs/xilinx_zynq_defconfig CONFIG_MDIO_BITBANG=y CONFIG_INPUT_SPARSEKMAP=y CONFIG_INPUT_EVDEV=y -@@ -239,3 +240,123 @@ CONFIG_RCU_CPU_STALL_TIMEOUT=60 +@@ -239,3 +240,125 @@ CONFIG_RCU_CPU_STALL_TIMEOUT=60 CONFIG_FONTS=y CONFIG_FONT_8x8=y CONFIG_FONT_...
YAML CPP: Use explicit imports
#include "log.hpp" #include "read.hpp" #include "write.hpp" -using namespace yamlcpp; #include <kdb.hpp> #include <kdberrors.h> @@ -21,13 +20,23 @@ using namespace yamlcpp; #include "yaml-cpp/yaml.h" -using namespace ckdb; +using std::exception; +using std::overflow_error; + +using YAML::BadFile; +using YAML::EmitterEx...
media: Modify find_stream_in_device If type is AUDIO_DEVICE_PROCESS_TYPE_NONE, just return an available device.
@@ -1614,8 +1614,22 @@ audio_manager_result_t find_stream_in_device_with_process_type(device_process_ty audio_card_info_t *card; if (type == AUDIO_DEVICE_PROCESS_TYPE_NONE) { - meddbg("Type is AUDIO_DEVICE_PROCESS_TYPE_NONE\n"); - return AUDIO_MANAGER_INVALID_PARAM; + /* TODO : will be implemented later based on audio ...
SOVERSION bump to version 6.1.17
@@ -68,7 +68,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 6) set(SYSREPO_MINOR_SOVERSION 1) -set(SYSREPO_MICRO_SOVERSION 16) +set(SYSREPO_MICRO_S...
core/cpu: parallelise global CPU register setting jobs On a 176 thread system, before: [ 122.319923233,5] OPAL: Switch to big-endian OS [ 126.317897467,5] OPAL: Switch to little-endian OS after: [ 212.439299889,5] OPAL: Switch to big-endian OS [ 212.469323643,5] OPAL: Switch to little-endian OS
@@ -1304,17 +1304,30 @@ static void cpu_change_hid0(void *__req) static int64_t cpu_change_all_hid0(struct hid0_change_req *req) { struct cpu_thread *cpu; + struct cpu_job **jobs; + + jobs = zalloc(sizeof(struct cpu_job *) * cpu_max_pir + 1); + assert(jobs); for_each_available_cpu(cpu) { if (!cpu_is_thread0(cpu)) conti...
add attach command
@@ -195,6 +195,13 @@ namespace 'debug' do debugger.StartGdb(gdb_path) end + task :attach => ['config:android'] do + gdb_path = File.join($androidndkpath, "prebuilt", "windows-x86_64", "bin", "gdb") + debugger = AndroidDebug.new($app_package_name, $app_path, debug_port, 7777, device_type) + debugger.StartGdbServer + deb...
Support eth_getTransactionReceipt
top=(list ?(@ux (list @ux))) == [%eth-get-filter-changes fid=@ud] + [%eth-get-transaction-receipt txh=@ux] [%eth-send-raw-transaction dat=@ux] == :: :: %eth-get-filter-changes ['eth_getFilterChanges' (tape (num-to-hex fid.req)) ~] + :: + %eth-get-transaction-receipt + ['eth_getTransactionReceipt' (tape (transaction-to-...
Fix missed size_t printf Code was missed due to rework moving duplicated code into a function
@@ -283,7 +283,8 @@ static void handle_buffer_resizing( mbedtls_ssl_context *ssl, int downsizing, } else { - MBEDTLS_SSL_DEBUG_MSG( 2, ( "Reallocating in_buf to %d", in_buf_new_len ) ); + MBEDTLS_SSL_DEBUG_MSG( 2, ( "Reallocating in_buf to %" MBEDTLS_PRINTF_SIZET, + in_buf_new_len ) ); modified = 1; } } @@ -304,7 +305,...
[examples] - adjust vector_copy Makefile HSA libs are no longer installed into aomp/hsa/lib and were moved into aomp/lib.
@@ -9,7 +9,7 @@ endif AOMPHIP ?= $(AOMP) CFLAGS = -std=c++11 -I$(AOMP)/include -I$(AOMP)/../include -LFLAGS = -L$(AOMP)/lib -L$(AOMP)/../hsa/lib -lhsa-runtime64 -Wl,-rpath=$(AOMP)/hsa/lib +LFLAGS = -L$(AOMP)/lib -L$(AOMP)/lib -lhsa-runtime64 -Wl,-rpath=$(AOMP)/lib # find the current gpu, default to vega10 if unknown MY...
double-check unpackedBuffer created in DWA uncompress
@@ -2535,7 +2535,7 @@ DwaCompressor::uncompress if (acCompressedSize > 0) { - if (totalAcUncompressedCount*sizeof(unsigned short) > _packedAcBufferSize) + if ( !_packedAcBuffer || totalAcUncompressedCount*sizeof(unsigned short) > _packedAcBufferSize) { throw IEX_NAMESPACE::InputExc("Error uncompressing DWA data" "(corr...
chat: fixed eval function to disable scry
++ eval ::: %exp speech ::: extract contents of an %exp speech, evaluating ::: the {exp} if there is no {res} yet. + :: |= a=json ^- [cord (list tank)] =, ^? dejs-soft:format - =/ exp ((ot expression+so ~) a) + =+ exp=((ot expression+so ~) a) %- need - ?~ exp - [~ '' ~] + ?~ exp [~ '' ~] :+ ~ u.exp - =/ res ((ot output...
Build: pass attributes down to make rule generators For good measure, we pass down attributes when calling obj2shlib, obj2lib, obj2dso, obj2bin, or in2script. We currently don't use them in our build file templates, but might as well for future use.
unless ($disabled{shared} || $lib =~ /\.a$/) { my $obj2shlib = defined &obj2shlib ? \&obj2shlib : \&libobj2shlib; $OUT .= $obj2shlib->(lib => $lib, + attrs => $unified_info{attributes}->{$lib}, objs => $unified_info{shared_sources}->{$lib}, deps => [ reducedepends(resolvedepends($lib)) ], installed => is_installed($lib...
Clean up output indentation
@@ -842,9 +842,17 @@ static void get_value_for_key(grib_handle* h, const char* key_name, int key_type sprintf(value_str,"MISSING"); return; } + if (ret == GRIB_NOT_FOUND) { + sprintf(value_str,"not_found"); + return; + } if (type == GRIB_TYPE_UNDEFINED) { - grib_get_native_type(h, key_name, &type); + ret=grib_get_nativ...
use seat directly
@@ -1467,8 +1467,7 @@ struct wlr_surface *seat_get_focused_surface(struct sway_seat *seat) { if (focus && node_is_view(focus)) { return focus->sway_container->view->surface; } - struct sway_seat_node *current = wl_container_of(seat->focus_stack.next, current, link); - struct wlr_layer_surface_v1 *layer = current->seat-...
emitter: Make sure the storage for self is unique.
@@ -892,8 +892,11 @@ void lily_emit_change_block_to(lily_emit_state *emit, int new_type) void lily_emit_create_block_self(lily_emit_state *emit, lily_type *self_type) { - lily_storage *self = get_storage(emit, self_type); + /* It's important that the storage for self not be written over. Use a type + that isn't allowed...
Add -fvisibility=hidden flag in CMakeLists. This way, only functions marked with WEBP_EXTERN get exposed by the library. This flag is already set in other build configs: configure.ac, makefile.unix, Android.mk
@@ -117,6 +117,8 @@ set(includedir "\$\{prefix\}/include") set(PTHREAD_LIBS ${CMAKE_THREAD_LIBS_INIT}) set(INSTALLED_LIBRARIES) +set(CMAKE_C_VISIBILITY_PRESET hidden) + # ############################################################################## # Android only. if(ANDROID) @@ -614,6 +616,13 @@ if(WEBP_BUILD_EXTRAS)...
mm/mm_heap/mm_sem : Modfiy to return negated errno in failure case of mm_trysemaphore umm_trysemaphore and kmm_trysemaphore return negated errno in failure case, but mm_trysemaphore returns only ERROR. umm and kmm trysemaphore use the return of mm_trysemaphore, so matching the return of mm_trysemaphore to return negate...
@@ -120,7 +120,7 @@ int mm_trysemaphore(FAR struct mm_heap_s *heap) /* Try to take the semaphore (perhaps waiting) */ if (sem_trywait(&heap->mm_semaphore) != 0) { - return ERROR; + return -get_errno(); } /* We have it. Claim the stak and return */
hsa: http server: fix http response format type error Type: fix
@@ -238,7 +238,7 @@ static const char *http_response = "Expires: Mon, 11 Jan 1970 10:10:10 GMT\r\n" "Connection: close \r\n" "Pragma: no-cache\r\n" - "Content-Length: %d\r\n\r\n%s"; + "Content-Length: %d\r\n\r\n%v"; static const char *http_error_template = "HTTP/1.1 %s\r\n"
kiln: notify about local installs Remote install send a %commit because they receive new files. Local installs never receive files, so weren't notifying kiln subscribers. Here we "manually" send a %commit fact when installing a local desk.
~> %slog.0^leaf/"kiln: local install {here}" =. vats (update-running-apps (get-apps-diff our loc now rein.rak)) =. vats (emit listen:pass) + ::NOTE for foreign desks, the download triggers a "real" commit, because + :: we actually download the data. for local desks we do not download + :: any data, it's already there, ...
nat: nat44-ed sm fix Fixing nat44-ed identity map in2out communication. TCP packets would get dropped because of the order of testing TCP state. Type: fix
@@ -342,7 +342,7 @@ slow_path_ed (vlib_main_t *vm, snat_main_t *sm, vlib_buffer_t *b, ip4_address_t outside_addr; u16 outside_port; u32 outside_fib_index; - u8 is_identity_nat; + u8 is_identity_nat = 0; u32 nat_proto = ip_proto_to_nat_proto (proto); snat_session_t *s = NULL; @@ -350,17 +350,6 @@ slow_path_ed (vlib_main...
contact-view: remove (now) unnecessary metadata removal
(group-poke [%remove-group rid ~]) (contact-poke [%delete path.act]) == - (delete-metadata path.act) == :: %remove (metadata-hook-poke [%add-owned path]) == :: -++ delete-metadata - |= =path - ^- (list card) - :~ (metadata-poke [%remove path [%contacts path]]) - (metadata-hook-poke [%remove path]) - == -:: ++ all-scry ...
fcb; was not dealing with flash read failure from the middle of sector.
@@ -68,6 +68,9 @@ fcb_getnext_nolock(struct fcb *fcb, struct fcb_entry *loc) */ loc->fe_elem_off = sizeof(struct fcb_disk_area); rc = fcb_elem_info(fcb, loc); + } else { + rc = fcb_getnext_in_area(fcb, loc); + } switch (rc) { case 0: return 0; @@ -76,15 +79,6 @@ fcb_getnext_nolock(struct fcb *fcb, struct fcb_entry *loc...
Remove duplicate PackageFullName query
@@ -131,14 +131,11 @@ PPH_MODULE_PROVIDER PhCreateModuleProvider( if (processItem = PhReferenceProcessItem(ProcessId)) { PhSetReference(&moduleProvider->ProcessFileName, processItem->FileName); + PhSetReference(&moduleProvider->PackageFullName, processItem->PackageFullName); PhDereferenceObject(processItem); } - if (Wi...
[v6.0] add an option to define hard coded resolution
@@ -131,8 +131,13 @@ static inline void lv_scr_load(lv_obj_t * scr) * Recommended only if you have one display *------------------------------------------------*/ +#ifndef LV_HOR_RES #define LV_HOR_RES lv_disp_get_hor_res(lv_disp_get_default()) +#endif + +#ifndef LV_VER_RES #define LV_VER_RES lv_disp_get_ver_res(lv_dis...
[docsbuild] be ready to work with multimodule
@@ -7,7 +7,7 @@ DELIM = '================================' def extract_macro_calls(unit, macro_value_name): if not unit.get(macro_value_name): - return [] + return {} def split_args(arg): if arg is None: @@ -23,7 +23,15 @@ def extract_macro_calls(unit, macro_value_name): return dict(filter(None, map(split_args, unit.ge...
docker: fix pip command for debian sid
@@ -64,7 +64,7 @@ RUN apt-get update && apt-get -y install \ # Update cache for shared libraries RUN ldconfig -RUN pip install cmake-format[yaml]==0.6.3 +RUN pip3 install cmake-format[yaml]==0.6.3 # Google Test ENV GTEST_ROOT=/opt/gtest
Tests: added NJS iteration tests.
@@ -50,6 +50,12 @@ class TestNJS(TestApplicationProto): self.check_expression('${uri + host}') self.check_expression('${uri + `${host}`}') + def test_njs_iteration(self, temp_dir): + self.create_files('Connection,Host', 'close,localhost') + + self.check_expression('/${Object.keys(headers).sort().join()}') + self.check_...
Directory Value: Update OCLint suppressions
@@ -89,7 +89,10 @@ void test_roundtrip (kdb::KeySet keys, int const status = ELEKTRA_PLUGIN_STATUS_ // -- Tests -------------------------------------------------------------------------------------------------------------------------------- -TEST (directoryvalue, increaseArrayIndices) +TEST (directoryvalue, increaseArr...
testcase/wifi_manager: Fix wrong usage of wm apis change tc api from 'wifi_utils' to 'wifi_manager'
@@ -279,22 +279,22 @@ static void utc_wifi_manager_connect_ap_p(void) TC_SUCCESS_RESULT(); } -static void utc_wifi_utils_disconnect_ap_p(void) +static void utc_wifi_manager_disconnect_ap_p(void) { wifi_manager_result_e ret = WIFI_MANAGER_FAIL; - ret = wifi_utils_disconnect_ap(); + ret = wifi_manager_disconnect_ap(); TC...
Fix typo in xlog.c. Author: Fujii Masao Discussion:
@@ -3184,7 +3184,7 @@ XLogNeedsFlush(XLogRecPtr record) /* * Create a new XLOG file segment, or open a pre-existing one. * - * log, seg: identify segment to be created/opened. + * logsegno: identify segment to be created/opened. * * *use_existent: if true, OK to use a pre-existing file (else, any * pre-existing file wi...
Switch to ADDINCL contrib/libs/libiconv/include ADDINCL contrib/libs/libiconv provides too many includable files with generic names. Note: mandatory review (NEED_REVIEW) was skipped
# Btw: seems that this ADDINCL should be made global and removed from projects # that use this header - includes: - - iconv.h: contrib/libs/libiconv/iconv.h - -- source_filter: "^contrib/restricted/glib/glib/gconvert.c" - includes: - iconv.h: contrib/libs/libiconv/include/iconv.h - includes: - source_filter: "^contrib/...
Add more property mappings
@@ -79,6 +79,9 @@ namespace BamTools { PropertyMapping<BamAlignment, int32_t> Position; PropertyMapping<BamAlignment, int32_t> MatePosition; PropertyMapping<BamAlignment, int32_t> MateRefID; + PropertyMapping<BamAlignment, int32_t> InsertSize; + PropertyMapping<BamAlignment, int32_t> Length; + PropertyMapping<BamAlignm...
soapy lms - only rx cmix gets the swap
@@ -559,11 +559,11 @@ void SoapyLMS7::setFrequency(const int direction, const size_t channel, const st if (name == "BB") { - int pos = (rfic->Get_SPI_Reg_bits(LMS7_MASK, true) == 0)? 0 : 1; - int neg = pos ^ 0x1; + int pos = 0, neg = 1; switch (direction) { case SOAPY_SDR_RX: + if (rfic->Get_SPI_Reg_bits(LMS7_MASK, tru...
BugID:16601892: if USART3 use dma to recv data, it need to add the print to make it work. The reason is still unknown. It will fix later
@@ -275,16 +275,17 @@ static int32_t uart_receive_start_dma(PORT_UART_TYPE uart_port, uint32_t max_buf uint32_t temp_reg; pstuarthandle = &stm32_uart[uart_port].hal_uart_handle; + printf("uart %d enter uart_receive_start_dma instance 0x%x", + uart_port, pstuarthandle->Instance); //enable IDLE interrupt - temp_reg = REA...
CSHARP: Cleanup packaging for beta1 release
<Link>mongocrypt.pdb</Link> </Content> </ItemGroup> - - <!-- <ItemGroup Condition=" '$([System.Runtime.InteropServices.RuntimeInformation]::IsOSPlatform($([System.Runtime.InteropServices.OSPlatform]::Linux)))"> - <Content Include="$(MSBuildThisFileDirectory)../x64/native/osx/libmongocrypt.dylib"> - <CopyToOutputDirecto...
parser: initialize multiline parser_ctx to NULL
@@ -706,7 +706,7 @@ static int multiline_parser_conf_file(const char *cfg, struct flb_cf *cf, flb_sds_t parser; flb_sds_t tmp; int flush_timeout; - struct flb_parser *parser_ctx; + struct flb_parser *parser_ctx = NULL; struct mk_list *head; struct flb_cf_section *s; struct flb_ml_parser *ml_parser;
vere: fix URL for swap if not enough space also fix spacing in output message Otherwise the words run together on one line
@@ -1601,7 +1601,7 @@ u3m_init(void) -1, 0); u3l_log("boot: mapping %dMB failed\r\n", (len_w / (1024 * 1024))); - u3l_log("see urbit.org/docs/getting-started/installing-urbit/#swap" + u3l_log("see urbit.org/using/install/#about-swap-space" " for adding swap space\r\n"); if ( -1 != (c3_ps)map_v ) { u3l_log("if porting t...
net/lora: Get old apps building. Needed to make sure some static functions were not included for old lorashell and loraping apps. NOTE: this commit is untested.
@@ -149,6 +149,7 @@ lora_pkt_alloc(void) return p; } +#if !MYNEWT_VAL(LORA_NODE_CLI) static struct os_mbuf * lora_node_alloc_empty_pkt(void) { @@ -165,6 +166,7 @@ lora_node_alloc_empty_pkt(void) } return om; } +#endif /** * This is the application to mac layer transmit interface. @@ -536,6 +538,7 @@ lora_node_link_chec...
tests: build Cooja first in tun-rpl-br The tests depend on cooja.jar so make sure the file is built before starting the tests. This should not be the root cause of the intermittently failing CI tests, but this patch removes one source of non-determinism.
CONTIKI=../.. -all: cooja +.PHONY: start -cooja: $(CONTIKI)/tools/cooja/dist/cooja.jar - -$(CONTIKI)/tools/cooja/dist/cooja.jar: - cd $(CONTIKI)/tools/cooja && ant jar +start: + @ant -e -logger org.apache.tools.ant.listener.SimpleBigProjectLogger -f $(CONTIKI)/tools/cooja/build.xml jar + @$(MAKE) all include ../Makefil...
add sse4.1 for DYNAMIC_ARCH kernels
@@ -45,7 +45,7 @@ endif ifdef TARGET_CORE ifeq ($(TARGET_CORE), $(filter $(TARGET_CORE),PRESCOTT CORE2 PENRYN DUNNINGTON ATOM NANO SANDYBRIDGE HASWELL NEHALEM ZEN BARCELONA BOBCAT BULLDOZER PILEDRIVER EXCAVATOR STEAMROLLER OPTERON_SSE3)) - override CFLAGS += -msse3 -mssse3 + override CFLAGS += -msse3 -mssse3 -msse4.1 e...
zephyr: flash: support 32byte block write size
#ifndef __MCUBOOT_CONFIG_H__ #define __MCUBOOT_CONFIG_H__ +#include <zephyr/devicetree.h> + #ifdef CONFIG_BOOT_SIGNATURE_TYPE_RSA #define MCUBOOT_SIGN_RSA # if (CONFIG_BOOT_SIGNATURE_TYPE_RSA_LEN != 2048 && \ #define MCUBOOT_MAX_IMG_SECTORS 128 #endif +/* Support 32-byte aligned flash sizes */ +#if DT_HAS_CHOSEN(zephyr...
Update readme to include import syntax
@@ -201,6 +201,18 @@ class SomeOtherClass { SomeOtherClass.printHello(); // Static methods dont need the object to be instantiated ``` +*Importing Files* +``` +// some_file.du +var test = "hello from some_file!"; + +---------------------------------- + +// test.du +import "some_file.du"; + +print(test); // hello from s...
net/lwip: misc changes in ra handler lenerr is for length error and proterr is for protocol error. proterr is more proper for this error handling.
@@ -563,14 +563,14 @@ void nd6_input(struct pbuf *p, struct netif *inp) if (!ip6_addr_islinklocal(ip6_current_src_addr())) { pbuf_free(p); - ND6_STATS_INC(nd6.lenerr); + ND6_STATS_INC(nd6.proterr); ND6_STATS_INC(nd6.drop); return; } if (IP6H_HOPLIM(ip6_current_header()) != 255) { pbuf_free(p); - ND6_STATS_INC(nd6.lener...
Fixed description for readFilesManifest in parametersDefault.
@@ -140,7 +140,9 @@ readFilesIn Read1 Read2 string(s): paths to files that contain input read1 (and, if needed, read2) readFilesManifest - - string: file with the names of read files, one set of files per line, with two/three columns for SE/PE reads, formatted as: read1_file_name \tab read2_file_name \tab read_group_li...
X11 updated dialog to create T98-Next hdd image with size larger than 999MB
@@ -173,13 +173,13 @@ t98_newdisk_dialog(GtkWidget *dialog, const int kind) for (i = 0; i < NELEMENTS(hddsizestr); ++i) { gtk_combo_box_append_text(GTK_COMBO_BOX(combo), hddsizestr[i]); } - gtk_widget_set_size_request(combo, 60, -1); + gtk_widget_set_size_request(combo, 70, -1); gtk_box_pack_start(GTK_BOX(hbox), combo,...
sce: fov fix
@@ -129,7 +129,7 @@ float ForcePlayerSpeed() float AdjustFOV(float f, float ar) { - return round((2.0f * atan(((ar) / (4.0f / 3.0f)) * tan(f / 2.0f * ((float)M_PI / 180.0f)))) * (180.0f / (float)M_PI) * 100.0f) / 100.0f; + return round((2.0f * atan(((ar) / (16.0f / 9.0f)) * tan(f / 2.0f * ((float)M_PI / 180.0f)))) * (1...
ghost: remove support for the nx20p3483 PPC BRANCH=none TEST=make passes
#define CONFIG_HOSTCMD_I2C_CONTROL #define CONFIG_USBC_PPC_SYV682X -#define CONFIG_USBC_PPC_NX20P3483 /* TODO: b/177608416 - measure and check these values on brya */ #define PD_POWER_SUPPLY_TURN_ON_DELAY 30000 /* us */
Implement USB power mode on uno
@@ -48,9 +48,28 @@ void uno_set_gps_load_switch(bool enabled) { set_gpio_output(GPIOC, 12, enabled); } +void uno_set_phone_power(bool enabled){ + set_gpio_output(GPIOB, 4, enabled); +} + void uno_set_usb_power_mode(uint8_t mode) { - UNUSED(mode); - puts("Setting USB mode makes no sense on UNO\n"); + bool valid = false;...
doc: add links to gluster tools
@@ -58,6 +58,14 @@ Bug reports should be made to the tcmu-runner github: https://github.com/open-iscsi/tcmu-runner/issues, but can be made to ceph-users@ceph.com mailing list. +- Gluster: + +Gluster management must be done with the gluster-block tools +(https://github.com/gluster/gluster-block). + +Bug reports must be ...
nvhw/pgraph_celsius: Fix too small variables.
@@ -445,9 +445,9 @@ uint32_t pgraph_celsius_xfrm_rcp_core(uint32_t x) { if (x >= 0x800000) abort(); x += 0x800000; - uint32_t s0 = lut[x >> 17 & 0x3f] | 0x40; - uint32_t s1 = ((1u << 31) - s0 * x) * s0 >> 24; - uint32_t s2 = ((1ull << 37) - (uint64_t)s1 * x) * s1 >> 25; + uint64_t s0 = lut[x >> 17 & 0x3f] | 0x40; + uin...
linux: fixing linux section and remote debugging
@@ -50,11 +50,11 @@ namespace "config" do $qmake_makespec = "linux-g++" Rake::Task["config:common"].invoke() - if !$app_config.nil? && !$app_config["linux"].nil? $connf_build = "Release" + if !$app_config.nil? && !$app_config["linux"].nil? puts "Target configuration: " + $connf_build else - raise "Linux section is not ...
undo a nxyz=10; Should be 5000
@@ -11,7 +11,7 @@ int main (void) int cmom = 14; int nxyz = 5000; // fails for 149 and above: nxyz=149; -nxyz = 10; +// for testing: nxyz = 10; #pragma omp target teams distribute num_teams(nxyz) thread_limit(5) map(tofrom:aa) //#pragma omp target teams distribute num_teams(nxyz) thread_limit(ng*(cmom-1)) map(tofrom:aa...
Fix reboot on cypress tests
@@ -608,12 +608,12 @@ wiced_result_t wiced_ip_up( wiced_interface_t interface, wiced_network_config_t #if LWIP_IPV6 /* Wait until the address has been properly advertised */ - while ( ip6_addr_istentative( netif_ip6_addr_state( &IP_HANDLE(interface), 0 ))) - { + /*while ( ip6_addr_istentative( netif_ip6_addr_state( &IP...
comment: save unexpanded receive symbol
@@ -64,6 +64,7 @@ typedef struct _comment{ int x_active; int x_ready; t_symbol *x_receive_sym; + t_symbol *x_rcv_unexpanded; t_symbol *x_selector; /* new args that currently do nothing - DK 2017 t_float x_bgcolor[COMMENT_NUMCOLORS]; @@ -78,7 +79,7 @@ static t_class *commentsink_class; static t_pd *commentsink = 0; stat...
vtx: reset transfer before enabling
@@ -47,6 +47,9 @@ void serial_vtx_send_data(uint8_t *data, uint32_t size) { return; } + vtx_transfer_done = 0; + vtx_frame_offset = 0; + if (serial_is_soft(serial_smart_audio_port)) { soft_serial_enable_write(serial_smart_audio_port); } else { @@ -63,9 +66,6 @@ void serial_vtx_send_data(uint8_t *data, uint32_t size) { ...
tests/basics/object_new2: Update checks for extra args to __new__. These are now allowed in Pycopy. CPython is more picky when they are allowed and when not, so the latter checks are disabled for now.
@@ -31,10 +31,11 @@ class A: pass o2 = object.__new__(A) print(type(o2).__name__) -try: - object.__new__(A, 1) -except TypeError: - print("TypeError4") +# TODO: disabled for now, try to reinstate later. +#try: +# object.__new__(A, 1) +#except TypeError: +# print("TypeError4") class B: @@ -51,8 +52,8 @@ class C: # CPyth...
Fix init postgresql for cluster EE version
@@ -309,6 +309,8 @@ init_password() { } init_password_postgresql() { + cd $MCF_HOME/obfuscation-utility + chmod -R 777 $MCF_HOME/obfuscation-utility/obfuscate.sh sed -i -e "s~@POSTGRESPASSWORD@~$(./obfuscate.sh ${1})~g" $MCF_HOME/properties-global.xml >>$installerLog 2>&1 sed -i -e "s~@POSTGRESPASSWORD@~$(./obfuscate.s...
updates c3_assert() to print assertion/file/line before bail
**/ /* Assert. Good to capture. */ -// # define c3_assert(x) assert(x) -# define c3_assert(x) ( (x) ? 0 : c3_cooked(), assert(x) ) +# define c3_assert(x) \ + do { \ + if (!(x)) { \ + fprintf(stderr, \ + "\rAssertion '%s' failed " \ + "in %s:%d\n", \ + #x, __FILE__, __LINE__); \ + c3_cooked(); \ + assert(x); \ + } \ + }...
jenkins: copy docu of PRs to different folder
@@ -741,7 +741,7 @@ def buildDoc() { [parserName: 'Doxygen', pattern: 'build/doc/doxygen.log'] ] - // TODO don't write to latest on PR's + if (isMaster()) { sshPublisher( publishers: [ sshPublisherDesc( @@ -772,6 +772,33 @@ def buildDoc() { ], verbose: true ) + } else { + sshPublisher( + publishers: [ + sshPublisherDes...
more robust dealing with zero cat features count on device in case of tree-ctrs
@@ -255,6 +255,10 @@ namespace NCatboostCuda { TCtrDataSetVisitor&& visitor) { NCudaLib::RunPerDeviceSubtasks([&](ui32 device) { { + const ui32 catFeatureCount = DataSet.GetCatFeatures().GetDeviceFeatures(device).size(); + if (catFeatureCount == 0) { + return; + } //this visit order should be best for cache hit TVector...
Improve error log description UART rx buffer size. The under the error condition of rx buffer size is <=128 an error log is printed that reads uart rx buffer length error(>128). Propose an update to better describe the error condition as uart rx buffer length error(<=128). Merges
@@ -1277,8 +1277,8 @@ esp_err_t uart_driver_install(uart_port_t uart_num, int rx_buffer_size, int tx_b { esp_err_t r; UART_CHECK((uart_num < UART_NUM_MAX), "uart_num error", ESP_FAIL); - UART_CHECK((rx_buffer_size > UART_FIFO_LEN), "uart rx buffer length error(>128)", ESP_FAIL); - UART_CHECK((tx_buffer_size > UART_FIFO...
apps/bus_test: Remove redundant local variable
@@ -41,18 +41,10 @@ struct reg_val { static int8_t bme280_read(uint8_t dev_id, uint8_t reg_addr, uint8_t *data, uint16_t len) { - struct reg_val reg; int rc; - assert(len <= sizeof(reg.val)); - - reg.addr = reg_addr; - rc = bus_node_simple_write_read_transact(BME280_ODEV(&g_bme280_node), - &reg.addr, 1, &reg.val[0], le...
serf: fixes -r load by tracking event number
@@ -211,6 +211,8 @@ main(c3_i argc, c3_c* argv[]) fprintf(stderr, "serf (%" PRIu64 "): compacted loom\r\n", eve_d); + u3V.sen_d = u3V.dun_d = eve_d; + // save now for flexibility // u3e_save();
fix extra comment line (uncomment code)
@@ -72,7 +72,7 @@ NS_ASSUME_NONNULL_BEGIN * @brief Create connection initialization message and send it to peer by \b send method from callbacks object. * @see TSSessionTransportInterface. * @return YES if success, NO if fail. -/ +*/ // TODO: rename method to reflect it's goal - (BOOL)connect:(NSError * __autoreleasing...
Fix test_wfc_undeclared_entity_with_external_subset() for
@@ -1819,7 +1819,7 @@ START_TEST(test_wfc_undeclared_entity_with_external_subset) { XML_SetParamEntityParsing(parser, XML_PARAM_ENTITY_PARSING_ALWAYS); XML_SetExternalEntityRefHandler(parser, external_entity_loader); - run_ext_character_check(text, &test_data, ""); + run_ext_character_check(text, &test_data, XCS("")); ...
OpenXR: formatting; Use infinite swapchain wait timeout;
@@ -351,13 +351,13 @@ static void openxr_start(void) { PFN_xrGetOpenGLGraphicsRequirementsKHR xrGetOpenGLGraphicsRequirementsKHR; XR_LOAD(xrGetOpenGLGraphicsRequirementsKHR); xrGetOpenGLGraphicsRequirementsKHR(state.instance, state.system, &requirements); - // TODO validate OpenGL versions + // TODO validate OpenGL ver...
profileOverlay: fix dismiss clobbering dropdown
@@ -26,11 +26,13 @@ type ProfileOverlayProps = ColProps & { class ProfileOverlay extends PureComponent<ProfileOverlayProps, {}> { public popoverRef: React.Ref<typeof Col>; + public dropdownRef: React.Ref<typeof Col>; constructor(props) { super(props); this.popoverRef = React.createRef(); + this.dropdownRef = React.crea...
Added vmem calculation to thread info
@@ -1264,9 +1264,10 @@ void proc_threadsDump(unsigned int priority) int proc_threadsList(int n, threadinfo_t *info) { - int i = 0; + int i = 0, len, nlocked; + unsigned int totalgap; thread_t *t; - int len; + map_entry_t *rootentry; proc_lockSet(&threads_common.lock); @@ -1290,6 +1291,8 @@ int proc_threadsList(int n, t...
add quotes around core/tile [skip ci]
@@ -99,5 +99,5 @@ If this is used earlier in the configuration sequence, then MultiRoCC does not w This mixin can be changed to put more accelerators on more cores by changing the arguments to cover more ``hartId``'s (i.e. ``WithMultiRoCCHwacha(0,1,3,6,...)``). -.. [1] Note, in this section core and tile are used inter...
Update os1-bug-report.md
@@ -3,7 +3,7 @@ name: OS1 Bug report about: 'Use this template to file a bug for any OS1 app: Chat, Publish, Links, Groups, Weather or Clock' title: '' -labels: OS1 +labels: landscape assignees: '' ---
[core] network_srv_sockets_append() shared code
@@ -123,6 +123,20 @@ static int network_host_parse_addr(server *srv, sock_addr *addr, socklen_t *addr return 0; } +static void network_srv_sockets_append(server *srv, server_socket *srv_socket) { + if (srv->srv_sockets.size == 0) { + srv->srv_sockets.size = 4; + srv->srv_sockets.used = 0; + srv->srv_sockets.ptr = mallo...
Fixed parsing of rich signature if it starts immediatelly after MZ header There are certain samples where Rich signature starts immediatelly after MZ header. This check just allows this offset to be inspected during the detection loop.
@@ -173,7 +173,7 @@ static void pe_parse_rich_signature(PE* pe, uint64_t base_address) // find the Rich header we need to start at the NT header and work backwards. p = (DWORD*) (pe->data + nthdr_offset - 4); - while (p > (DWORD*) (pe->data + sizeof(IMAGE_DOS_HEADER))) + while (p >= (DWORD*) (pe->data + sizeof(IMAGE_DO...
types BUGFIX checking integer's range The upper boundary of the range was not accepted as a valid value.
@@ -569,7 +569,7 @@ ly_type_validate_range(LY_DATA_TYPE basetype, struct lysc_range *range, int64_t rc = asprintf(&errmsg, "Value \"%s\" does not satisfy the range constraint.", strval); } goto error; - } else if (value < range->parts[u].max_64) { + } else if (value <= range->parts[u].max_64) { /* inside the range */ r...
misc/obs: add option to allow specification of single package to check for obs utility
@@ -598,6 +598,7 @@ def main(): parser.add_argument("--no-dryrun",dest='dryrun',help="flag to disable dryrun mode and execute obs commands",action="store_false") parser.add_argument("--version" ,help="version in progress",type=str) parser.add_argument("--no-lock",dest='lock',help="do not lock new build additions",actio...
dpdk: fix mlx4 mlx5 detection in plugin build Since the move to DPDK 21.02, compatibility build symbols were depreca- ted, breaking the static linkage of the DPDK plugin to libibverbs. Type: fix Fixes:
@@ -96,7 +96,7 @@ else() ############################################################################## # Mellanox libraries ############################################################################## - if(DPDK_RTE_LIBRTE_MLX4_PMD OR DPDK_RTE_LIBRTE_MLX5_PMD) + if(DPDK_RTE_NET_MLX4 OR DPDK_RTE_NET_MLX5) if (DPDK_RTE...
Docs: Add a new naming for CPU in SSDT-PLUG
@@ -12,6 +12,7 @@ DefinitionBlock ("", "SSDT", 2, "ACDT", "CpuPlug", 0x00003000) { External (_SB_.CPU0, ProcessorObj) External (_PR_.CPU0, ProcessorObj) + External (_PR_.CP00, ProcessorObj) External (_PR_.C000, ProcessorObj) External (_PR_.P000, ProcessorObj) External (_SB_.PR00, ProcessorObj) @@ -64,6 +65,17 @@ Defini...
Fix reference to UNREFRENCE macro
@@ -311,8 +311,9 @@ int picoquic_demo_client_callback(picoquic_cnx_t* cnx, uint64_t fin_stream_id = PICOQUIC_DEMO_STREAM_ID_INITIAL; picoquic_demo_callback_ctx_t* ctx = (picoquic_demo_callback_ctx_t*)callback_ctx; picoquic_demo_client_stream_ctx_t* stream_ctx; +#ifdef _WINDOWS UNREFERENCED_PARAMETER(v_stream_ctx); - +#...
NimBLE - Handle adv complete event in AFR
@@ -233,6 +233,18 @@ int prvGAPeventHandler( struct ble_gap_event * event, ESP_LOGD( TAG, "advertise complete; reason=%d", event->adv_complete.reason ); + if( xBTBleAdapterCallbacks.pxAdvStatusCb != NULL ) + { + if( ( event->adv_complete.reason == 0 ) || ( event->adv_complete.reason == BLE_HS_ETIMEOUT ) ) + { + xStatus...
Error out if we're being passed a NULL pointer with non-zero length to h2o_memcpy
@@ -307,8 +307,10 @@ void h2o_append_to_null_terminated_list(void ***list, void *element); inline void *h2o_memcpy(void *dst, const void *src, size_t n) { - if (src) + if (src != NULL) return memcpy(dst, src, n); + else if (n != 0) + h2o_fatal("null pointer passed to memcpy"); return dst; }
Testing: Add more packing types
@@ -2714,14 +2714,15 @@ static double values[] = { int main(int argc, char* argv[]) { size_t len, slen; - grib_handle* h; - const char* packingType[2] = { "grid_second_order", "grid_complex_spatial_differencing" }; - int ipackingType; + grib_handle* h = NULL; + const char* packingType[] = { "grid_second_order", "grid_c...
Fix Error: src/cwindow.cxx:97:3: error: array designators are a C99 extension [-Werror,-Wc99-designator]
@@ -94,19 +94,15 @@ struct SToolbarInfo struct SToolbarInfo GToolBarInfo[NTOOLBAR_BUTTONS] = { - [MENU_BUTTON] = { &CONFIG_TWM4NX_MENU_IMAGE, false, EVENT_TOOLBAR_MENU }, - [DELETE_BUTTON] = { &CONFIG_TWM4NX_TERMINATE_IMAGE, true, EVENT_TOOLBAR_TERMINATE }, - [RESIZE_BUTTON] = { &CONFIG_TWM4NX_RESIZE_IMAGE, true, EVENT...
Fix compile error when SCTP_MULTISTREAMING is disabled
@@ -1210,8 +1210,8 @@ handle_sctp_assoc_change(neat_flow *flow, struct sctp_assoc_change *sac) #ifdef SCTP_ASSOC_SUPPORTS_RE_CONFIG case SCTP_ASSOC_SUPPORTS_RE_CONFIG: nt_log(ctx, NEAT_LOG_DEBUG, "\t- RE-CONFIG"); - flow->socket->sctp_stream_reset = 1; #ifdef SCTP_MULTISTREAMING + flow->socket->sctp_stream_reset = 1; i...
primus: fix thermal sensor name BRANCH=none TEST=make -j BOARD=primus
@@ -59,7 +59,7 @@ const struct temp_sensor_t temp_sensors[] = { .idx = ADC_TEMP_SENSOR_1_DDR_SOC }, [TEMP_SENSOR_2_SSD] = { - .name = "Charger", + .name = "SSD", .type = TEMP_SENSOR_TYPE_BOARD, .read = get_temp_3v3_30k9_47k_4050b, .idx = ADC_TEMP_SENSOR_2_SSD @@ -71,13 +71,13 @@ const struct temp_sensor_t temp_sensors[...
admin/meta-packages: remove definition of nagios metapackage
@@ -174,14 +174,6 @@ Requires: hdf5-%{compiler_family}%{PROJ_DELIM} %description -n %{PROJ_NAME}-%{compiler_family}-%{mpi_family}-io-libs Collection of IO library builds for use with GNU compiler toolchain and the OpenMPI runtime -%package -n %{PROJ_NAME}-nagios -Summary: OpenHPC Nagios monitoring -Requires: nagios%{PR...
BugID:16097028:[alcs] print warning when HAL_Kv_Get() got failure
@@ -39,7 +39,10 @@ static localsetup_status __alcs_localsetup_kv_set(const char *key, const void *v static localsetup_status __alcs_localsetup_kv_get(const char *key, void *buffer, int *buffer_len) { - if (HAL_Kv_Get(key, buffer, buffer_len) != 0) { + int rc = -1; + + if ((rc = HAL_Kv_Get(key, buffer, buffer_len)) != 0...
sensor: Report more gps info
@@ -420,6 +420,7 @@ struct sensor_gps /* Type: Gps */ float epv; /* GPS vertical position accuracy (metres) */ float hdop; /* Horizontal dilution of precision */ + float pdop; /* Position dilution of precision */ float vdop; /* Vertical dilution of precision */ float ground_speed; /* GPS ground speed, Unit is m/s */ @@...
Remove PROFILE_SOURCE_INFO due to SDK conflict
@@ -1902,21 +1902,11 @@ typedef struct _EVENT_TRACE_PROFILE_COUNTER_INFORMATION ULONG ProfileSource[1]; } EVENT_TRACE_PROFILE_COUNTER_INFORMATION, *PEVENT_TRACE_PROFILE_COUNTER_INFORMATION; -typedef struct _PROFILE_SOURCE_INFO -{ - ULONG NextEntryOffset; - ULONG Source; - ULONG MinInterval; - ULONG MaxInterval; - ULONG...
simd: optimize glm_mat4_zero() with simd
@@ -187,8 +187,29 @@ glm_mat4_identity_array(mat4 * __restrict mat, size_t count) { CGLM_INLINE void glm_mat4_zero(mat4 mat) { +#ifdef __AVX__ + __m256 y0; + y0 = _mm256_setzero_ps(); + glmm_store256(mat[0], y0); + glmm_store256(mat[2], y0); +#elif defined( __SSE__ ) || defined( __SSE2__ ) + glmm_128 x0; + x0 = _mm_set...
fix link.lds annotation
/* Program Entry, set to mark it as "used" and avoid gc */ MEMORY { - ROM (rx) : ORIGIN = 0x08000000, LENGTH = 1024k /* 128KB flash */ - RAM (rw) : ORIGIN = 0x20000000, LENGTH = 128k /* 20K sram */ + ROM (rx) : ORIGIN = 0x08000000, LENGTH = 1024k /* 1024KB flash */ + RAM (rw) : ORIGIN = 0x20000000, LENGTH = 128k /* 128...
artik05x/userspace: Add config dependency (CONFIG_SYSTEM_PREAPP_INIT) This patch adds config check for system pre-application init
@@ -118,14 +118,15 @@ const struct userspace_s userspace __attribute__((section(".userspace"))) = { #endif /* Signal handler trampoline */ - #ifndef CONFIG_DISABLE_SIGNALS .signal_handler = up_signal_handler, #endif /* pre-application entry points (declared in include/tinyara/init.h) */ - +#ifdef CONFIG_SYSTEM_PREAPP_I...
king: fix warnings in Tree (thanks dad)
@@ -12,16 +12,11 @@ module Urbit.Noun.Tree import ClassyPrelude import Control.Lens hiding (non) -import Urbit.Atom import Urbit.Noun.Conversions () import Urbit.Noun.Convert import Urbit.Noun.Core import Urbit.Noun.TH -import Data.Bits (shiftR, xor) -import Data.Hash.Murmur (murmur3) -import GHC.Natural (Natural) - --...
CI: fix plugin set for crypto build tasks
@@ -706,8 +706,8 @@ def generateFullBuildStages() { DOCKER_IMAGES.sid, CMAKE_FLAGS_BUILD_ALL+ CMAKE_FLAGS_DEBUG + [ - 'PLUGINS': 'dump;resolver;list;spec;sync;crypto;fcrypt;gpgme', - 'TOOLS': '', + 'PLUGINS': 'dump;resolver_fm_hpu_b;list;spec;sync;crypto;fcrypt;gpgme', + 'TOOLS': 'gen-gpg-testkey', 'BINDINGS': '', ], [...
Increment version to 4.7.1.
#define MOD_WSGI_MAJORVERSION_NUMBER 4 #define MOD_WSGI_MINORVERSION_NUMBER 7 -#define MOD_WSGI_MICROVERSION_NUMBER 0 -#define MOD_WSGI_VERSION_STRING "4.7.0" +#define MOD_WSGI_MICROVERSION_NUMBER 1 +#define MOD_WSGI_VERSION_STRING "4.7.1" /* ------------------------------------------------------------------------- */
Update jpm to work post patch.
# linking to external libraries, modify this. # # Example - (def- extra-lflags ["-lmimalloc"]) -(def- extra-lflags []) ###END### +(compwhen (not (dyn 'extra-lflags)) + (def- extra-lflags [])) + # Default based on janet binary location (def JANET_HEADERPATH (or (os/getenv "JANET_HEADERPATH") (get (install-paths) :header...
Sort CoAP options in cjoin.
@@ -270,16 +270,16 @@ owerror_t cjoin_sendJoinRequest(open_addr_t *joinProxy) { options[0].length = sizeof(jrcHostName) - 1; options[0].pValue = (uint8_t *) jrcHostName; - // location-path option - options[1].type = COAP_OPTION_NUM_URIPATH; - options[1].length = sizeof(cjoin_path0) - 1; - options[1].pValue = (uint8_t *...
test-suite: latest MFEM release requires -std=c++11
@@ -75,7 +75,7 @@ CXX=mpicxx AC_PROG_CXX -CXXFLAGS="-I${MFEM_INC} -I${HYPRE_INC} -I${METIS_INC} -I${NETCDF_INC} -I${PETSC_INC} -I${SUPERLU_DIST_INC} ${CXXFLAGS}" +CXXFLAGS="-I${MFEM_INC} -I${HYPRE_INC} -I${METIS_INC} -I${NETCDF_INC} -I${PETSC_INC} -I${SUPERLU_DIST_INC} ${CXXFLAGS} -std=c++11" LDFLAGS="-L${MFEM_LIB} -L$...
srv6-ad: fixing coverity issues
@@ -27,6 +27,7 @@ typedef struct typedef struct { + u8 error; ip6_address_t src, dst; } srv6_ad_rewrite_trace_t; @@ -47,6 +48,11 @@ format_srv6_ad_rewrite_trace (u8 * s, va_list * args) CLIB_UNUSED (vlib_node_t * node) = va_arg (*args, vlib_node_t *); srv6_ad_rewrite_trace_t *t = va_arg (*args, srv6_ad_rewrite_trace_t ...
Expanding the scope of m_lock to cover everywhere that m_system is used. Fix for bug
@@ -336,6 +336,7 @@ namespace ARIASDK_NS_BEGIN status_t LogManagerImpl::UploadNow() { + LOCKGUARD(m_lock); if (GetSystem()) { GetSystem()->upload(); @@ -347,6 +348,7 @@ namespace ARIASDK_NS_BEGIN status_t LogManagerImpl::PauseTransmission() { LOG_INFO("Pausing transmission, cancelling any outstanding uploads..."); + LO...
SOVERSION bump to version 2.0.8
@@ -34,7 +34,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 7) +set(SYSREPO_MICRO_SO...
SOVERSION bump to version 5.5.22
@@ -53,7 +53,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 5) set(SYSREPO_MINOR_SOVERSION 5) -set(SYSREPO_MICRO_SOVERSION 21) +set(SYSREPO_MICRO_S...