- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 2,917 for fill (0.02 sec)
-
src/main/java/jcifs/util/SecureKeyManager.java
if (array != null) { Arrays.fill(array, (byte) 0); // Additional passes with different patterns for enhanced security Arrays.fill(array, (byte) 0xFF); Arrays.fill(array, (byte) 0xAA); Arrays.fill(array, (byte) 0x55); Arrays.fill(array, (byte) 0); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 21.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java
// Arrange int[] largeHashAlgos = new int[100]; Arrays.fill(largeHashAlgos, PreauthIntegrityNegotiateContext.HASH_ALGO_SHA512); byte[] largeSalt = new byte[1024]; Arrays.fill(largeSalt, (byte) 0xAB); PreauthIntegrityNegotiateContext context = new PreauthIntegrityNegotiateContext(mockConfig, largeHashAlgos, largeSalt);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 19.4K bytes - Viewed (0) -
src/bufio/bufio.go
} var errNegativeRead = errors.New("bufio: reader returned negative count from Read") // fill reads a new chunk into the buffer. func (b *Reader) fill() { // Slide existing data to beginning. if b.r > 0 { copy(b.buf, b.buf[b.r:b.w]) b.w -= b.r b.r = 0 } if b.w >= len(b.buf) { panic("bufio: tried to fill full buffer") } // Read new data: try a limited number of times.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Wed Sep 03 14:04:47 UTC 2025 - 22K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
// Reserved/Async ID SMBUtil.writeInt8(0, buffer, headerStart + 32); // Session ID SMBUtil.writeInt8(0, buffer, headerStart + 40); // Signature Arrays.fill(buffer, headerStart + 48, headerStart + 64, (byte) 0); // Write READ response body int dataLength = 20; int dataRemaining = 0; int dataOffsetFromHeader = 80;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/bytes/buffer_test.go
t.Errorf(testname+" (fill 2): m == %d, expected %d", m, len(fus)) } if err != nil { t.Errorf(testname+" (fill 3): err should always be nil, found err == %s", err) } s += fus check(t, testname+" (fill 4)", buf, s) } return s } // Fill buf through n writes of byte slice fub. // The initial contents of buf corresponds to the string s; // the result is the final contents of buf returned as a string.
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon May 19 16:13:04 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextResponseTest.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 16.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.java
@DisplayName("Should handle large buffer encoding") void testLargeBufferEncode() { byte[] largeName = new byte[1024]; Arrays.fill(largeName, (byte) 'X'); byte[] largeData = new byte[2048]; Arrays.fill(largeData, (byte) 'Y'); TestCreateContextRequest request = new TestCreateContextRequest(largeName, largeData); byte[] buffer = new byte[8192];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0) -
src/main/java/jcifs/util/SecureCredentialStorage.java
secureRandom.nextBytes(this.salt); // Derive master key from password this.masterKey = deriveKey(masterPassword, salt); // Clear the master password after use Arrays.fill(masterPassword, '\0'); } /** * Initialize secure credential storage with existing salt and password * * @param masterPassword the master password * @param salt the salt for key derivation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
assertArrayEquals(standardFileId, Arrays.copyOfRange(buffer, 16, 32)); // Test with longer file ID (should copy only first 16 bytes) byte[] longFileId = new byte[32]; Arrays.fill(longFileId, (byte) 0xCD); request.setFileId(longFileId); Arrays.fill(buffer, (byte) 0); bytesWritten = request.writeBytesWireFormat(buffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequestTest.java
assertEquals(0, readFilter); } @Test @DisplayName("Should handle different file IDs") void testDifferentFileIds() { // Given byte[] fileId1 = new byte[16]; Arrays.fill(fileId1, (byte) 0x11); byte[] fileId2 = new byte[16]; Arrays.fill(fileId2, (byte) 0xFF); byte[] fileId3 = new byte[16]; for (int i = 0; i < 16; i++) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.1K bytes - Viewed (0)