Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for readObject (0.07 sec)

  1. src/main/java/jcifs/spnego/NegTokenTarg.java

        }
    
    
        @Override
        protected void parse ( byte[] token ) throws IOException {
            try ( ASN1InputStream der = new ASN1InputStream(token) ) {
                ASN1TaggedObject tagged = (ASN1TaggedObject) der.readObject();
                ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true);
                Enumeration<?> fields = sequence.getObjects();
                while ( fields.hasMoreElements() ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Jan 04 04:18:31 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/spnego/NegTokenInit.java

    
        @Override
        protected void parse ( byte[] token ) throws IOException {
    
            try ( ASN1InputStream is = new ASN1InputStream(token) ) {
                ASN1TaggedObject constructed = (ASN1TaggedObject) is.readObject();
                if ( constructed == null || constructed.getTagClass() != BERTags.APPLICATION ||
                        !(constructed.getBaseObject() instanceof  ASN1Sequence) )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Oct 01 12:01:17 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/LongAdder.java

        return (double) sum();
      }
    
      private void writeObject(ObjectOutputStream s) throws IOException {
        s.defaultWriteObject();
        s.writeLong(sum());
      }
    
      private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
        s.defaultReadObject();
        busy = 0;
        cells = null;
        base = s.readLong();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/HashMultimap.java

        stream.defaultWriteObject();
        Serialization.writeMultimap(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        expectedValuesPerKey = DEFAULT_VALUES_PER_KEY;
        int distinctKeys = Serialization.readCount(stream);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 10:02:49 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/model/SimpleClassMetaDataRepository.java

                try {
                    ObjectInputStream objInputStream = new ObjectInputStream(new BufferedInputStream(inputStream));
                    classes.clear();
                    classes.putAll((Map<String, T>) objInputStream.readObject());
                } finally {
                    inputStream.close();
                }
            } catch (Exception e) {
                throw new GradleException(String.format("Could not load meta-data from %s.", repoFile), e);
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/HashMultiset.java

        stream.defaultWriteObject();
        Serialization.writeMultiset(this, stream);
      }
    
      @GwtIncompatible // java.io.ObjectInputStream
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int distinctElements = Serialization.readCount(stream);
        setBackingMap(Maps.<E, Count>newHashMap());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/io/SerializeUtil.java

            try {
                final ByteArrayInputStream bais = new ByteArrayInputStream(bytes);
                final ObjectInputStream ois = new ObjectInputStream(bais);
                try {
                    return ois.readObject();
                } finally {
                    CloseableUtil.close(ois);
                }
            } catch (final IOException ex) {
                throw new IORuntimeException(ex);
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ImmutableMapEntrySet.java

      @J2ktIncompatible
      @Override
      Object writeReplace() {
        return new EntrySetSerializedForm<>(map());
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use EntrySetSerializedForm");
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableEnumMap.java

      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new EnumSerializedForm<>(delegate);
      }
    
      @J2ktIncompatible // serialization
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use EnumSerializedForm");
      }
    
      /*
       * This class is used to serialize ImmutableEnumMap instances.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/ImmutableMapEntrySet.java

      @J2ktIncompatible
      @Override
      Object writeReplace() {
        return new EntrySetSerializedForm<>(map());
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use EntrySetSerializedForm");
      }
    
      @GwtIncompatible // serialization
      @J2ktIncompatible
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Nov 30 21:54:06 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top