- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 512 for _arrays (2.63 sec)
-
src/test/java/jcifs/util/SecureKeyManagerTest.java
assertEquals(32, derived3.length, "Derived key should have correct length"); assertFalse(Arrays.equals(derived1, derived2), "Different labels should produce different keys"); assertFalse(Arrays.equals(derived1, derived3), "Different contexts should produce different keys"); } @Test public void testStoreNullKey() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadRequestTest.java
byte[] longFileId = new byte[32]; Arrays.fill(longFileId, (byte) 0xCD); request.setFileId(longFileId); Arrays.fill(buffer, (byte) 0); bytesWritten = request.writeBytesWireFormat(buffer, 0); assertEquals(49, bytesWritten); assertArrayEquals(Arrays.copyOfRange(longFileId, 0, 16), Arrays.copyOfRange(buffer, 16, 32)); } }
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.8K bytes - Viewed (0) -
src/main/java/jcifs/smb/NtlmPasswordAuthentication.java
to.context = from.context; if (from.hashesExternal) { to.hashesExternal = true; to.ansiHash = from.ansiHash != null ? Arrays.copyOf(from.ansiHash, from.ansiHash.length) : null; to.unicodeHash = from.unicodeHash != null ? Arrays.copyOf(from.unicodeHash, from.unicodeHash.length) : null; } else { NtlmPasswordAuthenticator.cloneInternal(to, from); } }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaProviderFactory.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.internal.smb2.rdma; import java.util.Arrays; import java.util.List; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import jcifs.Configuration; import jcifs.internal.smb2.rdma.disni.DisniRdmaProvider;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 4.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/NotifyResponseTest.java
import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.when; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.mockito.Mock;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/HandleInfo.java
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. */ package jcifs.internal.smb2.persistent; import java.io.Serializable; import java.util.Arrays; import jcifs.internal.smb2.lease.Smb2LeaseKey; /** * Information about a durable or persistent SMB handle. * This class holds all the necessary information to reconnect
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 02:21:31 UTC 2025 - 5.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/ShareEnumIteratorTest.java
import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; import static org.mockito.Mockito.verify; import static org.mockito.Mockito.when; import java.net.MalformedURLException; import java.util.Arrays; import java.util.Collections; import java.util.Iterator; import java.util.List; import java.util.stream.Stream; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Nested;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
void testToString() throws Exception { // Set up notification with known values byte oplockLevel = 0x02; byte[] fileId = new byte[16]; Arrays.fill(fileId, 0, 8, (byte) 0xAB); Arrays.fill(fileId, 8, 16, (byte) 0xCD); // Use reflection to set private fields Field oplockLevelField = Smb2OplockBreakNotification.class.getDeclaredField("oplockLevel");
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
import static org.junit.jupiter.api.Assertions.assertThrows; import static org.junit.jupiter.api.Assertions.assertTrue; import static org.mockito.Mockito.mock; import java.lang.reflect.Field; import java.util.Arrays; import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; import org.junit.jupiter.params.ParameterizedTest;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
src/test/java/jcifs/ntlmssp/av/AvPairsTest.java
*/ @Test @DisplayName("Handle large data size") void testLargeDataSize() throws CIFSException { // Create a large data array byte[] largeData = new byte[1024]; Arrays.fill(largeData, (byte) 0xFF); byte[] avPairData = createAvPairData(0x99, largeData); byte[] eolData = createEolData();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0)