Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for invoke (0.19 sec)

  1. 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)
  2. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/references/Fe10IdeNormalAnalysisSourceModuleReferenceResolveTestGenerated.java

      }
    
      @Nested
      @TestMetadata("analysis/analysis-api/testData/referenceResolve/invoke")
      @TestDataPath("$PROJECT_ROOT")
      public class Invoke {
        @Test
        public void testAllFilesPresentInInvoke() {
          KtTestUtil.assertAllTestsPresentByMetadataWithExcluded(this.getClass(), new File("analysis/analysis-api/testData/referenceResolve/invoke"), Pattern.compile("^([^.]+)\\.kt$"), null, true);
        }
    
        @Test
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Sat Apr 13 09:17:40 GMT 2024
    - 129.5K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/session/scope/internal/SessionScope.java

        private <T> T createProxy(Key<T> key, Provider<T> unscoped) {
            InvocationHandler dispatcher = (proxy, method, args) -> {
                method.setAccessible(true);
                try {
                    return method.invoke(getScopeState().scope(key, unscoped).get(), args);
                } catch (InvocationTargetException e) {
                    throw e.getCause();
                }
            };
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Apr 23 12:52:20 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  4. 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)
  5. android/guava/src/com/google/common/reflect/Types.java

        TypeVariableInvocationHandler(TypeVariableImpl<?> typeVariableImpl) {
          this.typeVariableImpl = typeVariableImpl;
        }
    
        @Override
        @CheckForNull
        public Object invoke(Object proxy, Method method, @CheckForNull @Nullable Object[] args)
            throws Throwable {
          String methodName = method.getName();
          Method typeVariableMethod = typeVariableMethods.get(methodName);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt

      fun checkForPinning() {
        assertThat(capturedOut.toString()).isEmpty()
      }
    
      private fun newVirtualThreadPerTaskExecutor(): ExecutorService {
        return Executors::class.java.getMethod("newVirtualThreadPerTaskExecutor").invoke(null) as ExecutorService
      }
    
      @Test
      fun testHttpsRequest() {
        MockServerClient(mockServer.host, mockServer.serverPort).use { mockServerClient ->
          mockServerClient
            .`when`(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 11:15:46 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/MoreExecutors.java

              Class.forName("com.google.appengine.api.ThreadManager")
                  .getMethod("currentRequestThreadFactory")
                  .invoke(null);
        } catch (IllegalAccessException | ClassNotFoundException | NoSuchMethodException e) {
          throw new RuntimeException("Couldn't invoke ThreadManager.currentRequestThreadFactory", e);
        } catch (InvocationTargetException e) {
          throw Throwables.propagate(e.getCause());
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 41.8K bytes
    - Viewed (0)
  8. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10CallResolver.kt

            }
    
            return KtSimpleFunctionCall(
                partiallyAppliedSymbol,
                argumentMapping,
                toTypeArgumentsMapping(partiallyAppliedSymbol),
                call.callType == Call.CallType.INVOKE
            )
        }
    
        private fun ResolvedCall<*>.toPartiallyAppliedVariableSymbol(context: BindingContext): KtPartiallyAppliedVariableSymbol<KtVariableLikeSymbol>? {
    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)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt

            private val mainKtFile: KtFile,
            private val injectedSymbolMapping: Map<CodeFragmentCapturedId, InjectedValue>
        ) : (FirReference, Fir2IrConversionScope) -> InjectedValue? {
            override fun invoke(calleeReference: FirReference, conversionScope: Fir2IrConversionScope): InjectedValue? {
                val irFile = conversionScope.containingFileIfAny()
                val psiFile = (irFile?.fileEntry as? PsiIrFileEntry)?.psiFile
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 32.2K bytes
    - Viewed (1)
  10. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

            complete(
                owner,
                /*
                 * Interruption doesn't propagate through a SetFuture chain (see getFutureValue), so
                 * don't invoke interruptTask.
                 */
                false);
          }
        }
      }
    
      // TODO(lukes): investigate using the @Contended annotation on these fields when jdk8 is
      // available.
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
Back to top