This file contains 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
/* This file has been generated by the Hex-Rays decompiler. | |
Copyright (c) 2007-2017 Hex-Rays <info@hex-rays.com> | |
Detected compiler: Visual C++ | |
*/ | |
#include <defs.h> | |
//------------------------------------------------------------------------- |
This file contains 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
int __fastcall sub_0(int a1, signed int a2, int a3) | |
{ | |
signed int v3; // r4 | |
signed int v4; // r3 | |
signed int i; // r6 | |
int v6; // r0 | |
int v7; // r2 | |
int v8; // r1 | |
int v9; // r1 | |
int v10; // r1 |
This file contains 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
int sub_6DC8(int assistantMode, signed int inputSpeedRpm, int assistantConfigAddress) { | |
signed int targetRpm; // r4 | |
signed int asisstantCoefficient; // r3 | |
signed int i; // r6 | |
int power1; // r0 | |
int power2; // r2 | |
int rpmDiff; // r1 | |
int rawPowerDiff; // r1 | |
int powerDiff; // r1 | |
int resultPower; // r0 |
This file contains 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
import android.content.res.Resources | |
import android.support.test.InstrumentationRegistry | |
import android.support.test.uiautomator.UiDevice | |
import android.support.test.uiautomator.UiSelector | |
import java.lang.IllegalStateException | |
/** | |
* Based on https://github.com/nenick/espresso-macchiato | |
*/ | |
class DismissSystemDialogsRule : SimpleRule() { |
This file contains 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/env bash | |
git clone https://github.com/transmission/transmission | |
cd transmission | |
python <<END | |
with open('libtransmission/peer-mgr.c', 'r') as file: | |
source_code = file.readlines() | |
function_start = next(i for i, string in enumerate(source_code) if 'comparePieceByWeight' in string) |
OlderNewer