text
string
label
int64
{'name': 'watch_dev@jupyterlab/commands.py', 'description': 'Run watch mode in a given directory.\n\nParameters\n----------\nlogger: :class:`~logger.Logger`, optional\n The logger instance.\n\nReturns\n-------\nA list of `WatchHelper` objects.', 'signature': 'def watch_dev(logger=None):'}</s>{'name': '_is_locked@jup...
0
{'name': 'Simplifier.using_params@src/api/python/z3/z3.py', 'description': 'Return a simplifier that uses the given configuration options', 'signature': 'def using_params(self, *args, **keys):'}</s>{'name': 'Star@src/api/python/z3/z3.py', 'description': 'Create the regular expression accepting zero or more repetitions ...
0
{'name': 'up_to_climate@oggm/tests/test_workflow.py', 'description': 'Run the tasks you want.', 'signature': 'def up_to_climate(reset=False, use_mp=None):'}</s>{'name': 'get_cru_cl_file@oggm/shop/cru.py', 'description': 'Returns the path to the unpacked CRU CL file.', 'code': 'def get_cru_cl_file():\n """Returns the...
0
{'name': 'import_@twitter_to_sqlite/cli.py', 'description': 'Import data from a Twitter exported archive. Input can be the path to a zip\nfile, a directory full of .js files or one or more direct .js files.', 'signature': 'def import_(db_path, paths):'}</s>{'name': 'users_lookup@twitter_to_sqlite/cli.py', 'description'...
0
{'name': 'NewDatabase.write_db_to_matrices@premise/new_database.py', 'description': 'Exports the new database as a sparse matrix representation in csv files.\n\n:param filepath: path provided by the user to store the exported matrices.\nIf it is a string, the path is used as main directory from which\n"iam model" / "pa...
0
{'name': 'PFDivert._to_string@pf/rule.py', 'description': 'Return a string representation of the object.', 'signature': 'def _to_string(self):'}</s>PF_DIVERT_NONE = 0
1
{'name': 'GTestHelpTest.TestHelpFlag@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.\n\nArgs:\n flag: A flag to pass to the binary or No...
0
{'name': 'records2geojson@meza/convert.py', 'description': "Converts records into a GeoJSON file like object.\n\n Args:\n records (Iter[dict]): Rows of data whose keys are the field names.\n E.g., output from any `meza.io.read_geojson`.\n\n kwargs (dict): Keyword arguments.\n\nKwargs:\n key (str): GeoJS...
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': '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': 'CheckStyle@tools/cpplint.py', 'description': "Checks rules from the 'C++ style rules' section of cppguide.html.\n\nMost of these rules are hard to test (naming, comment style), but we\ndo what we can. In particular we check for 2-space indents, line lengths,\ntab usage, spaces inside code, etc.\n\nArgs:\n f...
0
{'name': 'LibcxxMultiMapDataFormatterTestCase.test_with_run_command@lldb/packages/Python/lldbsuite/test/functionalities/data-formatter/data-formatter-stl/libcxx/multimap/TestDataFormatterLibccMultiMap.py', 'description': 'Test that that file and class static variables display correctly.', 'signature': 'def test_with_ru...
0
{'name': 'get_z_counts@latent_rationale/snli/util.py', 'description': 'Compute z counts (number of 0, continious, 1 elements).\n:param att: similarity matrix [B, prem, hypo]\n:param prem_mask:\n:param hypo_mask:\n:return: z0, zc, z1', 'signature': 'def get_z_counts(att, prem_mask, hypo_mask):'}</s>{'name': 'print_param...
0
{'name': 'APIConnection.__init__@qingcloud/iaas/connection.py', 'description': '@param qy_access_key_id - the access key id\n@param qy_secret_access_key - the secret access key\n@param zone - the zone id to access\n@param host - the host to make the connection to\n@param port - the port to use when connect to host\n@pa...
0
{'name': 'mat2d.set_row_strlabs@src/python_scripts/afnipy/lib_mat2d_base.py', 'description': 'input a list of strings; must match number of mat rows', 'signature': 'def set_row_strlabs(self, L):'}</s>{'name': 'uniq_list_as_dsets@src/python_scripts/afnipy/afni_util.py', 'description': 'given a list of text elements, cre...
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': 'ismutable@venv/L...
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': 'GetJob.__init__@SalesforcePy/jobs.py', 'description': "Constructor. Calls `super`, then encodes the `service` including the `query_string` provided\n\n:param: session_id: Session ID used to make request\n:type: session_id: string\n:param: instance_url: Instance URL used to make the request (eg. `'eu11.salesfo...
0
{'name': 'check_and_process_entry@code/utils/osg.py', 'description': ':param entry:\n:return:', 'signature': 'def check_and_process_entry(entry):'}</s>{'name': 'get_config@code/utils/constants.py', 'description': ':param key:\n:return:', 'code': 'def get_config(key):\n """\n\n :param key:\n :return:\n """\n...
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': 'PFRule._to_string@pf/rule.py', 'description': 'Return the string representation of the rule.', 'signature': 'def _to_string(self):'}</s>IPTOS_THROUGHPUT = 8
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': 'random_split@datawig/utils.py', 'description': 'Shuffles and splits a Data frame into partitions with specified percentages of data\n\n:param data_frame: a pandas DataFrame\n:param split_ratios: percentages of splits\n:param seed: seed of random number generator\n:return:', 'signature': 'def random_split(data...
0
{'name': 'speed_camera@versions/speed-cam_13.07.py', 'description': 'Main speed camera processing function', 'signature': 'def speed_camera():'}</s>cvBlack = (0, 0, 0)
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>sim_message_event...
0
{'name': 'transform_world_to_camera@3DLabelGen/3DReg/data_utils.py', 'description': 'Project 3d poses from world coordinate to camera coordinate system\nArgs\n poses_set: dictionary with 3d poses\n cams: dictionary with cameras\n ncams: number of cameras per subject\nReturn:\n t3d_camera: dictionary with 3d poses i...
0
{'name': 'test_find_extrema_clipped_northsouth@tests/test_mod.py', 'description': 'Extrema should be calculated correctly', 'signature': 'def test_find_extrema_clipped_northsouth():'}</s>{'name': 'test_get_zoom@tests/test_mod.py', 'description': 'DOCSTRING', 'code': 'def test_get_zoom():\n xyzs = np.zeros((10, 3), d...
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': 'summary_plot@path_explain/plot/summary.py', 'description': 'Function to draw an interactive scatter plot of\nattribution values. Since this is built on top\nof altair, this function works best when the\nnumber of points is small (< 5000).\n\nArgs:\n attributions: A matrix of attributions.\n ...
1
{'name': 'Marshaler.marshal_top@transit/writer.py', 'description': 'Given a complete object that needs to be marshaled into Transit\ndata, and optionally a cache, dispatch accordingly, and flush the data\ndirectly into the IO stream.', 'signature': 'def marshal_top(self, obj, cache=None):'}</s>{'name': 're_fn@transit/w...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRC_INDEX_ERROR = 2314
0
{'name': 'RandomInitializer.get_goal@python/rrc_simulation/gym_wrapper/envs/cube_env.py', 'description': 'Get a random goal depending on the difficulty.', 'signature': 'def get_goal(self):'}</s>random = np.random.RandomState()
0
{'name': 'decode_image@DECIMER/config.py', 'description': 'Loads an image and preprocesses the input image in several steps to get\nthe image ready for DECIMER input.\n\nArgs:\n image_path (Union[str, np.ndarray]): path of input image or numpy array representing the image.\n\nReturns:\n Processed image', 'signatu...
1
{'name': 'Schema._compile_sequence@voluptuous/schema_builder.py', 'description': "Validate a sequence type.\n\nThis is a sequence of valid values or validators tried in order.\n\n>>> validator = Schema(['one', 'two', int])\n>>> validator(['one'])\n['one']\n>>> with raises(er.MultipleInvalid, 'expected int @ data[0]'):\...
0
{'name': 'IB.reqMktData@ib_insync/ib.py', 'description': 'Subscribe to tick data or request a snapshot.\nReturns the Ticker that holds the market data. The ticker will\ninitially be empty and gradually (after a couple of seconds)\nbe filled.\n\nhttps://interactivebrokers.github.io/tws-api/md_request.html\n\nArgs:\n ...
0
{'name': 'RemoveSelfDependencies@gyp/pylib/gyp/input.py', 'description': 'Remove self dependencies from targets that have the prune_self_dependency\nvariable set.', 'signature': 'def RemoveSelfDependencies(targets):'}</s>{'name': 'ProcessListFiltersInDict@gyp/pylib/gyp/input.py', 'description': 'Process regular express...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQRCCF_MODE_VALUE_ERROR = 3029
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQCHK_OPTIONAL = 0
0
{'name': 'Dfu.__init__@nordicsemi/dfu/dfu.py', 'description': 'Initializes the dfu upgrade, unpacks zip and registers callbacks.\n\n@param zip_file_path: Path to the zip file with the firmware to upgrade\n@type zip_file_path: str\n@param dfu_transport: Transport backend to use to upgrade\n@type dfu_transport: nordicsem...
0
{'name': 'register_component_services@custom_components/irrigation_unlimited/service.py', 'description': 'Register the component', 'signature': 'def register_component_services('}</s>ENABLE_DISABLE_SCHEMA = { vol.Required(CONF_ENTITY_ID): cv.entity_ids, vol.Optional(CONF_ZONES): cv.ensure_list, vol.Optional...
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': 'ExpressionEngine._convert_text@src/chameleon/compiler.py', 'description': 'Converts value given by ``target`` to text.', 'signature': 'def _convert_text(self, target, char_escape):'}</s>{'name': 'load_econtext@src/chameleon/compiler.py', 'description': 'DOCSTRING', 'code': 'def load_econtext(name):\n retur...
0
{'name': 'run_pelicun@pelicun/tools/DL_calculation.py', 'description': "Use settings in the config JSON to prepare and run a Pelicun calculation.\n\nParameters\n----------\nconfig_path: string\n Path pointing to the location of the JSON configuration file.\ndemand_file: string\n Path pointing to the location of a...
0
{'name': 'BaseRequest.POST@src/back/kite/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>jinja2_template = functoo...
0
{'name': 'GTestHelpTest.TestHelpFlag@Engine/lib/assimp/contrib/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.\n\nArgs:\n flag: A flag to pass to th...
0
{'name': 'WorkerTestCase.test_another_queue@tests/integration/test_worker.py', 'description': 'Task is run on another queue', 'signature': 'def test_another_queue(self):'}</s>{'name': 'len_queue@tests/integration/util.py', 'description': 'DOCSTRING', 'code': 'def len_queue(queue):\n with new_instance().channel() as ...
1
{'name': 'PrettyAttribute.get_oneline_doc@pdir/api.py', 'description': "Doc doesn't necessarily mean doctring. It could be anything that\nshould be put after the attr's name as an explanation.", 'signature': 'def get_oneline_doc(self) -> str:'}</s>_single_line = _AttributeGroupFormatter(display_index=0, formatter=_form...
0
{'name': 'PPOTrainer._eval_checkpoint@ss_baselines/av_wan/ppo/ppo_trainer.py', 'description': 'Evaluates a single checkpoint.\n\nArgs:\n checkpoint_path: path of checkpoint\n writer: tensorboard writer object for logging to tensorboard\n checkpoint_index: index of cur checkpoint for logging\n\nReturns:\n No...
0
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ...
0
{'name': 'SVHN.__getitem__@data/svhnloader.py', 'description': 'Args:\n index (int): Index\n\nReturns:\n tuple: (image, target) where target is index of the target class.', 'signature': 'def __getitem__(self, index):'}</s>{'name': 'TwoStreamBatchSampler@data/utils.py', 'description': "Iterate two sets of indices\...
0
{'name': '_determine_arch_and_proj@s2e_env/commands/new_project.py', 'description': "Check that the given target is supported by S2E.\n\nThe target's magic is checked to see if it is a supported file type (e.g.\nELF, PE, etc.). The architecture and operating system that the target was\ncompiled for (e.g., i386 Windows,...
1
{'name': 'guess_tempo_parameters@oqupy/tempo.py', 'description': 'Function to roughly estimate appropriate parameters for a TEMPO\ncomputation.\n\n.. warning::\n\n No guarantee that resulting TEMPO calculation converges towards the\n correct dynamics! Please refer to the TEMPO documentation and check\n converg...
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>CSR_HPMCOUNTER19H = 3219
0
{'name': 'HostRecordV6.ipv6addrs@infoblox_client/objects.py', 'description': ':meta private:', 'signature': 'def ipv6addrs(self):'}</s>{'name': 'GridLicensesubpool@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base_classes': ['SubObjects'], 'methods': []}
0
{'name': 'TopLevelMixin.transform_fold@altair/vegalite/v5/api.py', 'description': 'Add a FoldTransform to the spec.\n\nParameters\n----------\nfold : List(string)\n An array of data fields indicating the properties to fold.\nas : [string, string]\n The output field names for the key and value properties produced ...
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': '_griffin_lim@utils/audio.py', 'description': 'librosa implementation of Griffin-Lim\nBased on https://github.com/librosa/librosa/issues/434', 'signature': 'def _griffin_lim(S, hparams):'}</s>{'name': '_denormalize_tensorflow@utils/audio.py', 'description': 'DOCSTRING', 'code': 'def _denormalize_tensorflow(S,h...
0
{'name': 'Topic.close@code/pymqi/__init__.py', 'description': 'Close the topic, using options.\n ', 'signature': 'def close(self, options=CMQC.MQCO_NONE):'}</s>MQXT_CHANNEL_SEND_EXIT = 13
0
{'name': 'NotifierRegistry.register@notifiers/registry.py', 'description': 'Registers a new notifier class\n\nArguments:\n notifier_id {str} -- The notifier class ID\n notifier_cls {notifier.Notifier} -- [description]', 'signature': 'def register(self, notifier_id, notifier_cls):'}</s>{'name': 'NotifierIdExistsEx...
1
{'name': '_init@Engine/lib/assimp/port/PyAssimp/pyassimp/core.py', 'description': "Custom initialize() for C structs, adds safely accessible member functionality.\n\n:param target: set the object which receive the added methods. Useful when manipulating\npointers, to skip the intermediate 'contents' deferencing.", 'sig...
0
{'name': 'test_text_predict_on_public_models@tests/public_models/test_public_models_predicts.py', 'description': 'Test non translation text/nlp models.\nAll these models can take the same test text input.', 'signature': 'def test_text_predict_on_public_models(channel):'}</s>TRANSLATION_TEST_DATA = { "ROMANCE": "No ...
1
{'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': 'ConditionParser.keyword@mtglib/gatherer_request.py', 'description': 'Lowest level parsing function.\n\nA keyword consists of zero or more prefix operators (NOT, or\nCOMPARISON) followed by a TEXT, COLOR, or NUMBER block.', 'signature': 'def keyword(self, token_stream, token, operators):'}</s>{'name': 'SearchR...
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': 'pollardLambda@2020/Crypto/bakflip/Admin/exploit.py', 'description': 'input\n@Y: Pubkey\n@G: Generator\n@d: Msbits for recovered secret_multiplier\n\nOUTPUT\n@secret_multiplier as the output of pollardLambda algo.', 'signature': 'def pollardLambda(Y: Point, G: Point, d: int, lsb_mask: int) -> int:'}</s>{'name'...
0
{'name': 'takePantiltSequence@source/pi-timolo.py', 'description': 'Take a sequence of images based on a list of pantilt positions and save with\na sequence number appended to the filename', 'signature': 'def takePantiltSequence(filename, daymode, pix_ave, num_count, num_path):'}</s>{'name': 'makeRelSymlink@source/pi-t...
0
{'name': 'Recruit.addTime@foo/arknight/recruit.py', 'description': '调整到9小时', 'signature': "def addTime(self, targetTime = '09'):"}</s>{'name': 'levelAnalyse@foo/pictureR/pictureFind.py', 'description': 'DOCSTRING', 'code': "def levelAnalyse(levelList):\n if levelList == []:\n return dict()\n levelList.sort...
0
{'name': 'stream_decode_response_unicode@src/requests/utils.py', 'description': 'Stream decodes an iterator.', 'signature': 'def stream_decode_response_unicode(iterator, r):'}</s>{'name': 'default_user_agent@src/requests/utils.py', 'description': 'Return a string representing the default user agent.\n\n:rtype: str', 'c...
0
{'name': 'SchemaConverter._visit_pattern@examples/json_schema_to_grammar.py', 'description': 'Transforms a regular expression pattern into a GBNF rule.\n\nInput: https://json-schema.org/understanding-json-schema/reference/regular_expressions\nOutput: https://github.com/ggerganov/llama.cpp/blob/master/grammars/README.md...
0
{'name': '_Selector._freeze_relations@SneakerBot 2019/venv/lib/python3.7/site-packages/soupsieve/css_parser.py', 'description': 'Freeze relation.', 'signature': 'def _freeze_relations(self, relations):'}</s>CSS_REQUIRED = CSSParser( 'html|*:is(input, textarea, select)[required]' ).process_selectors(flags=FLG_PSEUDO...
0
{'name': 'Window.initUI@picasso/gui/render.py', 'description': 'Initializes the main window. Builds dialogs and menu bar.\n\nParameters\n----------\nplugins_loaded : boolean\n If True, plugins have been loaded before.', 'signature': 'def initUI(self, plugins_loaded):'}</s>{'name': 'NenaPlotWindow@picasso/gui/render....
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>isintent_dict = {isintent_...
0
{'name': 'model@model_postM_invoice.py', 'description': '@@param:img,\n@@param:ifadjustDegree 调整文字识别倾斜角度\n@@param:detectAngle,是否检测文字朝向', 'signature': 'def model(img, detectAngle=False, config={}, leftAdjust=False, rightAdjust=False, alph=0.2):'}</s>{'name': 'ocr@model_postM_invoice.py', 'description': 'DOCSTRING', 'cod...
0
{'name': 'sv3dBox.get_metadata_string@spatialmedia/mpeg/sv3d.py', 'description': 'Outputs a concise single line audio metadata string. ', 'signature': 'def get_metadata_string(self):'}</s>{'name': 'mshpBox@spatialmedia/mpeg/mesh_projection.py', 'description': 'DOCSTRING', 'base_classes': ['box.Box'], 'methods': [{'name...
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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQGMO_SYNCPOINT = 2
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': 'NanopbGenerator.__run_generator@Firestore/Protos/build_protos.py', 'description': 'Invokes protoc using the nanopb plugin.', 'signature': 'def __run_generator(self, out_dir):'}</s>CPP_GENERATOR = "nanopb_cpp_generator.py"
1
{'name': '_ClassifyInclude@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Figures out what kind of header \'include\' is.\n\nArgs:\n fileinfo: The current file cpplint is running over. A FileInfo instance.\n include: The path to a #included file.\n is_system: True if the #include used <> rather than ""...
0
{'name': 'Assignment.__init__@lib/rule_engine/ast.py', 'description': ':param str name: The symbol name that the assignment is defining.\n:param value: The value of the assignment.\n:param value_type: The data type of the assignment.\n:type value_type: :py:class:`~.DataType`', 'signature': 'def __init__(self, name, *, ...
0
{'name': 'delete@src/pinnwand/command.py', 'description': "Delete a paste from pinnwand's database.", 'signature': 'def delete(paste: str) -> None:'}</s>LoggerClass = logging.getLoggerClass()
0
{'name': 'dict@ring/func/asyncio.py', 'description': ':class:`dict` interface for :mod:`asyncio`.\n\n:see: :func:`ring.func.sync.dict` for common description.', 'signature': 'def dict('}</s>{'name': 'asyncio_binary_classifier@ring/func/base.py', 'description': 'DOCSTRING', 'code': 'def asyncio_binary_classifier(f):\n ...
0
{'name': 'create_role@lib/workshop.py', 'description': 'Creates a new role if there is not already a role by that name', 'signature': 'def create_role(iam, policy_name, assume_role_policy_document, inline_policy_name=None, policy_str=None, managed_policy=None):'}</s>{'name': 'newest_image@lib/workshop.py', 'description...
0
{'name': 'RemoveMultiLineCommentsFromRange@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Clears a range of lines for multi-line comments.', 'signature': 'def RemoveMultiLineCommentsFromRange(lines, begin, end):'}</s>_RE_PATTERN_TODO = re.compile(r'^//(\s*)TODO(\(.+?\))?:?(\s|$)?')
0
{'name': 'RemoveMultiLineCommentsFromRange@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Clears a range of lines for multi-line comments.', 'signature': 'def RemoveMultiLineCommentsFromRange(lines, begin, end):'}</s>_DEFAULT_C_SUPPRESSED_CATEGORIES = [ 'readability/casting', ]
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': 'E2E.prefix_recognize@espnet/nets/pytorch_backend/streaming_transformer.py', 'description': 'recognize feat\n\n:param ndnarray x: input acouctic feature (B, T, D) or (T, D)\n:param namespace recog_args: argment namespace contraining options\n:param list char_list: list of characters\n:param torch.nn.Module rnn...
1
{'name': 'HindcastEnsemble.bootstrap@src/climpred/classes.py', 'description': 'Bootstrap with replacement according to :cite:t:`Goddard2013`.\n\nArgs:\n metric: Metric to apply for verification, see `metrics <../metrics.html>`_\n comparison: How to compare to the observations/verification data.\n See `comp...
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': 'pspnet.load_pretrained_model@ptsemseg/models/pspnet.py', 'description': 'Load weights from caffemodel w/o caffe dependency\nand plug them in corresponding modules', 'signature': 'def load_pretrained_model(self, model_path):'}</s>ArgMaxParameter = _reflection.GeneratedProtocolMessageType('ArgMaxParameter', (_m...
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': 'generate_routes_go@swagger_to/go_server.py', 'description': 'Generate the file which defines the router and the routes.\n\n:param package: name of the package\n:param routes: routes that the router will handle.\n:return: Golang code', 'signature': 'def generate_routes_go(package: str, routes: List[Route]) -> ...
0
{'name': 'is_x86_64@gef.py', 'description': 'Checks if current target is x86-64', 'signature': 'def is_x86_64() -> bool:'}</s>{'name': 'StackOffsetFunction@gef.py', 'description': 'Return the current stack base address plus an optional offset.', 'base_classes': ['GenericFunction'], 'methods': [{'name': 'StackOffsetFunc...
0
{'name': 'Dataset.__getitem__@demosaicnet/dataset.py', 'description': 'Fetches a mosaic / demosaicked pair of images.\n\nReturns\n mosaic(np.array): with size [3, h, w] the mosaic data with separated color channels.\n img(np.array): with size [3, h, w] the groundtruth image.', 'signature': 'def __getitem__(self, ...
0
{'name': 'DocumentXOR.decrypt@msoffcrypto/method/xor_obfuscation.py', 'description': 'Return decrypted data (DecryptData_Method1)', 'signature': 'def decrypt(password, ibuf, plaintext, records, base):'}</s>logger = logging.getLogger(__name__)
0
{'name': 'generate_stps_from_gp@gp_query.py', 'description': "Generates a list of source target pairs from a given graph pattern.\n\nThe given graph pattern is immediately used as sparql query to quickly\ngenerate a list of source target pairs. Possible motivations for this:\n- evaluation: can the algorithm re-discover...
1
{'name': 'FoundationTestCase2.test_more_expr_commands@tools/lldb/packages/Python/lldbsuite/test/lang/objc/foundation/TestObjCMethods2.py', 'description': 'More expression commands for objective-c.', 'signature': 'def test_more_expr_commands(self):'}</s>{'name': 'skipIfiOS@tools/lldb/packages/Python/lldbsuite/test/decor...
0
{'name': 'render@run_nerf.py', 'description': 'Render rays\n\nArgs:\n H: int. Height of image in pixels.\n W: int. Width of image in pixels.\n focal: float. Focal length of pinhole camera.\n chunk: int. Maximum number of rays to process simultaneously. Used to\n control maximum memory usage. Does not affect fina...
0
{'name': 'template@src/back/kite/bottle.py', 'description': 'Get a rendered template as a string iterator.\nYou can use a name, a filename or a template string as first parameter.\nTemplate rendering arguments can be passed as dictionaries\nor directly (as keyword arguments).', 'signature': 'def template(*args, **kwarg...
0
{'name': '_serialize_single@src/betterproto/__init__.py', 'description': 'Serializes a single field and value.', 'signature': 'def _serialize_single('}</s>TYPE_INT64 = "int64"
0