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
From c513decb40fc97173a7ac0bba5b7f8bcbb61ea3e Mon Sep 17 00:00:00 2001 | |
From: fire855 <fire855@gmail.com> | |
Date: Sun, 30 Oct 2016 07:39:16 +0000 | |
Subject: [PATCH] Framework_av MTK Patch | |
Change-Id: Ia8ab2f73ee51e27f21e4a6df047c307c5dd9965c | |
--- | |
AV.zip | Bin 0 -> 27670 bytes | |
camera/Android.mk | 7 + | |
camera/Android.mk.orig | 79 + |
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
From 3ead9d16053b0d295ed1fedec18e04a7b6585bbf Mon Sep 17 00:00:00 2001 | |
From: DeckerSU <support@decker.su> | |
Date: Mon, 19 Dec 2016 12:26:13 +0200 | |
Subject: [PATCH] add author info in device info | |
Change-Id: Id3c6e3dfad2e349e39eeecd7539d24acbd3f271b | |
--- | |
res/values-ru/strings.xml | 1 + | |
res/values/strings.xml | 4 ++++ | |
res/xml/device_info_settings.xml | 8 ++++++++ |
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 /init.recovery.logd.rc | |
import /init.recovery.usb.rc | |
import /init.recovery.service.rc | |
import /init.recovery.vold_decrypt.rc | |
import /init.recovery.${ro.hardware}.rc | |
on early-init | |
# Apply strict SELinux checking of PROT_EXEC on mmap/mprotect calls. | |
write /sys/fs/selinux/checkreqprot 0 |
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
language: c | |
####################################################################################### | |
os: | |
- linux | |
addons: | |
apt: | |
packages: | |
- curl |
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
From f20d184176c66c16f0568a0673633594ffae0d30 Mon Sep 17 00:00:00 2001 | |
From: Steve Kondik <steve@cyngn.com> | |
Date: Mon, 2 Aug 2010 11:23:47 -0700 | |
Subject: [PATCH] Forward-port mkbootimg / unpackbootimg support | |
* Mostly from Koush and Seth Shelnutt | |
unpackbootimg (squashed) | |
unpackbootimg ported forward from eclair |
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
--------- beginning of crash | |
03-22 11:04:18.891 168 243 F libc : Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 243 (Binder:168_1) | |
03-22 11:04:19.108 900 900 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** | |
03-22 11:04:19.108 900 900 F DEBUG : Build fingerprint: '7.1.2/MRA58M/2280749:user/release-keys' | |
03-22 11:04:19.108 900 900 F DEBUG : Revision: '0' | |
03-22 11:04:19.108 900 900 F DEBUG : ABI: 'arm' | |
03-22 11:04:19.108 900 900 F DEBUG : pid: 168, tid: 243, name: Binder:168_1 >>> /system/bin/audioserver <<< | |
03-22 11:04:19.108 900 900 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0 | |
03-22 11:04:19.108 900 900 F DEBUG : Cause: null pointer dereference | |
03-22 11:04:19.108 900 900 F DEBUG : r0 00000000 r1 00000000 r2 af60dfc5 r3 00000000 |
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
Trace Summary | |
Service Level : | |
JRE 1.8.0 Linux amd64-64 (build 1.8.0_181-b13) | |
JVM Start-up Params : | |
-Xoptionsfile=/home/manjotsidhu/openjdk8/jre/lib/amd64/compressedrefs/options.default | |
-Xlockword:mode=default,noLockword=java/lang/String,noLockword=java/util/MapEntry,noLockword=java/util/HashMap$Entry,noLockword=org/apache/harmony/luni/util/ModifiedMap$Entry,noLockword=java/util/Hashtable$Entry,noLockword=java/lang/invoke/MethodType,noLockword=java/lang/invoke/MethodHandle,noLockword=java/lang/invoke/CollectHandle,noLockword=java/lang/invoke/ConstructorHandle,noLockword=java/lang/invoke/ConvertHandle,noLockword=java/lang/invoke/ArgumentConversionHandle,noLockword=java/lang/invoke/AsTypeHandle,noLockword=java/lang/invoke/ExplicitCastHandle,noLockword=java/lang/invoke/FilterReturnHandle,noLockword=java/lang/invoke/DirectHandle,noLockword=java/lang/invoke/ReceiverBoundHandle,noLockword=java/lang/invoke/DynamicInvokerHandle,noLockword=java/lang/invoke/FieldHandle,noLockword=java/lang/invo |
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
J9 timer(UTC) ThreadID TP id Type TraceEntry | |
17:56:32.421549800 *0x143b700 mt.3 Entry >java/lang/String.<clinit>()V bytecode static method | |
17:56:32.427768924 0x143b700 mt.0 Entry >java/lang/String.equals(Ljava/lang/Object;)Z bytecode method, this = 0xe0001138 | |
17:56:32.427770916 0x143b700 mt.6 Exit <java/lang/String.equals(Ljava/lang/Object;)Z bytecode method | |
17:56:32.428596613 0x143b700 mt.0 Entry >java/lang/String.equals(Ljava/lang/Object;)Z bytecode method, this = 0xe0001390 | |
17:56:32.428612549 0x143b700 mt.0 Entry >java/lang/String.lengthInternal()I bytecode method, this = 0xe0001390 | |
17:56:32.428621513 0x143b700 mt.6 Exit <java/lang/String.lengthInternal()I bytecode method | |
17:56:32.428622509 0x143b700 mt.0 Entry >java/lang/String.lengthInternal()I bytecode method, this = 0xe0001138 | |
17:56:32.4286 |
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
function isPerfectSquare(n: number) : boolean { | |
return n > 0 && Math.sqrt(n) % 1 === 0; | |
} | |
function isFibonacci(input: number) : boolean { | |
return isPerfectSquare(5*input*input + 4) || isPerfectSquare(5*input*input - 4) | |
} | |
console.log(isFibonacci(4)) | |
console.log(isFibonacci(8)) |
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 isFibonacci from "./index" | |
var fibSeries: number[] = [0,1,1,2,3,5,8,13,21,34,55,89,144,233,377,610,987,1597,2584,4181] | |
test('Test fibonnaci series from 0 to 4181', () => { | |
for (var i = 0; i < fibSeries.length; i++) { | |
expect(isFibonacci(fibSeries[i])).toBe(true) | |
} | |
}) |
OlderNewer