Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 91 - 100 of 282 for serialization (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. 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)
  2. 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)
  3. src/test/java/org/codelibs/fess/exception/StorageExceptionTest.java

            }
        }
    
        @Test
        public void test_serialVersionUID() {
            // Test that the exception is serializable
            StorageException exception = new StorageException("Test serialization");
    
            // Verify that the exception is serializable by checking it extends RuntimeException
            // which implements Serializable
            assertTrue(exception instanceof java.io.Serializable);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/math/PairedStats.java

       * were obtained by calling {@code snapshot()} on the same {@link PairedStatsAccumulator} without
       * adding any values in between the two calls, or if one is obtained from the other after
       * round-tripping through java serialization. However, floating point rounding errors mean that it
       * may be false for some instances where the statistics are mathematically equal, including
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/ServletRuntimeExceptionTest.java

            // Test that the serialVersionUID is properly defined
            // This test verifies that the class can be instantiated and has the serial version UID
            ServletException servletException = new ServletException("Serialization test");
            ServletRuntimeException runtimeException = new ServletRuntimeException(servletException);
    
            // The fact that we can create the instance verifies the serialVersionUID is defined
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exception/LdapConfigurationExceptionTest.java

            assertEquals(this.getClass().getName(), firstElement.getClassName());
        }
    
        @Test
        public void test_serialization() {
            // Test that the exception is serializable
            String message = "Serialization test";
            LdapConfigurationException exception = new LdapConfigurationException(message);
    
            // Test that serialVersionUID is accessible (inherited from parent)
            assertNotNull(exception);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 7.8K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/collect/SimpleAbstractMultisetTest.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * Unit test for {@link AbstractMultiset}.
     *
     * @author Kevin Bourrillion
     * @author Louis Wasserman
     */
    @SuppressWarnings("serial") // No serialization is used in this test
    @GwtCompatible
    @NullMarked
    public class SimpleAbstractMultisetTest extends TestCase {
      @J2ktIncompatible
      @GwtIncompatible // suite
      @AndroidIncompatible // test-suite builders
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exception/PluginExceptionTest.java

        }
    
        @Test
        public void test_serialVersionUID() {
            // Test that the exception is serializable
            PluginException exception = new PluginException("Serialization test");
    
            // The exception should be serializable since it extends RuntimeException
            assertTrue(exception instanceof java.io.Serializable);
        }
    
        @Test
        public void test_longMessage() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/exception/UnsupportedSearchExceptionTest.java

        }
    
        @Test
        public void test_serialization() {
            // Test that the exception has serialVersionUID
            // This test verifies the exception is serializable
            String message = "Serialization test";
            UnsupportedSearchException exception = new UnsupportedSearchException(message);
    
            // Verify basic properties are preserved
            assertEquals(message, exception.getMessage());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  10. docs/en/docs/advanced/dataclasses.md

    And of course, it supports the same:
    
    * data validation
    * data serialization
    * data documentation, etc.
    
    This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic.
    
    /// info
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
Back to Top