text
string
label
int64
{'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': 'ZWaveDeviceEntity.device_info@custom_components/zwave_mqtt/entity.py', 'description': 'Return device information for the device registry.', 'signature': 'def device_info(self):'}</s>{'name': 'check_value_schema@custom_components/zwave_mqtt/discovery.py', 'description': 'Check if the value matches the passed v...
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': '_AppHandler.build@jupyterlab/commands.py', 'description': 'Build the application.', 'signature': 'def build('}</s>{'name': '_node_check@jupyterlab/commands.py', 'description': 'Check for the existence of nodejs with the correct version.', 'code': 'def _node_check(logger):\n """Check for the existence of no...
0
{'name': 'MechCodon_Sanity._calc_f1x4@src/parameters_sanity.py', 'description': 'Calculate state codon frequencies from nucleotide frequencies for use in an MG-style model.\nNOTE: F1x4 are calculated because these *are* the state frequencies for an MG-stye model.', 'signature': 'def _calc_f1x4(self):'}</s>{'name': 'Par...
0
{'name': 'Mask.apply@flask_restx/mask.py', 'description': 'Apply a fields mask to the data.\n\n:param data: The data or model to apply mask on\n:raises MaskError: when unable to apply the mask', 'signature': 'def apply(self, data):'}</s>{'name': 'RestError@flask_restx/errors.py', 'description': 'Base class for all Flas...
0
{'name': 'compose@docstring_parser/epydoc.py', 'description': 'Render a parsed docstring into docstring text.\n\n:param docstring: parsed docstring representation\n:param rendering_style: the style to render docstrings\n:param indent: the characters used as indentation in the docstring string\n:returns: docstring text'...
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>CONF_SCHEDULES = "schedules"
0
{'name': 'Retry.increment@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/urllib3/util/retry.py', 'description': 'Return a new Retry object with incremented retry counters.\n\n:param response: A response object, or None, if the server did not\n return a response.\n:type response: :class:`~urllib3.response.HT...
0
{'name': 'guessImportFunc@s5_r2/local/build_big_lexicon.py', 'description': 'Guess importer based on filename. Each dictionary has a slightly different file format. But all use some variant of German (BAS) Sampa for ponounciations.', 'signature': 'def guessImportFunc(filename):'}</s>{'name': 'collapsePronList@s5_r2/loc...
0
{'name': 'get_index_of_first_statement@stino/pyarduino/arduino_src.py', 'description': "Returns the index of the first character that's not whitespace, a comment\nor a pre-processor directive.\n\nArgs:\n src_text: The source code.\n\nReturns:\n index: The index of first statement.", 'signature': 'def get_index_of...
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': 'show@phi/vis/_vis.py', 'description': 'Args:\n See `plot()`.', 'signature': 'def show(*fields: Union[Field, Tensor, Geometry, list, tuple, dict],'}</s>functional_gradient = gradient
0
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>ICMP_TSTAMPREPLY = 14
0
{'name': 'expr_value@tools/kconfig_new/kconfiglib.py', 'description': "Evaluates the expression 'expr' to a tristate value. Returns 0 (n), 1 (m),\nor 2 (y).\n\n'expr' must be an already-parsed expression from a Symbol, Choice, or\nMenuNode property. To evaluate an expression represented as a string, use\nKconfig.eval_s...
0
{'name': 'device_added@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is added or updated', 'signature': 'def device_added(notification):'}</s>ERROR_INTERFACE = 2
0
{'name': 'PapermillIO.get_handler@papermill/iorw.py', 'description': 'Get I/O Handler based on a notebook path\n\nParameters\n----------\npath : str or nbformat.NotebookNode or None\nextensions : list of str, optional\n Required file extension options for the path (if path is a string), which\n will log a warning...
0
{'name': 'readability@panoramix/simplify.py', 'description': "- replaces variable names with nicer ones,\n- fixes empty memory in calls\n- replaces 'max..' in setmems with msize variable\n (max can only appear because of this)", 'signature': 'def readability(trace):'}</s>{'name': 'max_to_add@panoramix/core/algebra.p...
0
{'name': 'load_tf_weights_in_xlnet@source/pytorch_transformers/modeling_xlnet.py', 'description': 'Load tf checkpoints in a pytorch model\n ', 'signature': 'def load_tf_weights_in_xlnet(model, config, tf_path):'}</s>XLNET_PRETRAINED_CONFIG_ARCHIVE_MAP = { 'xlnet-base-cased': "https://s3.amazonaws.com/models.hugg...
0
{'name': 'get_batch_id@list_metrics/main.py', 'description': 'Generate a unique id to use across the batches to uniquely identify each one', 'signature': 'def get_batch_id():'}</s>{'name': 'get_message_for_publish_metric@list_metrics/main.py', 'description': 'Build a message for the https://cloud.google.com/pubsub/docs...
0
{'name': 'main@storcli.py', 'description': 'main', 'signature': 'def main(args):'}</s>{'name': 'handle_common_controller@storcli.py', 'description': 'DOCSTRING', 'code': 'def handle_common_controller(response):\n controller_index = response["Basics"]["Controller"]\n\n metrics["ctrl_info"].labels(\n control...
1
{'name': 'TraceServiceStub.__init__@gen-python/opencensus/proto/agent/trace/v1/trace_service_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>{'name': 'TraceService@gen-python/opencensus/proto/agent/trace/v1/trace_service_pb2_grpc.py', '...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_MSG_MARKED_BROWSE_CO_OP = 2200
0
{'name': 'run@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCA_CONN_AUTH = 2125
0
{'name': 'QtTreeViewItem._default_view@enamlx/qt/qt_tree_view.py', 'description': "If this is the root item, return the parent\nwhich must be a TreeView, otherwise return the\nparent Item's view.", 'signature': 'def _default_view(self):'}</s>{'name': 'QAbstractAtomItemModel@enamlx/qt/qt_abstract_item_view.py', 'descrip...
0
{'name': 'Ivis.load_model@ivis/ivis.py', 'description': 'Load ivis model\n\nParameters\n----------\nfolder_path : string\n Path to serialised model files and metadata\n\nReturns\n-------\nself: ivis.Ivis object\n Returns estimator instance.', 'signature': 'def load_model(self, folder_path):'}</s>{'name': 'KerasSe...
0
{'name': 'generate_dataset@Chapter09/utils.py', 'description': "Before executing this function. Follow these steps;\n1. Download the datasets\nHandbags data Link 'https://people.eecs.berkeley.edu/~tinghuiz/projects/pix2pix/datasets/edges2handbags.tar.gz'\nShoes data Link 'https://people.eecs.berkeley.edu/~tinghuiz/proj...
0
{'name': 'AutoCVWrap.transform@lightautoml/transformers/image.py', 'description': 'Transform dataset to image embeddings.\n\nArgs:\n dataset: Pandas or Numpy dataset of image paths.\n\nReturns:\n Numpy dataset with image embeddings.', 'signature': 'def transform(self, dataset: NumpyOrPandas) -> NumpyDataset:'}</s...
1
{'name': 'error_screen@displays/papiruszero2in.py', 'description': 'Error screen\n ', 'signature': 'def error_screen(message="ERROR"):'}</s>{'name': 'update_qr_request@displays/papiruszero2in.py', 'description': 'DOCSTRING', 'code': 'def update_qr_request():\n # initially set all white background\n image, widt...
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': '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': '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': 'is_func_decl@src/api/python/z3/z3.py', 'description': "Return `True` if `a` is a Z3 function declaration.\n\n>>> f = Function('...
0
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'render_pep440@versioneer.py', 'description': 'Build up version string, with post-release "local version identifier".\n\nOur goal: TAG[+DISTANCE.gHEX[.dirty...
1
{'name': 'ParserElement.setDebugActions@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Enable display of debugging messages while doing pattern matching.', 'signature': 'def setDebugActions( self, startAction, successAction, exceptionAction ):'}</s>{'name': '_xml_escape@tests/_lib_vendors/pkg_r...
0
{'name': 'modsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'modulename', 'signature': 'def modsign2map(m):'}</s>{'name': 'ischaracter@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'description': 'DOCSTRING', 'code': "def ischaracter(var):\n return isstring(var) and 'charselector' not in ...
0
{'name': 'capture@src/python/Optizelle/Unconstrained/Restart.py', 'description': 'Capture data from structures controlled by the user.', 'signature': 'def capture(X,state,xs,reals,nats,params):'}</s>{'name': 'checkVectors@src/python/Optizelle/Properties.py', 'description': 'Check that we have a list of restart vectors'...
1
{'name': 'validate_apis@swagger_spec_validator/validator20.py', 'description': 'Validates semantic errors in #/paths.\n\n:param apis: dict of all the #/paths\n:param deref: callable that dereferences $refs\n\n:raises: :py:class:`swagger_spec_validator.SwaggerValidationError`\n:raises: :py:class:`jsonschema.exceptions.V...
0
{'name': 'design_carfac@python/np/carfac.py', 'description': "This function designs the CARFAC filterbank.\n\nCARFAC is a Cascade of Asymmetric Resonators with Fast-Acting Compression);\nthat is, it take bundles of parameters and computes all the filter\ncoefficients needed to run it.\n\nSee other functions for designi...
0
{'name': 'create_event_classes@lib/event.py', 'description': 'Creates list of classes that will be calculated for', 'signature': 'def create_event_classes(all_events, b_type):'}</s>{'name': 'Event@lib/event.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Event.__init__@lib/event.py', 'descrip...
0
{'name': 'validateURL@src/feedvalidator/__init__.py', 'description': 'validate RSS from URL, returns events list, or (events, rawdata) tuple', 'signature': 'def validateURL(url, firstOccurrenceOnly=1, wantRawData=0):'}</s>{'name': 'InvalidKmlMediaType@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_cla...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQWQR3_LENGTH_3 = 212
0
{'name': 'IdmlTestCase.test_import_xml_force_content3@tests/regressiontests/idml.py', 'description': 'Forcecontent flag is not a direct child of ignorecontent flag. ', 'signature': 'def test_import_xml_force_content3(self):'}</s>{'name': 'suite@tests/regressiontests/idml.py', 'description': 'DOCSTRING', 'code': 'def su...
0
{'name': 'predict_query@gp_query.py', 'description': 'Performs a single query starting at ?SOURCE returning all ?TARGETs.', 'signature': 'def predict_query(sparql, timeout, graph_pattern, source,'}</s>{'name': '_exception_closes_worker_guard@gp_query.py', 'description': 'Temporarily closes _multi_query for current work...
0
{'name': 'p_unary_expression@ctypesgen/parser/cgrammar.py', 'description': 'unary_expression : postfix_expression\n| INC_OP unary_expression\n| DEC_OP unary_expression\n| unary_operator cast_expression\n| SIZEOF unary_expression\n| SIZEOF LPAREN type_name RPAREN\n| asm_expression', 'signature': 'def p_unary_expression(...
0
{'name': 'Unmarshaller._read_header@dbus_next/_private/unmarshaller.py', 'description': 'Read the header of the message.', 'signature': 'def _read_header(self):'}</s>UNPACK_LENGTHS = {BIG_ENDIAN: Struct(">III"), LITTLE_ENDIAN: Struct("<III")}
1
{'name': 'ConnectToNetwork@gmacpyutil/gmacpyutil/airport.py', 'description': 'Attempt to connect to a network.\n\nIf one of |GUEST_NETWORKS| is available nearby, will connect to that.\nOtherwise, will offer a list of networks to connect to.\nArgs:\n withcancelbutton: True to add a Cancel button to the Wi-Fi picker dia...
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': 'Parameters.build_params@icepyx/core/APIformatting.py', 'description': "Build the parameter dictionary of formatted key:value pairs for submission to NSIDC\nin the data request.\n\nParameters\n----------\n**kwargs\n Keyword inputs containing the needed information to build the parameter list, depending\n ...
1
{'name': 'host_setup@source-builder/sb/check.py', 'description': 'Basic sanity check. All executables and directories must exist.', 'signature': 'def host_setup(opts):'}</s>{'name': 'get_humanize_size@source-builder/sb/path.py', 'description': 'DOCSTRING', 'code': 'def get_humanize_size(path, depth=-1):\n size = get...
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': 'get_section_base_address@gef.py', 'description': 'DOCSTRING', 'code': 'd...
0
{'name': 'unicode_normalize@joeynmt/helpers.py', 'description': 'apply unicodedata NFKC normalization\n- used in pre_process() in tokenizer.py\n\n:param s: input string\n:return: normalized string', 'signature': 'def unicode_normalize(s: str) -> str:'}</s>{'name': 'check_version@joeynmt/helpers.py', 'description': 'Che...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_INQUIRE_CF_STRUC_NAMES = 147
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQDXP_CURRENT_VERSION = py23long(1)
0
{'name': 'PULP_CBC_CMDTest.test_cuts_off@pulp/tests/test_pulp.py', 'description': 'Test if setting cuts=False adds cuts off to the command line.', 'signature': 'def test_cuts_off(self):'}</s>{'name': 'GLPK_CMDTest@pulp/tests/test_pulp.py', 'description': 'DOCSTRING', 'base_classes': ['BaseSolverTest.PuLPTest'], 'method...
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': 'predict_structure@colabfold/batch.py', 'description': 'Predicts structure using AlphaFold for the given sequence.', 'signature': 'def predict_structure('}</s>{'name': 'process_multimer_features@colabfold/batch.py', 'description': 'DOCSTRING', 'code': 'def process_multimer_features(\n features_for_chain: Di...
0
{'name': 'print_heap@algorithms/models/print_util.py', 'description': 'Print a heap both in array and tree representations', 'signature': 'def print_heap(heap: list[int]):'}</s>{'name': 'Trunk@algorithms/models/print_util.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Trunk.__init__@algorith...
0
{'name': 'Window.initUI@picasso/gui/render.py', 'description': 'Initializes the main window. Builds dialogs and menu bar.\n\nParameters\n----------\nplugins_loaded : boolean\n If True, plugins have been loaded before.', 'signature': 'def initUI(self, plugins_loaded):'}</s>{'name': '_locs_at@picasso/postprocess.py', ...
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': 'action_update_article_cache@apps/easytask/actions.py', 'description': '更新所有文章的缓存,缓存格式跟文章视图保持一致\n@return:', 'signature': 'def action_update_article_cache():'}</s>{'name': 'ArticleViewsTool@apps/easytask/actions.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'ArticleViewsTool.get_last...
0
{'name': 'BaseProgressRecorder.increment_progress@celery_progress/backend.py', 'description': "Increments progress by one, with an optional description. Useful if the caller doesn't know the total.", 'signature': 'def increment_progress(self, by=1, description=""):'}</s>{'name': 'ProgressRecorder@celery_progress/backen...
0
{'name': 'edit_roster@rosters/views.py', 'description': 'Edit Roster View.', 'signature': 'def edit_roster(request):'}</s>{'name': 'GenerateRosterForm@rosters/forms.py', 'description': 'Generate Roster Form.', 'base_classes': ['forms.Form'], 'methods': [{'name': 'GenerateRosterForm.__init__@rosters/forms.py', 'descript...
0
{'name': '_check_description@swagger_to/style.py', 'description': 'Check whether a description is well-styled.\n\n:param description: the description\n:param starts_with_verb:\n if True, check that the description should start with a verb in third person singular (stem -s).\n:return: the failed check, if any', 'sign...
0
{'name': 'Struct.field@python/taichi/lang/struct.py', 'description': 'Creates a :class:`~taichi.StructField` with each element\nhas this struct as its type.\n\nArgs:\n members (dict): a dict, each item is like `name: type`.\n methods (dict): a dict of methods that should be included with\n the field. Each...
0
{'name': '_get_decorators@inference_schema/schema_util.py', 'description': 'Gets a list if decorators applied to a function\n\n:param func:\n:type func: function | FunctionWrapper\n:return:\n:rtype: list', 'signature': 'def _get_decorators(func):'}</s>OUTPUT_SCHEMA_ATTR = "output_schema"
0
{'name': 'DTSExperiment.__init__@dts/utils/experiments.py', 'description': ':param ex_name: Name of the experiment\n:param db_name: Name of the db where the results will be stored\n:param kwargs:', 'signature': 'def __init__(self, ex_name, db_name, **kwargs):'}</s>{'name': 'check_for_completed_experiment@dts/utils/expe...
0
{'name': 'plot_st@rtm/plotting.py', 'description': 'Plot Stream waveforms in a publication-quality figure. Multiple plotting\noptions, including filtering.\n\nArgs:\n st (:class:`~obspy.core.stream.Stream`): Any Stream object\n filt (list): A two-element list of lower and upper corner frequencies\n for fil...
0
{'name': 'compute_uninitialized@src/climpred/reference.py', 'description': 'Verify an uninitialized ensemble against verification data.\n\n.. note::\n Based on Decadal Prediction protocol, this should only be computed for the\n first lag and then projected out to any further lags being analyzed.\n\nArgs:\n ini...
1
{'name': 'getShutterSetting@source/pi-timolo.py', 'description': 'Calculate a shutter speed based on image pixel average', 'signature': 'def getShutterSetting(pxAve):'}</s>{'name': 'takeVideo@source/pi-timolo.py', 'description': 'Take a short motion video if required', 'code': 'def takeVideo(filename, duration, vidW=12...
0
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'BuiltinCallExpr@da/compiler/dast.py', 'description': 'DOCSTRING', 'base_classes': ['CallExpr'], 'methods': [{'name': 'BuiltinCallExpr.func@da/compiler/dast...
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.__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': 'is_mutibyte_string@qt4a/androiddriver/util.py', 'description': '判断是否是多字节字符串', 'signature': 'def is_mutibyte_string(data):'}</s>{'name': 'PackageError@qt4a/androiddriver/util.py', 'description': '安装包错误', 'base_classes': ['RuntimeError'], 'methods': []}
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>g_LineEdittype = None
0
{'name': 'calculate_hidden_flow@experiments/causal_trace.py', 'description': 'Runs causal tracing over every token/layer combination in the network\nand returns a dictionary numerically summarizing the results.', 'signature': 'def calculate_hidden_flow('}</s>{'name': 'invoke_with_optional_args@util/nethook.py', 'descri...
0
{'name': 'test_only_setup_missing@tests/main_test.py', 'description': 'test generate setup.py (when it is missing)', 'signature': 'def test_only_setup_missing('}</s>{'name': 'test_help_text@tests/main_test.py', 'description': 'DOCSTRING', 'code': 'def test_help_text(capsys):\n cmd(argv=[""])\n captured = capsys.r...
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': 'Portal.get_device_by_property@os_brick/initiator/connectors/nvmeof.py', 'description': 'Look for a specific device (namespace) within a controller.\n\nUse a specific property to identify the namespace within the\ncontroller and returns the device path under /dev.\n\nReturns None if device is not found.', 'sig...
0
{'name': 'HomographyTransform.map_index_to_coord@util/homg_trans.py', 'description': 'Return the coordinate in the transformed space of the tile.\nDependencies: init_map_coordinate\n:param index: tile index\n:return: coordinate of the tile in the transformed space.', 'signature': 'def map_index_to_coord(self, index):'}...
0
{'name': 'glacier_masks@oggm/core/gis.py', 'description': 'Makes a gridded mask of the glacier outlines that can be used by OGGM.\n\nFor a more robust solution (not OGGM compatible) see simple_glacier_masks.\n\nParameters\n----------\ngdir : :py:class:`oggm.GlacierDirectory`\n where to write the data', 'signature': ...
0
{'name': 'traced@beeline/__init__.py', 'description': 'Function decorator to wrap an entire function in a trace span. If no trace\nis active in the current thread, starts a new trace, and the wrapping span\nwill be a root span. If a trace is active, creates a child span of the\nexisting trace.\n\nExample use:\n\n```\n@...
0
{'name': 'GetBestInterface@comtypes/client/_managing.py', 'description': "Try to QueryInterface a COM pointer to the 'most useful'\ninterface.\n\nGet type information for the provided object, either via\nIDispatch.GetTypeInfo(), or via IProvideClassInfo.GetClassInfo().\nGenerate a wrapper module for the typelib, and QI...
0
{'name': 'GlacierDirectory.__init__@oggm/utils/_workflow.py', 'description': "Creates a new directory or opens an existing one.\n\nParameters\n----------\nrgi_entity : a ``geopandas.GeoSeries`` or str\n glacier entity read from the shapefile (or a valid RGI ID if the\n directory exists)\nbase_dir : str\n path ...
0
{'name': 'BaseImage.export_pixels@wand/image.py', 'description': 'Export pixel data from a raster image to\na list of values.\n\nThe ``channel_map`` tells ImageMagick which color\nchannels to export, and what order they should be\nwritten as -- per pixel. Valid entries for\n``channel_map`` are:\n\n- ``\'R\'`` - Red cha...
0
{'name': 'shows@boxx/ylimg/ylimgTool.py', 'description': '图片展示分析工具 使用浏览器同步显示同一图像的不同数据表示 如不同通道的image,gt,resoult \n支持放大缩小与拖拽\n\nParameters\n----------\nimgs : list include path or np.ndarray \n 图片地址或图片np.ndarray 组成的list 要求所有图片宽高相同', 'signature': 'def shows(*imgs, png=False, coln=None):'}</s>{'name': 'plot@boxx/ylimg/...
0
{'name': 'MultipleChoiceFilterTests.test_filter_conjoined_true@tests/test_filters.py', 'description': 'Tests that a filter with `conjoined=True` returns objects that\nhave all the values included in `value`. For example filter\nusers that have all of these books.', 'signature': 'def test_filter_conjoined_true(self):'}<...
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': 'TestingParser.convert_json_to_testing_args@tests/run_all_tests.py', 'description': 'Converts JSON config data to TestingArgs.\n\nThis method validates and converts JSON config data to a TestingArgs\nobject. It checks the data types of various fields and sets the\ncorresponding attributes in the TestingArgs ob...
0
{'name': 'FileInfo.RepositoryName@third_party/cpplint/cpplint.py', 'description': 'FullName after removing the local path to the repository.\n\nIf we have a real absolute path name here we can try to do something smart:\ndetecting the root of the checkout and truncating /path/to/checkout from\nthe name so that we get h...
0
{'name': 'boundary_statistic@graphlearning/utils.py', 'description': 'Boundary test statistic\n===================\n\nComputes the boundary test statistics from [1] for identifying the boundary of a point cloud.\n\nParameters\n----------\nX : (n,d) numpy array (float)\n Point cloud in dimension d.\nr : float or int,...
0
{'name': 'CAM.image@deeppixel/cam/cam.py', 'description': 'to get the superimposed image.\nheat map is generated using :meth:`heat_map` with\n:parm:`image` and :parm:`class_index`.\n\nArgs:\n image (str, Image, array): image path or image instance or image array.\n class_index (int, optional): class index. Defaul...
1
{'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': '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': '_COMMTIMEOUTS@stino/pyarduino/base/pyserial/win32.py', 'description': 'DOCSTRING', 'ba...
0
{'name': 'Printer._print_hdr@tools/hadb.py', 'description': 'Print header.', 'signature': 'def _print_hdr(self) -> None:'}</s>COL1_HEADER = "entity_id / event_type"
1
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>ICMP_UNREACH_ISOLATED = 8
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_COMMAND_PCF = 2413
0
{'name': '_dual_to_ugrid@uxarray/io/_mpas.py', 'description': 'Encodes the MPAS Dual-Mesh in the UGRID conventions.', 'signature': 'def _dual_to_ugrid(in_ds, out_ds):'}</s>EDGE_Z_ATTRS = { "standard_name": "z", "long name": "Cartesian z location of the center of each edge", "units": "meters", }
0