text string | label int64 |
|---|---|
{'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>MQPSXP_VERSION_2 = 2 | 0 |
{'name': 'pytest_runtest_teardown@Chapter03/tests/conftest.py', 'description': 'Called at the end of each test', 'signature': 'def pytest_runtest_teardown(item, nextitem):'}</s>{'name': 'commit_session@Chapter02/serverless/cupping/db/__init__.py', 'description': 'DOCSTRING', 'code': 'def commit_session(_raise=False): #... | 0 |
{'name': 'BasicGraph.__contains__@graph/base.py', 'description': ':returns bool: True if node in Graph.', 'signature': 'def __contains__(self, item):'}</s>{'name': 'BasicGraph@graph/base.py', 'description': 'BasicGraph is the base graph that all methods use.\nFor methods, please see the documentation on the\nindividual... | 1 |
{'name': 'get_topo_file@oggm/utils/_downloads.py', 'description': "Path(s) to the DEM file(s) covering the desired extent.\n\nIf the needed files for covering the extent are not present, download them.\n\nThe default behavior is to try a list of DEM sources in order, and\nstop once the downloaded data is covering a lar... | 1 |
{'name': 'DayGroupCreateView.form_valid@rosters/views.py', 'description': 'Add all days to day group by default.', 'signature': 'def form_valid(self, form):'}</s>{'name': 'ShiftRuleRoleUpdateView@rosters/views.py', 'description': 'Shift Rule Role Update View.', 'base_classes': ['LoginRequiredMixin', 'PermissionRequired... | 0 |
{'name': 'Beam.add_supports@indeterminatebeam/indeterminatebeam.py', 'description': 'Associate support objects with the beam object.\n\nParameters\n----------\n*supports : iterable\n An iterable containing Support objects to be applied to\n the Beam object. Note that the load application point\n (or segment) m... | 0 |
{'name': 'labserverapp@jupyterlab_server/pytest_plugin.py', 'description': 'A lab server app.', 'signature': 'def labserverapp('}</s>labextensions_dir = pytest.fixture(lambda tmp_path: mkdir(tmp_path, "labextensions_dir")) | 0 |
{'name': 'init@tilemapbase/ordnancesurvey.py', 'description': 'Perform a search for tile files, and so initialise the support.\n\n:param start_directory: The string name of the directory to search. May\n also be an iterable of strings to search more than one directory. All\n sub-directories will be searched for val... | 0 |
{'name': '_EpanetRule.add_action_on_false@wntr/epanet/io.py', 'description': 'Add an "else" action from an IfThenElseControl', 'signature': "def add_action_on_false(self, action, prefix=' ELSE'):"}</s>{'name': 'OrCondition@wntr/network/controls.py', 'description': 'Combine two WNTR Conditions with an OR.\n\nParameters\... | 0 |
{'name': 'CheckStyle@tools/caffe-sphereface/scripts/cpp_lint.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 insid... | 0 |
{'name': 'Camera.gpsFromImage@cameratransform/camera.py', 'description': 'Convert points (Nx2) from the **image** coordinate system to the **gps** coordinate system.\n\nParameters\n----------\npoints : ndarray\n the points in **image** coordinates to transform, dimensions (2), (Nx2)\n\nReturns\n-------\npoints : nda... | 0 |
{'name': 'DFTimewolfTool.ValidateArguments@dftimewolf/cli/dftimewolf_recipes.py', 'description': 'Validate the arguments.\n\nArgs:\n dry_run: True if the tool is only testing parameters, False otherwise.\n\nRaises:\n errors.CriticalError: If one or more arguments could not be validated.', 'signature': 'def ValidateAr... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQ_AUTH_INFO_NAME_LENGTH = 48 | 0 |
{'name': 'MQTTSubscribeDriverConfEditor.default_stanza@bin/user/MQTTSubscribe.py', 'description': 'The default configuration stanza. ', 'signature': 'def default_stanza(self):'}</s>{'name': 'ManageWeewxConfig@bin/user/MQTTSubscribe.py', 'description': 'Manage the WeeWX configuration. ', 'base_classes': [], 'methods': [... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMHO_LENGTH_1 = 12 | 0 |
{'name': 'auto_from_etree@a38/fattura.py', 'description': 'Instantiate a Fattura or FatturaElettronicaSemplificata from a parsed XML', 'signature': 'def auto_from_etree('}</s>{'name': 'CessionarioCommittente@a38/fattura.py', 'description': 'DOCSTRING', 'base_classes': ['models.Model'], 'methods': []} | 0 |
{'name': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'AstMap@src/api/python/z3/z3.py', 'description': 'A mapping from ASTs to ASTs.', 'base_classes': [], 'methods': [{'name': 'AstMa... | 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': 'parse_1dplot_args@src/python_scripts/afnipy/lib_apqc_io.py', 'description': 'Parse arguments for Pythony 1dplotter.\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.', 'sig... | 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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQRC_STAT_TYPE_ERROR = 2430 | 0 |
{'name': 'remove_y@test/test_utils.py', 'description': 'Quadruplets and triplets learners have no y in fit, but to write test for\nall estimators, it is convenient to have this function, that will return X\nand y if the estimator needs a y to fit on, and just X otherwise.', 'signature': 'def remove_y(estimator, X, y):'... | 0 |
{'name': 'net_bond_obj@kayobe/plugins/filter/networks.py', 'description': 'Return a dict representation of a network bond interface.\n\nThe returned dict is compatible with the interfaces_bond_interfaces\nvariable in the MichaelRigaert.interfaces role.', 'signature': 'def net_bond_obj(context, name, inventory_hostname=... | 0 |
{'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': 'RIPPER.score@wittgenstein/ripper.py', 'description': "Score the performance of a fit model.\n\nX : DataFrame, numpy array, or other iterable\n Examples to score.\ny : Series, numpy array, or other iterable\n Class label actuals.\n\nscore_function : function, default=score_accuracy\n Any scoring funct... | 0 |
{'name': 'FffYmltoCFsConv._fff_scan_host_folder@Utilities/fineFileFramework/source/fine_file_framework/template/fffyml2c.py', 'description': 'scan host folder, apply filtering and attach folder / file attribute to main class', 'signature': 'def _fff_scan_host_folder(self, path, host_dir_attr, parent, indent=0):'}</s>{'... | 1 |
{'name': 'p_identifier_list@ctypesgen/parser/cgrammar.py', 'description': 'identifier_list : IDENTIFIER\n| identifier_list COMMA IDENTIFIER', 'signature': 'def p_identifier_list(p):'}</s>{'name': 'p_storage_class_specifier@ctypesgen/parser/cgrammar.py', 'description': 'storage_class_specifier : TYPEDEF\n| EXTERN\n| STA... | 0 |
{'name': 'indentedBlock@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining space-delimited indentation blocks, such as\nthose used to define block statements in Python source code.\n\nParameters:\n - blockStatementExpr - expression defining syntax of statement that\n ... | 0 |
{'name': 'TrinoQuery.cancel@trino/client.py', 'description': 'Cancel the current query', 'signature': 'def cancel(self) -> None:'}</s>{'name': 'Http504Error@trino/exceptions.py', 'description': 'DOCSTRING', 'base_classes': ['HttpError'], 'methods': []} | 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>RES_TIMELINE_SCHEDULED = "scheduled" | 0 |
{'name': 'IUSequence.as_dict@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return this sequence as a dict', 'signature': 'def as_dict(self, extended=False, sqr: IUSequenceRun = None) -> OrderedDict:'}</s>CONF_VOLUME = "volume" | 0 |
{'name': 'copy_ctypes@capstone/bindings/python/capstone/__init__.py', 'description': 'Returns a new ctypes object which is a bitwise copy of an existing one', 'signature': 'def copy_ctypes(src):'}</s>{'name': 'PpcOp@capstone/bindings/python/capstone/ppc.py', 'description': 'DOCSTRING', 'base_classes': ['ctypes.Structur... | 0 |
{'name': 'MessageSetItemEncoder@third_party/include/protobuf-2.6.1/python/google/protobuf/internal/encoder.py', 'description': 'Encoder for extensions of MessageSet.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n required int32 type_id = 2;\n required stri... | 0 |
{'name': '_JS.__updatestate@ros_ws/src/crazyswarm/scripts/pycrazyswarm/linuxjsdev.py', 'description': 'Update the internal absolute state of buttons and axes', 'signature': 'def __updatestate(self, jsdata):'}</s>JE_TYPE = 2 | 1 |
{'name': 'type_inference@06_prepare/data-wrangler/data_wrangler_antje.py', 'description': 'Core type inference logic\n\nArgs:\n df: spark dataframe\n\nReturns: dict a schema that maps from column name to mohave datatype', 'signature': 'def type_inference(df): # noqa: C901 # pylint: disable=R0912'}</s>{'name': 'expr... | 0 |
{'name': 'stream@src/fitly/api/spotifyAPI.py', 'description': 'Captures live activity of spotify web player and adds list of states (playback feed) to queue after each song finishes\n:param tekoreClient: tekoreClient obejct\n:return: none', 'signature': 'def stream():'}</s>redirect_uri = config.get('spotify', 'redirect... | 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': 'determine_if_alert@raspisump/alerts.py', 'description': 'Determine if an alert is required. Only send if last alert has been\nsent more than the amount of time identified in the raspisump.conf file.\nEntry in conf file is alert_interval under the [email] section.', 'signature': 'def determine_if_alert(water_... | 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': 'list_to_carray@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'Converts a python list into a C array', 'signature': 'def list_to_carray(elem_type, *args):'}</s>{'name': 'create_null_pointer@language-bindings/python/src/wamr/wasmcapi/ffi.py', 'description': 'DOCSTRING', 'code': 'def create_... | 0 |
{'name': 'eval@shipwright/_lib/dependencies.py', 'description': 'Given a list of partially applied functions that\ntake a tree and return a list of image names.\n\nFirst apply all non-exclude functinons with the tree built from targets\ncreating a union of the results.\n\nThen returns the results of applying each exclu... | 1 |
{'name': 'enable_notebook@mpld3/_display.py', 'description': 'Enable the automatic display of figures in the IPython Notebook.\n\nThis function should be used with the inline Matplotlib backend\nthat ships with IPython that can be enabled with `%pylab inline`\nor `%matplotlib inline`. This works by adding an HTML forma... | 1 |
{'name': 'get_root@versioneer.py', 'description': 'Get the project root directory.\n\nWe require that all commands are run from the project root, i.e. the\ndirectory that contains setup.py, setup.cfg, and versioneer.py .', 'signature': 'def get_root():'}</s>SAMPLE_CONFIG = "
# See the docstring in versioneer.py for ins... | 0 |
{'name': 'ToggleColumnMixIn.add_header_context_menu@astviewer/toggle_column_mixin.py', 'description': 'Adds the context menu from using header information\n\nchecked can be a header_name -> boolean dictionary. If given, headers\nwith the key name will get the checked value from the dictionary.\nThe corresponding column... | 0 |
{'name': 'add_constructor@Others_Labs/code/Survey-Survey/yaml/__init__.py', 'description': 'Add a constructor for the given tag.\nConstructor is a function that accepts a Loader instance\nand a node object and produces the corresponding Python object.', 'signature': 'def add_constructor(tag, constructor, Loader=Loader)... | 0 |
{'name': 'OrderFileTestCase.test@llvm-project/lldb/test/API/macosx/order/TestOrderFile.py', 'description': 'Test debug symbols follow the correct order by the order file.', 'signature': 'def test(self):'}</s>{'name': 'expectedFlakeyDarwin@llvm-project/lldb/packages/Python/lldbsuite/test/decorators.py', 'description': '... | 0 |
{'name': '_NeedToReturnNothingDiagnoser@3rdparty/googletest/googlemock/scripts/gmock_doctor.py', 'description': 'Diagnoses the NRN disease, given the error messages by the compiler.', 'signature': 'def _NeedToReturnNothingDiagnoser(msg):'}</s>{'name': 'Diagnose@3rdparty/googletest/googlemock/scripts/gmock_doctor.py', '... | 0 |
{'name': 'BIDSLayout.add_derivatives@src/bids/layout/layout.py', 'description': 'Add BIDS-Derivatives datasets to tracking.\n\nParameters\n----------\npath : str or list\n One or more paths to BIDS-Derivatives datasets.\n Each path can point to either a derivatives/ directory\n containing one or more pipeline ... | 0 |
{'name': 'minimal_init@soundrts/clientmedia.py', 'description': 'initialize sound, voice, screen, window title, keyboard', 'signature': 'def minimal_init():'}</s>AWAITING_YOUR_ORDERS = [4202] | 0 |
{'name': 'TestDecode.testDecodeBadUTF8@src/tests/testXmlEncodingDecode.py', 'description': 'Ensure bad UTF-8 is flagged as such, but still decoded.', 'signature': 'def testDecodeBadUTF8(self):'}</s>{'name': 'MissingDescription@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['MissingElement']... | 0 |
{'name': 'func@python/taichi/lang/kernel_impl.py', 'description': 'Marks a function as callable in Taichi-scope.\n\nThis decorator transforms a Python function into a Taichi one. Taichi\nwill JIT compile it into native instructions.\n\nArgs:\n fn (Callable): The Python function to be decorated\n is_real_function ... | 0 |
{'name': '_dump_float@src/betterproto/__init__.py', 'description': 'Dump the given float to JSON\n\nParameters\n----------\nvalue: float\n Value to dump\n\nReturns\n-------\nUnion[float, str]\n Dumped value, either a float or the strings', 'signature': 'def _dump_float(value: float) -> Union[float, str]:'}</s>{'n... | 0 |
{'name': 'check_multiple_rvt_shift_opts@src/python_scripts/afnipy/lib_physio_opts.py', 'description': "Can only use at most one '-rvt_shift*' opt. Simplest to check for\nthat at one time.\n\nParameters\n----------\nargs_dict : dict\n The dictionary of arguments and option values.\n\nReturns\n-------\nis_bad : int\n... | 0 |
{'name': 'Keyboard._add_keycode_to_report@adafruit_hid/keyboard.py', 'description': 'Add a single keycode to the USB HID report.', 'signature': 'def _add_keycode_to_report(self, keycode: int) -> None:'}</s>_MAX_KEYPRESSES = const(6) | 1 |
{'name': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be... | 0 |
{'name': 'convert_date@plugin.video.realizerx/resources/lib/api/tvdbapi.py', 'description': 'Convert a thetvdb date string into a datetime.date object.', 'signature': 'def convert_date(date_string):'}</s>{'name': 'getTvdbTranslation@plugin.video.realizerx/resources/lib/api/tvdbapi.py', 'description': 'DOCSTRING', 'code... | 0 |
{'name': 'field_assertions_and_warnings@scripts/schema/cleaner.py', 'description': 'Additional checks on a fleshed out field', 'signature': 'def field_assertions_and_warnings(field: FieldDetails) -> None:'}</s>{'name': 'validate_pattern_regex@scripts/schema/cleaner.py', 'description': "Validates if field['pattern'] con... | 1 |
{'name': 'to_taichi_type@python/taichi/lang/util.py', 'description': 'Convert numpy or torch or paddle data type to its counterpart in taichi.\n\nArgs:\n dt (DataType): The desired data type to convert.\n\nReturns:\n DataType: The counterpart data type in taichi.', 'signature': 'def to_taichi_type(dt):'}</s>{'nam... | 0 |
{'name': 'versus_rest@diffxpy/testing/tests.py', 'description': 'Perform pairwise differential expression test between two groups on adata object\nfor each gene for each groups versus the rest of the data set.\n\nThis function wraps the selected statistical test for the scenario of\na two sample comparison. All unit_te... | 0 |
{'name': 'document@libscanbuild/report.py', 'description': 'Generates cover report and returns the number of bugs/crashes. ', 'signature': 'def document(args):'}</s>{'name': 'bug_report@libscanbuild/report.py', 'description': 'Creates a fragment from the analyzer reports. ', 'code': 'def bug_report(output_dir, prefix):... | 1 |
{'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>MASK_C_SDSP = 57347 | 0 |
{'name': 'SegWitTest.test_witness_sigops@test/functional/p2p_segwit.py', 'description': 'Ensure sigop counting is correct inside witnesses.', 'signature': 'def test_witness_sigops(self):'}</s>mininode_socket_map = dict() | 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': 'MaskRCNN.get_anchors@Mask_RCNN/mrcnn/model.py', 'description': 'Returns anchor pyramid for the given image size.', 'signature': 'def get_anchors(self, image_shape):'}</s>{'name': 'trim_zeros@Mask_RCNN/mrcnn/utils.py', 'description': "It's common to have tensors larger than the available data and\npad with zer... | 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': 'build_input_pipeline@6_AI-ML/4_tensorflow/advanced-tf/vq_vae.py', 'description': 'Builds an Iterator switching between train and heldout data.', 'signature': 'def build_input_pipeline(data_dir, batch_size, heldout_size, mnist_type):'}</s>{'name': 'load_bernoulli_mnist_dataset@6_AI-ML/4_tensorflow/advanced-tf/... | 1 |
{'name': 'User.initialize@src/astrobotany/models.py', 'description': 'Register a new player.', 'signature': 'def initialize(cls, username: str) -> User:'}</s>badge_286 = Badge("feather", series=3, number=86, symbol="🪶") | 0 |
{'name': 'update_weights_gd@chapter7/linear_regression.py', 'description': 'Update weights by one step and return updated wights', 'signature': 'def update_weights_gd(X_train, y_train, weights, learning_rate):'}</s>X_test = np.array([[1.3], [3.5], [5.2], [2.8]]) | 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': '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': 'PULP_CBC_CMDTest.test_cuts_off@pulp/tests/test_pulp.py', 'description': 'Test if setting cuts=False adds cuts off to the command line.', 'signature': 'def test_cuts_off(self):'}</s>EPS = 1e-07 | 0 |
{'name': 'basicConfig@Monika After Story/game/python-packages/logging/__init__.py', 'description': "Do basic configuration for the logging system.\n\nThis function does nothing if the root logger already has handlers\nconfigured. It is a convenience method intended for use by simple scripts\nto do one-shot configuratio... | 0 |
{'name': 'apply_along_axis@venv/Lib/site-packages/numpy/ma/extras.py', 'description': '(This docstring should be overwritten)', 'signature': 'def apply_along_axis(func1d, axis, arr, *args, **kwargs):'}</s>abs = _MaskedUnaryOperation(umath.absolute) | 0 |
{'name': 'flash@zigate/flasher.py', 'description': 'Read or write firmware', 'signature': "def flash(serialport='auto', write=None, save=None, erase=False, pdm_only=False):"}</s>{'name': 'erase_EEPROM@zigate/flasher.py', 'description': 'DOCSTRING', 'code': "def erase_EEPROM(ser, pdm_only=False):\n ser.timeout = 10 ... | 1 |
{'name': 'test_kitti_3d@lib/rpn_util.py', 'description': 'Test the KITTI framework for object detection in 3D', 'signature': 'def test_kitti_3d(dataset_test, net, rpn_conf, results_path, test_path, has_rcnn=False):'}</s>{'name': 'RandomBrightness@lib/augmentations.py', 'description': 'Randomly adjust the brightness of ... | 0 |
{'name': 'select_hfr_db@disdat/hyperframe.py', 'description': 'Create an HFrame Record from a row in our DB.\nWhere uuid= && owner= && human_name= && processing_name=\n\nArgs:\n engine_g:\n uuid (str): add to where clause\n owner (str): add to where clause\n human_name (str): add to where clause\n proce... | 0 |
{'name': 'eval_model@robustness/train.py', 'description': 'Evaluate a model for standard (and optionally adversarial) accuracy.\n\nArgs:\n args (object) : A list of arguments---should be a python object \n implementing ``getattr()`` and ``setattr()``.\n model (AttackerModel) : model to evaluate\n loader... | 1 |
{'name': 'EC_pub.get_der@src/M2Crypto/EC.py', 'description': 'Returns the public key in DER format as a buffer object.', 'signature': 'def get_der(self):'}</s>NID_secp160r2 = m2.NID_secp160r2 | 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>MQRC_ALTER_SUB_ERROR = 2435 | 0 |
{'name': 'Retry.increment@venv/Lib/site-packages/pip-19.0.3-py3.8.egg/pip/_vendor/urllib3/util/retry.py', 'description': 'Return a new Retry object with incremented retry counters.\n\n:param response: A response object, or None, if the server did not\n return a response.\n:type response: :class:`~urllib3.response.HT... | 0 |
{'name': 'detect_classifier@sklearn_pmml_model/auto_detect/base.py', 'description': 'Detect the type of classifier in line if present.\n\nParameters\n----------\nline : str, bytes\n Line of a PMML file as a string.\n\npmml : str, object\n Filename or file object containing PMML data.', 'signature': 'def detect_cl... | 0 |
{'name': 'adjust_viewbox@make_svg_font.py', 'description': 'Changes viewbox\'s values.\n\nThe regex match will contain 4 groups:\n 1. String from \'<svg\' up to the space before \'viewBox\'\n 2. The whole \'viewBox\' property (e.g. \' viewBox="0 100 128 128"\')\n 3. The \'viewBox\' values\n 4. Remainder of ... | 0 |
{'name': 'attach_exception_hook@asynq/debug.py', 'description': 'Injects async exception hook into the sys.excepthook.', 'signature': 'def attach_exception_hook():'}</s>{'name': 'enable_filter_traceback@asynq/debug.py', 'description': "Enable/disable replacing asynq boilerplate lines in stacktraces.\n\nThese lines are ... | 0 |
{'name': 'train@fairseq_cli/train.py', 'description': 'Train the model for one epoch and return validation losses.', 'signature': 'def train('}</s>{'name': 'convert_padding_direction@fairseq/utils.py', 'description': 'DOCSTRING', 'code': 'def convert_padding_direction(\n src_tokens, padding_idx, right_to_left: bool ... | 0 |
{'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>ACTION_STOP_INSTANCES = "StopInstances" | 0 |
{'name': 'matrix@nxviz/layouts.py', 'description': 'Matrix plot layout.', 'signature': 'def matrix(nt, group_by: Hashable = None, sort_by: Hashable = None, axis="x"):'}</s>{'name': 'circos@nxviz/layouts.py', 'description': 'Circos plot node layout.', 'code': 'def circos(\n nt: pd.DataFrame,\n group_by: Hashable =... | 0 |
{'name': 'Modules@vimdoc/module.py', 'description': 'Creates modules from a plugin directory.\n\nNote that there can be many, if a plugin has standalone parts that merit their\nown helpfiles.\n\nArgs:\n directory: The plugin directory.\nYields:\n Module objects as necessary.', 'signature': 'def Modules(directory):'}<... | 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>MQIDO_BACKOUT = 2 | 0 |
{'name': 'engine.classical@src/bids/external/inflect.py', 'description': 'turn classical mode on and off for various categories\n\nturn on all classical modes:\nclassical()\nclassical(all=True)\n\nturn on or off specific claassical modes:\ne.g.\nclassical(herd=True)\nclassical(names=False)\n\nBy default all classical m... | 0 |
{'name': '_FloatingPointEncoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/encoder.py', 'description': "Return a constructor for an encoder for float fields.\n\nThis is like StructPackEncoder, but catches errors that may be due to\npassing non-finite floating-point values to struct.pack, and ... | 0 |
{'name': 'processPEreads@amptk/process_illumina_folder.py', 'description': 'function for multiprocessing of the data, so take file list as input, need global forward/reverse list available', 'signature': 'def processPEreads(input, args=False):'}</s>{'name': 'fastalen2dict@amptk/amptklib.py', 'description': 'DOCSTRING',... | 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_CFBF_LENGTH_ERROR = 3264 | 0 |
{'name': 'ResultTable.print_summary@dival/evaluation.py', 'description': 'Prints a summary of the results.\n ', 'signature': 'def print_summary(self):'}</s>{'name': 'plot_image@dival/util/plot.py', 'description': "Plot image using matplotlib's :meth:`imshow` method.\n\nParameters\n----------\nx : array-like or P... | 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': 'degradation_bsrgan@ldm/modules/image_degradation/bsrgan.py', 'description': 'This is the degradation model of BSRGAN from the paper\n"Designing a Practical Degradation Model for Deep Blind Image Super-Resolution"\n----------\nimg: HXWXC, [0, 1], its size should be large than (lq_patchsizexsf)x(lq_patchsizexsf... | 0 |
{'name': 'ProcessGlobalSuppresions@third_party/cpplint/cpplint.py', 'description': 'Updates the list of global error suppressions.\n\nParses any lint directives in the file that have global effect.\n\nArgs:\n lines: An array of strings, each representing a line of the file, with the\n last element being empty ... | 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': 'parse_args@src/python_scripts/afnipy/lib_cdiflist.py', 'description': 'Go through user-entered options and fill an object with the values.\nThese will be used to setup plotting.', 'signature': 'def parse_args(full_argv):'}</s>{'name': 'parse_as_stim_list@src/python_scripts/afnipy/afni_util.py', 'description':... | 0 |
{'name': 'read_fixed_fmt@meza/io.py', 'description': "Reads a fixed-width csv file.\n\nArgs:\n filepath (str): The fixed width formatted file path or file like object.\n widths (List[int]): The zero-based 'start' position of each column.\n mode (Optional[str]): The file open mode (default: 'r').\n kwargs (d... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.