- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for 0x7FFFFFFF (0.04 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2Test.kt
frame.writeInt(expectedStreamId and 0x7fffffff) frame.write(headerBlock, Http2.INITIAL_MAX_FRAME_SIZE.toLong()) // Write the continuation frame, specifying no more frames are expected. writeMedium(frame, headerBlock.size.toInt()) frame.writeByte(Http2.TYPE_CONTINUATION) frame.writeByte(FLAG_END_HEADERS) frame.writeInt(expectedStreamId and 0x7fffffff) frame.writeAll(headerBlock)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 28.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
throw IOException("FRAME_SIZE_ERROR: $length") } val type = source.readByte() and 0xff val flags = source.readByte() and 0xff val streamId = source.readInt() and 0x7fffffff // Ignore reserved bit. if (type != TYPE_WINDOW_UPDATE && logger.isLoggable(FINE)) { logger.fine(frameLog(true, streamId, length, type, flags)) } if (requireSettings && type != TYPE_SETTINGS) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Writer.kt
streamId = streamId, length = length + 4, type = TYPE_PUSH_PROMISE, flags = if (byteCount == length.toLong()) FLAG_END_HEADERS else 0, ) sink.writeInt(promisedStreamId and 0x7fffffff) sink.write(hpackBuffer, length.toLong()) if (byteCount > length) writeContinuationFrames(streamId, byteCount - length) } } @Throws(IOException::class) fun flush() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2LockTest.java
} @ParameterizedTest @DisplayName("Should encode consistently with various flag values") @ValueSource(ints = { 0, 1, 2, 4, 16, 0xFF, 0xFFFF, 0xFFFFFF, 0x7FFFFFFF, -1 }) void testEncodingWithVariousFlags(int flags) { lock = new Smb2Lock(1024L, 2048L, flags); int encoded = lock.encode(buffer, 0); assertEquals(24, encoded);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
DataOutputStream dos = new DataOutputStream(baos); // Write the special "never" FILETIME value writeLittleEndianInt(dos, 0xffffffff); writeLittleEndianInt(dos, 0x7fffffff); ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); PacDataInputStream pacStream = new PacDataInputStream(bais); Date date = pacStream.readFiletime();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
} } @Test void testLargeBatchParameters() { // Test with maximum allowed values int maxSid = 0xFFFF; int maxResumeKey = 0x7FFFFFFF; int maxBatchCount = 65535; int maxBatchSize = 65535; trans2FindNext2 = new Trans2FindNext2(config, maxSid, maxResumeKey, TEST_FILENAME, maxBatchCount, maxBatchSize);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
src/test/java/jcifs/netbios/SessionServicePacketTest.java
private static Stream<Arguments> provideInt4TestValues() { return Stream.of(Arguments.of(0), Arguments.of(1), Arguments.of(255), Arguments.of(256), Arguments.of(65535), Arguments.of(65536), Arguments.of(0x7FFFFFFF), Arguments.of(0xFFFFFFFF)); } @Test @DisplayName("readInt2 should correctly read 16-bit integer") void testReadInt2() { byte[] src = { (byte) 0x12, (byte) 0x34, (byte) 0x56 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java
assertArrayEquals(token, actualToken); } } @ParameterizedTest @CsvSource({ "0x00, 0x00000000", "0x01, 0x00000001", "0x03, 0x0000000F", "0xFF, 0x7FFFFFFF" }) @DisplayName("Should handle various security modes and capabilities") void testVariousSecurityModesAndCapabilities(String securityModeHex, String capabilitiesHex) throws Exception { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt
assertBytes(0xe0 or 31, 154, 10) } @Test fun max31BitValue() { hpackWriter!!.writeInt(0x7fffffff, 31, 0) assertBytes(31, 224, 255, 255, 255, 7) assertThat(newReader(byteStream(224, 255, 255, 255, 7)).readInt(31, 31)) .isEqualTo(0x7fffffff) } @Test fun prefixMask() { hpackWriter!!.writeInt(31, 31, 0) assertBytes(31, 0)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 38.6K bytes - Viewed (0)