Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 226 for writelns (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. android/guava-tests/test/com/google/common/io/ByteStreamsTest.java

        ByteArrayDataOutput out = ByteStreams.newDataOutput();
        out.writeInt(0x12345678);
        out.writeInt(0x76543210);
        assertThat(out.toByteArray()).isEqualTo(bytes);
      }
    
      public void testNewDataOutput_sized() {
        ByteArrayDataOutput out = ByteStreams.newDataOutput(4);
        out.writeInt(0x12345678);
        out.writeInt(0x76543210);
        assertThat(out.toByteArray()).isEqualTo(bytes);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2Test.kt

        frame.writeByte(Http2.TYPE_SETTINGS)
        frame.writeByte(FLAG_NONE)
        frame.writeInt(0) // Settings are always on the connection stream 0.
        frame.writeShort(1) // SETTINGS_HEADER_TABLE_SIZE
        frame.writeInt(reducedTableSizeBytes)
        frame.writeShort(2) // SETTINGS_ENABLE_PUSH
        frame.writeInt(0)
        reader.nextFrame(
          requireSettings = false,
          object : BaseTestHandler() {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/net/writev_test.go

    	oldHook := poll.TestHookDidWritev
    	defer func() { poll.TestHookDidWritev = oldHook }()
    	var writeLog struct {
    		sync.Mutex
    		log []int
    	}
    	poll.TestHookDidWritev = func(size int) {
    		writeLog.Lock()
    		writeLog.log = append(writeLog.log, size)
    		writeLog.Unlock()
    	}
    	var want bytes.Buffer
    	for i := 0; i < chunks; i++ {
    		want.WriteByte(byte(i))
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 5K bytes
    - Viewed (0)
  10. 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)
Back to top