Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 81 for ByteCount (0.08 sec)

  1. src/main/java/jcifs/internal/smb1/trans/SmbComTransaction.java

                this.parameterOffset = this.primarySetupOffset;
    
                // 2* setupCount
                this.parameterOffset += this.setupCount * 2;
                this.parameterOffset += 2; // ByteCount
    
                if (this.getCommand() == SMB_COM_TRANSACTION && !isResponse()) {
                    this.parameterOffset += stringWireLength(this.name, this.parameterOffset);
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            SMBUtil.writeInt2(9, buf, 0); // structureSize
            buf[2] = (byte) errorContextCount; // ErrorContextCount
            // one reserved byte at position 3
            SMBUtil.writeInt4(bc, buf, 4); // ByteCount
            if (bc > 0 && errorData != null) {
                System.arraycopy(errorData, 0, buf, 8, bc);
            }
            return buf;
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

            .build()
        connection.start(sendConnectionPreface = false)
        val queues = taskRunner.activeQueues()
        assertThat(queues).hasSize(1)
      }
    
      private fun data(byteCount: Int): Buffer = Buffer().write(ByteArray(byteCount))
    
      private fun assertStreamData(
        expected: String?,
        source: Source?,
      ) {
        val actual = source!!.buffer().readUtf8()
        assertThat(actual).isEqualTo(expected)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

                headerCount,
              )
              nextHeaderIndex += entriesToEvict
            }
            return entriesToEvict
          }
    
          /**
           * Read `byteCount` bytes of headers from the source stream. This implementation does not
           * propagate the never indexed flag of a header.
           */
          @Throws(IOException::class)
          fun readHeaders() {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java

            // Write error context and error data
            buffer[bufferIndex + 2] = 1; // Error context count
            buffer[bufferIndex + 3] = 0; // Reserved
            SMBUtil.writeInt4(0, buffer, bufferIndex + 4); // ByteCount (0 for error)
    
            // Create a custom test response that tracks if readErrorResponse was called
            class TestSmb2ReadResponse extends Smb2ReadResponse {
                boolean errorResponseCalled = false;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/ServerMessageBlock2Test.java

                assertTrue(result.contains("flags=0x1234"));
                assertTrue(result.contains("mid=12345"));
                assertTrue(result.contains("wordCount=0"));
                assertTrue(result.contains("byteCount=0"));
            }
        }
    
        @Nested
        @DisplayName("Property Access Tests")
        class PropertyAccessTests {
    
            @Test
            @DisplayName("Should get header start")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 39.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                    off += 27;
                    resp.decode(BUF, 4);
                    /* EMC can send pad w/o data */
                    final int pad = r.dataOffset - off;
                    if (r.byteCount > 0 && pad > 0 && pad < 4) {
                        readn(in, BUF, 4 + off, pad);
                    }
    
                    if (r.dataLength > 0) {
                        readn(in, r.b, r.off, r.dataLength); /* read direct */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/URLConnectionTest.kt

                    var bytesWritten: Long = 0
                    while (bytesWritten < contentLength) {
                      val byteCount = Math.min(buffer.size.toLong(), contentLength - bytesWritten).toInt()
                      bytesWritten += byteCount.toLong()
                      sink.write(buffer, 0, byteCount)
                    }
                  }
                },
            ),
          )
        assertContent("", response)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 21 20:36:35 UTC 2025
    - 133.2K bytes
    - Viewed (0)
  9. okhttp/api/jvm/okhttp.api

    	public static final field Companion Lokhttp3/Headers$Companion;
    	public static final field EMPTY Lokhttp3/Headers;
    	public final fun -deprecated_size ()I
    	public final fun byteCount ()J
    	public fun equals (Ljava/lang/Object;)Z
    	public final fun get (Ljava/lang/String;)Ljava/lang/String;
    	public final fun getDate (Ljava/lang/String;)Ljava/util/Date;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
  10. okhttp/api/android/okhttp.api

    	public static final field Companion Lokhttp3/Headers$Companion;
    	public static final field EMPTY Lokhttp3/Headers;
    	public final fun -deprecated_size ()I
    	public final fun byteCount ()J
    	public fun equals (Ljava/lang/Object;)Z
    	public final fun get (Ljava/lang/String;)Ljava/lang/String;
    	public final fun getDate (Ljava/lang/String;)Ljava/util/Date;
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 69.4K bytes
    - Viewed (0)
Back to top