- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 36 for Vector (0.05 sec)
-
src/test/java/jcifs/pac/ASN1UtilTest.java
void testAs_Enumeration_Success() throws PACDecodingException { // Test successful casting from enumeration Vector<ASN1Integer> vector = new Vector<>(); ASN1Integer expected = new ASN1Integer(123); vector.add(expected); ASN1Integer result = ASN1Util.as(ASN1Integer.class, vector.elements()); assertSame(expected, result); } @Test void testAs_Enumeration_Failure() {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/main/java/jcifs/spnego/NegTokenInit.java
if (mechs != null) { final ASN1EncodableVector vector = new ASN1EncodableVector(); for (final ASN1ObjectIdentifier mech : mechs) { vector.add(mech); } fields.add(new DERTaggedObject(true, 0, new DERSequence(vector))); } final int ctxFlags = getContextFlags(); if (ctxFlags != 0) {
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
* @param c the collection of elements to be placed in the vector * @return a new instance of {@link Vector} * @see Vector#Vector(Collection) */ public static <E> Vector<E> newVector(final Collection<? extends E> c) { return new Vector<>(c); } /** * Creates and returns a new instance of {@link Vector}. * * @param <E> the element type of {@link Vector}Registered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 49.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
*/ @Test void testConstructorUnknownField() throws IOException { ASN1EncodableVector vector = new ASN1EncodableVector(); vector.add(new DERTaggedObject(99, new DERGeneralString("unknown"))); DERSequence sequence = new DERSequence(vector); byte[] encoded = new DERTaggedObject(false, BERTags.APPLICATION, 1, sequence).getEncoded();Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmUtilTest.java
} return out; } @Test @DisplayName("getNTHash: known vector for 'password'") void testGetNTHash_knownVector() { // Arrange String password = "password"; // Known NT hash for "password" (UTF-16LE MD4) // This is a well-known test vector: password -> 8846F7EAEE8FB117AD06BDD830B7586C byte[] expected = hex("8846F7EAEE8FB117AD06BDD830B7586C");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 12K bytes - Viewed (1) -
src/main/java/jcifs/smb1/smb1/SmbSession.java
*/ package jcifs.smb1.smb1; import java.io.IOException; import java.net.InetAddress; import java.net.UnknownHostException; import java.util.Enumeration; import java.util.Vector; import jcifs.smb1.Config; import jcifs.smb1.UniAddress; import jcifs.smb1.netbios.NbtAddress; import jcifs.smb1.util.LogStream; /** * The SmbSession class represents an SMB session established with a server.
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 20.7K bytes - Viewed (0) -
src/test/java/jcifs/http/NetworkExplorerTest.java
@Test void testInit_WithJcifsParameters() throws ServletException { // Reset mocks for this test reset(servletConfig, servletContext); // Setup init parameters Vector<String> paramNames = new Vector<>(); paramNames.add("jcifs.smb.client.domain"); paramNames.add("jcifs.http.enableBasic"); paramNames.add("someOtherParam");Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 21.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/Smb3KeyDerivationTest.java
assertFalse(Arrays.equals(signingKey, signingKey311), "Should be different from SMB 3.1.1 key"); } @Test @DisplayName("Should derive keys with specific test vectors") void testDeriveKeys_TestVectors() { // Given - Use known test vector (simplified for demonstration) byte[] testSessionKey = new byte[16]; Arrays.fill(testSessionKey, (byte) 0xAA); byte[] testPreauth = new byte[64];
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K bytes - Viewed (0) -
src/main/java/jcifs/internal/fscc/FileFsFullSizeInformation.java
* This structure provides complete allocation details including total allocation units, caller-available free units, * actual free allocation units, sectors per allocation unit, and bytes per sector. */ public class FileFsFullSizeInformation implements AllocInfo, FileSystemInformation, Decodable { private long alloc; // Also handles SmbQueryFSSizeInfo private long free;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java
@DisplayName("Should decode various sector and allocation configurations") @CsvSource({ "1000, 500, 1, 512", // Minimal sectors per alloc "1000, 500, 8, 512", // Typical configuration "1000, 500, 64, 512", // Large allocation units "1000, 500, 8, 4096", // 4K sectors "1000, 500, 16, 4096", // Large sectors and allocationRegistered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0)