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
3,931
public DescribeDhcpOptionsResult describeDhcpOptions() {return describeDhcpOptions(new DescribeDhcpOptionsRequest());}
[ "public", "DescribeDhcpOptionsResult", "describeDhcpOptions", "(", ")", "{", "return", "describeDhcpOptions", "(", "new", "DescribeDhcpOptionsRequest", "(", ")", ")", ";", "}" ]
public virtual DescribeDhcpOptionsResponse DescribeDhcpOptions(){return DescribeDhcpOptions(new DescribeDhcpOptionsRequest());}
train
false
3,932
public FormatRecord(int indexCode, String fs) {field_1_index_code = indexCode;field_4_formatstring = fs;field_3_hasMultibyte = StringUtil.hasMultibyte(fs);}
[ "public", "FormatRecord", "(", "int", "indexCode", ",", "String", "fs", ")", "{", "field_1_index_code", "=", "indexCode", ";", "field_4_formatstring", "=", "fs", ";", "field_3_hasMultibyte", "=", "StringUtil", ".", "hasMultibyte", "(", "fs", ")", ";", "}" ]
public FormatRecord(int indexCode, String fs){field_1_index_code = indexCode;field_4_formatstring = fs;field_3_hasMultibyte = StringUtil.HasMultibyte(fs);}
train
false
3,933
public String getPrintArea(int sheetIndex) {NameRecord name = workbook.getSpecificBuiltinRecord(NameRecord.BUILTIN_PRINT_AREA, sheetIndex+1);if (name == null) {return null;}return HSSFFormulaParser.toFormulaString(this, name.getNameDefinition());}
[ "public", "String", "getPrintArea", "(", "int", "sheetIndex", ")", "{", "NameRecord", "name", "=", "workbook", ".", "getSpecificBuiltinRecord", "(", "NameRecord", ".", "BUILTIN_PRINT_AREA", ",", "sheetIndex", "+", "1", ")", ";", "if", "(", "name", "==", "null", ")", "{", "return", "null", ";", "}", "return", "HSSFFormulaParser", ".", "toFormulaString", "(", "this", ",", "name", ".", "getNameDefinition", "(", ")", ")", ";", "}" ]
public String GetPrintArea(int sheetIndex){NameRecord name = workbook.GetSpecificBuiltinRecord(NameRecord.BUILTIN_PRINT_AREA, sheetIndex + 1);if (name == null) return null;return HSSFFormulaParser.ToFormulaString(this, name.NameDefinition);}
train
false
3,934
public CreateLoadBalancerResult createLoadBalancer(CreateLoadBalancerRequest request) {request = beforeClientExecution(request);return executeCreateLoadBalancer(request);}
[ "public", "CreateLoadBalancerResult", "createLoadBalancer", "(", "CreateLoadBalancerRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeCreateLoadBalancer", "(", "request", ")", ";", "}" ]
public virtual CreateLoadBalancerResponse CreateLoadBalancer(CreateLoadBalancerRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateLoadBalancerRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateLoadBalancerResponseUnmarshaller.Instance;return Invoke<CreateLoadBalancerResponse>(request, options);}
train
true
3,935
public GetVoiceConnectorTerminationHealthResult getVoiceConnectorTerminationHealth(GetVoiceConnectorTerminationHealthRequest request) {request = beforeClientExecution(request);return executeGetVoiceConnectorTerminationHealth(request);}
[ "public", "GetVoiceConnectorTerminationHealthResult", "getVoiceConnectorTerminationHealth", "(", "GetVoiceConnectorTerminationHealthRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeGetVoiceConnectorTerminationHealth", "(", "request", ")", ";", "}" ]
public virtual GetVoiceConnectorTerminationHealthResponse GetVoiceConnectorTerminationHealth(GetVoiceConnectorTerminationHealthRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVoiceConnectorTerminationHealthRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVoiceConnectorTerminationHealthResponseUnmarshaller.Instance;return Invoke<GetVoiceConnectorTerminationHealthResponse>(request, options);}
train
true
3,936
public CRNCountRecord(RecordInputStream in) {field_1_number_crn_records = in.readShort();if(field_1_number_crn_records < 0) {field_1_number_crn_records = (short)-field_1_number_crn_records;}field_2_sheet_table_index = in.readShort();}
[ "public", "CRNCountRecord", "(", "RecordInputStream", "in", ")", "{", "field_1_number_crn_records", "=", "in", ".", "readShort", "(", ")", ";", "if", "(", "field_1_number_crn_records", "<", "0", ")", "{", "field_1_number_crn_records", "=", "(", "short", ")", "-", "field_1_number_crn_records", ";", "}", "field_2_sheet_table_index", "=", "in", ".", "readShort", "(", ")", ";", "}" ]
public CRNCountRecord(RecordInputStream in1){field_1_number_crn_records = in1.ReadShort();if (field_1_number_crn_records < 0){field_1_number_crn_records = (short)-field_1_number_crn_records;}field_2_sheet_table_index = in1.ReadShort();}
train
false
3,937
public BOFRecord(RecordInputStream in) {field_1_version = in.readShort();field_2_type = in.readShort();if (in.remaining() >= 2) {field_3_build = in.readShort();}if (in.remaining() >= 2) {field_4_year = in.readShort();}if (in.remaining() >= 4) {field_5_history = in.readInt();}if (in.remaining() >= 4) {field_6_rversion = in.readInt();}}
[ "public", "BOFRecord", "(", "RecordInputStream", "in", ")", "{", "field_1_version", "=", "in", ".", "readShort", "(", ")", ";", "field_2_type", "=", "in", ".", "readShort", "(", ")", ";", "if", "(", "in", ".", "remaining", "(", ")", ">=", "2", ")", "{", "field_3_build", "=", "in", ".", "readShort", "(", ")", ";", "}", "if", "(", "in", ".", "remaining", "(", ")", ">=", "2", ")", "{", "field_4_year", "=", "in", ".", "readShort", "(", ")", ";", "}", "if", "(", "in", ".", "remaining", "(", ")", ">=", "4", ")", "{", "field_5_history", "=", "in", ".", "readInt", "(", ")", ";", "}", "if", "(", "in", ".", "remaining", "(", ")", ">=", "4", ")", "{", "field_6_rversion", "=", "in", ".", "readInt", "(", ")", ";", "}", "}" ]
public BOFRecord(RecordInputStream in1){field_1_version = in1.ReadShort();field_2_type = in1.ReadShort();if (in1.Remaining >= 2){field_3_build = in1.ReadShort();}if (in1.Remaining >= 2){field_4_year = in1.ReadShort();}if (in1.Remaining >= 4){field_5_history = in1.ReadInt();}if (in1.Remaining >= 4){field_6_rversion = in1.ReadInt();}}
train
false
3,938
public AcsRequest buildRequest() {if (uriPattern != null) {CommonRoaRequest request = new CommonRoaRequest(product);request.setSysUriPattern(uriPattern);for (String pathParamKey : pathParameters.keySet()) {request.putPathParameter(pathParamKey, pathParameters.get(pathParamKey));}fillParams(request);return request;} else {CommonRpcRequest request = new CommonRpcRequest(product);fillParams(request);return request;}}
[ "public", "AcsRequest", "buildRequest", "(", ")", "{", "if", "(", "uriPattern", "!=", "null", ")", "{", "CommonRoaRequest", "request", "=", "new", "CommonRoaRequest", "(", "product", ")", ";", "request", ".", "setSysUriPattern", "(", "uriPattern", ")", ";", "for", "(", "String", "pathParamKey", ":", "pathParameters", ".", "keySet", "(", ")", ")", "{", "request", ".", "putPathParameter", "(", "pathParamKey", ",", "pathParameters", ".", "get", "(", "pathParamKey", ")", ")", ";", "}", "fillParams", "(", "request", ")", ";", "return", "request", ";", "}", "else", "{", "CommonRpcRequest", "request", "=", "new", "CommonRpcRequest", "(", "product", ")", ";", "fillParams", "(", "request", ")", ";", "return", "request", ";", "}", "}" ]
public AcsRequest<CommonResponse> BuildRequest(){if (UriPattern != null){var request = new CommonRoaRequest(Product);request.UriPattern = UriPattern;request.SetVersion(Version);foreach (var entry in PathParameters){request.AddPathParameters(entry.Key, entry.Value);}FillParams(request);return request;}else{var request = new CommonRpcRequest(Product);request.Version = Version;FillParams(request);return request;}}
train
false
3,939
public void undeleteAll() {for (FakeDeleteLeafIndexReader r : getSequentialSubReaders()) {r.undeleteAll();}}
[ "public", "void", "undeleteAll", "(", ")", "{", "for", "(", "FakeDeleteLeafIndexReader", "r", ":", "getSequentialSubReaders", "(", ")", ")", "{", "r", ".", "undeleteAll", "(", ")", ";", "}", "}" ]
public void UndeleteAll(){foreach (FakeDeleteAtomicIndexReader r in GetSequentialSubReaders()){r.UndeleteAll();}}
train
false
3,940
public final String GetImage() {return new String(buffer, tokenStart, bufferPosition - tokenStart);}
[ "public", "final", "String", "GetImage", "(", ")", "{", "return", "new", "String", "(", "buffer", ",", "tokenStart", ",", "bufferPosition", "-", "tokenStart", ")", ";", "}" ]
public string GetImage(){return new string(buffer, tokenStart, bufferPosition - tokenStart);}
train
false
3,941
public DescribeComponentResult describeComponent(DescribeComponentRequest request) {request = beforeClientExecution(request);return executeDescribeComponent(request);}
[ "public", "DescribeComponentResult", "describeComponent", "(", "DescribeComponentRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeComponent", "(", "request", ")", ";", "}" ]
public virtual DescribeComponentResponse DescribeComponent(DescribeComponentRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeComponentRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeComponentResponseUnmarshaller.Instance;return Invoke<DescribeComponentResponse>(request, options);}
train
false
3,942
public RoaringDocIdSet build() {flush();return new RoaringDocIdSet(sets, cardinality);}
[ "public", "RoaringDocIdSet", "build", "(", ")", "{", "flush", "(", ")", ";", "return", "new", "RoaringDocIdSet", "(", "sets", ",", "cardinality", ")", ";", "}" ]
public CompositeReaderContext Build(){return (CompositeReaderContext)Build(null, reader, 0, 0);}
train
false
3,943
public TokenStream create(TokenStream input) {return new GermanNormalizationFilter(input);}
[ "public", "TokenStream", "create", "(", "TokenStream", "input", ")", "{", "return", "new", "GermanNormalizationFilter", "(", "input", ")", ";", "}" ]
public override TokenStream Create(TokenStream input){return new GermanNormalizationFilter(input);}
train
false
3,944
public DrillSideways(IndexSearcher searcher, FacetsConfig config, TaxonomyReader taxoReader,SortedSetDocValuesReaderState state) {this(searcher, config, taxoReader, state, null);}
[ "public", "DrillSideways", "(", "IndexSearcher", "searcher", ",", "FacetsConfig", "config", ",", "TaxonomyReader", "taxoReader", ",", "SortedSetDocValuesReaderState", "state", ")", "{", "this", "(", "searcher", ",", "config", ",", "taxoReader", ",", "state", ",", "null", ")", ";", "}" ]
public DrillSideways(IndexSearcher searcher, FacetsConfig config, TaxonomyReader taxoReader, SortedSetDocValuesReaderState state){this.m_searcher = searcher;this.m_config = config;this.m_taxoReader = taxoReader;this.m_state = state;}
train
false
3,945
public DescribeAnalysisSchemesResult describeAnalysisSchemes(DescribeAnalysisSchemesRequest request) {request = beforeClientExecution(request);return executeDescribeAnalysisSchemes(request);}
[ "public", "DescribeAnalysisSchemesResult", "describeAnalysisSchemes", "(", "DescribeAnalysisSchemesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeAnalysisSchemes", "(", "request", ")", ";", "}" ]
public virtual DescribeAnalysisSchemesResponse DescribeAnalysisSchemes(DescribeAnalysisSchemesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAnalysisSchemesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAnalysisSchemesResponseUnmarshaller.Instance;return Invoke<DescribeAnalysisSchemesResponse>(request, options);}
train
true
3,946
public PutTargetsResult putTargets(PutTargetsRequest request) {request = beforeClientExecution(request);return executePutTargets(request);}
[ "public", "PutTargetsResult", "putTargets", "(", "PutTargetsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executePutTargets", "(", "request", ")", ";", "}" ]
public virtual PutTargetsResponse PutTargets(PutTargetsRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutTargetsRequestMarshaller.Instance;options.ResponseUnmarshaller = PutTargetsResponseUnmarshaller.Instance;return Invoke<PutTargetsResponse>(request, options);}
train
true
3,947
public RevokeIpRulesResult revokeIpRules(RevokeIpRulesRequest request) {request = beforeClientExecution(request);return executeRevokeIpRules(request);}
[ "public", "RevokeIpRulesResult", "revokeIpRules", "(", "RevokeIpRulesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeRevokeIpRules", "(", "request", ")", ";", "}" ]
public virtual RevokeIpRulesResponse RevokeIpRules(RevokeIpRulesRequest request){var options = new InvokeOptions();options.RequestMarshaller = RevokeIpRulesRequestMarshaller.Instance;options.ResponseUnmarshaller = RevokeIpRulesResponseUnmarshaller.Instance;return Invoke<RevokeIpRulesResponse>(request, options);}
train
true
3,948
public RegisterGameServerResult registerGameServer(RegisterGameServerRequest request) {request = beforeClientExecution(request);return executeRegisterGameServer(request);}
[ "public", "RegisterGameServerResult", "registerGameServer", "(", "RegisterGameServerRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeRegisterGameServer", "(", "request", ")", ";", "}" ]
public virtual RegisterGameServerResponse RegisterGameServer(RegisterGameServerRequest request){var options = new InvokeOptions();options.RequestMarshaller = RegisterGameServerRequestMarshaller.Instance;options.ResponseUnmarshaller = RegisterGameServerResponseUnmarshaller.Instance;return Invoke<RegisterGameServerResponse>(request, options);}
train
false
3,949
public void write(LittleEndianOutput out) {out.writeByte(sid + getPtgClass());out.writeByte(_options);out.writeShort(_data);int[] jt = _jumpTable;if (jt != null) {for (int i = 0; i < jt.length; i++) {out.writeShort(jt[i]);}out.writeShort(_chooseFuncOffset);}}
[ "public", "void", "write", "(", "LittleEndianOutput", "out", ")", "{", "out", ".", "writeByte", "(", "sid", "+", "getPtgClass", "(", ")", ")", ";", "out", ".", "writeByte", "(", "_options", ")", ";", "out", ".", "writeShort", "(", "_data", ")", ";", "int", "[", "]", "jt", "=", "_jumpTable", ";", "if", "(", "jt", "!=", "null", ")", "{", "for", "(", "int", "i", "=", "0", ";", "i", "<", "jt", ".", "length", ";", "i", "++", ")", "{", "out", ".", "writeShort", "(", "jt", "[", "i", "]", ")", ";", "}", "out", ".", "writeShort", "(", "_chooseFuncOffset", ")", ";", "}", "}" ]
public override void Write(ILittleEndianOutput out1){out1.WriteByte(sid + PtgClass);out1.WriteByte(field_1_options);out1.WriteShort(field_2_data);int[] jt = _jumpTable;if (jt != null){for (int i = 0; i < jt.Length; i++){out1.WriteShort(jt[i]);}out1.WriteShort(_chooseFuncOffset);}}
train
false
3,950
public int getCellsPnt() {Iterator<Character> i = cells.keySet().iterator();int size = 0;for (; i.hasNext();) {Character c = i.next();Cell e = at(c);if (e.ref >= 0) {size++;}}return size;}
[ "public", "int", "getCellsPnt", "(", ")", "{", "Iterator", "<", "Character", ">", "i", "=", "cells", ".", "keySet", "(", ")", ".", "iterator", "(", ")", ";", "int", "size", "=", "0", ";", "for", "(", ";", "i", ".", "hasNext", "(", ")", ";", ")", "{", "Character", "c", "=", "i", ".", "next", "(", ")", ";", "Cell", "e", "=", "at", "(", "c", ")", ";", "if", "(", "e", ".", "ref", ">=", "0", ")", "{", "size", "++", ";", "}", "}", "return", "size", ";", "}" ]
public int GetCellsPnt(){int size = 0;foreach (char c in cells.Keys){Cell e = At(c);if (e.@ref >= 0){size++;}}return size;}
train
false
3,951
public E removeFirst() {return removeFirstImpl();}
[ "public", "E", "removeFirst", "(", ")", "{", "return", "removeFirstImpl", "(", ")", ";", "}" ]
public virtual E removeFirst(){return removeFirstImpl();}
train
false
3,953
public TokenStream create(TokenStream input) {return new TruncateTokenFilter(input, prefixLength);}
[ "public", "TokenStream", "create", "(", "TokenStream", "input", ")", "{", "return", "new", "TruncateTokenFilter", "(", "input", ",", "prefixLength", ")", ";", "}" ]
public override TokenStream Create(TokenStream input){return new TruncateTokenFilter(input, prefixLength);}
train
false
3,954
public String getErrorDisplay(int c) {String s = String.valueOf((char)c);switch ( c ) {case Token.EOF :s = "<EOF>";break;case '\n' :s = "\\n";break;case '\t' :s = "\\t";break;case '\r' :s = "\\r";break;}return s;}
[ "public", "String", "getErrorDisplay", "(", "int", "c", ")", "{", "String", "s", "=", "String", ".", "valueOf", "(", "(", "char", ")", "c", ")", ";", "switch", "(", "c", ")", "{", "case", "Token", ".", "EOF", ":", "s", "=", "\"<EOF>\"", ";", "break", ";", "case", "'\\n'", ":", "s", "=", "\"\\\\n\"", ";", "break", ";", "case", "'\\t'", ":", "s", "=", "\"\\\\t\"", ";", "break", ";", "case", "'\\r'", ":", "s", "=", "\"\\\\r\"", ";", "break", ";", "}", "return", "s", ";", "}" ]
public virtual string GetErrorDisplay(int c){string s;switch (c){case TokenConstants.EOF:{s = "<EOF>";break;}case '\n':{s = "\\n";break;}case '\t':{s = "\\t";break;}case '\r':{s = "\\r";break;}default:{s = Char.ConvertFromUtf32(c);break;}}return s;}
train
false
3,955
public CreateContactResult createContact(CreateContactRequest request) {request = beforeClientExecution(request);return executeCreateContact(request);}
[ "public", "CreateContactResult", "createContact", "(", "CreateContactRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeCreateContact", "(", "request", ")", ";", "}" ]
public virtual CreateContactResponse CreateContact(CreateContactRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateContactRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateContactResponseUnmarshaller.Instance;return Invoke<CreateContactResponse>(request, options);}
train
true
3,956
public Transition[][] getSortedTransitions() {int numStates = getNumStates();Transition[][] transitions = new Transition[numStates][];for(int s=0;s<numStates;s++) {int numTransitions = getNumTransitions(s);transitions[s] = new Transition[numTransitions];for(int t=0;t<numTransitions;t++) {Transition transition = new Transition();getTransition(s, t, transition);transitions[s][t] = transition;}}return transitions;}
[ "public", "Transition", "[", "]", "[", "]", "getSortedTransitions", "(", ")", "{", "int", "numStates", "=", "getNumStates", "(", ")", ";", "Transition", "[", "]", "[", "]", "transitions", "=", "new", "Transition", "[", "numStates", "]", "[", "]", ";", "for", "(", "int", "s", "=", "0", ";", "s", "<", "numStates", ";", "s", "++", ")", "{", "int", "numTransitions", "=", "getNumTransitions", "(", "s", ")", ";", "transitions", "[", "s", "]", "=", "new", "Transition", "[", "numTransitions", "]", ";", "for", "(", "int", "t", "=", "0", ";", "t", "<", "numTransitions", ";", "t", "++", ")", "{", "Transition", "transition", "=", "new", "Transition", "(", ")", ";", "getTransition", "(", "s", ",", "t", ",", "transition", ")", ";", "transitions", "[", "s", "]", "[", "t", "]", "=", "transition", ";", "}", "}", "return", "transitions", ";", "}" ]
public virtual Transition[][] GetSortedTransitions(){State[] states = GetNumberedStates();Transition[][] transitions = new Transition[states.Length][];foreach (State s in states){s.SortTransitions(Transition.COMPARE_BY_MIN_MAX_THEN_DEST);s.TrimTransitionsArray();transitions[s.number] = s.TransitionsArray;Debug.Assert(s.TransitionsArray != null);}return transitions;}
train
false
3,957
public DescribeAccountModificationsResult describeAccountModifications(DescribeAccountModificationsRequest request) {request = beforeClientExecution(request);return executeDescribeAccountModifications(request);}
[ "public", "DescribeAccountModificationsResult", "describeAccountModifications", "(", "DescribeAccountModificationsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeAccountModifications", "(", "request", ")", ";", "}" ]
public virtual DescribeAccountModificationsResponse DescribeAccountModifications(DescribeAccountModificationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAccountModificationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAccountModificationsResponseUnmarshaller.Instance;return Invoke<DescribeAccountModificationsResponse>(request, options);}
train
true
3,958
public ListSolutionVersionsResult listSolutionVersions(ListSolutionVersionsRequest request) {request = beforeClientExecution(request);return executeListSolutionVersions(request);}
[ "public", "ListSolutionVersionsResult", "listSolutionVersions", "(", "ListSolutionVersionsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListSolutionVersions", "(", "request", ")", ";", "}" ]
public virtual ListSolutionVersionsResponse ListSolutionVersions(ListSolutionVersionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListSolutionVersionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListSolutionVersionsResponseUnmarshaller.Instance;return Invoke<ListSolutionVersionsResponse>(request, options);}
train
false
3,960
public SetVaultNotificationsRequest(String vaultName, VaultNotificationConfig vaultNotificationConfig) {setVaultName(vaultName);setVaultNotificationConfig(vaultNotificationConfig);}
[ "public", "SetVaultNotificationsRequest", "(", "String", "vaultName", ",", "VaultNotificationConfig", "vaultNotificationConfig", ")", "{", "setVaultName", "(", "vaultName", ")", ";", "setVaultNotificationConfig", "(", "vaultNotificationConfig", ")", ";", "}" ]
public SetVaultNotificationsRequest(string vaultName, VaultNotificationConfig vaultNotificationConfig){_vaultName = vaultName;_vaultNotificationConfig = vaultNotificationConfig;}
train
false
3,962
public void println() {synchronized (lock) {print(System.lineSeparator());if (autoFlush) {flush();}}}
[ "public", "void", "println", "(", ")", "{", "synchronized", "(", "lock", ")", "{", "print", "(", "System", ".", "lineSeparator", "(", ")", ")", ";", "if", "(", "autoFlush", ")", "{", "flush", "(", ")", ";", "}", "}", "}" ]
public virtual void println(){lock (@lock){print(System.Environment.NewLine);if (autoFlush){flush();}}}
train
false
3,963
public final void writeChar(int val) throws IOException {writeShort(val);}
[ "public", "final", "void", "writeChar", "(", "int", "val", ")", "throws", "IOException", "{", "writeShort", "(", "val", ")", ";", "}" ]
public virtual void writeChar(int val){throw new System.NotImplementedException();}
train
false
3,965
public UpdateDeploymentResult updateDeployment(UpdateDeploymentRequest request) {request = beforeClientExecution(request);return executeUpdateDeployment(request);}
[ "public", "UpdateDeploymentResult", "updateDeployment", "(", "UpdateDeploymentRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeUpdateDeployment", "(", "request", ")", ";", "}" ]
public virtual UpdateDeploymentResponse UpdateDeployment(UpdateDeploymentRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDeploymentRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDeploymentResponseUnmarshaller.Instance;return Invoke<UpdateDeploymentResponse>(request, options);}
train
true
3,966
public ListRoutingProfilesResult listRoutingProfiles(ListRoutingProfilesRequest request) {request = beforeClientExecution(request);return executeListRoutingProfiles(request);}
[ "public", "ListRoutingProfilesResult", "listRoutingProfiles", "(", "ListRoutingProfilesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListRoutingProfiles", "(", "request", ")", ";", "}" ]
public virtual ListRoutingProfilesResponse ListRoutingProfiles(ListRoutingProfilesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListRoutingProfilesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListRoutingProfilesResponseUnmarshaller.Instance;return Invoke<ListRoutingProfilesResponse>(request, options);}
train
true
3,967
public boolean isFormulaSame(SharedFormulaRecord other) {return field_7_parsed_expr.isSame(other.field_7_parsed_expr);}
[ "public", "boolean", "isFormulaSame", "(", "SharedFormulaRecord", "other", ")", "{", "return", "field_7_parsed_expr", ".", "isSame", "(", "other", ".", "field_7_parsed_expr", ")", ";", "}" ]
public bool IsFormulaSame(SharedFormulaRecord other){return field_7_parsed_expr.IsSame(other.field_7_parsed_expr);}
train
false
3,968
public static byte getType(int ch) {switch (Character.getType(ch)) {case Character.UPPERCASE_LETTER: return UPPER;case Character.LOWERCASE_LETTER: return LOWER;case Character.TITLECASE_LETTER:case Character.MODIFIER_LETTER:case Character.OTHER_LETTER:case Character.NON_SPACING_MARK:case Character.ENCLOSING_MARK: case Character.COMBINING_SPACING_MARK:return ALPHA;case Character.DECIMAL_DIGIT_NUMBER:case Character.LETTER_NUMBER:case Character.OTHER_NUMBER:return DIGIT;case Character.SURROGATE: return ALPHA|DIGIT;default: return SUBWORD_DELIM;}}
[ "public", "static", "byte", "getType", "(", "int", "ch", ")", "{", "switch", "(", "Character", ".", "getType", "(", "ch", ")", ")", "{", "case", "Character", ".", "UPPERCASE_LETTER", ":", "return", "UPPER", ";", "case", "Character", ".", "LOWERCASE_LETTER", ":", "return", "LOWER", ";", "case", "Character", ".", "TITLECASE_LETTER", ":", "case", "Character", ".", "MODIFIER_LETTER", ":", "case", "Character", ".", "OTHER_LETTER", ":", "case", "Character", ".", "NON_SPACING_MARK", ":", "case", "Character", ".", "ENCLOSING_MARK", ":", "case", "Character", ".", "COMBINING_SPACING_MARK", ":", "return", "ALPHA", ";", "case", "Character", ".", "DECIMAL_DIGIT_NUMBER", ":", "case", "Character", ".", "LETTER_NUMBER", ":", "case", "Character", ".", "OTHER_NUMBER", ":", "return", "DIGIT", ";", "case", "Character", ".", "SURROGATE", ":", "return", "ALPHA", "|", "DIGIT", ";", "default", ":", "return", "SUBWORD_DELIM", ";", "}", "}" ]
public static byte GetType(int ch){switch (CharUnicodeInfo.GetUnicodeCategory((char)ch)){case UnicodeCategory.UppercaseLetter:return WordDelimiterFilter.UPPER;case UnicodeCategory.LowercaseLetter:return WordDelimiterFilter.LOWER;case UnicodeCategory.TitlecaseLetter:case UnicodeCategory.ModifierLetter:case UnicodeCategory.OtherLetter:case UnicodeCategory.NonSpacingMark:case UnicodeCategory.EnclosingMark: case UnicodeCategory.SpacingCombiningMark:return WordDelimiterFilter.ALPHA;case UnicodeCategory.DecimalDigitNumber:case UnicodeCategory.LetterNumber:case UnicodeCategory.OtherNumber:return WordDelimiterFilter.DIGIT;case UnicodeCategory.Surrogate:return WordDelimiterFilter.ALPHA | WordDelimiterFilter.DIGIT;default:return WordDelimiterFilter.SUBWORD_DELIM;}}
train
false
3,969
public CreateImageResult createImage(CreateImageRequest request) {request = beforeClientExecution(request);return executeCreateImage(request);}
[ "public", "CreateImageResult", "createImage", "(", "CreateImageRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeCreateImage", "(", "request", ")", ";", "}" ]
public virtual CreateImageResponse CreateImage(CreateImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateImageRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateImageResponseUnmarshaller.Instance;return Invoke<CreateImageResponse>(request, options);}
train
true
3,970
public void assume(RevCommit c) {if (c != null)assume.add(c);}
[ "public", "void", "assume", "(", "RevCommit", "c", ")", "{", "if", "(", "c", "!=", "null", ")", "assume", ".", "add", "(", "c", ")", ";", "}" ]
public virtual void Assume(RevCommit c){if (c != null){assume.AddItem(c);}}
train
false
3,971
public DeleteTagsResult deleteTags(DeleteTagsRequest request) {request = beforeClientExecution(request);return executeDeleteTags(request);}
[ "public", "DeleteTagsResult", "deleteTags", "(", "DeleteTagsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDeleteTags", "(", "request", ")", ";", "}" ]
public virtual DeleteTagsResponse DeleteTags(DeleteTagsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteTagsRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteTagsResponseUnmarshaller.Instance;return Invoke<DeleteTagsResponse>(request, options);}
train
true
3,972
public ListTemplateVersionsResult listTemplateVersions(ListTemplateVersionsRequest request) {request = beforeClientExecution(request);return executeListTemplateVersions(request);}
[ "public", "ListTemplateVersionsResult", "listTemplateVersions", "(", "ListTemplateVersionsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListTemplateVersions", "(", "request", ")", ";", "}" ]
public virtual ListTemplateVersionsResponse ListTemplateVersions(ListTemplateVersionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTemplateVersionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTemplateVersionsResponseUnmarshaller.Instance;return Invoke<ListTemplateVersionsResponse>(request, options);}
train
false
3,973
public String toString() {return "(" + x + ", " + y + ")"; }
[ "public", "String", "toString", "(", ")", "{", "return", "\"(\"", "+", "x", "+", "\", \"", "+", "y", "+", "\")\"", ";", "}" ]
public override string ToString(){return "Point(" + x + ", " + y + ")";}
train
false
3,974
public DisjunctionMaxQueryBuilder(QueryBuilder factory) {this.factory = factory;}
[ "public", "DisjunctionMaxQueryBuilder", "(", "QueryBuilder", "factory", ")", "{", "this", ".", "factory", "=", "factory", ";", "}" ]
public DisjunctionMaxQueryBuilder(IQueryBuilder factory){this.factory = factory;}
train
false
3,975
public PutNotificationConfigurationResult putNotificationConfiguration(PutNotificationConfigurationRequest request) {request = beforeClientExecution(request);return executePutNotificationConfiguration(request);}
[ "public", "PutNotificationConfigurationResult", "putNotificationConfiguration", "(", "PutNotificationConfigurationRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executePutNotificationConfiguration", "(", "request", ")", ";", "}" ]
public virtual PutNotificationConfigurationResponse PutNotificationConfiguration(PutNotificationConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutNotificationConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = PutNotificationConfigurationResponseUnmarshaller.Instance;return Invoke<PutNotificationConfigurationResponse>(request, options);}
train
true
3,976
public RecognizeFlowerRequest() {super("visionai-poc", "2020-04-08", "RecognizeFlower");setMethod(MethodType.POST);}
[ "public", "RecognizeFlowerRequest", "(", ")", "{", "super", "(", "\"visionai-poc\"", ",", "\"2020-04-08\"", ",", "\"RecognizeFlower\"", ")", ";", "setMethod", "(", "MethodType", ".", "POST", ")", ";", "}" ]
public RecognizeFlowerRequest(): base("visionai-poc", "2020-04-08", "RecognizeFlower"){Method = MethodType.POST;}
train
false
3,977
public IndexFormatTooOldException(String resourceDescription, int version, int minVersion, int maxVersion) {super("Format version is not supported (resource " + resourceDescription + "): " +version + " (needs to be between " + minVersion + " and " + maxVersion +"). This version of Lucene only supports indexes created with release 8.0 and later.");this.resourceDescription = resourceDescription;this.version = version;this.minVersion = minVersion;this.maxVersion = maxVersion;this.reason = null;}
[ "public", "IndexFormatTooOldException", "(", "String", "resourceDescription", ",", "int", "version", ",", "int", "minVersion", ",", "int", "maxVersion", ")", "{", "super", "(", "\"Format version is not supported (resource \"", "+", "resourceDescription", "+", "\"): \"", "+", "version", "+", "\" (needs to be between \"", "+", "minVersion", "+", "\" and \"", "+", "maxVersion", "+", "\"). This version of Lucene only supports indexes created with release 8.0 and later.\"", ")", ";", "this", ".", "resourceDescription", "=", "resourceDescription", ";", "this", ".", "version", "=", "version", ";", "this", ".", "minVersion", "=", "minVersion", ";", "this", ".", "maxVersion", "=", "maxVersion", ";", "this", ".", "reason", "=", "null", ";", "}" ]
public IndexFormatTooOldException(string resourceDesc, int version, int minVersion, int maxVersion): base("Format version is not supported (resource: " + resourceDesc + "): " + version + " (needs to be between " + minVersion + " and " + maxVersion + "). this version of Lucene only supports indexes created with release 3.0 and later."){Debug.Assert(resourceDesc != null);}
train
false
3,978
public void add(int el) {if ( readonly ) throw new IllegalStateException("can't alter readonly IntervalSet");add(el,el);}
[ "public", "void", "add", "(", "int", "el", ")", "{", "if", "(", "readonly", ")", "throw", "new", "IllegalStateException", "(", "\"can't alter readonly IntervalSet\"", ")", ";", "add", "(", "el", ",", "el", ")", ";", "}" ]
public virtual void Add(int el){if (@readonly){throw new InvalidOperationException("can't alter readonly IntervalSet");}Add(el, el);}
train
false
3,979
@Override public final int read(byte[] buffer) throws IOException {return super.read(buffer);}
[ "@", "Override", "public", "final", "int", "read", "(", "byte", "[", "]", "buffer", ")", "throws", "IOException", "{", "return", "super", ".", "read", "(", "buffer", ")", ";", "}" ]
public sealed override int read(byte[] buffer){throw new System.NotImplementedException();}
train
false
3,980
@Override public boolean remove(Object key) {if (!contains(key)) {return false;}removeFromBothMaps(key);return true;}
[ "@", "Override", "public", "boolean", "remove", "(", "Object", "key", ")", "{", "if", "(", "!", "contains", "(", "key", ")", ")", "{", "return", "false", ";", "}", "removeFromBothMaps", "(", "key", ")", ";", "return", "true", ";", "}" ]
public override bool remove(object o){lock (this._enclosing){int oldSize = this._enclosing._size;this._enclosing.remove(o);return this._enclosing._size != oldSize;}}
train
false
3,981
public DescribeClusterSecurityGroupsResult describeClusterSecurityGroups(DescribeClusterSecurityGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeClusterSecurityGroups(request);}
[ "public", "DescribeClusterSecurityGroupsResult", "describeClusterSecurityGroups", "(", "DescribeClusterSecurityGroupsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeClusterSecurityGroups", "(", "request", ")", ";", "}" ]
public virtual DescribeClusterSecurityGroupsResponse DescribeClusterSecurityGroups(DescribeClusterSecurityGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClusterSecurityGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClusterSecurityGroupsResponseUnmarshaller.Instance;return Invoke<DescribeClusterSecurityGroupsResponse>(request, options);}
train
true
3,982
public TokenStream create(TokenStream input) {return new ScandinavianFoldingFilter(input);}
[ "public", "TokenStream", "create", "(", "TokenStream", "input", ")", "{", "return", "new", "ScandinavianFoldingFilter", "(", "input", ")", ";", "}" ]
public override TokenStream Create(TokenStream input){return new ScandinavianFoldingFilter(input);}
train
false
3,983
public DeleteNotebookInstanceLifecycleConfigResult deleteNotebookInstanceLifecycleConfig(DeleteNotebookInstanceLifecycleConfigRequest request) {request = beforeClientExecution(request);return executeDeleteNotebookInstanceLifecycleConfig(request);}
[ "public", "DeleteNotebookInstanceLifecycleConfigResult", "deleteNotebookInstanceLifecycleConfig", "(", "DeleteNotebookInstanceLifecycleConfigRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDeleteNotebookInstanceLifecycleConfig", "(", "request", ")", ";", "}" ]
public virtual DeleteNotebookInstanceLifecycleConfigResponse DeleteNotebookInstanceLifecycleConfig(DeleteNotebookInstanceLifecycleConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteNotebookInstanceLifecycleConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteNotebookInstanceLifecycleConfigResponseUnmarshaller.Instance;return Invoke<DeleteNotebookInstanceLifecycleConfigResponse>(request, options);}
train
true
3,984
public DescribeComponentConfigurationRecommendationResult describeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest request) {request = beforeClientExecution(request);return executeDescribeComponentConfigurationRecommendation(request);}
[ "public", "DescribeComponentConfigurationRecommendationResult", "describeComponentConfigurationRecommendation", "(", "DescribeComponentConfigurationRecommendationRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeComponentConfigurationRecommendation", "(", "request", ")", ";", "}" ]
public virtual DescribeComponentConfigurationRecommendationResponse DescribeComponentConfigurationRecommendation(DescribeComponentConfigurationRecommendationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeComponentConfigurationRecommendationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeComponentConfigurationRecommendationResponseUnmarshaller.Instance;return Invoke<DescribeComponentConfigurationRecommendationResponse>(request, options);}
train
false
3,985
public SimpleMergedSegmentWarmer(InfoStream infoStream) {this.infoStream = infoStream;}
[ "public", "SimpleMergedSegmentWarmer", "(", "InfoStream", "infoStream", ")", "{", "this", ".", "infoStream", "=", "infoStream", ";", "}" ]
public SimpleMergedSegmentWarmer(InfoStream infoStream){this.infoStream = infoStream;}
train
false
3,986
public int nextIndex() {return pos + 1;}
[ "public", "int", "nextIndex", "(", ")", "{", "return", "pos", "+", "1", ";", "}" ]
public int nextIndex(){return pos + 1;}
train
false
3,987
public ThaiTokenizerFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
[ "public", "ThaiTokenizerFactory", "(", "Map", "<", "String", ",", "String", ">", "args", ")", "{", "super", "(", "args", ")", ";", "if", "(", "!", "args", ".", "isEmpty", "(", ")", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"Unknown parameters: \"", "+", "args", ")", ";", "}", "}" ]
public ThaiTokenizerFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
train
false
3,988
public int doLogic() throws Exception {if (name==null || value==null) {throw new Exception(getName()+" - undefined name or value: name="+name+" value="+value);}getRunData().getConfig().set(name,value);return 0;}
[ "public", "int", "doLogic", "(", ")", "throws", "Exception", "{", "if", "(", "name", "==", "null", "||", "value", "==", "null", ")", "{", "throw", "new", "Exception", "(", "getName", "(", ")", "+", "\" - undefined name or value: name=\"", "+", "name", "+", "\" value=\"", "+", "value", ")", ";", "}", "getRunData", "(", ")", ".", "getConfig", "(", ")", ".", "set", "(", "name", ",", "value", ")", ";", "return", "0", ";", "}" ]
public override int DoLogic(){if (name == null || value == null){throw new Exception(GetName() + " - undefined name or value: name=" + name + " value=" + value);}RunData.Config.Set(name, value);return 0;}
train
false
3,989
public void setPrintArea(int sheetIndex, String reference){NameRecord name = workbook.getSpecificBuiltinRecord(NameRecord.BUILTIN_PRINT_AREA, sheetIndex+1);if (name == null) {name = workbook.createBuiltInName(NameRecord.BUILTIN_PRINT_AREA, sheetIndex+1);}String[] parts = COMMA_PATTERN.split(reference);StringBuilder sb = new StringBuilder(32);for (int i = 0; i < parts.length; i++) {if(i>0) {sb.append(",");}SheetNameFormatter.appendFormat(sb, getSheetName(sheetIndex));sb.append("!");sb.append(parts[i]);}name.setNameDefinition(HSSFFormulaParser.parse(sb.toString(), this, FormulaType.NAMEDRANGE, sheetIndex));}
[ "public", "void", "setPrintArea", "(", "int", "sheetIndex", ",", "String", "reference", ")", "{", "NameRecord", "name", "=", "workbook", ".", "getSpecificBuiltinRecord", "(", "NameRecord", ".", "BUILTIN_PRINT_AREA", ",", "sheetIndex", "+", "1", ")", ";", "if", "(", "name", "==", "null", ")", "{", "name", "=", "workbook", ".", "createBuiltInName", "(", "NameRecord", ".", "BUILTIN_PRINT_AREA", ",", "sheetIndex", "+", "1", ")", ";", "}", "String", "[", "]", "parts", "=", "COMMA_PATTERN", ".", "split", "(", "reference", ")", ";", "StringBuilder", "sb", "=", "new", "StringBuilder", "(", "32", ")", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "parts", ".", "length", ";", "i", "++", ")", "{", "if", "(", "i", ">", "0", ")", "{", "sb", ".", "append", "(", "\",\"", ")", ";", "}", "SheetNameFormatter", ".", "appendFormat", "(", "sb", ",", "getSheetName", "(", "sheetIndex", ")", ")", ";", "sb", ".", "append", "(", "\"!\"", ")", ";", "sb", ".", "append", "(", "parts", "[", "i", "]", ")", ";", "}", "name", ".", "setNameDefinition", "(", "HSSFFormulaParser", ".", "parse", "(", "sb", ".", "toString", "(", ")", ",", "this", ",", "FormulaType", ".", "NAMEDRANGE", ",", "sheetIndex", ")", ")", ";", "}" ]
public void SetPrintArea(int sheetIndex, String reference){NameRecord name = workbook.GetSpecificBuiltinRecord(NameRecord.BUILTIN_PRINT_AREA, sheetIndex + 1);if (name == null)name = workbook.CreateBuiltInName(NameRecord.BUILTIN_PRINT_AREA, sheetIndex + 1);String[] parts = reference.Split(new char[]{','});StringBuilder sb = new StringBuilder(32);for (int i = 0; i < parts.Length; i++){if (i > 0){sb.Append(",");}SheetNameFormatter.AppendFormat(sb, GetSheetName(sheetIndex));sb.Append("!");sb.Append(parts[i]);}name.NameDefinition =(HSSFFormulaParser.Parse(sb.ToString(), this, FormulaType.NamedRange, sheetIndex));}
train
false
3,990
public String getPartOfSpeech() {return dictionary.getPartOfSpeech(wordId);}
[ "public", "String", "getPartOfSpeech", "(", ")", "{", "return", "dictionary", ".", "getPartOfSpeech", "(", "wordId", ")", ";", "}" ]
public virtual string GetPartOfSpeech(){return dictionary.GetPartOfSpeech(wordId);}
train
false
3,991
public synchronized static DefaultProfile getProfile(String regionId) {return new DefaultProfile(regionId);}
[ "public", "synchronized", "static", "DefaultProfile", "getProfile", "(", "String", "regionId", ")", "{", "return", "new", "DefaultProfile", "(", "regionId", ")", ";", "}" ]
public static DefaultProfile GetProfile(string regionId){return new DefaultProfile(regionId);}
train
false
3,992
public TurkishLowerCaseFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
[ "public", "TurkishLowerCaseFilterFactory", "(", "Map", "<", "String", ",", "String", ">", "args", ")", "{", "super", "(", "args", ")", ";", "if", "(", "!", "args", ".", "isEmpty", "(", ")", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"Unknown parameters: \"", "+", "args", ")", ";", "}", "}" ]
public TurkishLowerCaseFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
train
false
3,994
public ShortField(final int offset)throws ArrayIndexOutOfBoundsException{if (offset < 0){throw new ArrayIndexOutOfBoundsException("Illegal offset: "+ offset);}_offset = offset;}
[ "public", "ShortField", "(", "final", "int", "offset", ")", "throws", "ArrayIndexOutOfBoundsException", "{", "if", "(", "offset", "<", "0", ")", "{", "throw", "new", "ArrayIndexOutOfBoundsException", "(", "\"Illegal offset: \"", "+", "offset", ")", ";", "}", "_offset", "=", "offset", ";", "}" ]
public ShortField(int offset){if (offset < 0){throw new IndexOutOfRangeException("Illegal offset: "+ offset);}_offset = offset;}
train
false
3,995
public int getEffectivePort() {return getEffectivePort(scheme, port);}
[ "public", "int", "getEffectivePort", "(", ")", "{", "return", "getEffectivePort", "(", "scheme", ",", "port", ")", ";", "}" ]
public int getEffectivePort(){return getEffectivePort(scheme, port);}
train
false
3,996
public GetDiskSnapshotsResult getDiskSnapshots(GetDiskSnapshotsRequest request) {request = beforeClientExecution(request);return executeGetDiskSnapshots(request);}
[ "public", "GetDiskSnapshotsResult", "getDiskSnapshots", "(", "GetDiskSnapshotsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeGetDiskSnapshots", "(", "request", ")", ";", "}" ]
public virtual GetDiskSnapshotsResponse GetDiskSnapshots(GetDiskSnapshotsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDiskSnapshotsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDiskSnapshotsResponseUnmarshaller.Instance;return Invoke<GetDiskSnapshotsResponse>(request, options);}
train
true
3,997
public ParseTreePatternMatcher(Lexer lexer, Parser parser) {this.lexer = lexer;this.parser = parser;}
[ "public", "ParseTreePatternMatcher", "(", "Lexer", "lexer", ",", "Parser", "parser", ")", "{", "this", ".", "lexer", "=", "lexer", ";", "this", ".", "parser", "=", "parser", ";", "}" ]
public ParseTreePatternMatcher(Lexer lexer, Parser parser){this.lexer = lexer;this.parser = parser;}
train
false
3,998
public PassageScorer(float k1, float b, float pivot) {this.k1 = k1;this.b = b;this.pivot = pivot;}
[ "public", "PassageScorer", "(", "float", "k1", ",", "float", "b", ",", "float", "pivot", ")", "{", "this", ".", "k1", "=", "k1", ";", "this", ".", "b", "=", "b", ";", "this", ".", "pivot", "=", "pivot", ";", "}" ]
public PassageScorer(float k1, float b, float pivot){this.k1 = k1;this.b = b;this.pivot = pivot;}
train
false
3,999
public CreateTicketRequest() {super("Ccs", "2017-10-01", "CreateTicket", "ccs");setMethod(MethodType.POST);}
[ "public", "CreateTicketRequest", "(", ")", "{", "super", "(", "\"Ccs\"", ",", "\"2017-10-01\"", ",", "\"CreateTicket\"", ",", "\"ccs\"", ")", ";", "setMethod", "(", "MethodType", ".", "POST", ")", ";", "}" ]
public CreateTicketRequest(): base("Ccs", "2017-10-01", "CreateTicket", "ccs", "openAPI"){Method = MethodType.POST;}
train
false
4,000
public RejectTransitGatewayVpcAttachmentResult rejectTransitGatewayVpcAttachment(RejectTransitGatewayVpcAttachmentRequest request) {request = beforeClientExecution(request);return executeRejectTransitGatewayVpcAttachment(request);}
[ "public", "RejectTransitGatewayVpcAttachmentResult", "rejectTransitGatewayVpcAttachment", "(", "RejectTransitGatewayVpcAttachmentRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeRejectTransitGatewayVpcAttachment", "(", "request", ")", ";", "}" ]
public virtual RejectTransitGatewayVpcAttachmentResponse RejectTransitGatewayVpcAttachment(RejectTransitGatewayVpcAttachmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = RejectTransitGatewayVpcAttachmentRequestMarshaller.Instance;options.ResponseUnmarshaller = RejectTransitGatewayVpcAttachmentResponseUnmarshaller.Instance;return Invoke<RejectTransitGatewayVpcAttachmentResponse>(request, options);}
train
true
4,001
public DeleteApnsChannelResult deleteApnsChannel(DeleteApnsChannelRequest request) {request = beforeClientExecution(request);return executeDeleteApnsChannel(request);}
[ "public", "DeleteApnsChannelResult", "deleteApnsChannel", "(", "DeleteApnsChannelRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDeleteApnsChannel", "(", "request", ")", ";", "}" ]
public virtual DeleteApnsChannelResponse DeleteApnsChannel(DeleteApnsChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteApnsChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteApnsChannelResponseUnmarshaller.Instance;return Invoke<DeleteApnsChannelResponse>(request, options);}
train
true
4,002
public Entry getEntry(final String name) throws FileNotFoundException {Entry rval = null;if (name != null) {rval = _byname.get(name);}if (rval == null) {if(_byname.containsKey("Workbook")) {throw new IllegalArgumentException("The document is really a XLS file");} else if(_byname.containsKey("PowerPoint Document")) {throw new IllegalArgumentException("The document is really a PPT file");} else if(_byname.containsKey("VisioDocument")) {throw new IllegalArgumentException("The document is really a VSD file");}throw new FileNotFoundException("no such entry: \"" + name+ "\", had: " + _byname.keySet());}return rval;}
[ "public", "Entry", "getEntry", "(", "final", "String", "name", ")", "throws", "FileNotFoundException", "{", "Entry", "rval", "=", "null", ";", "if", "(", "name", "!=", "null", ")", "{", "rval", "=", "_byname", ".", "get", "(", "name", ")", ";", "}", "if", "(", "rval", "==", "null", ")", "{", "if", "(", "_byname", ".", "containsKey", "(", "\"Workbook\"", ")", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"The document is really a XLS file\"", ")", ";", "}", "else", "if", "(", "_byname", ".", "containsKey", "(", "\"PowerPoint Document\"", ")", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"The document is really a PPT file\"", ")", ";", "}", "else", "if", "(", "_byname", ".", "containsKey", "(", "\"VisioDocument\"", ")", ")", "{", "throw", "new", "IllegalArgumentException", "(", "\"The document is really a VSD file\"", ")", ";", "}", "throw", "new", "FileNotFoundException", "(", "\"no such entry: \\\"\"", "+", "name", "+", "\"\\\", had: \"", "+", "_byname", ".", "keySet", "(", ")", ")", ";", "}", "return", "rval", ";", "}" ]
public Entry GetEntry(String name){Entry rval = null;if (name != null){try{rval = (Entry)_byname[name];}catch (KeyNotFoundException){throw new FileNotFoundException("no such entry: \"" + name + "\"");}}if (rval == null){throw new FileNotFoundException("no such entry: \"" + name + "\"");}return rval;}
train
false
4,003
public TokenStream create(TokenStream input) {return new FrenchMinimalStemFilter(input);}
[ "public", "TokenStream", "create", "(", "TokenStream", "input", ")", "{", "return", "new", "FrenchMinimalStemFilter", "(", "input", ")", ";", "}" ]
public override TokenStream Create(TokenStream input){return new FrenchMinimalStemFilter(input);}
train
false
4,004
public int getDecimalExponent() {return _relativeDecimalExponent+EXPONENT_OFFSET;}
[ "public", "int", "getDecimalExponent", "(", ")", "{", "return", "_relativeDecimalExponent", "+", "EXPONENT_OFFSET", ";", "}" ]
public int GetDecimalExponent(){return _relativeDecimalExponent + EXPONENT_OFFSET;}
train
false
4,005
public DescribeInstanceCreditSpecificationsResult describeInstanceCreditSpecifications(DescribeInstanceCreditSpecificationsRequest request) {request = beforeClientExecution(request);return executeDescribeInstanceCreditSpecifications(request);}
[ "public", "DescribeInstanceCreditSpecificationsResult", "describeInstanceCreditSpecifications", "(", "DescribeInstanceCreditSpecificationsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeInstanceCreditSpecifications", "(", "request", ")", ";", "}" ]
public virtual DescribeInstanceCreditSpecificationsResponse DescribeInstanceCreditSpecifications(DescribeInstanceCreditSpecificationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeInstanceCreditSpecificationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeInstanceCreditSpecificationsResponseUnmarshaller.Instance;return Invoke<DescribeInstanceCreditSpecificationsResponse>(request, options);}
train
true
4,006
public GetSendQuotaResult getSendQuota() {return getSendQuota(new GetSendQuotaRequest());}
[ "public", "GetSendQuotaResult", "getSendQuota", "(", ")", "{", "return", "getSendQuota", "(", "new", "GetSendQuotaRequest", "(", ")", ")", ";", "}" ]
public virtual GetSendQuotaResponse GetSendQuota(){return GetSendQuota(new GetSendQuotaRequest());}
train
false
4,007
public String toString() {return "TERM: " + brToString(termBytes);}
[ "public", "String", "toString", "(", ")", "{", "return", "\"TERM: \"", "+", "brToString", "(", "termBytes", ")", ";", "}" ]
public override string ToString(){return Term.Utf8ToString();}
train
false
4,008
public ListFacetNamesResult listFacetNames(ListFacetNamesRequest request) {request = beforeClientExecution(request);return executeListFacetNames(request);}
[ "public", "ListFacetNamesResult", "listFacetNames", "(", "ListFacetNamesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListFacetNames", "(", "request", ")", ";", "}" ]
public virtual ListFacetNamesResponse ListFacetNames(ListFacetNamesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListFacetNamesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListFacetNamesResponseUnmarshaller.Instance;return Invoke<ListFacetNamesResponse>(request, options);}
train
true
4,009
public PlainValueCellCacheEntry(ValueEval value) {updateValue(value);}
[ "public", "PlainValueCellCacheEntry", "(", "ValueEval", "value", ")", "{", "updateValue", "(", "value", ")", ";", "}" ]
public PlainValueCellCacheEntry(ValueEval value){UpdateValue(value);}
train
false
4,010
public PutEmailIdentityFeedbackAttributesResult putEmailIdentityFeedbackAttributes(PutEmailIdentityFeedbackAttributesRequest request) {request = beforeClientExecution(request);return executePutEmailIdentityFeedbackAttributes(request);}
[ "public", "PutEmailIdentityFeedbackAttributesResult", "putEmailIdentityFeedbackAttributes", "(", "PutEmailIdentityFeedbackAttributesRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executePutEmailIdentityFeedbackAttributes", "(", "request", ")", ";", "}" ]
public virtual PutEmailIdentityFeedbackAttributesResponse PutEmailIdentityFeedbackAttributes(PutEmailIdentityFeedbackAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutEmailIdentityFeedbackAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = PutEmailIdentityFeedbackAttributesResponseUnmarshaller.Instance;return Invoke<PutEmailIdentityFeedbackAttributesResponse>(request, options);}
train
true
4,011
public AbortMultipartUploadRequest(String vaultName, String uploadId) {setVaultName(vaultName);setUploadId(uploadId);}
[ "public", "AbortMultipartUploadRequest", "(", "String", "vaultName", ",", "String", "uploadId", ")", "{", "setVaultName", "(", "vaultName", ")", ";", "setUploadId", "(", "uploadId", ")", ";", "}" ]
public AbortMultipartUploadRequest(string vaultName, string uploadId){_vaultName = vaultName;_uploadId = uploadId;}
train
false
4,012
public ResetDBParameterGroupRequest(String dBParameterGroupName) {setDBParameterGroupName(dBParameterGroupName);}
[ "public", "ResetDBParameterGroupRequest", "(", "String", "dBParameterGroupName", ")", "{", "setDBParameterGroupName", "(", "dBParameterGroupName", ")", ";", "}" ]
public ResetDBParameterGroupRequest(string dbParameterGroupName){_dbParameterGroupName = dbParameterGroupName;}
train
false
4,013
public HSSFClientAnchor createAnchor(int dx1, int dy1, int dx2, int dy2, int col1, int row1, int col2, int row2) {return new HSSFClientAnchor(dx1, dy1, dx2, dy2, (short) col1, row1, (short) col2, row2);}
[ "public", "HSSFClientAnchor", "createAnchor", "(", "int", "dx1", ",", "int", "dy1", ",", "int", "dx2", ",", "int", "dy2", ",", "int", "col1", ",", "int", "row1", ",", "int", "col2", ",", "int", "row2", ")", "{", "return", "new", "HSSFClientAnchor", "(", "dx1", ",", "dy1", ",", "dx2", ",", "dy2", ",", "(", "short", ")", "col1", ",", "row1", ",", "(", "short", ")", "col2", ",", "row2", ")", ";", "}" ]
public IClientAnchor CreateAnchor(int dx1, int dy1, int dx2, int dy2, int col1, int row1, int col2, int row2){return new HSSFClientAnchor(dx1, dy1, dx2, dy2, (short)col1, row1, (short)col2, row2);}
train
false
4,014
public void updateCacheResult(ValueEval result) {int nFrames = _evaluationFrames.size();if (nFrames < 1) {throw new IllegalStateException("Call to endEvaluate without matching call to startEvaluate");}CellEvaluationFrame frame = _evaluationFrames.get(nFrames-1);if (result == ErrorEval.CIRCULAR_REF_ERROR && nFrames > 1) {return;}frame.updateFormulaResult(result);}
[ "public", "void", "updateCacheResult", "(", "ValueEval", "result", ")", "{", "int", "nFrames", "=", "_evaluationFrames", ".", "size", "(", ")", ";", "if", "(", "nFrames", "<", "1", ")", "{", "throw", "new", "IllegalStateException", "(", "\"Call to endEvaluate without matching call to startEvaluate\"", ")", ";", "}", "CellEvaluationFrame", "frame", "=", "_evaluationFrames", ".", "get", "(", "nFrames", "-", "1", ")", ";", "if", "(", "result", "==", "ErrorEval", ".", "CIRCULAR_REF_ERROR", "&&", "nFrames", ">", "1", ")", "{", "return", ";", "}", "frame", ".", "updateFormulaResult", "(", "result", ")", ";", "}" ]
public void UpdateCacheResult(ValueEval result){int nFrames = _evaluationFrames.Count;if (nFrames < 1){throw new InvalidOperationException("Call To endEvaluate without matching call To startEvaluate");}CellEvaluationFrame frame = (CellEvaluationFrame)_evaluationFrames[nFrames - 1];frame.UpdateFormulaResult(result);}
train
false
4,015
public Enumeration<String> keys() {return new Iterator();}
[ "public", "Enumeration", "<", "String", ">", "keys", "(", ")", "{", "return", "new", "Iterator", "(", ")", ";", "}" ]
public virtual IEnumerator<string> Keys(){return new Iterator(this);}
train
false
4,016
public void fromRaw(int[] ints) {fromRaw(ints, 0);}
[ "public", "void", "fromRaw", "(", "int", "[", "]", "ints", ")", "{", "fromRaw", "(", "ints", ",", "0", ")", ";", "}" ]
public virtual void FromRaw(byte[] bs){FromRaw(bs, 0);}
train
false
4,017
public int[] init() {final int[] ord = super.init();start = new int[ArrayUtil.oversize(ord.length, Integer.BYTES)];end = new int[ArrayUtil.oversize(ord.length, Integer.BYTES)];freq = new int[ArrayUtil.oversize(ord.length, Integer.BYTES)];assert start.length >= ord.length;assert end.length >= ord.length;assert freq.length >= ord.length;return ord;}
[ "public", "int", "[", "]", "init", "(", ")", "{", "final", "int", "[", "]", "ord", "=", "super", ".", "init", "(", ")", ";", "start", "=", "new", "int", "[", "ArrayUtil", ".", "oversize", "(", "ord", ".", "length", ",", "Integer", ".", "BYTES", ")", "]", ";", "end", "=", "new", "int", "[", "ArrayUtil", ".", "oversize", "(", "ord", ".", "length", ",", "Integer", ".", "BYTES", ")", "]", ";", "freq", "=", "new", "int", "[", "ArrayUtil", ".", "oversize", "(", "ord", ".", "length", ",", "Integer", ".", "BYTES", ")", "]", ";", "assert", "start", ".", "length", ">=", "ord", ".", "length", ";", "assert", "end", ".", "length", ">=", "ord", ".", "length", ";", "assert", "freq", ".", "length", ">=", "ord", ".", "length", ";", "return", "ord", ";", "}" ]
public override int[] Init(){int[] ord = base.Init();start = new int[ArrayUtil.Oversize(ord.Length, RamUsageEstimator.NUM_BYTES_INT32)];end = new int[ArrayUtil.Oversize(ord.Length, RamUsageEstimator.NUM_BYTES_INT32)];freq = new int[ArrayUtil.Oversize(ord.Length, RamUsageEstimator.NUM_BYTES_INT32)];Debug.Assert(start.Length >= ord.Length);Debug.Assert(end.Length >= ord.Length);Debug.Assert(freq.Length >= ord.Length);return ord;}
train
false
4,018
public boolean addFetchRefSpec(RefSpec s) {if (fetch.contains(s))return false;return fetch.add(s);}
[ "public", "boolean", "addFetchRefSpec", "(", "RefSpec", "s", ")", "{", "if", "(", "fetch", ".", "contains", "(", "s", ")", ")", "return", "false", ";", "return", "fetch", ".", "add", "(", "s", ")", ";", "}" ]
public virtual bool AddFetchRefSpec(RefSpec s){if (fetch.Contains(s)){return false;}return fetch.AddItem(s);}
train
false
4,019
public char setIndex(int location) {if (location < start || location > end) {throw new IllegalArgumentException();}offset = location;if (offset == end) {return DONE;}return string.charAt(offset);}
[ "public", "char", "setIndex", "(", "int", "location", ")", "{", "if", "(", "location", "<", "start", "||", "location", ">", "end", ")", "{", "throw", "new", "IllegalArgumentException", "(", ")", ";", "}", "offset", "=", "location", ";", "if", "(", "offset", "==", "end", ")", "{", "return", "DONE", ";", "}", "return", "string", ".", "charAt", "(", "offset", ")", ";", "}" ]
public char setIndex(int location){if (location < start || location > end){throw new System.ArgumentException();}offset = location;if (offset == end){return java.text.CharacterIteratorClass.DONE;}return @string[offset];}
train
true
4,020
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[ITERATION]\n");buffer.append(" .flags = ").append(HexDump.shortToHex(_flags)).append("\n");buffer.append("[/ITERATION]\n");return buffer.toString();}
[ "public", "String", "toString", "(", ")", "{", "StringBuilder", "buffer", "=", "new", "StringBuilder", "(", ")", ";", "buffer", ".", "append", "(", "\"[ITERATION]\\n\"", ")", ";", "buffer", ".", "append", "(", "\" .flags = \"", ")", ".", "append", "(", "HexDump", ".", "shortToHex", "(", "_flags", ")", ")", ".", "append", "(", "\"\\n\"", ")", ";", "buffer", ".", "append", "(", "\"[/ITERATION]\\n\"", ")", ";", "return", "buffer", ".", "toString", "(", ")", ";", "}" ]
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[ITERATION]\n");buffer.Append(" .flags = ").Append(HexDump.ShortToHex(_flags)).Append("\n");buffer.Append("[/ITERATION]\n");return buffer.ToString();}
train
false
4,021
public LogByteSizeMergePolicy() {minMergeSize = (long) (DEFAULT_MIN_MERGE_MB*1024*1024);maxMergeSize = (long) (DEFAULT_MAX_MERGE_MB*1024*1024);maxMergeSizeForForcedMerge = (long) (DEFAULT_MAX_MERGE_MB_FOR_FORCED_MERGE*1024*1024);}
[ "public", "LogByteSizeMergePolicy", "(", ")", "{", "minMergeSize", "=", "(", "long", ")", "(", "DEFAULT_MIN_MERGE_MB", "*", "1024", "*", "1024", ")", ";", "maxMergeSize", "=", "(", "long", ")", "(", "DEFAULT_MAX_MERGE_MB", "*", "1024", "*", "1024", ")", ";", "maxMergeSizeForForcedMerge", "=", "(", "long", ")", "(", "DEFAULT_MAX_MERGE_MB_FOR_FORCED_MERGE", "*", "1024", "*", "1024", ")", ";", "}" ]
public LogByteSizeMergePolicy(){m_minMergeSize = (long)(DEFAULT_MIN_MERGE_MB * 1024 * 1024);m_maxMergeSize = (long)(DEFAULT_MAX_MERGE_MB * 1024 * 1024);m_maxMergeSizeForForcedMerge = long.MaxValue;}
train
false
4,022
public DescribeNetworkInterfacePermissionsResult describeNetworkInterfacePermissions(DescribeNetworkInterfacePermissionsRequest request) {request = beforeClientExecution(request);return executeDescribeNetworkInterfacePermissions(request);}
[ "public", "DescribeNetworkInterfacePermissionsResult", "describeNetworkInterfacePermissions", "(", "DescribeNetworkInterfacePermissionsRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeNetworkInterfacePermissions", "(", "request", ")", ";", "}" ]
public virtual DescribeNetworkInterfacePermissionsResponse DescribeNetworkInterfacePermissions(DescribeNetworkInterfacePermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeNetworkInterfacePermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeNetworkInterfacePermissionsResponseUnmarshaller.Instance;return Invoke<DescribeNetworkInterfacePermissionsResponse>(request, options);}
train
true
4,023
public String toString() {return "<wildcard field='" + this.field + "' term='" + this.text + "'/>";}
[ "public", "String", "toString", "(", ")", "{", "return", "\"<wildcard field='\"", "+", "this", ".", "field", "+", "\"' term='\"", "+", "this", ".", "text", "+", "\"'/>\"", ";", "}" ]
public override string ToString(){return "<wildcard field='" + this.m_field + "' term='" + this.m_text + "'/>";}
train
false
4,024
public DeleteImageBuilderResult deleteImageBuilder(DeleteImageBuilderRequest request) {request = beforeClientExecution(request);return executeDeleteImageBuilder(request);}
[ "public", "DeleteImageBuilderResult", "deleteImageBuilder", "(", "DeleteImageBuilderRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDeleteImageBuilder", "(", "request", ")", ";", "}" ]
public virtual DeleteImageBuilderResponse DeleteImageBuilder(DeleteImageBuilderRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteImageBuilderRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteImageBuilderResponseUnmarshaller.Instance;return Invoke<DeleteImageBuilderResponse>(request, options);}
train
true
4,025
public boolean requiresCommitBody() {return requiresCommitBody;}
[ "public", "boolean", "requiresCommitBody", "(", ")", "{", "return", "requiresCommitBody", ";", "}" ]
public override bool RequiresCommitBody(){return requiresCommitBody;}
train
false
4,026
public void removeDocparts() {remove1stProperty(PropertyIDMap.PID_DOCPARTS);}
[ "public", "void", "removeDocparts", "(", ")", "{", "remove1stProperty", "(", "PropertyIDMap", ".", "PID_DOCPARTS", ")", ";", "}" ]
public void RemoveDocparts(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_DOCPARTS);}
train
false
4,027
public DescribeConfigurationSetResult describeConfigurationSet(DescribeConfigurationSetRequest request) {request = beforeClientExecution(request);return executeDescribeConfigurationSet(request);}
[ "public", "DescribeConfigurationSetResult", "describeConfigurationSet", "(", "DescribeConfigurationSetRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeDescribeConfigurationSet", "(", "request", ")", ";", "}" ]
public virtual DescribeConfigurationSetResponse DescribeConfigurationSet(DescribeConfigurationSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeConfigurationSetRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeConfigurationSetResponseUnmarshaller.Instance;return Invoke<DescribeConfigurationSetResponse>(request, options);}
train
true
4,028
public static BufferSize megabytes(long mb) {return new BufferSize(mb * MB);}
[ "public", "static", "BufferSize", "megabytes", "(", "long", "mb", ")", "{", "return", "new", "BufferSize", "(", "mb", "*", "MB", ")", ";", "}" ]
public static BufferSize Megabytes(long mb){return new BufferSize(mb * MB);}
train
false
4,029
public void write(LittleEndianOutput out) {out.writeByte(sid + getPtgClass());out.writeInt(field_1_reserved);}
[ "public", "void", "write", "(", "LittleEndianOutput", "out", ")", "{", "out", ".", "writeByte", "(", "sid", "+", "getPtgClass", "(", ")", ")", ";", "out", ".", "writeInt", "(", "field_1_reserved", ")", ";", "}" ]
public override void Write(ILittleEndianOutput out1){out1.WriteByte(sid + PtgClass);out1.WriteInt(field_1_reserved);}
train
false
4,030
public ListLabelingJobsForWorkteamResult listLabelingJobsForWorkteam(ListLabelingJobsForWorkteamRequest request) {request = beforeClientExecution(request);return executeListLabelingJobsForWorkteam(request);}
[ "public", "ListLabelingJobsForWorkteamResult", "listLabelingJobsForWorkteam", "(", "ListLabelingJobsForWorkteamRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeListLabelingJobsForWorkteam", "(", "request", ")", ";", "}" ]
public virtual ListLabelingJobsForWorkteamResponse ListLabelingJobsForWorkteam(ListLabelingJobsForWorkteamRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListLabelingJobsForWorkteamRequestMarshaller.Instance;options.ResponseUnmarshaller = ListLabelingJobsForWorkteamResponseUnmarshaller.Instance;return Invoke<ListLabelingJobsForWorkteamResponse>(request, options);}
train
true
4,031
public GetKeyPairResult getKeyPair(GetKeyPairRequest request) {request = beforeClientExecution(request);return executeGetKeyPair(request);}
[ "public", "GetKeyPairResult", "getKeyPair", "(", "GetKeyPairRequest", "request", ")", "{", "request", "=", "beforeClientExecution", "(", "request", ")", ";", "return", "executeGetKeyPair", "(", "request", ")", ";", "}" ]
public virtual GetKeyPairResponse GetKeyPair(GetKeyPairRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetKeyPairRequestMarshaller.Instance;options.ResponseUnmarshaller = GetKeyPairResponseUnmarshaller.Instance;return Invoke<GetKeyPairResponse>(request, options);}
train
true
4,032
@Override public boolean isEmpty() {Slice slice = this.slice;return slice.from == slice.to;}
[ "@", "Override", "public", "boolean", "isEmpty", "(", ")", "{", "Slice", "slice", "=", "this", ".", "slice", ";", "return", "slice", ".", "from", "==", "slice", ".", "to", ";", "}" ]
public virtual bool isEmpty(){return elements.Length == 0;}
train
false
4,033
public EveryNTermSelector(int interval) {this.interval = interval;count = interval;}
[ "public", "EveryNTermSelector", "(", "int", "interval", ")", "{", "this", ".", "interval", "=", "interval", ";", "count", "=", "interval", ";", "}" ]
public EveryNTermSelector(int interval){this.interval = interval;count = interval;}
train
false
4,034
public void ReInit(CharStream stream) {token_source.ReInit(stream);token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 25; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();}
[ "public", "void", "ReInit", "(", "CharStream", "stream", ")", "{", "token_source", ".", "ReInit", "(", "stream", ")", ";", "token", "=", "new", "Token", "(", ")", ";", "jj_ntk", "=", "-", "1", ";", "jj_gen", "=", "0", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "25", ";", "i", "++", ")", "jj_la1", "[", "i", "]", "=", "-", "1", ";", "for", "(", "int", "i", "=", "0", ";", "i", "<", "jj_2_rtns", ".", "length", ";", "i", "++", ")", "jj_2_rtns", "[", "i", "]", "=", "new", "JJCalls", "(", ")", ";", "}" ]
public void ReInit(ICharStream stream){TokenSource.ReInit(stream);Token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 28; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();}
train
true
4,035
public DirectTrackingAllocator(int blockSize, Counter bytesUsed) {super(blockSize);this.bytesUsed = bytesUsed;}
[ "public", "DirectTrackingAllocator", "(", "int", "blockSize", ",", "Counter", "bytesUsed", ")", "{", "super", "(", "blockSize", ")", ";", "this", ".", "bytesUsed", "=", "bytesUsed", ";", "}" ]
public DirectTrackingAllocator(int blockSize, Counter bytesUsed): base(blockSize){this.bytesUsed = bytesUsed;}
train
false