text
string
label
int64
{'name': 'valentines_day@alphapy/calendrical.py', 'description': "Get Valentine's day for a given year.\n\nParameters\n----------\ngyear : int\n Gregorian year.\n\nReturns\n-------\nvalentines : int\n Valentine's Day in RDate format.", 'signature': 'def valentines_day(gyear):'}</s>{'name': 'last_kday@alphapy/cale...
0
{'name': 'parseOptionsAndInitTestdirs@llvm-project/lldb/packages/Python/lldbsuite/test/dotest.py', 'description': "Initialize the list of directories containing our unittest scripts.\n\n'-h/--help as the first option prints out usage info and exit the program.", 'signature': 'def parseOptionsAndInitTestdirs():'}</s>{'n...
0
{'name': 'Circuit.id@discopy/quantum/circuit.py', 'description': 'The identity circuit on a given domain.\n\nParameters:\n dom : The domain (and codomain) of the identity,\n or ``qubit ** dom`` if ``dom`` is an ``int``.', 'signature': 'def id(cls, dom: int | Ty = None):'}</s>{'name': 'Swap@discopy/symmetric...
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>OP_2OVER = CScriptOp(0x70)
0
{'name': '_get_interfaces@pyocd/probe/pydapaccess/dap_access_cmsis_dap.py', 'description': 'Get the connected USB devices', 'signature': 'def _get_interfaces():'}</s>{'name': '_get_unique_id@pyocd/probe/pydapaccess/dap_access_cmsis_dap.py', 'description': 'Get the unique id from an interface', 'code': 'def _get_unique_...
1
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQCFH_VERSION_3 = 3
0
{'name': 'readState@MRT_FUNC_PY4_influxDB.py', 'description': 'Initialize the dictionary, unless a previous state is passed in', 'signature': 'def readState(ser,init=None):'}</s>QUARTER = b'q'
0
{'name': 'find@src/civis/response.py', 'description': "Filter :class:`civis.Response` objects.\n\nParameters\n----------\nobject_list : iterable\n An iterable of arbitrary objects, particularly those with attributes\n that can be targeted by the filters in `kwargs`. A major use case is\n an iterable of :class:...
0
{'name': 'resolve_rpc_at_end_of_request@src/supporting-files/lock_util.py', 'description': "Call get_result() on this rpc at the end of the current request.\n\nThere's nothing to do this automatically. So if you have an RPC\nthat can take all request long, but you want to make sure finishes\nbefore this request does, ...
0
{'name': 'incl_system@beam-reception-plotter.py', 'description': 'returns a satellite coordinate system where the sat flies on the default iridium inclination', 'signature': 'def incl_system(pos_sat, north):'}</s>{'name': 'c_transform@beam-reception-plotter.py', 'description': 'DOCSTRING', 'code': 'def c_transform(posi...
0
{'name': 'TLP.get_size@fpga/lib/pcie/tb/pcie.py', 'description': 'Return size of TLP in bytes', 'signature': 'def get_size(self):'}</s>CPL_STATUS_CRS = 2
0
{'name': 'Synthesizer.get_samples@robopianist/music/synthesizer.py', 'description': 'Synthesize a list of MIDI events into a waveform.', 'signature': 'def get_samples('}</s>MIN_CC_VALUE = 0
0
{'name': 'list_members@twitter_to_sqlite/cli.py', 'description': 'Fetch lists - accepts one or more screen_name/list_slug identifiers', 'signature': 'def list_members(db_path, identifiers, auth, ids):'}</s>transformers = {}
0
{'name': 'Resource.update@pysnow/resource.py', 'description': 'Updates a record in the API resource\n\n:param query: Dictionary, string or :class:`QueryBuilder` object\n:param payload: Dictionary containing key-value fields of the record to be updated\n:return:\n - Dictionary of the updated record', 'signature': 'de...
0
{'name': 'AzureDLFileSystem.set_expiry@azure/datalake/store/core.py', 'description': 'Set or remove the expiration time on the specified file.\nThis operation can only be executed against files.\n\nNote: Folders are not supported.\n\nParameters\n----------\npath: str\n File path to set or remove expiration time\nexp...
0
{'name': 'RecentList.getall@shingetsu/cache.py', 'description': 'Search nodes and update my recent list.', 'signature': 'def getall(self):'}</s>{'name': 'Tag@shingetsu/tag.py', 'description': 'Tag.\n\nIncluding tag-string and its weight.', 'base_classes': [], 'methods': [{'name': 'Tag.__init__@shingetsu/tag.py', 'descr...
0
{'name': 'count@kb_python/count.py', 'description': 'Generates count matrices for single-cell RNA seq.\n\nArgs:\n index_path: Path to kallisto index\n t2g_path: Path to transcript-to-gene mapping\n technology: Single-cell technology used\n out_dir: Path to output directory\n fastqs: List of FASTQ file pa...
1
{'name': 'modular_sqrt_composite@crypto_commons/rsa/rsa_commons.py', 'description': 'Calculates modular square root of composite value for given all modulus factors\nFor a = b^2 mod p*q*r*m... calculates b\n:param c: residue\n:param factors: list of modulus prime factors\n:return: all potential root values', 'signature...
1
{'name': '_AddInitMethod@python/google/protobuf/internal/python_message.py', 'description': 'Adds an __init__ method to cls.', 'signature': 'def _AddInitMethod(message_descriptor, cls):'}</s>{'name': 'EnumDecoder@python/google/protobuf/internal/decoder.py', 'description': 'Returns a decoder for enum field.', 'code': 'd...
0
{'name': 'TestIdealisedCases.test_cliff@oggm/tests/test_numerics.py', 'description': 'a test case for mass conservation in the flowline models\nthe idea is to introduce a cliff in the sloping bed and see\nwhat the models do when the cliff height is changed', 'signature': 'def test_cliff(self):'}</s>_doc = "A list of :p...
0
{'name': 'LoadBalancerAction.create_loadbalancer@qingcloud/iaas/actions/loadbalancer.py', 'description': 'Create new load balancer.\n@param eips: the IDs of the eips that will be associated to load balancer.\n@param loadbalancer_name: the name of the loadbalancer.\n@param security_group: the id of the security_group yo...
0
{'name': 'OSXBootstrapper.ensure_package_manager@python/mozboot/mozboot/osx.py', 'description': 'Search package mgr in sys.path, if none is found, prompt the user to install one.\nIf only one is found, use that one. If both are found, prompt the user to choose\none.', 'signature': 'def ensure_package_manager(self):'}</...
1
{'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...
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>_sizeof_CPyCodeObject = _calcsize('Pz10P5i0P')
0
{'name': 'convert_entries@code/html/generate_static_website.py', 'description': ':param entries:\n:param inspirations:\n:param developers:\n:return:', 'signature': 'def convert_entries(entries, inspirations, developers):'}</s>{'name': 'detect_archive_type@code/utils/utils.py', 'description': 'Tries to guess which type ...
0
{'name': 'EnableFrameFilter.complete@processors/ARM/gdb-8.3.1/gdb/python/lib/gdb/command/frame_filters.py', 'description': 'Completion function for both frame filter dictionary, and\nframe filter name.', 'signature': 'def complete(self, text, word):'}</s>{'name': '_enable_parse_arg@processors/ARM/gdb-8.3.1/gdb/python/l...
0
{'name': 'FileInstrument._local_file_captcha@src/python3_anticaptcha/core/captcha_instrument.py', 'description': 'Method get local file, read it and prepare for sending to Captcha solving service', 'signature': 'def _local_file_captcha(captcha_file: str):'}</s>{'name': 'GetTaskResultResponseSer@src/python3_anticaptcha/...
0
{'name': 'encryptFdat@fwtool/sony/fdat.py', 'description': 'Encrypts a FDAT file', 'signature': 'def encryptFdat(file, crypterName):'}</s>key_cxd4105_ms = b'\r\n\r\n\x1c!\x04(\x14\x00\xf0\x02\xff\x1f5\x01-\x01\xdd\xf7 \x10s\xa0%\x00\x82e\x85%\x1c \xf0\x06\xe9<{`i\xb9\x00\x80\x19\xc00\x18\xf0\x04\xfa a\xbd|`(\x00\xd0\x0...
0
{'name': 'Muse._handle_control@muselsl/muse.py', 'description': "Handle the incoming messages from the 0x000e handle.\n\nEach message is 20 bytes\nThe first byte, call it n, is the length of the incoming string.\nThe rest of the bytes are in ASCII, and only n chars are useful\n\nMultiple messages together are a json ob...
0
{'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': 'cd._tab_fuzzy_match@.config/ranger/commands_full.py', 'description': 'Find directories matching tokens recursively ', 'signature': 'def _tab_fuzzy_match(self, basepath, tokens):'}</s>{'name': 'reset_previews@.config/ranger/commands_full.py', 'description': ':reset_previews\n\nReset the file previews.', 'base_...
0
{'name': 'SensorHandler.process_group_event@custom_components/alarmo/sensors.py', 'description': 'check if sensor entity is member of a group and compare with previous events to evaluate trigger', 'signature': 'def process_group_event(self, entity: str, state: str) -> dict:'}</s>ATTR_ENTRY_TIME = "entry_time"
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': 'P2PConnection.disconnect_node@test/functional/test_framework/mininode.py', 'description': 'Disconnect the p2p connection.\n\nCalled by the test logic thread. Causes the p2p connection\nto be disconnected on the next iteration of the asyncore loop.', 'signature': 'def disconnect_node(self):'}</s>MY_SUBVERSION ...
0
{'name': '_build_agg@loudml/influx.py', 'description': 'Build requested aggregation', 'signature': 'def _build_agg(feature):'}</s>{'name': 'InfluxBucket@loudml/influx.py', 'description': 'InfluxDB bucket', 'base_classes': ['Bucket'], 'methods': [{'name': 'InfluxBucket.__init__@loudml/influx.py', 'description': 'DOCSTRI...
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>TISHRI = 7
0
{'name': 'DefinitionInitializer.initialize@behave_restful/_definitions.py', 'description': 'Initializes the specified definition, if exists, into the execution\ncontext.\n\n:param context:\n Context object to initialize.', 'signature': 'def initialize(self, context):'}</s>VAR_SUFFIX = "}"
0
{'name': 'SetValuesTestCase.test@llvm-project/lldb/test/API/lang/c/set_values/TestSetValues.py', 'description': 'Test settings and readings of program variables.', 'signature': 'def test(self):'}</s>VALID_TARGET = "Got a valid target"
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>_DENSECRFPARAMETER = _descriptor.Descriptor( name='DenseCRFParameter', full_n...
0
{'name': 'If@src/api/python/z3/z3.py', 'description': "Create a Z3 if-then-else expression.\n\n>>> x = Int('x')\n>>> y = Int('y')\n>>> max = If(x > y, x, y)\n>>> max\nIf(x > y, x, y)\n>>> simplify(max)\nIf(x <= y, y, x)", 'signature': 'def If(a, b, c, ctx=None):'}</s>{'name': 'FloatSingle@src/api/python/z3/z3.py', 'des...
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>{'name': 'to_arrow_type@06_prepare/archive/spark/spark-2.4.6-bin-without-hadoop/python/pyspark/sql/...
0
{'name': 'Node.__init__@aurora/autodiff/autodiff.py', 'description': 'New node will be created by Op objects __call__ method', 'signature': 'def __init__(self):'}</s>sub_const = SubByConstOp()
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': 'PipeBase.filepaths@d6tpipe/pipe.py', 'description': 'Full path to Files synced in local repo\n\nArgs:\n include (str): pattern of files to include, eg `*.csv` or `a-*.csv|b-*.csv`\n exclude (str): pattern of files to exclude\n sortby (str): sort files this key. `name`, `mod`, `size`\n check_exists...
1
{'name': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQPROP_FORCE_MQRFH2 = 3
0
{'name': 'User.christmas_mode@src/astrobotany/models.py', 'description': 'Return if the user is in "christmas" mode.\n\nCache the results because this is a relatively expensive query that\nwill be checked multiple times per request.', 'signature': 'def christmas_mode(self) -> bool:'}</s>badge_274 = Badge("mushroom", se...
0
{'name': 'IKinSpace@7_Demo_youBotPickAndPlace/code/modern_robotics/core.py', 'description': 'Computes inverse kinematics in the space frame for an open chain robot\n\n:param Slist: The joint screw axes in the space frame when the\n manipulator is at the home position, in the format of a\n matr...
0
{'name': 'threshold_proba@mord/threshold_based.py', 'description': 'Class numbers are assumed to be between 0 and k-1. Assumes\nthe `sigmoid` link function is used.', 'signature': 'def threshold_proba(X, w, theta):'}</s>{'name': 'log_loss@mord/threshold_based.py', 'description': 'DOCSTRING', 'code': 'def log_loss(Z):\n...
0
{'name': 'RFXtrxProtocolTest.test_complete_packet@test/test_rfxtrx_protocol.py', 'description': 'Protocol should assemble incoming lines into complete packet.', 'signature': 'def test_complete_packet(self):'}</s>ELECTRICITY_USED_TARIFF_2 = "^\d-\d:1\.8\.2.+?\r\n"
0
{'name': 'BaseRequest.is_xhr@src/back/kite/bottle.py', 'description': 'True if the request was triggered by a XMLHttpRequest. This only\nworks with JavaScript libraries that support the `X-Requested-With`\nheader (most of the popular libraries do). ', 'signature': 'def is_xhr(self):'}</s>{'name': 'run@src/back/kite/bot...
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': 'DatabaseMedia.location@src/gphotos_sync/DatabaseMedia.py', 'description': 'image GPS information', 'signature': 'def location(self) -> Optional[str]:'}</s>DATE_FORMAT = "%Y-%m-%d %H:%M:%S"
0
{'name': 'K@src/api/python/z3/z3.py', 'description': "Return a Z3 constant array expression.\n\n>>> a = K(IntSort(), 10)\n>>> a\nK(Int, 10)\n>>> a.sort()\nArray(Int, Int)\n>>> i = Int('i')\n>>> a[i]\nK(Int, 10)[i]\n>>> simplify(a[i])\n10", 'signature': 'def K(dom, v):'}</s>{'name': 'CharFromBv@src/api/python/z3/z3.py',...
0
{'name': 'linKK@impedance/validation.py', 'description': "A method for implementing the Lin-KK test for validating linearity [1]\n\nParameters\n----------\nf: np.ndarray\n measured frequencies\nZ: np.ndarray of complex numbers\n measured impedances\nc: np.float\n cutoff for mu\nmax_M: int\n the maximum numb...
1
{'name': 'CheckLanguage@tools/cpplint.py', 'description': "Checks rules from the 'C++ language rules' section of cppguide.html.\n\nSome of these rules are hard to test (function overloading, using\nuint32 inappropriately), but we do the best we can.\n\nArgs:\n filename: The name of the current file.\n clean_lines: A ...
1
{'name': 'from_jd@src/convertdate/positivist.py', 'description': 'Convert a Julian day count to Positivist date.', 'signature': 'def from_jd(jd):'}</s>LEAP_SUPPRESSION_YEARS = 100
1
{'name': 'gf_poly_eval@reedsolo6.py', 'description': "Evaluates a polynomial in GF(2^p) given the value for x. This is based on Horner's scheme for maximum efficiency.", 'signature': 'def gf_poly_eval(poly, x):'}</s>{'name': 'rs_find_errata_locator@reedsolo6.py', 'description': 'Compute the erasures/errors/errata locat...
0
{'name': 'post2rss@morerss/zhihu_stream.py', 'description': ':param post (dict): 帖子数据\n:param digest (bool): 输出摘要\n:param pic (str): pic=cf 或 pic=google:指定图片代理提供方\n:param extra_types (tuple): 除回答和文章之外的其他帖子类型\n:return: PyRSS2Gen.RSSItem: post RSS item', 'signature': 'def post2rss(post, digest=False, pic=None, extra_type...
0
{'name': 'Differ._compare_dir_contents@tests/integration/differ.py', 'description': "Checks if two directory trees have the same files and folders.\nReturns a list of relative paths to all files if the dirs' contents\nmatch, and None if they don't.", 'signature': 'def _compare_dir_contents(self):'}</s>{'name': '_expand...
0
{'name': '__listAllUE9Unix@src/LabJackPython.py', 'description': 'Private listAll function for use on unix and mac machines to find UE9s.\n ', 'signature': 'def __listAllUE9Unix(connectionType):'}</s>LJ_chU3HV = 22
0
{'name': 'render@versioneer.py', 'description': 'Render the given version pieces into the requested style.', 'signature': 'def render(pieces: Dict[str, Any], style: str) -> Dict[str, Any]:'}</s>{'name': 'get_version@versioneer.py', 'description': 'Get the short version string for this project.', 'code': 'def get_versio...
0
{'name': 'fmn@adv_lib/attacks/fast_minimum_norm.py', 'description': "Fast Minimum-Norm attack from https://arxiv.org/abs/2102.12827.\n\nParameters\n----------\nmodel : nn.Module\n Model to attack.\ninputs : Tensor\n Inputs to attack. Should be in [0, 1].\nlabels : Tensor\n Labels corresponding to the inputs if...
0
{'name': 'MidiStatus.get_columns@robopianist/viewer/application.py', 'description': 'Returns the text to display in two columns.', 'signature': 'def get_columns(self):'}</s>KEY_C = 67
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQRCCF_CFBF_FILTER_VAL_LEN_ERR = 3267
0
{'name': 'PUBLISH.encode@src/mqtt/pdu.py', 'description': 'Encode and store a PUBLISH control packet.\n@raise e: C{ValueError} if encoded topic string exceeds 65535 bytes.\n@raise e: C{ValueError} if encoded packet size exceeds 268435455 bytes.\n@raise e: C{TypeError} if C{data} is not a string, bytearray, int, boolean...
0
{'name': 'spatial_smooth@python/np/carfac.py', 'description': 'Design the AGC spatial smoothing filter.\n\nTODO(dicklyon): Can you say more??\n\nArgs:\n coeffs: The coefficient description for this state\n stage_state: The state of the AGC right now.\n\nReturns:\n A new stage stage object.', 'signature': 'def spatia...
0
{'name': '_main@misc/tabulate.py', 'description': 'Usage: tabulate [options] [FILE ...]\n\nPretty-print tabular data.\nSee also https://bitbucket.org/astanin/python-tabulate\n\nFILE a filename of the file with tabular data;\n if "-" or missing, read data from stdin.\n\nOpti...
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': 'Retry.__call__@stream/clients/python/bookkeeper/common/retry.py', 'description': 'Wrap a callable with retry behavior.\nArgs:\n func (Callable): The callable to add retry behavior to.\n on_error (Callable): A function to call while processing a\n retryable exception. Any error raised by this fun...
0
{'name': 'check_sampling_strategy@src/upgini/sampler/utils.py', 'description': "Sampling target validation for samplers.\n\nChecks that ``sampling_strategy`` is of consistent type and return a\ndictionary containing each targeted class with its corresponding\nnumber of sample. It is used in :class:`~imblearn.base.BaseS...
0
{'name': 'VaryHeaderTestCase.test_consistent_origin@tests/decorator/test_vary_header.py', 'description': 'If the Access-Control-Allow-Origin header will change dynamically,\nthe Vary:Origin header should be set.', 'signature': 'def test_consistent_origin(self):'}</s>ACL_RESPONSE_PRIVATE_NETWORK = "Access-Control-Allow-...
0
{'name': 'Zeroconf.handleQuery@stino/pyarduino/base/zeroconf.py', 'description': 'Deal with incoming query packets. Provides a response if\npossible.', 'signature': 'def handleQuery(self, msg, addr, port):'}</s>_FLAGS_QR_QUERY = 0
0
{'name': 'AnkiDataFrame.raw@ankipandas/ankidf.py', 'description': 'Bring a :class:`AnkiDataFrame` into the ``raw`` format (i.e. the\nexact format that Anki uses in its internal representation) .\n\nArgs:\n inplace: If False, return new dataframe, else update old one\n force: If a previous conversion fails, :meth:...
0
{'name': 'get_model@models.py', 'description': 'Get appropriate model based on model_name and input arguments\nArgs: \n model_name - (str) which model to use \n kwargs - input arguments corresponding to the model name\n\nReturns: \n returns the model!', 'signature': 'def get_model(model_name, **kwargs):'}</s>{'name'...
0
{'name': 'discretize_lane@python-sdk/nuscenes/map_expansion/arcline_path_utils.py', 'description': 'Discretizes a lane and returns list of all the poses alone the lane.\n:param lane: Lanes are represented as a list of arcline paths.\n:param resolution_meters: How finely to discretize the lane. Smaller values ensure cur...
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': 'QueueManager.backout@code/pymqi/__init__.py', 'description': 'Backout any outstanding gets/puts in the current unit of work.\n ', 'signature': 'def backout(self):'}</s>MQIMMREASON_APPLNAME_CHANGED = 4
0
{'name': 'get_dataset@datasets/dataset_factory.py', 'description': 'Given a dataset name and a split_name returns a Dataset.\n\nArgs:\n name: String, the name of the dataset.\n split_name: A train/test split name.\n dataset_dir: The directory where the dataset files are stored.\n file_pattern: The file pattern to u...
0
{'name': 'StaticVariableTestCase.test_with_run_command@llvm-12.0.0-project/lldb/test/API/lang/cpp/class_static/TestStaticVariables.py', 'description': 'Test that file and class static variables display correctly.', 'signature': 'def test_with_run_command(self):'}</s>VARIABLES_DISPLAYED_CORRECTLY = "Variable(s) displaye...
1
{'name': 'AutoName@deprecated/gcp/R80.40-R81/ha-payg/common.py', 'description': 'Helper method to generate names automatically based on default.', 'signature': 'def AutoName(base, resource, *args):'}</s>{'name': 'RefGroup@deprecated/gcp/R80.40-R81/ha-payg/common.py', 'description': 'DOCSTRING', 'code': "def RefGroup(na...
0
{'name': 'count_velocity@kb_python/count.py', 'description': 'Generates RNA velocity matrices (DEPRECATED).\n\nArgs:\n index_path: Path to kallisto index\n t2g_path: Path to transcript-to-gene mapping\n cdna_t2c_path: Path to cDNA transcripts-to-capture file\n intron_t2c_path: Path to intron transcripts-to-...
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': 'ReplaceByFeeTest.test_doublespend_tree@test/functional/feature_rbf.py', 'description': 'Doublespend of a big tree of transactions', 'signature': 'def test_doublespend_tree(self):'}</s>OP_1 = CScriptOp(0x51)
0
{'name': 'write_json@src/utils/file_utils.py', 'description': 'Writes JSON data\n ', 'signature': 'def write_json(fp, data, minify=True, ensure_path=True, sort_keys=True, indent=2, ensure_ascii=True):'}</s>SCAN_TYPE_LKUP = { 'wiglewifi': ScanType.WIGLE, 'ssid': ScanType.IOS }
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQAT_CICS = 1
0
{'name': 'rot_by_axis@python/taichi/math/mathimpl.py', 'description': 'Returns the 4x4 matrix representation of a 3d rotation with given axis `axis` and angle `ang`.\n\nArgs:\n axis (vec3): rotation axis\n ang (float): angle in radians unit\n\nReturns:\n :class:`~taichi.math.mat4`: rotation matrix', 'signature...
0
{'name': 'PFState._to_string@pf/state.py', 'description': 'Return a string representing the state.', 'signature': 'def _to_string(self):'}</s>{'name': 'pfr_addr@pf/_struct.py', 'description': 'DOCSTRING', 'base_classes': ['Structure'], 'methods': []}
0
{'name': 'load@spatialmedia/mpeg/sv3d.py', 'description': 'Loads the sv3d box located at position in an mp4 file.\n\nArgs:\n fh: file handle, input file handle.\n position: int or None, current file position.\n\nReturns:\n new_box: box, sv3d box loaded from the file location or None.', 'signature': 'def load(fh, pos...
0
{'name': 'CheckBraces@ament_cpplint/ament_cpplint/cpplint.py', 'description': 'Looks for misplaced braces (e.g. at the end of line).\n\nArgs:\n filename: The name of the current file.\n clean_lines: A CleansedLines instance containing the file.\n linenum: The number of the line to check.\n error: The function to ca...
0
{'name': '_find_editable_deps@tasks/deps/_inspect/_inspect.py', 'description': 'Find direct dependencies for editable installation\n\nParameters:\n installed (dict):\n Installed packages\n\n spec (Token):\n The editable dep file token\n\nReturns:\n iterable: List of (requirement, needed-extras) tuples', 'signa...
0
{'name': 'writeSuites@cxxtest/cxxtestgen.py', 'description': 'Write all TestDescriptions and SuiteDescriptions', 'signature': 'def writeSuites(output):'}</s>longlong = 0
0
{'name': 'main@examples/python/mcc172/multi_hat_synchronous_scan.py', 'description': 'This function is executed automatically when the module is run directly.', 'signature': 'def main(): # pylint: disable=too-many-locals, too-many-statements, too-many-branches'}</s>{'name': 'HatIDs@daqhats/hats.py', 'description': 'Kno...
1
{'name': 'real_env_step_increment@tensor2tensor_envi/rl/trainer_model_based.py', 'description': 'Real env step increment.', 'signature': 'def real_env_step_increment(hparams):'}</s>{'name': 'evaluate_all_configs@tensor2tensor_envi/rl/trainer_model_based.py', 'description': 'Evaluate the agent with multiple eval configu...
0
{'name': 'TestCase.assertRaises@tools/lldb/third_party/Python/module/unittest2/unittest2/case.py', 'description': "Fail unless an exception of class excClass is thrown\nby callableObj when invoked with arguments args and keyword\narguments kwargs. If a different type of exception is\nthrown, it will not be caught, and ...
0
{'name': 'PlyData._parse_header@utils/plyfile.py', 'description': 'Parse a PLY header from a readable file-like stream.', 'signature': 'def _parse_header(stream):'}</s>_data_type_relation = [ ('int8', 'i1'), ('char', 'i1'), ('uint8', 'u1'), ('uchar', 'b1'), ('uchar', 'u1'), ('int16', 'i2'), ...
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': 'matchOnlyAtCol@tests/_lib_vendors/pkg_resources/_vendor/pyparsing.py', 'description': 'Helper method for defining parse actions that require matching at a specific\ncolumn in the input text.', 'signature': 'def matchOnlyAtCol(n):'}</s>__author__ = "Paul McGuire <ptmcg@users.sourceforge.net>"
0
{'name': 'convert_2bpp_to_png@tools/gfx/gfx.py', 'description': 'Convert a planar 2bpp graphic to png.', 'signature': 'def convert_2bpp_to_png(image, **kwargs):'}</s>{'name': 'condense_image_to_map@tools/gfx/gfx.py', 'description': 'Reduce an image of adjacent frames to an image containing a base frame and any unrepeat...
0
{'name': 'get_github_repo@notebooks/add_github_links.py', 'description': 'Log in to github and retrieve a reference to the requested\nrepository.', 'signature': 'def get_github_repo(owner, repo):'}</s>DEFAULT_COMMENT_GROUP = "default-comment-group"
0
{'name': 'Double_DQN_target_func@example/dqn-her.py', 'description': 'Double DQN: https://arxiv.org/abs/1509.06461', 'signature': 'def Double_DQN_target_func(model,target,next_obs,rew,done,gamma,act_shape):'}</s>buffer_size = 1000000.0
0