Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 231 for reserialized (0.13 sec)

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

      public void testSerializationContainingSelf() {
        Multiset<Multiset<?>> multiset = HashMultiset.create();
        multiset.add(multiset, 2);
        Multiset<Multiset<?>> copy = SerializableTester.reserialize(multiset);
        assertEquals(2, copy.size());
        assertSame(copy, copy.iterator().next());
      }
    
      @J2ktIncompatible
      @GwtIncompatible // Only used by @GwtIncompatible code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractBiMap.java

         * Deserialization calls inverse() on the forward bimap and returns that
         * inverse.
         *
         * If a bimap and its inverse are serialized together, the deserialized
         * instances have inverse() methods that return the other.
         */
    
        @Override
        @ParametricNullness
        K checkKey(@ParametricNullness K key) {
          return inverse.checkValue(key);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 14.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

         * @param options The options to use for serialization, may be {@code null} to use the default values.
         * @param model The model to serialize, must not be {@code null}.
         * @throws IOException If the model could not be serialized.
         */
        void write(File output, Map<String, Object> options, Model model) throws IOException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. tensorflow/c/eager/parallel_device/parallel_device_remote_test.cc

                      server_def, tensorflow::Env::Default(), &worker_server2)
                      .ok());
      ASSERT_TRUE(worker_server2->Start().ok());
    
      TFE_ContextSetServerDef(context.get(), 0, serialized.data(),
                              serialized.size(), status.get());
      EXPECT_EQ(TF_OK, TF_GetCode(status.get())) << TF_Message(status.get());
    
      BasicTestsForTwoDevices(context.get(),
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Jul 10 07:18:05 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Serialization.java

      private Serialization() {}
    
      /**
       * Reads a count corresponding to a serialized map, multiset, or multimap. It returns the size of
       * a map serialized by {@link #writeMap(Map, ObjectOutputStream)}, the number of distinct elements
       * in a multiset serialized by {@link #writeMultiset(Multiset, ObjectOutputStream)}, or the number
       * of distinct keys in a multimap serialized by {@link #writeMultimap(Multimap,
       * ObjectOutputStream)}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableIntArrayTest.java

      public void testSerialization() {
        assertThat(reserialize(ImmutableIntArray.of())).isSameInstanceAs(ImmutableIntArray.of());
        assertThat(reserialize(ImmutableIntArray.of(0, 1).subArray(1, 1)))
            .isSameInstanceAs(ImmutableIntArray.of());
    
        ImmutableIntArray iia = ImmutableIntArray.of(0, 1, 3, 6).subArray(1, 3);
        ImmutableIntArray iia2 = reserialize(iia);
        assertThat(iia2).isEqualTo(iia);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 20.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/primitives/ImmutableDoubleArrayTest.java

      public void testSerialization() {
        assertThat(reserialize(ImmutableDoubleArray.of())).isSameInstanceAs(ImmutableDoubleArray.of());
        assertThat(reserialize(ImmutableDoubleArray.of(0, 1).subArray(1, 1)))
            .isSameInstanceAs(ImmutableDoubleArray.of());
    
        ImmutableDoubleArray iia = ImmutableDoubleArray.of(0, 1, 3, 6).subArray(1, 3);
        ImmutableDoubleArray iia2 = reserialize(iia);
        assertThat(iia2).isEqualTo(iia);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java

         * @param settings The settings to serialize, must not be {@code null}.
         * @throws IOException If the settings could not be serialized.
         */
        void write(File output, Map<String, Object> options, Settings settings) throws IOException;
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Serialization.java

      private Serialization() {}
    
      /**
       * Reads a count corresponding to a serialized map, multiset, or multimap. It returns the size of
       * a map serialized by {@link #writeMap(Map, ObjectOutputStream)}, the number of distinct elements
       * in a multiset serialized by {@link #writeMultiset(Multiset, ObjectOutputStream)}, or the number
       * of distinct keys in a multimap serialized by {@link #writeMultimap(Multimap,
       * ObjectOutputStream)}.
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        Thread t1 = newStartedThread(c1);
        Thread t2 = newStartedThread(c2);
        awaitTermination(t1);
        awaitTermination(t2);
        assertEquals(SIZE * COUNTDOWN, c1.counts + c2.counts);
      }
    
      /** a deserialized serialized array holds same values */
      public void testSerialization() throws Exception {
        AtomicDoubleArray x = new AtomicDoubleArray(SIZE);
        for (int i = 0; i < SIZE; i++) {
          x.set(i, (double) -i);
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 14.6K bytes
    - Viewed (0)
Back to top