text
string
label
int64
{'name': 'GA.__init__@modestpy/estim/ga/ga.py', 'description': "The population can be initialized in various ways:\n- if `init_pop` is None, one individual is initialized using\n initial guess from `est`\n- if `init_pop` contains less individuals than `pop_size`,\n then the rest is random\n- if `init_pop` == `pop_siz...
1
{'name': 'CheckForFunctionLengths@tools/caffe-sphereface/scripts/cpp_lint.py', 'description': 'Reports for long function bodies.\n\nFor an overview why this is done, see:\nhttp://google-styleguide.googlecode.com/svn/trunk/cppguide.xml#Write_Short_Functions\n\nUses a simplistic algorithm assuming other style guidelines\...
0
{'name': 'get_arm_tools_prefix_path@puncover/puncover.py', 'description': "Try to find and return the arm tools triple prefix path, like this:\n /usr/local/gcc-arm-none-eabi-9-2019-q4-major/bin/arm-none-eabi-\n\nIt's used to invoke the other tools, like objdump/nm.\n\nNote that we could instead use the '-print-prog-na...
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': 'Router.add@src/back/kite/bottle.py', 'description': 'Add a new rule or replace the target for an existing rule. ', 'signature': 'def add(self, rule, method, target, name=None):'}</s>error = make_default_app_wrapper('error')
1
{'name': 'student_known@github_no_partners.py', 'description': 'Given a GitHub IDs, returns whether that student is a known student in\nthe student-data CSV file.', 'signature': 'def student_known(github_id: str) -> bool:'}</s>github_organization = args.org[0]
0
{'name': 'TestMommyCreatesAssociatedModels.test_create_many_to_many_with_through_option@tests/test_mommy.py', 'description': 'This does not works', 'signature': 'def test_create_many_to_many_with_through_option(self):'}</s>{'name': 'gen_date@model_mommy/random_gen.py', 'description': 'DOCSTRING', 'code': 'def gen_date(...
0
{'name': 'parse_info@parseoutput.py', 'description': 'Parses result of :i <name> command of ghci and returns derived Symbols.Declaration', 'signature': 'def parse_info(name, contents):'}</s>{'name': 'get_line_contents_before_region@sublime_haskell_common.py', 'description': 'Returns contents of line before the given re...
0
{'name': 'save_cmd_orig@src/python_scripts/afnipy/lib_physio_logs.py', 'description': 'Write out input cmd output dir.', 'signature': 'def save_cmd_orig(retobj, verb=1):'}</s>{'name': 'interpret_args@src/python_scripts/afnipy/lib_physio_opts.py', 'description': 'Interpret the user provided arguments (and potentially up...
0
{'name': 'PropKB.retract@Projects/2_Classical Planning/aimacode/logic.py', 'description': "Remove the sentence's clauses from the KB.", 'signature': 'def retract(self, sentence):'}</s>{'name': 'removeall@Projects/2_Classical Planning/aimacode/utils.py', 'description': 'Return a copy of seq (or string) with all occurenc...
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': 'run_gradcheck@tests/test_elastic.py', 'description': "Run PyTorch's gradcheck to test the gradient.", 'signature': 'def run_gradcheck(mlamb,'}</s>{'name': 'run_forward@tests/test_elastic.py', 'description': 'Create a random model and forward propagate.\n ', 'code': 'def run_forward(mlamb,\n ...
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': 'GSComponent.drawPoints@Lib/glyphsLib/classes.py', 'description': 'Draws points of component with given point pen.', 'signature': 'def drawPoints(self, pointPen: AbstractPointPen) -> None:'}</s>TTANCHOR = 2
0
{'name': 'get_product_id@ve_utils.py', 'description': 'Find the machine ID and return it. ', 'signature': 'def get_product_id():'}</s>{'name': 'convert_vreg_version_to_readable@ve_utils.py', 'description': 'DOCSTRING', 'code': 'def convert_vreg_version_to_readable(version):\n\tdef str_to_arr(x, length):\n\t\ta = []\n\t...
0
{'name': 'test_thirdoct@tests/test_utils_octave.py', 'description': 'Test thirdoct by comparing to Octave', 'signature': 'def test_thirdoct():'}</s>NFFT = 512
1
{'name': 'get_supported@scripts/pdns/lib/python2.7/site-packages/pip/pep425tags.py', 'description': 'Return a list of supported tags for each version specified in\n`versions`.\n\n:param versions: a list of string versions, of the form ["33", "32"],\n or None. The first version will be assumed to support our ABI.\n:p...
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>basis_one_regr_l = basis_known_resp_l[:]
0
{'name': 'Form.init@src/nagare/renderers/html.py', 'description': 'Initialisation.\n\nIn:\n - ``renderer`` -- the current renderer', 'signature': 'def init(self, renderer):'}</s>ACTION_SYNTAX = re.compile(ACTION_PREFIX + r'((0|1)(\d))(\d+)((.x)|(.y))?(#(.*))?$')
0
{'name': 'Channel.open@amqp/channel.py', 'description': 'Open a channel for use.\n\nThis method opens a virtual connection (a channel).\n\nRULE:\n\n This method MUST NOT be called when the channel is already\n open.\n\nPARAMETERS:\n out_of_band: shortstr (DEPRECATED)\n\n out-of-band settings\n\n ...
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>LJE_LABJACK_NOT_FOUND = 1007
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': 'is_or@src/api/python/z3/z3.py', 'description': "Return `True` if `a` is a Z3 or expression.\n\n>>> p, q = Bools('p q')\n>>> i...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCONNID_NONE_ARRAY = [b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", b"\0", ...
0
{'name': 'CorpusMixin.add_file@montreal_forced_aligner/corpus/base.py', 'description': 'Add a file to the corpus\n\nParameters\n----------\nfile: :class:`~montreal_forced_aligner.corpus.classes.FileData`\n File to be added', 'signature': 'def add_file(self, file: FileData, session: Session = None):'}</s>{'name': 'So...
1
{'name': 'PrettyDir.methods@pdir/api.py', 'description': 'Returns all methods of the inspected object.\n\nNote that "methods" can mean "functions" when inspecting a module.', 'signature': "def methods(self) -> 'PrettyDir':"}</s>{'name': '_format_descriptor@pdir/format.py', 'description': 'DOCSTRING', 'code': 'def _form...
0
{'name': 'main@src/interpolation.py', 'description': 'Main function.', 'signature': 'def main():'}</s>LOGLEVEL = 20
1
{'name': 'BaseRequest.POST@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': 'The values of :attr:`forms` and :attr:`files` combined into a single\n:class:`FormsDict`. Values are either strings (form values) or\ninstances of :class:`cgi.FieldStorage` (file uploads).', 'signature': 'def POST(self):'}</s>{'...
0
{'name': 'CheckBraces@tools/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 call with any errors fou...
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': 'RIPPER._grow_ruleset_cn@build/lib/wittgenstein/ripper.py', 'description': 'Grow a Ruleset with pruning.', 'signature': 'def _grow_ruleset_cn('}</s>{'name': 'best_rule_successor_cn@wittgenstein/base_functions.py', 'description': 'Return for a Rule its best successor Rule according to FOIL information gain metr...
0
{'name': 'SegWitTest.test_max_witness_push_length@test/functional/p2p_segwit.py', 'description': 'Should only allow up to 520 byte pushes in witness stack ', 'signature': 'def test_max_witness_push_length(self):'}</s>{'name': 'P2PInterface@test/functional/test_framework/mininode.py', 'description': 'A high-level P2P in...
0
{'name': 'timolo@source/pi-timolo.py', 'description': 'Main motion and or motion tracking\ninitialization and logic loop', 'signature': 'def timolo():'}</s>{'name': 'makeMediaDir@source/pi-timolo.py', 'description': 'Create a folder sequence', 'code': 'def makeMediaDir(dir_path):\n """Create a folder sequence"""\n ...
0
{'name': 'read_cif_scaled@Tutorial ImageStream/cif_to_rtdc_v07.py', 'description': 'Read the images from an Amnis ImageStream file (.cif)\n\nParameters\n----------\nreader: reader object (reader = bioformats.formatreader.get_image_reader("tmp", path=path_cif))\nnumber_cells: int or np.inf\n Maximum number of images ...
1
{'name': 'html_escape@src/back/kite/bottle.py', 'description': 'Escape HTML special characters ``&<>`` and quotes ``\'"``. ', 'signature': 'def html_escape(string):'}</s>{'name': 'CheetahTemplate@src/back/kite/bottle.py', 'description': 'DOCSTRING', 'base_classes': ['BaseTemplate'], 'methods': [{'name': 'CheetahTemplat...
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': 'Stm32Bootloader.write_and_ack@src/node/scripts/util/stm32loader.py', 'description': 'Write data to the MCU and wait until it replies with ACK.', 'signature': 'def write_and_ack(self, message, *data):'}</s>MAX_SRC_FILE_SIZE = 999999
0
{'name': 'Win32Serial._reconfigurePort@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Set communication parameters on opened port.', 'signature': 'def _reconfigurePort(self):'}</s>EV_CTS = 8
0
{'name': 'Dataset.__init__@lib/imdb_util.py', 'description': "This function reads in all datasets to be used in training and stores ANY relevant\ninformation which may be needed during training as a list of edict()\n(referred to commonly as 'imobj').\n\nThe function also optionally stores the image database (imdb) file...
0
{'name': 'finalize@scripts/schema/finalizer.py', 'description': 'Intended entrypoint of the finalizer.', 'signature': 'def finalize(fields):'}</s>{'name': 'visit_fields@scripts/schema/visitor.py', 'description': "This function navigates the deeply nested tree structure and runs provided\nfunctions on each fieldset or f...
0
{'name': 'EVPTestCase.test_get_ec@tests/test_evp.py', 'description': 'Testing retrieving the EC key from the PKey instance.', 'signature': 'def test_get_ec(self):'}</s>NID_prime239v1 = m2.NID_X9_62_prime239v1
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
{'name': 'PatchUserDetailsParameters.replace@app/modules/users/parameters.py', 'description': 'Some fields require extra permissions to be changed.\n\nChanging `is_active` and `is_regular_user` properties, current user\nmust be a supervisor of the changing user, and `current_password` of\nthe current user should be pro...
0
{'name': 'TestAdminTreeList.test_result_tree_list_escapes_labels@treebeard/tests/test_treebeard.py', 'description': 'Verifies that inclusion tag result_list generates a table when with\ndefault ModelAdmin settings.', 'signature': 'def test_result_tree_list_escapes_labels(self, model_with_unicode):'}</s>INHERITED_MODELS...
0
{'name': 'Kconfig._parse_properties@tools/kconfig_new/kconfiglib.py', 'description': "Parses properties for symbols, menus, choices, and comments. Also takes\ncare of propagating dependencies from the menu node to the properties\nof the item (this mirrors the C tools, though they do it after\nparsing).\n\nnode:\n The ...
0
{'name': 'Status.__init__@robopianist/viewer/application.py', 'description': 'Instance initializer.\n\nArgs:\n time_multiplier: Instance of util.TimeMultiplier.\n pause: An observable pause subject, instance of util.ObservableFlag.\n frame_timer: A Timer instance counting duration of frames.', 'signature': 'def __in...
0
{'name': 'load_blender_gltf@jupylet/loader.py', 'description': 'Load a Blender scene or model exported with the Blender glTF 2.0 exporter.\n\nThe Blender scene should be exported using the glTF Separate (.gltf + .bin + textures)\nformat. In the exporter make sure to check the Apply Modifiers, UVs, and \nNormals, option...
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>{'name': 'ttest_2sam_unpooled@src/python_scripts/afnipy/afni_util.py', 'des...
0
{'name': 'ITypeComp.Bind@comtypes/typeinfo.py', 'description': 'Bind to a name', 'signature': 'def Bind('}</s>TYPEFLAG_FCONTROL = 32
0
{'name': 'get_choices@blockchain-env/lib/python3.7/site-packages/click/_bashcomplete.py', 'description': ':param cli: command definition\n:param prog_name: the program that is running\n:param args: full list of args\n:param incomplete: the incomplete text to autocomplete\n:return: all the possible completions for the i...
0
{'name': 'DeviceThermalComfort.__init__@custom_components/thermal_comfort/sensor.py', 'description': 'Initialize the sensor.', 'signature': 'def __init__('}</s>ATTR_FROST_POINT = "frost_point"
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>PROG_NAME = os.path.basename(__file_...
0
{'name': 'adjust_learning_rate@main.py', 'description': 'Sets the learning rate to the initial LR decayed by 10 every 30 epochs', 'signature': 'def adjust_learning_rate(optimizer, epoch, lr_steps):'}</s>{'name': 'MultiScaleCornerCrop@spatial_transforms.py', 'description': 'Crop the given PIL.Image to randomly selected ...
0
{'name': '_DecodeUnknownField@python/google/protobuf/internal/decoder.py', 'description': 'Decode a unknown field. Returns the UnknownField and new position.', 'signature': 'def _DecodeUnknownField('}</s>{'name': 'MessageSetItemByteSize@python/google/protobuf/internal/wire_format.py', 'description': 'DOCSTRING', 'code...
0
{'name': 'TestObjectsE2E.test_create_alias_a_record@e2e_tests/test_objects.py', 'description': 'Create two A records with different names, but pointing to the same\nipv4addr', 'signature': 'def test_create_alias_a_record(self):'}</s>{'name': 'Thresholdtrap@infoblox_client/objects.py', 'description': 'DOCSTRING', 'base_...
0
{'name': 'test_dotted_name_import_from@tests/test_module.py', 'description': "Test dotted-name 'import from'.", 'signature': 'def test_dotted_name_import_from():'}</s>{'name': 'test_implicit_load_already_valid_namespace@tests/test_module.py', 'description': 'Test implicit assembly load over an already valid namespace.'...
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_CUSTOM_ERROR = 3355
0
{'name': 'TestWorkflow.test_workflow@Pose2Sim/Utilities/tests.py', 'description': "SINGLE-PERSON, MULTI-PERSON, BATCH PROCESSING:\n - calibration\n - pose estimation\n - synchronization\n - person association\n - triangulation\n - filtering\n - marker augmentation\n ...
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>MQXR2_PUT_WITH_MSG_USERID = py23long(2)
0
{'name': 'Message._postprocess_single@src/betterproto/__init__.py', 'description': 'Adjusts values after parsing.', 'signature': 'def _postprocess_single('}</s>WIRE_LEN_DELIM = 2
1
{'name': 'Router._send_remote@da/sim.py', 'description': 'Forward `mesg` to remote process `dest`.\n\n ', 'signature': 'def _send_remote(self, src, dest, mesg, flags=0, transport=None, **params):'}</s>{'name': 'setup_logging_for_module@da/common.py', 'description': 'Configures package level logger.\n\n ', 'co...
0
{'name': 'CD.__init__@code/pymqi/__init__.py', 'description': '__init__(**kw)', 'signature': 'def __init__(self, **kw):'}</s>MQCMD_COPY_CHANNEL = 22
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': 'async_wrap@ring/func/asyncio.py', 'description': 'DOCSTRING', 'code': 'def async_wrap(func):\n @wraps(func)\n asyn...
0
{'name': 'BaseCircuit.plot@impedance/models/circuits/circuits.py', 'description': "visualizes the model and optional data as a nyquist,\n bode, or altair (interactive) plots\n\nParameters\n----------\nax: matplotlib.axes\n axes to plot on\nf_data: np.array of type float\n Frequencies of input data (for Bode pl...
0
{'name': 'ShopTests._reset_variations@tests/test_shop.py', 'description': 'Recreates variations and sets up the first.', 'signature': 'def _reset_variations(self):'}</s>{'name': 'ProductVariation@cartridge/shop/models.py', 'description': 'A combination of selected options from\n``SHOP_OPTION_TYPE_CHOICES`` for a ``Prod...
0
{'name': 'Event.add_occurrences@swingtime/models.py', 'description': 'Add one or more occurences to the event using a comparable API to\n``dateutil.rrule``.\n\nIf ``rrule_params`` does not contain a ``freq``, one will be defaulted\nto ``rrule.DAILY``.\n\nBecause ``rrule.rrule`` returns an iterator that can essentially ...
1
{'name': 'RotateLogStressTester.getLogHandler@tests/other/stresstest.py', 'description': 'Override this method if you want to test a different logging handler\nclass.', 'signature': 'def getLogHandler(self, fn):'}</s>{'name': 'InnerLoggerExample@tests/other/stresstest.py', 'description': 'DOCSTRING', 'base_classes': ['...
0
{'name': 'test_compile_strings@tests/test_api.py', 'description': 'compile various strings.', 'signature': 'def test_compile_strings():'}</s>{'name': 'test_compile_raises_ValueError@tests/test_api.py', 'description': 'compile raises ValueError with invalid arguments', 'code': 'def test_compile_raises_ValueError():\n ...
0
{'name': 'net_bridge_obj@kayobe/plugins/filter/networks.py', 'description': 'Return a dict representation of a network bridge interface.\n\nThe returned dict is compatible with the interfaces_bridge_interfaces\nvariable in the MichaelRigaert.interfaces role.', 'signature': 'def net_bridge_obj(context, name, inventory_h...
0
{'name': 'Win32Serial.open@stino/pyarduino/base/pyserial/serialwin32.py', 'description': 'Open port with current settings. This may throw a SerialException\nif the port cannot be opened.', 'signature': 'def open(self):'}</s>RTS_CONTROL_HANDSHAKE = 2
0
{'name': 'IB.placeOrder@ib_insync/ib.py', 'description': 'Place a new order or modify an existing order.\nReturns a Trade that is kept live updated with\nstatus changes, fills, etc.\n\nArgs:\n contract: Contract to use for order.\n order: The order to be placed.', 'signature': 'def placeOrder(self, contract: Cont...
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': 'BreakpointConditionsTestCase.breakpoint_conditions@tools/lldb/packages/Python/lldbsuite/test/functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py', 'description': "Exercise breakpoint condition with 'breakpoint modify -c <expr> id'.", 'signature': 'def breakpoint_conditions(self, inlin...
0
{'name': 'Bottle.mount@3rdparty/mongo-c-driver-1.26.2/build/bottle.py', 'description': "Mount an application (:class:`Bottle` or plain WSGI) to a specific\nURL prefix. Example::\n\n root_app.mount('/admin/', admin_app)\n\n:param prefix: path prefix or `mount-point`. If it ends in a slash,\n that slash is mandator...
0
{'name': 'main._generate_band@mcu/crystal/crystal.py', 'description': 'Processing/collecting the band data before the plotting function\n ', 'signature': 'def _generate_band(self, filename=None, efermi=None, spin=0, klabel=None):'}</s>{'name': 'format_atom@mcu/utils/str_format.py', 'description': 'Giving a atom ...
0
{'name': '_SetFilters@llvm-4.0.0-project/compiler-rt/lib/sanitizer_common/scripts/cpplint.py', 'description': 'Sets the module\'s error-message filters.\n\nThese filters are applied when deciding whether to emit a given\nerror message.\n\nArgs:\n filters: A string of comma-separated filters (eg "whitespace/indent").\n...
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': 'test_get_features_from_precomputed_ica@mne_icalabel/iclabel/tests/test_features.py', 'description': "Test that we get the correct set of features from an MNE instance.\n\nCorresponds to the output from 'ICL_feature_extractor.m'.", 'signature': 'def test_get_features_from_precomputed_ica('}</s>{'name': '_topop...
0
{'name': 'FinalizeMetadata@tools/releasetools/ota_utils.py', 'description': 'Finalizes the metadata and signs an A/B OTA package.\n\nIn order to stream an A/B OTA package, we need \'ota-streaming-property-files\'\nthat contains the offsets and sizes for the ZIP entries. An example\nproperty-files string is as follows.\...
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': 'unpackCommand@fwtool.py', 'description': 'Extracts the input file to the specified directory', 'signature': 'def unpackCommand(file, outDir):'}</s>{'name': 'isWbi@fwtool/sony/wbi.py', 'description': 'DOCSTRING', 'code': 'def isWbi(file):\n header = WbiHeader.unpack(file)\n return header and header.magic == wb...
1
{'name': 'get_name_addr@src/future/backports/email/_header_value_parser.py', 'description': 'name-addr = [display-name] angle-addr\n\n ', 'signature': 'def get_name_addr(value):'}</s>{'name': 'Mailbox@src/future/backports/email/_header_value_parser.py', 'description': 'DOCSTRING', 'base_classes': ['TokenList'], 'met...
0
{'name': 'compute_E_HF_simple@doc/src/week46/Programs/NeutronMatterCCD_Ladders.py', 'description': 'Computes HF energy of reference state\nparam Nocc, sp_basis, dk: particle number, integer s.p. lattice, delta k \nreturn: total HF energy', 'signature': 'def compute_E_HF_simple(Nocc,sp_basis,dk):'}</s>dk = get_dk(rho,NN...
1
{'name': '_export_xml@contrib/xml/xmlio.py', 'description': 'Exports Tulip data structures to XML structures for later import.\n\nThis function is called both internal\n\n@param data:\n the data structure to be exported into an XML tree.\n@return:\n `None` (if parent is not `None`), or\n an xml tree', 'signatu...
0
{'name': 'EventListener.save_events@django_ethereum_events/event_listener.py', 'description': 'Fires the appropriate event receivers for every given log.\n\nArgs:\n decoded_logs (:obj:`list` of :obj:`dict`): The decoded logs.', 'signature': 'def save_events(self, decoded_logs):'}</s>{'name': 'HexJsonEncoder@django_e...
1
{'name': 'FindStartOfExpressionInLine@tools/cpplint.py', 'description': 'Find position at the matching start of current expression.\n\nThis is almost the reverse of FindEndOfExpressionInLine, but note\nthat the input position and returned position differs by 1.\n\nArgs:\n line: a CleansedLines line.\n endpos: start s...
0
{'name': 'BertModel.__init__@baseline/bert/modeling.py', 'description': 'Constructor for BertModel.\n\nArgs:\n config: `BertConfig` instance.\n is_training: bool. true for training model, false for eval model. Controls\n whether dropout will be applied.\n input_ids: int32 Tensor of shape [batch_size, seq_length]....
0
{'name': 'get_file_name@utils/file_utils.py', 'description': 'Finds name of the file from the given file path or name\n:param name_or_path: name or path to the file\n:return: file name', 'signature': 'def get_file_name(name_or_path):'}</s>TOKEN_BEARER_PREFIX = "Bearer "
0
{'name': 'GlyphsBuilder._fake_designspace@Lib/glyphsLib/builder/builders.py', 'description': 'Build a fake designspace with the given UFOs as sources, so that all\nbuilder functions can rely on the presence of a designspace.', 'signature': 'def _fake_designspace(self, ufos):'}</s>{'name': 'GSFeaturePrefix@Lib/glyphsLib...
0
{'name': 'TransformerModel.build_model@fairseq_deen_ende/fairseq/models/transformer.py', 'description': 'Build a new model instance.', 'signature': 'def build_model(cls, args, task):'}</s>{'name': 'get_perplexity@fairseq_deen_ende/fairseq/utils.py', 'description': 'DOCSTRING', 'code': "def get_perplexity(loss):\n tr...
0
{'name': 'SessionManager.__init_session_driver@torndsession/session.py', 'description': 'setup session driver.', 'signature': 'def __init_session_driver(self):'}</s>{'name': 'SessionMixin@torndsession/session.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'name': 'SessionMixin.session@torndse...
0
{'name': 'convert_date@plugin.video.realizerx/resources/lib/api/tvdbapi.py', 'description': 'Convert a thetvdb date string into a datetime.date object.', 'signature': 'def convert_date(date_string):'}</s>{'name': 'addTvShow@plugin.video.realizerx/resources/lib/api/tvdbapi.py', 'description': 'DOCSTRING', 'code': "def a...
0
{'name': 'CIB.lookup@policy/cib.py', 'description': 'CIB lookup logic implementation\n\nReturn CIB rows that include *all* required properties from the request PropertyArray', 'signature': 'def lookup(self, input_properties, candidate_num=5):'}</s>CIB_SOCK_NAME = "neat_cib_socket"
0
{'name': 'convert_sqlalchemy_hybrid_property_bare_str@graphene_sqlalchemy/converter.py', 'description': 'Convert Bare String into a ForwardRef', 'signature': 'def convert_sqlalchemy_hybrid_property_bare_str(type_arg: str, **kwargs):'}</s>logger = logging.getLogger(__name__)
0
{'name': 'ReplaceByFeeTest.test_doublespend_chain@qa/rpc-tests/replace-by-fee.py', 'description': 'Doublespend of a long chain', 'signature': 'def test_doublespend_chain(self):'}</s>{'name': 'CBlockLocator@qa/rpc-tests/test_framework/mininode.py', 'description': 'DOCSTRING', 'base_classes': ['object'], 'methods': [{'na...
0
{'name': 'Html.handle_starttag@nova/parser/ehp.py', 'description': 'When found an opening tag then nest it onto the tree', 'signature': 'def handle_starttag(self, name, attr):'}</s>CODE = 5
0
{'name': 'PCFExecute.unpack@code/pymqi/__init__.py', 'description': 'Unpack PCF message to dictionary\n ', 'signature': 'def unpack(message): # type: (bytes) -> dict'}</s>MQRCCF_NO_XCF_PARTNER = 3239
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>_BLOBSHAPE = _descriptor.Descriptor( name='BlobShape', full_name='caffe.BlobS...
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': 'Numeral.__rgt__@src/api/python/z3/z3num.py', 'description': 'Return True if `other > self`.\n\n>>> 2 > Numeral(Sqrt(2))\nTrue', 'signature': 'def __rgt__(self, other):'}</s>{'name': 'StrToCode@src/api/python/z3/z3.py', 'description': 'Convert a unit length string to integer code', 'code': 'def StrToCode(s):\n...
0
{'name': 'ProcessLine@ament_cpplint/ament_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 fi...
0