- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 3,402 for Fill (0.03 seconds)
-
src/test/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponseTest.java
SMBUtil.writeInt4(432, buffer, bufferIndex + 4); // 512 - 80 response = spy(response); when(response.getHeaderStart()).thenReturn(0); // Fill the entire data area with zero (no valid entries) for (int i = dataOffset; i < 512; i++) { buffer[i] = 0; } int result = response.readBytesWireFormat(buffer, bufferIndex);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.5K bytes - Click Count (0) -
.github/DISCUSSION_TEMPLATE/questions.yml
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Aug 03 15:59:41 GMT 2023 - 5.8K bytes - Click Count (0) -
src/test/java/jcifs/internal/SmbNegotiationTest.java
void testWithLargeBuffers() { // Test with large byte arrays byte[] largeRequestBuffer = new byte[1024]; byte[] largeResponseBuffer = new byte[2048]; // Fill with some test data for (int i = 0; i < largeRequestBuffer.length; i++) { largeRequestBuffer[i] = (byte) (i % 256); } for (int i = 0; i < largeResponseBuffer.length; i++) {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.9K bytes - Click Count (0) -
src/test/java/jcifs/smb/BufferCacheImplTest.java
@DisplayName("Release stores buffer for reuse and zeroes its contents") void releaseStoresAndZeroesBuffer() { BufferCacheImpl impl = new BufferCacheImpl(2, 10); byte[] b = new byte[10]; // Fill with non-zero to verify zeroing on release for (int i = 0; i < b.length; i++) { b[i] = (byte) (i + 1); } // Act: release should zero immediately to avoid leaksCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.5K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/info/Smb2SetInfoResponseTest.java
void testReadBytesWireFormatPreservesBuffer() throws SMBProtocolDecodingException { byte[] buffer = new byte[1024]; int bufferIndex = 0; // Fill buffer with test data for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i % 256); } // Set structure size to 2 SMBUtil.writeInt2(2, buffer, bufferIndex);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 10.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/Smb2EchoRequestTest.java
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.3K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Ascii.java
* Truncates the given character sequence to the given maximum length. If the length of the * sequence is greater than {@code maxLength}, the returned string will be exactly {@code * maxLength} chars in length and will end with the given {@code truncationIndicator}. Otherwise, * the sequence will be returned as a string with no changes to the content. * * <p>Examples: * * {@snippet :Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 21.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java
FakeTicker ticker, String keyPrefix, long ttl) { loader.setKeyPrefix(keyPrefix); int shift1 = 10 + VALUE_PREFIX; loader.setValuePrefix(shift1); // fill with initial data for (int i = 0; i < 10; i++) { assertThat(cache.getUnchecked(keyPrefix + i)).isEqualTo(i + shift1); } assertThat(CacheTesting.expirationQueueSize(cache)).isEqualTo(10);Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 19.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java
} @Test @DisplayName("Should skip reserved bytes without modification") void testEncodeReservedBytes() { // Given Arrays.fill(buffer, (byte) 0xFF); // Fill with non-zero SrvCopychunkCopy copy = new SrvCopychunkCopy(sourceKey); // When copy.encode(buffer, startIndex); // ThenCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 23.1K bytes - Click Count (0) -
internal/grid/muxserver.go
go func(inbound chan []byte) { wg.Wait() defer xioutil.SafeClose(handlerIn) m.handleInbound(c, inbound, handlerIn) }(m.inbound) } // Fill outbound block. // Each token represents a message that can be sent to the client without blocking. // The client will refill the tokens as they confirm delivery of the messages. for range outboundCap { m.outBlock <- struct{}{} } // Handler goroutine.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 9.7K bytes - Click Count (0)