Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 231 for reserialized (0.15 sec)

  1. cmd/xl-storage-format_test.go

    				xl.AddVersion(fi)
    			}
    			// Encode all. This is used for benchmarking.
    			enc, err := xl.AppendTo(nil)
    			if err != nil {
    				b.Fatal(err)
    			}
    			b.Logf("Serialized size: %d bytes", len(enc))
    			rng := rand.New(rand.NewSource(0))
    			dump := make([]byte, len(enc))
    			b.Run("UpdateObjectVersion", func(b *testing.B) {
    				b.SetBytes(int64(size))
    				b.ResetTimer()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/CacheBuilder.java

     * weakValues}, or {@link #softValues softValues} perform periodic maintenance.
     *
     * <p>The caches produced by {@code CacheBuilder} are serializable, and the deserialized caches
     * retain all the configuration properties of the original cache. Note that the serialized form does
     * <i>not</i> include cache contents, but only configuration.
     *
     * <p>See the Guava User Guide article on <a
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/primitives/BooleansTest.java

      @GwtIncompatible // SerializableTester
      public void testLexicographicalComparatorSerializable() {
        Comparator<boolean[]> comparator = Booleans.lexicographicalComparator();
        assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator);
      }
    
      public void testReverse() {
        testReverse(new boolean[] {}, new boolean[] {});
        testReverse(new boolean[] {true}, new boolean[] {true});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  4. cmd/streaming-signature-v4.go

    		if err == io.EOF {
    			err = io.ErrUnexpectedEOF
    		}
    		if err != nil {
    			cr.err = err
    			return n, cr.err
    		}
    		if b == ';' { // separating character
    			break
    		}
    
    		// Manually deserialize the size since AWS specified
    		// the chunk size to be of variable width. In particular,
    		// a size of 16 is encoded as `10` while a size of 64 KB
    		// is `10000`.
    		switch {
    		case b >= '0' && b <= '9':
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RegularImmutableMap.java

      @Override
      @J2ktIncompatible // serialization
      @GwtIncompatible // serialization
      Object writeReplace() {
        return super.writeReplace();
      }
    
      // This class is never actually serialized directly, but we have to make the
      // warning go away (and suppressing would suppress for all nested classes too)
      @J2ktIncompatible // serialization
      private static final long serialVersionUID = 0;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 15 22:32:14 UTC 2024
    - 22.7K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/sql-databases.md

    ///
    
    ### Read Heroes with `HeroPublic`
    
    We can do the same as before to **read** `Hero`s, again, we use `response_model=list[HeroPublic]` to ensure that the data is validated and serialized correctly.
    
    {* ../../docs_src/sql_databases/tutorial002_an_py310.py ln[65:72] hl[65] *}
    
    ### Read One Hero with `HeroPublic`
    
    We can **read** a single hero:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 09 19:44:42 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableList.java

          // needed to deal with GWT integer overflow
        }
        return hashCode;
      }
    
      /*
       * Serializes ImmutableLists as their logical contents. This ensures that
       * implementation types do not leak into the serialized representation.
       */
      @J2ktIncompatible // serialization
      static class SerializedForm implements Serializable {
        final Object[] elements;
    
        SerializedForm(Object[] elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/ImmutableMultimap.java

      final transient int size;
    
      // These constants allow the deserialization code to set final fields. This
      // holder class makes sure they are not initialized unless an instance is
      // deserialized.
      @GwtIncompatible // java serialization is not supported
      @J2ktIncompatible
      static class FieldSettersHolder {
        static final Serialization.FieldSetter<? super ImmutableMultimap<?, ?>> MAP_FIELD_SETTER =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/LinkedHashMultimap.java

          @SuppressWarnings("unchecked")
          K key = (K) stream.readObject();
          @SuppressWarnings("unchecked")
          V value = (V) stream.readObject();
          /*
           * requireNonNull is safe for a properly serialized multimap: We've already inserted a
           * collection for each key that we expect.
           */
          requireNonNull(map.get(key)).add(value);
        }
        setMap(map);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

      @GwtIncompatible // SerializableTester
      public void testLexicographicalComparatorSerializable() {
        Comparator<float[]> comparator = Floats.lexicographicalComparator();
        assertThat(SerializableTester.reserialize(comparator)).isSameInstanceAs(comparator);
      }
    
      public void testReverse() {
        testReverse(new float[] {}, new float[] {});
        testReverse(new float[] {1}, new float[] {1});
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top