Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 99 for 8192 (0.01 sec)

  1. src/test/java/jcifs/smb/compression/DefaultCompressionServiceTest.java

            compressionService = new DefaultCompressionService();
    
            // Create test data with patterns that should compress well
            testData = generateTestData(1024);
            largeTestData = generateTestData(8192);
        }
    
        @Test
        @DisplayName("Test supported algorithms")
        public void testSupportedAlgorithms() {
            int[] supported = compressionService.getSupportedAlgorithms();
            assertNotNull(supported);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

          'o'.code,
          'o'.code,
          3,
          'b'.code,
          'a'.code,
          'r'.code,
        )
        hpackWriter!!.resizeHeaderTable(8192)
        hpackWriter!!.writeHeaders(listOf(Header("bar", "foo")))
        assertBytes(
          // Dynamic table size update (size = 8192).
          0x3F,
          0xE1,
          0x3F,
          0x40,
          3,
          'b'.code,
          'a'.code,
          'r'.code,
          3,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

          } else {
            // This is a subsequent part or a preamble. Skip until "\r\n--" followed by the boundary.
            while (true) {
              val toSkip = currentPartBytesRemaining(maxByteCount = 8192)
              if (toSkip == 0L) break
              source.skip(toSkip)
            }
            source.skip(crlfDashDashBoundary.size.toLong())
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 7.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

        void testMaxOutputResponseCalculation() {
            // Test that maxOutputResponse is properly calculated from transaction buffer size
            when(mockConfig.getTransactionBufferSize()).thenReturn(8192);
    
            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE);
    
            assertNotNull(request);
            // maxOutputResponse should be transactionBufferSize & ~0x7 (aligned to 8)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/io/Smb2WriteResponseTest.java

                assertEquals(16, bytesRead);
                assertEquals(100, response.getCount());
                assertEquals(50, response.getRemaining());
    
                // Large buffer
                byte[] largeBuffer = new byte[8192];
                System.arraycopy(createValidWriteResponse(5000, 2500), 0, largeBuffer, 1000, 20);
    
                Smb2WriteResponse response2 = new Smb2WriteResponse(mockConfig);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb2/create/Smb2CloseResponseTest.java

                SMBUtil.writeInt8(8192, buffer, offset + 40);
                SMBUtil.writeInt8(2048, buffer, offset + 48);
                SMBUtil.writeInt4(0x10, buffer, offset + 56);
    
                // When
                int bytesRead = response.readBytesWireFormat(buffer, offset);
    
                // Then
                assertEquals(60, bytesRead);
                assertEquals(8192, response.getAllocationSize());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java

                longFilename.append("\\verylongdirectoryname");
            }
    
            trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, longFilename.toString());
            byte[] dst = new byte[8192]; // Large buffer for long filename
    
            // When
            int bytesWritten = trans2GetDfsReferral.writeParametersWireFormat(dst, 0);
    
            // Then
            assertTrue(bytesWritten > 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/testdata/amd64enc_extra.s

    	VADDPD 4096(DX)(AX*2), Y29, Y1  // 62f19520588c4200100000
    	VADDPD 8192(DX), Z0, Z29        // 6261fd4858aa00200000
    	VADDPD 8192(DX), Z29, Z1        // 62f19540588a00200000
    	VADDPD 8192(DX), Z28, Z29       // 62619d4058aa00200000
    	VADDPD 8192(DX)(AX*2), Z0, Z29  // 6261fd4858ac4200200000
    	VADDPD 8192(DX)(AX*2), Z29, Z1  // 62f19540588c4200200000
    	// EVEX: Y registers; VL=256.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Feb 20 11:20:03 UTC 2025
    - 57.7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

            }
            longPath.append("file.txt");
    
            trans2QueryPathInfo = new Trans2QueryPathInformation(config, longPath.toString(), TEST_INFO_LEVEL);
    
            byte[] buffer = new byte[8192]; // Large buffer for long path
            int written = trans2QueryPathInfo.writeParametersWireFormat(buffer, 0);
    
            // Should write the entire path
            assertTrue(written > longPath.length());
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt

        } else {
          Long.MAX_VALUE
        }
      timeout().deadlineNanoTime(nowNs + minOf(originalDurationNs, timeUnit.toNanos(duration.toLong())))
      return try {
        val skipBuffer = Buffer()
        while (read(skipBuffer, 8192) != -1L) {
          skipBuffer.clear()
        }
        true // Success! The source has been exhausted.
      } catch (_: InterruptedIOException) {
        false // We ran out of time before exhausting the source.
      } finally {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 10.2K bytes
    - Viewed (1)
Back to top