text string | label int64 |
|---|---|
{'name': 'TeamMembers.post@app/modules/teams/resources.py', 'description': 'Add a new member to a team.', 'signature': 'def post(self, args, team):'}</s>log = logging.getLogger(__name__) | 0 |
{'name': 'catch_errors@django_afip/admin.py', 'description': 'Catches specific errors in admin actions and shows a friendly error.', 'signature': 'def catch_errors('}</s>{'name': 'ReceiptEntry@django_afip/models.py', 'description': 'An entry in a receipt.\n\nEach ReceiptEntry represents a line in printable version of a... | 0 |
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'RpzCnameClientipaddressRecord@infoblox_client/objects.py', 'description': 'RpzCnameClientipaddressRecord: DNS RPZ CNAMEClientIpAddress\nrecord object.\nCorresponds to WAPI obj... | 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': 'resolve_by_name@designateclient/v2/utils.py', 'description': 'Helper to resolve a "name" a\'la foo.com to it\'s ID by using REST api\'s\nquery support and filtering on name.', 'signature': 'def resolve_by_name(func, name, *args):'}</s>{'name': 'parse_query_from_url@designateclient/v2/utils.py', 'description':... | 0 |
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>{'name': '_ToJsonName@python/google/protobuf/descriptor.py', 'description': 'Converts name to Json name and returns it.', 'code':... | 0 |
{'name': 'generate_vegalite_schema_wrapper@tools/generate_schema_wrapper.py', 'description': 'Generate a schema wrapper at the given path.', 'signature': 'def generate_vegalite_schema_wrapper(schema_file):'}</s>{'name': 'generate_vegalite_channel_wrappers@tools/generate_schema_wrapper.py', 'description': 'DOCSTRING', '... | 0 |
{'name': 'BertPreTrainedModel.from_pretrained@pytorch_pretrained_bert/modeling.py', 'description': 'Instantiate a BertPreTrainedModel from a pre-trained model file or a pytorch state dict.\nDownload and cache the pre-trained model file if needed.\n\nParams:\n pretrained_model_name_or_path: either:\n - a str w... | 0 |
{'name': 'Client.pre_hook@iredis/client.py', 'description': 'Before execute command, patch completers first.\nEg: When user run `GET foo`, key completer need to\n touch foo.\n\nOnly works when compile-grammar thread is done.', 'signature': 'def pre_hook(self, command, command_name, args, completer: IRedisCompleter):'}... | 0 |
{'name': 'BaseElectron.compute_We@src/naima/radiative.py', 'description': 'Total energy in electrons between energies Eemin and Eemax\n\nParameters\n----------\nEemin : :class:`~astropy.units.Quantity` float, optional\n Minimum electron energy for energy content calculation.\n\nEemax : :class:`~astropy.units.Quantit... | 0 |
{'name': 'RequestsMock.add@responses/__init__.py', 'description': ">>> import responses\n\nA basic request:\n>>> responses.add(responses.GET, 'http://example.com')\n\nYou can also directly pass an object which implements the\n``BaseResponse`` interface:\n\n>>> responses.add(Response(...))\n\nA JSON payload:\n\n>>> resp... | 0 |
{'name': 'train_model@cello/cello.py', 'description': 'Train a CellO model based on the genes of an \ninput dataset.\n\nParameters\n----------\n\nad : AnnData object\n Expression matrix of n cells by m genes\n\nalgo : String\n The name of the algorithm used to train the model. \'IR\' \n trains a model using is... | 0 |
{'name': 'plot_sounding_axes@pymeteo/skewt.py', 'description': 'Plots Skew-T/Log-P axes\n\nThis will plot isotherms, isobars, dry and moist adiabats, \nlines of constant water vapor mixing ratio, labels and \nsetup the y axes to be reversed.\n\n:paramter axes: The axes to draw on', 'signature': 'def plot_sounding_axes(... | 1 |
{'name': 'TestRemoveDeclaration.testNotRemoved@src/tests/testXmlEncodingDecode.py', 'description': "Make sure that invalid, or missing, declarations aren't affected.", 'signature': 'def testNotRemoved(self):'}</s>{'name': 'UnknownEncoding@src/feedvalidator/logging.py', 'description': 'DOCSTRING', 'base_classes': ['Erro... | 0 |
{'name': 'main@python-build-with-qt/PyQt-x11-gpl-4.8/configure.py', 'description': 'Create the configuration module module.\n ', 'signature': 'def main():'}</s>qt_shared = "" | 0 |
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces, style):'}</s>SAMPLE_CONFIG = "
# See the docstring in versioneer.py for instructions. Note that you must
# re-run 'versioneer.py setup' after changing this section, and commit th... | 0 |
{'name': 'View.scale_contrast@picasso/gui/render.py', 'description': 'Scales image based on contrast values from Display Settings\nDialog.\n\nParameters\n----------\nimage : np.array or list of np.arrays\n Array with rendered locs (grayscale)\nautoscale : boolean (default=False)\n If True, finds optimal contrast\... | 0 |
{'name': 'writeWorld@cxxtest/cxxtestgen.py', 'description': 'Write the world definitions', 'signature': 'def writeWorld( output ):'}</s>create_re = re.compile( r'\bstatic\s+\w+\s*\*\s*createSuite\s*\(\s*(void)?\s*\)' ) | 0 |
{'name': 'InstanceGroupsAction.delete_instance_groups@qingcloud/iaas/actions/instance_groups.py', 'description': 'Delete the specific instance group.\n@param instance_groups: An id list contains the group(s) id which will be deleted.', 'signature': 'def delete_instance_groups(self, instance_groups,'}</s>ACTION_MODIFY_B... | 0 |
{'name': 'sync_all@harvesting/github.py', 'description': 'Sync all Github repos listed in software from backend', 'signature': 'def sync_all():'}</s>{'name': 'APIRateLimitExceeded@harvesting/github.py', 'description': 'DOCSTRING', 'base_classes': ['Exception'], 'methods': []} | 0 |
{'name': '_schaffer6@tests/test_pso.py', 'description': 'Complex 2D surface with the global minimum at the origin', 'signature': 'def _schaffer6(x):'}</s>{'name': 'ParticleSwarm@psoann/pso.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'ParticleSwarm.__init__@psoann/pso.py', 'descript... | 0 |
{'name': 'TopLevelMixin.save@altair/vegalite/v3/api.py', 'description': "Save a chart to file in a variety of formats\n\nSupported formats are json, html, png, svg, pdf; the last three require\nthe altair_saver package to be installed.\n\nParameters\n----------\nfp : string filename or file-like object\n file in whi... | 0 |
{'name': 'foreachfn@src/services/mpiwrap/wrap.py', 'description': 'Iterate over all functions listed in args.', 'signature': 'def foreachfn(out, scope, args, children):'}</s>{'name': 'enumerate_mpi_declarations@src/services/mpiwrap/wrap.py', 'description': "Invokes mpicc's C preprocessor on a C file that includes mpi.h... | 0 |
{'name': 'receive_offline_message@bauhinia_push.py', 'description': '等待100ms,批量发送推送', 'signature': 'def receive_offline_message():'}</s>{'name': 'get_hw_key@models/application.py', 'description': 'DOCSTRING', 'code': 'def get_hw_key(mysql, appid):\n for i in range(2):\n try:\n sql = \'\'\'select cc... | 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': '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': 'parse_param@src/civis/resources/_resources.py', 'description': 'Parse a parameter into a list of dictionaries which can\nbe used to add the parameter to a dynamically generated function.', 'signature': 'def parse_param(param):'}</s>{'name': 'parse_params@src/civis/resources/_resources.py', 'description': 'Par... | 0 |
{'name': 'generation_step_callback@gp_learner.py', 'description': 'Called after each generation step cycle in train().\n\n:param run: number of the current run\n:param gtp_scores: gtp_scores as of start of this run\n:param user_callback_per_generation: a user provided callback that is called\n after each training ge... | 0 |
{'name': 'LF_denies_list@trove/contrib/labelers/clinical/polarity.py', 'description': 'Patient denies X,Y,Z. ', 'signature': 'def LF_denies_list(span):'}</s>{'name': 'LF_terminator_word_left@trove/contrib/labelers/clinical/polarity.py', 'description': 'DOCSTRING', 'code': "def LF_terminator_word_left(span):\n trigge... | 0 |
{'name': 'DonutModel.train@loudml/donut.py', 'description': 'Train model', 'signature': 'def train('}</s>{'name': '_get_decoder@loudml/donut.py', 'description': 'DOCSTRING', 'code': "def _get_decoder(_keras_model):\n # instantiate decoder model\n _, latent_dim = _keras_model.get_layer('z').output.get_shape()\n ... | 0 |
{'name': 'IUSequence.zone_duration@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Return the duration for the specified zone including adjustments\nand constraints', 'signature': 'def zone_duration('}</s>ATTR_DEFAULT_DURATION = "default_duration" | 0 |
{'name': '_SignBootableImage@tools/releasetools/common.py', 'description': "Performs AVB signing for a prebuilt boot.img.\n\nArgs:\n image_path: The full path of the image, e.g., /path/to/boot.img.\n prebuilt_name: The prebuilt image name, e.g., boot.img, boot-5.4-gz.img,\n boot-5.10.img, recovery.img or init_bo... | 0 |
{'name': '_make_sc_calpha_tensors@sidechainnet/structure/fastbuild.py', 'description': 'Create a dict to map all-atom build_info (lens/angs/etc) to vals per res identity.\n\n For every sidechain atom, we need to know:\n 1) what atom it is building off of (<NUM_COORDS_PER_RES=14),\n 2) the bond length,\... | 1 |
{'name': 'Printer.print@tools/hadb.py', 'description': 'Print header, states & events.', 'signature': 'def print(self) -> None:'}</s>{'name': 'State@tools/hadb.py', 'description': 'State.', 'base_classes': ['StateBase'], 'methods': [{'name': 'State.__init__@tools/hadb.py', 'description': 'Initialize.', 'code': 'def __i... | 1 |
{'name': 'sample_information@pipelines/pipeline_cellranger.py', 'description': 'Check the input samples.\n\nThe sample table is returned as a pandas data frame.', 'signature': 'def sample_information(check_only=True):'}</s>{'name': 'dropEstAggrAndSubset@pipelines/pipeline_cellranger.py', 'description': '1. Make aggrega... | 0 |
{'name': 'parse_complex_walk@pairtools/lib/parse.py', 'description': 'Parse a set of ligations that appear as a complex walk.\nThis procedure is equivalent to intramolecular deduplication that preserved pair order in a walk.\n\n:param algns1: List of sequential lefts alignments\n:param algns2: List of sequential right ... | 1 |
{'name': 'host_setup@source-builder/sb/check.py', 'description': 'Basic sanity check. All executables and directories must exist.', 'signature': 'def host_setup(opts):'}</s>{'name': 'abspath@source-builder/sb/path.py', 'description': 'DOCSTRING', 'code': 'def abspath(path):\n path = shell(path)\n return shell(os.... | 0 |
{'name': 'SimulateMPS1DExpectationTest.test_correctness_empty@tensorflow_quantum/core/ops/math_ops/simulate_mps_test.py', 'description': 'Tests the mps op with empty circuits.', 'signature': 'def test_correctness_empty(self):'}</s>{'name': 'exponential@tensorflow_quantum/python/util.py', 'description': 'Return a Cirq c... | 0 |
{'name': 'MultiLingualMaskedLMTask.load_dataset@fairseq/tasks/multilingual_masked_lm.py', 'description': 'Load a given dataset split.\n\nArgs:\n split (str): name of the split (e.g., train, valid, test)', 'signature': 'def load_dataset(self, split, epoch=1, combine=False, **kwargs):'}</s>{'name': 'set_rng_state@fair... | 0 |
{'name': 'Distinct@src/api/python/z3/z3.py', 'description': "Create a Z3 distinct expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> Distinct(x, y)\nx != y\n>>> z = Int('z')\n>>> Distinct(x, y, z)\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z))\nDistinct(x, y, z)\n>>> simplify(Distinct(x, y, z), blast_distinct=... | 0 |
{'name': 'MikrotikTrackerCoordinator.__init__@custom_components/mikrotik_router/coordinator.py', 'description': 'Initialize MikrotikTrackerCoordinator.', 'signature': 'def __init__('}</s>DEFAULT_SENSOR_SIMPLE_QUEUES = False | 0 |
{'name': 'FiniteDomainSort@src/api/python/z3/z3.py', 'description': 'Create a named finite domain sort of a given size sz', 'signature': 'def FiniteDomainSort(name, sz, ctx=None):'}</s>{'name': 'FuncEntry@src/api/python/z3/z3.py', 'description': 'Store the value of the interpretation of a function in a particular point... | 0 |
{'name': 'Alignment.split@maf/impl/naiveLiftUp.py', 'description': 'Return two new alignments created by splitting this alignment at an offset relative to its start.', 'signature': 'def split(self, split_point):'}</s>{'name': 'maf_export_job@maf/impl/naiveLiftUp.py', 'description': 'Once blocks are on the reference, ex... | 0 |
{'name': 'get_config_values@databricks-adx-integration/src/code/functions/adxingesterrorhandler/__app__/errorhandler/__init__.py', 'description': 'Get Config setting from predefined varialbes or environment parameters. ', 'signature': 'def get_config_values() -> None:'}</s>AZURE_STORAGE_CONNECTION_STRING = "" | 1 |
{'name': 'gen_2spkr_mixture@app/datasets/WSJ0/process.py', 'description': 'generates a two-speaker mixture\n\nArgs:\n names_li_: list of filenames\n\nReturns:\n (spectra, time)\n\n spectra is complex valued matrix of shape (length, 1+fft_size//2)\n time is float type, in seconds', 'signature': 'def gen_2spk... | 1 |
{'name': 'serialize@strictyaml/ruamel/main.py', 'description': 'Serialize a representation tree into a YAML stream.\nIf stream is None, return the produced string instead.', 'signature': 'def serialize(node, stream=None, Dumper=Dumper, **kwds):'}</s>{'name': 'RoundTripLoader@strictyaml/ruamel/loader.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 |
{'name': 'associate_all@Pose2Sim/personAssociation.py', 'description': "For each frame,\n- Find all possible combinations of detected persons\n- Triangulate 'tracked_keypoint' for all combinations\n- Reproject the point on all cameras\n- Take combination with smallest reprojection error\n- Write json file with only one... | 0 |
{'name': 'TestStorage.test_multichunk_file@python-sdk/tests/test_storage.py', 'description': 'Test that multiple chunks are retrieved for sufficiently large file.', 'signature': 'def test_multichunk_file(client: TestClient, tmp_path: Path):'}</s>{'name': 'CdrResolver@python-sdk/pachyderm_sdk/api/cdr/resolver.py', 'desc... | 0 |
{'name': 'main@alphapy/__main__.py', 'description': 'AlphaPy Main Program\n\nNotes\n-----\n(1) Initialize logging.\n(2) Parse the command line arguments.\n(3) Get the model configuration.\n(4) Create the model object.\n(5) Call the main AlphaPy pipeline.', 'signature': 'def main(args=None):'}</s>{'name': 'load_predicto... | 0 |
{'name': '_test_core@ci/weekly/test_all_sat_end_to_end_on_disk.py', 'description': 'Core function testing all data\nArgs:\n pattern (str): Pattern of the satellite\n prod_dirs (Union[str, list]): Product directory\n possible_bands(list): Possible bands\n debug (bool): Debug option', 'signature': 'def _test_... | 0 |
{'name': '_recent@python/DisplayTests.py', 'description': 'Display brief summaries of recent builds of the given type.\n\nReturns a string representing part of a webpage.', 'signature': "def _recent(req, type='', start=0, n_per_page=30, **filters):"}</s>{'name': '_error@python/DisplayTests.py', 'description': 'Encapsul... | 1 |
{'name': 'pseudo_cqt@librosa/core/constantq.py', 'description': "Compute the pseudo constant-Q transform of an audio signal.\n\nThis uses a single fft size that is the smallest power of 2 that is greater\nthan or equal to the max of:\n\n 1. The longest CQT filter\n 2. 2x the hop_length\n\nParameters\n----------\n... | 0 |
{'name': 'compile@src/jsonspec/validators/draft04.py', 'description': 'Compiles schema with `JSON Schema`_ draft-04.\n\n:param schema: obj to compile\n:type schema: Mapping\n:param pointer: uri of the schema\n:type pointer: Pointer, str\n:param context: context of this schema\n:type context: Context\n\n.. _`JSON Schema... | 0 |
{'name': 'View.undrift_from_picked2d@picasso/gui/render.py', 'description': 'Undrifts in x and y based on picked locs in a given channel.\nAvailable when 3D data is loaded.', 'signature': 'def undrift_from_picked2d(self):'}</s>{'name': 'RESIDialog@picasso/gui/render.py', 'description': 'RESI dialog.\n\nAllows for clust... | 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>MQREADA_DISABLED = 2 | 0 |
{'name': 'CacheList.remove_removed@shingetsu/cache.py', 'description': 'Remove removed record from disk.', 'signature': 'def remove_removed(self):'}</s>{'name': 'rfc822_time@shingetsu/util.py', 'description': 'Return date and time in RFC822 format.\n ', 'code': 'def rfc822_time(t):\n """Return date and time in RF... | 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': 'FixedpointObj@src/api/python/z3/z3typ... | 0 |
{'name': 'check_target_label_and_n_target_samples@self_paced_ensemble/utils/_validation_param.py', 'description': 'Jointly check `target_label` and `n_target_samples` parameters.', 'signature': 'def check_target_label_and_n_target_samples(y, target_label, n_target_samples, sampling_type):'}</s>{'name': '_check_visualiz... | 0 |
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQEVO_MQSUB = 6 | 0 |
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQDLV_ALL_DUR = 2 | 0 |
{'name': 'get_operand_registers@peachpy/x86_64/operand.py', 'description': 'Returns a set of registers that comprise the operand', 'signature': 'def get_operand_registers(operand):'}</s>rn_sae = RoundingControl("rn-sae", 0b00) | 0 |
{'name': 'excape@spider/utils/tools.py', 'description': '转译', 'signature': 'def excape(str):'}</s>{'name': 'print_pretty@spider/utils/tools.py', 'description': 'DOCSTRING', 'code': 'def print_pretty(object):\n pprint(object)'} | 0 |
{'name': 'make_utxo@qa/rpc-tests/replace-by-fee.py', 'description': 'Create a txout with a given amount and scriptPubKey\n\nMines coins as needed.\n\nconfirmed - txouts created will be confirmed in the blockchain;\n unconfirmed otherwise.', 'signature': 'def make_utxo(node, amount, confirmed=True, scriptPubK... | 0 |
{'name': 'run@onlinejudge_command/subcommand/login.py', 'description': ':returns: whether it is logged in or not.', 'signature': 'def run(args: argparse.Namespace) -> bool:'}</s>{'name': 'green@onlinejudge_command/utils.py', 'description': 'green(s) color s with green.\n\nThis function exists to encapsulate the colorin... | 0 |
{'name': '_parse_counter_spec@python/cali2traceevent.py', 'description': 'Parse spec strings in the form\n "group=counter1,counter2,..."\nand return a string->map of strings dict', 'signature': 'def _parse_counter_spec(spec):'}</s>{'name': 'main@python/cali2traceevent.py', 'description': 'DOCSTRING', 'code': 'def ma... | 0 |
{'name': 'parse_capture_filter@tools/ble_sniffer/extcap/nrf_sniffer_ble.py', 'description': '"Parse given capture filter', 'signature': 'def parse_capture_filter(capture_filter):'}</s>CTRL_ARG_KEY_VAL = 2 | 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>{'name': 'bytes_to_hex_str@test/functional/test_framework/util.py', 'description': 'DOCSTRING', 'code': "def bytes_to_hex_str(by... | 0 |
{'name': 'Message.from_dict@src/betterproto/__init__.py', 'description': 'Parse the key/value pairs into the current message instance. This returns the\ninstance itself and is therefore assignable and chainable.\n\nParameters\n-----------\nvalue: Dict[:class:`str`, Any]\n The dictionary to parse from.\n\nReturns\n--... | 0 |
{'name': 'asynq@asynq/decorators.py', 'description': 'Async task decorator.\nConverts a method returning generator object to\na method returning AsyncTask object.', 'signature': 'def asynq('}</s>{'name': 'make_async_decorator@asynq/decorators.py', 'description': 'For implementing decorators that wrap async functions.\n... | 0 |
{'name': 'GroupFitter.xfit_redshift@grizli/fitting.py', 'description': 'Two-step procedure for fitting redshifts\n\n1. polynomial, spline template fits\n2. redshift grids\n3. ...\n\nParameters\n----------\nprior : None, (array, array)\n Redshift prior (z, pz). Will be interpolated to the redshift\n fit grid\n\nt... | 0 |
{'name': 'field_psf@grizli/pipeline/auto_script.py', 'description': 'Generate PSFs for the available filters in a given field', 'signature': "def field_psf(root='j020924-044344', PREP_PATH='../Prep', RAW_PATH='../RAW', EXTRACT_PATH='../Extractions', factors=[1, 2, 4], get_drizzle_scale=True, subsample=256, size=6, get_... | 0 |
{'name': 'JupyterWidget.set_default_style@qtconsole/jupyter_widget.py', 'description': 'Sets the widget style to the class defaults.\n\nParameters\n----------\ncolors : str, optional (default lightbg)\n Whether to use the default light background or dark\n background or B&W style.', 'signature': "def set_default_... | 0 |
{'name': 'test_docker_build_fails@test/test_utils.py', 'description': 'Test for expected failure when a recipe fails to build', 'signature': 'def test_docker_build_fails(recipes_fixture, config_fixture):'}</s>{'name': 'get_tests@bioconda_utils/pkg_test.py', 'description': 'Extract tests from a built package', 'code': '... | 0 |
{'name': 'MessageSetItemEncoder@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 string message = 3;\n }\n }', 'sign... | 0 |
{'name': 'month_days@src/convertdate/hebrew.py', 'description': 'How many days are in a given month of a given year', 'signature': 'def month_days(year, month):'}</s>{'name': 'year_days@src/convertdate/hebrew.py', 'description': 'How many days are in a Hebrew year ?', 'code': "def year_days(year):\n '''How many days... | 1 |
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes... | 0 |
{'name': 'crackline@venv/Lib/site-packages/numpy/f2py/crackfortran.py', 'description': 'reset=-1 --- initialize\nreset=0 --- crack the line\nreset=1 --- final check if mismatch of blocks occurred\n\nCracked data is saved in grouplist[0].', 'signature': 'def crackline(line, reset=0):'}</s>{'name': 'isintent_cache@v... | 0 |
{'name': 'make_query@gaia_tools/query/make_gaia_query.py', 'description': 'Makes a whole Gaia query\n\nINPUTS\n------\nWHERE: str, None (default None)\n ADQL `WHERE\' argument\nORDERBY: str (or None)\n ADQL `ORDER BY\' argument\nFROM: str, None (default None)\n ADQL `FFROM\' argument\nrandom_index: int, None... | 0 |
{'name': 'answer_question@server.py', 'description': ' Will get entities for the question.\n Generate subgraph\n Run corechain and aux predictions\n\n\n:param question: str: intended question to answer\n:return:', 'signature': 'def answer_question(question, entities=None):'}</s>{'name': 'convert@utils/natural_... | 0 |
{'name': 'p_unary_expression@ctypesgen/parser/cgrammar.py', 'description': 'unary_expression : postfix_expression\n| INC_OP unary_expression\n| DEC_OP unary_expression\n| unary_operator cast_expression\n| SIZEOF unary_expression\n| SIZEOF LPAREN type_name RPAREN\n| asm_expression', 'signature': 'def p_unary_expression(... | 0 |
{'name': 'strip@ncbitax2lin/data_io.py', 'description': ':param str_: a string', 'signature': 'def strip(str_: str) -> str:'}</s>{'name': 'collect_df_info@ncbitax2lin/utils.py', 'description': 'Collects information of a dataframe', 'code': 'def collect_df_info(df_data: pd.DataFrame) -> str:\n """Collects information... | 0 |
{'name': 'addLevelName@local/clogging.py', 'description': 'Will not be added to `__all__`.', 'signature': 'def addLevelName(level, levelName, color=None, force=False):'}</s>__all__ = ['CRITICAL', 'FATAL', 'ERROR', 'WARNING', 'WARN', 'INFO', 'DEBUG',
'NOTSET', 'NULL_STREAM', 'COLORS', 'addLevelName', 'getLeve... | 0 |
{'name': 'DefinitionSchema.__init__@cerberus/schema.py', 'description': ':param validator: An instance of Validator-(sub-)class that uses this\n schema.\n:param schema: A definition-schema as ``dict``. Defaults to an empty\n one.', 'signature': 'def __init__(self, validator, schema):'}</s... | 0 |
{'name': 'render_positive_time_period@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Resolve a template that specifies a timedelta', 'signature': 'def render_positive_time_period(data: dict, key: str) -> None:'}</s>{'name': 'check_item@custom_components/irrigation_unlimited/irrigation_... | 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': 'map_gateway@pymultimatic/model/mapper.py', 'description': 'Map gateway.', 'signature': 'def map_gateway(json) -> str:'}</s>{'name': '_map_state@pymultimatic/model/mapper.py', 'description': 'DOCSTRING', 'code': 'def _map_state(raw_state) -> Optional[SyncState]:\n state = str(raw_state.get("state"))\n ti... | 0 |
{'name': 'CScriptOp.encode_op_n@qa/rpc-tests/test_framework/script.py', 'description': 'Encode a small integer op, returning an opcode', 'signature': 'def encode_op_n(n):'}</s>OP_PUSHDATA1 = CScriptOp(0x4c) | 0 |
{'name': 'CScript.GetSigOpCount@qa/rpc-tests/test_framework/script.py', 'description': 'Get the SigOp count.\n\nfAccurate - Accurately count CHECKMULTISIG, see BIP16 for details.\n\nNote that this is consensus-critical.', 'signature': 'def GetSigOpCount(self, fAccurate):'}</s>OP_14 = CScriptOp(0x5e) | 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': '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': 'Arcball.drag@transformations.py', 'description': 'Update current cursor window coordinates.', 'signature': 'def drag(self, point):'}</s>{'name': 'projection_from_matrix@transformations.py', 'description': 'Return projection plane and perspective point from projection matrix.\n\nReturn values are same as argum... | 0 |
{'name': 'GTestHelpTest.test_prints_help_with_full_flag@third_party/dawn/third_party/googletest/googletest/test/gtest_help_test.py', 'description': 'Verifies correct behavior when help flag is specified.\n\nThe right message must be printed and the tests must\nskipped when the given flag is specified.', 'signature': 'd... | 0 |
{'name': 'CSSParser.parse_pseudo_class_custom@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Parse custom pseudo class alias.\n\nCompile custom selectors as we need them. When compiling a custom selector,\nset it to `None` in the dictionary so we can avoid an infinite loop.',... | 0 |
{'name': 'GtkydInfo.read_all_hdrs@src/python_scripts/afnipy/lib_gtkyd.py', 'description': 'go through all infiles and get header info. This populates a list\nof headers, one-for-one with the infiles', 'signature': 'def read_all_hdrs(self):'}</s>gtkyd_brickstat_minmax = {
'min' : 1,
'max' : 1,
} | 0 |
{'name': 'CheckHeaderFileIncluded@third_party/cpplint/cpplint.py', 'description': 'Logs an error if a source file does not include its header.', 'signature': 'def CheckHeaderFileIncluded(filename, include_state, error):'}</s>{'name': 'FindEndOfExpressionInLine@third_party/cpplint/cpplint.py', 'description': 'Find the p... | 0 |
{'name': 'convert_single_example@Polarity/run_Polarity.py', 'description': 'Converts a single `InputExample` into a single `InputFeatures`.', 'signature': 'def convert_single_example(ex_index, example, label_list, max_seq_length,'}</s>{'name': 'input_fn_builder@Polarity/run_Polarity.py', 'description': 'Creates an `inp... | 0 |
{'name': 'Recipient.get_suggestions@GeoHealthCheck/models.py', 'description': 'Return list of values to autocomplete for specific user\nand channel.', 'signature': 'def get_suggestions(cls, channel, for_user):'}</s>{'name': 'User@GeoHealthCheck/models.py', 'description': 'user accounts.\nToken handling thanks to:\nhttp... | 0 |
{'name': 'add_implicit_resolver@strictyaml/ruamel/main.py', 'description': 'Add an implicit scalar detector.\nIf an implicit scalar value matches the given regexp,\nthe corresponding tag is assigned to the scalar.\nfirst is a sequence of possible initial characters or None.', 'signature': 'def add_implicit_resolver('}<... | 0 |
{'name': 'make_visit_mosaic@grizli/aws/visit_processor.py', 'description': "Make a mosaic of the exposures from a visit with a tangent point selected\nfrom the sky tile grid\n\nParameters\n----------\nassoc : str\n grizli association name\n\nbase_path : str\n Base working directory. Working directory will be\n ... | 0 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.