Home
last modified time | relevance | path

Searched refs:TEST_BYTES (Results 1 – 25 of 27) sorted by relevance

12

/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/test/micro/org/openjdk/bench/java/lang/
H A DArrayCopy.java44 private static final byte[] TEST_BYTES = "HTTP/1.0".getBytes(); field in ArrayCopy
50 public static int nonConstByteLength = TEST_BYTES.length;
55 public byte[] dummyByteArray = new byte[TEST_BYTES.length];
74 dummyByteArray[j] = TEST_BYTES[j]; in copyLoop()
84 byte[] localDummyByteArray = new byte[TEST_BYTES.length]; in copyLoopLocalArray()
86 localDummyByteArray[j] = TEST_BYTES[j]; in copyLoopLocalArray()
100 dummyByteArray[i] = TEST_BYTES[i]; in copyLoopNonConst()
111 System.arraycopy(TEST_BYTES, 0, dummyByteArray, 0, dummyByteArray.length); in arrayCopy()
120 byte[] localDummyByteArray = new byte[TEST_BYTES.length]; in arrayCopyLocalArray()
121 System.arraycopy(TEST_BYTES, 0, localDummyByteArray, 0, localDummyByteArray.length); in arrayCopyLocalArray()
[all …]
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/micro/org/openjdk/bench/java/lang/
H A DArrayCopy.java44 private static final byte[] TEST_BYTES = "HTTP/1.0".getBytes(); field in ArrayCopy
50 public static int nonConstByteLength = TEST_BYTES.length;
55 public byte[] dummyByteArray = new byte[TEST_BYTES.length];
74 dummyByteArray[j] = TEST_BYTES[j]; in copyLoop()
84 byte[] localDummyByteArray = new byte[TEST_BYTES.length]; in copyLoopLocalArray()
86 localDummyByteArray[j] = TEST_BYTES[j]; in copyLoopLocalArray()
100 dummyByteArray[i] = TEST_BYTES[i]; in copyLoopNonConst()
111 System.arraycopy(TEST_BYTES, 0, dummyByteArray, 0, dummyByteArray.length); in arrayCopy()
120 byte[] localDummyByteArray = new byte[TEST_BYTES.length]; in arrayCopyLocalArray()
121 System.arraycopy(TEST_BYTES, 0, localDummyByteArray, 0, localDummyByteArray.length); in arrayCopyLocalArray()
[all …]
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/test/micro/org/openjdk/bench/java/lang/
H A DArrayCopy.java44 private static final byte[] TEST_BYTES = "HTTP/1.0".getBytes(); field in ArrayCopy
50 public static int nonConstByteLength = TEST_BYTES.length;
55 public byte[] dummyByteArray = new byte[TEST_BYTES.length];
74 dummyByteArray[j] = TEST_BYTES[j]; in copyLoop()
84 byte[] localDummyByteArray = new byte[TEST_BYTES.length]; in copyLoopLocalArray()
86 localDummyByteArray[j] = TEST_BYTES[j]; in copyLoopLocalArray()
100 dummyByteArray[i] = TEST_BYTES[i]; in copyLoopNonConst()
111 System.arraycopy(TEST_BYTES, 0, dummyByteArray, 0, dummyByteArray.length); in arrayCopy()
120 byte[] localDummyByteArray = new byte[TEST_BYTES.length]; in arrayCopyLocalArray()
121 System.arraycopy(TEST_BYTES, 0, localDummyByteArray, 0, localDummyByteArray.length); in arrayCopyLocalArray()
[all …]
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/test/micro/org/openjdk/bench/java/lang/
H A DArrayCopy.java44 private static final byte[] TEST_BYTES = "HTTP/1.0".getBytes(); field in ArrayCopy
50 public static int nonConstByteLength = TEST_BYTES.length;
55 public byte[] dummyByteArray = new byte[TEST_BYTES.length];
74 dummyByteArray[j] = TEST_BYTES[j]; in copyLoop()
84 byte[] localDummyByteArray = new byte[TEST_BYTES.length]; in copyLoopLocalArray()
86 localDummyByteArray[j] = TEST_BYTES[j]; in copyLoopLocalArray()
100 dummyByteArray[i] = TEST_BYTES[i]; in copyLoopNonConst()
111 System.arraycopy(TEST_BYTES, 0, dummyByteArray, 0, dummyByteArray.length); in arrayCopy()
120 byte[] localDummyByteArray = new byte[TEST_BYTES.length]; in arrayCopyLocalArray()
121 System.arraycopy(TEST_BYTES, 0, localDummyByteArray, 0, localDummyByteArray.length); in arrayCopyLocalArray()
[all …]
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/micro/org/openjdk/bench/java/lang/
H A DArrayCopy.java44 private static final byte[] TEST_BYTES = "HTTP/1.0".getBytes(); field in ArrayCopy
50 public static int nonConstByteLength = TEST_BYTES.length;
55 public byte[] dummyByteArray = new byte[TEST_BYTES.length];
74 dummyByteArray[j] = TEST_BYTES[j]; in copyLoop()
84 byte[] localDummyByteArray = new byte[TEST_BYTES.length]; in copyLoopLocalArray()
86 localDummyByteArray[j] = TEST_BYTES[j]; in copyLoopLocalArray()
100 dummyByteArray[i] = TEST_BYTES[i]; in copyLoopNonConst()
111 System.arraycopy(TEST_BYTES, 0, dummyByteArray, 0, dummyByteArray.length); in arrayCopy()
120 byte[] localDummyByteArray = new byte[TEST_BYTES.length]; in arrayCopyLocalArray()
121 System.arraycopy(TEST_BYTES, 0, localDummyByteArray, 0, localDummyByteArray.length); in arrayCopyLocalArray()
[all …]
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/test/micro/org/openjdk/bench/java/lang/
H A DArrayCopy.java44 private static final byte[] TEST_BYTES = "HTTP/1.0".getBytes(); field in ArrayCopy
50 public static int nonConstByteLength = TEST_BYTES.length;
55 public byte[] dummyByteArray = new byte[TEST_BYTES.length];
74 dummyByteArray[j] = TEST_BYTES[j]; in copyLoop()
84 byte[] localDummyByteArray = new byte[TEST_BYTES.length]; in copyLoopLocalArray()
86 localDummyByteArray[j] = TEST_BYTES[j]; in copyLoopLocalArray()
100 dummyByteArray[i] = TEST_BYTES[i]; in copyLoopNonConst()
111 System.arraycopy(TEST_BYTES, 0, dummyByteArray, 0, dummyByteArray.length); in arrayCopy()
120 byte[] localDummyByteArray = new byte[TEST_BYTES.length]; in arrayCopyLocalArray()
121 System.arraycopy(TEST_BYTES, 0, localDummyByteArray, 0, localDummyByteArray.length); in arrayCopyLocalArray()
[all …]
/dports/net/norm/norm-1.5r6/protolib/examples/
H A DlfsrExample.cpp21 const int TEST_BYTES = 10; in main() local
23 UINT8 testBuffer[TEST_BYTES]; in main()
24 for (int i = 0; i< TEST_BYTES; i++) in main()
33 pn.Sync((char*)testBuffer, TEST_BYTES); in main()
37 for (int i = 0; i< TEST_BYTES; i++) in main()
46 for (int i = 0; i < TEST_BYTES; i++) in main()
70 pnx.ComputePolynomial((char*)testBuffer, 8*TEST_BYTES); in main()
75 for (int i = 0; i< TEST_BYTES; i++) in main()
86 for (int i = 0; i< TEST_BYTES; i++) in main()
/dports/java/bouncycastle15/crypto-169/prov/src/test/java/org/bouncycastle/jce/provider/test/
H A DThreefishTest.java28 private static final byte[] TEST_BYTES = new byte[1536]; field in ThreefishTest
46 byte[] ciphertext = cipher.doFinal(TEST_BYTES); in performTest()
52 if (!Arrays.areEqual(TEST_BYTES, cleartext)) in performTest()
61 ciphertext = cipher.doFinal(TEST_BYTES); in performTest()
67 if (!Arrays.areEqual(TEST_BYTES, cleartext)) in performTest()
H A DShacal2Test.java48 private static final byte[] TEST_BYTES = new byte[1536]; field in Shacal2Test
54 new SecureRandom().nextBytes(TEST_BYTES);
76 final byte[] ciphertext = cipher.doFinal(TEST_BYTES); in blockTest()
82 if (!Arrays.areEqual(TEST_BYTES, cleartext)) in blockTest()
/dports/security/vaultwarden/vaultwarden-1.23.1/cargo-crates/trust-dns-proto-0.20.3/src/tests/
H A Dtcp.rs12 const TEST_BYTES: &[u8; 8] = b"DEADBEEF"; const
69 assert_eq!(&buffer, TEST_BYTES); in tcp_server_setup()
103 .send(SerialMessage::new(TEST_BYTES.to_vec(), server_addr)) in tcp_stream_test()
111 assert_eq!(message.bytes(), TEST_BYTES); in tcp_stream_test()
138 .send(SerialMessage::new(TEST_BYTES.to_vec(), server_addr)) in tcp_client_stream_test()
145 assert_eq!(buffer.bytes(), TEST_BYTES); in tcp_client_stream_test()
/dports/security/rustscan/RustScan-2.0.1/cargo-crates/trust-dns-proto-0.19.5/src/tests/
H A Dtcp.rs13 const TEST_BYTES: &[u8; 8] = b"DEADBEEF"; const
69 assert_eq!(&buffer, TEST_BYTES); in tcp_server_setup()
108 .unbounded_send(SerialMessage::new(TEST_BYTES.to_vec(), server_addr)) in tcp_stream_test()
116 assert_eq!(message.bytes(), TEST_BYTES); in tcp_stream_test()
145 .send(SerialMessage::new(TEST_BYTES.to_vec(), server_addr)) in tcp_client_stream_test()
152 assert_eq!(buffer.bytes(), TEST_BYTES); in tcp_client_stream_test()
/dports/net/oha/oha-0.4.7/cargo-crates/trust-dns-proto-0.20.3/src/tests/
H A Dtcp.rs12 const TEST_BYTES: &[u8; 8] = b"DEADBEEF"; const
69 assert_eq!(&buffer, TEST_BYTES); in tcp_server_setup()
103 .send(SerialMessage::new(TEST_BYTES.to_vec(), server_addr)) in tcp_stream_test()
111 assert_eq!(message.bytes(), TEST_BYTES); in tcp_stream_test()
138 .send(SerialMessage::new(TEST_BYTES.to_vec(), server_addr)) in tcp_client_stream_test()
145 assert_eq!(buffer.bytes(), TEST_BYTES); in tcp_client_stream_test()
/dports/lang/python27/Python-2.7.18/Demo/md5test/
H A Dmd5driver.py29 TEST_BYTES = TEST_BLOCK_SIZE * TEST_BLOCKS
42 print 'MD5 time trial. Processing', TEST_BYTES, 'characters...'
56 print 'Characters processed per second:', TEST_BYTES / (t2 - t1)
/dports/lang/python-legacy/Python-2.7.18/Demo/md5test/
H A Dmd5driver.py29 TEST_BYTES = TEST_BLOCK_SIZE * TEST_BLOCKS
42 print 'MD5 time trial. Processing', TEST_BYTES, 'characters...'
56 print 'Characters processed per second:', TEST_BYTES / (t2 - t1)
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Demo/md5test/
H A Dmd5driver.py29 TEST_BYTES = TEST_BLOCK_SIZE * TEST_BLOCKS
42 print 'MD5 time trial. Processing', TEST_BYTES, 'characters...'
56 print 'Characters processed per second:', TEST_BYTES / (t2 - t1)
/dports/security/rustscan/RustScan-2.0.1/cargo-crates/trust-dns-rustls-0.19.5/src/
H A Dtests.rs61 const TEST_BYTES: &[u8; 8] = b"DEADBEEF"; const
180 assert_eq!(&buffer, TEST_BYTES); in tls_client_stream_test()
227 .unbounded_send(SerialMessage::new(TEST_BYTES.to_vec(), server_addr)) in tls_client_stream_test()
234 assert_eq!(message.bytes(), TEST_BYTES); in tls_client_stream_test()
/dports/devel/tcl-trf/trf2.1.4/generic/ripemd/
H A Dhashtest.c41 #define TEST_BYTES ((long)TEST_BLOCK_SIZE * (long)TEST_BLOCKS) macro
170 TEST_BYTES); in speedtest()
182 MDfinish(MDbuf, data, TEST_BYTES, 0); in speedtest()
189 (double)CLOCKS_PER_SEC*TEST_BYTES/((double)t1-t0)); in speedtest()
/dports/security/p5-Crypt-RIPEMD160/Crypt-RIPEMD160-0.08/rmd160/hash/
H A Dhashtest.c41 #define TEST_BYTES ((long)TEST_BLOCK_SIZE * (long)TEST_BLOCKS) macro
170 TEST_BYTES); in speedtest()
182 MDfinish(MDbuf, data, TEST_BYTES, 0); in speedtest()
189 (double)CLOCKS_PER_SEC*TEST_BYTES/((double)t1-t0)); in speedtest()
/dports/net/proby/proby-1.0.2/cargo-crates/trust-dns-proto-0.18.0-alpha.2/src/tcp/
H A Dtcp_client_stream.rs163 const TEST_BYTES: &[u8; 8] = b"DEADBEEF"; const
222 assert_eq!(&buffer, TEST_BYTES); in tcp_client_stream_test()
250 .send(SerialMessage::new(TEST_BYTES.to_vec(), server_addr)) in tcp_client_stream_test()
257 assert_eq!(buffer.bytes(), TEST_BYTES); in tcp_client_stream_test()
H A Dtcp_stream.rs473 const TEST_BYTES: &[u8; 8] = b"DEADBEEF"; const
532 assert_eq!(&buffer, TEST_BYTES); in tcp_client_stream_test()
560 .unbounded_send(SerialMessage::new(TEST_BYTES.to_vec(), server_addr)) in tcp_client_stream_test()
567 assert_eq!(message.bytes(), TEST_BYTES); in tcp_client_stream_test()
/dports/security/p5-Crypt-RIPEMD160/Crypt-RIPEMD160-0.08/rmd160/mac/
H A Dmactest.c41 #define TEST_BYTES ((long)TEST_BLOCK_SIZE * (long)TEST_BLOCKS) macro
214 RMDsize, TEST_BYTES); in speedtest()
226 MDMACfinish(MDK, MDbuf, data, TEST_BYTES, 0); in speedtest()
233 (double)CLOCKS_PER_SEC*TEST_BYTES/((double)t1-t0)); in speedtest()
/dports/math/vtk6/VTK-6.2.0/ThirdParty/Twisted/twisted/conch/test/
H A Dtest_insults.py106 TEST_BYTES = '\x1b[A\x1b[B\x1b[C\x1b[D' variable in ServerArrowKeys
124 TEST_BYTES = 'abc123ABC!@#\x1ba\x1bb\x1bc\x1b1\x1b2\x1b3' variable in PrintableCharacters
150 TEST_BYTES = ''.join(byteList) variable in ServerFunctionKeys
169 TEST_BYTES = d2 + r4 + u1 + l2 + u1 + l2 variable in ClientCursorMovement
/dports/net/freeswitch/freeswitch-1.10.3.-release/libs/libzrtp/third_party/bnlib/test/
H A Dsha.c384 #define TEST_BYTES 10000000L
385 #define TEST_BLOCKS ( TEST_BYTES / TEST_BLOCK_SIZE )
495 printf("SHA time trial. Processing %ld characters...\n", TEST_BYTES);
507 printf("Characters processed per second: %ld\n", TEST_BYTES / seconds);
/dports/benchmarks/netperf/netperf-d566775bf/src/
H A Dnetsh.h22 #define TEST_BYTES 0 /* test ends on byte count */ macro
/dports/devel/py-twisted/Twisted-22.1.0/src/twisted/conch/test/
H A Dtest_insults.py246 TEST_BYTES = b"\x1b[A\x1b[B\x1b[C\x1b[D" variable in ServerArrowKeysTests
270 TEST_BYTES = b"abc123ABC!@#\x1ba\x1bb\x1bc\x1b1\x1b2\x1b3" variable in PrintableCharactersTests
312 TEST_BYTES = b"".join(byteList) variable in ServerFunctionKeysTests
334 TEST_BYTES = d2 + r4 + u1 + l2 + u1 + l2 variable in ClientCursorMovementTests

12