text
string
label
int64
{'name': 'test_https_h2_tls_context_configuration_rsa@test/integration/test_integration_basics.py', 'description': 'Test that specifying RSA compatible tls cipher suites works with the h2 pool.', 'signature': 'def test_https_h2_tls_context_configuration_rsa(https_test_server_fixture):'}</s>{'name': 'substitute_yaml_val...
0
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>SCNT_MAX = 3
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': 'deserialize@streaming/python/raystreaming/function.py', 'description': 'Deserialize a binary function serialized by `...
0
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>icmp_codes = { (ICMP_UNREACH, ICMP_UNREACH_NET): "net-unr", (ICMP_UNREACH, ICMP_UNREACH_HOST): "host-unr", (ICMP_U...
0
{'name': 'test_topoplotFast@mne_icalabel/iclabel/tests/test_features.py', 'description': 'Test topoplotFast on a single component.', 'signature': 'def test_topoplotFast(file, eeglab_result_file):'}</s>autocorr_very_short_raw_path = dataset_path / "autocorr/autocorr-very-short-raw.mat"
0
{'name': 'SpoolmanagerPlugin.checkRemainingFilament@octoprint_SpoolManager/__init__.py', 'description': 'Checks if all spools or single spool includes enough filament\n\n:param forToolIndex check only for the provided toolIndex\n:return: see', 'signature': 'def checkRemainingFilament(self, forToolIndex=None):'}</s>{'na...
0
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>LOG_INFO = 6
0
{'name': 'circulation_configuration@pymultimatic/api/urls.py', 'description': 'Url to handle :class:`~pymultimatic.model.component.Circulation`\nconfiguration.', 'signature': 'def circulation_configuration(**kwargs: Any) -> str:'}</s>{'name': 'emf_devices@pymultimatic/api/urls.py', 'description': 'Url to get emf (Embed...
0
{'name': 'Client.get_partitions_ps_with_auth@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/hive_metastore/ThriftHiveMetastore.py', 'description': 'Parameters:\n - db_name\n - tbl_name\n - part_vals\n - max_parts\n - user_name\n - group_names', 'signature': 'def get_partitions_ps_with_auth(self, db_name, tbl_name,...
0
{'name': 'fixUserSettingsDuplicateBrackets@src/util/util.py', 'description': 'Fix invalid section names in user.settings', 'signature': 'def fixUserSettingsDuplicateBrackets():'}</s>{'name': 'removeDirectory@src/util/util.py', 'description': 'DOCSTRING', 'code': 'def removeDirectory(directory: str) -> None:\n def ge...
0
{'name': 'ConfigFixture.start_fixture@gnocchi/tests/functional/fixtures.py', 'description': 'Create necessary temp files and do the config dance.', 'signature': 'def start_fixture(self):'}</s>{'name': 'ResourceTypeAlreadyExists@gnocchi/indexer/__init__.py', 'description': 'Error raised when a resource type already exis...
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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_CHANNEL_ALREADY_EXISTS = 4042
0
{'name': 'Serial._reconfigure_port@serial/rfc2217.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigure_port(self):'}</s>FLOWCONTROL_RESUME = b'\t'
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': 'sign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'varname,ctype,atype\ninit,init.r,init.i,pytype\nvardebuginfo,vardebugshowvalue,varshowvalue\nvarrfromat\nintent', 'signature': 'def sign2map(a, var):'}</s>{'name': 'isunsigned@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description...
0
{'name': 'SysTrayIcon.update@python/site-packages/winsystray/traybar.py', 'description': 'update icon image and/or hover text ', 'signature': 'def update(self, icon=None, hover_text=None, menu=None):'}</s>{'name': 'non_string_iterable@python/site-packages/winsystray/traybar.py', 'description': 'DOCSTRING', 'code': 'def...
0
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme...
0
{'name': 'InitiatorConnector.factory@os_brick/initiator/connector.py', 'description': 'Build a Connector object based upon protocol and architecture.', 'signature': 'def factory(protocol, root_helper, driver=None,'}</s>windows_connector_list = [ 'os_brick.initiator.windows.base.BaseWindowsConnector', 'os_brick....
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>MQFB_MAX_ACTIVITIES = 282
0
{'name': 'scatter@torch_scatter/scatter.py', 'description': '|\n\n.. image:: https://raw.githubusercontent.com/rusty1s/pytorch_scatter/\n master/docs/source/_figures/add.svg?sanitize=true\n :align: center\n :width: 400px\n\n|\n\nReduces all values from the :attr:`src` tensor into :attr:`out` at the\nindice...
1
{'name': 'Circuit.id@discopy/quantum/circuit.py', 'description': 'The identity circuit on a given domain.\n\nParameters:\n dom : The domain (and codomain) of the identity,\n or ``qubit ** dom`` if ``dom`` is an ``int``.', 'signature': 'def id(cls, dom: int | Ty = None):'}</s>NOT_ATOMIC = "Expected {} of len...
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': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p...
0
{'name': 'get_invoice_controller@BambiCTF_2021/ringring/InvoiceApp/app.py', 'description': 'Helper function to return the correct logger.\n:param payment_type:\n:param log_level:\n:return:', 'signature': "def get_invoice_controller(payment_type=PAYMENT_ON_ACCOUNT, log_level='ACCOUNT'):"}</s>PAYMENT_SETTLED = "cash"
0
{'name': 'make_SEP_catalog@grizli/prep.py', 'description': "Make a catalog from drizzle products using the SEP implementation of SourceExtractor\n\nParameters\n----------\nroot : str\n Rootname of the FITS images to use for source extraction. This\n function is designed to work with the single-image products fro...
0
{'name': 'assertrepr_compare@blockchain-env/lib/python3.7/site-packages/_pytest/assertion/util.py', 'description': 'Return specialised explanations for some operators/operands', 'signature': 'def assertrepr_compare(config, op, left, right):'}</s>{'name': '_split_explanation@blockchain-env/lib/python3.7/site-packages/_p...
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': 'GenerateOutput@gyp/pylib/gyp/generator/msvs.py', 'description': "Generate .sln and .vcproj files.\n\nThis is the entry point for this generator.\nArguments:\n target_list: List of target pairs: 'base/base.gyp:base'.\n target_dicts: Dict of target properties keyed on target pair.\n data: Dictionary containi...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCHT_ALL = 5
0
{'name': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>{'name': 'get_bpno_from_match@llvm-project...
0
{'name': 'dictOf@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper to easily and clearly define a dictionary by specifying the respective patterns\nfor the key and value. Takes care of defining the C{L{Dict}}, C{L{ZeroOrMore}}, and C{L{Group}} tokens\nin the proper order. The key pattern ...
0
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>_ellipses = "..."
0
{'name': 'NetworkAPI.get_balance@bit/network/services.py', 'description': 'Gets the balance of an address in satoshi.\n\n:param address: The address in question.\n:type address: ``str``\n:raises ConnectionError: If all API services fail.\n:rtype: ``int``', 'signature': 'def get_balance(cls, address):'}</s>{'name': 'Sma...
0
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ...
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': 'superimposition_matrix@imgviz/external/transformations.py', 'description': 'Return matrix to transform given 3D point set into second point set.\n\nv0 and v1 are shape (3, *) or (4, *) arrays of at least 3 points.\n\nThe parameters scale and usesvd are explained in the more general\naffine_matrix_from_points ...
0
{'name': 'identify_token@sqf/parser.py', 'description': 'The function that converts a token from tokenize to a BaseType.', 'signature': 'def identify_token(token):'}</s>{'name': 'Statement@sqf/types.py', 'description': 'The main class for holding statements. It is a BaseType because it can be nested, and\nit is a _Stat...
0
{'name': 'writeFileTree@fwtool.py', 'description': 'Writes a list of UnixFiles to the disk, unpacking known archive files', 'signature': 'def writeFileTree(files, path):'}</s>{'name': '_parseContents@fwtool/sony/msfirm.py', 'description': 'DOCSTRING', 'code': "def _parseContents(data):\n sections = []\n section = None\...
0
{'name': 'Window.initUI@picasso/gui/render.py', 'description': 'Initializes the main window. Builds dialogs and menu bar.\n\nParameters\n----------\nplugins_loaded : boolean\n If True, plugins have been loaded before.', 'signature': 'def initUI(self, plugins_loaded):'}</s>{'name': '_n_block_locs_at@picasso/postproce...
0
{'name': 'List.extend@nbtlib/tag.py', 'description': 'Override ``list.extend`` to include ``isinstance`` check and auto conversion.', 'signature': 'def extend(self, iterable):'}</s>{'name': 'LongArray@nbtlib/tag.py', 'description': 'Nbt tag representing an array of signed 64 bit integers.', 'base_classes': ['Array'], '...
0
{'name': 'P2PConnection.disconnect_node@test/functional/test_framework/mininode.py', 'description': 'Disconnect the p2p connection.\n\nCalled by the test logic thread. Causes the p2p connection\nto be disconnected on the next iteration of the asyncore loop.', 'signature': 'def disconnect_node(self):'}</s>{'name': 'ser_...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQZSE_START = 1
0
{'name': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>{'name': 'skipIfFreeBSD@llvm-project/lldb/...
0
{'name': 'nb_npnansum@grizli/nbutils.py', 'description': 'numpy.nansum', 'signature': 'def nb_npnansum(values_ptr, len_values, result, data):'}</s>nbnanmin = LowLevelCallable(nb_npnanmin.ctypes)
0
{'name': 'mainfunction@util/demo_to_notebook.py', 'description': 'Main function. Calls all other functions. Also, it adds a cell that draws the result. The working text is\nthen converted to a version 3 jupyter notebook, subsequently updated to a version 4. Then, metadata\nassociated with the language the macro is writ...
1
{'name': 'overwrite_config@habitat/sims/habitat_simulator/habitat_simulator.py', 'description': 'Takes Habitat Lab config and Habitat-Sim config structures. Overwrites\nHabitat-Sim config with Habitat Lab values, where a field name is present\nin lowercase. Mostly used to avoid :ref:`sim_cfg.field = hapi_cfg.FIELD`\nco...
0
{'name': 'configure_via_file@isi_data_insights_config.py', 'description': "Configure the daemon's stat groups and the stats processor via command line\narguments and configuration file. The command line args override settings\nprovided in the config file.", 'signature': 'def configure_via_file(daemon, args, config_file...
1
{'name': 'Retryer.call@garminexport/retryer.py', 'description': 'Calls the given `function`, with the given arguments, repeatedly\nuntil either (1) a satisfactory result is obtained (as indicated by\nthe `returnval_predicate`), or (2) until the `stop_strategy`\ndetermines that no more attempts are to be made (results i...
0
{'name': 'residual@cmd/mcorr-fit/mcorr/lmfitFunctions.py', 'description': 'defines the function to be minimized -- the residuals of equation 18 for P2', 'signature': 'def residual(pars, x, data=None):'}</s>{'name': 'd_i@cmd/mcorr-fit/mcorr/lmfitFunctions.py', 'description': 'eq 6', 'code': 'def d_i(a, theta_i):\n "e...
1
{'name': 'load_image_gt@Mask_RCNN/mrcnn/model.py', 'description': 'Load and return ground truth data for an image (image, mask, bounding boxes).\n\naugment: (deprecated. Use augmentation instead). If true, apply random\n image augmentation. Currently, only horizontal flipping is offered.\naugmentation: Optional. An ...
0
{'name': 'VxmDense.apply_transform@voxelmorph/tf/networks.py', 'description': 'Predicts the transform from src to trg and applies it to the img tensor.', 'signature': "def apply_transform(self, src, trg, img, interp_method='linear'):"}</s>{'name': 'AffineToDenseShift@voxelmorph/tf/layers.py', 'description': 'Converts a...
0
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_put_get_delete_website@ut/test.py', 'description': '设置、获取、删除静态网站配置', 'code': 'def test_put_get_delete_website():\n """设置、获取、删除静态网站配置"""\n website_config...
0
{'name': 'kill@pyngrok/ngrok.py', 'description': "Terminate the ``ngrok`` processes, if running, for the given config's ``ngrok_path``. This method will not\nblock, it will just issue a kill request.\n\n:param pyngrok_config: A ``pyngrok`` configuration to use when interacting with the ``ngrok`` binary,\n overriding...
0
{'name': 'AbstractCodeEditorView._format@airflow_code_editor/code_editor_view.py', 'description': 'Sort imports and format code', 'signature': 'def _format(cls):'}</s>{'name': 'get_plugin_int_config@airflow_code_editor/utils.py', 'description': 'Get a plugin int configuration/default for a given key', 'code': 'def get_...
1
{'name': 'TrimmedMatchDesignTest.testTooFewGeos@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks no design is returned if we have less than 10 pairs.', 'signature': 'def testTooFewGeos(self):'}</s>_DEFAULT_CONFIDENCE_LEVEL = 0.8
0
{'name': 'p_identifier_list@ctypesgen/parser/cgrammar.py', 'description': 'identifier_list : IDENTIFIER\n| identifier_list COMMA IDENTIFIER', 'signature': 'def p_identifier_list(p):'}</s>{'name': 'p_gcc_attributes@ctypesgen/parser/cgrammar.py', 'description': 'gcc_attributes :\n| gcc_attributes gcc_attribute', 'code': ...
0
{'name': 'Application._perform_deferred_reload@robopianist/viewer/application.py', 'description': 'Performs the deferred part of initialization related to Physics reload.\n\nArgs:\n params: Deferred reload parameters, an instance of ReloadParams.', 'signature': 'def _perform_deferred_reload(self, params):'}</s>_CTRLS_...
0
{'name': 'project@source/tomopy/sim/project.py', 'description': 'Project x-rays through a given 3D object.\n\nParameters\n----------\nobj : ndarray\n Voxelized 3D object.\ntheta : array\n Projection angles in radian.\ncenter: array, optional\n Location of rotation axis.\nemission : bool, optional\n Determin...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIAMO64_TOPIC_PUT_BYTES = 783
0
{'name': 'ServiceMethodCompiler.py_output_message_type@src/betterproto/plugin/models.py', 'description': 'String representation of the Python type corresponding to the\noutput message.\n\nReturns\n-------\nstr\n String representation of the Python type corresponding to the output message.', 'signature': 'def py_outp...
0
{'name': '_FixPath@gyp/pylib/gyp/generator/msvs.py', 'description': 'Convert paths to a form that will make sense in a vcproj file.\n\nArguments:\n path: The path to convert, may contain / etc.\nReturns:\n The path with all slashes made into backslashes.', 'signature': 'def _FixPath(path, separator="\\\\"):'}</s>{'na...
0
{'name': 'basic_stats@osmnx/stats.py', 'description': "Calculate basic descriptive geometric and topological measures of a graph.\n\nDensity measures are only calculated if `area` is provided and clean\nintersection measures are only calculated if `clean_int_tol` is provided.\n\nParameters\n----------\nG\n Input gra...
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': 'CycleGANModel.__init__@models/cycle_gan_model.py', 'description': 'Initialize the CycleGAN class.\n\nParameters:\n opt (Option class)-- stores all the experiment flags; needs to be a subclass of BaseOptions', 'signature': 'def __init__(self, opt):'}</s>{'name': 'get_scheduler@models/networks.py', 'descript...
0
{'name': 'bisect_good@nix_bisect/bisect_runner.py', 'description': 'Mark a commit as good.\n\nThe same disclaimer as for `bisect_bad` applies.', 'signature': 'def bisect_good(commit):'}</s>{'name': 'get_skip_range_commits@nix_bisect/bisect_runner.py', 'description': 'Returns all refs that are marked with some skip rang...
0
{'name': 'Monitor.decode_json@wideq/client.py', 'description': 'Decode a bytestring that encodes JSON status data.', 'signature': 'def decode_json(data: bytes) -> Dict[str, Any]:'}</s>RETRY_COUNT = 5
0
{'name': 'ls@heudiconv/heuristics/reproin.py', 'description': 'Additional ls output for a seqinfo', 'signature': 'def ls(_study_session: StudySessionInfo, seqinfo: list[SeqInfo]) -> str:'}</s>{'name': 'infotoids@heudiconv/heuristics/reproin.py', 'description': 'DOCSTRING', 'code': 'def infotoids(seqinfos: Iterable[SeqI...
0
{'name': 'test_skip_decorators@tests/test_coverage.py', 'description': 'Tests ignoring of property decorators', 'signature': 'def test_skip_decorators(ignore_setter, ignore_deleter, ignore_property, coverage):'}</s>SOME_CODE_NO_DOCS_FILE_PATH = os.path.join(SAMPLES_DIRECTORY, "some_code_no_docs.py")
0
{'name': 'PFGid._str_to_num@pf/rule.py', 'description': 'Convert a string to a numeric group ID.', 'signature': 'def _str_to_num(self, s):'}</s>{'name': 'hfsc_pktcntr@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
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': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'to_symbol@src/api/python/z3/z3.py', ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACH_BATCHES = 1537
0
{'name': 'fn@src/services/mpiwrap/wrap.py', 'description': 'Iterate over listed functions and generate skeleton too.', 'signature': 'def fn(out, scope, args, children):'}</s>{'name': 'print_warning@src/services/mpiwrap/wrap.py', 'description': 'DOCSTRING', 'code': 'def print_warning(msg):\n sys.stderr.write("%s:%d: ...
1
{'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>{'name': '_retry_with@trino/client.py', 'description': 'DOCSTRING'...
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': 'SetCriterion.loss_masks@models/detr.py', 'description': 'Compute the losses related to the masks: the focal loss and the dice loss.\ntargets dicts must contain the key "masks" containing a tensor of dim [nb_target_boxes, h, w]', 'signature': 'def loss_masks(self, outputs, targets, indices, num_boxes):'}</s>{'...
0
{'name': 'Bottle.route@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': "A decorator to bind a function to a request URL. Example::\n\n @app.route('/hello/:name')\n def hello(name):\n return 'Hello %s' % name\n\nThe ``:name`` part is a wildcard. See :class:`Router` for syntax\ndetails.\n\n:p...
0
{'name': 'ParserElement.setDebug@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.\nSet ``flag`` to True to enable, False to disable.\n\nExample::\n\n wd = Word(alphas).setName("alphaword")\n integer = Word(num...
0
{'name': 'parse_args@src/python_scripts/afnipy/lib_cdiflist.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args(full_argv):'}</s>{'name': 'get_3dinfo_nt@src/python_scripts/afnipy/afni_util.py', 'description': 'run...
0
{'name': '_validate_units_consistency_v2@unyt/_array_functions.py', 'description': 'raise UnitInconsistencyError if units are mixed\nif all args are pure numbers, they are treated as having ref_units,\notherwise they are treated as dimensionless', 'signature': 'def _validate_units_consistency_v2(ref_units, *args) -> No...
0
{'name': 'NormalizeOutput@googletest/test/googletest-output-test.py', 'description': 'Normalizes output (the output of googletest-output-test_.exe).', 'signature': 'def NormalizeOutput(output):'}</s>_temp_dir = None
0
{'name': 'leap@src/convertdate/persian.py', 'description': 'Is a given year a leap year in the Persian calendar ?', 'signature': 'def leap(year):'}</s>{'name': 'to_jd@src/convertdate/persian.py', 'description': 'Determine Julian day from Persian date', 'code': "def to_jd(year, month, day):\n '''Determine Julian day ...
1
{'name': 'analyze_enemy_ub@analyze.py', 'description': 'analyze enemy ub\n\n\nArgs\n time_count (int): count up after ub\n work_frame (ndarray): expand frame\n find_time (string): m:ss\n ub_data_enemy (list): found ub data with enemy ub\n\n\nReturns', 'signature': 'def analyze_enemy_ub(time_count, work_fram...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQZAO_INQUIRE = 16
0
{'name': 'test_transaction_summary@capone/tests/test_transaction_model.py', 'description': 'Test that Transaction.summary returns correct information.', 'signature': 'def test_transaction_summary():'}</s>{'name': 'test_editing_transactions@capone/tests/test_transaction_model.py', 'description': 'Test that validation is...
0
{'name': 'takePantiltSequence@source/pi-timolo.py', 'description': 'Take a sequence of images based on a list of pantilt positions and save with\na sequence number appended to the filename', 'signature': 'def takePantiltSequence(filename, daymode, pix_ave, num_count, num_path):'}</s>{'name': 'trackMotionDistance@source...
0
{'name': 'graph@python/DisplayTests.py', 'description': 'Send the given graph file (a .gif) back to the user.', 'signature': 'def graph(req, type, revision, machine, buildType, graphName, timestamp=None):'}</s>{'name': '_machine_name_aliases@python/DisplayTests.py', 'description': 'Handle the .comlab -> .cs DNS change,...
0
{'name': 'height_width@object_detection/core/box_list_ops.py', 'description': 'Computes height and width of boxes in boxlist.\n\nArgs:\n boxlist: BoxList holding N boxes\n scope: name scope.\n\nReturns:\n Height: A tensor with shape [N] representing box heights.\n Width: A tensor with shape [N] representing box wid...
0
{'name': 'factorize@src/runners/fhvae_runner.py', 'description': 'visualize latent variable factorization', 'signature': 'def factorize(exp_dir, model, dataset, write_fn=DEFAULT_WRITE_FN, opts=DEFAULT_VIS_FAC_OPT):'}</s>{'name': 'set_debug_flag@src/utils/logger.py', 'description': 'DOCSTRING', 'code': 'def set_debug_fl...
0
{'name': 'ProcessLine@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of th...
0
{'name': 'wait_on_last_job@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'wait on a bigquery job or raise informative exception.\n\nArgs:\n gcs_client: storage.Client\n bq_client: bigquery.Client\n lock_blob: storage.Blob _bqlock blob\n backfill_blob: sto...
0
{'name': 'FletcherBaseArray._reduce@fletcher/base.py', 'description': 'Return a scalar result of performing the reduction operation.\n\nParameters\n----------\nname : str\n Name of the function, supported values are:\n { any, all, min, max, sum, mean, median, prod,\n std, var, sem, kurt, skew }.\nskipna : bool...
1
{'name': 'generate@code/html/generate_static_website.py', 'description': 'Regenerates the whole static website given an already imported set of entries, inspirations and developers.\nThese datasets must be valid for each other, i.e. each inspiration listed in entries must also have an\nentry in inspirations and the sam...
0
{'name': 'NestingState.CheckCompletedBlocks@scripts/cpplint.py', 'description': 'Checks that all classes and namespaces have been completely parsed.\n\nCall this when all lines in a file have been processed.\nArgs:\n filename: The name of the current file.\n error: The function to call with any errors found.', 'signa...
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': 'EmpiricalRandomVari...
0
{'name': '_SetFilters@llvm-4.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Sets the module\'s error-message filters.\n\nThese filters are applied when deciding whether to emit a given\nerror message.\n\nArgs:\n filters: A string of comma-separated filters (eg "whitespace/indent").\n...
0
{'name': 'AzureRMTrafficManager.ceate_update_traffic_manager_profile@library/azure_rm_trafficmanager.py', 'description': 'Creates or updates a Traffic Manager profile.\n\n:return: deserialized Traffic Manager profile state dictionary', 'signature': 'def ceate_update_traffic_manager_profile(self):'}</s>endpoint_spec = d...
0
{'name': 'MatchListener.exitPropTestEqual@stix2matcher/matcher.py', 'description': "Consumes an observation data map, {obs_id: {...}, ...}, representing\n selected values from Cyber Observable objects in each observation\n (grouped by observation index and root Cyber Observable object ID).\n See exitObjectPath().\nP...
0
{'name': 'Shortcut._set_menu_items@shortcuts/shortcut.py', 'description': 'Menu consists of many items:\n start menu\n menu item 1\n menu item2\n end menu\nAnd start menu must know all items (titles).\nSo this function iterates over all actions, finds menu items and saves information\nabout them to a corres...
0