text string | label int64 |
|---|---|
{'name': 'save_variations@src/mplhep/label.py', 'description': 'Lite ``savelabels``\n\nParameters\n----------\nfig : figure\nname : str\n Savename to pass to `plt.savefig()`\ntext_list : list, optional\n Variations of ExpSuffix text object to cycle\n through\nexp : str, optional\n Change experiment name lab... | 0 |
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>Int32Sizer = _SimpleSizer(_SignedVarintSize) | 0 |
{'name': 'Product._load@eoreader/products/product.py', 'description': 'Core function loading optical data bands\n\nArgs:\n bands (list): Band list\n pixel_size (float): Pixel size of the band, in meters\n size (Union[tuple, list]): Size of the array (width, height). Not used if pixel_size is provided.\n kwa... | 0 |
{'name': 'TestBaseBackend.test_load_remote_backend@tests/test_access_backends.py', 'description': "keyword 'remote' loads RemoteBackend", 'signature': 'def test_load_remote_backend(self):'}</s>{'name': 'get_postgres_url@tests/db_utils.py', 'description': 'DOCSTRING', 'code': 'def get_postgres_url() -> str:\n user = ... | 0 |
{'name': 'map_async_run_loop@tools/lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Blocks until the Pool.map_async completes and the channel completes.\n\n@param future an AsyncResult instance from a Pool.map_async() call.\n\n@param channel_map the asyncore dispatch channel map that should be pumped.\nOp... | 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': 'crackline@venv/Lib/site-packages/numpy/f2py/crackfortran.py', 'description': 'reset=-1 --- initialize\nreset=0 --- crack the line\nreset=1 --- final check if mismatch of blocks occurred\n\nCracked data is saved in grouplist[0].', 'signature': 'def crackline(line, reset=0):'}</s>groupname = "" | 1 |
{'name': 'control_write_defaults@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Write default control values', 'signature': 'def control_write_defaults():'}</s>{'name': 'clear_devices@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Clear the advertising devices list', 'code': 'def clear_dev... | 0 |
{'name': 'writePreamble@cxxtest/cxxtestgen.py', 'description': 'Write the CxxTest header (#includes and #defines)', 'signature': 'def writePreamble( output ):'}</s>{'name': 'staticRun@cxxtest/cxxtestgen.py', 'description': 'Body of TestDescription::run() for test in a non-dynamic suite', 'code': "def staticRun( suite, ... | 0 |
{'name': 'readability@panoramix/simplify.py', 'description': "- replaces variable names with nicer ones,\n- fixes empty memory in calls\n- replaces 'max..' in setmems with msize variable\n (max can only appear because of this)", 'signature': 'def readability(trace):'}</s>{'name': 'find_f_set@panoramix/utils/helpers.... | 0 |
{'name': 'GroupFLT.subtract_median_filter@grizli/multifit.py', 'description': 'Remove a median filter calculated along the dispersion axis.\n\nParameters\n----------\nfilter_size : int\n Size of the median filter.\n\nfilter_central : int\n Mask the central `filter_central` pixels of the filter.\n\nrevert : bool\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': 'LinearL1CD.fit_predict_single_fold@lightautoml/ml_algo/linear_sklearn.py', 'description': 'Train on train dataset and predict on holdout dataset.\n\nArgs:\n train: Train Dataset.\n valid: Validation Dataset.\n\nReturns:\n Target predictions for valid dataset.', 'signature': 'def fit_predict_single_fo... | 0 |
{'name': 'resolve_rpc_at_end_of_request@src/supporting-files/lock_util.py', 'description': "Call get_result() on this rpc at the end of the current request.\n\nThere's nothing to do this automatically. So if you have an RPC\nthat can take all request long, but you want to make sure finishes\nbefore this request does, ... | 0 |
{'name': 'register_captcha@小红书/shumei_slide.py', 'description': '注册验证码', 'signature': 'def register_captcha(organization):'}</s>{'name': 'verify_captcha@小红书/shumei_slide.py', 'description': '提交验证', 'code': 'def verify_captcha(organization, rid, key, distance):\n """\n 提交验证\n """\n url = \'https://captcha.fe... | 0 |
{'name': 'height_width@object_detection/core/box_list_ops.py', 'description': 'Computes height and width of boxes in boxlist.\n\nArgs:\n boxlist: BoxList holding N boxes\n scope: name scope.\n\nReturns:\n Height: A tensor with shape [N] representing box heights.\n Width: A tensor with shape [N] representing box wid... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCACF_SYSP_Q_MGR_DATE = 3120 | 0 |
{'name': 'vec_symm@diffcp/cones.py', 'description': 'Returns a vectorized representation of a symmetric matrix `X`.\n\nVectorization (including scaling) as per SCS.\nvec(X) = (X11, sqrt(2)*X21, ..., sqrt(2)*Xk1, X22, sqrt(2)*X32, ..., Xkk)', 'signature': 'def vec_symm(X):'}</s>CONE_MAP = {
"z": ConeType.ZERO,
"... | 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>_html_ellipses = "…" | 0 |
{'name': 'IUSequence.icon@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the icon to use in the frontend.', 'signature': 'def icon(self) -> str:'}</s>COORDINATOR = "coordinator" | 0 |
{'name': 'Product._reproject@eoreader/products/product.py', 'description': 'Reproject using RPCs (cannot use another pixel size than src to ensure RPCs are valid)\n\nArgs:\n src_arr (np.ndarray): Array to reproject\n src_meta (dict): Metadata\n rpcs (rpc.RPC): RPCs\n dem_path (str): DEM path\n\nReturns:\n ... | 0 |
{'name': 'GeoDataset.set_roi@salem/datasets.py', 'description': "Set a region of interest for the dataset.\nIf set succesfully, a ROI is simply a mask of the same size as the\ndataset's grid, obtained with the .roi attribute.\nI haven't decided yet if the data should be masekd out when a ROI\nhas been set.\nParameters\... | 0 |
{'name': 'find_output@test/functional/test_framework/util.py', 'description': 'Return index to output of txid with value amount\nRaises exception if there is none.', 'signature': 'def find_output(node, txid, amount):'}</s>{'name': 'hex_str_to_bytes@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'c... | 0 |
{'name': 'init_screen@displays/inkyphat.py', 'description': 'Prepare the screen for drawing and return the draw variables\n ', 'signature': 'def init_screen(color):'}</s>payment_failed_3 = "den Betreiber" | 0 |
{'name': 'simple_value_comparison@tests/requirement-engineering/gc-aot/runtest.py', 'description': 'compare out of simple types which may like val:i32, val:f64 and so on', 'signature': 'def simple_value_comparison(out, expected):'}</s>{'name': 'parse_assertion_value@tests/requirement-engineering/gc-aot/runtest.py', 'de... | 0 |
{'name': 'test_nested_uls@tests/test_lists.py', 'description': 'Nested ULs should alternate bullet characters.', 'signature': 'def test_nested_uls():'}</s>{'name': 'test_ul@tests/test_lists.py', 'description': 'DOCSTRING', 'code': 'def test_ul():\n assert md(\'<ul><li>a</li><li>b</li></ul>\') == \'\\n\\n* a\\n* b\\n... | 0 |
{'name': 'generate_files@scripts/update_api.py', 'description': 'Scan the api files in ``api_files`` and emit the relevant API files into\nthe output directories specified. If an output directory is set to ``None``\nthen the files for that language binding or module are not emitted.\n\nThe reason for this function inte... | 0 |
{'name': '_IncludeState.CheckNextIncludeOrder@scripts/cpplint.py', 'description': "Returns a non-empty error message if the next header is out of order.\n\nThis function also updates the internal state to be ready to check\nthe next include.\n\nArgs:\n header_type: One of the _XXX_HEADER constants defined above.\n\nRe... | 0 |
{'name': '_ClassifyInclude@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than ""... | 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': '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>logger = logging.getLogger(__name__) | 0 |
{'name': 'Field.deprecation_reason@pygraphy/introspection.py', 'description': 'Not support yet', 'signature': 'def deprecation_reason(self) -> Optional[str]:'}</s>{'name': 'Input@pygraphy/types/input.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': []} | 0 |
{'name': 'ToUnixLineEnding@googlemock/test/gmock_output_test.py', 'description': 'Changes all Windows/Mac line endings in s to UNIX line endings.', 'signature': 'def ToUnixLineEnding(s):'}</s>{'name': 'GetNormalizedOutputAndLeakyTests@googlemock/test/gmock_output_test.py', 'description': 'Normalizes the output of gmock... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIA_DEF_PRIORITY = 6 | 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 |
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>{'name': '_and_then@src/api/python/z3/z3.py', '... | 0 |
{'name': 'MergeDirectoryTask._handle_local_file@onedrive_client/od_tasks/merge_dir.py', 'description': ':param str item_name:\n:param onedrive_client.od_repo.ItemRecord | None item_record:\n:param posix.stat_result | None item_stat:\n:param str item_local_abspath:', 'signature': 'def _handle_local_file(self, item_name,... | 1 |
{'name': 'LFramework.save_checkpoint@src/learn_framework.py', 'description': 'Save model checkpoint.\n:param checkpoint_id: Model checkpoint index assigned by training loop.\n:param epoch_id: Model epoch index assigned by training loop.\n:param is_best: if set, the model being saved is the best model on dev set.', 'sig... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCHT_REQUESTER = py23long(4) | 0 |
{'name': 'CheckBraces@tools/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\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 fou... | 0 |
{'name': 'InfobloxObject.fetch@infoblox_client/objects.py', 'description': 'Fetch object from NIOS by _ref or searchfields\n\nUpdate existent object with fields returned from NIOS\n\nReturns:\n True if object successfully fetched. False otherwise.\nRaises:\n InfobloxFetchGotMultipleObjects:\n If fetch got ... | 0 |
{'name': '_lookup_module@dill/session.py', 'description': 'lookup name or id of obj if module is imported', 'signature': 'def _lookup_module(modmap, name, obj, main_module):'}</s>{'name': '_create_code@dill/_dill.py', 'description': 'DOCSTRING', 'code': 'def _create_code(*args):\n if not isinstance(args[0], int): # ... | 0 |
{'name': 'PackageFinder._link_package_versions@scripts/pdns/lib/python2.7/site-packages/pip/index.py', 'description': 'Return an InstallationCandidate or None', 'signature': 'def _link_package_versions(self, link, search):'}</s>hexDigits = frozenset(string.hexdigits) | 0 |
{'name': 'to_pytorch_type@python/taichi/lang/util.py', 'description': 'Convert taichi data type to its counterpart in torch.\n\nArgs:\n dt (DataType): The desired data type to convert.\n\nReturns:\n DataType: The counterpart data type in torch.', 'signature': 'def to_pytorch_type(dt):'}</s>_root_fb = _Uninitializ... | 0 |
{'name': 'record@src/doitlive/cli.py', 'description': 'Record a session file. If no argument is passed, commands are written to\n./session.sh.\n\nWhen you are finished recording, run the "stop" command.', 'signature': 'def record(session_file, shell, prompt, alias, envvar):'}</s>{'name': 'print_recorder_instructions@sr... | 1 |
{'name': 'eGetRawS@src/LabJackPython.py', 'description': 'Function not yet implemented.\n\nFor Windows only.', 'signature': 'def eGetRawS(Handle, pIOType, Channel, pValue, x1):'}</s>LJ_tmPWM16 = 0 | 0 |
{'name': 'suggest_name_as_special_case@didyoumean/didyoumean_internal.py', 'description': 'Suggest that name could be handled in a special way.', 'signature': 'def suggest_name_as_special_case(name):'}</s>{'name': 'get_memory_error_sugg@didyoumean/didyoumean_internal.py', 'description': 'Get suggestions for MemoryError... | 0 |
{'name': 'Win32Serial.write@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Output the given string over the serial port.', 'signature': 'def write(self, data):'}</s>ResetEvent = _stdcall_libraries['kernel32'].ResetEvent | 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': 'delocate_wheel@delocate/delocating.py', 'description': 'Update wheel by copying required libraries to `lib_sdir` in wheel.\n\nCreate `lib_sdir` in wheel tree only if we are copying one or more\nlibraries.\n\nIf `out_wheel` is None (the default), overwrite the wheel `in_wheel`\nin-place.\n\nParameters\n-------... | 0 |
{'name': 'DECIMER_Predictor.__call__@DECIMER/Repack_model.py', 'description': 'This function takes in the Decoded image as input and makes the\npredicted list of tokens and return the tokens as tf.Tensor array.\nBefore feeding the input array we must define start and the end tokens.\n\nArgs:\n Decoded_image (tf.Tens... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQACH_CURRENT_LENGTH = MQACH_LENGTH_1 | 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': 'generate_rpm@rpmvenv/cli.py', 'description': 'Generate an RPM from the given arguments mapping.', 'signature': 'def generate_rpm(source, destination, specfile, verbose=False):'}</s>{'name': 'validate_extensions@rpmvenv/extensions/loader.py', 'description': 'Process the extension dependencies.', 'code': 'def v... | 0 |
{'name': '_makeTags@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'Forward@SneakerBot 2019/venv/lib/python3.7/si... | 0 |
{'name': 'MessageSender.send@uamqp/sender.py', 'description': 'Add a single message to the internal pending queue to be processed\nby the Connection without waiting for it to be sent.\n\n:param message: The message to send.\n:type message: ~uamqp.message.Message\n:param callback: The callback to be run once a dispositi... | 0 |
{'name': 'update_subscription_for_repo@onedrive_client/od_main.py', 'description': ':param onedrive_client.od_repo.OneDriveLocalRepository repo:\n:param str | None subscription_id:\n:return onedrivesdk.Subscription | None:', 'signature': 'def update_subscription_for_repo(repo, subscription_id=None):'}</s>{'name': 'Item... | 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': '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': 'filter_records@refreshdata.py', 'description': 'Discards any record which has an empty date field.\n\nSource: https://stackoverflow.com/a/38819123', 'signature': 'def filter_records(records):'}</s>{'name': 'append_variants_data_csv@refreshdata.py', 'description': 'Append new row to data_variants.csv data.\n\n... | 0 |
{'name': 'MomSpaceBasis.__init__@doc/src/week46/Programs/NeutronMatterCCD_Ladders.py', 'description': 'the constructor\n\nGenerates a cubic lattice in momentum space\nparam Nmax: Number of lattice points in positive kx-direction\nparam kmax: Highest lattice momentum (in 1/fm)\nparam ordered: Optional parameter, True by... | 0 |
{'name': 'all_component_templates@scripts/generators/es_template.py', 'description': 'Generate one component template per field set', 'signature': 'def all_component_templates('}</s>{'name': 'strict_warning@scripts/generators/ecs_helpers.py', 'description': 'Call warnings.warn(msg) for operations that would throw an Ex... | 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': 'on_shutdown_pi@src/server/server.py', 'description': 'Shutdown the raspberry pi.', 'signature': 'def on_shutdown_pi(*args):'}</s>{'name': 'restore_node_frequency@src/server/server.py', 'description': 'Restore frequency for given node index (update hardware) ', 'code': 'def restore_node_frequency(node_index):\... | 0 |
{'name': 'Reformat@tools/yapf/yapf/yapflib/reformatter.py', 'description': 'Reformat the unwrapped lines.\n\nArguments:\n uwlines: (list of unwrapped_line.UnwrappedLine) Lines we want to format.\n verify: (bool) True if reformatted code should be verified for syntax.\n\nReturns:\n A string representing the reformatt... | 0 |
{'name': 'ae_transformer_internal@tensor2tensor_envi/models/research/transformer_nat.py', 'description': 'Main step used for training.', 'signature': 'def ae_transformer_internal(inputs, targets, target_space, hparams, cache=None):'}</s>{'name': 'residual_conv@tensor2tensor_envi/models/research/transformer_nat.py', 'de... | 1 |
{'name': 'test_pool_Sv_values@echopype/tests/clean/test_noise.py', 'description': 'Manually check if the pooled Sv for transient noise masking contains \nthe correct nan boundary and the correct bin aggregate values.', 'signature': 'def test_pool_Sv_values(chunk, func):'}</s>{'name': 'test_estimate_background_noise_ups... | 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>MQIACF_ITEM_COUNT = 1378 | 0 |
{'name': 'arcball_constrain_to_axis@transformations.py', 'description': 'Return sphere point perpendicular to axis.', 'signature': 'def arcball_constrain_to_axis(point, axis):'}</s>{'name': 'shear_from_matrix@transformations.py', 'description': 'Return shear angle, direction and plane from shear matrix.\n\n>>> angle = ... | 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': 'SecurityRiskAttr@src/feedvalidator/logging.py', 'description': '... | 0 |
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>{'name': 'RouteSyntaxErro... | 0 |
{'name': 'PathConverter.convert@util/py_lib/seqan/dox/write_html.py', 'description': 'Return None, None on failure path, title otherwise.', 'signature': 'def convert(self, name):'}</s>{'name': 'EntryConverter@util/py_lib/seqan/dox/proc_doc.py', 'description': 'Base class for the conversion of raw entries processed entr... | 0 |
{'name': 'ClusterAction.start_clusters@qingcloud/iaas/actions/cluster.py', 'description': 'Start one or more clusters.\n@param clusters: the array of clusters IDs.', 'signature': 'def start_clusters(self, clusters,'}</s>ACTION_DESCRIBE_SHARED_RESOURCE_GROUPS = "DescribeSharedResourceGroups" | 0 |
{'name': 'count_nac@kb_python/count.py', 'description': 'Generates RNA velocity matrices for single-cell RNA seq.\n\nArgs:\n index_path: Path to kallisto index\n t2g_path: Path to transcript-to-gene mapping\n cdna_t2c_path: Path to cDNA transcripts-to-capture file\n intron_t2c_path: Path to intron transcrip... | 0 |
{'name': 'WSCTask.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': 'infer_language_pair@fairseq/data/data_utils.py', 'description': 'Infer language pair from... | 0 |
{'name': 'draw_lnurl_qr@displays/waveshare2in13v3.py', 'description': 'Draw a lnurl qr code on the e-ink screen\n ', 'signature': 'def draw_lnurl_qr(qr_img):'}</s>shutdown_screen_3 = "un operatore." | 0 |
{'name': 'Client.get_partitions_ps_with_auth@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/hive_metastore/ThriftHiveMetastore.py', 'description': 'Parameters:\n - db_name\n - tbl_name\n - part_vals\n - max_parts\n - user_name\n - group_names', 'signature': 'def get_partitions_ps_with_auth(self, db_name, tbl_name,... | 0 |
{'name': 'Image.from_array@autolab_core/image.py', 'description': 'Converts an array of data to an Image based on the values in\nthe array and the data format.', 'signature': 'def from_array(x, frame="unspecified"):'}</s>{'name': 'PointCloudImage@autolab_core/image.py', 'description': 'A point cloud image in which indi... | 0 |
{'name': 'download@gdown/download.py', 'description': "Download file from URL.\n\nParameters\n----------\nurl: str\n URL. Google Drive URL is also supported.\noutput: str\n Output filename/directory. Default is basename of URL.\n If output ends with separator '/' basename will be kept and the\n parameter wi... | 1 |
{'name': 'GlobalMercator.ZoomForPixelSize@auxiliary/gdal2tiles4extent/gdal2tiles4extentWithDEM.py', 'description': 'Maximal scaledown zoom of the pyramid closest to the pixelSize.', 'signature': 'def ZoomForPixelSize(self, pixelSize):'}</s>resampling_list = ('average', 'near', 'bilinear', 'cubic',
'c... | 0 |
{'name': 'Assignment.__init__@lib/rule_engine/ast.py', 'description': ':param str name: The symbol name that the assignment is defining.\n:param value: The value of the assignment.\n:param value_type: The data type of the assignment.\n:type value_type: :py:class:`~.DataType`', 'signature': 'def __init__(self, name, *, ... | 0 |
{'name': 'auto_populate@pelicun/resources/auto/Hazus_Earthquake_IM.py', 'description': 'Automatically creates a performance model for PGA-based Hazus EQ analysis.\n\nParameters\n----------\nAIM: dict\n Asset Information Model - provides features of the asset that can be\n used to infer attributes of the performan... | 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': 'RerankerParse.score@python/bllipparser/RerankerFeatureCorpus.py', 'description': 'Score this parse using a weight vector (dictionary of feature\nnames to weights).', 'signature': 'def score(self, weights):'}</s>{'name': 'parse_kv_list@python/bllipparser/RerankerFeatureCorpus.py', 'description': 'Parse cvlm ke... | 0 |
{'name': 'TarInfo.frombuf@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>LNKTYPE = b'1' | 0 |
{'name': 'build@bioconda_utils/build.py', 'description': "Build a single recipe for a single env\n\nArguments:\n recipe: Path to recipe\n pkg_paths: List of paths to expected packages\n testonly: Only run the tests described in the meta.yaml\n mulled_test: Run tests in minimal docker container\n channels: Channels... | 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': '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 ... | 1 |
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add... | 0 |
{'name': 'get_address_list@src/future/backports/email/_header_value_parser.py', 'description': 'address_list = (address *("," address)) / obs-addr-list\n obs-addr-list = *([CFWS] ",") address *("," [address / CFWS])\n\nWe depart from the formal grammar here by continuing to parse until the end\nof the input, assumin... | 0 |
{'name': 'Device.close@src/LabJackPython.py', 'description': 'close()\n\nCloses the device.\n\nOn Windows, this method only sets the device handle to None but does\nnot close the device. Instead use the Close function from the\nLabJackPython module which closes all devices in the program, and is\nthe only device close ... | 0 |
{'name': 'frame_handler@amqp/method_framing.py', 'description': 'Create closure that reads frames.', 'signature': 'def frame_handler(connection, callback,'}</s>{'name': 'Buffer@amqp/method_framing.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'Buffer.__init__@amqp/method_framing.py', 'descri... | 0 |
{'name': 'Predicate.context@rules/predicates.py', 'description': "The currently active invocation context. A new context is created as a\nresult of invoking ``test()`` and is only valid for the duration of\nthe invocation.\n\nCan be used by predicates to store arbitrary data, eg. for caching\ncomputed values, setting f... | 1 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCACH_DESC = 3502 | 0 |
{'name': 'collect_cfnstacksets@last_stackset_operations.py', 'description': 'Description: This function collects the information about existing stacksets\n@param faws_acct: Account Object of type "aws_acct_access"\n@param fRegion: String for the region in which to collect the stacksets\n@return:\n - dict of list... | 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': 'pantiltGoHome@source/pi-timolo.py', 'description': 'Move pantilt to home position. If pantilt installed then this\ncan position pantilt to a home position for consistent\nmotion tracking and timelapse camera pointing.', 'signature': 'def pantiltGoHome():'}</s>NUM_PATH_PANTILT_SEQ = os.path.join(
DATA_DIR,... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQSO_CREATE = 2 | 0 |
{'name': '_range_check@rio_rgbify/encoders.py', 'description': 'Utility to check if data range is outside of precision for 3 digit base 256', 'signature': 'def _range_check(datarange):'}</s>{'name': '_decode@rio_rgbify/encoders.py', 'description': 'Utility to decode RGB encoded data', 'code': 'def _decode(data, base, i... | 0 |
{'name': 'TestPraetorian.test_refresh_jwt_token@tests/test_base.py', 'description': "This test::\n * verifies that the refresh_jwt_token properly generates\n a refreshed jwt token.\n * ensures that a token who's access permission has not expired may\n not be refreshed.\n * ensures that a token who's ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.