Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 304 for sequence (0.21 sec)

  1. guava/src/com/google/common/base/Utf8.java

       * time and space.
       *
       * @throws IllegalArgumentException if {@code sequence} contains ill-formed UTF-16 (unpaired
       *     surrogates)
       */
      public static int encodedLength(CharSequence sequence) {
        // Warning to maintainers: this implementation is highly optimized.
        int utf16Length = sequence.length();
        int utf8Length = utf16Length;
        int i = 0;
    
        // This loop optimizes for pure ASCII.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 10 14:11:51 GMT 2023
    - 7K bytes
    - Viewed (0)
  2. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirPackageScope.kt

        }
    
        override fun getConstructors(): Sequence<KtConstructorSymbol> = withValidityAssertion {
            emptySequence()
        }
    
        override fun getPackageSymbols(nameFilter: KtScopeNameFilter): Sequence<KtPackageSymbol> = withValidityAssertion {
            sequence {
                analysisSession.useSitePackageProvider.getSubPackageFqNames(fqName, analysisSession.targetPlatform, nameFilter).forEach {
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Fri May 19 11:53:16 GMT 2023
    - 3.1K bytes
    - Viewed (0)
  3. fastapi/_compat.py

            return is_pv1_scalar_field(field)
    
        def is_sequence_field(field: ModelField) -> bool:
            return field.shape in sequence_shapes or _annotation_is_sequence(field.type_)  # type: ignore[attr-defined]
    
        def is_scalar_sequence_field(field: ModelField) -> bool:
            return is_pv1_scalar_sequence_field(field)
    
        def is_bytes_field(field: ModelField) -> bool:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirBasedScope.kt

            firScope.getClassifierSymbols(getPossibleClassifierNames().filter(nameFilter), builder)
        }
    
        override fun getClassifierSymbols(names: Collection<Name>): Sequence<KtClassifierSymbol> = withValidityAssertion {
            firScope.getClassifierSymbols(names, builder)
        }
    
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Fri May 19 11:53:15 GMT 2023
    - 2.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

     *    124 : Mapped inline to the sequence: [b2, b3].
     *    125 : Mapped inline to the sequence: [b2a, b3].
     *    126 : Mapped inline to the sequence: [b2, b3a].
     *    127 : Mapped inline to the sequence: [b2a, b3a].
     *
     * The range goes until the beginning of the next range.
     *
     * When b2 and b3 are unused, their values are set to 0x2d ('-').
     *
     * Section Index (1,240 bytes)
     * ===========================
     *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Apr 02 11:39:58 GMT 2024
    - 9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Splitter.java

      }
    
      private Iterator<String> splittingIterator(CharSequence sequence) {
        return strategy.iterator(this, sequence);
      }
    
      /**
       * Splits {@code sequence} into string components and returns them as an immutable list. If you
       * want an {@link Iterable} which may be lazily evaluated, use {@link #split(CharSequence)}.
       *
       * @param sequence the sequence of characters to split
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 24.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/CharMatcher.java

       * sequence. Returns a bogus matcher if the sequence contains supplementary characters.
       */
      public static CharMatcher anyOf(final CharSequence sequence) {
        switch (sequence.length()) {
          case 0:
            return none();
          case 1:
            return is(sequence.charAt(0));
          case 2:
            return isEither(sequence.charAt(0), sequence.charAt(1));
          default:
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/firScopeUtils.kt

    import org.jetbrains.kotlin.name.Name
    
    
    internal fun FirScope.getCallableSymbols(
        callableNames: Collection<Name>,
        builder: KtSymbolByFirBuilder
    ): Sequence<KtCallableSymbol> = sequence {
        callableNames.forEach { name ->
            yieldList {
                processFunctionsByName(name) { firSymbol ->
                    add(builder.functionLikeBuilder.buildFunctionSymbol(firSymbol))
                }
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Fri Jun 24 09:11:25 GMT 2022
    - 2.7K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/scopes/KtFirFileScope.kt

        override fun getCallableSymbols(names: Collection<Name>): Sequence<KtCallableSymbol> = withValidityAssertion {
            if (names.isEmpty()) return emptySequence()
            val namesSet = names.toSet()
            return getCallableSymbols { it in namesSet }
        }
    
        override fun getClassifierSymbols(nameFilter: KtScopeNameFilter): Sequence<KtClassifierSymbol> = withValidityAssertion {
            sequence {
    Plain Text
    - Registered: Fri Mar 22 08:18:09 GMT 2024
    - Last Modified: Mon May 22 19:21:34 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginIdExtensions.kt

        val implementationClass: String
    )
    
    
    private
    fun pluginExtensionsFrom(jars: Iterable<File>): Sequence<PluginExtension> =
        jars.asSequence().flatMap(::pluginExtensionsFrom)
    
    
    private
    fun pluginExtensionsFrom(file: File): Sequence<PluginExtension> =
        pluginEntriesFrom(file)
            .asSequence()
            .map { (id, implementationClass) ->
                val simpleId = id.substringAfter("org.gradle.")
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sun Nov 12 16:16:07 GMT 2023
    - 3.1K bytes
    - Viewed (0)
Back to top