text string | label int64 |
|---|---|
{'name': 'parse2_read@pairtools/lib/parse.py', 'description': 'Parse sam entries corresponding to a Hi-C molecule into alignments in parse2 mode\nfor a Hi-C pair.\nReturns\n-------\nstream: iterator\n Each element is a triplet: (algn1, aldn2, pair_index)\n algn1, algn2: dict\n Two alignments selected for r... | 0 |
{'name': 'dist_factory@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Return a dist_factory for a path_item and entry', 'signature': 'def dist_factory(path_item, entry, only):'}</s>{'name': 'invalid_marker@tests/_lib_vendors/pkg_resources/__init__.py', 'description': 'Validate text as a PEP 508 environm... | 0 |
{'name': 'CreateDatatypes@src/api/python/z3/z3.py', 'description': "Create mutually recursive Z3 datatypes using 1 or more Datatype helper objects.\n\nIn the following example we define a Tree-List using two mutually recursive datatypes.\n\n>>> TreeList = Datatype('TreeList')\n>>> Tree = Datatype('Tree')\n>>> # Tre... | 0 |
{'name': 'Xpress.solve_problem_from_file@linopy/solvers.py', 'description': 'Solve a linear problem from a problem file using the Xpress solver.\n\nThis function reads the linear problem file and passes it to\nthe Xpress solver. If the solution is successful it returns\nvariable solutions and constraint dual values. Th... | 0 |
{'name': 'SequenceEnqueuer.stop@libs/cifar10_lib.py', 'description': 'Stops running threads and wait for them to exit, if necessary.\n\nShould be called by the same thread which called `start()`.\n\n# Arguments\n timeout: maximum time to wait on `thread.join()`', 'signature': 'def stop(self, timeout=None):'}</s>{'na... | 0 |
{'name': 'update_amount_screen@displays/papiruszero2in.py', 'description': 'Update the amount screen to reflect new coins inserted\n ', 'signature': 'def update_amount_screen():'}</s>lnurl_generation_2 = "QRcode da scansionare" | 0 |
{'name': 'split@airflow_code_editor/fs.py', 'description': 'Split a pathname, returns tuple (head, tail)', 'signature': 'def split(pathname: str):'}</s>{'name': 'get_plugin_config@airflow_code_editor/utils.py', 'description': 'Get a plugin configuration/default for a given key', 'code': 'def get_plugin_config(key: str)... | 0 |
{'name': '_equalize_weights_lsq_pact@nemo/transf/equalize.py', 'description': 'Performs in-layer equalization by unfolding of convolution parameters\ninto batch-normalization parameters.\n\n:param bn_dict: a dictionary of layer names, with the key being the source (linear) and the value the target (batch-norm).\n:type ... | 0 |
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=... | 0 |
{'name': '_parse_requested_output_file_names@pelicun/tools/DL_calculation.py', 'description': 'Parse the output file names from the output configuration.\n\nParameters\n----------\noutput_config : dict\n Configuration for output files.\n\nReturns\n-------\nset\n Set of requested output file names.', 'signature': ... | 0 |
{'name': 'cmr@icesat2_toolkit/utilities.py', 'description': "Query the NASA Common Metadata Repository (CMR) for ICESat-2 data\n\nParameters\n----------\nproduct: str or NoneType, default None\n ICESat-2 data product to query\nrelease: str or NoneType, default None\n ICESat-2 data release to query\ncycles: str, l... | 0 |
{'name': 'ExternalScenario.create_markets@premise/external.py', 'description': 'Create new markets, and create a `World` market\nif no data is provided for it.', 'signature': 'def create_markets(self) -> None:'}</s>LOG_CONFIG = DATA_DIR / "utils" / "logging" / "logconfig.yaml" | 0 |
{'name': 'Analyzer.get_abstract0@tf_verify/analyzer.py', 'description': 'processes self.ir_list and returns the resulting abstract element', 'signature': 'def get_abstract0(self):'}</s>{'name': 'DeepzonoResadd@tf_verify/deepzono_nodes.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'DeepzonoRe... | 0 |
{'name': 'ZenPreTrainedModel.from_pretrained@ZEN/modeling.py', 'description': 'Instantiate a BertPreTrainedModel from a pre-trained model file or a pytorch state dict.\nDownload and cache the pre-trained model file if needed.\n\nParams:\n pretrained_model_name_or_path: either:\n - a str with the name of a pre... | 1 |
{'name': 'retry_on_expired_cookie@infoblox_client/connector.py', 'description': 'Decorator to handle expired cookies by re-authenticating\nand retrying the request.', 'signature': 'def retry_on_expired_cookie(func):'}</s>{'name': 'InfobloxGridTemporaryUnavailable@infoblox_client/exceptions.py', 'description': 'DOCSTRIN... | 0 |
{'name': 'Dataset.merge@accelerator/dataset.py', 'description': 'Merge this and other dataset. Columns from other take priority.\nIf datasets do not have a common ancestor you get an error unless\nallow_unrelated is set. The new dataset always has the previous\nspecified here (even if None).\nReturns the new dataset.',... | 0 |
{'name': 'Cdf.__init__@reference/ThinkDSP/code/thinkstats2.py', 'description': 'Initializes.\n\nIf ps is provided, obj must be the corresponding list of values.\n\nobj: Hist, Pmf, Cdf, Pdf, dict, pandas Series, list of pairs\nps: list of cumulative probabilities\nlabel: string label', 'signature': 'def __init__(self, o... | 0 |
{'name': '__reassign_times@librosa/core/spectrum.py', 'description': 'Time reassignments based on a spectrogram representation.\n\nThe reassignment vector is calculated using equation 5.23 in Flandrin,\nAuger, & Chassande-Mottin 2002::\n\n t_reassigned = t + np.real(S_th/S_h)\n\nwhere ``S_h`` is the complex STFT cal... | 0 |
{'name': 'QuantifierRef.sort@src/api/python/z3/z3.py', 'description': 'Return the Boolean sort or sort of Lambda.', 'signature': 'def sort(self):'}</s>{'name': 'parse_smt2_string@src/api/python/z3/z3.py', 'description': "Parse a string in SMT 2.0 format using the given sorts and decls.\n\nThe arguments sorts and decls ... | 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>qr_failed_2 = "Intenta nuevamente." | 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': 'tmp_db_str@tests/test_twitter.py', 'description': 'Creates a temporary database connection string.', 'signature': 'def tmp_db_str(tmpdir):'}</s>{'name': 'db@tests/test_twitter.py', 'description': 'Creates a temporary database.', 'code': "def db(tmp_db_str):\n ''' Creates a temporary database.'''\n retur... | 0 |
{'name': 'SpoolmanagerPlugin.checkRemainingFilament@octoprint_SpoolManager/__init__.py', 'description': 'Checks if all spools or single spool includes enough filament\n\n:param forToolIndex check only for the provided toolIndex\n:return: see', 'signature': 'def checkRemainingFilament(self, forToolIndex=None):'}</s>{'na... | 0 |
{'name': 'cmr@icesat2_toolkit/utilities.py', 'description': "Query the NASA Common Metadata Repository (CMR) for ICESat-2 data\n\nParameters\n----------\nproduct: str or NoneType, default None\n ICESat-2 data product to query\nrelease: str or NoneType, default None\n ICESat-2 data release to query\ncycles: str, l... | 0 |
{'name': 'test_list_case_insensitive_other_collision@tests/test_cli.py', 'description': 'Test that the case-insensitive list name matching is used if a\ncollision exists that does not affect the queried list.', 'signature': 'def test_list_case_insensitive_other_collision('}</s>{'name': 'test_human@tests/test_cli.py', '... | 0 |
{'name': 'KeysightM8190A.upload_waveform@src/auspex/instruments/keysight.py', 'description': 'Uploads the waveform to the device. Technically we should split the data into multiple chunks\nif we exceed the 999999999 Bytes, i.e. 1GB SCPI transfer limit.', 'signature': 'def upload_waveform(self, wf_data, segment_id, chan... | 0 |
{'name': 'suppress_stderr@radian/console.py', 'description': 'It is used in completion to avoid running prompt-toolkit nestedly', 'signature': 'def suppress_stderr(suppress=True):'}</s>{'name': 'native_prompt@radian/console.py', 'description': 'DOCSTRING', 'code': 'def native_prompt(app, message):\n # c.f. run_corou... | 0 |
{'name': 'test_born_gradcheck_2d_big@tests/test_scalar_born.py', 'description': 'Test gradcheck with a big model.', 'signature': 'def test_born_gradcheck_2d_big():'}</s>{'name': 'test_born_gradcheck_2d_one_shot@tests/test_scalar_born.py', 'description': 'Test gradcheck with one shot.', 'code': 'def test_born_gradcheck_... | 0 |
{'name': '_add_schema_to_global_schema_dictionary@inference_schema/schema_decorators.py', 'description': "function to add a generated schema for 'attr_name', to the function schema dict\n\n:param attr_name:\n:type attr_name: str\n:param schema:\n:type schema: dict\n:param user_func:\n:type user_func: function | Functio... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQUOWST_NONE = 0 | 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': 'thrust@proptools/nozzle.py', 'description': 'Nozzle thrust force.\n\nArguments:\n A_t (scalar): Nozzle throat area [units: meter**2].\n p_c (scalar): Nozzle stagnation chamber pressure [units: pascal].\n p_e (scalar): Nozzle exit static pressure [units: pascal].\n gamma (scalar): Exhaust gas ratio... | 0 |
{'name': 'get_validate@geetest_online/geetest_online.py', 'description': 'get geetest validate result by serial call', 'signature': 'def get_validate(session, search_name):'}</s>GSXT_INDEX = GSXT_HOST + '/index.html' | 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': 'decode_and_plot_events1D@nelpy/plotting/decoding.py', 'description': "bst : BinnedSpikeTrainArray\ntc : TuningCurve1D\nraster : bool\nst : SpikeTrainArray, optional\nst_order : string, optional\n = ['track', 'first', 'random']\nevt_subset : list, optional\n List of integer indices. If the list is not so... | 1 |
{'name': 'main@char60/std_turn.py', 'description': ':param start: the quantile to start cutting, usually it should be 0\n:param end: the quantile to end cutting, usually it should be 1\n:param step: quantile step\n:return: a dataframe with calculated variance of residual', 'signature': 'def main(start, end, step):'}</s... | 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': 'process_line@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_internal/req/req_file.py', 'description': 'Process a single requirements line; This can result in creating/yielding\nrequirements, or updating the finder.\n\nFor lines that contain requirements, the only options that have an effect\nare from SUPPOR... | 1 |
{'name': 'trim@bioframe/ops.py', 'description': "Trim each interval to fall within regions specified in the viewframe 'view_df'.\n\nIntervals that fall outside of view regions are replaced with nulls.\nIf no 'view_df' is provided, intervals are truncated at zero to avoid\n negative values.\n\nParameters\n----------\... | 0 |
{'name': 'DetectionNetwork.postprocess_fastrcnn@libs/networks/build_whole_network.py', 'description': ':param rois:[-1, 4]\n:param bbox_ppred: [-1, (cfgs.Class_num+1) * 4]\n:param scores: [-1, cfgs.Class_num + 1]\n:return:', 'signature': 'def postprocess_fastrcnn(self, rois, bbox_ppred, scores, img_shape):'}</s>{'name'... | 0 |
{'name': 'AcousticCorpusMixin.generate_final_features@montreal_forced_aligner/corpus/acoustic_corpus.py', 'description': 'Generate features for the corpus', 'signature': 'def generate_final_features(self) -> None:'}</s>{'name': 'Utterance@montreal_forced_aligner/db.py', 'description': "Database class for storing inform... | 1 |
{'name': 'friends@twitter_to_sqlite/cli.py', 'description': 'Save friends for specified users (defaults to authenticated user)', 'signature': 'def friends(db_path, identifiers, attach, sql, auth, ids, silent):'}</s>{'name': 'fetch_favorites@twitter_to_sqlite/utils.py', 'description': 'DOCSTRING', 'code': 'def fetch_fav... | 0 |
{'name': 'MACAddr.decode@aioblescan/aioblescan.py', 'description': 'Decode the MAC address from a byte array.\n\nThis will take the first 6 bytes from data and transform them into a MAC address\nstring representation. This will be assigned to the attribute "val". It then returns\nthe data stream minus the bytes consume... | 0 |
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=... | 0 |
{'name': 'BufferedSocket.recv_until@boltons/socketutils.py', 'description': 'Receive until *delimiter* is found, *maxsize* bytes have been read,\nor *timeout* is exceeded.\n\nArgs:\n delimiter (bytes): One or more bytes to be searched for\n in the socket stream.\n timeout (float): The timeout for this oper... | 1 |
{'name': 'seq@gget/gget_seq.py', 'description': "Fetch nucleotide or amino acid sequence (FASTA) of a gene\n(and all its isoforms) or transcript by Ensembl, WormBase or FlyBase ID.\n\nArgs:\n- ens_ids One or more Ensembl IDs (passed as string or list of strings).\n Also supports WormBase and FlyBas... | 1 |
{'name': 'Metrics.print_metrics_mat@musegan/utils/metrics.py', 'description': 'Print the intratrack metrics as a nice formatting table', 'signature': 'def print_metrics_mat(self, metrics_mat):'}</s>{'name': 'get_in_scale@musegan/utils/metrics.py', 'description': 'Return the ratio of chroma.', 'code': 'def get_in_scale(... | 0 |
{'name': 'RSABase.verify@jws/algos.py', 'description': 'Verifies a message using RSA cryptographic signature and key.\n\n``crypto`` is the cryptographic signature\n``key`` is the verifying key. Can be a real key object or a string.', 'signature': 'def verify(self, msg, crypto, key):'}</s>{'name': 'RouteEndpointError@jw... | 0 |
{'name': 'dict_to_xls@utils.py', 'description': 'Convert dict to excel\n\nArgs:\n dic: result dictionary. Keys are tuples.\n row_keys_idx: index of keys for rows, ordered hierarchicallly\n col_keys_idx: index of keys for columns, ordered hierarchicallly\n sheet_idx: index of keys for sheet', 'signature': 'd... | 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>CONF_EVEN = "even" | 0 |
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>{'name': 'get_signal_number@llvm-project/lldb/packages/Python/lldbsuite/test/lldbutil.py', 'description': 'DOCST... | 0 |
{'name': 'graph.dijkstra_hl@graphlearning/graph.py', 'description': "Dijkstra's algorithm (Hopf-Lax Version)\n======\n\nSolves the graph Hamilton-Jacobi equation\n\\[ \\max_j w_{ji}^{-1} (u(x_i)^2 - u(x_j)^2) = u(x_i)f_i\\]\nsubject to \\(u=g\\) on \\(\\Gamma\\).\n\nParameters\n----------\nbdy_set : numpy array (int) \... | 1 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_BROKER_OPTIONS = 1077 | 0 |
{'name': 'compute_ap@exp2/utils/utils.py', 'description': 'Compute the average precision, given the recall and precision curves.\nSource: https://github.com/rbgirshick/py-faster-rcnn.\n# Arguments\n recall: The recall curve (list).\n precision: The precision curve (list).\n# Returns\n The average precision ... | 0 |
{'name': 'add_handlers@jupyterlab_server/handlers.py', 'description': 'Add the appropriate handlers to the web app.', 'signature': 'def add_handlers(handlers: list[Any], extension_app: LabServerApp) -> None:'}</s>{'name': 'LabHandler@jupyterlab_server/handlers.py', 'description': 'Render the JupyterLab View.', 'base_cl... | 1 |
{'name': 'GDAL2Tiles.open_input@auxiliary/gdal2customtiles/legacy/gdal2tiles_3.5.2.py', 'description': 'Initialization of the input raster, reprojection if necessary', 'signature': 'def open_input(self) -> None:'}</s>__version__ = "$Id$" | 0 |
{'name': 'match_works@python/tests/test_model.py', 'description': 'Hack for Python < 3.10 compatibility', 'signature': 'def match_works(test: unittest.TestCase, matched_value: str, constraint: str) -> None:'}</s>{'name': 'TestBlankNode@python/tests/test_model.py', 'description': 'DOCSTRING', 'base_classes': ['unittest.... | 0 |
{'name': 'default_if_empty@yaql/standard_library/queries.py', 'description': ':yaql:defaultIfEmpty\n\nReturns default value if collection is empty.\n\n:signature: collection.defaultIfEmpty(default)\n:receiverArg collection: input collection\n:argType collection: iterable\n:arg default: value to be returned if collectio... | 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': 'cli@toggl/cli/commands.py', 'description': 'CLI interface to interact with Toggl tracking application.\n\nMany of the options can be set through Environmental variables. The names of the variables\nare denoted in the option\'s helps with format "(ENV: <name of variable>)".\n\nThe authentication credentials ca... | 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': 'CharBasedSeq2SeqGenerator.__init__@shorttext/generators/seq2seq/charbaseS2S.py', 'description': 'Instantiate the class.\n\nIf no one-hot encoder passed in, no compilation will be performed.\n\n:param sent2charvec_encoder: the one-hot encoder\n:param latent_dim: number of latent dimension\n:param maxlen: maxim... | 0 |
{'name': 'convert_developers@code/html/generate_static_website.py', 'description': ':param developers:\n:param entries:\n:return:', 'signature': 'def convert_developers(developers, entries):'}</s>valid_building_properties = ('Build system', 'Build instruction') | 0 |
{'name': 'clean_merged_flowlines@oggm/core/flowline.py', 'description': 'Order and cut merged flowlines to size.\n\nAfter matching flowlines were found and merged to one glacier directory\nthis function makes them nice:\nThere should only be one flowline per bed, so overlapping lines have to be\ncut, attributed to a an... | 0 |
{'name': 'merge_dungeonstatic@bcml/mergers/mubin.py', 'description': 'Merges all changes to the CDungeon Static.smubin', 'signature': 'def merge_dungeonstatic(diffs: dict = None):'}</s>CREATE_NO_WINDOW = 134217728 | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCHT_CLUSRCVR = 8 | 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': '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': 'HTTPConnectionPool._get_conn@Retired Content/MimeCast/SumoLogic-Mimecast-Data-Collection/requests/packages/urllib3/connectionpool.py', 'description': 'Get a connection. Will return a pooled connection if one is available.\n\nIf no connections are available and :prop:`.block` is ``False``, then a\nfresh connec... | 0 |
{'name': 'loadConfig@apim-traffic-tool/lib/traffic-tool/src/python/create_api_scenario.py', 'description': 'This function will load and set the configuration data\n:return: None', 'signature': 'def loadConfig():'}</s>token_registration_endpoint = "" | 1 |
{'name': 'parse_info@parseoutput.py', 'description': 'Parses result of :i <name> command of ghci and returns derived Symbols.Declaration', 'signature': 'def parse_info(name, contents):'}</s>{'name': 'get_cwd@sublime_haskell_common.py', 'description': 'Get cwd for filename: cabal project path, file path or os.getcwd()',... | 0 |
{'name': 'multi_class_non_max_suppression@models/SlowFast/slowfast/utils/ava_evaluation/np_box_mask_list_ops.py', 'description': "Multi-class version of non maximum suppression.\n\nThis op greedily selects a subset of detection bounding boxes, pruning\naway boxes that have high IOU (intersection over union) overlap (> ... | 0 |
{'name': 'atype_perception@scripts/makeflex.py', 'description': 'Automatically perceive atom type from atom name, when the atom type is not\nincluded in the PDB file.\n\nAssumpsions:\n * Atom names start either with a number or the correct element name\n * Element names are correct according to the periodic table... | 0 |
{'name': 'Router._send_remote@da/sim.py', 'description': 'Forward `mesg` to remote process `dest`.\n\n ', 'signature': 'def _send_remote(self, src, dest, mesg, flags=0, transport=None, **params):'}</s>{'name': 'SelfPattern@da/pattern.py', 'description': 'DOCSTRING', 'base_classes': ['ConstantPattern'], 'methods'... | 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': 'sweep@library/dothat/backlight.py', 'description': 'Set the backlight LEDs to a gradient centered on supplied hue\n\nSupplying zero to range would be the same as hue()\n\n:param hue: hue value between 0.0 and 1.0\n:param range: range value to deviate the left and right hue', 'signature': 'def sweep(hue, sweep... | 1 |
{'name': 'PurposeSwapContainer.configureView@plugins/usdview_purpose_swap/plugins/purpose_swap/__init__.py', 'description': "Add a QAction to the main menu of usdview.\n\nWe use a couple private attributes in usdview's objects to get\nit done but oh well.\n\nArgs:\n registry (:class:`pxr.Usdviewq.plugin.PluginRegist... | 0 |
{'name': 'TypeErrorTests.test_keyword_sort_cmpkey@didyoumean/didyoumean_sugg_tests.py', 'description': 'Sort and sorted functions have a cmp/key param dep. on the vers.', 'signature': 'def test_keyword_sort_cmpkey(self):'}</s>{'name': 'LenClass@didyoumean/didyoumean_sugg_tests.py', 'description': 'Custom class with __l... | 0 |
{'name': 'sys_tags@blockchain-env/lib/python3.7/site-packages/packaging/tags.py', 'description': 'Returns the sequence of tag triples for the running interpreter.\n\nThe order of the sequence corresponds to priority order for the\ninterpreter, from most to least important.', 'signature': 'def sys_tags():'}</s>{'name': ... | 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': 'main@mqtt_test.py', 'description': 'The main entry point. ', 'signature': 'def main():'}</s>{'name': 'on_message@mqtt_test.py', 'description': 'MQTT on message callback. ', 'code': 'def on_message(client, userdata, msg):\n """ MQTT on message callback. """\n print(f\'({int(time.time())}) mid:{msg.mid}, ... | 1 |
{'name': 'AverageLearner1D.to_dataframe@adaptive/learner/average_learner1D.py', 'description': 'Return the data as a `pandas.DataFrame`.\n\nParameters\n----------\nwith_default_function_args : bool, optional\n Include the ``learner.function``\'s default arguments as a\n column, by default True\nfunction_prefix : ... | 0 |
{'name': 'scatter@nbinteract/plotting.py', 'description': 'Generates an interactive scatter chart that allows users to change the\nparameters of the inputs x_fn and y_fn.\n\nArgs:\n x_fn (Array | (*args -> Array str | Array int | Array float)):\n If array, uses array values for x-coordinates.\n\n If fu... | 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': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>{'name': 'default_environment@blockchain... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQ_SERVICE_STEP_LENGTH = 8 | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCACH_CHANNEL_NAMES = 3512 | 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': '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': 'ParseArguments@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Parses the command line arguments.\n\nThis may set the output format and verbosity level as side-effects.\n\nArgs:\n args: The command line arguments:\n\nReturns:\n The list of filenames to lint.', 'sign... | 1 |
{'name': 'Function.simplify_string_getter_from_storage@panoramix/function.py', 'description': 'a heuristic for finding string getters and replacing them\nwith a simplified version\n\ntest cases: unicorn\n 0xF7dF66B1D0203d362D7a3afBFd6728695Ae22619 name\n 0xf8e386EDa857484f5a12e4B5DAa9984E06E73705 ... | 0 |
{'name': 'authenticate@src/server/server.py', 'description': 'Sends a 401 response that enables basic auth.', 'signature': 'def authenticate():'}</s>{'name': 'on_delete_class@src/server/server.py', 'description': 'Delete class.', 'code': "def on_delete_class(data):\n '''Delete class.'''\n result = RaceContext.rhd... | 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': 'lava_cell_op@self_organising_systems/biomakerca/extensions/eruption.py', 'description': 'Create the exclusive function of LAVA cells.\n\nLAVA expires after a minimum age.\nLAVA has a falling-sand property. But, if it cannot fall, it then may\nburn nearby burnable cells (making them FIRE).', 'signature': 'def ... | 0 |
{'name': 'load_model@whisper/__init__.py', 'description': 'Load a Whisper ASR model\n\nParameters\n----------\nname : str\n one of the official model names listed by `whisper.available_models()`, or\n path to a model checkpoint containing the model dimensions and the model state_dict.\ndevice : Union[str, torch.d... | 0 |
{'name': 'AdbDevice._filesync_read@adb_shell/adb_device.py', 'description': 'Read ADB messages and return FileSync packets.\n\nParameters\n----------\nexpected_ids : tuple[bytes]\n If the received header ID is not in ``expected_ids``, an exception will be raised\nadb_info : _AdbTransactionInfo\n Info and settings... | 0 |
{'name': 'bisect_good@nix_bisect/bisect_runner.py', 'description': 'Mark a commit as good.\n\nThe same disclaimer as for `bisect_bad` applies.', 'signature': 'def bisect_good(commit):'}</s>_ANSI_RED = "[91m" | 0 |
{'name': 'BBThompsonList.__init__@app/libs/thompson.py', 'description': 'Create an instance of a BB Thompson Sampler.\n ', 'signature': 'def __init__(self, objects, value_names):'}</s>{'name': 'Correlation@app/libs/base.py', 'description': 'Class to represent a correlation using an online estimator.\n\n:var dict... | 0 |
{'name': 'prepare@joeynmt/prediction.py', 'description': 'Helper function for model and data loading.\n\n:param args: config args\n:param rank: ddp rank\n:param mode: execution mode', 'signature': 'def prepare(args: BaseConfig, rank: int,'}</s>{'name': 'build_model@joeynmt/model.py', 'description': 'Build and initializ... | 1 |
{'name': 'get@ffn/data.py', 'description': "Helper function for retrieving data as a DataFrame.\n\nArgs:\n * tickers (list, string, csv string): Tickers to download.\n * provider (function): Provider to use for downloading data.\n By default it will be ffn.DEFAULT_PROVIDER if not provided.\n * common_da... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.