Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 45 for writeRaw (0.16 sec)

  1. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultAnsiExecutor.java

            Ansi ansi = factory.create();
            action.execute(new AnsiContextImpl(ansi, colorMap, writeCursor));
            write(ansi);
        }
    
        @Override
        public void writeAt(Cursor writePos, Action<? super AnsiContext> action) {
            Ansi ansi = factory.create();
            positionCursorAt(writePos, ansi);
            action.execute(new AnsiContextImpl(ansi, colorMap, writePos));
            write(ansi);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 7.5K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/es/query/StoredLtrQueryBuilder.java

        }
    
        @Override
        protected void doWriteTo(final StreamOutput out) throws IOException {
            out.writeOptionalString(modelName);
            out.writeOptionalString(featureSetName);
            out.writeMap(params);
            out.writeOptionalStringArray(activeFeatures != null ? activeFeatures.toArray(new String[0]) : null);
            out.writeOptionalString(storeName);
        }
    
        @Override
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/AnsiContext.java

         * @return the current context moved to the specified position.
         */
        AnsiContext cursorAt(Cursor cursor);
    
        /**
         * @return a new context at the specified write position.
         */
        AnsiContext writeAt(Cursor writePos);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 2.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/EnumHashBiMap.java

      @GwtIncompatible // java.io.ObjectOutputStream
      private void writeObject(ObjectOutputStream stream) throws IOException {
        stream.defaultWriteObject();
        stream.writeObject(keyTypeOrObjectUnderJ2cl);
        Serialization.writeMap(this, stream);
      }
    
      @SuppressWarnings("unchecked") // reading field populated by writeObject
      @GwtIncompatible // java.io.ObjectInputStream
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 5.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/DefaultRedrawableLabel.java

                    // Does not need to be redrawn
                    return;
                }
    
                int writtenTextLength = writePos.col;
                writePos.col = 0;
                redrawText(ansi.writeAt(writePos), writtenTextLength);
    
                writtenSpans = spans;
                previousWriteRow = absolutePositionRow;
            }
        }
    
        private void redrawText(AnsiContext ansi, int writtenTextLength) {
    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/MultiLineBuildProgressArea.java

                    int previousLength = entries.get(i + newLines).getWritePosition().col;
                    if (currentLength < previousLength) {
                        ansi.writeAt(label.getWritePosition()).eraseForward();
                    }
                }
            }
    
            if (isPreviouslyVisible || isVisible) {
                ansi.cursorAt(parkCursor());
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. src/os/file.go

    var errWriteAtInAppendMode = errors.New("os: invalid use of WriteAt on file opened with O_APPEND")
    
    // WriteAt writes len(b) bytes to the File starting at byte offset off.
    // It returns the number of bytes written and an error, if any.
    // WriteAt returns a non-nil error when n != len(b).
    //
    // If file was opened with the O_APPEND flag, WriteAt returns an error.
    func (f *File) WriteAt(b []byte, off int64) (n int, err error) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:37 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  8. src/cmd/link/internal/ld/macho_update_uuid.go

    			return err
    		}
    		if cmd.Cmd == LC_UUID {
    			var u uuidCmd
    			if err := reader.ReadAt(0, &u); err != nil {
    				return err
    			}
    			copy(u.Uuid[:], uuidFromGoBuildId(*flagBuildid))
    			if err := reader.WriteAt(0, &u); err != nil {
    				return err
    			}
    			break
    		}
    	}
    
    	// We're done
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. src/io/io_test.go

    			wg.Add(1)
    			go func(wg *sync.WaitGroup, tmpfile *os.File, value byte, off, at int64, step int) {
    				defer wg.Done()
    
    				w := NewOffsetWriter(tmpfile, off)
    				n, e := w.WriteAt([]byte{value}, at+int64(step))
    				if e != nil {
    					t.Errorf("WriteAt failed. off: %d, at: %d, step: %d\n error: %v", off, at, step, e)
    				}
    				atomic.AddInt64(&writeN, int64(n))
    			}(&wg, tmpfile, value, off, at, step)
    		}
    		wg.Wait()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 09 22:04:41 UTC 2023
    - 18.9K bytes
    - Viewed (0)
  10. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Combinators.kt

    }
    
    
    suspend fun <T : MutableCollection<Any?>> ReadContext.readCollectionInto(factory: (Int) -> T): T =
        readCollectionInto(factory) { read() }
    
    
    suspend fun WriteContext.writeMap(value: Map<*, *>) {
        writeSmallInt(value.size)
        writeMapEntries(value)
    }
    
    
    suspend fun WriteContext.writeMapEntries(value: Map<*, *>) {
        for (entry in value.entries) {
            write(entry.key)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 8.4K bytes
    - Viewed (0)
Back to top