text
string
label
int64
{'name': 'add_handlers@jupyterlab_server/handlers.py', 'description': 'Add the appropriate handlers to the web app.', 'signature': 'def add_handlers(handlers: list[Any], extension_app: LabServerApp) -> None:'}</s>{'name': 'LicensesManager@jupyterlab_server/licenses_handler.py', 'description': 'A manager for listing the...
1
{'name': 'ProcessFileData@third_party/cpplint/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 rep...
0
{'name': 'MarkMethodMixin.mark_text@altair/vegalite/v3/schema/mixins.py', 'description': "Set the chart's mark to 'text'\n\nFor information on additional arguments, see :class:`MarkDef`", 'signature': 'def mark_text(self, align=Undefined, angle=Undefined, baseline=Undefined, binSpacing=Undefined,'}</s>{'name': 'FacetMa...
0
{'name': 'ArmInterface.joint_velocity@franka_interface/src/franka_interface/arm.py', 'description': 'Return the requested joint velocity.\n\n:type joint: str\n:param joint: name of a joint\n:rtype: float\n:return: velocity in radians/s of individual joint', 'signature': 'def joint_velocity(self, joint):'}</s>{'name': '...
0
{'name': '_sanitise_hostvar@kayobe/ansible.py', 'description': 'Sanitise a host variable.', 'signature': 'def _sanitise_hostvar(var):'}</s>{'name': '_read_vault_password_file@kayobe/vault.py', 'description': 'Return the password from a vault password file.', 'code': 'def _read_vault_password_file(vault_password_file):\...
0
{'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': 'JSONRPCProtocol.request_factory@tinyrpc/protocols/jsonrpc.py', 'description': 'Factory for request objects.\n\nAllows derived classes to use requests derived from :py:class:`JSONRPCRequest`.\n\n:rtype: :py:class:`JSONRPCRequest`', 'signature': "def request_factory(self) -> 'JSONRPCRequest':"}</s>{'name': 'Une...
0
{'name': 'convert@Empire/helpers/__init__.py', 'description': "Convert a Unicode encoded dictionary or list into a utf-8 encoded one.\nCopypasta'd from:\nhttp://stackoverflow.com/questions/956867/how-to-get-string-objects-instead-of-unicode-ones-from-json-in-python", 'signature': 'def convert(input):'}</s>__copyright__...
0
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>{'name': 'IURQStatus@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Define the return status o...
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>MQPD_STRUC_ID_ARRAY = [b"P", b"D", b" ", b" "]
0
{'name': 'Automata._submit@accelerator/build.py', 'description': 'Submit job to server and conditionaly wait for completion.', 'signature': 'def _submit(self, method, options, datasets, jobs, caption=None, wait=True, why_build=False, force_build=False, workdir=None, concurrency=None):'}</s>{'name': 'Urd@accelerator/bui...
0
{'name': 'StaffProfileAdminForm.clean_nhif@small_small_hr/forms.py', 'description': 'Check if NHIF number is unique.', 'signature': 'def clean_nhif(self):'}</s>{'name': 'Leave@small_small_hr/models.py', 'description': 'Leave model class.', 'base_classes': ['BaseStaffRequest'], 'methods': [{'name': 'Leave.__str__@small_...
0
{'name': 'CosS3Client.ci_auditing_image_query@qcloud_cos/cos_client.py', 'description': "查询图片审核任务接口\n\n:param Bucket(string): 存储桶名称.\n:param JobID(string): 任务id.\n:param kwargs(dict): 设置请求的headers.\n:return(dict): 查询成功返回的结果,dict类型.\n\n.. code-block:: python\n\n config = CosConfig(Region=region, SecretId=secret_id, S...
0
{'name': 'load_excel@src/attributecode/util.py', 'description': 'Read XLSX at `location`, return a list of ordered dictionaries, one\nfor each row.', 'signature': 'def load_excel(location, worksheet=None):'}</s>{'name': 'get_absolute@src/attributecode/util.py', 'description': 'Return an absolute normalized location.', ...
0
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>PF_SYNCOOKIES_NEVER = 0
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQXCC_SEND_SEC_MSG = -4
0
{'name': 'main@hue/verify_hue_running.py', 'description': 'Drives the script.\n\nReturns:\n None\n\nRaises:\n Error: If a response does not contain the expected value.', 'signature': 'def main():'}</s>WAREHOUSE = 'hdfs://' + socket.gethostname() + '/user/hive/warehouse'
0
{'name': 'markerReport@pipelines/pipeline_scxl.py', 'description': 'Prepare a PDF report visualising the discovered cluster markers', 'signature': 'def markerReport(infile, outfile):'}</s>{'name': 'createSeuratObject@pipelines/pipeline_scxl.py', 'description': 'Setup the Seurat object and save it in RDS format.\n\nThe ...
0
{'name': 'test_text_file_contains_line@tests/test_text.py', 'description': 'Test if the text file contains a line.', 'signature': 'def test_text_file_contains_line(tmp_path):'}</s>SUGGESTION_END = ""
0
{'name': 'set_jwst_to_hst_keywords@grizli/jwst_utils.py', 'description': 'Make primary header look like an HST instrument\n\nParameters\n----------\ninput : str, `~astropy.io.fits.HDUList`\n Filename or FITS HDUList object to modify.\n\nreset : bool\n Reset original JWST keywords to their original values.\n\nverb...
0
{'name': '_export_region@contrib/xml/xmlio.py', 'description': '@return:\n `None` (if `parent` is not `None`), or\n an xml tree', 'signature': 'def _export_region('}</s>{'name': '_export_ppp@contrib/xml/xmlio.py', 'description': '@return:\n `None` (if `parent` is not `None`), or\n an xml tree', 'code': 'def...
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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQBMHO_STRUC_ID = b'BMHO'
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>MQIA_MAX_MSG_LENGTH = 13
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_Q_MGR_ATTR_CONFLICT = 3372
0
{'name': 'PPO.get_v@ppo_continuous_multiprocess2.py', 'description': 'Compute value\n:param s: state\n:return: value', 'signature': 'def get_v(self, s):'}</s>A_LR = 0.0001
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>PROCESS_IS_VALID = "Process is valid"
0
{'name': 'call_api@flickr_api/method_call.py', 'description': ' Performs the calls to the Flickr REST interface.\n\nParameters:\n api_key:\n The API_KEY to use. If none is given and a auth_handler is used\n the key stored in the auth_handler is used, otherwise, the values\n stored in the `fli...
1
{'name': 'gen_from_list@model_mommy/random_gen.py', 'description': "Makes sure all values of the field are generated from the list L\nUsage:\nfrom mommy import Mommy\nclass KidMommy(Mommy):\n attr_mapping = {'some_field':gen_from_list([A, B, C])}", 'signature': 'def gen_from_list(L):'}</s>{'name': 'gen_content_type@mo...
0
{'name': 'TabularDataFeatures.get_categorical_intersections@lightautoml/pipelines/features/base.py', 'description': 'Get transformer that implements categorical intersections.\n\nArgs:\n train: Dataset with train data.\n feats_to_select: features to handle. If ``None`` - default filter.\n\nReturns:\n Transform...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'check_json_precision@test/functional/test_framework/util.py', 'description': 'Make sure json library being used does not lose precision converting BTC values', 'signature': 'def check_json_precision():'}</s>{'name': 'connect_nodes@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': 'd...
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': 'save_cmd_orig@src/python_scripts/afnipy/lib_physio_logs.py', 'description': 'Write out input cmd output dir.', 'signature': 'def save_cmd_orig(retobj, verb=1):'}</s>{'name': 'shell_exec@src/python_scripts/afnipy/afni_base.py', 'description': 'DOCSTRING', 'code': 'def shell_exec(s,opt="",capture=1):\n #opt i...
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': 'TBHTTPDevice.log_level@tb_device_http.py', 'description': 'Get the log level.', 'signature': 'def log_level(self) -> str:'}</s>{'name': 'TBHTTPDevice@tb_device_http.py', 'description': 'ThingsBoard HTTP Device API class.\n\n:param host: The ThingsBoard hostname.\n:param token: The device token.\n:param name: ...
1
{'name': '_overpass_request@osmnx/_overpass.py', 'description': "Send a HTTP POST request to the Overpass API and return response.\n\nParameters\n----------\ndata\n Key-value pairs of parameters.\n\nReturns\n-------\nresponse_json\n The Overpass API's response.", 'signature': 'def _overpass_request(data: OrderedD...
0
{'name': 'TarInfo.frombuf@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>XGLTYPE = b'g'
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>MATCH_REMW = 33579067
0
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_tabletype_element@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code': 'def ...
0
{'name': 'exec_lint@check_lint.py', 'description': "Utility function to unconditionally execute `SublimeHaskellLint.run()` without worrying about the command's status.\n ", 'signature': 'def exec_lint(view, fly_mode=False, continue_success=None, error_handler=None):'}</s>{'name': 'SublimeHaskellTextCommand@cmdwin_ty...
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': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PFR_TFLAG_SETMASK = 60
0
{'name': 'merge_spans@tools/task-SI_scorer.py', 'description': ':param spans: a list of spans of article annotations\n:param i: the index in spans which needs to be tested for ovelapping\n:param annotations: a list of annotations of an article\n:return:', 'signature': 'def merge_spans(annotations_without_overlapping, i...
0
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PF_WSCALE_MASK = 15
1
{'name': 'MomSpaceBasis.__init__@doc/src/week46/Programs/NeutronMatterCCD_Ladders.py', 'description': 'the constructor\n\nGenerates a cubic lattice in momentum space\nparam Nmax: Number of lattice points in positive kx-direction\nparam kmax: Highest lattice momentum (in 1/fm)\nparam ordered: Optional parameter, True by...
0
{'name': 'SelectionPanel.remove_function@tools/ipp_custom_library_tool_python/gui/selection_panel.py', 'description': 'Removes function from left list', 'signature': 'def remove_function(self, function):'}</s>IPPCRYPTOROOT = "IPPCRYPTOROOT"
0
{'name': 'ZiGate.__haddr@zigate/core.py', 'description': 'convert int addr to hex ', 'signature': 'def __haddr(self, int_addr, length=4):'}</s>STATUS_CODES = {0: 'Success', 1: 'Invalid parameters', 2: 'Unhandled command', 3: 'Command failed', 4: 'Busy', 5: 'Stack already started'}
0
{'name': 'find_path_plot@One_Stroke/Find_Path.py', 'description': '展示寻找到的路径\n:param map: 表示图的数组\n:param method: 寻找路径的方法,默认为dfs\n:param h: 图的竖直方向网格的个数\n:param w: 图的水平方向网格的个数\n:return: 图示', 'signature': "def find_path_plot(map, method='dfs', h=Map_Height, w=Map_Width):"}</s>{'name': 'tail_call_optimized@One_Stroke/Find_P...
0
{'name': 'AlarmoMasterEntity.__init__@custom_components/alarmo/alarm_control_panel.py', 'description': 'Initialize the alarm_control_panel entity.', 'signature': 'def __init__(self, hass: HomeAssistant, name: str, entity_id: str) -> None:'}</s>ATTR_REMOVE = "remove"
0
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo...
0
{'name': 'Structure.add_field@msldap/external/bloodhoundpy/lib/cstruct.py', 'description': 'Add a field to this structure.\n\nArgs:\n name: The field name.\n type_: The field type.\n offset: The field offset.', 'signature': 'def add_field(self, name, type_, offset=None):'}</s>{'name': 'cstruct@msldap/external/...
0
{'name': 'ResnetGenerator.__init__@SIM-CycleGAN/models/networks.py', 'description': 'Construct a Resnet-based generator\n\nParameters:\n input_nc (int) -- the number of channels in input images\n output_nc (int) -- the number of channels in output images\n ngf (int) -- the number of filters ...
0
{'name': 'MixedCamera.psf1d@optics/camera.py', 'description': 'Perform all computations in double for better precision. Float computation fails.', 'signature': 'def psf1d(self, H, scene_distances, modulate_phase=torch.tensor(True)):'}</s>{'name': 'eye@util/complex.py', 'description': 'DOCSTRING', 'code': 'def eye(K):\n...
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': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK...
0
{'name': 'IntegratedGradient.get_top_features_from_gradients@scnym/interpret.py', 'description': 'Get the top features from a set of pre-computed integrated\ngradients.\n\nParameters\n----------\ntarget_class : str\n target class with gradients stored in `self.grads_for_class[target_class]`.\ngradients : pd.DataFram...
0
{'name': 'SyntaxErrorTests.test_nonlocal3@didyoumean/didyoumean_sugg_tests.py', 'description': 'nonlocal must be used only when binding to non-global exists.', 'signature': 'def test_nonlocal3(self):'}</s>LONG_REMOVED_MSG = "to use "int" (since Python 3, there is only one integer type: `int`)"
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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIA_RECEIVE_TIMEOUT_TYPE = 112
0
{'name': 'conv2d_transpose@tf_util.py', 'description': "2D convolution transpose with non-linear operation.\n\nArgs:\n inputs: 4-D tensor variable BxHxWxC\n num_output_channels: int\n kernel_size: a list of 2 ints\n scope: string\n stride: a list of 2 ints\n padding: 'SAME' or 'VALID'\n initializer: which initia...
0
{'name': 'receive_offline_message@bauhinia_push.py', 'description': '等待100ms,批量发送推送', 'signature': 'def receive_offline_message():'}</s>{'name': 'print_exception_traceback@bauhinia_push.py', 'description': 'DOCSTRING', 'code': 'def print_exception_traceback():\n exc_type, exc_value, exc_traceback = sys.exc_info()\n ...
0
{'name': 'LambdaSupportTest.assert_contains_lambda_expression_in_m@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': 'asserts that the given tree contains a method with the supplied\nmethod name containing a lambda expression.', 'signature': 'def assert_contains_lambda_expression_in_m('}</s>{'n...
0
{'name': 'GenericSimpleClauseState.getEntry@util/py_lib/seqan/dox/dox_parser.py', 'description': 'Returns the Entry for the brief clause.', 'signature': 'def getEntry(self):'}</s>{'name': 'RawDeprecated@util/py_lib/seqan/dox/raw_doc.py', 'description': "A representation of a @deprecated entry.\n\n@ivar text The @deprec...
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': 'iter_system@config/util.py', 'description': "Iterate through a dictio...
0
{'name': 'SubstrateInterface.query_map@substrateinterface/base.py', 'description': 'Iterates over all key-pairs located at the given module and storage_function. The storage\nitem must be a map.\n\nExample:\n\n```\nresult = substrate.query_map(\'System\', \'Account\', max_results=100)\n\nfor account, account_info in re...
1
{'name': 'AGraph.successors_iter@pygraphviz/agraph.py', 'description': 'Return iterator over successor nodes of n.\n\nNote: modifying the graph structure while iterating over\nnode successors may produce unpredictable results. Use\nsuccessors() as an alternative.', 'signature': 'def successors_iter(self, n):'}</s>cvar...
0
{'name': 'get_identity@guardian/utils.py', 'description': 'Get a tuple with the identity of the given input.\n\nReturns a tuple with one of the members set to `None` depending on whether the input is\na `Group` instance or a `User` instance.\nAlso accepts AnonymousUser instance but would return `User` instead.\nIt is c...
1
{'name': 'run@src/back/kite/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`server_names` keys\n ...
0
{'name': 'visualize_2D_AE@avgn/network/training.py', 'description': 'Visualization of AE as it trains in 2D space', 'signature': 'def visualize_2D_AE(model, training_df, validation_df, example_data, num_examples, batch_size, num_gpus, dims, iter_, n_cols=4, std_to_plot=2.5, summary_density=50, save_loc=False, n_samps_p...
0
{'name': 'ctype2ext@meza/convert.py', 'description': "Converts an http content type to a file extension.\n\nArgs:\n content_type (str): Output file path or directory.\n\nReturns:\n str: file extension\n\nExamples:\n >>> ctype2ext('/csv;') == 'csv'\n True\n >>> ctype2ext('/xls;') == 'xls'\n True\n >...
0
{'name': 'loadPlugins@packstack/installer/run_setup.py', 'description': 'Load All plugins from ./plugins', 'signature': 'def loadPlugins():'}</s>{'name': 'printOptions@packstack/installer/run_setup.py', 'description': 'print and document the available options to the answer file (rst format)', 'code': 'def printOptions(...
0
{'name': 'Solver.solve_next@wfc/wfc_solver.py', 'description': 'Attempt to collapse one wave. Returns True if no more steps remain.', 'signature': 'def solve_next('}</s>{'name': 'lexicalLocationHeuristic@wfc/wfc_solver.py', 'description': 'DOCSTRING', 'code': 'def lexicalLocationHeuristic(wave: NDArray[np.bool_]) -> T...
0
{'name': '_GetTextInside@scripts/cpplint.py', 'description': "Retrieves all the text between matching open and close parentheses.\n\nGiven a string of lines and a regular expression string, retrieve all the text\nfollowing the expression and between opening punctuation symbols like\n(, [, or {, and the matching close-p...
0
{'name': 'PPO.get_v@ppo_continuous_multiprocess2.py', 'description': 'Compute value\n:param s: state\n:return: value', 'signature': 'def get_v(self, s):'}</s>METHOD = [ dict(name='kl_pen', kl_target=0.01, lam=0.5), # KL penalty dict(name='clip', epsilon=0.2), # Clipped surrogate objective ][0]
0
{'name': 'test_list_validation_messages@voluptuous/tests/tests.py', 'description': 'Make sure useful error messages are available', 'signature': 'def test_list_validation_messages():'}</s>{'name': 'test_schema_empty_dict@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': 'def test_schema_empty_dict():\n ...
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': '_FloatingPointEncoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/encoder.py', 'description': "Return a constructor for an encoder for float fields.\n\nThis is like StructPackEncoder, but catches errors that may be due to\npassing non-finite floating-point values to struct.pack, and ...
0
{'name': 'BaseImage.polaroid@wand/image.py', 'description': "Creates a special effect simulating a Polaroid photo.\n\n:see: Example of :ref:`polaroid`.\n\n:param angle: applies a shadow effect along this angle.\n:type angle: :class:`numbers.Real`\n:param caption: Writes a message at the bottom of the photo's border.\n:...
0
{'name': 'test_single_build_pkg_dir@test/test_utils.py', 'description': 'Builds the "one" recipe with pkg_dir.', 'signature': 'def test_single_build_pkg_dir(recipes_fixture):'}</s>{'name': 'get_free_memory_mb@bioconda_utils/utils.py', 'description': 'Return free memory as megabytes', 'code': 'def get_free_memory_mb():\...
0
{'name': 'test_fpn@tests/test_models/test_necks.py', 'description': 'Tests fpn.', 'signature': 'def test_fpn():'}</s>{'name': 'YOLOV3Neck@mmdet/models/necks/yolo_neck.py', 'description': "The neck of YOLOV3.\n\nIt can be treated as a simplified version of FPN. It\nwill take the result from Darknet backbone and do some ...
0
{'name': 'ImportNode.modules@redbaron/nodes.py', 'description': 'return a list of string of modules imported', 'signature': 'def modules(self):'}</s>{'name': 'DecoratorNode@redbaron/nodes.py', 'description': 'DOCSTRING', 'base_classes': ['Node'], 'methods': [{'name': 'DecoratorNode._string_to_node@redbaron/nodes.py', '...
0
{'name': 'wait_on_db_update@grizli/aws/db.py', 'description': 'Wait for db to stop updating on root', 'signature': 'def wait_on_db_update(root, t0=60, dt=30, n_iter=60, engine=None):'}</s>{'name': 'run_shrink_ramps@grizli/aws/db.py', 'description': 'DOCSTRING', 'code': 'def run_shrink_ramps():\n from grizli.aws impo...
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>MQPSPROP_COMPAT = 1
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': 'QueryParser.resolve_path@rest_models/backend/compiler.py', 'description': 'resolve the path of Alias to find the final model, with the final name of the attr\n:param Col col: the column to resolve\n:rtype: tuple[Alias], str', 'signature': 'def resolve_path(self, col):'}</s>{'name': 'extract_exact_pk_value@res...
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>_ERROR_CATEGORIES = [ 'build/class', 'build/c++11', 'build/c++...
0
{'name': 'Box.save@spatialmedia/mpeg/box.py', 'description': 'Save box contents prioritizing set contents.\n\nArgs:\n in_fh: file handle, source to read box contents from.\n out_fh: file handle, destination for written box contents.\n delta: int, index update amount.', 'signature': 'def save(self, in_fh, out_fh, del...
0
{'name': 'Paystack.__init__@paystackapi/paystack.py', 'description': 'Instantiate Basic Classes to call here.', 'signature': 'def __init__(self, secret_key=None):'}</s>{'name': 'Settlement@paystackapi/settlement.py', 'description': 'docstring for settlement.', 'base_classes': ['PayStackBase'], 'methods': [{'name': 'Set...
1
{'name': 'CharBasedSeq2SeqGenerator.__init__@shorttext/generators/seq2seq/charbaseS2S.py', 'description': 'Instantiate the class.\n\nIf no one-hot encoder passed in, no compilation will be performed.\n\n:param sent2charvec_encoder: the one-hot encoder\n:param latent_dim: number of latent dimension\n:param maxlen: maxim...
0
{'name': 'PretrainingModel._get_masked_lm_output@araelectra/run_pretraining.py', 'description': 'Masked language modeling softmax layer.', 'signature': 'def _get_masked_lm_output(self, inputs: pretrain_data.Inputs, model):'}</s>{'name': 'nest_dict@araelectra/util/utils.py', 'description': 'Go from {prefix_key: value} t...
0
{'name': 'map_cis@tensorqtl/cis.py', 'description': 'Run cis-QTL mapping', 'signature': 'def map_cis(genotype_df, variant_df, phenotype_df, phenotype_pos_df, covariates_df=None,'}</s>{'name': 'get_t_pval@tensorqtl/core.py', 'description': 'Get p-value corresponding to t statistic and degrees of freedom (df). t and/or d...
0
{'name': 'Algorithm.check_crypto_key_type@jwt/algorithms.py', 'description': "Check that the key belongs to the right cryptographic family.\n\nNote that this method only works when ``cryptography`` is installed.\n\n:param key: Potentially a cryptography key\n:type key: :py:data:`PublicKeyTypes <cryptography.hazmat.prim...
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': 'ResourceManager.lookup@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Search for a resource and return an absolute file path, or `None`.\n\nThe :attr:`path` list is searched in order. The first match is\nreturend. Symlinks are followed. The result is cached to speed up\nfuture lookups. ', 's...
0
{'name': 'show_workflow@director/commands/workflows.py', 'description': 'Display details of a workflow', 'signature': 'def show_workflow(ctx, name):'}</s>pass_ctx = click.make_pass_decorator(context, ensure=True)
0
{'name': 'torgb@boxx/ylimg/ylimgTool.py', 'description': 'try to transfer a tensor to normalized RGB image\n\nnormalizing img value to 0~1\nand transpose (..., 3, w, h) to (..., w, h, 3)', 'signature': 'def torgb(img):'}</s>{'name': 'toPng@boxx/ylimg/ylimgTool.py', 'description': 'add alpha channel to be a png picture'...
0
{'name': 'build@bioconda_utils/build.py', 'description': "Build a single recipe for a single env\n\nArguments:\n recipe: Path to recipe\n pkg_paths: List of paths to expected packages\n testonly: Only run the tests described in the meta.yaml\n mulled_test: Run tests in minimal docker container\n channels: Channels...
1
{'name': 'add_scan_in_signature@build/waftools/common.py', 'description': "By default in waf, tasks are not re-run when their scan method\nchanges. This is an issue that caused real bugs in our project when\nswitching branches.\nThe purpose of this code is to take the scan method of tasks in the\ntasks signatures, like...
0
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'gef_get_instruction_at@gef.py', 'description': 'Return the full Instruct...
0