message stringlengths 6 474 | diff stringlengths 8 5.22k |
|---|---|
appveyor.yml: Move printing of env variables such that locally defined ones are shown as well. | @@ -20,8 +20,6 @@ before_build:
Install-Module VSSetup -Scope CurrentUser
- ps: >-
Get-VSSetupInstance -All
- - ps: >-
- gci env:* | sort-object name
- ps: >-
If ($env:Platform -Match "x86") {
$env:VCVARS_PLATFORM="x86"
@@ -45,7 +43,7 @@ before_build:
- perl configdata.pm --dump
- cd ..
- ps: >-
- if (-not $env:APPVEYO... |
vm state: reset vm state to VM_CREATED when reset_vm is called
When we call reset_vm() function to reset vm, the vm state
should be reset to VM_CREATED as well.
Acked-by: Eddie Dong | @@ -591,6 +591,7 @@ int32_t reset_vm(struct acrn_vm *vm)
vioapic_reset(vm);
destroy_secure_world(vm, false);
vm->sworld_control.flag.active = 0UL;
+ vm->state = VM_CREATED;
ret = 0;
} else {
ret = -1;
|
docs/uzlib: Add description of "dictbuf" param to DecompIO(). | @@ -23,7 +23,7 @@ Functions
to be raw DEFLATE stream. *bufsize* parameter is for compatibility with
CPython and is ignored.
-.. class:: DecompIO(stream, wbits=0)
+.. class:: DecompIO(stream, wbits=0, dictbuf=None)
Create a `stream` wrapper which allows transparent decompression of
compressed data in another *stream*. T... |
decribe two procedures | # Several modes for snap_intersect
+
## With HW (simulation or real FPGA run)
- ./snap_intersect -m1 (default using hash method)
- ./snap_intersect -m2 (need to change the symbolic link of hw, pointint to hw_s)
+ FPGA doing intersection step(1-3-5)
+ (FPGA does memcopy in step1 and step5. FPGA does intersection in step... |
refactors non-zero hash iteration in u3r_mur* | @@ -1758,14 +1758,15 @@ c3_w
u3r_mur_words(const c3_w* key_w, c3_w len_w)
{
c3_w syd_w = 0xcafebabe;
+ c3_w ham_w = 0;
- while ( 1 ) {
+ while ( 0 == ham_w ) {
c3_w haz_w = _mur_words(syd_w, key_w, len_w);
- c3_w ham_w = (haz_w >> 31) ^ (haz_w & 0x7fffffff);
-
- if ( 0 != ham_w ) return ham_w;
- else syd_w++;
+ ham_w =... |
[io] fix KernelText::t7, did not import Disk | @@ -433,14 +433,14 @@ void KernelTest::t7()
std::ofstream ofs("Kernelt7.xml");
{
boost::archive::xml_oarchive oa(ofs);
- siconos_io_register_Kernel(oa);
+ siconos_io_register_Mechanics(oa);
oa << NVP(ds1);
}
std::ifstream ifs("Kernelt7.xml");
{
boost::archive::xml_iarchive ia(ifs);
- siconos_io_register_Kernel(ia);
+ s... |
coverity: remove dependency on uint32_t in fib_test.c
Fixes make build-coverity | @@ -5934,7 +5934,7 @@ fib_test_pref (void)
*/
#define N_PFXS 64
fib_prefix_t pfx_r[N_PFXS];
- uint32_t n_pfxs;
+ unsigned int n_pfxs;
for (n_pfxs = 0; n_pfxs < N_PFXS; n_pfxs++)
{
pfx_r[n_pfxs].fp_len = 32;
|
following the ever evolving compiler warnings we do not want | @@ -59,7 +59,6 @@ AC_ARG_ENABLE([poll-streams],
# Checks for programs.
AC_PROG_CC
-AC_PROG_CC_STDC
# extern, we need to find where the apxs is. which then
# can tell us the various directories we need.
@@ -232,6 +231,7 @@ if test "x$werror" != "xno"; then
# This is used by the APR_OFFSET macro
AX_CHECK_COMPILE_FLAG([-W... |
fix(bot-audit-log): error check order | @@ -59,20 +59,20 @@ void on_audit_channel_create(
client,
msg->guild_id,
&(struct discord_get_guild_audit_log_params){
- .user_id = msg->author->id,
+ .user_id = msg->guild_id,
.action_type = DISCORD_AUDIT_LOG_CHANNEL_CREATE
},
&audit_log);
- if (!audit_log.audit_log_entries) {
- goto _error;
- }
- struct discord_audit... |
filter_kubernetes: append meta before merge json log | @@ -184,6 +184,18 @@ static int cb_kube_filter(void *data, size_t bytes,
}
}
+ /* Append Kubernetes metadata */
+ msgpack_pack_str(&tmp_pck, 10);
+ msgpack_pack_str_body(&tmp_pck, "kubernetes", 10);
+
+ if (cache_size > 0) {
+ msgpack_sbuffer_write(&tmp_sbuf, cache_buf, cache_size);
+ }
+ else {
+ msgpack_pack_str(&tmp... |
sdl: surface: Fix CreateRGBSurfaceWithFormat function | @@ -111,7 +111,7 @@ func CreateRGBSurfaceWithFormat(flags uint32, width, height, depth int32, format
// CreateRGBSurfaceWithFormatFrom allocates an RGB surface from provided pixel data.
// (https://wiki.libsdl.org/SDL_CreateRGBSurfaceWithFormatFrom)
-func CreateRGBSurfaceWithFormatFrom(pixels unsafe.Pointer, width, hei... |
[core] extend server.http-parseopts
"header-strict" => "enable"
restrict chars permitted in HTTP request headers
(overrides server.http-parseopt-header-strict)
"host-strict" => "enable"
restrict chars permitted in HTTP request Host header
(overrides server.http-parseopt-host-strict)
"host-normalize" => "enable"
normali... | @@ -77,6 +77,18 @@ static int config_http_parseopts (server *srv, array *a) {
for (size_t i = 0; i < a->used; ++i) {
const data_string * const ds = (data_string *)a->data[i];
unsigned short int opt;
+ int val = 0;
+ if (buffer_is_equal_string(ds->value, CONST_STR_LEN("enable")))
+ val = 1;
+ else if (buffer_is_equal_st... |
tinyusb: Update VBUS detection for stm32f7
Some register content differs between F4 and F7.
One of the differences is VBUS detection bits in
GOTGCTL and GCCFG.
This adds code for F7 flavour of synopsys module
for VBUS detection. | @@ -72,5 +72,16 @@ tinyusb_hardware_init(void)
USB_OTG_FS->GCCFG |= ~USB_OTG_GCCFG_VBUSASEN;
hal_gpio_init_af(MCU_GPIO_PORTA(9), GPIO_AF10_OTG_FS, GPIO_NOPULL, GPIO_MODE_AF_PP);
#endif
+#elif USB_OTG_GCCFG_VBDEN
+#if MYNEWT_VAL(USB_VBUS_DETECTION_ENABLE)
+ hal_gpio_init_in(MCU_GPIO_PORTA(9), HAL_GPIO_PULL_NONE);
+ USB_... |
Add probability option to inject | # Note: presently there are a few hacks to get around various rewriter/verifier
# issues.
#
-# Note: this tool requires(as of v4.16-rc5):
-# - commit f7174d08a5fc ("mm: make should_failslab always available for fault
-# injection")
+# Note: this tool requires:
# - CONFIG_BPF_KPROBE_OVERRIDE
#
-# USAGE: inject [-h] [-I ... |
Small improvement to the test. | @@ -164,6 +164,8 @@ TEST_F(DepenencyManagerTests, AddSvcDepAfterBuild) {
TestService svc{nullptr};
long svcId = celix_bundleContext_registerService(ctx, &svc, "TestService", nullptr);
+ long svcId2 = celix_bundleContext_registerService(ctx, &svc, "AnotherService", nullptr); //note should not be found.
+
ASSERT_EQ(0, co... |
fake controller events (left mouse for trigger) | @@ -118,13 +118,43 @@ static void cursor_position_callback(GLFWwindow* window, double xpos, double ypo
}
+
static void mouse_button_callback(GLFWwindow* window, int button, int action, int mods)
{
+
+ // clicking in window grabs mouse
if (!state.mouselook) {
if (button == GLFW_MOUSE_BUTTON_LEFT && action == GLFW_PRESS)... |
added (void), to prevent gcc warning unused var | @@ -47,7 +47,8 @@ static void test_memoryvalueplugin ()
int main (int argc, char ** argv)
{
-
+ (void)argc;
+ (void)argv;
test_memoryvalueplugin ();
print_result ("testmod_memoryvalue");
return nbError;
|
unit-test: better host_nonce test in keystore_secp256k1_sign
Zero bytes are also mixed in, but a non-zero value gives more confidence. | @@ -231,6 +231,7 @@ static void _test_keystore_secp256k1_sign(void** state)
uint8_t sig[64] = {0};
uint8_t host_nonce[32] = {0};
+ memset(host_nonce, 0x56, sizeof(host_nonce));
{
mock_state(NULL, NULL);
|
Remove unreachable error code in character ref handling | @@ -5788,12 +5788,15 @@ storeEntityValue(XML_Parser parser,
goto endEntityValue;
}
n = XmlEncode(n, (ICHAR *)buf);
- if (!n) {
- if (enc == encoding)
- eventPtr = entityTextPtr;
- result = XML_ERROR_BAD_CHAR_REF;
- goto endEntityValue;
- }
+ /* The XmlEncode() functions can never return 0 here. That
+ * error return ha... |
Fixed kNL() docstring in power.py. | @@ -117,7 +117,7 @@ def kNL(cosmo, a):
a (float or array_like): Scale factor(s), normalized to 1 today.
Returns:
- float: Scale of non-linear cut-off.
+ float or array-like: Scale of non-linear cut-off; Mpc^-1.
"""
cosmo.compute_linear_power()
return _vectorize_fn(lib.kNL, lib.kNL_vec, cosmo, a)
|
Remove duplicate ws_visible | @@ -454,7 +454,7 @@ VOID PhMwpInitializeControls(
PhMwpProcessTreeNewHandle = CreateWindow(
PH_TREENEW_CLASSNAME,
NULL,
- WS_CHILD | WS_VISIBLE | WS_CLIPCHILDREN | WS_CLIPSIBLINGS | TN_STYLE_ICONS | TN_STYLE_DOUBLE_BUFFERED | TN_STYLE_ANIMATE_DIVIDER | thinRows | treelistBorder | treelistCustomColors,
+ WS_CHILD | WS_C... |
Fix Quail nanoBooter main code
Reworked code to comply with latest workflow. | #include <hal.h>
#include <cmsis_os.h>
-#include <usbcfg.h>
+#include <targetHAL.h>
#include <WireProtocol_ReceiverThread.h>
#include <LaunchCLR.h>
@@ -53,15 +53,15 @@ int main(void) {
osKernelInitialize();
// Initializes a serial-over-USB CDC driver.
- sduObjectInit(&SDU1);
- sduStart(&SDU1, &serusbcfg);
+ //sduObject... |
fix datarace warning | @@ -419,15 +419,13 @@ public:
}
NCB::NModelEvaluation::TConstModelEvaluatorPtr GetCurrentEvaluator() const {
- if (!Evaluator) {
with_lock(CurrentEvaluatorLock) {
if (!Evaluator) {
Evaluator = CreateEvaluator(FormulaEvaluatorType);
}
- }
- }
return Evaluator;
}
+ }
bool operator==(const TFullModel& other) const {
retur... |
Completions: Fix option suggestion
Before this change Fish would suggest common options such as `-v`, even
if the current `kdb` command did not contain a subcommand. | @@ -14,6 +14,15 @@ function __fish_kdb_subcommand_includes -d 'Check if the current kdb subcommand
contains -- "$subcommand" $argv
end
+function __fish_kdb_subcommand_does_not_include -d 'Check if the current kdb subcommand does not include any of the given subcommands'
+ set -l subcommand (__fish_kdb_subcommand)
+
+ t... |
Update runFuzzTest.sh to print out tests/sec and warn if too low | @@ -26,6 +26,7 @@ fi
TEST_NAME=$1
FUZZ_TIMEOUT_SEC=$2
+MIN_TEST_PER_SEC="1000"
if [[ $TEST_NAME == *_negative_test ]];
then
@@ -55,18 +56,27 @@ printf "Running %-40s for %5d sec with %2d threads... " ${TEST_NAME} ${FUZZ_TIM
./${TEST_NAME} ${LIBFUZZER_ARGS} ./corpus/${TEST_NAME} > ${TEST_NAME}_output.txt 2>&1 || ACTUAL_... |
fix warning in oos_sniffer project. | @@ -201,8 +201,7 @@ owerror_t sixtop_request(
uint8_t sfid,
uint16_t listingOffset,
uint16_t listingMaxNumCells
-) {return;}
-bool sixtop_setHandler(six2six_handler_t handler) {return TRUE;}
+) {return E_FAIL;}
void sixtop_setIsResponseEnabled(bool isEnabled) {return;}
void sixtop_setKaPeriod(uint16_t kaPeriod) {return... |
HAL: remove useless DIRCLR | @@ -167,7 +167,6 @@ hal_gpio_deinit(int pin)
conf = GPIO_PIN_CNF_INPUT_Disconnect << GPIO_PIN_CNF_INPUT_Pos;
port = HAL_GPIO_PORT(pin);
port->PIN_CNF[pin_index] = conf;
- port->DIRCLR = HAL_GPIO_MASK(pin);
return 0;
}
|
Added comments documenting class VmaJsonWriter | @@ -5101,30 +5101,58 @@ void VmaStringBuilder::AddPointer(const void* ptr)
#endif // _VMA_STRING_BUILDER
#if !defined(_VMA_JSON_WRITER) && VMA_STATS_STRING_ENABLED
+/*
+Allows to conveniently build a correct JSON document to be written to the
+VmaStringBuilder passed to the constructor.
+*/
class VmaJsonWriter
{
VMA_CL... |
Don't send empty Authorization header for HTTP requests
If there's no username and/or password
Tested-by: Build Bot | @@ -406,6 +406,10 @@ Request::get_api_node(lcb_error_t &rc)
return lcbvb_get_resturl(vbc, ix, svc, mode);
}
+static bool is_nonempty(const char *s) {
+ return s != NULL && *s != '\0';
+}
+
lcb_error_t
Request::setup_inputs(const lcb_CMDHTTP *cmd)
{
@@ -473,7 +477,7 @@ Request::setup_inputs(const lcb_CMDHTTP *cmd)
}
add... |
Fix building zlib under MSVC | @@ -30,10 +30,15 @@ NO_COMPILER_WARNINGS()
NO_RUNTIME()
CFLAGS(
- -DHAVE_HIDDEN
-D_LARGEFILE64_SOURCE=1
)
+IF (NOT MSVC)
+ CFLAGS(
+ -DHAVE_HIDDEN
+ )
+ENDIF()
+
SRCS(
adler32.c
compress.c
|
Get Go 16 working again. | @@ -460,7 +460,8 @@ initGoHook(elf_buf_t *ebuf)
* are entering the Go func past the runtime stack check?
* Need to investigate later.
*/
- if ((go_runtime_cgocall = getGoSymbol(ebuf->buf, "runtime.asmcgocall")) == 0) {
+ if (((go_runtime_cgocall = getGoSymbol(ebuf->buf, "runtime.asmcgocall")) == 0) &&
+ ((go_runtime_cg... |
libhfuzz: better comments for _HF_USE_RET_ADDR | int hfuzz_module_memorycmp = 0;
#if !defined(_HF_USE_RET_ADDR)
+/* Use just single ret-address */
#define RET_CALL_CHAIN (uintptr_t) __builtin_return_address(0)
#elif _HF_USE_RET_ADDR == 2
-/* Use mix of two previous addresses */
+/* Use mix of two previous return addresses - unsafe */
#define RET_CALL_CHAIN \
((uintpt... |
Remove invalid copy command | @@ -8,7 +8,6 @@ copy %PROJECT_DIR%..\..\..\lib\include\public\*.* %PROJECT_DIR%\include
copy %PROJECT_DIR%..\..\..\Solutions\out\%1\%2\win32-dll\*.lib %PROJECT_DIR%\lib\%1\%2
@mkdir %PROJECT_DIR%\%1\%2
-copy %PROJECT_DIR%..\..\
copy %PROJECT_DIR%..\..\..\Solutions\out\%1\%2\win32-dll\*.* %PROJECT_DIR%\lib\%1\%2
copy %P... |
Fix gem dependency. | @@ -40,7 +40,7 @@ Gem::Specification.new do |spec|
spec.test_files = Dir.glob('test/tc_*.rb')
spec.required_ruby_version = '>= 1.8.6'
spec.date = DateTime.now
- spec.add_development_dependency('hanna_guado')
+ spec.add_development_dependency('hanna-nouveau')
spec.add_development_dependency('rake-compiler')
spec.add_dev... |
android: updating rhobuild.yml.example | @@ -3,7 +3,7 @@ env:
paths:
java: C:/Program Files/Java/jdk1.7.0_67/bin
android: C:/android-sdk-windows
- android-ndk: C:/android-ndk-r10
+ android-ndk: C:/android-ndk-r16
cabwiz: C:/Program Files (x86)/Windows Mobile 6 SDK/Tools/CabWiz
msbuild: C:/Program Files (x86)/MSBuild/14.0/Bin/MSBuild.exe
vcbuild: C:/Program Fi... |
remproary fix pipe has eneded | @@ -167,10 +167,10 @@ class Osr2mp4:
if self.data["Process"] >= 1:
for i in range(self.data["Process"]):
self.drawers[i].join()
+ self.writers[i].join() # temporary fixm might cause some infinite loop
conn1, conn2 = self.pipes[i]
conn1.close()
conn2.close()
- self.writers[i].join()
self.drawers, self.writers, self.pipe... |
Widgets must now be a single file
Setting a widget took too much time and if many modules are installed and the users has many scripts, Pyto wasted too much storage. | @@ -71,24 +71,7 @@ import CoreLocation
}
try FileManager.default.copyItem(at: widgetURL, to: newWidgetURL)
-
- for file in ((try? FileManager.default.contentsOfDirectory(at: EditorViewController.directory(for: url!), includingPropertiesForKeys: nil, options: .init(rawValue: 0))) ?? []) {
- let newURL = sharedDir.append... |
Try if optimizations get in our way | @@ -426,7 +426,8 @@ region_free_bound(S, Reg) :-
Reg = region(Id, block(RBase, _)),
CReg = region(Id, block(_, CLimit)),
state_has_in_use(S, CReg),
- RBase #>= CLimit ;
+ %RBase #>= CLimit ;
+ RBase #>= 0 ;
% In case of no region with same id
Reg = region(Id, block(RBase, _)),
CReg = region(Id, _),
|
Makefile: Undo logo | @@ -30,12 +30,12 @@ snap_env_sh = $(SNAP_ROOT)/.snap_env.sh
clean_subdirs += $(config_subdirs) $(software_subdirs) $(hardware_subdirs) $(action_subdirs)
# Only build if the subdirectory is really existent
-.PHONY: $(software_subdirs) software $(action_subdirs) actions $(hardware_subdirs) hardware test install uninstall... |
stm32/sdcard: Use maximum speed SDMMC clock on F7 MCUs.
This will get the SDMMC clock up to 48MHz. | @@ -198,6 +198,10 @@ bool sdcard_power_on(void) {
}
// configure the SD bus width for wide operation
+ #if defined(MCU_SERIES_F7)
+ // use maximum SDMMC clock speed on F7 MCUs
+ sd_handle.Init.ClockBypass = SDMMC_CLOCK_BYPASS_ENABLE;
+ #endif
if (HAL_SD_ConfigWideBusOperation(&sd_handle, SDIO_BUS_WIDE_4B) != HAL_OK) {
... |
add the ci build | @@ -108,6 +108,7 @@ jobs:
- {RTT_BSP: "stm32/stm32h747-st-discovery", RTT_TOOL_CHAIN: "sourcery-arm"}
- {RTT_BSP: "stm32/stm32h750-artpi-h750", RTT_TOOL_CHAIN: "sourcery-arm"}
- {RTT_BSP: "stm32/stm32l4r9-st-eval", RTT_TOOL_CHAIN: "sourcery-arm"}
+ - {RTT_BSP: "stm32/stm32l4r9-st-sensortile-box", RTT_TOOL_CHAIN: "sourc... |
doc CHANGE note about switching DS
Refs | @@ -329,7 +329,8 @@ int sr_session_notif_buffer(sr_session_ctx_t *session);
/**
* @brief Change datastore which the session operates on. All subsequent
- * calls will be issued on the chosen datastore.
+ * calls will be issued on the chosen datastore. Previous calls are not
+ * affected.
*
* @param[in] session Session ... |
Test memory allocation functions | @@ -1275,6 +1275,41 @@ START_TEST(test_bad_cdata)
}
END_TEST
+/* Test memory allocation functions */
+START_TEST(test_memory_allocation)
+{
+ char *buffer = (char *)XML_MemMalloc(parser, 256);
+ char *p;
+
+ if (buffer == NULL) {
+ fail("Allocation failed");
+ } else {
+ /* Try writing to memory; some OSes try to cheat... |
Fix: Incorrect condition while getting SCC colours from stmt colours | @@ -1583,7 +1583,7 @@ int* get_scc_colours_from_vertex_colours (PlutoProg *prog, int *stmt_colour, int
for (i=0; i<num_sccs; i++) {
for (j=0; j<sccs[i].size; j++) {
stmt_id = sccs[i].vertices[j];
- if (sccs[i].max_dim == stmts[j]->dim)
+ if (sccs[i].max_dim == stmts[stmt_id]->dim)
break;
}
|
test: exclude yamlcpp from is_not_rw_storage | @@ -233,7 +233,9 @@ is_not_rw_storage() {
-o "x$PLUGIN" = "xsimpleini" \
-o "x$PLUGIN" = "xyambi" \
-o "x$PLUGIN" = "xtcl" \
- -o "x$PLUGIN" = "xmini"
+ -o "x$PLUGIN" = "xmini" \
+ -o "x$PLUGIN" = "xyaypeg" \
+ -o "x$PLUGIN" = "xyamlcpp"
}
is_plugin_available() {
|
VERSION bump to version 1.4.118 | @@ -46,7 +46,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 117)
+set(SYSREPO_MICRO_VERSION 118)
set(SYSREPO_VERSION ${SYSREPO_MAJOR_VERSION}.${SYSREPO_MINOR_VERSION}.${SYSREPO_... |
DM: virtio-gpio: close gpio line fd
When vm reset,the gpio line state is busy if we don't close the fd.
Acked-by: Yu Wang | @@ -291,6 +291,7 @@ static void print_intr_statistics(struct gpio_irq_chip *chip);
static void record_intr_statistics(struct gpio_irq_chip *chip, uint64_t mask);
static void gpio_pio_write(struct virtio_gpio *gpio, int n, uint64_t reg);
static uint32_t gpio_pio_read(struct virtio_gpio *gpio, int n);
+static void native... |
hv: properly initialize MSI-X table
Though guests are not supposed to read Message Data/Addr, it's still better
off to initialize them to 0.
vector_control should be initialize to zero besides the mask bit. | @@ -350,7 +350,9 @@ static int vmsix_init(struct pci_vdev *vdev)
/* Mask all table entries */
for (i = 0U; i < msix->table_count; i++) {
- msix->tables[i].vector_control |= PCIM_MSIX_VCTRL_MASK;
+ msix->tables[i].vector_control = PCIM_MSIX_VCTRL_MASK;
+ msix->tables[i].addr = 0U;
+ msix->tables[i].data = 0U;
}
decode_m... |
+on-init compiles | == ==
$: %j
$% [%memo =ship =message]
+ ::
[%pubs =ship]
[%turf ~]
[%vein ~]
$: %j
$% [%done error=(unit error)]
[%memo =message]
+ ::
[%pubs public:able:jael]
[%turf turfs=(list turf)]
[%vein =life vein=(map life ring)]
%crud !!
%hear (on-hear:event-core [lane blob]:task)
%hole !!
- %init !!
+ %init (on-init:event-cor... |
neon/bsl: add AltiVec implementation | @@ -289,6 +289,8 @@ simde_vbslq_s16(simde_uint16x8_t a, simde_int16x8_t b, simde_int16x8_t c) {
return vbslq_s16(a, b, c);
#elif defined(SIMDE_WASM_SIMD128_NATIVE)
return wasm_v128_bitselect(b, c, a);
+ #elif defined(SIMDE_POWER_ALTIVEC_P6_NATIVE)
+ return vec_sel(c, b, a);
#else
simde_uint8x16_t
a_ = simde_vreinterpre... |
add pdsh-mod-slurm to slurm-server metapackage | @@ -393,6 +393,7 @@ Requires: slurm-slurmdb-direct%{PROJ_DELIM}
Requires: munge%{PROJ_DELIM}
Requires: munge-libs%{PROJ_DELIM}
Requires: munge-devel%{PROJ_DELIM}
+Requires: pdsh-mod-slurm%{PROJ_DELIM}
%description slurm-server
OpenHPC server packages for SLURM
|
pedro: add M25P16 | //#define MAX7456_NSS PIN_A15
//SDCARD
-#define USE_SDCARD
-#define SDCARD_SPI_PORT SPI_PORT3
-#define SDCARD_NSS_PIN PIN_A15
+//#define USE_SDCARD
+//#define SDCARD_SPI_PORT SPI_PORT3
+//#define SDCARD_NSS_PIN PIN_A15
+
+#define USE_M25P16
+#define M25P16_SPI_PORT SPI_PORT3
+#define M25P16_NSS_PIN PIN_A15
//VOLTAGE DI... |
stm32/boards/NUCLEO_H743ZI: Enable ADC peripheral. | #define MICROPY_HW_ENABLE_RTC (1)
#define MICROPY_HW_ENABLE_RNG (1)
-#define MICROPY_HW_ENABLE_ADC (0)
+#define MICROPY_HW_ENABLE_ADC (1)
#define MICROPY_HW_ENABLE_DAC (1)
#define MICROPY_HW_ENABLE_USB (1)
#define MICROPY_HW_HAS_SWITCH (1)
|
Fix OIDC_CONFIG_DIR reference in the docu; fix | @@ -6,7 +6,7 @@ locations:
- `~/.oidc-agent`
Alternatively the location can also be set through an environment variable
-called `OIDC_CONF_DIR`. However, we note that this environment variable has
+called `OIDC_CONFIG_DIR`. However, we note that this environment variable has
to be present whenever you use one of the `o... |
fix (hmac crypto externa): fix padding handling correctly | @@ -118,18 +118,27 @@ void process_hmac_result(crypto_task_type_e task_type, packet_descriptor_t *pd,
crypto_task_s *crypto_task) {
unsigned int lcore_id = rte_lcore_id();
+ uint8_t* wrapper_pointer = rte_pktmbuf_mtod(pd->wrapper, uint8_t*);
+ uint32_t target_relative = crypto_task->offset +
+ crypto_task->plain_length... |
fix(setup): Fix index to MakerDiary m.2 board | @@ -79,7 +79,7 @@ select opt in "${options[@]}" "Quit"; do
1 ) board="nice_nano"; break;;
2 ) board="proton_c"; break;;
3 ) board="bluemicro840_v1"; break;;
- 3 ) board="nrf52840_m2"; break;;
+ 4 ) board="nrf52840_m2"; break;;
$(( ${#options[@]}+1 )) ) echo "Goodbye!"; exit 1;;
*) echo "Invalid option. Try another one.... |
skip latex2man check with --disable-documentation | @@ -446,7 +446,7 @@ AC_SUBST(DLLIB)
AC_SUBST(BACKTRACELIB)
AC_PATH_PROG([LATEX2MAN],[latex2man])
-if test "x$LATEX2MAN" = "x"; then
+if test "x$LATEX2MAN" = "x" && test "x$enable_documentation" = "xyes"; then
AC_MSG_WARN([latex2man not found. Install latex2man. Disabling docs.])
enable_documentation="no";
fi
|
[doc] update comments in doc/config/modules.conf | ## Modules to load
## -----------------
##
-## at least mod_access and mod_accesslog should be loaded
-## all other module should only be loaded if really neccesary
-##
-## - saves some time
-## - saves memory
-##
-## the default module set contains:
+## Load only the modules needed in order to keep things simple.
##
+... |
ames: add scry endpoint for forward lanes
Finds the lane for that peer, or their galaxy. Intended for use in the
runtime, to enable stateless forwarding. | =(%$ syd)
==
~
- :: /ax/peers (map ship ?(%alien known))
+ :: /ax/protocol/version @
+ :: /ax/peers (map ship ?(%alien %known))
:: /ax/peers/[ship] ship-state
+ :: /ax/peers/[ship]/forward-lane (list lane)
:: /ax/bones/[ship] [snd=(set bone) rcv=(set bone)]
:: /ax/snd-bones/[ship]/[bone] vase
::
?. ?=(%x ren) ~
- ?+ ty... |
install step
Ensure dnf point to correct package name. | @@ -90,7 +90,7 @@ Nightly bcc binary packages for Fedora 25, 26, and 27 are hosted at
To install:
```bash
echo -e '[iovisor]\nbaseurl=https://repo.iovisor.org/yum/nightly/f27/$basearch\nenabled=1\ngpgcheck=0' | sudo tee /etc/yum.repos.d/iovisor.repo
-sudo dnf install bcc-tools kernel-devel-$(uname -r) kernel-headers-$(... |
More escaping in ADD_PY_PROTO_OUT
([arc::pullid] bf526fb2-277cebb8-d32943ea-e0f2e160) | @@ -308,7 +308,7 @@ macro PROTO_PLUGIN_ARGS_BASE(Name, Tool) {
macro ADD_PY_PROTO_OUT(Suf) {
SET_APPEND(PY_PROTO_OUTS \${output;hide;noauto;norel;nopath;noext;suf=$Suf:File})
- SET_APPEND(PY_PROTO_OUTS_INTERNAL \${output;hide;noauto;norel;nopath;noext;suf=__int__$Suf:File} ${hide;kv:"ext_out_name_for_\${nopath;noext;su... |
sysdeps/linux: Add missing __syscall0 macro | @@ -9,6 +9,7 @@ typedef long __sc_word_t;
// These syscall macros were copied from musl.
#define __scc(x) ((__sc_word_t)(x))
+#define __syscall0(n) __do_syscall0(n)
#define __syscall1(n,a) __do_syscall1(n,__scc(a))
#define __syscall2(n,a,b) __do_syscall2(n,__scc(a),__scc(b))
#define __syscall3(n,a,b,c) __do_syscall3(n,... |
Update per initial review comments. | @@ -336,7 +336,7 @@ transportRegisterForExitNotification(void (*fn)(void))
atexit(fn);
}
-char *
+static char *
sslErrStr(int ssl_err)
{
char * retval = "UNKNOWN ERR";
@@ -368,6 +368,9 @@ sslErrStr(int ssl_err)
case SSL_ERROR_SSL:
retval = "SSL_ERROR_SSL";
break;
+ default:
+ DBG(NULL);
+ break;
}
return retval;
}
|
peview: Query name for 'unnamed' DLL exports from symbols | @@ -109,9 +109,46 @@ INT_PTR CALLBACK PvpPeExportsDlgProc(
PhDereferenceObject(exportName);
}
else
+ {
+ if (exportFunction.Function)
+ {
+ PPH_STRING exportName;
+
+ // Try find the export name using symbols.
+ exportName = PhGetSymbolFromAddress(
+ PvSymbolProvider,
+ (ULONG64)PTR_ADD_OFFSET(PvMappedImage.NtHeaders->... |
Update cmake note to be 3.15 which is the current minimum version. This is a re-implementation of GitHub PR 403 | @@ -70,8 +70,7 @@ sudo apt install -y \
```
:::note
-Ubuntu 18.04 LTS release packages a version of CMake that is too old. Please upgrade to Ubuntu 20.04 LTS
-or download and install CMake version 3.13.1 or newer manually.
+Recent LTS releases of Debian and Ubuntu may include outdated CMake versions. If the output of `... |
Homebridge script: use capital letters for bridge id check | @@ -75,7 +75,8 @@ function init {
fi
if [[ -n $value ]]; then
- if [[ ! "$value" == 00212e* ]]; then
+ if [[ ! "$value" == 00212E* ]]; then
+ [[ $LOG_DEBUG ]] && echo "${LOG_DEBUG}no valid bridge id"
return
fi
BRIDGEID=$value
|
only remove packet not handled by component. | @@ -142,7 +142,10 @@ void openqueue_removeAllCreatedBy(uint8_t creator) {
INTERRUPT_DECLARATION();
DISABLE_INTERRUPTS();
for (i=0;i<QUEUELENGTH;i++){
- if (openqueue_vars.queue[i].creator==creator) {
+ if (
+ openqueue_vars.queue[i].creator == creator &&
+ openqueue_vars.queue[i].owner != COMPONENT_IEEE802154E
+ ) {
op... |
TCPMv2: PD Timers - Add PE SrcTransition to framework
BRANCH=none
TEST=make runtests
Tested-by: Denis Brockus | @@ -652,14 +652,6 @@ static struct policy_engine {
*/
uint64_t swap_source_start_timer;
- /*
- * Used to wait for tSrcTransition between sending an Accept for a
- * Request or receiving a GoToMin and transitioning the power supply.
- * See PD 3.0, table 7-11 and table 7-22 This is not a named timer in
- * the spec.
- *... |
fix to case of triple fault | @@ -236,7 +236,9 @@ cpu_stack_push_check(UINT16 s, descriptor_t *sdp, UINT32 sp, UINT len,
goto exc;
}
- start = sp - len;
+// start = sp - len;
+ sp = (sp - 1) & (SEG_IS_32BIT(sdp) ? 0xffffffff : 0x0000ffff);
+ start = (sp - len) & (SEG_IS_32BIT(sdp) ? 0xffffffff : 0x0000ffff);
limit = is32bit ? 0xffffffff : 0x0000fff... |
Make sure the console window is hidden when starting a child process on Windows (Fixes issue (#7)) | @@ -94,6 +94,8 @@ REPROC_ERROR process_create(wchar_t *command_line, wchar_t *working_directory,
LPSTARTUPINFOW startup_info_address = &startup_info;
#endif
+ startup_info_address->dwFlags |= STARTF_USESHOWWINDOW;
+ startup_info_address->wShowWindow = SW_HIDE;
PROCESS_INFORMATION info;
|
doc CHANGE add a warning regarding usage of SR_SUBSCR_UPDATE flag | @@ -1143,7 +1143,8 @@ typedef enum sr_subscr_flag_e {
/**
* @brief The subscriber will be called before any other subscribers for the particular module
- * and is allowed to modify the new module data.
+ * and is allowed to modify the new module data. Be careful, you cannot subscribe with this flag more times
+ * for t... |
[mod_openssl] move SSL_shutdown() to separate func
mod_openssl_close_notify() | @@ -1580,6 +1580,10 @@ CONNECTION_FUNC(mod_openssl_handle_con_accept)
}
+static void
+mod_openssl_close_notify(server *srv, handler_ctx *hctx);
+
+
CONNECTION_FUNC(mod_openssl_handle_con_shut_wr)
{
plugin_data *p = p_d;
@@ -1587,6 +1591,16 @@ CONNECTION_FUNC(mod_openssl_handle_con_shut_wr)
if (NULL == hctx) return HAND... |
Configure: use $list_separator_re only for defines and includes
This regexp was used a bit too uncontrolled, which had it split flag
values where it should not have.
Fixes | @@ -590,7 +590,7 @@ while ((my $first, my $second) = (shift @list, shift @list)) {
&usage if ($#ARGV < 0);
-# For the "make variables" CINCLUDES and CDEFINES, we support lists with
+# For the "make variables" CPPINCLUDES and CPPDEFINES, we support lists with
# platform specific list separators. Users from those platfor... |
hwrecords: adding iommu and rootbridge records | "hw_id: _, " \
"type: _ }"
+/*
+ * ===========================================================================
+ * PCI Root Bridge Records
+ * ===========================================================================
+ */
+#define HW_PCI_ROOTBRIDGE_RECORD_FIELDS \
+"bus: %d, device: %d, function: %d, maxbus: %d, acpi... |
OcBootManagementLib: Fix APFS filesystem detection | @@ -145,6 +145,7 @@ InternalCheckScanPolicy (
// but currently it is not a priority.
//
if ((Policy & OC_SCAN_ALLOW_FS_APFS) != 0 && EFI_ERROR (Status)) {
+ BufferSize = 0;
Status = Root->GetInfo (Root, &gAppleApfsVolumeInfoGuid, &BufferSize, NULL);
if (Status == EFI_BUFFER_TOO_SMALL) {
Status = EFI_SUCCESS;
|
Re-word AHRS orientation dialog boxes. | <div class="col-sm-12">
<div class="panel-group col-sm-6">
-
<div class="panel panel-default">
<div class="panel-heading">Hardware</div>
<div class="panel-body">
<h4 class="modal-title">Set AHRS Sensor Orientation: Forward Direction</h4>
</div>
<div class="modal-body">
- <p>Point the Stratux so that the end that will b... |
sysdeps/managarm: Add more error returns for sys_mkdirat | @@ -203,6 +203,12 @@ int sys_mkdirat(int dirfd, const char *path, mode_t mode) {
return EEXIST;
} else if(resp.error() == managarm::posix::Errors::ILLEGAL_ARGUMENTS) {
return EINVAL;
+ }else if(resp.error() == managarm::posix::Errors::BAD_FD) {
+ return EBADF;
+ }else if(resp.error() == managarm::posix::Errors::FILE_NO... |
docs - updated foreign data wrapper intro.
Removed references to foreign data wrappers install with GPDB
Modified note. Added information stating PostgrSQL FDWs only access master. | <p>You can access foreign data with help from a <i>foreign-data wrapper</i>.
A foreign-data wrapper is a library that communicates with a remote
data source. This library hides the source-specific connection and data
- access details. Foreign-data wrappers provided in the Greenplum Database
- distribution, including <c... |
mark as minor release | @@ -8,7 +8,7 @@ See the AppScope repo to view [all issues](https://github.com/criblio/appscope/i
## AppScope 1.1.0
-2022-06-28 - Maintenance Release
+2022-06-28 - Minor Release
Assets are available via Docker and the Cribl CDN at the links below.
|
docs: install geopm-intel-* with 3rd party psxe libs | @@ -57,6 +57,7 @@ for \texttt{/opt/intel} that is mounted on desired compute nodes.
\begin{lstlisting}[language=bash,keywords={},upquote=true,keepspaces]
# Install 3rd party libraries/tools meta-packages built with Intel toolchain
[sms](*\#*) (*\install*) ohpc-intel-serial-libs
+[sms](*\#*) (*\install*) ohpc-intel-geop... |
Modify util/mknum.pl to drop new symbols that don't exist any more
This makes use of the writer filters in OpenSSL::Ordinals.
Fixes | @@ -118,7 +118,15 @@ if ($checkexist) {
}
}
} else {
- $ordinals->rewrite();
+ my $dropped = 0;
+ my $unassigned;
+ my $filter = sub {
+ my $item = shift;
+ my $result = $item->number() ne '?' || $item->exists();
+ $dropped++ unless $result;
+ return $result;
+ };
+ $ordinals->rewrite(filter => $filter);
my %stats = $o... |
s5j: add constant definitions of memory regions
This commit adds memory map constants that defines the base addresses
and sizes of each memory region in S5J. | #ifndef __ARCH_ARM_SRC_S5J_CHIP_S5J_MEMORYMAP_H
#define __ARCH_ARM_SRC_S5J_CHIP_S5J_MEMORYMAP_H
+/* S5J Physical Memory Map */
+#define S5J_IROM_PADDR 0x00000000 /* 0x00000000-0x0000FFFF iROM */
+#define S5J_IRAM_PADDR 0x02020000 /* 0x02020000-0x0215FFFF iRAM */
+#define S5J_IRAM_SHARED_PADDR 0x02300000 /* 0x02300000-0... |
router_printconfig: suppress statistics bit on fake recursions
Groups are printed by creating a fake router, make sure we pick up that
hint to avoid printing the statistics thing multiple times. | @@ -1626,6 +1626,7 @@ router_printconfig(router *rtr, FILE *f, char pmode)
servers *s;
/* start with configuration wise standard components */
+ if (rtr->collector.interval > 0) {
fprintf(f, "statistics\n submit every %d seconds\n",
rtr->collector.interval);
if (rtr->collector.mode == SUB)
@@ -1650,6 +1651,7 @@ router_... |
Remove redundant assignment in felem_mul_ref in p521
ftmp4 is assigned immediately before receiving the reduced output of the
multiplication of ftmp and ftmp3, without being read inbetween these
assignments. Remove redundant assignment. | @@ -782,7 +782,6 @@ static void felem_inv(felem out, const felem in)
felem_reduce(ftmp3, tmp); /* 2^7 - 2^3 */
felem_square(tmp, ftmp3);
felem_reduce(ftmp3, tmp); /* 2^8 - 2^4 */
- felem_assign(ftmp4, ftmp3);
felem_mul(tmp, ftmp3, ftmp);
felem_reduce(ftmp4, tmp); /* 2^8 - 2^1 */
felem_square(tmp, ftmp4);
|
apps/Application.mk: Fix main redefine warning by using per file CFLAGS/CXXFLAGS. | @@ -155,13 +155,15 @@ MAINNAME := $(addsuffix _main,$(PROGNAME))
ifeq ($(suffix $(MAINSRC)),$(CXXEXT))
$(MAINOBJ): %$(OBJEXT): %$(CXXEXT)
- $(eval CXXFLAGS += ${shell $(DEFINE) "$(CXX)" main=$(firstword $(MAINNAME))})
+ $(eval $<_CXXFLAGS += ${shell $(DEFINE) "$(CXX)" main=$(firstword $(MAINNAME))})
+ $(eval $<_CXXELFF... |
rune/libenclave/skeleton: Remove skeleton image from README
iberpal-skeleton is constantly being updated, it may not be compatible with the previous images. | @@ -36,8 +36,6 @@ EOF
docker build . -t skeleton-enclave
```
-[Skeleton container image](https://hub.docker.com/r/inclavarecontainers/skeleton-enclave/tags) is available for the demonstration purpose.
-
## Build and install rune
Please refer to [this guide](https://github.com/alibaba/inclavare-containers#rune) to build... |
Fix blankerror | @@ -20,6 +20,7 @@ from osr2mp4 import log_stream
Audio2p = recordclass("Audio2p", "rate audio")
+SilentHitsound = AudioSegment.silent(duration=1)
def from_notwav(filename, settings):
@@ -27,9 +28,12 @@ def from_notwav(filename, settings):
raise FileNotFoundError
stream = log_stream()
+ try:
subprocess.check_call([setti... |
remove dump_cfl | @@ -88,10 +88,6 @@ static bool test_op_p_stack_moba_nonneg(void)
operator_p_apply(p, 0., N, dims, out, N, dims, in);
operator_p_free(p);
- dump_cfl("/scratch/ztan/out", N, dims, out);
- dump_cfl("/scratch/ztan/in", N, dims, in);
-
-
long dims1[N];
md_select_dims(N, ~MD_BIT(s_dim), dims1, dims);
|
tag for 1.7.1rc1 release. | - Fix for crash in daemon_cleanup with dnstap during reload,
from Saksham Manchanda.
- Also that for dnscrypt.
+ - tag for 1.7.1rc1 release.
25 April 2018: Ralph
- Fix memory leak when caching wildcard records for aggressive NSEC use
|
reduce iterations in testIDManifest to speed up | @@ -318,9 +318,9 @@ namespace
const string fn = tempDir + "id_manifest.exr";
random_reseed(1);
//
- // generate 100 random files, looking for trouble
+ // generate 20 random files, looking for trouble
- for(int pass=0;pass<100;++pass)
+ for(int pass=0;pass<20;++pass)
{
//
@@ -380,7 +380,7 @@ namespace
//
// insert entr... |
hoon: fix sig rune whitespace to allow doccords
without this, e.g.
~& %foo
dox
1
wouldn't attach dox to 1 as a doccord | ::
:: hint syntax
::
- ++ hinb |.(;~(gunk bont loaf)) :: hint and hoon
+ ++ hinb |.(;~(goop bont loaf)) :: hint and hoon
++ hinc |. :: optional =en, hoon
- ;~(pose ;~(gunk bony loaf) (stag ~ loaf)) ::
- ++ hind |.(;~(gunk bonk loaf bonz loaf)) :: jet hoon "bon"s hoon
- ++ hine |.(;~(gunk bonk loaf)) :: jet-hint and hoo... |
avoid comparing an array to NULL pointer | @@ -438,7 +438,8 @@ h2o_socket_t *h2o_evloop_socket_accept(h2o_socket_t *_listener)
/* cache the remote address, if we know that we are going to use the value (in h2o_socket_ebpf_lookup_flags) */
#if H2O_USE_EBPF_MAP
- struct sockaddr_storage peeraddr[1];
+ struct sockaddr_storage _peeraddr;
+ struct sockaddr_storage *... |
build: remove status | @@ -92,15 +92,14 @@ TEST_INSTALL = 'install'
// # Determine what needs to be build #
-env.STATUS = "Build target: FULL"
target = ".*"
matcher = /jenkins build jenkinsfile(?:\[(.*)\])? please/
new_target = (env.ghprbCommentBody =~ matcher)[0][1]
if(new_target) {
// if we specify a new target we degrade the build to unst... |
highlevel: Init default KeySet with number of parameters | @@ -27,7 +27,7 @@ $support.enum_typedef($key, $info)
* Default KeySet
*/
-#define ELEKTRA_DEFAULTS ksNew (0, \
+#define ELEKTRA_DEFAULTS ksNew ($len($parameters), \
@for $key, $info in $parameters.iteritems()
keyNew ("$key", KEY_VALUE, "$support.default_value(key, info)", KEY_META, "type", "$support.type_of(info)", KEY... |
basic documentation on modules | @@ -54,3 +54,85 @@ You can access the fields with the dot operator:
local a = p.x
p.y = 2
+## Modules
+
+A Titan source file (with a `.titan` extension) is a *Titan module*. A Titan module
+is made-up of *import statements*, *module variable declarations*, and *module function
+declarations*. These can appear in any or... |
config-tools: fix bug for saving files
The clean scripts function is a async function, it may run after saving
launch scripts and remove all the launch scripts by accident.
So, add '.then' to make it work as a sync function. | @@ -276,7 +276,7 @@ export default {
})
},
cleanLaunchScript() {
- configurator.readDir(this.WorkingFolder, false)
+ return configurator.readDir(this.WorkingFolder, false)
.then((files) => {
if (files.length > 0) {
for (let i = 0; i < files.length; i++) {
@@ -382,6 +382,7 @@ export default {
}
let errorFlag = false
err... |
lwip-2.0.2: enabling the raw interface | */
#define LWIP_SUPPORT_CUSTOM_PBUF 1
-#define MEM_USE_POOLS 1
-#define MEMP_USE_CUSTOM_POOLS 1
+#define MEM_USE_POOLS 0
+#define MEMP_USE_CUSTOM_POOLS 0
/**
/**
* LWIP_RAW==1: Enable application layer to hook into the IP layer itself.
*/
-#define LWIP_RAW 0
+#define LWIP_RAW 1
/*
----------------------------------
|
integration: Upgrade SPO to v0.6.0
We have seen errors related to SPO webhook not available in CI, resulting
in failing tests. It seems they have made SPO webhook opt-in upstream to avoid
such situation. Upgrading so we don't hit such issues in the CI. | @@ -113,9 +113,9 @@ func DeployInspektorGadget(image, imagePullPolicy string) *Command {
func DeploySPO(limitReplicas, patchWebhookConfig, bestEffortResourceMgmt bool) *Command {
cmdStr := fmt.Sprintf(`
-kubectl apply -f https://github.com/jetstack/cert-manager/releases/download/v1.8.0/cert-manager.yaml
+kubectl apply ... |
.travis(.yml): disable hack to disable_ipv6 when build with macOS/OSX | @@ -49,7 +49,7 @@ before_script:
# First build external lib
- ./ci/build_picotls.sh
- if [ "$CHECK" == "cppcheck" ]; then ./ci/build_cppcheck.sh; fi
- - sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_ipv6'
+ - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo sh -c 'echo 0 > /proc/sys/net/ipv6/conf/all/disable_i... |
rpz-triggers, use zone for local data zone based answer if available. | @@ -2156,7 +2156,7 @@ rpz_apply_maybe_clientip_trigger(struct auth_zones* az, struct module_env* env,
log_rpz_apply(((*z_out)?(*z_out)->name:NULL),
client_action, qinfo, repinfo,
(*r_out)->log_name);
- local_zones_zone_answer(NULL /*no zone*/, env, qinfo, edns,
+ local_zones_zone_answer(*z_out /*likely NULL, no zone*/,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.