- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for ptrmethod (0.19 sec)
-
src/runtime/debug/stack_test.go
log.Fatal(err) // e.g. EMFILE } println("hello") panic("oops") } // default: run the tests. os.Exit(m.Run()) } type T int func (t *T) ptrmethod() []byte { return Stack() } func (t T) method() []byte { return t.ptrmethod() } /* The traceback should look something like this, modulo line numbers and hex constants. Don't worry much about the base levels, but check the ones in our own package.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 15:19:04 UTC 2024 - 5.5K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/printf/printf.go
} // Is the expression e within the body of that String or Error method? var method *types.Func if strOk && strMethod.Pkg() == pass.Pkg && inScope(e, strMethod) { method = strMethod } else if errOk && errMethod.Pkg() == pass.Pkg && inScope(e, errMethod) { method = errMethod } else { return "", false } sig := method.Type().(*types.Signature) if !isStringer(sig) { return "", false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 02 02:20:05 UTC 2024 - 32.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy
return acceptOrReject(c, changes, Violation.error(c, " methods removed in internal super class")) } private Set<CtMethod> collectAllPublicApiMethods(CtClass c) { Set<CtMethod> result = [] as Set collect(result, c) return result } private void collect(Set<CtMethod> result, CtClass c) { if (c == null) { return }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 06 19:15:15 UTC 2022 - 3.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt
else hasKotlinFlag(ctMember, Flag.IS_INTERNAL) fun isKotlinOperatorFunction(ctMethod: CtMethod): Boolean = hasKotlinFlag(ctMethod, Flag.Function.IS_OPERATOR) fun isKotlinInfixFunction(ctMethod: CtMethod): Boolean = hasKotlinFlag(ctMethod, Flag.Function.IS_INFIX) private fun hasKotlinFlag(ctClass: CtClass, flag: Flag): Boolean =
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 07 08:20:38 UTC 2023 - 4.6K bytes - Viewed (0) -
analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/components/psiDeclarationProvider/TestPsiElementRenderer.kt
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Tue Dec 19 07:03:31 UTC 2023 - 1.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt
val putMethod = alpnClass.getMethod("put", SSLSocket::class.java, providerClass) val getMethod = alpnClass.getMethod("get", SSLSocket::class.java) val removeMethod = alpnClass.getMethod("remove", SSLSocket::class.java) return Jdk8WithJettyBootPlatform( putMethod, getMethod, removeMethod, clientProviderClass,
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/KotlinSourceQueries.kt
internal object KotlinSourceQueries { fun isOverrideMethod(method: JApiMethod): (KtFile) -> Boolean = { ktFile -> val ctMethod = method.newMethod.get() ktFile.kotlinDeclarationSatisfies(ctMethod.declaringClass, ctMethod) { ktMember -> ktMember.hasModifier(KtTokens.OVERRIDE_KEYWORD) } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 20 20:38:19 UTC 2023 - 11.1K bytes - Viewed (0) -
analysis/analysis-api-impl-base/src/org/jetbrains/kotlin/analysis/api/impl/base/java/source/JavaElementDelegatingTypeSourceWithSmartPointer.kt
internal class JavaElementDelegatingMethodReturnTypeSourceWithSmartPointer<TYPE : PsiType>( override val psiPointer: SmartPsiElementPointer<out PsiMethod>, override val factory: JavaElementSourceFactory, ) : JavaElementDelegatingTypeSourceWithSmartPointer<PsiMethod, TYPE>() { override fun getType(psi: PsiMethod): TYPE { @Suppress("UNCHECKED_CAST") return psi.returnType as TYPE } }
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed Jun 14 09:25:26 UTC 2023 - 3.2K bytes - Viewed (0) -
analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/psiTypeProvider/AbstractAnalysisApiKtTypeByPsiTypeProviderTest.kt
*/ package org.jetbrains.kotlin.analysis.api.impl.base.test.cases.components.psiTypeProvider import com.intellij.psi.PsiElement import com.intellij.psi.PsiMethod import com.intellij.psi.PsiType import com.intellij.psi.PsiVariable import org.jetbrains.kotlin.analysis.api.types.KaType import org.jetbrains.kotlin.analysis.test.framework.base.AbstractAnalysisApiBasedTest
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 29 17:43:55 UTC 2024 - 3.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
} else if (member instanceof JApiMethod) { JApiMethod method = (JApiMethod) member CtMethod oldMethod = method.oldMethod.get() CtMethod newMethod = method.newMethod.get() inspectParametersNullabilityOf(oldMethod, newMethod) def oldNullability = hasNullableAnnotation(oldMethod)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Apr 13 10:04:28 UTC 2024 - 5.4K bytes - Viewed (0)