/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Numerics/tests/BigInteger/ |
H A D | MyBigInt.cs | 71 bytes1 = Negate(bytes1); in DoUnaryOperatorMine() 296 bytes1 = Negate(bytes1); in Divide() 344 bytes1 = Add(bytes1, bytes2); in Divide() 352 bytes1 = Add(bytes1, bytes2); in Divide() 374 bytes1 = Negate(bytes1); in Remainder() 410 bytes1 = Negate(bytes1); in Remainder() 424 bytes1 = Add(bytes1, bytes2); in Remainder() 440 bytes1 = Negate(bytes1); in Remainder() 482 bytes1 = Multiply(bytes1, bytes1); in Pow() 528 bytes1 = Multiply(bytes1, bytes1); in ModPow() [all …]
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/smtCheckerTests/operators/ |
H A D | bitwise_and_fixed_bytes.sol | 3 assert(bytes1("") & ("") == bytes1(0)); // should hold 4 assert(bytes1(0xAA) & bytes1(0x55) == bytes1(0)); // should hold 5 assert(bytes1(0xFF) & bytes1(0xAA) == bytes1(0xAA)); // should hold 6 assert(bytes1(0xFF) & bytes1(0xAA) == bytes1(0)); // should fail
|
H A D | bitwise_or_fixed_bytes.sol | 2 function f() public pure returns (bytes1) { 3 bytes1 b = (bytes1(0x0F) | (bytes1(0xF0))); 4 assert(b == bytes1(0xFF)); // should hold 5 assert(b == bytes1(0x00)); // should fail
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/semanticTests/storage/ |
H A D | packed_storage_structs_bytes.sol | 3 bytes1 a; 4 bytes1 b; 10 bytes1 a; 12 bytes1 b; 13 bytes1 c; 15 bytes1 x; 17 bytes1 y; 28 data.c = bytes1(0x06); 39 data.c == bytes1(0x06) &&
|
/dports/devel/spark/spark-2.1.1/sql/hive/src/test/resources/ql/src/test/queries/clientpositive/ |
H A D | ba_table_udfs.q | 3 CREATE TABLE dest1(bytes1 BINARY, 21 bytes1, 24 LENGTH(bytes1), 25 CONCAT(bytes1, bytes2), 29 HEX(bytes1), 30 UNHEX(HEX(bytes1)), 31 BASE64(bytes1), 32 UNBASE64(BASE64(bytes1)),
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Text.Encoding/tests/Decoder/ |
H A D | Decoder.cs | 24 byte [] bytes1 = utf8.GetBytes(s1); in ConvertTest() 32 fixed (byte *pBytes1 = bytes1) in ConvertTest() 39 Assert.Equal(bytes1.Length, bytesUsed); in ConvertTest() 58 …decoder.Convert(pBytes3 + bytes1.Length, bytes3.Length - bytes1.Length, pChars, chars.Length, true… in ConvertTest() 65 …decoder.Convert(pBytes3 + bytes1.Length, bytes3.Length - bytes1.Length, pChars, 2, true, out bytes… in ConvertTest() 73 …decoder.Convert(pBytes3 + bytes1.Length + bytesUsed, bytes3.Length - bytes1.Length - encodedBytes,… in ConvertTest() 74 Assert.Equal(bytes3.Length - bytes1.Length - encodedBytes, bytesUsed); in ConvertTest() 129 byte [] bytes1 = utf8.GetBytes(s1); in GetCharsTest() 133 fixed (byte *pBytes1 = bytes1) in GetCharsTest() 156 …charsUsed = decoder.GetChars(pBytes3 + bytes1.Length, bytes3.Length - bytes1.Length, pChars, chars… in GetCharsTest() [all …]
|
/dports/lang/guile2/guile-2.2.7/gc-benchmarks/larceny/ |
H A D | dumb.sch | 9 (define (words-benchmark bytes0 bytes1) 11 (do ((bytes1 bytes1 (- bytes1 8))) 12 ((not (positive? bytes1)) 14 (cons (car x) bytes1))))
|
/dports/lang/guile/guile-3.0.7/gc-benchmarks/larceny/ |
H A D | dumb.sch | 9 (define (words-benchmark bytes0 bytes1) 11 (do ((bytes1 bytes1 (- bytes1 8))) 12 ((not (positive? bytes1)) 14 (cons (car x) bytes1))))
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/semanticTests/calldata/ |
H A D | calldata_memory_mixed.sol | 4 returns (uint, bytes1, bytes1, bytes1) 8 function g() public returns (uint, bytes1, bytes1, bytes1) {
|
H A D | calldata_internal_function_pointer.sol | 2 function(bytes calldata) returns (bytes1) x; 4 function f(bytes calldata b) internal pure returns (bytes1) { 7 function h(bytes calldata b) external returns (bytes1) { 10 function g() external returns (bytes1) { 12 a[2] = bytes1(uint8(7));
|
H A D | calldata_struct_cleaning.sol | 7 bytes1 b; 12 bytes1 tmp2 = s.b; 23 // f((uint8,bytes1)): 0x12, hex"3400000000000000000000000000000000000000000000000000000000000000" -… 24 // f((uint8,bytes1)): 0x1234, hex"5678000000000000000000000000000000000000000000000000000000000000"… 25 // f((uint8,bytes1)): 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff, 0xfffffff…
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/types/ |
H A D | zero_literal_to_bytesNN_explicit.sol | 3 bytes1 b1 = bytes1(0); 13 bytes1 b1 = bytes1(0x000); 21 bytes1 b1 = bytes1(0x0);
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/smtCheckerTests/array_members/ |
H A D | push_as_lhs_bytes.sol | 6 b.push() = bytes1(uint8(1)); 7 assert(b[0] == bytes1(uint8(1))); 11 bytes1 one = bytes1(uint8(1)); 15 assert(b[b.length - 1] == bytes1(uint8(100)));
|
H A D | push_as_lhs_bytes_2d.sol | 5 bytes1 val = bytes1(uint8(2)); 14 bytes1 val = bytes1(uint8(2)); 20 assert(c[c.length - 1][c[c.length - 1].length - 1] == bytes1(uint8(100)));
|
/dports/net/jgroups/jgroups-2.12.0/src/org/jgroups/demos/ |
H A D | ExecutionServiceDemo.java | 149 protected byte[] bytes1; field in ExecutionServiceDemo.SortingTwoByteCallable 156 this.bytes1=ints1; in SortingTwoByteCallable() 165 while (i < bytes1.length && j < bytes2.length) { in call() 166 if (bytes1[i] < bytes2[j]) { in call() 167 results[i + j] = bytes1[i++]; in call() 173 if (i < bytes1.length) { in call() 174 System.arraycopy(bytes1, i, results, i + j, bytes1.length - i); in call() 184 out.writeInt(bytes1.length); in writeTo() 185 out.write(bytes1); in writeTo() 194 bytes1 = new byte[size]; in readFrom() [all …]
|
/dports/textproc/pear-Horde_Xml_Wbxml/Horde_Xml_Wbxml-2.0.4/lib/Horde/Xml/ |
H A D | Wbxml.php | 74 $bytes1 = 128 | Horde_Xml_Wbxml::getBits(1, $i); 79 $out .= chr($bytes4) . chr($bytes3) . chr($bytes2) . chr($bytes1) . chr($bytes0); 82 $bytes1 = 128 | Horde_Xml_Wbxml::getBits(1, $i); 86 $out .= chr($bytes3) . chr($bytes2) . chr($bytes1) . chr($bytes0); 89 $bytes1 = 128 | Horde_Xml_Wbxml::getBits(1, $i); 92 $out .= chr($bytes2) . chr($bytes1) . chr($bytes0); 95 $bytes1 = 128 | Horde_Xml_Wbxml::getBits(1, $i); 97 $out .= chr($bytes1) . chr($bytes0);
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/sun/security/util/ |
H A D | ByteArrayLexOrder.java | 54 public final int compare( byte[] bytes1, byte[] bytes2) { in compare() argument 56 for (int i = 0; i < bytes1.length && i < bytes2.length; i++) { in compare() 57 diff = (bytes1[i] & 0xFF) - (bytes2[i] & 0xFF); in compare() 64 return bytes1.length - bytes2.length; in compare()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/share/classes/sun/security/util/ |
H A D | ByteArrayLexOrder.java | 54 public final int compare( byte[] bytes1, byte[] bytes2) { in compare() argument 56 for (int i = 0; i < bytes1.length && i < bytes2.length; i++) { in compare() 57 diff = (bytes1[i] & 0xFF) - (bytes2[i] & 0xFF); in compare() 64 return bytes1.length - bytes2.length; in compare()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/sun/security/util/ |
H A D | ByteArrayLexOrder.java | 54 public final int compare( byte[] bytes1, byte[] bytes2) { in compare() argument 56 for (int i = 0; i < bytes1.length && i < bytes2.length; i++) { in compare() 57 diff = (bytes1[i] & 0xFF) - (bytes2[i] & 0xFF); in compare() 64 return bytes1.length - bytes2.length; in compare()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.base/share/classes/sun/security/util/ |
H A D | ByteArrayLexOrder.java | 54 public final int compare( byte[] bytes1, byte[] bytes2) { in compare() argument 56 for (int i = 0; i < bytes1.length && i < bytes2.length; i++) { in compare() 57 diff = (bytes1[i] & 0xFF) - (bytes2[i] & 0xFF); in compare() 64 return bytes1.length - bytes2.length; in compare()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.base/share/classes/sun/security/util/ |
H A D | ByteArrayLexOrder.java | 54 public final int compare( byte[] bytes1, byte[] bytes2) { in compare() argument 56 for (int i = 0; i < bytes1.length && i < bytes2.length; i++) { in compare() 57 diff = (bytes1[i] & 0xFF) - (bytes2[i] & 0xFF); in compare() 64 return bytes1.length - bytes2.length; in compare()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/share/classes/sun/security/util/ |
H A D | ByteArrayLexOrder.java | 54 public final int compare( byte[] bytes1, byte[] bytes2) { in compare() argument 56 for (int i = 0; i < bytes1.length && i < bytes2.length; i++) { in compare() 57 diff = (bytes1[i] & 0xFF) - (bytes2[i] & 0xFF); in compare() 64 return bytes1.length - bytes2.length; in compare()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.base/share/classes/sun/security/util/ |
H A D | ByteArrayLexOrder.java | 54 public final int compare( byte[] bytes1, byte[] bytes2) { in compare() argument 56 for (int i = 0; i < bytes1.length && i < bytes2.length; i++) { in compare() 57 diff = (bytes1[i] & 0xFF) - (bytes2[i] & 0xFF); in compare() 64 return bytes1.length - bytes2.length; in compare()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.base/share/classes/sun/security/util/ |
H A D | ByteArrayLexOrder.java | 54 public final int compare( byte[] bytes1, byte[] bytes2) { in compare() argument 56 for (int i = 0; i < bytes1.length && i < bytes2.length; i++) { in compare() 57 diff = (bytes1[i] & 0xFF) - (bytes2[i] & 0xFF); in compare() 64 return bytes1.length - bytes2.length; in compare()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/security/util/ |
H A D | ByteArrayLexOrder.java | 53 public final int compare( byte[] bytes1, byte[] bytes2) { in compare() argument 55 for (int i = 0; i < bytes1.length && i < bytes2.length; i++) { in compare() 56 diff = (bytes1[i] & 0xFF) - (bytes2[i] & 0xFF); in compare() 63 return bytes1.length - bytes2.length; in compare()
|