text string | label int64 |
|---|---|
{'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_key_pubkey@src/M2Crypto/EVP.py', 'description': 'Load an M2Crypto.EVP.PKey from a public key as a file.\n\n:param file: Name of file containing the key in PEM format.\n\n:param callback: A Python callable object that is invoked\n to acquire a passphrase with which to protect the\n ... | 0 |
{'name': '_Underride@reference/ThinkDSP/code/.ipynb_checkpoints/thinkplot-checkpoint.py', 'description': 'Add key-value pairs to d only if key is not in d.\n\nIf d is None, create a new dictionary.\n\nd: dictionary\noptions: keyword args to add to d', 'signature': 'def _Underride(d, **options):'}</s>{'name': 'Diff@refe... | 0 |
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>PF_OP_XRG = 8 | 1 |
{'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... | 1 |
{'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_FALSE = OP_0 | 0 |
{'name': 'TestSequences.test_increment_for_numbers_2@tests/test_recipes.py', 'description': 'This test is a repeated one but it is necessary to ensure Sequences atomicity', 'signature': 'def test_increment_for_numbers_2(self):'}</s>{'name': 'foreign_key@model_mommy/recipe.py', 'description': 'Returns the callable, so t... | 0 |
{'name': 'process_assignments_and_deletions@da/compiler/incgen.py', 'description': 'Generate stub and hook for assignments and deletions.\n\nThis should be called after the query parameters have been accumulated.', 'signature': 'def process_assignments_and_deletions(state):'}</s>POSTAMBLE = parse("""
if __name__ == "__... | 0 |
{'name': 'Device.open@src/LabJackPython.py', 'description': 'Device.open(devType, Ethernet=False, firstFound = True, serial = None, localId = None, devNumber = None, ipAddress = None, handleOnly = False, LJSocket = None)\n\nOpen a device of type devType. ', 'signature': 'def open(self, devType, Ethernet=False, firstFou... | 0 |
{'name': 'TestSmartPlotter.test_generate_indicator@tests/unit_tests/core/test_smartplotter.py', 'description': "Unit test for generate_indicator()'s method", 'signature': 'def test_generate_indicator(self):'}</s>TITANIC_PATH = "eurybia/data/titanicdata.csv" | 0 |
{'name': 'IsOutOfLineMethodDefinition@tools/cpplint.py', 'description': 'Check if current line contains an out-of-line method definition.\n\nArgs:\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\nReturns:\n True if current line contains an out-of-line method d... | 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': 'drizzle_array_groups@grizli/utils.py', 'description': 'Drizzle array data with associated wcs\n\nParameters\n----------\ns... | 0 |
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>badge_207 = Badge("chee... | 0 |
{'name': 'scaled_dot_product_attention@Transformers/TensorFlow_version_2.0/EN_SP/BLEU_ricardo_en_sp_transformer_tf2.py', 'description': 'Calculate the attention weights.\nq, k, v must have matching leading dimensions.\nk, v must have matching penultimate dimension, i.e.: seq_len_k = seq_len_v.\nThe mask has different s... | 0 |
{'name': 'room2samples_plus_normalized@sem_seg/indoor3d_util.py', 'description': 'room2sample, with input filename and RGB preprocessing.\nfor each block centralize XYZ, add normalized XYZ as 678 channels', 'signature': 'def room2samples_plus_normalized(data_label, num_point):'}</s>{'name': 'room2samples@sem_seg/indoor... | 1 |
{'name': 'AuthenticationService.user_change_password@sdk/python/teaclave.py', 'description': 'Change password.\n\nArgs:\n\n user_password: New password.', 'signature': 'def user_change_password(self, user_password: str):'}</s>{'name': 'AssignDataRequest@sdk/python/teaclave.py', 'description': 'DOCSTRING', 'base_clas... | 0 |
{'name': 'generate_assignment_stub_and_hook@da/compiler/incgen.py', 'description': "Generate assignment stub and hook node for 'nameobj'.\n\nAssignment stubs notifies the incrementalizer of changes to value of\nvariables, and gives the incrementalizer a chance to perform necessary\nhousekeeping.", 'signature': 'def gen... | 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': 'type_inference@06_prepare/data-wrangler/data_wrangler_antje.py', 'description': 'Core type inference logic\n\nArgs:\n df: spark dataframe\n\nReturns: dict a schema that maps from column name to mohave datatype', 'signature': 'def type_inference(df): # noqa: C901 # pylint: disable=R0912'}</s>{'name': 'cast... | 0 |
{'name': 'FairseqTask.build_generator@fairseq/tasks/fairseq_task.py', 'description': 'Build a :class:`~fairseq.SequenceGenerator` instance for this\ntask.\n\nArgs:\n models (List[~fairseq.models.FairseqModel]): ensemble of models\n args (fairseq.dataclass.configs.GenerationConfig):\n configuration object (... | 0 |
{'name': 'Ephemeris.get_sat_info@laika/ephemeris.py', 'description': 'Returns: (pos, vel, clock_err, clock_rate_err, ephemeris)', 'signature': 'def get_sat_info(self, time: GPSTime):'}</s>{'name': 'utc_to_gpst@laika/gps_time.py', 'description': 'DOCSTRING', 'code': 'def utc_to_gpst(t_utc):\n t_gpst = t_utc + get_lea... | 0 |
{'name': 'load_list@clip_interrogator/clip_interrogator.py', 'description': 'Load a list of strings from a file.', 'signature': 'def load_list(data_path: str, filename: Optional[str] = None) -> List[str]:'}</s>{'name': 'LabelTable@clip_interrogator/clip_interrogator.py', 'description': 'DOCSTRING', 'base_classes': [], ... | 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': 'DocumentDisplay.create_child@3rdparty/mongo-c-driver-1.26.2/lldb_bson.py', 'description': 'Generate the child elements for LLDB to walk through', 'signature': 'def create_child(cls, parent: SBValue, elem: DocumentElement) -> SBValue:'}</s>{'name': 'PrimitiveDisplay@3rdparty/mongo-c-driver-1.26.2/lldb_bson.py'... | 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': 'generate_assignment_stub_and_hook@da/compiler/incgen.py', 'description': "Generate assignment stub and hook node for 'nameobj'.\n\nAssignment stubs notifies the incrementalizer of changes to value of\nvariables, and gives the incrementalizer a chance to perform necessary\nhousekeeping.", 'signature': 'def gen... | 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': 'parse_args@scripts/dump_to_lmdb.py', 'description': 'Parse input arguments', 'signature': 'def parse_args():'}</s>{'name': 'Folder@scripts/dump_to_lmdb.py', 'description': 'DOCSTRING', 'base_classes': ['data.Dataset'], 'methods': [{'name': 'Folder.__init__@scripts/dump_to_lmdb.py', 'description': 'DOCSTRING',... | 0 |
{'name': 'convert_RNN@scratch/converters/modules/converters/mx2onnx_conv/onnx/mx2onnx/_op_translations.py', 'description': "Map MXNet's RNN operator attributes to onnx's RNN operator\nand return the created node.", 'signature': 'def convert_RNN(node, **kwargs):'}</s>{'name': 'convert_reshape@scratch/converters/modules/... | 0 |
{'name': 'PythonModuleSourceFileGenerator._GenerateTypeSourceFileTypeObjectMethods@yaldevtools/source_generators/python_module.py', 'description': 'Generates the type object methods for a Python type source file.\n\nArgs:\n project_configuration (ProjectConfiguration): project configuration.\n template_mappings (dict... | 1 |
{'name': 'FaultSupervisionView.list@FaultManagement/views.py', 'description': 'Retrieve alarms\n\nRetrieve the alarms identified by alarmAckState, href and filter.', 'signature': 'def list(self, request, *args, **kwargs):'}</s>{'name': 'FaultSupervisionView@FaultManagement/views.py', 'description': 'DOCSTRING', 'base_c... | 1 |
{'name': 'ConfigObj.reload@BlDevCube/lib.bflb_configobj.pyc.py', 'description': "Reload a ConfigObj from file.\n\nThis method raises a ``ReloadError`` if the ConfigObj doesn't have\na filename attribute pointing to a file.", 'signature': 'def reload(self):'}</s>DEFAULT_INTERPOLATION = "configparser" | 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': 'test_imputer_without_test_set_random_split@test/test_imputer.py', 'description': 'Test asserting that the random split is working internally\nby calling imputer.fit only with a training set.', 'signature': 'def test_imputer_without_test_set_random_split(test_dir, data_frame):'}</s>{'name': 'NumericalFeaturize... | 0 |
{'name': 'Dimmer.update_status_information@pyShelly/dimmer.py', 'description': 'Update the status information.', 'signature': 'def update_status_information(self, status, src):'}</s>{'name': 'Device@pyShelly/device.py', 'description': 'DOCSTRING', 'base_classes': ['Base'], 'methods': [{'name': 'Device.__init__@pyShelly... | 0 |
{'name': 'Router.add@src/back/kite/bottle.py', 'description': 'Add a new rule or replace the target for an existing rule. ', 'signature': 'def add(self, rule, method, target, name=None):'}</s>{'name': 'WSGIFileWrapper@src/back/kite/bottle.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name':... | 0 |
{'name': '_extract_addrs@cpca/__init__.py', 'description': '提取出 sentence 中的所有地址', 'signature': 'def _extract_addrs(sentence, pos_sensitive, umap, truncate_pos=True, new_entry_when_not_belong=False) -> dict:'}</s>{'name': 'Matcher@cpca/matcher.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Ma... | 0 |
{'name': 'vn@msldap/ldap_objects/common.py', 'description': 'value or none, returns none if x is an empty list', 'signature': 'def vn(x):'}</s>{'name': 'MSLDAP_UAC@msldap/ldap_objects/common.py', 'description': 'DOCSTRING', 'base_classes': ['enum.IntFlag'], 'methods': []} | 0 |
{'name': 'Unit.has_equivalent@unyt/unit_object.py', 'description': "Check to see if this unit object as an equivalent unit in *equiv*.\n\nExample\n-------\n>>> from unyt import km\n>>> km.has_equivalent('spectral')\nTrue\n>>> km.has_equivalent('mass_energy')\nFalse", 'signature': 'def has_equivalent(self, equiv):'}</s>... | 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_PAGESET_FULL = 2192 | 0 |
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>simx_opmode_conti... | 0 |
{'name': 'generate_code@vulfocus-api/user/utils.py', 'description': '生成验证码函数\n:param code_length:验证码长度\n:return:code', 'signature': 'def generate_code(code_length=10):'}</s>{'name': 'jwt_response_payload_handler@vulfocus-api/user/utils.py', 'description': '自定义jwt认证成功返回对象\n:param token: token\n:param user: 用户对象\n:param ... | 0 |
{'name': 'ParserElement.addCondition@blockchain-env/lib/python3.7/site-packages/pkg_resources/_vendor/pyparsing.py', 'description': 'Add a boolean predicate function to expression\'s list of parse actions. See \nL{I{setParseAction}<setParseAction>} for function call signatures. Unlike C{setParseAction}, \nfunctions pas... | 0 |
{'name': 'LoadFirmwareImage@components/esptool_py/esptool/esptool.py', 'description': 'Load a firmware image. Can be for ESP8266 or ESP32. ESP8266 images will be examined to determine if they are\noriginal ROM firmware images (ESP8266ROMFirmwareImage) or "v2" OTA bootloader images.\n\nReturns a BaseFirmwareImage subcla... | 1 |
{'name': 'validate_config_path@kayobe/utils.py', 'description': 'Validate the Kayobe configuration path.\n\nCheck whether we are executing from inside a Kayobe configuration\nrepository, and if so, assert that matches the Kayobe configuration path\ndefined in CLI args or environment variables.\n\nExit 1 if validation f... | 1 |
{'name': 'Widget._should_send_property@python/ipywidgets/ipywidgets/widgets/widget.py', 'description': 'Check the property lock (property_lock)', 'signature': 'def _should_send_property(self, key, value):'}</s>{'name': 'LoggingHasTraits@python/ipywidgets/ipywidgets/widgets/widget.py', 'description': 'A parent class for... | 0 |
{'name': 'ApiStub.delete_file@python-sdk/pachyderm_sdk/api/pfs/extension.py', 'description': 'Copies a file within PFS\n\nParameters\n----------\ncommit : pfs.Commit\n An open commit to modify.\npath : str\n The path of the file to be deleted.\n\nExamples\n--------\n>>> from pachyderm_sdk import Client\n>>> from ... | 0 |
{'name': 'SimpleIngestManager._get_user_agent_header@snowflake/ingest/simple_ingest_manager.py', 'description': '_get_user_agent_header - method to generate the user-agent header for our http requests\n:return: A singleton mapping for user agent and sdk version', 'signature': 'def _get_user_agent_header(self) -> Dict[T... | 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': '_CallbackContext.check_data@sounddevice.py', 'description': 'Check data and output mapping.', 'signature': 'def check_data(self, data, mapping, device):'}</s>{'name': 'query_devices@sounddevice.py', 'description': 'Return information about available devices.\n\nInformation and capabilities of PortAudio device... | 1 |
{'name': 'Parser.__add__@funcparserlib/parser.py', 'description': 'Sequential combination of parsers. It runs this parser, then the other\nparser.\n\nThe return value of the resulting parser is a tuple of each parsed value in\nthe sum of parsers. We merge all parsing results of `p1 + p2 + ... + pN` into a\nsingle tuple... | 0 |
{'name': 'CheckPrintf@tools/cpplint.py', 'description': 'Check for printf related issues.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to call with any errors found.', 'signature': 'd... | 0 |
{'name': 'SciQuery.get_rdb_compute_domain@py3/SciServer/SciQuery.py', 'description': "Returns an object of class RDBComputeDomain, either defined by the input name or identifiers, or that\nwhich is set in the SciQuery instance.\n\n:param rdb_compute_domain: defines a domain or environment of multiple databases where us... | 0 |
{'name': 'plot_graph@osmnx/plot.py', 'description': "Visualize a graph.\n\nParameters\n----------\nG\n Input graph.\nax\n If not None, plot on this pre-existing axes instance.\nfigsize\n If `ax` is None, create new figure with size `(width, height)`.\nbgcolor\n Background color of the figure.\nnode_color\n ... | 0 |
{'name': 'write_recipe@bioconda_utils/bioconductor_skeleton.py', 'description': 'Write the meta.yaml and build.sh files. If the package is detected to be\na data package (bsed on the detected URL from Bioconductor), then also\ncreate a post-link.sh and pre-unlink.sh script that will download and\ninstall the package. I... | 0 |
{'name': 'indentedBlock@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining space-delimited indentation blocks, such as\nthose used to define block statements in Python source code.\n\nParameters:\n - blockStatementExpr - expression defining syntax of statement that\n ... | 0 |
{'name': 'download@Data/rda.ucar/rdams_client.py', 'description': 'Download files given request Index\n\nArgs:\n request_idx (str): Request Index, typically a 6-digit integer.\n\nReturns:\n None', 'signature': "def download(request_idx, out_dir='./'):"}</s>{'name': 'encode_url@Data/rda.ucar/rdams_client.py', 'des... | 0 |
{'name': 'Linter.lint_one@bioconda_utils/lint/__init__.py', 'description': 'Run the linter on a single recipe\n\nArgs:\n recipe_name: Mames of recipe to lint\n fix: Whether checks should attempt to fix detected issues\n\nReturns:\n List of collected messages', 'signature': 'def lint_one(self, recipe_name: str, fix: ... | 0 |
{'name': 'docs@tasks.py', 'description': 'Generate API documentation (using Sphinx).', 'signature': 'def docs('}</s>SDIST_TXT_FILES = [os.path.splitext(x)[0] + ".txt" for x in SDIST_RST_FILES] | 0 |
{'name': 'get_insns@riscvmodel/isa.py', 'description': 'Get all Instructions. This is based on all known subclasses of `cls`. If non\nis given, all Instructions are returned. Only such instructions are returned\nthat can be generated, i.e., that have a mnemonic, opcode, etc. So other\nclasses in the hierarchy are not m... | 0 |
{'name': '_config_create@dwave/cloud/cli.py', 'description': 'Full/simplified dwave create flows.', 'signature': 'def _config_create(config_file, profile, ask_full=False, auto_token=False, project=None):'}</s>{'name': 'get_distribution@dwave/cloud/utils/dist.py', 'description': 'Returns :class:`~importlib.metadata.Dist... | 0 |
{'name': 'rv_class_map@pelicun/uq.py', 'description': 'Map convenient distributions to their corresponding class.\n\nParameters\n----------\ndistribution_name: str\n The name of a distribution.\n\nReturns\n-------\ntype[RandomVariable | UtilityRandomVariable]\n The class of the corresponding random variable.\n\nR... | 0 |
{'name': 'get_connector_mapping@os_brick/initiator/connector.py', 'description': 'Get connector mapping based on platform.\n\nThis is used by Nova to get the right connector information.\n\n:param arch: The architecture being requested.', 'signature': 'def get_connector_mapping(arch=None):'}</s>{'name': 'VolumePathNotR... | 0 |
{'name': 'initialize@templates/euro_pound_parity_trade.py', 'description': 'function to define things to do at the start of the strategy', 'signature': 'def initialize(context):'}</s>{'name': 'before_trading_start@templates/euro_pound_parity_trade.py', 'description': 'set flag to true for trading. ', 'code': 'def befor... | 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': 'HyperFrameRecord.add_frames@disdat/hyperframe.py', 'description': "Add frames to the PB. If UUID, just add the UUID. If a FrameRecord,\nthen add both the UUID in the pb.frames map and the FrameRecord in the frame_cache.\n\nArgs:\n frames (:list:'FrameRecord' or :list:tuple:str,str): List of Frames to app... | 0 |
{'name': 'test_specific_default_connection@test/test_topology_platforms_shell.py', 'description': 'Test that the specified connection is used when specified.\nTest that the default connection is used when the connection is not\nspecified.', 'signature': 'def test_specific_default_connection(spawn, shell):'}</s>{'name':... | 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': 'Test.test_TS_Regions@tests/test_imagecollection.py', 'description': 'Test the Container Emulation Methods', 'signature': 'def test_TS_Regions(self):'}</s>{'name': 'getCitation@eemont/imagecollection.py', 'description': "Gets the citation of the image collection, if available.\n\nParameters\n----------\nself :... | 0 |
{'name': 'clean_end_comment@python/infra/GenerateUserTutorials.py', 'description': 'Remove the closing characters of a comment block from the stripped line.\n\n:param _stripped_line: The line to be cleaned.\n:return: The cleaned line with the comment block end removed, if present.', 'signature': 'def clean_end_comment(... | 0 |
{'name': 'on_shutdown_pi@src/server/server.py', 'description': 'Shutdown the raspberry pi.', 'signature': 'def on_shutdown_pi(*args):'}</s>{'name': 'pass_record_callback@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def pass_record_callback(node, lap_timestamp_absolute, source):\n RaceContext.race.pass... | 0 |
{'name': 'BasicGEModel.link_predict@python/dglke/models/ke_model.py', 'description': "Predicts missing entities or relations in a triplet.\n\nGiven head_id, relation_id and tail_id, return topk most relevent triplet.\n\nParameters\n----------\nhead: th.Tensor\n A tensor of head entity id.\n\nrel: th.Tensor\n A te... | 0 |
{'name': 'kallisto_bus@kb_python/count.py', 'description': 'Runs `kallisto bus`.\n\nArgs:\n fastqs: List of FASTQ file paths, or a single path to a batch file\n index_path: Path to kallisto index\n technology: Single-cell technology used\n out_dir: Path to output directory\n threads: Number of threads to... | 0 |
{'name': 'remove_junk@kivy_ios/toolchain.py', 'description': 'Remove unused build artifacts. ', 'signature': 'def remove_junk(d):'}</s>{'name': 'cache_execution@kivy_ios/toolchain.py', 'description': 'DOCSTRING', 'code': 'def cache_execution(f):\n def _cache_execution(self, *args, **kwargs):\n state = self.ct... | 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': 'AnkiDataFrame.raw@ankipandas/ankidf.py', 'description': 'Bring a :class:`AnkiDataFrame` into the ``raw`` format (i.e. the\nexact format that Anki uses in its internal representation) .\n\nArgs:\n inplace: If False, return new dataframe, else update old one\n force: If a previous conversion fails, :meth:... | 0 |
{'name': 'incl_system@beam-reception-plotter.py', 'description': 'returns a satellite coordinate system where the sat flies on the default iridium inclination', 'signature': 'def incl_system(pos_sat, north):'}</s>INC = 86.4/180*pi | 1 |
{'name': 'deprecated@da/common.py', 'description': "Declare 'func' as deprecated.\n\nThis is a decorator which can be used to mark functions as deprecated. It\nwill result in a warning being emmitted when the function is used.", 'signature': 'def deprecated(func):'}</s>{'name': 'ProcessId@da/common.py', 'description': ... | 0 |
{'name': 'get_model_by_db_table@django_multitenant/utils.py', 'description': 'Gets django model using db_table name', 'signature': 'def get_model_by_db_table(db_table):'}</s>{'name': 'unset_current_tenant@django_multitenant/utils.py', 'description': 'DOCSTRING', 'code': 'def unset_current_tenant():\n setattr(_contex... | 0 |
{'name': 'MapDiffView.get@metro_map_saver/map_saver/views.py', 'description': 'Compare two similar maps and return a diff\n ', 'signature': 'def get(self, request, **kwargs):'}</s>{'name': 'MapDataView@metro_map_saver/map_saver/views.py', 'description': 'Get: Given a hash URL, load a saved map\nPost: Save your m... | 0 |
{'name': 'ghh@layers.py', 'description': 'GHH layer\n\nLATER: Make it more efficient', 'signature': 'def ghh(inputs, num_in_sum, num_in_max, data_format="NHWC"):'}</s>{'name': 'get_W_b_fc@utils/layer.py', 'description': 'DOCSTRING', 'code': 'def get_W_b_fc(fanin, fanout):\n W = tf.get_variable(\n name="weight... | 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': '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>KEY_W = 87 | 0 |
{'name': 'WinograndeTask.load_dataset@examples/roberta/wsc/wsc_task.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('}</s>{'name': 'winogrande_jsonl_iterator@examples/roberta/wsc/wsc_utils.py', 'description': 'DOCS... | 1 |
{'name': 'ParseArguments@third_party/cpplint/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.', 'signature': 'def ParseArguments(args):'}</s>_... | 1 |
{'name': 'PerImageEvaluation._compute_is_class_correctly_detected_in_image@alphaction/dataset/datasets/evaluation/ava/pascal_evaluation/per_image_evaluation.py', 'description': 'Compute CorLoc score for a single class.\n\nArgs:\n detected_boxes: A numpy array of shape [N, 4] representing detected box\n coordinate... | 0 |
{'name': 'degradation_bsrgan@ldm/modules/image_degradation/bsrgan.py', 'description': 'This is the degradation model of BSRGAN from the paper\n"Designing a Practical Degradation Model for Deep Blind Image Super-Resolution"\n----------\nimg: HXWXC, [0, 1], its size should be large than (lq_patchsizexsf)x(lq_patchsizexsf... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQPMO_FAIL_IF_QUIESCING = 8192 | 0 |
{'name': 'TransformerTemplate.__repr__@src/opinf/pre/_base.py', 'description': 'Unique ID + string representation.', 'signature': 'def __repr__(self) -> str:'}</s>{'name': 'TransformerTemplate@src/opinf/pre/_base.py', 'description': 'Template class for transformers.\n\nClasses that inherit from this template must imple... | 1 |
{'name': 'Visualizer.display_current_results@utils/visualizer.py', 'description': 'Display current results on visdom; save current results to an HTML file.\n\nParameters:\n visuals (OrderedDict) - - dictionary of images to display or save\n epoch (int) - - the current epoch\n save_result (bool) - - if save the... | 0 |
{'name': '_build_ssd_model@object_detection/builders/model_builder.py', 'description': 'Builds an SSD detection model based on the model config.\n\nArgs:\n ssd_config: A ssd.proto object containing the config for the desired\n SSDMetaArch.\n is_training: True if this model is being built for training purposes.\n ... | 0 |
{'name': 'MQTTBaseProtocol.setWindowSize@src/mqtt/client/base.py', 'description': 'API Entry Point', 'signature': 'def setWindowSize(self, n):'}</s>{'name': 'MissingTopicError@src/mqtt/error.py', 'description': 'Missing topic', 'base_classes': ['ValueError'], 'methods': [{'name': 'MissingTopicError.__str__@src/mqtt/err... | 0 |
{'name': 'SimModelTestCase.test_sbert_sim_stsb_batch@tests/test_model_spearman.py', 'description': '测试sbert_sim_each_batch', 'signature': 'def test_sbert_sim_stsb_batch(self):'}</s>{'name': 'load_jsonl@text2vec/utils/io_util.py', 'description': 'Load jsonl file.\nArgs:\n json_path (str): jsonl file path.\nReturns:\n... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_DISPOSITION_CONFLICT = 3211 | 0 |
{'name': 'Module._AddMaktabaFlagHelp@vimdoc/module.py', 'description': 'If any maktaba flags were documented, add a default configuration section\nto explain how to use them.', 'signature': 'def _AddMaktabaFlagHelp(self):'}</s>{'name': 'UnrecognizedInlineDirective@vimdoc/error.py', 'description': 'DOCSTRING', 'base_cla... | 0 |
{'name': 'connect@pyngrok/ngrok.py', 'description': 'Establish a new ``ngrok`` tunnel for the given protocol to the given port, returning an object representing\nthe connected tunnel.\n\nIf a `tunnel definition in ngrok\'s config file\n<https://ngrok.com/docs/agent/config/v2/#tunnel-configurations>`_ matches the given\... | 0 |
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>log2 = _MaskedUnaryOperation(umath.log2, 1.0,
_DomainGreater(0.0)) | 0 |
{'name': 'convert_RNN@scratch/converters/modules/converters/mx2onnx_conv/onnx/mx2onnx/_op_translations.py', 'description': "Map MXNet's RNN operator attributes to onnx's RNN operator\nand return the created node.", 'signature': 'def convert_RNN(node, **kwargs):'}</s>{'name': 'convert_exp@scratch/converters/modules/conv... | 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': 'handle_scene_activated@custom_components/zwave_mqtt/__init__.py', 'description': 'Handle a (central) scene activation message.', 'signature': 'def handle_scene_activated(hass: HomeAssistant, scene_value: OZWValue):'}</s>{'name': 'create_value_id@custom_components/zwave_mqtt/entity.py', 'description': 'Generat... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.