- Sort Score
- Result 10 results
- Languages All
Results 131 - 140 of 203 for Serializer (0.12 sec)
-
cni/pkg/plugin/plugin.go
- // Parse previous result. Remove this if your plugin is not chained.
- if conf.RawPrevResult != nil {
- resultBytes, err := json.Marshal(conf.RawPrevResult)
- if err != nil {
- return nil, fmt.Errorf("could not serialize prevResult: %v", err)
- }
- res, err := version.NewResult(conf.CNIVersion, resultBytes)
- if err != nil {
- return nil, fmt.Errorf("could not parse prevResult: %v", err)
- }
- conf.RawPrevResult = nil
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Aug 14 19:36:19 UTC 2024 - 10.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractBiMap.java
- * Serialization stores the forward bimap, the inverse of this inverse.
- * Deserialization calls inverse() on the forward bimap and returns that
- * inverse.
- *
- * If a bimap and its inverse are serialized together, the deserialized
- * instances have inverse() methods that return the other.
- */
- @Override
- @ParametricNullness
- K checkKey(@ParametricNullness K key) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 14.6K bytes - Viewed (0) -
cmd/metacache-set_gen.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Mar 19 20:23:12 UTC 2024 - 13.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java
- Thread t2 = newStartedThread(c2);
- awaitTermination(t1);
- awaitTermination(t2);
- assertEquals(SIZE * COUNTDOWN, c1.counts + c2.counts);
- }
- /** a deserialized serialized array holds same values */
- public void testSerialization() throws Exception {
- AtomicDoubleArray x = new AtomicDoubleArray(SIZE);
- for (int i = 0; i < SIZE; i++) {
- x.set(i, (double) -i);
- }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 02:42:09 UTC 2024 - 14.6K bytes - Viewed (0) -
internal/hash/checksum.go
- if c == nil {
- return nil
- }
- var tmp [binary.MaxVarintLen32]byte
- n := binary.PutUvarint(tmp[:], uint64(c.Type))
- crc := c.Raw
- if c.Type.Trailing() {
- // When we serialize we don't care if it was trailing.
- c.Type ^= ChecksumTrailing
- }
- if len(crc) != c.Type.RawByteLen() {
- return b
- }
- b = append(b, tmp[:n]...)
- b = append(b, crc...)
- if c.Type.Is(ChecksumMultipart) {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 19 12:59:07 UTC 2024 - 12.7K bytes - Viewed (0) -
cmd/data-usage_test.go
- t.Fatal(err)
- }
- e := want.find("abucket/dir2")
- want.replace("abucket/dir2", "", *e)
- var buf bytes.Buffer
- err = want.serializeTo(&buf)
- if err != nil {
- t.Fatal(err)
- }
- t.Log("serialized size:", buf.Len(), "bytes")
- var got dataUsageCache
- err = got.deserialize(&buf)
- if err != nil {
- t.Fatal(err)
- }
- if got.Info.LastUpdate.IsZero() {
- t.Error("lastupdate not set")
- }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 22:23:33 UTC 2024 - 14.7K bytes - Viewed (0) -
tensorflow/c/c_api.cc
- const void** buf, size_t* len);
- // TODO(josh11b,mrry): Change Session to be able to use a Graph*
- // directly, instead of requiring us to serialize to a GraphDef and
- // call Session::Extend().
- bool ExtendSessionGraphHelper(TF_Session* session, TF_Status* status) {
- if (session->graph != nullptr) {
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0) -
fastapi/_compat.py
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Sat Oct 12 09:36:32 UTC 2024 - 23.4K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java
- @SuppressWarnings("unchecked")
- static final Comparator<?> NATURAL_ORDER = Ordering.natural();
- // This reference is only used by GWT compiler to infer the keys and values
- // of the map that needs to be serialized.
- private @Nullable Comparator<? super K> unusedComparatorForSerialization;
- private @Nullable K unusedKeyForSerialization;
- private @Nullable V unusedValueForSerialization;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 27 19:19:19 UTC 2024 - 16.4K bytes - Viewed (0) -
cmd/s3-zip-handlers.go
- files, srcInfo, err := getFilesListFromZIPObject(ctx, objectAPI, bucket, object, opts)
- if err != nil {
- return nil, err
- }
- files.OptimizeSize()
- zipInfo, err := files.Serialize()
- if err != nil {
- return nil, err
- }
- at := archiveType
- zipInfoStr := string(zipInfo)
- if opts.EncryptFn != nil {
- at = archiveTypeEnc
- zipInfoStr = string(opts.EncryptFn(archiveTypeEnc, zipInfo))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jun 10 15:31:51 UTC 2024 - 15.8K bytes - Viewed (0)