Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ptrmethod (0.22 sec)

  1. 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)
  2. 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)
  3. 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)
  4. analysis/analysis-api-standalone/tests/org/jetbrains/kotlin/analysis/api/standalone/fir/test/cases/components/psiDeclarationProvider/TestPsiElementRenderer.kt

                append(psiElement.containingClass?.name)
                append(".")
                append(psiElement.name)
                append(": ")
                append(psiElement.type)
            }
            is PsiMethod -> buildString {
                append("PsiMethod:")
                append(psiElement.name)
                append("(")
                psiElement.parameterList.parameters.joinTo(this) { render(it) }
                append("): ")
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Dec 19 07:03:31 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt

     * limitations under the License.
     */
    
    @file:JvmName("JavassistExtensions")
    
    package gradlebuild.binarycompatibility
    
    import javassist.CtClass
    import javassist.CtMethod
    import javassist.bytecode.SyntheticAttribute
    import javassist.bytecode.annotation.AnnotationMemberValue
    import javassist.bytecode.annotation.ArrayMemberValue
    import javassist.bytecode.annotation.BooleanMemberValue
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.6K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolProviderByJavaPsi.kt

            this is ClsElementImpl && hasAnnotation(JvmAnnotationNames.METADATA_FQ_NAME.asString())
    
        override fun getCallableSymbol(callable: PsiMember): KaCallableSymbol? {
            if (callable !is PsiMethod && callable !is PsiField) return null
            val name = callable.name?.let(Name::identifier) ?: return null
            val containingClass = callable.containingClass ?: return null
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top