repo
stringlengths
7
58
path
stringlengths
12
218
func_name
stringlengths
3
140
original_string
stringlengths
73
34.1k
language
stringclasses
1 value
code
stringlengths
73
34.1k
code_tokens
list
docstring
stringlengths
3
16k
docstring_tokens
list
sha
stringlengths
40
40
url
stringlengths
105
339
partition
stringclasses
1 value
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/appqoe/appqoecustomresp.java
appqoecustomresp.get
public static appqoecustomresp[] get(nitro_service service, options option) throws Exception{ appqoecustomresp obj = new appqoecustomresp(); appqoecustomresp[] response = (appqoecustomresp[])obj.get_resources(service,option); return response; }
java
public static appqoecustomresp[] get(nitro_service service, options option) throws Exception{ appqoecustomresp obj = new appqoecustomresp(); appqoecustomresp[] response = (appqoecustomresp[])obj.get_resources(service,option); return response; }
[ "public", "static", "appqoecustomresp", "[", "]", "get", "(", "nitro_service", "service", ",", "options", "option", ")", "throws", "Exception", "{", "appqoecustomresp", "obj", "=", "new", "appqoecustomresp", "(", ")", ";", "appqoecustomresp", "[", "]", "response...
Use this API to fetch all the appqoecustomresp resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "appqoecustomresp", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/appqoe/appqoecustomresp.java#L222-L226
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getCodecInfoFromTerms
@SuppressWarnings("unchecked") public static CodecInfo getCodecInfoFromTerms(Terms t) throws IOException { try { HashMap<String, IndexInput> indexInputList = null; HashMap<String, Long> indexInputOffsetList = null; Object version = null; Method[] methods = t.getClass().getMethods(); ...
java
@SuppressWarnings("unchecked") public static CodecInfo getCodecInfoFromTerms(Terms t) throws IOException { try { HashMap<String, IndexInput> indexInputList = null; HashMap<String, Long> indexInputOffsetList = null; Object version = null; Method[] methods = t.getClass().getMethods(); ...
[ "@", "SuppressWarnings", "(", "\"unchecked\"", ")", "public", "static", "CodecInfo", "getCodecInfoFromTerms", "(", "Terms", "t", ")", "throws", "IOException", "{", "try", "{", "HashMap", "<", "String", ",", "IndexInput", ">", "indexInputList", "=", "null", ";", ...
Gets the codec info from terms. @param t the t @return the codec info from terms @throws IOException Signals that an I/O exception has occurred.
[ "Gets", "the", "codec", "info", "from", "terms", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L79-L106
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getObjectById
public MtasToken getObjectById(String field, int docId, int mtasId) throws IOException { try { Long ref; Long objectRefApproxCorrection; IndexDoc doc = getDoc(field, docId); IndexInput inObjectId = indexInputList.get("indexObjectId"); IndexInput inObject = indexInputList.get("obj...
java
public MtasToken getObjectById(String field, int docId, int mtasId) throws IOException { try { Long ref; Long objectRefApproxCorrection; IndexDoc doc = getDoc(field, docId); IndexInput inObjectId = indexInputList.get("indexObjectId"); IndexInput inObject = indexInputList.get("obj...
[ "public", "MtasToken", "getObjectById", "(", "String", "field", ",", "int", "docId", ",", "int", "mtasId", ")", "throws", "IOException", "{", "try", "{", "Long", "ref", ";", "Long", "objectRefApproxCorrection", ";", "IndexDoc", "doc", "=", "getDoc", "(", "fi...
Gets the object by id. @param field the field @param docId the doc id @param mtasId the mtas id @return the object by id @throws IOException Signals that an I/O exception has occurred.
[ "Gets", "the", "object", "by", "id", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L155-L183
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getObjectsByParentId
public List<MtasTokenString> getObjectsByParentId(String field, int docId, int position) throws IOException { IndexDoc doc = getDoc(field, docId); IndexInput inIndexObjectParent = indexInputList.get("indexObjectParent"); ArrayList<MtasTreeHit<?>> hits = CodecSearchTree.searchMtasTree(position, ...
java
public List<MtasTokenString> getObjectsByParentId(String field, int docId, int position) throws IOException { IndexDoc doc = getDoc(field, docId); IndexInput inIndexObjectParent = indexInputList.get("indexObjectParent"); ArrayList<MtasTreeHit<?>> hits = CodecSearchTree.searchMtasTree(position, ...
[ "public", "List", "<", "MtasTokenString", ">", "getObjectsByParentId", "(", "String", "field", ",", "int", "docId", ",", "int", "position", ")", "throws", "IOException", "{", "IndexDoc", "doc", "=", "getDoc", "(", "field", ",", "docId", ")", ";", "IndexInput...
Gets the objects by parent id. @param field the field @param docId the doc id @param position the position @return the objects by parent id @throws IOException Signals that an I/O exception has occurred.
[ "Gets", "the", "objects", "by", "parent", "id", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L198-L206
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getObjectsByPosition
public ArrayList<MtasTokenString> getObjectsByPosition(String field, int docId, int position) throws IOException { IndexDoc doc = getDoc(field, docId); IndexInput inIndexObjectPosition = indexInputList .get("indexObjectPosition"); ArrayList<MtasTreeHit<?>> hits = CodecSearchTree.searchMtasTree...
java
public ArrayList<MtasTokenString> getObjectsByPosition(String field, int docId, int position) throws IOException { IndexDoc doc = getDoc(field, docId); IndexInput inIndexObjectPosition = indexInputList .get("indexObjectPosition"); ArrayList<MtasTreeHit<?>> hits = CodecSearchTree.searchMtasTree...
[ "public", "ArrayList", "<", "MtasTokenString", ">", "getObjectsByPosition", "(", "String", "field", ",", "int", "docId", ",", "int", "position", ")", "throws", "IOException", "{", "IndexDoc", "doc", "=", "getDoc", "(", "field", ",", "docId", ")", ";", "Index...
Gets the objects by position. @param field the field @param docId the doc id @param position the position @return the objects by position @throws IOException Signals that an I/O exception has occurred.
[ "Gets", "the", "objects", "by", "position", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L221-L230
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getPrefixFilteredObjectsByPositions
public List<MtasTokenString> getPrefixFilteredObjectsByPositions(String field, int docId, List<String> prefixes, int startPosition, int endPosition) throws IOException { IndexDoc doc = getDoc(field, docId); IndexInput inIndexObjectPosition = indexInputList .get("indexObjectPosition"); if...
java
public List<MtasTokenString> getPrefixFilteredObjectsByPositions(String field, int docId, List<String> prefixes, int startPosition, int endPosition) throws IOException { IndexDoc doc = getDoc(field, docId); IndexInput inIndexObjectPosition = indexInputList .get("indexObjectPosition"); if...
[ "public", "List", "<", "MtasTokenString", ">", "getPrefixFilteredObjectsByPositions", "(", "String", "field", ",", "int", "docId", ",", "List", "<", "String", ">", "prefixes", ",", "int", "startPosition", ",", "int", "endPosition", ")", "throws", "IOException", ...
Gets the prefix filtered objects by positions. @param field the field @param docId the doc id @param prefixes the prefixes @param startPosition the start position @param endPosition the end position @return the prefix filtered objects by positions @throws IOException Signals that an I/O exception has occurred.
[ "Gets", "the", "prefix", "filtered", "objects", "by", "positions", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L260-L274
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getPrefixFilteredObjects
private List<MtasTokenString> getPrefixFilteredObjects( List<MtasTreeHit<?>> hits, List<String> prefixes) throws IOException { ArrayList<MtasTokenString> tokens = new ArrayList<>(); IndexInput inObject = indexInputList.get("object"); IndexInput inTerm = indexInputList.get("term"); for (MtasTreeHit...
java
private List<MtasTokenString> getPrefixFilteredObjects( List<MtasTreeHit<?>> hits, List<String> prefixes) throws IOException { ArrayList<MtasTokenString> tokens = new ArrayList<>(); IndexInput inObject = indexInputList.get("object"); IndexInput inTerm = indexInputList.get("term"); for (MtasTreeHit...
[ "private", "List", "<", "MtasTokenString", ">", "getPrefixFilteredObjects", "(", "List", "<", "MtasTreeHit", "<", "?", ">", ">", "hits", ",", "List", "<", "String", ">", "prefixes", ")", "throws", "IOException", "{", "ArrayList", "<", "MtasTokenString", ">", ...
Gets the prefix filtered objects. @param hits the hits @param prefixes the prefixes @return the prefix filtered objects @throws IOException Signals that an I/O exception has occurred.
[ "Gets", "the", "prefix", "filtered", "objects", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L287-L306
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getPositionedTermsByPrefixesAndPosition
public List<MtasTreeHit<String>> getPositionedTermsByPrefixesAndPosition( String field, int docId, List<String> prefixes, int position) throws IOException { return getPositionedTermsByPrefixesAndPositionRange(field, docId, prefixes, position, position); }
java
public List<MtasTreeHit<String>> getPositionedTermsByPrefixesAndPosition( String field, int docId, List<String> prefixes, int position) throws IOException { return getPositionedTermsByPrefixesAndPositionRange(field, docId, prefixes, position, position); }
[ "public", "List", "<", "MtasTreeHit", "<", "String", ">", ">", "getPositionedTermsByPrefixesAndPosition", "(", "String", "field", ",", "int", "docId", ",", "List", "<", "String", ">", "prefixes", ",", "int", "position", ")", "throws", "IOException", "{", "retu...
Gets the positioned terms by prefixes and position. @param field the field @param docId the doc id @param prefixes the prefixes @param position the position @return the positioned terms by prefixes and position @throws IOException Signals that an I/O exception has occurred.
[ "Gets", "the", "positioned", "terms", "by", "prefixes", "and", "position", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L323-L328
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getPositionedTermsByPrefixesAndPositionRange
public List<MtasTreeHit<String>> getPositionedTermsByPrefixesAndPositionRange( String field, int docId, List<String> prefixes, int startPosition, int endPosition) throws IOException { IndexDoc doc = getDoc(field, docId); IndexInput inIndexObjectPosition = indexInputList .get("indexObjectPosi...
java
public List<MtasTreeHit<String>> getPositionedTermsByPrefixesAndPositionRange( String field, int docId, List<String> prefixes, int startPosition, int endPosition) throws IOException { IndexDoc doc = getDoc(field, docId); IndexInput inIndexObjectPosition = indexInputList .get("indexObjectPosi...
[ "public", "List", "<", "MtasTreeHit", "<", "String", ">", ">", "getPositionedTermsByPrefixesAndPositionRange", "(", "String", "field", ",", "int", "docId", ",", "List", "<", "String", ">", "prefixes", ",", "int", "startPosition", ",", "int", "endPosition", ")", ...
Gets the positioned terms by prefixes and position range. @param field the field @param docId the doc id @param prefixes the prefixes @param startPosition the start position @param endPosition the end position @return the positioned terms by prefixes and position range @throws IOException Signals that an I/O exception...
[ "Gets", "the", "positioned", "terms", "by", "prefixes", "and", "position", "range", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L347-L381
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.collectTermsByPrefixesForListOfHitPositions
public void collectTermsByPrefixesForListOfHitPositions(String field, int docId, ArrayList<String> prefixes, ArrayList<IntervalTreeNodeData<String>> positionsHits) throws IOException { IndexDoc doc = getDoc(field, docId); IndexInput inIndexObjectPosition = indexInputList .get("indexObj...
java
public void collectTermsByPrefixesForListOfHitPositions(String field, int docId, ArrayList<String> prefixes, ArrayList<IntervalTreeNodeData<String>> positionsHits) throws IOException { IndexDoc doc = getDoc(field, docId); IndexInput inIndexObjectPosition = indexInputList .get("indexObj...
[ "public", "void", "collectTermsByPrefixesForListOfHitPositions", "(", "String", "field", ",", "int", "docId", ",", "ArrayList", "<", "String", ">", "prefixes", ",", "ArrayList", "<", "IntervalTreeNodeData", "<", "String", ">", ">", "positionsHits", ")", "throws", ...
Collect terms by prefixes for list of hit positions. @param field the field @param docId the doc id @param prefixes the prefixes @param positionsHits the positions hits @throws IOException Signals that an I/O exception has occurred.
[ "Collect", "terms", "by", "prefixes", "for", "list", "of", "hit", "positions", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L397-L438
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getTerms
public ArrayList<MtasTreeHit<String>> getTerms(ArrayList<MtasTreeHit<?>> refs) throws IOException { try { ArrayList<MtasTreeHit<String>> terms = new ArrayList<MtasTreeHit<String>>(); IndexInput inTerm = indexInputList.get("term"); for (MtasTreeHit<?> hit : refs) { inTerm.seek(hit.ref...
java
public ArrayList<MtasTreeHit<String>> getTerms(ArrayList<MtasTreeHit<?>> refs) throws IOException { try { ArrayList<MtasTreeHit<String>> terms = new ArrayList<MtasTreeHit<String>>(); IndexInput inTerm = indexInputList.get("term"); for (MtasTreeHit<?> hit : refs) { inTerm.seek(hit.ref...
[ "public", "ArrayList", "<", "MtasTreeHit", "<", "String", ">", ">", "getTerms", "(", "ArrayList", "<", "MtasTreeHit", "<", "?", ">", ">", "refs", ")", "throws", "IOException", "{", "try", "{", "ArrayList", "<", "MtasTreeHit", "<", "String", ">>", "terms", ...
Gets the terms. @param refs the refs @return the terms @throws IOException Signals that an I/O exception has occurred.
[ "Gets", "the", "terms", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L473-L490
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getPrefixesIds
Map<String, Integer> getPrefixesIds(String field, List<String> prefixes) { LinkedHashMap<String, Long> refs = getPrefixRefs(field); if (refs != null) { List<String> list = new ArrayList<>(refs.keySet()); Map<String, Integer> result = new HashMap<>(); for (String prefix : prefixes) { in...
java
Map<String, Integer> getPrefixesIds(String field, List<String> prefixes) { LinkedHashMap<String, Long> refs = getPrefixRefs(field); if (refs != null) { List<String> list = new ArrayList<>(refs.keySet()); Map<String, Integer> result = new HashMap<>(); for (String prefix : prefixes) { in...
[ "Map", "<", "String", ",", "Integer", ">", "getPrefixesIds", "(", "String", "field", ",", "List", "<", "String", ">", "prefixes", ")", "{", "LinkedHashMap", "<", "String", ",", "Long", ">", "refs", "=", "getPrefixRefs", "(", "field", ")", ";", "if", "(...
Gets the prefixes ids. @param field the field @param prefixes the prefixes @return the prefixes ids
[ "Gets", "the", "prefixes", "ids", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L501-L516
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getPrefixRefs
private LinkedHashMap<String, Long> getPrefixRefs(String field) { if (fieldReferences.containsKey(field)) { FieldReferences fr = fieldReferences.get(field); if (!prefixReferences.containsKey(field)) { LinkedHashMap<String, Long> refs = new LinkedHashMap<String, Long>(); try { I...
java
private LinkedHashMap<String, Long> getPrefixRefs(String field) { if (fieldReferences.containsKey(field)) { FieldReferences fr = fieldReferences.get(field); if (!prefixReferences.containsKey(field)) { LinkedHashMap<String, Long> refs = new LinkedHashMap<String, Long>(); try { I...
[ "private", "LinkedHashMap", "<", "String", ",", "Long", ">", "getPrefixRefs", "(", "String", "field", ")", "{", "if", "(", "fieldReferences", ".", "containsKey", "(", "field", ")", ")", "{", "FieldReferences", "fr", "=", "fieldReferences", ".", "get", "(", ...
Gets the prefixes. @param field the field @return the prefixes
[ "Gets", "the", "prefixes", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L530-L555
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getDoc
public IndexDoc getDoc(String field, int docId) { if (fieldReferences.containsKey(field)) { FieldReferences fr = fieldReferences.get(field); try { IndexInput inIndexDocId = indexInputList.get("indexDocId"); ArrayList<MtasTreeHit<?>> list = CodecSearchTree.searchMtasTree(docId, ...
java
public IndexDoc getDoc(String field, int docId) { if (fieldReferences.containsKey(field)) { FieldReferences fr = fieldReferences.get(field); try { IndexInput inIndexDocId = indexInputList.get("indexDocId"); ArrayList<MtasTreeHit<?>> list = CodecSearchTree.searchMtasTree(docId, ...
[ "public", "IndexDoc", "getDoc", "(", "String", "field", ",", "int", "docId", ")", "{", "if", "(", "fieldReferences", ".", "containsKey", "(", "field", ")", ")", "{", "FieldReferences", "fr", "=", "fieldReferences", ".", "get", "(", "field", ")", ";", "tr...
Gets the doc. @param field the field @param docId the doc id @return the doc
[ "Gets", "the", "doc", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L566-L582
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getNextDoc
public IndexDoc getNextDoc(String field, int previousDocId) { if (fieldReferences.containsKey(field)) { FieldReferences fr = fieldReferences.get(field); try { if (previousDocId < 0) { return new IndexDoc(fr.refIndexDoc); } else { int nextDocId = previousDocId + 1; ...
java
public IndexDoc getNextDoc(String field, int previousDocId) { if (fieldReferences.containsKey(field)) { FieldReferences fr = fieldReferences.get(field); try { if (previousDocId < 0) { return new IndexDoc(fr.refIndexDoc); } else { int nextDocId = previousDocId + 1; ...
[ "public", "IndexDoc", "getNextDoc", "(", "String", "field", ",", "int", "previousDocId", ")", "{", "if", "(", "fieldReferences", ".", "containsKey", "(", "field", ")", ")", "{", "FieldReferences", "fr", "=", "fieldReferences", ".", "get", "(", "field", ")", ...
Gets the next doc. @param field the field @param previousDocId the previous doc id @return the next doc
[ "Gets", "the", "next", "doc", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L593-L616
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getNumberOfDocs
public int getNumberOfDocs(String field) { if (fieldReferences.containsKey(field)) { FieldReferences fr = fieldReferences.get(field); return fr.numberOfDocs; } else { return 0; } }
java
public int getNumberOfDocs(String field) { if (fieldReferences.containsKey(field)) { FieldReferences fr = fieldReferences.get(field); return fr.numberOfDocs; } else { return 0; } }
[ "public", "int", "getNumberOfDocs", "(", "String", "field", ")", "{", "if", "(", "fieldReferences", ".", "containsKey", "(", "field", ")", ")", "{", "FieldReferences", "fr", "=", "fieldReferences", ".", "get", "(", "field", ")", ";", "return", "fr", ".", ...
Gets the number of docs. @param field the field @return the number of docs
[ "Gets", "the", "number", "of", "docs", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L625-L632
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getNumberOfPositions
public Integer getNumberOfPositions(String field, int docId) { if (fieldReferences.containsKey(field)) { IndexDoc doc = getDoc(field, docId); if (doc != null) { return 1 + doc.maxPosition - doc.minPosition; } } return null; }
java
public Integer getNumberOfPositions(String field, int docId) { if (fieldReferences.containsKey(field)) { IndexDoc doc = getDoc(field, docId); if (doc != null) { return 1 + doc.maxPosition - doc.minPosition; } } return null; }
[ "public", "Integer", "getNumberOfPositions", "(", "String", "field", ",", "int", "docId", ")", "{", "if", "(", "fieldReferences", ".", "containsKey", "(", "field", ")", ")", "{", "IndexDoc", "doc", "=", "getDoc", "(", "field", ",", "docId", ")", ";", "if...
Gets the number of positions. @param field the field @param docId the doc id @return the number of positions
[ "Gets", "the", "number", "of", "positions", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L643-L651
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getAllNumberOfPositions
public HashMap<Integer, Integer> getAllNumberOfPositions(String field, int docBase) throws IOException { HashMap<Integer, Integer> numbers = new HashMap<Integer, Integer>(); if (fieldReferences.containsKey(field)) { FieldReferences fr = fieldReferences.get(field); IndexInput inIndexDoc = index...
java
public HashMap<Integer, Integer> getAllNumberOfPositions(String field, int docBase) throws IOException { HashMap<Integer, Integer> numbers = new HashMap<Integer, Integer>(); if (fieldReferences.containsKey(field)) { FieldReferences fr = fieldReferences.get(field); IndexInput inIndexDoc = index...
[ "public", "HashMap", "<", "Integer", ",", "Integer", ">", "getAllNumberOfPositions", "(", "String", "field", ",", "int", "docBase", ")", "throws", "IOException", "{", "HashMap", "<", "Integer", ",", "Integer", ">", "numbers", "=", "new", "HashMap", "<", "Int...
Gets the all number of positions. @param field the field @param docBase the doc base @return the all number of positions @throws IOException Signals that an I/O exception has occurred.
[ "Gets", "the", "all", "number", "of", "positions", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L664-L679
train
meertensinstituut/mtas
src/main/java/mtas/codec/util/CodecInfo.java
CodecInfo.getNumberOfTokens
public Integer getNumberOfTokens(String field, int docId) { if (fieldReferences.containsKey(field)) { IndexDoc doc = getDoc(field, docId); if (doc != null) { return doc.size; } } return null; }
java
public Integer getNumberOfTokens(String field, int docId) { if (fieldReferences.containsKey(field)) { IndexDoc doc = getDoc(field, docId); if (doc != null) { return doc.size; } } return null; }
[ "public", "Integer", "getNumberOfTokens", "(", "String", "field", ",", "int", "docId", ")", "{", "if", "(", "fieldReferences", ".", "containsKey", "(", "field", ")", ")", "{", "IndexDoc", "doc", "=", "getDoc", "(", "field", ",", "docId", ")", ";", "if", ...
Gets the number of tokens. @param field the field @param docId the doc id @return the number of tokens
[ "Gets", "the", "number", "of", "tokens", "." ]
f02ae730848616bd88b553efa7f9eddc32818e64
https://github.com/meertensinstituut/mtas/blob/f02ae730848616bd88b553efa7f9eddc32818e64/src/main/java/mtas/codec/util/CodecInfo.java#L690-L698
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/sequences/FeatureFactory.java
FeatureFactory.addAllInterningAndSuffixing
@SuppressWarnings({"MethodMayBeStatic"}) protected void addAllInterningAndSuffixing(Collection<String> accumulator, Collection<String> addend, String suffix) { boolean nonNullSuffix = suffix != null && ! "".equals(suffix); if (nonNullSuffix) { suffix = '|' + suffix; } // boolean intern2 = ...
java
@SuppressWarnings({"MethodMayBeStatic"}) protected void addAllInterningAndSuffixing(Collection<String> accumulator, Collection<String> addend, String suffix) { boolean nonNullSuffix = suffix != null && ! "".equals(suffix); if (nonNullSuffix) { suffix = '|' + suffix; } // boolean intern2 = ...
[ "@", "SuppressWarnings", "(", "{", "\"MethodMayBeStatic\"", "}", ")", "protected", "void", "addAllInterningAndSuffixing", "(", "Collection", "<", "String", ">", "accumulator", ",", "Collection", "<", "String", ">", "addend", ",", "String", "suffix", ")", "{", "b...
Makes more complete feature names out of partial feature names, by adding a suffix to the String feature name, adding results to an accumulator @param accumulator The output features are added here @param addend The base set of features @param suffix The suffix added to each feature in the addend set
[ "Makes", "more", "complete", "feature", "names", "out", "of", "partial", "feature", "names", "by", "adding", "a", "suffix", "to", "the", "String", "feature", "name", "adding", "results", "to", "an", "accumulator" ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/sequences/FeatureFactory.java#L92-L108
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/sequences/FeatureFactory.java
FeatureFactory.getWord
protected String getWord(CoreLabel label) { String word = label.getString(TextAnnotation.class); if (flags.wordFunction != null) { word = flags.wordFunction.apply(word); } return word; }
java
protected String getWord(CoreLabel label) { String word = label.getString(TextAnnotation.class); if (flags.wordFunction != null) { word = flags.wordFunction.apply(word); } return word; }
[ "protected", "String", "getWord", "(", "CoreLabel", "label", ")", "{", "String", "word", "=", "label", ".", "getString", "(", "TextAnnotation", ".", "class", ")", ";", "if", "(", "flags", ".", "wordFunction", "!=", "null", ")", "{", "word", "=", "flags",...
Convenience methods for subclasses which use CoreLabel. Gets the word after applying any wordFunction present in the SeqClassifierFlags.
[ "Convenience", "methods", "for", "subclasses", "which", "use", "CoreLabel", ".", "Gets", "the", "word", "after", "applying", "any", "wordFunction", "present", "in", "the", "SeqClassifierFlags", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/sequences/FeatureFactory.java#L115-L121
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/stats/ClassicCounter.java
ClassicCounter.mutableRemove
private MutableDouble mutableRemove(E key) { MutableDouble md = map.remove(key); if (md != null) { totalCount -= md.doubleValue(); } return md; }
java
private MutableDouble mutableRemove(E key) { MutableDouble md = map.remove(key); if (md != null) { totalCount -= md.doubleValue(); } return md; }
[ "private", "MutableDouble", "mutableRemove", "(", "E", "key", ")", "{", "MutableDouble", "md", "=", "map", ".", "remove", "(", "key", ")", ";", "if", "(", "md", "!=", "null", ")", "{", "totalCount", "-=", "md", ".", "doubleValue", "(", ")", ";", "}",...
This is used internally to the class for getting back a MutableDouble in a remove operation. Not for public use. @param key The key to remove @return Its value as a MutableDouble
[ "This", "is", "used", "internally", "to", "the", "class", "for", "getting", "back", "a", "MutableDouble", "in", "a", "remove", "operation", ".", "Not", "for", "public", "use", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/stats/ClassicCounter.java#L415-L421
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsacls.java
nsacls.renumber
public static base_response renumber(nitro_service client) throws Exception { nsacls renumberresource = new nsacls(); return renumberresource.perform_operation(client,"renumber"); }
java
public static base_response renumber(nitro_service client) throws Exception { nsacls renumberresource = new nsacls(); return renumberresource.perform_operation(client,"renumber"); }
[ "public", "static", "base_response", "renumber", "(", "nitro_service", "client", ")", "throws", "Exception", "{", "nsacls", "renumberresource", "=", "new", "nsacls", "(", ")", ";", "return", "renumberresource", ".", "perform_operation", "(", "client", ",", "\"renu...
Use this API to renumber nsacls.
[ "Use", "this", "API", "to", "renumber", "nsacls", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsacls.java#L75-L78
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsacls.java
nsacls.clear
public static base_response clear(nitro_service client) throws Exception { nsacls clearresource = new nsacls(); return clearresource.perform_operation(client,"clear"); }
java
public static base_response clear(nitro_service client) throws Exception { nsacls clearresource = new nsacls(); return clearresource.perform_operation(client,"clear"); }
[ "public", "static", "base_response", "clear", "(", "nitro_service", "client", ")", "throws", "Exception", "{", "nsacls", "clearresource", "=", "new", "nsacls", "(", ")", ";", "return", "clearresource", ".", "perform_operation", "(", "client", ",", "\"clear\"", "...
Use this API to clear nsacls.
[ "Use", "this", "API", "to", "clear", "nsacls", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsacls.java#L83-L86
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsacls.java
nsacls.apply
public static base_response apply(nitro_service client) throws Exception { nsacls applyresource = new nsacls(); return applyresource.perform_operation(client,"apply"); }
java
public static base_response apply(nitro_service client) throws Exception { nsacls applyresource = new nsacls(); return applyresource.perform_operation(client,"apply"); }
[ "public", "static", "base_response", "apply", "(", "nitro_service", "client", ")", "throws", "Exception", "{", "nsacls", "applyresource", "=", "new", "nsacls", "(", ")", ";", "return", "applyresource", ".", "perform_operation", "(", "client", ",", "\"apply\"", "...
Use this API to apply nsacls.
[ "Use", "this", "API", "to", "apply", "nsacls", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsacls.java#L91-L94
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/vlan_linkset_binding.java
vlan_linkset_binding.get
public static vlan_linkset_binding[] get(nitro_service service, Long id) throws Exception{ vlan_linkset_binding obj = new vlan_linkset_binding(); obj.set_id(id); vlan_linkset_binding response[] = (vlan_linkset_binding[]) obj.get_resources(service); return response; }
java
public static vlan_linkset_binding[] get(nitro_service service, Long id) throws Exception{ vlan_linkset_binding obj = new vlan_linkset_binding(); obj.set_id(id); vlan_linkset_binding response[] = (vlan_linkset_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "vlan_linkset_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "Long", "id", ")", "throws", "Exception", "{", "vlan_linkset_binding", "obj", "=", "new", "vlan_linkset_binding", "(", ")", ";", "obj", ".", "set_id", "(", "id",...
Use this API to fetch vlan_linkset_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "vlan_linkset_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/vlan_linkset_binding.java#L198-L203
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsencryptionparams.java
nsencryptionparams.update
public static base_response update(nitro_service client, nsencryptionparams resource) throws Exception { nsencryptionparams updateresource = new nsencryptionparams(); updateresource.method = resource.method; updateresource.keyvalue = resource.keyvalue; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, nsencryptionparams resource) throws Exception { nsencryptionparams updateresource = new nsencryptionparams(); updateresource.method = resource.method; updateresource.keyvalue = resource.keyvalue; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "nsencryptionparams", "resource", ")", "throws", "Exception", "{", "nsencryptionparams", "updateresource", "=", "new", "nsencryptionparams", "(", ")", ";", "updateresource", ".", "meth...
Use this API to update nsencryptionparams.
[ "Use", "this", "API", "to", "update", "nsencryptionparams", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsencryptionparams.java#L116-L121
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsencryptionparams.java
nsencryptionparams.get
public static nsencryptionparams get(nitro_service service) throws Exception{ nsencryptionparams obj = new nsencryptionparams(); nsencryptionparams[] response = (nsencryptionparams[])obj.get_resources(service); return response[0]; }
java
public static nsencryptionparams get(nitro_service service) throws Exception{ nsencryptionparams obj = new nsencryptionparams(); nsencryptionparams[] response = (nsencryptionparams[])obj.get_resources(service); return response[0]; }
[ "public", "static", "nsencryptionparams", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "nsencryptionparams", "obj", "=", "new", "nsencryptionparams", "(", ")", ";", "nsencryptionparams", "[", "]", "response", "=", "(", "nsencryptionparams...
Use this API to fetch all the nsencryptionparams resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "nsencryptionparams", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsencryptionparams.java#L126-L130
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver_auditsyslogpolicy_binding.java
vpnvserver_auditsyslogpolicy_binding.get
public static vpnvserver_auditsyslogpolicy_binding[] get(nitro_service service, String name) throws Exception{ vpnvserver_auditsyslogpolicy_binding obj = new vpnvserver_auditsyslogpolicy_binding(); obj.set_name(name); vpnvserver_auditsyslogpolicy_binding response[] = (vpnvserver_auditsyslogpolicy_binding[]) obj.g...
java
public static vpnvserver_auditsyslogpolicy_binding[] get(nitro_service service, String name) throws Exception{ vpnvserver_auditsyslogpolicy_binding obj = new vpnvserver_auditsyslogpolicy_binding(); obj.set_name(name); vpnvserver_auditsyslogpolicy_binding response[] = (vpnvserver_auditsyslogpolicy_binding[]) obj.g...
[ "public", "static", "vpnvserver_auditsyslogpolicy_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "vpnvserver_auditsyslogpolicy_binding", "obj", "=", "new", "vpnvserver_auditsyslogpolicy_binding", "(", ")...
Use this API to fetch vpnvserver_auditsyslogpolicy_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "vpnvserver_auditsyslogpolicy_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnvserver_auditsyslogpolicy_binding.java#L326-L331
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwprofile_xmldosurl_binding.java
appfwprofile_xmldosurl_binding.get
public static appfwprofile_xmldosurl_binding[] get(nitro_service service, String name) throws Exception{ appfwprofile_xmldosurl_binding obj = new appfwprofile_xmldosurl_binding(); obj.set_name(name); appfwprofile_xmldosurl_binding response[] = (appfwprofile_xmldosurl_binding[]) obj.get_resources(service); retur...
java
public static appfwprofile_xmldosurl_binding[] get(nitro_service service, String name) throws Exception{ appfwprofile_xmldosurl_binding obj = new appfwprofile_xmldosurl_binding(); obj.set_name(name); appfwprofile_xmldosurl_binding response[] = (appfwprofile_xmldosurl_binding[]) obj.get_resources(service); retur...
[ "public", "static", "appfwprofile_xmldosurl_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "appfwprofile_xmldosurl_binding", "obj", "=", "new", "appfwprofile_xmldosurl_binding", "(", ")", ";", "obj",...
Use this API to fetch appfwprofile_xmldosurl_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "appfwprofile_xmldosurl_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/appfw/appfwprofile_xmldosurl_binding.java#L1101-L1106
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/tregex/TregexPatternCompiler.java
TregexPatternCompiler.compile
public TregexPattern compile(String tregex) { for (Pair<String, String> macro : macros) { tregex = tregex.replaceAll(macro.first(), macro.second()); } TregexPattern pattern; try { TregexParser parser = new TregexParser(new StringReader(tregex + '\n'), ...
java
public TregexPattern compile(String tregex) { for (Pair<String, String> macro : macros) { tregex = tregex.replaceAll(macro.first(), macro.second()); } TregexPattern pattern; try { TregexParser parser = new TregexParser(new StringReader(tregex + '\n'), ...
[ "public", "TregexPattern", "compile", "(", "String", "tregex", ")", "{", "for", "(", "Pair", "<", "String", ",", "String", ">", "macro", ":", "macros", ")", "{", "tregex", "=", "tregex", ".", "replaceAll", "(", "macro", ".", "first", "(", ")", ",", "...
Create a TregexPattern from this tregex string using the headFinder and basicCat function this TregexPatternCompiler was created with. <i>Implementation note:</i> If there is an invalid token in the Tregex parser, JavaCC will throw a TokenMgrError. This is a class that extends Error, not Exception (OMG! - bad!), and ...
[ "Create", "a", "TregexPattern", "from", "this", "tregex", "string", "using", "the", "headFinder", "and", "basicCat", "function", "this", "TregexPatternCompiler", "was", "created", "with", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/tregex/TregexPatternCompiler.java#L115-L131
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderpolicy_csvserver_binding.java
responderpolicy_csvserver_binding.get
public static responderpolicy_csvserver_binding[] get(nitro_service service, String name) throws Exception{ responderpolicy_csvserver_binding obj = new responderpolicy_csvserver_binding(); obj.set_name(name); responderpolicy_csvserver_binding response[] = (responderpolicy_csvserver_binding[]) obj.get_resources(se...
java
public static responderpolicy_csvserver_binding[] get(nitro_service service, String name) throws Exception{ responderpolicy_csvserver_binding obj = new responderpolicy_csvserver_binding(); obj.set_name(name); responderpolicy_csvserver_binding response[] = (responderpolicy_csvserver_binding[]) obj.get_resources(se...
[ "public", "static", "responderpolicy_csvserver_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "responderpolicy_csvserver_binding", "obj", "=", "new", "responderpolicy_csvserver_binding", "(", ")", ";",...
Use this API to fetch responderpolicy_csvserver_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "responderpolicy_csvserver_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/responder/responderpolicy_csvserver_binding.java#L162-L167
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl_serialnumber_binding.java
sslcrl_serialnumber_binding.get
public static sslcrl_serialnumber_binding[] get(nitro_service service, String crlname) throws Exception{ sslcrl_serialnumber_binding obj = new sslcrl_serialnumber_binding(); obj.set_crlname(crlname); sslcrl_serialnumber_binding response[] = (sslcrl_serialnumber_binding[]) obj.get_resources(service); return resp...
java
public static sslcrl_serialnumber_binding[] get(nitro_service service, String crlname) throws Exception{ sslcrl_serialnumber_binding obj = new sslcrl_serialnumber_binding(); obj.set_crlname(crlname); sslcrl_serialnumber_binding response[] = (sslcrl_serialnumber_binding[]) obj.get_resources(service); return resp...
[ "public", "static", "sslcrl_serialnumber_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "crlname", ")", "throws", "Exception", "{", "sslcrl_serialnumber_binding", "obj", "=", "new", "sslcrl_serialnumber_binding", "(", ")", ";", "obj", "."...
Use this API to fetch sslcrl_serialnumber_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "sslcrl_serialnumber_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl_serialnumber_binding.java#L122-L127
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl_serialnumber_binding.java
sslcrl_serialnumber_binding.count
public static long count(nitro_service service, String crlname) throws Exception{ sslcrl_serialnumber_binding obj = new sslcrl_serialnumber_binding(); obj.set_crlname(crlname); options option = new options(); option.set_count(true); sslcrl_serialnumber_binding response[] = (sslcrl_serialnumber_binding[]) obj....
java
public static long count(nitro_service service, String crlname) throws Exception{ sslcrl_serialnumber_binding obj = new sslcrl_serialnumber_binding(); obj.set_crlname(crlname); options option = new options(); option.set_count(true); sslcrl_serialnumber_binding response[] = (sslcrl_serialnumber_binding[]) obj....
[ "public", "static", "long", "count", "(", "nitro_service", "service", ",", "String", "crlname", ")", "throws", "Exception", "{", "sslcrl_serialnumber_binding", "obj", "=", "new", "sslcrl_serialnumber_binding", "(", ")", ";", "obj", ".", "set_crlname", "(", "crlnam...
Use this API to count sslcrl_serialnumber_binding resources configued on NetScaler.
[ "Use", "this", "API", "to", "count", "sslcrl_serialnumber_binding", "resources", "configued", "on", "NetScaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcrl_serialnumber_binding.java#L158-L168
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser.java
aaauser.add
public static base_response add(nitro_service client, aaauser resource) throws Exception { aaauser addresource = new aaauser(); addresource.username = resource.username; addresource.password = resource.password; return addresource.add_resource(client); }
java
public static base_response add(nitro_service client, aaauser resource) throws Exception { aaauser addresource = new aaauser(); addresource.username = resource.username; addresource.password = resource.password; return addresource.add_resource(client); }
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "aaauser", "resource", ")", "throws", "Exception", "{", "aaauser", "addresource", "=", "new", "aaauser", "(", ")", ";", "addresource", ".", "username", "=", "resource", ".", "user...
Use this API to add aaauser.
[ "Use", "this", "API", "to", "add", "aaauser", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser.java#L150-L155
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser.java
aaauser.add
public static base_responses add(nitro_service client, aaauser resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { aaauser addresources[] = new aaauser[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new aaauser(); a...
java
public static base_responses add(nitro_service client, aaauser resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { aaauser addresources[] = new aaauser[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new aaauser(); a...
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "aaauser", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "...
Use this API to add aaauser resources.
[ "Use", "this", "API", "to", "add", "aaauser", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser.java#L160-L172
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser.java
aaauser.update
public static base_response update(nitro_service client, aaauser resource) throws Exception { aaauser updateresource = new aaauser(); updateresource.username = resource.username; updateresource.password = resource.password; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, aaauser resource) throws Exception { aaauser updateresource = new aaauser(); updateresource.username = resource.username; updateresource.password = resource.password; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "aaauser", "resource", ")", "throws", "Exception", "{", "aaauser", "updateresource", "=", "new", "aaauser", "(", ")", ";", "updateresource", ".", "username", "=", "resource", "."...
Use this API to update aaauser.
[ "Use", "this", "API", "to", "update", "aaauser", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser.java#L227-L232
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser.java
aaauser.get
public static aaauser[] get(nitro_service service) throws Exception{ aaauser obj = new aaauser(); aaauser[] response = (aaauser[])obj.get_resources(service); return response; }
java
public static aaauser[] get(nitro_service service) throws Exception{ aaauser obj = new aaauser(); aaauser[] response = (aaauser[])obj.get_resources(service); return response; }
[ "public", "static", "aaauser", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "aaauser", "obj", "=", "new", "aaauser", "(", ")", ";", "aaauser", "[", "]", "response", "=", "(", "aaauser", "[", "]", ")", "obj", ".", ...
Use this API to fetch all the aaauser resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "aaauser", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser.java#L254-L258
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser.java
aaauser.get
public static aaauser[] get(nitro_service service, aaauser_args args) throws Exception{ aaauser obj = new aaauser(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); aaauser[] response = (aaauser[])obj.get_resources(service, option); return response; }
java
public static aaauser[] get(nitro_service service, aaauser_args args) throws Exception{ aaauser obj = new aaauser(); options option = new options(); option.set_args(nitro_util.object_to_string_withoutquotes(args)); aaauser[] response = (aaauser[])obj.get_resources(service, option); return response; }
[ "public", "static", "aaauser", "[", "]", "get", "(", "nitro_service", "service", ",", "aaauser_args", "args", ")", "throws", "Exception", "{", "aaauser", "obj", "=", "new", "aaauser", "(", ")", ";", "options", "option", "=", "new", "options", "(", ")", "...
Use this API to fetch all the aaauser resources that are configured on netscaler. This uses aaauser_args which is a way to provide additional arguments while fetching the resources.
[ "Use", "this", "API", "to", "fetch", "all", "the", "aaauser", "resources", "that", "are", "configured", "on", "netscaler", ".", "This", "uses", "aaauser_args", "which", "is", "a", "way", "to", "provide", "additional", "arguments", "while", "fetching", "the", ...
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser.java#L271-L277
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser.java
aaauser.get
public static aaauser get(nitro_service service, String username) throws Exception{ aaauser obj = new aaauser(); obj.set_username(username); aaauser response = (aaauser) obj.get_resource(service); return response; }
java
public static aaauser get(nitro_service service, String username) throws Exception{ aaauser obj = new aaauser(); obj.set_username(username); aaauser response = (aaauser) obj.get_resource(service); return response; }
[ "public", "static", "aaauser", "get", "(", "nitro_service", "service", ",", "String", "username", ")", "throws", "Exception", "{", "aaauser", "obj", "=", "new", "aaauser", "(", ")", ";", "obj", ".", "set_username", "(", "username", ")", ";", "aaauser", "re...
Use this API to fetch aaauser resource of given name .
[ "Use", "this", "API", "to", "fetch", "aaauser", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser.java#L282-L287
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser.java
aaauser.get
public static aaauser[] get(nitro_service service, String username[]) throws Exception{ if (username !=null && username.length>0) { aaauser response[] = new aaauser[username.length]; aaauser obj[] = new aaauser[username.length]; for (int i=0;i<username.length;i++) { obj[i] = new aaauser(); obj[i].set...
java
public static aaauser[] get(nitro_service service, String username[]) throws Exception{ if (username !=null && username.length>0) { aaauser response[] = new aaauser[username.length]; aaauser obj[] = new aaauser[username.length]; for (int i=0;i<username.length;i++) { obj[i] = new aaauser(); obj[i].set...
[ "public", "static", "aaauser", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "username", "[", "]", ")", "throws", "Exception", "{", "if", "(", "username", "!=", "null", "&&", "username", ".", "length", ">", "0", ")", "{", "aaauser", ...
Use this API to fetch aaauser resources of given names .
[ "Use", "this", "API", "to", "fetch", "aaauser", "resources", "of", "given", "names", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/aaa/aaauser.java#L292-L304
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationcertpolicy_authenticationvserver_binding.java
authenticationcertpolicy_authenticationvserver_binding.get
public static authenticationcertpolicy_authenticationvserver_binding[] get(nitro_service service, String name) throws Exception{ authenticationcertpolicy_authenticationvserver_binding obj = new authenticationcertpolicy_authenticationvserver_binding(); obj.set_name(name); authenticationcertpolicy_authenticationvse...
java
public static authenticationcertpolicy_authenticationvserver_binding[] get(nitro_service service, String name) throws Exception{ authenticationcertpolicy_authenticationvserver_binding obj = new authenticationcertpolicy_authenticationvserver_binding(); obj.set_name(name); authenticationcertpolicy_authenticationvse...
[ "public", "static", "authenticationcertpolicy_authenticationvserver_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "authenticationcertpolicy_authenticationvserver_binding", "obj", "=", "new", "authentication...
Use this API to fetch authenticationcertpolicy_authenticationvserver_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "authenticationcertpolicy_authenticationvserver_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/authentication/authenticationcertpolicy_authenticationvserver_binding.java#L132-L137
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/parser/lexparser/MLEDependencyGrammar.java
MLEDependencyGrammar.addRule
public void addRule(IntDependency dependency, double count) { if ( ! directional) { dependency = new IntDependency(dependency.head, dependency.arg, false, dependency.distance); } if (verbose) System.err.println("Adding dep " + dependency); // coreDependencies.incrementCount(dependency, cou...
java
public void addRule(IntDependency dependency, double count) { if ( ! directional) { dependency = new IntDependency(dependency.head, dependency.arg, false, dependency.distance); } if (verbose) System.err.println("Adding dep " + dependency); // coreDependencies.incrementCount(dependency, cou...
[ "public", "void", "addRule", "(", "IntDependency", "dependency", ",", "double", "count", ")", "{", "if", "(", "!", "directional", ")", "{", "dependency", "=", "new", "IntDependency", "(", "dependency", ".", "head", ",", "dependency", ".", "arg", ",", "fals...
Add this dependency with the given count to the grammar. This is the main entry point of MLEDependencyGrammarExtractor. This is a dependency represented in the full tag space.
[ "Add", "this", "dependency", "with", "the", "given", "count", "to", "the", "grammar", ".", "This", "is", "the", "main", "entry", "point", "of", "MLEDependencyGrammarExtractor", ".", "This", "is", "a", "dependency", "represented", "in", "the", "full", "tag", ...
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/parser/lexparser/MLEDependencyGrammar.java#L343-L359
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/parser/lexparser/MLEDependencyGrammar.java
MLEDependencyGrammar.getCachedITW
private IntTaggedWord getCachedITW(short tag) { // The +2 below is because -1 and -2 are used with special meanings (see IntTaggedWord). if (tagITWList == null) { tagITWList = new ArrayList<IntTaggedWord>(numTagBins + 2); for (int i=0; i<numTagBins + 2; i++) { tagITWList.add(i, null); ...
java
private IntTaggedWord getCachedITW(short tag) { // The +2 below is because -1 and -2 are used with special meanings (see IntTaggedWord). if (tagITWList == null) { tagITWList = new ArrayList<IntTaggedWord>(numTagBins + 2); for (int i=0; i<numTagBins + 2; i++) { tagITWList.add(i, null); ...
[ "private", "IntTaggedWord", "getCachedITW", "(", "short", "tag", ")", "{", "// The +2 below is because -1 and -2 are used with special meanings (see IntTaggedWord).\r", "if", "(", "tagITWList", "==", "null", ")", "{", "tagITWList", "=", "new", "ArrayList", "<", "IntTaggedWo...
This maps from a tag to a cached IntTagWord that represents the tag by having the wildcard word ANY_WORD_INT and the tag in the reduced tag space. The argument is in terms of the full tag space; internally this function maps to the reduced space. @param tag short representation of tag in full tag space @return an IntT...
[ "This", "maps", "from", "a", "tag", "to", "a", "cached", "IntTagWord", "that", "represents", "the", "tag", "by", "having", "the", "wildcard", "word", "ANY_WORD_INT", "and", "the", "tag", "in", "the", "reduced", "tag", "space", ".", "The", "argument", "is",...
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/parser/lexparser/MLEDependencyGrammar.java#L373-L387
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/parser/lexparser/MLEDependencyGrammar.java
MLEDependencyGrammar.expandDependency
protected void expandDependency(IntDependency dependency, double count) { //if (Test.prunePunc && pruneTW(dependency.arg)) // return; if (dependency.head == null || dependency.arg == null) { return; } if (dependency.arg.word != STOP_WORD_INT) { expandArg(dependency, valenceBin(...
java
protected void expandDependency(IntDependency dependency, double count) { //if (Test.prunePunc && pruneTW(dependency.arg)) // return; if (dependency.head == null || dependency.arg == null) { return; } if (dependency.arg.word != STOP_WORD_INT) { expandArg(dependency, valenceBin(...
[ "protected", "void", "expandDependency", "(", "IntDependency", "dependency", ",", "double", "count", ")", "{", "//if (Test.prunePunc && pruneTW(dependency.arg))\r", "// return;\r", "if", "(", "dependency", ".", "head", "==", "null", "||", "dependency", ".", "arg", "=...
The dependency arg is still in the full tag space. @param dependency An opbserved dependency @param count The weight of the dependency
[ "The", "dependency", "arg", "is", "still", "in", "the", "full", "tag", "space", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/parser/lexparser/MLEDependencyGrammar.java#L394-L405
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/parser/lexparser/MLEDependencyGrammar.java
MLEDependencyGrammar.scoreTB
public double scoreTB(IntDependency dependency) { return op.testOptions.depWeight * Math.log(probTB(dependency)); }
java
public double scoreTB(IntDependency dependency) { return op.testOptions.depWeight * Math.log(probTB(dependency)); }
[ "public", "double", "scoreTB", "(", "IntDependency", "dependency", ")", "{", "return", "op", ".", "testOptions", ".", "depWeight", "*", "Math", ".", "log", "(", "probTB", "(", "dependency", ")", ")", ";", "}" ]
Score a tag binned dependency.
[ "Score", "a", "tag", "binned", "dependency", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/parser/lexparser/MLEDependencyGrammar.java#L499-L501
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/parser/lexparser/MLEDependencyGrammar.java
MLEDependencyGrammar.readData
@Override public void readData(BufferedReader in) throws IOException { final String LEFT = "left"; int lineNum = 1; // all lines have one rule per line boolean doingStop = false; for (String line = in.readLine(); line != null && line.length() > 0; line = in.readLine()) { try { ...
java
@Override public void readData(BufferedReader in) throws IOException { final String LEFT = "left"; int lineNum = 1; // all lines have one rule per line boolean doingStop = false; for (String line = in.readLine(); line != null && line.length() > 0; line = in.readLine()) { try { ...
[ "@", "Override", "public", "void", "readData", "(", "BufferedReader", "in", ")", "throws", "IOException", "{", "final", "String", "LEFT", "=", "\"left\"", ";", "int", "lineNum", "=", "1", ";", "// all lines have one rule per line\r", "boolean", "doingStop", "=", ...
Populates data in this DependencyGrammar from the character stream given by the Reader r.
[ "Populates", "data", "in", "this", "DependencyGrammar", "from", "the", "character", "stream", "given", "by", "the", "Reader", "r", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/parser/lexparser/MLEDependencyGrammar.java#L804-L840
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/parser/lexparser/MLEDependencyGrammar.java
MLEDependencyGrammar.writeData
@Override public void writeData(PrintWriter out) throws IOException { // all lines have one rule per line for (IntDependency dependency : argCounter.keySet()) { if (dependency.head != wildTW && dependency.arg != wildTW && dependency.head.word != -1 && dependency.arg.word != -1) { ...
java
@Override public void writeData(PrintWriter out) throws IOException { // all lines have one rule per line for (IntDependency dependency : argCounter.keySet()) { if (dependency.head != wildTW && dependency.arg != wildTW && dependency.head.word != -1 && dependency.arg.word != -1) { ...
[ "@", "Override", "public", "void", "writeData", "(", "PrintWriter", "out", ")", "throws", "IOException", "{", "// all lines have one rule per line\r", "for", "(", "IntDependency", "dependency", ":", "argCounter", ".", "keySet", "(", ")", ")", "{", "if", "(", "de...
Writes out data from this Object to the Writer w.
[ "Writes", "out", "data", "from", "this", "Object", "to", "the", "Writer", "w", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/parser/lexparser/MLEDependencyGrammar.java#L845-L867
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnintranetapplication.java
vpnintranetapplication.add
public static base_response add(nitro_service client, vpnintranetapplication resource) throws Exception { vpnintranetapplication addresource = new vpnintranetapplication(); addresource.intranetapplication = resource.intranetapplication; addresource.protocol = resource.protocol; addresource.destip = resource.des...
java
public static base_response add(nitro_service client, vpnintranetapplication resource) throws Exception { vpnintranetapplication addresource = new vpnintranetapplication(); addresource.intranetapplication = resource.intranetapplication; addresource.protocol = resource.protocol; addresource.destip = resource.des...
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "vpnintranetapplication", "resource", ")", "throws", "Exception", "{", "vpnintranetapplication", "addresource", "=", "new", "vpnintranetapplication", "(", ")", ";", "addresource", ".", "i...
Use this API to add vpnintranetapplication.
[ "Use", "this", "API", "to", "add", "vpnintranetapplication", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnintranetapplication.java#L324-L339
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnintranetapplication.java
vpnintranetapplication.add
public static base_responses add(nitro_service client, vpnintranetapplication resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { vpnintranetapplication addresources[] = new vpnintranetapplication[resources.length]; for (int i=0;i<resources.length;i++...
java
public static base_responses add(nitro_service client, vpnintranetapplication resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { vpnintranetapplication addresources[] = new vpnintranetapplication[resources.length]; for (int i=0;i<resources.length;i++...
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "vpnintranetapplication", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resourc...
Use this API to add vpnintranetapplication resources.
[ "Use", "this", "API", "to", "add", "vpnintranetapplication", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnintranetapplication.java#L344-L366
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnintranetapplication.java
vpnintranetapplication.delete
public static base_response delete(nitro_service client, String intranetapplication) throws Exception { vpnintranetapplication deleteresource = new vpnintranetapplication(); deleteresource.intranetapplication = intranetapplication; return deleteresource.delete_resource(client); }
java
public static base_response delete(nitro_service client, String intranetapplication) throws Exception { vpnintranetapplication deleteresource = new vpnintranetapplication(); deleteresource.intranetapplication = intranetapplication; return deleteresource.delete_resource(client); }
[ "public", "static", "base_response", "delete", "(", "nitro_service", "client", ",", "String", "intranetapplication", ")", "throws", "Exception", "{", "vpnintranetapplication", "deleteresource", "=", "new", "vpnintranetapplication", "(", ")", ";", "deleteresource", ".", ...
Use this API to delete vpnintranetapplication of given name.
[ "Use", "this", "API", "to", "delete", "vpnintranetapplication", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnintranetapplication.java#L371-L375
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnintranetapplication.java
vpnintranetapplication.get
public static vpnintranetapplication[] get(nitro_service service) throws Exception{ vpnintranetapplication obj = new vpnintranetapplication(); vpnintranetapplication[] response = (vpnintranetapplication[])obj.get_resources(service); return response; }
java
public static vpnintranetapplication[] get(nitro_service service) throws Exception{ vpnintranetapplication obj = new vpnintranetapplication(); vpnintranetapplication[] response = (vpnintranetapplication[])obj.get_resources(service); return response; }
[ "public", "static", "vpnintranetapplication", "[", "]", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "vpnintranetapplication", "obj", "=", "new", "vpnintranetapplication", "(", ")", ";", "vpnintranetapplication", "[", "]", "response", "="...
Use this API to fetch all the vpnintranetapplication resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "vpnintranetapplication", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnintranetapplication.java#L421-L425
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnintranetapplication.java
vpnintranetapplication.get
public static vpnintranetapplication get(nitro_service service, String intranetapplication) throws Exception{ vpnintranetapplication obj = new vpnintranetapplication(); obj.set_intranetapplication(intranetapplication); vpnintranetapplication response = (vpnintranetapplication) obj.get_resource(service); return ...
java
public static vpnintranetapplication get(nitro_service service, String intranetapplication) throws Exception{ vpnintranetapplication obj = new vpnintranetapplication(); obj.set_intranetapplication(intranetapplication); vpnintranetapplication response = (vpnintranetapplication) obj.get_resource(service); return ...
[ "public", "static", "vpnintranetapplication", "get", "(", "nitro_service", "service", ",", "String", "intranetapplication", ")", "throws", "Exception", "{", "vpnintranetapplication", "obj", "=", "new", "vpnintranetapplication", "(", ")", ";", "obj", ".", "set_intranet...
Use this API to fetch vpnintranetapplication resource of given name .
[ "Use", "this", "API", "to", "fetch", "vpnintranetapplication", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnintranetapplication.java#L437-L442
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnintranetapplication.java
vpnintranetapplication.get
public static vpnintranetapplication[] get(nitro_service service, String intranetapplication[]) throws Exception{ if (intranetapplication !=null && intranetapplication.length>0) { vpnintranetapplication response[] = new vpnintranetapplication[intranetapplication.length]; vpnintranetapplication obj[] = new vpnin...
java
public static vpnintranetapplication[] get(nitro_service service, String intranetapplication[]) throws Exception{ if (intranetapplication !=null && intranetapplication.length>0) { vpnintranetapplication response[] = new vpnintranetapplication[intranetapplication.length]; vpnintranetapplication obj[] = new vpnin...
[ "public", "static", "vpnintranetapplication", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "intranetapplication", "[", "]", ")", "throws", "Exception", "{", "if", "(", "intranetapplication", "!=", "null", "&&", "intranetapplication", ".", "leng...
Use this API to fetch vpnintranetapplication resources of given names .
[ "Use", "this", "API", "to", "fetch", "vpnintranetapplication", "resources", "of", "given", "names", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpnintranetapplication.java#L447-L459
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslpolicy_sslvserver_binding.java
sslpolicy_sslvserver_binding.get
public static sslpolicy_sslvserver_binding[] get(nitro_service service, String name) throws Exception{ sslpolicy_sslvserver_binding obj = new sslpolicy_sslvserver_binding(); obj.set_name(name); sslpolicy_sslvserver_binding response[] = (sslpolicy_sslvserver_binding[]) obj.get_resources(service); return response...
java
public static sslpolicy_sslvserver_binding[] get(nitro_service service, String name) throws Exception{ sslpolicy_sslvserver_binding obj = new sslpolicy_sslvserver_binding(); obj.set_name(name); sslpolicy_sslvserver_binding response[] = (sslpolicy_sslvserver_binding[]) obj.get_resources(service); return response...
[ "public", "static", "sslpolicy_sslvserver_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "sslpolicy_sslvserver_binding", "obj", "=", "new", "sslpolicy_sslvserver_binding", "(", ")", ";", "obj", "."...
Use this API to fetch sslpolicy_sslvserver_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "sslpolicy_sslvserver_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslpolicy_sslvserver_binding.java#L162-L167
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionpolicy_tmglobal_binding.java
tmsessionpolicy_tmglobal_binding.get
public static tmsessionpolicy_tmglobal_binding[] get(nitro_service service, String name) throws Exception{ tmsessionpolicy_tmglobal_binding obj = new tmsessionpolicy_tmglobal_binding(); obj.set_name(name); tmsessionpolicy_tmglobal_binding response[] = (tmsessionpolicy_tmglobal_binding[]) obj.get_resources(service...
java
public static tmsessionpolicy_tmglobal_binding[] get(nitro_service service, String name) throws Exception{ tmsessionpolicy_tmglobal_binding obj = new tmsessionpolicy_tmglobal_binding(); obj.set_name(name); tmsessionpolicy_tmglobal_binding response[] = (tmsessionpolicy_tmglobal_binding[]) obj.get_resources(service...
[ "public", "static", "tmsessionpolicy_tmglobal_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "tmsessionpolicy_tmglobal_binding", "obj", "=", "new", "tmsessionpolicy_tmglobal_binding", "(", ")", ";", ...
Use this API to fetch tmsessionpolicy_tmglobal_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "tmsessionpolicy_tmglobal_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/tm/tmsessionpolicy_tmglobal_binding.java#L132-L137
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsweblogparam.java
nsweblogparam.update
public static base_response update(nitro_service client, nsweblogparam resource) throws Exception { nsweblogparam updateresource = new nsweblogparam(); updateresource.buffersizemb = resource.buffersizemb; updateresource.customreqhdrs = resource.customreqhdrs; updateresource.customrsphdrs = resource.customrsphdr...
java
public static base_response update(nitro_service client, nsweblogparam resource) throws Exception { nsweblogparam updateresource = new nsweblogparam(); updateresource.buffersizemb = resource.buffersizemb; updateresource.customreqhdrs = resource.customreqhdrs; updateresource.customrsphdrs = resource.customrsphdr...
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "nsweblogparam", "resource", ")", "throws", "Exception", "{", "nsweblogparam", "updateresource", "=", "new", "nsweblogparam", "(", ")", ";", "updateresource", ".", "buffersizemb", "=...
Use this API to update nsweblogparam.
[ "Use", "this", "API", "to", "update", "nsweblogparam", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsweblogparam.java#L141-L147
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsweblogparam.java
nsweblogparam.unset
public static base_response unset(nitro_service client, nsweblogparam resource, String[] args) throws Exception{ nsweblogparam unsetresource = new nsweblogparam(); return unsetresource.unset_resource(client,args); }
java
public static base_response unset(nitro_service client, nsweblogparam resource, String[] args) throws Exception{ nsweblogparam unsetresource = new nsweblogparam(); return unsetresource.unset_resource(client,args); }
[ "public", "static", "base_response", "unset", "(", "nitro_service", "client", ",", "nsweblogparam", "resource", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "nsweblogparam", "unsetresource", "=", "new", "nsweblogparam", "(", ")", ";", "retur...
Use this API to unset the properties of nsweblogparam resource. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "nsweblogparam", "resource", ".", "Properties", "that", "need", "to", "be", "unset", "are", "specified", "in", "args", "array", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsweblogparam.java#L153-L156
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsweblogparam.java
nsweblogparam.get
public static nsweblogparam get(nitro_service service, options option) throws Exception{ nsweblogparam obj = new nsweblogparam(); nsweblogparam[] response = (nsweblogparam[])obj.get_resources(service,option); return response[0]; }
java
public static nsweblogparam get(nitro_service service, options option) throws Exception{ nsweblogparam obj = new nsweblogparam(); nsweblogparam[] response = (nsweblogparam[])obj.get_resources(service,option); return response[0]; }
[ "public", "static", "nsweblogparam", "get", "(", "nitro_service", "service", ",", "options", "option", ")", "throws", "Exception", "{", "nsweblogparam", "obj", "=", "new", "nsweblogparam", "(", ")", ";", "nsweblogparam", "[", "]", "response", "=", "(", "nswebl...
Use this API to fetch all the nsweblogparam resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "nsweblogparam", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsweblogparam.java#L170-L174
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nslicense.java
nslicense.get
public static nslicense get(nitro_service service) throws Exception{ nslicense obj = new nslicense(); nslicense[] response = (nslicense[])obj.get_resources(service); return response[0]; }
java
public static nslicense get(nitro_service service) throws Exception{ nslicense obj = new nslicense(); nslicense[] response = (nslicense[])obj.get_resources(service); return response[0]; }
[ "public", "static", "nslicense", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "nslicense", "obj", "=", "new", "nslicense", "(", ")", ";", "nslicense", "[", "]", "response", "=", "(", "nslicense", "[", "]", ")", "obj", ".", "ge...
Use this API to fetch all the nslicense resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "nslicense", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nslicense.java#L540-L544
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/network/ipset_binding.java
ipset_binding.get
public static ipset_binding get(nitro_service service, String name) throws Exception{ ipset_binding obj = new ipset_binding(); obj.set_name(name); ipset_binding response = (ipset_binding) obj.get_resource(service); return response; }
java
public static ipset_binding get(nitro_service service, String name) throws Exception{ ipset_binding obj = new ipset_binding(); obj.set_name(name); ipset_binding response = (ipset_binding) obj.get_resource(service); return response; }
[ "public", "static", "ipset_binding", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "ipset_binding", "obj", "=", "new", "ipset_binding", "(", ")", ";", "obj", ".", "set_name", "(", "name", ")", ";", "ipset_bin...
Use this API to fetch ipset_binding resource of given name .
[ "Use", "this", "API", "to", "fetch", "ipset_binding", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/network/ipset_binding.java#L114-L119
train
wellner/jcarafe
jcarafe-core/src/main/java/cern/colt/list/AbstractLongList.java
AbstractLongList.elements
public long[] elements() { long[] myElements = new long[size]; for (int i=size; --i >= 0; ) myElements[i]=getQuick(i); return myElements; } /** * Sets the receiver's elements to be the specified array. * The size and capacity of the list is the length of the array. * <b>WARNING:</b> For efficiency reasons...
java
public long[] elements() { long[] myElements = new long[size]; for (int i=size; --i >= 0; ) myElements[i]=getQuick(i); return myElements; } /** * Sets the receiver's elements to be the specified array. * The size and capacity of the list is the length of the array. * <b>WARNING:</b> For efficiency reasons...
[ "public", "long", "[", "]", "elements", "(", ")", "{", "long", "[", "]", "myElements", "=", "new", "long", "[", "size", "]", ";", "for", "(", "int", "i", "=", "size", ";", "--", "i", ">=", "0", ";", ")", "myElements", "[", "i", "]", "=", "get...
Returns the elements currently stored, possibly including invalid elements between size and capacity. <b>WARNING:</b> For efficiency reasons and to keep memory usage low, this method may decide <b>not to copy the array</b>. So if subsequently you modify the returned array directly via the [] operator, be sure you know...
[ "Returns", "the", "elements", "currently", "stored", "possibly", "including", "invalid", "elements", "between", "size", "and", "capacity", "." ]
ab8b0a83dbf600fe80c27711815c90bd3055b217
https://github.com/wellner/jcarafe/blob/ab8b0a83dbf600fe80c27711815c90bd3055b217/jcarafe-core/src/main/java/cern/colt/list/AbstractLongList.java#L189-L745
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/audit/auditsyslogpolicy_binding.java
auditsyslogpolicy_binding.get
public static auditsyslogpolicy_binding get(nitro_service service, String name) throws Exception{ auditsyslogpolicy_binding obj = new auditsyslogpolicy_binding(); obj.set_name(name); auditsyslogpolicy_binding response = (auditsyslogpolicy_binding) obj.get_resource(service); return response; }
java
public static auditsyslogpolicy_binding get(nitro_service service, String name) throws Exception{ auditsyslogpolicy_binding obj = new auditsyslogpolicy_binding(); obj.set_name(name); auditsyslogpolicy_binding response = (auditsyslogpolicy_binding) obj.get_resource(service); return response; }
[ "public", "static", "auditsyslogpolicy_binding", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "auditsyslogpolicy_binding", "obj", "=", "new", "auditsyslogpolicy_binding", "(", ")", ";", "obj", ".", "set_name", "(", ...
Use this API to fetch auditsyslogpolicy_binding resource of given name .
[ "Use", "this", "API", "to", "fetch", "auditsyslogpolicy_binding", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/audit/auditsyslogpolicy_binding.java#L191-L196
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcipher_sslciphersuite_binding.java
sslcipher_sslciphersuite_binding.get
public static sslcipher_sslciphersuite_binding[] get(nitro_service service, String ciphergroupname) throws Exception{ sslcipher_sslciphersuite_binding obj = new sslcipher_sslciphersuite_binding(); obj.set_ciphergroupname(ciphergroupname); sslcipher_sslciphersuite_binding response[] = (sslcipher_sslciphersuite_bin...
java
public static sslcipher_sslciphersuite_binding[] get(nitro_service service, String ciphergroupname) throws Exception{ sslcipher_sslciphersuite_binding obj = new sslcipher_sslciphersuite_binding(); obj.set_ciphergroupname(ciphergroupname); sslcipher_sslciphersuite_binding response[] = (sslcipher_sslciphersuite_bin...
[ "public", "static", "sslcipher_sslciphersuite_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "ciphergroupname", ")", "throws", "Exception", "{", "sslcipher_sslciphersuite_binding", "obj", "=", "new", "sslcipher_sslciphersuite_binding", "(", ")"...
Use this API to fetch sslcipher_sslciphersuite_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "sslcipher_sslciphersuite_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcipher_sslciphersuite_binding.java#L225-L230
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcipher_binding.java
sslcipher_binding.get
public static sslcipher_binding get(nitro_service service, String ciphergroupname) throws Exception{ sslcipher_binding obj = new sslcipher_binding(); obj.set_ciphergroupname(ciphergroupname); sslcipher_binding response = (sslcipher_binding) obj.get_resource(service); return response; }
java
public static sslcipher_binding get(nitro_service service, String ciphergroupname) throws Exception{ sslcipher_binding obj = new sslcipher_binding(); obj.set_ciphergroupname(ciphergroupname); sslcipher_binding response = (sslcipher_binding) obj.get_resource(service); return response; }
[ "public", "static", "sslcipher_binding", "get", "(", "nitro_service", "service", ",", "String", "ciphergroupname", ")", "throws", "Exception", "{", "sslcipher_binding", "obj", "=", "new", "sslcipher_binding", "(", ")", ";", "obj", ".", "set_ciphergroupname", "(", ...
Use this API to fetch sslcipher_binding resource of given name .
[ "Use", "this", "API", "to", "fetch", "sslcipher_binding", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslcipher_binding.java#L114-L119
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/audit/auditnslogpolicy_tmglobal_binding.java
auditnslogpolicy_tmglobal_binding.get
public static auditnslogpolicy_tmglobal_binding[] get(nitro_service service, String name) throws Exception{ auditnslogpolicy_tmglobal_binding obj = new auditnslogpolicy_tmglobal_binding(); obj.set_name(name); auditnslogpolicy_tmglobal_binding response[] = (auditnslogpolicy_tmglobal_binding[]) obj.get_resources(se...
java
public static auditnslogpolicy_tmglobal_binding[] get(nitro_service service, String name) throws Exception{ auditnslogpolicy_tmglobal_binding obj = new auditnslogpolicy_tmglobal_binding(); obj.set_name(name); auditnslogpolicy_tmglobal_binding response[] = (auditnslogpolicy_tmglobal_binding[]) obj.get_resources(se...
[ "public", "static", "auditnslogpolicy_tmglobal_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "auditnslogpolicy_tmglobal_binding", "obj", "=", "new", "auditnslogpolicy_tmglobal_binding", "(", ")", ";",...
Use this API to fetch auditnslogpolicy_tmglobal_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "auditnslogpolicy_tmglobal_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/audit/auditnslogpolicy_tmglobal_binding.java#L132-L137
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsdhcpparams.java
nsdhcpparams.update
public static base_response update(nitro_service client, nsdhcpparams resource) throws Exception { nsdhcpparams updateresource = new nsdhcpparams(); updateresource.dhcpclient = resource.dhcpclient; updateresource.saveroute = resource.saveroute; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, nsdhcpparams resource) throws Exception { nsdhcpparams updateresource = new nsdhcpparams(); updateresource.dhcpclient = resource.dhcpclient; updateresource.saveroute = resource.saveroute; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "nsdhcpparams", "resource", ")", "throws", "Exception", "{", "nsdhcpparams", "updateresource", "=", "new", "nsdhcpparams", "(", ")", ";", "updateresource", ".", "dhcpclient", "=", ...
Use this API to update nsdhcpparams.
[ "Use", "this", "API", "to", "update", "nsdhcpparams", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsdhcpparams.java#L156-L161
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsdhcpparams.java
nsdhcpparams.unset
public static base_response unset(nitro_service client, nsdhcpparams resource, String[] args) throws Exception{ nsdhcpparams unsetresource = new nsdhcpparams(); return unsetresource.unset_resource(client,args); }
java
public static base_response unset(nitro_service client, nsdhcpparams resource, String[] args) throws Exception{ nsdhcpparams unsetresource = new nsdhcpparams(); return unsetresource.unset_resource(client,args); }
[ "public", "static", "base_response", "unset", "(", "nitro_service", "client", ",", "nsdhcpparams", "resource", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "nsdhcpparams", "unsetresource", "=", "new", "nsdhcpparams", "(", ")", ";", "return",...
Use this API to unset the properties of nsdhcpparams resource. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "nsdhcpparams", "resource", ".", "Properties", "that", "need", "to", "be", "unset", "are", "specified", "in", "args", "array", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsdhcpparams.java#L167-L170
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsdhcpparams.java
nsdhcpparams.get
public static nsdhcpparams get(nitro_service service) throws Exception{ nsdhcpparams obj = new nsdhcpparams(); nsdhcpparams[] response = (nsdhcpparams[])obj.get_resources(service); return response[0]; }
java
public static nsdhcpparams get(nitro_service service) throws Exception{ nsdhcpparams obj = new nsdhcpparams(); nsdhcpparams[] response = (nsdhcpparams[])obj.get_resources(service); return response[0]; }
[ "public", "static", "nsdhcpparams", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "nsdhcpparams", "obj", "=", "new", "nsdhcpparams", "(", ")", ";", "nsdhcpparams", "[", "]", "response", "=", "(", "nsdhcpparams", "[", "]", ")", "obj...
Use this API to fetch all the nsdhcpparams resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "nsdhcpparams", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsdhcpparams.java#L175-L179
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filterprebodyinjection.java
filterprebodyinjection.update
public static base_response update(nitro_service client, filterprebodyinjection resource) throws Exception { filterprebodyinjection updateresource = new filterprebodyinjection(); updateresource.prebody = resource.prebody; return updateresource.update_resource(client); }
java
public static base_response update(nitro_service client, filterprebodyinjection resource) throws Exception { filterprebodyinjection updateresource = new filterprebodyinjection(); updateresource.prebody = resource.prebody; return updateresource.update_resource(client); }
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "filterprebodyinjection", "resource", ")", "throws", "Exception", "{", "filterprebodyinjection", "updateresource", "=", "new", "filterprebodyinjection", "(", ")", ";", "updateresource", ...
Use this API to update filterprebodyinjection.
[ "Use", "this", "API", "to", "update", "filterprebodyinjection", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filterprebodyinjection.java#L107-L111
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filterprebodyinjection.java
filterprebodyinjection.unset
public static base_response unset(nitro_service client, filterprebodyinjection resource, String[] args) throws Exception{ filterprebodyinjection unsetresource = new filterprebodyinjection(); return unsetresource.unset_resource(client,args); }
java
public static base_response unset(nitro_service client, filterprebodyinjection resource, String[] args) throws Exception{ filterprebodyinjection unsetresource = new filterprebodyinjection(); return unsetresource.unset_resource(client,args); }
[ "public", "static", "base_response", "unset", "(", "nitro_service", "client", ",", "filterprebodyinjection", "resource", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "filterprebodyinjection", "unsetresource", "=", "new", "filterprebodyinjection", ...
Use this API to unset the properties of filterprebodyinjection resource. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "filterprebodyinjection", "resource", ".", "Properties", "that", "need", "to", "be", "unset", "are", "specified", "in", "args", "array", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filterprebodyinjection.java#L117-L120
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filterprebodyinjection.java
filterprebodyinjection.get
public static filterprebodyinjection get(nitro_service service) throws Exception{ filterprebodyinjection obj = new filterprebodyinjection(); filterprebodyinjection[] response = (filterprebodyinjection[])obj.get_resources(service); return response[0]; }
java
public static filterprebodyinjection get(nitro_service service) throws Exception{ filterprebodyinjection obj = new filterprebodyinjection(); filterprebodyinjection[] response = (filterprebodyinjection[])obj.get_resources(service); return response[0]; }
[ "public", "static", "filterprebodyinjection", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "filterprebodyinjection", "obj", "=", "new", "filterprebodyinjection", "(", ")", ";", "filterprebodyinjection", "[", "]", "response", "=", "(", "fi...
Use this API to fetch all the filterprebodyinjection resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "all", "the", "filterprebodyinjection", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/filter/filterprebodyinjection.java#L125-L129
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficpolicy_aaauser_binding.java
vpntrafficpolicy_aaauser_binding.get
public static vpntrafficpolicy_aaauser_binding[] get(nitro_service service, String name) throws Exception{ vpntrafficpolicy_aaauser_binding obj = new vpntrafficpolicy_aaauser_binding(); obj.set_name(name); vpntrafficpolicy_aaauser_binding response[] = (vpntrafficpolicy_aaauser_binding[]) obj.get_resources(service...
java
public static vpntrafficpolicy_aaauser_binding[] get(nitro_service service, String name) throws Exception{ vpntrafficpolicy_aaauser_binding obj = new vpntrafficpolicy_aaauser_binding(); obj.set_name(name); vpntrafficpolicy_aaauser_binding response[] = (vpntrafficpolicy_aaauser_binding[]) obj.get_resources(service...
[ "public", "static", "vpntrafficpolicy_aaauser_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "vpntrafficpolicy_aaauser_binding", "obj", "=", "new", "vpntrafficpolicy_aaauser_binding", "(", ")", ";", ...
Use this API to fetch vpntrafficpolicy_aaauser_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "vpntrafficpolicy_aaauser_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/vpn/vpntrafficpolicy_aaauser_binding.java#L132-L137
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslpolicylabel_sslpolicy_binding.java
sslpolicylabel_sslpolicy_binding.get
public static sslpolicylabel_sslpolicy_binding[] get(nitro_service service, String labelname) throws Exception{ sslpolicylabel_sslpolicy_binding obj = new sslpolicylabel_sslpolicy_binding(); obj.set_labelname(labelname); sslpolicylabel_sslpolicy_binding response[] = (sslpolicylabel_sslpolicy_binding[]) obj.get_re...
java
public static sslpolicylabel_sslpolicy_binding[] get(nitro_service service, String labelname) throws Exception{ sslpolicylabel_sslpolicy_binding obj = new sslpolicylabel_sslpolicy_binding(); obj.set_labelname(labelname); sslpolicylabel_sslpolicy_binding response[] = (sslpolicylabel_sslpolicy_binding[]) obj.get_re...
[ "public", "static", "sslpolicylabel_sslpolicy_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "labelname", ")", "throws", "Exception", "{", "sslpolicylabel_sslpolicy_binding", "obj", "=", "new", "sslpolicylabel_sslpolicy_binding", "(", ")", ";...
Use this API to fetch sslpolicylabel_sslpolicy_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "sslpolicylabel_sslpolicy_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ssl/sslpolicylabel_sslpolicy_binding.java#L279-L284
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/classify/PRCurve.java
PRCurve.init
void init() { numnegative = new int[numSamples() + 1]; numpositive = new int[numSamples() + 1]; numnegative[0] = 0; numpositive[0] = 0; int num = numSamples(); for (int i = 1; i <= num; i++) { numnegative[i] = numnegative[i - 1] + (classes[i - 1] == 0 ? 1 : 0); } for (int ...
java
void init() { numnegative = new int[numSamples() + 1]; numpositive = new int[numSamples() + 1]; numnegative[0] = 0; numpositive[0] = 0; int num = numSamples(); for (int i = 1; i <= num; i++) { numnegative[i] = numnegative[i - 1] + (classes[i - 1] == 0 ? 1 : 0); } for (int ...
[ "void", "init", "(", ")", "{", "numnegative", "=", "new", "int", "[", "numSamples", "(", ")", "+", "1", "]", ";", "numpositive", "=", "new", "int", "[", "numSamples", "(", ")", "+", "1", "]", ";", "numnegative", "[", "0", "]", "=", "0", ";", "n...
initialize the numpositive and the numnegative arrays
[ "initialize", "the", "numpositive", "and", "the", "numnegative", "arrays" ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/classify/PRCurve.java#L128-L144
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/classify/PRCurve.java
PRCurve.precision
public int precision(int recall) { int optimum = 0; for (int right = 0; right <= recall; right++) { int candidate = numpositive[right] + numnegative[recall - right]; if (candidate > optimum) { optimum = candidate; } } return optimum; }
java
public int precision(int recall) { int optimum = 0; for (int right = 0; right <= recall; right++) { int candidate = numpositive[right] + numnegative[recall - right]; if (candidate > optimum) { optimum = candidate; } } return optimum; }
[ "public", "int", "precision", "(", "int", "recall", ")", "{", "int", "optimum", "=", "0", ";", "for", "(", "int", "right", "=", "0", ";", "right", "<=", "recall", ";", "right", "++", ")", "{", "int", "candidate", "=", "numpositive", "[", "right", "...
what is the best precision at the given recall
[ "what", "is", "the", "best", "precision", "at", "the", "given", "recall" ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/classify/PRCurve.java#L154-L163
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/classify/PRCurve.java
PRCurve.fmeasure
public double fmeasure(int numleft, int numright) { int tp = 0, fp = 0, fn = 0; tp = numpositive[numright]; fp = numright - tp; fn = numleft - numnegative[numleft]; return f1(tp, fp, fn); }
java
public double fmeasure(int numleft, int numright) { int tp = 0, fp = 0, fn = 0; tp = numpositive[numright]; fp = numright - tp; fn = numleft - numnegative[numleft]; return f1(tp, fp, fn); }
[ "public", "double", "fmeasure", "(", "int", "numleft", ",", "int", "numright", ")", "{", "int", "tp", "=", "0", ",", "fp", "=", "0", ",", "fn", "=", "0", ";", "tp", "=", "numpositive", "[", "numright", "]", ";", "fp", "=", "numright", "-", "tp", ...
the f-measure if we just guess as negativ the first numleft and guess as poitive the last numright
[ "the", "f", "-", "measure", "if", "we", "just", "guess", "as", "negativ", "the", "first", "numleft", "and", "guess", "as", "poitive", "the", "last", "numright" ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/classify/PRCurve.java#L181-L187
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/classify/PRCurve.java
PRCurve.logPrecision
public int logPrecision(int recall) { int totaltaken = 0; int rightIndex = numSamples() - 1; //next right candidate int leftIndex = 0; //next left candidate int totalcorrect = 0; while (totaltaken < recall) { double confr = Math.abs(scores[rightIndex] - .5); double confl = Math....
java
public int logPrecision(int recall) { int totaltaken = 0; int rightIndex = numSamples() - 1; //next right candidate int leftIndex = 0; //next left candidate int totalcorrect = 0; while (totaltaken < recall) { double confr = Math.abs(scores[rightIndex] - .5); double confl = Math....
[ "public", "int", "logPrecision", "(", "int", "recall", ")", "{", "int", "totaltaken", "=", "0", ";", "int", "rightIndex", "=", "numSamples", "(", ")", "-", "1", ";", "//next right candidate\r", "int", "leftIndex", "=", "0", ";", "//next left candidate\r", "i...
what is the precision at this recall if we look at the score as the probability of class 1 given x as if coming from logistic regression
[ "what", "is", "the", "precision", "at", "this", "recall", "if", "we", "look", "at", "the", "score", "as", "the", "probability", "of", "class", "1", "given", "x", "as", "if", "coming", "from", "logistic", "regression" ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/classify/PRCurve.java#L195-L222
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/classify/PRCurve.java
PRCurve.optFmeasure
public double optFmeasure(int recall) { double max = 0; for (int i = 0; i < (recall + 1); i++) { double f = fmeasure(i, recall - i); if (f > max) { max = f; } } return max; }
java
public double optFmeasure(int recall) { double max = 0; for (int i = 0; i < (recall + 1); i++) { double f = fmeasure(i, recall - i); if (f > max) { max = f; } } return max; }
[ "public", "double", "optFmeasure", "(", "int", "recall", ")", "{", "double", "max", "=", "0", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "(", "recall", "+", "1", ")", ";", "i", "++", ")", "{", "double", "f", "=", "fmeasure", "(", "...
what is the optimal f-measure we can achieve given recall guesses using the optimal monotonic function
[ "what", "is", "the", "optimal", "f", "-", "measure", "we", "can", "achieve", "given", "recall", "guesses", "using", "the", "optimal", "monotonic", "function" ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/classify/PRCurve.java#L229-L238
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/classify/PRCurve.java
PRCurve.fmeasure
public double fmeasure(int recall) { int totaltaken = 0; int rightIndex = numSamples() - 1; //next right candidate int leftIndex = 0; //next left candidate int tp = 0, fp = 0, fn = 0; while (totaltaken < recall) { double confr = Math.abs(scores[rightIndex] - .5); double confl = Ma...
java
public double fmeasure(int recall) { int totaltaken = 0; int rightIndex = numSamples() - 1; //next right candidate int leftIndex = 0; //next left candidate int tp = 0, fp = 0, fn = 0; while (totaltaken < recall) { double confr = Math.abs(scores[rightIndex] - .5); double confl = Ma...
[ "public", "double", "fmeasure", "(", "int", "recall", ")", "{", "int", "totaltaken", "=", "0", ";", "int", "rightIndex", "=", "numSamples", "(", ")", "-", "1", ";", "//next right candidate\r", "int", "leftIndex", "=", "0", ";", "//next left candidate\r", "in...
what is the f-measure at this recall if we look at the score as the probability of class 1 given x as if coming from logistic regression same as logPrecision but calculating f-measure @param recall make this many guesses for which we are most confident
[ "what", "is", "the", "f", "-", "measure", "at", "this", "recall", "if", "we", "look", "at", "the", "score", "as", "the", "probability", "of", "class", "1", "given", "x", "as", "if", "coming", "from", "logistic", "regression", "same", "as", "logPrecision"...
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/classify/PRCurve.java#L250-L283
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/classify/PRCurve.java
PRCurve.logLikelihood
public double logLikelihood() { double loglik = 0; for (int i = 0; i < scores.length; i++) { loglik += Math.log(classes[i] == 0 ? 1 - scores[i] : scores[i]); } return loglik; }
java
public double logLikelihood() { double loglik = 0; for (int i = 0; i < scores.length; i++) { loglik += Math.log(classes[i] == 0 ? 1 - scores[i] : scores[i]); } return loglik; }
[ "public", "double", "logLikelihood", "(", ")", "{", "double", "loglik", "=", "0", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "scores", ".", "length", ";", "i", "++", ")", "{", "loglik", "+=", "Math", ".", "log", "(", "classes", "[", ...
assuming the scores are probability of 1 given x
[ "assuming", "the", "scores", "are", "probability", "of", "1", "given", "x" ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/classify/PRCurve.java#L290-L296
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/classify/PRCurve.java
PRCurve.optimalCwa
public double optimalCwa() { double acc = 0; for (int recall = 1; recall <= numSamples(); recall++) { acc += precision(recall) / (double) recall; } return acc / numSamples(); }
java
public double optimalCwa() { double acc = 0; for (int recall = 1; recall <= numSamples(); recall++) { acc += precision(recall) / (double) recall; } return acc / numSamples(); }
[ "public", "double", "optimalCwa", "(", ")", "{", "double", "acc", "=", "0", ";", "for", "(", "int", "recall", "=", "1", ";", "recall", "<=", "numSamples", "(", ")", ";", "recall", "++", ")", "{", "acc", "+=", "precision", "(", "recall", ")", "/", ...
optimal confidence weighted accuracy assuming for each recall we can fit an optimal monotonic function
[ "optimal", "confidence", "weighted", "accuracy", "assuming", "for", "each", "recall", "we", "can", "fit", "an", "optimal", "monotonic", "function" ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/classify/PRCurve.java#L338-L344
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/stat/ns/nssimpleacl6_stats.java
nssimpleacl6_stats.get
public static nssimpleacl6_stats get(nitro_service service) throws Exception{ nssimpleacl6_stats obj = new nssimpleacl6_stats(); nssimpleacl6_stats[] response = (nssimpleacl6_stats[])obj.stat_resources(service); return response[0]; }
java
public static nssimpleacl6_stats get(nitro_service service) throws Exception{ nssimpleacl6_stats obj = new nssimpleacl6_stats(); nssimpleacl6_stats[] response = (nssimpleacl6_stats[])obj.stat_resources(service); return response[0]; }
[ "public", "static", "nssimpleacl6_stats", "get", "(", "nitro_service", "service", ")", "throws", "Exception", "{", "nssimpleacl6_stats", "obj", "=", "new", "nssimpleacl6_stats", "(", ")", ";", "nssimpleacl6_stats", "[", "]", "response", "=", "(", "nssimpleacl6_stats...
Use this API to fetch the statistics of all nssimpleacl6_stats resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "the", "statistics", "of", "all", "nssimpleacl6_stats", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/ns/nssimpleacl6_stats.java#L204-L208
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/Tsurgeon.java
Tsurgeon.getOperationFromReader
public static Pair<TregexPattern, TsurgeonPattern> getOperationFromReader(BufferedReader reader, TregexPatternCompiler compiler) throws IOException { String patternString = getPatternFromFile(reader); // System.err.println("Read tregex pattern: " + patternString); if ("".equals(patternString)) { r...
java
public static Pair<TregexPattern, TsurgeonPattern> getOperationFromReader(BufferedReader reader, TregexPatternCompiler compiler) throws IOException { String patternString = getPatternFromFile(reader); // System.err.println("Read tregex pattern: " + patternString); if ("".equals(patternString)) { r...
[ "public", "static", "Pair", "<", "TregexPattern", ",", "TsurgeonPattern", ">", "getOperationFromReader", "(", "BufferedReader", "reader", ",", "TregexPatternCompiler", "compiler", ")", "throws", "IOException", "{", "String", "patternString", "=", "getPatternFromFile", "...
Parses a tsurgeon script text input and compiles a tregex pattern and a list of tsurgeon operations into a pair. @param reader Reader to read patterns from @return A pair of a tregex and tsurgeon pattern read from a file, or <code>null</code> when the operations in the Reader have been exhausted @throws IOException If...
[ "Parses", "a", "tsurgeon", "script", "text", "input", "and", "compiles", "a", "tregex", "pattern", "and", "a", "list", "of", "tsurgeon", "operations", "into", "a", "pair", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/Tsurgeon.java#L304-L314
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/Tsurgeon.java
Tsurgeon.getPatternFromFile
public static String getPatternFromFile(BufferedReader reader) throws IOException { StringBuilder matchString = new StringBuilder(); for (String thisLine; (thisLine = reader.readLine()) != null; ) { if (matchString.length() > 0 && emptyLinePattern.matcher(thisLine).matches()) { // A blank line...
java
public static String getPatternFromFile(BufferedReader reader) throws IOException { StringBuilder matchString = new StringBuilder(); for (String thisLine; (thisLine = reader.readLine()) != null; ) { if (matchString.length() > 0 && emptyLinePattern.matcher(thisLine).matches()) { // A blank line...
[ "public", "static", "String", "getPatternFromFile", "(", "BufferedReader", "reader", ")", "throws", "IOException", "{", "StringBuilder", "matchString", "=", "new", "StringBuilder", "(", ")", ";", "for", "(", "String", "thisLine", ";", "(", "thisLine", "=", "read...
Assumes that we are at the beginning of a tsurgeon script file and gets the string for the tregex pattern leading the file @return tregex pattern string
[ "Assumes", "that", "we", "are", "at", "the", "beginning", "of", "a", "tsurgeon", "script", "file", "and", "gets", "the", "string", "for", "the", "tregex", "pattern", "leading", "the", "file" ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/Tsurgeon.java#L321-L338
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/Tsurgeon.java
Tsurgeon.getOperationsFromFile
public static List<Pair<TregexPattern, TsurgeonPattern>> getOperationsFromFile(String filename, String encoding, TregexPatternCompiler compiler) throws IOException { List<Pair<TregexPattern,TsurgeonPattern>> operations = new ArrayList<Pair<TregexPattern, TsurgeonPattern>>(); BufferedReader reader = new Buffer...
java
public static List<Pair<TregexPattern, TsurgeonPattern>> getOperationsFromFile(String filename, String encoding, TregexPatternCompiler compiler) throws IOException { List<Pair<TregexPattern,TsurgeonPattern>> operations = new ArrayList<Pair<TregexPattern, TsurgeonPattern>>(); BufferedReader reader = new Buffer...
[ "public", "static", "List", "<", "Pair", "<", "TregexPattern", ",", "TsurgeonPattern", ">", ">", "getOperationsFromFile", "(", "String", "filename", ",", "String", "encoding", ",", "TregexPatternCompiler", "compiler", ")", "throws", "IOException", "{", "List", "<"...
Parses a tsurgeon script file and compiles all operations in the file into a list of pairs of tregex and tsurgeon patterns. @param filename file containing the tsurgeon script @return A pair of a tregex and tsurgeon pattern read from a file @throws IOException If there is any I/O problem
[ "Parses", "a", "tsurgeon", "script", "file", "and", "compiles", "all", "operations", "in", "the", "file", "into", "a", "list", "of", "pairs", "of", "tregex", "and", "tsurgeon", "patterns", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/Tsurgeon.java#L400-L412
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/Tsurgeon.java
Tsurgeon.processPatternsOnTree
public static Tree processPatternsOnTree(List<Pair<TregexPattern, TsurgeonPattern>> ops, Tree t) { matchedOnTree = false; for (Pair<TregexPattern,TsurgeonPattern> op : ops) { try { if (DEBUG) { System.err.println("Running pattern " + op.first()); } TregexMatcher m ...
java
public static Tree processPatternsOnTree(List<Pair<TregexPattern, TsurgeonPattern>> ops, Tree t) { matchedOnTree = false; for (Pair<TregexPattern,TsurgeonPattern> op : ops) { try { if (DEBUG) { System.err.println("Running pattern " + op.first()); } TregexMatcher m ...
[ "public", "static", "Tree", "processPatternsOnTree", "(", "List", "<", "Pair", "<", "TregexPattern", ",", "TsurgeonPattern", ">", ">", "ops", ",", "Tree", "t", ")", "{", "matchedOnTree", "=", "false", ";", "for", "(", "Pair", "<", "TregexPattern", ",", "Ts...
hack-in field for seeing whether there was a match.
[ "hack", "-", "in", "field", "for", "seeing", "whether", "there", "was", "a", "match", "." ]
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/Tsurgeon.java#L448-L469
train
PeterisP/LVTagger
src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/Tsurgeon.java
Tsurgeon.collectOperations
public static TsurgeonPattern collectOperations(List<TsurgeonPattern> patterns) { return new TsurgeonPatternRoot(patterns.toArray(new TsurgeonPattern[patterns.size()])); }
java
public static TsurgeonPattern collectOperations(List<TsurgeonPattern> patterns) { return new TsurgeonPatternRoot(patterns.toArray(new TsurgeonPattern[patterns.size()])); }
[ "public", "static", "TsurgeonPattern", "collectOperations", "(", "List", "<", "TsurgeonPattern", ">", "patterns", ")", "{", "return", "new", "TsurgeonPatternRoot", "(", "patterns", ".", "toArray", "(", "new", "TsurgeonPattern", "[", "patterns", ".", "size", "(", ...
Collects a list of operation patterns into a sequence of operations to be applied. Required to keep track of global properties across a sequence of operations. For example, if you want to insert a named node and then coindex it with another node, you will need to collect the insertion and coindexation operations into...
[ "Collects", "a", "list", "of", "operation", "patterns", "into", "a", "sequence", "of", "operations", "to", "be", "applied", ".", "Required", "to", "keep", "track", "of", "global", "properties", "across", "a", "sequence", "of", "operations", ".", "For", "exam...
b3d44bab9ec07ace0d13612c448a6b7298c1f681
https://github.com/PeterisP/LVTagger/blob/b3d44bab9ec07ace0d13612c448a6b7298c1f681/src/main/java/edu/stanford/nlp/trees/tregex/tsurgeon/Tsurgeon.java#L507-L509
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/stat/dns/dnspolicylabel_stats.java
dnspolicylabel_stats.get
public static dnspolicylabel_stats[] get(nitro_service service, options option) throws Exception{ dnspolicylabel_stats obj = new dnspolicylabel_stats(); dnspolicylabel_stats[] response = (dnspolicylabel_stats[])obj.stat_resources(service,option); return response; }
java
public static dnspolicylabel_stats[] get(nitro_service service, options option) throws Exception{ dnspolicylabel_stats obj = new dnspolicylabel_stats(); dnspolicylabel_stats[] response = (dnspolicylabel_stats[])obj.stat_resources(service,option); return response; }
[ "public", "static", "dnspolicylabel_stats", "[", "]", "get", "(", "nitro_service", "service", ",", "options", "option", ")", "throws", "Exception", "{", "dnspolicylabel_stats", "obj", "=", "new", "dnspolicylabel_stats", "(", ")", ";", "dnspolicylabel_stats", "[", ...
Use this API to fetch the statistics of all dnspolicylabel_stats resources that are configured on netscaler.
[ "Use", "this", "API", "to", "fetch", "the", "statistics", "of", "all", "dnspolicylabel_stats", "resources", "that", "are", "configured", "on", "netscaler", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/dns/dnspolicylabel_stats.java#L140-L144
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/stat/dns/dnspolicylabel_stats.java
dnspolicylabel_stats.get
public static dnspolicylabel_stats get(nitro_service service, String labelname) throws Exception{ dnspolicylabel_stats obj = new dnspolicylabel_stats(); obj.set_labelname(labelname); dnspolicylabel_stats response = (dnspolicylabel_stats) obj.stat_resource(service); return response; }
java
public static dnspolicylabel_stats get(nitro_service service, String labelname) throws Exception{ dnspolicylabel_stats obj = new dnspolicylabel_stats(); obj.set_labelname(labelname); dnspolicylabel_stats response = (dnspolicylabel_stats) obj.stat_resource(service); return response; }
[ "public", "static", "dnspolicylabel_stats", "get", "(", "nitro_service", "service", ",", "String", "labelname", ")", "throws", "Exception", "{", "dnspolicylabel_stats", "obj", "=", "new", "dnspolicylabel_stats", "(", ")", ";", "obj", ".", "set_labelname", "(", "la...
Use this API to fetch statistics of dnspolicylabel_stats resource of given name .
[ "Use", "this", "API", "to", "fetch", "statistics", "of", "dnspolicylabel_stats", "resource", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/stat/dns/dnspolicylabel_stats.java#L149-L154
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/gslb/gslbvserver_domain_binding.java
gslbvserver_domain_binding.get
public static gslbvserver_domain_binding[] get(nitro_service service, String name) throws Exception{ gslbvserver_domain_binding obj = new gslbvserver_domain_binding(); obj.set_name(name); gslbvserver_domain_binding response[] = (gslbvserver_domain_binding[]) obj.get_resources(service); return response; }
java
public static gslbvserver_domain_binding[] get(nitro_service service, String name) throws Exception{ gslbvserver_domain_binding obj = new gslbvserver_domain_binding(); obj.set_name(name); gslbvserver_domain_binding response[] = (gslbvserver_domain_binding[]) obj.get_resources(service); return response; }
[ "public", "static", "gslbvserver_domain_binding", "[", "]", "get", "(", "nitro_service", "service", ",", "String", "name", ")", "throws", "Exception", "{", "gslbvserver_domain_binding", "obj", "=", "new", "gslbvserver_domain_binding", "(", ")", ";", "obj", ".", "s...
Use this API to fetch gslbvserver_domain_binding resources of given name .
[ "Use", "this", "API", "to", "fetch", "gslbvserver_domain_binding", "resources", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/gslb/gslbvserver_domain_binding.java#L346-L351
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java
nsip.add
public static base_response add(nitro_service client, nsip resource) throws Exception { nsip addresource = new nsip(); addresource.ipaddress = resource.ipaddress; addresource.netmask = resource.netmask; addresource.type = resource.type; addresource.arp = resource.arp; addresource.icmp = resource.icmp; add...
java
public static base_response add(nitro_service client, nsip resource) throws Exception { nsip addresource = new nsip(); addresource.ipaddress = resource.ipaddress; addresource.netmask = resource.netmask; addresource.type = resource.type; addresource.arp = resource.arp; addresource.icmp = resource.icmp; add...
[ "public", "static", "base_response", "add", "(", "nitro_service", "client", ",", "nsip", "resource", ")", "throws", "Exception", "{", "nsip", "addresource", "=", "new", "nsip", "(", ")", ";", "addresource", ".", "ipaddress", "=", "resource", ".", "ipaddress", ...
Use this API to add nsip.
[ "Use", "this", "API", "to", "add", "nsip", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java#L785-L817
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java
nsip.add
public static base_responses add(nitro_service client, nsip resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nsip addresources[] = new nsip[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new nsip(); addresources[...
java
public static base_responses add(nitro_service client, nsip resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nsip addresources[] = new nsip[resources.length]; for (int i=0;i<resources.length;i++){ addresources[i] = new nsip(); addresources[...
[ "public", "static", "base_responses", "add", "(", "nitro_service", "client", ",", "nsip", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "len...
Use this API to add nsip resources.
[ "Use", "this", "API", "to", "add", "nsip", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java#L822-L861
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java
nsip.delete
public static base_response delete(nitro_service client, nsip resource) throws Exception { nsip deleteresource = new nsip(); deleteresource.ipaddress = resource.ipaddress; deleteresource.td = resource.td; return deleteresource.delete_resource(client); }
java
public static base_response delete(nitro_service client, nsip resource) throws Exception { nsip deleteresource = new nsip(); deleteresource.ipaddress = resource.ipaddress; deleteresource.td = resource.td; return deleteresource.delete_resource(client); }
[ "public", "static", "base_response", "delete", "(", "nitro_service", "client", ",", "nsip", "resource", ")", "throws", "Exception", "{", "nsip", "deleteresource", "=", "new", "nsip", "(", ")", ";", "deleteresource", ".", "ipaddress", "=", "resource", ".", "ipa...
Use this API to delete nsip.
[ "Use", "this", "API", "to", "delete", "nsip", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java#L875-L880
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java
nsip.update
public static base_response update(nitro_service client, nsip resource) throws Exception { nsip updateresource = new nsip(); updateresource.ipaddress = resource.ipaddress; updateresource.td = resource.td; updateresource.netmask = resource.netmask; updateresource.arp = resource.arp; updateresource.icmp = res...
java
public static base_response update(nitro_service client, nsip resource) throws Exception { nsip updateresource = new nsip(); updateresource.ipaddress = resource.ipaddress; updateresource.td = resource.td; updateresource.netmask = resource.netmask; updateresource.arp = resource.arp; updateresource.icmp = res...
[ "public", "static", "base_response", "update", "(", "nitro_service", "client", ",", "nsip", "resource", ")", "throws", "Exception", "{", "nsip", "updateresource", "=", "new", "nsip", "(", ")", ";", "updateresource", ".", "ipaddress", "=", "resource", ".", "ipa...
Use this API to update nsip.
[ "Use", "this", "API", "to", "update", "nsip", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java#L918-L947
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java
nsip.update
public static base_responses update(nitro_service client, nsip resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nsip updateresources[] = new nsip[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new nsip(); upda...
java
public static base_responses update(nitro_service client, nsip resources[]) throws Exception { base_responses result = null; if (resources != null && resources.length > 0) { nsip updateresources[] = new nsip[resources.length]; for (int i=0;i<resources.length;i++){ updateresources[i] = new nsip(); upda...
[ "public", "static", "base_responses", "update", "(", "nitro_service", "client", ",", "nsip", "resources", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "resources", "!=", "null", "&&", "resources", ".", "...
Use this API to update nsip resources.
[ "Use", "this", "API", "to", "update", "nsip", "resources", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java#L952-L988
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java
nsip.unset
public static base_response unset(nitro_service client, nsip resource, String[] args) throws Exception{ nsip unsetresource = new nsip(); unsetresource.ipaddress = resource.ipaddress; unsetresource.td = resource.td; return unsetresource.unset_resource(client,args); }
java
public static base_response unset(nitro_service client, nsip resource, String[] args) throws Exception{ nsip unsetresource = new nsip(); unsetresource.ipaddress = resource.ipaddress; unsetresource.td = resource.td; return unsetresource.unset_resource(client,args); }
[ "public", "static", "base_response", "unset", "(", "nitro_service", "client", ",", "nsip", "resource", ",", "String", "[", "]", "args", ")", "throws", "Exception", "{", "nsip", "unsetresource", "=", "new", "nsip", "(", ")", ";", "unsetresource", ".", "ipaddr...
Use this API to unset the properties of nsip resource. Properties that need to be unset are specified in args array.
[ "Use", "this", "API", "to", "unset", "the", "properties", "of", "nsip", "resource", ".", "Properties", "that", "need", "to", "be", "unset", "are", "specified", "in", "args", "array", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java#L994-L999
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java
nsip.enable
public static base_response enable(nitro_service client, String ipaddress) throws Exception { nsip enableresource = new nsip(); enableresource.ipaddress = ipaddress; return enableresource.perform_operation(client,"enable"); }
java
public static base_response enable(nitro_service client, String ipaddress) throws Exception { nsip enableresource = new nsip(); enableresource.ipaddress = ipaddress; return enableresource.perform_operation(client,"enable"); }
[ "public", "static", "base_response", "enable", "(", "nitro_service", "client", ",", "String", "ipaddress", ")", "throws", "Exception", "{", "nsip", "enableresource", "=", "new", "nsip", "(", ")", ";", "enableresource", ".", "ipaddress", "=", "ipaddress", ";", ...
Use this API to enable nsip of given name.
[ "Use", "this", "API", "to", "enable", "nsip", "of", "given", "name", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java#L1039-L1043
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java
nsip.enable
public static base_response enable(nitro_service client, nsip resource) throws Exception { nsip enableresource = new nsip(); enableresource.ipaddress = resource.ipaddress; enableresource.td = resource.td; return enableresource.perform_operation(client,"enable"); }
java
public static base_response enable(nitro_service client, nsip resource) throws Exception { nsip enableresource = new nsip(); enableresource.ipaddress = resource.ipaddress; enableresource.td = resource.td; return enableresource.perform_operation(client,"enable"); }
[ "public", "static", "base_response", "enable", "(", "nitro_service", "client", ",", "nsip", "resource", ")", "throws", "Exception", "{", "nsip", "enableresource", "=", "new", "nsip", "(", ")", ";", "enableresource", ".", "ipaddress", "=", "resource", ".", "ipa...
Use this API to enable nsip.
[ "Use", "this", "API", "to", "enable", "nsip", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java#L1048-L1053
train
netscaler/nitro
src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java
nsip.enable
public static base_responses enable(nitro_service client, String ipaddress[]) throws Exception { base_responses result = null; if (ipaddress != null && ipaddress.length > 0) { nsip enableresources[] = new nsip[ipaddress.length]; for (int i=0;i<ipaddress.length;i++){ enableresources[i] = new nsip(); en...
java
public static base_responses enable(nitro_service client, String ipaddress[]) throws Exception { base_responses result = null; if (ipaddress != null && ipaddress.length > 0) { nsip enableresources[] = new nsip[ipaddress.length]; for (int i=0;i<ipaddress.length;i++){ enableresources[i] = new nsip(); en...
[ "public", "static", "base_responses", "enable", "(", "nitro_service", "client", ",", "String", "ipaddress", "[", "]", ")", "throws", "Exception", "{", "base_responses", "result", "=", "null", ";", "if", "(", "ipaddress", "!=", "null", "&&", "ipaddress", ".", ...
Use this API to enable nsip resources of given names.
[ "Use", "this", "API", "to", "enable", "nsip", "resources", "of", "given", "names", "." ]
2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4
https://github.com/netscaler/nitro/blob/2a98692dcf4e4ec430c7d7baab8382e4ba5a35e4/src/main/java/com/citrix/netscaler/nitro/resource/config/ns/nsip.java#L1058-L1069
train