Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 121 for writelns (0.22 sec)

  1. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonInfo.java

                writeAddressIndex(encoder, info);
                encoder.writeBinary(info.token);
                encoder.writeByte((byte) info.state.ordinal());
                encoder.writeLong(info.lastBusy);
                DefaultDaemonContext.SERIALIZER.write(encoder, (DefaultDaemonContext) info.context);
            }
    
            private void writeAddressIndex(Encoder encoder, DaemonInfo info) throws IOException {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  2. 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)
  3. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

            sinkBuffer.writeByte(b1)
            sinkBuffer.writeShort(dataSize.toInt())
          }
          else -> {
            b1 = b1 or PAYLOAD_LONG
            sinkBuffer.writeByte(b1)
            sinkBuffer.writeLong(dataSize)
          }
        }
    
        if (isClient) {
          random.nextBytes(maskKey!!)
          sinkBuffer.write(maskKey)
    
          if (dataSize > 0L) {
            messageBuffer.readAndWriteUnsafe(maskCursor!!)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/logging/console/DefaultAnsiExecutorTest.groovy

            Cursor writePos = Cursor.newBottomLeft();
            int startRow = writePos.row
            String text = "A" * TERMINAL_WIDTH
    
            when:
            ansiExecutor.writeAt(writePos) {
                it.a(text)
            }
    
            then:
            writeCursor == Cursor.at(startRow, TERMINAL_WIDTH)
            writePos == writeCursor
            0 * newLineListener._
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultRedrawableLabel.java

        public Cursor getWritePosition() {
            return writePos;
        }
    
        public void setVisible(boolean isVisible) {
            this.isVisible = isVisible;
        }
    
        public boolean isOverlappingWith(Cursor cursor) {
            return cursor.row == writePos.row && writePos.col > cursor.col;
        }
    
        @Override
        public void redraw(AnsiContext ansi) {
            if (writePos.row < 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultAnsiExecutor.java

            private final Ansi delegate;
            private final ColorMap colorMap;
            private final Cursor writePos;
    
            AnsiContextImpl(Ansi delegate, ColorMap colorMap, Cursor writePos) {
                this.delegate = delegate;
                this.colorMap = colorMap;
                this.writePos = writePos;
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/catalog/AbstractSourceGenerator.java

            addImport(clazz.getCanonicalName());
        }
    
        protected void addImport(String clazz) throws IOException {
            writeLn("import " + clazz + ";");
        }
    
        protected void writeLn() throws IOException {
            writer.write(ln);
        }
    
        public void writeLn(String source) throws IOException {
            writeIndent();
            writer.write(source + ln);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  8. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/btree/ByteOutputTest.groovy

            when:
            def stream = output.start(0)
            stream.writeInt(123)
            stream.writeByte(12)
            output.done()
    
            then:
            file.length() == 5
            file.seek(0)
            file.readInt() == 123
            file.readByte() == 12
    
            when:
            stream = output.start(5)
            stream.writeInt(321)
            output.done()
    
            then:
            file.length() == 9
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultTextArea.java

        private final Cursor writePos = new Cursor();
        private final AnsiExecutor ansiExecutor;
    
        public DefaultTextArea(AnsiExecutor ansiExecutor) {
            this.ansiExecutor = ansiExecutor;
        }
    
        /**
         * Returns the bottom right position of this text area.
         */
        public Cursor getWritePosition() {
            return writePos;
        }
    
        public void newLineAdjustment() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/CharSink.java

        writeLines(lines, System.getProperty("line.separator"));
      }
    
      /**
       * Writes the given lines of text to this sink with each line (including the last) terminated with
       * the given line separator.
       *
       * @throws IOException if an I/O error occurs while writing to this sink
       */
      public void writeLines(Iterable<? extends CharSequence> lines, String lineSeparator)
          throws IOException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 17 14:35:11 UTC 2023
    - 6.9K bytes
    - Viewed (0)
Back to top