Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 188 for input_stream (0.24 sec)

  1. tensorflow/compiler/mlir/quantization/stablehlo/passes/testing/test_lift_quantizable_spots_as_functions_with_quantization_specs.cc

    absl::StatusOr<QuantizationSpecs> ParseTextProto(
        const absl::string_view text_proto) {
      QuantizationSpecs quantization_specs;
      TextFormat::Parser parser;
      ArrayInputStream input_stream(text_proto.data(), text_proto.size());
      if (parser.Parse(&input_stream, &quantization_specs)) {
        return quantization_specs;
      }
      return absl::InvalidArgumentError("Could not parse text proto.");
    }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Mar 28 23:21:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/ExceptionReplacingObjectInputStream.java

                    try {
                        return createNewInstance(inputStream);
                    } catch (IOException e) {
                        throw UncheckedException.throwAsUncheckedException(e);
                    }
                }
            };
        }
    
        protected ExceptionReplacingObjectInputStream createNewInstance(InputStream inputStream) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Message.java

         *
         * @param inputSteam stream to read the object from
         * @param classLoader loader used to load exception classes
         * @return the de-serialized object
         */
        public static Object receive(InputStream inputSteam, ClassLoader classLoader)
                throws IOException, ClassNotFoundException {
            ObjectInputStream ois = new ExceptionReplacingObjectInputStream(inputSteam, classLoader);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/api/internal/file/archive/TarFileTree.java

            });
        }
    
        private void visitImpl(FileVisitor visitor, File expandedDir, InputStream inputStream) throws IOException {
            checkFormat(inputStream);
    
            AtomicBoolean stopFlag = new AtomicBoolean();
            DetailsImpl.NoCloseTarArchiveInputStream tar = new DetailsImpl.NoCloseTarArchiveInputStream(inputStream);
            ReadableResourceInternal resource = this.resource.get();
            TarArchiveEntry entry;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 26 15:15:04 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/files/src/main/java/org/gradle/api/internal/file/archive/impl/StreamZipInput.java

    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Iterator;
    import java.util.zip.ZipInputStream;
    
    public class StreamZipInput implements ZipInput {
    
        private final ZipInputStream inputStream;
    
        public StreamZipInput(InputStream inputStream) {
            this.inputStream = new ZipInputStream(inputStream);
        }
    
        @Override
        public Iterator<ZipEntry> iterator() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 12:11:00 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/KryoBackedDecoder.java

        private final Input input;
        private InputStream inputStream;
        private long extraSkipped;
        private KryoBackedDecoder nested;
    
        public KryoBackedDecoder(InputStream inputStream) {
            this(inputStream, 4096);
        }
    
        public KryoBackedDecoder(InputStream inputStream, int bufferSize) {
            this.inputStream = inputStream;
            input = new Input(this.inputStream, bufferSize);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/ObjectInputStreamAdapter.kt

        override fun read(b: ByteArray): Int = inputStream.read(b)
    
        override fun markSupported(): Boolean = inputStream.markSupported()
    
        override fun mark(readlimit: Int) = inputStream.mark(readlimit)
    
        override fun reset() = inputStream.reset()
    
        override fun read(): Int = inputStream.read()
    
        override fun readChar(): Char = readContext.readInt().toChar()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedDecoder.java

        private final Input input;
        private final InputStream inputStream;
        private String[] strings;
        private long extraSkipped;
    
        public StringDeduplicatingKryoBackedDecoder(InputStream inputStream) {
            this(inputStream, 4096);
        }
    
        public StringDeduplicatingKryoBackedDecoder(InputStream inputStream, int bufferSize) {
            this.inputStream = inputStream;
            input = new Input(this.inputStream, bufferSize);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/tooling/internal/provider/serialization/PayloadSerializerObjectInputStream.java

        public PayloadSerializerObjectInputStream(InputStream inputStream, ClassLoader classLoader, Map<Short, ClassLoaderDetails> classLoaderDetails, DeserializeMap map) throws IOException {
            super(inputStream, classLoader);
            this.classLoaderDetails = classLoaderDetails;
            this.map = map;
        }
    
        @Override
        protected ExceptionReplacingObjectInputStream createNewInstance(InputStream inputStream) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 00:13:09 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/InputStreamBackedDecoder.java

    import java.io.IOException;
    import java.io.InputStream;
    
    public class InputStreamBackedDecoder extends AbstractDecoder implements Decoder, Closeable {
        private final DataInputStream inputStream;
    
        public InputStreamBackedDecoder(InputStream inputStream) {
            this(new DataInputStream(inputStream));
        }
    
        public InputStreamBackedDecoder(DataInputStream inputStream) {
            this.inputStream = inputStream;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 2.6K bytes
    - Viewed (0)
Back to top