- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 95 for invoke (0.19 sec)
-
src/packaging/common/scripts/prerm
if command -v systemctl >/dev/null; then systemctl --no-reload stop fess.service > /dev/null 2>&1 || true elif [ -x /etc/init.d/fess ]; then if command -v invoke-rc.d >/dev/null; then invoke-rc.d fess stop || true else /etc/init.d/fess stop || true fi # older suse linux distributions do not ship with systemd # but do not have an /etc/init.d/ directory
Plain Text - Registered: Mon Apr 29 08:04:11 GMT 2024 - Last Modified: Mon Jan 29 07:34:32 GMT 2018 - 1.7K bytes - Viewed (1) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/FirUtils.kt
import org.jetbrains.kotlin.util.OperatorNameConventions /** * Returns `true` if the symbol is for a function named `invoke`. */ internal fun FirBasedSymbol<*>.isInvokeFunction() = (this as? FirNamedFunctionSymbol)?.fir?.name == OperatorNameConventions.INVOKE fun FirFunctionCall.getCalleeSymbol(): FirBasedSymbol<*>? = calleeReference.getResolvedSymbolOfNameReference()
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Thu Apr 25 07:15:56 GMT 2024 - 6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt
checkNotBinaryCompatibleKotlin( v1 = """ fun Int.invoke(some: Int) {} operator fun Boolean.invoke(some: Int) {} fun String.invoke(some: Int) {} operator fun Long.invoke(some: Int) {} fun Float.invoke(some: Int) {} infix fun Byte.invoke(some: Int) {} interface Source {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 2.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Interceptor.kt
* interceptors. * * ```kotlin * val interceptor = Interceptor { chain: Interceptor.Chain -> * chain.proceed(chain.request()) * } * ``` */ inline operator fun invoke(crossinline block: (chain: Chain) -> Response): Interceptor = Interceptor { block(it) } } interface Chain { fun request(): Request @Throws(IOException::class) fun proceed(request: Request): Response
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
AlpnProvider(names), ) putMethod.invoke(null, sslSocket, alpnProvider) } catch (e: InvocationTargetException) { throw AssertionError("failed to set ALPN", e) } catch (e: IllegalAccessException) { throw AssertionError("failed to set ALPN", e) } } override fun afterHandshake(sslSocket: SSLSocket) { try { removeMethod.invoke(null, sslSocket) } catch (e: IllegalAccessException) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt
// Enable session tickets. setUseSessionTickets.invoke(sslSocket, true) // Assume platform support on 24+ if (hostname != null && Build.VERSION.SDK_INT <= 23) { // This is SSLParameters.setServerNames() in API 24+. setHostname.invoke(sslSocket, hostname) } // Enable ALPN. setAlpnProtocols.invoke( sslSocket,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.6K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt
// For implicit invoke, we resolve the calleeExpression of the CallExpression to the call that creates the receiver of this // implicit invoke call. For example, // ``` // fun test(f: () -> Unit) { // f() // calleeExpression `f` resolves to the local variable access, while `f()` resolves to the implicit `invoke` call.
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) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt
fun foo(bar: String) {} } operator fun Source.invoke(arg: String) {} """, v2 = """ class Source(some: String?) { fun foo(bar: String?) {} } operator fun Source.invoke(arg: String?) {} """ ) { assertHasNoError() assertHasWarnings(
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 9.1K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolDeclarationOverridesProvider.kt
) = when (declaration) { is FirSimpleFunction -> processOverriddenFunctions(declaration.symbol) { symbol -> processor.invoke(symbol.fir) ProcessorAction.NEXT } is FirProperty -> processOverriddenProperties(declaration.symbol) { symbol -> processor.invoke(symbol.fir) ProcessorAction.NEXT } else -> ProcessorAction.STOP }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Fri Mar 22 14:22:10 GMT 2024 - 9.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/idn/IdnStringprep.kt
) { /** * Returns [input] in canonical form according to these rules, or null if no such canonical form * exists for it. */ operator fun invoke(input: String): String? = invoke(Buffer().writeUtf8(input)) internal operator fun invoke(input: BufferedSource): String? { // 1. Map. val mapResult = Buffer() while (!input.exhausted()) { val codePoint = input.readUtf8CodePoint()
Plain Text - Registered: Fri Mar 29 11:42:11 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.2K bytes - Viewed (0)