Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 39 for writeRaw (0.13 sec)

  1. guava/src/com/google/common/collect/Serialization.java

       * for the data format. The size is determined by a prior call to {@link #readCount}.
       */
      static <K extends @Nullable Object, V extends @Nullable Object> void populateMap(
          Map<K, V> map, ObjectInputStream stream, int size)
          throws IOException, ClassNotFoundException {
        for (int i = 0; i < size; i++) {
          @SuppressWarnings("unchecked") // reading data stored by writeMap
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  2. platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/CollectionCodecs.kt

        {
            write(it.comparator())
            writeMap(it)
        },
        {
            @Suppress("unchecked_cast")
            val comparator = read() as Comparator<Any?>?
            readMapInto { TreeMap(comparator) }
        }
    )
    
    
    fun <T : MutableMap<Any?, Any?>> mapCodec(factory: (Int) -> T): Codec<T> = codec(
        { writeMap(it) },
        { readMapInto(factory) }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 20:43:52 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/macho_combine_dwarf.go

    func (r loadCmdReader) ReadAt(offset int64, data interface{}) error {
    	if _, err := r.f.Seek(r.offset+offset, 0); err != nil {
    		return err
    	}
    	return binary.Read(r.f, r.order, data)
    }
    
    func (r loadCmdReader) WriteAt(offset int64, data interface{}) error {
    	if _, err := r.f.Seek(r.offset+offset, 0); err != nil {
    		return err
    	}
    	return binary.Write(r.f, r.order, data)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 21 18:45:27 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/console/AnsiExecutor.java

     * limitations under the License.
     */
    
    package org.gradle.internal.logging.console;
    
    import org.gradle.api.Action;
    
    public interface AnsiExecutor {
        void write(Action<? super AnsiContext> action);
        void writeAt(Cursor writePos, Action<? super AnsiContext> action);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 851 bytes
    - Viewed (0)
  5. src/net/tcpsockopt_plan9.go

    }
    
    // Set keep alive period.
    func setKeepAliveIdle(fd *netFD, d time.Duration) error {
    	if d < 0 {
    		return nil
    	}
    
    	cmd := "keepalive " + itoa.Itoa(int(d/time.Millisecond))
    	_, e := fd.ctl.WriteAt([]byte(cmd), 0)
    	return e
    }
    
    func setKeepAliveInterval(_ *netFD, d time.Duration) error {
    	if d < 0 {
    		return nil
    	}
    	return syscall.EPLAN9
    }
    
    func setKeepAliveCount(_ *netFD, n int) error {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 20 06:04:31 UTC 2024
    - 762 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top