text string | label int64 |
|---|---|
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'set_option@src/api/python/z3/z3.py', 'desc... | 0 |
{'name': 'process_bout@avgn/segment_song/wav_to_syllables.py', 'description': 'Processes a single bout for syllable information\n ', 'signature': 'def process_bout(wav_file, _mel_basis, hparams,submode=True, visualize=False):'}</s>{'name': 'mel_to_spectrogram@avgn/spectrogramming/make_spec.py', 'description': 'takes... | 0 |
{'name': 'replace@yaql/standard_library/date_time.py', 'description': ':yaql:replace\n\nReturns datetime object with applied replacements.\n\n:signature: dt.replace(year => null, month => null, day => null,\n hour => null, minute => null, second => null,\n microsecond => null... | 0 |
{'name': '__decorate_axis@librosa/display.py', 'description': 'Configure axis tickers, locators, and labels', 'signature': 'def __decorate_axis('}</s>{'name': '__mesh_coords@librosa/display.py', 'description': 'Compute axis coordinates', 'code': 'def __mesh_coords(ax_type, coords, n, **kwargs):\n """Compute axis coo... | 0 |
{'name': 'save_cmd_orig@src/python_scripts/afnipy/lib_physio_logs.py', 'description': 'Write out input cmd output dir.', 'signature': 'def save_cmd_orig(retobj, verb=1):'}</s>hlp = "Slice time values (space separated list of numbers)" | 0 |
{'name': 'Countries.__getitem__@django_countries/__init__.py', 'description': 'Some applications expect to be able to access members of the field\nchoices by index.', 'signature': 'def __getitem__(self, index):'}</s>settings = Settings() | 0 |
{'name': 'CheckStyle@third_party/cpplint/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.... | 0 |
{'name': '_NestingState.UpdatePreprocessor@compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Update preprocessor stack.\n\nWe need to handle preprocessors due to classes like this:\n #ifdef SWIG\n struct ResultDetailsPageElementExtensionPoint {\n #else\n struct ResultDetailsPageElementExtensionP... | 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': 'AlarmoBaseEntity.device_info@custom_components/alarmo/alarm_control_panel.py', 'description': 'Return info for device registry.', 'signature': 'def device_info(self) -> dict:'}</s>ATTR_FORCE = "force" | 0 |
{'name': 'validate_security_groups@verify_security_groups.py', 'description': 'Validate the security groups by printing them out.\n\nArgs:\n matching_entries (List[Dict[str, Any]]): A list of dictionaries representing the matching CSV entries.\nReturns:\n List of everything we validated\nRaises:\n ... | 1 |
{'name': 'simxGetVisionSensorImage@7_Demo_youBotPickAndPlace/code/vrep/VREP_RemoteAPIs/sim.py', 'description': 'Please have a look at the function description/documentation in the CoppeliaSim user manual', 'signature': 'def simxGetVisionSensorImage(clientID, sensorHandle, options, operationMode):'}</s>simx_opmode_block... | 0 |
{'name': 'get_settings@jupyterlab_server/settings_utils.py', 'description': 'Get settings.\n\nParameters\n----------\napp_settings_dir:\n Path to applications settings.\nschemas_dir: str\n Path to schemas.\nsettings_dir:\n Path to settings.\nschema_name str, optional\n Schema name. Default is "".\noverrides... | 0 |
{'name': 'Connection.ready@runner/tez/apache-hive-0.13.0.2.1.0.0-92-bin/lib/py/thrift/server/TNonblockingServer.py', 'description': 'Callback function for switching state and waking up main thread.\n\nThis function is the only function witch can be called asynchronous.\n\nThe ready can switch Connection to three states... | 1 |
{'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': 'test_post_empty_data@list_metrics/main_test.py', 'description': 'Test sending an empty message', 'signature': 'def test_post_empty_data(app, client):'}</s>{'name': 'test_exclusions_check@list_metrics/main_test.py', 'description': 'Test the exclusion logic', 'code': 'def test_exclusions_check():\n """Test t... | 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>... | 0 |
{'name': '_get_field_by_name@export_action/introspection.py', 'description': 'Compatible with old API of model_class._meta.get_field_by_name(field_name)', 'signature': 'def _get_field_by_name(model_class, field_name):'}</s>{'name': 'get_model_from_path_string@export_action/introspection.py', 'description': 'Return a mo... | 0 |
{'name': 'main@gget/main.py', 'description': 'Function containing argparse parsers and arguments to allow the use of gget from the terminal.', 'signature': 'def main():'}</s>dt_string = datetime.now().strftime("%Y_%m_%d-%H_%M") | 0 |
{'name': 'matchOnlyAtCol@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining parse actions that require matching at a specific\ncolumn in the input text.', 'signature': 'def matchOnlyAtCol(n):'}</s>operatorPrecedence = infixNotation | 0 |
{'name': '_validate@src/feedvalidator/__init__.py', 'description': 'validate RSS from string, returns validator object', 'signature': 'def _validate(aString, firstOccurrenceOnly, loggedEvents, base, encoding, selfURIs=None, mediaType=None):'}</s>{'name': 'InvalidURLAttribute@src/feedvalidator/logging.py', 'description'... | 0 |
{'name': 'config_file@test/conftest.py', 'description': 'Prepares Bioconda config.yaml', 'signature': 'def config_file(tmpdir: py.path.local, case):'}</s>{'name': '_string_or_float_to_integer_python@bioconda_utils/utils.py', 'description': 'conda-build 2.0.4 expects CONDA_PY values to be integers (e.g., 27, 35) but\nol... | 0 |
{'name': '_AddMessageMethods@python/google/protobuf/internal/python_message.py', 'description': 'Adds implementations of all Message methods to cls.', 'signature': 'def _AddMessageMethods(message_descriptor, cls):'}</s>{'name': 'Duration@python/google/protobuf/internal/well_known_types.py', 'description': 'Class for Du... | 0 |
{'name': 'crud_for_app@cruds/urls.py', 'description': 'Returns list of ``url`` items to CRUD an app.', 'signature': 'def crud_for_app(app_label, urlprefix=None):'}</s>ALL_ACTIONS = LIST_ACTIONS + INSTANCE_ACTIONS | 0 |
{'name': 'TestMommyCreatesAssociatedModels.test_create_many_to_many_with_through_option@tests/test_mommy.py', 'description': 'This does not works', 'signature': 'def test_create_many_to_many_with_through_option(self):'}</s>{'name': 'SchoolEnrollment@tests/generic/models.py', 'description': 'DOCSTRING', 'base_classes': ... | 1 |
{'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': '_best_version@scripts/pdns/lib/python2.7/site-packages/pip/_vendor/distlib/metadata.py', 'description': 'Detect the best version depending on the fields used.', 'signature': 'def _best_version(fields):'}</s>_UNICODEFIELDS = ('Author', 'Maintainer', 'Summary', 'Description') | 0 |
{'name': 'parse_int_list@boltons/strutils.py', 'description': "Returns a sorted list of positive integers based on\n*range_string*. Reverse of :func:`format_int_list`.\n\nArgs:\n range_string (str): String of comma separated positive\n integers or ranges (e.g. '1,2,4-6,8'). Typical of a custom\n page r... | 0 |
{'name': 'FancyPage.is_left@rst2pdf/createpdf.py', 'description': 'Default behavior is that the first page is on the left.\n\nIf the user has --first_page_on_right, the calculation is reversed.', 'signature': 'def is_left(self, page_num):'}</s>{'name': 'MyImage@rst2pdf/image.py', 'description': 'A Image subclass that c... | 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': 'Formatter@src/api/python/z3/z3printe... | 0 |
{'name': 'rpn_bbox_loss_graph@Mask_RCNN/mrcnn/model.py', 'description': 'Return the RPN bounding box loss graph.\n\nconfig: the model config object.\ntarget_bbox: [batch, max positive anchors, (dy, dx, log(dh), log(dw))].\n Uses 0 padding to fill in unsed bbox deltas.\nrpn_match: [batch, anchors, 1]. Anchor match ty... | 0 |
{'name': 'MQTTProtocol._retryUnsubscribe@src/mqtt/client/pubsubs.py', 'description': 'Transmit/Retransmit UNSUBSCRIBE packet', 'signature': 'def _retryUnsubscribe(self, request, dup):'}</s>{'name': 'PUBREL@src/mqtt/pdu.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'PUBREL.__init__@sr... | 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>MQRC_SOAP_AXIS_ERROR = 2211 | 0 |
{'name': 'sinc@metrics/equivariance.py', 'description': 'Applies the `sinc` function.', 'signature': 'def sinc(x):'}</s>__all__ = [
'EquivarianceMetric', 'EQTMetric', 'EQT50K', 'EQTFracMetric', 'EQTFrac50K',
'EQRMetric', 'EQR50K'
] | 0 |
{'name': 'ColorJitter.get_params@utils/transforms.py', 'description': 'Get a randomized transform to be applied on image.\nArguments are same as that of __init__.\nReturns:\n Transform which randomly adjusts brightness, contrast and\n saturation in a random order.', 'signature': 'def get_params(brightness, contra... | 0 |
{'name': 'init_screen@displays/inkyphat.py', 'description': 'Prepare the screen for drawing and return the draw variables\n ', 'signature': 'def init_screen(color):'}</s>lnurl_qr_2 = "receive" | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIA_LAST = 2000 | 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>MQRCCF_CLUS_XMIT_Q_USAGE_ERROR = 3363 | 0 |
{'name': '_create_graph@externals/modified_steppy/utils.py', 'description': 'Creates pydot graph from the pipeline structure dict.\n\nArgs:\n structure_dict (dict): dict returned by step.upstream_structure\n\nReturns:\n graph (pydot.Dot): object representing upstream pipeline structure (with regard to the current... | 0 |
{'name': 'TarFile.gettarinfo@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/distlib/_backport/tarfile.py', 'description': "Create a TarInfo object for either the file `name' or the file\nobject `fileobj' (using os.fstat on its file descriptor). You can\nmodify some of the TarInfo's attributes before you add it... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQSECITEM_MQNLIST = 2 | 0 |
{'name': 'Message.from_pydict@src/betterproto/__init__.py', 'description': 'Parse the key/value pairs into the current message instance. This returns the\ninstance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nvalue: Dict[:class:`str`, Any]\n The dictionary to parse from.\n\nReturns\n... | 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': 'ProcessLine@ament_cpplint/ament_cpplint/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 fi... | 0 |
{'name': 'Path.asGameModRelative@ValveFileSystem/path.py', 'description': "Returns a path instance that is relative to the mod if the path is under the game tree.\nIf the path doesn't match the game tree, the original filepath is returned.", 'signature': 'def asGameModRelative(self):'}</s>{'name': 'DisableValidDependen... | 0 |
{'name': 'DarwinLogEventBasedTestBase.do_test@lldb/packages/Python/lldbsuite/test/darwin_log.py', 'description': 'Runs the test inferior, returning collected events.\n\nThis method runs the test inferior to the first breakpoint hit.\nIt then adds a listener for structured data events, and collects\nall events from that... | 0 |
{'name': 'HtmlRenderer.__init__@mistletoe/html_renderer.py', 'description': "Args:\n extras (list): allows subclasses to add even more custom tokens.\n html_escape_double_quotes (bool): whether to also escape double\n quotes when HTML-escaping rendered text.\n html_escape_single_quotes (bool): whether t... | 0 |
{'name': 'init_pairing_fock@doc/LectureNotes/_build/jupyter_execute/cc.py', 'description': 'initializes the Fock matrix of the pairing model\n\nparam delta: Single-particle spacing, as in Eq. (8.41)\nparam g: pairing strength, as in eq. (8.42)\nparam pnum: number of particle states\nparam hnum: number of hole states\n\... | 0 |
{'name': 'save_alias@d2lbook/library.py', 'description': 'Save alias into the library file', 'signature': 'def save_alias(tab_lib):'}</s>{'name': '_save_code@d2lbook/library.py', 'description': 'get the code blocks (import, class, def) that will be saved', 'code': 'def _save_code(input_fn, save_mark=\'@save\', tab=None... | 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': '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': 'stoi@pystoi/stoi.py', 'description': "Short term objective intelligibility\nComputes the STOI (See [1][2]) of a denoised signal compared to a clean\nsignal, The output is expected to have a monotonic relation with the\nsubjective speech-intelligibility, where a higher score denotes better\nspeech intelligibil... | 0 |
{'name': 'get_random_cached_bottlenecks@examples/imagenet-transfer-learning/train.py', 'description': 'Retrieves bottleneck values for cached images.\n\nIf no distortions are being applied, this function can retrieve the cached\nbottleneck values directly from disk for images. It picks a random set of\nimages from the ... | 0 |
{'name': 'Helpfile.WriteRow@vimdoc/output.py', 'description': 'Writes a horizontal divider row.', 'signature': 'def WriteRow(self):'}</s>{'name': 'CodeBlock@vimdoc/paragraph.py', 'description': 'DOCSTRING', 'base_classes': ['Paragraph'], 'methods': [{'name': 'CodeBlock.__init__@vimdoc/paragraph.py', 'description': 'DOC... | 0 |
{'name': 'test_simple_reroute_2@tests/test_traffic_scheduling_problem.py', 'description': 'to loads on a collision path.\n\n[1]<-->[2]<-->[3]<-->[4]\n | ^\n +---->[5]-->[6]------+', 'signature': 'def test_simple_reroute_2():'}</s>{'name': 'graph5x5@tests/test_graph.py', 'description': 'DOCSTRING', 'c... | 0 |
{'name': 'BasicGEModel.link_predict@python/dglke/models/ke_model.py', 'description': "Predicts missing entities or relations in a triplet.\n\nGiven head_id, relation_id and tail_id, return topk most relevent triplet.\n\nParameters\n----------\nhead: th.Tensor\n A tensor of head entity id.\n\nrel: th.Tensor\n A te... | 0 |
{'name': 'E2E.forward@espnet/nets/pytorch_backend/e2e_asr_transformer.py', 'description': 'E2E forward.\n\n:param torch.Tensor xs_pad: batch of padded source sequences (B, Tmax, idim)\n:param torch.Tensor ilens: batch of lengths of source sequences (B)\n:param torch.Tensor ys_pad: batch of padded target sequences (B, L... | 0 |
{'name': 'MainFrame.update_textlist_from_xmat@src/python_scripts/afnipy/gui_xmat.py', 'description': 'given the X matrix and columns, fill screen data list', 'signature': 'def update_textlist_from_xmat(self):'}</s>{'name': 'get_process_stack_slow@src/python_scripts/afnipy/afni_util.py', 'description': 'use repeated cal... | 0 |
{'name': 'pointcloud2_to_array@pypcd/numpy_pc2.py', 'description': 'Converts a rospy PointCloud2 message to a numpy recordarray\n\nReshapes the returned array to have shape (height, width), even if the height is 1.\n\nThe reason for using np.fromstring rather than struct.unpack is speed... especially\nfor large point c... | 0 |
{'name': 'PipelineParallelTransformerModel.build_model_base@fairseq/model_parallel/models/pipeline_parallel_transformer/model.py', 'description': 'Build a new model instance.', 'signature': 'def build_model_base(cls, args, task):'}</s>{'name': 'CudaEnvironment@fairseq/utils.py', 'description': 'DOCSTRING', 'base_classe... | 0 |
{'name': 'BaseImage.polaroid@wand/image.py', 'description': "Creates a special effect simulating a Polaroid photo.\n\n:see: Example of :ref:`polaroid`.\n\n:param angle: applies a shadow effect along this angle.\n:type angle: :class:`numbers.Real`\n:param caption: Writes a message at the bottom of the photo's border.\n:... | 1 |
{'name': 'Circuit.eval@discopy/quantum/circuit.py', 'description': "Evaluate a circuit on a backend, or simulate it with numpy.\n\nParameters\n----------\nothers : :class:`discopy.quantum.circuit.Circuit`\n Other circuits to process in batch.\nbackend : pytket.Backend, optional\n Backend on which to run the circu... | 0 |
{'name': 'mulaw@utils/audio.py', 'description': 'Mu-Law companding\nMethod described in paper [1]_.\n.. math::\n f(x) = sign(x) ln (1 + mu |x|) / ln (1 + mu)\nArgs:\n x (array-like): Input signal. Each value of input signal must be in\n range of [-1, 1].\n mu (number): Compression parameter ``μ``.\nReturn... | 0 |
{'name': 'socksocket._SOCKS5_request@nova/proxy/socks.py', 'description': 'Send SOCKS5 request with given command (CMD field) and\naddress (DST field). Returns resolved DST address that was used.', 'signature': 'def _SOCKS5_request(self, conn, cmd, dst):'}</s>PROXY_TYPES = {"SOCKS4": SOCKS4, "SOCKS5": SOCKS5, "HTTP": H... | 0 |
{'name': '_init@Engine/lib/assimp/port/PyAssimp/pyassimp/core.py', 'description': "Custom initialize() for C structs, adds safely accessible member functionality.\n\n:param target: set the object which receive the added methods. Useful when manipulating\npointers, to skip the intermediate 'contents' deferencing.", 'sig... | 0 |
{'name': 'WrappedSocket.handshake@src/ahip/contrib/securetransport.py', 'description': "Actually performs the TLS handshake. This is run automatically by\nwrapped socket, and shouldn't be needed in user code.", 'signature': 'def handshake('}</s>orig_util_SSLContext = util.ssl_.SSLContext | 0 |
{'name': 'parse_method@src/civis/resources/_resources.py', 'description': 'Generate a python function from a specification of that function.', 'signature': 'def parse_method(verb, operation, path):'}</s>{'name': 'return_annotation_from_property@src/civis/resources/_resources.py', 'description': 'DOCSTRING', 'code': 'de... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIACF_SMDS_AVAIL = 1350 | 0 |
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'SmartfolderGroupby@infoblox_client/objects.py', 'description': 'DOCSTRING', '... | 0 |
{'name': 'BaseRequest.query@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'The :attr:`query_string` parsed into a :class:`FormsDict`. These\nvalues are sometimes called "URL arguments" or "GET parameters", but\nnot to be confused with "URL wildcards" as they are provided by the\n:class:`Router`. ', 's... | 0 |
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>SFixed64Encoder = _StructPackEncoder(wire_format.WIRETYPE_FIXED64, '<q') | 0 |
{'name': 'CheckLanguage@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current fi... | 0 |
{'name': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'MIPS64@gef.py', 'description': 'DOCSTRING', 'base_classes': ['MIPS'], 'methods': [{'name': 'MIPS64.supports_gdb_arch@gef.py', 'description': 'DOCSTRING', 'code': 'def supports_gdb_arch... | 0 |
{'name': 'pi@diffcp/cones.py', 'description': 'Projects x onto product of cones (or their duals)\nArgs:\n x: NumPy array (with PSD data formatted in SCS convention)\n cones: list of (cone name, size)\n dual: whether to project onto the dual cone\nReturns:\n NumPy array that is the projection of `x` onto the... | 1 |
{'name': 'hist2dplot@src/mplhep/plot.py', 'description': 'Create a 2D histogram plot from `np.histogram`-like inputs.\n\nParameters\n----------\nH : object\n Histogram object with containing values and optionally bins. Can be:\n\n - `np.histogram` tuple\n - `boost_histogram` histogram object\n - raw histogr... | 0 |
{'name': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>OP_2DROP = CScriptOp(0x6d) | 0 |
{'name': '_build_ssd_model@object_detection/builders/model_builder.py', 'description': 'Builds an SSD detection model based on the model config.\n\nArgs:\n ssd_config: A ssd.proto object containing the config for the desired\n SSDMetaArch.\n is_training: True if this model is being built for training purposes.\n ... | 0 |
{'name': 'ResnetUtilsTest.testAtrousValuesBottleneck@Attackset/Iter2_v4_random/nets/resnet_v1_test.py', 'description': 'Verify the values of dense feature extraction by atrous convolution.\n\nMake sure that dense feature extraction by stack_blocks_dense() followed by\nsubsampling gives identical results to feature extr... | 1 |
{'name': 'PFAddr._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, a):'}</s>{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'code': 'def azero(seq):\n """Return True if all numbers in \'seq\' are 0s."""\... | 0 |
{'name': 'NodeList.init@shingetsu/node.py', 'description': 'Connect initial node.', 'signature': 'def init(self):'}</s>{'name': 'RegExpList@shingetsu/conflist.py', 'description': 'RegExp list.\n\nOne regexp per one line.', 'base_classes': ['ConfList'], 'methods': [{'name': 'RegExpList.compile@shingetsu/conflist.py', 'd... | 0 |
{'name': 'replicate@src/zfs_tools/zbackup.py', 'description': 'Replicate given filesystem, possibly after deleting snapshots from other tiers.', 'signature': 'def replicate(filesystem, destination, options):'}</s>{'name': 'zbackup_properties@src/zfs_tools/zbackup.py', 'description': 'Return list of relevant properties ... | 0 |
{'name': 'CommonTreeAdaptor.getToken@swap-ssdb-1.9.2/deps/cpy/antlr3/tree.py', 'description': 'What is the Token associated with this node? If\nyou are not using CommonTree, then you must\noverride this in your own adaptor.', 'signature': 'def getToken(self, t):'}</s>EOF = -1 | 0 |
{'name': 'IsiDataInsightsDaemon.__init__@isi_data_insights_daemon.py', 'description': "Initialize.\n:param: pidfile is the path to the daemon's pidfile (required).", 'signature': 'def __init__(self, pidfile):'}</s>{'name': 'DerivedStatComputer@isi_data_insights_daemon.py', 'description': 'DOCSTRING', 'base_classes': ['... | 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': 'Mode@pytest_asyncio/plugin.py', 'description': 'DOCSTRING', 'base_classes': ['str', 'enum.Enum'], 'methods': []} | 0 |
{'name': 'document@api/project/__init__.py', 'description': 'Returns the matching document(s) from the specified index\n\nParameters\n----------\nrequest : Request\n Uses \'from\', \'to\', \'limit\', \'filter\', and \'doctype\' from request arguments\n\nReturns\n-------\nfilter\n dict containing the filters, e.g.... | 0 |
{'name': 'CheckLanguage@ament_cpplint/ament_cpplint/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current fi... | 0 |
{'name': 'inform_user@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Tell the user the option values that are going to be used.\n ', 'signature': 'def inform_user():'}</s>sip_min_version = 264962 | 0 |
{'name': 'Application._load_environment@robopianist/viewer/application.py', 'description': 'Loads a new environment.', 'signature': 'def _load_environment(self, zoom_to_scene):'}</s>KEY_BACKSLASH = 92 | 0 |
{'name': 'character_level_rep@vsm.py', 'description': 'Get a representation for `word` as the sum of all the\nrepresentations of `n`grams that it contains, according to `cf`.\n\nParameters\n----------\nword : str\n The word to represent.\n\ncf : pd.DataFrame\n The character-level VSM (e.g, the output of `ngram_vs... | 0 |
{'name': 'obsws.disconnect@obswebsocket/core.py', 'description': 'Disconnect from websocket server\n\n:return: Nothing', 'signature': 'def disconnect(self):'}</s>camelcase_to_kebabcase = re.compile(r'(?<!^)(?=[A-Z])') | 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': 'render_markdown@src/wagtailmarkdown/utils.py', 'description': 'Turn markdown into HTML.', 'signature': 'def render_markdown(text, context=None):'}</s>SETTINGS_MODE_OVERRIDE = "override" | 0 |
{'name': 'test_unbound_method_handler@tests/test_event.py', 'description': 'Test failure mode for unbound method handlers.', 'signature': 'def test_unbound_method_handler():'}</s>{'name': 'StaticMethodHandler@tests/utils.py', 'description': 'A static method handler to test event callbacks.', 'base_classes': ['object'],... | 0 |
{'name': 'HPELM.add_data_async@hpelm/hp_elm.py', 'description': "Version of `add_data()` with asyncronous I/O. See `add_data()` for reference.\n\nSpawns new processes using Python's `multiprocessing` module, and requires more memory than non-async version.", 'signature': 'def add_data_async(self, fX, fT, istart=0, icou... | 1 |
{'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': 'create_remote_file_bundle@tests/functional/test_link_localization.py', 'description': 'Create a bundle with\na.) an unmanaged s3 path\nb.) a managed s3 path\nc.) a managed s3 path with a directory', 'signature': 'def create_remote_file_bundle(name):'}</s>{'name': 'search@disdat/api.py', 'description': 'Search... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQPROP_ALL = 2 | 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': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a template that specifies a timedelta', 'signature': 'def render_positive_time_period(data: dict, key: str) -> None:'}</s>TIMELINE_SCHEDULE = "schedule" | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.