Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 300 for rewrite (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

        var b1 = length
        if (isClient) {
          b1 = b1 or B1_FLAG_MASK
          sinkBuffer.writeByte(b1)
    
          random.nextBytes(maskKey!!)
          sinkBuffer.write(maskKey)
    
          if (length > 0) {
            val payloadStart = sinkBuffer.size
            sinkBuffer.write(payload)
    
            sinkBuffer.readAndWriteUnsafe(maskCursor!!)
            maskCursor.seek(payloadStart)
            toggleMask(maskCursor, maskKey)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerWriter.kt

      private val path = mutableListOf<String>()
    
      /**
       * False unless we made a recursive call to [write] at the current stack frame. The explicit box
       * adapter can clear this to synthesize non-constructed values that are embedded in octet strings.
       */
      var constructed = false
    
      fun write(
        name: String,
        tagClass: Int,
        tag: Long,
        block: (BufferedSink) -> Unit,
      ) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache2/FileOperatorTest.kt

          )
        val bufferA = Buffer()
        val bufferB = Buffer()
        bufferA.writeUtf8("Dodgson!\n")
        operatorA.write(0, bufferA, 9)
        bufferB.writeUtf8("You shouldn't use my name.\n")
        operatorB.write(9, bufferB, 27)
        bufferA.writeUtf8("Dodgson, we've got Dodgson here!\n")
        operatorA.write(36, bufferA, 33)
        operatorB.read(0, bufferB, 9)
        assertThat(bufferB.readUtf8()).isEqualTo("Dodgson!\n")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache2/Relay.kt

        val metadataBuffer = Buffer()
        metadataBuffer.write(metadata)
    
        val fileOperator = FileOperator(file!!.channel)
        fileOperator.write(FILE_HEADER_SIZE + upstreamSize, metadataBuffer, metadata.size.toLong())
      }
    
      @Throws(IOException::class)
      fun commit(upstreamSize: Long) {
        // Write metadata to the end of the file.
        writeMetadata(upstreamSize)
        file!!.channel.force(false)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 17:15:47 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/io/CharStreams.java

        @Override
        public void write(int c) {}
    
        @Override
        public void write(char[] cbuf) {
          checkNotNull(cbuf);
        }
    
        @Override
        public void write(char[] cbuf, int off, int len) {
          checkPositionIndexes(off, off + len, cbuf.length);
        }
    
        @Override
        public void write(String str) {
          checkNotNull(str);
        }
    
        @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/AppendableWriter.java

       */
    
      @Override
      public void write(int c) throws IOException {
        checkNotClosed();
        target.append((char) c);
      }
    
      @Override
      public void write(String str) throws IOException {
        checkNotNull(str);
        checkNotClosed();
        target.append(str);
      }
    
      @Override
      public void write(String str, int off, int len) throws IOException {
        checkNotNull(str);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java

        protected abstract String getActionRole();
    
        /**
         * Writes data to the specified file path.
         *
         * @param path the file path to write to
         * @param data the data to write
         */
        protected void write(final String path, final byte[] data) {
            LdiFileUtil.write(path, data);
        }
    
        /**
         * Gets the servlet context.
         *
         * @return the servlet context
         */
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/dict/protwords/ProtwordsFile.java

                    throw new DictionaryException("Failed to write: " + oldItem + " -> " + item, e);
                }
            }
    
            /**
             * Writes a string line to the temporary file.
             * @param line the line to write
             */
            public void write(final String line) {
                try {
                    writer.write(line);
                    writer.write(Constants.LINE_SEPARATOR);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/ByteArrayDataOutput.java

     * @author Jayaprabhakar Kadarkarai
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public interface ByteArrayDataOutput extends DataOutput {
      @Override
      void write(int b);
    
      @Override
      void write(byte[] b);
    
      @Override
      void write(byte[] b, int off, int len);
    
      @Override
      void writeBoolean(boolean v);
    
      @Override
      void writeByte(int v);
    
      @Override
      void writeShort(int v);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 20:25:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/ByteArrayDataOutput.java

     * @author Jayaprabhakar Kadarkarai
     * @since 1.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    public interface ByteArrayDataOutput extends DataOutput {
      @Override
      void write(int b);
    
      @Override
      void write(byte[] b);
    
      @Override
      void write(byte[] b, int off, int len);
    
      @Override
      void writeBoolean(boolean v);
    
      @Override
      void writeByte(int v);
    
      @Override
      void writeShort(int v);
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Dec 27 20:25:25 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top