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
6,475
public ShortBuffer get(short[] dst) {return get(dst, 0, dst.length);}
[ "public", "ShortBuffer", "get", "(", "short", "[", "]", "dst", ")", "{", "return", "get", "(", "dst", ",", "0", ",", "dst", ".", "length", ")", ";", "}" ]
public virtual java.nio.ShortBuffer get(short[] dst){return get(dst, 0, dst.Length);}
train
false
6,476
public GetMetricWidgetImageResult getMetricWidgetImage(GetMetricWidgetImageRequest request) {request = beforeClientExecution(request);return executeGetMetricWidgetImage(request);}
[ "public", "GetMetricWidgetImageResult", "getMetricWidgetImage", "(", "GetMetricWidgetImageRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeGetMetricWidgetImage", "(", "request", ")", ";", "}" ]
public virtual GetMetricWidgetImageResponse GetMetricWidgetImage(GetMetricWidgetImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetMetricWidgetImageRequestMarshaller.Instance;options.ResponseUnmarshaller = GetMetricWidgetImageResponseUnmarshaller.Instance;return Invoke<GetMetricWidge...
train
true
6,477
public UpdateVoiceConnectorGroupResult updateVoiceConnectorGroup(UpdateVoiceConnectorGroupRequest request) {request = beforeClientExecution(request);return executeUpdateVoiceConnectorGroup(request);}
[ "public", "UpdateVoiceConnectorGroupResult", "updateVoiceConnectorGroup", "(", "UpdateVoiceConnectorGroupRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeUpdateVoiceConnectorGroup", "(", "request", ")", ";", ...
public virtual UpdateVoiceConnectorGroupResponse UpdateVoiceConnectorGroup(UpdateVoiceConnectorGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateVoiceConnectorGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateVoiceConnectorGroupResponseUnmarshaller.Instance;ret...
train
false
6,478
public void add(SortField sortField) {map.put(sortField.getField(), sortField);}
[ "public", "void", "add", "(", "SortField", "sortField", ")", "{", "map", ".", "put", "(", "sortField", ".", "getField", "(", ")", ",", "sortField", ")", ";", "}" ]
public void Add(SortField sortField){map[sortField.Field] = sortField;}
train
false
6,479
public Daemon getDaemon() {return daemon;}
[ "public", "Daemon", "getDaemon", "(", ")", "{", "return", "daemon", ";", "}" ]
public virtual Daemon GetDaemon(){return daemon;}
train
false
6,480
public CreateVpcPeeringConnectionResult createVpcPeeringConnection(CreateVpcPeeringConnectionRequest request) {request = beforeClientExecution(request);return executeCreateVpcPeeringConnection(request);}
[ "public", "CreateVpcPeeringConnectionResult", "createVpcPeeringConnection", "(", "CreateVpcPeeringConnectionRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeCreateVpcPeeringConnection", "(", "request", ")", ";...
public virtual CreateVpcPeeringConnectionResponse CreateVpcPeeringConnection(CreateVpcPeeringConnectionRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVpcPeeringConnectionRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVpcPeeringConnectionResponseUnmarshaller.Instanc...
train
true
6,482
public DescribeExclusionsResult describeExclusions(DescribeExclusionsRequest request) {request = beforeClientExecution(request);return executeDescribeExclusions(request);}
[ "public", "DescribeExclusionsResult", "describeExclusions", "(", "DescribeExclusionsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeExclusions", "(", "request", ")", ";", "}" ]
public virtual DescribeExclusionsResponse DescribeExclusions(DescribeExclusionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeExclusionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeExclusionsResponseUnmarshaller.Instance;return Invoke<DescribeExclusionsRespon...
train
true
6,483
public SearchNetworkProfilesResult searchNetworkProfiles(SearchNetworkProfilesRequest request) {request = beforeClientExecution(request);return executeSearchNetworkProfiles(request);}
[ "public", "SearchNetworkProfilesResult", "searchNetworkProfiles", "(", "SearchNetworkProfilesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeSearchNetworkProfiles", "(", "request", ")", ";", "}" ]
public virtual SearchNetworkProfilesResponse SearchNetworkProfiles(SearchNetworkProfilesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SearchNetworkProfilesRequestMarshaller.Instance;options.ResponseUnmarshaller = SearchNetworkProfilesResponseUnmarshaller.Instance;return Invoke<SearchNet...
train
false
6,484
public LooseRef peel(ObjectIdRef newLeaf) {throw new UnsupportedOperationException();}
[ "public", "LooseRef", "peel", "(", "ObjectIdRef", "newLeaf", ")", "{", "throw", "new", "UnsupportedOperationException", "(", ")", ";", "}" ]
public RefDirectory.LooseRef Peel(ObjectIdRef newLeaf){throw new NGit.Errors.NotSupportedException();}
train
false
6,485
public void println(float f) {println(String.valueOf(f));}
[ "public", "void", "println", "(", "float", "f", ")", "{", "println", "(", "String", ".", "valueOf", "(", "f", ")", ")", ";", "}" ]
public virtual void println(float f){println(f.ToString());}
train
false
6,486
public PurchaseReservedInstancesOfferingRequest(String reservedInstancesOfferingId, Integer instanceCount) {setReservedInstancesOfferingId(reservedInstancesOfferingId);setInstanceCount(instanceCount);}
[ "public", "PurchaseReservedInstancesOfferingRequest", "(", "String", "reservedInstancesOfferingId", ",", "Integer", "instanceCount", ")", "{", "setReservedInstancesOfferingId", "(", "reservedInstancesOfferingId", ")", ";", "setInstanceCount", "(", "instanceCount", ")", ";", "...
public PurchaseReservedInstancesOfferingRequest(string reservedInstancesOfferingId, int instanceCount){_reservedInstancesOfferingId = reservedInstancesOfferingId;_instanceCount = instanceCount;}
train
false
6,487
public Set<String> getUntracked() {return Collections.unmodifiableSet(diff.getUntracked());}
[ "public", "Set", "<", "String", ">", "getUntracked", "(", ")", "{", "return", "Collections", ".", "unmodifiableSet", "(", "diff", ".", "getUntracked", "(", ")", ")", ";", "}" ]
public virtual ICollection<string> GetUntracked(){return Sharpen.Collections.UnmodifiableSet(diff.GetUntracked());}
train
false
6,488
public String getTag() {return tag;}
[ "public", "String", "getTag", "(", ")", "{", "return", "tag", ";", "}" ]
public virtual string GetTag(){return tag;}
train
false
6,489
public void buildFieldConfig(FieldConfig fieldConfig) {DateTools.Resolution dateRes = null;Map<CharSequence, DateTools.Resolution> dateResMap = this.config.get(ConfigurationKeys.FIELD_DATE_RESOLUTION_MAP);if (dateResMap != null) {dateRes = dateResMap.get(fieldConfig.getField());}if (dateRes == null) {dateRes = this.con...
[ "public", "void", "buildFieldConfig", "(", "FieldConfig", "fieldConfig", ")", "{", "DateTools", ".", "Resolution", "dateRes", "=", "null", ";", "Map", "<", "CharSequence", ",", "DateTools", ".", "Resolution", ">", "dateResMap", "=", "this", ".", "config", ".",...
public virtual void BuildFieldConfig(FieldConfig fieldConfig){DateTools.Resolution? dateRes = null;IDictionary<string, DateTools.Resolution?> dateResMap = this.config.Get(ConfigurationKeys.FIELD_DATE_RESOLUTION_MAP);if (dateResMap != null){dateResMap.TryGetValue(fieldConfig.Field, out dateRes);}if (dateRes == null){dat...
train
false
6,490
public String toFormulaString() {return String.valueOf(getValue());}
[ "public", "String", "toFormulaString", "(", ")", "{", "return", "String", ".", "valueOf", "(", "getValue", "(", ")", ")", ";", "}" ]
public override String ToFormulaString(){return Value.ToString(CultureInfo.InvariantCulture);}
train
false
6,491
public Bits getAllGroupHeads() {return matchingGroupHeads;}
[ "public", "Bits", "getAllGroupHeads", "(", ")", "{", "return", "matchingGroupHeads", ";", "}" ]
public virtual IBits GetAllGroupHeads(){return matchingGroupHeads;}
train
false
6,492
public int serialize( int offset, byte[] data, EscherSerializationListener listener ) {listener.beforeRecordSerialize( offset, getRecordId(), this );int pos = offset;LittleEndian.putShort( data, pos, getOptions() ); pos += 2;LittleEndian.putShort( data, pos, getRecordId() ); pos += 2;int remainingBytes = getRec...
[ "public", "int", "serialize", "(", "int", "offset", ",", "byte", "[", "]", "data", ",", "EscherSerializationListener", "listener", ")", "{", "listener", ".", "beforeRecordSerialize", "(", "offset", ",", "getRecordId", "(", ")", ",", "this", ")", ";", "int", ...
public override int Serialize(int offset, byte[] data, EscherSerializationListener listener){listener.BeforeRecordSerialize(offset, RecordId, this);int pos = offset;LittleEndian.PutShort(data, pos, Options); pos += 2;LittleEndian.PutShort(data, pos, RecordId); pos += 2;int remainingBytes = RecordSize - 8;LittleEndian.P...
train
false
6,493
public boolean add(E object) {return backingMap.put(object, Boolean.TRUE) == null;}
[ "public", "boolean", "add", "(", "E", "object", ")", "{", "return", "backingMap", ".", "put", "(", "object", ",", "Boolean", ".", "TRUE", ")", "==", "null", ";", "}" ]
public override bool add(E @object){return backingMap.put(@object, true) == null;}
train
false
6,494
public void setBinaryFileThreshold(int threshold) {this.binaryFileThreshold = threshold;}
[ "public", "void", "setBinaryFileThreshold", "(", "int", "threshold", ")", "{", "this", ".", "binaryFileThreshold", "=", "threshold", ";", "}" ]
public virtual void SetBinaryFileThreshold(int threshold){this.binaryFileThreshold = threshold;}
train
false
6,495
public void setParams(String params) {super.setParams(params);pauseMSec = (long) (1000.0*Float.parseFloat(params));}
[ "public", "void", "setParams", "(", "String", "params", ")", "{", "super", ".", "setParams", "(", "params", ")", ";", "pauseMSec", "=", "(", "long", ")", "(", "1000.0", "*", "Float", ".", "parseFloat", "(", "params", ")", ")", ";", "}" ]
public override void SetParams(string @params){base.SetParams(@params);pauseMSec = (long)(1000.0 * float.Parse(@params, CultureInfo.InvariantCulture));}
train
false
6,496
public PerfTask(PerfRunData runData) {this();this.runData = runData;Config config = runData.getConfig();this.maxDepthLogStart = config.get("task.max.depth.log",0);String logStepAtt = "log.step";String taskLogStepAtt = "log.step." + name;if (config.get(taskLogStepAtt, null) != null) {logStepAtt = taskLogStepAtt;}logStep...
[ "public", "PerfTask", "(", "PerfRunData", "runData", ")", "{", "this", "(", ")", ";", "this", ".", "runData", "=", "runData", ";", "Config", "config", "=", "runData", ".", "getConfig", "(", ")", ";", "this", ".", "maxDepthLogStart", "=", "config", ".", ...
public PerfTask(PerfRunData runData): this(){this.runData = runData;Config config = runData.Config;this.maxDepthLogStart = config.Get("task.max.depth.log", 0);string logStepAtt = "log.step";string taskLogStepAtt = "log.step." + name;if (config.Get(taskLogStepAtt, null) != null){logStepAtt = taskLogStepAtt;}m_logStep = ...
train
false
6,497
public void setMBPerSec(double mbPerSec) {this.mbPerSec = mbPerSec;minPauseCheckBytes = (long) ((MIN_PAUSE_CHECK_MSEC / 1000.0) * mbPerSec * 1024 * 1024);}
[ "public", "void", "setMBPerSec", "(", "double", "mbPerSec", ")", "{", "this", ".", "mbPerSec", "=", "mbPerSec", ";", "minPauseCheckBytes", "=", "(", "long", ")", "(", "(", "MIN_PAUSE_CHECK_MSEC", "/", "1000.0", ")", "*", "mbPerSec", "*", "1024", "*", "1024...
public override void SetMbPerSec(double mbPerSec){this.mbPerSec = mbPerSec;if (mbPerSec == 0)nsPerByte = 0;elsensPerByte = 1000000000.0 / (1024 * 1024 * mbPerSec);}
train
false
6,498
public ConfirmSubscriptionRequest(String topicArn, String token, String authenticateOnUnsubscribe) {setTopicArn(topicArn);setToken(token);setAuthenticateOnUnsubscribe(authenticateOnUnsubscribe);}
[ "public", "ConfirmSubscriptionRequest", "(", "String", "topicArn", ",", "String", "token", ",", "String", "authenticateOnUnsubscribe", ")", "{", "setTopicArn", "(", "topicArn", ")", ";", "setToken", "(", "token", ")", ";", "setAuthenticateOnUnsubscribe", "(", "authe...
public ConfirmSubscriptionRequest(string topicArn, string token, string authenticateOnUnsubscribe){_topicArn = topicArn;_token = token;_authenticateOnUnsubscribe = authenticateOnUnsubscribe;}
train
false
6,499
public String getHostName() {return hostName;}
[ "public", "String", "getHostName", "(", ")", "{", "return", "hostName", ";", "}" ]
public virtual string GetHostName(){return hostName;}
train
false
6,500
public StartMonitoringMemberResult startMonitoringMember(StartMonitoringMemberRequest request) {request = beforeClientExecution(request);return executeStartMonitoringMember(request);}
[ "public", "StartMonitoringMemberResult", "startMonitoringMember", "(", "StartMonitoringMemberRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeStartMonitoringMember", "(", "request", ")", ";", "}" ]
public virtual StartMonitoringMemberResponse StartMonitoringMember(StartMonitoringMemberRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartMonitoringMemberRequestMarshaller.Instance;options.ResponseUnmarshaller = StartMonitoringMemberResponseUnmarshaller.Instance;return Invoke<StartMoni...
train
false
6,501
public <T extends EscherProperty> T lookup( int propId ) {return (T)properties.stream().filter(p -> p.getPropertyNumber() == propId).findFirst().orElse(null);}
[ "public", "<", "T", "extends", "EscherProperty", ">", "T", "lookup", "(", "int", "propId", ")", "{", "return", "(", "T", ")", "properties", ".", "stream", "(", ")", ".", "filter", "(", "p", "->", "p", ".", "getPropertyNumber", "(", ")", "==", "propId...
public EscherProperty Lookup(int propId){foreach (EscherProperty prop in properties){if (prop.PropertyNumber == propId){return prop;}}return null;}
train
false
6,502
public boolean isExpectingOldObjectId() {return expectedOldObjectId != null;}
[ "public", "boolean", "isExpectingOldObjectId", "(", ")", "{", "return", "expectedOldObjectId", "!=", "null", ";", "}" ]
public virtual bool IsExpectingOldObjectId(){return expectedOldObjectId != null;}
train
false
6,504
public LazyAreaEval getColumn(int columnIndex) {if (columnIndex >= getWidth()) {throw new IllegalArgumentException("Invalid columnIndex " + columnIndex+ ". Allowable range is (0.." + getWidth() + ").");}int absColIx = getFirstColumn() + columnIndex;return new LazyAreaEval(getFirstRow(), absColIx, getLastRow(), absColI...
[ "public", "LazyAreaEval", "getColumn", "(", "int", "columnIndex", ")", "{", "if", "(", "columnIndex", ">=", "getWidth", "(", ")", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"Invalid columnIndex \"", "+", "columnIndex", "+", "\". Allowable range is...
public override TwoDEval GetColumn(int columnIndex){if (columnIndex >= Width){throw new ArgumentException("Invalid columnIndex " + columnIndex+ ". Allowable range is (0.." + Width + ").");}int absColIx = FirstColumn + columnIndex;return new LazyAreaEval(FirstRow, absColIx, LastRow, absColIx, _evaluator);}
train
false
6,505
public BytesRef next() throws IOException {if (done) {return null;}boolean success = false;BytesRef result;try {String line;if ((line = in.readLine()) != null) {spare.copyChars(line);result = spare.get();} else {done = true;IOUtils.close(in);result = null;}success = true;} finally {if (!success) {IOUtils.closeWhileHand...
[ "public", "BytesRef", "next", "(", ")", "throws", "IOException", "{", "if", "(", "done", ")", "{", "return", "null", ";", "}", "boolean", "success", "=", "false", ";", "BytesRef", "result", ";", "try", "{", "String", "line", ";", "if", "(", "(", "lin...
public BytesRef Next(){if (done){return null;}bool success = false;BytesRef result;try{string line;if ((line = outerInstance.@in.ReadLine()) != null){spare.CopyChars(line);result = spare;}else{done = true;IOUtils.Dispose(outerInstance.@in);result = null;}success = true;}finally{if (!success){IOUtils.DisposeWhileHandlin...
train
false
6,506
public boolean shouldBeRecursive() {return path.shouldBeRecursive();}
[ "public", "boolean", "shouldBeRecursive", "(", ")", "{", "return", "path", ".", "shouldBeRecursive", "(", ")", ";", "}" ]
public override bool ShouldBeRecursive(){return path.ShouldBeRecursive();}
train
false
6,507
public String toString() {return getClass().getSimpleName() + "(compressionMode=" + compressionMode+ ", chunkSize=" + chunkSize + ", blockSize=" + blockSize + ")";}
[ "public", "String", "toString", "(", ")", "{", "return", "getClass", "(", ")", ".", "getSimpleName", "(", ")", "+", "\"(compressionMode=\"", "+", "compressionMode", "+", "\", chunkSize=\"", "+", "chunkSize", "+", "\", blockSize=\"", "+", "blockSize", "+", "\")\"...
public override string ToString(){return this.GetType().Name + "(compressionMode=" + compressionMode + ", chunkSize=" + chunkSize + ")";}
train
false
6,508
public ResourcePendingMaintenanceActions applyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request) {request = beforeClientExecution(request);return executeApplyPendingMaintenanceAction(request);}
[ "public", "ResourcePendingMaintenanceActions", "applyPendingMaintenanceAction", "(", "ApplyPendingMaintenanceActionRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeApplyPendingMaintenanceAction", "(", "request", ...
public virtual ApplyPendingMaintenanceActionResponse ApplyPendingMaintenanceAction(ApplyPendingMaintenanceActionRequest request){var options = new InvokeOptions();options.RequestMarshaller = ApplyPendingMaintenanceActionRequestMarshaller.Instance;options.ResponseUnmarshaller = ApplyPendingMaintenanceActionResponseUnmar...
train
true
6,509
public boolean startsWith(AbbreviatedObjectId abbr) {return abbr.prefixCompare(this) == 0;}
[ "public", "boolean", "startsWith", "(", "AbbreviatedObjectId", "abbr", ")", "{", "return", "abbr", ".", "prefixCompare", "(", "this", ")", "==", "0", ";", "}" ]
public virtual bool StartsWith(AbbreviatedObjectId abbr){return abbr.PrefixCompare(this) == 0;}
train
false
6,510
public SerializingRecordVisitor(byte[] data, int startOffset) {_data = data;_startOffset = startOffset;_countBytesWritten = 0;}
[ "public", "SerializingRecordVisitor", "(", "byte", "[", "]", "data", ",", "int", "startOffset", ")", "{", "_data", "=", "data", ";", "_startOffset", "=", "startOffset", ";", "_countBytesWritten", "=", "0", ";", "}" ]
public SerializingRecordVisitor(byte[] data, int startOffset){_data = data;_startOffset = startOffset;_countBytesWritten = 0;}
train
false
6,511
public static TreeFilter createFromStrings(Collection<String> paths) {if (paths.isEmpty())throw new IllegalArgumentException(JGitText.get().atLeastOnePathIsRequired);final PathFilter[] p = new PathFilter[paths.size()];int i = 0;for (String s : paths)p[i++] = PathFilter.create(s);return create(p);}
[ "public", "static", "TreeFilter", "createFromStrings", "(", "Collection", "<", "String", ">", "paths", ")", "{", "if", "(", "paths", ".", "isEmpty", "(", ")", ")", "throw", "new", "IllegalArgumentException", "(", "JGitText", ".", "get", "(", ")", ".", "atL...
public static TreeFilter CreateFromStrings(ICollection<string> paths){if (paths.IsEmpty()){throw new ArgumentException(JGitText.Get().atLeastOnePathIsRequired);}PathFilter[] p = new PathFilter[paths.Count];int i = 0;foreach (string s in paths){p[i++] = PathFilter.Create(s);}return Create(p);}
train
false
6,512
public void serialize(LittleEndianOutput out) {out.writeShort(getDefaultCountry());out.writeShort(getCurrentCountry());}
[ "public", "void", "serialize", "(", "LittleEndianOutput", "out", ")", "{", "out", ".", "writeShort", "(", "getDefaultCountry", "(", ")", ")", ";", "out", ".", "writeShort", "(", "getCurrentCountry", "(", ")", ")", ";", "}" ]
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(DefaultCountry);out1.WriteShort(CurrentCountry);}
train
false
6,514
public CellFormatter(String format) {this(LocaleUtil.getUserLocale(), format);}
[ "public", "CellFormatter", "(", "String", "format", ")", "{", "this", "(", "LocaleUtil", ".", "getUserLocale", "(", ")", ",", "format", ")", ";", "}" ]
public CellFormatter(String format){this.format = format;}
train
false
6,515
public ObjectId getResultTreeId() {return resultTree;}
[ "public", "ObjectId", "getResultTreeId", "(", ")", "{", "return", "resultTree", ";", "}" ]
public override ObjectId GetResultTreeId(){return resultTree;}
train
false
6,516
public DrillDownQuery clone() {return new DrillDownQuery(config, baseQuery, dimQueries, drillDownDims);}
[ "public", "DrillDownQuery", "clone", "(", ")", "{", "return", "new", "DrillDownQuery", "(", "config", ",", "baseQuery", ",", "dimQueries", ",", "drillDownDims", ")", ";", "}" ]
public override object Clone(){return new DrillDownQuery(config, query, drillDownDims);}
train
false
6,517
public final ShortBuffer put(short[] src, int srcOffset, int shortCount) {throw new ReadOnlyBufferException();}
[ "public", "final", "ShortBuffer", "put", "(", "short", "[", "]", "src", ",", "int", "srcOffset", ",", "int", "shortCount", ")", "{", "throw", "new", "ReadOnlyBufferException", "(", ")", ";", "}" ]
public sealed override java.nio.ShortBuffer put(short[] src, int srcOffset, int shortCount){throw new java.nio.ReadOnlyBufferException();}
train
false
6,518
public final void writeLong(long val) throws IOException {Memory.pokeLong(scratch, 0, val, ByteOrder.BIG_ENDIAN);write(scratch, 0, SizeOf.LONG);}
[ "public", "final", "void", "writeLong", "(", "long", "val", ")", "throws", "IOException", "{", "Memory", ".", "pokeLong", "(", "scratch", ",", "0", ",", "val", ",", "ByteOrder", ".", "BIG_ENDIAN", ")", ";", "write", "(", "scratch", ",", "0", ",", "Size...
public virtual void writeLong(long val){throw new System.NotImplementedException();}
train
true
6,519
public AuthorizeSecurityGroupEgressResult authorizeSecurityGroupEgress(AuthorizeSecurityGroupEgressRequest request) {request = beforeClientExecution(request);return executeAuthorizeSecurityGroupEgress(request);}
[ "public", "AuthorizeSecurityGroupEgressResult", "authorizeSecurityGroupEgress", "(", "AuthorizeSecurityGroupEgressRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeAuthorizeSecurityGroupEgress", "(", "request", "...
public virtual AuthorizeSecurityGroupEgressResponse AuthorizeSecurityGroupEgress(AuthorizeSecurityGroupEgressRequest request){var options = new InvokeOptions();options.RequestMarshaller = AuthorizeSecurityGroupEgressRequestMarshaller.Instance;options.ResponseUnmarshaller = AuthorizeSecurityGroupEgressResponseUnmarshall...
train
true
6,520
public void add(E object) {throw new UnsupportedOperationException();}
[ "public", "void", "add", "(", "E", "object", ")", "{", "throw", "new", "UnsupportedOperationException", "(", ")", ";", "}" ]
public virtual void add(E @object){throw new System.NotSupportedException();}
train
false
6,521
public static String getPOSTranslation(String s) {return posTranslations.get(s);}
[ "public", "static", "String", "getPOSTranslation", "(", "String", "s", ")", "{", "return", "posTranslations", ".", "get", "(", "s", ")", ";", "}" ]
public static string GetPOSTranslation(string s){string result;posTranslations.TryGetValue(s, out result);return result;}
train
false
6,522
public AnalyticsTagPredicate(Tag tag) {this.tag = tag;}
[ "public", "AnalyticsTagPredicate", "(", "Tag", "tag", ")", "{", "this", ".", "tag", "=", "tag", ";", "}" ]
public AnalyticsTagPredicate(Tag tag){this.tag = tag;}
train
false
6,523
public String toInfoString(Parser recognizer) {List<String> rules = recognizer.getRuleInvocationStack(this);Collections.reverse(rules);return "ParserRuleContext"+rules+"{" +"start=" + start +", stop=" + stop +'}';}
[ "public", "String", "toInfoString", "(", "Parser", "recognizer", ")", "{", "List", "<", "String", ">", "rules", "=", "recognizer", ".", "getRuleInvocationStack", "(", "this", ")", ";", "Collections", ".", "reverse", "(", "rules", ")", ";", "return", "\"Parse...
public virtual string ToInfoString(Parser recognizer){List<string> rules = new List<string>(recognizer.GetRuleInvocationStack(this));rules.Reverse();return "ParserRuleContext" + rules + "{" + "start=" + _start + ", stop=" + _stop + '}';}
train
false
6,524
public CharBuffer put(int index, char c) {checkIndex(index);backingArray[offset + index] = c;return this;}
[ "public", "CharBuffer", "put", "(", "int", "index", ",", "char", "c", ")", "{", "checkIndex", "(", "index", ")", ";", "backingArray", "[", "offset", "+", "index", "]", "=", "c", ";", "return", "this", ";", "}" ]
public override java.nio.CharBuffer put(int index, char c){checkIndex(index);backingArray[offset + index] = c;return this;}
train
false
6,525
public CreateComponentResult createComponent(CreateComponentRequest request) {request = beforeClientExecution(request);return executeCreateComponent(request);}
[ "public", "CreateComponentResult", "createComponent", "(", "CreateComponentRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeCreateComponent", "(", "request", ")", ";", "}" ]
public virtual CreateComponentResponse CreateComponent(CreateComponentRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateComponentRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateComponentResponseUnmarshaller.Instance;return Invoke<CreateComponentResponse>(request, optio...
train
false
6,526
public RuleWithSuffixExceptions(String suffix, int min, String replacement,String[] exceptions) {super(suffix, min, replacement);for (int i = 0; i < exceptions.length; i++) {if (!exceptions[i].endsWith(suffix))throw new RuntimeException("warning: useless exception '" + exceptions[i] + "' does not end with '" + suffix +...
[ "public", "RuleWithSuffixExceptions", "(", "String", "suffix", ",", "int", "min", ",", "String", "replacement", ",", "String", "[", "]", "exceptions", ")", "{", "super", "(", "suffix", ",", "min", ",", "replacement", ")", ";", "for", "(", "int", "i", "="...
public RuleWithSuffixExceptions(string suffix, int min, string replacement, string[] exceptions) : base(suffix, min, replacement){for (int i = 0; i < exceptions.Length; i++){if (!exceptions[i].EndsWith(suffix, StringComparison.Ordinal)){throw new Exception("warning: useless exception '" + exceptions[i] + "' does not en...
train
false
6,527
public DescribeVpnGatewaysResult describeVpnGateways(DescribeVpnGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeVpnGateways(request);}
[ "public", "DescribeVpnGatewaysResult", "describeVpnGateways", "(", "DescribeVpnGatewaysRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeVpnGateways", "(", "request", ")", ";", "}" ]
public virtual DescribeVpnGatewaysResponse DescribeVpnGateways(DescribeVpnGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeVpnGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeVpnGatewaysResponseUnmarshaller.Instance;return Invoke<DescribeVpnGateways...
train
true
6,528
public HSSFClientAnchor(EscherClientAnchorRecord escherClientAnchorRecord) {this._escherClientAnchor = escherClientAnchorRecord;}
[ "public", "HSSFClientAnchor", "(", "EscherClientAnchorRecord", "escherClientAnchorRecord", ")", "{", "this", ".", "_escherClientAnchor", "=", "escherClientAnchorRecord", ";", "}" ]
public HSSFClientAnchor(EscherClientAnchorRecord escherClientAnchorRecord){this._escherClientAnchor = escherClientAnchorRecord;}
train
false
6,529
public void stopNow() {stopNow = true;}
[ "public", "void", "stopNow", "(", ")", "{", "stopNow", "=", "true", ";", "}" ]
public virtual void StopNow(){stopNow = true;}
train
false
6,530
public String toString() {return "FooterKey[" + name + "]";}
[ "public", "String", "toString", "(", ")", "{", "return", "\"FooterKey[\"", "+", "name", "+", "\"]\"", ";", "}" ]
public override string ToString(){return "FooterKey[" + name + "]";}
train
false
6,531
public GetRelationalDatabasesResult getRelationalDatabases(GetRelationalDatabasesRequest request) {request = beforeClientExecution(request);return executeGetRelationalDatabases(request);}
[ "public", "GetRelationalDatabasesResult", "getRelationalDatabases", "(", "GetRelationalDatabasesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeGetRelationalDatabases", "(", "request", ")", ";", "}" ]
public virtual GetRelationalDatabasesResponse GetRelationalDatabases(GetRelationalDatabasesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRelationalDatabasesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRelationalDatabasesResponseUnmarshaller.Instance;return Invoke<GetR...
train
true
6,532
public int compareTo(Revision o) {IndexRevision other = (IndexRevision) o;return commit.compareTo(other.commit);}
[ "public", "int", "compareTo", "(", "Revision", "o", ")", "{", "IndexRevision", "other", "=", "(", "IndexRevision", ")", "o", ";", "return", "commit", ".", "compareTo", "(", "other", ".", "commit", ")", ";", "}" ]
public virtual int CompareTo(IRevision other){IndexRevision or = (IndexRevision)other;return commit.CompareTo(or.commit);}
train
false
6,533
public PredPrediction(SemanticContext pred, int alt) {this.alt = alt;this.pred = pred;}
[ "public", "PredPrediction", "(", "SemanticContext", "pred", ",", "int", "alt", ")", "{", "this", ".", "alt", "=", "alt", ";", "this", ".", "pred", "=", "pred", ";", "}" ]
public PredPrediction(SemanticContext pred, int alt){this.alt = alt;this.pred = pred;}
train
false
6,534
public ListMeetingTagsResult listMeetingTags(ListMeetingTagsRequest request) {request = beforeClientExecution(request);return executeListMeetingTags(request);}
[ "public", "ListMeetingTagsResult", "listMeetingTags", "(", "ListMeetingTagsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListMeetingTags", "(", "request", ")", ";", "}" ]
public virtual ListMeetingTagsResponse ListMeetingTags(ListMeetingTagsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListMeetingTagsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListMeetingTagsResponseUnmarshaller.Instance;return Invoke<ListMeetingTagsResponse>(request, optio...
train
false
6,535
public TokenStream create(TokenStream input) {return new NorwegianMinimalStemFilter(input, flags);}
[ "public", "TokenStream", "create", "(", "TokenStream", "input", ")", "{", "return", "new", "NorwegianMinimalStemFilter", "(", "input", ",", "flags", ")", ";", "}" ]
public override TokenStream Create(TokenStream input){return new NorwegianMinimalStemFilter(input, flags);}
train
false
6,536
public ImportInstanceResult importInstance(ImportInstanceRequest request) {request = beforeClientExecution(request);return executeImportInstance(request);}
[ "public", "ImportInstanceResult", "importInstance", "(", "ImportInstanceRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeImportInstance", "(", "request", ")", ";", "}" ]
public virtual ImportInstanceResponse ImportInstance(ImportInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = ImportInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = ImportInstanceResponseUnmarshaller.Instance;return Invoke<ImportInstanceResponse>(request, options);}
train
true
6,537
public void setCodePage(CodepageRecord codepage) {this.codepage = codepage;}
[ "public", "void", "setCodePage", "(", "CodepageRecord", "codepage", ")", "{", "this", ".", "codepage", "=", "codepage", ";", "}" ]
public void SetCodePage(CodepageRecord codepage){this.codepage = codepage;}
train
false
6,538
@Override public Collection<V> values() {Collection<V> vs = values;return (vs != null) ? vs : (values = new Values());}
[ "@", "Override", "public", "Collection", "<", "V", ">", "values", "(", ")", "{", "Collection", "<", "V", ">", "vs", "=", "values", ";", "return", "(", "vs", "!=", "null", ")", "?", "vs", ":", "(", "values", "=", "new", "Values", "(", ")", ")", ...
public override java.util.Collection<V> values(){java.util.Collection<V> vs = _values;return (vs != null) ? vs : (_values = new java.util.HashMap<K, V>.Values(this));}
train
true
6,539
public UpdateRulesOfIpGroupResult updateRulesOfIpGroup(UpdateRulesOfIpGroupRequest request) {request = beforeClientExecution(request);return executeUpdateRulesOfIpGroup(request);}
[ "public", "UpdateRulesOfIpGroupResult", "updateRulesOfIpGroup", "(", "UpdateRulesOfIpGroupRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeUpdateRulesOfIpGroup", "(", "request", ")", ";", "}" ]
public virtual UpdateRulesOfIpGroupResponse UpdateRulesOfIpGroup(UpdateRulesOfIpGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateRulesOfIpGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateRulesOfIpGroupResponseUnmarshaller.Instance;return Invoke<UpdateRulesOfI...
train
true
6,540
public String toString() {return "OneOrMoreOutputs(" + outputs + ")";}
[ "public", "String", "toString", "(", ")", "{", "return", "\"OneOrMoreOutputs(\"", "+", "outputs", "+", "\")\"", ";", "}" ]
public override string ToString(){return "OneOrMoreOutputs(" + outputs + ")";}
train
false
6,541
public static TreeFilter create(TreeFilter a, TreeFilter b) {if (a == ALL || b == ALL)return ALL;return new Binary(a, b);}
[ "public", "static", "TreeFilter", "create", "(", "TreeFilter", "a", ",", "TreeFilter", "b", ")", "{", "if", "(", "a", "==", "ALL", "||", "b", "==", "ALL", ")", "return", "ALL", ";", "return", "new", "Binary", "(", "a", ",", "b", ")", ";", "}" ]
public static TreeFilter Create(TreeFilter a, TreeFilter b){if (a == ALL || b == ALL){return ALL;}return new OrTreeFilter.Binary(a, b);}
train
false
6,542
public UntagQueueResult untagQueue(UntagQueueRequest request) {request = beforeClientExecution(request);return executeUntagQueue(request);}
[ "public", "UntagQueueResult", "untagQueue", "(", "UntagQueueRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeUntagQueue", "(", "request", ")", ";", "}" ]
public virtual UntagQueueResponse UntagQueue(UntagQueueRequest request){var options = new InvokeOptions();options.RequestMarshaller = UntagQueueRequestMarshaller.Instance;options.ResponseUnmarshaller = UntagQueueResponseUnmarshaller.Instance;return Invoke<UntagQueueResponse>(request, options);}
train
true
6,543
public final double getDouble(int index) {return Double.longBitsToDouble(getLong(index));}
[ "public", "final", "double", "getDouble", "(", "int", "index", ")", "{", "return", "Double", ".", "longBitsToDouble", "(", "getLong", "(", "index", ")", ")", ";", "}" ]
public sealed override double getDouble(int index){return Sharpen.Util.LongBitsToDouble(getLong(index));}
train
false
6,544
public V next() {return entryIterator.next().getValue();}
[ "public", "V", "next", "(", ")", "{", "return", "entryIterator", ".", "next", "(", ")", ".", "getValue", "(", ")", ";", "}" ]
public override V next(){return this.nextEntry().value;}
train
false
6,545
public IntervalSet(int... els) {if ( els==null ) {intervals = new ArrayList<Interval>(2); }else {intervals = new ArrayList<Interval>(els.length);for (int e : els) add(e);}}
[ "public", "IntervalSet", "(", "int", "...", "els", ")", "{", "if", "(", "els", "==", "null", ")", "{", "intervals", "=", "new", "ArrayList", "<", "Interval", ">", "(", "2", ")", ";", "}", "else", "{", "intervals", "=", "new", "ArrayList", "<", "Int...
public IntervalSet(params int[] els){if (els == null){intervals = new ArrayList<Interval>(2);}else{intervals = new ArrayList<Interval>(els.Length);foreach (int e in els){Add(e);}}}
train
false
6,546
public void dumpDeadEndConfigs(NoViableAltException nvae) {System.err.println("dead end configs: ");for (ATNConfig c : nvae.getDeadEndConfigs()) {String trans = "no edges";if ( c.state.getNumberOfTransitions()>0 ) {Transition t = c.state.transition(0);if ( t instanceof AtomTransition) {AtomTransition at = (AtomTransiti...
[ "public", "void", "dumpDeadEndConfigs", "(", "NoViableAltException", "nvae", ")", "{", "System", ".", "err", ".", "println", "(", "\"dead end configs: \"", ")", ";", "for", "(", "ATNConfig", "c", ":", "nvae", ".", "getDeadEndConfigs", "(", ")", ")", "{", "St...
public void DumpDeadEndConfigs(NoViableAltException nvae){System.Console.Error.WriteLine("dead end configs: ");foreach (ATNConfig c in nvae.DeadEndConfigs.configs){String trans = "no edges";if (c.state.NumberOfTransitions > 0){Transition t = c.state.Transition(0);if (t is AtomTransition){AtomTransition at = (AtomTransi...
train
false
6,547
public String toString() {StringBuilder sb = new StringBuilder();sb.append("[SUPBOOK ");if(isExternalReferences()) {sb.append("External References]\n");sb.append(" .url = ").append(getURL()).append("\n");sb.append(" .nSheets = ").append(field_1_number_of_sheets).append("\n");for (String sheetname : field_3_sheet_na...
[ "public", "String", "toString", "(", ")", "{", "StringBuilder", "sb", "=", "new", "StringBuilder", "(", ")", ";", "sb", ".", "append", "(", "\"[SUPBOOK \"", ")", ";", "if", "(", "isExternalReferences", "(", ")", ")", "{", "sb", ".", "append", "(", "\"E...
public override String ToString(){StringBuilder sb = new StringBuilder();sb.Append("[SUPBOOK ");if (IsExternalReferences){sb.Append("External References]\n");sb.Append(" .url = ").Append(field_2_encoded_url).Append("\n");sb.Append(" .nSheets = ").Append(field_1_number_of_sheets).Append("\n");foreach (String sheetna...
train
false
6,548
public String toString() {StringBuilder sb = new StringBuilder(256);sb.append("[ftLbsData]\n");sb.append(" .unknownShort1 =").append(HexDump.shortToHex(_cbFContinued)).append("\n");sb.append(" .formula = ").append('\n');if(_linkPtg != null) {sb.append(_linkPtg).append(_linkPtg.getRVAType()).append('\n');}s...
[ "public", "String", "toString", "(", ")", "{", "StringBuilder", "sb", "=", "new", "StringBuilder", "(", "256", ")", ";", "sb", ".", "append", "(", "\"[ftLbsData]\\n\"", ")", ";", "sb", ".", "append", "(", "\" .unknownShort1 =\"", ")", ".", "append", "("...
public override String ToString(){StringBuilder sb = new StringBuilder(256);sb.Append("[ftLbsData]\n");sb.Append(" .unknownshort1 =").Append(HexDump.ShortToHex(_cbFContinued)).Append("\n");sb.Append(" .formula = ").Append('\n');sb.Append(_linkPtg.ToString()).Append(_linkPtg.RVAType).Append('\n');sb.Append(...
train
false
6,549
public static QualityStats average(QualityStats[] stats) {QualityStats avg = new QualityStats(0,0);if (stats.length==0) {return avg;}int m = 0; for (int i=0; i<stats.length; i++) {avg.searchTime += stats[i].searchTime;avg.docNamesExtractTime += stats[i].docNamesExtractTime;if (stats[i].maxGoodPoints>0) {m++;avg.numGood...
[ "public", "static", "QualityStats", "average", "(", "QualityStats", "[", "]", "stats", ")", "{", "QualityStats", "avg", "=", "new", "QualityStats", "(", "0", ",", "0", ")", ";", "if", "(", "stats", ".", "length", "==", "0", ")", "{", "return", "avg", ...
public static QualityStats Average(QualityStats[] stats){QualityStats avg = new QualityStats(0, 0);if (stats.Length == 0){return avg;}int m = 0; for (int i = 0; i < stats.Length; i++){avg.searchTime += stats[i].searchTime;avg.docNamesExtractTime += stats[i].docNamesExtractTime;if (stats[i].maxGoodPoints > 0){m++;avg.nu...
train
false
6,550
public String getUser() {return Host.this.getUser();}
[ "public", "String", "getUser", "(", ")", "{", "return", "Host", ".", "this", ".", "getUser", "(", ")", ";", "}" ]
public virtual string GetUser(){return user;}
train
false
6,551
public int[] clear() {boost = null;termState = null;return super.clear();}
[ "public", "int", "[", "]", "clear", "(", ")", "{", "boost", "=", "null", ";", "termState", "=", "null", ";", "return", "super", ".", "clear", "(", ")", ";", "}" ]
public override int[] Clear(){boost = null;termState = null;return base.Clear();}
train
false
6,552
public DescribeApplicationSnapshotResult describeApplicationSnapshot(DescribeApplicationSnapshotRequest request) {request = beforeClientExecution(request);return executeDescribeApplicationSnapshot(request);}
[ "public", "DescribeApplicationSnapshotResult", "describeApplicationSnapshot", "(", "DescribeApplicationSnapshotRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeApplicationSnapshot", "(", "request", ")", ...
public virtual DescribeApplicationSnapshotResponse DescribeApplicationSnapshot(DescribeApplicationSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeApplicationSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeApplicationSnapshotResponseUnmarshaller.In...
train
true
6,553
public FormatAndBits(Format format, int bitsPerValue) {this.format = format;this.bitsPerValue = bitsPerValue;}
[ "public", "FormatAndBits", "(", "Format", "format", ",", "int", "bitsPerValue", ")", "{", "this", ".", "format", "=", "format", ";", "this", ".", "bitsPerValue", "=", "bitsPerValue", ";", "}" ]
public FormatAndBits(Format format, int bitsPerValue){this.Format = format;this.BitsPerValue = bitsPerValue;}
train
false
6,554
public HSSFName getNameAt(int nameIndex) {int nNames = names.size();if (nNames < 1) {throw new IllegalStateException("There are no defined names in this workbook");}if (nameIndex < 0 || nameIndex > nNames) {throw new IllegalArgumentException("Specified name index " + nameIndex+ " is outside the allowable range (0.." + ...
[ "public", "HSSFName", "getNameAt", "(", "int", "nameIndex", ")", "{", "int", "nNames", "=", "names", ".", "size", "(", ")", ";", "if", "(", "nNames", "<", "1", ")", "{", "throw", "new", "IllegalStateException", "(", "\"There are no defined names in this workbo...
public NPOI.SS.UserModel.IName GetNameAt(int nameIndex){int nNames = names.Count;if (nNames < 1){throw new InvalidOperationException("There are no defined names in this workbook");}if (nameIndex < 0 || nameIndex > nNames){throw new ArgumentOutOfRangeException("Specified name index " + nameIndex+ " is outside the allowa...
train
false
6,555
public void fromString(String str) {if (str.length() != Constants.OBJECT_ID_STRING_LENGTH)throw new IllegalArgumentException(MessageFormat.format(JGitText.get().invalidId, str));fromHexString(Constants.encodeASCII(str), 0);}
[ "public", "void", "fromString", "(", "String", "str", ")", "{", "if", "(", "str", ".", "length", "(", ")", "!=", "Constants", ".", "OBJECT_ID_STRING_LENGTH", ")", "throw", "new", "IllegalArgumentException", "(", "MessageFormat", ".", "format", "(", "JGitText",...
public virtual void FromString(string str){if (str.Length != Constants.OBJECT_ID_STRING_LENGTH){throw new ArgumentException(MessageFormat.Format(JGitText.Get().invalidId, str));}FromHexString(Constants.EncodeASCII(str), 0);}
train
false
6,556
public DescribeTableRestoreStatusResult describeTableRestoreStatus(DescribeTableRestoreStatusRequest request) {request = beforeClientExecution(request);return executeDescribeTableRestoreStatus(request);}
[ "public", "DescribeTableRestoreStatusResult", "describeTableRestoreStatus", "(", "DescribeTableRestoreStatusRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeTableRestoreStatus", "(", "request", ")", ";...
public virtual DescribeTableRestoreStatusResponse DescribeTableRestoreStatus(DescribeTableRestoreStatusRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTableRestoreStatusRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTableRestoreStatusResponseUnmarshaller.Instanc...
train
true
6,557
public Edit(int as, int ae, int bs, int be) {beginA = as;endA = ae;beginB = bs;endB = be;}
[ "public", "Edit", "(", "int", "as", ",", "int", "ae", ",", "int", "bs", ",", "int", "be", ")", "{", "beginA", "=", "as", ";", "endA", "=", "ae", ";", "beginB", "=", "bs", ";", "endB", "=", "be", ";", "}" ]
public Edit(int @as, int ae, int bs, int be){beginA = @as;endA = ae;beginB = bs;endB = be;}
train
false
6,558
public UpdateDomainEndpointOptionsResult updateDomainEndpointOptions(UpdateDomainEndpointOptionsRequest request) {request = beforeClientExecution(request);return executeUpdateDomainEndpointOptions(request);}
[ "public", "UpdateDomainEndpointOptionsResult", "updateDomainEndpointOptions", "(", "UpdateDomainEndpointOptionsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeUpdateDomainEndpointOptions", "(", "request", ")", ...
public virtual UpdateDomainEndpointOptionsResponse UpdateDomainEndpointOptions(UpdateDomainEndpointOptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDomainEndpointOptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDomainEndpointOptionsResponseUnmarshaller.In...
train
false
6,560
public ParseTreePattern compileParseTreePattern(String pattern, int patternRuleIndex,Lexer lexer){ParseTreePatternMatcher m = new ParseTreePatternMatcher(lexer, this);return m.compile(pattern, patternRuleIndex);}
[ "public", "ParseTreePattern", "compileParseTreePattern", "(", "String", "pattern", ",", "int", "patternRuleIndex", ",", "Lexer", "lexer", ")", "{", "ParseTreePatternMatcher", "m", "=", "new", "ParseTreePatternMatcher", "(", "lexer", ",", "this", ")", ";", "return", ...
public virtual ParseTreePattern CompileParseTreePattern(string pattern, int patternRuleIndex, Lexer lexer){ParseTreePatternMatcher m = new ParseTreePatternMatcher(lexer, this);return m.Compile(pattern, patternRuleIndex);}
train
false
6,561
public MalformedInputException(int length) {this.inputLength = length;}
[ "public", "MalformedInputException", "(", "int", "length", ")", "{", "this", ".", "inputLength", "=", "length", ";", "}" ]
public MalformedInputException(int length){this.inputLength = length;}
train
false
6,562
public void reset() {upto = 0;in.reset();}
[ "public", "void", "reset", "(", ")", "{", "upto", "=", "0", ";", "in", ".", "reset", "(", ")", ";", "}" ]
public virtual void Reset(){upto = 0;@in.Reset();}
train
false
6,563
public String toString() {return name;}
[ "public", "String", "toString", "(", ")", "{", "return", "name", ";", "}" ]
public override string ToString(){return name;}
train
false
6,564
public DeletePhotoStoreRequest() {super("CloudPhoto", "2017-07-11", "DeletePhotoStore", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
[ "public", "DeletePhotoStoreRequest", "(", ")", "{", "super", "(", "\"CloudPhoto\"", ",", "\"2017-07-11\"", ",", "\"DeletePhotoStore\"", ",", "\"cloudphoto\"", ")", ";", "setProtocol", "(", "ProtocolType", ".", "HTTPS", ")", ";", "}" ]
public DeletePhotoStoreRequest(): base("CloudPhoto", "2017-07-11", "DeletePhotoStore", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
train
false
6,565
public GlobalCluster createGlobalCluster(CreateGlobalClusterRequest request) {request = beforeClientExecution(request);return executeCreateGlobalCluster(request);}
[ "public", "GlobalCluster", "createGlobalCluster", "(", "CreateGlobalClusterRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeCreateGlobalCluster", "(", "request", ")", ";", "}" ]
public virtual CreateGlobalClusterResponse CreateGlobalCluster(CreateGlobalClusterRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateGlobalClusterRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateGlobalClusterResponseUnmarshaller.Instance;return Invoke<CreateGlobalCluster...
train
true
6,566
public SimpleImmutableEntry(K theKey, V theValue) {key = theKey;value = theValue;}
[ "public", "SimpleImmutableEntry", "(", "K", "theKey", ",", "V", "theValue", ")", "{", "key", "=", "theKey", ";", "value", "=", "theValue", ";", "}" ]
public SimpleImmutableEntry(K theKey, V theValue){key = theKey;value = theValue;}
train
false
6,568
public String toString() {return "FAST_" + path.toString(); }
[ "public", "String", "toString", "(", ")", "{", "return", "\"FAST_\"", "+", "path", ".", "toString", "(", ")", ";", "}" ]
public override string ToString(){return "FAST_" + path.ToString();}
train
false
6,569
public OpenNLPLemmatizerFilterFactory(Map<String,String> args) {super(args);dictionaryFile = get(args, DICTIONARY);lemmatizerModelFile = get(args, LEMMATIZER_MODEL);if (dictionaryFile == null && lemmatizerModelFile == null) {throw new IllegalArgumentException("Configuration Error: missing parameter: at least one of '"+...
[ "public", "OpenNLPLemmatizerFilterFactory", "(", "Map", "<", "String", ",", "String", ">", "args", ")", "{", "super", "(", "args", ")", ";", "dictionaryFile", "=", "get", "(", "args", ",", "DICTIONARY", ")", ";", "lemmatizerModelFile", "=", "get", "(", "ar...
public OpenNLPLemmatizerFilterFactory(IDictionary<string, string> args): base(args){dictionaryFile = Get(args, DICTIONARY);lemmatizerModelFile = Get(args, LEMMATIZER_MODEL);if (dictionaryFile == null && lemmatizerModelFile == null){throw new ArgumentException("Configuration Error: missing parameter: at least one of '"+...
train
false
6,570
public Long contentLength() {return this.contentLength;}
[ "public", "Long", "contentLength", "(", ")", "{", "return", "this", ".", "contentLength", ";", "}" ]
public System.Uri BaseUri { get; set; }
train
false
6,571
public void addError(FormatError err) {errors.add(err);}
[ "public", "void", "addError", "(", "FormatError", "err", ")", "{", "errors", ".", "add", "(", "err", ")", ";", "}" ]
public virtual void AddError(FormatError err){errors.AddItem(err);}
train
false
6,572
public UpdateUserResult updateUser(UpdateUserRequest request) {request = beforeClientExecution(request);return executeUpdateUser(request);}
[ "public", "UpdateUserResult", "updateUser", "(", "UpdateUserRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeUpdateUser", "(", "request", ")", ";", "}" ]
public virtual UpdateUserResponse UpdateUser(UpdateUserRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateUserRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateUserResponseUnmarshaller.Instance;return Invoke<UpdateUserResponse>(request, options);}
train
true
6,573
public DeletePartnerEventSourceResult deletePartnerEventSource(DeletePartnerEventSourceRequest request) {request = beforeClientExecution(request);return executeDeletePartnerEventSource(request);}
[ "public", "DeletePartnerEventSourceResult", "deletePartnerEventSource", "(", "DeletePartnerEventSourceRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDeletePartnerEventSource", "(", "request", ")", ";", "}"...
public virtual DeletePartnerEventSourceResponse DeletePartnerEventSource(DeletePartnerEventSourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeletePartnerEventSourceRequestMarshaller.Instance;options.ResponseUnmarshaller = DeletePartnerEventSourceResponseUnmarshaller.Instance;return I...
train
false
6,574
public WorkflowExecutionInfos listClosedWorkflowExecutions(ListClosedWorkflowExecutionsRequest request) {request = beforeClientExecution(request);return executeListClosedWorkflowExecutions(request);}
[ "public", "WorkflowExecutionInfos", "listClosedWorkflowExecutions", "(", "ListClosedWorkflowExecutionsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListClosedWorkflowExecutions", "(", "request", ")", ";", ...
public virtual ListClosedWorkflowExecutionsResponse ListClosedWorkflowExecutions(ListClosedWorkflowExecutionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListClosedWorkflowExecutionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListClosedWorkflowExecutionsResponseUnmarshall...
train
true
6,575
public HSSFFontFormatting createFontFormatting() {return getFontFormatting(true);}
[ "public", "HSSFFontFormatting", "createFontFormatting", "(", ")", "{", "return", "getFontFormatting", "(", "true", ")", ";", "}" ]
public IFontFormatting CreateFontFormatting(){return GetFontFormatting(true);}
train
false
6,576
public SimpleFragmenter(int fragmentSize) {this.fragmentSize = fragmentSize;}
[ "public", "SimpleFragmenter", "(", "int", "fragmentSize", ")", "{", "this", ".", "fragmentSize", "=", "fragmentSize", ";", "}" ]
public SimpleFragmenter(int fragmentSize){this.fragmentSize = fragmentSize;}
train
false
6,577
public DeleteEmailIdentityResult deleteEmailIdentity(DeleteEmailIdentityRequest request) {request = beforeClientExecution(request);return executeDeleteEmailIdentity(request);}
[ "public", "DeleteEmailIdentityResult", "deleteEmailIdentity", "(", "DeleteEmailIdentityRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDeleteEmailIdentity", "(", "request", ")", ";", "}" ]
public virtual DeleteEmailIdentityResponse DeleteEmailIdentity(DeleteEmailIdentityRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEmailIdentityRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEmailIdentityResponseUnmarshaller.Instance;return Invoke<DeleteEmailIdentity...
train
true
6,578
public ListScriptsResult listScripts(ListScriptsRequest request) {request = beforeClientExecution(request);return executeListScripts(request);}
[ "public", "ListScriptsResult", "listScripts", "(", "ListScriptsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListScripts", "(", "request", ")", ";", "}" ]
public virtual ListScriptsResponse ListScripts(ListScriptsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListScriptsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListScriptsResponseUnmarshaller.Instance;return Invoke<ListScriptsResponse>(request, options);}
train
true
6,579
public SnowballFilter(TokenStream input, SnowballStemmer stemmer) {super(input);this.stemmer = stemmer;}
[ "public", "SnowballFilter", "(", "TokenStream", "input", ",", "SnowballStemmer", "stemmer", ")", "{", "super", "(", "input", ")", ";", "this", ".", "stemmer", "=", "stemmer", ";", "}" ]
public SnowballFilter(TokenStream input, SnowballProgram stemmer): base(input){this.stemmer = stemmer;this.termAtt = AddAttribute<ICharTermAttribute>();this.keywordAttr = AddAttribute<IKeywordAttribute>();}
train
false