text
string
label
int64
{'name': 'ITypeComp.Bind@comtypes/typeinfo.py', 'description': 'Bind to a name', 'signature': 'def Bind('}</s>TKIND_RECORD = 1
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_ADAPTER_DEFS_LOAD_ERROR = 2132
0
{'name': 'send_to_modchat@tor/core/helpers.py', 'description': "Send a message to #general on ToR mod chat.\n\n:param message: String; the message that is to be encoded\n:param cfg: the global config dict.\n:param channel: String; the name of the channel to send to. '#' optional.\n:return: None.", 'signature': 'def sen...
0
{'name': 'Dataset.merge@accelerator/dataset.py', 'description': 'Merge this and other dataset. Columns from other take priority.\nIf datasets do not have a common ancestor you get an error unless\nallow_unrelated is set. The new dataset always has the previous\nspecified here (even if None).\nReturns the new dataset.',...
0
{'name': 'always@pretf/pretf/test.py', 'description': 'Marks a test method to run even when previous tests have failed.', 'signature': 'def always(func: Callable) -> Callable:'}</s>{'name': 'PathProxy@pretf/pretf/render.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'PathProxy.__init__@pretf/...
0
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'DxlEndpointBroker@infoblox_client/objects.py', 'description': 'DOCSTRING', 'b...
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': 'BisectRunner.run@nix_bisect/bisect_runner.py', 'description': 'Finds the first bad commit', 'signature': 'def run(self, bisect_fun):'}</s>{'name': 'is_ancestor@nix_bisect/git.py', 'description': 'Returns `True` iff `ancestor` is an ancestor of `parent`.', 'code': 'def is_ancestor(ancestor, parent):\n """Re...
0
{'name': 'check_file_process_log@databricks-adx-integration/src/code/functions/adxingestp2/__app__/dataingest/__init__.py', 'description': 'check if input has been processed\n:param file_url: file url\n:type file_url: string\n:param target_database: target_database\n:type target_database: string\n:return: validaton res...
0
{'name': 'template@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def ...
0
{'name': 'CheckLanguage@tools/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A ...
0
{'name': 'CheckForNonConstReference@ament_cpplint/ament_cpplint/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 clean_lines: A CleansedLines instan...
0
{'name': 'edit_department@app/admin/views.py', 'description': 'Edit a department', 'signature': 'def edit_department(id):'}</s>{'name': 'list_employees@app/admin/views.py', 'description': 'List all employees', 'code': 'def list_employees():\n """\n List all employees\n """\n check_admin()\n\n employees =...
0
{'name': 'logger@pyrgg/engines/erdos_reyni.py', 'description': 'Save generated graph logs for Erdős-Rényi engine.\n\n:param file: file to write log into\n:type file: file object\n:param file_name: file name\n:type file_name: str\n:param elapsed_time: elapsed time\n:type elapsed_time: str\n:param input_dict: input data\...
1
{'name': 'PropKB.retract@Projects/2_Classical Planning/aimacode/logic.py', 'description': "Remove the sentence's clauses from the KB.", 'signature': 'def retract(self, sentence):'}</s>{'name': 'fol_bc_ask@Projects/2_Classical Planning/aimacode/logic.py', 'description': 'A simple backward-chaining algorithm for first-or...
0
{'name': 'TokenizerTrainer._lexicon_covering@montreal_forced_aligner/tokenization/trainer.py', 'description': 'Builds covering grammar and lexicon FARs.', 'signature': 'def _lexicon_covering(self, input_path=None, output_path=None) -> None:'}</s>CLEAN = False
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_SUB_IDENTITY_LENGTH = 128
0
{'name': '_profileHistory@python/DisplayTests.py', 'description': 'Show runtimes for the last n profile builds.', 'signature': 'def _profileHistory(req, n=20, buildTypes=None):'}</s>{'name': 'index@python/DisplayTests.py', 'description': 'The main test display page.\n\nThis displays a summary of the most recent tests.'...
0
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ...
0
{'name': 'CIFAR10.__getitem__@gandogs/datasets.py', 'description': 'Args:\n index (int): Index\nReturns:\n tuple: (image, target) where target is index of the target class.', 'signature': 'def __getitem__(self, index):'}</s>{'name': 'CIFAR10@gandogs/datasets.py', 'description': 'DOCSTRING', 'base_classes': ['dset...
1
{'name': 'CollapsingMergeTree.get_insert_batch@src/django_clickhouse/engines.py', 'description': 'Gets a list of model_cls instances to insert into database\n:param model_cls: ClickHouseModel subclass to import\n:param objects: A list of django Model instances to sync\n:return: A list of model_cls objects', 'signature'...
0
{'name': 'idmapper.map_column@py2cytoscape/cyrest/idmapper.py', 'description': 'Uses the BridgeDB service to look up analogous identifiers from a wide\nselection of other databases\n\n:param only_use_one (string, optional): When multiple identifiers can be\n mapped from a single term, this forces a singular result\n...
0
{'name': 'on_load_data@src/server/server.py', 'description': 'Allow pages to load needed data', 'signature': 'def on_load_data(data):'}</s>{'name': 'buildServerInfo@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def buildServerInfo():\n RaceContext.serverstate.release_version = RELEASE_VERSION\n Race...
0
{'name': 'event_loop_policy@pytest_asyncio/plugin.py', 'description': 'Return an instance of the policy used to create asyncio event loops.', 'signature': 'def event_loop_policy() -> AbstractEventLoopPolicy:'}</s>{'name': '_apply_contextvar_changes@pytest_asyncio/plugin.py', 'description': 'Copy contextvar changes from...
0
{'name': 'readLzpt@fwtool/archive/lzpt.py', 'description': 'Decodes an LZTP image and returns its contents', 'signature': 'def readLzpt(file):'}</s>{'name': 'dump32be@fwtool/util/__init__.py', 'description': 'DOCSTRING', 'code': "def dump32be(value):\n return struct.pack('>I', value)"}
0
{'name': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>GEF_PROMPT = "gef➤ "
0
{'name': 'write_debug@lib/basic_squid_auth.py', 'description': 'Write debug message and flush it. ', 'signature': 'def write_debug(message, debug_fd):'}</s>{'name': 'parse_args@lib/basic_squid_auth.py', 'description': 'Parse input arguments. ', 'code': 'def parse_args():\n """ Parse input arguments. """\n parser ...
0
{'name': 'get_all_accounts@security/guardduty/index.py', 'description': 'Get all member accounts of the organization.', 'signature': 'def get_all_accounts():'}</s>{'name': 'disable_gd_master@security/guardduty/index.py', 'description': 'Disable the delegated admin account from the AWS Organization root\naccount for tes...
0
{'name': 'Request.get_stream@consulate/adapters.py', 'description': 'Perform a HTTP get that returns the response as a stream.\n\n:param src uri: The URL to send the DELETE to\n:rtype: iterator', 'signature': 'def get_stream(self, uri):'}</s>{'name': 'validate_url@consulate/utils.py', 'description': 'Validate that the ...
0
{'name': 'compose_traceparent@examples/spark-opentelemetry/dag.py', 'description': 'Obtains the Trace ID and Span ID of the ongoing Task Instance.\n\nThis function can only be called during task execution. The ongoing OpenTelemetry Context is not included in the\nAirflow Context, but Airflow uses a deterministic functi...
0
{'name': 'get_invoice_controller@BambiCTF_2021/ringring/InvoiceApp/app.py', 'description': 'Helper function to return the correct logger.\n:param payment_type:\n:param log_level:\n:return:', 'signature': "def get_invoice_controller(payment_type=PAYMENT_ON_ACCOUNT, log_level='ACCOUNT'):"}</s>{'name': 'add_to_bill@BambiC...
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': 'CorpusMixin.add_file@montreal_forced_aligner/corpus/base.py', 'description': 'Add a file to the corpus\n\nParameters\n----------\nfile: :class:`~montreal_forced_aligner.corpus.classes.FileData`\n File to be added', 'signature': 'def add_file(self, file: FileData, session: Session = None):'}</s>{'name': 'lo...
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': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools subclasses used by Versioneer.\n\nIf the package uses a different cmdclass (e.g. one from numpy), it\nshould be provide as an argument.', 'signature': 'def get_cmdclass(cmdclass: dict[str, Any] | None = None):'}</s>{'name': 'scan_setup_py@...
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': 'format_response@AzureOpenAICustomLanguageModelSkill/function_app.py', 'description': 'Format response using parsed structured output.', 'signature': 'def format_response('}</s>{'name': 'validate_environment@AzureOpenAICustomLanguageModelSkill/function_app.py', 'description': 'Validate required environment var...
0
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.\n\nIf the package uses a different cmdclass...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCACH_SSL_SHORT_PEER_NAME = 3547
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': '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': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'is_array@src/api/python/z3/z3.py', 'description': "Return `True` if `a` is a Z3 array expression.\n\n>>> a = Arr...
0
{'name': 'IKinSpace@7_Demo_youBotPickAndPlace/code/modern_robotics/core.py', 'description': 'Computes inverse kinematics in the space frame for an open chain robot\n\n:param Slist: The joint screw axes in the space frame when the\n manipulator is at the home position, in the format of a\n matr...
0
{'name': 'MapperTest.test_errors_with_errors@tests/test_mapper.py', 'description': 'Test map hvac errors.', 'signature': 'def test_errors_with_errors(self) -> None:'}</s>{'name': 'map_hot_water_from_dhw@pymultimatic/model/mapper.py', 'description': 'Mapp hotware from dhw.', 'code': 'def map_hot_water_from_dhw(json) -> ...
0
{'name': 'FilesystemObject._get_object@cloud_browser/cloud/fs.py', 'description': 'Return native storage object.', 'signature': 'def _get_object(self):'}</s>{'name': 'FilesystemObject@cloud_browser/cloud/fs.py', 'description': 'Filesystem object wrapper.', 'base_classes': ['base.CloudObject'], 'methods': [{'name': 'Fil...
1
{'name': 'multihead_attention@tensor2tensor_envi/layers/common_attention.py', 'description': 'Multihead scaled-dot-product attention with input/output transformations.\n\nArgs:\n query_antecedent: a Tensor with shape [batch, length_q, channels]\n memory_antecedent: a Tensor with shape [batch, length_m, channels] or N...
0
{'name': 'MultilingualQuerySet._rewrite_where@modeltranslation/manager.py', 'description': 'Rewrite field names inside WHERE tree.', 'signature': 'def _rewrite_where(self, q: Lookup | Node) -> None:'}</s>{'name': 'append_lookup_key@modeltranslation/manager.py', 'description': 'Transform spanned__lookup__key into all po...
0
{'name': 'BareValidator._validate_max@cerberus/validator.py', 'description': "{'nullable': False }", 'signature': 'def _validate_max(self, max_value, field, value):'}</s>REQUIRED_FIELD = ErrorDefinition(0x02, 'required')
0
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>OP_PUBKEYHASH = CScriptOp(0xfd)
0
{'name': 'get_state_op@tensorflow_quantum/core/ops/circuit_execution_ops.py', 'description': "Get a TensorFlow op that produces states from given quantum circuits.\n\nThis function produces a non-differentiable op that will calculate\nbatches of state tensors given tensor batches of `cirq.Circuit`s and\nparameter value...
0
{'name': 'GAEBuffer.store@fireup/algos/trpo/trpo.py', 'description': 'Append one timestep of agent-environment interaction to the buffer.', 'signature': 'def store(self, obs, act, rew, val, logp, info):'}</s>{'name': 'mpi_avg@fireup/utils/mpi_tools.py', 'description': 'Average a scalar or vector over MPI processes.', '...
0
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>_z3_op_to_fpa_normal_str = { Z3_OP_FPA_RM_N...
0
{'name': 'View.pick_areas@picasso/gui/render.py', 'description': 'Finds the areas of all current picks in um^2.\n\nReturns\n-------\nareas : np.1darray\n Areas of all picks.', 'signature': 'def pick_areas(self):'}</s>{'name': 'InfoDialog@picasso/gui/render.py', 'description': 'A class to show information about the c...
0
{'name': 'evaluate@examples/task_sequence_labeling_ner_crf.py', 'description': '评测函数\n ', 'signature': 'def evaluate(data):'}</s>{'name': 'Evaluator@examples/task_sequence_labeling_ner_crf.py', 'description': '评估与保存\n ', 'base_classes': ['keras.callbacks.Callback'], 'methods': [{'name': 'Evaluator.__init__@exampl...
0
{'name': '__decorate_axis@librosa/display.py', 'description': 'Configure axis tickers, locators, and labels', 'signature': 'def __decorate_axis('}</s>{'name': 'ChromaFormatter@librosa/display.py', 'description': "A formatter for chroma axes\n\nSee Also\n--------\nmatplotlib.ticker.Formatter\n\nExamples\n--------\n>>> i...
1
{'name': 'CrashDuringStepTestCase.test_step_inst_with@llvm-12.0.0-project/lldb/test/API/functionalities/thread/crash_during_step/TestCrashDuringStep.py', 'description': 'Test thread creation during step-inst handling.', 'signature': 'def test_step_inst_with(self):'}</s>{'name': 'getsource_if_available@llvm-12.0.0-proje...
0
{'name': 'train_graph@ExplanationEvaluation/tasks/training.py', 'description': 'Train a explainer to explain graph classifications\n:param _dataset: the dataset we wish to use for training\n:param _paper: the paper we whish to follow, chose from "GNN" or "PG"\n:param args: a dict containing the relevant model arguement...
1
{'name': 'send_confirmation@flask_security/views.py', 'description': 'View function which sends confirmation instructions.', 'signature': 'def send_confirmation():'}</s>{'name': 'config_value@flask_security/utils.py', 'description': "Get a Flask-Security configuration value.\n\n:param key: The configuration key without...
1
{'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': 'IopyCompatibilityTests.test_enum_field_cast_not_done_at_init@tests/iopy/z_iopy.py', 'description': 'Test enum cast from string an int is not done directly when setting\nthe field, but when the conversion to C is done', 'signature': 'def test_enum_field_cast_not_done_at_init(self) -> None:'}</s>{'name': 'IopyI...
0
{'name': 'DFTimewolfTool.ValidateArguments@dftimewolf/cli/dftimewolf_recipes.py', 'description': 'Validate the arguments.\n\nArgs:\n dry_run: True if the tool is only testing parameters, False otherwise.\n\nRaises:\n errors.CriticalError: If one or more arguments could not be validated.', 'signature': 'def ValidateAr...
1
{'name': 'fsn2text@Monika After Story/game/python-packages/mutagen/_senf/_fsnative.py', 'description': 'Args:\n path (fsnative): The path to convert\n strict (bool): Fail in case the conversion is not reversible\nReturns:\n `text`\nRaises:\n TypeError: In case no `fsnative` has been passed\n ValueError: ...
0
{'name': 'bisect_good@nix_bisect/bisect_runner.py', 'description': 'Mark a commit as good.\n\nThe same disclaimer as for `bisect_bad` applies.', 'signature': 'def bisect_good(commit):'}</s>{'name': 'print_good@nix_bisect/git_bisect.py', 'description': 'DOCSTRING', 'code': 'def print_good():\n print(f"{_ANSI_GREEN}bi...
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': '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': 'extract_spoes@examples/task_relation_extraction_gplinker.py', 'description': '抽取输入text所包含的三元组\n ', 'signature': 'def extract_spoes(text, threshold=0):'}</s>{'name': 'Evaluator@examples/task_relation_extraction_gplinker.py', 'description': '评估与保存\n ', 'base_classes': ['keras.callbacks.Callback'], 'method...
0
{'name': 'test_get_gtts@tests/unit/test_connect.py', 'description': 'Test all gtts fetch.', 'signature': 'def test_get_gtts(kiteconnect):'}</s>{'name': 'TokenException@kiteconnect/exceptions.py', 'description': 'Represents all token and authentication related errors. Default code is 403.', 'base_classes': ['KiteExcepti...
0
{'name': 'CacheList.remove_removed@shingetsu/cache.py', 'description': 'Remove removed record from disk.', 'signature': 'def remove_removed(self):'}</s>{'name': 'base64_to_int@shingetsu/apollo.py', 'description': 'DOCSTRING', 'code': 'def base64_to_int(s):\n tmp = 0\n buf = list(s)\n buf.reverse()\n for i i...
0
{'name': 'plot_sounding_axes@pymeteo/skewt.py', 'description': 'Plots Skew-T/Log-P axes\n\nThis will plot isotherms, isobars, dry and moist adiabats, \nlines of constant water vapor mixing ratio, labels and \nsetup the y axes to be reversed.\n\n:paramter axes: The axes to draw on', 'signature': 'def plot_sounding_axes(...
0
{'name': 'TypeErrorTests.test_keyword_builtin@didyoumean/didyoumean_sugg_tests.py', 'description': 'A few builtins (like int()) have a different error message.', 'signature': 'def test_keyword_builtin(self):'}</s>EXCEPTION_GROUP = (SyntaxError, re.EXC_GROUP_PARENTH_RE + "|" + re.INVALID_SYNTAX_RE)
0
{'name': 'Contract.create@ib_insync/contract.py', 'description': 'Create and a return a specialized contract based on the given secType,\nor a general Contract if secType is not given.', 'signature': "def create(**kwargs) -> 'Contract':"}</s>UNSET_INTEGER = 2 ** 31 - 1
0
{'name': 'apply_flt_dq@grizli/utils.py', 'description': 'Read and apply the compact exposure information file\n\nParameters\n----------\nfilename : str\n FLT/FLC filename.\n\nreplace : (str, str)\n Replace arguments for output DQ filename:\n\n >>> output_filename = filename.replace(replace[0], replace[1])\n\no...
0
{'name': 'remove_path_segments@furl/furl.py', 'description': "Removes the path segments of <remove> from the end of the path\nsegments <segments>.\n\nExamples:\n # ('/a/b/c', 'b/c') -> '/a/'\n remove_path_segments(['','a','b','c'], ['b','c']) == ['','a','']\n # ('/a/b/c', '/b/c') -> '/a'\n remove_path_segments(['',...
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': 'EstimateFeeTest.setup_network@qa/rpc-tests/smartfees.py', 'description': "We'll setup the network to have 3 nodes that all mine with different parameters.\nBut first we need to use one node to create a lot of small low priority outputs\nwhich we will use to generate our transactions.", 'signature': 'def setup...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQDCC_SOURCE_ENC_MASK = py23long(0x000000f0)
0
{'name': 'get_fedora_run_deps@docker/package/package_generator.py', 'description': 'List all the fedora run dependencies. Return an empty list when using prebuilt static binaries.', 'signature': 'def get_fedora_run_deps(binaries_dir):'}</s>{'name': 'TezosBinaryPackage@docker/package/model.py', 'description': 'DOCSTRING...
0
{'name': '_Polynomial.loess@pybaselines/polynomial.py', 'description': 'Locally estimated scatterplot smoothing (LOESS).\n\nPerforms polynomial regression at each data point using the nearest points.\n\nParameters\n----------\ndata : array-like, shape (N,)\n The y-values of the measured data, with N data points.\nfr...
1
{'name': 'match_works@python/tests/test_model.py', 'description': 'Hack for Python < 3.10 compatibility', 'signature': 'def match_works(test: unittest.TestCase, matched_value: str, constraint: str) -> None:'}</s>{'name': 'TestDefaultGraph@python/tests/test_model.py', 'description': 'DOCSTRING', 'base_classes': ['unitte...
0
{'name': 'EC_pub.get_der@src/M2Crypto/EC.py', 'description': 'Returns the public key in DER format as a buffer object.', 'signature': 'def get_der(self):'}</s>{'name': 'octx_to_num@src/M2Crypto/util.py', 'description': 'DOCSTRING', 'code': 'def octx_to_num(x):\n # type: (bytes) -> int\n return int(binascii.hexlif...
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': 'template@pyFileFixity/lib/profilers/visual/pympler/util/bottle3.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.', 'signature': 'def template(tpl, template_adapter=SimpleTemplate, **kwargs):'}</s>{'name': 'yieldroutes@p...
0
{'name': 'resource_path@config.py', 'description': 'Get absolute path to resource, works for dev and for PyInstaller ', 'signature': 'def resource_path(relative_path):'}</s>OPTIONS_FILE = os.path.join(PREF_PATH, "pyspy.pickle")
0
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add...
0
{'name': 'NonTokens.test6@Cheetah/Tests/SyntaxAndOutput.py', 'description': '1 dollar sign followed by EOL Slurp Token', 'signature': 'def test6(self):'}</s>{'name': 'CacheDirective@Cheetah/Tests/SyntaxAndOutput.py', 'description': 'DOCSTRING', 'base_classes': ['OutputTest'], 'methods': [{'name': 'CacheDirective.test1@...
0
{'name': 'ConfigDictTest.testJSONConversionBestEffort@ml_collections/config_dict/tests/config_dict_test.py', 'description': 'Tests JSON serialization.', 'signature': 'def testJSONConversionBestEffort(self):'}</s>_TEST_DICT_WITH_DATACLASS = dict(_TEST_DICT)
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': 'test_compare_equal_segments@tests/test_parser.py', 'description': 'Just make sure that comparing Segment objects works', 'signature': 'def test_compare_equal_segments(parser, default_una_segment):'}</s>{'name': 'parser@tests/test_parser.py', 'description': 'DOCSTRING', 'code': 'def parser():\n return Parse...
1
{'name': 'from_tk@discopy/quantum/tk.py', 'description': 'Translates from tket to discopy.', 'signature': 'def from_tk(tk_circuit):'}</s>GATES = { 'SWAP': SWAP, 'H': H, 'S': S, 'T': T, 'X': X, 'Y': Y, 'Z': Z, 'CZ': CZ, 'CY': CY, 'CX': CX, 'CCX': CCX, 'CCZ': CCZ, 'Rx':...
1
{'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': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>_z3_precedence = { Z3_OP_POWER: 0, Z3_OP_UMINUS: 1, Z3_OP_BNEG: 1, Z3_OP_BNOT: 1, Z3_OP_MUL: 2, Z3_OP_DIV: 2, Z3_OP_IDIV: 2, Z3_OP_MOD: 2, Z3_OP_BMUL: 2, Z3_...
0
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PFOTHERS_NSTATES = 3
1
{'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.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_TOPIC_STRING_ERROR = 2425
0
{'name': 'volumeProcessingPipeline@dicom2stl/Dicom2STL.py', 'description': 'Apply a series of filters to the volume image', 'signature': 'def volumeProcessingPipeline('}</s>{'name': 'readMesh@dicom2stl/utils/vtkutils.py', 'description': 'Read a mesh. Uses suffix to determine specific file type reader.', 'code': 'def re...
0
{'name': 'YAML.data@strictyaml/representation.py', 'description': 'Returns raw data representation of the document or document segment.\n\nMappings are rendered as ordered dicts, sequences as lists and scalar values\nas whatever the validator returns (int, string, etc.).\n\nIf no validators are used, scalar values are ...
0
{'name': 'Logger.level_matches@bootstrap.py', 'description': '>>> l = Logger([])\n>>> l.level_matches(3, 4)\nFalse\n>>> l.level_matches(3, 2)\nTrue\n>>> l.level_matches(slice(None, 3), 3)\nFalse\n>>> l.level_matches(slice(None, 3), 2)\nTrue\n>>> l.level_matches(slice(1, 3), 1)\nTrue\n>>> l.level_matches(slice(2, 3), 1)...
0
{'name': '_AppHandler._populate_staging@jupyterlab/commands.py', 'description': 'Set up the assets in the staging directory.', 'signature': 'def _populate_staging(self, name=None, version=None, static_url=None, clean=False): # noqa'}</s>{'name': '_node_check@jupyterlab/commands.py', 'description': 'Check for the exist...
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': 'dual_contour_2d@dual_contour_2d.py', 'description': 'Iterates over a cells of size one between the specified range, and evaluates f and f_normal to produce\na boundary by Dual Contouring. Returns an unordered list of Edge objects.', 'signature': 'def dual_contour_2d(f, f_normal, xmin=XMIN, xmax=XMAX, ymin=YMI...
1