Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 156 for Serialize (0.15 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/ModelWriter.java

         * created automatically.
         *
         * @param output The file to serialize the model to, must not be {@code null}.
         * @param options The options to use for serialization, may be {@code null} to use the default values.
         * @param model The model to serialize, must not be {@code null}.
         * @throws IOException If the model could not be serialized.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/io/SettingsWriter.java

         * be created automatically.
         *
         * @param output The file to serialize the settings to, must not be {@code null}.
         * @param options The options to use for serialization, may be {@code null} to use the default values.
         * @param settings The settings to serialize, must not be {@code null}.
         * @throws IOException If the settings could not be serialized.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. cmd/xl-storage-meta-inline.go

    		if err != nil {
    			return keys, err
    		}
    	}
    	return keys, nil
    }
    
    // serialize will serialize the provided keys and values.
    // The function will panic if keys/value slices aren't of equal length.
    // Payload size can give an indication of expected payload size.
    // If plSize is <= 0 it will be calculated.
    func (x *xlMetaInlineData) serialize(plSize int, keys [][]byte, vals [][]byte) {
    	if len(keys) != len(vals) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/io/ToolchainsWriter.java

         * the method returns.
         *
         * @param output The writer to serialize the toolchains to, must not be {@code null}.
         * @param options The options to use for serialization, may be {@code null} to use the default values.
         * @param toolchains The toolchains to serialize, must not be {@code null}.
         * @throws IOException If the toolchains could not be serialized.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

            start = System.currentTimeMillis();
            SerializeUtil.serialize(hmap);
            System.out.println("HashMap serialize:" + (System.currentTimeMillis() - start));
    
            start = System.currentTimeMillis();
            SerializeUtil.serialize(amap);
            System.out.println("ArrayMap serialize:" + (System.currentTimeMillis() - start));
        }
    
        private static class MyKey {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

        }
    
        /**
         * Serialize the inbound Model instance to a StringWriter, perform the regex replacement to resolve
         * POM expressions, then re-parse into the resolved Model instance.
         * <p>
         * <b>NOTE:</b> This will result in a different instance of Model being returned!!!
         *
         * @param model The inbound Model instance, to serialize and reference for expression resolution
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  7. architecture/standards/0002-avoid-using-java-serialization.md

    * Existing usages of Serializer outside of this infrastructure should be migrated to use it.
    * Existing usages of Java serialization should be migrated to use it.
    * It is ok for Serializer to be used as a replacement for Java serialization as a migration step.
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Feb 29 22:32:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/SerializeUtilTest.java

        /**
         * @throws Exception
         */
        public void testSerialize() throws Exception {
            final String[] a = new String[] { "1", "2" };
            final String[] b = (String[]) SerializeUtil.serialize(a);
            assertEquals("1", b.length, a.length);
            assertEquals("2", "1", b[0]);
            assertEquals("3", "2", b[1]);
        }
    
        /**
         * @throws Exception
         */
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. compat/maven-model/src/test/java/org/apache/maven/model/SerializationTest.java

            Model model;
            try (InputStream is = getClass().getResourceAsStream("/xml/pom.xml")) {
                model = new MavenXpp3Reader().read(is);
            }
    
            // Serialize an inner child here so that the BaseObject.childrenTracking is non null
            Build build = model.getBuild();
    
            ByteArrayOutputStream baos = new ByteArrayOutputStream();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/cni-watcher_test.go

    		types.MergePatchType, labelsPatch, metav1.PatchOptions{})
    	assert.NoError(t, err)
    
    	client.RunAndWait(ctx.Done())
    
    	payload, _ := json.Marshal(valid)
    
    	// serialize our fake plugin event
    	addEvent, err := processAddEvent(payload)
    	assert.Equal(t, err, nil)
    
    	// Push it thru the handler
    	pluginServer.ReconcileCNIAddEvent(ctx, addEvent)
    
    	waitForMockCalls()
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 7.6K bytes
    - Viewed (0)
Back to top