text
string
label
int64
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCA_NAMELIST_DESC = 2009
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': 'RKAdaptiveStepsizeODESolver._interp_fit@torchdiffeq/_impl/rk_common.py', 'description': 'Fit an interpolating polynomial to the results of a Runge-Kutta step.', 'signature': 'def _interp_fit(self, y0, y1, k, dt):'}</s>_one_third = 1 / 3
0
{'name': 'main@swagger_to/bin/swagger_to_py_client.py', 'description': 'Execute the main routine.', 'signature': 'def main() -> None:'}</s>{'name': '_anonymous_or_get_parameter@swagger_to/intermediate.py', 'description': "Retrieve a parameter from the table if it's been defined or otherwise create a new parameter defin...
0
{'name': 'VolumeDataGenerator.__data_augmentation@enzynet/volume.py', 'description': 'Returns augmented data with batch_size enzymes.', 'signature': 'def __data_augmentation('}</s>DATASETS_DIR = os.path.join(ROOT_DIR, 'datasets/')
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': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'MemoryWatchListCommand@gef.py', 'description': 'Lists all watchpoints to display in context layout.', 'base_classes': ['GenericCommand'], 'methods': [{'name': 'MemoryWatchListCommand.d...
0
{'name': 'aggregateUMIsPseudobulks@pipelines/pipeline_scxl.py', 'description': 'Aggregate UMI counts across cells within cluster to form pseudobulks.\n\nUseful for performing e.g. DESeq2 analysis of clusters from\nmultiple samples.', 'signature': 'def aggregateUMIsPseudobulks(infile, outfile):'}</s>{'name': 'plotRdimsG...
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_INDEX_TYPE = 57
0
{'name': 'email_content@raspisump/alerts.py', 'description': 'Build the contents of email body which will be sent as an alert', 'signature': 'def email_content(water_depth):'}</s>{'name': 'log_reading@raspisump/log.py', 'description': 'Log time and water depth reading.', 'code': 'def log_reading(logfile, water_depth):\...
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MASK_LB = 28799
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': 'AppSettings._handler@src/concurrency/config.py', 'description': ' handler for ``setting_changed`` signal.\n\n@see :ref:`django:setting-changed`_', 'signature': 'def _handler(self, sender, setting, value, **kwargs) -> None:'}</s>LIST_EDITABLE_POLICIES = [ CONCURRENCY_LIST_EDITABLE_POLICY_SILENT, CON...
0
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>PFTM_ADAPTIVE_START = 16
0
{'name': 'test_put_update_user_malformed_roles@test-http/src/test/org_user_tests/org.py', 'description': 'service should return useful error message for malformed roles ', 'signature': 'def test_put_update_user_malformed_roles():'}</s>{'name': 'test_post_new_org@test-http/src/test/org_user_tests/org.py', 'description':...
0
{'name': 'model_average@examples/estimator_suite.py', 'description': 'Run ModelAverage in default mode (QuicGraphicalLassoCV) to obtain proportion\nmatrix.\n\nNOTE: This returns precision_ proportions, not cov, prec estimates, so we\n return the raw proportions for "cov" and the threshold support\n estimat...
0
{'name': '_extract_predictions_and_losses@object_detection/legacy/evaluator.py', 'description': 'Constructs tensorflowFolder detection graph and returns output tensors.\n\nArgs:\n model: model to perform predictions with.\n create_input_dict_fn: function to create input tensor dictionaries.\n ignore_groundtruth: whe...
0
{'name': 'init_tables@reedsolo.py', 'description': "Precompute the logarithm and anti-log tables for faster computation later, using the provided primitive polynomial.\nThese tables are used for multiplication/division since addition/substraction are simple XOR operations inside GF of characteristic 2.\nThe basic idea ...
0
{'name': 'UserByID.patch@app/modules/users/resources.py', 'description': 'Patch user details by ID.', 'signature': 'def patch(self, args, user):'}</s>api = Namespace('users', description="Users")
1
{'name': 'SensorHandler.start_arm_timer@custom_components/alarmo/sensors.py', 'description': 'start timer for automatical arming', 'signature': 'def start_arm_timer(self, entity):'}</s>PANEL_URL = "/api/panel_custom/alarmo"
0
{'name': 'get_normalized_annulus_to_valve1_first_phase@ValveBatchExport/HeartValveBatchAnalysis/annulus_shape_analysis.py', 'description': "Get average relative pose between two valve contours\n:param csv_filename: input CSV file containing columns Filename, Phase, Valve, AnnulusContourX, AnnulusContourY, AnnulusContou...
0
{'name': 'wait_on_db_update@grizli/aws/db.py', 'description': 'Wait for db to stop updating on root', 'signature': 'def wait_on_db_update(root, t0=60, dt=30, n_iter=60, engine=None):'}</s>{'name': 'parse_filter_from_header@grizli/utils.py', 'description': "Get simple filter name out of an HST/JWST image header.\n\nACS ...
0
{'name': 'Command.tosieve@sievelib/commands.py', 'description': 'Generate the sieve syntax corresponding to this command\n\nRecursive method.\n\n:param indentlevel: current indentation level\n:param target: opened file pointer where the content will be printed', 'signature': 'def tosieve(self, indentlevel: int = 0, tar...
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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRC_RFH_ERROR = 2334
0
{'name': 'do_setup@tests/test_notebooks.py', 'description': 'Do any setup work; see intro of the notebook ', 'signature': 'def do_setup(nb_name):'}</s>{'name': 'convert_notebook_to_py@tests/test_notebooks.py', 'description': 'From https://stackoverflow.com/questions/17077494/how-do-i-convert-a-ipython-notebook-into-a-p...
0
{'name': 'sort_endpoints@components/generate_PAPIschemas_from_OneFSSource.py', 'description': 'Endpoints should be sorted so that endpoints with different PAPI_versions should be adjacent E.x:\n"/12/upgrade/cluster/upgrade",\n"/3/upgrade/cluster/upgrade",\n"/5/upgrade/cluster/upgrade",\n"/7/upgrade/cluster/upgrade",\n"...
0
{'name': 'training_loop_hparams_from_scoped_overrides@tensor2tensor_envi/rl/trainer_model_based_params.py', 'description': 'Create HParams suitable for training loop from scoped HParams.\n\nArgs:\n scoped_overrides: HParams, with keys all scoped by one of HP_SCOPES. These\n parameters are overrides for the base HPa...
0
{'name': 'test_make_pod_with_scheduler_name@tests/test_objects.py', 'description': 'Test specification of the simplest possible pod specification with non-default scheduler name', 'signature': 'def test_make_pod_with_scheduler_name():'}</s>{'name': 'test_make_ingress_for_service_reuse_existing_services_enabled@tests/te...
0
{'name': '_PipBackend._has_virtualenv@src/build/env.py', 'description': 'virtualenv might be incompatible if it was installed separately\nfrom build. This verifies that virtualenv and all of its\ndependencies are installed as required by build.', 'signature': 'def _has_virtualenv(self) -> bool:'}</s>_package_name = __s...
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': '_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>any = _frommethod('any')
1
{'name': 'PortManager._telnet_process_subnegotiation@serial/rfc2217.py', 'description': 'Process subnegotiation, the data between IAC SB and IAC SE.', 'signature': 'def _telnet_process_subnegotiation(self, suboption):'}</s>INACTIVE = "INACTIVE"
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MASK_C_SWSP = 57347
0
{'name': 'resnetl10@models/resnetl.py', 'description': 'Constructs a resnetl-10 model.\n ', 'signature': 'def resnetl10(**kwargs):'}</s>{'name': 'Bottleneck@models/resnetl.py', 'description': 'DOCSTRING', 'base_classes': ['nn.Module'], 'methods': [{'name': 'Bottleneck.__init__@models/resnetl.py', 'description': 'DOC...
0
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p...
0
{'name': 'check_singular_plural_cluster@analyze.py', 'description': 'Cluster with text ', 'signature': 'def check_singular_plural_cluster(cluster):'}</s>ambiguous_pronouns = ['you', 'your', 'yours']
1
{'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': 'setup_remote@src/showyourwork/overleaf.py', 'description': "Set up the bridge between the git repo and the Overleaf project for an\nempty Overleaf project with a given ID.\n\nArgs:\n project_id (str): The Overleaf project ID.\n path (str, optional): The path to the top level of the user's repo\n ...
1
{'name': 'fixture_mock_list_labels_paginated@tests/conftest.py', 'description': 'Mock requests for list labels with pagination.', 'signature': 'def fixture_mock_list_labels_paginated('}</s>{'name': 'fixture_mock_edit_label@tests/conftest.py', 'description': 'Mock requests for edit label.', 'code': 'def fixture_mock_edi...
0
{'name': 'Spectrum.precursors@pymzml/spec.py', 'description': 'List the precursor information of this spectrum, if available.\nReturns:\n precursor(list): list of precursor ids for this spectrum.', 'signature': 'def precursors(self):'}</s>CHROMATOGRAM_OFFSET_PATTERN = re.compile( b'(?P<WTF>[nativeID|idRef])="TIC...
0
{'name': 'collect@src/scriv/collect.py', 'description': 'Collect and combine fragments into the changelog.', 'signature': 'def collect('}</s>logger = logging.getLogger(__name__)
1
{'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': 'Merger.description@bcml/mergers/__init__.py', 'description': 'The description of this merger in the UI', 'signature': 'def description(self) -> str:'}</s>CREATE_NO_WINDOW = 134217728
0
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PFSTATE_SLOPPY = 2
1
{'name': 'CustomMainWidget.runTheGame@src/gui/main_widget.py', 'description': 'Runs the game', 'signature': 'def runTheGame(self):'}</s>{'name': 'detectEncoding@src/util/util.py', 'description': 'DOCSTRING', 'code': 'def detectEncoding(path: str) -> str:\n import charset_normalizer\n if os.path.exists(path):\n ...
0
{'name': 'get_natural_earth_file@salem/utils.py', 'description': "Returns the path to the desired natural earth file.\n\nhttp://www.shadedrelief.com/natural3/pages/textures.html\n\nParameters\n----------\nres : str\n 'lr' or 'hr' (low res or high res)", 'signature': "def get_natural_earth_file(res='lr'):"}</s>{'name'...
0
{'name': 'download_setuptools@ez_setup.py', 'description': "Download setuptools from a specified location and return its filename.\n\n`version` should be a valid setuptools version number that is available\nas an sdist for download under the `download_base` URL (which should end\nwith a '/'). `to_dir` is the directory ...
0
{'name': 'TwoQubitCalTestCase.test_CRPhase@test/test_pulsecal.py', 'description': 'Test RabiAmpCalibration. Ideal data generated by simulate_rabiAmp.', 'signature': 'def test_CRPhase(self):'}</s>{'name': 'simulate_phase_estimation@test/test_pulsecal.py', 'description': 'Simulate the output of a PhaseEstimation experime...
0
{'name': 'createAndPublishAPIs@apim-traffic-tool/lib/traffic-tool/src/python/create_api_scenario.py', 'description': 'This function will create and publish all APIs\n:return: None', 'signature': 'def createAndPublishAPIs():'}</s>token_registration_endpoint = ""
1
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ...
0
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ...
0
{'name': 'OpenMapLocal.found_tiles@tilemapbase/ordnancesurvey.py', 'description': 'A list of the "grid codes" we have tiles for.', 'signature': 'def found_tiles():'}</s>{'name': '_init_scan_one_directory@tilemapbase/ordnancesurvey.py', 'description': 'DOCSTRING', 'code': 'def _init_scan_one_directory(dir_name):\n gl...
0
{'name': 'get_makefile_filename@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/distlib/_backport/sysconfig.py', 'description': 'Return the path of the Makefile.', 'signature': 'def get_makefile_filename():'}</s>_PREFIX = os.path.normpath(sys.prefix)
0
{'name': 'ScaleClient.remove_studio_assignments@scaleapi/__init__.py', 'description': 'Removes projects from users based on emails.\nArgs:\n emails (List[str]):\n emails to unassign\n projects (List[str]):\n projects to unassign\n\nReturns:\n Dict[StudioLabelerAssignment]', 'signature': 'def remo...
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>COMMAND_FAILED_AS_EXPECTED = "Command has failed as expected"
0
{'name': 'ios@jpush/push/payload.py', 'description': "iOS/APNS specific platform override payload.\n\n:keyword alert: iOS format alert, as either a string or dictionary.\n:keyword badge: An integer badge value or an *autobadge* string.\n:keyword sound: An string sound file to play.\n:keyword content_available: If True,...
1
{'name': 'MetricList.get_sql_and_with_clause@metrics.py', 'description': "Gets the SQL query and WITH clause.\n\nThe query is constructed by\n1. Get the query for every children metric.\n2. If all children queries are compatible, we just collect all the columns\n from the children and use the WHERE and GROUP BY clause...
1
{'name': 'get_schedule@src/fitly/api/pelotonApi.py', 'description': 'Returns list of on-demand workouts', 'signature': "def get_schedule(fitness_discipline, class_names=['all'], taken_class_ids=[], limit=10, is_favorite_ride=False,"}</s>{'name': 'get_bookmarks@src/fitly/api/pelotonApi.py', 'description': 'DOCSTRING', '...
0
{'name': 'AutoReject.fit@autoreject/autoreject.py', 'description': 'Fit the epochs on the AutoReject object.\n\nParameters\n----------\nepochs : instance of mne.Epochs\n The epochs object to be fit.\n\nReturns\n-------\nself : instance of AutoReject\n The instance.', 'signature': 'def fit(self, epochs):'}</s>{'na...
0
{'name': 'MeasurementPreset.getCurveLengthBetweenPoints@ValveQuantification/ValveQuantificationLib/MeasurementPreset.py', 'description': 'Create a measurement of curve length between two points\n:param valveModel1: valve model to allow to get point by label and get valve coordinate system\n:param curve: curve the dista...
0
{'name': 'RPCBindTest.run_bind_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with requested rpcallowip and rpcbind parameters,\nthen try to connect, and check if the set of bound addresses\nmatches the expected set.', 'signature': 'def run_bind_test(self, allow_ips, connect_to, addresses, expected):'...
0
{'name': 'CalculateTestLists@third_party/libgtest/googletest/test/googletest-shuffle-test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>PREMATURE_EXIT_FILE_ENV_VAR = "TEST_PREMATURE_EXIT_FILE"
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': 'device_added@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is added or updated', 'signature': 'def device_added(notification):'}</s>capture_scan_response = True
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': 'SentencePredictionTask.load_dataset@fairseq/tasks/sentence_prediction.py', 'description': 'Load a given dataset split (e.g., train, valid, test).', 'signature': 'def load_dataset(self, split, combine=False, **kwargs):'}</s>{'name': 'filter_paired_dataset_indices_by_size@fairseq/data/data_utils.py', 'descripti...
0
{'name': 'FletcherBaseArray.__array_ufunc__@fletcher/base.py', 'description': 'Apply a NumPy ufunc on the ExtensionArray.', 'signature': 'def __array_ufunc__(self, ufunc, method: str, *inputs, **kwargs):'}</s>{'name': '_calculate_chunk_offsets@fletcher/algorithms/utils/chunking.py', 'description': 'Return an array hold...
0
{'name': 'TestDocumentsTransactions.test_no_transaction_creation_for_issued_documents_case_1@silver/tests/integration/test_documents_transactions.py', 'description': 'The payment method is not recurring', 'signature': 'def test_no_transaction_creation_for_issued_documents_case_1(self):'}</s>{'name': 'InvoiceFactory@sil...
1
{'name': 'CARFACCell.__init__@python/tf/carfac.py', 'description': 'Initializes a CAR cell.\n\nArgs:\n car_params: CARParams defining the CAR step of this cell.\n ihc_params: IHCParams defining the IHC step of this cell.\n agc_params: AGCParams defining the AGC step of this cell.\n num_ears: Number of simulated ear...
1
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>ICMP6_NI_QUERY = 139
0
{'name': 'Praetorian.init_app@flask_praetorian/base.py', 'description': 'Initializes the Praetorian extension\n\n:param: app: The flask app to bind this\n extension to\n:param: user_class: The class used to interact with\n user...
1
{'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>MQRCCF_NO_RETAINED_MSG = 3077
0
{'name': 'delPluginFile@app/plugin/pluginlist.py', 'description': '删除文件\n因为这里的文件名是安全的,所以直接进行删除', 'signature': 'def delPluginFile(filename):'}</s>SQLALCHEMY_TRACK_MODIFICATIONS = False
0
{'name': 'GenericMeta.__new__@vendor/typing.py', 'description': 'Create a new generic class. GenericMeta.__new__ accepts\nkeyword arguments that are used for internal bookkeeping, therefore\nan override should pass unused keyword arguments to super().', 'signature': 'def __new__(cls, name, bases, namespace,'}</s>{'name...
0
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>{'name': 'pf_addr_wrap@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
1
{'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': 't...
0
{'name': 'on_download_logs@src/server/server.py', 'description': 'Download logs (as .zip file).', 'signature': 'def on_download_logs(data):'}</s>MIN_PYTHON_MAJOR_VERSION = 3
0
{'name': 'BareValidator.types@cerberus/validator.py', 'description': "The constraints that can be used for the 'type' rule.\nType: A tuple of strings.", 'signature': 'def types(cls):'}</s>DOCUMENT_MISSING = ErrorDefinition(0x01, None)
0
{'name': 'test_tree@tests/test_dotexporter.py', 'description': 'Tree.', 'signature': 'def test_tree(tmp_path, root):'}</s>{'name': 'test_tree_stop@tests/test_dotexporter.py', 'description': 'Tree with stop.', 'code': 'def test_tree_stop(tmp_path, root):\n """Tree with stop."""\n DotExporter(root, stop=lambda node...
0
{'name': 'use_rbg@library/dot3k/backlight.py', 'description': 'Swap the Green and Blue channels on the LED backlight\n\nUse if you have a first batch Display-o-Tron 3K', 'signature': 'def use_rbg():'}</s>LED_M_B = 5
1
{'name': 'Message.to_dict@src/betterproto/__init__.py', 'description': 'Returns a JSON serializable dict representation of this object.\n\nParameters\n-----------\ncasing: :class:`Casing`\n The casing to use for key values. Default is :attr:`Casing.CAMEL` for\n compatibility purposes.\ninclude_default_values: :cl...
0
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>PF_POOL_NAT = 1
0
{'name': 'HydrogenBuilder.__init__@sidechainnet/structure/HydrogenBuilder.py', 'description': 'Create a Hydrogen builder for a protein.\n\nArgs:\n seq (str): Protein sequence.\n coords (numpy.ndarray, torch.tensor): Coordinate set for a protein that does\n not yet contain Hydrogens.', 'signature': "def __i...
0
{'name': 'CortexM.read_core_registers_raw@pyocd/coresight/cortex_m.py', 'description': 'Read one or more core registers\n\nRead core registers in reg_list and return a list of values.\nIf any register in reg_list is a string, find the number\nassociated to this register in the lookup table CORE_REGISTER.', 'signature':...
0
{'name': 'from_arrow_type@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/sql/types.py', 'description': 'Convert pyarrow type to Spark data type.\n ', 'signature': 'def from_arrow_type(at):'}</s>_array_signed_int_typecode_ctype_mappings = { 'b': ctypes.c_byte, 'h': ctypes.c_short, ...
0
{'name': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'stdev@src/python_scripts/afnipy/afni_util.py', 'description': '(biased) standard deviation (divide by len, not...
0
{'name': 'validate_operation@swagger_spec_validator/validator12.py', 'description': 'Validate an Operation Object (§5.2.3).', 'signature': 'def validate_operation(operation: dict[str, Any], model_ids: list[str]) -> None:'}</s>{'name': 'read_url@swagger_spec_validator/common.py', 'description': 'DOCSTRING', 'code': 'def...
0
{'name': 'test_make_pod_with_scheduler_name@tests/test_objects.py', 'description': 'Test specification of the simplest possible pod specification with non-default scheduler name', 'signature': 'def test_make_pod_with_scheduler_name():'}</s>{'name': 'test_make_pod_with_node_affinity_preferred@tests/test_objects.py', 'de...
0
{'name': 'backlog_subscriber@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'Pick up the table lock, poll BQ job id until completion and process next\nitem in the backlog.', 'signature': 'def backlog_subscriber(gcs_client: Optional[storage.Client],'}</s>SPECIAL_GCS_DI...
0
{'name': 'log_to_csv@versions/speed-cam_12.06.py', 'description': 'Store date to a comma separated value file', 'signature': 'def log_to_csv(data_to_append):'}</s>DB_DIR_PATH = os.path.join(baseDir, DB_DIR)
0
{'name': 'non_max_suppression@exp2/utils/utils.py', 'description': "Removes detections with lower object confidence score than 'conf_thres'\nNon-Maximum Suppression to further filter detections.\nReturns detections with shape:\n (x1, y1, x2, y2, object_conf, class_conf, class)", 'signature': 'def non_max_suppression...
0
{'name': 'SD1Watson.spherical_harmonics_representation@dmipy/distributions/distributions.py', 'description': 'The Watson spherical distribution model in spherical harmonics.\nThe minimum order is automatically derived from numerical experiments\nto ensure fast function executation and accurate results.\n\nParameters\n-...
1
{'name': 'Tempo.__init__@oqupy/tempo.py', 'description': 'Create a Tempo object. ', 'signature': 'def __init__('}</s>{'name': 'BaseAPIClass@oqupy/base_api.py', 'description': 'Base class for API objects\n\nParameters\n----------\nname: str\n An optional name for the object.\ndescription: str\n An optional descrip...
0
{'name': 'circumradius@tobler/util/util.py', 'description': 'Find the circumradius of an h3 hexagon at given resolution.\n\n Parameters\n----------\nresolution : int\n h3 grid resolution\n\nReturns\n-------\ncircumradius : float\n circumradius in meters', 'signature': 'def circumradius(resolution):'}</s>__all__ =...
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>SETXOFF = 1
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': 'Application._perform_deferred_reload@robopianist/viewer/application.py', 'description': 'Performs the deferred part of initialization related to Physics reload.\n\nArgs:\n params: Deferred reload parameters, an instance of ReloadParams.', 'signature': 'def _perform_deferred_reload(self, params):'}</s>_PAN_CA...
0
{'name': 'Element.move@src/svgutils/compose.py', 'description': 'Move the element by x, y.\n\nParameters\n----------\nx,y : int, str\n amount of horizontal and vertical shift\n\nNotes\n-----\nThe x, y can be given with a unit (for example, "3px", "5cm"). If no\nunit is given the user unit is assumed ("px"). In SVG a...
0
{'name': 'plot_legend@pymeteo/skewt.py', 'description': 'Plot skew-t legend', 'signature': 'def plot_legend(axes):'}</s>{'name': 'q_vl@pymeteo/thermo.py', 'description': 'DOCSTRING', 'code': 'def q_vl(p, t):\n _es = es(t)\n q_vl = epsilon*_es/(p-_es)\n return q_vl'}
0