Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 22 for Implicit (0.26 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-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

                    is FirDefaultSimpleImportingScope -> DEFAULT_EXPLICIT
                    is FirAbstractSimpleImportingScope -> EXPLICIT
                    else -> LOCAL
                }
            }
    
            fun fromShortenOption(option: ShortenStrategy): ImportKind? = when (option) {
                ShortenStrategy.SHORTEN_AND_IMPORT -> EXPLICIT
                ShortenStrategy.SHORTEN_AND_STAR_IMPORT -> STAR
                else -> null
    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)
  3. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/expressionInfoProvider/Fe10IdeNormalAnalysisSourceModuleIsUsedAsExpressionTestGenerated.java

      }
    
      @Test
      @TestMetadata("return_explicit_unit.kt")
      public void testReturn_explicit_unit() {
        runTest("analysis/analysis-api/testData/components/expressionInfoProvider/isUsedAsExpression/return_explicit_unit.kt");
      }
    
      @Test
      @TestMetadata("return_implicit_unit.kt")
      public void testReturn_implicit_unit() {
    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)
  4. android/guava/src/com/google/common/reflect/TypeToken.java

       * Foo<Enum<?>>} according to JLS. See testRecursiveWildcardSubtypeBug() for a real example.
       *
       * <p>It appears that properly handling recursive type bounds in the presence of implicit type
       * bounds is not easy. For now we punt, hoping that this defect should rarely cause issues in real
       * code.
       *
       * @param formalType is {@code Foo<formalType>} a supertype of {@code Foo<T>}?
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

        // NOTE: if timeout < 0, remainingNanos will be < 0 and we will fall into the while(true) loop
        // at the bottom and throw a timeoutexception.
        final long timeoutNanos = unit.toNanos(timeout); // we rely on the implicit null check on unit.
        long remainingNanos = timeoutNanos;
        if (Thread.interrupted()) {
          throw new InterruptedException();
        }
        Object localValue = value;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

        }
    
        /** MNG-522, MNG-3018 */
        @Test
        void testManagedPluginConfigurationAppliesToImplicitPluginsIntroducedByPackaging() throws Exception {
            PomTestWrapper pom = buildPom("plugin-management-for-implicit-plugin/child");
            assertEquals(
                    "passed.txt",
                    pom.getValue("build/plugins[@artifactId='maven-resources-plugin']/configuration/pathname"));
            assertEquals(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  7. src/cmd/cgo/gcc.go

    		// Arrays are passed implicitly as pointers in C.
    		// In Go, we must be explicit.
    		tr := &TypeRepr{}
    		tr.Set("%s*", t.C)
    		return &Type{
    			Size:  c.ptrSize,
    			Align: c.ptrSize,
    			Go:    &ast.StarExpr{X: t.Go},
    			C:     tr,
    		}
    	case *dwarf.TypedefType:
    		// C has much more relaxed rules than Go for
    		// implicit type conversions. When the parameter
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Iterators.java

       * is empty.
       *
       * <p><b>Warning:</b> Typical uses of the resulting iterator may produce an infinite loop. You
       * should use an explicit {@code break} or be certain that you will eventually remove all the
       * elements.
       */
      public static <T extends @Nullable Object> Iterator<T> cycle(Iterable<T> iterable) {
        checkNotNull(iterable);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 18:43:01 GMT 2024
    - 51.1K bytes
    - Viewed (0)
  9. tensorflow/c/eager/c_api_test.cc

    }
    TEST(CAPI, TensorHandleSilentCopyLocalPolicy) {
      TensorHandleSilentCopy(false, TFE_DEVICE_PLACEMENT_EXPLICIT,
                             TFE_DEVICE_PLACEMENT_SILENT, false);
    }
    TEST(CAPI, TensorHandleSilentCopyLocalPolicyAsync) {
      TensorHandleSilentCopy(true, TFE_DEVICE_PLACEMENT_EXPLICIT,
                             TFE_DEVICE_PLACEMENT_SILENT, false);
    }
    
    void SetAndGetOpDevices(bool async) {
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Aug 03 20:50:20 GMT 2023
    - 94.6K bytes
    - Viewed (1)
  10. cmd/bucket-handlers.go

    	if errCode != ErrNone {
    		writeErrorResponse(ctx, w, errorCodes.ToAPIErr(errCode), r.URL)
    		return
    	}
    
    	if len(fanOutEntries) > 0 {
    		// Once signature is validated, check if the user has
    		// explicit permissions for the user.
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.PutObjectFanOutAction,
    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