text string | label int64 |
|---|---|
{'name': 'HTML.retrieve_pdf@paper2remarkable/providers/html.py', 'description': 'Turn the HTML article in a clean pdf file\n\nThis function takes the following steps:\n\n1. Pull the HTML page using requests, if not done in Informer\n2. Extract the article part of the page using readability/readabiliPy\n3. Convert the a... | 0 |
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ... | 0 |
{'name': 'ThreadedServer.stop@test/client/dev_server.py', 'description': 'Stop new connections\nThis will not release existing connections\nStop should not release the server socket, but the socket binding is done in __init__, not in start', 'signature': 'def stop(self):'}</s>{'name': 'MessageServer@test/client/dev_ser... | 0 |
{'name': 'retry_on_exception@src/oca_github_bot/utils.py', 'description': 'Retry a function call if it raises an exception matching a regex.', 'signature': 'def retry_on_exception('}</s>GITHUB_TOKEN = os.environ.get("GITHUB_TOKEN") | 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': '_getRadix@source/gennumber.py', 'description': 'Return the radix character (. or ,) used in format.\n\nInfers from use of slashed separators and non-slashed radix.\nAssumes radix is "." if ambiguous.\nArguments:\n strFormat -- the string format to evaluate', 'signature': 'def _getRadix(strFormat):'}</s>{'n... | 0 |
{'name': 'generate_config@deprecated/gcp/R80.30/single-byol-R80.30/check-point-vsec--byol.py', 'description': 'Creates the gateway.', 'signature': 'def generate_config(context):'}</s>{'name': 'gen_fw_rule_name_deployment_network_prefix@deprecated/gcp/R80.30/single-byol-R80.30/check-point-vsec--byol.py', 'description': ... | 1 |
{'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': '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': 'get_tenant_column@django_multitenant/utils.py', 'description': 'Get the tenant field from the model object or class', 'code': 'def get_t... | 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': 'tlp_ptm_layout@litepcie/tlp/common.py', 'description': 'Generate a PTM TLP endpoint description.\n\nParameters:\n data_width (int): Width of the data (in bits).\n\nReturns:\n EndpointDescription: PTM TLP endpoint description.', 'signature': 'def tlp_ptm_layout(data_width):'}</s>{'name': 'tlp_common_layo... | 0 |
{'name': 'extract_from_coords@grizli/aws/sky_wfss.py', 'description': ' ', 'signature': "def extract_from_coords(ra=189.0706488, dec=62.2089502, grisms=['F356W-GRISMR','F410M-GRISMR','F444W-GRISMR'], size=48, grp=None, clean=False, get_cutout=True, cutout_filter='F444W-CLEAR', prefix='gdn-grism', verbose=True, mb_kw... | 0 |
{'name': 'fill_stock_table@src/tehran_stocks/download/names.py', 'description': 'Download Stock Table,\n1- gets groups\n2- gets stock in groups\n3- download stock detail\n4- save them to database\n5- guides you to use the package', 'signature': 'def fill_stock_table():'}</s>BASE_URL = "http://old.tsetmc.com" | 0 |
{'name': 'LoginAuthView.form_valid@uniauth_saml2_idp/views.py', 'description': 'Security check complete. Log the user in.', 'signature': 'def form_valid(self, form):'}</s>logger = logging.getLogger(__name__) | 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': 'check_and_process_entry@code/utils/osg.py', 'description': ':param entry:\n:return:', 'signature': 'def check_and_process_entry(entry):'}</s>{'name': 'read_screenshots_overview@code/utils/osg.py', 'description': ':return:', 'code': 'def read_screenshots_overview():\n """\n\n :return:\n """\n # rea... | 0 |
{'name': 'test_aspls_overflow@tests/test_weighting.py', 'description': 'Ensures exponential overflow does not occur from aspls weighting.', 'signature': 'def test_aspls_overflow(one_d, asymmetric_coef):'}</s>{'name': '_interp_inplace@pybaselines/utils.py', 'description': 'Interpolates values inplace between the two end... | 0 |
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>RESPONSE_CACHED_EXPIRE_TIME = 3600 | 0 |
{'name': 'TestWithCollection.test_card_isEmpty__with_2_fields__succeeds@tests/test_genanki.py', 'description': 'Tests for a bug in an early version of genanki where notes with <4 fields were not supported.', 'signature': 'def test_card_isEmpty__with_2_fields__succeeds(self):'}</s>{'name': 'TestWithCollection@tests/test... | 1 |
{'name': '_check_em_conversion@unyt/unit_object.py', 'description': "Check to see if the units contain E&M units\n\nThis function supports unyt's ability to convert data to and from E&M\nelectromagnetic units. However, this support is limited and only very\nsimple unit expressions can be readily converted. This functio... | 0 |
{'name': '_SignBootableImage@tools/releasetools/common.py', 'description': "Performs AVB signing for a prebuilt boot.img.\n\nArgs:\n image_path: The full path of the image, e.g., /path/to/boot.img.\n prebuilt_name: The prebuilt image name, e.g., boot.img, boot-5.4-gz.img,\n boot-5.10.img, recovery.img or init_bo... | 0 |
{'name': 'transform@support/docopt.py', 'description': 'Expand pattern into an (almost) equivalent one, but with single Either.\n\nExample: ((-a | -b) (-c | -d)) => (-a -c | -a -d | -b -c | -b -d)\nQuirks: [-a] => (-a), (-a...) => (-a -a)', 'signature': 'def transform(pattern):'}</s>{'name': 'DocoptLanguageError@suppor... | 0 |
{'name': 'Block.AddLine@vimdoc/block.py', 'description': 'Adds a line of text to the block. Paragraph type is auto-determined.', 'signature': 'def AddLine(self, line):'}</s>usage_arg = re.compile(r"""
# Curly braces with an optional identifier within.
{(?:[a-zA-Z_][a-zA-Z0-9_]*(?:\.\.\.)?)?}
|
# Square br... | 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': 'watch_dev@jupyterlab/commands.py', 'description': 'Run watch mode in a given directory.\n\nParameters\n----------\nlogger: :class:`~logger.Logger`, optional\n The logger instance.\n\nReturns\n-------\nA list of `WatchHelper` objects.', 'signature': 'def watch_dev(logger=None):'}</s>YARN_DEFAULT_REGISTRY = ... | 0 |
{'name': 'TestStrictWrapper.test_strict_wrapper@responses/tests/test_responses.py', 'description': 'Test that assert_all_requests_are_fired could be applied to the decorator.', 'signature': 'def test_strict_wrapper(self):'}</s>{'name': 'test_replace_response_object_error@responses/tests/test_responses.py', 'description... | 0 |
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Should only allow up to 520 byte pushes in witness stack ', 'signature': 'def test_max_witness_push_length(self):'}</s>{'name': 'GetP2PKHScript@test/functional/p2p_segwit.py', 'description': 'DOCSTRING', 'code': 'def GetP2... | 0 |
{'name': 'MainFrame.update_textlist_from_xmat@src/python_scripts/afnipy/gui_xmat.py', 'description': 'given the X matrix and columns, fill screen data list', 'signature': 'def update_textlist_from_xmat(self):'}</s>{'name': 'XmatGUI@src/python_scripts/afnipy/gui_xmat.py', 'description': 'DOCSTRING', 'base_classes': ['wx... | 0 |
{'name': 'qapp@src/pytestqt/plugin.py', 'description': "Fixture that instantiates the QApplication instance that will be used by\nthe tests.\n\nYou can use the ``qapp`` fixture in tests which require a ``QApplication``\nto run, but where you don't need full ``qtbot`` functionality.", 'signature': 'def qapp(qapp_args, q... | 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': 'send_datapoints_to_stackdriver@alertlib/stackdriver.py', 'description': 'A low-level function used by send_to_stackdriver.', 'signature': 'def send_datapoints_to_stackdriver(timeseries_data,'}</s>stackdriver_not_allowed = None | 1 |
{'name': 'MPU9150.get_mag_irq@mpu9150.py', 'description': 'Uncorrected values because floating point uses heap', 'signature': 'def get_mag_irq(self):'}</s>{'name': 'default_mag_wait@mpu9150.py', 'description': 'delay of 1ms', 'code': "def default_mag_wait():\n '''\n delay of 1ms\n '''\n sleep_ms(1)"} | 0 |
{'name': 'MarketstoreStub.__init__@pymarketstore/proto/marketstore_pb2_grpc.py', 'description': 'Constructor.\n\nArgs:\n channel: A grpc.Channel.', 'signature': 'def __init__(self, channel):'}</s>_QUERYRESPONSE = DESCRIPTOR.message_types_by_name['QueryResponse'] | 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': '_calculate_minimum_wheel_name@delocate/delocating.py', 'description': 'Return a wheel name with an updated platform tag.\n\nBased on the architecture of the libraries in the wheel and actual platform\ntag.\n\nParameters\n----------\nwheel_name : str\n The name of the wheel.\nwheel_dir : Path\n The direc... | 1 |
{'name': 'ZiGate.set_bootloader_mode@zigate/core.py', 'description': 'configure ZiGate DIN in flash mode', 'signature': 'def set_bootloader_mode(self):'}</s>ACTIONS_HUE = "hue" | 0 |
{'name': 'PacketFilter.kill_states@pf/filter.py', 'description': 'Clear states matching the specified arguments.\n\nStates can be specified by address family, layer-4 protocol, source and\ndestination addresses, interface name, label and routing domain. Return\nthe number of killed states.', 'signature': 'def kill_stat... | 0 |
{'name': 'from_array@tools/gfx/png.py', 'description': "Create a PNG :class:`Image` object from a 2- or 3-dimensional\narray. One application of this function is easy PIL-style saving:\n``png.from_array(pixels, 'L').save('foo.png')``.\n\nUnless they are specified using the *info* parameter, the PNG's\nheight and width... | 0 |
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>{'name': 'run_safe_model@spider/utils/tools.py', 'description': 'DOCSTRING', 'code': 'def run_safe_model(module_name):\n def inner_run_safe_model(func):\n try:\n\n @functools.wraps(func) # 将函数的原来属性付给新... | 0 |
{'name': 'ImporterFromStats.__init__@src/git_import_contributions/ImporterFromStats.py', 'description': ':param mock_repo_path: Path to the mock repository.\n:param generator_type: File type for the generator (e.g., ".ts").\n:param max_changes_per_file: Number of max changes per file on each commit\n:param max_commits_... | 1 |
{'name': 'eval_one_epoch@semantic_seg_synthia/train_direct.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def eval_one_epoch(sess, ops, test_writer, dataset, epoch_cnt):'}</s>MODEL_PATH = FLAGS.model_path | 0 |
{'name': 'Lookyloo.__init__@lookyloo/lookyloo.py', 'description': "Initialize lookyloo.\n:param cache_max_size: The maximum size of the cache. Alows to display captures metadata without getting it from redis\n This cache is *not* useful for background indexing or pickle building, only for the fron... | 1 |
{'name': 'actual_channel_locations@ecephys_spike_sorting/modules/noise_templates/id_noise_templates.py', 'description': 'Physical locations of Neuropixels electrodes, relative to the probe tip\nJIC replaced this inference of position from channel map with \ndirect read of the positions from channel_pos.npy\n\nInputs:\n... | 0 |
{'name': 'estimate_k@scale/utils.py', 'description': 'Estimate number of groups k:\n based on random matrix theory (RTM), borrowed from SC3\n input data is (p,n) matrix, p is feature, n is sample', 'signature': 'def estimate_k(data):'}</s>{'name': 'pairwise_pearson@scale/utils.py', 'description': 'DOCSTRING', 'co... | 0 |
{'name': 'validateURL@src/feedvalidator/__init__.py', 'description': 'validate RSS from URL, returns events list, or (events, rawdata) tuple', 'signature': 'def validateURL(url, firstOccurrenceOnly=1, wantRawData=0):'}</s>{'name': 'MissingTextualContent@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_c... | 0 |
{'name': 'IUSequence.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this sequence as a dict', 'signature': 'def as_dict(self, extended=False, sqr: IUSequenceRun = None) -> OrderedDict:'}</s>{'name': 'IUSequenceRunAllocation@custom_components/irrigation_unlimited/irrigati... | 0 |
{'name': 'MethodReferenceSyntaxTest.test_method_reference_to_the_new_method_with_explict_type@baseline_tokenization/javalang/test/test_java_8_syntax.py', 'description': "test support for method references to 'new' with an\nexplicit type.", 'signature': 'def test_method_reference_to_the_new_method_with_explict_type(self... | 0 |
{'name': 'Product.copy_default_variation@cartridge/shop/models.py', 'description': 'Copies the price and image fields from the default variation\nwhen the product is updated via the change view.', 'signature': 'def copy_default_variation(self):'}</s>{'name': 'ProductVariationMetaclass@cartridge/shop/models.py', 'descri... | 0 |
{'name': 'scvelo@pipelines/pipeline_scxl.py', 'description': 'Plot the RNA velocity.\nThis analysis is highly parameterised and different configurations can\nsuggest different interpretations of the data.', 'signature': 'def scvelo(infile, outfile):'}</s>{'name': 'characteriseClusterMarkersBetweenConditions@pipelines/p... | 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': 'CsArm@capstone/bindings/python/capstone/arm.py', 'description': 'DOCSTRING', 'base_classes': ['ctypes.Structur... | 0 |
{'name': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'wasm_func_get_host_info@language-bindings/python/src/wamr/wasmcapi/binding.py', 'description': 'DOCSTRING', 'code': 'def... | 0 |
{'name': 'plotCDFtable@array_analysis.py', 'description': "table={'A':(gain , cdf), 'B':(gain, cdf), }", 'signature': 'def plotCDFtable(table, png=None):'}</s>x3 = ffd(path+'/Module_0_Bump_h3.ffd') | 0 |
{'name': 'TransformerModel.build_model@fairseq_deen_ende/fairseq/models/transformer.py', 'description': 'Build a new model instance.', 'signature': 'def build_model(cls, args, task):'}</s>{'name': 'get_eval_lm_parser@fairseq_deen_ende/fairseq/options.py', 'description': 'DOCSTRING', 'code': "def get_eval_lm_parser(defa... | 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>HEADER_X_FORWAR... | 0 |
{'name': 'matrixBuilder_AminoAcid_Matrix_tests.test_AminoAcid_Matrix_initEmpiricalMatrix@tests/matrix_builder_test.py', 'description': 'Tests that class initialization properly imported the empirical replacement matrix. ', 'signature': 'def test_AminoAcid_Matrix_initEmpiricalMatrix(self):'}</s>{'name': 'matrixBuilder_E... | 0 |
{'name': 'Library.__exit__@pyphot/phot.py', 'description': 'end context ', 'signature': 'def __exit__(self, *exc_info):'}</s>{'name': 'set_method_default_units@pyphot/phot.py', 'description': 'Decorator for classmethods that makes sure that\nthe inputs of slamb, sflux are in given units\n\nexpects the decorated method... | 0 |
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be... | 0 |
{'name': 'get_accuracy@numpy/lab-06-2-softmax_zoo_classifier.py', 'description': 'Returna an accracy\n\nArgs:\n logit (2-D Array): Logit array of shape (N, C)\n labels (2-D Array): Onehot label array of shape (N, C)\n\nReturns:\n float: Accuracy', 'signature': 'def get_accuracy(logit, labels):'}</s>{'name': 's... | 1 |
{'name': 'Puzzle.winner@puzzlemaker/puzzle.py', 'description': 'Find the winner of the puzzle based on the move sequence\n ', 'signature': 'def winner(self) -> Optional[str]:'}</s>{'name': 'material_difference@puzzlemaker/utils.py', 'description': 'Difference in material value (positive means white has more)\n ... | 0 |
{'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': 'all_@tasks/format.py', 'description': 'Run all formatters', 'signature': 'def all_(ctx):'}</s>{'name': 'black@tasks/_features.py', 'description': 'Check if the black formatter is enabled\n\nReturns:\n bool: Black formatter enabled?', 'code': 'def black(_):\n """\n Check if the black formatter is enable... | 0 |
{'name': 'github_import@code/synchronization/github_import.py', 'description': 'Import various information from Github repositories (like contributors) or stars for Github repos\nGithub rate limiting limits us to 1000 queries an hour (also with a personal token?)', 'signature': 'def github_import():'}</s>essential_fiel... | 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': 'sign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'varname,ctype,atype\ninit,init.r,init.i,pytype\nvardebuginfo,vardebugshowvalue,varshowvalue\nvarrfromat\nintent', 'signature': 'def sign2map(a, var):'}</s>{'name': 'getpymethoddef@venv/Lib/site-packages/numpy/f2py/auxfuncs.py', 'descrip... | 0 |
{'name': '_play@Projects/3_Adversarial Search/isolation/__init__.py', 'description': 'Run a match between two agents by alternately soliciting them to\nselect a move and applying it to advance the game state.\n\nParameters\n----------\nagents : tuple\n agents[i] is an instance of isolation.Agent class (namedtuple)\n... | 0 |
{'name': 'extract_data@ytmdl/main.py', 'description': 'Extract the arguments and act accordingly.', 'signature': 'def extract_data():'}</s>{'name': 'open_archive_stream@ytmdl/utils/archive.py', 'description': "Read the archive file and extract all the videoId's\npassed. This file will be read as text and should contain... | 0 |
{'name': 'TestSnmp1.testSetIpAddress@tests/test_snmp.py', 'description': 'Set IpAddress.', 'signature': 'def testSetIpAddress(self):'}</s>{'name': 'Notification@snimpy/mib.py', 'description': 'MIB notification node. This class represent a notification.', 'base_classes': ['Node'], 'methods': [{'name': 'Notification.obje... | 0 |
{'name': 'make_generators@examples/supervised_learning/train.py', 'description': 'load the job spec from the csv and create some generator for training', 'signature': 'def make_generators(inputs, limit=None, batch_size=32, aug_perc=0.0):'}</s>{'name': 'generator@examples/supervised_learning/train.py', 'description': "R... | 1 |
{'name': 'FieldAdapter.update_object_references@wagtail_transfer/field_adapters.py', 'description': 'Return a modified version of value with object references replaced by their corresponding\nentries in destination_ids_by_source - a mapping of (model_class, source_id) to\ndestination_id', 'signature': 'def update_objec... | 0 |
{'name': 'control_write_defaults@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Write default control values', 'signature': 'def control_write_defaults():'}</s>{'name': 'control_read_initial_values@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Read initial control values', 'code': 'def co... | 0 |
{'name': '_reorg@mhkit/dolfyn/io/nortek2.py', 'description': 'This function grabs the data from the dictionary of data types\n(organized by ID), and combines them into a single dictionary.', 'signature': 'def _reorg(dat):'}</s>{'name': '_reduce@mhkit/dolfyn/io/nortek2.py', 'description': 'This function takes the output... | 0 |
{'name': 'mirror_files@pretf/pretf/workflow.py', 'description': 'Creates symlinks from all files and directories matching\nthe source patterns into the current directory. Deletes\nall pre-existing symlinks in the current directory.', 'signature': 'def mirror_files('}</s>{'name': 'execute_terraform@pretf/pretf/workflow.... | 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': 'getUserPath@example/STM32F051K4/ideScripts/utilities.py', 'description': 'Get path or command from user (by entering path in terminal window).\nRepeated as long as user does not enter a valid path or command to file/folder/executable.', 'signature': 'def getUserPath(pathName):'}</s>{'name': 'copyAndRename@exa... | 0 |
{'name': 'BasicTokenizer.tokenize@pytorch_pretrained_bert/tokenization.py', 'description': 'Tokenizes a piece of text.', 'signature': 'def tokenize(self, text):'}</s>PRETRAINED_VOCAB_ARCHIVE_MAP = {
'bert-base-uncased': "https://s3.amazonaws.com/models.huggingface.co/bert/bert-base-uncased-vocab.txt",
'bert-lar... | 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': 'recentre_traj@grand/utils.py', 'description': 'Recentre a trajectory based on a specific protein residue. Assumes that the\nprotein has not been broken by periodic boundaries.\nWould be best to do this step before aligning a trajectory\n\nParameters\n----------\ntopology : str\n Name of the topology/connec... | 0 |
{'name': 'EntriesMaintainer.update_statistics@code/maintenance_entries.py', 'description': 'Generates the statistics page.\n\nShould be done every time the entries change.', 'signature': 'def update_statistics(self):'}</s>backlog_file = code_path / 'backlog.txt' | 0 |
{'name': 'CheckREOS@scopy/ScoDruglikeness/rulesfilter.py', 'description': "Check molecular under REOS program\n\nReference:\n Walters, W. Patrick, and Mark Namchuk.\n Nat Rev Drug Discov, 2.4 (2003): 259.\n \nRule details:\n 200 <= MW <= 500\n -5 <= logP <= 5\n nHD <= 5\n nHA <= 10\n nRot <= 8\n... | 0 |
{'name': 'Message.from_pydict@src/betterproto/__init__.py', 'description': 'Parse the key/value pairs into the current message instance. This returns the\ninstance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nvalue: Dict[:class:`str`, Any]\n The dictionary to parse from.\n\nReturns\n... | 0 |
{'name': 'decode@ddparser/parser/model.py', 'description': 'Decode function', 'signature': 'def decode(args, s_arc, s_rel, mask):'}</s>{'name': 'pad_sequence@ddparser/parser/nets/nn.py', 'description': 'Fill sequences(np.ndarray) into a fixed-length matrix.', 'code': 'def pad_sequence(sequences, padding_value=0, fix_le... | 0 |
{'name': 'get_mdot@src/StandAlone/inputs/ARCHES/handoff/genHandoffExample/make_handoff.py', 'description': 'Compute the mdots if v > 0. ', 'signature': 'def get_mdot( Nspace, fp, eta, hl, v, myTable, area, R ): '}</s>fp_i = ho_info['mixture_fraction_2'][int_i](newX,newY) | 0 |
{'name': 'DateTimeParser._build_datetime@arrow/parser.py', 'description': 'Build a datetime object from a dictionary of date parts.\n\n:param parts: A dictionary containing the date parts extracted from a date string.\n:type parts: dict\n:return: A datetime object representing the date and time.\n:rtype: datetime.datet... | 0 |
{'name': 'w_pb_fs@disdat/hyperframe.py', 'description': "Write the pb contained in the xxxRecord.\n\nNote: If atomic=True, in almost all cases there won't actually be another file with\nthis name. But if there is, this will atomically replace the file with the new version.\n\nNote: Atomicity means we won't have a corr... | 0 |
{'name': 'process_fastq_plain@scripts/fastq_to_tsv.py', 'description': 'Combine metrics extracted from a fastq file.', 'signature': 'def process_fastq_plain(fastq):'}</s>{'name': 'handle_compressed_input@scripts/fastq_to_tsv.py', 'description': 'Return handles from compressed files according to extension.\n\nCheck for ... | 1 |
{'name': 'fig_to_html@mpld3/_display.py', 'description': 'Output html representation of the figure\n\nParameters\n----------\nfig : matplotlib figure\n The figure to display\nd3_url : string (optional)\n The URL of the d3 library. If not specified, a standard web path\n will be used.\nmpld3_url : string (opti... | 1 |
{'name': 'run_applescript@src/workflow/util.py', 'description': 'Execute an AppleScript script and return its output.\n\n.. versionadded:: 1.31\n\nRun AppleScript either by filepath or code. If ``script`` is a valid\nfilepath, that script will be run, otherwise ``script`` is treated\nas code.\n\nArgs:\n script (str,... | 0 |
{'name': 'discover_saml_provider@aws-inventory/lambda/inventory-iam.py', 'description': "Queries AWS to determine SAML Providers exist (and who you're trusting)", 'signature': 'def discover_saml_provider(account):'}</s>{'name': 'fetch_credential_report@aws-inventory/lambda/inventory-iam.py', 'description': 'Fetches the... | 0 |
{'name': 'overwrites_mem@panoramix/simplify.py', 'description': "for a given line, returns True if it potentially\noverwrites *any part* of memory index, False if it *for sure* doesn't", 'signature': 'def overwrites_mem(line, mem_idx):'}</s>{'name': 'move_right@panoramix/simplify.py', 'description': 'DOCSTRING', 'code'... | 0 |
{'name': 'SnippetParser._html_list_to_snippets@snippet_parser/core.py', 'description': 'Given a list element containing a citation needed marker in one of\nits <li>, extract a snippet by taking the <li> with the marker plus\na couple of other <li> for context, dropping all other items.\n\nReturns a list of snippets ext... | 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': 'favorites@twitter_to_sqlite/cli.py', 'description': 'Save tweets favorited by specified user', 'signature': 'def favorites(db_path, auth, user_id, screen_name, stop_after):'}</s>{'name': 'ad_online_conversions_attributed@twitter_to_sqlite/archive.py', 'description': 'DOCSTRING', 'code': 'def ad_online_convers... | 0 |
{'name': 'CommandBuffer.enqueue_command@rb/clients.py', 'description': 'Enqueue a new command into this pipeline.', 'signature': 'def enqueue_command(self, command_name, args, options):'}</s>{'name': 'LocalClient@rb/clients.py', 'description': 'The local client is just a convenient method to target one specific\nhost.'... | 0 |
{'name': 'run@test/test_bin.py', 'description': 'Run the ``genson`` executable as a subprocess and return\n(stdout, stderr).', 'signature': 'def run(args=tuple(), stdin_data=None):'}</s>{'name': 'TestBasic@test/test_bin.py', 'description': 'DOCSTRING', 'base_classes': ['unittest.TestCase'], 'methods': [{'name': 'TestBa... | 0 |
{'name': 'regressor.preprocess_batch@goturn/network/regressor.py', 'description': 'TODO: Docstring for preprocess_batch.\n\n:arg1: TODO\n:returns: TODO', 'signature': 'def preprocess_batch(self, images_batch, targets_batch):'}</s>{'name': 'regressor@goturn/network/regressor.py', 'description': 'Regressor Class', 'base_... | 1 |
{'name': 'CalculateTestLists@security/nss/external_tests/google_test/gtest/test/gtest_shuffle_test.py', 'description': 'Calculates the list of tests run under different flags.', 'signature': 'def CalculateTestLists():'}</s>{'name': 'GTestShuffleUnitTest@security/nss/external_tests/google_test/gtest/test/gtest_shuffle_t... | 0 |
{'name': '_type_expression@swagger_to/ts_angular5_client.py', 'description': 'Translate the type definition in Typescript representation to a type expression as Typescript code.\n\n:param typedef: Typescript representation of the type definition\n:param path: path in the Swagger spec\n:return: Typescript code', 'signat... | 0 |
{'name': 'compute_bbox_stats@lib/rpn_util.py', 'description': 'Computes the mean and standard deviation for each regression\nparameter (usually pertaining to [dx, dy, sw, sh] but sometimes\nfor 3d parameters too).\n\nOnce these stats are known we normalize the regression targets\nto have 0 mean and 1 variance, to hypot... | 0 |
{'name': 'spawn_greenlet_on_scope_error@aiopyramid/helpers.py', 'description': 'Wraps a callable handling any\n:class:`ScopeErrors <~aiopyramid.exceptions.ScopeError>` that may\noccur because the callable is called from inside of a :term:`coroutine`.\n\nIf no :class:`~aiopyramid.exceptions.ScopeError` occurs, the calla... | 0 |
{'name': 'getFastqDictionary@src/margin/utils.py', 'description': 'Returns a dictionary of the first words of fastq headers to their corresponding \nfastq sequence', 'signature': 'def getFastqDictionary(fastqFile):'}</s>{'name': 'combineSamFiles@src/margin/utils.py', 'description': 'Combines the lines from multiple sam... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.