Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 7,602 for _class (0.04 sec)

  1. okhttp/src/main/kotlin/okhttp3/Request.kt

    1. @JvmName("reifiedTag")
    2. inline fun <reified T : Any> tag(): T? = tag(T::class)
    3.  
    4. /** Returns the tag attached with [type] as a key, or null if no tag is attached with that key. */
    5. fun <T : Any> tag(type: KClass<T>): T? = type.java.cast(tags[type])
    6.  
    7. /**
    8. * Returns the tag attached with `Object.class` as a key, or null if no tag is attached with
    9. * that key.
    10. *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  2. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

    1. @Incubating
    2. static class NewIncubatingBase extends NewSuper {}
    3.  
    4. @Incubating
    5. interface IncubatingInterface {}
    6.  
    7. interface InternalInterface {}
    8.  
    9. interface StablePublicInterface {}
    10.  
    11. CtClass oldBase
    12. CtClass newBase
    13. CtClass newSuper
    14. CtClass newIncubatingBase
    15. CtClass internalInterface
    16. CtClass incubatingInterface
    17. CtClass stablePublicInterface
    18.  
    19. Map interfaces
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 4K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

    1. object KotlinMetadataQueries {
    2.  
    3. fun isKotlinFileFacadeClass(ctClass: CtClass): Boolean =
    4. if (Modifier.isPrivate(ctClass.modifiers)) false
    5. else queryKotlinMetadata(ctClass) { metadata ->
    6. when (metadata) {
    7. is KotlinClassMetadata.FileFacade -> true
    8. else -> false
    9. }
    10. }
    11.  
    12. fun isKotlinInternal(ctClass: CtClass): Boolean =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 12:41:59 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy

    1. }
    2.  
    3. private List<String> filterChangesToReport(CtClass c, Set<CtMethod> methods) {
    4. return methods.findAll { isFirstPublicClassInHierarchy(it, c) }*.longName.sort()
    5. }
    6.  
    7. private boolean isFirstPublicClassInHierarchy(CtMethod method, CtClass c) {
    8. List<CtClass> classesContainingMethod = []
    9.  
    10. CtClass current = c
    11. while (current != null) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 3.7K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/path-params.md

    1. ### Criando uma classe `Enum`
    2.  
    3. Importe `Enum` e crie uma sub-classe que herde de `str` e de `Enum`.
    4.  
    5. Por herdar de `str` a documentação da API vai ser capaz de saber que os valores devem ser do tipo `string` e assim ser capaz de mostrar eles corretamente.
    6.  
    7. Assim, crie atributos de classe com valores fixos, que serão os valores válidos disponíveis.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/filters/AnonymousClassesFilter.groovy

    1. import japicmp.filter.ClassFilter
    2. import javassist.CtClass
    3.  
    4. import java.util.regex.Pattern
    5.  
    6. /**
    7. * Matches JVM anonymous classes.
    8. */
    9. class AnonymousClassesFilter implements ClassFilter {
    10.  
    11. private static final Pattern PATTERN = Pattern.compile('.*\\$[0-9]+$')
    12.  
    13. @Override
    14. boolean matches(CtClass ctClass) {
    15. return ctClass.name.matches(PATTERN)
    16. }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRule.groovy

    1. }
    2.  
    3. private Map<String, CtClass> collectImplementedInterfaces(CtClass c) {
    4. Map<String, CtClass> result = [:]
    5. collect(result, c)
    6. return result
    7. }
    8.  
    9. private void collect(Map<String, CtClass> result, CtClass c) {
    10. c.interfaces.each { result.put(it.name, it) }
    11.  
    12. if (c.superclass != null) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.8K bytes
    - Viewed (0)
  8. docs/pt/docs/how-to/custom-request-and-route.md

    1. E uma subclasse de `APIRoute` para usar essa classe de requisição personalizada.
    2.  
    3. ### Criar uma classe `GzipRequest` personalizada
    4.  
    5. /// tip | Dica
    6.  
    7. Isso é um exemplo de brincadeira para demonstrar como funciona, se você precisar de suporte para Gzip, você pode usar o [`GzipMiddleware`](../advanced/middleware.md#gzipmiddleware){.internal-link target=_blank} fornecido.
    8.  
    9. ///
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 17:33:00 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

    1. listener.start(String.format("class %s", classMetaData));
    2. try {
    3. String rawCommentText = classMetaData.getRawCommentText();
    4. try {
    5. return parse(rawCommentText, classMetaData, new NoOpCommentSource(), listener);
    6. } catch (Exception e) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 29.3K bytes
    - Viewed (0)
  10. docs/pt/docs/advanced/middleware.md

    1. * <a href="https://github.com/encode/uvicorn/blob/master/uvicorn/middleware/proxy_headers.py" class="external-link" target="_blank">Uvicorn's `ProxyHeadersMiddleware`</a>
    2. * <a href="https://github.com/florimondmanca/msgpack-asgi" class="external-link" target="_blank">MessagePack</a>
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 20:00:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top