text
string
label
int64
{'name': 'Keypair.create_from_uri@substrateinterface/keypair.py', 'description': "Creates Keypair for specified suri in following format: `[mnemonic]/[soft-path]//[hard-path]`\n\nParameters\n----------\nsuri:\nss58_format: Substrate address format\ncrypto_type: Use KeypairType.SR25519 or KeypairType.ED25519 cryptograph...
0
{'name': 'get_sampler@src/naima/core.py', 'description': "Generate a new MCMC sampler.\n\nParameters\n----------\ndata_table : `~astropy.table.Table` or list of `~astropy.table.Table`\n Table containing the observed spectrum. If multiple tables are passed\n as a string, they will be concatenated in the order give...
1
{'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>devices_cpu = []
0
{'name': 'localize@run/localize_lemon.py', 'description': 'select_idntfrs: lenet5-mnist_origin0_input17', 'signature': 'def localize(mut_model_dir,select_idntfr, exp_name,localize_tmp_dir,report_dir,backends):'}</s>{'name': 'get_outputs_divation_onbackends@run/localize_lemon.py', 'description': 'DOCSTRING', 'code': 'de...
1
{'name': 'CreateNewImage@goneng.py', 'description': '将指定图片转换颜色\n:param current_filename: 图片路径\n:param new_filename: 保存路径\n:param new_color: 转换颜色 []\n:return:', 'signature': 'def CreateNewImage(current_filename, new_filename, new_color):'}</s>{'name': 'raceId_get_data@goneng.py', 'description': '根据羁绊的id返回羁绊数据\n:param ra...
0
{'name': 'main@tw_cli.py', 'description': 'Parses command line options and calls the function to test the arrays/drives', 'signature': 'def main():'}</s>{'name': 'run@tw_cli.py', 'description': 'Runs a system command and returns stripped output', 'code': 'def run(cmd, stripOutput=True):\n """Runs a system command an...
0
{'name': 'TokenizerBase.tokenize@bert4keras/tokenizers.py', 'description': '分词函数\n ', 'signature': 'def tokenize(self, text, maxlen=None):'}</s>{'name': 'SpTokenizer@bert4keras/tokenizers.py', 'description': '基于SentencePiece模型的封装,使用上跟Tokenizer基本一致。\n ', 'base_classes': ['TokenizerBase'], 'methods': [{'name': ...
0
{'name': '_parabolic_bed_from_topo@oggm/core/centerlines.py', 'description': 'this returns the parabolic bedshape for all points on idl', 'signature': 'def _parabolic_bed_from_topo(gdir, idl, interpolator):'}</s>{'name': '_line_extend@oggm/core/centerlines.py', 'description': 'Adds a downstream line to a flowline\n\nPa...
0
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>_repository = None
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': 'serialize@strictyaml/ruamel/main.py', 'description': 'Serialize a representation tree into a YAML stream.\nIf stream is None, return the produced string instead.', 'signature': 'def serialize(node, stream=None, Dumper=Dumper, **kwds):'}</s>{'name': 'compose_all@strictyaml/ruamel/main.py', 'description': 'Pars...
0
{'name': 'XPRESS_PY.actualSolve@pulp/apis/xpress_api.py', 'description': 'Solve a well formulated lp problem', 'signature': 'def actualSolve(self, lp, prepare=None):'}</s>LpStatusUnbounded = -2
0
{'name': 'test_https_h1@test/integration/test_integration_basics.py', 'description': 'Test h1 over https.\n\nRuns the CLI configured to use HTTP/1 over https against our test server, and sanity\nchecks statistics from both client and server.', 'signature': 'def test_https_h1(https_test_server_fixture):'}</s>{'name': 'm...
0
{'name': 'reset@enferno/commands.py', 'description': 'Reset a user password using email or username\n ', 'signature': 'def reset(email, password):'}</s>{'name': 'User@enferno/user/models.py', 'description': 'DOCSTRING', 'base_classes': ['UserMixin', 'db.Model', 'BaseMixin'], 'methods': [{'name': 'User.webauthn@enfer...
1
{'name': 'View.save_pick_properties@picasso/gui/render.py', 'description': "Saves picks' properties in a given channel to path.\n\nProperties include number of locs, mean and std of all locs\ndtypes (x, y, photons, etc) and others.\n\nParameters\n----------\npath : str \n Path for saving picks' properties.\nchannel ...
0
{'name': 'get_topic_map@eth_event/main.py', 'description': 'Generate a dictionary of event topics from an ABI.\n\nThis dictionary is required by `decode_log`, `decode_logs`, and\n`decode_traceTransaction`.\n\nAnonymous events are ignored. The return data is formatted as follows:\n\n {\n \'encoded bytes32 topi...
0
{'name': 'test_to_geodataframe@test/test_dataarray.py', 'description': 'Tests the conversion to ``GeoDataFrame``', 'signature': 'def test_to_geodataframe():'}</s>{'name': 'UxDataset@uxarray/core/dataset.py', 'description': 'Grid informed ``xarray.Dataset`` with an attached ``Grid`` accessor and\ngrid-specific functiona...
0
{'name': 'AproposWithProcessTestCase.test_apropos_with_process@llvm-12.0.0-project/lldb/test/API/commands/apropos/with-process/TestAproposWithProcess.py', 'description': "Test that apropos env doesn't crash trying to touch the process plugin command.", 'signature': 'def test_apropos_with_process(self):'}</s>VALID_TYPE ...
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': 'AttributeErrorTests.test_set_dict_comprehension@didyoumean/didyoumean_sugg_tests.py', 'description': '{} creates a dict and not an empty set leading to errors.', 'signature': 'def test_set_dict_comprehension(self):'}</s>{'name': 'func_gen@didyoumean/didyoumean_sugg_tests.py', 'description': 'Generate code cor...
0
{'name': 'create_tables_command@databricks-adx-integration/src/code/tools/ADXProvisionTool/create_dataexplorer_database.py', 'description': 'create one table for existing database\n\n:param number_of_companies: number_of_companies\n:type number_of_companies: int\n:param schema_file: schema file\n:type schema_file: json...
0
{'name': 'as_identifier@hy/reader/hy_reader.py', 'description': 'Generate a Hy model from an identifier.\n\nAlso verifies the syntax of dot notation and validity of symbol names.\n\nParameters\n----------\nident : str\n Text to convert.\n\nreader : Reader, optional\n The reader to use, if any; used for generating...
0
{'name': '_gather_polys@gdspy/operation.py', 'description': 'Gather polygons from different argument types into a list.\n\nParameters\n----------\nargs : None, `PolygonSet`, `CellReference`, `CellArray` or iterable\n Polygon types. If this is an iterable, each element must be a\n `PolygonSet`, `CellReference`, `...
0
{'name': 'DryerStatusTest.test_properties_unknown_enum_value@tests/test_dryer.py', 'description': 'This should not raise an error for an invalid enum value and instead\nuse the `UNKNOWN` enum value.', 'signature': 'def test_properties_unknown_enum_value(self, mock_logging):'}</s>{'name': 'DryerDevice@wideq/dryer.py', '...
0
{'name': 'is_arch_supported@python/taichi/lang/misc.py', 'description': 'Checks whether an arch is supported on the machine.\n\nArgs:\n arch (taichi_python.Arch): Specified arch.\n\nReturns:\n bool: Whether `arch` is supported on the machine.', 'signature': 'def is_arch_supported(arch):'}</s>f32 = float32
0
{'name': 'GeneratedProtocolMessageType.__init__@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/python_message.py', 'description': "Here we perform the majority of our work on the class.\nWe add enum getters, an __init__ method, implementations\nof all Message methods, and properties for all field...
0
{'name': 'set_group_and_perms@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'Sets the proper group and access permissions of given input directory.', 'signature': 'def set_group_and_perms(directory):'}</s>{'name': 'uberenv_create_mirror@scripts/llnl_scripts/llnl_lc_build_tools.py', 'description': 'Calls ...
0
{'name': '_IsType@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Check if expression looks like a type name, returns true if so.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n nesting_state: A NestingState instance which maintains information about\n the current stac...
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': 'WhatHappenedToTheWeirdAdditionP1.play_farey_addition_animations@ford_circles_explained.py', 'description': "Returns a series of animations showing 'a/b oplus c/d equals (a+c)/(b+d)'", 'signature': 'def play_farey_addition_animations(self, a, b, c, d):'}</s>Y_COOR_MASK = [0, 1, 0]
0
{'name': 'MomSpaceBasis.dens@doc/src/week46/Programs/NeutronMatterCCD_Ladders.py', 'description': 'returns density of system if num particles are present\nparam num: int, number of particles\nreturn dens: float', 'signature': 'def dens(self,num):'}</s>{'name': 'spin2spinor@doc/src/week46/Programs/NeutronMatterCCD_Ladde...
0
{'name': '_runcog@paver/doctools.py', 'description': 'Common function for the cog and runcog tasks.', 'signature': 'def _runcog(options, uncog=False):'}</s>call_pavement = tasks.call_pavement
0
{'name': 'ObjectTracker._get_objects@pyFileFixity/lib/profilers/visual/pympler/tracker.py', 'description': 'Get all currently existing objects.\n\nXXX - ToDo: This method is a copy&paste from muppy.get_objects, but\nsome modifications are applied. Specifically, it allows to ignore\nobjects (which includes the current f...
1
{'name': 'convert_developers@code/html/generate_static_website.py', 'description': ':param developers:\n:param entries:\n:return:', 'signature': 'def convert_developers(developers, entries):'}</s>root_path = pathlib.Path(__file__).parent.parent.parent
0
{'name': 'parse_value@avatar/bintools/gdb/mi_parser.py', 'description': 'value ==>\n const | tuple | list', 'signature': 'def parse_value(s):'}</s>ESCAPE_CHARS = {'n':'\n', '\\':'\\', '"':'"', 't':'\t'}
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>MQWDR_VERSION_2 = 2
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': 'UriHandler@trans...
0
{'name': 'get_child_access3@Inventory_Modules.py', 'description': "- faws_acct is a custom class (account_class.aws_acct_access)\n- fChildAccount expects an AWS account number (ostensibly of a Child Account)\n- rRegion expects a string representing one of the AWS regions ('us-east-1', 'eu-west-1', etc.)\n- fRoleList ex...
0
{'name': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_...
0
{'name': 'CustomMainWidget.addToList@src/gui/main_widget.py', 'description': 'Adds mod data to the list', 'signature': 'def addToList('}</s>{'name': 'isExecutable@src/util/util.py', 'description': 'DOCSTRING', 'code': "def isExecutable(name: str) -> bool:\n _, ext = os.path.splitext(name)\n return ext in ('.exe',...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQHM_NONE = 0
0
{'name': 'test_snake_gridlock@tests/test_traffic_scheduling_problem.py', 'description': 'A bad route was given to train abcd, and now the train has gridlocked itself.\n\n 9 - 10 - 11 - 12\n |\n1 - 2 - 3 - 4 - 5d-> 6c\n ^ |\n | v\n 8a - 7b\...
0
{'name': 'Icdar15Text.parse_txt@dataset/Icdar15_Text.py', 'description': '.mat file parser\n:param gt_path: (str), mat file path\n:return: (list), TextInstance', 'signature': 'def parse_txt(gt_path):'}</s>{'name': 'index_of@util/strs.py', 'description': 'DOCSTRING', 'code': 'def index_of(s, target):\n return s.find(...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCBCF_NONE = 0
0
{'name': 'main@setup.py', 'description': 'Main function.', 'signature': 'def main():'}</s>{'name': 'revision@setup.py', 'description': 'Returns the software version.', 'code': 'def revision() -> str:\n """Returns the software version."""\n os.chdir(WORKING_DIRECTORY)\n module = pathlib.Path(WORKING_DIRECTORY, ...
1
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQZAT_CHANGE_CONTEXT = 1
0
{'name': 'PretrainingModel._get_masked_lm_output@araelectra/run_pretraining.py', 'description': 'Masked language modeling softmax layer.', 'signature': 'def _get_masked_lm_output(self, inputs: pretrain_data.Inputs, model):'}</s>{'name': 'assert_rank@araelectra/model/modeling.py', 'description': "Raises an exception if ...
0
{'name': 'HindcastEnsemble.plot_alignment@src/climpred/classes.py', 'description': 'Plot ``initialized`` ``valid_time`` where matching ``verification`` ``time``.\n\nDepends on ``alignment``. Plots ``days since reference date`` controlled by\n``date2num_units``. ``NaN`` / white space shows where no verification is done....
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': '_concat_nbrs@gdynet/model.py', 'description': 'Concatenate neighbor features based on graph structure into a full\nfeature vector\n\nB: Batch size\nN: Number of atoms in each crystal\nM: Max number of neighbors\natom_fea_len: the length of atom features\nbond_fea_len: the length of bond features\n\nParameters...
0
{'name': 'SetValuesTestCase.test@llvm-project/lldb/test/API/lang/c/set_values/TestSetValues.py', 'description': 'Test settings and readings of program variables.', 'signature': 'def test(self):'}</s>{'name': 'skipUnlessArch@llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py', 'description': 'Decorate the it...
0
{'name': 'RunInReactorTests.test_signature@crochet/tests/test_api.py', 'description': 'The function decorated with the run_in_reactor decorator has the same\nsignature as the original function.', 'signature': 'def test_signature(self):'}</s>crochet_directory = FilePath(__file__).parent().parent().parent().path
0
{'name': 'ApproximateEventDurationAndHypocenter@postprocessing/science/spectral_corner_frequency_from_surface_xdmf.py', 'description': 'Calculates the derivative of ASl (probably faster than loading SR1 and SR2)\nand approximates event duration by multiplying dt with the number of timesteps,\nwhere maximum on-fault sli...
0
{'name': '_IncludeState.CheckNextIncludeOrder@scripts/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants defined above.\n\nRe...
0
{'name': 'InitiatorConnector.factory@os_brick/initiator/connector.py', 'description': 'Build a Connector object based upon protocol and architecture.', 'signature': 'def factory(protocol, root_helper, driver=None,'}</s>HUAWEISDSHYPERVISOR = "HUAWEISDSHYPERVISOR"
0
{'name': 'get_dims_with_index_levels@linopy/common.py', 'description': "Get the dimensions of a Dataset with their index levels.\n\nExample usage with a dataset that has:\n- regular dimension 'time'\n- multi-indexed dimension 'station' with levels ['country', 'city']\nThe output would be: ['time', 'station (country, ci...
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': 'test_update_postgres_db_name_from_single_database@tests/test_config.py', 'description': 'Simulate upgrade from single database to two databases.\nWith two databases, KoboCat has its own database. We ensure that\n`kc_postgres_db` gets `postgres_db` value.', 'signature': 'def test_update_postgres_db_name_from_s...
0
{'name': '_make_type_verifier@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/sql/types.py', 'description': 'Make a verifier that checks the type of obj against dataType and raises a TypeError if they do\nnot match.\n\nThis verifier also checks the value of obj against datatype and raises a Value...
0
{'name': 'EntriesMaintainer.update_readme_tocs@code/maintenance_entries.py', 'description': 'Recounts entries in sub categories and writes them to the readme.\nAlso updates the _toc files in the categories directories.\n\nNote: The Readme must have a specific structure at the beginning, starting with "# Open Source Gam...
0
{'name': 'statistics@n26/cli.py', 'description': 'Show your n26 statistics', 'signature': 'def statistics(param_from: datetime or None, param_to: datetime or None):'}</s>REFERENCE_TEXT = "referenceText"
0
{'name': 'test_run_server_with_default_values@tests/test_run_cli_cmd.py', 'description': 'Test that when run is called without arguments the command runs with the\ndefault values', 'signature': 'def test_run_server_with_default_values('}</s>CLIInvoker = Callable[[VarArg(str)], Result]
1
{'name': 'BatchBase.flush@asynq/batching.py', 'description': "Flushes the batch.\n\nAlmost the same as ``self.value()``, but:\n\n* this method doesn't throw an error even if underlying batch\n flush actually completed with an error\n* on the other hand, subsequent flush throws an error.\n\nSo this method is intended t...
0
{'name': 'AnkiDataFrame._constructor@ankipandas/ankidf.py', 'description': 'This needs to be overridden so that any DataFrame operations do not\nreturn a :class:`pandas.DataFrame` but a :class:`AnkiDataFrame`.', 'signature': 'def _constructor(self):'}</s>{'name': 'is_list_dict_like@ankipandas/util/types.py', 'descripti...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_SOCKET_ERROR = 3362
0
{'name': 'draw_isobars@pymeteo/skewt.py', 'description': 'Plot isobars on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function draws isobars at intervals of 2*dp.', 'signature': 'def draw_isobars(axes):'}</s>mixing_ratios = [0.2,0.4,0.8,1,2,3,4,6,8,10,14,18,24,32,40]
0
{'name': 'mat2quat@models/transforms.py', 'description': 'https://github.com/duolu/pyrotation/blob/master/pyrotation/pyrotation.py\nConvert a rotation matrix to a unit quaternion.\n\nThis uses the Shepperd’s method for numerical stability.', 'signature': 'def mat2quat(R) -> torch.Tensor:'}</s>{'name': 'inv_rigid_affine...
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': 'MpesaStkPushTestCase.test_parse_stk_push_result_wrong_pin@tests/test_parse_result.py', 'description': 'Test parse STK push result with wrong user PIN', 'signature': 'def test_parse_stk_push_result_wrong_pin(self):'}</s>{'name': 'MpesaConnectionError@django_daraja/mpesa/exceptions.py', 'description': 'Raised w...
0
{'name': 'countedArray@venv/Lib/site-packages/pip-19.0.3-py3.6.egg/pip/_vendor/pyparsing.py', 'description': "Helper to define a counted list of expressions.\n\nThis helper defines a pattern of the form::\n\n integer expr expr expr...\n\nwhere the leading integer tells how many expr expressions follow.\nThe matched ...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_NO_CALLBACKS_ACTIVE = 2446
0
{'name': 'pre_save_signal@automated_logging/signals/save.py', 'description': 'Compares the current instance and old instance (fetched via the pk)\nand generates a dictionary of changes\n\n:param sender:\n:param instance:\n:param kwargs:\n:return: None', 'signature': 'def pre_save_signal(sender, instance, **kwargs) -> N...
0
{'name': '_build_simple_row@misc/tabulate.py', 'description': 'Format row according to DataRow format without padding.', 'signature': 'def _build_simple_row(padded_cells, rowfmt):'}</s>{'name': '_isint@misc/tabulate.py', 'description': '>>> _isint("123")\nTrue\n>>> _isint("123.45")\nFalse', 'code': 'def _isint(string, ...
0
{'name': 'writeFileTree@fwtool.py', 'description': 'Writes a list of UnixFiles to the disk, unpacking known archive files', 'signature': 'def writeFileTree(files, path):'}</s>BootFileHeader1 = Struct('BootFileHeader1', [ ('page', Struct.INT32), ('nPage', Struct.INT32), ('checksum', Struct.INT32), ('version', Struct...
0
{'name': 'HyperFrameRecord.add_frames@disdat/hyperframe.py', 'description': "Add frames to the PB. If UUID, just add the UUID. If a FrameRecord,\nthen add both the UUID in the pb.frames map and the FrameRecord in the frame_cache.\n\nArgs:\n frames (:list:'FrameRecord' or :list:tuple:str,str): List of Frames to app...
0
{'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': '_comment@swagger_to/go_ser...
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': 'ArraySortRef@src/api/python/z3/z3.py', 'description': 'Array sorts.', 'base_classes': ['SortRef'], 'methods': [{'name': 'ArrayS...
0
{'name': 'execute_command@pretty_printers_tests/lldb_batchmode.py', 'description': 'Executes a single CLI command', 'signature': 'def execute_command(command_interpreter, command):'}</s>DEBUG_OUTPUT = False
0
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'VersioneerBadRootError@versioneer.py', 'description': 'The project root directory is unknown or missing key files.', 'base_classes': ['Exception'], 'method...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQSUBTYPE_USER = -2
0
{'name': 'FacebookWebMiddleware.process_request@fandjango/middleware.py', 'description': 'Process the web-based auth request.', 'signature': 'def process_request(self, request):'}</s>FANDJANGO_CACHE_SIGNED_REQUEST = getattr(settings, 'FACEBOOK_SIGNED_REQUEST_COOKIE', True)
0
{'name': 'TestSearchQuery.test_iter@ads/tests/test_search.py', 'description': 'the iteration method should handle pagination automatically\nbased on rows and max_rows; use the mock solr server to query\ndata row by row and ensure that the data return as expected', 'signature': 'def test_iter(self):'}</s>{'name': 'SolrR...
0
{'name': 'write_fortran_wrappers@src/services/mpiwrap/wrap.py', 'description': 'Writes primary fortran wrapper that handles arg translation.\nAlso outputs bindings for this wrapper for different types of fortran compilers.', 'signature': 'def write_fortran_wrappers(out, decl, return_val):'}</s>{'name': 'Declaration@src...
0
{'name': 'FileInfo.BaseName@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'File base name - text after the final slash, before the final period.', 'signature': 'def BaseName(self):'}</s>{'name': 'ProcessConfigOverrides@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Loads the configuration files and ...
0
{'name': 'HPELM.solve_corr@hpelm/hp_elm.py', 'description': 'Solves an ELM model with the given (covariance) fHH and (correlation) fHT HDF5 files.\n\nArgs:\n fHH (hdf5): an hdf5 file with intermediate solution data\n fHT (hdf5): an hdf5 file with intermediate solution data', 'signature': 'def solve_corr(self, fHH...
0
{'name': 'resolve_rpc_at_end_of_request@src/supporting-files/lock_util.py', 'description': "Call get_result() on this rpc at the end of the current request.\n\nThere's nothing to do this automatically. So if you have an RPC\nthat can take all request long, but you want to make sure finishes\nbefore this request does, ...
0
{'name': 'interleave@robopianist/viewer/util.py', 'description': 'Interleaves the contents of two iterables.', 'signature': 'def interleave(a, b):'}</s>{'name': 'NullErrorLogger@robopianist/viewer/util.py', 'description': 'A context manager that replaces an ErrorLogger.\n\nThis error logger will pass all thrown errors ...
0
{'name': 'isnotification@src/service_api/python/jsonrpclib/jsonrpclib/jsonrpc.py', 'description': 'Tests if the given request is a notification\n\n:param request: A request dictionary\n:return: True if the request is a notification', 'signature': 'def isnotification(request):'}</s>{'name': 'MultiCall@src/service_api/py...
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>MQIA_CURRENT_Q_DEPTH = 3
0
{'name': 'MarkMethodMixin.mark_text@altair/vegalite/v3/schema/mixins.py', 'description': "Set the chart's mark to 'text'\n\nFor information on additional arguments, see :class:`MarkDef`", 'signature': 'def mark_text(self, align=Undefined, angle=Undefined, baseline=Undefined, binSpacing=Undefined,'}</s>{'name': 'MarkMet...
1
{'name': 'find_all_arns@verify_security_groups.py', 'description': "@Description: This function will find the arns in the account (and region) so that QA can validate they've covered all resources expected.\n Resource Types covered thus far:\n - EC2\n - Lambda\n - ECS...
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_GRANULARITY = "granularity"
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_TASK_NUMBER = 3084
0
{'name': 'WereSyncWindow._generate_progress_grid@src/weresync/interface/gui.py', 'description': 'Generates the grid for the screen showing progress. Sets\n`self.progress_grid` as the grid.`', 'signature': 'def _generate_progress_grid(self):'}</s>{'name': 'create_help_box@src/weresync/interface/gui.py', 'description': '...
0
{'name': 'AdbDevice.connect@adb_shell/adb_device.py', 'description': "Establish an ADB connection to the device.\n\nSee :meth:`_AdbIOManager.connect`.\n\nParameters\n----------\nrsa_keys : list, None\n A list of signers of type :class:`~adb_shell.auth.sign_cryptography.CryptographySigner`,\n :class:`~adb_shell.au...
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': 'Triangle.toBarycentric@pyrt/geometry/triangle.py', 'description': 'Calculate barycentric coordinate of point p\n:param P: the input point (cartesian)\n:return: barycentric coordinate', 'signature': 'def toBarycentric(self, p: Vec3) -> Vec3:'}</s>{'name': 'PhongMaterial@pyrt/material/phongmaterial.py', 'descri...
0
{'name': 'parse_tcsh_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for tcsh scripter.\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.', 'signature...
0
{'name': 'RIPPER.score@wittgenstein/ripper.py', 'description': "Score the performance of a fit model.\n\nX : DataFrame, numpy array, or other iterable\n Examples to score.\ny : Series, numpy array, or other iterable\n Class label actuals.\n\nscore_function : function, default=score_accuracy\n Any scoring funct...
0