id: 1 unit: static int stbi_write_jpg_core() file: Support/STBImage/include/stb_image_write.h start line: 1344 end line: 1551 size: 184 LOC McCabe index: 34 number of parameters: 6 id: 2 unit: static int stbi__create_png_image_raw() file: Support/STBImage/include/stb_image.h start line: 4478 end line: 4688 size: 170 LOC McCabe index: 57 number of parameters: 8 id: 3 unit: static int stbi__parse_png_file() file: Support/STBImage/include/stb_image.h start line: 4879 end line: 5051 size: 154 LOC McCabe index: 84 number of parameters: 3 id: 4 unit: static void stbi__idct_simd() file: Support/STBImage/include/stb_image.h start line: 2596 end line: 2796 size: 151 LOC McCabe index: 1 number of parameters: 3 id: 5 unit: static void stbi__idct_simd() file: Support/STBImage/include/stb_image.h start line: 2415 end line: 2588 size: 129 LOC McCabe index: 1 number of parameters: 3 id: 6 unit: func traverse() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 954 end line: 1064 size: 111 LOC McCabe index: 36 number of parameters: 1 id: 7 unit: static int stbi__jpeg_decode_block_prog_ac() file: Support/STBImage/include/stb_image.h start line: 2181 end line: 2298 size: 106 LOC McCabe index: 30 number of parameters: 4 id: 8 unit: init() file: Datasets/COCO/COCO.swift start line: 408 end line: 514 size: 104 LOC McCabe index: 28 number of parameters: 3 id: 9 unit: static int stbi__parse_entropy_coded_data() file: Support/STBImage/include/stb_image.h start line: 2834 end line: 2956 size: 101 LOC McCabe index: 36 number of parameters: 1 id: 10 unit: static void stbi__YCbCr_to_RGB_simd() file: Support/STBImage/include/stb_image.h start line: 3542 end line: 3673 size: 99 LOC McCabe index: 12 number of parameters: 6 id: 11 unit: static int stbi__process_marker() file: Support/STBImage/include/stb_image.h start line: 2984 end line: 3084 size: 92 LOC McCabe index: 37 number of parameters: 2 id: 12 unit: func decompressSnappyStream() file: Checkpoints/SnappyDecompression.swift start line: 65 end line: 159 size: 84 LOC McCabe index: 13 number of parameters: 1 id: 13 unit: init() file: Datasets/COCO/COCO.swift start line: 516 end line: 597 size: 82 LOC McCabe index: 17 number of parameters: 2 id: 14 unit: static void stbiw__write_hdr_scanline() file: Support/STBImage/include/stb_image_write.h start line: 634 end line: 721 size: 75 LOC McCabe index: 21 number of parameters: 5 id: 15 unit: static int stbi_write_tga_core() file: Support/STBImage/include/stb_image_write.h start line: 497 end line: 573 size: 70 LOC McCabe index: 20 number of parameters: 5 id: 16 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/event.pb.swift start line: 343 end line: 408 size: 63 LOC McCabe index: 33 number of parameters: 1 id: 17 unit: static int stbi__process_frame_header() file: Support/STBImage/include/stb_image.h start line: 3148 end line: 3229 size: 62 LOC McCabe index: 27 number of parameters: 2 id: 18 unit: static int stbi__tga_info() file: Support/STBImage/include/stb_image.h start line: 5500 end line: 5563 size: 62 LOC McCabe index: 24 number of parameters: 4 id: 19 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/summary.pb.swift start line: 690 end line: 753 size: 61 LOC McCabe index: 31 number of parameters: 1 id: 20 unit: mutating func addStone() file: MiniGo/GameLib/LibertyTracker.swift start line: 69 end line: 155 size: 59 LOC McCabe index: 7 number of parameters: 2 id: 21 unit: static int stbiw__jpg_processDU() file: Support/STBImage/include/stb_image_write.h start line: 1274 end line: 1342 size: 59 LOC McCabe index: 16 number of parameters: 9 id: 22 unit: func loadCOCOExample() file: Datasets/COCO/COCODataset.swift start line: 116 end line: 170 size: 55 LOC McCabe index: 6 number of parameters: 3 id: 23 unit: mutating func append() file: Support/GIF.swift start line: 107 end line: 169 size: 53 LOC McCabe index: 7 number of parameters: 2 id: 24 unit: init?() file: Checkpoints/Protobufs/types.pb.swift start line: 106 end line: 157 size: 52 LOC McCabe index: 48 number of parameters: 1 id: 25 unit: func makeGradientBenchmark() file: SwiftModelsBenchmarksCore/Layers/LayerSuite.swift start line: 84 end line: 139 size: 47 LOC McCabe index: 4 number of parameters: 1 id: 26 unit: func wordSegBenchmark() file: SwiftModelsBenchmarksCore/Models/WordSeg.swift start line: 72 end line: 129 size: 47 LOC McCabe index: 5 number of parameters: 3 id: 27 unit: mutating func decodeMessage() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 906 end line: 952 size: 47 LOC McCabe index: 38 number of parameters: 1 id: 28 unit: func update() file: Gym/PPO/Agent.swift start line: 89 end line: 147 size: 47 LOC McCabe index: 4 number of parameters: 0 id: 29 unit: static unsigned int stbiw__crc32() file: Support/STBImage/include/stb_image_write.h start line: 970 end line: 1017 size: 47 LOC McCabe index: 2 number of parameters: 2 id: 30 unit: init?() file: TensorBoard/Protobufs/types.pb.swift start line: 98 end line: 143 size: 46 LOC McCabe index: 42 number of parameters: 1 id: 31 unit: static int stbi__compute_huffman_codes() file: Support/STBImage/include/stb_image.h start line: 4168 end line: 4215 size: 45 LOC McCabe index: 13 number of parameters: 1 id: 32 unit: static int stbi__pic_info() file: Support/STBImage/include/stb_image.h start line: 7118 end line: 7173 size: 45 LOC McCabe index: 13 number of parameters: 4 id: 33 unit: func traverse() file: TensorBoard/Protobufs/tensor.pb.swift start line: 143 end line: 187 size: 45 LOC McCabe index: 15 number of parameters: 1 id: 34 unit: func serializedHeader() file: Checkpoints/CheckpointIndexWriter.swift start line: 33 end line: 89 size: 44 LOC McCabe index: 3 number of parameters: 0 id: 35 unit: static int stbi__zbuild_huffman() file: Support/STBImage/include/stb_image.h start line: 3969 end line: 4014 size: 44 LOC McCabe index: 11 number of parameters: 3 id: 36 unit: static int stbi__jpeg_decode_block() file: Support/STBImage/include/stb_image.h start line: 2102 end line: 2152 size: 43 LOC McCabe index: 10 number of parameters: 7 id: 37 unit: func followDisplacement() file: PersonLab/Decoder.swift start line: 75 end line: 124 size: 42 LOC McCabe index: 1 number of parameters: 3 id: 38 unit: static int stbi__parse_huffman_block() file: Support/STBImage/include/stb_image.h start line: 4126 end line: 4166 size: 41 LOC McCabe index: 18 number of parameters: 1 id: 39 unit: func makeForwardBenchmark() file: SwiftModelsBenchmarksCore/Layers/LayerSuite.swift start line: 34 end line: 82 size: 40 LOC McCabe index: 4 number of parameters: 1 id: 40 unit: func runImageClassificationTraining() file: SwiftModelsBenchmarksCore/Models/ImageClassificationTraining.swift start line: 19 end line: 67 size: 40 LOC McCabe index: 5 number of parameters: 3 id: 41 unit: func keyValueBlock() file: Checkpoints/CheckpointIndexWriter.swift start line: 124 end line: 170 size: 40 LOC McCabe index: 2 number of parameters: 3 id: 42 unit: func traverse() file: TensorBoard/Protobufs/event.pb.swift start line: 410 end line: 452 size: 40 LOC McCabe index: 18 number of parameters: 1 id: 43 unit: func traverse() file: TensorBoard/Protobufs/summary.pb.swift start line: 755 end line: 797 size: 40 LOC McCabe index: 16 number of parameters: 1 id: 44 unit: func placingNewStone() file: MiniGo/GameLib/BoardState.swift start line: 139 end line: 191 size: 39 LOC McCabe index: 7 number of parameters: 1 id: 45 unit: static void stbi__idct_block() file: Support/STBImage/include/stb_image.h start line: 2352 end line: 2409 size: 39 LOC McCabe index: 10 number of parameters: 3 id: 46 unit: static int stbi__create_png_image() file: Support/STBImage/include/stb_image.h start line: 4690 end line: 4732 size: 39 LOC McCabe index: 9 number of parameters: 7 id: 47 unit: static void stbi__de_iphone() file: Support/STBImage/include/stb_image.h start line: 4834 end line: 4875 size: 39 LOC McCabe index: 7 number of parameters: 1 id: 48 unit: static int stbi__hdr_info() file: Support/STBImage/include/stb_image.h start line: 6985 end line: 7027 size: 39 LOC McCabe index: 12 number of parameters: 4 id: 49 unit: def run_swift_benchmark() file: SwiftModelsBenchmarks/__init__.py start line: 0 end line: 0 size: 38 LOC McCabe index: 8 number of parameters: 1 id: 50 unit: init() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 855 end line: 891 size: 37 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: static int stbi__decode_jpeg_image() file: Support/STBImage/include/stb_image.h start line: 3265 end line: 3303 size: 37 LOC McCabe index: 15 number of parameters: 1 id: 52 unit: func makeLayerSuite() file: SwiftModelsBenchmarksCore/Layers/LayerSuite.swift start line: 141 end line: 178 size: 36 LOC McCabe index: 3 number of parameters: 7 id: 53 unit: func train() file: Gym/DQN/Agent.swift start line: 114 end line: 158 size: 36 LOC McCabe index: 3 number of parameters: 1 id: 54 unit: static int stbi__process_scan_header() file: Support/STBImage/include/stb_image.h start line: 3087 end line: 3124 size: 36 LOC McCabe index: 19 number of parameters: 1 id: 55 unit: func nextBatch() file: Gym/CartPole/main.swift start line: 115 end line: 161 size: 35 LOC McCabe index: 4 number of parameters: 4 id: 56 unit: static void stbiw__jpg_DCT() file: Support/STBImage/include/stb_image_write.h start line: 1216 end line: 1262 size: 35 LOC McCabe index: 1 number of parameters: 8 id: 57 unit: static int stbi__build_huffman() file: Support/STBImage/include/stb_image.h start line: 1902 end line: 1942 size: 34 LOC McCabe index: 10 number of parameters: 2 id: 58 unit: static int stbi__psd_info() file: Support/STBImage/include/stb_image.h start line: 7054 end line: 7087 size: 34 LOC McCabe index: 10 number of parameters: 4 id: 59 unit: mutating func createIndex() file: Datasets/COCO/COCO.swift start line: 50 end line: 82 size: 33 LOC McCabe index: 11 number of parameters: 0 id: 60 unit: func run() file: PersonLab/main.swift start line: 37 end line: 72 size: 33 LOC McCabe index: 7 number of parameters: 0 id: 61 unit: func runImageClassificationInference() file: SwiftModelsBenchmarksCore/Models/ImageClassificationInference.swift start line: 26 end line: 61 size: 32 LOC McCabe index: 5 number of parameters: 3 id: 62 unit: func loadCIFAR100File() file: Datasets/CIFAR100/CIFAR100.swift start line: 111 end line: 147 size: 32 LOC McCabe index: 3 number of parameters: 2 id: 63 unit: static int stbi__info_main() file: Support/STBImage/include/stb_image.h start line: 7303 end line: 7343 size: 32 LOC McCabe index: 10 number of parameters: 4 id: 64 unit: static void stbiw__encode_png_line() file: Support/STBImage/include/stb_image_write.h start line: 1038 end line: 1072 size: 32 LOC McCabe index: 24 number of parameters: 8 id: 65 unit: func _vjpBatchedMatmul() file: Models/Text/GPT2/Operators.swift start line: 34 end line: 64 size: 31 LOC McCabe index: 4 number of parameters: 4 id: 66 unit: func quantizeColor() file: Support/AnimatedImage.swift start line: 62 end line: 95 size: 31 LOC McCabe index: 4 number of parameters: 1 id: 67 unit: stbi_inline static int stbi__jpeg_huff_decode() file: Support/STBImage/include/stb_image.h start line: 1993 end line: 2040 size: 31 LOC McCabe index: 8 number of parameters: 2 id: 68 unit: static int stbi__psd_decode_rle() file: Support/STBImage/include/stb_image.h start line: 5825 end line: 5861 size: 31 LOC McCabe index: 9 number of parameters: 3 id: 69 unit: func fetchMNISTDataset() file: Datasets/MNIST/MNISTDatasetHandler.swift start line: 18 end line: 52 size: 30 LOC McCabe index: 2 number of parameters: 4 id: 70 unit: func filteringBatch() file: Gym/CartPole/main.swift start line: 72 end line: 113 size: 30 LOC McCabe index: 4 number of parameters: 2 id: 71 unit: static int stbi__expand_png_palette() file: Support/STBImage/include/stb_image.h start line: 4784 end line: 4819 size: 30 LOC McCabe index: 5 number of parameters: 4 id: 72 unit: func getSortedLocallyMaximumKeypoints() file: PersonLab/Decoder.swift start line: 155 end line: 185 size: 30 LOC McCabe index: 6 number of parameters: 0 id: 73 unit: func wordSegSuite() file: SwiftModelsBenchmarksCore/Models/WordSeg.swift start line: 43 end line: 70 size: 28 LOC McCabe index: 1 number of parameters: 4 id: 74 unit: init() file: pix2pix/CheckpointReader.swift start line: 166 end line: 195 size: 28 LOC McCabe index: 1 number of parameters: 3 id: 75 unit: static int stbi__tga_test() file: Support/STBImage/include/stb_image.h start line: 5565 end line: 5594 size: 28 LOC McCabe index: 24 number of parameters: 1 id: 76 unit: static void stbi__out_gif_code() file: Support/STBImage/include/stb_image.h start line: 6379 end line: 6414 size: 28 LOC McCabe index: 7 number of parameters: 2 id: 77 unit: static void stbiw__writefv() file: Support/STBImage/include/stb_image_write.h start line: 346 end line: 373 size: 28 LOC McCabe index: 6 number of parameters: 3 id: 78 unit: static void stbiw__write_pixel() file: Support/STBImage/include/stb_image_write.h start line: 395 end line: 426 size: 28 LOC McCabe index: 10 number of parameters: 6 id: 79 unit: func promoteNewRoot() file: MiniGo/Strategies/MCTS/MCTSTree.swift start line: 37 end line: 71 size: 27 LOC McCabe index: 5 number of parameters: 1 id: 80 unit: static int stbi__pnm_info() file: Support/STBImage/include/stb_image.h start line: 7264 end line: 7300 size: 27 LOC McCabe index: 9 number of parameters: 4 id: 81 unit: init() file: Datasets/COCO/COCO.swift start line: 372 end line: 397 size: 26 LOC McCabe index: 6 number of parameters: 3 id: 82 unit: func traverse() file: Checkpoints/Protobufs/tensor_bundle.pb.swift start line: 319 end line: 344 size: 26 LOC McCabe index: 8 number of parameters: 1 id: 83 unit: static int stbi__parse_uncompressed_block() file: Support/STBImage/include/stb_image.h start line: 4217 end line: 4244 size: 26 LOC McCabe index: 8 number of parameters: 1 id: 84 unit: static int stbi__parse_zlib() file: Support/STBImage/include/stb_image.h start line: 4288 end line: 4314 size: 26 LOC McCabe index: 12 number of parameters: 2 id: 85 unit: static int stbi__psd_is16() file: Support/STBImage/include/stb_image.h start line: 7089 end line: 7114 size: 26 LOC McCabe index: 5 number of parameters: 1 id: 86 unit: func applyImageNetDataAugmentation() file: Datasets/Imagenette/ImageNet.swift start line: 208 end line: 245 size: 25 LOC McCabe index: 3 number of parameters: 2 id: 87 unit: static void stbi__hdr_convert() file: Support/STBImage/include/stb_image.h start line: 6830 end line: 6855 size: 25 LOC McCabe index: 9 number of parameters: 3 id: 88 unit: static void stbi__YCbCr_to_RGB_row() file: Support/STBImage/include/stb_image.h start line: 3516 end line: 3539 size: 24 LOC McCabe index: 8 number of parameters: 6 id: 89 unit: func traverse() file: TensorBoard/Protobufs/summary.pb.swift start line: 393 end line: 416 size: 24 LOC McCabe index: 8 number of parameters: 1 id: 90 unit: func makeImageNetBatch() file: Datasets/Imagenette/ImageNet.swift start line: 247 end line: 273 size: 23 LOC McCabe index: 3 number of parameters: 6 id: 91 unit: func child() file: MiniGo/Strategies/MCTS/MCTSTree.swift start line: 79 end line: 106 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 92 unit: func writeShard() file: Checkpoints/CheckpointWriter.swift start line: 60 end line: 85 size: 23 LOC McCabe index: 2 number of parameters: 5 id: 93 unit: func loadCOCOExamples() file: Datasets/COCO/COCODataset.swift start line: 93 end line: 114 size: 22 LOC McCabe index: 3 number of parameters: 3 id: 94 unit: func loadCIFARFile() file: Datasets/CIFAR10/CIFAR10.swift start line: 120 end line: 145 size: 22 LOC McCabe index: 2 number of parameters: 2 id: 95 unit: func traverse() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 1157 end line: 1178 size: 22 LOC McCabe index: 7 number of parameters: 1 id: 96 unit: init() file: Models/ImageClassification/EfficientNet.swift start line: 63 end line: 84 size: 22 LOC McCabe index: 1 number of parameters: 2 id: 97 unit: func sample() file: Gym/DQN/ReplayBuffer.swift start line: 79 end line: 104 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 98 unit: static int stbi__decode_jpeg_header() file: Support/STBImage/include/stb_image.h start line: 3240 end line: 3262 size: 22 LOC McCabe index: 8 number of parameters: 2 id: 99 unit: static int stbi_write_hdr_core() file: Support/STBImage/include/stb_image_write.h start line: 723 end line: 747 size: 22 LOC McCabe index: 6 number of parameters: 5 id: 100 unit: func getNextKeypointIndexAndDirection() file: PersonLab/Pose.swift start line: 75 end line: 96 size: 22 LOC McCabe index: 18 number of parameters: 1 id: 101 unit: mutating func load() file: MiniGo/Models/MiniGoCheckpointReader.swift start line: 80 end line: 108 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 102 unit: func getPretrainedWeightsDict() file: Models/ImageClassification/BigTransfer.swift start line: 59 end line: 83 size: 21 LOC McCabe index: 5 number of parameters: 1 id: 103 unit: func sampleEnvironment() file: Gym/FrozenLake/main.swift start line: 64 end line: 85 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 104 unit: mutating func readCheckpoint() file: Checkpoints/Checkpointable.swift start line: 107 end line: 132 size: 21 LOC McCabe index: 2 number of parameters: 3 id: 105 unit: static void stbi__vertical_flip() file: Support/STBImage/include/stb_image.h start line: 1128 end line: 1150 size: 21 LOC McCabe index: 4 number of parameters: 4 id: 106 unit: static void stbi__build_fast_ac() file: Support/STBImage/include/stb_image.h start line: 1946 end line: 1969 size: 21 LOC McCabe index: 8 number of parameters: 2 id: 107 unit: static int stbi__free_jpeg_components() file: Support/STBImage/include/stb_image.h start line: 3126 end line: 3146 size: 21 LOC McCabe index: 5 number of parameters: 3 id: 108 unit: static int stbi__gif_header() file: Support/STBImage/include/stb_image.h start line: 6337 end line: 6363 size: 21 LOC McCabe index: 11 number of parameters: 4 id: 109 unit: static void stbiw__write_pixels() file: Support/STBImage/include/stb_image_write.h start line: 428 end line: 452 size: 21 LOC McCabe index: 6 number of parameters: 10 id: 110 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/tensor.pb.swift start line: 118 end line: 141 size: 21 LOC McCabe index: 16 number of parameters: 1 id: 111 unit: func callAsFunction() file: Models/ImageClassification/EfficientNet.swift start line: 153 end line: 173 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 112 unit: func append() file: Gym/DQN/ReplayBuffer.swift start line: 57 end line: 77 size: 20 LOC McCabe index: 2 number of parameters: 5 id: 113 unit: init() file: Gym/PPO/ActorCritic.swift start line: 27 end line: 46 size: 20 LOC McCabe index: 1 number of parameters: 3 id: 114 unit: static int stbi__getn() file: Support/STBImage/include/stb_image.h start line: 1566 end line: 1588 size: 20 LOC McCabe index: 4 number of parameters: 3 id: 115 unit: static int stbi__compute_transparency() file: Support/STBImage/include/stb_image.h start line: 4734 end line: 4757 size: 20 LOC McCabe index: 9 number of parameters: 3 id: 116 unit: static int stbi__compute_transparency16() file: Support/STBImage/include/stb_image.h start line: 4759 end line: 4782 size: 20 LOC McCabe index: 9 number of parameters: 3 id: 117 unit: func decode() file: PersonLab/Decoder.swift start line: 36 end line: 59 size: 20 LOC McCabe index: 4 number of parameters: 0 id: 118 unit: init() file: Gym/PPO/ActorCritic.swift start line: 65 end line: 83 size: 19 LOC McCabe index: 1 number of parameters: 2 id: 119 unit: static int stbi__jpeg_decode_block_prog_dc() file: Support/STBImage/include/stb_image.h start line: 2154 end line: 2177 size: 19 LOC McCabe index: 6 number of parameters: 4 id: 120 unit: static int stbi__shiftsigned() file: Support/STBImage/include/stb_image.h start line: 5183 end line: 5201 size: 19 LOC McCabe index: 3 number of parameters: 3 id: 121 unit: static int stbi__bmp_info() file: Support/STBImage/include/stb_image.h start line: 7031 end line: 7050 size: 19 LOC McCabe index: 8 number of parameters: 4 id: 122 unit: init() file: Datasets/COCO/COCO.swift start line: 258 end line: 275 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 123 unit: func traverse() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 1328 end line: 1345 size: 18 LOC McCabe index: 5 number of parameters: 1 id: 124 unit: mutating func putKey() file: Support/GIF.swift start line: 178 end line: 195 size: 18 LOC McCabe index: 3 number of parameters: 2 id: 125 unit: static void stbi__setup_jpeg() file: Support/STBImage/include/stb_image.h start line: 3677 end line: 3696 size: 18 LOC McCabe index: 2 number of parameters: 1 id: 126 unit: static int stbi__zexpand() file: Support/STBImage/include/stb_image.h start line: 4093 end line: 4110 size: 18 LOC McCabe index: 4 number of parameters: 3 id: 127 unit: func loadJPEG() file: ImageLoader/JPEGImageOperations/JPEGImageOperations.swift start line: 73 end line: 109 size: 18 LOC McCabe index: 1 number of parameters: 2 id: 128 unit: func saveJPEG() file: ImageLoader/JPEGImageOperations/JPEGImageOperations.swift start line: 111 end line: 147 size: 18 LOC McCabe index: 2 number of parameters: 2 id: 129 unit: func traverse() file: TensorBoard/Protobufs/resource_handle.pb.swift start line: 83 end line: 100 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 130 unit: func traverse() file: TensorBoard/Protobufs/summary.pb.swift start line: 621 end line: 638 size: 18 LOC McCabe index: 6 number of parameters: 1 id: 131 unit: mutating func step() file: Catch/main.swift start line: 135 end line: 155 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 132 unit: func partitionPoint() file: TrainingLoop/Callbacks/LearningRateScheduler/LearningRateSchedule.swift start line: 153 end line: 170 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 133 unit: init() file: pix2pix/CheckpointReader.swift start line: 86 end line: 102 size: 17 LOC McCabe index: 1 number of parameters: 3 id: 134 unit: func passing() file: MiniGo/GameLib/BoardState.swift start line: 120 end line: 136 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 135 unit: func normalStrategyLookup() file: Gym/Blackjack/main.swift start line: 111 end line: 128 size: 17 LOC McCabe index: 13 number of parameters: 1 id: 136 unit: func findCheckpointBase() file: Checkpoints/CheckpointReader.swift start line: 114 end line: 131 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 137 unit: func indexBlock() file: Checkpoints/CheckpointIndexWriter.swift start line: 172 end line: 195 size: 17 LOC McCabe index: 1 number of parameters: 2 id: 138 unit: mutating func decodeMessage() file: Checkpoints/Protobufs/tensor_bundle.pb.swift start line: 301 end line: 317 size: 17 LOC McCabe index: 9 number of parameters: 1 id: 139 unit: static void stbi__grow_buffer_unsafe() file: Support/STBImage/include/stb_image.h start line: 1971 end line: 1987 size: 17 LOC McCabe index: 6 number of parameters: 1 id: 140 unit: static void stbi__jpeg_finish() file: Support/STBImage/include/stb_image.h start line: 2965 end line: 2982 size: 17 LOC McCabe index: 5 number of parameters: 1 id: 141 unit: def discover_swift_benchmarks() file: SwiftModelsBenchmarks/__init__.py start line: 0 end line: 0 size: 17 LOC McCabe index: 4 number of parameters: 0 id: 142 unit: func exploreImageNetDirectory() file: Datasets/Imagenette/ImageNet.swift start line: 157 end line: 173 size: 16 LOC McCabe index: 2 number of parameters: 3 id: 143 unit: func exploreImagenetteDirectory() file: Datasets/Imagenette/Imagenette.swift start line: 152 end line: 168 size: 16 LOC McCabe index: 2 number of parameters: 4 id: 144 unit: func makeImagenetteBatch() file: Datasets/Imagenette/Imagenette.swift start line: 213 end line: 231 size: 16 LOC McCabe index: 2 number of parameters: 5 id: 145 unit: func downloadOxfordIIITPetsIfNotPresent() file: Datasets/OxfordIIITPets/OxfordIIITPets.swift start line: 112 end line: 131 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 146 unit: mutating func decodeMessage() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 1311 end line: 1326 size: 16 LOC McCabe index: 7 number of parameters: 1 id: 147 unit: mutating func unsafeImport() file: FastStyleTransfer/Utility/ImportableLayer.swift start line: 48 end line: 65 size: 16 LOC McCabe index: 6 number of parameters: 2 id: 148 unit: func readVarint32() file: Checkpoints/SnappyDecompression.swift start line: 34 end line: 51 size: 16 LOC McCabe index: 4 number of parameters: 1 id: 149 unit: func headerBlock() file: Checkpoints/CheckpointIndexWriter.swift start line: 105 end line: 122 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 150 unit: func quantizeGrey() file: Support/AnimatedImage.swift start line: 44 end line: 60 size: 16 LOC McCabe index: 3 number of parameters: 1 id: 151 unit: mutating func addHeader() file: Support/GIF.swift start line: 89 end line: 105 size: 16 LOC McCabe index: 4 number of parameters: 0 id: 152 unit: static void stbi__skip() file: Support/STBImage/include/stb_image.h start line: 1545 end line: 1560 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 153 unit: static void stbiw__jpg_writeBits() file: Support/STBImage/include/stb_image_write.h start line: 1199 end line: 1214 size: 16 LOC McCabe index: 3 number of parameters: 4 id: 154 unit: func recursivellyDrawNextKeypoint() file: PersonLab/Utils.swift start line: 46 end line: 61 size: 16 LOC McCabe index: 4 number of parameters: 2 id: 155 unit: func scoreIsMaximumInLocalWindow() file: PersonLab/Decoder.swift start line: 126 end line: 141 size: 16 LOC McCabe index: 4 number of parameters: 4 id: 156 unit: mutating func decodeMessage() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 1141 end line: 1155 size: 15 LOC McCabe index: 9 number of parameters: 1 id: 157 unit: func splitQKV() file: Models/Text/GPT2/TransformerLM.swift start line: 185 end line: 199 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 158 unit: func qLearningStrategy() file: Gym/Blackjack/main.swift start line: 76 end line: 93 size: 15 LOC McCabe index: 4 number of parameters: 2 id: 159 unit: func getRecursiveProperties() file: FastStyleTransfer/Utility/ImportableLayer.swift start line: 21 end line: 36 size: 15 LOC McCabe index: 4 number of parameters: 1 id: 160 unit: STBIDEF int stbi_is_hdr_from_file() file: Support/STBImage/include/stb_image.h start line: 1444 end line: 1458 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 161 unit: func traverse() file: TensorBoard/Protobufs/summary.pb.swift start line: 569 end line: 583 size: 15 LOC McCabe index: 5 number of parameters: 1 id: 162 unit: func formatProgressBar() file: TrainingLoop/Callbacks/ProgressPrinter.swift start line: 72 end line: 85 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 163 unit: mutating func vjpSubscriptSetter() file: Models/Text/WordSeg/Lattice.swift start line: 164 end line: 177 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 164 unit: func playEpisode() file: Gym/FrozenLake/main.swift start line: 109 end line: 122 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 165 unit: func step() file: Gym/PPO/Agent.swift start line: 72 end line: 87 size: 14 LOC McCabe index: 1 number of parameters: 2 id: 166 unit: func shardData() file: Checkpoints/CheckpointReader.swift start line: 275 end line: 290 size: 14 LOC McCabe index: 3 number of parameters: 1 id: 167 unit: func crc32C() file: Checkpoints/CheckpointReader.swift start line: 329 end line: 344 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 168 unit: func traverse() file: Checkpoints/Protobufs/tensor_bundle.pb.swift start line: 219 end line: 232 size: 14 LOC McCabe index: 4 number of parameters: 1 id: 169 unit: func saveImage() file: Support/Image.swift start line: 178 end line: 193 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 170 unit: static int stbi__zhuffman_decode_slowpath() file: Support/STBImage/include/stb_image.h start line: 4061 end line: 4077 size: 14 LOC McCabe index: 4 number of parameters: 2 id: 171 unit: static int stbi__bmp_test_raw() file: Support/STBImage/include/stb_image.h start line: 5134 end line: 5147 size: 14 LOC McCabe index: 7 number of parameters: 1 id: 172 unit: static void stbiw__linear_to_rgbe() file: Support/STBImage/include/stb_image_write.h start line: 601 end line: 616 size: 14 LOC McCabe index: 2 number of parameters: 2 id: 173 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/summary.pb.swift start line: 375 end line: 391 size: 14 LOC McCabe index: 9 number of parameters: 1 id: 174 unit: func crc32C() file: TensorBoard/Support.swift start line: 49 end line: 64 size: 14 LOC McCabe index: 2 number of parameters: 0 id: 175 unit: func add() file: TensorBoard/EventLogger.swift start line: 32 end line: 50 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 176 unit: func makeRandomTensor() file: SwiftModelsBenchmarksCore/Layers/LayerSuite.swift start line: 20 end line: 32 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 177 unit: func makeMNISTBatch() file: Datasets/MNIST/MNISTDatasetHandler.swift start line: 54 end line: 68 size: 13 LOC McCabe index: 3 number of parameters: 4 id: 178 unit: func saveImageGrid() file: GAN/main.swift start line: 121 end line: 137 size: 13 LOC McCabe index: 1 number of parameters: 2 id: 179 unit: func traverse() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 1392 end line: 1404 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 180 unit: func evaluate() file: Gym/DQN/main.swift start line: 48 end line: 61 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 181 unit: func _vjpDimensionGathering() file: Gym/DQN/Gathering.swift start line: 32 end line: 44 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 182 unit: func bestValueAndAction() file: Gym/FrozenLake/main.swift start line: 87 end line: 99 size: 13 LOC McCabe index: 4 number of parameters: 1 id: 183 unit: func _vjpDimensionGathering() file: Gym/PPO/Gathering.swift start line: 32 end line: 44 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 184 unit: func writeCheckpoint() file: Checkpoints/Checkpointable.swift start line: 80 end line: 94 size: 13 LOC McCabe index: 1 number of parameters: 3 id: 185 unit: mutating func decodeMessage() file: Checkpoints/Protobufs/tensor_slice.pb.swift start line: 128 end line: 140 size: 13 LOC McCabe index: 6 number of parameters: 1 id: 186 unit: mutating func decodeMessage() file: Checkpoints/Protobufs/tensor_bundle.pb.swift start line: 205 end line: 217 size: 13 LOC McCabe index: 5 number of parameters: 1 id: 187 unit: static void stbi__refill_buffer() file: Support/STBImage/include/stb_image.h start line: 1499 end line: 1513 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 188 unit: stbi_inline static int stbi__extend_receive() file: Support/STBImage/include/stb_image.h start line: 2047 end line: 2060 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 189 unit: stbi_inline static int stbi__zhuffman_decode() file: Support/STBImage/include/stb_image.h start line: 4079 end line: 4091 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 190 unit: static int stbi__tga_get_comp() file: Support/STBImage/include/stb_image.h start line: 5484 end line: 5498 size: 13 LOC McCabe index: 9 number of parameters: 3 id: 191 unit: static int stbi__gif_info_raw() file: Support/STBImage/include/stb_image.h start line: 6365 end line: 6377 size: 13 LOC McCabe index: 4 number of parameters: 4 id: 192 unit: static int stbiw__outfile() file: Support/STBImage/include/stb_image_write.h start line: 454 end line: 466 size: 13 LOC McCabe index: 3 number of parameters: 12 id: 193 unit: STBIWDEF int stbi_write_png() file: Support/STBImage/include/stb_image_write.h start line: 1161 end line: 1174 size: 13 LOC McCabe index: 3 number of parameters: 6 id: 194 unit: func recursivellyAddNextKeypoint() file: PersonLab/Decoder.swift start line: 61 end line: 73 size: 13 LOC McCabe index: 4 number of parameters: 2 id: 195 unit: init() file: TensorBoard/EventLogger.swift start line: 11 end line: 29 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 196 unit: func downloadImagenetteIfNotPresent() file: Datasets/Imagenette/Imagenette.swift start line: 137 end line: 150 size: 12 LOC McCabe index: 3 number of parameters: 3 id: 197 unit: init() file: MiniGo/GameLib/BoardState.swift start line: 71 end line: 82 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 198 unit: mutating func decodeMessage() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 1379 end line: 1390 size: 12 LOC McCabe index: 6 number of parameters: 1 id: 199 unit: func strategy() file: Gym/Blackjack/main.swift start line: 138 end line: 149 size: 12 LOC McCabe index: 5 number of parameters: 3 id: 200 unit: func decompressFromSnappy() file: Checkpoints/SnappyDecompression.swift start line: 162 end line: 176 size: 12 LOC McCabe index: 3 number of parameters: 0 id: 201 unit: func findShortestSuccessor() file: Checkpoints/CheckpointIndexWriter.swift start line: 92 end line: 103 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 202 unit: func traverse() file: Checkpoints/Protobufs/versions.pb.swift start line: 76 end line: 87 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 203 unit: mutating func endKey() file: Support/GIF.swift start line: 197 end line: 208 size: 12 LOC McCabe index: 2 number of parameters: 0 id: 204 unit: STBIDEF int stbi_is_hdr_from_memory() file: Support/STBImage/include/stb_image.h start line: 1419 end line: 1430 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 205 unit: STBIDEF int stbi_is_hdr_from_callbacks() file: Support/STBImage/include/stb_image.h start line: 1461 end line: 1472 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 206 unit: static int stbi__png_is16() file: Support/STBImage/include/stb_image.h start line: 5117 end line: 5128 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 207 unit: def __init__() file: SwiftModelsBenchmarks/__init__.py start line: 0 end line: 0 size: 12 LOC McCabe index: 4 number of parameters: 6 id: 208 unit: func traverse() file: TensorBoard/Protobufs/event.pb.swift start line: 534 end line: 545 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 209 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/resource_handle.pb.swift start line: 67 end line: 81 size: 12 LOC McCabe index: 7 number of parameters: 1 id: 210 unit: func traverse() file: TensorBoard/Protobufs/summary.pb.swift start line: 453 end line: 464 size: 12 LOC McCabe index: 4 number of parameters: 1 id: 211 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/summary.pb.swift start line: 605 end line: 619 size: 12 LOC McCabe index: 7 number of parameters: 1 id: 212 unit: func step() file: Catch/main.swift start line: 67 end line: 81 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 213 unit: func downloadImageNetIfNotPresent() file: Datasets/Imagenette/ImageNet.swift start line: 135 end line: 155 size: 11 LOC McCabe index: 3 number of parameters: 2 id: 214 unit: func loadImageNetDirectory() file: Datasets/Imagenette/ImageNet.swift start line: 175 end line: 185 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 215 unit: func loadImagenetteDirectory() file: Datasets/Imagenette/Imagenette.swift start line: 180 end line: 190 size: 11 LOC McCabe index: 1 number of parameters: 5 id: 216 unit: init() file: MiniGo/Strategies/MCTS/MCTSTree.swift start line: 23 end line: 35 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 217 unit: init() file: Models/Text/GPT2/PythonCheckpointReader.swift start line: 89 end line: 99 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 218 unit: func _vjpSplitQKV() file: Models/Text/GPT2/TransformerLM.swift start line: 202 end line: 212 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 219 unit: func callAsFunction() file: Models/Text/GPT2/TransformerLM.swift start line: 230 end line: 240 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 220 unit: func callAsFunction() file: Models/Text/GPT2/TransformerLM.swift start line: 242 end line: 252 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 221 unit: init() file: Models/Text/GPT2/TransformerLM.swift start line: 263 end line: 273 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 222 unit: func paddingFromKernelSize() file: Models/ImageClassification/BigTransfer.swift start line: 41 end line: 51 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 223 unit: func updateQLearningStrategy() file: Gym/Blackjack/main.swift start line: 62 end line: 74 size: 11 LOC McCabe index: 1 number of parameters: 4 id: 224 unit: init() file: Gym/PPO/ActorCritic.swift start line: 99 end line: 109 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 225 unit: func footerBlock() file: Checkpoints/CheckpointIndexWriter.swift start line: 209 end line: 224 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 226 unit: func readHeader() file: Checkpoints/CheckpointIndexReader.swift start line: 64 end line: 78 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 227 unit: func readKey() file: Checkpoints/CheckpointIndexReader.swift start line: 92 end line: 102 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 228 unit: func readKeyAndValue() file: Checkpoints/CheckpointIndexReader.swift start line: 104 end line: 121 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 229 unit: static int stbi__jpeg_test() file: Support/STBImage/include/stb_image.h start line: 3892 end line: 3902 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 230 unit: static int stbi__jpeg_info_raw() file: Support/STBImage/include/stb_image.h start line: 3904 end line: 3914 size: 11 LOC McCabe index: 6 number of parameters: 4 id: 231 unit: static int stbi__png_info_raw() file: Support/STBImage/include/stb_image.h start line: 5098 end line: 5108 size: 11 LOC McCabe index: 5 number of parameters: 4 id: 232 unit: static int stbi__high_bit() file: Support/STBImage/include/stb_image.h start line: 5158 end line: 5168 size: 11 LOC McCabe index: 7 number of parameters: 1 id: 233 unit: static void stbi__tga_read_rgb16() file: Support/STBImage/include/stb_image.h start line: 5597 end line: 5614 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 234 unit: static int stbi__pic_test_core() file: Support/STBImage/include/stb_image.h start line: 6080 end line: 6094 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 235 unit: static int stbi__pnm_test() file: Support/STBImage/include/stb_image.h start line: 7190 end line: 7200 size: 11 LOC McCabe index: 4 number of parameters: 1 id: 236 unit: static void stbi__pnm_skip_whitespace() file: Support/STBImage/include/stb_image.h start line: 7233 end line: 7245 size: 11 LOC McCabe index: 9 number of parameters: 2 id: 237 unit: static unsigned int stbiw__zhash() file: Support/STBImage/include/stb_image_write.h start line: 830 end line: 840 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 238 unit: init?() file: TensorBoard/Protobufs/event.pb.swift start line: 196 end line: 206 size: 11 LOC McCabe index: 7 number of parameters: 1 id: 239 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/summary.pb.swift start line: 554 end line: 567 size: 11 LOC McCabe index: 6 number of parameters: 1 id: 240 unit: func scoreAndGradient() file: SwiftModelsBenchmarksCore/Models/WordSeg.swift start line: 147 end line: 157 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 241 unit: func loadImageNetTrainingDirectory() file: Datasets/Imagenette/ImageNet.swift start line: 187 end line: 196 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 242 unit: func loadImagenetteTrainingDirectory() file: Datasets/Imagenette/Imagenette.swift start line: 192 end line: 201 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 243 unit: func downloadCIFAR100IfNotPresent() file: Datasets/CIFAR100/CIFAR100.swift start line: 98 end line: 109 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 244 unit: func downloadCIFAR10IfNotPresent() file: Datasets/CIFAR10/CIFAR10.swift start line: 107 end line: 118 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 245 unit: func getImageURLs() file: Datasets/OxfordIIITPets/OxfordIIITPets.swift start line: 148 end line: 157 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 246 unit: mutating func load() file: MiniGo/Models/MiniGoCheckpointReader.swift start line: 48 end line: 58 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 247 unit: init?() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 733 end line: 742 size: 10 LOC McCabe index: 6 number of parameters: 1 id: 248 unit: mutating func decodeMessage() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 1204 end line: 1213 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 249 unit: init() file: Models/Text/GPT2/PythonCheckpointReader.swift start line: 48 end line: 58 size: 10 LOC McCabe index: 2 number of parameters: 3 id: 250 unit: func _vjpMakeAttentionInput() file: Models/Text/GPT2/TransformerLM.swift start line: 73 end line: 82 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 251 unit: func _vjpMakeAttentionContext() file: Models/Text/GPT2/TransformerLM.swift start line: 100 end line: 109 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 252 unit: func joinHeads() file: Models/Text/GPT2/TransformerLM.swift start line: 173 end line: 182 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 253 unit: func callAsFunction() file: Models/Text/GPT2/TransformerLM.swift start line: 286 end line: 295 size: 10 LOC McCabe index: 1 number of parameters: 2 id: 254 unit: func updateTargetQNet() file: Gym/DQN/Agent.swift start line: 160 end line: 169 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 255 unit: mutating func decodeMessage() file: Checkpoints/Protobufs/versions.pb.swift start line: 65 end line: 74 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 256 unit: init() file: Support/GIF.swift start line: 77 end line: 87 size: 10 LOC McCabe index: 1 number of parameters: 5 id: 257 unit: static int stbi__cpuid3() file: Support/STBImage/include/stb_image.h start line: 684 end line: 693 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 258 unit: static void stbi__start_callbacks() file: Support/STBImage/include/stb_image.h start line: 772 end line: 781 size: 10 LOC McCabe index: 1 number of parameters: 3 id: 259 unit: static void stbi__vertical_flip_slices() file: Support/STBImage/include/stb_image.h start line: 1153 end line: 1163 size: 10 LOC McCabe index: 2 number of parameters: 5 id: 260 unit: STBIDEF int stbi_is_hdr() file: Support/STBImage/include/stb_image.h start line: 1433 end line: 1442 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 261 unit: stbi_inline static stbi_uc stbi__get8() file: Support/STBImage/include/stb_image.h start line: 1515 end line: 1524 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 262 unit: stbi_inline static int stbi__jpeg_get_bits() file: Support/STBImage/include/stb_image.h start line: 2063 end line: 2072 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 263 unit: static stbi_uc stbi__get_marker() file: Support/STBImage/include/stb_image.h start line: 2804 end line: 2813 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 264 unit: static void stbi__jpeg_reset() file: Support/STBImage/include/stb_image.h start line: 2821 end line: 2832 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 265 unit: static int stbi__parse_zlib_header() file: Support/STBImage/include/stb_image.h start line: 4246 end line: 4257 size: 10 LOC McCabe index: 4 number of parameters: 1 id: 266 unit: STBIDEF int stbi_zlib_decode_buffer() file: Support/STBImage/include/stb_image.h start line: 4363 end line: 4372 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 267 unit: STBIDEF int stbi_zlib_decode_noheader_buffer() file: Support/STBImage/include/stb_image.h start line: 4390 end line: 4399 size: 10 LOC McCabe index: 2 number of parameters: 4 id: 268 unit: static int stbi__paeth() file: Support/STBImage/include/stb_image.h start line: 4464 end line: 4473 size: 10 LOC McCabe index: 4 number of parameters: 3 id: 269 unit: static void stbi__gif_parse_colortable() file: Support/STBImage/include/stb_image.h start line: 6326 end line: 6335 size: 10 LOC McCabe index: 3 number of parameters: 4 id: 270 unit: static int stbi__hdr_test() file: Support/STBImage/include/stb_image.h start line: 6796 end line: 6805 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 271 unit: static int stbi__is_16_main() file: Support/STBImage/include/stb_image.h start line: 7345 end line: 7356 size: 10 LOC McCabe index: 3 number of parameters: 1 id: 272 unit: STBIDEF int stbi_info_from_file() file: Support/STBImage/include/stb_image.h start line: 7369 end line: 7378 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 273 unit: STBIDEF int stbi_is_16_bit_from_file() file: Support/STBImage/include/stb_image.h start line: 7390 end line: 7399 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 274 unit: STBIWDEF int stbi_write_bmp() file: Support/STBImage/include/stb_image_write.h start line: 485 end line: 494 size: 10 LOC McCabe index: 2 number of parameters: 5 id: 275 unit: STBIWDEF int stbi_write_tga() file: Support/STBImage/include/stb_image_write.h start line: 583 end line: 592 size: 10 LOC McCabe index: 2 number of parameters: 5 id: 276 unit: STBIWDEF int stbi_write_hdr() file: Support/STBImage/include/stb_image_write.h start line: 757 end line: 766 size: 10 LOC McCabe index: 2 number of parameters: 5 id: 277 unit: STBIWDEF int stbi_write_jpg() file: Support/STBImage/include/stb_image_write.h start line: 1562 end line: 1571 size: 10 LOC McCabe index: 2 number of parameters: 6 id: 278 unit: mutating func rescale() file: PersonLab/Pose.swift start line: 131 end line: 140 size: 10 LOC McCabe index: 3 number of parameters: 2 id: 279 unit: def new_swift_benchmark_suite() file: SwiftModelsBenchmarks/__init__.py start line: 0 end line: 0 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 280 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/event.pb.swift start line: 520 end line: 532 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 281 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/summary.pb.swift start line: 439 end line: 451 size: 10 LOC McCabe index: 5 number of parameters: 1 id: 282 unit: func inference() file: SwiftModelsBenchmarksCore/Models/ResNetCIFAR10.swift start line: 25 end line: 33 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 283 unit: func training() file: SwiftModelsBenchmarksCore/Models/ResNetCIFAR10.swift start line: 35 end line: 43 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 284 unit: func inference() file: SwiftModelsBenchmarksCore/Models/LeNetMNIST.swift start line: 25 end line: 33 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 285 unit: func training() file: SwiftModelsBenchmarksCore/Models/LeNetMNIST.swift start line: 35 end line: 43 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 286 unit: func loadImageNetValidationDirectory() file: Datasets/Imagenette/ImageNet.swift start line: 198 end line: 206 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 287 unit: func loadImagenetteValidationDirectory() file: Datasets/Imagenette/Imagenette.swift start line: 203 end line: 211 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 288 unit: func loadOxfordIIITPets() file: Datasets/OxfordIIITPets/OxfordIIITPets.swift start line: 133 end line: 141 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 289 unit: func neighbors() file: MiniGo/GameLib/Position.swift start line: 28 end line: 36 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 290 unit: func score() file: MiniGo/GameLib/BoardState.swift start line: 194 end line: 202 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 291 unit: func group() file: MiniGo/GameLib/LibertyTracker.swift start line: 55 end line: 63 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 292 unit: func backUp() file: MiniGo/Strategies/MCTS/MCTSNode.swift start line: 84 end line: 93 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 293 unit: func discriminatorLoss() file: GAN/main.swift start line: 93 end line: 101 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 294 unit: init?() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 461 end line: 469 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 295 unit: mutating func decodeMessage() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 1238 end line: 1246 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 296 unit: func traverse() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 1248 end line: 1256 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 297 unit: init() file: Models/Text/GPT2/PythonCheckpointReader.swift start line: 113 end line: 121 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 298 unit: func callAsFunction() file: Models/Text/GPT2/TransformerLM.swift start line: 152 end line: 160 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 299 unit: func callAsFunction() file: Models/ImageClassification/EfficientNet.swift start line: 87 end line: 95 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 300 unit: init() file: Models/Recommendation/MLP.swift start line: 27 end line: 35 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 301 unit: func markovStrategy() file: Gym/Blackjack/main.swift start line: 99 end line: 109 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 302 unit: func step() file: Gym/DQN/main.swift start line: 37 end line: 45 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 303 unit: func getAction() file: Gym/DQN/Agent.swift start line: 103 end line: 112 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 304 unit: func traverse() file: Checkpoints/Protobufs/tensor_slice.pb.swift start line: 142 end line: 150 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 305 unit: mutating func decodeMessage() file: Checkpoints/Protobufs/tensor_shape.pb.swift start line: 87 end line: 95 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 306 unit: func traverse() file: Checkpoints/Protobufs/tensor_shape.pb.swift start line: 97 end line: 105 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 307 unit: mutating func decodeMessage() file: Checkpoints/Protobufs/tensor_shape.pb.swift start line: 122 end line: 130 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 308 unit: func traverse() file: Checkpoints/Protobufs/tensor_shape.pb.swift start line: 132 end line: 140 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 309 unit: init() file: Checkpoints/Protobufs/tensor_bundle.pb.swift start line: 283 end line: 291 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 310 unit: init() file: Checkpoints/CheckpointIndexReader.swift start line: 47 end line: 55 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 311 unit: func overlaidOnWhite() file: Support/Image.swift start line: 198 end line: 206 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 312 unit: stbi_inline static int stbi__jpeg_get_bit() file: Support/STBImage/include/stb_image.h start line: 2074 end line: 2082 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 313 unit: static int stbi__jpeg_info() file: Support/STBImage/include/stb_image.h start line: 3916 end line: 3924 size: 9 LOC McCabe index: 1 number of parameters: 4 id: 314 unit: stbi_inline static unsigned int stbi__zreceive() file: Support/STBImage/include/stb_image.h start line: 4051 end line: 4059 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 315 unit: static int stbi__bitcount() file: Support/STBImage/include/stb_image.h start line: 5170 end line: 5178 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 316 unit: static int stbi__gif_test_raw() file: Support/STBImage/include/stb_image.h start line: 6309 end line: 6317 size: 9 LOC McCabe index: 8 number of parameters: 1 id: 317 unit: static int stbi__hdr_test_core() file: Support/STBImage/include/stb_image.h start line: 6786 end line: 6794 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 318 unit: static int stbi__pnm_getinteger() file: Support/STBImage/include/stb_image.h start line: 7252 end line: 7262 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 319 unit: STBIDEF int stbi_info() file: Support/STBImage/include/stb_image.h start line: 7359 end line: 7367 size: 9 LOC McCabe index: 2 number of parameters: 4 id: 320 unit: STBIDEF int stbi_is_16_bit() file: Support/STBImage/include/stb_image.h start line: 7380 end line: 7388 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 321 unit: static int stbiw__zlib_bitrev() file: Support/STBImage/include/stb_image_write.h start line: 812 end line: 820 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 322 unit: STBIWDEF int stbi_write_png_to_func() file: Support/STBImage/include/stb_image_write.h start line: 1177 end line: 1185 size: 9 LOC McCabe index: 2 number of parameters: 7 id: 323 unit: static void stbiw__jpg_calcBits() file: Support/STBImage/include/stb_image_write.h start line: 1264 end line: 1272 size: 9 LOC McCabe index: 4 number of parameters: 2 id: 324 unit: func getPoseScore() file: PersonLab/Decoder.swift start line: 187 end line: 195 size: 9 LOC McCabe index: 3 number of parameters: 2 id: 325 unit: func isWithinRadiusOfCorrespondingKeypoints() file: PersonLab/Pose.swift start line: 42 end line: 50 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 326 unit: init?() file: TensorBoard/Protobufs/event.pb.swift start line: 268 end line: 276 size: 9 LOC McCabe index: 5 number of parameters: 1 id: 327 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/event.pb.swift start line: 470 end line: 481 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 328 unit: func traverse() file: TensorBoard/Protobufs/event.pb.swift start line: 483 end line: 491 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 329 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/event.pb.swift start line: 572 end line: 583 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 330 unit: func traverse() file: TensorBoard/Protobufs/event.pb.swift start line: 585 end line: 593 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 331 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/tensor_shape.pb.swift start line: 88 end line: 99 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 332 unit: func traverse() file: TensorBoard/Protobufs/tensor_shape.pb.swift start line: 101 end line: 109 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 333 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/tensor_shape.pb.swift start line: 126 end line: 137 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 334 unit: func traverse() file: TensorBoard/Protobufs/tensor_shape.pb.swift start line: 139 end line: 147 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 335 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/summary.pb.swift start line: 482 end line: 493 size: 9 LOC McCabe index: 4 number of parameters: 1 id: 336 unit: func traverse() file: TensorBoard/Protobufs/summary.pb.swift start line: 495 end line: 503 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 337 unit: func toByteArr() file: TensorBoard/Support.swift start line: 5 end line: 13 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 338 unit: func perfectAction() file: Catch/main.swift start line: 89 end line: 97 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 339 unit: func inference() file: SwiftModelsBenchmarksCore/Models/ResNetImageNet.swift start line: 25 end line: 32 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 340 unit: func training() file: SwiftModelsBenchmarksCore/Models/ResNetImageNet.swift start line: 34 end line: 41 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 341 unit: func testSentence() file: SwiftModelsBenchmarksCore/Models/WordSeg.swift start line: 131 end line: 139 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 342 unit: init() file: Datasets/COCO/COCO.swift start line: 399 end line: 406 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 343 unit: init() file: pix2pix/CheckpointReader.swift start line: 124 end line: 131 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 344 unit: func nextMove() file: MiniGo/Strategies/MCTS/MCTSNode.swift start line: 99 end line: 106 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 345 unit: func batchedMatmul() file: Models/Text/GPT2/Operators.swift start line: 23 end line: 30 size: 8 LOC McCabe index: 1 number of parameters: 4 id: 346 unit: init() file: Models/Text/GPT2/TransformerLM.swift start line: 220 end line: 227 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 347 unit: func metaIndexBlock() file: Checkpoints/CheckpointIndexWriter.swift start line: 197 end line: 207 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 348 unit: mutating func appendVarint() file: Checkpoints/CheckpointIndexWriter.swift start line: 237 end line: 244 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 349 unit: func writeCheckpoint() file: Checkpoints/Checkpointable.swift start line: 60 end line: 67 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 350 unit: mutating func readCheckpoint() file: Checkpoints/Checkpointable.swift start line: 146 end line: 153 size: 8 LOC McCabe index: 1 number of parameters: 3 id: 351 unit: mutating func decodeMessage() file: Checkpoints/Protobufs/tensor_slice.pb.swift start line: 98 end line: 105 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 352 unit: func callAsFunction() file: Autoencoder/Autoencoder2D/main.swift start line: 50 end line: 57 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 353 unit: mutating func putLoop() file: Support/GIF.swift start line: 210 end line: 218 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 354 unit: func premultiply() file: Support/Image.swift start line: 148 end line: 155 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 355 unit: stbi_inline static int stbi__at_eof() file: Support/STBImage/include/stb_image.h start line: 1529 end line: 1539 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 356 unit: stbi_inline static stbi_uc stbi__clamp() file: Support/STBImage/include/stb_image.h start line: 2301 end line: 2309 size: 8 LOC McCabe index: 4 number of parameters: 1 id: 357 unit: stbi_inline static int stbi__bitreverse16() file: Support/STBImage/include/stb_image.h start line: 3952 end line: 3959 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 358 unit: static void stbi__fill_bits() file: Support/STBImage/include/stb_image.h start line: 4042 end line: 4049 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 359 unit: static int stbi__do_zlib() file: Support/STBImage/include/stb_image.h start line: 4316 end line: 4324 size: 8 LOC McCabe index: 1 number of parameters: 5 id: 360 unit: static int stbi__check_png_header() file: Support/STBImage/include/stb_image.h start line: 4427 end line: 4434 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 361 unit: static int stbi__pic_is4() file: Support/STBImage/include/stb_image.h start line: 6070 end line: 6078 size: 8 LOC McCabe index: 3 number of parameters: 2 id: 362 unit: static int stbi_write_bmp_core() file: Support/STBImage/include/stb_image_write.h start line: 468 end line: 475 size: 8 LOC McCabe index: 1 number of parameters: 5 id: 363 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/summary.pb.swift start line: 337 end line: 347 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 364 unit: mutating func decodeMessage() file: TensorBoard/Protobufs/summary.pb.swift start line: 519 end line: 529 size: 8 LOC McCabe index: 3 number of parameters: 1 id: 365 unit: func discriminatorLoss() file: DCGAN/main.swift start line: 100 end line: 106 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 366 unit: mutating func reset() file: TrainingLoop/Metrics.swift start line: 48 end line: 60 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 367 unit: func computeMetrics() file: TrainingLoop/Callbacks/StatisticsRecorder.swift start line: 123 end line: 129 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 368 unit: func formatStats() file: TrainingLoop/Callbacks/ProgressPrinter.swift start line: 87 end line: 93 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 369 unit: func _vjpCall() file: MiniGo/Models/GoModel.swift start line: 183 end line: 191 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 370 unit: func pb() file: Models/Text/WordSeg/SemiRing.swift start line: 46 end line: 52 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 371 unit: func traverse() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 1215 end line: 1221 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 372 unit: init() file: Models/Text/GPT2/PythonCheckpointReader.swift start line: 79 end line: 85 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 373 unit: init() file: Models/Text/GPT2/PythonCheckpointReader.swift start line: 103 end line: 109 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 374 unit: func callAsFunction() file: Models/Text/GPT2/TransformerLM.swift start line: 25 end line: 31 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 375 unit: func timeDistributed() file: Models/Text/GPT2/TransformerLM.swift start line: 35 end line: 41 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 376 unit: func splitHeads() file: Models/Text/GPT2/TransformerLM.swift start line: 164 end line: 170 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 377 unit: init() file: Gym/Blackjack/main.swift start line: 54 end line: 60 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 378 unit: func normalStrategy() file: Gym/Blackjack/main.swift start line: 130 end line: 136 size: 7 LOC McCabe index: 2 number of parameters: 1 id: 379 unit: func updateActionValue() file: Gym/FrozenLake/main.swift start line: 101 end line: 107 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 380 unit: mutating func append() file: Gym/PPO/Memory.swift start line: 34 end line: 40 size: 7 LOC McCabe index: 1 number of parameters: 5 id: 381 unit: mutating func removeAll() file: Gym/PPO/Memory.swift start line: 42 end line: 48 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 382 unit: func getRecursiveNamedKeyPaths() file: FastStyleTransfer/Utility/ImportableLayer.swift start line: 39 end line: 45 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 383 unit: mutating func unsafeImport() file: FastStyleTransfer/Utility/ImportableLayer.swift start line: 70 end line: 76 size: 7 LOC McCabe index: 2 number of parameters: 2 id: 384 unit: func indexBytes() file: Checkpoints/CheckpointIndexWriter.swift start line: 226 end line: 232 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 385 unit: init?() file: Checkpoints/Protobufs/tensor_bundle.pb.swift start line: 72 end line: 78 size: 7 LOC McCabe index: 3 number of parameters: 1 id: 386 unit: func readAllKeysAndValues() file: Checkpoints/CheckpointIndexReader.swift start line: 80 end line: 87 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 387 unit: func vaeLossFunction() file: Autoencoder/VAE1D/main.swift start line: 80 end line: 86 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 388 unit: static void stbi__start_mem() file: Support/STBImage/include/stb_image.h start line: 763 end line: 769 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 389 unit: static void stbi__float_postprocess() file: Support/STBImage/include/stb_image.h start line: 1216 end line: 1222 size: 7 LOC McCabe index: 4 number of parameters: 5 id: 390 unit: static stbi__pngchunk stbi__get_chunk_header() file: Support/STBImage/include/stb_image.h start line: 4419 end line: 4425 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 391 unit: static int stbi__png_test() file: Support/STBImage/include/stb_image.h start line: 5090 end line: 5096 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 392 unit: static void stbi__copyval() file: Support/STBImage/include/stb_image.h start line: 6115 end line: 6122 size: 7 LOC McCabe index: 3 number of parameters: 3 id: 393 unit: static void stbiw__writef() file: Support/STBImage/include/stb_image_write.h start line: 375 end line: 381 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 394 unit: static void stbiw__write_run_data() file: Support/STBImage/include/stb_image_write.h start line: 618 end line: 624 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 395 unit: static void stbiw__write_dump_data() file: Support/STBImage/include/stb_image_write.h start line: 626 end line: 632 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 396 unit: static unsigned int stbiw__zlib_countm() file: Support/STBImage/include/stb_image_write.h start line: 822 end line: 828 size: 7 LOC McCabe index: 4 number of parameters: 3 id: 397 unit: static unsigned char stbiw__paeth() file: Support/STBImage/include/stb_image_write.h start line: 1029 end line: 1035 size: 7 LOC McCabe index: 4 number of parameters: 3 id: 398 unit: init() file: PersonLab/Decoder.swift start line: 27 end line: 34 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 399 unit: init() file: Catch/main.swift start line: 127 end line: 133 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 400 unit: mutating func accumulate() file: TrainingLoop/Metrics.swift start line: 51 end line: 60 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 401 unit: init() file: Datasets/COCO/COCO.swift start line: 247 end line: 252 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 402 unit: init() file: Datasets/COCO/COCO.swift start line: 359 end line: 364 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 403 unit: func loadCIFARTrainingFiles() file: Datasets/CIFAR10/CIFAR10.swift start line: 147 end line: 152 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 404 unit: func loadOxfordIIITPetsValidation() file: Datasets/OxfordIIITPets/OxfordIIITPets.swift start line: 165 end line: 170 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 405 unit: init() file: pix2pix/CheckpointReader.swift start line: 68 end line: 73 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 406 unit: init() file: pix2pix/CheckpointReader.swift start line: 115 end line: 120 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 407 unit: func readTensor() file: MiniGo/Models/MiniGoCheckpointReader.swift start line: 21 end line: 26 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 408 unit: mutating func load() file: MiniGo/Models/MiniGoCheckpointReader.swift start line: 62 end line: 76 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 409 unit: func callAsFunction() file: GAN/main.swift start line: 52 end line: 57 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 410 unit: func get_logp_lex() file: Models/Text/WordSeg/Model.swift start line: 248 end line: 253 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 411 unit: func vjpScalarsADHack() file: Models/Text/WordSeg/Model.swift start line: 352 end line: 364 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 412 unit: func pullback() file: Models/Text/WordSeg/Model.swift start line: 357 end line: 362 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 413 unit: init() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 1285 end line: 1290 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 414 unit: func callAsFunction() file: Gym/PPO/ActorCritic.swift start line: 112 end line: 117 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 415 unit: func traverse() file: Checkpoints/Protobufs/tensor_slice.pb.swift start line: 107 end line: 112 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 416 unit: mutating func append() file: Support/GIF.swift start line: 171 end line: 176 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 417 unit: static int stbi__cpuid3() file: Support/STBImage/include/stb_image.h start line: 677 end line: 682 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 418 unit: static int stbi__mul2sizes_valid() file: Support/STBImage/include/stb_image.h start line: 943 end line: 949 size: 6 LOC McCabe index: 4 number of parameters: 2 id: 419 unit: static void stbi__jpeg_dequantize() file: Support/STBImage/include/stb_image.h start line: 2958 end line: 2963 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 420 unit: static int stbi__png_info() file: Support/STBImage/include/stb_image.h start line: 5110 end line: 5115 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 421 unit: static int stbi__bmp_test() file: Support/STBImage/include/stb_image.h start line: 5149 end line: 5154 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 422 unit: static int stbi__psd_test() file: Support/STBImage/include/stb_image.h start line: 5818 end line: 5823 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 423 unit: static int stbi__pic_test() file: Support/STBImage/include/stb_image.h start line: 6270 end line: 6275 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 424 unit: static int stbi__gif_test() file: Support/STBImage/include/stb_image.h start line: 6319 end line: 6324 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 425 unit: STBIDEF int stbi_info_from_memory() file: Support/STBImage/include/stb_image.h start line: 7402 end line: 7407 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 426 unit: STBIDEF int stbi_info_from_callbacks() file: Support/STBImage/include/stb_image.h start line: 7409 end line: 7414 size: 6 LOC McCabe index: 1 number of parameters: 5 id: 427 unit: STBIDEF int stbi_is_16_bit_from_memory() file: Support/STBImage/include/stb_image.h start line: 7416 end line: 7421 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 428 unit: STBIDEF int stbi_is_16_bit_from_callbacks() file: Support/STBImage/include/stb_image.h start line: 7423 end line: 7428 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 429 unit: static int stbi__start_write_file() file: Support/STBImage/include/stb_image_write.h start line: 329 end line: 334 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 430 unit: static void stbiw__write3() file: Support/STBImage/include/stb_image_write.h start line: 388 end line: 393 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 431 unit: STBIWDEF int stbi_write_bmp_to_func() file: Support/STBImage/include/stb_image_write.h start line: 477 end line: 482 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 432 unit: STBIWDEF int stbi_write_tga_to_func() file: Support/STBImage/include/stb_image_write.h start line: 575 end line: 580 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 433 unit: STBIWDEF int stbi_write_hdr_to_func() file: Support/STBImage/include/stb_image_write.h start line: 749 end line: 754 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 434 unit: STBIWDEF int stbi_write_jpg_to_func() file: Support/STBImage/include/stb_image_write.h start line: 1553 end line: 1558 size: 6 LOC McCabe index: 1 number of parameters: 7 id: 435 unit: init() file: PersonLab/Pose.swift start line: 35 end line: 40 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 436 unit: init() file: ImageLoader/JPEGImageOperations/JPEGImageOperations.swift start line: 61 end line: 66 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 437 unit: func traverse() file: TensorBoard/Protobufs/summary.pb.swift start line: 349 end line: 354 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 438 unit: func traverse() file: TensorBoard/Protobufs/summary.pb.swift start line: 531 end line: 536 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 439 unit: init() file: TensorBoard/Protobufs/summary.pb.swift start line: 675 end line: 680 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 440 unit: func createDirectoryIfNeeded() file: CycleGAN/Utils.swift start line: 42 end line: 47 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 441 unit: mutating func reset() file: Catch/main.swift start line: 160 end line: 165 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 442 unit: func score() file: SwiftModelsBenchmarksCore/Models/WordSeg.swift start line: 141 end line: 145 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 443 unit: func resetMetricMeasurers() file: TrainingLoop/Callbacks/StatisticsRecorder.swift start line: 108 end line: 112 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 444 unit: func accumulateMetrics() file: TrainingLoop/Callbacks/StatisticsRecorder.swift start line: 116 end line: 120 size: 5 LOC McCabe index: 2 number of parameters: 3 id: 445 unit: func writeDataRow() file: TrainingLoop/Callbacks/CSVLogger.swift start line: 75 end line: 79 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 446 unit: func createLabelDict() file: Datasets/Imagenette/Imagenette.swift start line: 174 end line: 178 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 447 unit: init() file: Datasets/COCO/COCO.swift start line: 366 end line: 370 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 448 unit: func loadOxfordIITPetsTraining() file: Datasets/OxfordIIITPets/OxfordIIITPets.swift start line: 159 end line: 163 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 449 unit: func readTensor() file: pix2pix/CheckpointReader.swift start line: 45 end line: 49 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 450 unit: func readIntTensor() file: pix2pix/CheckpointReader.swift start line: 50 end line: 54 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 451 unit: init() file: pix2pix/CheckpointReader.swift start line: 77 end line: 82 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 452 unit: init() file: pix2pix/CheckpointReader.swift start line: 106 end line: 111 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 453 unit: init() file: pix2pix/CheckpointReader.swift start line: 135 end line: 139 size: 5 LOC McCabe index: 1 number of parameters: 4 id: 454 unit: init() file: pix2pix/CheckpointReader.swift start line: 143 end line: 147 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 455 unit: func callAsFunction() file: MiniGo/Models/GoModel.swift start line: 90 end line: 94 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 456 unit: init() file: MiniGo/GameLib/LibertyTracker.swift start line: 47 end line: 52 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 457 unit: func validator() file: MiniGo/Strategies/HumanPolicy.swift start line: 30 end line: 34 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 458 unit: init() file: MiniGo/Strategies/MCTS/MCTSPredictor.swift start line: 34 end line: 38 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 459 unit: func generatorLoss() file: GAN/main.swift start line: 86 end line: 90 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 460 unit: func sum() file: Models/Text/WordSeg/SemiRing.swift start line: 111 end line: 115 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 461 unit: func readTensor() file: Models/Text/GPT2/PythonCheckpointReader.swift start line: 36 end line: 40 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 462 unit: init() file: Models/Text/GPT2/TransformerLM.swift start line: 47 end line: 51 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 463 unit: func makeAttentionInput() file: Models/Text/GPT2/TransformerLM.swift start line: 66 end line: 70 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 464 unit: func _vjpCausallyMasked() file: Models/Text/GPT2/TransformerLM.swift start line: 126 end line: 130 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 465 unit: init() file: Models/Text/GPT2/TransformerLM.swift start line: 139 end line: 143 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 466 unit: func callAsFunction() file: Models/Text/GPT2/TransformerLM.swift start line: 146 end line: 150 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 467 unit: init() file: Gym/Blackjack/main.swift start line: 33 end line: 37 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 468 unit: func flattenedBatch() file: Gym/PPO/Categorical.swift start line: 26 end line: 32 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 469 unit: func readByte() file: Checkpoints/SnappyDecompression.swift start line: 53 end line: 57 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 470 unit: func readDataBlock() file: Checkpoints/SnappyDecompression.swift start line: 59 end line: 63 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 471 unit: func maskedCRC32C() file: Checkpoints/CheckpointReader.swift start line: 347 end line: 351 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 472 unit: init() file: Checkpoints/Protobufs/tensor_bundle.pb.swift start line: 191 end line: 195 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 473 unit: func normalizedToGrayscale() file: Support/Image.swift start line: 211 end line: 215 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 474 unit: func createDirectoryIfMissing() file: Support/FileSystem.swift start line: 22 end line: 37 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 475 unit: static int stbi__sse2_available() file: Support/STBImage/include/stb_image.h start line: 699 end line: 703 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 476 unit: static void stbi__rewind() file: Support/STBImage/include/stb_image.h start line: 816 end line: 823 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 477 unit: static int stbi__err() file: Support/STBImage/include/stb_image.h start line: 907 end line: 911 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 478 unit: static int stbi__addsizes_valid() file: Support/STBImage/include/stb_image.h start line: 931 end line: 939 size: 5 LOC McCabe index: 2 number of parameters: 2 id: 479 unit: static int stbi__mad3sizes_valid() file: Support/STBImage/include/stb_image.h start line: 960 end line: 964 size: 5 LOC McCabe index: 3 number of parameters: 4 id: 480 unit: static int stbi__mad4sizes_valid() file: Support/STBImage/include/stb_image.h start line: 968 end line: 972 size: 5 LOC McCabe index: 4 number of parameters: 5 id: 481 unit: STBIDEF void stbi_set_flip_vertically_on_load_thread() file: Support/STBImage/include/stb_image.h start line: 1038 end line: 1042 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 482 unit: static int stbi__get16be() file: Support/STBImage/include/stb_image.h start line: 1594 end line: 1598 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 483 unit: static stbi__uint32 stbi__get32be() file: Support/STBImage/include/stb_image.h start line: 1604 end line: 1608 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 484 unit: static int stbi__get16le() file: Support/STBImage/include/stb_image.h start line: 1614 end line: 1618 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 485 unit: static stbi__uint32 stbi__get32le() file: Support/STBImage/include/stb_image.h start line: 1622 end line: 1626 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 486 unit: static stbi_uc stbi__blinn_8x8() file: Support/STBImage/include/stb_image.h start line: 3715 end line: 3719 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 487 unit: stbi_inline static int stbi__bit_reverse() file: Support/STBImage/include/stb_image.h start line: 3961 end line: 3967 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 488 unit: stbi_inline static stbi_uc stbi__zget8() file: Support/STBImage/include/stb_image.h start line: 4036 end line: 4040 size: 5 LOC McCabe index: 2 number of parameters: 1 id: 489 unit: static void stbi__start_write_callbacks() file: Support/STBImage/include/stb_image_write.h start line: 273 end line: 277 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 490 unit: static void stbiw__wpcrc() file: Support/STBImage/include/stb_image_write.h start line: 1023 end line: 1027 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 491 unit: func draw() file: PersonLab/Utils.swift start line: 42 end line: 64 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 492 unit: func hash() file: PersonLab/Utils.swift start line: 68 end line: 72 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 493 unit: func getUnstridedIndex() file: PersonLab/Decoder.swift start line: 143 end line: 147 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 494 unit: func getUnstridedIndex() file: PersonLab/Decoder.swift start line: 149 end line: 153 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 495 unit: func maskedCRC32C() file: TensorBoard/Support.swift start line: 67 end line: 71 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 496 unit: func generatorLoss() file: DCGAN/main.swift start line: 69 end line: 72 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 497 unit: func viterbi() file: SwiftModelsBenchmarksCore/Models/WordSeg.swift start line: 159 end line: 162 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 498 unit: func writeHeader() file: TrainingLoop/Callbacks/CSVLogger.swift start line: 67 end line: 70 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 499 unit: func unique() file: Datasets/MovieLens/MovieLens.swift start line: 31 end line: 34 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 500 unit: func makeAnnotationURL() file: Datasets/OxfordIIITPets/OxfordIIITPets.swift start line: 143 end line: 146 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 501 unit: mutating func load() file: MiniGo/Models/GoModel.swift start line: 67 end line: 70 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 502 unit: mutating func load() file: MiniGo/Models/GoModel.swift start line: 98 end line: 101 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 503 unit: init() file: MiniGo/GameLib/Board.swift start line: 27 end line: 30 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 504 unit: func color() file: MiniGo/GameLib/Board.swift start line: 32 end line: 35 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 505 unit: mutating func placeStone() file: MiniGo/GameLib/Board.swift start line: 37 end line: 40 size: 4 LOC McCabe index: 2 number of parameters: 2 id: 506 unit: mutating func removeStone() file: MiniGo/GameLib/Board.swift start line: 42 end line: 45 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 507 unit: func reset() file: Gym/DQN/main.swift start line: 32 end line: 35 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 508 unit: init() file: Gym/DQN/ReplayBuffer.swift start line: 52 end line: 55 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 509 unit: init() file: Gym/DQN/Agent.swift start line: 39 end line: 42 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 510 unit: init() file: Gym/FrozenLake/main.swift start line: 59 end line: 62 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 511 unit: func flattenedBatch() file: Gym/PPO/Categorical.swift start line: 20 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 512 unit: func entropy() file: Gym/PPO/Categorical.swift start line: 79 end line: 85 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 513 unit: init() file: Gym/CartPole/main.swift start line: 47 end line: 50 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 514 unit: init() file: Checkpoints/CheckpointIndexWriter.swift start line: 26 end line: 29 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 515 unit: mutating func append() file: Support/GIF.swift start line: 226 end line: 229 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 516 unit: func open() file: Support/FileSystem.swift start line: 28 end line: 37 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 517 unit: static int stbi__sse2_available() file: Support/STBImage/include/stb_image.h start line: 710 end line: 716 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 518 unit: static int stbi__stdio_read() file: Support/STBImage/include/stb_image.h start line: 785 end line: 788 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 519 unit: static void stbi__stdio_skip() file: Support/STBImage/include/stb_image.h start line: 790 end line: 793 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 520 unit: static int stbi__stdio_eof() file: Support/STBImage/include/stb_image.h start line: 795 end line: 798 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 521 unit: static void stbi__start_file() file: Support/STBImage/include/stb_image.h start line: 807 end line: 810 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 522 unit: static int stbi__mad2sizes_valid() file: Support/STBImage/include/stb_image.h start line: 953 end line: 956 size: 4 LOC McCabe index: 2 number of parameters: 3 id: 523 unit: STBIDEF void stbi_image_free() file: Support/STBImage/include/stb_image.h start line: 1013 end line: 1016 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 524 unit: STBIDEF void stbi_set_flip_vertically_on_load() file: Support/STBImage/include/stb_image.h start line: 1028 end line: 1031 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 525 unit: STBIDEF int stbi_convert_wchar_to_utf8() file: Support/STBImage/include/stb_image.h start line: 1233 end line: 1236 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 526 unit: static stbi_uc stbi__compute_y() file: Support/STBImage/include/stb_image.h start line: 1645 end line: 1648 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 527 unit: static stbi__uint16 stbi__compute_y_16() file: Support/STBImage/include/stb_image.h start line: 1702 end line: 1705 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 528 unit: static void stbi__cleanup_jpeg() file: Support/STBImage/include/stb_image.h start line: 3699 end line: 3702 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 529 unit: STBIDEF void stbi_set_unpremultiply_on_load() file: Support/STBImage/include/stb_image.h start line: 4824 end line: 4827 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 530 unit: STBIDEF void stbi_convert_iphone_png_to_rgb() file: Support/STBImage/include/stb_image.h start line: 4829 end line: 4832 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 531 unit: static int stbi__gif_info() file: Support/STBImage/include/stb_image.h start line: 6776 end line: 6779 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 532 unit: static int stbi__pnm_isspace() file: Support/STBImage/include/stb_image.h start line: 7228 end line: 7231 size: 4 LOC McCabe index: 6 number of parameters: 1 id: 533 unit: static int stbi__pnm_isdigit() file: Support/STBImage/include/stb_image.h start line: 7247 end line: 7250 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 534 unit: STBIWDEF void stbi_flip_vertically_on_write() file: Support/STBImage/include/stb_image_write.h start line: 261 end line: 264 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 535 unit: static void stbi__stdio_write() file: Support/STBImage/include/stb_image_write.h start line: 281 end line: 284 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 536 unit: STBIWDEF int stbiw_convert_wchar_to_utf8() file: Support/STBImage/include/stb_image_write.h start line: 295 end line: 298 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 537 unit: static void stbi__end_write_file() file: Support/STBImage/include/stb_image_write.h start line: 336 end line: 339 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 538 unit: static void stbiw__putc() file: Support/STBImage/include/stb_image_write.h start line: 383 end line: 386 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 539 unit: func unboxed() file: Support/AnyLayer.swift start line: 50 end line: 53 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 540 unit: func _vjpCallAsFunction() file: Support/AnyLayer.swift start line: 73 end line: 76 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 541 unit: func _vjpCallAsFunction() file: Support/AnyLayer.swift start line: 260 end line: 263 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 542 unit: func unboxed() file: Support/AnyLayerTangentVector.swift start line: 37 end line: 40 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 543 unit: init() file: PersonLab/Utils.swift start line: 80 end line: 83 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 544 unit: mutating func step() file: Catch/main.swift start line: 37 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 545 unit: init() file: Catch/main.swift start line: 58 end line: 61 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 546 unit: func randomAction() file: Catch/main.swift start line: 101 end line: 104 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 547 unit: init() file: SwiftModelsBenchmarksCore/Models/ResNetCIFAR10.swift start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 548 unit: init() file: SwiftModelsBenchmarksCore/Models/ResNetImageNet.swift start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 549 unit: init() file: SwiftModelsBenchmarksCore/BenchmarkSettings.swift start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 550 unit: init() file: SwiftModelsBenchmarksCore/BenchmarkSettings.swift start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 551 unit: init() file: SwiftModelsBenchmarksCore/BenchmarkSettings.swift start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 552 unit: init() file: SwiftModelsBenchmarksCore/BenchmarkSettings.swift start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 553 unit: init() file: SwiftModelsBenchmarksCore/BenchmarkSettings.swift start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 554 unit: init() file: SwiftModelsBenchmarksCore/BenchmarkSettings.swift start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 555 unit: func measure() file: TrainingLoop/Metrics.swift start line: 56 end line: 60 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 556 unit: func parentLabel() file: Datasets/Imagenette/Imagenette.swift start line: 170 end line: 172 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 557 unit: init() file: Datasets/COCO/COCO.swift start line: 254 end line: 256 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 558 unit: func loadCIFAR100TrainingFiles() file: Datasets/CIFAR100/CIFAR100.swift start line: 149 end line: 151 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 559 unit: func loadCIFAR100TestFiles() file: Datasets/CIFAR100/CIFAR100.swift start line: 153 end line: 155 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 560 unit: func loadCIFARTestFile() file: Datasets/CIFAR10/CIFAR10.swift start line: 154 end line: 156 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 561 unit: func callAsFunction() file: MiniGo/Models/GoModel.swift start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 562 unit: func increment() file: MiniGo/Models/MiniGoCheckpointReader.swift start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 563 unit: mutating func load() file: MiniGo/Models/MiniGoCheckpointReader.swift start line: 44 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 564 unit: func prediction() file: MiniGo/Strategies/MCTS/MCTSModelBasePredictor.swift start line: 19 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 565 unit: func callAsFunction() file: GAN/main.swift start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 566 unit: func sampleVector() file: GAN/main.swift start line: 104 end line: 106 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 567 unit: func computeSemiringScore() file: Models/Text/WordSeg/Lattice.swift start line: 135 end line: 138 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 568 unit: mutating func recomputeSemiringScore() file: Models/Text/WordSeg/Lattice.swift start line: 142 end line: 144 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 569 unit: init() file: Models/Text/WordSeg/Lattice.swift start line: 180 end line: 182 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 570 unit: func scalarsADHack() file: Models/Text/WordSeg/Model.swift start line: 346 end line: 348 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 571 unit: init() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 457 end line: 459 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 572 unit: init() file: Models/Text/SentencePiece/SentencePieceModel.pb.swift start line: 729 end line: 731 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 573 unit: init() file: Models/Text/GPT2/TransformerLM.swift start line: 20 end line: 22 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 574 unit: func callAsFunction() file: Models/Text/GPT2/TransformerLM.swift start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 575 unit: func makeAttentionContext() file: Models/Text/GPT2/TransformerLM.swift start line: 95 end line: 97 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 576 unit: func callAsFunction() file: Models/ImageClassification/EfficientNet.swift start line: 202 end line: 204 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 577 unit: func randomStrategy() file: Gym/Blackjack/main.swift start line: 95 end line: 97 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 578 unit: init() file: Gym/DQN/main.swift start line: 28 end line: 30 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 579 unit: func callAsFunction() file: Gym/DQN/Agent.swift start line: 45 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 580 unit: func unflattenedBatch() file: Gym/PPO/Categorical.swift start line: 21 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 581 unit: func unflattenedBatch() file: Gym/PPO/Categorical.swift start line: 29 end line: 32 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 582 unit: func sample() file: Gym/PPO/Categorical.swift start line: 82 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 583 unit: func entropy() file: Gym/PPO/Categorical.swift start line: 87 end line: 92 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 584 unit: func callAsFunction() file: Gym/PPO/ActorCritic.swift start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 585 unit: func callAsFunction() file: Gym/PPO/ActorCritic.swift start line: 86 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 586 unit: func callAsFunction() file: Gym/CartPole/main.swift start line: 53 end line: 55 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 587 unit: init() file: Checkpoints/Protobufs/types.pb.swift start line: 102 end line: 104 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 588 unit: init() file: Checkpoints/Protobufs/tensor_bundle.pb.swift start line: 68 end line: 70 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 589 unit: func resetHead() file: Checkpoints/CheckpointIndexReader.swift start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 590 unit: func quantize() file: Support/AnimatedImage.swift start line: 40 end line: 42 size: 3 LOC McCabe index: 2 number of parameters: 1 id: 591 unit: init() file: Support/GIF.swift start line: 112 end line: 114 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 592 unit: mutating func close() file: Support/GIF.swift start line: 220 end line: 222 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 593 unit: mutating func append() file: Support/GIF.swift start line: 231 end line: 233 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 594 unit: func tokenize() file: Support/Text/Tokenization.swift start line: 102 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 595 unit: func copy() file: Support/FileSystem.swift start line: 34 end line: 37 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 596 unit: func _move() file: Support/AnyLayer.swift start line: 57 end line: 59 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 597 unit: func _callAsFunction() file: Support/AnyLayer.swift start line: 69 end line: 71 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 598 unit: func _copyToDevice() file: Support/AnyLayer.swift start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 599 unit: func duplicate() file: Support/AnyLayer.swift start line: 86 end line: 88 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 600 unit: init() file: Support/AnyLayer.swift start line: 98 end line: 100 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 601 unit: func _callAsFunction() file: Support/AnyLayer.swift start line: 255 end line: 257 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 602 unit: func duplicate() file: Support/AnyLayerTangentVector.swift start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 603 unit: func _isEqual() file: Support/AnyLayerTangentVector.swift start line: 49 end line: 51 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 604 unit: func _isNotEqual() file: Support/AnyLayerTangentVector.swift start line: 54 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 605 unit: func _add() file: Support/AnyLayerTangentVector.swift start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 606 unit: func _subtract() file: Support/AnyLayerTangentVector.swift start line: 70 end line: 72 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 607 unit: func _adding() file: Support/AnyLayerTangentVector.swift start line: 75 end line: 77 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 608 unit: func _subtracting() file: Support/AnyLayerTangentVector.swift start line: 78 end line: 80 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 609 unit: func _scaled() file: Support/AnyLayerTangentVector.swift start line: 83 end line: 85 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 610 unit: func _move() file: Support/AnyLayerTangentVector.swift start line: 89 end line: 91 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 611 unit: func _reciprocal() file: Support/AnyLayerTangentVector.swift start line: 108 end line: 110 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 612 unit: func _pointwiseMultiply() file: Support/AnyLayerTangentVector.swift start line: 113 end line: 115 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 613 unit: func _sqrt() file: Support/AnyLayerTangentVector.swift start line: 120 end line: 122 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 614 unit: func _cos() file: Support/AnyLayerTangentVector.swift start line: 126 end line: 128 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 615 unit: func _sin() file: Support/AnyLayerTangentVector.swift start line: 132 end line: 134 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 616 unit: func _tan() file: Support/AnyLayerTangentVector.swift start line: 137 end line: 139 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 617 unit: func _acos() file: Support/AnyLayerTangentVector.swift start line: 142 end line: 144 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 618 unit: func _asin() file: Support/AnyLayerTangentVector.swift start line: 147 end line: 149 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 619 unit: func _atan() file: Support/AnyLayerTangentVector.swift start line: 152 end line: 154 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 620 unit: func _cosh() file: Support/AnyLayerTangentVector.swift start line: 157 end line: 159 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 621 unit: func _sinh() file: Support/AnyLayerTangentVector.swift start line: 162 end line: 164 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 622 unit: func _tanh() file: Support/AnyLayerTangentVector.swift start line: 167 end line: 169 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 623 unit: func _acosh() file: Support/AnyLayerTangentVector.swift start line: 172 end line: 174 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 624 unit: func _asinh() file: Support/AnyLayerTangentVector.swift start line: 177 end line: 179 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 625 unit: func _atanh() file: Support/AnyLayerTangentVector.swift start line: 182 end line: 184 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 626 unit: func _exp() file: Support/AnyLayerTangentVector.swift start line: 187 end line: 189 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 627 unit: func _expMinusOne() file: Support/AnyLayerTangentVector.swift start line: 192 end line: 194 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 628 unit: func _exp10() file: Support/AnyLayerTangentVector.swift start line: 197 end line: 199 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 629 unit: func _exp2() file: Support/AnyLayerTangentVector.swift start line: 202 end line: 204 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 630 unit: func _expm1() file: Support/AnyLayerTangentVector.swift start line: 207 end line: 209 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 631 unit: func _log2() file: Support/AnyLayerTangentVector.swift start line: 212 end line: 214 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 632 unit: func _log10() file: Support/AnyLayerTangentVector.swift start line: 217 end line: 219 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 633 unit: func _log() file: Support/AnyLayerTangentVector.swift start line: 222 end line: 224 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 634 unit: func _log1p() file: Support/AnyLayerTangentVector.swift start line: 227 end line: 229 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 635 unit: func _pow() file: Support/AnyLayerTangentVector.swift start line: 233 end line: 235 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 636 unit: func _pow() file: Support/AnyLayerTangentVector.swift start line: 238 end line: 240 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 637 unit: func _root() file: Support/AnyLayerTangentVector.swift start line: 244 end line: 246 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 638 unit: func getOpaqueScalar() file: Support/AnyLayerTangentVector.swift start line: 251 end line: 253 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 639 unit: init() file: Support/AnyLayerTangentVector.swift start line: 262 end line: 264 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 640 unit: init() file: Support/AnyLayerTangentVector.swift start line: 539 end line: 541 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 641 unit: func load() file: PersonLab/Utils.swift start line: 37 end line: 39 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 642 unit: mutating func add() file: PersonLab/Pose.swift start line: 123 end line: 125 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 643 unit: func getKeypoint() file: PersonLab/Pose.swift start line: 127 end line: 129 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 644 unit: init() file: TensorBoard/Protobufs/event.pb.swift start line: 192 end line: 194 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 645 unit: init() file: TensorBoard/Protobufs/event.pb.swift start line: 264 end line: 266 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 646 unit: init() file: TensorBoard/Protobufs/types.pb.swift start line: 94 end line: 96 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 647 unit: func random() file: CycleGAN/Utils.swift start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 648 unit: func description() file: Catch/main.swift start line: 27 end line: 29 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 649 unit: mutating func reset() file: Catch/main.swift start line: 38 end line: 41 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 650 unit: func step() file: Catch/main.swift start line: 43 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 651 unit: def _get_model_dir() file: SwiftModelsBenchmarks/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 2 id: 652 unit: def _setup() file: SwiftModelsBenchmarks/__init__.py start line: 0 end line: 0 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 653 unit: STBIDEF void stbi_ldr_to_hdr_gamma() file: Support/STBImage/include/stb_image.h start line: 1477 end line: 1477 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 654 unit: STBIDEF void stbi_ldr_to_hdr_scale() file: Support/STBImage/include/stb_image.h start line: 1478 end line: 1478 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 655 unit: STBIDEF void stbi_hdr_to_ldr_gamma() file: Support/STBImage/include/stb_image.h start line: 1483 end line: 1483 size: 1 LOC McCabe index: 1 number of parameters: 1 id: 656 unit: STBIDEF void stbi_hdr_to_ldr_scale() file: Support/STBImage/include/stb_image.h start line: 1484 end line: 1484 size: 1 LOC McCabe index: 1 number of parameters: 1