text
string
label
int64
{'name': 'DataStream.partition_by@streaming/python/raystreaming/datastream.py', 'description': 'Sets the partitioning of the :class:`DataStream` so that the elements\nof stream are partitioned by specified partition function.\n\nArgs:\n partition_func: partition function.\n If `func` is a python function instead ...
0
{'name': 'preprocess_for_train@preprocessing/densenet_preprocessing.py', 'description': 'Preprocesses the given image for training.\n\nNote that the actual resizing scale is sampled from\n [`resize_size_min`, `resize_size_max`].\n\nArgs:\n image: A `Tensor` representing an image of arbitrary size.\n output_height: T...
1
{'name': 'setup_T2_amplitudes@doc/LectureNotes/_build/jupyter_execute/cc.py', 'description': 'returns the t2 amplitudes and t2 channels\nparam sp_basis: a sp_basis\nparam NN: neutron number\nparam st_degen: 2 for the moment, spin-isospin degeneracy\nreturn: hh_channels, pp_channels, p_rel_hh, p_rel_pp, t2amp\n t...
0
{'name': 'CombinedFunction.add_penalty@parsimony/functions/combinedfunctions.py', 'description': 'Add a penalty, i.e. a constraint on the Lagrange form.\n\nParameters\n----------\npenalty : Penalty\n A function that penalises the objective function.\n\naccepts_params : 2-tuple or list of 2-tuples\n The outer func...
0
{'name': 'textureAsGameTexture@ValveFileSystem/valve.py', 'description': 'returns a resolved game texture filepath given some sort of texture path', 'signature': 'def textureAsGameTexture(texturePath):'}</s>{'name': 'stripcomments@ValveFileSystem/valve.py', 'description': 'Strips all C++ style block and line comments f...
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'from_arrow_type@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/sql/types.py', 'description': 'Convert pyarrow type to Spark data type.\n ', 'signature': 'def from_arrow_type(at):'}</s>_all_atomic_types = dict((t.typeName(), t) for t in _atomic_types)
0
{'name': 'QueueManager.connect_with_options@code/pymqi/__init__.py', 'description': "connect_with_options(name [, opts=cnoopts][ ,cd=mqcd][ ,sco=mqsco])\n connect_with_options(name, cd, [sco])\n\nConnect immediately to the Queue Manager 'name', using the\noptional MQCNO Options opts, the optional MQCD connection\ndes...
0
{'name': 'XMLDump.finish@TDScanner/sqlmap/lib/core/xmldump.py', 'description': 'Finishes the dumper operation:\n1. Adds the session status to the xml\n2. Writes the xml to the file\n3. Closes the xml file', 'signature': 'def finish(self, resultStatus, resultMsg=""):'}</s>RESULTS_ELEM_NAME = "Results"
0
{'name': 'timolo@source/pi-timolo.py', 'description': 'Main motion and or motion tracking\ninitialization and logic loop', 'signature': 'def timolo():'}</s>LINE_THICKNESS = 1
0
{'name': 'ReceiveClient.receive_messages_iter@uamqp/client.py', 'description': 'Receive messages by generator. Messages returned in the generator have already been\naccepted - if you wish to add logic to accept or reject messages based on custom\ncriteria, pass in a callback.\n\n:param on_message_received: A callback t...
0
{'name': 'keypoints_ui@Pose2Sim/synchronization.py', 'description': 'Step 1: Initializes the UI for selecting keypoints.\n\nThis function creates an interactive GUI for selecting keypoints. It displays\na human figure with selectable keypoints, allows users to toggle keypoint names,\nselect all or none, and confirm the...
0
{'name': '_getTestStatus@python/DisplayTests.py', 'description': "Return the status for all tests in the given directory, and compute\na summary status given the build type.\nReturn a tuple (dict, string, string, dict, dict) where the first entry maps\ntest suite names to a string describing their status, the second is...
0
{'name': 'Plant.get_observation@src/astrobotany/models.py', 'description': "A long-form description of the plant.\n\nThis includes a random observations and other specific details about\nthe plant's current stage.", 'signature': 'def get_observation(self, ansi_enabled: bool = False) -> str:'}</s>badge_238 = Badge("glob...
0
{'name': 'upload_mirabuf@exporter/SynthesisFusionAddin/src/APS/APS.py', 'description': "uploads mirabuf file to a specific folder in an APS project\nthe folder and project must be created and valid\nif the file has already been created, it will use the APS versioning API to upload it as a new file version\n\nparameters...
0
{'name': 'createNatProperty@src/python/Optizelle/Properties.py', 'description': 'Create a natural number property', 'signature': 'def createNatProperty(name,desc):'}</s>{'name': 'checkVectorList@src/python/Optizelle/Properties.py', 'description': 'Checks that an input is a list', 'code': 'def checkVectorList(name,value...
0
{'name': 'CheckForNonConstReference@llvm-12.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Check for non-const references.\n\nSeparate from CheckLanguage since it scans backwards from current\nline, instead of scanning forward.\n\nArgs:\n filename: The name of the current file.\n cl...
0
{'name': 'merge_entries@contrib/mbedtls/scripts/assemble_changelog.py', 'description': 'Merge changelog entries into the changelog file.\n\nRead the changelog file from options.input.\nCheck that all entries have a .txt extension\nRead entries to merge from the directory options.dir.\nWrite the new changelog to options...
0
{'name': 'Asizer._sizer@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Size an object, recursively.\n ', 'signature': 'def _sizer(self, obj, deep, sized):'}</s>{'name': '_len_module@pyFileFixity/lib/profilers/visual/pympler/asizeof.py', 'description': 'Module length.\n ', 'code': "def ...
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': 'LongTypesExprTestCase.test_unsigned_long_type_from_block@llvm-project/lldb/test/API/types/TestLongTypesExpr.py', 'description': "Test that 'unsigned_long'-type variables are displayed correctly from a block.", 'signature': 'def test_unsigned_long_type_from_block(self):'}</s>{'name': 'apple_simulator_test@llvm...
0
{'name': 'colored@src/monty/termcolor.py', 'description': "Colorize text.\n\nAvailable text colors:\n red, green, yellow, blue, magenta, cyan, white.\n\nAvailable text highlights:\n on_red, on_green, on_yellow, on_blue, on_magenta, on_cyan, on_white.\n\nAvailable attributes:\n bold, dark, underline, blink, rev...
1
{'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': 'CScriptOp.decode_op_n@test/functional/test_framework/script.py', 'description': 'Decode a small integer opcode, returning an integer', 'signature': 'def decode_op_n(self):'}</s>{'name': 'compute_xonly_pubkey@test/functional/test_framework/key.py', 'description': 'Compute an x-only (32 byte) public key from a ...
0
{'name': 'ContentDircmp.phase3@tests/test_scenarios.py', 'description': 'Find out differences between common files.\nEnsure we are using content comparison with shallow=False.', 'signature': 'def phase3(self):'}</s>{'name': 'flatten@ascmhl/commands.py', 'description': 'Flatten an MHL history into one external manifest\...
0
{'name': 'routsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'name,NAME,begintitle,endtitle\nrname,ctype,rformat\nroutdebugshowvalue', 'signature': 'def routsign2map(rout):'}</s>{'name': 'modsign2map@venv/Lib/site-packages/numpy/f2py/capi_maps.py', 'description': 'modulename', 'code': 'def mod...
0
{'name': 'MarkerManager.mark_compiler_output@parseoutput.py', 'description': 'Parse text into a list of OutputMessage objects.\n ', 'signature': 'def mark_compiler_output(self, view, banner, base_dir, text, exit_code):'}</s>{'name': 'Package@symbols.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'm...
0
{'name': 'attention_layer@baselines/models/roberta/modeling.py', 'description': 'Performs multi-headed attention from `from_tensor` to `to_tensor`.\n\nThis is an implementation of multi-headed attention based on "Attention\nis all you Need". If `from_tensor` and `to_tensor` are the same, then\nthis is self-attention. E...
0
{'name': 'GeoDataset.set_roi@salem/datasets.py', 'description': "Set a region of interest for the dataset.\nIf set succesfully, a ROI is simply a mask of the same size as the\ndataset's grid, obtained with the .roi attribute.\nI haven't decided yet if the data should be masekd out when a ROI\nhas been set.\nParameters\...
0
{'name': 'main@tools/deploy_grafana.py', 'description': 'Deploy Grafana for Assisted Installer', 'signature': 'def main():'}</s>{'name': 'deploy_oauth_reqs@tools/deploy_grafana.py', 'description': 'oauth Integration in OCP', 'code': 'def deploy_oauth_reqs():\n \'\'\'oauth Integration in OCP\'\'\'\n # Token genera...
1
{'name': 'EddyStone.decode@aioblescan/plugins/eddystone.py', 'description': 'Check a parsed packet and figure out if it is an Eddystone Beacon.\nIf it is , return the relevant data as a dictionary.\n\nReturn None, it is not an Eddystone Beacon advertising packet', 'signature': 'def decode(self, packet):'}</s>url_scheme...
0
{'name': 'test_pkg_test_conda_package_format@test/test_utils.py', 'description': 'Running a mulled-build test with .tar.bz2/.conda package formats', 'signature': 'def test_pkg_test_conda_package_format('}</s>{'name': 'test_env_sandboxing@test/test_utils.py', 'description': 'DOCSTRING', 'code': 'def test_env_sandboxing(...
0
{'name': 'download_data@exp/ohl.py', 'description': 'download the raw data from web api', 'signature': 'def download_data(url, fake=False):'}</s>{'name': 'main@exp/ohl.py', 'description': 'DOCSTRING', 'code': 'def main():\n # do this in any case\n summary()\n\n if cli.snap:\n snap(cli.snap)\n\n if cl...
0
{'name': 'PaneManager.__init__@shutit_global.py', 'description': 'only_one - singleton insurance', 'signature': 'def __init__(self, shutit_global_object):'}</s>{'name': 'ShutIt@shutit_class.py', 'description': 'ShutIt build class.\nRepresents an instance of a ShutIt run/session/build with associated config....
0
{'name': 'FrameRecord.get_link_urls@disdat/hyperframe.py', 'description': 'Assuming a link FrameRecord, return all the URLs in the frame\n\nReturns:\n (:list:str): An ordered set of link URLs', 'signature': 'def get_link_urls(self):'}</s>{'name': 'w_pb_fs@disdat/hyperframe.py', 'description': "Write the pb containe...
0
{'name': 'addresses@n26/cli.py', 'description': 'Show account addresses ', 'signature': 'def addresses():'}</s>CARD_STATUS_ACTIVE = "M_ACTIVE"
0
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'prob_start_with_R@src/python_scripts/afnipy/afni_util.py', 'description': 'return the probability of starting nS (...
0
{'name': 'MessageSetItemDecoder@third_party/dawn/third_party/protobuf/python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for a MessageSet item.\n\nThe parameter is the message Descriptor.\n\nThe message set message looks like this:\n message MessageSet {\n repeated group Item = 1 {\n ...
0
{'name': 'azero@pf/rule.py', 'description': "Return True if all numbers in 'seq' are 0s.", 'signature': 'def azero(seq):'}</s>PF_NOSCRUB = 3
0
{'name': 'ResourceManager.resource_listdir@blockchain-env/lib/python3.7/site-packages/pip/_vendor/pkg_resources/__init__.py', 'description': 'List the contents of the named resource directory', 'signature': 'def resource_listdir(self, package_or_requirement, resource_name):'}</s>_distributionImpl = { '.egg': Distri...
0
{'name': 'PostgresNode.restart@testgres/node.py', 'description': 'Restart this node using pg_ctl.\n\nArgs:\n params: additional arguments for pg_ctl.\n\nReturns:\n This instance of :class:`.PostgresNode`.', 'signature': 'def restart(self, params=[]):'}</s>{'name': 'DumpFormat@testgres/enums.py', 'description': 'A...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQDLV_ALL = 1
0
{'name': 'BaseCtx.__init__@persia/ctx.py', 'description': 'Arguments:\n threadpool_worker_size (int): rpc threadpool worker size.\n device_id (int, optional): the CUDA device to use for this process.', 'signature': 'def __init__('}</s>PERSIA_SKIP_CHECK_DATA = bool(int(os.environ.get("PERSIA_SKIP_CHECK_DATA", "0")...
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': 'infidandgrad@examples/fidelity-gradient.py', 'description': '""\nTake a numpy array [hx0, hz0, hx1, hz1, ...] over full timesteps and\nreturn the fidelity and gradient of the fidelity to the global target_derivative', 'signature': 'def infidandgrad(paras):'}</s>{'name': 'identity@oqupy/operators.py', 'descrip...
0
{'name': 'GefCommand.load_extra_plugins@gef.py', 'description': 'Load the plugins from the gef-extras setting. Returns the number of new plugins added.', 'signature': 'def load_extra_plugins(self, extra_plugins_dir: pathlib.Path | None = None) -> int:'}</s>{'name': 'FormatStringSearchCommand@gef.py', 'description': 'Ex...
0
{'name': 'get_local_file_content@etc/scripts/utils_thirdparty.py', 'description': 'Return the content at `url` as text. Return the content as bytes is\n`as_text` is False.', 'signature': 'def get_local_file_content(path, as_text=True):'}</s>TRACE_ULTRA_DEEP = False
0
{'name': 'preprocess_img@tools/train_with_placeholder.py', 'description': ':param img_plac: [H, W, 3] uint 8 img. In RGB.\n:param gtbox_plac: shape of [-1, 5]. [xmin, ymin, xmax, ymax, label]\n:return:', 'signature': 'def preprocess_img(img_plac, gtbox_plac):'}</s>EVALUATE_DIR = ROOT_PATH + '/output/evaluate_result_pic...
0
{'name': 'IUController.load@custom_components/irrigation_unlimited/irrigation_unlimited.py', 'description': 'Load config data for the controller', 'signature': 'def load(self, config: OrderedDict) -> "IUController":'}</s>CONF_EVERY_N_DAYS = "every_n_days"
0
{'name': 'main@swagger_to/bin/swagger_to_py_client.py', 'description': 'Execute the main routine.', 'signature': 'def main() -> None:'}</s>{'name': 'Propertydef@swagger_to/intermediate.py', 'description': 'Represent a property of an object.', 'base_classes': [], 'methods': [{'name': 'Propertydef.__init__@swagger_to/int...
0
{'name': 'ServiceBrowser.__init__@stino/pyarduino/base/zeroconf.py', 'description': 'Creates a browser for a specific type', 'signature': 'def __init__(self, zc, type, listener):'}</s>_FLAGS_RD = 256
0
{'name': 'draw_moist_adiabat@pymeteo/skewt.py', 'description': 'Plot moist adiabats on axes\n\n:parameter axes: The axes to draw on\n:type axes: :py:class:`matplotlib.axes`\n\nThis function calculates moist adiabats\nand plots these lines. Adiabats are calculated for\nvalues of T at 1000mb from -15 to 45 C every 5 C b...
0
{'name': 'Pipelines.clone@qds_sdk/pipelines.py', 'description': 'Method to clone pipeline\n:param pipeline_id:\n:return:', 'signature': 'def clone(pipeline_id):'}</s>{'name': 'Pipelines@qds_sdk/pipelines.py', 'description': 'qds_sdk.Pipelines is the base Qubole Pipelines class.', 'base_classes': ['Resource'], 'methods'...
1
{'name': 'process_client_hello@core/packet_processor.py', 'description': 'Extracts the SNI field from the ClientHello packet.', 'signature': 'def process_client_hello(pkt):'}</s>USER_KEY_URL = INSPECTOR_DATA_DONATION_SERVER + '/get_user_key'
0
{'name': 'TLP.get_lower_address@fpga/lib/pcie/tb/pcie.py', 'description': 'Compute lower address field from address and first byte enable', 'signature': 'def get_lower_address(self):'}</s>TLP_FETCH_ADD_64 = (FMT_4DW_DATA, 0x0C)
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQIACF_SYSP_OUT_BUFFER_SIZE = 1180
0
{'name': 'find_gaps@Ghidra/Processors/RISCV/scripts/binutil.py', 'description': 'Account for all the bits in the pattern\ndummy style just added as they got added', 'signature': 'def find_gaps(op):'}</s>MASK_RVC_IMM = ENCODE_RVC_IMM(-1)
0
{'name': '_GHParam.from_input@src/ghhops-server-py/ghhops_server/params.py', 'description': 'Extract parameter data from serialized input', 'signature': 'def from_input(self, input_data):'}</s>{'name': 'HopsMesh@src/ghhops-server-py/ghhops_server/params.py', 'description': 'Wrapper for GH Mesh', 'base_classes': ['_GHPa...
0
{'name': 'configure_events_view_set@django_eventstream/viewsets.py', 'description': 'Configure the EventsViewSet class with specific channels and message types.', 'signature': 'def configure_events_view_set(channels=None, messages_types=None):'}</s>{'name': 'SSEEventRenderer@django_eventstream/renderers/sserenderer.py'...
0
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>PFSYNC_FLAG_NATSRCNODE = 8
1
{'name': 'FletcherBaseArray._np_ufunc_op@fletcher/base.py', 'description': 'Apply a NumPy ufunc on the instance and any other object.', 'signature': 'def _np_ufunc_op(self, op: Callable, other):'}</s>var_op = partial(pd_nanop, nanops.nanvar)
0
{'name': 'FairseqTask.build_generator@fairseq/tasks/fairseq_task.py', 'description': 'Build a :class:`~fairseq.SequenceGenerator` instance for this\ntask.\n\nArgs:\n models (List[~fairseq.models.FairseqModel]): ensemble of models\n args (fairseq.dataclass.configs.GenerationConfig):\n configuration object (...
0
{'name': 'picked_locs@picasso/postprocess.py', 'description': 'Finds picked localizations.\n\nParameters\n----------\nlocs : np.recarray\n Localization list.\ninfo : list of dicts\n Metadata of the localizations list.\npicks : list\n List of picks.\npick_shape : {\'Circle\', \'Rectangle\', \'Polygon\'}\n Sh...
0
{'name': 'chroma_cens@librosa/feature/spectral.py', 'description': 'Compute the chroma variant "Chroma Energy Normalized" (CENS)\n\nTo compute CENS features, following steps are taken after obtaining chroma vectors\nusing `chroma_cqt`: [#]_.\n\n 1. L-1 normalization of each chroma vector\n 2. Quantization of ampl...
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>MQBACF_MQCBD_STRUCT = 7024
0
{'name': 'NotifyOpponentMoveResultsTestCase.test_params_capture@tests/test_play.py', 'description': 'r n b q k b n r\np p p p p p p p\n. . . . P . . .\n. . . . . . . .\n. . . . . . . .\n. . . . . . . .\nP P P P . P P P\nR N B Q K B N R', 'signature': 'def test_params_capture(self):'}</s>{'name': 'PlaySenseTestCase@test...
0
{'name': 'TrimmedMatchDesignTest.testTooFewGeos@trimmed_match/design/tests/trimmed_match_design_test.py', 'description': 'Checks no design is returned if we have less than 10 pairs.', 'signature': 'def testTooFewGeos(self):'}</s>{'name': 'trimmed_match_aa_test@trimmed_match/design/geo_assignment.py', 'description': 'Re...
0
{'name': 'SingleSubjectWindow.CB_line_text@src/python_scripts/afnipy/gui_uber_subj.py', 'description': 'call-back for text updates in the level 3 gbox', 'signature': 'def CB_line_text(self):'}</s>{'name': 'max_dim_1D@src/python_scripts/afnipy/afni_util.py', 'description': 'return the larger of the number of rows or col...
0
{'name': 'video_feed@server/app.py', 'description': 'Video streaming route. Put this in the src attribute of an img tag.', 'signature': 'def video_feed():'}</s>{'name': 'sendfonts@server/app.py', 'description': 'DOCSTRING', 'code': "def sendfonts(filename):\n return send_from_directory(dir_path+'/dist/fonts', filena...
0
{'name': 'BSDataSet.n_cells@brainspace/vtk_interface/wrappers/data_object.py', 'description': 'int: Returns number of cells.', 'signature': 'def n_cells(self):'}</s>{'name': 'has_only_vertex@brainspace/vtk_interface/checks.py', 'description': 'Check if `surf` has only vertex cells.\n\nParameters\n----------\nsurf : BSD...
0
{'name': 'on_restart_server@src/server/server.py', 'description': 'Re-execute the current process.', 'signature': 'def on_restart_server():'}</s>{'name': 'on_stop_race@src/server/server.py', 'description': 'DOCSTRING', 'code': 'def on_stop_race(*args):\n RaceContext.race.stop(*args)'}
0
{'name': 'get_preview_suffixes@ide/auth.py', 'description': 'Get the last domain parts of domains permitted for testing.', 'signature': 'def get_preview_suffixes():'}</s>{'name': 'auth@ide/auth.py', 'description': 'DOCSTRING', 'code': 'def auth():\n auth_host = routes.get_auth_host_name()\n stateEncoded = request...
0
{'name': 'Context.resolve@lib/rule_engine/engine.py', 'description': 'The method to use for resolving symbols names to values. This function must return a compatible value for the\nspecified symbol name. When a *scope* is defined, this function handles the resolution itself, however when the\n*scope* is ``None`` the re...
0
{'name': '_makeTags@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Internal helper to construct opening and closing tag expressions, given a tag name', 'signature': 'def _makeTags(tagStr, xml):'}</s>{'name': 'pyparsing_common@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description'...
0
{'name': 'Pix2PixModel.backward_D@models/pix2pix_model.py', 'description': 'Calculate GAN loss for the discriminator', 'signature': 'def backward_D(self):'}</s>{'name': 'init_weights@models/networks.py', 'description': "Initialize network weights.\n\nParameters:\n net (network) -- network to be initialized\n in...
0
{'name': 'PretrainingModel._get_masked_lm_output@araelectra/run_pretraining.py', 'description': 'Masked language modeling softmax layer.', 'signature': 'def _get_masked_lm_output(self, inputs: pretrain_data.Inputs, model):'}</s>{'name': 'heading@araelectra/util/utils.py', 'description': 'DOCSTRING', 'code': 'def headin...
0
{'name': 'DayGroupCreateView.form_valid@rosters/views.py', 'description': 'Add all days to day group by default.', 'signature': 'def form_valid(self, form):'}</s>{'name': 'StaffRuleShiftDeleteView@rosters/views.py', 'description': 'Staff Rule Shift Delete View.', 'base_classes': ['LoginRequiredMixin', 'PermissionRequir...
0
{'name': 'update_addons_path@saas_demo/os.py', 'description': ':param list folder_of_folders: <folder_of_folders>/REPO/MODULE/__manifest__.py\n:param bool force: override existing addons', 'signature': 'def update_addons_path(folder_of_folders, force=True):'}</s>{'name': 'analysis_dir@saas_demo/os.py', 'description': '...
0
{'name': 'ancestral_reconstruction@treetime/wrappers.py', 'description': 'implementing treetime ancestral', 'signature': 'def ancestral_reconstruction(params):'}</s>{'name': 'export_sequences_and_tree@treetime/CLI_io.py', 'description': 'DOCSTRING', 'code': 'def export_sequences_and_tree(tt, basename, is_vcf=False, zer...
1
{'name': 'Browser.save_removed_items@deliverance/__init__.py', 'description': 'Writes OOS items that have been removed from cart to a TOML file', 'signature': 'def save_removed_items(self):'}</s>{'name': 'wait_for_elements@deliverance/utils.py', 'description': 'DOCSTRING', 'code': 'def wait_for_elements(driver, locator...
0
{'name': 'preprocess_for_train@model/nets/vgg_preprocessing.py', 'description': 'Preprocesses the given image for training.\n\nNote that the actual resizing scale is sampled from\n [`resize_size_min`, `resize_size_max`].\n\nArgs:\n image: A `Tensor` representing an image of arbitrary size.\n output_height: The heigh...
1
{'name': 'Lookyloo.__init__@lookyloo/lookyloo.py', 'description': "Initialize lookyloo.\n:param cache_max_size: The maximum size of the cache. Alows to display captures metadata without getting it from redis\n This cache is *not* useful for background indexing or pickle building, only for the fron...
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': 'VectorEnv.__init__@habitat/core/vector_env.py', 'description': "..\n\n:param make_env_fn: function which creates a single environment. An\n environment can be of type :ref:`env.Env` or :ref:`env.RLEnv`\n:param env_fn_args: tuple of tuple of args to pass to the\n :ref:`_make_env_fn`.\n:param auto_reset_d...
1
{'name': 'SyntheticDisplayBase.create_value@3rdparty/mongo-c-driver-1.26.2/lldb_bson.py', 'description': 'Cast a Python primitive into an LLDB SBValue.', 'signature': 'def create_value('}</s>{'name': 'NullDisplay@3rdparty/mongo-c-driver-1.26.2/lldb_bson.py', 'description': "Display for the BSON 'null' type", 'base_clas...
0
{'name': 'Field.deprecation_reason@pygraphy/introspection.py', 'description': 'Not support yet', 'signature': 'def deprecation_reason(self) -> Optional[str]:'}</s>{'name': 'DirectiveLocation@pygraphy/introspection.py', 'description': 'DOCSTRING', 'base_classes': ['Enum'], 'methods': []}
0
{'name': 'main@src/freetype/src/tools/docmaker/docbeauty.py', 'description': 'main program loop', 'signature': 'def main(argv):'}</s>{'name': 'DocChapter@src/freetype/src/tools/docmaker/content.py', 'description': 'DOCSTRING', 'base_classes': [], 'methods': [{'name': 'DocChapter.__init__@src/freetype/src/tools/docmaker...
0
{'name': 'TestObjectsE2E.test_host_record_ea_inheritance@e2e_tests/test_objects.py', 'description': 'Checks if EA inheritance for record:host object\nworks as expected', 'signature': 'def test_host_record_ea_inheritance(self):'}</s>{'name': 'DtcPoolConsolidatedMonitorHealth@infoblox_client/objects.py', 'description': '...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQIACF_LAST_USED = 1444
0
{'name': 'cylinderToVTK@pyevtk/hl.py', 'description': 'Export cylinder as VTK unstructured grid.\n\nParameters\n----------\npath : str\n name of the file without extension where data should be saved.\nx0 : float\n x-center of the cylinder.\ny0 : float\n y-center of the cylinder.\nz0 : float\n lower end of t...
0
{'name': 'normalize_numbered_streets@scourgify/normalize.py', 'description': 'Change numbered street names to include missing original identifiers.\n\n:param parsed_addr: address parsed into ordereddict per usaddress.\n:type parsed_addr: Mapping\n:return: parsed_addr with ordinal identifiers appended to numbered street...
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': 'QueueManager._is_connected@code/pymqi/__init__.py', 'description': "Try pinging the queue manager in order to see whether the application\nis connected to it. Note that the method is merely a convienece wrapper\naround MQCMD_PING_Q_MGR, in particular, there's still possibility that\nthe app will disconnect be...
0
{'name': 'ProcessLine@third_party/cpplint/cpplint.py', 'description': 'Processes a single line in the file.\n\nArgs:\n filename: Filename of the file that is being processed.\n file_extension: The extension (dot not included) of the file.\n clean_lines: An array of strings, each representing a line of the file,\n ...
1
{'name': 'OrCheck.__call__@oslo_policy/_checks.py', 'description': 'Check the policy.\n\nRequires that at least one rule accept in order to return True.', 'signature': 'def __call__(self, target, cred, enforcer, current_rule=None):'}</s>{'name': 'RoleCheck@oslo_policy/_checks.py', 'description': 'Check that there is a ...
0
{'name': 'env_perform_reproduce_update@self_organising_systems/biomakerca/env_logic.py', 'description': "Perform reproduce operations in the environment.\n\nThis is the function that should be used for high level step_env design.\n\nArguments:\n key: a jax random number generator.\n env: the input environment to be m...
0
{'name': 'CWLDAG.__setup_params@cwl_airflow/extensions/cwldag.py', 'description': 'Updates kwargs with default values if those were not\nexplicitely set on CWLDAG creation. "start_date" is set\nto days_ago(180) assuming that DAG run is not supposed\nto be queued longer then half a year:)', 'signature': 'def __setup_par...
1
{'name': 'CSSParser.selector_iter@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Iterate selector tokens.', 'signature': 'def selector_iter(self, pattern):'}</s>PAT_CLASS = r'\.{ident}'.format(ident=IDENTIFIER)
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': 'looks_like_xml@lib/pygments/util.py', 'description': 'Check if a doctype exists or if we have some tags.', 'signature': 'def looks_like_xml(text):'}</s>doctype_lookup_re = re.compile(r'''(?smx) (<\?.*?\?>)?\s* <!DOCTYPE\s+( [a-zA-Z_][a-zA-Z0-9]*\s+ [a-zA-Z_][a-zA-Z0-9]*\s+ "[^"]*") ...
1