text string | label int64 |
|---|---|
{'name': 'end_point_path_to_api_obj_name@components/create_swagger_config.py', 'description': 'Convert the end point url to an object and api name.', 'signature': 'def end_point_path_to_api_obj_name(end_point):'}</s>{'name': 'create_swagger_operation@components/create_swagger_config.py', 'description': 'Create Swagger ... | 0 |
{'name': 'test_eeg_topoplot@mne_icalabel/iclabel/tests/test_features.py', 'description': 'Test eeg_topoplot feature extraction.', 'signature': 'def test_eeg_topoplot(file, eeglab_result_file):'}</s>raw_topo1_path = dataset_path / "topo/topo1-raw.mat" | 0 |
{'name': 'ParseArguments@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'sign... | 0 |
{'name': 'AddListView.get_queryset@ahmia/views.py', 'description': 'Retrieve the original queryset and filter it based on banned domains ', 'signature': 'def get_queryset(self):'}</s>{'name': 'DocumentationView@ahmia/views.py', 'description': 'Documentation view ', 'base_classes': ['TemplateView'], 'methods': []} | 0 |
{'name': 'min@condensa/functional.py', 'description': 'Computes the minimum value of elements in input tensor.\n\n:param tensor: PyTorch tensor.\n:type tensor: `torch.nn.Module`\n:param dim: Reduction dimension.\n:type dim: `int`\n:param keepdim: Whether the output has `dim` retained.\n:type keepdim: `bool`\n:return: M... | 0 |
{'name': 'trim_peaks@cpv/peaks.py', 'description': 'if thresh was greater than seed, we trim the region\nso the ends are < seed, but middle values can be seed < p < thresh', 'signature': 'def trim_peaks(peaks, seed, thresh, scmp):'}</s>{'name': 'walk@cpv/peaks.py', 'description': 'DOCSTRING', 'code': 'def walk(chromite... | 0 |
{'name': 'on_shutdown_pi@src/server/server.py', 'description': 'Shutdown the raspberry pi.', 'signature': 'def on_shutdown_pi(*args):'}</s>{'name': 'download_database@src/server/server.py', 'description': 'DOCSTRING', 'code': "def download_database(db_file):\n # read DB data and convert to Base64\n with open(DB_B... | 0 |
{'name': 'PerImageEvaluation._get_overlaps_and_scores_mask_mode@alphaction/dataset/datasets/evaluation/ava/pascal_evaluation/per_image_evaluation.py', 'description': 'Computes overlaps and scores between detected and groudntruth masks.\n\nArgs:\n detected_boxes: A numpy array of shape [N, 4] representing detected box\... | 1 |
{'name': 'BL3Profile.set_vaultcard3_keys@bl3save/bl3profile.py', 'description': 'Sets the number of Vault Card 3 keys to `num_keys`', 'signature': 'def set_vaultcard3_keys(self, num_keys):'}</s>anointable_invdata_lower_types = set([t.lower() for t in anointable_invdata_types]) | 0 |
{'name': 'process@tests/lint.py', 'description': 'Process a file.', 'signature': 'def process(fname, allow_type):'}</s>{'name': 'LintHelper@tests/lint.py', 'description': 'Class to help runing the lint and records summary', 'base_classes': ['object'], 'methods': [{'name': 'LintHelper._print_summary_map@tests/lint.py', ... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQPD_ACCEPT_UNSUP_MASK = 1023 | 0 |
{'name': 'AssessmentBase.__init__@pelicun/assessment.py', 'description': 'Initialize an Assessment object.\n\nParameters\n----------\nconfig_options:\n User-specified configuration dictionary.', 'signature': 'def __init__(self, config_options: dict[str, Any] | None = None) -> None:'}</s>{'name': '_get_theta@pelicun/... | 0 |
{'name': 'gate2zx@discopy/quantum/zx.py', 'description': 'Turns gates into ZX diagrams. ', 'signature': 'def gate2zx(box):'}</s>Id = Diagram.id | 1 |
{'name': 'RKAdaptiveStepsizeODESolver._adaptive_step@torchdiffeq/_impl/rk_common.py', 'description': 'Take an adaptive Runge-Kutta step to integrate the ODE.', 'signature': 'def _adaptive_step(self, rk_state):'}</s>{'name': 'rk4_step_func@torchdiffeq/_impl/rk_common.py', 'description': 'DOCSTRING', 'code': 'def rk4_ste... | 0 |
{'name': 'speed_camera@versions/speed-camera 13.2/speed-cam.py', 'description': 'Main speed camera loop processing function', 'signature': 'def speed_camera():'}</s>{'name': 'make_media_dirs@versions/speed-camera 13.2/speed-cam.py', 'description': 'Create media default folders per config.py settings.', 'code': 'def mak... | 0 |
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im... | 0 |
{'name': 'test_parse_uri_invalid_uri@cheroot/test/test_core.py', 'description': 'Check that server responds with Bad Request to invalid GET queries.\n\nInvalid request line test case: it should only contain US-ASCII.', 'signature': 'def test_parse_uri_invalid_uri(test_client):'}</s>{'name': 'test_garbage_in@cheroot/tes... | 0 |
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>UINT_MAX = 4294967295 | 0 |
{'name': 'GetCompute@daisy_workflows/linux_common/utils/common.py', 'description': 'Get google compute api cli object.\n\nArgs:\n discovery: object, from googleapiclient.\n credentials: object, from google.auth.\n\nReturns:\n compute: object, the google compute api object.', 'signature': 'def GetCompute(discovery, c... | 0 |
{'name': 'setup_java_class@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'returns an example java class with the\ngiven content_to_add contained within a method.', 'signature': 'def setup_java_class(content_to_add):'}</s>{'name': 'ConstructorDeclaration@baseline_tokenization/javalang/tree.p... | 0 |
{'name': 'CScriptOp.encode_op_n@qa/rpc-tests/test_framework/script.py', 'description': 'Encode a small integer op, returning an opcode', 'signature': 'def encode_op_n(n):'}</s>OP_ADD = CScriptOp(0x93) | 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_shapefloatpar... | 0 |
{'name': 'PropKB.retract@Projects/2_Classical Planning/aimacode/logic.py', 'description': "Remove the sentence's clauses from the KB.", 'signature': 'def retract(self, sentence):'}</s>{'name': 'tt_entails@Projects/2_Classical Planning/aimacode/logic.py', 'description': "Does kb entail the sentence alpha? Use truth tabl... | 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': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'FreshFunction@src/api/python/z3/z3.py', 'description': 'Create a new fresh Z3 uninterpreted function with the given sorts.\n ', 'code': 'def FreshFunction(*... | 0 |
{'name': 'dependencies_of_symbol@contrib/mbedtls/tests/scripts/set_psa_test_dependencies.py', 'description': 'Return the dependencies for a symbol that designates a cryptographic mechanism.', 'signature': 'def dependencies_of_symbol(symbol):'}</s>{'name': 'is_classic_dependency@contrib/mbedtls/tests/scripts/set_psa_tes... | 0 |
{'name': 'insert_from_sql@cr8/insert_from_sql.py', 'description': 'Insert data read from another SQL source into table.', 'signature': 'def insert_from_sql(*,'}</s>{'name': 'run@cr8/aio.py', 'description': 'DOCSTRING', 'code': 'def run(coro, *args):\n loop = asyncio.get_event_loop()\n if args:\n gen = coro... | 1 |
{'name': 'unicode_normalize@joeynmt/helpers.py', 'description': 'apply unicodedata NFKC normalization\n- used in pre_process() in tokenizer.py\n\n:param s: input string\n:return: normalized string', 'signature': 'def unicode_normalize(s: str) -> str:'}</s>{'name': 'symlink_update@joeynmt/helpers.py', 'description': 'Th... | 0 |
{'name': 'main@extra/jetson/jetson_performance.py', 'description': 'Main block of code, which runs the performance evaluation', 'signature': 'def main():'}</s>LOOP_SIZE = 100 | 1 |
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': '_global_on_model@src/api/python/z3/z3... | 0 |
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo... | 0 |
{'name': 'file_based_input_fn_builder@bert_downstream/train_ner.py', 'description': 'Creates an `input_fn` closure to be passed to TPUEstimator.', 'signature': 'def file_based_input_fn_builder(input_file, seq_length, is_training,'}</s>FLAGS = flags.FLAGS | 0 |
{'name': 'ProjectIdentity.__init__@client/tc/azext_tc/vendored_sdks/teamcloud/models/_models_py3.py', 'description': ':keyword project_id: Required.\n:paramtype project_id: str\n:keyword project_name: Required.\n:paramtype project_name: str\n:keyword organization: Required.\n:paramtype organization: str\n:keyword organ... | 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_threads_stopped_at_breakpoint@llvm-1... | 0 |
{'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': 'TarInfo.frombuf@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>TSVTX = 512 | 0 |
{'name': 'mach_o_change@python/virtualenv/virtualenv.py', 'description': "Replace a given name (what) in any LC_LOAD_DYLIB command found in\nthe given binary with a new name (value), provided it's shorter.", 'signature': 'def mach_o_change(path, what, value):'}</s>is_pypy = hasattr(sys, 'pypy_version_info') | 0 |
{'name': 'prettyjson@topojson/utils.py', 'description': 'Renders JSON content with indentation and line splits/concatenations to fit maxlinelength.\nOnly dicts, lists and basic types are supported', 'signature': 'def prettyjson(obj, indent=2, maxlinelength=80):'}</s>{'name': 'serialize_as_ipywidgets@topojson/utils.py',... | 0 |
{'name': 'to_key@auto_editor/vanparse.py', 'description': 'Convert option name to arg key. e.g. --hello-world -> hello_world', 'signature': 'def to_key(op: Options | Required) -> str:'}</s>{'name': 'to_underscore@auto_editor/vanparse.py', 'description': 'Convert new style options to old style. e.g. --hello-world -> -... | 0 |
{'name': 'Timeseries.__getitem__@api/python/heedy/objects/timeseries.py', 'description': 'Allows accessing the timeseries just as if it were just one big python array.\n\n.. tab:: Sync\n\n ::\n\n #Returns the most recent 5 datapoints from the timeseries\n ts[-5:]\n\n #Returns all the data the ti... | 0 |
{'name': 'relations_lookup@utils/data_preparation_rdf_type.py', 'description': ":param core_chain: corechain\n:return: converts core chain surface form to relations\n ['+', 'wife','of] -> ['+','http..../wifeOf']", 'signature': 'def relations_lookup(core_chain, core_chain_length):'}</s>{'name': 'phrase_similarity... | 0 |
{'name': 'find_intermediate_genes@cblaster/intermediate_genes.py', 'description': 'Main function called for finding intermediate genes.\n\nArgs:\n session (Session): cblaster Session object\n gene_distance (int): the extra distance around a cluster to collect genes from\n max_clusters (int): maximum amount of ... | 0 |
{'name': 'arcball_map_to_sphere@DenseFusion/lib/transformations.py', 'description': 'Return unit sphere coordinates from window coordinates.', 'signature': 'def arcball_map_to_sphere(point, center, radius):'}</s>{'name': 'quaternion_imag@DenseFusion/lib/transformations.py', 'description': 'Return imaginary part of quat... | 0 |
{'name': 'Node._get_list_attribute_is_member_off@redbaron/base_nodes.py', 'description': "Return the list attribute of the parent from which this node is a\nmember.\n\nIf this node isn't in a list attribute, return None.", 'signature': 'def _get_list_attribute_is_member_off(self):'}</s>{'name': 'ProxyList@redbaron/base... | 1 |
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie... | 0 |
{'name': '_ClassifyInclude@tools/cpplint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than "".\n\nReturns:\n One of th... | 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': 'Any@python/google/protobuf/internal/well_known_types.py', 'description': 'Class for Any Mes... | 0 |
{'name': 'GTestFilterUnitTest.testShardStatusFileIsCreated@security/nss/external_tests/google_test/gtest/test/gtest_filter_unittest.py', 'description': 'Tests that the shard file is created if specified in the environment.', 'signature': 'def testShardStatusFileIsCreated(self):'}</s>TEST_REGEX = re.compile(r'^\[\s*RUN\... | 0 |
{'name': 'MfaWorker.configuration@montreal_forced_aligner/abc.py', 'description': 'Configuration parameters', 'signature': 'def configuration(self) -> MetaDict:'}</s>MEMORY = joblib.Memory(
location=os.path.join(get_temporary_directory(), "joblib_cache"),
verbose=4 if VERBOSE else 0,
bytes_limit=BYTES_LIMIT... | 0 |
{'name': 'IPDatabase.export_cadence@ipstools/ipstools/IPDatabase.py', 'description': 'Exports analyze scripts to be used for ASIC synthesis in Cadence RTL Compiler.\n\n :param script_path: The path where the Makefiles are collected\n :type script_path: str\n\n :param target_tech: Target si... | 0 |
{'name': 'JsonProtocolEncoder.default@tests/coaster_tests/sqlalchemy_roles_test.py', 'description': 'Encode JSON.', 'signature': 'def default(self, o: Any) -> Any:'}</s>{'name': 'RelationshipParent@tests/coaster_tests/sqlalchemy_roles_test.py', 'description': 'Test model for a relationship parent.', 'base_classes': ['B... | 0 |
{'name': 'TestRemoveDeclaration.testNotRemoved@src/tests/testXmlEncodingDecode.py', 'description': "Make sure that invalid, or missing, declarations aren't affected.", 'signature': 'def testNotRemoved(self):'}</s>{'name': 'InvalidRDF@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Error'], ... | 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': 'GefHelpCommand.__rebuild@gef.py', 'description': 'Rebuild the documentation.', 'signature': 'def __rebuild(self) -> None:'}</s>{'name': 'ASLRCommand@gef.py', 'description': 'View/modify the ASLR setting of GDB. By default, GDB will disable ASLR when it starts the process. (i.e. not\nattached). This command al... | 0 |
{'name': 'PythonModuleSourceFileGenerator._GetPythonTypeObjectFunctionPrototype@yaldevtools/source_generators/python_module.py', 'description': 'Determines the Python type object function prototypes.\n\nArgs:\n project_configuration (ProjectConfiguration): project configuration.\n type_name (str): type name.\n type_... | 1 |
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n... | 0 |
{'name': 'get_GLM_HRRR_contingency_stats@BB_HRRR/GLM_and_HRRR/GLM_events_HRRR.py', 'description': "Inputs:\n validDATE - A datetime that represents the end of the hour.\n fxx - List of forecasts. Deafult starts at 0 because\n the F00 LTNG forecast doesn't have any output.\n GOES - Num... | 1 |
{'name': 'im_detect_3d@lib/rpn_util.py', 'description': 'Object detection in 3D', 'signature': 'def im_detect_3d(im, net, rpn_conf, preprocess, p2, gpu=0, synced=False, return_base=False):'}</s>{'name': 'mkdir_if_missing@lib/util.py', 'description': 'Recursively make a directory structure even if missing.\n\nif delete_... | 0 |
{'name': 'IrokoTopo._install_proactive@dc_gym/topos/topo_dumbbell.py', 'description': 'Install proactive flow entries for the switch.', 'signature': 'def _install_proactive(self):'}</s>{'name': 'dump_json@dc_gym/utils.py', 'description': 'DOCSTRING', 'code': 'def dump_json(path, name, data):\n check_dir(path)\n w... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQXPT_LU62 = py23long(1) | 0 |
{'name': 'MPU9150.get_mag_irq@mpu9150.py', 'description': 'Uncorrected values because floating point uses heap', 'signature': 'def get_mag_irq(self):'}</s>{'name': 'Vector3d@vector3d.py', 'description': 'Represents a vector in a 3D space using Cartesian coordinates.\nInternally uses sensor relative coordinates.\nReturn... | 0 |
{'name': 'parse_return_val@disdat/hyperframe.py', 'description': 'Interpret the return values and create an HFrame to wrap them.\nThis means setting the correct presentation bit in the HFrame so that\nwe call downstream tasks with parameters as the author intended.\n\nPOLICY / NOTE: An non-HF output is a Presentable.\... | 0 |
{'name': 'CodeGenTest.test_fgpu_agent_func_input_types@tests/python/codegen/test_codegen.py', 'description': 'Try all the message input types by using a string replacement ', 'signature': 'def test_fgpu_agent_func_input_types(self):'}</s>cpp_fgpu_device_local_args_stack = "FLAMEGPU_DEVICE_FUNCTION void funcA(int x){
... | 0 |
{'name': 'Win32Serial.open@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>CR = to_bytes([13]) | 0 |
{'name': 'parse_python_interpreter@onlinejudge_command/subcommand/submit.py', 'description': ':param description: must be for Python', 'signature': 'def parse_python_interpreter(description: str) -> str:'}</s>{'name': 'guess_lang_ids_of_file@onlinejudge_command/subcommand/submit.py', 'description': 'DOCSTRING', 'code':... | 0 |
{'name': 'LayoutViewSet.download_layout@vulfocus-api/layout_image/views.py', 'description': '下载环境编排压缩包\n:param request:\n:param pk:\n:return:', 'signature': 'def download_layout(self, request, pk=None):'}</s>{'name': 'duplicate@vulfocus-api/tasks/tasks.py', 'description': '去重用户licence', 'code': 'def duplicate():\n "... | 0 |
{'name': 'rel_err@oggm/utils/_funcs.py', 'description': 'Relative error. Ref should be non-zero', 'signature': 'def rel_err(ref, data):'}</s>{'name': 'haversine@oggm/utils/_funcs.py', 'description': 'Great circle distance between two (or more) points on Earth\n\nParameters\n----------\nlon1 : float\n scalar or array ... | 0 |
{'name': 'RPCBindTest.run_allowip_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with rpcallow IP, and request getnetworkinfo\nat a non-localhost IP.', 'signature': 'def run_allowip_test(self, allow_ips, rpchost, rpcport):'}</s>{'name': 'enable_coverage@qa/rpc-tests/test_framework/util.py', 'descripti... | 0 |
{'name': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field... | 0 |
{'name': 'create_estimator_and_inputs@object_detection/model_lib.py', 'description': "Creates `Estimator`, input functions, and steps.\n\nArgs:\n run_config: A `RunConfig`.\n hparams: A `HParams`.\n pipeline_config_path: A path to a pipeline config file.\n config_override: A pipeline_pb2.TrainEvalPipelineConfig tex... | 0 |
{'name': 'QueueManager.connect_tcp_client@code/pymqi/__init__.py', 'description': "Connect immediately to the remote Queue Manager 'name', using\na TCP Client connection, with channnel 'channel' and the\nTCP connection string 'conn_name'. All other connection\noptons come from 'cd'.", 'signature': 'def connect_tcp_clie... | 0 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'init_app@app/extensions/__init__.py', 'description': 'Application extensions initialization.', 'signature': 'def init_app(app):'}</s>{'name': 'serve_swaggerui_assets@app/extensions/api/__init__.py', 'description': 'Swagger-UI assets serving route.', 'code': 'def serve_swaggerui_assets(path):\n """\n Swa... | 0 |
{'name': 'minimal_init@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard', 'signature': 'def minimal_init():'}</s>PRIVATE_SERVER_EXPLANATION = [4122] | 0 |
{'name': 'disable_logging@src/jsonspec/cli.py', 'description': 'Temporary disable logging.', 'signature': 'def disable_logging(func):'}</s>{'name': 'document_arguments@src/jsonspec/cli.py', 'description': 'DOCSTRING', 'code': 'def document_arguments(parser):\n group = parser.add_mutually_exclusive_group()\n group... | 0 |
{'name': 'guess_json_utf@src/requests/utils.py', 'description': ':rtype: str', 'signature': 'def guess_json_utf(data):'}</s>{'name': 'address_in_network@src/requests/utils.py', 'description': 'This function allows you to check if an IP belongs to a network subnet\n\nExample: returns True if ip = 192.168.1.1 and net = 1... | 0 |
{'name': 'Data.__init__@nova/parser/ehp.py', 'description': " The data holds the characters.\n\n Example:\n\n html = Html()\n data = '<body><em>alpha</em></body>'\n dom = html.feed(data)\n x = dom.fst('em')\n x.append(Data('\nbeta'))\n\n It outputs.\n\n <bo... | 0 |
{'name': 'find_meta@python-shell/setup.py', 'description': 'Extract __*meta*__ from META_FILE.', 'signature': 'def find_meta(meta):'}</s>here = path.abspath(path.dirname(__file__)) | 0 |
{'name': 'PCFExecute.__init__@code/pymqi/__init__.py', 'description': "PCFExecute(name = '')\n\nConnect to the Queue Manager 'name' (default value '') ready\nfor a PCF command. If name is a QueueManager instance, it is\nused for the connection, otherwise a new connection is made ", 'signature': 'def __init__(self, name... | 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': 'regressor.preprocess_batch@goturn/network/regressor.py', 'description': 'TODO: Docstring for preprocess_batch.\n\n:arg1: TODO\n:returns: TODO', 'signature': 'def preprocess_batch(self, images_batch, targets_batch):'}</s>DEBUG = False | 0 |
{'name': 'check_versions@utils/nb_check.py', 'description': "Check the current versions of the Python kernel and MSTICPy.\n\nParameters\n----------\nmin_py_ver : Union[Tuple[int, int], str]\n Minimum Python version\nmin_mp_ver : Union[Tuple[int, int], str]\n Minimum MSTICPy version\nextras : Optional[List[str]], ... | 1 |
{'name': 'compile_fun_manually@src/makefun/main.py', 'description': ':param target:\n:return:', 'signature': 'def compile_fun_manually(target,'}</s>FUNC_DEF = re.compile(
'(?s)^\\s*(?P<funcname>[_\\w][_\\w\\d]*)?\\s*'
'\\(\\s*(?P<params>.*?)\\s*\\)\\s*'
'(((?P<typed_return_hint>->\\s*[^:]+)?(?P<colon>:)?\\s... | 0 |
{'name': 'run@src/back/kite/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`server_names` keys\n ... | 0 |
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im... | 0 |
{'name': 'View.update_pick_info_long@picasso/gui/render.py', 'description': 'Called when evaluating picks statistics in Info Dialog. ', 'signature': 'def update_pick_info_long(self):'}</s>{'name': 'link_loc_groups@picasso/postprocess.py', 'description': 'DOCSTRING', 'code': 'def link_loc_groups(locs, info, link_group, ... | 0 |
{'name': 'demo@src/doitlive/cli.py', 'description': 'Run a demo doitlive session.', 'signature': 'def demo(quiet, shell, speed, prompt, commentecho):'}</s>{'name': 'echo_rec_buffer@src/doitlive/cli.py', 'description': 'DOCSTRING', 'code': 'def echo_rec_buffer(commands):\n if commands:\n echo("Current commands... | 0 |
{'name': 'Plant.pick_petal@src/astrobotany/models.py', 'description': "Pick a petal from a flowering plant.\n\nArgs:\n user: The user picking the petal, if not the plant's owner.\n\nReturns: A string with a description of the resulting action.", 'signature': 'def pick_petal(self, user: User | None = None) -> str:'}<... | 0 |
{'name': 'auto_from_dict@a38/fattura.py', 'description': 'Given the equivalent of a Fattura.to_jsonable() data structure,\nreconstruct the fattura', 'signature': 'def auto_from_dict('}</s>{'name': 'IntegerField@a38/fields.py', 'description': 'DOCSTRING', 'base_classes': ['ChoicesField[int]'], 'methods': [{'name': 'Inte... | 0 |
{'name': '_htmlentity_transform@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Transforms an HTML entity to a character.', 'signature': 'def _htmlentity_transform(entity_with_semicolon):'}</s>{'name': 'parse_count@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'DOCSTRING', 'code':... | 0 |
{'name': 'CheckStyle@scripts/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n ... | 0 |
{'name': 'JSONDecoder.raw_decode@simplejson/decoder.py', 'description': 'Decode a JSON document from ``s`` (a ``str`` or ``unicode``\nbeginning with a JSON document) and return a 2-tuple of the Python\nrepresentation and the index in ``s`` where the document ended.\nOptionally, ``idx`` can be used to specify an offset ... | 0 |
{'name': 'ONLY_CLSTM_MI.__init__@modelling/only_clstm_mi.py', 'description': 'input_size - (tuple) should be (time_steps, channels, height, width)', 'signature': 'def __init__(self, '}</s>{'name': 'initialize_weights@modelling/util.py', 'description': 'DOCSTRING', 'code': 'def initialize_weights(*models):\n for mode... | 0 |
{'name': 'IUCoordinator.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the system', 'signature': 'def load(self, config: OrderedDict) -> "IUCoordinator":'}</s>CONF_PERCENTAGE = "percentage" | 0 |
{'name': '_serialize_single@src/betterproto/__init__.py', 'description': 'Serializes a single field and value.', 'signature': 'def _serialize_single('}</s>{'name': 'message_field@src/betterproto/__init__.py', 'description': 'DOCSTRING', 'code': 'def message_field(\n number: int,\n group: Optional[str] = None,\n ... | 0 |
{'name': 'resolveAndSplit@ValveFileSystem/path.py', 'description': "recursively expands all environment variables and '..' tokens in a pathname", 'signature': 'def resolveAndSplit(path, envDict=None, raiseOnMissing=False):'}</s>_GAME = None | 0 |
{'name': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike... | 0 |
{'name': 'TestBaseBackend.test_load_remote_backend@tests/test_access_backends.py', 'description': "keyword 'remote' loads RemoteBackend", 'signature': 'def test_load_remote_backend(self):'}</s>{'name': 'SQLAccessBackend@pypicloud/access/sql.py', 'description': 'This backend allows you to store all user and package perm... | 0 |
{'name': 'Login.request@SalesforcePy/sfdc.py', 'description': 'Gets the result of `super` for this method, then assigns the `access_token` to `session_id`.\nReturns request response.\n\n :return: Response dict\n :rtype: dict', 'signature': 'def request(self):'}</s>{'name': 'post_request@SalesforcePy/commons.py', 'des... | 0 |
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.