- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 229 for k1024 (0.17 sec)
-
android/guava-tests/benchmark/com/google/common/primitives/UnsignedBytesBenchmark.java
if (unsafeImpl.compare(ba3, ba4) == 0) { throw new Error(); // deoptimization } } } /* try { UnsignedBytesBenchmark bench = new UnsignedBytesBenchmark(); bench.length = 1024; bench.setUp(); bench.timeUnsafe(100000); } catch (Exception e) { }*/
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
response.decode(buffer1, 0, buffer1.length); assertEquals(1, response.getChunksWritten()); assertEquals(1024, response.getChunkBytesWritten()); assertEquals(1024, response.getTotalBytesWritten()); // Second decode - should update values byte[] buffer2 = createValidCopyChunkResponse(5, 8192, 40960);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt
.url(server.url("/")) .build(), ) val response = call.execute() interruptLater(500) val responseBody = response.body.byteStream() val buffer = ByteArray(1024) assertFailsWith<IOException> { while (responseBody.read(buffer) != -1) { } } responseBody.close() } @Test fun forciblyStopDispatcher() { client =
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Tue Nov 04 18:33:48 UTC 2025 - 6.4K bytes - Viewed (0) -
src/cmd/asm/internal/arch/ppc64.go
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Thu Nov 21 18:27:17 UTC 2024 - 2.3K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
private TransTransactNamedPipeResponse response; private byte[] outputBuffer; @BeforeEach void setUp() { MockitoAnnotations.openMocks(this); outputBuffer = new byte[1024]; response = new TransTransactNamedPipeResponse(mockConfig, outputBuffer); } @Test void testConstructor() { // Verify that the response is created with correct configuration and bufferRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/BufferCacheSecurityTest.java
*/ @Test public void testInvalidBufferSizeRejection() { // Given - Buffers with various invalid sizes byte[] tooSmall = new byte[1024]; byte[] tooLarge = new byte[SmbComTransaction.TRANSACTION_BUF_SIZE + 1]; byte[] empty = new byte[0]; // When - Try to release invalid buffers assertDoesNotThrow(() -> {Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 9.6K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
} } @Test public void testRequestProcessorConstructor() { // Test RequestProcessor constructor CurlRequest.RequestProcessor processor = new CurlRequest.RequestProcessor("UTF-8", 1024); assertNotNull(processor); assertNotNull(processor.getResponse()); } @Test public void testRequestProcessorGetResponse() { // Test RequestProcessor getResponse methodRegistered: Sat Dec 20 09:13:53 UTC 2025 - Last Modified: Mon Nov 24 03:10:07 UTC 2025 - 20.5K bytes - Viewed (0) -
src/bytes/buffer_test.go
func BenchmarkBufferNotEmptyWriteRead(b *testing.B) { buf := make([]byte, 1024) for i := 0; i < b.N; i++ { var b Buffer b.Write(buf[0:1]) for i := 0; i < 5<<10; i++ { b.Write(buf) b.Read(buf) } } } // Check that we don't compact too often. From Issue 5154. func BenchmarkBufferFullSmallReads(b *testing.B) { buf := make([]byte, 1024) for i := 0; i < b.N; i++ { var b Buffer b.Write(buf)
Registered: Tue Dec 30 11:13:12 UTC 2025 - Last Modified: Fri Nov 14 19:01:17 UTC 2025 - 19.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeResponseTest.java
* Helper method to create a buffer with a single notification */ private byte[] createSingleNotificationBuffer(String fileName, int action) throws Exception { ByteBuffer buffer = ByteBuffer.allocate(1024); buffer.order(ByteOrder.LITTLE_ENDIAN); byte[] fileNameBytes = fileName.getBytes("UTF-16LE"); buffer.putInt(0); // nextEntryOffset (0 = last entry) buffer.putInt(action);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.7K bytes - Viewed (0) -
internal/s3select/csv/reader.go
// return the buffer until the next newline occurs. // The last block will be sent along with an io.EOF. func (r *Reader) nextSplit(skip int, dst []byte) ([]byte, error) { if cap(dst) < skip { dst = make([]byte, 0, skip+1024) } dst = dst[:skip] if skip > 0 { n, err := io.ReadFull(r.buf, dst) if err != nil && err != io.ErrUnexpectedEOF { // If an EOF happens after reading some but not all the bytes,
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue May 27 15:19:03 UTC 2025 - 8.8K bytes - Viewed (0)