- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for UNCHECKED_CAST (0.2 sec)
-
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt
require(diagnostic is DiagnosticWithParameters1<*, *>) @Suppress("UNCHECKED_CAST") diagnostic.a as Collection<ResolvedCall<*>> } in diagnosticWithResolvedCallsAtPosition2 -> { require(diagnostic is DiagnosticWithParameters2<*, *, *>) @Suppress("UNCHECKED_CAST") diagnostic.b as Collection<ResolvedCall<*>> }
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Mon Apr 29 12:48:54 GMT 2024 - 34.8K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt
String::class.java, ) } catch (_: NoSuchMethodException) { null } /** Android method to clean and sort certificates, called via reflection. */ @Suppress("unused", "UNCHECKED_CAST") fun checkServerTrusted( chain: Array<out X509Certificate>, authType: String, host: String, ): List<Certificate> { if (host in insecureHosts) return listOf() try { val method =
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt
*/ internal class AndroidCertificateChainCleaner( private val trustManager: X509TrustManager, private val x509TrustManagerExtensions: X509TrustManagerExtensions, ) : CertificateChainCleaner() { @Suppress("UNCHECKED_CAST") @Throws(SSLPeerUnverifiedException::class) @SuppressSignatureCheck override fun clean( chain: List<Certificate>, hostname: String, ): List<Certificate> {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.7K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginIdExtensions.kt
import java.io.File /** * Helper for reflective usage by `KotlinExtensionsForGradleApiFacade`. */ class PluginIdExtensionsFacade { @Suppress("UNCHECKED_CAST") fun generate(parameters: Map<String, Any>) { writeBuiltinPluginIdExtensionsTo( parameters["file"] as File, parameters["gradleJars"] as Iterable<File>,
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Sun Nov 12 16:16:07 GMT 2023 - 3.1K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeSSLSession.kt
override fun getLocalPrincipal(): Principal { throw UnsupportedOperationException() } override fun getPacketBufferSize(): Int { throw UnsupportedOperationException() } @Suppress("UNCHECKED_CAST") @Throws(SSLPeerUnverifiedException::class) override fun getPeerCertificates(): Array<Certificate> { return if (certificates.isEmpty()) { throw SSLPeerUnverifiedException("peer not authenticated")
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.3K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/SourceFileHeader.kt
fun fileHeaderFor(packageName: String, isIncubating: Boolean = false) = """$licenseHeader @file:Suppress( "unused", "nothing_to_inline", "useless_cast", "unchecked_cast", "extension_shadowed_by_member", "redundant_projection", "RemoveRedundantBackticks", "ObjectPropertyName", "deprecation" )
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Sun Nov 12 16:16:08 GMT 2023 - 2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/StandardAndroidSocketAdapter.kt
) return x509TrustManager ?: readFieldOrNull( context, X509TrustManager::class.java, "trustManager", ) } companion object { @Suppress("UNCHECKED_CAST") fun buildIfSupported(packageName: String = "com.android.org.conscrypt"): SocketAdapter? { return try { val sslSocketClass = Class.forName("$packageName.OpenSSLSocketImpl") as Class<in SSLSocket>
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.7K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ @file:Suppress("UNCHECKED_CAST") import gradlebuild.AbstractBuildScanInfoCollectingService import gradlebuild.registerBuildScanInfoCollectingService import org.gradle.tooling.events.task.TaskOperationResult
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Mar 07 05:49:29 GMT 2024 - 4.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt
} return when (fir) { is FirAnnotationCall -> { if (unsubstitutedKtSignature.symbol !is KtConstructorSymbol) return null @Suppress("UNCHECKED_CAST") // safe because of the above check on targetKtSymbol KtAnnotationCall( partiallyAppliedSymbol as KtPartiallyAppliedFunctionSymbol<KtConstructorSymbol>,
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 18:05:58 GMT 2024 - 70.8K bytes - Viewed (1) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt
* writing process sets something else. This is used to encode SEQUENCES in values that are * declared to have non-constructed values, like OCTET STRING values. */ @Suppress("UNCHECKED_CAST") // read() produces a single element of the expected type. fun withExplicitBox( tagClass: Int = DerHeader.TAG_CLASS_CONTEXT_SPECIFIC, tag: Long, forceConstructed: Boolean? = null, ): BasicDerAdapter<T> {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.2K bytes - Viewed (0)