Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 178 for reserialize (1.34 sec)

  1. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      private final transient ConcurrentMap<E, AtomicInteger> countMap;
    
      // This constant allows the deserialization code to set a final field. This holder class
      // makes sure it is not initialized unless an instance is deserialized.
      private static class FieldSettersHolder {
        static final FieldSetter<? super ConcurrentHashMultiset<?>> COUNT_MAP_FIELD_SETTER =
            Serialization.getFieldSetter(ConcurrentHashMultiset.class, "countMap");
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api.cc

      tensorflow::core::CppShapeInferenceResult::HandleData handle_data;
      if (!handle_data.ParseFromArray(proto, proto_len)) {
        status->status =
            absl::InvalidArgumentError("Couldn't deserialize HandleData proto");
        return;
      }
      DCHECK(handle_data.is_set());
    
      tensorflow::mutex_lock l(graph->mu);
      tensorflow::shape_inference::InferenceContext* ic =
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Mon Apr 15 03:35:10 GMT 2024
    - 102.3K bytes
    - Viewed (0)
  3. 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))
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 09 10:41:25 GMT 2024
    - 15.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/AtomicDoubleArrayTest.java

        Thread t1 = newStartedThread(c1);
        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);
        }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 14.5K bytes
    - Viewed (0)
  5. fastapi/dependencies/utils.py

        is_scalar_field,
        is_scalar_sequence_field,
        is_sequence_field,
        is_uploadfile_or_nonable_uploadfile_annotation,
        is_uploadfile_sequence_annotation,
        lenient_issubclass,
        sequence_types,
        serialize_sequence_value,
        value_is_sequence,
    )
    from fastapi.background import BackgroundTasks
    from fastapi.concurrency import (
        asynccontextmanager,
        contextmanager_in_threadpool,
    )
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:52:56 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableRangeMap.java

        }
        return false;
      }
    
      @Override
      public String toString() {
        return asMapOfRanges().toString();
      }
    
      /**
       * This class is used to serialize ImmutableRangeMap instances. Serializes the {@link
       * #asMapOfRanges()} form.
       */
      private static class SerializedForm<K extends Comparable<?>, V> implements Serializable {
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.7K bytes
    - Viewed (0)
  7. fastapi/applications.py

                        show it as the response (JSON Schema).
                    * Serialization: you could return an arbitrary object and the
                        `response_model` would be used to serialize that object into the
                        corresponding JSON.
                    * Filtering: the JSON sent to the client will only contain the data
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

            try {
                resultData.setData(SerializeUtil.fromObjectToBinary(generateData(responseData)));
            } catch (final Exception e) {
                throw new CrawlingAccessException("Could not serialize object", e);
            }
            resultData.setEncoding(fessConfig.getCrawlerCrawlingDataEncoding());
    
            return resultData;
        }
    
        protected Map<String, Object> generateData(final ResponseData responseData) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 23.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

      private final transient ConcurrentMap<E, AtomicInteger> countMap;
    
      // This constant allows the deserialization code to set a final field. This holder class
      // makes sure it is not initialized unless an instance is deserialized.
      private static class FieldSettersHolder {
        static final FieldSetter<? super ConcurrentHashMultiset<?>> COUNT_MAP_FIELD_SETTER =
            Serialization.getFieldSetter(ConcurrentHashMultiset.class, "countMap");
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/BloomFilter.java

        } catch (IOException e) {
          throw e;
        } catch (Exception e) { // sneaky checked exception
          String message =
              "Unable to deserialize BloomFilter from InputStream."
                  + " strategyOrdinal: "
                  + strategyOrdinal
                  + " numHashFunctions: "
                  + numHashFunctions
                  + " dataLength: "
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top