This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/mkosi b/mkosi | |
index af37a54..a23eac9 100755 | |
--- a/mkosi | |
+++ b/mkosi | |
@@ -1127,20 +1127,18 @@ gpgkey={gpg_key} | |
gpg_key=gpg_key, | |
release_url=release_url, | |
updates_url=updates_url)) | |
- packages = [ | |
- "systemd", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fn rgbtohex(r: u8, g: u8, b: u8) { | |
println!("{:#02x}{:02x}{:02x}", r, g, b); | |
} | |
fn main() { | |
rgbtohex(255, 0, 1) | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/git_pile/git_pile.py b/git_pile/git_pile.py | |
index a89d090..c38a357 100755 | |
--- a/git_pile/git_pile.py | |
+++ b/git_pile/git_pile.py | |
@@ -454,6 +454,32 @@ def get_series_linenum_dict(d): | |
return series | |
+def copy_sanitized_patch(p, outputdir): | |
+ fn = op.join(outputdir, op.basename(p)) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
// libraries/AP_HAL_Linux | |
namespace HAL_Linux { | |
struct Mutex { | |
Mutex() { | |
printf("hello world Linux"); | |
} | |
}; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/drivers/gpu/drm/i915/intel_dp.c b/drivers/gpu/drm/i915/intel_dp.c | |
index 14fdf0aa86f1..7cda73a140b5 100644 | |
--- a/drivers/gpu/drm/i915/intel_dp.c | |
+++ b/drivers/gpu/drm/i915/intel_dp.c | |
@@ -240,8 +240,8 @@ void icl_program_mg_dp_mode(struct intel_dp *intel_dp) | |
if (tc_port == PORT_TC_NONE || intel_dig_port->tc_type == TC_PORT_TBT) | |
return; | |
- ln0 = I915_READ(MG_DP_MODE(port, 0)); | |
- ln1 = I915_READ(MG_DP_MODE(port, 1)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import sys | |
def f(s, k): | |
o = [0] * len(s) | |
missing = k | |
chars = list("abcdefghijklmnopqrstuvwxyz") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import sys | |
s = list(sys.argv[1]) | |
k = int(sys.argv[2]) | |
r = 0 | |
o = [''] * len(s) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/libraries/AP_HAL_Linux/Scheduler.cpp b/libraries/AP_HAL_Linux/Scheduler.cpp | |
index a8b3b9c038..320b45d050 100644 | |
--- a/libraries/AP_HAL_Linux/Scheduler.cpp | |
+++ b/libraries/AP_HAL_Linux/Scheduler.cpp | |
@@ -354,28 +354,15 @@ void Scheduler::teardown() | |
_tonealarm_thread.join(); | |
} | |
-/* | |
- trampoline for thread create |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
int main(int argc, const char *argv[]) | |
{ | |
int i = atoi(argv[1]); | |
int idx; | |
for (idx = __builtin_ffs(i) - 1; | |
idx >= 0; |