Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 184 for Sequence (0.2 sec)

  1. 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)
  2. 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 May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 6.5K bytes
    - Viewed (0)
  3. build-logic-commons/basics/src/test/kotlin/gradlebuild/basics/tasks/PackageListGeneratorIntegrationTest.kt

        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
        fun aJar(sourceFiles: Sequence<Path>): Sequence<Path> {
    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)
  4. src/main/java/jcifs/spnego/NegTokenInit.java

                    }
                    ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true);
                    Enumeration<ASN1Object> fields = sequence.getObjects();
                    while ( fields.hasMoreElements() ) {
                        tagged = (ASN1TaggedObject) fields.nextElement();
                        switch ( tagged.getTagNo() ) {
                        case 0:
                            sequence = ASN1Sequence.getInstance(tagged, true);
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 7.9K bytes
    - Viewed (0)
  5. fastapi/dependencies/utils.py

        get_missing_field_error,
        is_bytes_field,
        is_bytes_sequence_field,
        is_scalar_field,
        is_scalar_sequence_field,
        is_sequence_field,
        is_uploadfile_or_nonable_uploadfile_annotation,
        is_uploadfile_sequence_annotation,
        lenient_issubclass,
        sequence_types,
        serialize_sequence_value,
        value_is_sequence,
    )
    from fastapi.background import BackgroundTasks
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  6. analysis/analysis-api-fe10/src/org/jetbrains/kotlin/analysis/api/descriptors/scopes/KtFe10FileScope.kt

        }
    
        override fun getCallableSymbols(nameFilter: KtScopeNameFilter): Sequence<KtCallableSymbol> = withValidityAssertion {
            val context = analysisContext.analyze(ktFile)
    
            sequence {
                for (declaration in ktFile.declarations) {
                    if (declaration is KtCallableDeclaration) {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Mon May 22 19:21:34 GMT 2023
    - 4K bytes
    - Viewed (0)
  7. fastapi/exceptions.py

        """
    
    
    class ValidationException(Exception):
        def __init__(self, errors: Sequence[Any]) -> None:
            self._errors = errors
    
        def errors(self) -> Sequence[Any]:
            return self._errors
    
    
    class RequestValidationError(ValidationException):
        def __init__(self, errors: Sequence[Any], *, body: Any = None) -> None:
            super().__init__(errors)
            self.body = body
    
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/pac/kerberos/KerberosApRequest.java

            ASN1Sequence sequence;
            try {
                try ( ASN1InputStream stream = new ASN1InputStream(new ByteArrayInputStream(token)) ) {
                    sequence = ASN1Util.as(ASN1Sequence.class, stream);
                }
            }
            catch ( IOException e ) {
                throw new PACDecodingException("Malformed Kerberos Ticket", e);
            }
            return sequence;
        }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Oct 02 12:02:06 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  9. tests/test_compat.py

    
    def test_is_bytes_sequence_annotation_union():
        # For coverage
        # TODO: in theory this would allow declaring types that could be lists of bytes
        # to be read from files and other types, but I'm not even sure it's a good idea
        # to support it as a first class "feature"
        assert is_bytes_sequence_annotation(Union[List[str], List[bytes]])
    
    
    def test_is_uploadfile_sequence_annotation():
        # For coverage
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Sep 28 04:14:40 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  10. build-logic/kotlin-dsl-shared-runtime/src/main/kotlin/org/gradle/kotlin/dsl/internal/sharedruntime/codegen/PluginIdExtensions.kt

        val pluginId: String,
        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) ->
    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