Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 340 for serialization (0.15 seconds)

  1. guava/src/com/google/common/collect/RegularImmutableSet.java

    /**
     * Implementation of {@link ImmutableSet} with two or more elements.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class RegularImmutableSet<E> extends ImmutableSet.CachingAsList<E> {
      private static final Object[] EMPTY_ARRAY = new Object[0];
      static final RegularImmutableSet<Object> EMPTY =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableMultiset.java

    /**
     * Implementation of {@link ImmutableMultiset} with zero or more elements.
     *
     * @author Jared Levy
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class RegularImmutableMultiset<E> extends ImmutableMultiset<E> {
      static final RegularImmutableMultiset<Object> EMPTY =
          new RegularImmutableMultiset<>(ObjectCountHashMap.create());
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/RegularImmutableBiMap.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Bimap with zero or more mappings.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class RegularImmutableBiMap<K, V> extends ImmutableBiMap<K, V> {
      static final RegularImmutableBiMap<Object, Object> EMPTY = new RegularImmutableBiMap<>();
    
      private final transient @Nullable Object keyHashTable;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Aug 11 19:31:30 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  4. fastapi/utils.py

    )
    
    
    def create_model_field(
        name: str,
        type_: Any,
        default: Any | None = Undefined,
        field_info: FieldInfo | None = None,
        alias: str | None = None,
        mode: Literal["validation", "serialization"] = "validation",
    ) -> ModelField:
        if annotation_is_pydantic_v1(type_):
            raise PydanticV1NotSupportedError(
                "pydantic.v1 models are no longer supported by FastAPI."
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/ScheduledJobExceptionTest.java

        }
    
        @Test
        public void test_serialVersionUID() {
            // Test that the exception is serializable
            ScheduledJobException exception = new ScheduledJobException("Serialization test");
    
            // Verify that the exception has serialVersionUID field (won't compile if not present)
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.9K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/ImmutableRangeMap.java

                return true;
              }
    
              // redeclare to help optimizers with b/310253115
              @SuppressWarnings("RedundantOverride")
              @Override
              @J2ktIncompatible // serialization
              Object writeReplace() {
                return super.writeReplace();
              }
            };
        ImmutableRangeMap<K, V> outer = this;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 14.4K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/ImmutableRangeMap.java

                return true;
              }
    
              // redeclare to help optimizers with b/310253115
              @SuppressWarnings("RedundantOverride")
              @Override
              @J2ktIncompatible // serialization
              Object writeReplace() {
                return super.writeReplace();
              }
            };
        ImmutableRangeMap<K, V> outer = this;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 14.8K bytes
    - Click Count (0)
  8. 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.
     */
    @NullUnmarked
    public class WriteReplaceOverridesTest extends TestCase {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 01 03:07:54 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  9. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              } catch (Exception e) { // sneaky checked exception
                throw new AssertionError(
                    "Serialization failed on return value of " + factory, e.getCause());
              }
            }
          }
          return this;
        }
    
        /**
         * Runs equals and serialization test on the return values.
         *
         * <p>Test fails if default value cannot be determined for a constructor or factory method
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 32.5K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/hash/BloomFilterTest.java

              arraySize * Long.SIZE, BloomFilter.create(unencodedCharsFunnel(), i, fpp).bitSize());
        }
      }
    
      /**
       * Tests that bitSize() can be used to predict the serialization size produced by writeTo().
       *
       * <p>The serialization format consists of a 6-byte header (1 byte strategy, 1 byte hash
       * functions, 4 bytes array length) followed by the bit array data (bitSize / 8 bytes).
       */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 23K bytes
    - Click Count (0)
Back to Top