text string | label int64 |
|---|---|
{'name': 'test_indices@gplearn/tests/test_genetic.py', 'description': 'Check that indices are stable when generated on the fly.', 'signature': 'def test_indices():'}</s>{'name': 'test_all_metrics@gplearn/tests/test_genetic.py', 'description': 'Check all supported metrics work', 'code': 'def test_all_metrics():\n """... | 0 |
{'name': 'entrypoint@da/api.py', 'description': 'Entry point for running DistAlgo as the main module.\n\n ', 'signature': 'def entrypoint():'}</s>{'name': 'ProcessId@da/common.py', 'description': 'An instance of `ProcessId` uniquely identifies a DistAlgo process instance.\n\nA `ProcessId` instance should contain all... | 1 |
{'name': 'update_startup_screen@displays/waveshare2in13v3.py', 'description': 'Show startup screen on eInk Display\n ', 'signature': 'def update_startup_screen():'}</s>qr_request_5 = " sats." | 0 |
{'name': 'ScriptRenderer.render@src/conda_devenv/gen_scripts.py', 'description': 'Render the script.\n\n:param environment: The environment to base the script on.\n:return: A full script.', 'signature': 'def render(self, environment: Environment) -> str:'}</s>{'name': 'render_activate_script@src/conda_devenv/gen_script... | 0 |
{'name': 'PFAddr._to_string@pf/rule.py', 'description': 'Return the string representation of the address.', 'signature': 'def _to_string(self):'}</s>{'name': 'PFThreshold@pf/rule.py', 'description': 'Measure the rate of packets matching the rule and states created by it', 'base_classes': ['PFObject'], 'methods': [{'nam... | 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>screenshots_path = entries_path / 'screenshots' | 0 |
{'name': 'PyniniTrainerMixin._alignments@montreal_forced_aligner/g2p/trainer.py', 'description': 'Trains the aligner and constructs the alignments FAR.', 'signature': 'def _alignments(self) -> None:'}</s>{'name': 'MfaProfile@montreal_forced_aligner/config.py', 'description': 'Configuration class for a profile used from... | 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': 'CheckCommaSpacing@tools/cpplint.py', 'description': 'Checks for horizontal spacing near commas and semicolons.\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 ... | 0 |
{'name': 'getSubArrays@training_codes/utils/utils_model.py', 'description': "We want to split the array A=[start:end] in numSubArrays arrays of \nequal length so that all the elements in A are included in at least one of \nthe created sub-arrays.\n\nReturns the starting (s) and ending points (e) of each sub-array.\n\n... | 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': 'gen_from_list@model_mommy/random_gen.py', 'description': "Makes sure all values of the field are generated from the list L\nUsage:\nfrom mommy import Mommy\nclass KidMommy(Mommy):\n attr_mapping = {'some_field':gen_from_list([A, B, C])}", 'signature': 'def gen_from_list(L):'}</s>{'name': 'gen_slug@model_momm... | 0 |
{'name': 'tlp_raw_layout@litepcie/tlp/common.py', 'description': 'Generate a raw TLP endpoint description.\n\nParameters:\n data_width (int): Width of the data (in bits).\n\nReturns:\n EndpointDescription: Raw TLP endpoint description.', 'signature': 'def tlp_raw_layout(data_width):'}</s>tlp_request_header = Head... | 0 |
{'name': 'save_alias@d2lbook/library.py', 'description': 'Save alias into the library file', 'signature': 'def save_alias(tab_lib):'}</s>{'name': '_has_output@d2lbook/notebook.py', 'description': 'Return if a cell has output', 'code': 'def _has_output(cell):\n """Return if a cell has output"""\n return \'outputs\... | 0 |
{'name': 'Connection._handle_error@qds_sdk/connection.py', 'description': 'Raise exceptions in response to any http errors\nArgs:\n response: A Response object\nRaises:\n BadRequest: if HTTP error code 400 returned.\n UnauthorizedAccess: if HTTP error code 401 returned.\n ForbiddenAccess: if HTTP error code... | 0 |
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>INIT_PY_SNIPPET = "
from ._version import get_versions
__version__ = get_versions()['version']
del get_versions
" | 0 |
{'name': 'ParseArguments@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.', 'signature': 'def ParseArguments(args):'}</s>{'name': 'Nes... | 0 |
{'name': 'ClassicAdapter.__call__@deprecated/classic.py', 'description': "Decorate your class or function.\n\n:param wrapped: Wrapped class or function.\n\n:return: the decorated class or function.\n\n.. versionchanged:: 1.2.4\n Don't pass arguments to :meth:`object.__new__` (other than *cls*).\n\n.. versionchanged::... | 0 |
{'name': 'eval_ctx@persia/ctx.py', 'description': 'Get the :class:`EmbeddingCtx` with the :attr:`.EVAL` mode.', 'signature': 'def eval_ctx(*args, **kwargs) -> EmbeddingCtx:'}</s>{'name': 'DataCtx@persia/ctx.py', 'description': 'Data context provides the communication functionality to data generator component.\nUsed for... | 0 |
{'name': 'RemoveStackTraceDetails@third_party/libassimp/contrib/gtest/test/gtest_output_test.py', 'description': "Removes all stack traces from a Google Test program's output.", 'signature': 'def RemoveStackTraceDetails(output):'}</s>{'name': 'ToUnixLineEnding@third_party/libassimp/contrib/gtest/test/gtest_output_test.... | 0 |
{'name': 'TwitchHelix.get_tags@twitch/helix/api.py', 'description': 'https://dev.twitch.tv/docs/api/reference#get-all-stream-tags', 'signature': 'def get_tags(self, after=None, page_size=20, tag_ids=None):'}</s>{'name': 'TwitchHelix@twitch/helix/api.py', 'description': 'Twitch Helix API', 'base_classes': ['object'], 'm... | 1 |
{'name': 'test_all_samplers@tests/test_samplers.py', 'description': 'Test all samplers for 2 parameter types:\n1. JAX array: shape (D,)\n2. list of JAX arrays: shape [(D,), (D,)]\n\nCheck that the samples have the correct shapes and that they include no Nans.', 'signature': 'def test_all_samplers(sam_param):'}</s>build... | 0 |
{'name': 'skos_hierarchical@skosify/infer.py', 'description': 'Infer skos:broader/skos:narrower (S25) but only keep skos:narrower on request.\n\n:param bool narrower: If set to False, skos:narrower will not be added,\n but rather removed.', 'signature': 'def skos_hierarchical(rdf, narrower=True):'}</s>SKOS = Namespa... | 1 |
{'name': 'LoadBalancerAction.create_loadbalancer@qingcloud/iaas/actions/loadbalancer.py', 'description': 'Create new load balancer.\n@param eips: the IDs of the eips that will be associated to load balancer.\n@param loadbalancer_name: the name of the loadbalancer.\n@param security_group: the id of the security_group yo... | 0 |
{'name': 'Camera.getObjectLength@cameratransform/camera.py', 'description': 'Calculate the length of objects in the image, assuming the Z position of the objects is known, e.g. they are\nassumed to lie flat on the Z=0 plane.\n\nParameters\n----------\npoint_front : ndarray\n the positions of the front end, dimension... | 0 |
{'name': 'set_key_value@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Send key value to device', 'signature': 'def set_key_value(sniffer, payload):'}</s>SNIFFER_BAUDRATES = [1000000, 460800] | 0 |
{'name': 'RepeatChart.interactive@altair/vegalite/v3/api.py', 'description': 'Make chart axes scales interactive\n\nParameters\n----------\nname : string\n The selection name to use for the axes scales. This name should be\n unique among all selections within the chart.\nbind_x : boolean, default True\n If tru... | 0 |
{'name': 'assert_a@pydifact/syntax/common.py', 'description': 'checks if s consists of only alphabetical characters, and has a given length.', 'signature': 'def assert_a(s, length):'}</s>{'name': 'assert_n@pydifact/syntax/common.py', 'description': 'checks if s is numeric and has a given length.', 'code': 'def assert_n... | 0 |
{'name': 'merge_blocks_job@maf/impl/naiveLiftUp.py', 'description': "Combine the lifted blocks and add in the current genome's sequence.", 'signature': 'def merge_blocks_job(job, genome, child_names, block_ids, hal_id, opts):'}</s>{'name': 'get_alignment_to_parent@maf/impl/naiveLiftUp.py', 'description': 'Get a file re... | 0 |
{'name': 'PelotonAPI._create_api_session@src/fitly/api/pelotonApi.py', 'description': 'Create a session instance for communicating with the API\n ', 'signature': 'def _create_api_session(cls):'}</s>{'name': 'PelotonWorkoutFactory@src/fitly/api/pelotonApi.py', 'description': 'Class that handles fetching data and ... | 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': 'extraClusterMarkerPlots@pipelines/pipeline_scxl.py', 'd... | 0 |
{'name': 'Ct.enc@examples/tormedian.py', 'description': 'Produce a ciphertext, from a public key and message ', 'signature': 'def enc(pub, m):'}</s>{'name': 'hashes@examples/tormedian.py', 'description': 'Returns d hashes / positions for the item ', 'code': 'def hashes(item, d):\n """ Returns d hashes / positions fo... | 0 |
{'name': 'parse_capture_filter@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': '"Parse given capture filter', 'signature': 'def parse_capture_filter(capture_filter):'}</s>logHandlerArray = [] | 0 |
{'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... | 1 |
{'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': 'annotate_residues_from_sequence@vermouth/dssp/dssp.py', 'description': "Sets the attribute `attribute` to a value from `sequence` for every node in\n`molecule`. Nodes in the n'th residue of `molecule` are given the n'th\nvalue of `sequence`.\n\nParameters\n----------\nmolecule: networkx.Graph\n The molecul... | 0 |
{'name': 'CreateNewImage@goneng.py', 'description': '将指定图片转换颜色\n:param current_filename: 图片路径\n:param new_filename: 保存路径\n:param new_color: 转换颜色 []\n:return:', 'signature': 'def CreateNewImage(current_filename, new_filename, new_color):'}</s>{'name': 'tanChudataForm@goneng.py', 'description': '返回英雄详细资料的text\n:param che... | 0 |
{'name': 'decode@ddparser/parser/model.py', 'description': 'Decode function', 'signature': 'def decode(args, s_arc, s_rel, mask):'}</s>{'name': 'mask_fill@ddparser/parser/nets/nn.py', 'description': 'Fill value to input according to mask\n\nArgs:\n input: input matrix\n mask: mask matrix\n value: Fill value\n\... | 0 |
{'name': 'GAEBuffer.store@fireup/algos/trpo/trpo.py', 'description': 'Append one timestep of agent-environment interaction to the buffer.', 'signature': 'def store(self, obs, act, rew, val, logp, info):'}</s>{'name': 'mpi_statistics_scalar@fireup/utils/mpi_tools.py', 'description': 'Get mean/std and optional min/max of... | 0 |
{'name': '_make_sc_calpha_tensors@sidechainnet/structure/fastbuild.py', 'description': 'Create a dict to map all-atom build_info (lens/angs/etc) to vals per res identity.\n\n For every sidechain atom, we need to know:\n 1) what atom it is building off of (<NUM_COORDS_PER_RES=14),\n 2) the bond length,\... | 0 |
{'name': 'MqttTasmotaCounter.__init__@cfg/hass/custom_components/mytasmota/sensor.py', 'description': 'Initialize the sensor.', 'signature': 'def __init__(self, hass, config):'}</s>DEFAULT_QOS = 1 | 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': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIA_MEDIA_IMAGE_RECOVER_Q = 272 | 0 |
{'name': 'build_timespan@yaql/standard_library/date_time.py', 'description': ':yaql:timespan\n\nReturns timespan object with specified args.\n\n:signature: timespan(days => 0, hours => 0, minutes => 0, seconds => 0,\n milliseconds => 0, microseconds => 0)\n:arg days: number of days in timespan, 0 by... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_OBJECT_WRONG_TYPE = 4002 | 0 |
{'name': '_makeTags@blockchain-env/lib/python3.7/site-packages/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml,'}</s>{'name': 'Keyword@blockchain-env/lib/python3.7/site-packages/pyparsing.py', 'description': 'Tok... | 1 |
{'name': 'check_tasks@scripts/check_fqcn.py', 'description': 'Parse a tasks file.', 'signature': 'def check_tasks(file):'}</s>response = urllib.request.urlopen(url) | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_REQUEST_UPDATE = 66 | 0 |
{'name': 'ISO3166Utils.short2full@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'Convert an ISO 3166-2 country code to the corresponding full name', 'signature': 'def short2full(cls, code):'}</s>{'name': 'YoutubeDLCookieProcessor@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'DOC... | 0 |
{'name': 'main._generate_band@mcu/crystal/crystal.py', 'description': 'Processing/collecting the band data before the plotting function\n ', 'signature': 'def _generate_band(self, filename=None, efermi=None, spin=0, klabel=None):'}</s>HSQDTM = RYTOEV * AUTOA * AUTOA | 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': 'BPF._sym_cache@src/python/bcc/__init__.py', 'description': '_sym_cache(pid)\n\nReturns a symbol cache for the specified PID.\nThe kernel symbol cache is accessed by providing any PID less than zero.', 'signature': 'def _sym_cache(pid):'}</s>{'name': 'XDPFlags@src/python/bcc/__init__.py', 'description': 'DOCST... | 0 |
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_277 = Badge("bowl with spo... | 0 |
{'name': 'LoadBalancerAction.create_loadbalancer@qingcloud/iaas/actions/loadbalancer.py', 'description': 'Create new load balancer.\n@param eips: the IDs of the eips that will be associated to load balancer.\n@param loadbalancer_name: the name of the loadbalancer.\n@param security_group: the id of the security_group yo... | 0 |
{'name': 'on_set_race_format@src/server/server.py', 'description': 'set current race_format ', 'signature': 'def on_set_race_format(data):'}</s>logger = logging.getLogger(__name__) | 1 |
{'name': 'to_pretty_midi_time_signature@muspy/outputs/midi.py', 'description': 'Return a TimeSignature object as a pretty_midi TimeSignature.', 'signature': 'def to_pretty_midi_time_signature('}</s>{'name': 'to_mido_note_on_note_off@muspy/outputs/midi.py', 'description': 'Return a Note object as mido Message objects.\n... | 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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQSP_NOT_AVAILABLE = 0 | 0 |
{'name': 'replication@ExplanationEvaluation/tasks/replication.py', 'description': 'Perform the replication study.\nFirst load a pre-trained model.\nThen we train our expainer.\nFollowed by obtaining the generated explanations.\nAnd saving the obtained AUC score in a json file.\n:param config: a dict containing the conf... | 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': 'BaseRequest.query@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'The :attr:`query_string` parsed into a :class:`FormsDict`. These\nvalues are sometimes called "URL arguments" or "GET parameters", but\nnot to be confused with "URL wildcards" as they are provided by the\n:class:`Router`. ', 's... | 0 |
{'name': 'Serial.open@serial/serialwin32.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>PURGE_TXABORT = 1 | 1 |
{'name': 'dump_encoding@src/freetype/src/tools/glnames.py', 'description': 'dump a given encoding', 'signature': 'def dump_encoding(file, encoding_name, encoding_list):'}</s>{'name': 'dump_array@src/freetype/src/tools/glnames.py', 'description': 'dumps a given encoding', 'code': 'def dump_array(the_array, write, array_... | 0 |
{'name': 'serialize@strictyaml/ruamel/main.py', 'description': 'Serialize a representation tree into a YAML stream.\nIf stream is None, return the produced string instead.', 'signature': 'def serialize(node, stream=None, Dumper=Dumper, **kwds):'}</s>{'name': 'Loader@strictyaml/ruamel/loader.py', 'description': 'DOCSTRI... | 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': 'scale_matrix@transformations.py', 'description': 'Return matrix to scale by factor around origin in direction.\n\nUse factor -1 f... | 0 |
{'name': 'send_messages@examples/socket_example.py', 'description': 'Send messages (client side)\n:param server_address: (str)', 'signature': 'def send_messages(server_address):'}</s>SERVER_ADDR = "localhost" | 0 |
{'name': 'OpinionStandardModel._GetDataForVariantSet@pxr/usdQt/opinionModel.py', 'description': 'Parameters\n----------\nproxy : UsdQtProxyBase\ncolumn : str\nrole : QtCore.Qt.ItemDataRole\n\nReturns\n-------\nOptional[Any]', 'signature': 'def _GetDataForVariantSet(self, proxy, column, role):'}</s>{'name': 'EditorHintT... | 0 |
{'name': 'createPerson@python/app/mob_loc.py', 'description': 'create person', 'signature': 'def createPerson():'}</s>personTypes = ["working", "homeMaker", "student"] | 1 |
{'name': 'make_language_per_repo_list@sources/graphics_list_formatter.py', 'description': 'Calculate language-related info, how many repositories in what language user has.\n\n:param repositories: User repositories.\n:returns: string representation of statistics.', 'signature': 'def make_language_per_repo_list(reposito... | 0 |
{'name': 'get_train_video@dataset/dataset.py', 'description': 'Chooses a random clip from a video for training/ validation\nArgs:\n opt : config options\n frame_path : frames of video frames\n Total_frames: Number of frames in the video\nReturns:\n list(frames) : random clip (list of frames of leng... | 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>ERROR_PAGE_TEMPLATE = """... | 0 |
{'name': 'SystemTest.test_get_active_mode_hot_water_holiday_mode@tests/test_system.py', 'description': 'Test get active mode for hot water with holiday mode.', 'signature': 'def test_get_active_mode_hot_water_holiday_mode(self) -> None:'}</s>{'name': 'SettingModes@pymultimatic/model/mode.py', 'description': 'Groups all... | 0 |
{'name': 'mutate_fix_var_filter@gp_learner.py', 'description': 'Filters results of fix var mutation in-place.\n\nExcludes:\n- too long literals\n- URIs with encoding errors (real world!)\n- BNode results (they will not be fixed but stay SPARQL vars)\n- NaN or INF literals (Virtuoso bug\n https://github.com/openlink/... | 0 |
{'name': 'build@build.py', 'description': 'Builds mssql-cli package.', 'signature': 'def build():'}</s>{'name': 'create_dir@build.py', 'description': 'DOCSTRING', 'code': 'def create_dir(path):\n curr_path = None\n for p in path:\n if curr_path is None:\n curr_path = os.path.abspath(p)\n ... | 0 |
{'name': 'Test.test_L5@tests/test_image.py', 'description': 'Test the image module for Landsat 5', 'signature': 'def test_L5(self):'}</s>MYD17A2H = ee.ImageCollection("MODIS/006/MYD17A2H").first() | 0 |
{'name': 'bytes_to_unicode@versions/2023/multimodal/python/models/multimodal_preprocessors.py', 'description': "Returns list of utf-8 byte and a corresponding list of unicode strings.\nThe reversible bpe codes work on unicode strings.\nThis means you need a large # of unicode characters in your vocab if you want to avo... | 0 |
{'name': 'CheckForNonConstReference@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines in... | 0 |
{'name': 'Client.start_broadcast@opentok/opentok.py', 'description': 'Use this method to start a live streaming broadcast for an OpenTok session. This broadcasts\nthe session to an HLS (HTTP live streaming) or to RTMP streams. To successfully start\nbroadcasting a session, at least one client must be connected to the s... | 0 |
{'name': 'dump_json_data@pages/plugins/jsonexport/utils.py', 'description': 'Return a python dict representation of this page for use as part of\na JSON export.', 'signature': 'def dump_json_data(page):'}</s>PAGES_MEDIA_URL = get_setting('PAGES_MEDIA_URL') | 0 |
{'name': 'validate_filepath@pathvalidate/_filepath.py', 'description': 'Verifying whether the ``file_path`` is a valid file path or not.\n\nArgs:\n file_path (PathType):\n File path to be validated.\n platform (Optional[PlatformType], optional):\n Target platform name of the file path.\n\n ..... | 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': 'to_ContextObj@src/api/python/z3/z3.py', 'd... | 0 |
{'name': 'quic_graph_lasso_ebic@examples/estimator_suite_spark.py', 'description': 'Run QuicGraphicalLassoEBIC with gamma.\n\nQuicGraphicalLassoEBIC is a convenience class. Results should be identical to\nthose obtained via quic_graph_lasso_ebic_manual.', 'signature': 'def quic_graph_lasso_ebic(X, gamma=0):'}</s>{'nam... | 0 |
{'name': 'IncInterfaceGenerator.do_table4_transformation@da/compiler/incgen.py', 'description': 'Transformation defined in Table 4 of OOPSLA paper.\n\nThis transformation breaks up quantification conditions involving\nlogical operators (and/or) in the hopes of creating opportunities to\napply table 3.\n\nNote 1: unlike... | 0 |
{'name': 'run_bind_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with requested rpcallowip and rpcbind parameters,\nthen try to connect, and check if the set of bound addresses\nmatches the expected set.', 'signature': 'def run_bind_test(tmpdir, allow_ips, connect_to, addresses, expected):'}</s>{'nam... | 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': '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': 'CheckBraces@scripts/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 f... | 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': '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': 'extract_data@ytmdl/main.py', 'description': 'Extract the arguments and act accordingly.', 'signature': 'def extract_data():'}</s>{'name': 'MetadataError@ytmdl/exceptions.py', 'description': 'Exception for metadata related errors while setting metadata\n\nThis is only to be raised when something goes wrong whi... | 0 |
{'name': 'MqttTasmotaCounter.__init__@cfg/hass/custom_components/mytasmota/sensor.py', 'description': 'Initialize the sensor.', 'signature': 'def __init__(self, hass, config):'}</s>{'name': 'get_tasmota_result@cfg/hass/custom_components/mytasmota/__init__.py', 'description': 'DOCSTRING', 'code': "def get_tasmota_result... | 0 |
{'name': 'aa2mat@models/transforms.py', 'description': 'Convert angle-axis representation to rotation matrix\n:param rots: angle-axis representation\n:return:', 'signature': 'def aa2mat(rots):'}</s>{'name': 'aa2quat@models/transforms.py', 'description': "Convert angle-axis representation to wxyz quaternion and to the h... | 1 |
{'name': 'fit_smpl@src/SMPL/fit_smpl.py', 'description': 'fit smpl model with 3d keypoints data', 'signature': 'def fit_smpl(data):'}</s>opt = parser.parse_args() | 0 |
{'name': 'TLP.get_lower_address@fpga/lib/pcie/tb/pcie.py', 'description': 'Compute lower address field from address and first byte enable', 'signature': 'def get_lower_address(self):'}</s>TLP_PREFIX_EXT_TPH = (FMT_TLP_PREFIX, 0x10) | 0 |
{'name': 'toggle_fullscreen@soundrts/clientmedia.py', 'description': 'toggle full screen mode, and say it', 'signature': 'def toggle_fullscreen():'}</s>ALLY = [4286] | 0 |
{'name': 'get_arguments@evaluate.py', 'description': 'Parse all the arguments provided from the CLI.\n\nReturns:\n A list of parsed arguments.', 'signature': 'def get_arguments():'}</s>{'name': 'VOCDataSet@data/voc_dataset.py', 'description': 'DOCSTRING', 'base_classes': ['data.Dataset'], 'methods': [{'name': 'VOCData... | 0 |
{'name': 'CPLEX_CMD.readsol@pulp/apis/cplex_api.py', 'description': 'Read a CPLEX solution file', 'signature': 'def readsol(filename):'}</s>log = logging.getLogger(__name__) | 0 |
{'name': 'to_band@eoreader/bands/__init__.py', 'description': 'Convert a string (or real value) to any alias, band or index.\n\nYou can pass the name or the value of the bands.\n\nArgs:\n to_convert (Union[list, BandNames, str]): Values to convert into band objects\n as_list (bool): Return the result as a list\n\... | 0 |
{'name': 'Retryer.__init__@garminexport/retryer.py', 'description': 'Creates a new :class:`Retryer` set up to use a given set of\nstrategies to control its behavior.\n\nWith only default values, the retryer will keep retrying\nindefinitely until a value (any value) is returned by\nthe called function. Any raised errors... | 0 |
{'name': 'TestSanitizeTxData.test_no_combine_with_fee@tests/test_transaction.py', 'description': 'Verify that unused unspents do not increase fee.', 'signature': 'def test_no_combine_with_fee(self):'}</s>{'name': 'TestConstructOutputBlock@tests/test_transaction.py', 'description': 'DOCSTRING', 'base_classes': [], 'meth... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.