Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 81 for writelns (0.22 sec)

  1. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Encoder.java

         */
        void encodeChunked(EncodeAction<Encoder> writeAction) throws Exception;
    
        /**
         * Writes a signed 64 bit long value. The implementation may encode the value as a variable number of bytes, not necessarily as 8 bytes.
         */
        void writeLong(long value) throws IOException;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. platforms/core-configuration/configuration-cache/src/test/kotlin/org/gradle/internal/cc/impl/serialization/codecs/JavaObjectSerializationCodecTest.kt

                objectOutputStream.run {
                    defaultWriteObject()
                    writeByte(EXPECTED_BYTE.toInt())
                    writeShort(EXPECTED_SHORT.toInt())
                    writeInt(EXPECTED_INT)
                    writeLong(EXPECTED_LONG)
                    writeUTF(EXPECTED_STRING)
                    writeFloat(EXPECTED_FLOAT)
                    writeDouble(EXPECTED_DOUBLE)
                }
            }
    
            private
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/BaseSerializerFactory.java

                return decoder.readLong();
            }
    
            @Override
            public void write(Encoder encoder, Long value) throws Exception {
                encoder.writeLong(value);
            }
        }
    
        private static class StringSerializer extends AbstractSerializer<String> {
            @Override
            public String read(Decoder decoder) throws Exception {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/Decoder.java

         * Returns an InputStream which can be used to read raw bytes.
         */
        InputStream getInputStream();
    
        /**
         * Reads a signed 64 bit long value. Can read any value that was written using {@link Encoder#writeLong(long)}.
         *
         * @throws EOFException when the end of the byte stream is reached before the long value can be fully read.
         */
        long readLong() throws EOFException, IOException;
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedEncoder.java

            output.writeBytes(bytes, offset, count);
        }
    
        @Override
        public void writeLong(long value) {
            output.writeLong(value);
        }
    
        @Override
        public void writeSmallLong(long value) {
            output.writeLong(value, true);
        }
    
        @Override
        public void writeInt(int value) {
            output.writeInt(value);
        }
    
        @Override
        public void writeSmallInt(int value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

          frameHeader(
            streamId = 0,
            length = 8,
            type = TYPE_PING,
            flags = if (ack) FLAG_ACK else FLAG_NONE,
          )
          sink.writeInt(payload1)
          sink.writeInt(payload2)
          sink.flush()
        }
      }
    
      /**
       * Tell the peer to stop creating streams and that we last processed `lastGoodStreamId`, or zero
       * if no streams were processed.
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  7. cmd/metrics-v3-cache.go

    	)
    }
    
    func getDiffStats(initialStats, currentStats madmin.DiskIOStats) madmin.DiskIOStats {
    	return madmin.DiskIOStats{
    		ReadIOs:      currentStats.ReadIOs - initialStats.ReadIOs,
    		WriteIOs:     currentStats.WriteIOs - initialStats.WriteIOs,
    		ReadSectors:  currentStats.ReadSectors - initialStats.ReadSectors,
    		WriteSectors: currentStats.WriteSectors - initialStats.WriteSectors,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  8. platforms/core-execution/worker-main/src/main/java/org/gradle/process/internal/worker/WorkerJvmMemoryInfoSerializer.java

            }
    
            @Override
            public void write(Encoder encoder, JvmMemoryStatus jvmMemoryStatus) throws Exception {
                encoder.writeLong(jvmMemoryStatus.getCommittedMemory());
                encoder.writeLong(jvmMemoryStatus.getMaxMemory());
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 23 05:58:56 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/main/java/org/gradle/api/internal/tasks/compile/incremental/deps/IntSetSerializer.java

            }
            return result;
        }
    
        @Override
        public void write(Encoder encoder, IntSet value) throws Exception {
            encoder.writeInt(value.size());
            IntIterator iterator = value.iterator();
            while(iterator.hasNext()) {
                encoder.writeInt(iterator.nextInt());
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 15:22:57 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. cmd/erasure-decode.go

    		return bytesWritten, errLessData
    	}
    
    	return bytesWritten, derr
    }
    
    // Heal reads from readers, reconstruct shards and writes the data to the writers.
    func (e Erasure) Heal(ctx context.Context, writers []io.Writer, readers []io.ReaderAt, totalLength int64, prefer []bool) (derr error) {
    	if len(writers) != e.parityBlocks+e.dataBlocks {
    		return errInvalidArgument
    	}
    
    	reader := newParallelReader(readers, e, 0, totalLength)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue May 21 14:36:21 UTC 2024
    - 9.4K bytes
    - Viewed (0)
Back to top