text string | label int64 |
|---|---|
{'name': 'ApproximateEventDurationAndHypocenter@postprocessing/science/spectral_corner_frequency_from_surface_xdmf.py', 'description': 'Calculates the derivative of ASl (probably faster than loading SR1 and SR2)\nand approximates event duration by multiplying dt with the number of timesteps,\nwhere maximum on-fault sli... | 0 |
{'name': 'void_transaction@capone/api/actions.py', 'description': 'Create a new transaction that voids the given Transaction.\n\nThe evidence will be the same as the voided Transaction. The ledger\nentries will be the same except have debits and credits swapped.\n\nIf `notes` is not given, a default note will be set.\n... | 0 |
{'name': '_write_points@influxdb_plugin.py', 'description': 'Write the points to the InfluxDB in groups that are MAX_POINTS_PER_WRITE in\nsize.', 'signature': 'def _write_points(points, num_points):'}</s>{'name': 'begin_process@influxdb_plugin.py', 'description': 'DOCSTRING', 'code': 'def begin_process(cluster):\n L... | 0 |
{'name': 'product@cartridge/shop/views.py', 'description': 'Display a product - convert the product variations to JSON as well as\nhandling adding the product to either the cart or the wishlist.', 'signature': 'def product('}</s>{'name': 'default_billship_handler@cartridge/shop/checkout.py', 'description': 'Default bil... | 0 |
{'name': 'NodeList.tell_update@shingetsu/node.py', 'description': 'Tell update other nodes.\n\nIf node is None, node is myself.', 'signature': 'def tell_update(self, cache, stamp="", id="", node=None):'}</s>thread_cgi = root_path + "thread.cgi" | 0 |
{'name': 'ChnsenticorpProcessor.get_test_examples@examples/utils_sequence_level_task.py', 'description': 'See base class.', 'signature': 'def get_test_examples(self, data_dir):'}</s>{'name': 'acc_and_f1@examples/utils_sequence_level_task.py', 'description': 'DOCSTRING', 'code': 'def acc_and_f1(preds, labels):\n acc ... | 0 |
{'name': 'build_rpn_targets@driving/maskModel.py', 'description': 'Given the anchors and GT boxes, compute overlaps and identify positive\nanchors and deltas to refine them to match their corresponding GT boxes.\n\nanchors: [num_anchors, (y1, x1, y2, x2)]\ngt_class_ids: [num_gt_boxes] Integer class IDs.\ngt_boxes: [num... | 0 |
{'name': 'DIETableModel.format_expr@dwex/die.py', 'description': 'expr is a list of parsed operations\n ', 'signature': 'def format_expr(self, expr, len_cutoff = None):'}</s>{'name': 'op_has_nested_expression@dwex/exprdlg.py', 'description': 'DOCSTRING', 'code': "def op_has_nested_expression(op):\n return op.... | 0 |
{'name': 'is_arch_supported@python/taichi/lang/misc.py', 'description': 'Checks whether an arch is supported on the machine.\n\nArgs:\n arch (taichi_python.Arch): Specified arch.\n\nReturns:\n bool: Whether `arch` is supported on the machine.', 'signature': 'def is_arch_supported(arch):'}</s>CRITICAL = "critical" | 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>lntxbot_balance_1 = "Erfolg !!" | 0 |
{'name': 'request_response_cycle@tests/test_process_initialization.py', 'description': 'test started server instance by sending\nrequest and checking response', 'signature': 'def request_response_cycle(tcp_port, data):'}</s>{'name': 'test_servers_start@tests/test_process_initialization.py', 'description': 'DOCSTRING', ... | 0 |
{'name': '_filter_lines_slope@oggm/core/centerlines.py', 'description': 'Filter the centerline candidates by slope: if they go up, remove\n\nKienholz et al. (2014), Ch. 4.3.1\n\nParameters\n----------\nlines : list of shapely.geometry.LineString instances\n The lines to filter out (in raster coordinates).\ntopo : th... | 0 |
{'name': 'ensure_vpc@aegea/util/aws/__init__.py', 'description': 'If a default VPC exists in the current account/region, return it; otherwise, return the first VPC managed by aegea,\ncreating a new one (with an associated IGW, route table, and subnet per AZ) if it does not exist.', 'signature': 'def ensure_vpc():'}</s>... | 0 |
{'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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQ_MCA_JOB_NAME_LENGTH = 28 | 0 |
{'name': 'TemplateFactory._processDropper2Template@src/modules/templates/template_factory.py', 'description': 'Generate DROPPER2 template for VBA and VBS based ', 'signature': 'def _processDropper2Template(self):'}</s>{'name': 'getHostIp@src/common/utils.py', 'description': 'return current facing IP address ', 'code': ... | 0 |
{'name': 'nestedExpr@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pypa... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_ATTR_VALUE_FIXED = 3213 | 0 |
{'name': 'plotCDFtable@array_analysis.py', 'description': "table={'A':(gain , cdf), 'B':(gain, cdf), }", 'signature': 'def plotCDFtable(table, png=None):'}</s>z0 = aggregatebeam(beam0) | 0 |
{'name': 'occurrence_view@swingtime/views.py', 'description': 'View a specific occurrence and optionally handle any updates.\n\nContext parameters:\n\n``occurrence``\n the occurrence object keyed by ``pk``\n\n``form``\n a form object for updating the occurrence', 'signature': 'def occurrence_view('}</s>{'name': '... | 0 |
{'name': 'PrintFormatCommand.do_invoke@gef.py', 'description': 'Default value for print-format command.', 'signature': 'def do_invoke(self, _: list[str], **kwargs: Any) -> None:'}</s>{'name': 'gef_pybytes@gef.py', 'description': 'Returns an immutable bytes list from the string given as input.', 'code': 'def gef_pybytes... | 1 |
{'name': 'Window.initUI@picasso/gui/render.py', 'description': 'Initializes the main window. Builds dialogs and menu bar.\n\nParameters\n----------\nplugins_loaded : boolean\n If True, plugins have been loaded before.', 'signature': 'def initUI(self, plugins_loaded):'}</s>{'name': 'load_clusters@picasso/io.py', 'des... | 0 |
{'name': 'test_fail_with_invalid_dbname_and_automatic_recovery_disabled@test/io/test_io.py', 'description': 'Should fail without retries when automatic recovery is disabled and dbname is invalid', 'signature': 'def test_fail_with_invalid_dbname_and_automatic_recovery_disabled(defaultenv):'}</s>{'name': 'PostgrestSessio... | 0 |
{'name': 'ProcessLine@compiler-rt/lib/sanitizer_common/scripts/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 l... | 0 |
{'name': 'test_image_upgrade_01150@tests/unit/modules/dcnm/dcnm_image_upgrade/test_image_upgrade.py', 'description': '### Classes and Methods\n\n- ``ImageUpgrade``\n - ``_build_payload``\n - ``commit``\n\n### Test\n\nInvalid value for ``options.package.install``.\n\n### Setup\n\n- ``devices`` is s... | 0 |
{'name': 'Api.quote_string@scaleapi/api.py', 'description': "Project and Batch names can be a part of URL, which causes\nan error in case of a special character used.\nQuotation assures the right object to be retrieved from API.\n\n`quote_string('a bc/def')` -> `a%20bc%2Fdef`\n\nArgs:\n text (str): Input text to be ... | 1 |
{'name': 'InvitationStat.invites_remaining@pinax/invitations/models.py', 'description': 'Returns number of unsent allocated invites, or -1 for infinite.', 'signature': 'def invites_remaining(self):'}</s>joined_independently = django.dispatch.Signal() | 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': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIAMO_Q_TIME_MIN = 743 | 0 |
{'name': '_dashboards_response@tessera-server/tessera/views_api.py', 'description': 'Return a Flask response object for a list of dashboards in API\nformat. dashboards must be a list of dashboard model objects, which\nwill be converted to their JSON representation.\n ', 'signature': 'def _dashboards_response(dashboa... | 0 |
{'name': 'parse_content_transfer_encoding_header@src/future/backports/email/_header_value_parser.py', 'description': 'mechanism\n\n ', 'signature': 'def parse_content_transfer_encoding_header(value):'}</s>_cte_encoders = {
'q': encode_q,
'b': encode_b,
} | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>{'name': 'MQMIError@code/pymqi/__init__.py', 'description': 'Exception class for MQI low level errors.\n ', 'base_classes': ['Error'], 'met... | 1 |
{'name': 'init@slackcli/slack.py', 'description': 'This function must be called prior to any use of the Slack API.', 'signature': 'def init(user_token=None, team=None):'}</s>{'name': 'ask@slackcli/token.py', 'description': 'DOCSTRING', 'code': 'def ask(team=None):\n token = None\n while not token:\n messag... | 1 |
{'name': 'get_versions@versioneer.py', 'description': "Get the project version from whatever source is available.\n\nReturns dict with two keys: 'version' and 'full'.", 'signature': 'def get_versions(verbose: bool = False) -> Dict[str, Any]:'}</s>{'name': 'render_pep440_post_branch@versioneer.py', 'description': 'TAG[.... | 0 |
{'name': 'BaseCheckTypesTestCase.test_base_check_types_are_public@oslo_policy/tests/test_policy.py', 'description': 'Check that those check types are part of public API.\n\nThey are blessed to be used by library consumers.', 'signature': 'def test_base_check_types_are_public(self):'}</s>{'name': '_check@oslo_policy/_ch... | 0 |
{'name': 'simulate@pydsge/tools.py', 'description': 'Simulate time series given a series of exogenous innovations.\n\nParameters\n----------\n source : dict\n Dict of `extract` results\n mask : array\n Mask for eps. Each non-None element will be replaced.', 'signature': 'def simulate('}</s>preproces... | 0 |
{'name': '_wanted_image_platforms@src/docker_python_nodejs/versions.py', 'description': 'Returns the supported image platforms for a distro\nFIXME: Enable linux/arm64 for alpine when:\n - https://github.com/nodejs/node/pull/45756 is fixed\n - https://github.com/nodejs/unofficial-builds adds builds for musl + arm64', ... | 0 |
{'name': 'opcode_map_c@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'CR |funct4 | cr0711 | cr0206 | op |\nCI |funct3 | cop1212 | cr0711 | cop0206 | op |\nCSS |funct3 | cop0712 | cr0206 | op |\nCIW |funct3 | cop0512 | cr0204s | op |\nCL |funct3 | cop1012 | cs0709s | cop0506 | cr0204s | op |\nCS ... | 0 |
{'name': 'AsyncAHK.start_hotkeys@ahk/_async/engine.py', 'description': 'Start the Autohotkey process for triggering hotkeys', 'signature': 'def start_hotkeys(self) -> None:'}</s>T_AHKVersion = TypeVar('T_AHKVersion', bound=Optional[Literal['v1', 'v2']]) | 0 |
{'name': 'CheckForNonConstReference@third_party/cpplint/cpplint.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 instance conta... | 0 |
{'name': 'TileCreator.initDataAugmentation@tensorflow/tools/tilecreator.py', 'description': 'set up data augmentation\nrot: 1: 90 degree rotations; 2: full rotation; else: nop rotation\nScale: if both 1 disable scaling', 'signature': 'def initDataAugmentation(self, rot=2, minScale=0.85, maxScale=1.15 ,flip=True):'}</s>... | 1 |
{'name': 'Application.create_widgets@spatialmedia/gui.py', 'description': 'Sets up GUI contents.', 'signature': 'def create_widgets(self):'}</s>{'name': 'report_callback_exception@spatialmedia/gui.py', 'description': 'DOCSTRING', 'code': 'def report_callback_exception(self, *args):\n exception = traceback.format_exc... | 0 |
{'name': 'AddImagesToTargetFiles@tools/releasetools/add_img_to_target_files.py', 'description': 'Creates and adds images (boot/recovery/system/...) to a target_files.zip.\n\nIt works with either a zip file (zip mode), or a directory that contains the\nfiles to be packed into a target_files.zip (dir mode). The latter is... | 0 |
{'name': 'encode@pylibdmtx/pylibdmtx.py', 'description': "Encodes `data` in a DataMatrix image.\n\nFor now bpp is the libdmtx default which is 24\n\nArgs:\n data: bytes instance\n scheme: encoding scheme - one of `ENCODING_SCHEME_NAMES`, or `None`.\n If `None`, defaults to 'Ascii'.\n size: image dimensi... | 0 |
{'name': 'PUBLISH.decode@src/mqtt/pdu.py', 'description': 'Decode a PUBLISH control packet. ', 'signature': 'def decode(self, packet):'}</s>{'name': 'PUBREC@src/mqtt/pdu.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'PUBREC.__init__@src/mqtt/pdu.py', 'description': 'DOCSTRING', 'code... | 0 |
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PFSTATE_NODF = 32 | 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>MQOPER_DISCARD = 2 | 0 |
{'name': 'AdbDevice.connect@adb_shell/adb_device.py', 'description': "Establish an ADB connection to the device.\n\nSee :meth:`_AdbIOManager.connect`.\n\nParameters\n----------\nrsa_keys : list, None\n A list of signers of type :class:`~adb_shell.auth.sign_cryptography.CryptographySigner`,\n :class:`~adb_shell.au... | 0 |
{'name': 'get_signature_string@src/makefun/main.py', 'description': 'Returns the string to be used as signature.\nIf there is a non-native symbol in the defaults, it is created as a variable in the evaldict\n:param func_name:\n:param func_signature:\n:return:', 'signature': 'def get_signature_string(func_name, func_sig... | 0 |
{'name': 'AGraph.to_string@pygraphviz/agraph.py', 'description': 'Return a string representation of graph in dot format.\n\n`to_string()` uses "agwrite" to produce "dot" format w/o rendering.\nThe function `string_nop()` layouts with "nop" and renders to "dot".', 'signature': 'def to_string(self):'}</s>AGNODE = _graphv... | 0 |
{'name': 'main@spatialmedia/__main__.py', 'description': 'Main function for printing and injecting spatial media metadata.', 'signature': 'def main():'}</s>{'name': 'mpeg4_add_spherical_v2@spatialmedia/metadata_utils.py', 'description': 'Adds spherical metadata to the first video track of the input\n mpeg4_file. Retu... | 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': 'main@run.py', 'description': 'Main function ', 'signature': 'def main():'}</s>{'name': 'colored_message@module/message.py', 'description': 'print colored line ', 'code': "def colored_message(color, message):\n ''' print colored line ''' \n print(color + message + Fore.RESET)"} | 1 |
{'name': 'convert_pdb_to_mmcif@colabfold/batch.py', 'description': 'convert existing pdb files into mmcif with the required poly_seq and revision_date', 'signature': 'def convert_pdb_to_mmcif(pdb_file: Path):'}</s>{'name': 'download_alphafold_params@colabfold/download.py', 'description': 'DOCSTRING', 'code': 'def downl... | 0 |
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>CSR_MHPMCOUNTER13H = 2957 | 0 |
{'name': 'Viewer.initialize@robopianist/viewer/viewer.py', 'description': 'Initialize the viewer.\n\nArgs:\n physics: Physics instance.\n renderer_instance: A renderer.Base instance.\n touchpad: A boolean, use input dedicated to touchpad.', 'signature': 'def initialize(self, physics, renderer_instance, touchpad):'}<... | 0 |
{'name': 'assemble@bin/smrtsv.py', 'description': 'Assemble candidate regions from raw reads aligned to regions.', 'signature': 'def assemble(args):'}</s>INSTALL_PATH = [ # List of paths relative to INSTALL_DIR to be added to the environment $PATH
"bin",
"dist/miniconda/envs/python2/bin",
"dist/miniconda/e... | 0 |
{'name': 'View.save_pick_properties@picasso/gui/render.py', 'description': "Saves picks' properties in a given channel to path.\n\nProperties include number of locs, mean and std of all locs\ndtypes (x, y, photons, etc) and others.\n\nParameters\n----------\npath : str \n Path for saving picks' properties.\nchannel ... | 0 |
{'name': 'list_employees@app/admin/views.py', 'description': 'List all employees', 'signature': 'def list_employees():'}</s>{'name': 'add_grade@app/admin/views.py', 'description': 'Add a pay grade to the database', 'code': 'def add_grade():\n """\n Add a pay grade to the database\n """\n check_admin()\n\n ... | 0 |
{'name': 'Diagram.from_pyzx@discopy/quantum/zx.py', 'description': 'Takes a :class:`pyzx.Graph` returns a :class:`zx.Diagram`.\n\nExamples\n--------\n\n>>> bialgebra = Z(1, 2, .25) @ Z(1, 2, .75)\\\n... >> Id(1) @ SWAP @ Id(1) >> X(2, 1, .5) @ X(2, 1, .5)\n>>> graph = bialgebra.to_pyzx()\n>>> assert Diagram.from_py... | 0 |
{'name': 'points_awarded@pinax/points/models.py', 'description': 'Determine out how many points the given target has received.', 'signature': 'def points_awarded(target=None, source=None, since=None):'}</s>{'name': 'record_vote@pinax/points/models.py', 'description': 'DOCSTRING', 'code': 'def record_vote(user, target, ... | 0 |
{'name': 'optparse_init@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Prepare the option parser for input (argv)', 'signature': 'def optparse_init() -> optparse.OptionParser:'}</s>{'name': 'VSIFile@auxiliary/gdal2customtiles/gdal2customtiles.py', 'description': 'Expose a simplistic file-like API for ... | 0 |
{'name': 'get_reader@meza/io.py', 'description': "Gets the appropriate reader for a given file extension.\n\nArgs:\n extension (str): The file extension.\n\nReturns:\n func: The file reading function\n\nSee also:\n `meza.io.read`\n\nRaises:\n TypeError: If unable to find a suitable reader.\n\nExamples:\n ... | 0 |
{'name': 'TreeFormats.visualConfigStructure@source/treeformats.py', 'description': 'Export a TreeLine structure containing the config types and fields.\n\nReturns the structure.\nArguments:\n fileName -- the name for the root node', 'signature': 'def visualConfigStructure(self, fileName):'}</s>_showConfFieldFormatFi... | 1 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCACF_REMOTE_Q_NAMES = 3018 | 0 |
{'name': 'main@tools/otsdb-dump-restore/src/kilda/tsdb_dump_restore/restore.py', 'description': 'This tool restore the data to an OpenTSDB\n\nOPENTSDB_ENDPOINT openTSDB endpoint\n\nExample:\nkilda-otsdb-restore http://example.com:4242', 'signature': 'def main(opentsdb_endpoint, **options):'}</s>{'name': 'HttpUrlFactory... | 0 |
{'name': 'nestedExpr@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/pyparsing.py', 'description': 'Helper method for defining nested lists enclosed in opening and closing\ndelimiters ("(" and ")" are the default).\n\nParameters:\n - opener - opening character for a nested list (default=C{"("}); can also be a pypa... | 0 |
{'name': 'from_msgpack@rpcq/_base.py', 'description': 'Convert a msgpack byte array into Python objects (including rpcq objects)', 'signature': 'def from_msgpack(b, *, max_bin_len=MAX_BIN_LEN, max_str_len=MAX_STR_LEN):'}</s>MAX_STR_LEN = 2 ** 31 - 1 | 1 |
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'get_meter@fairseq/logging/metrics.py', 'description': 'Get a single Meter instance aggregated under *name* and *key*.\n\nReturns:\n Meter or None if no metrics ... | 0 |
{'name': 'BreakpointConditionsTestCase.breakpoint_conditions@tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inlin... | 0 |
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>COLORS_PLAIN = COLORS[:-1] | 0 |
{'name': 'infidandgrad@examples/fidelity-gradient.py', 'description': '""\nTake a numpy array [hx0, hz0, hx1, hz1, ...] over full timesteps and\nreturn the fidelity and gradient of the fidelity to the global target_derivative', 'signature': 'def infidandgrad(paras):'}</s>{'name': 'sigma@oqupy/operators.py', 'descriptio... | 0 |
{'name': 'Config.default_pathes@udiskie/config.py', 'description': 'Return the default config file paths as a list.', 'signature': 'def default_pathes(cls):'}</s>{'name': '_format_item@udiskie/config.py', 'description': 'DOCSTRING', 'code': "def _format_item(k, v):\n if isinstance(v, bool):\n return k if v el... | 0 |
{'name': 'CSSParser.selector_iter@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Iterate selector tokens.', 'signature': 'def selector_iter(self, pattern):'}</s>{'name': 'Immutable@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_types.py', 'description': 'Immut... | 0 |
{'name': 'And@src/api/python/z3/z3.py', 'description': "Create a Z3 and-expression or and-probe.\n\n>>> p, q, r = Bools('p q r')\n>>> And(p, q, r)\nAnd(p, q, r)\n>>> P = BoolVector('p', 5)\n>>> And(P)\nAnd(p__0, p__1, p__2, p__3, p__4)", 'signature': 'def And(*args):'}</s>_ROUNDING_MODES = frozenset({
Z3_OP_FPA_RM_... | 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': 'DivOp@da/compiler/dast.py', 'd... | 0 |
{'name': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK... | 0 |
{'name': 'IntervalArray.__add__@nelpy/core/_intervalarray.py', 'description': 'add length to start and stop of each interval, or join two interval arrays without merging', 'signature': 'def __add__(self, other):'}</s>{'name': 'spatial_information@nelpy/utils.py', 'description': 'Compute the spatial information and firi... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQFUN_TYPE_PROCEDURE = 3 | 0 |
{'name': 'torgb@boxx/ylimg/ylimgTool.py', 'description': 'try to transfer a tensor to normalized RGB image\n\nnormalizing img value to 0~1\nand transpose (..., 3, w, h) to (..., w, h, 3)', 'signature': 'def torgb(img):'}</s>{'name': 'tabstr@boxx/tool/toolLog.py', 'description': "to tab a block of str for pretty print\n... | 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': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>badge_284 = Badge("petr... | 0 |
{'name': 'fpToFP@src/api/python/z3/z3.py', 'description': 'Create a Z3 floating-point conversion expression from other term sorts\nto floating-point.\n\nFrom a bit-vector term in IEEE 754-2008 format:\n>>> x = FPVal(1.0, Float32())\n>>> x_bv = fpToIEEEBV(x)\n>>> simplify(fpToFP(x_bv, Float32()))\n1\n\nFrom a floating-p... | 0 |
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'Ints@src/api/python/z3/z3.py', 'desc... | 0 |
{'name': 'NestingState.Update@tools/cpplint.py', 'description': 'Update nesting state with current 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 found.', ... | 0 |
{'name': 'rs_simple_encode_msg@reedsolo6.py', 'description': "Simple Reed-Solomon encoding (mainly an example for you to understand how it works, because it's slower than the inlined function below)", 'signature': 'def rs_simple_encode_msg(msg_in, nsym, fcr=0, generator=2, gen=None):'}</s>{'name': 'rs_correct_errata@re... | 0 |
{'name': 'validate_goal@python/rrc_simulation/tasks/move_cube.py', 'description': 'Validate that the given pose is a valid goal (e.g. no collision)\n\nRaises an error if the given goal pose is invalid.\n\nArgs:\n goal (Pose): Goal pose.\n\nRaises:\n ValueError: If given values are not a valid 3d position/orient... | 1 |
{'name': 'engine.number_to_words@src/bids/external/inflect.py', 'description': 'Return a number in words.\n\ngroup = 1, 2 or 3 to group numbers before turning into words\ncomma: define comma\n\nandword:\n word for \'and\'. Can be set to \'\'.\n e.g. "one hundred and one" vs "one hundred one"\n\nzero: word for \'0... | 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': 'TarInfo.frombuf@SneakerBot 2019/venv/lib/python3.7/site-packages/pip-19.0.3-py3.7.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': 'Construct a TarInfo object from a 512 byte bytes object.\n ', 'signature': 'def frombuf(cls, buf, encoding, errors):'}</s>__all__ = ["TarFile", "TarInfo", "is... | 0 |
{'name': 'is_required@graphene_django_cud/converter.py', 'description': 'Helper method to determine if a field is required or not.\n\n:param field: The field to check for requirement.\n:param required: Optional. Explicitly set requirement. If provided, this value will be returned.\n:param is_many_to_many: Optional. Spe... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQ_COMM_INFO_DESC_LENGTH = 64 | 0 |
{'name': 'ReplaceByFeeTest.test_opt_in@test/functional/feature_rbf.py', 'description': 'Replacing should only work if orig tx opted in', 'signature': 'def test_opt_in(self):'}</s>OP_NEGATE = CScriptOp(0x8f) | 0 |
{'name': 'getUserOpenrank@python/metrics/activity_openrank.py', 'description': '_summary_\n\nArgs:\n config (QueryConfig): config of query.\nReturns:\n neo4j cursor: query results of neo4j', 'signature': 'def getUserOpenrank(config):'}</s>{'name': 'getRepoOpenrank@python/metrics/activity_openrank.py', 'descriptio... | 0 |
{'name': 'friend_add@apps/blog/views.py', 'description': '申请友链\n@param request:\n@return:', 'signature': 'def friend_add(request):'}</s>{'name': 'Category@apps/blog/models.py', 'description': 'DOCSTRING', 'base_classes': ['models.Model'], 'methods': [{'name': 'Category.__str__@apps/blog/models.py', 'description': 'DOCS... | 0 |
{'name': 'template@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def ... | 0 |
{'name': 'init_media@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard,\nand sound cache', 'signature': 'def init_media():'}</s>MANA_POINTS_ON = [4247] | 0 |
{'name': 'StalinWorks.download@ruts/datasets/stalin_works.py', 'description': 'Загрузка набора данных из сети и извлечение файлов\n\nАргументы:\n force (bool): Загрузить набор данных, даже если он уже загружен', 'signature': 'def download(self, force: bool = False):'}</s>DEFAULT_DATA_DIR = Path(__file__).parent.pare... | 0 |
{'name': 'Win32Serial.write@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Output the given string over the serial port.', 'signature': 'def write(self, data):'}</s>CLRRTS = 4 | 0 |
{'name': 'is_on_the_line@articles/inversion.py', 'description': "Check if 'point' is on the line given by two points 'lp1' and 'lp2'.", 'signature': 'def is_on_the_line(point, lp1, lp2, thres = 1e-6):'}</s>{'name': 'ExtendedLine@articles/inversion.py', 'description': 'DOCSTRING', 'base_classes': ['Line'], 'methods': [{... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.