SYMBOL INDEX (11207 symbols across 995 files) FILE: bot/bridge/src/index.ts constant PORT (line 26) | const PORT = parseInt(process.env.BRIDGE_PORT || '3001', 10); constant AUTH_DIR (line 27) | const AUTH_DIR = process.env.AUTH_DIR || join(homedir(), '.vikingbot', '... constant TOKEN (line 28) | const TOKEN = process.env.BRIDGE_TOKEN || undefined; FILE: bot/bridge/src/server.ts type SendCommand (line 9) | interface SendCommand { type BridgeMessage (line 15) | interface BridgeMessage { class BridgeServer (line 20) | class BridgeServer { method constructor (line 25) | constructor(private port: number, private authDir: string, private tok... method start (line 27) | async start(): Promise { method setupClient (line 70) | private setupClient(ws: WebSocket): void { method handleCommand (line 95) | private async handleCommand(cmd: SendCommand): Promise { method broadcast (line 101) | private broadcast(msg: BridgeMessage): void { method stop (line 110) | async stop(): Promise { FILE: bot/bridge/src/whatsapp.ts constant VERSION (line 18) | const VERSION = '0.1.0'; type InboundMessage (line 20) | interface InboundMessage { type WhatsAppClientOptions (line 29) | interface WhatsAppClientOptions { class WhatsAppClient (line 36) | class WhatsAppClient { method constructor (line 41) | constructor(options: WhatsAppClientOptions) { method connect (line 45) | async connect(): Promise { method extractMessageContent (line 136) | private extractMessageContent(msg: any): string | null { method sendMessage (line 173) | async sendMessage(to: string, text: string): Promise { method disconnect (line 181) | async disconnect(): Promise { FILE: bot/eval/locomo/judge.py function grade_answer (line 12) | async def grade_answer( function load_answers (line 70) | def load_answers(input_path: str) -> tuple[list[dict], list[str]]: function main (line 85) | async def main(): FILE: bot/eval/locomo/run_eval.py function load_locomo_qa (line 10) | def load_locomo_qa( function run_vikingbot_chat (line 43) | def run_vikingbot_chat(question: str) -> tuple[str, dict, float]: function load_processed_questions (line 81) | def load_processed_questions(output_path: str) -> set: function main (line 92) | def main(): FILE: bot/eval/locomo/stat_judge_result.py function main (line 7) | def main(): FILE: bot/eval/skillsbench/skill_bench_eval.py function safe_rmtree (line 57) | def safe_rmtree(path: Path) -> bool: function get_available_tasks (line 81) | def get_available_tasks() -> list[Path]: function run_prepare (line 88) | def run_prepare(args: argparse.Namespace) -> None: function run_list (line 176) | def run_list(args: argparse.Namespace) -> None: function run_verification (line 196) | def run_verification(task_dir: Path, work_dir: Path, storage_workspace: ... function run_task (line 442) | def run_task( function run_run (line 664) | def run_run(args: argparse.Namespace) -> None: function main (line 870) | def main(): FILE: bot/tests/conftest.py function event_loop (line 22) | def event_loop(): function temp_dir (line 30) | def temp_dir() -> Generator[Path, None, None]: function test_data_dir (line 38) | def test_data_dir(temp_dir: Path) -> Path: function sample_text_file (line 46) | def sample_text_file(temp_dir: Path) -> Path: function sample_markdown_file (line 54) | def sample_markdown_file(temp_dir: Path) -> Path: function sample_skill_file (line 76) | def sample_skill_file(temp_dir: Path) -> Path: function sample_directory (line 106) | def sample_directory(temp_dir: Path) -> Path: function sample_files (line 122) | def sample_files(temp_dir: Path) -> list[Path]: function client (line 147) | async def client(test_data_dir: Path) -> AsyncGenerator[AsyncOpenViking,... function uninitialized_client (line 161) | async def uninitialized_client(test_data_dir: Path) -> AsyncGenerator[As... function client_with_resource_sync (line 177) | async def client_with_resource_sync( function client_with_resource (line 190) | async def client_with_resource( FILE: bot/tests/test_chat_functionality.py function temp_workspace (line 17) | def temp_workspace(): function message_bus (line 24) | def message_bus(): class TestSingleTurnChannel (line 29) | class TestSingleTurnChannel: method test_single_turn_channel_initialization (line 32) | def test_single_turn_channel_initialization(self, message_bus, temp_wo... method test_single_turn_channel_receives_response (line 50) | async def test_single_turn_channel_receives_response(self, message_bus... class TestChatChannel (line 80) | class TestChatChannel: method test_chat_channel_initialization (line 83) | def test_chat_channel_initialization(self, message_bus, temp_workspace): method test_chat_channel_send_response (line 100) | async def test_chat_channel_send_response(self, message_bus, temp_work... FILE: bot/vikingbot/agent/context.py class ContextBuilder (line 19) | class ContextBuilder: method __init__ (line 30) | def __init__( method memory (line 48) | def memory(self): method skills (line 55) | def skills(self): method _ensure_templates_once (line 61) | def _ensure_templates_once(self): method build_system_prompt (line 69) | async def build_system_prompt( method _build_user_memory (line 151) | async def _build_user_memory( method _get_identity (line 186) | async def _get_identity(self, session_key: SessionKey) -> str: method _load_bootstrap_files (line 232) | def _load_bootstrap_files(self) -> str: method build_messages (line 245) | async def build_messages( method _build_user_content (line 285) | def _build_user_content(self, text: str, media: list[str] | None) -> s... method add_tool_result (line 304) | def add_tool_result( method add_assistant_message (line 324) | def add_assistant_message( FILE: bot/vikingbot/agent/loop.py class AgentLoop (line 35) | class AgentLoop: method __init__ (line 47) | def __init__( method _publish_thinking_event (line 133) | async def _publish_thinking_event( method _register_builtin_hooks (line 167) | def _register_builtin_hooks(self): method _register_default_tools (line 171) | def _register_default_tools(self) -> None: method run (line 181) | async def run(self) -> None: method stop (line 209) | def stop(self) -> None: method _run_agent_loop (line 214) | async def _run_agent_loop( method _process_message (line 373) | async def _process_message(self, msg: InboundMessage) -> OutboundMessa... method _process_system_message (line 551) | async def _process_system_message(self, msg: InboundMessage) -> Outbou... method _consolidate_memory (line 586) | async def _consolidate_memory(self, session, archive_all: bool = False... method _consolidate_viking_memory (line 685) | async def _consolidate_viking_memory(self, session) -> None: method _safe_consolidate_memory (line 705) | async def _safe_consolidate_memory(self, session, archive_all: bool = ... method _check_cmd_auth (line 712) | def _check_cmd_auth(self, msg: InboundMessage) -> bool: method process_direct (line 737) | async def process_direct( FILE: bot/vikingbot/agent/memory.py class MemoryStore (line 13) | class MemoryStore: method __init__ (line 16) | def __init__(self, workspace: Path): method read_long_term (line 21) | def read_long_term(self) -> str: method _parse_viking_memory (line 26) | def _parse_viking_memory(self, result: Any) -> str: method write_long_term (line 39) | def write_long_term(self, content: str) -> None: method append_history (line 42) | def append_history(self, entry: str) -> None: method get_memory_context (line 46) | def get_memory_context(self) -> str: method get_viking_memory_context (line 50) | async def get_viking_memory_context(self, current_message: str, worksp... method get_viking_user_profile (line 67) | async def get_viking_user_profile(self, workspace_id: str, user_id: st... FILE: bot/vikingbot/agent/skills.py class SkillsLoader (line 14) | class SkillsLoader: method __init__ (line 22) | def __init__(self, workspace: Path, builtin_skills_dir: Path | None = ... method list_skills (line 27) | def list_skills(self, filter_unavailable: bool = True) -> list[dict[st... method load_skill (line 54) | def load_skill(self, name: str) -> str | None: method load_skills_for_context (line 77) | def load_skills_for_context(self, skill_names: list[str]) -> str: method build_skills_summary (line 96) | def build_skills_summary(self) -> str: method _get_missing_requirements (line 137) | def _get_missing_requirements(self, skill_meta: dict) -> str: method _get_skill_description (line 149) | def _get_skill_description(self, name: str) -> str: method _strip_frontmatter (line 156) | def _strip_frontmatter(self, content: str) -> str: method _parse_vikingbot_metadata (line 164) | def _parse_vikingbot_metadata(self, raw: str) -> dict: method _check_requirements (line 172) | def _check_requirements(self, skill_meta: dict) -> bool: method _get_skill_meta (line 183) | def _get_skill_meta(self, name: str) -> dict: method get_always_skills (line 188) | def get_always_skills(self) -> list[str]: method get_skill_metadata (line 198) | def get_skill_metadata(self, name: str) -> dict | None: FILE: bot/vikingbot/agent/subagent.py class SubagentManager (line 19) | class SubagentManager: method __init__ (line 28) | def __init__( method spawn (line 47) | async def spawn( method _run_subagent (line 78) | async def _run_subagent( method _announce_result (line 171) | async def _announce_result( method _build_subagent_prompt (line 202) | def _build_subagent_prompt(self, task: str) -> str: method get_running_count (line 240) | def get_running_count(self) -> int: FILE: bot/vikingbot/agent/tools/base.py class ToolContext (line 10) | class ToolContext: class Tool (line 46) | class Tool(ABC): method name (line 100) | def name(self) -> str: method description (line 106) | def description(self) -> str: method parameters (line 112) | def parameters(self) -> dict[str, Any]: method execute (line 117) | async def execute(self, tool_context: ToolContext, **kwargs: Any) -> str: method validate_params (line 130) | def validate_params(self, params: dict[str, Any]) -> list[str]: method _validate (line 161) | def _validate(self, val: Any, schema: dict[str, Any], path: str) -> li... method to_schema (line 214) | def to_schema(self) -> dict[str, Any]: FILE: bot/vikingbot/agent/tools/cron.py class CronTool (line 10) | class CronTool(Tool): method __init__ (line 13) | def __init__(self, cron_service: CronService): method name (line 17) | def name(self) -> str: method description (line 21) | def description(self) -> str: method parameters (line 25) | def parameters(self) -> dict[str, Any]: method execute (line 53) | async def execute( method _add_job (line 75) | def _add_job( method _list_jobs (line 113) | def _list_jobs(self) -> str: method _remove_job (line 120) | def _remove_job(self, job_id: str | None) -> str: FILE: bot/vikingbot/agent/tools/factory.py function register_default_tools (line 29) | def register_default_tools( function register_subagent_tools (line 130) | def register_subagent_tools( FILE: bot/vikingbot/agent/tools/filesystem.py class ReadFileTool (line 12) | class ReadFileTool(Tool): method name (line 16) | def name(self) -> str: method description (line 20) | def description(self) -> str: method parameters (line 24) | def parameters(self) -> dict[str, Any]: method execute (line 31) | async def execute(self, tool_context: "ToolContext", path: str, **kwar... class WriteFileTool (line 44) | class WriteFileTool(Tool): method name (line 48) | def name(self) -> str: method description (line 52) | def description(self) -> str: method parameters (line 56) | def parameters(self) -> dict[str, Any]: method execute (line 66) | async def execute( class EditFileTool (line 79) | class EditFileTool(Tool): method name (line 83) | def name(self) -> str: method description (line 87) | def description(self) -> str: method parameters (line 91) | def parameters(self) -> dict[str, Any]: method execute (line 102) | async def execute( class ListDirTool (line 128) | class ListDirTool(Tool): method name (line 132) | def name(self) -> str: method description (line 136) | def description(self) -> str: method parameters (line 140) | def parameters(self) -> dict[str, Any]: method execute (line 147) | async def execute(self, tool_context: "ToolContext", path: str, **kwar... FILE: bot/vikingbot/agent/tools/image.py class ImageGenerationTool (line 18) | class ImageGenerationTool(Tool): method name (line 22) | def name(self) -> str: method description (line 26) | def description(self) -> str: method parameters (line 30) | def parameters(self) -> dict[str, Any]: method __init__ (line 86) | def __init__( method set_send_callback (line 98) | def set_send_callback(self, callback: Callable[[OutboundMessage], Awai... method _is_seedream_model (line 103) | def _is_seedream_model(self) -> bool: method _parse_image_data (line 107) | async def _parse_image_data(self, image_str: str) -> tuple[str, str]: method _url_to_base64 (line 124) | async def _url_to_base64(self, url: str) -> str: method _build_common_kwargs (line 131) | def _build_common_kwargs( method _seedream_image_to_image (line 157) | async def _seedream_image_to_image( method execute (line 185) | async def execute( FILE: bot/vikingbot/agent/tools/message.py class MessageTool (line 10) | class MessageTool(Tool): method __init__ (line 13) | def __init__( method set_send_callback (line 19) | def set_send_callback(self, callback: Callable[[OutboundMessage], Awai... method name (line 24) | def name(self) -> str: method description (line 28) | def description(self) -> str: method parameters (line 32) | def parameters(self) -> dict[str, Any]: method execute (line 41) | async def execute(self, tool_context: "ToolContext", **kwargs: Any) ->... FILE: bot/vikingbot/agent/tools/ov_file.py class OVFileTool (line 14) | class OVFileTool(Tool, ABC): method __init__ (line 15) | def __init__(self): method _get_client (line 19) | async def _get_client(self, tool_context: ToolContext): class VikingReadTool (line 25) | class VikingReadTool(OVFileTool): method name (line 29) | def name(self) -> str: method description (line 33) | def description(self) -> str: method parameters (line 37) | def parameters(self) -> dict[str, Any]: method execute (line 55) | async def execute( class VikingListTool (line 66) | class VikingListTool(OVFileTool): method name (line 70) | def name(self) -> str: method description (line 74) | def description(self) -> str: method parameters (line 78) | def parameters(self) -> dict[str, Any]: method execute (line 95) | async def execute( class VikingSearchTool (line 120) | class VikingSearchTool(OVFileTool): method name (line 124) | def name(self) -> str: method description (line 128) | def description(self) -> str: method parameters (line 132) | def parameters(self) -> dict[str, Any]: method execute (line 145) | async def execute( class VikingAddResourceTool (line 169) | class VikingAddResourceTool(OVFileTool): method name (line 173) | def name(self) -> str: method description (line 177) | def description(self) -> str: method parameters (line 181) | def parameters(self) -> dict[str, Any]: method execute (line 191) | async def execute( class VikingGrepTool (line 225) | class VikingGrepTool(OVFileTool): method name (line 229) | def name(self) -> str: method description (line 233) | def description(self) -> str: method parameters (line 237) | def parameters(self) -> dict[str, Any]: method execute (line 258) | async def execute( class VikingGlobTool (line 298) | class VikingGlobTool(OVFileTool): method name (line 302) | def name(self) -> str: method description (line 306) | def description(self) -> str: method parameters (line 310) | def parameters(self) -> dict[str, Any]: method execute (line 327) | async def execute( class VikingSearchUserMemoryTool (line 355) | class VikingSearchUserMemoryTool(OVFileTool): method name (line 359) | def name(self) -> str: method description (line 363) | def description(self) -> str: method parameters (line 367) | def parameters(self) -> dict[str, Any]: method execute (line 374) | async def execute(self, tool_context: ToolContext, query: str, **kwarg... class VikingMemoryCommitTool (line 386) | class VikingMemoryCommitTool(OVFileTool): method name (line 390) | def name(self) -> str: method description (line 394) | def description(self) -> str: method parameters (line 398) | def parameters(self) -> dict[str, Any]: method execute (line 418) | async def execute( FILE: bot/vikingbot/agent/tools/registry.py class ToolRegistry (line 17) | class ToolRegistry: method __init__ (line 24) | def __init__(self): method register (line 28) | def register(self, tool: Tool) -> None: method unregister (line 51) | def unregister(self, name: str) -> None: method get (line 68) | def get(self, name: str) -> Tool | None: method has (line 87) | def has(self, name: str) -> bool: method get_definitions (line 103) | def get_definitions(self) -> list[dict[str, Any]]: method execute (line 121) | async def execute( method tool_names (line 214) | def tool_names(self) -> list[str]: method __len__ (line 218) | def __len__(self) -> int: method __contains__ (line 221) | def __contains__(self, name: str) -> bool: FILE: bot/vikingbot/agent/tools/shell.py class ExecTool (line 18) | class ExecTool(Tool): method __init__ (line 21) | def __init__(self, timeout: int = 60): method name (line 25) | def name(self) -> str: method description (line 29) | def description(self) -> str: method parameters (line 33) | def parameters(self) -> dict[str, Any]: method execute (line 46) | async def execute( FILE: bot/vikingbot/agent/tools/spawn.py class SpawnTool (line 11) | class SpawnTool(Tool): method __init__ (line 19) | def __init__(self, manager: "SubagentManager"): method name (line 23) | def name(self) -> str: method description (line 27) | def description(self) -> str: method parameters (line 35) | def parameters(self) -> dict[str, Any]: method execute (line 51) | async def execute( FILE: bot/vikingbot/agent/tools/web.py function _strip_tags (line 18) | def _strip_tags(text: str) -> str: function _normalize (line 26) | def _normalize(text: str) -> str: function _validate_url (line 32) | def _validate_url(url: str) -> tuple[bool, str]: class WebFetchTool (line 45) | class WebFetchTool(Tool): method __init__ (line 60) | def __init__(self, max_chars: int = 50000): method execute (line 63) | async def execute( method _to_markdown (line 123) | def _to_markdown(self, html: str) -> str: FILE: bot/vikingbot/agent/tools/websearch/__init__.py class WebSearchTool (line 24) | class WebSearchTool(Tool): method __init__ (line 64) | def __init__( method backend (line 98) | def backend(self) -> WebSearchBackend: method execute (line 102) | async def execute( FILE: bot/vikingbot/agent/tools/websearch/base.py class WebSearchBackend (line 7) | class WebSearchBackend(ABC): method name (line 12) | def name(self) -> str: method is_available (line 18) | def is_available(self) -> bool: method search (line 23) | async def search(self, query: str, count: int, **kwargs: Any) -> str: FILE: bot/vikingbot/agent/tools/websearch/brave.py class BraveBackend (line 13) | class BraveBackend(WebSearchBackend): method __init__ (line 18) | def __init__(self, api_key: str | None = None): method is_available (line 22) | def is_available(self) -> bool: method search (line 25) | async def search(self, query: str, count: int, **kwargs: Any) -> str: FILE: bot/vikingbot/agent/tools/websearch/ddgs.py class DDGSBackend (line 11) | class DDGSBackend(WebSearchBackend): method __init__ (line 16) | def __init__(self): method _get_ddgs (line 19) | def _get_ddgs(self): method is_available (line 27) | def is_available(self) -> bool: method search (line 35) | async def search(self, query: str, count: int, **kwargs: Any) -> str: FILE: bot/vikingbot/agent/tools/websearch/exa.py class ExaBackend (line 13) | class ExaBackend(WebSearchBackend): method __init__ (line 18) | def __init__(self, api_key: str | None = None): method is_available (line 22) | def is_available(self) -> bool: method search (line 25) | async def search( FILE: bot/vikingbot/agent/tools/websearch/registry.py class WebSearchBackendRegistry (line 8) | class WebSearchBackendRegistry: method __init__ (line 14) | def __init__(self): method register (line 17) | def register(self, backend_class: Type[WebSearchBackend]) -> Type[WebS... method get (line 31) | def get(self, name: str) -> Optional[Type[WebSearchBackend]]: method list_names (line 35) | def list_names(self) -> List[str]: method create (line 39) | def create( method select_auto (line 72) | def select_auto( function register_backend (line 103) | def register_backend(cls: Type[WebSearchBackend]) -> Type[WebSearchBacke... FILE: bot/vikingbot/agent/tools/websearch/tavily.py class TavilyBackend (line 11) | class TavilyBackend(WebSearchBackend): method __init__ (line 16) | def __init__(self, api_key: str | None = None): method is_available (line 26) | def is_available(self) -> bool: method search (line 29) | async def search(self, query: str, count: int, **kwargs: Any) -> str: FILE: bot/vikingbot/bus/events.py class OutboundEventType (line 11) | class OutboundEventType(str, Enum): class InboundMessage (line 22) | class InboundMessage: class OutboundMessage (line 34) | class OutboundMessage: method channel (line 47) | def channel(self) -> str: method is_normal_message (line 52) | def is_normal_message(self) -> bool: FILE: bot/vikingbot/bus/queue.py class MessageBus (line 11) | class MessageBus: method __init__ (line 19) | def __init__(self): method publish_inbound (line 27) | async def publish_inbound(self, msg: InboundMessage) -> None: method consume_inbound (line 32) | async def consume_inbound(self) -> InboundMessage: method publish_outbound (line 36) | async def publish_outbound(self, msg: OutboundMessage) -> None: method consume_outbound (line 41) | async def consume_outbound(self) -> OutboundMessage: method subscribe_outbound (line 45) | def subscribe_outbound( method dispatch_outbound (line 53) | async def dispatch_outbound(self) -> None: method stop (line 74) | def stop(self) -> None: method inbound_size (line 79) | def inbound_size(self) -> int: method outbound_size (line 84) | def outbound_size(self) -> int: FILE: bot/vikingbot/channels/base.py class BaseChannel (line 31) | class BaseChannel(ABC): method __init__ (line 41) | def __init__( method start (line 61) | async def start(self) -> None: method stop (line 73) | async def stop(self) -> None: method send (line 78) | async def send(self, msg: OutboundMessage) -> bool: method handle_processing_tick (line 104) | async def handle_processing_tick(self, message_id: str, tick_count: in... method send_processing_reaction (line 111) | async def send_processing_reaction(self, message_id: str, emoji: str) ... method is_allowed (line 118) | def is_allowed(self, sender_id: str) -> bool: method _handle_message (line 143) | async def _handle_message( method _parse_data_uri (line 184) | async def _parse_data_uri(self, data_uri: str) -> Tuple[bool, Any]: method _extract_images (line 242) | def _extract_images(self, content: str) -> tuple[list[str], str]: method _is_image_data (line 279) | def _is_image_data(self, data: bytes) -> bool: method _html_to_markdown (line 305) | def _html_to_markdown(self, html_content: str, url: str = "") -> str: method _process_html_content (line 343) | def _process_html_content(self, data: bytes, url: str = "") -> Tuple[b... method is_running (line 368) | def is_running(self) -> bool: FILE: bot/vikingbot/channels/chat.py class ChatChannelConfig (line 21) | class ChatChannelConfig(BaseChannelConfig): method channel_id (line 28) | def channel_id(self) -> str: class ChatChannel (line 32) | class ChatChannel(BaseChannel): method __init__ (line 43) | def __init__( method start (line 61) | async def start(self) -> None: method stop (line 68) | async def stop(self) -> None: method send (line 72) | async def send(self, msg: OutboundMessage) -> None: method _run_interactive (line 114) | async def _run_interactive(self) -> None: FILE: bot/vikingbot/channels/dingtalk.py class NanobotDingTalkHandler (line 36) | class NanobotDingTalkHandler(CallbackHandler): method __init__ (line 42) | def __init__(self, channel: "DingTalkChannel"): method process (line 46) | async def process(self, message: CallbackMessage): class DingTalkChannel (line 84) | class DingTalkChannel(BaseChannel): method __init__ (line 97) | def __init__(self, config: DingTalkChannelConfig, bus: MessageBus, **k... method start (line 110) | async def start(self) -> None: method stop (line 151) | async def stop(self) -> None: method _get_access_token (line 163) | async def _get_access_token(self) -> str | None: method send (line 190) | async def send(self, msg: OutboundMessage) -> None: method _on_message (line 231) | async def _on_message(self, content: str, sender_id: str, sender_name:... FILE: bot/vikingbot/channels/discord.py class DiscordChannel (line 23) | class DiscordChannel(BaseChannel): method __init__ (line 28) | def __init__(self, config: DiscordChannelConfig, bus: MessageBus, **kw... method start (line 37) | async def start(self) -> None: method stop (line 60) | async def stop(self) -> None: method send (line 76) | async def send(self, msg: OutboundMessage) -> None: method _gateway_loop (line 115) | async def _gateway_loop(self) -> None: method _identify (line 153) | async def _identify(self) -> None: method _start_heartbeat (line 172) | async def _start_heartbeat(self, interval_s: float) -> None: method _handle_message_create (line 189) | async def _handle_message_create(self, payload: dict[str, Any]) -> None: method _start_typing (line 253) | async def _start_typing(self, channel_id: str) -> None: method _stop_typing (line 269) | async def _stop_typing(self, channel_id: str) -> None: FILE: bot/vikingbot/channels/email.py class EmailChannel (line 25) | class EmailChannel(BaseChannel): method __init__ (line 53) | def __init__(self, config: EmailChannelConfig, bus: MessageBus, **kwar... method start (line 61) | async def start(self) -> None: method stop (line 101) | async def stop(self) -> None: method send (line 105) | async def send(self, msg: OutboundMessage) -> None: method _validate_config (line 151) | def _validate_config(self) -> bool: method _smtp_send (line 171) | def _smtp_send(self, msg: EmailMessage) -> None: method _fetch_new_messages (line 189) | def _fetch_new_messages(self) -> list[dict[str, Any]]: method fetch_messages_between_dates (line 198) | def fetch_messages_between_dates( method _fetch_messages (line 224) | def _fetch_messages( method _format_imap_date (line 322) | def _format_imap_date(cls, value: date) -> str: method _extract_message_bytes (line 328) | def _extract_message_bytes(fetched: list[Any]) -> bytes | None: method _extract_uid (line 339) | def _extract_uid(fetched: list[Any]) -> str: method _decode_header_value (line 349) | def _decode_header_value(value: str) -> str: method _extract_text_body (line 358) | def _extract_text_body(cls, msg: Any) -> str: method _html_to_text (line 398) | def _html_to_text(raw_html: str) -> str: method _reply_subject (line 404) | def _reply_subject(self, base_subject: str) -> str: FILE: bot/vikingbot/channels/feishu.py class FeishuChannel (line 68) | class FeishuChannel(BaseChannel): method __init__ (line 92) | def __init__(self, config: FeishuChannelConfig, bus: MessageBus, **kwa... method _get_tenant_access_token (line 104) | async def _get_tenant_access_token(self) -> str: method _upload_image_to_feishu (line 128) | async def _upload_image_to_feishu(self, image_data: bytes) -> str: method _download_feishu_image (line 151) | async def _download_feishu_image(self, image_key: str, message_id: str... method _save_image_to_temp (line 184) | async def _save_image_to_temp(self, image_bytes: bytes) -> str: method _get_chat_mode (line 194) | async def _get_chat_mode(self, chat_id: str) -> str: method start (line 216) | async def start(self) -> None: method stop (line 280) | async def stop(self) -> None: method _add_reaction_sync (line 292) | def _add_reaction_sync(self, message_id: str, emoji_type: str) -> None: method _add_reaction (line 313) | async def _add_reaction(self, message_id: str, emoji_type: str = "THUM... method send_processing_reaction (line 325) | async def send_processing_reaction(self, message_id: str, emoji: str) ... method handle_processing_tick (line 331) | async def handle_processing_tick(self, message_id: str, tick_count: in... method _parse_md_table (line 350) | def _parse_md_table(table_text: str) -> dict | None: method _build_card_elements (line 374) | def _build_card_elements(self, content: str) -> list[dict]: method _split_headings (line 402) | def _split_headings(self, content: str) -> list[dict]: method _process_content_with_images (line 438) | async def _process_content_with_images( method send (line 495) | async def send(self, msg: OutboundMessage) -> None: method _on_message_sync (line 628) | def _on_message_sync(self, data: "P2ImMessageReceiveV1") -> None: method _on_message (line 636) | async def _on_message(self, data: "P2ImMessageReceiveV1") -> None: method _extract_and_upload_images (line 822) | async def _extract_and_upload_images(self, content: str) -> tuple[str,... FILE: bot/vikingbot/channels/manager.py class ChannelManager (line 15) | class ChannelManager: method __init__ (line 25) | def __init__(self, bus: MessageBus): method add_channel (line 32) | def add_channel(self, channel: BaseChannel) -> None: method add_channel_from_config (line 38) | def add_channel_from_config( method load_channels_from_config (line 151) | def load_channels_from_config( method _start_channel (line 169) | async def _start_channel(self, name: str, channel: BaseChannel) -> None: method start_all (line 176) | async def start_all(self) -> None: method stop_all (line 194) | async def stop_all(self) -> None: method _dispatch_outbound (line 214) | async def _dispatch_outbound(self) -> None: method get_channel (line 239) | def get_channel(self, name: str) -> BaseChannel | None: method get_status (line 243) | def get_status(self) -> dict[str, Any]: method enabled_channels (line 251) | def enabled_channels(self) -> list[str]: FILE: bot/vikingbot/channels/mochat.py class MochatBufferedEntry (line 46) | class MochatBufferedEntry: class DelayState (line 59) | class DelayState: class MochatTarget (line 68) | class MochatTarget: function _safe_dict (line 80) | def _safe_dict(value: Any) -> dict: function _str_field (line 85) | def _str_field(src: dict, *keys: str) -> str: function _make_synthetic_event (line 94) | def _make_synthetic_event( function normalize_mochat_content (line 123) | def normalize_mochat_content(content: Any) -> str: function resolve_mochat_target (line 135) | def resolve_mochat_target(raw: str) -> MochatTarget: function extract_mention_ids (line 154) | def extract_mention_ids(value: Any) -> list[str]: function resolve_was_mentioned (line 172) | def resolve_was_mentioned(payload: dict[str, Any], agent_user_id: str) -... function resolve_require_mention (line 189) | def resolve_require_mention(config: MochatConfig, session_id: str, group... function build_buffered_body (line 198) | def build_buffered_body(entries: list[MochatBufferedEntry], is_group: bo... function parse_timestamp (line 217) | def parse_timestamp(value: Any) -> int | None: class MochatChannel (line 232) | class MochatChannel(BaseChannel): method __init__ (line 237) | def __init__(self, config: MochatChannelConfig, bus: MessageBus, **kwa... method start (line 268) | async def start(self) -> None: method stop (line 288) | async def stop(self) -> None: method send (line 315) | async def send(self, msg: OutboundMessage) -> None: method _seed_targets_from_config (line 355) | def _seed_targets_from_config(self) -> None: method _normalize_id_list (line 365) | def _normalize_id_list(values: list[str]) -> tuple[list[str], bool]: method _start_socket_client (line 371) | async def _start_socket_client(self) -> bool: method _build_notify_handler (line 452) | def _build_notify_handler(self, event_name: str): method _subscribe_all (line 463) | async def _subscribe_all(self) -> bool: method _subscribe_sessions (line 470) | async def _subscribe_sessions(self, session_ids: list[str]) -> bool: method _subscribe_panels (line 505) | async def _subscribe_panels(self, panel_ids: list[str]) -> bool: method _socket_call (line 516) | async def _socket_call(self, event_name: str, payload: dict[str, Any])... method _refresh_loop (line 527) | async def _refresh_loop(self) -> None: method _refresh_targets (line 538) | async def _refresh_targets(self, subscribe_new: bool) -> None: method _refresh_sessions_directory (line 544) | async def _refresh_sessions_directory(self, subscribe_new: bool) -> None: method _refresh_panels (line 578) | async def _refresh_panels(self, subscribe_new: bool) -> None: method _ensure_fallback_workers (line 610) | async def _ensure_fallback_workers(self) -> None: method _stop_fallback_workers (line 625) | async def _stop_fallback_workers(self) -> None: method _session_watch_worker (line 635) | async def _session_watch_worker(self, session_id: str) -> None: method _panel_poll_worker (line 654) | async def _panel_poll_worker(self, panel_id: str) -> None: method _handle_watch_payload (line 689) | async def _handle_watch_payload(self, payload: dict[str, Any], target_... method _process_inbound_event (line 723) | async def _process_inbound_event( method _remember_message_id (line 783) | def _remember_message_id(self, key: str, message_id: str) -> bool: method _enqueue_delayed_entry (line 794) | async def _enqueue_delayed_entry( method _delay_flush_after (line 804) | async def _delay_flush_after(self, key: str, target_id: str, target_ki... method _flush_delayed_entries (line 808) | async def _flush_delayed_entries( method _dispatch_entries (line 829) | async def _dispatch_entries( method _cancel_delay_timers (line 858) | async def _cancel_delay_timers(self) -> None: method _handle_notify_chat_message (line 866) | async def _handle_notify_chat_message(self, payload: Any) -> None: method _handle_notify_inbox_append (line 888) | async def _handle_notify_inbox_append(self, payload: Any) -> None: method _mark_session_cursor (line 920) | def _mark_session_cursor(self, session_id: str, cursor: int) -> None: method _save_cursor_debounced (line 927) | async def _save_cursor_debounced(self) -> None: method _load_session_cursors (line 931) | async def _load_session_cursors(self) -> None: method _save_session_cursors (line 945) | async def _save_session_cursors(self) -> None: method _post_json (line 966) | async def _post_json(self, path: str, payload: dict[str, Any]) -> dict... method _api_send (line 992) | async def _api_send( method _read_group_id (line 1010) | def _read_group_id(metadata: dict[str, Any]) -> str | None: FILE: bot/vikingbot/channels/openapi.py class OpenAPIChannelConfig (line 32) | class OpenAPIChannelConfig(BaseChannelConfig): method channel_id (line 42) | def channel_id(self) -> str: class PendingResponse (line 46) | class PendingResponse: method __init__ (line 49) | def __init__(self): method add_event (line 55) | async def add_event(self, event_type: str, data: Any): method set_final (line 61) | def set_final(self, content: str): method close_stream (line 66) | async def close_stream(self): class OpenAPIChannel (line 71) | class OpenAPIChannel(BaseChannel): method __init__ (line 80) | def __init__( method start (line 95) | async def start(self) -> None: method stop (line 105) | async def stop(self) -> None: method send (line 113) | async def send(self, msg: OutboundMessage) -> None: method get_router (line 137) | def get_router(self) -> APIRouter: method _create_router (line 143) | def _create_router(self) -> APIRouter: method _setup_routes (line 255) | def _setup_routes(self) -> None: method _handle_chat (line 267) | async def _handle_chat(self, request: ChatRequest) -> ChatResponse: method _handle_chat_stream (line 338) | async def _handle_chat_stream(self, request: ChatRequest) -> Streaming... function get_openapi_router (line 404) | def get_openapi_router(bus: MessageBus, config: Config) -> APIRouter: FILE: bot/vikingbot/channels/openapi_models.py class MessageRole (line 10) | class MessageRole(str, Enum): class EventType (line 19) | class EventType(str, Enum): class ChatMessage (line 29) | class ChatMessage(BaseModel): class ChatRequest (line 39) | class ChatRequest(BaseModel): class ChatResponse (line 53) | class ChatResponse(BaseModel): class ChatStreamEvent (line 64) | class ChatStreamEvent(BaseModel): class SessionInfo (line 72) | class SessionInfo(BaseModel): class SessionCreateRequest (line 81) | class SessionCreateRequest(BaseModel): class SessionCreateResponse (line 90) | class SessionCreateResponse(BaseModel): class SessionListResponse (line 97) | class SessionListResponse(BaseModel): class SessionDetailResponse (line 104) | class SessionDetailResponse(BaseModel): class HealthResponse (line 111) | class HealthResponse(BaseModel): class ErrorResponse (line 119) | class ErrorResponse(BaseModel): FILE: bot/vikingbot/channels/qq.py function _make_bot_class (line 27) | def _make_bot_class(channel: "QQChannel") -> "type[botpy.Client]": class QQChannel (line 47) | class QQChannel(BaseChannel): method __init__ (line 52) | def __init__(self, config: QQChannelConfig, bus: MessageBus, **kwargs): method start (line 59) | async def start(self) -> None: method _run_bot (line 78) | async def _run_bot(self) -> None: method stop (line 89) | async def stop(self) -> None: method send (line 100) | async def send(self, msg: OutboundMessage) -> None: method _on_message (line 118) | async def _on_message(self, data: "C2CMessage") -> None: FILE: bot/vikingbot/channels/single_turn.py class SingleTurnChannelConfig (line 18) | class SingleTurnChannelConfig(BaseChannelConfig): method channel_id (line 25) | def channel_id(self) -> str: class SingleTurnChannel (line 29) | class SingleTurnChannel(BaseChannel): method __init__ (line 39) | def __init__( method start (line 59) | async def start(self) -> None: method stop (line 90) | async def stop(self) -> None: method send (line 94) | async def send(self, msg: OutboundMessage) -> None: FILE: bot/vikingbot/channels/slack.py class SlackChannel (line 20) | class SlackChannel(BaseChannel): method __init__ (line 25) | def __init__(self, config: SlackChannelConfig, bus: MessageBus, **kwar... method start (line 32) | async def start(self) -> None: method stop (line 65) | async def stop(self) -> None: method send (line 75) | async def send(self, msg: OutboundMessage) -> None: method _on_socket_request (line 98) | async def _on_socket_request( method _is_allowed (line 181) | def _is_allowed(self, sender_id: str, chat_id: str, channel_type: str)... method _should_respond_in_channel (line 194) | def _should_respond_in_channel(self, event_type: str, text: str, chat_... method _strip_bot_mention (line 205) | def _strip_bot_mention(self, text: str) -> str: FILE: bot/vikingbot/channels/telegram.py function _markdown_to_telegram_html (line 19) | def _markdown_to_telegram_html(text: str) -> str: class TelegramChannel (line 84) | class TelegramChannel(BaseChannel): method __init__ (line 100) | def __init__( method start (line 115) | async def start(self) -> None: method stop (line 181) | async def stop(self) -> None: method send (line 196) | async def send(self, msg: OutboundMessage) -> None: method _on_start (line 248) | async def _on_start(self, update: Update, context: ContextTypes.DEFAUL... method _forward_command (line 260) | async def _forward_command(self, update: Update, context: ContextTypes... method _on_message (line 270) | async def _on_message(self, update: Update, context: ContextTypes.DEFA... method _start_typing (line 378) | def _start_typing(self, chat_id: str) -> None: method _stop_typing (line 384) | def _stop_typing(self, chat_id: str) -> None: method _typing_loop (line 390) | async def _typing_loop(self, chat_id: str) -> None: method _on_error (line 401) | async def _on_error(self, update: object, context: ContextTypes.DEFAUL... method _get_extension (line 405) | def _get_extension(self, media_type: str, mime_type: str | None) -> str: FILE: bot/vikingbot/channels/utils.py function is_image_file_path (line 14) | def is_image_file_path(path_str: str) -> bool: function extract_image_paths (line 47) | def extract_image_paths(content: str) -> Tuple[List[str], str]: function read_image_file (line 85) | def read_image_file(path_str: str) -> bytes: function image_to_data_uri (line 108) | def image_to_data_uri(image_bytes: bytes, mime_type: str = "image/png") ... FILE: bot/vikingbot/channels/whatsapp.py class WhatsAppChannel (line 15) | class WhatsAppChannel(BaseChannel): method __init__ (line 25) | def __init__(self, config: WhatsAppChannelConfig, bus: MessageBus, **k... method start (line 31) | async def start(self) -> None: method stop (line 71) | async def stop(self) -> None: method send (line 80) | async def send(self, msg: OutboundMessage) -> None: method _handle_bridge_message (line 96) | async def _handle_bridge_message(self, raw: str) -> None: FILE: bot/vikingbot/cli/commands.py function get_or_create_machine_id (line 53) | def get_or_create_machine_id() -> str: function _init_bot_data (line 72) | def _init_bot_data(config): function _flush_pending_tty_input (line 85) | def _flush_pending_tty_input() -> None: function _restore_terminal (line 113) | def _restore_terminal() -> None: function _init_prompt_session (line 125) | def _init_prompt_session() -> None: function _print_agent_response (line 147) | def _print_agent_response(response: str, render_markdown: bool) -> None: function _is_exit_command (line 157) | def _is_exit_command(command: str) -> bool: function _read_interactive_input_async (line 162) | async def _read_interactive_input_async() -> str: function version_callback (line 181) | def version_callback(value: bool): function main (line 188) | def main( function _make_provider (line 195) | def _make_provider(config, langfuse_client: None = None): function gateway (line 227) | def gateway( function prepare_agent_loop (line 294) | def prepare_agent_loop(config, bus, session_manager, cron, quiet: bool =... function prepare_cron (line 347) | def prepare_cron(bus, quiet: bool = False) -> CronService: function prepare_channel (line 404) | def prepare_channel( function prepare_heartbeat (line 443) | def prepare_heartbeat(config, agent_loop, session_manager) -> HeartbeatS... function start_console (line 469) | async def start_console(console_port): function _thinking_ctx (line 495) | def _thinking_ctx(logs: bool): function prepare_agent_channel (line 504) | def prepare_agent_channel( function chat (line 551) | def chat( function channels_status (line 649) | def channels_status(): function _get_bridge_dir (line 691) | def _get_bridge_dir() -> Path: function channels_login (line 750) | def channels_login(): function cron_list (line 789) | def cron_list( function cron_add (line 837) | def cron_add( function cron_remove (line 881) | def cron_remove( function cron_enable (line 898) | def cron_enable( function cron_run (line 918) | def cron_run( function status (line 944) | def status(): FILE: bot/vikingbot/config/loader.py function get_config_path (line 12) | def get_config_path() -> Path: function _resolve_ov_conf_path (line 22) | def _resolve_ov_conf_path() -> Path: function get_data_dir (line 35) | def get_data_dir() -> Path: function ensure_config (line 42) | def ensure_config(config_path: Path | None = None) -> Config: function load_config (line 63) | def load_config() -> Config: function _merge_vlm_model_config (line 111) | def _merge_vlm_model_config(bot_data: dict, vlm_data: dict) -> None: function _merge_ov_server_config (line 138) | def _merge_ov_server_config(bot_data: dict, ov_data: dict) -> None: function save_config (line 154) | def save_config( function convert_keys (line 189) | def convert_keys(data: Any) -> Any: function convert_to_camel (line 198) | def convert_to_camel(data: Any) -> Any: function camel_to_snake (line 207) | def camel_to_snake(name: str) -> str: function snake_to_camel (line 217) | def snake_to_camel(name: str) -> str: FILE: bot/vikingbot/config/schema.py class ChannelType (line 11) | class ChannelType(str, Enum): class SandboxBackend (line 26) | class SandboxBackend(str, Enum): class SandboxMode (line 36) | class SandboxMode(str, Enum): class AgentMemoryMode (line 43) | class AgentMemoryMode(str, Enum): class BotMode (line 50) | class BotMode(str, Enum): class BaseChannelConfig (line 57) | class BaseChannelConfig(BaseModel): method channel_id (line 63) | def channel_id(self) -> str: method channel_key (line 66) | def channel_key(self): class MochatMentionConfig (line 73) | class MochatMentionConfig(BaseModel): class MochatGroupRule (line 79) | class MochatGroupRule(BaseModel): class SlackDMConfig (line 85) | class SlackDMConfig(BaseModel): class TelegramChannelConfig (line 96) | class TelegramChannelConfig(BaseChannelConfig): method channel_id (line 104) | def channel_id(self) -> str: class FeishuChannelConfig (line 109) | class FeishuChannelConfig(BaseChannelConfig): method channel_id (line 121) | def channel_id(self) -> str: method channel_key (line 125) | def channel_key(self): class DiscordChannelConfig (line 129) | class DiscordChannelConfig(BaseChannelConfig): method channel_id (line 138) | def channel_id(self) -> str: class WhatsAppChannelConfig (line 143) | class WhatsAppChannelConfig(BaseChannelConfig): method channel_id (line 151) | def channel_id(self) -> str: class MochatChannelConfig (line 156) | class MochatChannelConfig(BaseChannelConfig): method _generate_default_id (line 182) | def _generate_default_id(self) -> str: class DingTalkChannelConfig (line 187) | class DingTalkChannelConfig(BaseChannelConfig): method channel_id (line 195) | def channel_id(self) -> str: class EmailChannelConfig (line 200) | class EmailChannelConfig(BaseChannelConfig): method channel_id (line 225) | def channel_id(self) -> str: class SlackChannelConfig (line 230) | class SlackChannelConfig(BaseChannelConfig): method channel_id (line 243) | def channel_id(self) -> str: class QQChannelConfig (line 248) | class QQChannelConfig(BaseChannelConfig): method channel_id (line 256) | def channel_id(self) -> str: class OpenAPIChannelConfig (line 261) | class OpenAPIChannelConfig(BaseChannelConfig): method channel_id (line 271) | def channel_id(self) -> str: class ChannelsConfig (line 275) | class ChannelsConfig(BaseModel): method _parse_channel_config (line 280) | def _parse_channel_config(self, config: dict[str, Any]) -> BaseChannel... method get_all_channels (line 377) | def get_all_channels(self) -> list[BaseChannelConfig]: class AgentsConfig (line 388) | class AgentsConfig(BaseModel): class ProviderConfig (line 401) | class ProviderConfig(BaseModel): class ProvidersConfig (line 409) | class ProvidersConfig(BaseModel): class HeartbeatConfig (line 429) | class HeartbeatConfig(BaseModel): class GatewayConfig (line 436) | class GatewayConfig(BaseModel): class WebSearchConfig (line 443) | class WebSearchConfig(BaseModel): class OpenVikingConfig (line 451) | class OpenVikingConfig(BaseModel): class WebToolsConfig (line 462) | class WebToolsConfig(BaseModel): class ExecToolConfig (line 468) | class ExecToolConfig(BaseModel): class ToolsConfig (line 474) | class ToolsConfig(BaseModel): class SandboxNetworkConfig (line 481) | class SandboxNetworkConfig(BaseModel): class SandboxFilesystemConfig (line 497) | class SandboxFilesystemConfig(BaseModel): class SandboxRuntimeConfig (line 505) | class SandboxRuntimeConfig(BaseModel): class DirectBackendConfig (line 512) | class DirectBackendConfig(BaseModel): class SrtBackendConfig (line 518) | class SrtBackendConfig(BaseModel): class DockerBackendConfig (line 527) | class DockerBackendConfig(BaseModel): class OpenSandboxNetworkConfig (line 534) | class OpenSandboxNetworkConfig(BaseModel): class OpenSandboxRuntimeConfig (line 541) | class OpenSandboxRuntimeConfig(BaseModel): class OpenSandboxBackendConfig (line 549) | class OpenSandboxBackendConfig(BaseModel): class AioSandboxBackendConfig (line 564) | class AioSandboxBackendConfig(BaseModel): class SandboxBackendsConfig (line 570) | class SandboxBackendsConfig(BaseModel): class LangfuseConfig (line 580) | class LangfuseConfig(BaseModel): class SandboxConfig (line 589) | class SandboxConfig(BaseModel): class Config (line 597) | class Config(BaseSettings): method read_only (line 629) | def read_only(self) -> bool: method channels_config (line 634) | def channels_config(self) -> ChannelsConfig: method bot_data_path (line 641) | def bot_data_path(self) -> Path: method workspace_path (line 647) | def workspace_path(self) -> Path: method ov_data_path (line 652) | def ov_data_path(self) -> Path: method _get_vlm_config (line 655) | def _get_vlm_config(self) -> Optional[Dict[str, Any]]: method _match_provider (line 665) | def _match_provider( method get_provider (line 699) | def get_provider(self, model: str | None = None) -> ProviderConfig | N... method get_provider_name (line 704) | def get_provider_name(self, model: str | None = None) -> str | None: method get_api_key (line 709) | def get_api_key(self, model: str | None = None) -> str | None: method get_api_base (line 714) | def get_api_base(self, model: str | None = None) -> str | None: class SessionKey (line 730) | class SessionKey(BaseModel): method __hash__ (line 736) | def __hash__(self): method safe_name (line 739) | def safe_name(self): method channel_key (line 742) | def channel_key(self): method from_safe_name (line 746) | def from_safe_name(safe_name: str): FILE: bot/vikingbot/console/web_console.py function resolve_schema_ref (line 13) | def resolve_schema_ref( function get_effective_schema (line 22) | def get_effective_schema(field_info: Dict[str, Any], root_schema: Dict[s... function create_dashboard_tab (line 30) | def create_dashboard_tab(): function create_field_group (line 46) | def create_field_group( function collect_values_from_components (line 182) | def collect_values_from_components( function create_config_tabs (line 226) | def create_config_tabs(): function create_sessions_tab (line 283) | def create_sessions_tab(): function create_workspace_tab (line 357) | def create_workspace_tab(): function create_console_app (line 408) | def create_console_app(bus=None, config=None): function run_console_server (line 445) | def run_console_server(port: int = 18791): FILE: bot/vikingbot/cron/service.py function _now_ms (line 16) | def _now_ms() -> int: function _compute_next_run (line 20) | def _compute_next_run(schedule: CronSchedule, now_ms: int) -> int | None: class CronService (line 44) | class CronService: method __init__ (line 47) | def __init__( method _load_store (line 58) | def _load_store(self) -> CronStore: method _save_store (line 106) | def _save_store(self) -> None: method start (line 149) | async def start(self) -> None: method stop (line 160) | def stop(self) -> None: method _recompute_next_runs (line 167) | def _recompute_next_runs(self) -> None: method _get_next_wake_ms (line 176) | def _get_next_wake_ms(self) -> int | None: method _arm_timer (line 185) | def _arm_timer(self) -> None: method _on_timer (line 204) | async def _on_timer(self) -> None: method _execute_job (line 222) | async def _execute_job(self, job: CronJob) -> None: method list_jobs (line 257) | def list_jobs(self, include_disabled: bool = False) -> list[CronJob]: method add_job (line 263) | def add_job( method remove_job (line 300) | def remove_job(self, job_id: str) -> bool: method enable_job (line 314) | def enable_job(self, job_id: str, enabled: bool = True) -> CronJob | N... method run_job (line 330) | async def run_job(self, job_id: str, force: bool = False) -> bool: method status (line 343) | def status(self) -> dict: FILE: bot/vikingbot/cron/types.py class CronSchedule (line 10) | class CronSchedule: class CronPayload (line 25) | class CronPayload: class CronJobState (line 36) | class CronJobState: class CronJob (line 46) | class CronJob: class CronStore (line 61) | class CronStore: FILE: bot/vikingbot/heartbeat/service.py function _is_heartbeat_empty (line 27) | def _is_heartbeat_empty(content: str | None) -> bool: function _read_heartbeat_file (line 44) | def _read_heartbeat_file(workspace: Path) -> str | None: class HeartbeatService (line 55) | class HeartbeatService: method __init__ (line 63) | def __init__( method _get_all_workspaces (line 81) | def _get_all_workspaces(self) -> dict[Path, list[SessionKey]] | None: method start (line 101) | async def start(self) -> None: method stop (line 111) | def stop(self) -> None: method _run_loop (line 118) | async def _run_loop(self) -> None: method _tick (line 130) | async def _tick(self) -> None: method trigger_now (line 180) | async def trigger_now(self, session_key: SessionKey | None = None) -> ... FILE: bot/vikingbot/hooks/base.py class HookContext (line 17) | class HookContext: method __post_init__ (line 26) | def __post_init__(self): class Hook (line 33) | class Hook(ABC): method execute (line 38) | async def execute(self, context: HookContext, **kwargs) -> Any: FILE: bot/vikingbot/hooks/builtins/openviking_hooks.py function get_global_client (line 26) | async def get_global_client() -> VikingClient: class OpenVikingCompactHook (line 34) | class OpenVikingCompactHook(Hook): method _get_client (line 37) | async def _get_client(self, workspace_id: str) -> VikingClient: method execute (line 42) | async def execute(self, context: HookContext, **kwargs) -> Any: class OpenVikingPostCallHook (line 55) | class OpenVikingPostCallHook(Hook): method _get_client (line 59) | async def _get_client(self, workspace_id: str) -> VikingClient: method _read_skill_memory (line 63) | async def _read_skill_memory(self, workspace_id: str, skill_name: str)... method execute (line 86) | async def execute(self, context: HookContext, tool_name, params, resul... FILE: bot/vikingbot/hooks/manager.py class HookManager (line 17) | class HookManager: method __init__ (line 18) | def __init__(self): method import_path (line 21) | def import_path(self, path): method register_path (line 36) | def register_path(self, hook_path_list) -> None: method execute_hooks (line 46) | async def execute_hooks(self, context: HookContext, **kwargs) -> List[... FILE: bot/vikingbot/integrations/__init__.py function __getattr__ (line 11) | def __getattr__(name: str): FILE: bot/vikingbot/integrations/langfuse.py class LangfuseClient (line 21) | class LangfuseClient: method __init__ (line 26) | def __init__( method get_instance (line 66) | def get_instance(cls) -> "LangfuseClient": method set_instance (line 74) | def set_instance(cls, instance: "LangfuseClient") -> None: method flush (line 78) | def flush(self) -> None: method propagate_attributes (line 84) | def propagate_attributes( method trace (line 150) | def trace( method span (line 179) | def span( method generation (line 202) | def generation( method update_generation (line 261) | def update_generation( method tool_call (line 306) | def tool_call( method end_tool_call (line 344) | def end_tool_call( FILE: bot/vikingbot/openviking_mount/__init__.py function __getattr__ (line 34) | def __getattr__(name: str): FILE: bot/vikingbot/openviking_mount/fuse_finder.py class OpenVikingFUSE (line 34) | class OpenVikingFUSE(Operations): method __init__ (line 35) | def __init__(self, mount: OpenVikingMount): method _should_ignore_file (line 50) | def _should_ignore_file(self, path: str) -> bool: method _path_to_uri (line 54) | def _path_to_uri(self, path: str) -> str: method _is_pdf_resource (line 62) | def _is_pdf_resource(self, name: str) -> bool: method _get_pdf_dir_name (line 65) | def _get_pdf_dir_name(self, pdf_name: str) -> str: method _has_original_pdf (line 70) | def _has_original_pdf(self, pdf_dir_name: str) -> Path | None: method getattr (line 76) | def getattr(self, path: str, fh: int = None) -> Dict[str, Any]: method readdir (line 161) | def readdir(self, path: str, fh: int) -> list: method open (line 194) | def open(self, path: str, flags: int) -> int: method read (line 211) | def read(self, path: str, size: int, offset: int, fh: int) -> bytes: method create (line 242) | def create(self, path: str, mode: int, device: int = None) -> int: method write (line 262) | def write(self, path: str, data: bytes, offset: int, fh: int) -> int: method truncate (line 285) | def truncate(self, path: str, length: int, fh: int = None) -> None: method flush (line 299) | def flush(self, path: str, fh: int) -> None: method fsync (line 302) | def fsync(self, path: str, datasync: int, fh: int) -> None: method release (line 305) | def release(self, path: str, fh: int) -> None: method _handle_pdf_upload (line 320) | def _handle_pdf_upload(self, path: str, data: bytes) -> None: method unlink (line 352) | def unlink(self, path: str) -> None: method mkdir (line 377) | def mkdir(self, path: str, mode: int) -> None: method rmdir (line 381) | def rmdir(self, path: str) -> None: method rename (line 385) | def rename(self, old: str, new: str) -> None: method chmod (line 389) | def chmod(self, path: str, mode: int) -> None: method chown (line 392) | def chown(self, path: str, uid: int, gid: int) -> None: method utimens (line 395) | def utimens(self, path: str, times: tuple = None) -> None: method statfs (line 398) | def statfs(self, path: str) -> Dict[str, Any]: function mount_fuse (line 414) | def mount_fuse(config: MountConfig, foreground: bool = True) -> None: class FUSEMountManager (line 442) | class FUSEMountManager: method __init__ (line 443) | def __init__(self): method mount (line 446) | def mount(self, config: MountConfig) -> str: method unmount (line 449) | def unmount(self, mount_point: Path) -> None: FILE: bot/vikingbot/openviking_mount/fuse_proxy.py class OpenVikingFUSE (line 35) | class OpenVikingFUSE(Operations): method __init__ (line 36) | def __init__(self, mount: OpenVikingMount): method _should_ignore_file (line 50) | def _should_ignore_file(self, path: str) -> bool: method _get_original_path (line 54) | def _get_original_path(self, path: str) -> Path: method getattr (line 59) | def getattr(self, path: str, fh: int = None) -> Dict[str, Any]: method readdir (line 92) | def readdir(self, path: str, fh: int) -> list: method open (line 108) | def open(self, path: str, flags: int) -> int: method read (line 116) | def read(self, path: str, size: int, offset: int, fh: int) -> bytes: method create (line 132) | def create(self, path: str, mode: int, device: int = None) -> int: method write (line 143) | def write(self, path: str, data: bytes, offset: int, fh: int) -> int: method truncate (line 163) | def truncate(self, path: str, length: int, fh: int = None) -> None: method flush (line 175) | def flush(self, path: str, fh: int) -> None: method fsync (line 178) | def fsync(self, path: str, datasync: int, fh: int) -> None: method release (line 181) | def release(self, path: str, fh: int) -> None: method _handle_upload (line 192) | def _handle_upload(self, path: str, data: bytes) -> None: method unlink (line 224) | def unlink(self, path: str) -> None: method mkdir (line 246) | def mkdir(self, path: str, mode: int) -> None: method rmdir (line 251) | def rmdir(self, path: str) -> None: method rename (line 256) | def rename(self, old: str, new: str) -> None: method chmod (line 262) | def chmod(self, path: str, mode: int) -> None: method chown (line 267) | def chown(self, path: str, uid: int, gid: int) -> None: method utimens (line 271) | def utimens(self, path: str, times: tuple = None) -> None: method statfs (line 279) | def statfs(self, path: str) -> Dict[str, Any]: function mount_fuse (line 295) | def mount_fuse(config: MountConfig, foreground: bool = True) -> None: class FUSEMountManager (line 323) | class FUSEMountManager: method __init__ (line 324) | def __init__(self): method mount (line 327) | def mount(self, config: MountConfig) -> str: method unmount (line 330) | def unmount(self, mount_point: Path) -> None: FILE: bot/vikingbot/openviking_mount/fuse_simple.py class OpenVikingFUSE (line 34) | class OpenVikingFUSE(Operations): method __init__ (line 35) | def __init__(self, mount: OpenVikingMount): method _path_to_uri (line 47) | def _path_to_uri(self, path: str) -> str: method _is_pdf_resource (line 55) | def _is_pdf_resource(self, name: str) -> bool: method _get_pdf_dir_name (line 58) | def _get_pdf_dir_name(self, pdf_name: str) -> str: method _has_original_pdf (line 63) | def _has_original_pdf(self, pdf_dir_name: str) -> Path | None: method getattr (line 69) | def getattr(self, path: str, fh: int = None) -> Dict[str, Any]: method readdir (line 150) | def readdir(self, path: str, fh: int) -> list: method open (line 183) | def open(self, path: str, flags: int) -> int: method read (line 195) | def read(self, path: str, size: int, offset: int, fh: int) -> bytes: method create (line 226) | def create(self, path: str, mode: int, device: int = None) -> int: method write (line 240) | def write(self, path: str, data: bytes, offset: int, fh: int) -> int: method truncate (line 258) | def truncate(self, path: str, length: int, fh: int = None) -> None: method flush (line 271) | def flush(self, path: str, fh: int) -> None: method fsync (line 275) | def fsync(self, path: str, datasync: int, fh: int) -> None: method release (line 279) | def release(self, path: str, fh: int) -> None: method _handle_pdf_upload (line 293) | def _handle_pdf_upload(self, path: str, data: bytes) -> None: method unlink (line 325) | def unlink(self, path: str) -> None: method mkdir (line 350) | def mkdir(self, path: str, mode: int) -> None: method rmdir (line 354) | def rmdir(self, path: str) -> None: method rename (line 358) | def rename(self, old: str, new: str) -> None: method chmod (line 362) | def chmod(self, path: str, mode: int) -> None: method chown (line 366) | def chown(self, path: str, uid: int, gid: int) -> None: method utimens (line 370) | def utimens(self, path: str, times: tuple = None) -> None: method statfs (line 374) | def statfs(self, path: str) -> Dict[str, Any]: function mount_fuse (line 390) | def mount_fuse(config: MountConfig, foreground: bool = True) -> None: class FUSEMountManager (line 418) | class FUSEMountManager: method __init__ (line 419) | def __init__(self): method mount (line 422) | def mount(self, config: MountConfig) -> str: method unmount (line 425) | def unmount(self, mount_point: Path) -> None: FILE: bot/vikingbot/openviking_mount/fuse_simple_debug.py class OpenVikingFUSE (line 34) | class OpenVikingFUSE(Operations): method __init__ (line 35) | def __init__(self, mount: OpenVikingMount): method _should_ignore_file (line 50) | def _should_ignore_file(self, path: str) -> bool: method _log_call (line 54) | def _log_call(self, method: str, *args, **kwargs): method _path_to_uri (line 57) | def _path_to_uri(self, path: str) -> str: method _is_pdf_resource (line 65) | def _is_pdf_resource(self, name: str) -> bool: method _get_pdf_dir_name (line 68) | def _get_pdf_dir_name(self, pdf_name: str) -> str: method _has_original_pdf (line 73) | def _has_original_pdf(self, pdf_dir_name: str) -> Path | None: method getattr (line 79) | def getattr(self, path: str, fh: int = None) -> Dict[str, Any]: method readdir (line 172) | def readdir(self, path: str, fh: int) -> list: method open (line 209) | def open(self, path: str, flags: int) -> int: method read (line 225) | def read(self, path: str, size: int, offset: int, fh: int) -> bytes: method create (line 262) | def create(self, path: str, mode: int, device: int = None) -> int: method write (line 281) | def write(self, path: str, data: bytes, offset: int, fh: int) -> int: method truncate (line 303) | def truncate(self, path: str, length: int, fh: int = None) -> None: method flush (line 317) | def flush(self, path: str, fh: int) -> None: method fsync (line 320) | def fsync(self, path: str, datasync: int, fh: int) -> None: method release (line 323) | def release(self, path: str, fh: int) -> None: method _handle_pdf_upload (line 338) | def _handle_pdf_upload(self, path: str, data: bytes) -> None: method unlink (line 370) | def unlink(self, path: str) -> None: method mkdir (line 395) | def mkdir(self, path: str, mode: int) -> None: method rmdir (line 399) | def rmdir(self, path: str) -> None: method rename (line 403) | def rename(self, old: str, new: str) -> None: method chmod (line 407) | def chmod(self, path: str, mode: int) -> None: method chown (line 410) | def chown(self, path: str, uid: int, gid: int) -> None: method utimens (line 413) | def utimens(self, path: str, times: tuple = None) -> None: method statfs (line 416) | def statfs(self, path: str) -> Dict[str, Any]: function mount_fuse (line 432) | def mount_fuse(config: MountConfig, foreground: bool = True) -> None: class FUSEMountManager (line 460) | class FUSEMountManager: method __init__ (line 461) | def __init__(self): method mount (line 464) | def mount(self, config: MountConfig) -> str: method unmount (line 467) | def unmount(self, mount_point: Path) -> None: FILE: bot/vikingbot/openviking_mount/manager.py class MountPoint (line 21) | class MountPoint: class OpenVikingMountManager (line 30) | class OpenVikingMountManager: method __init__ (line 37) | def __init__(self, base_mount_dir: Optional[Path] = None): method create_mount (line 54) | def create_mount( method get_mount (line 102) | def get_mount(self, mount_id: str) -> Optional[OpenVikingMount]: method list_mounts (line 117) | def list_mounts(self) -> List[Dict]: method remove_mount (line 139) | def remove_mount(self, mount_id: str, cleanup: bool = False) -> None: method remove_all (line 169) | def remove_all(self, cleanup: bool = False) -> None: method create_session_mount (line 180) | def create_session_mount( method create_resources_mount (line 203) | def create_resources_mount( method __enter__ (line 231) | def __enter__(self) -> "OpenVikingMountManager": method __exit__ (line 235) | def __exit__(self, exc_type, exc_val, exc_tb) -> None: function get_mount_manager (line 244) | def get_mount_manager(base_mount_dir: Optional[Path] = None) -> OpenViki... FILE: bot/vikingbot/openviking_mount/mount.py class MountScope (line 20) | class MountScope(Enum): class MountConfig (line 31) | class MountConfig: class FileInfo (line 44) | class FileInfo: class OpenVikingMount (line 56) | class OpenVikingMount: method __init__ (line 63) | def __init__(self, config: MountConfig): method _ensure_mount_point (line 78) | def _ensure_mount_point(self) -> None: method initialize (line 85) | def initialize(self) -> None: method _ensure_client (line 102) | def _ensure_client(self) -> None: method client (line 111) | def client(self) -> Optional[ov.SyncOpenViking]: method _uri_to_path (line 115) | def _uri_to_path(self, uri: str) -> Path: method _path_to_uri (line 145) | def _path_to_uri(self, path: Union[str, Path]) -> str: method _get_scope_root_uri (line 167) | def _get_scope_root_uri(self) -> str: method list_dir (line 173) | def list_dir(self, path: Union[str, Path]) -> List[FileInfo]: method read_file (line 213) | def read_file(self, path: Union[str, Path]) -> str: method write_file (line 234) | def write_file(self, path: Union[str, Path], content: str) -> None: method mkdir (line 259) | def mkdir(self, path: Union[str, Path]) -> None: method delete (line 280) | def delete(self, path: Union[str, Path], recursive: bool = False) -> N... method get_abstract (line 302) | def get_abstract(self, path: Union[str, Path]) -> Optional[str]: method get_overview (line 323) | def get_overview(self, path: Union[str, Path]) -> Optional[str]: method search (line 344) | def search(self, query: str, target_path: Optional[Union[str, Path]] =... method add_resource (line 382) | def add_resource( method sync_to_disk (line 417) | def sync_to_disk(self, path: Optional[Union[str, Path]] = None) -> None: method _sync_recursive (line 438) | def _sync_recursive(self, uri: str, local_path: Path) -> None: method close (line 474) | def close(self) -> None: method __enter__ (line 486) | def __enter__(self) -> "OpenVikingMount": method __exit__ (line 492) | def __exit__(self, exc_type, exc_val, exc_tb) -> None: FILE: bot/vikingbot/openviking_mount/ov_server.py class VikingClient (line 15) | class VikingClient: method __init__ (line 16) | def __init__(self, agent_id: Optional[str] = None): method _initialize (line 49) | async def _initialize(self): method create (line 60) | async def create(cls, agent_id: Optional[str] = None): method _matched_context_to_dict (line 70) | def _matched_context_to_dict(self, matched_context: Any) -> Dict[str, ... method _relation_to_dict (line 86) | def _relation_to_dict(self, relation: Any) -> Dict[str, Any]: method get_agent_space_name (line 95) | def get_agent_space_name(self, user_id: str) -> str: method find (line 98) | async def find(self, query: str, target_uri: Optional[str] = None): method add_resource (line 104) | async def add_resource(self, local_path: str, desc: str) -> Optional[D... method list_resources (line 109) | async def list_resources( method read_content (line 118) | async def read_content(self, uri: str, level: str = "abstract") -> str: method read_user_profile (line 140) | async def read_user_profile(self, user_id: str) -> str: method search (line 165) | async def search(self, query: str, target_uri: Optional[str] = "") -> ... method search_user_memory (line 186) | async def search_user_memory(self, query: str, user_id: str) -> list[A... method _check_user_exists (line 198) | async def _check_user_exists(self, user_id: str) -> bool: method _initialize_user (line 218) | async def _initialize_user(self, user_id: str, role: str = "user") -> ... method _get_or_create_user_apikey (line 247) | async def _get_or_create_user_apikey(self, user_id: str) -> Optional[s... method search_memory (line 291) | async def search_memory( method grep (line 328) | async def grep(self, uri: str, pattern: str, case_insensitive: bool = ... method glob (line 334) | async def glob(self, pattern: str, uri: Optional[str] = None) -> Dict[... method commit (line 338) | async def commit(self, session_id: str, messages: list[dict[str, Any]]... method close (line 436) | async def close(self): function main_test (line 441) | async def main_test(): function account_test (line 464) | async def account_test(): FILE: bot/vikingbot/openviking_mount/session_integration.py class SessionOpenVikingManager (line 25) | class SessionOpenVikingManager: method __init__ (line 32) | def __init__(self, base_workspace: Optional[Path] = None): method get_session_workspace (line 55) | def get_session_workspace(self, session_key: str) -> Path: method get_session_ov_data_path (line 68) | def get_session_ov_data_path(self, session_key: str) -> Path: method mount_for_session (line 80) | def mount_for_session( method delete_session_workspace (line 171) | def delete_session_workspace(self, session_key: str) -> bool: method unmount_for_session (line 199) | def unmount_for_session(self, session_key: str) -> bool: method is_mounted (line 230) | def is_mounted(self, session_key: str) -> bool: method is_workspace_exists (line 234) | def is_workspace_exists(self, session_key: str) -> bool: method cleanup_orphaned_mounts (line 247) | def cleanup_orphaned_mounts(self) -> int: method get_api_mount (line 270) | def get_api_mount(self, session_key: str) -> Optional[OpenVikingMount]: method unmount_all (line 313) | def unmount_all(self) -> None: method cleanup (line 319) | async def cleanup(self) -> None: function get_session_ov_manager (line 329) | def get_session_ov_manager(base_workspace: Optional[Path] = None) -> Ses... FILE: bot/vikingbot/openviking_mount/user_apikey_manager.py class UserApiKeyManager (line 11) | class UserApiKeyManager: method __init__ (line 20) | def __init__(self, ov_path: Path, server_url: str, account_id: str): method _ensure_config_dir (line 44) | def _ensure_config_dir(self) -> None: method _load (line 48) | def _load(self) -> None: method _save (line 66) | def _save(self) -> None: method get_apikey (line 85) | def get_apikey(self, user_id: str) -> Optional[str]: method set_apikey (line 97) | def set_apikey(self, user_id: str, api_key: str) -> None: method delete_apikey (line 108) | def delete_apikey(self, user_id: str) -> bool: FILE: bot/vikingbot/openviking_mount/viking_fuse.py class OpenVikingFUSE (line 41) | class OpenVikingFUSE(Operations): method __init__ (line 49) | def __init__(self, mount: OpenVikingMount): method _path_to_uri (line 64) | def _path_to_uri(self, path: str) -> str: method getattr (line 84) | def getattr(self, path: str, fh: int = None) -> Dict[str, Any]: method readdir (line 154) | def readdir(self, path: str, fh: int) -> list: method open (line 188) | def open(self, path: str, flags: int) -> int: method read (line 220) | def read(self, path: str, size: int, offset: int, fh: int) -> bytes: method write (line 253) | def write(self, path: str, data: bytes, offset: int, fh: int) -> int: method release (line 286) | def release(self, path: str, fh: int) -> None: method mkdir (line 301) | def mkdir(self, path: str, mode: int) -> None: method rmdir (line 320) | def rmdir(self, path: str) -> None: method unlink (line 338) | def unlink(self, path: str) -> None: method truncate (line 356) | def truncate(self, path: str, length: int, fh: int = None) -> None: method utimens (line 377) | def utimens(self, path: str, times: tuple = None) -> None: function mount_fuse (line 387) | def mount_fuse( class FUSEMountManager (line 424) | class FUSEMountManager: method __init__ (line 431) | def __init__(self): method mount (line 434) | def mount(self, mount_id: str, config: MountConfig, background: bool =... method unmount (line 456) | def unmount(self, mount_id: str) -> None: method unmount_all (line 469) | def unmount_all(self) -> None: method __init__ (line 486) | def __init__(self): method mount (line 489) | def mount(self, *args, **kwargs): method unmount (line 492) | def unmount(self, *args, **kwargs): method unmount_all (line 495) | def unmount_all(self): function mount_fuse (line 478) | def mount_fuse(*args, **kwargs): class FUSEMountManager (line 483) | class FUSEMountManager: method __init__ (line 431) | def __init__(self): method mount (line 434) | def mount(self, mount_id: str, config: MountConfig, background: bool =... method unmount (line 456) | def unmount(self, mount_id: str) -> None: method unmount_all (line 469) | def unmount_all(self) -> None: method __init__ (line 486) | def __init__(self): method mount (line 489) | def mount(self, *args, **kwargs): method unmount (line 492) | def unmount(self, *args, **kwargs): method unmount_all (line 495) | def unmount_all(self): FILE: bot/vikingbot/providers/base.py class ToolCallRequest (line 9) | class ToolCallRequest: class LLMResponse (line 19) | class LLMResponse: method has_tool_calls (line 29) | def has_tool_calls(self) -> bool: class LLMProvider (line 34) | class LLMProvider(ABC): method __init__ (line 42) | def __init__(self, api_key: str | None = None, api_base: str | None = ... method chat (line 47) | async def chat( method get_default_model (line 73) | def get_default_model(self) -> str: FILE: bot/vikingbot/providers/litellm_provider.py class LiteLLMProvider (line 17) | class LiteLLMProvider(LLMProvider): method __init__ (line 26) | def __init__( method _setup_env (line 57) | def _setup_env(self, api_key: str, api_base: str | None, model: str) -... method _resolve_model (line 78) | def _resolve_model(self, model: str) -> str: method _apply_model_overrides (line 97) | def _apply_model_overrides(self, model: str, kwargs: dict[str, Any]) -... method _handle_system_message (line 107) | def _handle_system_message( method chat (line 165) | async def chat( method _parse_response (line 313) | def _parse_response(self, response: Any) -> LLMResponse: method get_default_model (line 367) | def get_default_model(self) -> str: FILE: bot/vikingbot/providers/registry.py class ProviderSpec (line 20) | class ProviderSpec: method label (line 55) | def label(self) -> str: function find_by_model (line 307) | def find_by_model(model: str) -> ProviderSpec | None: function find_gateway (line 319) | def find_gateway( function find_by_name (line 350) | def find_by_name(name: str) -> ProviderSpec | None: FILE: bot/vikingbot/providers/transcription.py class GroqTranscriptionProvider (line 11) | class GroqTranscriptionProvider: method __init__ (line 18) | def __init__(self, api_key: str | None = None): method transcribe (line 22) | async def transcribe(self, file_path: str | Path) -> str: FILE: bot/vikingbot/sandbox/backends/__init__.py function register_backend (line 9) | def register_backend(name: str) -> Callable[[Type[SandboxBackend]], Type... function get_backend (line 19) | def get_backend(name: str) -> Type[SandboxBackend] | None: function list_backends (line 24) | def list_backends() -> list[str]: FILE: bot/vikingbot/sandbox/backends/aiosandbox.py class AioSandboxBackend (line 14) | class AioSandboxBackend(SandboxBackend): method __init__ (line 17) | def __init__(self, config: "SandboxConfig", session_key: SessionKey, w... method start (line 25) | async def start(self) -> None: method execute (line 44) | async def execute(self, command: str, timeout: int = 60, **kwargs: Any... method stop (line 85) | async def stop(self) -> None: method is_running (line 90) | def is_running(self) -> bool: method workspace (line 95) | def workspace(self) -> Path: method sandbox_cwd (line 100) | def sandbox_cwd(self) -> str: method read_file (line 104) | async def read_file(self, path: str) -> str: method write_file (line 122) | async def write_file(self, path: str, content: str) -> None: method list_dir (line 139) | async def list_dir(self, path: str) -> list[tuple[str, bool]]: FILE: bot/vikingbot/sandbox/backends/direct.py class DirectBackend (line 18) | class DirectBackend(SandboxBackend): method __init__ (line 21) | def __init__(self, config: "SandboxConfig", session_key: SessionKey, w... method start (line 28) | async def start(self) -> None: method execute (line 34) | async def execute(self, command: str, timeout: int = 60, **kwargs: Any... method stop (line 88) | async def stop(self) -> None: method is_running (line 93) | def is_running(self) -> bool: method workspace (line 98) | def workspace(self) -> Path: method sandbox_cwd (line 103) | def sandbox_cwd(self) -> str: method read_file (line 107) | async def read_file(self, path: str) -> str: method write_file (line 119) | async def write_file(self, path: str, content: str) -> None: method list_dir (line 128) | async def list_dir(self, path: str) -> list[tuple[str, bool]]: FILE: bot/vikingbot/sandbox/backends/opensandbox.py function _is_kubernetes_env (line 23) | def _is_kubernetes_env() -> bool: function _wait_for_server (line 31) | async def _wait_for_server(url: str, timeout: int = 60) -> bool: function _start_opensandbox_server (line 51) | def _start_opensandbox_server() -> "subprocess.Popen | None": function cleanup_opensandbox_server (line 99) | def cleanup_opensandbox_server(): class OpenSandboxBackend (line 116) | class OpenSandboxBackend(SandboxBackend): method __init__ (line 117) | def __init__(self, config: "SandboxConfig", session_key: SessionKey, w... method start (line 140) | async def start(self) -> None: method execute (line 217) | async def execute(self, command: str, timeout: int = 60, **kwargs: Any... method stop (line 271) | async def stop(self) -> None: method is_running (line 285) | def is_running(self) -> bool: method workspace (line 289) | def workspace(self) -> Path: method sandbox_cwd (line 293) | def sandbox_cwd(self) -> str: method read_file (line 296) | async def read_file(self, path: str) -> str: method write_file (line 314) | async def write_file(self, path: str, content: str) -> None: method list_dir (line 332) | async def list_dir(self, path: str) -> list[tuple[str, bool]]: FILE: bot/vikingbot/sandbox/backends/srt-wrapper.mjs function handleMessage (line 117) | async function handleMessage(message) { function initialize (line 155) | async function initialize(config) { function executeCommand (line 188) | async function executeCommand(command, timeout, customConfig) { function readFile (line 244) | async function readFile(path) { function writeFile (line 268) | async function writeFile(path, content) { function listDir (line 307) | async function listDir(path) { function executeCommandInternal (line 354) | async function executeCommandInternal(command, timeout) { function updateConfig (line 382) | function updateConfig(config) { function getProxyPorts (line 392) | function getProxyPorts() { function reset (line 408) | async function reset() { function sendResponse (line 423) | function sendResponse(response) { function sendError (line 427) | function sendError(message) { FILE: bot/vikingbot/sandbox/backends/srt.py class SrtBackend (line 18) | class SrtBackend(SandboxBackend): method __init__ (line 21) | def __init__(self, config, session_key: SessionKey, workspace: Path): method _generate_settings (line 40) | def _generate_settings(self) -> Path: method start (line 55) | async def start(self) -> None: method execute (line 125) | async def execute(self, command: str, timeout: int = 60, **kwargs: Any... method stop (line 181) | async def stop(self) -> None: method is_running (line 210) | def is_running(self) -> bool: method workspace (line 215) | def workspace(self) -> Path: method sandbox_cwd (line 220) | def sandbox_cwd(self) -> str: method _load_config (line 224) | def _load_config(self) -> dict[str, Any]: method read_file (line 245) | async def read_file(self, path: str) -> str: method write_file (line 265) | async def write_file(self, path: str, content: str) -> None: method list_dir (line 283) | async def list_dir(self, path: str) -> list[tuple[str, bool]]: method _send_message (line 304) | async def _send_message(self, message: dict[str, Any]) -> None: method _read_responses (line 313) | async def _read_responses(self) -> None: method _wait_for_response (line 342) | async def _wait_for_response(self, timeout: float = 30.0) -> dict[str,... FILE: bot/vikingbot/sandbox/base.py class SandboxBackend (line 8) | class SandboxBackend(ABC): method __init__ (line 11) | def __init__(self): method start (line 15) | async def start(self) -> None: method execute (line 19) | async def execute(self, command: str, timeout: int = 60, **kwargs: Any... method stop (line 23) | async def stop(self) -> None: method is_running (line 27) | def is_running(self) -> bool: method workspace (line 32) | def workspace(self) -> Path: method sandbox_cwd (line 36) | def sandbox_cwd(self) -> str: method _check_path_restriction (line 44) | def _check_path_restriction(self, path: Path) -> None: method _resolve_path (line 60) | def _resolve_path(self, path: str) -> Path: method read_file (line 76) | async def read_file(self, path: str) -> str: method write_file (line 98) | async def write_file(self, path: str, content: str) -> None: method list_dir (line 114) | async def list_dir(self, path: str) -> list[tuple[str, bool]]: class SandboxError (line 141) | class SandboxError(Exception): class SandboxNotStartedError (line 145) | class SandboxNotStartedError(SandboxError): class SandboxDisabledError (line 149) | class SandboxDisabledError(SandboxError): class SandboxExecutionError (line 153) | class SandboxExecutionError(SandboxError): class UnsupportedBackendError (line 157) | class UnsupportedBackendError(SandboxError): FILE: bot/vikingbot/sandbox/manager.py class SandboxManager (line 15) | class SandboxManager: method __init__ (line 20) | def __init__(self, config: Config, sandbox_parent_path: Path, source_w... method get_sandbox (line 30) | async def get_sandbox(self, session_key: SessionKey) -> SandboxBackend: method _get_or_create_sandbox (line 33) | async def _get_or_create_sandbox(self, session_key: SessionKey) -> San... method _create_sandbox (line 41) | async def _create_sandbox(self, workspace_id: str) -> SandboxBackend: method _copy_bootstrap_files (line 55) | async def _copy_bootstrap_files(self, sandbox_workspace: Path) -> None: method cleanup_session (line 91) | async def cleanup_session(self, session_key: SessionKey) -> None: method cleanup_all (line 98) | async def cleanup_all(self) -> None: method get_workspace_path (line 104) | def get_workspace_path(self, session_key: SessionKey) -> Path: method to_workspace_id (line 107) | def to_workspace_id(self, session_key: SessionKey): method get_sandbox_cwd (line 115) | async def get_sandbox_cwd(self, session_key: SessionKey) -> str: FILE: bot/vikingbot/session/manager.py class Session (line 18) | class Session: method add_message (line 31) | def add_message( method get_history (line 43) | def get_history(self, max_messages: int = 50) -> list[dict[str, Any]]: method clear (line 61) | def clear(self) -> None: method clone (line 66) | def clone(self) -> "Session": class SessionManager (line 79) | class SessionManager: method __init__ (line 106) | def __init__( method _get_session_path (line 117) | def _get_session_path(self, session_key: SessionKey) -> Path: method get_or_create (line 120) | def get_or_create(self, key: SessionKey, skip_heartbeat: bool = False)... method _init_sandbox (line 159) | async def _init_sandbox(self, key: SessionKey) -> None: method _load (line 168) | def _load(self, session_key: SessionKey) -> Session | None: method save (line 214) | async def save(self, session: Session) -> None: method delete (line 235) | def delete(self, key: SessionKey) -> bool: method list_sessions (line 259) | def list_sessions(self) -> list[dict[str, Any]]: FILE: bot/vikingbot/utils/helpers.py function ensure_dir (line 8) | def ensure_dir(path: Path) -> Path: function set_bot_data_path (line 20) | def set_bot_data_path(path: Path) -> None: function get_bot_data_path (line 29) | def get_bot_data_path() -> Path: function get_data_path (line 37) | def get_data_path() -> Path: function get_sessions_path (line 42) | def get_sessions_path() -> Path: function get_history_path (line 47) | def get_history_path() -> Path: function get_bridge_path (line 52) | def get_bridge_path() -> Path: function get_images_path (line 57) | def get_images_path() -> Path: function get_media_path (line 62) | def get_media_path() -> Path: function get_received_path (line 67) | def get_received_path() -> Path: function get_mochat_path (line 72) | def get_mochat_path() -> Path: function get_mounts_path (line 77) | def get_mounts_path() -> Path: function get_source_workspace_path (line 82) | def get_source_workspace_path() -> Path: function get_workspace_path (line 87) | def get_workspace_path() -> Path: function ensure_workspace_templates (line 91) | def ensure_workspace_templates(workspace: Path) -> None: function ensure_session_workspace (line 175) | def ensure_session_workspace(workspace_path: Path) -> Path: function _create_minimal_workspace_templates (line 183) | def _create_minimal_workspace_templates(workspace: Path) -> None: function get_skills_path (line 261) | def get_skills_path(workspace: Path | None = None) -> Path: function cal_str_tokens (line 267) | def cal_str_tokens(text: str, text_type: str = "mixed") -> int: function timestamp (line 278) | def timestamp() -> str: function truncate_string (line 283) | def truncate_string(s: str, max_len: int = 100, suffix: str = "...") -> ... FILE: bot/vikingbot/utils/tracing.py function get_current_session_id (line 28) | def get_current_session_id() -> str | None: function set_session_id (line 34) | def set_session_id(session_id: str | None) -> Generator[None, None, None]: function trace (line 53) | def trace( FILE: bot/workspace/skills/github-proxy/scripts/convert_url.py function is_github_url (line 16) | def is_github_url(url: str) -> bool: function convert_url (line 23) | def convert_url(url: str, proxy: str = DEFAULT_PROXY) -> str: function main (line 37) | def main(): FILE: bot/workspace/skills/opencode/list_sessions.py class ViewSession (line 27) | class ViewSession(BaseModel): FILE: bot/workspace/skills/opencode/opencode_utils.py function execute_cmd (line 14) | def execute_cmd(cmd): function start_opencode (line 39) | def start_opencode(): function check_serve_status (line 79) | def check_serve_status(): function read_new_messages (line 93) | def read_new_messages(client, session_id, last_ts): function read_status (line 128) | def read_status(): function write_status (line 143) | def write_status(status): function list_project (line 152) | def list_project(client): FILE: build_support/x86_profiles.py class EngineBuildConfig (line 13) | class EngineBuildConfig: function _normalize_machine (line 19) | def _normalize_machine(machine: str | None) -> str: function is_x86_machine (line 23) | def is_x86_machine(machine: str | None) -> bool: function _normalize_x86_variants (line 28) | def _normalize_x86_variants(raw_variants: Iterable[str]) -> tuple[str, .... function get_requested_x86_build_variants (line 42) | def get_requested_x86_build_variants(raw_value: str | None = None) -> tu... function get_host_engine_build_config (line 52) | def get_host_engine_build_config(machine: str | None) -> EngineBuildConfig: FILE: crates/ov_cli/src/client.rs type HttpClient (line 15) | pub struct HttpClient { method new (line 24) | pub fn new( method is_local_server (line 44) | fn is_local_server(&self) -> bool { method zip_directory (line 54) | fn zip_directory(&self, dir_path: &Path) -> Result { method upload_temp_file (line 83) | async fn upload_temp_file(&self, file_path: &Path) -> Result { method build_headers (line 124) | fn build_headers(&self) -> reqwest::header::HeaderMap { method get (line 144) | pub async fn get( method post (line 163) | pub async fn post( method put (line 182) | pub async fn put( method delete (line 201) | pub async fn delete( method delete_with_body (line 220) | pub async fn delete_with_body( method handle_response (line 238) | async fn handle_response( method read (line 295) | pub async fn read(&self, uri: &str) -> Result { method abstract_content (line 300) | pub async fn abstract_content(&self, uri: &str) -> Result { method overview (line 305) | pub async fn overview(&self, uri: &str) -> Result { method reindex (line 310) | pub async fn reindex(&self, uri: &str, regenerate: bool, wait: bool) -... method get_bytes (line 320) | pub async fn get_bytes(&self, uri: &str) -> Result> { method ls (line 366) | pub async fn ls(&self, uri: &str, simple: bool, recursive: bool, outpu... method tree (line 379) | pub async fn tree(&self, uri: &str, output: &str, abs_limit: i32, show... method mkdir (line 391) | pub async fn mkdir(&self, uri: &str) -> Result<()> { method rm (line 397) | pub async fn rm(&self, uri: &str, recursive: bool) -> Result<()> { method mv (line 406) | pub async fn mv(&self, from_uri: &str, to_uri: &str) -> Result<()> { method stat (line 415) | pub async fn stat(&self, uri: &str) -> Result { method find (line 422) | pub async fn find( method search (line 438) | pub async fn search( method grep (line 456) | pub async fn grep(&self, uri: &str, pattern: &str, ignore_case: bool, ... method glob (line 467) | pub async fn glob(&self, pattern: &str, uri: &str, node_limit: i32) ->... method add_resource (line 478) | pub async fn add_resource( method add_skill (line 578) | pub async fn add_skill( method relations (line 626) | pub async fn relations(&self, uri: &str) -> Result { method link (line 631) | pub async fn link( method unlink (line 645) | pub async fn unlink(&self, from_uri: &str, to_uri: &str) -> Result Result Result { method admin_delete_account (line 697) | pub async fn admin_delete_account(&self, account_id: &str) -> Result Result { method admin_remove_user (line 721) | pub async fn admin_remove_user(&self, account_id: &str, user_id: &str)... method admin_set_role (line 726) | pub async fn admin_set_role( method admin_regenerate_key (line 740) | pub async fn admin_regenerate_key( method debug_vector_scroll (line 755) | pub async fn debug_vector_scroll( method debug_vector_count (line 783) | pub async fn debug_vector_count( FILE: crates/ov_cli/src/commands/admin.rs function create_account (line 6) | pub async fn create_account( function list_accounts (line 18) | pub async fn list_accounts( function delete_account (line 28) | pub async fn delete_account( function register_user (line 46) | pub async fn register_user( function list_users (line 59) | pub async fn list_users( function remove_user (line 70) | pub async fn remove_user( function set_role (line 89) | pub async fn set_role( function regenerate_key (line 102) | pub async fn regenerate_key( FILE: crates/ov_cli/src/commands/chat.rs constant DEFAULT_ENDPOINT (line 22) | const DEFAULT_ENDPOINT: &str = "http://localhost:1933/bot/v1"; constant HISTORY_FILE (line 23) | const HISTORY_FILE: &str = ".ov_chat_history"; type ChatCommand (line 27) | pub struct ChatCommand { method execute (line 100) | pub async fn execute(&self) -> Result<()> { method send_message (line 116) | async fn send_message(&self, client: &Client, message: &str) -> Result... method send_message_non_stream (line 125) | async fn send_message_non_stream(&self, client: &Client, message: &str... method send_message_stream (line 168) | async fn send_message_stream(&self, client: &Client, message: &str) ->... method run_interactive (line 244) | async fn run_interactive(&self, client: &Client) -> Result<()> { method send_interactive_message (line 326) | async fn send_interactive_message( method send_interactive_message_non_stream (line 340) | async fn send_interactive_message_non_stream( method send_interactive_message_stream (line 395) | async fn send_interactive_message_stream( method print_stream_event (line 488) | fn print_stream_event(&self, event: &ChatStreamEvent) { method print_tool_call (line 528) | fn print_tool_call(content: &str) { method print_tool_result (line 542) | fn print_tool_result(content: &str) { method print_events (line 547) | fn print_events(&self, events: &Option>) { method print_response (line 587) | fn print_response(&self, message: &str) { method get_history_path (line 600) | fn get_history_path(&self) -> Option { method run (line 607) | pub async fn run(&self) -> Result<()> { method new (line 616) | pub fn new( type ChatMessage (line 63) | struct ChatMessage { type ChatRequest (line 70) | struct ChatRequest { type ChatResponse (line 83) | struct ChatResponse { type ChatStreamEvent (line 92) | struct ChatStreamEvent { function render_markdown (line 640) | fn render_markdown(text: &str) { FILE: crates/ov_cli/src/commands/content.rs function read (line 8) | pub async fn read( function abstract_content (line 19) | pub async fn abstract_content( function overview (line 30) | pub async fn overview( function reindex (line 41) | pub async fn reindex( function get (line 54) | pub async fn get( FILE: crates/ov_cli/src/commands/filesystem.rs function ls (line 5) | pub async fn ls( function tree (line 22) | pub async fn tree( function mkdir (line 38) | pub async fn mkdir( function rm (line 49) | pub async fn rm( function mv (line 61) | pub async fn mv( function stat (line 73) | pub async fn stat( FILE: crates/ov_cli/src/commands/observer.rs function queue (line 5) | pub async fn queue( function vikingdb (line 15) | pub async fn vikingdb( function vlm (line 25) | pub async fn vlm( function transaction (line 35) | pub async fn transaction( function retrieval (line 45) | pub async fn retrieval( function system (line 55) | pub async fn system( FILE: crates/ov_cli/src/commands/pack.rs function export (line 5) | pub async fn export( function import (line 17) | pub async fn import( FILE: crates/ov_cli/src/commands/relations.rs function list_relations (line 5) | pub async fn list_relations( function link (line 16) | pub async fn link( function unlink (line 39) | pub async fn unlink( FILE: crates/ov_cli/src/commands/resources.rs function add_resource (line 5) | pub async fn add_resource( function add_skill (line 44) | pub async fn add_skill( FILE: crates/ov_cli/src/commands/search.rs function find (line 5) | pub async fn find( function search (line 19) | pub async fn search( function grep (line 34) | pub async fn grep( function glob (line 49) | pub async fn glob( FILE: crates/ov_cli/src/commands/session.rs function new_session (line 6) | pub async fn new_session( function list_sessions (line 16) | pub async fn list_sessions( function get_session (line 26) | pub async fn get_session( function delete_session (line 38) | pub async fn delete_session( function add_message (line 58) | pub async fn add_message( function commit_session (line 77) | pub async fn commit_session( function add_memory (line 95) | pub async fn add_memory( function url_encode (line 156) | fn url_encode(s: &str) -> String { FILE: crates/ov_cli/src/commands/system.rs function wait (line 6) | pub async fn wait( function status (line 23) | pub async fn status( function health (line 33) | pub async fn health( FILE: crates/ov_cli/src/config.rs constant OPENVIKING_CLI_CONFIG_ENV (line 6) | const OPENVIKING_CLI_CONFIG_ENV: &str = "OPENVIKING_CLI_CONFIG_FILE"; type Config (line 9) | pub struct Config { method load (line 53) | pub fn load() -> Result { method load_default (line 57) | pub fn load_default() -> Result { method from_file (line 74) | pub fn from_file(path: &str) -> Result { method save_default (line 82) | pub fn save_default(&self) -> Result<()> { function default_url (line 22) | fn default_url() -> String { function default_timeout (line 26) | fn default_timeout() -> f64 { function default_output_format (line 30) | fn default_output_format() -> String { function default_echo_command (line 34) | fn default_echo_command() -> bool { method default (line 39) | fn default() -> Self { function default_config_path (line 96) | pub fn default_config_path() -> Result { function get_or_create_machine_id (line 105) | pub fn get_or_create_machine_id() -> Result { FILE: crates/ov_cli/src/error.rs type Error (line 4) | pub enum Error { type Result (line 33) | pub type Result = std::result::Result; type CliError (line 38) | pub struct CliError { method new (line 45) | pub fn new(message: impl Into) -> Self { method config (line 53) | pub fn config(message: impl Into) -> Self { method network (line 61) | pub fn network(message: impl Into) -> Self { method from (line 71) | fn from(err: Error) -> Self { method from (line 87) | fn from(err: reqwest::Error) -> Self { method from (line 101) | fn from(err: serde_json::Error) -> Self { FILE: crates/ov_cli/src/main.rs type CliContext (line 16) | pub struct CliContext { method new (line 23) | pub fn new(output_format: OutputFormat, compact: bool) -> Result { method get_client (line 32) | pub fn get_client(&self) -> client::HttpClient { type Cli (line 47) | struct Cli { type Commands (line 61) | enum Commands { type SystemCommands (line 385) | enum SystemCommands { type ObserverCommands (line 399) | enum ObserverCommands { type SessionCommands (line 415) | enum SessionCommands { type AdminCommands (line 449) | enum AdminCommands { type ConfigCommands (line 506) | enum ConfigCommands { function main (line 514) | async fn main() { function handle_add_resource (line 664) | async fn handle_add_resource( function handle_add_skill (line 751) | async fn handle_add_skill( function handle_relations (line 763) | async fn handle_relations(uri: String, ctx: CliContext) -> Result<()> { function handle_link (line 769) | async fn handle_link( function handle_unlink (line 781) | async fn handle_unlink( function handle_export (line 792) | async fn handle_export(uri: String, to: String, ctx: CliContext) -> Resu... function handle_import (line 798) | async fn handle_import( function handle_system (line 811) | async fn handle_system(cmd: SystemCommands, ctx: CliContext) -> Result<(... function handle_observer (line 828) | async fn handle_observer(cmd: ObserverCommands, ctx: CliContext) -> Resu... function handle_session (line 852) | async fn handle_session(cmd: SessionCommands, ctx: CliContext) -> Result... function handle_admin (line 881) | async fn handle_admin(cmd: AdminCommands, ctx: CliContext) -> Result<()> { function handle_add_memory (line 925) | async fn handle_add_memory(content: String, ctx: CliContext) -> Result<(... function handle_config (line 930) | async fn handle_config(cmd: ConfigCommands, _ctx: CliContext) -> Result<... function handle_read (line 955) | async fn handle_read(uri: String, ctx: CliContext) -> Result<()> { function handle_abstract (line 960) | async fn handle_abstract(uri: String, ctx: CliContext) -> Result<()> { function handle_overview (line 965) | async fn handle_overview(uri: String, ctx: CliContext) -> Result<()> { function handle_reindex (line 970) | async fn handle_reindex(uri: String, regenerate: bool, wait: bool, ctx: ... function handle_get (line 975) | async fn handle_get(uri: String, local_path: String, ctx: CliContext) ->... function handle_find (line 980) | async fn handle_find( function handle_search (line 997) | async fn handle_search( function print_command_echo (line 1019) | fn print_command_echo(command: &str, params: &str, echo_enabled: bool) { function handle_ls (line 1025) | async fn handle_ls(uri: String, simple: bool, recursive: bool, abs_limit... function handle_tree (line 1041) | async fn handle_tree(uri: String, abs_limit: i32, show_all_hidden: bool,... function handle_mkdir (line 1056) | async fn handle_mkdir(uri: String, ctx: CliContext) -> Result<()> { function handle_rm (line 1061) | async fn handle_rm(uri: String, recursive: bool, ctx: CliContext) -> Res... function handle_mv (line 1066) | async fn handle_mv(from_uri: String, to_uri: String, ctx: CliContext) ->... function handle_stat (line 1071) | async fn handle_stat(uri: String, ctx: CliContext) -> Result<()> { function handle_grep (line 1076) | async fn handle_grep(uri: String, pattern: String, ignore_case: bool, no... function handle_glob (line 1086) | async fn handle_glob(pattern: String, uri: String, node_limit: i32, ctx:... function handle_health (line 1093) | async fn handle_health(ctx: CliContext) -> Result<()> { function handle_tui (line 1102) | async fn handle_tui(uri: String, ctx: CliContext) -> Result<()> { FILE: crates/ov_cli/src/output.rs constant MAX_COL_WIDTH (line 5) | const MAX_COL_WIDTH: usize = 256; type OutputFormat (line 8) | pub enum OutputFormat { method from (line 14) | fn from(s: &str) -> Self { function output_success (line 22) | pub fn output_success(result: T, format: OutputFormat, com... function output_error (line 38) | pub fn output_error(code: &str, message: &str, format: OutputFormat, com... function print_table (line 55) | fn print_table(result: T, compact: bool) { function value_to_table (line 256) | fn value_to_table(value: &serde_json::Value, compact: bool) -> Option, compact: bool) ... function format_value (line 493) | fn format_value(v: &serde_json::Value) -> String { function pad_cell (line 503) | fn pad_cell(content: &str, width: usize, align_right: bool) -> String { function is_numeric_value (line 518) | fn is_numeric_value(v: &serde_json::Value) -> bool { function truncate_string (line 526) | fn truncate_string(s: &str, is_uri: bool, max_width: usize) -> (String, ... function test_object_formatting_with_alignment (line 562) | fn test_object_formatting_with_alignment() { function test_object_with_long_uri (line 577) | fn test_object_with_long_uri() { function test_empty_object (line 588) | fn test_empty_object() { FILE: crates/ov_cli/src/tui/app.rs type Panel (line 6) | pub enum Panel { type VectorRecordsState (line 12) | pub struct VectorRecordsState { method new (line 22) | pub fn new() -> Self { method adjust_scroll (line 34) | pub fn adjust_scroll(&mut self, viewport_height: usize) { type App (line 46) | pub struct App { method new (line 62) | pub fn new(client: HttpClient) -> Self { method init (line 79) | pub async fn init(&mut self, uri: &str) { method load_content_for_selected (line 84) | pub async fn load_content_for_selected(&mut self) { method load_directory_content (line 127) | async fn load_directory_content(&mut self, uri: &str) { method load_file_content (line 162) | async fn load_file_content(&mut self, uri: &str) { method scroll_content_up (line 176) | pub fn scroll_content_up(&mut self) { method scroll_content_down (line 180) | pub fn scroll_content_down(&mut self) { method scroll_content_top (line 186) | pub fn scroll_content_top(&mut self) { method scroll_content_bottom (line 190) | pub fn scroll_content_bottom(&mut self) { method is_root_scope_uri (line 195) | fn is_root_scope_uri(uri: &str) -> bool { method toggle_focus (line 201) | pub fn toggle_focus(&mut self) { method load_vector_records (line 208) | pub async fn load_vector_records(&mut self, uri_prefix: Option) { method load_next_vector_page (line 229) | pub async fn load_next_vector_page(&mut self) { method toggle_vector_records_mode (line 257) | pub async fn toggle_vector_records_mode(&mut self) { method load_vector_count (line 264) | pub async fn load_vector_count(&mut self) { method move_vector_cursor_up (line 281) | pub fn move_vector_cursor_up(&mut self) { method move_vector_cursor_down (line 287) | pub fn move_vector_cursor_down(&mut self) { method scroll_vector_top (line 295) | pub fn scroll_vector_top(&mut self) { method scroll_vector_bottom (line 299) | pub fn scroll_vector_bottom(&mut self) { FILE: crates/ov_cli/src/tui/event.rs function handle_key (line 5) | pub async fn handle_key(app: &mut App, key: KeyEvent) { function handle_tree_key (line 29) | async fn handle_tree_key(app: &mut App, key: KeyEvent) { function handle_content_key (line 48) | fn handle_content_key(app: &mut App, key: KeyEvent) { FILE: crates/ov_cli/src/tui/mod.rs function run_tui (line 19) | pub async fn run_tui(client: HttpClient, uri: &str) -> Result<()> { function run_loop (line 43) | async fn run_loop(client: HttpClient, uri: &str) -> Result<()> { FILE: crates/ov_cli/src/tui/tree.rs type FsEntry (line 7) | pub struct FsEntry { method name (line 18) | pub fn name(&self) -> &str { type TreeNode (line 25) | pub struct TreeNode { type VisibleRow (line 34) | pub struct VisibleRow { type TreeState (line 44) | pub struct TreeState { method new (line 52) | pub fn new() -> Self { constant ROOT_SCOPES (line 62) | const ROOT_SCOPES: &'static [&'static str] = &["agent", "resources", "... method load_root (line 64) | pub async fn load_root(&mut self, client: &HttpClient, uri: &str) { method fetch_children (line 140) | async fn fetch_children( method rebuild_visible (line 179) | pub fn rebuild_visible(&mut self) { method flatten_node (line 189) | fn flatten_node( method toggle_expand (line 213) | pub async fn toggle_expand(&mut self, client: &HttpClient) { method get_node_mut (line 249) | fn get_node_mut<'a>( method move_cursor_up (line 263) | pub fn move_cursor_up(&mut self) { method move_cursor_down (line 269) | pub fn move_cursor_down(&mut self) { method selected_uri (line 275) | pub fn selected_uri(&self) -> Option<&str> { method selected_is_dir (line 279) | pub fn selected_is_dir(&self) -> Option { method adjust_scroll (line 284) | pub fn adjust_scroll(&mut self, viewport_height: usize) { FILE: crates/ov_cli/src/tui/ui.rs function render (line 11) | pub fn render(frame: &mut Frame, app: &App) { function render_tree (line 30) | fn render_tree(frame: &mut Frame, app: &App, area: ratatui::layout::Rect) { function render_content (line 108) | fn render_content(frame: &mut Frame, app: &App, area: ratatui::layout::R... function render_vector_records (line 140) | fn render_vector_records(frame: &mut Frame, app: &App, area: ratatui::la... function render_status_bar (line 254) | fn render_status_bar(frame: &mut Frame, app: &App, area: ratatui::layout... FILE: crates/ov_cli/src/utils.rs function truncate_utf8 (line 4) | pub fn truncate_utf8(s: &str, max_bytes: usize) -> &str { FILE: examples/claude-memory-plugin/scripts/ov_memory.py class BackendInfo (line 26) | class BackendInfo: function _load_json (line 33) | def _load_json(path: Path) -> Dict[str, Any]: function _save_json (line 38) | def _save_json(path: Path, data: Dict[str, Any]) -> None: function _load_state (line 44) | def _load_state(path: Path) -> Dict[str, Any]: function _health_check (line 53) | def _health_check(url: str, timeout: float = 1.2) -> bool: function _resolve_local_data_path (line 64) | def _resolve_local_data_path(project_dir: Path, ov_conf: Dict[str, Any])... function detect_backend (line 74) | def detect_backend(project_dir: Path, ov_conf: Dict[str, Any]) -> Backen... class OVClient (line 98) | class OVClient: method __init__ (line 99) | def __init__(self, backend: BackendInfo, ov_conf_path: Path): method __enter__ (line 104) | def __enter__(self) -> "OVClient": method __exit__ (line 122) | def __exit__(self, exc_type, exc, tb) -> None: method create_session (line 129) | def create_session(self) -> Dict[str, Any]: method add_message (line 132) | def add_message( method commit_session (line 141) | def commit_session(self, session_id: str) -> Dict[str, Any]: method find (line 144) | def find(self, query: str, target_uri: str, limit: int) -> Any: method read (line 147) | def read(self, uri: str) -> str: function _as_text (line 151) | def _as_text(value: Any) -> str: function _short (line 159) | def _short(text: str, n: int) -> str: function _extract_text_parts (line 166) | def _extract_text_parts(content: Any) -> str: function _extract_tool_result (line 183) | def _extract_tool_result(content: Any) -> str: function _is_user_prompt (line 207) | def _is_user_prompt(entry: Dict[str, Any]) -> bool: function _assistant_chunks (line 217) | def _assistant_chunks(entry: Dict[str, Any]) -> List[str]: function _read_jsonl (line 253) | def _read_jsonl(path: Path) -> List[Dict[str, Any]]: function extract_last_turn (line 269) | def extract_last_turn(transcript_path: Path) -> Optional[Dict[str, str]]: function _summarize_with_claude (line 315) | def _summarize_with_claude(raw: str) -> str: function _fallback_summary (line 351) | def _fallback_summary(turn: Dict[str, str]) -> str: function summarize_turn (line 364) | def summarize_turn(turn: Dict[str, str]) -> str: function _contexts_from_find_result (line 376) | def _contexts_from_find_result(result: Any) -> List[Dict[str, Any]]: function _build_backend_from_state_or_detect (line 412) | def _build_backend_from_state_or_detect( function cmd_session_start (line 432) | def cmd_session_start(args: argparse.Namespace) -> Dict[str, Any]: function cmd_ingest_stop (line 486) | def cmd_ingest_stop(args: argparse.Namespace) -> Dict[str, Any]: function cmd_session_end (line 546) | def cmd_session_end(args: argparse.Namespace) -> Dict[str, Any]: function cmd_recall (line 593) | def cmd_recall(args: argparse.Namespace) -> int: function _build_parser (line 664) | def _build_parser() -> argparse.ArgumentParser: function main (line 685) | def main() -> int: FILE: examples/cloud/alice.py function load_key_from_file (line 32) | def load_key_from_file(user="alice"): function main (line 41) | def main(): FILE: examples/cloud/bob.py function load_key_from_file (line 31) | def load_key_from_file(user="bob"): function main (line 40) | def main(): FILE: examples/cloud/setup_users.py function main (line 31) | def main(): FILE: examples/common/recipe.py class Recipe (line 17) | class Recipe: method __init__ (line 27) | def __init__(self, config_path: str = "./ov.conf", data_path: str = ".... method search (line 50) | def search( method call_llm (line 113) | def call_llm( method query (line 148) | def query( method close (line 246) | def close(self): FILE: examples/common/resource_manager.py function create_client (line 16) | def create_client(config_path: str = "./ov.conf", data_path: str = "./da... function add_resource (line 37) | def add_resource( FILE: examples/mcp-query/server.py function _get_recipe (line 43) | def _get_recipe() -> Recipe: function create_server (line 53) | def create_server(host: str = "127.0.0.1", port: int = 2033) -> FastMCP: function parse_args (line 232) | def parse_args(): function main (line 308) | def main(): FILE: examples/misc/memory_demo.py class Turn (line 28) | class Turn: class QueryCheck (line 35) | class QueryCheck: class CaseSpec (line 43) | class CaseSpec: class Hit (line 59) | class Hit: class DedupRecord (line 69) | class DedupRecord: class CaseResult (line 79) | class CaseResult: class DedupRecorder (line 89) | class DedupRecorder: method __init__ (line 92) | def __init__(self) -> None: method install (line 97) | def install(self) -> None: method uninstall (line 127) | def uninstall(self) -> None: function _print_section (line 133) | def _print_section(title: str, body: str = "") -> None: function _safe_list (line 141) | def _safe_list(items: Iterable[Any]) -> List[Any]: function _safe_float (line 148) | def _safe_float(value: Any) -> Optional[float]: function _hash_text (line 155) | def _hash_text(text: str) -> str: function _collect_memory_snapshot (line 159) | def _collect_memory_snapshot(client: SyncOpenViking) -> Dict[str, str]: function _snapshot_diff (line 184) | def _snapshot_diff( function _search_hits (line 194) | def _search_hits(client: SyncOpenViking, query: str, limit: int) -> List... function _format_hits (line 226) | def _format_hits(hits: List[Hit], max_items: int = 8) -> str: function _joined_hit_texts (line 241) | def _joined_hit_texts(hits: List[Hit]) -> List[str]: function _group_satisfied_anywhere (line 245) | def _group_satisfied_anywhere(group: List[str], texts: List[str]) -> bool: function _group_fully_matched_in_single_hit (line 252) | def _group_fully_matched_in_single_hit(group: List[str], texts: List[str... function _evaluate_query_check (line 262) | def _evaluate_query_check(check: QueryCheck, hits: List[Hit]) -> List[str]: function _format_records (line 279) | def _format_records(records: List[DedupRecord]) -> str: function _build_cases (line 293) | def _build_cases() -> List[CaseSpec]: function _get_or_create_session (line 541) | def _get_or_create_session( function _session_id (line 556) | def _session_id(cache: Dict[str, Any], key: str) -> str: function _evaluate_case (line 560) | def _evaluate_case( function _decision_coverage (line 625) | def _decision_coverage(records: List[DedupRecord]) -> Dict[str, bool]: function main (line 638) | def main() -> int: FILE: examples/multi_tenant/admin_workflow.py function expect_error (line 39) | def expect_error(resp: httpx.Response, label: str, expected_status: int ... function admin_api (line 47) | def admin_api(base_url: str, root_key: str): FILE: examples/openclaw-plugin/client.ts type FindResultItem (line 4) | type FindResultItem = { type FindResult (line 14) | type FindResult = { type CaptureMode (line 21) | type CaptureMode = "semantic" | "keyword"; type ScopeName (line 22) | type ScopeName = "user" | "agent"; type RuntimeIdentity (line 23) | type RuntimeIdentity = { type LocalClientCacheEntry (line 27) | type LocalClientCacheEntry = { type PendingClientEntry (line 32) | type PendingClientEntry = { constant MEMORY_URI_PATTERNS (line 45) | const MEMORY_URI_PATTERNS = [ constant USER_STRUCTURE_DIRS (line 49) | const USER_STRUCTURE_DIRS = new Set(["memories"]); constant AGENT_STRUCTURE_DIRS (line 50) | const AGENT_STRUCTURE_DIRS = new Set(["memories", "skills", "instruction... function md5Short (line 52) | function md5Short(input: string): string { function isMemoryUri (line 56) | function isMemoryUri(uri: string): boolean { class OpenVikingClient (line 60) | class OpenVikingClient { method constructor (line 64) | constructor( method setAgentId (line 78) | setAgentId(newAgentId: string): void { method getAgentId (line 87) | getAgentId(): string { method request (line 91) | private async request(path: string, init: RequestInit = {}): Promis... method healthCheck (line 130) | async healthCheck(): Promise { method ls (line 134) | private async ls(uri: string): Promise>> { method getRuntimeIdentity (line 140) | private async getRuntimeIdentity(): Promise { method resolveScopeSpace (line 157) | private async resolveScopeSpace(scope: ScopeName): Promise { method normalizeTargetUri (line 199) | private async normalizeTargetUri(targetUri: string): Promise { method find (line 224) | async find( method read (line 245) | async read(uri: string): Promise { method createSession (line 251) | async createSession(): Promise { method addSessionMessage (line 259) | async addSessionMessage(sessionId: string, role: string, content: stri... method getSession (line 270) | async getSession(sessionId: string): Promise<{ message_count?: number ... method extractSessionMemories (line 277) | async extractSessionMemories(sessionId: string): Promise { method deleteUri (line 288) | async deleteUri(uri: string): Promise { FILE: examples/openclaw-plugin/config.ts type MemoryOpenVikingConfig (line 5) | type MemoryOpenVikingConfig = { constant DEFAULT_BASE_URL (line 28) | const DEFAULT_BASE_URL = "http://127.0.0.1:1933"; constant DEFAULT_PORT (line 29) | const DEFAULT_PORT = 1933; constant DEFAULT_TARGET_URI (line 30) | const DEFAULT_TARGET_URI = "viking://user/memories"; constant DEFAULT_TIMEOUT_MS (line 31) | const DEFAULT_TIMEOUT_MS = 15000; constant DEFAULT_CAPTURE_MODE (line 32) | const DEFAULT_CAPTURE_MODE = "semantic"; constant DEFAULT_CAPTURE_MAX_LENGTH (line 33) | const DEFAULT_CAPTURE_MAX_LENGTH = 24000; constant DEFAULT_RECALL_LIMIT (line 34) | const DEFAULT_RECALL_LIMIT = 6; constant DEFAULT_RECALL_SCORE_THRESHOLD (line 35) | const DEFAULT_RECALL_SCORE_THRESHOLD = 0.01; constant DEFAULT_INGEST_REPLY_ASSIST (line 36) | const DEFAULT_INGEST_REPLY_ASSIST = true; constant DEFAULT_INGEST_REPLY_ASSIST_MIN_SPEAKER_TURNS (line 37) | const DEFAULT_INGEST_REPLY_ASSIST_MIN_SPEAKER_TURNS = 2; constant DEFAULT_INGEST_REPLY_ASSIST_MIN_CHARS (line 38) | const DEFAULT_INGEST_REPLY_ASSIST_MIN_CHARS = 120; constant DEFAULT_LOCAL_CONFIG_PATH (line 39) | const DEFAULT_LOCAL_CONFIG_PATH = join(homedir(), ".openviking", "ov.con... constant DEFAULT_AGENT_ID (line 41) | const DEFAULT_AGENT_ID = "default"; function resolveAgentId (line 43) | function resolveAgentId(configured: unknown): string { function resolveEnvVars (line 50) | function resolveEnvVars(value: string): string { function toNumber (line 60) | function toNumber(value: unknown, fallback: number): number { function assertAllowedKeys (line 73) | function assertAllowedKeys(value: Record, allowed: stri... function resolveDefaultBaseUrl (line 81) | function resolveDefaultBaseUrl(): string { method parse (line 90) | parse(value: unknown): Required { constant DEFAULT_MEMORY_OPENVIKING_DATA_DIR (line 280) | const DEFAULT_MEMORY_OPENVIKING_DATA_DIR = join( FILE: examples/openclaw-plugin/context-engine.ts type AgentMessage (line 13) | type AgentMessage = { type ContextEngineInfo (line 18) | type ContextEngineInfo = { type AssembleResult (line 24) | type AssembleResult = { type IngestResult (line 30) | type IngestResult = { type IngestBatchResult (line 34) | type IngestBatchResult = { type CompactResult (line 38) | type CompactResult = { type ContextEngine (line 45) | type ContextEngine = { type Logger (line 76) | type Logger = { function estimateTokens (line 82) | function estimateTokens(messages: AgentMessage[]): number { function tryLegacyCompact (line 86) | async function tryLegacyCompact(params: { function warnOrInfo (line 121) | function warnOrInfo(logger: Logger, message: string): void { function createMemoryOpenVikingContextEngine (line 129) | function createMemoryOpenVikingContextEngine(params: { FILE: examples/openclaw-plugin/demo-memory-ajie.py function send_message (line 96) | def send_message(gateway_url, message, user_id, previous_messages=None): function extract_reply_text (line 109) | def extract_reply_text(data): function render_reply (line 119) | def render_reply(text): function run_chat (line 130) | def run_chat(gateway_url, delay): function run_verify (line 167) | def run_verify(gateway_url, delay): function main (line 229) | def main(): FILE: examples/openclaw-plugin/demo-memory-xiaomei.py function send_message (line 96) | def send_message(gateway_url, message, user_id, previous_messages=None): function extract_reply_text (line 109) | def extract_reply_text(data): function render_reply (line 119) | def render_reply(text): function run_chat (line 130) | def run_chat(gateway_url, delay): function run_verify (line 167) | def run_verify(gateway_url, delay): function main (line 229) | def main(): FILE: examples/openclaw-plugin/index.ts type PluginLogger (line 31) | type PluginLogger = { type HookAgentContext (line 38) | type HookAgentContext = { type OpenClawPluginApi (line 44) | type OpenClawPluginApi = { constant MAX_OPENVIKING_STDERR_LINES (line 70) | const MAX_OPENVIKING_STDERR_LINES = 200; constant MAX_OPENVIKING_STDERR_CHARS (line 71) | const MAX_OPENVIKING_STDERR_CHARS = 256_000; constant AUTO_RECALL_TIMEOUT_MS (line 72) | const AUTO_RECALL_TIMEOUT_MS = 5_000; method register (line 81) | register(api: OpenClawPluginApi) { FILE: examples/openclaw-plugin/memory-ranking.ts function clampScore (line 3) | function clampScore(value: number | undefined): number { function normalizeDedupeText (line 10) | function normalizeDedupeText(text: string): string { function isEventOrCaseMemory (line 14) | function isEventOrCaseMemory(item: FindResultItem): boolean { function getMemoryDedupeKey (line 25) | function getMemoryDedupeKey(item: FindResultItem): string { function postProcessMemories (line 34) | function postProcessMemories( function formatMemoryLines (line 65) | function formatMemoryLines(items: FindResultItem[]): string { function trimForLog (line 76) | function trimForLog(value: string, limit = 260): string { function toJsonLog (line 84) | function toJsonLog(value: unknown, maxLen = 6000): string { function summarizeInjectionMemories (line 100) | function summarizeInjectionMemories(items: FindResultItem[]): Array(promise: Promise, timeoutMs: number, timeoutM... function quickTcpProbe (line 48) | function quickTcpProbe(host: string, port: number, timeoutMs: number): P... function quickHealthCheck (line 72) | async function quickHealthCheck(baseUrl: string, timeoutMs: number): Pro... function quickRecallPrecheck (line 92) | async function quickRecallPrecheck( type ProcessLogger (line 135) | interface ProcessLogger { function prepareLocalPort (line 147) | async function prepareLocalPort( function killProcessOnPort (line 179) | function killProcessOnPort(port: number, logger: ProcessLogger): Promise... function killProcessOnPortWin (line 183) | async function killProcessOnPortWin(port: number, logger: ProcessLogger)... function killProcessOnPortUnix (line 205) | async function killProcessOnPortUnix(port: number, logger: ProcessLogger... function resolvePythonCommand (line 235) | function resolvePythonCommand(logger: ProcessLogger): string { FILE: examples/openclaw-plugin/setup-helper/install.js constant REPO (line 34) | const REPO = process.env.REPO || "volcengine/OpenViking"; constant BRANCH (line 35) | const BRANCH = process.env.BRANCH || "main"; constant GH_RAW (line 36) | const GH_RAW = `https://raw.githubusercontent.com/${REPO}/${BRANCH}`; constant NPM_REGISTRY (line 37) | const NPM_REGISTRY = process.env.NPM_REGISTRY || "https://registry.npmmi... constant PIP_INDEX_URL (line 38) | const PIP_INDEX_URL = process.env.PIP_INDEX_URL || "https://pypi.tuna.ts... constant IS_WIN (line 40) | const IS_WIN = process.platform === "win32"; constant HOME (line 41) | const HOME = process.env.HOME || process.env.USERPROFILE || ""; constant DEFAULT_OPENCLAW_DIR (line 43) | const DEFAULT_OPENCLAW_DIR = join(HOME, ".openclaw"); constant OPENCLAW_DIR (line 44) | let OPENCLAW_DIR = DEFAULT_OPENCLAW_DIR; constant PLUGIN_DEST (line 45) | let PLUGIN_DEST = join(OPENCLAW_DIR, "extensions", "openviking"); constant OPENVIKING_DIR (line 47) | const OPENVIKING_DIR = join(HOME, ".openviking"); constant DEFAULT_SERVER_PORT (line 49) | const DEFAULT_SERVER_PORT = 1933; constant DEFAULT_AGFS_PORT (line 50) | const DEFAULT_AGFS_PORT = 1833; constant DEFAULT_VLM_MODEL (line 51) | const DEFAULT_VLM_MODEL = "doubao-seed-2-0-pro-260215"; constant DEFAULT_EMBED_MODEL (line 52) | const DEFAULT_EMBED_MODEL = "doubao-embedding-vision-251215"; constant REQUIRED_PLUGIN_FILES (line 54) | const REQUIRED_PLUGIN_FILES = [ constant OPTIONAL_PLUGIN_FILES (line 64) | const OPTIONAL_PLUGIN_FILES = [ constant OPENVIKING_PIP_SPEC (line 120) | const OPENVIKING_PIP_SPEC = openvikingVersion ? `openviking==${openvikin... function setOpenClawDir (line 122) | function setOpenClawDir(dir) { function printHelp (line 127) | function printHelp() { function tr (line 140) | function tr(en, zh) { function info (line 144) | function info(msg) { function warn (line 148) | function warn(msg) { function err (line 152) | function err(msg) { function bold (line 156) | function bold(msg) { function run (line 160) | function run(cmd, args, opts = {}) { function runCapture (line 175) | function runCapture(cmd, args, opts = {}) { function runLiveCapture (line 199) | function runLiveCapture(cmd, args, opts = {}) { function question (line 227) | function question(prompt, defaultValue = "") { function checkPython (line 238) | async function checkPython() { function checkNode (line 259) | async function checkNode() { function detectOpenClawInstances (line 271) | function detectOpenClawInstances() { function selectWorkdir (line 285) | async function selectWorkdir() { function selectMode (line 309) | async function selectMode() { function collectRemoteConfig (line 318) | async function collectRemoteConfig() { function validateEnvironment (line 325) | async function validateEnvironment() { function checkOpenClaw (line 369) | async function checkOpenClaw() { function installOpenViking (line 393) | async function installOpenViking() { function configureOvConf (line 511) | async function configureOvConf() { function downloadPluginFile (line 586) | async function downloadPluginFile(relPath, required, index, total) { function downloadPlugin (line 624) | async function downloadPlugin() { function configureOpenClawPlugin (line 642) | async function configureOpenClawPlugin(pluginPath = PLUGIN_DEST) { function resolvePythonPath (line 680) | async function resolvePythonPath() { function writeOpenvikingEnv (line 695) | async function writeOpenvikingEnv({ includePython }) { function wrapCommand (line 738) | function wrapCommand(command, envFiles) { function main (line 744) | async function main() { FILE: examples/openclaw-plugin/text-utils.ts constant MEMORY_TRIGGERS (line 3) | const MEMORY_TRIGGERS = [ constant CJK_CHAR_REGEX (line 13) | const CJK_CHAR_REGEX = /[\u3040-\u30ff\u3400-\u9fff\uf900-\ufaff\uac00-\... constant RELEVANT_MEMORIES_BLOCK_RE (line 14) | const RELEVANT_MEMORIES_BLOCK_RE = /[\s\S]*?<\/releva... constant CONVERSATION_METADATA_BLOCK_RE (line 15) | const CONVERSATION_METADATA_BLOCK_RE = constant SENDER_METADATA_BLOCK_RE (line 18) | const SENDER_METADATA_BLOCK_RE = /Sender\s*\([^)]*\)\s*:\s*```[\s\S]*?``... constant FENCED_JSON_BLOCK_RE (line 19) | const FENCED_JSON_BLOCK_RE = /```json\s*([\s\S]*?)```/gi; constant METADATA_JSON_KEY_RE (line 20) | const METADATA_JSON_KEY_RE = constant LEADING_TIMESTAMP_PREFIX_RE (line 22) | const LEADING_TIMESTAMP_PREFIX_RE = /^\s*\[[^\]\n]{1,120}\]\s*/; constant COMMAND_TEXT_RE (line 23) | const COMMAND_TEXT_RE = /^\/[a-z0-9_-]{1,64}\b/i; constant NON_CONTENT_TEXT_RE (line 24) | const NON_CONTENT_TEXT_RE = /^[\p{P}\p{S}\s]+$/u; constant SUBAGENT_CONTEXT_RE (line 25) | const SUBAGENT_CONTEXT_RE = /^\s*\[Subagent Context\]/i; constant MEMORY_INTENT_RE (line 26) | const MEMORY_INTENT_RE = /记住|记下|remember|save|store|偏好|preference|规则|rul... constant QUESTION_CUE_RE (line 27) | const QUESTION_CUE_RE = constant SPEAKER_TAG_RE (line 29) | const SPEAKER_TAG_RE = /(?:^|\s)([A-Za-z\u4e00-\u9fa5][A-Za-z0-9_\u4e00-... constant CAPTURE_LIMIT (line 31) | const CAPTURE_LIMIT = 3; function resolveCaptureMinLength (line 33) | function resolveCaptureMinLength(text: string): number { function looksLikeMetadataJsonBlock (line 37) | function looksLikeMetadataJsonBlock(content: string): boolean { function sanitizeUserTextForCapture (line 49) | function sanitizeUserTextForCapture(text: string): string { function looksLikeQuestionOnlyText (line 63) | function looksLikeQuestionOnlyText(text: string): boolean { type TranscriptLikeIngestDecision (line 75) | type TranscriptLikeIngestDecision = { function countSpeakerTurns (line 83) | function countSpeakerTurns(text: string): number { function isTranscriptLikeIngest (line 91) | function isTranscriptLikeIngest( function normalizeDedupeText (line 180) | function normalizeDedupeText(text: string): string { function normalizeCaptureDedupeText (line 184) | function normalizeCaptureDedupeText(text: string): string { function pickRecentUniqueTexts (line 188) | function pickRecentUniqueTexts(texts: string[], limit: number): string[] { function getCaptureDecision (line 209) | function getCaptureDecision(text: string, mode: CaptureMode, captureMaxL... function extractTextsFromUserMessages (line 291) | function extractTextsFromUserMessages(messages: unknown[]): string[] { function extractNewTurnTexts (line 324) | function extractNewTurnTexts( function extractLatestUserText (line 351) | function extractLatestUserText(messages: unknown[] | undefined): string { FILE: examples/opencode-memory-plugin/openviking-memory.ts type SessionMapping (line 28) | interface SessionMapping { type SessionMappingPersisted (line 43) | interface SessionMappingPersisted { type SessionMapFile (line 57) | interface SessionMapFile { type BufferedMessage (line 67) | interface BufferedMessage { constant MAX_BUFFERED_MESSAGES_PER_SESSION (line 74) | const MAX_BUFFERED_MESSAGES_PER_SESSION = 100 constant BUFFERED_MESSAGE_TTL_MS (line 75) | const BUFFERED_MESSAGE_TTL_MS = 15 * 60 * 1000 constant BUFFER_CLEANUP_INTERVAL_MS (line 76) | const BUFFER_CLEANUP_INTERVAL_MS = 30 * 1000 function ensurePluginDataDir (line 86) | function ensurePluginDataDir(): string | null { function initLogger (line 97) | function initLogger() { function safeStringify (line 104) | function safeStringify(obj: any): any { function log (line 134) | function log(level: "INFO" | "ERROR" | "DEBUG", toolName: string, messag... function initSessionMapPath (line 160) | function initSessionMapPath() { function serializeSessionMapping (line 167) | function serializeSessionMapping(mapping: SessionMapping): SessionMappin... function deserializeSessionMapping (line 182) | function deserializeSessionMapping(persisted: SessionMappingPersisted): ... function loadSessionMap (line 198) | async function loadSessionMap(): Promise { function saveSessionMap (line 235) | async function saveSessionMap(): Promise { function debouncedSaveSessionMap (line 264) | function debouncedSaveSessionMap(): void { type OpenVikingConfig (line 277) | interface OpenVikingConfig { type OpenVikingResponse (line 292) | interface OpenVikingResponse { type SearchResult (line 300) | interface SearchResult { type CommitResult (line 308) | interface CommitResult { type SessionResult (line 324) | interface SessionResult { type TaskResult (line 328) | interface TaskResult { type CommitStartResult (line 343) | type CommitStartResult = constant DEFAULT_CONFIG (line 347) | const DEFAULT_CONFIG: OpenVikingConfig = { function loadConfig (line 358) | function loadConfig(): OpenVikingConfig { type HttpRequestOptions (line 413) | interface HttpRequestOptions { function makeRequest (line 421) | async function makeRequest(config: OpenVikingConfig, options: H... function getResponseErrorMessage (line 498) | function getResponseErrorMessage(error: OpenVikingResponse["error"]): st... function unwrapResponse (line 504) | function unwrapResponse(response: OpenVikingResponse): T { function checkServiceHealth (line 514) | async function checkServiceHealth(config: OpenVikingConfig): Promise str: function main (line 36) | async def main(): FILE: examples/server_client/client_sync.py function _bool_mark (line 36) | def _bool_mark(value) -> str: function spin (line 40) | def spin(message: str, func, *args, **kwargs): function main (line 62) | def main(): FILE: examples/watch_resource_example.py function example_basic_watch (line 25) | async def example_basic_watch(): function example_update_watch_interval (line 59) | async def example_update_watch_interval(): function example_cancel_watch (line 84) | async def example_cancel_watch(): function example_handle_conflict (line 103) | async def example_handle_conflict(): function main (line 134) | async def main(): FILE: openviking/agfs_manager.py class AGFSManager (line 23) | class AGFSManager: method __init__ (line 66) | def __init__( method vikingfs_path (line 89) | def vikingfs_path(self) -> Path: method binary_path (line 94) | def binary_path(self) -> Path: method url (line 103) | def url(self) -> str: method _check_port_available (line 107) | def _check_port_available(self) -> None: method _generate_config (line 121) | def _generate_config(self) -> Path: method _generate_config_file (line 190) | def _generate_config_file(self) -> Path: method start (line 203) | def start(self) -> None: method _wait_for_ready (line 235) | def _wait_for_ready(self, timeout: float = 5.0) -> None: method stop (line 260) | def stop(self) -> None: method is_running (line 283) | def is_running(self) -> bool: FILE: openviking/async_client.py class AsyncOpenViking (line 24) | class AsyncOpenViking: method __new__ (line 39) | def __new__(cls, *args, **kwargs): method __init__ (line 46) | def __init__( method initialize (line 74) | async def initialize(self) -> None: method _ensure_initialized (line 79) | async def _ensure_initialized(self): method close (line 84) | async def close(self) -> None: method reset (line 93) | async def reset(cls) -> None: method session (line 107) | def session(self, session_id: Optional[str] = None, must_exist: bool =... method session_exists (line 119) | async def session_exists(self, session_id: str) -> bool: method create_session (line 131) | async def create_session(self) -> Dict[str, Any]: method list_sessions (line 136) | async def list_sessions(self) -> List[Any]: method get_session (line 141) | async def get_session(self, session_id: str) -> Dict[str, Any]: method delete_session (line 146) | async def delete_session(self, session_id: str) -> None: method add_message (line 151) | async def add_message( method commit_session (line 173) | async def commit_session( method add_resource (line 182) | async def add_resource( method _service (line 232) | def _service(self): method wait_processed (line 235) | async def wait_processed(self, timeout: float = None) -> Dict[str, Any]: method build_index (line 240) | async def build_index(self, resource_uris: Union[str, List[str]], **kw... method summarize (line 250) | async def summarize(self, resource_uris: Union[str, List[str]], **kwar... method add_skill (line 260) | async def add_skill( method search (line 283) | async def search( method find (line 320) | async def find( method abstract (line 342) | async def abstract(self, uri: str) -> str: method overview (line 347) | async def overview(self, uri: str) -> str: method read (line 352) | async def read(self, uri: str, offset: int = 0, limit: int = -1) -> str: method ls (line 357) | async def ls(self, uri: str, **kwargs) -> List[Any]: method rm (line 381) | async def rm(self, uri: str, recursive: bool = False) -> None: method grep (line 386) | async def grep(self, uri: str, pattern: str, case_insensitive: bool = ... method glob (line 391) | async def glob(self, pattern: str, uri: str = "viking://") -> Dict: method mv (line 396) | async def mv(self, from_uri: str, to_uri: str) -> None: method tree (line 401) | async def tree(self, uri: str, **kwargs) -> Dict: method mkdir (line 416) | async def mkdir(self, uri: str) -> None: method stat (line 421) | async def stat(self, uri: str) -> Dict: method relations (line 428) | async def relations(self, uri: str) -> List[Dict[str, Any]]: method link (line 433) | async def link(self, from_uri: str, uris: Any, reason: str = "") -> None: method unlink (line 445) | async def unlink(self, from_uri: str, uri: str) -> None: method export_ovpack (line 458) | async def export_ovpack(self, uri: str, to: str) -> str: method import_ovpack (line 472) | async def import_ovpack( method get_status (line 492) | def get_status(self) -> Union[SystemStatus, Dict[str, Any]]: method is_healthy (line 500) | def is_healthy(self) -> bool: method observer (line 509) | def observer(self): FILE: openviking/client/local.py class LocalClient (line 22) | class LocalClient(BaseClient): method __init__ (line 28) | def __init__( method service (line 45) | def service(self) -> OpenVikingService: method initialize (line 51) | async def initialize(self) -> None: method close (line 55) | async def close(self) -> None: method add_resource (line 61) | async def add_resource( method add_skill (line 103) | async def add_skill( method wait_processed (line 126) | async def wait_processed(self, timeout: Optional[float] = None) -> Dic... method build_index (line 130) | async def build_index(self, resource_uris: Union[str, List[str]], **kw... method summarize (line 136) | async def summarize(self, resource_uris: Union[str, List[str]], **kwar... method ls (line 144) | async def ls( method tree (line 164) | async def tree( method stat (line 182) | async def stat(self, uri: str) -> Dict[str, Any]: method mkdir (line 186) | async def mkdir(self, uri: str) -> None: method rm (line 190) | async def rm(self, uri: str, recursive: bool = False) -> None: method mv (line 194) | async def mv(self, from_uri: str, to_uri: str) -> None: method read (line 200) | async def read(self, uri: str, offset: int = 0, limit: int = -1) -> str: method abstract (line 210) | async def abstract(self, uri: str) -> str: method overview (line 214) | async def overview(self, uri: str) -> str: method find (line 220) | async def find( method search (line 247) | async def search( method grep (line 284) | async def grep(self, uri: str, pattern: str, case_insensitive: bool = ... method glob (line 290) | async def glob(self, pattern: str, uri: str = "viking://") -> Dict[str... method relations (line 296) | async def relations(self, uri: str) -> List[Any]: method link (line 300) | async def link(self, from_uri: str, to_uris: Union[str, List[str]], re... method unlink (line 304) | async def unlink(self, from_uri: str, to_uri: str) -> None: method create_session (line 310) | async def create_session(self) -> Dict[str, Any]: method list_sessions (line 320) | async def list_sessions(self) -> List[Any]: method get_session (line 324) | async def get_session(self, session_id: str) -> Dict[str, Any]: method delete_session (line 333) | async def delete_session(self, session_id: str) -> None: method commit_session (line 337) | async def commit_session( method add_message (line 351) | async def add_message( method export_ovpack (line 389) | async def export_ovpack(self, uri: str, to: str) -> str: method import_ovpack (line 393) | async def import_ovpack( method health (line 407) | async def health(self) -> bool: method session (line 411) | def session(self, session_id: Optional[str] = None, must_exist: bool =... method session_exists (line 434) | async def session_exists(self, session_id: str) -> bool: method get_status (line 446) | def get_status(self) -> Any: method is_healthy (line 454) | def is_healthy(self) -> bool: method observer (line 463) | def observer(self) -> Any: FILE: openviking/client/session.py class Session (line 19) | class Session: method __init__ (line 26) | def __init__(self, client: "BaseClient", session_id: str, user: UserId... method add_message (line 38) | async def add_message( method commit (line 61) | async def commit(self, telemetry: TelemetryRequest = False) -> Dict[st... method commit_async (line 69) | async def commit_async(self, telemetry: TelemetryRequest = False) -> D... method delete (line 78) | async def delete(self) -> None: method load (line 82) | async def load(self) -> Dict[str, Any]: method __repr__ (line 90) | def __repr__(self) -> str: FILE: openviking/console/app.py function _is_json_content_type (line 50) | def _is_json_content_type(content_type: str) -> bool: function _should_default_telemetry (line 55) | def _should_default_telemetry(upstream_path: str) -> bool: function _with_default_telemetry (line 61) | def _with_default_telemetry(request: Request, upstream_path: str, body: ... function _error_response (line 80) | def _error_response(status_code: int, code: str, message: str, details: ... function _copy_forward_headers (line 94) | def _copy_forward_headers(request: Request) -> dict[str, str]: function _copy_forward_response_headers (line 102) | def _copy_forward_response_headers(upstream_response: httpx.Response) ->... function _forward_request (line 110) | async def _forward_request(request: Request, upstream_path: str) -> Resp... function _ensure_write_enabled (line 139) | def _ensure_write_enabled(request: Request) -> Optional[JSONResponse]: function _validate_path_param (line 153) | def _validate_path_param(value: str, name: str) -> Optional[JSONResponse]: function _validate_fs_path (line 163) | def _validate_fs_path(path_str: str) -> Optional[JSONResponse]: function _create_proxy_router (line 196) | def _create_proxy_router() -> APIRouter: function create_console_app (line 397) | def create_console_app( FILE: openviking/console/bootstrap.py function _build_parser (line 22) | def _build_parser() -> argparse.ArgumentParser: function main (line 55) | def main() -> None: FILE: openviking/console/config.py function _parse_cors_origins (line 11) | def _parse_cors_origins(raw_value: str | None) -> List[str]: class ConsoleConfig (line 18) | class ConsoleConfig: method normalized_base_url (line 28) | def normalized_base_url(self) -> str: function load_console_config (line 33) | def load_console_config( function as_runtime_capabilities (line 58) | def as_runtime_capabilities(config: ConsoleConfig) -> dict: FILE: openviking/console/static/app.js constant API_BASE (line 1) | const API_BASE = "/console/api/v1"; constant SESSION_KEY (line 2) | const SESSION_KEY = "ov_console_api_key"; constant THEME_MODE_KEY (line 3) | const THEME_MODE_KEY = "ov_console_theme_mode"; constant NAV_COLLAPSED_KEY (line 4) | const NAV_COLLAPSED_KEY = "ov_console_nav_collapsed"; constant RESULT_COLLAPSED_KEY (line 5) | const RESULT_COLLAPSED_KEY = "ov_console_result_collapsed_v2"; function readLocalStorage (line 127) | function readLocalStorage(key) { function writeLocalStorage (line 135) | function writeLocalStorage(key, value) { function prefersDarkTheme (line 143) | function prefersDarkTheme() { function resolveThemeMode (line 147) | function resolveThemeMode(mode) { function updateThemeButtons (line 157) | function updateThemeButtons() { function applyThemeMode (line 165) | function applyThemeMode(mode, { persist = true } = {}) { function applyShellStateClasses (line 176) | function applyShellStateClasses() { function setNavCollapsed (line 184) | function setNavCollapsed(collapsed, { persist = true } = {}) { function setResultCollapsed (line 192) | function setResultCollapsed(collapsed, { persist = true } = {}) { function syncResultEmptyState (line 203) | function syncResultEmptyState() { function setOutput (line 210) | function setOutput(value) { function setActivePanel (line 216) | function setActivePanel(panel) { function getApiKey (line 241) | function getApiKey() { function updateConnectionHint (line 245) | function updateConnectionHint() { function truncateText (line 252) | function truncateText(value, maxLength = 4000) { function isJsonLikeContentType (line 260) | function isJsonLikeContentType(contentType) { function callConsole (line 265) | async function callConsole(path, options = {}) { function normalizeDirUri (line 341) | function normalizeDirUri(uri) { function parentUri (line 352) | function parentUri(uri) { function joinUri (line 373) | function joinUri(baseUri, child) { function pickFirstNonEmpty (line 387) | function pickFirstNonEmpty(candidates) { function normalizeFsEntries (line 396) | function normalizeFsEntries(result, currentUri) { function normalizeSortString (line 492) | function normalizeSortString(value) { function toSortableNumber (line 499) | function toSortableNumber(value) { function toSortableTime (line 512) | function toSortableTime(value) { function compareNullable (line 524) | function compareNullable(left, right, compareFn) { function compareFsEntries (line 539) | function compareFsEntries(left, right, field) { function sortFilesystemEntries (line 571) | function sortFilesystemEntries(entries) { function updateFilesystemSortHeaders (line 581) | function updateFilesystemSortHeaders() { function bindFilesystemSort (line 595) | function bindFilesystemSort() { function initFsColumnResize (line 621) | function initFsColumnResize() { function normalizeReadContent (line 674) | function normalizeReadContent(result) { function readFilesystemFile (line 696) | async function readFilesystemFile(entry) { function statFilesystemResource (line 711) | async function statFilesystemResource(entry) { function renderFilesystemEntries (line 724) | function renderFilesystemEntries(target, rows, onOpen, onOpenContent) { function isRecord (line 798) | function isRecord(value) { function extractDeepestObjectArray (line 802) | function extractDeepestObjectArray(value) { function normalizeFindRows (line 833) | function normalizeFindRows(result) { function collectFindColumns (line 887) | function collectFindColumns(rows) { function formatFindCellValue (line 907) | function formatFindCellValue(value) { function renderFindCellContent (line 917) | function renderFindCellContent(td, column, value) { function toFindComparable (line 955) | function toFindComparable(value) { function compareFindValues (line 986) | function compareFindValues(left, right) { function sortFindRows (line 1007) | function sortFindRows(rows, column, direction) { function renderFindTable (line 1020) | function renderFindTable(rows) { function renderList (line 1092) | function renderList(target, rows, onClick) { function clamp (line 1119) | function clamp(value, min, max) { function syncWriteControls (line 1123) | function syncWriteControls() { function initResizablePanes (line 1130) | function initResizablePanes() { function buildFsTreeItem (line 1214) | function buildFsTreeItem(entry, depth) { function renderFsTreeLevel (line 1294) | async function renderFsTreeLevel(container, uri, depth) { function renderFsTree (line 1308) | async function renderFsTree() { function setFsViewMode (line 1313) | function setFsViewMode(mode) { function loadFilesystem (line 1323) | async function loadFilesystem(uri, { pushHistory = false } = {}) { function refreshCapabilities (line 1376) | async function refreshCapabilities() { function bindShellControls (line 1391) | function bindShellControls() { function initShellState (line 1438) | function initShellState() { function bindTabs (line 1452) | function bindTabs() { function bindConnection (line 1464) | function bindConnection() { function bindFilesystem (line 1498) | function bindFilesystem() { function bindFind (line 1592) | function bindFind() { function buildAddResourcePayload (line 1625) | function buildAddResourcePayload() { function renderAddResourceMode (line 1661) | function renderAddResourceMode() { function bindAddResource (line 1671) | function bindAddResource() { function normalizeArrayResult (line 1752) | function normalizeArrayResult(result, candidateKeys = []) { function normalizeTenantAccount (line 1766) | function normalizeTenantAccount(item) { function normalizeTenantUser (line 1800) | function normalizeTenantUser(item) { function updateTenantCurrentAccountLabel (line 1827) | function updateTenantCurrentAccountLabel() { function compareTenantRows (line 1833) | function compareTenantRows(left, right, field) { function sortTenantRows (line 1839) | function sortTenantRows(rows, field, direction) { function applyTenantAccountFilter (line 1847) | function applyTenantAccountFilter() { function updateTenantSortButtons (line 1854) | function updateTenantSortButtons(buttons, activeField, direction) { function renderAccountsTable (line 1864) | function renderAccountsTable() { function tenantRoleOptions (line 1960) | function tenantRoleOptions(role) { function renderUsersTable (line 1968) | function renderUsersTable() { function loadTenantUsers (line 2110) | async function loadTenantUsers(accountId, { showOutput = true } = {}) { function loadTenantAccounts (line 2134) | async function loadTenantAccounts({ showOutput = true } = {}) { function ensureTenantsLoaded (line 2163) | async function ensureTenantsLoaded() { function closeTenantConfirmModal (line 2169) | function closeTenantConfirmModal() { function updateTenantConfirmState (line 2177) | function updateTenantConfirmState() { function openTenantConfirmModal (line 2190) | function openTenantConfirmModal(request) { function performTenantAction (line 2205) | async function performTenantAction(request) { function executeTenantAction (line 2213) | async function executeTenantAction(request, { confirm = false } = {}) { function bindTenantSortButtons (line 2231) | function bindTenantSortButtons() { function bindAddMemory (line 2265) | function bindAddMemory() { function bindTenants (line 2320) | function bindTenants() { function bindMonitor (line 2434) | function bindMonitor() { function init (line 2462) | async function init() { FILE: openviking/core/building_tree.py class BuildingTree (line 11) | class BuildingTree: method __init__ (line 21) | def __init__( method add_context (line 33) | def add_context(self, context: "Context") -> None: method root (line 39) | def root(self) -> Optional["Context"]: method contexts (line 46) | def contexts(self) -> List["Context"]: method get (line 50) | def get(self, uri: str) -> Optional["Context"]: method parent (line 54) | def parent(self, uri: str) -> Optional["Context"]: method get_children (line 61) | def get_children(self, uri: str) -> List["Context"]: method get_path_to_root (line 65) | def get_path_to_root(self, uri: str) -> List["Context"]: method to_directory_structure (line 77) | def to_directory_structure(self) -> Dict[str, Any]: method __len__ (line 100) | def __len__(self) -> int: method __iter__ (line 103) | def __iter__(self): FILE: openviking/core/context.py class ResourceContentType (line 14) | class ResourceContentType(str, Enum): class ContextType (line 24) | class ContextType(str, Enum): class ContextLevel (line 32) | class ContextLevel(int, Enum): class Vectorize (line 40) | class Vectorize: method __init__ (line 46) | def __init__(self, text: str = ""): class Context (line 50) | class Context: method __init__ (line 55) | def __init__( method _derive_owner_space (line 103) | def _derive_owner_space(self, user: Optional[UserIdentifier]) -> str: method _derive_context_type (line 113) | def _derive_context_type(self) -> str: method _derive_category (line 122) | def _derive_category(self) -> str: method get_context_type (line 138) | def get_context_type(self) -> str: method set_vectorize (line 142) | def set_vectorize(self, vectorize: Vectorize): method get_vectorization_text (line 145) | def get_vectorization_text(self) -> str: method update_activity (line 150) | def update_activity(self): method to_dict (line 155) | def to_dict(self) -> Dict[str, Any]: method from_dict (line 193) | def from_dict(cls, data: Dict[str, Any]) -> "Context": FILE: openviking/core/directories.py class DirectoryDefinition (line 22) | class DirectoryDefinition: function get_context_type_for_uri (line 127) | def get_context_type_for_uri(uri: str) -> str: class DirectoryInitializer (line 140) | class DirectoryInitializer: method __init__ (line 143) | def __init__( method initialize_account_directories (line 149) | async def initialize_account_directories(self, ctx: RequestContext) ->... method initialize_user_directories (line 171) | async def initialize_user_directories(self, ctx: RequestContext) -> int: method initialize_agent_directories (line 190) | async def initialize_agent_directories(self, ctx: RequestContext) -> int: method _ensure_directory (line 209) | async def _ensure_directory( method _ensure_directory_l0_l1_vectors (line 244) | async def _ensure_directory_l0_l1_vectors( method _owner_space_for_scope (line 282) | def _owner_space_for_scope(scope: str, ctx: RequestContext) -> str: method _check_agfs_files_exist (line 289) | async def _check_agfs_files_exist(self, uri: str, ctx: RequestContext)... method _initialize_children (line 300) | async def _initialize_children( method _create_agfs_structure (line 328) | async def _create_agfs_structure( FILE: openviking/core/mcp_converter.py function mcp_to_skill (line 8) | def mcp_to_skill(mcp_config: Dict[str, Any]) -> Dict[str, Any]: function is_mcp_format (line 58) | def is_mcp_format(data: Dict[str, Any]) -> bool: FILE: openviking/core/skill_loader.py class SkillLoader (line 12) | class SkillLoader: method load (line 18) | def load(cls, path: str) -> Dict[str, Any]: method parse (line 28) | def parse(cls, content: str, source_path: str = "") -> Dict[str, Any]: method _split_frontmatter (line 54) | def _split_frontmatter(cls, content: str) -> Tuple[Optional[str], str]: method to_skill_md (line 62) | def to_skill_md(cls, skill_dict: Dict[str, Any]) -> str: FILE: openviking/eval/ragas/__init__.py class RagasConfig (line 38) | class RagasConfig: method from_env (line 59) | def from_env(cls) -> "RagasConfig": function _get_llm_config_from_env (line 77) | def _get_llm_config_from_env() -> Optional[Dict[str, str]]: function _create_ragas_llm_from_config (line 102) | def _create_ragas_llm_from_config() -> Optional[Any]: class RagasEvaluator (line 164) | class RagasEvaluator(BaseEvaluator): method __init__ (line 183) | def __init__( method evaluate_sample (line 249) | async def evaluate_sample(self, sample: EvalSample) -> EvalResult: method evaluate_dataset (line 255) | async def evaluate_dataset(self, dataset: EvalDataset) -> SummaryResult: FILE: openviking/eval/ragas/analyze_records.py function main (line 31) | def main() -> int: FILE: openviking/eval/ragas/base.py class BaseEvaluator (line 13) | class BaseEvaluator(ABC): method evaluate_sample (line 17) | async def evaluate_sample(self, sample: EvalSample) -> EvalResult: method evaluate_dataset (line 29) | async def evaluate_dataset(self, dataset: EvalDataset) -> SummaryResult: method _summarize (line 46) | def _summarize(self, name: str, results: List[EvalResult]) -> SummaryR... FILE: openviking/eval/ragas/generator.py class DatasetGenerator (line 18) | class DatasetGenerator: method __init__ (line 23) | def __init__(self, llm: Optional[Any] = None): method generate_from_viking_path (line 33) | async def generate_from_viking_path( method generate_from_content (line 75) | async def generate_from_content( FILE: openviking/eval/ragas/pipeline.py class RAGQueryPipeline (line 16) | class RAGQueryPipeline: method __init__ (line 26) | def __init__( method _get_client (line 43) | def _get_client(self): method _get_llm (line 58) | def _get_llm(self): method add_documents (line 67) | def add_documents( method add_code_repos (line 109) | def add_code_repos( method query (line 128) | def query( method close (line 198) | def close(self): FILE: openviking/eval/ragas/play_recorder.py function print_playback_stats (line 36) | def print_playback_stats(stats: PlaybackStats) -> None: function main_async (line 99) | async def main_async(args: argparse.Namespace) -> int: function main (line 154) | def main() -> int: FILE: openviking/eval/ragas/playback.py class PlaybackResult (line 22) | class PlaybackResult: class PlaybackStats (line 42) | class PlaybackStats: method __post_init__ (line 76) | def __post_init__(self): method to_dict (line 82) | def to_dict(self) -> Dict[str, Any]: class _AGFSCallCollector (line 128) | class _AGFSCallCollector: method __init__ (line 133) | def __init__(self, agfs_client: Any): method __getattr__ (line 137) | def __getattr__(self, name: str): class IOPlayback (line 163) | class IOPlayback: method __init__ (line 175) | def __init__( method _path_to_uri (line 204) | def _path_to_uri(self, path: str) -> str: method _init_backends (line 208) | def _init_backends(self) -> None: method _play_fs_operation (line 265) | async def _play_fs_operation(self, record: IORecord) -> PlaybackResult: method _compare_agfs_calls (line 331) | def _compare_agfs_calls( method _errors_match (line 374) | def _errors_match(self, playback_error: str, record_error: str) -> bool: method _play_vikingdb_operation (line 405) | async def _play_vikingdb_operation(self, record: IORecord) -> Playback... method play_record (line 519) | async def play_record(self, record: IORecord) -> PlaybackResult: method play (line 530) | async def play( method play_sync (line 645) | def play_sync(self, **kwargs) -> PlaybackStats: FILE: openviking/eval/ragas/rag_eval.py function load_questions (line 29) | def load_questions(question_file: str) -> List[Dict[str, Any]]: class RAGEvaluator (line 56) | class RAGEvaluator: method __init__ (line 61) | def __init__( method _get_client (line 93) | def _get_client(self): method initialize (line 113) | async def initialize(self): method retrieve (line 158) | async def retrieve(self, query: str, top_k: int = 5) -> Dict[str, Any]: method evaluate (line 198) | async def evaluate( method _calculate_metrics (line 244) | def _calculate_metrics( function print_report (line 271) | def print_report(eval_results: Dict[str, Any]): function save_report (line 299) | def save_report(eval_results: Dict[str, Any], output_path: str): function run_ragas_evaluation (line 306) | async def run_ragas_evaluation(eval_results: Dict[str, Any]): function main_async (line 341) | async def main_async(args): function main (line 409) | def main(): FILE: openviking/eval/ragas/record_analysis.py class OperationStats (line 20) | class OperationStats: class VikingFSStats (line 46) | class VikingFSStats: class RecordAnalysisStats (line 78) | class RecordAnalysisStats: method __post_init__ (line 104) | def __post_init__(self): method to_dict (line 112) | def to_dict(self) -> Dict[str, Any]: function load_records (line 167) | def load_records(record_file: str) -> List[IORecord]: function _update_operation_stats (line 186) | def _update_operation_stats( function _finalize_operation_stats (line 215) | def _finalize_operation_stats(stats_dict: Dict[str, OperationStats]) -> ... function analyze_records (line 232) | def analyze_records( function print_analysis_stats (line 319) | def print_analysis_stats(stats: RecordAnalysisStats) -> None: FILE: openviking/eval/ragas/types.py class EvalSample (line 12) | class EvalSample(BaseModel): class EvalResult (line 22) | class EvalResult(BaseModel): class EvalDataset (line 30) | class EvalDataset(BaseModel): method __len__ (line 37) | def __len__(self) -> int: class SummaryResult (line 41) | class SummaryResult(BaseModel): FILE: openviking/eval/recorder/async_writer.py function _serialize_for_json (line 22) | def _serialize_for_json(obj: Any) -> Any: class AsyncRecordWriter (line 45) | class AsyncRecordWriter: method __init__ (line 59) | def __init__(self, file_path: str, batch_size: int = 100, flush_interv... method _ensure_dir (line 80) | def _ensure_dir(self) -> None: method _start_writer (line 84) | def _start_writer(self) -> None: method _writer_loop (line 89) | def _writer_loop(self) -> None: method _flush_batch (line 121) | def _flush_batch(self, batch: list[Dict[str, Any]]) -> None: method write_record (line 139) | def write_record(self, record: Dict[str, Any]) -> None: method stop (line 152) | def stop(self, timeout: float = 5.0) -> None: method is_running (line 170) | def is_running(self) -> bool: FILE: openviking/eval/recorder/playback.py function get_record_stats (line 13) | def get_record_stats(record_file: str) -> dict: FILE: openviking/eval/recorder/recorder.py class IORecorder (line 25) | class IORecorder: method __init__ (line 45) | def __init__( method get_instance (line 74) | def get_instance(cls) -> "IORecorder": method initialize (line 83) | def initialize(cls, enabled: bool = False, **kwargs) -> "IORecorder": method _serialize_response (line 89) | def _serialize_response(self, response: Any) -> Any: method _write_record (line 103) | def _write_record(self, record: IORecord) -> None: method record_fs (line 112) | def record_fs( method record_vikingdb (line 147) | def record_vikingdb( method get_records (line 182) | def get_records(self) -> List[IORecord]: method get_stats (line 195) | def get_stats(self) -> Dict[str, Any]: class RecordContext (line 228) | class RecordContext: method __init__ (line 231) | def __init__( method __enter__ (line 248) | def __enter__(self): method __exit__ (line 252) | def __exit__(self, exc_type, exc_val, exc_tb): method set_response (line 282) | def set_response(self, response: Any) -> None: method add_agfs_call (line 286) | def add_agfs_call( function get_recorder (line 317) | def get_recorder() -> IORecorder: function init_recorder (line 322) | def init_recorder(enabled: bool = False, **kwargs) -> IORecorder: function create_recording_agfs_client (line 327) | def create_recording_agfs_client(agfs_client: Any, record_file: Optional... FILE: openviking/eval/recorder/recording_client.py class RecordingAGFSClient (line 20) | class RecordingAGFSClient: method __init__ (line 41) | def __init__( method _record (line 65) | def _record( method _serialize_response (line 87) | def _serialize_response(self, response: Any) -> Any: method _wrap_operation (line 110) | def _wrap_operation(self, operation: str, *args, **kwargs) -> Any: method stop_recording (line 126) | def stop_recording(self, timeout: float = 5.0) -> None: method read (line 130) | def read(self, path: str, offset: int = 0, size: int = -1, stream: boo... method write (line 134) | def write(self, path: str, data: Union[bytes, Iterator[bytes]], max_re... method ls (line 138) | def ls(self, path: str = "/") -> List[Dict[str, Any]]: method stat (line 142) | def stat(self, path: str) -> Dict[str, Any]: method mkdir (line 146) | def mkdir(self, path: str, mode: str = "755") -> Dict[str, Any]: method rm (line 150) | def rm(self, path: str, recursive: bool = False) -> Dict[str, Any]: method mv (line 154) | def mv(self, old_path: str, new_path: str) -> Dict[str, Any]: method grep (line 158) | def grep( method cat (line 169) | def cat(self, path: str, offset: int = 0, size: int = -1, stream: bool... method chmod (line 173) | def chmod(self, path: str, mode: int) -> Dict[str, Any]: method touch (line 177) | def touch(self, path: str) -> Dict[str, Any]: method digest (line 181) | def digest(self, path: str, algorithm: str = "xxh3") -> Dict[str, Any]: method create (line 185) | def create(self, path: str) -> Dict[str, Any]: method health (line 189) | def health(self) -> Dict[str, Any]: method mounts (line 193) | def mounts(self) -> List[Dict[str, Any]]: method mount (line 197) | def mount(self, fstype: str, path: str, config: Dict[str, Any]) -> Dic... method unmount (line 201) | def unmount(self, path: str) -> Dict[str, Any]: method open_handle (line 205) | def open_handle(self, path: str, flags: int = 0, mode: int = 420, leas... method close_handle (line 209) | def close_handle(self, handle_id: int) -> Dict[str, Any]: method handle_read (line 213) | def handle_read(self, handle_id: int, size: int = -1, offset: Optional... method handle_write (line 217) | def handle_write(self, handle_id: int, data: bytes, offset: Optional[i... method handle_seek (line 221) | def handle_seek(self, handle_id: int, offset: int, whence: int = 0) ->... method handle_stat (line 225) | def handle_stat(self, handle_id: int) -> Dict[str, Any]: method handle_sync (line 229) | def handle_sync(self, handle_id: int) -> Dict[str, Any]: method renew_handle (line 233) | def renew_handle(self, handle_id: int, lease: int = 60) -> Dict[str, A... method get_handle_info (line 237) | def get_handle_info(self, handle_id: int) -> Dict[str, Any]: method list_handles (line 241) | def list_handles(self) -> List[Dict[str, Any]]: method list_plugins (line 245) | def list_plugins(self) -> List[str]: method get_plugins_info (line 249) | def get_plugins_info(self) -> List[dict]: method load_plugin (line 253) | def load_plugin(self, library_path: str) -> Dict[str, Any]: method unload_plugin (line 257) | def unload_plugin(self, library_path: str) -> Dict[str, Any]: method __getattr__ (line 261) | def __getattr__(self, name: str) -> Any: method __enter__ (line 265) | def __enter__(self) -> "RecordingAGFSClient": method __exit__ (line 269) | def __exit__(self, exc_type, exc_val, exc_tb) -> None: FILE: openviking/eval/recorder/types.py class IOType (line 12) | class IOType(Enum): class FSOperation (line 19) | class FSOperation(Enum): class VikingDBOperation (line 34) | class VikingDBOperation(Enum): class AGFSCallRecord (line 52) | class AGFSCallRecord: class IORecord (line 68) | class IORecord: method to_dict (line 94) | def to_dict(self) -> Dict[str, Any]: method from_dict (line 127) | def from_dict(cls, data: Dict[str, Any]) -> "IORecord": FILE: openviking/eval/recorder/wrapper.py class _AGFSCallCollector (line 22) | class _AGFSCallCollector: method __init__ (line 29) | def __init__(self, agfs_client: Any): method __getattr__ (line 33) | def __getattr__(self, name: str): class RecordingVikingFS (line 67) | class RecordingVikingFS: method __init__ (line 84) | def __init__(self, viking_fs: Any, recorder: Optional[IORecorder] = No... method __getattr__ (line 96) | def __getattr__(self, name: str) -> Any: method _build_request (line 211) | def _build_request(self, name: str, args: tuple, kwargs: dict) -> Dict... class RecordingVikingDB (line 249) | class RecordingVikingDB: method __init__ (line 262) | def __init__(self, viking_db: Any, recorder: Optional[IORecorder] = No... method _record (line 273) | def _record( method insert (line 292) | async def insert(self, collection: str, data: Dict[str, Any]) -> str: method update (line 306) | async def update(self, collection: str, id: str, data: Dict[str, Any])... method upsert (line 325) | async def upsert(self, collection: str, data: Dict[str, Any]) -> str: method delete (line 339) | async def delete(self, collection: str, ids: List[str]) -> int: method get (line 353) | async def get(self, collection: str, ids: List[str]) -> List[Dict[str,... method exists (line 367) | async def exists(self, collection: str, id: str) -> bool: method search (line 381) | async def search( method filter (line 405) | async def filter( method create_collection (line 429) | async def create_collection(self, name: str, schema: Dict[str, Any]) -... method drop_collection (line 443) | async def drop_collection(self) -> bool: method collection_exists (line 457) | async def collection_exists(self) -> bool: method __getattr__ (line 471) | def __getattr__(self, name: str) -> Any: FILE: openviking/message/message.py class Message (line 18) | class Message: method content (line 27) | def content(self) -> str: method to_dict (line 34) | def to_dict(self) -> dict: method _part_to_dict (line 45) | def _part_to_dict(self, part: Part) -> dict: method from_dict (line 78) | def from_dict(cls, data: dict) -> "Message": method create_user (line 115) | def create_user(cls, content: str, msg_id: str = None) -> "Message": method create_assistant (line 127) | def create_assistant( method get_context_parts (line 169) | def get_context_parts(self) -> List[ContextPart]: method get_tool_parts (line 173) | def get_tool_parts(self) -> List[ToolPart]: method find_tool_part (line 177) | def find_tool_part(self, tool_id: str) -> Optional[ToolPart]: method to_jsonl (line 184) | def to_jsonl(self) -> str: FILE: openviking/message/part.py class TextPart (line 13) | class TextPart: class ContextPart (line 21) | class ContextPart: class ToolPart (line 34) | class ToolPart: function part_from_dict (line 56) | def part_from_dict(data: dict) -> Part: FILE: openviking/models/embedder/base.py function truncate_and_normalize (line 12) | def truncate_and_normalize(embedding: List[float], dimension: Optional[i... class EmbedResult (line 35) | class EmbedResult: method is_dense (line 47) | def is_dense(self) -> bool: method is_sparse (line 52) | def is_sparse(self) -> bool: method is_hybrid (line 57) | def is_hybrid(self) -> bool: class EmbedderBase (line 62) | class EmbedderBase(ABC): method __init__ (line 68) | def __init__(self, model_name: str, config: Optional[Dict[str, Any]] =... method embed (line 79) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method embed_batch (line 91) | def embed_batch(self, texts: List[str], is_query: bool = False) -> Lis... method close (line 103) | def close(self): method is_dense (line 108) | def is_dense(self) -> bool: method is_sparse (line 113) | def is_sparse(self) -> bool: method is_hybrid (line 118) | def is_hybrid(self) -> bool: class DenseEmbedderBase (line 123) | class DenseEmbedderBase(EmbedderBase): method embed (line 132) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method get_dimension (line 145) | def get_dimension(self) -> int: class SparseEmbedderBase (line 154) | class SparseEmbedderBase(EmbedderBase): method embed (line 165) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method is_sparse (line 178) | def is_sparse(self) -> bool: class HybridEmbedderBase (line 183) | class HybridEmbedderBase(EmbedderBase): method embed (line 194) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method get_dimension (line 207) | def get_dimension(self) -> int: method is_sparse (line 216) | def is_sparse(self) -> bool: method is_hybrid (line 221) | def is_hybrid(self) -> bool: class CompositeHybridEmbedder (line 226) | class CompositeHybridEmbedder(HybridEmbedderBase): method __init__ (line 236) | def __init__(self, dense_embedder: DenseEmbedderBase, sparse_embedder:... method embed (line 242) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method embed_batch (line 251) | def embed_batch(self, texts: List[str], is_query: bool = False) -> Lis... method get_dimension (line 261) | def get_dimension(self) -> int: method close (line 264) | def close(self): function exponential_backoff_retry (line 269) | def exponential_backoff_retry( FILE: openviking/models/embedder/gemini_embedders.py function _raise_api_error (line 71) | def _raise_api_error(e: APIError, model: str) -> None: class GeminiDenseEmbedder (line 82) | class GeminiDenseEmbedder(DenseEmbedderBase): method _default_dimension (line 108) | def _default_dimension(cls, model: str) -> int: method __init__ (line 128) | def __init__( method _build_config (line 170) | def _build_config( method __repr__ (line 185) | def __repr__(self) -> str: method embed (line 193) | def embed( method embed_batch (line 222) | def embed_batch( method async_embed_batch (line 280) | async def async_embed_batch(self, texts: List[str]) -> List[EmbedResult]: method get_dimension (line 325) | def get_dimension(self) -> int: method close (line 328) | def close(self): FILE: openviking/models/embedder/jina_embedders.py class JinaDenseEmbedder (line 21) | class JinaDenseEmbedder(DenseEmbedderBase): method __init__ (line 53) | def __init__( method _build_extra_body (line 110) | def _build_extra_body(self, is_query: bool = False) -> Optional[Dict[s... method embed (line 125) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method embed_batch (line 156) | def embed_batch(self, texts: List[str], is_query: bool = False) -> Lis... method get_dimension (line 189) | def get_dimension(self) -> int: FILE: openviking/models/embedder/minimax_embedders.py class MinimaxDenseEmbedder (line 15) | class MinimaxDenseEmbedder(DenseEmbedderBase): method __init__ (line 33) | def __init__( method _create_session (line 89) | def _create_session(self) -> requests.Session: method _detect_dimension (line 103) | def _detect_dimension(self) -> int: method _call_api (line 108) | def _call_api(self, texts: List[str], is_query: bool = False) -> List[... method embed (line 164) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method embed_batch (line 169) | def embed_batch(self, texts: List[str], is_query: bool = False) -> Lis... method get_dimension (line 179) | def get_dimension(self) -> int: FILE: openviking/models/embedder/openai_embedders.py class OpenAIDenseEmbedder (line 19) | class OpenAIDenseEmbedder(DenseEmbedderBase): method __init__ (line 62) | def __init__( method _detect_dimension (line 142) | def _detect_dimension(self) -> int: method _update_telemetry_token_usage (line 151) | def _update_telemetry_token_usage(self, response) -> None: method _parse_param_string (line 170) | def _parse_param_string(self, param: Optional[str]) -> Dict[str, str]: method _build_extra_body (line 194) | def _build_extra_body(self, is_query: bool = False) -> Optional[Dict[s... method embed (line 225) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method embed_batch (line 255) | def embed_batch(self, texts: List[str], is_query: bool = False) -> Lis... method get_dimension (line 289) | def get_dimension(self) -> int: class OpenAISparseEmbedder (line 298) | class OpenAISparseEmbedder(SparseEmbedderBase): method __init__ (line 304) | def __init__(self, *args, **kwargs): method embed (line 310) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: class OpenAIHybridEmbedder (line 314) | class OpenAIHybridEmbedder(HybridEmbedderBase): method __init__ (line 320) | def __init__(self, *args, **kwargs): method embed (line 326) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method get_dimension (line 329) | def get_dimension(self) -> int: FILE: openviking/models/embedder/vikingdb_embedders.py class VikingDBClientMixin (line 17) | class VikingDBClientMixin: method _init_vikingdb_client (line 20) | def _init_vikingdb_client( method _call_api (line 37) | def _call_api( method _truncate_and_normalize (line 69) | def _truncate_and_normalize( method _process_sparse_embedding (line 84) | def _process_sparse_embedding(self, sparse_data: Any) -> Dict[str, flo... class VikingDBDenseEmbedder (line 104) | class VikingDBDenseEmbedder(DenseEmbedderBase, VikingDBClientMixin): method __init__ (line 107) | def __init__( method embed (line 126) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method embed_batch (line 138) | def embed_batch(self, texts: List[str], is_query: bool = False) -> Lis... method get_dimension (line 151) | def get_dimension(self) -> int: class VikingDBSparseEmbedder (line 155) | class VikingDBSparseEmbedder(SparseEmbedderBase, VikingDBClientMixin): method __init__ (line 158) | def __init__( method embed (line 176) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method embed_batch (line 188) | def embed_batch(self, texts: List[str], is_query: bool = False) -> Lis... class VikingDBHybridEmbedder (line 200) | class VikingDBHybridEmbedder(HybridEmbedderBase, VikingDBClientMixin): method __init__ (line 203) | def __init__( method embed (line 226) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method embed_batch (line 244) | def embed_batch(self, texts: List[str], is_query: bool = False) -> Lis... method get_dimension (line 259) | def get_dimension(self) -> int: FILE: openviking/models/embedder/volcengine_embedders.py function is_429_error (line 21) | def is_429_error(exception: Exception) -> bool: function process_sparse_embedding (line 37) | def process_sparse_embedding(sparse_data: Any) -> Dict[str, float]: class VolcengineDenseEmbedder (line 72) | class VolcengineDenseEmbedder(DenseEmbedderBase): method __init__ (line 78) | def __init__( method _detect_dimension (line 121) | def _detect_dimension(self) -> int: method _update_telemetry_token_usage (line 129) | def _update_telemetry_token_usage(self, response) -> None: method embed (line 148) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method embed_batch (line 192) | def embed_batch(self, texts: List[str], is_query: bool = False) -> Lis... method get_dimension (line 231) | def get_dimension(self) -> int: class VolcengineSparseEmbedder (line 235) | class VolcengineSparseEmbedder(SparseEmbedderBase): method __init__ (line 241) | def __init__( method embed (line 272) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method embed_batch (line 310) | def embed_batch(self, texts: List[str], is_query: bool = False) -> Lis... class VolcengineHybridEmbedder (line 328) | class VolcengineHybridEmbedder(HybridEmbedderBase): method __init__ (line 335) | def __init__( method embed (line 372) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method embed_batch (line 415) | def embed_batch(self, texts: List[str], is_query: bool = False) -> Lis... method get_dimension (line 432) | def get_dimension(self) -> int: FILE: openviking/models/embedder/voyage_embedders.py function get_voyage_model_default_dimension (line 37) | def get_voyage_model_default_dimension(model_name: Optional[str]) -> int: class VoyageDenseEmbedder (line 44) | class VoyageDenseEmbedder(DenseEmbedderBase): method __init__ (line 51) | def __init__( method embed (line 84) | def embed(self, text: str, is_query: bool = False) -> EmbedResult: method embed_batch (line 99) | def embed_batch(self, texts: List[str], is_query: bool = False) -> Lis... method get_dimension (line 116) | def get_dimension(self) -> int: FILE: openviking/models/vlm/backends/litellm_vlm.py function detect_provider_by_model (line 81) | def detect_provider_by_model(model: str) -> str | None: class LiteLLMVLMProvider (line 90) | class LiteLLMVLMProvider(VLMBase): method __init__ (line 97) | def __init__(self, config: Dict[str, Any]): method _setup_env (line 112) | def _setup_env(self, api_key: str, model: str | None) -> None: method _resolve_model (line 128) | def _resolve_model(self, model: str) -> str: method _detect_image_format (line 143) | def _detect_image_format(self, data: bytes) -> str: method _prepare_image (line 164) | def _prepare_image(self, image: Union[str, Path, bytes]) -> Dict[str, ... method _build_kwargs (line 195) | def _build_kwargs(self, model: str, messages: list) -> dict[str, Any]: method get_completion (line 221) | def get_completion(self, prompt: str, thinking: bool = False) -> str: method get_completion_async (line 231) | async def get_completion_async( method get_vision_completion (line 254) | def get_vision_completion( method get_vision_completion_async (line 275) | async def get_vision_completion_async( method _update_token_usage_from_response (line 296) | def _update_token_usage_from_response(self, response) -> None: FILE: openviking/models/vlm/backends/openai_vlm.py function _build_openai_client_kwargs (line 17) | def _build_openai_client_kwargs( class OpenAIVLM (line 40) | class OpenAIVLM(VLMBase): method __init__ (line 43) | def __init__(self, config: Dict[str, Any]): method get_client (line 49) | def get_client(self): method get_async_client (line 66) | def get_async_client(self): method _update_token_usage_from_response (line 83) | def _update_token_usage_from_response(self, response): method _extract_from_chunk (line 95) | def _extract_from_chunk(self, chunk): method _process_streaming_response (line 116) | def _process_streaming_response(self, response): method _process_streaming_response_async (line 149) | async def _process_streaming_response_async(self, response): method get_completion (line 182) | def get_completion(self, prompt: str, thinking: bool = False) -> str: method get_completion_async (line 204) | async def get_completion_async( method _detect_image_format (line 240) | def _detect_image_format(self, data: bytes) -> str: method _prepare_image (line 261) | def _prepare_image(self, image: Union[str, Path, bytes]) -> Dict[str, ... method get_vision_completion (line 292) | def get_vision_completion( method get_vision_completion_async (line 325) | async def get_vision_completion_async( FILE: openviking/models/vlm/backends/volcengine_vlm.py class VolcEngineVLM (line 16) | class VolcEngineVLM(OpenAIVLM): method __init__ (line 19) | def __init__(self, config: Dict[str, Any]): method get_client (line 32) | def get_client(self): method get_async_client (line 47) | def get_async_client(self): method get_completion (line 62) | def get_completion(self, prompt: str, thinking: bool = False) -> str: method get_completion_async (line 78) | async def get_completion_async( method _detect_image_format (line 108) | def _detect_image_format(self, data: bytes) -> str: method _prepare_image (line 174) | def _prepare_image(self, image: Union[str, Path, bytes]) -> Dict[str, ... method get_vision_completion (line 222) | def get_vision_completion( method get_vision_completion_async (line 249) | async def get_vision_completion_async( FILE: openviking/models/vlm/base.py class VLMBase (line 17) | class VLMBase(ABC): method __init__ (line 20) | def __init__(self, config: Dict[str, Any]): method get_completion (line 36) | def get_completion(self, prompt: str, thinking: bool = False) -> str: method get_completion_async (line 41) | async def get_completion_async( method get_vision_completion (line 48) | def get_vision_completion( method get_vision_completion_async (line 58) | async def get_vision_completion_async( method _clean_response (line 67) | def _clean_response(self, content: str) -> str: method is_available (line 71) | def is_available(self) -> bool: method update_token_usage (line 76) | def update_token_usage( method get_token_usage (line 102) | def get_token_usage(self) -> Dict[str, Any]: method get_token_usage_summary (line 110) | def get_token_usage_summary(self) -> Dict[str, Any]: method reset_token_usage (line 124) | def reset_token_usage(self) -> None: method _extract_content_from_response (line 128) | def _extract_content_from_response(self, response) -> str: class VLMFactory (line 133) | class VLMFactory: method create (line 137) | def create(config: Dict[str, Any]) -> VLMBase: method get_available_providers (line 168) | def get_available_providers() -> List[str]: FILE: openviking/models/vlm/llm.py function parse_json_from_response (line 23) | def parse_json_from_response(response: str) -> Optional[Any]: function _fix_json_quotes (line 75) | def _fix_json_quotes(json_str: str) -> str: function parse_json_to_model (line 92) | def parse_json_to_model(response: str, model_class: Type[T]) -> Optional... function get_json_schema_prompt (line 114) | def get_json_schema_prompt(schema: Dict[str, Any], description: str = ""... class StructuredVLM (line 141) | class StructuredVLM: method __init__ (line 149) | def __init__(self, vlm_config: Optional[Dict[str, Any]] = None): method _get_vlm (line 158) | def _get_vlm(self): method complete_json (line 167) | def complete_json( method complete_json_async (line 180) | async def complete_json_async( method complete_model (line 194) | def complete_model( method complete_model_async (line 212) | async def complete_model_async( method get_vision_completion (line 233) | def get_vision_completion( method get_vision_completion_async (line 242) | async def get_vision_completion_async( FILE: openviking/models/vlm/registry.py function get_all_provider_names (line 16) | def get_all_provider_names() -> list[str]: function is_valid_provider (line 21) | def is_valid_provider(name: str) -> bool: FILE: openviking/models/vlm/token_usage.py class TokenUsage (line 13) | class TokenUsage: method update (line 21) | def update(self, prompt_tokens: int, completion_tokens: int) -> None: method reset (line 33) | def reset(self) -> None: method to_dict (line 40) | def to_dict(self) -> Dict: method __str__ (line 53) | def __str__(self) -> str: class ModelTokenUsage (line 62) | class ModelTokenUsage: method update (line 69) | def update(self, provider: str, prompt_tokens: int, completion_tokens:... method get_provider_usage (line 86) | def get_provider_usage(self, provider: str) -> Optional[TokenUsage]: method to_dict (line 97) | def to_dict(self) -> Dict: method __str__ (line 114) | def __str__(self) -> str: class TokenUsageTracker (line 124) | class TokenUsageTracker: method __init__ (line 127) | def __init__(self): method update (line 130) | def update( method get_model_usage (line 146) | def get_model_usage(self, model_name: str) -> Optional[ModelTokenUsage]: method get_all_usage (line 157) | def get_all_usage(self) -> Dict[str, ModelTokenUsage]: method get_total_usage (line 165) | def get_total_usage(self) -> TokenUsage: method reset (line 180) | def reset(self) -> None: method to_dict (line 184) | def to_dict(self) -> Dict: method __str__ (line 200) | def __str__(self) -> str: FILE: openviking/parse/base.py function calculate_media_strategy (line 24) | def calculate_media_strategy(image_count: int, line_count: int) -> str: function format_table_to_markdown (line 43) | def format_table_to_markdown(rows: List[List[str]], has_header: bool = T... function lazy_import (line 79) | def lazy_import(module_name: str, package_name: Optional[str] = None) ->... class ResourceCategory (line 104) | class ResourceCategory(Enum): class DocumentType (line 115) | class DocumentType(Enum): class MediaType (line 128) | class MediaType(Enum): class NodeType (line 141) | class NodeType(Enum): class ResourceNode (line 160) | class ResourceNode: method add_child (line 186) | def add_child(self, child: "ResourceNode") -> None: method get_detail_content (line 193) | def get_detail_content(self, temp_dir: Path) -> str: method get_detail_content_async (line 202) | async def get_detail_content_async(self, temp_uri: str) -> str: method get_content (line 214) | def get_content(self) -> str: method get_content_bytes (line 222) | def get_content_bytes(self) -> bytes: method is_binary (line 228) | def is_binary(self) -> bool: method get_content_size (line 234) | def get_content_size(self) -> int: method get_text (line 240) | def get_text(self, include_children: bool = True) -> str: method get_abstract (line 257) | def get_abstract(self, max_length: int = 256) -> str: method get_overview (line 280) | def get_overview(self, max_length: int = 4000) -> str: method to_dict (line 320) | def to_dict(self) -> Dict[str, Any]: method from_dict (line 332) | def from_dict(cls, data: Dict[str, Any]) -> "ResourceNode": class ParseResult (line 348) | class ParseResult: method success (line 368) | def success(self) -> bool: method get_all_nodes (line 372) | def get_all_nodes(self) -> List[ResourceNode]: method get_sections (line 384) | def get_sections(self, min_level: int = 0, max_level: int = 10) -> Lis... function create_parse_result (line 402) | def create_parse_result( FILE: openviking/parse/converter.py class DocumentConverter (line 15) | class DocumentConverter: method __init__ (line 18) | def __init__(self, temp_dir: Optional[Path] = None): method to_pdf (line 21) | async def to_pdf(self, file_path: Path) -> Optional[Path]: method _convert_with_libreoffice (line 35) | async def _convert_with_libreoffice(self, file_path: Path) -> Optional... method _convert_markdown_to_pdf (line 65) | async def _convert_markdown_to_pdf(self, file_path: Path) -> Optional[... FILE: openviking/parse/custom.py class CustomParserProtocol (line 21) | class CustomParserProtocol(Protocol): method can_handle (line 44) | def can_handle(self, source: Union[str, Path]) -> bool: method parse (line 56) | async def parse(self, source: Union[str, Path], **kwargs) -> "ParseRes... method supported_extensions (line 70) | def supported_extensions(self) -> List[str]: class CustomParserWrapper (line 80) | class CustomParserWrapper: method __init__ (line 88) | def __init__( method supported_extensions (line 110) | def supported_extensions(self) -> List[str]: method can_parse (line 114) | def can_parse(self, path: Union[str, Path]) -> bool: method parse (line 118) | async def parse(self, source: Union[str, Path], **kwargs) -> "ParseRes... method parse_content (line 139) | async def parse_content( class CallbackParserWrapper (line 165) | class CallbackParserWrapper: method __init__ (line 187) | def __init__( method supported_extensions (line 206) | def supported_extensions(self) -> List[str]: method can_parse (line 210) | def can_parse(self, path: Union[str, Path]) -> bool: method parse (line 214) | async def parse(self, source: Union[str, Path], **kwargs) -> "ParseRes... method parse_content (line 227) | async def parse_content( FILE: openviking/parse/directory_scan.py class ClassifiedFile (line 31) | class ClassifiedFile: class DirectoryScanResult (line 40) | class DirectoryScanResult: method all_processable_files (line 49) | def all_processable_files(self) -> List[ClassifiedFile]: function _should_skip_file (line 54) | def _should_skip_file(file_path: Path) -> tuple[bool, str]: function _should_skip_directory (line 72) | def _should_skip_directory( function _parse_patterns (line 120) | def _parse_patterns(value: Optional[str]) -> List[str]: function _normalize_rel_path (line 127) | def _normalize_rel_path(rel_path: str) -> str: function _matches_include (line 132) | def _matches_include(path_name: str, patterns: List[str]) -> bool: function _matches_exclude (line 139) | def _matches_exclude(rel_path_norm: str, path_name: str, patterns: List[... function _classify_file (line 158) | def _classify_file( function scan_directory (line 175) | def scan_directory( FILE: openviking/parse/parsers/base_parser.py class BaseParser (line 10) | class BaseParser(ABC): method parse (line 21) | async def parse(self, source: Union[str, Path], instruction: str = "",... method parse_content (line 36) | async def parse_content( method supported_extensions (line 55) | def supported_extensions(self) -> List[str]: method can_parse (line 59) | def can_parse(self, path: Union[str, Path]) -> bool: method _read_file (line 72) | def _read_file(self, path: Union[str, Path]) -> str: method _get_viking_fs (line 94) | def _get_viking_fs(self): method _create_temp_uri (line 105) | def _create_temp_uri(self) -> str: FILE: openviking/parse/parsers/code/ast/__init__.py function extract_skeleton (line 10) | def extract_skeleton(file_name: str, content: str, verbose: bool = False... FILE: openviking/parse/parsers/code/ast/extractor.py class ASTExtractor (line 54) | class ASTExtractor: method __init__ (line 60) | def __init__(self): method _detect_language (line 63) | def _detect_language(self, file_name: str) -> Optional[str]: method _get_extractor (line 67) | def _get_extractor(self, lang: Optional[str]) -> Optional[LanguageExtr... method extract_skeleton (line 88) | def extract_skeleton( function get_extractor (line 122) | def get_extractor() -> ASTExtractor: FILE: openviking/parse/parsers/code/ast/languages/base.py class LanguageExtractor (line 10) | class LanguageExtractor(ABC): method extract (line 12) | def extract(self, file_name: str, content: str) -> CodeSkeleton: FILE: openviking/parse/parsers/code/ast/languages/cpp.py function _node_text (line 11) | def _node_text(node, content_bytes: bytes) -> str: function _parse_block_comment (line 15) | def _parse_block_comment(raw: str) -> str: function _preceding_doc (line 28) | def _preceding_doc(siblings: list, idx: int, content_bytes: bytes) -> str: function _extract_function_declarator (line 38) | def _extract_function_declarator(node, content_bytes: bytes): function _extract_function (line 60) | def _extract_function(node, content_bytes: bytes, docstring: str = "") -... function _extract_class (line 85) | def _extract_class(node, content_bytes: bytes, docstring: str = "") -> C... function _extract_typedef_struct (line 137) | def _extract_typedef_struct( function _extract_function_proto (line 164) | def _extract_function_proto( function _process_siblings (line 172) | def _process_siblings( class CppExtractor (line 195) | class CppExtractor(LanguageExtractor): method __init__ (line 196) | def __init__(self): method extract (line 203) | def extract(self, file_name: str, content: str) -> CodeSkeleton: FILE: openviking/parse/parsers/code/ast/languages/csharp.py function _node_text (line 12) | def _node_text(node, content_bytes: bytes) -> str: function _parse_doc_comment (line 16) | def _parse_doc_comment(raw: str) -> str: function _preceding_doc (line 42) | def _preceding_doc(siblings: list, idx: int, content_bytes: bytes) -> str: function _extract_method (line 62) | def _extract_method(node, content_bytes: bytes, docstring: str = "") -> ... function _extract_class (line 104) | def _extract_class(node, content_bytes: bytes, docstring: str = "") -> C... class CSharpExtractor (line 133) | class CSharpExtractor(LanguageExtractor): method __init__ (line 134) | def __init__(self): method extract (line 141) | def extract(self, file_name: str, content: str) -> CodeSkeleton: FILE: openviking/parse/parsers/code/ast/languages/go.py function _node_text (line 11) | def _node_text(node, content_bytes: bytes) -> str: function _preceding_doc (line 15) | def _preceding_doc(siblings: list, idx: int, content_bytes: bytes) -> str: function _extract_function (line 29) | def _extract_function(node, content_bytes: bytes, docstring: str = "") -... function _extract_struct (line 56) | def _extract_struct(node, content_bytes: bytes, docstring: str = "") -> ... class GoExtractor (line 65) | class GoExtractor(LanguageExtractor): method __init__ (line 66) | def __init__(self): method extract (line 73) | def extract(self, file_name: str, content: str) -> CodeSkeleton: FILE: openviking/parse/parsers/code/ast/languages/java.py function _node_text (line 11) | def _node_text(node, content_bytes: bytes) -> str: function _parse_block_comment (line 15) | def _parse_block_comment(raw: str) -> str: function _preceding_doc (line 28) | def _preceding_doc(siblings: list, idx: int, content_bytes: bytes) -> str: function _extract_method (line 38) | def _extract_method(node, content_bytes: bytes, docstring: str = "") -> ... function _extract_class (line 67) | def _extract_class(node, content_bytes: bytes, docstring: str = "") -> C... class JavaExtractor (line 99) | class JavaExtractor(LanguageExtractor): method __init__ (line 100) | def __init__(self): method extract (line 107) | def extract(self, file_name: str, content: str) -> CodeSkeleton: FILE: openviking/parse/parsers/code/ast/languages/js_ts.py function _node_text (line 11) | def _node_text(node, content_bytes: bytes) -> str: function _parse_jsdoc (line 15) | def _parse_jsdoc(raw: str) -> str: function _preceding_doc (line 28) | def _preceding_doc(siblings: list, idx: int, content_bytes: bytes) -> str: function _first_string_in_body (line 42) | def _first_string_in_body(body_node, content_bytes: bytes) -> str: function _extract_params (line 58) | def _extract_params(params_node, content_bytes: bytes) -> str: function _extract_function (line 67) | def _extract_function( function _extract_class (line 96) | def _extract_class( class JsTsExtractor (line 144) | class JsTsExtractor(LanguageExtractor): method __init__ (line 145) | def __init__(self, lang: str): method extract (line 162) | def extract(self, file_name: str, content: str) -> CodeSkeleton: FILE: openviking/parse/parsers/code/ast/languages/python.py function _node_text (line 11) | def _node_text(node, content_bytes: bytes) -> str: function _first_string_child (line 15) | def _first_string_child(body_node, content_bytes: bytes) -> str: function _extract_function (line 33) | def _extract_function(node, content_bytes: bytes) -> FunctionSig: function _extract_class (line 57) | def _extract_class(node, content_bytes: bytes) -> ClassSkeleton: function _extract_imports (line 88) | def _extract_imports(node, content_bytes: bytes) -> List[str]: class PythonExtractor (line 130) | class PythonExtractor(LanguageExtractor): method __init__ (line 131) | def __init__(self): method extract (line 138) | def extract(self, file_name: str, content: str) -> CodeSkeleton: FILE: openviking/parse/parsers/code/ast/languages/rust.py function _node_text (line 11) | def _node_text(node, content_bytes: bytes) -> str: function _preceding_doc (line 15) | def _preceding_doc(siblings: list, idx: int, content_bytes: bytes) -> str: function _extract_function (line 30) | def _extract_function(node, content_bytes: bytes, docstring: str = "") -... function _extract_struct_or_trait (line 53) | def _extract_struct_or_trait(node, content_bytes: bytes, docstring: str ... function _extract_impl (line 68) | def _extract_impl(node, content_bytes: bytes) -> ClassSkeleton: class RustExtractor (line 86) | class RustExtractor(LanguageExtractor): method __init__ (line 87) | def __init__(self): method extract (line 94) | def extract(self, file_name: str, content: str) -> CodeSkeleton: FILE: openviking/parse/parsers/code/ast/skeleton.py function _compact_params (line 10) | def _compact_params(params: str) -> str: class FunctionSig (line 16) | class FunctionSig: class ClassSkeleton (line 24) | class ClassSkeleton: class CodeSkeleton (line 32) | class CodeSkeleton: method to_text (line 40) | def to_text(self, verbose: bool = False) -> str: FILE: openviking/parse/parsers/code/code.py class CodeRepositoryParser (line 48) | class CodeRepositoryParser(BaseParser): method supported_extensions (line 64) | def supported_extensions(self) -> List[str]: method _detect_file_type (line 68) | def _detect_file_type(self, file_path: Path) -> str: method parse (line 88) | async def parse(self, source: Union[str, Path], instruction: str = "",... method parse_content (line 201) | async def parse_content( method _parse_repo_source (line 207) | def _parse_repo_source(self, source: str, **kwargs) -> Tuple[str, Opti... method _extract_ref_from_url (line 219) | def _extract_ref_from_url( method _parse_ref_from_path (line 235) | def _parse_ref_from_path(self, path: str) -> Tuple[Optional[str], Opti... method _looks_like_sha (line 254) | def _looks_like_sha(ref: str) -> bool: method _normalize_repo_url (line 258) | def _normalize_repo_url(self, url: str) -> str: method _get_repo_name (line 277) | def _get_repo_name(self, url: str) -> str: method _run_git (line 302) | async def _run_git(self, args: List[str], cwd: Optional[str] = None) -... method _has_commit (line 326) | async def _has_commit(self, repo_dir: str, commit: str) -> bool: method _is_github_url (line 334) | def _is_github_url(url: str) -> bool: method _github_zip_download (line 338) | async def _github_zip_download( method _git_clone (line 418) | async def _git_clone( method _extract_zip (line 484) | async def _extract_zip(self, zip_path: str, target_dir: str) -> str: method _upload_directory (line 546) | async def _upload_directory(self, local_dir: Path, viking_uri_base: st... FILE: openviking/parse/parsers/directory.py class DirectoryParser (line 40) | class DirectoryParser(BaseParser): method supported_extensions (line 53) | def supported_extensions(self) -> List[str]: method can_parse (line 58) | def can_parse(self, path: Union[str, Path]) -> bool: # type: ignore[o... method parse (line 66) | async def parse( method parse_content (line 261) | async def parse_content( method _parse_skipped (line 287) | def _parse_skipped(skipped: List[str]) -> List[Dict[str, str]]: method _assign_parser (line 312) | def _assign_parser( method _process_single_file (line 329) | async def _process_single_file( method _upload_file_directly (line 386) | async def _upload_file_directly( method _is_dir_entry (line 425) | def _is_dir_entry(entry: Dict[str, Any]) -> bool: method _merge_temp (line 430) | async def _merge_temp( method _recursive_move (line 456) | async def _recursive_move( FILE: openviking/parse/parsers/epub.py class EPubParser (line 24) | class EPubParser(BaseParser): method __init__ (line 34) | def __init__(self, config: Optional[ParserConfig] = None): method supported_extensions (line 42) | def supported_extensions(self) -> List[str]: method parse (line 45) | async def parse(self, source: Union[str, Path], instruction: str = "",... method parse_content (line 62) | async def parse_content( method _convert_to_markdown (line 71) | def _convert_to_markdown(self, path: Path) -> str: method _convert_with_ebooklib (line 85) | def _convert_with_ebooklib(self, path: Path, ebooklib, epub) -> str: method _get_metadata (line 107) | def _get_metadata(self, book, key: str) -> str: method _convert_manual (line 117) | def _convert_manual(self, path: Path) -> str: method _html_to_markdown (line 139) | def _html_to_markdown(self, html_content: str) -> str: FILE: openviking/parse/parsers/excel.py class ExcelParser (line 21) | class ExcelParser(BaseParser): method __init__ (line 31) | def __init__(self, config: Optional[ParserConfig] = None, max_rows_per... method supported_extensions (line 46) | def supported_extensions(self) -> List[str]: method parse (line 49) | async def parse(self, source: Union[str, Path], instruction: str = "",... method parse_content (line 72) | async def parse_content( method _convert_xls_to_markdown (line 81) | def _convert_xls_to_markdown(self, path: Path) -> str: method _build_xls_markdown (line 93) | def _build_xls_markdown(self, wb, path: Path, xlrd) -> str: method _format_xls_cell (line 136) | def _format_xls_cell(cell, wb, xlrd) -> str: method _convert_to_markdown (line 166) | def _convert_to_markdown(self, path: Path, openpyxl) -> str: method _convert_sheet (line 181) | def _convert_sheet(self, sheet, sheet_name: str) -> str: FILE: openviking/parse/parsers/html.py class URLType (line 35) | class URLType(Enum): class URLTypeDetector (line 47) | class URLTypeDetector: method detect (line 80) | async def detect(self, url: str, timeout: float = 10.0) -> Tuple[URLTy... method _is_code_repository_url (line 137) | def _is_code_repository_url(self, url: str) -> bool: class HTMLParser (line 179) | class HTMLParser(BaseParser): method __init__ (line 198) | def __init__( method _get_readabilipy (line 208) | def _get_readabilipy(self): method _get_markdownify (line 222) | def _get_markdownify(self): method supported_extensions (line 237) | def supported_extensions(self) -> List[str]: method parse (line 241) | async def parse(self, source: Union[str, Path], instruction: str = "",... method _parse_url (line 262) | async def _parse_url(self, url: str, start_time: float, **kwargs) -> P... method _parse_webpage (line 304) | async def _parse_webpage( method _extract_filename_from_url (line 353) | def _extract_filename_from_url(url: str) -> str: method _handle_download_link (line 370) | async def _handle_download_link( method _handle_code_repository (line 443) | async def _handle_code_repository( method _parse_local_file (line 470) | async def _parse_local_file(self, path: Path, start_time: float, **kwa... method _fetch_html (line 502) | async def _fetch_html(self, url: str) -> str: method _convert_to_raw_url (line 523) | def _convert_to_raw_url(self, url: str) -> str: method _save_downloaded_text (line 543) | async def _save_downloaded_text( method _download_file (line 594) | async def _download_file(self, url: str) -> str: method _html_to_markdown (line 632) | def _html_to_markdown(self, html: str, base_url: str = "") -> str: method _preprocess_html (line 655) | def _preprocess_html(self, html: str) -> str: method parse_content (line 674) | async def parse_content( method _sanitize_for_path (line 704) | def _sanitize_for_path(self, text: str, max_length: int = 50) -> str: FILE: openviking/parse/parsers/legacy_doc.py class LegacyDocParser (line 28) | class LegacyDocParser(BaseParser): method __init__ (line 37) | def __init__(self, config: Optional[ParserConfig] = None): method supported_extensions (line 44) | def supported_extensions(self) -> List[str]: method parse (line 47) | async def parse(self, source: Union[str, Path], instruction: str = "",... method parse_content (line 64) | async def parse_content( method _extract_text (line 75) | def _extract_text(self, path: Path) -> str: method _read_ole_stream (line 100) | def _read_ole_stream(ole, stream_name: str) -> bytes: method _extract_from_ole (line 108) | def _extract_from_ole(self, ole) -> str: method _simple_text_extract (line 161) | def _simple_text_extract(self, word_doc: bytes, ccp_text: int) -> str: method _extract_via_clx (line 188) | def _extract_via_clx( method _decode_cp1252 (line 299) | def _decode_cp1252(data: bytes) -> str: method _clean_word_text (line 304) | def _clean_word_text(text: str) -> str: method _fallback_extract (line 311) | def _fallback_extract(self, path: Path) -> str: FILE: openviking/parse/parsers/markdown.py class MarkdownParser (line 37) | class MarkdownParser(BaseParser): method __init__ (line 56) | def __init__( method supported_extensions (line 87) | def supported_extensions(self) -> List[str]: method parse (line 91) | async def parse(self, source: Union[str, Path], instruction: str = "",... method parse_content (line 119) | async def parse_content( method _extract_frontmatter (line 223) | def _extract_frontmatter(self, content: str) -> Tuple[str, Optional[Di... method _find_headings (line 250) | def _find_headings(self, content: str) -> List[Tuple[int, int, str, in... method _smart_split_content (line 295) | def _smart_split_content(self, content: str, max_size: int) -> List[str]: method _sanitize_for_path (line 337) | def _sanitize_for_path(self, text: str, max_length: int = 50) -> str: method _parse_and_create_structure (line 354) | async def _parse_and_create_structure( method _process_sections_with_merge (line 441) | async def _process_sections_with_merge( method _can_merge (line 488) | def _can_merge(self, pending: List, tokens: int, max_size: int, has_ch... method _try_add_to_pending (line 492) | async def _try_add_to_pending( method _flush_pending (line 503) | async def _flush_pending(self, viking_fs, parent_dir: str, pending: Li... method _save_section (line 509) | async def _save_section( method _process_children (line 540) | async def _process_children( method _split_content (line 569) | async def _split_content( method _generate_merged_filename (line 578) | def _generate_merged_filename(self, sections: List[Tuple[str, str, int... method _save_merged (line 611) | async def _save_merged( method _get_section_info (line 620) | def _get_section_info( method _estimate_token_count (line 684) | def _estimate_token_count(self, content: str) -> int: FILE: openviking/parse/parsers/media/audio.py class AudioParser (line 45) | class AudioParser(BaseParser): method __init__ (line 50) | def __init__(self, config: Optional[AudioConfig] = None, **kwargs): method supported_extensions (line 61) | def supported_extensions(self) -> List[str]: method parse (line 65) | async def parse(self, source: Union[str, Path], instruction: str = "",... method _asr_transcribe (line 170) | async def _asr_transcribe(self, audio_bytes: bytes, model: Optional[st... method _asr_transcribe_with_timestamps (line 231) | async def _asr_transcribe_with_timestamps( method _generate_semantic_info (line 325) | async def _generate_semantic_info( method parse_content (line 387) | async def parse_content( FILE: openviking/parse/parsers/media/image.py class ImageParser (line 40) | class ImageParser(BaseParser): method __init__ (line 60) | def __init__(self, config: Optional[ImageConfig] = None, **kwargs): method supported_extensions (line 71) | def supported_extensions(self) -> List[str]: method parse (line 75) | async def parse(self, source: Union[str, Path], instruction: str = "",... method _vlm_describe (line 154) | async def _vlm_describe(self, image_bytes: bytes, model: Optional[str]... method _ocr_extract (line 192) | async def _ocr_extract(self, image_bytes: bytes, lang: str) -> Optiona... method _generate_semantic_info (line 208) | async def _generate_semantic_info( method parse_content (line 269) | async def parse_content( FILE: openviking/parse/parsers/media/utils.py function _is_svg (line 23) | def _is_svg(data: bytes) -> bool: function get_media_type (line 55) | def get_media_type(source_path: Optional[str], source_format: Optional[s... function get_media_base_uri (line 82) | def get_media_base_uri(media_type: str) -> str: function generate_image_summary (line 100) | async def generate_image_summary( function generate_audio_summary (line 173) | async def generate_audio_summary( function generate_video_summary (line 197) | async def generate_video_summary( FILE: openviking/parse/parsers/media/video.py class VideoParser (line 36) | class VideoParser(BaseParser): method __init__ (line 41) | def __init__(self, config: Optional[VideoConfig] = None, **kwargs): method supported_extensions (line 52) | def supported_extensions(self) -> List[str]: method parse (line 56) | async def parse(self, source: Union[str, Path], instruction: str = "",... method _generate_video_description (line 163) | async def _generate_video_description(self, file_path: Path, config: V... method _generate_semantic_info (line 179) | async def _generate_semantic_info( method parse_content (line 239) | async def parse_content( FILE: openviking/parse/parsers/pdf.py class PDFParser (line 35) | class PDFParser(BaseParser): method __init__ (line 64) | def __init__(self, config: Optional[PDFConfig] = None): method _get_markdown_parser (line 77) | def _get_markdown_parser(self): method supported_extensions (line 86) | def supported_extensions(self) -> List[str]: method parse (line 90) | async def parse(self, source: Union[str, Path], instruction: str = "",... method _convert_to_markdown (line 155) | async def _convert_to_markdown(self, pdf_path: Path) -> tuple[str, Dic... method _convert_local (line 193) | async def _convert_local( method _extract_bookmarks (line 338) | def _extract_bookmarks(self, pdf) -> List[Dict[str, Any]]: method _detect_headings_by_font (line 395) | def _detect_headings_by_font(self, pdf) -> List[Dict[str, Any]]: method _extract_image_from_page (line 512) | def _extract_image_from_page(self, page, img_info: dict) -> Optional[b... method _convert_mineru (line 543) | async def _convert_mineru(self, pdf_path: Path) -> tuple[str, Dict[str... method _format_table_markdown (line 615) | def _format_table_markdown(self, table: List[List[Optional[str]]]) -> ... method parse_content (line 662) | async def parse_content( FILE: openviking/parse/parsers/powerpoint.py class PowerPointParser (line 21) | class PowerPointParser(BaseParser): method __init__ (line 31) | def __init__(self, config: Optional[ParserConfig] = None, extract_note... method supported_extensions (line 46) | def supported_extensions(self) -> List[str]: method parse (line 49) | async def parse(self, source: Union[str, Path], instruction: str = "",... method parse_content (line 68) | async def parse_content( method _convert_to_markdown (line 77) | def _convert_to_markdown(self, path: Path, pptx) -> str: method _extract_slide_title (line 104) | def _extract_slide_title(self, slide) -> str: method _extract_slide_content (line 115) | def _extract_slide_content(self, slide) -> str: method _convert_table (line 137) | def _convert_table(self, table) -> str: FILE: openviking/parse/parsers/text.py class TextParser (line 17) | class TextParser(BaseParser): method __init__ (line 20) | def __init__(self, config: Optional[ParserConfig] = None): method supported_extensions (line 27) | def supported_extensions(self) -> List[str]: method parse (line 30) | async def parse(self, source: Union[str, Path], instruction: str = "",... method parse_content (line 34) | async def parse_content( FILE: openviking/parse/parsers/upload_utils.py function is_text_file (line 47) | def is_text_file(file_path: Union[str, Path]) -> bool: function detect_and_convert_encoding (line 61) | def detect_and_convert_encoding(content: bytes, file_path: Union[str, Pa... function should_skip_file (line 111) | def should_skip_file( function should_skip_directory (line 143) | def should_skip_directory( function _sanitize_rel_path (line 156) | def _sanitize_rel_path(rel_path: str) -> str: function upload_text_files (line 177) | async def upload_text_files( function upload_directory (line 205) | async def upload_directory( FILE: openviking/parse/parsers/word.py class WordParser (line 21) | class WordParser(BaseParser): method __init__ (line 31) | def __init__(self, config: Optional[ParserConfig] = None): method supported_extensions (line 39) | def supported_extensions(self) -> List[str]: method parse (line 42) | async def parse(self, source: Union[str, Path], instruction: str = "",... method parse_content (line 61) | async def parse_content( method _convert_to_markdown (line 70) | def _convert_to_markdown(self, path: Path, docx) -> str: method _extract_heading_level (line 110) | def _extract_heading_level(self, style_name: str) -> int: method _convert_formatted_text (line 122) | def _convert_formatted_text(self, paragraph) -> str: method _convert_table (line 138) | def _convert_table(self, table) -> str: FILE: openviking/parse/parsers/zip_parser.py class ZipParser (line 23) | class ZipParser(BaseParser): method __init__ (line 35) | def __init__(self, config: Optional[ParserConfig] = None): method supported_extensions (line 43) | def supported_extensions(self) -> List[str]: method parse (line 46) | async def parse(self, source: Union[str, Path], instruction: str = "",... method parse_content (line 67) | async def parse_content( method _convert_zip_to_markdown (line 76) | def _convert_zip_to_markdown(self, path: Path) -> str: method _process_zip_contents (line 94) | def _process_zip_contents(self, zf: zipfile.ZipFile, path: Path) -> str: method _group_files_by_extension (line 163) | def _group_files_by_extension(self, filenames: List[str]) -> dict: method _format_size (line 175) | def _format_size(self, size: int) -> str: method _format_datetime (line 183) | def _format_datetime(self, dt_tuple) -> str: method _generate_tree_view (line 191) | def _generate_tree_view(self, filenames: List[str]) -> str: FILE: openviking/parse/registry.py class ParserRegistry (line 39) | class ParserRegistry: method __init__ (line 46) | def __init__(self, register_optional: bool = True): method register (line 80) | def register(self, name: str, parser: BaseParser) -> None: method register_custom (line 94) | def register_custom( method register_callback (line 137) | def register_callback( method unregister (line 176) | def unregister(self, name: str) -> None: method get_parser (line 185) | def get_parser(self, name: str) -> Optional[BaseParser]: method get_parser_for_file (line 189) | def get_parser_for_file(self, path: Union[str, Path]) -> Optional[Base... method parse (line 208) | async def parse(self, source: Union[str, Path], **kwargs) -> ParseResult: method list_parsers (line 262) | def list_parsers(self) -> List[str]: method list_supported_extensions (line 266) | def list_supported_extensions(self) -> List[str]: function get_registry (line 275) | def get_registry() -> ParserRegistry: function parse (line 283) | async def parse(source: Union[str, Path], **kwargs) -> ParseResult: FILE: openviking/parse/resource_detector/detect_info.py class VisitType (line 14) | class VisitType(Enum): class SizeType (line 25) | class SizeType(Enum): class RecursiveType (line 34) | class RecursiveType(Enum): class DetectInfo (line 44) | class DetectInfo: FILE: openviking/parse/tree_builder.py class TreeBuilder (line 37) | class TreeBuilder: method __init__ (line 58) | def __init__(self): method _get_base_uri (line 62) | def _get_base_uri( method _resolve_unique_uri (line 78) | async def _resolve_unique_uri(self, uri: str, max_attempts: int = 100)... method finalize_from_temp (line 107) | async def finalize_from_temp( FILE: openviking/parse/vlm.py class VLMResult (line 18) | class VLMResult: method __post_init__ (line 26) | def __post_init__(self): class DocumentAnalysisResult (line 32) | class DocumentAnalysisResult: class VLMProcessor (line 41) | class VLMProcessor: method __init__ (line 44) | def __init__( method _get_vlm (line 53) | def _get_vlm(self): method understand_image (line 59) | async def understand_image( method understand_table (line 97) | async def understand_table( method _understand_table_from_data (line 109) | def _understand_table_from_data( method _understand_table_from_image (line 152) | async def _understand_table_from_image( method understand_page (line 190) | async def understand_page( method batch_understand_pages (line 233) | async def batch_understand_pages( method _batch_understand_pages_single_call (line 266) | async def _batch_understand_pages_single_call( method batch_analyze_document (line 313) | async def batch_analyze_document( method _batch_analyze_with_vision (line 340) | async def _batch_analyze_with_vision( method _batch_analyze_text_only (line 433) | async def _batch_analyze_text_only( method _parse_batch_result (line 516) | def _parse_batch_result( method filter_meaningful_images (line 583) | async def filter_meaningful_images( method _filter_image_batch (line 603) | async def _filter_image_batch( method _filter_single_image (line 671) | async def _filter_single_image( FILE: openviking/prompts/manager.py class PromptMetadata (line 14) | class PromptMetadata(BaseModel): class PromptVariable (line 25) | class PromptVariable(BaseModel): class PromptTemplate (line 36) | class PromptTemplate(BaseModel): class PromptManager (line 46) | class PromptManager: method __init__ (line 57) | def __init__( method _get_bundled_templates_dir (line 76) | def _get_bundled_templates_dir() -> Path: method load_template (line 80) | def load_template(self, prompt_id: str) -> PromptTemplate: method _resolve_template_path (line 112) | def _resolve_template_path(self, prompt_id: str) -> Path: method render (line 125) | def render( method _validate_variables (line 170) | def _validate_variables(self, template: PromptTemplate, variables: Dic... method get_llm_config (line 197) | def get_llm_config(self, prompt_id: str) -> Dict[str, Any]: method list_prompts (line 202) | def list_prompts(self, category: Optional[str] = None) -> List[str]: method clear_cache (line 224) | def clear_cache(self) -> None: function get_manager (line 234) | def get_manager() -> PromptManager: function render_prompt (line 243) | def render_prompt(prompt_id: str, variables: Optional[Dict[str, Any]] = ... function get_llm_config (line 257) | def get_llm_config(prompt_id: str) -> Dict[str, Any]: FILE: openviking/pyagfs/binding_client.py function _find_library (line 13) | def _find_library() -> str: class BindingLib (line 47) | class BindingLib: method __new__ (line 52) | def __new__(cls): method _load_library (line 58) | def _load_library(self): method _setup_functions (line 63) | def _setup_functions(self): class AGFSBindingClient (line 202) | class AGFSBindingClient: method __init__ (line 212) | def __init__(self, config_path: Optional[str] = None): method __del__ (line 224) | def __del__(self): method _parse_response (line 231) | def _parse_response(self, result: bytes) -> Dict[str, Any]: method health (line 245) | def health(self) -> Dict[str, Any]: method get_capabilities (line 250) | def get_capabilities(self) -> Dict[str, Any]: method ls (line 255) | def ls(self, path: str = "/") -> List[Dict[str, Any]]: method read (line 261) | def read(self, path: str, offset: int = 0, size: int = -1, stream: boo... method cat (line 264) | def cat(self, path: str, offset: int = 0, size: int = -1, stream: bool... method write (line 293) | def write( method create (line 309) | def create(self, path: str) -> Dict[str, Any]: method mkdir (line 314) | def mkdir(self, path: str, mode: str = "755") -> Dict[str, Any]: method rm (line 322) | def rm(self, path: str, recursive: bool = False) -> Dict[str, Any]: method stat (line 327) | def stat(self, path: str) -> Dict[str, Any]: method mv (line 332) | def mv(self, old_path: str, new_path: str) -> Dict[str, Any]: method chmod (line 339) | def chmod(self, path: str, mode: int) -> Dict[str, Any]: method touch (line 346) | def touch(self, path: str) -> Dict[str, Any]: method mounts (line 351) | def mounts(self) -> List[Dict[str, Any]]: method mount (line 357) | def mount(self, fstype: str, path: str, config: Dict[str, Any]) -> Dic... method unmount (line 368) | def unmount(self, path: str) -> Dict[str, Any]: method load_plugin (line 373) | def load_plugin(self, library_path: str) -> Dict[str, Any]: method unload_plugin (line 378) | def unload_plugin(self, library_path: str) -> Dict[str, Any]: method list_plugins (line 383) | def list_plugins(self) -> List[str]: method get_plugins_info (line 389) | def get_plugins_info(self) -> List[dict]: method grep (line 393) | def grep( method digest (line 429) | def digest(self, path: str, algorithm: str = "xxh3") -> Dict[str, Any]: method open_handle (line 433) | def open_handle( method list_handles (line 446) | def list_handles(self) -> List[Dict[str, Any]]: method get_handle_info (line 452) | def get_handle_info(self, handle_id: int) -> Dict[str, Any]: method close_handle (line 457) | def close_handle(self, handle_id: int) -> Dict[str, Any]: method handle_read (line 462) | def handle_read(self, handle_id: int, size: int = -1, offset: Optional... method handle_write (line 483) | def handle_write(self, handle_id: int, data: bytes, offset: Optional[i... method handle_seek (line 498) | def handle_seek(self, handle_id: int, offset: int, whence: int = 0) ->... method handle_sync (line 506) | def handle_sync(self, handle_id: int) -> Dict[str, Any]: method handle_stat (line 511) | def handle_stat(self, handle_id: int) -> Dict[str, Any]: method renew_handle (line 516) | def renew_handle(self, handle_id: int, lease: int = 60) -> Dict[str, A... class FileHandle (line 521) | class FileHandle: method __init__ (line 539) | def __init__(self, client: AGFSBindingClient, handle_id: int, path: st... method handle_id (line 547) | def handle_id(self) -> int: method path (line 552) | def path(self) -> str: method flags (line 557) | def flags(self) -> int: method closed (line 562) | def closed(self) -> bool: method read (line 566) | def read(self, size: int = -1) -> bytes: method read_at (line 572) | def read_at(self, size: int, offset: int) -> bytes: method write (line 578) | def write(self, data: bytes) -> int: method write_at (line 584) | def write_at(self, data: bytes, offset: int) -> int: method seek (line 590) | def seek(self, offset: int, whence: int = 0) -> int: method tell (line 596) | def tell(self) -> int: method sync (line 600) | def sync(self) -> None: method stat (line 606) | def stat(self) -> Dict[str, Any]: method info (line 612) | def info(self) -> Dict[str, Any]: method renew (line 618) | def renew(self, lease: int = 60) -> Dict[str, Any]: method close (line 624) | def close(self) -> None: method __enter__ (line 630) | def __enter__(self) -> "FileHandle": method __exit__ (line 633) | def __exit__(self, exc_type, exc_val, exc_tb) -> None: method __repr__ (line 636) | def __repr__(self) -> str: FILE: openviking/pyagfs/client.py class AGFSClient (line 12) | class AGFSClient: method __init__ (line 15) | def __init__(self, api_base_url="http://localhost:8080", timeout=10): method _handle_request_error (line 33) | def _handle_request_error(self, e: Exception, operation: str = "reques... method health (line 88) | def health(self) -> Dict[str, Any]: method get_capabilities (line 94) | def get_capabilities(self) -> Dict[str, Any]: method ls (line 117) | def ls(self, path: str = "/") -> List[Dict[str, Any]]: method read (line 130) | def read(self, path: str, offset: int = 0, size: int = -1, stream: boo... method cat (line 133) | def cat(self, path: str, offset: int = 0, size: int = -1, stream: bool... method write (line 175) | def write( method create (line 271) | def create(self, path: str) -> Dict[str, Any]: method mkdir (line 282) | def mkdir(self, path: str, mode: str = "755") -> Dict[str, Any]: method rm (line 295) | def rm(self, path: str, recursive: bool = False, force: bool = True) -... method stat (line 321) | def stat(self, path: str) -> Dict[str, Any]: method mv (line 332) | def mv(self, old_path: str, new_path: str) -> Dict[str, Any]: method chmod (line 346) | def chmod(self, path: str, mode: int) -> Dict[str, Any]: method touch (line 360) | def touch(self, path: str) -> Dict[str, Any]: method mounts (line 371) | def mounts(self) -> List[Dict[str, Any]]: method mount (line 381) | def mount(self, fstype: str, path: str, config: Dict[str, Any]) -> Dic... method unmount (line 403) | def unmount(self, path: str) -> Dict[str, Any]: method load_plugin (line 414) | def load_plugin(self, library_path: str) -> Dict[str, Any]: method unload_plugin (line 434) | def unload_plugin(self, library_path: str) -> Dict[str, Any]: method list_plugins (line 454) | def list_plugins(self) -> List[str]: method get_plugins_info (line 482) | def get_plugins_info(self) -> List[dict]: method grep (line 501) | def grep( method _parse_ndjson_stream (line 563) | def _parse_ndjson_stream(self, response): method digest (line 575) | def digest(self, path: str, algorithm: str = "xxh3") -> Dict[str, Any]: method open_handle (line 609) | def open_handle( method list_handles (line 641) | def list_handles(self) -> List[Dict[str, Any]]: method get_handle_info (line 655) | def get_handle_info(self, handle_id: int) -> Dict[str, Any]: method close_handle (line 673) | def close_handle(self, handle_id: int) -> Dict[str, Any]: method handle_read (line 691) | def handle_read(self, handle_id: int, size: int = -1, offset: Optional... method handle_write (line 714) | def handle_write(self, handle_id: int, data: bytes, offset: Optional[i... method handle_seek (line 741) | def handle_seek(self, handle_id: int, offset: int, whence: int = 0) ->... method handle_sync (line 764) | def handle_sync(self, handle_id: int) -> Dict[str, Any]: method handle_stat (line 782) | def handle_stat(self, handle_id: int) -> Dict[str, Any]: method renew_handle (line 800) | def renew_handle(self, handle_id: int, lease: int = 60) -> Dict[str, A... class FileHandle (line 822) | class FileHandle: method __init__ (line 848) | def __init__(self, client: AGFSClient, handle_id: int, path: str, flag... method handle_id (line 856) | def handle_id(self) -> int: method path (line 861) | def path(self) -> str: method flags (line 866) | def flags(self) -> int: method closed (line 871) | def closed(self) -> bool: method read (line 875) | def read(self, size: int = -1) -> bytes: method read_at (line 888) | def read_at(self, size: int, offset: int) -> bytes: method write (line 902) | def write(self, data: bytes) -> int: method write_at (line 915) | def write_at(self, data: bytes, offset: int) -> int: method seek (line 929) | def seek(self, offset: int, whence: int = 0) -> int: method tell (line 943) | def tell(self) -> int: method sync (line 951) | def sync(self) -> None: method stat (line 957) | def stat(self) -> Dict[str, Any]: method info (line 967) | def info(self) -> Dict[str, Any]: method renew (line 977) | def renew(self, lease: int = 60) -> Dict[str, Any]: method close (line 990) | def close(self) -> None: method __enter__ (line 996) | def __enter__(self) -> "FileHandle": method __exit__ (line 999) | def __exit__(self, exc_type, exc_val, exc_tb) -> None: method __repr__ (line 1002) | def __repr__(self) -> str: FILE: openviking/pyagfs/exceptions.py class AGFSClientError (line 4) | class AGFSClientError(Exception): class AGFSConnectionError (line 10) | class AGFSConnectionError(AGFSClientError): class AGFSTimeoutError (line 16) | class AGFSTimeoutError(AGFSClientError): class AGFSHTTPError (line 22) | class AGFSHTTPError(AGFSClientError): method __init__ (line 25) | def __init__(self, message, status_code=None): class AGFSNotSupportedError (line 30) | class AGFSNotSupportedError(AGFSClientError): FILE: openviking/pyagfs/helpers.py function cp (line 16) | def cp( function upload (line 48) | def upload( function download (line 86) | def download( function _copy_file (line 125) | def _copy_file(client: "AGFSClient", src: str, dst: str, stream: bool) -... function _copy_directory (line 146) | def _copy_directory(client: "AGFSClient", src: str, dst: str, stream: bo... function _upload_file (line 171) | def _upload_file(client: "AGFSClient", local_file: Path, remote_path: st... function _upload_directory (line 195) | def _upload_directory( function _download_file (line 218) | def _download_file(client: "AGFSClient", remote_path: str, local_file: P... function _download_directory (line 236) | def _download_directory( function _ensure_remote_parent_dir (line 259) | def _ensure_remote_parent_dir(client: "AGFSClient", path: str) -> None: function _ensure_remote_dir_recursive (line 267) | def _ensure_remote_dir_recursive(client: "AGFSClient", path: str) -> None: FILE: openviking/resource/watch_manager.py class WatchTask (line 23) | class WatchTask(BaseModel): class Config (line 49) | class Config: method to_dict (line 53) | def to_dict(self) -> Dict[str, Any]: method from_dict (line 81) | def from_dict(cls, data: Dict[str, Any]) -> "WatchTask": method calculate_next_execution_time (line 93) | def calculate_next_execution_time(self) -> datetime: class PermissionDeniedError (line 99) | class PermissionDeniedError(Exception): class WatchManager (line 105) | class WatchManager: method __init__ (line 117) | def __init__(self, viking_fs: Optional[Any] = None): method initialize (line 129) | async def initialize(self) -> None: method _load_tasks (line 142) | async def _load_tasks(self) -> None: method _save_tasks (line 218) | async def _save_tasks(self) -> None: method _check_permission (line 268) | def _check_permission( method _check_uri_conflict (line 305) | def _check_uri_conflict( method create_task (line 329) | async def create_task( method update_task (line 406) | async def update_task( method delete_task (line 519) | async def delete_task( method get_task (line 561) | async def get_task( method get_all_tasks (line 591) | async def get_all_tasks( method get_task_by_uri (line 621) | async def get_task_by_uri( method update_execution_time (line 655) | async def update_execution_time(self, task_id: str) -> None: method get_due_tasks (line 677) | async def get_due_tasks(self, account_id: Optional[str] = None) -> Lis... method get_next_execution_time (line 702) | async def get_next_execution_time(self, account_id: Optional[str] = No... method clear_all_tasks (line 715) | async def clear_all_tasks(self) -> int: FILE: openviking/resource/watch_scheduler.py class WatchScheduler (line 21) | class WatchScheduler: method __init__ (line 32) | def __init__( method watch_manager (line 63) | def watch_manager(self) -> Optional[WatchManager]: method start (line 67) | async def start(self) -> None: method stop (line 86) | async def stop(self) -> None: method schedule_task (line 113) | async def schedule_task(self, task_id: str) -> bool: method _run_scheduler (line 142) | async def _run_scheduler(self) -> None: method _check_and_execute_due_tasks (line 171) | async def _check_and_execute_due_tasks(self) -> None: method _execute_task (line 203) | async def _execute_task(self, task) -> None: method _try_mark_executing (line 312) | async def _try_mark_executing(self, task_id: str) -> bool: method _discard_executing (line 319) | async def _discard_executing(self, task_id: str) -> None: method _check_resource_exists (line 323) | def _check_resource_exists(self, path: str) -> bool: method is_running (line 344) | def is_running(self) -> bool: method executing_tasks (line 349) | def executing_tasks(self) -> Set[str]: FILE: openviking/retrieve/hierarchical_retriever.py class RetrieverMode (line 38) | class RetrieverMode(str): class HierarchicalRetriever (line 43) | class HierarchicalRetriever: method __init__ (line 54) | def __init__( method retrieve (line 86) | async def retrieve( method _global_vector_search (line 223) | async def _global_vector_search( method _rerank_scores (line 248) | def _rerank_scores( method _merge_starting_points (line 280) | def _merge_starting_points( method _prepare_initial_candidates (line 321) | def _prepare_initial_candidates( method _recursive_search (line 344) | async def _recursive_search( method _convert_to_matched_contexts (line 490) | async def _convert_to_matched_contexts( method _append_level_suffix (line 561) | def _append_level_suffix(cls, uri: str, level: int) -> str: method _get_root_uris_for_type (line 574) | def _get_root_uris_for_type( FILE: openviking/retrieve/intent_analyzer.py class IntentAnalyzer (line 21) | class IntentAnalyzer: method __init__ (line 34) | def __init__(self, max_recent_messages: int = 5): method analyze (line 38) | async def analyze( method _build_context_prompt (line 102) | def _build_context_prompt( method _truncate_text (line 136) | def _truncate_text(text: str, max_chars: int) -> str: method _summarize_context (line 142) | def _summarize_context( FILE: openviking/retrieve/memory_lifecycle.py function hotness_score (line 19) | def hotness_score( FILE: openviking/retrieve/retrieval_stats.py class RetrievalStats (line 16) | class RetrievalStats: method avg_results_per_query (line 36) | def avg_results_per_query(self) -> float: method zero_result_rate (line 42) | def zero_result_rate(self) -> float: method avg_score (line 48) | def avg_score(self) -> float: method avg_latency_ms (line 54) | def avg_latency_ms(self) -> float: method to_dict (line 59) | def to_dict(self) -> dict: class RetrievalStatsCollector (line 78) | class RetrievalStatsCollector: method __init__ (line 99) | def __init__(self) -> None: method record_query (line 103) | def record_query( method snapshot (line 140) | def snapshot(self) -> RetrievalStats: method reset (line 147) | def reset(self) -> None: function get_stats_collector (line 158) | def get_stats_collector() -> RetrievalStatsCollector: FILE: openviking/server/api_keys.py class UserKeyEntry (line 28) | class UserKeyEntry: class AccountInfo (line 37) | class AccountInfo: class APIKeyManager (line 44) | class APIKeyManager: method __init__ (line 54) | def __init__(self, root_key: str, agfs_client: AGFSClient): method load (line 66) | async def load(self) -> None: method resolve (line 100) | def resolve(self, api_key: str) -> ResolvedIdentity: method create_account (line 118) | async def create_account(self, account_id: str, admin_user_id: str) ->... method delete_account (line 143) | async def delete_account(self, account_id: str) -> None: method register_user (line 158) | async def register_user(self, account_id: str, user_id: str, role: str... method remove_user (line 177) | async def remove_user(self, account_id: str, user_id: str) -> None: method regenerate_key (line 191) | async def regenerate_key(self, account_id: str, user_id: str) -> str: method set_role (line 213) | async def set_role(self, account_id: str, user_id: str, role: str) -> ... method get_accounts (line 233) | def get_accounts(self) -> list: method get_users (line 246) | def get_users(self, account_id: str) -> list: method _read_json (line 264) | def _read_json(self, path: str) -> Optional[dict]: method _write_json (line 274) | def _write_json(self, path: str, data: dict) -> None: method _ensure_parent_dirs (line 282) | def _ensure_parent_dirs(self, path: str) -> None: method _save_accounts_json (line 292) | def _save_accounts_json(self) -> None: method _save_users_json (line 301) | def _save_users_json(self, account_id: str) -> None: FILE: openviking/server/app.py function create_app (line 40) | def create_app( FILE: openviking/server/auth.py function _root_request_requires_explicit_tenant (line 28) | def _root_request_requires_explicit_tenant(path: str) -> bool: function resolve_identity (line 42) | async def resolve_identity( function get_request_context (line 83) | async def get_request_context( function require_role (line 113) | def require_role(*allowed_roles: Role): FILE: openviking/server/bootstrap.py class BotProcess (line 22) | class BotProcess: function _get_version (line 27) | def _get_version() -> str: function main (line 36) | def main(): function _start_vikingbot_gateway (line 173) | def _start_vikingbot_gateway(enable_logging: bool, log_dir: str) -> Opti... function _stop_vikingbot_gateway (line 264) | def _stop_vikingbot_gateway(bot_process: BotProcess) -> None: FILE: openviking/server/config.py class ServerConfig (line 25) | class ServerConfig: function load_server_config (line 37) | def load_server_config(config_path: Optional[str] = None) -> ServerConfig: function _is_localhost (line 85) | def _is_localhost(host: str) -> bool: function validate_server_config (line 90) | def validate_server_config(config: ServerConfig) -> None: FILE: openviking/server/dependencies.py function get_service (line 12) | def get_service() -> OpenVikingService: function set_service (line 26) | def set_service(service: OpenVikingService) -> None: FILE: openviking/server/identity.py class Role (line 12) | class Role(str, Enum): class ResolvedIdentity (line 19) | class ResolvedIdentity: class RequestContext (line 29) | class RequestContext: method account_id (line 36) | def account_id(self) -> str: FILE: openviking/server/models.py class ErrorInfo (line 10) | class ErrorInfo(BaseModel): class Response (line 18) | class Response(BaseModel): FILE: openviking/server/routers/admin.py class CreateAccountRequest (line 22) | class CreateAccountRequest(BaseModel): class RegisterUserRequest (line 27) | class RegisterUserRequest(BaseModel): class SetRoleRequest (line 32) | class SetRoleRequest(BaseModel): function _get_api_key_manager (line 36) | def _get_api_key_manager(request: Request): function _check_account_access (line 44) | def _check_account_access(ctx: RequestContext, account_id: str) -> None: function create_account (line 54) | async def create_account( function list_accounts (line 80) | async def list_accounts( function delete_account (line 91) | async def delete_account( function register_user (line 137) | async def register_user( function list_users (line 164) | async def list_users( function remove_user (line 177) | async def remove_user( function set_user_role (line 191) | async def set_user_role( function regenerate_key (line 212) | async def regenerate_key( FILE: openviking/server/routers/bot.py function set_bot_api_url (line 24) | def set_bot_api_url(url: str) -> None: function get_bot_url (line 30) | def get_bot_url() -> str: function verify_auth (line 40) | async def verify_auth(request: Request) -> Optional[str]: function health_check (line 56) | async def health_check(request: Request): function chat (line 89) | async def chat(request: Request): function chat_stream (line 143) | async def chat_stream(request: Request): FILE: openviking/server/routers/content.py class ReindexRequest (line 23) | class ReindexRequest(BaseModel): function read (line 35) | async def read( function abstract (line 48) | async def abstract( function overview (line 59) | async def overview( function download (line 70) | async def download( function reindex (line 95) | async def reindex( function _do_reindex (line 161) | async def _do_reindex( function _background_reindex_tracked (line 180) | async def _background_reindex_tracked( FILE: openviking/server/routers/debug.py function debug_health (line 25) | async def debug_health( function debug_vector_scroll (line 35) | async def debug_vector_scroll( function debug_vector_count (line 61) | async def debug_vector_count( FILE: openviking/server/routers/filesystem.py function ls (line 21) | async def ls( function tree (line 49) | async def tree( function stat (line 75) | async def stat( class MkdirRequest (line 91) | class MkdirRequest(BaseModel): function mkdir (line 98) | async def mkdir( function rm (line 109) | async def rm( class MvRequest (line 120) | class MvRequest(BaseModel): function mv (line 128) | async def mv( FILE: openviking/server/routers/observer.py function _component_to_dict (line 24) | def _component_to_dict(component: ComponentStatus) -> dict: function _system_to_dict (line 34) | def _system_to_dict(status: SystemStatus) -> dict: function observer_queue (line 46) | async def observer_queue( function observer_vikingdb (line 56) | async def observer_vikingdb( function observer_vlm (line 66) | async def observer_vlm( function observer_lock (line 76) | async def observer_lock( function observer_retrieval (line 86) | async def observer_retrieval( function observer_system (line 96) | async def observer_system( FILE: openviking/server/routers/pack.py class ExportRequest (line 18) | class ExportRequest(BaseModel): class ImportRequest (line 25) | class ImportRequest(BaseModel): function export_ovpack (line 36) | async def export_ovpack( function import_ovpack (line 47) | async def import_ovpack( FILE: openviking/server/routers/relations.py class LinkRequest (line 18) | class LinkRequest(BaseModel): class UnlinkRequest (line 26) | class UnlinkRequest(BaseModel): function relations (line 34) | async def relations( function link (line 45) | async def link( function unlink (line 56) | async def unlink( FILE: openviking/server/routers/resources.py class AddResourceRequest (line 25) | class AddResourceRequest(BaseModel): method check_path_or_temp_path (line 78) | def check_path_or_temp_path(self): class AddSkillRequest (line 84) | class AddSkillRequest(BaseModel): function _cleanup_temp_files (line 94) | def _cleanup_temp_files(temp_dir: Path, max_age_hours: int = 1): function temp_upload (line 110) | async def temp_upload( function add_resource (line 147) | async def add_resource( function add_skill (line 196) | async def add_skill( FILE: openviking/server/routers/search.py class FindRequest (line 20) | class FindRequest(BaseModel): class SearchRequest (line 32) | class SearchRequest(BaseModel): class GrepRequest (line 45) | class GrepRequest(BaseModel): class GlobRequest (line 54) | class GlobRequest(BaseModel): function find (line 63) | async def find( function search (line 93) | async def search( function grep (line 132) | async def grep( function glob (line 149) | async def glob( FILE: openviking/server/routers/sessions.py class TextPartRequest (line 26) | class TextPartRequest(BaseModel): class ContextPartRequest (line 33) | class ContextPartRequest(BaseModel): class ToolPartRequest (line 42) | class ToolPartRequest(BaseModel): class AddMessageRequest (line 58) | class AddMessageRequest(BaseModel): method validate_content_or_parts (line 73) | def validate_content_or_parts(self) -> "AddMessageRequest": class UsedRequest (line 79) | class UsedRequest(BaseModel): class CommitSessionRequest (line 86) | class CommitSessionRequest(BaseModel): function _to_jsonable (line 92) | def _to_jsonable(value: Any) -> Any: function create_session (line 105) | async def create_session( function list_sessions (line 123) | async def list_sessions( function get_session (line 133) | async def get_session( function delete_session (line 151) | async def delete_session( function commit_session (line 162) | async def commit_session( function _background_commit_tracked (line 231) | async def _background_commit_tracked( function extract_session (line 259) | async def extract_session( function add_message (line 270) | async def add_message( function record_used (line 309) | async def record_used( FILE: openviking/server/routers/system.py function health_check (line 24) | async def health_check(request: Request): function readiness_check (line 64) | async def readiness_check(request: Request): function system_status (line 111) | async def system_status( class WaitRequest (line 125) | class WaitRequest(BaseModel): function wait_processed (line 132) | async def wait_processed( FILE: openviking/server/routers/tasks.py function get_task (line 21) | async def get_task(task_id: str): function list_tasks (line 31) | async def list_tasks( FILE: openviking/server/telemetry.py function resolve_selection (line 17) | def resolve_selection(telemetry: TelemetryRequest) -> TelemetrySelection: function run_operation (line 22) | async def run_operation( FILE: openviking/service/core.py class OpenVikingService (line 41) | class OpenVikingService: method __init__ (line 48) | def __init__( method _init_storage (line 106) | def _init_storage( method _agfs (line 158) | def _agfs(self) -> Any: method viking_fs (line 163) | def viking_fs(self) -> Optional[VikingFS]: method vikingdb_manager (line 168) | def vikingdb_manager(self) -> Optional[VikingDBManager]: method lock_manager (line 173) | def lock_manager(self) -> Optional[LockManager]: method session_compressor (line 178) | def session_compressor(self) -> Optional[SessionCompressor]: method watch_scheduler (line 183) | def watch_scheduler(self) -> Optional[WatchScheduler]: method fs (line 188) | def fs(self) -> FSService: method relations (line 193) | def relations(self) -> RelationService: method pack (line 198) | def pack(self) -> PackService: method search (line 203) | def search(self) -> SearchService: method user (line 208) | def user(self) -> UserIdentifier: method resources (line 213) | def resources(self) -> ResourceService: method sessions (line 218) | def sessions(self) -> SessionService: method debug (line 223) | def debug(self) -> DebugService: method initialize (line 227) | async def initialize(self) -> None: method close (line 347) | async def close(self) -> None: method _ensure_initialized (line 383) | def _ensure_initialized(self) -> None: method initialize_account_directories (line 388) | async def initialize_account_directories(self, ctx: RequestContext) ->... method initialize_user_directories (line 395) | async def initialize_user_directories(self, ctx: RequestContext) -> int: method initialize_agent_directories (line 402) | async def initialize_agent_directories(self, ctx: RequestContext) -> int: FILE: openviking/service/debug_service.py class ComponentStatus (line 25) | class ComponentStatus: method __str__ (line 33) | def __str__(self) -> str: class SystemStatus (line 39) | class SystemStatus: method __str__ (line 46) | def __str__(self) -> str: class ObserverService (line 58) | class ObserverService: method __init__ (line 61) | def __init__( method set_dependencies (line 69) | def set_dependencies( method _dependencies_ready (line 79) | def _dependencies_ready(self) -> bool: method queue (line 84) | def queue(self) -> ComponentStatus: method vikingdb (line 103) | def vikingdb(self, ctx: Optional[RequestContext] = None) -> ComponentS... method vlm (line 121) | def vlm(self) -> ComponentStatus: method lock (line 139) | def lock(self) -> ComponentStatus: method retrieval (line 159) | def retrieval(self) -> ComponentStatus: method system (line 169) | def system(self, ctx: Optional[RequestContext] = None) -> SystemStatus: method is_healthy (line 185) | def is_healthy(self) -> bool: class DebugService (line 192) | class DebugService: method __init__ (line 195) | def __init__( method set_dependencies (line 202) | def set_dependencies( method observer (line 211) | def observer(self) -> ObserverService: method is_healthy (line 215) | def is_healthy(self) -> bool: FILE: openviking/service/fs_service.py class FSService (line 19) | class FSService: method __init__ (line 22) | def __init__(self, viking_fs: Optional[VikingFS] = None): method set_viking_fs (line 25) | def set_viking_fs(self, viking_fs: VikingFS) -> None: method _ensure_initialized (line 29) | def _ensure_initialized(self) -> VikingFS: method ls (line 35) | async def ls( method mkdir (line 102) | async def mkdir(self, uri: str, ctx: RequestContext) -> None: method rm (line 107) | async def rm(self, uri: str, ctx: RequestContext, recursive: bool = Fa... method mv (line 112) | async def mv(self, from_uri: str, to_uri: str, ctx: RequestContext) ->... method tree (line 117) | async def tree( method stat (line 139) | async def stat(self, uri: str, ctx: RequestContext) -> Dict[str, Any]: method read (line 144) | async def read(self, uri: str, ctx: RequestContext, offset: int = 0, l... method abstract (line 149) | async def abstract(self, uri: str, ctx: RequestContext) -> str: method overview (line 154) | async def overview(self, uri: str, ctx: RequestContext) -> str: method grep (line 159) | async def grep( method glob (line 173) | async def glob( method read_file_bytes (line 184) | async def read_file_bytes(self, uri: str, ctx: RequestContext) -> bytes: FILE: openviking/service/pack_service.py class PackService (line 21) | class PackService: method __init__ (line 24) | def __init__(self, viking_fs: Optional[VikingFS] = None): method set_viking_fs (line 27) | def set_viking_fs(self, viking_fs: VikingFS) -> None: method _ensure_initialized (line 31) | def _ensure_initialized(self) -> VikingFS: method export_ovpack (line 37) | async def export_ovpack(self, uri: str, to: str, ctx: RequestContext) ... method import_ovpack (line 50) | async def import_ovpack( FILE: openviking/service/relation_service.py class RelationService (line 19) | class RelationService: method __init__ (line 22) | def __init__(self, viking_fs: Optional[VikingFS] = None): method set_viking_fs (line 25) | def set_viking_fs(self, viking_fs: VikingFS) -> None: method _ensure_initialized (line 29) | def _ensure_initialized(self) -> VikingFS: method relations (line 35) | async def relations(self, uri: str, ctx: RequestContext) -> List[Dict[... method link (line 40) | async def link( method unlink (line 57) | async def unlink(self, from_uri: str, uri: str, ctx: RequestContext) -... FILE: openviking/service/resource_service.py class ResourceService (line 42) | class ResourceService: method __init__ (line 45) | def __init__( method set_dependencies (line 59) | def set_dependencies( method _get_watch_manager (line 74) | def _get_watch_manager(self) -> Optional["WatchManager"]: method _sanitize_watch_processor_kwargs (line 79) | def _sanitize_watch_processor_kwargs(self, processor_kwargs: Dict[str,... method _ensure_initialized (line 89) | def _ensure_initialized(self) -> None: method add_resource (line 98) | async def add_resource( method _handle_watch_task_creation (line 260) | async def _handle_watch_task_creation( method _handle_watch_task_cancellation (line 343) | async def _handle_watch_task_cancellation(self, to_uri: str, ctx: Requ... method add_skill (line 374) | async def add_skill( method build_index (line 419) | async def build_index( method summarize (line 434) | async def summarize( method wait_processed (line 449) | async def wait_processed(self, timeout: Optional[float] = None) -> Dic... FILE: openviking/service/search_service.py class SearchService (line 22) | class SearchService: method __init__ (line 25) | def __init__(self, viking_fs: Optional[VikingFS] = None): method set_viking_fs (line 28) | def set_viking_fs(self, viking_fs: VikingFS) -> None: method _ensure_initialized (line 32) | def _ensure_initialized(self) -> VikingFS: method search (line 38) | async def search( method find (line 78) | async def find( FILE: openviking/service/session_service.py class SessionService (line 22) | class SessionService: method __init__ (line 25) | def __init__( method set_dependencies (line 35) | def set_dependencies( method _ensure_initialized (line 46) | def _ensure_initialized(self) -> None: method session (line 51) | def session(self, ctx: RequestContext, session_id: Optional[str] = Non... method create (line 70) | async def create(self, ctx: RequestContext) -> Session: method get (line 76) | async def get(self, session_id: str, ctx: RequestContext) -> Session: method sessions (line 87) | async def sessions(self, ctx: RequestContext) -> List[Dict[str, Any]]: method delete (line 114) | async def delete(self, session_id: str, ctx: RequestContext) -> bool: method commit (line 134) | async def commit(self, session_id: str, ctx: RequestContext) -> Dict[s... method commit_async (line 147) | async def commit_async(self, session_id: str, ctx: RequestContext) -> ... method extract (line 165) | async def extract(self, session_id: str, ctx: RequestContext) -> List[... FILE: openviking/service/task_tracker.py class TaskStatus (line 32) | class TaskStatus(str, Enum): class TaskRecord (line 42) | class TaskRecord: method to_dict (line 54) | def to_dict(self) -> Dict[str, Any]: function get_task_tracker (line 67) | def get_task_tracker() -> "TaskTracker": function reset_task_tracker (line 77) | def reset_task_tracker() -> None: function _sanitize_error (line 93) | def _sanitize_error(error: str) -> str: class TaskTracker (line 104) | class TaskTracker: method __init__ (line 115) | def __init__(self) -> None: method start_cleanup_loop (line 123) | def start_cleanup_loop(self) -> None: method stop_cleanup_loop (line 134) | def stop_cleanup_loop(self) -> None: method _cleanup_loop (line 140) | async def _cleanup_loop(self) -> None: method _evict_expired (line 150) | def _evict_expired(self) -> None: method create (line 175) | def create(self, task_type: str, resource_id: Optional[str] = None) ->... method create_if_no_running (line 192) | def create_if_no_running(self, task_type: str, resource_id: str) -> Op... method start (line 223) | def start(self, task_id: str) -> None: method complete (line 231) | def complete(self, task_id: str, result: Optional[Dict[str, Any]] = No... method fail (line 241) | def fail(self, task_id: str, error: str) -> None: method get (line 251) | def get(self, task_id: str) -> Optional[TaskRecord]: method list_tasks (line 257) | def list_tasks( method has_running (line 276) | def has_running(self, task_type: str, resource_id: str) -> bool: method _copy (line 287) | def _copy(task: TaskRecord) -> TaskRecord: method count (line 291) | def count(self) -> int: FILE: openviking/session/compressor.py class ExtractionStats (line 50) | class ExtractionStats: class SessionCompressor (line 59) | class SessionCompressor: method __init__ (line 62) | def __init__( method _record_semantic_change (line 72) | def _record_semantic_change( method _flush_semantic_operations (line 103) | async def _flush_semantic_operations(self, ctx: RequestContext) -> None: method _index_memory (line 147) | async def _index_memory( method _chunk_text (line 197) | def _chunk_text(text: str, chunk_size: int, overlap: int) -> list: method _merge_into_existing (line 220) | async def _merge_into_existing( method _delete_existing_memory (line 256) | async def _delete_existing_memory( method extract_long_term_memories (line 275) | async def extract_long_term_memories( method _extract_tool_parts (line 541) | def _extract_tool_parts(self, messages: List[Message]) -> List: method _get_tool_skill_info (line 552) | def _get_tool_skill_info( method _is_similar_name (line 582) | def _is_similar_name(self, name1: str, name2: str) -> bool: method _extract_used_uris (line 604) | def _extract_used_uris(self, messages: List[Message]) -> Dict[str, Lis... method _create_relations (line 619) | async def _create_relations( method _uri_exists (line 674) | async def _uri_exists(self, uri: str, viking_fs, ctx: RequestContext) ... FILE: openviking/session/memory_archiver.py class ArchivalCandidate (line 27) | class ArchivalCandidate: class ArchivalResult (line 39) | class ArchivalResult: class MemoryArchiver (line 49) | class MemoryArchiver: method __init__ (line 62) | def __init__( method scan (line 82) | async def scan( method archive (line 185) | async def archive( method restore (line 235) | async def restore( method scan_and_archive (line 267) | async def scan_and_archive( function _build_archive_uri (line 284) | def _build_archive_uri(uri: str) -> str: function _build_restore_uri (line 298) | def _build_restore_uri(archived_uri: str) -> Optional[str]: function _parse_datetime (line 315) | def _parse_datetime(value: Any) -> Optional[datetime]: FILE: openviking/session/memory_deduplicator.py class DedupDecision (line 30) | class DedupDecision(str, Enum): class MemoryActionDecision (line 38) | class MemoryActionDecision(str, Enum): class ExistingMemoryAction (line 46) | class ExistingMemoryAction: class DedupResult (line 55) | class DedupResult: class MemoryDeduplicator (line 66) | class MemoryDeduplicator: method _category_uri_prefix (line 76) | def _category_uri_prefix(category: str, user) -> str: method __init__ (line 84) | def __init__( method deduplicate (line 93) | async def deduplicate( method _find_similar_memories (line 129) | async def _find_similar_memories( method _llm_decision (line 228) | async def _llm_decision( method _parse_decision_payload (line 296) | def _parse_decision_payload( method _extract_facet_key (line 402) | def _extract_facet_key(text: str) -> str: method _cosine_similarity (line 422) | def _cosine_similarity(vec_a: List[float], vec_b: List[float]) -> float: FILE: openviking/session/memory_extractor.py class MemoryCategory (line 40) | class MemoryCategory(str, Enum): class CandidateMemory (line 59) | class CandidateMemory: class ToolSkillCandidateMemory (line 72) | class ToolSkillCandidateMemory(CandidateMemory): class MergedMemoryPayload (line 92) | class MergedMemoryPayload: class MemoryExtractor (line 101) | class MemoryExtractor: method __init__ (line 131) | def __init__(self): method _get_owner_space (line 137) | def _get_owner_space(category: MemoryCategory, ctx: RequestContext) ->... method _detect_output_language (line 148) | def _detect_output_language(messages: List, fallback_language: str = "... method _format_message_with_parts (line 197) | def _format_message_with_parts(self, msg) -> str: method extract (line 225) | async def extract( method extract_strict (line 429) | async def extract_strict( method create_memory (line 438) | async def create_memory( method _append_to_profile (line 516) | async def _append_to_profile( method _merge_memory_bundle (line 557) | async def _merge_memory_bundle( method _merge_tool_memory (line 622) | async def _merge_tool_memory( method _compute_statistics_derived (line 747) | def _compute_statistics_derived(self, stats: dict) -> dict: method _parse_tool_statistics (line 759) | def _parse_tool_statistics(self, content: str) -> dict: method _merge_tool_statistics (line 839) | def _merge_tool_statistics(self, existing: dict, new: dict) -> dict: method _format_ms (line 857) | def _format_ms(self, value_ms: float) -> str: method _format_duration (line 874) | def _format_duration(self, value_ms: float) -> str: method _ensure_tool_desc_cache (line 887) | def _ensure_tool_desc_cache(self) -> None: method _get_tool_static_description (line 917) | def _get_tool_static_description(self, tool_name: str) -> str: method _extract_content_field (line 923) | def _extract_content_field(self, content: str, keys: list[str]) -> str: method _extract_content_section (line 932) | def _extract_content_section(self, content: str, headings: list[str]) ... method _compact_block (line 944) | def _compact_block(self, text: str) -> str: method _merge_kv_field (line 957) | async def _merge_kv_field( method _compress_field_content (line 984) | async def _compress_field_content( method _smart_truncate (line 1024) | def _smart_truncate(self, text: str, max_length: int) -> str: method _extract_tool_memory_context_fields_from_text (line 1036) | def _extract_tool_memory_context_fields_from_text(self, text: str) -> ... method _extract_skill_memory_context_fields_from_text (line 1052) | def _extract_skill_memory_context_fields_from_text(self, text: str) ->... method _generate_tool_memory_content (line 1069) | def _generate_tool_memory_content( method _create_tool_context (line 1133) | def _create_tool_context( method _extract_tool_guidelines (line 1155) | def _extract_tool_guidelines(self, content: str) -> str: method _merge_skill_memory (line 1175) | async def _merge_skill_memory( method _compute_skill_statistics_derived (line 1317) | def _compute_skill_statistics_derived(self, stats: dict) -> dict: method _parse_skill_statistics (line 1325) | def _parse_skill_statistics(self, content: str) -> dict: method _merge_skill_statistics (line 1378) | def _merge_skill_statistics(self, existing: dict, new: dict) -> dict: method _generate_skill_memory_content (line 1390) | def _generate_skill_memory_content( method _create_skill_context (line 1461) | def _create_skill_context( method _extract_skill_guidelines (line 1483) | def _extract_skill_guidelines(self, content: str) -> str: FILE: openviking/session/session.py class SessionCompression (line 32) | class SessionCompression: class SessionStats (line 42) | class SessionStats: class Usage (line 54) | class Usage: class Session (line 66) | class Session: method __init__ (line 69) | def __init__( method load (line 97) | async def load(self): method exists (line 131) | async def exists(self) -> bool: method ensure_exists (line 139) | async def ensure_exists(self) -> None: method messages (line 147) | def messages(self) -> List[Message]: method used (line 153) | def used( method add_message (line 178) | def add_message( method update_tool_part (line 200) | def update_tool_part( method commit (line 222) | def commit(self) -> Dict[str, Any]: method commit_async (line 226) | async def commit_async(self) -> Dict[str, Any]: method _update_active_counts (line 345) | def _update_active_counts(self) -> int: method _update_active_counts_async (line 361) | async def _update_active_counts_async(self) -> int: method get_context_for_search (line 377) | async def get_context_for_search( method _extract_abstract_from_summary (line 435) | def _extract_abstract_from_summary(self, summary: str) -> str: method _generate_archive_summary (line 447) | def _generate_archive_summary(self, messages: List[Message]) -> str: method _generate_archive_summary_async (line 470) | async def _generate_archive_summary_async(self, messages: List[Message... method _write_archive (line 493) | def _write_archive( method _write_archive_async (line 526) | async def _write_archive_async( method _write_to_agfs (line 559) | def _write_to_agfs(self, messages: List[Message]) -> None: method _write_to_agfs_async (line 597) | async def _write_to_agfs_async(self, messages: List[Message]) -> None: method _append_to_jsonl (line 627) | def _append_to_jsonl(self, msg: Message) -> None: method _update_message_in_jsonl (line 639) | def _update_message_in_jsonl(self) -> None: method _save_tool_result (line 654) | def _save_tool_result( method _generate_abstract (line 689) | def _generate_abstract(self) -> str: method _generate_overview (line 698) | def _generate_overview(self, turn_count: int) -> str: method _write_relations (line 721) | def _write_relations(self) -> None: method _write_relations_async (line 734) | async def _write_relations_async(self) -> None: method uri (line 750) | def uri(self) -> str: method summary (line 755) | def summary(self) -> str: method compression (line 760) | def compression(self) -> SessionCompression: method usage_records (line 765) | def usage_records(self) -> List[Usage]: method stats (line 770) | def stats(self) -> SessionStats: method __repr__ (line 774) | def __repr__(self) -> str: FILE: openviking/session/tool_skill_utils.py function normalize_name (line 12) | def normalize_name(name: str) -> str: function extract_skill_name_from_uri (line 16) | def extract_skill_name_from_uri(uri: str) -> str: function _calibrate_name (line 23) | def _calibrate_name( function calibrate_tool_name (line 59) | def calibrate_tool_name(candidate_tool_name: str, tool_parts: Iterable[A... function calibrate_skill_name (line 68) | def calibrate_skill_name(candidate_skill_name: str, tool_parts: Iterable... function collect_tool_stats (line 77) | def collect_tool_stats(tool_parts: Iterable[Any]) -> Dict[str, Dict[str,... function collect_skill_stats (line 109) | def collect_skill_stats(tool_parts: Iterable[Any]) -> Dict[str, Dict[str... FILE: openviking/storage/collection_schemas.py class RequestQueueStats (line 34) | class RequestQueueStats: class CollectionSchemas (line 39) | class CollectionSchemas: method context_collection (line 45) | def context_collection(name: str, vector_dim: int) -> Dict[str, Any]: function init_context_collection (line 112) | async def init_context_collection(storage) -> bool: class TextEmbeddingHandler (line 134) | class TextEmbeddingHandler(DequeueHandlerBase): method __init__ (line 151) | def __init__(self, vikingdb: VikingVectorIndexBackend): method _initialize_embedder (line 166) | def _initialize_embedder(self, config: "OpenVikingConfig"): method _merge_request_stats (line 171) | def _merge_request_stats( method consume_request_stats (line 190) | def consume_request_stats(cls, telemetry_id: str) -> Optional[RequestQ... method _seed_uri_for_id (line 197) | def _seed_uri_for_id(uri: str, level: Any) -> str: method on_dequeue (line 210) | async def on_dequeue(self, data: Optional[Dict[str, Any]]) -> Optional... FILE: openviking/storage/errors.py class VikingDBException (line 6) | class VikingDBException(Exception): class StorageException (line 10) | class StorageException(VikingDBException): class CollectionNotFoundError (line 14) | class CollectionNotFoundError(StorageException): class RecordNotFoundError (line 18) | class RecordNotFoundError(StorageException): class DuplicateKeyError (line 22) | class DuplicateKeyError(StorageException): class ConnectionError (line 26) | class ConnectionError(StorageException): class SchemaError (line 30) | class SchemaError(StorageException): class LockError (line 34) | class LockError(VikingDBException): class LockAcquisitionError (line 38) | class LockAcquisitionError(LockError): class ResourceBusyError (line 42) | class ResourceBusyError(LockError): FILE: openviking/storage/expr.py class And (line 13) | class And: class Or (line 18) | class Or: class Eq (line 23) | class Eq: class In (line 29) | class In: class Range (line 35) | class Range: class Contains (line 44) | class Contains: class TimeRange (line 50) | class TimeRange: class RawDSL (line 57) | class RawDSL: class PathScope (line 62) | class PathScope: FILE: openviking/storage/local_fs.py function _validate_ovpack_member_path (line 25) | def _validate_ovpack_member_path(zip_path: str, base_name: str) -> str: function ensure_ovpack_extension (line 47) | def ensure_ovpack_extension(path: str) -> str: function ensure_dir_exists (line 54) | def ensure_dir_exists(path: str) -> None: function get_ovpack_zip_path (line 61) | def get_ovpack_zip_path(base_name: str, rel_path: str) -> str: function get_viking_rel_path_from_zip (line 73) | def get_viking_rel_path_from_zip(zip_path: str) -> str: function _enqueue_direct_vectorization (line 93) | async def _enqueue_direct_vectorization(viking_fs, uri: str, ctx: Reques... function import_ovpack (line 126) | async def import_ovpack( function export_ovpack (line 241) | async def export_ovpack(viking_fs, uri: str, to: str, ctx: RequestContex... FILE: openviking/storage/observers/base_observer.py class BaseObserver (line 12) | class BaseObserver(abc.ABC): method get_status_table (line 21) | def get_status_table(self) -> str: method is_healthy (line 31) | def is_healthy(self) -> bool: method has_errors (line 41) | def has_errors(self) -> bool: FILE: openviking/storage/observers/lock_observer.py class LockObserver (line 15) | class LockObserver(BaseObserver): method __init__ (line 18) | def __init__(self, lock_manager: LockManager): method get_active_locks (line 21) | def get_active_locks(self) -> List[Dict[str, Any]]: method get_hanging_locks (line 34) | def get_hanging_locks(self, threshold: float = 600) -> List[Dict[str, ... method get_status_table (line 41) | def get_status_table(self) -> str: method is_healthy (line 67) | def is_healthy(self) -> bool: method has_errors (line 70) | def has_errors(self) -> bool: FILE: openviking/storage/observers/queue_observer.py class QueueObserver (line 20) | class QueueObserver(BaseObserver): method __init__ (line 27) | def __init__(self, queue_manager: QueueManager): method get_status_table_async (line 30) | async def get_status_table_async(self) -> str: method get_status_table (line 35) | def get_status_table(self) -> str: method __str__ (line 38) | def __str__(self) -> str: method _format_status_as_table (line 41) | def _format_status_as_table( method _get_semantic_dag_stats (line 107) | def _get_semantic_dag_stats(self) -> Optional[object]: method is_healthy (line 116) | def is_healthy(self) -> bool: method has_errors (line 119) | def has_errors(self) -> bool: FILE: openviking/storage/observers/retrieval_observer.py class RetrievalObserver (line 16) | class RetrievalObserver(BaseObserver): method _get_collector (line 28) | def _get_collector(): method get_status_table (line 34) | def get_status_table(self) -> str: method _format_status_as_table (line 38) | def _format_status_as_table(self) -> str: method __str__ (line 84) | def __str__(self) -> str: method is_healthy (line 87) | def is_healthy(self) -> bool: method has_errors (line 94) | def has_errors(self) -> bool: FILE: openviking/storage/observers/vikingdb_observer.py class VikingDBObserver (line 20) | class VikingDBObserver(BaseObserver): method __init__ (line 27) | def __init__(self, vikingdb_manager: VikingDBManager): method get_status_table_async (line 30) | async def get_status_table_async(self, ctx: Optional[RequestContext] =... method get_status_table (line 42) | def get_status_table(self, ctx: Optional[RequestContext] = None) -> str: method __str__ (line 45) | def __str__(self) -> str: method _get_collection_statuses (line 48) | async def _get_collection_statuses( method _format_status_as_table (line 76) | def _format_status_as_table(self, statuses: Dict[str, Dict]) -> str: method is_healthy (line 114) | def is_healthy(self) -> bool: method has_errors (line 123) | def has_errors(self) -> bool: FILE: openviking/storage/observers/vlm_observer.py class VLMObserver (line 16) | class VLMObserver(BaseObserver): method __init__ (line 23) | def __init__(self, vlm_instance: VLMBase): method get_status_table (line 32) | def get_status_table(self) -> str: method _format_status_as_table (line 41) | def _format_status_as_table(self) -> str: method __str__ (line 93) | def __str__(self) -> str: method is_healthy (line 96) | def is_healthy(self) -> bool: method has_errors (line 107) | def has_errors(self) -> bool: FILE: openviking/storage/queuefs/embedding_msg.py class EmbeddingMsg (line 10) | class EmbeddingMsg: method __init__ (line 16) | def __init__( method to_dict (line 29) | def to_dict(self) -> Dict[str, Any]: method to_json (line 33) | def to_json(self) -> str: method from_dict (line 38) | def from_dict(cls, data: Dict[str, Any]) -> "EmbeddingMsg": method from_json (line 50) | def from_json(cls, json_str: str) -> "EmbeddingMsg": FILE: openviking/storage/queuefs/embedding_msg_converter.py class EmbeddingMsgConverter (line 18) | class EmbeddingMsgConverter: method from_context (line 22) | def from_context(context: Context) -> EmbeddingMsg: FILE: openviking/storage/queuefs/embedding_queue.py class EmbeddingQueue (line 13) | class EmbeddingQueue(NamedQueue): method enqueue (line 19) | async def enqueue(self, msg: Optional[EmbeddingMsg]) -> str: method dequeue (line 27) | async def dequeue(self) -> Optional[EmbeddingMsg]: method peek (line 54) | async def peek(self) -> Optional[EmbeddingMsg]: FILE: openviking/storage/queuefs/embedding_tracker.py class EmbeddingTaskTracker (line 13) | class EmbeddingTaskTracker: method __new__ (line 24) | def __new__(cls) -> "EmbeddingTaskTracker": method __init__ (line 29) | def __init__(self): method get_instance (line 37) | def get_instance(cls) -> "EmbeddingTaskTracker": method register (line 43) | async def register( method decrement (line 88) | async def decrement(self, semantic_msg_id: str) -> Optional[int]: FILE: openviking/storage/queuefs/named_queue.py class QueueError (line 19) | class QueueError: class QueueStatus (line 28) | class QueueStatus: method has_errors (line 38) | def has_errors(self) -> bool: method is_complete (line 42) | def is_complete(self) -> bool: class EnqueueHookBase (line 46) | class EnqueueHookBase(abc.ABC): method on_enqueue (line 54) | async def on_enqueue(self, data: Union[str, Dict[str, Any]]) -> Union[... class DequeueHandlerBase (line 59) | class DequeueHandlerBase(abc.ABC): method set_callbacks (line 65) | def set_callbacks( method report_success (line 74) | def report_success(self) -> None: method report_error (line 79) | def report_error(self, error_msg: str, data: Optional[Dict[str, Any]] ... method on_dequeue (line 85) | async def on_dequeue(self, data: Optional[Dict[str, Any]]) -> Optional... class NamedQueue (line 92) | class NamedQueue: method __init__ (line 97) | def __init__( method _on_dequeue_start (line 126) | def _on_dequeue_start(self) -> None: method _on_process_success (line 131) | def _on_process_success(self) -> None: method _on_process_error (line 137) | def _on_process_error(self, error_msg: str, data: Optional[Dict[str, A... method get_status (line 152) | async def get_status(self) -> QueueStatus: method reset_status (line 164) | def reset_status(self) -> None: method has_dequeue_handler (line 172) | def has_dequeue_handler(self) -> bool: method _ensure_initialized (line 176) | async def _ensure_initialized(self): method enqueue (line 186) | async def enqueue(self, data: Union[str, Dict[str, Any]]) -> str: method ack (line 201) | async def ack(self, msg_id: str) -> None: method _read_queue_message (line 216) | def _read_queue_message(self) -> Optional[Dict[str, Any]]: method dequeue (line 234) | async def dequeue(self) -> Optional[Dict[str, Any]]: method dequeue_raw (line 264) | async def dequeue_raw(self) -> Optional[Dict[str, Any]]: method process_dequeued (line 273) | async def process_dequeued(self, data: Dict[str, Any]) -> Optional[Dic... method peek (line 283) | async def peek(self) -> Optional[Dict[str, Any]]: method size (line 302) | async def size(self) -> int: method clear (line 321) | async def clear(self) -> bool: FILE: openviking/storage/queuefs/queue_manager.py function init_queue_manager (line 27) | def init_queue_manager( function get_queue_manager (line 54) | def get_queue_manager() -> "QueueManager": class QueueManager (line 62) | class QueueManager: method __init__ (line 72) | def __init__( method start (line 97) | def start(self) -> None: method setup_standard_queues (line 110) | def setup_standard_queues(self, vector_store: Any, start: bool = True)... method _start_queue_worker (line 146) | def _start_queue_worker(self, queue: NamedQueue) -> None: method _queue_worker_loop (line 164) | def _queue_worker_loop( method _worker_async_concurrent (line 198) | async def _worker_async_concurrent( method stop (line 264) | def stop(self) -> None: method is_running (line 289) | def is_running(self) -> bool: method get_queue (line 293) | def get_queue( method enqueue (line 337) | async def enqueue(self, queue_name: str, data: Union[str, Dict[str, An... method dequeue (line 341) | async def dequeue(self, queue_name: str) -> Optional[Dict[str, Any]]: method peek (line 345) | async def peek(self, queue_name: str) -> Optional[Dict[str, Any]]: method size (line 349) | async def size(self, queue_name: str) -> int: method clear (line 353) | async def clear(self, queue_name: str) -> bool: method check_status (line 359) | async def check_status(self, queue_name: Optional[str] = None) -> Dict... method has_errors (line 367) | def has_errors(self, queue_name: Optional[str] = None) -> bool: method is_all_complete (line 375) | async def is_all_complete(self, queue_name: Optional[str] = None) -> b... method wait_complete (line 380) | async def wait_complete( FILE: openviking/storage/queuefs/semantic_dag.py class DirNode (line 23) | class DirNode: class DagStats (line 40) | class DagStats: class VectorizeTask (line 48) | class VectorizeTask: class SemanticDagExecutor (line 66) | class SemanticDagExecutor: method __init__ (line 69) | def __init__( method _create_on_complete_callback (line 108) | def _create_on_complete_callback(self) -> Callable[[], Awaitable[None]]: method run (line 147) | async def run(self, root_uri: str) -> None: method _dispatch_dir (line 219) | async def _dispatch_dir(self, dir_uri: str, parent_uri: Optional[str])... method _list_dir (line 273) | async def _list_dir(self, uri: str) -> tuple[list[str], list[str]]: method _get_target_file_path (line 297) | def _get_target_file_path(self, current_uri: str) -> Optional[str]: method _check_file_content_changed (line 311) | async def _check_file_content_changed(self, file_path: str) -> bool: method _read_existing_summary (line 328) | async def _read_existing_summary(self, file_path: str) -> Optional[Dic... method _check_dir_children_changed (line 371) | async def _check_dir_children_changed( method _read_existing_overview_abstract (line 397) | async def _read_existing_overview_abstract( method _file_summary_task (line 410) | async def _file_summary_task(self, parent_uri: str, file_path: str) ->... method _on_file_done (line 456) | async def _on_file_done( method _on_child_done (line 474) | async def _on_child_done(self, parent_uri: str, child_uri: str, abstra... method _schedule_overview (line 491) | def _schedule_overview(self, dir_uri: str) -> None: method _finalize_file_summaries (line 502) | def _finalize_file_summaries(self, node: DirNode) -> List[Dict[str, st... method _finalize_children_abstracts (line 512) | def _finalize_children_abstracts(self, node: DirNode) -> List[Dict[str... method _overview_task (line 522) | async def _overview_task(self, dir_uri: str) -> None: method _add_vectorize_task (line 589) | async def _add_vectorize_task(self, task: VectorizeTask) -> None: method _lock_refresh_loop (line 598) | async def _lock_refresh_loop(self) -> None: method _release_lifecycle_lock (line 620) | async def _release_lifecycle_lock(self) -> None: method get_stats (line 638) | def get_stats(self) -> DagStats: FILE: openviking/storage/queuefs/semantic_msg.py class SemanticMsg (line 13) | class SemanticMsg: method __init__ (line 48) | def __init__( method to_dict (line 79) | def to_dict(self) -> Dict[str, Any]: method to_json (line 83) | def to_json(self) -> str: method from_dict (line 88) | def from_dict(cls, data: Dict[str, Any]) -> "SemanticMsg": method from_json (line 128) | def from_json(cls, json_str: str) -> "SemanticMsg": FILE: openviking/storage/queuefs/semantic_processor.py class DiffResult (line 40) | class DiffResult: class RequestQueueStats (line 50) | class RequestQueueStats: class SemanticProcessor (line 55) | class SemanticProcessor(DequeueHandlerBase): method __init__ (line 74) | def __init__(self, max_concurrent_llm: int = 100): method _cache_dag_stats (line 87) | def _cache_dag_stats(cls, telemetry_id: str, uri: str, stats: DagStats... method consume_dag_stats (line 100) | def consume_dag_stats( method _merge_request_stats (line 116) | def _merge_request_stats( method consume_request_stats (line 135) | def consume_request_stats(cls, telemetry_id: str) -> Optional[RequestQ... method _owner_space_for_uri (line 142) | def _owner_space_for_uri(uri: str, ctx: RequestContext) -> str: method _ctx_from_semantic_msg (line 157) | def _ctx_from_semantic_msg(msg: SemanticMsg) -> RequestContext: method _detect_file_type (line 164) | def _detect_file_type(self, file_name: str) -> str: method _check_file_content_changed (line 189) | async def _check_file_content_changed( method on_dequeue (line 207) | async def on_dequeue(self, data: Optional[Dict[str, Any]]) -> Optional... method get_dag_stats (line 307) | def get_dag_stats(self) -> Optional["DagStats"]: method _ensure_lifecycle_lock (line 313) | async def _ensure_lifecycle_lock(handle_id: str, lock_path: str) -> str: method _process_memory_directory (line 331) | async def _process_memory_directory(self, msg: SemanticMsg) -> None: method _sync_topdown_recursive (line 430) | async def _sync_topdown_recursive( method _collect_children_abstracts (line 606) | async def _collect_children_abstracts( method _generate_text_summary (line 619) | async def _generate_text_summary( method _generate_single_file_summary (line 703) | async def _generate_single_file_summary( method _extract_abstract_from_overview (line 729) | def _extract_abstract_from_overview(self, overview_content: str) -> str: method _enforce_size_limits (line 752) | def _enforce_size_limits(self, overview: str, abstract: str) -> Tuple[... method _parse_overview_md (line 761) | def _parse_overview_md(self, overview_content: str) -> Dict[str, str]: method _generate_overview (line 814) | async def _generate_overview( method _single_generate_overview (line 905) | async def _single_generate_overview( method _batched_generate_overview (line 945) | async def _batched_generate_overview( method _vectorize_directory (line 1048) | async def _vectorize_directory( method _vectorize_single_file (line 1075) | async def _vectorize_single_file( FILE: openviking/storage/queuefs/semantic_queue.py class SemanticQueue (line 15) | class SemanticQueue(NamedQueue): method enqueue (line 18) | async def enqueue(self, msg: SemanticMsg) -> str: method dequeue (line 22) | async def dequeue(self) -> Optional[SemanticMsg]: method peek (line 41) | async def peek(self) -> Optional[SemanticMsg]: FILE: openviking/storage/transaction/lock_context.py class LockContext (line 12) | class LockContext: method __init__ (line 19) | def __init__( method __aenter__ (line 34) | async def __aenter__(self) -> LockHandle: method __aexit__ (line 65) | async def __aexit__(self, exc_type, exc_val, exc_tb): FILE: openviking/storage/transaction/lock_handle.py class LockOwner (line 12) | class LockOwner(Protocol): method add_lock (line 18) | def add_lock(self, path: str) -> None: ... method remove_lock (line 19) | def remove_lock(self, path: str) -> None: ... class LockHandle (line 23) | class LockHandle: method add_lock (line 31) | def add_lock(self, lock_path: str) -> None: method remove_lock (line 35) | def remove_lock(self, lock_path: str) -> None: FILE: openviking/storage/transaction/lock_manager.py class LockManager (line 19) | class LockManager: method __init__ (line 22) | def __init__( method redo_log (line 37) | def redo_log(self) -> RedoLog: method get_active_handles (line 40) | def get_active_handles(self) -> Dict[str, LockHandle]: method start (line 43) | async def start(self) -> None: method stop (line 49) | async def stop(self) -> None: method create_handle (line 64) | def create_handle(self) -> LockHandle: method acquire_point (line 69) | async def acquire_point( method acquire_subtree (line 76) | async def acquire_subtree( method acquire_mv (line 83) | async def acquire_mv( method get_handle (line 99) | def get_handle(self, handle_id: str) -> Optional[LockHandle]: method refresh_lock (line 102) | async def refresh_lock(self, handle: LockHandle) -> None: method release (line 105) | async def release(self, handle: LockHandle) -> None: method _stale_cleanup_loop (line 109) | async def _stale_cleanup_loop(self) -> None: method _recover_pending_redo (line 123) | async def _recover_pending_redo(self) -> None: method _redo_session_memory (line 135) | async def _redo_session_memory(self, info: Dict[str, Any]) -> None: method _enqueue_semantic (line 204) | async def _enqueue_semantic(self, **params: Any) -> None: function init_lock_manager (line 237) | def init_lock_manager( function get_lock_manager (line 247) | def get_lock_manager() -> LockManager: function reset_lock_manager (line 253) | def reset_lock_manager() -> None: function release_all_locks (line 258) | async def release_all_locks() -> None: FILE: openviking/storage/transaction/path_lock.py function _make_fencing_token (line 22) | def _make_fencing_token(owner_id: str, lock_type: str = LOCK_TYPE_POINT)... function _parse_fencing_token (line 26) | def _parse_fencing_token(token: str) -> Tuple[str, int, str]: class PathLock (line 52) | class PathLock: method __init__ (line 53) | def __init__(self, agfs_client: AGFSClient, lock_expire: float = 300.0): method _get_lock_path (line 57) | def _get_lock_path(self, path: str) -> str: method _get_parent_path (line 61) | def _get_parent_path(self, path: str) -> Optional[str]: method _read_token (line 68) | def _read_token(self, lock_path: str) -> Optional[str]: method _is_locked_by_other (line 79) | async def _is_locked_by_other(self, lock_path: str, owner_id: str) -> ... method _create_lock_file (line 86) | async def _create_lock_file( method _verify_lock_ownership (line 92) | async def _verify_lock_ownership(self, lock_path: str, owner_id: str) ... method _remove_lock_file (line 99) | async def _remove_lock_file(self, lock_path: str) -> bool: method is_lock_stale (line 108) | def is_lock_stale(self, lock_path: str, expire_seconds: float = 300.0)... method _check_ancestors_for_subtree (line 118) | async def _check_ancestors_for_subtree(self, path: str, exclude_owner_... method _scan_descendants_for_locks (line 130) | async def _scan_descendants_for_locks(self, path: str, exclude_owner_i... method acquire_point (line 157) | async def acquire_point(self, path: str, owner: LockOwner, timeout: fl... method acquire_subtree (line 234) | async def acquire_subtree(self, path: str, owner: LockOwner, timeout: ... method acquire_mv (line 328) | async def acquire_mv( method refresh (line 374) | async def refresh(self, owner: LockOwner) -> None: method release (line 387) | async def release(self, owner: LockOwner) -> None: FILE: openviking/storage/transaction/redo_log.py class RedoLog (line 16) | class RedoLog: method __init__ (line 23) | def __init__(self, agfs: AGFSClient): method _task_path (line 26) | def _task_path(self, task_id: str) -> str: method _ensure_dirs (line 29) | def _ensure_dirs(self, dir_path: str) -> None: method write_pending (line 39) | def write_pending(self, task_id: str, info: Dict[str, Any]) -> None: method mark_done (line 46) | def mark_done(self, task_id: str) -> None: method list_pending (line 53) | def list_pending(self) -> List[str]: method read (line 67) | def read(self, task_id: str) -> Dict[str, Any]: FILE: openviking/storage/vectordb/collection/collection.py function load_collection_class (line 11) | def load_collection_class(class_path: str) -> Type["ICollection"]: class ICollection (line 21) | class ICollection(ABC): method __init__ (line 22) | def __init__(self): method update (line 26) | def update(self, fields: Optional[Dict[str, Any]] = None, description:... method get_meta_data (line 30) | def get_meta_data(self): method close (line 34) | def close(self): method drop (line 38) | def drop(self): method create_index (line 42) | def create_index(self, index_name: str, meta_data: Dict[str, Any]) -> ... method has_index (line 46) | def has_index(self, index_name: str) -> bool: method get_index (line 50) | def get_index(self, index_name: str) -> Optional[IIndex]: method search_by_vector (line 54) | def search_by_vector( method search_by_keywords (line 67) | def search_by_keywords( method search_by_id (line 80) | def search_by_id( method search_by_multimodal (line 92) | def search_by_multimodal( method search_by_random (line 106) | def search_by_random( method search_by_scalar (line 117) | def search_by_scalar( method update_index (line 130) | def update_index( method get_index_meta_data (line 139) | def get_index_meta_data(self, index_name: str): method list_indexes (line 143) | def list_indexes(self): method drop_index (line 147) | def drop_index(self, index_name: str): method upsert_data (line 151) | def upsert_data(self, data_list: List[Dict[str, Any]], ttl=0): method fetch_data (line 155) | def fetch_data(self, primary_keys: List[Any]): method delete_data (line 159) | def delete_data(self, primary_keys: List[Any]): method delete_all_data (line 163) | def delete_all_data(self): method aggregate_data (line 167) | def aggregate_data( class Collection (line 190) | class Collection: method __init__ (line 196) | def __init__(self, collection: ICollection): method __del__ (line 212) | def __del__(self): method update (line 221) | def update(self, fields: Optional[Dict[str, Any]] = None, description:... method drop (line 234) | def drop(self): method get_meta_data (line 243) | def get_meta_data(self) -> Dict[str, Any]: method get_meta (line 255) | def get_meta(self) -> Dict[str, Any]: method create_index (line 266) | def create_index(self, index_name: str, meta_data: Dict[str, Any]) -> ... method has_index (line 282) | def has_index(self, index_name: str) -> bool: method get_index (line 296) | def get_index(self, index_name: str) -> Any: method search_by_vector (line 310) | def search_by_vector( method search_by_keywords (line 342) | def search_by_keywords( method search_by_id (line 377) | def search_by_id( method search_by_multimodal (line 408) | def search_by_multimodal( method search_by_random (line 445) | def search_by_random( method search_by_scalar (line 473) | def search_by_scalar( method update_index (line 509) | def update_index( method get_index_meta_data (line 528) | def get_index_meta_data(self, index_name: str) -> Dict[str, Any]: method list_indexes (line 542) | def list_indexes(self) -> List[str]: method drop_index (line 553) | def drop_index(self, index_name: str): method upsert_data (line 565) | def upsert_data(self, data_list: List[Dict[str, Any]], ttl: Optional[i... method fetch_data (line 582) | def fetch_data(self, primary_keys: List[Any]) -> List[Dict[str, Any]]: method delete_data (line 597) | def delete_data(self, primary_keys: List[Any]): method delete_all_data (line 608) | def delete_all_data(self): method aggregate_data (line 617) | def aggregate_data( method close (line 641) | def close(self): FILE: openviking/storage/vectordb/collection/http_collection.py function get_or_create_http_collection (line 24) | def get_or_create_http_collection( function list_vikingdb_collections (line 54) | def list_vikingdb_collections( class HttpCollection (line 83) | class HttpCollection(ICollection): method __init__ (line 86) | def __init__( method update (line 96) | def update(self, fields: Optional[Dict[str, Any]] = None, description:... method get_meta_data (line 118) | def get_meta_data(self): method close (line 135) | def close(self): method drop (line 138) | def drop(self): method create_index (line 155) | def create_index(self, index_name: str, meta_data: Dict[str, Any]): method has_index (line 173) | def has_index(self, index_name: str): method get_index (line 177) | def get_index(self, index_name: str): method list_indexes (line 180) | def list_indexes( method update_index (line 199) | def update_index( method get_index_meta_data (line 227) | def get_index_meta_data(self, index_name: str): method drop_index (line 245) | def drop_index(self, index_name: str): method upsert_data (line 263) | def upsert_data(self, data_list: List[Dict[str, Any]], ttl: int = 0): method fetch_data (line 282) | def fetch_data(self, primary_keys: List[Any]) -> FetchDataInCollection... method delete_data (line 318) | def delete_data(self, primary_keys: List[Any]): method delete_all_data (line 336) | def delete_all_data(self): method search_by_vector (line 354) | def search_by_vector( method search_by_id (line 398) | def search_by_id( method search_by_multimodal (line 440) | def search_by_multimodal( method search_by_random (line 486) | def search_by_random( method search_by_keywords (line 526) | def search_by_keywords( method search_by_scalar (line 570) | def search_by_scalar( method aggregate_data (line 614) | def aggregate_data( method _parse_aggregate_result (line 644) | def _parse_aggregate_result( FILE: openviking/storage/vectordb/collection/local_collection.py function get_or_create_local_collection (line 54) | def get_or_create_local_collection( class LocalCollection (line 126) | class LocalCollection(ICollection): method __init__ (line 127) | def __init__( method update (line 164) | def update(self, fields: Optional[Dict[str, Any]] = None, description:... method get_meta_data (line 177) | def get_meta_data(self): method close (line 180) | def close(self): method drop (line 200) | def drop(self): method create_index (line 204) | def create_index(self, index_name: str, meta_data: Optional[Dict[str, ... method has_index (line 215) | def has_index(self, index_name: str) -> bool: method get_index (line 218) | def get_index(self, index_name: str) -> Optional[IIndex]: method drop_index (line 221) | def drop_index(self, index_name: str) -> None: method get_indexes (line 226) | def get_indexes(self) -> Dict[str, IIndex]: method update_index (line 229) | def update_index( method get_index_meta_data (line 240) | def get_index_meta_data(self, index_name: str) -> Optional[Dict[str, A... method list_indexes (line 246) | def list_indexes(self) -> List[str]: method search_by_vector (line 249) | def search_by_vector( method search_by_id (line 329) | def search_by_id( method search_by_multimodal (line 368) | def search_by_multimodal( method search_by_random (line 408) | def search_by_random( method search_by_keywords (line 421) | def search_by_keywords( method search_by_scalar (line 467) | def search_by_scalar( method upsert_data (line 514) | def upsert_data(self, raw_data_list: List[Dict[str, Any]], ttl=0): method fetch_data (line 588) | def fetch_data(self, primary_keys: List[Any]) -> FetchDataInCollection... method delete_data (line 621) | def delete_data(self, primary_keys: List[Any]): method delete_all_data (line 638) | def delete_all_data(self): method _delete_expire_delta_record (line 697) | def _delete_expire_delta_record(self): method _expire_timeout_data (line 706) | def _expire_timeout_data(self): method _register_scheduler_job (line 716) | def _register_scheduler_job(self): method _delete_scheduler_job (line 727) | def _delete_scheduler_job(self): method _register_index_manage_job (line 746) | def _register_index_manage_job(self): method _rebuild_indexes_if_needed (line 765) | def _rebuild_indexes_if_needed(self): method _rebuild_index (line 787) | def _rebuild_index(self, index_name: str, old_index: IIndex): method aggregate_data (line 817) | def aggregate_data( method _persist_all_indexes (line 877) | def _persist_all_indexes(self): method _new_index (line 881) | def _new_index( class VolatileCollection (line 891) | class VolatileCollection(LocalCollection): method __init__ (line 892) | def __init__( method _new_index (line 902) | def _new_index( method _persist_all_indexes (line 917) | def _persist_all_indexes(self): class PersistCollection (line 921) | class PersistCollection(LocalCollection): method __init__ (line 922) | def __init__( method _recover (line 938) | def _recover(self): method _persist_all_indexes (line 982) | def _persist_all_indexes(self): method close (line 989) | def close(self): method flush_all_indexes (line 994) | def flush_all_indexes(self): method _new_index (line 1017) | def _new_index( method drop (line 1037) | def drop(self): FILE: openviking/storage/vectordb/collection/result.py class UpsertDataResult (line 8) | class UpsertDataResult: class DataItem (line 13) | class DataItem: class FetchDataInCollectionResult (line 19) | class FetchDataInCollectionResult: class SearchItemResult (line 25) | class SearchItemResult: class SearchResult (line 32) | class SearchResult: class AggregateResult (line 37) | class AggregateResult: FILE: openviking/storage/vectordb/collection/vikingdb_clients.py class VikingDBClient (line 39) | class VikingDBClient: method __init__ (line 45) | def __init__(self, host: str, headers: Optional[Dict[str, str]] = None): method do_req (line 59) | def do_req( FILE: openviking/storage/vectordb/collection/vikingdb_collection.py class VikingDBCollection (line 21) | class VikingDBCollection(ICollection): method __init__ (line 26) | def __init__( method _console_post (line 38) | def _console_post(self, data: Dict[str, Any], action: str): method _console_get (line 52) | def _console_get(self, params: Optional[Dict[str, Any]], action: str): method _data_post (line 68) | def _data_post(self, path: str, data: Dict[str, Any]): method _data_get (line 79) | def _data_get(self, path: str, params: Dict[str, Any]): method update (line 90) | def update(self, fields: Optional[Dict[str, Any]] = None, description:... method get_meta_data (line 102) | def get_meta_data(self): method close (line 109) | def close(self): method drop (line 112) | def drop(self): method create_index (line 115) | def create_index(self, index_name: str, meta_data: Dict[str, Any]): method has_index (line 118) | def has_index(self, index_name: str): method get_index (line 122) | def get_index(self, index_name: str): method list_indexes (line 125) | def list_indexes(self): method update_index (line 132) | def update_index( method get_index_meta_data (line 140) | def get_index_meta_data(self, index_name: str): method drop_index (line 148) | def drop_index(self, index_name: str): method upsert_data (line 151) | def upsert_data(self, data_list: List[Dict[str, Any]], ttl: int = 0): method fetch_data (line 161) | def fetch_data(self, primary_keys: List[Any]) -> FetchDataInCollection... method delete_data (line 171) | def delete_data(self, primary_keys: List[Any]): method delete_all_data (line 180) | def delete_all_data(self): method _parse_fetch_result (line 189) | def _parse_fetch_result(self, data: Dict[str, Any]) -> FetchDataInColl... method _parse_search_result (line 205) | def _parse_search_result(self, data: Dict[str, Any]) -> SearchResult: method search_by_vector (line 219) | def search_by_vector( method search_by_id (line 245) | def search_by_id( method search_by_multimodal (line 268) | def search_by_multimodal( method search_by_random (line 295) | def search_by_random( method search_by_keywords (line 316) | def search_by_keywords( method search_by_scalar (line 341) | def search_by_scalar( method aggregate_data (line 366) | def aggregate_data( method _parse_aggregate_result (line 388) | def _parse_aggregate_result( FILE: openviking/storage/vectordb/collection/volcengine_clients.py class ClientForConsoleApi (line 17) | class ClientForConsoleApi: method __init__ (line 24) | def __init__(self, ak, sk, region, host=None): method prepare_request (line 33) | def prepare_request(self, method, params=None, data=None): method do_req (line 61) | def do_req(self, req_method, req_params=None, req_body=None): class ClientForDataApi (line 73) | class ClientForDataApi: method __init__ (line 80) | def __init__(self, ak, sk, region, host=None): method prepare_request (line 89) | def prepare_request(self, method, path, params=None, data=None): method do_req (line 117) | def do_req(self, req_method, req_path, req_params=None, req_body=None): FILE: openviking/storage/vectordb/collection/volcengine_collection.py function get_or_create_volcengine_collection (line 23) | def get_or_create_volcengine_collection(config: Dict[str, Any], meta_dat... class VolcengineCollection (line 72) | class VolcengineCollection(ICollection): method __init__ (line 73) | def __init__( method _console_post (line 87) | def _console_post(self, data: Dict[str, Any], action: str): method _console_get (line 101) | def _console_get(self, params: Optional[Dict[str, Any]], action: str): method _sanitize_uri_value (line 119) | def _sanitize_uri_value(v: Any) -> Any: method _sanitize_payload (line 134) | def _sanitize_payload(cls, obj: Any) -> Any: method _sanitize_dict_payload (line 146) | def _sanitize_dict_payload(cls, obj: Dict[str, Any]) -> Any: method _sanitize_filter_conds (line 175) | def _sanitize_filter_conds(cls, conds: List[Any]) -> List[Any]: method _sanitize_prefix (line 190) | def _sanitize_prefix(cls, obj: Dict[str, Any]) -> bool: method _sanitize_dict_keys (line 199) | def _sanitize_dict_keys(cls, obj: Dict[str, Any]) -> Dict[str, Any]: method _ensure_parent_uri (line 215) | def _ensure_parent_uri(cls, obj: Dict[str, Any]) -> None: method _sanitize_list_payload (line 222) | def _sanitize_list_payload(cls, obj: List[Any]) -> List[Any]: method _data_post (line 231) | def _data_post(self, path: str, data: Dict[str, Any]): method _data_get (line 244) | def _data_get(self, path: str, params: Dict[str, Any]): method update (line 255) | def update(self, fields: Optional[Dict[str, Any]] = None, description:... method get_meta_data (line 267) | def get_meta_data(self): method close (line 274) | def close(self): method drop (line 277) | def drop(self): method create_index (line 284) | def create_index(self, index_name: str, meta_data: Dict[str, Any]): method has_index (line 301) | def has_index(self, index_name: str): method get_index (line 305) | def get_index(self, index_name: str): method list_indexes (line 308) | def list_indexes(self): method update_index (line 315) | def update_index( method get_index_meta_data (line 333) | def get_index_meta_data(self, index_name: str): method drop_index (line 341) | def drop_index(self, index_name: str): method upsert_data (line 349) | def upsert_data(self, data_list: List[Dict[str, Any]], ttl: int = 0): method fetch_data (line 359) | def fetch_data(self, primary_keys: List[Any]) -> FetchDataInCollection... method delete_data (line 370) | def delete_data(self, primary_keys: List[Any]): method delete_all_data (line 379) | def delete_all_data(self): method _parse_fetch_result (line 388) | def _parse_fetch_result(self, data: Dict[str, Any]) -> FetchDataInColl... method _parse_search_result (line 404) | def _parse_search_result(self, data: Dict[str, Any]) -> SearchResult: method search_by_vector (line 418) | def search_by_vector( method search_by_id (line 444) | def search_by_id( method search_by_multimodal (line 467) | def search_by_multimodal( method search_by_random (line 494) | def search_by_random( method search_by_keywords (line 515) | def search_by_keywords( method search_by_scalar (line 540) | def search_by_scalar( method _parse_aggregate_result (line 565) | def _parse_aggregate_result( method aggregate_data (line 576) | def aggregate_data( FILE: openviking/storage/vectordb/engine/__init__.py function _is_x86_machine (line 28) | def _is_x86_machine(machine: str | None = None) -> bool: function _module_exists (line 33) | def _module_exists(module_name: str) -> bool: function _available_variants (line 37) | def _available_variants(is_x86: bool) -> tuple[str, ...]: function _supported_x86_variants (line 42) | def _supported_x86_variants() -> set[str]: function _normalize_requested_variant (line 60) | def _normalize_requested_variant(value: str | None) -> str: function _validate_forced_variant (line 65) | def _validate_forced_variant( function _select_variant (line 89) | def _select_variant() -> tuple[str | None, tuple[str, ...], str | None]: function _load_backend (line 117) | def _load_backend(variant: str) -> ModuleType: function _export_backend (line 121) | def _export_backend(module: ModuleType) -> tuple[str, ...]: class _MissingBackendSymbol (line 132) | class _MissingBackendSymbol: method __init__ (line 133) | def __init__(self, symbol_name: str, message: str): method __call__ (line 137) | def __call__(self, *args, **kwargs): method __getattr__ (line 140) | def __getattr__(self, name: str): method __bool__ (line 143) | def __bool__(self) -> bool: method __repr__ (line 146) | def __repr__(self) -> str: function __getattr__ (line 161) | def __getattr__(name: str): FILE: openviking/storage/vectordb/index/index.py class IIndex (line 9) | class IIndex(ABC): method __init__ (line 29) | def __init__( method upsert_data (line 45) | def upsert_data(self, delta_list: List[DeltaRecord]): method delete_data (line 70) | def delete_data(self, delta_list: List[DeltaRecord]): method search (line 91) | def search( method aggregate (line 131) | def aggregate( method update (line 170) | def update( method get_meta_data (line 193) | def get_meta_data(self): method close (line 213) | def close(self): method drop (line 230) | def drop(self): method get_newest_version (line 245) | def get_newest_version(self) -> Union[int, str, Any]: method need_rebuild (line 258) | def need_rebuild(self) -> bool: class Index (line 277) | class Index: method __init__ (line 284) | def __init__(self, index: Optional[IIndex]): method upsert_data (line 295) | def upsert_data(self, delta_list: List[DeltaRecord]): method delete_data (line 311) | def delete_data(self, delta_list: List[DeltaRecord]): method search (line 327) | def search( method update (line 370) | def update( method get_meta_data (line 390) | def get_meta_data(self) -> Dict[str, Any]: method drop (line 405) | def drop(self): method close (line 419) | def close(self): method get_newest_version (line 430) | def get_newest_version(self) -> Union[int, str, Any]: method need_rebuild (line 445) | def need_rebuild(self) -> bool: method aggregate (line 460) | def aggregate( FILE: openviking/storage/vectordb/index/local_index.py function normalize_vector (line 19) | def normalize_vector(vector: List[float]) -> List[float]: class IndexEngineProxy (line 42) | class IndexEngineProxy: method __init__ (line 58) | def __init__(self, index_path_or_json: str, normalize_vector_flag: boo... method search (line 70) | def search( method add_data (line 102) | def add_data(self, cands_list: List[CandidateData]): method upsert_data (line 120) | def upsert_data(self, delta_list: List[DeltaRecord]): method delete_data (line 139) | def delete_data(self, delta_list: List[DeltaRecord]): method dump (line 149) | def dump(self, path: str) -> int: method get_update_ts (line 154) | def get_update_ts(self) -> int: method get_data_count (line 165) | def get_data_count(self) -> int: method drop (line 176) | def drop(self): class LocalIndex (line 185) | class LocalIndex(IIndex): method __init__ (line 202) | def __init__(self, index_path_or_json: str, meta: Any): method update (line 218) | def update( method get_meta_data (line 232) | def get_meta_data(self): method upsert_data (line 235) | def upsert_data(self, delta_list: List[DeltaRecord]): method delete_data (line 239) | def delete_data(self, delta_list: List[DeltaRecord]): method search (line 243) | def search( method aggregate (line 267) | def aggregate( method close (line 308) | def close(self): method drop (line 311) | def drop(self): method get_newest_version (line 316) | def get_newest_version(self) -> Union[int, str, Any]: method need_rebuild (line 319) | def need_rebuild(self) -> bool: method get_data_count (line 329) | def get_data_count(self) -> int: method _convert_delta_list_for_index (line 335) | def _convert_delta_list_for_index(self, delta_list: List[DeltaRecord])... method _convert_candidate_list_for_index (line 358) | def _convert_candidate_list_for_index( class VolatileIndex (line 380) | class VolatileIndex(LocalIndex): method __init__ (line 401) | def __init__(self, name: str, meta: Any, cands_list: Optional[List[Can... method need_rebuild (line 435) | def need_rebuild(self) -> bool: method get_newest_version (line 449) | def get_newest_version(self) -> int: class PersistentIndex (line 460) | class PersistentIndex(LocalIndex): method __init__ (line 490) | def __init__( method _create_new_index (line 544) | def _create_new_index( method close (line 578) | def close(self): method persist (line 607) | def persist(self) -> int: method _clean_index (line 653) | def _clean_index(self, not_clean: List[str]): method get_newest_version (line 680) | def get_newest_version(self) -> int: method drop (line 722) | def drop(self): method need_rebuild (line 735) | def need_rebuild(self) -> bool: FILE: openviking/storage/vectordb/meta/collection_meta.py function create_collection_meta (line 12) | def create_collection_meta( class CollectionMeta (line 37) | class CollectionMeta: method __init__ (line 43) | def __init__(self, idict: IDict): method _build_inner_meta (line 54) | def _build_inner_meta(user_meta: Dict[str, Any]) -> Dict[str, Any]: method _get_user_meta (line 111) | def _get_user_meta(inner_meta: Dict[str, Any]) -> Dict[str, Any]: method update (line 136) | def update(self, additional_user_meta: Dict[str, Any]) -> bool: method get_raw_copy (line 156) | def get_raw_copy(self) -> Dict[str, Any]: method get_meta_data (line 164) | def get_meta_data(self) -> Dict[str, Any]: method drop (line 172) | def drop(self): method collection_name (line 177) | def collection_name(self) -> str: method primary_key (line 182) | def primary_key(self) -> str: method fields_dict (line 187) | def fields_dict(self) -> Dict[str, Any]: method vectorize (line 192) | def vectorize(self) -> Dict[str, Any]: method vector_key (line 197) | def vector_key(self) -> str: method sparse_vector_key (line 202) | def sparse_vector_key(self) -> str: method has_sparse (line 207) | def has_sparse(self) -> bool: method vector_dim (line 212) | def vector_dim(self) -> int: method vector_dim (line 217) | def vector_dim(self, vector_dim: int): FILE: openviking/storage/vectordb/meta/dict.py class Dict (line 8) | class Dict: method __init__ (line 14) | def __init__(self, idict: "IDict"): method get (line 23) | def get(self, key: str, default: Any = None) -> Any: method drop (line 35) | def drop(self): method update (line 39) | def update(self, data: TypeDict[str, Any]): method get_raw_copy (line 47) | def get_raw_copy(self) -> TypeDict[str, Any]: method get_raw (line 55) | def get_raw(self) -> TypeDict[str, Any]: class IDict (line 64) | class IDict(ABC): method __init__ (line 67) | def __init__(self): method update (line 71) | def update(self, datas: TypeDict[str, Any]): method override (line 80) | def override(self, data: TypeDict[str, Any]): method get (line 89) | def get(self, key: str, default: Any = None) -> Any: method drop (line 102) | def drop(self): method get_raw_copy (line 107) | def get_raw_copy(self) -> TypeDict[str, Any]: method get_raw (line 116) | def get_raw(self) -> TypeDict[str, Any]: FILE: openviking/storage/vectordb/meta/index_meta.py function create_index_meta (line 13) | def create_index_meta( class IndexMeta (line 45) | class IndexMeta: method __init__ (line 51) | def __init__(self, collection_meta: CollectionMeta, idict: IDict): method _build_inner_meta (line 64) | def _build_inner_meta( method _get_user_meta (line 116) | def _get_user_meta( method update (line 139) | def update(self, additional_user_meta: Dict[str, Any]) -> bool: method get_build_index_dict (line 165) | def get_build_index_dict(self) -> Dict[str, Any]: method get_meta_data (line 174) | def get_meta_data(self) -> Dict[str, Any]: method has_sparse (line 182) | def has_sparse(self) -> bool: FILE: openviking/storage/vectordb/meta/local_dict.py class LocalDict (line 11) | class LocalDict(IDict): method __init__ (line 14) | def __init__(self, data: Optional[Dict[str, Any]] = None): method update (line 23) | def update(self, data: Dict[str, Any]): method override (line 32) | def override(self, data: Dict[str, Any]): method get (line 40) | def get(self, key: str, default: Any = None) -> Any: method drop (line 52) | def drop(self): method get_raw (line 56) | def get_raw(self) -> Dict[str, Any]: method get_raw_copy (line 64) | def get_raw_copy(self) -> Dict[str, Any]: class VolatileDict (line 73) | class VolatileDict(LocalDict): method __init__ (line 76) | def __init__(self, data: Optional[Dict[str, Any]] = None): class PersistentDict (line 85) | class PersistentDict(LocalDict): method __init__ (line 88) | def __init__(self, path: str, data: Optional[Dict[str, Any]] = None): method override (line 106) | def override(self, data: Dict[str, Any]): method update (line 115) | def update(self, data: Dict[str, Any]): method _persist (line 124) | def _persist(self): method drop (line 135) | def drop(self): FILE: openviking/storage/vectordb/project/http_project.py function get_or_create_http_project (line 15) | def get_or_create_http_project( class HttpProject (line 33) | class HttpProject: method __init__ (line 40) | def __init__(self, host: str = "127.0.0.1", port: int = 5000, project_... method _load_existing_collections (line 57) | def _load_existing_collections(self): method close (line 97) | def close(self): method has_collection (line 106) | def has_collection(self, collection_name: str) -> bool: method get_collection (line 118) | def get_collection(self, collection_name: str) -> Optional[Collection]: method list_collections (line 130) | def list_collections(self): method get_collections (line 139) | def get_collections(self) -> Dict[str, Collection]: method create_collection (line 148) | def create_collection(self, collection_name: str, meta_data: Dict[str,... method add_collection (line 183) | def add_collection(self, collection_name: str, collection: Collection)... method drop_collection (line 197) | def drop_collection(self, collection_name: str): method get_or_create_collection (line 209) | def get_or_create_collection( FILE: openviking/storage/vectordb/project/local_project.py function get_or_create_local_project (line 13) | def get_or_create_local_project(path: str = ""): class LocalProject (line 33) | class LocalProject: method __init__ (line 41) | def __init__(self, path: str = ""): method _load_existing_collections (line 56) | def _load_existing_collections(self): method close (line 102) | def close(self): method has_collection (line 111) | def has_collection(self, collection_name: str) -> bool: method get_collection (line 122) | def get_collection(self, collection_name: str) -> Optional[Collection]: method list_collections (line 133) | def list_collections(self): method get_collections (line 141) | def get_collections(self) -> Dict[str, Collection]: method create_collection (line 149) | def create_collection(self, collection_name: str, meta_data: Dict[str,... method add_collection (line 183) | def add_collection(self, collection_name: str, collection: Collection)... method drop_collection (line 196) | def drop_collection(self, collection_name: str): method get_or_create_collection (line 207) | def get_or_create_collection( FILE: openviking/storage/vectordb/project/project.py class IProject (line 7) | class IProject(ABC): method __init__ (line 14) | def __init__(self, project_name: str = "default"): method close (line 23) | def close(self): method has_collection (line 31) | def has_collection(self, collection_name: str) -> bool: method get_collection (line 43) | def get_collection(self, collection_name: str) -> Any: method get_collections (line 55) | def get_collections(self) -> Dict[str, Any]: method create_collection (line 64) | def create_collection(self, collection_name: str, collection_meta: Dic... method drop_collection (line 77) | def drop_collection(self, collection_name: str): class Project (line 86) | class Project: method __init__ (line 94) | def __init__(self, project): method close (line 106) | def close(self): method has_collection (line 110) | def has_collection(self, collection_name): method get_collection (line 121) | def get_collection(self, collection_name): method get_collections (line 132) | def get_collections(self): method create_collection (line 140) | def create_collection(self, collection_name, collection_meta): method drop_collection (line 156) | def drop_collection(self, collection_name): FILE: openviking/storage/vectordb/project/project_group.py function get_or_create_project_group (line 14) | def get_or_create_project_group(path: str = ""): class ProjectGroup (line 37) | class ProjectGroup: method __init__ (line 46) | def __init__(self, path: str = ""): method _load_existing_projects (line 65) | def _load_existing_projects(self): method close (line 116) | def close(self): method has_project (line 125) | def has_project(self, project_name: str) -> bool: method get_project (line 137) | def get_project(self, project_name: str) -> Optional[LocalProject]: method list_projects (line 149) | def list_projects(self): method get_projects (line 158) | def get_projects(self) -> Dict[str, LocalProject]: method create_project (line 167) | def create_project(self, project_name: str) -> LocalProject: method get_or_create_project (line 198) | def get_or_create_project(self, project_name: str) -> LocalProject: method create_local_project (line 214) | def create_local_project(self, project_name: str) -> LocalProject: method get_or_create_local_project (line 226) | def get_or_create_local_project(self, project_name: str) -> LocalProject: method delete_project (line 238) | def delete_project(self, project_name: str): method drop_project (line 253) | def drop_project(self, project_name: str): FILE: openviking/storage/vectordb/project/vikingdb_project.py function get_or_create_vikingdb_project (line 16) | def get_or_create_vikingdb_project( class VikingDBProject (line 57) | class VikingDBProject: method __init__ (line 63) | def __init__( method close (line 92) | def close(self): method has_collection (line 96) | def has_collection(self, collection_name: str) -> bool: method get_collection (line 104) | def get_collection(self, collection_name: str) -> Optional[Collection]: method _get_collections (line 133) | def _get_collections(self) -> List[str]: method list_collections (line 149) | def list_collections(self) -> List[str]: method get_collections (line 154) | def get_collections(self) -> Dict[str, Collection]: method create_collection (line 174) | def create_collection(self, collection_name: str, meta_data: Dict[str,... method get_or_create_collection (line 178) | def get_or_create_collection( method drop_collection (line 200) | def drop_collection(self, collection_name: str): FILE: openviking/storage/vectordb/project/volcengine_project.py function get_or_create_volcengine_project (line 13) | def get_or_create_volcengine_project( class VolcengineProject (line 44) | class VolcengineProject: method __init__ (line 51) | def __init__(self, ak: str, sk: str, region: str, project_name: str = ... method close (line 69) | def close(self): method has_collection (line 78) | def has_collection(self, collection_name: str) -> bool: method get_collection (line 90) | def get_collection(self, collection_name: str) -> Optional[Collection]: method list_collections (line 102) | def list_collections(self): method get_collections (line 111) | def get_collections(self) -> Dict[str, Collection]: method create_collection (line 120) | def create_collection(self, collection_name: str, meta_data: Dict[str,... method add_collection (line 160) | def add_collection(self, collection_name: str, collection: Collection)... method drop_collection (line 174) | def drop_collection(self, collection_name: str): method get_or_create_collection (line 192) | def get_or_create_collection( FILE: openviking/storage/vectordb/service/api_fastapi.py function success_response (line 34) | def success_response(message: str, data: Any = None, request: Request = ... function error_response (line 50) | def error_response(message: str, code: int, data: Any = None, request: R... class VikingDBException (line 62) | class VikingDBException(Exception): method __init__ (line 63) | def __init__(self, code: ErrorCode, message: str): function get_project (line 87) | def get_project(project_name: str = "default"): function get_collection_or_raise (line 92) | def get_collection_or_raise(collection_name: str, project_name: str = "d... function get_collection_dependency (line 105) | def get_collection_dependency( function get_collection_dependency_snake (line 115) | def get_collection_dependency_snake( function create_collection (line 128) | async def create_collection(request: CollectionCreateRequest, req: Reque... function update_collection (line 165) | async def update_collection(request: CollectionUpdateRequest, req: Reque... function get_collection_info (line 184) | async def get_collection_info(req: Request, collection: Any = Depends(ge... function list_collections (line 191) | async def list_collections( function drop_collection (line 201) | async def drop_collection(request: CollectionDropRequest, req: Request): function upsert_data (line 231) | async def upsert_data(request: DataUpsertRequest, req: Request): function fetch_data (line 250) | async def fetch_data( function delete_data (line 262) | async def delete_data(request: DataDeleteRequest, req: Request): function create_index (line 284) | async def create_index(request: IndexCreateRequest, req: Request): function update_index (line 317) | async def update_index(request: IndexUpdateRequest, req: Request): function get_index_info (line 338) | async def get_index_info( function list_indexes (line 352) | async def list_indexes(req: Request, collection: Any = Depends(get_colle... function drop_index (line 359) | async def drop_index(request: IndexDropRequest, req: Request): function search_by_vector (line 380) | async def search_by_vector(request: SearchByVectorRequest, req: Request): function search_by_id (line 421) | async def search_by_id(request: SearchByIdRequest, req: Request): function search_by_multimodal (line 463) | async def search_by_multimodal(request: SearchByMultiModalRequest, req: ... function search_by_scalar (line 518) | async def search_by_scalar(request: SearchByScalarRequest, req: Request): function search_by_random (line 562) | async def search_by_random(request: SearchByRandomRequest, req: Request): function search_by_keywords (line 599) | async def search_by_keywords(request: SearchByKeywordsRequest, req: Requ... function clear_resource (line 654) | def clear_resource(): FILE: openviking/storage/vectordb/service/app_models.py class CollectionCreateRequest (line 10) | class CollectionCreateRequest(BaseModel): class CollectionUpdateRequest (line 18) | class CollectionUpdateRequest(BaseModel): class CollectionInfoRequest (line 25) | class CollectionInfoRequest(BaseModel): class CollectionListRequest (line 30) | class CollectionListRequest(BaseModel): class CollectionDropRequest (line 34) | class CollectionDropRequest(BaseModel): class DataUpsertRequest (line 42) | class DataUpsertRequest(BaseModel): class DataFetchRequest (line 49) | class DataFetchRequest(BaseModel): class DataDeleteRequest (line 55) | class DataDeleteRequest(BaseModel): class IndexCreateRequest (line 65) | class IndexCreateRequest(BaseModel): class IndexUpdateRequest (line 74) | class IndexUpdateRequest(BaseModel): class IndexInfoRequest (line 82) | class IndexInfoRequest(BaseModel): class IndexListRequest (line 88) | class IndexListRequest(BaseModel): class IndexDropRequest (line 93) | class IndexDropRequest(BaseModel): class SearchByVectorRequest (line 102) | class SearchByVectorRequest(BaseModel): class SearchByIdRequest (line 114) | class SearchByIdRequest(BaseModel): class SearchByMultiModalRequest (line 125) | class SearchByMultiModalRequest(BaseModel): class SearchByScalarRequest (line 138) | class SearchByScalarRequest(BaseModel): class SearchByRandomRequest (line 150) | class SearchByRandomRequest(BaseModel): class SearchByKeywordsRequest (line 160) | class SearchByKeywordsRequest(BaseModel): class ApiResponse (line 175) | class ApiResponse(BaseModel): class Config (line 183) | class Config: FILE: openviking/storage/vectordb/service/code.py class ErrorCode (line 6) | class ErrorCode(Enum): FILE: openviking/storage/vectordb/service/server_fastapi.py function lifespan (line 29) | async def lifespan(app: FastAPI): function vikingdb_exception_handler (line 62) | async def vikingdb_exception_handler(request: Request, exc: VikingDBExce... function request_tracking_middleware (line 79) | async def request_tracking_middleware(request: Request, call_next): function root (line 119) | async def root() -> Dict[str, str]: function health (line 129) | async def health() -> Dict[str, Any]: FILE: openviking/storage/vectordb/store/bytes_row.py class FieldMeta (line 18) | class FieldMeta: class _PyFieldType (line 28) | class _PyFieldType(Enum): class _PySchema (line 40) | class _PySchema: method __init__ (line 43) | def __init__(self, fields): method get_field_meta (line 99) | def get_field_meta(self, field_name: str) -> FieldMeta: method get_field_order (line 105) | def get_field_order(self) -> List[FieldMeta]: class _PyBytesRow (line 110) | class _PyBytesRow: method __init__ (line 111) | def __init__(self, schema: _PySchema): method serialize (line 115) | def serialize(self, row_data) -> bytes: method serialize_batch (line 210) | def serialize_batch(self, rows_data) -> List[bytes]: method deserialize_field (line 213) | def deserialize_field(self, serialized_data, field_name): method deserialize (line 263) | def deserialize(self, serialized_data): FILE: openviking/storage/vectordb/store/data.py class CandidateData (line 12) | class CandidateData: method __str__ (line 20) | def __str__(self): method __repr__ (line 31) | def __repr__(self): class DeltaRecord (line 37) | class DeltaRecord: class Type (line 38) | class Type: method __str__ (line 50) | def __str__(self): method __repr__ (line 62) | def __repr__(self): class TTLData (line 68) | class TTLData: FILE: openviking/storage/vectordb/store/file_store.py class FileStore (line 11) | class FileStore(IKVStore): method __init__ (line 12) | def __init__(self, base_path: Optional[str] = None): method _validate_path (line 22) | def _validate_path(self, key: str) -> Path: method get (line 52) | def get(self, key: str) -> Optional[bytes]: method put (line 83) | def put(self, key: str, value: bytes) -> bool: method delete (line 143) | def delete(self, key: str) -> bool: FILE: openviking/storage/vectordb/store/local_store.py function create_store_engine_proxy (line 12) | def create_store_engine_proxy(path: str = "") -> "StoreEngineProxy": class StoreEngineProxy (line 26) | class StoreEngineProxy(IMutiTableStore): method __init__ (line 36) | def __init__(self, storage_engine: Union[engine.PersistStore, engine.V... method read (line 45) | def read(self, keys: List[str], table_name: str) -> List[bytes]: method write (line 61) | def write(self, keys: List[str], values: List[bytes], table_name: str): method delete (line 72) | def delete(self, keys: List[str], table_name: str): method clear (line 82) | def clear(self): method read_all (line 86) | def read_all(self, table_name: str) -> List[Tuple[str, bytes]]: method begin_to_seek (line 105) | def begin_to_seek(self, end_key: str, table_name: str) -> List[Tuple[s... method seek_to_end (line 124) | def seek_to_end(self, start_key: str, table_name: str) -> List[Tuple[s... method exec_sequence (line 143) | def exec_sequence(self, op: List[Op], table_name: str): method exec_sequence_batch_op (line 164) | def exec_sequence_batch_op(self, batch_op_list: List[BatchOp]): FILE: openviking/storage/vectordb/store/serializable.py function _python_type_to_field_type (line 13) | def _python_type_to_field_type(py_type: Any, field_name: str) -> FieldType: function serializable (line 48) | def serializable(cls): FILE: openviking/storage/vectordb/store/store.py class IKVStore (line 8) | class IKVStore(ABC): method __init__ (line 15) | def __init__(self): method get (line 19) | def get(self, key): method put (line 34) | def put(self, key, value): method delete (line 47) | def delete(self, key): class OpType (line 59) | class OpType(Enum): class Op (line 66) | class Op: method __init__ (line 72) | def __init__(self, op_type: OpType, key: str, data: Any): class BatchOp (line 85) | class BatchOp: method __init__ (line 91) | def __init__( class IMutiTableStore (line 112) | class IMutiTableStore(ABC): method __init__ (line 119) | def __init__(self): method read (line 123) | def read(self, keys: List[str], table_name: str) -> List[bytes]: method write (line 139) | def write(self, keys: List[str], values: List[bytes], table_name: str): method delete (line 153) | def delete(self, keys: List[str], table_name: str): method clear (line 166) | def clear(self): method read_all (line 178) | def read_all(self, table_name: str) -> List[Tuple[str, bytes]]: method seek_to_end (line 193) | def seek_to_end(self, key: str, table_name: str) -> List[Tuple[str, by... method begin_to_seek (line 209) | def begin_to_seek(self, key: str, table_name: str) -> List[Tuple[str, ... method exec_sequence (line 225) | def exec_sequence(self, op: List[Op], table_name: str): method exec_sequence_batch_op (line 238) | def exec_sequence_batch_op(self, op: List[BatchOp]): FILE: openviking/storage/vectordb/store/store_manager.py function create_store_manager (line 12) | def create_store_manager(type: str, path: str = "") -> "StoreManager": class StoreManager (line 32) | class StoreManager: method __init__ (line 46) | def __init__(self, storage_engine: IMutiTableStore): method add_cands_data (line 54) | def add_cands_data( method delete_data (line 130) | def delete_data( method fetch_cands_data (line 182) | def fetch_cands_data(self, label_list: List[int]) -> List[Optional[Can... method get_all_cands_data (line 201) | def get_all_cands_data(self) -> List[CandidateData]: method clear (line 211) | def clear(self): method get_delta_data_after_ts (line 215) | def get_delta_data_after_ts(self, ns_ts: int) -> List[DeltaRecord]: method delete_delta_data_before_ts (line 231) | def delete_delta_data_before_ts(self, ns_ts: int) -> List[DeltaRecord]: method expire_data (line 249) | def expire_data(self) -> List[DeltaRecord]: FILE: openviking/storage/vectordb/utils/api_utils.py function form_error (line 6) | def form_error(err: Any, code: int = 400, data: Optional[Dict] = None) -... function form_res (line 12) | def form_res(data: Any = None, code: int = 200, message: str = "success"... FILE: openviking/storage/vectordb/utils/config_utils.py function get_config_value (line 7) | def get_config_value( FILE: openviking/storage/vectordb/utils/constants.py class TableNames (line 13) | class TableNames(str, Enum): class SpecialFields (line 22) | class SpecialFields(str, Enum): class AggregateKeys (line 29) | class AggregateKeys(str, Enum): class IndexFileMarkers (line 37) | class IndexFileMarkers(str, Enum): FILE: openviking/storage/vectordb/utils/data_processor.py function get_pydantic_type (line 22) | def get_pydantic_type(field_type: str) -> Type: function _split_str_list (line 43) | def _split_str_list(v: Any) -> Any: class DataProcessor (line 50) | class DataProcessor: method __init__ (line 71) | def __init__( method _build_validator_model (line 82) | def _build_validator_model(self) -> Type[BaseModel]: method validate_and_process (line 153) | def validate_and_process(self, data: Dict[str, Any]) -> Dict[str, Any]: method normalize_field_type (line 166) | def normalize_field_type(cls, field_type: Any) -> str: method get_engine_scalar_type (line 172) | def get_engine_scalar_type(cls, field_type: Any) -> Optional[str]: method get_geo_point_engine_fields (line 177) | def get_geo_point_engine_fields(cls, field_name: str) -> Tuple[str, str]: method build_scalar_index_meta (line 180) | def build_scalar_index_meta(self, user_scalar_fields: List[str]) -> Li... method user_scalar_fields_from_engine (line 202) | def user_scalar_fields_from_engine(self, engine_scalar_meta: List[Dict... method parse_datetime_to_epoch_ms (line 219) | def parse_datetime_to_epoch_ms(self, value: Any) -> int: method parse_geo_point (line 245) | def parse_geo_point(self, value: str) -> Tuple[float, float]: method parse_radius (line 265) | def parse_radius(self, value: Any) -> float: method convert_fields_dict_for_index (line 289) | def convert_fields_dict_for_index(self, field_data_dict: Dict[str, Any... method convert_fields_for_index (line 334) | def convert_fields_for_index(self, fields_json: str) -> str: method _convert_time_range_node (line 341) | def _convert_time_range_node(self, node: Dict[str, Any], field_type: s... method _convert_geo_range_node (line 351) | def _convert_geo_range_node(self, node: Dict[str, Any]) -> Dict[str, A... method _convert_field_conds (line 377) | def _convert_field_conds(self, node: Dict[str, Any]) -> Dict[str, Any]: method _convert_range_node (line 396) | def _convert_range_node(self, node: Dict[str, Any]) -> Dict[str, Any]: method _convert_filter_node (line 409) | def _convert_filter_node(self, node: Dict[str, Any]) -> Dict[str, Any]: method convert_filter_for_index (line 430) | def convert_filter_for_index(self, filters: Dict[str, Any]) -> Dict[st... FILE: openviking/storage/vectordb/utils/data_utils.py function convert_dict (line 8) | def convert_dict(p: Union[str, Dict, List], no_exception: bool = False) ... FILE: openviking/storage/vectordb/utils/dict_utils.py class ThreadSafeDictManager (line 9) | class ThreadSafeDictManager(Generic[T]): method __init__ (line 26) | def __init__(self): method get (line 30) | def get(self, name: str) -> Optional[T]: method set (line 35) | def set(self, name: str, item: T): method remove (line 40) | def remove(self, name: str) -> Optional[T]: method has (line 45) | def has(self, name: str) -> bool: method list_names (line 50) | def list_names(self) -> List[str]: method get_all (line 55) | def get_all(self) -> Dict[str, T]: method clear (line 60) | def clear(self): method is_empty (line 65) | def is_empty(self) -> bool: method count (line 70) | def count(self) -> int: method iterate (line 75) | def iterate(self, callback: Callable[[str, T], None]): method get_all_with_lock (line 89) | def get_all_with_lock(self): class _DictLockContext (line 100) | class _DictLockContext: method __init__ (line 103) | def __init__(self, lock, items): method __enter__ (line 107) | def __enter__(self): method __exit__ (line 111) | def __exit__(self, exc_type, exc_val, exc_tb): function filter_dict_key_with_prefix (line 116) | def filter_dict_key_with_prefix(d: Dict[str, Any], prefix: str = "_") ->... function recursive_update_dict (line 142) | def recursive_update_dict(target: Dict[Any, Any], source: Dict[Any, Any]... FILE: openviking/storage/vectordb/utils/file_utils.py function touch_file (line 6) | def touch_file(file_path: str) -> None: FILE: openviking/storage/vectordb/utils/id_generator.py class SnowflakeGenerator (line 9) | class SnowflakeGenerator: method __init__ (line 36) | def __init__(self, worker_id: int = None, datacenter_id: int = None): method _current_timestamp (line 64) | def _current_timestamp(self): method next_id (line 67) | def next_id(self) -> int: function generate_auto_id (line 112) | def generate_auto_id() -> int: FILE: openviking/storage/vectordb/utils/logging_init.py function _convert_python_format_to_spdlog (line 12) | def _convert_python_format_to_spdlog(py_format: str) -> str: function init_cpp_logging (line 44) | def init_cpp_logging(): FILE: openviking/storage/vectordb/utils/stale_lock.py function clean_stale_rocksdb_locks (line 40) | def clean_stale_rocksdb_locks(data_dir: str) -> int: FILE: openviking/storage/vectordb/utils/str_to_uint64.py function str_to_uint64 (line 6) | def str_to_uint64(input_string: str) -> int: FILE: openviking/storage/vectordb/utils/validation.py class ValidationError (line 13) | class ValidationError(Exception): method __init__ (line 14) | def __init__(self, message: str, field_path: str = None): function validate_name_str (line 22) | def validate_name_str(name: str) -> str: class FieldTypeEnum (line 46) | class FieldTypeEnum(str, Enum): class DenseVectorize (line 63) | class DenseVectorize(BaseModel): method check_fields (line 76) | def check_fields(cls, v): method check_required (line 83) | def check_required(self): class SparseVectorize (line 96) | class SparseVectorize(BaseModel): class VectorizeConfig (line 104) | class VectorizeConfig(BaseModel): class CollectionField (line 111) | class CollectionField(BaseModel): method validate_fieldname (line 125) | def validate_fieldname(cls, v): method validate_dim (line 130) | def validate_dim(cls, v): method validate_field_logic (line 137) | def validate_field_logic(cls, m): class CollectionMetaConfig (line 147) | class CollectionMetaConfig(BaseModel): method validate_names (line 161) | def validate_names(cls, v): method validate_fields_list (line 168) | def validate_fields_list(cls, fields): class VectorIndexConfig (line 182) | class VectorIndexConfig(BaseModel): method case_insensitive (line 198) | def case_insensitive(cls, v): method validate_index_type (line 209) | def validate_index_type(cls, v): method validate_distance (line 216) | def validate_distance(cls, v): method validate_quant (line 223) | def validate_quant(cls, v): class IndexMetaConfig (line 229) | class IndexMetaConfig(BaseModel): method validate_names (line 241) | def validate_names(cls, v): class IndexMetaUpdateConfig (line 247) | class IndexMetaUpdateConfig(BaseModel): method validate_names (line 259) | def validate_names(cls, v): class CollectionMetaUpdateConfig (line 265) | class CollectionMetaUpdateConfig(BaseModel): method validate_names (line 276) | def validate_names(cls, v): method validate_fields_list (line 283) | def validate_fields_list(cls, fields): function _handle_validation_error (line 302) | def _handle_validation_error(e: PydanticValidationError): function validate_collection_meta_data (line 317) | def validate_collection_meta_data(meta_data: dict) -> None: function is_valid_collection_meta_data (line 324) | def is_valid_collection_meta_data(meta_data: dict) -> bool: function validate_collection_meta_data_for_update (line 332) | def validate_collection_meta_data_for_update(meta_data: dict, field_meta... function is_valid_collection_meta_data_for_update (line 339) | def is_valid_collection_meta_data_for_update(meta_data: dict, field_meta... function validate_index_meta_data (line 347) | def validate_index_meta_data(meta_data: dict, field_meta_dict: dict) -> ... function is_valid_index_meta_data (line 361) | def is_valid_index_meta_data(meta_data: dict, field_meta_dict: dict) -> ... function validate_index_meta_data_for_update (line 369) | def validate_index_meta_data_for_update(meta_data: dict, field_meta_dict... function is_valid_index_meta_data_for_update (line 382) | def is_valid_index_meta_data_for_update(meta_data: dict, field_meta_dict... function fix_collection_meta (line 390) | def fix_collection_meta(meta_data: dict) -> dict: function validate_fields_data (line 446) | def validate_fields_data(field_data_dict: dict, field_meta_dict: dict) -... function is_valid_fields_data (line 476) | def is_valid_fields_data(field_data_dict: dict, field_meta_dict: dict) -... function fix_fields_data (line 485) | def fix_fields_data(field_data_dict: dict, field_meta_dict: dict) -> dict: FILE: openviking/storage/vectordb/vectorize/base.py class VectorizeResult (line 11) | class VectorizeResult: method __init__ (line 14) | def __init__( method __repr__ (line 26) | def __repr__(self): class BaseVectorizer (line 33) | class BaseVectorizer(ABC): method __init__ (line 36) | def __init__(self, config: Dict[str, Any]): method vectorize_query (line 48) | def vectorize_query(self, texts: List[str]) -> VectorizeResult: method vectorize_document (line 61) | def vectorize_document( method close (line 80) | def close(self): FILE: openviking/storage/vectordb/vectorize/vectorizer.py class DenseMeta (line 6) | class DenseMeta(TypedDict, total=False): class SparseMeta (line 15) | class SparseMeta(TypedDict, total=False): class VectorizeMeta (line 20) | class VectorizeMeta(TypedDict, total=False): class VectorizerAdapter (line 25) | class VectorizerAdapter: method __init__ (line 32) | def __init__(self, vectorizer: Any, vectorize_meta: VectorizeMeta): method get_dim (line 62) | def get_dim(self) -> int: method vectorize_raw_data (line 70) | def vectorize_raw_data( method vectorize_one (line 96) | def vectorize_one( FILE: openviking/storage/vectordb/vectorize/vectorizer_factory.py class ModelType (line 10) | class ModelType(Enum): class VectorizerFactory (line 18) | class VectorizerFactory: method register (line 24) | def register(cls, model_type: ModelType, vectorizer_class: type): method create (line 30) | def create( FILE: openviking/storage/vectordb/vectorize/volcengine_vectorizer.py class ClientForDataApi (line 16) | class ClientForDataApi: method __init__ (line 17) | def __init__(self, ak, sk, host, region): method prepare_request (line 23) | def prepare_request(self, method, path, params=None, data=None): method do_req (line 45) | def do_req(self, req_method, req_path, req_params, req_body): class VolcengineVectorizer (line 58) | class VolcengineVectorizer(BaseVectorizer): method __init__ (line 59) | def __init__(self, config: Dict[str, Any]): method vectorize_query (line 100) | def vectorize_query(self, texts: List[str]) -> VectorizeResult: method _build_request_body (line 124) | def _build_request_body( method _parse_response (line 148) | def _parse_response( method vectorize_document (line 179) | def vectorize_document( method get_dense_vector_dim (line 248) | def get_dense_vector_dim( method close (line 262) | def close(self): method __del__ (line 266) | def __del__(self): FILE: openviking/storage/vectordb_adapters/base.py function _parse_url (line 32) | def _parse_url(url: str) -> tuple[str, int]: function _normalize_collection_names (line 42) | def _normalize_collection_names(raw_collections: Iterable[Any]) -> list[... class CollectionAdapter (line 54) | class CollectionAdapter(ABC): method __init__ (line 64) | def __init__(self, collection_name: str): method collection_name (line 69) | def collection_name(self) -> str: method from_config (line 74) | def from_config(cls, config: Any) -> "CollectionAdapter": method _load_existing_collection_if_needed (line 78) | def _load_existing_collection_if_needed(self) -> None: method _create_backend_collection (line 82) | def _create_backend_collection(self, meta: Dict[str, Any]) -> Collection: method collection_exists (line 85) | def collection_exists(self) -> bool: method get_collection (line 89) | def get_collection(self) -> Collection: method create_collection (line 95) | def create_collection( method drop_collection (line 129) | def drop_collection(self) -> bool: method close (line 155) | def close(self) -> None: method get_collection_info (line 160) | def get_collection_info(self) -> Optional[Dict[str, Any]]: method _sanitize_scalar_index_fields (line 165) | def _sanitize_scalar_index_fields( method _build_default_index_meta (line 172) | def _build_default_index_meta( method _normalize_record_for_read (line 196) | def _normalize_record_for_read(self, record: Dict[str, Any]) -> Dict[s... method _normalize_record_for_write (line 203) | def _normalize_record_for_write(self, record: Dict[str, Any]) -> Dict[... method _encode_uri_field_value (line 211) | def _encode_uri_field_value(value: Any) -> Any: method _decode_uri_field_value (line 221) | def _decode_uri_field_value(value: Any) -> Any: method _normalize_filter_payload_for_write (line 232) | def _normalize_filter_payload_for_write(self, payload: Any) -> Any: method _compile_filter (line 259) | def _compile_filter(self, expr: FilterExpr | Dict[str, Any] | None) ->... method sanitize_scalar_index_fields (line 338) | def sanitize_scalar_index_fields( method build_default_index_meta (line 348) | def build_default_index_meta( method normalize_record_for_read (line 365) | def normalize_record_for_read(self, record: Dict[str, Any]) -> Dict[st... method compile_filter (line 368) | def compile_filter(self, expr: FilterExpr | Dict[str, Any] | None) -> ... method upsert (line 371) | def upsert(self, data: Dict[str, Any] | list[Dict[str, Any]]) -> list[... method get (line 385) | def get(self, ids: list[str]) -> list[Dict[str, Any]]: method query (line 406) | def query( method delete (line 459) | def delete( method _coerce_int (line 479) | def _coerce_int(value: Any) -> Optional[int]: method count (line 492) | def count(self, filter: Optional[Dict[str, Any] | FilterExpr] = None) ... method clear (line 506) | def clear(self) -> bool: FILE: openviking/storage/vectordb_adapters/factory.py function create_collection_adapter (line 21) | def create_collection_adapter(config) -> CollectionAdapter: FILE: openviking/storage/vectordb_adapters/http_adapter.py class HttpCollectionAdapter (line 19) | class HttpCollectionAdapter(CollectionAdapter): method __init__ (line 22) | def __init__(self, host: str, port: int, project_name: str, collection... method from_config (line 30) | def from_config(cls, config: Any): method _meta (line 41) | def _meta(self) -> Dict[str, Any]: method _remote_has_collection (line 47) | def _remote_has_collection(self) -> bool: method _load_existing_collection_if_needed (line 55) | def _load_existing_collection_if_needed(self) -> None: method _create_backend_collection (line 68) | def _create_backend_collection(self, meta: Dict[str, Any]) -> Collection: FILE: openviking/storage/vectordb_adapters/local_adapter.py class LocalCollectionAdapter (line 17) | class LocalCollectionAdapter(CollectionAdapter): method __init__ (line 22) | def __init__(self, collection_name: str, project_path: str): method from_config (line 28) | def from_config(cls, config: Any): method _collection_path (line 34) | def _collection_path(self) -> str: method _load_existing_collection_if_needed (line 39) | def _load_existing_collection_if_needed(self) -> None: method _create_backend_collection (line 49) | def _create_backend_collection(self, meta: Dict[str, Any]) -> Collection: FILE: openviking/storage/vectordb_adapters/vikingdb_private_adapter.py class VikingDBPrivateCollectionAdapter (line 16) | class VikingDBPrivateCollectionAdapter(CollectionAdapter): method __init__ (line 19) | def __init__( method from_config (line 34) | def from_config(cls, config: Any): method _client (line 44) | def _client(self) -> VikingDBClient: method _fetch_collection_meta (line 47) | def _fetch_collection_meta(self) -> Optional[Dict[str, Any]]: method _load_existing_collection_if_needed (line 60) | def _load_existing_collection_if_needed(self) -> None: method _create_backend_collection (line 74) | def _create_backend_collection(self, meta: Dict[str, Any]) -> Collection: method _sanitize_scalar_index_fields (line 80) | def _sanitize_scalar_index_fields( method _build_default_index_meta (line 90) | def _build_default_index_meta( method _normalize_record_for_read (line 114) | def _normalize_record_for_read(self, record: Dict[str, Any]) -> Dict[s... FILE: openviking/storage/vectordb_adapters/volcengine_adapter.py class VolcengineCollectionAdapter (line 18) | class VolcengineCollectionAdapter(CollectionAdapter): method __init__ (line 21) | def __init__( method from_config (line 38) | def from_config(cls, config: Any): method _meta (line 54) | def _meta(self) -> Dict[str, Any]: method _config (line 60) | def _config(self) -> Dict[str, Any]: method _new_collection_handle (line 67) | def _new_collection_handle(self) -> VolcengineCollection: method _load_existing_collection_if_needed (line 75) | def _load_existing_collection_if_needed(self) -> None: method _create_backend_collection (line 83) | def _create_backend_collection(self, meta: Dict[str, Any]) -> Collection: method _sanitize_scalar_index_fields (line 91) | def _sanitize_scalar_index_fields( method _build_default_index_meta (line 101) | def _build_default_index_meta( method _normalize_record_for_read (line 125) | def _normalize_record_for_read(self, record: Dict[str, Any]) -> Dict[s... FILE: openviking/storage/viking_fs.py class RelationEntry (line 44) | class RelationEntry: method to_dict (line 52) | def to_dict(self) -> Dict[str, Any]: method from_dict (line 61) | def from_dict(data: Dict[str, Any]) -> "RelationEntry": function init_viking_fs (line 70) | def init_viking_fs( function _enable_viking_fs_recorder (line 103) | def _enable_viking_fs_recorder(viking_fs: "VikingFS") -> None: function enable_viking_fs_recorder (line 126) | def enable_viking_fs_recorder() -> None: function get_viking_fs (line 139) | def get_viking_fs() -> "VikingFS": class VikingFS (line 149) | class VikingFS: method __init__ (line 161) | def __init__( method _default_ctx (line 178) | def _default_ctx() -> RequestContext: method _ctx_or_default (line 181) | def _ctx_or_default(self, ctx: Optional[RequestContext]) -> RequestCon... method bind_request_context (line 188) | def bind_request_context(self, ctx: RequestContext): method _normalize_uri (line 197) | def _normalize_uri(uri: str) -> str: method _normalized_uri_parts (line 204) | def _normalized_uri_parts(cls, uri: str) -> tuple[str, List[str]]: method _ensure_access (line 223) | def _ensure_access(self, uri: str, ctx: Optional[RequestContext]) -> N... method read (line 231) | async def read( method write (line 249) | async def write( method mkdir (line 262) | async def mkdir( method rm (line 284) | async def rm( method mv (line 333) | async def mv( method grep (line 403) | async def grep( method stat (line 430) | async def stat(self, uri: str, ctx: Optional[RequestContext] = None) -... method exists (line 440) | async def exists(self, uri: str, ctx: Optional[RequestContext] = None)... method glob (line 456) | async def glob( method _batch_fetch_abstracts (line 476) | async def _batch_fetch_abstracts( method tree (line 507) | async def tree( method _tree_original (line 544) | async def _tree_original( method _tree_agent (line 583) | async def _tree_agent( method abstract (line 633) | async def abstract( method overview (line 648) | async def overview( method relations (line 663) | async def relations( method find (line 681) | async def find( method search (line 768) | async def search( method link (line 910) | async def link( method unlink (line 936) | async def unlink( method get_relation_table (line 973) | async def get_relation_table( method _shorten_component (line 987) | def _shorten_component(component: str, max_bytes: int = 255) -> str: method _uri_to_path (line 1002) | def _uri_to_path(self, uri: str, ctx: Optional[RequestContext] = None)... method _ls_entries (line 1020) | def _ls_entries(self, path: str) -> List[Dict[str, Any]]: method _path_to_uri (line 1032) | def _path_to_uri(self, path: str, ctx: Optional[RequestContext] = None... method _extract_space_from_uri (line 1056) | def _extract_space_from_uri(self, uri: str) -> Optional[str]: method _is_accessible (line 1079) | def _is_accessible(self, uri: str, ctx: RequestContext) -> bool: method _handle_agfs_read (line 1103) | def _handle_agfs_read(self, result: Union[bytes, Any, None]) -> bytes: method _decode_bytes (line 1118) | def _decode_bytes(self, data: bytes) -> str: method _handle_agfs_content (line 1134) | def _handle_agfs_content(self, result: Union[bytes, Any, None]) -> str: method _infer_context_type (line 1149) | def _infer_context_type(self, uri: str): method _collect_uris (line 1163) | async def _collect_uris( method _delete_from_vector_store (line 1188) | async def _delete_from_vector_store( method _update_vector_store_uris (line 1207) | async def _update_vector_store_uris( method _mv_vector_store_l0_l1 (line 1242) | async def _mv_vector_store_l0_l1( method _get_vector_store (line 1301) | def _get_vector_store(self) -> Optional["VikingVectorIndexBackend"]: method _get_embedder (line 1305) | def _get_embedder(self) -> Any: method _ensure_parent_dirs (line 1311) | async def _ensure_parent_dirs(self, path: str) -> None: method _read_relation_table (line 1329) | async def _read_relation_table(self, dir_path: str) -> List[RelationEn... method _write_relation_table (line 1355) | async def _write_relation_table(self, dir_path: str, entries: List[Rel... method read_batch (line 1368) | async def read_batch( method write_file (line 1387) | async def write_file( method read_file (line 1402) | async def read_file( method read_file_bytes (line 1438) | async def read_file_bytes( method write_file_bytes (line 1451) | async def write_file_bytes( method append_file (line 1463) | async def append_file( method ls (line 1488) | async def ls( method _ls_agent (line 1521) | async def _ls_agent( method _ls_original (line 1569) | async def _ls_original( method move_file (line 1601) | async def move_file( method create_temp_uri (line 1619) | def create_temp_uri(self) -> str: method delete_temp (line 1623) | async def delete_temp(self, temp_uri: str, ctx: Optional[RequestContex... method get_relations (line 1640) | async def get_relations(self, uri: str, ctx: Optional[RequestContext] ... method get_relations_with_content (line 1650) | async def get_relations_with_content( method write_context (line 1680) | async def write_context( FILE: openviking/storage/viking_vector_index_backend.py class _SingleAccountBackend (line 21) | class _SingleAccountBackend: method __init__ (line 24) | def __init__( method _get_collection (line 57) | def _get_collection(self) -> Collection: method _get_meta_data (line 60) | def _get_meta_data(self, coll: Collection) -> Dict[str, Any]: method _refresh_meta_data (line 65) | def _refresh_meta_data(self, coll: Collection) -> None: method _filter_known_fields (line 68) | def _filter_known_fields(self, data: Dict[str, Any]) -> Dict[str, Any]: method create_collection (line 81) | async def create_collection(self, name: str, schema: Dict[str, Any]) -... method drop_collection (line 112) | async def drop_collection(self) -> bool: method collection_exists (line 123) | async def collection_exists(self) -> bool: method get_collection_info (line 126) | async def get_collection_info(self) -> Optional[Dict[str, Any]]: method upsert (line 141) | async def upsert(self, data: Dict[str, Any]) -> str: method get (line 169) | async def get(self, ids: List[str]) -> List[Dict[str, Any]]: method delete (line 179) | async def delete(self, ids: List[str]) -> int: method delete_by_filter (line 193) | async def delete_by_filter(self, filter: FilterExpr) -> int: method exists (line 201) | async def exists(self, id: str) -> bool: method fetch_by_uri (line 207) | async def fetch_by_uri(self, uri: str) -> Optional[Dict[str, Any]]: method query (line 220) | async def query( method search (line 261) | async def search( method filter (line 279) | async def filter( method remove_by_uri (line 297) | async def remove_by_uri(self, uri: str) -> int: method _remove_descendants (line 318) | async def _remove_descendants(self, parent_uri: str) -> int: method scroll (line 335) | async def scroll( method count (line 352) | async def count(self, filter: Optional[Dict[str, Any] | FilterExpr] = ... method clear (line 368) | async def clear(self) -> bool: method optimize (line 377) | async def optimize(self) -> bool: method close (line 381) | async def close(self) -> None: method health_check (line 390) | async def health_check(self) -> bool: method get_stats (line 397) | async def get_stats(self) -> Dict[str, Any]: method is_closing (line 418) | def is_closing(self) -> bool: class VikingVectorIndexBackend (line 422) | class VikingVectorIndexBackend: method __init__ (line 428) | def __init__(self, config: Optional[VectorDBBackendConfig]): method collection_name (line 451) | def collection_name(self) -> str: method mode (line 455) | def mode(self) -> str: method _get_default_backend (line 462) | def _get_default_backend(self) -> _SingleAccountBackend: method _get_backend_for_account (line 466) | def _get_backend_for_account(self, account_id: str) -> _SingleAccountB... method _get_backend_for_context (line 476) | def _get_backend_for_context(self, ctx: RequestContext) -> _SingleAcco... method _get_root_backend (line 480) | def _get_root_backend(self) -> _SingleAccountBackend: method _check_root_role (line 489) | def _check_root_role(self, ctx: RequestContext) -> None: method create_collection (line 498) | async def create_collection(self, name: str, schema: Dict[str, Any]) -... method drop_collection (line 501) | async def drop_collection(self) -> bool: method collection_exists (line 504) | async def collection_exists(self) -> bool: method collection_exists_bound (line 507) | async def collection_exists_bound(self) -> bool: method get_collection_info (line 510) | async def get_collection_info(self) -> Optional[Dict[str, Any]]: method upsert (line 517) | async def upsert(self, data: Dict[str, Any], *, ctx: RequestContext) -... method get (line 529) | async def get(self, ids: List[str], *, ctx: RequestContext) -> List[Di... method delete (line 533) | async def delete(self, ids: List[str], *, ctx: RequestContext) -> int: method exists (line 537) | async def exists(self, id: str, *, ctx: RequestContext) -> bool: method fetch_by_uri (line 541) | async def fetch_by_uri(self, uri: str, *, ctx: RequestContext) -> Opti... method query (line 545) | async def query( method search (line 570) | async def search( method filter (line 591) | async def filter( method remove_by_uri (line 612) | async def remove_by_uri(self, uri: str, *, ctx: RequestContext) -> int: method scroll (line 616) | async def scroll( method count (line 633) | async def count( method clear (line 645) | async def clear(self, *, ctx: Optional[RequestContext] = None) -> bool: method optimize (line 652) | async def optimize(self) -> bool: method close (line 655) | async def close(self) -> None: method health_check (line 667) | async def health_check(self) -> bool: method get_stats (line 670) | async def get_stats(self) -> Dict[str, Any]: method is_closing (line 674) | def is_closing(self) -> bool: method has_queue_manager (line 678) | def has_queue_manager(self) -> bool: method enqueue_embedding_msg (line 681) | async def enqueue_embedding_msg(self, _embedding_msg) -> bool: method search_in_tenant (line 688) | async def search_in_tenant( method search_global_roots_in_tenant (line 714) | async def search_global_roots_in_tenant( method search_children_in_tenant (line 744) | async def search_children_in_tenant( method search_similar_memories (line 772) | async def search_similar_memories( method get_context_by_uri (line 798) | async def get_context_by_uri( method delete_account_data (line 816) | async def delete_account_data(self, account_id: str, *, ctx: RequestCo... method delete_uris (line 822) | async def delete_uris(self, ctx: RequestContext, uris: List[str]) -> N... method update_uri_mapping (line 839) | async def update_uri_mapping( method increment_active_count (line 903) | async def increment_active_count(self, ctx: RequestContext, uris: List... method _build_scope_filter (line 924) | def _build_scope_filter( method _tenant_filter (line 958) | def _tenant_filter( method _merge_filters (line 991) | def _merge_filters(*filters: Optional[FilterExpr]) -> Optional[FilterE... FILE: openviking/storage/vikingdb_manager.py class VikingDBManager (line 21) | class VikingDBManager(VikingVectorIndexBackend): method __init__ (line 35) | def __init__( method mark_closing (line 56) | def mark_closing(self) -> None: method close (line 65) | async def close(self) -> None: method is_closing (line 79) | def is_closing(self) -> bool: method queue_manager (line 88) | def queue_manager(self): method embedding_queue (line 93) | def embedding_queue(self) -> Optional["EmbeddingQueue"]: method has_queue_manager (line 102) | def has_queue_manager(self) -> bool: method enqueue_embedding_msg (line 110) | async def enqueue_embedding_msg(self, embedding_msg: "EmbeddingMsg") -... method get_embedding_queue_size (line 138) | async def get_embedding_queue_size(self) -> int: method get_embedder (line 155) | def get_embedder(self): class VikingDBManagerProxy (line 172) | class VikingDBManagerProxy: method __init__ (line 191) | def __init__( method ctx (line 207) | def ctx(self) -> RequestContext: method manager (line 212) | def manager(self) -> VikingDBManager: method collection_name (line 217) | def collection_name(self) -> str: method mode (line 221) | def mode(self) -> str: method queue_manager (line 229) | def queue_manager(self): method embedding_queue (line 233) | def embedding_queue(self) -> Optional["EmbeddingQueue"]: method has_queue_manager (line 237) | def has_queue_manager(self) -> bool: method mark_closing (line 240) | def mark_closing(self) -> None: method is_closing (line 244) | def is_closing(self) -> bool: method enqueue_embedding_msg (line 251) | async def enqueue_embedding_msg(self, embedding_msg: "EmbeddingMsg") -... method get_embedding_queue_size (line 254) | async def get_embedding_queue_size(self) -> int: method get_embedder (line 257) | def get_embedder(self): method create_collection (line 264) | async def create_collection(self, name: str, schema: Dict[str, Any]) -... method drop_collection (line 267) | async def drop_collection(self) -> bool: method collection_exists (line 270) | async def collection_exists(self) -> bool: method collection_exists_bound (line 273) | async def collection_exists_bound(self) -> bool: method get_collection_info (line 276) | async def get_collection_info(self) -> Optional[Dict[str, Any]]: method upsert (line 283) | async def upsert(self, data: Dict[str, Any]) -> str: method get (line 286) | async def get(self, ids: List[str]) -> List[Dict[str, Any]]: method delete (line 289) | async def delete(self, ids: List[str]) -> int: method exists (line 292) | async def exists(self, id: str) -> bool: method fetch_by_uri (line 295) | async def fetch_by_uri(self, uri: str) -> Optional[Dict[str, Any]]: method query (line 298) | async def query( method search (line 321) | async def search( method filter (line 340) | async def filter( method remove_by_uri (line 359) | async def remove_by_uri(self, uri: str) -> int: method scroll (line 362) | async def scroll( method count (line 377) | async def count( method clear (line 383) | async def clear(self) -> bool: method optimize (line 386) | async def optimize(self) -> bool: method close (line 389) | async def close(self) -> None: method health_check (line 392) | async def health_check(self) -> bool: method get_stats (line 395) | async def get_stats(self) -> Dict[str, Any]: method search_in_tenant (line 402) | async def search_in_tenant( method search_global_roots_in_tenant (line 423) | async def search_global_roots_in_tenant( method search_children_in_tenant (line 442) | async def search_children_in_tenant( method search_similar_memories (line 463) | async def search_similar_memories( method get_context_by_uri (line 478) | async def get_context_by_uri( method delete_account_data (line 493) | async def delete_account_data(self, account_id: str) -> int: method delete_uris (line 496) | async def delete_uris(self, uris: List[str]) -> None: method update_uri_mapping (line 499) | async def update_uri_mapping( method increment_active_count (line 512) | async def increment_active_count(self, uris: List[str]) -> int: FILE: openviking/sync_client.py class SyncOpenViking (line 19) | class SyncOpenViking: method __init__ (line 25) | def __init__(self, **kwargs): method initialize (line 29) | def initialize(self) -> None: method session (line 34) | def session(self, session_id: Optional[str] = None, must_exist: bool =... method session_exists (line 38) | def session_exists(self, session_id: str) -> bool: method create_session (line 42) | def create_session(self) -> Dict[str, Any]: method list_sessions (line 46) | def list_sessions(self) -> List[Any]: method get_session (line 50) | def get_session(self, session_id: str) -> Dict[str, Any]: method delete_session (line 54) | def delete_session(self, session_id: str) -> None: method add_message (line 58) | def add_message( method commit_session (line 77) | def commit_session( method add_resource (line 83) | def add_resource( method add_skill (line 123) | def add_skill( method search (line 135) | def search( method find (line 153) | def find( method abstract (line 174) | def abstract(self, uri: str) -> str: method overview (line 178) | def overview(self, uri: str) -> str: method read (line 182) | def read(self, uri: str, offset: int = 0, limit: int = -1) -> str: method ls (line 186) | def ls(self, uri: str, **kwargs) -> List[Any]: method link (line 197) | def link(self, from_uri: str, uris: Any, reason: str = "") -> None: method unlink (line 201) | def unlink(self, from_uri: str, uri: str) -> None: method export_ovpack (line 205) | def export_ovpack(self, uri: str, to: str) -> str: method import_ovpack (line 209) | def import_ovpack( method close (line 215) | def close(self) -> None: method relations (line 219) | def relations(self, uri: str) -> List[Dict[str, Any]]: method rm (line 223) | def rm(self, uri: str, recursive: bool = False) -> None: method wait_processed (line 227) | def wait_processed(self, timeout: float = None) -> Dict[str, Any]: method grep (line 231) | def grep(self, uri: str, pattern: str, case_insensitive: bool = False)... method glob (line 235) | def glob(self, pattern: str, uri: str = "viking://") -> Dict: method mv (line 239) | def mv(self, from_uri: str, to_uri: str) -> None: method tree (line 243) | def tree(self, uri: str, **kwargs) -> Dict: method stat (line 247) | def stat(self, uri: str) -> Dict: method mkdir (line 251) | def mkdir(self, uri: str) -> None: method get_status (line 255) | def get_status(self): method is_healthy (line 265) | def is_healthy(self) -> bool: method observer (line 276) | def observer(self): method reset (line 283) | def reset(cls) -> None: FILE: openviking/telemetry/backends/memory.py class MemoryOperationTelemetry (line 8) | class MemoryOperationTelemetry(OperationTelemetry): FILE: openviking/telemetry/context.py function get_current_telemetry (line 20) | def get_current_telemetry() -> OperationTelemetry: function bind_telemetry (line 26) | def bind_telemetry(handle: OperationTelemetry) -> Iterator[OperationTele... FILE: openviking/telemetry/execution.py class TelemetryExecutionResult (line 20) | class TelemetryExecutionResult(Generic[T]): function parse_telemetry_selection (line 28) | def parse_telemetry_selection(telemetry: TelemetryRequest) -> TelemetryS... function build_telemetry_payload (line 36) | def build_telemetry_payload( function attach_telemetry_payload (line 55) | def attach_telemetry_payload( function run_with_telemetry (line 75) | async def run_with_telemetry( FILE: openviking/telemetry/operation.py class TelemetrySnapshot (line 17) | class TelemetrySnapshot: method to_usage_dict (line 23) | def to_usage_dict(self) -> Dict[str, Any]: method to_dict (line 29) | def to_dict( class TelemetrySummaryBuilder (line 40) | class TelemetrySummaryBuilder: method _i (line 67) | def _i(value: Any, default: int = 0) -> int: method _f (line 76) | def _f(value: Any, default: float = 0.0) -> float: method _bool (line 85) | def _bool(value: Any, default: bool = False) -> bool: method _prune_zero_metrics (line 101) | def _prune_zero_metrics(cls, value: Any) -> Any: method _has_metric_prefix (line 120) | def _has_metric_prefix( method build (line 129) | def build( class OperationTelemetry (line 274) | class OperationTelemetry: method __init__ (line 277) | def __init__( method count (line 293) | def count(self, key: str, delta: float = 1) -> None: method increment (line 299) | def increment(self, key: str, delta: float = 1) -> None: method set (line 302) | def set(self, key: str, value: Any) -> None: method set_value (line 308) | def set_value(self, key: str, value: Any) -> None: method add_duration (line 311) | def add_duration(self, key: str, duration_ms: float) -> None: method measure (line 328) | def measure(self, key: str) -> Iterator[None]: method add_token_usage (line 339) | def add_token_usage(self, input_tokens: int, output_tokens: int) -> None: method record_token_usage (line 342) | def record_token_usage(self, source: str, input_tokens: int, output_to... method add_token_usage_by_source (line 345) | def add_token_usage_by_source( method set_error (line 362) | def set_error(self, stage: str, code: str, message: str) -> None: method record_error (line 370) | def record_error(self, stage: str, code: str, message: str) -> None: method finish (line 373) | def finish(self, status: str = "ok") -> Optional[TelemetrySnapshot]: FILE: openviking/telemetry/registry.py function register_telemetry (line 15) | def register_telemetry(handle: OperationTelemetry) -> None: function resolve_telemetry (line 22) | def resolve_telemetry(telemetry_id: str) -> OperationTelemetry | None: function unregister_telemetry (line 29) | def unregister_telemetry(telemetry_id: str) -> None: FILE: openviking/telemetry/request.py class TelemetrySelection (line 17) | class TelemetrySelection: method include_payload (line 23) | def include_payload(self) -> bool: function normalize_telemetry_request (line 27) | def normalize_telemetry_request( FILE: openviking/telemetry/resource_summary.py function _consume_semantic_request_stats (line 14) | def _consume_semantic_request_stats(telemetry_id: str): function _consume_embedding_request_stats (line 23) | def _consume_embedding_request_stats(telemetry_id: str): function _consume_semantic_dag_stats (line 32) | def _consume_semantic_dag_stats(telemetry_id: str, root_uri: str | None): function register_wait_telemetry (line 41) | def register_wait_telemetry(wait: bool) -> str: function unregister_wait_telemetry (line 50) | def unregister_wait_telemetry(telemetry_id: str) -> None: function build_queue_status_payload (line 55) | def build_queue_status_payload(status: Dict[str, Any]) -> Dict[str, Dict... function _resolve_queue_group (line 67) | def _resolve_queue_group( function record_resource_wait_metrics (line 85) | def record_resource_wait_metrics( FILE: openviking/telemetry/runtime.py class MemoryTelemetryMeter (line 12) | class MemoryTelemetryMeter: method __init__ (line 19) | def __init__(self): method _key (line 26) | def _key(metric: str, attrs: Dict[str, Any] | None) -> Tuple[str, Tupl... method increment (line 30) | def increment(self, metric: str, value: float = 1, attrs: Dict[str, An... method record_histogram (line 35) | def record_histogram( method set_gauge (line 42) | def set_gauge(self, metric: str, value: Any, attrs: Dict[str, Any] | N... method record_event (line 47) | def record_event( class TelemetryRuntime (line 55) | class TelemetryRuntime: method meter (line 58) | def meter(self) -> MemoryTelemetryMeter: function get_telemetry_runtime (line 65) | def get_telemetry_runtime() -> TelemetryRuntime: function set_telemetry_runtime (line 69) | def set_telemetry_runtime(runtime: TelemetryRuntime) -> None: FILE: openviking/utils/agfs_utils.py function create_agfs_client (line 16) | def create_agfs_client(agfs_config: Any) -> Any: function mount_agfs_backend (line 76) | def mount_agfs_backend(agfs: Any, agfs_config: Any) -> None: FILE: openviking/utils/code_hosting_utils.py function parse_code_hosting_url (line 16) | def parse_code_hosting_url(url: str) -> Optional[str]: function is_github_url (line 79) | def is_github_url(url: str) -> bool: function is_gitlab_url (line 92) | def is_gitlab_url(url: str) -> bool: function is_code_hosting_url (line 105) | def is_code_hosting_url(url: str) -> bool: function validate_git_ssh_uri (line 133) | def validate_git_ssh_uri(url: str) -> None: function is_git_repo_url (line 149) | def is_git_repo_url(url: str) -> bool: FILE: openviking/utils/embedding_utils.py function _decrement_embedding_tracker (line 23) | async def _decrement_embedding_tracker(semantic_msg_id: Optional[str], c... function _owner_space_for_uri (line 39) | def _owner_space_for_uri(uri: str, ctx: RequestContext) -> str: function get_resource_content_type (line 48) | def get_resource_content_type(file_name: str) -> Optional[ResourceConten... function vectorize_directory_meta (line 129) | async def vectorize_directory_meta( function vectorize_file (line 209) | async def vectorize_file( function index_resource (line 309) | async def index_resource( FILE: openviking/utils/media_processor.py class UnifiedResourceProcessor (line 21) | class UnifiedResourceProcessor: method __init__ (line 24) | def __init__( method _get_vlm_processor (line 33) | def _get_vlm_processor(self) -> Optional["VLMProcessor"]: method _get_document_converter (line 40) | def _get_document_converter(self) -> DocumentConverter: method process (line 45) | async def process( method _is_url (line 71) | def _is_url(self, source: str) -> bool: method _process_url (line 75) | async def _process_url(self, url: str, instruction: str, **kwargs) -> ... method _process_directory (line 95) | async def _process_directory( method _process_file (line 115) | async def _process_file( FILE: openviking/utils/process_lock.py class DataDirectoryLocked (line 20) | class DataDirectoryLocked(RuntimeError): function _read_pid_file (line 24) | def _read_pid_file(lock_path: str) -> int: function _is_pid_alive (line 33) | def _is_pid_alive(pid: int) -> bool: function acquire_data_dir_lock (line 53) | def acquire_data_dir_lock(data_dir: str) -> str: FILE: openviking/utils/resource_processor.py class ResourceProcessor (line 30) | class ResourceProcessor: method __init__ (line 43) | def __init__( method _get_summarizer (line 59) | def _get_summarizer(self) -> "Summarizer": method _get_vlm_processor (line 65) | def _get_vlm_processor(self) -> "VLMProcessor": method _get_media_processor (line 73) | def _get_media_processor(self): method build_index (line 84) | async def build_index( method summarize (line 92) | async def summarize( method process_resource (line 98) | async def process_resource( method _try_acquire_lifecycle_lock (line 294) | async def _try_acquire_lifecycle_lock(lock_manager, path: str) -> str: FILE: openviking/utils/skill_processor.py class SkillProcessor (line 29) | class SkillProcessor: method __init__ (line 41) | def __init__(self, vikingdb: VikingDBManager): method process_skill (line 45) | async def process_skill( method _parse_skill (line 138) | def _parse_skill(self, data: Any) -> tuple[Dict[str, Any], List[Path],... method _generate_overview (line 185) | async def _generate_overview(self, skill_dict: Dict[str, Any], config)... method _write_skill_content (line 199) | async def _write_skill_content( method _write_auxiliary_files (line 218) | async def _write_auxiliary_files( method _index_skill (line 246) | async def _index_skill(self, context: Context, skill_dir_uri: str): FILE: openviking/utils/summarizer.py class Summarizer (line 21) | class Summarizer: method __init__ (line 26) | def __init__(self, vlm_processor: "VLMProcessor"): method summarize (line 29) | async def summarize( FILE: openviking/utils/time_utils.py function parse_iso_datetime (line 8) | def parse_iso_datetime(value: str) -> datetime: function format_iso8601 (line 21) | def format_iso8601(dt: datetime) -> str: function format_simplified (line 36) | def format_simplified(dt: datetime, now: datetime) -> str: function get_current_timestamp (line 50) | def get_current_timestamp() -> str: FILE: openviking_cli/client/base.py class BaseClient (line 14) | class BaseClient(ABC): method initialize (line 23) | async def initialize(self) -> None: method close (line 28) | async def close(self) -> None: method add_resource (line 35) | async def add_resource( method add_skill (line 50) | async def add_skill( method wait_processed (line 61) | async def wait_processed(self, timeout: Optional[float] = None) -> Dic... method ls (line 68) | async def ls( method tree (line 82) | async def tree( method stat (line 94) | async def stat(self, uri: str) -> Dict[str, Any]: method mkdir (line 99) | async def mkdir(self, uri: str) -> None: method rm (line 104) | async def rm(self, uri: str, recursive: bool = False) -> None: method mv (line 109) | async def mv(self, from_uri: str, to_uri: str) -> None: method read (line 116) | async def read(self, uri: str, offset: int = 0, limit: int = -1) -> str: method abstract (line 127) | async def abstract(self, uri: str) -> str: method overview (line 132) | async def overview(self, uri: str) -> str: method find (line 139) | async def find( method search (line 152) | async def search( method grep (line 166) | async def grep(self, uri: str, pattern: str, case_insensitive: bool = ... method glob (line 171) | async def glob(self, pattern: str, uri: str = "viking://") -> Dict[str... method relations (line 178) | async def relations(self, uri: str) -> List[Dict[str, Any]]: method link (line 183) | async def link(self, from_uri: str, to_uris: Union[str, List[str]], re... method unlink (line 188) | async def unlink(self, from_uri: str, to_uri: str) -> None: method create_session (line 195) | async def create_session(self) -> Dict[str, Any]: method list_sessions (line 200) | async def list_sessions(self) -> List[Dict[str, Any]]: method get_session (line 205) | async def get_session(self, session_id: str) -> Dict[str, Any]: method delete_session (line 210) | async def delete_session(self, session_id: str) -> None: method commit_session (line 215) | async def commit_session( method add_message (line 222) | async def add_message( method export_ovpack (line 244) | async def export_ovpack(self, uri: str, to: str) -> str: method import_ovpack (line 249) | async def import_ovpack( method health (line 258) | async def health(self) -> bool: method session (line 263) | def session(self, session_id: Optional[str] = None, must_exist: bool =... method session_exists (line 282) | async def session_exists(self, session_id: str) -> bool: method get_status (line 294) | def get_status(self) -> Any: method is_healthy (line 303) | def is_healthy(self) -> bool: method observer (line 313) | def observer(self) -> Any: FILE: openviking_cli/client/http.py class _HTTPObserver (line 67) | class _HTTPObserver: method __init__ (line 73) | def __init__(self, client: "AsyncHTTPClient"): method _fetch_queue_status (line 77) | async def _fetch_queue_status(self) -> Dict[str, Any]: method _fetch_vikingdb_status (line 81) | async def _fetch_vikingdb_status(self) -> Dict[str, Any]: method _fetch_vlm_status (line 85) | async def _fetch_vlm_status(self) -> Dict[str, Any]: method _fetch_system_status (line 89) | async def _fetch_system_status(self) -> Dict[str, Any]: method queue (line 94) | def queue(self) -> Dict[str, Any]: method vikingdb (line 99) | def vikingdb(self) -> Dict[str, Any]: method vlm (line 104) | def vlm(self) -> Dict[str, Any]: method system (line 109) | def system(self) -> Dict[str, Any]: method is_healthy (line 113) | def is_healthy(self) -> bool: class AsyncHTTPClient (line 119) | class AsyncHTTPClient(BaseClient): method __init__ (line 133) | def __init__( method initialize (line 185) | async def initialize(self) -> None: method close (line 203) | async def close(self) -> None: method _handle_response_data (line 214) | def _handle_response_data(self, response: httpx.Response) -> Dict[str,... method _handle_response (line 234) | def _handle_response(self, response: httpx.Response) -> Any: method _validate_telemetry (line 239) | def _validate_telemetry(telemetry: TelemetryRequest) -> TelemetryRequest: method _attach_telemetry (line 244) | def _attach_telemetry(result: Any, response_data: Dict[str, Any]) -> Any: method _raise_exception (line 260) | def _raise_exception(self, error: Dict[str, Any]) -> None: method _is_local_server (line 286) | def _is_local_server(self) -> bool: method _zip_directory (line 294) | def _zip_directory(self, dir_path: str) -> str: method _upload_temp_file (line 312) | async def _upload_temp_file(self, file_path: str) -> str: method add_resource (line 325) | async def add_resource( method add_skill (line 388) | async def add_skill( method wait_processed (line 429) | async def wait_processed(self, timeout: Optional[float] = None) -> Dic... method ls (line 441) | async def ls( method tree (line 467) | async def tree( method stat (line 489) | async def stat(self, uri: str) -> Dict[str, Any]: method mkdir (line 498) | async def mkdir(self, uri: str) -> None: method rm (line 507) | async def rm(self, uri: str, recursive: bool = False) -> None: method mv (line 517) | async def mv(self, from_uri: str, to_uri: str) -> None: method read (line 529) | async def read(self, uri: str, offset: int = 0, limit: int = -1) -> str: method abstract (line 544) | async def abstract(self, uri: str) -> str: method overview (line 553) | async def overview(self, uri: str) -> str: method find (line 564) | async def find( method search (line 593) | async def search( method grep (line 626) | async def grep( method glob (line 648) | async def glob(self, pattern: str, uri: str = "viking://") -> Dict[str... method relations (line 659) | async def relations(self, uri: str) -> List[Any]: method link (line 668) | async def link(self, from_uri: str, to_uris: Union[str, List[str]], re... method unlink (line 681) | async def unlink(self, from_uri: str, to_uri: str) -> None: method create_session (line 694) | async def create_session(self) -> Dict[str, Any]: method list_sessions (line 702) | async def list_sessions(self) -> List[Any]: method get_session (line 707) | async def get_session(self, session_id: str) -> Dict[str, Any]: method delete_session (line 712) | async def delete_session(self, session_id: str) -> None: method commit_session (line 717) | async def commit_session( method add_message (line 729) | async def add_message( method export_ovpack (line 762) | async def export_ovpack(self, uri: str, to: str) -> str: method import_ovpack (line 772) | async def import_ovpack( method health (line 803) | async def health(self) -> bool: method _get_queue_status (line 814) | async def _get_queue_status(self) -> Dict[str, Any]: method _get_vikingdb_status (line 819) | async def _get_vikingdb_status(self) -> Dict[str, Any]: method _get_vlm_status (line 824) | async def _get_vlm_status(self) -> Dict[str, Any]: method _get_system_status (line 829) | async def _get_system_status(self) -> Dict[str, Any]: method admin_create_account (line 836) | async def admin_create_account(self, account_id: str, admin_user_id: s... method admin_list_accounts (line 844) | async def admin_list_accounts(self) -> List[Any]: method admin_delete_account (line 849) | async def admin_delete_account(self, account_id: str) -> Dict[str, Any]: method admin_register_user (line 854) | async def admin_register_user( method admin_list_users (line 864) | async def admin_list_users(self, account_id: str) -> List[Any]: method admin_remove_user (line 869) | async def admin_remove_user(self, account_id: str, user_id: str) -> Di... method admin_set_role (line 874) | async def admin_set_role(self, account_id: str, user_id: str, role: st... method admin_regenerate_key (line 882) | async def admin_regenerate_key(self, account_id: str, user_id: str) ->... method session (line 891) | def session(self, session_id: Optional[str] = None, must_exist: bool =... method session_exists (line 916) | async def session_exists(self, session_id: str) -> bool: method get_status (line 931) | def get_status(self) -> Dict[str, Any]: method is_healthy (line 939) | def is_healthy(self) -> bool: method observer (line 948) | def observer(self) -> _HTTPObserver: FILE: openviking_cli/client/sync_http.py class SyncHTTPClient (line 15) | class SyncHTTPClient: method __init__ (line 31) | def __init__( method initialize (line 52) | def initialize(self) -> None: method close (line 57) | def close(self) -> None: method session (line 64) | def session(self, session_id: Optional[str] = None, must_exist: bool =... method session_exists (line 77) | def session_exists(self, session_id: str) -> bool: method create_session (line 81) | def create_session(self) -> Dict[str, Any]: method list_sessions (line 85) | def list_sessions(self) -> List[Any]: method get_session (line 89) | def get_session(self, session_id: str) -> Dict[str, Any]: method delete_session (line 93) | def delete_session(self, session_id: str) -> None: method add_message (line 97) | def add_message( method commit_session (line 116) | def commit_session( method add_resource (line 124) | def add_resource( method add_skill (line 161) | def add_skill( method wait_processed (line 173) | def wait_processed(self, timeout: Optional[float] = None) -> Dict[str,... method search (line 179) | def search( method find (line 206) | def find( method grep (line 229) | def grep( method glob (line 239) | def glob(self, pattern: str, uri: str = "viking://") -> Dict: method ls (line 245) | def ls( method tree (line 268) | def tree( method stat (line 287) | def stat(self, uri: str) -> Dict: method mkdir (line 291) | def mkdir(self, uri: str) -> None: method rm (line 295) | def rm(self, uri: str, recursive: bool = False) -> None: method mv (line 299) | def mv(self, from_uri: str, to_uri: str) -> None: method read (line 305) | def read(self, uri: str, offset: int = 0, limit: int = -1) -> str: method abstract (line 309) | def abstract(self, uri: str) -> str: method overview (line 313) | def overview(self, uri: str) -> str: method relations (line 319) | def relations(self, uri: str) -> List[Dict[str, Any]]: method link (line 323) | def link(self, from_uri: str, uris: Union[str, List[str]], reason: str... method unlink (line 327) | def unlink(self, from_uri: str, uri: str) -> None: method export_ovpack (line 333) | def export_ovpack(self, uri: str, to: str) -> str: method import_ovpack (line 337) | def import_ovpack( method admin_create_account (line 345) | def admin_create_account(self, account_id: str, admin_user_id: str) ->... method admin_list_accounts (line 349) | def admin_list_accounts(self) -> List[Any]: method admin_delete_account (line 353) | def admin_delete_account(self, account_id: str) -> Dict[str, Any]: method admin_register_user (line 357) | def admin_register_user( method admin_list_users (line 363) | def admin_list_users(self, account_id: str) -> List[Any]: method admin_remove_user (line 367) | def admin_remove_user(self, account_id: str, user_id: str) -> Dict[str... method admin_set_role (line 371) | def admin_set_role(self, account_id: str, user_id: str, role: str) -> ... method admin_regenerate_key (line 375) | def admin_regenerate_key(self, account_id: str, user_id: str) -> Dict[... method health (line 381) | def health(self) -> bool: method get_status (line 385) | def get_status(self) -> Dict[str, Any]: method is_healthy (line 389) | def is_healthy(self) -> bool: method observer (line 394) | def observer(self): FILE: openviking_cli/exceptions.py class OpenVikingError (line 12) | class OpenVikingError(Exception): method __init__ (line 15) | def __init__(self, message: str, code: str = "UNKNOWN", details: Optio... class InvalidArgumentError (line 25) | class InvalidArgumentError(OpenVikingError): method __init__ (line 28) | def __init__(self, message: str, details: Optional[dict] = None): class InvalidURIError (line 32) | class InvalidURIError(InvalidArgumentError): method __init__ (line 35) | def __init__(self, uri: str, reason: str = ""): class UnsupportedDirectoryFilesError (line 42) | class UnsupportedDirectoryFilesError(InvalidArgumentError): method __init__ (line 45) | def __init__(self, message: str, unsupported_files: list): class NotFoundError (line 53) | class NotFoundError(OpenVikingError): method __init__ (line 56) | def __init__(self, resource: str, resource_type: str = "resource"): class AlreadyExistsError (line 63) | class AlreadyExistsError(OpenVikingError): method __init__ (line 66) | def __init__(self, resource: str, resource_type: str = "resource"): class ConflictError (line 73) | class ConflictError(OpenVikingError): method __init__ (line 76) | def __init__(self, message: str, resource: Optional[str] = None): class UnauthenticatedError (line 84) | class UnauthenticatedError(OpenVikingError): method __init__ (line 87) | def __init__(self, message: str = "Authentication required"): class PermissionDeniedError (line 91) | class PermissionDeniedError(OpenVikingError): method __init__ (line 94) | def __init__(self, message: str = "Permission denied", resource: Optio... class UnavailableError (line 102) | class UnavailableError(OpenVikingError): method __init__ (line 105) | def __init__(self, service: str = "service", reason: str = ""): class InternalError (line 114) | class InternalError(OpenVikingError): method __init__ (line 117) | def __init__(self, message: str = "Internal error", cause: Optional[Ex... class DeadlineExceededError (line 122) | class DeadlineExceededError(OpenVikingError): method __init__ (line 125) | def __init__(self, operation: str = "operation", timeout: Optional[flo... class ProcessingError (line 137) | class ProcessingError(OpenVikingError): method __init__ (line 140) | def __init__(self, message: str, source: Optional[str] = None): class EmbeddingFailedError (line 145) | class EmbeddingFailedError(ProcessingError): method __init__ (line 148) | def __init__(self, message: str = "Embedding generation failed", sourc... class VLMFailedError (line 153) | class VLMFailedError(ProcessingError): method __init__ (line 156) | def __init__(self, message: str = "VLM processing failed", source: Opt... class SessionExpiredError (line 161) | class SessionExpiredError(OpenVikingError): method __init__ (line 164) | def __init__(self, session_id: str): class NotInitializedError (line 169) | class NotInitializedError(OpenVikingError): method __init__ (line 172) | def __init__(self, component: str = "service"): FILE: openviking_cli/retrieve/types.py class ContextType (line 14) | class ContextType(str, Enum): class TraceEventType (line 22) | class TraceEventType(str, Enum): class TraceEvent (line 47) | class TraceEvent: method to_dict (line 65) | def to_dict(self) -> Dict[str, Any]: class ScoreDistribution (line 79) | class ScoreDistribution: method from_scores (line 98) | def from_scores( method to_dict (line 116) | def to_dict(self) -> Dict[str, Any]: class ThinkingTrace (line 130) | class ThinkingTrace: method add_event (line 151) | def add_event( method get_events (line 176) | def get_events(self, query_id: Optional[str] = None) -> List[TraceEvent]: method events (line 194) | def events(self) -> List[TraceEvent]: method get_statistics (line 198) | def get_statistics(self) -> Dict[str, Any]: method to_dict (line 224) | def to_dict(self) -> Dict[str, Any]: method to_messages (line 231) | def to_messages(self) -> List[str]: class TypedQuery (line 237) | class TypedQuery: class QueryPlan (line 257) | class QueryPlan: class RelatedContext (line 273) | class RelatedContext: class MatchedContext (line 281) | class MatchedContext: class QueryResult (line 297) | class QueryResult: method get_trace_messages (line 313) | def get_trace_messages(self) -> List[str]: class FindResult (line 319) | class FindResult: method __iter__ (line 339) | def __iter__(self): method __post_init__ (line 345) | def __post_init__(self): method to_dict (line 348) | def to_dict(self) -> Dict[str, Any]: method _context_to_dict (line 365) | def _context_to_dict(self, ctx: MatchedContext) -> Dict[str, Any]: method _query_to_dict (line 379) | def _query_to_dict(self, q: TypedQuery) -> Dict[str, Any]: method from_dict (line 389) | def from_dict(cls, data: Dict[str, Any]) -> "FindResult": FILE: openviking_cli/rust_cli.py function _exec_binary (line 27) | def _exec_binary(binary: str, argv: list[str]) -> None: function main (line 42) | def main(): FILE: openviking_cli/server_bootstrap.py function main (line 18) | def main(): FILE: openviking_cli/session/user_id.py class UserIdentifier (line 5) | class UserIdentifier(object): method __init__ (line 6) | def __init__(self, account_id: str, user_id: str, agent_id: str): method the_default_user (line 16) | def the_default_user(cls, default_username: str = "default"): method _validate_error (line 19) | def _validate_error(self) -> str: method account_id (line 37) | def account_id(self) -> str: method user_id (line 41) | def user_id(self) -> str: method agent_id (line 45) | def agent_id(self) -> str: method user_space_name (line 48) | def user_space_name(self) -> str: method agent_space_name (line 52) | def agent_space_name(self) -> str: method memory_space_uri (line 56) | def memory_space_uri(self) -> str: method work_space_uri (line 59) | def work_space_uri(self) -> str: method to_dict (line 62) | def to_dict(self): method from_dict (line 70) | def from_dict(cls, data: dict): method __str__ (line 73) | def __str__(self) -> str: method __repr__ (line 76) | def __repr__(self) -> str: method __eq__ (line 79) | def __eq__(self, other): FILE: openviking_cli/utils/async_utils.py function _get_loop (line 19) | def _get_loop() -> asyncio.AbstractEventLoop: function _shutdown_loop (line 34) | def _shutdown_loop(): function run_async (line 45) | def run_async(coro: Coroutine[None, None, T]) -> T: FILE: openviking_cli/utils/config/agfs_config.py class S3Config (line 8) | class S3Config(BaseModel): method validate_config (line 51) | def validate_config(self): class AGFSConfig (line 71) | class AGFSConfig(BaseModel): method validate_config (line 119) | def validate_config(self): FILE: openviking_cli/utils/config/config_loader.py function resolve_config_path (line 23) | def resolve_config_path( function load_json_config (line 67) | def load_json_config(path: Path) -> Dict[str, Any]: function require_config (line 91) | def require_config( FILE: openviking_cli/utils/config/embedding_config.py class EmbeddingModelConfig (line 8) | class EmbeddingModelConfig(BaseModel): method sync_provider_backend (line 71) | def sync_provider_backend(cls, data: Any) -> Any: method validate_config (line 85) | def validate_config(self): method get_effective_dimension (line 183) | def get_effective_dimension(self) -> int: class EmbeddingConfig (line 204) | class EmbeddingConfig(BaseModel): method validate_config (line 227) | def validate_config(self): method _create_embedder (line 235) | def _create_embedder( method get_embedder (line 430) | def get_embedder(self): method dimension (line 465) | def dimension(self) -> int: method get_dimension (line 469) | def get_dimension(self) -> int: method _require_provider (line 478) | def _require_provider(provider: Optional[str]) -> str: FILE: openviking_cli/utils/config/log_config.py class LogConfig (line 8) | class LogConfig(BaseModel): method from_dict (line 32) | def from_dict(cls, config: Dict[str, Any]) -> "LogConfig": method to_dict (line 36) | def to_dict(self) -> Dict[str, Any]: FILE: openviking_cli/utils/config/open_viking_config.py class OpenVikingConfig (line 38) | class OpenVikingConfig(BaseModel): method from_dict (line 137) | def from_dict(cls, config: Dict[str, Any]) -> "OpenVikingConfig": method to_dict (line 182) | def to_dict(self) -> Dict[str, Any]: class OpenVikingConfigSingleton (line 187) | class OpenVikingConfigSingleton: method get_instance (line 202) | def get_instance(cls) -> OpenVikingConfig: method initialize (line 224) | def initialize( method _load_from_file (line 253) | def _load_from_file(cls, config_file: str) -> "OpenVikingConfig": method reset_instance (line 270) | def reset_instance(cls) -> None: function get_openviking_config (line 277) | def get_openviking_config() -> OpenVikingConfig: function set_openviking_config (line 282) | def set_openviking_config(config: OpenVikingConfig) -> None: function is_valid_openviking_config (line 287) | def is_valid_openviking_config(config: OpenVikingConfig) -> bool: function initialize_openviking_config (line 325) | def initialize_openviking_config( FILE: openviking_cli/utils/config/parser_config.py class ParserConfig (line 17) | class ParserConfig: method from_dict (line 41) | def from_dict(cls, data: Dict[str, Any]) -> "ParserConfig": method from_yaml (line 60) | def from_yaml(cls, yaml_path: Union[str, Path]) -> "ParserConfig": method validate (line 88) | def validate(self) -> None: method to_dict (line 107) | def to_dict(self) -> Dict[str, Any]: class PDFConfig (line 124) | class PDFConfig(ParserConfig): method validate (line 154) | def validate(self) -> None: class CodeHostingConfig (line 185) | class CodeHostingConfig(ParserConfig): method __post_init__ (line 200) | def __post_init__(self): class CodeConfig (line 211) | class CodeConfig(CodeHostingConfig): method validate (line 241) | def validate(self) -> None: class ImageConfig (line 272) | class ImageConfig(ParserConfig): method validate (line 290) | def validate(self) -> None: class AudioConfig (line 306) | class AudioConfig(ParserConfig): method validate (line 322) | def validate(self) -> None: class VideoConfig (line 338) | class VideoConfig(ParserConfig): method validate (line 356) | def validate(self) -> None: class MarkdownConfig (line 375) | class MarkdownConfig(ParserConfig): method validate (line 391) | def validate(self) -> None: class HTMLConfig (line 407) | class HTMLConfig(CodeHostingConfig): method validate (line 423) | def validate(self) -> None: class TextConfig (line 437) | class TextConfig(ParserConfig): method validate (line 453) | def validate(self) -> None: class DirectoryConfig (line 469) | class DirectoryConfig(ParserConfig): class SemanticConfig (line 484) | class SemanticConfig: function get_parser_config (line 533) | def get_parser_config( function load_parser_configs_from_dict (line 571) | def load_parser_configs_from_dict(config_dict: Dict[str, Any]) -> Dict[s... FILE: openviking_cli/utils/config/rerank_config.py class RerankConfig (line 8) | class RerankConfig(BaseModel): method validate_provider_fields (line 38) | def validate_provider_fields(self) -> "RerankConfig": method is_available (line 49) | def is_available(self) -> bool: FILE: openviking_cli/utils/config/storage_config.py class StorageConfig (line 17) | class StorageConfig(BaseModel): method resolve_paths (line 46) | def resolve_paths(self): method get_upload_temp_dir (line 68) | def get_upload_temp_dir(self) -> Path: FILE: openviking_cli/utils/config/transaction_config.py class TransactionConfig (line 6) | class TransactionConfig(BaseModel): FILE: openviking_cli/utils/config/vectordb_config.py class VolcengineConfig (line 14) | class VolcengineConfig(BaseModel): class VikingDBConfig (line 33) | class VikingDBConfig(BaseModel): class VectorDBBackendConfig (line 44) | class VectorDBBackendConfig(BaseModel): method validate_config (line 110) | def validate_config(self): FILE: openviking_cli/utils/config/vlm_config.py class VLMConfig (line 8) | class VLMConfig(BaseModel): method sync_provider_backend (line 59) | def sync_provider_backend(cls, data: Any) -> Any: method validate_config (line 69) | def validate_config(self): method _migrate_legacy_config (line 80) | def _migrate_legacy_config(self): method _has_any_config (line 94) | def _has_any_config(self) -> bool: method _get_effective_api_key (line 104) | def _get_effective_api_key(self) -> str | None: method _match_provider (line 113) | def _match_provider(self, model: str | None = None) -> tuple[Dict[str,... method get_provider_config (line 130) | def get_provider_config( method get_vlm_instance (line 140) | def get_vlm_instance(self) -> Any: method _build_vlm_config_dict (line 149) | def _build_vlm_config_dict(self) -> Dict[str, Any]: method get_completion (line 176) | def get_completion(self, prompt: str, thinking: bool = False) -> str: method get_completion_async (line 180) | async def get_completion_async( method is_available (line 188) | def is_available(self) -> bool: method get_vision_completion (line 192) | def get_vision_completion( method get_vision_completion_async (line 201) | async def get_vision_completion_async( FILE: openviking_cli/utils/downloader.py function is_url (line 21) | def is_url(data: str) -> bool: function download_file (line 28) | async def download_file( function _generate_filename (line 96) | def _generate_filename(url: str, max_length: int = 50) -> str: FILE: openviking_cli/utils/extractor.py class ContentType (line 11) | class ContentType(Enum): class PDFSubType (line 17) | class PDFSubType(Enum): class MediaType (line 24) | class MediaType(Enum): class MediaStrategy (line 31) | class MediaStrategy(Enum): class ImageInfo (line 38) | class ImageInfo: class TableInfo (line 51) | class TableInfo: method has_structured_data (line 62) | def has_structured_data(self) -> bool: class ExtractionResult (line 67) | class ExtractionResult: FILE: openviking_cli/utils/llm.py function parse_json_from_response (line 23) | def parse_json_from_response(response: str) -> Optional[Any]: function _fix_json_quotes (line 82) | def _fix_json_quotes(json_str: str) -> str: function parse_json_to_model (line 111) | def parse_json_to_model(response: str, model_class: Type[T]) -> Optional... function get_json_schema_prompt (line 133) | def get_json_schema_prompt(schema: Dict[str, Any], description: str = ""... class StructuredLLM (line 160) | class StructuredLLM: method __init__ (line 168) | def __init__(self): method _get_vlm (line 172) | def _get_vlm(self): method complete_json (line 178) | def complete_json( method complete_json_async (line 190) | async def complete_json_async( method complete_model (line 202) | def complete_model( method complete_model_async (line 219) | async def complete_model_async( FILE: openviking_cli/utils/logger.py function _load_log_config (line 14) | def _load_log_config() -> Tuple[str, str, str, Optional[Any]]: function _create_log_handler (line 37) | def _create_log_handler(log_output: str, config: Optional[Any]) -> loggi... function get_logger (line 76) | def get_logger( function configure_uvicorn_logging (line 102) | def configure_uvicorn_logging() -> None: FILE: openviking_cli/utils/rerank.py class RerankClient (line 22) | class RerankClient: method __init__ (line 29) | def __init__( method _prepare_request (line 53) | def _prepare_request( method rerank_batch (line 82) | def rerank_batch(self, query: str, documents: List[str]) -> Optional[L... method from_config (line 146) | def from_config(cls, config) -> Optional["RerankClient"]: FILE: openviking_cli/utils/rerank_openai.py class OpenAIRerankClient (line 19) | class OpenAIRerankClient: method __init__ (line 26) | def __init__(self, api_key: str, api_base: str, model_name: str): method rerank_batch (line 39) | def rerank_batch(self, query: str, documents: List[str]) -> Optional[L... method from_config (line 106) | def from_config(cls, config) -> Optional["OpenAIRerankClient"]: FILE: openviking_cli/utils/storage.py class StoragePath (line 19) | class StoragePath: method __init__ (line 42) | def __init__(self, base_path: Optional[Path] = None): method ensure_dirs (line 55) | def ensure_dirs(self) -> None: method get_resource_media_dir (line 60) | def get_resource_media_dir(self, resource_name: str, media_type: str =... method save_image (line 77) | def save_image( method save_table_image (line 108) | def save_table_image( method get_download_path (line 138) | def get_download_path(self, filename: Optional[str] = None, extension:... method cleanup_resource_media (line 156) | def cleanup_resource_media(self, resource_name: str) -> None: method cleanup_downloads (line 170) | def cleanup_downloads(self) -> None: method cleanup_all (line 177) | def cleanup_all(self) -> None: method get_all_resource_media (line 183) | def get_all_resource_media(self, resource_name: str) -> dict: method get_storage_stats (line 210) | def get_storage_stats(self) -> dict: method _sanitize_name (line 244) | def _sanitize_name(name: str) -> str: function get_storage (line 270) | def get_storage(base_path: Optional[Path] = None) -> StoragePath: FILE: openviking_cli/utils/uri.py class VikingURI (line 14) | class VikingURI: method __init__ (line 37) | def __init__(self, uri: str): method _parse (line 50) | def _parse(self) -> Dict[str, str]: method scope (line 83) | def scope(self) -> str: method full_path (line 88) | def full_path(self) -> str: method resource_name (line 93) | def resource_name(self) -> Optional[str]: method matches_prefix (line 106) | def matches_prefix(self, prefix: str) -> bool: method parent (line 119) | def parent(self) -> Optional["VikingURI"]: method is_valid (line 146) | def is_valid(uri: str) -> bool: method join (line 162) | def join(self, part: str) -> "VikingURI": method build (line 176) | def build(scope: str, *path_parts: str) -> str: method build_semantic_uri (line 196) | def build_semantic_uri( method sanitize_segment (line 216) | def sanitize_segment(text: str) -> str: method __str__ (line 247) | def __str__(self) -> str: method __repr__ (line 250) | def __repr__(self) -> str: method __eq__ (line 253) | def __eq__(self, other) -> bool: method __hash__ (line 258) | def __hash__(self) -> int: method normalize (line 262) | def normalize(uri: str) -> str: method create_temp_uri (line 289) | def create_temp_uri(cls) -> str: FILE: setup.py class OpenVikingBuildExt (line 30) | class OpenVikingBuildExt(build_ext): method run (line 33) | def run(self): method _copy_artifact (line 41) | def _copy_artifact(self, src, dst): method _copy_artifacts_to_build_lib (line 49) | def _copy_artifacts_to_build_lib(self, target_binary=None, target_lib=... method _require_artifact (line 58) | def _require_artifact(self, artifact_path, artifact_name, stage_name): method _run_stage_with_artifact_checks (line 66) | def _run_stage_with_artifact_checks( method _resolve_cargo_target_dir (line 76) | def _resolve_cargo_target_dir(self, cargo_project_dir, env): method build_agfs_artifacts (line 100) | def build_agfs_artifacts(self): method _build_agfs_artifacts_impl (line 134) | def _build_agfs_artifacts_impl( method build_ov_cli_artifact (line 250) | def build_ov_cli_artifact(self): method _build_ov_cli_artifact_impl (line 263) | def _build_ov_cli_artifact_impl(self, ov_cli_dir, binary_name, ov_targ... method build_extension (line 332) | def build_extension(self, ext): method _build_extension_impl (line 349) | def _build_extension_impl(self, ext_fullpath, ext_dir, build_dir): FILE: src/common/ann_utils.h function namespace (line 8) | namespace vectordb { type FloatValSparseDatapointLowLevel (line 32) | struct FloatValSparseDatapointLowLevel { FILE: src/common/io_utils.h function namespace (line 12) | namespace vectordb { FILE: src/common/json_utils.h function namespace (line 18) | namespace vectordb { FILE: src/common/log_utils.cpp type vectordb (line 11) | namespace vectordb { function init_logging (line 13) | void init_logging(const std::string& log_level, const std::string& log... FILE: src/common/log_utils.h function namespace (line 7) | namespace vectordb { FILE: src/common/string_utils.h function namespace (line 9) | namespace vectordb { FILE: src/common/zip_sort.h function namespace (line 11) | namespace vectordb { FILE: src/cpu_feature_probe.cpp type CpuFeatures (line 22) | struct CpuFeatures { function cpuid (line 33) | void cpuid(int regs[4], int leaf, int subleaf) { function xgetbv (line 41) | unsigned long long xgetbv(unsigned int index) { function CpuFeatures (line 54) | CpuFeatures detect_cpu_features() { function CpuFeatures (line 93) | CpuFeatures detect_cpu_features() { return CpuFeatures{}; } function get_supported_variants (line 96) | std::vector get_supported_variants() { function PYBIND11_MODULE (line 115) | PYBIND11_MODULE(_x86_caps, m) { FILE: src/index/common_structs.h function namespace (line 9) | namespace vectordb { FILE: src/index/detail/fields_dict.h function namespace (line 12) | namespace vectordb { function else (line 55) | else if (val.IsDouble()) { function else (line 57) | else if (val.IsString()) { function else (line 59) | else if (val.IsBool()) { function else (line 61) | else if (val.IsArray()) { FILE: src/index/detail/index_manager_impl.cpp type vectordb (line 15) | namespace vectordb { function parse_dsl_query (line 138) | int parse_dsl_query(const std::string& dsl_filter_query_str, function BitmapPtr (line 206) | BitmapPtr IndexManagerImpl::calculate_filter_bitmap(const SearchContex... FILE: src/index/detail/index_manager_impl.h function namespace (line 18) | namespace vectordb { FILE: src/index/detail/meta/bruteforce_meta.h function namespace (line 8) | namespace vectordb { FILE: src/index/detail/meta/manager_meta.h function namespace (line 14) | namespace vectordb { FILE: src/index/detail/meta/scalar_index_meta.cpp type vectordb (line 11) | namespace vectordb { FILE: src/index/detail/meta/scalar_index_meta.h function namespace (line 9) | namespace vectordb { FILE: src/index/detail/meta/vector_index_meta.cpp type vectordb (line 11) | namespace vectordb { FILE: src/index/detail/meta/vector_index_meta.h function namespace (line 7) | namespace vectordb { FILE: src/index/detail/scalar/bitmap_holder/bitmap.cpp type vectordb (line 9) | namespace vectordb { FILE: src/index/detail/scalar/bitmap_holder/bitmap.h function class (line 20) | class Bitmap final { function Unset (line 87) | inline void Unset(uint32_t id) { function Isset (line 96) | inline bool Isset(uint32_t id) const { function SetRange (line 105) | inline void SetRange(uint32_t x, uint32_t y) { function SetMany (line 111) | inline void SetMany(const std::vector& ids) { function get_cached_nbit (line 127) | inline uint32_t get_cached_nbit() { function copy (line 149) | void copy(const Bitmap& other) { function copy (line 156) | void copy(const Bitmap* pother) { FILE: src/index/detail/scalar/bitmap_holder/bitmap_field_group.cpp type vectordb (line 10) | namespace vectordb { function RangedMap (line 40) | RangedMap* BitmapGroupBase::get_editable_rangedmap() { function Bitmap (line 51) | const Bitmap* BitmapGroupBase::get_bitmap(const std::string& key) { function Bitmap (line 55) | Bitmap* BitmapGroupBase::get_editable_bitmap(const std::string& key) { function BitmapPtr (line 66) | BitmapPtr BitmapGroupBase::get_bitmap_copy(const std::string& key) { function BitmapPtr (line 76) | BitmapPtr BitmapGroupBase::get_bitmap_in_range(bool range_out, function RecallResultPtr (line 91) | RecallResultPtr BitmapGroupBase::get_topk_result(int topk, bool order_... function RecallResultPtr (line 101) | RecallResultPtr BitmapGroupBase::get_topk_result_center1d( function RecallResultPtr (line 112) | RecallResultPtr BitmapGroupBase::get_topk_result_with_conditions( function FieldBitmapGroupPtr (line 330) | FieldBitmapGroupPtr FieldBitmapGroupSet::find_field_group( function BitmapPtr (line 413) | BitmapPtr FieldBitmapGroupSet::make_field_copy( function BitmapPtr (line 437) | BitmapPtr FieldBitmapGroupSet::make_field_copy(const std::string& field, function BitmapPtr (line 446) | BitmapPtr FieldBitmapGroupSet::make_path_field_copy( function BitmapPtr (line 490) | BitmapPtr FieldBitmapGroupSet::make_path_field_exclude_copy( function BitmapPtr (line 497) | BitmapPtr FieldBitmapGroupSet::make_field_exclude_copy( function BitmapPtr (line 518) | BitmapPtr FieldBitmapGroupSet::make_field_prefix_copy( function BitmapPtr (line 535) | BitmapPtr FieldBitmapGroupSet::make_field_contains_copy( function BitmapPtr (line 544) | BitmapPtr FieldBitmapGroupSet::make_field_regex_copy( function BitmapPtr (line 626) | BitmapPtr BitmapGroupBase::get_bitmap_by_prefix(const std::string& pre... function BitmapPtr (line 657) | BitmapPtr BitmapGroupBase::get_bitmap_by_contains( function BitmapPtr (line 688) | BitmapPtr BitmapGroupBase::get_bitmap_by_regex(const std::string& patt... FILE: src/index/detail/scalar/bitmap_holder/bitmap_field_group.h function namespace (line 18) | namespace vectordb { function virtual (line 390) | virtual int delete_field_data( function virtual (line 416) | virtual int delete_field_data( function virtual (line 433) | virtual int delete_field_data( function element_size (line 461) | size_t element_size() { function Bitmap (line 465) | const Bitmap* get_bitmap(const std::string& field, const std::string key) { function Bitmap (line 469) | Bitmap* get_editable_bitmap(const std::string& field, const std::string ... function BitmapPtr (line 477) | BitmapPtr make_range_copy(bool range_out, const std::string& field, function RecallResultPtr (line 490) | RecallResultPtr get_topk_result(const std::string& field, int topk, function RecallResultPtr (line 500) | RecallResultPtr get_topk_result_center1d(const std::string& field, int t... function RecallResultPtr (line 512) | RecallResultPtr get_topk_result_with_conditions( function RangedMapPtr (line 534) | RangedMapPtr get_rangedmap_ptr(const std::string& field) { function BitmapPtr (line 543) | BitmapPtr make_range2d_copy(const std::vector& fields, function BitmapPtr (line 568) | BitmapPtr make_full_temp() { function is_path_field_name (line 606) | bool is_path_field_name(const std::string& field_name) const { function convert_label_u64_to_offset (line 610) | bool convert_label_u64_to_offset(const std::vector& labels, function register_label_offset_converter (line 618) | void register_label_offset_converter( FILE: src/index/detail/scalar/bitmap_holder/bitmap_utils.h function namespace (line 6) | namespace vectordb { FILE: src/index/detail/scalar/bitmap_holder/dir_index.cpp type vectordb (line 8) | namespace vectordb { function TrieNode (line 25) | TrieNode* DirIndex::find_node(const std::string& path) const { FILE: src/index/detail/scalar/bitmap_holder/dir_index.h function namespace (line 15) | namespace vectordb { FILE: src/index/detail/scalar/bitmap_holder/ranged_map.cpp type vectordb (line 8) | namespace vectordb { function BitmapPtr (line 177) | BitmapPtr RangedMap::get_range_bitmap_with_slot_data(bool range_out, function RecallResultPtr (line 245) | RecallResultPtr RangedMap::get_topk_result_with_slot_data( function RecallResultPtr (line 292) | RecallResultPtr RangedMap::get_topk_result_with_slot_data_center1d( function RecallResultPtr (line 405) | RecallResultPtr RangedMap::sort_with_conditions( function RecallResultPtr (line 437) | RecallResultPtr RangedMap::get_topk_result_with_slot_data_with_conditi... function BitmapPtr (line 481) | BitmapPtr RangedMap2D::get_range2d_bitmap_with_slot_data(double x, dou... FILE: src/index/detail/scalar/bitmap_holder/ranged_map.h function namespace (line 19) | namespace vectordb { function calc_slots_num (line 160) | static uint32_t calc_slots_num(uint32_t size) { type SlotMeta (line 166) | struct SlotMeta { function get_range_data (line 216) | uint32_t get_range_data(Bitmap* to, double lower_than, bool include_le, function get_right_border (line 228) | uint32_t get_right_border(double lower_than, bool include_le) const { function get_left_border (line 240) | uint32_t get_left_border(double greater_than, bool include_ge) const { function class (line 255) | class RangedMap2D { function BitmapPtr (line 268) | BitmapPtr get_range2d_bitmap(double x, double y, double radius) const { FILE: src/index/detail/scalar/filter/filter_ops.cpp type vectordb (line 6) | namespace vectordb { function get_json_float_value (line 8) | int get_json_float_value(const JsonValue& temp_val, float& value) { function get_json_int_value (line 22) | int get_json_int_value(const JsonValue& temp_val, int64_t& value) { function get_json_double_value (line 36) | int get_json_double_value(const JsonValue& temp_val, double& value) { function FilterOpBasePtr (line 92) | FilterOpBasePtr make_filter_op_by_opname(const std::string& opname) { function FieldOpBasePtr (line 104) | FieldOpBasePtr make_field_op_by_opname(const std::string& opname) { function LogicOpBasePtr (line 116) | LogicOpBasePtr make_logic_op_by_opname(const std::string& opname) { function parse_dir_semantic_para (line 127) | int parse_dir_semantic_para(const JsonValue& json_doc) { function FilterOpBasePtr (line 173) | FilterOpBasePtr parse_filter_json_doc(const JsonDoc& json_doc) { function FilterOpBasePtr (line 210) | FilterOpBasePtr parse_filter_json_str(const std::string& json_str) { function FilterOpBasePtr (line 230) | FilterOpBasePtr parse_filter_json_doc_outter(const JsonDoc& json_doc) { function JsonDocPtr (line 283) | JsonDocPtr LogicOpBase::get_json_doc() { function BitmapPtr (line 316) | BitmapPtr LogicOpBase::calc_self_bitmap( function BitmapPtr (line 350) | BitmapPtr LogicOpBase::calc_bitmap(FieldBitmapGroupSetPtr field_group_... function JsonDocPtr (line 470) | JsonDocPtr FieldOpBase::get_json_doc() { function JsonDocPtr (line 629) | JsonDocPtr RangeOp::get_json_doc() { function BitmapPtr (line 687) | BitmapPtr RangeOp::calc_self_bitmap( function BitmapPtr (line 714) | BitmapPtr RangeOp::calc_bitmap(FieldBitmapGroupSetPtr field_group_set_... function BitmapPtr (line 759) | BitmapPtr MustOp::calc_self_bitmap(FieldBitmapGroupSetPtr field_group_... function BitmapPtr (line 771) | BitmapPtr MustOp::calc_bitmap(FieldBitmapGroupSetPtr field_group_set_ptr, function BitmapPtr (line 816) | BitmapPtr MustNotOp::calc_self_bitmap( function BitmapPtr (line 831) | BitmapPtr MustNotOp::calc_bitmap(FieldBitmapGroupSetPtr field_group_se... function JsonDocPtr (line 865) | JsonDocPtr LabelInOp::get_json_doc() { function BitmapPtr (line 915) | BitmapPtr LabelInOp::calc_self_bitmap( function BitmapPtr (line 941) | BitmapPtr LabelInOp::calc_bitmap(FieldBitmapGroupSetPtr field_group_se... function BitmapPtr (line 997) | BitmapPtr PrefixOp::calc_self_bitmap( function BitmapPtr (line 1007) | BitmapPtr PrefixOp::calc_bitmap(FieldBitmapGroupSetPtr field_group_set... function BitmapPtr (line 1063) | BitmapPtr ContainsOp::calc_self_bitmap( function BitmapPtr (line 1073) | BitmapPtr ContainsOp::calc_bitmap(FieldBitmapGroupSetPtr field_group_s... function BitmapPtr (line 1129) | BitmapPtr RegexOp::calc_self_bitmap( function BitmapPtr (line 1139) | BitmapPtr RegexOp::calc_bitmap(FieldBitmapGroupSetPtr field_group_set_... FILE: src/index/detail/scalar/filter/filter_ops.h function namespace (line 8) | namespace vectordb { FILE: src/index/detail/scalar/filter/op_base.cpp type vectordb (line 6) | namespace vectordb { function parse_and_precheck_op_parts (line 12) | int parse_and_precheck_op_parts(JsonDoc& json_doc, bool& has_filter, FILE: src/index/detail/scalar/filter/op_base.h function namespace (line 15) | namespace vectordb { FILE: src/index/detail/scalar/filter/sort_ops.cpp type vectordb (line 8) | namespace vectordb { function SorterOpBasePtr (line 20) | SorterOpBasePtr make_sorter_op_by_opname(const std::string& opname) { function SorterOpBasePtr (line 30) | SorterOpBasePtr parse_sorter_json_doc(const JsonDoc& json_doc) { function SorterOpBasePtr (line 53) | SorterOpBasePtr parse_sorter_json_str(const std::string& json_str) { function SorterOpBasePtr (line 76) | SorterOpBasePtr parse_sorter_json_doc_outter(const JsonDoc& json_doc) { function JsonDocPtr (line 335) | JsonDocPtr SorterOp::get_json_doc() { function RecallResultPtr (line 423) | RecallResultPtr SorterOp::calc_topk_result( function RecallResultPtr (line 444) | RecallResultPtr SorterOp::calc_topk_result( function RecallResultPtr (line 462) | RecallResultPtr SorterOp::calc_topk_result( function RecallResultPtr (line 496) | RecallResultPtr SorterOp::_calc_topk_result_with_small_bitmap( function JsonDocPtr (line 646) | JsonDocPtr CounterOp::get_json_doc() { function RecallResultPtr (line 687) | RecallResultPtr CounterOp::_calc_topk_result( FILE: src/index/detail/scalar/filter/sort_ops.h function namespace (line 8) | namespace vectordb { function virtual (line 202) | virtual void set_topk(int topk) { function virtual (line 214) | virtual RecallResultPtr calc_topk_result( function virtual (line 218) | virtual RecallResultPtr calc_topk_result( function virtual (line 224) | virtual RecallResultPtr calc_topk_result( FILE: src/index/detail/scalar/scalar_index.cpp type vectordb (line 8) | namespace vectordb { function get_type_id (line 12) | int get_type_id(const std::string& field_type) { FILE: src/index/detail/scalar/scalar_index.h function namespace (line 13) | namespace vectordb { FILE: src/index/detail/search_context.h function namespace (line 9) | namespace vectordb { FILE: src/index/detail/vector/common/bruteforce.h function namespace (line 26) | namespace vectordb { function save (line 268) | void save(const std::filesystem::path& dir) { function load (line 289) | void load(const std::filesystem::path& dir) { function get_offset_by_label (line 324) | int get_offset_by_label(uint64_t label) { function get_label_by_offset (line 338) | uint64_t get_label_by_offset(int offset) { function resize_buffer (line 366) | void resize_buffer(size_t new_cap) { function rebuild_maps (line 380) | void rebuild_maps() { function compute_score (line 413) | float compute_score( FILE: src/index/detail/vector/common/quantization_int8.h function namespace (line 9) | namespace vectordb { function dequantize_vector_int8 (line 44) | inline void dequantize_vector_int8(const int8_t* quantized, size_t dim, FILE: src/index/detail/vector/common/quantizer.h function namespace (line 11) | namespace vectordb { FILE: src/index/detail/vector/common/space_int8.h function namespace (line 15) | namespace vectordb { function class (line 183) | class L2SpaceInt8 : public VectorSpace { FILE: src/index/detail/vector/common/space_ip.h function namespace (line 8) | namespace vectordb { FILE: src/index/detail/vector/common/space_l2.h function namespace (line 8) | namespace vectordb { FILE: src/index/detail/vector/common/vector_base.h function namespace (line 43) | namespace vectordb { FILE: src/index/detail/vector/sparse_retrieval/common.h function IsFloatingType (line 8) | constexpr bool IsFloatingType() { FILE: src/index/detail/vector/sparse_retrieval/sparse_data_holder.h function namespace (line 12) | namespace vectordb { function append_low_level_sparse (line 109) | int append_low_level_sparse(const FloatValSparseDatapointLowLevel* spars... function append_low_level_sparse (line 117) | int append_low_level_sparse(std::shared_ptr sparse_dp) { function update_low_level_sparse (line 121) | int update_low_level_sparse(size_t idx, function pop_back (line 130) | int pop_back() { function sparse_head_output (line 134) | float sparse_head_output(const SparseDatapointView& x, const DocID docid) { function sparse_head_output (line 138) | float sparse_head_output(DocID x, DocID y) { function sparse_head_squared_l2_logit (line 143) | float sparse_head_squared_l2_logit(const SparseDatapointView& x, function sparse_head_dot_product_logit (line 148) | float sparse_head_dot_product_logit(const SparseDatapointView& x, function rows (line 153) | size_t rows() { function make_sparse_point_by_low_level (line 158) | int make_sparse_point_by_low_level( FILE: src/index/detail/vector/sparse_retrieval/sparse_datapoint.cpp type vectordb (line 6) | namespace vectordb { FILE: src/index/detail/vector/sparse_retrieval/sparse_datapoint.h function namespace (line 12) | namespace vectordb { function reset (line 82) | struct SparseDatapointView { function reset (line 100) | void reset(const IndexT* indices, const float* values, function SparseDatapointView (line 135) | static SparseDatapointView make_sparse_datapoint_view( FILE: src/index/detail/vector/sparse_retrieval/sparse_dataset.h function namespace (line 7) | namespace vectordb { FILE: src/index/detail/vector/sparse_retrieval/sparse_distance_measure.h function namespace (line 9) | namespace vectordb { FILE: src/index/detail/vector/sparse_retrieval/sparse_row_index.cpp type vectordb (line 8) | namespace vectordb { FILE: src/index/detail/vector/sparse_retrieval/sparse_row_index.h function namespace (line 13) | namespace vectordb { FILE: src/index/detail/vector/vector_index_adapter.h function namespace (line 13) | namespace vectordb { FILE: src/index/detail/vector/vector_recall.h function namespace (line 11) | namespace vectordb { FILE: src/index/index_engine.cpp type vectordb (line 8) | namespace vectordb { function SearchResult (line 13) | SearchResult IndexEngine::search(const SearchRequest& req) { function StateResult (line 32) | StateResult IndexEngine::get_state() { FILE: src/index/index_engine.h function namespace (line 12) | namespace vectordb { FILE: src/index/index_manager.h function namespace (line 8) | namespace vectordb { FILE: src/py_accessors.h function class (line 15) | class PyDictAccessor { function write_string (line 73) | void write_string(const py::dict& row, int field_idx, char* dest) const { function write_binary (line 82) | void write_binary(const py::dict& row, int field_idx, char* dest) const { function write_list_int64 (line 91) | void write_list_int64(const py::dict& row, int field_idx, char* dest) co... function write_list_float32 (line 101) | void write_list_float32(const py::dict& row, int field_idx, function write_list_string (line 112) | void write_list_string(const py::dict& row, int field_idx, char* dest) c... function class (line 133) | class PyObjectAccessor { function write_string (line 189) | void write_string(const py::handle& row, int field_idx, char* dest) const { function write_binary (line 198) | void write_binary(const py::handle& row, int field_idx, char* dest) const { function write_list_int64 (line 207) | void write_list_int64(const py::handle& row, int field_idx, function write_list_float32 (line 219) | void write_list_float32(const py::handle& row, int field_idx, function write_list_string (line 231) | void write_list_string(const py::handle& row, int field_idx, function py (line 254) | inline py::object value_to_py(const vdb::Value& val) { FILE: src/pybind11_interface.cpp function PYBIND11_MODULE (line 24) | PYBIND11_MODULE(OV_EXPAND_MACRO(OV_PY_MODULE_NAME), m) { FILE: src/store/bytes_row.cpp type vectordb (line 6) | namespace vectordb { function FieldMeta (line 90) | const FieldMeta* Schema::get_field_meta(const std::string& name) const { type VarFieldInfo (line 109) | struct VarFieldInfo { function Value (line 319) | Value BytesRow::deserialize_field(const std::string& serialized_data, FILE: src/store/bytes_row.h function namespace (line 11) | namespace vectordb { FILE: src/store/common_structs.h function namespace (line 7) | namespace vectordb { FILE: src/store/kv_store.h function namespace (line 8) | namespace vectordb { FILE: src/store/persist_store.cpp type vectordb (line 9) | namespace vectordb { FILE: src/store/persist_store.h function namespace (line 10) | namespace vectordb { FILE: src/store/volatile_store.cpp type vectordb (line 9) | namespace vectordb { FILE: src/store/volatile_store.h function namespace (line 11) | namespace vectordb { FILE: tests/agfs/conftest.py function agfs_test_root (line 11) | def agfs_test_root(): FILE: tests/agfs/test_fs_binding.py function viking_fs_binding_instance (line 29) | async def viking_fs_binding_instance(): class TestVikingFSBindingLocal (line 48) | class TestVikingFSBindingLocal: method test_file_operations (line 51) | async def test_file_operations(self, viking_fs_binding_instance): method test_directory_operations (line 73) | async def test_directory_operations(self, viking_fs_binding_instance): method test_tree_operations (line 99) | async def test_tree_operations(self, viking_fs_binding_instance): method test_binary_operations (line 114) | async def test_binary_operations(self, viking_fs_binding_instance): FILE: tests/agfs/test_fs_binding_s3.py function load_agfs_config (line 27) | def load_agfs_config() -> AGFSConfig: function viking_fs_binding_s3_instance (line 54) | async def viking_fs_binding_s3_instance(): class TestVikingFSBindingS3 (line 71) | class TestVikingFSBindingS3: method test_s3_file_operations (line 74) | async def test_s3_file_operations(self, viking_fs_binding_s3_instance): method test_s3_directory_operations (line 95) | async def test_s3_directory_operations(self, viking_fs_binding_s3_inst... method test_s3_tree_operations (line 121) | async def test_s3_tree_operations(self, viking_fs_binding_s3_instance): method test_s3_binary_operations (line 136) | async def test_s3_binary_operations(self, viking_fs_binding_s3_instance): FILE: tests/agfs/test_fs_local.py function viking_fs_instance (line 33) | async def viking_fs_instance(): class TestVikingFSLocal (line 57) | class TestVikingFSLocal: method test_file_operations (line 60) | async def test_file_operations(self, viking_fs_instance): method test_directory_operations (line 87) | async def test_directory_operations(self, viking_fs_instance): method test_ensure_dirs (line 120) | async def test_ensure_dirs(self, viking_fs_instance): FILE: tests/agfs/test_fs_s3.py function load_agfs_config (line 30) | def load_agfs_config() -> AGFSConfig: function s3_client (line 61) | def s3_client(): function viking_fs_instance (line 76) | async def viking_fs_instance(): class TestVikingFSS3 (line 98) | class TestVikingFSS3: method test_file_operations (line 101) | async def test_file_operations(self, viking_fs_instance: "VikingFS", s... method test_directory_operations (line 143) | async def test_directory_operations(self, viking_fs_instance, s3_client): method test_ensure_dirs (line 177) | async def test_ensure_dirs(self, viking_fs_instance: "VikingFS"): FILE: tests/cli/conftest.py function _get_free_port (line 18) | def _get_free_port() -> int: function _wait_for_health (line 27) | def _wait_for_health(url: str, timeout_s: float = 20.0) -> None: function openviking_server (line 43) | def openviking_server(tmp_path_factory: pytest.TempPathFactory) -> Gener... FILE: tests/cli/test_user_identifier.py class TestAgentSpaceNameCollision (line 6) | class TestAgentSpaceNameCollision: method test_different_pairs_produce_different_hashes (line 9) | def test_different_pairs_produce_different_hashes(self): method test_same_pair_produces_same_hash (line 15) | def test_same_pair_produces_same_hash(self): method test_swapped_ids_produce_different_hashes (line 21) | def test_swapped_ids_produce_different_hashes(self): method test_hash_length (line 27) | def test_hash_length(self): FILE: tests/client/test_chat_integration.py function test_chat_command_exists (line 13) | def test_chat_command_exists(): function test_chat_help (line 37) | def test_chat_help(): FILE: tests/client/test_file_operations.py class TestRm (line 14) | class TestRm: method test_rm_file (line 17) | async def test_rm_file(self, client: AsyncOpenViking, sample_markdown_... method test_rm_directory_recursive (line 34) | async def test_rm_directory_recursive(self, client: AsyncOpenViking, s... class TestMv (line 51) | class TestMv: method test_mv_file (line 54) | async def test_mv_file(self, client: AsyncOpenViking, sample_markdown_... class TestGrep (line 72) | class TestGrep: method test_grep_basic (line 75) | async def test_grep_basic(self, client_with_resource): method test_grep_case_insensitive (line 85) | async def test_grep_case_insensitive(self, client_with_resource): method test_grep_no_match (line 94) | async def test_grep_no_match(self, client_with_resource): class TestGlob (line 104) | class TestGlob: method test_glob_basic (line 107) | async def test_glob_basic(self, client_with_resource): method test_glob_with_uri (line 115) | async def test_glob_with_uri(self, client_with_resource): method test_glob_txt_files (line 124) | async def test_glob_txt_files(self, client: AsyncOpenViking, sample_te... FILE: tests/client/test_filesystem.py class TestLs (line 11) | class TestLs: method test_ls_directory (line 14) | async def test_ls_directory(self, client_with_resource): method test_ls_simple_mode (line 25) | async def test_ls_simple_mode(self, client_with_resource): method test_ls_recursive (line 36) | async def test_ls_recursive(self, client_with_resource): method test_ls_root (line 44) | async def test_ls_root(self, client: AsyncOpenViking): class TestRead (line 51) | class TestRead: method test_read_file (line 54) | async def test_read_file(self, client_with_resource): method test_read_nonexistent_file (line 66) | async def test_read_nonexistent_file(self, client: AsyncOpenViking): class TestAbstract (line 72) | class TestAbstract: method test_abstract_directory (line 75) | async def test_abstract_directory(self, client_with_resource): class TestOverview (line 86) | class TestOverview: method test_overview_directory (line 89) | async def test_overview_directory(self, client_with_resource): class TestTree (line 99) | class TestTree: method test_tree_success (line 102) | async def test_tree_success(self, client_with_resource): method test_tree_specific_directory (line 110) | async def test_tree_specific_directory(self, client_with_resource): FILE: tests/client/test_import_export.py class TestExportOvpack (line 16) | class TestExportOvpack: method test_export_success (line 19) | async def test_export_success(self, client_with_resource, temp_dir: Pa... method test_export_directory (line 29) | async def test_export_directory( class TestImportOvpack (line 44) | class TestImportOvpack: method test_import_success (line 47) | async def test_import_success(self, client_with_resource, temp_dir: Pa... method test_import_with_force (line 63) | async def test_import_with_force(self, client_with_resource, temp_dir:... method test_import_export_roundtrip (line 83) | async def test_import_export_roundtrip( method _build_ovpack (line 122) | def _build_ovpack(zip_path: Path, entries: dict[str, str]) -> None: method test_import_rejects_unsafe_entries (line 169) | async def test_import_rejects_unsafe_entries( FILE: tests/client/test_lifecycle.py class TestClientInitialization (line 11) | class TestClientInitialization: method test_initialize_success (line 14) | async def test_initialize_success(self, uninitialized_client: AsyncOpe... method test_initialize_idempotent (line 19) | async def test_initialize_idempotent(self, client: AsyncOpenViking): method test_initialize_creates_client (line 25) | async def test_initialize_creates_client(self, uninitialized_client: A... class TestClientClose (line 31) | class TestClientClose: method test_close_success (line 34) | async def test_close_success(self, test_data_dir: Path): method test_close_idempotent (line 45) | async def test_close_idempotent(self, test_data_dir: Path): class TestClientReset (line 57) | class TestClientReset: method test_reset_clears_singleton (line 60) | async def test_reset_clears_singleton(self, test_data_dir: Path): class TestClientSingleton (line 76) | class TestClientSingleton: method test_embedded_mode_singleton (line 79) | async def test_embedded_mode_singleton(self, test_data_dir: Path): FILE: tests/client/test_relations.py class TestLink (line 7) | class TestLink: method test_link_single_uri (line 10) | async def test_link_single_uri(self, client_with_resource): method test_link_multiple_uris (line 20) | async def test_link_multiple_uris(self, client_with_resource): method test_link_with_reason (line 31) | async def test_link_with_reason(self, client_with_resource): class TestUnlink (line 45) | class TestUnlink: method test_unlink_success (line 48) | async def test_unlink_success(self, client_with_resource): method test_unlink_nonexistent (line 67) | async def test_unlink_nonexistent(self, client_with_resource): class TestRelations (line 75) | class TestRelations: method test_relations_empty (line 78) | async def test_relations_empty(self, client_with_resource): method test_relations_with_data (line 86) | async def test_relations_with_data(self, client_with_resource): FILE: tests/client/test_resource_management.py class TestAddResource (line 12) | class TestAddResource: method test_add_resource_success (line 15) | async def test_add_resource_success(self, client: AsyncOpenViking, sam... method test_add_resource_with_wait (line 22) | async def test_add_resource_with_wait( method test_add_resource_without_wait (line 36) | async def test_add_resource_without_wait( method test_add_resource_with_to (line 49) | async def test_add_resource_with_to(self, client: AsyncOpenViking, sam... method test_add_resource_file_not_found (line 60) | async def test_add_resource_file_not_found(self, client: AsyncOpenViki... class TestWaitProcessed (line 68) | class TestWaitProcessed: method test_wait_processed_success (line 71) | async def test_wait_processed_success( method test_wait_processed_empty_queue (line 81) | async def test_wait_processed_empty_queue(self, client: AsyncOpenViking): method test_wait_processed_multiple_resources (line 87) | async def test_wait_processed_multiple_resources( class TestWatchIntervalParameter (line 99) | class TestWatchIntervalParameter: method test_watch_interval_default_value (line 102) | async def test_watch_interval_default_value( method test_watch_interval_custom_value (line 116) | async def test_watch_interval_custom_value( method test_watch_interval_propagates_to_local_client (line 134) | async def test_watch_interval_propagates_to_local_client( method test_watch_interval_zero_means_disabled (line 162) | async def test_watch_interval_zero_means_disabled( method test_watch_interval_positive_value (line 174) | async def test_watch_interval_positive_value( FILE: tests/client/test_search.py class TestFind (line 9) | class TestFind: method test_find (line 12) | async def test_find(self, client_with_resource_sync): class TestSearch (line 46) | class TestSearch: method test_search (line 49) | async def test_search(self, client_with_resource_sync): FILE: tests/client/test_skill_management.py class TestAddSkill (line 11) | class TestAddSkill: method test_add_skill_from_file (line 14) | async def test_add_skill_from_file(self, client: AsyncOpenViking, temp... method test_add_skill_from_string (line 47) | async def test_add_skill_from_string(self, client: AsyncOpenViking): method test_add_skill_from_mcp_tool (line 66) | async def test_add_skill_from_mcp_tool(self, client: AsyncOpenViking): method test_add_skill_from_directory (line 81) | async def test_add_skill_from_directory(self, client: AsyncOpenViking,... class TestSkillSearch (line 112) | class TestSkillSearch: method test_find_skill (line 115) | async def test_find_skill(self, client: AsyncOpenViking, temp_dir: Path): FILE: tests/client/test_windows_path_handling.py class TestZipCreationPathNormalization (line 12) | class TestZipCreationPathNormalization: method test_zip_directory_creates_forward_slash_paths (line 15) | def test_zip_directory_creates_forward_slash_paths(self): method test_zip_directory_preserves_structure (line 47) | def test_zip_directory_preserves_structure(self): class TestZipExtractionPathHandling (line 83) | class TestZipExtractionPathHandling: method test_extract_zip_with_backslash_paths (line 86) | def test_extract_zip_with_backslash_paths(self): method test_extract_zip_preserves_directory_structure (line 109) | def test_extract_zip_preserves_directory_structure(self): class TestDirectoryScanPathNormalization (line 130) | class TestDirectoryScanPathNormalization: method test_scan_directory_normalizes_windows_paths (line 133) | def test_scan_directory_normalizes_windows_paths(self): method test_scan_directory_handles_value_error (line 148) | def test_scan_directory_handles_value_error(self): FILE: tests/conftest.py function _patch_agfs_grep_if_missing (line 18) | def _patch_agfs_grep_if_missing(): function event_loop (line 82) | def event_loop(): function temp_dir (line 90) | def temp_dir() -> Generator[Path, None, None]: function test_data_dir (line 98) | def test_data_dir(temp_dir: Path) -> Path: function sample_text_file (line 106) | def sample_text_file(temp_dir: Path) -> Path: function sample_markdown_file (line 114) | def sample_markdown_file(temp_dir: Path) -> Path: function sample_skill_file (line 136) | def sample_skill_file(temp_dir: Path) -> Path: function sample_directory (line 166) | def sample_directory(temp_dir: Path) -> Path: function sample_files (line 182) | def sample_files(temp_dir: Path) -> list[Path]: function client (line 207) | async def client(test_data_dir: Path) -> AsyncGenerator[AsyncOpenViking,... function uninitialized_client (line 221) | async def uninitialized_client(test_data_dir: Path) -> AsyncGenerator[As... function client_with_resource_sync (line 237) | async def client_with_resource_sync( function client_with_resource (line 250) | async def client_with_resource( FILE: tests/engine/test_common.cpp function test_string_split (line 30) | void test_string_split() { function test_string_format (line 65) | void test_string_format() { function test_zip_sort (line 91) | void test_zip_sort() { function main (line 134) | int main() { FILE: tests/engine/test_index_engine.cpp function is_close (line 15) | bool is_close(float a, float b, float epsilon = 1e-5) { function test_basic_workflow (line 19) | void test_basic_workflow() { function main (line 117) | int main() { FILE: tests/eval/test_ragas_basic.py function test_eval_types (line 13) | def test_eval_types(): function test_generator_initialization (line 27) | def test_generator_initialization(): function test_pipeline_initialization (line 32) | def test_pipeline_initialization(): function test_question_loader (line 39) | def test_question_loader(): function test_eval_dataset_operations (line 68) | def test_eval_dataset_operations(): FILE: tests/eval/test_ragas_eval.py function load_eval_results (line 20) | def load_eval_results() -> dict: function test_load_eval_results (line 28) | def test_load_eval_results(): function test_eval_sample_from_results (line 36) | def test_eval_sample_from_results(): function test_eval_dataset_from_results (line 53) | def test_eval_dataset_from_results(): function test_ragas_config_defaults (line 71) | def test_ragas_config_defaults(): function test_ragas_config_from_env (line 82) | def test_ragas_config_from_env(monkeypatch): function test_ragas_evaluator_initialization (line 96) | def test_ragas_evaluator_initialization(): function test_ragas_evaluator_with_config (line 103) | def test_ragas_evaluator_with_config(): function test_ragas_evaluator_with_params (line 118) | def test_ragas_evaluator_with_params(): function test_run_ragas_evaluation_with_file (line 135) | async def test_run_ragas_evaluation_with_file(): function test_run_ragas_evaluation_single_sample (line 177) | async def test_run_ragas_evaluation_single_sample(): function test_llm_config_from_env (line 209) | def test_llm_config_from_env(monkeypatch): function test_ragas_evaluator_no_llm_error (line 219) | def test_ragas_evaluator_no_llm_error(monkeypatch): FILE: tests/eval/test_ragas_validation.py function load_jsonl (line 14) | def load_jsonl(file_path: str) -> List[Dict[str, Any]]: function validate_item (line 30) | def validate_item(item: Dict[str, Any], index: int) -> List[str]: function test_eval_types (line 54) | def test_eval_types(): function test_evaluator_initialization (line 84) | def test_evaluator_initialization(): function test_pipeline_initialization (line 102) | def test_pipeline_initialization(): function test_question_loader (line 119) | def test_question_loader(): function main (line 140) | def main(): FILE: tests/integration/conftest.py function l2_norm (line 40) | def l2_norm(vec: list[float]) -> float: function gemini_embedder (line 46) | def gemini_embedder(): function temp_dir (line 58) | def temp_dir(): function server_url (line 66) | def server_url(temp_dir): FILE: tests/integration/test_add_resource_index.py function test_config (line 13) | def test_config(tmp_path): function client (line 35) | async def client(test_config, tmp_path): function test_add_resource_indexing_logic (line 73) | async def test_add_resource_indexing_logic(test_config, tmp_path): FILE: tests/integration/test_full_workflow.py function integration_client (line 17) | async def integration_client(test_data_dir: Path): class TestResourceToSearchWorkflow (line 34) | class TestResourceToSearchWorkflow: method test_add_and_search (line 37) | async def test_add_and_search( method test_add_search_read_workflow (line 57) | async def test_add_search_read_workflow( class TestSessionWorkflow (line 84) | class TestSessionWorkflow: method test_session_conversation_workflow (line 87) | async def test_session_conversation_workflow( method test_session_reload_workflow (line 121) | async def test_session_reload_workflow(self, integration_client: Async... class TestImportExportWorkflow (line 145) | class TestImportExportWorkflow: method test_export_import_roundtrip (line 148) | async def test_export_import_roundtrip( class TestFullEndToEndWorkflow (line 192) | class TestFullEndToEndWorkflow: method test_complete_workflow (line 195) | async def test_complete_workflow( FILE: tests/integration/test_gemini_e2e.py function _cosine_similarity (line 17) | def _cosine_similarity(a: list, b: list) -> float: function embedder (line 25) | def embedder(): function test_default_dimension_is_3072 (line 36) | def test_default_dimension_is_3072(embedder): class TestGeminiE2ETextEmbedding (line 43) | class TestGeminiE2ETextEmbedding: method test_embed_text_returns_correct_dimension (line 44) | def test_embed_text_returns_correct_dimension(self, embedder): method test_embed_text_vector_is_normalized (line 49) | def test_embed_text_vector_is_normalized(self, embedder): method test_embed_batch_matches_individual (line 54) | def test_embed_batch_matches_individual(self, embedder): method test_semantic_similarity_related_texts (line 63) | def test_semantic_similarity_related_texts(self, embedder): class TestGeminiE2EAsyncBatch (line 72) | class TestGeminiE2EAsyncBatch: method test_async_embed_batch_concurrent (line 74) | async def test_async_embed_batch_concurrent(self): class TestGeminiE2ETaskType (line 92) | class TestGeminiE2ETaskType: method test_query_vs_document_task_types (line 93) | def test_query_vs_document_task_types(self): FILE: tests/integration/test_gemini_embedding_it.py function test_embed_returns_correct_dimension (line 21) | def test_embed_returns_correct_dimension(gemini_embedder): function test_embed_batch_count (line 27) | def test_embed_batch_count(gemini_embedder): function test_batch_over_100 (line 35) | def test_batch_over_100(gemini_embedder): function test_large_text_chunking (line 45) | def test_large_text_chunking(model_name, _dim, token_limit): function test_all_task_types_accepted (line 71) | def test_all_task_types_accepted(task_type): function test_config_nonsymmetric_routing (line 85) | def test_config_nonsymmetric_routing(): function test_invalid_api_key_error_message (line 106) | def test_invalid_api_key_error_message(): function test_invalid_model_error_message (line 116) | def test_invalid_model_error_message(): FILE: tests/integration/test_gemini_openviking_it.py function test_add_and_search_basic (line 36) | async def test_add_and_search_basic(gemini_ov_client, tmp_path): function test_batch_documents_search (line 60) | async def test_batch_documents_search(gemini_ov_client, tmp_path): function test_large_text_add_and_search (line 93) | async def test_large_text_add_and_search(model, dim, token_limit, tmp_pa... function test_retrieval_routing_workflow (line 126) | async def test_retrieval_routing_workflow(query_param, doc_param, tmp_pa... function test_dimension_variant_add_search (line 158) | async def test_dimension_variant_add_search(dim, tmp_path): function test_session_search_smoke (line 189) | async def test_session_search_smoke(gemini_ov_client, tmp_path): FILE: tests/integration/test_http_integration.py class TestHTTPClientIntegration (line 16) | class TestHTTPClientIntegration: method client (line 20) | async def client(self, server_url): method test_health (line 28) | async def test_health(self, client): method test_ls_root (line 34) | async def test_ls_root(self, client): method test_find (line 40) | async def test_find(self, client): method test_search (line 48) | async def test_search(self, client): method test_stat_not_found (line 54) | async def test_stat_not_found(self, client): method test_tree (line 60) | async def test_tree(self, client): method test_observer_vikingdb (line 66) | async def test_observer_vikingdb(self, client): method test_observer_queue (line 73) | async def test_observer_queue(self, client): class TestSessionIntegration (line 79) | class TestSessionIntegration: method client (line 83) | async def client(self, server_url): method test_session_lifecycle (line 91) | async def test_session_lifecycle(self, client): method test_list_sessions (line 114) | async def test_list_sessions(self, client): class TestAsyncHTTPClientIntegration (line 120) | class TestAsyncHTTPClientIntegration: method client (line 124) | async def client(self, server_url): method test_find_via_client (line 132) | async def test_find_via_client(self, client): method test_ls_via_client (line 138) | async def test_ls_via_client(self, client): method test_observer_access (line 144) | async def test_observer_access(self, client): method test_session_via_client (line 150) | async def test_session_via_client(self, client): FILE: tests/integration/test_quick_start_lite.py class TestQuickStartLite (line 17) | class TestQuickStartLite(unittest.TestCase): method setUp (line 18) | def setUp(self): method tearDown (line 51) | def tearDown(self): method test_quick_start_script_execution (line 67) | def test_quick_start_script_execution(self): FILE: tests/integration/test_watch_e2e.py function get_watch_task (line 20) | async def get_watch_task(client: AsyncOpenViking, to_uri: str): function e2e_client (line 32) | async def e2e_client(test_data_dir: Path): function watch_test_file (line 49) | async def watch_test_file(temp_dir: Path) -> Path: class TestWatchE2EBasicFlow (line 66) | class TestWatchE2EBasicFlow: method test_create_resource_with_watch (line 70) | async def test_create_resource_with_watch( method test_query_watch_status (line 98) | async def test_query_watch_status(self, e2e_client: AsyncOpenViking, w... method test_update_watch_interval (line 126) | async def test_update_watch_interval(self, e2e_client: AsyncOpenViking... method test_cancel_watch (line 162) | async def test_cancel_watch(self, e2e_client: AsyncOpenViking, watch_t... class TestWatchE2EConflictDetection (line 189) | class TestWatchE2EConflictDetection: method test_conflict_when_active_watch_exists (line 193) | async def test_conflict_when_active_watch_exists( method test_reactivate_inactive_watch (line 218) | async def test_reactivate_inactive_watch( class TestWatchE2ESchedulerExecution (line 261) | class TestWatchE2ESchedulerExecution: method test_scheduler_executes_watch_task (line 265) | async def test_scheduler_executes_watch_task(self, temp_dir: Path, wat... method test_scheduler_updates_execution_time (line 316) | async def test_scheduler_updates_execution_time(self, temp_dir: Path, ... class TestWatchE2EMultipleResources (line 369) | class TestWatchE2EMultipleResources: method test_multiple_watched_resources (line 373) | async def test_multiple_watched_resources( method test_independent_watch_tasks (line 413) | async def test_independent_watch_tasks( class TestWatchE2EErrorHandling (line 454) | class TestWatchE2EErrorHandling: method test_watch_without_watch_manager (line 458) | async def test_watch_without_watch_manager(self, temp_dir: Path, watch... method test_watch_task_nonexistent_resource (line 493) | async def test_watch_task_nonexistent_resource(self, e2e_client: Async... FILE: tests/misc/test_code_parser.py function test_ignore_dirs_compliance (line 17) | def test_ignore_dirs_compliance(): function test_ignore_extensions_compliance (line 69) | def test_ignore_extensions_compliance(): function test_file_type_detection (line 115) | def test_file_type_detection(): function test_symbolic_link_handling (line 147) | def test_symbolic_link_handling(): function main (line 181) | def main(): FILE: tests/misc/test_config_validation.py function test_agfs_validation (line 14) | def test_agfs_validation(): function test_vectordb_validation (line 62) | def test_vectordb_validation(): function test_embedding_validation (line 96) | def test_embedding_validation(): function test_vlm_validation (line 204) | def test_vlm_validation(): FILE: tests/misc/test_debug_service.py class TestComponentStatus (line 17) | class TestComponentStatus: method test_component_status_creation (line 20) | def test_component_status_creation(self): method test_component_status_unhealthy (line 33) | def test_component_status_unhealthy(self): method test_component_status_str_healthy (line 44) | def test_component_status_str_healthy(self): method test_component_status_str_unhealthy (line 56) | def test_component_status_str_unhealthy(self): class TestSystemStatus (line 68) | class TestSystemStatus: method test_system_status_healthy (line 71) | def test_system_status_healthy(self): method test_system_status_with_errors (line 82) | def test_system_status_with_errors(self): method test_system_status_str (line 96) | def test_system_status_str(self): class TestObserverService (line 109) | class TestObserverService: method test_init_without_dependencies (line 112) | def test_init_without_dependencies(self): method test_init_with_dependencies (line 118) | def test_init_with_dependencies(self): method test_set_dependencies (line 126) | def test_set_dependencies(self): method test_queue_property (line 137) | def test_queue_property(self, mock_observer_cls, mock_get_queue_manager): method test_vikingdb_property (line 159) | def test_vikingdb_property(self, mock_observer_cls): method test_vlm_property (line 179) | def test_vlm_property(self, mock_observer_cls): method test_system_property_all_healthy (line 205) | def test_system_property_all_healthy( method test_system_property_with_errors (line 231) | def test_system_property_with_errors( method test_is_healthy_returns_true (line 271) | def test_is_healthy_returns_true( method test_is_healthy_without_dependencies (line 287) | def test_is_healthy_without_dependencies(self): method test_vikingdb_property_without_dependency (line 292) | def test_vikingdb_property_without_dependency(self): method test_vlm_property_without_dependency (line 302) | def test_vlm_property_without_dependency(self): method test_system_property_without_dependencies (line 312) | def test_system_property_without_dependencies(self): method test_is_healthy_returns_false (line 323) | def test_is_healthy_returns_false( class TestDebugService (line 347) | class TestDebugService: method test_init_creates_observer (line 350) | def test_init_creates_observer(self): method test_init_with_dependencies (line 355) | def test_init_with_dependencies(self): method test_set_dependencies (line 363) | def test_set_dependencies(self): method test_observer_property (line 372) | def test_observer_property(self): FILE: tests/misc/test_embedding_input_type.py class TestEmbeddingModelConfigContextFields (line 15) | class TestEmbeddingModelConfigContextFields: method test_openai_query_document_param_fields_accept_values (line 18) | def test_openai_query_document_param_fields_accept_values(self): method test_jina_query_document_param_fields_accept_values (line 30) | def test_jina_query_document_param_fields_accept_values(self): method test_context_fields_default_to_none (line 42) | def test_context_fields_default_to_none(self): method test_query_document_param_lowercase_normalization (line 52) | def test_query_document_param_lowercase_normalization(self): method test_jina_query_document_param_lowercase_normalization (line 64) | def test_jina_query_document_param_lowercase_normalization(self): class TestEmbeddingConfigContextualEmbedders (line 77) | class TestEmbeddingConfigContextualEmbedders: method test_get_embedder_openai_passes_params (line 81) | def test_get_embedder_openai_passes_params(self, mock_embedder_class): method test_get_embedder_jina_passes_params (line 102) | def test_get_embedder_jina_passes_params(self, mock_embedder_class): method test_get_embedder_openai_no_params_when_not_set (line 123) | def test_get_embedder_openai_no_params_when_not_set(self, mock_embedde... method test_get_embedder_jina_no_params_when_not_set (line 142) | def test_get_embedder_jina_no_params_when_not_set(self, mock_embedder_... class TestOpenAIDenseEmbedderInputType (line 161) | class TestOpenAIDenseEmbedderInputType: method test_embed_passes_input_type_in_extra_body (line 165) | def test_embed_passes_input_type_in_extra_body(self, mock_openai_class): method test_embed_batch_passes_input_type_in_extra_body (line 189) | def test_embed_batch_passes_input_type_in_extra_body(self, mock_openai... method test_embed_no_extra_body_when_input_type_not_set (line 213) | def test_embed_no_extra_body_when_input_type_not_set(self, mock_openai... class TestJinaDenseEmbedderTask (line 236) | class TestJinaDenseEmbedderTask: method test_embed_passes_task_in_extra_body (line 240) | def test_embed_passes_task_in_extra_body(self, mock_openai_class): method test_embed_batch_passes_task_in_extra_body (line 263) | def test_embed_batch_passes_task_in_extra_body(self, mock_openai_class): FILE: tests/misc/test_extract_zip.py function _make_zip (line 16) | def _make_zip(entries: dict[str, str], target_path: str) -> None: function _make_zip_with_symlink (line 25) | def _make_zip_with_symlink(target_path: str) -> None: function _assert_no_escape (line 35) | def _assert_no_escape(tmp_path: Path, target_dir: str) -> None: function parser (line 48) | def parser(): function workspace (line 53) | def workspace(tmp_path): class TestExtractZipNormal (line 61) | class TestExtractZipNormal: method test_extracts_files_correctly (line 64) | async def test_extracts_files_correctly(self, parser, workspace): method test_returns_stem_as_name (line 75) | async def test_returns_stem_as_name(self, parser, tmp_path): class TestExtractZipPathTraversal (line 84) | class TestExtractZipPathTraversal: method test_rejects_dot_dot_traversal (line 87) | async def test_rejects_dot_dot_traversal(self, parser, workspace): method test_rejects_absolute_path (line 94) | async def test_rejects_absolute_path(self, parser, workspace): method test_rejects_nested_traversal (line 101) | async def test_rejects_nested_traversal(self, parser, workspace): method test_rejects_windows_drive_path (line 109) | async def test_rejects_windows_drive_path(self, parser, workspace): method test_rejects_backslash_traversal (line 116) | async def test_rejects_backslash_traversal(self, parser, workspace): method test_rejects_unc_path (line 123) | async def test_rejects_unc_path(self, parser, workspace): class TestExtractZipSymlink (line 131) | class TestExtractZipSymlink: method test_skips_symlink_entry (line 134) | async def test_skips_symlink_entry(self, parser, workspace): class TestExtractZipEmptyNormalization (line 142) | class TestExtractZipEmptyNormalization: method test_rejects_dot_dot_entry (line 145) | async def test_rejects_dot_dot_entry(self, parser, workspace): class TestExtractZipDirectoryEntry (line 159) | class TestExtractZipDirectoryEntry: method test_skips_directory_entries (line 162) | async def test_skips_directory_entries(self, parser, workspace): FILE: tests/misc/test_mkdir.py function _make_viking_fs (line 16) | def _make_viking_fs(): class TestMkdir (line 30) | class TestMkdir: method test_mkdir_calls_agfs_mkdir (line 34) | async def test_mkdir_calls_agfs_mkdir(self): method test_mkdir_exist_ok_true_existing (line 47) | async def test_mkdir_exist_ok_true_existing(self): method test_mkdir_exist_ok_true_not_existing (line 59) | async def test_mkdir_exist_ok_true_not_existing(self): method test_mkdir_exist_ok_false_default (line 72) | async def test_mkdir_exist_ok_false_default(self): method test_mkdir_ensures_parents_first (line 82) | async def test_mkdir_ensures_parents_first(self): FILE: tests/misc/test_port_check.py function _make_manager (line 19) | def _make_manager(port: int) -> AGFSManager: class TestCheckPortAvailable (line 26) | class TestCheckPortAvailable: method test_available_port_no_leak (line 29) | def test_available_port_no_leak(self): method test_occupied_port_raises_runtime_error (line 35) | def test_occupied_port_raises_runtime_error(self): method test_occupied_port_no_resource_warning (line 49) | def test_occupied_port_no_resource_warning(self): FILE: tests/misc/test_process_lock.py class TestProcessLock (line 13) | class TestProcessLock: method test_acquires_lock_on_empty_dir (line 14) | def test_acquires_lock_on_empty_dir(self): method test_same_pid_can_reacquire (line 21) | def test_same_pid_can_reacquire(self): method test_stale_lock_is_replaced (line 27) | def test_stale_lock_is_replaced(self): method test_live_pid_blocks_acquisition (line 38) | def test_live_pid_blocks_acquisition(self): method test_error_message_includes_remediation (line 51) | def test_error_message_includes_remediation(self): FILE: tests/misc/test_rerank_openai.py class TestOpenAIRerankClient (line 15) | class TestOpenAIRerankClient: method _make_client (line 16) | def _make_client(self): method test_rerank_batch_success (line 23) | def test_rerank_batch_success(self): method test_rerank_batch_out_of_order_results (line 40) | def test_rerank_batch_out_of_order_results(self): method test_rerank_batch_empty_documents (line 58) | def test_rerank_batch_empty_documents(self): method test_rerank_batch_unexpected_format_returns_none (line 63) | def test_rerank_batch_unexpected_format_returns_none(self): method test_rerank_batch_length_mismatch_returns_none (line 74) | def test_rerank_batch_length_mismatch_returns_none(self): method test_rerank_batch_out_of_bounds_index_returns_none (line 89) | def test_rerank_batch_out_of_bounds_index_returns_none(self): method test_rerank_batch_missing_index_field_returns_none (line 105) | def test_rerank_batch_missing_index_field_returns_none(self): method test_rerank_batch_http_error_returns_none (line 121) | def test_rerank_batch_http_error_returns_none(self): method test_rerank_batch_sends_correct_request (line 132) | def test_rerank_batch_sends_correct_request(self): method test_from_config (line 151) | def test_from_config(self): method test_from_config_default_model (line 164) | def test_from_config_default_model(self): method test_from_config_unavailable_returns_none (line 173) | def test_from_config_unavailable_returns_none(self): class TestRerankClientFactoryDispatch (line 178) | class TestRerankClientFactoryDispatch: method test_factory_dispatches_to_openai_client (line 179) | def test_factory_dispatches_to_openai_client(self): method test_factory_dispatches_to_vikingdb_client (line 189) | def test_factory_dispatches_to_vikingdb_client(self): method test_factory_defaults_to_vikingdb (line 199) | def test_factory_defaults_to_vikingdb(self): method test_factory_returns_none_for_none_config (line 206) | def test_factory_returns_none_for_none_config(self): method test_factory_returns_none_for_unavailable_vikingdb_config (line 209) | def test_factory_returns_none_for_unavailable_vikingdb_config(self): method test_factory_returns_none_for_unavailable_openai_config (line 213) | def test_factory_returns_none_for_unavailable_openai_config(self): class TestRerankConfig (line 219) | class TestRerankConfig: method test_vikingdb_is_available (line 220) | def test_vikingdb_is_available(self): method test_vikingdb_not_available_without_credentials (line 224) | def test_vikingdb_not_available_without_credentials(self): method test_openai_is_available (line 228) | def test_openai_is_available(self): method test_openai_requires_api_key_and_api_base (line 236) | def test_openai_requires_api_key_and_api_base(self): method test_default_provider_is_vikingdb (line 243) | def test_default_provider_is_vikingdb(self): method test_unknown_provider_raises_value_error (line 247) | def test_unknown_provider_raises_value_error(self): FILE: tests/misc/test_resource_processor_mv.py class _DummyVikingDB (line 11) | class _DummyVikingDB: method get_embedder (line 12) | def get_embedder(self): class _DummyTelemetry (line 16) | class _DummyTelemetry: method set (line 17) | def set(self, *args, **kwargs): method set_error (line 20) | def set_error(self, *args, **kwargs): class _CtxMgr (line 24) | class _CtxMgr: method __enter__ (line 25) | def __enter__(self): method __exit__ (line 28) | def __exit__(self, exc_type, exc, tb): class _FakeVikingFS (line 32) | class _FakeVikingFS: method __init__ (line 33) | def __init__(self): method bind_request_context (line 36) | def bind_request_context(self, ctx): method exists (line 39) | async def exists(self, uri, ctx=None): method mkdir (line 42) | async def mkdir(self, uri, exist_ok=False, ctx=None): method delete_temp (line 45) | async def delete_temp(self, temp_dir_path, ctx=None): method _uri_to_path (line 48) | def _uri_to_path(self, uri, ctx=None): function test_resource_processor_first_add_persist_does_not_await_agfs_mv (line 53) | async def test_resource_processor_first_add_persist_does_not_await_agfs_... FILE: tests/misc/test_semantic_config.py function test_semantic_config_defaults (line 10) | def test_semantic_config_defaults(): function test_semantic_config_custom_values (line 22) | def test_semantic_config_custom_values(): function test_budget_under_limit_no_batching (line 35) | def test_budget_under_limit_no_batching(): function test_budget_over_limit_triggers_batching (line 45) | def test_budget_over_limit_triggers_batching(): function test_abstract_truncation (line 55) | def test_abstract_truncation(): function test_overview_truncation (line 65) | def test_overview_truncation(): function test_batch_splitting (line 74) | def test_batch_splitting(): function test_chunk_text_short_text_no_split (line 91) | def test_chunk_text_short_text_no_split(): function test_chunk_text_long_text_splits (line 99) | def test_chunk_text_long_text_splits(): function test_chunk_text_overlap (line 109) | def test_chunk_text_overlap(): function test_chunk_text_prefers_paragraph_boundaries (line 121) | def test_chunk_text_prefers_paragraph_boundaries(): function test_memory_chunk_config_custom (line 132) | def test_memory_chunk_config_custom(): FILE: tests/misc/test_tree_builder_dedup.py function _make_viking_fs_mock (line 15) | def _make_viking_fs_mock(existing_uris: set[str]): class TestResolveUniqueUri (line 28) | class TestResolveUniqueUri: method test_no_conflict (line 30) | async def test_no_conflict(self): method test_single_conflict (line 43) | async def test_single_conflict(self): method test_multiple_conflicts (line 57) | async def test_multiple_conflicts(self): method test_max_attempts_exceeded (line 75) | async def test_max_attempts_exceeded(self): method test_gap_in_sequence (line 90) | async def test_gap_in_sequence(self): FILE: tests/misc/test_vectordb_engine_loader.py function _install_package_stubs (line 14) | def _install_package_stubs(monkeypatch): function _load_engine_module (line 26) | def _load_engine_module( function test_engine_loader_auto_selects_best_supported_x86_backend (line 86) | def test_engine_loader_auto_selects_best_supported_x86_backend(monkeypat... function test_engine_loader_uses_native_backend_on_non_x86 (line 99) | def test_engine_loader_uses_native_backend_on_non_x86(monkeypatch): function test_engine_loader_rejects_forced_unsupported_variant (line 112) | def test_engine_loader_rejects_forced_unsupported_variant(monkeypatch): FILE: tests/misc/test_vikingdb_observer.py function test_vikingdb_observer (line 14) | async def test_vikingdb_observer(): function test_sync_client (line 82) | async def test_sync_client(): FILE: tests/misc/test_vikingfs_find_without_rerank.py function _ctx (line 16) | def _ctx() -> RequestContext: function _make_viking_fs (line 20) | def _make_viking_fs() -> VikingFS: function test_find_works_without_rerank_config (line 36) | async def test_find_works_without_rerank_config(monkeypatch) -> None: FILE: tests/misc/test_vikingfs_uri_guard.py function _make_viking_fs (line 13) | def _make_viking_fs() -> VikingFS: class TestVikingFSURITraversalGuard (line 24) | class TestVikingFSURITraversalGuard: method test_rejects_unsafe_uri_components (line 37) | def test_rejects_unsafe_uri_components(self, uri: str) -> None: method test_read_file_rejects_traversal_before_agfs_read (line 44) | async def test_read_file_rejects_traversal_before_agfs_read(self) -> N... method test_write_rejects_traversal_before_agfs_write (line 53) | async def test_write_rejects_traversal_before_agfs_write(self) -> None: method test_rm_rejects_traversal_before_side_effects (line 62) | async def test_rm_rejects_traversal_before_side_effects(self) -> None: method test_mv_rejects_traversal_in_source_or_target (line 82) | async def test_mv_rejects_traversal_in_source_or_target( method test_read_file_keeps_valid_uri_behavior (line 99) | async def test_read_file_keeps_valid_uri_behavior(self) -> None: FILE: tests/misc/test_x86_profiles.py function test_x86_host_uses_sse3_extension_baseline (line 4) | def test_x86_host_uses_sse3_extension_baseline(): function test_non_x86_host_uses_native_extension_baseline (line 12) | def test_non_x86_host_uses_native_extension_baseline(): FILE: tests/models/test_embedding_telemetry_usage.py function _usage (line 14) | def _usage(prompt_tokens: int, total_tokens: int): function test_openai_dense_embedder_reports_embedding_telemetry_usage (line 18) | def test_openai_dense_embedder_reports_embedding_telemetry_usage(monkeyp... function test_volcengine_dense_embedder_reports_embedding_telemetry_usage (line 42) | def test_volcengine_dense_embedder_reports_embedding_telemetry_usage(mon... function test_volcengine_dense_embedder_reports_embedding_telemetry_usage_from_dict_usage (line 72) | def test_volcengine_dense_embedder_reports_embedding_telemetry_usage_fro... FILE: tests/models/test_vlm_strip_think_tags.py class TestStripThinkTags (line 10) | class TestStripThinkTags: method vlm (line 14) | def vlm(self): method test_no_think_tags (line 32) | def test_no_think_tags(self, vlm): method test_single_think_block (line 36) | def test_single_think_block(self, vlm): method test_think_block_at_end (line 40) | def test_think_block_at_end(self, vlm): method test_think_block_in_middle (line 44) | def test_think_block_in_middle(self, vlm): method test_multiple_think_blocks (line 48) | def test_multiple_think_blocks(self, vlm): method test_multiline_think_block (line 52) | def test_multiline_think_block(self, vlm): method test_empty_string (line 62) | def test_empty_string(self, vlm): method test_only_think_block (line 65) | def test_only_think_block(self, vlm): method test_nested_angle_brackets_preserved (line 69) | def test_nested_angle_brackets_preserved(self, vlm): method test_json_with_think_prefix (line 73) | def test_json_with_think_prefix(self, vlm): class TestThinkTagRegex (line 79) | class TestThinkTagRegex: method test_greedy_minimal (line 82) | def test_greedy_minimal(self): FILE: tests/parse/test_add_directory.py class FakeVikingFS (line 35) | class FakeVikingFS: method __init__ (line 38) | def __init__(self): method mkdir (line 45) | async def mkdir(self, uri: str, exist_ok: bool = False, **kw) -> None: method write (line 49) | async def write(self, uri: str, data: Any) -> str: method write_file (line 55) | async def write_file(self, uri: str, content: Any) -> None: method write_file_bytes (line 60) | async def write_file_bytes(self, uri: str, content: bytes) -> None: method read (line 65) | async def read(self, uri: str, offset: int = 0, size: int = -1) -> bytes: method ls (line 68) | async def ls(self, uri: str) -> List[Dict[str, Any]]: method move_file (line 98) | async def move_file(self, from_uri: str, to_uri: str) -> None: method delete_temp (line 102) | async def delete_temp(self, temp_uri: str) -> None: method create_temp_uri (line 111) | def create_temp_uri(self) -> str: function fake_fs (line 122) | def fake_fs(): function parser (line 127) | def parser(fake_fs): function tmp_code (line 137) | def tmp_code(tmp_path: Path) -> Path: function tmp_nested_code (line 146) | def tmp_nested_code(tmp_path: Path) -> Path: function tmp_empty (line 167) | def tmp_empty(tmp_path: Path) -> Path: function tmp_mixed (line 175) | def tmp_mixed(tmp_path: Path) -> Path: function tmp_media_files (line 184) | def tmp_media_files(tmp_path: Path) -> Path: class TestDirectoryParserBasic (line 200) | class TestDirectoryParserBasic: method test_supported_extensions_empty (line 203) | def test_supported_extensions_empty(self): method test_can_parse_directory (line 207) | def test_can_parse_directory(self, tmp_path: Path): method test_can_parse_file (line 211) | def test_can_parse_file(self, tmp_path: Path): method test_parse_content_not_implemented (line 218) | async def test_parse_content_not_implemented(self): method test_not_a_directory_raises (line 224) | async def test_not_a_directory_raises(self, tmp_path: Path, parser): class TestEmptyDirectory (line 236) | class TestEmptyDirectory: method test_empty_dir_returns_zero_files (line 240) | async def test_empty_dir_returns_zero_files(self, tmp_empty: Path, par... class TestDirectWriteFiles (line 254) | class TestDirectWriteFiles: method test_all_files_uploaded (line 258) | async def test_all_files_uploaded(self, tmp_code: Path, parser, fake_f... method test_dir_name_in_uri (line 270) | async def test_dir_name_in_uri(self, tmp_code: Path, parser, fake_fs) ... method test_content_preserved (line 278) | async def test_content_preserved(self, tmp_path: Path, parser, fake_fs... class TestNestedDirectory (line 295) | class TestNestedDirectory: method test_structure_preserved (line 299) | async def test_structure_preserved(self, tmp_nested_code: Path, parser... method test_file_count (line 316) | async def test_file_count(self, tmp_nested_code: Path, parser, fake_fs... class TestMixedDirectory (line 326) | class TestMixedDirectory: method test_only_processable_uploaded (line 330) | async def test_only_processable_uploaded(self, tmp_mixed: Path, parser... method test_warnings_for_unsupported (line 339) | async def test_warnings_for_unsupported(self, tmp_mixed: Path, parser,... class TestParserDelegation (line 349) | class TestParserDelegation: method test_md_file_goes_through_parser (line 353) | async def test_md_file_goes_through_parser(self, tmp_path: Path, parse... method test_txt_file_goes_through_parser (line 365) | async def test_txt_file_goes_through_parser(self, tmp_path: Path, pars... method test_docx_file_goes_through_parser (line 375) | async def test_docx_file_goes_through_parser(self, tmp_path: Path, par... method test_xlsx_file_goes_through_parser (line 417) | async def test_xlsx_file_goes_through_parser(self, tmp_path: Path, par... method test_epub_file_goes_through_parser (line 457) | async def test_epub_file_goes_through_parser(self, tmp_path: Path, par... method test_pptx_file_goes_through_parser (line 497) | async def test_pptx_file_goes_through_parser(self, tmp_path: Path, par... method test_zip_file_goes_through_parser (line 539) | async def test_zip_file_goes_through_parser(self, tmp_path: Path, pars... class TestPDFConversion (line 586) | class TestPDFConversion: method test_pdf_processed_by_parser (line 590) | async def test_pdf_processed_by_parser(self, tmp_path: Path, parser, f... method test_pdf_parse_failure_adds_warning (line 636) | async def test_pdf_parse_failure_adds_warning(self, tmp_path: Path, pa... class TestParseResultMetadata (line 666) | class TestParseResultMetadata: method test_result_fields (line 670) | async def test_result_fields(self, tmp_code: Path, parser, fake_fs) ->... class TestDirectlyUploadMedia (line 689) | class TestDirectlyUploadMedia: method test_default_directly_upload_media_true (line 693) | async def test_default_directly_upload_media_true(self, tmp_media_file... method test_directly_upload_media_false (line 709) | async def test_directly_upload_media_false(self, tmp_media_files: Path... class TestPreserveStructure (line 778) | class TestPreserveStructure: method test_preserve_structure_true_keeps_hierarchy (line 782) | async def test_preserve_structure_true_keeps_hierarchy( method test_preserve_structure_false_flattens (line 802) | async def test_preserve_structure_false_flattens( method test_preserve_structure_default_is_true (line 827) | async def test_preserve_structure_default_is_true( FILE: tests/parse/test_ast_extractor.py function _python_extractor (line 12) | def _python_extractor(): function _js_extractor (line 18) | def _js_extractor(): function _go_extractor (line 24) | def _go_extractor(): function _ts_extractor (line 30) | def _ts_extractor(): function _csharp_extractor (line 36) | def _csharp_extractor(): class TestPythonExtractor (line 47) | class TestPythonExtractor: method setup_method (line 101) | def setup_method(self): method test_module_doc (line 104) | def test_module_doc(self): method test_imports (line 108) | def test_imports(self): method test_class_extracted (line 114) | def test_class_extracted(self): method test_methods_extracted (line 121) | def test_methods_extracted(self): method test_multiline_params (line 129) | def test_multiline_params(self): method test_top_level_function (line 139) | def test_top_level_function(self): method test_to_text_compact (line 144) | def test_to_text_compact(self): method test_to_text_verbose (line 155) | def test_to_text_verbose(self): class TestJavaScriptExtractor (line 173) | class TestJavaScriptExtractor: method setup_method (line 206) | def setup_method(self): method test_imports (line 209) | def test_imports(self): method test_class_extracted (line 215) | def test_class_extracted(self): method test_class_docstring (line 220) | def test_class_docstring(self): method test_method_docstring (line 225) | def test_method_docstring(self): method test_function_extracted (line 232) | def test_function_extracted(self): method test_function_docstring (line 237) | def test_function_docstring(self): method test_to_text_compact (line 242) | def test_to_text_compact(self): method test_to_text_verbose (line 250) | def test_to_text_verbose(self): method test_export_class (line 258) | def test_export_class(self): method test_arrow_function (line 276) | def test_arrow_function(self): class TestGoExtractor (line 297) | class TestGoExtractor: method setup_method (line 325) | def setup_method(self): method test_imports (line 328) | def test_imports(self): method test_struct_extracted (line 333) | def test_struct_extracted(self): method test_functions_extracted (line 338) | def test_functions_extracted(self): method test_method_receiver_not_params (line 344) | def test_method_receiver_not_params(self): method test_docstring_extracted (line 351) | def test_docstring_extracted(self): method test_to_text_compact (line 362) | def test_to_text_compact(self): method test_to_text_verbose (line 370) | def test_to_text_verbose(self): function _java_extractor (line 383) | def _java_extractor(): class TestJavaExtractor (line 389) | class TestJavaExtractor: method setup_method (line 425) | def setup_method(self): method test_imports (line 428) | def test_imports(self): method test_class_extracted (line 432) | def test_class_extracted(self): method test_class_docstring (line 437) | def test_class_docstring(self): method test_methods_extracted (line 443) | def test_methods_extracted(self): method test_method_docstring (line 449) | def test_method_docstring(self): method test_to_text_compact (line 456) | def test_to_text_compact(self): method test_to_text_verbose (line 464) | def test_to_text_verbose(self): class TestCSharpExtractor (line 477) | class TestCSharpExtractor: method setup_method (line 514) | def setup_method(self): method test_imports (line 517) | def test_imports(self): method test_class_extracted (line 522) | def test_class_extracted(self): method test_class_docstring (line 527) | def test_class_docstring(self): method test_methods_extracted (line 533) | def test_methods_extracted(self): method test_method_docstring (line 540) | def test_method_docstring(self): method test_to_text_compact (line 547) | def test_to_text_compact(self): method test_to_text_verbose (line 555) | def test_to_text_verbose(self): method test_file_scoped_namespace (line 561) | def test_file_scoped_namespace(self): method test_property_accessor_signature (line 579) | def test_property_accessor_signature(self): function _cpp_extractor (line 602) | def _cpp_extractor(): class TestCppExtractor (line 608) | class TestCppExtractor: method setup_method (line 647) | def setup_method(self): method test_imports (line 650) | def test_imports(self): method test_class_extracted (line 655) | def test_class_extracted(self): method test_class_docstring (line 660) | def test_class_docstring(self): method test_method_docstring (line 666) | def test_method_docstring(self): method test_function_extracted (line 674) | def test_function_extracted(self): method test_function_docstring (line 679) | def test_function_docstring(self): method test_method_return_type (line 685) | def test_method_return_type(self): method test_to_text_compact (line 692) | def test_to_text_compact(self): method test_to_text_verbose (line 699) | def test_to_text_verbose(self): method test_typedef_struct_anonymous (line 706) | def test_typedef_struct_anonymous(self): method test_typedef_struct_named_tag (line 726) | def test_typedef_struct_named_tag(self): method test_typedef_struct_docstring (line 738) | def test_typedef_struct_docstring(self): method test_function_prototype_top_level (line 751) | def test_function_prototype_top_level(self): method test_function_prototype_return_type (line 767) | def test_function_prototype_return_type(self): method test_function_prototype_docstring (line 778) | def test_function_prototype_docstring(self): method test_namespace_typedef_and_proto (line 787) | def test_namespace_typedef_and_proto(self): method test_declaration_and_definition_both_extracted (line 805) | def test_declaration_and_definition_both_extracted(self): function _rust_extractor (line 826) | def _rust_extractor(): class TestRustExtractor (line 832) | class TestRustExtractor: method setup_method (line 872) | def setup_method(self): method test_imports (line 875) | def test_imports(self): method test_struct_extracted (line 879) | def test_struct_extracted(self): method test_struct_docstring (line 884) | def test_struct_docstring(self): method test_impl_methods_docstring (line 890) | def test_impl_methods_docstring(self): method test_function_extracted (line 900) | def test_function_extracted(self): method test_function_docstring (line 905) | def test_function_docstring(self): method test_to_text_compact (line 911) | def test_to_text_compact(self): method test_to_text_verbose (line 918) | def test_to_text_verbose(self): class TestSkeletonToText (line 931) | class TestSkeletonToText: method _make_skeleton (line 934) | def _make_skeleton(self): method test_empty_skeleton (line 951) | def test_empty_skeleton(self): method test_compact_only_first_line (line 962) | def test_compact_only_first_line(self): method test_verbose_full_docstring (line 974) | def test_verbose_full_docstring(self): method test_verbose_single_line_doc_no_extra_quotes (line 981) | def test_verbose_single_line_doc_no_extra_quotes(self): class TestTypeScriptExtractor (line 1003) | class TestTypeScriptExtractor: method setup_method (line 1041) | def setup_method(self): method test_imports (line 1044) | def test_imports(self): method test_class_extracted (line 1051) | def test_class_extracted(self): method test_class_docstring (line 1056) | def test_class_docstring(self): method test_methods_extracted (line 1062) | def test_methods_extracted(self): method test_method_docstring (line 1069) | def test_method_docstring(self): method test_function_extracted (line 1076) | def test_function_extracted(self): method test_function_docstring (line 1081) | def test_function_docstring(self): method test_to_text_compact (line 1087) | def test_to_text_compact(self): method test_to_text_verbose (line 1094) | def test_to_text_verbose(self): class TestASTExtractorDispatch (line 1107) | class TestASTExtractorDispatch: method setup_method (line 1108) | def setup_method(self): method test_python_dispatch (line 1113) | def test_python_dispatch(self): method test_go_dispatch (line 1119) | def test_go_dispatch(self): method test_csharp_dispatch (line 1125) | def test_csharp_dispatch(self): method test_unknown_extension_returns_none (line 1131) | def test_unknown_extension_returns_none(self): method test_never_raises (line 1136) | def test_never_raises(self): method test_verbose_propagated (line 1144) | def test_verbose_propagated(self): FILE: tests/parse/test_directory_parser_routing.py function registry (line 47) | def registry() -> ParserRegistry: function tmp_all_parsers (line 56) | def tmp_all_parsers(tmp_path: Path) -> Path: class TestParserSelection (line 143) | class TestParserSelection: method test_dedicated_parsers_resolve (line 171) | def test_dedicated_parsers_resolve(self, registry: ParserRegistry) -> ... method test_text_fallback_returns_none_from_registry (line 181) | def test_text_fallback_returns_none_from_registry(self, registry: Pars... method test_scan_classifies_all_files_correctly (line 192) | def test_scan_classifies_all_files_correctly( method test_each_processable_file_has_a_parser_or_is_text (line 215) | def test_each_processable_file_has_a_parser_or_is_text( class TestParserCanParse (line 231) | class TestParserCanParse: method test_can_parse_returns_true (line 248) | def test_can_parse_returns_true(self, parser_cls: type, filenames: Lis... method test_can_parse_returns_false_for_wrong_extension (line 269) | def test_can_parse_returns_false_for_wrong_extension( function _compute_file_target (line 288) | def _compute_file_target(rel_path: str, base_target: str) -> str: function _expected_final_uri (line 296) | def _expected_final_uri(rel_path: str, base_target: str) -> str: class TestPathMapping (line 307) | class TestPathMapping: method test_target_uri_computation (line 348) | def test_target_uri_computation(self, rel_path: str, expected_target: ... method test_final_uri_matches_rel_path_structure (line 353) | def test_final_uri_matches_rel_path_structure( class TestPathMappingFromScan (line 360) | class TestPathMappingFromScan: method tmp_deep (line 365) | def tmp_deep(self, tmp_path: Path) -> Path: method test_scan_then_map_preserves_structure (line 388) | def test_scan_then_map_preserves_structure(self, tmp_deep: Path) -> None: method test_empty_directory_produces_no_mappings (line 406) | def test_empty_directory_produces_no_mappings(self, tmp_path: Path) ->... FILE: tests/parse/test_directory_scan.py function tmp_tree (line 24) | def tmp_tree(tmp_path: Path) -> Path: function tmp_all_supported (line 62) | def tmp_all_supported(tmp_path: Path) -> Path: function tmp_with_drafts (line 71) | def tmp_with_drafts(tmp_path: Path) -> Path: function registry (line 84) | def registry() -> ParserRegistry: class TestScanDirectoryTraversal (line 94) | class TestScanDirectoryTraversal: method test_traverses_all_non_ignored_dirs (line 97) | def test_traverses_all_non_ignored_dirs(self, tmp_tree: Path, registry... method test_skips_dot_files_and_empty (line 107) | def test_skips_dot_files_and_empty(self, tmp_tree: Path, registry: Par... class TestScanDirectoryClassification (line 115) | class TestScanDirectoryClassification: method test_processable_includes_parser_files (line 118) | def test_processable_includes_parser_files( method test_processable_includes_code_or_config (line 133) | def test_processable_includes_code_or_config( method test_unsupported_unknown_ext (line 142) | def test_unsupported_unknown_ext(self, tmp_tree: Path, registry: Parse... class TestStrictParameter (line 155) | class TestStrictParameter: method test_strict_raises_when_unsupported (line 158) | def test_strict_raises_when_unsupported(self, tmp_tree: Path, registry... method test_non_strict_returns_warnings (line 165) | def test_non_strict_returns_warnings(self, tmp_tree: Path, registry: P... method test_strict_passes_when_no_unsupported (line 171) | def test_strict_passes_when_no_unsupported( class TestExceptionReporting (line 186) | class TestExceptionReporting: method test_error_contains_all_unsupported_paths (line 189) | def test_error_contains_all_unsupported_paths( class TestScanDirectoryEdgeCases (line 206) | class TestScanDirectoryEdgeCases: method test_raises_on_nonexistent (line 209) | def test_raises_on_nonexistent(self, registry: ParserRegistry) -> None: method test_raises_on_file_not_dir (line 213) | def test_raises_on_file_not_dir(self, tmp_tree: Path, registry: Parser... method test_custom_ignore_dirs (line 217) | def test_custom_ignore_dirs(self, tmp_tree: Path, registry: ParserRegi... method test_result_all_processable (line 252) | def test_result_all_processable( class TestIncludeExclude (line 269) | class TestIncludeExclude: method test_include_only_matching_files (line 272) | def test_include_only_matching_files( method test_exclude_path_prefix (line 291) | def test_exclude_path_prefix(self, tmp_with_drafts: Path, registry: Pa... method test_include_and_exclude_combined (line 308) | def test_include_and_exclude_combined( method test_exclude_name_glob (line 325) | def test_exclude_name_glob(self, tmp_tree: Path, registry: ParserRegis... method test_no_include_means_all_files (line 337) | def test_no_include_means_all_files( method test_empty_include_exclude_unchanged (line 351) | def test_empty_include_exclude_unchanged( method test_ignore_dirs_with_include_and_exclude (line 360) | def test_ignore_dirs_with_include_and_exclude( class TestClassifiedFileAndResult (line 388) | class TestClassifiedFileAndResult: method test_classified_file_has_rel_path_and_classification (line 391) | def test_classified_file_has_rel_path_and_classification(self) -> None: method test_scan_result_root_and_lists (line 397) | def test_scan_result_root_and_lists( FILE: tests/parse/test_filename_safety.py class TestSanitizeForPath (line 8) | class TestSanitizeForPath: method _make_md_parser (line 11) | def _make_md_parser(self): method test_short_text_unchanged (line 16) | def test_short_text_unchanged(self): method test_empty_text_returns_section (line 20) | def test_empty_text_returns_section(self): method test_special_chars_removed (line 25) | def test_special_chars_removed(self): method test_chinese_preserved (line 30) | def test_chinese_preserved(self): method test_long_text_truncated_with_hash (line 35) | def test_long_text_truncated_with_hash(self): method test_exact_boundary_not_hashed (line 43) | def test_exact_boundary_not_hashed(self): method test_one_over_boundary_hashed (line 50) | def test_one_over_boundary_hashed(self): method test_custom_max_length (line 57) | def test_custom_max_length(self): method test_shell_comment_heading (line 65) | def test_shell_comment_heading(self): class TestGenerateMergedFilename (line 73) | class TestGenerateMergedFilename: method _make_md_parser (line 76) | def _make_md_parser(self): method test_single_short_section (line 81) | def test_single_short_section(self): method test_multiple_sections (line 86) | def test_multiple_sections(self): method test_empty_sections (line 93) | def test_empty_sections(self): method test_long_single_name_hashed (line 97) | def test_long_single_name_hashed(self): method test_result_never_exceeds_limit (line 103) | def test_result_never_exceeds_limit(self): class TestShortenComponent (line 111) | class TestShortenComponent: method test_short_component_unchanged (line 114) | def test_short_component_unchanged(self): method test_long_component_shortened (line 119) | def test_long_component_shortened(self): method test_exact_255_bytes_unchanged (line 126) | def test_exact_255_bytes_unchanged(self): method test_256_bytes_shortened (line 132) | def test_256_bytes_shortened(self): method test_unicode_multibyte_handling (line 141) | def test_unicode_multibyte_handling(self): method test_realistic_long_filename (line 149) | def test_realistic_long_filename(self): class TestDownloaderGenerateFilename (line 165) | class TestDownloaderGenerateFilename: method test_short_url (line 168) | def test_short_url(self): method test_long_path_url (line 174) | def test_long_path_url(self): method test_host_only_url (line 181) | def test_host_only_url(self): FILE: tests/parse/test_html_parser_utils.py class TestHTMLParserRawUrlConversion (line 5) | class TestHTMLParserRawUrlConversion: method setup_method (line 8) | def setup_method(self): method test_github_blob_conversion (line 11) | def test_github_blob_conversion(self): method test_github_non_blob_urls (line 22) | def test_github_non_blob_urls(self): method test_gitlab_blob_conversion (line 32) | def test_gitlab_blob_conversion(self): method test_gitlab_non_blob_urls (line 41) | def test_gitlab_non_blob_urls(self): method test_other_domains (line 48) | def test_other_domains(self): FILE: tests/parse/test_pdf_bookmark_extraction.py class TestExtractBookmarks (line 15) | class TestExtractBookmarks: method setup_method (line 18) | def setup_method(self): method test_extract_bookmarks_with_outlines (line 21) | def test_extract_bookmarks_with_outlines(self): method test_extract_bookmarks_no_outlines (line 53) | def test_extract_bookmarks_no_outlines(self): method test_extract_bookmarks_no_get_outlines (line 62) | def test_extract_bookmarks_no_get_outlines(self): method test_extract_bookmarks_skips_empty_titles (line 71) | def test_extract_bookmarks_skips_empty_titles(self): method test_extract_bookmarks_caps_level_at_6 (line 85) | def test_extract_bookmarks_caps_level_at_6(self): method test_extract_bookmarks_unresolved_pages (line 96) | def test_extract_bookmarks_unresolved_pages(self): method test_extract_bookmarks_integer_page_index (line 108) | def test_extract_bookmarks_integer_page_index(self): method test_extract_bookmarks_integer_page_index_out_of_range (line 131) | def test_extract_bookmarks_integer_page_index_out_of_range(self): method test_extract_bookmarks_exception_returns_empty (line 151) | def test_extract_bookmarks_exception_returns_empty(self): FILE: tests/parse/test_url_filename_preservation.py class TestExtractFilenameFromUrl (line 15) | class TestExtractFilenameFromUrl: method test_simple_filename (line 18) | def test_simple_filename(self): method test_url_encoded_path (line 22) | def test_url_encoded_path(self): method test_url_encoded_filename (line 26) | def test_url_encoded_filename(self): method test_query_params_ignored (line 30) | def test_query_params_ignored(self): method test_no_filename_fallback (line 34) | def test_no_filename_fallback(self): method test_cos_url (line 38) | def test_cos_url(self): method test_markdown_extension (line 45) | def test_markdown_extension(self): method test_no_extension (line 49) | def test_no_extension(self): class TestURLTypeDetectorCodeExtensions (line 54) | class TestURLTypeDetectorCodeExtensions: method setup_method (line 57) | def setup_method(self): method test_py_extension_detected (line 61) | async def test_py_extension_detected(self): method test_js_extension_detected (line 68) | async def test_js_extension_detected(self): method test_yaml_extension_detected (line 74) | async def test_yaml_extension_detected(self): method test_json_extension_detected (line 80) | async def test_json_extension_detected(self): method test_go_extension_detected (line 86) | async def test_go_extension_detected(self): method test_rs_extension_detected (line 92) | async def test_rs_extension_detected(self): method test_url_encoded_py_extension (line 98) | async def test_url_encoded_py_extension(self): method test_md_still_routes_to_markdown (line 104) | async def test_md_still_routes_to_markdown(self): method test_pdf_still_routes_to_pdf (line 110) | async def test_pdf_still_routes_to_pdf(self): method test_html_still_routes_to_download_html (line 116) | async def test_html_still_routes_to_download_html(self): FILE: tests/resource/test_watch_manager.py class MockVikingFS (line 25) | class MockVikingFS: method __init__ (line 28) | def __init__(self, root_path: str): method read_file (line 32) | async def read_file(self, uri: str, ctx=None) -> str: method write_file (line 40) | async def write_file(self, uri: str, content: str, ctx=None) -> None: method _uri_to_path (line 45) | def _uri_to_path(self, uri: str) -> str: function temp_storage (line 53) | async def temp_storage(tmp_path: Path) -> AsyncGenerator[Path, None]: function mock_viking_fs (line 61) | async def mock_viking_fs(temp_storage: Path) -> MockVikingFS: function watch_manager (line 67) | async def watch_manager(mock_viking_fs: MockVikingFS) -> AsyncGenerator[... function watch_manager_no_fs (line 76) | async def watch_manager_no_fs() -> AsyncGenerator[WatchManager, None]: class TestWatchTask (line 84) | class TestWatchTask: method test_create_task_with_defaults (line 87) | def test_create_task_with_defaults(self): method test_create_task_with_all_fields (line 103) | def test_create_task_with_all_fields(self): method test_to_dict (line 131) | def test_to_dict(self): method test_from_dict (line 149) | def test_from_dict(self): method test_calculate_next_execution_time (line 176) | def test_calculate_next_execution_time(self): method test_calculate_next_execution_time_with_last_execution (line 190) | def test_calculate_next_execution_time_with_last_execution(self): class TestWatchManager (line 207) | class TestWatchManager: method test_create_task (line 211) | async def test_create_task(self, watch_manager: WatchManager): method test_create_task_without_path_raises (line 228) | async def test_create_task_without_path_raises(self, watch_manager: Wa... method test_create_task_with_conflicting_uri (line 234) | async def test_create_task_with_conflicting_uri(self, watch_manager: W... method test_update_task (line 248) | async def test_update_task(self, watch_manager: WatchManager): method test_update_task_not_found (line 271) | async def test_update_task_not_found(self, watch_manager: WatchManager): method test_update_task_with_conflicting_uri (line 283) | async def test_update_task_with_conflicting_uri(self, watch_manager: W... method test_delete_task (line 304) | async def test_delete_task(self, watch_manager: WatchManager): method test_delete_task_not_found (line 332) | async def test_delete_task_not_found(self, watch_manager: WatchManager): method test_get_task (line 343) | async def test_get_task(self, watch_manager: WatchManager): method test_get_task_not_found (line 354) | async def test_get_task_not_found(self, watch_manager: WatchManager): method test_get_all_tasks (line 360) | async def test_get_all_tasks(self, watch_manager: WatchManager): method test_get_all_tasks_active_only (line 375) | async def test_get_all_tasks_active_only(self, watch_manager: WatchMan... method test_get_task_by_uri (line 399) | async def test_get_task_by_uri(self, watch_manager: WatchManager): method test_get_task_by_uri_not_found (line 417) | async def test_get_task_by_uri_not_found(self, watch_manager: WatchMan... method test_update_execution_time (line 428) | async def test_update_execution_time(self, watch_manager: WatchManager): method test_get_due_tasks (line 446) | async def test_get_due_tasks(self, watch_manager: WatchManager): method test_clear_all_tasks (line 465) | async def test_clear_all_tasks(self, watch_manager: WatchManager): method test_create_task_with_non_positive_interval_raises (line 482) | async def test_create_task_with_non_positive_interval_raises(self, wat... method test_get_next_execution_time (line 487) | async def test_get_next_execution_time(self, watch_manager: WatchManag... method test_user_cannot_access_other_agent_task (line 495) | async def test_user_cannot_access_other_agent_task(self, watch_manager... method test_user_cannot_update_or_delete_other_agent_task (line 530) | async def test_user_cannot_update_or_delete_other_agent_task(self, wat... method test_admin_can_manage_other_agent_task_in_same_account (line 559) | async def test_admin_can_manage_other_agent_task_in_same_account( class TestWatchManagerPersistence (line 582) | class TestWatchManagerPersistence: method test_persistence_save_and_load (line 586) | async def test_persistence_save_and_load( method test_persistence_without_vikingfs (line 613) | async def test_persistence_without_vikingfs(self, watch_manager_no_fs:... method test_persistence_after_delete (line 625) | async def test_persistence_after_delete(self, mock_viking_fs: MockViki... method test_persistence_backfill_next_execution_time (line 657) | async def test_persistence_backfill_next_execution_time( method test_persistence_empty_storage_file_is_ignored (line 684) | async def test_persistence_empty_storage_file_is_ignored(self, mock_vi... method test_persistence_recovers_from_backup_on_corrupt_storage (line 699) | async def test_persistence_recovers_from_backup_on_corrupt_storage( class TestWatchManagerConcurrency (line 730) | class TestWatchManagerConcurrency: method test_concurrent_task_creation (line 734) | async def test_concurrent_task_creation(self, watch_manager: WatchMana... method test_concurrent_read_write (line 756) | async def test_concurrent_read_write(self, watch_manager: WatchManager): FILE: tests/resource/test_watch_scheduler.py class TestWatchSchedulerValidation (line 7) | class TestWatchSchedulerValidation: method test_check_interval_must_be_positive (line 8) | def test_check_interval_must_be_positive(self): method test_max_concurrency_must_be_positive (line 13) | def test_max_concurrency_must_be_positive(self): class TestWatchSchedulerResourceExistence (line 19) | class TestWatchSchedulerResourceExistence: method test_url_like_sources_are_treated_as_existing (line 20) | def test_url_like_sources_are_treated_as_existing(self): FILE: tests/retrieve/test_hierarchical_retriever_rerank.py class DummyEmbedResult (line 15) | class DummyEmbedResult: method __init__ (line 16) | def __init__(self) -> None: class DummyEmbedder (line 21) | class DummyEmbedder: method embed (line 22) | def embed(self, _query: str, is_query: bool = False) -> DummyEmbedResult: class DummyStorage (line 26) | class DummyStorage: method __init__ (line 27) | def __init__(self) -> None: method collection_exists_bound (line 32) | async def collection_exists_bound(self) -> bool: method search_global_roots_in_tenant (line 35) | async def search_global_roots_in_tenant( method search_children_in_tenant (line 73) | async def search_children_in_tenant( class LevelTwoGlobalStorage (line 118) | class LevelTwoGlobalStorage(DummyStorage): method search_global_roots_in_tenant (line 119) | async def search_global_roots_in_tenant( method search_children_in_tenant (line 159) | async def search_children_in_tenant( class FakeRerankClient (line 185) | class FakeRerankClient: method __init__ (line 186) | def __init__(self, scores): method rerank_batch (line 191) | def rerank_batch(self, query: str, documents: list[str]): function _ctx (line 199) | def _ctx() -> RequestContext: function _query (line 203) | def _query() -> TypedQuery: function _config (line 207) | def _config() -> RerankConfig: function _disable_viking_fs (line 212) | def _disable_viking_fs(monkeypatch): function test_retriever_initializes_rerank_client (line 216) | def test_retriever_initializes_rerank_client(monkeypatch): function test_merge_starting_points_prefers_rerank_scores_in_thinking_mode (line 233) | def test_merge_starting_points_prefers_rerank_scores_in_thinking_mode(mo... function test_retrieve_uses_rerank_scores_in_thinking_mode (line 274) | async def test_retrieve_uses_rerank_scores_in_thinking_mode(monkeypatch): function test_retrieve_reranks_level_two_initial_candidates_in_thinking_mode (line 298) | async def test_retrieve_reranks_level_two_initial_candidates_in_thinking... function test_retrieve_falls_back_to_vector_scores_when_rerank_returns_none (line 321) | async def test_retrieve_falls_back_to_vector_scores_when_rerank_returns_... function test_quick_mode_skips_rerank (line 349) | async def test_quick_mode_skips_rerank(monkeypatch): FILE: tests/retrieve/test_hierarchical_retriever_target_dirs.py class DummyStorage (line 14) | class DummyStorage: method __init__ (line 17) | def __init__(self) -> None: method collection_exists_bound (line 22) | async def collection_exists_bound(self) -> bool: method search_global_roots_in_tenant (line 25) | async def search_global_roots_in_tenant( method search_children_in_tenant (line 48) | async def search_children_in_tenant( function test_retrieve_honors_target_directories_scope_filter (line 75) | async def test_retrieve_honors_target_directories_scope_filter(): FILE: tests/server/conftest.py function _install_fake_embedder (line 51) | def _install_fake_embedder(monkeypatch): function _install_fake_vlm (line 72) | def _install_fake_vlm(monkeypatch): function temp_dir (line 92) | def temp_dir(): function sample_markdown_file (line 103) | def sample_markdown_file(temp_dir: Path) -> Path: function service (line 111) | async def service(temp_dir: Path, monkeypatch): function app (line 127) | async def app(service: OpenVikingService): function client (line 139) | async def client(app): function client_with_resource (line 147) | async def client_with_resource(client, service, sample_markdown_file): function running_server (line 165) | async def running_server(temp_dir: Path, monkeypatch): FILE: tests/server/test_admin_api.py function _uid (line 19) | def _uid() -> str: function admin_service (line 27) | async def admin_service(temp_dir): function admin_app (line 37) | async def admin_app(admin_service): function admin_client (line 50) | async def admin_client(admin_app): function root_headers (line 56) | def root_headers(): function test_create_account (line 63) | async def test_create_account(admin_client: httpx.AsyncClient): function test_list_accounts (line 78) | async def test_list_accounts(admin_client: httpx.AsyncClient): function test_delete_account (line 94) | async def test_delete_account(admin_client: httpx.AsyncClient): function test_create_duplicate_account_fails (line 116) | async def test_create_duplicate_account_fails(admin_client: httpx.AsyncC... function test_register_user (line 135) | async def test_register_user(admin_client: httpx.AsyncClient): function test_admin_can_register_user_in_own_account (line 162) | async def test_admin_can_register_user_in_own_account(admin_client: http... function test_admin_cannot_register_user_in_other_account (line 180) | async def test_admin_cannot_register_user_in_other_account(admin_client:... function test_list_users (line 205) | async def test_list_users(admin_client: httpx.AsyncClient): function test_remove_user (line 225) | async def test_remove_user(admin_client: httpx.AsyncClient): function test_set_role (line 256) | async def test_set_role(admin_client: httpx.AsyncClient): function test_regenerate_key (line 278) | async def test_regenerate_key(admin_client: httpx.AsyncClient): function test_user_role_cannot_access_admin_api (line 319) | async def test_user_role_cannot_access_admin_api(admin_client: httpx.Asy... function test_no_auth_admin_api_returns_401 (line 343) | async def test_no_auth_admin_api_returns_401(admin_client: httpx.AsyncCl... FILE: tests/server/test_api_content.py function test_read_content (line 15) | async def test_read_content(client_with_resource): function test_abstract_content (line 38) | async def test_abstract_content(client_with_resource): function test_overview_content (line 46) | async def test_overview_content(client_with_resource): function test_reindex_missing_uri (line 54) | async def test_reindex_missing_uri(client): function test_reindex_endpoint_registered (line 63) | async def test_reindex_endpoint_registered(client): function test_reindex_request_validation (line 69) | async def test_reindex_request_validation(client): function test_reindex_wait_parameter_schema (line 84) | async def test_reindex_wait_parameter_schema(client): function test_reindex_uses_request_tenant_for_exists (line 97) | async def test_reindex_uses_request_tenant_for_exists(monkeypatch): FILE: tests/server/test_api_filesystem.py function test_ls_root (line 9) | async def test_ls_root(client: httpx.AsyncClient): function test_ls_simple (line 17) | async def test_ls_simple(client: httpx.AsyncClient): function test_ls_simple_agent_output (line 32) | async def test_ls_simple_agent_output(client: httpx.AsyncClient): function test_mkdir_and_ls (line 47) | async def test_mkdir_and_ls(client: httpx.AsyncClient): function test_tree (line 62) | async def test_tree(client: httpx.AsyncClient): function test_stat_not_found (line 69) | async def test_stat_not_found(client: httpx.AsyncClient): function test_resource_ops (line 79) | async def test_resource_ops(client_with_resource): FILE: tests/server/test_api_key_manager.py function _uid (line 18) | def _uid() -> str: function manager_service (line 27) | async def manager_service(temp_dir): function manager (line 38) | async def manager(manager_service): function test_resolve_root_key (line 48) | async def test_resolve_root_key(manager: APIKeyManager): function test_resolve_wrong_key_raises (line 56) | async def test_resolve_wrong_key_raises(manager: APIKeyManager): function test_resolve_empty_key_raises (line 62) | async def test_resolve_empty_key_raises(manager: APIKeyManager): function test_create_account (line 71) | async def test_create_account(manager: APIKeyManager): function test_create_duplicate_account_raises (line 84) | async def test_create_duplicate_account_raises(manager: APIKeyManager): function test_delete_account (line 92) | async def test_delete_account(manager: APIKeyManager): function test_delete_nonexistent_account_raises (line 104) | async def test_delete_nonexistent_account_raises(manager: APIKeyManager): function test_default_account_exists (line 110) | async def test_default_account_exists(manager: APIKeyManager): function test_register_user (line 119) | async def test_register_user(manager: APIKeyManager): function test_register_duplicate_user_raises (line 131) | async def test_register_duplicate_user_raises(manager: APIKeyManager): function test_register_user_in_nonexistent_account_raises (line 139) | async def test_register_user_in_nonexistent_account_raises(manager: APIK... function test_remove_user (line 145) | async def test_remove_user(manager: APIKeyManager): function test_regenerate_key (line 159) | async def test_regenerate_key(manager: APIKeyManager): function test_set_role (line 178) | async def test_set_role(manager: APIKeyManager): function test_get_users (line 190) | async def test_get_users(manager: APIKeyManager): function test_persistence_across_reload (line 208) | async def test_persistence_across_reload(manager_service): FILE: tests/server/test_api_observer.py function test_observer_queue (line 9) | async def test_observer_queue(client: httpx.AsyncClient): function test_observer_vikingdb (line 22) | async def test_observer_vikingdb(client: httpx.AsyncClient): function test_observer_vlm (line 33) | async def test_observer_vlm(client: httpx.AsyncClient): function test_observer_system (line 44) | async def test_observer_system(client: httpx.AsyncClient): FILE: tests/server/test_api_relations.py function test_get_relations_empty (line 7) | async def test_get_relations_empty(client_with_resource): function test_link_and_get_relations (line 16) | async def test_link_and_get_relations(client_with_resource): function test_unlink (line 49) | async def test_unlink(client_with_resource): function test_link_multiple_targets (line 75) | async def test_link_multiple_targets(client_with_resource): FILE: tests/server/test_api_resources.py function test_add_resource_success (line 13) | async def test_add_resource_success(client: httpx.AsyncClient, sample_ma... function test_add_resource_with_wait (line 32) | async def test_add_resource_with_wait(client: httpx.AsyncClient, sample_... function test_add_resource_with_telemetry_wait (line 47) | async def test_add_resource_with_telemetry_wait(client: httpx.AsyncClien... function test_add_resource_with_telemetry_includes_resource_breakdown (line 72) | async def test_add_resource_with_telemetry_includes_resource_breakdown( function test_add_resource_with_summary_only_telemetry (line 119) | async def test_add_resource_with_summary_only_telemetry( function test_add_resource_rejects_events_only_telemetry (line 141) | async def test_add_resource_rejects_events_only_telemetry( function test_add_resource_file_not_found (line 160) | async def test_add_resource_file_not_found(client: httpx.AsyncClient): function test_add_resource_with_to (line 171) | async def test_add_resource_with_to(client: httpx.AsyncClient, sample_ma... function test_wait_processed_empty_queue (line 186) | async def test_wait_processed_empty_queue(client: httpx.AsyncClient): function test_wait_processed_after_add (line 196) | async def test_wait_processed_after_add(client: httpx.AsyncClient, sampl... function test_add_resource_with_watch_interval_requires_to (line 209) | async def test_add_resource_with_watch_interval_requires_to( function test_add_resource_with_default_watch_interval (line 226) | async def test_add_resource_with_default_watch_interval( function test_temp_upload_success (line 242) | async def test_temp_upload_success(client: httpx.AsyncClient, temp_dir, ... function test_temp_upload_with_telemetry_returns_summary (line 261) | async def test_temp_upload_with_telemetry_returns_summary( FILE: tests/server/test_api_search.py function fake_query_embedder (line 13) | def fake_query_embedder(service): function test_find_basic (line 21) | async def test_find_basic(client_with_resource): function test_find_with_target_uri (line 35) | async def test_find_with_target_uri(client_with_resource): function test_find_with_score_threshold (line 45) | async def test_find_with_score_threshold(client_with_resource): function test_find_no_results (line 59) | async def test_find_no_results(client: httpx.AsyncClient): function test_search_basic (line 68) | async def test_search_basic(client_with_resource): function test_search_with_session (line 80) | async def test_search_with_session(client_with_resource): function test_find_telemetry_metrics (line 98) | async def test_find_telemetry_metrics(client_with_resource): function test_search_telemetry_metrics (line 120) | async def test_search_telemetry_metrics(client_with_resource): function test_find_summary_only_telemetry (line 136) | async def test_find_summary_only_telemetry(client_with_resource): function test_find_rejects_events_telemetry_request (line 155) | async def test_find_rejects_events_telemetry_request(client_with_resource): function test_grep (line 172) | async def test_grep(client_with_resource): function test_grep_case_insensitive (line 183) | async def test_grep_case_insensitive(client_with_resource): function test_glob (line 198) | async def test_glob(client_with_resource): FILE: tests/server/test_api_sessions.py function test_create_session (line 13) | async def test_create_session(client: httpx.AsyncClient): function test_list_sessions (line 21) | async def test_list_sessions(client: httpx.AsyncClient): function test_get_session (line 31) | async def test_get_session(client: httpx.AsyncClient): function test_add_message (line 42) | async def test_add_message(client: httpx.AsyncClient): function test_add_multiple_messages (line 56) | async def test_add_multiple_messages(client: httpx.AsyncClient): function test_add_message_persistence_regression (line 84) | async def test_add_message_persistence_regression(client: httpx.AsyncCli... function test_delete_session (line 117) | async def test_delete_session(client: httpx.AsyncClient): function test_compress_session (line 134) | async def test_compress_session(client: httpx.AsyncClient): function test_compress_session_with_telemetry (line 152) | async def test_compress_session_with_telemetry(client: httpx.AsyncClient): function test_compress_session_with_telemetry_includes_memory_extract_breakdown (line 176) | async def test_compress_session_with_telemetry_includes_memory_extract_b... function test_compress_session_with_summary_only_telemetry (line 230) | async def test_compress_session_with_summary_only_telemetry(client: http... function test_extract_session_jsonable_regression (line 252) | async def test_extract_session_jsonable_regression(client: httpx.AsyncCl... FILE: tests/server/test_auth.py function _uid (line 27) | def _uid() -> str: function _make_request (line 34) | def _make_request( function _build_auth_http_test_app (line 56) | def _build_auth_http_test_app( function auth_service (line 122) | async def auth_service(temp_dir): function auth_app (line 133) | async def auth_app(auth_service): function auth_client (line 150) | async def auth_client(auth_app): function user_key (line 158) | async def user_key(auth_app): function test_health_no_auth_required (line 168) | async def test_health_no_auth_required(auth_client: httpx.AsyncClient): function test_root_key_via_x_api_key (line 175) | async def test_root_key_via_x_api_key(auth_client: httpx.AsyncClient): function test_root_key_via_bearer (line 184) | async def test_root_key_via_bearer(auth_client: httpx.AsyncClient): function test_user_key_access (line 193) | async def test_user_key_access(auth_client: httpx.AsyncClient, user_key:... function test_missing_key_returns_401 (line 202) | async def test_missing_key_returns_401(auth_client: httpx.AsyncClient): function test_wrong_key_returns_401 (line 211) | async def test_wrong_key_returns_401(auth_client: httpx.AsyncClient): function test_bearer_without_prefix_fails (line 220) | async def test_bearer_without_prefix_fails(auth_client: httpx.AsyncClient): function test_dev_mode_no_auth (line 229) | async def test_dev_mode_no_auth(client: httpx.AsyncClient): function test_auth_on_multiple_endpoints (line 235) | async def test_auth_on_multiple_endpoints(auth_client: httpx.AsyncClient): function test_user_key_cannot_access_admin_api (line 272) | async def test_user_key_cannot_access_admin_api(auth_client: httpx.Async... function test_agent_id_header_forwarded (line 283) | async def test_agent_id_header_forwarded(auth_client: httpx.AsyncClient): function test_cross_tenant_session_get_returns_not_found (line 292) | async def test_cross_tenant_session_get_returns_not_found(auth_client: h... function test_root_tenant_scoped_requests_require_explicit_identity (line 324) | async def test_root_tenant_scoped_requests_require_explicit_identity(): function test_root_system_status_allows_implicit_default_identity (line 333) | async def test_root_system_status_allows_implicit_default_identity(): function test_root_tenant_scoped_requests_allow_explicit_identity (line 345) | async def test_root_tenant_scoped_requests_allow_explicit_identity(): function test_root_monitoring_requests_allow_implicit_default_identity (line 364) | async def test_root_monitoring_requests_allow_implicit_default_identity(): function test_root_system_wait_allows_implicit_default_identity (line 377) | async def test_root_system_wait_allows_implicit_default_identity(): function test_root_debug_vector_requests_require_explicit_identity (line 387) | async def test_root_debug_vector_requests_require_explicit_identity(): function test_dev_mode_root_tenant_scoped_requests_allow_implicit_identity (line 396) | async def test_dev_mode_root_tenant_scoped_requests_allow_implicit_ident... function test_root_tenant_scoped_requests_return_structured_400_via_http (line 408) | async def test_root_tenant_scoped_requests_return_structured_400_via_htt... function test_root_monitoring_requests_keep_200_via_http (line 423) | async def test_root_monitoring_requests_keep_200_via_http(): function test_root_system_wait_keeps_200_via_http (line 438) | async def test_root_system_wait_keeps_200_via_http(): function test_root_debug_vector_requests_return_structured_400_via_http (line 453) | async def test_root_debug_vector_requests_return_structured_400_via_http(): function test_dev_mode_root_tenant_scoped_requests_keep_200_via_http (line 468) | async def test_dev_mode_root_tenant_scoped_requests_keep_200_via_http(): function test_is_localhost_true (line 487) | def test_is_localhost_true(host: str): function test_is_localhost_false (line 492) | def test_is_localhost_false(host: str): function test_validate_no_key_localhost_passes (line 499) | def test_validate_no_key_localhost_passes(): function test_validate_no_key_non_localhost_raises (line 506) | def test_validate_no_key_non_localhost_raises(): function test_validate_with_key_any_host_passes (line 513) | def test_validate_with_key_any_host_passes(): FILE: tests/server/test_error_scenarios.py function test_invalid_json_body (line 9) | async def test_invalid_json_body(client: httpx.AsyncClient): function test_missing_required_field (line 19) | async def test_missing_required_field(client: httpx.AsyncClient): function test_not_found_resource_returns_structured_error (line 28) | async def test_not_found_resource_returns_structured_error( function test_add_resource_file_not_found (line 43) | async def test_add_resource_file_not_found(client: httpx.AsyncClient): function test_empty_body_on_post (line 58) | async def test_empty_body_on_post(client: httpx.AsyncClient): function test_wrong_content_type (line 68) | async def test_wrong_content_type(client: httpx.AsyncClient): function test_invalid_uri_format (line 78) | async def test_invalid_uri_format(client: httpx.AsyncClient): function test_export_nonexistent_uri (line 92) | async def test_export_nonexistent_uri(client: httpx.AsyncClient): FILE: tests/server/test_http_client_sdk.py function http_client (line 13) | async def http_client(running_server): function test_sdk_health (line 29) | async def test_sdk_health(http_client): function test_sdk_add_resource (line 39) | async def test_sdk_add_resource(http_client): function test_sdk_wait_processed (line 52) | async def test_sdk_wait_processed(http_client): function test_sdk_ls (line 63) | async def test_sdk_ls(http_client): function test_sdk_mkdir_and_ls (line 69) | async def test_sdk_mkdir_and_ls(http_client): function test_sdk_tree (line 76) | async def test_sdk_tree(http_client): function test_sdk_session_lifecycle (line 87) | async def test_sdk_session_lifecycle(http_client): function test_sdk_find (line 113) | async def test_sdk_find(http_client): function test_sdk_find_telemetry (line 126) | async def test_sdk_find_telemetry(http_client): function test_sdk_find_summary_only_telemetry (line 139) | async def test_sdk_find_summary_only_telemetry(http_client): function test_sdk_full_workflow (line 163) | async def test_sdk_full_workflow(http_client): FILE: tests/server/test_identity.py function test_role_values (line 10) | def test_role_values(): function test_role_from_string (line 17) | def test_role_from_string(): function test_resolved_identity_defaults (line 24) | def test_resolved_identity_defaults(): function test_resolved_identity_with_all_fields (line 33) | def test_resolved_identity_with_all_fields(): function test_request_context_account_id_property (line 47) | def test_request_context_account_id_property(): FILE: tests/server/test_server_health.py function test_health_endpoint (line 9) | async def test_health_endpoint(client: httpx.AsyncClient): function test_system_status (line 16) | async def test_system_status(client: httpx.AsyncClient): function test_process_time_header (line 24) | async def test_process_time_header(client: httpx.AsyncClient): function test_openviking_error_handler (line 31) | async def test_openviking_error_handler(client: httpx.AsyncClient): function test_404_for_unknown_route (line 40) | async def test_404_for_unknown_route(client: httpx.AsyncClient): FILE: tests/service/test_resource_service_watch.py function get_task_by_uri (line 18) | async def get_task_by_uri(service: ResourceService, to_uri: str, ctx: Re... class MockResourceProcessor (line 28) | class MockResourceProcessor: method process_resource (line 31) | async def process_resource(self, **kwargs): class MockSkillProcessor (line 35) | class MockSkillProcessor: method process_skill (line 38) | async def process_skill(self, **kwargs): class MockVikingFS (line 42) | class MockVikingFS: class MockVikingDB (line 48) | class MockVikingDB: function watch_manager (line 55) | async def watch_manager() -> AsyncGenerator[WatchManager, None]: function resource_service (line 64) | async def resource_service(watch_manager: WatchManager) -> AsyncGenerato... function request_context (line 79) | def request_context() -> RequestContext: class TestWatchTaskCreation (line 87) | class TestWatchTaskCreation: method test_create_watch_task_with_positive_interval (line 91) | async def test_create_watch_task_with_positive_interval( method test_watch_interval_requires_to_when_watch_enabled (line 119) | async def test_watch_interval_requires_to_when_watch_enabled( method test_watch_task_aligns_processor_params (line 131) | async def test_watch_task_aligns_processor_params( method test_create_watch_task_with_default_interval (line 153) | async def test_create_watch_task_with_default_interval( method test_no_watch_task_created_with_zero_interval (line 171) | async def test_no_watch_task_created_with_zero_interval( method test_no_watch_task_created_with_negative_interval (line 188) | async def test_no_watch_task_created_with_negative_interval( class TestWatchTaskConflict (line 205) | class TestWatchTaskConflict: method test_conflict_when_active_task_exists (line 209) | async def test_conflict_when_active_task_exists( method test_conflict_when_task_exists_but_hidden_by_permission (line 234) | async def test_conflict_when_task_exists_but_hidden_by_permission( method test_conflict_when_task_exists_but_hidden_by_other_agent (line 268) | async def test_conflict_when_task_exists_but_hidden_by_other_agent( method test_reactivate_inactive_task (line 302) | async def test_reactivate_inactive_task( class TestWatchTaskCancellation (line 345) | class TestWatchTaskCancellation: method test_cancel_watch_task_with_zero_interval (line 349) | async def test_cancel_watch_task_with_zero_interval( method test_cancel_watch_task_with_negative_interval (line 378) | async def test_cancel_watch_task_with_negative_interval( method test_cancel_nonexistent_task_no_error (line 403) | async def test_cancel_nonexistent_task_no_error( method test_cancel_does_not_touch_other_agent_task (line 419) | async def test_cancel_does_not_touch_other_agent_task( class TestWatchTaskUpdate (line 447) | class TestWatchTaskUpdate: method test_update_watch_task_parameters (line 451) | async def test_update_watch_task_parameters( class TestResourceProcessingIndependence (line 498) | class TestResourceProcessingIndependence: method test_resource_added_even_if_watch_fails (line 502) | async def test_resource_added_even_if_watch_fails(self, request_contex... method test_resource_added_without_watch_manager (line 528) | async def test_resource_added_without_watch_manager(self, request_cont... FILE: tests/service/test_watch_recovery.py class MockVikingFS (line 22) | class MockVikingFS: method __init__ (line 25) | def __init__(self, root_path: str): method read_file (line 28) | async def read_file(self, uri: str, ctx=None) -> str: method write_file (line 36) | async def write_file(self, uri: str, content: str, ctx=None) -> None: method _uri_to_path (line 41) | def _uri_to_path(self, uri: str) -> str: class MockResourceProcessor (line 48) | class MockResourceProcessor: method __init__ (line 51) | def __init__(self): method process_resource (line 55) | async def process_resource(self, **kwargs): class MockSkillProcessor (line 61) | class MockSkillProcessor: method process_skill (line 64) | async def process_skill(self, **kwargs): class MockVikingDB (line 68) | class MockVikingDB: function temp_storage (line 75) | async def temp_storage(tmp_path: Path) -> AsyncGenerator[Path, None]: function mock_viking_fs (line 83) | async def mock_viking_fs(temp_storage: Path) -> MockVikingFS: function request_context (line 89) | async def request_context() -> RequestContext: class TestServiceRestartRecovery (line 97) | class TestServiceRestartRecovery: method test_tasks_persisted_and_reloaded_after_restart (line 101) | async def test_tasks_persisted_and_reloaded_after_restart( method test_tasks_recovered_from_backup_when_primary_missing (line 143) | async def test_tasks_recovered_from_backup_when_primary_missing( method test_expired_tasks_executed_on_startup (line 180) | async def test_expired_tasks_executed_on_startup( method test_future_tasks_not_executed_on_startup (line 215) | async def test_future_tasks_not_executed_on_startup( method test_inactive_tasks_not_executed_after_restart (line 249) | async def test_inactive_tasks_not_executed_after_restart( class TestResourceExistenceCheck (line 283) | class TestResourceExistenceCheck: method test_task_deactivated_when_resource_deleted (line 287) | async def test_task_deactivated_when_resource_deleted( method test_task_continues_when_resource_exists (line 325) | async def test_task_continues_when_resource_exists( method test_url_resources_always_considered_existing (line 365) | async def test_url_resources_always_considered_existing( class TestSchedulerIntegration (line 402) | class TestSchedulerIntegration: method test_scheduler_processes_due_tasks_after_restart (line 406) | async def test_scheduler_processes_due_tasks_after_restart( method test_scheduler_handles_multiple_tasks_after_restart (line 446) | async def test_scheduler_handles_multiple_tasks_after_restart( method test_scheduler_skips_inactive_tasks_after_restart (line 494) | async def test_scheduler_skips_inactive_tasks_after_restart( class TestTaskExecutionTimeRecovery (line 542) | class TestTaskExecutionTimeRecovery: method test_execution_times_preserved_after_restart (line 546) | async def test_execution_times_preserved_after_restart( method test_next_execution_time_calculated_correctly_after_restart (line 577) | async def test_next_execution_time_calculated_correctly_after_restart( FILE: tests/session/conftest.py function session (line 16) | async def session(client: AsyncOpenViking) -> AsyncGenerator[Session, No... function session_with_id (line 23) | async def session_with_id(client: AsyncOpenViking) -> AsyncGenerator[Ses... function session_with_messages (line 30) | async def session_with_messages(client: AsyncOpenViking) -> AsyncGenerat... function session_with_tool_call (line 43) | async def session_with_tool_call( FILE: tests/session/test_memory_dedup_actions.py class _DummyVikingDB (line 31) | class _DummyVikingDB: method __init__ (line 32) | def __init__(self): method get_embedder (line 35) | def get_embedder(self): class _DummyEmbedResult (line 39) | class _DummyEmbedResult: method __init__ (line 40) | def __init__(self, dense_vector): class _DummyEmbedder (line 44) | class _DummyEmbedder: method embed (line 45) | def embed(self, _text, is_query: bool = False): function _make_user (line 49) | def _make_user() -> UserIdentifier: function _make_ctx (line 53) | def _make_ctx() -> RequestContext: function _make_candidate (line 57) | def _make_candidate() -> CandidateMemory: function _make_dedup (line 69) | def _make_dedup(vikingdb=None, embedder=None) -> MemoryDeduplicator: function _make_compressor (line 77) | def _make_compressor(vikingdb=None, embedder=None) -> SessionCompressor: function _make_existing (line 86) | def _make_existing(uri_suffix: str = "existing.md") -> Context: class TestMemoryDeduplicatorPayload (line 98) | class TestMemoryDeduplicatorPayload: method test_create_with_empty_list_is_valid (line 99) | def test_create_with_empty_list_is_valid(self): method test_create_with_merge_is_normalized_to_none (line 111) | def test_create_with_merge_is_normalized_to_none(self): method test_skip_drops_list_actions (line 127) | def test_skip_drops_list_actions(self): method test_cross_facet_delete_actions_are_kept (line 142) | def test_cross_facet_delete_actions_are_kept(self): method test_find_similar_memories_uses_path_must_filter_and__score (line 171) | async def test_find_similar_memories_uses_path_must_filter_and__score(... method test_find_similar_memories_accepts_low_score_when_threshold_is_zero (line 208) | async def test_find_similar_memories_accepts_low_score_when_threshold_... method test_llm_decision_formats_up_to_five_similar_memories (line 232) | async def test_llm_decision_formats_up_to_five_similar_memories(self): method test_find_similar_includes_batch_memories (line 272) | async def test_find_similar_includes_batch_memories(self): method test_find_similar_excludes_dissimilar_batch_memories (line 295) | async def test_find_similar_excludes_dissimilar_batch_memories(self): method test_find_similar_deduplicates_batch_and_db_by_uri (line 315) | async def test_find_similar_deduplicates_batch_and_db_by_uri(self): method test_deduplicate_returns_query_vector_in_result (line 353) | async def test_deduplicate_returns_query_vector_in_result(self): class TestMemoryMergeBundle (line 368) | class TestMemoryMergeBundle: method test_merge_memory_bundle_parses_structured_response (line 369) | async def test_merge_memory_bundle_parses_structured_response(self): method test_merge_memory_bundle_rejects_missing_required_fields (line 404) | async def test_merge_memory_bundle_rejects_missing_required_fields(self): class TestProfileMergeSafety (line 436) | class TestProfileMergeSafety: method test_profile_merge_failure_keeps_existing_content (line 437) | async def test_profile_merge_failure_keeps_existing_content(self): method test_create_memory_skips_profile_index_payload_when_merge_fails (line 459) | async def test_create_memory_skips_profile_index_payload_when_merge_fa... class TestSessionCompressorDedupActions (line 484) | class TestSessionCompressorDedupActions: method test_create_with_empty_list_only_creates_new_memory (line 485) | async def test_create_with_empty_list_only_creates_new_memory(self): method test_create_with_merge_is_executed_as_none (line 523) | async def test_create_with_merge_is_executed_as_none(self): method test_merge_bundle_failure_is_skipped_without_fallback (line 578) | async def test_merge_bundle_failure_is_skipped_without_fallback(self): method test_create_with_delete_runs_delete_before_create (line 622) | async def test_create_with_delete_runs_delete_before_create(self): method test_batch_dedup_passes_batch_memories_to_deduplicate (line 676) | async def test_batch_dedup_passes_batch_memories_to_deduplicate(self): method test_batch_dedup_real_cosine_path (line 742) | async def test_batch_dedup_real_cosine_path(self): FILE: tests/session/test_memory_extractor_language.py function _msg (line 57) | def _msg(role: str, content: str): function test_detect_output_language_japanese_kana_and_kanji (line 61) | def test_detect_output_language_japanese_kana_and_kanji(): function test_detect_output_language_chinese_han_only (line 72) | def test_detect_output_language_chinese_han_only(): function test_detect_output_language_japanese_with_more_han_than_kana (line 80) | def test_detect_output_language_japanese_with_more_han_than_kana(): function test_detect_output_language_chinese_with_single_cyrillic (line 91) | def test_detect_output_language_chinese_with_single_cyrillic(): function test_detect_output_language_japanese_with_single_cyrillic (line 98) | def test_detect_output_language_japanese_with_single_cyrillic(): function test_detect_output_language_russian_with_threshold (line 105) | def test_detect_output_language_russian_with_threshold(): function test_detect_output_language_insufficient_cyrillic_fallback (line 112) | def test_detect_output_language_insufficient_cyrillic_fallback(): FILE: tests/session/test_memory_extractor_response_types.py function _normalize_parsed_data (line 11) | def _normalize_parsed_data(data): function _make_memory (line 27) | def _make_memory(category="patterns", content="user prefers dark mode"): class TestExtractResponseTypes (line 31) | class TestExtractResponseTypes: method test_dict_response_passes_through (line 34) | def test_dict_response_passes_through(self): method test_list_response_wrapped_as_memories (line 43) | def test_list_response_wrapped_as_memories(self): method test_string_response_yields_empty (line 52) | def test_string_response_yields_empty(self): method test_none_fallback_yields_empty (line 59) | def test_none_fallback_yields_empty(self): method test_int_response_yields_empty (line 66) | def test_int_response_yields_empty(self): method test_empty_list_wraps_to_empty_memories (line 72) | def test_empty_list_wraps_to_empty_memories(self): FILE: tests/session/test_session_commit.py class TestCommit (line 11) | class TestCommit: method test_commit_success (line 14) | async def test_commit_success(self, session_with_messages: Session): method test_commit_extracts_memories (line 22) | async def test_commit_extracts_memories( method test_commit_archives_messages (line 32) | async def test_commit_archives_messages(self, session_with_messages: S... method test_commit_empty_session (line 43) | async def test_commit_empty_session(self, session: Session): method test_commit_multiple_times (line 50) | async def test_commit_multiple_times(self, client: AsyncOpenViking): method test_commit_with_usage_records (line 66) | async def test_commit_with_usage_records(self, client: AsyncOpenViking): method test_active_count_incremented_after_commit (line 79) | async def test_active_count_incremented_after_commit(self, client_with... FILE: tests/session/test_session_compressor_vikingdb.py function test_delete_existing_memory_uses_vikingdb_manager (line 15) | async def test_delete_existing_memory_uses_vikingdb_manager(): FILE: tests/session/test_session_context.py class TestGetContextForSearch (line 11) | class TestGetContextForSearch: method test_get_context_basic (line 14) | async def test_get_context_basic(self, session_with_messages: Session): method test_get_context_with_max_messages (line 21) | async def test_get_context_with_max_messages(self, session_with_messag... method test_get_context_with_max_archives (line 29) | async def test_get_context_with_max_archives(self, client: AsyncOpenVi... method test_get_context_empty_session (line 45) | async def test_get_context_empty_session(self, session: Session): method test_get_context_after_commit (line 51) | async def test_get_context_after_commit(self, client: AsyncOpenViking): FILE: tests/session/test_session_lifecycle.py class TestSessionCreate (line 10) | class TestSessionCreate: method test_create_new_session (line 13) | async def test_create_new_session(self, client: AsyncOpenViking): method test_create_with_id (line 21) | async def test_create_with_id(self, client: AsyncOpenViking): method test_create_multiple_sessions (line 28) | async def test_create_multiple_sessions(self, client: AsyncOpenViking): method test_session_uri (line 35) | async def test_session_uri(self, session: Session): class TestSessionLoad (line 44) | class TestSessionLoad: method test_load_existing_session (line 47) | async def test_load_existing_session( method test_load_nonexistent_session (line 60) | async def test_load_nonexistent_session(self, client: AsyncOpenViking): method test_session_properties (line 68) | async def test_session_properties(self, session: Session): class TestSessionMustExist (line 75) | class TestSessionMustExist: method test_must_exist_raises_for_nonexistent (line 78) | async def test_must_exist_raises_for_nonexistent(self, client: AsyncOp... method test_must_exist_succeeds_after_create (line 87) | async def test_must_exist_succeeds_after_create(self, client: AsyncOpe... method test_must_exist_false_default_accepts_unknown_id (line 95) | async def test_must_exist_false_default_accepts_unknown_id(self, clien... class TestSessionExists (line 102) | class TestSessionExists: method test_session_exists_true_after_create (line 105) | async def test_session_exists_true_after_create(self, client: AsyncOpe... method test_session_exists_false_for_unknown (line 112) | async def test_session_exists_false_for_unknown(self, client: AsyncOpe... method test_session_exists_true_after_add_message (line 116) | async def test_session_exists_true_after_add_message( FILE: tests/session/test_session_messages.py class TestAddMessage (line 10) | class TestAddMessage: method test_add_user_message (line 13) | async def test_add_user_message(self, session: Session): method test_add_assistant_message (line 22) | async def test_add_assistant_message(self, session: Session): method test_add_message_with_multiple_parts (line 30) | async def test_add_message_with_multiple_parts(self, session: Session): method test_add_message_with_context_part (line 37) | async def test_add_message_with_context_part(self, session: Session): method test_add_message_with_tool_part (line 51) | async def test_add_message_with_tool_part(self, session: Session): method test_messages_list_updated (line 65) | async def test_messages_list_updated(self, session: Session): class TestUpdateToolPart (line 75) | class TestUpdateToolPart: method test_update_tool_completed (line 78) | async def test_update_tool_completed(self, session_with_tool_call): method test_update_tool_failed (line 94) | async def test_update_tool_failed(self, session_with_tool_call): FILE: tests/session/test_session_usage.py class TestUsed (line 10) | class TestUsed: method test_used_contexts (line 13) | async def test_used_contexts(self, session: Session): method test_used_skill (line 29) | async def test_used_skill(self, session: Session): method test_used_both (line 37) | async def test_used_both(self, session: Session): method test_used_multiple_times (line 48) | async def test_used_multiple_times(self, session: Session): method test_used_empty (line 59) | async def test_used_empty(self, session: Session): FILE: tests/storage/mock_backend.py class MockCollectionAdapter (line 10) | class MockCollectionAdapter(CollectionAdapter): method __init__ (line 16) | def __init__(self, collection_name: str, custom_param1: str = "", cust... method from_config (line 23) | def from_config(cls, config: Any) -> "MockCollectionAdapter": method _load_existing_collection_if_needed (line 31) | def _load_existing_collection_if_needed(self) -> None: method _create_backend_collection (line 36) | def _create_backend_collection(self, meta: Dict[str, Any]) -> Collection: class MockCollection (line 40) | class MockCollection(ICollection): method __init__ (line 41) | def __init__( method update (line 63) | def update(self, fields: Optional[Dict[str, Any]] = None, description:... method get_meta_data (line 66) | def get_meta_data(self): method close (line 69) | def close(self): method drop (line 73) | def drop(self): method create_index (line 77) | def create_index(self, index_name: str, meta_data: Dict[str, Any]) -> ... method has_index (line 80) | def has_index(self, index_name: str) -> bool: method get_index (line 83) | def get_index(self, index_name: str) -> Optional[IIndex]: method search_by_vector (line 86) | def search_by_vector( method search_by_keywords (line 98) | def search_by_keywords( method search_by_id (line 110) | def search_by_id( method search_by_multimodal (line 121) | def search_by_multimodal( method search_by_random (line 134) | def search_by_random( method search_by_scalar (line 144) | def search_by_scalar( method update_index (line 156) | def update_index( method get_index_meta_data (line 164) | def get_index_meta_data(self, index_name: str): method list_indexes (line 167) | def list_indexes(self): method drop_index (line 170) | def drop_index(self, index_name: str): method upsert_data (line 173) | def upsert_data(self, data_list: List[Dict[str, Any]], ttl=0): method fetch_data (line 176) | def fetch_data(self, primary_keys: List[Any]): method delete_data (line 179) | def delete_data(self, primary_keys: List[Any]): method delete_all_data (line 182) | def delete_all_data(self): method aggregate_data (line 185) | def aggregate_data( FILE: tests/storage/test_collection_schemas.py class _DummyEmbedder (line 14) | class _DummyEmbedder: method __init__ (line 15) | def __init__(self): method embed (line 18) | def embed(self, text: str) -> EmbedResult: class _DummyConfig (line 23) | class _DummyConfig: method __init__ (line 24) | def __init__(self, embedder: _DummyEmbedder): function _build_queue_payload (line 32) | def _build_queue_payload() -> dict: function test_embedding_handler_skip_all_work_when_manager_is_closing (line 46) | async def test_embedding_handler_skip_all_work_when_manager_is_closing(m... function test_embedding_handler_treats_shutdown_write_lock_as_success (line 75) | async def test_embedding_handler_treats_shutdown_write_lock_as_success(m... FILE: tests/storage/test_embedding_msg_converter_tenant.py function test_embedding_msg_converter_backfills_account_and_owner_space (line 30) | def test_embedding_msg_converter_backfills_account_and_owner_space(uri, ... FILE: tests/storage/test_semantic_dag_skip_files.py function _mock_transaction_layer (line 13) | def _mock_transaction_layer(monkeypatch): class _FakeVikingFS (line 30) | class _FakeVikingFS: method __init__ (line 31) | def __init__(self, tree): method ls (line 35) | async def ls(self, uri, ctx=None): method write_file (line 38) | async def write_file(self, path, content, ctx=None): method _uri_to_path (line 41) | def _uri_to_path(self, uri, ctx=None): class _FakeProcessor (line 45) | class _FakeProcessor: method __init__ (line 46) | def __init__(self): method _generate_single_file_summary (line 50) | async def _generate_single_file_summary(self, file_path, llm_sem=None,... method _generate_overview (line 54) | async def _generate_overview(self, dir_uri, file_summaries, children_a... method _extract_abstract_from_overview (line 57) | def _extract_abstract_from_overview(self, overview): method _enforce_size_limits (line 60) | def _enforce_size_limits(self, overview, abstract): method _vectorize_directory (line 63) | async def _vectorize_directory( method _vectorize_directory_simple (line 68) | async def _vectorize_directory_simple(self, uri, context_type, abstrac... method _vectorize_single_file (line 71) | async def _vectorize_single_file( class _DummyTracker (line 77) | class _DummyTracker: method register (line 78) | async def register(self, **_kwargs): function test_messages_jsonl_excluded_from_summary (line 83) | async def test_messages_jsonl_excluded_from_summary(monkeypatch): function test_messages_jsonl_excluded_in_subdirectory (line 118) | async def test_messages_jsonl_excluded_in_subdirectory(monkeypatch): FILE: tests/storage/test_semantic_dag_stats.py class _FakeVikingFS (line 14) | class _FakeVikingFS: method __init__ (line 15) | def __init__(self, tree): method ls (line 19) | async def ls(self, uri, ctx=None): method write_file (line 22) | async def write_file(self, path, content, ctx=None): method _uri_to_path (line 25) | def _uri_to_path(self, uri, ctx=None): class _FakeProcessor (line 29) | class _FakeProcessor: method __init__ (line 30) | def __init__(self): method _generate_single_file_summary (line 34) | async def _generate_single_file_summary(self, file_path, llm_sem=None,... method _generate_overview (line 37) | async def _generate_overview(self, dir_uri, file_summaries, children_a... method _extract_abstract_from_overview (line 40) | def _extract_abstract_from_overview(self, overview): method _enforce_size_limits (line 43) | def _enforce_size_limits(self, overview, abstract): method _vectorize_directory (line 46) | async def _vectorize_directory( method _vectorize_single_file (line 51) | async def _vectorize_single_file( method _vectorize_directory_simple (line 56) | async def _vectorize_directory_simple(self, uri, context_type, abstrac... class _DummyTracker (line 60) | class _DummyTracker: method register (line 61) | async def register(self, **_kwargs): function test_semantic_dag_stats_collects_nodes (line 66) | async def test_semantic_dag_stats_collects_nodes(monkeypatch): FILE: tests/storage/test_semantic_processor_mv_vector_store.py class _FakeVectorStore (line 13) | class _FakeVectorStore: method __init__ (line 14) | def __init__(self, records: List[Dict[str, Any]]): method update_uri_mapping (line 18) | async def update_uri_mapping( method filter (line 74) | async def filter(self, *, filter=None, limit: int = 100, ctx: RequestC... method delete (line 107) | async def delete(self, ids: List[str], *, ctx: RequestContext) -> int: class _NoopLockContext (line 114) | class _NoopLockContext: method __init__ (line 115) | def __init__(self, *_args, **_kwargs): method __aenter__ (line 118) | async def __aenter__(self): method __aexit__ (line 121) | async def __aexit__(self, exc_type, exc, tb): function test_mv_vector_store_moves_records (line 126) | async def test_mv_vector_store_moves_records(monkeypatch): function test_mv_vector_store_requires_directories (line 182) | async def test_mv_vector_store_requires_directories(monkeypatch): FILE: tests/storage/test_stale_lock.py class TestStaleLockCleanup (line 12) | class TestStaleLockCleanup: method _create_lock_file (line 15) | def _create_lock_file(self, base_dir: str, *path_parts: str) -> str: method test_removes_stale_lock_in_standard_layout (line 25) | def test_removes_stale_lock_in_standard_layout(self): method test_removes_multiple_collection_locks (line 39) | def test_removes_multiple_collection_locks(self): method test_no_error_on_empty_directory (line 56) | def test_no_error_on_empty_directory(self): method test_no_error_on_nonexistent_directory (line 63) | def test_no_error_on_nonexistent_directory(self): method test_noop_on_posix (line 69) | def test_noop_on_posix(self): method test_deduplicates_overlapping_patterns (line 79) | def test_deduplicates_overlapping_patterns(self): FILE: tests/storage/test_vectordb_adaptor.py class TestAdapterLoading (line 19) | class TestAdapterLoading(unittest.TestCase): method setUp (line 20) | def setUp(self): method tearDown (line 45) | def tearDown(self): method test_dynamic_loading_mock_adapter (line 50) | def test_dynamic_loading_mock_adapter(self): FILE: tests/storage/test_vectordb_collection_loading.py class TestDynamicLoading (line 15) | class TestDynamicLoading(unittest.TestCase): method test_default_loading (line 16) | def test_default_loading(self): method test_explicit_loading (line 23) | def test_explicit_loading(self): method test_kwargs_loading (line 70) | def test_kwargs_loading(self): method test_invalid_loading (line 96) | def test_invalid_loading(self): FILE: tests/telemetry/test_execution.py function test_operation_telemetry_summary_includes_memory_extract_breakdown (line 9) | def test_operation_telemetry_summary_includes_memory_extract_breakdown(): function test_operation_telemetry_measure_accumulates_duration (line 66) | def test_operation_telemetry_measure_accumulates_duration(monkeypatch): function test_operation_telemetry_summary_includes_resource_breakdown (line 85) | def test_operation_telemetry_summary_includes_resource_breakdown(): function test_operation_telemetry_summary_omits_zero_valued_fields (line 123) | def test_operation_telemetry_summary_omits_zero_valued_fields(): function test_run_with_telemetry_returns_usage_and_payload (line 154) | async def test_run_with_telemetry_returns_usage_and_payload(): function test_run_with_telemetry_raises_invalid_argument_for_bad_request (line 172) | async def test_run_with_telemetry_raises_invalid_argument_for_bad_reques... function test_run_with_telemetry_rejects_events_selection (line 187) | async def test_run_with_telemetry_rejects_events_selection(): function test_attach_telemetry_payload_adds_telemetry_to_dict_result (line 201) | def test_attach_telemetry_payload_adds_telemetry_to_dict_result(): function test_attach_telemetry_payload_does_not_mutate_object_result (line 212) | def test_attach_telemetry_payload_does_not_mutate_object_result(): function test_find_result_ignores_usage_and_telemetry_payload_fields (line 226) | def test_find_result_ignores_usage_and_telemetry_payload_fields(): FILE: tests/telemetry/test_layering_rules.py function test_core_layers_do_not_directly_call_telemetry_collectors (line 18) | def test_core_layers_do_not_directly_call_telemetry_collectors(): FILE: tests/telemetry/test_resource_summary.py function test_record_resource_wait_metrics_collects_queue_and_dag_stats (line 6) | def test_record_resource_wait_metrics_collects_queue_and_dag_stats(monke... FILE: tests/test_code_hosting_utils.py function _mock_config (line 15) | def _mock_config(): function _patch_config (line 52) | def _patch_config(): function test_parse_code_hosting_url_git_ssh (line 60) | def test_parse_code_hosting_url_git_ssh(): function test_parse_code_hosting_url_git_ssh_no_dotgit (line 64) | def test_parse_code_hosting_url_git_ssh_no_dotgit(): function test_parse_code_hosting_url_git_ssh_unknown_host (line 68) | def test_parse_code_hosting_url_git_ssh_unknown_host(): function test_parse_code_hosting_url_git_ssh_single_segment (line 72) | def test_parse_code_hosting_url_git_ssh_single_segment(): function test_parse_code_hosting_url_https (line 76) | def test_parse_code_hosting_url_https(): function test_parse_code_hosting_url_https_dotgit (line 80) | def test_parse_code_hosting_url_https_dotgit(): function test_validate_git_ssh_uri_valid (line 87) | def test_validate_git_ssh_uri_valid(): function test_validate_git_ssh_uri_not_git (line 91) | def test_validate_git_ssh_uri_not_git(): function test_validate_git_ssh_uri_no_colon (line 96) | def test_validate_git_ssh_uri_no_colon(): function test_validate_git_ssh_uri_empty_path (line 101) | def test_validate_git_ssh_uri_empty_path(): function test_is_code_hosting_url_git_ssh (line 109) | def test_is_code_hosting_url_git_ssh(): function test_is_code_hosting_url_git_ssh_no_colon (line 113) | def test_is_code_hosting_url_git_ssh_no_colon(): function test_is_code_hosting_url_https (line 117) | def test_is_code_hosting_url_https(): function test_is_git_repo_url_git_ssh (line 124) | def test_is_git_repo_url_git_ssh(): function test_is_git_repo_url_https_repo (line 128) | def test_is_git_repo_url_https_repo(): function test_is_git_repo_url_https_issues (line 132) | def test_is_git_repo_url_https_issues(): function test_is_git_repo_url_https_pull (line 136) | def test_is_git_repo_url_https_pull(): function test_is_git_repo_url_https_blob (line 140) | def test_is_git_repo_url_https_blob(): function test_is_git_repo_url_unknown_domain (line 144) | def test_is_git_repo_url_unknown_domain(): function test_is_git_repo_url_single_segment (line 148) | def test_is_git_repo_url_single_segment(): FILE: tests/test_config_loader.py class TestResolveConfigPath (line 14) | class TestResolveConfigPath: method test_explicit_path_exists (line 17) | def test_explicit_path_exists(self, tmp_path): method test_explicit_path_not_exists (line 23) | def test_explicit_path_not_exists(self, tmp_path): method test_env_var_path (line 29) | def test_env_var_path(self, tmp_path, monkeypatch): method test_env_var_path_not_exists (line 36) | def test_env_var_path_not_exists(self, monkeypatch): method test_default_path (line 41) | def test_default_path(self, tmp_path, monkeypatch): method test_nothing_found (line 51) | def test_nothing_found(self, monkeypatch): method test_explicit_takes_priority_over_env (line 58) | def test_explicit_takes_priority_over_env(self, tmp_path, monkeypatch): class TestLoadJsonConfig (line 68) | class TestLoadJsonConfig: method test_valid_json (line 71) | def test_valid_json(self, tmp_path): method test_file_not_found (line 77) | def test_file_not_found(self, tmp_path): method test_invalid_json (line 81) | def test_invalid_json(self, tmp_path): class TestRequireConfig (line 88) | class TestRequireConfig: method test_loads_existing_config (line 91) | def test_loads_existing_config(self, tmp_path): method test_raises_on_missing (line 97) | def test_raises_on_missing(self, monkeypatch): FILE: tests/test_edge_cases.py class MockVikingDB (line 35) | class MockVikingDB: method __init__ (line 38) | def __init__(self): method create_collection (line 43) | async def create_collection(self, name: str, schema: Dict) -> bool: method search_by_id (line 50) | async def search_by_id( method insert (line 76) | async def insert(self, collection: str, data: List[Dict]) -> bool: method delete (line 82) | async def delete(self, collection: str, doc_id: str) -> bool: class TestLongFilenames (line 87) | class TestLongFilenames: method test_filename_exactly_255_bytes (line 90) | def test_filename_exactly_255_bytes(self): method test_filename_256_bytes_boundary (line 103) | def test_filename_256_bytes_boundary(self): method test_very_long_filename_with_cjk (line 115) | def test_very_long_filename_with_cjk(self): method test_filename_only_special_characters (line 127) | def test_filename_only_special_characters(self): method test_filename_with_path_traversal_attempts (line 136) | def test_filename_with_path_traversal_attempts(self): class TestSearchByIdEdgeCases (line 150) | class TestSearchByIdEdgeCases: method test_search_nonexistent_id (line 154) | async def test_search_nonexistent_id(self): method test_search_after_delete (line 163) | async def test_search_after_delete(self): method test_search_with_empty_candidates (line 183) | async def test_search_with_empty_candidates(self): method test_search_with_none_candidates (line 196) | async def test_search_with_none_candidates(self): method test_search_nonexistent_collection (line 210) | async def test_search_nonexistent_collection(self): class TestDuplicateFilenameHandling (line 218) | class TestDuplicateFilenameHandling: method test_upload_same_file_multiple_times (line 222) | async def test_upload_same_file_multiple_times(self, tmp_path): method test_case_sensitivity_filenames (line 240) | def test_case_sensitivity_filenames(self): method test_unicode_normalization_differences (line 251) | def test_unicode_normalization_differences(self): class TestConcurrentOperations (line 268) | class TestConcurrentOperations: method test_concurrent_writes (line 272) | async def test_concurrent_writes(self): method test_concurrent_search_while_writing (line 293) | async def test_concurrent_search_while_writing(self): method test_rapid_create_delete_cycles (line 320) | async def test_rapid_create_delete_cycles(self): class TestUnicodeEdgeCases (line 346) | class TestUnicodeEdgeCases: method test_zero_width_characters (line 349) | def test_zero_width_characters(self): method test_rtl_text_filenames (line 360) | def test_rtl_text_filenames(self): method test_combining_characters (line 372) | def test_combining_characters(self): method test_surrogate_pairs (line 381) | def test_surrogate_pairs(self): class TestSecurityEdgeCases (line 393) | class TestSecurityEdgeCases: method test_null_bytes_in_content (line 396) | def test_null_bytes_in_content(self): method test_deeply_nested_json (line 404) | def test_deeply_nested_json(self): method test_malformed_uri_handling (line 423) | def test_malformed_uri_handling(self): class TestBoundaryConditions (line 443) | class TestBoundaryConditions: method test_is_text_file_edge_cases (line 446) | def test_is_text_file_edge_cases(self): method test_directory_upload_with_circular_symlinks (line 470) | async def test_directory_upload_with_circular_symlinks(self, tmp_path): function upload_text_files (line 515) | async def upload_text_files(file_paths: List[str], target_uri: str, viki... FILE: tests/test_edge_cases_simple.py class TestBasicEdgeCases (line 15) | class TestBasicEdgeCases: method test_filename_length_boundaries (line 18) | def test_filename_length_boundaries(self): method test_special_character_filenames (line 35) | def test_special_character_filenames(self): method test_unicode_edge_cases (line 54) | def test_unicode_edge_cases(self): method test_json_edge_cases (line 73) | def test_json_edge_cases(self): method test_path_traversal_patterns (line 102) | def test_path_traversal_patterns(self): method test_empty_and_null_inputs (line 118) | def test_empty_and_null_inputs(self): method test_encoding_edge_cases (line 135) | def test_encoding_edge_cases(self): function run_all_tests (line 150) | def run_all_tests(): FILE: tests/test_memory_lifecycle.py class TestHotnessScore (line 16) | class TestHotnessScore: method test_zero_active_count_just_now (line 19) | def test_zero_active_count_just_now(self): method test_high_active_count_just_now (line 24) | def test_high_active_count_just_now(self): method test_old_memory (line 29) | def test_old_memory(self): method test_recent_memory (line 35) | def test_recent_memory(self): method test_none_updated_at (line 41) | def test_none_updated_at(self): method test_half_life_decay (line 46) | def test_half_life_decay(self): method test_custom_half_life (line 53) | def test_custom_half_life(self): method test_naive_datetime_treated_as_utc (line 61) | def test_naive_datetime_treated_as_utc(self): method test_monotonic_with_active_count (line 68) | def test_monotonic_with_active_count(self): method test_monotonic_with_recency (line 75) | def test_monotonic_with_recency(self): class TestHotnessBlending (line 83) | class TestHotnessBlending: method test_alpha_zero_preserves_semantic_order (line 86) | def test_alpha_zero_preserves_semantic_order(self): method test_hotness_boost_can_rerank (line 94) | def test_hotness_boost_can_rerank(self): method test_default_alpha_preserves_semantic_dominance (line 111) | def test_default_alpha_preserves_semantic_dominance(self): FILE: tests/test_session_async_commit.py function api_client (line 22) | async def api_client(temp_dir) -> AsyncGenerator[Tuple[httpx.AsyncClient... function ov_client (line 38) | async def ov_client(temp_dir) -> AsyncGenerator[AsyncOpenViking, None]: function _new_session_with_one_message (line 47) | async def _new_session_with_one_message(client: httpx.AsyncClient) -> str: function test_commit_async_returns_same_shape_as_commit (line 60) | async def test_commit_async_returns_same_shape_as_commit(ov_client: Asyn... function test_commit_endpoint_wait_false_returns_accepted_immediately (line 73) | async def test_commit_endpoint_wait_false_returns_accepted_immediately(a... function test_commit_endpoint_wait_true_waits_for_result (line 100) | async def test_commit_endpoint_wait_true_waits_for_result(api_client): function test_commit_endpoint_default_wait_true_backward_compatible (line 126) | async def test_commit_endpoint_default_wait_true_backward_compatible(api... FILE: tests/test_session_task_tracking.py function api_client (line 21) | async def api_client(temp_dir) -> AsyncGenerator[Tuple[httpx.AsyncClient... function _new_session_with_message (line 38) | async def _new_session_with_message(client: httpx.AsyncClient) -> str: function test_commit_wait_false_returns_task_id (line 52) | async def test_commit_wait_false_returns_task_id(api_client): function test_commit_wait_false_rejects_full_telemetry (line 75) | async def test_commit_wait_false_rejects_full_telemetry(api_client): function test_commit_wait_false_rejects_summary_only_telemetry (line 92) | async def test_commit_wait_false_rejects_summary_only_telemetry(api_clie... function test_task_lifecycle_success (line 112) | async def test_task_lifecycle_success(api_client): function test_task_lifecycle_failure (line 154) | async def test_task_lifecycle_failure(api_client): function test_task_failed_when_memory_extraction_raises (line 176) | async def test_task_failed_when_memory_extraction_raises(api_client): function test_duplicate_commit_rejected (line 207) | async def test_duplicate_commit_rejected(api_client): function test_wait_true_rejected_while_background_commit_running (line 233) | async def test_wait_true_rejected_while_background_commit_running(api_cl... function test_get_nonexistent_task_returns_404 (line 265) | async def test_get_nonexistent_task_returns_404(api_client): function test_list_tasks (line 274) | async def test_list_tasks(api_client): function test_list_tasks_filter_status (line 293) | async def test_list_tasks_filter_status(api_client): function test_wait_true_still_works (line 315) | async def test_wait_true_still_works(api_client): function test_error_sanitized_in_task (line 335) | async def test_error_sanitized_in_task(api_client): FILE: tests/test_task_tracker.py function clean_singleton (line 20) | def clean_singleton(): function tracker (line 28) | def tracker() -> TaskTracker: function test_create_task (line 35) | def test_create_task(tracker: TaskTracker): function test_start_task (line 43) | def test_start_task(tracker: TaskTracker): function test_complete_task (line 51) | def test_complete_task(tracker: TaskTracker): function test_fail_task (line 61) | def test_fail_task(tracker: TaskTracker): function test_get_nonexistent_returns_none (line 71) | def test_get_nonexistent_returns_none(tracker: TaskTracker): function test_list_all (line 78) | def test_list_all(tracker: TaskTracker): function test_list_filter_by_type (line 85) | def test_list_filter_by_type(tracker: TaskTracker): function test_list_filter_by_status (line 93) | def test_list_filter_by_status(tracker: TaskTracker): function test_list_filter_by_resource_id (line 105) | def test_list_filter_by_resource_id(tracker: TaskTracker): function test_list_limit (line 113) | def test_list_limit(tracker: TaskTracker): function test_list_order_most_recent_first (line 120) | def test_list_order_most_recent_first(tracker: TaskTracker): function test_has_running_detects_pending (line 131) | def test_has_running_detects_pending(tracker: TaskTracker): function test_has_running_detects_running (line 136) | def test_has_running_detects_running(tracker: TaskTracker): function test_has_running_false_after_complete (line 142) | def test_has_running_false_after_complete(tracker: TaskTracker): function test_has_running_false_after_fail (line 149) | def test_has_running_false_after_fail(tracker: TaskTracker): function test_to_dict (line 159) | def test_to_dict(tracker: TaskTracker): function test_sanitize_removes_sk_key (line 172) | def test_sanitize_removes_sk_key(): function test_sanitize_removes_ghp_token (line 176) | def test_sanitize_removes_ghp_token(): function test_sanitize_removes_bearer_token (line 180) | def test_sanitize_removes_bearer_token(): function test_sanitize_truncates_long_error (line 184) | def test_sanitize_truncates_long_error(): function test_sanitize_preserves_safe_error (line 191) | def test_sanitize_preserves_safe_error(): function test_evict_expired_completed (line 199) | def test_evict_expired_completed(tracker: TaskTracker): function test_evict_keeps_recent_completed (line 209) | def test_evict_keeps_recent_completed(tracker: TaskTracker): function test_evict_fifo_when_over_limit (line 217) | def test_evict_fifo_when_over_limit(tracker: TaskTracker): function test_singleton (line 234) | def test_singleton(): function test_singleton_reset (line 240) | def test_singleton_reset(): FILE: tests/test_telemetry_runtime.py function test_telemetry_module_exports_snapshot_and_runtime (line 30) | def test_telemetry_module_exports_snapshot_and_runtime(): function test_telemetry_snapshot_to_dict_supports_summary_only (line 41) | def test_telemetry_snapshot_to_dict_supports_summary_only(): function test_telemetry_summary_breaks_down_llm_and_embedding_token_usage (line 55) | def test_telemetry_summary_breaks_down_llm_and_embedding_token_usage(): function test_telemetry_summary_uses_simplified_internal_metric_keys (line 78) | def test_telemetry_summary_uses_simplified_internal_metric_keys(): function test_telemetry_summary_detects_groups_by_prefix_without_static_key_lists (line 113) | def test_telemetry_summary_detects_groups_by_prefix_without_static_key_l... function test_semantic_processor_binds_registered_operation_telemetry (line 127) | async def test_semantic_processor_binds_registered_operation_telemetry(m... function test_embedding_handler_binds_registered_operation_telemetry (line 177) | async def test_embedding_handler_binds_registered_operation_telemetry(mo... function test_resource_service_add_resource_reports_queue_summary (line 234) | async def test_resource_service_add_resource_reports_queue_summary(monke... function test_telemetry_summary_includes_only_memory_group_when_memory_metrics_exist (line 294) | def test_telemetry_summary_includes_only_memory_group_when_memory_metric... FILE: tests/test_upload_utils.py class FakeAGFS (line 25) | class FakeAGFS: method __init__ (line 28) | def __init__(self, storage: Dict[str, bytes]) -> None: method mkdir (line 32) | def mkdir(self, path: str) -> None: method write (line 35) | def write(self, path: str, content: bytes) -> None: class FakeVikingFS (line 39) | class FakeVikingFS: method __init__ (line 42) | def __init__(self) -> None: method _uri_to_path (line 47) | def _uri_to_path(self, uri: str) -> str: method write_file_bytes (line 51) | async def write_file_bytes(self, uri: str, content: bytes) -> None: method mkdir (line 54) | async def mkdir(self, uri: str, exist_ok: bool = False) -> None: function viking_fs (line 59) | def viking_fs() -> FakeVikingFS: function tmp_dir (line 64) | def tmp_dir(tmp_path: Path) -> Path: class TestIsTextFile (line 98) | class TestIsTextFile: method test_code_extensions (line 99) | def test_code_extensions(self) -> None: method test_documentation_extensions (line 104) | def test_documentation_extensions(self) -> None: method test_additional_text_extensions (line 109) | def test_additional_text_extensions(self) -> None: method test_non_text_extensions (line 113) | def test_non_text_extensions(self) -> None: method test_no_extension_known_names (line 119) | def test_no_extension_known_names(self) -> None: method test_no_extension_unknown_names (line 124) | def test_no_extension_unknown_names(self) -> None: method test_no_extension_case_insensitive (line 127) | def test_no_extension_case_insensitive(self) -> None: method test_case_insensitive (line 132) | def test_case_insensitive(self) -> None: class TestDetectAndConvertEncoding (line 142) | class TestDetectAndConvertEncoding: method test_utf8_passthrough (line 143) | def test_utf8_passthrough(self) -> None: method test_gbk_to_utf8 (line 148) | def test_gbk_to_utf8(self) -> None: method test_non_text_file_passthrough (line 154) | def test_non_text_file_passthrough(self) -> None: method test_empty_file_path (line 159) | def test_empty_file_path(self) -> None: method test_latin1_to_utf8 (line 165) | def test_latin1_to_utf8(self) -> None: class TestShouldSkipFile (line 177) | class TestShouldSkipFile: method test_hidden_file (line 178) | def test_hidden_file(self, tmp_path: Path) -> None: method test_ignored_extension (line 185) | def test_ignored_extension(self, tmp_path: Path) -> None: method test_large_file (line 192) | def test_large_file(self, tmp_path: Path) -> None: method test_empty_file (line 199) | def test_empty_file(self, tmp_path: Path) -> None: method test_normal_file (line 206) | def test_normal_file(self, tmp_path: Path) -> None: method test_custom_ignore_extensions (line 213) | def test_custom_ignore_extensions(self, tmp_path: Path) -> None: method test_symlink (line 219) | def test_symlink(self, tmp_path: Path) -> None: class TestShouldSkipDirectory (line 237) | class TestShouldSkipDirectory: method test_ignored_dirs (line 238) | def test_ignored_dirs(self) -> None: method test_hidden_dirs (line 243) | def test_hidden_dirs(self) -> None: method test_normal_dirs (line 247) | def test_normal_dirs(self) -> None: class TestUploadTextFiles (line 258) | class TestUploadTextFiles: method test_upload_success (line 260) | async def test_upload_success(self, tmp_path: Path, viking_fs: FakeVik... method test_upload_multiple (line 272) | async def test_upload_multiple(self, tmp_path: Path, viking_fs: FakeVi... method test_upload_with_encoding_conversion (line 285) | async def test_upload_with_encoding_conversion( method test_upload_nonexistent_file (line 299) | async def test_upload_nonexistent_file(self, tmp_path: Path, viking_fs... class TestUploadDirectory (line 314) | class TestUploadDirectory: method test_basic_upload (line 316) | async def test_basic_upload(self, tmp_dir: Path, viking_fs: FakeViking... method test_skips_hidden_files (line 328) | async def test_skips_hidden_files(self, tmp_dir: Path, viking_fs: Fake... method test_skips_ignored_dirs (line 333) | async def test_skips_ignored_dirs(self, tmp_dir: Path, viking_fs: Fake... method test_skips_ignored_extensions (line 338) | async def test_skips_ignored_extensions(self, tmp_dir: Path, viking_fs... method test_skips_empty_files (line 343) | async def test_skips_empty_files(self, tmp_dir: Path, viking_fs: FakeV... method test_creates_root_dir (line 348) | async def test_creates_root_dir(self, tmp_dir: Path, viking_fs: FakeVi... method test_custom_ignore_dirs (line 355) | async def test_custom_ignore_dirs(self, tmp_dir: Path, viking_fs: Fake... method test_custom_max_file_size (line 365) | async def test_custom_max_file_size(self, tmp_dir: Path, viking_fs: Fa... class TestDetectAndConvertEncodingEdgeCases (line 376) | class TestDetectAndConvertEncodingEdgeCases: method test_extensionless_text_file_encoding (line 377) | def test_extensionless_text_file_encoding(self) -> None: method test_undecodable_content (line 384) | def test_undecodable_content(self) -> None: class TestShouldSkipFileEdgeCases (line 398) | class TestShouldSkipFileEdgeCases: method test_oserror_on_stat (line 399) | def test_oserror_on_stat(self, tmp_path: Path) -> None: class TestShouldSkipDirectoryCustom (line 412) | class TestShouldSkipDirectoryCustom: method test_custom_ignore_dirs (line 413) | def test_custom_ignore_dirs(self) -> None: method test_hidden_dir_with_custom_ignore (line 417) | def test_hidden_dir_with_custom_ignore(self) -> None: class TestSanitizeRelPath (line 427) | class TestSanitizeRelPath: method test_normal_path (line 428) | def test_normal_path(self) -> None: method test_rejects_parent_traversal (line 431) | def test_rejects_parent_traversal(self) -> None: method test_rejects_absolute_path (line 435) | def test_rejects_absolute_path(self) -> None: method test_rejects_windows_drive_absolute (line 439) | def test_rejects_windows_drive_absolute(self) -> None: method test_rejects_windows_drive_relative (line 443) | def test_rejects_windows_drive_relative(self) -> None: method test_rejects_nested_traversal (line 447) | def test_rejects_nested_traversal(self) -> None: method test_normalizes_backslashes (line 451) | def test_normalizes_backslashes(self) -> None: class TestUploadTextFilesEdgeCases (line 461) | class TestUploadTextFilesEdgeCases: method test_rejects_path_traversal (line 463) | async def test_rejects_path_traversal(self, tmp_path: Path, viking_fs:... method test_upload_failure_produces_warning (line 474) | async def test_upload_failure_produces_warning(self, tmp_path: Path) -... class TestUploadDirectoryEdgeCases (line 498) | class TestUploadDirectoryEdgeCases: method test_write_failure_produces_warning (line 500) | async def test_write_failure_produces_warning(self, tmp_path: Path) ->... class TestSanitizeRelPathEdgeCases (line 531) | class TestSanitizeRelPathEdgeCases: method test_rejects_empty_path (line 532) | def test_rejects_empty_path(self) -> None: method test_rejects_backslash_absolute (line 536) | def test_rejects_backslash_absolute(self) -> None: FILE: tests/transaction/conftest.py function agfs_manager (line 36) | def agfs_manager(): function agfs_client (line 44) | def agfs_client(agfs_manager): function _mkdir_ok (line 48) | def _mkdir_ok(agfs_client, path): function test_dir (line 57) | def test_dir(agfs_client): function vector_store (line 75) | def vector_store(tmp_path_factory): function request_ctx (line 97) | def request_ctx(): function lock_manager (line 109) | def lock_manager(agfs_client): function redo_log (line 115) | def redo_log(agfs_client): function file_exists (line 125) | def file_exists(agfs_client, path) -> bool: function make_lock_file (line 134) | def make_lock_file(agfs_client, dir_path, tx_id, lock_type="P") -> str: FILE: tests/transaction/test_concurrent_lock.py class TestConcurrentLock (line 12) | class TestConcurrentLock: method test_point_mutual_exclusion_same_path (line 13) | async def test_point_mutual_exclusion_same_path(self, agfs_client, tes... method test_subtree_blocks_concurrent_point_child (line 36) | async def test_subtree_blocks_concurrent_point_child(self, agfs_client... method test_point_child_blocks_concurrent_subtree_parent (line 71) | async def test_point_child_blocks_concurrent_subtree_parent(self, agfs... FILE: tests/transaction/test_e2e.py function _lock_file_gone (line 19) | def _lock_file_gone(agfs_client, lock_path: str) -> bool: function lock_manager (line 29) | def lock_manager(agfs_client): class TestLockContextCommit (line 33) | class TestLockContextCommit: method test_lock_acquired_and_released (line 34) | async def test_lock_acquired_and_released(self, agfs_client, lock_mana... method test_file_persists_after_context (line 44) | async def test_file_persists_after_context(self, agfs_client, lock_man... class TestLockContextException (line 55) | class TestLockContextException: method test_lock_released_on_exception (line 56) | async def test_lock_released_on_exception(self, agfs_client, lock_mana... method test_exception_not_swallowed (line 68) | async def test_exception_not_swallowed(self, agfs_client, lock_manager... class TestLockContextMv (line 75) | class TestLockContextMv: method test_mv_lock_acquires_both_paths (line 76) | async def test_mv_lock_acquires_both_paths(self, agfs_client, lock_man... class TestLockContextSubtree (line 95) | class TestLockContextSubtree: method test_subtree_lock_and_release (line 96) | async def test_subtree_lock_and_release(self, agfs_client, lock_manage... class TestSequentialLocks (line 109) | class TestSequentialLocks: method test_sequential_locks_on_same_path (line 110) | async def test_sequential_locks_on_same_path(self, agfs_client, lock_m... method test_lock_acquisition_failure (line 120) | async def test_lock_acquisition_failure(self, agfs_client, lock_manage... FILE: tests/transaction/test_lock_context.py function _lock_file_gone (line 15) | def _lock_file_gone(agfs_client, lock_path: str) -> bool: function lm (line 24) | def lm(agfs_client): class TestLockContextPoint (line 28) | class TestLockContextPoint: method test_point_lock_lifecycle (line 29) | async def test_point_lock_lifecycle(self, agfs_client, lm, test_dir): method test_lock_released_on_exception (line 39) | async def test_lock_released_on_exception(self, agfs_client, lm, test_... method test_exception_propagates (line 49) | async def test_exception_propagates(self, lm, test_dir): class TestLockContextSubtree (line 55) | class TestLockContextSubtree: method test_subtree_lock (line 56) | async def test_subtree_lock(self, agfs_client, lm, test_dir): class TestLockContextMv (line 63) | class TestLockContextMv: method test_mv_lock (line 64) | async def test_mv_lock(self, agfs_client, lm, test_dir): class TestLockContextFailure (line 74) | class TestLockContextFailure: method test_nonexistent_path_raises (line 75) | async def test_nonexistent_path_raises(self, lm): method test_handle_cleaned_up_on_failure (line 80) | async def test_handle_cleaned_up_on_failure(self, lm): FILE: tests/transaction/test_lock_manager.py function _lock_file_gone (line 13) | def _lock_file_gone(agfs_client, lock_path: str) -> bool: function lm (line 22) | def lm(agfs_client): class TestLockManagerBasic (line 26) | class TestLockManagerBasic: method test_create_handle_and_acquire_point (line 27) | async def test_create_handle_and_acquire_point(self, agfs_client, lm, ... method test_acquire_subtree (line 39) | async def test_acquire_subtree(self, agfs_client, lm, test_dir): method test_acquire_mv (line 50) | async def test_acquire_mv(self, agfs_client, lm, test_dir): method test_release_removes_from_active (line 64) | async def test_release_removes_from_active(self, lm, test_dir): method test_stop_releases_all (line 73) | async def test_stop_releases_all(self, agfs_client, lm, test_dir): method test_nonexistent_path_fails (line 85) | async def test_nonexistent_path_fails(self, lm): FILE: tests/transaction/test_path_lock.py class TestFencingToken (line 19) | class TestFencingToken: method test_make_parse_roundtrip (line 20) | def test_make_parse_roundtrip(self): method test_make_parse_subtree_roundtrip (line 27) | def test_make_parse_subtree_roundtrip(self): method test_parse_legacy_format_two_part (line 34) | def test_parse_legacy_format_two_part(self): method test_parse_legacy_format_plain (line 41) | def test_parse_legacy_format_plain(self): method test_tokens_are_unique (line 48) | def test_tokens_are_unique(self): class TestPathLockStale (line 55) | class TestPathLockStale: method test_is_lock_stale_no_file (line 56) | def test_is_lock_stale_no_file(self): method test_is_lock_stale_legacy_token (line 62) | def test_is_lock_stale_legacy_token(self): method test_is_lock_stale_recent_token (line 68) | def test_is_lock_stale_recent_token(self): class TestPathLockBehavior (line 76) | class TestPathLockBehavior: method test_acquire_point_creates_lock_file (line 79) | async def test_acquire_point_creates_lock_file(self, agfs_client, test... method test_acquire_subtree_creates_lock_file (line 94) | async def test_acquire_subtree_creates_lock_file(self, agfs_client, te... method test_acquire_point_dir_not_found (line 109) | async def test_acquire_point_dir_not_found(self, agfs_client): method test_release_removes_lock_file (line 117) | async def test_release_removes_lock_file(self, agfs_client, test_dir): method test_sequential_acquire_works (line 135) | async def test_sequential_acquire_works(self, agfs_client, test_dir): method test_point_blocked_by_ancestor_subtree (line 150) | async def test_point_blocked_by_ancestor_subtree(self, agfs_client, te... method test_subtree_blocked_by_descendant_point (line 168) | async def test_subtree_blocked_by_descendant_point(self, agfs_client, ... method test_acquire_mv_creates_subtree_locks (line 186) | async def test_acquire_mv_creates_subtree_locks(self, agfs_client, tes... method test_point_does_not_block_sibling_point (line 218) | async def test_point_does_not_block_sibling_point(self, agfs_client, t... method test_stale_lock_auto_removed_on_acquire (line 240) | async def test_stale_lock_auto_removed_on_acquire(self, agfs_client, t... method test_stale_subtree_ancestor_auto_removed (line 267) | async def test_stale_subtree_ancestor_auto_removed(self, agfs_client, ... method test_point_same_path_no_wait_fails_immediately (line 292) | async def test_point_same_path_no_wait_fails_immediately(self, agfs_cl... method test_subtree_same_path_mutual_exclusion (line 315) | async def test_subtree_same_path_mutual_exclusion(self, agfs_client, t... FILE: tests/transaction/test_redo_log.py function redo (line 13) | def redo(agfs_client): class TestRedoLogBasic (line 17) | class TestRedoLogBasic: method test_write_and_read (line 18) | def test_write_and_read(self, redo): method test_list_pending (line 29) | def test_list_pending(self, redo): method test_mark_done_removes_task (line 46) | def test_mark_done_removes_task(self, redo): method test_read_nonexistent_returns_empty (line 54) | def test_read_nonexistent_returns_empty(self, redo): method test_list_pending_empty (line 58) | def test_list_pending_empty(self, redo): method test_mark_done_idempotent (line 63) | def test_mark_done_idempotent(self, redo): method test_overwrite_pending (line 70) | def test_overwrite_pending(self, redo): FILE: tests/unit/retrieve/test_retrieval_stats.py class TestRetrievalStats (line 9) | class TestRetrievalStats: method test_defaults (line 10) | def test_defaults(self): method test_to_dict_empty (line 18) | def test_to_dict_empty(self): class TestRetrievalStatsCollector (line 25) | class TestRetrievalStatsCollector: method test_record_single_query (line 26) | def test_record_single_query(self): method test_record_zero_result_query (line 43) | def test_record_zero_result_query(self): method test_record_multiple_queries (line 56) | def test_record_multiple_queries(self): method test_rerank_tracking (line 69) | def test_rerank_tracking(self): method test_max_latency (line 78) | def test_max_latency(self): method test_reset (line 87) | def test_reset(self): method test_snapshot_is_copy (line 95) | def test_snapshot_is_copy(self): method test_to_dict (line 102) | def test_to_dict(self): class TestRetrievalObserver (line 114) | class TestRetrievalObserver: method _setup_collector (line 115) | def _setup_collector(self): method test_healthy_when_no_queries (line 123) | def test_healthy_when_no_queries(self): method test_healthy_with_good_results (line 129) | def test_healthy_with_good_results(self): method test_unhealthy_with_many_zero_results (line 137) | def test_unhealthy_with_many_zero_results(self): method test_no_errors_below_min_queries (line 148) | def test_no_errors_below_min_queries(self): method test_status_table_no_data (line 156) | def test_status_table_no_data(self): method test_status_table_with_data (line 162) | def test_status_table_with_data(self): method test_str (line 172) | def test_str(self): FILE: tests/unit/session/test_deduplicator_uri.py class TestExtractFacetKey (line 7) | class TestExtractFacetKey: method test_extract_with_chinese_colon (line 8) | def test_extract_with_chinese_colon(self): method test_extract_with_english_colon (line 12) | def test_extract_with_english_colon(self): method test_extract_with_hyphen (line 16) | def test_extract_with_hyphen(self): method test_extract_with_em_dash (line 20) | def test_extract_with_em_dash(self): method test_extract_with_no_separator_returns_prefix (line 24) | def test_extract_with_no_separator_returns_prefix(self): method test_extract_with_empty_string (line 31) | def test_extract_with_empty_string(self): method test_extract_with_none (line 35) | def test_extract_with_none(self): method test_extract_normalizes_whitespace (line 39) | def test_extract_normalizes_whitespace(self): method test_extract_with_short_text_no_separator (line 43) | def test_extract_with_short_text_no_separator(self): method test_extract_returns_lowercase (line 47) | def test_extract_returns_lowercase(self): method test_extract_with_separator_at_start (line 51) | def test_extract_with_separator_at_start(self): method test_extract_with_multiple_separators_uses_first (line 55) | def test_extract_with_multiple_separators_uses_first(self): class TestCosineSimilarity (line 60) | class TestCosineSimilarity: method test_identical_vectors (line 61) | def test_identical_vectors(self): method test_orthogonal_vectors (line 66) | def test_orthogonal_vectors(self): method test_opposite_vectors (line 72) | def test_opposite_vectors(self): method test_different_length_vectors (line 78) | def test_different_length_vectors(self): method test_zero_vector_a (line 84) | def test_zero_vector_a(self): method test_zero_vector_b (line 90) | def test_zero_vector_b(self): method test_both_zero_vectors (line 96) | def test_both_zero_vectors(self): method test_partial_similarity (line 102) | def test_partial_similarity(self): method test_negative_values (line 109) | def test_negative_values(self): method test_single_element_vectors (line 115) | def test_single_element_vectors(self): method test_large_vectors (line 121) | def test_large_vectors(self): FILE: tests/unit/session/test_memory_archiver.py class TestBuildArchiveUri (line 23) | class TestBuildArchiveUri: method test_simple_file (line 24) | def test_simple_file(self): method test_nested_path (line 30) | def test_nested_path(self): method test_root_level_file (line 36) | def test_root_level_file(self): method test_no_slash (line 41) | def test_no_slash(self): class TestBuildRestoreUri (line 45) | class TestBuildRestoreUri: method test_simple_restore (line 46) | def test_simple_restore(self): method test_nested_restore (line 52) | def test_nested_restore(self): method test_not_archived_returns_none (line 58) | def test_not_archived_returns_none(self): method test_roundtrip (line 61) | def test_roundtrip(self): class TestParseDatetime (line 73) | class TestParseDatetime: method test_none (line 74) | def test_none(self): method test_datetime_object (line 77) | def test_datetime_object(self): method test_naive_datetime_gets_utc (line 81) | def test_naive_datetime_gets_utc(self): method test_iso_string (line 87) | def test_iso_string(self): method test_invalid_string (line 92) | def test_invalid_string(self): method test_integer_returns_none (line 95) | def test_integer_returns_none(self): function _make_storage (line 104) | def _make_storage(records): function _make_viking_fs (line 111) | def _make_viking_fs(): class TestScan (line 123) | class TestScan: method test_scan_finds_cold_memories (line 125) | async def test_scan_finds_cold_memories(self): method test_scan_skips_recent_memories (line 147) | async def test_scan_skips_recent_memories(self): method test_scan_skips_already_archived (line 167) | async def test_scan_skips_already_archived(self): method test_scan_skips_out_of_scope (line 187) | async def test_scan_skips_out_of_scope(self): method test_scan_keeps_hot_memories (line 207) | async def test_scan_keeps_hot_memories(self): method test_scan_sorts_coldest_first (line 228) | async def test_scan_sorts_coldest_first(self): method test_scan_empty_store (line 257) | async def test_scan_empty_store(self): class TestArchive (line 273) | class TestArchive: method test_archive_moves_files (line 275) | async def test_archive_moves_files(self): method test_archive_dry_run (line 296) | async def test_archive_dry_run(self): method test_archive_handles_mv_error (line 313) | async def test_archive_handles_mv_error(self): method test_archive_empty_candidates (line 330) | async def test_archive_empty_candidates(self): class TestRestore (line 345) | class TestRestore: method test_restore_moves_back (line 347) | async def test_restore_moves_back(self): method test_restore_non_archived_uri (line 359) | async def test_restore_non_archived_uri(self): method test_restore_handles_error (line 367) | async def test_restore_handles_error(self): class TestScanAndArchive (line 380) | class TestScanAndArchive: method test_scan_and_archive (line 382) | async def test_scan_and_archive(self): method test_scan_and_archive_dry_run (line 403) | async def test_scan_and_archive_dry_run(self): FILE: tests/unit/test_embedding_config_gemini.py function _gcfg (line 12) | def _gcfg(**kw) -> EmbeddingModelConfig: class TestGeminiDimension (line 19) | class TestGeminiDimension: method test_preview_defaults_3072 (line 20) | def test_preview_defaults_3072(self): method test_001_defaults_3072 (line 23) | def test_001_defaults_3072(self): method test_004_defaults_768 (line 27) | def test_004_defaults_768(self): method test_unknown_model_defaults_3072 (line 31) | def test_unknown_model_defaults_3072(self): method test_explicit_dimension_overrides_default (line 35) | def test_explicit_dimension_overrides_default(self): method test_text_embedding_prefix_defaults_768 (line 38) | def test_text_embedding_prefix_defaults_768(self): method test_future_gemini_model_defaults_3072 (line 43) | def test_future_gemini_model_defaults_3072(self): class TestGeminiContextRouting (line 50) | class TestGeminiContextRouting: method test_nonsymmetric_passes_query_document_params (line 52) | def test_nonsymmetric_passes_query_document_params(self, _mock): method test_only_query_param_set (line 62) | def test_only_query_param_set(self, _mock): class TestGeminiConfigValidation (line 70) | class TestGeminiConfigValidation: method test_missing_api_key_raises (line 71) | def test_missing_api_key_raises(self): method test_invalid_query_param_raises (line 75) | def test_invalid_query_param_raises(self): method test_invalid_document_param_raises (line 79) | def test_invalid_document_param_raises(self): method test_query_document_param_case_normalized (line 83) | def test_query_document_param_case_normalized(self): FILE: tests/unit/test_embedding_config_voyage.py function test_voyage_provider_requires_api_key (line 11) | def test_voyage_provider_requires_api_key(): function test_voyage_dense_dimension_defaults_to_model_dimension (line 16) | def test_voyage_dense_dimension_defaults_to_model_dimension(): function test_voyage_dense_dimension_honors_explicit_output_dimension (line 28) | def test_voyage_dense_dimension_honors_explicit_output_dimension(): function test_voyage_get_embedder_returns_voyage_dense_embedder (line 41) | def test_voyage_get_embedder_returns_voyage_dense_embedder(): FILE: tests/unit/test_extra_headers_embedding.py function _make_mock_client (line 20) | def _make_mock_client(): class TestExtraHeadersDirectConstruction (line 30) | class TestExtraHeadersDirectConstruction: method test_extra_headers_passed_as_default_headers (line 34) | def test_extra_headers_passed_as_default_headers(self, mock_openai_cla... method test_no_extra_headers_omits_default_headers (line 50) | def test_no_extra_headers_omits_default_headers(self, mock_openai_class): class TestExtraHeadersViaFactory (line 64) | class TestExtraHeadersViaFactory: method test_factory_passes_extra_headers (line 68) | def test_factory_passes_extra_headers(self, mock_openai_class): method test_factory_omits_extra_headers_when_none (line 86) | def test_factory_omits_extra_headers_when_none(self, mock_openai_class): class TestEmbeddingModelConfigExtraHeaders (line 102) | class TestEmbeddingModelConfigExtraHeaders: method test_openai_config_accepts_extra_headers_field (line 105) | def test_openai_config_accepts_extra_headers_field(self): method test_extra_headers_defaults_to_none (line 115) | def test_extra_headers_defaults_to_none(self): class TestApiKeyValidationFix (line 125) | class TestApiKeyValidationFix: method test_api_key_not_required_when_api_base_set (line 129) | def test_api_key_not_required_when_api_base_set(self, mock_openai_class): method test_api_key_required_when_no_api_base (line 141) | def test_api_key_required_when_no_api_base(self, mock_openai_class): FILE: tests/unit/test_extra_headers_vlm.py class TestVLMExtraHeaders (line 10) | class TestVLMExtraHeaders: method test_extra_headers_passed_to_sync_client (line 14) | def test_extra_headers_passed_to_sync_client(self, mock_openai_class): method test_extra_headers_passed_to_async_client (line 36) | def test_extra_headers_passed_to_async_client(self, mock_async_openai_... method test_no_extra_headers_omits_default_headers (line 58) | def test_no_extra_headers_omits_default_headers(self, mock_openai_class): method test_extra_headers_empty_dict_omits_default_headers (line 78) | def test_extra_headers_empty_dict_omits_default_headers(self, mock_ope... class TestVLMBaseExtraHeaders (line 100) | class TestVLMBaseExtraHeaders: method test_extra_headers_extracted_from_config (line 103) | def test_extra_headers_extracted_from_config(self): method test_extra_headers_none_when_not_in_config (line 129) | def test_extra_headers_none_when_not_in_config(self): class TestVLMConfigExtraHeaders (line 154) | class TestVLMConfigExtraHeaders: method test_vlm_config_accepts_extra_headers_in_providers (line 157) | def test_vlm_config_accepts_extra_headers_in_providers(self): method test_vlm_config_extra_headers_none_when_not_set (line 176) | def test_vlm_config_extra_headers_none_when_not_set(self): method test_vlm_config_accepts_flat_extra_headers (line 194) | def test_vlm_config_accepts_flat_extra_headers(self): FILE: tests/unit/test_gemini_embedder.py function _make_mock_embedding (line 13) | def _make_mock_embedding(values): function _make_mock_result (line 19) | def _make_mock_result(values_list): function test_input_token_limit_constant (line 25) | def test_input_token_limit_constant(): class TestGeminiDenseEmbedderInit (line 31) | class TestGeminiDenseEmbedderInit: method test_requires_api_key (line 32) | def test_requires_api_key(self): method test_init_stores_fields (line 39) | def test_init_stores_fields(self, mock_client_class): method test_default_dimension_3072 (line 54) | def test_default_dimension_3072(self, mock_client_class): method test_dimension_1_valid (line 61) | def test_dimension_1_valid(self, mock_client_class): method test_default_dimension_classmethod_prefix_rule (line 68) | def test_default_dimension_classmethod_prefix_rule(self): method test_token_limit_per_model (line 83) | def test_token_limit_per_model(self, mock_client_class): method test_supports_multimodal_false (line 94) | def test_supports_multimodal_false(self, mock_client_class): class TestGeminiDenseEmbedderEmbed (line 101) | class TestGeminiDenseEmbedderEmbed: method test_embed_text (line 103) | def test_embed_text(self, mock_client_class): method test_embed_passes_task_type_in_config (line 117) | def test_embed_passes_task_type_in_config(self, mock_client_class): method test_embed_raises_runtime_error_on_api_error (line 133) | def test_embed_raises_runtime_error_on_api_error(self, mock_client_cla... method test_embed_empty_string_returns_zero_vector (line 147) | def test_embed_empty_string_returns_zero_vector(self, mock_client_class): class TestGeminiDenseEmbedderBatch (line 158) | class TestGeminiDenseEmbedderBatch: method test_embed_batch_empty (line 160) | def test_embed_batch_empty(self, mock_client_class): method test_embed_batch_skips_empty_strings (line 170) | def test_embed_batch_skips_empty_strings(self, mock_client_class): method test_embed_batch_single_chunk (line 191) | def test_embed_batch_single_chunk(self, mock_client_class): method test_embed_batch_chunks_at_100 (line 204) | def test_embed_batch_chunks_at_100(self, mock_client_class): method test_embed_batch_falls_back_to_individual_on_error (line 218) | def test_embed_batch_falls_back_to_individual_on_error(self, mock_clie... class TestGeminiDenseEmbedderAsyncBatch (line 237) | class TestGeminiDenseEmbedderAsyncBatch: method test_async_embed_batch_dispatches_all_chunks (line 242) | async def test_async_embed_batch_dispatches_all_chunks(self, mock_clie... method test_async_embed_batch_preserves_order (line 260) | async def test_async_embed_batch_preserves_order(self, mock_client_cla... method test_async_embed_batch_error_fallback_to_individual (line 286) | async def test_async_embed_batch_error_fallback_to_individual(self, mo... method test_async_embed_batch_empty (line 305) | async def test_async_embed_batch_empty(self, mock_client_class): method test_async_embed_batch_raises_without_anyio (line 314) | async def test_async_embed_batch_raises_without_anyio(self, mock_clien... class TestGeminiValidation (line 322) | class TestGeminiValidation: method test_all_valid_task_types_accepted (line 324) | def test_all_valid_task_types_accepted(self, mock_client): method test_invalid_task_type_raises_on_init (line 334) | def test_invalid_task_type_raises_on_init(self): method test_valid_task_types_count (line 340) | def test_valid_task_types_count(self): method test_code_retrieval_query_in_task_types (line 345) | def test_code_retrieval_query_in_task_types(self): method test_dimension_too_high_raises (line 351) | def test_dimension_too_high_raises(self, mock_client): class TestGeminiErrorMessages (line 358) | class TestGeminiErrorMessages: method test_error_code_hint (line 370) | def test_error_code_hint(self, mock_client, code, match): method test_error_message_includes_http_code (line 384) | def test_error_message_includes_http_code(self, mock_client): class TestBuildConfig (line 398) | class TestBuildConfig: method test_build_config_defaults (line 400) | def test_build_config_defaults(self, mock_client_class): method test_build_config_with_task_type_override (line 410) | def test_build_config_with_task_type_override(self, mock_client_class): method test_build_config_with_title (line 423) | def test_build_config_with_title(self, mock_client_class): method test_embed_per_call_task_type (line 431) | def test_embed_per_call_task_type(self, mock_client_class): method test_embed_per_call_title (line 442) | def test_embed_per_call_title(self, mock_client_class): method test_embed_batch_with_titles_falls_back (line 453) | def test_embed_batch_with_titles_falls_back(self, mock_client_class): method test_repr (line 471) | def test_repr(self, mock_client_class): method test_client_constructed_with_retry_options (line 487) | def test_client_constructed_with_retry_options(self, mock_client_class): FILE: tests/unit/test_jina_embedder.py class TestJinaDenseEmbedder (line 15) | class TestJinaDenseEmbedder: method test_init_requires_api_key (line 18) | def test_init_requires_api_key(self): method test_init_with_api_key (line 23) | def test_init_with_api_key(self): method test_init_with_custom_api_base (line 33) | def test_init_with_custom_api_base(self): method test_default_dimension_v5_small (line 42) | def test_default_dimension_v5_small(self): method test_default_dimension_v5_nano (line 50) | def test_default_dimension_v5_nano(self): method test_custom_dimension (line 58) | def test_custom_dimension(self): method test_model_dimensions_constant (line 67) | def test_model_dimensions_constant(self): method test_embed_single_text (line 75) | def test_embed_single_text(self, mock_openai_class): method test_embed_with_dimension (line 101) | def test_embed_with_dimension(self, mock_openai_class): method test_embed_with_task (line 125) | def test_embed_with_task(self, mock_openai_class): method test_embed_with_late_chunking (line 151) | def test_embed_with_late_chunking(self, mock_openai_class): method test_embed_batch (line 176) | def test_embed_batch(self, mock_openai_class): method test_embed_batch_empty (line 199) | def test_embed_batch_empty(self, mock_openai_class): method test_embed_api_error (line 214) | def test_embed_api_error(self, mock_openai_class): method test_build_extra_body_none (line 235) | def test_build_extra_body_none(self): method test_build_extra_body_with_params (line 246) | def test_build_extra_body_with_params(self, mock_openai_class): method test_dimension_validation_exceeds_max (line 262) | def test_dimension_validation_exceeds_max(self): method test_dimension_validation_within_range (line 271) | def test_dimension_validation_within_range(self): FILE: tests/unit/test_minimax_embedder_simple.py class TestMinimaxRealCall (line 12) | class TestMinimaxRealCall(unittest.TestCase): method setUp (line 15) | def setUp(self): method test_real_embedding (line 23) | def test_real_embedding(self): class TestEmbeddingModelConfig (line 49) | class TestEmbeddingModelConfig(unittest.TestCase): method test_minimax_provider_valid (line 50) | def test_minimax_provider_valid(self): method test_minimax_provider_requires_api_key (line 55) | def test_minimax_provider_requires_api_key(self): method test_extra_headers_and_param_fields (line 59) | def test_extra_headers_and_param_fields(self): FILE: tests/unit/test_ollama_embedding_factory.py function _make_mock_openai_class (line 18) | def _make_mock_openai_class(): function _make_ollama_cfg (line 29) | def _make_ollama_cfg(**kwargs) -> EmbeddingModelConfig: class TestOllamaFactoryMaxTokens (line 36) | class TestOllamaFactoryMaxTokens: method test_custom_max_tokens_is_forwarded (line 39) | def test_custom_max_tokens_is_forwarded(self, mock_openai_class): method test_none_max_tokens_uses_default (line 52) | def test_none_max_tokens_uses_default(self, mock_openai_class): method test_openai_factory_max_tokens_also_forwarded (line 67) | def test_openai_factory_max_tokens_also_forwarded(self, mock_openai_cl... class TestOllamaFactoryApiKeyPlaceholder (line 88) | class TestOllamaFactoryApiKeyPlaceholder: method test_no_api_key_uses_no_key_placeholder (line 91) | def test_no_api_key_uses_no_key_placeholder(self, mock_openai_class): method test_explicit_api_key_is_passed_through (line 109) | def test_explicit_api_key_is_passed_through(self, mock_openai_class): method test_openai_factory_also_uses_no_key_placeholder (line 124) | def test_openai_factory_also_uses_no_key_placeholder(self, mock_openai... class TestOllamaFactoryApiBase (line 145) | class TestOllamaFactoryApiBase: method test_default_api_base_is_localhost_ollama (line 148) | def test_default_api_base_is_localhost_ollama(self, mock_openai_class): method test_custom_api_base_is_forwarded (line 162) | def test_custom_api_base_is_forwarded(self, mock_openai_class): FILE: tests/unit/test_openai_embedder.py class TestOpenAIDenseEmbedder (line 10) | class TestOpenAIDenseEmbedder: method test_embed_does_not_send_dimensions (line 14) | def test_embed_does_not_send_dimensions(self, mock_openai_class): method test_embed_batch_does_not_send_dimensions (line 38) | def test_embed_batch_does_not_send_dimensions(self, mock_openai_class): method test_embed_with_input_type_none (line 64) | def test_embed_with_input_type_none(self, mock_openai_class): method test_embed_with_context_query (line 87) | def test_embed_with_context_query(self, mock_openai_class): method test_embed_with_context_document (line 112) | def test_embed_with_context_document(self, mock_openai_class): method test_embed_batch_with_input_type_none (line 137) | def test_embed_batch_with_input_type_none(self, mock_openai_class): method test_embed_batch_with_context_query (line 162) | def test_embed_batch_with_context_query(self, mock_openai_class): method test_embed_batch_with_context_document (line 189) | def test_embed_batch_with_context_document(self, mock_openai_class): method test_telemetry_skipped_when_no_usage (line 216) | def test_telemetry_skipped_when_no_usage(self, mock_openai_class): method test_telemetry_skipped_when_module_missing (line 238) | def test_telemetry_skipped_when_module_missing(self, mock_openai_class): method test_telemetry_called_when_module_available (line 267) | def test_telemetry_called_when_module_available(self, mock_openai_class): FILE: tests/unit/test_skill_processor_none.py class TestParseSkillNoneData (line 15) | class TestParseSkillNoneData: method test_parse_skill_none_raises_value_error (line 18) | def test_parse_skill_none_raises_value_error(self): method test_parse_skill_none_not_unsupported_type (line 24) | def test_parse_skill_none_not_unsupported_type(self): method test_parse_skill_valid_dict_passes (line 31) | def test_parse_skill_valid_dict_passes(self): method test_parse_skill_unsupported_type_still_raises (line 41) | def test_parse_skill_unsupported_type_still_raises(self): method test_parse_skill_long_raw_content_raises_oserror (line 47) | def test_parse_skill_long_raw_content_raises_oserror(self): FILE: tests/unit/test_stream_config_vlm.py class MockDelta (line 12) | class MockDelta: method __init__ (line 15) | def __init__(self, content=None): class MockChoice (line 19) | class MockChoice: method __init__ (line 22) | def __init__(self, delta=None): class MockChunk (line 26) | class MockChunk: method __init__ (line 29) | def __init__(self, content=None, usage=None): class MockUsage (line 34) | class MockUsage: method __init__ (line 37) | def __init__(self, prompt_tokens=0, completion_tokens=0): class TestVLMStreamConfig (line 42) | class TestVLMStreamConfig: method test_stream_false_by_default (line 46) | def test_stream_false_by_default(self, mock_openai_class): method test_stream_true_passed_to_api (line 69) | def test_stream_true_passed_to_api(self, mock_openai_class): method test_stream_false_uses_non_streaming_path (line 96) | def test_stream_false_uses_non_streaming_path(self, mock_openai_class): method test_async_stream_true (line 121) | async def test_async_stream_true(self, mock_async_openai_class): method test_async_stream_false (line 155) | async def test_async_stream_false(self, mock_async_openai_class): method test_vision_completion_stream_true (line 182) | def test_vision_completion_stream_true(self, mock_openai_class): method test_vision_completion_async_stream_true (line 208) | async def test_vision_completion_async_stream_true(self, mock_async_op... class TestVLMBaseStreamConfig (line 246) | class TestVLMBaseStreamConfig: method test_stream_defaults_to_false (line 249) | def test_stream_defaults_to_false(self): method test_stream_extracted_from_config (line 273) | def test_stream_extracted_from_config(self): class TestVLMConfigStream (line 299) | class TestVLMConfigStream: method test_vlm_config_accepts_stream (line 302) | def test_vlm_config_accepts_stream(self): method test_vlm_config_stream_defaults_to_false (line 320) | def test_vlm_config_stream_defaults_to_false(self): method test_vlm_config_stream_passed_to_vlm_dict (line 336) | def test_vlm_config_stream_passed_to_vlm_dict(self): method test_vlm_config_stream_migrated_to_providers (line 354) | def test_vlm_config_stream_migrated_to_providers(self): method test_vlm_config_stream_in_providers_takes_precedence (line 373) | def test_vlm_config_stream_in_providers_takes_precedence(self): class TestStreamingResponseProcessing (line 393) | class TestStreamingResponseProcessing: method test_process_streaming_response_with_content (line 396) | def test_process_streaming_response_with_content(self): method test_process_streaming_response_with_usage (line 409) | def test_process_streaming_response_with_usage(self): method test_process_streaming_response_empty_chunks (line 427) | def test_process_streaming_response_empty_chunks(self): method test_process_streaming_response_async (line 435) | async def test_process_streaming_response_async(self): method test_process_streaming_response_async_with_usage (line 448) | async def test_process_streaming_response_async_with_usage(self): FILE: tests/unit/test_time_utils.py function test_parse_iso_datetime_accepts_z_suffix (line 7) | def test_parse_iso_datetime_accepts_z_suffix(): function test_context_from_dict_accepts_z_timestamps (line 13) | def test_context_from_dict_accepts_z_timestamps(): FILE: tests/unit/test_uri_short_format.py class TestVikingURIShortFormat (line 16) | class TestVikingURIShortFormat: method test_slash_prefix_path (line 19) | def test_slash_prefix_path(self): method test_bare_path (line 25) | def test_bare_path(self): method test_slash_prefix_nested (line 31) | def test_slash_prefix_nested(self): method test_bare_nested_path (line 37) | def test_bare_nested_path(self): method test_full_format_unchanged (line 43) | def test_full_format_unchanged(self): method test_root_slash (line 48) | def test_root_slash(self): method test_full_root (line 54) | def test_full_root(self): method test_join_after_short_format (line 60) | def test_join_after_short_format(self): method test_parent_after_short_format (line 66) | def test_parent_after_short_format(self): method test_is_valid_short_format (line 73) | def test_is_valid_short_format(self): method test_invalid_scope_still_rejected (line 78) | def test_invalid_scope_still_rejected(self): method test_normalize_idempotent (line 83) | def test_normalize_idempotent(self): method test_all_scopes (line 103) | def test_all_scopes(self, short, expected): FILE: tests/unit/test_vlm_response_formats.py class TestVLMBaseResponseFormats (line 12) | class TestVLMBaseResponseFormats: class ConcreteVLM (line 15) | class ConcreteVLM(VLMBase): method get_completion (line 18) | def get_completion(self, prompt: str, thinking: bool = False) -> str: method get_completion_async (line 21) | async def get_completion_async( method get_vision_completion (line 26) | def get_vision_completion( method get_vision_completion_async (line 34) | async def get_vision_completion_async( method vlm (line 43) | def vlm(self): method test_extract_content_from_str_response (line 52) | def test_extract_content_from_str_response(self, vlm): method test_extract_content_from_standard_openai_response (line 55) | def test_extract_content_from_standard_openai_response(self, vlm): FILE: tests/unit/test_voyage_embedder.py class TestVoyageDenseEmbedder (line 13) | class TestVoyageDenseEmbedder: method test_init_requires_api_key (line 16) | def test_init_requires_api_key(self): method test_init_with_defaults (line 20) | def test_init_with_defaults(self): method test_model_dimensions_constant (line 29) | def test_model_dimensions_constant(self): method test_custom_dimension (line 35) | def test_custom_dimension(self): method test_invalid_dimension_for_supported_model (line 43) | def test_invalid_dimension_for_supported_model(self): method test_embed_single_text (line 52) | def test_embed_single_text(self, mock_openai_class): method test_embed_uses_voyage_output_dimension (line 77) | def test_embed_uses_voyage_output_dimension(self, mock_openai_class): method test_embed_batch (line 101) | def test_embed_batch(self, mock_openai_class): method test_embed_batch_empty (line 123) | def test_embed_batch_empty(self, mock_openai_class): method test_embed_api_error (line 135) | def test_embed_api_error(self, mock_openai_class): FILE: tests/unit/tool_skill/test_tool_skill_calibration.py function _candidate (line 10) | def _candidate( class TestToolSkillCalibration (line 25) | class TestToolSkillCalibration: method test_tools_candidate_returns_only_canonical_tool_name (line 26) | def test_tools_candidate_returns_only_canonical_tool_name(self): method test_skills_candidate_returns_only_canonical_skill_name (line 39) | def test_skills_candidate_returns_only_canonical_skill_name(self): method test_empty_candidate_name_is_skipped (line 52) | def test_empty_candidate_name_is_skipped(self): method test_no_match_returns_empty_and_never_falls_back_to_candidate (line 59) | def test_no_match_returns_empty_and_never_falls_back_to_candidate(self): method test_suffix_like_weather_usage_does_not_match_weather (line 66) | def test_suffix_like_weather_usage_does_not_match_weather(self): method test_best_match_tie_picks_most_recent_tool_part (line 73) | def test_best_match_tie_picks_most_recent_tool_part(self): FILE: tests/unit/tool_skill/test_tool_skill_memory_guardrails.py class NotFoundError (line 16) | class NotFoundError(Exception): function _ctx (line 26) | def _ctx(agent_space: str = "agent_space_1"): function _tool_candidate (line 33) | def _tool_candidate( function _skill_candidate (line 57) | def _skill_candidate( function test_merge_tool_memory_read_failure_skips_write (line 80) | async def test_merge_tool_memory_read_failure_skips_write(monkeypatch): function test_merge_tool_memory_not_found_allows_create (line 96) | async def test_merge_tool_memory_not_found_allows_create(monkeypatch): function test_merge_tool_memory_monotonic_violation_skips_write (line 112) | async def test_merge_tool_memory_monotonic_violation_skips_write(monkeyp... function test_merge_skill_memory_read_failure_skips_write (line 136) | async def test_merge_skill_memory_read_failure_skips_write(monkeypatch): function test_merge_skill_memory_not_found_allows_create (line 152) | async def test_merge_skill_memory_not_found_allows_create(monkeypatch): function test_merge_skill_memory_monotonic_violation_skips_write (line 168) | async def test_merge_skill_memory_monotonic_violation_skips_write(monkey... function test_merge_tool_memory_old_format_upgrades_to_reme (line 190) | async def test_merge_tool_memory_old_format_upgrades_to_reme(monkeypatch): function test_merge_tool_memory_content_format_parses_and_merges (line 226) | async def test_merge_tool_memory_content_format_parses_and_merges(monkey... function test_merge_skill_memory_old_format_upgrades_to_aligned (line 262) | async def test_merge_skill_memory_old_format_upgrades_to_aligned(monkeyp... FILE: tests/unit/tool_skill/test_tool_skill_utils.py class TestToolSkillUtils (line 14) | class TestToolSkillUtils: method test_normalize_name_removes_common_separators (line 15) | def test_normalize_name_removes_common_separators(self): method test_calibrate_tool_name_matches_hyphen_to_underscore (line 19) | def test_calibrate_tool_name_matches_hyphen_to_underscore(self): method test_collect_tool_stats_aggregates_counts_and_tokens (line 25) | def test_collect_tool_stats_aggregates_counts_and_tokens(self): method test_calibrate_skill_name_matches_by_skill_uri_suffix (line 49) | def test_calibrate_skill_name_matches_by_skill_uri_suffix(self): method test_collect_skill_stats_aggregates_by_skill_name (line 55) | def test_collect_skill_stats_aggregates_by_skill_name(self): FILE: tests/utils/mock_agfs.py class MockLocalAGFS (line 6) | class MockLocalAGFS: method __init__ (line 12) | def __init__(self, config=None, root_path=None): method _resolve (line 17) | def _resolve(self, path): method exists (line 24) | def exists(self, path, ctx=None): method mkdir (line 27) | def mkdir(self, path, ctx=None, parents=True, exist_ok=True): method ls (line 30) | def ls(self, path, ctx=None, **kwargs): method writeto (line 48) | def writeto(self, path, content, ctx=None, **kwargs): method write (line 57) | def write(self, path, content, ctx=None, **kwargs): method write_file (line 60) | def write_file(self, path, content, ctx=None, **kwargs): method read_file (line 63) | def read_file(self, path, ctx=None, **kwargs): method read (line 69) | def read(self, path, ctx=None, **kwargs): method rm (line 72) | def rm(self, path, recursive=False, ctx=None): method delete_temp (line 83) | def delete_temp(self, path, ctx=None): method mv (line 86) | def mv(self, src, dst, ctx=None): method stat (line 92) | def stat(self, path, ctx=None): method bind_request_context (line 99) | def bind_request_context(self, ctx): FILE: tests/utils/mock_context.py function make_test_user (line 10) | def make_test_user( function make_test_ctx (line 19) | def make_test_ctx( FILE: tests/vectordb/benchmark_stress.py function calculate_mean (line 18) | def calculate_mean(data): class StressStats (line 24) | class StressStats: method __init__ (line 25) | def __init__(self): method record_insert (line 35) | def record_insert(self, lat): method record_search (line 40) | def record_search(self, lat): method record_delete (line 45) | def record_delete(self, lat): method report (line 50) | def report(self): function generate_random_vector (line 67) | def generate_random_vector(dim): function generate_random_sparse_vector (line 71) | def generate_random_sparse_vector(): function setup_collection (line 79) | def setup_collection(path: str, dim: int, enable_sparse: bool): function worker_insert (line 122) | def worker_insert( function worker_search (line 165) | def worker_search( function worker_delete (line 221) | def worker_delete( function run_stress_test (line 245) | def run_stress_test(): FILE: tests/vectordb/test_bytes_row.py class ComplexData (line 23) | class ComplexData: class TestBytesRow (line 33) | class TestBytesRow(unittest.TestCase): method test_basic_serialization (line 34) | def test_basic_serialization(self): method test_list_types (line 63) | def test_list_types(self): method test_default_values (line 84) | def test_default_values(self): method test_unicode_strings (line 99) | def test_unicode_strings(self): method test_binary_data (line 111) | def test_binary_data(self): method test_schema_id_validation (line 123) | def test_schema_id_validation(self): method test_missing_fields_use_defaults (line 140) | def test_missing_fields_use_defaults(self): class TestBytesRowConsistency (line 178) | class TestBytesRowConsistency(unittest.TestCase): method setUp (line 179) | def setUp(self): method generate_random_data (line 207) | def generate_random_data(self): method test_py_write_cpp_read (line 225) | def test_py_write_cpp_read(self): method test_cpp_write_py_read (line 251) | def test_cpp_write_py_read(self): method test_binary_consistency (line 276) | def test_binary_consistency(self): FILE: tests/vectordb/test_collection_large_scale.py class TestLargeScaleScenarios (line 20) | class TestLargeScaleScenarios(unittest.TestCase): method setUp (line 23) | def setUp(self): method tearDown (line 28) | def tearDown(self): method register_collection (line 40) | def register_collection(self, collection): method test_01_large_batch_insert_10k (line 47) | def test_01_large_batch_insert_10k(self): method test_02_large_batch_insert_50k (line 142) | def test_02_large_batch_insert_50k(self): method test_03_high_dimensional_vectors (line 208) | def test_03_high_dimensional_vectors(self): method test_04_massive_updates (line 271) | def test_04_massive_updates(self): method test_05_massive_deletes (line 345) | def test_05_massive_deletes(self): method test_06_complex_multi_filter_large_scale (line 441) | def test_06_complex_multi_filter_large_scale(self): method test_07_large_scale_aggregation (line 557) | def test_07_large_scale_aggregation(self): method test_08_persistence_with_large_data (line 657) | def test_08_persistence_with_large_data(self): method test_09_concurrent_operations_simulation (line 746) | def test_09_concurrent_operations_simulation(self): method test_10_stress_test_continuous_operations (line 860) | def test_10_stress_test_continuous_operations(self): function run_large_scale_tests (line 951) | def run_large_scale_tests(): FILE: tests/vectordb/test_crash_recovery.py function worker_write_and_crash (line 16) | def worker_write_and_crash(path, start_id, count, event_ready): function setup_robust_collection (line 71) | def setup_robust_collection(path): function worker_cycle_1_write (line 91) | def worker_cycle_1_write(path, event_ready): function worker_cycle_2_mix (line 114) | def worker_cycle_2_mix(path, event_ready): class TestCrashRecovery (line 151) | class TestCrashRecovery(unittest.TestCase): method setUp (line 152) | def setUp(self): method tearDown (line 158) | def tearDown(self): method test_simple_crash_recovery (line 164) | def test_simple_crash_recovery(self): method run_process_and_crash (line 233) | def run_process_and_crash(self, target_func): method test_multi_cycle_crash (line 251) | def test_multi_cycle_crash(self): FILE: tests/vectordb/test_data_processor.py function clean_dir (line 15) | def clean_dir(path: str) -> None: class TestDataProcessor (line 19) | class TestDataProcessor(unittest.TestCase): method setUp (line 20) | def setUp(self): method test_scalar_index_meta_mapping (line 29) | def test_scalar_index_meta_mapping(self): method test_datetime_and_geo_point_conversion (line 38) | def test_datetime_and_geo_point_conversion(self): method test_filter_conversion_time_range (line 51) | def test_filter_conversion_time_range(self): method test_filter_conversion_geo_range (line 64) | def test_filter_conversion_geo_range(self): method test_validate_and_process (line 78) | def test_validate_and_process(self): FILE: tests/vectordb/test_filter_ops.py function clean_dir (line 18) | def clean_dir(path): class TestFilterOpsBasic (line 22) | class TestFilterOpsBasic(unittest.TestCase): method setUp (line 25) | def setUp(self): method tearDown (line 32) | def tearDown(self): method _create_collection (line 37) | def _create_collection(self): method _insert_data (line 50) | def _insert_data(self): method _create_index (line 90) | def _create_index(self): method _search (line 98) | def _search(self, filters): method test_basic_ops (line 104) | def test_basic_ops(self): class TestFilterOpsComplex (line 117) | class TestFilterOpsComplex(unittest.TestCase): method setUp (line 120) | def setUp(self): method tearDown (line 127) | def tearDown(self): method _create_collection (line 132) | def _create_collection(self): method _insert_data (line 149) | def _insert_data(self): method _create_index (line 236) | def _create_index(self): method _search (line 244) | def _search(self, filters): method test_nested_and_or (line 250) | def test_nested_and_or(self): method test_complex_exclusion (line 273) | def test_complex_exclusion(self): method test_range_and_prefix_mix (line 296) | def test_range_and_prefix_mix(self): method test_deeply_nested_logic (line 311) | def test_deeply_nested_logic(self): method test_range_out_logic (line 358) | def test_range_out_logic(self): method test_multi_layer_logic (line 381) | def test_multi_layer_logic(self): method test_mixed_type_logic (line 414) | def test_mixed_type_logic(self): method test_many_or_conditions (line 449) | def test_many_or_conditions(self): method test_must_not_combinations (line 466) | def test_must_not_combinations(self): class TestFilterOpsLifecycle (line 482) | class TestFilterOpsLifecycle(unittest.TestCase): method setUp (line 485) | def setUp(self): method tearDown (line 493) | def tearDown(self): method _create_collection (line 498) | def _create_collection(self): method _insert_initial_data (line 510) | def _insert_initial_data(self): method _create_index (line 518) | def _create_index(self): method _search (line 526) | def _search(self, filters, coll=None): method test_update_impact (line 533) | def test_update_impact(self): method test_delete_impact (line 555) | def test_delete_impact(self): method test_persistence_restart (line 569) | def test_persistence_restart(self): class TestFilterOpsPath (line 599) | class TestFilterOpsPath(unittest.TestCase): method setUp (line 602) | def setUp(self): method tearDown (line 609) | def tearDown(self): method _create_collection (line 614) | def _create_collection(self): method _insert_data (line 625) | def _insert_data(self): method _create_index (line 636) | def _create_index(self): method _search (line 644) | def _search(self, filters): method test_path_must (line 650) | def test_path_must(self): method test_path_must_not (line 665) | def test_path_must_not(self): method test_path_must_normalize_leading_slash (line 676) | def test_path_must_normalize_leading_slash(self): method test_path_depth (line 712) | def test_path_depth(self): class TestFilterOpsScale (line 763) | class TestFilterOpsScale(unittest.TestCase): method setUp (line 766) | def setUp(self): method tearDown (line 774) | def tearDown(self): method _create_collection (line 779) | def _create_collection(self): method _insert_large_data (line 793) | def _insert_large_data(self): method _create_index (line 832) | def _create_index(self): method _search (line 843) | def _search(self, filters, limit=10000): method test_scale_filtering (line 850) | def test_scale_filtering(self): class TestFilterOpsTypes (line 955) | class TestFilterOpsTypes(unittest.TestCase): method setUp (line 958) | def setUp(self): method tearDown (line 965) | def tearDown(self): method _create_collection (line 970) | def _create_collection(self): method _insert_data (line 988) | def _insert_data(self): method _create_index (line 1053) | def _create_index(self): method _search (line 1071) | def _search(self, filters): method test_debug_float (line 1077) | def test_debug_float(self): method test_numeric_ops (line 1082) | def test_numeric_ops(self): method test_string_ops (line 1103) | def test_string_ops(self): method test_bool_ops (line 1118) | def test_bool_ops(self): method test_list_ops (line 1127) | def test_list_ops(self): method test_datetime_ops (line 1141) | def test_datetime_ops(self): method test_geo_ops (line 1159) | def test_geo_ops(self): method test_mixed_complex (line 1182) | def test_mixed_complex(self): method test_persistence_queries (line 1204) | def test_persistence_queries(self): class TestFilterOpsIP (line 1261) | class TestFilterOpsIP(TestFilterOpsBasic): method setUp (line 1264) | def setUp(self): method tearDown (line 1271) | def tearDown(self): method _create_index (line 1276) | def _create_index(self): method _search (line 1284) | def _search(self, filters): FILE: tests/vectordb/test_openviking_vectordb.py function clean_dir (line 12) | def clean_dir(path: str) -> None: function make_vector (line 16) | def make_vector(index: int, dim: int) -> list[float]: function in_time_range (line 23) | def in_time_range(value: str, gte: str, lte: str) -> bool: class TestOpenVikingVectorDB (line 27) | class TestOpenVikingVectorDB(unittest.TestCase): method setUp (line 28) | def setUp(self): method tearDown (line 34) | def tearDown(self): method _register (line 43) | def _register(self, collection): method _create_collection (line 47) | def _create_collection(self): method _generate_data (line 73) | def _generate_data(self, dim: int): method _insert_data (line 137) | def _insert_data(self, collection): method _create_index (line 142) | def _create_index(self, collection): method _search_ids (line 163) | def _search_ids(self, collection, filters, limit=100): method _expected_ids (line 169) | def _expected_ids(self, predicate): method test_filters_update_delete_recall (line 178) | def test_filters_update_delete_recall(self): method test_offset_collision_after_delete (line 366) | def test_offset_collision_after_delete(self): class TestOpenVikingVectorDBIP (line 476) | class TestOpenVikingVectorDBIP(TestOpenVikingVectorDB): method setUp (line 477) | def setUp(self): method tearDown (line 483) | def tearDown(self): method _create_collection (line 489) | def _create_collection(self): method _create_index (line 515) | def _create_index(self, collection): FILE: tests/vectordb/test_project_group.py class TestProjectGroup (line 12) | class TestProjectGroup(unittest.TestCase): method setUp (line 13) | def setUp(self): method tearDown (line 17) | def tearDown(self): method test_volatile_group (line 21) | def test_volatile_group(self): method test_persistent_group_lifecycle (line 39) | def test_persistent_group_lifecycle(self): method test_duplicate_create_error (line 74) | def test_duplicate_create_error(self): FILE: tests/vectordb/test_pydantic_validation.py class TestPydanticValidation (line 13) | class TestPydanticValidation(unittest.TestCase): method test_valid_collection_meta (line 14) | def test_valid_collection_meta(self): method test_invalid_collection_meta (line 25) | def test_invalid_collection_meta(self): method test_valid_index_meta (line 39) | def test_valid_index_meta(self): method test_fix_collection_meta (line 47) | def test_fix_collection_meta(self): FILE: tests/vectordb/test_recall.py function calculate_l2_distance (line 14) | def calculate_l2_distance(v1: List[float], v2: List[float]) -> float: function calculate_ip_distance (line 18) | def calculate_ip_distance(v1: List[float], v2: List[float]) -> float: class TestRecall (line 22) | class TestRecall(unittest.TestCase): method setUp (line 25) | def setUp(self): method tearDown (line 30) | def tearDown(self): method register_collection (line 40) | def register_collection(self, collection): method test_exact_match_recall (line 44) | def test_exact_match_recall(self): method test_l2_recall_topk (line 97) | def test_l2_recall_topk(self): method test_ip_recall_topk (line 168) | def test_ip_recall_topk(self): method test_search_limit_zero (line 239) | def test_search_limit_zero(self): method test_sparse_vector_recall (line 272) | def test_sparse_vector_recall(self): method test_sparse_vector_recall_l2 (line 321) | def test_sparse_vector_recall_l2(self): method test_hybrid_dense_sparse_mix (line 370) | def test_hybrid_dense_sparse_mix(self): method test_complex_schema_missing_fields (line 422) | def test_complex_schema_missing_fields(self): method test_persistence_crud (line 523) | def test_persistence_crud(self): FILE: tests/vectordb/test_vikingdb_project.py class TestVikingDBProject (line 9) | class TestVikingDBProject(unittest.TestCase): method setUp (line 14) | def setUp(self): method test_create_vikingdb_project (line 34) | def test_create_vikingdb_project(self): method test_create_collection (line 41) | def test_create_collection(self): method test_upsert_data (line 51) | def test_upsert_data(self): method test_fetch_data (line 63) | def test_fetch_data(self): method test_drop_collection (line 79) | def test_drop_collection(self): FILE: third_party/agfs/agfs-fuse/cmd/agfs-fuse/main.go function main (line 20) | func main() { FILE: third_party/agfs/agfs-fuse/pkg/cache/cache.go type entry (line 11) | type entry struct method isExpired (line 17) | func (e *entry) isExpired() bool { type Cache (line 22) | type Cache struct method Set (line 42) | func (c *Cache) Set(key string, value interface{}) { method Get (line 53) | func (c *Cache) Get(key string) (interface{}, bool) { method Delete (line 70) | func (c *Cache) Delete(key string) { method DeletePrefix (line 78) | func (c *Cache) DeletePrefix(prefix string) { method Clear (line 90) | func (c *Cache) Clear() { method cleanup (line 98) | func (c *Cache) cleanup() { function NewCache (line 29) | func NewCache(ttl time.Duration) *Cache { type MetadataCache (line 115) | type MetadataCache struct method Get (line 127) | func (mc *MetadataCache) Get(path string) (*agfs.FileInfo, bool) { method Set (line 137) | func (mc *MetadataCache) Set(path string, info *agfs.FileInfo) { method Invalidate (line 142) | func (mc *MetadataCache) Invalidate(path string) { method InvalidatePrefix (line 147) | func (mc *MetadataCache) InvalidatePrefix(prefix string) { method Clear (line 152) | func (mc *MetadataCache) Clear() { function NewMetadataCache (line 120) | func NewMetadataCache(ttl time.Duration) *MetadataCache { type DirectoryCache (line 157) | type DirectoryCache struct method Get (line 169) | func (dc *DirectoryCache) Get(path string) ([]agfs.FileInfo, bool) { method Set (line 179) | func (dc *DirectoryCache) Set(path string, files []agfs.FileInfo) { method Invalidate (line 184) | func (dc *DirectoryCache) Invalidate(path string) { method InvalidatePrefix (line 189) | func (dc *DirectoryCache) InvalidatePrefix(prefix string) { method Clear (line 194) | func (dc *DirectoryCache) Clear() { function NewDirectoryCache (line 162) | func NewDirectoryCache(ttl time.Duration) *DirectoryCache { FILE: third_party/agfs/agfs-fuse/pkg/cache/cache_test.go function TestCacheBasicOperations (line 10) | func TestCacheBasicOperations(t *testing.T) { function TestCacheTTL (line 34) | func TestCacheTTL(t *testing.T) { function TestCacheDeletePrefix (line 55) | func TestCacheDeletePrefix(t *testing.T) { function TestMetadataCache (line 81) | func TestMetadataCache(t *testing.T) { function TestDirectoryCache (line 105) | func TestDirectoryCache(t *testing.T) { function TestCacheConcurrency (line 128) | func TestCacheConcurrency(t *testing.T) { FILE: third_party/agfs/agfs-fuse/pkg/fusefs/file.go type AGFSFileHandle (line 12) | type AGFSFileHandle struct method Read (line 24) | func (fh *AGFSFileHandle) Read(ctx context.Context, dest []byte, off i... method Write (line 34) | func (fh *AGFSFileHandle) Write(ctx context.Context, data []byte, off ... method Fsync (line 47) | func (fh *AGFSFileHandle) Fsync(ctx context.Context, flags uint32) sys... method Release (line 57) | func (fh *AGFSFileHandle) Release(ctx context.Context) syscall.Errno { method Getattr (line 67) | func (fh *AGFSFileHandle) Getattr(ctx context.Context, out *fuse.AttrO... FILE: third_party/agfs/agfs-fuse/pkg/fusefs/fs.go type AGFSFS (line 17) | type AGFSFS struct method Close (line 53) | func (root *AGFSFS) Close() error { method Statfs (line 67) | func (root *AGFSFS) Statfs(ctx context.Context, out *fuse.StatfsOut) s... method invalidateCache (line 82) | func (root *AGFSFS) invalidateCache(path string) { method Getattr (line 137) | func (root *AGFSFS) Getattr(ctx context.Context, f fs.FileHandle, out ... method Lookup (line 145) | func (root *AGFSFS) Lookup(ctx context.Context, name string, out *fuse... method Readdir (line 179) | func (root *AGFSFS) Readdir(ctx context.Context) (fs.DirStream, syscal... type Config (line 29) | type Config struct function NewAGFSFS (line 36) | func NewAGFSFS(config Config) *AGFSFS { function getParentPath (line 93) | func getParentPath(path string) string { function modeToFileMode (line 111) | func modeToFileMode(mode uint32) uint32 { function fileModeToMode (line 116) | func fileModeToMode(mode uint32) uint32 { function getStableMode (line 121) | func getStableMode(info *agfs.FileInfo) uint32 { FILE: third_party/agfs/agfs-fuse/pkg/fusefs/handles.go type handleType (line 17) | type handleType constant handleTypeRemote (line 20) | handleTypeRemote handleType = iota constant handleTypeRemoteStream (line 21) | handleTypeRemoteStream constant handleTypeLocal (line 22) | handleTypeLocal type handleInfo (line 26) | type handleInfo struct type HandleManager (line 45) | type HandleManager struct method Open (line 66) | func (hm *HandleManager) Open(path string, flags agfs.OpenFlag, mode u... method Close (line 129) | func (hm *HandleManager) Close(fuseHandle uint64) error { method Read (line 165) | func (hm *HandleManager) Read(fuseHandle uint64, offset int64, size in... method readFromStream (line 255) | func (hm *HandleManager) readFromStream(info *handleInfo, offset int64... method trimStreamBuffer (line 356) | func (hm *HandleManager) trimStreamBuffer(info *handleInfo, consumedUp... method Write (line 386) | func (hm *HandleManager) Write(fuseHandle uint64, data []byte, offset ... method Sync (line 421) | func (hm *HandleManager) Sync(fuseHandle uint64) error { method CloseAll (line 444) | func (hm *HandleManager) CloseAll() error { method Count (line 476) | func (hm *HandleManager) Count() int { function NewHandleManager (line 55) | func NewHandleManager(client *agfs.Client) *HandleManager { type streamReadResult (line 243) | type streamReadResult struct constant maxStreamBufferSize (line 250) | maxStreamBufferSize = 1 * 1024 * 1024 FILE: third_party/agfs/agfs-fuse/pkg/fusefs/handles_test.go function TestHandleManagerBasicOperations (line 12) | func TestHandleManagerBasicOperations(t *testing.T) { function TestHandleManagerConcurrency (line 28) | func TestHandleManagerConcurrency(t *testing.T) { function TestHandleManager_OpenHandleNotSupportedFallback (line 55) | func TestHandleManager_OpenHandleNotSupportedFallback(t *testing.T) { FILE: third_party/agfs/agfs-fuse/pkg/fusefs/node.go type AGFSNode (line 14) | type AGFSNode struct method Getattr (line 33) | func (n *AGFSNode) Getattr(ctx context.Context, f fs.FileHandle, out *... method Lookup (line 56) | func (n *AGFSNode) Lookup(ctx context.Context, name string, out *fuse.... method Readdir (line 90) | func (n *AGFSNode) Readdir(ctx context.Context) (fs.DirStream, syscall... method Mkdir (line 120) | func (n *AGFSNode) Mkdir(ctx context.Context, name string, mode uint32... method Rmdir (line 152) | func (n *AGFSNode) Rmdir(ctx context.Context, name string) syscall.Err... method Unlink (line 167) | func (n *AGFSNode) Unlink(ctx context.Context, name string) syscall.Er... method Rename (line 182) | func (n *AGFSNode) Rename(ctx context.Context, name string, newParent ... method Create (line 205) | func (n *AGFSNode) Create(ctx context.Context, name string, flags uint... method Open (line 253) | func (n *AGFSNode) Open(ctx context.Context, flags uint32) (fh fs.File... method Setattr (line 271) | func (n *AGFSNode) Setattr(ctx context.Context, f fs.FileHandle, in *f... function fillAttr (line 288) | func fillAttr(out *fuse.Attr, info *agfs.FileInfo) { function convertOpenFlags (line 310) | func convertOpenFlags(flags uint32) agfs.OpenFlag { FILE: third_party/agfs/agfs-fuse/pkg/version/version.go function GetVersion (line 11) | func GetVersion() string { function GetFullVersion (line 16) | func GetFullVersion() string { FILE: third_party/agfs/agfs-mcp/demos/hackernews_research.py function fetch_hackernews_top_stories (line 20) | def fetch_hackernews_top_stories(count: int = 10) -> List[Dict[str, Any]]: function distribute_stories_to_agents (line 88) | def distribute_stories_to_agents( function enqueue_task (line 194) | def enqueue_task( function wait_for_results (line 214) | def wait_for_results( function list_files (line 281) | def list_files(path: str, agfs_api_url: Optional[str] = None) -> List[str]: function read_file (line 296) | def read_file(file_path: str, agfs_api_url: Optional[str] = None) -> Opt... function compile_final_report (line 311) | def compile_final_report( function save_report (line 393) | def save_report( function main (line 414) | def main(): FILE: third_party/agfs/agfs-mcp/demos/parallel_research.py class TaskBroadcaster (line 16) | class TaskBroadcaster: method __init__ (line 19) | def __init__( method enqueue_task (line 35) | def enqueue_task(self, queue_path: str, task_data: str) -> bool: method broadcast_task (line 57) | def broadcast_task(self, task_data: str) -> Dict[str, bool]: class ResultsCollector (line 89) | class ResultsCollector: method __init__ (line 92) | def __init__( method list_results (line 108) | def list_results(self) -> List[str]: method read_result (line 122) | def read_result(self, result_file: str) -> Optional[str]: method wait_for_results (line 139) | def wait_for_results( function main (line 210) | def main(): FILE: third_party/agfs/agfs-mcp/demos/task_loop.py class TaskQueue (line 16) | class TaskQueue: method __init__ (line 19) | def __init__( method ensure_queue_exists (line 38) | def ensure_queue_exists(self) -> bool: method get_queue_size (line 62) | def get_queue_size(self) -> Optional[int]: method peek_task (line 79) | def peek_task(self) -> Optional[Dict[str, Any]]: method dequeue_task (line 96) | def dequeue_task(self) -> Optional[Dict[str, Any]]: class ClaudeCodeExecutor (line 115) | class ClaudeCodeExecutor: method __init__ (line 118) | def __init__( method execute_task (line 135) | def execute_task( function main (line 270) | def main(): FILE: third_party/agfs/agfs-mcp/src/agfs_mcp/server.py class AGFSMCPServer (line 16) | class AGFSMCPServer: method __init__ (line 19) | def __init__(self, agfs_url: str = "http://localhost:8080/api/v1"): method _get_client (line 25) | def _get_client(self) -> AGFSClient: method _setup_handlers (line 31) | def _setup_handlers(self): method run (line 698) | async def run(self): function main (line 710) | async def main(): function cli (line 724) | def cli(): FILE: third_party/agfs/agfs-sdk/go/client.go type Client (line 21) | type Client struct method doRequest (line 105) | func (c *Client) doRequest(method, endpoint string, query url.Values, ... method handleErrorResponse (line 128) | func (c *Client) handleErrorResponse(resp *http.Response) error { method Create (line 148) | func (c *Client) Create(path string) error { method Mkdir (line 161) | func (c *Client) Mkdir(path string, perm uint32) error { method Remove (line 175) | func (c *Client) Remove(path string) error { method RemoveAll (line 189) | func (c *Client) RemoveAll(path string) error { method Read (line 206) | func (c *Client) Read(path string, offset int64, size int64) ([]byte, ... method Write (line 240) | func (c *Client) Write(path string, data []byte) ([]byte, error) { method WriteWithRetry (line 245) | func (c *Client) WriteWithRetry(path string, data []byte, maxRetries i... method ReadDir (line 337) | func (c *Client) ReadDir(path string) ([]FileInfo, error) { method Stat (line 377) | func (c *Client) Stat(path string) (*FileInfo, error) { method Rename (line 413) | func (c *Client) Rename(oldPath, newPath string) error { method Chmod (line 432) | func (c *Client) Chmod(path string, mode uint32) error { method Health (line 451) | func (c *Client) Health() error { method GetCapabilities (line 472) | func (c *Client) GetCapabilities() (*CapabilitiesResponse, error) { method ReadStream (line 505) | func (c *Client) ReadStream(path string) (io.ReadCloser, error) { method Grep (line 576) | func (c *Client) Grep(path, pattern string, recursive, caseInsensitive... method Digest (line 624) | func (c *Client) Digest(path, algorithm string) (*DigestResponse, erro... method OpenHandle (line 665) | func (c *Client) OpenHandle(path string, flags OpenFlag, mode uint32) ... method CloseHandle (line 697) | func (c *Client) CloseHandle(handleID int64) error { method ReadHandle (line 718) | func (c *Client) ReadHandle(handleID int64, offset int64, size int) ([... method ReadHandleStream (line 749) | func (c *Client) ReadHandleStream(handleID int64) (io.ReadCloser, erro... method WriteHandle (line 781) | func (c *Client) WriteHandle(handleID int64, data []byte, offset int64... method SyncHandle (line 820) | func (c *Client) SyncHandle(handleID int64) error { method SeekHandle (line 841) | func (c *Client) SeekHandle(handleID int64, offset int64, whence int) ... method GetHandle (line 872) | func (c *Client) GetHandle(handleID int64) (*HandleInfo, error) { method StatHandle (line 898) | func (c *Client) StatHandle(handleID int64) (*FileInfo, error) { function NewClient (line 30) | func NewClient(baseURL string) *Client { function NewClientWithHTTPClient (line 40) | func NewClientWithHTTPClient(baseURL string, httpClient *http.Client) *C... function normalizeBaseURL (line 48) | func normalizeBaseURL(baseURL string) string { type ErrorResponse (line 71) | type ErrorResponse struct type SuccessResponse (line 76) | type SuccessResponse struct type FileInfoResponse (line 81) | type FileInfoResponse struct type ListResponse (line 91) | type ListResponse struct type RenameRequest (line 96) | type RenameRequest struct type ChmodRequest (line 101) | type ChmodRequest struct function isRetryableError (line 313) | func isRetryableError(err error) bool { type CapabilitiesResponse (line 466) | type CapabilitiesResponse struct type GrepRequest (line 541) | type GrepRequest struct type GrepMatch (line 550) | type GrepMatch struct type GrepResponse (line 557) | type GrepResponse struct type DigestRequest (line 563) | type DigestRequest struct type DigestResponse (line 569) | type DigestResponse struct FILE: third_party/agfs/agfs-sdk/go/client_test.go function TestClient_Create (line 11) | func TestClient_Create(t *testing.T) { function TestClient_Read (line 34) | func TestClient_Read(t *testing.T) { function TestClient_Write (line 59) | func TestClient_Write(t *testing.T) { function TestClient_Mkdir (line 84) | func TestClient_Mkdir(t *testing.T) { function TestClient_ErrorHandling (line 107) | func TestClient_ErrorHandling(t *testing.T) { function TestClient_OpenHandleNotSupported (line 121) | func TestClient_OpenHandleNotSupported(t *testing.T) { function TestClient_OpenHandleModeOctalFormat (line 142) | func TestClient_OpenHandleModeOctalFormat(t *testing.T) { function TestNormalizeBaseURL (line 213) | func TestNormalizeBaseURL(t *testing.T) { FILE: third_party/agfs/agfs-sdk/go/types.go type MetaData (line 6) | type MetaData struct type FileInfo (line 13) | type FileInfo struct type OpenFlag (line 23) | type OpenFlag constant OpenFlagReadOnly (line 26) | OpenFlagReadOnly OpenFlag = 0 constant OpenFlagWriteOnly (line 27) | OpenFlagWriteOnly OpenFlag = 1 constant OpenFlagReadWrite (line 28) | OpenFlagReadWrite OpenFlag = 2 constant OpenFlagAppend (line 29) | OpenFlagAppend OpenFlag = 1024 constant OpenFlagCreate (line 30) | OpenFlagCreate OpenFlag = 64 constant OpenFlagExclusive (line 31) | OpenFlagExclusive OpenFlag = 128 constant OpenFlagTruncate (line 32) | OpenFlagTruncate OpenFlag = 512 constant OpenFlagSync (line 33) | OpenFlagSync OpenFlag = 1052672 type HandleInfo (line 37) | type HandleInfo struct type HandleResponse (line 44) | type HandleResponse struct FILE: third_party/agfs/agfs-sdk/python/examples/advanced_usage.py function mount_example (line 7) | def mount_example(client): function grep_example (line 46) | def grep_example(client): function streaming_example (line 71) | def streaming_example(client): function batch_operations (line 98) | def batch_operations(client): function main (line 128) | def main(): FILE: third_party/agfs/agfs-sdk/python/examples/basic_usage.py function main (line 6) | def main(): FILE: third_party/agfs/agfs-sdk/python/examples/helpers_usage.py function main (line 8) | def main(): FILE: third_party/agfs/agfs-sdk/python/pyagfs/binding_client.py function _find_library (line 13) | def _find_library() -> str: class BindingLib (line 47) | class BindingLib: method __new__ (line 52) | def __new__(cls): method _load_library (line 58) | def _load_library(self): method _setup_functions (line 63) | def _setup_functions(self): class AGFSBindingClient (line 192) | class AGFSBindingClient: method __init__ (line 202) | def __init__(self, config_path: Optional[str] = None): method __del__ (line 214) | def __del__(self): method _parse_response (line 221) | def _parse_response(self, result: bytes) -> Dict[str, Any]: method health (line 235) | def health(self) -> Dict[str, Any]: method get_capabilities (line 240) | def get_capabilities(self) -> Dict[str, Any]: method ls (line 245) | def ls(self, path: str = "/") -> List[Dict[str, Any]]: method read (line 251) | def read(self, path: str, offset: int = 0, size: int = -1, stream: boo... method cat (line 254) | def cat(self, path: str, offset: int = 0, size: int = -1, stream: bool... method write (line 283) | def write( method create (line 299) | def create(self, path: str) -> Dict[str, Any]: method mkdir (line 304) | def mkdir(self, path: str, mode: str = "755") -> Dict[str, Any]: method rm (line 312) | def rm(self, path: str, recursive: bool = False) -> Dict[str, Any]: method stat (line 317) | def stat(self, path: str) -> Dict[str, Any]: method mv (line 322) | def mv(self, old_path: str, new_path: str) -> Dict[str, Any]: method chmod (line 329) | def chmod(self, path: str, mode: int) -> Dict[str, Any]: method touch (line 336) | def touch(self, path: str) -> Dict[str, Any]: method mounts (line 341) | def mounts(self) -> List[Dict[str, Any]]: method mount (line 347) | def mount(self, fstype: str, path: str, config: Dict[str, Any]) -> Dic... method unmount (line 358) | def unmount(self, path: str) -> Dict[str, Any]: method load_plugin (line 363) | def load_plugin(self, library_path: str) -> Dict[str, Any]: method unload_plugin (line 368) | def unload_plugin(self, library_path: str) -> Dict[str, Any]: method list_plugins (line 373) | def list_plugins(self) -> List[str]: method get_plugins_info (line 379) | def get_plugins_info(self) -> List[dict]: method grep (line 383) | def grep( method digest (line 395) | def digest(self, path: str, algorithm: str = "xxh3") -> Dict[str, Any]: method open_handle (line 399) | def open_handle( method list_handles (line 412) | def list_handles(self) -> List[Dict[str, Any]]: method get_handle_info (line 418) | def get_handle_info(self, handle_id: int) -> Dict[str, Any]: method close_handle (line 423) | def close_handle(self, handle_id: int) -> Dict[str, Any]: method handle_read (line 428) | def handle_read(self, handle_id: int, size: int = -1, offset: Optional... method handle_write (line 449) | def handle_write(self, handle_id: int, data: bytes, offset: Optional[i... method handle_seek (line 464) | def handle_seek(self, handle_id: int, offset: int, whence: int = 0) ->... method handle_sync (line 472) | def handle_sync(self, handle_id: int) -> Dict[str, Any]: method handle_stat (line 477) | def handle_stat(self, handle_id: int) -> Dict[str, Any]: method renew_handle (line 482) | def renew_handle(self, handle_id: int, lease: int = 60) -> Dict[str, A... class FileHandle (line 487) | class FileHandle: method __init__ (line 505) | def __init__(self, client: AGFSBindingClient, handle_id: int, path: st... method handle_id (line 513) | def handle_id(self) -> int: method path (line 518) | def path(self) -> str: method flags (line 523) | def flags(self) -> int: method closed (line 528) | def closed(self) -> bool: method read (line 532) | def read(self, size: int = -1) -> bytes: method read_at (line 538) | def read_at(self, size: int, offset: int) -> bytes: method write (line 544) | def write(self, data: bytes) -> int: method write_at (line 550) | def write_at(self, data: bytes, offset: int) -> int: method seek (line 556) | def seek(self, offset: int, whence: int = 0) -> int: method tell (line 562) | def tell(self) -> int: method sync (line 566) | def sync(self) -> None: method stat (line 572) | def stat(self) -> Dict[str, Any]: method info (line 578) | def info(self) -> Dict[str, Any]: method renew (line 584) | def renew(self, lease: int = 60) -> Dict[str, Any]: method close (line 590) | def close(self) -> None: method __enter__ (line 596) | def __enter__(self) -> "FileHandle": method __exit__ (line 599) | def __exit__(self, exc_type, exc_val, exc_tb) -> None: method __repr__ (line 602) | def __repr__(self) -> str: FILE: third_party/agfs/agfs-sdk/python/pyagfs/client.py class AGFSClient (line 11) | class AGFSClient: method __init__ (line 14) | def __init__(self, api_base_url="http://localhost:8080", timeout=10): method _handle_request_error (line 32) | def _handle_request_error(self, e: Exception, operation: str = "reques... method health (line 87) | def health(self) -> Dict[str, Any]: method get_capabilities (line 93) | def get_capabilities(self) -> Dict[str, Any]: method ls (line 116) | def ls(self, path: str = "/") -> List[Dict[str, Any]]: method read (line 129) | def read(self, path: str, offset: int = 0, size: int = -1, stream: boo... method cat (line 132) | def cat(self, path: str, offset: int = 0, size: int = -1, stream: bool... method write (line 174) | def write( method create (line 270) | def create(self, path: str) -> Dict[str, Any]: method mkdir (line 281) | def mkdir(self, path: str, mode: str = "755") -> Dict[str, Any]: method rm (line 294) | def rm(self, path: str, recursive: bool = False, force: bool = True) -... method stat (line 320) | def stat(self, path: str) -> Dict[str, Any]: method mv (line 331) | def mv(self, old_path: str, new_path: str) -> Dict[str, Any]: method chmod (line 345) | def chmod(self, path: str, mode: int) -> Dict[str, Any]: method touch (line 359) | def touch(self, path: str) -> Dict[str, Any]: method mounts (line 370) | def mounts(self) -> List[Dict[str, Any]]: method mount (line 380) | def mount(self, fstype: str, path: str, config: Dict[str, Any]) -> Dic... method unmount (line 402) | def unmount(self, path: str) -> Dict[str, Any]: method load_plugin (line 413) | def load_plugin(self, library_path: str) -> Dict[str, Any]: method unload_plugin (line 433) | def unload_plugin(self, library_path: str) -> Dict[str, Any]: method list_plugins (line 453) | def list_plugins(self) -> List[str]: method get_plugins_info (line 481) | def get_plugins_info(self) -> List[dict]: method grep (line 500) | def grep( method _parse_ndjson_stream (line 562) | def _parse_ndjson_stream(self, response): method digest (line 574) | def digest(self, path: str, algorithm: str = "xxh3") -> Dict[str, Any]: method open_handle (line 608) | def open_handle( method list_handles (line 640) | def list_handles(self) -> List[Dict[str, Any]]: method get_handle_info (line 654) | def get_handle_info(self, handle_id: int) -> Dict[str, Any]: method close_handle (line 672) | def close_handle(self, handle_id: int) -> Dict[str, Any]: method handle_read (line 690) | def handle_read(self, handle_id: int, size: int = -1, offset: Optional... method handle_write (line 713) | def handle_write(self, handle_id: int, data: bytes, offset: Optional[i... method handle_seek (line 740) | def handle_seek(self, handle_id: int, offset: int, whence: int = 0) ->... method handle_sync (line 763) | def handle_sync(self, handle_id: int) -> Dict[str, Any]: method handle_stat (line 781) | def handle_stat(self, handle_id: int) -> Dict[str, Any]: method renew_handle (line 799) | def renew_handle(self, handle_id: int, lease: int = 60) -> Dict[str, A... class FileHandle (line 821) | class FileHandle: method __init__ (line 847) | def __init__(self, client: AGFSClient, handle_id: int, path: str, flag... method handle_id (line 855) | def handle_id(self) -> int: method path (line 860) | def path(self) -> str: method flags (line 865) | def flags(self) -> int: method closed (line 870) | def closed(self) -> bool: method read (line 874) | def read(self, size: int = -1) -> bytes: method read_at (line 887) | def read_at(self, size: int, offset: int) -> bytes: method write (line 901) | def write(self, data: bytes) -> int: method write_at (line 914) | def write_at(self, data: bytes, offset: int) -> int: method seek (line 928) | def seek(self, offset: int, whence: int = 0) -> int: method tell (line 942) | def tell(self) -> int: method sync (line 950) | def sync(self) -> None: method stat (line 956) | def stat(self) -> Dict[str, Any]: method info (line 966) | def info(self) -> Dict[str, Any]: method renew (line 976) | def renew(self, lease: int = 60) -> Dict[str, Any]: method close (line 989) | def close(self) -> None: method __enter__ (line 995) | def __enter__(self) -> "FileHandle": method __exit__ (line 998) | def __exit__(self, exc_type, exc_val, exc_tb) -> None: method __repr__ (line 1001) | def __repr__(self) -> str: FILE: third_party/agfs/agfs-sdk/python/pyagfs/exceptions.py class AGFSClientError (line 4) | class AGFSClientError(Exception): class AGFSConnectionError (line 9) | class AGFSConnectionError(AGFSClientError): class AGFSTimeoutError (line 14) | class AGFSTimeoutError(AGFSClientError): class AGFSHTTPError (line 19) | class AGFSHTTPError(AGFSClientError): method __init__ (line 22) | def __init__(self, message, status_code=None): class AGFSNotSupportedError (line 27) | class AGFSNotSupportedError(AGFSClientError): FILE: third_party/agfs/agfs-sdk/python/pyagfs/helpers.py function cp (line 17) | def cp(client: "AGFSClient", src: str, dst: str, recursive: bool = False... function upload (line 47) | def upload(client: "AGFSClient", local_path: str, remote_path: str, recu... function download (line 79) | def download(client: "AGFSClient", remote_path: str, local_path: str, re... function _copy_file (line 111) | def _copy_file(client: "AGFSClient", src: str, dst: str, stream: bool) -... function _copy_directory (line 132) | def _copy_directory(client: "AGFSClient", src: str, dst: str, stream: bo... function _upload_file (line 157) | def _upload_file(client: "AGFSClient", local_file: Path, remote_path: st... function _upload_directory (line 181) | def _upload_directory(client: "AGFSClient", local_dir: Path, remote_path... function _download_file (line 202) | def _download_file(client: "AGFSClient", remote_path: str, local_file: P... function _download_directory (line 220) | def _download_directory(client: "AGFSClient", remote_path: str, local_di... function _ensure_remote_parent_dir (line 241) | def _ensure_remote_parent_dir(client: "AGFSClient", path: str) -> None: function _ensure_remote_dir_recursive (line 249) | def _ensure_remote_dir_recursive(client: "AGFSClient", path: str) -> None: FILE: third_party/agfs/agfs-shell/agfs_shell/arg_parser.py class ParsedArgs (line 12) | class ParsedArgs: method has_flag (line 27) | def has_flag(self, *flags: str) -> bool: method get_option (line 34) | def get_option(self, *names: str, default: Optional[str] = None) -> Op... method get_int_option (line 41) | def get_int_option(self, *names: str, default: int = 0) -> int: class StandardArgParser (line 52) | class StandardArgParser: method __init__ (line 63) | def __init__(self, known_flags: Optional[Set[str]] = None, method parse (line 75) | def parse(self, args: List[str]) -> ParsedArgs: function parse_standard_flags (line 155) | def parse_standard_flags(args: List[str], valid_flags: str = '') -> Tupl... function has_any_flag (line 188) | def has_any_flag(args: List[str], *flag_chars: str) -> bool: function extract_option_value (line 213) | def extract_option_value(args: List[str], *option_names: str, default: O... class CommandArgumentValidator (line 268) | class CommandArgumentValidator: method require_args (line 272) | def require_args(args: List[str], min_count: int = 1, error_msg: str =... method require_exact_args (line 293) | def require_exact_args(args: List[str], count: int, error_msg: str = N... method validate_int (line 301) | def validate_int(value: str, arg_name: str = "value") -> int: method validate_positive_int (line 309) | def validate_positive_int(value: str, arg_name: str = "value") -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/ast_nodes.py class Statement (line 13) | class Statement: class CommandStatement (line 19) | class CommandStatement(Statement): class ForStatement (line 32) | class ForStatement(Statement): class WhileStatement (line 46) | class WhileStatement(Statement): class UntilStatement (line 59) | class UntilStatement(Statement): class IfBranch (line 70) | class IfBranch: class IfStatement (line 77) | class IfStatement(Statement): class FunctionDefinition (line 90) | class FunctionDefinition(Statement): FILE: third_party/agfs/agfs-shell/agfs_shell/builtins.py function _mode_to_rwx (line 12) | def _mode_to_rwx(mode: int) -> str: function cmd_echo (line 34) | def cmd_echo(process: Process) -> int: function cmd_cat (line 45) | def cmd_cat(process: Process) -> int: function cmd_grep (line 110) | def cmd_grep(process: Process) -> int: function _grep_search (line 232) | def _grep_search(process, regex, filename, invert_match, show_line_numbers, function cmd_wc (line 303) | def cmd_wc(process: Process) -> int: function cmd_head (line 349) | def cmd_head(process: Process) -> int: function cmd_tail (line 380) | def cmd_tail(process: Process) -> int: function cmd_tee (line 553) | def cmd_tee(process: Process) -> int: function cmd_sort (line 614) | def cmd_sort(process: Process) -> int: function cmd_uniq (line 633) | def cmd_uniq(process: Process) -> int: function cmd_tr (line 655) | def cmd_tr(process: Process) -> int: function _human_readable_size (line 683) | def _human_readable_size(size: int) -> str: function cmd_ls (line 705) | def cmd_ls(process: Process) -> int: function cmd_pwd (line 846) | def cmd_pwd(process: Process) -> int: function cmd_cd (line 859) | def cmd_cd(process: Process) -> int: function cmd_mkdir (line 887) | def cmd_mkdir(process: Process) -> int: function cmd_touch (line 914) | def cmd_touch(process: Process) -> int: function cmd_rm (line 940) | def cmd_rm(process: Process) -> int: function cmd_export (line 982) | def cmd_export(process: Process) -> int: function cmd_env (line 1017) | def cmd_env(process: Process) -> int: function cmd_unset (line 1030) | def cmd_unset(process: Process) -> int: function cmd_test (line 1051) | def cmd_test(process: Process) -> int: function _evaluate_test_expression (line 1103) | def _evaluate_test_expression(args: List[str], process: Process) -> bool: function cmd_jq (line 1205) | def cmd_jq(process: Process) -> int: function cmd_stat (line 1301) | def cmd_stat(process: Process) -> int: function cmd_upload (line 1366) | def cmd_upload(process: Process) -> int: function _upload_file (line 1429) | def _upload_file(process: Process, local_path: str, agfs_path: str, show... function _upload_dir (line 1446) | def _upload_dir(process: Process, local_path: str, agfs_path: str) -> int: function cmd_download (line 1505) | def cmd_download(process: Process) -> int: function _download_file (line 1566) | def _download_file(process: Process, agfs_path: str, local_path: str, sh... function _download_dir (line 1588) | def _download_dir(process: Process, agfs_path: str, local_path: str) -> ... function cmd_cp (line 1624) | def cmd_cp(process: Process) -> int: function _cp_upload (line 1698) | def _cp_upload(process: Process, local_path: str, agfs_path: str, recurs... function _cp_download (line 1746) | def _cp_download(process: Process, agfs_path: str, local_path: str, recu... function _cp_agfs (line 1795) | def _cp_agfs(process: Process, source_path: str, dest_path: str, recursi... function _cp_agfs_dir (line 1842) | def _cp_agfs_dir(process: Process, source_path: str, dest_path: str) -> ... function cmd_sleep (line 1893) | def cmd_sleep(process: Process) -> int: function cmd_plugins (line 1928) | def cmd_plugins(process: Process) -> int: function cmd_rev (line 2146) | def cmd_rev(process: Process) -> int: function cmd_cut (line 2175) | def cmd_cut(process: Process) -> int: function _parse_cut_list (line 2258) | def _parse_cut_list(list_str: str) -> List: function _cut_fields (line 2311) | def _cut_fields(process: Process, field_ranges: List, delimiter: str) ->... function _cut_chars (line 2352) | def _cut_chars(process: Process, char_ranges: List) -> int: function cmd_tree (line 2399) | def cmd_tree(process: Process) -> int: function _print_tree (line 2512) | def _print_tree(process, path, prefix, is_last, max_depth, current_depth... function cmd_mv (line 2615) | def cmd_mv(process: Process) -> int: function _mv_single (line 2751) | def _mv_single(process, source_path, dest_path, source_is_local, dest_is... function cmd_basename (line 2912) | def cmd_basename(process: Process) -> int: function cmd_dirname (line 2941) | def cmd_dirname(process: Process) -> int: function cmd_help (line 2970) | def cmd_help(process: Process) -> int: function cmd_mount (line 3095) | def cmd_mount(process: Process) -> int: function cmd_date (line 3192) | def cmd_date(process: Process) -> int: function cmd_exit (line 3260) | def cmd_exit(process: Process) -> int: function cmd_break (line 3290) | def cmd_break(process: Process) -> int: function cmd_continue (line 3313) | def cmd_continue(process: Process) -> int: function cmd_llm (line 3337) | def cmd_llm(process: Process) -> int: function cmd_true (line 3555) | def cmd_true(process: Process) -> int: function cmd_false (line 3567) | def cmd_false(process: Process) -> int: function cmd_local (line 3579) | def cmd_local(process: Process) -> int: function cmd_return (line 3630) | def cmd_return(process: Process) -> int: function get_builtin (line 3713) | def get_builtin(command: str): FILE: third_party/agfs/agfs-shell/agfs_shell/cli.py function execute_script_file (line 19) | def execute_script_file(shell, script_path, script_args=None): function main (line 189) | def main(): FILE: third_party/agfs/agfs-shell/agfs_shell/command_decorators.py class CommandMetadata (line 7) | class CommandMetadata: method register (line 13) | def register(cls, func: Callable, **metadata) -> Callable: method get_metadata (line 30) | def get_metadata(cls, command_name: str) -> dict: method needs_path_resolution (line 43) | def needs_path_resolution(cls, command_name: str) -> bool: method supports_streaming (line 48) | def supports_streaming(cls, command_name: str) -> bool: method no_pipeline (line 53) | def no_pipeline(cls, command_name: str) -> bool: method changes_cwd (line 58) | def changes_cwd(cls, command_name: str) -> bool: method get_path_arg_indices (line 63) | def get_path_arg_indices(cls, command_name: str) -> Optional[Set[int]]: method all_commands (line 73) | def all_commands(cls) -> list: method get_commands_with_feature (line 78) | def get_commands_with_feature(cls, feature: str) -> list: function command (line 94) | def command( FILE: third_party/agfs/agfs-shell/agfs_shell/commands/__init__.py function register_command (line 15) | def register_command(*names: str): function get_builtin (line 38) | def get_builtin(command: str) -> Optional[Callable[[Process], int]]: function load_all_commands (line 51) | def load_all_commands(): FILE: third_party/agfs/agfs-shell/agfs_shell/commands/base.py function write_error (line 12) | def write_error(process: Process, message: str, prefix_command: bool = T... function validate_arg_count (line 27) | def validate_arg_count(process: Process, min_args: int = 0, max_args: Op... function parse_flags_and_args (line 58) | def parse_flags_and_args(args: List[str], known_flags: Optional[set] = N... function has_flag (line 102) | def has_flag(flags: dict, *flag_names: str) -> bool: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/basename.py function cmd_basename (line 13) | def cmd_basename(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/break_cmd.py function cmd_break (line 15) | def cmd_break(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/cat.py function cmd_cat (line 13) | def cmd_cat(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/cd.py function cmd_cd (line 12) | def cmd_cd(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/continue_cmd.py function cmd_continue (line 15) | def cmd_continue(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/cp.py function _upload_dir (line 11) | def _upload_dir(process: Process, local_path: str, agfs_path: str) -> int: function _download_dir (line 71) | def _download_dir(process: Process, agfs_path: str, local_path: str) -> ... function _cp_upload (line 108) | def _cp_upload(process: Process, local_path: str, agfs_path: str, recurs... function _cp_download (line 156) | def _cp_download(process: Process, agfs_path: str, local_path: str, recu... function _cp_agfs (line 205) | def _cp_agfs(process: Process, source_path: str, dest_path: str, recursi... function _cp_agfs_dir (line 252) | def _cp_agfs_dir(process: Process, source_path: str, dest_path: str) -> ... function cmd_cp (line 305) | def cmd_cp(process: Process) -> int: function _cp_upload (line 379) | def _cp_upload(process: Process, local_path: str, agfs_path: str, recurs... function _cp_download (line 427) | def _cp_download(process: Process, agfs_path: str, local_path: str, recu... function _cp_agfs (line 476) | def _cp_agfs(process: Process, source_path: str, dest_path: str, recursi... function _cp_agfs_dir (line 523) | def _cp_agfs_dir(process: Process, source_path: str, dest_path: str) -> ... FILE: third_party/agfs/agfs-shell/agfs_shell/commands/cut.py function _parse_cut_list (line 11) | def _parse_cut_list(list_str: str) -> List: function _cut_fields (line 64) | def _cut_fields(process: Process, field_ranges: List, delimiter: str) ->... function _cut_chars (line 105) | def _cut_chars(process: Process, char_ranges: List) -> int: function cmd_cut (line 153) | def cmd_cut(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/date.py function cmd_date (line 13) | def cmd_date(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/dirname.py function cmd_dirname (line 13) | def cmd_dirname(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/download.py function cmd_download (line 12) | def cmd_download(process: Process) -> int: function _download_file (line 73) | def _download_file(process: Process, agfs_path: str, local_path: str, sh... function _download_dir (line 95) | def _download_dir(process: Process, agfs_path: str, local_path: str) -> ... FILE: third_party/agfs/agfs-shell/agfs_shell/commands/echo.py function cmd_echo (line 12) | def cmd_echo(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/env.py function cmd_env (line 12) | def cmd_env(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/exit.py function cmd_exit (line 13) | def cmd_exit(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/export.py function cmd_export (line 12) | def cmd_export(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/false.py function cmd_false (line 12) | def cmd_false(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/grep.py function _grep_search (line 12) | def _grep_search(process, regex, filename, invert_match, show_line_numbers, function cmd_grep (line 84) | def cmd_grep(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/head.py function cmd_head (line 12) | def cmd_head(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/help.py function cmd_help (line 12) | def cmd_help(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/jq.py function cmd_jq (line 12) | def cmd_jq(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/llm.py function cmd_llm (line 12) | def cmd_llm(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/local.py function cmd_local (line 12) | def cmd_local(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/ls.py function cmd_ls (line 14) | def cmd_ls(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/mkdir.py function cmd_mkdir (line 12) | def cmd_mkdir(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/mount.py function cmd_mount (line 12) | def cmd_mount(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/mv.py function cmd_mv (line 12) | def cmd_mv(process: Process) -> int: function _mv_single (line 148) | def _mv_single(process, source_path, dest_path, source_is_local, dest_is... FILE: third_party/agfs/agfs-shell/agfs_shell/commands/plugins.py function cmd_plugins (line 13) | def cmd_plugins(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/pwd.py function cmd_pwd (line 12) | def cmd_pwd(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/return_cmd.py function cmd_return (line 16) | def cmd_return(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/rev.py function cmd_rev (line 12) | def cmd_rev(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/rm.py function cmd_rm (line 12) | def cmd_rm(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/sleep.py function cmd_sleep (line 13) | def cmd_sleep(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/sort.py function cmd_sort (line 12) | def cmd_sort(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/stat.py function cmd_stat (line 13) | def cmd_stat(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/tail.py function cmd_tail (line 13) | def cmd_tail(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/tee.py function cmd_tee (line 12) | def cmd_tee(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/test.py function _evaluate_test_expression (line 11) | def _evaluate_test_expression(args: List[str], process: Process) -> bool: function cmd_test (line 114) | def cmd_test(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/touch.py function cmd_touch (line 12) | def cmd_touch(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/tr.py function cmd_tr (line 12) | def cmd_tr(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/tree.py function _print_tree (line 10) | def _print_tree(process, path, prefix, is_last, max_depth, current_depth... function cmd_tree (line 115) | def cmd_tree(process: Process) -> int: function _print_tree (line 228) | def _print_tree(process, path, prefix, is_last, max_depth, current_depth... FILE: third_party/agfs/agfs-shell/agfs_shell/commands/true.py function cmd_true (line 12) | def cmd_true(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/uniq.py function cmd_uniq (line 12) | def cmd_uniq(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/unset.py function cmd_unset (line 12) | def cmd_unset(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/upload.py function cmd_upload (line 14) | def cmd_upload(process: Process) -> int: function _upload_file (line 77) | def _upload_file(process: Process, local_path: str, agfs_path: str, show... function _upload_dir (line 94) | def _upload_dir(process: Process, local_path: str, agfs_path: str) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/commands/wc.py function cmd_wc (line 12) | def cmd_wc(process: Process) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/completer.py class ShellCompleter (line 10) | class ShellCompleter: method __init__ (line 13) | def __init__(self, filesystem: AGFSFileSystem): method complete (line 19) | def complete(self, text: str, state: int) -> Optional[str]: method _complete_command (line 50) | def _complete_command(self, text: str) -> List[str]: method _needs_quoting (line 58) | def _needs_quoting(self, path: str) -> bool: method _quote_if_needed (line 64) | def _quote_if_needed(self, path: str) -> str: method _complete_path (line 71) | def _complete_path(self, text: str) -> List[str]: FILE: third_party/agfs/agfs-shell/agfs_shell/config.py class Config (line 6) | class Config: method __init__ (line 9) | def __init__(self): method from_env (line 24) | def from_env(cls): method from_args (line 29) | def from_args(cls, server_url: str = None, timeout: int = None): method __repr__ (line 38) | def __repr__(self): FILE: third_party/agfs/agfs-shell/agfs_shell/control_flow.py class ControlFlowException (line 12) | class ControlFlowException(Exception): class BreakException (line 17) | class BreakException(ControlFlowException): method __init__ (line 30) | def __init__(self, levels: int = 1): method __repr__ (line 34) | def __repr__(self): class ContinueException (line 38) | class ContinueException(ControlFlowException): method __init__ (line 51) | def __init__(self, levels: int = 1): method __repr__ (line 55) | def __repr__(self): class ReturnException (line 59) | class ReturnException(ControlFlowException): method __init__ (line 71) | def __init__(self, exit_code: int = 0): method __repr__ (line 75) | def __repr__(self): FILE: third_party/agfs/agfs-shell/agfs_shell/control_parser.py class ParseError (line 22) | class ParseError(Exception): method __init__ (line 24) | def __init__(self, message: str, line_number: Optional[int] = None): class ControlParser (line 29) | class ControlParser: method __init__ (line 36) | def __init__(self, shell=None): method _strip_comment (line 45) | def _strip_comment(self, line: str) -> str: method parse_for_loop (line 53) | def parse_for_loop(self, lines: List[str]) -> Optional[ForStatement]: method parse_while_loop (line 127) | def parse_while_loop(self, lines: List[str]) -> Optional[WhileStatement]: method parse_until_loop (line 184) | def parse_until_loop(self, lines: List[str]) -> Optional[UntilStatement]: method parse_if_statement (line 241) | def parse_if_statement(self, lines: List[str]) -> Optional[IfStatement]: method parse_function_definition (line 370) | def parse_function_definition(self, lines: List[str]) -> Optional[Func... method _parse_block (line 429) | def _parse_block(self, commands: List[str]) -> List[Statement]: method _collect_block (line 486) | def _collect_block(self, commands: List[str], start: int, method _collect_block_if (line 512) | def _collect_block_if(self, commands: List[str], start: int) -> Tuple[... FILE: third_party/agfs/agfs-shell/agfs_shell/executor.py class ShellExecutor (line 22) | class ShellExecutor: method __init__ (line 29) | def __init__(self, shell: 'Shell'): method execute_statement (line 44) | def execute_statement(self, stmt: Statement) -> int: method execute_block (line 70) | def execute_block(self, statements: List[Statement]) -> int: method execute_command (line 93) | def execute_command(self, stmt: CommandStatement) -> int: method execute_for (line 101) | def execute_for(self, stmt: ForStatement) -> int: method execute_while (line 155) | def execute_while(self, stmt: WhileStatement) -> int: method execute_until (line 198) | def execute_until(self, stmt: UntilStatement) -> int: method execute_if (line 237) | def execute_if(self, stmt: IfStatement) -> int: method execute_function_def (line 258) | def execute_function_def(self, stmt: FunctionDefinition) -> int: method execute_function_call (line 275) | def execute_function_call(self, func_name: str, args: List[str]) -> int: FILE: third_party/agfs/agfs-shell/agfs_shell/expression.py class EscapeHandler (line 32) | class EscapeHandler: method process_escapes (line 73) | def process_escapes(cls, text: str) -> str: method expand_dollar_single_quotes (line 128) | def expand_dollar_single_quotes(cls, text: str) -> str: method process_double_quote_escapes (line 182) | def process_double_quote_escapes(cls, text: str) -> str: method expand_double_quote_escapes (line 227) | def expand_double_quote_escapes(cls, text: str) -> str: method restore_escaped_chars (line 326) | def restore_escaped_chars(cls, text: str) -> str: class BracketMatcher (line 338) | class BracketMatcher: method find_matching_close (line 355) | def find_matching_close(cls, text: str, open_pos: int) -> int: method extract_balanced (line 394) | def extract_balanced(cls, text: str, start: int, class ParameterExpansion (line 441) | class ParameterExpansion: class ParameterExpander (line 457) | class ParameterExpander: method __init__ (line 482) | def __init__(self, get_variable: Callable[[str], str], method parse (line 494) | def parse(self, content: str) -> Optional[ParameterExpansion]: method expand (line 534) | def expand(self, expansion: ParameterExpansion) -> str: method _glob_to_regex (line 596) | def _glob_to_regex(self, pattern: str) -> str: method _remove_prefix (line 613) | def _remove_prefix(self, value: str, pattern: str) -> str: method _remove_prefix_greedy (line 625) | def _remove_prefix_greedy(self, value: str, pattern: str) -> str: method _remove_suffix (line 633) | def _remove_suffix(self, value: str, pattern: str) -> str: method _remove_suffix_greedy (line 645) | def _remove_suffix_greedy(self, value: str, pattern: str) -> str: class ArithmeticEvaluator (line 658) | class ArithmeticEvaluator: method __init__ (line 685) | def __init__(self, get_variable: Callable[[str], str]): method evaluate (line 694) | def evaluate(self, expr: str) -> int: method _expand_variables (line 717) | def _expand_variables(self, expr: str) -> str: method _get_numeric_value (line 750) | def _get_numeric_value(self, var_name: str) -> str: method _eval_node (line 759) | def _eval_node(self, node) -> float: class ExpressionExpander (line 790) | class ExpressionExpander: method __init__ (line 805) | def __init__(self, shell: 'Shell'): method expand (line 821) | def expand(self, text: str) -> str: method expand_variables_only (line 852) | def expand_variables_only(self, text: str) -> str: method _expand_command_substitution (line 862) | def _expand_command_substitution(self, text: str) -> str: method _find_innermost_command_subst (line 890) | def _find_innermost_command_subst(self, text: str) -> Optional[Tuple[i... method _execute_command_substitution (line 921) | def _execute_command_substitution(self, command: str) -> str: method _expand_arithmetic (line 926) | def _expand_arithmetic(self, text: str) -> str: method _find_innermost_arithmetic (line 943) | def _find_innermost_arithmetic(self, text: str) -> Optional[Tuple[int,... method _expand_parameters (line 1005) | def _expand_parameters(self, text: str) -> str: method _expand_braced_parameters (line 1037) | def _expand_braced_parameters(self, text: str) -> str: FILE: third_party/agfs/agfs-shell/agfs_shell/filesystem.py class AGFSFileSystem (line 8) | class AGFSFileSystem: method __init__ (line 11) | def __init__(self, server_url: str = "http://localhost:8080", timeout:... method check_connection (line 25) | def check_connection(self) -> bool: method read_file (line 38) | def read_file( method write_file (line 84) | def write_file( method file_exists (line 136) | def file_exists(self, path: str) -> bool: method is_directory (line 152) | def is_directory(self, path: str) -> bool: method list_directory (line 169) | def list_directory(self, path: str): method get_file_info (line 188) | def get_file_info(self, path: str): method touch_file (line 207) | def touch_file(self, path: str) -> None: method get_error_message (line 223) | def get_error_message(self, error: Exception) -> str: FILE: third_party/agfs/agfs-shell/agfs_shell/lexer.py class TokenType (line 17) | class TokenType(Enum): class Token (line 26) | class Token: method __init__ (line 29) | def __init__(self, type: TokenType, value: str, position: int = 0): method __repr__ (line 34) | def __repr__(self): method __eq__ (line 37) | def __eq__(self, other): class ShellLexer (line 43) | class ShellLexer: method __init__ (line 50) | def __init__(self, text: str): method peek (line 61) | def peek(self, offset: int = 0) -> Optional[str]: method advance (line 68) | def advance(self) -> Optional[str]: method skip_whitespace (line 76) | def skip_whitespace(self): method read_quoted_string (line 81) | def read_quoted_string(self, quote_char: str) -> str: method read_word (line 118) | def read_word(self) -> str: method tokenize (line 156) | def tokenize(self) -> List[Token]: class QuoteTracker (line 221) | class QuoteTracker: method __init__ (line 228) | def __init__(self): method process_char (line 233) | def process_char(self, char: str): method is_quoted (line 253) | def is_quoted(self) -> bool: method reset (line 257) | def reset(self): function strip_comments (line 264) | def strip_comments(line: str, comment_chars: str = '#') -> str: function split_respecting_quotes (line 294) | def split_respecting_quotes(text: str, delimiter: str) -> List[str]: FILE: third_party/agfs/agfs-shell/agfs_shell/parser.py class Redirection (line 8) | class Redirection: method __init__ (line 10) | def __init__(self, operator: str, target: str, fd: int = None): class CommandParser (line 16) | class CommandParser: method _split_respecting_quotes (line 20) | def _split_respecting_quotes(text: str, delimiter: str) -> List[str]: method _find_redirections_respecting_quotes (line 88) | def _find_redirections_respecting_quotes(command_line: str) -> Tuple[s... method _extract_filename (line 212) | def _extract_filename(command_line: str, start_pos: int) -> Optional[T... method parse_command_line (line 257) | def parse_command_line(command_line: str) -> Tuple[List[Tuple[str, Lis... method parse_pipeline (line 282) | def parse_pipeline(command_line: str) -> List[Tuple[str, List[str]]]: method parse_redirection (line 324) | def parse_redirection(command_line: str) -> Tuple[str, Dict[str, str]]: method quote_arg (line 344) | def quote_arg(arg: str) -> str: method unquote_arg (line 351) | def unquote_arg(arg: str) -> str: FILE: third_party/agfs/agfs-shell/agfs_shell/pipeline.py class StreamingPipeline (line 12) | class StreamingPipeline: method __init__ (line 20) | def __init__(self, processes: List[Process]): method execute (line 32) | def execute(self) -> int: method _execute_process (line 80) | def _execute_process(self, index: int, process: Process): class StreamingInputStream (line 110) | class StreamingInputStream(InputStream): method __init__ (line 113) | def __init__(self, pipe: queue.Queue): method read (line 119) | def read(self, size: int = -1) -> bytes: method readline (line 153) | def readline(self) -> bytes: method readlines (line 165) | def readlines(self) -> list: class StreamingOutputStream (line 176) | class StreamingOutputStream(OutputStream): method __init__ (line 179) | def __init__(self, pipe: queue.Queue, chunk_size: int = 8192): method write (line 185) | def write(self, data: Union[bytes, str]) -> int: method flush (line 200) | def flush(self): method close (line 208) | def close(self): class Pipeline (line 214) | class Pipeline: method __init__ (line 222) | def __init__(self, processes: List[Process]): method execute (line 233) | def execute(self) -> int: method get_stdout (line 273) | def get_stdout(self) -> bytes: method get_stderr (line 279) | def get_stderr(self) -> bytes: method get_exit_code (line 286) | def get_exit_code(self) -> int: method __repr__ (line 290) | def __repr__(self): FILE: third_party/agfs/agfs-shell/agfs_shell/process.py class Process (line 12) | class Process: method __init__ (line 15) | def __init__( method execute (line 49) | def execute(self) -> int: method get_stdout (line 80) | def get_stdout(self) -> bytes: method get_stderr (line 84) | def get_stderr(self) -> bytes: method __repr__ (line 88) | def __repr__(self): FILE: third_party/agfs/agfs-shell/agfs_shell/shell.py class Shell (line 32) | class Shell: method __init__ (line 35) | def __init__(self, server_url: str = "http://localhost:8080", timeout:... method _execute_command_substitution (line 67) | def _execute_command_substitution(self, command: str) -> str: method _strip_comment (line 211) | def _strip_comment(self, line: str) -> str: method _get_variable (line 235) | def _get_variable(self, var_name: str) -> str: method _set_variable (line 259) | def _set_variable(self, var_name: str, value: str, local: bool = False): method _expand_basic_variables (line 281) | def _expand_basic_variables(self, text: str) -> str: method _expand_variables_without_command_sub (line 332) | def _expand_variables_without_command_sub(self, text: str) -> str: method _safe_eval_arithmetic (line 341) | def _safe_eval_arithmetic(self, expr: str) -> int: method _expand_variables (line 416) | def _expand_variables(self, text: str) -> str: method _expand_variables_legacy (line 433) | def _expand_variables_legacy(self, text: str) -> str: method _expand_globs (line 649) | def _expand_globs(self, commands): method _match_glob_pattern (line 689) | def _match_glob_pattern(self, pattern: str): method _needs_more_input (line 735) | def _needs_more_input(self, line: str) -> bool: method resolve_path (line 789) | def resolve_path(self, path: str) -> str: method execute_for_loop (line 812) | def execute_for_loop(self, lines: List[str]) -> int: method execute_while_loop (line 838) | def execute_while_loop(self, lines: List[str]) -> int: method _parse_for_loop (line 864) | def _parse_for_loop(self, lines: List[str]) -> dict: method _parse_while_loop (line 990) | def _parse_while_loop(self, lines: List[str]) -> dict: method execute_if_statement (line 1080) | def execute_if_statement(self, lines: List[str]) -> int: method _parse_if_statement (line 1101) | def _parse_if_statement(self, lines: List[str]) -> dict: method _parse_function_definition (line 1201) | def _parse_function_definition(self, lines: List[str]) -> Optional[dict]: method execute_function (line 1294) | def execute_function(self, func_name: str, args: List[str]) -> int: method execute (line 1313) | def execute(self, command_line: str, stdin_data: Optional[bytes] = Non... method repl (line 1741) | def repl(self): method show_help (line 2118) | def show_help(self): FILE: third_party/agfs/agfs-shell/agfs_shell/streams.py class Stream (line 11) | class Stream: method __init__ (line 14) | def __init__(self, fd: Optional[Union[int, BinaryIO, TextIO]] = None, ... method get_file (line 40) | def get_file(self) -> BinaryIO: method read (line 46) | def read(self, size: int = -1) -> bytes: method readline (line 51) | def readline(self) -> bytes: method readlines (line 56) | def readlines(self) -> list: method write (line 61) | def write(self, data: Union[bytes, str]) -> int: method flush (line 67) | def flush(self): method close (line 71) | def close(self): method fileno (line 79) | def fileno(self) -> Optional[int]: method get_value (line 90) | def get_value(self) -> bytes: class InputStream (line 110) | class InputStream(Stream): method __init__ (line 119) | def __init__(self, fd: Optional[Union[int, BinaryIO, TextIO]] = None): method from_stdin (line 123) | def from_stdin(cls): method from_bytes (line 128) | def from_bytes(cls, data: bytes): method from_string (line 135) | def from_string(cls, data: str): class OutputStream (line 140) | class OutputStream(Stream): method __init__ (line 143) | def __init__(self, fd: Optional[Union[int, BinaryIO, TextIO]] = None): method write (line 147) | def write(self, data: Union[bytes, str]) -> int: method ends_with_newline (line 158) | def ends_with_newline(self) -> bool: method from_stdout (line 163) | def from_stdout(cls): method to_buffer (line 168) | def to_buffer(cls): class ErrorStream (line 173) | class ErrorStream(Stream): method __init__ (line 176) | def __init__(self, fd: Optional[Union[int, BinaryIO, TextIO]] = None): method from_stderr (line 180) | def from_stderr(cls): method to_buffer (line 185) | def to_buffer(cls): class AGFSOutputStream (line 190) | class AGFSOutputStream(OutputStream): method __init__ (line 193) | def __init__(self, filesystem: 'AGFSFileSystem', path: str, append: bo... method write (line 214) | def write(self, data: Union[bytes, str]) -> int: method ends_with_newline (line 232) | def ends_with_newline(self) -> bool: method flush (line 236) | def flush(self): method close (line 256) | def close(self): FILE: third_party/agfs/agfs-shell/agfs_shell/utils/formatters.py function mode_to_rwx (line 8) | def mode_to_rwx(mode: int) -> str: function human_readable_size (line 43) | def human_readable_size(size: int) -> str: FILE: third_party/agfs/agfs-shell/agfs_shell/webapp_server.py class ShellSession (line 19) | class ShellSession: method __init__ (line 22) | def __init__(self, shell, ws): method send (line 31) | async def send(self, data: str): method get_completions (line 36) | def get_completions(self, text: str, line: str, cursor_pos: int) -> list: method handle_command (line 58) | async def handle_command(self, command: str): class WebAppServer (line 125) | class WebAppServer: method __init__ (line 128) | def __init__(self, shell, host='localhost', port=3000): method handle_explorer (line 142) | async def handle_explorer(self, request): method handle_list_files (line 181) | async def handle_list_files(self, request): method handle_read_file (line 210) | async def handle_read_file(self, request): method handle_write_file (line 272) | async def handle_write_file(self, request): method handle_download_file (line 306) | async def handle_download_file(self, request): method handle_copy_file (line 344) | async def handle_copy_file(self, request): method handle_delete_file (line 371) | async def handle_delete_file(self, request): method handle_upload_file (line 394) | async def handle_upload_file(self, request): method handle_websocket (line 434) | async def handle_websocket(self, request): method handle_static (line 551) | async def handle_static(self, request): method init_app (line 571) | async def init_app(self): method start (line 606) | async def start(self): method stop (line 618) | async def stop(self): function run_server (line 629) | def run_server(shell, host='localhost', port=3000): FILE: third_party/agfs/agfs-shell/build.py function get_git_hash (line 14) | def get_git_hash(): function inject_version_info (line 27) | def inject_version_info(script_dir): function restore_version_file (line 69) | def restore_version_file(script_dir): function main (line 98) | def main(): function get_version_string (line 307) | def get_version_string(): FILE: third_party/agfs/agfs-shell/tests/test_builtins.py class TestBuiltins (line 9) | class TestBuiltins(unittest.TestCase): method create_process (line 10) | def create_process(self, command, args, input_data=""): method test_echo (line 16) | def test_echo(self): method test_cat_stdin (line 29) | def test_cat_stdin(self): method test_cat_file (line 36) | def test_cat_file(self): method test_grep (line 47) | def test_grep(self): method test_wc (line 66) | def test_wc(self): method test_head (line 81) | def test_head(self): method test_tail (line 99) | def test_tail(self): method test_sort (line 111) | def test_sort(self): method test_uniq (line 125) | def test_uniq(self): method test_tr (line 133) | def test_tr(self): method test_ls_multiple_files (line 147) | def test_ls_multiple_files(self): method test_ls_mixed_files_and_dirs (line 192) | def test_ls_mixed_files_and_dirs(self): method test_rm_with_glob_pattern (line 249) | def test_rm_with_glob_pattern(self): method test_cp_with_glob_pattern (line 284) | def test_cp_with_glob_pattern(self): method test_cp_with_local_prefix (line 333) | def test_cp_with_local_prefix(self): method test_date (line 379) | def test_date(self): FILE: third_party/agfs/agfs-shell/tests/test_parser.py class TestCommandParser (line 4) | class TestCommandParser(unittest.TestCase): method test_parse_pipeline_simple (line 5) | def test_parse_pipeline_simple(self): method test_parse_pipeline_multiple (line 10) | def test_parse_pipeline_multiple(self): method test_parse_pipeline_quoted (line 19) | def test_parse_pipeline_quoted(self): method test_parse_pipeline_empty (line 27) | def test_parse_pipeline_empty(self): method test_parse_redirection_stdin (line 31) | def test_parse_redirection_stdin(self): method test_parse_redirection_stdout (line 37) | def test_parse_redirection_stdout(self): method test_parse_redirection_append (line 44) | def test_parse_redirection_append(self): method test_parse_redirection_stderr (line 51) | def test_parse_redirection_stderr(self): method test_quote_arg (line 58) | def test_quote_arg(self): method test_unquote_arg (line 63) | def test_unquote_arg(self): method test_parse_filenames_with_spaces (line 68) | def test_parse_filenames_with_spaces(self): FILE: third_party/agfs/agfs-shell/tests/test_pipeline.py class TestPipeline (line 6) | class TestPipeline(unittest.TestCase): method create_mock_process (line 7) | def create_mock_process(self, name, output=None, exit_code=0): method create_echo_process (line 17) | def create_echo_process(self, text): method create_cat_process (line 23) | def create_cat_process(self): method test_single_process (line 30) | def test_single_process(self): method test_pipeline_flow (line 38) | def test_pipeline_flow(self): method test_pipeline_chain (line 48) | def test_pipeline_chain(self): method test_exit_code (line 59) | def test_exit_code(self): method test_empty_pipeline (line 69) | def test_empty_pipeline(self): FILE: third_party/agfs/agfs-shell/webapp/src/App.jsx function App (line 8) | function App() { FILE: third_party/croaring/roaring.c function namespace (line 95) | namespace roaring { namespace internal { function namespace (line 115) | namespace roaring { namespace internal { function namespace (line 174) | namespace roaring { namespace internal { // No extern "C" (contains tem... function namespace (line 277) | namespace roaring { namespace internal { function namespace (line 537) | namespace roaring { function namespace (line 619) | namespace roaring { namespace internal { function namespace (line 1333) | namespace roaring { function namespace (line 1807) | namespace roaring { function namespace (line 2298) | namespace roaring { function namespace (line 2979) | namespace roaring { namespace internal { function namespace (line 3050) | namespace roaring { namespace internal { function namespace (line 3087) | namespace roaring { namespace internal { function namespace (line 3135) | namespace roaring { namespace internal { function namespace (line 3320) | namespace roaring { namespace internal { function namespace (line 3414) | namespace roaring { namespace internal { function namespace (line 3559) | namespace roaring { namespace internal { function namespace (line 3677) | namespace roaring { namespace internal { function namespace (line 3841) | namespace roaring { namespace internal { function namespace (line 6315) | namespace roaring { function namespace (line 6626) | namespace roaring { namespace internal { function namespace (line 8787) | namespace roaring { namespace internal { function namespace (line 9235) | namespace roaring { namespace api { function namespace (line 10365) | namespace roaring { namespace internal { function bitset_container_clear (line 10904) | void bitset_container_clear(bitset_container_t *bitset) { function bitset_container_set_all (line 10909) | void bitset_container_set_all(bitset_container_t *bitset) { function bitset_container_t (line 10918) | bitset_container_t *bitset_container_create(void) { function bitset_container_copy (line 10949) | void bitset_container_copy(const bitset_container_t *source, function bitset_container_add_from_range (line 10956) | void bitset_container_add_from_range(bitset_container_t *bitset, uint32_... function bitset_container_free (line 10985) | void bitset_container_free(bitset_container_t *bitset) { function bitset_container_t (line 10994) | bitset_container_t *bitset_container_clone(const bitset_container_t *src) { function bitset_container_offset (line 11025) | void bitset_container_offset(const bitset_container_t *c, function bitset_container_set_range (line 11089) | void bitset_container_set_range(bitset_container_t *bitset, uint32_t begin, function bitset_container_intersect (line 11097) | bool bitset_container_intersect(const bitset_container_t *src_1, function _scalar_bitset_container_compute_cardinality (line 11117) | static inline int _scalar_bitset_container_compute_cardinality(const bit... function bitset_container_compute_cardinality (line 11129) | int bitset_container_compute_cardinality(const bitset_container_t *bitse... function bitset_container_compute_cardinality (line 11149) | int bitset_container_compute_cardinality(const bitset_container_t *bitse... function bitset_container_compute_cardinality (line 11175) | int bitset_container_compute_cardinality(const bitset_container_t *bitse... function bitset_container_to_uint32_array (line 11793) | int bitset_container_to_uint32_array( function bitset_container_printf (line 11821) | void bitset_container_printf(const bitset_container_t * v) { function bitset_container_printf_as_uint32_array (line 11847) | void bitset_container_printf_as_uint32_array(const bitset_container_t * ... function bitset_container_number_of_runs (line 11868) | int bitset_container_number_of_runs(bitset_container_t *bc) { function bitset_container_write (line 11886) | int32_t bitset_container_write(const bitset_container_t *container, function bitset_container_read (line 11893) | int32_t bitset_container_read(int32_t cardinality, bitset_container_t *c... function bitset_container_iterate (line 11900) | bool bitset_container_iterate(const bitset_container_t *cont, uint32_t b... function bitset_container_iterate64 (line 11914) | bool bitset_container_iterate64(const bitset_container_t *cont, uint32_t... function _avx512_bitset_container_equals (line 11932) | static inline bool _avx512_bitset_container_equals(const bitset_containe... function _avx2_bitset_container_equals (line 11949) | static inline bool _avx2_bitset_container_equals(const bitset_container_... function ALLOW_UNALIGNED (line 11965) | ALLOW_UNALIGNED function bitset_container_is_subset (line 11992) | bool bitset_container_is_subset(const bitset_container_t *container1, function bitset_container_select (line 12007) | bool bitset_container_select(const bitset_container_t *container, uint32... function bitset_container_minimum (line 12040) | uint16_t bitset_container_minimum(const bitset_container_t *container) { function bitset_container_maximum (line 12052) | uint16_t bitset_container_maximum(const bitset_container_t *container) { function bitset_container_rank (line 12064) | int bitset_container_rank(const bitset_container_t *container, uint16_t ... function bitset_container_index_equalorlarger (line 12079) | int bitset_container_index_equalorlarger(const bitset_container_t *conta... function namespace (line 12101) | namespace roaring { namespace internal { function namespace (line 12366) | namespace roaring { namespace internal { function namespace (line 12722) | namespace roaring { namespace internal { function namespace (line 13242) | namespace roaring { namespace internal { function namespace (line 13333) | namespace roaring { namespace internal { function namespace (line 13685) | namespace roaring { namespace internal { function namespace (line 14034) | namespace roaring { namespace internal { function namespace (line 14183) | namespace roaring { namespace internal { function namespace (line 14563) | namespace roaring { namespace internal { function namespace (line 14964) | namespace roaring { namespace internal { function namespace (line 15982) | namespace roaring { namespace internal { function roaring_bitmap_aligned_free (line 16206) | static void roaring_bitmap_aligned_free(void *memblock) { function roaring_init_memory_hook (line 16225) | void roaring_init_memory_hook(roaring_memory_t memory_hook) { function roaring_free (line 16241) | void roaring_free(void* p) { function roaring_aligned_free (line 16249) | void roaring_aligned_free(void* p) { function namespace (line 16266) | namespace roaring { namespace api { function namespace (line 19656) | namespace roaring { namespace internal { function namespace (line 20520) | namespace roaring { namespace api { FILE: third_party/croaring/roaring.h function namespace (line 105) | namespace roaring { namespace api { function roaring_trailing_zeroes (line 376) | static inline int roaring_trailing_zeroes(unsigned long long input_num) { function roaring_leading_zeroes (line 393) | inline int roaring_leading_zeroes(unsigned long long input_num) { function roaring_trailing_zeroes (line 417) | static inline int roaring_trailing_zeroes(unsigned long long input_num) ... function roaring_leading_zeroes (line 418) | static inline int roaring_leading_zeroes(unsigned long long input_num) {... function roaring_hamming_backup (line 442) | static inline int roaring_hamming_backup(uint64_t x) { function roaring_hamming (line 454) | static inline int roaring_hamming(uint64_t x) { function namespace (line 626) | namespace roaring { namespace api { function namespace (line 904) | namespace roaring { namespace api { type roaring_memory_t (line 1856) | typedef struct roaring_memory_s { FILE: third_party/croaring/roaring.hh type roaring (line 98) | namespace roaring { class RoaringSetBitForwardIterator (line 100) | class RoaringSetBitForwardIterator method value_type (line 868) | value_type operator*() const { return i.current_value; } method equalorlarger (line 897) | void equalorlarger(uint32_t val) { method type_of_iterator (line 901) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 906) | type_of_iterator operator++(int) { // i++, must return orig. value method type_of_iterator (line 912) | type_of_iterator& operator--() { // prefix -- method type_of_iterator (line 917) | type_of_iterator operator--(int) { // postfix -- method RoaringSetBitForwardIterator (line 931) | explicit RoaringSetBitForwardIterator(const Roaring &parent, class Roaring (line 102) | class Roaring { method Roaring (line 110) | Roaring() : roaring{} { method Roaring (line 118) | Roaring(size_t n, const uint32_t *data) : Roaring() { method Roaring (line 125) | Roaring(std::initializer_list l) : Roaring() { method Roaring (line 133) | Roaring(const Roaring &r) : Roaring() { method Roaring (line 146) | Roaring(Roaring &&r) noexcept : roaring(r.roaring) { method Roaring (line 163) | explicit Roaring(roaring_bitmap_t *s) noexcept : roaring (*s) { method Roaring (line 170) | static Roaring bitmapOf(size_t n, ...) { method Roaring (line 185) | static Roaring bitmapOfList(std::initializer_list l) { method add (line 194) | void add(uint32_t x) noexcept { api::roaring_bitmap_add(&roaring, x); } method addChecked (line 201) | bool addChecked(uint32_t x) noexcept { method addRange (line 208) | void addRange(const uint64_t min, const uint64_t max) noexcept { method addRangeClosed (line 215) | void addRangeClosed(const uint32_t min, const uint32_t max) noexcept { method addMany (line 222) | void addMany(size_t n_args, const uint32_t *vals) noexcept { method remove (line 229) | void remove(uint32_t x) noexcept { api::roaring_bitmap_remove(&roari... method removeChecked (line 236) | bool removeChecked(uint32_t x) noexcept { method removeRange (line 243) | void removeRange(uint64_t min, uint64_t max) noexcept { method removeRangeClosed (line 250) | void removeRangeClosed(uint32_t min, uint32_t max) noexcept { method maximum (line 257) | uint32_t maximum() const noexcept { return api::roaring_bitmap_maxim... method minimum (line 262) | uint32_t minimum() const noexcept { return api::roaring_bitmap_minim... method contains (line 267) | bool contains(uint32_t x) const noexcept { method containsRange (line 274) | bool containsRange(const uint64_t x, const uint64_t y) const noexcept { method Roaring (line 304) | Roaring &operator=(const Roaring &r) { method Roaring (line 318) | Roaring &operator=(Roaring &&r) noexcept { method Roaring (line 332) | Roaring &operator=(std::initializer_list l) { method Roaring (line 346) | Roaring &operator&=(const Roaring &r) noexcept { method Roaring (line 356) | Roaring &operator-=(const Roaring &r) noexcept { method Roaring (line 368) | Roaring &operator|=(const Roaring &r) noexcept { method Roaring (line 378) | Roaring &operator^=(const Roaring &r) noexcept { method swap (line 386) | void swap(Roaring &r) noexcept { std::swap(r.roaring, roaring); } method cardinality (line 391) | uint64_t cardinality() const noexcept { method isEmpty (line 398) | bool isEmpty() const noexcept { return api::roaring_bitmap_is_empty(... method isSubset (line 403) | bool isSubset(const Roaring &r) const noexcept { method isStrictSubset (line 410) | bool isStrictSubset(const Roaring &r) const noexcept { method toUint32Array (line 419) | void toUint32Array(uint32_t *ans) const noexcept { method rangeUint32Array (line 425) | void rangeUint32Array(uint32_t *ans, size_t offset, size_t limit) co... method flip (line 440) | void flip(uint64_t range_start, uint64_t range_end) noexcept { method flipClosed (line 448) | void flipClosed(uint32_t range_start, uint32_t range_end) noexcept { method removeRunCompression (line 457) | bool removeRunCompression() noexcept { method runOptimize (line 467) | bool runOptimize() noexcept { return api::roaring_bitmap_run_optimiz... method shrinkToFit (line 473) | size_t shrinkToFit() noexcept { return api::roaring_bitmap_shrink_to... method iterate (line 484) | void iterate(api::roaring_iterator iterator, void *ptr) const { method select (line 496) | bool select(uint32_t rnk, uint32_t *element) const noexcept { method and_cardinality (line 503) | uint64_t and_cardinality(const Roaring &r) const noexcept { method intersect (line 510) | bool intersect(const Roaring &r) const noexcept { method jaccard_index (line 521) | double jaccard_index(const Roaring &r) const noexcept { method or_cardinality (line 528) | uint64_t or_cardinality(const Roaring &r) const noexcept { method andnot_cardinality (line 535) | uint64_t andnot_cardinality(const Roaring &r) const noexcept { method xor_cardinality (line 543) | uint64_t xor_cardinality(const Roaring &r) const noexcept { method rank (line 555) | uint64_t rank(uint32_t x) const noexcept { method write (line 598) | size_t write(char *buf, bool portable = true) const noexcept { method Roaring (line 622) | static Roaring read(const char *buf, bool portable = true) { method Roaring (line 653) | static Roaring readSafe(const char *buf, size_t maxbytes) { method getSizeInBytes (line 670) | size_t getSizeInBytes(bool portable = true) const noexcept { method Roaring (line 682) | static const Roaring frozenView(const char *buf, size_t length) { method writeFrozen (line 696) | void writeFrozen(char *buf) const noexcept { method getFrozenSizeInBytes (line 703) | size_t getFrozenSizeInBytes() const noexcept { method Roaring (line 717) | Roaring operator&(const Roaring &o) const { method Roaring (line 730) | Roaring operator-(const Roaring &o) const { method Roaring (line 743) | Roaring operator|(const Roaring &o) const { method Roaring (line 756) | Roaring operator^(const Roaring &o) const { method setCopyOnWrite (line 767) | void setCopyOnWrite(bool val) noexcept { method printf (line 774) | void printf() const noexcept { api::roaring_bitmap_printf(&roaring); } method toString (line 779) | std::string toString() const noexcept { method getCopyOnWrite (line 804) | bool getCopyOnWrite() const noexcept { method Roaring (line 813) | static Roaring fastunion(size_t n, const Roaring **inputs) { class RoaringSetBitForwardIterator (line 856) | class RoaringSetBitForwardIterator final { method value_type (line 868) | value_type operator*() const { return i.current_value; } method equalorlarger (line 897) | void equalorlarger(uint32_t val) { method type_of_iterator (line 901) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 906) | type_of_iterator operator++(int) { // i++, must return orig. value method type_of_iterator (line 912) | type_of_iterator& operator--() { // prefix -- method type_of_iterator (line 917) | type_of_iterator operator--(int) { // postfix -- method RoaringSetBitForwardIterator (line 931) | explicit RoaringSetBitForwardIterator(const Roaring &parent, function RoaringSetBitForwardIterator (line 946) | inline RoaringSetBitForwardIterator Roaring::begin() const { method value_type (line 868) | value_type operator*() const { return i.current_value; } method equalorlarger (line 897) | void equalorlarger(uint32_t val) { method type_of_iterator (line 901) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 906) | type_of_iterator operator++(int) { // i++, must return orig. value method type_of_iterator (line 912) | type_of_iterator& operator--() { // prefix -- method type_of_iterator (line 917) | type_of_iterator operator--(int) { // postfix -- method RoaringSetBitForwardIterator (line 931) | explicit RoaringSetBitForwardIterator(const Roaring &parent, function RoaringSetBitForwardIterator (line 950) | inline RoaringSetBitForwardIterator &Roaring::end() const { method value_type (line 868) | value_type operator*() const { return i.current_value; } method equalorlarger (line 897) | void equalorlarger(uint32_t val) { method type_of_iterator (line 901) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 906) | type_of_iterator operator++(int) { // i++, must return orig. value method type_of_iterator (line 912) | type_of_iterator& operator--() { // prefix -- method type_of_iterator (line 917) | type_of_iterator operator--(int) { // postfix -- method RoaringSetBitForwardIterator (line 931) | explicit RoaringSetBitForwardIterator(const Roaring &parent, class Roaring64MapSetBitForwardIterator (line 992) | class Roaring64MapSetBitForwardIterator method value_type (line 2630) | value_type operator*() const { method type_of_iterator (line 2658) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 2668) | type_of_iterator operator++(int) { // i++, must return orig. value method move (line 2679) | bool move(const value_type& x) { method Roaring64MapSetBitForwardIterator (line 2707) | Roaring64MapSetBitForwardIterator &operator=(const Roaring64MapSetBi... method Roaring64MapSetBitForwardIterator (line 2714) | Roaring64MapSetBitForwardIterator(const Roaring64MapSetBitForwardIte... method Roaring64MapSetBitForwardIterator (line 2721) | Roaring64MapSetBitForwardIterator(const Roaring64Map &parent, class Roaring64MapSetBitBiDirectionalIterator (line 993) | class Roaring64MapSetBitBiDirectionalIterator method Roaring64MapSetBitBiDirectionalIterator (line 2746) | explicit Roaring64MapSetBitBiDirectionalIterator(const Roaring64Map ... method Roaring64MapSetBitBiDirectionalIterator (line 2751) | Roaring64MapSetBitBiDirectionalIterator &operator=(const Roaring64Ma... method Roaring64MapSetBitBiDirectionalIterator (line 2756) | Roaring64MapSetBitBiDirectionalIterator& operator--() { // --i, mus... method Roaring64MapSetBitBiDirectionalIterator (line 2772) | Roaring64MapSetBitBiDirectionalIterator operator--(int) { // i--, m... class Roaring64Map (line 995) | class Roaring64Map { method Roaring64Map (line 1002) | Roaring64Map() = default; method Roaring64Map (line 1007) | Roaring64Map(size_t n, const uint32_t *data) { addMany(n, data); } method Roaring64Map (line 1012) | Roaring64Map(size_t n, const uint64_t *data) { addMany(n, data); } method Roaring64Map (line 1017) | Roaring64Map(std::initializer_list l) { method Roaring64Map (line 1024) | explicit Roaring64Map(const Roaring &r) { emplaceOrInsert(0, r); } method Roaring64Map (line 1029) | explicit Roaring64Map(Roaring &&r) { emplaceOrInsert(0, std::move(r)... method Roaring64Map (line 1036) | explicit Roaring64Map(roaring_bitmap_t *s) { method Roaring64Map (line 1040) | Roaring64Map(const Roaring64Map& r) = default; method Roaring64Map (line 1042) | Roaring64Map(Roaring64Map&& r) noexcept = default; method Roaring64Map (line 1047) | Roaring64Map &operator=(const Roaring64Map &r) = default; method Roaring64Map (line 1052) | Roaring64Map &operator=(Roaring64Map &&r) noexcept = default; method Roaring64Map (line 1057) | Roaring64Map &operator=(std::initializer_list l) { method Roaring64Map (line 1066) | static Roaring64Map bitmapOf(size_t n...) { method Roaring64Map (line 1081) | static Roaring64Map bitmapOfList(std::initializer_list l) { method add (line 1090) | void add(uint32_t x) { method add (line 1097) | void add(uint64_t x) { method addChecked (line 1106) | bool addChecked(uint32_t x) { method addChecked (line 1115) | bool addChecked(uint64_t x) { method addRange (line 1122) | void addRange(uint64_t min, uint64_t max) { method addRangeClosed (line 1132) | void addRangeClosed(uint32_t min, uint32_t max) { method addRangeClosed (line 1139) | void addRangeClosed(uint64_t min, uint64_t max) { method addMany (line 1203) | void addMany(size_t n_args, const uint32_t *vals) { method addMany (line 1210) | void addMany(size_t n_args, const uint64_t *vals) { method remove (line 1230) | void remove(uint32_t x) { method remove (line 1245) | void remove(uint64_t x) { method removeChecked (line 1260) | bool removeChecked(uint32_t x) { method removeChecked (line 1280) | bool removeChecked(uint64_t x) { method removeRange (line 1296) | void removeRange(uint64_t min, uint64_t max) { method removeRangeClosed (line 1306) | void removeRangeClosed(uint32_t min, uint32_t max) { method removeRangeClosed (line 1322) | void removeRangeClosed(uint64_t min, uint64_t max) { method clear (line 1401) | void clear() { method maximum (line 1408) | uint64_t maximum() const { method minimum (line 1424) | uint64_t minimum() const { method contains (line 1440) | bool contains(uint32_t x) const { method contains (line 1443) | bool contains(uint64_t x) const { method Roaring64Map (line 1457) | Roaring64Map &operator&=(const Roaring64Map &other) { method Roaring64Map (line 1514) | Roaring64Map &operator-=(const Roaring64Map &other) { method Roaring64Map (line 1582) | Roaring64Map &operator|=(const Roaring64Map &other) { method Roaring64Map (line 1634) | Roaring64Map &operator^=(const Roaring64Map &other) { method swap (line 1692) | void swap(Roaring64Map &r) { roarings.swap(r.roarings); } method cardinality (line 1700) | uint64_t cardinality() const { method isEmpty (line 1721) | bool isEmpty() const { method isFull (line 1731) | bool isFull() const { method isSubset (line 1754) | bool isSubset(const Roaring64Map &r) const { method isStrictSubset (line 1773) | bool isStrictSubset(const Roaring64Map &r) const { method toUint64Array (line 1783) | void toUint64Array(uint64_t *ans) const { method flip (line 1844) | void flip(uint64_t min, uint64_t max) { method flipClosed (line 1855) | void flipClosed(uint32_t min, uint32_t max) { method flipClosed (line 1876) | void flipClosed(uint64_t min, uint64_t max) { method removeRunCompression (line 1939) | bool removeRunCompression() { method runOptimize (line 1953) | bool runOptimize() { method shrinkToFit (line 1965) | size_t shrinkToFit() { method iterate (line 1992) | void iterate(api::roaring_iterator64 iterator, void *ptr) const { method select (line 2009) | bool select(uint64_t rank, uint64_t *element) const { method rank (line 2034) | uint64_t rank(uint64_t x) const { method write (line 2062) | size_t write(char *buf, bool portable = true) const { method Roaring64Map (line 2094) | static Roaring64Map read(const char *buf, bool portable = true) { method Roaring64Map (line 2123) | static Roaring64Map readSafe(const char *buf, size_t maxbytes) { method getSizeInBytes (line 2160) | size_t getSizeInBytes(bool portable = true) const { method Roaring64Map (line 2173) | static const Roaring64Map frozenView(const char *buf) { method writeFrozen (line 2217) | void writeFrozen(char *buf) const { method getFrozenSizeInBytes (line 2246) | size_t getFrozenSizeInBytes() const { method Roaring64Map (line 2274) | Roaring64Map operator&(const Roaring64Map &o) const { method Roaring64Map (line 2282) | Roaring64Map operator-(const Roaring64Map &o) const { method Roaring64Map (line 2290) | Roaring64Map operator|(const Roaring64Map &o) const { method Roaring64Map (line 2298) | Roaring64Map operator^(const Roaring64Map &o) const { method setCopyOnWrite (line 2305) | void setCopyOnWrite(bool val) { method printf (line 2318) | void printf() const { method toString (line 2329) | std::string toString() const { method getCopyOnWrite (line 2341) | bool getCopyOnWrite() const { return copyOnWrite; } method Roaring64Map (line 2347) | static Roaring64Map fastunion(size_t n, const Roaring64Map **inputs) { method highBytes (line 2494) | static uint32_t highBytes(const uint64_t in) { return uint32_t(in >>... method lowBytes (line 2495) | static uint32_t lowBytes(const uint64_t in) { return uint32_t(in); } method uniteBytes (line 2496) | static uint64_t uniteBytes(const uint32_t highBytes, method emplaceOrInsert (line 2502) | void emplaceOrInsert(const uint32_t key, const Roaring &value) { method emplaceOrInsert (line 2510) | void emplaceOrInsert(const uint32_t key, Roaring &&value) { method Roaring (line 2523) | Roaring &lookupOrCreateInner(uint32_t key) { method printToSink (line 2532) | void printToSink(const std::function &sin... method ensureRangePopulated (line 2562) | roarings_t::iterator ensureRangePopulated(uint32_t start_high, method eraseIfEmpty (line 2607) | void eraseIfEmpty(roarings_t::iterator iter) { class Roaring64MapSetBitForwardIterator (line 2618) | class Roaring64MapSetBitForwardIterator { method value_type (line 2630) | value_type operator*() const { method type_of_iterator (line 2658) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 2668) | type_of_iterator operator++(int) { // i++, must return orig. value method move (line 2679) | bool move(const value_type& x) { method Roaring64MapSetBitForwardIterator (line 2707) | Roaring64MapSetBitForwardIterator &operator=(const Roaring64MapSetBi... method Roaring64MapSetBitForwardIterator (line 2714) | Roaring64MapSetBitForwardIterator(const Roaring64MapSetBitForwardIte... method Roaring64MapSetBitForwardIterator (line 2721) | Roaring64MapSetBitForwardIterator(const Roaring64Map &parent, class Roaring64MapSetBitBiDirectionalIterator (line 2744) | class Roaring64MapSetBitBiDirectionalIterator final :public Roaring64M... method Roaring64MapSetBitBiDirectionalIterator (line 2746) | explicit Roaring64MapSetBitBiDirectionalIterator(const Roaring64Map ... method Roaring64MapSetBitBiDirectionalIterator (line 2751) | Roaring64MapSetBitBiDirectionalIterator &operator=(const Roaring64Ma... method Roaring64MapSetBitBiDirectionalIterator (line 2756) | Roaring64MapSetBitBiDirectionalIterator& operator--() { // --i, mus... method Roaring64MapSetBitBiDirectionalIterator (line 2772) | Roaring64MapSetBitBiDirectionalIterator operator--(int) { // i--, m... function Roaring64MapSetBitForwardIterator (line 2793) | inline Roaring64MapSetBitForwardIterator Roaring64Map::begin() const { method value_type (line 2630) | value_type operator*() const { method type_of_iterator (line 2658) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 2668) | type_of_iterator operator++(int) { // i++, must return orig. value method move (line 2679) | bool move(const value_type& x) { method Roaring64MapSetBitForwardIterator (line 2707) | Roaring64MapSetBitForwardIterator &operator=(const Roaring64MapSetBi... method Roaring64MapSetBitForwardIterator (line 2714) | Roaring64MapSetBitForwardIterator(const Roaring64MapSetBitForwardIte... method Roaring64MapSetBitForwardIterator (line 2721) | Roaring64MapSetBitForwardIterator(const Roaring64Map &parent, function Roaring64MapSetBitForwardIterator (line 2797) | inline Roaring64MapSetBitForwardIterator Roaring64Map::end() const { method value_type (line 2630) | value_type operator*() const { method type_of_iterator (line 2658) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 2668) | type_of_iterator operator++(int) { // i++, must return orig. value method move (line 2679) | bool move(const value_type& x) { method Roaring64MapSetBitForwardIterator (line 2707) | Roaring64MapSetBitForwardIterator &operator=(const Roaring64MapSetBi... method Roaring64MapSetBitForwardIterator (line 2714) | Roaring64MapSetBitForwardIterator(const Roaring64MapSetBitForwardIte... method Roaring64MapSetBitForwardIterator (line 2721) | Roaring64MapSetBitForwardIterator(const Roaring64Map &parent, type roaring (line 988) | namespace roaring { class RoaringSetBitForwardIterator (line 100) | class RoaringSetBitForwardIterator method value_type (line 868) | value_type operator*() const { return i.current_value; } method equalorlarger (line 897) | void equalorlarger(uint32_t val) { method type_of_iterator (line 901) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 906) | type_of_iterator operator++(int) { // i++, must return orig. value method type_of_iterator (line 912) | type_of_iterator& operator--() { // prefix -- method type_of_iterator (line 917) | type_of_iterator operator--(int) { // postfix -- method RoaringSetBitForwardIterator (line 931) | explicit RoaringSetBitForwardIterator(const Roaring &parent, class Roaring (line 102) | class Roaring { method Roaring (line 110) | Roaring() : roaring{} { method Roaring (line 118) | Roaring(size_t n, const uint32_t *data) : Roaring() { method Roaring (line 125) | Roaring(std::initializer_list l) : Roaring() { method Roaring (line 133) | Roaring(const Roaring &r) : Roaring() { method Roaring (line 146) | Roaring(Roaring &&r) noexcept : roaring(r.roaring) { method Roaring (line 163) | explicit Roaring(roaring_bitmap_t *s) noexcept : roaring (*s) { method Roaring (line 170) | static Roaring bitmapOf(size_t n, ...) { method Roaring (line 185) | static Roaring bitmapOfList(std::initializer_list l) { method add (line 194) | void add(uint32_t x) noexcept { api::roaring_bitmap_add(&roaring, x); } method addChecked (line 201) | bool addChecked(uint32_t x) noexcept { method addRange (line 208) | void addRange(const uint64_t min, const uint64_t max) noexcept { method addRangeClosed (line 215) | void addRangeClosed(const uint32_t min, const uint32_t max) noexcept { method addMany (line 222) | void addMany(size_t n_args, const uint32_t *vals) noexcept { method remove (line 229) | void remove(uint32_t x) noexcept { api::roaring_bitmap_remove(&roari... method removeChecked (line 236) | bool removeChecked(uint32_t x) noexcept { method removeRange (line 243) | void removeRange(uint64_t min, uint64_t max) noexcept { method removeRangeClosed (line 250) | void removeRangeClosed(uint32_t min, uint32_t max) noexcept { method maximum (line 257) | uint32_t maximum() const noexcept { return api::roaring_bitmap_maxim... method minimum (line 262) | uint32_t minimum() const noexcept { return api::roaring_bitmap_minim... method contains (line 267) | bool contains(uint32_t x) const noexcept { method containsRange (line 274) | bool containsRange(const uint64_t x, const uint64_t y) const noexcept { method Roaring (line 304) | Roaring &operator=(const Roaring &r) { method Roaring (line 318) | Roaring &operator=(Roaring &&r) noexcept { method Roaring (line 332) | Roaring &operator=(std::initializer_list l) { method Roaring (line 346) | Roaring &operator&=(const Roaring &r) noexcept { method Roaring (line 356) | Roaring &operator-=(const Roaring &r) noexcept { method Roaring (line 368) | Roaring &operator|=(const Roaring &r) noexcept { method Roaring (line 378) | Roaring &operator^=(const Roaring &r) noexcept { method swap (line 386) | void swap(Roaring &r) noexcept { std::swap(r.roaring, roaring); } method cardinality (line 391) | uint64_t cardinality() const noexcept { method isEmpty (line 398) | bool isEmpty() const noexcept { return api::roaring_bitmap_is_empty(... method isSubset (line 403) | bool isSubset(const Roaring &r) const noexcept { method isStrictSubset (line 410) | bool isStrictSubset(const Roaring &r) const noexcept { method toUint32Array (line 419) | void toUint32Array(uint32_t *ans) const noexcept { method rangeUint32Array (line 425) | void rangeUint32Array(uint32_t *ans, size_t offset, size_t limit) co... method flip (line 440) | void flip(uint64_t range_start, uint64_t range_end) noexcept { method flipClosed (line 448) | void flipClosed(uint32_t range_start, uint32_t range_end) noexcept { method removeRunCompression (line 457) | bool removeRunCompression() noexcept { method runOptimize (line 467) | bool runOptimize() noexcept { return api::roaring_bitmap_run_optimiz... method shrinkToFit (line 473) | size_t shrinkToFit() noexcept { return api::roaring_bitmap_shrink_to... method iterate (line 484) | void iterate(api::roaring_iterator iterator, void *ptr) const { method select (line 496) | bool select(uint32_t rnk, uint32_t *element) const noexcept { method and_cardinality (line 503) | uint64_t and_cardinality(const Roaring &r) const noexcept { method intersect (line 510) | bool intersect(const Roaring &r) const noexcept { method jaccard_index (line 521) | double jaccard_index(const Roaring &r) const noexcept { method or_cardinality (line 528) | uint64_t or_cardinality(const Roaring &r) const noexcept { method andnot_cardinality (line 535) | uint64_t andnot_cardinality(const Roaring &r) const noexcept { method xor_cardinality (line 543) | uint64_t xor_cardinality(const Roaring &r) const noexcept { method rank (line 555) | uint64_t rank(uint32_t x) const noexcept { method write (line 598) | size_t write(char *buf, bool portable = true) const noexcept { method Roaring (line 622) | static Roaring read(const char *buf, bool portable = true) { method Roaring (line 653) | static Roaring readSafe(const char *buf, size_t maxbytes) { method getSizeInBytes (line 670) | size_t getSizeInBytes(bool portable = true) const noexcept { method Roaring (line 682) | static const Roaring frozenView(const char *buf, size_t length) { method writeFrozen (line 696) | void writeFrozen(char *buf) const noexcept { method getFrozenSizeInBytes (line 703) | size_t getFrozenSizeInBytes() const noexcept { method Roaring (line 717) | Roaring operator&(const Roaring &o) const { method Roaring (line 730) | Roaring operator-(const Roaring &o) const { method Roaring (line 743) | Roaring operator|(const Roaring &o) const { method Roaring (line 756) | Roaring operator^(const Roaring &o) const { method setCopyOnWrite (line 767) | void setCopyOnWrite(bool val) noexcept { method printf (line 774) | void printf() const noexcept { api::roaring_bitmap_printf(&roaring); } method toString (line 779) | std::string toString() const noexcept { method getCopyOnWrite (line 804) | bool getCopyOnWrite() const noexcept { method Roaring (line 813) | static Roaring fastunion(size_t n, const Roaring **inputs) { class RoaringSetBitForwardIterator (line 856) | class RoaringSetBitForwardIterator final { method value_type (line 868) | value_type operator*() const { return i.current_value; } method equalorlarger (line 897) | void equalorlarger(uint32_t val) { method type_of_iterator (line 901) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 906) | type_of_iterator operator++(int) { // i++, must return orig. value method type_of_iterator (line 912) | type_of_iterator& operator--() { // prefix -- method type_of_iterator (line 917) | type_of_iterator operator--(int) { // postfix -- method RoaringSetBitForwardIterator (line 931) | explicit RoaringSetBitForwardIterator(const Roaring &parent, function RoaringSetBitForwardIterator (line 946) | inline RoaringSetBitForwardIterator Roaring::begin() const { method value_type (line 868) | value_type operator*() const { return i.current_value; } method equalorlarger (line 897) | void equalorlarger(uint32_t val) { method type_of_iterator (line 901) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 906) | type_of_iterator operator++(int) { // i++, must return orig. value method type_of_iterator (line 912) | type_of_iterator& operator--() { // prefix -- method type_of_iterator (line 917) | type_of_iterator operator--(int) { // postfix -- method RoaringSetBitForwardIterator (line 931) | explicit RoaringSetBitForwardIterator(const Roaring &parent, function RoaringSetBitForwardIterator (line 950) | inline RoaringSetBitForwardIterator &Roaring::end() const { method value_type (line 868) | value_type operator*() const { return i.current_value; } method equalorlarger (line 897) | void equalorlarger(uint32_t val) { method type_of_iterator (line 901) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 906) | type_of_iterator operator++(int) { // i++, must return orig. value method type_of_iterator (line 912) | type_of_iterator& operator--() { // prefix -- method type_of_iterator (line 917) | type_of_iterator operator--(int) { // postfix -- method RoaringSetBitForwardIterator (line 931) | explicit RoaringSetBitForwardIterator(const Roaring &parent, class Roaring64MapSetBitForwardIterator (line 992) | class Roaring64MapSetBitForwardIterator method value_type (line 2630) | value_type operator*() const { method type_of_iterator (line 2658) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 2668) | type_of_iterator operator++(int) { // i++, must return orig. value method move (line 2679) | bool move(const value_type& x) { method Roaring64MapSetBitForwardIterator (line 2707) | Roaring64MapSetBitForwardIterator &operator=(const Roaring64MapSetBi... method Roaring64MapSetBitForwardIterator (line 2714) | Roaring64MapSetBitForwardIterator(const Roaring64MapSetBitForwardIte... method Roaring64MapSetBitForwardIterator (line 2721) | Roaring64MapSetBitForwardIterator(const Roaring64Map &parent, class Roaring64MapSetBitBiDirectionalIterator (line 993) | class Roaring64MapSetBitBiDirectionalIterator method Roaring64MapSetBitBiDirectionalIterator (line 2746) | explicit Roaring64MapSetBitBiDirectionalIterator(const Roaring64Map ... method Roaring64MapSetBitBiDirectionalIterator (line 2751) | Roaring64MapSetBitBiDirectionalIterator &operator=(const Roaring64Ma... method Roaring64MapSetBitBiDirectionalIterator (line 2756) | Roaring64MapSetBitBiDirectionalIterator& operator--() { // --i, mus... method Roaring64MapSetBitBiDirectionalIterator (line 2772) | Roaring64MapSetBitBiDirectionalIterator operator--(int) { // i--, m... class Roaring64Map (line 995) | class Roaring64Map { method Roaring64Map (line 1002) | Roaring64Map() = default; method Roaring64Map (line 1007) | Roaring64Map(size_t n, const uint32_t *data) { addMany(n, data); } method Roaring64Map (line 1012) | Roaring64Map(size_t n, const uint64_t *data) { addMany(n, data); } method Roaring64Map (line 1017) | Roaring64Map(std::initializer_list l) { method Roaring64Map (line 1024) | explicit Roaring64Map(const Roaring &r) { emplaceOrInsert(0, r); } method Roaring64Map (line 1029) | explicit Roaring64Map(Roaring &&r) { emplaceOrInsert(0, std::move(r)... method Roaring64Map (line 1036) | explicit Roaring64Map(roaring_bitmap_t *s) { method Roaring64Map (line 1040) | Roaring64Map(const Roaring64Map& r) = default; method Roaring64Map (line 1042) | Roaring64Map(Roaring64Map&& r) noexcept = default; method Roaring64Map (line 1047) | Roaring64Map &operator=(const Roaring64Map &r) = default; method Roaring64Map (line 1052) | Roaring64Map &operator=(Roaring64Map &&r) noexcept = default; method Roaring64Map (line 1057) | Roaring64Map &operator=(std::initializer_list l) { method Roaring64Map (line 1066) | static Roaring64Map bitmapOf(size_t n...) { method Roaring64Map (line 1081) | static Roaring64Map bitmapOfList(std::initializer_list l) { method add (line 1090) | void add(uint32_t x) { method add (line 1097) | void add(uint64_t x) { method addChecked (line 1106) | bool addChecked(uint32_t x) { method addChecked (line 1115) | bool addChecked(uint64_t x) { method addRange (line 1122) | void addRange(uint64_t min, uint64_t max) { method addRangeClosed (line 1132) | void addRangeClosed(uint32_t min, uint32_t max) { method addRangeClosed (line 1139) | void addRangeClosed(uint64_t min, uint64_t max) { method addMany (line 1203) | void addMany(size_t n_args, const uint32_t *vals) { method addMany (line 1210) | void addMany(size_t n_args, const uint64_t *vals) { method remove (line 1230) | void remove(uint32_t x) { method remove (line 1245) | void remove(uint64_t x) { method removeChecked (line 1260) | bool removeChecked(uint32_t x) { method removeChecked (line 1280) | bool removeChecked(uint64_t x) { method removeRange (line 1296) | void removeRange(uint64_t min, uint64_t max) { method removeRangeClosed (line 1306) | void removeRangeClosed(uint32_t min, uint32_t max) { method removeRangeClosed (line 1322) | void removeRangeClosed(uint64_t min, uint64_t max) { method clear (line 1401) | void clear() { method maximum (line 1408) | uint64_t maximum() const { method minimum (line 1424) | uint64_t minimum() const { method contains (line 1440) | bool contains(uint32_t x) const { method contains (line 1443) | bool contains(uint64_t x) const { method Roaring64Map (line 1457) | Roaring64Map &operator&=(const Roaring64Map &other) { method Roaring64Map (line 1514) | Roaring64Map &operator-=(const Roaring64Map &other) { method Roaring64Map (line 1582) | Roaring64Map &operator|=(const Roaring64Map &other) { method Roaring64Map (line 1634) | Roaring64Map &operator^=(const Roaring64Map &other) { method swap (line 1692) | void swap(Roaring64Map &r) { roarings.swap(r.roarings); } method cardinality (line 1700) | uint64_t cardinality() const { method isEmpty (line 1721) | bool isEmpty() const { method isFull (line 1731) | bool isFull() const { method isSubset (line 1754) | bool isSubset(const Roaring64Map &r) const { method isStrictSubset (line 1773) | bool isStrictSubset(const Roaring64Map &r) const { method toUint64Array (line 1783) | void toUint64Array(uint64_t *ans) const { method flip (line 1844) | void flip(uint64_t min, uint64_t max) { method flipClosed (line 1855) | void flipClosed(uint32_t min, uint32_t max) { method flipClosed (line 1876) | void flipClosed(uint64_t min, uint64_t max) { method removeRunCompression (line 1939) | bool removeRunCompression() { method runOptimize (line 1953) | bool runOptimize() { method shrinkToFit (line 1965) | size_t shrinkToFit() { method iterate (line 1992) | void iterate(api::roaring_iterator64 iterator, void *ptr) const { method select (line 2009) | bool select(uint64_t rank, uint64_t *element) const { method rank (line 2034) | uint64_t rank(uint64_t x) const { method write (line 2062) | size_t write(char *buf, bool portable = true) const { method Roaring64Map (line 2094) | static Roaring64Map read(const char *buf, bool portable = true) { method Roaring64Map (line 2123) | static Roaring64Map readSafe(const char *buf, size_t maxbytes) { method getSizeInBytes (line 2160) | size_t getSizeInBytes(bool portable = true) const { method Roaring64Map (line 2173) | static const Roaring64Map frozenView(const char *buf) { method writeFrozen (line 2217) | void writeFrozen(char *buf) const { method getFrozenSizeInBytes (line 2246) | size_t getFrozenSizeInBytes() const { method Roaring64Map (line 2274) | Roaring64Map operator&(const Roaring64Map &o) const { method Roaring64Map (line 2282) | Roaring64Map operator-(const Roaring64Map &o) const { method Roaring64Map (line 2290) | Roaring64Map operator|(const Roaring64Map &o) const { method Roaring64Map (line 2298) | Roaring64Map operator^(const Roaring64Map &o) const { method setCopyOnWrite (line 2305) | void setCopyOnWrite(bool val) { method printf (line 2318) | void printf() const { method toString (line 2329) | std::string toString() const { method getCopyOnWrite (line 2341) | bool getCopyOnWrite() const { return copyOnWrite; } method Roaring64Map (line 2347) | static Roaring64Map fastunion(size_t n, const Roaring64Map **inputs) { method highBytes (line 2494) | static uint32_t highBytes(const uint64_t in) { return uint32_t(in >>... method lowBytes (line 2495) | static uint32_t lowBytes(const uint64_t in) { return uint32_t(in); } method uniteBytes (line 2496) | static uint64_t uniteBytes(const uint32_t highBytes, method emplaceOrInsert (line 2502) | void emplaceOrInsert(const uint32_t key, const Roaring &value) { method emplaceOrInsert (line 2510) | void emplaceOrInsert(const uint32_t key, Roaring &&value) { method Roaring (line 2523) | Roaring &lookupOrCreateInner(uint32_t key) { method printToSink (line 2532) | void printToSink(const std::function &sin... method ensureRangePopulated (line 2562) | roarings_t::iterator ensureRangePopulated(uint32_t start_high, method eraseIfEmpty (line 2607) | void eraseIfEmpty(roarings_t::iterator iter) { class Roaring64MapSetBitForwardIterator (line 2618) | class Roaring64MapSetBitForwardIterator { method value_type (line 2630) | value_type operator*() const { method type_of_iterator (line 2658) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 2668) | type_of_iterator operator++(int) { // i++, must return orig. value method move (line 2679) | bool move(const value_type& x) { method Roaring64MapSetBitForwardIterator (line 2707) | Roaring64MapSetBitForwardIterator &operator=(const Roaring64MapSetBi... method Roaring64MapSetBitForwardIterator (line 2714) | Roaring64MapSetBitForwardIterator(const Roaring64MapSetBitForwardIte... method Roaring64MapSetBitForwardIterator (line 2721) | Roaring64MapSetBitForwardIterator(const Roaring64Map &parent, class Roaring64MapSetBitBiDirectionalIterator (line 2744) | class Roaring64MapSetBitBiDirectionalIterator final :public Roaring64M... method Roaring64MapSetBitBiDirectionalIterator (line 2746) | explicit Roaring64MapSetBitBiDirectionalIterator(const Roaring64Map ... method Roaring64MapSetBitBiDirectionalIterator (line 2751) | Roaring64MapSetBitBiDirectionalIterator &operator=(const Roaring64Ma... method Roaring64MapSetBitBiDirectionalIterator (line 2756) | Roaring64MapSetBitBiDirectionalIterator& operator--() { // --i, mus... method Roaring64MapSetBitBiDirectionalIterator (line 2772) | Roaring64MapSetBitBiDirectionalIterator operator--(int) { // i--, m... function Roaring64MapSetBitForwardIterator (line 2793) | inline Roaring64MapSetBitForwardIterator Roaring64Map::begin() const { method value_type (line 2630) | value_type operator*() const { method type_of_iterator (line 2658) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 2668) | type_of_iterator operator++(int) { // i++, must return orig. value method move (line 2679) | bool move(const value_type& x) { method Roaring64MapSetBitForwardIterator (line 2707) | Roaring64MapSetBitForwardIterator &operator=(const Roaring64MapSetBi... method Roaring64MapSetBitForwardIterator (line 2714) | Roaring64MapSetBitForwardIterator(const Roaring64MapSetBitForwardIte... method Roaring64MapSetBitForwardIterator (line 2721) | Roaring64MapSetBitForwardIterator(const Roaring64Map &parent, function Roaring64MapSetBitForwardIterator (line 2797) | inline Roaring64MapSetBitForwardIterator Roaring64Map::end() const { method value_type (line 2630) | value_type operator*() const { method type_of_iterator (line 2658) | type_of_iterator &operator++() { // ++i, must returned inc. value method type_of_iterator (line 2668) | type_of_iterator operator++(int) { // i++, must return orig. value method move (line 2679) | bool move(const value_type& x) { method Roaring64MapSetBitForwardIterator (line 2707) | Roaring64MapSetBitForwardIterator &operator=(const Roaring64MapSetBi... method Roaring64MapSetBitForwardIterator (line 2714) | Roaring64MapSetBitForwardIterator(const Roaring64MapSetBitForwardIte... method Roaring64MapSetBitForwardIterator (line 2721) | Roaring64MapSetBitForwardIterator(const Roaring64Map &parent, FILE: third_party/krl/include/krl.h type KRLDistanceHandle (line 21) | typedef struct KRLBatchDistanceHandle KRLDistanceHandle; type KRLLUT8bHandle (line 63) | typedef struct KRLLookupTable8bitHandle KRLLUT8bHandle; FILE: third_party/krl/include/krl_internal.h type idx_t (line 12) | typedef int64_t idx_t; type KRLDistanceHandle (line 32) | typedef struct KRLBatchDistanceHandle { type KRLLUT8bHandle (line 56) | typedef struct KRLLookupTable8bitHandle { FILE: third_party/krl/include/platform_macros.h function prefetch_L1 (line 21) | inline void prefetch_L1(const void *address) function prefetch_L2 (line 25) | inline void prefetch_L2(const void *address) function prefetch_L3 (line 29) | inline void prefetch_L3(const void *address) function prefetch_Lx (line 33) | inline void prefetch_Lx(const void *address) FILE: third_party/krl/include/safe_memory.h function namespace (line 10) | namespace SafeMemory { FILE: third_party/krl/src/IPdistance_simd.cpp function KRL_IMPRECISE_FUNCTION_BEGIN (line 21) | KRL_IMPRECISE_FUNCTION_BEGIN function KRL_IMPRECISE_FUNCTION_END (line 88) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 148) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 216) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 317) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 498) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 559) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 626) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 722) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 1097) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 1207) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 1272) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 1316) | KRL_IMPRECISE_FUNCTION_END function krl_inner_product_ny (line 1421) | int krl_inner_product_ny(float *dis, const float *x, const float *y, con... function krl_inner_product_ny_with_handle (line 1463) | int krl_inner_product_ny_with_handle( FILE: third_party/krl/src/L2distance_simd.cpp function KRL_IMPRECISE_FUNCTION_BEGIN (line 21) | KRL_IMPRECISE_FUNCTION_BEGIN function KRL_IMPRECISE_FUNCTION_END (line 121) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 222) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 307) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 525) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 923) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 1655) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 1723) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 1808) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 1941) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 2175) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 2503) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 2651) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 2772) | KRL_IMPRECISE_FUNCTION_END function KRL_IMPRECISE_FUNCTION_END (line 2844) | KRL_IMPRECISE_FUNCTION_END function krl_L2sqr_ny (line 3010) | int krl_L2sqr_ny(float *dis, const float *x, const float *y, const size_... function krl_L2sqr_ny_with_handle (line 3056) | int krl_L2sqr_ny_with_handle(const KRLDistanceHandle *kdh, float *dis, c... FILE: third_party/leveldb-1.23/benchmarks/db_bench.cc type leveldb (line 124) | namespace leveldb { class CountComparator (line 129) | class CountComparator : public Comparator { method CountComparator (line 131) | CountComparator(const Comparator* wrapped) : wrapped_(wrapped) {} method Compare (line 133) | int Compare(const Slice& a, const Slice& b) const override { method FindShortestSeparator (line 138) | void FindShortestSeparator(std::string* start, method FindShortSuccessor (line 143) | void FindShortSuccessor(std::string* key) const override { method comparisons (line 147) | size_t comparisons() const { return count_.load(std::memory_order_re... method reset (line 149) | void reset() { count_.store(0, std::memory_order_relaxed); } class RandomGenerator (line 157) | class RandomGenerator { method RandomGenerator (line 163) | RandomGenerator() { method Slice (line 178) | Slice Generate(size_t len) { class KeyBuffer (line 188) | class KeyBuffer { method KeyBuffer (line 190) | KeyBuffer() { method KeyBuffer (line 194) | KeyBuffer& operator=(KeyBuffer& other) = delete; method KeyBuffer (line 195) | KeyBuffer(KeyBuffer& other) = delete; method Set (line 197) | void Set(int k) { method Slice (line 202) | Slice slice() const { return Slice(buffer_, FLAGS_key_prefix + 16); } function Slice (line 209) | static Slice TrimSpace(Slice s) { function AppendWithSpace (line 222) | static void AppendWithSpace(std::string* str, Slice msg) { class Stats (line 230) | class Stats { method Stats (line 243) | Stats() { Start(); } method Start (line 245) | void Start() { method Merge (line 255) | void Merge(const Stats& other) { method Stop (line 267) | void Stop() { method AddMessage (line 272) | void AddMessage(Slice msg) { AppendWithSpace(&message_, msg); } method FinishedSingleOp (line 274) | void FinishedSingleOp() { method AddBytes (line 307) | void AddBytes(int64_t n) { bytes_ += n; } method Report (line 309) | void Report(const Slice& name) { type SharedState (line 338) | struct SharedState { method SharedState (line 353) | SharedState(int total) type ThreadState (line 358) | struct ThreadState { method ThreadState (line 364) | ThreadState(int index, int seed) : tid(index), rand(seed), shared(nu... class Benchmark (line 369) | class Benchmark { method PrintHeader (line 383) | void PrintHeader() { method PrintWarnings (line 403) | void PrintWarnings() { method PrintEnvironment (line 425) | void PrintEnvironment() { method Benchmark (line 462) | Benchmark() method Run (line 493) | void Run() { type ThreadArg (line 612) | struct ThreadArg { method ThreadBody (line 619) | static void ThreadBody(void* v) { method RunBenchmark (line 647) | void RunBenchmark(int n, Slice name, method Crc32c (line 693) | void Crc32c(ThreadState* thread) { method SnappyCompress (line 712) | void SnappyCompress(ThreadState* thread) { method SnappyUncompress (line 737) | void SnappyUncompress(ThreadState* thread) { method Open (line 759) | void Open() { method OpenBench (line 781) | void OpenBench(ThreadState* thread) { method WriteSeq (line 789) | void WriteSeq(ThreadState* thread) { DoWrite(thread, true); } method WriteRandom (line 791) | void WriteRandom(ThreadState* thread) { DoWrite(thread, false); } method DoWrite (line 793) | void DoWrite(ThreadState* thread, bool seq) { method ReadSequential (line 823) | void ReadSequential(ThreadState* thread) { method ReadReverse (line 836) | void ReadReverse(ThreadState* thread) { method ReadRandom (line 849) | void ReadRandom(ThreadState* thread) { method ReadMissing (line 867) | void ReadMissing(ThreadState* thread) { method ReadHot (line 880) | void ReadHot(ThreadState* thread) { method SeekRandom (line 893) | void SeekRandom(ThreadState* thread) { method SeekOrdered (line 911) | void SeekOrdered(ThreadState* thread) { method DoDelete (line 930) | void DoDelete(ThreadState* thread, bool seq) { method DeleteSeq (line 951) | void DeleteSeq(ThreadState* thread) { DoDelete(thread, true); } method DeleteRandom (line 953) | void DeleteRandom(ThreadState* thread) { DoDelete(thread, false); } method ReadWhileWriting (line 955) | void ReadWhileWriting(ThreadState* thread) { method Compact (line 986) | void Compact(ThreadState* thread) { db_->CompactRange(nullptr, nullp... method PrintStats (line 988) | void PrintStats(const char* key) { method WriteToFile (line 996) | static void WriteToFile(void* arg, const char* buf, int n) { method HeapProfile (line 1000) | void HeapProfile() { function main (line 1021) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/benchmarks/db_bench_sqlite3.cc function ExecErrorCheck (line 85) | inline static void ExecErrorCheck(int status, char* err_msg) { function StepErrorCheck (line 93) | inline static void StepErrorCheck(int status) { function ErrorCheck (line 100) | inline static void ErrorCheck(int status) { function WalCheckpoint (line 107) | inline static void WalCheckpoint(sqlite3* db_) { type leveldb (line 115) | namespace leveldb { class RandomGenerator (line 119) | class RandomGenerator { method RandomGenerator (line 125) | RandomGenerator() { method Slice (line 140) | Slice Generate(int len) { function Slice (line 150) | static Slice TrimSpace(Slice s) { class Benchmark (line 164) | class Benchmark { method PrintHeader (line 182) | void PrintHeader() { method PrintWarnings (line 195) | void PrintWarnings() { method PrintEnvironment (line 208) | void PrintEnvironment() { method Start (line 243) | void Start() { method FinishedSingleOp (line 253) | void FinishedSingleOp() { method Stop (line 286) | void Stop(const Slice& name) { type Order (line 315) | enum Order { SEQUENTIAL, RANDOM } type DBState (line 316) | enum DBState { FRESH, EXISTING } method Benchmark (line 318) | Benchmark() method Run (line 346) | void Run() { method Open (line 421) | void Open() { method Write (line 483) | void Write(bool write_sync, Order order, DBState state, int num_entr... method Read (line 586) | void Read(Order order, int entries_per_batch) { method ReadSequential (line 655) | void ReadSequential() { function main (line 674) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/benchmarks/db_bench_tree_db.cc function DBSynchronize (line 75) | inline static void DBSynchronize(kyotocabinet::TreeDB* db_) { type leveldb (line 82) | namespace leveldb { class RandomGenerator (line 86) | class RandomGenerator { method RandomGenerator (line 92) | RandomGenerator() { method Slice (line 107) | Slice Generate(int len) { function Slice (line 117) | static Slice TrimSpace(Slice s) { class Benchmark (line 131) | class Benchmark { method PrintHeader (line 150) | void PrintHeader() { method PrintWarnings (line 170) | void PrintWarnings() { method PrintEnvironment (line 183) | void PrintEnvironment() { method Start (line 221) | void Start() { method FinishedSingleOp (line 231) | void FinishedSingleOp() { method Stop (line 264) | void Stop(const Slice& name) { type Order (line 293) | enum Order { SEQUENTIAL, RANDOM } type DBState (line 294) | enum DBState { FRESH, EXISTING } method Benchmark (line 296) | Benchmark() method Run (line 324) | void Run() { method Open (line 395) | void Open(bool sync) { method Write (line 428) | void Write(bool sync, Order order, DBState state, int num_entries, method ReadSequential (line 462) | void ReadSequential() { method ReadRandom (line 473) | void ReadRandom() { function main (line 487) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/db/autocompact_test.cc type leveldb (line 11) | namespace leveldb { class AutoCompactTest (line 13) | class AutoCompactTest : public testing::Test { method AutoCompactTest (line 15) | AutoCompactTest() { method Key (line 31) | std::string Key(int i) { method Size (line 37) | uint64_t Size(const Slice& start, const Slice& limit) { function TEST_F (line 106) | TEST_F(AutoCompactTest, ReadAll) { DoReads(kCount); } function TEST_F (line 108) | TEST_F(AutoCompactTest, ReadHalf) { DoReads(kCount / 2); } function main (line 112) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/db/builder.cc type leveldb (line 15) | namespace leveldb { function Status (line 17) | Status BuildTable(const std::string& dbname, Env* env, const Options& ... FILE: third_party/leveldb-1.23/db/builder.h function namespace (line 10) | namespace leveldb { FILE: third_party/leveldb-1.23/db/c.cc type leveldb_t (line 49) | struct leveldb_t { type leveldb_iterator_t (line 52) | struct leveldb_iterator_t { type leveldb_writebatch_t (line 55) | struct leveldb_writebatch_t { type leveldb_snapshot_t (line 58) | struct leveldb_snapshot_t { type leveldb_readoptions_t (line 61) | struct leveldb_readoptions_t { type leveldb_writeoptions_t (line 64) | struct leveldb_writeoptions_t { type leveldb_options_t (line 67) | struct leveldb_options_t { type leveldb_cache_t (line 70) | struct leveldb_cache_t { type leveldb_seqfile_t (line 73) | struct leveldb_seqfile_t { type leveldb_randomfile_t (line 76) | struct leveldb_randomfile_t { type leveldb_writablefile_t (line 79) | struct leveldb_writablefile_t { type leveldb_logger_t (line 82) | struct leveldb_logger_t { type leveldb_filelock_t (line 85) | struct leveldb_filelock_t { type leveldb_comparator_t (line 89) | struct leveldb_comparator_t : public Comparator { method Compare (line 92) | int Compare(const Slice& a, const Slice& b) const override { method FindShortestSeparator (line 99) | void FindShortestSeparator(std::string*, const Slice&) const override {} method FindShortSuccessor (line 100) | void FindShortSuccessor(std::string* key) const override {} type leveldb_filterpolicy_t (line 109) | struct leveldb_filterpolicy_t : public FilterPolicy { method CreateFilter (line 114) | void CreateFilter(const Slice* keys, int n, std::string* dst) const ov... method KeyMayMatch (line 127) | bool KeyMayMatch(const Slice& key, const Slice& filter) const override { type leveldb_env_t (line 142) | struct leveldb_env_t { function SaveError (line 147) | static bool SaveError(char** errptr, const Status& s) { function leveldb_t (line 168) | leveldb_t* leveldb_open(const leveldb_options_t* options, const char* name, function leveldb_close (line 179) | void leveldb_close(leveldb_t* db) { function leveldb_put (line 184) | void leveldb_put(leveldb_t* db, const leveldb_writeoptions_t* options, function leveldb_delete (line 191) | void leveldb_delete(leveldb_t* db, const leveldb_writeoptions_t* options, function leveldb_write (line 196) | void leveldb_write(leveldb_t* db, const leveldb_writeoptions_t* options, function leveldb_iterator_t (line 219) | leveldb_iterator_t* leveldb_create_iterator( function leveldb_snapshot_t (line 226) | const leveldb_snapshot_t* leveldb_create_snapshot(leveldb_t* db) { function leveldb_release_snapshot (line 232) | void leveldb_release_snapshot(leveldb_t* db, function leveldb_approximate_sizes (line 248) | void leveldb_approximate_sizes(leveldb_t* db, int num_ranges, function leveldb_compact_range (line 263) | void leveldb_compact_range(leveldb_t* db, const char* start_key, function leveldb_destroy_db (line 273) | void leveldb_destroy_db(const leveldb_options_t* options, const char* name, function leveldb_repair_db (line 278) | void leveldb_repair_db(const leveldb_options_t* options, const char* name, function leveldb_iter_destroy (line 283) | void leveldb_iter_destroy(leveldb_iterator_t* iter) { function leveldb_iter_valid (line 288) | uint8_t leveldb_iter_valid(const leveldb_iterator_t* iter) { function leveldb_iter_seek_to_first (line 292) | void leveldb_iter_seek_to_first(leveldb_iterator_t* iter) { function leveldb_iter_seek_to_last (line 296) | void leveldb_iter_seek_to_last(leveldb_iterator_t* iter) { function leveldb_iter_seek (line 300) | void leveldb_iter_seek(leveldb_iterator_t* iter, const char* k, size_t k... function leveldb_iter_next (line 304) | void leveldb_iter_next(leveldb_iterator_t* iter) { iter->rep->Next(); } function leveldb_iter_prev (line 306) | void leveldb_iter_prev(leveldb_iterator_t* iter) { iter->rep->Prev(); } function leveldb_iter_get_error (line 320) | void leveldb_iter_get_error(const leveldb_iterator_t* iter, char** errpt... function leveldb_writebatch_t (line 324) | leveldb_writebatch_t* leveldb_writebatch_create() { function leveldb_writebatch_destroy (line 328) | void leveldb_writebatch_destroy(leveldb_writebatch_t* b) { delete b; } function leveldb_writebatch_clear (line 330) | void leveldb_writebatch_clear(leveldb_writebatch_t* b) { b->rep.Clear(); } function leveldb_writebatch_put (line 332) | void leveldb_writebatch_put(leveldb_writebatch_t* b, const char* key, function leveldb_writebatch_delete (line 337) | void leveldb_writebatch_delete(leveldb_writebatch_t* b, const char* key, function leveldb_writebatch_iterate (line 342) | void leveldb_writebatch_iterate(const leveldb_writebatch_t* b, void* state, function leveldb_writebatch_append (line 366) | void leveldb_writebatch_append(leveldb_writebatch_t* destination, function leveldb_options_t (line 371) | leveldb_options_t* leveldb_options_create() { return new leveldb_options... function leveldb_options_destroy (line 373) | void leveldb_options_destroy(leveldb_options_t* options) { delete option... function leveldb_options_set_comparator (line 375) | void leveldb_options_set_comparator(leveldb_options_t* opt, function leveldb_options_set_filter_policy (line 380) | void leveldb_options_set_filter_policy(leveldb_options_t* opt, function leveldb_options_set_create_if_missing (line 385) | void leveldb_options_set_create_if_missing(leveldb_options_t* opt, uint8... function leveldb_options_set_error_if_exists (line 389) | void leveldb_options_set_error_if_exists(leveldb_options_t* opt, uint8_t... function leveldb_options_set_paranoid_checks (line 393) | void leveldb_options_set_paranoid_checks(leveldb_options_t* opt, uint8_t... function leveldb_options_set_env (line 397) | void leveldb_options_set_env(leveldb_options_t* opt, leveldb_env_t* env) { function leveldb_options_set_info_log (line 401) | void leveldb_options_set_info_log(leveldb_options_t* opt, leveldb_logger... function leveldb_options_set_write_buffer_size (line 405) | void leveldb_options_set_write_buffer_size(leveldb_options_t* opt, size_... function leveldb_options_set_max_open_files (line 409) | void leveldb_options_set_max_open_files(leveldb_options_t* opt, int n) { function leveldb_options_set_cache (line 413) | void leveldb_options_set_cache(leveldb_options_t* opt, leveldb_cache_t* ... function leveldb_options_set_block_size (line 417) | void leveldb_options_set_block_size(leveldb_options_t* opt, size_t s) { function leveldb_options_set_block_restart_interval (line 421) | void leveldb_options_set_block_restart_interval(leveldb_options_t* opt, ... function leveldb_options_set_max_file_size (line 425) | void leveldb_options_set_max_file_size(leveldb_options_t* opt, size_t s) { function leveldb_options_set_compression (line 429) | void leveldb_options_set_compression(leveldb_options_t* opt, int t) { function leveldb_comparator_t (line 433) | leveldb_comparator_t* leveldb_comparator_create( method Compare (line 92) | int Compare(const Slice& a, const Slice& b) const override { method FindShortestSeparator (line 99) | void FindShortestSeparator(std::string*, const Slice&) const override {} method FindShortSuccessor (line 100) | void FindShortSuccessor(std::string* key) const override {} function leveldb_comparator_destroy (line 446) | void leveldb_comparator_destroy(leveldb_comparator_t* cmp) { delete cmp; } function leveldb_filterpolicy_t (line 448) | leveldb_filterpolicy_t* leveldb_filterpolicy_create( method CreateFilter (line 114) | void CreateFilter(const Slice* keys, int n, std::string* dst) const ov... method KeyMayMatch (line 127) | bool KeyMayMatch(const Slice& key, const Slice& filter) const override { function leveldb_filterpolicy_destroy (line 465) | void leveldb_filterpolicy_destroy(leveldb_filterpolicy_t* filter) { function leveldb_filterpolicy_t (line 469) | leveldb_filterpolicy_t* leveldb_filterpolicy_create_bloom(int bits_per_k... method CreateFilter (line 114) | void CreateFilter(const Slice* keys, int n, std::string* dst) const ov... method KeyMayMatch (line 127) | bool KeyMayMatch(const Slice& key, const Slice& filter) const override { function leveldb_readoptions_t (line 494) | leveldb_readoptions_t* leveldb_readoptions_create() { function leveldb_readoptions_destroy (line 498) | void leveldb_readoptions_destroy(leveldb_readoptions_t* opt) { delete op... function leveldb_readoptions_set_verify_checksums (line 500) | void leveldb_readoptions_set_verify_checksums(leveldb_readoptions_t* opt, function leveldb_readoptions_set_fill_cache (line 505) | void leveldb_readoptions_set_fill_cache(leveldb_readoptions_t* opt, uint... function leveldb_readoptions_set_snapshot (line 509) | void leveldb_readoptions_set_snapshot(leveldb_readoptions_t* opt, function leveldb_writeoptions_t (line 514) | leveldb_writeoptions_t* leveldb_writeoptions_create() { function leveldb_writeoptions_destroy (line 518) | void leveldb_writeoptions_destroy(leveldb_writeoptions_t* opt) { delete ... function leveldb_writeoptions_set_sync (line 520) | void leveldb_writeoptions_set_sync(leveldb_writeoptions_t* opt, uint8_t ... function leveldb_cache_t (line 524) | leveldb_cache_t* leveldb_cache_create_lru(size_t capacity) { function leveldb_cache_destroy (line 530) | void leveldb_cache_destroy(leveldb_cache_t* cache) { function leveldb_env_t (line 535) | leveldb_env_t* leveldb_create_default_env() { function leveldb_env_destroy (line 542) | void leveldb_env_destroy(leveldb_env_t* env) { function leveldb_free (line 559) | void leveldb_free(void* ptr) { std::free(ptr); } function leveldb_major_version (line 561) | int leveldb_major_version() { return kMajorVersion; } function leveldb_minor_version (line 563) | int leveldb_minor_version() { return kMinorVersion; } FILE: third_party/leveldb-1.23/db/c_test.c function StartPhase (line 14) | static void StartPhase(const char* name) { function CheckEqual (line 31) | static void CheckEqual(const char* expected, const char* v, size_t n) { function Free (line 47) | static void Free(char** ptr) { function CheckGet (line 54) | static void CheckGet( function CheckIter (line 68) | static void CheckIter(leveldb_iterator_t* iter, function CheckPut (line 79) | static void CheckPut(void* ptr, function CheckDel (line 98) | static void CheckDel(void* ptr, const char* k, size_t klen) { function CmpDestroy (line 105) | static void CmpDestroy(void* arg) { } function CmpCompare (line 107) | static int CmpCompare(void* arg, const char* a, size_t alen, function FilterDestroy (line 124) | static void FilterDestroy(void* arg) { } function FilterKeyMatch (line 138) | uint8_t FilterKeyMatch(void* arg, const char* key, size_t length, function main (line 145) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/db/corruption_test.cc type leveldb (line 19) | namespace leveldb { class CorruptionTest (line 23) | class CorruptionTest : public testing::Test { method CorruptionTest (line 25) | CorruptionTest() method Status (line 43) | Status TryReopen() { method Reopen (line 49) | void Reopen() { ASSERT_LEVELDB_OK(TryReopen()); } method RepairDB (line 51) | void RepairDB() { method Build (line 57) | void Build(int n) { method Check (line 75) | void Check(int min_expected, int max_expected) { method Corrupt (line 113) | void Corrupt(FileType filetype, int offset, int bytes_to_corrupt) { method Property (line 159) | int Property(const std::string& name) { method Slice (line 171) | Slice Key(int i, std::string* storage) { method Slice (line 179) | Slice Value(int k, std::string* storage) { function TEST_F (line 193) | TEST_F(CorruptionTest, Recovery) { function TEST_F (line 204) | TEST_F(CorruptionTest, RecoverWriteError) { function TEST_F (line 210) | TEST_F(CorruptionTest, NewFileErrorDuringWrite) { function TEST_F (line 227) | TEST_F(CorruptionTest, TableFile) { function TEST_F (line 238) | TEST_F(CorruptionTest, TableFileRepair) { function TEST_F (line 254) | TEST_F(CorruptionTest, TableFileIndexData) { function TEST_F (line 264) | TEST_F(CorruptionTest, MissingDescriptor) { function TEST_F (line 271) | TEST_F(CorruptionTest, SequenceNumberRecovery) { function TEST_F (line 292) | TEST_F(CorruptionTest, CorruptedDescriptor) { function TEST_F (line 309) | TEST_F(CorruptionTest, CompactionInputError) { function TEST_F (line 324) | TEST_F(CorruptionTest, CompactionInputErrorParanoid) { function TEST_F (line 345) | TEST_F(CorruptionTest, UnrelatedKeys) { function main (line 364) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/db/db_impl.cc type leveldb (line 38) | namespace leveldb { type DBImpl::Writer (line 43) | struct DBImpl::Writer { method Writer (line 44) | explicit Writer(port::Mutex* mu) type DBImpl::CompactionState (line 54) | struct DBImpl::CompactionState { type Output (line 56) | struct Output { method Output (line 62) | Output* current_output() { return &outputs[outputs.size() - 1]; } method CompactionState (line 64) | explicit CompactionState(Compaction* c) function ClipToRange (line 90) | static void ClipToRange(T* ptr, V minvalue, V maxvalue) { function Options (line 94) | Options SanitizeOptions(const std::string& dbname, function TableCacheSize (line 121) | static int TableCacheSize(const Options& sanitized_options) { function Status (line 181) | Status DBImpl::NewDB() { function Status (line 292) | Status DBImpl::Recover(VersionEdit* edit, bool* save_manifest) { function Status (line 385) | Status DBImpl::RecoverLogFile(uint64_t log_number, bool last_log, function Status (line 505) | Status DBImpl::WriteLevel0Table(MemTable* mem, VersionEdit* edit, function Status (line 638) | Status DBImpl::TEST_CompactMemTable() { function Status (line 800) | Status DBImpl::OpenCompactionOutputFile(CompactionState* compact) { function Status (line 825) | Status DBImpl::FinishCompactionOutputFile(CompactionState* compact, function Status (line 874) | Status DBImpl::InstallCompactionResults(CompactionState* compact) { function Status (line 892) | Status DBImpl::DoCompactionWork(CompactionState* compact) { type IterState (line 1055) | struct IterState { method IterState (line 1061) | IterState(port::Mutex* mutex, MemTable* mem, MemTable* imm, Version*... function CleanupIteratorState (line 1065) | static void CleanupIteratorState(void* arg1, void* arg2) { function Iterator (line 1077) | Iterator* DBImpl::NewInternalIterator(const ReadOptions& options, function Iterator (line 1104) | Iterator* DBImpl::TEST_NewInternalIterator() { function Status (line 1115) | Status DBImpl::Get(const ReadOptions& options, const Slice& key, function Iterator (line 1162) | Iterator* DBImpl::NewIterator(const ReadOptions& options) { function Snapshot (line 1181) | const Snapshot* DBImpl::GetSnapshot() { function Status (line 1192) | Status DBImpl::Put(const WriteOptions& o, const Slice& key, const Slic... function Status (line 1196) | Status DBImpl::Delete(const WriteOptions& options, const Slice& key) { function Status (line 1200) | Status DBImpl::Write(const WriteOptions& options, WriteBatch* updates) { function WriteBatch (line 1275) | WriteBatch* DBImpl::BuildBatchGroup(Writer** last_writer) { function Status (line 1325) | Status DBImpl::MakeRoomForWrite(bool force) { function Status (line 1469) | Status DB::Put(const WriteOptions& opt, const Slice& key, const Slice&... function Status (line 1475) | Status DB::Delete(const WriteOptions& opt, const Slice& key) { function Status (line 1483) | Status DB::Open(const Options& options, const std::string& dbname, DB*... function Status (line 1528) | Status DestroyDB(const std::string& dbname, const Options& options) { FILE: third_party/leveldb-1.23/db/db_impl.h function namespace (line 21) | namespace leveldb { FILE: third_party/leveldb-1.23/db/db_iter.cc type leveldb (line 17) | namespace leveldb { function DumpInternalIter (line 20) | static void DumpInternalIter(Iterator* iter) { class DBIter (line 39) | class DBIter : public Iterator { type Direction (line 46) | enum Direction { kForward, kReverse } method DBIter (line 48) | DBIter(DBImpl* db, const Comparator* cmp, Iterator* iter, SequenceNu... method DBIter (line 59) | DBIter(const DBIter&) = delete; method DBIter (line 60) | DBIter& operator=(const DBIter&) = delete; method Valid (line 63) | bool Valid() const override { return valid_; } method Slice (line 64) | Slice key() const override { method Slice (line 68) | Slice value() const override { method Status (line 72) | Status status() const override { method SaveKey (line 91) | inline void SaveKey(const Slice& k, std::string* dst) { method ClearSavedValue (line 95) | inline void ClearSavedValue() { method RandomCompactionPeriod (line 105) | size_t RandomCompactionPeriod() { function Iterator (line 312) | Iterator* NewDBIterator(DBImpl* db, const Comparator* user_key_compara... FILE: third_party/leveldb-1.23/db/db_iter.h function namespace (line 13) | namespace leveldb { FILE: third_party/leveldb-1.23/db/db_test.cc type leveldb (line 28) | namespace leveldb { function RandomString (line 30) | static std::string RandomString(Random* rnd, int len) { function RandomKey (line 36) | static std::string RandomKey(Random* rnd) { class AtomicCounter (line 44) | class AtomicCounter { method AtomicCounter (line 46) | AtomicCounter() : count_(0) {} method Increment (line 47) | void Increment() { IncrementBy(1); } method LOCKS_EXCLUDED (line 48) | LOCKS_EXCLUDED(mu_) { method LOCKS_EXCLUDED (line 52) | int Read() LOCKS_EXCLUDED(mu_) { method LOCKS_EXCLUDED (line 56) | void Reset() LOCKS_EXCLUDED(mu_) { function DelayMilliseconds (line 66) | void DelayMilliseconds(int millis) { class TestEnv (line 72) | class TestEnv : public EnvWrapper { method TestEnv (line 74) | explicit TestEnv(Env* base) : EnvWrapper(base), ignore_dot_files_(fa... method SetIgnoreDotFiles (line 76) | void SetIgnoreDotFiles(bool ignored) { ignore_dot_files_ = ignored; } method Status (line 78) | Status GetChildren(const std::string& dir, class SpecialEnv (line 102) | class SpecialEnv : public EnvWrapper { method SpecialEnv (line 125) | explicit SpecialEnv(Env* base) method Status (line 135) | Status NewWritableFile(const std::string& f, WritableFile** r) { method Status (line 206) | Status NewRandomAccessFile(const std::string& f, RandomAccessFile** ... class DBTest (line 231) | class DBTest : public testing::Test { method DBTest (line 239) | DBTest() : env_(new SpecialEnv(Env::Default())), option_config_(kDef... method ChangeOptions (line 256) | bool ChangeOptions() { method Options (line 267) | Options CurrentOptions() { method DBImpl (line 286) | DBImpl* dbfull() { return reinterpret_cast(db_); } method Reopen (line 288) | void Reopen(Options* options = nullptr) { method Close (line 292) | void Close() { method DestroyAndReopen (line 297) | void DestroyAndReopen(Options* options = nullptr) { method Status (line 304) | Status TryReopen(Options* options) { method Status (line 319) | Status Put(const std::string& k, const std::string& v) { method Status (line 323) | Status Delete(const std::string& k) { return db_->Delete(WriteOption... method Get (line 325) | std::string Get(const std::string& k, const Snapshot* snapshot = nul... method Contents (line 340) | std::string Contents() { method AllEntriesFor (line 365) | std::string AllEntriesFor(const Slice& user_key) { method NumTableFilesAtLevel (line 407) | int NumTableFilesAtLevel(int level) { method TotalTableFiles (line 414) | int TotalTableFiles() { method FilesPerLevel (line 423) | std::string FilesPerLevel() { method CountFiles (line 439) | int CountFiles() { method Size (line 445) | uint64_t Size(const Slice& start, const Slice& limit) { method Compact (line 452) | void Compact(const Slice& start, const Slice& limit) { method MakeTables (line 458) | void MakeTables(int n, const std::string& small_key, method FillLevels (line 469) | void FillLevels(const std::string& smallest, const std::string& larg... method DumpFileCounts (line 473) | void DumpFileCounts(const char* label) { method DumpSSTableList (line 486) | std::string DumpSSTableList() { method IterStatus (line 492) | std::string IterStatus(Iterator* iter) { method DeleteAnSSTFile (line 502) | bool DeleteAnSSTFile() { method RenameLDBToSST (line 517) | int RenameLDBToSST() { type OptionConfig (line 536) | enum OptionConfig { kDefault, kReuse, kFilter, kUncompressed, kEnd } function TEST_F (line 542) | TEST_F(DBTest, Empty) { function TEST_F (line 549) | TEST_F(DBTest, EmptyKey) { function TEST_F (line 558) | TEST_F(DBTest, EmptyValue) { function TEST_F (line 569) | TEST_F(DBTest, ReadWrite) { function TEST_F (line 580) | TEST_F(DBTest, PutDeleteGet) { function TEST_F (line 591) | TEST_F(DBTest, GetFromImmutableLayer) { function TEST_F (line 611) | TEST_F(DBTest, GetFromVersions) { function TEST_F (line 619) | TEST_F(DBTest, GetMemUsage) { function TEST_F (line 630) | TEST_F(DBTest, GetSnapshot) { function TEST_F (line 648) | TEST_F(DBTest, GetIdenticalSnapshots) { function TEST_F (line 673) | TEST_F(DBTest, IterateOverEmptySnapshot) { function TEST_F (line 697) | TEST_F(DBTest, GetLevel0Ordering) { function TEST_F (line 712) | TEST_F(DBTest, GetOrderedByLevels) { function TEST_F (line 724) | TEST_F(DBTest, GetPicksCorrectFile) { function TEST_F (line 739) | TEST_F(DBTest, GetEncountersEmptyLevel) { function TEST_F (line 777) | TEST_F(DBTest, IterEmpty) { function TEST_F (line 792) | TEST_F(DBTest, IterSingle) { function TEST_F (line 830) | TEST_F(DBTest, IterMulti) { function TEST_F (line 913) | TEST_F(DBTest, IterSmallAndLargeMix) { function TEST_F (line 951) | TEST_F(DBTest, IterMultiWithDelete) { function TEST_F (line 968) | TEST_F(DBTest, IterMultiWithDeleteAndCompaction) { function TEST_F (line 988) | TEST_F(DBTest, Recover) { function TEST_F (line 1010) | TEST_F(DBTest, RecoveryWithEmptyLog) { function TEST_F (line 1024) | TEST_F(DBTest, RecoverDuringMemtableCompaction) { function Key (line 1047) | static std::string Key(int i) { function TEST_F (line 1053) | TEST_F(DBTest, MinorCompactionsHappen) { function TEST_F (line 1078) | TEST_F(DBTest, RecoverWithLargeLog) { function TEST_F (line 1102) | TEST_F(DBTest, CompactionsGenerateMultipleFiles) { function TEST_F (line 1128) | TEST_F(DBTest, RepeatedWritesToSameKey) { function TEST_F (line 1147) | TEST_F(DBTest, SparseMerge) { function Between (line 1187) | static bool Between(uint64_t val, uint64_t low, uint64_t high) { function TEST_F (line 1197) | TEST_F(DBTest, ApproximateSizes) { function TEST_F (line 1256) | TEST_F(DBTest, ApproximateSizes_MixOfSmallAndLarge) { function TEST_F (line 1299) | TEST_F(DBTest, IteratorPinsRef) { function TEST_F (line 1322) | TEST_F(DBTest, Snapshot) { function TEST_F (line 1351) | TEST_F(DBTest, HiddenValuesAreRemoved) { function TEST_F (line 1382) | TEST_F(DBTest, DeletionMarkers1) { function TEST_F (line 1411) | TEST_F(DBTest, DeletionMarkers2) { function TEST_F (line 1437) | TEST_F(DBTest, OverlapInLevel0) { function TEST_F (line 1479) | TEST_F(DBTest, L0_CompactionBug_Issue44_a) { function TEST_F (line 1496) | TEST_F(DBTest, L0_CompactionBug_Issue44_b) { function TEST_F (line 1522) | TEST_F(DBTest, Fflush_Issue474) { function TEST_F (line 1531) | TEST_F(DBTest, ComparatorCheck) { function TEST_F (line 1554) | TEST_F(DBTest, CustomComparator) { function TEST_F (line 1610) | TEST_F(DBTest, ManualCompaction) { function TEST_F (line 1644) | TEST_F(DBTest, DBOpen_Options) { function TEST_F (line 1683) | TEST_F(DBTest, DestroyEmptyDir) { function TEST_F (line 1711) | TEST_F(DBTest, DestroyOpenDB) { function TEST_F (line 1735) | TEST_F(DBTest, Locking) { function TEST_F (line 1742) | TEST_F(DBTest, NoSpace) { function TEST_F (line 1762) | TEST_F(DBTest, NonWritableFileSystem) { function TEST_F (line 1783) | TEST_F(DBTest, WriteSyncError) { function TEST_F (line 1814) | TEST_F(DBTest, ManifestWriteError) { function TEST_F (line 1854) | TEST_F(DBTest, MissingSSTFile) { function TEST_F (line 1871) | TEST_F(DBTest, StillReadSST) { function TEST_F (line 1887) | TEST_F(DBTest, FilesDeletedAfterCompaction) { function TEST_F (line 1898) | TEST_F(DBTest, BloomFilter) { type MTState (line 1952) | struct MTState { type MTThread (line 1959) | struct MTThread { function MTThreadBody (line 1964) | static void MTThreadBody(void* arg) { function TEST_F (line 2010) | TEST_F(DBTest, MultiThreaded) { class ModelDB (line 2046) | class ModelDB : public DB { class ModelSnapshot (line 2048) | class ModelSnapshot : public Snapshot { method ModelDB (line 2053) | explicit ModelDB(const Options& options) : options_(options) {} method Status (line 2055) | Status Put(const WriteOptions& o, const Slice& k, const Slice& v) ov... method Status (line 2058) | Status Delete(const WriteOptions& o, const Slice& key) override { method Status (line 2061) | Status Get(const ReadOptions& options, const Slice& key, method Iterator (line 2066) | Iterator* NewIterator(const ReadOptions& options) override { method Snapshot (line 2077) | const Snapshot* GetSnapshot() override { method ReleaseSnapshot (line 2083) | void ReleaseSnapshot(const Snapshot* snapshot) override { method Status (line 2086) | Status Write(const WriteOptions& options, WriteBatch* batch) override { method GetProperty (line 2100) | bool GetProperty(const Slice& property, std::string* value) override { method GetApproximateSizes (line 2103) | void GetApproximateSizes(const Range* r, int n, uint64_t* sizes) ove... method CompactRange (line 2108) | void CompactRange(const Slice* start, const Slice* end) override {} class ModelIter (line 2111) | class ModelIter : public Iterator { method ModelIter (line 2113) | ModelIter(const KVMap* map, bool owned) method Valid (line 2118) | bool Valid() const override { return iter_ != map_->end(); } method SeekToFirst (line 2119) | void SeekToFirst() override { iter_ = map_->begin(); } method SeekToLast (line 2120) | void SeekToLast() override { method Seek (line 2127) | void Seek(const Slice& k) override { method Next (line 2130) | void Next() override { ++iter_; } method Prev (line 2131) | void Prev() override { --iter_; } method Slice (line 2132) | Slice key() const override { return iter_->first; } method Slice (line 2133) | Slice value() const override { return iter_->second; } method Status (line 2134) | Status status() const override { return Status::OK(); } function CompareIterators (line 2145) | static bool CompareIterators(int step, DB* model, DB* db, function TEST_F (line 2230) | TEST_F(DBTest, Randomized) { function MakeKey (line 2298) | std::string MakeKey(unsigned int num) { function BM_LogAndApply (line 2304) | static void BM_LogAndApply(benchmark::State& state) { function main (line 2362) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/db/dbformat.cc type leveldb (line 13) | namespace leveldb { function PackSequenceAndType (line 15) | static uint64_t PackSequenceAndType(uint64_t seq, ValueType t) { function AppendInternalKey (line 21) | void AppendInternalKey(std::string* result, const ParsedInternalKey& k... FILE: third_party/leveldb-1.23/db/dbformat.h function namespace (line 20) | namespace leveldb { FILE: third_party/leveldb-1.23/db/dbformat_test.cc type leveldb (line 10) | namespace leveldb { function IKey (line 12) | static std::string IKey(const std::string& user_key, uint64_t seq, function Shorten (line 19) | static std::string Shorten(const std::string& s, const std::string& l) { function ShortSuccessor (line 25) | static std::string ShortSuccessor(const std::string& s) { function TestKey (line 31) | static void TestKey(const std::string& key, uint64_t seq, ValueType vt) { function TEST (line 45) | TEST(FormatTest, InternalKey_EncodeDecode) { function TEST (line 67) | TEST(FormatTest, InternalKey_DecodeFromEmpty) { function TEST (line 73) | TEST(FormatTest, InternalKeyShortSeparator) { function TEST (line 107) | TEST(FormatTest, InternalKeyShortestSuccessor) { function TEST (line 114) | TEST(FormatTest, ParsedInternalKeyDebugString) { function TEST (line 120) | TEST(FormatTest, InternalKeyDebugString) { function main (line 130) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/db/dumpfile.cc type leveldb (line 22) | namespace leveldb { function GuessType (line 26) | bool GuessType(const std::string& fname, FileType* type) { class CorruptionReporter (line 39) | class CorruptionReporter : public log::Reader::Reporter { method Corruption (line 41) | void Corruption(size_t bytes, const Status& status) override { function Status (line 54) | Status PrintLogContents(Env* env, const std::string& fname, class WriteBatchItemPrinter (line 75) | class WriteBatchItemPrinter : public WriteBatch::Handler { method Put (line 77) | void Put(const Slice& key, const Slice& value) override { method Delete (line 85) | void Delete(const Slice& key) override { function WriteBatchPrinter (line 97) | static void WriteBatchPrinter(uint64_t pos, Slice record, WritableFile... function Status (line 122) | Status DumpLog(Env* env, const std::string& fname, WritableFile* dst) { function VersionEditPrinter (line 128) | static void VersionEditPrinter(uint64_t pos, Slice record, WritableFil... function Status (line 143) | Status DumpDescriptor(Env* env, const std::string& fname, WritableFile... function Status (line 147) | Status DumpTable(Env* env, const std::string& fname, WritableFile* dst) { function Status (line 214) | Status DumpFile(Env* env, const std::string& fname, WritableFile* dst) { FILE: third_party/leveldb-1.23/db/fault_injection_test.cc type leveldb (line 28) | namespace leveldb { class FaultInjectionTestEnv (line 34) | class FaultInjectionTestEnv method FaultInjectionTestEnv (line 129) | FaultInjectionTestEnv() method LOCKS_EXCLUDED (line 150) | LOCKS_EXCLUDED(mutex_) { method LOCKS_EXCLUDED (line 154) | LOCKS_EXCLUDED(mutex_) { function GetDirName (line 39) | static std::string GetDirName(const std::string& filename) { function Status (line 48) | Status SyncDir(const std::string& dir) { function Status (line 54) | Status Truncate(const std::string& filename, uint64_t length) { type FileState (line 85) | struct FileState { method FileState (line 91) | FileState(const std::string& filename) method FileState (line 97) | FileState() : pos_(-1), pos_at_last_sync_(-1), pos_at_last_flush_(-1... method IsFullySynced (line 99) | bool IsFullySynced() const { return pos_ <= 0 || pos_ == pos_at_last... class TestWritableFile (line 108) | class TestWritableFile : public WritableFile { class FaultInjectionTestEnv (line 127) | class FaultInjectionTestEnv : public EnvWrapper { method FaultInjectionTestEnv (line 129) | FaultInjectionTestEnv() method LOCKS_EXCLUDED (line 150) | LOCKS_EXCLUDED(mutex_) { method LOCKS_EXCLUDED (line 154) | LOCKS_EXCLUDED(mutex_) { function Status (line 179) | Status TestWritableFile::Append(const Slice& data) { function Status (line 187) | Status TestWritableFile::Close() { function Status (line 196) | Status TestWritableFile::Flush() { function Status (line 204) | Status TestWritableFile::SyncParent() { function Status (line 212) | Status TestWritableFile::Sync() { function Status (line 230) | Status FaultInjectionTestEnv::NewWritableFile(const std::string& fname, function Status (line 248) | Status FaultInjectionTestEnv::NewAppendableFile(const std::string& fname, function Status (line 268) | Status FaultInjectionTestEnv::DropUnsyncedFileData() { function Status (line 301) | Status FaultInjectionTestEnv::RemoveFile(const std::string& f) { function Status (line 310) | Status FaultInjectionTestEnv::RenameFile(const std::string& s, function Status (line 338) | Status FaultInjectionTestEnv::RemoveFilesCreatedAfterLastDirSync() { function Status (line 359) | Status FileState::DropUnsyncedData() const { class FaultInjectionTest (line 364) | class FaultInjectionTest : public testing::Test { type ExpectedVerifResult (line 366) | enum ExpectedVerifResult { VAL_EXPECT_NO_ERROR, VAL_EXPECT_ERROR } type ResetMethod (line 367) | enum ResetMethod { RESET_DROP_UNSYNCED_DATA, RESET_DELETE_UNSYNCED_F... method FaultInjectionTest (line 375) | FaultInjectionTest() method ReuseLogs (line 395) | void ReuseLogs(bool reuse) { options_.reuse_logs = reuse; } method Build (line 397) | void Build(int start_idx, int num_vals) { method Status (line 409) | Status ReadValue(int i, std::string* val) const { method Status (line 417) | Status Verify(int start_idx, int num_vals, method Slice (line 440) | Slice Key(int i, std::string* storage) const { method Slice (line 448) | Slice Value(int k, std::string* storage) const { method Status (line 453) | Status OpenDB() { method CloseDB (line 460) | void CloseDB() { method DeleteAllData (line 465) | void DeleteAllData() { method ResetDBState (line 474) | void ResetDBState(ResetMethod reset_method) { method PartialCompactTestPreFault (line 487) | void PartialCompactTestPreFault(int num_pre_sync, int num_post_sync) { method PartialCompactTestReopenWithFault (line 494) | void PartialCompactTestReopenWithFault(ResetMethod reset_method, method NoWriteTestPreFault (line 506) | void NoWriteTestPreFault() {} method NoWriteTestReopenWithFault (line 508) | void NoWriteTestReopenWithFault(ResetMethod reset_method) { method DoTest (line 514) | void DoTest() { function TEST_F (line 540) | TEST_F(FaultInjectionTest, FaultTestNoLogReuse) { function TEST_F (line 545) | TEST_F(FaultInjectionTest, FaultTestWithLogReuse) { function main (line 552) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/db/filename.cc type leveldb (line 14) | namespace leveldb { function MakeFileName (line 20) | static std::string MakeFileName(const std::string& dbname, uint64_t nu... function LogFileName (line 28) | std::string LogFileName(const std::string& dbname, uint64_t number) { function TableFileName (line 33) | std::string TableFileName(const std::string& dbname, uint64_t number) { function SSTTableFileName (line 38) | std::string SSTTableFileName(const std::string& dbname, uint64_t numbe... function DescriptorFileName (line 43) | std::string DescriptorFileName(const std::string& dbname, uint64_t num... function CurrentFileName (line 51) | std::string CurrentFileName(const std::string& dbname) { function LockFileName (line 55) | std::string LockFileName(const std::string& dbname) { return dbname + ... function TempFileName (line 57) | std::string TempFileName(const std::string& dbname, uint64_t number) { function InfoLogFileName (line 62) | std::string InfoLogFileName(const std::string& dbname) { function OldInfoLogFileName (line 67) | std::string OldInfoLogFileName(const std::string& dbname) { function ParseFileName (line 78) | bool ParseFileName(const std::string& filename, uint64_t* number, function Status (line 123) | Status SetCurrentFile(Env* env, const std::string& dbname, FILE: third_party/leveldb-1.23/db/filename.h function namespace (line 17) | namespace leveldb { FILE: third_party/leveldb-1.23/db/filename_test.cc type leveldb (line 12) | namespace leveldb { function TEST (line 14) | TEST(FileNameTest, Parse) { function TEST (line 73) | TEST(FileNameTest, Construction) { function main (line 129) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/db/leveldbutil.cc type leveldb (line 11) | namespace leveldb { class StdoutPrinter (line 14) | class StdoutPrinter : public WritableFile { method Status (line 16) | Status Append(const Slice& data) override { method Status (line 20) | Status Close() override { return Status::OK(); } method Status (line 21) | Status Flush() override { return Status::OK(); } method Status (line 22) | Status Sync() override { return Status::OK(); } function HandleDumpCommand (line 25) | bool HandleDumpCommand(Env* env, char** files, int num) { function Usage (line 41) | static void Usage() { function main (line 48) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/db/log_format.h function namespace (line 11) | namespace leveldb { FILE: third_party/leveldb-1.23/db/log_reader.cc type leveldb (line 13) | namespace leveldb { type log (line 14) | namespace log { FILE: third_party/leveldb-1.23/db/log_reader.h function namespace (line 14) | namespace leveldb { FILE: third_party/leveldb-1.23/db/log_test.cc type leveldb (line 13) | namespace leveldb { type log (line 14) | namespace log { function BigString (line 18) | static std::string BigString(const std::string& partial_string, size... function NumberString (line 28) | static std::string NumberString(int n) { function RandomSkewedString (line 35) | static std::string RandomSkewedString(int i, Random* rnd) { class LogTest (line 39) | class LogTest : public testing::Test { method LogTest (line 41) | LogTest() method ReopenForAppend (line 52) | void ReopenForAppend() { method Write (line 57) | void Write(const std::string& msg) { method WrittenBytes (line 62) | size_t WrittenBytes() const { return dest_.contents_.size(); } method Read (line 64) | std::string Read() { method IncrementByte (line 78) | void IncrementByte(int offset, int delta) { method SetByte (line 82) | void SetByte(int offset, char new_byte) { method ShrinkSize (line 86) | void ShrinkSize(int bytes) { method FixChecksum (line 90) | void FixChecksum(int header_offset, int len) { method ForceError (line 97) | void ForceError() { source_.force_error_ = true; } method DroppedBytes (line 99) | size_t DroppedBytes() const { return report_.dropped_bytes_; } method ReportMessage (line 101) | std::string ReportMessage() const { return report_.message_; } method MatchError (line 104) | std::string MatchError(const std::string& msg) const { method WriteInitialOffsetLog (line 112) | void WriteInitialOffsetLog() { method StartReadingAt (line 120) | void StartReadingAt(uint64_t initial_offset) { method CheckOffsetPastEndReturnsNoRecords (line 125) | void CheckOffsetPastEndReturnsNoRecords(uint64_t offset_past_end) { method CheckInitialOffsetRecord (line 137) | void CheckInitialOffsetRecord(uint64_t initial_offset, class StringDest (line 162) | class StringDest : public WritableFile { method Status (line 164) | Status Close() override { return Status::OK(); } method Status (line 165) | Status Flush() override { return Status::OK(); } method Status (line 166) | Status Sync() override { return Status::OK(); } method Status (line 167) | Status Append(const Slice& slice) override { class StringSource (line 175) | class StringSource : public SequentialFile { method StringSource (line 177) | StringSource() : force_error_(false), returned_partial_(false) {} method Status (line 179) | Status Read(size_t n, Slice* result, char* scratch) override { method Status (line 197) | Status Skip(uint64_t n) override { class ReportCollector (line 213) | class ReportCollector : public Reader::Reporter { method ReportCollector (line 215) | ReportCollector() : dropped_bytes_(0) {} method Corruption (line 216) | void Corruption(size_t bytes, const Status& status) override { function TEST_F (line 261) | TEST_F(LogTest, Empty) { ASSERT_EQ("EOF", Read()); } function TEST_F (line 263) | TEST_F(LogTest, ReadWrite) { function TEST_F (line 276) | TEST_F(LogTest, ManyBlocks) { function TEST_F (line 286) | TEST_F(LogTest, Fragmentation) { function TEST_F (line 296) | TEST_F(LogTest, MarginalTrailer) { function TEST_F (line 309) | TEST_F(LogTest, MarginalTrailer2) { function TEST_F (line 322) | TEST_F(LogTest, ShortTrailer) { function TEST_F (line 334) | TEST_F(LogTest, AlignedEof) { function TEST_F (line 342) | TEST_F(LogTest, OpenForAppend) { function TEST_F (line 351) | TEST_F(LogTest, RandomRead) { function TEST_F (line 366) | TEST_F(LogTest, ReadError) { function TEST_F (line 374) | TEST_F(LogTest, BadRecordType) { function TEST_F (line 384) | TEST_F(LogTest, TruncatedTrailingRecordIsIgnored) { function TEST_F (line 393) | TEST_F(LogTest, BadLength) { function TEST_F (line 404) | TEST_F(LogTest, BadLengthAtEndIsIgnored) { function TEST_F (line 412) | TEST_F(LogTest, ChecksumMismatch) { function TEST_F (line 420) | TEST_F(LogTest, UnexpectedMiddleType) { function TEST_F (line 429) | TEST_F(LogTest, UnexpectedLastType) { function TEST_F (line 438) | TEST_F(LogTest, UnexpectedFullType) { function TEST_F (line 449) | TEST_F(LogTest, UnexpectedFirstType) { function TEST_F (line 460) | TEST_F(LogTest, MissingLastIsIgnored) { function TEST_F (line 469) | TEST_F(LogTest, PartialLastIsIgnored) { function TEST_F (line 478) | TEST_F(LogTest, SkipIntoMultiRecord) { function TEST_F (line 494) | TEST_F(LogTest, ErrorJoinsRecords) { function TEST_F (line 517) | TEST_F(LogTest, ReadStart) { CheckInitialOffsetRecord(0, 0); } function TEST_F (line 519) | TEST_F(LogTest, ReadSecondOneOff) { CheckInitialOffsetRecord(1, 1); } function TEST_F (line 521) | TEST_F(LogTest, ReadSecondTenThousand) { CheckInitialOffsetRecord(10... function TEST_F (line 523) | TEST_F(LogTest, ReadSecondStart) { CheckInitialOffsetRecord(10007, 1... function TEST_F (line 525) | TEST_F(LogTest, ReadThirdOneOff) { CheckInitialOffsetRecord(10008, 2... function TEST_F (line 527) | TEST_F(LogTest, ReadThirdStart) { CheckInitialOffsetRecord(20014, 2); } function TEST_F (line 529) | TEST_F(LogTest, ReadFourthOneOff) { CheckInitialOffsetRecord(20015, ... function TEST_F (line 531) | TEST_F(LogTest, ReadFourthFirstBlockTrailer) { function TEST_F (line 535) | TEST_F(LogTest, ReadFourthMiddleBlock) { function TEST_F (line 539) | TEST_F(LogTest, ReadFourthLastBlock) { function TEST_F (line 543) | TEST_F(LogTest, ReadFourthStart) { function TEST_F (line 549) | TEST_F(LogTest, ReadInitialOffsetIntoBlockPadding) { function TEST_F (line 553) | TEST_F(LogTest, ReadEnd) { CheckOffsetPastEndReturnsNoRecords(0); } function TEST_F (line 555) | TEST_F(LogTest, ReadPastEnd) { CheckOffsetPastEndReturnsNoRecords(5); } function main (line 560) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/db/log_writer.cc type leveldb (line 13) | namespace leveldb { type log (line 14) | namespace log { function InitTypeCrc (line 16) | static void InitTypeCrc(uint32_t* type_crc) { function Status (line 34) | Status Writer::AddRecord(const Slice& slice) { function Status (line 82) | Status Writer::EmitPhysicalRecord(RecordType t, const char* ptr, FILE: third_party/leveldb-1.23/db/log_writer.h function namespace (line 14) | namespace leveldb { FILE: third_party/leveldb-1.23/db/memtable.cc type leveldb (line 12) | namespace leveldb { function Slice (line 14) | static Slice GetLengthPrefixedSlice(const char* data) { class MemTableIterator (line 46) | class MemTableIterator : public Iterator { method MemTableIterator (line 48) | explicit MemTableIterator(MemTable::Table* table) : iter_(table) {} method MemTableIterator (line 50) | MemTableIterator(const MemTableIterator&) = delete; method MemTableIterator (line 51) | MemTableIterator& operator=(const MemTableIterator&) = delete; method Valid (line 55) | bool Valid() const override { return iter_.Valid(); } method Seek (line 56) | void Seek(const Slice& k) override { iter_.Seek(EncodeKey(&tmp_, k)); } method SeekToFirst (line 57) | void SeekToFirst() override { iter_.SeekToFirst(); } method SeekToLast (line 58) | void SeekToLast() override { iter_.SeekToLast(); } method Next (line 59) | void Next() override { iter_.Next(); } method Prev (line 60) | void Prev() override { iter_.Prev(); } method Slice (line 61) | Slice key() const override { return GetLengthPrefixedSlice(iter_.key... method Slice (line 62) | Slice value() const override { method Status (line 67) | Status status() const override { return Status::OK(); } function Iterator (line 74) | Iterator* MemTable::NewIterator() { return new MemTableIterator(&table... FILE: third_party/leveldb-1.23/db/memtable.h function namespace (line 15) | namespace leveldb { FILE: third_party/leveldb-1.23/db/recovery_test.cc type leveldb (line 16) | namespace leveldb { class RecoveryTest (line 18) | class RecoveryTest : public testing::Test { method RecoveryTest (line 20) | RecoveryTest() : env_(Env::Default()), db_(nullptr) { method DBImpl (line 31) | DBImpl* dbfull() const { return reinterpret_cast(db_); } method Env (line 32) | Env* env() const { return env_; } method CanAppend (line 34) | bool CanAppend() { method Close (line 45) | void Close() { method Status (line 50) | Status OpenWithStatus(Options* options = nullptr) { method Open (line 65) | void Open(Options* options = nullptr) { method Status (line 70) | Status Put(const std::string& k, const std::string& v) { method Get (line 74) | std::string Get(const std::string& k, const Snapshot* snapshot = nul... method ManifestFileName (line 85) | std::string ManifestFileName() { method LogName (line 96) | std::string LogName(uint64_t number) { return LogFileName(dbname_, n... method RemoveLogFiles (line 98) | size_t RemoveLogFiles() { method RemoveManifestFile (line 109) | void RemoveManifestFile() { method FirstLogFile (line 113) | uint64_t FirstLogFile() { return GetFiles(kLogFile)[0]; } method GetFiles (line 115) | std::vector GetFiles(FileType t) { method NumLogs (line 129) | int NumLogs() { return GetFiles(kLogFile).size(); } method NumTables (line 131) | int NumTables() { return GetFiles(kTableFile).size(); } method FileSize (line 133) | uint64_t FileSize(const std::string& fname) { method CompactMemTable (line 139) | void CompactMemTable() { dbfull()->TEST_CompactMemTable(); } method MakeLogFile (line 142) | void MakeLogFile(uint64_t lognum, SequenceNumber seq, Slice key, Sli... function TEST_F (line 161) | TEST_F(RecoveryTest, ManifestReused) { function TEST_F (line 178) | TEST_F(RecoveryTest, LargeManifestCompacted) { function TEST_F (line 210) | TEST_F(RecoveryTest, NoLogFiles) { function TEST_F (line 219) | TEST_F(RecoveryTest, LogFileReuse) { function TEST_F (line 250) | TEST_F(RecoveryTest, MultipleMemTables) { function TEST_F (line 279) | TEST_F(RecoveryTest, MultipleLogFiles) { function TEST_F (line 325) | TEST_F(RecoveryTest, ManifestMissing) { function main (line 336) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/db/repair.cc type leveldb (line 41) | namespace leveldb { class Repairer (line 45) | class Repairer { method Repairer (line 47) | Repairer(const std::string& dbname, const Options& options) method Status (line 70) | Status Run() { type TableInfo (line 93) | struct TableInfo { method Status (line 98) | Status FindFiles() { method ConvertLogFilesToTables (line 131) | void ConvertLogFilesToTables() { method Status (line 143) | Status ConvertLogToTable(uint64_t log) { method ExtractMetaData (line 221) | void ExtractMetaData() { method Iterator (line 227) | Iterator* NewTableIterator(const FileMetaData& meta) { method ScanTable (line 235) | void ScanTable(uint64_t number) { method RepairTable (line 294) | void RepairTable(const std::string& src, TableInfo t) { method Status (line 348) | Status WriteDescriptor() { method ArchiveFile (line 408) | void ArchiveFile(const std::string& fname) { function Status (line 446) | Status RepairDB(const std::string& dbname, const Options& options) { FILE: third_party/leveldb-1.23/db/skiplist.h function namespace (line 37) | namespace leveldb { FILE: third_party/leveldb-1.23/db/skiplist_test.cc type leveldb (line 19) | namespace leveldb { type Comparator (line 23) | struct Comparator { function TEST (line 35) | TEST(SkipTest, Empty) { function TEST (line 51) | TEST(SkipTest, InsertAndLookup) { class ConcurrentTest (line 152) | class ConcurrentTest { method key (line 156) | static uint64_t key(Key key) { return (key >> 40); } method gen (line 157) | static uint64_t gen(Key key) { return (key >> 8) & 0xffffffffu; } method hash (line 158) | static uint64_t hash(Key key) { return key & 0xff; } method HashNumbers (line 160) | static uint64_t HashNumbers(uint64_t k, uint64_t g) { method Key (line 165) | static Key MakeKey(uint64_t k, uint64_t g) { method IsValidKey (line 172) | static bool IsValidKey(Key k) { method Key (line 176) | static Key RandomTarget(Random* rnd) { type State (line 191) | struct State { method Set (line 193) | void Set(int k, int v) { method Get (line 196) | int Get(int k) { return generation[k].load(std::memory_order_acqui... method State (line 198) | State() { method ConcurrentTest (line 215) | ConcurrentTest() : list_(Comparator(), &arena_) {} method WriteStep (line 218) | void WriteStep(Random* rnd) { method ReadStep (line 226) | void ReadStep(Random* rnd) { function TEST (line 289) | TEST(SkipTest, ConcurrentWithoutThreads) { class TestState (line 298) | class TestState { type ReaderState (line 304) | enum ReaderState { STARTING, RUNNING, DONE } method TestState (line 306) | explicit TestState(int s) method LOCKS_EXCLUDED (line 309) | LOCKS_EXCLUDED(mu_) { method LOCKS_EXCLUDED (line 317) | LOCKS_EXCLUDED(mu_) { function ConcurrentReader (line 330) | static void ConcurrentReader(void* arg) { function RunConcurrent (line 342) | static void RunConcurrent(int run) { function TEST (line 362) | TEST(SkipTest, Concurrent1) { RunConcurrent(1); } function TEST (line 363) | TEST(SkipTest, Concurrent2) { RunConcurrent(2); } function TEST (line 364) | TEST(SkipTest, Concurrent3) { RunConcurrent(3); } function TEST (line 365) | TEST(SkipTest, Concurrent4) { RunConcurrent(4); } function TEST (line 366) | TEST(SkipTest, Concurrent5) { RunConcurrent(5); } function main (line 370) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/db/snapshot.h function namespace (line 11) | namespace leveldb { function class (line 39) | class SnapshotList { FILE: third_party/leveldb-1.23/db/table_cache.cc type leveldb (line 12) | namespace leveldb { type TableAndFile (line 14) | struct TableAndFile { function DeleteEntry (line 19) | static void DeleteEntry(const Slice& key, void* value) { function UnrefEntry (line 26) | static void UnrefEntry(void* arg1, void* arg2) { function Status (line 41) | Status TableCache::FindTable(uint64_t file_number, uint64_t file_size, function Iterator (line 78) | Iterator* TableCache::NewIterator(const ReadOptions& options, function Status (line 100) | Status TableCache::Get(const ReadOptions& options, uint64_t file_number, FILE: third_party/leveldb-1.23/db/table_cache.h function namespace (line 18) | namespace leveldb { FILE: third_party/leveldb-1.23/db/version_edit.cc type leveldb (line 10) | namespace leveldb { type Tag (line 14) | enum Tag { function GetInternalKey (line 86) | static bool GetInternalKey(Slice* input, InternalKey* dst) { function GetLevel (line 95) | static bool GetLevel(Slice* input, int* level) { function Status (line 105) | Status VersionEdit::DecodeFrom(const Slice& src) { FILE: third_party/leveldb-1.23/db/version_edit.h function namespace (line 14) | namespace leveldb { FILE: third_party/leveldb-1.23/db/version_edit_test.cc type leveldb (line 9) | namespace leveldb { function TestEncodeDecode (line 11) | static void TestEncodeDecode(const VersionEdit& edit) { function TEST (line 21) | TEST(VersionEditTest, EncodeDecode) { function main (line 43) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/db/version_set.cc type leveldb (line 22) | namespace leveldb { function TargetFileSize (line 24) | static size_t TargetFileSize(const Options* options) { function MaxGrandParentOverlapBytes (line 30) | static int64_t MaxGrandParentOverlapBytes(const Options* options) { function ExpandedCompactionByteSizeLimit (line 37) | static int64_t ExpandedCompactionByteSizeLimit(const Options* options) { function MaxBytesForLevel (line 41) | static double MaxBytesForLevel(const Options* options, int level) { function MaxFileSizeForLevel (line 54) | static uint64_t MaxFileSizeForLevel(const Options* options, int level) { function TotalFileSize (line 59) | static int64_t TotalFileSize(const std::vector& files) { function FindFile (line 87) | int FindFile(const InternalKeyComparator& icmp, function AfterFile (line 107) | static bool AfterFile(const Comparator* ucmp, const Slice* user_key, function BeforeFile (line 114) | static bool BeforeFile(const Comparator* ucmp, const Slice* user_key, function SomeFileOverlapsRange (line 121) | bool SomeFileOverlapsRange(const InternalKeyComparator& icmp, class Version::LevelFileNumIterator (line 163) | class Version::LevelFileNumIterator : public Iterator { method LevelFileNumIterator (line 165) | LevelFileNumIterator(const InternalKeyComparator& icmp, method Valid (line 169) | bool Valid() const override { return index_ < flist_->size(); } method Seek (line 170) | void Seek(const Slice& target) override { method SeekToFirst (line 173) | void SeekToFirst() override { index_ = 0; } method SeekToLast (line 174) | void SeekToLast() override { method Next (line 177) | void Next() override { method Prev (line 181) | void Prev() override { method Slice (line 189) | Slice key() const override { method Slice (line 193) | Slice value() const override { method Status (line 199) | Status status() const override { return Status::OK(); } function Iterator (line 210) | static Iterator* GetFileIterator(void* arg, const ReadOptions& options, function Iterator (line 222) | Iterator* Version::NewConcatenatingIterator(const ReadOptions& options, type SaverState (line 249) | enum SaverState { type Saver (line 255) | struct Saver { function SaveValue (line 262) | static void SaveValue(void* arg, const Slice& ikey, const Slice& v) { function NewestFirst (line 277) | static bool NewestFirst(FileMetaData* a, FileMetaData* b) { function Status (line 324) | Status Version::Get(const ReadOptions& options, const LookupKey& k, type State (line 421) | struct State { method Match (line 425) | static bool Match(void* arg, int level, FileMetaData* f) { class VersionSet::Builder (line 569) | class VersionSet::Builder { type BySmallestKey (line 572) | struct BySmallestKey { type LevelState (line 587) | struct LevelState { method Builder (line 598) | Builder(VersionSet* vset, Version* base) : vset_(vset), base_(base) { method Apply (line 629) | void Apply(VersionEdit* edit) { method SaveTo (line 672) | void SaveTo(Version* v) { method MaybeAddFile (line 717) | void MaybeAddFile(Version* v, int level, FileMetaData* f) { function Status (line 777) | Status VersionSet::LogAndApply(VersionEdit* edit, port::Mutex* mu) { function Status (line 862) | Status VersionSet::Recover(bool* save_manifest) { function Status (line 1070) | Status VersionSet::WriteSnapshot(log::Writer* log) { function Iterator (line 1220) | Iterator* VersionSet::MakeInputIterator(Compaction* c) { function Compaction (line 1253) | Compaction* VersionSet::PickCompaction() { function FindLargestKey (line 1309) | bool FindLargestKey(const InternalKeyComparator& icmp, function FileMetaData (line 1327) | FileMetaData* FindSmallestBoundaryFile( function AddBoundaryInputs (line 1361) | void AddBoundaryInputs(const InternalKeyComparator& icmp, function Compaction (line 1447) | Compaction* VersionSet::CompactRange(int level, const InternalKey* begin, FILE: third_party/leveldb-1.23/db/version_set.h function namespace (line 29) | namespace log { function class (line 60) | class Version { function class (line 167) | class VersionSet { FILE: third_party/leveldb-1.23/db/version_set_test.cc type leveldb (line 11) | namespace leveldb { class FindFileTest (line 13) | class FindFileTest : public testing::Test { method FindFileTest (line 15) | FindFileTest() : disjoint_sorted_files_(true) {} method Add (line 23) | void Add(const char* smallest, const char* largest, method Find (line 33) | int Find(const char* key) { method Overlaps (line 39) | bool Overlaps(const char* smallest, const char* largest) { function TEST_F (line 54) | TEST_F(FindFileTest, Empty) { function TEST_F (line 62) | TEST_F(FindFileTest, Single) { function TEST_F (line 92) | TEST_F(FindFileTest, Multiple) { function TEST_F (line 130) | TEST_F(FindFileTest, MultipleNullBoundaries) { function TEST_F (line 150) | TEST_F(FindFileTest, OverlapSequenceChecks) { function TEST_F (line 159) | TEST_F(FindFileTest, OverlappingFiles) { class AddBoundaryInputsTest (line 181) | class AddBoundaryInputsTest : public testing::Test { method AddBoundaryInputsTest (line 188) | AddBoundaryInputsTest() : icmp_(BytewiseComparator()) {} method FileMetaData (line 197) | FileMetaData* CreateFileMetaData(uint64_t number, InternalKey smallest, function TEST_F (line 208) | TEST_F(AddBoundaryInputsTest, TestEmptyFileSets) { function TEST_F (line 214) | TEST_F(AddBoundaryInputsTest, TestEmptyLevelFiles) { function TEST_F (line 226) | TEST_F(AddBoundaryInputsTest, TestEmptyCompactionFiles) { function TEST_F (line 238) | TEST_F(AddBoundaryInputsTest, TestNoBoundaryFiles) { function TEST_F (line 259) | TEST_F(AddBoundaryInputsTest, TestOneBoundaryFiles) { function TEST_F (line 281) | TEST_F(AddBoundaryInputsTest, TestTwoBoundaryFiles) { function TEST_F (line 304) | TEST_F(AddBoundaryInputsTest, TestDisjoinFilePointers) { function main (line 333) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/db/write_batch.cc type leveldb (line 24) | namespace leveldb { function Status (line 42) | Status WriteBatch::Iterate(Handler* handler) const { function SequenceNumber (line 90) | SequenceNumber WriteBatchInternal::Sequence(const WriteBatch* b) { class MemTableInserter (line 116) | class MemTableInserter : public WriteBatch::Handler { method Put (line 121) | void Put(const Slice& key, const Slice& value) override { method Delete (line 125) | void Delete(const Slice& key) override { function Status (line 132) | Status WriteBatchInternal::InsertInto(const WriteBatch* b, MemTable* m... FILE: third_party/leveldb-1.23/db/write_batch_internal.h function namespace (line 11) | namespace leveldb { FILE: third_party/leveldb-1.23/db/write_batch_test.cc type leveldb (line 12) | namespace leveldb { function PrintContents (line 14) | static std::string PrintContents(WriteBatch* b) { function TEST (line 54) | TEST(WriteBatchTest, Empty) { function TEST (line 60) | TEST(WriteBatchTest, Multiple) { function TEST (line 75) | TEST(WriteBatchTest, Corruption) { function TEST (line 89) | TEST(WriteBatchTest, Append) { function TEST (line 115) | TEST(WriteBatchTest, ApproximateSize) { function main (line 134) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/helpers/memenv/memenv.cc type leveldb (line 19) | namespace leveldb { class FileState (line 23) | class FileState { method FileState (line 27) | FileState() : refs_(0), size_(0) {} method FileState (line 30) | FileState(const FileState&) = delete; method FileState (line 31) | FileState& operator=(const FileState&) = delete; method Ref (line 34) | void Ref() { method Unref (line 40) | void Unref() { method Size (line 57) | uint64_t Size() const { method Truncate (line 62) | void Truncate() { method Status (line 71) | Status Read(uint64_t offset, size_t n, Slice* result, char* scratch)... method Status (line 108) | Status Append(const Slice& data) { class SequentialFileImpl (line 152) | class SequentialFileImpl : public SequentialFile { method SequentialFileImpl (line 154) | explicit SequentialFileImpl(FileState* file) : file_(file), pos_(0) { method Status (line 160) | Status Read(size_t n, Slice* result, char* scratch) override { method Status (line 168) | Status Skip(uint64_t n) override { class RandomAccessFileImpl (line 185) | class RandomAccessFileImpl : public RandomAccessFile { method RandomAccessFileImpl (line 187) | explicit RandomAccessFileImpl(FileState* file) : file_(file) { file_... method Status (line 191) | Status Read(uint64_t offset, size_t n, Slice* result, class WritableFileImpl (line 200) | class WritableFileImpl : public WritableFile { method WritableFileImpl (line 202) | WritableFileImpl(FileState* file) : file_(file) { file_->Ref(); } method Status (line 206) | Status Append(const Slice& data) override { return file_->Append(dat... method Status (line 208) | Status Close() override { return Status::OK(); } method Status (line 209) | Status Flush() override { return Status::OK(); } method Status (line 210) | Status Sync() override { return Status::OK(); } class NoOpLogger (line 216) | class NoOpLogger : public Logger { method Logv (line 218) | void Logv(const char* format, std::va_list ap) override {} class InMemoryEnv (line 221) | class InMemoryEnv : public EnvWrapper { method InMemoryEnv (line 223) | explicit InMemoryEnv(Env* base_env) : EnvWrapper(base_env) {} method Status (line 232) | Status NewSequentialFile(const std::string& fname, method Status (line 244) | Status NewRandomAccessFile(const std::string& fname, method Status (line 256) | Status NewWritableFile(const std::string& fname, method Status (line 276) | Status NewAppendableFile(const std::string& fname, method FileExists (line 289) | bool FileExists(const std::string& fname) override { method Status (line 294) | Status GetChildren(const std::string& dir, method EXCLUSIVE_LOCKS_REQUIRED (line 312) | EXCLUSIVE_LOCKS_REQUIRED(mutex_) { method Status (line 321) | Status RemoveFile(const std::string& fname) override { method Status (line 331) | Status CreateDir(const std::string& dirname) override { return Statu... method Status (line 333) | Status RemoveDir(const std::string& dirname) override { return Statu... method Status (line 335) | Status GetFileSize(const std::string& fname, uint64_t* file_size) ov... method Status (line 345) | Status RenameFile(const std::string& src, method Status (line 358) | Status LockFile(const std::string& fname, FileLock** lock) override { method Status (line 363) | Status UnlockFile(FileLock* lock) override { method Status (line 368) | Status GetTestDirectory(std::string* path) override { method Status (line 373) | Status NewLogger(const std::string& fname, Logger** result) override { function Env (line 388) | Env* NewMemEnv(Env* base_env) { return new InMemoryEnv(base_env); } FILE: third_party/leveldb-1.23/helpers/memenv/memenv.h function namespace (line 10) | namespace leveldb { FILE: third_party/leveldb-1.23/helpers/memenv/memenv_test.cc type leveldb (line 16) | namespace leveldb { class MemEnvTest (line 18) | class MemEnvTest : public testing::Test { method MemEnvTest (line 20) | MemEnvTest() : env_(NewMemEnv(Env::Default())) {} function TEST_F (line 26) | TEST_F(MemEnvTest, Basics) { function TEST_F (line 94) | TEST_F(MemEnvTest, ReadWrite) { function TEST_F (line 137) | TEST_F(MemEnvTest, Locks) { function TEST_F (line 145) | TEST_F(MemEnvTest, Misc) { function TEST_F (line 160) | TEST_F(MemEnvTest, LargeWrite) { function TEST_F (line 193) | TEST_F(MemEnvTest, OverwriteOpenFile) { function TEST_F (line 216) | TEST_F(MemEnvTest, DBTest) { function main (line 261) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/include/leveldb/c.h type leveldb_t (line 55) | typedef struct leveldb_t leveldb_t; type leveldb_cache_t (line 56) | typedef struct leveldb_cache_t leveldb_cache_t; type leveldb_comparator_t (line 57) | typedef struct leveldb_comparator_t leveldb_comparator_t; type leveldb_env_t (line 58) | typedef struct leveldb_env_t leveldb_env_t; type leveldb_filelock_t (line 59) | typedef struct leveldb_filelock_t leveldb_filelock_t; type leveldb_filterpolicy_t (line 60) | typedef struct leveldb_filterpolicy_t leveldb_filterpolicy_t; type leveldb_iterator_t (line 61) | typedef struct leveldb_iterator_t leveldb_iterator_t; type leveldb_logger_t (line 62) | typedef struct leveldb_logger_t leveldb_logger_t; type leveldb_options_t (line 63) | typedef struct leveldb_options_t leveldb_options_t; type leveldb_randomfile_t (line 64) | typedef struct leveldb_randomfile_t leveldb_randomfile_t; type leveldb_readoptions_t (line 65) | typedef struct leveldb_readoptions_t leveldb_readoptions_t; type leveldb_seqfile_t (line 66) | typedef struct leveldb_seqfile_t leveldb_seqfile_t; type leveldb_snapshot_t (line 67) | typedef struct leveldb_snapshot_t leveldb_snapshot_t; type leveldb_writablefile_t (line 68) | typedef struct leveldb_writablefile_t leveldb_writablefile_t; type leveldb_writebatch_t (line 69) | typedef struct leveldb_writebatch_t leveldb_writebatch_t; type leveldb_writeoptions_t (line 70) | typedef struct leveldb_writeoptions_t leveldb_writeoptions_t; FILE: third_party/leveldb-1.23/include/leveldb/cache.h function namespace (line 26) | namespace leveldb { FILE: third_party/leveldb-1.23/include/leveldb/comparator.h function namespace (line 12) | namespace leveldb { FILE: third_party/leveldb-1.23/include/leveldb/db.h function namespace (line 15) | namespace leveldb { FILE: third_party/leveldb-1.23/include/leveldb/dumpfile.h function namespace (line 14) | namespace leveldb { FILE: third_party/leveldb-1.23/include/leveldb/env.h function namespace (line 42) | namespace leveldb { FILE: third_party/leveldb-1.23/include/leveldb/filter_policy.h function namespace (line 23) | namespace leveldb { FILE: third_party/leveldb-1.23/include/leveldb/iterator.h type CleanupNode (line 86) | struct CleanupNode { FILE: third_party/leveldb-1.23/include/leveldb/options.h function namespace (line 12) | namespace leveldb { FILE: third_party/leveldb-1.23/include/leveldb/slice.h function namespace (line 25) | namespace leveldb { function compare (line 100) | inline int Slice::compare(const Slice& b) const { FILE: third_party/leveldb-1.23/include/leveldb/status.h function namespace (line 22) | namespace leveldb { FILE: third_party/leveldb-1.23/include/leveldb/table.h function namespace (line 13) | namespace leveldb { FILE: third_party/leveldb-1.23/include/leveldb/table_builder.h function namespace (line 22) | namespace leveldb { FILE: third_party/leveldb-1.23/include/leveldb/write_batch.h function namespace (line 29) | namespace leveldb { FILE: third_party/leveldb-1.23/issues/issue178_test.cc function Key1 (line 19) | std::string Key1(int i) { function Key2 (line 25) | std::string Key2(int i) { return Key1(i) + "_xxx"; } function TEST (line 27) | TEST(Issue178, Test) { function main (line 87) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/issues/issue200_test.cc type leveldb (line 13) | namespace leveldb { function TEST (line 15) | TEST(Issue200, Test) { function main (line 56) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/issues/issue320_test.cc type leveldb (line 17) | namespace leveldb { function GenerateRandomNumber (line 22) | int GenerateRandomNumber(int max) { return std::rand() % max; } function CreateRandomString (line 24) | std::string CreateRandomString(int32_t index) { function TEST (line 41) | TEST(Issue320, Test) { function main (line 128) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/port/port_example.h function namespace (line 15) | namespace leveldb { FILE: third_party/leveldb-1.23/port/port_stdcxx.h function namespace (line 41) | namespace leveldb { FILE: third_party/leveldb-1.23/table/block.cc type leveldb (line 18) | namespace leveldb { class Block::Iter (line 77) | class Block::Iter : public Iterator { method Compare (line 91) | inline int Compare(const Slice& a, const Slice& b) const { method NextEntryOffset (line 96) | inline uint32_t NextEntryOffset() const { method GetRestartPoint (line 100) | uint32_t GetRestartPoint(uint32_t index) { method SeekToRestartPoint (line 105) | void SeekToRestartPoint(uint32_t index) { method Iter (line 116) | Iter(const Comparator* comparator, const char* data, uint32_t restarts, method Valid (line 127) | bool Valid() const override { return current_ < restarts_; } method Status (line 128) | Status status() const override { return status_; } method Slice (line 129) | Slice key() const override { method Slice (line 133) | Slice value() const override { method Next (line 138) | void Next() override { method Prev (line 143) | void Prev() override { method Seek (line 164) | void Seek(const Slice& target) override { method SeekToFirst (line 229) | void SeekToFirst() override { method SeekToLast (line 234) | void SeekToLast() override { method CorruptionError (line 242) | void CorruptionError() { method ParseNextKey (line 250) | bool ParseNextKey() { function Iterator (line 280) | Iterator* Block::NewIterator(const Comparator* comparator) { FILE: third_party/leveldb-1.23/table/block.h function namespace (line 13) | namespace leveldb { FILE: third_party/leveldb-1.23/table/block_builder.cc type leveldb (line 38) | namespace leveldb { function Slice (line 61) | Slice BlockBuilder::Finish() { FILE: third_party/leveldb-1.23/table/block_builder.h function namespace (line 13) | namespace leveldb { FILE: third_party/leveldb-1.23/table/filter_block.cc type leveldb (line 10) | namespace leveldb { function Slice (line 35) | Slice FilterBlockBuilder::Finish() { FILE: third_party/leveldb-1.23/table/filter_block.h function namespace (line 20) | namespace leveldb { FILE: third_party/leveldb-1.23/table/filter_block_test.cc type leveldb (line 14) | namespace leveldb { class TestHashFilter (line 17) | class TestHashFilter : public FilterPolicy { method CreateFilter (line 21) | void CreateFilter(const Slice* keys, int n, std::string* dst) const ... method KeyMayMatch (line 28) | bool KeyMayMatch(const Slice& key, const Slice& filter) const overri... class FilterBlockTest (line 39) | class FilterBlockTest : public testing::Test { function TEST_F (line 44) | TEST_F(FilterBlockTest, EmptyBuilder) { function TEST_F (line 53) | TEST_F(FilterBlockTest, SingleChunk) { function TEST_F (line 74) | TEST_F(FilterBlockTest, MultiChunk) { function main (line 124) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/table/format.cc type leveldb (line 13) | namespace leveldb { function Status (line 23) | Status BlockHandle::DecodeFrom(Slice* input) { function Status (line 42) | Status Footer::DecodeFrom(Slice* input) { function Status (line 64) | Status ReadBlock(RandomAccessFile* file, const ReadOptions& options, FILE: third_party/leveldb-1.23/table/format.h function namespace (line 15) | namespace leveldb { FILE: third_party/leveldb-1.23/table/iterator.cc type leveldb (line 7) | namespace leveldb { class EmptyIterator (line 43) | class EmptyIterator : public Iterator { method EmptyIterator (line 45) | EmptyIterator(const Status& s) : status_(s) {} method Valid (line 48) | bool Valid() const override { return false; } method Seek (line 49) | void Seek(const Slice& target) override {} method SeekToFirst (line 50) | void SeekToFirst() override {} method SeekToLast (line 51) | void SeekToLast() override {} method Next (line 52) | void Next() override { assert(false); } method Prev (line 53) | void Prev() override { assert(false); } method Slice (line 54) | Slice key() const override { method Slice (line 58) | Slice value() const override { method Status (line 62) | Status status() const override { return status_; } function Iterator (line 70) | Iterator* NewEmptyIterator() { return new EmptyIterator(Status::OK()); } function Iterator (line 72) | Iterator* NewErrorIterator(const Status& status) { FILE: third_party/leveldb-1.23/table/iterator_wrapper.h function namespace (line 11) | namespace leveldb { FILE: third_party/leveldb-1.23/table/merger.cc type leveldb (line 11) | namespace leveldb { class MergingIterator (line 14) | class MergingIterator : public Iterator { method MergingIterator (line 16) | MergingIterator(const Comparator* comparator, Iterator** children, i... method Valid (line 29) | bool Valid() const override { return (current_ != nullptr); } method SeekToFirst (line 31) | void SeekToFirst() override { method SeekToLast (line 39) | void SeekToLast() override { method Seek (line 47) | void Seek(const Slice& target) override { method Next (line 55) | void Next() override { method Prev (line 81) | void Prev() override { method Slice (line 110) | Slice key() const override { method Slice (line 115) | Slice value() const override { method Status (line 120) | Status status() const override { type Direction (line 133) | enum Direction { kForward, kReverse } function Iterator (line 179) | Iterator* NewMergingIterator(const Comparator* comparator, Iterator** ... FILE: third_party/leveldb-1.23/table/merger.h function namespace (line 8) | namespace leveldb { FILE: third_party/leveldb-1.23/table/table.cc type leveldb (line 18) | namespace leveldb { type Table::Rep (line 20) | struct Table::Rep { function Status (line 38) | Status Table::Open(const Options& options, RandomAccessFile* file, function DeleteBlock (line 136) | static void DeleteBlock(void* arg, void* ignored) { function DeleteCachedBlock (line 140) | static void DeleteCachedBlock(const Slice& key, void* value) { function ReleaseBlock (line 145) | static void ReleaseBlock(void* arg, void* h) { function Iterator (line 153) | Iterator* Table::BlockReader(void* arg, const ReadOptions& options, function Iterator (line 208) | Iterator* Table::NewIterator(const ReadOptions& options) const { function Status (line 214) | Status Table::InternalGet(const ReadOptions& options, const Slice& k, ... FILE: third_party/leveldb-1.23/table/table_builder.cc type leveldb (line 19) | namespace leveldb { type TableBuilder::Rep (line 21) | struct TableBuilder::Rep { method Rep (line 22) | Rep(const Options& opt, WritableFile* f) function Status (line 78) | Status TableBuilder::ChangeOptions(const Options& options) { function Status (line 196) | Status TableBuilder::status() const { return rep_->status; } function Status (line 198) | Status TableBuilder::Finish() { FILE: third_party/leveldb-1.23/table/table_test.cc type leveldb (line 24) | namespace leveldb { function Reverse (line 28) | static std::string Reverse(const Slice& key) { class ReverseKeyComparator (line 39) | class ReverseKeyComparator : public Comparator { method Compare (line 45) | int Compare(const Slice& a, const Slice& b) const override { method FindShortestSeparator (line 49) | void FindShortestSeparator(std::string* start, method FindShortSuccessor (line 57) | void FindShortSuccessor(std::string* key) const override { function Increment (line 66) | static void Increment(const Comparator* cmp, std::string* key) { type STLLessThan (line 79) | struct STLLessThan { method STLLessThan (line 82) | STLLessThan() : cmp(BytewiseComparator()) {} method STLLessThan (line 83) | STLLessThan(const Comparator* c) : cmp(c) {} class StringSink (line 90) | class StringSink : public WritableFile { method Status (line 96) | Status Close() override { return Status::OK(); } method Status (line 97) | Status Flush() override { return Status::OK(); } method Status (line 98) | Status Sync() override { return Status::OK(); } method Status (line 100) | Status Append(const Slice& data) override { class StringSource (line 109) | class StringSource : public RandomAccessFile { method StringSource (line 111) | StringSource(const Slice& contents) method Size (line 116) | uint64_t Size() const { return contents_.size(); } method Status (line 118) | Status Read(uint64_t offset, size_t n, Slice* result, class Constructor (line 139) | class Constructor { method Constructor (line 141) | explicit Constructor(const Comparator* cmp) : data_(STLLessThan(cmp)... method Add (line 144) | void Add(const std::string& key, const Slice& value) { method Finish (line 151) | void Finish(const Options& options, std::vector* keys, method KVMap (line 168) | const KVMap& data() const { return data_; } method DB (line 170) | virtual DB* db() const { return nullptr; } class BlockConstructor (line 176) | class BlockConstructor : public Constructor { method BlockConstructor (line 178) | explicit BlockConstructor(const Comparator* cmp) method Status (line 181) | Status FinishImpl(const Options& options, const KVMap& data) override { method Iterator (line 198) | Iterator* NewIterator() const override { class TableConstructor (line 210) | class TableConstructor : public Constructor { method TableConstructor (line 212) | TableConstructor(const Comparator* cmp) method Status (line 215) | Status FinishImpl(const Options& options, const KVMap& data) override { method Iterator (line 236) | Iterator* NewIterator() const override { method ApproximateOffsetOf (line 240) | uint64_t ApproximateOffsetOf(const Slice& key) const { method Reset (line 245) | void Reset() { class KeyConvertingIterator (line 259) | class KeyConvertingIterator : public Iterator { method KeyConvertingIterator (line 261) | explicit KeyConvertingIterator(Iterator* iter) : iter_(iter) {} method KeyConvertingIterator (line 263) | KeyConvertingIterator(const KeyConvertingIterator&) = delete; method KeyConvertingIterator (line 264) | KeyConvertingIterator& operator=(const KeyConvertingIterator&) = del... method Valid (line 268) | bool Valid() const override { return iter_->Valid(); } method Seek (line 269) | void Seek(const Slice& target) override { method SeekToFirst (line 275) | void SeekToFirst() override { iter_->SeekToFirst(); } method SeekToLast (line 276) | void SeekToLast() override { iter_->SeekToLast(); } method Next (line 277) | void Next() override { iter_->Next(); } method Prev (line 278) | void Prev() override { iter_->Prev(); } method Slice (line 280) | Slice key() const override { method Slice (line 290) | Slice value() const override { return iter_->value(); } method Status (line 291) | Status status() const override { class MemTableConstructor (line 300) | class MemTableConstructor : public Constructor { method MemTableConstructor (line 302) | explicit MemTableConstructor(const Comparator* cmp) method Status (line 308) | Status FinishImpl(const Options& options, const KVMap& data) override { method Iterator (line 319) | Iterator* NewIterator() const override { class DBConstructor (line 328) | class DBConstructor : public Constructor { method DBConstructor (line 330) | explicit DBConstructor(const Comparator* cmp) method Status (line 336) | Status FinishImpl(const Options& options, const KVMap& data) override { method Iterator (line 347) | Iterator* NewIterator() const override { method DB (line 351) | DB* db() const override { return db_; } method NewDB (line 354) | void NewDB() { type TestType (line 373) | enum TestType { TABLE_TEST, BLOCK_TEST, MEMTABLE_TEST, DB_TEST } type TestArgs (line 375) | struct TestArgs { class Harness (line 406) | class Harness : public testing::Test { method Harness (line 408) | Harness() : constructor_(nullptr) {} method Init (line 410) | void Init(const TestArgs& args) { method Add (line 440) | void Add(const std::string& key, const std::string& value) { method Test (line 444) | void Test(Random* rnd) { method TestForwardScan (line 454) | void TestForwardScan(const std::vector& keys, method TestBackwardScan (line 468) | void TestBackwardScan(const std::vector& keys, method TestRandomAccess (line 482) | void TestRandomAccess(Random* rnd, const std::vector& k... method ToString (line 551) | std::string ToString(const KVMap& data, const KVMap::const_iterator&... method ToString (line 559) | std::string ToString(const KVMap& data, method ToString (line 568) | std::string ToString(const Iterator* it) { method PickRandomKey (line 576) | std::string PickRandomKey(Random* rnd, const std::vectordb(); } function TEST_F (line 612) | TEST_F(Harness, Empty) { function TEST_F (line 623) | TEST_F(Harness, ZeroRestartPointsInBlock) { function TEST_F (line 642) | TEST_F(Harness, SimpleEmptyKey) { function TEST_F (line 651) | TEST_F(Harness, SimpleSingle) { function TEST_F (line 660) | TEST_F(Harness, SimpleMulti) { function TEST_F (line 671) | TEST_F(Harness, SimpleSpecialKey) { function TEST_F (line 680) | TEST_F(Harness, Randomized) { function TEST_F (line 700) | TEST_F(Harness, RandomizedLongDB) { function TEST (line 724) | TEST(MemTableTest, Simple) { function Between (line 748) | static bool Between(uint64_t val, uint64_t low, uint64_t high) { function TEST (line 758) | TEST(TableTest, ApproximateOffsetOfPlain) { function SnappyCompressionSupported (line 787) | static bool SnappyCompressionSupported() { function TEST (line 793) | TEST(TableTest, ApproximateOffsetOfCompressed) { function main (line 831) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/table/two_level_iterator.cc type leveldb (line 12) | namespace leveldb { class TwoLevelIterator (line 18) | class TwoLevelIterator : public Iterator { method Valid (line 31) | bool Valid() const override { return data_iter_.Valid(); } method Slice (line 32) | Slice key() const override { method Slice (line 36) | Slice value() const override { method Status (line 40) | Status status() const override { method SaveError (line 52) | void SaveError(const Status& s) { function Iterator (line 165) | Iterator* NewTwoLevelIterator(Iterator* index_iter, FILE: third_party/leveldb-1.23/table/two_level_iterator.h function namespace (line 10) | namespace leveldb { FILE: third_party/leveldb-1.23/util/arena.cc type leveldb (line 7) | namespace leveldb { FILE: third_party/leveldb-1.23/util/arena.h function namespace (line 14) | namespace leveldb { FILE: third_party/leveldb-1.23/util/arena_test.cc type leveldb (line 10) | namespace leveldb { function TEST (line 12) | TEST(ArenaTest, Empty) { Arena arena; } function TEST (line 14) | TEST(ArenaTest, Simple) { function main (line 63) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/util/bloom.cc type leveldb (line 10) | namespace leveldb { function BloomHash (line 13) | static uint32_t BloomHash(const Slice& key) { class BloomFilterPolicy (line 17) | class BloomFilterPolicy : public FilterPolicy { method BloomFilterPolicy (line 19) | explicit BloomFilterPolicy(int bits_per_key) : bits_per_key_(bits_pe... method CreateFilter (line 28) | void CreateFilter(const Slice* keys, int n, std::string* dst) const ... method KeyMayMatch (line 56) | bool KeyMayMatch(const Slice& key, const Slice& bloom_filter) const ... function FilterPolicy (line 88) | const FilterPolicy* NewBloomFilterPolicy(int bits_per_key) { FILE: third_party/leveldb-1.23/util/bloom_test.cc type leveldb (line 11) | namespace leveldb { function Slice (line 15) | static Slice Key(int i, char* buffer) { class BloomTest (line 20) | class BloomTest : public testing::Test { method BloomTest (line 22) | BloomTest() : policy_(NewBloomFilterPolicy(10)) {} method Reset (line 26) | void Reset() { method Add (line 31) | void Add(const Slice& s) { keys_.push_back(s.ToString()); } method Build (line 33) | void Build() { method FilterSize (line 45) | size_t FilterSize() const { return filter_.size(); } method DumpFilter (line 47) | void DumpFilter() { method Matches (line 58) | bool Matches(const Slice& s) { method FalsePositiveRate (line 65) | double FalsePositiveRate() { function TEST_F (line 82) | TEST_F(BloomTest, EmptyFilter) { function TEST_F (line 87) | TEST_F(BloomTest, Small) { function NextLength (line 96) | static int NextLength(int length) { function TEST_F (line 109) | TEST_F(BloomTest, VaryingLengths) { function main (line 156) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/util/cache.cc type leveldb (line 16) | namespace leveldb { type LRUHandle (line 43) | struct LRUHandle { method Slice (line 56) | Slice key() const { class HandleTable (line 70) | class HandleTable { method HandleTable (line 72) | HandleTable() : length_(0), elems_(0), list_(nullptr) { Resize(); } method LRUHandle (line 75) | LRUHandle* Lookup(const Slice& key, uint32_t hash) { method LRUHandle (line 79) | LRUHandle* Insert(LRUHandle* h) { method LRUHandle (line 95) | LRUHandle* Remove(const Slice& key, uint32_t hash) { method LRUHandle (line 115) | LRUHandle** FindPointer(const Slice& key, uint32_t hash) { method Resize (line 123) | void Resize() { class LRUCache (line 151) | class LRUCache { method SetCapacity (line 157) | void SetCapacity(size_t capacity) { capacity_ = capacity; } method TotalCharge (line 167) | size_t TotalCharge() const { class ShardedLRUCache (line 339) | class ShardedLRUCache : public Cache { method HashSlice (line 345) | static inline uint32_t HashSlice(const Slice& s) { method Shard (line 349) | static uint32_t Shard(uint32_t hash) { return hash >> (32 - kNumShar... method ShardedLRUCache (line 352) | explicit ShardedLRUCache(size_t capacity) : last_id_(0) { method Handle (line 359) | Handle* Insert(const Slice& key, void* value, size_t charge, method Handle (line 364) | Handle* Lookup(const Slice& key) override { method Release (line 368) | void Release(Handle* handle) override { method Erase (line 372) | void Erase(const Slice& key) override { method NewId (line 379) | uint64_t NewId() override { method Prune (line 383) | void Prune() override { method TotalCharge (line 388) | size_t TotalCharge() const override { function Cache (line 399) | Cache* NewLRUCache(size_t capacity) { return new ShardedLRUCache(capac... FILE: third_party/leveldb-1.23/util/cache_test.cc type leveldb (line 12) | namespace leveldb { function EncodeKey (line 15) | static std::string EncodeKey(int k) { function DecodeKey (line 20) | static int DecodeKey(const Slice& k) { function DecodeValue (line 25) | static int DecodeValue(void* v) { return reinterpret_cast(v... class CacheTest (line 27) | class CacheTest : public testing::Test { method Deleter (line 29) | static void Deleter(const Slice& key, void* v) { method CacheTest (line 39) | CacheTest() : cache_(NewLRUCache(kCacheSize)) { current_ = this; } method Lookup (line 43) | int Lookup(int key) { method Insert (line 52) | void Insert(int key, int value, int charge = 1) { method Erase (line 62) | void Erase(int key) { cache_->Erase(EncodeKey(key)); } function TEST_F (line 67) | TEST_F(CacheTest, HitAndMiss) { function TEST_F (line 90) | TEST_F(CacheTest, Erase) { function TEST_F (line 109) | TEST_F(CacheTest, EntriesArePinned) { function TEST_F (line 134) | TEST_F(CacheTest, EvictionPolicy) { function TEST_F (line 153) | TEST_F(CacheTest, UseExceedsCacheSize) { function TEST_F (line 170) | TEST_F(CacheTest, HeavyEntries) { function TEST_F (line 197) | TEST_F(CacheTest, NewId) { function TEST_F (line 203) | TEST_F(CacheTest, Prune) { function TEST_F (line 216) | TEST_F(CacheTest, ZeroSizeCache) { function main (line 226) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/util/coding.cc type leveldb (line 7) | namespace leveldb { function PutFixed32 (line 9) | void PutFixed32(std::string* dst, uint32_t value) { function PutFixed64 (line 15) | void PutFixed64(std::string* dst, uint64_t value) { function PutVarint32 (line 49) | void PutVarint32(std::string* dst, uint32_t v) { function PutVarint64 (line 66) | void PutVarint64(std::string* dst, uint64_t v) { function PutLengthPrefixedSlice (line 72) | void PutLengthPrefixedSlice(std::string* dst, const Slice& value) { function VarintLength (line 77) | int VarintLength(uint64_t v) { function GetVarint32 (line 104) | bool GetVarint32(Slice* input, uint32_t* value) { function GetVarint64 (line 133) | bool GetVarint64(Slice* input, uint64_t* value) { function GetLengthPrefixedSlice (line 155) | bool GetLengthPrefixedSlice(Slice* input, Slice* result) { FILE: third_party/leveldb-1.23/util/coding.h function namespace (line 20) | namespace leveldb { FILE: third_party/leveldb-1.23/util/coding_test.cc type leveldb (line 11) | namespace leveldb { function TEST (line 13) | TEST(Coding, Fixed32) { function TEST (line 27) | TEST(Coding, Fixed64) { function TEST (line 55) | TEST(Coding, EncodingOutput) { function TEST (line 77) | TEST(Coding, Varint32) { function TEST (line 98) | TEST(Coding, Varint64) { function TEST (line 133) | TEST(Coding, Varint32Overflow) { function TEST (line 140) | TEST(Coding, Varint32Truncation) { function TEST (line 153) | TEST(Coding, Varint64Overflow) { function TEST (line 160) | TEST(Coding, Varint64Truncation) { function TEST (line 173) | TEST(Coding, Strings) { function main (line 195) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/util/comparator.cc type leveldb (line 16) | namespace leveldb { class BytewiseComparatorImpl (line 21) | class BytewiseComparatorImpl : public Comparator { method BytewiseComparatorImpl (line 23) | BytewiseComparatorImpl() = default; method Compare (line 27) | int Compare(const Slice& a, const Slice& b) const override { method FindShortestSeparator (line 31) | void FindShortestSeparator(std::string* start, method FindShortSuccessor (line 54) | void FindShortSuccessor(std::string* key) const override { function Comparator (line 70) | const Comparator* BytewiseComparator() { FILE: third_party/leveldb-1.23/util/crc32c.cc type leveldb (line 15) | namespace leveldb { type crc32c (line 16) | namespace crc32c { function ReadUint32LE (line 249) | inline uint32_t ReadUint32LE(const uint8_t* buffer) { function CanAccelerateCRC32C (line 267) | static bool CanAccelerateCRC32C() { function Extend (line 276) | uint32_t Extend(uint32_t crc, const char* data, size_t n) { FILE: third_party/leveldb-1.23/util/crc32c.h function namespace (line 11) | namespace leveldb { FILE: third_party/leveldb-1.23/util/crc32c_test.cc type leveldb (line 9) | namespace leveldb { type crc32c (line 10) | namespace crc32c { function TEST (line 12) | TEST(CRC, StandardResults) { function TEST (line 41) | TEST(CRC, Values) { ASSERT_NE(Value("a", 1), Value("foo", 3)); } function TEST (line 43) | TEST(CRC, Extend) { function TEST (line 47) | TEST(CRC, Mask) { function main (line 58) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/util/env.cc type leveldb (line 15) | namespace leveldb { function Status (line 21) | Status Env::NewAppendableFile(const std::string& fname, WritableFile**... function Status (line 25) | Status Env::RemoveDir(const std::string& dirname) { return DeleteDir(d... function Status (line 26) | Status Env::DeleteDir(const std::string& dirname) { return RemoveDir(d... function Status (line 28) | Status Env::RemoveFile(const std::string& fname) { return DeleteFile(f... function Status (line 29) | Status Env::DeleteFile(const std::string& fname) { return RemoveFile(f... function Log (line 41) | void Log(Logger* info_log, const char* format, ...) { function Status (line 50) | static Status DoWriteStringToFile(Env* env, const Slice& data, function Status (line 71) | Status WriteStringToFile(Env* env, const Slice& data, function Status (line 76) | Status WriteStringToFileSync(Env* env, const Slice& data, function Status (line 81) | Status ReadFileToString(Env* env, const std::string& fname, std::strin... FILE: third_party/leveldb-1.23/util/env_posix.cc type leveldb (line 38) | namespace leveldb { function Status (line 60) | Status PosixError(const std::string& context, int error_number) { class Limiter (line 72) | class Limiter { method Limiter (line 75) | Limiter(int max_acquires) : acquires_allowed_(max_acquires) {} method Limiter (line 77) | Limiter(const Limiter&) = delete; method Limiter (line 78) | Limiter operator=(const Limiter&) = delete; method Acquire (line 82) | bool Acquire() { method Release (line 94) | void Release() { acquires_allowed_.fetch_add(1, std::memory_order_re... class PosixSequentialFile (line 108) | class PosixSequentialFile final : public SequentialFile { method PosixSequentialFile (line 110) | PosixSequentialFile(std::string filename, int fd) method Status (line 114) | Status Read(size_t n, Slice* result, char* scratch) override { method Status (line 131) | Status Skip(uint64_t n) override { class PosixRandomAccessFile (line 148) | class PosixRandomAccessFile final : public RandomAccessFile { method PosixRandomAccessFile (line 152) | PosixRandomAccessFile(std::string filename, int fd, Limiter* fd_limi... method Status (line 171) | Status Read(uint64_t offset, size_t n, Slice* result, class PosixMmapReadableFile (line 210) | class PosixMmapReadableFile final : public RandomAccessFile { method PosixMmapReadableFile (line 219) | PosixMmapReadableFile(std::string filename, char* mmap_base, size_t ... method Status (line 231) | Status Read(uint64_t offset, size_t n, Slice* result, class PosixWritableFile (line 249) | class PosixWritableFile final : public WritableFile { method PosixWritableFile (line 251) | PosixWritableFile(std::string filename, int fd) method Status (line 265) | Status Append(const Slice& data) override { method Status (line 294) | Status Close() override { method Status (line 304) | Status Flush() override { return FlushBuffer(); } method Status (line 306) | Status Sync() override { method Status (line 326) | Status FlushBuffer() { method Status (line 332) | Status WriteUnbuffered(const char* data, size_t size) { method Status (line 347) | Status SyncDirIfManifest() { method Status (line 369) | static Status SyncFd(int fd, const std::string& fd_path) { method Dirname (line 395) | static std::string Dirname(const std::string& filename) { method Slice (line 411) | static Slice Basename(const std::string& filename) { method IsManifest (line 425) | static bool IsManifest(const std::string& filename) { function LockOrUnlock (line 439) | int LockOrUnlock(int fd, bool lock) { class PosixFileLock (line 451) | class PosixFileLock : public FileLock { method PosixFileLock (line 453) | PosixFileLock(int fd, std::string filename) method fd (line 456) | int fd() const { return fd_; } class PosixLockTable (line 471) | class PosixLockTable { method LOCKS_EXCLUDED (line 473) | LOCKS_EXCLUDED(mu_) { method LOCKS_EXCLUDED (line 479) | LOCKS_EXCLUDED(mu_) { class PosixEnv (line 490) | class PosixEnv : public Env { method Status (line 500) | Status NewSequentialFile(const std::string& filename, method Status (line 512) | Status NewRandomAccessFile(const std::string& filename, method Status (line 545) | Status NewWritableFile(const std::string& filename, method Status (line 558) | Status NewAppendableFile(const std::string& filename, method FileExists (line 571) | bool FileExists(const std::string& filename) override { method Status (line 575) | Status GetChildren(const std::string& directory_path, method Status (line 590) | Status RemoveFile(const std::string& filename) override { method Status (line 597) | Status CreateDir(const std::string& dirname) override { method Status (line 604) | Status RemoveDir(const std::string& dirname) override { method Status (line 611) | Status GetFileSize(const std::string& filename, uint64_t* size) over... method Status (line 621) | Status RenameFile(const std::string& from, const std::string& to) ov... method Status (line 628) | Status LockFile(const std::string& filename, FileLock** lock) overri... method Status (line 652) | Status UnlockFile(FileLock* lock) override { method StartThread (line 666) | void StartThread(void (*thread_main)(void* thread_main_arg), method Status (line 672) | Status GetTestDirectory(std::string* result) override { method Status (line 689) | Status NewLogger(const std::string& filename, Logger** result) overr... method NowMicros (line 708) | uint64_t NowMicros() override { method SleepForMicroseconds (line 715) | void SleepForMicroseconds(int micros) override { method BackgroundThreadEntryPoint (line 722) | static void BackgroundThreadEntryPoint(PosixEnv* env) { type BackgroundWorkItem (line 732) | struct BackgroundWorkItem { method BackgroundWorkItem (line 733) | explicit BackgroundWorkItem(void (*function)(void* arg), void* arg) function MaxMmaps (line 753) | int MaxMmaps() { return g_mmap_limit; } function MaxOpenFiles (line 756) | int MaxOpenFiles() { class SingletonEnv (line 836) | class SingletonEnv { method SingletonEnv (line 838) | SingletonEnv() { method SingletonEnv (line 850) | SingletonEnv(const SingletonEnv&) = delete; method SingletonEnv (line 851) | SingletonEnv& operator=(const SingletonEnv&) = delete; method Env (line 853) | Env* env() { return reinterpret_cast(&env_storage_); } method AssertEnvNotInitialized (line 855) | static void AssertEnvNotInitialized() { function Env (line 888) | Env* Env::Default() { FILE: third_party/leveldb-1.23/util/env_posix_test.cc function TestCloseOnExecHelperMain (line 59) | int TestCloseOnExecHelperMain(char* pid_arg) { function GetMaxFileDescriptor (line 79) | void GetMaxFileDescriptor(int* result_fd) { function GetOpenFileDescriptors (line 89) | void GetOpenFileDescriptors(std::unordered_set* open_fds) { function GetNewlyOpenedFileDescriptor (line 113) | void GetNewlyOpenedFileDescriptor( function CheckCloseOnExecDoesNotLeakFDs (line 128) | void CheckCloseOnExecDoesNotLeakFDs( type leveldb (line 167) | namespace leveldb { class EnvPosixTest (line 172) | class EnvPosixTest : public testing::Test { method SetFileLimits (line 174) | static void SetFileLimits(int read_only_file_limit, int mmap_limit) { method EnvPosixTest (line 179) | EnvPosixTest() : env_(Env::Default()) {} function TEST_F (line 184) | TEST_F(EnvPosixTest, TestOpenOnRead) { function TEST_F (line 217) | TEST_F(EnvPosixTest, TestCloseOnExecSequentialFile) { function TEST_F (line 234) | TEST_F(EnvPosixTest, TestCloseOnExecRandomAccessFile) { function TEST_F (line 262) | TEST_F(EnvPosixTest, TestCloseOnExecWritableFile) { function TEST_F (line 279) | TEST_F(EnvPosixTest, TestCloseOnExecAppendableFile) { function TEST_F (line 296) | TEST_F(EnvPosixTest, TestCloseOnExecLockFile) { function TEST_F (line 313) | TEST_F(EnvPosixTest, TestCloseOnExecLogger) { function main (line 334) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/util/env_posix_test_helper.h function namespace (line 8) | namespace leveldb { FILE: third_party/leveldb-1.23/util/env_test.cc type leveldb (line 15) | namespace leveldb { class EnvTest (line 19) | class EnvTest : public testing::Test { method EnvTest (line 21) | EnvTest() : env_(Env::Default()) {} function TEST_F (line 26) | TEST_F(EnvTest, ReadWrite) { function TEST_F (line 73) | TEST_F(EnvTest, RunImmediately) { function TEST_F (line 97) | TEST_F(EnvTest, RunMany) { type State (line 137) | struct State { method State (line 144) | State(int val, int num_running) : val(val), num_running(num_running) {} function ThreadBody (line 147) | static void ThreadBody(void* arg) { function TEST_F (line 156) | TEST_F(EnvTest, StartThread) { function TEST_F (line 169) | TEST_F(EnvTest, TestOpenNonExistentFile) { function TEST_F (line 187) | TEST_F(EnvTest, ReopenWritableFile) { function TEST_F (line 211) | TEST_F(EnvTest, ReopenAppendableFile) { function main (line 237) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/util/env_windows.cc type leveldb (line 36) | namespace leveldb { function GetWindowsErrorMessage (line 48) | std::string GetWindowsErrorMessage(DWORD error_code) { function Status (line 65) | Status WindowsError(const std::string& context, DWORD error_code) { class ScopedHandle (line 71) | class ScopedHandle { method ScopedHandle (line 73) | ScopedHandle(HANDLE handle) : handle_(handle) {} method ScopedHandle (line 74) | ScopedHandle(const ScopedHandle&) = delete; method ScopedHandle (line 75) | ScopedHandle(ScopedHandle&& other) noexcept : handle_(other.Release(... method ScopedHandle (line 78) | ScopedHandle& operator=(const ScopedHandle&) = delete; method ScopedHandle (line 80) | ScopedHandle& operator=(ScopedHandle&& rhs) noexcept { method Close (line 85) | bool Close() { method is_valid (line 94) | bool is_valid() const { method HANDLE (line 98) | HANDLE get() const { return handle_; } method HANDLE (line 100) | HANDLE Release() { class Limiter (line 114) | class Limiter { method Limiter (line 117) | Limiter(int max_acquires) : acquires_allowed_(max_acquires) {} method Limiter (line 119) | Limiter(const Limiter&) = delete; method Limiter (line 120) | Limiter operator=(const Limiter&) = delete; method Acquire (line 124) | bool Acquire() { method Release (line 136) | void Release() { acquires_allowed_.fetch_add(1, std::memory_order_re... class WindowsSequentialFile (line 146) | class WindowsSequentialFile : public SequentialFile { method WindowsSequentialFile (line 148) | WindowsSequentialFile(std::string filename, ScopedHandle handle) method Status (line 152) | Status Read(size_t n, Slice* result, char* scratch) override { method Status (line 167) | Status Skip(uint64_t n) override { class WindowsRandomAccessFile (line 181) | class WindowsRandomAccessFile : public RandomAccessFile { method WindowsRandomAccessFile (line 183) | WindowsRandomAccessFile(std::string filename, ScopedHandle handle) method Status (line 188) | Status Read(uint64_t offset, size_t n, Slice* result, class WindowsMmapReadableFile (line 213) | class WindowsMmapReadableFile : public RandomAccessFile { method WindowsMmapReadableFile (line 216) | WindowsMmapReadableFile(std::string filename, char* mmap_base, size_... method Status (line 228) | Status Read(uint64_t offset, size_t n, Slice* result, class WindowsWritableFile (line 246) | class WindowsWritableFile : public WritableFile { method WindowsWritableFile (line 248) | WindowsWritableFile(std::string filename, ScopedHandle handle) method Status (line 253) | Status Append(const Slice& data) override { method Status (line 282) | Status Close() override { method Status (line 290) | Status Flush() override { return FlushBuffer(); } method Status (line 292) | Status Sync() override { method Status (line 309) | Status FlushBuffer() { method Status (line 315) | Status WriteUnbuffered(const char* data, size_t size) { function LockOrUnlock (line 336) | bool LockOrUnlock(HANDLE handle, bool lock) { class WindowsFileLock (line 350) | class WindowsFileLock : public FileLock { method WindowsFileLock (line 352) | WindowsFileLock(ScopedHandle handle, std::string filename) method ScopedHandle (line 355) | const ScopedHandle& handle() const { return handle_; } class WindowsEnv (line 363) | class WindowsEnv : public Env { method Status (line 373) | Status NewSequentialFile(const std::string& filename, method Status (line 390) | Status NewRandomAccessFile(const std::string& filename, method Status (line 437) | Status NewWritableFile(const std::string& filename, method Status (line 454) | Status NewAppendableFile(const std::string& filename, method FileExists (line 471) | bool FileExists(const std::string& filename) override { method Status (line 475) | Status GetChildren(const std::string& directory_path, method Status (line 504) | Status RemoveFile(const std::string& filename) override { method Status (line 511) | Status CreateDir(const std::string& dirname) override { method Status (line 518) | Status RemoveDir(const std::string& dirname) override { method Status (line 525) | Status GetFileSize(const std::string& filename, uint64_t* size) over... method Status (line 538) | Status RenameFile(const std::string& from, const std::string& to) ov... method Status (line 567) | Status LockFile(const std::string& filename, FileLock** lock) overri... method Status (line 584) | Status UnlockFile(FileLock* lock) override { method StartThread (line 598) | void StartThread(void (*thread_main)(void* thread_main_arg), method Status (line 604) | Status GetTestDirectory(std::string* result) override { method Status (line 624) | Status NewLogger(const std::string& filename, Logger** result) overr... method NowMicros (line 635) | uint64_t NowMicros() override { method SleepForMicroseconds (line 648) | void SleepForMicroseconds(int micros) override { method BackgroundThreadEntryPoint (line 655) | static void BackgroundThreadEntryPoint(WindowsEnv* env) { type BackgroundWorkItem (line 665) | struct BackgroundWorkItem { method BackgroundWorkItem (line 666) | explicit BackgroundWorkItem(void (*function)(void* arg), void* arg) function MaxMmaps (line 684) | int MaxMmaps() { return g_mmap_limit; } class SingletonEnv (line 744) | class SingletonEnv { method SingletonEnv (line 746) | SingletonEnv() { method SingletonEnv (line 758) | SingletonEnv(const SingletonEnv&) = delete; method SingletonEnv (line 759) | SingletonEnv& operator=(const SingletonEnv&) = delete; method Env (line 761) | Env* env() { return reinterpret_cast(&env_storage_); } method AssertEnvNotInitialized (line 763) | static void AssertEnvNotInitialized() { function Env (line 791) | Env* Env::Default() { FILE: third_party/leveldb-1.23/util/env_windows_test.cc type leveldb (line 11) | namespace leveldb { class EnvWindowsTest (line 15) | class EnvWindowsTest : public testing::Test { method SetFileLimits (line 17) | static void SetFileLimits(int mmap_limit) { method EnvWindowsTest (line 21) | EnvWindowsTest() : env_(Env::Default()) {} function TEST_F (line 26) | TEST_F(EnvWindowsTest, TestOpenOnRead) { function main (line 60) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/util/env_windows_test_helper.h function namespace (line 8) | namespace leveldb { FILE: third_party/leveldb-1.23/util/filter_policy.cc type leveldb (line 7) | namespace leveldb { FILE: third_party/leveldb-1.23/util/hash.cc type leveldb (line 20) | namespace leveldb { function Hash (line 22) | uint32_t Hash(const char* data, size_t n, uint32_t seed) { FILE: third_party/leveldb-1.23/util/hash.h function namespace (line 13) | namespace leveldb { FILE: third_party/leveldb-1.23/util/hash_test.cc type leveldb (line 9) | namespace leveldb { function TEST (line 11) | TEST(HASH, SignedUnsignedIssue) { function main (line 43) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/util/histogram.cc type leveldb (line 12) | namespace leveldb { FILE: third_party/leveldb-1.23/util/histogram.h function namespace (line 10) | namespace leveldb { FILE: third_party/leveldb-1.23/util/logging.cc type leveldb (line 15) | namespace leveldb { function AppendNumberTo (line 17) | void AppendNumberTo(std::string* str, uint64_t num) { function AppendEscapedStringTo (line 23) | void AppendEscapedStringTo(std::string* str, const Slice& value) { function NumberToString (line 37) | std::string NumberToString(uint64_t num) { function EscapeString (line 43) | std::string EscapeString(const Slice& value) { function ConsumeDecimalNumber (line 49) | bool ConsumeDecimalNumber(Slice* in, uint64_t* val) { FILE: third_party/leveldb-1.23/util/logging.h function namespace (line 17) | namespace leveldb { FILE: third_party/leveldb-1.23/util/logging_test.cc type leveldb (line 13) | namespace leveldb { function TEST (line 15) | TEST(Logging, NumberToString) { function ConsumeDecimalNumberRoundtripTest (line 40) | void ConsumeDecimalNumberRoundtripTest(uint64_t number, function TEST (line 53) | TEST(Logging, ConsumeDecimalNumberRoundtrip) { function TEST (line 75) | TEST(Logging, ConsumeDecimalNumberRoundtripWithPadding) { function ConsumeDecimalNumberOverflowTest (line 93) | void ConsumeDecimalNumberOverflowTest(const std::string& input_string) { function TEST (line 100) | TEST(Logging, ConsumeDecimalNumberOverflow) { function ConsumeDecimalNumberNoDigitsTest (line 120) | void ConsumeDecimalNumberNoDigitsTest(const std::string& input_string) { function TEST (line 129) | TEST(Logging, ConsumeDecimalNumberNoDigits) { function main (line 142) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/util/mutexlock.h function namespace (line 11) | namespace leveldb { FILE: third_party/leveldb-1.23/util/no_destructor.h function namespace (line 11) | namespace leveldb { FILE: third_party/leveldb-1.23/util/no_destructor_test.cc type leveldb (line 13) | namespace leveldb { type DoNotDestruct (line 17) | struct DoNotDestruct { method DoNotDestruct (line 19) | DoNotDestruct(uint32_t a, uint64_t b) : a(a), b(b) {} function TEST (line 32) | TEST(NoDestructorTest, StackInstance) { function TEST (line 38) | TEST(NoDestructorTest, StaticInstance) { function main (line 46) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/util/options.cc type leveldb (line 10) | namespace leveldb { FILE: third_party/leveldb-1.23/util/posix_logger.h function namespace (line 22) | namespace leveldb { FILE: third_party/leveldb-1.23/util/random.h function namespace (line 10) | namespace leveldb { FILE: third_party/leveldb-1.23/util/status.cc type leveldb (line 11) | namespace leveldb { FILE: third_party/leveldb-1.23/util/status_test.cc type leveldb (line 12) | namespace leveldb { function TEST (line 14) | TEST(Status, MoveConstructor) { function main (line 41) | int main(int argc, char** argv) { FILE: third_party/leveldb-1.23/util/testutil.cc type leveldb (line 11) | namespace leveldb { type test (line 12) | namespace test { function Slice (line 14) | Slice RandomString(Random* rnd, int len, std::string* dst) { function RandomKey (line 22) | std::string RandomKey(Random* rnd, int len) { function Slice (line 34) | Slice CompressibleString(Random* rnd, double compressed_fraction, si... FILE: third_party/leveldb-1.23/util/testutil.h function namespace (line 15) | namespace leveldb { FILE: third_party/leveldb-1.23/util/windows_logger.h function namespace (line 19) | namespace leveldb { FILE: third_party/rapidjson/allocators.h function RAPIDJSON_NAMESPACE_BEGIN (line 20) | RAPIDJSON_NAMESPACE_BEGIN function Clear (line 145) | void Clear() { function Capacity (line 158) | size_t Capacity() const { function Free (line 225) | static void Free(void *ptr) { (void)ptr; } function AddChunk (line 237) | bool AddChunk(size_t capacity) { type ChunkHeader (line 256) | struct ChunkHeader { FILE: third_party/rapidjson/document.h type GenericMember (line 108) | typedef GenericMember PlainType; type typename (line 109) | typedef typename internal::MaybeAddConst::Type ValueType; type std (line 110) | typedef std::iterator BaseType; type typename (line 121) | typedef typename BaseType::pointer Pointer; type typename (line 123) | typedef typename BaseType::reference Reference; type typename (line 125) | typedef typename BaseType::difference_type DifferenceType; function ptr_ (line 149) | GenericMemberIterator(const NonConstIterator & it) : ptr_(it.ptr_) {} function ConstIterator (line 171) | bool operator==(ConstIterator that) const { return ptr_ == that.ptr_; } function ConstIterator (line 172) | bool operator!=(ConstIterator that) const { return ptr_ != that.ptr_; } function ConstIterator (line 173) | bool operator<=(ConstIterator that) const { return ptr_ <= that.ptr_; } function ConstIterator (line 174) | bool operator>=(ConstIterator that) const { return ptr_ >= that.ptr_; } function operator (line 175) | bool operator< (ConstIterator that) const { return ptr_ < that.ptr_; } function operator (line 176) | bool operator> (ConstIterator that) const { return ptr_ > that.ptr_; } function Reference (line 181) | Reference operator*() const { return *ptr_; } function Pointer (line 182) | Pointer operator->() const { return ptr_; } function Reference (line 183) | Reference operator[](DifferenceType n) const { return ptr_[n]; } type CharType (line 250) | typedef CharType Ch; function explicit (line 302) | explicit GenericStringRef(const CharType* str) function operator (line 322) | operator const Ch *() const { return s; } function namespace (line 391) | namespace internal { function namespace (line 408) | namespace internal { function Is (line 482) | static bool Is(const ValueType& v) { return v.IsString(); } function StringType (line 483) | static StringType Get(const ValueType& v) { return StringType(v.GetStrin... type typename (line 490) | typedef typename ValueType::Array ArrayType; function Is (line 491) | static bool Is(const ValueType& v) { return v.IsArray(); } function ArrayType (line 492) | static ArrayType Get(ValueType& v) { return v.GetArray(); } type typename (line 499) | typedef typename ValueType::ConstArray ArrayType; function Is (line 500) | static bool Is(const ValueType& v) { return v.IsArray(); } function ArrayType (line 501) | static ArrayType Get(const ValueType& v) { return v.GetArray(); } type typename (line 506) | typedef typename ValueType::Object ObjectType; function Is (line 507) | static bool Is(const ValueType& v) { return v.IsObject(); } function ObjectType (line 508) | static ObjectType Get(ValueType& v) { return v.GetObject(); } type typename (line 515) | typedef typename ValueType::ConstObject ObjectType; function Is (line 516) | static bool Is(const ValueType& v) { return v.IsObject(); } function ObjectType (line 517) | static ObjectType Get(const ValueType& v) { return v.GetObject(); } type Encoding (line 544) | typedef Encoding EncodingType; type Allocator (line 545) | typedef Allocator AllocatorType; type typename (line 546) | typedef typename Encoding::Ch Ch; type GenericStringRef (line 547) | typedef GenericStringRef StringRefType; type typename (line 548) | typedef typename GenericMemberIterator::Iterat... type typename (line 549) | typedef typename GenericMemberIterator::Iterato... type GenericValue (line 550) | typedef GenericValue* ValueIterator; type GenericValue (line 551) | typedef const GenericValue* ConstValueIterator; type GenericValue (line 552) | typedef GenericValue ValueType; function explicit (line 625) | explicit GenericValue(bool b) RAPIDJSON_NOEXCEPT function explicit (line 634) | explicit GenericValue(int i) RAPIDJSON_NOEXCEPT : data_() { function explicit (line 640) | explicit GenericValue(unsigned u) RAPIDJSON_NOEXCEPT : data_() { function explicit (line 646) | explicit GenericValue(int64_t i64) RAPIDJSON_NOEXCEPT : data_() { function explicit (line 661) | explicit GenericValue(uint64_t u64) RAPIDJSON_NOEXCEPT : data_() { function explicit (line 673) | explicit GenericValue(double d) RAPIDJSON_NOEXCEPT : data_() { data_.n.d... function explicit (line 679) | explicit GenericValue(StringRefType s) RAPIDJSON_NOEXCEPT : data_() { Se... function data_ (line 700) | GenericValue(Array a) RAPIDJSON_NOEXCEPT : data_(a.value_.data_) { function data_ (line 711) | GenericValue(Object o) RAPIDJSON_NOEXCEPT : data_(o.value_.data_) { type GenericValue (line 853) | typedef GenericValue RhsType; function rhs (line 900) | bool operator==(const std::basic_string& rhs) const { return *this =... function GetBool (line 1001) | bool GetBool() const { RAPIDJSON_ASSERT(IsBool()); return data_.f.flags ... function SizeType (line 1016) | SizeType MemberCount() const { RAPIDJSON_ASSERT(IsObject()); return data... function GenericValue (line 1070) | const GenericValue& operator[](const std::basic_string& name) const ... function ConstMemberIterator (line 1075) | ConstMemberIterator MemberBegin() const { RAPIDJSON_ASSERT(IsObject()); ... function MemberIterator (line 1081) | MemberIterator MemberBegin() { RAPIDJSON_ASSERT(IsObject()); ... function MemberIterator (line 1084) | MemberIterator MemberEnd() { RAPIDJSON_ASSERT(IsObject()); ... function HasMember (line 1094) | bool HasMember(const Ch* name) const { return FindMember(name) != Member... function HasMember (line 1105) | bool HasMember(const std::basic_string& name) const { return FindMem... function MemberIterator (line 1132) | MemberIterator FindMember(const Ch* name) { function ConstMemberIterator (line 1137) | ConstMemberIterator FindMember(const Ch* name) const { return const_cast... function MemberIterator (line 1172) | MemberIterator FindMember(const std::basic_string& name) { return Fi... function ConstMemberIterator (line 1173) | ConstMemberIterator FindMember(const std::basic_string& name) const ... function RemoveAllMembers (line 1337) | void RemoveAllMembers() { function RemoveMember (line 1352) | bool RemoveMember(const Ch* name) { function MemberIterator (line 1380) | MemberIterator RemoveMember(MemberIterator m) { function MemberIterator (line 1404) | MemberIterator EraseMember(ConstMemberIterator pos) { function MemberIterator (line 1417) | MemberIterator EraseMember(ConstMemberIterator first, ConstMemberIterato... function EraseMember (line 1438) | bool EraseMember(const Ch* name) { function Object (line 1458) | Object GetObject() { RAPIDJSON_ASSERT(IsObject()); return Object(*this); } function ConstObject (line 1459) | ConstObject GetObject() const { RAPIDJSON_ASSERT(IsObject()); return Con... function SizeType (line 1471) | SizeType Size() const { RAPIDJSON_ASSERT(IsArray()); return data_.a.size; } function Empty (line 1477) | bool Empty() const { RAPIDJSON_ASSERT(IsArray()); return data_.a.size ==... function GenericValue (line 1501) | const GenericValue& operator[](SizeType index) const { return const_cast... function ValueIterator (line 1505) | ValueIterator Begin() { RAPIDJSON_ASSERT(IsArray()); return GetElementsP... function ValueIterator (line 1508) | ValueIterator End() { RAPIDJSON_ASSERT(IsArray()); return GetElementsPoi... function ValueIterator (line 1610) | ValueIterator Erase(ConstValueIterator pos) { function ValueIterator (line 1622) | ValueIterator Erase(ConstValueIterator first, ConstValueIterator last) { function Array (line 1637) | Array GetArray() { RAPIDJSON_ASSERT(IsArray()); return Array(*this); } function ConstArray (line 1638) | ConstArray GetArray() const { RAPIDJSON_ASSERT(IsArray()); return ConstA... function GetDouble (line 1653) | double GetDouble() const { function Ch (line 1681) | const Ch* GetString() const { RAPIDJSON_ASSERT(IsString()); return (data... function SizeType (line 1686) | SizeType GetStringLength() const { RAPIDJSON_ASSERT(IsString()); return ... type Flag (line 1845) | struct Flag { type String (line 1856) | struct String { function SetLength (line 1870) | struct ShortString { type I (line 1882) | struct I { type U (line 1886) | struct U { type I (line 1891) | struct I { type U (line 1895) | struct U { type ObjectData (line 1905) | struct ObjectData { type ArrayData (line 1911) | struct ArrayData { function RAPIDJSON_FORCEINLINE (line 1926) | RAPIDJSON_FORCEINLINE const Ch* GetStringPointer() const { return RAPIDJ... function RAPIDJSON_FORCEINLINE (line 1927) | RAPIDJSON_FORCEINLINE const Ch* SetStringPointer(const Ch* str) { return... function RAPIDJSON_FORCEINLINE (line 1928) | RAPIDJSON_FORCEINLINE GenericValue* GetElementsPointer() const { return ... function RAPIDJSON_FORCEINLINE (line 1929) | RAPIDJSON_FORCEINLINE GenericValue* SetElementsPointer(GenericValue* ele... function RAPIDJSON_FORCEINLINE (line 1930) | RAPIDJSON_FORCEINLINE Member* GetMembersPointer() const { return RAPIDJS... function RAPIDJSON_FORCEINLINE (line 1931) | RAPIDJSON_FORCEINLINE Member* SetMembersPointer(Member* members) { retur... function SetArrayRaw (line 1934) | void SetArrayRaw(GenericValue* values, SizeType count, Allocator& alloca... function SetObjectRaw (line 1947) | void SetObjectRaw(Member* members, SizeType count, Allocator& allocator) { function SetStringRaw (line 1960) | void SetStringRaw(StringRefType s) RAPIDJSON_NOEXCEPT { function SetStringRaw (line 1967) | void SetStringRaw(StringRefType s, Allocator& allocator) { function RawAssign (line 1984) | void RawAssign(GenericValue& rhs) RAPIDJSON_NOEXCEPT { type GenericValue (line 2010) | typedef GenericValue > Value; type GenericValue (line 2027) | typedef GenericValue ValueType; type Allocator (line 2028) | typedef Allocator AllocatorType; type ClearStackOnExit (line 2318) | struct ClearStackOnExit { function Bool (line 2334) | bool Bool(bool b) { new (stack_.template Push()) ValueType(b)... function Int (line 2335) | bool Int(int i) { new (stack_.template Push()) ValueType(i); ... function Uint (line 2336) | bool Uint(unsigned i) { new (stack_.template Push()) ValueTyp... function Int64 (line 2337) | bool Int64(int64_t i) { new (stack_.template Push()) ValueTyp... function Uint64 (line 2338) | bool Uint64(uint64_t i) { new (stack_.template Push()) ValueT... function Double (line 2339) | bool Double(double d) { new (stack_.template Push()) ValueTyp... function RawNumber (line 2341) | bool RawNumber(const Ch* str, SizeType length, bool copy) { function String (line 2349) | bool String(const Ch* str, SizeType length, bool copy) { function StartObject (line 2357) | bool StartObject() { new (stack_.template Push()) ValueType(k... function Key (line 2359) | bool Key(const Ch* str, SizeType length, bool copy) { return String(str,... function EndObject (line 2361) | bool EndObject(SizeType memberCount) { function StartArray (line 2367) | bool StartArray() { new (stack_.template Push()) ValueType(kA... function EndArray (line 2369) | bool EndArray(SizeType elementCount) { function ClearStack (line 2381) | void ClearStack() { function Destroy (line 2390) | void Destroy() { type GenericDocument (line 2402) | typedef GenericDocument > Document; type ValueT (line 2443) | typedef ValueT PlainType; type typename (line 2444) | typedef typename internal::MaybeAddConst::Type ValueType; type ValueType (line 2445) | typedef ValueType* ValueIterator; type ValueT (line 2446) | typedef const ValueT* ConstValueIterator; type typename (line 2447) | typedef typename ValueType::AllocatorType AllocatorType; type typename (line 2448) | typedef typename ValueType::StringRefType StringRefType; function value_ (line 2453) | GenericArray(const GenericArray& rhs) : value_(rhs.value_) {} function GenericArray (line 2464) | GenericArray Reserve(SizeType newCapacity, AllocatorType &allocator) con... function GenericArray (line 2465) | GenericArray PushBack(ValueType& value, AllocatorType& allocator) const ... function GenericArray (line 2467) | GenericArray PushBack(ValueType&& value, AllocatorType& allocator) const... function GenericArray (line 2469) | GenericArray PushBack(StringRefType value, AllocatorType& allocator) con... function ValueIterator (line 2472) | ValueIterator Erase(ConstValueIterator pos) const { return value_.Erase(... function ValueIterator (line 2473) | ValueIterator Erase(ConstValueIterator first, ConstValueIterator last) c... function value_ (line 2482) | value_(value) {} type ValueT (line 2496) | typedef ValueT PlainType; type typename (line 2497) | typedef typename internal::MaybeAddConst::Type ValueType; type GenericMemberIterator (line 2498) | typedef GenericMemberIterator& value, A... function GenericObject (line 2538) | GenericObject AddMember(ValueType&& name, ValueType&& value, AllocatorTy... function GenericObject (line 2539) | GenericObject AddMember(ValueType&& name, ValueType& value, AllocatorTyp... function GenericObject (line 2540) | GenericObject AddMember(ValueType& name, ValueType&& value, AllocatorTyp... function GenericObject (line 2541) | GenericObject AddMember(StringRefType name, ValueType&& value, Allocator... function GenericObject (line 2543) | GenericObject AddMember(StringRefType name, ValueType& value, AllocatorT... function GenericObject (line 2544) | GenericObject AddMember(StringRefType name, StringRefType value, Allocat... function RemoveMember (line 2547) | bool RemoveMember(const Ch* name) const { return value_.RemoveMember(nam... function value_ (line 2568) | value_(value) {} FILE: third_party/rapidjson/encodedstream.h function RAPIDJSON_DIAG_PUSH (line 27) | RAPIDJSON_DIAG_PUSH function Ch (line 49) | Ch Take() { Ch c = current_; current_ = Encoding::Take(is_); return c; } function Put (line 53) | void Put(Ch) { RAPIDJSON_ASSERT(false); } function Flush (line 54) | void Flush() { RAPIDJSON_ASSERT(false); } function Ch (line 55) | Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; } function PutEnd (line 56) | size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; } function is_ (line 72) | is_(is) { function Ch (line 78) | Ch Take() { return is_.Take(); } function Put (line 82) | void Put(Ch) {} function Flush (line 83) | void Flush() {} function Ch (line 84) | Ch* PutBegin() { return 0; } function PutEnd (line 85) | size_t PutEnd(Ch*) { return 0; } function os_ (line 105) | os_(os) { function Put (line 110) | void Put(Ch c) { Encoding::Put(os_, c); } function Flush (line 111) | void Flush() { os_.Flush(); } function Ch (line 115) | Ch Take() { RAPIDJSON_ASSERT(false); return 0;} function Tell (line 116) | size_t Tell() const { RAPIDJSON_ASSERT(false); return 0; } function Ch (line 157) | Ch Take() { Ch c = current_; current_ = takeFunc_(*is_); return c; } function Put (line 161) | void Put(Ch) { RAPIDJSON_ASSERT(false); } function Flush (line 162) | void Flush() { RAPIDJSON_ASSERT(false); } function Ch (line 163) | Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; } function PutEnd (line 164) | size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; } function DetectType (line 171) | void DetectType() { type Ch (line 219) | typedef Ch (*TakeFunc)(InputByteStream& is); function Put (line 260) | void Put(Ch c) { putFunc_(*os_, c); } function Flush (line 261) | void Flush() { os_->Flush(); } function Ch (line 265) | Ch Take() { RAPIDJSON_ASSERT(false); return 0;} function Tell (line 266) | size_t Tell() const { RAPIDJSON_ASSERT(false); return 0; } function PutBOM (line 274) | void PutBOM() { FILE: third_party/rapidjson/encodings.h function RAPIDJSON_DIAG_PUSH (line 25) | RAPIDJSON_DIAG_PUSH function else (line 131) | else if (codepoint <= 0xFFFF) { function GetRange (line 204) | static unsigned char GetRange(unsigned char c) { type CharType (line 270) | typedef CharType Ch; type CharType (line 419) | typedef CharType Ch; type CharType (line 543) | typedef CharType Ch; type UTFType (line 603) | enum UTFType { type CharType (line 616) | typedef CharType Ch; function Encode (line 623) | static void Encode(OutputStream& os, unsigned codepoint) { function EncodeUnsafe (line 630) | static void EncodeUnsafe(OutputStream& os, unsigned codepoint) { function Decode (line 637) | static bool Decode(InputStream& is, unsigned* codepoint) { function Validate (line 644) | static bool Validate(InputStream& is, OutputStream& os) { function Transcode (line 661) | static bool Transcode(InputStream& is, OutputStream& os) { function TranscodeUnsafe (line 670) | static bool TranscodeUnsafe(InputStream& is, OutputStream& os) { function Validate (line 680) | static bool Validate(InputStream& is, OutputStream& os) { function Transcode (line 693) | static bool Transcode(InputStream& is, OutputStream& os) { function TranscodeUnsafe (line 699) | static bool TranscodeUnsafe(InputStream& is, OutputStream& os) { function Validate (line 705) | static bool Validate(InputStream& is, OutputStream& os) { FILE: third_party/rapidjson/error/en.h function RAPIDJSON_DIAG_PUSH (line 21) | RAPIDJSON_DIAG_PUSH FILE: third_party/rapidjson/error/error.h function RAPIDJSON_NAMESPACE_BEGIN (line 55) | RAPIDJSON_NAMESPACE_BEGIN type RAPIDJSON_ERROR_CHARTYPE (line 147) | typedef const RAPIDJSON_ERROR_CHARTYPE* (*GetParseErrorFunc)(ParseErrorC... FILE: third_party/rapidjson/filereadstream.h function RAPIDJSON_DIAG_PUSH (line 22) | RAPIDJSON_DIAG_PUSH function Ch (line 51) | Ch Take() { Ch c = *current_; Read(); return c; } function Put (line 55) | void Put(Ch) { RAPIDJSON_ASSERT(false); } function Flush (line 56) | void Flush() { RAPIDJSON_ASSERT(false); } function Ch (line 57) | Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; } function PutEnd (line 58) | size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; } function Ch (line 61) | const Ch* Peek4() const { FILE: third_party/rapidjson/filewritestream.h function RAPIDJSON_DIAG_PUSH (line 22) | RAPIDJSON_DIAG_PUSH function Put (line 40) | void Put(char c) { function PutN (line 47) | void PutN(char c, size_t n) { function Flush (line 63) | void Flush() { function Peek (line 75) | char Peek() const { RAPIDJSON_ASSERT(false); return 0; } function Tell (line 77) | size_t Tell() const { RAPIDJSON_ASSERT(false); return 0; } function PutEnd (line 79) | size_t PutEnd(char*) { RAPIDJSON_ASSERT(false); return 0; } function PutN (line 94) | inline void PutN(FileWriteStream& stream, char c, size_t n) { FILE: third_party/rapidjson/fwd.h type GenericStringStream (line 49) | typedef GenericStringStream > StringStream; type GenericInsituStringStream (line 54) | typedef GenericInsituStringStream > InsituStringStream; type GenericStringBuffer (line 61) | typedef GenericStringBuffer, CrtAllocator> StringBuffer; type GenericMemoryBuffer (line 76) | typedef GenericMemoryBuffer MemoryBuffer; type MemoryStream (line 80) | struct MemoryStream type GenericReader (line 90) | typedef GenericReader, UTF8, CrtAllocator> Reader; type GenericValue (line 116) | typedef GenericValue, MemoryPoolAllocator > Value; type GenericDocument (line 121) | typedef GenericDocument, MemoryPoolAllocator, C... type GenericPointer (line 128) | typedef GenericPointer Pointer; type GenericSchemaDocument (line 138) | typedef GenericSchemaDocument SchemaDocument; type IGenericRemoteSchemaDocumentProvider (line 139) | typedef IGenericRemoteSchemaDocumentProvider IRemoteSche... type GenericSchemaValidator (line 147) | typedef GenericSchemaValidator& l, SizeType index) const { function MatchRange (line 661) | bool MatchRange(SizeType rangeIndex, unsigned codepoint) const { type GenericRegex (line 688) | typedef GenericRegex > Regex; FILE: third_party/rapidjson/internal/stack.h function RAPIDJSON_DIAG_PUSH (line 22) | RAPIDJSON_DIAG_PUSH function T (line 149) | T* Top() const { function T (line 158) | T* End() const { return reinterpret_cast(stackTop_); } function T (line 164) | T* Bottom() const { return reinterpret_cast(stack_); } function Resize (line 199) | void Resize(size_t newCapacity) { function Destroy (line 206) | void Destroy() { FILE: third_party/rapidjson/internal/strfunc.h function RAPIDJSON_NAMESPACE_BEGIN (line 20) | RAPIDJSON_NAMESPACE_BEGIN FILE: third_party/rapidjson/internal/strtod.h function RAPIDJSON_NAMESPACE_BEGIN (line 23) | RAPIDJSON_NAMESPACE_BEGIN FILE: third_party/rapidjson/internal/swap.h function RAPIDJSON_DIAG_PUSH (line 21) | RAPIDJSON_DIAG_PUSH FILE: third_party/rapidjson/istreamwrapper.h function Ch (line 60) | Ch Take() { function Ch (line 73) | Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; } function Put (line 74) | void Put(Ch) { RAPIDJSON_ASSERT(false); } function Flush (line 75) | void Flush() { RAPIDJSON_ASSERT(false); } function PutEnd (line 76) | size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; } function Ch (line 79) | const Ch* Peek4() const { type BasicIStreamWrapper (line 106) | typedef BasicIStreamWrapper IStreamWrapper; type BasicIStreamWrapper (line 107) | typedef BasicIStreamWrapper WIStreamWrapper; FILE: third_party/rapidjson/memorystream.h function RAPIDJSON_DIAG_PUSH (line 21) | RAPIDJSON_DIAG_PUSH function Ch (line 46) | Ch Take() { return RAPIDJSON_UNLIKELY(src_ == end_) ? '\0' : *src_++; } function Ch (line 49) | Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; } function Put (line 50) | void Put(Ch) { RAPIDJSON_ASSERT(false); } function Flush (line 51) | void Flush() { RAPIDJSON_ASSERT(false); } function PutEnd (line 52) | size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; } function Ch (line 55) | const Ch* Peek4() const { FILE: third_party/rapidjson/msinttypes/inttypes.h type imaxdiv_t (line 57) | typedef struct { function _inline (line 286) | static FILE: third_party/rapidjson/msinttypes/stdint.h type int_least8_t (line 140) | typedef int8_t int_least8_t; type int_least16_t (line 141) | typedef int16_t int_least16_t; type int_least32_t (line 142) | typedef int32_t int_least32_t; type int_least64_t (line 143) | typedef int64_t int_least64_t; type uint_least8_t (line 144) | typedef uint8_t uint_least8_t; type uint_least16_t (line 145) | typedef uint16_t uint_least16_t; type uint_least32_t (line 146) | typedef uint32_t uint_least32_t; type uint_least64_t (line 147) | typedef uint64_t uint_least64_t; type int_fast8_t (line 150) | typedef int8_t int_fast8_t; type int_fast16_t (line 151) | typedef int16_t int_fast16_t; type int_fast32_t (line 152) | typedef int32_t int_fast32_t; type int_fast64_t (line 153) | typedef int64_t int_fast64_t; type uint_fast8_t (line 154) | typedef uint8_t uint_fast8_t; type uint_fast16_t (line 155) | typedef uint16_t uint_fast16_t; type uint_fast32_t (line 156) | typedef uint32_t uint_fast32_t; type uint_fast64_t (line 157) | typedef uint64_t uint_fast64_t; type intmax_t (line 169) | typedef int64_t intmax_t; type uintmax_t (line 170) | typedef uint64_t uintmax_t; FILE: third_party/rapidjson/ostreamwrapper.h function RAPIDJSON_DIAG_PUSH (line 22) | RAPIDJSON_DIAG_PUSH function Put (line 50) | void Put(Ch c) { function Flush (line 54) | void Flush() { function Peek (line 59) | char Peek() const { RAPIDJSON_ASSERT(false); return 0; } function Tell (line 61) | size_t Tell() const { RAPIDJSON_ASSERT(false); return 0; } function PutEnd (line 63) | size_t PutEnd(char*) { RAPIDJSON_ASSERT(false); return 0; } type BasicOStreamWrapper (line 72) | typedef BasicOStreamWrapper OStreamWrapper; type BasicOStreamWrapper (line 73) | typedef BasicOStreamWrapper WOStreamWrapper; FILE: third_party/rapidjson/pointer.h function RAPIDJSON_DIAG_PUSH (line 27) | RAPIDJSON_DIAG_PUSH function Token (line 320) | const Token* GetTokens() const { return tokens_; } function Erase (line 711) | bool Erase(ValueType& root) const { function NeedPercentEncode (line 790) | bool NeedPercentEncode(Ch c) const { function Parse (line 802) | void Parse(const Ch* source, size_t length) { function class (line 980) | class PercentDecodeStream { function Put (line 1028) | void Put(char c) { // UTF-8 must be byte type GenericPointer (line 1049) | typedef GenericPointer Pointer; FILE: third_party/rapidjson/prettywriter.h function Null (line 85) | bool Null() { PrettyPrefix(kNullType); return Base::Wr... function Bool (line 86) | bool Bool(bool b) { PrettyPrefix(b ? kTrueType : kFalseType); ... function Int (line 87) | bool Int(int i) { PrettyPrefix(kNumberType); return Base::Wr... function Uint (line 88) | bool Uint(unsigned u) { PrettyPrefix(kNumberType); return Base::Wr... function Int64 (line 89) | bool Int64(int64_t i64) { PrettyPrefix(kNumberType); return Base::Wr... function Uint64 (line 90) | bool Uint64(uint64_t u64) { PrettyPrefix(kNumberType); return Base::Wr... function Double (line 91) | bool Double(double d) { PrettyPrefix(kNumberType); return Base::Wr... function StartObject (line 111) | bool StartObject() { function StartArray (line 143) | bool StartArray() { function String (line 173) | bool String(const Ch* str) { return String(str, internal::StrLen(str)); } function Key (line 174) | bool Key(const Ch* str) { return Key(str, internal::StrLen(str)); } function RawValue (line 187) | bool RawValue(const Ch* json, size_t length, Type type) { PrettyPrefix(t... function WriteIndent (line 234) | void WriteIndent() { FILE: third_party/rapidjson/rapidjson.h type STATIC_ASSERTION_FAILURE (line 415) | struct STATIC_ASSERTION_FAILURE FILE: third_party/rapidjson/reader.h function RAPIDJSON_DIAG_PUSH (line 39) | RAPIDJSON_DIAG_PUSH type ParseFlag (line 145) | enum ParseFlag { type typename (line 197) | typedef typename Encoding::Ch Ch; type typename (line 199) | typedef typename internal::SelectIf, Bas... function Default (line 201) | bool Default() { return true; } function Null (line 202) | bool Null() { return static_cast(*this).Default(); } function Bool (line 203) | bool Bool(bool) { return static_cast(*this).Default(); } function Int (line 204) | bool Int(int) { return static_cast(*this).Default(); } function Uint (line 205) | bool Uint(unsigned) { return static_cast(*this).Default(); } function Int64 (line 206) | bool Int64(int64_t) { return static_cast(*this).Default(); } function Uint64 (line 207) | bool Uint64(uint64_t) { return static_cast(*this).Default(); } function Double (line 208) | bool Double(double) { return static_cast(*this).Default(); } function RawNumber (line 210) | bool RawNumber(const Ch* str, SizeType len, bool copy) { return static_c... function String (line 211) | bool String(const Ch*, SizeType, bool) { return static_cast(*... function StartObject (line 212) | bool StartObject() { return static_cast(*this).Default(); } function Key (line 213) | bool Key(const Ch* str, SizeType len, bool copy) { return static_cast(*this).Default(... function StartArray (line 215) | bool StartArray() { return static_cast(*this).Default(); } function EndArray (line 216) | bool EndArray(SizeType) { return static_cast(*this).Default(); } function namespace (line 222) | namespace internal { function SkipWhitespace (line 432) | inline void SkipWhitespace(InsituStringStream& is) { function SkipWhitespace (line 437) | inline void SkipWhitespace(StringStream& is) { function SkipWhitespace (line 441) | inline void SkipWhitespace(EncodedInputStream, MemoryStream>& is) { function ClearStack (line 547) | void ClearStack() { stack_.Clear(); } type ClearStackOnExit (line 550) | struct ClearStackOnExit { function Consume (line 744) | bool Consume(InputStream& is, typename InputStream::Ch expect) { function RAPIDJSON_FORCEINLINE (line 782) | RAPIDJSON_FORCEINLINE void Put(Ch c) { function RAPIDJSON_FORCEINLINE (line 787) | RAPIDJSON_FORCEINLINE void* Push(SizeType count) { function Ch (line 794) | Ch* Pop() { type typename (line 1075) | typedef typename InputStream::Ch Ch; function is (line 1077) | is(s) { (void)reader; } function RAPIDJSON_FORCEINLINE (line 1081) | RAPIDJSON_FORCEINLINE Ch TakePush() { return is.Take(); } function RAPIDJSON_FORCEINLINE (line 1082) | RAPIDJSON_FORCEINLINE Ch Take() { return is.Take(); } function RAPIDJSON_FORCEINLINE (line 1083) | RAPIDJSON_FORCEINLINE void Push(char) {} function Tell (line 1085) | size_t Tell() { return is.Tell(); } function Length (line 1086) | size_t Length() { return 0; } function RAPIDJSON_FORCEINLINE (line 1102) | RAPIDJSON_FORCEINLINE Ch TakePush() { function RAPIDJSON_FORCEINLINE (line 1107) | RAPIDJSON_FORCEINLINE void Push(char c) { function Length (line 1111) | size_t Length() { return stackStream.Length(); } function RAPIDJSON_FORCEINLINE (line 1129) | RAPIDJSON_FORCEINLINE Ch Take() { return Base::TakePush(); } type IterativeParsingState (line 1410) | enum IterativeParsingState { type Token (line 1436) | enum Token { function RAPIDJSON_FORCEINLINE (line 1455) | RAPIDJSON_FORCEINLINE Token Tokenize(Ch c) { function RAPIDJSON_FORCEINLINE (line 1482) | RAPIDJSON_FORCEINLINE IterativeParsingState Predict(IterativeParsingStat... function IterativeParsingState (line 1649) | IterativeParsingState Transit(IterativeParsingState src, Token token, It... type GenericReader (line 1862) | typedef GenericReader, UTF8<> > Reader; FILE: third_party/rapidjson/schema.h function namespace (line 78) | namespace internal { function namespace (line 130) | namespace internal { type typename (line 341) | typedef typename SchemaDocumentType::AllocatorType AllocatorType; type typename (line 342) | typedef typename SchemaDocumentType::PointerType PointerType; type typename (line 343) | typedef typename ValueType::EncodingType EncodingType; type typename (line 344) | typedef typename EncodingType::Ch Ch; type SchemaValidationContext (line 345) | typedef SchemaValidationContext Context; type Schema (line 346) | typedef Schema SchemaType; type GenericValue (line 347) | typedef GenericValue SValue; type typename (line 383) | typedef typename ValueType::ConstValueIterator ConstValueIterator; type typename (line 384) | typedef typename ValueType::ConstMemberIterator ConstMemberIterator; type Hasher (line 402) | typedef Hasher > EnumHasherType; function BeginValue (line 600) | bool BeginValue(Context& context) const { function Null (line 692) | bool Null(Context& context) const { function Bool (line 698) | bool Bool(Context& context, bool) const { function Int (line 704) | bool Int(Context& context, int i) const { function Uint (line 710) | bool Uint(Context& context, unsigned u) const { function Int64 (line 716) | bool Int64(Context& context, int64_t i) const { function Uint64 (line 722) | bool Uint64(Context& context, uint64_t u) const { function Double (line 728) | bool Double(Context& context, double d) const { function String (line 744) | bool String(Context& context, const Ch* str, SizeType length, bool) const { function StartObject (line 764) | bool StartObject(Context& context) const { function Key (line 783) | bool Key(Context& context, const Ch* str, SizeType len, bool) const { function EndObject (line 828) | bool EndObject(Context& context, SizeType memberCount) const { function StartArray (line 858) | bool StartArray(Context& context) const { function EndArray (line 868) | bool EndArray(Context& context, SizeType elementCount) const { type SchemaValueType (line 925) | enum SchemaValueType { type internal (line 937) | typedef internal::GenericRegex RegexType; type std (line 939) | typedef std::basic_regex RegexType; type RegexType (line 941) | typedef char RegexType; type SchemaArray (line 944) | struct SchemaArray { function SchemaType (line 952) | static const SchemaType* GetTypeless() { function ValueType (line 966) | static const ValueType* GetMember(const ValueType& value, const ValueTyp... function AssignIfExist (line 971) | static void AssignIfExist(bool& out, const ValueType& value, const Value... function AssignIfExist (line 977) | static void AssignIfExist(SizeType& out, const ValueType& value, const V... function AssignIfExist (line 983) | void AssignIfExist(SchemaArray& out, SchemaDocumentType& schemaDocument,... function IsPatternMatch (line 1013) | static bool IsPatternMatch(const RegexType* pattern, const Ch *str, Size... function IsPatternMatch (line 1028) | static bool IsPatternMatch(const RegexType* pattern, const Ch *str, Size... function FindPropertyIndex (line 1086) | bool FindPropertyIndex(const ValueType& name, SizeType* outIndex) const { function CheckInt (line 1099) | bool CheckInt(Context& context, int64_t i) const { function CheckUint (line 1138) | bool CheckUint(Context& context, uint64_t i) const { function CheckDoubleMinimum (line 1176) | bool CheckDoubleMinimum(Context& context, double d) const { function CheckDoubleMaximum (line 1182) | bool CheckDoubleMaximum(Context& context, double d) const { function CheckDoubleMultipleOf (line 1188) | bool CheckDoubleMultipleOf(Context& context, double d) const { type Property (line 1197) | struct Property { type PatternProperty (line 1208) | struct PatternProperty { function virtual (line 1303) | virtual ~IGenericRemoteSchemaDocumentProvider() {} type IGenericRemoteSchemaDocumentProvider (line 1323) | typedef IGenericRemoteSchemaDocumentProvider IRem... type Allocator (line 1324) | typedef Allocator AllocatorType; type typename (line 1325) | typedef typename ValueType::EncodingType EncodingType; type typename (line 1326) | typedef typename EncodingType::Ch Ch; type internal (line 1327) | typedef internal::Schema SchemaType; type GenericPointer (line 1328) | typedef GenericPointer PointerType; type SchemaRefEntry (line 1409) | struct SchemaRefEntry { function CreateSchemaRecursive (line 1429) | void CreateSchemaRecursive(const SchemaType** schema, const PointerType&... function CreateSchema (line 1446) | void CreateSchema(const SchemaType** schema, const PointerType& pointer,... function HandleRefSchema (line 1458) | bool HandleRefSchema(const PointerType& source, const SchemaType** schem... function SchemaType (line 1504) | const SchemaType* GetSchema(const PointerType& pointer) const { function PointerType (line 1511) | PointerType GetPointer(const SchemaType* schema) const { type GenericSchemaDocument (line 1530) | typedef GenericSchemaDocument SchemaDocument; type IGenericRemoteSchemaDocumentProvider (line 1532) | typedef IGenericRemoteSchemaDocumentProvider IRemoteSche... type typename (line 1559) | typedef typename SchemaDocumentType::PointerType PointerType; type typename (line 1560) | typedef typename SchemaType::EncodingType EncodingType; type typename (line 1561) | typedef typename EncodingType::Ch Ch; function Reset (line 1625) | void Reset() { function Ch (line 1642) | const Ch* GetInvalidSchemaKeyword() const { function Null (line 1689) | bool Null() { RAPIDJSON_SCHEMA_HANDLE_VALUE_(Null, (Curren... function Bool (line 1690) | bool Bool(bool b) { RAPIDJSON_SCHEMA_HANDLE_VALUE_(Bool, (Curren... function Int (line 1691) | bool Int(int i) { RAPIDJSON_SCHEMA_HANDLE_VALUE_(Int, (Curren... function Uint (line 1692) | bool Uint(unsigned u) { RAPIDJSON_SCHEMA_HANDLE_VALUE_(Uint, (Curren... function Int64 (line 1693) | bool Int64(int64_t i) { RAPIDJSON_SCHEMA_HANDLE_VALUE_(Int64, (Curren... function Uint64 (line 1694) | bool Uint64(uint64_t u) { RAPIDJSON_SCHEMA_HANDLE_VALUE_(Uint64, (Curren... function Double (line 1695) | bool Double(double d) { RAPIDJSON_SCHEMA_HANDLE_VALUE_(Double, (Curren... function RawNumber (line 1696) | bool RawNumber(const Ch* str, SizeType length, bool copy) function String (line 1698) | bool String(const Ch* str, SizeType length, bool copy) function StartObject (line 1701) | bool StartObject() { function Key (line 1707) | bool Key(const Ch* str, SizeType len, bool copy) { function EndObject (line 1715) | bool EndObject(SizeType memberCount) { function StartArray (line 1722) | bool StartArray() { function EndArray (line 1728) | bool EndArray(SizeType elementCount) { function virtual (line 1741) | virtual ISchemaValidator* CreateSchemaValidator(const SchemaType& root) { function virtual (line 1749) | virtual void DestroySchemaValidator(ISchemaValidator* validator) { function virtual (line 1755) | virtual void* CreateHasher() { function virtual (line 1759) | virtual uint64_t GetHashCode(void* hasher) { function virtual (line 1763) | virtual void DestroryHasher(void* hasher) { function virtual (line 1769) | virtual void* MallocState(size_t size) { function virtual (line 1773) | virtual void FreeState(void* p) { type GenericValue (line 1779) | typedef GenericValue, StateAllocator> HashCodeArray; type internal (line 1780) | typedef internal::Hasher HasherType; function BeginValue (line 1812) | bool BeginValue() { function EndValue (line 1843) | bool EndValue() { function AppendToken (line 1880) | void AppendToken(const Ch* str, SizeType len) { function RAPIDJSON_FORCEINLINE (line 1897) | RAPIDJSON_FORCEINLINE void PushSchema(const SchemaType& schema) { new (s... function RAPIDJSON_FORCEINLINE (line 1899) | RAPIDJSON_FORCEINLINE void PopSchema() { function OutputHandler (line 1912) | static OutputHandler& GetNullHandler() { type GenericSchemaValidator (line 1932) | typedef GenericSchemaValidator SchemaValidator; type typename (line 1956) | typedef typename InputStream::Ch Ch; function Ch (line 1989) | const Ch* GetInvalidSchemaKeyword() const { return invalidSchemaKeyword_; } FILE: third_party/rapidjson/stream.h function RAPIDJSON_NAMESPACE_BEGIN (line 22) | RAPIDJSON_NAMESPACE_BEGIN type typename (line 111) | typedef typename Encoding::Ch Ch; function Ch (line 116) | Ch Take() { return *src_++; } function Ch (line 119) | Ch* PutBegin() { RAPIDJSON_ASSERT(false); return 0; } function Put (line 120) | void Put(Ch) { RAPIDJSON_ASSERT(false); } function Flush (line 121) | void Flush() { RAPIDJSON_ASSERT(false); } function PutEnd (line 122) | size_t PutEnd(Ch*) { RAPIDJSON_ASSERT(false); return 0; } type GenericStringStream (line 134) | typedef GenericStringStream > StringStream; type typename (line 145) | typedef typename Encoding::Ch Ch; function Ch (line 150) | Ch Peek() { return *src_; } function Ch (line 151) | Ch Take() { return *src_++; } function Tell (line 152) | size_t Tell() { return static_cast(src_ - head_); } function Put (line 155) | void Put(Ch c) { RAPIDJSON_ASSERT(dst_ != 0); *dst_++ = c; } function Ch (line 157) | Ch* PutBegin() { return dst_ = src_; } function PutEnd (line 158) | size_t PutEnd(Ch* begin) { return static_cast(dst_ - begin); } function Flush (line 159) | void Flush() {} function Ch (line 161) | Ch* Push(size_t count) { Ch* begin = dst_; dst_ += count; return begin; } function Pop (line 162) | void Pop(size_t count) { dst_ -= count; } type GenericInsituStringStream (line 175) | typedef GenericInsituStringStream > InsituStringStream; FILE: third_party/rapidjson/writer.h type WriteFlag (line 63) | enum WriteFlag { function SetMaxDecimalPlaces (line 163) | void SetMaxDecimalPlaces(int maxDecimalPlaces) { function Null (line 172) | bool Null() { Prefix(kNullType); return EndValue(Write... function Bool (line 173) | bool Bool(bool b) { Prefix(b ? kTrueType : kFalseType); return... function Int (line 174) | bool Int(int i) { Prefix(kNumberType); return EndValue(Write... function Uint (line 175) | bool Uint(unsigned u) { Prefix(kNumberType); return EndValue(Write... function Int64 (line 176) | bool Int64(int64_t i64) { Prefix(kNumberType); return EndValue(Write... function Uint64 (line 177) | bool Uint64(uint64_t u64) { Prefix(kNumberType); return EndValue(Write... function Double (line 184) | bool Double(double d) { Prefix(kNumberType); return EndValue(Write... function StartObject (line 204) | bool StartObject() { function StartArray (line 220) | bool StartArray() { function String (line 239) | bool String(const Ch* str) { return String(str, internal::StrLen(str)); } function Key (line 240) | bool Key(const Ch* str) { return Key(str, internal::StrLen(str)); } function RawValue (line 252) | bool RawValue(const Ch* json, size_t length, Type type) { Prefix(type); ... type Level (line 256) | struct Level { function WriteNull (line 264) | bool WriteNull() { function WriteBool (line 269) | bool WriteBool(bool b) { function WriteInt (line 281) | bool WriteInt(int i) { function WriteUint (line 290) | bool WriteUint(unsigned u) { function WriteInt64 (line 299) | bool WriteInt64(int64_t i64) { function WriteUint64 (line 308) | bool WriteUint64(uint64_t u64) { function WriteDouble (line 317) | bool WriteDouble(double d) { function WriteString (line 345) | bool WriteString(const Ch* str, SizeType length) { function ScanWriteUnescapedString (line 419) | bool ScanWriteUnescapedString(GenericStringStream& is, s... function WriteStartObject (line 423) | bool WriteStartObject() { os_->Put('{'); return true; } function WriteEndObject (line 424) | bool WriteEndObject() { os_->Put('}'); return true; } function WriteStartArray (line 425) | bool WriteStartArray() { os_->Put('['); return true; } function WriteEndArray (line 426) | bool WriteEndArray() { os_->Put(']'); return true; } function WriteRawValue (line 428) | bool WriteRawValue(const Ch* json, size_t length) { function Prefix (line 437) | void Prefix(Type type) { function EndValue (line 458) | bool EndValue(bool ret) { function WriteInt (line 478) | bool Writer::WriteInt(int i) { function WriteUint (line 486) | inline bool Writer::WriteUint(unsigned u) { function WriteInt64 (line 494) | inline bool Writer::WriteInt64(int64_t i64) { function WriteUint64 (line 502) | inline bool Writer::WriteUint64(uint64_t u) { function WriteDouble (line 510) | inline bool Writer::WriteDouble(double d) { FILE: third_party/spdlog-1.14.1/bench/async_bench.cpp function count_lines (line 41) | int count_lines(const char *filename) { function verify_file (line 53) | void verify_file(const char *filename, int expected_count) { function main (line 68) | int main(int argc, char *argv[]) { function thread_fun (line 140) | void thread_fun(std::shared_ptr logger, int howmany) { function bench_mt (line 146) | void bench_mt(int howmany, std::shared_ptr logger, int t... FILE: third_party/spdlog-1.14.1/bench/bench.cpp function bench_threaded_logging (line 40) | void bench_threaded_logging(size_t threads, int iters) { function bench_single_threaded (line 79) | void bench_single_threaded(int iters) { function main (line 119) | int main(int argc, char *argv[]) { function bench (line 147) | void bench(int howmany, std::shared_ptr log) { function bench_mt (line 166) | void bench_mt(int howmany, std::shared_ptr log, size_t t... FILE: third_party/spdlog-1.14.1/bench/formatter-bench.cpp function bench_formatter (line 11) | void bench_formatter(benchmark::State &state, std::string pattern) { function bench_formatters (line 28) | void bench_formatters() { function main (line 56) | int main(int argc, char *argv[]) { FILE: third_party/spdlog-1.14.1/bench/latency.cpp function bench_c_string (line 19) | void bench_c_string(benchmark::State &state, std::shared_ptr (line 274) | struct fmt::formatter : fmt::formatter { method format (line 275) | auto format(my_type my, format_context &ctx) -> decltype(ctx.out()) { type std::formatter (line 282) | struct std::formatter : std::formatter { method format (line 283) | auto format(my_type my, format_context &ctx) const -> decltype(ctx.out... function user_defined_example (line 289) | void user_defined_example() { spdlog::info("user defined type: {}", my_t... function err_handler_example (line 292) | void err_handler_example() { function syslog_example (line 302) | void syslog_example() { function android_example (line 312) | void android_example() { class my_formatter_flag (line 322) | class my_formatter_flag : public spdlog::custom_flag_formatter { method format (line 324) | void format(const spdlog::details::log_msg &, method clone (line 331) | std::unique_ptr clone() const override { function custom_flags_example (line 336) | void custom_flags_example() { function file_events_example (line 344) | void file_events_example() { function replace_default_logger_example (line 367) | void replace_default_logger_example() { function mdc_example (line 386) | void mdc_example() FILE: third_party/spdlog-1.14.1/include/spdlog/async.h function namespace (line 25) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/async_logger-inl.h function SPDLOG_INLINE (line 16) | SPDLOG_INLINE spdlog::async_logger::async_logger(std::string logger_name, function SPDLOG_INLINE (line 26) | SPDLOG_INLINE spdlog::async_logger::async_logger(std::string logger_name, FILE: third_party/spdlog-1.14.1/include/spdlog/async_logger.h type class (line 22) | enum class function namespace (line 29) | namespace details { FILE: third_party/spdlog-1.14.1/include/spdlog/cfg/argv.h function namespace (line 20) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/cfg/env.h function namespace (line 26) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/cfg/helpers-inl.h function namespace (line 19) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/cfg/helpers.h function namespace (line 9) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/common-inl.h function namespace (line 13) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/common.h function namespace (line 127) | namespace sinks { function namespace (line 244) | namespace level { type class (line 288) | enum class type class (line 294) | enum class type source_loc (line 315) | struct source_loc { function line (line 324) | int line{0} type file_event_handlers (line 328) | struct file_event_handlers { function namespace (line 341) | namespace details { FILE: third_party/spdlog-1.14.1/include/spdlog/details/backtracer-inl.h function namespace (line 10) | namespace details { FILE: third_party/spdlog-1.14.1/include/spdlog/details/backtracer.h function namespace (line 16) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/circular_q.h function namespace (line 12) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/console_globals.h function namespace (line 9) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/file_helper-inl.h function namespace (line 20) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/file_helper.h function namespace (line 9) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/fmt_helper.h function namespace (line 17) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/log_msg-inl.h function namespace (line 12) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/log_msg.h function namespace (line 9) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/log_msg_buffer-inl.h function SPDLOG_INLINE (line 13) | SPDLOG_INLINE log_msg_buffer::log_msg_buffer(const log_msg &orig_msg) function SPDLOG_INLINE (line 20) | SPDLOG_INLINE log_msg_buffer::log_msg_buffer(const log_msg_buffer &other) FILE: third_party/spdlog-1.14.1/include/spdlog/details/log_msg_buffer.h function namespace (line 8) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/mpmc_blocking_q.h function namespace (line 19) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/null_mutex.h function namespace (line 10) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/os-inl.h function namespace (line 72) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/periodic_worker-inl.h function namespace (line 10) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/periodic_worker.h function namespace (line 18) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/registry-inl.h function namespace (line 30) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/registry.h function namespace (line 21) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/synchronous_factory.h function namespace (line 8) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/tcp_client-windows.h function namespace (line 22) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/tcp_client.h function namespace (line 23) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/thread_pool-inl.h function namespace (line 13) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/thread_pool.h type class (line 24) | enum class type async_msg (line 28) | struct async_msg function explicit (line 76) | explicit async_msg(async_msg_type the_type) function class (line 80) | class SPDLOG_API thread_pool { FILE: third_party/spdlog-1.14.1/include/spdlog/details/udp_client-windows.h function namespace (line 24) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/details/udp_client.h function namespace (line 25) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/fmt/bin_to_hex.h function namespace (line 39) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/fmt/bundled/args.h function FMT_BEGIN_NAMESPACE (line 17) | FMT_BEGIN_NAMESPACE function data (line 121) | auto data() const -> const basic_format_arg* { function pop_one (line 136) | auto pop_one = [](std::vector>* data) { function clear (line 213) | void clear() { function reserve (line 225) | void reserve(size_t new_cap, size_t new_cap_named) { FILE: third_party/spdlog-1.14.1/include/spdlog/fmt/bundled/chrono.h function namespace (line 69) | namespace safe_duration_cast { type Factor (line 200) | struct Factor type Factor (line 264) | struct Factor function min1 (line 294) | constexpr auto min1 = std::numeric_limits::lowest() / function namespace (line 325) | namespace detail { function FMT_BEGIN_EXPORT (line 482) | FMT_BEGIN_EXPORT function tm (line 527) | auto localtime(std::chrono::local_time time) -> std::tm { function tm (line 538) | inline auto gmtime(std::time_t time) -> std::tm { function namespace (line 580) | namespace detail { function noexcept (line 1218) | auto split_year_lower(long long year) const noexcept -> int { function noexcept (line 1225) | auto iso_year_weeks(long long curr_year) const noexcept -> int { function write1 (line 1254) | void write1(int value) { function write2 (line 1257) | void write2(int value) { function write2 (line 1262) | void write2(int value, pad_type pad) { function write_year_extended (line 1274) | void write_year_extended(long long year) { function write_year (line 1287) | void write_year(long long year) { function write_utc_offset (line 1296) | void write_utc_offset(long offset, numeric_system ns) { function on_full_weekday (line 1376) | void on_full_weekday() { function on_dec0_weekday (line 1382) | void on_dec0_weekday(numeric_system ns) { function on_dec1_weekday (line 1386) | void on_dec1_weekday(numeric_system ns) { function on_abbr_month (line 1395) | void on_abbr_month() { function on_full_month (line 1401) | void on_full_month() { function on_datetime (line 1408) | void on_datetime(numeric_system ns) { function on_loc_date (line 1423) | void on_loc_date(numeric_system ns) { function on_loc_time (line 1429) | void on_loc_time(numeric_system ns) { function on_us_date (line 1435) | void on_us_date() { function on_iso_date (line 1442) | void on_iso_date() { function on_utc_offset (line 1459) | void on_utc_offset(numeric_system ns) { format_utc_offset_impl(tm_, ns); } function on_tz_name (line 1460) | void on_tz_name() { format_tz_name_impl(tm_); } function on_year (line 1462) | void on_year(numeric_system ns) { function on_short_year (line 1467) | void on_short_year(numeric_system ns) { function on_offset_year (line 1472) | void on_offset_year() { function on_century (line 1477) | void on_century(numeric_system ns) { function on_dec_month (line 1495) | void on_dec_month(numeric_system ns) { function on_dec0_week_of_year (line 1501) | void on_dec0_week_of_year(numeric_system ns) { function on_dec1_week_of_year (line 1506) | void on_dec1_week_of_year(numeric_system ns) { function on_iso_week_of_year (line 1516) | void on_iso_week_of_year(numeric_system ns) { function on_iso_week_based_year (line 1522) | void on_iso_week_based_year() { write_year(tm_iso_week_year()); } function on_iso_week_based_short_year (line 1523) | void on_iso_week_based_short_year() { function on_day_of_year (line 1527) | void on_day_of_year() { function on_day_of_month (line 1532) | void on_day_of_month(numeric_system ns) { function on_day_of_month_space (line 1536) | void on_day_of_month_space(numeric_system ns) { function on_24_hour (line 1547) | void on_24_hour(numeric_system ns, pad_type pad) { function on_12_hour (line 1552) | void on_12_hour(numeric_system ns, pad_type pad) { function on_minute (line 1557) | void on_minute(numeric_system ns, pad_type pad) { function on_second (line 1563) | void on_second(numeric_system ns, pad_type pad) { function on_12_hour_time (line 1584) | void on_12_hour_time() { function on_24_hour_time (line 1596) | void on_24_hour_time() { function on_iso_time (line 1601) | void on_iso_time() { function on_am_pm (line 1607) | void on_am_pm() { function on_duration_value (line 1617) | void on_duration_value() {} function on_duration_unit (line 1618) | void on_duration_unit() {} function chrono_format_checker (line 1621) | struct chrono_format_checker : null_chrono_spec_handler const Char* { return buffer; } function FMT_CONSTEXPR (line 401) | static FMT_CONSTEXPR void to_esc(uint8_t c, Char* out, function FMT_CONSTEXPR (line 408) | static FMT_CONSTEXPR auto has_emphasis(emphasis em, emphasis mask) noexcept function noexcept (line 415) | auto make_foreground_color(detail::color_type foreground) noexcept function noexcept (line 421) | auto make_background_color(detail::color_type background) noexcept function noexcept (line 427) | auto make_emphasis(emphasis em) noexcept function vprint (line 469) | inline void vprint(std::FILE* f, const text_style& ts, string_view fmt, function T (line 635) | auto styled(const T& value, text_style ts) FILE: third_party/spdlog-1.14.1/include/spdlog/fmt/bundled/compile.h function FMT_BEGIN_NAMESPACE (line 13) | FMT_BEGIN_NAMESPACE function class (line 23) | class compiled_string {} function Args (line 70) | [[maybe_unused]] const Args&... rest) { function OutputIt (line 101) | OutputIt format(OutputIt out, const Args&...) const { function OutputIt (line 120) | OutputIt format(OutputIt out, const Args&...) const { function OutputIt (line 145) | OutputIt format(OutputIt out, const Args&... args) const { function try_format_argument (line 164) | static bool try_format_argument( function OutputIt (line 178) | OutputIt format(OutputIt out, const Args&... args) const { function FMT_INLINE (line 196) | FMT_INLINE OutputIt format(OutputIt out, function OutputIt (line 214) | OutputIt format(OutputIt out, const Args&... args) const { type unknown_format (line 228) | struct unknown_format {} function on_auto (line 279) | constexpr int on_auto() { function on_index (line 283) | constexpr int on_index(int id) { function on_name (line 287) | constexpr int on_name(basic_string_view id) { function FMT_INLINE (line 442) | FMT_INLINE OutputIt format_to(OutputIt out, const CompiledFormat& cf, function OutputIt (line 476) | OutputIt format_to(OutputIt out, const S&, Args&&... args) { function namespace (line 523) | inline namespace literals { FILE: third_party/spdlog-1.14.1/include/spdlog/fmt/bundled/core.h function const_check (line 293) | struct monostate { function T (line 376) | auto convert_for_visit(T value) -> T { function int128_opt (line 383) | enum class int128_opt {} function uint128_opt (line 384) | enum class uint128_opt {} function FMT_CONSTEXPR (line 397) | FMT_CONSTEXPR inline auto is_utf8() -> bool { function operator (line 465) | constexpr auto operator[](size_t pos) const noexcept -> const Char& { function FMT_CONSTEXPR (line 469) | FMT_CONSTEXPR void remove_prefix(size_t n) noexcept { function FMT_CONSTEXPR_CHAR_TRAITS (line 474) | FMT_CONSTEXPR_CHAR_TRAITS auto starts_with( function FMT_CONSTEXPR_CHAR_TRAITS (line 479) | FMT_CONSTEXPR_CHAR_TRAITS auto starts_with(Char c) const noexcept -> bool { function FMT_CONSTEXPR_CHAR_TRAITS (line 482) | FMT_CONSTEXPR_CHAR_TRAITS auto starts_with(const Char* s) const -> bool { function FMT_CONSTEXPR_CHAR_TRAITS (line 487) | FMT_CONSTEXPR_CHAR_TRAITS auto compare(basic_string_view other) const ->... function FMT_EXPORT (line 521) | FMT_EXPORT function true_type (line 523) | struct is_char : std::true_type {} function namespace (line 525) | namespace detail { function type (line 573) | enum class type { type error_handler (line 650) | struct error_handler { function FMT_EXPORT (line 673) | FMT_EXPORT function namespace (line 742) | namespace detail { function FMT_CONSTEXPR (line 834) | FMT_CONSTEXPR void set(T* buf_data, size_t buf_capacity) noexcept { function FMT_INLINE (line 850) | FMT_INLINE auto begin() noexcept -> T* { return ptr_; } function FMT_INLINE (line 854) | FMT_INLINE auto end() const noexcept -> const T* { return ptr_ + size_; } function FMT_CONSTEXPR (line 863) | FMT_CONSTEXPR auto data() noexcept -> T* { return ptr_; } function clear (line 867) | void clear() { size_ = 0; } function FMT_CONSTEXPR20 (line 871) | FMT_CONSTEXPR20 void try_resize(size_t count) { function FMT_CONSTEXPR20 (line 880) | FMT_CONSTEXPR20 void try_reserve(size_t new_capacity) { function FMT_CONSTEXPR20 (line 884) | FMT_CONSTEXPR20 void push_back(const T& value) { function count (line 901) | struct buffer_traits { function override (line 931) | grow(size_t) override { function flush (line 935) | void flush() { function override (line 965) | grow(size_t) override { function flush (line 969) | void flush() { function override (line 1003) | grow(size_t) override {} function override (line 1045) | grow(size_t) override { function class (line 1100) | class appender : public std::back_insert_iterator> { function namespace (line 1112) | namespace detail { type view (line 1154) | struct view {} type arg_data (line 1182) | struct arg_data { type is_named_arg (line 1197) | struct is_named_arg type is_statically_named_arg (line 1198) | struct is_statically_named_arg type is_named_arg (line 1201) | struct is_named_arg> : std::true_type {} function init_named_args (line 1219) | void init_named_args(std::nullptr_t, int, int, type unformattable (line 1236) | struct unformattable {} function unformattable (line 1237) | struct unformattable_char : unformattable {} function unformattable (line 1238) | struct unformattable_pointer : unformattable {} function FMT_INLINE (line 1280) | constexpr FMT_INLINE value() : no_value() {} function FMT_INLINE (line 1301) | FMT_INLINE value(const named_arg_info* args, size_t size) function format_custom_arg (line 1320) | void format_custom_arg(void* arg, function FMT_CONSTEXPR (line 1358) | FMT_CONSTEXPR FMT_INLINE auto map(signed char val) -> int { return val; } function FMT_CONSTEXPR (line 1359) | FMT_CONSTEXPR FMT_INLINE auto map(unsigned char val) -> unsigned { function FMT_CONSTEXPR (line 1366) | FMT_CONSTEXPR FMT_INLINE auto map(int val) -> int { return val; } function long_type (line 1368) | auto map(long val) -> long_type { return val; } function ulong_type (line 1369) | auto map(unsigned long val) -> ulong_type { function FMT_CONSTEXPR (line 1377) | FMT_CONSTEXPR FMT_INLINE auto map(int128_opt val) -> int128_opt { function FMT_CONSTEXPR (line 1380) | FMT_CONSTEXPR FMT_INLINE auto map(uint128_opt val) -> uint128_opt { function FMT_CONSTEXPR (line 1383) | FMT_CONSTEXPR FMT_INLINE auto map(bool val) -> bool { return val; } function FMT_INLINE (line 1387) | FMT_INLINE auto map(T val) -> char_type { function FMT_INLINE (line 1417) | FMT_INLINE auto map(const T& val) function FMT_INLINE (line 1424) | FMT_INLINE auto map(const T&) -> unformattable_char { function FMT_CONSTEXPR (line 1428) | FMT_CONSTEXPR FMT_INLINE auto map(void* val) -> const void* { return val; } function FMT_CONSTEXPR (line 1429) | FMT_CONSTEXPR FMT_INLINE auto map(const void* val) -> const void* { function void (line 1432) | auto map(std::nullptr_t val) -> const void* { function unformattable_pointer (line 1445) | auto map(const T&) -> unformattable_pointer { function FMT_INLINE (line 1458) | FMT_INLINE auto map(const T& val) function FMT_INLINE (line 1469) | FMT_INLINE auto do_map(T& val) -> T& { function FMT_INLINE (line 1473) | FMT_INLINE auto do_map(T&) -> unformattable { function FMT_INLINE (line 1489) | FMT_INLINE auto map(const T& named_arg) function class (line 1553) | class locale_ref { function FMT_INLINE (line 1582) | FMT_INLINE auto make_arg(T& val) -> value { function Context (line 1619) | inline auto make_arg(T& val) -> basic_format_arg { function FMT_BEGIN_EXPORT (line 1623) | FMT_BEGIN_EXPORT function format_custom (line 1675) | auto is_arithmetic() const -> bool { function FMT_INLINE (line 1698) | FMT_INLINE auto visit_format_arg( function FMT_CONSTEXPR (line 1767) | FMT_CONSTEXPR auto arg(basic_string_view name) -> format_arg { function FMT_CONSTEXPR (line 1770) | FMT_CONSTEXPR auto arg_id(basic_string_view name) -> int { function FMT_CONSTEXPR (line 1776) | FMT_CONSTEXPR auto error_handler() -> detail::error_handler { return {}; } function FMT_CONSTEXPR (line 1787) | FMT_CONSTEXPR auto locale() -> detail::locale_ref { return loc_; } function FMT_CONSTEXPR (line 1919) | FMT_CONSTEXPR auto type(int index) const -> detail::type { function FMT_INLINE (line 1925) | constexpr FMT_INLINE basic_format_args(unsigned long long desc, function namespace (line 2016) | namespace align { function FMT_CONSTEXPR (line 2492) | FMT_CONSTEXPR void on_auto() { arg_id = handler.on_arg_id(); } function FMT_CONSTEXPR (line 2493) | FMT_CONSTEXPR void on_index(int id) { arg_id = handler.on_arg_id(id); } function adapter (line 2506) | auto adapter = id_adapter{handler, 0}; function parse_format_string (line 2523) | void parse_format_string( function on_text (line 2658) | void on_text(const Char*, const Char*) {} function FMT_CONSTEXPR (line 2661) | FMT_CONSTEXPR auto on_arg_id(int id) -> int { function FMT_CONSTEXPR (line 2664) | FMT_CONSTEXPR auto on_arg_id(basic_string_view id) -> int { function FMT_CONSTEXPR (line 2676) | FMT_CONSTEXPR void on_replacement_field(int id, const Char* begin) { function FMT_CONSTEXPR (line 2687) | FMT_CONSTEXPR void on_error(const char* message) { function check_format_string (line 2694) | void check_format_string(const S&) { function char (line 2715) | struct vformat_args { function vprint_mojibake (line 2726) | inline void vprint_mojibake(std::FILE*, string_view, format_args) {} function FMT_INLINE (line 2776) | FMT_INLINE basic_format_string(const S& s) : str_(s) { function string_view (line 2802) | inline auto runtime(string_view s) -> string_view { return s; } function runtime_format_string (line 2816) | inline auto runtime(string_view s) -> runtime_format_string<> { return {... function FMT_INLINE (line 2833) | FMT_INLINE auto format(format_string fmt, T&&... args) function print (line 2938) | void print(std::FILE* f, format_string fmt, T&&... args) { function println (line 2949) | void println(std::FILE* f, format_string fmt, T&&... args) { FILE: third_party/spdlog-1.14.1/include/spdlog/fmt/bundled/format-inl.h function FMT_BEGIN_NAMESPACE (line 27) | FMT_BEGIN_NAMESPACE function FMT_FUNC (line 140) | FMT_FUNC auto format_facet::do_put( function FMT_FUNC (line 147) | FMT_FUNC auto vsystem_error(int error_code, string_view fmt, format_args... function namespace (line 153) | namespace detail { function noexcept (line 194) | inline auto floor_log10_pow2_minus_log10_4_over_3(int e) noexcept -> int { function FMT_INLINE_VARIABLE (line 199) | FMT_INLINE_VARIABLE constexpr struct { function noexcept (line 242) | inline auto divide_by_10_to_kappa_plus_1(uint32_t n) noexcept -> uint32_t { function noexcept (line 247) | inline auto divide_by_10_to_kappa_plus_1(uint64_t n) noexcept -> uint64_t { function float (line 255) | struct cache_accessor { function noexcept (line 309) | static auto compute_delta(const cache_entry_type& cache, int beta) noexcept function carrier_uint (line 326) | static auto compute_left_endpoint_for_shorter_interval_case( function carrier_uint (line 333) | static auto compute_right_endpoint_for_shorter_interval_case( function carrier_uint (line 340) | static auto compute_round_up_for_shorter_interval_case( function double (line 349) | struct cache_accessor { function bigint (line 1369) | struct formatter { function FMT_FUNC (line 1395) | FMT_FUNC detail::utf8_to_utf16::utf8_to_utf16(string_view s) { function FMT_FUNC (line 1410) | FMT_FUNC void format_system_error(detail::buffer& out, int error_c... function FMT_FUNC (line 1421) | FMT_FUNC void report_system_error(int error_code, function FMT_FUNC (line 1426) | FMT_FUNC auto vformat(string_view fmt, format_args args) -> std::string { function namespace (line 1434) | namespace detail { function FMT_FUNC (line 1475) | FMT_FUNC void vprint(std::FILE* f, string_view fmt, format_args args) { function FMT_FUNC (line 1481) | FMT_FUNC void vprint(string_view fmt, format_args args) { function namespace (line 1485) | namespace detail { function FMT_FUNC (line 1524) | FMT_FUNC auto is_printable(uint32_t cp) -> bool { FILE: third_party/spdlog-1.14.1/include/spdlog/fmt/bundled/format.h function FMT_BEGIN_NAMESPACE (line 118) | FMT_BEGIN_NAMESPACE function FMT_BEGIN_NAMESPACE (line 209) | FMT_BEGIN_NAMESPACE function FMT_BEGIN_NAMESPACE (line 279) | FMT_BEGIN_NAMESPACE function FMT_CONSTEXPR (line 388) | FMT_CONSTEXPR auto operator>>(int shift) const -> uint128_fallback { function FMT_CONSTEXPR (line 393) | FMT_CONSTEXPR auto operator<<(int shift) const -> uint128_fallback { function FMT_CONSTEXPR (line 398) | FMT_CONSTEXPR auto operator>>=(int shift) -> uint128_fallback& { function uint128_fallback (line 413) | uint64_t n) noexcept -> uint128_fallback& { function To (line 462) | auto bit_cast(const From& from) -> To { function FMT_INLINE (line 500) | FMT_INLINE void assume(bool condition) { function Char (line 516) | auto get_data(std::basic_string& s) -> Char* { function Container (line 568) | auto base_iterator(std::back_insert_iterator it, type char8_type (line 599) | enum char8_type : unsigned char {} function FMT_NOINLINE (line 603) | FMT_NOINLINE auto copy_str_noinline(InputIt begin, InputIt end, function FMT_CONSTEXPR (line 625) | FMT_CONSTEXPR inline auto utf8_decode(const char* s, uint32_t* c, int* e) function for_each_codepoint (line 667) | void for_each_codepoint(string_view s, F f) { function FMT_CONSTEXPR (line 703) | FMT_CONSTEXPR inline auto compute_width(string_view s) -> size_t { function true_type (line 770) | struct is_integral : std::true_type {} function true_type (line 771) | struct is_integral : std::true_type {} function FMT_BEGIN_EXPORT (line 854) | FMT_BEGIN_EXPORT function FMT_CONSTEXPR20 (line 981) | FMT_CONSTEXPR20 void resize(size_t count) { this->try_resize(count); } function reserve (line 984) | void reserve(size_t new_capacity) { this->try_reserve(new_capacity); } function FMT_END_EXPORT (line 999) | FMT_END_EXPORT function namespace (line 1019) | namespace detail_exported { function class (line 1045) | class loc_value { function FMT_CONSTEXPR (line 1159) | FMT_CONSTEXPR inline auto count_digits(uint128_opt n) -> int { function FMT_CONSTEXPR20 (line 1187) | FMT_CONSTEXPR20 inline auto count_digits(uint64_t n) -> int { function FMT_INLINE (line 1216) | FMT_INLINE auto do_count_digits(uint32_t n) -> int { function FMT_CONSTEXPR20 (line 1239) | FMT_CONSTEXPR20 inline auto count_digits(uint32_t n) -> int { function wchar_t (line 1267) | inline auto thousands_sep(locale_ref loc) -> thousands_sep_result wchar_t { function class (line 1368) | class utf8_to_utf16 { function namespace (line 1478) | namespace dragonbox { function double (line 1530) | struct float_info { function FMT_CONSTEXPR (line 1684) | FMT_CONSTEXPR inline auto multiply(uint64_t lhs, uint64_t rhs) -> uint64... function FMT_CONSTEXPR (line 1701) | FMT_CONSTEXPR inline auto operator*(fp x, fp y) -> fp { function write (line 1769) | auto write = [=](reserve_iterator it) { function FMT_CONSTEXPR (line 1965) | FMT_CONSTEXPR write_int_data(int num_digits, unsigned prefix, type next_state (line 2014) | struct next_state { function class (line 2275) | class counting_iterator { function FMT_CONSTEXPR (line 2310) | FMT_CONSTEXPR auto operator*() const -> value_type { return {}; } function float_format (line 2417) | enum class float_format : unsigned char { type big_decimal_fp (line 2497) | struct big_decimal_fp { function write (line 2641) | auto write = [=](iterator it) { function signbit (line 2761) | bool signbit(T value) { function class (line 2781) | class bigint { function FMT_CONSTEXPR20 (line 2890) | FMT_CONSTEXPR20 auto num_bigits() const -> int { function FMT_CONSTEXPR20 (line 2961) | FMT_CONSTEXPR20 void assign_pow10(int exp) { function FMT_CONSTEXPR20 (line 2980) | FMT_CONSTEXPR20 void square() { function FMT_CONSTEXPR20 (line 3010) | FMT_CONSTEXPR20 void align(const bigint& other) { function FMT_CONSTEXPR20 (line 3023) | FMT_CONSTEXPR20 auto divmod_assign(const bigint& divisor) -> int { type dragon (line 3038) | enum dragon { function f (line 3631) | auto f = big_decimal_fp{buffer.data(), static_cast(buffer.size()), ... function OutputIt (line 3637) | auto write(OutputIt out, T value, format_specs specs, function FMT_INLINE (line 3795) | FMT_INLINE auto operator()(T value) -> iterator { type precision_checker (line 3819) | struct precision_checker { function value (line 3872) | statically_named_arg(const T& v) : value(v) {} function explicit (line 3994) | explicit format_int(long value) : str_(format_signed(value)) {} function explicit (line 3995) | explicit format_int(long long value) : str_(format_signed(value)) {} function explicit (line 3996) | explicit format_int(unsigned value) : str_(format_unsigned(value)) {} function explicit (line 3997) | explicit format_int(unsigned long value) : str_(format_unsigned(value)) {} function explicit (line 3998) | explicit format_int(unsigned long long value) function data (line 4010) | auto data() const -> const char* { return str_; } function namespace (line 4094) | namespace enums { function class (line 4101) | class bytes { function bytes (line 4110) | struct formatter { function FMT_CONSTEXPR (line 4181) | FMT_CONSTEXPR auto parse(format_parse_context& ctx) -> const char* { function decltype (line 4184) | auto format(nested_view view, format_context& ctx) const function T (line 4223) | auto nested(const T& value) const -> nested_view { function string (line 4326) | auto to_string(T value) -> std::string { function FMT_END_EXPORT (line 4349) | FMT_END_EXPORT function namespace (line 4437) | inline namespace literals { function string (line 4462) | auto vformat(const Locale& loc, string_view fmt, format_args args) FILE: third_party/spdlog-1.14.1/include/spdlog/fmt/bundled/os.h function FMT_API (line 127) | FMT_API const std::error_category& system_category() noexcept; function system_error (line 166) | system_error windows_error(int error_code, string_view message, function class (line 189) | class buffered_file { function descriptor (line 226) | auto get() const noexcept -> FILE* { return file_; } function print (line 235) | void print(string_view format_str, const Args&... args) { function class (line 247) | class FMT_API file { function noexcept (line 289) | auto descriptor() const noexcept -> int { return fd_; } function detail (line 333) | auto getpagesize() -> long; function flush (line 382) | void flush() { function close (line 388) | void close() { function detail (line 398) | constexpr detail::buffer_size buffer_size{} function class (line 401) | class FMT_API ostream { FILE: third_party/spdlog-1.14.1/include/spdlog/fmt/bundled/ostream.h function FMT_BEGIN_NAMESPACE (line 23) | FMT_BEGIN_NAMESPACE type file_access_tag (line 60) | struct file_access_tag {} function friend (line 64) | friend auto get_file(BufType& obj) -> FILE* { return obj.*FileMemberPtr; } function T (line 179) | auto streamed(const T& value) -> detail::streamed_view { function namespace (line 183) | namespace detail { function FMT_EXPORT (line 222) | FMT_EXPORT function FMT_EXPORT (line 235) | FMT_EXPORT FILE: third_party/spdlog-1.14.1/include/spdlog/fmt/bundled/printf.h function advance_to (line 48) | void advance_to(detail::buffer_appender) {} function basic_printf_context (line 52) | auto arg(int id) const -> basic_format_arg { function FMT_CONSTEXPR (line 56) | FMT_CONSTEXPR void on_error(const char* message) { function namespace (line 61) | namespace detail { type int_checker (line 73) | struct int_checker type printf_precision_handler (line 81) | struct printf_precision_handler { type is_zero_int (line 97) | struct is_zero_int { function bool (line 111) | struct make_unsigned_or_bool { function arg_ (line 177) | arg_(arg) {} function specs_ (line 203) | specs_(specs) {} function get_arg (line 428) | auto get_arg = [&](int arg_index) { FILE: third_party/spdlog-1.14.1/include/spdlog/fmt/bundled/ranges.h function T (line 101) | range_begin(const T (&arr)[N]) -> const T* { function T (line 105) | range_end(const T (&arr)[N]) -> const T* { function FMT_CONSTEXPR (line 186) | static FMT_CONSTEXPR auto size() -> size_t { return sizeof...(N); } function namespace (line 253) | namespace tuple { function namespace (line 385) | namespace detail { function FMT_CONSTEXPR (line 445) | FMT_CONSTEXPR auto underlying() -> detail::range_formatter_type& { function range_format (line 500) | enum class range_format { disabled, map, set, sequence, string, debug_st... function typename (line 634) | const -> FILE: third_party/spdlog-1.14.1/include/spdlog/fmt/bundled/std.h function FMT_BEGIN_NAMESPACE (line 84) | FMT_BEGIN_NAMESPACE type formatter (line 172) | struct formatter type writer (line 175) | struct writer { function decltype (line 216) | static auto maybe_set_debug_format(U& u, bool set) function maybe_set_debug_format (line 222) | static void maybe_set_debug_format(U&, ...) {} function source_location (line 248) | struct formatter { function FMT_BEGIN_NAMESPACE (line 271) | FMT_BEGIN_NAMESPACE function namespace (line 469) | namespace detail { FILE: third_party/spdlog-1.14.1/include/spdlog/fmt/bundled/xchar.h function FMT_BEGIN_NAMESPACE (line 19) | FMT_BEGIN_NAMESPACE function wstring_view (line 51) | inline auto runtime(wstring_view s) -> wstring_view { return s; } function wchar_t (line 55) | inline auto runtime(wstring_view s) -> runtime_format_string { function true_type (line 60) | struct is_char : std::true_type {} function true_type (line 61) | struct is_char : std::true_type {} function true_type (line 62) | struct is_char : std::true_type {} function true_type (line 63) | struct is_char : std::true_type {} function vprint (line 220) | inline void vprint(std::FILE* f, wstring_view fmt, wformat_args args) { function vprint (line 228) | inline void vprint(wstring_view fmt, wformat_args args) { function wstring (line 253) | auto to_wstring(const T& value) -> std::wstring { FILE: third_party/spdlog-1.14.1/include/spdlog/formatter.h function namespace (line 9) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/fwd.h function namespace (line 6) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/logger-inl.h function namespace (line 16) | namespace spdlog { function SPDLOG_INLINE (line 109) | SPDLOG_INLINE std::vector &logger::sinks() { return sinks_; } function SPDLOG_INLINE (line 117) | SPDLOG_INLINE std::shared_ptr logger::clone(std::string logger_n... FILE: third_party/spdlog-1.14.1/include/spdlog/logger.h function namespace (line 48) | namespace spdlog { function log (line 115) | void log(source_loc loc, level::level_enum lvl, string_view_t msg) { function log (line 126) | void log(level::level_enum lvl, string_view_t msg) { log(source_loc{}, l... function log (line 185) | void log(source_loc loc, level::level_enum lvl, wstring_view_t msg) { function log (line 198) | void log(level::level_enum lvl, wstring_view_t msg) { log(source_loc{}, ... function std (line 273) | const std::string &name() const; FILE: third_party/spdlog-1.14.1/include/spdlog/mdc.h function namespace (line 18) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/pattern_formatter-inl.h function class (line 38) | class scoped_padder { function name_formatter (line 97) | name_formatter final : public flag_formatter { function level_formatter (line 110) | level_formatter final : public flag_formatter { function format (line 129) | void format(const details::log_msg &msg, const std::tm &, memory_buf_t &... function to12h (line 142) | static int to12h(const tm &t) { return t.tm_hour > 12 ? t.tm_hour - 12 :... function std (line 145) | static std::array days{{"Sun", "Mon", "Tue", "Wed", "Th... function format (line 153) | void format(const details::log_msg &, const std::tm &tm_time, memory_buf... function std (line 161) | static std::array full_days{ function format (line 170) | void format(const details::log_msg &, const std::tm &tm_time, memory_buf... function format (line 187) | void format(const details::log_msg &, const std::tm &tm_time, memory_buf... function std (line 195) | static const std::array full_months{{"January", "Febru... function SPDLOG_INLINE (line 989) | SPDLOG_INLINE std::tm pattern_formatter::get_time_(const details::log_ms... function handle_flag_ (line 997) | void pattern_formatter::handle_flag_(char flag, details::padding_info pa... FILE: third_party/spdlog-1.14.1/include/spdlog/pattern_formatter.h function namespace (line 19) | namespace spdlog { function class (line 40) | class SPDLOG_API flag_formatter { function set_padding_info (line 60) | void set_padding_info(const details::padding_info &padding) { function pattern_formatter (line 65) | pattern_formatter final : public formatter { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/android_sink.h function namespace (line 25) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/ansicolor_sink-inl.h function namespace (line 13) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/ansicolor_sink.h function namespace (line 14) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/base_sink-inl.h function SPDLOG_INLINE (line 26) | SPDLOG_INLINE spdlog::sinks::base_sink::log(const details::log_ms... function SPDLOG_INLINE (line 32) | SPDLOG_INLINE spdlog::sinks::base_sink::flush() { function SPDLOG_INLINE (line 38) | SPDLOG_INLINE spdlog::sinks::base_sink::set_pattern(const std::st... function SPDLOG_INLINE (line 44) | SPDLOG_INLINE function SPDLOG_INLINE (line 51) | SPDLOG_INLINE spdlog::sinks::base_sink::set_pattern_(const std::s... function SPDLOG_INLINE (line 56) | SPDLOG_INLINE FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/base_sink.h function namespace (line 16) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/basic_file_sink-inl.h function namespace (line 13) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/basic_file_sink.h function namespace (line 14) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/callback_sink.h function namespace (line 13) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/daily_file_sink.h function namespace (line 23) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/dist_sink.h function namespace (line 19) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/dup_filter_sink.h function namespace (line 37) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/hourly_file_sink.h function namespace (line 21) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/kafka_sink.h function namespace (line 24) | namespace spdlog { function flush_ (line 80) | void flush_() override { producer_->flush(config_.flush_timeout_ms); } FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/mongo_sink.h function namespace (line 26) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/msvc_sink.h function namespace (line 25) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/null_sink.h function namespace (line 12) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/ostream_sink.h function namespace (line 12) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/qt_sinks.h function namespace (line 27) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/ringbuffer_sink.h function namespace (line 15) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/rotating_file_sink-inl.h function namespace (line 23) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/rotating_file_sink.h function namespace (line 15) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/sink.h function namespace (line 9) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/stdout_color_sinks-inl.h function namespace (line 13) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/stdout_color_sinks.h function namespace (line 14) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/stdout_sinks-inl.h function namespace (line 27) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/stdout_sinks.h function namespace (line 15) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/syslog_sink.h function namespace (line 14) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/systemd_sink.h function namespace (line 17) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/tcp_sink.h function namespace (line 28) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/udp_sink.h function namespace (line 23) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/win_eventlog_sink.h function namespace (line 46) | namespace spdlog { function get_event_category (line 155) | struct eventlog { function HANDLE (line 194) | HANDLE event_log_handle() { function flush_ (line 234) | void flush_() override {} FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/wincolor_sink-inl.h function namespace (line 16) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/sinks/wincolor_sink.h function namespace (line 17) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/spdlog-inl.h function namespace (line 13) | namespace spdlog { FILE: third_party/spdlog-1.14.1/include/spdlog/spdlog.h function namespace (line 23) | namespace spdlog { function log (line 187) | void log(source_loc source, level::level_enum lvl, const T &msg) { function log (line 192) | void log(level::level_enum lvl, const T &msg) { function log (line 198) | void log(source_loc source, function log (line 206) | void log(level::level_enum lvl, wformat_string_t fmt, Args &&..... function trace (line 242) | void trace(const T &msg) { function debug (line 247) | void debug(const T &msg) { function info (line 252) | void info(const T &msg) { function warn (line 257) | void warn(const T &msg) { function error (line 262) | void error(const T &msg) { function critical (line 267) | void critical(const T &msg) { FILE: third_party/spdlog-1.14.1/include/spdlog/stopwatch.h function namespace (line 29) | namespace spdlog { type formatter (line 60) | struct formatter FILE: third_party/spdlog-1.14.1/src/bundled_fmtlib_format.cpp function FMT_BEGIN_NAMESPACE (line 13) | FMT_BEGIN_NAMESPACE FILE: third_party/spdlog-1.14.1/src/color_sinks.cpp class SPDLOG_API (line 17) | class SPDLOG_API class SPDLOG_API (line 18) | class SPDLOG_API class SPDLOG_API (line 19) | class SPDLOG_API class SPDLOG_API (line 20) | class SPDLOG_API class SPDLOG_API (line 21) | class SPDLOG_API class SPDLOG_API (line 22) | class SPDLOG_API class SPDLOG_API (line 25) | class SPDLOG_API class SPDLOG_API (line 26) | class SPDLOG_API class SPDLOG_API (line 27) | class SPDLOG_API class SPDLOG_API (line 28) | class SPDLOG_API class SPDLOG_API (line 29) | class SPDLOG_API class SPDLOG_API (line 30) | class SPDLOG_API FILE: third_party/spdlog-1.14.1/src/file_sinks.cpp class SPDLOG_API (line 15) | class SPDLOG_API class SPDLOG_API (line 16) | class SPDLOG_API class SPDLOG_API (line 19) | class SPDLOG_API class SPDLOG_API (line 20) | class SPDLOG_API FILE: third_party/spdlog-1.14.1/src/spdlog.cpp class SPDLOG_API (line 27) | class SPDLOG_API class SPDLOG_API (line 28) | class SPDLOG_API FILE: third_party/spdlog-1.14.1/src/stdout_sinks.cpp class SPDLOG_API (line 14) | class SPDLOG_API class SPDLOG_API (line 15) | class SPDLOG_API class SPDLOG_API (line 16) | class SPDLOG_API class SPDLOG_API (line 17) | class SPDLOG_API class SPDLOG_API (line 18) | class SPDLOG_API class SPDLOG_API (line 19) | class SPDLOG_API FILE: third_party/spdlog-1.14.1/tests/test_create_dir.cpp function try_create_dir (line 10) | bool try_create_dir(const spdlog::filename_t &path, const spdlog::filena... function get_full_path (line 93) | std::string get_full_path(const std::string &relative_folder_path) { function get_full_path (line 101) | std::wstring get_full_path(const std::wstring &relative_folder_path) { function find_non_existing_drive (line 107) | spdlog::filename_t::value_type find_non_existing_drive() { FILE: third_party/spdlog-1.14.1/tests/test_daily_logger.cpp function filename_buf_to_utf8string (line 14) | std::string filename_buf_to_utf8string(const filename_memory_buf_t &w) { function filename_buf_to_utf8string (line 20) | std::string filename_buf_to_utf8string(const filename_memory_buf_t &w) { type custom_daily_file_name_calculator (line 47) | struct custom_daily_file_name_calculator { method calc_filename (line 48) | static spdlog::filename_t calc_filename(const spdlog::filename_t &base... function create_msg (line 131) | static spdlog::details::log_msg create_msg(std::chrono::seconds offset) { function test_rotate (line 138) | static void test_rotate(int days_to_run, uint16_t max_days, uint16_t exp... FILE: third_party/spdlog-1.14.1/tests/test_errors.cpp class failing_sink (line 12) | class failing_sink : public spdlog::sinks::base_sink { method sink_it_ (line 14) | void sink_it_(const spdlog::details::log_msg &) final { method flush_ (line 18) | void flush_() final { throw std::runtime_error("some error happened du... type custom_ex (line 20) | struct custom_ex {} FILE: third_party/spdlog-1.14.1/tests/test_eventlog.cpp function test_single_print (line 10) | static void test_single_print(std::function d... FILE: third_party/spdlog-1.14.1/tests/test_file_helper.cpp function write_with_helper (line 11) | static void write_with_helper(file_helper &helper, size_t howmany) { function test_split_ext (line 63) | static void test_split_ext(const spdlog::filename_t::value_type *fname, type flags (line 113) | enum class flags { before_open, after_open, before_close, after_close } FILE: third_party/spdlog-1.14.1/tests/test_fmt_helper.cpp function test_pad2 (line 7) | void test_pad2(int n, const char *expected) { function test_pad3 (line 14) | void test_pad3(uint32_t n, const char *expected) { function test_pad6 (line 21) | void test_pad6(std::size_t n, const char *expected) { function test_pad9 (line 28) | void test_pad9(std::size_t n, const char *expected) { FILE: third_party/spdlog-1.14.1/tests/test_misc.cpp function log_info (line 5) | std::string log_info(const T &what, spdlog::level::level_enum logger_lev... FILE: third_party/spdlog-1.14.1/tests/test_mpmc_q.cpp function milliseconds (line 6) | static milliseconds millis_from(const test_clock::time_point &tp0) { FILE: third_party/spdlog-1.14.1/tests/test_pattern_formatter.cpp function log_to_str (line 9) | static std::string log_to_str(const std::string &msg, const Args &...arg... class custom_test_flag (line 328) | class custom_test_flag : public spdlog::custom_flag_formatter { method custom_test_flag (line 330) | explicit custom_test_flag(std::string txt) method format (line 333) | void format(const spdlog::details::log_msg &, method get_padding_info (line 347) | spdlog::details::padding_info get_padding_info() { return padinfo_; } method clone (line 351) | std::unique_ptr clone() const override { FILE: third_party/spdlog-1.14.1/tests/test_sink.h function namespace (line 15) | namespace spdlog { FILE: third_party/spdlog-1.14.1/tests/utils.cpp function prepare_logdir (line 10) | void prepare_logdir() { function file_contents (line 22) | std::string file_contents(const std::string &filename) { function count_lines (line 30) | std::size_t count_lines(const std::string &filename) { function require_message_count (line 42) | void require_message_count(const std::string &filename, const std::size_... function get_filesize (line 50) | std::size_t get_filesize(const std::string &filename) { function ends_with (line 60) | bool ends_with(std::string const &value, std::string const &ending) { function count_files (line 69) | std::size_t count_files(const std::string &folder) { function count_files (line 89) | std::size_t count_files(const std::string &folder) {