Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 330 for sequence (0.09 seconds)

  1. android/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
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  2. src/test/java/jcifs/pac/ASN1UtilTest.java

            // Test failed casting from sequence
            ASN1EncodableVector vector = new ASN1EncodableVector();
            vector.add(new ASN1Integer(10));
            ASN1Sequence sequence = new DERSequence(vector);
            assertThrows(PACDecodingException.class, () -> {
                ASN1Util.as(ASN1Boolean.class, sequence, 0);
            }, "Should throw PACDecodingException for incompatible types in sequence");
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  3. src/test/java/jcifs/pac/kerberos/KerberosApRequestTest.java

        }
    
        @Test
        @DisplayName("byte[] ctor: top-level non-SEQUENCE triggers PACDecodingException (type mismatch)")
        void byteArrayConstructor_topLevelNotSequence_throws() throws Exception {
            // Arrange: Encoded INTEGER instead of SEQUENCE
            byte[] notASequence = new ASN1Integer(42).getEncoded();
    
            // Act + Assert
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

            authDataVector.add(new DERSequence(authElementVector));
            vector.add(new DERTaggedObject(10, new DERSequence(authDataVector)));
    
            DERSequence sequence = new DERSequence(vector);
            byte[] encoded = new DERTaggedObject(false, BERTags.APPLICATION, 1, sequence).getEncoded();
    
            KerberosEncData encData = new KerberosEncData(encoded, Collections.emptyMap());
    
            assertEquals("TEST.REALM", encData.getUserRealm());
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/witness/WitnessHeartbeatResponse.java

            return returnCode == 0;
        }
    
        /**
         * Gets the sequence number.
         *
         * @return the sequence number
         */
        public long getSequenceNumber() {
            return sequenceNumber;
        }
    
        /**
         * Sets the sequence number.
         *
         * @param sequenceNumber the sequence number
         */
        public void setSequenceNumber(long sequenceNumber) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/internal/witness/WitnessHeartbeatRequest.java

            this.registrationId = registrationId;
        }
    
        /**
         * Gets the sequence number.
         *
         * @return the sequence number
         */
        public long getSequenceNumber() {
            return sequenceNumber;
        }
    
        /**
         * Sets the sequence number.
         *
         * @param sequenceNumber the sequence number
         */
        public void setSequenceNumber(long sequenceNumber) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  7. 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;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  8. src/main/java/jcifs/pac/ASN1Util.java

                throws PACDecodingException {
            return as(type, sequence, index);
        }
    
        /**
         * Gets an element from an ASN1Sequence at the specified index and casts it to the specified type
         * @param <T> the target ASN.1 primitive type
         * @param type the target class type
         * @param sequence the ASN1Sequence
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.2K bytes
    - Click Count (0)
  9. fastapi/exceptions.py

        def __init__(
            self,
            errors: Sequence[Any],
            *,
            body: Any = None,
            endpoint_ctx: EndpointContext | None = None,
        ) -> None:
            super().__init__(errors, endpoint_ctx=endpoint_ctx)
            self.body = body
    
    
    class WebSocketRequestValidationError(ValidationException):
        def __init__(
            self,
            errors: Sequence[Any],
            *,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/internal/smb1/SMB1SigningDigest.java

            int index = offset;
            update(data, index, SmbConstants.SIGNATURE_OFFSET);
            index += SmbConstants.SIGNATURE_OFFSET;
            final byte[] sequence = new byte[8];
            SMBUtil.writeInt4(msg.getSignSeq(), sequence, 0);
            update(sequence, 0, sequence.length);
            index += 8;
            if (msg.getCommand() == ServerMessageBlock.SMB_COM_READ_ANDX) {
                /*
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 11.9K bytes
    - Click Count (0)
Back to Top