Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 107 for Enum (0.14 sec)

  1. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/symbols/psiBased/KtFe10PsiEnumEntrySymbol.kt

            get() = withValidityAssertion {
                val containingDescriptor = descriptor?.containingDeclaration
                if (containingDescriptor is ClassDescriptor && containingDescriptor.kind == ClassKind.ENUM_CLASS) {
                    return containingDescriptor.defaultType.toKtType(analysisContext)
                } else {
                    createErrorType()
                }
            }
    
        override val name: Name
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:46 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  2. docs/de/docs/tutorial/query-params.md

    In diesem Fall gibt es drei Query-Parameter:
    
    * `needy`, ein erforderlicher `str`.
    * `skip`, ein `int` mit einem Defaultwert `0`.
    * `limit`, ein optionales `int`.
    
    !!! tip "Tipp"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 25 14:53:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

      val platform = PlatformRule()
    
      lateinit var cancelMode: CancelMode
      lateinit var connectionType: ConnectionType
    
      private var threadToCancel: Thread? = null
    
      enum class CancelMode {
        CANCEL,
        INTERRUPT,
      }
    
      enum class ConnectionType {
        H2,
        HTTPS,
        HTTP,
      }
    
      @JvmField @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

      ) {
        val builder = "http://host/".toHttpUrl().newBuilder()
        component[builder] = codePointString
        val url = builder.build()
        assertThat(url.host).startsWith(Punycode.PREFIX_STRING)
      }
    
      enum class Encoding {
        IDENTITY {
          override fun encode(codePoint: Int): String {
            return String(codePoint)
          }
        },
        PERCENT {
          override fun encode(codePoint: Int): String {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/metadata/KotlinMetadataQueries.kt

                is CtMethod -> "$name$signature"
                else -> throw IllegalArgumentException("Unsupported javassist member type '${this::class}'")
            }
    }
    
    
    internal
    enum class MemberType {
        TYPE, CONSTRUCTOR, FIELD, METHOD
    }
    
    
    private
    fun memberTypeFor(member: CtMember): MemberType =
        when (member) {
            is CtConstructor -> MemberType.CONSTRUCTOR
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 07 08:20:38 GMT 2023
    - 4.6K bytes
    - Viewed (0)
  6. docs/pt/docs/tutorial/path-operation-configuration.md

    Nestes casos, pode fazer sentido armazenar as tags em um `Enum`.
    
    **FastAPI** suporta isso da mesma maneira que com strings simples:
    
    ```Python hl_lines="1  8-10  13  18"
    {!../../../docs_src/path_operation_configuration/tutorial002b.py!}
    ```
    
    ## Resumo e descrição
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/TlsVersion.kt

     * limitations under the License.
     */
    package okhttp3
    
    /**
     * Versions of TLS that can be offered when negotiating a secure socket. See
     * [javax.net.ssl.SSLSocket.setEnabledProtocols].
     */
    enum class TlsVersion(
      @get:JvmName("javaName") val javaName: String,
    ) {
      TLS_1_3("TLSv1.3"), // 2016.
      TLS_1_2("TLSv1.2"), // 2008.
      TLS_1_1("TLSv1.1"), // 2006.
      TLS_1_0("TLSv1"), // 1999.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.5K bytes
    - Viewed (1)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

        if (strategy == ResumePriority.AfterOtherTasks && otherTasksStarted) {
          return yieldUntil(strategy, condition)
        }
      }
    
      private enum class ResumePriority {
        /** Resumes as soon as the condition is satisfied. */
        BeforeOtherTasks,
    
        /** Resumes after the already-enqueued tasks. */
        AfterEnqueuedTasks,
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 12.6K bytes
    - Viewed (0)
  9. docs/em/docs/tutorial/query-params.md

        {!> ../../../docs_src/query_params/tutorial006_py310.py!}
        ```
    
    👉 💼, 📤 3️⃣ 🔢 🔢:
    
    * `needy`, ✔ `str`.
    * `skip`, `int` ⏮️ 🔢 💲 `0`.
    * `limit`, 📦 `int`.
    
    !!! tip
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/path-operation-configuration.md

    If you have a big application, you might end up accumulating **several tags**, and you would want to make sure you always use the **same tag** for related *path operations*.
    
    In these cases, it could make sense to store the tags in an `Enum`.
    
    **FastAPI** supports that the same way as with plain strings:
    
    ```Python hl_lines="1  8-10  13  18"
    {!../../../docs_src/path_operation_configuration/tutorial002b.py!}
    ```
    
    ## Summary and description
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Oct 17 05:59:11 GMT 2023
    - 5.5K bytes
    - Viewed (0)
Back to top