- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 8,779 for fill (0.25 sec)
-
src/test/java/jcifs/spnego/NegTokenInitTest.java
} @Test @DisplayName("Large MIC values are handled correctly") void testLargeMicValue() throws Exception { byte[] largeMic = new byte[1024]; Arrays.fill(largeMic, (byte) 0xAB); NegTokenInit init = new NegTokenInit(new ASN1ObjectIdentifier[] { OID_KRB }, 0, null, largeMic); byte[] encoded = init.toByteArray();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/Type2MessageTest.java
void testConstructor_ByteArray_InvalidSignature() { // Given byte[] invalidSignature = new byte[100]; Arrays.fill(invalidSignature, (byte) 0xFF); // Fill with non-NTLMSSP signature // When & Then IOException thrown = assertThrows(IOException.class, () -> new Type2Message(invalidSignature));
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 38.9K bytes - Viewed (0) -
internal/grid/grid_test.go
// Copyright (c) 2015-2023 MinIO, Inc. // // This file is part of MinIO Object Storage stack // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU Affero General Public License as published by // the Free Software Foundation, either version 3 of the License, or // (at your option) any later version. // // This program is distributed in the hope that it will be useful
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 36.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/CacheEvictionTest.java
assertThat(removalListener.getCount()).isEqualTo(1); // 2 will be cached assertThat(cache.getUnchecked(2)).isEqualTo(2); assertThat(cache.asMap().keySet()).containsExactly(2); CacheTesting.processPendingNotifications(cache); CacheTesting.checkValidState(cache); assertThat(removalListener.getCount()).isEqualTo(1); // 4 will be cached assertThat(cache.getUnchecked(4)).isEqualTo(4);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Oct 28 18:19:59 UTC 2025 - 15.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/BytesTest.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 17.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/NegotiateContextRequestTest.java
@DisplayName("Should encode at different buffer positions") void testEncodeAtDifferentPositions() { int[] hashAlgos = { 1, 2 }; byte[] salt = new byte[8]; Arrays.fill(salt, (byte) 0xFF); context = new PreauthIntegrityNegotiateContext(mockConfig, hashAlgos, salt); // Encode at position 100 int encoded = context.encode(buffer, 100);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
@DisplayName("Test decode reads correct number of bytes") void testDecodeReadsCorrectBytes() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[22]; // Fill with pattern to verify we read correct bytes for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i + 1); } // DecodeRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/SrvCopyChunkCopyResponseTest.java
// Write valid response data SMBUtil.writeInt4(15, buffer, 0); SMBUtil.writeInt4(16384, buffer, 4); SMBUtil.writeInt4(245760, buffer, 8); // Fill rest with random data for (int i = 12; i < buffer.length; i++) { buffer[i] = (byte) (i % 256); } int bytesDecoded = response.decode(buffer, 0, buffer.length);Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.8K bytes - Viewed (0) -
src/test/java/jcifs/config/BaseConfigurationTest.java
void testInitDefaultsWithPresetMachineId() throws Exception { BaseConfiguration testConfig = new BaseConfiguration(false); byte[] customMachineId = new byte[32]; Arrays.fill(customMachineId, (byte) 0xFF); // Use reflection to set private field java.lang.reflect.Field machineIdField = BaseConfiguration.class.getDeclaredField("machineId"); machineIdField.setAccessible(true);
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 20.6K bytes - Viewed (0) -
guava/src/com/google/common/io/ByteStreams.java
* channel have their own file descriptors. Generally this only happens when both channels * are files or sockets. This performs zero copies - the bytes never enter userspace. * <li>Use mmap(2) or equivalent. Requires that either the input channel or the output channel * have file descriptors. Bytes are copied from the file into a kernel buffer, then directly
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jul 17 15:26:41 UTC 2025 - 31.1K bytes - Viewed (0)