Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 48 for unwrapped (0.19 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/descriptorBased/base/Kt1DescUtils.kt

            is ConstructorDescriptor -> unwrapped.toKtConstructorSymbol(analysisContext)
            is FunctionDescriptor -> {
                if (DescriptorUtils.isAnonymousFunction(unwrapped)) {
                    KaFe10DescAnonymousFunctionSymbol(unwrapped, analysisContext)
                } else {
                    KaFe10DescFunctionSymbol.build(unwrapped, analysisContext)
                }
            }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirExpressionTypeProvider.kt

    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 24.4K bytes
    - Viewed (0)
  3. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/components/KtFe10ExpressionTypeProvider.kt

            val unwrapped = expression.unwrapParenthesesLabelsAndAnnotations() as? KtExpression ?: return null
            if (unwrapped.getParentOfTypes(false, *NON_EXPRESSION_CONTAINERS) != null) {
                return null
            }
    
            val bindingContext = analysisContext.analyze(unwrapped, AnalysisMode.PARTIAL)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtSymbolByFirBuilder.kt

                val originalFirSymbol = firSymbol.fir.originalConstructorIfTypeAlias?.symbol ?: firSymbol
                val unwrapped = originalFirSymbol.originalIfFakeOverride() ?: originalFirSymbol
                return symbolsCache.cache(unwrapped) {
                    KaFirConstructorSymbol(unwrapped, analysisSession)
                }
            }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:43 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  5. platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/UncheckedException.java

         *
         * Note: always throws the failure in some form. The return value is to keep the compiler happy.
         *
         * @param e to be unwrapped
         * @return an instance of RuntimeException based on the target exception of the parameter.
         */
        public static RuntimeException unwrapAndRethrow(InvocationTargetException e) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 10 14:28:48 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Maps.java

       * {@code o} is an instance of {@code Entry}, it is wrapped using {@link #unmodifiableEntry} to
       * protect against a possible nefarious equals method.
       *
       * <p>Note that {@code c} is the backing (delegate) collection, rather than the forwarding
       * collection.
       *
       * @param c the delegate (unwrapped) collection of map entries
       * @param o the object that might be contained in {@code c}
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 159.5K bytes
    - Viewed (0)
  7. src/net/http/server.go

    // After [Server.Shutdown] or [Server.Close], the returned error is [ErrServerClosed].
    func (srv *Server) Serve(l net.Listener) error {
    	if fn := testHookServerServe; fn != nil {
    		fn(srv, l) // call hook with unwrapped listener
    	}
    
    	origListener := l
    	l = &onceCloseListener{Listener: l}
    	defer l.Close()
    
    	if err := srv.setupHTTP2_Serve(); err != nil {
    		return err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 123.4K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				if len(errs) != 0 {
    					t.Errorf("expected no errors, but got: %v", errs)
    				}
    			})
    		})
    	}
    }
    
    // Show that we cant just use oldSelf as if it was unwrapped
    func TestOptionalOldSelfIsOptionalType(t *testing.T) {
    	featuregatetesting.SetFeatureGateDuringTest(t, utilfeature.DefaultFeatureGate, apiextensionsfeatures.CRDValidationRatcheting, true)
    
    	cases := []struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/endpoints/filterlatency/filterlatency_test.go

    		callCount++
    	})
    	// wrap with start and completed handler
    	wrapped := TrackCompleted(handler)
    	wrapped = TrackStarted(wrapped, tp, filterName)
    
    	testRequest, err := http.NewRequest(http.MethodGet, "/api/v1/namespaces", nil)
    	if err != nil {
    		t.Fatalf("failed to create new http request - %v", err)
    	}
    
    	wrapped.ServeHTTP(httptest.NewRecorder(), testRequest)
    
    	if callCount != 1 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:57:37 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/ClassSanityTesterTest.java

            () -> new ClassSanityTester().doTestEquals(SetWrapper.class));
      }
    
      private abstract static class Wrapper {
        private final Object wrapped;
    
        Wrapper(Object wrapped) {
          this.wrapped = checkNotNull(wrapped);
        }
    
        @Override
        public boolean equals(@Nullable Object obj) {
          // In general getClass().isInstance() is bad for equals.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 36.2K bytes
    - Viewed (0)
Back to top