text
string
label
int64
{'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': 'colonize@rtslib/utils.py', 'description': 'helper function to add colons every 2 chars', 'signature': 'def colonize(string):'}</s>{'name': '_cleanse_wwn@rtslib/utils.py', 'description': 'Some wwns may have alternate text representations. Adjust to our\npreferred representation.', 'code': 'def _cleanse_wwn(wwn...
0
{'name': 'control_read_initial_values@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Read initial control values', 'signature': 'def control_read_initial_values(sniffer):'}</s>{'name': 'InvalidPacketException@tools/ble_sniffer/extcap/SnifferAPI/Exceptions.py', 'description': 'DOCSTRING', 'base_classes': ...
0
{'name': 'CollapsingMergeTree._get_date_rate_filter@src/django_clickhouse/engines.py', 'description': 'Generates datetime filter to speed up final queries, if date_col is present\n:param objects: Objects, which are inserted\n:param model_cls: Model class for which data is fetched\n:param db_alias: ClickHouse database a...
0
{'name': 'TypeAndTypeListTestCase.test@tools/lldb/packages/Python/lldbsuite/test/python_api/type/TestTypeList.py', 'description': 'Exercise SBType and SBTypeList API.', 'signature': 'def test(self):'}</s>VALID_MODULE = "Got a valid module"
0
{'name': 'analyze_enemy_ub@analyze.py', 'description': 'analyze enemy ub\n\n\nArgs\n time_count (int): count up after ub\n work_frame (ndarray): expand frame\n find_time (string): m:ss\n ub_data_enemy (list): found ub data with enemy ub\n\n\nReturns', 'signature': 'def analyze_enemy_ub(time_count, work_fram...
0
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>_FEATURESET_ENUM_TYPE_CLOSED = 2
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': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field...
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': 'DASourceFileLoader.get_code@da/importer/py36.py', 'description': 'Concrete implementation of InspectLoader.get_code.\n\nReading of bytecode requires path_stats to be implemented. To write\nbytecode, set_data must also be implemented.', 'signature': 'def get_code(self, fullname):'}</s>CONSOLE_LOG_FORMAT = "[%(...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQSECITEM_MXQUEUE = 10
0
{'name': 'MainInterface.process_options@src/python_scripts/scripts/uber_ttest.py', 'description': 'return 1 on valid and exit\n 0 on valid and continue\n-1 on invalid', 'signature': 'def process_options(self):'}</s>import_find_test_25_def = " def import_find_test_25(libname, details=1, verb=1): # return loaded libr...
0
{'name': 'BareValidator._validate_items@cerberus/validator.py', 'description': "{'type': 'list', 'check_with': 'items'}", 'signature': 'def _validate_items(self, items, field, values):'}</s>{'name': 'DocumentError@cerberus/validator.py', 'description': 'Raised when the target document is missing or has the wrong format...
0
{'name': 'GenerateCard@pyexfil/includes/data_generator.py', 'description': '[Wrapper] Generate credit card.\n:param kind: CardTypes Types\n:return: [company, number]', 'signature': 'def GenerateCard(kind):'}</s>{'name': 'GenerateName@pyexfil/includes/data_generator.py', 'description': 'Stupid wrapper.\n:return: Name. D...
0
{'name': 'sign_tx@bit/transaction.py', 'description': 'Signs inputs in provided transaction object for which unspents\nare provided and can be signed by the private key.\n\n:param private_key: Private key\n:type private_key: ``PrivateKey`` or ``MultiSig``\n:param tx: Transaction object\n:type tx: ``TxObj``\n:param unsp...
0
{'name': 'generate_routes_go@swagger_to/go_server.py', 'description': 'Generate the file which defines the router and the routes.\n\n:param package: name of the package\n:param routes: routes that the router will handle.\n:return: Golang code', 'signature': 'def generate_routes_go(package: str, routes: List[Route]) -> ...
0
{'name': 'Paragraph.drawPara@xhtml2pdf/reportlab_paragraph.py', 'description': 'Draws a paragraph according to the given style.\nReturns the final y position at the bottom. Not safe for\nparagraphs without spaces e.g. Japanese; wrapping\nalgorithm will go infinite.', 'signature': 'def drawPara(self, debug=0):'}</s>{'na...
0
{'name': 'extract_symbol@python/ffi_navigator/pattern.py', 'description': 'Find the complete expression, include namespace prefix', 'signature': 'def extract_symbol(source, pos: Position):'}</s>{'name': 'Pattern@python/ffi_navigator/pattern.py', 'description': 'Base class of all interesting code patterns.', 'base_class...
0
{'name': 'parse_tcsh_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for tcsh scripter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'signature...
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': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>_user_prop_final = Z3_final_eh(user_prop_final...
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': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\n...
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': 'QuestionDetailViewTests.test_future_question@polls/tests.py', 'description': 'The detail view of a question with a pub_date in the future\nreturns a 404 not found.', 'signature': 'def test_future_question(self):'}</s>{'name': 'QuestionDetailViewTests@polls/tests.py', 'description': 'DOCSTRING', 'base_classes'...
1
{'name': 'CMSISDAPProbe.reset@pyocd/probe/cmsis_dap_probe.py', 'description': 'Reset the target', 'signature': 'def reset(self):'}</s>{'name': 'TransferFaultError@pyocd/core/exceptions.py', 'description': '! @brief An SWD Fault occurred', 'base_classes': ['TransferError'], 'methods': [{'name': 'TransferFaultError.__ini...
0
{'name': 'RobotFileParser.can_fetch@src/future/backports/urllib/robotparser.py', 'description': 'using the parsed robots.txt decide if useragent can fetch url', 'signature': 'def can_fetch(self, useragent, url):'}</s>_ALWAYS_SAFE = frozenset(bytes(b'ABCDEFGHIJKLMNOPQRSTUVWXYZ' b'abcdefghi...
0
{'name': 'process_lookup_path@gef.py', 'description': 'Look up for a path in the process memory mapping.\nReturn a Section object if found, None otherwise.', 'signature': 'def process_lookup_path(name: str, perm: Permission = Permission.ALL) -> Section | None:'}</s>GEF_EXTRAS_DEFAULT_BRANCH = "main"
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': '_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...
1
{'name': 'build_transformer_model@bert4keras/models.py', 'description': '根据配置文件构建模型,可选加载checkpoint权重\n ', 'signature': 'def build_transformer_model('}</s>{'name': 'RelativePositionEmbedding@bert4keras/layers.py', 'description': '相对位置编码\n来自论文:https://arxiv.org/abs/1803.02155', 'base_classes': ['Layer'], 'methods': [{...
0
{'name': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>get_function_closure = operator.attrgett...
0
{'name': 'ClockTree._set_precision@treetime/clock_tree.py', 'description': 'function that sets precision to a (hopefully) reasonable guess based\non the length of the sequence if not explicitly set', 'signature': 'def _set_precision(self, precision):'}</s>N_INTEGRAL_ROUGH = 60
1
{'name': 'rk3_step_func@torchdiffeq/_impl/rk_common.py', 'description': 'butcher_tableu should be of the form\n\n[\n [0 , 0 , 0 , 0],\n [c_2, a_{21}, 0 , 0],\n [c_3, a_{31}, a_{32}, 0],\n [0 , b_1 , b_2 , b_3],\n]\n\nhttps://en.wikipedia.org/wiki/List_of_Runge-Kutta_methods', 'signat...
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': 'remove_y@test/test_utils.py', 'description': 'Quadruplets and triplets learners have no y in fit, but to write test for\nall estimators, it is convenient to have this function, that will return X\nand y if the estimator needs a y to fit on, and just X otherwise.', 'signature': 'def remove_y(estimator, X, y):'...
0
{'name': 'profile_dump@lib/charliecloud.py', 'description': 'If profiling, dump the profile data.', 'signature': 'def profile_dump():'}</s>{'name': 'profile_start@lib/charliecloud.py', 'description': 'If profiling, start the profiler.', 'code': 'def profile_start():\n "If profiling, start the profiler."\n global pr...
0
{'name': 'PackageFinder._link_package_versions@scripts/pdns/lib/python2.7/site-packages/pip/index.py', 'description': 'Return an InstallationCandidate or None', 'signature': 'def _link_package_versions(self, link, search):'}</s>get_function_globals = operator.attrgetter(_func_globals)
0
{'name': '_AppHandler.build@jupyterlab/commands.py', 'description': 'Build the application.', 'signature': 'def build('}</s>{'name': '_unlink@jupyterlab/commands.py', 'description': 'Remove a file, logging errors', 'code': 'def _unlink(path, logger):\n """Remove a file, logging errors"""\n try:\n os.unlink...
0
{'name': '_discretize_dual@tulip/abstract/discretization.py', 'description': 'Refine partition, based on reachability analysis.\n\nRefines the partition, and establishes transitions\nbased on reachability analysis.\nUses dual-simulation algorithm.\n\n\nReference\n=========\n1. [NOTM12](\n https://tulip-control.sourc...
0
{'name': 'prune_conv1d_layer@source/pytorch_transformers/modeling_utils.py', 'description': 'Prune a Conv1D layer (a model parameters) to keep only entries in index.\nA Conv1D work as a Linear layer (see e.g. BERT) but the weights are transposed.\nReturn the pruned layer as a new layer with requires_grad=True.\nUsed to...
1
{'name': 'check_project_manifest@tests/test_generator.py', 'description': 'Perform the following:\n\n * checks that `config_path` exists\n * loads the contents of `config_path` using `serializer.load`\n * check that the contents match with the values provided in input. Specifically:\n * "name" == app_na...
1
{'name': 'check_thickStart@bioframe/io/bed.py', 'description': 'Validate the thickStart column of a BED dataframe.\n\nMust be an integer between start and end, inclusive. When all features\nhave uninformative thickStarts, the value of start should be used.', 'signature': 'def check_thickStart(df: pd.DataFrame) -> dict[...
0
{'name': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra...
0
{'name': 'Request.get_response@spider/network/request.py', 'description': '获取带有selector功能的response\n@param save_cached: 保存缓存 方便调试时不用每次都重新下载\n@return:', 'signature': 'def get_response(self, save_cached=False):'}</s>{'name': 'Item@spider/network/item.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name...
0
{'name': 'BaseImage.range_threshold@wand/image.py', 'description': "Applies soft & hard thresholding.\n\nFor a soft thresholding, parameters should be monotonically increasing:\n\n with Image(filename='text.png') as img:\n img.range_threshold(0.2, 0.4, 0.6, 0.8)\n\nFor a hard thresholding, parameters should b...
0
{'name': 'reconstruction_parser@hcl2/parser.py', 'description': 'Build parser for transforming python structures into HCL2 text.\nThis is duplicated from `parser` because we need different options here for\nthe reconstructor. Please make sure changes are kept in sync between the two\nif necessary.', 'signature': 'def r...
0
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>_NANOS_PER_MILLISECOND = 1000000
0
{'name': 'SystemTest.test_get_active_mode_hot_water_holiday_mode@tests/test_system.py', 'description': 'Test get active mode for hot water with holiday mode.', 'signature': 'def test_get_active_mode_hot_water_holiday_mode(self) -> None:'}</s>{'name': '_zone_senso@tests/conftest.py', 'description': 'DOCSTRING', 'code': ...
0
{'name': 'do_setup@versioneer.py', 'description': 'Do main VCS-independent setup function for installing Versioneer.', 'signature': 'def do_setup():'}</s>{'name': 'VersioneerConfig@versioneer.py', 'description': 'Container for Versioneer configuration parameters.', 'base_classes': [], 'methods': []}
0
{'name': 'AssessmentBase.__init__@pelicun/assessment.py', 'description': 'Initialize an Assessment object.\n\nParameters\n----------\nconfig_options:\n User-specified configuration dictionary.', 'signature': 'def __init__(self, config_options: dict[str, Any] | None = None) -> None:'}</s>pp = pprint.PrettyPrinter(ind...
0
{'name': 'load_capsule_from_bytes@vcap/vcap/loading/capsule_loading.py', 'description': "Loads a capsule from the given bytes.\n\n:param data: The data of the capsule\n:param source_path: The path to the capsule's source code, if it's\n available at runtime\n:param key: The AES key to decrypt the capsule with, or No...
0
{'name': 'AnkiDataFrame.raw@ankipandas/ankidf.py', 'description': 'Bring a :class:`AnkiDataFrame` into the ``raw`` format (i.e. the\nexact format that Anki uses in its internal representation) .\n\nArgs:\n inplace: If False, return new dataframe, else update old one\n force: If a previous conversion fails, :meth:...
0
{'name': 'parse_1dplot_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for Pythony 1dplotter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'sig...
0
{'name': 'humanbytes@resources/lib/util.py', 'description': 'Return the given bytes as a human friendly KB, MB, GB, or TB string', 'signature': 'def humanbytes(B):'}</s>{'name': 'get_dir_size@resources/lib/util.py', 'description': 'DOCSTRING', 'code': "def get_dir_size(directory, raw=False):\n\tPLog('get_dir_size: ' + ...
0
{'name': 'strategy2mealy@tulip/synth.py', 'description': 'Convert strategy to Mealy transducer.\n\nNote that the strategy is a deterministic game graph,\nbut the input `A` is given as the contraction of\nthis game graph.\n\n@param A:\n strategy', 'signature': 'def strategy2mealy('}</s>{'name': '_conj_neg_diff@tulip/...
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': 'sourceforge_import@code/synchronization/sourceforge_import.py', 'description': 'Scraps Sourceforge project sites and adds developer information to the entries', 'signature': 'def sourceforge_import():'}</s>valid_fields = ('File', 'Title') + valid_properties + ('Note', 'Building')
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_print@gef.py', 'description': 'Wrapper around print(), using string ...
0
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>{'name': 'pf_poolhashkey@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'preprocess_img@tools/train_with_placeholder.py', 'description': ':param img_plac: [H, W, 3] uint 8 img. In RGB.\n:param gtbox_plac: shape of [-1, 5]. [xmin, ymin, xmax, ymax, label]\n:return:', 'signature': 'def preprocess_img(img_plac, gtbox_plac):'}</s>FAST_RCNN_MINIBATCH_SIZE = 256
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>log = logging.getLogger(__name__)
0
{'name': 'set_M4A_data@ytmdl/song.py', 'description': 'Set the tags in the m4a file passed.', 'signature': 'def set_M4A_data(song, song_path):'}</s>{'name': 'set_OPUS_data@ytmdl/song.py', 'description': 'Set the data into an OPUS container according to the\npassed data.', 'code': 'def set_OPUS_data(song, song_path):\n ...
0
{'name': 'PUBLISH.decode@src/mqtt/pdu.py', 'description': 'Decode a PUBLISH control packet. ', 'signature': 'def decode(self, packet):'}</s>{'name': 'decodeString@src/mqtt/pdu.py', 'description': 'Decodes an UTF-8 string from an encoded MQTT bytearray.\nReturns the decoded string and renaining bytearray to be parsed', ...
1
{'name': 'precond_grad_UVd_math@preconditioned_stochastic_gradient_descent.py', 'description': "Preconditioning gradient g with Q = (I + U*V')*diag(d).\n \nAll variables here are either matrices or column vectors. ", 'signature': 'def precond_grad_UVd_math(U, V, d, g):'}</s>{'name': ...
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': 'RTZ@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def RTZ(ctx=None):\n ctx = _get_ctx(ctx)\n...
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': 'process_log@tools/warn/warn_common.py', 'description': 'Function that handles processing of a log.\n\nThis is isolated into its own function (rather than just taking place in main)\nso that it can be used by both warn.py and the borg job process_gs_logs.py, to\navoid duplication of code.\nNote that if the arg...
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': 'encryptFdat@fwtool/sony/fdat.py', 'description': 'Encrypts a FDAT file', 'signature': 'def encryptFdat(file, crypterName):'}</s>updateModeMinor = b'M'
0
{'name': 'imfilter2D_SpatialDomain@training_codes/utils/utils_model.py', 'description': 'If the input and the kernel are both multichannel tensors then each\nchannel of the input is filtered by the corresponding channel of the \nkernel.Otherwise, if kernel has a single channel each channel of the input\nis filtered by ...
0
{'name': 'MCMCMetropoliHastings.sample@abcpy/inferences.py', 'description': 'Samples from the posterior distribution of the model parameter given the observed\ndata observations. The MCMC is run for burnin + n_samples steps, and n_samples_per_param are used at each step\nto estimate the approximate loglikelihood. The b...
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_APPL_FUNCTION = 3200
0
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PFQS_ROOTCLASS = 2
0
{'name': 'enumerate_mpi_declarations@src/services/mpiwrap/wrap.py', 'description': "Invokes mpicc's C preprocessor on a C file that includes mpi.h.\nParses the output for declarations, and yields each declaration to\nthe caller.", 'signature': 'def enumerate_mpi_declarations(mpicc, includes):'}</s>{'name': 'LineTrackin...
0
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'render_stream_results@src/server/server.py', 'description': 'Route to current race leaderboard stream.', 'code': "def render_stream_results():\n '''Route to curren...
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': 'create_connection@nova/proxy/socks.py', 'description': 'create_connection(dest_pair, *[, timeout], **proxy_args) -> socket object\n\nLike socket.create_connection(), but connects to proxy\nbefore returning the socket object.\n\ndest_pair - 2-tuple of (IP/hostname, port).\n**proxy_args - Same args passed to so...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQBNO_CURRENT_VERSION = 1
0
{'name': 'User.signup@toggl/api/models.py', 'description': 'Creates brand new user. After creation confirmation email is sent to him.\n\n:param email: Valid email of the new user.\n:param password: Password of the new user.\n:param timezone: Timezone to be associated with the user. If empty, than timezone from config i...
0
{'name': '_prepare_request_headers@aiosonic/client.py', 'description': 'Prepare get data.', 'signature': 'def _prepare_request_headers('}</s>ParamsType = Union[ Dict[str, str], Sequence[Tuple[str, str]], ]
1
{'name': 'Main@scripts/overview-generate.py', 'description': 'The main program function.\n\nReturns:\n bool: True if successful or False if not.', 'signature': 'def Main():'}</s>{'name': 'WikiPageGenerator@scripts/overview-generate.py', 'description': 'Generates wiki pages.', 'base_classes': ['object'], 'methods': [{'...
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': 'format@src/convertdate/french_republican.py', 'description': 'Convert a FR date into a string with the format DD MONTH YYYY.', 'signature': 'def format(an, mois, jour):'}</s>LEAP_CYCLE_DAYS = 1461
0
{'name': 'View.pick_areas@picasso/gui/render.py', 'description': 'Finds the areas of all current picks in um^2.\n\nReturns\n-------\nareas : np.1darray\n Areas of all picks.', 'signature': 'def pick_areas(self):'}</s>{'name': 'SMLMDialog@picasso/gui/render.py', 'description': 'A class to obtain inputs for SMLM clust...
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': 'Differ._report_dir_diffs@tests/integration/differ.py', 'description': 'Returns a string listing the paths that exist in folder 1 but not in 2,\nand vice-versa.', 'signature': 'def _report_dir_diffs(self, all_paths1, all_paths2):'}</s>{'name': 'main@tests/integration/differ.py', 'description': "Returns True if...
0
{'name': 'IB.placeOrder@ib_insync/ib.py', 'description': 'Place a new order or modify an existing order.\nReturns a Trade that is kept live updated with\nstatus changes, fills, etc.\n\nArgs:\n contract: Contract to use for order.\n order: The order to be placed.', 'signature': 'def placeOrder(self, contract: Cont...
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': 'IUCoordinator.service_call@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Entry point for all service calls.', 'signature': 'def service_call('}</s>{'name': 'IUTester@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Irrigation Unlimited testing...
0
{'name': 'solve_ilp_gurobi@checkmate/core/solvers/gurobi_solver.py', 'description': 'Memory-accurate solver with garbage collection.\n:param g: DFGraph -- graph definition extracted from model\n:param budget: int -- budget constraint for solving\n:param seed_s: np.ndarray -- optional parameter to set warm-start for sol...
0
{'name': 'RSA.save_key_der@src/M2Crypto/RSA.py', 'description': 'Save the key pair to a file in DER format.\n\n:param file: Filename to save key to', 'signature': 'def save_key_der(self, file):'}</s>{'name': 'genparam_callback@src/M2Crypto/util.py', 'description': 'DOCSTRING', 'code': "def genparam_callback(p, n, out=s...
0
{'name': 'CBSAuthMixin.handle_token@uamqp/authentication/cbs_auth.py', 'description': "This function is called periodically to check the status of the current\ntoken if there is one, and request a new one if needed.\nIf the token request fails, it will be retried according to the retry policy.\nA token refresh will be ...
0
{'name': 'PandocConverter._find_cb_command@codebraid/converters/pandoc.py', 'description': 'Find all occurrences of `.cb.` and/or `.cb-` in a string, which may\nindicate the presence of Codebraid code. Try to extract a command\n`.cb<sep><command>` for each occurrence, and if a valid command is not\nfound use None. Ch...
0
{'name': 'get_connector_mapping@os_brick/initiator/connector.py', 'description': 'Get connector mapping based on platform.\n\nThis is used by Nova to get the right connector information.\n\n:param arch: The architecture being requested.', 'signature': 'def get_connector_mapping(arch=None):'}</s>{'name': 'VolumeDriverEx...
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_LRSN_LENGTH = 12
0
{'name': 'MainInterface.process_options@src/python_scripts/scripts/uber_ttest.py', 'description': 'return 1 on valid and exit\n 0 on valid and continue\n-1 on invalid', 'signature': 'def process_options(self):'}</s>{'name': 'vec_moderates@src/python_scripts/afnipy/afni_util.py', 'description': 'return a integer array ...
0
{'name': 'Arcball.down@utils/transformations.py', 'description': 'Set initial cursor window coordinates and pick constrain-axis.', 'signature': 'def down(self, point):'}</s>{'name': 'quaternion_conjugate@utils/transformations.py', 'description': 'Return conjugate of quaternion.\n\n>>> q0 = random_quaternion()\n>>> q1 =...
0
{'name': 'CheckBraces@third_party/cpplint/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with ...
0