sequence stringlengths 731 13.6k | docstring stringlengths 11 171 |
|---|---|
(module
(function_definition
(function_name_check_player_collision) function_name_check_player_collision
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_player_tiles) identifier_player_tiles
(call
... | Check to see if we are colliding with the player. |
(module
(function_definition
(function_name__hijack_target) function_name__hijack_target
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(call
(attribute
(attribute
(identifier_self) identifier_self
(i... | Replaces the target method on the target object with the proxy method. |
(module
(function_definition
(function_name_scoped_session_decorator) function_name_scoped_session_decorator
(parameters
(identifier_func) identifier_func
)parameters
(block
(decorated_definition
(decorator
(call
(identifier_wraps) identifier_wraps
... | Manage contexts and add debugging to db sessions. |
(module
(function_definition
(function_name_gps_message_arrived) function_name_gps_message_arrived
(parameters
(identifier_self) identifier_self
(identifier_m) identifier_m
)parameters
(block
(expression_statement
(assignment
(identifier_gps_week) identifier_gps_wee... | adjust time base from GPS message |
(module
(function_definition
(function_name_benchmark_command) function_name_benchmark_command
(parameters
(identifier_cmd) identifier_cmd
(identifier_progress) identifier_progress
)parameters
(block
(expression_statement
(assignment
(identifier_full_cmd) identifier... | Benchmark one command execution |
(module
(function_definition
(function_name__unpaginate) function_name__unpaginate
(parameters
(identifier_self) identifier_self
(identifier_domain) identifier_domain
(identifier_initial_op) identifier_initial_op
(keyword_separator
)keyword_separator
(identifier_on_properti... | Iterate thru the request pages until all items have been processed |
(module
(function_definition
(function_name_failed_extra_capabilities) function_name_failed_extra_capabilities
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_failed) identifier_failed
(list
... | Check to see if instance passes its `extra_capability_checks`. |
(module
(function_definition
(function_name_interpolation_change_cb) function_name_interpolation_change_cb
(parameters
(identifier_self) identifier_self
(identifier_setting) identifier_setting
(identifier_value) identifier_value
)parameters
(block
(expression_statement
... | Handle callback related to changes in interpolation. |
(module
(function_definition
(function_name__sim_texture) function_name__sim_texture
(parameters
(identifier_r1) identifier_r1
(identifier_r2) identifier_r2
)parameters
(block
(return_statement
(call
(identifier_sum) identifier_sum
(argument_list
... | calculate the sum of histogram intersection of texture |
(module
(function_definition
(function_name_check_nonstandard_section_name) function_name_check_nonstandard_section_name
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_std_sections) identifier_std_sections
... | Checking for an non-standard section name |
(module
(function_definition
(function_name_inputtemplate) function_name_inputtemplate
(parameters
(identifier_self) identifier_self
(identifier_template_id) identifier_template_id
)parameters
(block
(for_statement
(identifier_profile) identifier_profile
(attribute
... | Return the inputtemplate with the specified ID. This is used to resolve a inputtemplate ID to an InputTemplate object instance |
(module
(function_definition
(function_name_create_graph) function_name_create_graph
(parameters
)parameters
(block
(with_statement
(with_clause
(with_item
(as_pattern
(call
(attribute
(attribute
(i... | Creates a graph from saved GraphDef file and returns a saver. |
(module
(function_definition
(function_name_write) function_name_write
(parameters
(identifier_self) identifier_self
(identifier_data) identifier_data
)parameters
(block
(expression_statement
(assignment
(identifier_m) identifier_m
(call
(attri... | write single molecule into file |
(module
(function_definition
(function_name_link) function_name_link
(parameters
(identifier_source_path) identifier_source_path
)parameters
(block
(if_statement
(not_operator
(call
(attribute
(attribute
(identifier_os) identifier... | Links the content found at source_path and represents a Block that represents the content. |
(module
(function_definition
(function_name__ExportFileContent) function_name__ExportFileContent
(parameters
(identifier_self) identifier_self
(identifier_aff4_object) identifier_aff4_object
(identifier_result) identifier_result
)parameters
(block
(if_statement
(attribu... | Add file content from aff4_object to result. |
(module
(function_definition
(function_name_polish_model) function_name_polish_model
(parameters
(identifier_model) identifier_model
)parameters
(block
(expression_statement
(call
(attribute
(attribute
(identifier_onnx) identifier_onnx
... | This function combines several useful utility functions together. |
(module
(function_definition
(function_name__get_insert_commands) function_name__get_insert_commands
(parameters
(identifier_self) identifier_self
(identifier_rows) identifier_rows
(identifier_cols) identifier_cols
)parameters
(block
(expression_statement
(assignment
... | Retrieve dictionary of insert statements to be executed. |
(module
(function_definition
(function_name_gdbgui) function_name_gdbgui
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_interpreter) identifier_interpreter
(conditional_expression
(string_"lldb") string_"lldb"
(sub... | Render the main gdbgui interface |
(module
(function_definition
(function_name_start_write) function_name_start_write
(parameters
(identifier_self) identifier_self
(identifier_frame) identifier_frame
(default_parameter
(identifier_node) identifier_node
(None) None
)default_parameter
)parameters
(... | Yield or write into the frame buffer. |
(module
(function_definition
(function_name_delete) function_name_delete
(parameters
(identifier_self) identifier_self
(identifier_id) identifier_id
)parameters
(block
(expression_statement
(assignment
(identifier_resp) identifier_resp
(call
(a... | Delete an tenant id |
(module
(function_definition
(function_name_action) function_name_action
(parameters
(identifier_self) identifier_self
(list_splat_pattern
(identifier_action_names) identifier_action_names
)list_splat_pattern
)parameters
(block
(function_definition
(function_nam... | Decorator, registering them as actions |
(module
(function_definition
(function_name_datetime_at_loc) function_name_datetime_at_loc
(parameters
(identifier_self) identifier_self
(identifier_loc) identifier_loc
)parameters
(block
(return_statement
(call
(attribute
(identifier_pd) identifier_pd
... | Returns the timestamp at the given integer location as a Pandas Timestamp. |
(module
(function_definition
(function_name__check_patch_type_mismatch) function_name__check_patch_type_mismatch
(parameters
(identifier_self) identifier_self
(identifier_patched_item) identifier_patched_item
(identifier_existing_item) identifier_existing_item
)parameters
(block
... | Enforces that each patch has a corresponding, already-defined data type. |
(module
(function_definition
(function_name_chunker) function_name_chunker
(parameters
(identifier_ensemble_list) identifier_ensemble_list
(identifier_ncpu) identifier_ncpu
)parameters
(block
(expression_statement
(assignment
(identifier_length) identifier_length
... | Generate successive chunks of ensemble_list. |
(module
(function_definition
(function_name__post_init) function_name__post_init
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(identifier__led_type_c... | Set up the device path and type code. |
(module
(function_definition
(function_name_restore_type) function_name_restore_type
(parameters
(identifier_self) identifier_self
(identifier_type) identifier_type
)parameters
(block
(expression_statement
(assignment
(identifier_mapping) identifier_mapping
... | Restore type from SQL |
(module
(function_definition
(function_name_ls) function_name_ls
(parameters
(identifier_dataset_uri) identifier_dataset_uri
)parameters
(block
(expression_statement
(assignment
(identifier_dataset) identifier_dataset
(call
(attribute
(... | List the overlays in the dataset. |
(module
(function_definition
(function_name_backend_to_retrieve) function_name_backend_to_retrieve
(parameters
(identifier_self) identifier_self
(identifier_namespace) identifier_namespace
(identifier_stream) identifier_stream
)parameters
(block
(if_statement
(compariso... | Return backend enabled for reading for `stream`. |
(module
(function_definition
(function_name_find_postaggs_for) function_name_find_postaggs_for
(parameters
(identifier_postagg_names) identifier_postagg_names
(identifier_metrics_dict) identifier_metrics_dict
)parameters
(block
(expression_statement
(assignment
(ide... | Return a list of metrics that are post aggregations |
(module
(function_definition
(function_name_list_custom_images) function_name_list_custom_images
(parameters
(default_parameter
(identifier_call) identifier_call
(None) None
)default_parameter
)parameters
(block
(if_statement
(comparison_operator
(id... | Return a dict of all custom VM images on the cloud provider. |
(module
(function_definition
(function_name_extract_error_message) function_name_extract_error_message
(parameters
(identifier_cls) identifier_cls
(identifier_e) identifier_e
)parameters
(block
(expression_statement
(assignment
(identifier_message) identifier_messag... | Extract error message for queries |
(module
(function_definition
(function_name_release) function_name_release
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(attribute
(identifier_self) identifier_self
(identifier_errored) identifier_errored
)attribute
... | Releases this resource back to the pool it came from. |
(module
(function_definition
(function_name__diff_bounds) function_name__diff_bounds
(parameters
(identifier_bounds) identifier_bounds
(identifier_coord) identifier_coord
)parameters
(block
(try_statement
(block
(return_statement
(binary_operator
... | Get grid spacing by subtracting upper and lower bounds. |
(module
(function_definition
(function_name_position) function_name_position
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_position) identifier_position
(call
(attribute
(... | Returns an integer corresponding to the position of the post in the topic. |
(module
(function_definition
(function_name__populate) function_name__populate
(parameters
(identifier_self) identifier_self
(identifier_soup) identifier_soup
)parameters
(block
(expression_statement
(assignment
(identifier_tables) identifier_tables
(call
... | Populate the list, assuming ``soup`` is a ``BeautifulSoup`` object. |
(module
(function_definition
(function_name_open_organisation_logo_path) function_name_open_organisation_logo_path
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(pattern_list
(identifier_file_name) identifie... | Open File dialog to choose the organisation logo path. |
(module
(function_definition
(function_name__get_solar_flux) function_name__get_solar_flux
(parameters
(identifier_self) identifier_self
(identifier_band) identifier_band
)parameters
(block
(expression_statement
(assignment
(identifier_solar_flux) identifier_solar_f... | Get the solar flux for the band. |
(module
(function_definition
(function_name_register_warning_code) function_name_register_warning_code
(parameters
(identifier_code) identifier_code
(identifier_exception_type) identifier_exception_type
(default_parameter
(identifier_domain) identifier_domain
(string_'core') ... | Register a new warning code |
(module
(function_definition
(function_name_could_collide_ver) function_name_could_collide_ver
(parameters
(identifier_self) identifier_self
(identifier_vpos) identifier_vpos
(identifier_adsb_pkt) identifier_adsb_pkt
)parameters
(block
(if_statement
(boolean_operator
... | return true if vehicle could come within filter_dist_z meters of adsb vehicle in timeout seconds |
(module
(function_definition
(function_name__save_json) function_name__save_json
(parameters
(identifier_self) identifier_self
(identifier_filename) identifier_filename
)parameters
(block
(with_statement
(with_clause
(with_item
(as_pattern
... | Save sensors to json file. |
(module
(function_definition
(function_name_close) function_name_close
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(attribute
(attribute
(identifier_self) identifier_self
(identifier__local) identifier__local
... | If a connection is open, close its transport. |
(module
(function_definition
(function_name__send_periodic_internal) function_name__send_periodic_internal
(parameters
(identifier_self) identifier_self
(identifier_msg) identifier_msg
(identifier_period) identifier_period
(default_parameter
(identifier_duration) identifier_dur... | Send a message using built-in cyclic transmit list functionality. |
(module
(function_definition
(function_name__verify_page) function_name__verify_page
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_title_date) identifier_title_date
(call
(attribute
... | Verify the ratings page matches the correct date |
(module
(function_definition
(function_name_parse_float_literal) function_name_parse_float_literal
(parameters
(identifier_ast) identifier_ast
(default_parameter
(identifier__variables) identifier__variables
(None) None
)default_parameter
)parameters
(block
(if_... | Parse a float value node in the AST. |
(module
(function_definition
(function_name_check_existing_filename) function_name_check_existing_filename
(parameters
(identifier_filename) identifier_filename
(default_parameter
(identifier_onlyfiles) identifier_onlyfiles
(True) True
)default_parameter
)parameters
(... | Ensure that given filename is a valid, existing file. |
(module
(function_definition
(function_name_evaluate_tour_M) function_name_evaluate_tour_M
(parameters
(identifier_self) identifier_self
(identifier_tour) identifier_tour
)parameters
(block
(import_from_statement
(relative_import
(import_prefix
)import_pre... | Use Cythonized version to evaluate the score of a current tour |
(module
(function_definition
(function_name_enforce_filetype_file) function_name_enforce_filetype_file
(parameters
(identifier_form) identifier_form
(identifier_field) identifier_field
)parameters
(block
(if_statement
(comparison_operator
(attribute
(cal... | Only allowed domains in resource.url when filetype is file |
(module
(function_definition
(function_name_close) function_name_close
(parameters
(identifier_self) identifier_self
)parameters
(block
(try_statement
(block
(expression_statement
(call
(attribute
(attribute
(ide... | Close any open HTTP connections to the API server. |
(module
(function_definition
(function_name__construct_functions) function_name__construct_functions
(parameters
(identifier_self) identifier_self
(identifier_coefs) identifier_coefs
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)... | Return a list of functions given a list of coefficients. |
(module
(function_definition
(function_name_cdk_module_matches_env) function_name_cdk_module_matches_env
(parameters
(identifier_env_name) identifier_env_name
(identifier_env_config) identifier_env_config
(identifier_env_vars) identifier_env_vars
)parameters
(block
(if_statemen... | Return bool on whether cdk command should continue in current env. |
(module
(function_definition
(function_name_restrict_to_parent) function_name_restrict_to_parent
(parameters
(identifier_self) identifier_self
(identifier_target) identifier_target
(identifier_parent) identifier_parent
)parameters
(block
(if_statement
(not_operator
... | Restrict target to parent structure boundaries. |
(module
(function_definition
(function_name_single_read) function_name_single_read
(parameters
(identifier_self) identifier_self
(identifier_register) identifier_register
)parameters
(block
(expression_statement
(assignment
(identifier_comm_reg) identifier_comm_reg
... | Reads data from desired register only once. |
(module
(function_definition
(function_name_state_names) function_name_state_names
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_names) identifier_names
(call
(identifier_set) identifier_set
(argument_list
... | Get the set of all US state names |
(module
(function_definition
(function_name_SelfReferenceProperty) function_name_SelfReferenceProperty
(parameters
(default_parameter
(identifier_label) identifier_label
(None) None
)default_parameter
(default_parameter
(identifier_collection_name) identifier_collecti... | Create a self reference. |
(module
(function_definition
(function_name_getPropagationBit) function_name_getPropagationBit
(parameters
(identifier_self) identifier_self
(identifier_t) identifier_t
(identifier_p) identifier_p
)parameters
(block
(try_statement
(block
(return_statement
... | returns the propagation bit of a text value |
(module
(function_definition
(function_name_encompassed_by) function_name_encompassed_by
(parameters
(identifier_self) identifier_self
(identifier_span) identifier_span
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
(a... | Returns true if the given span encompasses this span. |
(module
(function_definition
(function_name_interface_ip) function_name_interface_ip
(parameters
(identifier_iface) identifier_iface
)parameters
(block
(expression_statement
(assignment
(pattern_list
(identifier_iface_info) identifier_iface_info
(i... | Return `iface` IPv4 addr or an error if `iface` does not exist |
(module
(function_definition
(function_name_commitAndCloseEditor) function_name_commitAndCloseEditor
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_editor) identifier_editor
(call
(attri... | Commit and close editor |
(module
(function_definition
(function_name_from_socket) function_name_from_socket
(parameters
(identifier_controller) identifier_controller
(default_parameter
(identifier_host) identifier_host
(None) None
)default_parameter
(default_parameter
(identifier_port) ... | Create rocket instance using socket connector |
(module
(function_definition
(function_name_iscm_md_update_dict) function_name_iscm_md_update_dict
(parameters
(identifier_self) identifier_self
(identifier_keypath) identifier_keypath
(identifier_data) identifier_data
)parameters
(block
(expression_statement
(assignmen... | Update a metadata dictionary entry |
(module
(function_definition
(function_name__delete_doc_from_index) function_name__delete_doc_from_index
(parameters
(identifier_index_writer) identifier_index_writer
(identifier_docid) identifier_docid
)parameters
(block
(expression_statement
(assignment
(identifie... | Remove a document from the index |
(module
(function_definition
(function_name__unstructure_mapping) function_name__unstructure_mapping
(parameters
(identifier_self) identifier_self
(identifier_mapping) identifier_mapping
)parameters
(block
(expression_statement
(assignment
(identifier_dispatch) iden... | Convert a mapping of attr classes to primitive equivalents. |
(module
(function_definition
(function_name_superclass) function_name_superclass
(parameters
(identifier_self) identifier_self
(identifier_klass) identifier_klass
)parameters
(block
(return_statement
(call
(identifier_bool) identifier_bool
(argument_list
... | True if the Class is a superclass of the given one. |
(module
(function_definition
(function_name_setdummies) function_name_setdummies
(parameters
(identifier_self) identifier_self
(identifier_e) identifier_e
)parameters
(block
(expression_statement
(assignment
(pattern_list
(identifier_v0) identifier_v0
... | creates and defines all needed dummy vertices for edge e. |
(module
(function_definition
(function_name_split_docstring) function_name_split_docstring
(parameters
(identifier_self) identifier_self
(identifier_block) identifier_block
)parameters
(block
(try_statement
(block
(expression_statement
(assignment
... | Split a code block into a docstring and a body. |
(module
(function_definition
(function_name_search_fields) function_name_search_fields
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_search_fields) identifier_search_fields
(call
(attri... | Returns the object field names to search against |
(module
(function_definition
(function_name_model_saved) function_name_model_saved
(parameters
(identifier_sender) identifier_sender
(identifier_instance) identifier_instance
(identifier_created) identifier_created
(identifier_raw) identifier_raw
(identifier_using) identifier_usi... | Automatically triggers "created" and "updated" actions. |
(module
(function_definition
(function_name_takeoff) function_name_takeoff
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(call
(attribute
(identifier_self) identifier_self
(identifier_send) identifier_send
... | Sends the takeoff command. |
(module
(function_definition
(function_name_freeze) function_name_freeze
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
(identifier_in_connections) ide... | Make the SchemaElement's connections immutable. |
(module
(function_definition
(function_name_wait) function_name_wait
(parameters
(identifier_self) identifier_self
)parameters
(block
(while_statement
(True) True
(block
(if_statement
(not_operator
(attribute
(identifier_s... | Waits for the pool to be fully stopped |
(module
(function_definition
(function_name___load_section) function_name___load_section
(parameters
(identifier_self) identifier_self
(identifier_section_key) identifier_section_key
)parameters
(block
(if_statement
(comparison_operator
(subscript
(attri... | Reads the set of article links for a section if they are not cached. |
(module
(function_definition
(function_name__fill) function_name__fill
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_types_to_exclude) identifier_types_to_exclude
(list
(string_'module'... | Fill self with variable information. |
(module
(function_definition
(function_name_plot_lc) function_name_plot_lc
(parameters
(identifier_calc_id) identifier_calc_id
(default_parameter
(identifier_aid) identifier_aid
(None) None
)default_parameter
)parameters
(block
(expression_statement
(ass... | Plot loss curves given a calculation id and an asset ordinal. |
(module
(function_definition
(function_name_install_signal_handlers) function_name_install_signal_handlers
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(attribute
(identifier_self) identifier_self
... | Handle events like Ctrl-C from the command line. |
(module
(function_definition
(function_name_put_file) function_name_put_file
(parameters
(identifier_client) identifier_client
(identifier_source_file) identifier_source_file
(identifier_destination_file) identifier_destination_file
)parameters
(block
(try_statement
(bl... | Copy file to instance using Paramiko client connection. |
(module
(function_definition
(function_name__retrieve_grains_cache) function_name__retrieve_grains_cache
(parameters
(default_parameter
(identifier_proxy) identifier_proxy
(None) None
)default_parameter
)parameters
(block
(global_statement
(identifier_GRAINS_C... | Retrieves the grains from the network device if not cached already. |
(module
(function_definition
(function_name_getLevel) function_name_getLevel
(parameters
(identifier_self) identifier_self
)parameters
(block
(expression_statement
(assignment
(identifier_lvl) identifier_lvl
(integer_0) integer_0
)assignment
)expre... | Get nest-level of this port |
(module
(function_definition
(function_name_user_pass) function_name_user_pass
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_func) identifier_func
(None) None
)default_parameter
(default_parameter
(identifier_location) identifier_l... | Decorator ensures that user pass the given func. |
(module
(function_definition
(function_name_domain_unblock) function_name_domain_unblock
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_domain) identifier_domain
(None) None
)default_parameter
)parameters
(block
(expression_statemen... | Remove a domain block for the logged-in user. |
(module
(function_definition
(function_name__get_cdn_client) function_name__get_cdn_client
(parameters
(identifier_self) identifier_self
(identifier_cdn_redirect) identifier_cdn_redirect
)parameters
(block
(raise_statement
(identifier_NotImplementedError) identifier_NotImplem... | Similar to ._borrow_exported_client, but for CDNs |
(module
(function_definition
(function_name_single_node_env) function_name_single_node_env
(parameters
(default_parameter
(identifier_num_gpus) identifier_num_gpus
(integer_1) integer_1
)default_parameter
)parameters
(block
(import_statement
(aliased_import
... | Setup environment variables for Hadoop compatibility and GPU allocation |
(module
(function_definition
(function_name_queue_purge) function_name_queue_purge
(parameters
(identifier_self) identifier_self
(identifier_queue) identifier_queue
(dictionary_splat_pattern
(identifier_kwargs) identifier_kwargs
)dictionary_splat_pattern
)parameters
(bl... | Discard all messages in the queue. |
(module
(function_definition
(function_name_create_kernel_instance) function_name_create_kernel_instance
(parameters
(identifier_self) identifier_self
(identifier_kernel_options) identifier_kernel_options
(identifier_params) identifier_params
(identifier_verbose) identifier_verbose
... | create kernel instance from kernel source, parameters, problem size, grid divisors, and so on |
(module
(function_definition
(function_name_clip_image) function_name_clip_image
(parameters
(identifier_image) identifier_image
(identifier_clip_min) identifier_clip_min
(identifier_clip_max) identifier_clip_max
)parameters
(block
(return_statement
(call
(att... | Clip an image, or an image batch, with upper and lower threshold. |
(module
(function_definition
(function_name_prepare_date) function_name_prepare_date
(parameters
(identifier_data) identifier_data
(identifier_schema) identifier_schema
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
(a... | Converts datetime.date to int timestamp |
(module
(function_definition
(function_name_segment_volumes) function_name_segment_volumes
(parameters
(identifier_neurites) identifier_neurites
(default_parameter
(identifier_neurite_type) identifier_neurite_type
(attribute
(identifier_NeuriteType) identifier_NeuriteType... | Volumes of the segments in a collection of neurites |
(module
(function_definition
(function_name_load_reg) function_name_load_reg
(parameters
)parameters
(block
(expression_statement
(assignment
(identifier_reg_dir) identifier_reg_dir
(call
(identifier__reg_dir) identifier__reg_dir
(argument_list... | Load the register from msgpack files |
(module
(function_definition
(function_name_time_between_updates) function_name_time_between_updates
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(comparison_operator
(string_'last_updated') string_'last_updated'
(attribute
... | Time between current `last_updated` and previous `last_updated` |
(module
(function_definition
(function_name_create_weights) function_name_create_weights
(parameters
(identifier_nodes) identifier_nodes
(identifier_dist) identifier_dist
)parameters
(block
(expression_statement
(assignment
(identifier_poly) identifier_poly
... | Create weights for the Laja method. |
(module
(function_definition
(function_name_call) function_name_call
(parameters
(identifier_function) identifier_function
)parameters
(block
(expression_statement
(assignment
(identifier_message) identifier_message
(binary_operator
(string_'call:%s.... | decorator that collect function call count. |
(module
(function_definition
(function_name_delete_all_renditions) function_name_delete_all_renditions
(parameters
(identifier_self) identifier_self
)parameters
(block
(if_statement
(attribute
(identifier_self) identifier_self
(identifier_renditions) identifier_... | delete all renditions and rendition dict |
(module
(function_definition
(function_name___set_values) function_name___set_values
(parameters
(identifier_self) identifier_self
(identifier_values) identifier_values
)parameters
(block
(expression_statement
(assignment
(identifier_array) identifier_array
... | Sets values in this cell range from an iterable of iterables. |
(module
(function_definition
(function_name_as_list) function_name_as_list
(parameters
(identifier_self) identifier_self
(default_parameter
(identifier_decode) identifier_decode
(False) False
)default_parameter
)parameters
(block
(expression_statement
(a... | Return a list containing all the items in the list. |
(module
(function_definition
(function_name_display_grid_scores) function_name_display_grid_scores
(parameters
(identifier_grid_scores) identifier_grid_scores
(default_parameter
(identifier_top) identifier_top
(None) None
)default_parameter
)parameters
(block
(e... | Helper function to format a report on a grid of scores |
(module
(function_definition
(function_name_json_decode) function_name_json_decode
(parameters
(identifier_data) identifier_data
)parameters
(block
(if_statement
(call
(identifier_isinstance) identifier_isinstance
(argument_list
(identifier_data) ide... | Decodes the given JSON as primitives |
(module
(function_definition
(function_name_pattern_logic_aeidon) function_name_pattern_logic_aeidon
(parameters
)parameters
(block
(if_statement
(attribute
(attribute
(identifier_Config) identifier_Config
(identifier_options) identifier_options
... | Return patterns to be used for searching subtitles via aeidon. |
(module
(function_definition
(function_name_path) function_name_path
(parameters
(identifier_args) identifier_args
)parameters
(block
(import_from_statement
(relative_import
(import_prefix
)import_prefix
(dotted_name
(identifier_query) iden... | Returns a list of fully formed paths or stems given some file id |
(module
(function_definition
(function_name__copy_update) function_name__copy_update
(parameters
(identifier_sourcepath) identifier_sourcepath
(identifier_destname) identifier_destname
)parameters
(block
(if_statement
(call
(attribute
(attribute
... | Copy source to dest only if source is newer. |
(module
(function_definition
(function_name_getReferenceSetByName) function_name_getReferenceSetByName
(parameters
(identifier_self) identifier_self
(identifier_name) identifier_name
)parameters
(block
(if_statement
(comparison_operator
(identifier_name) identifier_... | Returns the reference set with the specified name. |
(module
(function_definition
(function_name_dePeriod) function_name_dePeriod
(parameters
(identifier_arr) identifier_arr
)parameters
(block
(expression_statement
(assignment
(identifier_diff) identifier_diff
(binary_operator
(identifier_arr) identifi... | make an array of periodic angles increase linearly |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.