text string | label int64 |
|---|---|
{'name': 'check_target_label@self_paced_ensemble/utils/_validation_param.py', 'description': 'check parameter `target_label`.', 'signature': 'def check_target_label(y, target_label, sampling_type):'}</s>{'name': 'check_n_target_samples@self_paced_ensemble/utils/_validation_param.py', 'description': 'DOCSTRING', 'code':... | 0 |
{'name': 'share_image@vulfocus-api/tasks/tasks.py', 'description': '贡献镜像\n:param task_id: 任务 id\n:return:', 'signature': 'def share_image(task_id):'}</s>{'name': 'create_run_container_task@vulfocus-api/tasks/tasks.py', 'description': '创建运行容器任务\n:param container_vul: 漏洞容器对象\n:param user_info: 用户信息', 'code': 'def create_... | 0 |
{'name': 'Locale.year_abbreviation@arrow/locales.py', 'description': 'Returns the year for specific locale if available\n\n:param year: the ``int`` year (4-digit)', 'signature': 'def year_abbreviation(self, year: int) -> str:'}</s>{'name': 'BasqueLocale@arrow/locales.py', 'description': 'DOCSTRING', 'base_classes': ['L... | 0 |
{'name': 'handle_fmap_case@bidskit/fmaps.py', 'description': 'There are two popular GRE fieldmap organizations: Case 1 and Case 2\nSource: BIDS 1.4.0 Specification https://bids-specification.readthedocs.io\nCase 1\nsub-<label>/[ses-<label>/]\n fmap/\n sub-<label>[_ses-<label>][_acq-<label>][_run-<index>]_phas... | 0 |
{'name': 'take_screenshot@screenshot-sample.py', 'description': '@param webdriver: WebDriver handler.\n@type webdriver: WebDriver\n@param file_name: Name to label this screenshot.\n@type file_name: str ', 'signature': 'def take_screenshot(webdriver, file_name="sample.png"):'}</s>inputElement = driver.find_element_by_na... | 0 |
{'name': '_Partition.t_test@diffxpy/testing/tests.py', 'description': "Performs a Welch's t-test within each partition of a data set.\n\nSee also annotation of de.test.t_test()\n\n:param grouping: str\n\n - column in data.obs/sample_description which contains the split of observations into the two groups.\n:param is... | 0 |
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQHM_NONE = 0 | 0 |
{'name': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>{'name': 'PrintableRegex@llvm-project/lldb... | 0 |
{'name': 'plot_voronoi_polys_with_points_in_area@geovoronoi/plotting.py', 'description': 'All-in-one function to plot Voronoi region polygons `region_polys` and the respective points `points` inside a\ngeographic area `area_shape` on a matplotlib Axes object `ax`.\n\nBy default, the regions will be blue and the points ... | 0 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'Client.get_player_verify@clashroyale/royaleapi/client.py', 'description': "Check the API Key of a player.\nThis endpoint has been **restricted** to\ncertain members of the community\n\nParameters\n----------\ntag: str\n A valid tournament tag. Minimum length: 3\n Valid characters: 0289PYLQGRJCUV\napikey... | 0 |
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>sim_intparam_mous... | 0 |
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat... | 0 |
{'name': 'GTestHelpTest.test_prints_help_with_full_flag@googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.', 'signature': 'def test_prints_help_with_full_flag(self)... | 0 |
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ... | 0 |
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': '__repr_wasm_valtype_t@language-bindings/python/src/wamr/wasmcapi/ffi... | 0 |
{'name': 'predict_main@text_classification/inference.py', 'description': '预测主入口 ', 'signature': 'def predict_main(test_file, out_path):'}</s>label_desc = {100: "news_story", 101: "news_culture", 102: "news_entertainment",
103: "news_sports", 104: "news_finance", 106: "news_house",
107: "news... | 1 |
{'name': 'MyInterface.execute@src/python_scripts/scripts/build_afni.py', 'description': 'evaluate what needs to be done, report on it, any apply\n\n- evaluate directories\n - abin_path\n - root_path\n\nreturn 0 on success\n 1 on non-fatal termination error\n -1 on fatal error', 'signature': 'def exe... | 0 |
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>{'name': '_getInputFromUser@packstack/installer/run_setup.py', 'description':... | 0 |
{'name': 'PhishCLI._run@cli/streamingphish/streamingphish/cli.py', 'description': 'Handler and primary interface that solicits user for a desired action and then launches it.', 'signature': 'def _run(self):'}</s>YES_ANSWERS = ['y', 'yes', 'yea', 'sure', 'alright', 'fine'] | 0 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCMDI_CHANNEL_INIT_STARTED = 7 | 0 |
{'name': '_strict_random_crop_image@object_detection/core/preprocessor.py', 'description': 'Performs random crop.\n\nNote: Keypoint coordinates that are outside the crop will be set to NaN, which\nis consistent with the original keypoint encoding for non-existing keypoints.\nThis function always crops the image and is ... | 1 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'validate_spec@swagger_spec_validator/validator20.py', 'description': "Validates a Swagger 2.0 API Specification given a Swagger Spec.\n\n:param spec_dict: the json dict of the swagger spec.\n:type spec_dict: dict\n:param spec_url: url from which spec_dict was retrieved. Used for\n dereferencing refs. eg: f... | 1 |
{'name': 'build_dataset_iter@seq2seq/onmt/inputters/inputter.py', 'description': 'This returns user-defined train/validate data iterator for the trainer\nto iterate over. We implement simple ordered iterator strategy here,\nbut more sophisticated strategy like curriculum learning is ok too.', 'signature': 'def build_da... | 0 |
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': 'RepeatedCompositeFieldContainer@python/google/protobuf/internal/containers.py', 'descriptio... | 0 |
{'name': 'Serial.write@serial/serialwin32.py', 'description': 'Output the given byte string over the serial port.', 'signature': 'def write(self, data):'}</s>LPCVOID = c_void_p | 0 |
{'name': 'AsyncAHK.start_hotkeys@ahk/_async/engine.py', 'description': 'Start the Autohotkey process for triggering hotkeys', 'signature': 'def start_hotkeys(self) -> None:'}</s>{'name': 'Hotstring@ahk/_hotkey.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Hotstring.__init__@ahk/_hotkey.py',... | 0 |
{'name': 'deconv_waterlevel@rf/deconvolve.py', 'description': "Frequency-domain deconvolution using waterlevel method.\n\nDeconvolve src from arrays in rsp_list.\n\n:param rsp_list: either a list of arrays containing the response functions\n or a single array\n:param src: array with source function\n:param sampling_... | 0 |
{'name': 'Node.bye@shingetsu/node.py', 'description': 'Unconnect.', 'signature': 'def bye(self):'}</s>dnsname = _get_value(_extconf, 'Network', 'dnsname', '') | 1 |
{'name': 'CorrectBinaryLengthAndPreamble.verify_binary_length_and_header@third_party/spirv-tools/test/tools/expect.py', 'description': "Checks that the given SPIR-V binary has valid length and header.\n\nReturns:\n False, error string if anything is invalid\n True, '' otherwise\nArgs:\n binary: a bytes object ... | 0 |
{'name': 'cleanup_conds@panoramix/simplify.py', 'description': 'removes ifs/whiles with conditions that are obviously true\nand replace variables that need to be equal to a constant by that constant', 'signature': 'def cleanup_conds(trace):'}</s>{'name': 'match@panoramix/matcher.py', 'description': 'Return whether the ... | 0 |
{'name': 'search@ytmdl/core.py', 'description': 'Search the song on YouTube, ask the user for an input and accordingly\nreturn a selected song.\n\nThe song can be extracted either from an URL or the name. If the name is\npresent, we will search on YouTube for the name, ask the user for a choice\nand accordingly return ... | 0 |
{'name': 'main@psearch/prepare_dataset.py', 'description': 'launches the entire cycle of data preprocessing: generation of stereoisomers, conformers and a database\n:param in_fname: input .smi file containing information about SMILES, compounds id and its activity status\n:param split_dataset: if True will splited inpu... | 1 |
{'name': 'prettyFrameStack@boxx/tool/toolLog.py', 'description': 'get frame return pretty str of stack\n\n>>> prettyFrameLocation(frame)\n__init__ <-f <-ff <-demo.py\n\nParameters\n----------\nframe : frame or int, default 0\n if int:相对于调用此函数frame的 int 深度的对应frame\nendByMain : bool, default True\n 为 True 则在第一个 fra... | 0 |
{'name': 'IUCoordinator.service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Entry point for all service calls.', 'signature': 'def service_call('}</s>RES_MANUAL = "Manual" | 0 |
{'name': 'db@tests/test_facebook.py', 'description': 'Creates a temporary database.', 'signature': 'def db(tmp_db_str):'}</s>{'name': 'test_update_user_no_duplicates@tests/test_facebook.py', 'description': 'DOCSTRING', 'code': "def test_update_user_no_duplicates(db):\n user_data = dict(id=314, name='Pi')\n utils.... | 0 |
{'name': 'ProcessFileData@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array... | 0 |
{'name': 'Queue.get@code/pymqi/__init__.py', 'description': "Return a message from the queue. If the queue is not already\nopen, it is opened now with the option 'MQOO_INPUT_AS_Q_DEF'.\n\nmaxLength, if present, specifies the maximum length for the\nmessage. If the message received exceeds maxLength, then the\nbehavior ... | 0 |
{'name': 'type_inference@06_prepare/data-wrangler/data_wrangler_antje.py', 'description': 'Core type inference logic\n\nArgs:\n df: spark dataframe\n\nReturns: dict a schema that maps from column name to mohave datatype', 'signature': 'def type_inference(df): # noqa: C901 # pylint: disable=R0912'}</s>{'name': 'sum_... | 1 |
{'name': 'Frame.render@aiohttp_debugtoolbar/tbtools/tbtools.py', 'description': 'Render a single frame in a traceback.', 'signature': 'def render(self):'}</s>_line_re = re.compile(r"^(.*?)$", re.M) | 0 |
{'name': 'CustomMainWidget.runTheGame@src/gui/main_widget.py', 'description': 'Runs the game', 'signature': 'def runTheGame(self):'}</s>{'name': 'ModsSettingsWatcher@src/gui/main_widget.py', 'description': 'Watches for changes in mods.settings file and signals for UI updates', 'base_classes': ['QThread'], 'methods': [{... | 0 |
{'name': 'station_text@metro_map_saver/map_saver/templatetags/metromap_utils.py', 'description': 'Generate the SVG text tag for a station based on\n whether it\'s a transfer station, and\n what its orientation is.\n\nOrientations where the text is on the left:\n text-anchor: "end" and x - .75 (or 1.5 for xfer)... | 0 |
{'name': '_visible_width@misc/tabulate.py', 'description': 'Visible width of a printed string. ANSI color codes are removed.\n\n>>> _visible_width(\'\x1b[31mhello\x1b[0m\'), _visible_width("world")\n(5, 5)', 'signature': 'def _visible_width(s):'}</s>{'name': 'simple_separated_format@misc/tabulate.py', 'description': 'C... | 0 |
{'name': 'create_network@pygad/gann/gann.py', 'description': 'Creates a neural network as a linked list between the input, hidden, and output layers where the layer at index N (which is the last/output layer) references the layer at index N-1 (which is a hidden layer) using its previous_layer attribute. The input layer... | 0 |
{'name': 'CrashDuringStepTestCase.test_step_inst_with@llvm-12.0.0-project/lldb/test/API/functionalities/thread/crash_during_step/TestCrashDuringStep.py', 'description': 'Test thread creation during step-inst handling.', 'signature': 'def test_step_inst_with(self):'}</s>{'name': 'get_bpno_from_match@llvm-12.0.0-project/... | 0 |
{'name': 'locust_classes@transformer/locust.py', 'description': 'Transforms scenarios into all Python classes needed by Locust (TaskSet and\nLocust classes).\n\nThe only missing parts before a fully functional locustfile are:\n- integrating all necessary set-up/tear-down statements:\n - Python imports,\n - apply ... | 1 |
{'name': 'Mapdef.__init__@swagger_to/go_server.py', 'description': 'Initialize with default values.', 'signature': 'def __init__(self):'}</s>_JSON_SCHEMAS_GO_TPL = ENV.from_string('''\
{# This template must be indented with tabs since we need to include the schema as text and hence can not re-indent
since re-indenti... | 0 |
{'name': 'NewDatabase.write_db_to_matrices@premise/new_database.py', 'description': 'Exports the new database as a sparse matrix representation in csv files.\n\n:param filepath: path provided by the user to store the exported matrices.\nIf it is a string, the path is used as main directory from which\n"iam model" / "pa... | 0 |
{'name': 'workspace_users_ls@toggl/cli/commands.py', 'description': 'Lists all users in current workspace and some related information.\n\nID of entries are ID of Workspace User and not User entity!', 'signature': 'def workspace_users_ls(ctx, fields):'}</s>{'name': 'project_users_add@toggl/cli/commands.py', 'descriptio... | 0 |
{'name': 'CheckComment@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Checks for common mistakes in TODO comments.\n\nArgs:\n comment: The text of the comment from the line in question.\n filename: The name of the current file.\n linenum: The number of the line to check.\n error: The function to call ... | 0 |
{'name': 'ChromeRemoteDebugInterface.blocking_navigate@ChromeController/manager.py', 'description': 'Do a blocking navigate to url `url`.\n\nThis function triggers a navigation, and then waits for the browser\nto claim the page has finished loading.\n\nRoughly, this corresponds to the javascript `DOMContentLoaded` even... | 0 |
{'name': 'check_shapely_version@pygeos/io.py', 'description': 'This function will try to import shapely and extracts some necessary classes and functions from the package.\nIt also looks if Shapely and PyGEOS use the same GEOS version, as this means the conversion can be faster.\n\nThis function sets a few global varia... | 1 |
{'name': 'BaseQuery.session@ads/base.py', 'description': 'http session interface, transparent proxy to requests.session', 'signature': 'def session(self):'}</s>SEARCH_URL = '{}/search/query'.format(ADSWS_API_URL) | 0 |
{'name': '_SetVeryStronglyConnected@tools/yapf/yapf/yapflib/split_penalty.py', 'description': 'Set a VERY_STRONGLY_CONNECTED penalty annotation for the given nodes.', 'signature': 'def _SetVeryStronglyConnected(*nodes):'}</s>FACTOR = 2100 | 0 |
{'name': 'GraphExecutionManager.__init__@orttraining/orttraining/python/training/ortmodule/_graph_execution_manager.py', 'description': 'Manages construction and execution of ONNX graphs.\n\nArgs:\n module: The flatten PyTorch module to be executed.\n debug_options: Debug options for ORTModule.\n export_mode: ... | 0 |
{'name': 'Table@src/python/bcc/table.py', 'description': 'Table(bpf, map_id, map_fd, keytype, leaftype, **kwargs)\n\nCreate a python object out of a reference to a bpf table handle', 'signature': 'def Table(bpf, map_id, map_fd, keytype, leaftype, name, **kwargs):'}</s>BPF_MAP_TYPE_ARRAY_OF_MAPS = 12 | 1 |
{'name': 'random_sized_crop_list@models/SlowFast/slowfast/datasets/cv2_transform.py', 'description': 'Perform random sized cropping on the given list of images. Random crop with\n size 8% - 100% image area and aspect ratio in [3/4, 4/3].\nArgs:\n images (list): image to crop.\n size (int): size to crop.\n a... | 0 |
{'name': 'basicConfig@cli/rpc2socks/utils/vendor/loggex.py', 'description': 'A `logging.basicConfig` wrapper with default values that fit better to the\npurpose of this module.\n\nCall ``stdBasicConfig`` for the standard unwrapped `logging.basicConfig`.', 'signature': 'def basicConfig(**kwargs):'}</s>Filter = _mod_logg... | 0 |
{'name': 'clean_text_by_word@summarization/textcleaner.py', 'description': 'Tokenizes a given text into words, applying filters and lemmatizing them.\nReturns a dict of word -> syntacticUnit. ', 'signature': 'def clean_text_by_word(text, deacc=True):'}</s>{'name': 'join_words@summarization/textcleaner.py', 'description... | 1 |
{'name': 'DocumentedDict.info_str@oggm/cfg.py', 'description': 'Info string for the documentation.', 'signature': 'def info_str(self, key):'}</s>{'name': 'initialize@oggm/cfg.py', 'description': "Read the configuration file containing the run's parameters.\n\nThis should be the first call, before using any of the other... | 0 |
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCLWL_USEQ_LOCAL = 0 | 0 |
{'name': 'DNSIncoming.readQuestions@stino/pyarduino/base/zeroconf.py', 'description': 'Reads questions section of packet', 'signature': 'def readQuestions(self):'}</s>_BROWSER_TIME = 500 | 0 |
{'name': '_read_csv@meza/io.py', 'description': "Helps read a csv file.\n\nArgs:\n f (obj): The csv file like object.\n header (Seq[str]): Sequence of column names.\n has_header (bool): Whether or not file has a header.\n\nKwargs:\n first_col (int): The first column (default: 0).\n\nYields:\n dict: A csv... | 0 |
{'name': 'SearchList.search@shingetsu/node.py', 'description': 'Search node which has the file.', 'signature': 'def search(self, cache=None, myself4=None, myself6=None, nodes=None):'}</s>save_size = {} | 0 |
{'name': '_remove_bom_from_list@meza/io.py', 'description': 'Remove a byte order marker (BOM) from a list', 'signature': 'def _remove_bom_from_list(row, bom):'}</s>{'name': 'hash_file@meza/io.py', 'description': "Hashes a file path or file like object.\nhttps://stackoverflow.com/a/1131255/408556\n\nArgs:\n filepath ... | 0 |
{'name': 'main@main.py', 'description': 'starts the model\n\nArgs:\n mode (int): 1: train, 2: test, 3: eval, reads from config file if not specified', 'signature': 'def main(mode=None):'}</s>{'name': 'load_config@main.py', 'description': 'loads model config\n\nArgs:\n mode (int): 1: train, 2: test, 3: eval, reads... | 1 |
{'name': 'get_address_list@src/future/backports/email/_header_value_parser.py', 'description': 'address_list = (address *("," address)) / obs-addr-list\n obs-addr-list = *([CFWS] ",") address *("," [address / CFWS])\n\nWe depart from the formal grammar here by continuing to parse until the end\nof the input, assumin... | 0 |
{'name': 'select_hfr_db@disdat/hyperframe.py', 'description': 'Create an HFrame Record from a row in our DB.\nWhere uuid= && owner= && human_name= && processing_name=\n\nArgs:\n engine_g:\n uuid (str): add to where clause\n owner (str): add to where clause\n human_name (str): add to where clause\n proce... | 0 |
{'name': 'getPath@apim-traffic-tool/lib/traffic-tool/src/python/gen_invoke_scenario.py', 'description': 'This function will return the invoke path for a given api and http method (for a single tenant environment)\n:param api_name: Name of the API\n:param method: Method of the API\n:return: Invoke path', 'signature': 'd... | 0 |
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Should only allow up to 520 byte pushes in witness stack ', 'signature': 'def test_max_witness_push_length(self):'}</s>OP_IF = CScriptOp(0x63) | 0 |
{'name': 'valentines_day@alphapy/calendrical.py', 'description': "Get Valentine's day for a given year.\n\nParameters\n----------\ngyear : int\n Gregorian year.\n\nReturns\n-------\nvalentines : int\n Valentine's Day in RDate format.", 'signature': 'def valentines_day(gyear):'}</s>{'name': 'days_left_in_year@alph... | 0 |
{'name': 'Translator.get_options_for_model@modeltranslation/translator.py', 'description': 'Thin wrapper around ``_get_options_for_model`` to preserve the\nsemantic of throwing exception for models not directly registered.', 'signature': 'def get_options_for_model(self, model: type[Model]) -> TranslationOptions:'}</s>{... | 0 |
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>{'name': 'to_chinese@spider/utils/tools.py', 'description': 'DOCSTRING', 'code': 'def to_chinese(unicode_str):\n format_str = json.loads(\'{"chinese":"%s"}\' % unicode_str)\n return format_str["chinese"]'} | 0 |
{'name': 'fcLayer@tensorlfow_进阶/vgg19/my_vgg/z_func_scope4.py', 'description': 'fully-connect', 'signature': 'def fcLayer(x, inputD, outputD, reluFlag, name):'}</s>init = tf.global_variables_initializer() | 0 |
{'name': 'CardPredictor.img_only_color@lib/img_function.py', 'description': ':param filename: 图像文件\n:param oldimg: 原图像文件\n:return: 已经定位好的车牌', 'signature': 'def img_only_color(self, filename, oldimg, img_contours, add_box_point=False):'}</s>{'name': 'find_waves@lib/img_math.py', 'description': 'DOCSTRING', 'code': 'def ... | 1 |
{'name': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign... | 0 |
{'name': 'Traceback.render_full@aiohttp_debugtoolbar/tbtools/tbtools.py', 'description': 'Render the Full HTML page with the traceback info.', 'signature': 'def render_full(self, request, lodgeit_url=None):'}</s>_line_re = re.compile(r"^(.*?)$", re.M) | 0 |
{'name': 'handle_control_command@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Handle command from control channel', 'signature': 'def handle_control_command(sniffer, arg, typ, payload):'}</s>CTRL_CMD_DISABLE = 5 | 0 |
{'name': 'test_element_count@third_party/dawn/third_party/dxc/tools/clang/bindings/python/tests/cindex/test_type.py', 'description': 'Ensure Type.element_count works.', 'signature': 'def test_element_count():'}</s>{'name': 'test_argument_types_string_key@third_party/dawn/third_party/dxc/tools/clang/bindings/python/test... | 0 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'main@tools/hadb.py', 'description': 'Print requested events and/or states.', 'signature': 'def main(args: ArgsNamespace, params: Params) -> str | int | None:'}</s>STATE_HEADER = "state" | 0 |
{'name': 'deprecated@da/common.py', 'description': "Declare 'func' as deprecated.\n\nThis is a decorator which can be used to mark functions as deprecated. It\nwill result in a warning being emmitted when the function is used.", 'signature': 'def deprecated(func):'}</s>{'name': 'global_config@da/common.py', 'descriptio... | 0 |
{'name': 'Fake.__init__@verif/input.py', 'description': 'A fake input\n\nobs A 1, 2, or 3D array of obsevations.\n If 3D assume the dimensions are (time,leadtime,location)\n If 2D assume the dimensions are (time,leadtime)\n If 1D assume the dimensions are (time)', 'signature': 'def __init__... | 0 |
{'name': 'TestSigner.test_invalid_sep@tests/signing/tests.py', 'description': 'should warn on invalid separator', 'signature': 'def test_invalid_sep(self):'}</s>{'name': 'dumps@django_cryptography/core/signing.py', 'description': "Return URL-safe, hmac signed base64 compressed JSON string. If key is\nNone, use settings... | 0 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCUOWC_COMMIT = 256 | 0 |
{'name': 'entry_now@toggl/cli/commands.py', 'description': "Manages currently running entry.\n\nWithout any options the command fetches the current time entry and displays it. But it also supports modification\nof the current time entry through the options listed below.\n\nTags can be modified either in a way of specif... | 0 |
{'name': 'circulation_configuration@pymultimatic/api/urls.py', 'description': 'Url to handle :class:`~pymultimatic.model.component.Circulation`\nconfiguration.', 'signature': 'def circulation_configuration(**kwargs: Any) -> str:'}</s>_CIRCULATION = _DHW + "/circulation" | 0 |
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>_commasepitem = Combine(OneOrMore(Word(printables, excludeChars=',') +
... | 0 |
{'name': 'add_scan_in_signature@build/waftools/common.py', 'description': "By default in waf, tasks are not re-run when their scan method\nchanges. This is an issue that caused real bugs in our project when\nswitching branches.\nThe purpose of this code is to take the scan method of tasks in the\ntasks signatures, like... | 0 |
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'gaussian_at_fwhm@src/python_scripts/afnipy/afni_util.py', 'descri... | 0 |
{'name': 'create_modules@models.py', 'description': 'Constructs module list of layer blocks from module configuration in module_defs', 'signature': 'def create_modules(module_defs):'}</s>{'name': 'generate_anchor@utils/utils.py', 'description': 'DOCSTRING', 'code': 'def generate_anchor(nGh, nGw, anchor_wh):\n nA = l... | 0 |
{'name': '_extract_predictions_and_losses@object_detection/legacy/evaluator.py', 'description': 'Constructs tensorflowFolder detection graph and returns output tensors.\n\nArgs:\n model: model to perform predictions with.\n create_input_dict_fn: function to create input tensor dictionaries.\n ignore_groundtruth: whe... | 0 |
{'name': 'TestProphetDataPrep.test_logistic_floor_minmax@python/prophet/tests/test_prophet.py', 'description': 'Test the scaling of y with logistic growth and a floor/cap.', 'signature': 'def test_logistic_floor_minmax(self, daily_univariate_ts, backend):'}</s>{'name': 'rmse@python/prophet/tests/test_prophet.py', 'desc... | 0 |
{'name': 'will@varname/core.py', 'description': 'Detect the attribute name right immediately after a function call.\n\nExamples:\n >>> class AwesomeClass:\n >>> def __init__(self):\n >>> self.will = None\n\n >>> def permit(self):\n >>> self.will = will()\n >>> if self.w... | 0 |
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': '_is_numeral@src/api/python/z3/z3.py', 'des... | 0 |
{'name': 'pass_verbosity@djclick/adapter.py', 'description': 'Marks a callback as wanting to receive the verbosity as a keyword argument.', 'signature': 'def pass_verbosity(f):'}</s>{'name': 'GroupAdapter@djclick/adapter.py', 'description': 'DOCSTRING', 'base_classes': ['DjangoCommandMixin', 'click.Group'], 'methods': ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.