text string | label int64 |
|---|---|
{'name': '_make_json_entry@s2e_env/commands/execution_trace.py', 'description': "Combine a trace entry header and item into a single JSON-serializable\nentry. Return this entry as a ``dict``.\n\nSome things to note:\n * The header's ``size`` field is removed - it is not required in the\n JSON\n * Enums are r... | 0 |
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>{'name': 'GlibcHeapWalkContext@gef.py', 'description':... | 0 |
{'name': 'prepare_cis_output@tensorqtl/cis.py', 'description': 'Return nominal p-value, allele frequencies, etc. as pd.Series', 'signature': 'def prepare_cis_output(r_nominal, r2_perm, std_ratio, g, num_var, dof, variant_id,'}</s>{'name': 'get_allele_stats@tensorqtl/core.py', 'description': 'Returns allele frequency, m... | 0 |
{'name': 'lava_cell_op@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create the exclusive function of LAVA cells.\n\nLAVA expires after a minimum age.\nLAVA has a falling-sand property. But, if it cannot fall, it then may\nburn nearby burnable cells (making them FIRE).', 'signature': 'def ... | 0 |
{'name': 'csrgraph.random_walks@csrgraph/graph.py', 'description': "Create random walks from the transition matrix of a graph\n in CSR sparse format\n\nParameters\n----------\nT : scipy.sparse.csr matrix\n Graph transition matrix in CSR sparse format\nwalklen : int\n length of the random walks\nepochs : int\n ... | 0 |
{'name': 'get_bustools_binary_path@kb_python/config.py', 'description': 'Dummy function that simply returns the current value of :data:`BUSTOOLS_PATH`.\n ', 'signature': 'def get_bustools_binary_path() -> str:'}</s>REFERENCES_MAPPING = {r.name: r for r in REFERENCES} | 0 |
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MASK_FMV_Q_X = 4293947519 | 0 |
{'name': 'QuWetGrass.build_bnet@examples_qbnets/QuWetGrass.py', 'description': 'Builds QBnet called QuWetGrass with diamond shape\n Cloudy\n / Rain Sprinkler\n \\ /\n WetGrass\nAll arrows pointing down', 'signature': 'def build_bnet():'}</s>{'name': 'MCMC_Engine@inferen... | 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': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>BREAKPOINT_HIT_TWICE = "Breakpoint resolved with hit count = 2" | 0 |
{'name': 'FindOutgoingInterface@comtypes/client/_events.py', 'description': 'XXX Describe the strategy that is used...', 'signature': 'def FindOutgoingInterface(source: IUnknown) -> Type[IUnknown]:'}</s>COWAIT_DEFAULT = 0 | 0 |
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>pf_ops = {
"": PF_OP_NONE,
"><": PF_OP_IRG,
"<>": PF_OP_XRG,
"=": PF_OP_EQ,
"!=": PF_OP_NE,
"<": PF_OP_LT,
"<=": PF_OP_LE,
">": PF_OP_GT... | 0 |
{'name': 'find_chords_from_notes@pychord/analyzer.py', 'description': 'Find possible chords consisted from notes\n\n:param notes: List of note arranged from lower note. ex) ["C", "Eb", "G"]\n:return: List of chord', 'signature': 'def find_chords_from_notes(notes: List[str]) -> List[Chord]:'}</s>{'name': 'Chord@pychord/... | 1 |
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'load_model_ensemble_and_task@fairseq/checkpoint_utils.py', 'description': 'DOCSTRING', 'code': 'def load_model_ensemble_and_task(\n filenames,\n arg_override... | 0 |
{'name': 'GroupTestCase.test_search@tests/installer/test_setup_params.py', 'description': 'Test packstack.installer.core.parameters.Group search method', 'signature': 'def test_search(self):'}</s>{'name': 'GroupTestCase@tests/installer/test_setup_params.py', 'description': 'DOCSTRING', 'base_classes': ['PackstackTestCa... | 1 |
{'name': 'PiPluginManager.load_all_plugins@pibooth/plugins/__init__.py', 'description': 'Register the core plugins, load plugins from setuptools entry points\nand the load given module/package paths.\n\nnote:: by default hooks are called in LIFO registered order thus\n plugins register order is important.\n\n:par... | 0 |
{'name': 'get_numeric_roles_stat@lightautoml/reader/guess_roles.py', 'description': 'Calculate statistics about different encodings performances.\n\nWe need it to calculate rules about advanced roles guessing.\nOnly for numeric data.\n\nArgs:\n train: Dataset.\n subsample: size of subsample.\n random_state: in... | 0 |
{'name': 'ParserElement.searchString@venv/Lib/site-packages/setuptools/_vendor/pyparsing.py', 'description': 'Another extension to C{L{scanString}}, simplifying the access to the tokens found\nto match the given parse expression. May be called with optional\nC{maxMatches} argument, to clip searching after \'n\' matche... | 0 |
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ... | 0 |
{'name': 'all_component_templates@scripts/generators/es_template.py', 'description': 'Generate one component template per field set', 'signature': 'def all_component_templates('}</s>{'name': 'component_name_convention@scripts/generators/es_template.py', 'description': 'DOCSTRING', 'code': 'def component_name_convention... | 0 |
{'name': 'HomographyTransform.init_map_coordinate@util/homg_trans.py', 'description': 'Calculate the coordinates of the tiles on the map.\nTry swiping the map if it returns false.\nDependencies: init_homg_vars, load_color_screen\n:return: True if successfully initialize the coordinates of the tiles. False otherwise.', ... | 0 |
{'name': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>{'name': '_is_unpacked_egg@blockchain-en... | 0 |
{'name': 'replace@yaql/standard_library/date_time.py', 'description': ':yaql:replace\n\nReturns datetime object with applied replacements.\n\n:signature: dt.replace(year => null, month => null, day => null,\n hour => null, minute => null, second => null,\n microsecond => null... | 0 |
{'name': 'w_slice@visualization_utils.py', 'description': 'n_shift and n_factor denote the shift and multiplication constant of the normal\nequivalent for the shift\nsym makes shift and normal symmetric', 'signature': 'def w_slice(shift, normal, shift_addend, shift_factor, normal_addend, normal_factor, sym=False, pos=F... | 0 |
{'name': 'TextAccessor.cat@fletcher/string_array.py', 'description': 'Concatenate strings in the Series/Index with given separator.\n\nIf `others` is specified, this function concatenates the Series/Index\nand elements of `others` element-wise.\nIf `others` is not passed, then all values in the Series/Index are\nconcat... | 0 |
{'name': 'test_post_empty_data@list_metrics/main_test.py', 'description': 'Test sending an empty message', 'signature': 'def test_post_empty_data(app, client):'}</s>{'name': 'app@list_metrics/main_test.py', 'description': 'DOCSTRING', 'code': 'def app():\n yield flask_app'} | 1 |
{'name': 'ConnectionList.get@src/backend/api/views/cloud_connection_views.py', 'description': 'List all Connections', 'signature': 'def get(self):'}</s>{'name': 'HTTP_EXCEPTION@src/backend/api/exceptions.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': [{'name': 'HTTP_EXCEPTION.__init__@src/ba... | 1 |
{'name': 'source@tools/sel4_extensions/gdbscript.py', 'description': 'Convenience decorator for sourcing gdb commands', 'signature': 'def source(callable):'}</s>{'name': '_sel4_break_complete_helper@tools/sel4_extensions/gdbscript.py', 'description': 'DOCSTRING', 'code': "def _sel4_break_complete_helper(text, word):\n ... | 0 |
{'name': 'downloadFile@common.py', 'description': 'Downloads a file from the given URL.\nWill either return "bytes" if is_text = False, or a unicode string if is_text = True\nRaises an exception on error.\n\n:param url:\n:return:', 'signature': 'def downloadFile(url, is_text):'}</s>{'name': 'openURLInBrowser@common.py'... | 0 |
{'name': 'PerImageEvaluation._compute_is_class_correctly_detected_in_image@alphaction/dataset/datasets/evaluation/ava/pascal_evaluation/per_image_evaluation.py', 'description': 'Compute CorLoc score for a single class.\n\nArgs:\n detected_boxes: A numpy array of shape [N, 4] representing detected box\n coordinate... | 0 |
{'name': 'ReplaceByFeeTest.test_too_many_replacements@qa/rpc-tests/replace-by-fee.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>OP_RIPEMD160 = CScriptOp(0xa6) | 0 |
{'name': 'ParseCodeLine@vimdoc/parser.py', 'description': 'Parses one line of code and creates the appropriate CodeLine.', 'signature': 'def ParseCodeLine(line):'}</s>{'name': 'ParseBlockDirective@vimdoc/parser.py', 'description': 'DOCSTRING', 'code': 'def ParseBlockDirective(name, rest):\n if name in docline.BLOCK_DI... | 0 |
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t... | 0 |
{'name': 'Application.update_state@spatialmedia/gui.py', 'description': 'self.checkbox_spherical.configure(state="normal")\nif self.var_spherical.get():\n self.checkbox_3D.configure(state="normal")\n self.button_inject.configure(state="normal")\n if self.enable_spatial_audio:\n self.checkbox_spatial_aud... | 0 |
{'name': 'post_processing@ytmdl/main.py', 'description': 'Handle all the activities post search of the song.\n\nThis function will handle the following:\nConvert, Trim, Metadata, Cleaning up.', 'signature': 'def post_processing('}</s>{'name': 'check_config_setup@ytmdl/setupConfig.py', 'description': 'Method to check if... | 0 |
{'name': 'Block._write@pcapng/blocks.py', 'description': 'Writes this block into the given output stream', 'signature': 'def _write(self, outstream):'}</s>LINKTYPE_JUNIPER_ATM2 = 135 | 0 |
{'name': 'TLP.check@fpga/lib/pcie/tb/pcie.py', 'description': 'Validate TLP', 'signature': 'def check(self):'}</s>MSG_VENDOR_0 = 126 | 0 |
{'name': 'main@oaiharvest/registry.py', 'description': 'Process command line options, hand off to appropriate function.', 'signature': 'def main(argv=None):'}</s>{'name': 'verify_database@oaiharvest/registry.py', 'description': 'Verify that a suitable database exists, create it if not.', 'code': 'def verify_database(pa... | 1 |
{'name': 'calc_slice_target_position@geetest_online/geetest_online.py', 'description': 'recover image and calculate slice target position', 'signature': 'def calc_slice_target_position(fullbg_data, bg_data):'}</s>{'name': 'get_main@geetest_online/geetest_online.py', 'description': 'get gsxt main webpage', 'code': "def ... | 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>MQRC_INHIBIT_VALUE_ERROR = 2020 | 0 |
{'name': 'wideresnet50@encoding/models/backbone/wideresnet.py', 'description': 'Constructs a WideResNet-50 model.\n\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': "def wideresnet50(pretrained=False, root='~/.encoding/models', **kwargs):"}</s>{'name': 'Bottleneck@encoding/... | 0 |
{'name': 'scan_build@libscanbuild/analyze.py', 'description': 'Entry point for scan-build command. ', 'signature': 'def scan_build():'}</s>COMPILER_WRAPPER_CC = "analyze-cc" | 0 |
{'name': 'test_novalidate_noerrors@cerberus/tests/test_validation.py', 'description': 'In v0.1.0 and below `self.errors` raised an exception if no\nvalidation had been performed yet.', 'signature': 'def test_novalidate_noerrors(validator):'}</s>{'name': 'test_string@cerberus/tests/test_validation.py', 'description': 'D... | 0 |
{'name': 'RDBComputeDomain.__init__@py3/SciServer/SciQuery.py', 'description': 'Creates an instance of an RDBComputeDomain, which defines a domain or environment with databases that users.\nare able to query.\n\n:param rdb_compute_domain: Parameter that identifies the domain. Could be either its name (string),\n ID ... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQXR2_CONTINUE_CHAIN = 8 | 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': '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': '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': 'wasm_trap_same@language-bindings/python/src/wamr/wasmcapi/binding.py... | 0 |
{'name': 'initialize_ad_tracking_db@core/friendly_organizer.py', 'description': 'Initializes the AdTracker table with the default list of trackers. Ran only once at startup.', 'signature': 'def initialize_ad_tracking_db():'}</s>active_network_interface = "" | 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 |
{'name': 'DECIMER_Predictor.__init__@DECIMER/Repack_model.py', 'description': 'Load the tokenizers, the maximum input and output length and the\nmodel.\n\nArgs:\n encoder (tf.keras.model): The encoder model\n tokenizer (tf.keras.tokenizer): Output tokenizer, defines which character is assigned to what token\n ... | 0 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' an... | 1 |
{'name': 'AttachResumeTestCase.process_attach_continue_interrupt_detach@llvm-12.0.0-project/lldb/test/API/commands/process/attach-resume/TestAttachResume.py', 'description': 'Test attach/continue/interrupt/detach', 'signature': 'def process_attach_continue_interrupt_detach(self):'}</s>{'name': 'get_description@llvm-12.... | 0 |
{'name': 'run_bind_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with requested rpcallowip and rpcbind parameters,\nthen try to connect, and check if the set of bound addresses\nmatches the expected set.', 'signature': 'def run_bind_test(tmpdir, allow_ips, connect_to, addresses, expected):'}</s>{'nam... | 0 |
{'name': 'EmbeddingLayer.project@nematus/transformer_layers.py', 'description': "Projects the transformer decoder's output into the vocabulary space. ", 'signature': 'def project(self, dec_out):'}</s>{'name': 'matmul_nd@nematus/transformer_layers.py', 'description': 'Performs matrix multiplication for n-dimensional inp... | 1 |
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>{'name': '_get_format_function@venv/Lib/site-packages/numpy/core/arrayprint.py', 'description': 'find the right for... | 0 |
{'name': 'edit_roster@rosters/views.py', 'description': 'Edit Roster View.', 'signature': 'def edit_roster(request):'}</s>{'name': 'TimeSlotDeleteView@rosters/views.py', 'description': 'Time Slot Delete View.', 'base_classes': ['LoginRequiredMixin', 'PermissionRequiredMixin', 'DeleteView'], 'methods': []} | 0 |
{'name': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_... | 0 |
{'name': 'generate_assignment_stub_and_hook@da/compiler/incgen.py', 'description': "Generate assignment stub and hook node for 'nameobj'.\n\nAssignment stubs notifies the incrementalizer of changes to value of\nvariables, and gives the incrementalizer a chance to perform necessary\nhousekeeping.", 'signature': 'def gen... | 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': '_make_sc_calpha_tensors@sidechainnet/structure/fastbuild.py', 'description': 'Create a dict to map all-atom build_info (lens/angs/etc) to vals per res identity.\n\n For every sidechain atom, we need to know:\n 1) what atom it is building off of (<NUM_COORDS_PER_RES=14),\n 2) the bond length,\... | 0 |
{'name': 'list_members@twitter_to_sqlite/cli.py', 'description': 'Fetch lists - accepts one or more screen_name/list_slug identifiers', 'signature': 'def list_members(db_path, identifiers, auth, ids):'}</s>{'name': 'ad_mobile_conversions_attributed@twitter_to_sqlite/archive.py', 'description': 'DOCSTRING', 'code': 'def... | 0 |
{'name': 'rot_by_axis@python/taichi/math/mathimpl.py', 'description': 'Returns the 4x4 matrix representation of a 3d rotation with given axis `axis` and angle `ang`.\n\nArgs:\n axis (vec3): rotation axis\n ang (float): angle in radians unit\n\nReturns:\n :class:`~taichi.math.mat4`: rotation matrix', 'signature... | 1 |
{'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... | 1 |
{'name': 'get_type_reference@src/betterproto/compile/importing.py', 'description': 'Return a Python type name for a proto type reference. Adds the import if\nnecessary. Unwraps well known type if required.', 'signature': 'def get_type_reference('}</s>{'name': 'reference_absolute@src/betterproto/compile/importing.py', '... | 1 |
{'name': 'PredictionEnsemble._bootstrap@src/climpred/classes.py', 'description': "PredictionEnsemble.bootstrap() parent method.\n\nexplain: OPTIONS['bootstrap_resample_skill_func']\n\nSee also:\n* :py:meth:`~climpred.PerfectModelEnsemble.bootstrap`\n* :py:meth:`~climpred.HindcastEnsemble.bootstrap`", 'signature': 'def ... | 0 |
{'name': 'TokenizerBase.tokenize@bert4keras/tokenizers.py', 'description': '分词函数\n ', 'signature': 'def tokenize(self, text, maxlen=None):'}</s>{'name': 'lowercase_and_normalize@bert4keras/snippets.py', 'description': '转小写,并进行简单的标准化\n ', 'code': 'def lowercase_and_normalize(text):\n """转小写,并进行简单的标准化\n "... | 0 |
{'name': 'TopoJson.style_data@folium/features.py', 'description': 'Applies self.style_function to each feature of self.data.', 'signature': 'def style_data(self) -> None:'}</s>{'name': 'RegularPolygonMarker@folium/features.py', 'description': 'Custom markers using the Leaflet Data Vis Framework.\n\nParameters\n--------... | 0 |
{'name': 'S2V_Tests.test2@blockchain-env/lib/python3.7/site-packages/Cryptodome/SelfTest/Protocol/test_KDF.py', 'description': 'Verify that no more than 127(AES) and 63(TDES)\ncomponents are accepted.', 'signature': 'def test2(self):'}</s>block_size = 16 | 1 |
{'name': 'FeedService.get_popular_posts@c3po/api/service/feed_service.py', 'description': 'Retrieves the most popular posts in the past n days', 'signature': 'def get_popular_posts(url, n, start, limit):'}</s>{'name': 'Song@c3po/db/models/song.py', 'description': 'DOCSTRING', 'base_classes': ['Base'], 'methods': [{'nam... | 0 |
{'name': 'Type.get_ref_qualifier@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': 'Retrieve the ref-qualifier of the type.', 'signature': 'def get_ref_qualifier(self):'}</s>{'name': 'Token@llvm-12.0.0-project/clang/bindings/python/clang/cindex.py', 'description': "Represents a single token fro... | 0 |
{'name': 'TestObjectsE2E.test_host_record_ea_inheritance@e2e_tests/test_objects.py', 'description': 'Checks if EA inheritance for record:host object\nworks as expected', 'signature': 'def test_host_record_ea_inheritance(self):'}</s>{'name': 'HsmSafenetgroup@infoblox_client/objects.py', 'description': "HsmSafenetgroup: ... | 0 |
{'name': 'combine_named@config/util.py', 'description': "Collect a sequence of sequences of dictionaries by their 'name' parameter.\nEarlier parameters have priority over later parameters.", 'signature': 'def combine_named(*iterables):'}</s>{'name': 'chain@config/util.py', 'description': "Combine two or more dictionari... | 1 |
{'name': 'NamespaceLookupTestCase.test_scope_ambiguity_after_using_lookup_with_run_command@tools/lldb/packages/Python/lldbsuite/test/lang/cpp/namespace/TestNamespaceLookup.py', 'description': 'Test scope lookup ambiguity after using in lldb.', 'signature': 'def test_scope_ambiguity_after_using_lookup_with_run_command(s... | 0 |
{'name': 'FormatDecisionState.MustSplit@tools/yapf/yapf/yapflib/format_decision_state.py', 'description': 'Returns True if the line must split before the next token.', 'signature': 'def MustSplit(self):'}</s>_style = None | 0 |
{'name': 'User.formatRecentTrainsKeyboard@src/objects/user.py', 'description': 'Format recent trains keyboard\n:return: list of lists of dict', 'signature': 'def formatRecentTrainsKeyboard(self):'}</s>r = redis.StrictRedis(host=config.REDIS_HOST, port=config.REDIS_PORT, db=config.REDIS_DB, password=config.REDIS_PASSWOR... | 0 |
{'name': 'DescriptorPool._SetFieldType@third_party/dawn/third_party/protobuf/python/google/protobuf/descriptor_pool.py', 'description': "Sets the field's type, cpp_type, message_type and enum_type.\n\nArgs:\n field_proto: Data about the field in proto format.\n field_desc: The descriptor to modify.\n package: The pa... | 0 |
{'name': 'BaseCompiler.get_full_output_path@src/static_precompiler/compilers/base.py', 'description': 'Get full path to compiled file based for the given source file.\n The returned path is OS-dependent.\n\n:param source_path: relative path to a source file\n:returns: full path to the compiled file (OS-dependent)', ... | 0 |
{'name': 'get_async_stack_root_addrs@folly/coro/scripts/co_bt.py', 'description': 'Gets all the async stack roots that exist for the current thread.', 'signature': 'def get_async_stack_root_addrs('}</s>{'name': 'print_async_stack_addrs@folly/coro/scripts/co_bt.py', 'description': 'DOCSTRING', 'code': 'def print_async_s... | 0 |
{'name': 'save_using_palette@src/pyradox/image.py', 'description': 'save image using palette and optimization', 'signature': 'def save_using_palette(image, filename, colors = 256):'}</s>{'name': 'get_strip_square@src/pyradox/image.py', 'description': 'gets the idxth square from a horizontal strip of images', 'code': 'd... | 0 |
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_ci_get_media_pic_queue@ut/test.py', 'description': 'DOCSTRING', 'code': 'def test_ci_get_media_pic_queue():\n if TEST_CI != \'true\':\n return\n\n ... | 0 |
{'name': 'PPOTrainer.train@ss_baselines/savi/ppo/ppo_trainer.py', 'description': 'Main method for training PPO.\n\nReturns:\n None', 'signature': 'def train(self) -> None:'}</s>{'name': 'SpectrogramSensor@soundspaces/tasks/nav.py', 'description': 'DOCSTRING', 'base_classes': ['Sensor'], 'methods': [{'name': 'Spectro... | 0 |
{'name': 'GTestJsonOutputUnitTest._GetJsonOutput@Engine/lib/gtest/googletest/test/googletest-json-output-unittest.py', 'description': "Returns the JSON output generated by running the program gtest_prog_name.\n\nFurthermore, the program's exit code must be expected_exit_code.\n\nArgs:\n gtest_prog_name: Google Test bi... | 0 |
{'name': 'CheckTrailingSemicolon@third_party/cpplint/cpplint.py', 'description': 'Looks for redundant trailing semicolon.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any... | 0 |
{'name': 'A1DInterface.process_data@src/python_scripts/scripts/1d_tool.py', 'description': 'return None on completion, else error code (0 being okay)', 'signature': 'def process_data(self):'}</s>{'name': 'transpose@src/python_scripts/afnipy/afni_util.py', 'description': 'transpose a 2D matrix, returning the new one', '... | 1 |
{'name': 'TestDefiningRecipes.test_prepare_recipes_with_args@tests/test_recipes.py', 'description': 'Overriding some fields values at recipe execution', 'signature': 'def test_prepare_recipes_with_args(self):'}</s>{'name': 'DummyNumbersModel@tests/generic/models.py', 'description': 'DOCSTRING', 'base_classes': ['models... | 0 |
{'name': 'athena_source@05_explore/data-wrangler/99_GENERATED_Python_Code.py', 'description': 'Represents a source that handles Athena.\n\nNote: Input dataset_definition is a Mohave specific dataset definition and is different from Processing Job\ndataset definition.', 'signature': 'def athena_source(spark, mode, datas... | 0 |
{'name': 'unique_tokens@python/nvtext.py', 'description': 'Each string is split into tokens using the provided delimiter.\nThe nvstrings instance returned contains unique list of tokens.\n\nParameters\n----------\nstrs : nvstrings\n The strings for this operation\ndelimiter : str\n The character used to locate th... | 0 |
{'name': 'smart_query@sqlalchemy_mixins/smartquery.py', 'description': "Does magic Django-ish joins like post___user___name__startswith='Bob'\n (see https://goo.gl/jAgCyM)\nDoes filtering, sorting and eager loading at the same time.\nAnd if, say, filters and sorting need the same joinm it will be done\n only one. That'... | 0 |
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t... | 0 |
{'name': 'Praetorian.init_app@flask_praetorian/base.py', 'description': 'Initializes the Praetorian extension\n\n:param: app: The flask app to bind this\n extension to\n:param: user_class: The class used to interact with\n user... | 1 |
{'name': 'imGrad@training_codes/utils/utils_model.py', 'description': 'Computes the discrete gradient of an input batch of images of size \nB x C x H x W. The output is of size B x 2*C x H x W where in the 2nd \ndimension from 0:C the gradient with respect to the y-axis of each channel\nof the image is stored, while in... | 0 |
{'name': 'map_misp_attribute_to_zeek@shared/bin/zeek_threat_feed_utils.py', 'description': 'Maps a MISP attribute to Zeek intel items\n@see https://docs.zeek.org/en/current/scripts/base/frameworks/intel/main.zeek.html#type-Intel::Type\n@param attribute The MISPAttribute to convert\n@return a list containing the Zeek in... | 1 |
{'name': 'Scheduler.__init__@spider/core/scheduler.py', 'description': '@summary: 调度器\n---------\n@param table_folder: 爬虫request及item存放reis中的文件夹\n@param parser_count: 线程数,默认为配置文件中的线程数\n@param begin_callback: 爬虫开始回调函数\n@param end_callback: 爬虫结束回调函数\n@param delete_tabs: 爬虫启动时删除的表,类型: 元组/bool/string。 支持正则\n@param process_... | 0 |
{'name': 'MatrixExp3@7_Demo_youBotPickAndPlace/code/modern_robotics/core.py', 'description': 'Computes the matrix exponential of a matrix in so(3)\n\n:param so3mat: A 3x3 skew-symmetric matrix\n:return: The matrix exponential of so3mat\n\nExample Input:\n so3mat = np.array([[ 0, -3, 2],\n [ 3,... | 0 |
{'name': 'Tool_2.execute@cs_modeling.py', 'description': 'x = 60\ny = 100\nRED = (1, 0, 0, 1)\nGREEN = (0, 1, 0, 1)\nBLUE = (0, 0, 1, 1)\nps = [("Blue ", RED),("Yellow ", BLUE),("White ", GREEN)]\ndraw_string(x, y, ps)', 'signature': 'def execute(self, context):'}</s>{'name': 'ActiveComponent@cs_modeling.py', 'descript... | 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': 'pad_arrays_keep_invp@data_utils.py', 'description': 'Pad arrays and return inverse permutation\n\nInput:\nsrc (list[array[int32]])\n---\nOutput:\nsrc (seq_len, batch)\nlengths (1, batch)\ninvp (batch,): inverse permutation, src.t()[invp] gets original order', 'signature': 'def pad_arrays_keep_invp(src):'}</s>... | 1 |
{'name': 'Series.bookmark@AO3/series.py', 'description': 'Bookmarks this series\nThis function is threadable\n\nArgs:\n notes (str, optional): Bookmark notes. Defaults to "".\n tags (list, optional): What tags to add. Defaults to None.\n collections (list, optional): What collections to add this bookmark to. D... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.