text string | label int64 |
|---|---|
{'name': 'IPDatabase.export_verilator@ipstools/ipstools/IPDatabase.py', 'description': 'Exports a Makefile to be used to build a verilator simulation flow\n\n :param script_path: The path where the Makefiles are collected\n :type script_path: str\n\n :param root: The path to which t... | 0 |
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>MLD_MTRACE_RESP = 200 | 0 |
{'name': 'human_readable_number@trimmed_match/design/util.py', 'description': 'Print a large number in a readable format.\n\nReturn a readable format for a number, e.g. 123 milions becomes 123M.\n\nArgs:\n number: a float to be printed in human readable format.\n\nReturns:\n readable_number: a string containing the 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': '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': 'filter1d@Pose2Sim/filtering.py', 'description': 'Choose filter type and filter column\n\nINPUT:\n- col: Pandas dataframe column\n- filter_type: filter type from Config.toml\n- frame_rate: int\n\nOUTPUT:\n- col_filtered: Filtered pandas dataframe column', 'signature': 'def filter1d(col, config_dict, filter_typ... | 0 |
{'name': 'plot_legend@pymeteo/skewt.py', 'description': 'Plot skew-t legend', 'signature': 'def plot_legend(axes):'}</s>{'name': 'fetch_from_file@pymeteo/uwyo.py', 'description': 'Load Uinversity of Wyoming sound data from a file\n\n:param filename: The filename containing sounding data\n:type filename: str\n:returns: ... | 0 |
{'name': 'test_get_parts_geometry_collection_multi@pygeos/tests/test_geometry.py', 'description': 'On the first pass, the individual Multi* geometry objects are returned\nfrom the collection. On the second pass, the individual singular geometry\nobjects within those are returned.', 'signature': 'def test_get_parts_geo... | 0 |
{'name': '_default_value@swagger_to/py_client.py', 'description': 'Determine the default value of the given type definition.\n\n:param typedef: type definition in Python representation.\n:return: Python code', 'signature': 'def _default_value(typedef: Typedef) -> str:'}</s>{'name': 'Endpoint@swagger_to/intermediate.py'... | 0 |
{'name': 'Encoder.forward_one_step@espnet/nets/pytorch_backend/transformer/encoder.py', 'description': 'Encode input frame.\n\n:param torch.Tensor xs: input tensor\n:param torch.Tensor masks: input mask\n:param List[torch.Tensor] cache: cache tensors\n:return: position embedded tensor, mask and new cache\n:rtype Tuple[... | 1 |
{'name': 'device_removed@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'A device is removed', 'signature': 'def device_removed(notification):'}</s>{'name': 'scan_for_devices@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Start scanning for advertising devices', 'code': 'def scan_for_device... | 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': 'Session.append@codebraid/code_collections.py', 'description': 'Append a code chunk to internal code chunk list. Check code chunk\noptions for validity and update chunk summary data.', 'signature': 'def append(self, code_chunk: CodeChunk):'}</s>{'name': 'SourceError@codebraid/message.py', 'description': 'Erro... | 1 |
{'name': 'CacheList.remove_removed@shingetsu/cache.py', 'description': 'Remove removed record from disk.', 'signature': 'def remove_removed(self):'}</s>{'name': 'is_valid_image@shingetsu/attachutil.py', 'description': 'Type of path is same as mimetype or not.\n ', 'code': 'def is_valid_image(mimetype, path):\n ""... | 0 |
{'name': 'test_marker_hashable@voluptuous/tests/tests.py', 'description': 'Verify that you can get schema keys, even if markers were used', 'signature': 'def test_marker_hashable():'}</s>{'name': 'test_description@voluptuous/tests/tests.py', 'description': 'DOCSTRING', 'code': "def test_description():\n marker = Mar... | 0 |
{'name': 'getToolTips@qt4c/util.py', 'description': '获取系统的浮动tips\n\n:type className: 字符串\n:param className: 类名,默认值为"tooltips_class32"\n:type retry: 整数\n:param retry: 尝试次数,每个0.5秒尝试一次', 'signature': "def getToolTips(className='tooltips_class32', retry=10):"}</s>{'name': 'BITMAPINFOHEADER@qt4c/wintypes.py', 'description':... | 0 |
{'name': 'QueueManager.put1@code/pymqi/__init__.py', 'description': "Put the single message in string buffer 'msg' on the queue\nusing the MQI PUT1 call. This encapsulates calls to MQOPEN,\nMQPUT and MQCLOSE. put1 is the optimal way to put a single\nmessage on a queue.\n\nqDesc identifies the Queue either by name (if i... | 0 |
{'name': 'install_notifier@src/workflow/notify.py', 'description': "Extract ``Notify.app`` from the workflow to data directory.\n\nChanges the bundle ID of the installed app and gives it the\nworkflow's icon.", 'signature': 'def install_notifier():'}</s>{'name': 'convert_image@src/workflow/notify.py', 'description': 'C... | 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': 'search_ast@core/text.py', 'description': 'Returns the number of descendants of `node` that match `template`\n(either a type or tuple that is passed to `isinstance`,\nor a partial AST that is passed to `is_ast_like`)\nand satisfy the optional predicate.', 'signature': 'def search_ast(node, template, predicate=... | 0 |
{'name': 'install_ngrok@pyngrok/ngrok.py', 'description': 'Download, install, and initialize ``ngrok`` for the given config. If ``ngrok`` and its default\nconfig is already installed, calling this method will do nothing.\n\n:param pyngrok_config: A ``pyngrok`` configuration to use when interacting with the ``ngrok`` bi... | 0 |
{'name': 'page_erase@tools/pydfu.py', 'description': 'Erases a single page.', 'signature': 'def page_erase(addr):'}</s>__DFU_STATE_DFU_MANIFEST_WAIT_RESET = 8 | 0 |
{'name': 'addLevelName@local/clogging.py', 'description': 'Will not be added to `__all__`.', 'signature': 'def addLevelName(level, levelName, color=None, force=False):'}</s>{'name': 'RootLogger@local/clogging.py', 'description': 'DOCSTRING', 'base_classes': ['Logger'], 'methods': [{'name': 'RootLogger.__new__@local/clo... | 0 |
{'name': 'SentencePredictionTask.load_dataset@fairseq/tasks/sentence_prediction.py', 'description': 'Load a given dataset split (e.g., train, valid, test).', 'signature': 'def load_dataset(self, split, combine=False, **kwargs):'}</s>{'name': 'RawLabelDataset@fairseq/data/raw_label_dataset.py', 'description': 'DOCSTRING... | 1 |
{'name': 'showBox@source/pi-timolo.py', 'description': 'Show stream image detection area on image to align camera\nThis is a quick fix for restricting motion detection\nto a portion of the final image. Change the stream image size\non line 206 and 207 above\nAdjust track config.py file MOTION_TRACK_TRIG_LEN as required... | 0 |
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>{'name': 'versions_from_parentdir@versioneer.py', 'description': 'Try to determine the version from the parent directory name.\n\nSource tarballs conventionally unpa... | 0 |
{'name': 'get_ovs_veths@kayobe/plugins/filter/networks.py', 'description': "Return a list of dicts describing veth pairs to plug into Open vSwitch.\n\n:param context: a Jinja2 Context object.\n:param names: list of names of networks.\n:param inventory_hostname: Ansible inventory hostname.\n:returns: a list of dicts des... | 0 |
{'name': 'create_audio_envelope_waveform@avgn/segment_song/wav_to_syllables.py', 'description': 'Creates an audio envelope from waveform', 'signature': 'def create_audio_envelope_waveform(waveform, wav_spectrogram, downsampled_rate,'}</s>{'name': 'iterate_invert_spectrogram@avgn/spectrogramming/make_spec.py', 'descript... | 0 |
{'name': 'PFDivert._to_struct@pf/rule.py', 'description': 'Convert a PFDivert object to a divert structure.', 'signature': 'def _to_struct(self):'}</s>ICMP6_WRUREPLY = 140 | 0 |
{'name': 'Mixin._send_to_jira@alertlib/jira.py', 'description': "Send alert to Jira.\n\nThis is not intended to be publicly accessible function as all\nsend to jira usage should originate with the bugtracker, a wrapper\nwhich can be modified to redirect to preferred bug tracking systems.\nSee bugtracker Mixin for more ... | 1 |
{'name': 'Plant.pick_petal@src/astrobotany/models.py', 'description': "Pick a petal from a flowering plant.\n\nArgs:\n user: The user picking the petal, if not the plant's owner.\n\nReturns: A string with a description of the resulting action.", 'signature': 'def pick_petal(self, user: User | None = None) -> str:'}<... | 0 |
{'name': 'process_assignments_and_deletions@da/compiler/incgen.py', 'description': 'Generate stub and hook for assignments and deletions.\n\nThis should be called after the query parameters have been accumulated.', 'signature': 'def process_assignments_and_deletions(state):'}</s>{'name': 'MaxLineAndColFinder@da/compile... | 0 |
{'name': 'wizard_font@art/utils.py', 'description': 'Check input text length for wizard mode.\n\n:param text: input text\n:type text:str\n:return: font as str', 'signature': 'def wizard_font(text):'}</s>MEDIUM_WIZARD_FONT = [
"soft",
"4max",
"5x7",
"stampate",
"o8",
"standard",
"alphabet",
... | 1 |
{'name': 'parse_status_update@slackcli/messaging.py', 'description': 'Parse "/status :emoji: sometext" messages. If there is a match, return a dict\ncontaining the profile attributes to be updated. Else return None.', 'signature': 'def parse_status_update(text):'}</s>{'name': 'Colors@slackcli/ui.py', 'description': 'DO... | 0 |
{'name': 'LatentDiffusion._prior_bpd@ldm/models/diffusion/ddpm.py', 'description': "Get the prior KL term for the variational lower-bound, measured in\nbits-per-dim.\nThis term can't be optimized, as it only depends on the encoder.\n:param x_start: the [N x C x ...] tensor of inputs.\n:return: a batch of [N] KL values ... | 0 |
{'name': 'MSGPACKRPCRequest.error_respond@tinyrpc/protocols/msgpackrpc.py', 'description': 'Create an error response to this request.\n\nWhen processing the request produces an error condition this method can be used to\ncreate the error response object.\n\n:param error: Specifies what error occurred.\n:type error: Exc... | 1 |
{'name': 'configure@cm/logger.py', 'description': 'If comm is provided, average all numerical stats across that comm', 'signature': 'def configure(dir=None, format_strs=None, comm=None, log_suffix=""):'}</s>{'name': 'profile@cm/logger.py', 'description': 'Usage:\n@profile("my_func")\ndef my_func(): code', 'code': 'def ... | 0 |
{'name': 'IUZone.zone_id@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the zone_id. Should match the zone_id used in sequences', 'signature': 'def zone_id(self) -> str:'}</s>CONF_ZONE_ID = "zone_id" | 0 |
{'name': 'imfilter2D_SpatialDomain@training_codes/utils/utils_model.py', 'description': 'If the input and the kernel are both multichannel tensors then each\nchannel of the input is filtered by the corresponding channel of the \nkernel.Otherwise, if kernel has a single channel each channel of the input\nis filtered by ... | 0 |
{'name': 'follow_device@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Follow the selected device', 'signature': 'def follow_device(sniffer, device):'}</s>{'name': 'add_address@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Add LE address to device list', 'code': 'def add_address(sniffer, ... | 0 |
{'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': 'OSClientManager.clean_snapshot@freezer/openstack/osclients.py', 'description': 'Deletes snapshot\n:param snapshot: snapshot name', 'signature': 'def clean_snapshot(self, snapshot):'}</s>{'name': 'create_dir_tree@freezer/utils/utils.py', 'description': 'DOCSTRING', 'code': 'def create_dir_tree(directory_path):... | 0 |
{'name': '_AppHandler._read_build_config@jupyterlab/commands.py', 'description': 'Get the build config data for the app dir.', 'signature': 'def _read_build_config(self):'}</s>{'name': 'gt@jupyterlab/semver.py', 'description': 'DOCSTRING', 'code': 'def gt(a, b, loose):\n return compare(a, b, loose) > 0'} | 0 |
{'name': 'create_inception_graph@utils/fid_score.py', 'description': 'Creates a graph from saved GraphDef file.', 'signature': 'def create_inception_graph(pth):'}</s>{'name': 'check_or_download_inception@utils/fid_score.py', 'description': 'Checks if the path to the inception file is valid, or downloads\nthe file if it... | 0 |
{'name': 'GCSToGCEImage.Process@dftimewolf/lib/exporters/gcs_to_gce_image.py', 'description': 'Creates a GCE image from an image in GCS.\n\nArgs:\n container (containers.GCSObject): The container to process.', 'signature': 'def Process(self, container: containers.GCSObject'}</s>{'name': 'Report@dftimewolf/lib/containe... | 0 |
{'name': 'build@bioconda_utils/build.py', 'description': "Build a single recipe for a single env\n\nArguments:\n recipe: Path to recipe\n pkg_paths: List of paths to expected packages\n testonly: Only run the tests described in the meta.yaml\n mulled_test: Run tests in minimal docker container\n channels: Channels... | 1 |
{'name': 'insert_fake_data@cr8/insert_fake_data.py', 'description': 'Generate random data and insert it into a table.\n\nThis will read the table schema and then find suitable random data providers.\nWhich provider is choosen depends on the column name and data type.\n\nExample:\n\n A column named `name` will map to... | 0 |
{'name': 'CSSParser.parse_pseudo_class@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse pseudo class.', 'signature': 'def parse_pseudo_class(self, sel, m, has_selector, iselector, is_html):'}</s>{'name': 'SelectorNull@SneakerBot 2019/venv/lib/python3.7/site-packages/soups... | 0 |
{'name': 'orig_torrent@tests/conftest.py', 'description': 'Torrent to remain in qBittorrent for entirety of session.', 'signature': 'def orig_torrent(client):'}</s>{'name': 'skip_if_not_implemented@tests/conftest.py', 'description': 'Skips test if `skipif_before_api_version` marker specifies min API version.', 'code': ... | 0 |
{'name': 'save_variations@src/mplhep/label.py', 'description': 'Lite ``savelabels``\n\nParameters\n----------\nfig : figure\nname : str\n Savename to pass to `plt.savefig()`\ntext_list : list, optional\n Variations of ExpSuffix text object to cycle\n through\nexp : str, optional\n Change experiment name lab... | 1 |
{'name': 'PosixSerial.read@stino/pyarduino/base/pyserial/serialposix.py', 'description': 'Read size bytes from the serial port. If a timeout is set it may\nreturn less characters as requested. With no timeout it will block\nuntil the requested number of bytes is read.', 'signature': 'def read(self, size=1):'}</s>LF = t... | 0 |
{'name': 'test_fpn@tests/test_models/test_necks.py', 'description': 'Tests fpn.', 'signature': 'def test_fpn():'}</s>{'name': 'SSDNeck@mmdet/models/necks/ssd_neck.py', 'description': "Extra layers of SSD backbone to generate multi-scale feature maps.\n\nArgs:\n in_channels (Sequence[int]): Number of input channels p... | 0 |
{'name': 'libmain@da/__main__.py', 'description': "Main program entry point.\n\nParses command line options, sets up global variables, and calls the 'main'\nfunction of the DistAlgo program.", 'signature': 'def libmain():'}</s>MINIMUM_PYTHON_VERSION = (3, 5) | 1 |
{'name': 'RightSingularL1L2SmoothedTV_CONESTA.grad@parsimony/decomposition/pca_tv.py', 'description': 'Gradient of the differentiable part of the function.\n\nFrom the interface "Gradient".', 'signature': 'def grad(self, beta):'}</s>{'name': 'PCAL1L2TV@parsimony/decomposition/pca_tv.py', 'description': 'Principal Compo... | 0 |
{'name': 'generate_quad@tetrix.py', 'description': 'Recursive function generating 4 tetrahedra off of the the input tetrahedron ', 'signature': 'def generate_quad( original, quads, level, max_level ):'}</s>faces = regular_tet_faces.tolist() | 0 |
{'name': 'draw_lnurl_qr@displays/waveshare2in13v3.py', 'description': 'Draw a lnurl qr code on the e-ink screen\n ', 'signature': 'def draw_lnurl_qr(qr_img):'}</s>lntxbot_balance_2 = "Tu balance es de:" | 0 |
{'name': '_do_download@ez_setup.py', 'description': 'Download Setuptools.', 'signature': 'def _do_download(version, download_base, to_dir, download_delay):'}</s>{'name': '_install@ez_setup.py', 'description': 'Install Setuptools.', 'code': 'def _install(archive_filename, install_args=()):\n """Install Setuptools."""... | 0 |
{'name': 'geticmptypebynumber@pf/_utils.py', 'description': 'Return the ICMP type as a string.', 'signature': 'def geticmptypebynumber(type, af):'}</s>ICMP_PARAMPROB_ERRATPTR = 0 | 0 |
{'name': 'lookup_address@gef.py', 'description': 'Try to find the address in the process address space.\nReturn an Address object, with validity flag set based on success.', 'signature': 'def lookup_address(address: int) -> Address:'}</s>{'name': 'get_path_from_info_proc@gef.py', 'description': 'DOCSTRING', 'code': 'de... | 0 |
{'name': 'register@aiorpc/server.py', 'description': "Register a function on the RPC server.\nUsage:\n >>> def sum(x, y):\n >>> return x + y\n >>> register('sum', sum)\n\n:param name: The remote name of the function, can be different with the f.__name__.\n:param f: Function object. Must be a callable objec... | 0 |
{'name': 'CScriptOp.encode_op_n@qa/rpc-tests/test_framework/script.py', 'description': 'Encode a small integer op, returning an opcode', 'signature': 'def encode_op_n(n):'}</s>OP_CHECKMULTISIG = CScriptOp(0xae) | 0 |
{'name': 'loads@hcl2/api.py', 'description': 'Load HCL2 from a string.\n:param text: Text with hcl2 to be loaded as a dict.\n:param with_meta: If set to true then adds `__start_line__` and `__end_line__`\nparameters to the output dict. Default to false.', 'signature': 'def loads(text: str, with_meta=False) -> dict:'}</... | 1 |
{'name': 'update@networking/pinggraph.py', 'description': 'Fetch new latency data and update the plot.', 'signature': 'def update(frame):'}</s>latency_data = [] | 1 |
{'name': 'BankIDClient.cancel@bankid/syncclient.py', 'description': 'Cancels an ongoing sign or auth order.\n\nThis is typically used if the user cancels the order\nin your service or app.\n\n:param order_ref: The UUID string specifying which order to cancel.\n:type order_ref: str\n:return: Boolean regarding success of... | 0 |
{'name': 'recon@source/tomopy/recon/algorithm.py', 'description': "Reconstruct object from projection data.\n\nParameters\n----------\ntomo : ndarray\n 3D tomographic data.\ntheta : array\n Projection angles in radian.\ncenter: array, optional\n Location of rotation axis.\nsinogram_order: bool, optional\n D... | 0 |
{'name': 'test_check_classic_valid_with_preprocessor@test/test_utils.py', 'description': 'Test that valid inputs when using a preprocessor raises no warning', 'signature': 'def test_check_classic_valid_with_preprocessor(points):'}</s>{'name': 'Constraints@metric_learn/constraints.py', 'description': 'Class to build con... | 0 |
{'name': 'find_all_links@boltons/urlutils.py', 'description': "This function uses heuristics to searches plain text for strings\nthat look like URLs, returning a :class:`list` of :class:`URL`\nobjects. It supports limiting the accepted schemes, and returning\ninterleaved text as well.\n\n>>> find_all_links('Visit https... | 0 |
{'name': 'lca_depth@vamb/hloss_misc.py', 'description': 'Returns the depth of the LCA node.\n\nSupports multi-dimensional index arrays.', 'signature': 'def lca_depth(tree: Hierarchy, inds_a: np.ndarray, inds_b: np.ndarray) -> np.ndarray:'}</s>{'name': 'MarginLoss@vamb/hloss_misc.py', 'description': 'Computes soft or ha... | 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': 'User.edit_user@pydactyl/api/user.py', 'description': "Edits an existing user on the Pterodactyl panel.\n\nThe user_id is used to find the existing user. All other parameters\nwill be updated on that user_id.\n\nArgs:\n user_id(int): Pterodactyl User ID for the user to update.\n username(str): Username,... | 0 |
{'name': 'get_area_from_geometry@web_tool/DataLoader.py', 'description': 'Semi-accurately calculates the area for an input GeoJSON shape in km^2 by reprojecting it into a local UTM coordinate system.\n\nArgs:\n geom (dict): A polygon (or multipolygon) in GeoJSON format\n src_crs (str, optional): The CRS of `geom`... | 0 |
{'name': 'get_version@scripts/bump.py', 'description': 'Function returns tuple that elements follow semantic versioning order', 'signature': 'def get_version(pyproject_file_path):'}</s>{'name': 'bump_major@scripts/bump.py', 'description': 'DOCSTRING', 'code': 'def bump_major(version):\n if not version:\n retu... | 0 |
{'name': 'PackageIndex.process_index@venv/Lib/site-packages/setuptools/package_index.py', 'description': 'Process the contents of a PyPI page', 'signature': 'def process_index(self, url, page):'}</s>{'name': 'parse_requirement_arg@venv/Lib/site-packages/setuptools/package_index.py', 'description': 'DOCSTRING', 'code': ... | 0 |
{'name': 'distribute_jobs@source/tomopy/util/mproc.py', 'description': 'Distribute N-dimensional shared-memory array into cores by splitting along\nan axis.\n\nParameters\n----------\narr : ndarray, or iterable(ndarray)\n Array(s) to be split up for processing.\nfunc : func\n Function to be parallelized. Should ... | 0 |
{'name': 'build@robopianist/models/piano/piano_mjcf.py', 'description': 'Programatically build a piano MJCF.\n\nArgs:\n add_actuators: Whether to add actuators to the piano keys.', 'signature': 'def build(add_actuators: bool = False) -> types.MjcfRootElement:'}</s>BASE_LENGTH = 0.1 | 0 |
{'name': 'demean@src/python_scripts/afnipy/afni_util.py', 'description': 'demean the vector (in place), from index ibot to index itop\n\n if ibot == -1, ibot will be 0\n if itop == -1, itop will be len-1\n\nreturn 0 on success, 1 on error', 'signature': 'def demean(vec, ibot=-1, itop=-1):'}</s>{'name': 'WP@src/python_s... | 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>MQWQR3_CURRENT_LENGTH = 212 | 0 |
{'name': 'user_timeline@twitter_to_sqlite/cli.py', 'description': 'Save tweets posted by specified user', 'signature': 'def user_timeline('}</s>{'name': 'extract_json@twitter_to_sqlite/archive.py', 'description': 'DOCSTRING', 'code': 'def extract_json(contents):\n # window.YTD.account_creation_ip.part0 = [ ... data ... | 0 |
{'name': 'joydata@project_sample/2019-2ProjectSamples_Code/11조-수강과목을 통한 전공 예측 프로그램/joy.py', 'description': "joydata reads data/joydata.txt file and returns the data'\nParameters\n standardized: If True, performs standardization or \n feature scaling such that mean is 0 and std dev = 1.0\n shuffled: If True... | 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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQREGO_JOIN_EXCLUSIVE = 262144 | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQXCC_SEND_AND_REQUEST_SEC_MSG = py23long(-3) | 0 |
{'name': 'RemoveMultiLineCommentsFromRange@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Clears a range of lines for multi-line comments.', 'signature': 'def RemoveMultiLineCommentsFromRange(lines, begin, end):'}</s>{'name': 'CheckMakePairUsesDeduction@ament_cpplint/ament_cpplint/cpplint.py', 'description': ... | 0 |
{'name': 'wasm_vec_to_list@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a vector or a POINTER(vector) to a list\nvector of type pointers -> list of type pointers', 'signature': 'def wasm_vec_to_list(vec):'}</s>{'name': 'wasm_externtype_as_globaltype_const@language-bindings/python/src/wam... | 0 |
{'name': 'read_csv@alphaction/dataset/datasets/evaluation/ava/ava_eval.py', 'description': 'Loads boxes and class labels from a CSV file in the AVA format.\n\nCSV file format described at https://research.google.com/ava/download.html.\n\nArgs:\n csv_file: Path of csv file.\n class_whitelist: If provided, boxes corres... | 0 |
{'name': 'create_features@alphapy/features.py', 'description': 'Create features for the train and test set.\n\nParameters\n----------\nmodel : alphapy.Model\n Model object with the feature specifications.\nX : pandas.DataFrame\n Combined train and test data.\nX_train : pandas.DataFrame\n Training data.\nX_test... | 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': 'babel_extract@blockchain-env/lib/python3.7/site-packages/jinja2/ext.py', 'description': 'Babel extraction method for Jinja templates.\n\n.. versionchanged:: 2.3\n Basic support for translation comments was added. If `comment_tags`\n is now set to a list of keywords for extraction, the extractor will\n ... | 0 |
{'name': 'OAuth2WebServerFlow.step2_exchange@third_party/oauth2client/client.py', 'description': 'Exhanges a code for OAuth2Credentials.\n\nArgs:\n code: string or dict, either the code as a string, or a dictionary\n of the query parameters to the redirect_uri, which contains\n the code.\n http: httplib2.Http, ... | 1 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>{'name': 'git_pieces_from_vcs@versioneer.py', 'description': "Get version from 'git describe' in the root of the source tree.\n\nThis only gets called if the... | 0 |
{'name': 'aggfields@api/project/__init__.py', 'description': 'Returns a bucket aggregation for a particular field over a given time range\n\nParameters\n----------\nfieldname : string or Array of string\n The name of the field(s) on which to perform the aggregation\ncurrent_request : Request\n The flask Request o... | 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>games_top_path = games_path + ['top.html'] | 0 |
{'name': 'stop_flops_count@src/utils/flops_counter.py', 'description': 'A method that will be available after add_flops_counting_methods() is called\non a desired net object.\nStops computing the mean flops consumption per image.\nCall whenever you want to pause the computation.', 'signature': 'def stop_flops_count(sel... | 0 |
{'name': 'InterfaceTestCase.test_missing_annotation@marbles/core/tests/test_marbles.py', 'description': 'Does marbles check for missing annotations?', 'signature': 'def test_missing_annotation(self):'}</s>{'name': 'AnnotationError@marbles/core/marbles/core/marbles.py', 'description': 'Raised when there is a problem wit... | 1 |
{'name': 'get_cmdclass@versioneer.py', 'description': 'Get the custom setuptools/distutils subclasses used by Versioneer.', 'signature': 'def get_cmdclass():'}</s>LONG_VERSION_PY = {} | 1 |
{'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>MQREADA_INHIBITED = 3 | 0 |
{'name': 'Transpiler.__init__@compyle/transpiler.py', 'description': "Constructor.\n\nParameters\n----------\n\nbackend: str: Backend to use.\n Can be one of 'cython', 'opencl', 'cuda' or 'python'", 'signature': "def __init__(self, backend='cython', incl_cluda=True):"}</s>{'name': 'ExtModule@compyle/ext_module.py', ... | 0 |
{'name': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>ICMP_MASKREPLY = 18 | 0 |
{'name': 'PFPool._to_string@pf/rule.py', 'description': 'Return the string representation of the address pool.', 'signature': 'def _to_string(self):'}</s>PF_POOL_SRCHASH = 3 | 1 |
{'name': 'GlyphsBuilder._fake_designspace@Lib/glyphsLib/builder/builders.py', 'description': 'Build a fake designspace with the given UFOs as sources, so that all\nbuilder functions can rely on the presence of a designspace.', 'signature': 'def _fake_designspace(self, ufos):'}</s>{'name': 'GSBackgroundImage@Lib/glyphsL... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.