Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 340 for serialization (0.11 seconds)

  1. src/test/java/jcifs/spnego/NegTokenTargTest.java

            NegTokenTarg nt = new NegTokenTarg();
            assertEquals(NegTokenTarg.UNSPECIFIED_RESULT, nt.getResult(), "new object should have UNSPECIFIED_RESULT");
        }
    
        @Test
        @DisplayName("serialization omits tags when field is null")
        void testSerializationOmittingNullFields() throws IOException {
            NegTokenTarg token = new NegTokenTarg();
            token.setResult(NegTokenTarg.ACCEPT_INCOMPLETE);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/RegularImmutableAsList.java

     * backed by an {@code ImmutableList} or array.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace, not default serialization
    class RegularImmutableAsList<E> extends ImmutableAsList<E> {
      private final ImmutableCollection<E> delegate;
      private final ImmutableList<? extends E> delegateList;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 17:50:58 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/DenseImmutableTable.java

              return endOfData();
            }
          };
        }
    
        // redeclare to help optimizers with b/310253115
        @SuppressWarnings("RedundantOverride")
        @J2ktIncompatible // serialization
        @Override
        @GwtIncompatible // serialization
        Object writeReplace() {
          return super.writeReplace();
        }
      }
    
      private final class Row extends ImmutableArrayMap<C, V> {
        private final int rowIndex;
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 9.6K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/SingletonImmutableList.java

    import java.util.Spliterator;
    
    /**
     * Implementation of {@link ImmutableList} with exactly one element.
     *
     * @author Hayward Chan
     */
    @GwtCompatible
    @SuppressWarnings("serial") // uses writeReplace(), not default serialization
    final class SingletonImmutableList<E> extends ImmutableList<E> {
    
      final transient E element;
    
      SingletonImmutableList(E element) {
        this.element = checkNotNull(element);
      }
    
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/fess/util/DocList.java

     * manage collections of search results and crawled documents.
     *
     */
    public class DocList extends ArrayList<Map<String, Object>> {
    
        /** Serial version UID for serialization */
        private static final long serialVersionUID = 1L;
    
        /** Total content size of all documents in this list */
        private long contentSize = 0;
    
        /** Total processing time for all documents in this list */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 3.2K bytes
    - Click Count (0)
  6. 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: Sat Aug 09 01:14:59 GMT 2025
    - 32.5K bytes
    - Click Count (0)
  7. android/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<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.6K bytes
    - Click Count (0)
  8. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/AbstractSortedMultiset.java

     */
    @GwtCompatible
    abstract class AbstractSortedMultiset<E extends @Nullable Object> extends AbstractMultiset<E>
        implements SortedMultiset<E> {
      private final Comparator<? super E> comparator;
    
      // needed for serialization
      @SuppressWarnings("unchecked")
      AbstractSortedMultiset() {
        this((Comparator) Ordering.natural());
      }
    
      AbstractSortedMultiset(Comparator<? super E> comparator) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  9. fastapi/.agents/skills/fastapi/references/streaming.md

    To stream Server-Sent Events, use `response_class=EventSourceResponse` and `yield` items from the endpoint.
    
    Plain objects are automatically JSON-serialized as `data:` fields, declare the return type so the serialization is done by Pydantic:
    
    ```python
    from collections.abc import AsyncIterable
    
    from fastapi import FastAPI
    from fastapi.sse import EventSourceResponse
    from pydantic import BaseModel
    
    app = FastAPI()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 10:05:57 GMT 2026
    - 2.5K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java

    import java.util.Map;
    import java.util.Objects;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.io.xpp3.MavenXpp3Writer;
    import org.codehaus.plexus.util.WriterFactory;
    
    /**
     * Handles serialization of a model into some kind of textual format like XML.
     *
     * @deprecated use {@link org.apache.maven.model.v4.MavenStaxWriter} instead
     */
    @Named
    @Singleton
    @Deprecated(since = "4.0.0")
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top