text
string
label
int64
{'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': 'skipIfTargetAndroid@llvm-project...
0
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>_z3_op_to_fpa_normal_str = { Z3_OP_FPA_RM_NEARES...
0
{'name': '_NamespaceInfo.CheckEnd@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check end of namespace comments.', 'signature': 'def CheckEnd(self, filename, clean_lines, linenum, error):'}</s>_INSIDE_ASM = 1
0
{'name': '_delete_ecr_images@blogs/ecs-canary-deployments-pipeline/setup/scripts/delete_blog_contents.py', 'description': 'Delete the ECR Images built by individual apps. ', 'signature': 'def _delete_ecr_images(apps):'}</s>{'name': 'main@blogs/ecs-canary-deployments-pipeline/setup/scripts/delete_blog_contents.py', 'des...
0
{'name': 'make_visit_mosaic@grizli/aws/visit_processor.py', 'description': "Make a mosaic of the exposures from a visit with a tangent point selected\nfrom the sky tile grid\n\nParameters\n----------\nassoc : str\n grizli association name\n\nbase_path : str\n Base working directory. Working directory will be\n ...
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': 'ScopedConstructorList@src/api/python/z3/z3.py', 'description': 'Auxiliary object used to create Z3 datatypes.', ...
0
{'name': 'TestMathFunc.tearDown@TDD/python_unittest/mathfunc.py', 'description': '结束测试时使用tearDown清理环境,注意每个测试用例都会跑一遍', 'signature': 'def tearDown(self):'}</s>{'name': 'divide@TDD/python_unittest/mathfunc.py', 'description': '测试注释:这是除法,注意除数不能为0', 'code': "def divide(a, b):\n '''\n 测试注释:这是除法,注意除数不能为0\n '''\n i...
0
{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a template that specifies a timedelta', 'signature': 'def render_positive_time_period(data: dict, key: str) -> None:'}</s>TIMELINE_ADJUSTMENT = "adjustment"
0
{'name': 'render@pyevtk/_version.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'register_vcs_handler@pyevtk/_version.py', 'description': 'Create decorator to mark a method as the handler of a VCS.', 'code': 'def register_vcs_handl...
0
{'name': 'run_training@chemprop/train/run_training.py', 'description': 'Trains a model and returns test scores on the model checkpoint with the highest validation score.\n\n:param args: Arguments.\n:param logger: Logger.\n:return: A list of ensemble scores for each task.', 'signature': 'def run_training(args: Namespace...
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': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=...
0
{'name': '_FindPythonFiles@tools/yapf/yapf/yapflib/file_resources.py', 'description': 'Find all Python files.', 'signature': 'def _FindPythonFiles(filenames, recursive, exclude):'}</s>CRLF = " "
0
{'name': 'Model.add_constraints@linopy/model.py', 'description': 'Assign a new, possibly multi-dimensional array of constraints to the\nmodel.\n\nConstraints are added by defining a left hand side (lhs), the sign and\nthe right hand side (rhs). The lhs has to be a linopy.LinearExpression\nand the rhs a constant (array ...
0
{'name': 'RenderLevel.__init__@amulet_map_editor/api/opengl/mesh/level/level.py', 'description': 'Create a new RenderLevel instance.\n\n:param context_identifier: The identifier for the opengl context.\n:param opengl_resource_pack: The resource pack to use for models and textures.\n:param level: The level to pull data ...
1
{'name': '_parse_tree@src/newick.py', 'description': 'Recursively parse a newick tree string and convert to a Node object. \nUses the functions _read_branch_length(), _read_leaf(), _read_model_flag() during the recursion.', 'signature': 'def _parse_tree(tstring, flags, internalNode_count, scale_tree, index):'}</s>MODEL...
1
{'name': 'FletcherBaseArray.value_counts@fletcher/base.py', 'description': "Return a Series containing counts of each unique value.\n\nParameters\n----------\ndropna : bool, default True\n Don't include counts of missing values.\n\nReturns\n-------\ncounts : Series\n\nSee Also\n--------\nSeries.value_counts", 'signa...
0
{'name': 'ScanSouthSky@GUI/MRT_FUNC_PY4_GUI.py', 'description': 'Scan the entire south sky, except between 80 and 90 degrees for elevation limited by telescope design', 'signature': 'def ScanSouthSky(ser):'}</s>{'name': 'WaitForInputBytes@GUI/MRT_FUNC_PY4_GUI.py', 'description': 'Wait for bytes to appear on the input s...
0
{'name': 'validate_file_md5sum@src/gdc_client/parcel/utils.py', 'description': 'Function to validate md5sum for given file if prerequisite checks pass\n\nArgs:\n stream: initialized DownloadStream object\n file_path: file to validate\nRaises:\n MD5ValidationError: if correct DownloadStream flags are not set or...
0
{'name': 'guess_json_utf@src/requests/utils.py', 'description': ':rtype: str', 'signature': 'def guess_json_utf(data):'}</s>{'name': 'UnrewindableBodyError@src/requests/exceptions.py', 'description': 'Requests encountered an error when trying to rewind a body.', 'base_classes': ['RequestException'], 'methods': []}
0
{'name': 'stations_timeseries@BB_MesoWest/OLD_get_Synoptic.py', 'description': ' Get station data for time series.\n\n https://developers.synopticdata.com/mesonet/v2/stations/timeseries/\n\n Parameters\n ----------\n rename_set_1 : bool\n True - Rename the DataFrame columns to not include the set_...
0
{'name': 'render@render/render.py', 'description': 'Load CSV Results and render it into README.', 'signature': 'def render():'}</s>{'name': 'render_template@render/render.py', 'description': 'DOCSTRING', 'code': "def render_template(template, target, **ctx):\n with open(target, 'w') as target:\n target.write(...
1
{'name': 'get_path@pystore/utils.py', 'description': 'use this to construct paths for future storage support ', 'signature': 'def get_path(*args):'}</s>{'name': 'set_client@pystore/utils.py', 'description': 'DOCSTRING', 'code': 'def set_client(scheduler=None):\n if scheduler != config._SCHEDULER and config._CLIENT i...
0
{'name': 'DebuggerAPI.do_delete@tools/p4dbg.py', 'description': "Unsets a break point, previously set with the 'break' command: delete(d) <obj_type> <obj_name>", 'signature': 'def do_delete(self, line):'}</s>{'name': 'Msg_UnsetWatchpoint@tools/p4dbg.py', 'description': 'DOCSTRING', 'base_classes': ['BasicMsg'], 'method...
0
{'name': 'Filter.method@django_filters/filters.py', 'description': "Filter method needs to be lazily resolved, as it may be dependent on\nthe 'parent' FilterSet.", 'signature': 'def method():'}</s>{'name': 'DateRangeField@django_filters/fields.py', 'description': 'DOCSTRING', 'base_classes': ['RangeField'], 'methods': ...
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': '_Classification.fabc@pybaselines/classification.py', 'description': "Fully automatic baseline correction (fabc).\n\nSimilar to Dietrich's method, except that the derivative is estimated using a\ncontinuous wavelet transform and the baseline is calculated using Whittaker\nsmoothing through the identified basel...
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': 'Client.sleep@src/engineio/client.py', 'description': 'Sleep for the requested amount of time.', 'signature': 'def sleep(self, seconds=0):'}</s>{'name': 'UnknownPacketError@src/engineio/exceptions.py', 'description': 'DOCSTRING', 'base_classes': ['EngineIOError'], 'methods': []}
0
{'name': 'initialize_jwst_image@grizli/jwst_utils.py', 'description': 'Make copies of some header keywords to make the headers look like\nand HST instrument\n\n1) Apply gain correction [*NOT PERFORMED*]\n2) Clip DQ bits\n3) Copy header keywords\n4) Apply exposure-level 1/f correction\n5) Apply flat field if necessary\n...
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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRC_UNKNOWN_REF_OBJECT = 2294
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': 'Enforcer._record_file_rules@oslo_policy/policy.py', 'description': 'Store a copy of rules loaded from a file.\n\nIt is useful to be able to distinguish between rules loaded from a file\nand those registered by a consuming service. In order to do so we keep\na record of rules loaded from a file.\n\n:param data...
0
{'name': 'TruthedCharacters.dump_values@ocr_utils.py', 'description': "prints out the feature names and a short sample of the data in each feature\n\nexample:\n-------------------------------------\n ds = ocr_utils.read_data(input_filters_dict = input_filters_dict, \n output_feature_list=outpu...
0
{'name': 'estimate_k@scale/utils.py', 'description': 'Estimate number of groups k:\n based on random matrix theory (RTM), borrowed from SC3\n input data is (p,n) matrix, p is feature, n is sample', 'signature': 'def estimate_k(data):'}</s>{'name': 'get_decoder_weight@scale/utils.py', 'description': 'DOCSTRING', '...
0
{'name': 'test_lex_line_counting_multi@tests/test_reader.py', 'description': 'Make sure we can do multi-line tokenization', 'signature': 'def test_lex_line_counting_multi():'}</s>{'name': 'test_lex_nan_and_inf@tests/test_reader.py', 'description': 'DOCSTRING', 'code': 'def test_lex_nan_and_inf():\n\n assert isnan(to...
0
{'name': 'block_embed@text_classification/nets.py', 'description': 'Embedding function followed by convolution\n\nArgs:\n embed (callable): A :func:`~chainer.functions.embed_id` function\n or :class:`~chainer.links.EmbedID` link.\n x (:class:`~chainer.Variable` or :class:`numpy.ndarray` or :class:`...
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>MQ_SMDS_NAME_LENGTH = 4
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': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat...
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...
1
{'name': 'main@ytmdl/main.py', 'description': 'Run on program call.', 'signature': 'def main(args):'}</s>{'name': 'entry@ytmdl/main.py', 'description': 'DOCSTRING', 'code': 'def entry():\n try:\n extract_data()\n except KeyboardInterrupt:\n logger.info("\\nExiting..!")'}
0
{'name': 'SmoothedValue.synchronize_between_processes@camera2car/auto_calib/util/misc.py', 'description': 'Warning: does not synchronize the deque!', 'signature': 'def synchronize_between_processes(self):'}</s>{'name': 'save_on_master@camera2car/auto_calib/util/misc.py', 'description': 'DOCSTRING', 'code': 'def save_on...
0
{'name': 'SessionManager.__init_session_driver@torndsession/session.py', 'description': 'setup session driver.', 'signature': 'def __init_session_driver(self):'}</s>{'name': 'SessionDriverFactory@torndsession/driver.py', 'description': "session driver factory\nuse input settings to return suitable driver's instance", '...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_MEDIA_IMAGE_RECOVER_Q = 272
0
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>sim_appobj_ik_typ...
0
{'name': 'GenericAfipTypeManager.populate@django_afip/models.py', 'description': "Fetch and save data for this model from AFIP's WS.\n\nDirect usage of this method is discouraged, use\n:func:`~.models.load_metadata` instead.", 'signature': 'def populate(self, ticket: AuthTicket | None = None) -> None:'}</s>{'name': 'se...
0
{'name': 'run@3rdparty/mongo-c-driver-1.26.2/build/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:...
0
{'name': 'connect_to_usb_bitbox@py/send_message.py', 'description': 'Connects and runs the main menu on a BitBox02 connected\nover USB.', 'signature': 'def connect_to_usb_bitbox(debug: bool, use_cache: bool) -> int:'}</s>{'name': 'main@py/send_message.py', 'description': 'Main function', 'code': 'def main() -> int:\n ...
0
{'name': 'get_next_backlog_item@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/utils.py', 'description': 'Get next blob in the backlog if the backlog is not empty.\n\nArgs:\n gcs_client: storage.Client\n bkt: storage.Bucket that this cloud functions is ingesting data for.\n table_prefix:...
0
{'name': 'TestEPA.test_O3_PM25_CO@test/test_epa.py', 'description': 'Test O3, PM2.5 and CO AQI', 'signature': 'def test_O3_PM25_CO(self):'}</s>POLLUTANT_SO2_1H = "so2_1h"
0
{'name': 'prepare_messages@AzureOpenAICustomLanguageModelSkill/function_app.py', 'description': 'Prepare messages based on scenario.', 'signature': 'def prepare_messages('}</s>app = func.FunctionApp()
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': '_convert_to_exclusive_op@self_organising_systems/biomakerca/env_logic.py', 'description': 'Process ExclusiveInterface to convert it to ExclusiveOp.\n\nThis also performs sanity checks and potentially rejects badly formed ops.', 'signature': 'def _convert_to_exclusive_op('}</s>EMPTY_UPD_MASK = jp.zeros([9])
1
{'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': 'msg_...
0
{'name': 'get_measures@gnocchi/rest/aggregates/processor.py', 'description': 'Get aggregated measures of multiple entities.\n\n:param storage: The storage driver.\n:param metrics_and_aggregations: List of metric+agg_method tuple\n measured to aggregate.\n:param from timestamp: The timest...
0
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'...
0
{'name': 'gen_inc_module@da/compiler/incgen.py', 'description': 'Generates the interface file from a DistPy AST.', 'signature': 'def gen_inc_module(daast, cmdline_args, filename=""):'}</s>{'name': 'BoundPattern@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['PatternElement'], 'methods': [{'name': 'B...
0
{'name': '_makeTags@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': '_ParseResultsWithOffset@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip...
0
{'name': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_DELETE_S...
0
{'name': 'RIPPER._grow_ruleset_cn@wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset_cn('}</s>{'name': 'flagged_return@wittgenstein/utils.py', 'description': 'Return only objects with corresponding True flags. Useful for functions with multiple possible return items....
0
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>ERR_DIDNT_RESOLVED_IP = "%s did not resolve into an IP address"
0
{'name': 'JalaliDateTime.second@persiantools/jdatetime.py', 'description': 'Get the second component of the time.\n\nReturns:\n int: The second component of the time.', 'signature': 'def second(self) -> int:'}</s>{'name': 'fa_to_ar@persiantools/digits.py', 'description': 'Convert Persian digits to Arabic digits.\n\n...
0
{'name': 'KeycloakOpenID.introspect@ansible/roles/keycloak-deploy/files/python-keycloak-0.12.0/keycloak/keycloak_openid.py', 'description': 'The introspection endpoint is used to retrieve the active state of a token. It is can only be\ninvoked by confidential clients.\n\nhttps://tools.ietf.org/html/rfc7662\n\n:param to...
0
{'name': 'align_one_cli@montreal_forced_aligner/command_line/align_one.py', 'description': 'Align a single file with a pronunciation dictionary and a pretrained acoustic model.', 'signature': 'def align_one_cli(context, **kwargs) -> None:'}</s>{'name': 'validate_dictionary@montreal_forced_aligner/command_line/utils.py'...
0
{'name': '_insert_newlines@n26/cli.py', 'description': 'Inserts a newline into the given text every n characters.\n:param text: the text to break\n:param n:\n:return:', 'signature': 'def _insert_newlines(text: str, n=40):'}</s>{'name': 'card_block@n26/cli.py', 'description': 'Blocks the card/s ', 'code': 'def card_bloc...
0
{'name': 'mk_def_file_internal@scripts/mk_genfile_common.py', 'description': 'Writes to a module definition file to a file named ``defname``.\n\n``dll_name`` is the name of the dll (without the ``.dll`` suffix).\n``export_header_file`` is a list of header files to scan for symbols\nto include in the module definition f...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_LDAP_USER_NAME_LENGTH_ERR = 2389
0
{'name': 'retry_blob_databireck_split@databricks-adx-integration/src/code/functions/databrickserrorhandler/__app__/dbserrorhandler/__init__.py', 'description': 'Move blob from source to destination container ', 'signature': 'def retry_blob_databireck_split('}</s>{'name': 'download_logfile@databricks-adx-integration/src...
0
{'name': 'interactive.widget_from_annotation@python/ipywidgets/ipywidgets/widgets/interaction.py', 'description': 'Make widgets from type annotation and optional default value.', 'signature': 'def widget_from_annotation(t):'}</s>{'name': 'Button@python/ipywidgets/ipywidgets/widgets/widget_controller.py', 'description':...
0
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw...
0
{'name': 'test_get_gtts@tests/unit/test_connect.py', 'description': 'Test all gtts fetch.', 'signature': 'def test_get_gtts(kiteconnect):'}</s>{'name': 'test_instruments@tests/unit/test_connect.py', 'description': 'Test mf instruments fetch.', 'code': 'def test_instruments(kiteconnect):\n """Test mf instruments fetc...
0
{'name': 'dump@json_tricks/nonp.py', 'description': 'Convert a nested data structure to a json string.\n\n:param fp: File handle or path to write to.\n:param compression: The gzip compression level, or None for no compression.\n:param force_flush: If True, flush the file handle used, when possibly also in the operating...
0
{'name': '_dump_float@src/betterproto/__init__.py', 'description': 'Dump the given float to JSON\n\nParameters\n----------\nvalue: float\n Value to dump\n\nReturns\n-------\nUnion[float, str]\n Dumped value, either a float or the strings', 'signature': 'def _dump_float(value: float) -> Union[float, str]:'}</s>{'n...
0
{'name': 'run@src/back/kite/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`server_names` keys\n ...
1
{'name': 'MI_CLSTM.__init__@modelling/multi_input_clstm.py', 'description': 'input_size - (tuple) should be (time_steps, channels, height, width)', 'signature': 'def __init__(self, '}</s>{'name': 'UNet@modelling/unet.py', 'description': 'Bring the encoder and decoder together into full UNet model\n ', 'base_classes'...
1
{'name': 'NVMeOFConnectorTestCase.test_extend_volume_unreplicated_nvme_fails@os_brick/tests/initiator/connectors/test_nvmeof.py', 'description': 'nvme command fails, so it rescans, waits, and reads size.', 'signature': 'def test_extend_volume_unreplicated_nvme_fails('}</s>{'name': 'NVMeOFConnector@os_brick/initiator/co...
0
{'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...
1
{'name': 'RosterGenerator.__init__@rosters/logic.py', 'description': 'Create starting conditions.', 'signature': 'def __init__(self, start_date):'}</s>{'name': 'ShiftRule@rosters/models.py', 'description': 'Shift Rule (Skill Mix Rule).', 'base_classes': ['models.Model'], 'methods': [{'name': 'ShiftRule.__str__@rosters/...
0
{'name': 'setup_T2_amplitudes@doc/LectureNotes/_build/jupyter_execute/cc.py', 'description': 'returns the t2 amplitudes and t2 channels\nparam sp_basis: a sp_basis\nparam NN: neutron number\nparam st_degen: 2 for the moment, spin-isospin degeneracy\nreturn: hh_channels, pp_channels, p_rel_hh, p_rel_pp, t2amp\n t...
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': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_ENDIF = CScriptOp(0x68)
0
{'name': 'handle_scene_activated@custom_components/zwave_mqtt/__init__.py', 'description': 'Handle a (central) scene activation message.', 'signature': 'def handle_scene_activated(hass: HomeAssistant, scene_value: OZWValue):'}</s>ATTR_SCENE_VALUE_ID = "scene_value_id"
1
{'name': 'pspnet.load_pretrained_model@ptsemseg/models/pspnet.py', 'description': 'Load weights from caffemodel w/o caffe dependency\nand plug them in corresponding modules', 'signature': 'def load_pretrained_model(self, model_path):'}</s>_FILLERPARAMETER_VARIANCENORM = _descriptor.EnumDescriptor( name='VarianceNorm'...
0
{'name': 'log_average_miss_rate@utils/utils_map.py', 'description': 'log-average miss rate:\n Calculated by averaging miss rates at 9 evenly spaced FPPI points\n between 10e-2 and 10e0, in log-space.\n\noutput:\n lamr | log-average miss rate\n mr | miss rate\n fppi | false positives per image...
0
{'name': 'main@get-filters.py', 'description': 'Helps make a local backup of all lables.', 'signature': 'def main():'}</s>{'name': 'google_oauth_creds@_google_/auth/__init__.py', 'description': 'Returns Google auth creds object.\nPersisted in a pickle on first generation, if missing gets created.\n\nArgs: None\n\nRetur...
0
{'name': 'ParseArguments@third_party/cpplint/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.', 'signature': 'def ParseArguments(args):'}</s>_...
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': '_mk_fp_unary_pred@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def _mk_fp_unary_pred(f, a, ctx...
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': '_xception_block@DigiPathAI/models/deeplabv3.py', 'description': "Basic building block of modified Xception network\nArgs:\n inputs: input tensor\n depth_list: number of filters in each SepConv layer. len(depth_list) == 3\n prefix: prefix before name\n skip_connection_type: one of {'conv','sum','no...
0
{'name': 'clamp@adv_lib/utils/projections.py', 'description': 'Clamp based on lower and upper Tensor bounds. Clamping method depends on torch version: clamping with tensors was\nintroduced in torch 1.9.', 'signature': 'def clamp(x: Tensor, lower: Tensor, upper: Tensor, inplace: bool = False) -> Tensor:'}</s>use_tensors...
1
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'PbLe@src/api/python/z3/z3.py', 'descriptio...
0
{'name': 'make_default_config@atlas/make_config.py', 'description': 'generates a dict with all the default values, if they exist', 'signature': 'def make_default_config():'}</s>MEGAHIT_PRUNE_LEVEL = 2
1
{'name': '_parse_jitlog@jitlog/parser.py', 'description': "JitLog is parsed. if an exception is raised after\nthe header has been read, it is saved in the field 'exc' on\nthe forest returned.\n\nThis allows to parse an incomplete log file an still display\neverything that was readable!\nIf a ParseException is directly ...
0
{'name': 'GetBestInterface@comtypes/client/_managing.py', 'description': "Try to QueryInterface a COM pointer to the 'most useful'\ninterface.\n\nGet type information for the provided object, either via\nIDispatch.GetTypeInfo(), or via IProvideClassInfo.GetClassInfo().\nGenerate a wrapper module for the typelib, and QI...
0
{'name': 'Muse.connect@muselsl/muse.py', 'description': 'Connect to the device', 'signature': 'def connect(self, interface=None, retries=0):'}</s>{'name': 'Muse@muselsl/muse.py', 'description': 'Muse headband', 'base_classes': [], 'methods': [{'name': 'Muse.__init__@muselsl/muse.py', 'description': 'Initialize\n\ncallb...
1
{'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': 'scatter@nbinteract/plotting.py', 'description': 'Generates an interactive scatter chart that allows users to change the\nparameters of the inputs x_fn and y_fn.\n\nArgs:\n x_fn (Array | (*args -> Array str | Array int | Array float)):\n If array, uses array values for x-coordinates.\n\n If fu...
0