Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 201 for serialized (0.15 sec)

  1. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. tensorflow/c/eager/c_api_distributed_test.cc

      TFE_Context* ctx = TFE_NewContext(opts, status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
      TFE_DeleteContextOptions(opts);
    
      TFE_ContextSetServerDef(ctx, 0, serialized.data(), serialized.size(), status);
      EXPECT_EQ(TF_GetCode(status), TF_OK) << TF_Message(status);
    
      const char task0_name[] = "/job:localhost/replica:0/task:0/device:CPU:0";
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api_cluster_test.cc

      EXPECT_EQ(tensorflow::unwrap(var_handle0)->DeviceName(&status2), dev0_name);
    
      // Rename local device
      // This server def has the task index set to 0.
      string serialized = server_def.SerializeAsString();
      TFE_ContextSetServerDef(ctx, 0, serialized.data(), serialized.size(), status);
      EXPECT_EQ(TF_OK, TF_GetCode(status)) << TF_Message(status);
    
      const string dev1_name =
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 19.2K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

         * created automatically.
         *
         * @param output The file to serialize the model to, must not be {@code null}.
         * @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.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java

         * be created automatically.
         *
         * @param output The file to serialize the settings to, must not be {@code null}.
         * @param options The options to use for serialization, may be {@code null} to use the default values.
         * @param settings The settings to serialize, must not be {@code null}.
         * @throws IOException If the settings could not be serialized.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Serialization.java

     * serialize collections that are defined elsewhere.
     *
     * @author Jared Levy
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    final class Serialization {
      private Serialization() {}
    
      /**
       * Reads a count corresponding to a serialized map, multiset, or multimap. It returns the size of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Serialization.java

     * serialize collections that are defined elsewhere.
     *
     * @author Jared Levy
     */
    @GwtIncompatible
    @J2ktIncompatible
    @ElementTypesAreNonnullByDefault
    final class Serialization {
      private Serialization() {}
    
      /**
       * Reads a count corresponding to a serialized map, multiset, or multimap. It returns the size of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  8. 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)
  9. cmd/data-usage-cache_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 *allTierStats) Msgsize() (s int) {
    	s = 1 + 3 + msgp.MapHeaderSize
    	if z.Tiers != nil {
    		for za0001, za0002 := range z.Tiers {
    			_ = za0002
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  10. cmd/object-api-interface_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 BucketOptions) Msgsize() (s int) {
    	s = 1 + 8 + msgp.BoolSize + 7 + msgp.BoolSize + 11 + msgp.BoolSize
    	return
    }
    
    // MarshalMsg implements msgp.Marshaler
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 8.7K bytes
    - Viewed (0)
Back to top