text
string
label
int64
{'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>CMAP_TOT = 176
0
{'name': 'createNatProperty@src/python/Optizelle/Properties.py', 'description': 'Create a natural number property', 'signature': 'def createNatProperty(name,desc):'}</s>{'name': 'checkVectorSpace@src/python/Optizelle/Properties.py', 'description': 'Check that we have a valid-vector space', 'code': 'def checkVectorSpace...
0
{'name': 'test_indices@gplearn/tests/test_genetic.py', 'description': 'Check that indices are stable when generated on the fly.', 'signature': 'def test_indices():'}</s>cancer = load_breast_cancer()
0
{'name': '_Printer._FieldToJsonObject@python/google/protobuf/json_format.py', 'description': 'Converts field value according to Proto3 JSON Specification.', 'signature': 'def _FieldToJsonObject(self, field, value):'}</s>{'name': 'EnumStringValueParseError@python/google/protobuf/json_format.py', 'description': 'Thrown i...
0
{'name': 'eval_seq@track.py', 'description': 'Processes the video sequence given and provides the output of tracking result (write the results in video file)\n\nIt uses JDE model for getting information about the online targets present.\n\nParameters\n----------\nopt : Namespace\n Contains information passed as co...
1
{'name': 'resolve@statefun-sdk-python/statefun/storage.py', 'description': "Resolve the registered specs and the actually received values.\n\n:param storage: a storage factory\n:param typename: the typename of the function under invocation\n:param values: the actually received values\n:return: a Resolution result, that...
1
{'name': 'SystemChecker.check_improper_torsions@openmoltools/system_checker.py', 'description': 'Check that force0 and force1 are equivalent PeriodicTorsion forces.\n\n\nParameters\n----------\nforce0 : mm.PeriodicTorsionForce\nforce1 : mm.PeriodicTorsionForce\n\nNotes\n-----\n\nSo this creates and compares a pair of d...
0
{'name': 'ConsensusML.boruta_selection@scripts/cm_work/consensus.py', 'description': 'feature selection via boruta', 'signature': 'def boruta_selection(self):'}</s>{'name': 'important_gene_mask_tree@scripts/cm_work/consensus.py', 'description': 'gene finder for tree based models since coef_ and feature_importances\nwor...
0
{'name': 'MakeQuery.order_archive@back/controller/__init__.py', 'description': '按照归档(年、月)排序文章\n:param year:int\n:param month:int\n:param order_by:str\n:param desc:bool\n:return:', 'signature': "def order_archive(self, year, month, order_by='create_date', desc=True):"}</s>{'name': 'User@back/models.py', 'description': '...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_SYSP_ROUTING_CODE = 1196
0
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'ComposeFormatObject@src/api/python/z3/z3printer.py', 'description': 'DOCSTRING', 'base_classes': ['NAryFormatObject'], 'methods...
0
{'name': 'DastUnparser.enter@da/compiler/pseudo.py', 'description': "Print ':', and increase the indentation.", 'signature': 'def enter(self):'}</s>{'name': 'NamedVar@da/compiler/dast.py', 'description': 'Node representing a named variable.\n\nUnlike other node types, a NamedVar instance may have multiple parents.\nThi...
0
{'name': '_GetTextInside@scripts/cpplint.py', 'description': "Retrieves all the text between matching open and close parentheses.\n\nGiven a string of lines and a regular expression string, retrieve all the text\nfollowing the expression and between opening punctuation symbols like\n(, [, or {, and the matching close-p...
0
{'name': 'prune_linear_layer@ZEN/modeling.py', 'description': 'Prune a linear layer (a model parameters) to keep only entries in index.\nReturn the pruned layer as a new layer with requires_grad=True.\nUsed to remove heads.', 'signature': 'def prune_linear_layer(layer, index, dim=0):'}</s>{'name': 'BertPredictionHeadTr...
0
{'name': '_filter_lines_slope@oggm/core/centerlines.py', 'description': 'Filter the centerline candidates by slope: if they go up, remove\n\nKienholz et al. (2014), Ch. 4.3.1\n\nParameters\n----------\nlines : list of shapely.geometry.LineString instances\n The lines to filter out (in raster coordinates).\ntopo : th...
0
{'name': 'test_when_the_parent_registers_a_dependency@tests/test_scoped_resolution.py', 'description': 'In this test, we have a FancyDbMessageWriter in the child and\nwe add a ConnectionStringFactory to the parent.\nIn the parent context we should fail to resolve.\nIn the child context we should succeed.', 'signature':...
1
{'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>ATTR_CURRENT_DURATION = "current_duration"
0
{'name': 'test_python_to_cpp_to_python_from_thread@pybind11/tests/test_gil_scoped.py', 'description': 'Makes sure there is no GIL deadlock when running in a thread.\n\nIt runs in a separate process to be able to stop and assert if it deadlocks.', 'signature': 'def test_python_to_cpp_to_python_from_thread():'}</s>{'name...
0
{'name': 'register_vcs_handler@versioneer.py', 'description': 'Create decorator to mark a method as the handler of a VCS.', 'signature': 'def register_vcs_handler(vcs, method): # decorator'}</s>{'name': 'plus_or_dot@versioneer.py', 'description': "Return a + if we don't already have one, else return a .", 'code': 'def...
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': 'CreateStyleFromConfig@tools/yapf/yapf/yapflib/style.py', 'description': 'Create a style dict from the given config.\n\nArguments:\n style_config: either a style name or a file name. The file is expected to\n contain settings. It can have a special BASED_ON_STYLE setting naming the\n style which it deri...
0
{'name': 'PhishCLI._run@cli/streamingphish/streamingphish/cli.py', 'description': 'Handler and primary interface that solicits user for a desired action and then launches it.', 'signature': 'def _run(self):'}</s>{'name': 'PhishCLI@cli/streamingphish/streamingphish/cli.py', 'description': 'Represents command-line interf...
1
{'name': 'test_singular_covariance_init_or_prior_strictpd@test/test_mahalanobis_mixin.py', 'description': "Tests that when using the 'covariance' init or prior, it returns the\nappropriate error if the covariance matrix is singular, for algorithms\nthat need a strictly PD prior or init (see\nhttps://github.com/scikit-l...
0
{'name': 'IUController.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the controller', 'signature': 'def load(self, config: OrderedDict) -> "IUController":'}</s>ICON_DISABLED = "mdi:circle-off-outline"
0
{'name': '_prepare_inputs@packages/ml_api/scripts/populate_database.py', 'description': 'Prepare input data by removing key rows with NA values.', 'signature': 'def _prepare_inputs(dataframe: pd.DataFrame) -> pd.DataFrame:'}</s>config = create_and_validate_config()
1
{'name': 'get_svg_size@make_bw_font.py', 'description': 'Takes a path to an SVG file and reads it.\nChecks for the existence of a \'viewBox\' property in the \'svg\' element.\nConfirms that the viewBox is square.\nReturns the viewBox dimension as an integer.\n\nThe regex match will contain 4 groups:\n 1. String from...
0
{'name': 'getUserOpenrank@python/metrics/activity_openrank.py', 'description': '_summary_\n\nArgs:\n config (QueryConfig): config of query.\nReturns:\n neo4j cursor: query results of neo4j', 'signature': 'def getUserOpenrank(config):'}</s>PULL_MERGED_WEIGHT = 2
0
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat...
0
{'name': 'get_config_vars@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/distlib/_backport/sysconfig.py', 'description': "With no arguments, return a dictionary of all configuration\nvariables relevant for the current platform.\n\nOn Unix, this means every variable defined in Python's installed Makefile;\nOn Wind...
0
{'name': 'TreeView.count@qt4c/wincontrols.py', 'description': '返回TreeView的item数\n ', 'signature': 'def count(self):'}</s>{'name': 'AccessibleObject@qt4c/accessible.py', 'description': '支持IAccessible接口的对象(控件)的包裹类\n \n ', 'base_classes': ['object'], 'methods': [{'name': 'AccessibleObject.__init__@qt4c/access...
0
{'name': 'git_get_keywords@versioneer.py', 'description': 'Extract version information from the given file.', 'signature': 'def git_get_keywords(versionfile_abs):'}</s>{'name': 'get_config_from_root@versioneer.py', 'description': 'Read the project setup.cfg file to determine Versioneer config.', 'code': 'def get_config...
0
{'name': 'check_scenarios@premise/new_database.py', 'description': 'Check that the scenarios are properly formatted and that\nall the necessary info is given.', 'signature': 'def check_scenarios(scenario: dict, key: bytes) -> dict:'}</s>FILEPATH_SIB_BATTERY = INVENTORY_DIR / "lci-batteries-SIB.xlsx"
0
{'name': 'Box3dEvaluator.loadGT@cityscapesscripts/evaluation/evalObjectDetection3d.py', 'description': 'Loads ground truth from the given folder.\n\nArgs:\n gt_folder (str): Ground truth folder', 'signature': 'def loadGT('}</s>{'name': 'getFiles@cityscapesscripts/evaluation/objectDetectionHelpers.py', 'description':...
1
{'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':...
1
{'name': 'generate@code/html/generate_static_website.py', 'description': 'Regenerates the whole static website given an already imported set of entries, inspirations and developers.\nThese datasets must be valid for each other, i.e. each inspiration listed in entries must also have an\nentry in inspirations and the sam...
0
{'name': 'lineno@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Returns current line number within a string, counting newlines as line separators.\nThe first line is number 1.\n\nNote: the default parsing behavior is to expand tabs in the input string\nbefore starting the parsing process. See ...
0
{'name': 'put_file@tests/zenko_tests/create_buckets.py', 'description': 'Put an object in a bucket', 'signature': 'def put_file(bucket, object_name, body):'}</s>{'name': 'bucket_safe_create@tests/zenko_tests/create_buckets.py', 'description': 'DOCSTRING', 'code': "def bucket_safe_create(bucket):\n try:\n _log...
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': 'Herbie._validate@herbie/core.py', 'description': 'Validate the Herbie class input arguments.', 'signature': 'def _validate(self) -> None:'}</s>{'name': 'create_index_files@herbie/core.py', 'description': 'Create an index file for all GRIB2 files in a directory.\n\nParameters\n----------\npath : str or pathlib...
0
{'name': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre...
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': 'test_error_messages_interface@tests/test_fields.py', 'description': '`errors.messages()` should return a list of Message instances.', 'signature': 'def test_error_messages_interface():'}</s>{'name': 'test_array@tests/test_fields.py', 'description': 'DOCSTRING', 'code': 'def test_array():\n validator = Arra...
0
{'name': 'datetime_from_timestamp@yaql/standard_library/date_time.py', 'description': ':yaql:datetime\n\nReturns datetime object built by timestamp.\n\n:signature: datetime(timestamp, offset => timespan(0))\n:arg timestamp: timespan object to represent datetime\n:argType timestamp: number\n:arg offset: datetime offset ...
0
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>sim_buttonpropert...
0
{'name': 'thanksgiving@src/convertdate/holidays.py', 'description': "In the United States, Thanksgiving is celebrated on the last Thursday\nof November. In Canada, on the second Monday of October.\n\nArguments:\n year (int): Gregorian year\n country (str): either ``'usa'`` (default) or ``'canada'``", 'signature':...
0
{'name': 'mutate_fix_var_filter@gp_learner.py', 'description': 'Filters results of fix var mutation in-place.\n\nExcludes:\n- too long literals\n- URIs with encoding errors (real world!)\n- BNode results (they will not be fixed but stay SPARQL vars)\n- NaN or INF literals (Virtuoso bug\n https://github.com/openlink/...
0
{'name': 'SentenceTreeParser._parse_expr@padatious/bracket_expansion.py', 'description': "Generate sentence token trees from the current position to\nthe next closing parentheses / end of the list and return it\n['1', '(', '2', '|', '3, ')'] -> ['1', [['2'], ['3']]]\n['2', '|', '3'] -> [['2'], ['3']]", 'signature': 'de...
0
{'name': 'Decoder.decode_list@transit/decoder.py', 'description': "Special case decodes map-as-array.\nOtherwise lists are treated as Python lists.\n\nArguments follow the same convention as the top-level 'decode'\nfunction.", 'signature': 'def decode_list(self, node, cache, as_map_key):'}</s>{'name': 'frozendict@trans...
1
{'name': 'rel_err@oggm/utils/_funcs.py', 'description': 'Relative error. Ref should be non-zero', 'signature': 'def rel_err(ref, data):'}</s>_doc = "A ``salem.Grid`` handling the georeferencing of the local grid."
0
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24...
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': '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': 'shuffle@src/python_scripts/afnipy/afni_util.py', 'description': "randomize the order of list elements, where e...
0
{'name': 'parse_float@dwave/cloud/config/loaders.py', 'description': "Parse value as returned by ConfigParse as float.\n\nNB: we need this instead of ``ConfigParser.getfloat`` when we're parsing\nvalues downstream.", 'signature': 'def parse_float(s, default=None):'}</s>{'name': 'get_cache_dir@dwave/cloud/config/loaders...
0
{'name': 'Serial.open@serial/serialwin32.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>_stdcall_libraries = {}
0
{'name': 'initialize_jwst_image@grizli/jwst_utils.py', 'description': 'Make copies of some header keywords to make the headers look like\nand HST instrument\n\n1) Apply gain correction [*NOT PERFORMED*]\n2) Clip DQ bits\n3) Copy header keywords\n4) Apply exposure-level 1/f correction\n5) Apply flat field if necessary\n...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_TCP_NAME_LENGTH = 8
0
{'name': 'BaseProcessTensor.dt@oqupy/process_tensor.py', 'description': 'Time step length.', 'signature': 'def dt(self):'}</s>{'name': 'ProgressSilent@oqupy/util.py', 'description': 'Class NOT to display the computation progress. ', 'base_classes': ['BaseProgress'], 'methods': [{'name': 'ProgressSilent.__init__@oqupy/u...
0
{'name': 'MarkerManager.mark_compiler_output@parseoutput.py', 'description': 'Parse text into a list of OutputMessage objects.\n ', 'signature': 'def mark_compiler_output(self, view, banner, base_dir, text, exit_code):'}</s>{'name': 'parse_package@symbols.py', 'description': 'DOCSTRING', 'code': "def parse_packa...
0
{'name': 'test_fit_verbose_raises_error@sysidentpy/neural_network/tests/test_narxnn.py', 'description': 'Fit raises ValueError if verbose=True but no validation data is provided.', 'signature': 'def test_fit_verbose_raises_error():'}</s>{'name': 'test_raise_verbose@sysidentpy/neural_network/tests/test_narxnn.py', 'desc...
0
{'name': 'ProAntiSaccades.upload_stimuli@demo_experiments/anti_saccades.py', 'description': 'Uploads all relevant stimuli to Pro Lab. They are\n\n* Central fixation point\n\n* Prosaccade left\n* Prosaccade right\n* Practice instruction text prosaccade\n* Instruction text prosaccade\n\n* Antisaccade left\n* Antisaccade ...
0
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat...
0
{'name': 'BucketsVectorizer.unvectorize@vectorizers.py', 'description': ':param int bucket: The id of a color bucket\n:param random: If `True`, sample a random color from the bucket. Otherwise,\n return the center of the bucket.\n:param hsv: If `True`, return colors in HSV format [0 <= hue <= 360,\n ...
0
{'name': 'pyin@librosa/core/pitch.py', 'description': 'Fundamental frequency (F0) estimation using probabilistic YIN (pYIN).\n\npYIN [#]_ is a modificatin of the YIN algorithm [#]_ for fundamental frequency (F0) estimation.\nIn the first step of pYIN, F0 candidates and their probabilities are computed using the YIN alg...
0
{'name': 'test_bact_death_z_test@Project/SampleProjects/biolab_project/tests/test_bacteria.py', 'description': 'This test is a probabilistic test: It executes dies() N times.\nThe number n of "successes" (dies() returns True) should be\ndistributed according to the binomial distribution B(N, p),\nwhere p is short for p...
0
{'name': 'Monitor.decode_json@wideq/client.py', 'description': 'Decode a bytestring that encodes JSON status data.', 'signature': 'def decode_json(data: bytes) -> Dict[str, Any]:'}</s>{'name': 'Gateway@wideq/core.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Gateway.__init__@wideq/c...
0
{'name': 'Analyzer.get_abstract0@tf_verify/analyzer.py', 'description': 'processes self.ir_list and returns the resulting abstract element', 'signature': 'def get_abstract0(self):'}</s>{'name': 'DeeppolyNode@tf_verify/deeppoly_nodes.py', 'description': 'Parent class for all the classes that implement fully connected la...
0
{'name': 'MessageSetItemEncoder@python/google/protobuf/internal/encoder.py', 'description': 'Encoder for extensions of MessageSet.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n required int32 type_id = 2;\n required string message = 3;\n }\n }', 'sign...
0
{'name': 'HubitatSwitch.__init__@custom_components/hubitat/switch.py', 'description': 'Initialize a Hubitat switch.', 'signature': 'def __init__('}</s>ICON_ALARM = "mdi:alarm-bell"
0
{'name': 'handle_scene_activated@custom_components/zwave_mqtt/__init__.py', 'description': 'Handle a (central) scene activation message.', 'signature': 'def handle_scene_activated(hass: HomeAssistant, scene_value: OZWValue):'}</s>DISC_SCHEMAS = "schemas"
0
{'name': 'main._generate_band@mcu/crystal/crystal.py', 'description': 'Processing/collecting the band data before the plotting function\n ', 'signature': 'def _generate_band(self, filename=None, efermi=None, spin=0, klabel=None):'}</s>{'name': 'read_DOSS@mcu/crystal/crystal_io.py', 'description': 'Read prefix.DO...
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_PUT_TIME_LENGTH = 8
0
{'name': 'user_can_push@src/oca_github_bot/manifest.py', 'description': 'Check if the user is maintainer of all modified addons.\n\nAssuming, addons_dir is a git clone of an addons repository,\nreturn true if username is declared in the maintainers key\non the target branch, for all addons modified in the current branc...
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': 'APIConnection.__init__@qingcloud/iaas/connection.py', 'description': '@param qy_access_key_id - the access key id\n@param qy_secret_access_key - the secret access key\n@param zone - the zone id to access\n@param host - the host to make the connection to\n@param port - the port to use when connect to host\n@pa...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQSECSW_Q_MGR = 15
0
{'name': 'get_prediction@DigiPathAI/Segmentation.py', 'description': 'patch based segmentor', 'signature': 'def get_prediction(wsi_path, '}</s>{'name': 'normalize_minmax@DigiPathAI/helpers/utils.py', 'description': 'Normalize contrast across volume', 'code': 'def normalize_minmax(data):\n """\n Normalize contrast...
0
{'name': 'ReceiveClient.receive_messages_iter@uamqp/client.py', 'description': 'Receive messages by generator. Messages returned in the generator have already been\naccepted - if you wish to add logic to accept or reject messages based on custom\ncriteria, pass in a callback.\n\n:param on_message_received: A callback t...
0
{'name': 'Context.resolve@lib/rule_engine/engine.py', 'description': 'The method to use for resolving symbols names to values. This function must return a compatible value for the\nspecified symbol name. When a *scope* is defined, this function handles the resolution itself, however when the\n*scope* is ``None`` the re...
0
{'name': 'Ava._images_and_boxes_preprocessing_cv2@models/SlowFast/slowfast/datasets/ava_dataset.py', 'description': 'This function performs preprocessing for the input images and\ncorresponding boxes for one clip with opencv as backend.\n\nArgs:\n imgs (tensor): the images.\n boxes (ndarray): the boxes for the cu...
1
{'name': 'process_extra_commands@heudiconv/main.py', 'description': "Perform custom command instead of regular operations. Supported commands:\n['treat-json', 'ls', 'populate-templates', 'populate-intended-for']\n\nParameters\n----------\noutdir : str\n Output directory\ncommand : {'treat-json', 'ls', 'populate-temp...
1
{'name': 'Ty.assert_isadjoint@discopy/rigid.py', 'description': 'Raise ``AxiomError`` if two rigid types are not adjoints.\n\nParameters:\n other : The alleged right adjoint.', 'signature': 'def assert_isadjoint(self, other):'}</s>NOT_ADJOINT = "{} and {} are not adjoints."
1
{'name': 'AutoName@deprecated/gcp/R80.40-R81/ha-payg/common.py', 'description': 'Helper method to generate names automatically based on default.', 'signature': 'def AutoName(base, resource, *args):'}</s>{'name': 'MakeC2DImageLink@deprecated/gcp/R80.40-R81/ha-payg/common.py', 'description': 'DOCSTRING', 'code': "def Mak...
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': 'apply@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/utils.py', 'description': 'Apply an incremental batch to the target BigQuery table via an asynchronous\nload job or external query.\n\nArgs:\n gcs_client: storage.Client\n bq_client: bigquery.Client\n success_blob: storage.Bl...
0
{'name': 'AutoBackup.get_next_expiry@custom_components/auto_backup/manager.py', 'description': 'Return the next snapshot expiry date that has not expired', 'signature': 'def get_next_expiry(self) -> datetime | None:'}</s>{'name': 'AutoBackup@custom_components/auto_backup/manager.py', 'description': 'DOCSTRING', 'base_c...
1
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>JSON_API = 3
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': 'GlibcHeapArenaCommand@gef.py', 'description': 'Display information on a ...
0
{'name': 'QPath.search@qt4c/qpath.py', 'description': '根据qpath和root查找控件\n\n:type root: 实例类型\n:param root: 查找开始的控件\n:return: 返回找到的控件列表', 'signature': 'def search(self, root=None):'}</s>{'name': 'Process@qt4c/util.py', 'description': "提供系统进程的操作类\n使用例子:\nfor proc in Process.GetProcessesByName('iexplore.exe'):\n print ...
0
{'name': 'HtmlFormatter.make_html_word@src/freetype/src/tools/docmaker/tohtml.py', 'description': 'Analyze a simple word to detect cross-references and markup.', 'signature': 'def make_html_word(self, word):'}</s>re_source_sep = re.compile(r'\s*/\*\s*\*/')
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': 'main@github_invite_to_org.py', 'description': 'Read a JSON file with a dictionary mapping organization roles to lists of members usernames.\n\nArguments:\n\n--token XXX = GitHub Personal Access Token (default = defined in github_coinfig.py)\n--file XXX = JSON file with format: { role:[username, ...] } whe...
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': 'prettyArray@boxx/ylimg/ylimgTool.py', 'description': 'return str of pretty discrib for array, include nan inf (shape type max min) ', 'signature': 'def prettyArray(array):'}</s>__torchCudaToNumpy = lambda x:__torchVar2Tensor(x).cpu().numpy()
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': '_prepare_app_state_for_checkpoint@torchtnt/framework/callbacks/_checkpoint_utils.py', 'description': 'Prepares the application state for checkpointing.', 'signature': 'def _prepare_app_state_for_checkpoint('}</s>_TRAIN_DL_STATE_KEY = "train_dataloader"
0
{'name': 'MainWindow.action_initialize_model@AIDeveloper/aid_backbone.py', 'description': 'duties: which tasks should be performed: "initialize", "initialize_train", "initialize_lrfind"', 'signature': 'def action_initialize_model(self,duties="initialize_train"):'}</s>{'name': 'MyPopup@AIDeveloper/aid_backbone.py', 'des...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQACH_CURRENT_VERSION = 1
0
{'name': 'fame_manage@main.py', 'description': 'HTTP Google cloud function. Adds/Removes/Lists repos.', 'signature': 'def fame_manage(request):'}</s>{'name': 'Manage@main.py', 'description': 'Management commands.', 'base_classes': [], 'methods': [{'name': 'Manage.is_valid@main.py', 'description': 'DOCSTRING', 'code': '...
1
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inlin...
0