Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 82 for HeadObject (0.04 sec)

  1. src/test/java/jcifs/smb/SmbOperationExceptionTest.java

            java.io.ObjectInputStream ois = new java.io.ObjectInputStream(bais);
            SmbOperationException deserialized = (SmbOperationException) ois.readObject();
            ois.close();
    
            // Then
            assertNotNull(deserialized);
            assertEquals(exception.getErrorCode(), deserialized.getErrorCode());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/persistent/PersistentHandleManager.java

                for (Path handleFile : stream) {
                    try (ObjectInputStream ois = new ObjectInputStream(Files.newInputStream(handleFile))) {
                        HandleInfo info = (HandleInfo) ois.readObject();
    
                        // Only load if not expired
                        if (!info.isExpired()) {
                            handles.put(info.getPath(), info);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 13K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      @GwtIncompatible
      @J2ktIncompatible
        @Override
      Object writeReplace() {
        return new SerializedForm<>(range, domain);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/LinkedListMultimap.java

      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        keyToKeyList = CompactLinkedHashMap.create();
        int size = stream.readInt();
        for (int i = 0; i < size; i++) {
          @SuppressWarnings("unchecked") // reading data stored by writeObject
          K key = (K) stream.readObject();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/spnego/NegTokenTarg.java

        }
    
        @Override
        protected void parse(final byte[] token) throws IOException {
            try (ASN1InputStream der = new ASN1InputStream(token)) {
                ASN1TaggedObject tagged = (ASN1TaggedObject) der.readObject();
                final ASN1Sequence sequence = ASN1Sequence.getInstance(tagged, true);
                final Enumeration<?> fields = sequence.getObjects();
                while (fields.hasMoreElements()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Suppliers.java

          return "Suppliers.memoize("
              + (initialized ? "<supplier that returned " + value + ">" : delegate)
              + ")";
        }
    
        @GwtIncompatible
        @J2ktIncompatible
            private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
          in.defaultReadObject();
          lock = new Object();
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/Funnels.java

        public int hashCode() {
          return StringCharsetFunnel.class.hashCode() ^ charset.hashCode();
        }
    
        Object writeReplace() {
          return new SerializedForm(charset);
        }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
          throw new InvalidObjectException("Use SerializedForm");
        }
    
        private static final class SerializedForm implements Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Funnels.java

        public int hashCode() {
          return StringCharsetFunnel.class.hashCode() ^ charset.hashCode();
        }
    
        Object writeReplace() {
          return new SerializedForm(charset);
        }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
          throw new InvalidObjectException("Use SerializedForm");
        }
    
        private static final class SerializedForm implements Serializable {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/RegularImmutableBiMap.java

        @GwtIncompatible
            Object writeReplace() {
          return new InverseSerializedForm<>(RegularImmutableBiMap.this);
        }
    
        @J2ktIncompatible // java.io.ObjectInputStream
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
          throw new InvalidObjectException("Use InverseSerializedForm");
        }
      }
    
      @J2ktIncompatible // serialization
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/CompactHashMap.java

        }
        init(elementCount);
        for (int i = 0; i < elementCount; i++) {
          K key = (K) stream.readObject();
          V value = (V) stream.readObject();
          put(key, value);
        }
      }
    
      /*
       * The following methods are safe to call as long as both of the following hold:
       *
       * - allocArrays() has been called. Callers can confirm this by checking needsAllocArrays().
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 35.7K bytes
    - Viewed (0)
Back to top