id: 1 unit: public static Double functionCalling() file: java/src/main/java/com/example/gemini/FunctionCalling.java start line: 36 end line: 142 size: 91 LOC McCabe index: 4 number of parameters: 0 id: 2 unit: func FunctionCalling() file: go/function_calling.go start line: 61 end line: 164 size: 79 LOC McCabe index: 11 number of parameters: 0 id: 3 unit: func CacheCreateFromChat() file: go/cache.go start line: 138 end line: 233 size: 78 LOC McCabe index: 10 number of parameters: 0 id: 4 unit: func CacheList() file: go/cache.go start line: 334 end line: 400 size: 59 LOC McCabe index: 10 number of parameters: 0 id: 5 unit: func JsonEnum() file: go/controlled_generation.go start line: 80 end line: 147 size: 58 LOC McCabe index: 4 number of parameters: 0 id: 6 unit: func XEnum() file: go/controlled_generation.go start line: 239 end line: 305 size: 58 LOC McCabe index: 4 number of parameters: 0 id: 7 unit: func TokensCachedContent() file: go/count_tokens.go start line: 276 end line: 339 size: 56 LOC McCabe index: 7 number of parameters: 0 id: 8 unit: func CacheCreateFromName() file: go/cache.go start line: 74 end line: 136 size: 56 LOC McCabe index: 6 number of parameters: 0 id: 9 unit: func CacheUpdate() file: go/cache.go start line: 402 end line: 464 size: 55 LOC McCabe index: 6 number of parameters: 0 id: 10 unit: func CacheCreate() file: go/cache.go start line: 14 end line: 72 size: 52 LOC McCabe index: 5 number of parameters: 0 id: 11 unit: func TokensMultimodalVideoAudioFileApi() file: go/count_tokens.go start line: 169 end line: 227 size: 51 LOC McCabe index: 9 number of parameters: 0 id: 12 unit: func TextGenMultimodalMultiImagePromptStreaming() file: go/text_generation.go start line: 196 end line: 252 size: 50 LOC McCabe index: 6 number of parameters: 0 id: 13 unit: func ChatStreamingWithImages() file: go/chat.go start line: 94 end line: 150 size: 48 LOC McCabe index: 8 number of parameters: 0 id: 14 unit: func TextGenMultimodalVideoPromptStreaming() file: go/text_generation.go start line: 392 end line: 448 size: 48 LOC McCabe index: 8 number of parameters: 0 id: 15 unit: func FilesCreateVideo() file: go/files.go start line: 140 end line: 191 size: 44 LOC McCabe index: 7 number of parameters: 0 id: 16 unit: func CacheGet() file: go/cache.go start line: 283 end line: 332 size: 44 LOC McCabe index: 5 number of parameters: 0 id: 17 unit: func SafetySettingsMulti() file: go/safety_settings.go start line: 58 end line: 109 size: 44 LOC McCabe index: 5 number of parameters: 0 id: 18 unit: func TextGenMultimodalMultiImagePrompt() file: go/text_generation.go start line: 144 end line: 194 size: 44 LOC McCabe index: 5 number of parameters: 0 id: 19 unit: func XEnumRaw() file: go/controlled_generation.go start line: 307 end line: 355 size: 44 LOC McCabe index: 4 number of parameters: 0 id: 20 unit: func JsonEnumRaw() file: go/controlled_generation.go start line: 189 end line: 237 size: 43 LOC McCabe index: 4 number of parameters: 0 id: 21 unit: func TokensMultimodalImageFileApi() file: go/count_tokens.go start line: 121 end line: 167 size: 42 LOC McCabe index: 6 number of parameters: 0 id: 22 unit: func TokensMultimodalPdfFileApi() file: go/count_tokens.go start line: 229 end line: 274 size: 42 LOC McCabe index: 6 number of parameters: 0 id: 23 unit: func CacheDelete() file: go/cache.go start line: 235 end line: 281 size: 42 LOC McCabe index: 5 number of parameters: 0 id: 24 unit: func TextGenMultimodalVideoPrompt() file: go/text_generation.go start line: 340 end line: 390 size: 42 LOC McCabe index: 7 number of parameters: 0 id: 25 unit: export async function tokensChat() file: javascript/count_tokens.js start line: 60 end line: 108 size: 39 LOC McCabe index: 1 number of parameters: 0 id: 26 unit: func TokensChat() file: go/count_tokens.go start line: 71 end line: 119 size: 39 LOC McCabe index: 6 number of parameters: 0 id: 27 unit: func TextGenMultimodalOneImagePromptStreaming() file: go/text_generation.go start line: 102 end line: 142 size: 39 LOC McCabe index: 5 number of parameters: 0 id: 28 unit: func TextGenMultimodalAudioStreaming() file: go/text_generation.go start line: 294 end line: 338 size: 39 LOC McCabe index: 5 number of parameters: 0 id: 29 unit: func TextGenMultimodalPdfStreaming() file: go/text_generation.go start line: 490 end line: 534 size: 39 LOC McCabe index: 5 number of parameters: 0 id: 30 unit: func JsonControlledGeneration() file: go/controlled_generation.go start line: 12 end line: 55 size: 39 LOC McCabe index: 3 number of parameters: 0 id: 31 unit: export async function cacheCreateFromChat() file: javascript/cache.js start line: 109 end line: 166 size: 38 LOC McCabe index: 1 number of parameters: 0 id: 32 unit: func SafetySettings() file: go/safety_settings.go start line: 13 end line: 56 size: 38 LOC McCabe index: 5 number of parameters: 0 id: 33 unit: export async function cacheUpdate() file: javascript/cache.js start line: 270 end line: 316 size: 36 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: func FilesCreateText() file: go/files.go start line: 14 end line: 55 size: 36 LOC McCabe index: 4 number of parameters: 0 id: 35 unit: func FilesCreateImage() file: go/files.go start line: 57 end line: 97 size: 36 LOC McCabe index: 4 number of parameters: 0 id: 36 unit: func FilesDelete() file: go/files.go start line: 327 end line: 369 size: 36 LOC McCabe index: 5 number of parameters: 0 id: 37 unit: func ThinkingWithSearchToolStreaming() file: go/thinking_generation.go start line: 219 end line: 265 size: 36 LOC McCabe index: 8 number of parameters: 0 id: 38 unit: def test_cache_create_from_chat() file: python/cache.py start line: 0 end line: 0 size: 35 LOC McCabe index: 1 number of parameters: 1 id: 39 unit: export async function tokensCachedContent() file: javascript/count_tokens.js start line: 259 end line: 301 size: 35 LOC McCabe index: 1 number of parameters: 0 id: 40 unit: func FilesCreateAudio() file: go/files.go start line: 99 end line: 138 size: 35 LOC McCabe index: 4 number of parameters: 0 id: 41 unit: func FilesCreateFromIO() file: go/files.go start line: 233 end line: 272 size: 35 LOC McCabe index: 5 number of parameters: 0 id: 42 unit: func FilesCreatePdf() file: go/files.go start line: 193 end line: 231 size: 34 LOC McCabe index: 4 number of parameters: 0 id: 43 unit: func ChatStreaming() file: go/chat.go start line: 52 end line: 92 size: 34 LOC McCabe index: 7 number of parameters: 0 id: 44 unit: func EnumInJson() file: go/controlled_generation.go start line: 149 end line: 187 size: 34 LOC McCabe index: 3 number of parameters: 0 id: 45 unit: func ModelsList() file: go/models.go start line: 12 end line: 51 size: 33 LOC McCabe index: 9 number of parameters: 0 id: 46 unit: func TextGenMultimodalOneImagePrompt() file: go/text_generation.go start line: 64 end line: 100 size: 33 LOC McCabe index: 4 number of parameters: 0 id: 47 unit: func TextGenMultimodalAudio() file: go/text_generation.go start line: 254 end line: 292 size: 33 LOC McCabe index: 4 number of parameters: 0 id: 48 unit: func TextGenMultimodalPdf() file: go/text_generation.go start line: 450 end line: 488 size: 33 LOC McCabe index: 4 number of parameters: 0 id: 49 unit: def test_cache_update() file: python/cache.py start line: 0 end line: 0 size: 32 LOC McCabe index: 1 number of parameters: 1 id: 50 unit: def test_tokens_chat() file: python/count_tokens.py start line: 0 end line: 0 size: 32 LOC McCabe index: 4 number of parameters: 1 id: 51 unit: func ThinkingCodeExplanation() file: go/thinking_generation.go start line: 118 end line: 156 size: 32 LOC McCabe index: 5 number of parameters: 0 id: 52 unit: export async function cacheList() file: javascript/cache.js start line: 229 end line: 268 size: 31 LOC McCabe index: 4 number of parameters: 0 id: 53 unit: public static GenerateContentResponse safetySettingsMulti() file: java/src/main/java/com/example/gemini/SafetySettings.java start line: 58 end line: 95 size: 31 LOC McCabe index: 2 number of parameters: 0 id: 54 unit: func CodeExecutionRequestOverride() file: go/code_execution.go start line: 76 end line: 146 size: 31 LOC McCabe index: 4 number of parameters: 0 id: 55 unit: export async function cacheCreateFromName() file: javascript/cache.js start line: 69 end line: 107 size: 30 LOC McCabe index: 1 number of parameters: 0 id: 56 unit: export async function cacheCreate() file: javascript/cache.js start line: 31 end line: 67 size: 29 LOC McCabe index: 1 number of parameters: 0 id: 57 unit: func ConfigureModelParameters() file: go/configure_model_parameters.go start line: 11 end line: 45 size: 29 LOC McCabe index: 3 number of parameters: 0 id: 58 unit: func TokensTextOnly() file: go/count_tokens.go start line: 36 end line: 69 size: 29 LOC McCabe index: 5 number of parameters: 0 id: 59 unit: func Chat() file: go/chat.go start line: 14 end line: 50 size: 29 LOC McCabe index: 5 number of parameters: 0 id: 60 unit: def test_safety_settings_multi() file: python/safety_settings.py start line: 0 end line: 0 size: 28 LOC McCabe index: 2 number of parameters: 1 id: 61 unit: export async function safetySettingsMulti() file: javascript/safety_settings.js start line: 47 end line: 80 size: 28 LOC McCabe index: 2 number of parameters: 0 id: 62 unit: func EmbedContent() file: go/embed.go start line: 13 end line: 44 size: 28 LOC McCabe index: 4 number of parameters: 0 id: 63 unit: func BatchEmbedContents() file: go/embed.go start line: 46 end line: 78 size: 28 LOC McCabe index: 4 number of parameters: 0 id: 64 unit: func FilesGet() file: go/files.go start line: 296 end line: 325 size: 28 LOC McCabe index: 4 number of parameters: 0 id: 65 unit: def test_chat_streaming() file: python/chat.py start line: 0 end line: 0 size: 27 LOC McCabe index: 3 number of parameters: 1 id: 66 unit: func ThinkingTextOnlyPromptStreaming() file: go/thinking_generation.go start line: 53 end line: 84 size: 27 LOC McCabe index: 6 number of parameters: 0 id: 67 unit: func ThinkingCodeExecution() file: go/thinking_generation.go start line: 267 end line: 301 size: 27 LOC McCabe index: 3 number of parameters: 0 id: 68 unit: export async function chatStreaming() file: javascript/chat.js start line: 64 end line: 104 size: 26 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: func CodeExecutionBasic() file: go/code_execution.go start line: 12 end line: 74 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 70 unit: func ThinkingLogicPuzzle() file: go/thinking_generation.go start line: 86 end line: 116 size: 26 LOC McCabe index: 3 number of parameters: 0 id: 71 unit: def test_tokens_cached_content() file: python/count_tokens.py start line: 0 end line: 0 size: 25 LOC McCabe index: 2 number of parameters: 1 id: 72 unit: export async function chat() file: javascript/chat.js start line: 31 end line: 62 size: 25 LOC McCabe index: 1 number of parameters: 0 id: 73 unit: func TextGenTextOnlyPromptStreaming() file: go/text_generation.go start line: 36 end line: 62 size: 25 LOC McCabe index: 4 number of parameters: 0 id: 74 unit: func ThinkingWithSearchTool() file: go/thinking_generation.go start line: 186 end line: 217 size: 25 LOC McCabe index: 3 number of parameters: 0 id: 75 unit: func ThinkingStructuredOutputJson() file: go/thinking_generation.go start line: 303 end line: 344 size: 25 LOC McCabe index: 3 number of parameters: 0 id: 76 unit: def test_enum_in_json() file: python/controlled_generation.py start line: 0 end line: 0 size: 24 LOC McCabe index: 2 number of parameters: 1 id: 77 unit: export async function cacheGet() file: javascript/cache.js start line: 197 end line: 227 size: 24 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: export async function tokensMultimodalImageInline() file: javascript/count_tokens.js start line: 110 end line: 144 size: 24 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: public static GenerateContentResponse codeExecutionRequestOverride() file: java/src/main/java/com/example/gemini/CodeExecution.java start line: 97 end line: 159 size: 24 LOC McCabe index: 2 number of parameters: 0 id: 80 unit: public static List chat() file: java/src/main/java/com/example/gemini/ChatSession.java start line: 30 end line: 60 size: 24 LOC McCabe index: 1 number of parameters: 0 id: 81 unit: export async function textGenMultimodalVideoPrompt() file: javascript/text_generation.js start line: 235 end line: 265 size: 23 LOC McCabe index: 3 number of parameters: 0 id: 82 unit: export async function textGenMultimodalVideoPromptStreaming() file: javascript/text_generation.js start line: 267 end line: 301 size: 23 LOC McCabe index: 3 number of parameters: 0 id: 83 unit: export async function jsonControlledGeneration() file: javascript/controlled_generation.js start line: 31 end line: 57 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 84 unit: export async function enumInJson() file: javascript/controlled_generation.js start line: 107 end line: 133 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 85 unit: export async function filesCreateVideo() file: javascript/files.js start line: 104 end line: 133 size: 23 LOC McCabe index: 3 number of parameters: 0 id: 86 unit: public static GenerateContentResponse safetySettings() file: java/src/main/java/com/example/gemini/SafetySettings.java start line: 28 end line: 56 size: 23 LOC McCabe index: 1 number of parameters: 0 id: 87 unit: def test_cache_create_from_name() file: python/cache.py start line: 0 end line: 0 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 88 unit: def test_chat() file: python/chat.py start line: 0 end line: 0 size: 22 LOC McCabe index: 1 number of parameters: 1 id: 89 unit: export async function textGenMultimodalMultiImagePrompt() file: javascript/text_generation.js start line: 120 end line: 148 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 90 unit: export async function cacheDelete() file: javascript/cache.js start line: 168 end line: 195 size: 22 LOC McCabe index: 1 number of parameters: 0 id: 91 unit: func SystemInstruction() file: go/system_instruction.go start line: 11 end line: 39 size: 22 LOC McCabe index: 3 number of parameters: 0 id: 92 unit: func createArithmeticToolDeclaration() file: go/function_calling.go start line: 38 end line: 59 size: 22 LOC McCabe index: 1 number of parameters: 2 id: 93 unit: func ThinkingCreativeWritingConstraints() file: go/thinking_generation.go start line: 158 end line: 184 size: 22 LOC McCabe index: 3 number of parameters: 0 id: 94 unit: def test_safety_settings() file: python/safety_settings.py start line: 0 end line: 0 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 95 unit: def test_cache_create() file: python/cache.py start line: 0 end line: 0 size: 21 LOC McCabe index: 1 number of parameters: 1 id: 96 unit: export async function textGenMultimodalMultiImagePromptStreaming() file: javascript/text_generation.js start line: 150 end line: 181 size: 21 LOC McCabe index: 1 number of parameters: 0 id: 97 unit: public static String textGenMultimodalOneImagePromptStreaming() file: java/src/main/java/com/example/gemini/TextGeneration.java start line: 87 end line: 115 size: 21 LOC McCabe index: 2 number of parameters: 0 id: 98 unit: public static String textGenMultimodalMultiImagePromptStreaming() file: java/src/main/java/com/example/gemini/TextGeneration.java start line: 141 end line: 169 size: 21 LOC McCabe index: 2 number of parameters: 0 id: 99 unit: def test_function_calling() file: python/function_calling.py start line: 0 end line: 0 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 100 unit: def test_tokens_multimodal_video_audio_file_api() file: python/count_tokens.py start line: 0 end line: 0 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 101 unit: def test_chat_streaming_with_images() file: python/chat.py start line: 0 end line: 0 size: 20 LOC McCabe index: 3 number of parameters: 1 id: 102 unit: def test_json_enum() file: python/controlled_generation.py start line: 0 end line: 0 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 103 unit: def test_x_enum() file: python/controlled_generation.py start line: 0 end line: 0 size: 20 LOC McCabe index: 1 number of parameters: 1 id: 104 unit: export async function safetySettings() file: javascript/safety_settings.js start line: 20 end line: 45 size: 20 LOC McCabe index: 1 number of parameters: 0 id: 105 unit: export async function tokensMultimodalVideoAudioFileApi() file: javascript/count_tokens.js start line: 181 end line: 223 size: 20 LOC McCabe index: 3 number of parameters: 0 id: 106 unit: func JsonNoSchema() file: go/controlled_generation.go start line: 57 end line: 78 size: 20 LOC McCabe index: 3 number of parameters: 0 id: 107 unit: def test_thinking_with_search_tool_streaming() file: python/thinking_generation.py start line: 0 end line: 0 size: 19 LOC McCabe index: 2 number of parameters: 1 id: 108 unit: def test_code_execution_chat() file: python/code_execution.py start line: 0 end line: 0 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 109 unit: export async function codeExecutionChat() file: javascript/code_execution.js start line: 160 end line: 216 size: 19 LOC McCabe index: 1 number of parameters: 0 id: 110 unit: func FilesList() file: go/files.go start line: 274 end line: 294 size: 19 LOC McCabe index: 4 number of parameters: 0 id: 111 unit: func TextGenTextOnlyPrompt() file: go/text_generation.go start line: 14 end line: 34 size: 19 LOC McCabe index: 3 number of parameters: 0 id: 112 unit: func ThinkingTextOnlyPrompt() file: go/thinking_generation.go start line: 28 end line: 51 size: 19 LOC McCabe index: 3 number of parameters: 0 id: 113 unit: export async function thinkingCodeExecution() file: javascript/thinking_generation.js start line: 206 end line: 233 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 114 unit: export async function codeExecutionBasic() file: javascript/code_execution.js start line: 20 end line: 103 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 115 unit: export async function tokensTextOnly() file: javascript/count_tokens.js start line: 36 end line: 58 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 116 unit: export async function filesCreateImage() file: javascript/files.js start line: 57 end line: 79 size: 18 LOC McCabe index: 1 number of parameters: 0 id: 117 unit: public static GenerateContentResponse codeExecutionBasic() file: java/src/main/java/com/example/gemini/CodeExecution.java start line: 30 end line: 95 size: 18 LOC McCabe index: 2 number of parameters: 0 id: 118 unit: def test_text_gen_multimodal_multi_image_prompt_streaming() file: python/text_generation.py start line: 0 end line: 0 size: 17 LOC McCabe index: 2 number of parameters: 1 id: 119 unit: def test_text_gen_multimodal_video_prompt_streaming() file: python/text_generation.py start line: 0 end line: 0 size: 17 LOC McCabe index: 4 number of parameters: 1 id: 120 unit: def test_thinking_with_search_tool() file: python/thinking_generation.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 121 unit: def test_json_enum_raw() file: python/controlled_generation.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: def test_x_enum_raw() file: python/controlled_generation.py start line: 0 end line: 0 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 123 unit: export async function textGenMultimodalOneImagePrompt() file: javascript/text_generation.js start line: 68 end line: 90 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 124 unit: export async function textGenMultimodalOneImagePromptStreaming() file: javascript/text_generation.js start line: 92 end line: 118 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 125 unit: export async function textGenMultimodalAudio() file: javascript/text_generation.js start line: 183 end line: 205 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 126 unit: export async function textGenMultimodalAudioStreaming() file: javascript/text_generation.js start line: 207 end line: 233 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 127 unit: export async function textGenMultimodalPdf() file: javascript/text_generation.js start line: 303 end line: 325 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 128 unit: export async function textGenMultimodalPdfStreaming() file: javascript/text_generation.js start line: 327 end line: 353 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 129 unit: export async function codeExecutionRequestOverride() file: javascript/code_execution.js start line: 105 end line: 158 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 130 unit: export async function filesCreateText() file: javascript/files.js start line: 34 end line: 55 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 131 unit: export async function filesCreateAudio() file: javascript/files.js start line: 81 end line: 102 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 132 unit: export async function chatStreamingWithImages() file: javascript/chat.js start line: 106 end line: 144 size: 17 LOC McCabe index: 1 number of parameters: 0 id: 133 unit: public static String textGenMultimodalAudioStreaming() file: java/src/main/java/com/example/gemini/TextGeneration.java start line: 189 end line: 212 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 134 unit: public static String textGenMultimodalVideoPromptStreaming() file: java/src/main/java/com/example/gemini/TextGeneration.java start line: 232 end line: 255 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 135 unit: public static String textGenMultimodalPdfStreaming() file: java/src/main/java/com/example/gemini/TextGeneration.java start line: 275 end line: 298 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 136 unit: func TokensContextWindow() file: go/count_tokens.go start line: 15 end line: 34 size: 17 LOC McCabe index: 3 number of parameters: 0 id: 137 unit: def test_thinking_code_execution() file: python/thinking_generation.py start line: 0 end line: 0 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 138 unit: def test_cache_list() file: python/cache.py start line: 0 end line: 0 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 139 unit: def test_code_execution_request_override() file: python/code_execution.py start line: 0 end line: 0 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 140 unit: def test_json_controlled_generation() file: python/controlled_generation.py start line: 0 end line: 0 size: 16 LOC McCabe index: 1 number of parameters: 1 id: 141 unit: export async function filesCreatePdf() file: javascript/files.js start line: 135 end line: 154 size: 16 LOC McCabe index: 1 number of parameters: 0 id: 142 unit: export async function filesList() file: javascript/files.js start line: 156 end line: 176 size: 16 LOC McCabe index: 4 number of parameters: 0 id: 143 unit: func ModelsGet() file: go/models.go start line: 53 end line: 72 size: 16 LOC McCabe index: 3 number of parameters: 0 id: 144 unit: def test_text_gen_multimodal_multi_image_prompt() file: python/text_generation.py start line: 0 end line: 0 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 145 unit: def test_text_gen_multimodal_video_prompt() file: python/text_generation.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 146 unit: def test_batch_embed_contents() file: python/embed.py start line: 0 end line: 0 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 147 unit: def test_configure_model_parameters() file: python/configure_model_parameters.py start line: 0 end line: 0 size: 15 LOC McCabe index: 1 number of parameters: 1 id: 148 unit: def test_tokens_multimodal_image_inline() file: python/count_tokens.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 149 unit: def test_files_create_video() file: python/files.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 150 unit: def test_code_execution_basic() file: python/code_execution.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 151 unit: def factorial() file: javascript/thinking_generation.js start line: 105 end line: 121 size: 15 LOC McCabe index: 3 number of parameters: 1 id: 152 unit: export async function thinkingWithSearchTool() file: javascript/thinking_generation.js start line: 149 end line: 173 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 153 unit: export async function thinkingWithSearchToolStreaming() file: javascript/thinking_generation.js start line: 176 end line: 203 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 154 unit: export async function thinkingStructuredOutputJson() file: javascript/thinking_generation.js start line: 235 end line: 265 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 155 unit: export async function batchEmbedContents() file: javascript/embed.js start line: 36 end line: 54 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 156 unit: contents: createUserContent() file: javascript/files.js start line: 146 end line: 166 size: 15 LOC McCabe index: 2 number of parameters: 3 id: 157 unit: export async function configureModelParameters() file: javascript/configure_model_parameters.js start line: 20 end line: 41 size: 15 LOC McCabe index: 1 number of parameters: 0 id: 158 unit: public static String textGenTextOnlyPromptStreaming() file: java/src/main/java/com/example/gemini/TextGeneration.java start line: 47 end line: 66 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 159 unit: def test_cache_get() file: python/cache.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 160 unit: def test_tokens_multimodal_image_file_api() file: python/count_tokens.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 161 unit: def test_tokens_multimodal_pdf_file_api() file: python/count_tokens.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 162 unit: def test_files_create_image() file: python/files.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: def test_files_create_from_IO() file: python/files.py start line: 0 end line: 0 size: 14 LOC McCabe index: 1 number of parameters: 1 id: 164 unit: export async function tokensMultimodalImageFileApi() file: javascript/count_tokens.js start line: 146 end line: 179 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 165 unit: export async function tokensMultimodalPdfFileApi() file: javascript/count_tokens.js start line: 225 end line: 257 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 166 unit: export async function jsonNoSchema() file: javascript/controlled_generation.js start line: 59 end line: 76 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 167 unit: def test_models_list() file: python/models.py start line: 0 end line: 0 size: 13 LOC McCabe index: 7 number of parameters: 1 id: 168 unit: def test_cache_delete() file: python/cache.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 169 unit: def test_json_no_schema() file: python/controlled_generation.py start line: 0 end line: 0 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: if not isinstance() file: javascript/thinking_generation.js start line: 107 end line: 121 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 171 unit: export async function jsonEnum() file: javascript/controlled_generation.js start line: 78 end line: 105 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 172 unit: export async function jsonEnumRaw() file: javascript/controlled_generation.js start line: 135 end line: 162 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 173 unit: export async function xEnum() file: javascript/controlled_generation.js start line: 164 end line: 191 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 174 unit: export async function xEnumRaw() file: javascript/controlled_generation.js start line: 193 end line: 220 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 175 unit: def test_tokens_text_only() file: python/count_tokens.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 176 unit: def test_system_instruction() file: python/system_instruction.py start line: 0 end line: 0 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 177 unit: def test_files_delete() file: python/files.py start line: 0 end line: 0 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 178 unit: raise ValueError() file: javascript/thinking_generation.js start line: 108 end line: 121 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 179 unit: export async function systemInstruction() file: javascript/system_instruction.js start line: 20 end line: 35 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 180 unit: contents: createUserContent() file: javascript/files.js start line: 46 end line: 62 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 181 unit: contents: createUserContent() file: javascript/files.js start line: 70 end line: 86 size: 12 LOC McCabe index: 1 number of parameters: 2 id: 182 unit: def test_text_gen_multimodal_one_image_prompt_streaming() file: python/text_generation.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 183 unit: def test_text_gen_multimodal_audio_streaming() file: python/text_generation.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 184 unit: def test_text_gen_multimodal_pdf_streaming() file: python/text_generation.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 185 unit: def test_embed_content() file: python/embed.py start line: 0 end line: 0 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 186 unit: def test_thinking_text_only_prompt_streaming() file: python/thinking_generation.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 1 id: 187 unit: export async function embedContent() file: javascript/embed.js start line: 20 end line: 34 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 188 unit: contents: createUserContent() file: javascript/controlled_generation.js start line: 90 end line: 100 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 189 unit: contents: createUserContent() file: javascript/controlled_generation.js start line: 147 end line: 157 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 190 unit: contents: createUserContent() file: javascript/controlled_generation.js start line: 176 end line: 186 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 191 unit: contents: createUserContent() file: javascript/controlled_generation.js start line: 205 end line: 215 size: 11 LOC McCabe index: 1 number of parameters: 3 id: 192 unit: contents: createUserContent() file: javascript/files.js start line: 94 end line: 109 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 193 unit: contents: createUserContent() file: javascript/files.js start line: 125 end line: 140 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 194 unit: export async function filesGet() file: javascript/files.js start line: 178 end line: 193 size: 11 LOC McCabe index: 1 number of parameters: 0 id: 195 unit: def test_files_create_text() file: python/files.py start line: 0 end line: 0 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 196 unit: export async function thinkingTextOnlyPrompt() file: javascript/thinking_generation.js start line: 30 end line: 47 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 197 unit: export async function thinkingTextOnlyPromptStreaming() file: javascript/thinking_generation.js start line: 49 end line: 69 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 198 unit: func newGenAIClient() file: go/thinking_generation.go start line: 17 end line: 26 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 199 unit: def test_text_gen_text_only_prompt_streaming() file: python/text_generation.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 200 unit: def test_text_gen_multimodal_one_image_prompt() file: python/text_generation.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 201 unit: def test_text_gen_multimodal_audio() file: python/text_generation.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 202 unit: def test_text_gen_multimodal_pdf() file: python/text_generation.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 203 unit: def test_thinking_text_only_prompt() file: python/thinking_generation.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 204 unit: def test_thinking_logic_puzzle() file: python/thinking_generation.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 205 unit: def test_thinking_code_explanation() file: python/thinking_generation.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 206 unit: def test_thinking_creative_writing_constraints() file: python/thinking_generation.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 207 unit: def test_files_create_audio() file: python/files.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 208 unit: def test_files_create_pdf() file: python/files.py start line: 0 end line: 0 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 209 unit: export async function textGenTextOnlyPrompt() file: javascript/text_generation.js start line: 34 end line: 47 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 210 unit: export async function textGenTextOnlyPromptStreaming() file: javascript/text_generation.js start line: 49 end line: 66 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 211 unit: export async function thinkingLogicPuzzle() file: javascript/thinking_generation.js start line: 71 end line: 94 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 212 unit: def test_thinking_structured_output_json() file: python/thinking_generation.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 213 unit: def test_files_get() file: python/files.py start line: 0 end line: 0 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 214 unit: def test_text_gen_text_only_prompt() file: python/text_generation.py start line: 0 end line: 0 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 215 unit: from only one box of your choosing() file: javascript/thinking_generation.js start line: 81 end line: 88 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 216 unit: export async function thinkingCodeExplanation() file: javascript/thinking_generation.js start line: 96 end line: 127 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 217 unit: Write a short story() file: javascript/thinking_generation.js start line: 135 end line: 141 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 218 unit: message: createUserContent() file: javascript/cache.js start line: 130 end line: 137 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 219 unit: contents: createUserContent() file: javascript/count_tokens.js start line: 159 end line: 166 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 220 unit: contents: createUserContent() file: javascript/count_tokens.js start line: 168 end line: 175 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 221 unit: contents: createUserContent() file: javascript/count_tokens.js start line: 202 end line: 209 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 222 unit: contents: createUserContent() file: javascript/count_tokens.js start line: 211 end line: 219 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 223 unit: contents: createUserContent() file: javascript/count_tokens.js start line: 237 end line: 244 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 224 unit: contents: createUserContent() file: javascript/count_tokens.js start line: 246 end line: 253 size: 7 LOC McCabe index: 1 number of parameters: 3 id: 225 unit: def test_tokens_context_window() file: python/count_tokens.py start line: 0 end line: 0 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 226 unit: def test_files_list() file: python/files.py start line: 0 end line: 0 size: 6 LOC McCabe index: 2 number of parameters: 1 id: 227 unit: message: createUserContent() file: javascript/chat.js start line: 133 end line: 138 size: 6 LOC McCabe index: 2 number of parameters: 3 id: 228 unit: def test_models_get() file: python/models.py start line: 0 end line: 0 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 229 unit: export async function thinkingCreativeWritingConstraints() file: javascript/thinking_generation.js start line: 129 end line: 147 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 230 unit: for await() file: javascript/text_generation.js start line: 60 end line: 63 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 231 unit: for await() file: javascript/text_generation.js start line: 112 end line: 115 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 232 unit: for await() file: javascript/text_generation.js start line: 175 end line: 178 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 233 unit: for await() file: javascript/text_generation.js start line: 227 end line: 230 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 234 unit: for await() file: javascript/text_generation.js start line: 295 end line: 298 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 235 unit: for await() file: javascript/text_generation.js start line: 347 end line: 350 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 236 unit: for await() file: javascript/thinking_generation.js start line: 63 end line: 66 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 237 unit: for await() file: javascript/thinking_generation.js start line: 196 end line: 199 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 238 unit: for await() file: javascript/chat.js start line: 87 end line: 90 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 239 unit: for await() file: javascript/chat.js start line: 96 end line: 99 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 240 unit: for await() file: javascript/chat.js start line: 118 end line: 121 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 241 unit: for await() file: javascript/chat.js start line: 138 end line: 141 size: 4 LOC McCabe index: 2 number of parameters: 1 id: 242 unit: function add() file: javascript/function_calling.js start line: 32 end line: 34 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 243 unit: function subtract() file: javascript/function_calling.js start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 244 unit: function multiply() file: javascript/function_calling.js start line: 52 end line: 54 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 245 unit: function divide() file: javascript/function_calling.js start line: 62 end line: 64 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 246 unit: func add() file: go/function_calling.go start line: 14 end line: 16 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 247 unit: func subtract() file: go/function_calling.go start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 248 unit: func multiply() file: go/function_calling.go start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 249 unit: func divide() file: go/function_calling.go start line: 26 end line: 28 size: 3 LOC McCabe index: 1 number of parameters: 2