id_within_dataset
int64
0
10.3k
snippet
stringlengths
29
1.4k
tokens
listlengths
10
314
cs
stringlengths
28
1.38k
split_within_dataset
stringclasses
1 value
is_duplicated
bool
2 classes
7,010
public Trie reduce(Reduce by) {return by.optimize(this);}
[ "public", "Trie", "reduce", "(", "Reduce", "by", ")", "{", "return", "by", ".", "optimize", "(", "this", ")", ";", "}" ]
public virtual Trie Reduce(Reduce by){return by.Optimize(this);}
train
false
7,011
public AbstractEscherHolderRecord clone() {return copy();}
[ "public", "AbstractEscherHolderRecord", "clone", "(", ")", "{", "return", "copy", "(", ")", ";", "}" ]
public override object Clone(){return CloneViaReserialise();}
train
false
7,012
public void setParams(String params) {super.setParams(params);commitUserData = new HashMap<>();commitUserData.put(OpenReaderTask.USER_DATA, params);}
[ "public", "void", "setParams", "(", "String", "params", ")", "{", "super", ".", "setParams", "(", "params", ")", ";", "commitUserData", "=", "new", "HashMap", "<", ">", "(", ")", ";", "commitUserData", ".", "put", "(", "OpenReaderTask", ".", "USER_DATA", ...
public override void SetParams(string @params){base.SetParams(@params);commitUserData = new Dictionary<string, string>();commitUserData[OpenReaderTask.USER_DATA] = @params;}
train
false
7,013
public String getSrcRef() {return srcRef;}
[ "public", "String", "getSrcRef", "(", ")", "{", "return", "srcRef", ";", "}" ]
public virtual string GetSrcRef(){return srcRef;}
train
false
7,014
public final String getShortMessage() {byte[] raw = buffer;int msgB = RawParseUtils.commitMessage(raw, 0);if (msgB < 0) {return ""; }int msgE = RawParseUtils.endOfParagraph(raw, msgB);String str = RawParseUtils.decode(guessEncoding(), raw, msgB, msgE);if (hasLF(raw, msgB, msgE)) {str = StringUtils.replaceLineBreaksWith...
[ "public", "final", "String", "getShortMessage", "(", ")", "{", "byte", "[", "]", "raw", "=", "buffer", ";", "int", "msgB", "=", "RawParseUtils", ".", "commitMessage", "(", "raw", ",", "0", ")", ";", "if", "(", "msgB", "<", "0", ")", "{", "return", ...
public string GetShortMessage(){byte[] raw = buffer;int msgB = RawParseUtils.CommitMessage(raw, 0);if (msgB < 0){return string.Empty;}System.Text.Encoding enc = RawParseUtils.ParseEncoding(raw);int msgE = RawParseUtils.EndOfParagraph(raw, msgB);string str = RawParseUtils.Decode(enc, raw, msgB, msgE);if (HasLF(raw, msgB...
train
false
7,015
public static Boolean coerceValueToBoolean(ValueEval ve, boolean stringsAreBlanks) throws EvaluationException {if (ve == null || ve == BlankEval.instance) {return null;}if (ve instanceof BoolEval) {return Boolean.valueOf(((BoolEval) ve).getBooleanValue());}if (ve instanceof StringEval) {if (stringsAreBlanks) {return nu...
[ "public", "static", "Boolean", "coerceValueToBoolean", "(", "ValueEval", "ve", ",", "boolean", "stringsAreBlanks", ")", "throws", "EvaluationException", "{", "if", "(", "ve", "==", "null", "||", "ve", "==", "BlankEval", ".", "instance", ")", "{", "return", "nu...
public static Boolean? CoerceValueToBoolean(ValueEval ve, bool stringsAreBlanks){if (ve == null || ve == BlankEval.instance){return null;}if (ve is BoolEval){return ((BoolEval)ve).BooleanValue;}if (ve is StringEval){if (stringsAreBlanks){return null;}String str = ((StringEval)ve).StringValue;if (str.Equals("true", Stri...
train
false
7,016
public synchronized List<IndexCommit> getSnapshots() {return new ArrayList<>(indexCommits.values());}
[ "public", "synchronized", "List", "<", "IndexCommit", ">", "getSnapshots", "(", ")", "{", "return", "new", "ArrayList", "<", ">", "(", "indexCommits", ".", "values", "(", ")", ")", ";", "}" ]
public virtual IList<IndexCommit> GetSnapshots(){lock (this){return new List<IndexCommit>(m_indexCommits.Values);}}
train
false
7,017
public static int subIndex(int n, int[] docStarts) { int size = docStarts.length;int lo = 0; int hi = size - 1; while (hi >= lo) {int mid = (lo + hi) >>> 1;int midValue = docStarts[mid];if (n < midValue)hi = mid - 1;else if (n > midValue)lo = mid + 1;else { while (mid + 1 < size && docStarts[mid + 1] == midValue) {mid+...
[ "public", "static", "int", "subIndex", "(", "int", "n", ",", "int", "[", "]", "docStarts", ")", "{", "int", "size", "=", "docStarts", ".", "length", ";", "int", "lo", "=", "0", ";", "int", "hi", "=", "size", "-", "1", ";", "while", "(", "hi", "...
public static int SubIndex(int n, int[] docStarts) {int size = docStarts.Length;int lo = 0; int hi = size - 1; while (hi >= lo){int mid = (int)((uint)(lo + hi) >> 1);int midValue = docStarts[mid];if (n < midValue){hi = mid - 1;}else if (n > midValue){lo = mid + 1;}else {while (mid + 1 < size && docStarts[mid + 1] == mi...
train
false
7,018
public static Date getJavaDate(double date, boolean use1904windowing) {return getJavaDate(date, use1904windowing, null, false);}
[ "public", "static", "Date", "getJavaDate", "(", "double", "date", ",", "boolean", "use1904windowing", ")", "{", "return", "getJavaDate", "(", "date", ",", "use1904windowing", ",", "null", ",", "false", ")", ";", "}" ]
public static DateTime GetJavaDate(double date, bool use1904windowing){return GetJavaCalendar(date, use1904windowing, false);}
train
false
7,019
public CharSequence getLastOnPath(CharSequence key) {Row now = getRow(root);int w;CharSequence last = null;StrEnum e = new StrEnum(key, forward);for (int i = 0; i < key.length() - 1; i++) {Character ch = e.next();w = now.getCmd(ch);if (w >= 0) {last = cmds.get(w);}w = now.getRef(ch);if (w >= 0) {now = getRow(w);} else ...
[ "public", "CharSequence", "getLastOnPath", "(", "CharSequence", "key", ")", "{", "Row", "now", "=", "getRow", "(", "root", ")", ";", "int", "w", ";", "CharSequence", "last", "=", "null", ";", "StrEnum", "e", "=", "new", "StrEnum", "(", "key", ",", "for...
public virtual string GetLastOnPath(string key){Row now = GetRow(root);int w;string last = null;StrEnum e = new StrEnum(key, forward);for (int i = 0; i < key.Length - 1; i++){char ch = e.Next();w = now.GetCmd(ch);if (w >= 0){last = cmds[w];}w = now.GetRef(ch);if (w >= 0){now = GetRow(w);}else{return last;}}w = now.GetC...
train
false
7,020
public Hashtable(int capacity) {if (capacity < 0) {throw new IllegalArgumentException("Capacity: " + capacity);}if (capacity == 0) {@SuppressWarnings("unchecked")HashtableEntry<K, V>[] tab = (HashtableEntry<K, V>[]) EMPTY_TABLE;table = tab;threshold = -1; return;}if (capacity < MINIMUM_CAPACITY) {capacity = MINIMUM_CAP...
[ "public", "Hashtable", "(", "int", "capacity", ")", "{", "if", "(", "capacity", "<", "0", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"Capacity: \"", "+", "capacity", ")", ";", "}", "if", "(", "capacity", "==", "0", ")", "{", "@", "Sup...
public Hashtable(int capacity){if (capacity < 0){throw new System.ArgumentException("Capacity: " + capacity);}if (capacity == 0){java.util.Hashtable.HashtableEntry<K, V>[] tab = (java.util.Hashtable.HashtableEntry<K, V>[])EMPTY_TABLE;table = tab;threshold = -1;return;}if (capacity < java.util.Hashtable.MINIMUM_CAPACITY...
train
false
7,021
public void reset() {heads.clear();heads.addAll(headsStartValue);}
[ "public", "void", "reset", "(", ")", "{", "heads", ".", "clear", "(", ")", ";", "heads", ".", "addAll", "(", "headsStartValue", ")", ";", "}" ]
public virtual void Reset(){heads.Clear();Sharpen.Collections.AddAll(heads, headsStartValue);}
train
false
7,022
public CreatePlacementGroupResult createPlacementGroup(CreatePlacementGroupRequest request) {request = beforeClientExecution(request);return executeCreatePlacementGroup(request);}
[ "public", "CreatePlacementGroupResult", "createPlacementGroup", "(", "CreatePlacementGroupRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeCreatePlacementGroup", "(", "request", ")", ";", "}" ]
public virtual CreatePlacementGroupResponse CreatePlacementGroup(CreatePlacementGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreatePlacementGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CreatePlacementGroupResponseUnmarshaller.Instance;return Invoke<CreatePlacemen...
train
true
7,023
public final float maxCharsPerByte() {return maxCharsPerByte;}
[ "public", "final", "float", "maxCharsPerByte", "(", ")", "{", "return", "maxCharsPerByte", ";", "}" ]
public float maxCharsPerByte(){return _maxCharsPerByte;}
train
false
7,024
public static String getRFC2616Date(Date date) {SimpleDateFormat df = new SimpleDateFormat(FORMAT_RFC2616, Locale.ENGLISH);df.setTimeZone(new SimpleTimeZone(0, TIME_ZONE));return df.format(date);}
[ "public", "static", "String", "getRFC2616Date", "(", "Date", "date", ")", "{", "SimpleDateFormat", "df", "=", "new", "SimpleDateFormat", "(", "FORMAT_RFC2616", ",", "Locale", ".", "ENGLISH", ")", ";", "df", ".", "setTimeZone", "(", "new", "SimpleTimeZone", "("...
public static string GetRFC2616Date(DateTime datetime){if (null == datetime){datetime = DateTime.UtcNow;}return datetime.ToUniversalTime().GetDateTimeFormats('r') [0];}
train
true
7,025
public ListContributorInsightsResult listContributorInsights(ListContributorInsightsRequest request) {request = beforeClientExecution(request);return executeListContributorInsights(request);}
[ "public", "ListContributorInsightsResult", "listContributorInsights", "(", "ListContributorInsightsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListContributorInsights", "(", "request", ")", ";", "}" ]
public virtual ListContributorInsightsResponse ListContributorInsights(ListContributorInsightsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListContributorInsightsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListContributorInsightsResponseUnmarshaller.Instance;return Invoke...
train
false
7,026
public void setPackedGitOpenFiles(int fdLimit) {packedGitOpenFiles = fdLimit;}
[ "public", "void", "setPackedGitOpenFiles", "(", "int", "fdLimit", ")", "{", "packedGitOpenFiles", "=", "fdLimit", ";", "}" ]
public virtual void SetPackedGitOpenFiles(int fdLimit){packedGitOpenFiles = fdLimit;}
train
false
7,027
public DBCluster failoverDBCluster(FailoverDBClusterRequest request) {request = beforeClientExecution(request);return executeFailoverDBCluster(request);}
[ "public", "DBCluster", "failoverDBCluster", "(", "FailoverDBClusterRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeFailoverDBCluster", "(", "request", ")", ";", "}" ]
public virtual FailoverDBClusterResponse FailoverDBCluster(FailoverDBClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = FailoverDBClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = FailoverDBClusterResponseUnmarshaller.Instance;return Invoke<FailoverDBClusterResponse>(re...
train
true
7,028
public StringBuilder insert(int offset, double d) {insert0(offset, Double.toString(d));return this;}
[ "public", "StringBuilder", "insert", "(", "int", "offset", ",", "double", "d", ")", "{", "insert0", "(", "offset", ",", "Double", ".", "toString", "(", "d", ")", ")", ";", "return", "this", ";", "}" ]
public java.lang.StringBuilder insert(int offset, double d){insert0(offset, System.Convert.ToString(d));return this;}
train
false
7,029
public void serialize(LittleEndianOutput out) {futureHeader.serialize(out);out.writeShort(isf_sharedFeatureType);out.writeByte(reserved1);out.writeInt((int)reserved2);out.writeShort(cellRefs.length);out.writeInt((int)cbFeatData);out.writeShort(reserved3);for(int i=0; i<cellRefs.length; i++) {cellRefs[i].serialize(out);...
[ "public", "void", "serialize", "(", "LittleEndianOutput", "out", ")", "{", "futureHeader", ".", "serialize", "(", "out", ")", ";", "out", ".", "writeShort", "(", "isf_sharedFeatureType", ")", ";", "out", ".", "writeByte", "(", "reserved1", ")", ";", "out", ...
public override void Serialize(ILittleEndianOutput out1){futureHeader.Serialize(out1);out1.WriteShort(isf_sharedFeatureType);out1.WriteByte(reserved1);out1.WriteInt((int)reserved2);out1.WriteShort(cellRefs.Length);out1.WriteInt((int)cbFeatData);out1.WriteShort(reserved3);for (int i = 0; i < cellRefs.Length; i++){cellRe...
train
false
7,030
public void writeDouble(double value) throws IOException {checkWritePrimitiveTypes();primitiveTypes.writeDouble(value);}
[ "public", "void", "writeDouble", "(", "double", "value", ")", "throws", "IOException", "{", "checkWritePrimitiveTypes", "(", ")", ";", "primitiveTypes", ".", "writeDouble", "(", "value", ")", ";", "}" ]
public virtual void writeDouble(double value){throw new System.NotImplementedException();}
train
false
7,031
public DisassociateWebsiteAuthorizationProviderResult disassociateWebsiteAuthorizationProvider(DisassociateWebsiteAuthorizationProviderRequest request) {request = beforeClientExecution(request);return executeDisassociateWebsiteAuthorizationProvider(request);}
[ "public", "DisassociateWebsiteAuthorizationProviderResult", "disassociateWebsiteAuthorizationProvider", "(", "DisassociateWebsiteAuthorizationProviderRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDisassociateWebsit...
public virtual DisassociateWebsiteAuthorizationProviderResponse DisassociateWebsiteAuthorizationProvider(DisassociateWebsiteAuthorizationProviderRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateWebsiteAuthorizationProviderRequestMarshaller.Instance;options.ResponseUnmarshaller ...
train
false
7,033
public Cell next() {if (!hasNext()) {throw new NoSuchElementException("At last element");}HSSFCell cell = cells[nextId];thisId = nextId;findNext();return cell;}
[ "public", "Cell", "next", "(", ")", "{", "if", "(", "!", "hasNext", "(", ")", ")", "{", "throw", "new", "NoSuchElementException", "(", "\"At last element\"", ")", ";", "}", "HSSFCell", "cell", "=", "cells", "[", "nextId", "]", ";", "thisId", "=", "next...
public ICell next(){if (hasNext())return _cells[pos++];else throw new NullReferenceException();}
train
false
7,035
public synchronized StringBuffer insert(int index, String string) {insert0(index, string);return this;}
[ "public", "synchronized", "StringBuffer", "insert", "(", "int", "index", ",", "String", "string", ")", "{", "insert0", "(", "index", ",", "string", ")", ";", "return", "this", ";", "}" ]
public java.lang.StringBuffer insert(int index, string @string){lock (this){insert0(index, @string);return this;}}
train
false
7,036
public DomainDetail describeDomain(DescribeDomainRequest request) {request = beforeClientExecution(request);return executeDescribeDomain(request);}
[ "public", "DomainDetail", "describeDomain", "(", "DescribeDomainRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeDomain", "(", "request", ")", ";", "}" ]
public virtual DescribeDomainResponse DescribeDomain(DescribeDomainRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDomainRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDomainResponseUnmarshaller.Instance;return Invoke<DescribeDomainResponse>(request, options);}
train
true
7,037
public void reset() {this.reset(true, true);}
[ "public", "void", "reset", "(", ")", "{", "this", ".", "reset", "(", "true", ",", "true", ")", ";", "}" ]
public void Reset(){this.Reset(true, true);}
train
false
7,038
public void serialize(LittleEndianOutput out) {out.writeShort(_reserved);}
[ "public", "void", "serialize", "(", "LittleEndianOutput", "out", ")", "{", "out", ".", "writeShort", "(", "_reserved", ")", ";", "}" ]
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(_reserved);}
train
false
7,039
public int getStartOffset() {return startOffset;}
[ "public", "int", "getStartOffset", "(", ")", "{", "return", "startOffset", ";", "}" ]
public virtual int GetStartOffset(){return startOffset;}
train
false
7,040
public synchronized String[] listAll() throws IOException {final Set<String> files = new HashSet<>();for (String f : cacheDirectory.listAll()) {files.add(f);}for (String f : in.listAll()) {files.add(f);}String[] result = files.toArray(new String[files.size()]);Arrays.sort(result);return result;}
[ "public", "synchronized", "String", "[", "]", "listAll", "(", ")", "throws", "IOException", "{", "final", "Set", "<", "String", ">", "files", "=", "new", "HashSet", "<", ">", "(", ")", ";", "for", "(", "String", "f", ":", "cacheDirectory", ".", "listAl...
public override string[] ListAll(){lock (this){ISet<string> files = new JCG.HashSet<string>();foreach (string f in cache.ListAll()){files.Add(f);}try{foreach (string f in @delegate.ListAll()){files.Add(f);}}catch (DirectoryNotFoundException ){if (files.Count == 0){throw; }}return files.ToArray();}}
train
false
7,041
public byte clearByte(final byte holder){return ( byte ) clear(holder);}
[ "public", "byte", "clearByte", "(", "final", "byte", "holder", ")", "{", "return", "(", "byte", ")", "clear", "(", "holder", ")", ";", "}" ]
public byte ClearByte(byte holder){return (byte)this.Clear(holder);}
train
false
7,042
public ScenarioProtectRecord getHCenter() {return _scenarioProtectRecord;}
[ "public", "ScenarioProtectRecord", "getHCenter", "(", ")", "{", "return", "_scenarioProtectRecord", ";", "}" ]
public ScenarioProtectRecord GetHCenter(){return _scenarioProtectRecord;}
train
false
7,043
public HSSFRow createRow(int rownum) {HSSFRow row = new HSSFRow(_workbook, this, rownum);row.setHeight(getDefaultRowHeight());row.getRowRecord().setBadFontHeight(false);addRow(row, true);return row;}
[ "public", "HSSFRow", "createRow", "(", "int", "rownum", ")", "{", "HSSFRow", "row", "=", "new", "HSSFRow", "(", "_workbook", ",", "this", ",", "rownum", ")", ";", "row", ".", "setHeight", "(", "getDefaultRowHeight", "(", ")", ")", ";", "row", ".", "get...
public NPOI.SS.UserModel.IRow CreateRow(int rownum){HSSFRow row = new HSSFRow(_workbook, this, rownum);row.Height = (DefaultRowHeight);row.RowRecord.BadFontHeight = (false);AddRow(row, true);return row;}
train
false
7,044
public ListQueryExecutionsResult listQueryExecutions(ListQueryExecutionsRequest request) {request = beforeClientExecution(request);return executeListQueryExecutions(request);}
[ "public", "ListQueryExecutionsResult", "listQueryExecutions", "(", "ListQueryExecutionsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListQueryExecutions", "(", "request", ")", ";", "}" ]
public virtual ListQueryExecutionsResponse ListQueryExecutions(ListQueryExecutionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListQueryExecutionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListQueryExecutionsResponseUnmarshaller.Instance;return Invoke<ListQueryExecutions...
train
true
7,045
public DeleteSuppressedDestinationResult deleteSuppressedDestination(DeleteSuppressedDestinationRequest request) {request = beforeClientExecution(request);return executeDeleteSuppressedDestination(request);}
[ "public", "DeleteSuppressedDestinationResult", "deleteSuppressedDestination", "(", "DeleteSuppressedDestinationRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDeleteSuppressedDestination", "(", "request", ")", ...
public virtual DeleteSuppressedDestinationResponse DeleteSuppressedDestination(DeleteSuppressedDestinationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSuppressedDestinationRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSuppressedDestinationResponseUnmarshaller.In...
train
false
7,046
public CharsRef subtract(CharsRef output, CharsRef inc) {assert output != null;assert inc != null;if (inc == NO_OUTPUT) {return output;} else if (inc.length == output.length) {return NO_OUTPUT;} else {assert inc.length < output.length: "inc.length=" + inc.length + " vs output.length=" + output.length;assert inc.length ...
[ "public", "CharsRef", "subtract", "(", "CharsRef", "output", ",", "CharsRef", "inc", ")", "{", "assert", "output", "!=", "null", ";", "assert", "inc", "!=", "null", ";", "if", "(", "inc", "==", "NO_OUTPUT", ")", "{", "return", "output", ";", "}", "else...
public override CharsRef Subtract(CharsRef output, CharsRef inc){Debug.Assert(output != null);Debug.Assert(inc != null);if (inc == NO_OUTPUT){return output;}else if (inc.Length == output.Length){return NO_OUTPUT;}else{Debug.Assert(inc.Length < output.Length, "inc.Length=" + inc.Length + " vs output.Length=" + output.Le...
train
false
7,047
public void requestCancelWorkflowExecution(RequestCancelWorkflowExecutionRequest request) {request = beforeClientExecution(request);executeRequestCancelWorkflowExecution(request);}
[ "public", "void", "requestCancelWorkflowExecution", "(", "RequestCancelWorkflowExecutionRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "executeRequestCancelWorkflowExecution", "(", "request", ")", ";", "}" ]
public virtual RequestCancelWorkflowExecutionResponse RequestCancelWorkflowExecution(RequestCancelWorkflowExecutionRequest request){var options = new InvokeOptions();options.RequestMarshaller = RequestCancelWorkflowExecutionRequestMarshaller.Instance;options.ResponseUnmarshaller = RequestCancelWorkflowExecutionResponse...
train
false
7,048
public boolean equals(Object o) {if (this == o) {return true;}if (o == null || getClass() != o.getClass()) {return false;}Arn arn = (Arn) o;if (!partition.equals(arn.partition)) {return false;}if (!service.equals(arn.service)) {return false;}if (region != null ? !region.equals(arn.region) : arn.region != null) {return ...
[ "public", "boolean", "equals", "(", "Object", "o", ")", "{", "if", "(", "this", "==", "o", ")", "{", "return", "true", ";", "}", "if", "(", "o", "==", "null", "||", "getClass", "(", ")", "!=", "o", ".", "getClass", "(", ")", ")", "{", "return",...
public override bool Equals(object o){if (this == o){return true;}var arn = o as Arn;if(arn == null){return false;}if (!Partition.Equals(arn.Partition)){return false;}if (!Service.Equals(arn.Service)){return false;}if (Region != arn.Region){return false;}if (AccountId != arn.AccountId){return false;}return Resource.Equ...
train
false
7,049
public UpdateDataSetPermissionsResult updateDataSetPermissions(UpdateDataSetPermissionsRequest request) {request = beforeClientExecution(request);return executeUpdateDataSetPermissions(request);}
[ "public", "UpdateDataSetPermissionsResult", "updateDataSetPermissions", "(", "UpdateDataSetPermissionsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeUpdateDataSetPermissions", "(", "request", ")", ";", "}"...
public virtual UpdateDataSetPermissionsResponse UpdateDataSetPermissions(UpdateDataSetPermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDataSetPermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDataSetPermissionsResponseUnmarshaller.Instance;return I...
train
false
7,050
public DeleteCloudFrontOriginAccessIdentityResult deleteCloudFrontOriginAccessIdentity(DeleteCloudFrontOriginAccessIdentityRequest request) {request = beforeClientExecution(request);return executeDeleteCloudFrontOriginAccessIdentity(request);}
[ "public", "DeleteCloudFrontOriginAccessIdentityResult", "deleteCloudFrontOriginAccessIdentity", "(", "DeleteCloudFrontOriginAccessIdentityRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDeleteCloudFrontOriginAccessId...
public virtual DeleteCloudFrontOriginAccessIdentityResponse DeleteCloudFrontOriginAccessIdentity(DeleteCloudFrontOriginAccessIdentityRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteCloudFrontOriginAccessIdentityRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteCloudFro...
train
true
7,051
public TokenStream create(TokenStream input) {return new PortugueseMinimalStemFilter(input);}
[ "public", "TokenStream", "create", "(", "TokenStream", "input", ")", "{", "return", "new", "PortugueseMinimalStemFilter", "(", "input", ")", ";", "}" ]
public override TokenStream Create(TokenStream input){return new PortugueseMinimalStemFilter(input);}
train
false
7,052
public PutDashboardResult putDashboard(PutDashboardRequest request) {request = beforeClientExecution(request);return executePutDashboard(request);}
[ "public", "PutDashboardResult", "putDashboard", "(", "PutDashboardRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executePutDashboard", "(", "request", ")", ";", "}" ]
public virtual PutDashboardResponse PutDashboard(PutDashboardRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutDashboardRequestMarshaller.Instance;options.ResponseUnmarshaller = PutDashboardResponseUnmarshaller.Instance;return Invoke<PutDashboardResponse>(request, options);}
train
true
7,053
public void addChar( char c, int width ){charWidths.put(Character.valueOf(c), Integer.valueOf(width));}
[ "public", "void", "addChar", "(", "char", "c", ",", "int", "width", ")", "{", "charWidths", ".", "put", "(", "Character", ".", "valueOf", "(", "c", ")", ",", "Integer", ".", "valueOf", "(", "width", ")", ")", ";", "}" ]
public void AddChar(char c, int width){charWidths[c] = width;}
train
false
7,054
public DeleteRoomSkillParameterResult deleteRoomSkillParameter(DeleteRoomSkillParameterRequest request) {request = beforeClientExecution(request);return executeDeleteRoomSkillParameter(request);}
[ "public", "DeleteRoomSkillParameterResult", "deleteRoomSkillParameter", "(", "DeleteRoomSkillParameterRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDeleteRoomSkillParameter", "(", "request", ")", ";", "}"...
public virtual DeleteRoomSkillParameterResponse DeleteRoomSkillParameter(DeleteRoomSkillParameterRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteRoomSkillParameterRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteRoomSkillParameterResponseUnmarshaller.Instance;return I...
train
true
7,056
public DBClusterSnapshotAttributesResult describeDBClusterSnapshotAttributes(DescribeDBClusterSnapshotAttributesRequest request) {request = beforeClientExecution(request);return executeDescribeDBClusterSnapshotAttributes(request);}
[ "public", "DBClusterSnapshotAttributesResult", "describeDBClusterSnapshotAttributes", "(", "DescribeDBClusterSnapshotAttributesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeDBClusterSnapshotAttributes", "...
public virtual DescribeDBClusterSnapshotAttributesResponse DescribeDBClusterSnapshotAttributes(DescribeDBClusterSnapshotAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDBClusterSnapshotAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDBClusterS...
train
true
7,057
public void addFile(FileHeader fh) {files.add(fh);}
[ "public", "void", "addFile", "(", "FileHeader", "fh", ")", "{", "files", ".", "add", "(", "fh", ")", ";", "}" ]
public virtual void AddFile(FileHeader fh){files.AddItem(fh);}
train
false
7,058
public TokenStream create(TokenStream input) {return new ItalianLightStemFilter(input);}
[ "public", "TokenStream", "create", "(", "TokenStream", "input", ")", "{", "return", "new", "ItalianLightStemFilter", "(", "input", ")", ";", "}" ]
public override TokenStream Create(TokenStream input){return new ItalianLightStemFilter(input);}
train
false
7,059
public LinkedHashMap() {init();accessOrder = false;}
[ "public", "LinkedHashMap", "(", ")", "{", "init", "(", ")", ";", "accessOrder", "=", "false", ";", "}" ]
public LinkedHashMap(){init();accessOrder = false;}
train
false
7,060
public DeleteStackInstancesResult deleteStackInstances(DeleteStackInstancesRequest request) {request = beforeClientExecution(request);return executeDeleteStackInstances(request);}
[ "public", "DeleteStackInstancesResult", "deleteStackInstances", "(", "DeleteStackInstancesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDeleteStackInstances", "(", "request", ")", ";", "}" ]
public virtual DeleteStackInstancesResponse DeleteStackInstances(DeleteStackInstancesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteStackInstancesRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteStackInstancesResponseUnmarshaller.Instance;return Invoke<DeleteStackIns...
train
true
7,062
public StringWriter() {buf = new StringBuffer(16);lock = buf;}
[ "public", "StringWriter", "(", ")", "{", "buf", "=", "new", "StringBuffer", "(", "16", ")", ";", "lock", "=", "buf", ";", "}" ]
public StringWriter(){buf = new java.lang.StringBuffer(16);@lock = buf;}
train
false
7,063
public List<MatchingDocs> getOriginalMatchingDocs() {return super.getMatchingDocs();}
[ "public", "List", "<", "MatchingDocs", ">", "getOriginalMatchingDocs", "(", ")", "{", "return", "super", ".", "getMatchingDocs", "(", ")", ";", "}" ]
public virtual IList<MatchingDocs> GetOriginalMatchingDocs(){return base.GetMatchingDocs();}
train
false
7,064
public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1) {double result;try {double d0 = singleOperandEvaluate(arg0, srcRowIndex, srcColumnIndex);double d1 = singleOperandEvaluate(arg1, srcRowIndex, srcColumnIndex);result = evaluate(d0, d1);checkValue(result);} catch (EvaluationEx...
[ "public", "ValueEval", "evaluate", "(", "int", "srcRowIndex", ",", "int", "srcColumnIndex", ",", "ValueEval", "arg0", ",", "ValueEval", "arg1", ")", "{", "double", "result", ";", "try", "{", "double", "d0", "=", "singleOperandEvaluate", "(", "arg0", ",", "sr...
public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1){double result;try{double d0 = NumericFunction.SingleOperandEvaluate(arg0, srcRowIndex, srcColumnIndex);double d1 = NumericFunction.SingleOperandEvaluate(arg1, srcRowIndex, srcColumnIndex);result = Evaluate(d0, d1);Nu...
train
false
7,065
public String toString() {return "[HCENTER]\n" +" .hcenter = " + getHCenter() +"\n" +"[/HCENTER]\n";}
[ "public", "String", "toString", "(", ")", "{", "return", "\"[HCENTER]\\n\"", "+", "\" .hcenter = \"", "+", "getHCenter", "(", ")", "+", "\"\\n\"", "+", "\"[/HCENTER]\\n\"", ";", "}" ]
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[HCENTER]\n");buffer.Append(" .hcenter = ").Append(HCenter).Append("\n");buffer.Append("[/HCENTER]\n");return buffer.ToString();}
train
false
7,066
public GetEbsEncryptionByDefaultResult getEbsEncryptionByDefault(GetEbsEncryptionByDefaultRequest request) {request = beforeClientExecution(request);return executeGetEbsEncryptionByDefault(request);}
[ "public", "GetEbsEncryptionByDefaultResult", "getEbsEncryptionByDefault", "(", "GetEbsEncryptionByDefaultRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeGetEbsEncryptionByDefault", "(", "request", ")", ";", ...
public virtual GetEbsEncryptionByDefaultResponse GetEbsEncryptionByDefault(GetEbsEncryptionByDefaultRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetEbsEncryptionByDefaultRequestMarshaller.Instance;options.ResponseUnmarshaller = GetEbsEncryptionByDefaultResponseUnmarshaller.Instance;ret...
train
false
7,068
public int getCharWidth( char c ){Integer widthInteger = charWidths.get(Character.valueOf(c));if (widthInteger == null) {return 'W' == c ? 0 : getCharWidth('W');}return widthInteger;}
[ "public", "int", "getCharWidth", "(", "char", "c", ")", "{", "Integer", "widthInteger", "=", "charWidths", ".", "get", "(", "Character", ".", "valueOf", "(", "c", ")", ")", ";", "if", "(", "widthInteger", "==", "null", ")", "{", "return", "'W'", "==", ...
public int GetCharWidth(char c){object widthInteger = charWidths[c];if (widthInteger == null)return 'W' == c ? 0 : GetCharWidth('W');else return (int)widthInteger;}
train
false
7,069
public DescribeSecurityGroupReferencesResult describeSecurityGroupReferences(DescribeSecurityGroupReferencesRequest request) {request = beforeClientExecution(request);return executeDescribeSecurityGroupReferences(request);}
[ "public", "DescribeSecurityGroupReferencesResult", "describeSecurityGroupReferences", "(", "DescribeSecurityGroupReferencesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeSecurityGroupReferences", "(", "r...
public virtual DescribeSecurityGroupReferencesResponse DescribeSecurityGroupReferences(DescribeSecurityGroupReferencesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeSecurityGroupReferencesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeSecurityGroupReferencesRes...
train
true
7,070
public final V getValue() {return value;}
[ "public", "final", "V", "getValue", "(", ")", "{", "return", "value", ";", "}" ]
public virtual V getValue(){return value;}
train
false
7,071
public EscherContainerRecord getEscherContainer() {for (EscherRecord er : escherRecords) {if(er instanceof EscherContainerRecord) {return (EscherContainerRecord)er;}}return null;}
[ "public", "EscherContainerRecord", "getEscherContainer", "(", ")", "{", "for", "(", "EscherRecord", "er", ":", "escherRecords", ")", "{", "if", "(", "er", "instanceof", "EscherContainerRecord", ")", "{", "return", "(", "EscherContainerRecord", ")", "er", ";", "}...
public EscherContainerRecord GetEscherContainer(){for (IEnumerator it = escherRecords.GetEnumerator(); it.MoveNext(); ){Object er = it.Current;if (er is EscherContainerRecord){return (EscherContainerRecord)er;}}return null;}
train
false
7,072
public boolean removeShape(HSSFShape shape) {boolean isRemoved = getEscherContainer().removeChildRecord(shape.getEscherContainer());if (isRemoved){shape.afterRemove(this.getPatriarch());shapes.remove(shape);}return isRemoved;}
[ "public", "boolean", "removeShape", "(", "HSSFShape", "shape", ")", "{", "boolean", "isRemoved", "=", "getEscherContainer", "(", ")", ".", "removeChildRecord", "(", "shape", ".", "getEscherContainer", "(", ")", ")", ";", "if", "(", "isRemoved", ")", "{", "sh...
public bool RemoveShape(HSSFShape shape){bool isRemoved = GetEscherContainer().RemoveChildRecord(shape.GetEscherContainer());if (isRemoved){shape.AfterRemove(this.Patriarch);shapes.Remove(shape);}return isRemoved;}
train
false
7,073
public boolean changeExternalReference(String oldUrl, String newUrl) {return linkTable.changeExternalReference(oldUrl, newUrl);}
[ "public", "boolean", "changeExternalReference", "(", "String", "oldUrl", ",", "String", "newUrl", ")", "{", "return", "linkTable", ".", "changeExternalReference", "(", "oldUrl", ",", "newUrl", ")", ";", "}" ]
public bool ChangeExternalReference(String oldUrl, String newUrl){return linkTable.ChangeExternalReference(oldUrl, newUrl);}
train
false
7,074
public String toString() {return "BLOCK: " + brToString(prefix);}
[ "public", "String", "toString", "(", ")", "{", "return", "\"BLOCK: \"", "+", "brToString", "(", "prefix", ")", ";", "}" ]
public override string ToString(){return "BLOCK: " + Prefix.Utf8ToString();}
train
false
7,075
public static String pathToString(String[] path) {return pathToString(path, path.length);}
[ "public", "static", "String", "pathToString", "(", "String", "[", "]", "path", ")", "{", "return", "pathToString", "(", "path", ",", "path", ".", "length", ")", ";", "}" ]
public static string PathToString(string[] path){return PathToString(path, path.Length);}
train
false
7,076
public final boolean isInRange(int rowIx, int colIx) {CellRangeAddress8Bit r = _range;return r.getFirstRow() <= rowIx&& r.getLastRow() >= rowIx&& r.getFirstColumn() <= colIx&& r.getLastColumn() >= colIx;}
[ "public", "final", "boolean", "isInRange", "(", "int", "rowIx", ",", "int", "colIx", ")", "{", "CellRangeAddress8Bit", "r", "=", "_range", ";", "return", "r", ".", "getFirstRow", "(", ")", "<=", "rowIx", "&&", "r", ".", "getLastRow", "(", ")", ">=", "r...
public bool IsInRange(int rowIx, int colIx){CellRangeAddress8Bit r = _range;return r.FirstRow <= rowIx&& r.LastRow >= rowIx&& r.FirstColumn <= colIx&& r.LastColumn >= colIx;}
train
false
7,077
public RmCommand rm() {return new RmCommand(repo);}
[ "public", "RmCommand", "rm", "(", ")", "{", "return", "new", "RmCommand", "(", "repo", ")", ";", "}" ]
public virtual RmCommand Rm(){return new RmCommand(repo);}
train
false
7,078
public static String[] parse(String line) {boolean insideQuote = false;ArrayList<String> result = new ArrayList<>();int quoteCount = 0;StringBuilder sb = new StringBuilder();for(int i = 0; i < line.length(); i++) {char c = line.charAt(i);if(c == QUOTE) {insideQuote = !insideQuote;quoteCount++;}if(c == COMMA && !insideQ...
[ "public", "static", "String", "[", "]", "parse", "(", "String", "line", ")", "{", "boolean", "insideQuote", "=", "false", ";", "ArrayList", "<", "String", ">", "result", "=", "new", "ArrayList", "<", ">", "(", ")", ";", "int", "quoteCount", "=", "0", ...
public static string[] Parse(string line){bool insideQuote = false;List<string> result = new List<string>();int quoteCount = 0;StringBuilder sb = new StringBuilder();for (int i = 0; i < line.Length; i++){char c = line[i];if (c == QUOTE){insideQuote = !insideQuote;quoteCount++;}if (c == COMMA && !insideQuote){string val...
train
true
7,080
public void connect(PipedOutputStream src) throws IOException {src.connect(this);}
[ "public", "void", "connect", "(", "PipedOutputStream", "src", ")", "throws", "IOException", "{", "src", ".", "connect", "(", "this", ")", ";", "}" ]
public virtual void connect(java.io.PipedOutputStream src){throw new System.NotImplementedException();}
train
false
7,081
public WeightedPhraseInfo( Collection< WeightedPhraseInfo > toMerge ) {Iterator< WeightedPhraseInfo > toMergeItr = toMerge.iterator();if ( !toMergeItr.hasNext() ) {throw new IllegalArgumentException( "toMerge must contain at least one WeightedPhraseInfo." );}WeightedPhraseInfo first = toMergeItr.next();@SuppressWarning...
[ "public", "WeightedPhraseInfo", "(", "Collection", "<", "WeightedPhraseInfo", ">", "toMerge", ")", "{", "Iterator", "<", "WeightedPhraseInfo", ">", "toMergeItr", "=", "toMerge", ".", "iterator", "(", ")", ";", "if", "(", "!", "toMergeItr", ".", "hasNext", "(",...
public WeightedPhraseInfo(ICollection<WeightedPhraseInfo> toMerge){IEnumerator<Toffs>[] allToffs = new IEnumerator<Toffs>[toMerge.Count];try{using (IEnumerator<WeightedPhraseInfo> toMergeItr = toMerge.GetEnumerator()){if (!toMergeItr.MoveNext()){throw new ArgumentException("toMerge must contain at least one WeightedPhr...
train
false
7,082
public DescribeLoadBalancerPolicyTypesResult describeLoadBalancerPolicyTypes(DescribeLoadBalancerPolicyTypesRequest request) {request = beforeClientExecution(request);return executeDescribeLoadBalancerPolicyTypes(request);}
[ "public", "DescribeLoadBalancerPolicyTypesResult", "describeLoadBalancerPolicyTypes", "(", "DescribeLoadBalancerPolicyTypesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeLoadBalancerPolicyTypes", "(", "r...
public virtual DescribeLoadBalancerPolicyTypesResponse DescribeLoadBalancerPolicyTypes(DescribeLoadBalancerPolicyTypesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLoadBalancerPolicyTypesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLoadBalancerPolicyTypesRes...
train
true
7,083
public Entry<K, V> next() {return nextEntry();}
[ "public", "Entry", "<", "K", ",", "V", ">", "next", "(", ")", "{", "return", "nextEntry", "(", ")", ";", "}" ]
public override java.util.MapClass.Entry<K, V> next(){return this.nextEntry();}
train
false
7,084
public int getCmd(Character way) {Cell c = at(way);return (c == null) ? -1 : c.cmd;}
[ "public", "int", "getCmd", "(", "Character", "way", ")", "{", "Cell", "c", "=", "at", "(", "way", ")", ";", "return", "(", "c", "==", "null", ")", "?", "-", "1", ":", "c", ".", "cmd", ";", "}" ]
public int GetCmd(char way){Cell c = At(way);return (c == null) ? -1 : c.cmd;}
train
false
7,085
public int readInt(){int ch1 = _in.readUByte();int ch2 = _in.readUByte();int ch3 = _in.readUByte();int ch4 = _in.readUByte();return (ch4 << 24) + (ch3 << 16) + (ch2 << 8) + (ch1 << 0);}
[ "public", "int", "readInt", "(", ")", "{", "int", "ch1", "=", "_in", ".", "readUByte", "(", ")", ";", "int", "ch2", "=", "_in", ".", "readUByte", "(", ")", ";", "int", "ch3", "=", "_in", ".", "readUByte", "(", ")", ";", "int", "ch4", "=", "_in"...
public int ReadInt(){int ch1 = _in.ReadUByte();int ch2 = _in.ReadUByte();int ch3 = _in.ReadUByte();int ch4 = _in.ReadUByte();return (ch4 << 24) + (ch3 << 16) + (ch2 << 8) + (ch1 << 0);}
train
false
7,086
public String toString() {return "Reverse" + super.toString(); }
[ "public", "String", "toString", "(", ")", "{", "return", "\"Reverse\"", "+", "super", ".", "toString", "(", ")", ";", "}" ]
public override string ToString(){return "Reverse" + base.ToString();}
train
false
7,087
public Explanation explain(Explanation freq, long norm) {return SimilarityBase.this.explain(stats, freq, getLengthValue(norm));}
[ "public", "Explanation", "explain", "(", "Explanation", "freq", ",", "long", "norm", ")", "{", "return", "SimilarityBase", ".", "this", ".", "explain", "(", "stats", ",", "freq", ",", "getLengthValue", "(", "norm", ")", ")", ";", "}" ]
public override Explanation Explain(int doc, Explanation freq){return outerInstance.Explain(stats, doc, freq, norms == null ? 1F : outerInstance.DecodeNormValue((byte)norms.Get(doc)));}
train
false
7,088
public static ListenerList getGlobalListenerList() {return globalListeners;}
[ "public", "static", "ListenerList", "getGlobalListenerList", "(", ")", "{", "return", "globalListeners", ";", "}" ]
public static ListenerList GetGlobalListenerList(){return globalListeners;}
train
false
7,089
public GetInvitationsCountResult getInvitationsCount(GetInvitationsCountRequest request) {request = beforeClientExecution(request);return executeGetInvitationsCount(request);}
[ "public", "GetInvitationsCountResult", "getInvitationsCount", "(", "GetInvitationsCountRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeGetInvitationsCount", "(", "request", ")", ";", "}" ]
public virtual GetInvitationsCountResponse GetInvitationsCount(GetInvitationsCountRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetInvitationsCountRequestMarshaller.Instance;options.ResponseUnmarshaller = GetInvitationsCountResponseUnmarshaller.Instance;return Invoke<GetInvitationsCount...
train
true
7,091
public final V setValue(V value) {if (value == null) {throw new NullPointerException();}V oldValue = this.value;this.value = value;return oldValue;}
[ "public", "final", "V", "setValue", "(", "V", "value", ")", "{", "if", "(", "value", "==", "null", ")", "{", "throw", "new", "NullPointerException", "(", ")", ";", "}", "V", "oldValue", "=", "this", ".", "value", ";", "this", ".", "value", "=", "va...
public virtual V setValue(V value){if ((object)value == null){throw new System.ArgumentNullException();}V oldValue = this.value;this.value = value;return oldValue;}
train
false
7,092
@Override public boolean isEmpty() {return Impl.this.isEmpty();}
[ "@", "Override", "public", "boolean", "isEmpty", "(", ")", "{", "return", "Impl", ".", "this", ".", "isEmpty", "(", ")", ";", "}" ]
public override bool isEmpty(){return this._enclosing._size == 0;}
train
false
7,093
public void setCategoryLabelsCellRange(CellRangeAddressBase range) {Integer count = setVerticalCellRange(dataCategoryLabels, range);if (count == null){return;}series.setNumCategories((short)(int)count);}
[ "public", "void", "setCategoryLabelsCellRange", "(", "CellRangeAddressBase", "range", ")", "{", "Integer", "count", "=", "setVerticalCellRange", "(", "dataCategoryLabels", ",", "range", ")", ";", "if", "(", "count", "==", "null", ")", "{", "return", ";", "}", ...
public void SetCategoryLabelsCellRange(CellRangeAddressBase range){int count = SetVerticalCellRange(dataCategoryLabels, range);series.NumCategories = (short)count;}
train
false
7,094
final public SrndQuery OrQuery() throws ParseException {SrndQuery q;ArrayList<SrndQuery> queries = null;Token oprt = null;q = AndQuery();label_2:while (true) {switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {case OR:;break;default:jj_la1[0] = jj_gen;break label_2;}oprt = jj_consume_token(OR);if (queries == null) {queries = new A...
[ "final", "public", "SrndQuery", "OrQuery", "(", ")", "throws", "ParseException", "{", "SrndQuery", "q", ";", "ArrayList", "<", "SrndQuery", ">", "queries", "=", "null", ";", "Token", "oprt", "=", "null", ";", "q", "=", "AndQuery", "(", ")", ";", "label_2...
public SrndQuery OrQuery(){SrndQuery q;IList<SrndQuery> queries = null;Token oprt = null;q = AndQuery();while (true){switch ((jj_ntk == -1) ? Jj_ntk() : jj_ntk){case RegexpToken.OR:;break;default:jj_la1[0] = jj_gen;goto label_2;}oprt = Jj_consume_token(RegexpToken.OR);if (queries == null){queries = new List<SrndQuery>(...
train
false
7,095
public DeleteScheduledActionResult deleteScheduledAction(DeleteScheduledActionRequest request) {request = beforeClientExecution(request);return executeDeleteScheduledAction(request);}
[ "public", "DeleteScheduledActionResult", "deleteScheduledAction", "(", "DeleteScheduledActionRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDeleteScheduledAction", "(", "request", ")", ";", "}" ]
public virtual DeleteScheduledActionResponse DeleteScheduledAction(DeleteScheduledActionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteScheduledActionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteScheduledActionResponseUnmarshaller.Instance;return Invoke<DeleteSch...
train
true
7,096
public CharBuffer put(String str, int start, int end) {if (start < 0 || end < start || end > str.length()) {throw new IndexOutOfBoundsException("str.length()=" + str.length() +", start=" + start + ", end=" + end);}if (end - start > remaining()) {throw new BufferOverflowException();}for (int i = start; i < end; i++) {pu...
[ "public", "CharBuffer", "put", "(", "String", "str", ",", "int", "start", ",", "int", "end", ")", "{", "if", "(", "start", "<", "0", "||", "end", "<", "start", "||", "end", ">", "str", ".", "length", "(", ")", ")", "{", "throw", "new", "IndexOutO...
public virtual java.nio.CharBuffer put(string str, int start, int end){if (start < 0 || end < start || end > str.Length){throw new System.IndexOutOfRangeException("str.length()=" + str.Length + ", start="+ start + ", end=" + end);}if (end - start > remaining()){throw new java.nio.BufferOverflowException();}{for (int i ...
train
true
7,097
public void serialize(LittleEndianOutput out) {out.writeShort(rt);out.writeShort(grbitFrt);out.writeShort(iObjectKind);out.write(unused);}
[ "public", "void", "serialize", "(", "LittleEndianOutput", "out", ")", "{", "out", ".", "writeShort", "(", "rt", ")", ";", "out", ".", "writeShort", "(", "grbitFrt", ")", ";", "out", ".", "writeShort", "(", "iObjectKind", ")", ";", "out", ".", "write", ...
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(rt);out1.WriteShort(grbitFrt);out1.WriteShort(iObjectKind);out1.Write(unused);}
train
false
7,098
public ChangeInfo(String id, ChangeStatus status, java.util.Date submittedAt) {setId(id);setStatus(status.toString());setSubmittedAt(submittedAt);}
[ "public", "ChangeInfo", "(", "String", "id", ",", "ChangeStatus", "status", ",", "java", ".", "util", ".", "Date", "submittedAt", ")", "{", "setId", "(", "id", ")", ";", "setStatus", "(", "status", ".", "toString", "(", ")", ")", ";", "setSubmittedAt", ...
public ChangeInfo(string id, ChangeStatus status, DateTime submittedAt){_id = id;_status = status;_submittedAt = submittedAt;}
train
false
7,099
public SwedishLightStemFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
[ "public", "SwedishLightStemFilterFactory", "(", "Map", "<", "String", ",", "String", ">", "args", ")", "{", "super", "(", "args", ")", ";", "if", "(", "!", "args", ".", "isEmpty", "(", ")", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"Un...
public SwedishLightStemFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
train
false
7,100
public ErrorMatcher(int errorCode, CmpOp operator) {super(operator);_value = errorCode;}
[ "public", "ErrorMatcher", "(", "int", "errorCode", ",", "CmpOp", "operator", ")", "{", "super", "(", "operator", ")", ";", "_value", "=", "errorCode", ";", "}" ]
public ErrorMatcher(int errorCode, CmpOp operator1): base(operator1){;_value = errorCode;}
train
false
7,101
public static Console getConsole() {return console;}
[ "public", "static", "Console", "getConsole", "(", ")", "{", "return", "console", ";", "}" ]
public static java.io.Console getConsole(){return console;}
train
false
7,102
public UpdateTrialComponentResult updateTrialComponent(UpdateTrialComponentRequest request) {request = beforeClientExecution(request);return executeUpdateTrialComponent(request);}
[ "public", "UpdateTrialComponentResult", "updateTrialComponent", "(", "UpdateTrialComponentRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeUpdateTrialComponent", "(", "request", ")", ";", "}" ]
public virtual UpdateTrialComponentResponse UpdateTrialComponent(UpdateTrialComponentRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateTrialComponentRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateTrialComponentResponseUnmarshaller.Instance;return Invoke<UpdateTrialCom...
train
false
7,103
public AddCommand setWorkingTreeIterator(WorkingTreeIterator f) {workingTreeIterator = f;return this;}
[ "public", "AddCommand", "setWorkingTreeIterator", "(", "WorkingTreeIterator", "f", ")", "{", "workingTreeIterator", "=", "f", ";", "return", "this", ";", "}" ]
public virtual NGit.Api.AddCommand SetWorkingTreeIterator(WorkingTreeIterator f){workingTreeIterator = f;return this;}
train
false
7,104
public RefWriter(Map<String, Ref> refs) {if (refs instanceof RefMap)this.refs = refs.values();elsethis.refs = RefComparator.sort(refs.values());}
[ "public", "RefWriter", "(", "Map", "<", "String", ",", "Ref", ">", "refs", ")", "{", "if", "(", "refs", "instanceof", "RefMap", ")", "this", ".", "refs", "=", "refs", ".", "values", "(", ")", ";", "elsethis", ".", "refs", "=", "RefComparator", ".", ...
public RefWriter(IDictionary<string, Ref> refs){if (refs is RefMap){this.refs = refs.Values;}else{this.refs = RefComparator.Sort(refs.Values);}}
train
false
7,105
public LazyAreaEval(int firstRowIndex, int firstColumnIndex, int lastRowIndex,int lastColumnIndex, SheetRangeEvaluator evaluator) {super(evaluator, firstRowIndex, firstColumnIndex, lastRowIndex, lastColumnIndex);_evaluator = evaluator;}
[ "public", "LazyAreaEval", "(", "int", "firstRowIndex", ",", "int", "firstColumnIndex", ",", "int", "lastRowIndex", ",", "int", "lastColumnIndex", ",", "SheetRangeEvaluator", "evaluator", ")", "{", "super", "(", "evaluator", ",", "firstRowIndex", ",", "firstColumnInd...
public LazyAreaEval(int firstRowIndex, int firstColumnIndex, int lastRowIndex,int lastColumnIndex, SheetRangeEvaluator evaluator) :base(evaluator, firstRowIndex, firstColumnIndex, lastRowIndex, lastColumnIndex){_evaluator = evaluator;}
train
false
7,106
public BatchSuspendUserResult batchSuspendUser(BatchSuspendUserRequest request) {request = beforeClientExecution(request);return executeBatchSuspendUser(request);}
[ "public", "BatchSuspendUserResult", "batchSuspendUser", "(", "BatchSuspendUserRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeBatchSuspendUser", "(", "request", ")", ";", "}" ]
public virtual BatchSuspendUserResponse BatchSuspendUser(BatchSuspendUserRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchSuspendUserRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchSuspendUserResponseUnmarshaller.Instance;return Invoke<BatchSuspendUserResponse>(request,...
train
true
7,107
public CreateVpnGatewayRequest(GatewayType type) {setType(type.toString());}
[ "public", "CreateVpnGatewayRequest", "(", "GatewayType", "type", ")", "{", "setType", "(", "type", ".", "toString", "(", ")", ")", ";", "}" ]
public CreateVpnGatewayRequest(GatewayType type){_type = type;}
train
false
7,108
public BundleInstanceResult bundleInstance(BundleInstanceRequest request) {request = beforeClientExecution(request);return executeBundleInstance(request);}
[ "public", "BundleInstanceResult", "bundleInstance", "(", "BundleInstanceRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeBundleInstance", "(", "request", ")", ";", "}" ]
public virtual BundleInstanceResponse BundleInstance(BundleInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = BundleInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = BundleInstanceResponseUnmarshaller.Instance;return Invoke<BundleInstanceResponse>(request, options);}
train
true
7,109
public ListDeploymentsResult listDeployments(ListDeploymentsRequest request) {request = beforeClientExecution(request);return executeListDeployments(request);}
[ "public", "ListDeploymentsResult", "listDeployments", "(", "ListDeploymentsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListDeployments", "(", "request", ")", ";", "}" ]
public virtual ListDeploymentsResponse ListDeployments(ListDeploymentsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDeploymentsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDeploymentsResponseUnmarshaller.Instance;return Invoke<ListDeploymentsResponse>(request, optio...
train
true
7,110
public String toString() {return "(FOLLOW(" + path.toString() + ")" + " AND " + ANY_DIFF.toString() + ")";}
[ "public", "String", "toString", "(", ")", "{", "return", "\"(FOLLOW(\"", "+", "path", ".", "toString", "(", ")", "+", "\")\"", "+", "\" AND \"", "+", "ANY_DIFF", ".", "toString", "(", ")", "+", "\")\"", ";", "}" ]
public override string ToString(){return "(FOLLOW(" + path.ToString() + ")" + " AND " + ANY_DIFF.ToString() + ")";}
train
false
7,111
public DetectFacesResult detectFaces(DetectFacesRequest request) {request = beforeClientExecution(request);return executeDetectFaces(request);}
[ "public", "DetectFacesResult", "detectFaces", "(", "DetectFacesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDetectFaces", "(", "request", ")", ";", "}" ]
public virtual DetectFacesResponse DetectFaces(DetectFacesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetectFacesRequestMarshaller.Instance;options.ResponseUnmarshaller = DetectFacesResponseUnmarshaller.Instance;return Invoke<DetectFacesResponse>(request, options);}
train
true
7,112
public GetRegionsResult getRegions(GetRegionsRequest request) {request = beforeClientExecution(request);return executeGetRegions(request);}
[ "public", "GetRegionsResult", "getRegions", "(", "GetRegionsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeGetRegions", "(", "request", ")", ";", "}" ]
public virtual GetRegionsResponse GetRegions(GetRegionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRegionsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRegionsResponseUnmarshaller.Instance;return Invoke<GetRegionsResponse>(request, options);}
train
true
7,113
public WikipediaTokenizerFactory(Map<String,String> args) {super(args);tokenOutput = getInt(args, TOKEN_OUTPUT, WikipediaTokenizer.TOKENS_ONLY);untokenizedTypes = getSet(args, UNTOKENIZED_TYPES);if (untokenizedTypes == null) {untokenizedTypes = Collections.emptySet();}if (!args.isEmpty()) {throw new IllegalArgumentExce...
[ "public", "WikipediaTokenizerFactory", "(", "Map", "<", "String", ",", "String", ">", "args", ")", "{", "super", "(", "args", ")", ";", "tokenOutput", "=", "getInt", "(", "args", ",", "TOKEN_OUTPUT", ",", "WikipediaTokenizer", ".", "TOKENS_ONLY", ")", ";", ...
public WikipediaTokenizerFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
train
false
7,114
public int getSheetIndex(String name) {int retval = -1;final int size = boundsheets.size();for (int k = 0; k < size; k++) {String sheet = getSheetName(k);if (sheet.equalsIgnoreCase(name)) {retval = k;break;}}return retval;}
[ "public", "int", "getSheetIndex", "(", "String", "name", ")", "{", "int", "retval", "=", "-", "1", ";", "final", "int", "size", "=", "boundsheets", ".", "size", "(", ")", ";", "for", "(", "int", "k", "=", "0", ";", "k", "<", "size", ";", "k", "...
public int GetSheetIndex(String name){int retval = -1;for (int k = 0; k < boundsheets.Count; k++){String sheet = GetSheetName(k);if (sheet.Equals(name,StringComparison.OrdinalIgnoreCase)){retval = k;break;}}return retval;}
train
false
7,115
public PagedBytesDataInput getDataInput() {if (!frozen) {throw new IllegalStateException("must call freeze() before getDataInput");}return new PagedBytesDataInput();}
[ "public", "PagedBytesDataInput", "getDataInput", "(", ")", "{", "if", "(", "!", "frozen", ")", "{", "throw", "new", "IllegalStateException", "(", "\"must call freeze() before getDataInput\"", ")", ";", "}", "return", "new", "PagedBytesDataInput", "(", ")", ";", "}...
public PagedBytesDataInput GetDataInput(){if (!frozen){throw new InvalidOperationException("must call Freeze() before GetDataInput()");}return new PagedBytesDataInput(this);}
train
false
7,116
public AddTagsToResourceResult addTagsToResource(AddTagsToResourceRequest request) {request = beforeClientExecution(request);return executeAddTagsToResource(request);}
[ "public", "AddTagsToResourceResult", "addTagsToResource", "(", "AddTagsToResourceRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeAddTagsToResource", "(", "request", ")", ";", "}" ]
public virtual AddTagsToResourceResponse AddTagsToResource(AddTagsToResourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = AddTagsToResourceRequestMarshaller.Instance;options.ResponseUnmarshaller = AddTagsToResourceResponseUnmarshaller.Instance;return Invoke<AddTagsToResourceResponse>(re...
train
true