text string | label int64 |
|---|---|
{'name': 'kill@pyngrok/ngrok.py', 'description': "Terminate the ``ngrok`` processes, if running, for the given config's ``ngrok_path``. This method will not\nblock, it will just issue a kill request.\n\n:param pyngrok_config: A ``pyngrok`` configuration to use when interacting with the ``ngrok`` binary,\n overriding... | 0 |
{'name': '_CppLintState.PrintErrorCounts@tools/cpplint.py', 'description': 'Print a summary of errors by category, and the total.', 'signature': 'def PrintErrorCounts(self):'}</s>_ALT_TOKEN_REPLACEMENT = {
'and': '&&',
'bitor': '|',
'or': '||',
'xor': '^',
'compl': '~',
'bitand': '&',
'and_e... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCFUNC_MQPUT1_ARRAY = [b"P", b"U", b"T", b"1"] | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQREGO_CORREL_ID_AS_IDENTITY = 1 | 0 |
{'name': 'test_encode_cdfepoch16@tests/test_epochs.py', 'description': 'cdf_encode_epoch16(dcomplex(63300946758.000000, 176214648000.00000)) in IDL\nreturns 04-Dec-2005 20:39:28.176.214.654.976\n\nHowever, I believe this IDL routine is bugged. This website:\nhttps://www.epochconverter.com/seconds-days-since-y0\nshows ... | 0 |
{'name': 'do_webhook@GeoHealthCheck/notifications.py', 'description': "Process webhook recipients for resource\n\nlocation should be in format:\n\nURL\n\n[PAYLOAD]\n\nThere's blank line between URL and PAYLOAD. PAYLOAD\nshould be either json or list of field=value items\nin each line.\n\nWebhook's request is POST send ... | 1 |
{'name': 'IUCoordinator.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the system', 'signature': 'def load(self, config: OrderedDict) -> "IUCoordinator":'}</s>CONF_EXTENDED_CONFIG = "extended_config" | 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': 'RFXtrxProtocolTest.test_complete_packet@test/test_rfxtrx_protocol.py', 'description': 'Protocol should assemble incoming lines into complete packet.', 'signature': 'def test_complete_packet(self):'}</s>ELECTRICITY_REACTIVE_EXPORTED_TOTAL = "^\d-\d:4\.8\.0.+?\r\n" | 0 |
{'name': 'Serial.write@serial/serialwin32.py', 'description': 'Output the given byte string over the serial port.', 'signature': 'def write(self, data):'}</s>INFINITE = 4294967295 | 0 |
{'name': 'to_excess_returns@ffn/core.py', 'description': 'Given a series of returns, it will return the excess returns over rf.\n\nArgs:\n * returns (Series, DataFrame): Returns\n * rf (float, Series): `Risk-Free rate(s) <https://www.investopedia.com/terms/r/risk-freerate.asp>`_ expressed in annualized term or re... | 0 |
{'name': 'Anki.list_cards@src/apyanki/anki.py', 'description': 'List cards that match a query', 'signature': 'def list_cards(self, query: str, opts_display: dict[str, bool]) -> None:'}</s>{'name': 'print_answer@src/apyanki/cards.py', 'description': 'Print the card answer', 'code': 'def print_answer(card: Card) -> None:... | 0 |
{'name': 'MailChimp.__init__@mailchimp3/__init__.py', 'description': 'Initialize the class with your api_key and user_id and attach all of\nthe endpoints', 'signature': 'def __init__(self, *args, **kwargs):'}</s>{'name': 'StoreCartLines@mailchimp3/entities/storecartlines.py', 'description': 'Each Cart contains one or m... | 1 |
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ... | 0 |
{'name': 'test_fail_matchers_error@responses/tests/test_matchers.py', 'description': 'Validate that Exception is raised if request does not match responses.matchers\n validate matchers.urlencoded_params_matcher\n validate matchers.json_params_matcher\n validate matchers.query_param_matcher\n validate matche... | 0 |
{'name': 'haarpsi@piqa/haarpsi.py', 'description': 'Returns the HaarPSI between :math:`x` and :math:`y`, without color space\nconversion.\n\nArgs:\n x: An input tensor, :math:`(N, 3 \\text{ or } 1, H, W)`.\n y: A target tensor, :math:`(N, 3 \\text{ or } 1, H, W)`.\n n_kernels: The number of Haar wavelet kernel... | 1 |
{'name': 'initialize_jwst_image@grizli/jwst_utils.py', 'description': 'Make copies of some header keywords to make the headers look like\nand HST instrument\n\n1) Apply gain correction [*NOT PERFORMED*]\n2) Clip DQ bits\n3) Copy header keywords\n4) Apply exposure-level 1/f correction\n5) Apply flat field if necessary\n... | 0 |
{'name': 'OOXMLFile.decrypt@msoffcrypto/format/ooxml.py', 'description': '>>> from msoffcrypto import exceptions\n>>> from io import BytesIO; outfile = BytesIO()\n>>> with open("tests/outputs/ecma376standard_password_plain.docx", "rb") as f:\n... officefile = OOXMLFile(f)\n... officefile.load_key("1234")\n... ... | 0 |
{'name': 'CheckLanguage@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current fi... | 1 |
{'name': 'process_message@libratom/lib/entities.py', 'description': 'Job function for the worker processes', 'signature': 'def process_message('}</s>{'name': 'get_messages@libratom/lib/concurrency.py', 'description': 'Message generator to feed a pool of processes from a directory of PST files', 'code': 'def get_message... | 0 |
{'name': 'TLP.check@fpga/lib/pcie/tb/pcie.py', 'description': 'Validate TLP', 'signature': 'def check(self):'}</s>MSG_DEASSERT_INTC = 38 | 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': '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': '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': 'Registry.register@ring/coder.py', 'description': 'Register `raw_coder` as a new coder with alias `coder_name`.\n\nCoder can be one of next types:\n\n - A :class:`Coder` subclass.\n - A :class:`CoderTuple` object.\n - A tuple of encode and decode functions.\n - An object which has encode and decode methods... | 0 |
{'name': 'MockAsyncSession.__init__@tests/conftest.py', 'description': 'Set up desired mock response', 'signature': 'def __init__(self, status=200, exc=None):'}</s>_FIXTURE_ESIOS_PVPC_2021_10_30 = "PRICES_ESIOS_1001_2021_10_30.json" | 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': 'train@dpipe/train/base.py', 'description': 'Performs a series of train and validation steps.\n\nParameters\n----------\ntrain_step: Callable\n a function to perform train step.\nbatch_iter: Callable\n batch iterator.\nn_epochs: int\n maximal number of training epochs\nlogger: Logger, None, optional\n... | 0 |
{'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': 'EntryTransformer.unquoted_value@code/utils/osg_parse.py', 'description': ':param x:\n:return:', 'signature': 'def unquoted_value(self, x):'}</s>valid_building_properties = ('Build system', 'Build instruction') | 0 |
{'name': 'position_encoding_init@deepvoice3_pytorch/modules.py', 'description': 'Init the sinusoid position encoding table ', 'signature': 'def position_encoding_init(n_position, d_pos_vec, position_rate=1.0,'}</s>{'name': 'get_mask_from_lengths@deepvoice3_pytorch/modules.py', 'description': 'Get mask tensor from list ... | 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': '_genUniqueModuleName@Cheetah/Template.py', 'description': 'The calling code is responsible for concurrency locking.\n ', 'signature': 'def _genUniqueModuleName(baseModuleName):'}</s>{'name': 'WebSafe@Cheetah/Filters.py', 'description': 'Escape HTML entities in $placeholders.\n ', 'base_classes': ['Filte... | 0 |
{'name': 'inv_mel_spectrogram@utils/audio.py', 'description': 'Converts mel spectrogram to waveform using librosa', 'signature': 'def inv_mel_spectrogram(mel_spectrogram, hparams):'}</s>_mel_basis = None | 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>MQPMO_RESPONSE_AS_TOPIC_DEF = 0 | 0 |
{'name': 'makeCanvas@Utils.py', 'description': '@imgs: list of images, assume same sizes\n@flipBR: flip B and R channel for opencv', 'signature': 'def makeCanvas(imgs, flipBR=True):'}</s>{'name': 'get_random_view_matrix@Utils.py', 'description': 'DOCSTRING', 'code': 'def get_random_view_matrix(min_radius,max_radius):\n... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_INQUIRE_SERVICE = 153 | 0 |
{'name': 'BL3Profile.set_vaultcard3_keys@bl3save/bl3profile.py', 'description': 'Sets the number of Vault Card 3 keys to `num_keys`', 'signature': 'def set_vaultcard3_keys(self, num_keys):'}</s>profile_weaponskins_hash_to_eng = weapon_cust_paths_to_hash(profile_weaponskins_obj_to_eng) | 0 |
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty ... | 0 |
{'name': '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': 'kill_proc@gateway/test/testenv.py', 'description': 'kill process gracefully opend with subprocess.Popen ', 'signature': 'def kill_proc(proc, sigkill = False):'}</s>GW_BIN = os.path.join(os.path.abspath("../"), "redis-gateway") | 0 |
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'Select@src/api/python/z3/z3.py', 'descript... | 0 |
{'name': 'GpioModule.start@pymetawear/modules/gpio.py', 'description': 'Switches the gpio to active mode.', 'signature': 'def start(self, pin=None):'}</s>{'name': 'GpioModule@pymetawear/modules/gpio.py', 'description': 'MetaWear gpio module implementation.\n\n:param ctypes.c_long board: The MetaWear board pointer value... | 1 |
{'name': 'DefinitionSchema.__init__@cerberus/schema.py', 'description': ':param validator: An instance of Validator-(sub-)class that uses this\n schema.\n:param schema: A definition-schema as ``dict``. Defaults to an empty\n one.', 'signature': 'def __init__(self, validator, schema):'}</s... | 0 |
{'name': 'map_decode@scripts/commpy/channelcoding/turbo.py', 'description': "Maximum a-posteriori probability (MAP) decoder.\n\nDecodes a stream of convolutionally encoded\n(rate 1/2) bits using the MAP algorithm.\n\nParameters\n----------\nsys_symbols : 1D ndarray\n Received symbols corresponding to\n the system... | 0 |
{'name': 'ParseArguments@tools/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>_THIRD_PARTY_HE... | 0 |
{'name': 'diag@burpui/cli.py', 'description': 'Check Burp-UI is correctly setup.', 'signature': 'def diag(client, host, tips):'}</s>VERBOSE = os.getenv("BUI_VERBOSE") or 0 | 0 |
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p... | 0 |
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>ICMP6_FQDN_REPLY = 140 | 0 |
{'name': '_input_fn@notebooks/ml_tensorflow/pipemode.py', 'description': 'Returns a Dataset for reading from a SageMaker PipeMode channel.', 'signature': 'def _input_fn(channel):'}</s>{'name': 'eval_input_fn@notebooks/ml_tensorflow/pipemode.py', 'description': 'Returns input function that would feed the model during ev... | 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': 'TemplateCreation.set_atlas@voxelmorph/tf/networks.py', 'description': 'Sets the atlas weights.', 'signature': 'def set_atlas(self, atlas):'}</s>{'name': 'VxmDense@voxelmorph/tf/networks.py', 'description': 'VoxelMorph network for (unsupervised) nonlinear registration between two images.', 'base_classes': ['ne... | 0 |
{'name': 'display_result@onlinejudge_command/subcommand/test.py', 'description': 'display_result prints the result of the test and its statistics.\n\nThis function prints many logs and does some I/O.', 'signature': 'def display_result(proc: subprocess.Popen, answer: str, memory: Optional[float], test_input_path: pathli... | 0 |
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>udpstates = {PFUDPS_NO_TRAFFIC: "NO_TRAFFIC",
PFUDPS_SINGLE: "SINGLE",
PFUDPS_MULTIPLE: "MULTIPLE"} | 1 |
{'name': 'Topic.__init__@code/pymqi/__init__.py', 'description': "Associate a Topic instance with the QueueManager object 'queue_manager'\nand optionally open the Topic.\n\nIf topic_desc is passed ignore topic_string and topic_name.\n\nIf open_opts is passed, it specifies topic open options, and\nthe topic is opened im... | 0 |
{'name': 'StandaloneQ2Q.setup_Q2Q@vertex/q2qstandalone.py', 'description': 'Set up a Q2Q service.\n ', 'signature': 'def setup_Q2Q(self, path,'}</s>{'name': 'TCPMethod@vertex/q2q.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'TCPMethod.__init__@vertex/q2q.py', 'description': 'DOCSTRIN... | 0 |
{'name': 'Query.__init__@SalesforcePy/sfdc.py', 'description': "Constructor. Calls `super`, then encodes the `service` including the `query_string` provided\n\n:param: session_id: Session ID used to make request\n:type: session_id: string\n:param: instance_url: Instance URL used to make the request (eg. `'eu11.salesfor... | 0 |
{'name': 'FoundationTestCase2.test_more_expr_commands@tools/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py', 'description': 'More expression commands for objective-c.', 'signature': 'def test_more_expr_commands(self):'}</s>{'name': 'expectedFlakeyFreeBSD@tools/lldb/packages/Python/lldbsuit... | 0 |
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'UnexpectedText@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Error'], 'methods': ... | 0 |
{'name': 'is_new_mtl_data_available@refreshdata.py', 'description': "Returns whether new date provided by Sante Montreal is available.\nData is available if the data's last date is equal the given expected date.\n\nParameters\n----------\nexpected_date : date\n The date that new data needs to have to be considered n... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIMPO_CURRENT_VERSION = 1 | 0 |
{'name': 'AnkiDataFrame._constructor@ankipandas/ankidf.py', 'description': 'This needs to be overridden so that any DataFrame operations do not\nreturn a :class:`pandas.DataFrame` but a :class:`AnkiDataFrame`.', 'signature': 'def _constructor(self):'}</s>{'name': 'read_info@ankipandas/raw.py', 'description': 'Get a tab... | 0 |
{'name': 'training_loop_hparams_from_scoped_overrides@tensor2tensor_envi/rl/trainer_model_based_params.py', 'description': 'Create HParams suitable for training loop from scoped HParams.\n\nArgs:\n scoped_overrides: HParams, with keys all scoped by one of HP_SCOPES. These\n parameters are overrides for the base HPa... | 0 |
{'name': 'SysTrayIcon.__enter__@python/site-packages/winsystray/traybar.py', 'description': 'Context manager so SysTray can automatically close', 'signature': 'def __enter__(self):'}</s>SetForegroundWindow = ctypes.windll.user32.SetForegroundWindow | 0 |
{'name': 'git_push_if_needed@src/oca_github_bot/github.py', 'description': 'Push current HEAD to remote branch.\n\nReturn True if push succeeded, False if there was nothing to push.\nRaises a celery Retry exception in case of non-fast-forward push.', 'signature': 'def git_push_if_needed(remote, branch, cwd=None):'}</s>... | 0 |
{'name': 'pad@loadProbDist/loadProbDist.py', 'description': 'Utility function that returns a left padded version of the bit string\npassed.', 'signature': 'def pad(x, numQubits):'}</s>resultsX = [] | 0 |
{'name': 'WorkerTestCase.test_sigusr1@tests/integration/test_worker.py', 'description': 'Print stacktrace on SIGUSR1', 'signature': 'def test_sigusr1(self):'}</s>{'name': 'function5@tests/tasks.py', 'description': 'DOCSTRING', 'code': "def function5(sender, task, args, kwargs):\n print('function5')"} | 0 |
{'name': 'Client.get_player_verify@clashroyale/royaleapi/client.py', 'description': "Check the API Key of a player.\nThis endpoint has been **restricted** to\ncertain members of the community\n\nParameters\n----------\ntag: str\n A valid tournament tag. Minimum length: 3\n Valid characters: 0289PYLQGRJCUV\napikey... | 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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQ_SUB_POINT_LENGTH = 128 | 0 |
{'name': 'guess_tempo_parameters@oqupy/tempo.py', 'description': 'Function to roughly estimate appropriate parameters for a TEMPO\ncomputation.\n\n.. warning::\n\n No guarantee that resulting TEMPO calculation converges towards the\n correct dynamics! Please refer to the TEMPO documentation and check\n converg... | 1 |
{'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': 'MainFrame@src/python_scripts/afnipy/gui_xmat.py', 'description': 'GUI information will be stored... | 1 |
{'name': 'process_bird_wav@avgn/segment_song/preprocessing.py', 'description': 'This function is the primary workhorse of the preprocessing script - it takes in a wav file,\n breaks it up into several constitutant wav files, then saves them in save_to_folder, with their corresponding timestamp', 'signature': 'def pr... | 0 |
{'name': 'DatasetReader.__init__@src/data/DatasetReader.py', 'description': ':param config:\n:param tokenizer:\n:param dataset:', 'signature': 'def __init__(self, config, tokenizer, dataset):'}</s>{'name': 'RecordReader@src/data/RecordReader.py', 'description': 'RecordReader reads Record dataset', 'base_classes': ['obj... | 1 |
{'name': 'expected_aspls@tests/test_weighting.py', 'description': 'The weighting for adaptive smoothness penalized least squares smoothing (aspls).\n\nDoes not perform error checking since this is just used for simple weighting cases.\n\nParameters\n----------\ny : numpy.ndarray, shape (N,)\n The measured data.\nbas... | 0 |
{'name': '_Selector._freeze_relations@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Freeze relation.', 'signature': 'def _freeze_relations(self, relations):'}</s>QUIRKS_ATTR_IDENTIFIER = r'(?:(?:{esc}|(?!/\*)[^"\] \t\r\n\f])+?)'.format(esc=CSS_ESCAPES) | 0 |
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>{'name': 'PFUid@pf/rule.py', 'description': 'Class representing a user ID.', 'base_classes': ['PFOp'], 'methods': [{'name': 'PFUid.__init__@pf/rule.py', 'description': 'Chec... | 0 |
{'name': 'IUClock.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data', 'signature': 'def load(self, config: OrderedDict) -> "IUClock":'}</s>ATTR_BASE_DURATION = "base_duration" | 0 |
{'name': 'threaded_check_submissions@tor/helpers/threaded_worker.py', 'description': 'Check if there are new submissions, with multiple threads.\n\nSingle threaded PRAW performance:\nfinished in 56.75446701049805s.\n\nSingle threaded json performance:\nfinished in 16.70485234260559s\n\nmulti-threaded json performance:\... | 1 |
{'name': 'BMP3XX._read@python3/samples/bmp390.py', 'description': 'Returns a tuple for temperature and pressure.', 'signature': 'def _read(self):'}</s>_REGISTER_CAL_DATA = const(0x31) | 0 |
{'name': '_DecodeUnknownField@python/google/protobuf/internal/decoder.py', 'description': 'Decode a unknown field. Returns the UnknownField and new position.', 'signature': 'def _DecodeUnknownField('}</s>FloatSizer = _FixedSizer(4) | 0 |
{'name': 'CombinedFunction.add_penalty@parsimony/functions/combinedfunctions.py', 'description': 'Add a penalty, i.e. a constraint on the Lagrange form.\n\nParameters\n----------\npenalty : Penalty\n A function that penalises the objective function.\n\naccepts_params : 2-tuple or list of 2-tuples\n The outer func... | 0 |
{'name': 'PPOTrainer.train@habitat_baselines/rl/ppo/ppo_trainer.py', 'description': 'Main method for training PPO.\n\nReturns:\n None', 'signature': 'def train(self, ckpt_path="", ckpt=-1, start_updates=0) -> None:'}</s>MAP_VIEW_POINT_INDICATOR = 8 | 0 |
{'name': 'test_nonreduce@bottleneck/tests/nonreduce_test.py', 'description': 'Test that bn.xxx gives the same output as np.xxx.', 'signature': 'def test_nonreduce(func):'}</s>{'name': 'array_order@bottleneck/tests/util.py', 'description': 'DOCSTRING', 'code': 'def array_order(a):\n f = a.flags\n string = []\n ... | 1 |
{'name': 'answer_question@server.py', 'description': ' Will get entities for the question.\n Generate subgraph\n Run corechain and aux predictions\n\n\n:param question: str: intended question to answer\n:return:', 'signature': 'def answer_question(question, entities=None):'}</s>{'name': 'save@datasetPreparatio... | 0 |
{'name': 'SingletonUpdater.unpack_staged_zip@addon_updater.py', 'description': 'Unzip the downloaded file, and validate contents', 'signature': 'def unpack_staged_zip(self, clean=False):'}</s>{'name': 'GitlabEngine@addon_updater.py', 'description': 'Integration to GitLab API', 'base_classes': ['object'], 'methods': [{'... | 0 |
{'name': 'SensorHandler.start_arm_timer@custom_components/alarmo/sensors.py', 'description': 'start timer for automatical arming', 'signature': 'def start_arm_timer(self, entity):'}</s>ATTR_COMMAND_PAYLOAD = "command_payload" | 0 |
{'name': 'GDAL2Tiles.open_input@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Initialization of the input raster, reprojection if necessary', 'signature': 'def open_input(self) -> None:'}</s>{'name': 'Gdal2TilesError@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'DOCSTRING', 'base_c... | 0 |
{'name': 'TranslationFromPretrainedBARTTask.load_dataset@fairseq/tasks/translation_from_pretrained_bart.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset(self, split, epoch=1, combine=False, **kwargs):'}</s>{'name': ... | 0 |
{'name': 'AproposWithProcessTestCase.test_apropos_with_process@llvm-12.0.0-project/lldb/test/API/commands/apropos/with-process/TestAproposWithProcess.py', 'description': "Test that apropos env doesn't crash trying to touch the process plugin command.", 'signature': 'def test_apropos_with_process(self):'}</s>VARIABLES_D... | 0 |
{'name': 'process_direct_grism_visit@grizli/prep.py', 'description': 'Full processing of a direct (+grism) image visit.\n\nParameters\n----------\ndirect : dict\n Dictionary with keys \'files\' and \'product\' for the direct images.\n\ngrism : dict\n Dictionary with keys \'files\' and \'product\' for the grism im... | 0 |
{'name': 'sourceforge_import@code/synchronization/sourceforge_import.py', 'description': 'Scraps Sourceforge project sites and adds developer information to the entries', 'signature': 'def sourceforge_import():'}</s>regex_sanitize_name_space_eater = re.compile(r" +") | 0 |
{'name': 'standardize_variables@aimacode/logic.py', 'description': 'Replace all the variables in sentence with new variables.', 'signature': 'def standardize_variables(sentence, dic=None):'}</s>{'name': 'unify_var@aimacode/logic.py', 'description': 'DOCSTRING', 'code': 'def unify_var(var, x, s):\n if var in s:\n ... | 0 |
{'name': 'FileInfo.RepositoryName@third_party/cpplint/cpplint.py', 'description': 'FullName after removing the local path to the repository.\n\nIf we have a real absolute path name here we can try to do something smart:\ndetecting the root of the checkout and truncating /path/to/checkout from\nthe name so that we get h... | 0 |
{'name': 'AssessmentBase.__init__@pelicun/assessment.py', 'description': 'Initialize an Assessment object.\n\nParameters\n----------\nconfig_options:\n User-specified configuration dictionary.', 'signature': 'def __init__(self, config_options: dict[str, Any] | None = None) -> None:'}</s>{'name': 'describe@pelicun/ba... | 0 |
{'name': 'list_members@twitter_to_sqlite/cli.py', 'description': 'Fetch lists - accepts one or more screen_name/list_slug identifiers', 'signature': 'def list_members(db_path, identifiers, auth, ids):'}</s>{'name': 'raise_if_error@twitter_to_sqlite/utils.py', 'description': 'DOCSTRING', 'code': 'def raise_if_error(r):\... | 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': 'MessageSetItemEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': 'Encoder for extensions of MessageSet.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n required int32 type_id = 2;\n required stri... | 0 |
{'name': 'load_some_model@examples/convert_legacy_llama.py', 'description': 'Load a model of any supported format.', 'signature': 'def load_some_model(path: Path) -> ModelPlus:'}</s>{'name': 'main@examples/convert_legacy_llama.py', 'description': 'DOCSTRING', 'code': 'def main(args_in: list[str] | None = None) -> None:... | 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 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.