text
string
label
int64
{'name': 'GTestFilterUnitTest.RunAndVerify@swap-ssdb-1.9.2/tests/googletest/googletest/test/gtest_filter_unittest.py', 'description': 'Checks that the binary runs correct set of tests for a given filter.', 'signature': 'def RunAndVerify(self, gtest_filter, tests_to_run):'}</s>{'name': 'SetEnvVar@swap-ssdb-1.9.2/tests/g...
1
{'name': 'VoVNet.__init__@fcos/modeling/backbone/vovnet.py', 'description': 'Args:\n input_ch(int) : the number of input channel\n out_features (list[str]): name of the layers whose outputs should\n be returned in forward. Can be anything in "stem", "stage2" ...', 'signature': 'def __init__(self, cfg, inpu...
0
{'name': 'log_to_csv@versions/speed-cam_12.06.py', 'description': 'Store date to a comma separated value file', 'signature': 'def log_to_csv(data_to_append):'}</s>{'name': 'speed_notify@versions/speed-cam_12.06.py', 'description': 'DOCSTRING', 'code': 'def speed_notify():\n if pluginEnable:\n logging.info("Pl...
0
{'name': 'Main.initialise_jobs@accelerator/control.py', 'description': 'Updata database, check deps, create jobids. ', 'signature': 'def initialise_jobs(self, setup, workdir=None):'}</s>{'name': 'DotDict@accelerator/extras.py', 'description': "Like a dict, but with d.foo as well as d['foo'].\n(Names beginning with _ wi...
0
{'name': 'parse_config@src/showyourwork/config.py', 'description': 'Parse the current config and fill in defaults.', 'signature': 'def parse_config():'}</s>{'name': 'get_repo_tag@src/showyourwork/git.py', 'description': 'Return a tag name if the HEAD corresponds to a tagged version.', 'code': 'def get_repo_tag():\n ...
1
{'name': 'submit_run@models/stylegan_tf_official/dnnlib/submission/submit.py', 'description': 'Create a run dir, gather files related to the run, copy files to the run dir, and launch the run in appropriate place.', 'signature': 'def submit_run(submit_config: SubmitConfig, run_func_name: str, **run_func_kwargs) -> None...
0
{'name': 'odctndict@training_codes/utils/utils_model.py', 'description': "D = ODCTNDICT((N1 N2 ... Np),(L1 L2 ... Lp)) returns an overcomplete \nDCT dictionary for p-dimensional signals of size N1xN2x...xNp. The number \nof DCT atoms in the i-th dimension is Li, so the combined dictionary is of\nsize (N1*N2*...*Np) x (...
0
{'name': 'load_tf_weights_in_xlnet@source/pytorch_transformers/modeling_xlnet.py', 'description': 'Load tf checkpoints in a pytorch model\n ', 'signature': 'def load_tf_weights_in_xlnet(model, config, tf_path):'}</s>{'name': 'PretrainedConfig@source/pytorch_transformers/modeling_utils.py', 'description': "Base class...
0
{'name': 'MessageSetItemDecoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for a MessageSet item.\n\nThe parameter is the message Descriptor.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n ...
0
{'name': '_to_word@persiantools/digits.py', 'description': 'Convert a number to its Persian word representation.\n\nThis function takes an integer and converts it to its Persian word representation.\nIt handles numbers up to 1,000,000,000,000,000 (one quadrillion).\n\nParameters:\nnumber (int): The number to be convert...
0
{'name': '_AddMessageMethods@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': '_AddStrMethod@third_party/dawn/third_party/protobuf/p...
1
{'name': 'CheckREOS@scopy/ScoDruglikeness/rulesfilter.py', 'description': "Check molecular under REOS program\n\nReference:\n Walters, W. Patrick, and Mark Namchuk.\n Nat Rev Drug Discov, 2.4 (2003): 259.\n \nRule details:\n 200 <= MW <= 500\n -5 <= logP <= 5\n nHD <= 5\n nHA <= 10\n nRot <= 8\n...
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': 'Strings@src/api/python/z3/z3.py', 'description': 'Return a tuple of String constants. ', 'code': 'def Strings(names, ctx=None):\n """Return a tuple of Strin...
0
{'name': 'test_HindcastEnsemble_verify_lead0_lead1@src/climpred/tests/test_HindcastEnsemble_class.py', 'description': 'Checks that HindcastEnsemble.verify() returns the same results with a lead-0 and\nlead-1 framework.', 'signature': 'def test_HindcastEnsemble_verify_lead0_lead1('}</s>{'name': 'test_add_hist_da_uniniti...
0
{'name': 'Connection.cursor@trino/dbapi.py', 'description': 'Return a new :py:class:`Cursor` object using the connection.', 'signature': 'def cursor(self, cursor_style: str = "row", legacy_primitive_types: bool = None):'}</s>{'name': 'get_session_property_values@trino/client.py', 'description': 'DOCSTRING', 'code': 'de...
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': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>OP_6 = CScriptOp(0x56)
0
{'name': '_AppHandler.__init__@jupyterlab/commands.py', 'description': 'Create a new _AppHandler object', 'signature': 'def __init__(self, options):'}</s>__version__ = "{}.{}.{}{}".format( version_info.major, version_info.minor, version_info.micro, ( "" if version_info.releaselevel == "f...
0
{'name': 'gather_rosdeps@ros_cross_compile/dependencies.py', 'description': 'Run the rosdep Docker image, which outputs a script for dependency installation.\n\n:param docker_client: Will be used to run the container\n:param platform: The name of the image produced by `build_rosdep_image`\n:param workspace: Absolute pa...
0
{'name': 'BaseComponent.sparse_fit@torchnmf/nmf.py', 'description': 'Learn a NMF model for the data V by minimizing beta divergence with sparseness constraints proposed in\n`Non-negative Matrix Factorization with Sparseness Constraints`_.\n\nTo invoke this function, attributes :meth:`H <torchnmf.nmf.BaseComponent.H>` a...
1
{'name': 'get_cuda_arch@compilelib.py', 'description': 'Determine currently installed NVIDIA GPU cards by PCI device ID\nand match them with the predefined GPU model lists.\nIt tries to detect all GPUs and include cubins suitable for all GPU\narchitectures detected.\nIf your GPU is not detected correctly, update *_DEVI...
0
{'name': '__coord_n@librosa/display.py', 'description': 'Get bare positions', 'signature': 'def __coord_n(n: int, **_kwargs: Any) -> np.ndarray:'}</s>_lag_ax_types = ( "lag", "lag_h", "lag_m", "lag_s", "lag_ms", )
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': 'BitcoinTestFramework.main@test/functional/test_framework/test_framework.py', 'description': 'Main function. This should not be overridden by the subclass test scripts.', 'signature': 'def main(self):'}</s>MAX_NODES = 8
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>MQCMD_COPY_LISTENER = 94
0
{'name': 'parseOptionsAndInitTestdirs@llvm-12.0.0-project/lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}...
1
{'name': 'CheckStyle@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/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 leng...
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': 'PrintUsage@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Prints a brief usage string and exits, optionally with an error message.\n\nArgs:\n message: The optional error message.', 'signature': 'def PrintUsage(message):'}</s>{'name': 'IsOutOfLineMethodDefinition@ament_cpplint/ament_cpplint/cpplint....
0
{'name': 'train_model@cello/cello.py', 'description': 'Train a CellO model based on the genes of an \ninput dataset.\n\nParameters\n----------\n\nad : AnnData object\n Expression matrix of n cells by m genes\n\nalgo : String\n The name of the algorithm used to train the model. \'IR\' \n trains a model using is...
0
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PFR_DIR_MAX = 2
0
{'name': 'Beam.analyse@indeterminatebeam/indeterminatebeam.py', 'description': 'Solve the beam structure for reaction and internal forces', 'signature': 'def analyse(self):'}</s>{'name': 'UDLH@indeterminatebeam/loading.py', 'description': 'Horizontal Uniformly Distributed Load.\n\nParameters\n----------\nForce: float\n...
0
{'name': 'ISO3166Utils.short2full@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Convert an ISO 3166-2 country code to the corresponding full name', 'signature': 'def short2full(cls, code):'}</s>{'name': 'SameFileError@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Same File exce...
0
{'name': 'TestTornado.test_good_solution_to_set_parent@testbed/test_common_request_handler/test_tornado.py', 'description': 'Solution is good because, though the RequestHandler being shared,\nthe context will be properly detected.', 'signature': 'def test_good_solution_to_set_parent(self):'}</s>logger = get_logger(__na...
0
{'name': 'ParserElement.runTests@venv/Lib/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Execute the parse expression on a series of test strings, showing each\ntest, the parsed results or where the parse failed. Quick and easy way to\nrun a parse expression against a list of sample strings.\n \nP...
0
{'name': 'TarInfo.frombuf@venv/Lib/site-packages/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>PAX_FIELDS = ("path", "linkpath", "size", "mtime", "uid", "gid", "una...
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>MQDISCONNECT_NORMAL = 0
0
{'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': 'TestYaml.test_update_modulemd_runtime_dependencies@tests/test_modulemd_tools/test_yaml.py', 'description': 'Dropping dependencies can be tricky so should rather make sure that if\nwe want to update only runtime dependencies, the buildtime dependencies\nremain untouched.', 'signature': 'def test_update_modulem...
1
{'name': 'Client.do_peek@iredis/client.py', 'description': "PEEK command implementation.\n\nIt's a generator, will run different redis commands based on the key's\ntype, yields FormattedText once a command reached result.\n\nRedis current supported types:\n string, list, set, zset, hash and stream.", 'signature': 'd...
0
{'name': 'get_objects_for_user@guardian/shortcuts.py', 'description': "Get objects that a user has *all* the supplied permissions for.\n\nParameters:\n user (User | AnonymousUser): user to check for permissions.\n perms (str | list[str]): permission(s) to be checked.\n If `klass` parameter is not given, th...
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': 'qapp@src/pytestqt/plugin.py', 'description': "Fixture that instantiates the QApplication instance that will be used by\nthe tests.\n\nYou can use the ``qapp`` fixture in tests which require a ``QApplication``\nto run, but where you don't need full ``qtbot`` functionality.", 'signature': 'def qapp(qapp_args, q...
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': 'show_workflow@director/commands/workflows.py', 'description': 'Display details of a workflow', 'signature': 'def show_workflow(ctx, name):'}</s>{'name': 'workflow@director/commands/workflows.py', 'description': 'Manage the workflows', 'code': 'def workflow():\n """Manage the workflows"""'}
0
{'name': 'AGraph.layout@pygraphviz/agraph.py', 'description': 'Assign positions to nodes in graph.\n\n.. caution:: EXPERIMENTAL\n\nThis version of the layout command uses libgvc for layout instead\nof command line GraphViz tools like in versions <1.6 and the default.\n\nOptional prog=[\'neato\'|\'dot\'|\'twopi\'|\'circ...
0
{'name': 'ModelSerializer.build_primary_key_field@rest_witchcraft/serializers.py', 'description': 'Builds a field for the primary key of the model.', 'signature': 'def build_primary_key_field(self, field_name, column_info):'}</s>{'name': 'CompositeSerializer@rest_witchcraft/serializers.py', 'description': "This class i...
0
{'name': 'ann_dict_generator@src/test.py', 'description': 'split alpha into binary masks (one per class)\nthen for each mask get score and save dictionary according to the format: http://mscoco.org/dataset/#format\n\n[{\n "image_id" : int,\n "category_id" : int,\n "segmentation": RLE,\n "score" : f...
1
{'name': 'DescriptorPoolTestBase.testEnumDefaultValue@python/google/protobuf/internal/descriptor_pool_test.py', 'description': "Test the default value of enums which don't start at zero.", 'signature': 'def testEnumDefaultValue(self):'}</s>__author__ = "matthewtoia@google.com (Matt Toia)"
0
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'BitVecVal@src/api/python/z3/z3.py', 'description': 'Return a bit-vector value with the given number of bits. If `ctx=None`, the...
0
{'name': 'read_nortek@mhkit/dolfyn/io/nortek.py', 'description': "Read a classic Nortek (AWAC and Vector) datafile\n\nParameters\n----------\nfilename : string\n Filename of Nortek file to read.\nuserdata : bool, or string of userdata.json filename\n Whether to read the '<base-filename>.userdata.json' file.\n Defaul...
0
{'name': 'genesets@pipelines/pipeline_scxl.py', 'description': 'Intermediate target to run geneset tasks', 'signature': 'def genesets(infile, outfile):'}</s>{'name': 'plotUmapSingleR@pipelines/pipeline_scxl.py', 'description': 'Plot the SingleR primary identity assignments on a UMAP', 'code': 'def plotUmapSingleR(infil...
0
{'name': '_https_resolve@local/common/dns.py', 'description': '此函数功能实现仅限于解析为 A、AAAA 记录', 'signature': 'def _https_resolve(server, qname, qtype, query_data):'}</s>{'name': 'mark_bad_doh@local/common/dns.py', 'description': 'DOCSTRING', 'code': 'def mark_bad_doh(server):\n doh_servers.discard(server)\n doh_servers_...
0
{'name': '_iterate_object@voluptuous/schema_builder.py', 'description': 'Return iterator over object attributes. Respect objects with\ndefined __slots__.', 'signature': 'def _iterate_object(obj):'}</s>{'name': 'Self@voluptuous/schema_builder.py', 'description': 'DOCSTRING', 'code': 'def Self() -> None:\n raise er.Sc...
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': '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': 'get_init_anonymous_user@guardian/management/__init__.py', 'description': "Returns User model instance that would be referenced by guardian when\npermissions are checked against users that haven't signed into the system.\n\n:param User: User model - result of ``django.contrib.auth.get_user_model``.", 'signatur...
0
{'name': 'Data._apply_axis@verif/data.py', 'description': 'Slice an array along a certain axis and return an extract array\n\nArguments:\narray 3D numpy array\naxis Of type verif.axis.Axis\naxis_index Index along the axis to slice', 'signature': 'def _apply_axis(self, array, axis, axis_index):'}</s>{'name...
0
{'name': 'Metrics.eval@musegan/utils/metrics.py', 'description': 'Evaluate the input bars with the metrics', 'signature': 'def eval(self, bars, verbose=False, mat_path=None, fig_dir=None):'}</s>{'name': 'get_qualified_note_rate@musegan/utils/metrics.py', 'description': 'Return the ratio of the number of the qualified n...
1
{'name': 'third_octave_sound_pressure_level@mhkit/acoustics/analysis.py', 'description': 'Calculates the sound pressure level in third octave bands directly\nfrom the mean square sound pressure spectral density.\n\nParameters\n----------\nspsd: xarray.DataArray (time, freq)\n Mean square sound pressure spectral dens...
0
{'name': 'tabulate@misc/tabulate.py', 'description': 'Format a fixed width table for pretty printing.\n\n>>> print(tabulate([[1, 2.34], [-56, "8.999"], ["2", "10001"]]))\n--- ---------\n 1 2.34\n-56 8.999\n 2 10001\n--- ---------\n\nThe first required argument (`tabular_data`) can be a\nlist-of-lists (or...
0
{'name': 'TLP.set_completion@fpga/lib/pcie/tb/pcie.py', 'description': 'Prepare completion for TLP', 'signature': 'def set_completion(self, tlp, completer_id, has_data=False, status=CPL_STATUS_SC):'}</s>TLP_MEM_WRITE = (FMT_3DW_DATA, 0x00)
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': 'Record.remove@shingetsu/cache.py', 'description': 'Remove record.\n\nThe record is removed from cache,\nbut do not removed from file-system.', 'signature': 'def remove(self):'}</s>initnode_list = _get_value(_extconf, 'Path', 'initnode_list', '../file/initnode.txt', 'path')
0
{'name': 'PosixSerial.read@stino/pyarduino/base/pyserial/serialposix.py', 'description': 'Read size bytes from the serial port. If a timeout is set it may\nreturn less characters as requested. With no timeout it will block\nuntil the requested number of bytes is read.', 'signature': 'def read(self, size=1):'}</s>plat =...
0
{'name': 'get_dag_bag@tests/test_example_dags.py', 'description': 'Create a DagBag by adding the files that are not supported to .airflowignore', 'signature': 'def get_dag_bag() -> DagBag:'}</s>{'name': '_run_task@tests/utils.py', 'description': 'Run a single task instance, and push result to Xcom for downstream tasks....
0
{'name': 'Cursor.set_range_dup@lmdb/cffi.py', 'description': 'Seek to the first key/value pair greater than or equal to `key`,\nreturning ``True`` on success, or ``False`` to indicate that `value` was past the\nlast value of `key` or that `(key, value)` was past the end end of database.\n\nOnly meaningful for databases...
0
{'name': 'BluetoothServer.start@bluedot/btcomm.py', 'description': 'Starts the Bluetooth server if its not already running. The server needs to be started before\nconnections can be made.', 'signature': 'def start(self):'}</s>{'name': 'get_adapter_discoverable_status@bluedot/utils.py', 'description': 'DOCSTRING', 'code...
0
{'name': 'JupyterConsoleApp.init_ssh@jupyter_client/consoleapp.py', 'description': 'set up ssh tunnels, if needed.', 'signature': 'def init_ssh(self) -> None:'}</s>{'name': 'tunnel_to_kernel@jupyter_client/connect.py', 'description': 'tunnel connections to a kernel via ssh\n\nThis will open five SSH tunnels from localh...
1
{'name': 'IO.open@python/Py106/packet.py', 'description': 'Open an IRIG file for reading or writing', 'signature': 'def open(self, filename, file_mode):'}</s>{'name': 'I106_Ch10SetPos@python/Py106/packet.py', 'description': 'DOCSTRING', 'code': 'def I106_Ch10SetPos(handle, offset):\n # handle - IRIG file handle\n ...
0
{'name': 'bring_to_current_schema@fink_broker/ztf/hbase_utils.py', 'description': 'Check all columns exist, fill if necessary, and cast data\n\nParameters\n----------\ndf: DataFrame\n Spark DataFrame with raw alert data\n\nReturns\n-------\nout: DataFrame\n Spark DataFrame with HBase data structure', 'signature':...
0
{'name': 'JavaDataStream.sink@streaming/python/raystreaming/datastream.py', 'description': 'See io.raystreaming.api.stream.DataStream.sink', 'signature': 'def sink(self, java_func_class):'}</s>{'name': 'load_function@streaming/python/raystreaming/function.py', 'description': 'Deserialize `descriptor_func_bytes` to get ...
0
{'name': 'ProcessFileData@tools/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 of strings, each representing a li...
0
{'name': 'taproot_construct@test/functional/test_framework/script.py', 'description': 'Construct a tree of Taproot spending conditions\n\npubkey: a 32-byte xonly pubkey for the internal pubkey (bytes)\nscripts: a list of items; each item is either:\n - a (name, CScript or bytes, leaf version) tuple\n - ...
0
{'name': '_CivisBackendResult._make_fetch_callback@src/civis/parallel.py', 'description': 'Create a closure for use as a callback on the ContainerFuture', 'signature': 'def _make_fetch_callback(joblib_callback, client):'}</s>_THIS_DIR = os.path.dirname(os.path.realpath(__file__))
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': 'prune_linear_layer@ZEN/modeling.py', 'description': 'Prune a linear layer (a model parameters) to keep only entries in index.\nReturn the pruned layer as a new layer with requires_grad=True.\nUsed to remove heads.', 'signature': 'def prune_linear_layer(layer, index, dim=0):'}</s>{'name': 'BertEmbeddings@ZEN/m...
0
{'name': 'load_libdmtx@pylibdmtx/wrapper.py', 'description': 'Loads the libdmtx shared library.\n\nPopulates the globals LIBDMTX and EXTERNAL_DEPENDENCIES.', 'signature': 'def load_libdmtx():'}</s>{'name': 'DmtxImage@pylibdmtx/wrapper.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'add_rpm_urls@modulemd_tools/bld2repo/__init__.py', 'description': 'For each rpm from a package creates an download url and adds it to the package.\n\n:param list pkgs: list of packages\n:return pkgs: list of packages and their rpms\n:rtype: list\n:return rpm_num: number of rpms\n:rtype: int', 'signature': 'de...
0
{'name': '_lookup_module@dill/session.py', 'description': 'lookup name or id of obj if module is imported', 'signature': 'def _lookup_module(modmap, name, obj, main_module):'}</s>{'name': 'Pickler@dill/_dill.py', 'description': "python's Pickler extended to interpreter sessions", 'base_classes': ['StockPickler'], 'meth...
0
{'name': 'monkeypatch_for_cert@kam1n0-builds/windows/installer-src-32-64/libs-client/get-pip.py', 'description': "Patches `pip install` to provide default certificate with the lowest priority.\n\nThis ensures that the bundled certificates are used unless the user specifies a\ncustom cert via any of pip's option passing...
0
{'name': 'map_zones@pymultimatic/model/mapper.py', 'description': 'Map *zones*.', 'signature': 'def map_zones(json) -> List[Zone]:'}</s>{'name': 'Ventilation@pymultimatic/model/ventilation.py', 'description': 'Represent the ventilation.', 'base_classes': ['Function', 'Component'], 'methods': [{'name': 'Ventilation._act...
0
{'name': 'prepare_backend@scratch/converters/modules/model_zoo/getter.py', 'description': "Check if ONNX, MXNet and TensorRT models exist and download/create them otherwise.\n\n:param model_name: Name of required model. Must be one of keys in `models` dict.\n:param backend_name: Name of inference backend. (onnx, trt)\n...
1
{'name': 'quarter_and_year@gnocchi/calendar.py', 'description': 'Return the quarter per year of given dates.', 'signature': 'def quarter_and_year(datetimes):'}</s>{'name': 'day_of_week@gnocchi/calendar.py', 'description': 'Return the day of the week of given dates. Sunday(0) to Saturday(6).', 'code': 'def day_of_week(d...
0
{'name': 'connect@trino/dbapi.py', 'description': 'Constructor for creating a connection to the database.\n\nSee class :py:class:`Connection` for arguments.\n\n:returns: a :py:class:`Connection` object.', 'signature': 'def connect(*args, **kwargs):'}</s>logger = trino.logging.get_logger(__name__)
0
{'name': 'load_model@filters/Lang_Identifier/langid.py', 'description': 'Convenience method to set the global identifier using a model at a\nspecified path.\n\n@param path to model', 'signature': 'def load_model(path = None):'}</s>{'name': 'application@filters/Lang_Identifier/langid.py', 'description': 'WSGI-compatible...
0
{'name': 'BlockParser.getBlocks@libc/kernel/tools/cpp.py', 'description': 'Return all the blocks parsed.', 'signature': 'def getBlocks(self, tokzer=None):'}</s>{'name': 'OptimizerTests@libc/kernel/tools/cpp.py', 'description': 'DOCSTRING', 'base_classes': ['unittest.TestCase'], 'methods': [{'name': 'OptimizerTests.pars...
0
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'FullSet@src/api/python/z3/z3.py', 'description': 'Create the full set\n>>> FullSet(IntSort())\nK(Int, True)', 'c...
0
{'name': 'BreakpointAfterJoinTestCase.test@llvm-project/lldb/test/API/functionalities/thread/break_after_join/TestBreakAfterJoin.py', 'description': 'Test breakpoint handling after a thread join.', 'signature': 'def test(self):'}</s>{'name': '_BaseProcess@llvm-project/lldb/packages/Python/lldbsuite/test/lldbtest.py', '...
0
{'name': 'CheckHeaderFileIncluded@tools/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>_root = None
0
{'name': '_SimpleDecoder@python/google/protobuf/internal/decoder.py', 'description': "Return a constructor for a decoder for fields of a particular type.\n\nArgs:\n wire_type: The field's wire type.\n decode_value: A function which decodes an individual value, e.g.\n _DecodeVarint()", 'signature': 'def _Si...
0
{'name': 'main@main.py', 'description': 'Main function.', 'signature': 'def main(args):'}</s>{'name': 'dataset_info@datasets.py', 'description': 'DOCSTRING', 'code': "def dataset_info(dataset_name, is_linux=True):\n if is_linux:\n\n config = {\n 'BSDS': {\n 'img_height': 512, #321\n ...
0
{'name': 'Lexer.tokeniter@third_party/dawn/third_party/jinja2/lexer.py', 'description': 'This method tokenizes the text and returns the tokens in a\ngenerator. Use this method if you just want to tokenize a template.\n\n.. versionchanged:: 3.0\n Only ``\\n``, ``\\r\\n`` and ``\\r`` are treated as line\n breaks.',...
1
{'name': 'test_tracking@PyGitUp/tests/test_tracking.py', 'description': "Run 'git up' with a local tracking branch ", 'signature': 'def test_tracking():'}</s>test_name = "tracking"
0
{'name': 'to_excess_returns@ffn/core.py', 'description': 'Given a series of returns, it will return the excess returns over rf.\n\nArgs:\n * returns (Series, DataFrame): Returns\n * rf (float, Series): `Risk-Free rate(s) <https://www.investopedia.com/terms/r/risk-freerate.asp>`_ expressed in annualized term or re...
0
{'name': '_estimate_noise_variance@FDApy/misc/utils.py', 'description': 'Estimate the variance of the noise.\n\nThis function estimates the variance of the noise non-parametrically using\nthe methodology developed in [1]_. The estimator is based on the difference\nof observed values.\n\nParameters\n----------\nx\n V...
0
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'on_clause_eh@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def on_clause_eh(ctx, p, n, dep, cla...
0
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>PFRULE_SRCTRACK = 32
0
{'name': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'invert_dict@src/python_scripts/afnipy/afni_util.py', 'description': 'Take a dictionary D of key-value pairs an...
0
{'name': 'IterateProtocol.__call__@quapy/protocol.py', 'description': 'Yields one sample from the initial list at a time\n\n:return: yields a tuple `(sample, prev) at a time, where `sample` is a set of instances\n and in which `prev` is an `nd.array` with the class prevalence values', 'signature': 'def __call__(self...
0