text string | label int64 |
|---|---|
{'name': 'ProcessLine@tools/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n wi... | 0 |
{'name': 'Client.start_archive@opentok/opentok.py', 'description': 'Starts archiving an OpenTok session.\n\nClients must be actively connected to the OpenTok session for you to successfully start\nrecording an archive.\n\nYou can only record one archive at a time for a given session. You can only record archives\nof se... | 0 |
{'name': 'make_SEP_catalog@grizli/prep.py', 'description': "Make a catalog from drizzle products using the SEP implementation of SourceExtractor\n\nParameters\n----------\nroot : str\n Rootname of the FITS images to use for source extraction. This\n function is designed to work with the single-image products fro... | 0 |
{'name': 'apply_flt_dq@grizli/utils.py', 'description': 'Read and apply the compact exposure information file\n\nParameters\n----------\nfilename : str\n FLT/FLC filename.\n\nreplace : (str, str)\n Replace arguments for output DQ filename:\n\n >>> output_filename = filename.replace(replace[0], replace[1])\n\no... | 0 |
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>{'name': 'pf_poolhashkey@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []} | 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': 'IntelHex._decode_record@nordicsemi/dfu/intelhex/__init__.py', 'description': 'Decode one record of HEX file.\n\n@param s line with HEX record.\n@param line line number (for error messages).\n\n@raise EndOfFile if EOF record encountered.', 'signature': 'def _decode_record(self, s, line=0):'}</s>{... | 0 |
{'name': 'safe_dump_all@strictyaml/ruamel/main.py', 'description': 'Serialize a sequence of Python objects into a YAML stream.\nProduce only basic YAML tags.\nIf stream is None, return the produced string instead.', 'signature': 'def safe_dump_all(documents, stream=None, **kwds):'}</s>{'name': 'StreamEndEvent@strictyam... | 0 |
{'name': 'extract_kalman_boxes@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def extract_kalman_boxes(dataset_test, net, rpn_conf, test_path, data_folder):'}</s>{'name': 'locate_anchors@lib/rpn_util.py', 'description': 'Spreads each anchor shape across a feature m... | 0 |
{'name': 'Task.from_requests@transformer/task.py', 'description': 'Generates a set of Tasks from a given set of Requests.', 'signature': 'def from_requests('}</s>{'name': 'Symbol@transformer/python.py', 'description': 'The name of something (variable, function, etc.).\nAvoids any kind of string quoting and escaping tha... | 0 |
{'name': 'test_nar_step_ahead_insufficient_initial_conditions@sysidentpy/tests/test_narmax_base.py', 'description': 'Test that _nar_step_ahead raises an error if input is too short.', 'signature': 'def test_nar_step_ahead_insufficient_initial_conditions():'}</s>{'name': 'test_house@sysidentpy/tests/test_narmax_base.py'... | 0 |
{'name': 'Storage.load_model_from_template@loudml/storage.py', 'description': 'Load model from template file', 'signature': 'def load_model_from_template(self, _name, *args, **kwargs):'}</s>{'name': 'Invalid@loudml/errors.py', 'description': 'Data is invalid', 'base_classes': ['LoudMLException'], 'methods': [{'name': '... | 0 |
{'name': 'DayGroupCreateView.form_valid@rosters/views.py', 'description': 'Add all days to day group by default.', 'signature': 'def form_valid(self, form):'}</s>{'name': 'TimeSlotCreateView@rosters/views.py', 'description': 'Time Slot Create View.', 'base_classes': ['LoginRequiredMixin', 'PermissionRequiredMixin', 'Cr... | 0 |
{'name': 'bisect_bad@nix_bisect/bisect_runner.py', 'description': "Mark a commit as bad.\n\nWarning: This may have the side-effect of switching to a different\nrevision.\n\nUnfortunately we don't have control about that. In the future we may want\nto manage the refs and the bisect-log manually.", 'signature': 'def bise... | 0 |
{'name': 'OpenFlowV10Switch.__initDefaults__@modules/sdnpwn/ofv10/sdnpwn_ofv10_switch.py', 'description': 'Called on initialisation. Will set default values for statistics.', 'signature': 'def __initDefaults__(self):'}</s>{'name': 'OFv10MessageHandler@modules/sdnpwn/ofv10/sdnpwn_ofv10_handlers.py', 'description': 'DOCS... | 0 |
{'name': 'Message._postprocess_single@src/betterproto/__init__.py', 'description': 'Adjusts values after parsing.', 'signature': 'def _postprocess_single('}</s>FIXED_TYPES = [
TYPE_FLOAT,
TYPE_DOUBLE,
TYPE_FIXED32,
TYPE_SFIXED32,
TYPE_FIXED64,
TYPE_SFIXED64,
] | 0 |
{'name': 'BufferInterface.lookup_transform@tf2_ros_py/tf2_ros/buffer_interface.py', 'description': 'Get the transform from the source frame to the target frame.\n\nMust be implemented by a subclass of BufferInterface.\n\n:param target_frame: Name of the frame to transform into.\n:param source_frame: Name of the input f... | 0 |
{'name': 'hybrid_cqt@librosa/core/constantq.py', 'description': "Compute the hybrid constant-Q transform of an audio signal.\n\nHere, the hybrid CQT uses the pseudo CQT for higher frequencies where\nthe hop_length is longer than half the filter length and the full CQT\nfor lower frequencies.\n\nParameters\n----------\n... | 0 |
{'name': 'Header.FillOut@vimdoc/docline.py', 'description': 'Expands the usage line with the given arguments.', 'signature': 'def FillOut(self, name, sep, extra_reqs, extra_opts):'}</s>{'name': 'DuplicateSection@vimdoc/error.py', 'description': 'DOCSTRING', 'base_classes': ['BadStructure'], 'methods': [{'name': 'Duplic... | 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.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': 'skew@pymeteo/skewt.py', 'description': 'Puts the skew in skew-T\n\n:parameter p: pressure level of the point.\n\nThis calculates the skew of the T axis for a point to plot. \nThis assumes a logarithmic y axes and uses the variable\n:py:data:skew_angle to determine the skew. This is the \nmagic that turns a ... | 0 |
{'name': 'Client.__init__@python-sdk/pachyderm_sdk/client.py', 'description': "Creates a Pachyderm client.\n\nParameters\n----------\nhost : str, optional\n The pachd host. Default is 'localhost', which is used with\n ``pachctl port-forward``.\nport : int, optional\n The port to connect to. Default is 30650.\n... | 0 |
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PFI_AFLAG_MODEMASK = 7 | 0 |
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>CWSta... | 0 |
{'name': 'load@robopianist/music/__init__.py', 'description': 'Make a MidiFile object from a path or name.\n\nArgs:\n path_or_name: Path or name of the midi file.\n stretch: Temporal stretch factor. Values greater than 1.0 slow down a song, and\n values less than 1.0 speed it up.\n shift: Number of semi... | 0 |
{'name': 'Empty@src/api/python/z3/z3.py', 'description': 'Create the empty sequence of the given sort\n>>> e = Empty(StringSort())\n>>> e2 = StringVal("")\n>>> print(e.eq(e2))\nTrue\n>>> e3 = Empty(SeqSort(IntSort()))\n>>> print(e3)\nEmpty(Seq(Int))\n>>> e4 = Empty(ReSort(SeqSort(IntSort())))\n>>> print(e4)\nEmpty(ReSo... | 0 |
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>{'name': 'common_dir@src/python_scripts/afnipy/afni_util.py', 'description'... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCMDL_LEVEL_923 = 923 | 0 |
{'name': 'bottleneck@libs/networks/slim_nets/resnet_v2.py', 'description': "Bottleneck residual unit variant with BN before convolutions.\n\nThis is the full preactivation residual unit variant proposed in [2]. See\nFig. 1(b) of [2] for its definition. Note that we use here the bottleneck\nvariant which has an extra bo... | 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': 'desired_user@github_scanner.py', 'description': 'Given a GitHub repo "name" (e.g., "comp215-week01-intro-2017-danwallach"), returns true or false if that\nproject is something we\'re trying to grade now, based on the specified prefix as well as the list of graders\n(to be ignored). Since we might be dealing w... | 0 |
{'name': 'render_pep440_pre@versioneer.py', 'description': 'TAG[.post0.devDISTANCE] -- No -dirty.\n\nExceptions:\n1: no tags. 0.post0.devDISTANCE', 'signature': 'def render_pep440_pre(pieces):'}</s>{'name': 'run_command@versioneer.py', 'description': 'Call the given command(s).', 'code': 'def run_command(commands, args... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRO_EXPIRATION_WITH_FULL_DATA = 14680064 | 0 |
{'name': 'MatchedPairsRMSETest.testSimulateGeoXDataRandomization@trimmed_match/design/tests/matched_pairs_rmse_test.py', 'description': 'Checks randomization within the pair.', 'signature': 'def testSimulateGeoXDataRandomization(self):'}</s>GeoXEstimator = geo_level_estimators.GeoXEstimator | 0 |
{'name': 'preaggregate_time@verif/data.py', 'description': 'Aggregate array across time\n\nArgs:\n array (np.array): 3D array of observations or forecasts\n times (np.array): 1D array of unixtimes (seconds)\n aggregator (verif.aggregator.Aggregator): Aggregate with this function\n length (float): Aggregate ... | 0 |
{'name': 'conv1d_transpose@modules.py', 'description': 'Args:\n inputs: A 3-D tensor with shape of [batch, time, depth].\n filters: An int. Number of outputs (=activation maps)\n size: An int. Filter size.\n rate: An int. Dilation rate.\n padding: Either `same` or `valid` or `causal` (case-insensitive).\n dropout... | 1 |
{'name': 'generate_vegalite_schema_wrapper@tools/generate_schema_wrapper.py', 'description': 'Generate a schema wrapper at the given path.', 'signature': 'def generate_vegalite_schema_wrapper(schema_file):'}</s>HEADER = "# The contents of this file are automatically written by
# tools/generate_schema_wrapper.py. Do not... | 1 |
{'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>DIRECTION_EGRESS = 1 | 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': '_create_initial_typedef@swagger_to/py_client.py', 'description': 'Create a placeholder so that a mapping for identifiable typedefs can be pre-populated.\n\nThis is necessary to avoid looping endlessly through cycles.', 'signature': 'def _create_initial_typedef(intermediate_typedef: swagger_to.intermediate.Typ... | 0 |
{'name': 'GefRemoteSessionManager.connect@gef.py', 'description': 'Connect to remote target. If in extended mode, also attach to the given PID.', 'signature': 'def connect(self, pid: int) -> bool:'}</s>{'name': 'ResetCacheCommand@gef.py', 'description': 'Reset cache of all stored data. This command is here for debuggin... | 0 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools subclasses used by Versioneer.\n\nIf the package uses a different cmdclass (e.g. one from numpy), it\nshould be provide as an argument.', 'signature': 'def get_cmdclass(cmdclass: Optional[Dict[str, Any]] = None):'}</s>{'name': 'pep440_spli... | 0 |
{'name': 'check_undefined@tests/utils/text.py', 'description': 'check whether the global var names are not defined ', 'signature': 'def check_undefined(var_names):'}</s>{'name': 'get_consumed_reclaimed_size@tests/utils/text.py', 'description': 'DOCSTRING', 'code': 'def get_consumed_reclaimed_size(output):\n pat = re... | 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': '_check_is_max_context@third_party/processors/squad.py', 'description': "Check if this is the 'max context' doc span for the token.", 'signature': 'def _check_is_max_context(doc_spans, cur_span_index, position):'}</s>{'name': 'SquadV1Processor@third_party/processors/squad.py', 'description': 'DOCSTRING', 'base... | 0 |
{'name': 'combine4Role@code/parseJsontoFeatures.py', 'description': 'find features for role identification and add into dict', 'signature': 'def combine4Role(tokens,arglist,deptree,enh):'}</s>encoded = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','y','z','aa','x'] | 1 |
{'name': 'identity_matrix@imgviz/external/transformations.py', 'description': 'Return 4x4 identity/unit matrix.\n\n>>> I = identity_matrix()\n>>> np.allclose(I, np.dot(I, I))\nTrue\n>>> np.sum(I), np.trace(I)\n(4.0, 4.0)\n>>> np.allclose(I, np.identity(4))\nTrue', 'signature': 'def identity_matrix():'}</s>{'name': 'inv... | 0 |
{'name': 'TrimmedMatchGeoXDesign.__init__@trimmed_match/design/trimmed_match_design.py', 'description': "Initializes the instance.\n\nArgs:\n geox_type: str, type of the experiment. See supported values in GeoXType.\n pretest_data: pd.DataFrame (date, geo, ...).\n time_window_for_design: TimeWindow, representing the... | 0 |
{'name': 'AdbDevice._filesync_send@adb_shell/adb_device.py', 'description': 'Send/buffer FileSync packets.\n\nPackets are buffered and only flushed when this connection is read from. All\nmessages have a response from the device, so this will always get flushed.\n\nParameters\n----------\ncommand_id : bytes\n Comman... | 0 |
{'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': 'reconstruct_image@icnn/icnn_dgn_gd.py', 'description': "Reconstruct image from CNN features using gradient descent with momentum and a deep generator network.\n\nParameters\n----------\nfeatures: dict\n The target CNN features.\n The CNN features of multiple layers are assembled in a python dictionary, ... | 1 |
{'name': 'ReplaceByFeeTest.test_doublespend_tree@test/functional/feature_rbf.py', 'description': 'Doublespend of a big tree of transactions', 'signature': 'def test_doublespend_tree(self):'}</s>MESSAGEMAP = {
b"addr": msg_addr,
b"block": msg_block,
b"blocktxn": msg_blocktxn,
b"cmpctblock": msg_cmpctbloc... | 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': 'ParseNolintSuppressions@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Updates the global list of error-suppressions.\n\nParses any NOLINT comments on the current line, updating the global\nerror_suppressions store. Reports an error if the NOLINT comment\nwas malformed.\n\nArgs:\n filename: st... | 0 |
{'name': 'has_good_and_bad@nix_bisect/bisect_runner.py', 'description': 'Determines if the bisect can start', 'signature': 'def has_good_and_bad():'}</s>_ANSI_RESET = "[0m" | 0 |
{'name': 'MergeJob.update_from_target_branch_and_push@marge/job.py', 'description': 'Updates `source_branch` on `target_branch`, optionally add trailers and push.\nThe update strategy can either be rebase or merge. The default is rebase.\n\nReturns\n-------\n(sha_of_target_branch, sha_after_update, sha_after_rewrite)',... | 0 |
{'name': 'Muse._subscribe_eeg@muselsl/muse.py', 'description': 'subscribe to eeg stream.', 'signature': 'def _subscribe_eeg(self):'}</s>LSL_PPG_CHUNK = 6 | 0 |
{'name': 'PacketFilter.set_limit@pf/filter.py', 'description': "Set hard limits on the memory pools used by Packet Filter.\n\n'limit' can be either one of the PF_LIMIT_* constants or a string; a\n'value' of UINT_MAX means unlimited. Raise PFError if the current pool\nsize exceeds the requested hard limit.", 'signature'... | 0 |
{'name': 'Metadata.check_tags@redfish_service_validator/metadata.py', 'description': 'Perform some checks on the tags in the $metadata XML looking for unrecognized tags,\ntags missing required attributes, etc.', 'signature': 'def check_tags(self):'}</s>{'name': 'format_tag_string@redfish_service_validator/metadata.py',... | 1 |
{'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': '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': 'parseMappingFile@amptk/amptklib.py', 'description': 'function to parse mapping file pull out primers and barcode sequences', 'signature': 'def parseMappingFile(input, output):'}</s>{'name': 'AlignBarcode2@amptk/amptklib.py', 'description': 'DOCSTRING', 'code': 'def AlignBarcode2(Seq, BarcodeDict, mismatch):\n... | 0 |
{'name': 'View._dbscan@picasso/gui/render.py', 'description': 'Performs DBSCAN in a given channel with user-defined parameters\nand saves the result.\n\nParameters\n----------\nchannel : int\n Index of the channel were clustering is performed\npath : str\n Path to save clustered localizations\nradius : float\n ... | 0 |
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>CAP_TRIANGLE_IN = 2 | 0 |
{'name': 'preprocess@grizli/pipeline/auto_script.py', 'description': 'Preprocessing script\n\nParameters\n----------\nfield_root : str\n Basename of the exposure group processed together\n\nHOME_PATH : str\n Base path for file processing\n\nmaster_radec : str\n Force use this radec file for astrometric alignme... | 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>MQCXP_VERSION_1 = 1 | 0 |
{'name': 'Model_latency.Latency_stall_calculate@MNSIM/Latency_Model/Model_latency.py', 'description': 'should be used after the calculate_model ', 'signature': 'def Latency_stall_calculate(self):'}</s>{'name': 'merge_interval@MNSIM/Latency_Model/Model_latency.py', 'description': 'DOCSTRING', 'code': 'def merge_interval... | 1 |
{'name': 'build_test_project@third-party/draco/src/draco/tools/install_test/test.py', 'description': 'Builds the test application in shared and static configurations.', 'signature': 'def build_test_project():'}</s>TEST_SHARED_INSTALL_PATH = os.path.join(TEST_SOURCES_PATH,
'_test_... | 1 |
{'name': 'GTestHelpTest.TestHelpFlag@third-party/googletest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.\n\nArgs:\n flag: A flag to pass to the binary or No... | 0 |
{'name': 'test_fixed_port_environment_variables@tests/test_server.py', 'description': "Note that we cannot test the fixture here because it is session scoped\nand was already started. Thus, let's just test a new Server instance.", 'signature': 'def test_fixed_port_environment_variables(protocol):'}</s>{'name': 'test_do... | 0 |
{'name': 'pytest_fixture_setup@pytest_asyncio/plugin.py', 'description': 'Adjust the event loop policy when an event loop is produced.', 'signature': 'def pytest_fixture_setup('}</s>{'name': 'pytest_addoption@pytest_asyncio/plugin.py', 'description': 'DOCSTRING', 'code': 'def pytest_addoption(parser: Parser, pluginmana... | 0 |
{'name': 'Client.get_1k_tournaments@clashroyale/royaleapi/client.py', 'description': 'Get a list of tournaments that have at least 1000\nmax players\n\n\\*\\*open: Optional[int] = 0\n Set to 1 to filter tournaments that are\n open\n\\*\\*full: Optional[int] = 0\n Set to 1 to filter tournaments that are\n fu... | 0 |
{'name': 'QuadNode.__str__@PythonCode/adk/quad.py', 'description': 'toString representation.', 'signature': 'def __str__(self):'}</s>{'name': 'QuadTree@PythonCode/adk/quad.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'QuadTree.__init__@PythonCode/adk/quad.py', 'description': 'Create Quad Tr... | 0 |
{'name': 'intPrefixedToBytes@tubes/framing.py', 'description': 'Prepend packed network endian lengths to a sequence of bytes representing\nframes.\n\n@param prefixBits: The number of bits to use for the length prefix: either\n 8, 16, or 32.\n\n@return: a new L{ITube} that does the conversion.', 'signature': 'def int... | 0 |
{'name': 'IPyExperiments.print_state@ipyexperiments/ipyexperiments.py', 'description': 'Print memory stats ', 'signature': 'def print_state(self):'}</s>{'name': 'IPyExperimentsPytorch@ipyexperiments/ipyexperiments.py', 'description': 'DOCSTRING', 'base_classes': ['IPyExperimentsGPU'], 'methods': [{'name': 'IPyExperimen... | 0 |
{'name': 'connect_to_usb_bitbox@py/send_message.py', 'description': 'Connects and runs the main menu on a BitBox02 connected\nover USB.', 'signature': 'def connect_to_usb_bitbox(debug: bool, use_cache: bool) -> int:'}</s>HWW_CMD = 0x80 + 0x40 + 0x01 | 0 |
{'name': 'get_urls@openwisp_ipam/urls.py', 'description': 'returns:: all the urls of the openwisp-ipam module\narguments::\n api_views: location for getting API views', 'signature': 'def get_urls(api_views):'}</s>urlpatterns = [path('', include(get_urls(ipam_api_views)))] | 0 |
{'name': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra... | 0 |
{'name': 'convert_inspirations@code/html/generate_static_website.py', 'description': ':param inspirations:\n:param entries:\n:return:', 'signature': 'def convert_inspirations(inspirations, entries):'}</s>inspirations_index_path = inspirations_path + ['index.html'] | 0 |
{'name': 'count@kb_python/count.py', 'description': 'Generates count 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 technology: Single-cell technology used\n out_dir: Path to output directory\n fastqs: List of FASTQ file pa... | 0 |
{'name': 'Client.add_archive_stream@opentok/opentok.py', 'description': 'This method will add streams to the archive with addStream for new participant(choosing audio, video or both).\n\n:param String archive_id: the ID of the archive that will be updated\n:param String stream_id: the id of the stream that will get add... | 0 |
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Should only allow up to 520 byte pushes in witness stack ', 'signature': 'def test_max_witness_push_length(self):'}</s>OP_NOP6 = CScriptOp(0xb5) | 0 |
{'name': 'init_mp_pool@oggm/workflow.py', 'description': 'Necessary because at import time, cfg might be uninitialized', 'signature': 'def init_mp_pool(reset=False):'}</s>{'name': 'catchment_intersections@oggm/core/centerlines.py', 'description': 'Computes the intersections between the catchments.\n\nA glacier usually ... | 0 |
{'name': 'Downsampling.forward@models/blocks.py', 'description': ':param pos: (B, N, 3)\n:param x: (B, N, d)\n:return (B, rN, d)', 'signature': 'def forward(self, pos, x):'}</s>{'name': 'get_mesh@models/utils.py', 'description': 'DOCSTRING', 'code': 'def get_mesh(dim, steps, start=-0.2, end=0.2):\n assert ... | 0 |
{'name': 'PFOp._to_string@pf/rule.py', 'description': 'Return the string representation of the operation.', 'signature': 'def _to_string(self):'}</s>ICMP6_FQDN_QUERY = 139 | 0 |
{'name': 'TestLoader.__init__@Contents/Libraries/Shared/nose/loader.py', 'description': 'Initialize a test loader.\n\nParameters (all optional):\n\n* config: provide a `nose.config.Config`_ or other config class\n instance; if not provided a `nose.config.Config`_ with\n default values is used. \n* importer: ... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQEXT_ALL = 0 | 0 |
{'name': 'Client.mute_all@opentok/opentok.py', 'description': 'Mutes all streams in an OpenTok session.\n\nYou can include an optional list of streams IDs to exclude from being muted.\n\nIn addition to existing streams, any streams that are published after the call to\nthis method are published with audio muted. You ca... | 0 |
{'name': 'compile@mako/codegen.py', 'description': 'Generate module source code given a parsetree node,\nuri, and optional source filename', 'signature': 'def compile(node,'}</s>{'name': 'xml_escape@mako/filters.py', 'description': 'DOCSTRING', 'code': 'def xml_escape(string):\n return re.sub(r\'([&<"\\\'>])\', lamb... | 0 |
{'name': 'ParseArguments@tools/caffe-sphereface/scripts/cpp_lint.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(a... | 0 |
{'name': 'get_schedule@src/fitly/api/pelotonApi.py', 'description': 'Returns list of on-demand workouts', 'signature': "def get_schedule(fitness_discipline, class_names=['all'], taken_class_ids=[], limit=10, is_favorite_ride=False,"}</s>{'name': 'PelotonException@src/fitly/api/pelotonApi.py', 'description': 'This is ou... | 0 |
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>{'name': 'CheckBraces@third_party/cpplint/cpplint.py', 'description': 'Looks for misplaced brac... | 0 |
{'name': 'View.analyze_cluster@picasso/gui/render.py', 'description': 'Clusters picked locs using k-means clustering. ', 'signature': 'def analyze_cluster(self):'}</s>{'name': 'next_frame_neighbor_distance_histogram@picasso/postprocess.py', 'description': 'DOCSTRING', 'code': 'def next_frame_neighbor_distance_histogram... | 0 |
{'name': '_batched_write_command_impl@venv/Lib/site-packages/pymongo/message.py', 'description': 'Create a batched OP_QUERY write command.', 'signature': 'def _batched_write_command_impl('}</s>{'name': '_gen_find_command@venv/Lib/site-packages/pymongo/message.py', 'description': 'Generate a find command document.', 'co... | 0 |
{'name': 'parse_tcsh_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for tcsh scripter.\n\nInput\n-----\nargv : list of args (not including prog name)\n\nReturn\n------\n\niopts : an object with the argument values stored, including a\n self-"check_req()" method, as well.', 'signature... | 0 |
{'name': 'Bottleneck.__init__@mmdet/models/backbones/resnet.py', 'description': 'Bottleneck block for ResNet.\nIf style is "pytorch", the stride-two layer is the 3x3 conv layer,\nif it is "caffe", the stride-two layer is the first 1x1 conv layer.', 'signature': 'def __init__(self,'}</s>{'name': 'build_norm_layer@mmdet/... | 1 |
{'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': 'convert@ytmdl/core.py', 'description': 'Convert the song into the proper format as asked by\nthe user.', 'signature': 'def convert('}</s>{'name': 'ConvertError@ytmdl/exceptions.py', 'description': 'Exception for conversion erros.\n\nThis exception is raised whenever the conversion goes wrong,\nmostly while us... | 1 |
{'name': 'get_youtube_streams@ytmdl/yt.py', 'description': "Get both audio & video stream urls for youtube using youtube-dl.\n\nPS: I don't know how youtube-dl does the magic", 'signature': 'def get_youtube_streams(url):'}</s>{'name': '__get_title_from_yt@ytmdl/yt.py', 'description': 'Return the title of the passed URL... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.