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.app.Activity; | |
import android.content.Context; | |
import android.content.ContextWrapper; | |
import android.support.annotation.NonNull; | |
import android.support.v7.internal.widget.*; | |
import android.util.AttributeSet; | |
import android.view.LayoutInflater; | |
import android.view.View; | |
import android.annotation.TargetApi; | |
import android.os.Build; |
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
#include "jni.h" | |
#include <android/log.h> | |
#include <stddef.h> | |
#include <fcntl.h> // splice ? | |
#include <sys/sendfile.h> // sendfile ? | |
#include <sys/stat.h> // fstat ? | |
#include <unistd.h> // seek ? | |
#include <stdio.h> // sprintf | |
#define LOG_TAG "fdshare-native" |
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
@Schema(className = "ExampleSchema", dbName = "example.db", dbVersion = 1) | |
@Provider(authority = ExampleContract.AUTHORITY, schemaClass = "ExampleSchema", name = "ExampleProviderProto") | |
public interface ExampleContract { | |
String AUTHORITY = "com.example.provider"; | |
@Table(Developments.TABLE_NAME) | |
interface Developments { | |
String TABLE_NAME = "developments"; | |
@URI(altNotify = {NearbyView.CONTENT_URI, DevelopmentView.CONTENT_URI}) |
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 java.util.*; | |
import java.io.*; | |
import java.security.*; | |
public class ChangePassword | |
{ | |
private final static JKS j = new JKS(); | |
public static void main(String[] args) throws Exception | |
{ |
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
# Remove - Buffer method calls. Remove all invocations of Buffer | |
# methods without side effects whose return values are not used. | |
-assumenosideeffects public class java.** extends java.nio.Buffer { | |
public int position(); | |
public int arrayOffset(); | |
public int capacity(); | |
public int limit(); | |
public int length(); | |
public boolean isReadOnly(); | |
public boolean hasArray(); |
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
JNIEXPORT jint JNICALL Java_io_netty_channel_android_JNI_bind(JNIEnv *env, jclass type, jint a1, jint a2, jint a3, jint a4, jint port, jint fd) { | |
struct sockaddr* address; | |
socklen_t size; | |
if (a1 == 0 && a2 == 0 && a3 == 0xff) { | |
size = sizeof(struct sockaddr_in); | |
struct sockaddr_in* ip4 = alloca(size); | |
*ip4 = (struct sockaddr_in) { |
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
002c:fixme:winediag:__wine_start_process Wine Staging 5.9 is a testing version containing experimental patches. | |
002c:fixme:winediag:__wine_start_process Please mention your exact version when filing bug reports on winehq.org. | |
0034:err:menubuilder:init_xdg error looking up the desktop directory | |
00c4:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION | |
00c4:fixme:imm:ImmReleaseContext (0000000000010058, 000000000A52BF40): stub | |
00c4:fixme:wbemprox:client_security_SetBlanket 00007F377C2F2720, 000000000A54AF30, 10, 0, (null), 3, 3, 0000000000000000, 0x00000000 | |
00c4:fixme:wbemprox:client_security_Release 00007F377C2F2720 | |
00c4:fixme:rawinput:RegisterRawInputDevices Unhandled flags 0x100 for device 0. | |
00c4:fixme:service:I_ScRegisterDeviceNotification Notification filters are not yet implemented. | |
00c4:fixme:rawinput:RegisterRawInputDevices Unhandled flags 0x100 for device 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
# actual hardware device descriptions | |
pcm.rawcard { | |
type hw | |
card 0 | |
device 0 | |
hint { | |
show on | |
description "Direct Intel audio driver access" | |
} |