text
string
label
int64
{'name': 'RecentList.getall@shingetsu/cache.py', 'description': 'Search nodes and update my recent list.', 'signature': 'def getall(self):'}</s>gateway_protocol = _get_value(_extconf, 'Gateway', 'protocol', 'http')
0
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>EASING_IN_BOUNCE = 28
0
{'name': 'EmbeddingCtx.get_embedding_size@persia/ctx.py', 'description': 'Get number of ids on all embedding servers.', 'signature': 'def get_embedding_size(self) -> List[int]:'}</s>{'name': '_ensure_parse_env@persia/env.py', 'description': 'DOCSTRING', 'code': 'def _ensure_parse_env(get_func):\n def func():\n ...
0
{'name': 'Reformat@tools/yapf/yapf/yapflib/reformatter.py', 'description': 'Reformat the unwrapped lines.\n\nArguments:\n uwlines: (list of unwrapped_line.UnwrappedLine) Lines we want to format.\n verify: (bool) True if reformatted code should be verified for syntax.\n\nReturns:\n A string representing the reformatt...
0
{'name': 'CqlType.parse@pylib/cqlshlib/formatting.py', 'description': 'Parse the typestring by looking at this pattern: *<*>. If there is no match then the type\nis either a simple type or a user type, otherwise it must be a composite type\nfor which we need to look-up the sub-types. For user types the sub types can be...
0
{'name': 'ParseArguments@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/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.', 'sign...
0
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>TCPS_CLOSED = 0
0
{'name': 'TestBaseGrandCanonicalMonteCarloSampler.test_report@grand/tests/test_samplers.py', 'description': 'Make sure the BaseGrandCanonicalMonteCarloSampler.report() method works correctly', 'signature': 'def test_report(self):'}</s>{'name': 'setup_GCMCSystemSampler@grand/tests/test_samplers.py', 'description': 'Set ...
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': 'NestingState.CheckCompletedBlocks@scripts/cpplint.py', 'description': 'Checks that all classes and namespaces have been completely parsed.\n\nCall this when all lines in a file have been processed.\nArgs:\n filename: The name of the current file.\n error: The function to call with any errors found.', 'signa...
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': 'dpll@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'See if the clauses are true in a partial model.', 'signature': 'def dpll(clauses, symbols, model):'}</s>{'name': 'move_not_inwards@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'Rewrite sentence s by moving negation sign...
0
{'name': 'generator_custom_text_edge_cases@tests/test-tokenizer-random.py', 'description': 'Edge cases found while debugging', 'signature': 'def generator_custom_text_edge_cases() -> Iterator[str]:'}</s>logger = logging.getLogger("test-tokenizer-random")
0
{'name': 'document@libscanbuild/report.py', 'description': 'Generates cover report and returns the number of bugs/crashes. ', 'signature': 'def document(args):'}</s>{'name': 'parse_bug_plist@libscanbuild/report.py', 'description': 'Returns the generator of bugs from a single .plist file. ', 'code': 'def parse_bug_plist...
0
{'name': 'ProcessFileData@compiler-rt/lib/sanitizer_common/scripts/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...
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': 'test_merge_gridded_data@oggm/tests/test_workflow.py', 'description': 'DOCSTRING', 'code': "def test_merge_gridded_data():\n gdirs = up_to_inversion...
0
{'name': 'murr_detail@MurrCard/views.py', 'description': 'Show single murr ', 'signature': 'def murr_detail(request, slug):'}</s>{'name': 'like@MurrCard/views.py', 'description': 'DOCSTRING', 'code': "def like(request):\n if request.method == 'GET':\n raise Http404\n\n raw_data = request.POST.dict()\n p...
0
{'name': 'cmr@icesat2_toolkit/utilities.py', 'description': "Query the NASA Common Metadata Repository (CMR) for ICESat-2 data\n\nParameters\n----------\nproduct: str or NoneType, default None\n ICESat-2 data product to query\nrelease: str or NoneType, default None\n ICESat-2 data release to query\ncycles: str, l...
0
{'name': 'TestStr.test_str_empty@tests/test_future/test_str.py', 'description': "str() -> u''", 'signature': 'def test_str_empty(self):'}</s>{'name': 'u@src/future/utils/surrogateescape.py', 'description': 'DOCSTRING', 'code': "def u(text):\n if utils.PY3:\n return text\n else:\n return text.decode(...
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': 'get_ipsw_url@autodecrypt/utils.py', 'description': 'Get URL of IPSW by specifying device and iOS version.', 'signature': 'def get_ipsw_url(device, ios_version, build):'}</s>{'name': 'download_beta_file@autodecrypt/utils.py', 'description': 'Download file from beta firmware.', 'code': 'def download_beta_file(\...
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': 'ShellcodeGetCommand@gef.py', 'description': "Download shellcode from she...
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': '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_PICK = CScriptOp(0x79)
0
{'name': '_spectrogram@librosa/core/spectrum.py', 'description': 'Retrieve a magnitude spectrogram.\n\nThis is primarily used in feature extraction functions that can operate on\neither audio time-series or spectrogram input.\n\nParameters\n----------\ny : None or np.ndarray\n If provided, an audio time series\n\nS ...
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': 'MidiStatus.get_columns@robopianist/viewer/application.py', 'description': 'Returns the text to display in two columns.', 'signature': 'def get_columns(self):'}</s>KEY_LEFT = 263
0
{'name': 'register_tokenizer@sqlitefts/fts3.py', 'description': 'register tokenizer module with SQLite connection.', 'signature': 'def register_tokenizer(conn, name, tokenizer_module):'}</s>SQLITE_OK = 0
0
{'name': 'ParserElement.addCondition@blockchain-env/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Add a boolean predicate function to expression\'s list of parse actions. See \nL{I{setParseAction}<setParseAction>} for function call signatures. Unlike C{setParseAction}, \nfunctions pas...
0
{'name': 'NonTokens.test6@Cheetah/Tests/SyntaxAndOutput.py', 'description': '1 dollar sign followed by EOL Slurp Token', 'signature': 'def test6(self):'}</s>{'name': 'ErrorCatcherDirective@Cheetah/Tests/SyntaxAndOutput.py', 'description': 'DOCSTRING', 'base_classes': ['OutputTest'], 'methods': []}
0
{'name': 'torgb@boxx/ylimg/ylimgTool.py', 'description': 'try to transfer a tensor to normalized RGB image\n\nnormalizing img value to 0~1\nand transpose (..., 3, w, h) to (..., w, h, 3)', 'signature': 'def torgb(img):'}</s>plot = FunAddMagicMethod(plot)
0
{'name': 'SpeechTextPreTrainCompoundCriterion.reduce_metrics@examples/speech_text_joint_to_text/criterions/multi_modality_compound.py', 'description': 'Aggregate logging outputs from data parallel training.', 'signature': 'def reduce_metrics(logging_outputs) -> None:'}</s>{'name': 'buffered_arange@fairseq/utils.py', 'd...
0
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_global_as_extern_const@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code': ...
0
{'name': 'test_get_key_info_for_fmap_assignment@heudiconv/tests/test_bids.py', 'description': 'Test get_key_info_for_fmap_assignment.\n\nlabel_size and label_seed are used for the "CustomAcquisitionLabel" matching\nparameter. label_size is the size of the random label while label_seed is\nthe seed for the random label ...
0
{'name': 'eval_one_epoch@semantic_seg_synthia/train_direct.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def eval_one_epoch(sess, ops, test_writer, dataset, epoch_cnt):'}</s>MAX_EPOCH = FLAGS.max_epoch
0
{'name': 'test_rpm_bulk_download@tests/test_bld2repo/test_bld2repo.py', 'description': 'Test if the rpm files are downloaded. ', 'signature': 'def test_rpm_bulk_download(mock_download_file, load_test_data):'}</s>{'name': 'test_no_build_found_exception@tests/test_bld2repo/test_bld2repo.py', 'description': 'Test raise wh...
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': 'MaskedArray.__imul__@venv/Lib/site-packages/numpy/ma/core.py', 'description': 'Multiply self by other in-place.', 'signature': 'def __imul__(self, other):'}</s>innerproduct = inner
0
{'name': 'make_server@src-python/lab-service/traffexam/kilda/traffexam/rest.py', 'description': 'Create a new WSGI server listening on `host` and `port` for `app`', 'signature': 'def make_server(host, port, app, thread_count=None,'}</s>{'name': 'SystemResourceDamagedError@src-python/lab-service/traffexam/kilda/traffexa...
0
{'name': '_IncludeState.CheckNextIncludeOrder@scripts/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants defined above.\n\nRe...
0
{'name': 'AdbDevice._filesync_send@adb_shell/adb_device.py', 'description': 'Send/buffer FileSync packets.\n\nPackets are buffered and only flushed when this connection is read from. All\nmessages have a response from the device, so this will always get flushed.\n\nParameters\n----------\ncommand_id : bytes\n Comman...
0
{'name': 'whitespace_tokenize@baselines/models/roberta_wwm_large_ext/tokenization.py', 'description': 'Runs basic whitespace cleaning and splitting on a piece of text.', 'signature': 'def whitespace_tokenize(text):'}</s>{'name': 'load_vocab@baselines/models/roberta_wwm_large_ext/tokenization.py', 'description': 'Loads ...
0
{'name': 'evaluate@lab-11-X-mnist_cnn_low_memory.py', 'description': 'Run a minibatch accuracy op', 'signature': 'def evaluate(X_sample, y_sample, batch_size=512):'}</s>X_img = tf.reshape(X, [-1, 28, 28, 1])
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': 'CheckStyle@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line leng...
1
{'name': 'FaultSupervisionView.list@FaultManagement/views.py', 'description': 'Retrieve alarms\n\nRetrieve the alarms identified by alarmAckState, href and filter.', 'signature': 'def list(self, request, *args, **kwargs):'}</s>{'name': 'CommentResource@FaultManagement/models.py', 'description': 'DOCSTRING', 'base_class...
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': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>{'name': 'get_redisdb@spider/utils/tools.py', 'description': 'DOCSTRING', 'code': 'def get_redisdb():\n global redisdb\n if not redisdb:\n ip, port = setting.REDISDB_IP_PORTS.split(":")\n redisdb = redi...
0
{'name': 'update_payout_screen@displays/waveshare2in13v3.py', 'description': "Update the payout screen to reflect balance of deposited coins.\nScan the invoice??? I don't think so!", 'signature': 'def update_payout_screen():'}</s>nocoin_screen_1 = "Kein Münzeinwurf"
0
{'name': 'Assignment.__init__@lib/rule_engine/ast.py', 'description': ':param str name: The symbol name that the assignment is defining.\n:param value: The value of the assignment.\n:param value_type: The data type of the assignment.\n:type value_type: :py:class:`~.DataType`', 'signature': 'def __init__(self, name, *, ...
1
{'name': 'get_operand_registers@peachpy/x86_64/operand.py', 'description': 'Returns a set of registers that comprise the operand', 'signature': 'def get_operand_registers(operand):'}</s>byte = SizeSpecification(1)
0
{'name': 'AutoReject.fit@autoreject/autoreject.py', 'description': 'Fit the epochs on the AutoReject object.\n\nParameters\n----------\nepochs : instance of mne.Epochs\n The epochs object to be fit.\n\nReturns\n-------\nself : instance of AutoReject\n The instance.', 'signature': 'def fit(self, epochs):'}</s>{'na...
0
{'name': 'CreateAction.post@src/pinnwand/handler/website.py', 'description': "POST handler for the 'web' side of things.", 'signature': 'def post(self) -> None: # type: ignore'}</s>{'name': 'ValidationError@src/pinnwand/error.py', 'description': 'This exception is used to indicate that a certain request is lacking or\...
1
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>RES_TIMELINE_RUNNING = "running"
0
{'name': 'test_docker_build_fails@test/test_utils.py', 'description': 'Test for expected failure when a recipe fails to build', 'signature': 'def test_docker_build_fails(recipes_fixture, config_fixture):'}</s>{'name': 'validate_config@bioconda_utils/utils.py', 'description': "Validate config against schema\n\nParameter...
0
{'name': 'NewDatabase.update@premise/new_database.py', 'description': 'Update a specific sector by name.', 'signature': 'def update(self, sectors: [str, list, None] = None) -> None:'}</s>{'name': 'AdditionalInventory@premise/inventory_imports.py', 'description': 'Import additional inventories, if any.', 'base_classes':...
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': '_check_for_early_dl_end@src/future/backports/email/_header_value_parser.py', 'description': 'DOCSTRING', ...
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': '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': 'babel_extract@venv/Lib/site-packages/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n try to find the best...
0
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>RequestShaderSet = DvzRequestShaderS...
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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQOPER_APPL_LAST = 999999999
0
{'name': 'main@da/compiler/ui.py', 'description': 'Main entry point when invoking compiler module from command line.\n\n ', 'signature': 'def main(argv=None):'}</s>{'name': 'dafile_to_pyfile@da/compiler/ui.py', 'description': "Compiles a DistAlgo source file to Python file.\n\nIf specified, 'args' should be an objec...
1
{'name': 'safe_urlopen@plex_mpv_shim/utils.py', 'description': 'Opens a url and returns True if an HTTP 200 code is returned,\notherwise returns False.', 'signature': 'def safe_urlopen(url, data=None, quiet=False):'}</s>{'name': 'plex_color_to_mpv@plex_mpv_shim/utils.py', 'description': 'DOCSTRING', 'code': "def plex_c...
0
{'name': 'PythonModuleSourceFileGenerator._GetPythonTypeObjectFunctionPrototype@yaldevtools/source_generators/python_module.py', 'description': 'Determines the Python type object function prototypes.\n\nArgs:\n project_configuration (ProjectConfiguration): project configuration.\n type_name (str): type name.\n type_...
0
{'name': 'MomSpaceBasis.dens@doc/src/week46/Programs/NeutronMatterCCD_Ladders.py', 'description': 'returns density of system if num particles are present\nparam num: int, number of particles\nreturn dens: float', 'signature': 'def dens(self,num):'}</s>Nmax = 1
0
{'name': 'write_i32@robust_serial/robust_serial.py', 'description': ':param f: file handler or serial file\n:param value: (int32_t)', 'signature': 'def write_i32(f: BinaryIO, value: int) -> None:'}</s>{'name': 'write_order@robust_serial/robust_serial.py', 'description': ':param f: file handler or serial file\n:param or...
0
{'name': 'test_image_upgrade_01030@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade.py', 'description': '### Classes and Methods\n- ``ImageUpgrade``\n - ``_build_payload``\n - ``commit``\n\n### Test\n\n- User explicitly sets default values for several options.\n- ``policy_changed`` ...
0
{'name': 'PIL_im_to_BytesIO@DECIMER/config.py', 'description': 'Convert pillow image to io.BytesIO object\nArgs: PIL.Image\nReturns: io.BytesIO object with the image data', 'signature': 'def PIL_im_to_BytesIO(image):'}</s>{'name': 'download_trained_weights@DECIMER/config.py', 'description': 'This function downloads the...
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>PF_REASS_ENABLED = 1
0
{'name': 'TestObjectsE2E.test_host_record_ea_inheritance@e2e_tests/test_objects.py', 'description': 'Checks if EA inheritance for record:host object\nworks as expected', 'signature': 'def test_host_record_ea_inheritance(self):'}</s>{'name': 'ASharedRecord@infoblox_client/objects.py', 'description': "ASharedRecord: DNS ...
0
{'name': 'rdheader@wfdb/io/record.py', 'description': "Read a WFDB header file and return a `Record` or `MultiRecord`\nobject with the record descriptors as attributes.\n\nParameters\n----------\nrecord_name : str\n The name of the WFDB record to be read, without any file\n extensions. If the argument contains an...
0
{'name': 'WebSocket.close@vertx-web/src/test/sockjs-protocol/websocket/_core.py', 'description': 'Close Websocket object\n\nstatus: status code to send. see STATUS_XXX.\n\nreason: the reason to close. This must be string.\n\ntimeout: timeout until receive a close frame.\n If None, it will wait forever until receive ...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_CURRENT_LOG_EXTENT = 3378
0
{'name': 'ErnieModel.__init__@ddparser/ernie/modeling_ernie.py', 'description': 'Fundamental pretrained Ernie model', 'signature': 'def __init__(self, cfg, name=None):'}</s>{'name': '_fetch_from_remote@ddparser/ernie/file_utils.py', 'description': 'DOCSTRING', 'code': "def _fetch_from_remote(url, force_download=False):...
0
{'name': 'main@src/build/__main__.py', 'description': 'Parse the CLI arguments and invoke the build process.\n\n:param cli_args: CLI arguments\n:param prog: Program name to show in help text', 'signature': 'def main(cli_args: Sequence[str], prog: str | None = None) -> None:'}</s>{'name': '_error@src/build/__main__.py',...
0
{'name': 'logmeanexp@code/cmt/python/tests/mcgsm_test.py', 'description': 'Computes the log of the mean of the exp of the entries in x in a numerically\nstable way. Uses logsumexp.\n\n@type x: array_like\n@param x: a list, array or matrix of numbers\n\n@type ax: integer\n@param ax: axis along which the values are ave...
0
{'name': 'UFOBuilder.__init__@Lib/glyphsLib/builder/builders.py', 'description': 'Create a builder that goes from Glyphs to UFO + designspace.\n\nKeyword arguments:\nfont -- The GSFont object to transform into UFOs. We expect this GSFont\n object to have been pre-processed with\n ``glyphsLib.builder.prefl...
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_on_memchanged_hook@gef.py', 'description': 'DOCSTRING', 'code': 'def...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_CONNECTION_BROKEN = 2009
0
{'name': 'PyMolecule.GetAllDescriptor@PyBioMed/Pymolecule.py', 'description': '#################################################################\nCalculate all descriptors (608).\n\nUsage:\n\n res=GetAllDescriptor()\n\n res is a dict form.\n#################################################################', 'sign...
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.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': 'source@tools/sel4_extensions/gdbscript.py', 'description': 'Convenience decorator for sourcing gdb commands', 'signature': 'def source(callable):'}</s>{'name': 'get_current_thread@tools/sel4_extensions/gdbscript.py', 'description': 'DOCSTRING', 'code': "def get_current_thread():\n return gdb.execute('mon s...
0
{'name': 'build_get_revoc_reg_delta_request@wrappers/python/indy_vdr/ledger.py', 'description': 'Builds a GET_REVOC_REG_DELTA request.\n\nRequest to get the delta of the accumulated state of the revocation registry\nidentified by `revoc_reg_id`. The delta is defined by from and to timestamp fields.\nIf from is not spec...
0
{'name': 'ensure_list@custom_components/zwave_mqtt/discovery.py', 'description': 'Convert a value to a list if needed.', 'signature': 'def ensure_list(value):'}</s>DOMAIN = "zwave_mqtt"
0
{'name': 'filter_with_bustools@kb_python/count.py', 'description': "Generate filtered count matrices with bustools.\n\nArgs:\n bus_path: Path to sorted, corrected, sorted BUS file\n ecmap_path: Path to matrix ec file\n txnames_path: Path to list of transcripts\n t2g_path: Path to transcript-to-gene mapping\...
0
{'name': 'MarkTokens._expand_to_matching_pairs@asttokens/mark_tokens.py', 'description': "Scan tokens in [first_token, last_token] range that are between node's children, and for any\nunmatched brackets, adjust first/last tokens to include the closing pair.", 'signature': 'def _expand_to_matching_pairs(self, first_toke...
1
{'name': 'cd._tab_fuzzy_match@.config/ranger/commands_full.py', 'description': 'Find directories matching tokens recursively ', 'signature': 'def _tab_fuzzy_match(self, basepath, tokens):'}</s>{'name': 'copypmap@.config/ranger/commands_full.py', 'description': ':copypmap <keys> <newkeys1> [<newkeys2>...]\n\nCopies a "p...
0
{'name': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'int_list_string@src/python_scripts/afnipy/afni_util.py', 'description': 'like float list string, but use gener...
0
{'name': 'CameraGroup.getLogProbability@cameratransform/camera.py', 'description': 'Gives the sum of all terms of the log probability. This function is used for sampling and fitting.', 'signature': 'def getLogProbability(self):'}</s>{'name': 'ray_intersect_triangle@cameratransform/ray.py', 'description': 'This function...
0
{'name': 'error@tools/audio/extraction/util.py', 'description': 'Debug message + exit', 'signature': 'def error(msg):'}</s>{'name': 'merge_like_ranges@tools/audio/extraction/util.py', 'description': 'DOCSTRING', 'code': 'def merge_like_ranges(intervals):\n if len(intervals) == 0:\n return []\n\n intervals ...
0
{'name': 'PostgresNode.dump@testgres/node.py', 'description': 'Dump database into a file using pg_dump.\nNOTE: the file is not removed automatically.\n\nArgs:\n filename: database dump taken by pg_dump.\n dbname: database name to connect to.\n username: database user name.\n format: format argument plain/cu...
0
{'name': 'GCEDiskFromImageTest.testProcessFromParams@tests/lib/exporters/gce_disk_from_image.py', 'description': "Tests the exporter's Process() function when the list comes from\npassed in parameters.", 'signature': 'def testProcessFromParams(self,'}</s>{'name': 'GCEImage@dftimewolf/lib/containers/containers.py', 'des...
0
{'name': 'write_memory@tools/pydfu.py', 'description': 'Writes a buffer into memory. This routine assumes that memory has\nalready been erased.', 'signature': 'def write_memory(addr, buf, progress=None, progress_addr=0, progress_size=0):'}</s>__DFU_DNLOAD = 1
1
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>ICMP_UNREACH_SRCFAIL = 5
0
{'name': 'GetDefaultInterface@gmacpyutil/gmacpyutil/airport.py', 'description': 'Returns the default Wi-Fi interface.', 'signature': 'def GetDefaultInterface():'}</s>COCOADIALOG_PATH = "/Library/MegacorpSupport/Utilities/CocoaDialog.app"
0
{'name': 'parse_capture_filter@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': '"Parse given capture filter', 'signature': 'def parse_capture_filter(capture_filter):'}</s>{'name': 'clear_devices@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Clear the advertising devices list', 'code': 'def ...
0