Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 161 for Serialization (0.09 seconds)

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

  1. android/guava-testlib/src/com/google/common/testing/SerializableTester.java

    import junit.framework.AssertionFailedError;
    import org.jspecify.annotations.NullMarked;
    
    /**
     * Tests serialization and deserialization of an object, optionally asserting that the resulting
     * object is equal to the original.
     *
     * <p><b>GWT warning:</b> Under GWT, both methods simply returns their input, as proper GWT
     * serialization tests require more setup. This no-op behavior allows test authors to intersperse
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiData.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import kotlinx.serialization.Serializable
    import kotlinx.serialization.decodeFromString
    import kotlinx.serialization.json.Json
    
    /**
     * A test from the [Web Platform To ASCII](https://github.com/web-platform-tests/wpt/blob/master/url/resources/toascii.json).
     *
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/dict/DictionaryExpiredException.java

     * has exceeded its lifetime and should be refreshed or reloaded.
     */
    public class DictionaryExpiredException extends RuntimeException {
    
        /** Serial version UID for serialization. */
        private static final long serialVersionUID = 1L;
    
        /**
         * Creates a new instance of DictionaryExpiredException.
         * This constructor initializes the exception to indicate that a dictionary
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

    import java.io.File;
    import java.io.IOException;
    import java.io.OutputStream;
    import java.io.Writer;
    import java.util.Map;
    
    import org.apache.maven.model.Model;
    
    /**
     * Handles serialization of a model into some kind of textual format like XML.
     *
     * @deprecated use {@code org.apache.maven.api.services.xml.ModelXmlFactory} instead
     */
    @Deprecated(since = "4.0.0")
    public interface ModelWriter {
    
        /**
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.9K bytes
    - Click Count (0)
  5. guava/src/com/google/common/collect/ImmutableEnumSet.java

      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      @Override
      @J2ktIncompatible // serialization
      Object writeReplace() {
        return new EnumSerializedForm<E>(delegate);
      }
    
      @J2ktIncompatible // serialization
      private void readObject(ObjectInputStream stream) throws InvalidObjectException {
        throw new InvalidObjectException("Use SerializedForm");
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/LinkedHashMultiset.java

        stream.defaultWriteObject();
        Serialization.writeMultiset(this, stream);
      }
    
      @GwtIncompatible
      @J2ktIncompatible
        private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException {
        stream.defaultReadObject();
        int distinctElements = stream.readInt();
        setBackingMap(new LinkedHashMap<E, Count>());
        Serialization.populateMultiset(this, stream, distinctElements);
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/exception/SsoLoginException.java

     * communication issues with SSO providers, and other SSO-related problems.
     */
    public class SsoLoginException extends FessSystemException {
    
        /** Serial version UID for serialization compatibility. */
        private static final long serialVersionUID = 1L;
    
        /**
         * Constructs a new SsoLoginException with the specified detail message.
         *
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Wed Nov 19 08:04:23 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/testers/MapSerializationTester.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.SerializableTester;
    import java.util.Map;
    import org.junit.Ignore;
    
    /**
     * Basic serialization test for maps.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Nov 14 23:40:07 GMT 2024
    - 1.7K bytes
    - Click Count (0)
  9. fastapi/openapi/utils.py

    
    def _get_openapi_operation_parameters(
        *,
        dependant: Dependant,
        model_name_map: ModelNameMap,
        field_mapping: dict[
            tuple[ModelField, Literal["validation", "serialization"]], dict[str, Any]
        ],
        separate_input_output_schemas: bool = True,
    ) -> list[dict[str, Any]]:
        parameters = []
        flat_dependant = get_flat_dependant(dependant, skip_repeats=True)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  10. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *   <li>Serialization test is not performed on method return values unless the method is a
       *       visible static factory method whose return type is {@code C} or {@code C}'s subtype.
       * </ul>
       *
       * <p>In all cases, if {@code C} needs custom logic for testing serialization, you can add an
       * explicit {@code testSerializable()} test in the corresponding {@code CTest} class, and {@code
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 17.9K bytes
    - Click Count (0)
Back to Top