- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 52 for vectors (0.09 sec)
-
android/guava-tests/test/com/google/common/io/BaseEncodingTest.java
BaseEncoding separated = base64().withSeparator("\n", 3); assertThrows(UnsupportedOperationException.class, () -> separated.withSeparator("$", 4)); } public void testBase64() { // The following test vectors are specified in RFC 4648 itself testEncodingWithSeparators(base64(), "", ""); testEncodingWithSeparators(base64(), "f", "Zg=="); testEncodingWithSeparators(base64(), "fo", "Zm8=");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/io/BaseEncodingTest.java
BaseEncoding separated = base64().withSeparator("\n", 3); assertThrows(UnsupportedOperationException.class, () -> separated.withSeparator("$", 4)); } public void testBase64() { // The following test vectors are specified in RFC 4648 itself testEncodingWithSeparators(base64(), "", ""); testEncodingWithSeparators(base64(), "f", "Zg=="); testEncodingWithSeparators(base64(), "fo", "Zm8=");
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.7K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.5K 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 allocation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 25.9K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/FileFsFullSizeInformationTest.java
@DisplayName("Should decode various sector and allocation configurations") @CsvSource({ "1000, 500, 600, 1, 512", // Minimal sectors per alloc "1000, 500, 600, 8, 512", // Typical configuration "1000, 500, 600, 64, 512", // Large allocation units "1000, 500, 600, 8, 4096", // 4K sectors "1000, 500, 600, 16, 4096", // Large sectors and allocation
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 30.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/fscc/SmbInfoAllocationTest.java
@DisplayName("Test decode with large bytes per sector") void testDecodeWithLargeBytesPerSector() throws SMBProtocolDecodingException { // Prepare test data with large bytesPerSect byte[] buffer = new byte[22]; int idFileSystem = 0x22222222; int sectPerAlloc = 8; long alloc = 10000L; long free = 5000L; int bytesPerSect = 32768; // 32KB sectors // Encode test data
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java
SMBUtil.writeInt8(500000, buffer, 28); // Available allocation units SMBUtil.writeInt4(512, buffer, 36); // Sectors per unit SMBUtil.writeInt4(4096, buffer, 40); // Bytes per sector int result = response.readBytesWireFormat(buffer, bufferIndex); assertNotNull(response.getInfo());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java
.createTestSuite(); } // We are testing Vector / testing our tests on Vector. @SuppressWarnings("JdkObsolete") private Test testsForVector() { return ListTestSuiteBuilder.using( new TestStringListGenerator() { @Override protected List<String> create(String[] elements) { return new Vector<>(MinimalCollection.of(elements)); } })
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Sep 04 15:04:05 UTC 2025 - 12K 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: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 10.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/util/HMACT64Test.java
assertArrayEquals(result1, result2); } @Test void testHMACT64WithKnownTestVector() throws NoSuchAlgorithmException { // Test with known test vector // Using test vector from RFC 2104 adapted for HMACT64 byte[] key = new byte[16]; Arrays.fill(key, (byte) 0x0b); byte[] data = "Hi There".getBytes();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.1K bytes - Viewed (0)