- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 229 for P256 (0.03 sec)
-
src/test/java/jcifs/internal/smb2/ioctl/SrvRequestResumeKeyResponseTest.java
// Test with buffer and length larger than needed byte[] buffer = new byte[100]; // Fill test pattern for (int i = 0; i < buffer.length; i++) { buffer[i] = (byte) (i % 256); } int bytesConsumed = response.decode(buffer, 0, 50); assertEquals(28, bytesConsumed, "Should consume exactly 28 bytes regardless of extra length");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java
assertEquals(8581389452482819506L, fingerprint("test".getBytes(UTF_8))); // 32 characters long assertEquals(-4196240717365766262L, fingerprint(Strings.repeat("test", 8).getBytes(UTF_8))); // 256 characters long assertEquals(3500507768004279527L, fingerprint(Strings.repeat("test", 64).getBytes(UTF_8))); } public void testStringsConsistency() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6.3K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashTestUtils.java
int hashBytes = hashbits / 8; byte[] key = new byte[256]; byte[] hashes = new byte[hashBytes * 256]; // Hash keys of the form {}, {0}, {0,1}, {0,1,2}... up to N=255,using 256-N as the seed for (int i = 0; i < 256; i++) { key[i] = (byte) i; int seed = 256 - i; byte[] hash = hashFunction.hash(Arrays.copyOf(key, i), seed);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 25.6K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2GetDfsReferralTest.java
// Given String filename = "\\\\server\\share"; trans2GetDfsReferral = new Trans2GetDfsReferral(mockConfig, filename); byte[] dst = new byte[256]; int dstIndex = 0; // When int bytesWritten = trans2GetDfsReferral.writeParametersWireFormat(dst, dstIndex); // Then assertTrue(bytesWritten > 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/com/ServerDataTest.java
byte[] largeKey = new byte[256]; for (int i = 0; i < largeKey.length; i++) { largeKey[i] = (byte) (i % 256); } serverData.encryptionKey = largeKey; serverData.encryptionKeyLength = largeKey.length; assertEquals(256, serverData.encryptionKey.length); assertEquals(256, serverData.encryptionKeyLength);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyResponseTest.java
} @Test @DisplayName("Should write empty bytes to wire format") void testWriteBytesWireFormat() { // Given byte[] buffer = new byte[256]; int offset = 10; // When int bytesWritten = response.writeBytesWireFormat(buffer, offset); // Then assertEquals(0, bytesWritten); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeConnectRequestTest.java
} @Test @DisplayName("Should always return 0 for readBytesWireFormat") void testReadBytesWireFormat() { // Given byte[] buffer = createTestData(256); // When int bytesRead = request.readBytesWireFormat(buffer, 0); // Then assertEquals(0, bytesRead); } @ParameterizedTest
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/SQLRuntimeException.java
* * @param cause the underlying exception * @return the real message */ protected static String getRealMessage(final SQLException cause) { final StringBuilder buf = new StringBuilder(256); buf.append(cause.getMessage()).append(" : ["); SQLException next = cause.getNextException(); while (next != null) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 2.5K bytes - Viewed (0) -
src/test/java/org/codelibs/core/security/MessageDigestUtilTest.java
assertEquals("31f30ddbcb1bf8446576f0e64aa4c88a9f055e3c", MessageDigestUtil.digest("SHA-1", text)); assertEquals("ecb666d778725ec97307044d642bf4d160aabb76f56c0069c71ea25b1e926825", MessageDigestUtil.digest("SHA-256", text)); try { MessageDigestUtil.digest(null, text); assertTrue(false); } catch (final EmptyArgumentException e) { assertTrue(true); } try {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.9K bytes - Viewed (0) -
cmd/xl-storage-format-v1.go
type BitrotAlgorithm uint const ( // SHA256 represents the SHA-256 hash function SHA256 BitrotAlgorithm = 1 + iota // HighwayHash256 represents the HighwayHash-256 hash function HighwayHash256 // HighwayHash256S represents the Streaming HighwayHash-256 hash function HighwayHash256S // BLAKE2b512 represents the BLAKE2b-512 hash function BLAKE2b512 )
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 8.4K bytes - Viewed (0)