Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 340 for serialization (0.08 seconds)

  1. internal/hash/checksum_test.go

    	finalChecksum := NewChecksumFromData(finalChecksumType, checksumCombined)
    
    	// Set WantParts to indicate 3 parts
    	finalChecksum.WantParts = 3
    
    	// Test AppendTo serialization
    	var serialized []byte
    	serialized = finalChecksum.AppendTo(serialized, checksumCombined)
    
    	// Use ChecksumFromBytes to deserialize the final checksum
    	chksmOut := ChecksumFromBytes(serialized)
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 22 14:15:21 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/MutableClassToInstanceMap.java

     * ClassToInstanceMap}</a>.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @SuppressWarnings("serial") // using writeReplace instead of standard serialization
    public final class MutableClassToInstanceMap<B extends @Nullable Object>
        extends ForwardingMap<Class<? extends @NonNull B>, B>
        implements ClassToInstanceMap<B>, Serializable {
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  3. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/ElasticsearchJavaBasePlugin.java

                /*
                 * -path because gradle will send in paths that don't always exist.
                 * -missing because we have tons of missing @returns and @param.
                 * -serial because we don't use java serialization.
                 */
                // don't even think about passing args with -J-xxx, oracle will ask you to submit a bug report :)
                // fail on all javac warnings.
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 27 16:04:42 GMT 2021
    - 8K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/app/pager/FileConfigPager.java

     * and contains form fields for file crawler configuration parameters.
     */
    public class FileConfigPager implements Serializable {
    
        /** Serial version UID for serialization */
        private static final long serialVersionUID = 1L;
    
        /**
         * Default constructor for file configuration pager.
         * Creates a new instance with default values.
         */
        public FileConfigPager() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/exception/GsaConfigExceptionTest.java

        }
    
        @Test
        public void test_serialization() {
            // Test serialVersionUID is properly defined
            GsaConfigException exception = new GsaConfigException("Serialization test");
    
            // Verify the exception is serializable (has serialVersionUID)
            assertNotNull(exception);
            // The serialVersionUID field exists and is accessible at compile time
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/resources/checkstyle.xml

            <property name="setterCanReturnItsClass" value="true"/>
            <property name="ignoreFormat" value="^(threadPool)$"/>
        </module>
        -->
    
        <!-- We don't use Java's builtin serialization and we suppress all warning
          about it. The flip side of that coin is that we shouldn't _try_ to use
          it. We can't outright ban it with ForbiddenApis because it complain about
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Sep 13 12:48:46 GMT 2021
    - 6K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/exception/LdapOperationExceptionTest.java

            assertTrue(exception instanceof Throwable);
        }
    
        @Test
        public void test_serialVersionUID() {
            // Test that exception is serializable
            String message = "Serialization test";
            LdapOperationException exception = new LdapOperationException(message);
    
            // Verify the exception can be created (serialVersionUID is present)
            assertNotNull(exception);
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb1/util/transport/TransportExceptionTest.java

                // toString should not cause infinite loop
                assertDoesNotThrow(() -> exception.toString());
            }
        }
    
        @Nested
        @DisplayName("Serialization Tests")
        class SerializationTests {
    
            @Test
            @DisplayName("Should maintain exception hierarchy")
            void testExceptionHierarchy() {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 11.5K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/io/SerializeUtil.java

    import org.codelibs.core.exception.IORuntimeException;
    
    /**
     * Utility for serializing objects with security protections.
     * <p>
     * This utility provides object serialization and deserialization with built-in
     * security protections against deserialization attacks. By default, it uses an
     * ObjectInputFilter to restrict which classes can be deserialized.
     * </p>
     * <p>
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSet.java

     * regular sets respectively. For the sorted sets, it's a thin wrapper around {@link
     * java.util.TreeSet}.
     *
     * @see ImmutableSortedSet
     * @author Hayward Chan
     */
    @SuppressWarnings("serial") // Serialization only done in GWT.
    public abstract class ImmutableSet<E> extends ImmutableCollection<E> implements Set<E> {
      ImmutableSet() {}
    
      public static <E> Collector<E, ?, ImmutableSet<E>> toImmutableSet() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top