Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for DATASIZE (0.24 sec)

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

          b0 = b0 or B0_FLAG_RSV1
        }
        val dataSize = messageBuffer.size
        sinkBuffer.writeByte(b0)
    
        var b1 = 0
        if (isClient) {
          b1 = b1 or B1_FLAG_MASK
        }
        when {
          dataSize <= PAYLOAD_BYTE_MAX -> {
            b1 = b1 or dataSize.toInt()
            sinkBuffer.writeByte(b1)
          }
          dataSize <= PAYLOAD_SHORT_MAX -> {
            b1 = b1 or PAYLOAD_SHORT
    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. src/main/java/jcifs/smb1/smb1/SmbComOpenAndXResponse.java

                super.toString() +
                ",fid=" + fid +
                ",fileAttributes=" + fileAttributes +
                ",lastWriteTime=" + lastWriteTime +
                ",dataSize=" + dataSize +
                ",grantedAccess=" + grantedAccess +
                ",fileType=" + fileType +
                ",deviceState=" + deviceState +
                ",action=" + action +
                ",serverFid=" + serverFid + "]" );
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.8K bytes
    - Viewed (0)
  3. src/os/writeto_linux_test.go

    	}
    
    	// Verify the data size and content.
    	dataSize := len(data)
    	dstData := make([]byte, dataSize)
    	m, err := io.ReadFull(recv, dstData)
    	if err != nil {
    		t.Fatalf("server Conn Read error: %v", err)
    	}
    	if n != int64(dataSize) {
    		t.Fatalf("data length mismatch for io.Copy, got %d, want %d", n, dataSize)
    	}
    	if m != dataSize {
    		t.Fatalf("data length mismatch for net.Conn.Read, got %d, want %d", m, dataSize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 18:12:56 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

      private void testThreshold(
          int fileThreshold, int dataSize, boolean singleByte, boolean resetOnFinalize)
          throws IOException {
        byte[] data = newPreFilledByteArray(dataSize);
        FileBackedOutputStream out = new FileBackedOutputStream(fileThreshold, resetOnFinalize);
        ByteSource source = out.asByteSource();
        int chunk1 = Math.min(dataSize, fileThreshold);
        int chunk2 = dataSize - chunk1;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

      private void testThreshold(
          int fileThreshold, int dataSize, boolean singleByte, boolean resetOnFinalize)
          throws IOException {
        byte[] data = newPreFilledByteArray(dataSize);
        FileBackedOutputStream out = new FileBackedOutputStream(fileThreshold, resetOnFinalize);
        ByteSource source = out.asByteSource();
        int chunk1 = Math.min(dataSize, fileThreshold);
        int chunk2 = dataSize - chunk1;
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  6. src/runtime/mbitmap.go

    // stored as a bitmap at the end of the span.
    //
    // Assumes dataSize is <= ptrBits*goarch.PtrSize. x must be a pointer into the span.
    // heapBitsInSpan(dataSize) must be true. dataSize must be >= typ.Size_.
    //
    //go:nosplit
    func (span *mspan) writeHeapBitsSmall(x, dataSize uintptr, typ *_type) (scanSize uintptr) {
    	// The objects here are always really small, so a single load is sufficient.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  7. src/encoding/binary/binary.go

    			return nil
    		}
    	}
    
    	// Fallback to reflect-based decoding.
    	v := reflect.ValueOf(data)
    	size := -1
    	switch v.Kind() {
    	case reflect.Pointer:
    		v = v.Elem()
    		size = dataSize(v)
    	case reflect.Slice:
    		size = dataSize(v)
    	}
    	if size < 0 {
    		return errors.New("binary.Read: invalid type " + reflect.TypeOf(data).String())
    	}
    
    	d := &decoder{order: order, buf: make([]byte, size)}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:29:31 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

    /**
     * Some microbenchmarks for the {@link MoreObjects.ToStringHelper} class.
     *
     * @author Osvaldo Doederlein
     */
    public class ToStringHelperBenchmark {
    
      @Param({"0", "1", "5"})
      int dataSize;
    
      @Param({"false", "true"})
      boolean omitNulls;
    
      enum Dataset {
        SMALL {
          @Override
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  9. src/cmd/internal/buildid/rewrite.go

    		if codesign.Size(int64(cmd.Dataoff), "a.out") == int64(cmd.Datasize) {
    			// Update the signature if the size matches, so we don't need to
    			// fix up headers. Binaries generated by the Go linker should have
    			// the expected size. Otherwise skip.
    			text := f.Segment("__TEXT")
    			cs := make([]byte, cmd.Datasize)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 5.1K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

    /**
     * Some microbenchmarks for the {@link MoreObjects.ToStringHelper} class.
     *
     * @author Osvaldo Doederlein
     */
    public class ToStringHelperBenchmark {
    
      @Param({"0", "1", "5"})
      int dataSize;
    
      @Param({"false", "true"})
      boolean omitNulls;
    
      enum Dataset {
        SMALL {
          @Override
          void addEntries(MoreObjects.ToStringHelper helper) {
            helper
                .add(SHORT_NAME, 10)
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top