Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for serializing (0.06 sec)

  1. src/main/java/jcifs/Encodable.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs;
    
    /**
     * Interface for objects that can be encoded to a byte buffer.
     * This interface provides methods for serializing data to SMB protocol messages.
     *
     * @author mbechler
     */
    public interface Encodable {
    
        /**
         * Encodes this object into the specified byte array.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/SerializeUtil.java

    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    
    import org.codelibs.core.exception.ClassNotFoundRuntimeException;
    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * Utility for serializing objects.
     *
     * @author higa
     */
    public abstract class SerializeUtil {
    
        /**
         * Do not instantiate.
         */
        protected SerializeUtil() {
        }
    
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

     * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class
     * and its subclass in different packages, causing the serialization system to fail to invoke {@code
     * writeReplace} when serializing an instance of the subclass. For an example of this problem, see
     * b/310253115.
     */
    @NullUnmarked
    public class WriteReplaceOverridesTest extends TestCase {
      private static final ImmutableSet<String> GUAVA_PACKAGES =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 01 03:07:54 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

      }
    
        private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
      /** Serialized form of the map, to avoid serializing the constraint. */
      private static final class SerializedForm<B extends @Nullable Object> implements Serializable {
        private final Map<Class<? extends @NonNull B>, B> backingMap;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  5. docs/en/docs/advanced/dataclasses.md

    6. Here we are returning a dictionary that contains `items` which is a list of dataclasses.
    
        FastAPI is still capable of <abbr title="converting the data to a format that can be transmitted">serializing</abbr> the data to JSON.
    
    7. Here the `response_model` is using a type annotation of a list of `Author` dataclasses.
    
        Again, you can combine `dataclasses` with standard type annotations.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Lists.java

       * Collections2#transform} or {@link Iterables#transform}.
       *
       * <p><b>Note:</b> serializing the returned list is implemented by serializing {@code fromList},
       * its contents, and {@code function} -- <i>not</i> by serializing the transformed values. This
       * can lead to surprising behavior, so serializing the returned list is <b>not recommended</b>.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  7. cmd/bucket-metadata-sys.go

    				"load-bucket-metadata-"+buckets[index], logger.WarningKind)
    		}
    	}
    
    	// Hold lock here to update in-memory map at once,
    	// instead of serializing the Go routines.
    	sys.Lock()
    	for i, meta := range bucketMetas {
    		if errs[i] != nil {
    			continue
    		}
    		sys.metadataMap[buckets[i]] = meta
    	}
    	sys.Unlock()
    
    	for i, meta := range bucketMetas {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 20.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      @SuppressWarnings("unchecked")
      public void ignore_testSerializationNoDuplication_regularImmutableMap() throws Exception {
        // Tests that serializing a map, its keySet, and values only writes the underlying data once.
    
        Object[] entries = new Object[2000];
        for (int i = 0; i < entries.length; i++) {
          entries[i] = i;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 36.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Decodable.java

     */
    package jcifs;
    
    import jcifs.internal.SMBProtocolDecodingException;
    
    /**
     * Interface for objects that can be decoded from a byte buffer.
     * This interface provides methods for deserializing data from SMB protocol messages.
     *
     * @author mbechler
     */
    public interface Decodable {
    
        /**
         * Decode data from a byte buffer
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComQueryInformationTest.java

    import org.mockito.quality.Strictness;
    
    import jcifs.Configuration;
    
    /**
     * Unit tests for {@link SmbComQueryInformation}.  The class is very small and
     * mainly focuses on serialising a command header that contains a file name.
     * <p>
     * Because most of the logic lives in {@link jcifs.internal.smb1.ServerMessageBlock}
     * the tests create a mock {@link Configuration} and instantiate SmbComQueryInformation
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.9K bytes
    - Viewed (0)
Back to top