text string | label int64 |
|---|---|
{'name': '_import_xml@contrib/xml/xmlio.py', 'description': 'Returns the Tulip data structure contained in a parsed XML file.', 'signature': 'def _import_xml('}</s>{'name': '_export_fts@contrib/xml/xmlio.py', 'description': 'DOCSTRING', 'code': "def _export_fts(fts, parent, tag, type_str=T_OFTS):\n if tag is None:\n... | 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': 'copy_ctypes@capstone/bindings/python/capstone/__init__.py', 'description': 'Returns a new ctypes object which is a bitwise copy of an existing one', 'signature': 'def copy_ctypes(src):'}</s>{'name': 'X86OpValue@capstone/bindings/python/capstone/x86.py', 'description': 'DOCSTRING', 'base_classes': ['ctypes.Uni... | 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': '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': 'array_to_xyz_pointcloud2f@pypcd/numpy_pc2.py', 'description': 'convert an Nx3 float array to an xyz point cloud.\nbeware of numerical issues when casting from other types to float32.', 'signature': 'def array_to_xyz_pointcloud2f(cloud_arr, stamp=None, frame_id=None, merge_rgb=False):'}</s>nptype_to_pftype = d... | 0 |
{'name': '_decode_dict@fips-files/generators/sjson/__init__.py', 'description': 'delimited -- if ``True``, parsing will stop once the end-of-dictionary\n delimiter has been reached(``}``)', 'signature': 'def _decode_dict(stream, delimited=False):'}</s>{'name': 'dump@fips-files/generators/sjson/__init__.py',... | 0 |
{'name': 'NodeList.tell_update@shingetsu/node.py', 'description': 'Tell update other nodes.\n\nIf node is None, node is myself.', 'signature': 'def tell_update(self, cache, stamp="", id="", node=None):'}</s>nodes = 5 | 0 |
{'name': 'BitfieldsTestCase.test_and_python_api@tools/lldb/packages/Python/lldbsuite/test/lang/c/bitfields/TestBitfields.py', 'description': 'Use Python APIs to inspect a bitfields variable.', 'signature': 'def test_and_python_api(self):'}</s>{'name': 'no_match@tools/lldb/packages/Python/lldbsuite/test/decorators.py', ... | 0 |
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>compute_normals = dvz.dvz_compute_no... | 0 |
{'name': 'add_message@_dbms_/__init__.py', 'description': "Persist a message from GMail if doesn't already exists locally.\n\nArgs:\n db: Local db connection object.\n message: GMail message JSON object as read by get api.", 'signature': 'def add_message(db, message):'}</s>{'name': 'sql_connection@_dbms_/__init__... | 0 |
{'name': 'term_to_binary@src/api/python/erlang.py', 'description': 'Encode Python types into Erlang terms in binary data', 'signature': 'def term_to_binary(term, compressed=False):'}</s>{'name': 'OtpErlangList@src/api/python/erlang.py', 'description': 'OtpErlangList', 'base_classes': ['object'], 'methods': [{'name': 'O... | 0 |
{'name': 'SensorHandler.process_group_event@custom_components/alarmo/sensors.py', 'description': 'check if sensor entity is member of a group and compare with previous events to evaluate trigger', 'signature': 'def process_group_event(self, entity: str, state: str) -> dict:'}</s>ATTR_NOTIFICATION = "notification" | 0 |
{'name': 'AioHttpFigmaPy.__init__@figmapy/session/figma_aiohttp.py', 'description': 'client (optional): An asynchronous web session/client. Defaults to aiohttp.ClientSession().\n Can be custom Python object that exposes methods for all HTTP verbs.', 'signature': 'def __init__(self, client=None, *args, **kwargs):... | 0 |
{'name': 'freeport@test/io/postgrest.py', 'description': 'Find a free port on localhost.', 'signature': 'def freeport(used_port=None):'}</s>{'name': 'hpctixfile@test/io/config.py', 'description': 'Returns an individual filename for each test, if the HPCTIXFILE environment variable is set.', 'code': 'def hpctixfile():\n... | 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>MQXCC_OK = 0 | 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>MQBMHO_DELETE_PROPERTIES = 1 | 0 |
{'name': 'SignatureHash@qa/rpc-tests/test_framework/script.py', 'description': 'Consensus-correct SignatureHash\n\nReturns (hash, err) to precisely match the consensus-critical behavior of\nthe SIGHASH_SINGLE bug. (inIdx is *not* checked for validity)', 'signature': 'def SignatureHash(script, txTo, inIdx, hashtype):'}<... | 0 |
{'name': 'ButtonInput._find_actions@amulet_map_editor/api/wx/util/button_input.py', 'description': 'A method to find all actions triggered by `key` with the modifier keys also pressed.', 'signature': 'def _find_actions(self, key: KeyType) -> Tuple[ActionIDType, ...]:'}</s>EVT_INPUT_PRESS = wx.PyEventBinder(_InputPressE... | 0 |
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme... | 0 |
{'name': 'uniq_user_id@app/util/analytics/analytics_utils.py', 'description': 'Create a user ID for the run, encoded with a secure hash.\n\n:param: server_url: URL to the product instance on which tests were running.\n:return: user ID.', 'signature': 'def uniq_user_id(server_url: str):'}</s>APP_SPECIFIC_TAG = "APP-SPEC... | 0 |
{'name': 'SourceEditor.sizeHint@astviewer/editor.py', 'description': 'The recommended size for the widget.\n ', 'signature': 'def sizeHint(self):'}</s>logger = logging.getLogger(__name__) | 0 |
{'name': 'test_repr@voluptuous/tests/tests.py', 'description': 'Verify that __repr__ returns valid Python expressions', 'signature': 'def test_repr():'}</s>{'name': 'test_number_validation_with_valid_precision_scale_yield_decimal_true@voluptuous/tests/tests.py', 'description': 'Test with Number with valid precision and... | 0 |
{'name': 'MikrotikTrackerCoordinator.__init__@custom_components/mikrotik_router/coordinator.py', 'description': 'Initialize MikrotikTrackerCoordinator.', 'signature': 'def __init__('}</s>CONF_SCAN_INTERVAL = "scan_interval" | 0 |
{'name': 'get_network_fn@nets/nets_factory.py', 'description': 'Returns a network_fn such as `logits, end_points = network_fn(images)`.\n\nArgs:\n name: The name of the network.\n num_classes: The number of classes to use for classification.\n weight_decay: The l2 coefficient for the model weights.\n is_training: `... | 0 |
{'name': 'TaxationTests.test_cart_unchanged@tests/test_shop.py', 'description': 'CartManager.from_request() saves a DB call by assuming Cart has only\ntwo fields, ``id`` and ``last_updated``. If this test fails, Cart has\nchanged, so we need to review that code and make sure it still works.\n\nSee the comment before th... | 0 |
{'name': 'terraform_backend_s3@pretf.aws/pretf/aws.py', 'description': 'This ensures that the S3 backend exists, prompting to create it if\nnecessary, sets the credentials as environment variables in some\ncases, and returns a Terraform configuration block for it.', 'signature': 'def terraform_backend_s3(bucket: str, d... | 1 |
{'name': 'JSONEncoder.encode@simplejson/encoder.py', 'description': 'Return a JSON string representation of a Python data structure.\n\n>>> from simplejson import JSONEncoder\n>>> JSONEncoder().encode({"foo": ["bar", "baz"]})\n\'{"foo": ["bar", "baz"]}\'', 'signature': 'def encode(self, o):'}</s>{'name': 'JSONEncoderFo... | 0 |
{'name': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra... | 1 |
{'name': 'validate_config@buildtest/cli/config.py', 'description': "This method implements ``buildtest config validate`` which attempts to\nvalidate buildtest schema file `settings.schema.json <https://github.com/buildtesters/buildtest/blob/devel/buildtest/schemas/settings.schema.json>`_.\nIf it's not validate an excep... | 0 |
{'name': 'cov@manage.py', 'description': 'Runs the unit tests with coverage.', 'signature': 'def cov():'}</s>{'name': 'create_db@manage.py', 'description': 'Creates the db tables.', 'code': 'def create_db():\n """Creates the db tables."""\n db.create_all()'} | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCMDL_LEVEL_915 = 915 | 0 |
{'name': 'graph_edges_intersecting_polygon@GOSTNets/GOSTNets/GOSTnet.py', 'description': "#### Function for identifying edges of a graph that intersect polygon(s) ###\n REQUIRED: G - a Graph object\n polygons - a GeoDataFrame containing one or more polygons\n mode - a string, either 'contains' or 'i... | 0 |
{'name': 's3_get@pytorch_pretrained_bert/file_utils.py', 'description': 'Pull a file directly from S3.', 'signature': 'def s3_get(url: str, temp_file: IO) -> None:'}</s>{'name': 'read_set_from_file@pytorch_pretrained_bert/file_utils.py', 'description': 'Extract a de-duped collection (set) of text from a file.\nExpected... | 0 |
{'name': '_IsType@tools/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 stack of nested blocks bei... | 0 |
{'name': 'ParseArguments@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'sign... | 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': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>{'name': 'on_set_consecutives_count@src/server/server.py', 'description': 'DOCSTRING', 'code': "def on_set_consecutives_count(data):\n RaceContext.rhdata.set_option('consecu... | 0 |
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>{'name': 'IUZone@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Irrigation Unlimited Zone clas... | 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': 'parse_commands@src/oca_github_bot/commands.py', 'description': 'Parse a text and return an iterator of BotCommand objects.', 'signature': 'def parse_commands(text):'}</s>{'name': 'RequiredOptionError@src/oca_github_bot/commands.py', 'description': 'DOCSTRING', 'base_classes': ['OptionsError'], 'methods': [{'n... | 0 |
{'name': 'make_combined_mosaics@grizli/pipeline/auto_script.py', 'description': 'Drizzle combined mosaics\n\nmosaic_driz_cr_type : int\n (mosaic_driz_cr_type & 1) : flag CRs on all IR combined\n (mosaic_driz_cr_type & 2) : flag CRs on IR filter combinations\n (mosaic_driz_cr_type & 4) : flag CRs on all OPT com... | 0 |
{'name': 'YoutubeDL._load_cookies@script.module.youtube.dl/lib/youtube_dl/YoutubeDL.py', 'description': 'Loads cookies from a `Cookie` header\n\nThis tries to work around the security vulnerability of passing cookies to every domain.\n\n@param data The Cookie header as a string to load the cookies from\n@param ... | 0 |
{'name': 'TableOne.initialize_core_attributes@tableone/tableone.py', 'description': 'Initialize attributes.', 'signature': 'def initialize_core_attributes(self, data, columns, categorical, continuous, groupby,'}</s>{'name': 'mask_duplicate_values@tableone/formatting.py', 'description': 'Masks duplicate values, ensuring... | 0 |
{'name': 'PresubmitCheck.__init__@config/presubmits.py', 'description': 'Define a presubmit check for a particular set of files,\n\nThe provided prefix should always or never be included in the files.\n\nArgs:\n regex: the regular expression to forbid or require\n included_extensions: a tuple of extensions that d... | 1 |
{'name': 'Arcball.drag@utils/transformations.py', 'description': 'Update current cursor window coordinates.', 'signature': 'def drag(self, point):'}</s>{'name': '_import_module@utils/transformations.py', 'description': 'Try import all public attributes from module into global namespace.\n\nExisting attributes with name... | 0 |
{'name': 'add_input_output_information_deeppoly@tf_verify/deeppoly_nodes.py', 'description': 'sets for an object the three fields:\n - self.output_length\n - self.input_names\n - self.output_name\nwhich will mainly be used by the Optimizer, but can also be used by the Nodes itself\n\nArguments\n---------\nself... | 0 |
{'name': 'APIConnection.__init__@qingcloud/iaas/connection.py', 'description': '@param qy_access_key_id - the access key id\n@param qy_secret_access_key - the secret access key\n@param zone - the zone id to access\n@param host - the host to make the connection to\n@param port - the port to use when connect to host\n@pa... | 0 |
{'name': 'create_dummy_no_shim_settings_bids_session@heudiconv/tests/test_bids.py', 'description': 'Creates a dummy BIDS session, with slim json files and empty nii.gz\nThe fmap files are pepolar\nThe json files don\'t have ShimSettings\n\nParameters\n----------\nsession_path : str\n path to the session (or subject)... | 0 |
{'name': 'streaming_classify@pairtools/lib/parse.py', 'description': 'Parse input sam file into individual reads, pairs, walks,\nthen write to the outstream(s).\n\nAdditional kwargs:\n min_mapq,\n drop_readid,\n drop_seq,\n drop_sam,\n add_pair_index,\n add_columns, # comma-separated list\n report_... | 0 |
{'name': 'FPVal@src/api/python/z3/z3.py', 'description': 'Return a floating-point value of value `val` and sort `fps`.\nIf `ctx=None`, then the global context is used.\n\n>>> v = FPVal(20.0, FPSort(8, 24))\n>>> v\n1.25*(2**4)\n>>> print("0x%.8x" % v.exponent_as_long(False))\n0x00000004\n>>> v = FPVal(2.25, FPSort(8, 24... | 0 |
{'name': 'load_hconfig_v2_options@hier_config/utils.py', 'description': 'Load Hier Config v2 options to v3 driver format from either a dictionary or a file.\n\nArgs:\n v2_options (Union[dict, str]): Either a dictionary containing v2 options or\n a file path to a YAML file containing the v2 options.\n platf... | 1 |
{'name': 'View.scale_contrast@picasso/gui/render.py', 'description': 'Scales image based on contrast values from Display Settings\nDialog.\n\nParameters\n----------\nimage : np.array or list of np.arrays\n Array with rendered locs (grayscale)\nautoscale : boolean (default=False)\n If True, finds optimal contrast\... | 0 |
{'name': 'get_random_vector@articles/inversion.py', 'description': "Return a random vector with a maximum length of 'max_step'.", 'signature': 'def get_random_vector(max_step):'}</s>{'name': 'CircleToCircleInversionProof@articles/inversion.py', 'description': 'DOCSTRING', 'base_classes': ['Scene'], 'methods': [{'name':... | 0 |
{'name': 'update_startup_screen@displays/waveshare2in13v3.py', 'description': 'Show startup screen on eInk Display\n ', 'signature': 'def update_startup_screen():'}</s>nocoin_screen_1 = "Nessuna moneta!" | 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': 'FusionEmbedLayerNoMask.check_embedding@onnxruntime/python/tools/transformers/fusion_embedlayer.py', 'description': 'Sanity check of embedding weights, and match hidden_size of weights and shape of inputs.', 'signature': 'def check_embedding(self, word_embedding_gather, segment_embedding_gather, position_embed... | 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': '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': 'DtcMonitor@infoblox_client/objects.py', 'description': 'DtcMonitor: DTC monit... | 0 |
{'name': '_BuildBootableImage@tools/releasetools/common.py', 'description': "Build a bootable image from the specified sourcedir.\n\nTake a kernel, cmdline, and optionally a ramdisk directory from the input (in\n'sourcedir'), and turn them into a boot image. 'two_step_image' indicates if\nwe are building a two-step spe... | 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': 'SyntaxErrorTests.test_nonlocal3@didyoumean/didyoumean_sugg_tests.py', 'description': 'nonlocal must be used only when binding to non-global exists.', 'signature': 'def test_nonlocal3(self):'}</s>EXC_ATTR_REMOVED_MSG = "to use "sys.exc_info()" returning a tuple of the form (type, value, traceback) ("exc_type",... | 0 |
{'name': 'BaseAddon.set_lite_plugin_settings@py/jupyterlite-core/jupyterlite_core/addons/base.py', 'description': 'Overwrite the plugin settings for a single plugin in a config path.', 'signature': 'def set_lite_plugin_settings('}</s>{'name': 'BaseAddon@py/jupyterlite-core/jupyterlite_core/addons/base.py', 'description... | 1 |
{'name': 'DarknetConv2D@yolo3/model.py', 'description': 'Wrapper to set Darknet parameters for Convolution2D.', 'signature': 'def DarknetConv2D(*args, **kwargs):'}</s>{'name': 'yolo_eval@yolo3/model.py', 'description': 'Evaluate YOLO model on given input and return filtered boxes.', 'code': 'def yolo_eval(yolo_outputs,... | 0 |
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>SERVER_EXPLANATION = [4036] | 0 |
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty ... | 0 |
{'name': 'engine.classical@src/bids/external/inflect.py', 'description': 'turn classical mode on and off for various categories\n\nturn on all classical modes:\nclassical()\nclassical(all=True)\n\nturn on or off specific claassical modes:\ne.g.\nclassical(herd=True)\nclassical(names=False)\n\nBy default all classical m... | 0 |
{'name': 'CSSParser.parse_selectors@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse selectors.', 'signature': 'def parse_selectors(self, iselector, index=0, flags=0):'}</s>QUIRKS_ATTR = r'''
(?:{ws}*(?P<cmp>[!~^|*$]?=){ws}*(?P<value>{value})(?:{ws}+(?P<case>[is]))?)?{ws}... | 0 |
{'name': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra... | 0 |
{'name': 'identify_associations@src/move/tasks/identify_associations.py', 'description': 'Leads to the execution of the appropriate association\nidentification tasks. The function is organized in three\nblocks:\n 1) Prepare the data and create the dataloaders with their masks.\n 2) Evaluate associations using bay... | 1 |
{'name': 'AppiumServer.win_is_runnnig@Base/BaseAppiumServer.py', 'description': 'Determine whether server is running\n:return:True or False', 'signature': 'def win_is_runnnig(self, url):'}</s>{'name': 'RunServer@Base/BaseAppiumServer.py', 'description': 'DOCSTRING', 'base_classes': ['threading.Thread'], 'methods': [{'n... | 0 |
{'name': 'make_package_deprecated@tests/conftest.py', 'description': 'A callable fixture that creates a mock python package\nin tmp_path and returns the package directory', 'signature': 'def make_package_deprecated(tmp_path, pyproject_toml):'}</s>{'name': 'source_dir@tests/conftest.py', 'description': 'DOCSTRING', 'cod... | 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>{'name': 'FindAndDelete@test/functional/test_framework/script.py', 'description': 'Consensus critic... | 0 |
{'name': 'SelfActuatedPiano.__init__@robopianist/suite/tasks/self_actuated_piano.py', 'description': 'Task constructor.\n\nArgs:\n midi: A `MidiFile` object.\n n_steps_lookahead: Number of timesteps to look ahead when computing the\n goal state.\n trim_silence: If True, shifts the MIDI file so that the ... | 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': 'fpNeg@src/api/python/z3/z3.py', 'description': "Create a Z3 floating-point addition expression.\n\n>>> s = FPSor... | 0 |
{'name': 'ProcessFileData@scripts/cpplint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strings, each representing a ... | 0 |
{'name': 'main@data/src/data/get_zipcodes.py', 'description': 'Downloads zipcodes from lacounty.gov, and runs data processing\nscripts to turn raw data into cleaned data ready\nto be analyzed. Also updates environmental\nvariable RAW_DATA_FILEPATH.', 'signature': 'def main(input_filedir: str, output_filedir: str):'}</s... | 1 |
{'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': 'split_scopes@info_popup.py', 'description': 'Splits "foo, bar, baz" into ["foo", "bar", "baz"]', 'signature': 'def split_scopes(scopes):'}</s>{'name': 'Location@symbols.py', 'description': 'Location in file at line', 'base_classes': ['object'], 'methods': [{'name': 'Location.__init__@symbols.py', 'description... | 0 |
{'name': 'gis_prepro_tasks@oggm/workflow.py', 'description': 'Run all flowline preprocessing tasks on a list of glaciers.\n\nParameters\n----------\ngdirs : list of :py:class:`oggm.GlacierDirectory` objects\n the glacier directories to process', 'signature': 'def gis_prepro_tasks(gdirs):'}</s>{'name': 'KarthausModel... | 0 |
{'name': 'process_query@da/compiler/incgen.py', 'description': "Generates stub and hook for 'query'.", 'signature': 'def process_query(query, state):'}</s>{'name': 'pyFalse@da/compiler/pygen.py', 'description': 'DOCSTRING', 'code': 'def pyFalse():\n if sys.version_info < (3, 8):\n return NameConstant(False)\n... | 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>{'name': 'gef_on_stop_unhook@gef.py', 'description': 'DOCSTRING... | 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_FORMAT = ErrorDefinition(0x21, None) | 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': 'set_jwst_to_hst_keywords@grizli/jwst_utils.py', 'description': 'Make primary header look like an HST instrument\n\nParameters\n----------\ninput : str, `~astropy.io.fits.HDUList`\n Filename or FITS HDUList object to modify.\n\nreset : bool\n Reset original JWST keywords to their original values.\n\nverb... | 0 |
{'name': 'athena_source@05_explore/data-wrangler/99_GENERATED_Python_Code.py', 'description': 'Represents a source that handles Athena.\n\nNote: Input dataset_definition is a Mohave specific dataset definition and is different from Processing Job\ndataset definition.', 'signature': 'def athena_source(spark, mode, datas... | 0 |
{'name': 'Sheet.sort@tksheet/sheet.py', 'description': "Sort the data within specified box regions in the table.\n\nThis method sorts the data within one or multiple box regions defined by their coordinates.\nEach box's columns are sorted independently.\n\nArgs:\n boxes (CreateSpanTypes): A type that can create a Sp... | 0 |
{'name': '_BinaryLogisticHeadWithSigmoidCrossEntropyLoss._create_tpu_estimator_spec@07_train/privacy/tensorflow_privacy/privacy/estimators/v1/head.py', 'description': "Returns an `EstimatorSpec`.\n\nArgs:\n features: Input `dict` of `Tensor` or `SparseTensor` objects.\n mode: Estimator's `ModeKeys`.\n logits: logits... | 1 |
{'name': 'FrameUtilsTestCase.test_frame_utils@tools/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py', 'description': 'Test utility functions for the frame object.', 'signature': 'def test_frame_utils(self):'}</s>{'name': 'TestBase@tools/lldb/packages/Python/lldbsuite/test/lldbtest.py', '... | 0 |
{'name': 'parse_args@src/python_scripts/afnipy/lib_cdiflist.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args(full_argv):'}</s>{'name': 'make_spec_var@src/python_scripts/afnipy/afni_util.py', 'description': "ret... | 0 |
{'name': '_validate@src/feedvalidator/__init__.py', 'description': 'validate RSS from string, returns validator object', 'signature': 'def _validate(aString, firstOccurrenceOnly, loggedEvents, base, encoding, selfURIs=None, mediaType=None):'}</s>{'name': 'InvalidUpdatePeriod@src/feedvalidator/logging.py', 'description'... | 0 |
{'name': 'main@run.py', 'description': 'Main function ', 'signature': 'def main():'}</s>{'name': 'lib_login@module/exercise_file.py', 'description': 'DOCSTRING', 'code': 'def lib_login(url, course_folder, driver):\n driver.get("https://www.lynda.com/portal/patron?org=" + read.organization_url) # launch lynda.com/si... | 0 |
{'name': 'main@psearch/prepare_dataset.py', 'description': 'launches the entire cycle of data preprocessing: generation of stereoisomers, conformers and a database\n:param in_fname: input .smi file containing information about SMILES, compounds id and its activity status\n:param split_dataset: if True will splited inpu... | 0 |
{'name': 'conv_building_block@python/resnet/resnet32_model.py', 'description': 'A block that has a conv layer at shortcut.\n\nArguments:\n input_tensor: input tensor\n kernel_size: default 3, the kernel size of\n middle conv layer at main path\n filters: list of integers, the filters of 3 conv layer... | 1 |
{'name': 'IUController.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the controller', 'signature': 'def load(self, config: OrderedDict) -> "IUController":'}</s>{'name': 'IUVolume@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': ... | 0 |
{'name': 'face_extraction@Contents/scripts/siweighteditor/modeling.py', 'description': 'メッシュを選択したフェイスで切り分ける\ndeleteOrg\u3000切り分け元のフェイスを削除するかどうかを指定デフォルトTrue\nfaces →\u3000外部ツールからフェイスのリストを渡して実行したい場合の引数', 'signature': 'def face_extraction(faces=None, deleteOrg=True, selectDuplicated=True, transferWeight=True):'}</s>{'name... | 0 |
{'name': 'athena_source@05_explore/data-wrangler/99_GENERATED_Python_Code.py', 'description': 'Represents a source that handles Athena.\n\nNote: Input dataset_definition is a Mohave specific dataset definition and is different from Processing Job\ndataset definition.', 'signature': 'def athena_source(spark, mode, datas... | 0 |
{'name': '_LRSchedule.get_lr@purifier/optimization.py', 'description': ":param step: which of t_total steps we're on\n:param nowarn: set to True to suppress warning regarding training beyond specified 't_total' steps\n:return: learning rate multiplier for current update", 'signature': 'def get_lr(self, step,... | 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_CF_STRUC_NAME = 3187 | 0 |
{'name': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.