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
panic(cpu 0 caller 0xfffffe00171a7f48): hibernate_write_image encountered error 0xe00002e8 - 388374, 178448, 0, 24853, 0, 0, 1399, 5, 0, 0, 0, 0, 0, 0 | |
@vm_compressor.c:4906 | |
Debugger message: panic | |
Memory ID: 0x1 | |
OS release type: User | |
OS version: 21C52 | |
Kernel version: Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 | |
Fileset Kernelcache UUID: 88208EF24C07AA8B02CDA1369E036EBD | |
Kernel UUID: 2F4E22DC-64BE-3369-B574-0909F0571FA6 | |
iBoot version: iBoot-7429.61.2 |
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
use bytes::Bytes; | |
use std::pin::Pin; | |
use std::task::{Context, Poll}; | |
use std::io::BufReader; | |
use std::io::Read; | |
use futures_util::ready; | |
use futures_core::Future; | |
struct StreamBody { | |
reader: BufReader<File>, |
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
@available(iOS 13.0, *) | |
func tableView(_ tableView: UITableView, contextMenuConfigurationForRowAt indexPath: IndexPath, point: CGPoint) -> UIContextMenuConfiguration? { | |
let actionProvider: UIContextMenuActionProvider = { _ in | |
let confirmDelete: UIMenu = UIMenu(title: "something".localized, options: [UIMenu.Options.destructive], children: [ | |
UIAction(title: "delete".localized, attributes: [.destructive]) { [weak self] _ in | |
//..... | |
}, | |
UIAction(title: "cancel".localized) { _ in } |
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
##################### | |
### Build libopus ### | |
##################### | |
LOCAL_PATH := $(ROOT)/libopus | |
include $(CLEAR_VARS) | |
#include the .mk files | |
include $(LOCAL_PATH)/celt_sources.mk | |
include $(LOCAL_PATH)/silk_sources.mk | |
include $(LOCAL_PATH)/opus_sources.mk |
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
import okhttp3.HttpUrl | |
import okhttp3.Interceptor | |
import okhttp3.OkHttpClient | |
import okhttp3.Response | |
import okhttp3.mockwebserver.MockResponse | |
import okhttp3.mockwebserver.MockWebServer | |
inline fun mockServer( | |
address: String, | |
response: String, |
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
+--- io.realm:realm-android-library:5.0.0 | |
| +--- com.google.code.findbugs:jsr305:3.0.2 | |
| +--- com.getkeepsafe.relinker:relinker:1.2.2 | |
| \--- io.realm:realm-annotations:5.0.0 | |
+--- io.realm:realm-android-kotlin-extensions:5.0.0 | |
| \--- org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.2.10 | |
| \--- org.jetbrains.kotlin:kotlin-stdlib:1.2.10 -> 1.2.31 | |
| \--- org.jetbrains:annotations:13.0 | |
+--- io.realm:realm-annotations:5.0.0 | |
+--- com.airbnb.android:lottie:2.2.5 |
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
/** | |
* Just create a new project, add Realm dependency, enable minify (and add the Realm's proguard info) and run the test. | |
*/ | |
@RunWith(AndroidJUnit4::class) | |
class RepositoryTest { | |
lateinit var realm: Realm | |
private fun cleanDatabase(realm: Realm) { | |
realm.executeTransaction { |
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
import android.content.Context | |
import io.realm.* | |
import io.realm.internal.RealmCore | |
import io.realm.log.RealmLog | |
import org.junit.Before | |
import org.junit.Rule | |
import org.junit.Test | |
import org.junit.runner.RunWith | |
import org.mockito.Mockito.`when` | |
import org.mockito.Matchers.`any` |
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
Error:Error converting bytecode to dex: | |
Cause: local 0008: invalid | |
Error:com.android.dx.cf.code.SimException: local 0008: invalid | |
Error: at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) | |
Error: at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) | |
Error: at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) | |
Error: at java.lang.reflect.Constructor.newInstance(Constructor.java:423) | |
Error: at java.util.concurrent.ForkJoinTask.getThrowableException(ForkJoinTask.java:593) | |
Error: at java.util.concurrent.ForkJoinTask.reportException(ForkJoinTask.java:677) | |
Error: at java.util.concurrent.ForkJoinTask.join(ForkJoinTask.java:720) |
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
import UIKit | |
/* | |
* Copyright (c) 2014, Facebook, Inc. | |
* All rights reserved. | |
* | |
* This source code is licensed under the BSD-style license found in the | |
* LICENSE file in the root directory of this source tree. An additional grant | |
* of patent rights can be found in the PATENTS file in the same directory. | |
* |
NewerOlder