query
stringlengths
7
33.1k
document
stringlengths
7
335k
metadata
dict
negatives
listlengths
3
101
negative_scores
listlengths
3
101
document_score
stringlengths
3
10
document_rank
stringclasses
102 values
Set the primary key value for this record.
public void setId(Object id) { this.id = id; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setPrimaryKey(String primaryKey);", "public void setPrimaryKey(String primaryKey);", "public void setPrimaryKey(String primaryKey);", "public void setPrimaryKey(int primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setPrimaryKey(long primaryKey);", "public void setP...
[ "0.7366246", "0.7366246", "0.7366246", "0.729109", "0.72714823", "0.72714823", "0.72714823", "0.72714823", "0.72714823", "0.72714823", "0.72714823", "0.72714823", "0.72714823", "0.72714823", "0.72714823", "0.72714823", "0.72714823", "0.72714823", "0.72714823", "0.72714823", "...
0.0
-1
Return true if this record is "read only".
public boolean isReadOnly() { return readOnly; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isReadOnly();", "boolean isReadOnly();", "public boolean isReadOnly() {\n checkNotUnknown();\n return (flags & ATTR_READONLY_ANY) == ATTR_READONLY;\n }", "public boolean hasReadOnly() {\n checkNotUnknown();\n return (flags & ATTR_READONLY_ANY) != 0;\n }", "public b...
[ "0.8054351", "0.8054351", "0.8033269", "0.7897936", "0.7894653", "0.7894653", "0.7894653", "0.7893476", "0.78510976", "0.7816911", "0.780646", "0.7692379", "0.7662197", "0.7608903", "0.7556759", "0.7553107", "0.75446856", "0.7509883", "0.75043035", "0.7434017", "0.7432574", ...
0.7478302
19
Set to tue to indicate that this record is "read only".
public void setReadOnly(boolean readOnly) { this.readOnly = readOnly; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setReadOnly(boolean isReadOnly);", "public void setReadonly(String readonly) {\n this.readonly = readonly;\n }", "@Override\n public void setReadOnly(boolean readonly) {\n // do nothing\n }", "@Override\n\tpublic void setReadOnly(boolean readonly) {\n\t\t\n\t}", "public v...
[ "0.7584854", "0.7560223", "0.7520384", "0.75100076", "0.74499726", "0.74499726", "0.73629636", "0.7292124", "0.7195523", "0.7166319", "0.7137584", "0.70778185", "0.70778185", "0.70778185", "0.7063675", "0.70537025", "0.70410997", "0.6991299", "0.69726557", "0.69592154", "0.69...
0.71362334
12
Return true if this record is a new record not yet persisted to the database.
public boolean isNewRecord() { return newRecord; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isNew() {\r\n\t\treturn (this.getId() == null);\r\n\t}", "public boolean isNew() {\r\n\t\treturn (this.id == null);\r\n\t}", "@Override\n\tpublic boolean isNew() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean isNew() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean isNew() ...
[ "0.77733886", "0.76743406", "0.75240606", "0.75240606", "0.75240606", "0.75024074", "0.74341416", "0.7421848", "0.73222834", "0.7302141", "0.7281074", "0.7252215", "0.72414136", "0.7149614", "0.71321696", "0.7024086", "0.69046587", "0.6892878", "0.6789518", "0.66620684", "0.6...
0.79477817
0
Get the primary key field name. The default value is "id".
public String getPrimaryKey() { if (primaryKey == null) primaryKey = "id"; return primaryKey; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static String getPrimaryKeyName() {\r\n\t\t\treturn PRIMARY_KEY_ID;\r\n\t\t}", "@Override\n\t\tpublic String getPKFieldName() {\n\t\t\treturn null;\n\t\t}", "public String getPkName() {\n\t\treturn \"id\";\n\t}", "public String naturalKeyName() {\n return idName();\n }", "protected String ...
[ "0.7831143", "0.7463665", "0.74506307", "0.74100035", "0.7318892", "0.7288644", "0.70419", "0.7033137", "0.70228463", "0.691967", "0.6878696", "0.6789447", "0.67790824", "0.6770392", "0.6755019", "0.67464435", "0.6640197", "0.6633458", "0.6630919", "0.6619408", "0.6612925", ...
0.73702127
4
Set the primary key field name.
public void setPrimaryKey(String primaryKey) { this.primaryKey = primaryKey; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\t\tpublic String getPKFieldName() {\n\t\t\treturn null;\n\t\t}", "public static String getPrimaryKeyName() {\r\n\t\t\treturn PRIMARY_KEY_ID;\r\n\t\t}", "@Override\n\tpublic String getPKFieldName() {\n\t\treturn null;\n\t}", "public void setPrimaryKey(String primaryKey);", "public void setPrimar...
[ "0.6769995", "0.6753367", "0.66591203", "0.6406387", "0.6406387", "0.6406387", "0.638279", "0.6321856", "0.6232886", "0.6086893", "0.60767525", "0.6044966", "0.60325646", "0.60305727", "0.5974295", "0.59464365", "0.5939499", "0.5910293", "0.5906731", "0.58766353", "0.58695483...
0.6004346
14
Get the sequence name. The default value is null.
public String getSequenceName() { return sequenceName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getSequenceName() {\n return sequenceName;\n }", "@Nonnull\n\tpublic String getSequenceName() {\n\t\treturn _sequenceName;\n\t}", "@Override\n public String getName() {\n return seqName;\n }", "@Nullable\n public String getSequence() {\n return XmlUtils.getAttributeValue(this...
[ "0.78650224", "0.7831568", "0.75554436", "0.7028981", "0.680661", "0.680661", "0.6788912", "0.67760724", "0.673415", "0.67279947", "0.6441644", "0.641853", "0.6411124", "0.64076483", "0.6355524", "0.628886", "0.6249079", "0.6218004", "0.61820966", "0.6168135", "0.6138349", ...
0.79152316
0
Set the sequence name.
public void setSequenceName(String sequenceName) { this.sequenceName = sequenceName; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setSequenceName(String tmp) {\n this.sequenceName = tmp;\n }", "public final void setSequence(java.lang.String sequence)\r\n\t{\r\n\t\tsetSequence(getContext(), sequence);\r\n\t}", "public synchronized void setName(Identifier name) {\n Identifier old = this.name;\n this.na...
[ "0.761984", "0.68902034", "0.6732148", "0.6704204", "0.6653793", "0.66423947", "0.66157824", "0.6612906", "0.66092014", "0.66034025", "0.6590866", "0.65875727", "0.6576541", "0.6573233", "0.65686107", "0.6557371", "0.6555044", "0.65463316", "0.6522479", "0.65218705", "0.65030...
0.73001575
1
Get the columns for this AR object. The AR object caches the columns so they only need to be looked up once from the database.
public List<Column> getColumns() { if (columns != null) return columns; columns = new ArrayList<Column>(); for (Column column : getAdapter().getColumns(getTableName())) { if (column.getName().equals(getPrimaryKey())) { column.setPrimary(true); } ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public List<IColumn> getColumns() {\r\n\t\treturn Collections.unmodifiableList(columns);\r\n\t}", "public List<Column> columns() {\n return this.columns;\n }", "public List<Column> getColumns(){\r\n\t\treturn columns;\r\n\t}", "public Columns getColumns() {\n return columns;\n }", "publ...
[ "0.73154205", "0.7295424", "0.7243521", "0.7243474", "0.7221376", "0.7144201", "0.70794564", "0.70416605", "0.7035652", "0.70230275", "0.70210063", "0.69755334", "0.6932452", "0.6925427", "0.6914265", "0.68553746", "0.6847709", "0.6809791", "0.66774374", "0.6649268", "0.66003...
0.6960607
12
SQL execution methods Read the object with the specified ID.
public ActiveRecord read(Object id) { StringBuilder sql = new StringBuilder(); sql.append("SELECT * FROM ").append(getTableName()).append(" WHERE id = ").append(id); Row row = getAdapter().selectOne(sql.toString()); if (row == null) throw new RecordNotFoundException("No record found with...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Record readRecord(Long id);", "@Override\n public Result readById(final int id) throws DaoException {\n throw new DaoException(\"Unsupported operation. Result has no id\");\n }", "@Override\r\n\tpublic Libro read(int id) {\n\t\treturn libroRepository.findById(id).get();\r\n\t}", "@Overrid...
[ "0.72857356", "0.71247125", "0.7093121", "0.70458263", "0.70185345", "0.6862199", "0.6827582", "0.6826867", "0.68024135", "0.67920804", "0.67564976", "0.6747807", "0.6702169", "0.66933566", "0.66787946", "0.66517705", "0.6631259", "0.6621602", "0.6610147", "0.65969825", "0.65...
0.7288167
0
Create the AR object and return the object's primary key.
public Object create() { executeCallbacks(CallbackType.BEFORE_CREATE); executeCallbacks(CallbackType.BEFORE_VALIDATION); executeValidations(); executeValidationsOnCreate(); executeCallbacks(CallbackType.AFTER_VALIDATION); if (errors.size() > 0) return this; Ada...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "PrimaryKey createPrimaryKey();", "public ProductoPk createPk() {\r\n return new ProductoPk(idProducto);\r\n }", "Id createId();", "PrimaryKey getPrimarykey();", "public PrimaryKey getPrimaryKey();", "Key getPrimaryKey();", "PrimaryKey getPrimaryKey();", "private Integer newPrimaryKey( )\n ...
[ "0.79248047", "0.7407648", "0.7055219", "0.6781381", "0.6736675", "0.6723978", "0.668745", "0.65865743", "0.6419466", "0.6376778", "0.6348768", "0.63472575", "0.63472575", "0.63472575", "0.6346343", "0.6312381", "0.6301586", "0.62958276", "0.61704856", "0.61509955", "0.613029...
0.7345088
2
Update the AR object in the database.
public boolean update() { executeCallbacks(CallbackType.BEFORE_UPDATE); executeCallbacks(CallbackType.BEFORE_VALIDATION); executeValidations(); executeValidationsOnUpdate(); if (errors.size() > 0) return false; executeCallbacks(CallbackType.AFTER_VALIDATION); Ad...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void update() {\n\t\tSession session = DBManager.getSession();\n\t\tsession.beginTransaction();\n\t\tsession.update(this);\n\t\tsession.getTransaction().commit();\n\t}", "protected void updateRecord() throws DAOException {\r\n\t\t// Prepara para actualizar\r\n\t\tobject.prepareToUpdate();\r\n\t\t// Actual...
[ "0.7323317", "0.7015872", "0.6886554", "0.68841094", "0.68797195", "0.6836096", "0.6822452", "0.6819432", "0.6787631", "0.67743886", "0.6708125", "0.66795397", "0.6646457", "0.6636982", "0.6613667", "0.6544018", "0.6521581", "0.64942944", "0.6473174", "0.64216006", "0.6373737...
0.6284535
28
Create or update depending on whether or not the record is new.
Object createOrUpdate() { if (isNewRecord()) { create(); } else { update(); } return this; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isNewRecord() {\n return newRecord;\n }", "boolean isNew();", "public boolean isNew(){\n return isNew;\n }", "Update createUpdate();", "@Override\n\tpublic boolean isNew() {\n\t\treturn false;\n\t}", "@Override\n\tpublic boolean isNew() {\n\t\treturn false;\n\t}", "@Over...
[ "0.6694602", "0.6616974", "0.635442", "0.63342613", "0.61897796", "0.61897796", "0.61897796", "0.601263", "0.6005118", "0.5943089", "0.58624583", "0.5846627", "0.5838294", "0.5804779", "0.57995385", "0.57731706", "0.5736465", "0.57344013", "0.57334447", "0.5731546", "0.569397...
0.63480026
3
Save the current AR object. This will either create or update the record as needed.
public boolean save() { executeCallbacks(CallbackType.BEFORE_SAVE); if (readOnly) throw new ReadOnlyException(getClass().getName() + " is read only"); createOrUpdate(); executeCallbacks(CallbackType.AFTER_SAVE); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void save() {\n close();\n if(saveAction != null) {\n saveAction.accept(getObject());\n }\n }", "public void save(){\r\n\t\tmanager.save(this);\r\n\t}", "@Override\r\n\tpublic void save() {\n\r\n\t\ts.save();\r\n\r\n\t}", "protected void saveRecord() throws DAOExc...
[ "0.71602744", "0.6952691", "0.6697837", "0.6623154", "0.66202444", "0.64978117", "0.6479569", "0.64586735", "0.64586735", "0.64586735", "0.64586735", "0.6455731", "0.6372025", "0.6370997", "0.63362217", "0.63281333", "0.62932837", "0.628967", "0.62734884", "0.6272568", "0.625...
0.6049819
40
Destroy the AR object.
public boolean destroy() { executeCallbacks(CallbackType.BEFORE_DESTROY); Adapter adapter = getAdapter(); StringBuilder sql = new StringBuilder(); sql.append("DELETE FROM "); sql.append(getTableName()); sql.append(" WHERE "); sql.append(getPrimaryKey()); s...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void destroy() {\n this.game.deleteObject(this);\n }", "public void destroy() {\n \t\n }", "public void destroy() {}", "public void destroy() {}", "public void destroy() {\r\n }", "public void destroy()\r\n\t{\n\t\t\r\n\t}", "public void destroy();", "public void destroy();"...
[ "0.7305596", "0.72900736", "0.70967084", "0.70967084", "0.7051003", "0.703052", "0.7026718", "0.7026718", "0.7026718", "0.7026718", "0.7026718", "0.7026718", "0.7026718", "0.7026718", "0.7025654", "0.70225996", "0.70225996", "0.70225996", "0.70225996", "0.7012543", "0.7012543...
0.0
-1
Validation method which can be overriden in subclasses. Default behavior is no op.
protected void validate() { // no op }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected void validate() {\n // no implementation.\n }", "@Override\r\n public void validate() {\r\n }", "@Override\n\tpublic void validate() {\n\t\tsuper.validate();\n\t}", "@Override\r\n\tprotected void validate() {\n\t}", "@Override\n\tpublic void validate()\n\t{\n\n\t}", "@Override\r...
[ "0.85322756", "0.82313764", "0.81727815", "0.8161683", "0.8155306", "0.8143616", "0.811385", "0.81100345", "0.8107198", "0.8107198", "0.8107198", "0.80253565", "0.80253565", "0.80161583", "0.80161583", "0.7752208", "0.77258754", "0.7586966", "0.75708395", "0.75674844", "0.754...
0.83497655
1
Get the named attribute
public Object attribute(String name) { return Classes.getFieldValue(this, name); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Object getAttribute(String name);", "Object getAttribute(String name);", "Object getAttribute(String name);", "Object getAttribute(String name);", "public String getAttribute(String name);", "Attribute getAttribute();", "java.lang.String getAttribute();", "String getAttribute();", "Object ge...
[ "0.8102713", "0.8061539", "0.8061539", "0.8061539", "0.80069846", "0.7933406", "0.7928364", "0.7858643", "0.7682532", "0.7654334", "0.7617404", "0.75513047", "0.7530609", "0.74774426", "0.74104184", "0.74095464", "0.7316885", "0.7279247", "0.7279247", "0.72202104", "0.7198141...
0.77139604
8
Return the attributes of the object as a hash map.
public Map<String, Object> attributes() { Map<String, Object> attributes = new HashMap<String, Object>(); for (Column column : getColumns()) { String name = Strings.camelize(column.getName(), true); attributes.put(name, attribute(name)); } return attributes; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Map<String, Object> getAttributes();", "public Map<String, Object> getAttributes();", "Map<String, Object> getAttributes();", "Map<String, Object> getAttributes();", "Map<String, Object> getAttributes();", "public abstract Map<String, Object> getAttributes();", "public Map<String, String> getAtt...
[ "0.7916293", "0.7916293", "0.7851581", "0.7851581", "0.7851581", "0.77082896", "0.75877506", "0.7563357", "0.7505997", "0.73599255", "0.7330512", "0.7307378", "0.7277739", "0.70739925", "0.70479625", "0.70371056", "0.6995398", "0.69507664", "0.6919525", "0.6901364", "0.688826...
0.7099501
13
Return the attributes of the object with the values quoted.
Map<String, ?> attributesWithQuotes() { return attributesWithQuotes(true); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private String getCustomAttributes() {\n StringBuilder sb = new StringBuilder();\n\n customAttribute.forEach((key, value) -> {\n sb.append(key).append(\"='\").append(value).append(\"' \");\n });\n\n return sb.toString().trim();\n }", "private String getDataAttributes() {...
[ "0.6998007", "0.6739201", "0.6692699", "0.6689538", "0.64867467", "0.6383645", "0.6374451", "0.61921024", "0.61635125", "0.6130887", "0.6117072", "0.6111309", "0.6050549", "0.593491", "0.58158", "0.58020496", "0.58020496", "0.58020496", "0.575552", "0.5736586", "0.5736586", ...
0.73258024
0
Return the attributes of the object with the values quoted.
Map<String, ?> attributesWithQuotes(boolean includePrimaryKey) { Adapter adapter = getAdapter(); Map<String, String> quoted = new HashMap<String, String>(); for (Map.Entry<String, Object> entry : attributes().entrySet()) { String name = entry.getKey(); Column column = get...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Map<String, ?> attributesWithQuotes() {\n return attributesWithQuotes(true);\n }", "private String getCustomAttributes() {\n StringBuilder sb = new StringBuilder();\n\n customAttribute.forEach((key, value) -> {\n sb.append(key).append(\"='\").append(value).append(\"' \");\n ...
[ "0.73258024", "0.6998007", "0.6739201", "0.6692699", "0.64867467", "0.6383645", "0.6374451", "0.61921024", "0.61635125", "0.6130887", "0.6117072", "0.6111309", "0.6050549", "0.593491", "0.58158", "0.58020496", "0.58020496", "0.58020496", "0.575552", "0.5736586", "0.5736586", ...
0.6689538
4
Return a String with all of the attributes in the given map quoted.
String quotedCommaPairList(Map<String, ?> attributes) { StringBuilder sb = new StringBuilder(); Iterator entries = attributes.entrySet().iterator(); while (entries.hasNext()) { Map.Entry<String, ?> entry = (Map.Entry<String, ?>) entries.next(); sb.append(entry.getKey()).a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Map<String, ?> attributesWithQuotes() {\n return attributesWithQuotes(true);\n }", "Map<String, ?> attributesWithQuotes(boolean includePrimaryKey) {\n Adapter adapter = getAdapter();\n Map<String, String> quoted = new HashMap<String, String>();\n for (Map.Entry<String, Object> entr...
[ "0.7122971", "0.69652057", "0.69118583", "0.6873142", "0.6774736", "0.6616765", "0.64569736", "0.63043576", "0.613211", "0.60839987", "0.6052383", "0.60243446", "0.6013791", "0.5995483", "0.59951675", "0.59572953", "0.5946067", "0.5916013", "0.59058106", "0.5904154", "0.58557...
0.71807075
0
Get the column instance for the named attribute.
Column getColumnForAttribute(String name) { name = Strings.underscore(name); for (Column column : getColumns()) { if (column.getName().equals(name)) return column; } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Column getColumn(String columnName);", "public IColumn getColumn(String name) throws ETLException {\r\n\t\tIColumn col = columnMap.get(name);\r\n\t\tif (col == null) {\r\n\t\t\tcol = aliasMap.get(name);\r\n\t\t\tif (col == null) {\r\n\t\t\t\tthrow new ETLException(\"A column with the name '\" + name + \"'...
[ "0.6692892", "0.6435769", "0.6188191", "0.6170836", "0.61542445", "0.6145437", "0.60236543", "0.5953239", "0.59102327", "0.5909097", "0.5908846", "0.5889091", "0.5885192", "0.5876931", "0.58041567", "0.58029497", "0.57752633", "0.5705883", "0.57022786", "0.56665343", "0.56542...
0.7575844
0
Fill the active record object with data from the row.
void fill(Row row) { if (row == null) return; for (Column column : getColumns()) { String name = column.getName(); Object value = row.get(name); Classes.setFieldValue(this, name, value); } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private RowData() {\n initFields();\n }", "private void fillData() {\n table.setRowList(data);\n }", "@Override\n public T apply(Row row, RowMetadata metadata) {\n Collection<String> columnNames = metadata.getColumnNames();\n\n if (columnNames.size() == 1) {\n Clas...
[ "0.6262555", "0.5762298", "0.5721855", "0.56830746", "0.56769955", "0.5661732", "0.565376", "0.5584463", "0.55427533", "0.54944766", "0.54888797", "0.5459086", "0.5446754", "0.54450005", "0.54251856", "0.5424038", "0.54150313", "0.5398159", "0.5382728", "0.5381763", "0.537095...
0.7521081
0
Read all associations and construct proxies.
void readAssociations() { // proxy the collections for lazy loading Class c = getClass(); for (Field f : c.getDeclaredFields()) { for (Annotation a : f.getAnnotations()) { if (a.annotationType().equals(HasMany.class)) { HasManyProxy proxyHandler = ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void loadAssociations() {\n\n\t\tinitListSettingNames();\n\n\t\taddDefaultAssociations();\n\t}", "private void readEntityRelationships() {\n List<DeployBeanPropertyAssocOne<?>> primaryKeyJoinCheck = new ArrayList<>();\n for (DeployBeanInfo<?> info : deployInfoMap.values()) {\n checkMappedBy(inf...
[ "0.6333439", "0.5894991", "0.57077366", "0.53904223", "0.5297217", "0.528794", "0.5262558", "0.52515984", "0.5194604", "0.5107245", "0.5061253", "0.50580853", "0.50315404", "0.50192845", "0.4982824", "0.49567416", "0.49235117", "0.49235117", "0.48668602", "0.48666206", "0.486...
0.77528065
0
Execute the registered callbacks for the specified type.
void executeCallbacks(CallbackType callbackType) { System.out.println("Executing callbacks: " + callbackType); List<Method> methods = callbacks.get(callbackType); if (methods == null) return; for (Method m : methods) { try { m.setAccessible(true); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void execute(EVENT_TYPE type) {\n\n\t\tswitch (type){\n\t\t\tcase DENATURE:\n\t\t\t\tdenature();\n\t\t\t\tbreak;\n\t\t\tcase INFECT:\n\t\t\t\tinfect();\n\t\t\t\tbreak;\n\t\t\tcase SWITCHPHASE:\n\t\t\t\tswitchPhase();\n\t\t\t\tbreak;\n\t\t\tcase SECRETE:\n\t\t\t\tsecrete();\n\t\t\t\tbreak;\n\t\t\tdefault:\n\...
[ "0.65350753", "0.61625725", "0.6114762", "0.56366885", "0.55772513", "0.5562062", "0.55195904", "0.52962524", "0.5273336", "0.52385324", "0.52266604", "0.5188801", "0.5091889", "0.5072407", "0.49877703", "0.49802482", "0.4959363", "0.4947373", "0.4899409", "0.48736605", "0.48...
0.7268872
0
int color = mBackgroundColor.getColor(); mLayout.setBackgroundColor(color);
@Override public void onClick(View v) { if(radio_g.getCheckedRadioButtonId()==-1) { Toast.makeText(getApplicationContext(), "Please select one choice", Toast.LENGTH_SHORT).show(); return; } RadioButton u...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void setBackgroundColor(int backgroundColor) {\n }", "private void setBackgroundColor(int red) {\n\t\tint bgColor = Color.argb(255, red, 0, 0);\n\t\tlayout.setBackgroundColor(bgColor);\n\t}", "public void setBg(){\n this.setBackground(color);\n }", "private void updateColor() {...
[ "0.75708795", "0.739861", "0.7164236", "0.71502155", "0.70627594", "0.7054517", "0.6946419", "0.68958735", "0.6824272", "0.68123764", "0.6804095", "0.6749935", "0.66640157", "0.6656885", "0.6615554", "0.6584057", "0.6526902", "0.6523523", "0.6514562", "0.64969885", "0.6474806...
0.0
-1
TestClassA testClassA = new TestClassA(); TestClassB testClassB = new TestClassB(); String data = PubSubLibrary.getInstance().getInternalData();
public static void main(String[] args) throws Exception { TransactionCompleteEvent event1 = new TransactionCompleteEvent("TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTt"); DownloadFinishEvent event2 = new DownloadFinishEvent("DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD"); //PubSubLibrary.getInstance().pub...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic void testPublisherAndSubscriber() throws Exception {\n\t\tString address = \"kafka://[localhost:9092]&topic=junk\";\n\n\t\tZPublisher z = new ZPublisher(address);\n CountDownLatch latch = new CountDownLatch(2);\n\n List list = new ArrayList();\n\n com.jacamars.dsp.rtb.jmq.RTopi...
[ "0.5307041", "0.5292451", "0.52581745", "0.52421564", "0.52376604", "0.5233735", "0.5202272", "0.5199989", "0.5183984", "0.51614136", "0.51525056", "0.5135764", "0.51112944", "0.50757957", "0.5059472", "0.50469315", "0.5005035", "0.49985388", "0.49701276", "0.49297547", "0.49...
0.6202932
0
Called when the activity is first created.
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); /* 載入main.xml Layout */ setContentView(R.layout.main); /* 取得螢幕解析度大小 */ DisplayMetrics dm=new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(dm); displayWidth=dm.width...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\n\t\tinit();\n\t}", "@Override\r\n\tpublic void onActivityCreated(Bundle savedInstanceState) {\n\t\tsuper.onActivityCreated(savedInstanceState);\r\n\t}", "@Override\n\tpublic void onActivit...
[ "0.791686", "0.77270156", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7693263", "0.7637394", "0.7637394", "0.7629958", "0.76189965", "0.76189965", "0.7543775", "0.7540053", "0.7540053", "0.7539505", "0.75269467", "0.75147736", "0.7509639", "0.7500879",...
0.0
-1
Complete the plusMinus function below.
static void plusMinus(int[] arr) { int positive=0, negative=0, zeroes=0; List<String> list = new ArrayList<>(); for(int a: arr) { if(a>0) { positive = positive+1; } if(a<0) { negative = negative+1; } else if(a...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Minus createMinus();", "Minus createMinus();", "Minus createMinus();", "public void subtract() {\n\t\t\n\t}", "void visit(MinusExpression expression);", "@Override\n\tpublic Void visit(Minus minus) {\n\t\tprintIndent(minus.token.getText());\n\t\tindent++;\n\t\tminus.left.accept(this);\n\t\tminus.right.ac...
[ "0.72313356", "0.72313356", "0.72313356", "0.69256985", "0.6852938", "0.6601774", "0.6600962", "0.6565051", "0.6549852", "0.64649856", "0.6439398", "0.6433087", "0.64048064", "0.6364123", "0.63504225", "0.6343642", "0.61950314", "0.61907214", "0.6179473", "0.61740553", "0.616...
0.0
-1
Players list, automatically fetched by the controller
public static void main(String[] args) { players.add("Dealer"); players.add("Player 1"); launch(); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@RequestMapping(\"/players\")\n public List<Player> getAllPlayers() {\n return playerService.getPlayerList();\n }", "List<Player> listPlayers();", "List<Player> getPlayers();", "private void getPlayerList(){\r\n\r\n PlayerDAO playerDAO = new PlayerDAO(Statistics.this);\r\n players ...
[ "0.8345716", "0.8123052", "0.8073085", "0.7844603", "0.78410155", "0.7820929", "0.7772629", "0.7656261", "0.75980645", "0.7562416", "0.7562416", "0.75374436", "0.75034964", "0.74969214", "0.734463", "0.7344259", "0.73015547", "0.7211929", "0.714088", "0.71232355", "0.7113068"...
0.0
-1
this is where we add all of our related advice for logging
@AfterReturning( pointcut="execution(* aopdemo.dao.AccountDAO.findAccounts(..))", returning="result") public void afterReturningFindAccountsAdvice( JoinPoint theJoinPoint, List<Account> result) { // print out which method are we advising on String method = theJoinPoint.getSignature().toShortString(); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface LoggingAspect {\r\n\r\n\t/**\r\n\t * Log before any joinpoint execution. This is typically a class function,\r\n\t * but could be another aspect advisor as well. The implementation will provide any\r\n\t * advice.\r\n\t *\r\n\t * @param joinPoint the join point (descibed by the pointcut)\r\n\t */\...
[ "0.6434159", "0.6405475", "0.6299942", "0.6282367", "0.62467843", "0.6159572", "0.614713", "0.6126184", "0.60140127", "0.601365", "0.5967947", "0.5963825", "0.59311664", "0.5925556", "0.5920186", "0.59120524", "0.59072155", "0.5883055", "0.58714825", "0.5822934", "0.5815466",...
0.0
-1
Inflate the layout for this fragment
@Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View rootView = inflater.inflate(R.layout.fragment_login, container, false); // Non-activity binding for butterknife ButterKnife.bind(this, rootView); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public View onCreateView(LayoutInflater inflater, ViewGroup container,\n Bundle savedInstanceState) {\n return inflater.inflate(R.layout.fragment_main_allinfo, container, false);\n }", "@Override\r\n\tpublic View onCreateView(LayoutInflater inflater, ViewGroup...
[ "0.6739604", "0.67235583", "0.6721706", "0.6698254", "0.6691869", "0.6687986", "0.66869223", "0.6684548", "0.66766286", "0.6674615", "0.66654444", "0.66654384", "0.6664403", "0.66596216", "0.6653321", "0.6647136", "0.66423255", "0.66388357", "0.6637491", "0.6634193", "0.66251...
0.0
-1
/ renamed from: com.google.android.gms.internal.ads.sl
public interface C4150sl { /* renamed from: a */ void mo15005a(C4143se seVar); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void onAdFailedToLoad(int errorCode) {\n }", "@Override\n public void onAdFailedToLoad(int errorCode) {\n Log.d(\"TAG\",\"Ad failed to load\");\n }", "@Override\n public void onAdOpened() {\...
[ "0.6158134", "0.60691136", "0.6029066", "0.5956471", "0.5940178", "0.5940158", "0.58932483", "0.5880562", "0.5880562", "0.5875349", "0.58275", "0.58275", "0.58275", "0.58271646", "0.5826526", "0.5781284", "0.57746094", "0.57707787", "0.5758133", "0.5755993", "0.57466793", "...
0.0
-1
/ renamed from: a
void mo15005a(C4143se seVar);
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public interface C4521a {\n /* renamed from: a */\n void mo12348a();\n }", "public interface C1423a {\n /* renamed from: a */\n void mo6888a(int i);\n }", "interface bxc {\n /* renamed from: a */\n void mo2508a(bxb bxb);\n}", "interface C33292a {\n /* renamed fr...
[ "0.62497115", "0.6242887", "0.61394435", "0.61176854", "0.6114027", "0.60893", "0.6046901", "0.6024682", "0.60201293", "0.5975212", "0.59482527", "0.59121317", "0.5883635", "0.587841", "0.58703005", "0.5868436", "0.5864884", "0.5857492", "0.58306104", "0.5827752", "0.58272064...
0.0
-1
TODO Autogenerated method stub
@Override @Transactional public boolean verser(String code, double montant, Long codeEmp) { Compte cp = compteRepository.findOne(code); Employe e = employeRepository.findOne(codeEmp); Operation o = new Versment(); o.setDateOperation(new Date()); o.setMontant(montant); o.setEmploye(e); o.setCompte(cp); ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override @Transactional public boolean retirer(String code, double montant, Long codeEmp) { Compte cp = compteRepository.findOne(code); if (cp.getSolde() < montant) throw new RuntimeException("Solde insuffisant"); Employe e = employeRepository.findOne(codeEmp); Operation o = new Retrait(); o.setDateOper...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
TODO Autogenerated method stub
@Override @Transactional public boolean virement(String cpte1, String cpte2, double montant, Long codeEmp) { retirer(cpte1, montant, codeEmp); verser(cpte2, montant, codeEmp); return true; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void comer() \r\n\t{\n\t\t\r\n\t}", "@Override\n\tpublic void comer() {\n\t\t\n\t}", "@Override\n public void perish() {\n \n }", "@Override\r\n\t\t\tpublic void annadir() {\n\r\n\t\t\t}", "@Override\n\tpublic void anular() {\n\n\t}", "@Override\n\tprotected void getExr...
[ "0.6671074", "0.6567672", "0.6523024", "0.6481211", "0.6477082", "0.64591026", "0.64127725", "0.63762105", "0.6276059", "0.6254286", "0.623686", "0.6223679", "0.6201336", "0.61950207", "0.61950207", "0.61922914", "0.6186996", "0.6173591", "0.61327106", "0.61285484", "0.608016...
0.0
-1
// getter and setters
public void setRestaurantFinderController(RestaurantFinderController restaurantFinderController) { this.restaurantFinderController = restaurantFinderController; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\n public void get() {}", "@Override\r\n\tpublic void get() {\n\t\t\r\n\t}", "@Override\n\tprotected void getData() {\n\t\t\n\t}", "@Override\n\tprotected void getExras() {\n\n\t}", "public void get() {\n }", "@Override\n protected void getExras() {\n }", "@Override\n\tpublic void gr...
[ "0.64361036", "0.64070106", "0.62569207", "0.61077815", "0.60224533", "0.6021523", "0.600224", "0.59138685", "0.5906166", "0.59028125", "0.5895478", "0.5885221", "0.5885221", "0.5884566", "0.5881014", "0.5856976", "0.5853947", "0.5831304", "0.58297783", "0.5820907", "0.581148...
0.0
-1
================================================================================ Thrift IDL ================================================================================ [1] Document ::= Header Definition
Rule Document() { // Push 1 DocumentNode onto the value stack return Sequence( WhiteSpace(), ZeroOrMore(Header()), ZeroOrMore(Definition()), EOI, actions.pushDocumentNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public CouchDoc() {\n super();\n docType = getClass().getSimpleName();\n }", "public interface DocumentDefinition extends NodeDefinition {\n\n String getContentPath();\n\n String getMimeType();\n\n String getEncoding();\n}", "public OpenDefinitionsDocument getDocument() { return _document; }", ...
[ "0.61595875", "0.6120059", "0.5976666", "0.58985555", "0.5878655", "0.58371466", "0.5815336", "0.57236814", "0.57222444", "0.57134926", "0.57051843", "0.55934036", "0.55484444", "0.5538839", "0.5533011", "0.55323744", "0.55320954", "0.5523573", "0.5520356", "0.5507722", "0.54...
0.6387015
0
[2] Header ::= Include | CppInclude | Namespace
Rule Header() { // Push 1 HeaderNode onto the value stack return Sequence( FirstOf( Include(), CppInclude(), Namespace()), actions.pushHeaderNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Rule CppInclude() {\n // Push 1 CppIncludeNode onto the value stack\n return Sequence(\n \"cpp_include\",\n WhiteSpace(),\n Literal(),\n actions.pushCppIncludeNode(),\n WhiteSpace());\n }", "public final void header() thr...
[ "0.6466349", "0.64653563", "0.59144264", "0.573353", "0.56292903", "0.5592456", "0.5589398", "0.55567795", "0.54993033", "0.5480885", "0.54779214", "0.54492337", "0.5441579", "0.54312766", "0.5421922", "0.5421327", "0.54170007", "0.53970003", "0.5396203", "0.5371511", "0.5359...
0.74999064
0
[3] Include ::= 'include' Literal
Rule Include() { // Push 1 IncludeNode onto the value stack return Sequence( "include", WhiteSpace(), Literal(), actions.pushIncludeNode(), WhiteSpace()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public IAstPreprocessorIncludeDirective findInclude(String string);", "public IAstPreprocessorIncludeDirective findInclude(ISourceFile file);", "private static void includeExtract(IASTPreprocessorIncludeStatement include) {\n\t\tvxlFragment.append(VxlManager.includeDirective(StringProcessor.processString(inclu...
[ "0.7548147", "0.73958415", "0.72728175", "0.7267384", "0.7210045", "0.7027874", "0.69205445", "0.6891451", "0.68057287", "0.6763912", "0.67368716", "0.66993505", "0.6665261", "0.6657499", "0.66456205", "0.66338", "0.6507857", "0.6503018", "0.64693594", "0.6363998", "0.6249715...
0.82548976
0
[4] CppInclude ::= 'cpp_include' Literal
Rule CppInclude() { // Push 1 CppIncludeNode onto the value stack return Sequence( "cpp_include", WhiteSpace(), Literal(), actions.pushCppIncludeNode(), WhiteSpace()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mINCLUDE() throws RecognitionException {\r\n try {\r\n int _type = INCLUDE;\r\n int _channel = DEFAULT_TOKEN_CHANNEL;\r\n // C:\\\\sandbox\\\\objc2j\\\\src\\\\ru\\\\andremoniy\\\\objctojavacnv\\\\antlr\\\\Preprocessor.g:265:9: ( '#include' )\r\n ...
[ "0.68524045", "0.67614865", "0.66286886", "0.65754414", "0.61778665", "0.6165447", "0.583312", "0.5830341", "0.57390136", "0.56376874", "0.5601626", "0.55490136", "0.54291993", "0.5315547", "0.53131574", "0.5220682", "0.5196271", "0.5194236", "0.517101", "0.51684934", "0.5142...
0.8675128
0
[5] Namespace ::= ( 'namespace' ( NamespaceScope Identifier ) | ( 'smalltalk.category' STIdentifier ) | ( 'smalltalk.prefix' Identifier ) ) | ( 'php_namespace' Literal ) | ( 'xsd_namespace' Literal )
Rule Namespace() { // No direct effect on value stack return FirstOf( ScopedNamespace(), PhpNamespace(), XsdNamespace()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "void setNamespace(java.lang.String namespace);", "java.lang.String getNamespace();", "String getNamespace();", "String getNamespace();", "String getNamespace();", "public String getNamespace();", "public void setNamespace(String namespace) {\n\t\t\r\n\t}", "void setNamespace(String namespace);", "p...
[ "0.75869775", "0.738055", "0.73423517", "0.73423517", "0.73423517", "0.72474056", "0.7226299", "0.72193986", "0.71415675", "0.70728993", "0.7067858", "0.7043384", "0.7026815", "0.7026815", "0.69507694", "0.6912392", "0.69095415", "0.6881745", "0.683686", "0.6787506", "0.67744...
0.69739175
14
Push 1 PhpNamespaceNode onto the value stack
Rule PhpNamespace() { return Sequence( "php_namespace", Literal(), actions.pushPhpNamespaceNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Rule NamespaceScope() {\n // Push 1 LiteralNode onto the value stack\n return Sequence(\n FirstOf(\n \"* \",\n \"cpp \",\n \"java \",\n \"py \",\n \"perl \",\n ...
[ "0.5987498", "0.59658253", "0.5866002", "0.5727671", "0.56821764", "0.5562612", "0.54200435", "0.523383", "0.5211186", "0.5148974", "0.51226705", "0.51226705", "0.51226705", "0.51096654", "0.50731647", "0.5063305", "0.5055371", "0.50542027", "0.49812376", "0.49803028", "0.493...
0.5822824
3
Push 1 XsdNamespaceNode onto the value stack
Rule XsdNamespace() { return Sequence( "xsd_namespace", Literal(), actions.pushXsdNamespaceNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract XML addNamespace(Namespace ns);", "public void add(AXSDSchema value)throws AException\n {\n if(value==null)throw new AException(\"value=null\");\n if(value.getNamespaceURI().isEmpty())throw new AException(\"NamespaceURI of value is empty\");\n for(int q=0;q<PGetCount();q++)\n {\n AXSDSchema schema...
[ "0.638146", "0.6184838", "0.59907746", "0.56184477", "0.5529366", "0.55126846", "0.5454749", "0.54413116", "0.5388589", "0.5379574", "0.5284713", "0.52556175", "0.5243553", "0.52174455", "0.52090025", "0.5200061", "0.5179846", "0.5157012", "0.51539534", "0.5121009", "0.510052...
0.5594981
4
No direct effect on value stack
Rule ScopedNamespace() { return Sequence( "namespace ", ScopeAndId()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StackManipulation cached();", "public void push( int value ) throws StackOverflowException { }", "private void uminus() throws Exception{\n\t\tif(stackEmpty()) throw new Exception(\"Stack ist leer\");\n\t\telse{\n\t\t\tvalue1=stack.pop();\n\t\t\tstack.push(value1*(-1));\n\t\t}\n\t\t\n\t}", "private void _vis...
[ "0.68241024", "0.624828", "0.62015027", "0.6184414", "0.6032277", "0.60123724", "0.59601", "0.5953586", "0.5925618", "0.5925618", "0.5925618", "0.5921065", "0.5888733", "0.5879004", "0.586973", "0.58564377", "0.5855418", "0.5838478", "0.5828723", "0.58212775", "0.5815702", ...
0.0
-1
No direct effect on value stack
Rule ScopeAndId() { return FirstOf( GeneralScopeAndId(), StCategoryScopeAndId(), StPrefixScopeAndId() ); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StackManipulation cached();", "public void push( int value ) throws StackOverflowException { }", "private void uminus() throws Exception{\n\t\tif(stackEmpty()) throw new Exception(\"Stack ist leer\");\n\t\telse{\n\t\t\tvalue1=stack.pop();\n\t\t\tstack.push(value1*(-1));\n\t\t}\n\t\t\n\t}", "private void _vis...
[ "0.68241024", "0.624828", "0.62015027", "0.6184414", "0.6032277", "0.60123724", "0.59601", "0.5953586", "0.5925618", "0.5925618", "0.5925618", "0.5921065", "0.5888733", "0.5879004", "0.586973", "0.58564377", "0.5855418", "0.5838478", "0.5828723", "0.58212775", "0.5815702", ...
0.0
-1
Push 1 GeneralNamespaceNode onto the value stack
Rule GeneralScopeAndId() { return Sequence( NamespaceScope(), Identifier(), actions.pushGeneralNamespaceNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "abstract XML addNamespace(Namespace ns);", "@Override\r\n\tpublic void push(AnyType data) throws StackException {\n\t\ttop = new Node<AnyType>(data,top);\r\n\t}", "protected NamespaceStack createNamespaceStack() {\r\n // actually returns a XMLOutputter.NamespaceStack (see below)\r\n return new Name...
[ "0.59096354", "0.5526653", "0.5381921", "0.5373256", "0.5253996", "0.52414787", "0.51911086", "0.5167845", "0.5134694", "0.5123005", "0.50876325", "0.5052046", "0.50277644", "0.49809813", "0.49489778", "0.4909593", "0.49077487", "0.48884407", "0.4886286", "0.4879368", "0.4866...
0.4471571
99
Push 1 StCategoryNamespaceNode onto the value stack
Rule StCategoryScopeAndId() { return Sequence( "smalltalk.category", STIdentifier(), actions.pushStCategoryNamespaceNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Rule NamespaceScope() {\n // Push 1 LiteralNode onto the value stack\n return Sequence(\n FirstOf(\n \"* \",\n \"cpp \",\n \"java \",\n \"py \",\n \"perl \",\n ...
[ "0.556252", "0.5520007", "0.51496506", "0.5130719", "0.5085379", "0.5022008", "0.5000788", "0.49625334", "0.49152744", "0.48952752", "0.48554492", "0.48327392", "0.48151657", "0.47621566", "0.47307298", "0.47290558", "0.4697038", "0.46962595", "0.46870118", "0.46860993", "0.4...
0.5356426
2
Push 1 StPrefixNamespaceNode onto the value stack
Rule StPrefixScopeAndId() { return Sequence( "smalltalk.prefix", Identifier(), actions.pushStPrefixNamespaceNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void start_ns(Object parser, String prefix, String uri) {\n Array.array_push(this.ns_decls, new Array<Object>(new ArrayEntry<Object>(prefix), new ArrayEntry<Object>(uri)));\r\n }", "public void createPrefixS(){\n\t \tprefixS = new Stack<Node>();\n\t \tprefixS.push(root);\n\t }", "void...
[ "0.69529486", "0.6776853", "0.65922916", "0.6072684", "0.603903", "0.59855586", "0.5983269", "0.5983269", "0.5983269", "0.5983269", "0.5983269", "0.59265643", "0.5920762", "0.5920762", "0.5920762", "0.5920762", "0.5920762", "0.5920762", "0.5920762", "0.5920762", "0.5920762", ...
0.6468179
3
[6] NamespaceScope ::= '' | 'cpp' | 'java' | 'py' | 'perl' | 'rb' | 'cocoa' | 'csharp'
Rule NamespaceScope() { // Push 1 LiteralNode onto the value stack return Sequence( FirstOf( "* ", "cpp ", "java ", "py ", "perl ", "php ", ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Rule ScopedNamespace() {\n return Sequence(\n \"namespace \",\n ScopeAndId());\n }", "java.lang.String getNamespace();", "String getNamespace();", "String getNamespace();", "String getNamespace();", "String getScope();", "public String getNamespace();", "String...
[ "0.75037706", "0.69795406", "0.68567425", "0.68567425", "0.68567425", "0.67871463", "0.6654703", "0.65667593", "0.6559777", "0.63910437", "0.63884497", "0.63747257", "0.62880385", "0.6251794", "0.6217834", "0.62106293", "0.61521786", "0.61521786", "0.6126525", "0.6121799", "0...
0.7864296
0
[7] Definition ::= Const | Typedef | Enum | Senum | Struct | Union | Exception | Service
Rule Definition() { // Push 1 DefinitionNode onto the stack return Sequence( FirstOf( Const(), Typedef(), Enum(), Senum(), Struct(), Union()...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setDefinition(String definition){\n\t\tthis.definition = definition;\n\t}", "Definition createDefinition();", "String getDefinition();", "public String getDefinition(){\n\t\treturn definition;\n\t}", "public interface DefinitionFactory {\n\n\tMutableComplexTypeDefinition createComplexTypeDefini...
[ "0.69780254", "0.6904125", "0.6641353", "0.6580848", "0.65459657", "0.651941", "0.6517228", "0.64554083", "0.64173615", "0.6289292", "0.62774837", "0.6247622", "0.62330085", "0.62093246", "0.6193727", "0.61318856", "0.61318856", "0.61244684", "0.60920876", "0.60920876", "0.60...
0.7710255
0
[8] Const ::= 'const' FieldType Identifier '=' ConstValue ListSeparator?
Rule Const() { // Push 1 ConstNode onto the value stack StringVar constName = new StringVar(""); return Sequence( "const ", FieldType(), Identifier(), actions.pop(), ACTION(constName.set(match())), "=...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Rule EnumConst() {\n return Sequence(\n \"= \",\n IntConstant(),\n WhiteSpace());\n }", "private void parseConstDecl() {\n check(Token.FINAL);\n\n Struct type = parseType();\n\n check(Token.IDENT);\n\n String constName = token.str...
[ "0.73998463", "0.73971295", "0.72405523", "0.7070782", "0.6958897", "0.6750559", "0.6741293", "0.65795183", "0.65661335", "0.64521337", "0.6355978", "0.63467985", "0.63435256", "0.6306337", "0.62067324", "0.6143362", "0.608406", "0.60636413", "0.60509974", "0.5999076", "0.597...
0.8188327
0
[9] Typedef ::= 'typedef' DefinitionType Identifier
Rule Typedef() { // Push 1 TypedefNode onto the value stack return Sequence( "typedef ", DefinitionType(), Identifier(), actions.pushTypedefNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Override\r\n\tpublic void visit(TypedefDefinition typedefDefinition) {\n\r\n\t}", "TypeDefinition createTypeDefinition();", "public TypeDefinition tdef(String n){\n TypeDefinition rc = isType(n);\n if (rc == null){\n return(null);\n }\n else\n return(rc);\n ...
[ "0.74985325", "0.69562787", "0.65036964", "0.6408502", "0.6378081", "0.6310233", "0.6029605", "0.58811736", "0.5824529", "0.5727693", "0.5664339", "0.56506956", "0.56205624", "0.56016225", "0.55868024", "0.55833685", "0.5537231", "0.5535553", "0.553544", "0.55078775", "0.5505...
0.8222982
0
Push 1 EnumValue node onto the value stack
Rule EnumValue() { return Sequence( Identifier(), Optional(EnumConst()), Optional(ListSeparator()), WhiteSpace(), actions.pushEnumValueNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void addValue() {\n addValue(1);\n }", "public void push(T value) {\n \tstack.add(value);\n }", "@Override\n public void push(int value) {\n Entry newElement = new Entry(value);\n if (size == 0) {\n first = newElement;\n last = newElement;\n ...
[ "0.65560067", "0.6303054", "0.61353165", "0.6126813", "0.611114", "0.609969", "0.6069783", "0.603035", "0.6029718", "0.5915805", "0.59150004", "0.5901821", "0.5817882", "0.58113253", "0.58031654", "0.57537335", "0.5739355", "0.57176316", "0.5675294", "0.5662135", "0.5652478",...
0.53894985
38
No direct effect on value stack
Rule EnumConst() { return Sequence( "= ", IntConstant(), WhiteSpace()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StackManipulation cached();", "public void push( int value ) throws StackOverflowException { }", "private void uminus() throws Exception{\n\t\tif(stackEmpty()) throw new Exception(\"Stack ist leer\");\n\t\telse{\n\t\t\tvalue1=stack.pop();\n\t\t\tstack.push(value1*(-1));\n\t\t}\n\t\t\n\t}", "private void _vis...
[ "0.68241024", "0.624828", "0.62015027", "0.6184414", "0.6032277", "0.60123724", "0.59601", "0.5953586", "0.5925618", "0.5925618", "0.5925618", "0.5921065", "0.5888733", "0.5879004", "0.586973", "0.58564377", "0.5855418", "0.5838478", "0.5828723", "0.58212775", "0.5815702", ...
0.0
-1
No direct effect on value stack
Rule Inheritance() { return Sequence("extends ", Identifier()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StackManipulation cached();", "public void push( int value ) throws StackOverflowException { }", "private void uminus() throws Exception{\n\t\tif(stackEmpty()) throw new Exception(\"Stack ist leer\");\n\t\telse{\n\t\t\tvalue1=stack.pop();\n\t\t\tstack.push(value1*(-1));\n\t\t}\n\t\t\n\t}", "private void _vis...
[ "0.68241024", "0.624828", "0.62015027", "0.6184414", "0.6032277", "0.60123724", "0.59601", "0.5953586", "0.5925618", "0.5925618", "0.5925618", "0.5921065", "0.5888733", "0.5879004", "0.586973", "0.58564377", "0.5855418", "0.5838478", "0.5828723", "0.58212775", "0.5815702", ...
0.0
-1
[16] Field ::= FieldID? FieldReq? FieldType Identifier ('= ConstValue)? XsdFieldOptions ListSeparator?
Rule Field() { // Push 1 FieldNode onto the value stack return Sequence( Optional(FieldID()), Optional(FieldReq()), FieldType(), // pushes FieldType onto the value stack Identifier(), // pushes Identifier onto the value stack ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "FieldDefinition createFieldDefinition();", "public interface Field {\n\n FieldType getType();\n\n FieldCardinality getCardinality();\n\n boolean isRequired();\n\n boolean isOptional();\n\n boolean isRepeated();\n\n String getName();\n}", "Rule XsdFieldOptions() {\n // Push 1 XsdFieldOp...
[ "0.6218601", "0.58567786", "0.5780131", "0.5770081", "0.5721108", "0.5720361", "0.57097524", "0.56864566", "0.56808454", "0.56679", "0.5662893", "0.56596756", "0.56589013", "0.56586826", "0.56515527", "0.56475216", "0.5646819", "0.5640897", "0.56405026", "0.56307757", "0.5630...
0.71002096
0
[17] FieldID ::= IntConstant ':'
Rule FieldID() { // No direct effect on value stack return Sequence(IntConstant(), WhiteSpace(), ": "); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setFieldId(String fieldId);", "com.google.privacy.dlp.v2.FieldId getFieldId();", "public String fieldIdToString() {\r\n\t\treturn new String(String.format(\"%02d\", getID()));\r\n\t}", "@AutoEscape\n\tpublic String getFieldId();", "java.lang.String getField1110();", "java.lang.String getField...
[ "0.6136823", "0.60779786", "0.6026213", "0.59907323", "0.59097093", "0.58804727", "0.5868684", "0.586755", "0.5854247", "0.5854247", "0.5826184", "0.57977855", "0.5749464", "0.5723096", "0.5705923", "0.5698557", "0.56979626", "0.5693142", "0.5692715", "0.5692715", "0.5692715"...
0.7179282
0
================================================================================ Field Requiredness ================================================================================ [18] FieldReq ::= 'required' | 'optional'
Rule FieldReq() { // No effect on the value stack return FirstOf("required ", "optional "); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setRequired(Boolean fieldRequired) {\n this.fieldRequired = fieldRequired;\n }", "public boolean isRequired() {\n return field.isRequired();\n }", "public Boolean getRequired() {\n return fieldRequired;\n }", "public Boolean getRequired() {\n\t\treturn mFieldRequired;\n\t}...
[ "0.6916335", "0.6807323", "0.671995", "0.6442811", "0.6405793", "0.6341962", "0.6331178", "0.63077986", "0.62929237", "0.6200163", "0.6200163", "0.6200163", "0.61638755", "0.6146994", "0.6144861", "0.6131809", "0.61269015", "0.61176336", "0.6110035", "0.6095978", "0.60794663"...
0.83591944
0
================================================================================ XSD Options ================================================================================ [19] XsdFieldOptions ::= 'xsd_optional'? 'xsd_nillable'? XsdAttrs?
Rule XsdFieldOptions() { // Push 1 XsdFieldOptionsNode onto the value stack return Sequence( Optional("xsd_optional "), Optional("xsd_nillable "), Optional(XsdAttrs()), actions.pushXsdFieldOptionsNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void validateOptions() throws XDocletException\n {\n // WebSphere does not require a template url or a destination file\n //\n // super.validateOptions();\n }", "public FileOffsetFieldOptionsWrappedOption() {\n\t}", "public com.vodafone.global.er.decoupling.binding.request.Exp...
[ "0.4977306", "0.4965134", "0.4917312", "0.48176032", "0.476116", "0.47566712", "0.47376943", "0.47073096", "0.4701426", "0.46287853", "0.46012765", "0.45551056", "0.45069495", "0.44931906", "0.44890633", "0.4416216", "0.44049522", "0.43962926", "0.43800786", "0.43628833", "0....
0.8205045
0
================================================================================ Functions ================================================================================ [21] Function ::= 'oneway'? FunctionType Identifier '(' Field ')' Throws? ListSeparator?
Rule Function() { // Push 1 FunctionNode onto the value stack StringVar functionName = new StringVar(""); return Sequence( Optional("oneway "), FunctionType(), Identifier(), actions.pop(), ACTION(functionName.set(mat...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "org.globus.swift.language.Function addNewFunction();", "Function createFunction();", "private void updateFunctionNode(JsMessage message, Node functionNode)\n throws MalformedException {\n checkNode(functionNode, Token.FUNCTION);\n Node nameNode = functionNode.getFirstChild();\n checkNode(nameNode...
[ "0.50715464", "0.4996755", "0.49026418", "0.4765479", "0.4762238", "0.47447073", "0.47281712", "0.46907645", "0.4678274", "0.46674466", "0.46152645", "0.46152645", "0.46111128", "0.46003008", "0.45786446", "0.45488438", "0.45484325", "0.45357785", "0.4527893", "0.45240197", "...
0.6602191
0
[22] FunctionType ::= FieldType | 'void'
Rule FunctionType() { // Push 1 FunctionType node onto the value stack return Sequence( FirstOf( FieldType(), Sequence("void ", push(new VoidNode()))), actions.pushFunctionTypeNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static void typeFunction(PegObject node) {\n\t\tSymbolTable gamma = node.getSymbolTable();\n\t\tif(node.typed != null) {\n\t\t\tPegObject params = node.get(1, null);\n\t\t\tPegObject block = node.get(3, null);\n\t\t\tUniArray<BunType> typeList = new UniArray<BunType>(new BunType[params.size()+1]);\n\t\t\tfo...
[ "0.65149766", "0.6468082", "0.630069", "0.61748946", "0.6038617", "0.59665984", "0.5956706", "0.58770704", "0.58325624", "0.5805023", "0.57263243", "0.57133365", "0.5660037", "0.5603479", "0.5598547", "0.5598547", "0.5589555", "0.55765146", "0.5567698", "0.5545542", "0.554018...
0.7830836
0
[23] Throws ::= 'throws' '(' Field ')'
Rule Throws() { // Push 1 ThrowsNode onto the value stack return Sequence( "throws ", "( ", actions.pushInterrupt(), ZeroOrMore(Field()), ") ", actions.pushThrowsNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mT__47() throws RecognitionException {\n try {\n int _type = T__47;\n int _channel = DEFAULT_TOKEN_CHANNEL;\n // InternalUniMapperGenerator.g:26:7: ( 'throws' )\n // InternalUniMapperGenerator.g:26:9: 'throws'\n {\n match(\"...
[ "0.66891766", "0.6283346", "0.627286", "0.62239504", "0.6100717", "0.604401", "0.60407984", "0.5949603", "0.588125", "0.587152", "0.579217", "0.5732635", "0.5658524", "0.56568307", "0.56140083", "0.5544914", "0.5518977", "0.55163574", "0.5510907", "0.5510459", "0.5493132", ...
0.8387099
0
================================================================================ Types ================================================================================ [24] FieldType ::= Identifier | BaseType | ContainerType
Rule FieldType() { // Push 1 FieldTypeNode onto the value stack return Sequence( FirstOf( ContainerType(), Identifier(), BaseType()), actions.pushFieldTypeNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public FieldType getType();", "FieldType newFieldType(String id, ValueType valueType, QName name, Scope scope);", "FieldType createFieldType();", "com.google.cloud.datacatalog.FieldType getType();", "FieldType newFieldType(ValueType valueType, QName name, Scope scope);", "com.google.cloud.datacatalog.Fie...
[ "0.72007126", "0.7027109", "0.7012622", "0.6814855", "0.68081844", "0.67654324", "0.67087835", "0.6598552", "0.6586963", "0.64641833", "0.6419868", "0.639531", "0.6375974", "0.63643956", "0.6345798", "0.62991554", "0.6298055", "0.62703", "0.6267151", "0.6248858", "0.62478215"...
0.77792054
0
[25] DefinitionType ::= BaseType | ContainerType
Rule DefinitionType() { // No direct effect on value stack return FirstOf(BaseType(), ContainerType()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "TypeSystemDefinition createTypeSystemDefinition();", "public interface DefinitionFactory {\n\n\tMutableComplexTypeDefinition createComplexTypeDefinition(QName name);\n\n\t<T> MutablePrismPropertyDefinition<T> createPropertyDefinition(QName name, QName typeName);\n\n\tMutablePrismReferenceDefinition createReferen...
[ "0.6458971", "0.63974994", "0.63850963", "0.6352418", "0.62735945", "0.61966926", "0.60902643", "0.6068052", "0.58989143", "0.5799163", "0.5768642", "0.57570237", "0.5747088", "0.5734963", "0.5681025", "0.5626434", "0.5621909", "0.5595473", "0.55694014", "0.55475557", "0.5528...
0.7286591
0
[26] BaseType ::= 'bool' | 'byte' | 'i8' | 'i16' | 'i32' | 'i64' | 'double' | 'string' | 'binary' | 'slist'
Rule BaseType() { // Push 1 BaseTypeNode onto the value stack return Sequence( FirstOf( "bool ", "byte ", "i8 ", "i16 ", "i32 ", "i64 ", ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract byte getType();", "private static boolean isBinaryType(int jdbcType) {\r\n switch (jdbcType) {\r\n case Types.BINARY:\r\n case Types.VARBINARY:\r\n case Types.LONGVARBINARY:\r\n return true;\r\n default:\r\n return false;\r\n }\r\n ...
[ "0.6338884", "0.6317424", "0.61368984", "0.59160304", "0.5840532", "0.5834559", "0.5800603", "0.5796568", "0.5795395", "0.5775999", "0.57195735", "0.5697386", "0.5626876", "0.5620189", "0.5607058", "0.56021994", "0.55803806", "0.55728346", "0.5568221", "0.5551536", "0.5551536...
0.7743367
0
[27] ContainerType ::= MapType | SetType | ListType
Rule ContainerType() { // No direct effect on value stack return FirstOf( MapType(), SetType(), ListType()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public boolean isContainerType()\n/* */ {\n/* 169 */ return true;\n/* */ }", "public boolean isContainerType()\n/* */ {\n/* 174 */ return true;\n/* */ }", "protected String getContainerType() {\r\n\t\treturn CONTAINER_TYPE;\r\n\t}", "BaseContainerType getBaseContainer();", "...
[ "0.75162745", "0.75025123", "0.6975097", "0.6262961", "0.6009089", "0.584892", "0.5823418", "0.577376", "0.5576494", "0.5549111", "0.554403", "0.5490698", "0.54562235", "0.54317284", "0.5384547", "0.53739154", "0.5367065", "0.53414804", "0.5340215", "0.5300901", "0.52987486",...
0.7674322
0
[28] MapType ::= 'map' CppType? ''
Rule MapType() { // Push 1 MapTypeNode onto the value stack return Sequence( "map ", Optional(CppType()), "<", FieldType(), ", ", FieldType(), "> ", actions.pushMapTypeNode());...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final AstValidator.map_type_return map_type() throws RecognitionException {\n AstValidator.map_type_return retval = new AstValidator.map_type_return();\n retval.start = input.LT(1);\n\n\n CommonTree root_0 = null;\n\n CommonTree _first_0 = null;\n CommonTree _last = null;\...
[ "0.746583", "0.7102983", "0.6863391", "0.6843521", "0.6744377", "0.67236936", "0.6590955", "0.6580361", "0.6548122", "0.64257264", "0.6398904", "0.6245114", "0.61986053", "0.61976445", "0.6192595", "0.6142851", "0.61323774", "0.60623527", "0.6062166", "0.6034448", "0.5970047"...
0.83038384
0
[29] SetType ::= 'set' CppType? ''
Rule SetType() { // Push 1 SetTypeNode onto the value stack return Sequence( "set ", Optional(CppType()), "<", FieldType(), "> ", actions.pushSetTypeNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public static Set typedSet(Set set, Class type) {\n/* 205 */ return TypedSet.decorate(set, type);\n/* */ }", "CodeSetType createCodeSetType();", "Set createSet();", "CodeSetsType createCodeSetsType();", "boolean isSetType();", "ElementSetNameType createElementSetNameType();", "@Test\n publ...
[ "0.7275274", "0.662841", "0.6531619", "0.64889866", "0.6422009", "0.63573235", "0.6334416", "0.6277025", "0.61567307", "0.6156379", "0.6099348", "0.6089982", "0.6089982", "0.6089982", "0.6046782", "0.6001194", "0.6001194", "0.6001194", "0.6001194", "0.6001194", "0.5975473", ...
0.78817004
0
[30] ListType ::= 'list' '' CppType?
Rule ListType() { // Push 1 ListTypeNode onto the value stack return Sequence( "list ", "<", FieldType(), "> ", Optional(CppType()), actions.pushListTypeNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "private static Type getListType() {\n return getListTypeToken().getType();\n }", "ListType createListType();", "private static <T> TypeToken<List<T>> getListTypeToken() {\n return new TypeToken<List<T>>() {\n };\n }", "public static boolean typeList(PsiBuilder b, int l) {\n if (...
[ "0.74018604", "0.7293789", "0.7011283", "0.68100137", "0.6640459", "0.6567991", "0.63531095", "0.6331387", "0.6325055", "0.630669", "0.62949765", "0.6279626", "0.6279626", "0.6259245", "0.62519985", "0.62318045", "0.61697304", "0.61227244", "0.60444456", "0.59986794", "0.5991...
0.835317
0
[31] CppType ::= 'cpp_type' Literal
Rule CppType() { // Push 1 CppTypeNode onto the value stack return Sequence( "cpp_type ", Literal(), actions.pushCppTypeNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Coding getType();", "public void testGetType() {\n System.out.println(\"getType\"); // NOI18N\n \n TypeID expResult;\n TypeID result;\n String value = \"Test value\"; // NOI18N\n TypeID type = new TypeID(TypeID.Kind.PRIMITIVE, \"javacode\");// NOI18N\n \n r...
[ "0.6592683", "0.6438563", "0.6327727", "0.6280997", "0.62711364", "0.62711364", "0.62286264", "0.6201053", "0.61736643", "0.61595", "0.61595", "0.61595", "0.6134806", "0.6057394", "0.60136825", "0.5961457", "0.59576386", "0.5939172", "0.59192747", "0.590022", "0.590022", "0...
0.8629492
0
================================================================================ Constant Values ================================================================================ [32] ConstValue ::= IntConstant | DoubleConstant | Literal | Identifier | ConstList | ConstMap
Rule ConstValue() { // Push 1 ConstValue node onto the value stack return Sequence( FirstOf( IntConstant(), DoubleConstant(), Literal(), Identifier(), ConstList(), ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "ConstValue createConstValue();", "public static ConstantExpression constant(Object value) { throw Extensions.todo(); }", "Rule Const() {\n // Push 1 ConstNode onto the value stack\n StringVar constName = new StringVar(\"\");\n return Sequence(\n \"const \",\n ...
[ "0.73352385", "0.71264493", "0.70555466", "0.69652367", "0.6908289", "0.6888438", "0.68549055", "0.67933196", "0.67721605", "0.6587662", "0.6466811", "0.64173365", "0.6400813", "0.62394345", "0.62371665", "0.62343216", "0.62280136", "0.6205745", "0.6202206", "0.6178372", "0.6...
0.81795144
0
[33] IntConstant ::= ('+' | '')? Digit+
Rule IntConstant() { // Push 1 IntConstNode onto the value stack return Sequence( Sequence( Optional(NumericSign()), OneOrMore(Digit())), actions.pushIntConstNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "IntConstant createIntConstant();", "@Override\n public void visit(IntConstantNode intConstantNode) {\n }", "IntegerLiteralExp createIntegerLiteralExp();", "public Object visitIntegerConstant(GNode n) {\n xtc.type.Type result;\n \n result = cops.typeInteger(n.getString(0));\n \n return r...
[ "0.72496295", "0.695389", "0.68943596", "0.67078465", "0.66492486", "0.65269935", "0.6445482", "0.6324223", "0.6252641", "0.62103736", "0.6119648", "0.610964", "0.6086957", "0.5991682", "0.5956196", "0.58747184", "0.58710974", "0.5855225", "0.5853278", "0.58358353", "0.578451...
0.81112576
0
[34] DoubleConstant ::= ('+' | '')? Digit ('.' Digit+)? ( ('E' | 'e') IntConstant )?
Rule DoubleConstant() { // Push 1 DoubleConstNode onto the value stack return Sequence( Sequence( Optional(NumericSign()), ZeroOrMore(Digit()), Sequence('.', OneOrMore(Digit())), MaybeScientif...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public NumericConstantExpression(String numericConstant) {\r\n this.numconst = numericConstant;\r\n }", "@Override\n\tpublic void visit(DoubleLiteral n) {\n\t\t\n\t}", "public double constant()\n\t{\n\t\treturn _dblConstant;\n\t}", "public final void mDOUBLE() throws RecognitionException {\n try {...
[ "0.68144995", "0.6758155", "0.63117963", "0.5932258", "0.5911326", "0.58651745", "0.5846655", "0.5845487", "0.58230484", "0.5793549", "0.5784438", "0.572127", "0.5690855", "0.5687649", "0.56796455", "0.5589508", "0.55801105", "0.555956", "0.5537188", "0.54982245", "0.5481576"...
0.8184673
0
[35] ConstList ::= '[' (ConstValue ListSeparator?) ']'
Rule ConstList() { return Sequence( "[ ", // We can't use the ConstValue definition here because that definition // uses a FirstOf expression (which is the proper method), but we cannot // pass Rules with potentially empty values (like FirstOf...) ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Rule ConstListItem() {\n return Sequence(\n ConstValue(),\n Optional(ListSeparator()));\n }", "private ConstList(List<T> list) {\n this.list = list;\n }", "private List<Object> getConstantValue()\r\n/* 97: */ {\r\n/* 98:117 */ return (List)this.const...
[ "0.77080745", "0.6775936", "0.654853", "0.6327438", "0.6312007", "0.62624204", "0.62623954", "0.61007005", "0.6028121", "0.5976218", "0.5840883", "0.580079", "0.56689256", "0.5633109", "0.5553914", "0.55512315", "0.5505867", "0.5496046", "0.5475752", "0.5435935", "0.54011863"...
0.82872933
0
No effect on value stack
Rule ConstListItem() { return Sequence( ConstValue(), Optional(ListSeparator())); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StackManipulation cached();", "private void uminus() throws Exception{\n\t\tif(stackEmpty()) throw new Exception(\"Stack ist leer\");\n\t\telse{\n\t\t\tvalue1=stack.pop();\n\t\t\tstack.push(value1*(-1));\n\t\t}\n\t\t\n\t}", "public void reset() {\r\n\t\tif(this.markedStack.isEmpty()) {\r\n\t\t\treturn;\r\n\t\t...
[ "0.66392", "0.6468073", "0.63481665", "0.6306794", "0.62581646", "0.62023085", "0.6154525", "0.6154104", "0.6154104", "0.6154104", "0.6143723", "0.6142885", "0.6115805", "0.6073836", "0.60570586", "0.60374695", "0.6030534", "0.6028896", "0.60198516", "0.5998548", "0.5973768",...
0.0
-1
Push 1 ConstMapEntryNode onto the value stack
Rule ConstMapEntry() { return Sequence( ConstValue(), WhiteSpace(), ":", WhiteSpace(), ConstValue(), Optional(ListSeparator()), actions.pushConstMapEntryNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Rule ConstValue() {\n // Push 1 ConstValue node onto the value stack\n return Sequence(\n FirstOf(\n IntConstant(),\n DoubleConstant(),\n Literal(),\n Identifier(),\n Cons...
[ "0.5424391", "0.5372494", "0.53248316", "0.5281691", "0.52550316", "0.5170473", "0.51063424", "0.5090777", "0.5066121", "0.49669185", "0.49495634", "0.49209896", "0.49201497", "0.489987", "0.48932493", "0.48930082", "0.4887849", "0.48811492", "0.4792078", "0.47673377", "0.476...
0.6108993
0
================================================================================ Basic Definitions ================================================================================ [37] Literal ::= ('"' [^"] '"') | ("'" [^'] "'")
Rule Literal() { // Push 1 LiteralNode onto the value stack return Sequence( FirstOf( SingleQuotedLiteral(), DoubleQuotedLiteral()), actions.pushLiteralNode()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "Rule SingleQuotedLiteral() {\n return Sequence(\n \"'\",\n ZeroOrMore(NoneOf(\"'\")),\n \"'\");\n }", "Rule DoubleQuotedLiteral() {\n return Sequence(\n \"\\\"\",\n ZeroOrMore(NoneOf(\"\\\"\")),\n \"\\\"\")...
[ "0.74598706", "0.71353996", "0.7095772", "0.7095772", "0.7035352", "0.69086385", "0.6894317", "0.6808013", "0.6798484", "0.6758848", "0.6674669", "0.66539556", "0.6649585", "0.6649585", "0.6637932", "0.6589785", "0.6569852", "0.6521277", "0.6521277", "0.64681196", "0.641676",...
0.77401006
0
No effect on value stack
Rule DoubleQuotedLiteral() { return Sequence( "\"", ZeroOrMore(NoneOf("\"")), "\""); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StackManipulation cached();", "private void uminus() throws Exception{\n\t\tif(stackEmpty()) throw new Exception(\"Stack ist leer\");\n\t\telse{\n\t\t\tvalue1=stack.pop();\n\t\t\tstack.push(value1*(-1));\n\t\t}\n\t\t\n\t}", "public void reset() {\r\n\t\tif(this.markedStack.isEmpty()) {\r\n\t\t\treturn;\r\n\t\t...
[ "0.66392", "0.6468073", "0.63481665", "0.6306794", "0.62581646", "0.62023085", "0.6154525", "0.6154104", "0.6154104", "0.6154104", "0.6143723", "0.6142885", "0.6115805", "0.6073836", "0.60570586", "0.60374695", "0.6030534", "0.6028896", "0.60198516", "0.5998548", "0.5973768",...
0.0
-1
No effect on value stack
Rule SingleQuotedLiteral() { return Sequence( "'", ZeroOrMore(NoneOf("'")), "'"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StackManipulation cached();", "private void uminus() throws Exception{\n\t\tif(stackEmpty()) throw new Exception(\"Stack ist leer\");\n\t\telse{\n\t\t\tvalue1=stack.pop();\n\t\t\tstack.push(value1*(-1));\n\t\t}\n\t\t\n\t}", "public void reset() {\r\n\t\tif(this.markedStack.isEmpty()) {\r\n\t\t\treturn;\r\n\t\t...
[ "0.66392", "0.6468073", "0.63481665", "0.6306794", "0.62581646", "0.62023085", "0.6154525", "0.6154104", "0.6154104", "0.6154104", "0.6143723", "0.6142885", "0.6115805", "0.6073836", "0.60570586", "0.60374695", "0.6030534", "0.6028896", "0.60198516", "0.5998548", "0.5973768",...
0.0
-1
[38] Identifier ::= ( Letter | '_' ) ( Letter | Digit | '.' | '_' )
Rule Identifier() { // Push 1 IdentifierNode onto the value stack return Sequence( Sequence( FirstOf(Letter(), "_"), ZeroOrMore(IndentChar())), actions.pushIdentifierNode(), WhiteSpace()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "boolean isIdentifierChar(char c);", "private boolean isIdentifierChar(char ch) {\n return (((ch >= 'A') && (ch <= 'Z')) || ((ch >= 'a') && (ch <= 'z'))\n || ((ch >= '0') && (ch <= '9')) || (\".-_:\".indexOf(ch) >= 0));\n }", "@Test\n\tpublic void testIdentifier() throws ParseException {\n\t\tIdentif...
[ "0.7016167", "0.70091254", "0.69251084", "0.6801173", "0.6779937", "0.6762944", "0.6716245", "0.6642132", "0.6640483", "0.66173816", "0.6520175", "0.6501305", "0.6431364", "0.64198625", "0.6318034", "0.6309704", "0.63057727", "0.63019645", "0.61910427", "0.61784947", "0.61150...
0.71917886
0
[39] STIdentifier ::= ( Letter | '_' ) ( Letter | Digit | '.' | '_' | '' )
Rule STIdentifier() { // Push 1 IdentifierNode onto value stack return Sequence( Sequence( FirstOf(Letter(), "_"), ZeroOrMore(FirstOf(IndentChar(), "-"))), actions.pushIdentifierNode(), WhiteSpace()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "@Test\n\tpublic void testIdentifier() throws ParseException {\n\t\tIdentifier identifier = langParser(\"foo\").identifier();\n\t\tassertEquals(identifier.getName(), \"foo\");\n\t}", "java.lang.String getIdentifier();", "boolean isIdentifierChar(char c);", "public String asIdentifier() {\n\t\treturn this.keyw...
[ "0.6820818", "0.67643917", "0.66905457", "0.66007906", "0.6586292", "0.65836036", "0.64286894", "0.6395443", "0.6378586", "0.6370994", "0.6354554", "0.63019764", "0.62885165", "0.6279014", "0.6279014", "0.6279014", "0.6279014", "0.6279014", "0.6279014", "0.6279014", "0.620206...
0.78249496
0
No effect on value stack
Rule IndentChar() { return FirstOf(Letter(), Digit(), ".", "_"); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StackManipulation cached();", "private void uminus() throws Exception{\n\t\tif(stackEmpty()) throw new Exception(\"Stack ist leer\");\n\t\telse{\n\t\t\tvalue1=stack.pop();\n\t\t\tstack.push(value1*(-1));\n\t\t}\n\t\t\n\t}", "public void reset() {\r\n\t\tif(this.markedStack.isEmpty()) {\r\n\t\t\treturn;\r\n\t\t...
[ "0.66392", "0.6468073", "0.63481665", "0.6306794", "0.62581646", "0.62023085", "0.6154525", "0.6154104", "0.6154104", "0.6154104", "0.6143723", "0.6142885", "0.6115805", "0.6073836", "0.60570586", "0.60374695", "0.6030534", "0.6028896", "0.60198516", "0.5998548", "0.5973768",...
0.0
-1
[40] ListSeparator ::= ',' | ';'
Rule ListSeparator() { // No effect on value stack return Sequence(AnyOf(",;"), WhiteSpace()); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "String getSeparator();", "public void setSeparator(String separator) {\n\t\tthis.separator = separator;\n\t}", "private ELOperandToken readSeparatorToken() {\r\n \t\tfState = STATE_SEPARATOR;\r\n \t\tint ch = readCharBackward();\r\n \t\t\r\n \t\treturn (ch == '.' ? new ELOperandToken(index, 1, getCharSequence(...
[ "0.6771486", "0.66902655", "0.66686654", "0.6566731", "0.65339196", "0.6497853", "0.6491048", "0.6311759", "0.62581044", "0.62376654", "0.6224303", "0.6118289", "0.60781246", "0.6067622", "0.60648054", "0.60336524", "0.60270345", "0.59900945", "0.59772307", "0.59660923", "0.5...
0.8491849
0
[41] Letter ::= ['A''Z'] | ['a''z']
Rule Letter() { // No effect on value stack return FirstOf( CharRange('a', 'z'), CharRange('A', 'Z')); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public final void mLETTER() throws RecognitionException {\n try {\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassandra-0.8.6-src/src/java/org/apache/cassandra/cql/Cql.g:569:5: ( ( 'A' .. 'Z' | 'a' .. 'z' ) )\n // /Users/devdatta.kulkarni/Documents/Cassandra/apache-cassand...
[ "0.7776897", "0.77176166", "0.7285094", "0.72808313", "0.7092873", "0.70708", "0.6958082", "0.69377106", "0.6931931", "0.6837615", "0.6819319", "0.68106115", "0.67884284", "0.6786063", "0.6778978", "0.67716604", "0.6763819", "0.6726258", "0.6722495", "0.670728", "0.6681316", ...
0.77373004
1
[42] Digit ::= ['0''9']
Rule Digit() { // No effect on value stack return CharRange('0', '9'); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String digit(String digit);", "private static boolean isDigit(char p_char) {\n return p_char >= '0' && p_char <= '9';\n }", "public static char getDigitCharacter(){\n\t\treturn getRandomCharacter('0','9');\n\t}", "public final void mDIGIT() throws RecognitionException {\r\n try {\r\n ...
[ "0.733007", "0.67838204", "0.66942286", "0.6436364", "0.6347106", "0.6326908", "0.62857574", "0.6216191", "0.6208417", "0.6198398", "0.6169214", "0.61414635", "0.6125206", "0.6123392", "0.6074313", "0.60600185", "0.60400456", "0.6003901", "0.5963138", "0.5946639", "0.5945618"...
0.749835
0
No effect on value stack
Rule WhiteSpace() { return ZeroOrMore(AnyOf(" \n\r\t\f")); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "StackManipulation cached();", "private void uminus() throws Exception{\n\t\tif(stackEmpty()) throw new Exception(\"Stack ist leer\");\n\t\telse{\n\t\t\tvalue1=stack.pop();\n\t\t\tstack.push(value1*(-1));\n\t\t}\n\t\t\n\t}", "public void reset() {\r\n\t\tif(this.markedStack.isEmpty()) {\r\n\t\t\treturn;\r\n\t\t...
[ "0.66392", "0.6468073", "0.63481665", "0.6306794", "0.62581646", "0.62023085", "0.6154525", "0.6154104", "0.6154104", "0.6154104", "0.6143723", "0.6142885", "0.6115805", "0.6073836", "0.60570586", "0.60374695", "0.6030534", "0.6028896", "0.60198516", "0.5998548", "0.5973768",...
0.0
-1
Order of calls: 1. Constructor() 2. configure(configuration,ctx) 3. setTupleForwarder(forwarder) 4. if record flow controller |a. Set record reader |b. Set record parser else |a. Set stream parser 5. start(writer)
@SuppressWarnings({ "rawtypes", "unchecked" }) public static IDataFlowController getDataflowController(ARecordType recordType, IHyracksTaskContext ctx, int partition, IExternalDataSourceFactory dataSourceFactory, IDataParserFactory dataParserFactory, Map<String, String> configuration, boolea...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public Forwarding() {\n\n }", "protected StreamParser()\n {\n }", "private void initReader(boolean logging) {\n\t\tthis.reader = new RoutingReader(this.myName, this.remoteName, this.dis,\n\t\t\t\tthis.manager, new MessageReader(this.connName, this, logging));\n\t\tnew Thread(this.reader, \"BTReaderThr...
[ "0.5377082", "0.53689724", "0.5366329", "0.5207084", "0.5199103", "0.5117248", "0.507916", "0.5039172", "0.5033814", "0.50083506", "0.500729", "0.4979436", "0.49631315", "0.49405634", "0.4920178", "0.48791257", "0.48617586", "0.4842215", "0.48245752", "0.48150018", "0.4811222...
0.0
-1
CSPair obj = new CSPair() DataOutputStresam dout = new DataOutputStream(new ......) obj.write(dout)
@Override public void write(DataOutput dataout) throws IOException { sports.write(dataout); country.write(dataout); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public abstract void writeToStream(DataOutputStream dataOutputStream);", "public abstract void writeToStream(java.io.DataOutputStream output) throws java.io.IOException;", "public void setOutputStream(DataOutputStream dos) {\n this.careuOutputStream= dos;\n }", "public void writeObject( Container.C...
[ "0.64884454", "0.6448365", "0.64219743", "0.6384823", "0.628123", "0.6212962", "0.61805314", "0.61615497", "0.6143849", "0.6118524", "0.61074233", "0.61003095", "0.6064731", "0.6032064", "0.60036933", "0.60010517", "0.5930645", "0.59282786", "0.59273624", "0.59044856", "0.588...
0.54967517
59
/ CAFFEINE 2.0 bug fix CSCef03455 It is the initialization sequence problem. The origianl super() calling will eventually call down to the child and set child's private date member. protected DsSipNameAddressHeader(byte[] value) throws DsSipParserException, DsSipParserListenerException protected DsSipNameAddressHeader(...
protected DsSipNameAddressHeader(DsByteString nameAddress, DsParameters parameters) throws DsSipParserException { super(); m_nameAddress = new DsSipNameAddress(nameAddress); m_paramTable = parameters; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected DsSipNameAddressHeader(DsSipNameAddress nameAddress) {\n this(nameAddress, null);\n }", "protected DsSipNameAddressHeader(DsSipNameAddress nameAddress, DsParameters parameters) {\n super();\n m_nameAddress = nameAddress;\n m_paramTable = parameters;\n }", "protected DsSipNameAddressHead...
[ "0.781086", "0.7566515", "0.703648", "0.6847805", "0.6781107", "0.66486484", "0.6633188", "0.6179543", "0.59971994", "0.5892637", "0.5662414", "0.56406146", "0.56335956", "0.56308025", "0.5601723", "0.53479534", "0.53453743", "0.53453743", "0.53453743", "0.51892567", "0.51892...
0.77770317
1
Constructs this header with the specified nameAddress and the specified parameters.
protected DsSipNameAddressHeader(DsSipNameAddress nameAddress, DsParameters parameters) { super(); m_nameAddress = nameAddress; m_paramTable = parameters; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected DsSipNameAddressHeader(DsByteString nameAddress, DsParameters parameters)\n throws DsSipParserException {\n super();\n m_nameAddress = new DsSipNameAddress(nameAddress);\n m_paramTable = parameters;\n }", "protected DsSipNameAddressHeader(DsSipNameAddress nameAddress) {\n this(nameAdd...
[ "0.7798042", "0.7497767", "0.68121153", "0.6434283", "0.6404137", "0.60423905", "0.5831921", "0.57979006", "0.5693568", "0.5650345", "0.5600756", "0.56003726", "0.5517191", "0.54955566", "0.5432931", "0.54095453", "0.5399703", "0.53830403", "0.53780895", "0.536777", "0.535465...
0.78940296
0
Constructs this header with the specified nameAddress.
protected DsSipNameAddressHeader(DsSipNameAddress nameAddress) { this(nameAddress, null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "protected DsSipNameAddressHeader(DsByteString nameAddress, DsParameters parameters)\n throws DsSipParserException {\n super();\n m_nameAddress = new DsSipNameAddress(nameAddress);\n m_paramTable = parameters;\n }", "protected DsSipNameAddressHeader(DsSipNameAddress nameAddress, DsParameters parame...
[ "0.7475876", "0.73955995", "0.64593923", "0.5942872", "0.5751841", "0.56640357", "0.5658224", "0.557967", "0.5538686", "0.54996395", "0.5490075", "0.54577553", "0.54569733", "0.5453222", "0.5443133", "0.54244417", "0.5420103", "0.540251", "0.5377194", "0.53606904", "0.5336498...
0.79097056
0
Constructs this header with the specified uri and the specified parameters .
protected DsSipNameAddressHeader(DsURI uri, DsParameters parameters) { super(); m_paramTable = parameters; setURI(uri); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public URIBuilder(final URI uri) {\n super();\n digestURI(uri);\n }", "public abstract Builder headers(String... paramVarArgs);", "Header createHeader();", "protected DsSipNameAddressHeader(DsURI uri) {\n this(uri, null);\n }", "protected RequestLine createRequestLine(String method, St...
[ "0.6407153", "0.62926656", "0.6051072", "0.6032033", "0.5777633", "0.57766485", "0.57075274", "0.5616718", "0.55914253", "0.55784124", "0.5576569", "0.5553215", "0.5513845", "0.5499907", "0.5441755", "0.5422844", "0.54132783", "0.5374295", "0.53424305", "0.53204846", "0.53086...
0.64624864
0
Constructs this header with the specified uri.
protected DsSipNameAddressHeader(DsURI uri) { this(uri, null); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public URIBuilder(final URI uri) {\n super();\n digestURI(uri);\n }", "public Builder setUri(String uri) {\n this.uri = uri;\n return this;\n }", "public Builder uri(String uri) {\n this.uri = uri;\n return this;\n }", "public void setUri(URI uri)\n ...
[ "0.7058945", "0.64210874", "0.64195275", "0.6014799", "0.59901506", "0.5957469", "0.595018", "0.595018", "0.5849719", "0.5810495", "0.5810495", "0.5810495", "0.5794706", "0.5780355", "0.57717663", "0.5767952", "0.5750583", "0.57424706", "0.5726175", "0.5696147", "0.56856376",...
0.6586329
1
Returns the name address.
public DsSipNameAddress getNameAddress() { return (m_nameAddress); }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public String getAddressName() {\n return addressName;\n }", "public String getName () {\n\t return (streetName) ;\n }", "java.lang.String getAddress();", "java.lang.String getAddress();", "java.lang.String getAddress();", "java.lang.String getAddress();", "java.lang.String getAddress();", ...
[ "0.7826842", "0.7625994", "0.7214186", "0.7214186", "0.7214186", "0.7214186", "0.7214186", "0.7214186", "0.7057283", "0.7057283", "0.6930088", "0.690883", "0.6862957", "0.6794519", "0.67812145", "0.6764958", "0.6764958", "0.67084414", "0.669286", "0.669286", "0.669286", "0....
0.7830603
0
Retrieves the URL as a string.
public DsByteString getURIAsString() { DsURI uri = null; return (m_nameAddress != null && (uri = m_nameAddress.getURI()) != null) ? uri.getValue() : null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public java.lang.String getUrl() {\n java.lang.Object ref = url_;\n if (!(ref instanceof java.lang.String)) {\n com.google.protobuf.ByteString bs =\n (com.google.protobuf.ByteString) ref;\n java.lang.String s = bs.toStringUtf8();\n url_ = s;\n return s...
[ "0.76283365", "0.76283365", "0.7618454", "0.76111263", "0.76101947", "0.76053905", "0.76053905", "0.76021224", "0.75749475", "0.75746685", "0.75746685", "0.75296456", "0.75079393", "0.75022274", "0.7470599", "0.7459717", "0.7459717", "0.7424066", "0.74098617", "0.74068016", "...
0.0
-1
Retrieves the URI information.
public DsURI getURI() { if (m_nameAddress != null) { return (m_nameAddress.getURI()); } return null; }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public UriInfo getUriInfo() {\n return _uriInfo;\n }", "java.lang.String getUri();", "java.lang.String getUri();", "String getUri();", "URI getUri();", "String getUri( );", "String getURI();", "String getURI();", "String getURI();", "public String getUri();", "abstract String getUri();", ...
[ "0.80375946", "0.779983", "0.779983", "0.77405995", "0.77299964", "0.7687902", "0.75665", "0.75665", "0.75665", "0.755564", "0.7374601", "0.7339828", "0.72473973", "0.7092491", "0.7079047", "0.70566595", "0.70430344", "0.7017611", "0.70121586", "0.70114195", "0.7000422", "0...
0.602088
90
Method used to set the URL value in a name address.
public void setURI(DsURI aURI) { if (m_nameAddress == null) { m_nameAddress = new DsSipNameAddress(); } m_nameAddress.setURI(aURI); // To, From, Record, Record-Route headers should always have <> brackets. // In case of Contact, <> are must if the URI contains ',' | ';' | '?'. // That can ...
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setUrlName(java.lang.String urlName)\r\n {\r\n synchronized (monitor())\r\n {\r\n check_orphaned();\r\n org.apache.xmlbeans.SimpleValue target = null;\r\n target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(URLNAME$12, 0);\r\n ...
[ "0.77125645", "0.72377723", "0.71528006", "0.7139324", "0.71388245", "0.7082423", "0.67364806", "0.6727528", "0.67218584", "0.6680301", "0.66320187", "0.6613507", "0.6608095", "0.6558425", "0.6558143", "0.6558143", "0.65427524", "0.65085375", "0.64961934", "0.6494934", "0.648...
0.5958309
62
sets the name address.
public void setNameAddress(DsSipNameAddress nameAdd) { if (nameAdd == null) { throw new IllegalArgumentException("The name address may not be null"); } else { m_nameAddress = nameAdd; } }
{ "objective": { "self": [], "paired": [], "triplet": [ [ "query", "document", "negatives" ] ] } }
[ "public void setName (String name) {\n\t streetName = name ;\n }", "private void setName(java.lang.String name) {\n System.out.println(\"setting name \"+name);\n this.name = name;\n }", "public void setName(String name) {\n\t\tName = name;\n\t}", "public final void setName(String name) {...
[ "0.79639375", "0.7566499", "0.74706966", "0.7429367", "0.7388476", "0.7383771", "0.73677576", "0.7367061", "0.7367061", "0.73654175", "0.736463", "0.7358964", "0.7348116", "0.73456335", "0.73456335", "0.73456335", "0.73301786", "0.73301786", "0.73301786", "0.73274565", "0.732...
0.74556535
3