text string | label int64 |
|---|---|
{'name': 'RecipesManagerTest.testReadRecipeFromFileObject@tests/lib/recipes/manager.py', 'description': 'Tests the _ReadRecipeFromFileObject function.', 'signature': 'def testReadRecipeFromFileObject(self):'}</s>{'name': 'RecipesManagerTest@tests/lib/recipes/manager.py', 'description': 'Tests for the recipes manager.',... | 1 |
{'name': 'MessageSender.send@uamqp/sender.py', 'description': 'Add a single message to the internal pending queue to be processed\nby the Connection without waiting for it to be sent.\n\n:param message: The message to send.\n:type message: ~uamqp.message.Message\n:param callback: The callback to be run once a dispositi... | 0 |
{'name': 'distribute_jobs@source/tomopy/util/mproc.py', 'description': 'Distribute N-dimensional shared-memory array into cores by splitting along\nan axis.\n\nParameters\n----------\narr : ndarray, or iterable(ndarray)\n Array(s) to be split up for processing.\nfunc : func\n Function to be parallelized. Should ... | 0 |
{'name': 'load_tests@lang/py/avro/test/test_schema.py', 'description': 'Generate test cases across many test schema.', 'signature': 'def load_tests(loader, default_tests, pattern):'}</s>TIMESTAMPMICROS_LOGICAL_TYPE = [ValidTestSchema({"type": "long", "logicalType": "timestamp-micros"})] | 0 |
{'name': 'on_load_data@src/server/server.py', 'description': 'Allow pages to load needed data', 'signature': 'def on_load_data(data):'}</s>{'name': 'set_ui_message@src/server/server.py', 'description': 'DOCSTRING', 'code': "def set_ui_message(mainclass, message, header=None, subclass=None):\n item = {}\n item['me... | 0 |
{'name': 'ServiceInfo.request@stino/pyarduino/base/zeroconf.py', 'description': 'Returns true if the service could be discovered on the\nnetwork, and updates this object with details discovered.', 'signature': 'def request(self, zc, timeout):'}</s>{'name': 'DNSPointer@stino/pyarduino/base/zeroconf.py', 'description': '... | 0 |
{'name': '_map_iterator@lang/py/avro/io.py', 'description': 'Yield each child node of the provided map node.', 'signature': 'def _map_iterator(node: ValidationNode) -> ValidationNodeGeneratorType:'}</s>{'name': 'BinaryDecoder@lang/py/avro/io.py', 'description': 'Read leaf values.', 'base_classes': [], 'methods': [{'nam... | 0 |
{'name': 'PostgresNode.dump@testgres/node.py', 'description': 'Dump database into a file using pg_dump.\nNOTE: the file is not removed automatically.\n\nArgs:\n filename: database dump taken by pg_dump.\n dbname: database name to connect to.\n username: database user name.\n format: format argument plain/cu... | 0 |
{'name': 'YoutubeDL.process_info@script.module.youtube.dl/lib/youtube_dl/YoutubeDL.py', 'description': 'Process a single resolved IE result.', 'signature': 'def process_info(self, info_dict):'}</s>{'name': 'subtitles_filename@script.module.youtube.dl/lib/youtube_dl/utils.py', 'description': 'DOCSTRING', 'code': "def su... | 0 |
{'name': 'AutoTorrent.link_files@autotorrent/at.py', 'description': 'Links the files to the destination_path if they are found.', 'signature': 'def link_files(self, destination_path, files):'}</s>COLOR_MISSING_FILES = Color.RED | 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': 'preprocess_and_save_data@Chapter08/Code/utils.py', 'description': "Preprocesses image data and saves the image features and labels as pickle files to be used for the model\n:param data_type: data_type is 'train' or 'test'\n:return: None", 'signature': "def preprocess_and_save_data(data_type ='train'):"}</s>OP... | 0 |
{'name': 'PageElement.find_all_previous@bs4/element.py', 'description': 'Returns all items that match the given criteria and appear\nbefore this Tag in the document.', 'signature': 'def find_all_previous(self, name=None, attrs={}, text=None, limit=None,'}</s>{'name': 'CData@bs4/element.py', 'description': 'DOCSTRING', ... | 0 |
{'name': 'ObjectTracker._get_objects@pyFileFixity/lib/profilers/visual/pympler/tracker.py', 'description': 'Get all currently existing objects.\n\nXXX - ToDo: This method is a copy&paste from muppy.get_objects, but\nsome modifications are applied. Specifically, it allows to ignore\nobjects (which includes the current f... | 0 |
{'name': 'render_newline@lookatme/render/markdown_block.py', 'description': 'Render a newline\n\nSee :any:`lookatme.tui.SlideRenderer.do_render` for argument and return\nvalue descriptions.', 'signature': 'def render_newline(token, body, stack, loop):'}</s>{'name': '_is_list@lookatme/render/markdown_block.py', 'descrip... | 0 |
{'name': 'adjust_learning_rate@GC_code/Fine-grained_classification/main.py', 'description': 'Sets the learning rate to the initial LR decayed by 10 every 30 epochs', 'signature': 'def adjust_learning_rate(optimizer, epoch, args):'}</s>{'name': 'main_worker@GC_code/Fine-grained_classification/main.py', 'description': 'D... | 0 |
{'name': 'memoize@Projects/2_Classical Planning/aimacode/utils.py', 'description': 'Memoize fn: make it remember the computed value for any argument list.\nIf slot is specified, store result in that slot of first argument.\nIf slot is false, store results in a dictionary.', 'signature': 'def memoize(fn, slot=None):'}</... | 0 |
{'name': 'PFState._from_struct@pf/state.py', 'description': 'Initialize class attributes from a pfsync_state structure.', 'signature': 'def _from_struct(self, s):'}</s>PFR_OP_BLOCK = 0 | 0 |
{'name': 'as_identifier@hy/reader/hy_reader.py', 'description': 'Generate a Hy model from an identifier.\n\nAlso verifies the syntax of dot notation and validity of symbol names.\n\nParameters\n----------\nident : str\n Text to convert.\n\nreader : Reader, optional\n The reader to use, if any; used for generating... | 1 |
{'name': 'ProjectBuilder.get_requires_for_build@src/build/_builder.py', 'description': 'Return the dependencies defined by the backend in addition to\n:attr:`build_system_requires` for a given distribution.\n\n:param distribution: Distribution to get the dependencies of\n (``sdist`` or ``wheel``)\n:param config_sett... | 0 |
{'name': 'display_result@onlinejudge_command/subcommand/test.py', 'description': 'display_result prints the result of the test and its statistics.\n\nThis function prints many logs and does some I/O.', 'signature': 'def display_result(proc: subprocess.Popen, answer: str, memory: Optional[float], test_input_path: pathli... | 1 |
{'name': 'Archive.metadata_download@yark/archiver/archive.py', 'description': 'Downloads raw metadata for further parsing', 'signature': 'def metadata_download(self, config: Config) -> RawMetadata:'}</s>{'name': '_skip_video@yark/archiver/archive.py', 'description': "Skips first undownloaded video in `videos`, make sur... | 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': 'extend_pandas@ffn/core.py', 'description': "Extends pandas' PandasObject (Series, Series,\nDataFrame) with some functions defined in this file.\n\nThis facilitates common functional composition used in quant\nfinance.\n\nEx:\n prices.to_returns().dropna().calc_clusters()\n (where prices would be a DataF... | 1 |
{'name': 'TestToivanen.test_euclidean_dist_output@tests/test_toivanen.py', 'description': 'Explanation:\n\nTaking euclidean distance with x==0 below:\nx-------------\n| |\n| |\n| |\n| |\n| |\n| |\n--------------\n\nThe max distance in euclidean output wi... | 0 |
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>{'name': 'eAIN@src/LabJackPython.py', 'description': 'An easy function that returns a reading from one analog input.\... | 0 |
{'name': 'EnumDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for enum field.', 'signature': 'def EnumDecoder(field_number, is_repeated, is_packed, key, new_default,'}</s>TAG_TYPE_MASK = (1 << TAG_TYPE_BITS) - 1 | 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': '_overpass_request@osmnx/_overpass.py', 'description': "Send a HTTP POST request to the Overpass API and return response.\n\nParameters\n----------\ndata\n Key-value pairs of parameters.\n\nReturns\n-------\nresponse_json\n The Overpass API's response.", 'signature': 'def _overpass_request(data: OrderedD... | 0 |
{'name': 'test_sorting@voluptuous/tests/tests.py', 'description': 'Expect alphabetic sorting', 'signature': 'def test_sorting():'}</s>{'name': 'test_iterate_candidates@voluptuous/tests/tests.py', 'description': 'Verify that the order for iterating over mapping candidates is right.', 'code': 'def test_iterate_candidates... | 0 |
{'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': 'PageAdmin.get_form@pages/admin/__init__.py', 'description': 'Get a :class:`Page <pages.admin.forms.PageForm>` for the\n:class:`Page <pages.models.Page>` and modify its fields depending on\nthe request.', 'signature': 'def get_form(self, request, obj=None, **kwargs):'}</s>PAGE_TESTS_SAVE_SCREENSHOTS = getattr(... | 0 |
{'name': 'mach_o_change@python/virtualenv/virtualenv.py', 'description': "Replace a given name (what) in any LC_LOAD_DYLIB command found in\nthe given binary with a new name (value), provided it's shorter.", 'signature': 'def mach_o_change(path, what, value):'}</s>{'name': 'make_environment_relocatable@python/virtualen... | 0 |
{'name': '_ngrams@answer_rank/utils/ngram_utils.py', 'description': 'wrapper for ngram', 'signature': 'def _ngrams(words, ngram, join_string=" "):'}</s>{'name': '_bigrams@answer_rank/utils/ngram_utils.py', 'description': 'Input: a list of words, e.g., ["I", "am", "Denny"]\nOutput: a list of bigram, e.g., ["I_am", "am_D... | 1 |
{'name': 'HindcastEnsemble.add_uninitialized@src/climpred/classes.py', 'description': 'Add a companion uninitialized ensemble for comparison to verification data.\n\nArgs:\n uninit: uninitialzed ensemble.', 'signature': 'def add_uninitialized('}</s>{'name': '_display_metadata@src/climpred/classes.py', 'description':... | 0 |
{'name': 'build_timespan@yaql/standard_library/date_time.py', 'description': ':yaql:timespan\n\nReturns timespan object with specified args.\n\n:signature: timespan(days => 0, hours => 0, minutes => 0, seconds => 0,\n milliseconds => 0, microseconds => 0)\n:arg days: number of days in timespan, 0 by... | 0 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_UNKNOWN_OBJECT_Q_MGR = 2086 | 0 |
{'name': 'Hyperlink.__init__@svgwrite/container.py', 'description': ":param string href: hyperlink to the target resource\n:param string target: ``'_blank|_replace|_self|_parent|_top|<XML-name>'``\n:param extra: additional SVG attributes as keyword-arguments", 'signature': "def __init__(self, href, target='_blank', **e... | 0 |
{'name': 'iSpotTV.buildCategory@plugin.video.ispot.tv/resources/lib/ispot.py', 'description': '< div\nclass ="mb-0" >\n< a adname = "FootJoy Pro/SLX TV Spot, \'Joy Ride\' Featuring Max Homa, Danielle Kang, Song by 10cc - 16 airings" href = "/ad/6K6T/footjoy-pro-slx-joy-ride" >\n< img alt = "FootJoy Pro/SLX TV Spot, \'J... | 0 |
{'name': 'camel_case_to_snake_case@scripts/create_python_docstrings_from_cpp_docs.py', 'description': 'Converts CamelCase to snake_case', 'signature': 'def camel_case_to_snake_case(text):'}</s>TO_REPLACE = [
("true", "`True`"), # Cpp -> Python bool
("false", "`False`"), # Cpp -> Python bool
("`nullptr/nul... | 0 |
{'name': 'Locale.year_abbreviation@arrow/locales.py', 'description': 'Returns the year for specific locale if available\n\n:param year: the ``int`` year (4-digit)', 'signature': 'def year_abbreviation(self, year: int) -> str:'}</s>{'name': 'TagalogLocale@arrow/locales.py', 'description': 'DOCSTRING', 'base_classes': ['... | 0 |
{'name': 'configure@cm/logger.py', 'description': 'If comm is provided, average all numerical stats across that comm', 'signature': 'def configure(dir=None, format_strs=None, comm=None, log_suffix=""):'}</s>{'name': 'Logger@cm/logger.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'Log... | 1 |
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRC_UOW_ENLISTMENT_ERROR = 2354 | 0 |
{'name': 'fixup_pth_and_egg_link@bootstrap.py', 'description': 'Makes .pth and .egg-link files use relative paths', 'signature': 'def fixup_pth_and_egg_link(home_dir, sys_path=None):'}</s>MH_CIGAM_64 = 3489328638 | 0 |
{'name': 'relocate_BZ_grid_address@python/spglib/spglib.py', 'description': 'Grid addresses are relocated to be inside first Brillouin zone.\n\nNumber of ir-grid-points inside Brillouin zone is returned.\nIt is assumed that the following arrays have the shapes of\n\nNote that the shape of grid_address is (prod(mesh), 3... | 0 |
{'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>{'name': 'simxQue... | 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': 'ParametricOperatorTemplate.verify@src/opinf/operators/_base.py', 'description': 'Verify dimension attributes and :meth:`evaluate()`.\n\nParameters\n----------\ntestparam : (p,) ndarray or None\n Test parameter at which to evaluate the operator.\n If ``None`` (default), draw test parameter entries from t... | 0 |
{'name': 'Lookyloo.get_crawled_tree@lookyloo/lookyloo.py', 'description': 'Get the generated tree in ETE Toolkit format.\nLoads the pickle if it exists, creates it otherwise.', 'signature': 'def get_crawled_tree(self, capture_uuid: str, /) -> CrawledTree:'}</s>{'name': 'LacusUnreachable@lookyloo/exceptions.py', 'descri... | 0 |
{'name': 'ZiGate.decode_data@zigate/core.py', 'description': 'Decode raw packet message', 'signature': 'def decode_data(self, packet):'}</s>ZIGATE_DEVICE_ADDED = "ZIGATE_DEVICE_ADDED" | 0 |
{'name': '_dual_to_ugrid@uxarray/io/_mpas.py', 'description': 'Encodes the MPAS Dual-Mesh in the UGRID conventions.', 'signature': 'def _dual_to_ugrid(in_ds, out_ds):'}</s>EDGE_NODE_DISTANCES_ATTRS = {
"cf_role": "edge_node_distances",
"long_name": "Distances between the nodes that make up each edge.",
} | 0 |
{'name': 'waveshow@librosa/display.py', 'description': 'Visualize a waveform in the time domain.\n\nThis function constructs a plot which adaptively switches between a raw\nsamples-based view of the signal (`matplotlib.pyplot.step`) and an\namplitude-envelope view of the signal (`matplotlib.pyplot.fill_between`)\ndepen... | 0 |
{'name': 'StatementSplitter.process@sqlparse/engine/statement_splitter.py', 'description': 'Process the stream', 'signature': 'def process(self, stream):'}</s>{'name': 'IdentifierList@sqlparse/sql.py', 'description': "A list of :class:`~sqlparse.sql.Identifier`'s.", 'base_classes': ['TokenList'], 'methods': [{'name': '... | 0 |
{'name': 'Node.has_children@hamlish_jinja.py', 'description': 'returns False if children is empty or contains only empty lines else True.', 'signature': 'def has_children(self):'}</s>{'name': 'TemplateIndentationError@hamlish_jinja.py', 'description': 'DOCSTRING', 'base_classes': ['TemplateSyntaxError'], 'methods': []} | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQTA_PUB_ALLOWED = 2 | 0 |
{'name': 'PFOp._from_string@pf/rule.py', 'description': 'Initalize a new instance from a string.', 'signature': 'def _from_string(self, operation):'}</s>LCNT_MAX = 10 | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQCACF_FROM_LISTENER_NAME = 3124 | 0 |
{'name': 'Model._predict_loop@modified_keras/keras/models.py', 'description': 'Abstract method to loop over some data in batches.', 'signature': 'def _predict_loop(self, f, ins, batch_size=128, verbose=0):'}</s>{'name': 'Constraint@modified_keras/keras/constraints.py', 'description': 'DOCSTRING', 'base_classes': ['obje... | 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': 'register_shellcontext@enferno/app.py', 'description': 'Register shell context objects.', 'signature': 'def register_shellcontext(app):'}</s>{'name': 'User@enferno/user/models.py', 'description': 'DOCSTRING', 'base_classes': ['UserMixin', 'db.Model', 'BaseMixin'], 'methods': [{'name': 'User.webauthn@enferno/us... | 1 |
{'name': 'IncInterfaceGenerator.do_table3_transformation@da/compiler/incgen.py', 'description': "Transformation defined in Table 3 of OOPSLA paper.\n\nThis transforms single quantifications over comparisons into min/max\naggregates. Returns None if table 3 can not be applied to 'node'.", 'signature': 'def do_table3_tra... | 0 |
{'name': 'MinMaxScaler@pytorch/lab-12-5-stock_prediction.py', 'description': 'Min Max Normalization\n\nParameters\n----------\ndata : numpy.ndarray\n input data to be normalized\n shape: [Batch size, dimension]\n\nReturns\n----------\ndata : numpy.ndarry\n normalized data\n shape: [Batch size, dimension]\n\... | 0 |
{'name': 'make_class@vendor/attr/_make.py', 'description': 'A quick way to create a new class called *name* with *attrs*.\n\n:param str name: The name for the new class.\n\n:param attrs: A list of names or a dictionary of mappings of names to\n attributes.\n\n If *attrs* is a list or an ordered dict (`dict` on Py... | 0 |
{'name': 'BaseQuery.session@ads/base.py', 'description': 'http session interface, transparent proxy to requests.session', 'signature': 'def session(self):'}</s>token = None | 1 |
{'name': 'dict_to_xls@utils.py', 'description': 'Convert dict to excel\n\nArgs:\n dic: result dictionary. Keys are tuples.\n row_keys_idx: index of keys for rows, ordered hierarchicallly\n col_keys_idx: index of keys for columns, ordered hierarchicallly\n sheet_idx: index of keys for sheet', 'signature': 'd... | 0 |
{'name': '_rs_total_bits@build/lib/ruleset/ripper.py', 'description': 'Returns total description length (in bits) of ruleset -- the sum of its theory dl and exceptions dl.\n\nbestsubset_dl (optional, <bool>): whether to return estimated minimum possible dl were all rules that increase dl to be removed\nret_bestsubset (... | 0 |
{'name': 'parseOptionsAndInitTestdirs@llvm-12.0.0-project/lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}... | 1 |
{'name': 'main@lldb/packages/Python/lldbsuite/test/dosep.py', 'description': 'Run dotest.py in inferior mode in parallel.\n\n@param num_threads the parsed value of the num-threads command line\nargument.\n\n@param test_subdir optionally specifies a subdir to limit testing\nwithin. May be None if the entire test tree i... | 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': 'Anki.list_cards@src/apyanki/anki.py', 'description': 'List cards that match a query', 'signature': 'def list_cards(self, query: str, opts_display: dict[str, bool]) -> None:'}</s>{'name': 'print_stats@src/apyanki/cards.py', 'description': 'Print the card statistics', 'code': 'def print_stats(card: Card) -> Non... | 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': 'QnliProcessor._create_examples@examples/utils_sequence_level_task.py', 'description': 'Creates examples for the training and dev sets.', 'signature': 'def _create_examples(self, lines, set_type):'}</s>{'name': 'FudanlargeProcessor@examples/utils_sequence_level_task.py', 'description': 'Processor for the XNLI ... | 0 |
{'name': 'sample_obj@dynamic_raw_id/tests/test_integrity.py', 'description': 'Create a bit of sample data we can use to assign.', 'signature': 'def sample_obj(db: Any) -> dict[str, Any]:'}</s>{'name': 'test_labelview_no_permission@dynamic_raw_id/tests/test_integrity.py', 'description': 'Valid Label view request is deni... | 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': 'XPRESS_PY.actualSolve@pulp/apis/xpress_api.py', 'description': 'Solve a well formulated lp problem', 'signature': 'def actualSolve(self, lp, prepare=None):'}</s>LpConstraintEQ = 0 | 0 |
{'name': 'GTestFilterUnitTest.testFlagOverridesEnvVar@3rdparty/googletest/googletest/test/gtest_filter_unittest.py', 'description': 'Tests that the filter flag overrides the filtering env. variable.', 'signature': 'def testFlagOverridesEnvVar(self):'}</s>TOTAL_SHARDS_ENV_VAR = "GTEST_TOTAL_SHARDS" | 0 |
{'name': 'train_pie@experiments/train.py', 'description': 'PIE training ', 'signature': 'def train_pie(args, dataset, model, simulator):'}</s>{'name': 'create_vector_specified_flow@experiments/architectures/create_model.py', 'description': 'DOCSTRING', 'code': 'def create_vector_specified_flow(args, simulator):\n lo... | 0 |
{'name': 'GroveI2cColorSensorV2.gain@grove/grove_i2c_color_sensor_v2.py', 'description': 'The gain control. Should be 1, 4, 16, or 60.\n ', 'signature': 'def gain(self):'}</s>_AIHT = 6 | 0 |
{'name': 'Task.from_requests@transformer/task.py', 'description': 'Generates a set of Tasks from a given set of Requests.', 'signature': 'def from_requests('}</s>{'name': 'req_to_expr@transformer/task.py', 'description': 'DOCSTRING', 'code': 'def req_to_expr(r: Request) -> py.FunctionCall:\n url = py.Literal(str(r.u... | 0 |
{'name': 'eval_one_epoch@sem_seg/train.py', 'description': 'ops: dict mapping from string to tf ops ', 'signature': 'def eval_one_epoch(sess, ops, test_writer):'}</s>{'name': 'log_string@sem_seg/train.py', 'description': 'DOCSTRING', 'code': "def log_string(out_str):\n LOG_FOUT.write(out_str+'\\n')\n LOG_FOUT.flu... | 1 |
{'name': '_get_unique_value@pkgs/development/interpreters/python/update-python-libraries/update-python-libraries.py', 'description': 'Match attribute in text and return unique match.\n\n:returns: Single match.', 'signature': 'def _get_unique_value(attribute, text):'}</s>SEMVER = {
'major' : 0,
'minor' : 1,
... | 0 |
{'name': 'BaseRequest.POST@3rdparty/mongo-c-driver-1.26.2/build/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>re... | 0 |
{'name': '_check_is_used@code/corpus/mapTagWorksResult2TEI.py', 'description': 'return true if the annotations contain a positive "used"', 'signature': 'def _check_is_used(annotations):'}</s>{'name': '_overlap2@code/corpus/mapTagWorksResult2TEI.py', 'description': 'return true if two set of spans are overlapping', 'cod... | 0 |
{'name': 'IBC.terminate@ib_insync/ibcontroller.py', 'description': 'Terminate TWS/IBG.', 'signature': 'def terminate(self):'}</s>{'name': 'dataclassUpdate@ib_insync/util.py', 'description': 'Update fields of the given ``dataclass`` object from zero or more\n``dataclass`` source objects and/or from keyword arguments.', ... | 0 |
{'name': 'getSegmentation@DigiPathAI/new_Segmentation.py', 'description': "Saves the prediction at the same location as the input image\nargs:\n img_path: WSI tiff image path (str)\n patch_size: patch size for inference (int)\n stride_size: stride to skip during segmentation (int)\n batch_size: batch_size d... | 0 |
{'name': 'VirtualBMCManager._sync_vbmc_states@virtualbmc/manager.py', 'description': 'Starts/stops vBMC instances\n\nWalks over vBMC instances configuration, starts\nenabled but dead instances, kills non-configured\nbut alive ones.', 'signature': 'def _sync_vbmc_states(self, shutdown=False):'}</s>DEFAULT_SECTION = "Vir... | 0 |
{'name': 'PerfectModelEnsemble._compute_persistence@src/climpred/classes.py', 'description': "Verify a simple persistence forecast of the control run against itself.\n\nNote: uses :py:func:`~climpred.reference.compute_persistence_from_first_lead`\nif ``set_options(PerfectModel_persistence_from_initialized_lead_0=True)`... | 0 |
{'name': 'ToyDataset.generate@torchdyn/datasets/static_datasets.py', 'description': "Handles the generation of classification toy datasets\n:param n_samples: number of datasets points in the generated dataset\n:type n_samples: int\n:param dataset_type: {'moons', 'spirals', 'spheres', 'gaussians', 'gaussians_spiral', di... | 1 |
{'name': 'Device._buildReadRegisterPacket@src/LabJackPython.py', 'description': 'self._buildReadRegisterPacket(addr, numReg)\n\nBuilds a raw modbus "Read Register" packet to be written to a device\n\nReturns a tuple:\n(<Packet as a list>, <number of bytes to read>)', 'signature': 'def _buildReadRegisterPacket(self, add... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQDCC_TARGET_ENC_NORMAL = py23long(0x00000100) | 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': '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>{'name': 'ArithRef@src/api/python/z3/z3.py', 'd... | 0 |
{'name': 'LocalstackEndpointResolver.valid_regions@pytest_localstack/contrib/botocore.py', 'description': 'Return a list of regions we can resolve endpoints for.', 'signature': 'def valid_regions(self):'}</s>{'name': 'remove_newline@pytest_localstack/utils.py', 'description': 'Remove up to `n` trailing newlines from `s... | 0 |
{'name': 'r6d2mat@fairnr/data/geometry.py', 'description': 'Converts 6D rotation representation by Zhou et al. [1] to rotation matrix\nusing Gram--Schmidt orthogonalisation per Section B of [1].\nArgs:\n d6: 6D rotation representation, of size (*, 6)\n\nReturns:\n batch of rotation matrices of size (*, 3, 3)\n\n[... | 0 |
{'name': 'run@TDScanner/sqlmap/thirdparty/bottle/bottle.py', 'description': 'Start a server instance. This method blocks until the server terminates.\n\n:param app: WSGI application or target string supported by\n :func:`load_app`. (default: :func:`default_app`)\n:param server: Server adapter to use. See :data:`s... | 0 |
{'name': 'main@vaxrank/cli.py', 'description': 'Script to generate vaccine peptide predictions from somatic cancer variants,\npatient HLA type, and tumor RNA-seq data.\n\nExample usage:\n vaxrank\n --vcf somatic.vcf --bam rnaseq.bam --vaccine-peptide-length 25 --output-csv ... | 0 |
{'name': 'main@pyngrok/ngrok.py', 'description': "Entry point for the package's ``console_scripts``. This initializes a call from the command\nline and invokes :func:`~pyngrok.ngrok.run`.\n\nThis method is meant for interacting with ``ngrok`` from the command line and is not necessarily\ncompatible with non-blocking AP... | 0 |
{'name': 'ConnectToNetwork@gmacpyutil/gmacpyutil/airport.py', 'description': 'Attempt to connect to a network.\n\nIf one of |GUEST_NETWORKS| is available nearby, will connect to that.\nOtherwise, will offer a list of networks to connect to.\nArgs:\n withcancelbutton: True to add a Cancel button to the Wi-Fi picker dia... | 1 |
{'name': 'StaticVariableTestCase.test_with_run_command@llvm-12.0.0-project/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py', 'description': 'Test that file and class static variables display correctly.', 'signature': 'def test_with_run_command(self):'}</s>{'name': '_RemoteProcess@llvm-12.0.0-project/lldb/pac... | 0 |
{'name': 'RPCBindTest.run_bind_test@qa/rpc-tests/rpcbind_test.py', 'description': 'Start a node with requested rpcallowip and rpcbind parameters,\nthen try to connect, and check if the set of bound addresses\nmatches the expected set.', 'signature': 'def run_bind_test(self, allow_ips, connect_to, addresses, expected):'... | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.