text
string
label
int64
{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a template that specifies a timedelta', 'signature': 'def render_positive_time_period(data: dict, key: str) -> None:'}</s>ATTR_DURATION = "duration"
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': 'imfilter2D_FrequencyDomain@training_codes/utils/utils_model.py', 'description': 'If the input and the kernel are both multichannel tensors then each\nchannel of the input is filtered by the corresponding channel of the \nkernel.Otherwise, if kernel has a single channel each channel of the input\nis filtered b...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQMCEV_MEMORY_ALERT_ON = 25
0
{'name': '_text_count_case_sensitive@fletcher/algorithms/string.py', 'description': 'For each row in the data computes the number of occurrences of the pattern ``pat``.\nThis implementation does basic byte-by-byte comparison and is independent\nof any locales or encodings.', 'signature': 'def _text_count_case_sensitive...
0
{'name': 'TarFile.gettarinfo@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': "Create a TarInfo object for either the file `name' or the file\nobject `fileobj' (using os.fstat on its file descriptor). You can\nmodify some of the TarInfo's attributes before you add it...
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': 'GSComponent.drawPoints@Lib/glyphsLib/classes.py', 'description': 'Draws points of component with given point pen.', 'signature': 'def drawPoints(self, pointPen: AbstractPointPen) -> None:'}</s>TRIPLE = 128
0
{'name': 'update@hokusai/cli/review_app.py', 'description': 'Updates the Kubernetes based resources defined in ./hokusai/{APP_NAME}.yml', 'signature': 'def update(app_name, verbose):'}</s>{'name': 'create_yaml@hokusai/cli/review_app.py', 'description': 'Create Review App Yaml', 'code': 'def create_yaml(app_name, verbos...
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': 'start_sos_kernel@src/sos_notebook/test_utils.py', 'description': "start the global kernel (if it isn't running) and return its client", 'signature': 'def start_sos_kernel():'}</s>{'name': 'get_result@src/sos_notebook/test_utils.py', 'description': 'retrieve result from an execution', 'code': 'def get_result(i...
0
{'name': 'convert_inspirations@code/html/generate_static_website.py', 'description': ':param inspirations:\n:param entries:\n:return:', 'signature': 'def convert_inspirations(inspirations, entries):'}</s>essential_developer_fields = ('Name', 'Games')
0
{'name': 'readability@panoramix/simplify.py', 'description': "- replaces variable names with nicer ones,\n- fixes empty memory in calls\n- replaces 'max..' in setmems with msize variable\n (max can only appear because of this)", 'signature': 'def readability(trace):'}</s>{'name': 'cleanup_msize@panoramix/simplify.py...
0
{'name': 'handle_backlog@tools/cloud_functions/gcs_event_based_ingest/gcs_ocn_bq_ingest/common/ordering.py', 'description': 'submit the next item in the _backlog if it is non-empty or clean up the\n_BACKFILL and _bqlock files.\nArgs:\n gcs_client: storage.Client\n bq_client: bigquery.Client\n bkt: storage.Buck...
0
{'name': 'get_ros_distribution_version@colcon_bundle/verb/utilities.py', 'description': 'Discover and return ROS distribution version.\n\n:return: the ROS distribution version to be used.\nexample: kinetic, melodic', 'signature': 'def get_ros_distribution_version():'}</s>{'name': 'filechecksum@colcon_bundle/verb/utilit...
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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQGMO_NONE = 0
0
{'name': '_AdbIOManager.send@adb_shell/adb_device.py', 'description': 'Send a message to the device.\n\nParameters\n----------\nmsg : AdbMessage\n The data that will be sent\nadb_info : _AdbTransactionInfo\n Info and settings for this ADB transaction', 'signature': 'def send(self, msg, adb_info):'}</s>{'name': 'D...
0
{'name': 'TestDictRequest.test_request_props@beeline/propagation/test_propagation.py', 'description': 'Test we correctly return request props', 'signature': 'def test_request_props(self):'}</s>{'name': 'Request@beeline/propagation/__init__.py', 'description': 'beeline.propagation.Request is an abstract class that defin...
0
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'FormatObject@src/api/python/z3/z3pri...
0
{'name': 'TautomerEnumerator.__init__@scopy/ScoPretreat/pretreatutil.py', 'description': ':param transforms: A list of TautomerTransforms to use to enumerate tautomers.\n:param max_tautomers: The maximum number of tautomers to enumerate (limit to prevent combinatorial explosion).', 'signature': 'def __init__(self, tran...
0
{'name': 'show_most_common_types@contrib/objgraph.py', 'description': 'Count the names of types with the most instances.\n\nNote that the GC does not track simple objects like int or str.\n\nNote that classes with the same name but defined in different modules\nwill be lumped together.', 'signature': 'def show_most_com...
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': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_DESCRIBE...
0
{'name': 'get_async_fn@asynq/decorators.py', 'description': 'Returns an async function for the specified source function.', 'signature': 'def get_async_fn(fn, wrap_if_none=False):'}</s>__traceback_hide__ = True
0
{'name': 'test_put_get_delete_replication@ut/test.py', 'description': '设置、获取、删除跨园区复制配置', 'signature': 'def test_put_get_delete_replication():'}</s>{'name': 'test_ci_delete_asr_template@ut/test.py', 'description': 'DOCSTRING', 'code': 'def test_ci_delete_asr_template():\n response = client.ci_get_asr_bucket(BucketNam...
0
{'name': 'fillAvailableBlenderDists@BlendNet/addon.py', 'description': 'Cached blender dists list for the UI interface', 'signature': 'def fillAvailableBlenderDists(scene = None, context = None):'}</s>{'name': 'genSID@BlendNet/addon.py', 'description': 'Generates SID and set it to property', 'code': "def genSID(obj, pr...
0
{'name': 'PacketFilter.get_queues@pf/filter.py', 'description': 'Retrieve the currently loaded queues.\n\nReturn a tuple of PFQueue objects.', 'signature': 'def get_queues(self):'}</s>PF_DIVERT = 13
0
{'name': 'DefinitionSchema.__init__@cerberus/schema.py', 'description': ':param validator: An instance of Validator-(sub-)class that uses this\n schema.\n:param schema: A definition-schema as ``dict``. Defaults to an empty\n one.', 'signature': 'def __init__(self, validator, schema):'}</s...
0
{'name': 'switch@agents/bdq/common/tf_util.py', 'description': 'Switches between two operations depending on a scalar value (int or bool).\nNote that both `then_expression` and `else_expression`\nshould be symbolic tensors of the *same shape*.\n\n# Arguments\n condition: scalar tensor.\n then_expression: TensorFl...
0
{'name': 'RSA.save_key_der@src/M2Crypto/RSA.py', 'description': 'Save the key pair to a file in DER format.\n\n:param file: Filename to save key to', 'signature': 'def save_key_der(self, file):'}</s>{'name': 'load_key_string@src/M2Crypto/RSA.py', 'description': 'Load an RSA key pair from a string.\n\n:param string: Str...
0
{'name': 'roles_required@flask_security/decorators.py', 'description': "Decorator which specifies that a user must have all the specified roles.\nExample::\n\n @app.route('/dashboard')\n @roles_required('admin', 'editor')\n def dashboard():\n return 'Dashboard'\n\nThe current user must have both the `ad...
0
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'z3_error_handler@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def z3_error_handler(c, e):\n # Do nothing error handler, just avoid exit(0)...
0
{'name': 'DenoisingTask.load_dataset@fairseq_deen_ende/fairseq/tasks/denoising.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset(self, split, epoch=0, combine=False, **kwargs):'}</s>{'name': 'process_bpe_symbol@fairs...
0
{'name': 'CheckStyle@third_party/cpplint/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 lengths,\ntab usage, spaces inside code, etc....
0
{'name': 'watchdog_download@common.py', 'description': 'check is download job timeout\n\ncheck pending and queue timestamp to determine timeout\n\nArgs:\n youtube_id: str\n margin: int\n\nReturns:\n True/False: boolean', 'signature': 'def watchdog_download(youtube_id, margin):'}</s>{'name': 'tmp_movie_clear@co...
0
{'name': 'create_post@post.py', 'description': 'Creates a new post from the given data.', 'signature': 'def create_post(thread: Thread, args: dict) -> Post:'}</s>{'name': 'get_or_update_poster@post.py', 'description': "Returns the current poster (creating one if it doesn't exist) and whether\nthis poster is the last po...
1
{'name': 'Assignment.__init__@lib/rule_engine/ast.py', 'description': ':param str name: The symbol name that the assignment is defining.\n:param value: The value of the assignment.\n:param value_type: The data type of the assignment.\n:type value_type: :py:class:`~.DataType`', 'signature': 'def __init__(self, name, *, ...
0
{'name': 'mach_o_change@python/virtualenv/virtualenv.py', 'description': "Replace a given name (what) in any LC_LOAD_DYLIB command found in\nthe given binary with a new name (value), provided it's shorter.", 'signature': 'def mach_o_change(path, what, value):'}</s>{'name': 'fix_lib64@python/virtualenv/virtualenv.py', '...
0
{'name': 'load_inventory@src/attributecode/gen.py', 'description': 'Load the inventory file at `location` for ABOUT and LICENSE files stored in\nthe `base_dir`. Return a list of errors and a list of About objects\nvalidated against the `base_dir`.\n\nOptionally use `reference_dir` as the directory location of extra ref...
0
{'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': 'NVMeOFConnectorTestCase.test_extend_volume_unreplicated_nvme_fails@os_brick/tests/initiator/connectors/test_nvmeof.py', 'description': 'nvme command fails, so it rescans, waits, and reads size.', 'signature': 'def test_extend_volume_unreplicated_nvme_fails('}</s>{'name': 'VolumeDeviceNotFound@os_brick/excepti...
0
{'name': 'get@ffn/data.py', 'description': "Helper function for retrieving data as a DataFrame.\n\nArgs:\n * tickers (list, string, csv string): Tickers to download.\n * provider (function): Provider to use for downloading data.\n By default it will be ffn.DEFAULT_PROVIDER if not provided.\n * common_da...
0
{'name': 'rdk.init@rdk/rdk.py', 'description': 'This is a test.', 'signature': 'def init(self):'}</s>util_filename = "rule_util"
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': 'MainWindow.set_format@labelImg.py', 'description': 'if save_format == FORMAT_PASCALVOC:\n self.actions.save_format.setText(FORMAT_PASCALVOC)\n self.actions.save_format.setIcon(newIcon("format_voc"))\n self.usingPascalVocFormat = False\n self.usingYoloFormat = False\n self.usingYoloOBBFormat = T...
1
{'name': 'gen_fortran@src/axom/sidre/interface/c_fortran/genfsidresplicer.py', 'description': 'Generate splicers used by Shroud.\n ', 'signature': 'def gen_fortran():'}</s>{'name': 'group_set_scalar@src/axom/sidre/interface/c_fortran/genfsidresplicer.py', 'description': 'Create methods on Group to set a scalar.\n ...
1
{'name': 'main@blogs/ecs-canary-deployments-pipeline/setup/scripts/delete_blog_contents.py', 'description': 'Main function. ', 'signature': 'def main():'}</s>{'name': '_list_stacks@blogs/ecs-canary-deployments-pipeline/setup/scripts/delete_blog_contents.py', 'description': 'List CFN Stacks by the desired prefix ', 'cod...
1
{'name': 'ReceiptQuerySet.validate@django_afip/models.py', 'description': "Validate all receipts matching this queryset.\n\nNote that, due to how AFIP implements its numbering, this method is not\nthread-safe, or even multiprocess-safe. You MAY however, call this method\nconcurrently for receipts from different :class:...
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': 'BaseImage.export_pixels@wand/image.py', 'description': 'Export pixel data from a raster image to\na list of values.\n\nThe ``channel_map`` tells ImageMagick which color\nchannels to export, and what order they should be\nwritten as -- per pixel. Valid entries for\n``channel_map`` are:\n\n- ``\'R\'`` - Red cha...
0
{'name': 'LossModel._apply_consequence_scaling@pelicun/model/loss_model.py', 'description': 'Apply a scale factor to selected loss sample columns.\n\nThe scaling conditions are passed as a dictionary mapping\nlevel names with their required value for the condition to be\nmet. It has to contain `dv` as one of its keys, ...
0
{'name': 'internal_silk@scripts/build_mod_ic.py', 'description': 'Generate an internal silkscreen, with an outline of the part and a pin1\nindicator.', 'signature': 'def internal_silk(conf):'}</s>font_size = (1.0, 1.0)
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': 'assertrepr_compare@blockchain-env/lib/python3.7/site-packages/_pytest/assertion/util.py', 'description': 'Return specialised explanations for some operators/operands', 'signature': 'def assertrepr_compare(config, op, left, right):'}</s>{'name': '_compare_eq_set@blockchain-env/lib/python3.7/site-packages/_pyte...
1
{'name': 'ae_transformer_internal@tensor2tensor_envi/models/research/transformer_nat.py', 'description': 'Main step used for training.', 'signature': 'def ae_transformer_internal(inputs, targets, target_space, hparams, cache=None):'}</s>{'name': 'transformer_nat_base@tensor2tensor_envi/models/research/transformer_nat.p...
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_UNEXPECTED_ERROR = 2195
0
{'name': '_TestAWSIoTCoreDeviceLifecycleBase.test_device_accept_and_reject_or_dismiss@backend-tests/tests/test_aws_iotcore.py', 'description': 'Test how accepted-rejected and accepted-dismissed Mender flow affects AWS IoT Core devices.', 'signature': 'def test_device_accept_and_reject_or_dismiss('}</s>AWS_DEVICE_POLICY...
0
{'name': 'lgedm_post@wideq/core.py', 'description': 'Make an HTTP request in the format used by the API servers.\n\nIn this format, the request POST data sent as JSON under a special\nkey; authentication sent in headers. Return the JSON data extracted\nfrom the response.\n\nThe `access_token` and `session_id` are requi...
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': 'MemoryFindTestCase.test_memory_find@llvm-project/lldb/test/API/functionalities/memory/find/TestMemoryFind.py', 'description': "Test the 'memory find' command.", 'signature': 'def test_memory_find(self):'}</s>STOPPED_DUE_TO_BREAKPOINT_CONDITION = "Stopped due to breakpoint condition"
0
{'name': 'URLopener.open_ftp@src/future/backports/urllib/request.py', 'description': 'Use FTP protocol.', 'signature': 'def open_ftp(self, url):'}</s>{'name': 'decode@src/future/backports/email/base64mime.py', 'description': 'Decode a raw base64 string, returning a bytes object.\n\nThis function does not parse a full M...
0
{'name': 'diff_one@peewee_migrate/auto.py', 'description': 'Find difference between given peewee models.', 'signature': 'def diff_one(model1: TModelType, model2: TModelType, **kwargs) -> List[str]: # noqa: C901'}</s>{'name': 'drop_index@peewee_migrate/auto.py', 'description': 'Generate migrations.', 'code': 'def drop_...
1
{'name': 'joydata@project_sample/2019-2ProjectSamples_Code/11조-수강과목을 통한 전공 예측 프로그램/joy.py', 'description': "joydata reads data/joydata.txt file and returns the data'\nParameters\n standardized: If True, performs standardization or \n feature scaling such that mean is 0 and std dev = 1.0\n shuffled: If True...
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': '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': 'load_and_save_masks_and_captions@lora_diffusion/preprocess_files.py', 'description': 'Loads images from the given files, generates masks for them, and saves the masks and captions and upscale images\nto output dir.', 'signature': 'def load_and_save_masks_and_captions('}</s>{'name': '_center_of_mass@lora_diffu...
1
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQPO_YES = 1
0
{'name': '_sum_ft@models/sync_batchnorm/batchnorm.py', 'description': 'sum over the first and last dimention', 'signature': 'def _sum_ft(tensor):'}</s>_MasterMessage = collections.namedtuple('_MasterMessage', ['sum', 'inv_std'])
0
{'name': 'PostgresNode.restart@testgres/node.py', 'description': 'Restart this node using pg_ctl.\n\nArgs:\n params: additional arguments for pg_ctl.\n\nReturns:\n This instance of :class:`.PostgresNode`.', 'signature': 'def restart(self, params=[]):'}</s>{'name': 'method_decorator@testgres/decorators.py', 'descr...
0
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>{'name': '_do_init_rh_interface@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def _do_init_rh_interface():\n try:\n rh_interface_name = os.environ....
0
{'name': 'FinalizeMetadata@tools/releasetools/ota_utils.py', 'description': 'Finalizes the metadata and signs an A/B OTA package.\n\nIn order to stream an A/B OTA package, we need \'ota-streaming-property-files\'\nthat contains the offsets and sizes for the ZIP entries. An example\nproperty-files string is as follows.\...
0
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im...
0
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>CONF_EVERY_N_DAYS = "every_n_days"
0
{'name': 'get_snapshot_status@k8s_snapshots/backends/google.py', 'description': 'In Google Cloud, the createSnapshot operation returns a ZoneOperation\nobject which goes from PENDING, to RUNNING, to DONE.\nThe snapshot object itself can be CREATING, DELETING, FAILED, READY,\nor UPLOADING.\n\nWe check both states to mak...
0
{'name': 'TestSequencePredictionHuman.test_3@test/test_base.py', 'description': 'test the dna and protein coding sequences are correct by comparing\nwith manually generally sequences', 'signature': 'def test_3(self):'}</s>{'name': '_Gene@agfusion/model.py', 'description': 'Stores the necessary information to specify th...
0
{'name': 'parse_1dplot_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for Pythony 1dplotter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'sig...
0
{'name': 'displayInfo@source/pi-timolo.py', 'description': 'Display variable settings with plugin overlays if required', 'signature': 'def displayInfo(motioncount, timelapsecount):'}</s>params = camResult.split()
0
{'name': 'ReplaceByFeeTest.test_too_many_replacements@test/functional/feature_rbf.py', 'description': 'Replacements that evict too many transactions are rejected', 'signature': 'def test_too_many_replacements(self):'}</s>mininode_lock = threading.RLock()
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': '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': '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': '_primal_to_ugrid@uxarray/io/_icon.py', 'description': 'Encodes the Primal Mesh of an ICON Grid into the UGRID conventions.', 'signature': 'def _primal_to_ugrid(in_ds, out_ds):'}</s>CARTESIAN_EDGE_COORDINATES = ["edge_x", "edge_y", "edge_z"]
0
{'name': 'scnym_train@scnym/api.py', 'description': 'Train an scNym model.\n\nParameters\n----------\nadata : AnnData\n [Cells, Genes] experiment containing annotated\n cells to train on.\nconfig : dict\n configuration options.\n\nReturns\n-------\nNone.\nSaves model outputs to `config["out_path"]` and adds mo...
1
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'unique_match@src/python_scripts/afnipy/afni_base.py', 'descriptio...
0
{'name': 'CScriptOp.encode_op_n@qa/rpc-tests/test_framework/script.py', 'description': 'Encode a small integer op, returning an opcode', 'signature': 'def encode_op_n(n):'}</s>VALID_OPCODES = { OP_1NEGATE, OP_RESERVED, OP_1, OP_2, OP_3, OP_4, OP_5, OP_6, OP_7, OP_8, OP_9, ...
0
{'name': 'ECMA376Agile.generate_encryption_parameters@msoffcrypto/method/ecma376_agile.py', 'description': 'Generates encryption parameters used to encrypt a payload.\n\nReturns the information + a secret key.', 'signature': 'def generate_encryption_parameters(key, salt_value=None, spin_count=100000):'}</s>blkKey_dataI...
0
{'name': 'batch_mode@agfusion/cli.py', 'description': 'Batch mode for annotation fusions from output from a fusion-finding\nalgorithm', 'signature': 'def batch_mode(args, agfusion_db, pyensembl_data, rename, colors):'}</s>{'name': 'MapSplice@agfusion/parsers.py', 'description': 'MapSplice parser.', 'base_classes': ['_P...
0
{'name': 'LRFinder.range_test@PyTorchHelperBot/helperbot/lr_finder.py', 'description': 'Performs the learning rate range test.\n\nParameters\n----------\ntrain_loader : Iterable\n the training set data laoder.\nmin_lr_ratio : float\n min_lr_ratio * base_lr will be the starting learning rate.\ntotal_epochs : int\n...
0
{'name': 'template@src/back/kite/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 template(*args, **kwarg...
0
{'name': 'make_visit_mosaic@grizli/aws/visit_processor.py', 'description': "Make a mosaic of the exposures from a visit with a tangent point selected\nfrom the sky tile grid\n\nParameters\n----------\nassoc : str\n grizli association name\n\nbase_path : str\n Base working directory. Working directory will be\n ...
0
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'user_prop_created@src/api/python/z3/z3.py', 'description': 'DOCSTRING', 'code': 'def user_prop_created(ctx, cb, id):\n pro...
0
{'name': 'consecutive_nights@camping.py', 'description': 'Returns a list of dates from which you can start that have\nenough consecutive nights.\n\nIf there is one or more entries in this list, there is at least one\ndate range for this site that is available.', 'signature': 'def consecutive_nights(available, nights):'...
0
{'name': 'html_escape@src/back/kite/bottle.py', 'description': 'Escape HTML special characters ``&<>`` and quotes ``\'"``. ', 'signature': 'def html_escape(string):'}</s>{'name': 'redirect@src/back/kite/bottle.py', 'description': 'Aborts execution and causes a 303 or 302 redirect, depending on\nthe HTTP protocol versio...
0
{'name': 'Double_DQN_target_func@example/dqn-her.py', 'description': 'Double DQN: https://arxiv.org/abs/1509.06461', 'signature': 'def Double_DQN_target_func(model,target,next_obs,rew,done,gamma,act_shape):'}</s>goal = env.goal.copy().reshape((1, -1))
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': 'Client.set_new_food@myfitnesspal/client.py', 'description': 'Function to submit new foods / groceries to the MyFitnessPal database. Function will return True if successful.', 'signature': 'def set_new_food('}</s>logger = logging.getLogger(__name__)
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>MQCFIL_STRUC_LENGTH_FIXED = 16
0
{'name': '_test_core@ci/on_push/test_end_to_end.py', 'description': 'Core function testing all data\nArgs:\n pattern (str): Pattern of the satellite\n prod_dir (str): Product directory\n possible_bands(list): Possible bands\n debug (bool): Debug option', 'signature': 'def _test_core('}</s>TEST_USING_S3_DB =...
0
{'name': 'AutoBackup.ensure_addon_slugs@custom_components/auto_backup/manager.py', 'description': 'Expand wildcards and replace addon names with their appropriate slugs.', 'signature': 'def ensure_addon_slugs(addons: List[str], installed_addons: List[Dict]):'}</s>ATTR_EXCLUDE = "exclude"
0