text string | label int64 |
|---|---|
{'name': 'get_measures@gnocchi/rest/aggregates/processor.py', 'description': 'Get aggregated measures of multiple entities.\n\n:param storage: The storage driver.\n:param metrics_and_aggregations: List of metric+agg_method tuple\n measured to aggregate.\n:param from timestamp: The timest... | 0 |
{'name': 'vgg13_bn@Yolov1_pytorch/models/net.py', 'description': 'VGG 13-layer model (configuration "B") with batch normalization\n\nArgs:\n pretrained (bool): If True, returns a model pre-trained on ImageNet', 'signature': 'def vgg13_bn(pretrained=False, **kwargs):'}</s>__all__ = [
'VGG', 'vgg11', 'vgg11_bn', '... | 0 |
{'name': 'find_stop@tools/hadb.py', 'description': 'Find time HA stopped # of times ago.', 'signature': 'def find_stop(stops: int) -> dt.datetime | None:'}</s>StateAttrs = tuple[str | None, Items, Items] | 0 |
{'name': 'GTestFailFastUnitTest.testFlag_HasParametersTest@third-party/googletest/googletest/test/googletest-failfast-unittest.py', 'description': 'Tests the behavior of fail_fast and TEST_P.', 'signature': 'def testFlag_HasParametersTest(self):'}</s>IS_CYGWIN = os.name == 'posix' and 'CYGWIN' in os.uname()[0] | 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>WHITE_KEY_MASS = 0.04 | 0 |
{'name': 'ProcessFileData@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Performs lint checks and reports any errors to the given error function.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n lines: An array of strin... | 0 |
{'name': 'handle_control_command@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Handle command from control channel', 'signature': 'def handle_control_command(sniffer, arg, typ, payload):'}</s>PACKET_HEADER = struct.Struct("<LLLL") | 0 |
{'name': 'YAML.__init__@strictyaml/ruamel/main.py', 'description': "_kw: not used, forces keyword arguments in 2.7 (in 3 you can do (*, safe_load=..)\ntyp: 'rt'/None -> RoundTripLoader/RoundTripDumper, (default)\n 'safe' -> SafeLoader/SafeDumper,\n 'unsafe' -> normal/unsafe Loader/Dumper\n 'base' ->... | 0 |
{'name': 'setup@dwave/cloud/cli.py', 'description': 'Setup optional Ocean packages and configuration file(s).\n\nEquivalent to running `dwave install [--all]`, followed by\nan optional `dwave auth login --skip-valid [--oob]` and then by\n`dwave config create [--full] [--auto-token]`.', 'signature': 'def setup(install_a... | 0 |
{'name': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ... | 0 |
{'name': 'Display.grab_server@Monika After Story/game/python-packages/Xlib/display.py', 'description': 'Disable processing of requests on all other client connections\nuntil the server is ungrabbed. Server grabbing should be avoided\nas much as possible.', 'signature': 'def grab_server(self, onerror = None):'}</s>{'nam... | 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': 'TestReadMemCString.test_read_memory_c_string@llvm-project/lldb/test/API/python_api/process/read-mem-cstring/TestReadMemCString.py', 'description': 'Test corner case behavior of SBProcess::ReadCStringFromMemory', 'signature': 'def test_read_memory_c_string(self):'}</s>{'name': 'get_threads_stopped_at_breakpoin... | 0 |
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>point_size = dvz.dvz_point_size | 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': 'TestUnusualSocketConditions.test_handle_recv_wantread_upload@test/test_sync_connection.py', 'description': 'When a socket is marked readable during request upload but returns\nWANT_READ when read from, the code ignores it and continues with upload.', 'signature': 'def test_handle_recv_wantread_upload(self):'}... | 0 |
{'name': 'calc_slice_target_position@geetest_online/geetest_online.py', 'description': 'recover image and calculate slice target position', 'signature': 'def calc_slice_target_position(fullbg_data, bg_data):'}</s>{'name': 'calc_userresponse@geetest_online/geetest_online.py', 'description': '根据滑动距离distance和challenge,计算u... | 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': 'RejectLog.plot@autoreject/autoreject.py', 'description': "Plot an image of good, bad and interpolated channels for each epoch.\n\nParameters\n----------\norientation : 'vertical' | 'horizontal'\n If `'vertical'` (default), will plot sensors on x-axis and epochs\n on y-axis. If `'horizontal'`, will plot ... | 0 |
{'name': 'RIPPER._grow_ruleset_cn@wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset_cn('}</s>{'name': 'neg@wittgenstein/base_functions.py', 'description': 'Return subset of instances that are labeled negative.', 'code': 'def neg(df, class_feat, pos_class):\n """R... | 0 |
{'name': 'runBody@cxxtest/cxxtestgen.py', 'description': 'Body of TestDescription::run()', 'signature': 'def runBody( suite, test ):'}</s>{'name': 'scanLineForTest@cxxtest/cxxtestgen.py', 'description': 'Check if current line starts a test', 'code': "def scanLineForTest( suite, lineNo, line ):\n '''Check if current ... | 0 |
{'name': 'visualize_result@DexiNed-TF2/utls.py', 'description': 'function for tensorflow results\n:param imgs_list: a list of prediction, gt and input data\n:param arg:\n:return: one image with the whole of imgs_list data', 'signature': 'def visualize_result(x,y,p, img_title):'}</s>{'name': 'read_files_list@DexiNed-TF2... | 0 |
{'name': 'SQL@grizli/aws/db.py', 'description': "Send a query to a database through `pandas.read_sql_query`\n\nParameters\n----------\nquery_text : str\n Query text, e.g., 'SELECT count(*) FROM table;'.\n\nengine : `sqlalchemy.engine.Engine`\n DB connection engine initialized with `~grizli.aws.db.get_db_engine`. ... | 0 |
{'name': 'TextAlignments._register_textline@camelot/core.py', 'description': 'Update an existing text edge in the current dict.', 'signature': 'def _register_textline(self, textline):'}</s>{'name': 'TableList@camelot/core.py', 'description': 'Defines a list of camelot.core.Table objects.\n\nEach table can be accessed u... | 0 |
{'name': 'graph@python/DisplayTests.py', 'description': 'Send the given graph file (a .gif) back to the user.', 'signature': 'def graph(req, type, revision, machine, buildType, graphName, timestamp=None):'}</s>{'name': '_getBuildObject@python/DisplayTests.py', 'description': 'Get the build object for the given build ty... | 0 |
{'name': 'ReceiptPDFTestCase.test_pdf_view@tests/test_views.py', 'description': 'Test the PDF generation view.', 'signature': 'def test_pdf_view(self) -> None:'}</s>{'name': 'ReceiptWithVatAndTaxFactory@django_afip/factories.py', 'description': 'Receipt with a valid Vat and Tax, ready to validate.', 'base_classes': ['R... | 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': 'CacheList.remove_removed@shingetsu/cache.py', 'description': 'Remove removed record from disk.', 'signature': 'def remove_removed(self):'}</s>{'name': 'check@shingetsu/spam.py', 'description': 'DOCSTRING', 'code': 'def check(recstr):\n global cached_rules\n if cached_rules is None:\n cached_rules... | 0 |
{'name': 'BaseHubConnection.send@signalrcore/hub/base_hub_connection.py', 'description': 'Sends a message\n\nArgs:\n method (string): Method name\n arguments (list|Subject): Method parameters\n on_invocation (function, optional): On invocation send callback\n will be raised on send server function ends.... | 0 |
{'name': '_ClassifyInclude@tools/cpplint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than "".\n\nReturns:\n One of th... | 0 |
{'name': 'nim_handler@cogs/results/ctr_support.py', 'description': 'Parses 3ds nim error codes in the following ranges:\n005-2000 to 005-3023:\n - NIM got a result of its own. Took description and added by 52000.\n005-4200 to 005-4399:\n - NIM got an HTTP result. Took description and added by 54200, cutting out at 5439... | 0 |
{'name': 'CheckLanguage@tools/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 file.\n clean_lines: A ... | 0 |
{'name': 'RasterArray.clip_box@rioxarray/raster_array.py', 'description': 'Clip the :obj:`xarray.DataArray` by a bounding box.\n\n.. versionadded:: 0.12 crs\n.. versionadded:: 0.16 allow_one_dimensional_raster\n\nParameters\n----------\nminx: float\n Minimum bound for x coordinate.\nminy: float\n Minimum bound fo... | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>{'name': 'CFSL@code/pymqi/__init__.py', 'description': "Construct an MQCFSL Structure with default values as per MQI.\nThe default values may ... | 1 |
{'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': '_GenerateRenderMethod.create_filter_callable@mako/codegen.py', 'description': "write a filter-applying expression based on the filters\npresent in the given filter names, adjusting for the global\n'default' filter aliases as needed.", 'signature': 'def create_filter_callable(self, args, target, is_expression)... | 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': 'TestUnusualSocketConditions.test_handle_recv_eagain_download@test/test_sync_connection.py', 'description': 'When a socket is marked readable during response body download but\nreturns EAGAIN when read from, the code simply retries the read.', 'signature': 'def test_handle_recv_eagain_download(self):'}</s>RECV... | 0 |
{'name': 'to_tk@discopy/quantum/tk.py', 'description': 'Takes a :class:`discopy.quantum.Circuit`, returns a :class:`Circuit`.', 'signature': 'def to_tk(circuit):'}</s>{'name': 'Scalar@discopy/quantum/gates.py', 'description': 'Scalar, i.e. quantum gate with empty domain and codomain. ', 'base_classes': ['Parametrized']... | 1 |
{'name': 'SolverWrapper.train_model@api/lib/fast_rcnn/train.py', 'description': 'Network training loop.', 'signature': 'def train_model(self, sess, max_iters, restore=False):'}</s>{'name': 'prepare_roidb@api/lib/roi_data_layer/roidb.py', 'description': "Enrich the imdb's roidb by adding some derived quantities that\nar... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRC_RECONNECT_QMID_MISMATCH = 2546 | 0 |
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>DEBUG = False | 0 |
{'name': 'github_import@code/synchronization/github_import.py', 'description': 'Import various information from Github repositories (like contributors) or stars for Github repos\nGithub rate limiting limits us to 1000 queries an hour (also with a personal token?)', 'signature': 'def github_import():'}</s>{'name': 'read... | 1 |
{'name': 'on_restart_server@src/server/server.py', 'description': 'Re-execute the current process.', 'signature': 'def on_restart_server():'}</s>{'name': 'on_add_pilot@src/server/server.py', 'description': 'Adds the next available pilot id number in the database.', 'code': "def on_add_pilot(*args):\n '''Adds the nex... | 0 |
{'name': 'control_read_initial_values@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': 'Read initial control values', 'signature': 'def control_read_initial_values(sniffer):'}</s>CTRL_KEY_TYPE_IRK = 5 | 0 |
{'name': 'TestCqlshOutput.assertQueriesGiveColoredOutput@pylib/cqlshlib/test/test_cqlsh_output.py', 'description': 'Allow queries and expected output to be specified in structured tuples,\nalong with expected color information.', 'signature': 'def assertQueriesGiveColoredOutput(self, queries_and_expected_outputs, **kwa... | 1 |
{'name': 'FrameUtilsTestCase.test_frame_utils@tools/lldb/packages/Python/lldbsuite/test/python_api/lldbutil/frame/TestFrameUtils.py', 'description': 'Test utility functions for the frame object.', 'signature': 'def test_frame_utils(self):'}</s>VALID_VARIABLE = "Got a valid variable" | 0 |
{'name': '_single_conversion@convert.py', 'description': "THIS WON'T WORK RIGHT NOW, USE THE WORLD CONVERSION LOOP IN MAIN\n\nCall only from __main__ section in this module. Generates sample converted\ninto each emotion.\n\n(str) filename - name.wav file to be converted\n(StarGAN-emo-VC1) model - pretrained model to pe... | 1 |
{'name': 'load_rules@drheader/utils.py', 'description': 'Returns a drHEADer ruleset from a file.\n\nThe loaded ruleset can be configured to be merged with the default drHEADer rules. If a rule exists in both the\ncustom rules and default rules, the custom one will take priority and override the default one. Otherwise, ... | 1 |
{'name': '_change_precision_pact@nemo/transf/utils.py', 'description': 'Changes the target precision of a PACT quantization-aware layer.\n\n\n:param bits: target bit-width.\n:type bits: `int`\n\n:param scale_activations: if False, do not change precision of activations (default True).\n:type scale_activations: boolea... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQIA_STATISTICS_Q = 128 | 0 |
{'name': 'GroveI2cColorSensorV2._valid@grove/grove_i2c_color_sensor_v2.py', 'description': 'Check if RGBC is valid', 'signature': 'def _valid(self):'}</s>_WTIME = 3 | 0 |
{'name': 'Tempo.__init__@oqupy/tempo.py', 'description': 'Create a Tempo object. ', 'signature': 'def __init__('}</s>{'name': 'GibbsParameters@oqupy/tempo.py', 'description': 'Parameters for the GibbsTEMPO computation.\n\nParameters\n----------\nn_steps: int\n Number of imaginary time steps to take towards the final... | 0 |
{'name': 'Commands.top_langs@python/modules/commands.py', 'description': 'Sends users top.', 'signature': 'def top_langs('}</s>{'name': 'DataBuilder@python/modules/data_builder.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'DataBuilder.build_programming_languages@python/modules/data_builder.... | 1 |
{'name': 'AmberParser.process_library_file@openmoltools/amber_parser.py', 'description': 'Process an AMBER .lib file.\n\nParameters\n----------\ninputfile : str\n filename of an .lib file', 'signature': 'def process_library_file(self, inputfile):'}</s>{'name': 'fix@openmoltools/amber_parser.py', 'description': 'DOCS... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQSECSW_ON_NOT_FOUND = 24 | 0 |
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCXP_LENGTH_3 = 156 | 0 |
{'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_logical_or_expression@ctypesgen/parser/cgrammar.py', 'description': 'logical_or_expression : logical_and_expression\n| lo... | 0 |
{'name': 'InverseCompton._iso_ic_on_monochromatic@src/naima/radiative.py', 'description': 'IC cross-section for an isotropic interaction with a monochromatic\nphoton spectrum following Eq. 22 of Aharonian & Atoyan 1981, Ap&SS 79,\n321 (`http://adsabs.harvard.edu/abs/1981Ap%26SS..79..321A`_)', 'signature': 'def _iso_ic_... | 1 |
{'name': 'condition@altair/vegalite/v3/api.py', 'description': 'A conditional attribute or encoding\n\nParameters\n----------\npredicate: Selection, LogicalOperandPredicate, expr.Expression, dict, or string\n the selection predicate or test predicate for the condition.\n if a string is passed, it will be treated ... | 0 |
{'name': 'Application._load_environment@robopianist/viewer/application.py', 'description': 'Loads a new environment.', 'signature': 'def _load_environment(self, zoom_to_scene):'}</s>{'name': 'Viewer@robopianist/viewer/viewer.py', 'description': 'Viewport displaying the contents of a physics world.', 'base_classes': [],... | 0 |
{'name': 'run_migrations_offline@src/ch12-forms/final/pypi_forms/alembic/env.py', 'description': "Run migrations in 'offline' mode.\n\nThis configures the context with just a URL\nand not an Engine, though an Engine is acceptable\nhere as well. By skipping the Engine creation\nwe don't even need a DBAPI to be availabl... | 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': 'TautomerEnumerator.__init__@scopy/ScoPretreat/pretreatutil.py', 'description': ':param transforms: A list of TautomerTransforms to use to enumerate tautomers.\n:param max_tautomers: The maximum number of tautomers to enumerate (limit to prevent combinatorial explosion).', 'signature': 'def __init__(self, tran... | 0 |
{'name': 'Chat.reset_channel_prefix@twitchAPI/chat/__init__.py', 'description': 'Resets the custom command prefix set by :const:`~twitchAPI.chat.Chat.set_channel_prefix()` back to the global one.\n\n:param channel: The channel or channels you want to reset the channel command prefix for', 'signature': 'def reset_channe... | 0 |
{'name': '_handleAnswerFileParams@packstack/installer/run_setup.py', 'description': 'handle loading and validating\nparams from answer file\nsupports reading single or group params', 'signature': 'def _handleAnswerFileParams(answerFile):'}</s>ERR_EXP_HANDLE_PARAMS = "Failed handling user parameters input" | 0 |
{'name': 'auth@twitter_to_sqlite/cli.py', 'description': 'Save authentication credentials to a JSON file', 'signature': 'def auth(auth):'}</s>{'name': 'statuses_lookup@twitter_to_sqlite/cli.py', 'description': 'Fetch tweets by their IDs', 'code': 'def statuses_lookup(db_path, identifiers, attach, sql, auth, skip_existi... | 0 |
{'name': 'pointer_image@datoviz/__init__.py', 'description': 'Return a NumPy array of uint8 with shape (height, width, n_channels=3) from an ndpointer\nreferring to a C pointer to a buffer of RGB uint8 values.', 'signature': 'def pointer_image(rgb, width, height, n_channels=3):'}</s>RecorderDrawIndexedIndirect = DvzRec... | 0 |
{'name': 'test_multiple_backends_https_h1@test/integration/test_integration_basics.py', 'description': 'Test that we can load-test multiple backends on https.\n\nRuns the CLI configured to use HTTP/1 with TLS against multiple test servers, and sanity\nchecks statistics from both client and server.', 'signature': 'def t... | 0 |
{'name': 'socksocket.connect@nova/proxy/socks.py', 'description': "Connects to the specified destination through a proxy.\nUses the same API as socket's connect().\nTo select the proxy server, use set_proxy().\n\ndest_pair - 2-tuple of (IP/hostname, port).", 'signature': 'def connect(self, dest_pair, catch_errors=None)... | 0 |
{'name': 'CellLogger.gpu_ram@ipyexperiments/cell_logger.py', 'description': 'for the currently selected GPU device return: total, free and used RAM in bytes ', 'signature': 'def gpu_ram(self):'}</s>{'name': 'cpu_ram_used@ipyexperiments/cell_logger.py', 'description': 'DOCSTRING', 'code': 'def cpu_ram_used(): return pr... | 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': 'warn_deprecated@SneakerBot 2019/venv/lib/python3.7/site-packages/so... | 0 |
{'name': 'test_put_get_delete_bucket_domain_certificate@ut/test.py', 'description': '测试设置获取删除bucket自定义域名证书', 'signature': 'def test_put_get_delete_bucket_domain_certificate():'}</s>{'name': 'CosClientError@qcloud_cos/cos_exception.py', 'description': 'Client端错误,如timeout', 'base_classes': ['CosException'], 'methods': [{... | 0 |
{'name': 'utc_timestamp@hive/utils/normalize.py', 'description': 'Convert datetime to UTC unix timestamp.', 'signature': 'def utc_timestamp(date):'}</s>{'name': 'legacy_amount@hive/utils/normalize.py', 'description': 'Get a pre-appbase-style amount string given a (numeric, asset-str).', 'code': 'def legacy_amount(value... | 0 |
{'name': 'synchronised@tradingbot/components/utils.py', 'description': 'Thread synchronization decorator', 'signature': 'def synchronised(lock: threading.Lock) -> Any:'}</s>{'name': 'NotSafeToTradeException@tradingbot/components/utils.py', 'description': 'Error to notify that it is not safe to trade', 'base_classes': [... | 0 |
{'name': 'generate_model_by_model_mutation@scripts/mutation/model_mutation_generators.py', 'description': 'Generate models using specific mutate operator\n:param model: model loaded by keras (tensorflow backend default)\n:param operator: mutation operator\n:param mutate_ratio: ratio of selected neurons\n:return: mutati... | 1 |
{'name': 'Tagger.from_path_or_data@tweedr/ml/crf/wrapper.py', 'description': "If we are given a model_filepath that points to an existing file, use it.\notherwise, create a temporary file to store the model because CRFSuite\ndoesn't seem to allow us to create a tagger directly from a trained\ntrainer object.", 'signatu... | 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>MQBPLOCATION_SWITCHING_ABOVE = 2 | 0 |
{'name': 'generate_enhanced_lambda_metrics@aws/logs_monitoring/enhanced_lambda_metrics.py', 'description': 'Parses a Lambda log for enhanced Lambda metrics and tags\n\nArgs:\n log (dict<str, str | dict | int>): a log parsed from the event in the split method\n Ex: {\n "id": "3498820885110631398... | 0 |
{'name': 'sync_all@harvesting/github.py', 'description': 'Sync all Github repos listed in software from backend', 'signature': 'def sync_all():'}</s>{'name': 'is_github_url@harvesting/github.py', 'description': 'DOCSTRING', 'code': "def is_github_url(url):\n return url.startswith('https://github.com/')"} | 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': '_check_mp_install@utils/nb_check.py', 'description': 'Check for and try to install required MSTICPy version.', 'signature': 'def _check_mp_install(min_mp_ver, mp_release, extras, pip_quiet):'}</s>{'name': '_get_pkg_version@utils/nb_check.py', 'description': 'DOCSTRING', 'code': 'def _get_pkg_version(version):... | 1 |
{'name': 'send_confirmation@flask_security/views.py', 'description': 'View function which sends confirmation instructions.', 'signature': 'def send_confirmation():'}</s>{'name': 'register@flask_security/views.py', 'description': 'View function which handles a registration request.', 'code': 'def register():\n """Vie... | 0 |
{'name': 'run_applescript@src/workflow/util.py', 'description': 'Execute an AppleScript script and return its output.\n\n.. versionadded:: 1.31\n\nRun AppleScript either by filepath or code. If ``script`` is a valid\nfilepath, that script will be run, otherwise ``script`` is treated\nas code.\n\nArgs:\n script (str,... | 0 |
{'name': 'TestMibSnimpy.testLoadInvalidModule@tests/test_mib.py', 'description': 'Check that an obviously invalid module cannot be loaded', 'signature': 'def testLoadInvalidModule(self):'}</s>{'name': '_loadedModules@snimpy/mib.py', 'description': 'Generates the list of loaded modules.\n\n:yield: The :class:`smi.SmiMod... | 0 |
{'name': 'GroveI2cColorSensorV2._valid@grove/grove_i2c_color_sensor_v2.py', 'description': 'Check if RGBC is valid', 'signature': 'def _valid(self):'}</s>_RDATA = 22 | 0 |
{'name': 'generate@code/html/generate_static_website.py', 'description': 'Regenerates the whole static website given an already imported set of entries, inspirations and developers.\nThese datasets must be valid for each other, i.e. each inspiration listed in entries must also have an\nentry in inspirations and the sam... | 0 |
{'name': 'write_to_version_file@versioneer.py', 'description': 'Write the given version number to the given _version.py file.', 'signature': 'def write_to_version_file(filename, versions):'}</s>SHORT_VERSION_PY = "
# This file was generated by 'versioneer.py' (0.22) from
# revision-control system data, or from the pare... | 1 |
{'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': '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_prime256v1 = m2.NID_X9_62_prime256v1 | 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': 'KeyMonkey.setup_secure_client@sqlite_rx/auth.py', 'description': "Use this method to setup a secure client. Clients also need the\nservername to look for server's public key\n\nArgs:\n client: A ZMQ Socket instance\n\n connect_address: The address of the server where the clients will send requests\n\n ... | 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_TOPIC_DESC_LENGTH = 64 | 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>{'name': 'create_connection@nova/proxy/socks.py', 'descripti... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQMLP_ENCRYPTION_ALG_AES128 = 4 | 0 |
{'name': 'make_server@src-python/lab-service/traffexam/kilda/traffexam/rest.py', 'description': 'Create a new WSGI server listening on `host` and `port` for `app`', 'signature': 'def make_server(host, port, app, thread_count=None,'}</s>{'name': 'address_emmit_udp_packet@src-python/lab-service/traffexam/kilda/traffexam/... | 0 |
{'name': 'IDispatch.Invoke@comtypes/automation.py', 'description': 'Invoke a method or property.', 'signature': 'def Invoke(self, dispid: int, *args: Any, **kw: Any) -> Any:'}</s>VT_I1 = 16 | 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>{'name': 'CHOCO_CMDTest@pulp/tests/test_pulp.py', 'description': 'DOCSTRING', 'base_classes': ['BaseSolverTest.PuLPTest'], 'metho... | 0 |
{'name': 'odctndict@training_codes/utils/utils_model.py', 'description': "D = ODCTNDICT((N1 N2 ... Np),(L1 L2 ... Lp)) returns an overcomplete \nDCT dictionary for p-dimensional signals of size N1xN2x...xNp. The number \nof DCT atoms in the i-th dimension is Li, so the combined dictionary is of\nsize (N1*N2*...*Np) x (... | 0 |
{'name': 'ConsoleWriter.console_writer_before_each_scenario@radish/extensions/formatters/gherkin.py', 'description': 'Writes the scenario header to the console\n\n:param Scenario scenario: the scenario to write to the console', 'signature': 'def console_writer_before_each_scenario(self, scenario):'}</s>{'name': 'Consol... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.