Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 218 for sequence (0.17 sec)

  1. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/support/ClassBytesRepository.kt

            }
    
        private
        fun sourceNamesFromJar(jar: File): Sequence<String> =
            openJarFile(jar).run {
                entries().asSequence()
                    .filter { it.name.isClassFilePath }
                    .map { kotlinSourceNameOf(it.name) }
            }
    
        private
        fun sourceNamesFromDir(dir: File): Sequence<String> =
            dir.walkTopDown()
                .filter { it.name.isClassFilePath }
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Sat Sep 30 16:17:27 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  2. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10ScopeResolution.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 {
            return scope
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Oct 10 13:38:00 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirResolveExtensionInfoProvider.kt

            crossinline nameFilter: KtScopeNameFilter,
            crossinline getDeclarationsByProvider: (LLFirResolveExtensionToolDeclarationProvider) -> Sequence<D>,
        ): Sequence<S> = sequence {
            for (tool in tools) {
                for (declaration in getDeclarationsByProvider(tool.declarationProvider)) {
                    val declarationName = declaration.nameAsName ?: continue
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. cmd/admin-heal-ops.go

    	// was this heal sequence force started?
    	forceStarted bool
    
    	// heal settings applied to this heal sequence
    	settings madmin.HealOpts
    
    	// current accumulated status of the heal sequence
    	currentStatus healSequenceStatus
    
    	// channel signaled by background routine when traversal has
    	// completed
    	traverseAndHealDoneCh chan error
    
    	// canceler to cancel heal sequence.
    	cancelCtx context.CancelFunc
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 25.1K bytes
    - Viewed (1)
  5. src/main/java/jcifs/pac/ASN1Util.java

        }
    
        /**
         *
         * @param type
         * @param sequence
         * @param index
         * @return sequence element cast to type
         * @throws PACDecodingException
         */
        public static <T extends ASN1Primitive> T as ( Class<T> type, DLSequence sequence, int index ) throws PACDecodingException {
            return as(type, sequence, index);
        }
    
        /**
         * 
         * @param type
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  6. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

            return sequenceOf(directory)
        }
    
        private
        fun someClassesInDefaultPackage(): Sequence<Path> {
            val directory = projectDir.resolve("classes-default")
    
            DEFAULT_EXCLUDES_FOR_TEST.forEachIndexed { i, pkg ->
                touchFile(directory.resolve("$pkg/Foo$i.class"))
            }
    
            return sequenceOf(directory)
        }
    
        private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  7. android/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 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top