text
string
label
int64
{'name': 'make_query@gaia_tools/query/make_gaia_query.py', 'description': 'Makes a whole Gaia query\n\nINPUTS\n------\nWHERE: str, None (default None)\n ADQL `WHERE\' argument\nORDERBY: str (or None)\n ADQL `ORDER BY\' argument\nFROM: str, None (default None)\n ADQL `FFROM\' argument\nrandom_index: int, None...
1
{'name': 'vae_pop@util.py', 'description': 'Assume that the vae uses an isotropic Gaussian for its prior and diagonal\nGaussian for its posterior.', 'signature': 'def vae_pop('}</s>{'name': 'vae_append@util.py', 'description': 'Assume that the vae uses an isotropic Gaussian for its prior and diagonal\nGaussian for its ...
0
{'name': 'Message.to_dict@src/betterproto/__init__.py', 'description': 'Returns a JSON serializable dict representation of this object.\n\nParameters\n-----------\ncasing: :class:`Casing`\n The casing to use for key values. Default is :attr:`Casing.CAMEL` for\n compatibility purposes.\ninclude_default_values: :cl...
0
{'name': 'QGFieldNH18._compute_reference_state_wrapper@src/falwa/oopinterface.py', 'description': 'Private function to call the fortran subroutine compute_reference_states that returns variable of\ndimension [nlat, kmax]. Swapping of axes is needed for other computation.\n\nParameters\n----------\n qgpv(numpy.ndarra...
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>MQFB_CICS_CCSID_ERROR = 405
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': 'ARG_missing_arg@src/python_scripts/afnipy/afni_base.py', 'description': 'D...
1
{'name': 'AddImagesToTargetFiles@tools/releasetools/add_img_to_target_files.py', 'description': 'Creates and adds images (boot/recovery/system/...) to a target_files.zip.\n\nIt works with either a zip file (zip mode), or a directory that contains the\nfiles to be packed into a target_files.zip (dir mode). The latter is...
0
{'name': 'Win32Serial.open@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>{'name': 'Win32Serial@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Serial port...
1
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_OPERATION_ERROR = 2488
0
{'name': 'create_dataset_pairwise@data_loader.py', 'description': ' This file is meant to create data for core-chain ranking ONLY.\n\n:param file: id_big_data file\n:param max_sequence_length: for padding/cropping\n:param relations: the relations file to backtrack and look up shit.\n:return:\n\nschema decides the ki...
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>MLD_MTRACE = 201
0
{'name': 'PythonModuleSourceFileGenerator._GetSequenceType@yaldevtools/source_generators/python_module.py', 'description': 'Determines if the function prototype implies a sequence type.\n\nArgs:\n python_function_prototype (PythonTypeObjectFunctionPrototype): Python\n type object function prototype.\n\nReturns:\n...
0
{'name': 'TestReviews.test_review_count_is_under_count_of_first_request@tests/e2e_tests/test_reviews.py', 'description': 'tests length of results of first request is lower than specified count argument', 'signature': 'def test_review_count_is_under_count_of_first_request(self):'}</s>{'name': '_ContinuationToken@google_...
0
{'name': 'load_chars_data@src/ocr/datahelpers.py', 'description': 'Load chars images with corresponding labels.\nArgs:\n charloc: char images FOLDER LOCATION\n wordloc: word images with gaplines FOLDER LOCATION\nReturns:\n (images, labels)', 'signature': "def load_chars_data(charloc='data/charclas/', wordloc='...
0
{'name': 'load_image_gt@Mask_RCNN/mrcnn/model.py', 'description': 'Load and return ground truth data for an image (image, mask, bounding boxes).\n\naugment: (deprecated. Use augmentation instead). If true, apply random\n image augmentation. Currently, only horizontal flipping is offered.\naugmentation: Optional. An ...
0
{'name': 'Installer.installMod@src/core/installer.py', 'description': 'Installs mod from given path. If given mod is an archive first extracts it', 'signature': 'def installMod(self, modPath: str) -> Tuple[bool, int, int]:'}</s>{'name': 'getAllFoldersFromDirectory@src/core/fetcher.py', 'description': 'DOCSTRING', 'code...
0
{'name': 'PandocConverter._freeze_raw_node_io_map@codebraid/converters/pandoc.py', 'description': 'Same as `_freeze_raw_node()`, but also store trace info.', 'signature': 'def _freeze_raw_node_io_map(node, origin_name, line_number,'}</s>{'name': 'MetaMessage@codebraid/message.py', 'description': 'Metaclass for message ...
0
{'name': 'FileUpload.__init__@flask_file_upload/file_upload.py', 'description': ':param app: The Flask application instance: ``app = Flask(__name__, static_folder="uploads")``.\n:param kwargs:\n :key allowed_extensions: A list of accepted file types eg. [\'.jpg\', etc..]\n :key upload_folder: where the uploaded f...
1
{'name': 'RsCalibrator.calibrate@aslam_offline_calibration/kalibr/python/kalibr_rs_camera_calibration/RsCalibrator.py', 'description': 'A Motion regularization term is added with low a priori knowledge to avoid\ndiverging parts in the spline of too many knots are selected/provided or if\nno image information is availab...
0
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>ICMP_UNREACH_HOST_PROHIB = 10
0
{'name': 'event_loop_policy@pytest_asyncio/plugin.py', 'description': 'Return an instance of the policy used to create asyncio event loops.', 'signature': 'def event_loop_policy() -> AbstractEventLoopPolicy:'}</s>{'name': 'PytestAsyncioFunction@pytest_asyncio/plugin.py', 'description': 'Base class for all test function...
0
{'name': 'ReplaceByFeeTest.test_doublespend_tree@test/functional/feature_rbf.py', 'description': 'Doublespend of a big tree of transactions', 'signature': 'def test_doublespend_tree(self):'}</s>{'name': 'P2PInterface@test/functional/test_framework/mininode.py', 'description': 'A high-level P2P interface class for commu...
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': 'Scheduler.check_task_status@spider/core/scheduler.py', 'description': '检查任务状态 预警', 'signature': 'def check_task_status(self):'}</s>REDISDB_USER_PASS = os.getenv("REDISDB_USER_PASS")
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_CHAD_EXIT_ERROR = 4083
0
{'name': '_CppLintState.PrintErrorCounts@tools/cpplint.py', 'description': 'Print a summary of errors by category, and the total.', 'signature': 'def PrintErrorCounts(self):'}</s>{'name': 'NestingState@tools/cpplint.py', 'description': 'Holds states related to parsing braces.', 'base_classes': ['object'], 'methods': [{...
0
{'name': 'draw_dry_adiabat@pymeteo/skewt.py', 'description': 'Plot dry adiabats on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates dry adiabats\nand plots these lines. Adiabats are calculated \nevery 10 K', 'signature': 'def draw_dry_adiabat(axes):'}</s...
0
{'name': 'SpeakerDiarizer.classify_speakers@montreal_forced_aligner/diarization/speaker_diarizer.py', 'description': 'Classify speakers based on ivector or speechbrain model', 'signature': 'def classify_speakers(self):'}</s>{'name': 'generate_config_path@montreal_forced_aligner/config.py', 'description': 'Generate the ...
0
{'name': 'edit_roster@rosters/views.py', 'description': 'Edit Roster View.', 'signature': 'def edit_roster(request):'}</s>{'name': 'DayDetailView@rosters/views.py', 'description': 'Day Detail View.', 'base_classes': ['LoginRequiredMixin', 'DetailView'], 'methods': []}
0
{'name': 'getSyllsFromWav@avgn/segment_song/wav_to_syllables.py', 'description': 'Extract syllables from wav file\n ', 'signature': 'def getSyllsFromWav(row, _mel_basis, wav_time, hparams):'}</s>{'name': 'temporal_segmentation_int@avgn/segment_song/wav_to_syllables.py', 'description': 'Adds dynamic threshold to voca...
0
{'name': 'CheckBraces@ament_cpplint/ament_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 ca...
0
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>PFRULE_SETDELAY = 128
1
{'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': 'DonkeyUnitySimHandler.set_episode_over_fn@gym_donkeycar/envs/donkey_sim.py', 'description': 'allow userd to define their own episode over function', 'signature': 'def set_episode_over_fn(self, ep_over_fn: Callable[[], bool]):'}</s>{'name': 'FPSTimer@gym_donkeycar/core/fps.py', 'description': 'Every N on_frame...
0
{'name': 'Button.__init__@src/python/approxeng/input/__init__.py', 'description': "Create a new Button - this will be done by the controller implementation classes, you shouldn't create your own\nunless you're writing such a class.\n\n:param name:\n A friendly name for the button\n:param key_code:\n The key code ...
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': 'api_probes_avail@GeoHealthCheck/app.py', 'description': 'Get available (configured) Probes for this\ninstallation, optional for resource type', 'signature': 'def api_probes_avail(resource_type=None, resource_id=None):'}</s>{'name': 'load_user@GeoHealthCheck/app.py', 'description': 'DOCSTRING', 'code': 'def lo...
0
{'name': '_path@tests/test_result_collection.py', 'description': 'Creates test file paths from provided splits (folder and file names) with the\ncurrent `os` file path separator', 'signature': 'def _path(*argv):'}</s>{'name': 'TestFile@tests/test_result_collection.py', 'description': 'Tests the methods in the `File` cl...
0
{'name': 'github_import@code/synchronization/github_import.py', 'description': 'Import various information from Github repositories (like contributors) or stars for Github repos\nGithub rate limiting limits us to 1000 queries an hour (also with a personal token?)', 'signature': 'def github_import():'}</s>private_proper...
1
{'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': 'RIPPER._grow_ruleset@build/lib/wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset('}</s>{'name': '_rs_total_bits@build/lib/wittgenstein/ripper.py', 'description': 'Returns total description length (in bits) of ruleset -- the sum of its theory dl and excepti...
0
{'name': 'create_overview_tile@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Generating an overview tile from no more than 4 underlying tiles(base tiles)', 'signature': 'def create_overview_tile('}</s>{'name': 'my_open@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Wrapper for open(...
1
{'name': 'TogglSet.filter@toggl/api/base.py', 'description': "Method that fetches all entries and filter them out based on specified conditions.\n\n:param order: Strings 'asc' or 'desc' which specifies how the results will be sorted (\n:param config: Config instance\n:param contain: Specify how evaluation of conditions...
0
{'name': 'routsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'name,NAME,begintitle,endtitle\nrname,ctype,rformat\nroutdebugshowvalue', 'signature': 'def routsign2map(rout):'}</s>{'name': 'isarray@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': "def isarray(v...
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': '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': '_is_whitespace@baselines/models/roberta_wwm_large_ext/tokenization.py', 'description': 'Ch...
0
{'name': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>{'name': 'PatchStringCommand@gef.py', 'description': 'Write specified string to the specified memory location pointed by ADDRESS.', 'base...
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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_IPADDR_ERROR = 3345
0
{'name': 'IUZone.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this zone as a dict', 'signature': 'def as_dict(self, extended=False) -> OrderedDict:'}</s>CONF_USER = "user"
0
{'name': 'from_array@tools/gfx/png.py', 'description': "Create a PNG :class:`Image` object from a 2- or 3-dimensional\narray. One application of this function is easy PIL-style saving:\n``png.from_array(pixels, 'L').save('foo.png')``.\n\nUnless they are specified using the *info* parameter, the PNG's\nheight and width...
0
{'name': 'dict_indexer_with_default@yaql/standard_library/collections.py', 'description': ':yaql:operator indexer\n\nReturns value of a dictionary by given key or default if there is\nno such key.\n\n:signature: left[right, default]\n:arg left: input dictionary\n:argType left: dictionary\n:arg right: key\n:argType righ...
0
{'name': '_primal_to_ugrid@uxarray/io/_icon.py', 'description': 'Encodes the Primal Mesh of an ICON Grid into the UGRID conventions.', 'signature': 'def _primal_to_ugrid(in_ds, out_ds):'}</s>EDGE_COORDINATES = ["edge_lon", "edge_lat"]
0
{'name': 'IUSequence.icon@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the icon to use in the frontend.', 'signature': 'def icon(self) -> str:'}</s>CONF_STATES = "states"
0
{'name': 'EmbeddingLayer.project@nematus/transformer_layers.py', 'description': "Projects the transformer decoder's output into the vocabulary space. ", 'signature': 'def project(self, dec_out):'}</s>{'name': 'FeedForwardLayer@nematus/transformer_layers.py', 'description': 'A single fully-connected feed-forward layer u...
0
{'name': 'get_frame@asynq/debug.py', 'description': 'Given a generator, returns its current frame.', 'signature': 'def get_frame(generator):'}</s>{'name': 'syntax_highlight_tb@asynq/debug.py', 'description': "Syntax highlights the traceback so that's a little easier to parse.", 'code': 'def syntax_highlight_tb(tb_text)...
0
{'name': 'test_genetic_operations@gplearn/tests/test_genetic.py', 'description': "Check all genetic operations are stable and don't change programs", 'signature': 'def test_genetic_operations():'}</s>abs1 = _Function(function=np.abs, name='abs', arity=1)
0
{'name': 'Expression.is_match@sqf/expressions.py', 'description': 'Given a list of values, returns a list of matches when the values\nmatch or not each condition of the expression', 'signature': 'def is_match(self, values, exact=True):'}</s>{'name': 'BinaryExpression@sqf/expressions.py', 'description': 'DOCSTRING', 'ba...
0
{'name': 'catch_errors@django_afip/admin.py', 'description': 'Catches specific errors in admin actions and shows a friendly error.', 'signature': 'def catch_errors('}</s>{'name': 'default_expires@django_afip/models.py', 'description': 'The default expiration date for new tickets.', 'code': 'def default_expires() -> dat...
0
{'name': 'Viewer.initialize@robopianist/viewer/viewer.py', 'description': 'Initialize the viewer.\n\nArgs:\n physics: Physics instance.\n renderer_instance: A renderer.Base instance.\n touchpad: A boolean, use input dedicated to touchpad.', 'signature': 'def initialize(self, physics, renderer_instance, touchpad):'}<...
0
{'name': '_makeTags@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'Dict@SneakerBot 2019/venv/lib/python3.7/site-...
1
{'name': 'inform_user@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Tell the user the option values that are going to be used.\n ', 'signature': 'def inform_user():'}</s>{'name': 'create_config@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Create the PyQt configuration m...
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': 'register@flask_security/views.py', 'description': 'View function which handles a registration request.', 'signature': 'def register():'}</s>{'name': 'get_post_logout_redirect@flask_security/utils.py', 'description': 'DOCSTRING', 'code': 'def get_post_logout_redirect(declared=None):\n return get_post_action...
0
{'name': 'Mapdef.__init__@swagger_to/go_server.py', 'description': 'Initialize with default values.', 'signature': 'def __init__(self):'}</s>{'name': 'Objectdef@swagger_to/intermediate.py', 'description': 'Represent an object definition.', 'base_classes': ['Typedef'], 'methods': [{'name': 'Objectdef.__init__@swagger_to...
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>PFTM_ADAPTIVE_START = 16
0
{'name': 'ensure_subnet@aegea/util/aws/__init__.py', 'description': 'Find and return a subnet in the given VPC, or create one subnet per AZ and return one of them if no suitable subnet\nis found.', 'signature': 'def ensure_subnet(vpc, availability_zone=None, assign_ipv6_cidr_blocks=False):'}</s>{'name': 'encode_tags@ae...
1
{'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>MQXR_ACK_RECEIVED = 26
0
{'name': 'superimposition_matrix@imgviz/external/transformations.py', 'description': 'Return matrix to transform given 3D point set into second point set.\n\nv0 and v1 are shape (3, *) or (4, *) arrays of at least 3 points.\n\nThe parameters scale and usesvd are explained in the more general\naffine_matrix_from_points ...
0
{'name': 'setup_for_distributed@utils.py', 'description': 'This function disables printing when not in master process', 'signature': 'def setup_for_distributed(is_master):'}</s>{'name': 'init_distributed_mode@utils.py', 'description': 'DOCSTRING', 'code': 'def init_distributed_mode(args):\n\n if args.dist_on_itp:\n ...
0
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'SchemeNotIANARegistered@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Warning'], ...
0
{'name': 'PPOBuffer.store@rl-fair.py', 'description': 'Append one timestep of agent-environment interaction to the buffer.', 'signature': 'def store(self, obs, cobs, act, mask, rew, val, logp):'}</s>{'name': 'PPOBuffer@rl-fair.py', 'description': 'A buffer for storing trajectories experienced by a PPO agent interacting...
1
{'name': 'dict_to_cluster@cblaster/helpers.py', 'description': 'Creates a mock Cluster from a sequence dictionary.', 'signature': 'def dict_to_cluster(sequences, spacing=500):'}</s>{'name': 'find_translation@cblaster/genome_parsers.py', 'description': 'DOCSTRING', 'code': 'def find_translation(record, feature):\n if...
0
{'name': 'Path.add@furl/furl.py', 'description': 'Add <path> to the existing path. <path> can either be a Path instance,\na list of segments, or a path string to append to the existing path.\n\nReturns: <self>.', 'signature': 'def add(self, path):'}</s>{'name': 'remove_path_segments@furl/furl.py', 'description': "Remov...
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>MQPMO_NO_SYNCPOINT = 4
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>_q_byte_subber = functools.partial(re.compile(br'=([a-fA-F0-9]{2})').sub, lambda m: bytes([int(m.group(1), ...
0
{'name': 'TemplateFactory._processCmdTemplate@src/modules/templates/template_factory.py', 'description': 'cmd execute template builder ', 'signature': 'def _processCmdTemplate(self):'}</s>{'name': 'extractPreviousWordInString@src/common/utils.py', 'description': 'Extract the word (space separated ) preceding the one at...
0
{'name': 'Builtins.from_defaults@lib/rule_engine/builtins.py', 'description': 'Initialize a :py:class:`Builtins` instance with a set of default values.', 'signature': 'def from_defaults(cls, values=None, **kwargs):'}</s>{'name': 'LookupError@lib/rule_engine/errors.py', 'description': "An error raised when a lookup oper...
0
{'name': 'ProcessLine@compiler-rt/lib/sanitizer_common/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 l...
0
{'name': 'download_file_powershell@ez_setup.py', 'description': 'Download the file at url to target using Powershell.\n\nPowershell will validate trust.\nRaise an exception if the command cannot complete.', 'signature': 'def download_file_powershell(url, target):'}</s>DEFAULT_URL = "https://pypi.python.org/packages/sou...
0
{'name': 'split@tools/gfx/gfx.py', 'description': 'Split a list by length.', 'signature': 'def split(list_, interval):'}</s>{'name': 'png_to_rgb@tools/gfx/gfx.py', 'description': 'Convert a png palette to rgb macros.', 'code': 'def png_to_rgb(palette):\n """\n Convert a png palette to rgb macros.\n """\n ou...
0
{'name': 'GWRResults.cooksD@stwr/gwr.py', 'description': 'Influence: leading diagonal of S Matrix\n\nMethods: p216, (9.11),\nFotheringham, A. S., Brunsdon, C., & Charlton, M. (2002).\nGeographically weighted regression: the analysis of spatially varying\nrelationships.\nNote: in (9.11), p should be tr(S), that is, the ...
0
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'r@src/python_scripts/afnipy/afni_util.py', 'description': "return Pearson's correlation coefficient\n\nfor demeane...
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': 'parse_status_update@slackcli/messaging.py', 'description': 'Parse "/status :emoji: sometext" messages. If there is a match, return a dict\ncontaining the profile attributes to be updated. Else return None.', 'signature': 'def parse_status_update(text):'}</s>__all__ = ["username", "sourcename"]
0
{'name': 'TopLevelMixin.repeat@altair/vegalite/v5/api.py', 'description': "Return a RepeatChart built from the chart\n\nFields within the chart can be set to correspond to the row or\ncolumn using `alt.repeat('row')` and `alt.repeat('column')`.\n\nParameters\n----------\nrepeat : list\n a list of data column names t...
0
{'name': 'MatrixExp3@7_Demo_youBotPickAndPlace/code/modern_robotics/core.py', 'description': 'Computes the matrix exponential of a matrix in so(3)\n\n:param so3mat: A 3x3 skew-symmetric matrix\n:return: The matrix exponential of so3mat\n\nExample Input:\n so3mat = np.array([[ 0, -3, 2],\n [ 3,...
0
{'name': 'upConv@src/pyrtools/pyramids/c/wrapper.py', 'description': "Upsample matrix image, followed by convolution with matrix filt.\n\nThese arguments should be 1D or 2D matrices, and image must be larger (in both dimensions) than\nfilt. The origin of filt is assumed to be floor(size(filt)/2)+1.\n\nUpsampling facto...
0
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'...
0
{'name': '_check_request_status@test/lib/commonsplunk.py', 'description': 'check if a request is successful\n@param: req_obj\nreturns True/False', 'signature': 'def _check_request_status(req_obj):'}</s>{'name': 'create_index_in_splunk@test/lib/commonsplunk.py', 'description': 'Send a request to a Splunk instance to cre...
0
{'name': 'AverageMeter.update@argus/utils.py', 'description': 'Update the average meter with a new value.\n\nArgs:\n value: Value to update the average meter with.\n n (int, optional): Number of elements accumulated by the value.\n Should be positive. Defaults to 1.', 'signature': 'def update(self, value, ...
0
{'name': 'RegBlock.build_blocks@hw/vendor/pulp_platform_gpio/util/reggen/reggen/reg_block.py', 'description': "Build a dictionary of blocks for a 'registers' field in the hjson\n\nThere are two different syntaxes we might see here. The simple syntax\njust consists of a list of entries (register, multireg, window,\nskip...
0
{'name': 'gaiarv@gaia_tools/load/__init__.py', 'description': 'NAME:\n gaiarv\nPURPOSE:\n Load the RV subset of the Gaia data\nINPUT:\n dr= (2) data release\nOUTPUT:\n data table\nHISTORY:\n 2018-04-25 - Written for DR2 - Bovy (UofT)', 'signature': 'def gaiarv(dr=2):'}</s>{'name': '_download_file@gaia_tools/l...
0
{'name': 'PlecostResults.plugins@plecost_lib/libs/data.py', 'description': ':return: installed plugins found in target.\n:rtype: `list(PlecostPluginInfo)`', 'signature': 'def plugins(self):'}</s>{'name': 'list_wordlists@plecost_lib/libs/wordlist.py', 'description': 'List internal word list.\n\n:return: list with file n...
0
{'name': 'SimpleScrapingLocator.get_page@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/locators.py', 'description': "Get the HTML for an URL, possibly from an in-memory cache.\n\nXXX TODO Note: this cache is never actually cleared. It's assumed that\nthe data won't get stale over the lifetime of a loc...
1
{'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': 'isi_post_to_swagger_path@components/create_swagger_config.py', 'description': 'Convert isi POST base endpoint description to Swagger path.', 'signature': 'def isi_post_to_swagger_path(isi_api_name, isi_obj_name_space, isi_obj_name,'}</s>{'name': 'create_web_session@components/create_swagger_config.py', 'descr...
0
{'name': 'GefHelpCommand.__rebuild@gef.py', 'description': 'Rebuild the documentation.', 'signature': 'def __rebuild(self) -> None:'}</s>{'name': 'ShellcodeGetCommand@gef.py', 'description': "Download shellcode from shell-storm's shellcode database.", 'base_classes': ['GenericCommand'], 'methods': [{'name': 'ShellcodeG...
0
{'name': 'nestedExpr@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pypa...
0