Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 135 for writelns (0.1 sec)

  1. 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)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/caching/CrossBuildCachingRuleExecutor.java

                encoder.writeSmallInt(implicits.size());
                for (ImplicitInputRecord<?, ?> implicit : implicits) {
                    writeAny(encoder, implicit.getInput());
                    writeAny(encoder, implicit.getOutput());
                }
            }
    
            private void writeAny(Encoder encoder, Object any) throws Exception {
                anySerializer.write(encoder, any);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:51:31 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/runtime/write_err_android.go

    	// buffer writes until we see a newline.
    	var hlen int
    	switch logger {
    	case logd:
    		hlen = writeLogdHeader()
    	case legacy:
    		hlen = len(writeHeader)
    	}
    
    	dst := writeBuf[hlen:]
    	for _, v := range b {
    		if v == 0 { // android logging won't print a zero byte
    			v = '0'
    		}
    		dst[writePos] = v
    		writePos++
    		if v == '\n' || writePos == len(dst)-1 {
    			dst[writePos] = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 18:23:49 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  6. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/kryo/StringDeduplicatingKryoBackedEncoder.java

            output.writeBytes(bytes, offset, count);
        }
    
        @Override
        public void writeLong(long value) {
            output.writeLong(value);
        }
    
        @Override
        public void writeSmallLong(long value) {
            output.writeLong(value, true);
        }
    
        @Override
        public void writeInt(int value) {
            output.writeInt(value);
        }
    
        @Override
        public void writeSmallInt(int value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

          frameHeader(
            streamId = 0,
            length = 8,
            type = TYPE_PING,
            flags = if (ack) FLAG_ACK else FLAG_NONE,
          )
          sink.writeInt(payload1)
          sink.writeInt(payload2)
          sink.flush()
        }
      }
    
      /**
       * Tell the peer to stop creating streams and that we last processed `lastGoodStreamId`, or zero
       * if no streams were processed.
       *
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 11.3K bytes
    - Viewed (0)
  8. cmd/erasure-encode_test.go

    		closeBitrotWriters(writers)
    		if err != nil && !test.shouldFail {
    			t.Errorf("Test %d: should pass but failed with: %v", i, err)
    		}
    		if err == nil && test.shouldFail {
    			t.Errorf("Test %d: should fail but it passed", i)
    		}
    		for i, w := range writers {
    			if w == nil {
    				disks[i] = OfflineDisk
    			}
    		}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  9. cmd/metrics-v3-cache.go

    	)
    }
    
    func getDiffStats(initialStats, currentStats madmin.DiskIOStats) madmin.DiskIOStats {
    	return madmin.DiskIOStats{
    		ReadIOs:      currentStats.ReadIOs - initialStats.ReadIOs,
    		WriteIOs:     currentStats.WriteIOs - initialStats.WriteIOs,
    		ReadSectors:  currentStats.ReadSectors - initialStats.ReadSectors,
    		WriteSectors: currentStats.WriteSectors - initialStats.WriteSectors,
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 09 00:51:34 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  10. cmd/erasure-decode_test.go

    		writers := make([]io.Writer, len(disks))
    		for i, disk := range disks {
    			writers[i] = newBitrotWriter(disk, "", "testbucket", "object", erasure.ShardFileSize(test.data), writeAlgorithm, erasure.ShardSize())
    		}
    		n, err := erasure.Encode(context.Background(), bytes.NewReader(data), writers, buffer, erasure.dataBlocks+1)
    		closeBitrotWriters(writers)
    		if err != nil {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Jan 30 20:43:25 UTC 2024
    - 21.1K bytes
    - Viewed (0)
Back to top