Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for serializing (0.07 sec)

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

     * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class
     * and its subclass in different packages, causing the serialization system to fail to invoke {@code
     * writeReplace} when serializing an instance of the subclass. For an example of this problem, see
     * b/310253115.
     */
    public class WriteReplaceOverridesTest extends TestCase {
      private static final ImmutableSet<String> GUAVA_PACKAGES =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java

     * subclasses. Without such overrides, optimizers might put a {@code writeReplace}-containing class
     * and its subclass in different packages, causing the serialization system to fail to invoke {@code
     * writeReplace} when serializing an instance of the subclass. For an example of this problem, see
     * b/310253115.
     */
    public class WriteReplaceOverridesTest extends TestCase {
      private static final ImmutableSet<String> GUAVA_PACKAGES =
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 18:53:31 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Lists.java

       * Collections2#transform} or {@link Iterables#transform}.
       *
       * <p><b>Note:</b> serializing the returned list is implemented by serializing {@code fromList},
       * its contents, and {@code function} -- <i>not</i> by serializing the transformed values. This
       * can lead to surprising behavior, so serializing the returned list is <b>not recommended</b>.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 43.1K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/dataclasses.md

    6. Here we are returning a dictionary that contains `items` which is a list of dataclasses.
    
        FastAPI is still capable of <abbr title="converting the data to a format that can be transmitted">serializing</abbr> the data to JSON.
    
    7. Here the `response_model` is using a type annotation of a list of `Author` dataclasses.
    
        Again, you can combine `dataclasses` with standard type annotations.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 10:35:06 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      @SuppressWarnings("unchecked")
      public void ignore_testSerializationNoDuplication_regularImmutableMap() throws Exception {
        // Tests that serializing a map, its keySet, and values only writes the underlying data once.
    
        Entry<Integer, Integer>[] entries = (Entry<Integer, Integer>[]) new Entry<?, ?>[1000];
        for (int i = 0; i < 1000; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  6. cmd/bucket-metadata-sys.go

    				"load-bucket-metadata-"+buckets[index], logger.WarningKind)
    		}
    	}
    
    	// Hold lock here to update in-memory map at once,
    	// instead of serializing the Go routines.
    	sys.Lock()
    	for i, meta := range bucketMetas {
    		if errs[i] != nil {
    			continue
    		}
    		sys.metadataMap[buckets[i]] = meta
    	}
    	sys.Unlock()
    
    	for i, meta := range bucketMetas {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

      @J2ktIncompatible
      @GwtIncompatible // SerializableTester
      @SuppressWarnings("unchecked")
      public void ignore_testSerializationNoDuplication_regularImmutableMap() throws Exception {
        // Tests that serializing a map, its keySet, and values only writes the underlying data once.
    
        Object[] entries = new Object[2000];
        for (int i = 0; i < entries.length; i++) {
          entries[i] = i;
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 36.6K bytes
    - Viewed (0)
  8. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/MavenInvokerRequest.java

    import org.apache.maven.api.annotations.Experimental;
    import org.apache.maven.api.cli.InvokerRequest;
    
    /**
     * Represents a request to invoke Maven.
     * This interface extends the general {@link InvokerRequest}, specializing it for Maven-specific operations.
     *
     * <p>A {@link MavenInvokerRequest} encapsulates all the necessary information needed to perform
     * a Maven build, including any Maven-specific options defined in {@link MavenOptions}.</p>
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  9. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvn/forked/ForkedMavenParser.java

    import org.apache.maven.api.cli.mvn.MavenParser;
    
    /**
     * Defines the contract for parsing command-line arguments specific to forked Maven executions.
     * This interface extends the {@link MavenParser}, specializing it for creating {@link ForkedMavenInvokerRequest} objects.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface ForkedMavenParser extends MavenParser<ForkedMavenInvokerRequest> {
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptParser.java

    import org.apache.maven.api.cli.ParserRequest;
    
    /**
     * Defines the contract for parsing encryption-related command-line arguments and creating an EncryptInvokerRequest.
     * This interface extends the general {@link Parser} interface, specializing it for encryption operations.
     *
     * @since 4.0.0
     */
    @Experimental
    public interface EncryptParser extends Parser<EncryptInvokerRequest> {
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 03 16:03:55 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top