text
string
label
int64
{'name': 'Zeroconf.registerService@stino/pyarduino/base/zeroconf.py', 'description': 'Registers service information to the network with a default TTL\nof 60 seconds. Zeroconf will then respond to requests for\ninformation for that service. The name of the service may be\nchanged if needed to make it unique on the net...
0
{'name': 'CreatorNameMapView.post@metro_map_saver/map_saver/views.py', 'description': 'Allow creators to name / "tag" their maps\n(but not after I\'ve named them)\nAlso prevent subsequent visitors from naming the maps', 'signature': 'def post(self, request, **kwargs):'}</s>{'name': 'RecaptchaMixin@metro_map_saver/map_s...
0
{'name': 'net_bridge_obj@kayobe/plugins/filter/networks.py', 'description': 'Return a dict representation of a network bridge interface.\n\nThe returned dict is compatible with the interfaces_bridge_interfaces\nvariable in the MichaelRigaert.interfaces role.', 'signature': 'def net_bridge_obj(context, name, inventory_h...
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MASK_RD = 31
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': 'readLzpt@fwtool/archive/lzpt.py', 'description': 'Decodes an LZTP image and returns its contents', 'signature': 'def readLzpt(file):'}</s>{'name': 'parse32be@fwtool/util/__init__.py', 'description': 'DOCSTRING', 'code': "def parse32be(data):\n return struct.unpack('>I', data)[0]"}
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': 'PythonExpr@da/compiler/dast.py', 'description': 'This is placeholder for unsupported Python expressions.', 'base_classes':...
0
{'name': 'get_reader@meza/io.py', 'description': "Gets the appropriate reader for a given file extension.\n\nArgs:\n extension (str): The file extension.\n\nReturns:\n func: The file reading function\n\nSee also:\n `meza.io.read`\n\nRaises:\n TypeError: If unable to find a suitable reader.\n\nExamples:\n ...
1
{'name': 'traced@beeline/__init__.py', 'description': 'Function decorator to wrap an entire function in a trace span. If no trace\nis active in the current thread, starts a new trace, and the wrapping span\nwill be a root span. If a trace is active, creates a child span of the\nexisting trace.\n\nExample use:\n\n```\n@...
0
{'name': 'on_load_data@src/server/server.py', 'description': 'Allow pages to load needed data', 'signature': 'def on_load_data(data):'}</s>{'name': 'on_alter_race_format@src/server/server.py', 'description': 'update race format ', 'code': "def on_alter_race_format(data):\n ''' update race format '''\n race_format...
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': '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_BOOLOR = CScriptOp(0x9b)
0
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'ExprRef@src/api/python/z3/z3.py', 'description': 'Constraints, formulas and terms are expressions in Z3.\n\nExpressions are A...
0
{'name': 'MeshElementField.place@python/taichi/lang/mesh.py', 'description': 'Declares mesh attributes for the mesh element in current mesh.\n\nArgs:\nmembers (Dict[str, Union[PrimitiveType, MatrixType]]): names and types for element attributes.\nreorder: True if reorders the internal memory for coalesced d...
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>bord = ord
0
{'name': 'return_ebs_volume_type@installer/resources/src/cdk_construct.py', 'description': 'For a given string value of an EBS volume - return the proper CDK representation or the fallback volume.', 'signature': 'def return_ebs_volume_type(volume_string: str, fallback_volume: str = "gp2") -> str:'}</s>_rich_handler = R...
0
{'name': 'SentencePredictionTask.load_dataset@fairseq/tasks/sentence_prediction.py', 'description': 'Load a given dataset split (e.g., train, valid, test).', 'signature': 'def load_dataset(self, split, combine=False, **kwargs):'}</s>{'name': 'get_buckets@fairseq/data/data_utils.py', 'description': 'DOCSTRING', 'code': ...
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_dset_history@src/python_scripts/afnipy/afni_util.py', 'description': "...
0
{'name': 'get_discriminator@config/legacy.py', 'description': 'For a given module function, generate C++ code defining the discriminator struct. ', 'signature': 'def get_discriminator(variant_data, module_data):'}</s>{'name': 'struct@config/cxx.py', 'description': "Yields a C++ struct with the given name and body.\n\n:...
0
{'name': 'WrappedSocket.handshake@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/urllib3/contrib/securetransport.py', 'description': "Actually performs the TLS handshake. This is run automatically by\nwrapped socket, and shouldn't be needed in user code.", 'signature': 'def handshake(self,'}</s>{'name': 'Secur...
1
{'name': 'get_media_id@post.py', 'description': 'Get the media ID for this request, or None if no media was uploaded.', 'signature': 'def get_media_id(board_id: int) -> int:'}</s>{'name': 'Poster@model/Poster.py', 'description': 'DOCSTRING', 'base_classes': ['db.Model'], 'methods': []}
0
{'name': 'check_music@tests/utils.py', 'description': 'Check example music.', 'signature': 'def check_music(music, ext=None, resolution=24):'}</s>TEST_DATA_DIR = TEST_DIR / "data"
0
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose: bool = False) -> Dict[str, Any]:'}</s>INIT_PY_SNIPPET = " from . import {0} __version__ = {0}.get_versions()['v...
0
{'name': 'ParseNolintSuppressions@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Updates the global list of line error-suppressions.\n\nParses any NOLINT comments on the current line, updating the global\nerror_suppressions store. Reports an error if the NOLINT comment\nwas malformed.\n\nArgs:\n filename: s...
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>OP_SH_CFUNCT6 = 10
0
{'name': 'fullMammoPreprocess@src/modules/imagePreprocessing/imagePreprocessing.py', 'description': 'This function chains and executes all the preprocessing\nsteps for a full mammogram, in the following order:\n\nStep 1 - Initial crop\nStep 2 - Min-max normalise\nStep 3 - Remove artefacts\nStep 4 - Horizontal flip (if ...
0
{'name': 'ProcessFile@tools/cpplint.py', 'description': 'Does google-lint on a single file.\n\nArgs:\n filename: The name of the file to parse.\n\n vlevel: The level of errors to report. Every error of confidence\n >= verbose_level will be reported. 0 is a good default.\n\n extra_check_functions: An array of addi...
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': 'get_local_part@src/future/backports/email/_header_value_parser.py', 'description': 'local-part = dot-atom / quoted-string / obs-local-part\n\n ', 'signature': 'def get_local_part(value):'}</s>{'name': 'get_cfws@src/future/backports/email/_header_value_parser.py', 'description': 'CFWS = (1*([FWS] comment) [...
1
{'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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQBALSTATE_HIGH = 3
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': 'pre_clean_addr_str@scourgify/cleaning.py', 'description': 'Remove any known undesirable sub-strings and special characters.\n\nCleaning should be enacted on an addr_str to remove known characters\nand phrases that might prevent usaddress from successfully parsing.\nFollows USPS pub 28 guidelines for undesirab...
0
{'name': 'FairseqTask.build_generator@fairseq/tasks/fairseq_task.py', 'description': 'Build a :class:`~fairseq.SequenceGenerator` instance for this\ntask.\n\nArgs:\n models (List[~fairseq.models.FairseqModel]): ensemble of models\n args (fairseq.dataclass.configs.GenerationConfig):\n configuration object (...
1
{'name': 'DastUnparser.enter@da/compiler/pseudo.py', 'description': "Print ':', and increase the indentation.", 'signature': 'def enter(self):'}</s>{'name': 'InvertOp@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['UnaryOperator'], 'methods': []}
0
{'name': 'buttonClick@main.py', 'description': '按钮事件都绑定在这里了\n:return:', 'signature': 'def buttonClick():'}</s>{'name': 'Hero_filter@goneng.py', 'description': "根据条件筛选数据 分析chess数据然后绘制列表,注意所有的参数必须为str字符串 '0'表示不考虑这个条件\n:param chess: 字典数据\n:param price: 费用条件\n:param jobId:职业id\n:param raceId:羁绊id\n:param keyword:关键字 搜索\n:r...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIA_PERFORMANCE_EVENT = 53
0
{'name': 'load_command_class@s2e_env/manage.py', 'description': 'Given a command name, returns the Command class instance. All errors raised\nby the import process (ImportError, AttributeError) are allowed to\npropagate.', 'signature': 'def load_command_class(name):'}</s>{'name': 'ColoredFormatter@s2e_env/utils/log.py'...
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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIACH_MULTICAST_PROPERTIES = 1626
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQPL_TPF = 23
0
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCNO_ACCOUNTING_MQI_ENABLED = 4096
0
{'name': 'SchemaDoc.getTypeInSchemaDoc@redfish_service_validator/catalog.py', 'description': 'getTypeTagInSchema\n\nGet type tag in schema\n\n:param currentType: type string\n:param tagType: Array or single string containing the xml tag name\n\nrtype: SchemaClass', 'signature': 'def getTypeInSchemaDoc(self, currentType...
0
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ...
0
{'name': 'get_all_arxiv_ids@pix2tex/dataset/arxiv.py', 'description': 'returns all arxiv ids present in a string `text`', 'signature': 'def get_all_arxiv_ids(text):'}</s>{'name': 'DemacroError@pix2tex/dataset/demacro.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': []}
0
{'name': 'get_settings@jupyterlab_server/settings_utils.py', 'description': 'Get settings.\n\nParameters\n----------\napp_settings_dir:\n Path to applications settings.\nschemas_dir: str\n Path to schemas.\nsettings_dir:\n Path to settings.\nschema_name str, optional\n Schema name. Default is "".\noverrides...
0
{'name': 'ProcessLine@scripts/cpplint.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 the file,\n ...
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': 'get_process@pyngrok/process.py', 'description': "Get the current ``ngrok`` process for the given config's ``ngrok_path``.\n\nIf ``ngrok`` is not running, calling this method will first start a process with\n:class:`~pyngrok.conf.PyngrokConfig`.\n\n:param pyngrok_config: The ``pyngrok`` configuration to use wh...
0
{'name': 'find_source_libraries@ctypesgen/processor/operations.py', 'description': 'find_source_libraries() determines which library contains each function\nand variable.', 'signature': 'def find_source_libraries(data, opts):'}</s>{'name': 'filter_by_regexes_exclude@ctypesgen/processor/operations.py', 'description': 'f...
0
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ...
0
{'name': 'MarketstoreServicer.Write@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'Missing associated documentation comment in .proto file.', 'signature': 'def Write(self, request, context):'}</s>ServerVersionResponse = _reflection.GeneratedProtocolMessageType('ServerVersionResponse', (_message.Message,)...
0
{'name': 'TeamCloudClientOperationsMixin.get_schedule@client/tc/azext_tc/vendored_sdks/teamcloud/operations/_team_cloud_client_operations.py', 'description': 'Gets the Schedule.\n\nGets the Schedule.\n\n:param schedule_id:\n:type schedule_id: str\n:param organization_id:\n:type organization_id: str\n:param project_id:\...
1
{'name': 'BehaveRestfulApp.initialize_context@behave_restful/app.py', 'description': 'Initializes the provide context object exposing through it relevant\ndirectories and services. \n\n:param context:\n A behave context object.\n:param test_dir:\n Directory where the tests are located. This is, usually, the \n ...
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': 'Dispatch.__getattr__@comtypes/client/lazybind.py', 'description': 'Get a COM attribute.', 'signature': 'def __getattr__(self, name):'}</s>VT_EMPTY = 0
0
{'name': 'at@contrib/objgraph.py', 'description': 'Return an object at a given memory address.\n\nThe reverse of id(obj):\n\n >>> at(id(obj)) is obj\n True\n\nNote that this function does not work on objects that are not tracked by\nthe GC (e.g. ints or strings).', 'signature': 'def at(addr):'}</s>__copyright__ =...
0
{'name': 'countedArray@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': "Helper to define a counted list of expressions.\n\nThis helper defines a pattern of the form::\n\n integer expr expr expr...\n\nwhere the leading integer tells how many expr expressions follow.\nThe matched ...
0
{'name': 'generate_signals@blueshift_2_1_demo/ex_5_small_universe_bbands.py', 'description': 'A function to define define the signal generation', 'signature': 'def generate_signals(context, data):'}</s>{'name': 'run_strategy@blueshift_2_1_demo/ex_5_small_universe_bbands.py', 'description': 'A function to define core st...
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>SIGHASH_ALL = 1
0
{'name': 'MetricsServiceStub.__init__@gen-python/opencensus/proto/agent/metrics/v1/metrics_service_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>_sym_db = _symbol_database.Default()
0
{'name': 'Input.get_fields@verif/input.py', 'description': 'Get the available fields in this input\n\nReturns:\n list(verif.field): The available fields', 'signature': 'def get_fields(self):'}</s>{'name': 'parse_numbers@verif/util.py', 'description': 'Parses numbers from an input string. Recognizes MATLAB syntax, suc...
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>PF_POOL_SRCHASH = 3
0
{'name': 'collect@scripts/python-skywater-pdk/skywater_pdk/liberty.py', 'description': 'Collect the available timing information in corners.\n\nParameters\n----------\nlibrary_dir: str\n Path to a library.\n\nReturns\n-------\nlib : str\n Library name\n\ncorners : {str: TimingType}\n corners in the library.\n\...
0
{'name': 'IUSequence.zone_duration@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the duration for the specified zone including adjustments\nand constraints', 'signature': 'def zone_duration('}</s>ATTR_DEFAULT_DELAY = "default_delay"
0
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>PFR_TFLAG_USRMASK = 67
0
{'name': 'MainWindow.loadFile@labelImg.py', 'description': 'Load the specified file, or the last opened file if None.', 'signature': 'def loadFile(self, filePath=None):'}</s>__version__ = '.'.join(__version_info__)
0
{'name': 'test_model_from_data@tests/mlmc/test_MLMCSimulator.py', 'description': 'Executes simulate() with models and inputs created from files\nto ensure there are no exceptions while performing basic functionality.', 'signature': 'def test_model_from_data(data_input, models_from_data):'}</s>data_path = my_path + "/....
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': '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': 'Arcball.drag@utils/transformations.py', 'description': 'Update current cursor window coordinates.', 'signature': 'def drag(self, point):'}</s>{'name': 'rotation_from_matrix@utils/transformations.py', 'description': 'Return rotation angle and axis from rotation matrix.\n\n>>> angle = (random.random() - 0.5) * ...
0
{'name': 'File._store@burpui/misc/parser/utils.py', 'description': 'Store the config', 'signature': 'def _store(self, data, dest=None, insecure=False):'}</s>NOTIF_OK = 0
1
{'name': 'TodoistAPI.query@todoist/api.py', 'description': 'DEPRECATED: query endpoint is deprecated for a long time and this\nmethod will be removed in the next major version of todoist-python', 'signature': 'def query(self, queries, **kwargs):'}</s>{'name': 'UploadsManager@todoist/managers/uploads.py', 'description':...
0
{'name': 'DescriptorField.__init__@pyfields/core.py', 'description': 'See help(field) for details', 'signature': 'def __init__(self,'}</s>_NO_BUT_CAN_CACHE_FIRST_RESULT = False
1
{'name': 'train@examples/natural_language/transformers/retrain_bert.py', 'description': 'A function that re-trains BERT for sentiment analysis.', 'signature': 'def train(argv=None):'}</s>{'name': '_find_step_increasing@path_explain/utils.py', 'description': 'A helper function to find the sequential sublists\nof a list....
0
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>get_mask = getmask
0
{'name': 'cross_corr@utils.py', 'description': 'Calculates the cross correlation and lags without normalization.\n\nThe definition of the discrete cross-correlation is in:\nhttps://www.mathworks.com/help/matlab/ref/xcorr.html\n\nArgs:\ny1, y2: Should have the same length.\n\nReturns:\nmax_corr: Maximum correlation with...
0
{'name': 'TestVimModule.test_manual_section_ordering@tests/test_module.py', 'description': 'Sections should be ordered according to explicitly configured order.', 'signature': 'def test_manual_section_ordering(self):'}</s>{'name': 'ContainsMaktabaPluginEnterCall@vimdoc/module.py', 'description': 'Returns whether lines ...
0
{'name': 'ParseArguments@tools/caffe-sphereface/scripts/cpp_lint.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(a...
0
{'name': 'insert_bn@models/vgg.py', 'description': 'Inserts bn layer after each conv.\n\nParameters\n---\nnames : list\n The list of layer names.', 'signature': 'def insert_bn(names: list):'}</s>{'name': 'VGG@models/vgg.py', 'description': 'Creates any type of VGG models.\n\nParameters\n---\nmodel_type : str\n Th...
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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQEPH_CURRENT_VERSION = 1
0
{'name': 'validate@fairseq_cli/train.py', 'description': 'Evaluate the model on the validation set(s) and return the losses.', 'signature': 'def validate('}</s>{'name': 'add_generation_args@fairseq/options.py', 'description': 'DOCSTRING', 'code': 'def add_generation_args(parser):\n group = parser.add_argument_group(...
0
{'name': 'IOSPush.push_peer_batch@ios_push.py', 'description': '不同的collapse_id', 'signature': 'def push_peer_batch(cls, appid, notifications):'}</s>{'name': 'get_bundle_id@models/application.py', 'description': 'DOCSTRING', 'code': 'def get_bundle_id(mysql, appid):\n for i in range(2):\n try:\n sql...
1
{'name': 'ancestral_reconstruction@treetime/wrappers.py', 'description': 'implementing treetime ancestral', 'signature': 'def ancestral_reconstruction(params):'}</s>{'name': 'TreeAnc@treetime/treeanc.py', 'description': 'Class defines simple tree object with basic interface methods: reading and\nsaving from/to files, i...
1
{'name': 'AdbDevice._clse@adb_shell/adb_device.py', 'description': "Send a ``b'CLSE'`` message and then read a ``b'CLSE'`` message.\n\n.. warning::\n\n This is not to be confused with the :meth:`AdbDevice.close` method!\n\n\nParameters\n----------\nadb_info : _AdbTransactionInfo\n Info and settings for this ADB tr...
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': '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': 'test_ssl_env@cheroot/test/test_ssl.py', 'description': 'Test the SSL environment generated by the SSL adapters.', 'signature': 'def test_ssl_env( # noqa: C901 # FIXME'}</s>IS_GITHUB_ACTIONS_WORKFLOW = bool(os.getenv('GITHUB_WORKFLOW'))
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': 'write_text_to_file@src/python_scripts/afnipy/afni_util.py', 'description':...
0
{'name': 'eran_resnet_conv2d@tf_verify/eranlayers.py', 'description': 'Adds a specified number of convolution layers to the graph. Each of the layers has a stride of one in each direction. Padding is always "SAME".\nAdditionally there will be an add connection. The information in inputs will be added to the information...
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': 'up_to_climate@oggm/tests/test_workflow.py', 'description': 'Run the tasks you want.', 'signature': 'def up_to_climate(reset=False, use_mp=None):'}</s>{'name': 'inversion_tasks@oggm/workflow.py', 'description': 'Run all ice thickness inversion tasks on a list of glaciers.\n\nQuite useful to deal with calving g...
0
{'name': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike...
0
{'name': 'Node.process@lesscpy/plib/node.py', 'description': 'Process tokenslist, flattening and parsing it\nargs:\n tokens (list): tokenlist\n scope (Scope): Current scope\nreturns:\n list', 'signature': 'def process(self, tokens, scope):'}</s>{'name': 'flatten@lesscpy/lessc/utility.py', 'description': 'Flatt...
1
{'name': 'BotocoreTestResourceFactory.patch_botocore@pytest_localstack/contrib/botocore.py', 'description': 'Context manager that will patch botocore to use Localstack.\n\nSince boto3 relies on botocore to perform API calls, this method\nalso effectively patches boto3.', 'signature': 'def patch_botocore(self):'}</s>{'n...
0
{'name': 't_String@SyntaxParser/OP/LexicalAnalyzerB.py', 'description': '\\".+?\\"', 'signature': 'def t_String(t):'}</s>tokens = [ 'Identifier', 'Inum', 'Fnum', 'Separator', 'Operator', 'String', ]+ list(reserved.values())
0
{'name': 'Ppt97File.is_encrypted@msoffcrypto/format/ppt97.py', 'description': 'Test if the file is encrypted.\n\n >>> f = open("tests/inputs/plain.ppt", "rb")\n >>> file = Ppt97File(f)\n >>> file.is_encrypted()\n False\n >>> f = open("tests/inputs/rc4cryptoapi_password.ppt", "rb")\n >>> file = Ppt97Fi...
0
{'name': 'HtmlRenderer.__init__@mistletoe/html_renderer.py', 'description': "Args:\n extras (list): allows subclasses to add even more custom tokens.\n html_escape_double_quotes (bool): whether to also escape double\n quotes when HTML-escaping rendered text.\n html_escape_single_quotes (bool): whether t...
0