/dports/devel/raknet/raknet-3.9.2_10,1/Source/ |
H A D | DataBlockEncryptor.cpp | 47 unsigned int checkSum; in Encrypt() local 96 checkSum = checkSumCalculator.Get(); in Encrypt() 100 output[0] = checkSum&0xFF; in Encrypt() 101 output[1] = (checkSum>>8)&0xFF; in Encrypt() 102 output[2] = (checkSum>>16)&0xFF; in Encrypt() 103 output[3] = (checkSum>>24)&0xFF; in Encrypt() 105 memcpy( output, ( char* ) & checkSum, sizeof( checkSum ) ); in Encrypt() 130 unsigned int checkSum; in Decrypt() local 168 checkSum = (unsigned int)output[0] | (unsigned int)(output[1]<<8) | in Decrypt() 171 memcpy( ( char* ) & checkSum, output, sizeof( checkSum ) ); in Decrypt() [all …]
|
/dports/devel/tpasm/tpasm1.11/outfiles/ |
H A D | mot_seg.c | 28 checkSum; in DumpGenericLine() local 32 checkSum=0; in DumpGenericLine() 42 checkSum+=numBytes+3; in DumpGenericLine() 43 checkSum+=address&0xFF; in DumpGenericLine() 44 checkSum+=(address>>8)&0xFF; in DumpGenericLine() 49 checkSum+=numBytes+4; in DumpGenericLine() 50 checkSum+=address&0xFF; in DumpGenericLine() 51 checkSum+=(address>>8)&0xFF; in DumpGenericLine() 57 checkSum+=numBytes+5; in DumpGenericLine() 58 checkSum+=address&0xFF; in DumpGenericLine() [all …]
|
/dports/games/hedgewars-server/hedgewars-src-1.0.0/hedgewars/ |
H A D | uVariables.pas | 386 …ht:128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority:… 400 …ht: 65; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority:… 422 …ht: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority:… 424 …ht: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority:… 442 …t: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: false; checkSum: false; priority:… 444 …t: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: false; checkSum: false; priority:… 723 … imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: 728 … imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: 733 … imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: 738 … imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: [all …]
|
/dports/games/hedgewars/hedgewars-src-1.0.0/hedgewars/ |
H A D | uVariables.pas | 386 …ht:128; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority:… 400 …ht: 65; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority:… 422 …ht: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority:… 424 …ht: 48; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority:… 442 …t: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: false; checkSum: false; priority:… 444 …t: 0; imageWidth: 0; imageHeight: 0; saveSurf: false; critical: false; checkSum: false; priority:… 723 … imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: 728 … imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: 733 … imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: 738 … imageWidth: 0; imageHeight: 0; saveSurf: false; critical: true; checkSum: false; priority: [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/pdfium/fxbarcode/oned/ |
H A D | BC_OnedCode128Writer.cpp | 138 int32_t checkSum = 0; in EncodeImpl() local 140 checkSum = Encode128B(contents, &patterns); in EncodeImpl() 142 checkSum = Encode128C(contents, &patterns); in EncodeImpl() 144 checkSum %= 103; in EncodeImpl() 145 patterns.push_back(checkSum); in EncodeImpl() 169 int32_t checkSum = CODE_START_B * checkWeight; in Encode128B() local 173 checkSum += patternIndex * checkWeight++; in Encode128B() 175 return checkSum; in Encode128B() 183 int32_t checkSum = CODE_START_C * checkWeight; in Encode128C() local 200 checkSum += patternIndex * checkWeight++; in Encode128C() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/pdfium/fxbarcode/oned/ |
H A D | BC_OnedCode128Writer.cpp | 139 int32_t checkSum = 0; in EncodeImpl() local 141 checkSum = Encode128B(contents, &patterns); in EncodeImpl() 143 checkSum = Encode128C(contents, &patterns); in EncodeImpl() 145 checkSum %= 103; in EncodeImpl() 146 patterns.push_back(checkSum); in EncodeImpl() 170 int32_t checkSum = CODE_START_B * checkWeight; in Encode128B() local 174 checkSum += patternIndex * checkWeight++; in Encode128B() 176 return checkSum; in Encode128B() 184 int32_t checkSum = CODE_START_C * checkWeight; in Encode128C() local 201 checkSum += patternIndex * checkWeight++; in Encode128C() [all …]
|
/dports/devel/raknet/raknet-3.9.2_10,1/Samples/Client File Verification/ |
H A D | FileVerifier.cpp | 30 bitStream->Write(fileList[i]->checkSum); in Serialize() 41 unsigned int checkSum; in DeserializeAndValidate() local 66 if (filename[0]==0 || bitStream->Read(checkSum)==false) in DeserializeAndValidate() 82 if (fileList[foundFileIndex]->checkSum!=checkSum) in DeserializeAndValidate() 124 CheckSum checkSum; in AddFileForVerification() local 160 checkSum.Add((unsigned char)(fileData[i])); in AddFileForVerification() 167 fwcs->checkSum=checkSum.Get(); in AddFileForVerification()
|
/dports/print/splix/splix-6752e71281f1289a3b76357d84b65b0d893615b3/splix/src/ |
H A D | qpdl.cpp | 72 unsigned long dataSize, checkSum, lineBytes; in _renderJBIGBand() local 118 checkSum = plane->checksum(); in _renderJBIGBand() 121 header[2] = checkSum >> 8; // Checksum 8 - 15 in _renderJBIGBand() 122 header[3] = checkSum; // Checksum 0 - 7 in _renderJBIGBand() 133 unsigned long version, subVersion, size, dataSize, checkSum; in _renderBand() local 153 checkSum = plane->checksum(); in _renderBand() 236 checkSum += 0x39 + 0xAB + 0xCD + 0xEF; in _renderBand() 241 checkSum += 0x01; in _renderBand() 244 checkSum += 0x02; in _renderBand() 292 checkSum += header[size + j]; in _renderBand() [all …]
|
/dports/editors/texmaker/texmaker-5.0.3/pdfium/xfa/fxbarcode/oned/ |
H A D | BC_OnedCode128Writer.cpp | 189 int32_t checkSum = 0; in Encode() local 198 checkSum %= 103; in Encode() 199 patterns.Add(CODE_PATTERNS[checkSum]); in Encode() 226 int32_t checkSum = 0; in Encode128B() local 230 checkSum += CODE_START_B * checkWeight; in Encode128B() 236 checkSum += patternIndex * checkWeight; in Encode128B() 241 return checkSum; in Encode128B() 247 int32_t checkSum = 0; in Encode128C() local 251 checkSum += CODE_START_C * checkWeight; in Encode128C() 268 checkSum += patternIndex * checkWeight; in Encode128C() [all …]
|
/dports/print/splix/splix-6752e71281f1289a3b76357d84b65b0d893615b3/branches/branche-2.0/src/ |
H A D | qpdl.cpp | 34 unsigned long version, subVersion, compression, size, dataSize, checkSum; in _renderBand() local 53 checkSum = plane->checksum(); in _renderBand() 132 checkSum += 0x39 + 0xAB + 0xCD + 0xEF; in _renderBand() 137 checkSum += 0x01; in _renderBand() 140 checkSum += 0x02; in _renderBand() 171 checkSum += header[size + j]; in _renderBand() 175 checkSum += header[size - j - 1]; in _renderBand() 188 header[0] = checkSum >> 24; // Checksum 24 - 31 in _renderBand() 189 header[1] = checkSum >> 16; // Checksum 16 - 23 in _renderBand() 190 header[2] = checkSum >> 8; // Checksum 8 - 15 in _renderBand() [all …]
|
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/cretz/bine/torutil/ |
H A D | key.go | 58 checkSum := sha3.Sum256(append(append([]byte(".onion checksum"), key...), 0x03)) 61 keyBytes[32] = checkSum[0] 62 keyBytes[33] = checkSum[1] 80 checkSum := sha3.Sum256(append(append([]byte(".onion checksum"), key...), 0x03)) 81 if byts[32] != checkSum[0] || byts[33] != checkSum[1] {
|
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/cretz/bine/torutil/ |
H A D | key.go | 58 checkSum := sha3.Sum256(append(append([]byte(".onion checksum"), key...), 0x03)) 61 keyBytes[32] = checkSum[0] 62 keyBytes[33] = checkSum[1] 80 checkSum := sha3.Sum256(append(append([]byte(".onion checksum"), key...), 0x03)) 81 if byts[32] != checkSum[0] || byts[33] != checkSum[1] {
|
/dports/textproc/libwpd010/libwpd-0.10.3/src/lib/ |
H A D | WPXEncryption.cpp | 57 unsigned short checkSum = 0; in getCheckSum() local 59 …checkSum = (unsigned short)(((checkSum >> 1) | (checkSum << 15)) ^ (((unsigned short)*(i())) << 8)… in getCheckSum() 60 WPD_DEBUG_MSG(("CheckSum: 0x%.4x\n", checkSum)); in getCheckSum() 61 return checkSum; in getCheckSum()
|
/dports/print/splix/splix-6752e71281f1289a3b76357d84b65b0d893615b3/tags/splix-2.0.0/src/ |
H A D | qpdl.cpp | 34 unsigned long version, subVersion, size, dataSize, checkSum; in _renderBand() local 54 checkSum = plane->checksum(); in _renderBand() 137 checkSum += 0x39 + 0xAB + 0xCD + 0xEF; in _renderBand() 142 checkSum += 0x01; in _renderBand() 145 checkSum += 0x02; in _renderBand() 193 checkSum += header[size + j]; in _renderBand() 197 checkSum += header[size - j - 1]; in _renderBand() 212 header[0] = checkSum >> 24; // Checksum 24 - 31 in _renderBand() 213 header[1] = checkSum >> 16; // Checksum 16 - 23 in _renderBand() 214 header[2] = checkSum >> 8; // Checksum 8 - 15 in _renderBand() [all …]
|
/dports/www/bolt/bolt-2.2.24/vendor/symfony/validator/Symfony/Component/Validator/Constraints/ |
H A D | IsbnValidator.php | 117 $checkSum = 0; 135 $checkSum += $digit * (10 - $i); 142 return 0 === $checkSum % 11 ? true : Isbn::CHECKSUM_FAILED_ERROR; 166 $checkSum = 0; 169 $checkSum += $isbn{$i}; 173 $checkSum += $isbn{$i} 177 return 0 === $checkSum % 10 ? true : Isbn::CHECKSUM_FAILED_ERROR;
|
H A D | LuhnValidator.php | 67 $checkSum = 0; 76 $checkSum += $value{$i}; 86 $checkSum += array_sum(str_split($value{$i} * 2)); 89 if (0 === $checkSum || 0 !== $checkSum % 10) {
|
/dports/mail/phplist/phplist-3.6.6/public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Validator/Constraints/ |
H A D | IsbnValidator.php | 109 $checkSum = 0; 127 $checkSum += $digit * (10 - $i); 134 return 0 === $checkSum % 11 ? true : Isbn::CHECKSUM_FAILED_ERROR; 158 $checkSum = 0; 161 $checkSum += $isbn[$i]; 165 $checkSum += $isbn[$i] 169 return 0 === $checkSum % 10 ? true : Isbn::CHECKSUM_FAILED_ERROR;
|
H A D | LuhnValidator.php | 66 $checkSum = 0; 75 $checkSum += $value[$i]; 85 $checkSum += array_sum(str_split((int) $value[$i] * 2)); 88 if (0 === $checkSum || 0 !== $checkSum % 10) {
|
/dports/finance/prestashop/prestashop/vendor/symfony/symfony/src/Symfony/Component/Validator/Constraints/ |
H A D | IsbnValidator.php | 109 $checkSum = 0; 127 $checkSum += $digit * (10 - $i); 134 return 0 === $checkSum % 11 ? true : Isbn::CHECKSUM_FAILED_ERROR; 158 $checkSum = 0; 161 $checkSum += $isbn[$i]; 165 $checkSum += $isbn[$i] 169 return 0 === $checkSum % 10 ? true : Isbn::CHECKSUM_FAILED_ERROR;
|
H A D | LuhnValidator.php | 66 $checkSum = 0; 75 $checkSum += $value[$i]; 85 $checkSum += array_sum(str_split((int) $value[$i] * 2)); 88 if (0 === $checkSum || 0 !== $checkSum % 10) {
|
/dports/www/drupal8/drupal-8.9.20/vendor/symfony/validator/Constraints/ |
H A D | IsbnValidator.php | 109 $checkSum = 0; 127 $checkSum += $digit * (10 - $i); 134 return 0 === $checkSum % 11 ? true : Isbn::CHECKSUM_FAILED_ERROR; 158 $checkSum = 0; 161 $checkSum += $isbn[$i]; 165 $checkSum += $isbn[$i] 169 return 0 === $checkSum % 10 ? true : Isbn::CHECKSUM_FAILED_ERROR;
|
H A D | LuhnValidator.php | 66 $checkSum = 0; 75 $checkSum += $value[$i]; 85 $checkSum += array_sum(str_split((int) $value[$i] * 2)); 88 if (0 === $checkSum || 0 !== $checkSum % 10) {
|
/dports/www/drupal9/drupal-9.2.10/vendor/symfony/validator/Constraints/ |
H A D | IsbnValidator.php | 110 $checkSum = 0; 128 $checkSum += $digit * (10 - $i); 135 return 0 === $checkSum % 11 ? true : Isbn::CHECKSUM_FAILED_ERROR; 159 $checkSum = 0; 162 $checkSum += $isbn[$i]; 166 $checkSum += $isbn[$i] * 3; 169 return 0 === $checkSum % 10 ? true : Isbn::CHECKSUM_FAILED_ERROR;
|
H A D | LuhnValidator.php | 67 $checkSum = 0; 76 $checkSum += $value[$i]; 86 $checkSum += array_sum(str_split((int) $value[$i] * 2)); 89 if (0 === $checkSum || 0 !== $checkSum % 10) {
|
/dports/archivers/unadf/ADFlib-f3af9e0/src/ |
H A D | adf_blk.h | 107 /*004*/ ULONG checkSum; member 119 /*014*/ ULONG checkSum; member 149 /*014*/ ULONG checkSum; member 182 /*014*/ ULONG checkSum; member 200 /*014*/ ULONG checkSum; member 231 /*014*/ ULONG checkSum; member 239 /*000*/ ULONG checkSum; member 254 /*014*/ ULONG checkSum; member 282 /*014*/ ULONG checkSum; member
|