Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for withSelf (0.36 sec)

  1. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/symbols/AbstractMultiModuleSymbolByPsiTest.kt

                        debugPrinter.appendLine()
    
                        prettyPrinter.withIndents(indentCount = declaration.parentsOfType<KtDeclaration>(withSelf = false).count()) {
                            prettyPrinter.appendLine(symbol.render(KaDeclarationRendererForDebug.WITH_QUALIFIED_NAMES))
                            prettyPrinter.appendLine()
                        }
                    }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/psiTypeProvider/AbstractAnalysisApiKtTypeByPsiTypeProviderTest.kt

                if (useSiteOffset != null) {
                    if (useSitePosition != null) error("Only one target method is expected")
                    useSitePosition = psiFile.findElementAt(useSiteOffset)?.parentOfType<PsiElement>(withSelf = true)
                }
            }
        }
    
        return TestDataContext(psiDeclaration ?: error("Target method is not found"), useSitePosition)
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 29 17:43:55 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/references/KDocReferenceResolver.kt

            val declaration = PsiTreeUtil.getContextOfType(contextElement, KtDeclaration::class.java, false) ?: return emptyList()
            for (ktDeclaration in declaration.parentsOfType<KtDeclaration>(withSelf = true)) {
                if (fqName.pathSegments().size == 1) {
                    getSymbolsFromDeclaration(fqName.shortName(), ktDeclaration).ifNotEmpty { return this }
                }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 04 08:26:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirDataFlowInfoProvider.kt

                    }
                }
    
                firStatements.forEach(::addCandidate)
            }
    
            val parentDeclarations = anchor.parentsOfType<KtDeclaration>(withSelf = true)
            for (parentDeclaration in parentDeclarations) {
                val parentFirDeclaration = parentDeclaration.getOrBuildFir(firResolveSession)
                if (parentFirDeclaration is FirControlFlowGraphOwner) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed Jun 05 14:04:46 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/lite/converter_gen.cc

                      valueKind.substr(0, 1).upper(), valueKind.substr(1),
                      static_value.index());
    
        os << "      (void)v;\n"
           << "      if (!("
           << tgfmt(pred.getCondition(), &fctx.withSelf("v.getType()")) << ")) {\n"
           << "        if (emit_error_on_verify_fail) {\n"
           << formatv(
                  "        return op->emitOpError(\"{0} #\") << index "
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 15:05:28 UTC 2023
    - 23.7K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirReferenceShortener.kt

    private inline fun <reified T : KtElement> KtFile.findSmallestElementOfTypeContainingSelection(selection: TextRange): T? =
        findElementAt(selection.startOffset)
            ?.parentsOfType<T>(withSelf = true)
            ?.firstOrNull { selection in it.textRange }
    
    /**
     * How a symbol is imported. The order of the enum entry represents the priority of imports. If a symbol is available from multiple kinds of
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Fri Jun 07 16:54:07 UTC 2024
    - 69.6K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/util/join.go

    		"CertificateKey":       key,
    		"ControlPlane":         controlPlane,
    	}
    
    	if skipTokenPrint {
    		ctx["Token"] = template.HTML("<value withheld>")
    	}
    	if skipCertificateKeyPrint {
    		ctx["CertificateKey"] = template.HTML("<value withheld>")
    	}
    
    	var out bytes.Buffer
    	err = joinCommandTemplate.Execute(&out, ctx)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Dec 18 04:27:38 UTC 2022
    - 3.9K bytes
    - Viewed (0)
  8. pkg/controller/statefulset/stateful_pod_control_test.go

    		{
    			name:        "all refs",
    			claimStates: []string{withRef, withRef},
    			expected:    false,
    		},
    		{
    			name:        "stale & exists",
    			claimStates: []string{stale, exists},
    			expected:    true,
    		},
    		{
    			name:        "stale & missing",
    			claimStates: []string{stale, missing},
    			expected:    true,
    		},
    		{
    			name:        "withRef & stale",
    			claimStates: []string{withRef, stale},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 05 19:06:41 UTC 2024
    - 35.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/server/healthz/healthz_test.go

    		{"", "ok", http.StatusOK, false},
    		{"?verbose", fmt.Sprintf("[+]ping ok\n[-]bad failed: reason withheld\n%s check failed\n", name), http.StatusInternalServerError, true},
    		{"/ping", "ok", http.StatusOK, true},
    		{"/bad", "internal server error: this will fail\n", http.StatusInternalServerError, true},
    		{"", fmt.Sprintf("[+]ping ok\n[-]bad failed: reason withheld\n%s check failed\n", name), http.StatusInternalServerError, true},
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 15 20:43:16 UTC 2023
    - 11.4K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/server/config_test.go

    		}
    		return true, nil
    	}); err != nil {
    		t.Fatal(err)
    	}
    	checkPath(server.URL+"/healthz", http.StatusInternalServerError, `[+]ping ok
    [+]log ok
    [-]wrapping-health failed: reason withheld
    [-]delegate-health failed: reason withheld
    [+]poststarthook/generic-apiserver-start-informers ok
    [+]poststarthook/max-in-flight-filter ok
    [+]poststarthook/storage-object-count-tracker-hook ok
    [+]poststarthook/delegate-post-start-hook ok
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 29 18:59:21 UTC 2024
    - 13.1K bytes
    - Viewed (0)
Back to top