A complete gdb to lldb command map.
- Print object
(lldb) po responseObject
(lldb) po [responseObject objectForKey@"state"]
- p - Print primitive type
| <Version>1.0.0.0</Version> | |
| <BASIC>http://drive.google.com/uc?export=download&id=1WgqkqKV9Gz_C4a2b8FL1nmzo1c2GqY1K</BASIC> | |
| <STANDARD>http://drive.google.com/uc?export=download&id=1qEv2dOgRbcS_8UG59wNCuZ5TF_lCJS6k</STANDARD> | |
| <PLUS>http://drive.google.com/uc?export=download&id=1V-2H-PBEQCo6oySslpu8jxPt4MmCs-cU</PLUS> | |
| <KAV>http://drive.google.com/uc?export=download&id=1S9HomQ9RNGb13fdpD748hsUnfDtqLMm_</KAV> | |
| <KIS>http://drive.google.com/uc?export=download&id=1sWMncG8KkZI6msKkzqLC12SAefWiQJBR</KIS> | |
| <KTS>http://drive.google.com/uc?export=download&id=1ZE3WqqJDAuPFbKbmpqgMJ8Z1qfGZmEVb</KTS> | |
| <KSOS>http://drive.google.com/uc?export=download&id=1bz96C1Np7FMGiwHixI8N4XiTKbgbV8Ii</KSOS> | |
| <KES>http://drive.google.com/uc?export=download&id=1MvF-Uo_7IE2GtiJRkrXOFUtdkTQsQuGt</KES> | |
| <Trial>http://drive.google.com/uc?export=download&id=1y-7qzLZxBvCXZ3zFUJycgCY63CtFFu1I</Trial> |
| //https://www.luogu.com.cn/problem/P5734 | |
| use std::io::stdin; | |
| fn main(){ | |
| let input=stdin(); | |
| let mut cycle=String::new(); | |
| input.read_line(&mut cycle).unwrap(); | |
| let cycle=cycle.trim().parse::<usize>().unwrap(); | |
| let mut buf=String::new(); | |
| input.read_line(&mut buf).unwrap(); | |
| buf=buf.trim().to_string(); |
A complete gdb to lldb command map.
(lldb) po responseObject
(lldb) po [responseObject objectForKey@"state"]
| #include <stdio.h> | |
| #include <windows.h> | |
| #include <winternl.h> | |
| #define dwAllowDllCount 1 | |
| CHAR cAllowDlls[dwAllowDllCount][MAX_PATH] = { | |
| "W:\\allowed.dll" | |
| }; | |
| VOID HookLoadDll(LPVOID lpAddr); |
| JNIEXPORT jint JNICALL Agent_OnLoad(JavaVM *jvm, char *options, void *reserved) | |
| { | |
| jvmtiError error; | |
| jint res; | |
| jvmtiEnv *jvmti = NULL; | |
| /* Setup initial global agent data area | |
| * Use of static/extern data should be handled carefully here. | |
| * We need to make sure that we are able to cleanup after ourselves | |
| * so anything allocated in this library needs to be freed in |
| return Intent().apply { | |
| if (isN()) { | |
| action = Intent.ACTION_INSTALL_PACKAGE | |
| flags = Intent.FLAG_GRANT_READ_URI_PERMISSION | |
| data = FileProvider.getUriForFile(context, | |
| "${context.applicationContext.packageName}.provider", apkFile) | |
| } else { | |
| action = Intent.ACTION_VIEW | |
| data = Uri.fromFile(apkFile) | |
| type = "application/vnd.android.package-archive" |
Hello. I've decided to share a lot more of my knowledge in public forums from now on, and to not divert any of my focus away from improving the world in a way that stays written in history.
This Gist is about discussing on how to improve AV1 decoding performance on 2 fronts: improving performance through more efficient decoding, and through decoding aware encoding.
Here are many tips on how to improve decoding performance on any machine:
| import com.google.common.base.Preconditions; | |
| import com.google.gson.JsonElement; | |
| import com.google.gson.JsonParser; | |
| import com.google.gson.stream.JsonReader; | |
| import java.io.IOException; | |
| import java.io.InputStreamReader; | |
| import java.net.HttpURLConnection; | |
| import java.net.URL; | |
| import java.util.concurrent.CompletableFuture; |
| use rand::{Rng, thread_rng}; | |
| pub struct A<T: FnMut(&mut usize,&mut usize,&mut bool)>{ | |
| a:usize, | |
| b:usize, | |
| c:bool, | |
| d:T | |
| } | |
| pub trait B{ | |
| fn handle(&mut self); | |
| } |