- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 2,917 for fill (0.03 sec)
-
.github/ISSUE_TEMPLATE/FEATURE.yml
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:30:05 UTC 2025 - 1.3K bytes - Viewed (0) -
src/test/java/jcifs/EncodableTest.java
Encodable enc = new ByteEncodable(src, off, len); // Destination has guard space to verify non-overwritten regions. byte[] dst = new byte[dstIndex + len + 5]; Arrays.fill(dst, (byte) 0x55); // Act int written = enc.encode(dst, dstIndex); // Assert: reported written bytes matches size() and requested len.
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
void testDataOffsetCalculation() { byte[] data = new byte[50]; Arrays.fill(data, (byte) 0xAB); request.setData(data, 0, data.length); byte[] buffer = new byte[512]; Arrays.fill(buffer, (byte) 0); int startIndex = 100; request.writeBytesWireFormat(buffer, startIndex);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationTest.java
*/ private static byte[] newBuffer(int length) { // initialise with distinct pattern to detect unused trailing bytes byte[] buf = new byte[length]; Arrays.fill(buf, (byte) 0xFF); return buf; } @Test @DisplayName("constructor initialises command and parameters correctly") void testConstructorInitialisesFields() throws Exception { int level = 42;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransTransactNamedPipeResponseTest.java
void testReadDataWireFormatVariousSizes(int dataSize) throws SMBProtocolDecodingException { // Test with various data sizes within buffer limit byte[] testData = new byte[dataSize]; Arrays.fill(testData, (byte) 0xAB); byte[] buffer = new byte[dataSize + 100]; System.arraycopy(testData, 0, buffer, 20, dataSize); int result = response.readDataWireFormat(buffer, 20, dataSize);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HexdumpTest.java
Hexdump.toHexChars(0xABCD, dst2, 0, 4); assertEquals("ABCD", new String(dst2)); // Test with offset char[] dst3 = new char[10]; java.util.Arrays.fill(dst3, 'X'); Hexdump.toHexChars(0xFF, dst3, 2, 2); assertEquals("XXFFXXXXXX", new String(dst3)); // Test long conversion char[] dst4 = new char[16];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.4K bytes - Viewed (0) -
.github/ISSUE_TEMPLATE/BUG.yml
# # Licensed to the Apache Software Foundation (ASF) under one or more # contributor license agreements. See the NOTICE file distributed with # this work for additional information regarding copyright ownership. # The ASF licenses this file to You under the Apache License, Version 2.0 # (the "License"); you may not use this file except in compliance with # the License. You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Jun 06 14:30:05 UTC 2025 - 1.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java
} @Test @DisplayName("Test with large data") void testWithLargeData() { // Given byte[] largeData = new byte[1000]; Arrays.fill(largeData, (byte) 0x42); transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, largeData, 0, largeData.length); byte[] dst = new byte[2000]; // WhenRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacMac.java
byte[] dgst = md.digest(data); mac.reset(); mac.init(new SecretKeySpec(dk, HMAC_KEY)); return mac.doFinal(dgst); } finally { Arrays.fill(dk, 0, dk.length, (byte) 0); } } private static int mapArcfourMD5KeyUsage(int keyusage) { int ms_usage = keyusage; switch (ms_usage) { case 3: ms_usage = 8;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java
private static final byte[] TEST_FILE_ID = new byte[16]; private static final byte[] TEST_OUTPUT_BUFFER = new byte[1024]; @BeforeEach void setUp() { Arrays.fill(TEST_FILE_ID, (byte) 0x42); } private void setupMockConfig() { when(mockConfig.getTransactionBufferSize()).thenReturn(65536); } private void setupMockContext() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.3K bytes - Viewed (0)