Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 193 for reserialized (0.05 sec)

  1. android/guava-tests/test/com/google/common/collect/ReserializedImmutableMapMapInterfaceTest.java

    @NullUnmarked
    public class ReserializedImmutableMapMapInterfaceTest
        extends AbstractImmutableMapMapInterfaceTest<String, Integer> {
      @Override
      protected Map<String, Integer> makePopulatedMap() {
        return SerializableTester.reserialize(ImmutableMap.of("one", 1, "two", 2, "three", 3));
      }
    
      @Override
      protected String getKeyNotInPopulatedMap() {
        return "minus one";
      }
    
      @Override
      protected Integer getValueNotInPopulatedMap() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertEquals(HashMultiset.create(multimap.values()), HashMultiset.create(valuesCopy));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      public void testEmptySerialization() {
        Multimap<String, Integer> multimap = ImmutableSetMultimap.of();
        assertSame(multimap, SerializableTester.reserialize(multimap));
      }
    
      @J2ktIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMapValues.java

      /*
       * The mainline copy of ImmutableMapValues doesn't produce this serialized form anymore, though
       * the backport does. For now, we're keeping the class declaration in *both* flavors so that both
       * flavors can read old data or data from the other flavor. However, we strongly discourage
       * relying on this, as we have made incompatible changes to serialized forms in the past and
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.9K bytes
    - Viewed (0)
  4. fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/AbstractRuleTest.java

            ByteArrayOutputStream baos = new ByteArrayOutputStream();
            ObjectOutputStream oos = new ObjectOutputStream(baos);
            oos.writeObject(testRule);
            oos.close();
    
            // Deserialize
            ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray());
            ObjectInputStream ois = new ObjectInputStream(bais);
            TestAbstractRule deserializedRule = (TestAbstractRule) ois.readObject();
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Wed Sep 03 14:42:53 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionSerializationTester.java

      public void testReserialize() {
        // For a bare Collection, the most we can guarantee is that the elements are preserved.
        assertEqualIgnoringOrder(actualContents(), SerializableTester.reserialize(actualContents()));
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        assertEquals(3, function.apply("Three").intValue());
    
        new EqualsTester()
            .addEqualityGroup(
                function, Functions.forMap(map, 42), SerializableTester.reserialize(function))
            .addEqualityGroup(Functions.forMap(map))
            .addEqualityGroup(Functions.forMap(map, null))
            .addEqualityGroup(Functions.forMap(map, 43))
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/FunctionsTest.java

        assertEquals(3, function.apply("Three").intValue());
    
        new EqualsTester()
            .addEqualityGroup(
                function, Functions.forMap(map, 42), SerializableTester.reserialize(function))
            .addEqualityGroup(Functions.forMap(map))
            .addEqualityGroup(Functions.forMap(map, null))
            .addEqualityGroup(Functions.forMap(map, 43))
            .testEquals();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  8. cmd/batch-job-common-types_gen.go

    			if err != nil {
    				err = msgp.WrapError(err)
    				return
    			}
    		}
    	}
    	o = bts
    	return
    }
    
    // Msgsize returns an upper bound estimate of the number of bytes occupied by the serialized message
    func (z BatchJobKV) Msgsize() (s int) {
    	s = 1 + 4 + msgp.StringPrefixSize + len(z.Key) + 6 + msgp.StringPrefixSize + len(z.Value)
    	return
    }
    
    // DecodeMsg implements msgp.Decodable
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  9. docs/bucket/versioning/DESIGN.md

    ## Description of `xl.meta`
    
    `xl.meta` is a new self describing backend format used by MinIO to support AWS S3 compatible versioning.
    This file is the source of truth for each `version` at rest. `xl.meta` is a msgpack file serialized from a
    well defined data structure. To understand `xl.meta` here are the few things to start with
    
    `xl.meta` carries first 8 bytes an XL header which describes the current format and the format version,
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Jul 17 15:43:14 UTC 2022
    - 5.8K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

      }
    
      @CollectionFeature.Require(SERIALIZABLE)
      public void testInverseSerialization() {
        BiMapPair<K, V> pair = new BiMapPair<>(getMap());
        BiMapPair<K, V> copy = SerializableTester.reserialize(pair);
        assertEquals(pair.forward, copy.forward);
        assertEquals(pair.backward, copy.backward);
        assertSame(copy.backward, copy.forward.inverse());
        assertSame(copy.forward, copy.backward.inverse());
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top