Home
last modified time | relevance | path

Searched refs:bytes2 (Results 1 – 25 of 995) sorted by relevance

12345678910>>...40

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Numerics/tests/BigInteger/
H A DMyBigInt.cs145 bytes2 = Negate(bytes2); in DoBinaryOperatorMine()
300 bytes2 = Negate(bytes2); in Divide()
338 bytes2 = ShiftLeftGrow(bytes2); in Divide()
343 bytes2 = Negate(bytes2); in Divide()
345 bytes2 = Negate(bytes2); in Divide()
354 bytes2 = ShiftRight(bytes2); in Divide()
378 bytes2 = Negate(bytes2); in Remainder()
423 bytes2 = Negate(bytes2); in Remainder()
425 bytes2 = Negate(bytes2); in Remainder()
434 bytes2 = ShiftRight(bytes2); in Remainder()
[all …]
/dports/devel/glib20/glib-2.70.4/glib/tests/
H A Dbytes.c135 g_bytes_unref (bytes2); in test_new_from_bytes_slice()
187 GBytes *bytes2; in test_hash() local
199 g_bytes_unref (bytes2); in test_hash()
206 GBytes *bytes2; in test_equal() local
213 g_bytes_unref (bytes2); in test_equal()
218 g_bytes_unref (bytes2); in test_equal()
223 g_bytes_unref (bytes2); in test_equal()
232 GBytes *bytes2; in test_compare() local
238 g_bytes_unref (bytes2); in test_compare()
242 g_bytes_unref (bytes2); in test_compare()
[all …]
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/semanticTests/libraries/
H A Dinternal_library_function_bound_to_fixed_bytes.sol2 function add(bytes2 a, bytes2 b) internal pure returns (bytes2) {
3 return bytes2(uint16(a) + uint16(b));
8 using L for bytes2;
10 function sum(bytes2 a, bytes2 b) public returns (bytes2) {
17 // sum(bytes2,bytes2): left(0x1100), left(0x0022) -> left(0x1122)
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/semanticTests/userDefinedValueType/
H A Dassembly_access_bytes2_abicoder_v1.sol3 type MyBytes2 is bytes2;
6 function f(MyBytes2 val) external returns (bytes2 ret) {
12 function g(bytes2 val) external returns (bytes2 ret) {
30 // f(bytes2): "ab" -> 0x6162000000000000000000000000000000000000000000000000000000000000
31 // g(bytes2): "ab" -> 0x6162000000000000000000000000000000000000000000000000000000000000
32 // f(bytes2): "abcdef" -> 0x6162000000000000000000000000000000000000000000000000000000000000
33 // g(bytes2): "abcdef" -> 0x6162000000000000000000000000000000000000000000000000000000000000
H A Dassembly_access_bytes2_abicoder_v2.sol3 type MyBytes2 is bytes2;
6 function f(MyBytes2 val) external returns (bytes2 ret) {
12 function g(bytes2 val) external returns (bytes2 ret) {
30 // f(bytes2): "ab" -> 0x6162000000000000000000000000000000000000000000000000000000000000
31 // g(bytes2): "ab" -> 0x6162000000000000000000000000000000000000000000000000000000000000
32 // f(bytes2): "abcdef" -> FAILURE
33 // g(bytes2): "abcdef" -> FAILURE
/dports/multimedia/mencoder/mplayer-export-2021-12-29/
H A Dxvid_vbr.c1177 bytes2 = bytes1; in vbr_getquant_2pass2()
1217 bytes2 = bytes1; in vbr_getquant_2pass2()
1220 dbytes = ((int)(bytes2 + bytes2 * state->keyframe_boost / 100)) / in vbr_getquant_2pass2()
1320 bytes2 = bytes1; in vbr_getquant_2pass2()
1324 bytes2 = 1; in vbr_getquant_2pass2()
1347 bytes2 = KF_min_size + (bytes2 - KF_min_size) * KFdistance / in vbr_getquant_2pass2()
1351 bytes2 = 1; in vbr_getquant_2pass2()
1369 bytes2 += (overflow <= bytes2) ? bytes2 * state->twopass_max_overflow_improvement / 100 : in vbr_getquant_2pass2()
1384 if(bytes2 < 1) { in vbr_getquant_2pass2()
1385 bytes2 = 1; in vbr_getquant_2pass2()
[all …]
/dports/multimedia/mplayer/mplayer-export-2021-12-29/
H A Dxvid_vbr.c1177 bytes2 = bytes1; in vbr_getquant_2pass2()
1217 bytes2 = bytes1; in vbr_getquant_2pass2()
1220 dbytes = ((int)(bytes2 + bytes2 * state->keyframe_boost / 100)) / in vbr_getquant_2pass2()
1320 bytes2 = bytes1; in vbr_getquant_2pass2()
1324 bytes2 = 1; in vbr_getquant_2pass2()
1347 bytes2 = KF_min_size + (bytes2 - KF_min_size) * KFdistance / in vbr_getquant_2pass2()
1351 bytes2 = 1; in vbr_getquant_2pass2()
1369 bytes2 += (overflow <= bytes2) ? bytes2 * state->twopass_max_overflow_improvement / 100 : in vbr_getquant_2pass2()
1384 if(bytes2 < 1) { in vbr_getquant_2pass2()
1385 bytes2 = 1; in vbr_getquant_2pass2()
[all …]
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/syntaxTests/types/
H A Dhex_literal_to_bytesNN_different_size_explicit.sol5 bytes2 b3 = bytes2(0xFF);
6 bytes2 b4 = bytes2(0x100);
7 bytes2 b5 = bytes2(0x10000);
21 // TypeError 9640: (122-134): Explicit type conversion not allowed from "int_const 255" to "bytes2".
22 // TypeError 9640: (153-166): Explicit type conversion not allowed from "int_const 256" to "bytes2".
23 …TypeError 9640: (185-200): Explicit type conversion not allowed from "int_const 65536" to "bytes2".
H A Dhex_string_to_bytesNN_different_size_explicit.sol5 bytes2 b3 = bytes2(hex"12");
6 bytes2 b4 = bytes2(hex"1234");
7 bytes2 b5 = bytes2(hex"123456");
18 …plicit type conversion not allowed from "literal_string hex"123456"" to "bytes2". Literal is large…
H A Dzero_literal_to_bytesNN_explicit.sol4 bytes2 b2 = bytes2(0);
14 bytes2 b2 = bytes2(0x00000);
22 bytes2 b2 = bytes2(0x0);
H A Ddecimal_literal_to_bytesNN_explicit.sol4 bytes2 b2 = bytes2(1);
5 bytes2 b3 = bytes2(256);
16 // TypeError 9640: (88-97): Explicit type conversion not allowed from "int_const 1" to "bytes2".
17 // TypeError 9640: (116-127): Explicit type conversion not allowed from "int_const 256" to "bytes2".
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Text.Encoding/tests/Encoder/
H A DEncoder.cs24 byte [] bytes2 = utf8.GetBytes(s2); in ConvertTest()
46 Assert.Equal(bytes2.Length, bytesUsed); in ConvertTest()
48 for (int i=0; i<bytes2.Length; i++) { Assert.Equal(bytes2[i], pBytes[i]); } in ConvertTest()
58 Assert.Equal(bytes2.Length, bytesUsed); in ConvertTest()
60 for (int i=0; i<bytes2.Length; i++) { Assert.Equal(bytes2[i], pBytes[i]); } in ConvertTest()
66 for (int i=0; i<bytesUsed; i++) { Assert.Equal(bytes2[i], pBytes[i]); } in ConvertTest()
72 Assert.Equal(bytes2[bytes2.Length - 2], pBytes[0]); in ConvertTest()
73 Assert.Equal(bytes2[bytes2.Length - 1], pBytes[1]); in ConvertTest()
127 byte [] bytes2 = utf8.GetBytes(s2); in GetBytesTest()
141 Assert.Equal(bytes2.Length, bytesUsed); in GetBytesTest()
[all …]
/dports/devel/spark/spark-2.1.1/sql/hive/src/test/resources/ql/src/test/queries/clientpositive/
H A Dba_table_udfs.q4 bytes2 BINARY,
22 bytes2,
25 CONCAT(bytes1, bytes2),
26 SUBSTR(bytes2, 1, 4),
27 SUBSTR(bytes2, 3),
28 SUBSTR(bytes2, -4, 3),
36 ORDER BY bytes2;
/dports/net/jgroups/jgroups-2.12.0/src/org/jgroups/demos/
H A DExecutionServiceDemo.java150 protected byte[] bytes2; field in ExecutionServiceDemo.SortingTwoByteCallable
157 this.bytes2=ints2; in SortingTwoByteCallable()
165 while (i < bytes1.length && j < bytes2.length) { in call()
166 if (bytes1[i] < bytes2[j]) { in call()
170 results[i + j] = bytes2[j++]; in call()
176 else if (j < bytes2.length) { in call()
177 System.arraycopy(bytes2, j, results, i + j, bytes2.length - j); in call()
186 out.writeInt(bytes2.length); in writeTo()
187 out.write(bytes2); in writeTo()
199 bytes2 = new byte[size]; in readFrom()
[all …]
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/semanticTests/abiEncoderV2/struct/
H A Dstruct_validation.sol4 struct S { int16 a; uint8 b; bytes2 c; }
17 // f((int16,uint8,bytes2)): 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01, 0xf…
18 // f((int16,uint8,bytes2)): 0xff010, 0xff, "ab" -> FAILURE
19 // f((int16,uint8,bytes2)): 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01, 0xf…
20 // f((int16,uint8,bytes2)): 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff01, 0xf…
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/sun/security/util/
H A DByteArrayLexOrder.java54 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 DByteArrayLexOrder.java54 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 DByteArrayLexOrder.java54 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 DByteArrayLexOrder.java54 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 DByteArrayLexOrder.java54 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 DByteArrayLexOrder.java54 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 DByteArrayLexOrder.java54 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 DByteArrayLexOrder.java54 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 DByteArrayLexOrder.java53 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()
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/security/util/
H A DByteArrayLexOrder.java53 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()

12345678910>>...40