- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 241 for deserialize (0.06 seconds)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelReader.java
* Reads the model from the specified file. * * @param input The file to deserialize the model from, must not be {@code null}. * @param options The options to use for deserialization, may be {@code null} to use the default values. * @return The deserialized model, never {@code null}. * @throws IOException If the model could not be deserialized. * @throws ModelParseException If the input format could not be parsed. */Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.6K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/metadata/io/MetadataReader.java
* * @param input The file to deserialize the metadata from, must not be {@code null}. * @param options The options to use for deserialization, may be {@code null} to use the default values. * @return The deserialized metadata, never {@code null}. * @throws IOException If the metadata could not be deserialized. * @throws MetadataParseException If the input format could not be parsed.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.3K bytes - Click Count (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsReader.java
* * @param input The file to deserialize the settings from, must not be {@code null}. * @param options The options to use for deserialization, may be {@code null} to use the default values. * @return The deserialized settings, never {@code null}. * @throws IOException If the settings could not be deserialized. * @throws SettingsParseException If the input format could not be parsed.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.4K bytes - Click Count (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsReader.java
* * @param input The file to deserialize the toolchains from, must not be {@code null}. * @param options The options to use for deserialization, may be {@code null} to use the default values. * @return The deserialized toolchains, never {@code null}. * @throws IOException If the toolchains could not be deserialized. * @throws ToolchainsParseException If the input format could not be parsed.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Mar 05 09:37:42 GMT 2025 - 3.5K bytes - Click Count (0) -
cmd/data-usage_test.go
var got dataUsageCache err = got.deserialize(&buf) if err != nil { t.Fatal(err) } if got.Info.LastUpdate.IsZero() { t.Error("lastupdate not set") } if !want.Info.LastUpdate.Equal(got.Info.LastUpdate) { t.Fatalf("deserialize LastUpdate mismatch\nwant: %+v\ngot: %+v", want, got) } if len(want.Cache) != len(got.Cache) {Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
internal/hash/checksum_test.go
chksm := NewChecksumFromData(ChecksumCRC32, myData) if chksm == nil { t.Fatal("NewChecksumFromData returned nil") } // Serialize the checksum to bytes b := chksm.AppendTo(nil, nil) if b == nil { t.Fatal("AppendTo returned nil") } // Deserialize the checksum from bytes chksmOut := ChecksumFromBytes(b) if chksmOut == nil { t.Fatal("ChecksumFromBytes returned nil") }
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) -
samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java
Request request = new Request.Builder() .url(ENDPOINT) .build(); // Execute the request and retrieve the response. try (Response response = client.newCall(request).execute()) { // Deserialize HTTP response to concrete type. ResponseBody body = response.body(); List<Contributor> contributors = CONTRIBUTORS_JSON_ADAPTER.fromJson(body.source()); // Sort list by the most contributions.
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java
}; } /** * Deserializes a byte array back to an object. * <p> * The deserialization method used depends on the configured serializer type. * Supported types are Kryo and JavaBin deserialization. * </p> * * @param bytes the byte array to deserialize * @return the deserialized objectCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Jan 10 01:54:09 GMT 2026 - 10.5K bytes - Click Count (3) -
src/test/java/jcifs/spnego/SpnegoExceptionTest.java
assertTrue(s.contains("hello")); } @Test @DisplayName("Should serialize and deserialize preserving message and cause") void testJavaSerialization() throws Exception { // Given SpnegoException original = new SpnegoException("serialize me", new IllegalArgumentException("iaex")); // When byte[] bytes;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 4.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java
DictionaryExpiredException deserialized = (DictionaryExpiredException) ois.readObject(); ois.close(); // Verify assertNotNull(deserialized); assertNull(deserialized.getMessage()); assertNull(deserialized.getCause()); } @Test public void test_stackTrace() { // Test that stack trace is properly maintained
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 7.5K bytes - Click Count (0)