- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for firstOrNull (0.29 sec)
-
android/guava/src/com/google/common/collect/AbstractSequentialIterator.java
@CheckForNull private T nextOrNull; /** * Creates a new iterator with the given first element, or, if {@code firstOrNull} is null, * creates a new empty iterator. */ protected AbstractSequentialIterator(@CheckForNull T firstOrNull) { this.nextOrNull = firstOrNull; } /** * Returns the element that follows {@code previous}, or returns {@code null} if no elements
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Jul 09 17:31:04 GMT 2021 - 2.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/tls/BasicTrustRootIndex.kt
val issuer = cert.issuerX500Principal val subjectCaCerts = subjectToCaCerts[issuer] ?: return null return subjectCaCerts.firstOrNull { try { cert.verify(it.publicKey) return@firstOrNull true } catch (_: Exception) { return@firstOrNull false } } } override fun equals(other: Any?): Boolean { return other === this ||
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.8K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10OverrideInfoProvider.kt
val callableDescriptor = getSymbolDescriptor(symbol) as? CallableMemberDescriptor ?: return symbol val originalCallableDescriptor = callableDescriptor.findOriginalTopMostOverriddenDescriptors().firstOrNull() ?: return symbol return originalCallableDescriptor.toKtCallableSymbol(analysisContext) ?: symbol } override fun getOriginalContainingClassForOverride(symbol: KtCallableSymbol): KtClassOrObjectSymbol? {
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Wed Nov 30 19:49:14 GMT 2022 - 3.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
) { val commonName: Any? get() { return tbsCertificate.subject .flatten() .firstOrNull { it.type == ObjectIdentifiers.COMMON_NAME } ?.value } val organizationalUnitName: Any? get() { return tbsCertificate.subject .flatten() .firstOrNull { it.type == ObjectIdentifiers.ORGANIZATIONAL_UNIT_NAME } ?.value }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6.4K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10SymbolInfoProvider.kt
return SimpleDeprecationInfo(DeprecationLevelValue.WARNING, propagatesToOverrides = false, message = null) } } return analysisContext.deprecationResolver.getDeprecations(descriptor).firstOrNull() } private fun getAccessorDeprecation( property: KtPropertySymbol, accessor: KtPropertyAccessorSymbol?, accessorDescriptorProvider: (PropertyDescriptor) -> PropertyAccessorDescriptor?
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Jun 08 13:34:50 GMT 2023 - 7.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractSequentialIterator.java
@CheckForNull private T nextOrNull; /** * Creates a new iterator with the given first element, or, if {@code firstOrNull} is null, * creates a new empty iterator. */ protected AbstractSequentialIterator(@CheckForNull T firstOrNull) { this.nextOrNull = firstOrNull; } /** * Returns the element that follows {@code previous}, or returns {@code null} if no elements
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Jul 09 17:31:04 GMT 2021 - 2.4K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/CliFe10AnalysisFacade.kt
token, ) } override fun analyze(elements: List<KtElement>, mode: Fe10AnalysisFacade.AnalysisMode): BindingContext { val element = elements.firstOrNull() ?: return BindingContext.EMPTY return getHandler(element).resolveSession.orThrowResolutionNotPerformedError().bindingContext } override fun getOrigin(file: VirtualFile): KtSymbolOrigin {
Plain Text - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Fri Jan 26 16:20:19 GMT 2024 - 7K bytes - Viewed (0) -
build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt
classFilePathCandidatesFor(sourceName) .mapNotNull(::classBytesSupplierForFilePath) .firstOrNull() private fun classBytesSupplierForFilePath(classFilePath: String): ClassBytesSupplier? = classBytesIndex.asSequence().mapNotNull { it(classFilePath) }.firstOrNull() private fun sourceNamesFrom(entry: File): Sequence<String> = when {
Plain Text - Registered: Wed Feb 28 11:36:09 GMT 2024 - Last Modified: Sat Sep 30 16:17:27 GMT 2023 - 6.1K bytes - Viewed (0) -
analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/pointers/KtFe10DescFunctionLikeSymbolPointer.kt
return memberScope .getContributedDescriptors(DescriptorKindFilter.CALLABLES) { it == callableId.callableName } .filterIsInstance<CallableMemberDescriptor>() .firstOrNull { it.getSymbolPointerSignature() == signature } ?.toKtCallableSymbol(analysisContext) as? T } override fun pointsToTheSameSymbolAs(other: KtSymbolPointer<KtSymbol>): Boolean = this === other ||
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Sep 21 12:40:44 GMT 2023 - 2.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
"${declaringClass.baseQualifiedKotlinName}.${field.name}".let { fqn -> collectDescendantsOfType<KtProperty>() .firstOrNull { it.fqName?.asString() == fqn } ?.isDocumentedAsSince(version) == true } private
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 20 20:38:19 GMT 2023 - 11.1K bytes - Viewed (0)