sequence
stringlengths
388
5.57k
docstring
stringlengths
11
171
0 module [1];1 function_definition [2,3,5];2 function_name [] _linefeed;3 parameters [4];4 identifier [] self;5 block [6,26,90];6 expression_statement [7];7 assignment [8,9];8 identifier [] last_line;9 comparison_operator [10,17] ==;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] self;14 iden...
Performs a line feed.
0 module [1];1 function_definition [2,3,4];2 function_name [] append_domain;3 parameters [];4 block [5,9,22,35];5 expression_statement [6];6 assignment [7,8];7 identifier [] grain;8 dictionary [];9 if_statement [10,19];10 call [11,18];11 attribute [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [] salt;...
Return append_domain if set
0 module [1];1 function_definition [2,3,6];2 function_name [] match_subgroup;3 parameters [4,5];4 identifier [] sequence;5 identifier [] pattern;6 block [7];7 for_statement [8,9,10];8 identifier [] element;9 identifier [] sequence;10 block [11,21];11 expression_statement [12];12 assignment [13,14];13 identifier [] matc...
Yield the sub-group element dictionary that match a regex pattern.
0 module [1];1 function_definition [2,3,9];2 function_name [] get;3 parameters [4,5,6];4 identifier [] context;5 identifier [] request;6 default_parameter [7,8];7 identifier [] key;8 None [];9 block [10,19,27,35,46];10 expression_statement [11];11 assignment [12,13];12 identifier [] registry_records;13 call [14,17];14 ...
Return all registry items if key is None, otherwise try to fetch the registry key
0 module [1];1 function_definition [2,3,5];2 function_name [] _find_bad_meta;3 parameters [4];4 identifier [] self;5 block [6,14];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] _badmeta;11 call [12,13];12 identifier [] dict;13 argument_list [];14 for_statement [1...
Fill self._badmeta with meta datatypes that are invalid
0 module [1];1 function_definition [2,3,9];2 function_name [] layer_post_save;3 parameters [4,5,7];4 identifier [] instance;5 list_splat_pattern [6];6 identifier [] args;7 dictionary_splat_pattern [8];8 identifier [] kwargs;9 block [10];10 if_statement [11,20,45];11 boolean_operator [12,15] and;12 attribute [13,14];13 ...
Used to do a layer full check when saving it.
0 module [1];1 function_definition [2,3,5];2 function_name [] empty_bucket;3 parameters [4];4 identifier [] outputs_file;5 block [6,27,35,45,57];6 with_statement [7,17];7 with_clause [8];8 with_item [9];9 as_pattern [10,15];10 call [11,12];11 identifier [] open;12 argument_list [13,14];13 identifier [] outputs_file;14 ...
Empty the bucket associated to the test deployment.
0 module [1];1 function_definition [2,3,17];2 function_name [] save;3 parameters [4,5,8,11,14];4 identifier [] self;5 default_parameter [6,7];6 identifier [] filething;7 None [];8 default_parameter [9,10];9 identifier [] v2_version;10 integer [] 4;11 default_parameter [12,13];12 identifier [] v23_sep;13 string [] /;14 ...
Save ID3v2 data to the DSF file
0 module [1];1 function_definition [2,3,5];2 function_name [] to_cartopy;3 parameters [4];4 identifier [] self;5 block [6,12,20,43];6 expression_statement [7];7 assignment [8,9];8 identifier [] globe;9 attribute [10,11];10 identifier [] self;11 identifier [] cartopy_globe;12 expression_statement [13];13 assignment [14,...
Convert to a CartoPy projection.
0 module [1];1 function_definition [2,3,5];2 function_name [] rescale_taps;3 parameters [4];4 identifier [] taps;5 block [6,15,22,39];6 expression_statement [7];7 assignment [8,9];8 identifier [] taps;9 call [10,13];10 attribute [11,12];11 identifier [] np;12 identifier [] array;13 argument_list [14];14 identifier [] t...
Rescale taps in that way that their sum equals 1
0 module [1];1 function_definition [2,3,7];2 function_name [] _create_rpmmacros;3 parameters [4];4 default_parameter [5,6];5 identifier [] runas;6 string [] root;7 block [8,19,31,57,69,95,107];8 expression_statement [9];9 assignment [10,11];10 identifier [] home;11 call [12,17];12 attribute [13,16];13 attribute [14,15]...
Create the .rpmmacros file in user's home directory
0 module [1];1 function_definition [2,3,8];2 function_name [] remove_watchpoint;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] addr;6 identifier [] size;7 identifier [] type;8 block [9];9 return_statement [10];10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] ...
remove a hardware watchpoint
0 module [1];1 function_definition [2,3,4];2 function_name [] _prepare_encryption_table;3 parameters [];4 block [5,9,13,82];5 expression_statement [6];6 assignment [7,8];7 identifier [] seed;8 integer [] 0x00100001;9 expression_statement [10];10 assignment [11,12];11 identifier [] crypt_table;12 dictionary [];13 for_st...
Prepare encryption table for MPQ hash function.
0 module [1];1 function_definition [2,3,6];2 function_name [] _deconstruct_url;3 parameters [4,5];4 identifier [] self;5 identifier [] url;6 block [7,20,32];7 expression_statement [8];8 assignment [9,10];9 identifier [] url;10 subscript [11,18];11 call [12,15];12 attribute [13,14];13 identifier [] url;14 identifier [] ...
Breaks down URL and returns server and endpoint
0 module [1];1 function_definition [2,3,9];2 function_name [] parameters;3 parameters [4,5,6];4 identifier [] self;5 identifier [] parameters;6 default_parameter [7,8];7 identifier [] locations;8 None [];9 block [10,85];10 function_definition [11,12,14];11 function_name [] decorator;12 parameters [13];13 identifier [] ...
Endpoint parameters registration decorator.
0 module [1];1 function_definition [2,3,5];2 function_name [] ipinfo_ip_check;3 parameters [4];4 identifier [] ip;5 block [6,15,26];6 if_statement [7,12];7 not_operator [8];8 call [9,10];9 identifier [] is_IPv4Address;10 argument_list [11];11 identifier [] ip;12 block [13];13 return_statement [14];14 None [];15 express...
Checks ipinfo.io for basic WHOIS-type data on an IP address
0 module [1];1 function_definition [2,3,4];2 function_name [] createTopicPage2;3 parameters [];4 block [5,12,25,33,46,59,66,76,83,90,120];5 expression_statement [6];6 assignment [7,8];7 identifier [] topic;8 call [9,10];9 identifier [] TopicPage;10 argument_list [11];11 identifier [] er;12 expression_statement [13];13 ...
create a topic page directly, set the article threshold, restrict results to set concepts and keywords
0 module [1];1 function_definition [2,3,6];2 function_name [] __getStationName;3 parameters [4,5];4 identifier [] name;5 identifier [] id;6 block [7,17,25,31];7 expression_statement [8];8 assignment [9,10];9 identifier [] name;10 call [11,14];11 attribute [12,13];12 identifier [] name;13 identifier [] replace;14 argume...
Construct a staiion name.
0 module [1];1 function_definition [2,3,13];2 function_name [] apply_async;3 parameters [4,5,8,11];4 identifier [] self;5 default_parameter [6,7];6 identifier [] args;7 None [];8 default_parameter [9,10];9 identifier [] kwargs;10 None [];11 dictionary_splat_pattern [12];12 identifier [] options;13 block [14,59];14 if_s...
Do not run background task if previous task is uncompleted
0 module [1];1 function_definition [2,3,6];2 function_name [] remove_reader;3 parameters [4,5];4 identifier [] self;5 identifier [] fd;6 block [7,9,16,29];7 expression_statement [8];8 string [] Remove read file descriptor from the event loop.;9 expression_statement [10];10 assignment [11,12];11 identifier [] fd;12 call...
Remove read file descriptor from the event loop.
0 module [1];1 function_definition [2,3,5];2 function_name [] create_welcome_client;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,16];7 comparison_operator [8,15] ==;8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] tabwidget;13 identifier [] count;14 ar...
Create a welcome client with some instructions.
0 module [1];1 function_definition [2,3,6];2 function_name [] removeMigrationRequest;3 parameters [4,5];4 identifier [] self;5 identifier [] migration_rqst;6 block [7,17,75];7 expression_statement [8];8 assignment [9,10];9 identifier [] conn;10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] sel...
Method to remove pending or failed migration request from the queue.
0 module [1];1 function_definition [2,3,6];2 function_name [] download_file_insecure;3 parameters [4,5];4 identifier [] url;5 identifier [] target;6 block [7,14,32];7 expression_statement [8];8 assignment [9,10];9 identifier [] src;10 call [11,12];11 identifier [] urlopen;12 argument_list [13];13 identifier [] url;14 t...
Use Python to download the file, without connection authentication.
0 module [1];1 function_definition [2,3,12,14];2 function_name [] mean_absolute_error;3 parameters [4,8];4 typed_parameter [5,6];5 identifier [] pred;6 type [7];7 identifier [] Tensor;8 typed_parameter [9,10];9 identifier [] targ;10 type [11];11 identifier [] Tensor;12 type [13];13 identifier [] Rank0Tensor;14 block [1...
Mean absolute error between `pred` and `targ`.
0 module [1];1 function_definition [2,3,6];2 function_name [] enterEvent;3 parameters [4,5];4 identifier [] self;5 identifier [] event;6 block [7,18,29];7 expression_statement [8];8 call [9,16];9 attribute [10,15];10 call [11,12];11 identifier [] super;12 argument_list [13,14];13 identifier [] CallTipWidget;14 identifi...
Reimplemented to cancel the hide timer.
0 module [1];1 function_definition [2,3,5];2 function_name [] extract_table_names;3 parameters [4];4 identifier [] query;5 block [6,19,36];6 expression_statement [7];7 assignment [8,9];8 identifier [] tables_blocks;9 call [10,13];10 attribute [11,12];11 identifier [] re;12 identifier [] findall;13 argument_list [14,15,...
Extract table names from an SQL query.
0 module [1];1 function_definition [2,3,6];2 function_name [] _kwargs_to_attributes;3 parameters [4,5];4 identifier [] self;5 identifier [] kwargs;6 block [7];7 for_statement [8,11,16];8 pattern_list [9,10];9 identifier [] key;10 identifier [] val;11 call [12,15];12 attribute [13,14];13 identifier [] kwargs;14 identifi...
Put keys from `kwargs` to `self`, if the keys are already there.
0 module [1];1 function_definition [2,3,5];2 function_name [] semantic_parent;3 parameters [4];4 identifier [] self;5 block [6,27];6 if_statement [7,13];7 not_operator [8];8 call [9,10];9 identifier [] hasattr;10 argument_list [11,12];11 identifier [] self;12 string [] _semantic_parent;13 block [14];14 expression_state...
Return the semantic parent for this cursor.
0 module [1];1 function_definition [2,3,5];2 function_name [] _read_response;3 parameters [4];4 identifier [] self;5 block [6,21,30,38,48];6 expression_statement [7];7 assignment [8,9];8 identifier [] result;9 call [10,19];10 attribute [11,18];11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [] s...
Reads a complete response packet from the server
0 module [1];1 function_definition [2,3,5];2 function_name [] asDictionary;3 parameters [4];4 identifier [] self;5 block [6,20,43];6 expression_statement [7];7 assignment [8,9];8 identifier [] template;9 dictionary [10,15];10 pair [11,12];11 string [] type;12 attribute [13,14];13 identifier [] self;14 identifier [] _ty...
converts the object to a dictionary
0 module [1];1 function_definition [2,3,6];2 function_name [] cli;3 parameters [4,5];4 identifier [] ctx;5 identifier [] obj;6 block [7,13,31,43,55,69];7 expression_statement [8];8 assignment [9,10];9 identifier [] client;10 subscript [11,12];11 identifier [] obj;12 string [] client;13 expression_statement [14];14 call...
Show Alerta server and client versions.
0 module [1];1 function_definition [2,3,5];2 function_name [] _read_words;3 parameters [4];4 identifier [] filename;5 block [6];6 with_statement [7,21];7 with_clause [8];8 with_item [9];9 as_pattern [10,19];10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] tf;14 identifier [] gfile;15 identifie...
Reads words from a file.
0 module [1];1 function_definition [2,3,5];2 function_name [] plotgwsrc;3 parameters [4];4 identifier [] gwb;5 block [6,18,26,36,43,54,70];6 expression_statement [7];7 assignment [8,13];8 pattern_list [9,10,11,12];9 identifier [] theta;10 identifier [] phi;11 identifier [] omega;12 identifier [] polarization;13 call [1...
Plot a GWB source population as a mollweide projection.
0 module [1];1 function_definition [2,3,5];2 function_name [] to_glyphs_family_user_data_from_designspace;3 parameters [4];4 identifier [] self;5 block [6,14];6 expression_statement [7];7 assignment [8,9];8 identifier [] target_user_data;9 attribute [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] fo...
Set the GSFont userData from the designspace family-wide lib data.
0 module [1];1 function_definition [2,3,5];2 function_name [] to_ccw;3 parameters [4];4 identifier [] geom;5 block [6,33];6 if_statement [7,21];7 boolean_operator [8,15] and;8 call [9,10];9 identifier [] isinstance;10 argument_list [11,12];11 identifier [] geom;12 attribute [13,14];13 identifier [] sgeom;14 identifier ...
Reorients polygon to be wound counter-clockwise.
0 module [1];1 function_definition [2,3,8];2 function_name [] start;3 parameters [4,5,6,7];4 identifier [] cls;5 identifier [] originator_id;6 identifier [] quorum_size;7 identifier [] network_uid;8 block [9,21];9 assert_statement [10,15];10 call [11,12];11 identifier [] isinstance;12 argument_list [13,14];13 identifie...
Factory method that returns a new Paxos aggregate.
0 module [1];1 function_definition [2,3,6];2 function_name [] _norm;3 parameters [4,5];4 identifier [] self;5 identifier [] x;6 block [7];7 return_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] tf;11 identifier [] sqrt;12 argument_list [13];13 binary_operator [14,32] +;14 call [15,18];15 attribute [16...
Compute the safe norm.
0 module [1];1 function_definition [2,3,8];2 function_name [] memoize;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] hasher;7 None [];8 block [9,17,23,35,80];9 expression_statement [10];10 assignment [11,12];11 identifier [] ns;12 call [13,16];13 attribute [14,15];14 identifier [] sel...
Memoize an expensive function by storing its results.
0 module [1];1 function_definition [2,3,5];2 function_name [] _make_cmake;3 parameters [4];4 identifier [] config_info;5 block [6,11,15,23,46,72,84,93,104,114];6 expression_statement [7];7 assignment [8,9];8 identifier [] configure_args;9 list [10] ["-DCMAKE_EXPORT_COMPILE_COMMANDS=ON"];10 string [] -DCMAKE_EXPORT_COMP...
This function initializes a CMake builder for building the project.
0 module [1];1 function_definition [2,3,6];2 function_name [] usable_id;3 parameters [4,5];4 identifier [] cls;5 identifier [] id;6 block [7,16,27];7 expression_statement [8];8 assignment [9,10];9 identifier [] hcs;10 call [11,14];11 attribute [12,13];12 identifier [] cls;13 identifier [] from_fqdn;14 argument_list [15...
Retrieve id from single input.
0 module [1];1 function_definition [2,3,16];2 function_name [] DeleteAttributes;3 parameters [4,5,6,7,10,13];4 identifier [] self;5 identifier [] subject;6 identifier [] attributes;7 default_parameter [8,9];8 identifier [] start;9 None [];10 default_parameter [11,12];11 identifier [] end;12 None [];13 default_parameter...
Remove some attributes from a subject.
0 module [1];1 function_definition [2,3,6];2 function_name [] _get_price;3 parameters [4,5];4 identifier [] self;5 identifier [] package;6 block [7,26];7 for_statement [8,9,12];8 identifier [] price;9 subscript [10,11];10 identifier [] package;11 string [] prices;12 block [13];13 if_statement [14,21];14 not_operator [1...
Returns valid price for ordering a dedicated host.
0 module [1];1 function_definition [2,3,6];2 function_name [] _compute_prediction;3 parameters [4,5];4 identifier [] self;5 identifier [] X;6 block [7,19,30];7 expression_statement [8];8 assignment [9,10];9 identifier [] A_pred;10 call [11,14];11 attribute [12,13];12 identifier [] np;13 identifier [] dot;14 argument_li...
compute predictions given a new X
0 module [1];1 function_definition [2,3,5];2 function_name [] _format_structured_address;3 parameters [4];4 identifier [] address;5 block [6,17,28];6 expression_statement [7];7 assignment [8,9];8 identifier [] latitude;9 call [10,15];10 attribute [11,14];11 subscript [12,13];12 identifier [] address;13 string [] metada...
Pretty-print address and return lat, lon tuple.
0 module [1];1 function_definition [2,3,5];2 function_name [] unit_get;3 parameters [4];4 identifier [] attribute;5 block [6,13];6 expression_statement [7];7 assignment [8,9];8 identifier [] _args;9 list [10,11,12] ['unit-get', '--format=json', attribute];10 string [] unit-get;11 string [] --format=json;12 identifier [...
Get the unit ID for the remote unit
0 module [1];1 function_definition [2,3,10,14];2 function_name [] squeeze_bits;3 parameters [4];4 typed_parameter [5,6];5 identifier [] arr;6 type [7];7 attribute [8,9];8 identifier [] numpy;9 identifier [] ndarray;10 type [11];11 attribute [12,13];12 identifier [] numpy;13 identifier [] ndarray;14 block [15,25,42,57,9...
Return a copy of an integer numpy array with the minimum bitness.
0 module [1];1 function_definition [2,3,5];2 function_name [] _sort;3 parameters [4];4 identifier [] self;5 block [6];6 expression_statement [7];7 assignment [8,11];8 attribute [9,10];9 identifier [] self;10 identifier [] versions;11 call [12,13];12 identifier [] OrderedDict;13 argument_list [14];14 call [15,16];15 ide...
Sort versions by their version number
0 module [1];1 function_definition [2,3,5];2 function_name [] draw;3 parameters [4];4 identifier [] self;5 block [6];6 if_statement [7,14,30];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] sys;11 identifier [] stdout;12 identifier [] isatty;13 argument_list [];14 block [15,21];15 import_from_stat...
Draws ASCII canvas on the screen.
0 module [1];1 function_definition [2,3,5];2 function_name [] build_model_classes;3 parameters [4];4 identifier [] metadata;5 block [6,15,21,30];6 expression_statement [7];7 assignment [8,9];8 identifier [] i;9 call [10,13];10 attribute [11,12];11 identifier [] importlib;12 identifier [] import_module;13 argument_list ...
Generate a model class for any models contained in the specified spec file.
0 module [1];1 function_definition [2,3,5];2 function_name [] backward_char;3 parameters [4];4 identifier [] event;5 block [6,8,14];6 expression_statement [7];7 string [] Move back a character.;8 expression_statement [9];9 assignment [10,11];10 identifier [] buff;11 attribute [12,13];12 identifier [] event;13 identifie...
Move back a character.
0 module [1];1 function_definition [2,3,7];2 function_name [] wireshark;3 parameters [4,5];4 identifier [] pktlist;5 list_splat_pattern [6];6 identifier [] args;7 block [8,14,20];8 expression_statement [9];9 assignment [10,11];10 identifier [] fname;11 call [12,13];12 identifier [] get_temp_file;13 argument_list [];14 ...
Run wireshark on a list of packets
0 module [1];1 function_definition [2,3,5];2 function_name [] _advanced_indexer_subspaces;3 parameters [4];4 identifier [] key;5 block [6,19,39,54,69,84,97,106];6 if_statement [7,13];7 not_operator [8];8 call [9,10];9 identifier [] isinstance;10 argument_list [11,12];11 identifier [] key;12 identifier [] tuple;13 block...
Indices of the advanced indexes subspaces for mixed indexing and vindex.
0 module [1];1 function_definition [2,3,15];2 function_name [] attach;3 parameters [4,5,6,9,12];4 identifier [] item;5 identifier [] action;6 default_parameter [7,8];7 identifier [] greedy;8 False [];9 default_parameter [10,11];10 identifier [] ignore_no_tokens;11 None [];12 default_parameter [13,14];13 identifier [] i...
Set the parse action for the given item to create a node in the computation graph.
0 module [1];1 function_definition [2,3,6];2 function_name [] add_relations;3 parameters [4,5];4 identifier [] self;5 identifier [] relations;6 block [7];7 for_statement [8,11,12];8 pattern_list [9,10];9 identifier [] source;10 identifier [] destination;11 identifier [] relations;12 block [13];13 expression_statement [...
Add multiple relations to a bijection
0 module [1];1 function_definition [2,3,5];2 function_name [] make_pilothole_cutter;3 parameters [4];4 identifier [] self;5 block [6,12,40];6 expression_statement [7];7 assignment [8,9];8 identifier [] pilothole_radius;9 attribute [10,11];10 identifier [] self;11 identifier [] pilothole_radius;12 if_statement [13,16];1...
Make a solid to subtract from an interfacing solid to bore a pilot-hole.
0 module [1];1 function_definition [2,3,6];2 function_name [] _get_model_without_dependencies;3 parameters [4,5];4 identifier [] self;5 identifier [] models_dict;6 block [7,11,17,38,55,62,85];7 expression_statement [8];8 assignment [9,10];9 identifier [] next_model;10 None [];11 if_statement [12,14];12 not_operator [13...
Helper function to find the next model that should be created
0 module [1];1 function_definition [2,3,6];2 function_name [] object_path;3 parameters [4,5];4 identifier [] self;5 identifier [] key;6 block [7];7 return_statement [8];8 call [9,14];9 attribute [10,13];10 attribute [11,12];11 identifier [] os;12 identifier [] path;13 identifier [] join;14 argument_list [15,18];15 attr...
return the object path for `key`.
0 module [1];1 function_definition [2,3,13,15];2 function_name [] ask_list;3 parameters [4,8];4 typed_parameter [5,6];5 identifier [] question;6 type [7];7 identifier [] str;8 typed_default_parameter [9,10,12];9 identifier [] default;10 type [11];11 identifier [] list;12 None [];13 type [14];14 identifier [] list;15 bl...
Asks for a comma seperated list of strings
0 module [1];1 function_definition [2,3,5];2 function_name [] simplify_expression;3 parameters [4];4 identifier [] txt;5 block [6,35];6 expression_statement [7];7 assignment [8,9];8 identifier [] minimal;9 call [10,13];10 attribute [11,12];11 identifier [] re;12 identifier [] sub;13 argument_list [14,15,16];14 string [...
Remove all unecessary whitespace and some very usual space
0 module [1];1 function_definition [2,3,6];2 function_name [] register;3 parameters [4,5];4 identifier [] self;5 identifier [] cls;6 block [7,17,25,33,48,58,85];7 expression_statement [8];8 assignment [9,10];9 identifier [] doc_type;10 attribute [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] cls;14 ...
Adds a new PolymorphicIndexable to the registry.
0 module [1];1 function_definition [2,3,5];2 function_name [] com_google_fonts_check_varfont_weight_instances;3 parameters [4];4 identifier [] ttFont;5 block [6,10,48];6 expression_statement [7];7 assignment [8,9];8 identifier [] failed;9 False [];10 for_statement [11,12,17];11 identifier [] instance;12 attribute [13,1...
Variable font weight coordinates must be multiples of 100.
0 module [1];1 function_definition [2,3,4];2 function_name [] _get_gae_credentials;3 parameters [];4 block [5,21];5 try_statement [6,14];6 block [7];7 import_statement [8];8 aliased_import [9,13];9 dotted_name [10,11,12];10 identifier [] google;11 identifier [] auth;12 identifier [] app_engine;13 identifier [] app_engi...
Gets Google App Engine App Identity credentials and project ID.
0 module [1];1 function_definition [2,3,4];2 function_name [] _patch;3 parameters [];4 block [5,8,13,56];5 import_statement [6];6 dotted_name [7];7 identifier [] sys;8 import_from_statement [9,11];9 dotted_name [10];10 identifier [] OpenGL;11 dotted_name [12];12 identifier [] GL;13 if_statement [14,20];14 comparison_op...
Monkey-patch pyopengl to fix a bug in glBufferSubData.
0 module [1];1 function_definition [2,3,5];2 function_name [] Dirname;3 parameters [4];4 identifier [] self;5 block [6,14,67];6 expression_statement [7];7 assignment [8,9];8 identifier [] result;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] Copy;13 argument_list [];14 while_statement [15,16...
Get a new copied object with only the directory path.
0 module [1];1 function_definition [2,3,8];2 function_name [] connection_lost;3 parameters [4,5];4 identifier [] self;5 default_parameter [6,7];6 identifier [] exc;7 None [];8 block [9,30];9 if_statement [10,17];10 call [11,16];11 attribute [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] _loop;15 id...
Fires the ``connection_lost`` event.
0 module [1];1 function_definition [2,3,9];2 function_name [] task_path;3 parameters [4,5,6,7,8];4 identifier [] cls;5 identifier [] project;6 identifier [] location;7 identifier [] queue;8 identifier [] task;9 block [10];10 return_statement [11];11 call [12,19];12 attribute [13,18];13 attribute [14,17];14 attribute [1...
Return a fully-qualified task string.
0 module [1];1 function_definition [2,3,8];2 function_name [] json_options_to_metadata;3 parameters [4,5];4 identifier [] options;5 default_parameter [6,7];6 identifier [] add_brackets;7 True [];8 block [9];9 try_statement [10,27];10 block [11,25];11 expression_statement [12];12 assignment [13,14];13 identifier [] opti...
Read metadata from its json representation
0 module [1];1 function_definition [2,3,7];2 function_name [] _get_keywords;3 parameters [4,5,6];4 identifier [] self;5 identifier [] location;6 identifier [] keywords;7 block [8,34,74,94,114,134,142];8 if_statement [9,12,26];9 comparison_operator [10,11] in;10 string [] xml;11 identifier [] keywords;12 block [13,20];1...
Format GET request's parameters from keywords.
0 module [1];1 function_definition [2,3,10];2 function_name [] log_tag;3 parameters [4,5,6,7];4 identifier [] self;5 identifier [] tag;6 identifier [] code;7 default_parameter [8,9];8 identifier [] multiline;9 False [];10 block [11];11 if_statement [12,15];12 attribute [13,14];13 identifier [] self;14 identifier [] tra...
Logs a tagged message if tracing.
0 module [1];1 function_definition [2,3,5];2 function_name [] seen_tasks;3 parameters [4];4 identifier [] self;5 block [6];6 expression_statement [7];7 call [8,9];8 identifier [] print;9 argument_list [10];10 call [11,14];11 attribute [12,13];12 string [] \n;13 identifier [] join;14 argument_list [15];15 attribute [16,...
Shows a list of seen task types.
0 module [1];1 function_definition [2,3,5];2 function_name [] run_dot;3 parameters [4];4 identifier [] dot;5 block [6,8,19];6 global_statement [7];7 identifier [] impl;8 if_statement [9,12];9 comparison_operator [10,11] is;10 identifier [] impl;11 None [];12 block [13];13 expression_statement [14];14 assignment [15,16]...
Converts a graph in DOT format into an IPython displayable object.
0 module [1];1 function_definition [2,3,5];2 function_name [] create_lambda_function;3 parameters [4];4 identifier [] self;5 block [6,14,37];6 expression_statement [7];7 assignment [8,9];8 identifier [] vpc_config;9 call [10,13];10 attribute [11,12];11 identifier [] self;12 identifier [] _vpc_config;13 argument_list []...
Create or update Lambda function.
0 module [1];1 function_definition [2,3,5];2 function_name [] ignore_cec;3 parameters [4];4 identifier [] self;5 block [6];6 return_statement [7];7 boolean_operator [8,13,14] and;8 comparison_operator [9,12] is not;9 attribute [10,11];10 identifier [] self;11 identifier [] device;12 None [];13 line_continuation [] \;14...
Returns whether the CEC data should be ignored.
0 module [1];1 function_definition [2,3,6];2 function_name [] characters;3 parameters [4,5];4 identifier [] self;5 identifier [] numberOfCharacters;6 block [7];7 return_statement [8];8 subscript [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] code;12 slice [13,16,17];13 attribute [14,15];14 identifier...
Returns characters at index + number of characters
0 module [1];1 function_definition [2,3,7];2 function_name [] hash;3 parameters [4,5,6];4 identifier [] mapping;5 identifier [] bind;6 identifier [] values;7 block [8];8 for_statement [9,10,11];9 identifier [] v;10 identifier [] values;11 block [12,18,37];12 if_statement [13,16];13 comparison_operator [14,15] is;14 ide...
Generate a sha1 for each of the given values.
0 module [1];1 function_definition [2,3,5];2 function_name [] acquire_win;3 parameters [4];4 identifier [] lock_file;5 block [6];6 try_statement [7,18,22];7 block [8];8 expression_statement [9];9 assignment [10,11];10 identifier [] fd;11 call [12,15];12 attribute [13,14];13 identifier [] os;14 identifier [] open;15 arg...
Acquire a lock file on windows.
0 module [1];1 function_definition [2,3,14];2 function_name [] decode;3 parameters [4,5,8,11];4 identifier [] self;5 default_parameter [6,7];6 identifier [] dataset_split;7 None [];8 default_parameter [9,10];9 identifier [] decode_from_file;10 False [];11 default_parameter [12,13];12 identifier [] checkpoint_path;13 No...
Decodes from dataset or file.
0 module [1];1 function_definition [2,3,6];2 function_name [] packet_get_samples_per_frame;3 parameters [4,5];4 identifier [] data;5 identifier [] fs;6 block [7,16,29,39];7 expression_statement [8];8 assignment [9,10];9 identifier [] data_pointer;10 call [11,14];11 attribute [12,13];12 identifier [] ctypes;13 identifie...
Gets the number of samples per frame from an Opus packet
0 module [1];1 function_definition [2,3,5];2 function_name [] __parseColumns;3 parameters [4];4 identifier [] self;5 block [6,10,38];6 expression_statement [7];7 assignment [8,9];8 identifier [] columns;9 list [] [];10 if_statement [11,19];11 call [12,17];12 attribute [13,16];13 attribute [14,15];14 identifier [] self;...
Returns the list of columns related to the dataset.
0 module [1];1 function_definition [2,3,7];2 function_name [] _update;3 parameters [4,5];4 identifier [] self;5 dictionary_splat_pattern [6];6 identifier [] kwargs;7 block [8,48];8 if_statement [9,12];9 comparison_operator [10,11] in;10 string [] content;11 identifier [] kwargs;12 block [13,22,30];13 expression_stateme...
Use separate URL for updating the source file.
0 module [1];1 function_definition [2,3,6];2 function_name [] search_reddit_names;3 parameters [4,5];4 identifier [] self;5 identifier [] query;6 block [7,14,30];7 expression_statement [8];8 assignment [9,10];9 identifier [] data;10 dictionary [11];11 pair [12,13];12 string [] query;13 identifier [] query;14 expression...
Return subreddits whose display name contains the query.
0 module [1];1 function_definition [2,3,5];2 function_name [] _build_exclusion_list;3 parameters [4];4 identifier [] exclude;5 block [6,10,102];6 expression_statement [7];7 assignment [8,9];8 identifier [] mod_files;9 list [] [];10 if_statement [11,12];11 identifier [] exclude;12 block [13];13 for_statement [14,15,16];...
Build file names list of modules to exclude from exception handling.
0 module [1];1 function_definition [2,3,7];2 function_name [] _log_multivariate_normal_density_tied;3 parameters [4,5,6];4 identifier [] X;5 identifier [] means;6 identifier [] covars;7 block [8,25];8 expression_statement [9];9 assignment [10,11];10 identifier [] cv;11 call [12,15];12 attribute [13,14];13 identifier []...
Compute Gaussian log-density at X for a tied model.
0 module [1];1 function_definition [2,3,7];2 function_name [] merge_conf_file;3 parameters [4,5,6];4 identifier [] self;5 identifier [] result;6 identifier [] conf_file_path;7 block [8,10,17,37,41,92];8 expression_statement [9];9 string [] Merge a configuration in file with current configuration;10 expression_statement...
Merge a configuration in file with current configuration
0 module [1];1 function_definition [2,3,6];2 function_name [] render;3 parameters [4,5];4 identifier [] self;5 identifier [] surf;6 block [7,35,57,71];7 if_statement [8,16];8 not_operator [9];9 binary_operator [10,13] &;10 attribute [11,12];11 identifier [] self;12 identifier [] flags;13 attribute [14,15];14 identifier...
Draw the button on the surface.
0 module [1];1 function_definition [2,3,5];2 function_name [] ToMicroseconds;3 parameters [4];4 identifier [] self;5 block [6,16];6 expression_statement [7];7 assignment [8,9];8 identifier [] micros;9 call [10,11];10 identifier [] _RoundTowardZero;11 argument_list [12,15];12 attribute [13,14];13 identifier [] self;14 i...
Converts a Duration to microseconds.
0 module [1];1 function_definition [2,3,9,11];2 function_name [] _write_critic_model_stats;3 parameters [4,5];4 identifier [] self;5 typed_parameter [6,7];6 identifier [] iteration;7 type [8];8 identifier [] int;9 type [10];10 None [];11 block [12,14,24,46];12 expression_statement [13];13 string [] Writes gradient stat...
Writes gradient statistics for critic to Tensorboard.
0 module [1];1 function_definition [2,3,6];2 function_name [] _resolve_child;3 parameters [4,5];4 identifier [] self;5 identifier [] path;6 block [7,9,13,83];7 expression_statement [8];8 string [] Return a member generator by a dot-delimited path;9 expression_statement [10];10 assignment [11,12];11 identifier [] obj;12...
Return a member generator by a dot-delimited path
0 module [1];1 function_definition [2,3,6];2 function_name [] title;3 parameters [4,5];4 identifier [] self;5 identifier [] txt;6 block [7,14,20,25,30];7 expression_statement [8];8 assignment [9,10];9 identifier [] num;10 call [11,12];11 identifier [] len;12 argument_list [13];13 identifier [] txt;14 expression_stateme...
Prints a title for pipelines
0 module [1];1 function_definition [2,3,7];2 function_name [] create_route;3 parameters [4,5,6];4 identifier [] self;5 identifier [] item;6 identifier [] routes;7 block [8,29];8 for_statement [9,10,11];9 identifier [] route;10 identifier [] routes;11 block [12];12 expression_statement [13];13 call [14,27];14 attribute ...
Stores a new item in routing map
0 module [1];1 function_definition [2,3,9];2 function_name [] _host_notification;3 parameters [4,5,6,7,8];4 identifier [] self;5 identifier [] context;6 identifier [] method;7 identifier [] payload;8 identifier [] host;9 block [10,26,39];10 expression_statement [11];11 call [12,15];12 attribute [13,14];13 identifier []...
Notify the cfg agent that is handling the hosting device.
0 module [1];1 function_definition [2,3,5];2 function_name [] show_analysis_dialog;3 parameters [4];4 identifier [] self;5 block [6,14,22,30];6 expression_statement [7];7 call [8,13];8 attribute [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] analysis_dialog;12 identifier [] update_evt_types;13 argume...
Create the analysis dialog.
0 module [1];1 function_definition [2,3,6];2 function_name [] add_item;3 parameters [4,5];4 identifier [] self;5 identifier [] item;6 block [7,30];7 if_statement [8,14];8 not_operator [9];9 call [10,11];10 identifier [] isinstance;11 argument_list [12,13];12 identifier [] item;13 identifier [] JsonRpcResponse;14 block ...
Adds an item to the batch.
0 module [1];1 function_definition [2,3,5];2 function_name [] Reduce;3 parameters [4];4 identifier [] self;5 block [6,26,35,86,98];6 if_statement [7,18];7 boolean_operator [8,13] and;8 comparison_operator [9,12] !=;9 attribute [10,11];10 identifier [] self;11 identifier [] state;12 string [] INITIAL;13 comparison_opera...
Reduce the token stack into an AST.
0 module [1];1 function_definition [2,3,7];2 function_name [] _margtimephase_loglr;3 parameters [4,5,6];4 identifier [] self;5 identifier [] mf_snr;6 identifier [] opt_snr;7 block [8];8 return_statement [9];9 binary_operator [10,31] -;10 call [11,14];11 attribute [12,13];12 identifier [] special;13 identifier [] logsum...
Returns the log likelihood ratio marginalized over time and phase.
0 module [1];1 function_definition [2,3,5];2 function_name [] transmogrify;3 parameters [4];4 identifier [] l;5 block [6,15,19,35];6 expression_statement [7];7 assignment [8,9];8 identifier [] d;9 dictionary [10];10 pair [11,14];11 subscript [12,13];12 identifier [] l;13 integer [] 0;14 dictionary [];15 expression_stat...
Fit a flat list into a treeable object.
0 module [1];1 function_definition [2,3,8];2 function_name [] getTzid;3 parameters [4,5];4 identifier [] tzid;5 default_parameter [6,7];6 identifier [] smart;7 True [];8 block [9,22,65];9 expression_statement [10];10 assignment [11,12];11 identifier [] tz;12 call [13,16];13 attribute [14,15];14 identifier [] __tzidMap;...
Return the tzid if it exists, or None.
0 module [1];1 function_definition [2,3,5];2 function_name [] update_deps;3 parameters [4];4 identifier [] self;5 block [6,12,25];6 expression_statement [7];7 assignment [8,9];8 identifier [] klass;9 attribute [10,11];10 identifier [] self;11 identifier [] __class__;12 for_statement [13,14,17];13 identifier [] name;14 ...
Update dependencies on all the fields on this Block instance.
0 module [1];1 function_definition [2,3,6];2 function_name [] CreateByteVector;3 parameters [4,5];4 identifier [] self;5 identifier [] x;6 block [7,13,19,34,55,67,84,105];7 expression_statement [8];8 call [9,12];9 attribute [10,11];10 identifier [] self;11 identifier [] assertNotNested;12 argument_list [];13 expression...
CreateString writes a byte vector.
0 module [1];1 function_definition [2,3,6];2 function_name [] _compute_acq;3 parameters [4,5];4 identifier [] self;5 identifier [] x;6 block [7,20,24,45];7 expression_statement [8];8 assignment [9,12];9 pattern_list [10,11];10 identifier [] means;11 identifier [] stds;12 call [13,18];13 attribute [14,17];14 attribute [...
Integrated GP-Lower Confidence Bound