text
string
label
int64
{'name': 'test_gossip@test.py', 'description': 'Create a network of lightningd nodes and connect to it using 2 new nodes\n ', 'signature': 'def test_gossip(node_factory, bitcoind, impls):'}</s>__attempts = {}
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQ_OBJECT_INSTANCE_ID_LENGTH = 24
0
{'name': 'IPDatabase.generate_vivado_inc_dirs@ipstools/ipstools/IPDatabase.py', 'description': "Exports the Vivado `inc_dirs` script.\n\n :param filename: Output script file name.\n :type filename: str\n\n :param domain: If not None, the domain to be targeting for script generation...
0
{'name': 'suggest_attribute_alternative@didyoumean/didyoumean_internal.py', 'description': 'Suggest alternative to the non-found attribute.', 'signature': 'def suggest_attribute_alternative(attribute, type_str, attributes):'}</s>{'name': 'suggest_attribute_as_special_case@didyoumean/didyoumean_internal.py', 'descriptio...
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': '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': 'Copyleaks.set_api_uri@copyleaks/copyleaks.py', 'description': 'Set the API server URI.\n\nParameters:\n uri: string.', 'signature': 'def set_api_uri(uri):'}</s>{'name': 'CommandError@copyleaks/exceptions/command_error.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': [{'name': 'Com...
0
{'name': 'RuntimeAPI.do_show_tables@tools/runtime_CLI.py', 'description': 'List tables defined in the P4 program: show_tables', 'signature': 'def do_show_tables(self, line):'}</s>{'name': 'RegisterArray@tools/runtime_CLI.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'RegisterArray.__init__@t...
0
{'name': 'test_change_statement_timeout@test/io/test_io.py', 'description': 'Statement timeout changes take effect immediately', 'signature': 'def test_change_statement_timeout(defaultenv, metapostgrest):'}</s>{'name': 'test_random_port_bound@test/io/test_io.py', 'description': 'PostgREST should bind to a random port w...
0
{'name': 'get_model@models.py', 'description': 'Get appropriate model based on model_name and input arguments\nArgs: \n model_name - (str) which model to use \n kwargs - input arguments corresponding to the model name\n\nReturns: \n returns the model!', 'signature': 'def get_model(model_name, **kwargs):'}</s>{'name'...
0
{'name': 'CalculateKappa1@PyBioMed/PyMolecule/kappa.py', 'description': '#################################################################\nCalculation of molecular shape index for one bonded fragment\n\n---->kappa1\n\nUsage:\n\n result=CalculateKappa1(mol)\n\n Input: mol is a molecule object.\n\n Output: resu...
0
{'name': 'show_settings@versions/speed-cam_8.87.py', 'description': 'Initialize and Display program variable settings from config.py', 'signature': 'def show_settings():'}</s>IM_SAVE_4AI_DAY_THRESH = 10
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': 'loadingList@main.py', 'description': '载入官方列表\n:return:', 'signature': 'def loadingList():'}</s>{'name': 'raceId_get_data@goneng.py', 'description': '根据羁绊的id返回羁绊数据\n:param race:\n:param race_id:\n:return:', 'code': "def raceId_get_data(race, race_id):\n '''\n 根据羁绊的id返回羁绊数据\n :param race:\n :param r...
0
{'name': 'SerializableMixin._serialize@backend/flask/app/models.py', 'description': 'Jsonify the sql alchemy query result.', 'signature': 'def _serialize(self):'}</s>{'name': 'load_user@backend/flask/app/models.py', 'description': 'DOCSTRING', 'code': 'def load_user(user_id):\n return User.query.get(int(user_id))'}
0
{'name': 'CirqSimulateStateTest.test_state_empty_circuit@tensorflow_quantum/core/ops/cirq_ops_test.py', 'description': 'Test empty circuits', 'signature': 'def test_state_empty_circuit(self):'}</s>{'name': '_group_tuples@tensorflow_quantum/core/ops/cirq_ops.py', 'description': 'Helper that groups a `list` of `tuple`s b...
0
{'name': 'BaseMessageBus.add_message_handler@dbus_next/message_bus.py', 'description': 'Add a custom message handler for incoming messages.\n\nThe handler should be a callable that takes a :class:`Message\n<dbus_next.Message>`. If the message is a method call, you may return\nanother Message as a reply and it will be m...
0
{'name': 'IUCoordinator.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the system', 'signature': 'def load(self, config: OrderedDict) -> "IUCoordinator":'}</s>{'name': 'IUController@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description'...
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': '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': 'RecentList.getall@shingetsu/cache.py', 'description': 'Search nodes and update my recent list.', 'signature': 'def getall(self):'}</s>admin_net = _get_value(_extconf, 'Gateway', 'admin_net', '::1, 127.0.0.1')
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': '_GenerateMSVSProject@gyp/pylib/gyp/generator/msvs.py', 'description': 'Generates a .vcproj file. It may create .rules and .user files too.\n\nArguments:\n project: The project object we will generate the file for.\n options: Global options passed to the generator.\n version: The VisualStudioVersion object...
0
{'name': 'BeliefPredictor.update@ss_baselines/savi/models/belief_predictor.py', 'description': "update the current observations with estimated pointgoal in the agent's current coordinate frame\nif spectrogram in the current obs is zero, transform last estimate to agent's current coordinate frame", 'signature': 'def upd...
1
{'name': 'AccountsDaemon.__init__@packages/python-google-compute-engine/google_compute_engine/accounts/accounts_daemon.py', 'description': "Constructor.\n\nArgs:\n groups: string, a comma separated list of groups.\n remove: bool, True if deprovisioning a user should be destructive.\n useradd_cmd: string, command to ...
0
{'name': 'map_async_run_loop@tools/lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Blocks until the Pool.map_async completes and the channel completes.\n\n@param future an AsyncResult instance from a Pool.map_async() call.\n\n@param channel_map the asyncore dispatch channel map that should be pumped.\nOp...
0
{'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': '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': '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': 'ITypeComp.Bind@comtypes/typeinfo.py', 'description': 'Bind to a name', 'signature': 'def Bind('}</s>{'name': 'STDMETHOD@comtypes/_memberspec.py', 'description': 'Specifies a COM method slot without idlflags', 'code': 'def STDMETHOD(restype, name, argtypes=()) -> _ComMemberSpec:\n "Specifies a COM method sl...
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': 'run@examples/benchmark/run_sift1b.py', 'description': 'Given a searcher, run the search. Return the runtime and the accuracy\n\nArgs:\n engine (rii.Rii): Rii search engine\n L (int): The number of candidates for search\n Xq (np.array): Query vectors. shape=(Nq, D). dtype=np.float32\n gt (np.array)...
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>args = parser.parse_args()
1
{'name': 'MsgView._collect_msgs_to_draw@tg/views.py', 'description': 'Tries to collect list of messages that will satisfy `min_msg_padding`\ntheshold. Long messages could prevent other messages from displaying on\nthe screen. In order to prevent scenario when *selected* message moved\nout from the visible area of the s...
0
{'name': 'Transcript.__init__@src/corpora/swda/swda_reader/swda.py', 'description': 'Sets up all the attribute values:\n\nParameters\n----------\nswda_filename : str\n The filename for this transcript.\nmetadata : str or Metadata\n If a string, then assumed to be the metadata fileame, and\n the metadata is cre...
1
{'name': 'MultispeakerDictionaryMixin.dictionary_setup@montreal_forced_aligner/dictionary/multispeaker.py', 'description': 'Set up the dictionary for processing', 'signature': 'def dictionary_setup(self) -> Tuple[typing.Set[str], collections.Counter]:'}</s>{'name': 'load_configuration@montreal_forced_aligner/config.py'...
0
{'name': 'AttributeErrorTests.test_set_dict_comprehension@didyoumean/didyoumean_sugg_tests.py', 'description': '{} creates a dict and not an empty set leading to errors.', 'signature': 'def test_set_dict_comprehension(self):'}</s>{'name': 'NameErrorTests@didyoumean/didyoumean_sugg_tests.py', 'description': 'Class for t...
0
{'name': 'StandardMzml.__getitem__@pymzml/file_classes/standardMzml.py', 'description': "Access the item with id 'identifier'.\n\nEither use linear, binary or interpolated search.\n\nArguments:\n identifier (str): native id of the item to access\n\nReturns:\n data (str): text associated with the given identifier"...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQZAD_CURRENT_VERSION = 2
0
{'name': 'IUCoordinator.register_entity@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'A HA entity has been registered', 'signature': 'def register_entity('}</s>RES_TIMELINE_NEXT = "next"
0
{'name': 'Writer.register@transit/writer.py', 'description': 'Register custom converters for object types present in your\napplication. This allows you to extend Transit to encode new types.\nYou must specify the obj type to be encoded, and the handler class\nthat should be used by the Marshaler during write-time.', '...
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': 'buttonClick@main.py', 'description': '按钮事件都绑定在这里了\n:return:', 'signature': 'def buttonClick():'}</s>{'name': 'tablistClick@main.py', 'description': '官方阵容鼠标选中时\n:return:', 'code': "def tablistClick():\n '''\n 官方阵容鼠标选中时\n :return:\n '''\n global dangqianData, spjzFrom, zrzwFrom\n # 取当前选中项\n ...
0
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru...
0
{'name': 'create_linux_export_file@tools/ipp_custom_library_tool_python/tool/generators.py', 'description': 'Creates Linux export file\n\n:param export_file:\n:param functions_list:\n:return:', 'signature': 'def create_linux_export_file(export_file, functions_list):'}</s>LIB_THREAD_TYPE_SUBDIR = { DirLayout.NEW: { ...
0
{'name': 'make_condor_jobs@experiments/uci_exps/bayesian_benchmarks/scripts/make_experiments.py', 'description': "Writes a condor submission file, and also creates the executable if necessary. Preamble for the \nexectable (e.g. for setting up the python environment) should go in 'preamble.txt.txt'. Preamble\nfor the co...
0
{'name': 'get_precision@pyrgg/functions.py', 'description': 'Return precision of input number.\n\n:param input_number: input number\n:type input_number: float\n:return: precision as int', 'signature': 'def get_precision(input_number):'}</s>PYRGG_CONFIG_LIST_MESSAGE = "Config files detected in the current directory are ...
0
{'name': 'random_split@datawig/utils.py', 'description': 'Shuffles and splits a Data frame into partitions with specified percentages of data\n\n:param data_frame: a pandas DataFrame\n:param split_ratios: percentages of splits\n:param seed: seed of random number generator\n:return:', 'signature': 'def random_split(data...
0
{'name': 'CPLEX_CMD.readsol@pulp/apis/cplex_api.py', 'description': 'Read a CPLEX solution file', 'signature': 'def readsol(filename):'}</s>{'name': 'LpSolver@pulp/apis/core.py', 'description': 'A generic LP Solver', 'base_classes': [], 'methods': [{'name': 'LpSolver.__init__@pulp/apis/core.py', 'description': ':param ...
0
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ...
0
{'name': 'LongTypesExprTestCase.test_unsigned_long_type_from_block@llvm-project/lldb/test/API/types/TestLongTypesExpr.py', 'description': "Test that 'unsigned_long'-type variables are displayed correctly from a block.", 'signature': 'def test_unsigned_long_type_from_block(self):'}</s>{'name': 'skipIfiOSSimulator@llvm-p...
0
{'name': 'sysinit@da/common.py', 'description': 'Initialize the DistAlgo system.\n\nThis function must be called before any DistAlgo code can run. Specifically,\nevery child process created under spawning semantics must call this function\nduring initialization.', 'signature': 'def sysinit():'}</s>{'name': 'BufferIOWra...
0
{'name': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ...
0
{'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': 'SymbioticCC.run@lib/symbioticpy/symbiotic/transform.py', 'description': 'Compile the program, optimize and slice it and\nreturn the name of the created bitcode', 'signature': 'def run(self):'}</s>{'name': 'print_stderr@lib/symbioticpy/symbiotic/utils/utils.py', 'description': 'DOCSTRING', 'code': 'def print_s...
0
{'name': '_clean_up_temporary_files@slim/datasets/download_and_convert_mnist.py', 'description': 'Removes temporary files used to create the dataset.\n\nArgs:\n dataset_dir: The directory where the temporary files are stored.', 'signature': 'def _clean_up_temporary_files(dataset_dir):'}</s>LYMPH_DATA_DIR = DATA_DIR + ...
0
{'name': 'big_tests@utils/pavement.py', 'description': 'Run all example unit_tests in a fresh python 2.7 context. ', 'signature': 'def big_tests(quiet=False):'}</s>{'name': 'unit_tests@utils/pavement.py', 'description': 'Run all the unit tests in a Python 2.7 py.test context, and produce coverage report. ', 'code': 'de...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQSTDBY_PERMITTED = 1
0
{'name': 'RenderCar._resize@car/render_car.py', 'description': 'Parameters\n----------\npil_img: pil image\n input image\nmin_scale: float\n minimum ratio of resize\nmax_scale: float\n maximum ratio of resize\nr1: float\n resize ratio of height to width\n\nReturns\n----------\nresize: float\n resize ratio\nresize_...
0
{'name': 'IKinSpace@7_Demo_youBotPickAndPlace/code/modern_robotics/core.py', 'description': 'Computes inverse kinematics in the space frame for an open chain robot\n\n:param Slist: The joint screw axes in the space frame when the\n manipulator is at the home position, in the format of a\n matr...
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': 'build_recipes@bioconda_utils/build.py', 'description': 'Build one or many bioconda packages.\n\nArguments:\n recipe_folder: Directory containing possibly many, and possibly nested, recipes.\n config_path: Path to config file\n packages: Glob indicating which packages should be considered. Note that package...
0
{'name': 'marginal_expectation@dpipe/im/dist.py', 'description': 'Computes expectations along the ``axis`` according to ``integrals`` independently.\n\n``args`` and ``kwargs`` are passed to ``integral`` as additional arguments.', 'signature': 'def marginal_expectation(distribution: Tensor, axis: AxesLike,'}</s>{'name'...
1
{'name': 'parse_message@singer/messages.py', 'description': 'Parse a message string into a Message object.', 'signature': 'def parse_message(msg):'}</s>{'name': 'chunk@singer/utils.py', 'description': 'DOCSTRING', 'code': 'def chunk(array, num):\n for i in range(0, len(array), num):\n yield array[i:i + num]'}
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIA_DEF_BIND = 61
0
{'name': 'RestApi.create_deck@tinycards/networking/rest_api.py', 'description': 'Create a new Deck for the currently logged in user.\n\nArgs:\n deck (Deck): The Deck object to create.\n\nReturns:\n Deck: The created Deck object if creation was successful.', 'signature': 'def create_deck(self, deck):'}</s>{'name':...
0
{'name': 'banti2chamanti@banti2chamanti.py', 'description': 'Input to Conv layer is (bz, SW, SH, m)\nKernals are k, (ksw, ksh)\nOutput shape is (bz, SW, SH, k)\n\nKernal weights will be (ksw, ksh, m, k)\n\nBanti kernal weights will be (k, m, ksh, ksw) \n So just apply transpose before loading to chamanti', 'signatur...
1
{'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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCACF_UOW_START_DATE = 3060
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>MQRCCF_CUSTOM_ERROR = 3355
0
{'name': 'Model.fit@mokapot/model.py', 'description': 'Fit the model using the Percolator algorithm.\n\nThe model if trained by iteratively learning to separate decoy\nPSMs from high-scoring target PSMs. By default, an initial\ndirection is chosen as the feature that best separates target\nfrom decoy PSMs. A false disc...
1
{'name': 'Client.publish@mqttools/client.py', 'description': "Publish given message :class:`Message` with QoS 0.\n\n>>> client.publish(Message('/my/topic', b'my-message'))", 'signature': 'def publish(self, message):'}</s>{'name': 'SubscribeError@mqttools/client.py', 'description': 'DOCSTRING', 'base_classes': ['ReasonE...
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>CONF_SUN = "sun"
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': 'Function.simplify_string_getter_from_storage@panoramix/function.py', 'description': 'a heuristic for finding string getters and replacing them\nwith a simplified version\n\ntest cases: unicorn\n 0xF7dF66B1D0203d362D7a3afBFd6728695Ae22619 name\n 0xf8e386EDa857484f5a12e4B5DAa9984E06E73705 ...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIAMO_PENDING_PKTS = 799
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_CONN_INFO_TYPE = 1110
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': 'test_sig_at_beginning@cytoolz/tests/test_embedded_sigs.py', 'description': 'Test that the function signature is at the beginning of the docstring\nand is followed by exactly one blank line.', 'signature': 'def test_sig_at_beginning():'}</s>{'name': 'identity@cytoolz/tests/test_itertoolz.py', 'description': 'D...
0
{'name': 'Dicom2STL@dicom2stl/Dicom2STL.py', 'description': 'The primary dicom2stl function', 'signature': 'def Dicom2STL(args):'}</s>{'name': 'writePLY@dicom2stl/utils/vtkutils.py', 'description': 'Read a PLY mesh file.', 'code': 'def writePLY(mesh, name):\n """Read a PLY mesh file."""\n try:\n writer = v...
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': 'bustools_count@kb_python/count.py', 'description': 'Runs `bustools count`.\n\nArgs:\n bus_path: Path to BUS file to correct\n out_prefix: Prefix of the output files to generate\n t2g_path: Path to output transcript-to-gene mapping\n ecmap_path: Path to ecmap file, as generated by `kallisto bus`\n ...
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': 'Afni1D.label_prefix_to_ints@src/python_scripts/afnipy/lib_afni1D.py', 'description': 'return a list of label indices, based on what is kept or dropped\n keep labels in their original order\n\n if keep_pre and one of keep_pre matches, keep\n if drop_pre and one of drop_pre matches, remove\n\nreturn 0 on ...
0
{'name': 'AGraph.clear@pygraphviz/agraph.py', 'description': 'Remove all nodes, edges, and attributes from the graph.', 'signature': 'def clear(self):'}</s>{'name': 'agedge@pygraphviz/graphviz.py', 'description': 'DOCSTRING', 'code': 'def agedge(g, t, h, name, createflag):\n return _graphviz.agedge(g, t, h, name, cr...
0
{'name': 'ProcessGlobalSuppresions@tools/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty if the file is...
0
{'name': 'xy_rotate_box@apphelper/image.py', 'description': '绕 cx,cy点 w,h 旋转 angle 的坐标\nx_new = (x-cx)*cos(angle) - (y-cy)*sin(angle)+cx\ny_new = (x-cx)*sin(angle) + (y-cy)*sin(angle)+cy', 'signature': 'def xy_rotate_box(cx,cy,w,h,angle):'}</s>{'name': 'sort_box_@apphelper/image.py', 'description': 'DOCSTRING', 'code':...
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': 'geticmpcodebynumber@pf/_utils.py', 'description': 'Return the ICMP code as a string.', 'code': 'def geticmpcodebynumber(type, code, af):\n """Return the ICMP code ...
0
{'name': 'getSchemaDetails@redfish_service_validator/metadata.py', 'description': 'Find Schema file for given Namespace.\n\nparam SchemaType: Schema Namespace, such as ServiceRoot\nparam SchemaURI: uri to grab schema, given LocalOnly is False\nreturn: (success boolean, a Soup object, origin)', 'signature': 'def getSche...
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': 'analyze_number@lesscpy/lessc/utility.py', 'description':...
0
{'name': 'predict@02_tools-and-packages/solution_numpy.py', 'description': 'You need to care about single and multidimensional arrays.', 'signature': 'def predict(a_mat, x_vec):'}</s>n = 2
0
{'name': 'Status.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.\n\nArgs:\n time_multiplier: Instance of util.TimeMultiplier.\n pause: An observable pause subject, instance of util.ObservableFlag.\n frame_timer: A Timer instance counting duration of frames.', 'signature': 'def __in...
0
{'name': 'test_algo@pyFileFixity/tests/test_header_ecc.py', 'description': 'hecc: test algorithms equivalence ', 'signature': 'def test_algo():'}</s>{'name': 'check_gui_arg@pyFileFixity/header_ecc.py', 'description': 'Check that the --gui argument was passed, and if true, we remove the --gui option and replace by --gui...
0
{'name': 'TLP.check@fpga/lib/pcie/tb/pcie.py', 'description': 'Validate TLP', 'signature': 'def check(self):'}</s>TLP_MSG_DATA_ADDR = (FMT_4DW_DATA, 0x11)
0
{'name': 'create_s3_destination@security/guardduty/index.py', 'description': 'Create the s3 publishing destination for GuardDuty in the Control Tower\ncentral logging account. GuardDuty findings are encrypted using\nthe KMS key in the GuardDuty master account.\n:param sts_session: STS sesion of the GuardDuty master ac...
1
{'name': 'rdk.init@rdk/rdk.py', 'description': 'This is a test.', 'signature': 'def init(self):'}</s>{'name': 'get_modify_parser@rdk/rdk.py', 'description': 'DOCSTRING', 'code': 'def get_modify_parser():\n return get_rule_parser(False, "modify")'}
0
{'name': 'PumpEvents@comtypes/client/_events.py', 'description': "This following code waits for 'timeout' seconds in the way\nrequired for COM, internally doing the correct things depending\non the COM appartment of the current thread. It is possible to\nterminate the message loop by pressing CTRL+C, which will raise\...
0
{'name': 'sv3dBox.get_metadata_string@spatialmedia/mpeg/sv3d.py', 'description': 'Outputs a concise single line audio metadata string. ', 'signature': 'def get_metadata_string(self):'}</s>{'name': 'load@spatialmedia/mpeg/box.py', 'description': 'Loads the box located at a position in a mp4 file.\n\nArgs:\n fh: file ha...
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': '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