- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 105 for serializer (0.05 sec)
-
src/test/java/org/codelibs/fess/exception/SsoLoginExceptionTest.java
String message = "Serializable SSO exception"; Exception cause = new RuntimeException("Serializable cause"); SsoLoginException originalException = new SsoLoginException(message, cause); // Serialize the exception ByteArrayOutputStream baos = new ByteArrayOutputStream(); ObjectOutputStream oos = new ObjectOutputStream(baos); oos.writeObject(originalException); oos.close();
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.7K bytes - Viewed (0) -
docs/pt/docs/tutorial/sql-databases.md
``` </div> Então, vá para a interface `/docs`, você verá que o **FastAPI** está usando esses **modelos** para **documentar** a API, e ele também os usará para **serializar** e **validar** os dados. <div class="screenshot"> <img src="/img/tutorial/sql-databases/image01.png"> </div> ## Atualizar o App com Múltiplos Modelos
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Oct 27 15:25:29 UTC 2024 - 15.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableEnumSet.java
private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use SerializedForm"); } /* * This class is used to serialize ImmutableEnumSet instances. */ @J2ktIncompatible // serialization private static final class EnumSerializedForm<E extends Enum<E>> implements Serializable { final EnumSet<E> delegate;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.5K bytes - Viewed (0) -
README.md
`com.google.guava:failureaccess:1.0.3`. It also has [some annotation-only dependencies][guava-deps], which we discuss in more detail at that link. 4. Serialized forms of ALL objects are subject to change unless noted otherwise. Do not persist these and assume they can be read by a future version of the library.
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Aug 05 15:30:14 UTC 2025 - 6.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java
return new SerializedForm<>(delegate()); } private void readObject(ObjectInputStream stream) throws InvalidObjectException { throw new InvalidObjectException("Use SerializedForm"); } /** Serialized form of the map, to avoid serializing the constraint. */ private static final class SerializedForm<B extends @Nullable Object> implements Serializable { private final Map<Class<? extends @NonNull B>, B> backingMap;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 6.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicDouble.java
} /** Returns the value of this {@code AtomicDouble} as a {@code double}. */ @Override public double doubleValue() { return get(); } /** * Saves the state to a stream (that is, serializes it). * * @serialData The current value is emitted (a {@code double}). */ private void writeObject(ObjectOutputStream s) throws IOException { s.defaultWriteObject(); s.writeDouble(get());
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenTargTest.java
byte[] tokenArray = new byte[] { 1, 2, 3 }; byte[] mic = new byte[] { 9, 9, 9 }; NegTokenTarg original = new NegTokenTarg(NegTokenTarg.ACCEPT_COMPLETED, mech, tokenArray, mic); // Act – serialise and parse back byte[] bytes = original.toByteArray(); NegTokenTarg roundTrip = new NegTokenTarg(bytes); // Assert – all getters match the original values
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.6K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/BloomFilter.java
* {@link #writeTo} and {@link #readFrom} methods. Both serialized forms will continue to be * supported by future versions of this library. However, serial forms generated by newer versions * of the code may not be readable by older versions of the code (e.g., a serialized Bloom filter * generated today may <i>not</i> be readable by a binary that was compiled 6 months ago). *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 26.9K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/SLinkedListTest.java
* @throws Exception */ @Test public void testSerialize() throws Exception { list.addLast("1"); list.addLast("2"); list.addLast("3"); assertThat(SerializeUtil.serialize(list), is(notNullValue())); } /** * @throws Exception */ @Test public void testSet() throws Exception { list.addLast("1"); list.addLast("2");
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 8.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/FessUserTest.java
assertFalse(user.refresh()); assertEquals(1, user.getRefreshCount()); } public void test_serialization() { // Test that implementations can be serialized FessUser user = new TestFessUser("testuser", new String[] { "role1", "role2" }, new String[] { "group1", "group2" }, new String[] { "perm1", "perm2" });
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.1K bytes - Viewed (0)