/dports/textproc/xom/XOM/src/nu/xom/tests/ |
H A D | Canonicalizer11Test.java | 82 byte[] expectedBytes = readFile(expected); in testXMLLang_1() 83 assertEquals(expectedBytes, actualBytes); in testXMLLang_1() 97 byte[] expectedBytes = readFile(expected); in testXMLLang_2() 98 assertEquals(expectedBytes, actualBytes); in testXMLLang_2() 113 assertEquals(expectedBytes, actualBytes); in testXMLLang_3() 128 assertEquals(expectedBytes, actualBytes); in testXMLLang_4() 141 assertEquals(expectedBytes, actualBytes); in testXMLSpace_1() 154 assertEquals(expectedBytes, actualBytes); in testXMLSpace_2() 167 assertEquals(expectedBytes, actualBytes); in testXMLSpace_3() 377 in.readFully(expectedBytes); in readFile() [all …]
|
/dports/devel/juce/JUCE-f37e9a1/modules/juce_audio_basics/mpe/ |
H A D | juce_MPEMessages.cpp | 128 const uint8 expectedBytes[] = in runTest() local 135 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() 140 const uint8 expectedBytes[] = in runTest() local 147 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() 155 const uint8 expectedBytes[] = { 0xb1, 0x64, 0x00, 0xb1, 0x65, 0x00, 0xb1, 0x06, 0x60 }; in runTest() local 157 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() 167 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() 178 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() 190 const uint8 expectedBytes[] = { in runTest() local 201 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() [all …]
|
/dports/audio/carla/Carla-2.4.1/source/modules/juce_audio_basics/mpe/ |
H A D | juce_MPEMessages.cpp | 128 const uint8 expectedBytes[] = in runTest() local 135 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() 140 const uint8 expectedBytes[] = in runTest() local 147 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() 155 const uint8 expectedBytes[] = { 0xb1, 0x64, 0x00, 0xb1, 0x65, 0x00, 0xb1, 0x06, 0x60 }; in runTest() local 157 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() 167 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() 178 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() 190 const uint8 expectedBytes[] = { in runTest() local 201 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() [all …]
|
/dports/audio/libopenshot-audio/libopenshot-audio-0.2.2/JuceLibraryCode/modules/juce_audio_basics/mpe/ |
H A D | juce_MPEMessages.cpp | 128 const uint8 expectedBytes[] = in runTest() local 135 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() 140 const uint8 expectedBytes[] = in runTest() local 147 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() 155 const uint8 expectedBytes[] = { 0xb1, 0x64, 0x00, 0xb1, 0x65, 0x00, 0xb1, 0x06, 0x60 }; in runTest() local 157 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() 167 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() 178 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() 190 const uint8 expectedBytes[] = { in runTest() local 201 testMidiBuffer (buffer, expectedBytes, sizeof (expectedBytes)); in runTest() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Numerics/tests/BigInteger/ |
H A D | TryWriteBytes.cs | 13 … void TryWriteBytes_FromIntTests(int i, bool isUnsigned, bool isBigEndian, byte[] expectedBytes) => in TryWriteBytes_FromIntTests() argument 14 … ValidateGetByteCountAndTryWriteBytes(new BigInteger(i), isUnsigned, isBigEndian, expectedBytes); in TryWriteBytes_FromIntTests() 18 …oid TryWriteBytes_FromLongTests(long l, bool isUnsigned, bool isBigEndian, byte[] expectedBytes) => in TryWriteBytes_FromLongTests() argument 19 … ValidateGetByteCountAndTryWriteBytes(new BigInteger(l), isUnsigned, isBigEndian, expectedBytes); in TryWriteBytes_FromLongTests() 24 …alidateGetByteCountAndTryWriteBytes(BigInteger.Parse(str), isUnsigned, isBigEndian, expectedBytes); in TryWriteBytes_FromStringTests() 36 Assert.Equal(expectedBytes, bytes); in ValidateGetByteCountAndTryWriteBytes() 39 Assert.Equal(expectedBytes.Length, count); in ValidateGetByteCountAndTryWriteBytes() 41 … Validate(new byte[expectedBytes.Length]); // make sure it works with a span just long enough in ValidateGetByteCountAndTryWriteBytes() 42 … Validate(new byte[expectedBytes.Length + 1]); // make sure it also works with a longer span in ValidateGetByteCountAndTryWriteBytes() 53 Assert.Equal(expectedBytes.Length, bytesWritten); in ValidateGetByteCountAndTryWriteBytes() [all …]
|
/dports/net-p2p/bitmark-recorder/bitmarkd-0.13.3/vendor/github.com/cihub/seelog/ |
H A D | internals_byteverifiers_test.go | 36 expectedBytes []byte // bytes that are expected to be written in next Write call member 64 if verifier.expectedBytes != nil { 68 if len(bytes) != len(verifier.expectedBytes) { 70 len(verifier.expectedBytes), len(bytes), string(verifier.expectedBytes), string(bytes)) 73 if verifier.expectedBytes[i] != bytes[i] { 75 i, verifier.expectedBytes[i], bytes[i], string(verifier.expectedBytes), string(bytes)) 88 verifier.expectedBytes = bytes 95 if verifier.expectedBytes != nil { 96 errorText += "len = " + strconv.Itoa(len(verifier.expectedBytes)) 97 errorText += ". text = " + string(verifier.expectedBytes)
|
/dports/net-p2p/bitmark/bitmarkd-0.13.3/vendor/github.com/cihub/seelog/ |
H A D | internals_byteverifiers_test.go | 36 expectedBytes []byte // bytes that are expected to be written in next Write call member 64 if verifier.expectedBytes != nil { 68 if len(bytes) != len(verifier.expectedBytes) { 70 len(verifier.expectedBytes), len(bytes), string(verifier.expectedBytes), string(bytes)) 73 if verifier.expectedBytes[i] != bytes[i] { 75 i, verifier.expectedBytes[i], bytes[i], string(verifier.expectedBytes), string(bytes)) 88 verifier.expectedBytes = bytes 95 if verifier.expectedBytes != nil { 96 errorText += "len = " + strconv.Itoa(len(verifier.expectedBytes)) 97 errorText += ". text = " + string(verifier.expectedBytes)
|
/dports/net-p2p/bitmark-cli/bitmarkd-0.13.3/vendor/github.com/cihub/seelog/ |
H A D | internals_byteverifiers_test.go | 36 expectedBytes []byte // bytes that are expected to be written in next Write call 64 if verifier.expectedBytes != nil { 68 if len(bytes) != len(verifier.expectedBytes) { 70 len(verifier.expectedBytes), len(bytes), string(verifier.expectedBytes), string(bytes)) 73 if verifier.expectedBytes[i] != bytes[i] { 75 i, verifier.expectedBytes[i], bytes[i], string(verifier.expectedBytes), string(bytes)) 88 verifier.expectedBytes = bytes 95 if verifier.expectedBytes != nil { 96 errorText += "len = " + strconv.Itoa(len(verifier.expectedBytes)) 97 errorText += ". text = " + string(verifier.expectedBytes)
|
/dports/net-p2p/bitmark-daemon/bitmarkd-0.13.3/vendor/github.com/cihub/seelog/ |
H A D | internals_byteverifiers_test.go | 36 expectedBytes []byte // bytes that are expected to be written in next Write call member 64 if verifier.expectedBytes != nil { 68 if len(bytes) != len(verifier.expectedBytes) { 70 len(verifier.expectedBytes), len(bytes), string(verifier.expectedBytes), string(bytes)) 73 if verifier.expectedBytes[i] != bytes[i] { 75 i, verifier.expectedBytes[i], bytes[i], string(verifier.expectedBytes), string(bytes)) 88 verifier.expectedBytes = bytes 95 if verifier.expectedBytes != nil { 96 errorText += "len = " + strconv.Itoa(len(verifier.expectedBytes)) 97 errorText += ". text = " + string(verifier.expectedBytes)
|
/dports/lang/solidity/solidity_0.8.11/test/libsolidity/util/ |
H A D | TestFunctionCallTests.cpp | 39 bytes expectedBytes = toBigEndian(u256{1}); in BOOST_AUTO_TEST_CASE() local 59 bytes expectedBytes = toBigEndian(u256{1}); in BOOST_AUTO_TEST_CASE() local 79 bytes expectedBytes = toBigEndian(u256{1}); in BOOST_AUTO_TEST_CASE() local 94 bytes expectedBytes = toBigEndian(u256{1}); in BOOST_AUTO_TEST_CASE() local 108 bytes expectedBytes = toBigEndian(u256{-1}); in BOOST_AUTO_TEST_CASE() local 150 bytes expectedBytes = fromHex("4200ef"); in BOOST_AUTO_TEST_CASE() local 164 bytes expectedBytes = toBigEndian(u256{true}); in BOOST_AUTO_TEST_CASE() local 185 bytes expectedBytes = toBigEndian(u256{false}); in BOOST_AUTO_TEST_CASE() local 199 bytes expectedBytes = toBigEndian(u256{false}); in BOOST_AUTO_TEST_CASE() local 228 bytes expectedBytes; in BOOST_AUTO_TEST_CASE() local [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.Ports/tests/SerialPort/ |
H A D | ReadByte_Generic.cs | 194 byte[] expectedBytes = new byte[numRndByte]; in ParityErrorOnLastByte() 208 expectedBytes[i] = randByte; in ParityErrorOnLastByte() 213 expectedBytes[expectedBytes.Length - 1] = com1.ParityReplace; in ParityErrorOnLastByte() 244 for (int i = 0; i < expectedBytes.Length; i++) in ParityErrorOnLastByte() 246 if (expectedBytes[i] != actualBytes[i]) in ParityErrorOnLastByte() 260 expectedBytes[expectedBytes.Length - 1] = bytesToWrite[bytesToWrite.Length - 1]; in ParityErrorOnLastByte() 319 byte[] expectedBytes = new byte[numRndByte]; in VerifyParityReplaceByte() 328 expectedBytes[i] = (byte)randChar; in VerifyParityReplaceByte() 394 if (expectedBytes.Length <= i) in VerifyRead() 409 if (readInt != expectedBytes[i]) in VerifyRead() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.IO.Ports/tests/SerialStream/ |
H A D | ReadByte_Generic.cs | 185 var expectedBytes = new byte[numRndByte]; in ParityErrorOnLastByte() 199 expectedBytes[i] = randByte; in ParityErrorOnLastByte() 204 expectedBytes[expectedBytes.Length - 1] = com1.ParityReplace; in ParityErrorOnLastByte() 235 for (var i = 0; i < expectedBytes.Length; i++) in ParityErrorOnLastByte() 237 if (expectedBytes[i] != actualBytes[i]) in ParityErrorOnLastByte() 252 expectedBytes[expectedBytes.Length - 1] = bytesToWrite[bytesToWrite.Length - 1]; in ParityErrorOnLastByte() 324 var expectedBytes = new byte[numRndByte]; in VerifyParityReplaceByte() 333 expectedBytes[i] = (byte)randChar; in VerifyParityReplaceByte() 397 if (expectedBytes.Length <= i) in VerifyRead() 412 if (readInt != expectedBytes[i]) in VerifyRead() [all …]
|
H A D | BeginRead_Generic.cs | 144 var expectedBytes = new byte[numRndBytesPairty]; in ParityErrorOnLastByte() 159 expectedBytes[i] = randByte; in ParityErrorOnLastByte() 164 expectedBytes[expectedBytes.Length - 1] = com1.ParityReplace; in ParityErrorOnLastByte() 182 for (var i = 0; i < expectedBytes.Length; i++) in ParityErrorOnLastByte() 184 if (expectedBytes[i] != actualBytes[i]) in ParityErrorOnLastByte() 199 expectedBytes[expectedBytes.Length - 1] = bytesToWrite[bytesToWrite.Length - 1]; in ParityErrorOnLastByte() 201 VerifyRead(com1, com2, bytesToWrite, expectedBytes, expectedBytes.Length / 2); in ParityErrorOnLastByte() 313 var expectedBytes = new byte[numRndBytesPairty]; in VerifyParityReplaceByte() 322 expectedBytes[i] = randByte; in VerifyParityReplaceByte() 345 expectedBytes[parityErrorIndex] = (byte)expectedByte; in VerifyParityReplaceByte() [all …]
|
H A D | Read_byte_int_int_Generic.cs | 196 var expectedBytes = new byte[numRndBytesPairty]; in ParityErrorOnLastByte() 209 expectedBytes[i] = randByte; in ParityErrorOnLastByte() 214 expectedBytes[expectedBytes.Length - 1] = com1.ParityReplace; in ParityErrorOnLastByte() 231 for (var i = 0; i < expectedBytes.Length; i++) in ParityErrorOnLastByte() 233 if (expectedBytes[i] != actualBytes[i]) in ParityErrorOnLastByte() 248 expectedBytes[expectedBytes.Length - 1] = bytesToWrite[bytesToWrite.Length - 1]; in ParityErrorOnLastByte() 250 VerifyRead(com1, com2, bytesToWrite, expectedBytes, expectedBytes.Length / 2); in ParityErrorOnLastByte() 341 var expectedBytes = new byte[numRndBytesPairty]; in VerifyParityReplaceByte() 350 expectedBytes[i] = randByte; in VerifyParityReplaceByte() 373 expectedBytes[parityErrorIndex] = expectedByte; in VerifyParityReplaceByte() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Text.Encoding/tests/ |
H A D | EncodingTestHelpers.cs | 42 byte[] fullArray = new byte[expectedBytes.Length + 4]; in GetBytes() 48 … VerifyGetBytes(encoding, source, index, count, new byte[expectedBytes.Length], 0, expectedBytes); in GetBytes() 49 VerifyGetBytes(encoding, source, index, count, fullArray, 2, expectedBytes); in GetBytes() 54 VerifyGetBytes(encoding, source, index, count, new byte[10], 10, expectedBytes); in GetBytes() 80 VerifyGetBytes(stringBytes, byteIndex, stringByteCount, originalBytes, expectedBytes); in VerifyGetBytes() 81 Assert.Equal(expectedBytes.Length, stringByteCount); in VerifyGetBytes() 86 … VerifyGetBytes(charArrayBytes, byteIndex, charArrayByteCount, originalBytes, expectedBytes); in VerifyGetBytes() 87 Assert.Equal(expectedBytes.Length, charArrayByteCount); in VerifyGetBytes() 90 if (expectedBytes.Length > 0) in VerifyGetBytes() 97 Assert.Equal(expectedBytes.Length, charPointerByteCount); in VerifyGetBytes() [all …]
|
/dports/finance/hs-hledger-ui/hledger-ui-1.19/_cabal_deps/vty-5.33/test/ |
H A D | VerifyParseTerminfoCaps.hs | 69 let expectedBytes = map (toEnum . fromEnum) cap function 71 in verifyBytesEqual outBytes expectedBytes 73 literalPercentCaps (LiteralPercentCap capString expectedBytes) = do 74 verifyParseCap capString $ \e -> verifyBytesEqual (collectBytes e) expectedBytes 76 incFirstTwoCaps (IncFirstTwoCap capString expectedBytes) = do 77 verifyParseCap capString $ \e -> verifyBytesEqual (collectBytes e) expectedBytes 79 pushParamCaps (PushParamCap capString expectedParamCount expectedBytes) = do 84 then verifyBytesEqual outBytes expectedBytes 87 decPrintParamCaps (DecPrintCap capString expectedParamCount expectedBytes) = do 92 then verifyBytesEqual outBytes expectedBytes
|
/dports/devel/hs-git-brunch/git-brunch-1.5.1.0/_cabal_deps/vty-5.33/test/ |
H A D | VerifyParseTerminfoCaps.hs | 69 let expectedBytes = map (toEnum . fromEnum) cap function 71 in verifyBytesEqual outBytes expectedBytes 73 literalPercentCaps (LiteralPercentCap capString expectedBytes) = do 74 verifyParseCap capString $ \e -> verifyBytesEqual (collectBytes e) expectedBytes 76 incFirstTwoCaps (IncFirstTwoCap capString expectedBytes) = do 77 verifyParseCap capString $ \e -> verifyBytesEqual (collectBytes e) expectedBytes 79 pushParamCaps (PushParamCap capString expectedParamCount expectedBytes) = do 84 then verifyBytesEqual outBytes expectedBytes 87 decPrintParamCaps (DecPrintCap capString expectedParamCount expectedBytes) = do 92 then verifyBytesEqual outBytes expectedBytes
|
/dports/net-im/matterhorn/matterhorn-50200.13.0/_cabal_deps/vty-5.32/test/ |
H A D | VerifyParseTerminfoCaps.hs | 69 let expectedBytes = map (toEnum . fromEnum) cap function 71 in verifyBytesEqual outBytes expectedBytes 73 literalPercentCaps (LiteralPercentCap capString expectedBytes) = do 74 verifyParseCap capString $ \e -> verifyBytesEqual (collectBytes e) expectedBytes 76 incFirstTwoCaps (IncFirstTwoCap capString expectedBytes) = do 77 verifyParseCap capString $ \e -> verifyBytesEqual (collectBytes e) expectedBytes 79 pushParamCaps (PushParamCap capString expectedParamCount expectedBytes) = do 84 then verifyBytesEqual outBytes expectedBytes 87 decPrintParamCaps (DecPrintCap capString expectedParamCount expectedBytes) = do 92 then verifyBytesEqual outBytes expectedBytes
|
/dports/misc/hs-hascard/hascard-0.3.0.1/_cabal_deps/vty-5.30/test/ |
H A D | VerifyParseTerminfoCaps.hs | 69 let expectedBytes = map (toEnum . fromEnum) cap function 71 in verifyBytesEqual outBytes expectedBytes 73 literalPercentCaps (LiteralPercentCap capString expectedBytes) = do 74 verifyParseCap capString $ \e -> verifyBytesEqual (collectBytes e) expectedBytes 76 incFirstTwoCaps (IncFirstTwoCap capString expectedBytes) = do 77 verifyParseCap capString $ \e -> verifyBytesEqual (collectBytes e) expectedBytes 79 pushParamCaps (PushParamCap capString expectedParamCount expectedBytes) = do 84 then verifyBytesEqual outBytes expectedBytes 87 decPrintParamCaps (DecPrintCap capString expectedParamCount expectedBytes) = do 92 then verifyBytesEqual outBytes expectedBytes
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/test/jdk/java/lang/module/ModuleReader/ |
H A D | ModuleReaderTest.java | 162 byte[] expectedBytes; in testImage() 165 expectedBytes = in.readAllBytes(); in testImage() 168 testFind(reader, name, expectedBytes); in testImage() 169 testOpen(reader, name, expectedBytes); in testImage() 170 testRead(reader, name, expectedBytes); in testImage() 283 byte[] expectedBytes in test() 288 testFind(reader, name, expectedBytes); in test() 289 testOpen(reader, name, expectedBytes); in test() 290 testRead(reader, name, expectedBytes); in test() 384 assertTrue(Arrays.equals(bytes, expectedBytes)); in testOpen() [all …]
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/test/jdk/java/lang/module/ModuleReader/ |
H A D | ModuleReaderTest.java | 162 byte[] expectedBytes; in testImage() 165 expectedBytes = in.readAllBytes(); in testImage() 168 testFind(reader, name, expectedBytes); in testImage() 169 testOpen(reader, name, expectedBytes); in testImage() 170 testRead(reader, name, expectedBytes); in testImage() 283 byte[] expectedBytes in test() 288 testFind(reader, name, expectedBytes); in test() 289 testOpen(reader, name, expectedBytes); in test() 290 testRead(reader, name, expectedBytes); in test() 384 assertTrue(Arrays.equals(bytes, expectedBytes)); in testOpen() [all …]
|
/dports/sysutils/kubectl/kubernetes-1.22.2/cmd/kubeadm/app/util/apiclient/ |
H A D | dryrunclient_test.go | 34 expectedBytes []byte 40 …expectedBytes: []byte(`[dryrun] Would perform action GET on resource "services" in API group "core… 47 …expectedBytes: []byte(`[dryrun] Would perform action GET on resource "clusterrolebindings" in API … 54 …expectedBytes: []byte(`[dryrun] Would perform action LIST on resource "services" in API group "cor… 67 …expectedBytes: []byte(`[dryrun] Would perform action CREATE on resource "services" in API group "c… 82 …expectedBytes: []byte(`[dryrun] Would perform action PATCH on resource "nodes" in API group "core/… 91 …expectedBytes: []byte(`[dryrun] Would perform action DELETE on resource "pods" in API group "core/… 102 if !bytes.Equal(actualBytes, rt.expectedBytes) { 105 rt.expectedBytes,
|
/dports/graphics/dcp2icc/dcp2icc-0.1/XMP-Toolkit-SDK-4.4.2/java/XMPCore/src/com/adobe/xmp/impl/ |
H A D | Latin1Converter.java | 75 int expectedBytes = 0; in convert() local 95 expectedBytes = -1; in convert() 97 for (; expectedBytes < 8 && (test & 0x80) == 0x80; test = test << 1) in convert() 99 expectedBytes++; in convert() 113 if (expectedBytes > 0 && (b & 0xC0) == 0x80) in convert() 117 expectedBytes--; in convert() 119 if (expectedBytes == 0) in convert()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/test/jdk/java/lang/module/ModuleReader/ |
H A D | ModuleReaderTest.java | 165 byte[] expectedBytes; in testImage() 168 expectedBytes = in.readAllBytes(); in testImage() 171 testFind(reader, name, expectedBytes); in testImage() 172 testOpen(reader, name, expectedBytes); in testImage() 173 testRead(reader, name, expectedBytes); in testImage() 286 byte[] expectedBytes in test() 291 testFind(reader, name, expectedBytes); in test() 292 testOpen(reader, name, expectedBytes); in test() 293 testRead(reader, name, expectedBytes); in test() 387 assertTrue(Arrays.equals(bytes, expectedBytes)); in testOpen() [all …]
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/test/jdk/java/lang/module/ModuleReader/ |
H A D | ModuleReaderTest.java | 165 byte[] expectedBytes; in testImage() 168 expectedBytes = in.readAllBytes(); in testImage() 171 testFind(reader, name, expectedBytes); in testImage() 172 testOpen(reader, name, expectedBytes); in testImage() 173 testRead(reader, name, expectedBytes); in testImage() 286 byte[] expectedBytes in test() 291 testFind(reader, name, expectedBytes); in test() 292 testOpen(reader, name, expectedBytes); in test() 293 testRead(reader, name, expectedBytes); in test() 387 assertTrue(Arrays.equals(bytes, expectedBytes)); in testOpen() [all …]
|