Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/open-code-review
/ functions
Functions
7,169 in github.com/alibaba/open-code-review
⨍
Functions
7,169
◇
Types & classes
774
Method
Run
(ctx context.Context, _ orchestrator.Request)
acp/internal/adapter/connection_test.go:92
Method
Run
(ctx context.Context, request orchestrator.Request)
acp/internal/adapter/resources_test.go:123
Method
Run
(context.Context, orchestrator.Request)
acp/internal/adapter/presentation/helpers_test.go:17
Method
Run
(context.Context, orchestrator.Request)
acp/internal/adapter/presentation/helpers_test.go:28
Method
Run
(ctx context.Context, request orchestrator.Request)
acp/internal/adapter/presentation/helpers_test.go:40
Method
Run
(ctx context.Context, _ orchestrator.Request)
acp/internal/adapter/presentation/helpers_test.go:47
Method
Run
(ctx context.Context, req orchestrator.Request)
acp/internal/adapter/presentation/helpers_test.go:64
Method
Run
Run starts asynchronous execution and returns immediately. The events channel closes after stream readers finish; it may drop best-effort events when
acp/internal/orchestrator/types.go:167
Method
RunManifest
()
cmd/opencodereview/emit_run_result_test.go:59
Function
RunningView
({ logs, onCancel }: Props)
extensions/frontend/src/webview/views/RunningView.tsx:10
Function
ScrollToTop
({ pathname })
pages/src/App.tsx:19
Function
SearchTrigger
({ placeholder, onClick, style }: SearchTriggerProps)
pages/src/components/SearchTrigger.tsx:15
Function
Select
({ value, options, placeholder, onChange }: Props)
extensions/frontend/src/webview/components/Select.tsx:19
Method
SessionID
()
cmd/opencodereview/emit_run_result_test.go:57
Method
SessionUpdate
(ctx context.Context, n acp.SessionNotification)
acp/internal/adapter/progress_test.go:27
Method
SessionUpdate
(ctx context.Context, n acp.SessionNotification)
acp/internal/adapter/prompt_test.go:49
Method
SessionUpdate
(_ context.Context, n acp.SessionNotification)
acp/internal/adapter/resources_test.go:207
Method
SessionUpdate
(_ context.Context, n acp.SessionNotification)
acp/internal/adapter/locations_test.go:76
Method
SessionUpdate
(ctx context.Context, p acp.SessionNotification)
acp/internal/adapter/transport/connection.go:79
Method
SetWriteDeadline
(t time.Time)
acp/cmd/ocr-acp/stdio.go:28
Function
SwitchLangButton
({ to }: { to: Language })
pages/src/pages/DocsPage.test.tsx:87
Function
TestA11yJS_Contract
(t *testing.T)
internal/viewer/server_extra_test.go:1552
Function
TestACPProcessHelper
(t *testing.T)
acp/cmd/ocr-acp/main_test.go:47
Function
TestAWSSettingsRejectedWhenEntryOverridesProtocol
TestAWSSettingsRejectedWhenEntryOverridesProtocol covers the same entry-level protocol override the resolver honours: a preset's protocol can be overr
cmd/opencodereview/bedrock_config_test.go:170
Function
TestAccumulateResponseStream
(t *testing.T)
internal/llm/responses_client_test.go:810
Function
TestAccumulateResponseStreamRejectsExcessOutput
(t *testing.T)
internal/llm/responses_client_test.go:875
Function
TestAccumulateResponseStreamRejectsOversizedItem
(t *testing.T)
internal/llm/responses_client_test.go:897
Function
TestAccumulateResponseStreamRejectsTerminalBeyondLimit
(t *testing.T)
internal/llm/responses_client_test.go:905
Function
TestActiveModelForProvider
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1490
Function
TestActiveModelForProvider_FallsBackToCfgModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1309
Function
TestActiveModelForProvider_PrefersEntryModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1300
Function
TestAddColorFlags
(t *testing.T)
cmd/opencodereview/color_test.go:163
Function
TestAddNextMessage_NoStartThenCancelSameCall
(t *testing.T)
internal/llmloop/runner_test.go:603
Function
TestAddOutputFlags_IncludesSarif
--- AC-11: --format flag includes sarif ---
cmd/opencodereview/sarif_test.go:360
Function
TestAddToolFailure
(t *testing.T)
internal/session/history_test.go:509
Function
TestAddToolResult
(t *testing.T)
internal/session/history_test.go:484
Function
TestAdjustModelIdxAfterDelete
(t *testing.T)
cmd/opencodereview/provider_tui_rollback_test.go:194
Function
TestAgentFilesReviewedCountsDispatchableDiffs
(t *testing.T)
internal/agent/coverage_test.go:76
Function
TestAgentGettersNil
TestAgentGettersNil covers the defensive early returns in the accessor methods when the agent (or its session) was never fully constructed, so callers
internal/agent/agent_test.go:873
Function
TestAgentGettersNilSafe
TestAgentGettersNilSafe covers the nil-safe guard paths of the small ResultProvider getters, which the happy-path budget/manifest tests do not exercis
internal/agent/getters_test.go:11
Function
TestAgentLifecycleMethods
(t *testing.T)
acp/internal/adapter/server_test.go:61
Function
TestAgentSessionAndPrompt
(t *testing.T)
acp/internal/adapter/server_test.go:41
Function
TestAgent_Getters
(t *testing.T)
internal/scan/coverage_test.go:57
Function
TestAgent_Getters
(t *testing.T)
internal/agent/coverage_test.go:23
Function
TestAgent_RecordWarning
(t *testing.T)
internal/agent/coverage_test.go:92
Function
TestAgent_TokenAccumulation
(t *testing.T)
internal/agent/agent_test.go:1309
Function
TestAllowlistKeepsEveryTestedExtension
TestAllowlistKeepsEveryTestedExtension ties the explicit table in TestIsAllowedExt to supported_file_types.json. The table above can only test what it
internal/config/allowlist/allowed_ext_test.go:209
Function
TestAmbientAuthFollowsTheEffectiveProtocol
TestAmbientAuthFollowsTheEffectiveProtocol covers the entry-level protocol override. An entry may override a preset's protocol, so reading ambient aut
internal/llm/bedrock_test.go:167
Function
TestAnthropicAuthorizationHeader
(t *testing.T)
acp/internal/intent/llm/client_test.go:261
Function
TestAnthropicCallTool
(t *testing.T)
acp/internal/intent/llm/client_test.go:171
Function
TestAnthropicClient_ContextSessionKeyOverridesFallback
(t *testing.T)
internal/llm/client_test.go:1904
Function
TestAnthropicClient_DefaultsToAuthorizationHeader
(t *testing.T)
internal/llm/client_test.go:471
Function
TestAnthropicClient_ExtraBodyStreamDropped
True and non-boolean stream values must not request SSE while Messages.New expects JSON. Other extra_body keys must still be forwarded.
internal/llm/client_test.go:1425
Function
TestAnthropicClient_ExtraBodyStreamFalseForwarded
(t *testing.T)
internal/llm/client_test.go:1493
Function
TestAnthropicClient_ExtraBodyThinkingDroppedWhenBudgetExceedsMaxTokens
TestAnthropicClient_ExtraBodyThinkingDroppedWhenBudgetExceedsMaxTokens guards the real failure this reproduces: a provider config's extra_body.thinkin
internal/llm/client_test.go:1603
Function
TestAnthropicClient_ExtraBodyThinkingDroppedWithForcedToolChoice
TestAnthropicClient_ExtraBodyThinkingDroppedWithForcedToolChoice verifies that extra_body.thinking — the supported way to turn on extended thinking to
internal/llm/client_test.go:1542
Function
TestAnthropicClient_ExtraHeadersSent
(t *testing.T)
internal/llm/client_test.go:513
Function
TestAnthropicClient_NativeOnlySetWhenThinkingPresent
TestAnthropicClient_NativeOnlySetWhenThinkingPresent guards the hasThinking gate in mapAnthropicResponse: an ordinary text + tool_use turn (no thinkin
internal/llm/native_turn_test.go:300
Function
TestAnthropicClient_NoExtraHeadersWhenEmpty
(t *testing.T)
internal/llm/client_test.go:1384
Function
TestAnthropicClient_ReplaysThinkingBlockBeforeToolUse
(t *testing.T)
internal/llm/native_turn_test.go:111
Function
TestAnthropicClient_RetryCodesTriggersRetry
(t *testing.T)
internal/llm/client_test.go:2200
Function
TestAnthropicClient_SessionKeyExpandedInExtraHeadersAndBody
(t *testing.T)
internal/llm/client_test.go:1783
Function
TestAnthropicClient_UsesConfiguredAuthorizationHeader
(t *testing.T)
internal/llm/client_test.go:425
Function
TestAnthropicClient_UsesConfiguredXAPIKeyHeader
(t *testing.T)
internal/llm/client_test.go:379
Function
TestAnthropicErrors
(t *testing.T)
acp/internal/intent/llm/client_test.go:278
Function
TestAnthropicForcedToolDisablesThinking
(t *testing.T)
acp/internal/intent/llm/client_test.go:207
Function
TestAnyToAttr
(t *testing.T)
internal/telemetry/span_test.go:19
Function
TestApiKeyStepCanConfirm
apiKeyStepCanConfirm gates the final Enter of `ocr config provider`. It has to mirror the resolver's precedence (static api_key -> api_key_cmd -> env
cmd/opencodereview/provider_tui_funcs_test.go:1899
Function
TestAppendTaskRecord
(t *testing.T)
internal/session/history_test.go:120
Function
TestAppendTaskRecord_CopiesNativeAndReasoningContent
TestAppendTaskRecord_CopiesNativeAndReasoningContent guards copyMessages' own "deep copy" contract: an assistant history message carrying replay state
internal/session/history_test.go:166
Function
TestAppendTaskRecord_CopiesToolCallExtraContent
TestAppendTaskRecord_CopiesToolCallExtraContent guards copyMessages' deep-copy contract for the one tool-call field that is a byte slice: a plain elem
internal/session/history_test.go:649
Function
TestAppendTaskRecord_DefensiveCopy
(t *testing.T)
internal/session/history_test.go:147
Function
TestAppendTaskRecord_PersistsToolCallExtraContent
TestAppendTaskRecord_PersistsToolCallExtraContent guards the request half of the #1357 contract: a tool call's opaque provider metadata must survive i
internal/session/history_test.go:559
Function
TestAppendTaskRecord_PersistsToolCallsAndNativePayload
TestAppendTaskRecord_PersistsToolCallsAndNativePayload guards copyMessagesForJSON: the llm_request record's messages must be a self-contained, replaya
internal/session/history_test.go:382
Function
TestApplyCLIExcludes_AppendsPatterns
(t *testing.T)
cmd/opencodereview/shared_test.go:57
Function
TestApplyCLIExcludes_Empty
(t *testing.T)
cmd/opencodereview/shared_test.go:49
Function
TestApplyCLIExcludes_NilFileFilter
(t *testing.T)
cmd/opencodereview/shared_test.go:65
Function
TestApplyCreateCustomProvider
TestApplyCreateCustomProvider covers the create-custom-provider handler: nil config guard, empty config path guard, empty name, duplicate name, succes
cmd/opencodereview/provider_tui_persist_test.go:177
Function
TestApplyCustomProviderConfigInvalidName
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:292
Function
TestApplyCustomProviderConfigNormalizesAuthHeader
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2735
Function
TestApplyCustomProviderConfigPreservesModelOrder
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2665
Function
TestApplyCustomProviderConfig_EmptyKeyClearsSavedAPIKey
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:390
Function
TestApplyCustomProviderConfig_MissingModel
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:307
Function
TestApplyCustomProviderConfig_MissingProvider
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:285
Function
TestApplyDedupGroups_AcceptsMarkdownFences
(t *testing.T)
internal/scan/dedup_test.go:84
Function
TestApplyDedupGroups_KeepCanonicalContentWhenNoMergedContent
(t *testing.T)
internal/scan/dedup_test.go:48
Function
TestApplyDedupGroups_MergeAndKeep
(t *testing.T)
internal/scan/dedup_test.go:17
Function
TestApplyDedupGroups_RejectsBadShapes
(t *testing.T)
internal/scan/dedup_test.go:64
Function
TestApplyEditCustomProviderSave_ClearsAPIKeyWhenEditedEmpty
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:810
Function
TestApplyEditCustomProviderSave_Guards
TestApplyEditCustomProviderSave_Guards covers the two early-return guards: a nil config and an empty config path.
cmd/opencodereview/provider_tui_editsave_test.go:14
Function
TestApplyEditCustomProviderSave_PreservesAPIKeyWhenMasked
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:848
Function
TestApplyEditCustomProviderSave_RenameReassignsActiveProvider
TestApplyEditCustomProviderSave_RenameReassignsActiveProvider covers the name-change branch where the edited provider is also the active provider: the
cmd/opencodereview/provider_tui_editsave_test.go:40
Function
TestApplyEditCustomProviderSave_SaveFailureRestoresBackup
TestApplyEditCustomProviderSave_SaveFailureRestoresBackup covers the save-failure path where the reload also fails (config path is a directory, so bot
cmd/opencodereview/provider_tui_editsave_test.go:78
Function
TestApplyEffort
(t *testing.T)
internal/config/template/effort_test.go:41
Function
TestApplyExtraHeaders
(t *testing.T)
acp/internal/intent/llm/client_test.go:370
Function
TestApplyLanguage
(t *testing.T)
internal/config/template/template_test.go:303
Function
TestApplyLanguage
(t *testing.T)
internal/config/testconnection/testconnection_test.go:59
Function
TestApplyLanguage_DefaultEnglish
(t *testing.T)
internal/config/template/template_test.go:322
Function
TestApplyLanguage_EmptyLang
(t *testing.T)
internal/config/testconnection/testconnection_test.go:82
Function
TestApplyLanguage_ScanTemplate
(t *testing.T)
internal/config/template/template_test.go:118
← previous
next →
3,201–3,300 of 7,169, ranked by callers