Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 192 for deserializes (0.28 sec)

  1. guava-testlib/src/com/google/common/testing/SerializableTester.java

       * @return the re-serialized object
       * @throws RuntimeException if the specified object was not successfully serialized or
       *     deserialized
       */
      @CanIgnoreReturnValue
      public static <T> T reserialize(T object) {
        return Platform.reserialize(object);
      }
    
      /**
       * Serializes and deserializes the specified object and verifies that the re-serialized object is
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

       * @return the re-serialized object
       * @throws RuntimeException if the specified object was not successfully serialized or
       *     deserialized
       */
      @CanIgnoreReturnValue
      public static <T> T reserialize(T object) {
        return Platform.reserialize(object);
      }
    
      /**
       * Serializes and deserializes the specified object and verifies that the re-serialized object is
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Apr 25 11:57:12 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  3. guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/Platform.java

    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * @author Chris Povirk
     */
    final class Platform {
      /** Serializes and deserializes the specified object (a no-op under GWT). */
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        return checkNotNull(object);
      }
    
      private Platform() {}
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 1K bytes
    - Viewed (0)
  4. .idea/dictionaries/yan.xml

    <component name="ProjectDictionaryState">
      <dictionary name="yan">
        <words>
          <w>barebone</w>
          <w>debuggee</w>
          <w>deserializes</w>
          <w>destructured</w>
          <w>hacky</w>
          <w>impls</w>
          <w>inlined</w>
          <w>kapt</w>
          <w>kotlinc</w>
          <w>mutators</w>
          <w>parcelable</w>
          <w>parceler</w>
          <w>parcelers</w>
          <w>parcelize</w>
          <w>repl</w>
          <w>testdata</w>
    XML
    - Registered: Fri Apr 12 08:18:09 GMT 2024
    - Last Modified: Wed Oct 20 16:41:23 GMT 2021
    - 547 bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/testing/Platform.java

     *
     * @author Chris Povirk
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class Platform {
      /** Serializes and deserializes the specified object. */
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        checkNotNull(object);
        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        try {
          ObjectOutputStream out = new ObjectOutputStream(bytes);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:13:11 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/Platform.java

     *
     * @author Chris Povirk
     */
    @GwtCompatible(emulated = true)
    @ElementTypesAreNonnullByDefault
    final class Platform {
      /** Serializes and deserializes the specified object. */
      @SuppressWarnings("unchecked")
      static <T> T reserialize(T object) {
        checkNotNull(object);
        ByteArrayOutputStream bytes = new ByteArrayOutputStream();
        try {
          ObjectOutputStream out = new ObjectOutputStream(bytes);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Aug 23 12:13:11 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

        // Write out all elements in the proper order.
        for (int i = 0; i < length; i++) {
          s.writeDouble(get(i));
        }
      }
    
      /** Reconstitutes the instance from a stream (that is, deserializes it). */
      private void readObject(java.io.ObjectInputStream s)
          throws java.io.IOException, ClassNotFoundException {
        s.defaultReadObject();
    
        int length = s.readInt();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 8K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

      }
    
      /**
       * Saves the state to a stream (that is, serializes it).
       *
       * @serialData The current value is emitted (a {@code double}).
       */
      private void writeObject(java.io.ObjectOutputStream s) throws java.io.IOException {
        s.defaultWriteObject();
    
        s.writeDouble(get());
      }
    
      /** Reconstitutes the instance from a stream (that is, deserializes it). */
      private void readObject(java.io.ObjectInputStream s)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Feb 28 21:00:54 GMT 2022
    - 7.2K bytes
    - Viewed (0)
  9. internal/grid/types.go

    	}
    	return (*m)[key]
    }
    
    // Set a key, value pair.
    func (m *MSS) Set(key, value string) {
    	if m == nil {
    		*m = mssPool.Get().(map[string]string)
    	}
    	(*m)[key] = value
    }
    
    // UnmarshalMsg deserializes m from the provided byte slice and returns the
    // remainder of bytes.
    func (m *MSS) UnmarshalMsg(bts []byte) (o []byte, err error) {
    	if m == nil {
    		return bts, errors.New("MSS: UnmarshalMsg on nil pointer")
    	}
    Go
    - Registered: Sun Apr 07 19:28:10 GMT 2024
    - Last Modified: Mon Apr 01 23:42:09 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/ReserializingTestCollectionGenerator.java

    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.util.Collection;
    import java.util.List;
    
    /**
     * Reserializes the sets created by another test set generator.
     *
     * <p>TODO: make CollectionTestSuiteBuilder test reserialized collections
     *
     * @author Jesse Wilson
     */
    @GwtIncompatible
    public class ReserializingTestCollectionGenerator<E> implements TestCollectionGenerator<E> {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Fri Oct 01 17:18:04 GMT 2021
    - 2.5K bytes
    - Viewed (0)
Back to top