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>threads_get = dvz.dvz_threads_get
0
{'name': 'learn_continuous_tasks@agents/bdq/deepq/procedure_continuous_tasks.py', 'description': "Train a branching deepq model to solve continuous control tasks via discretization.\nCurrent assumptions in the implementation: \n- for solving continuous control domains via discretization (can be adjusted to be compatibl...
1
{'name': 'ImageList.__getitem__@data_list.py', 'description': 'Args:\n index (int): Index\nReturns:\n tuple: (image, target) where target is class_index of the target class.', 'signature': 'def __getitem__(self, index):'}</s>{'name': 'pil_loader@data_list.py', 'description': 'DOCSTRING', 'code': "def pil_loader(p...
0
{'name': 'read_pw_output@mcu/qe/qe_io.py', 'description': 'Read the output generated by pw.x', 'signature': 'def read_pw_output(filename): '}</s>alat_MATCH = re.compile(r''' [\w\W]* lattice [ ]* parameter [ ]* \(alat\) [ ]* = [ ]* (?P<alat>\S+) ''', re.VERBOSE)
1
{'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': '_skip_whitespace@fips-files/generators/sjson/__init__.py', 'description': 'skip whitespace. Returns the next character if a new position within the\nstream was found; returns None if the end of the stream was hit.', 'signature': 'def _skip_whitespace(stream):'}</s>{'name': '_encode_dict@fips-files/generators/...
0
{'name': 'cli_deploy@cli/cloe_launch/commands/deploy.py', 'description': 'Deploy environment for selected profile.\n\nThis may involve downloading missing and available packages and building\noutdated packages.\n\nExisting files will be overwritten.\n\nUsage Examples:\n\n\x08\n cloe-launch deploy -f -D /usr/local te...
0
{'name': 'associate_all@Pose2Sim/personAssociation.py', 'description': "For each frame,\n- Find all possible combinations of detected persons\n- Triangulate 'tracked_keypoint' for all combinations\n- Reproject the point on all cameras\n- Take combination with smallest reprojection error\n- Write json file with only one...
0
{'name': 'Bottle._cast@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Try to convert the parameter into something WSGI compatible and set\ncorrect HTTP headers when possible.\nSupport: False, str, unicode, dict, HTTPResponse, HTTPError, file-like,\niterable of strings and iterable of unicodes', 'signatu...
0
{'name': 'apply_mirror_prefix_map@tools/idf_tools.py', 'description': 'Rewrite URL for given tool_obj, given tool_version, and current platform,\nif --mirror-prefix-map flag or IDF_MIRROR_PREFIX_MAP environment variable is given.', 'signature': 'def apply_mirror_prefix_map(args, tool_obj, tool_version):'}</s>{'name': '...
0
{'name': 'GTestHelpTest.TestHelpFlag@third-party/googletest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to the binary or No...
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': 'Metar.__init__@metar/Metar.py', 'description': 'Parse raw METAR code.', 'signature': 'def __init__( self, metarcode, month=None, year=None, utcdelta=None):'}</s>__author__ = "Tom Pollard"
0
{'name': 'GetOutputOfAllCommands@googletest/test/googletest-output-test.py', 'description': 'Returns concatenated output from several representative commands.', 'signature': 'def GetOutputOfAllCommands():'}</s>{'name': 'RemoveTypeInfoDetails@googletest/test/googletest-output-test.py', 'description': "Removes compiler-s...
0
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>ICMP_PHOTURIS = 40
0
{'name': 'View.update_pick_info_long@picasso/gui/render.py', 'description': 'Called when evaluating picks statistics in Info Dialog. ', 'signature': 'def update_pick_info_long(self):'}</s>{'name': 'locs_glob_map@picasso/lib.py', 'description': 'Maps a function to localization files, specified by a unix style path\npatt...
0
{'name': 'cross_couple@python/np/carfac.py', 'description': "This function cross couples gain between multiple ears.\n\nThere's no impact for this function in the case of monoaural input.\nArgs:\n ears: the list of ear inputs.\n\nReturns:\n The list of ear inputs, modified to multiaural coupling.", 'signature': 'def ...
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': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'use_golang_type@gef.py', 'description': 'DOCSTRING', 'code': 'def use_golang_type() -> str:\n if is_32bit...
0
{'name': 'Module._AddMaktabaFlagHelp@vimdoc/module.py', 'description': 'If any maktaba flags were documented, add a default configuration section\nto explain how to use them.', 'signature': 'def _AddMaktabaFlagHelp(self):'}</s>{'name': 'ArgumentMismatch@vimdoc/error.py', 'description': 'DOCSTRING', 'base_classes': ['Wa...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCXP_LENGTH_4 = 156
0
{'name': 'Anti@pddlgym/structs.py', 'description': 'Invert a Predicate or Literal effect.', 'signature': 'def Anti(x): # pylint:disable=invalid-name'}</s>{'name': 'TypedEntity@pddlgym/structs.py', 'description': 'All objects and variables from PDDL are TypedEntitys', 'base_classes': ['str'], 'methods': [{'name': 'Type...
0
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'on_LED_brightness@src/server/server.py', 'description': 'Change LED Brightness', 'code': "def on_LED_brightness(data):\n '''Change LED Brightness'''\n brightnes...
0
{'name': '_load_released_version@source-builder/sb/version.py', 'description': "Load the release data if present. If not found the package is not released.\n\nA release can be made by adding a file called `VERSION` to the top level\ndirectory of a package. This is useful for user deploying a package and\nmaking custom ...
0
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>ICMP_MOBILE_REDIRECT = 32
0
{'name': 'test_skip_vertical_interpolation@tests/test_oopinterface.py', 'description': 'To test whether the new features of even-to-odd grid interpolation works well.\n\n.. versionadded:: 1.3', 'signature': 'def test_skip_vertical_interpolation():'}</s>t_field = np.reshape(np.loadtxt(get_cwd + '/data/global_demo_t.txt'...
1
{'name': 'test_xgboost_clip_filter@rdtools/test/filtering_test.py', 'description': 'Unit tests for XGBoost clipping filter.', 'signature': 'def test_xgboost_clip_filter(generate_power_time_series_no_clipping,'}</s>{'name': 'normalized_filter@rdtools/filtering.py', 'description': 'Select normalized yield between ``low_c...
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': '_format_usage_without_prefix@doc/sphinxarg/parser.py', 'description': "Use private argparse APIs to get the usage string without\nthe 'usage: ' prefix.", 'signature': 'def _format_usage_without_prefix(parser):'}</s>{'name': '_try_add_parser_attribute@doc/sphinxarg/parser.py', 'description': 'DOCSTRING', 'code...
0
{'name': 'IUSequenceRun.running@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Indicate if this sequence is running', 'signature': 'def running(self) -> bool:'}</s>CONF_RUN = "run"
0
{'name': 'IUSequence.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load sequence data from the configuration', 'signature': 'def load(self, config: OrderedDict) -> "IUSequence":'}</s>ATTR_INDEX = "index"
0
{'name': '_covhelper@venv/Lib/site-packages/numpy/ma/extras.py', 'description': 'Private function for the computation of covariance and correlation\ncoefficients.', 'signature': 'def _covhelper(x, y=None, rowvar=True, allow_masked=True):'}</s>{'name': 'masked_all@venv/Lib/site-packages/numpy/ma/extras.py', 'description...
0
{'name': 'Paragraph.breakLinesCJK@xhtml2pdf/reportlab_paragraph.py', 'description': 'Initially, the dumbest possible wrapping algorithm.\nCannot handle font variations.', 'signature': 'def breakLinesCJK(self, width):'}</s>{'name': 'FragLine@xhtml2pdf/reportlab_paragraph.py', 'description': 'class FragLine contains a st...
0
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>OP_CHECKSIGADD = CScriptOp(0xba)
0
{'name': 'generate_script@scripts/local_cloudbuild.py', 'description': 'Generate the contents of a shell script\n\nArgs:\n cloudbuild (CloudBuild): Valid cloudbuild configuration\n\nReturns:\n (str): Contents of shell script', 'signature': 'def generate_script(cloudbuild):'}</s>SUBSTITUTION_REGEX = re.compile(r""...
0
{'name': 'make_grid@manifold_flow/utils/various.py', 'description': 'Make a grid of images.\n\nArgs:\n tensor (Tensor or list): 4D mini-batch Tensor of shape (B x C x H x W)\n or a list of images all of the same size.\n nrow (int, optional): Number of images displayed in each row of the grid.\n The ...
0
{'name': 'chaossCodeChangeCommits@python_v2/metrics/chaoss.py', 'description': '_summary_\n\nArgs:\n config (QueryConfig<CodeChangeCommitsOptions>): _description_', 'signature': "def chaossCodeChangeCommits(config, mode='outer') -> (List,str):"}</s>clickhouse = ClickhouseWrapper()
0
{'name': 'BaseRequest.POST@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>to...
1
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>ICMP_ECHO = 8
0
{'name': 'handle_fmap_case@bidskit/fmaps.py', 'description': 'There are two popular GRE fieldmap organizations: Case 1 and Case 2\nSource: BIDS 1.4.0 Specification https://bids-specification.readthedocs.io\nCase 1\nsub-<label>/[ses-<label>/]\n fmap/\n sub-<label>[_ses-<label>][_acq-<label>][_run-<index>]_phas...
0
{'name': 'Validator.__init__@scopy/ScoPretreat/pretreatutil.py', 'description': 'Initialize a Validator with the following parameters:\n\n:param validations: A list of Validations to apply (default: :data:`~molvs.validations.VALIDATIONS`).\n:param string log_format: A string format (default: :data:`~molvs.validate.SIMP...
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>true_divide = _DomainedBinaryOperation(umath.true_divide, _DomainSafeDivide(), 0, 1)
0
{'name': 'infidandgrad@examples/fidelity-gradient.py', 'description': '""\nTake a numpy array [hx0, hz0, hx1, hz1, ...] over full timesteps and\nreturn the fidelity and gradient of the fidelity to the global target_derivative', 'signature': 'def infidandgrad(paras):'}</s>y_bound = [0,0]
0
{'name': 'Bottle._cast@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Try to convert the parameter into something WSGI compatible and set\ncorrect HTTP headers when possible.\nSupport: False, str, unicode, dict, HTTPResponse, HTTPError, file-like,\niterable of strings and iterable of unicodes', 'signatu...
0
{'name': 'test_input_validation@gplearn/tests/test_genetic.py', 'description': 'Check that guarded input validation raises errors', 'signature': 'def test_input_validation():'}</s>{'name': 'SymbolicTransformer@gplearn/genetic.py', 'description': 'A Genetic Programming symbolic transformer.\n\nA symbolic transformer is ...
1
{'name': 'ensure_list@custom_components/zwave_mqtt/discovery.py', 'description': 'Convert a value to a list if needed.', 'signature': 'def ensure_list(value):'}</s>SERVICE_SET_CONFIG_PARAMETER = "set_config_parameter"
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMDL_LEVEL_802 = 802
0
{'name': 'make_html_table@grizli/aws/db.py', 'description': ' ', 'signature': 'def make_html_table(engine=None, columns=[\'root\', \'status\', \'id\', \'p_ra\', \'p_dec\', \'mag_auto\', \'flux_radius\', \'z_spec\', \'z_map\', \'bic_diff\', \'chinu\', \'log_pdf_max\', \'d4000\', \'d4000_e\'], where="AND status >= 5 A...
0
{'name': 'auto_from_dict@a38/fattura.py', 'description': 'Given the equivalent of a Fattura.to_jsonable() data structure,\nreconstruct the fattura', 'signature': 'def auto_from_dict('}</s>{'name': 'DatiFattureCollegate@a38/fattura.py', 'description': 'DOCSTRING', 'base_classes': ['DatiDocumentiCorrelati'], 'methods': [...
0
{'name': 'cxx_file@config/filewrite.py', 'description': 'Generate a C++ file, with a warning header. ', 'signature': 'def cxx_file(lines):'}</s>{'name': 'get_instantiation_header@config/instantiation_file.py', 'description': 'DOCSTRING', 'code': 'def get_instantiation_header(num_cpus, env, build_id):\n yield \'#incl...
0
{'name': 'CheckForNonConstReference@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n cl...
0
{'name': 'FoundationTestCase2.test_more_expr_commands@tools/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py', 'description': 'More expression commands for objective-c.', 'signature': 'def test_more_expr_commands(self):'}</s>{'name': 'skipIfFreeBSD@tools/lldb/packages/Python/lldbsuite/test/d...
0
{'name': 'Client.__init__@SalesforcePy/sfdc.py', 'description': 'Constructor.\n\n:Parameters:\n - `*username` (`string`) - Salesforce username.\n - `*password` (`string`) - Salesforce password.\n - `*login_url` (`string`) - Salesforce login URL.\n - `*client_id` (`string`) - Salesforce client ID.\n - `*c...
0
{'name': 'test_keys@tests/unit/featurizers/test_cgr.py', 'description': 'Test that the keys function returns the correct set of modes.', 'signature': 'def test_keys(expected_aliases):'}</s>{'name': 'mode_balanced@tests/unit/featurizers/test_cgr.py', 'description': 'DOCSTRING', 'code': 'def mode_balanced(request):\n ...
0
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>PFTM_FRAG = 14
0
{'name': 'bayer@demosaicnet/mosaic.py', 'description': 'Bayer mosaic.\n\nThe patterned assumed is::\n\n G r\n b G\n\nArgs:\n im (np.array): image to mosaic. Dimensions are [c, h, w]\n return_mask (bool): if true return the binary mosaic mask, instead of the mosaic image.\n\nReturns:\n np.array: mosaicked image (if...
0
{'name': 'test_create_with_duplicate_dimensions@unyt/tests/test_units.py', 'description': 'Create units with overlapping dimensions. Ex: km/Mpc.', 'signature': 'def test_create_with_duplicate_dimensions():'}</s>{'name': 'test_create_fail_on_bad_symbol_type@unyt/tests/test_units.py', 'description': 'Fail to create unit ...
0
{'name': 'XRasterBase.x_dim@rioxarray/rioxarray.py', 'description': 'Hashable: The dimension for the X-axis.', 'signature': 'def x_dim(self) -> Hashable:'}</s>{'name': 'crs_from_user_input@rioxarray/crs.py', 'description': 'Return a rasterio.crs.CRS from user input.\n\nThis is to deal with change in rasterio.crs.CRS\na...
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': 'stream_decode_response_unicode@src/requests/utils.py', 'description': 'Stream decodes an iterator.', 'signature': 'def stream_decode_response_unicode(iterator, r):'}</s>{'name': 'extract_zipped_paths@src/requests/utils.py', 'description': 'Replace nonexistent paths that look like they refer to a member of a z...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQFB_NOT_FORWARDED = 283
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': 'process_client_hello@core/packet_processor.py', 'description': 'Extracts the SNI field from the ClientHello packet.', 'signature': 'def process_client_hello(pkt):'}</s>host_mac_addr = ""
1
{'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': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCACF_LAST_USED = 3211
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': 'BaseTemplate.search@src/back/kite/bottle.py', 'description': 'Search name in all directories specified in lookup.\nFirst without, then with common extensions. Return first hit. ', 'signature': 'def search(cls, name, lookup=[]):'}</s>{'name': 'redirect@src/back/kite/bottle.py', 'description': 'Aborts execution...
0
{'name': 'ZipPreviewBuilder.build_json_preview@preview_generator/preview/builder/archive__zip.py', 'description': 'generate the json preview', 'signature': 'def build_json_preview('}</s>LOGGER_NAME = "PreviewGenerator"
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.__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': 'ParserElement.searchString@venv/Lib/site-packages/setuptools/_vendor/pyparsing.py', 'description': 'Another extension to C{L{scanString}}, simplifying the access to the tokens found\nto match the given parse expression. May be called with optional\nC{maxMatches} argument, to clip searching after \'n\' matche...
0
{'name': 'event_factory@tools/hadb.py', 'description': 'Convert database row to Event object.', 'signature': 'def event_factory(cur: sqlite3.Cursor, row: tuple) -> Event:'}</s>{'name': 'State@tools/hadb.py', 'description': 'State.', 'base_classes': ['StateBase'], 'methods': [{'name': 'State.__init__@tools/hadb.py', 'de...
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': 'HTTPHeaderDict.extend@src/ahip/_collections.py', 'description': 'Generic import function for any type of header-like object.\nAdapted version of MutableMapping.update in order to insert items\nwith self.add instead of self.__setitem__', 'signature': 'def extend(self, *args, **kwargs):'}</s>_Null = object()
0
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>LJ_chSTREAM_DISABLE_AUTORECOVERY = 4005
0
{'name': 'ProcessFileData@llvm-4.0.0-project/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....
0
{'name': 'public@tinyrpc/dispatch/__init__.py', 'description': "Decorator. Mark a method as eligible for registration by a dispatcher.\n\nThe dispatchers :py:func:`~tinyrpc.dispatch.RPCDispatcher.register_instance` function\nwill do the actual registration of the marked method.\n\nThe difference with :py:func:`~tinyrpc...
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': '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': '_makeTags@blockchain-env/lib/python3.7/site-packages/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml,'}</s>{'name': '_xml_escape@blockchain-env/lib/python3.7/site-packages/pyparsing.py', 'description': ...
0
{'name': 'CFGExplorerCLI.add_endpoints@cfgexplorer/cli.py', 'description': 'Create VisEndpoints for CFG and add it to CFGExplorer\n:return: None\n:rtype: None', 'signature': 'def add_endpoints(self):'}</s>{'name': 'CFGVisEndpoint@cfgexplorer/endpoint.py', 'description': 'DOCSTRING', 'base_classes': ['VisEndpoint'], 'me...
1
{'name': 'main@lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Run dotest.py in inferior mode in parallel.\n\n@param num_threads the parsed value of the num-threads command line\nargument.\n\n@param test_subdir optionally specifies a subdir to limit testing\nwithin. May be None if the entire test tree i...
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...
0
{'name': 'formatSI@ib_insync/util.py', 'description': 'Format the integer or float n to 3 significant digits + SI prefix.', 'signature': 'def formatSI(n: float) -> str:'}</s>{'name': 'allowCtrlC@ib_insync/util.py', 'description': 'Allow Control-C to end program.', 'code': 'def allowCtrlC():\n """Allow Control-C to e...
0
{'name': 'PostArticleCtrl.new_post_action@back/controller/posts.py', 'description': '添加博文\n:param author_id: int,\n:param category_id: int,\n:param all_tags_for_new_post: list\n:param title: str,\n:param raw_slug: str,\n:param body_id: int\n:param weight:\n:return: post对象', 'signature': 'def new_post_action(self, autho...
0
{'name': 'compute_E_HF_simple@doc/src/week46/Programs/NeutronMatterCCD_Ladders.py', 'description': 'Computes HF energy of reference state\nparam Nocc, sp_basis, dk: particle number, integer s.p. lattice, delta k \nreturn: total HF energy', 'signature': 'def compute_E_HF_simple(Nocc,sp_basis,dk):'}</s>{'name': 'compute_...
1
{'name': '_NestingState.UpdatePreprocessor@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Update preprocessor stack.\n\nWe need to handle preprocessors due to classes like this:\n #ifdef SWIG\n struct ResultDetailsPageElementExtensionPoint {\n #else\n struct ResultDetailsPageElementExtensionP...
0
{'name': 'test_novalidate_noerrors@cerberus/tests/test_validation.py', 'description': 'In v0.1.0 and below `self.errors` raised an exception if no\nvalidation had been performed yet.', 'signature': 'def test_novalidate_noerrors(validator):'}</s>{'name': 'test_nullable_skips_of_roles@cerberus/tests/test_validation.py', ...
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': 'add_multi_constructor@strictyaml/ruamel/main.py', 'description': 'Add a multi-constructor for the given tag prefix.\nMulti-constructor is called for a node if its tag starts with tag_prefix.\nMulti-constructor accepts a Loader instance, a tag suffix,\nand a node object and produces the corresponding Python ob...
0
{'name': 'Series.bookmark@AO3/series.py', 'description': 'Bookmarks this series\nThis function is threadable\n\nArgs:\n notes (str, optional): Bookmark notes. Defaults to "".\n tags (list, optional): What tags to add. Defaults to None.\n collections (list, optional): What collections to add this bookmark to. D...
0
{'name': 'MoveFile.__init__@deploy.py', 'description': 'srcpath : The full path to the file to copy\ndestpath : The full path to the new location of the file or\n the directory to move the file to.', 'signature': 'def __init__(self,srcpath,destpath):'}</s>{'name': 'IfUsing@deploy.py', 'description': 'Wrapper...
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': 'SensorHandler.process_group_event@custom_components/alarmo/sensors.py', 'description': 'check if sensor entity is member of a group and compare with previous events to evaluate trigger', 'signature': 'def process_group_event(self, entity: str, state: str) -> dict:'}</s>SENSOR_TYPE_WINDOW = "window"
0
{'name': 'Path.asGameModRelative@ValveFileSystem/path.py', 'description': "Returns a path instance that is relative to the mod if the path is under the game tree.\nIf the path doesn't match the game tree, the original filepath is returned.", 'signature': 'def asGameModRelative(self):'}</s>{'name': 'decode_quotes@ValveF...
0
{'name': 'mass_erase@tools/pydfu.py', 'description': 'Performs a MASS erase (i.e. erases the entire device.', 'signature': 'def mass_erase():'}</s>__DFU_STATE_DFU_DOWNLOAD_BUSY = 4
1
{'name': 'merge_blocks_job@maf/impl/naiveLiftUp.py', 'description': "Combine the lifted blocks and add in the current genome's sequence.", 'signature': 'def merge_blocks_job(job, genome, child_names, block_ids, hal_id, opts):'}</s>{'name': 'test_block_to_maf@maf/impl/naiveLiftUp.py', 'description': 'DOCSTRING', 'code':...
0
{'name': '_phased_eigen_gate_serializer@tensorflow_quantum/core/serialize/serializer.py', 'description': 'Make a standard serializer for phased eigen gates.', 'signature': 'def _phased_eigen_gate_serializer(gate_type, serialized_id):'}</s>_CONSTANT_TRUE = lambda x: True
1
{'name': '_walk@swagger_to/go_server.py', 'description': 'Walk the tree of nested type definitions as (nesting type definition, nested type definition).', 'signature': 'def _walk(typedef: Typedef, parent: Optional[Typedef] = None) -> Iterable[Tuple[Optional[Typedef], Typedef]]:'}</s>{'name': '_to_parameter@swagger_to/i...
0