Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for invoke (0.18 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. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                  type,
                  new InvocationHandler() {
                    @Override
                    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
                      if (!method.getDeclaringClass().equals(type)) {
                        return method.invoke(delegate, args);
                      }
                      checkState(started.getCount() == 1);
                      started.countDown();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  3. 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)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                  type,
                  new InvocationHandler() {
                    @Override
                    public Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
                      if (!method.getDeclaringClass().equals(type)) {
                        return method.invoke(delegate, args);
                      }
                      checkState(started.getCount() == 1);
                      started.countDown();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  5. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/expressionInfoProvider/Fe10IdeNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java

      }
    
      @Test
      @TestMetadata("lambda_unused_invoke.kt")
      public void testLambda_unused_invoke() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/lambda_unused_invoke.kt");
      }
    
      @Test
      @TestMetadata("localFunctionDecl.kt")
      public void testLocalFunctionDecl() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Feb 27 20:30:06 GMT 2024
    - 76.2K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                    // usual `foo.bar.baz` case
                    is KtDotQualifiedExpression -> sourcePsi.selectorExpression
    
                    // short `foo` case, or implicit invoke call like `foo.bar.baz()`
                    else -> sourcePsi
                }
    
                return nameReference as? KtNameReferenceExpression
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:51:33 GMT 2024
    - 69.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/SetsTest.java

        assertThat(units).isEmpty();
      }
    
      public void testToImmutableEnumSetReused() {
        // The method call lets us capture the accumulator as an A and invoke the callbacks manually
        genericTestToImmutableEnumSetReused(Sets.<SomeEnum>toImmutableEnumSet());
      }
    
      private static <A extends @Nullable Object> void genericTestToImmutableEnumSetReused(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 49.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/Futures.java

       * primary input fails with the given {@code exceptionType}, from the result provided by the
       * {@code fallback}. {@link Function#apply} is not invoked until the primary input has failed, so
       * if the primary input succeeds, it is never invoked. If, during the invocation of {@code
       * fallback}, an exception is thrown, this exception is used as the result of the output {@code
       * Future}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheBuilder.java

      }
    
      /**
       * Specifies a listener instance that caches should notify each time an entry is removed for any
       * {@linkplain RemovalCause reason}. Each cache created by this builder will invoke this listener
       * as part of the routine maintenance described in the class documentation above.
       *
       * <p><b>Warning:</b> after invoking this method, do not continue to use <i>this</i> cache builder
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  10. cmd/bucket-handlers.go

    				Created: dnsRecords[0].CreationDate,
    			})
    		}
    
    		sort.Slice(bucketsInfo, func(i, j int) bool {
    			return bucketsInfo[i].Name < bucketsInfo[j].Name
    		})
    
    	} else {
    		// Invoke the list buckets.
    		var err error
    		bucketsInfo, err = listBuckets(ctx, BucketOptions{})
    		if err != nil {
    			writeErrorResponse(ctx, w, toAPIError(ctx, err), r.URL)
    			return
    		}
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 16:27:27 GMT 2024
    - 61.6K bytes
    - Viewed (0)
Back to top