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
8,710
public void remove() {if (index == 0)throw new IllegalStateException();BlockList.this.remove(--index);dirIdx = toDirectoryIndex(index);blkIdx = toBlockIndex(index);block = directory[dirIdx];}
[ "public", "void", "remove", "(", ")", "{", "if", "(", "index", "==", "0", ")", "throw", "new", "IllegalStateException", "(", ")", ";", "BlockList", ".", "this", ".", "remove", "(", "--", "index", ")", ";", "dirIdx", "=", "toDirectoryIndex", "(", "index", ")", ";", "blkIdx", "=", "toBlockIndex", "(", "index", ")", ";", "block", "=", "directory", "[", "dirIdx", "]", ";", "}" ]
public override void Remove(){if (this.index == 0){throw new InvalidOperationException();}this._enclosing.Remove(--this.index);this.dirIdx = BlockList<T>.ToDirectoryIndex(this.index);this.blkIdx = BlockList<T>.ToBlockIndex(this.index);this.block = this._enclosing.directory[this.dirIdx];}
train
false
8,711
public String formatNumberDateCell(CellValueRecordInterface cell) {double value;if (cell instanceof NumberRecord) {value = ((NumberRecord) cell).getValue();} else if (cell instanceof FormulaRecord) {value = ((FormulaRecord) cell).getValue();} else {throw new IllegalArgumentException("Unsupported CellValue Record passed in " + cell);}int formatIndex = getFormatIndex(cell);String formatString = getFormatString(cell);if (formatString == null) {return _defaultFormat.format(value);}return _formatter.formatRawCellContents(value, formatIndex, formatString);}
[ "public", "String", "formatNumberDateCell", "(", "CellValueRecordInterface", "cell", ")", "{", "double", "value", ";", "if", "(", "cell", "instanceof", "NumberRecord", ")", "{", "value", "=", "(", "(", "NumberRecord", ")", "cell", ")", ".", "getValue", "(", ")", ";", "}", "else", "if", "(", "cell", "instanceof", "FormulaRecord", ")", "{", "value", "=", "(", "(", "FormulaRecord", ")", "cell", ")", ".", "getValue", "(", ")", ";", "}", "else", "{", "throw", "new", "IllegalArgumentException", "(", "\"Unsupported CellValue Record passed in \"", "+", "cell", ")", ";", "}", "int", "formatIndex", "=", "getFormatIndex", "(", "cell", ")", ";", "String", "formatString", "=", "getFormatString", "(", "cell", ")", ";", "if", "(", "formatString", "==", "null", ")", "{", "return", "_defaultFormat", ".", "format", "(", "value", ")", ";", "}", "return", "_formatter", ".", "formatRawCellContents", "(", "value", ",", "formatIndex", ",", "formatString", ")", ";", "}" ]
public String FormatNumberDateCell(CellValueRecordInterface cell){double value;if (cell is NumberRecord){value = ((NumberRecord)cell).Value;}else if (cell is FormulaRecord){value = ((FormulaRecord)cell).Value;}else{throw new ArgumentException("Unsupported CellValue Record passed in " + cell);}int formatIndex = GetFormatIndex(cell);String formatString = GetFormatString(cell);if (formatString == null){return value.ToString(CultureInfo.InvariantCulture);}else{return formatter.FormatRawCellContents(value, formatIndex, formatString);}}
train
true
8,712
public synchronized StringBuffer append(Object obj) {if (obj == null) {appendNull();} else {append0(obj.toString());}return this;}
[ "public", "synchronized", "StringBuffer", "append", "(", "Object", "obj", ")", "{", "if", "(", "obj", "==", "null", ")", "{", "appendNull", "(", ")", ";", "}", "else", "{", "append0", "(", "obj", ".", "toString", "(", ")", ")", ";", "}", "return", "this", ";", "}" ]
public java.lang.StringBuffer append(object obj){lock (this){if (obj == null){appendNull();}else{append0(obj.ToString());}return this;}}
train
false
8,713
public String getUser() {return user;}
[ "public", "String", "getUser", "(", ")", "{", "return", "user", ";", "}" ]
public virtual string GetUser(){return user;}
train
false
8,714
public CreateGraphResult createGraph(CreateGraphRequest request) {request = beforeClientExecution(request);return executeCreateGraph(request);}
[ "public", "CreateGraphResult", "createGraph", "(", "CreateGraphRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeCreateGraph", "(", "request", ")", ";", "}" ]
public virtual CreateGraphResponse CreateGraph(CreateGraphRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateGraphRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateGraphResponseUnmarshaller.Instance;return Invoke<CreateGraphResponse>(request, options);}
train
false
8,715
public static BytesRef toBytesRef(IntsRef input, BytesRefBuilder scratch) {scratch.grow(input.length);for(int i=0;i<input.length;i++) {int value = input.ints[i+input.offset];assert value >= Byte.MIN_VALUE && value <= 255: "value " + value + " doesn't fit into byte";scratch.setByteAt(i, (byte) value);}scratch.setLength(input.length);return scratch.get();}
[ "public", "static", "BytesRef", "toBytesRef", "(", "IntsRef", "input", ",", "BytesRefBuilder", "scratch", ")", "{", "scratch", ".", "grow", "(", "input", ".", "length", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "input", ".", "length", ";", "i", "++", ")", "{", "int", "value", "=", "input", ".", "ints", "[", "i", "+", "input", ".", "offset", "]", ";", "assert", "value", ">=", "Byte", ".", "MIN_VALUE", "&&", "value", "<=", "255", ":", "\"value \"", "+", "value", "+", "\" doesn't fit into byte\"", ";", "scratch", ".", "setByteAt", "(", "i", ",", "(", "byte", ")", "value", ")", ";", "}", "scratch", ".", "setLength", "(", "input", ".", "length", ")", ";", "return", "scratch", ".", "get", "(", ")", ";", "}" ]
public static BytesRef ToBytesRef(Int32sRef input, BytesRef scratch){scratch.Grow(input.Length);for (int i = 0; i < input.Length; i++){int value = input.Int32s[i + input.Offset];Debug.Assert(value >= sbyte.MinValue && value <= 255, "value " + value + " doesn't fit into byte");scratch.Bytes[i] = (byte)value;}scratch.Length = input.Length;return scratch;}
train
false
8,716
public final DoubleBuffer asDoubleBuffer() {return DoubleToByteBufferAdapter.asDoubleBuffer(this);}
[ "public", "final", "DoubleBuffer", "asDoubleBuffer", "(", ")", "{", "return", "DoubleToByteBufferAdapter", ".", "asDoubleBuffer", "(", "this", ")", ";", "}" ]
public sealed override java.nio.DoubleBuffer asDoubleBuffer(){return java.nio.DoubleToByteBufferAdapter.asDoubleBuffer(this);}
train
false
8,717
public static final RevFilter between(Date since, Date until) {return between(since.getTime(), until.getTime());}
[ "public", "static", "final", "RevFilter", "between", "(", "Date", "since", ",", "Date", "until", ")", "{", "return", "between", "(", "since", ".", "getTime", "(", ")", ",", "until", ".", "getTime", "(", ")", ")", ";", "}" ]
public static RevFilter Between(long since, long until){return new CommitTimeRevFilterBetween(since, until);}
train
false
8,718
public AreaEval offset(int relFirstRowIx, int relLastRowIx, int relFirstColIx, int relLastColIx) {AreaI area = new OffsetArea(getRow(), getColumn(),relFirstRowIx, relLastRowIx, relFirstColIx, relLastColIx);return new LazyAreaEval(area, _evaluator);}
[ "public", "AreaEval", "offset", "(", "int", "relFirstRowIx", ",", "int", "relLastRowIx", ",", "int", "relFirstColIx", ",", "int", "relLastColIx", ")", "{", "AreaI", "area", "=", "new", "OffsetArea", "(", "getRow", "(", ")", ",", "getColumn", "(", ")", ",", "relFirstRowIx", ",", "relLastRowIx", ",", "relFirstColIx", ",", "relLastColIx", ")", ";", "return", "new", "LazyAreaEval", "(", "area", ",", "_evaluator", ")", ";", "}" ]
public override AreaEval Offset(int relFirstRowIx, int relLastRowIx, int relFirstColIx, int relLastColIx){AreaI area = new OffsetArea(Row, Column,relFirstRowIx, relLastRowIx, relFirstColIx, relLastColIx);return new LazyAreaEval(area, _evaluator);}
train
false
8,719
public static void registerFunction(String name, FreeRefFunction func){AnalysisToolPak.registerFunction(name, func);}
[ "public", "static", "void", "registerFunction", "(", "String", "name", ",", "FreeRefFunction", "func", ")", "{", "AnalysisToolPak", ".", "registerFunction", "(", "name", ",", "func", ")", ";", "}" ]
public static void RegisterFunction(String name, FreeRefFunction func){AnalysisToolPak.RegisterFunction(name, func);}
train
false
8,720
public CreateAutoMLJobResult createAutoMLJob(CreateAutoMLJobRequest request) {request = beforeClientExecution(request);return executeCreateAutoMLJob(request);}
[ "public", "CreateAutoMLJobResult", "createAutoMLJob", "(", "CreateAutoMLJobRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeCreateAutoMLJob", "(", "request", ")", ";", "}" ]
public virtual CreateAutoMLJobResponse CreateAutoMLJob(CreateAutoMLJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateAutoMLJobRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateAutoMLJobResponseUnmarshaller.Instance;return Invoke<CreateAutoMLJobResponse>(request, options);}
train
false
8,721
public DefineIndexFieldResult defineIndexField(DefineIndexFieldRequest request) {request = beforeClientExecution(request);return executeDefineIndexField(request);}
[ "public", "DefineIndexFieldResult", "defineIndexField", "(", "DefineIndexFieldRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDefineIndexField", "(", "request", ")", ";", "}" ]
public virtual DefineIndexFieldResponse DefineIndexField(DefineIndexFieldRequest request){var options = new InvokeOptions();options.RequestMarshaller = DefineIndexFieldRequestMarshaller.Instance;options.ResponseUnmarshaller = DefineIndexFieldResponseUnmarshaller.Instance;return Invoke<DefineIndexFieldResponse>(request, options);}
train
true
8,722
public ListDomainNamesResult listDomainNames(ListDomainNamesRequest request) {request = beforeClientExecution(request);return executeListDomainNames(request);}
[ "public", "ListDomainNamesResult", "listDomainNames", "(", "ListDomainNamesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListDomainNames", "(", "request", ")", ";", "}" ]
public virtual ListDomainNamesResponse ListDomainNames(ListDomainNamesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDomainNamesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDomainNamesResponseUnmarshaller.Instance;return Invoke<ListDomainNamesResponse>(request, options);}
train
true
8,723
public CharBuffer put(char c) {if (position == limit) {throw new BufferOverflowException();}byteBuffer.putChar(position++ * SizeOf.CHAR, c);return this;}
[ "public", "CharBuffer", "put", "(", "char", "c", ")", "{", "if", "(", "position", "==", "limit", ")", "{", "throw", "new", "BufferOverflowException", "(", ")", ";", "}", "byteBuffer", ".", "putChar", "(", "position", "++", "*", "SizeOf", ".", "CHAR", ",", "c", ")", ";", "return", "this", ";", "}" ]
public override java.nio.CharBuffer put(char c){if (_position == _limit){throw new java.nio.BufferOverflowException();}byteBuffer.putChar(_position++ * libcore.io.SizeOf.CHAR, c);return this;}
train
false
8,724
public static PathFilter create(String path) {while (path.endsWith("/")) path = path.substring(0, path.length() - 1);if (path.length() == 0)throw new IllegalArgumentException(JGitText.get().emptyPathNotPermitted);return new PathFilter(path);}
[ "public", "static", "PathFilter", "create", "(", "String", "path", ")", "{", "while", "(", "path", ".", "endsWith", "(", "\"/\"", ")", ")", "path", "=", "path", ".", "substring", "(", "0", ",", "path", ".", "length", "(", ")", "-", "1", ")", ";", "if", "(", "path", ".", "length", "(", ")", "==", "0", ")", "throw", "new", "IllegalArgumentException", "(", "JGitText", ".", "get", "(", ")", ".", "emptyPathNotPermitted", ")", ";", "return", "new", "PathFilter", "(", "path", ")", ";", "}" ]
public static NGit.Treewalk.Filter.PathFilter Create(string path){while (path.EndsWith("/")){path = Sharpen.Runtime.Substring(path, 0, path.Length - 1);}if (path.Length == 0){throw new ArgumentException(JGitText.Get().emptyPathNotPermitted);}return new NGit.Treewalk.Filter.PathFilter(path);}
train
false
8,725
public final String toString() {return String.copyValueOf(backingArray, offset + position, remaining());}
[ "public", "final", "String", "toString", "(", ")", "{", "return", "String", ".", "copyValueOf", "(", "backingArray", ",", "offset", "+", "position", ",", "remaining", "(", ")", ")", ";", "}" ]
public sealed override string ToString(){return Sharpen.StringHelper.CopyValueOf(backingArray, offset + _position, remaining());}
train
false
8,726
public char first() {index = start;return current();}
[ "public", "char", "first", "(", ")", "{", "index", "=", "start", ";", "return", "current", "(", ")", ";", "}" ]
public override char First(){index = start;return Current;}
train
false
8,727
public void growForward() {forwardPos = ArrayUtil.grow(forwardPos, 1+forwardCount);forwardID = ArrayUtil.grow(forwardID, 1+forwardCount);forwardIndex = ArrayUtil.grow(forwardIndex, 1+forwardCount);final Type[] newForwardType = new Type[forwardPos.length];System.arraycopy(forwardType, 0, newForwardType, 0, forwardType.length);forwardType = newForwardType;}
[ "public", "void", "growForward", "(", ")", "{", "forwardPos", "=", "ArrayUtil", ".", "grow", "(", "forwardPos", ",", "1", "+", "forwardCount", ")", ";", "forwardID", "=", "ArrayUtil", ".", "grow", "(", "forwardID", ",", "1", "+", "forwardCount", ")", ";", "forwardIndex", "=", "ArrayUtil", ".", "grow", "(", "forwardIndex", ",", "1", "+", "forwardCount", ")", ";", "final", "Type", "[", "]", "newForwardType", "=", "new", "Type", "[", "forwardPos", ".", "length", "]", ";", "System", ".", "arraycopy", "(", "forwardType", ",", "0", ",", "newForwardType", ",", "0", ",", "forwardType", ".", "length", ")", ";", "forwardType", "=", "newForwardType", ";", "}" ]
public void GrowForward(){forwardPos = ArrayUtil.Grow(forwardPos, 1 + forwardCount);forwardID = ArrayUtil.Grow(forwardID, 1 + forwardCount);forwardIndex = ArrayUtil.Grow(forwardIndex, 1 + forwardCount);JapaneseTokenizerType[] newForwardType = new JapaneseTokenizerType[forwardPos.Length];System.Array.Copy(forwardType, 0, newForwardType, 0, forwardType.Length);forwardType = newForwardType;}
train
false
8,728
public DescribeReplicationGroupsResult describeReplicationGroups(DescribeReplicationGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeReplicationGroups(request);}
[ "public", "DescribeReplicationGroupsResult", "describeReplicationGroups", "(", "DescribeReplicationGroupsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeReplicationGroups", "(", "request", ")", ";", "}" ]
public virtual DescribeReplicationGroupsResponse DescribeReplicationGroups(DescribeReplicationGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeReplicationGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeReplicationGroupsResponseUnmarshaller.Instance;return Invoke<DescribeReplicationGroupsResponse>(request, options);}
train
true
8,729
public int getIndex(T o) {return valueKeyMap.getOrDefault(o, -1);}
[ "public", "int", "getIndex", "(", "T", "o", ")", "{", "return", "valueKeyMap", ".", "getOrDefault", "(", "o", ",", "-", "1", ")", ";", "}" ]
public int GetIndex(T o){if (!valueKeyMap.ContainsKey(o))return -1;return valueKeyMap[o];}
train
false
8,730
public String toString() {return "("+pred+", "+alt+ ")";}
[ "public", "String", "toString", "(", ")", "{", "return", "\"(\"", "+", "pred", "+", "\", \"", "+", "alt", "+", "\")\"", ";", "}" ]
public override String ToString(){return "(" + pred + ", " + alt + ")";}
train
false
8,731
public DescribeRegionsResult describeRegions() {return describeRegions(new DescribeRegionsRequest());}
[ "public", "DescribeRegionsResult", "describeRegions", "(", ")", "{", "return", "describeRegions", "(", "new", "DescribeRegionsRequest", "(", ")", ")", ";", "}" ]
public virtual DescribeRegionsResponse DescribeRegions(){return DescribeRegions(new DescribeRegionsRequest());}
train
false
8,732
public ModifyVpcEndpointConnectionNotificationResult modifyVpcEndpointConnectionNotification(ModifyVpcEndpointConnectionNotificationRequest request) {request = beforeClientExecution(request);return executeModifyVpcEndpointConnectionNotification(request);}
[ "public", "ModifyVpcEndpointConnectionNotificationResult", "modifyVpcEndpointConnectionNotification", "(", "ModifyVpcEndpointConnectionNotificationRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeModifyVpcEndpointConnectionNotification", "(", "request", ")", ";", "}" ]
public virtual ModifyVpcEndpointConnectionNotificationResponse ModifyVpcEndpointConnectionNotification(ModifyVpcEndpointConnectionNotificationRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyVpcEndpointConnectionNotificationRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyVpcEndpointConnectionNotificationResponseUnmarshaller.Instance;return Invoke<ModifyVpcEndpointConnectionNotificationResponse>(request, options);}
train
true
8,733
public QueryPhraseMap( FieldQuery fieldQuery ){this.fieldQuery = fieldQuery;}
[ "public", "QueryPhraseMap", "(", "FieldQuery", "fieldQuery", ")", "{", "this", ".", "fieldQuery", "=", "fieldQuery", ";", "}" ]
public QueryPhraseMap(FieldQuery fieldQuery){this.fieldQuery = fieldQuery;}
train
false
8,734
public DescribeAssessmentTemplatesResult describeAssessmentTemplates(DescribeAssessmentTemplatesRequest request) {request = beforeClientExecution(request);return executeDescribeAssessmentTemplates(request);}
[ "public", "DescribeAssessmentTemplatesResult", "describeAssessmentTemplates", "(", "DescribeAssessmentTemplatesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeAssessmentTemplates", "(", "request", ")", ";", "}" ]
public virtual DescribeAssessmentTemplatesResponse DescribeAssessmentTemplates(DescribeAssessmentTemplatesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAssessmentTemplatesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAssessmentTemplatesResponseUnmarshaller.Instance;return Invoke<DescribeAssessmentTemplatesResponse>(request, options);}
train
true
8,735
public HunspellStemFilter(TokenStream input, Dictionary dictionary, boolean dedup, boolean longestOnly) {super(input);this.dedup = dedup && longestOnly == false; this.stemmer = new Stemmer(dictionary);this.longestOnly = longestOnly;}
[ "public", "HunspellStemFilter", "(", "TokenStream", "input", ",", "Dictionary", "dictionary", ",", "boolean", "dedup", ",", "boolean", "longestOnly", ")", "{", "super", "(", "input", ")", ";", "this", ".", "dedup", "=", "dedup", "&&", "longestOnly", "==", "false", ";", "this", ".", "stemmer", "=", "new", "Stemmer", "(", "dictionary", ")", ";", "this", ".", "longestOnly", "=", "longestOnly", ";", "}" ]
public HunspellStemFilter(TokenStream input, Dictionary dictionary, bool dedup, bool longestOnly): base(input){this.dedup = dedup && longestOnly == false; this.stemmer = new Stemmer(dictionary);this.longestOnly = longestOnly;termAtt = AddAttribute<ICharTermAttribute>();posIncAtt = AddAttribute<IPositionIncrementAttribute>();keywordAtt = AddAttribute<IKeywordAttribute>();}
train
false
8,736
public NameCommentRecord getNameCommentRecord(final NameRecord nameRecord){return commentRecords.get(nameRecord.getNameText());}
[ "public", "NameCommentRecord", "getNameCommentRecord", "(", "final", "NameRecord", "nameRecord", ")", "{", "return", "commentRecords", ".", "get", "(", "nameRecord", ".", "getNameText", "(", ")", ")", ";", "}" ]
public NameCommentRecord GetNameCommentRecord(NameRecord nameRecord){if (commentRecords.ContainsKey(nameRecord.NameText))return commentRecords[nameRecord.NameText];else return null;}
train
false
8,737
public ScanRequest(String tableName) {setTableName(tableName);}
[ "public", "ScanRequest", "(", "String", "tableName", ")", "{", "setTableName", "(", "tableName", ")", ";", "}" ]
public ScanRequest(string tableName){_tableName = tableName;}
train
false
8,738
public AliasTarget(String hostedZoneId, String dNSName) {setHostedZoneId(hostedZoneId);setDNSName(dNSName);}
[ "public", "AliasTarget", "(", "String", "hostedZoneId", ",", "String", "dNSName", ")", "{", "setHostedZoneId", "(", "hostedZoneId", ")", ";", "setDNSName", "(", "dNSName", ")", ";", "}" ]
public AliasTarget(string hostedZoneId, string dnsName){_hostedZoneId = hostedZoneId;_dnsName = dnsName;}
train
false
8,739
public ListOutgoingTypedLinksResult listOutgoingTypedLinks(ListOutgoingTypedLinksRequest request) {request = beforeClientExecution(request);return executeListOutgoingTypedLinks(request);}
[ "public", "ListOutgoingTypedLinksResult", "listOutgoingTypedLinks", "(", "ListOutgoingTypedLinksRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListOutgoingTypedLinks", "(", "request", ")", ";", "}" ]
public virtual ListOutgoingTypedLinksResponse ListOutgoingTypedLinks(ListOutgoingTypedLinksRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListOutgoingTypedLinksRequestMarshaller.Instance;options.ResponseUnmarshaller = ListOutgoingTypedLinksResponseUnmarshaller.Instance;return Invoke<ListOutgoingTypedLinksResponse>(request, options);}
train
true
8,740
public HsmConfiguration createHsmConfiguration(CreateHsmConfigurationRequest request) {request = beforeClientExecution(request);return executeCreateHsmConfiguration(request);}
[ "public", "HsmConfiguration", "createHsmConfiguration", "(", "CreateHsmConfigurationRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeCreateHsmConfiguration", "(", "request", ")", ";", "}" ]
public virtual CreateHsmConfigurationResponse CreateHsmConfiguration(CreateHsmConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateHsmConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateHsmConfigurationResponseUnmarshaller.Instance;return Invoke<CreateHsmConfigurationResponse>(request, options);}
train
true
8,742
public DisableDomainAutoRenewResult disableDomainAutoRenew(DisableDomainAutoRenewRequest request) {request = beforeClientExecution(request);return executeDisableDomainAutoRenew(request);}
[ "public", "DisableDomainAutoRenewResult", "disableDomainAutoRenew", "(", "DisableDomainAutoRenewRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDisableDomainAutoRenew", "(", "request", ")", ";", "}" ]
public virtual DisableDomainAutoRenewResponse DisableDomainAutoRenew(DisableDomainAutoRenewRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisableDomainAutoRenewRequestMarshaller.Instance;options.ResponseUnmarshaller = DisableDomainAutoRenewResponseUnmarshaller.Instance;return Invoke<DisableDomainAutoRenewResponse>(request, options);}
train
true
8,743
@Override public boolean remove(Object o) {if (!(o instanceof Entry)) {return false;}Entry<?, ?> e = (Entry<?, ?>) o;Object key = e.getKey();return key != null && Impl.this.remove(key, e.getValue());}
[ "@", "Override", "public", "boolean", "remove", "(", "Object", "o", ")", "{", "if", "(", "!", "(", "o", "instanceof", "Entry", ")", ")", "{", "return", "false", ";", "}", "Entry", "<", "?", ",", "?", ">", "e", "=", "(", "Entry", "<", "?", ",", "?", ">", ")", "o", ";", "Object", "key", "=", "e", ".", "getKey", "(", ")", ";", "return", "key", "!=", "null", "&&", "Impl", ".", "this", ".", "remove", "(", "key", ",", "e", ".", "getValue", "(", ")", ")", ";", "}" ]
public override bool remove(object o){if (!(o is java.util.MapClass.Entry<K, V>)){return false;}java.util.MapClass.Entry<object, object> e = (java.util.MapClass.Entry<object, object>)o;return this._enclosing.removeMapping(e.getKey(), e.getValue());}
train
false
8,744
public UpdateFindingsFeedbackResult updateFindingsFeedback(UpdateFindingsFeedbackRequest request) {request = beforeClientExecution(request);return executeUpdateFindingsFeedback(request);}
[ "public", "UpdateFindingsFeedbackResult", "updateFindingsFeedback", "(", "UpdateFindingsFeedbackRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeUpdateFindingsFeedback", "(", "request", ")", ";", "}" ]
public virtual UpdateFindingsFeedbackResponse UpdateFindingsFeedback(UpdateFindingsFeedbackRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateFindingsFeedbackRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateFindingsFeedbackResponseUnmarshaller.Instance;return Invoke<UpdateFindingsFeedbackResponse>(request, options);}
train
true
8,745
public void setColorAtIndex(short index, byte red, byte green, byte blue){_palette.setColor(index, red, green, blue);}
[ "public", "void", "setColorAtIndex", "(", "short", "index", ",", "byte", "red", ",", "byte", "green", ",", "byte", "blue", ")", "{", "_palette", ".", "setColor", "(", "index", ",", "red", ",", "green", ",", "blue", ")", ";", "}" ]
public void SetColorAtIndex(short index, byte red, byte green, byte blue){palette.SetColor(index, red, green, blue);}
train
false
8,746
public void serialize(LittleEndianOutput out) {out.writeShort(rt);out.writeShort(grbitFrt);out.writeByte(verOriginator);out.writeByte(verWriter);out.writeShort(rgCFRTID.length);for (CFRTID cfrtid : rgCFRTID) {cfrtid.serialize(out);}}
[ "public", "void", "serialize", "(", "LittleEndianOutput", "out", ")", "{", "out", ".", "writeShort", "(", "rt", ")", ";", "out", ".", "writeShort", "(", "grbitFrt", ")", ";", "out", ".", "writeByte", "(", "verOriginator", ")", ";", "out", ".", "writeByte", "(", "verWriter", ")", ";", "out", ".", "writeShort", "(", "rgCFRTID", ".", "length", ")", ";", "for", "(", "CFRTID", "cfrtid", ":", "rgCFRTID", ")", "{", "cfrtid", ".", "serialize", "(", "out", ")", ";", "}", "}" ]
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(rt);out1.WriteShort(grbitFrt);out1.WriteByte(verOriginator);out1.WriteByte(verWriter);int nCFRTIDs = rgCFRTID.Length;out1.WriteShort(nCFRTIDs);for (int i = 0; i < nCFRTIDs; i++){rgCFRTID[i].Serialize(out1);}}
train
false
8,747
public RevokeInvitationResult revokeInvitation(RevokeInvitationRequest request) {request = beforeClientExecution(request);return executeRevokeInvitation(request);}
[ "public", "RevokeInvitationResult", "revokeInvitation", "(", "RevokeInvitationRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeRevokeInvitation", "(", "request", ")", ";", "}" ]
public virtual RevokeInvitationResponse RevokeInvitation(RevokeInvitationRequest request){var options = new InvokeOptions();options.RequestMarshaller = RevokeInvitationRequestMarshaller.Instance;options.ResponseUnmarshaller = RevokeInvitationResponseUnmarshaller.Instance;return Invoke<RevokeInvitationResponse>(request, options);}
train
true
8,748
public GetTextDetectionResult getTextDetection(GetTextDetectionRequest request) {request = beforeClientExecution(request);return executeGetTextDetection(request);}
[ "public", "GetTextDetectionResult", "getTextDetection", "(", "GetTextDetectionRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeGetTextDetection", "(", "request", ")", ";", "}" ]
public virtual GetTextDetectionResponse GetTextDetection(GetTextDetectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetTextDetectionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetTextDetectionResponseUnmarshaller.Instance;return Invoke<GetTextDetectionResponse>(request, options);}
train
false
8,749
public void ensureCapacity(int min) {if (min > value.length) {int ourMin = value.length*2 + 2;enlargeBuffer(Math.max(ourMin, min));}}
[ "public", "void", "ensureCapacity", "(", "int", "min", ")", "{", "if", "(", "min", ">", "value", ".", "length", ")", "{", "int", "ourMin", "=", "value", ".", "length", "*", "2", "+", "2", ";", "enlargeBuffer", "(", "Math", ".", "max", "(", "ourMin", ",", "min", ")", ")", ";", "}", "}" ]
public virtual void ensureCapacity(int min){if (min > value.Length){int ourMin = value.Length * 2 + 2;enlargeBuffer(System.Math.Max(ourMin, min));}}
train
false
8,750
public void write(byte[] buffer, int byteOffset, int byteCount) throws IOException {IoBridge.write(fd, buffer, byteOffset, byteCount);}
[ "public", "void", "write", "(", "byte", "[", "]", "buffer", ",", "int", "byteOffset", ",", "int", "byteCount", ")", "throws", "IOException", "{", "IoBridge", ".", "write", "(", "fd", ",", "buffer", ",", "byteOffset", ",", "byteCount", ")", ";", "}" ]
public override void write(byte[] buffer, int byteOffset, int byteCount){throw new System.NotImplementedException();}
train
true
8,751
public DisassociateAddressResult disassociateAddress(DisassociateAddressRequest request) {request = beforeClientExecution(request);return executeDisassociateAddress(request);}
[ "public", "DisassociateAddressResult", "disassociateAddress", "(", "DisassociateAddressRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDisassociateAddress", "(", "request", ")", ";", "}" ]
public virtual DisassociateAddressResponse DisassociateAddress(DisassociateAddressRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateAddressRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateAddressResponseUnmarshaller.Instance;return Invoke<DisassociateAddressResponse>(request, options);}
train
true
8,752
public TagCommand setForceUpdate(boolean forceUpdate) {this.forceUpdate = forceUpdate;return this;}
[ "public", "TagCommand", "setForceUpdate", "(", "boolean", "forceUpdate", ")", "{", "this", ".", "forceUpdate", "=", "forceUpdate", ";", "return", "this", ";", "}" ]
public virtual NGit.Api.TagCommand SetForceUpdate(bool forceUpdate){this.forceUpdate = forceUpdate;return this;}
train
false
8,753
public PageItemRecord(RecordInputStream in) {int dataSize = in.remaining();if (dataSize % FieldInfo.ENCODED_SIZE != 0) {throw new RecordFormatException("Bad data size " + dataSize);}int nItems = dataSize / FieldInfo.ENCODED_SIZE;FieldInfo[] fis = new FieldInfo[nItems];for (int i = 0; i < fis.length; i++) {fis[i] = new FieldInfo(in);}_fieldInfos = fis;}
[ "public", "PageItemRecord", "(", "RecordInputStream", "in", ")", "{", "int", "dataSize", "=", "in", ".", "remaining", "(", ")", ";", "if", "(", "dataSize", "%", "FieldInfo", ".", "ENCODED_SIZE", "!=", "0", ")", "{", "throw", "new", "RecordFormatException", "(", "\"Bad data size \"", "+", "dataSize", ")", ";", "}", "int", "nItems", "=", "dataSize", "/", "FieldInfo", ".", "ENCODED_SIZE", ";", "FieldInfo", "[", "]", "fis", "=", "new", "FieldInfo", "[", "nItems", "]", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "fis", ".", "length", ";", "i", "++", ")", "{", "fis", "[", "i", "]", "=", "new", "FieldInfo", "(", "in", ")", ";", "}", "_fieldInfos", "=", "fis", ";", "}" ]
public PageItemRecord(RecordInputStream in1){int dataSize = in1.Remaining;if (dataSize % FieldInfo.ENCODED_SIZE != 0){throw new RecordFormatException("Bad data size " + dataSize);}int nItems = dataSize / FieldInfo.ENCODED_SIZE;FieldInfo[] fis = new FieldInfo[nItems];for (int i = 0; i < fis.Length; i++){fis[i] = new FieldInfo(in1);}_fieldInfos = fis;}
train
false
8,754
public XPathTokenElement(String tokenName, int tokenType) {super(tokenName);this.tokenType = tokenType;}
[ "public", "XPathTokenElement", "(", "String", "tokenName", ",", "int", "tokenType", ")", "{", "super", "(", "tokenName", ")", ";", "this", ".", "tokenType", "=", "tokenType", ";", "}" ]
public XPathTokenElement(string tokenName, int tokenType): base(tokenName){this.tokenType = tokenType;}
train
false
8,755
@Override public boolean contains(Object object) {return indexOf(object) != -1;}
[ "@", "Override", "public", "boolean", "contains", "(", "Object", "object", ")", "{", "return", "indexOf", "(", "object", ")", "!=", "-", "1", ";", "}" ]
public virtual bool contains(object o){return indexOf(o) != -1;}
train
false
8,756
public void serialize(LittleEndianOutput out) {out.writeShort(field_1_x);out.writeShort(field_2_y);out.writeShort(field_3_topRow);out.writeShort(field_4_leftColumn);out.writeShort(field_5_activePane);}
[ "public", "void", "serialize", "(", "LittleEndianOutput", "out", ")", "{", "out", ".", "writeShort", "(", "field_1_x", ")", ";", "out", ".", "writeShort", "(", "field_2_y", ")", ";", "out", ".", "writeShort", "(", "field_3_topRow", ")", ";", "out", ".", "writeShort", "(", "field_4_leftColumn", ")", ";", "out", ".", "writeShort", "(", "field_5_activePane", ")", ";", "}" ]
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(field_1_x);out1.WriteShort(field_2_y);out1.WriteShort(field_3_topRow);out1.WriteShort(field_4_leftColumn);out1.WriteShort(field_5_activePane);}
train
false
8,757
public StepExecutionStatusDetail(StepExecutionState state, java.util.Date creationDateTime) {setState(state.toString());setCreationDateTime(creationDateTime);}
[ "public", "StepExecutionStatusDetail", "(", "StepExecutionState", "state", ",", "java", ".", "util", ".", "Date", "creationDateTime", ")", "{", "setState", "(", "state", ".", "toString", "(", ")", ")", ";", "setCreationDateTime", "(", "creationDateTime", ")", ";", "}" ]
public StepExecutionStatusDetail(StepExecutionState state, DateTime creationDateTime){_state = state;_creationDateTime = creationDateTime;}
train
false
8,758
public EditEventRequest() {super("CloudPhoto", "2017-07-11", "EditEvent", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
[ "public", "EditEventRequest", "(", ")", "{", "super", "(", "\"CloudPhoto\"", ",", "\"2017-07-11\"", ",", "\"EditEvent\"", ",", "\"cloudphoto\"", ")", ";", "setProtocol", "(", "ProtocolType", ".", "HTTPS", ")", ";", "}" ]
public EditEventRequest(): base("CloudPhoto", "2017-07-11", "EditEvent", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
train
false
8,759
public PurchaseHostReservationResult purchaseHostReservation(PurchaseHostReservationRequest request) {request = beforeClientExecution(request);return executePurchaseHostReservation(request);}
[ "public", "PurchaseHostReservationResult", "purchaseHostReservation", "(", "PurchaseHostReservationRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executePurchaseHostReservation", "(", "request", ")", ";", "}" ]
public virtual PurchaseHostReservationResponse PurchaseHostReservation(PurchaseHostReservationRequest request){var options = new InvokeOptions();options.RequestMarshaller = PurchaseHostReservationRequestMarshaller.Instance;options.ResponseUnmarshaller = PurchaseHostReservationResponseUnmarshaller.Instance;return Invoke<PurchaseHostReservationResponse>(request, options);}
train
true
8,760
public ConfirmPrivateVirtualInterfaceResult confirmPrivateVirtualInterface(ConfirmPrivateVirtualInterfaceRequest request) {request = beforeClientExecution(request);return executeConfirmPrivateVirtualInterface(request);}
[ "public", "ConfirmPrivateVirtualInterfaceResult", "confirmPrivateVirtualInterface", "(", "ConfirmPrivateVirtualInterfaceRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeConfirmPrivateVirtualInterface", "(", "request", ")", ";", "}" ]
public virtual ConfirmPrivateVirtualInterfaceResponse ConfirmPrivateVirtualInterface(ConfirmPrivateVirtualInterfaceRequest request){var options = new InvokeOptions();options.RequestMarshaller = ConfirmPrivateVirtualInterfaceRequestMarshaller.Instance;options.ResponseUnmarshaller = ConfirmPrivateVirtualInterfaceResponseUnmarshaller.Instance;return Invoke<ConfirmPrivateVirtualInterfaceResponse>(request, options);}
train
true
8,761
public static int getVariantLength(final long variantType) {final Integer length = numberToLength.get(variantType);return (length != null) ? length : LENGTH_UNKNOWN;}
[ "public", "static", "int", "getVariantLength", "(", "final", "long", "variantType", ")", "{", "final", "Integer", "length", "=", "numberToLength", ".", "get", "(", "variantType", ")", ";", "return", "(", "length", "!=", "null", ")", "?", "length", ":", "LENGTH_UNKNOWN", ";", "}" ]
public static int GetVariantLength(long variantType){long key = (int)variantType;if (numberToLength.Contains(key))return -2;long Length = (long)numberToLength[key];return Convert.ToInt32(Length);}
train
false
8,762
public UnknownFormatFlagsException(String f) {if (f == null) {throw new NullPointerException();}flags = f;}
[ "public", "UnknownFormatFlagsException", "(", "String", "f", ")", "{", "if", "(", "f", "==", "null", ")", "{", "throw", "new", "NullPointerException", "(", ")", ";", "}", "flags", "=", "f", ";", "}" ]
public UnknownFormatFlagsException(string f){if (f == null){throw new System.ArgumentNullException();}flags = f;}
train
false
8,763
public boolean isFreezePane() {return frozen;}
[ "public", "boolean", "isFreezePane", "(", ")", "{", "return", "frozen", ";", "}" ]
public bool IsFreezePane(){return frozen;}
train
false
8,764
public PurchaseReservedDBInstancesOfferingRequest(String reservedDBInstancesOfferingId) {setReservedDBInstancesOfferingId(reservedDBInstancesOfferingId);}
[ "public", "PurchaseReservedDBInstancesOfferingRequest", "(", "String", "reservedDBInstancesOfferingId", ")", "{", "setReservedDBInstancesOfferingId", "(", "reservedDBInstancesOfferingId", ")", ";", "}" ]
public PurchaseReservedDBInstancesOfferingRequest(string reservedDBInstancesOfferingId){_reservedDBInstancesOfferingId = reservedDBInstancesOfferingId;}
train
false
8,765
public HeaderBlock(POIFSBigBlockSize bigBlockSize){this.bigBlockSize = bigBlockSize;_data = new byte[ POIFSConstants.SMALLER_BIG_BLOCK_SIZE ];Arrays.fill(_data, _default_value);new LongField(_signature_offset, _signature, _data);new IntegerField(0x08, 0, _data);new IntegerField(0x0c, 0, _data);new IntegerField(0x10, 0, _data);new IntegerField(0x14, 0, _data);new ShortField(0x18, ( short ) 0x3b, _data);new ShortField(0x1a, ( short ) 0x3, _data);new ShortField(0x1c, ( short ) -2, _data);new ShortField(0x1e, bigBlockSize.getHeaderValue(), _data);new IntegerField(0x20, 0x6, _data);new IntegerField(0x24, 0, _data);new IntegerField(0x28, 0, _data);new IntegerField(0x34, 0, _data);new IntegerField(0x38, 0x1000, _data);_bat_count = 0;_sbat_count = 0;_xbat_count = 0;_property_start = POIFSConstants.END_OF_CHAIN;_sbat_start = POIFSConstants.END_OF_CHAIN;_xbat_start = POIFSConstants.END_OF_CHAIN;}
[ "public", "HeaderBlock", "(", "POIFSBigBlockSize", "bigBlockSize", ")", "{", "this", ".", "bigBlockSize", "=", "bigBlockSize", ";", "_data", "=", "new", "byte", "[", "POIFSConstants", ".", "SMALLER_BIG_BLOCK_SIZE", "]", ";", "Arrays", ".", "fill", "(", "_data", ",", "_default_value", ")", ";", "new", "LongField", "(", "_signature_offset", ",", "_signature", ",", "_data", ")", ";", "new", "IntegerField", "(", "0x08", ",", "0", ",", "_data", ")", ";", "new", "IntegerField", "(", "0x0c", ",", "0", ",", "_data", ")", ";", "new", "IntegerField", "(", "0x10", ",", "0", ",", "_data", ")", ";", "new", "IntegerField", "(", "0x14", ",", "0", ",", "_data", ")", ";", "new", "ShortField", "(", "0x18", ",", "(", "short", ")", "0x3b", ",", "_data", ")", ";", "new", "ShortField", "(", "0x1a", ",", "(", "short", ")", "0x3", ",", "_data", ")", ";", "new", "ShortField", "(", "0x1c", ",", "(", "short", ")", "-", "2", ",", "_data", ")", ";", "new", "ShortField", "(", "0x1e", ",", "bigBlockSize", ".", "getHeaderValue", "(", ")", ",", "_data", ")", ";", "new", "IntegerField", "(", "0x20", ",", "0x6", ",", "_data", ")", ";", "new", "IntegerField", "(", "0x24", ",", "0", ",", "_data", ")", ";", "new", "IntegerField", "(", "0x28", ",", "0", ",", "_data", ")", ";", "new", "IntegerField", "(", "0x34", ",", "0", ",", "_data", ")", ";", "new", "IntegerField", "(", "0x38", ",", "0x1000", ",", "_data", ")", ";", "_bat_count", "=", "0", ";", "_sbat_count", "=", "0", ";", "_xbat_count", "=", "0", ";", "_property_start", "=", "POIFSConstants", ".", "END_OF_CHAIN", ";", "_sbat_start", "=", "POIFSConstants", ".", "END_OF_CHAIN", ";", "_xbat_start", "=", "POIFSConstants", ".", "END_OF_CHAIN", ";", "}" ]
public HeaderBlock(POIFSBigBlockSize bigBlockSize){this.bigBlockSize = bigBlockSize;_data = new byte[POIFSConstants.SMALLER_BIG_BLOCK_SIZE];for (int i = 0; i < _data.Length; i++)_data[i] = _default_value;new LongField(_signature_offset, _signature, _data);new IntegerField(0x08, 0, _data);new IntegerField(0x0c, 0, _data);new IntegerField(0x10, 0, _data);new IntegerField(0x14, 0, _data);new ShortField((int)0x18, (short)0x3b, ref _data);new ShortField((int)0x1a, (short)0x3, ref _data);new ShortField((int)0x1c, (short)-2, ref _data);new ShortField(0x1e, bigBlockSize.GetHeaderValue(), ref _data);new IntegerField(0x20, 0x6, _data);new IntegerField(0x24, 0, _data);new IntegerField(0x28, 0, _data);new IntegerField(0x34, 0, _data);new IntegerField(0x38, 0x1000, _data);_bat_count = 0;_sbat_count = 0;_xbat_count = 0;_property_start = POIFSConstants.END_OF_CHAIN;_sbat_start = POIFSConstants.END_OF_CHAIN;_xbat_start = POIFSConstants.END_OF_CHAIN;}
train
false
8,766
public ListEventSubscriptionsResult listEventSubscriptions(ListEventSubscriptionsRequest request) {request = beforeClientExecution(request);return executeListEventSubscriptions(request);}
[ "public", "ListEventSubscriptionsResult", "listEventSubscriptions", "(", "ListEventSubscriptionsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListEventSubscriptions", "(", "request", ")", ";", "}" ]
public virtual ListEventSubscriptionsResponse ListEventSubscriptions(ListEventSubscriptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListEventSubscriptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListEventSubscriptionsResponseUnmarshaller.Instance;return Invoke<ListEventSubscriptionsResponse>(request, options);}
train
true
8,767
public ListProxySessionsResult listProxySessions(ListProxySessionsRequest request) {request = beforeClientExecution(request);return executeListProxySessions(request);}
[ "public", "ListProxySessionsResult", "listProxySessions", "(", "ListProxySessionsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListProxySessions", "(", "request", ")", ";", "}" ]
public virtual ListProxySessionsResponse ListProxySessions(ListProxySessionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListProxySessionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListProxySessionsResponseUnmarshaller.Instance;return Invoke<ListProxySessionsResponse>(request, options);}
train
false
8,768
public SimpleBoundaryScanner( int maxScan, Set<Character> boundaryChars ){this.maxScan = maxScan;this.boundaryChars = boundaryChars;}
[ "public", "SimpleBoundaryScanner", "(", "int", "maxScan", ",", "Set", "<", "Character", ">", "boundaryChars", ")", "{", "this", ".", "maxScan", "=", "maxScan", ";", "this", ".", "boundaryChars", "=", "boundaryChars", ";", "}" ]
public SimpleBoundaryScanner(int maxScan, ISet<char> boundaryChars){this.m_maxScan = maxScan;this.m_boundaryChars = boundaryChars;}
train
false
8,769
public ObjectId getObjectId() {return getLeaf().getObjectId();}
[ "public", "ObjectId", "getObjectId", "(", ")", "{", "return", "getLeaf", "(", ")", ".", "getObjectId", "(", ")", ";", "}" ]
public virtual ObjectId GetObjectId(){return GetLeaf().GetObjectId();}
train
false
8,770
public void drawLine(int x1, int y1, int x2, int y2, int width){HSSFSimpleShape shape = escherGroup.createShape(new HSSFChildAnchor(x1, y1, x2, y2) );shape.setShapeType(HSSFSimpleShape.OBJECT_TYPE_LINE);shape.setLineWidth(width);shape.setLineStyleColor(foreground.getRed(), foreground.getGreen(), foreground.getBlue());}
[ "public", "void", "drawLine", "(", "int", "x1", ",", "int", "y1", ",", "int", "x2", ",", "int", "y2", ",", "int", "width", ")", "{", "HSSFSimpleShape", "shape", "=", "escherGroup", ".", "createShape", "(", "new", "HSSFChildAnchor", "(", "x1", ",", "y1", ",", "x2", ",", "y2", ")", ")", ";", "shape", ".", "setShapeType", "(", "HSSFSimpleShape", ".", "OBJECT_TYPE_LINE", ")", ";", "shape", ".", "setLineWidth", "(", "width", ")", ";", "shape", ".", "setLineStyleColor", "(", "foreground", ".", "getRed", "(", ")", ",", "foreground", ".", "getGreen", "(", ")", ",", "foreground", ".", "getBlue", "(", ")", ")", ";", "}" ]
public void DrawLine(int x1, int y1, int x2, int y2, int width){HSSFSimpleShape shape = escherGroup.CreateShape(new HSSFChildAnchor(x1, y1, x2, y2));shape.ShapeType = (HSSFSimpleShape.OBJECT_TYPE_LINE);shape.LineWidth = (width);shape.SetLineStyleColor(foreground.R, foreground.G, foreground.B);}
train
false
8,771
public ReverseBytesReader(byte[] bytes) {this.bytes = bytes;}
[ "public", "ReverseBytesReader", "(", "byte", "[", "]", "bytes", ")", "{", "this", ".", "bytes", "=", "bytes", ";", "}" ]
public ReverseBytesReader(byte[] bytes){this.bytes = bytes;}
train
false
8,772
public GetActiveNamesResult getActiveNames(GetActiveNamesRequest request) {request = beforeClientExecution(request);return executeGetActiveNames(request);}
[ "public", "GetActiveNamesResult", "getActiveNames", "(", "GetActiveNamesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeGetActiveNames", "(", "request", ")", ";", "}" ]
public virtual GetActiveNamesResponse GetActiveNames(GetActiveNamesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetActiveNamesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetActiveNamesResponseUnmarshaller.Instance;return Invoke<GetActiveNamesResponse>(request, options);}
train
true
8,773
public MergeResult getFailingResult() {return failingResult;}
[ "public", "MergeResult", "getFailingResult", "(", ")", "{", "return", "failingResult", ";", "}" ]
public virtual MergeCommandResult GetFailingResult(){return failingResult;}
train
false
8,774
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[AREA]\n");buffer.append(" .formatFlags = ").append("0x").append(HexDump.toHex( getFormatFlags ())).append(" (").append( getFormatFlags() ).append(" )");buffer.append(System.getProperty("line.separator"));buffer.append(" .stacked = ").append(isStacked()).append('\n');buffer.append(" .displayAsPercentage = ").append(isDisplayAsPercentage()).append('\n');buffer.append(" .shadow = ").append(isShadow()).append('\n');buffer.append("[/AREA]\n");return buffer.toString();}
[ "public", "String", "toString", "(", ")", "{", "StringBuilder", "buffer", "=", "new", "StringBuilder", "(", ")", ";", "buffer", ".", "append", "(", "\"[AREA]\\n\"", ")", ";", "buffer", ".", "append", "(", "\" .formatFlags = \"", ")", ".", "append", "(", "\"0x\"", ")", ".", "append", "(", "HexDump", ".", "toHex", "(", "getFormatFlags", "(", ")", ")", ")", ".", "append", "(", "\" (\"", ")", ".", "append", "(", "getFormatFlags", "(", ")", ")", ".", "append", "(", "\" )\"", ")", ";", "buffer", ".", "append", "(", "System", ".", "getProperty", "(", "\"line.separator\"", ")", ")", ";", "buffer", ".", "append", "(", "\" .stacked = \"", ")", ".", "append", "(", "isStacked", "(", ")", ")", ".", "append", "(", "'\\n'", ")", ";", "buffer", ".", "append", "(", "\" .displayAsPercentage = \"", ")", ".", "append", "(", "isDisplayAsPercentage", "(", ")", ")", ".", "append", "(", "'\\n'", ")", ";", "buffer", ".", "append", "(", "\" .shadow = \"", ")", ".", "append", "(", "isShadow", "(", ")", ")", ".", "append", "(", "'\\n'", ")", ";", "buffer", ".", "append", "(", "\"[/AREA]\\n\"", ")", ";", "return", "buffer", ".", "toString", "(", ")", ";", "}" ]
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[AREA]\n");buffer.Append(" .formatFlags = ").Append("0x").Append(HexDump.ToHex(FormatFlags)).Append(" (").Append(FormatFlags).Append(" )");buffer.Append(Environment.NewLine);buffer.Append(" .stacked = ").Append(IsStacked).Append('\n');buffer.Append(" .DisplayAsPercentage = ").Append(IsDisplayAsPercentage).Append('\n');buffer.Append(" .shadow = ").Append(IsShadow).Append('\n');buffer.Append("[/AREA]\n");return buffer.ToString();}
train
false
8,775
public BatchCreateVariableResult batchCreateVariable(BatchCreateVariableRequest request) {request = beforeClientExecution(request);return executeBatchCreateVariable(request);}
[ "public", "BatchCreateVariableResult", "batchCreateVariable", "(", "BatchCreateVariableRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeBatchCreateVariable", "(", "request", ")", ";", "}" ]
public virtual BatchCreateVariableResponse BatchCreateVariable(BatchCreateVariableRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchCreateVariableRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchCreateVariableResponseUnmarshaller.Instance;return Invoke<BatchCreateVariableResponse>(request, options);}
train
false
8,776
public final boolean isReuseAsIs() {return (flags & REUSE_AS_IS) != 0;}
[ "public", "final", "boolean", "isReuseAsIs", "(", ")", "{", "return", "(", "flags", "&", "REUSE_AS_IS", ")", "!=", "0", ";", "}" ]
public virtual bool IsReuseAsIs(){return (flags & REUSE_AS_IS) != 0;}
train
false
8,777
public String toString() {return "[PRINTGRIDLINES]\n" +" .printgridlines = " + getPrintGridlines() +"\n" +"[/PRINTGRIDLINES]\n";}
[ "public", "String", "toString", "(", ")", "{", "return", "\"[PRINTGRIDLINES]\\n\"", "+", "\" .printgridlines = \"", "+", "getPrintGridlines", "(", ")", "+", "\"\\n\"", "+", "\"[/PRINTGRIDLINES]\\n\"", ";", "}" ]
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[PRINTGRIDLINES]\n");buffer.Append(" .printgridlines = ").Append(PrintGridlines).Append("\n");buffer.Append("[/PRINTGRIDLINES]\n");return buffer.ToString();}
train
false
8,778
public ApplySecurityGroupsToClientVpnTargetNetworkResult applySecurityGroupsToClientVpnTargetNetwork(ApplySecurityGroupsToClientVpnTargetNetworkRequest request) {request = beforeClientExecution(request);return executeApplySecurityGroupsToClientVpnTargetNetwork(request);}
[ "public", "ApplySecurityGroupsToClientVpnTargetNetworkResult", "applySecurityGroupsToClientVpnTargetNetwork", "(", "ApplySecurityGroupsToClientVpnTargetNetworkRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeApplySecurityGroupsToClientVpnTargetNetwork", "(", "request", ")", ";", "}" ]
public virtual ApplySecurityGroupsToClientVpnTargetNetworkResponse ApplySecurityGroupsToClientVpnTargetNetwork(ApplySecurityGroupsToClientVpnTargetNetworkRequest request){var options = new InvokeOptions();options.RequestMarshaller = ApplySecurityGroupsToClientVpnTargetNetworkRequestMarshaller.Instance;options.ResponseUnmarshaller = ApplySecurityGroupsToClientVpnTargetNetworkResponseUnmarshaller.Instance;return Invoke<ApplySecurityGroupsToClientVpnTargetNetworkResponse>(request, options);}
train
true
8,779
public DetachInternetGatewayResult detachInternetGateway(DetachInternetGatewayRequest request) {request = beforeClientExecution(request);return executeDetachInternetGateway(request);}
[ "public", "DetachInternetGatewayResult", "detachInternetGateway", "(", "DetachInternetGatewayRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDetachInternetGateway", "(", "request", ")", ";", "}" ]
public virtual DetachInternetGatewayResponse DetachInternetGateway(DetachInternetGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = DetachInternetGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = DetachInternetGatewayResponseUnmarshaller.Instance;return Invoke<DetachInternetGatewayResponse>(request, options);}
train
true
8,780
public static final RevFilter after(long ts) {return new After(ts);}
[ "public", "static", "final", "RevFilter", "after", "(", "long", "ts", ")", "{", "return", "new", "After", "(", "ts", ")", ";", "}" ]
public static RevFilter After(DateTime ts){return After(ts.GetTime());}
train
false
8,781
public DescribeCampaignResult describeCampaign(DescribeCampaignRequest request) {request = beforeClientExecution(request);return executeDescribeCampaign(request);}
[ "public", "DescribeCampaignResult", "describeCampaign", "(", "DescribeCampaignRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeCampaign", "(", "request", ")", ";", "}" ]
public virtual DescribeCampaignResponse DescribeCampaign(DescribeCampaignRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeCampaignRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeCampaignResponseUnmarshaller.Instance;return Invoke<DescribeCampaignResponse>(request, options);}
train
false
8,782
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[INDEX]\n");buffer.append(" .firstrow = ").append(Integer.toHexString(getFirstRow())).append("\n");buffer.append(" .lastrowadd1 = ").append(Integer.toHexString(getLastRowAdd1())).append("\n");for (int k = 0; k < getNumDbcells(); k++) {buffer.append(" .dbcell_").append(k).append(" = ").append(Integer.toHexString(getDbcellAt(k))).append("\n");}buffer.append("[/INDEX]\n");return buffer.toString();}
[ "public", "String", "toString", "(", ")", "{", "StringBuilder", "buffer", "=", "new", "StringBuilder", "(", ")", ";", "buffer", ".", "append", "(", "\"[INDEX]\\n\"", ")", ";", "buffer", ".", "append", "(", "\" .firstrow = \"", ")", ".", "append", "(", "Integer", ".", "toHexString", "(", "getFirstRow", "(", ")", ")", ")", ".", "append", "(", "\"\\n\"", ")", ";", "buffer", ".", "append", "(", "\" .lastrowadd1 = \"", ")", ".", "append", "(", "Integer", ".", "toHexString", "(", "getLastRowAdd1", "(", ")", ")", ")", ".", "append", "(", "\"\\n\"", ")", ";", "for", "(", "int", "k", "=", "0", ";", "k", "<", "getNumDbcells", "(", ")", ";", "k", "++", ")", "{", "buffer", ".", "append", "(", "\" .dbcell_\"", ")", ".", "append", "(", "k", ")", ".", "append", "(", "\" = \"", ")", ".", "append", "(", "Integer", ".", "toHexString", "(", "getDbcellAt", "(", "k", ")", ")", ")", ".", "append", "(", "\"\\n\"", ")", ";", "}", "buffer", ".", "append", "(", "\"[/INDEX]\\n\"", ")", ";", "return", "buffer", ".", "toString", "(", ")", ";", "}" ]
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[INDEX]\n");buffer.Append(" .firstrow = ").Append(StringUtil.ToHexString(FirstRow)).Append("\n");buffer.Append(" .lastrowadd1 = ").Append(StringUtil.ToHexString(LastRowAdd1)).Append("\n");for (int k = 0; k < NumDbcells; k++){buffer.Append(" .dbcell_" + k + " = ").Append(StringUtil.ToHexString(GetDbcellAt(k))).Append("\n");}buffer.Append("[/INDEX]\n");return buffer.ToString();}
train
false
8,783
public UserSViewEnd clone() {return copy();}
[ "public", "UserSViewEnd", "clone", "(", ")", "{", "return", "copy", "(", ")", ";", "}" ]
public override Object Clone(){return CloneViaReserialise();}
train
false
8,784
public final float averageCharsPerByte() {return averageCharsPerByte;}
[ "public", "final", "float", "averageCharsPerByte", "(", ")", "{", "return", "averageCharsPerByte", ";", "}" ]
public float averageCharsPerByte(){return _averageCharsPerByte;}
train
false
8,785
public ListTimeLinePhotosRequest() {super("CloudPhoto", "2017-07-11", "ListTimeLinePhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
[ "public", "ListTimeLinePhotosRequest", "(", ")", "{", "super", "(", "\"CloudPhoto\"", ",", "\"2017-07-11\"", ",", "\"ListTimeLinePhotos\"", ",", "\"cloudphoto\"", ")", ";", "setProtocol", "(", "ProtocolType", ".", "HTTPS", ")", ";", "}" ]
public ListTimeLinePhotosRequest(): base("CloudPhoto", "2017-07-11", "ListTimeLinePhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
train
false
8,786
public String toString() {return getClass().getName() + " [" +formatAsString() +"]";}
[ "public", "String", "toString", "(", ")", "{", "return", "getClass", "(", ")", ".", "getName", "(", ")", "+", "\" [\"", "+", "formatAsString", "(", ")", "+", "\"]\"", ";", "}" ]
public override String ToString(){StringBuilder sb = new StringBuilder(64);sb.Append(GetType().Name).Append(" [");sb.Append(FormatAsString());sb.Append("]");return sb.ToString();}
train
false
8,787
public RunTaskResult runTask(RunTaskRequest request) {request = beforeClientExecution(request);return executeRunTask(request);}
[ "public", "RunTaskResult", "runTask", "(", "RunTaskRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeRunTask", "(", "request", ")", ";", "}" ]
public virtual RunTaskResponse RunTask(RunTaskRequest request){var options = new InvokeOptions();options.RequestMarshaller = RunTaskRequestMarshaller.Instance;options.ResponseUnmarshaller = RunTaskResponseUnmarshaller.Instance;return Invoke<RunTaskResponse>(request, options);}
train
true
8,788
public void setCollector(Collector collector) {this.collector = collector;}
[ "public", "void", "setCollector", "(", "Collector", "collector", ")", "{", "this", ".", "collector", "=", "collector", ";", "}" ]
public virtual void SetCollector(ICollector collector){this.collector = collector;}
train
false
8,790
public void addFieldConfigListener(FieldConfigListener listener) {this.listeners.add(listener);}
[ "public", "void", "addFieldConfigListener", "(", "FieldConfigListener", "listener", ")", "{", "this", ".", "listeners", ".", "add", "(", "listener", ")", ";", "}" ]
public virtual void AddFieldConfigListener(IFieldConfigListener listener){this.listeners.AddLast(listener);}
train
false
8,791
public Result getResult() {return result;}
[ "public", "Result", "getResult", "(", ")", "{", "return", "result", ";", "}" ]
public virtual RefUpdate.Result GetResult(){return result;}
train
false
8,792
public ListNamedQueriesResult listNamedQueries(ListNamedQueriesRequest request) {request = beforeClientExecution(request);return executeListNamedQueries(request);}
[ "public", "ListNamedQueriesResult", "listNamedQueries", "(", "ListNamedQueriesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListNamedQueries", "(", "request", ")", ";", "}" ]
public virtual ListNamedQueriesResponse ListNamedQueries(ListNamedQueriesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListNamedQueriesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListNamedQueriesResponseUnmarshaller.Instance;return Invoke<ListNamedQueriesResponse>(request, options);}
train
true
8,793
public URIish setPort(int n) {final URIish r = new URIish(this);r.port = n > 0 ? n : -1;return r;}
[ "public", "URIish", "setPort", "(", "int", "n", ")", "{", "final", "URIish", "r", "=", "new", "URIish", "(", "this", ")", ";", "r", ".", "port", "=", "n", ">", "0", "?", "n", ":", "-", "1", ";", "return", "r", ";", "}" ]
public virtual NGit.Transport.URIish SetPort(int n){NGit.Transport.URIish r = new NGit.Transport.URIish(this);r.port = n > 0 ? n : -1;return r;}
train
false
8,794
public void serialize(LittleEndianOutput out) {out.writeShort(_flags);}
[ "public", "void", "serialize", "(", "LittleEndianOutput", "out", ")", "{", "out", ".", "writeShort", "(", "_flags", ")", ";", "}" ]
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(_flags);}
train
false
8,795
public byte[] getBuffer() {return buf;}
[ "public", "byte", "[", "]", "getBuffer", "(", ")", "{", "return", "buf", ";", "}" ]
public virtual byte[] GetBuffer(){return buf;}
train
false
8,796
public String getSignerVersion() {return "1.0";}
[ "public", "String", "getSignerVersion", "(", ")", "{", "return", "\"1.0\"", ";", "}" ]
public override string GetSignerVersion(){return "1.0";}
train
false
8,797
public DBParameterGroup copyDBParameterGroup(CopyDBParameterGroupRequest request) {request = beforeClientExecution(request);return executeCopyDBParameterGroup(request);}
[ "public", "DBParameterGroup", "copyDBParameterGroup", "(", "CopyDBParameterGroupRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeCopyDBParameterGroup", "(", "request", ")", ";", "}" ]
public virtual CopyDBParameterGroupResponse CopyDBParameterGroup(CopyDBParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = CopyDBParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = CopyDBParameterGroupResponseUnmarshaller.Instance;return Invoke<CopyDBParameterGroupResponse>(request, options);}
train
true
8,798
public PackedObjectInfo getObject(int nth) {return entries[nth];}
[ "public", "PackedObjectInfo", "getObject", "(", "int", "nth", ")", "{", "return", "entries", "[", "nth", "]", ";", "}" ]
public virtual PackedObjectInfo GetObject(int nth){return entries[nth];}
train
false
8,799
public CreateUserSourceAccountRequest() {super("cr", "2016-06-07", "CreateUserSourceAccount", "cr");setUriPattern("/users/sourceAccount");setMethod(MethodType.PUT);}
[ "public", "CreateUserSourceAccountRequest", "(", ")", "{", "super", "(", "\"cr\"", ",", "\"2016-06-07\"", ",", "\"CreateUserSourceAccount\"", ",", "\"cr\"", ")", ";", "setUriPattern", "(", "\"/users/sourceAccount\"", ")", ";", "setMethod", "(", "MethodType", ".", "PUT", ")", ";", "}" ]
public CreateUserSourceAccountRequest(): base("cr", "2016-06-07", "CreateUserSourceAccount", "cr", "openAPI"){UriPattern = "/users/sourceAccount";Method = MethodType.PUT;}
train
false
8,800
public DeleteApplicationVpcConfigurationResult deleteApplicationVpcConfiguration(DeleteApplicationVpcConfigurationRequest request) {request = beforeClientExecution(request);return executeDeleteApplicationVpcConfiguration(request);}
[ "public", "DeleteApplicationVpcConfigurationResult", "deleteApplicationVpcConfiguration", "(", "DeleteApplicationVpcConfigurationRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDeleteApplicationVpcConfiguration", "(", "request", ")", ";", "}" ]
public virtual DeleteApplicationVpcConfigurationResponse DeleteApplicationVpcConfiguration(DeleteApplicationVpcConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteApplicationVpcConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteApplicationVpcConfigurationResponseUnmarshaller.Instance;return Invoke<DeleteApplicationVpcConfigurationResponse>(request, options);}
train
false
8,801
public final short[] array() {return protectedArray();}
[ "public", "final", "short", "[", "]", "array", "(", ")", "{", "return", "protectedArray", "(", ")", ";", "}" ]
public sealed override object array(){return protectedArray();}
train
false
8,802
public ByteBuffer putLong(int index, long value) {throw new ReadOnlyBufferException();}
[ "public", "ByteBuffer", "putLong", "(", "int", "index", ",", "long", "value", ")", "{", "throw", "new", "ReadOnlyBufferException", "(", ")", ";", "}" ]
public override java.nio.ByteBuffer putLong(int index, long value){throw new java.nio.ReadOnlyBufferException();}
train
false
8,803
public void removeSubject() {remove1stProperty(PropertyIDMap.PID_SUBJECT);}
[ "public", "void", "removeSubject", "(", ")", "{", "remove1stProperty", "(", "PropertyIDMap", ".", "PID_SUBJECT", ")", ";", "}" ]
public void RemoveSubject(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_SUBJECT);}
train
false
8,804
public BatchGetDeploymentGroupsResult batchGetDeploymentGroups(BatchGetDeploymentGroupsRequest request) {request = beforeClientExecution(request);return executeBatchGetDeploymentGroups(request);}
[ "public", "BatchGetDeploymentGroupsResult", "batchGetDeploymentGroups", "(", "BatchGetDeploymentGroupsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeBatchGetDeploymentGroups", "(", "request", ")", ";", "}" ]
public virtual BatchGetDeploymentGroupsResponse BatchGetDeploymentGroups(BatchGetDeploymentGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchGetDeploymentGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchGetDeploymentGroupsResponseUnmarshaller.Instance;return Invoke<BatchGetDeploymentGroupsResponse>(request, options);}
train
true
8,805
public DisassociateRepositoryResult disassociateRepository(DisassociateRepositoryRequest request) {request = beforeClientExecution(request);return executeDisassociateRepository(request);}
[ "public", "DisassociateRepositoryResult", "disassociateRepository", "(", "DisassociateRepositoryRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDisassociateRepository", "(", "request", ")", ";", "}" ]
public virtual DisassociateRepositoryResponse DisassociateRepository(DisassociateRepositoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateRepositoryRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateRepositoryResponseUnmarshaller.Instance;return Invoke<DisassociateRepositoryResponse>(request, options);}
train
false
8,806
public DescribeSpotPriceHistoryResult describeSpotPriceHistory() {return describeSpotPriceHistory(new DescribeSpotPriceHistoryRequest());}
[ "public", "DescribeSpotPriceHistoryResult", "describeSpotPriceHistory", "(", ")", "{", "return", "describeSpotPriceHistory", "(", "new", "DescribeSpotPriceHistoryRequest", "(", ")", ")", ";", "}" ]
public virtual DescribeSpotPriceHistoryResponse DescribeSpotPriceHistory(){return DescribeSpotPriceHistory(new DescribeSpotPriceHistoryRequest());}
train
false
8,807
public UpdateRepoSourceRepoRequest() {super("cr", "2016-06-07", "UpdateRepoSourceRepo", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/sourceRepo");setMethod(MethodType.POST);}
[ "public", "UpdateRepoSourceRepoRequest", "(", ")", "{", "super", "(", "\"cr\"", ",", "\"2016-06-07\"", ",", "\"UpdateRepoSourceRepo\"", ",", "\"cr\"", ")", ";", "setUriPattern", "(", "\"/repos/[RepoNamespace]/[RepoName]/sourceRepo\"", ")", ";", "setMethod", "(", "MethodType", ".", "POST", ")", ";", "}" ]
public UpdateRepoSourceRepoRequest(): base("cr", "2016-06-07", "UpdateRepoSourceRepo", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/sourceRepo";Method = MethodType.POST;}
train
false
8,808
public boolean isHidden() {if (path.isEmpty()) {return false;}return getName().startsWith(".");}
[ "public", "boolean", "isHidden", "(", ")", "{", "if", "(", "path", ".", "isEmpty", "(", ")", ")", "{", "return", "false", ";", "}", "return", "getName", "(", ")", ".", "startsWith", "(", "\".\"", ")", ";", "}" ]
public bool isHidden(){if (string.IsNullOrEmpty(path)){return false;}return getName().StartsWith(".");}
train
false
8,809
public PaneRecord(RecordInputStream in) {field_1_x = in.readShort();field_2_y = in.readShort();field_3_topRow = in.readShort();field_4_leftColumn = in.readShort();field_5_activePane = in.readShort();}
[ "public", "PaneRecord", "(", "RecordInputStream", "in", ")", "{", "field_1_x", "=", "in", ".", "readShort", "(", ")", ";", "field_2_y", "=", "in", ".", "readShort", "(", ")", ";", "field_3_topRow", "=", "in", ".", "readShort", "(", ")", ";", "field_4_leftColumn", "=", "in", ".", "readShort", "(", ")", ";", "field_5_activePane", "=", "in", ".", "readShort", "(", ")", ";", "}" ]
public PaneRecord(RecordInputStream in1){field_1_x = in1.ReadShort();field_2_y = in1.ReadShort();field_3_topRow = in1.ReadShort();field_4_leftColumn = in1.ReadShort();field_5_activePane = in1.ReadShort();}
train
false
8,810
public StartGameSessionPlacementResult startGameSessionPlacement(StartGameSessionPlacementRequest request) {request = beforeClientExecution(request);return executeStartGameSessionPlacement(request);}
[ "public", "StartGameSessionPlacementResult", "startGameSessionPlacement", "(", "StartGameSessionPlacementRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeStartGameSessionPlacement", "(", "request", ")", ";", "}" ]
public virtual StartGameSessionPlacementResponse StartGameSessionPlacement(StartGameSessionPlacementRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartGameSessionPlacementRequestMarshaller.Instance;options.ResponseUnmarshaller = StartGameSessionPlacementResponseUnmarshaller.Instance;return Invoke<StartGameSessionPlacementResponse>(request, options);}
train
true
8,811
public int getDFASize(int decision) {DFA decisionToDFA = atnSimulator.decisionToDFA[decision];return decisionToDFA.states.size();}
[ "public", "int", "getDFASize", "(", "int", "decision", ")", "{", "DFA", "decisionToDFA", "=", "atnSimulator", ".", "decisionToDFA", "[", "decision", "]", ";", "return", "decisionToDFA", ".", "states", ".", "size", "(", ")", ";", "}" ]
public int getDFASize(int decision){DFA decisionToDFA = atnSimulator.decisionToDFA[decision];return decisionToDFA.states.Count;}
train
false