id_within_dataset
int64 0
10.3k
| snippet
stringlengths 29
1.4k
| tokens
listlengths 10
314
| cs
stringlengths 28
1.38k
| split_within_dataset
stringclasses 1
value | is_duplicated
bool 2
classes |
|---|---|---|---|---|---|
7,964
|
public DeleteApplicationCloudWatchLoggingOptionResult deleteApplicationCloudWatchLoggingOption(DeleteApplicationCloudWatchLoggingOptionRequest request) {request = beforeClientExecution(request);return executeDeleteApplicationCloudWatchLoggingOption(request);}
|
[
"public",
"DeleteApplicationCloudWatchLoggingOptionResult",
"deleteApplicationCloudWatchLoggingOption",
"(",
"DeleteApplicationCloudWatchLoggingOptionRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDeleteApplicationCloudWatchLoggingOption",
"(",
"request",
")",
";",
"}"
] |
public virtual DeleteApplicationCloudWatchLoggingOptionResponse DeleteApplicationCloudWatchLoggingOption(DeleteApplicationCloudWatchLoggingOptionRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteApplicationCloudWatchLoggingOptionRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteApplicationCloudWatchLoggingOptionResponseUnmarshaller.Instance;return Invoke<DeleteApplicationCloudWatchLoggingOptionResponse>(request, options);}
|
train
| true
|
7,965
|
public FreqProxPostingsArray(int size, boolean writeFreqs, boolean writeProx, boolean writeOffsets) {super(size);if (writeFreqs) {termFreqs = new int[size];}lastDocIDs = new int[size];lastDocCodes = new int[size];if (writeProx) {lastPositions = new int[size];if (writeOffsets) {lastOffsets = new int[size];}} else {assert !writeOffsets;}}
|
[
"public",
"FreqProxPostingsArray",
"(",
"int",
"size",
",",
"boolean",
"writeFreqs",
",",
"boolean",
"writeProx",
",",
"boolean",
"writeOffsets",
")",
"{",
"super",
"(",
"size",
")",
";",
"if",
"(",
"writeFreqs",
")",
"{",
"termFreqs",
"=",
"new",
"int",
"[",
"size",
"]",
";",
"}",
"lastDocIDs",
"=",
"new",
"int",
"[",
"size",
"]",
";",
"lastDocCodes",
"=",
"new",
"int",
"[",
"size",
"]",
";",
"if",
"(",
"writeProx",
")",
"{",
"lastPositions",
"=",
"new",
"int",
"[",
"size",
"]",
";",
"if",
"(",
"writeOffsets",
")",
"{",
"lastOffsets",
"=",
"new",
"int",
"[",
"size",
"]",
";",
"}",
"}",
"else",
"{",
"assert",
"!",
"writeOffsets",
";",
"}",
"}"
] |
public FreqProxPostingsArray(int size, bool writeFreqs, bool writeProx, bool writeOffsets): base(size){if (writeFreqs){termFreqs = new int[size];}lastDocIDs = new int[size];lastDocCodes = new int[size];if (writeProx){lastPositions = new int[size];if (writeOffsets){lastOffsets = new int[size];}}else{Debug.Assert(!writeOffsets);}}
|
train
| false
|
7,966
|
public List<String> matchPrefix(String prefix) {return matchPrefix(prefix, defaultNumReturnValues);}
|
[
"public",
"List",
"<",
"String",
">",
"matchPrefix",
"(",
"String",
"prefix",
")",
"{",
"return",
"matchPrefix",
"(",
"prefix",
",",
"defaultNumReturnValues",
")",
";",
"}"
] |
public virtual IList<string> MatchPrefix(string prefix){return MatchPrefix(prefix, defaultNumReturnValues);}
|
train
| false
|
7,967
|
public DescribeScalingPoliciesResult describeScalingPolicies(DescribeScalingPoliciesRequest request) {request = beforeClientExecution(request);return executeDescribeScalingPolicies(request);}
|
[
"public",
"DescribeScalingPoliciesResult",
"describeScalingPolicies",
"(",
"DescribeScalingPoliciesRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeScalingPolicies",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeScalingPoliciesResponse DescribeScalingPolicies(DescribeScalingPoliciesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeScalingPoliciesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeScalingPoliciesResponseUnmarshaller.Instance;return Invoke<DescribeScalingPoliciesResponse>(request, options);}
|
train
| true
|
7,968
|
public void serialize(LittleEndianOutput out) {out.writeInt(field_1_row_offset);for (short field_2_cell_offset : field_2_cell_offsets) {out.writeShort(field_2_cell_offset);}}
|
[
"public",
"void",
"serialize",
"(",
"LittleEndianOutput",
"out",
")",
"{",
"out",
".",
"writeInt",
"(",
"field_1_row_offset",
")",
";",
"for",
"(",
"short",
"field_2_cell_offset",
":",
"field_2_cell_offsets",
")",
"{",
"out",
".",
"writeShort",
"(",
"field_2_cell_offset",
")",
";",
"}",
"}"
] |
public override void Serialize(ILittleEndianOutput out1){out1.WriteInt(field_1_row_offset);for (int k = 0; k < field_2_cell_offsets.Length; k++){out1.WriteShort(field_2_cell_offsets[k]);}}
|
train
| false
|
7,969
|
public UserSViewBegin(RecordInputStream in) {_rawData = in.readRemainder();}
|
[
"public",
"UserSViewBegin",
"(",
"RecordInputStream",
"in",
")",
"{",
"_rawData",
"=",
"in",
".",
"readRemainder",
"(",
")",
";",
"}"
] |
public UserSViewBegin(RecordInputStream in1){_rawData = in1.ReadRemainder();}
|
train
| false
|
7,970
|
public static RevFilter create(String pattern) {if (pattern.length() == 0)throw new IllegalArgumentException(JGitText.get().cannotMatchOnEmptyString);if (SubStringRevFilter.safe(pattern))return new SubStringSearch(pattern);return new PatternSearch(pattern);}
|
[
"public",
"static",
"RevFilter",
"create",
"(",
"String",
"pattern",
")",
"{",
"if",
"(",
"pattern",
".",
"length",
"(",
")",
"==",
"0",
")",
"throw",
"new",
"IllegalArgumentException",
"(",
"JGitText",
".",
"get",
"(",
")",
".",
"cannotMatchOnEmptyString",
")",
";",
"if",
"(",
"SubStringRevFilter",
".",
"safe",
"(",
"pattern",
")",
")",
"return",
"new",
"SubStringSearch",
"(",
"pattern",
")",
";",
"return",
"new",
"PatternSearch",
"(",
"pattern",
")",
";",
"}"
] |
public static RevFilter Create(string pattern){if (pattern.Length == 0){throw new ArgumentException(JGitText.Get().cannotMatchOnEmptyString);}if (SubStringRevFilter.Safe(pattern)){return new CommitterRevFilter.SubStringSearch(pattern);}return new CommitterRevFilter.PatternSearch(pattern);}
|
train
| false
|
7,971
|
public void serialize(LittleEndianOutput out) {out.writeShort(getFontHeight());out.writeShort(getAttributes());out.writeShort(getColorPaletteIndex());out.writeShort(getBoldWeight());out.writeShort(getSuperSubScript());out.writeByte(getUnderline());out.writeByte(getFamily());out.writeByte(getCharset());out.writeByte(field_9_zero);int fontNameLen = field_11_font_name.length();out.writeByte(fontNameLen);boolean hasMultibyte = StringUtil.hasMultibyte(field_11_font_name);out.writeByte(hasMultibyte ? 0x01 : 0x00);if (fontNameLen > 0) {if (hasMultibyte) {StringUtil.putUnicodeLE(field_11_font_name, out);} else {StringUtil.putCompressedUnicode(field_11_font_name, out);}}}
|
[
"public",
"void",
"serialize",
"(",
"LittleEndianOutput",
"out",
")",
"{",
"out",
".",
"writeShort",
"(",
"getFontHeight",
"(",
")",
")",
";",
"out",
".",
"writeShort",
"(",
"getAttributes",
"(",
")",
")",
";",
"out",
".",
"writeShort",
"(",
"getColorPaletteIndex",
"(",
")",
")",
";",
"out",
".",
"writeShort",
"(",
"getBoldWeight",
"(",
")",
")",
";",
"out",
".",
"writeShort",
"(",
"getSuperSubScript",
"(",
")",
")",
";",
"out",
".",
"writeByte",
"(",
"getUnderline",
"(",
")",
")",
";",
"out",
".",
"writeByte",
"(",
"getFamily",
"(",
")",
")",
";",
"out",
".",
"writeByte",
"(",
"getCharset",
"(",
")",
")",
";",
"out",
".",
"writeByte",
"(",
"field_9_zero",
")",
";",
"int",
"fontNameLen",
"=",
"field_11_font_name",
".",
"length",
"(",
")",
";",
"out",
".",
"writeByte",
"(",
"fontNameLen",
")",
";",
"boolean",
"hasMultibyte",
"=",
"StringUtil",
".",
"hasMultibyte",
"(",
"field_11_font_name",
")",
";",
"out",
".",
"writeByte",
"(",
"hasMultibyte",
"?",
"0x01",
":",
"0x00",
")",
";",
"if",
"(",
"fontNameLen",
">",
"0",
")",
"{",
"if",
"(",
"hasMultibyte",
")",
"{",
"StringUtil",
".",
"putUnicodeLE",
"(",
"field_11_font_name",
",",
"out",
")",
";",
"}",
"else",
"{",
"StringUtil",
".",
"putCompressedUnicode",
"(",
"field_11_font_name",
",",
"out",
")",
";",
"}",
"}",
"}"
] |
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(FontHeight);out1.WriteShort(Attributes);out1.WriteShort(ColorPaletteIndex);out1.WriteShort(BoldWeight);out1.WriteShort((int) SuperSubScript);out1.WriteByte((int) Underline);out1.WriteByte(Family);out1.WriteByte(Charset);out1.WriteByte(field_9_zero);int fontNameLen = field_11_font_name.Length;out1.WriteByte(fontNameLen);bool hasMultibyte = StringUtil.HasMultibyte(field_11_font_name);out1.WriteByte(hasMultibyte ? 0x01 : 0x00);if (fontNameLen > 0){if (hasMultibyte){StringUtil.PutUnicodeLE(field_11_font_name, out1);}else{StringUtil.PutCompressedUnicode(field_11_font_name, out1);}}}
|
train
| false
|
7,972
|
public DescribeLaunchConfigurationsResult describeLaunchConfigurations(DescribeLaunchConfigurationsRequest request) {request = beforeClientExecution(request);return executeDescribeLaunchConfigurations(request);}
|
[
"public",
"DescribeLaunchConfigurationsResult",
"describeLaunchConfigurations",
"(",
"DescribeLaunchConfigurationsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeLaunchConfigurations",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeLaunchConfigurationsResponse DescribeLaunchConfigurations(DescribeLaunchConfigurationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeLaunchConfigurationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeLaunchConfigurationsResponseUnmarshaller.Instance;return Invoke<DescribeLaunchConfigurationsResponse>(request, options);}
|
train
| true
|
7,973
|
public PathEdit(DirCacheEntry ent) {path = ent.path;}
|
[
"public",
"PathEdit",
"(",
"DirCacheEntry",
"ent",
")",
"{",
"path",
"=",
"ent",
".",
"path",
";",
"}"
] |
public PathEdit(DirCacheEntry ent){path = ent.path;}
|
train
| false
|
7,974
|
public static int toCodePoints(char[] src, int srcOff, int srcLen, int[] dest, int destOff) {if (srcLen < 0) {throw new IllegalArgumentException("srcLen must be >= 0");}int codePointCount = 0;for (int i = 0; i < srcLen; ) {final int cp = Character.codePointAt(src, srcOff + i, srcOff + srcLen);final int charCount = Character.charCount(cp);dest[destOff + codePointCount++] = cp;i += charCount;}return codePointCount;}
|
[
"public",
"static",
"int",
"toCodePoints",
"(",
"char",
"[",
"]",
"src",
",",
"int",
"srcOff",
",",
"int",
"srcLen",
",",
"int",
"[",
"]",
"dest",
",",
"int",
"destOff",
")",
"{",
"if",
"(",
"srcLen",
"<",
"0",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"srcLen must be >= 0\"",
")",
";",
"}",
"int",
"codePointCount",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"srcLen",
";",
")",
"{",
"final",
"int",
"cp",
"=",
"Character",
".",
"codePointAt",
"(",
"src",
",",
"srcOff",
"+",
"i",
",",
"srcOff",
"+",
"srcLen",
")",
";",
"final",
"int",
"charCount",
"=",
"Character",
".",
"charCount",
"(",
"cp",
")",
";",
"dest",
"[",
"destOff",
"+",
"codePointCount",
"++",
"]",
"=",
"cp",
";",
"i",
"+=",
"charCount",
";",
"}",
"return",
"codePointCount",
";",
"}"
] |
public int ToCodePoints(char[] src, int srcOff, int srcLen, int[] dest, int destOff){if (srcLen < 0){throw new ArgumentException("srcLen must be >= 0");}int codePointCount = 0;for (int i = 0; i < srcLen; ){int cp = CodePointAt(src, srcOff + i, srcOff + srcLen);int charCount = Character.CharCount(cp);dest[destOff + codePointCount++] = cp;i += charCount;}return codePointCount;}
|
train
| true
|
7,975
|
public boolean hasNext() {return remaining != 0;}
|
[
"public",
"boolean",
"hasNext",
"(",
")",
"{",
"return",
"remaining",
"!=",
"0",
";",
"}"
] |
public virtual bool hasNext(){return this.remaining != 0;}
|
train
| false
|
7,976
|
public void consume() {if (LA(1) == IntStream.EOF) {throw new IllegalStateException("cannot consume EOF");}lastChar = data[p]; if (p == n-1 && numMarkers==0) {n = 0;p = -1; lastCharBufferStart = lastChar;}p++;currentCharIndex++;sync(1);}
|
[
"public",
"void",
"consume",
"(",
")",
"{",
"if",
"(",
"LA",
"(",
"1",
")",
"==",
"IntStream",
".",
"EOF",
")",
"{",
"throw",
"new",
"IllegalStateException",
"(",
"\"cannot consume EOF\"",
")",
";",
"}",
"lastChar",
"=",
"data",
"[",
"p",
"]",
";",
"if",
"(",
"p",
"==",
"n",
"-",
"1",
"&&",
"numMarkers",
"==",
"0",
")",
"{",
"n",
"=",
"0",
";",
"p",
"=",
"-",
"1",
";",
"lastCharBufferStart",
"=",
"lastChar",
";",
"}",
"p",
"++",
";",
"currentCharIndex",
"++",
";",
"sync",
"(",
"1",
")",
";",
"}"
] |
public virtual void Consume(){if (LA(1) == IntStreamConstants.EOF){throw new InvalidOperationException("cannot consume EOF");}lastChar = data[p];if (p == n - 1 && numMarkers == 0){n = 0;p = -1;lastCharBufferStart = lastChar;}p++;currentCharIndex++;Sync(1);}
|
train
| false
|
7,977
|
public FileOutputStream(String path) throws FileNotFoundException {this(path, false);}
|
[
"public",
"FileOutputStream",
"(",
"String",
"path",
")",
"throws",
"FileNotFoundException",
"{",
"this",
"(",
"path",
",",
"false",
")",
";",
"}"
] |
public FileOutputStream(string path) : this(path, false){throw new System.NotImplementedException();}
|
train
| false
|
7,978
|
public FieldConfig(String fieldName) {if (fieldName == null) {throw new IllegalArgumentException("field name must not be null!");}this.fieldName = fieldName;}
|
[
"public",
"FieldConfig",
"(",
"String",
"fieldName",
")",
"{",
"if",
"(",
"fieldName",
"==",
"null",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"field name must not be null!\"",
")",
";",
"}",
"this",
".",
"fieldName",
"=",
"fieldName",
";",
"}"
] |
public FieldConfig(string fieldName){if (fieldName == null){throw new ArgumentException("field name should not be null!");}this.fieldName = fieldName;}
|
train
| false
|
7,979
|
public TokenFilter create(TokenStream input) {return new NGramTokenFilter(input, minGramSize, maxGramSize, preserveOriginal);}
|
[
"public",
"TokenFilter",
"create",
"(",
"TokenStream",
"input",
")",
"{",
"return",
"new",
"NGramTokenFilter",
"(",
"input",
",",
"minGramSize",
",",
"maxGramSize",
",",
"preserveOriginal",
")",
";",
"}"
] |
public override TokenStream Create(TokenStream input){return new NGramTokenFilter(m_luceneMatchVersion, input, minGramSize, maxGramSize);}
|
train
| false
|
7,980
|
public DescribeCacheParameterGroupsResult describeCacheParameterGroups(DescribeCacheParameterGroupsRequest request) {request = beforeClientExecution(request);return executeDescribeCacheParameterGroups(request);}
|
[
"public",
"DescribeCacheParameterGroupsResult",
"describeCacheParameterGroups",
"(",
"DescribeCacheParameterGroupsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeCacheParameterGroups",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeCacheParameterGroupsResponse DescribeCacheParameterGroups(DescribeCacheParameterGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeCacheParameterGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeCacheParameterGroupsResponseUnmarshaller.Instance;return Invoke<DescribeCacheParameterGroupsResponse>(request, options);}
|
train
| true
|
7,981
|
public ApostropheFilter(TokenStream in) {super(in);}
|
[
"public",
"ApostropheFilter",
"(",
"TokenStream",
"in",
")",
"{",
"super",
"(",
"in",
")",
";",
"}"
] |
public ApostropheFilter(TokenStream @in): base(@in){termAtt = AddAttribute<ICharTermAttribute>();}
|
train
| false
|
7,983
|
public StringBuilder append(Object obj) {if (obj == null) {appendNull();} else {append0(obj.toString());}return this;}
|
[
"public",
"StringBuilder",
"append",
"(",
"Object",
"obj",
")",
"{",
"if",
"(",
"obj",
"==",
"null",
")",
"{",
"appendNull",
"(",
")",
";",
"}",
"else",
"{",
"append0",
"(",
"obj",
".",
"toString",
"(",
")",
")",
";",
"}",
"return",
"this",
";",
"}"
] |
public java.lang.StringBuilder append(object obj){if (obj == null){appendNull();}else{append0(obj.ToString());}return this;}
|
train
| false
|
7,984
|
public ListGatewayGroupsResult listGatewayGroups(ListGatewayGroupsRequest request) {request = beforeClientExecution(request);return executeListGatewayGroups(request);}
|
[
"public",
"ListGatewayGroupsResult",
"listGatewayGroups",
"(",
"ListGatewayGroupsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeListGatewayGroups",
"(",
"request",
")",
";",
"}"
] |
public virtual ListGatewayGroupsResponse ListGatewayGroups(ListGatewayGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListGatewayGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListGatewayGroupsResponseUnmarshaller.Instance;return Invoke<ListGatewayGroupsResponse>(request, options);}
|
train
| true
|
7,985
|
public AlibabaCloudCredentials getCredentials() throws ClientException {if (credentials == null || credentials.isExpired()) {ecsMetadataServiceFetchCount += 1;int maxRetryTimes = MAX_ECS_METADATA_FETCH_RETRY_TIMES;credentials = fetcher.fetch(maxRetryTimes);} else if (credentials.willSoonExpire() && credentials.shouldRefresh()) {try {ecsMetadataServiceFetchCount += 1;credentials = fetcher.fetch();} catch (ClientException e) {credentials.setLastFailedRefreshTime();}}return credentials;}
|
[
"public",
"AlibabaCloudCredentials",
"getCredentials",
"(",
")",
"throws",
"ClientException",
"{",
"if",
"(",
"credentials",
"==",
"null",
"||",
"credentials",
".",
"isExpired",
"(",
")",
")",
"{",
"ecsMetadataServiceFetchCount",
"+=",
"1",
";",
"int",
"maxRetryTimes",
"=",
"MAX_ECS_METADATA_FETCH_RETRY_TIMES",
";",
"credentials",
"=",
"fetcher",
".",
"fetch",
"(",
"maxRetryTimes",
")",
";",
"}",
"else",
"if",
"(",
"credentials",
".",
"willSoonExpire",
"(",
")",
"&&",
"credentials",
".",
"shouldRefresh",
"(",
")",
")",
"{",
"try",
"{",
"ecsMetadataServiceFetchCount",
"+=",
"1",
";",
"credentials",
"=",
"fetcher",
".",
"fetch",
"(",
")",
";",
"}",
"catch",
"(",
"ClientException",
"e",
")",
"{",
"credentials",
".",
"setLastFailedRefreshTime",
"(",
")",
";",
"}",
"}",
"return",
"credentials",
";",
"}"
] |
public virtual AlibabaCloudCredentials GetCredentials(){try{if (credentials == null){credentials = fetcher.Fetch(maxRetryTimes);}if (credentials.IsExpired()){throw new ClientException("SDK.SessionTokenExpired", "Current session token has expired.");}if (!credentials.WillSoonExpire() || !credentials.ShouldRefresh()){return credentials;}credentials = fetcher.Fetch();return credentials;}catch (ClientException ex){if (ex.ErrorCode.Equals("SDK.SessionTokenExpired") &&ex.ErrorMessage.Equals("Current session token has expired.")){CommonLog.LogException(ex, ex.ErrorCode, ex.ErrorMessage);throw new ClientException(ex.ErrorCode, ex.ErrorMessage);}credentials.SetLastFailedRefreshTime();}return credentials;}
|
train
| false
|
7,986
|
public DescribeVpnConnectionsResult describeVpnConnections(DescribeVpnConnectionsRequest request) {request = beforeClientExecution(request);return executeDescribeVpnConnections(request);}
|
[
"public",
"DescribeVpnConnectionsResult",
"describeVpnConnections",
"(",
"DescribeVpnConnectionsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeVpnConnections",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeVpnConnectionsResponse DescribeVpnConnections(DescribeVpnConnectionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeVpnConnectionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeVpnConnectionsResponseUnmarshaller.Instance;return Invoke<DescribeVpnConnectionsResponse>(request, options);}
|
train
| true
|
7,987
|
public ByteBuffer put(byte[] src, int srcOffset, int byteCount) {checkPutBounds(1, src.length, srcOffset, byteCount);System.arraycopy(src, srcOffset, backingArray, offset + position, byteCount);position += byteCount;return this;}
|
[
"public",
"ByteBuffer",
"put",
"(",
"byte",
"[",
"]",
"src",
",",
"int",
"srcOffset",
",",
"int",
"byteCount",
")",
"{",
"checkPutBounds",
"(",
"1",
",",
"src",
".",
"length",
",",
"srcOffset",
",",
"byteCount",
")",
";",
"System",
".",
"arraycopy",
"(",
"src",
",",
"srcOffset",
",",
"backingArray",
",",
"offset",
"+",
"position",
",",
"byteCount",
")",
";",
"position",
"+=",
"byteCount",
";",
"return",
"this",
";",
"}"
] |
public override java.nio.ByteBuffer put(byte[] src, int srcOffset, int byteCount){checkPutBounds(1, src.Length, srcOffset, byteCount);System.Array.Copy(src, srcOffset, backingArray, offset + _position, byteCount);_position += byteCount;return this;}
|
train
| false
|
7,988
|
public ListDistributionsResult listDistributions(ListDistributionsRequest request) {request = beforeClientExecution(request);return executeListDistributions(request);}
|
[
"public",
"ListDistributionsResult",
"listDistributions",
"(",
"ListDistributionsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeListDistributions",
"(",
"request",
")",
";",
"}"
] |
public virtual ListDistributionsResponse ListDistributions(ListDistributionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDistributionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDistributionsResponseUnmarshaller.Instance;return Invoke<ListDistributionsResponse>(request, options);}
|
train
| true
|
7,989
|
public String getName() {if (params==null) {return name;}return new StringBuilder(name).append('(').append(params).append(')').toString();}
|
[
"public",
"String",
"getName",
"(",
")",
"{",
"if",
"(",
"params",
"==",
"null",
")",
"{",
"return",
"name",
";",
"}",
"return",
"new",
"StringBuilder",
"(",
"name",
")",
".",
"append",
"(",
"'('",
")",
".",
"append",
"(",
"params",
")",
".",
"append",
"(",
"')'",
")",
".",
"toString",
"(",
")",
";",
"}"
] |
public virtual string GetName(){if (m_params == null){return name;}return new StringBuilder(name).Append('(').Append(m_params).Append(')').ToString();}
|
train
| false
|
7,990
|
public DescribeTasksResult describeTasks(DescribeTasksRequest request) {request = beforeClientExecution(request);return executeDescribeTasks(request);}
|
[
"public",
"DescribeTasksResult",
"describeTasks",
"(",
"DescribeTasksRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeTasks",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeTasksResponse DescribeTasks(DescribeTasksRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTasksRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTasksResponseUnmarshaller.Instance;return Invoke<DescribeTasksResponse>(request, options);}
|
train
| true
|
7,991
|
public DescribeCacheSubnetGroupsResult describeCacheSubnetGroups() {return describeCacheSubnetGroups(new DescribeCacheSubnetGroupsRequest());}
|
[
"public",
"DescribeCacheSubnetGroupsResult",
"describeCacheSubnetGroups",
"(",
")",
"{",
"return",
"describeCacheSubnetGroups",
"(",
"new",
"DescribeCacheSubnetGroupsRequest",
"(",
")",
")",
";",
"}"
] |
public virtual DescribeCacheSubnetGroupsResponse DescribeCacheSubnetGroups(){return DescribeCacheSubnetGroups(new DescribeCacheSubnetGroupsRequest());}
|
train
| false
|
7,992
|
public float get() {if (position == limit) {throw new BufferUnderflowException();}return byteBuffer.getFloat(position++ * SizeOf.FLOAT);}
|
[
"public",
"float",
"get",
"(",
")",
"{",
"if",
"(",
"position",
"==",
"limit",
")",
"{",
"throw",
"new",
"BufferUnderflowException",
"(",
")",
";",
"}",
"return",
"byteBuffer",
".",
"getFloat",
"(",
"position",
"++",
"*",
"SizeOf",
".",
"FLOAT",
")",
";",
"}"
] |
public override float get(){if (_position == _limit){throw new java.nio.BufferUnderflowException();}return byteBuffer.getFloat(_position++ * libcore.io.SizeOf.FLOAT);}
|
train
| false
|
7,993
|
public ShowNoteCommand setNotesRef(String notesRef) {checkCallable();this.notesRef = notesRef;return this;}
|
[
"public",
"ShowNoteCommand",
"setNotesRef",
"(",
"String",
"notesRef",
")",
"{",
"checkCallable",
"(",
")",
";",
"this",
".",
"notesRef",
"=",
"notesRef",
";",
"return",
"this",
";",
"}"
] |
public virtual NGit.Api.ShowNoteCommand SetNotesRef(string notesRef){CheckCallable();this.notesRef = notesRef;return this;}
|
train
| false
|
7,994
|
public UpdateAuthorizerResult updateAuthorizer(UpdateAuthorizerRequest request) {request = beforeClientExecution(request);return executeUpdateAuthorizer(request);}
|
[
"public",
"UpdateAuthorizerResult",
"updateAuthorizer",
"(",
"UpdateAuthorizerRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeUpdateAuthorizer",
"(",
"request",
")",
";",
"}"
] |
public virtual UpdateAuthorizerResponse UpdateAuthorizer(UpdateAuthorizerRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateAuthorizerRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateAuthorizerResponseUnmarshaller.Instance;return Invoke<UpdateAuthorizerResponse>(request, options);}
|
train
| true
|
7,995
|
public int ordVal(int doc) throws IOException {throw new UnsupportedOperationException();}
|
[
"public",
"int",
"ordVal",
"(",
"int",
"doc",
")",
"throws",
"IOException",
"{",
"throw",
"new",
"UnsupportedOperationException",
"(",
")",
";",
"}"
] |
public virtual int OrdVal(int doc){throw new System.NotSupportedException();}
|
train
| false
|
7,996
|
public UnknownRecord(RecordInputStream in) {_sid = in.getSid();_rawData = in.readRemainder();}
|
[
"public",
"UnknownRecord",
"(",
"RecordInputStream",
"in",
")",
"{",
"_sid",
"=",
"in",
".",
"getSid",
"(",
")",
";",
"_rawData",
"=",
"in",
".",
"readRemainder",
"(",
")",
";",
"}"
] |
public UnknownRecord(RecordInputStream in1){_sid = in1.Sid;_rawData = in1.ReadRemainder();}
|
train
| false
|
7,997
|
public Matcher reset() {return reset(input, 0, input.length());}
|
[
"public",
"Matcher",
"reset",
"(",
")",
"{",
"return",
"reset",
"(",
"input",
",",
"0",
",",
"input",
".",
"length",
"(",
")",
")",
";",
"}"
] |
public java.util.regex.Matcher reset(){return reset(java.lang.CharSequenceProxy.Wrap(input), 0, input.Length);}
|
train
| false
|
7,998
|
public UpdateApnsVoipSandboxChannelResult updateApnsVoipSandboxChannel(UpdateApnsVoipSandboxChannelRequest request) {request = beforeClientExecution(request);return executeUpdateApnsVoipSandboxChannel(request);}
|
[
"public",
"UpdateApnsVoipSandboxChannelResult",
"updateApnsVoipSandboxChannel",
"(",
"UpdateApnsVoipSandboxChannelRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeUpdateApnsVoipSandboxChannel",
"(",
"request",
")",
";",
"}"
] |
public virtual UpdateApnsVoipSandboxChannelResponse UpdateApnsVoipSandboxChannel(UpdateApnsVoipSandboxChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateApnsVoipSandboxChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateApnsVoipSandboxChannelResponseUnmarshaller.Instance;return Invoke<UpdateApnsVoipSandboxChannelResponse>(request, options);}
|
train
| true
|
7,999
|
public IntervalSet nextTokens(ATNState s, RuleContext ctx) {LL1Analyzer anal = new LL1Analyzer(this);IntervalSet next = anal.LOOK(s, ctx);return next;}
|
[
"public",
"IntervalSet",
"nextTokens",
"(",
"ATNState",
"s",
",",
"RuleContext",
"ctx",
")",
"{",
"LL1Analyzer",
"anal",
"=",
"new",
"LL1Analyzer",
"(",
"this",
")",
";",
"IntervalSet",
"next",
"=",
"anal",
".",
"LOOK",
"(",
"s",
",",
"ctx",
")",
";",
"return",
"next",
";",
"}"
] |
public virtual IntervalSet NextTokens(ATNState s, RuleContext ctx){LL1Analyzer anal = new LL1Analyzer(this);IntervalSet next = anal.Look(s, ctx);return next;}
|
train
| false
|
8,000
|
public ListTablesResult listTables(String exclusiveStartTableName, Integer limit) {return listTables(new ListTablesRequest().withExclusiveStartTableName(exclusiveStartTableName).withLimit(limit));}
|
[
"public",
"ListTablesResult",
"listTables",
"(",
"String",
"exclusiveStartTableName",
",",
"Integer",
"limit",
")",
"{",
"return",
"listTables",
"(",
"new",
"ListTablesRequest",
"(",
")",
".",
"withExclusiveStartTableName",
"(",
"exclusiveStartTableName",
")",
".",
"withLimit",
"(",
"limit",
")",
")",
";",
"}"
] |
public virtual ListTablesResponse ListTables(string exclusiveStartTableName, int limit){var request = new ListTablesRequest();request.ExclusiveStartTableName = exclusiveStartTableName;request.Limit = limit;return ListTables(request);}
|
train
| true
|
8,001
|
public DescribeIdentityResult describeIdentity(DescribeIdentityRequest request) {request = beforeClientExecution(request);return executeDescribeIdentity(request);}
|
[
"public",
"DescribeIdentityResult",
"describeIdentity",
"(",
"DescribeIdentityRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeIdentity",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeIdentityResponse DescribeIdentity(DescribeIdentityRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeIdentityRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeIdentityResponseUnmarshaller.Instance;return Invoke<DescribeIdentityResponse>(request, options);}
|
train
| true
|
8,002
|
final public ArrayList<String> OptionalFields() throws ParseException {Token fieldName;ArrayList<String> fieldNames = null;label_1:while (true) {if (jj_2_1(2)) {;} else {break label_1;}fieldName = jj_consume_token(TERM);jj_consume_token(COLON);if (fieldNames == null) {fieldNames = new ArrayList<String>();}fieldNames.add(fieldName.image);}{if (true) return fieldNames;}throw new Error("Missing return statement in function");}
|
[
"final",
"public",
"ArrayList",
"<",
"String",
">",
"OptionalFields",
"(",
")",
"throws",
"ParseException",
"{",
"Token",
"fieldName",
";",
"ArrayList",
"<",
"String",
">",
"fieldNames",
"=",
"null",
";",
"label_1",
":",
"while",
"(",
"true",
")",
"{",
"if",
"(",
"jj_2_1",
"(",
"2",
")",
")",
"{",
";",
"}",
"else",
"{",
"break",
"label_1",
";",
"}",
"fieldName",
"=",
"jj_consume_token",
"(",
"TERM",
")",
";",
"jj_consume_token",
"(",
"COLON",
")",
";",
"if",
"(",
"fieldNames",
"==",
"null",
")",
"{",
"fieldNames",
"=",
"new",
"ArrayList",
"<",
"String",
">",
"(",
")",
";",
"}",
"fieldNames",
".",
"add",
"(",
"fieldName",
".",
"image",
")",
";",
"}",
"{",
"if",
"(",
"true",
")",
"return",
"fieldNames",
";",
"}",
"throw",
"new",
"Error",
"(",
"\"Missing return statement in function\"",
")",
";",
"}"
] |
public IList<string> OptionalFields(){Token fieldName;IList<string> fieldNames = null;while (true){if (Jj_2_1(2)){;}else{goto label_1;}fieldName = Jj_consume_token(RegexpToken.TERM);Jj_consume_token(RegexpToken.COLON);if (fieldNames == null){fieldNames = new List<string>();}fieldNames.Add(fieldName.Image);}label_1:{ if (true) return fieldNames; }throw new Exception("Missing return statement in function");}
|
train
| false
|
8,003
|
public SubmoduleAddCommand submoduleAdd() {return new SubmoduleAddCommand(repo);}
|
[
"public",
"SubmoduleAddCommand",
"submoduleAdd",
"(",
")",
"{",
"return",
"new",
"SubmoduleAddCommand",
"(",
"repo",
")",
";",
"}"
] |
public virtual SubmoduleAddCommand SubmoduleAdd(){return new SubmoduleAddCommand(repo);}
|
train
| false
|
8,004
|
public DescribeTypeResult describeType(DescribeTypeRequest request) {request = beforeClientExecution(request);return executeDescribeType(request);}
|
[
"public",
"DescribeTypeResult",
"describeType",
"(",
"DescribeTypeRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeType",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeTypeResponse DescribeType(DescribeTypeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTypeRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTypeResponseUnmarshaller.Instance;return Invoke<DescribeTypeResponse>(request, options);}
|
train
| false
|
8,005
|
public UpdateCompanyNetworkConfigurationResult updateCompanyNetworkConfiguration(UpdateCompanyNetworkConfigurationRequest request) {request = beforeClientExecution(request);return executeUpdateCompanyNetworkConfiguration(request);}
|
[
"public",
"UpdateCompanyNetworkConfigurationResult",
"updateCompanyNetworkConfiguration",
"(",
"UpdateCompanyNetworkConfigurationRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeUpdateCompanyNetworkConfiguration",
"(",
"request",
")",
";",
"}"
] |
public virtual UpdateCompanyNetworkConfigurationResponse UpdateCompanyNetworkConfiguration(UpdateCompanyNetworkConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateCompanyNetworkConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateCompanyNetworkConfigurationResponseUnmarshaller.Instance;return Invoke<UpdateCompanyNetworkConfigurationResponse>(request, options);}
|
train
| true
|
8,006
|
public final String get(String name) {for (IndexableField field : fields) {if (field.name().equals(name) && field.stringValue() != null) {return field.stringValue();}}return null;}
|
[
"public",
"final",
"String",
"get",
"(",
"String",
"name",
")",
"{",
"for",
"(",
"IndexableField",
"field",
":",
"fields",
")",
"{",
"if",
"(",
"field",
".",
"name",
"(",
")",
".",
"equals",
"(",
"name",
")",
"&&",
"field",
".",
"stringValue",
"(",
")",
"!=",
"null",
")",
"{",
"return",
"field",
".",
"stringValue",
"(",
")",
";",
"}",
"}",
"return",
"null",
";",
"}"
] |
public string Get(string name){foreach (IIndexableField field in fields){if (field.Name.Equals(name, StringComparison.Ordinal) && field.GetStringValue() != null){return field.GetStringValue();}}return null;}
|
train
| false
|
8,007
|
public boolean equalsSameType(Object other) {assert exists || 0 == value.length();MutableValueStr b = (MutableValueStr)other;return value.get().equals(b.value.get()) && exists == b.exists;}
|
[
"public",
"boolean",
"equalsSameType",
"(",
"Object",
"other",
")",
"{",
"assert",
"exists",
"||",
"0",
"==",
"value",
".",
"length",
"(",
")",
";",
"MutableValueStr",
"b",
"=",
"(",
"MutableValueStr",
")",
"other",
";",
"return",
"value",
".",
"get",
"(",
")",
".",
"equals",
"(",
"b",
".",
"value",
".",
"get",
"(",
")",
")",
"&&",
"exists",
"==",
"b",
".",
"exists",
";",
"}"
] |
public override bool EqualsSameType(object other){MutableValueStr b = (MutableValueStr)other;return Value.Equals(b.Value) && Exists == b.Exists;}
|
train
| false
|
8,008
|
public void read(RecordStream rs) {while (rs.peekNextClass() == MergeCellsRecord.class) {MergeCellsRecord mcr = (MergeCellsRecord) rs.getNext();int nRegions = mcr.getNumAreas();for (int i = 0; i < nRegions; i++) {CellRangeAddress cra = mcr.getAreaAt(i);_mergedRegions.add(cra);}}}
|
[
"public",
"void",
"read",
"(",
"RecordStream",
"rs",
")",
"{",
"while",
"(",
"rs",
".",
"peekNextClass",
"(",
")",
"==",
"MergeCellsRecord",
".",
"class",
")",
"{",
"MergeCellsRecord",
"mcr",
"=",
"(",
"MergeCellsRecord",
")",
"rs",
".",
"getNext",
"(",
")",
";",
"int",
"nRegions",
"=",
"mcr",
".",
"getNumAreas",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"nRegions",
";",
"i",
"++",
")",
"{",
"CellRangeAddress",
"cra",
"=",
"mcr",
".",
"getAreaAt",
"(",
"i",
")",
";",
"_mergedRegions",
".",
"add",
"(",
"cra",
")",
";",
"}",
"}",
"}"
] |
public void Read(RecordStream rs){while (rs.PeekNextClass() == typeof(MergeCellsRecord)){MergeCellsRecord mcr = (MergeCellsRecord)rs.GetNext();int nRegions = mcr.NumAreas;for (int i = 0; i < nRegions; i++){_mergedRegions.Add(mcr.GetAreaAt(i));}}}
|
train
| false
|
8,009
|
public int available() throws IOException {return in.available() / 2 + (lastChar == -1 ? 0 : 1);}
|
[
"public",
"int",
"available",
"(",
")",
"throws",
"IOException",
"{",
"return",
"in",
".",
"available",
"(",
")",
"/",
"2",
"+",
"(",
"lastChar",
"==",
"-",
"1",
"?",
"0",
":",
"1",
")",
";",
"}"
] |
public override int available(){throw new System.NotImplementedException();}
|
train
| false
|
8,010
|
public Status getStatus() {return status;}
|
[
"public",
"Status",
"getStatus",
"(",
")",
"{",
"return",
"status",
";",
"}"
] |
public virtual RemoteRefUpdate.Status GetStatus(){return status;}
|
train
| false
|
8,011
|
public CharSequence[] decompose(CharSequence cmd) {int parts = 0;for (int i = 0; 0 <= i && i < cmd.length();) {int next = dashEven(cmd, i);if (i == next) {parts++;i = next + 2;} else {parts++;i = next;}}CharSequence part[] = new CharSequence[parts];int x = 0;for (int i = 0; 0 <= i && i < cmd.length();) {int next = dashEven(cmd, i);if (i == next) {part[x++] = cmd.subSequence(i, i + 2);i = next + 2;} else {part[x++] = (next < 0) ? cmd.subSequence(i, cmd.length()) : cmd.subSequence(i, next);i = next;}}return part;}
|
[
"public",
"CharSequence",
"[",
"]",
"decompose",
"(",
"CharSequence",
"cmd",
")",
"{",
"int",
"parts",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"0",
"<=",
"i",
"&&",
"i",
"<",
"cmd",
".",
"length",
"(",
")",
";",
")",
"{",
"int",
"next",
"=",
"dashEven",
"(",
"cmd",
",",
"i",
")",
";",
"if",
"(",
"i",
"==",
"next",
")",
"{",
"parts",
"++",
";",
"i",
"=",
"next",
"+",
"2",
";",
"}",
"else",
"{",
"parts",
"++",
";",
"i",
"=",
"next",
";",
"}",
"}",
"CharSequence",
"part",
"[",
"]",
"=",
"new",
"CharSequence",
"[",
"parts",
"]",
";",
"int",
"x",
"=",
"0",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"0",
"<=",
"i",
"&&",
"i",
"<",
"cmd",
".",
"length",
"(",
")",
";",
")",
"{",
"int",
"next",
"=",
"dashEven",
"(",
"cmd",
",",
"i",
")",
";",
"if",
"(",
"i",
"==",
"next",
")",
"{",
"part",
"[",
"x",
"++",
"]",
"=",
"cmd",
".",
"subSequence",
"(",
"i",
",",
"i",
"+",
"2",
")",
";",
"i",
"=",
"next",
"+",
"2",
";",
"}",
"else",
"{",
"part",
"[",
"x",
"++",
"]",
"=",
"(",
"next",
"<",
"0",
")",
"?",
"cmd",
".",
"subSequence",
"(",
"i",
",",
"cmd",
".",
"length",
"(",
")",
")",
":",
"cmd",
".",
"subSequence",
"(",
"i",
",",
"next",
")",
";",
"i",
"=",
"next",
";",
"}",
"}",
"return",
"part",
";",
"}"
] |
public virtual string[] Decompose(string cmd){int parts = 0;for (int i = 0; 0 <= i && i < cmd.Length;){int next = DashEven(cmd, i);if (i == next){parts++;i = next + 2;}else{parts++;i = next;}}string[] part = new string[parts];int x = 0;for (int i = 0; 0 <= i && i < cmd.Length;){int next = DashEven(cmd, i);if (i == next){part[x++] = cmd.Substring(i, 2);i = next + 2;}else{part[x++] = (next < 0) ? cmd.Substring(i, cmd.Length - i) : cmd.Substring(i, next - i);i = next;}}return part;}
|
train
| false
|
8,012
|
public RevokeSecurityGroupIngressRequest(String groupName, java.util.List<IpPermission> ipPermissions) {setGroupName(groupName);setIpPermissions(ipPermissions);}
|
[
"public",
"RevokeSecurityGroupIngressRequest",
"(",
"String",
"groupName",
",",
"java",
".",
"util",
".",
"List",
"<",
"IpPermission",
">",
"ipPermissions",
")",
"{",
"setGroupName",
"(",
"groupName",
")",
";",
"setIpPermissions",
"(",
"ipPermissions",
")",
";",
"}"
] |
public RevokeSecurityGroupIngressRequest(string groupName, List<IpPermission> ipPermissions){_groupName = groupName;_ipPermissions = ipPermissions;}
|
train
| false
|
8,013
|
public Ref remove(Object key) {String name = toRefName((String) key);Ref res = null;int idx;if (0 <= (idx = packed.find(name))) {res = packed.get(name);packed = packed.remove(idx);sizeIsValid = false;}if (0 <= (idx = loose.find(name))) {res = loose.get(name);loose = loose.remove(idx);sizeIsValid = false;}if (0 <= (idx = resolved.find(name))) {res = resolved.get(name);resolved = resolved.remove(idx);sizeIsValid = false;}return res;}
|
[
"public",
"Ref",
"remove",
"(",
"Object",
"key",
")",
"{",
"String",
"name",
"=",
"toRefName",
"(",
"(",
"String",
")",
"key",
")",
";",
"Ref",
"res",
"=",
"null",
";",
"int",
"idx",
";",
"if",
"(",
"0",
"<=",
"(",
"idx",
"=",
"packed",
".",
"find",
"(",
"name",
")",
")",
")",
"{",
"res",
"=",
"packed",
".",
"get",
"(",
"name",
")",
";",
"packed",
"=",
"packed",
".",
"remove",
"(",
"idx",
")",
";",
"sizeIsValid",
"=",
"false",
";",
"}",
"if",
"(",
"0",
"<=",
"(",
"idx",
"=",
"loose",
".",
"find",
"(",
"name",
")",
")",
")",
"{",
"res",
"=",
"loose",
".",
"get",
"(",
"name",
")",
";",
"loose",
"=",
"loose",
".",
"remove",
"(",
"idx",
")",
";",
"sizeIsValid",
"=",
"false",
";",
"}",
"if",
"(",
"0",
"<=",
"(",
"idx",
"=",
"resolved",
".",
"find",
"(",
"name",
")",
")",
")",
"{",
"res",
"=",
"resolved",
".",
"get",
"(",
"name",
")",
";",
"resolved",
"=",
"resolved",
".",
"remove",
"(",
"idx",
")",
";",
"sizeIsValid",
"=",
"false",
";",
"}",
"return",
"res",
";",
"}"
] |
public override Ref Remove(object key){string name = ToRefName((string)key);Ref res = null;int idx;if (0 <= (idx = packed.Find(name))){res = packed.Get(name);packed = packed.Remove(idx);sizeIsValid = false;}if (0 <= (idx = loose.Find(name))){res = loose.Get(name);loose = loose.Remove(idx);sizeIsValid = false;}if (0 <= (idx = resolved.Find(name))){res = resolved.Get(name);resolved = resolved.Remove(idx);sizeIsValid = false;}return res;}
|
train
| false
|
8,014
|
public DescribeMLModelsResult describeMLModels(DescribeMLModelsRequest request) {request = beforeClientExecution(request);return executeDescribeMLModels(request);}
|
[
"public",
"DescribeMLModelsResult",
"describeMLModels",
"(",
"DescribeMLModelsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeMLModels",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeMLModelsResponse DescribeMLModels(DescribeMLModelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeMLModelsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeMLModelsResponseUnmarshaller.Instance;return Invoke<DescribeMLModelsResponse>(request, options);}
|
train
| true
|
8,015
|
public String getInflectionType(int wordId) {return null; }
|
[
"public",
"String",
"getInflectionType",
"(",
"int",
"wordId",
")",
"{",
"return",
"null",
";",
"}"
] |
public string GetInflectionType(int wordId){return null; }
|
train
| false
|
8,016
|
public CreateVolumeRequest(String snapshotId, String availabilityZone) {setSnapshotId(snapshotId);setAvailabilityZone(availabilityZone);}
|
[
"public",
"CreateVolumeRequest",
"(",
"String",
"snapshotId",
",",
"String",
"availabilityZone",
")",
"{",
"setSnapshotId",
"(",
"snapshotId",
")",
";",
"setAvailabilityZone",
"(",
"availabilityZone",
")",
";",
"}"
] |
public CreateVolumeRequest(string availabilityZone, string snapshotId){_availabilityZone = availabilityZone;_snapshotId = snapshotId;}
|
train
| false
|
8,017
|
public DataValidationConstraint createDateConstraint(int operatorType, String formula1, String formula2, String dateFormat) {return DVConstraint.createDateConstraint(operatorType, formula1, formula2, dateFormat);}
|
[
"public",
"DataValidationConstraint",
"createDateConstraint",
"(",
"int",
"operatorType",
",",
"String",
"formula1",
",",
"String",
"formula2",
",",
"String",
"dateFormat",
")",
"{",
"return",
"DVConstraint",
".",
"createDateConstraint",
"(",
"operatorType",
",",
"formula1",
",",
"formula2",
",",
"dateFormat",
")",
";",
"}"
] |
public IDataValidationConstraint CreateDateConstraint(int operatorType, String formula1, String formula2, String dateFormat){return DVConstraint.CreateDateConstraint(operatorType, formula1, formula2, dateFormat);}
|
train
| false
|
8,018
|
public CloneReceiptRuleSetResult cloneReceiptRuleSet(CloneReceiptRuleSetRequest request) {request = beforeClientExecution(request);return executeCloneReceiptRuleSet(request);}
|
[
"public",
"CloneReceiptRuleSetResult",
"cloneReceiptRuleSet",
"(",
"CloneReceiptRuleSetRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCloneReceiptRuleSet",
"(",
"request",
")",
";",
"}"
] |
public virtual CloneReceiptRuleSetResponse CloneReceiptRuleSet(CloneReceiptRuleSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = CloneReceiptRuleSetRequestMarshaller.Instance;options.ResponseUnmarshaller = CloneReceiptRuleSetResponseUnmarshaller.Instance;return Invoke<CloneReceiptRuleSetResponse>(request, options);}
|
train
| true
|
8,019
|
public int getOffsetGap(String fieldName) {return 1;}
|
[
"public",
"int",
"getOffsetGap",
"(",
"String",
"fieldName",
")",
"{",
"return",
"1",
";",
"}"
] |
public virtual int GetOffsetGap(string fieldName){return 1;}
|
train
| false
|
8,020
|
public long hash1(char c) {final long p = 1099511628211L;long hash = 0xcbf29ce484222325L;hash = (hash ^ (c & 0x00FF)) * p;hash = (hash ^ (c >> 8)) * p;hash += hash << 13;hash ^= hash >> 7;hash += hash << 3;hash ^= hash >> 17;hash += hash << 5;return hash;}
|
[
"public",
"long",
"hash1",
"(",
"char",
"c",
")",
"{",
"final",
"long",
"p",
"=",
"1099511628211L",
";",
"long",
"hash",
"=",
"0xcbf29ce484222325L",
";",
"hash",
"=",
"(",
"hash",
"^",
"(",
"c",
"&",
"0x00FF",
")",
")",
"*",
"p",
";",
"hash",
"=",
"(",
"hash",
"^",
"(",
"c",
">",
">",
"8",
")",
")",
"*",
"p",
";",
"hash",
"+=",
"hash",
"<<",
"13",
";",
"hash",
"^=",
"hash",
">",
">",
"7",
";",
"hash",
"+=",
"hash",
"<<",
"3",
";",
"hash",
"^=",
"hash",
">",
">",
"17",
";",
"hash",
"+=",
"hash",
"<<",
"5",
";",
"return",
"hash",
";",
"}"
] |
public virtual long Hash1(char c){long p = 1099511628211L;long hash = unchecked((long)0xcbf29ce484222325L);hash = (hash ^ (c & 0x00FF)) * p;hash = (hash ^ (c >> 8)) * p;hash += hash << 13;hash ^= hash >> 7;hash += hash << 3;hash ^= hash >> 17;hash += hash << 5;return hash;}
|
train
| false
|
8,021
|
public final ByteBuffer order(ByteOrder byteOrder) {orderImpl(byteOrder);return this;}
|
[
"public",
"final",
"ByteBuffer",
"order",
"(",
"ByteOrder",
"byteOrder",
")",
"{",
"orderImpl",
"(",
"byteOrder",
")",
";",
"return",
"this",
";",
"}"
] |
public java.nio.ByteBuffer order(java.nio.ByteOrder byteOrder){orderImpl(byteOrder);return this;}
|
train
| false
|
8,022
|
public DescribeAlarmsForMetricResult describeAlarmsForMetric(DescribeAlarmsForMetricRequest request) {request = beforeClientExecution(request);return executeDescribeAlarmsForMetric(request);}
|
[
"public",
"DescribeAlarmsForMetricResult",
"describeAlarmsForMetric",
"(",
"DescribeAlarmsForMetricRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeAlarmsForMetric",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeAlarmsForMetricResponse DescribeAlarmsForMetric(DescribeAlarmsForMetricRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAlarmsForMetricRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAlarmsForMetricResponseUnmarshaller.Instance;return Invoke<DescribeAlarmsForMetricResponse>(request, options);}
|
train
| true
|
8,023
|
public void terminateWorkflowExecution(TerminateWorkflowExecutionRequest request) {request = beforeClientExecution(request);executeTerminateWorkflowExecution(request);}
|
[
"public",
"void",
"terminateWorkflowExecution",
"(",
"TerminateWorkflowExecutionRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"executeTerminateWorkflowExecution",
"(",
"request",
")",
";",
"}"
] |
public virtual TerminateWorkflowExecutionResponse TerminateWorkflowExecution(TerminateWorkflowExecutionRequest request){var options = new InvokeOptions();options.RequestMarshaller = TerminateWorkflowExecutionRequestMarshaller.Instance;options.ResponseUnmarshaller = TerminateWorkflowExecutionResponseUnmarshaller.Instance;return Invoke<TerminateWorkflowExecutionResponse>(request, options);}
|
train
| false
|
8,024
|
public DistanceValueSource(PointVectorStrategy strategy, Point from, double multiplier) {this.strategy = strategy;this.from = from;this.multiplier = multiplier;this.nullValue = 180 * multiplier;}
|
[
"public",
"DistanceValueSource",
"(",
"PointVectorStrategy",
"strategy",
",",
"Point",
"from",
",",
"double",
"multiplier",
")",
"{",
"this",
".",
"strategy",
"=",
"strategy",
";",
"this",
".",
"from",
"=",
"from",
";",
"this",
".",
"multiplier",
"=",
"multiplier",
";",
"this",
".",
"nullValue",
"=",
"180",
"*",
"multiplier",
";",
"}"
] |
public DistanceValueSource(PointVectorStrategy strategy, IPoint from, double multiplier){this.strategy = strategy;this.from = from;this.multiplier = multiplier;}
|
train
| false
|
8,025
|
public RenameBranchCommand branchRename() {return new RenameBranchCommand(repo);}
|
[
"public",
"RenameBranchCommand",
"branchRename",
"(",
")",
"{",
"return",
"new",
"RenameBranchCommand",
"(",
"repo",
")",
";",
"}"
] |
public virtual RenameBranchCommand BranchRename(){return new RenameBranchCommand(repo);}
|
train
| false
|
8,026
|
public IntBuffer get(int[] dst, int dstOffset, int intCount) {byteBuffer.limit(limit * SizeOf.INT);byteBuffer.position(position * SizeOf.INT);if (byteBuffer instanceof DirectByteBuffer) {((DirectByteBuffer) byteBuffer).get(dst, dstOffset, intCount);} else {((HeapByteBuffer) byteBuffer).get(dst, dstOffset, intCount);}this.position += intCount;return this;}
|
[
"public",
"IntBuffer",
"get",
"(",
"int",
"[",
"]",
"dst",
",",
"int",
"dstOffset",
",",
"int",
"intCount",
")",
"{",
"byteBuffer",
".",
"limit",
"(",
"limit",
"*",
"SizeOf",
".",
"INT",
")",
";",
"byteBuffer",
".",
"position",
"(",
"position",
"*",
"SizeOf",
".",
"INT",
")",
";",
"if",
"(",
"byteBuffer",
"instanceof",
"DirectByteBuffer",
")",
"{",
"(",
"(",
"DirectByteBuffer",
")",
"byteBuffer",
")",
".",
"get",
"(",
"dst",
",",
"dstOffset",
",",
"intCount",
")",
";",
"}",
"else",
"{",
"(",
"(",
"HeapByteBuffer",
")",
"byteBuffer",
")",
".",
"get",
"(",
"dst",
",",
"dstOffset",
",",
"intCount",
")",
";",
"}",
"this",
".",
"position",
"+=",
"intCount",
";",
"return",
"this",
";",
"}"
] |
public override java.nio.IntBuffer get(int[] dst, int dstOffset, int intCount){byteBuffer.limit(_limit * libcore.io.SizeOf.INT);byteBuffer.position(_position * libcore.io.SizeOf.INT);if (byteBuffer is java.nio.DirectByteBuffer){((java.nio.DirectByteBuffer)byteBuffer).get(dst, dstOffset, intCount);}else{((java.nio.HeapByteBuffer)byteBuffer).get(dst, dstOffset, intCount);}this._position += intCount;return this;}
|
train
| false
|
8,027
|
public DescribeInstanceEventNotificationAttributesResult describeInstanceEventNotificationAttributes(DescribeInstanceEventNotificationAttributesRequest request) {request = beforeClientExecution(request);return executeDescribeInstanceEventNotificationAttributes(request);}
|
[
"public",
"DescribeInstanceEventNotificationAttributesResult",
"describeInstanceEventNotificationAttributes",
"(",
"DescribeInstanceEventNotificationAttributesRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeInstanceEventNotificationAttributes",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeInstanceEventNotificationAttributesResponse DescribeInstanceEventNotificationAttributes(DescribeInstanceEventNotificationAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeInstanceEventNotificationAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeInstanceEventNotificationAttributesResponseUnmarshaller.Instance;return Invoke<DescribeInstanceEventNotificationAttributesResponse>(request, options);}
|
train
| false
|
8,028
|
public void appendUserAgent(String key, String value) {this.userAgentConfig.append(key, value);}
|
[
"public",
"void",
"appendUserAgent",
"(",
"String",
"key",
",",
"String",
"value",
")",
"{",
"this",
".",
"userAgentConfig",
".",
"append",
"(",
"key",
",",
"value",
")",
";",
"}"
] |
public void AppendUserAgent(string key, string value){userAgentConfig.AppendUserAgent(key, value);}
|
train
| false
|
8,030
|
public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[CHARTFORMAT]\n");buffer.append(" .xPosition = ").append(getXPosition()).append("\n");buffer.append(" .yPosition = ").append(getYPosition()).append("\n");buffer.append(" .width = ").append(getWidth()).append("\n");buffer.append(" .height = ").append(getHeight()).append("\n");buffer.append(" .grBit = ").append(HexDump.intToHex(field5_grbit)).append("\n");buffer.append("[/CHARTFORMAT]\n");return buffer.toString();}
|
[
"public",
"String",
"toString",
"(",
")",
"{",
"StringBuilder",
"buffer",
"=",
"new",
"StringBuilder",
"(",
")",
";",
"buffer",
".",
"append",
"(",
"\"[CHARTFORMAT]\\n\"",
")",
";",
"buffer",
".",
"append",
"(",
"\" .xPosition = \"",
")",
".",
"append",
"(",
"getXPosition",
"(",
")",
")",
".",
"append",
"(",
"\"\\n\"",
")",
";",
"buffer",
".",
"append",
"(",
"\" .yPosition = \"",
")",
".",
"append",
"(",
"getYPosition",
"(",
")",
")",
".",
"append",
"(",
"\"\\n\"",
")",
";",
"buffer",
".",
"append",
"(",
"\" .width = \"",
")",
".",
"append",
"(",
"getWidth",
"(",
")",
")",
".",
"append",
"(",
"\"\\n\"",
")",
";",
"buffer",
".",
"append",
"(",
"\" .height = \"",
")",
".",
"append",
"(",
"getHeight",
"(",
")",
")",
".",
"append",
"(",
"\"\\n\"",
")",
";",
"buffer",
".",
"append",
"(",
"\" .grBit = \"",
")",
".",
"append",
"(",
"HexDump",
".",
"intToHex",
"(",
"field5_grbit",
")",
")",
".",
"append",
"(",
"\"\\n\"",
")",
";",
"buffer",
".",
"append",
"(",
"\"[/CHARTFORMAT]\\n\"",
")",
";",
"return",
"buffer",
".",
"toString",
"(",
")",
";",
"}"
] |
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[CHARTFORMAT]\n");buffer.Append(" .xPosition = ").Append(XPosition).Append("\n");buffer.Append(" .yPosition = ").Append(YPosition).Append("\n");buffer.Append(" .width = ").Append(Width).Append("\n");buffer.Append(" .height = ").Append(Height).Append("\n");buffer.Append(" .grBit = ").Append(StringUtil.ToHexString(field5_grbit)).Append("\n");buffer.Append("[/CHARTFORMAT]\n");return buffer.ToString();}
|
train
| false
|
8,031
|
public GetQuotaRequest() {super("CloudPhoto", "2017-07-11", "GetQuota", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
|
[
"public",
"GetQuotaRequest",
"(",
")",
"{",
"super",
"(",
"\"CloudPhoto\"",
",",
"\"2017-07-11\"",
",",
"\"GetQuota\"",
",",
"\"cloudphoto\"",
")",
";",
"setProtocol",
"(",
"ProtocolType",
".",
"HTTPS",
")",
";",
"}"
] |
public GetQuotaRequest(): base("CloudPhoto", "2017-07-11", "GetQuota", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
|
train
| false
|
8,032
|
public DeleteEventStreamResult deleteEventStream(DeleteEventStreamRequest request) {request = beforeClientExecution(request);return executeDeleteEventStream(request);}
|
[
"public",
"DeleteEventStreamResult",
"deleteEventStream",
"(",
"DeleteEventStreamRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDeleteEventStream",
"(",
"request",
")",
";",
"}"
] |
public virtual DeleteEventStreamResponse DeleteEventStream(DeleteEventStreamRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEventStreamRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEventStreamResponseUnmarshaller.Instance;return Invoke<DeleteEventStreamResponse>(request, options);}
|
train
| true
|
8,033
|
public GetPhotosRequest() {super("CloudPhoto", "2017-07-11", "GetPhotos", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
|
[
"public",
"GetPhotosRequest",
"(",
")",
"{",
"super",
"(",
"\"CloudPhoto\"",
",",
"\"2017-07-11\"",
",",
"\"GetPhotos\"",
",",
"\"cloudphoto\"",
")",
";",
"setProtocol",
"(",
"ProtocolType",
".",
"HTTPS",
")",
";",
"}"
] |
public GetPhotosRequest(): base("CloudPhoto", "2017-07-11", "GetPhotos", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
|
train
| false
|
8,034
|
public int getBegin() {return begin;}
|
[
"public",
"int",
"getBegin",
"(",
")",
"{",
"return",
"begin",
";",
"}"
] |
public virtual int GetBegin(){return begin;}
|
train
| false
|
8,035
|
public void decRef() throws IOException {if (refCount.get() <= 0) {throw new IllegalStateException("this revision is already released");}final int rc = refCount.decrementAndGet();if (rc == 0) {boolean success = false;try {revision.release();success = true;} finally {if (!success) {refCount.incrementAndGet();}}} else if (rc < 0) {throw new IllegalStateException("too many decRef calls: refCount is " + rc + " after decrement");}}
|
[
"public",
"void",
"decRef",
"(",
")",
"throws",
"IOException",
"{",
"if",
"(",
"refCount",
".",
"get",
"(",
")",
"<=",
"0",
")",
"{",
"throw",
"new",
"IllegalStateException",
"(",
"\"this revision is already released\"",
")",
";",
"}",
"final",
"int",
"rc",
"=",
"refCount",
".",
"decrementAndGet",
"(",
")",
";",
"if",
"(",
"rc",
"==",
"0",
")",
"{",
"boolean",
"success",
"=",
"false",
";",
"try",
"{",
"revision",
".",
"release",
"(",
")",
";",
"success",
"=",
"true",
";",
"}",
"finally",
"{",
"if",
"(",
"!",
"success",
")",
"{",
"refCount",
".",
"incrementAndGet",
"(",
")",
";",
"}",
"}",
"}",
"else",
"if",
"(",
"rc",
"<",
"0",
")",
"{",
"throw",
"new",
"IllegalStateException",
"(",
"\"too many decRef calls: refCount is \"",
"+",
"rc",
"+",
"\" after decrement\"",
")",
";",
"}",
"}"
] |
public virtual void DecRef(){if (refCount <= 0){throw new InvalidOperationException("this revision is already released");}var rc = refCount.DecrementAndGet();if (rc == 0){bool success = false;try{Revision.Release();success = true;}finally{if (!success){refCount.IncrementAndGet();}}}else if (rc < 0){throw new InvalidOperationException(string.Format("too many decRef calls: refCount is {0} after decrement", rc));}}
|
train
| false
|
8,036
|
public DescribeDataSetPermissionsResult describeDataSetPermissions(DescribeDataSetPermissionsRequest request) {request = beforeClientExecution(request);return executeDescribeDataSetPermissions(request);}
|
[
"public",
"DescribeDataSetPermissionsResult",
"describeDataSetPermissions",
"(",
"DescribeDataSetPermissionsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeDataSetPermissions",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeDataSetPermissionsResponse DescribeDataSetPermissions(DescribeDataSetPermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeDataSetPermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeDataSetPermissionsResponseUnmarshaller.Instance;return Invoke<DescribeDataSetPermissionsResponse>(request, options);}
|
train
| false
|
8,037
|
public SaveTaskForUpdatingRegistrantInfoByIdentityCredentialRequest() {super("Domain", "2018-01-29", "SaveTaskForUpdatingRegistrantInfoByIdentityCredential");setMethod(MethodType.POST);}
|
[
"public",
"SaveTaskForUpdatingRegistrantInfoByIdentityCredentialRequest",
"(",
")",
"{",
"super",
"(",
"\"Domain\"",
",",
"\"2018-01-29\"",
",",
"\"SaveTaskForUpdatingRegistrantInfoByIdentityCredential\"",
")",
";",
"setMethod",
"(",
"MethodType",
".",
"POST",
")",
";",
"}"
] |
public SaveTaskForUpdatingRegistrantInfoByIdentityCredentialRequest(): base("Domain-intl", "2017-12-18", "SaveTaskForUpdatingRegistrantInfoByIdentityCredential", "domain", "openAPI"){Method = MethodType.POST;}
|
train
| false
|
8,038
|
public TokenStreamToAutomaton() {this.preservePositionIncrements = true;}
|
[
"public",
"TokenStreamToAutomaton",
"(",
")",
"{",
"this",
".",
"preservePositionIncrements",
"=",
"true",
";",
"}"
] |
public TokenStreamToAutomaton(){this.preservePositionIncrements = true;}
|
train
| false
|
8,039
|
public NameXPtg addNameXPtg(String name) {int extBlockIndex = -1;ExternalBookBlock extBlock = null;for (int i = 0; i < _externalBookBlocks.length; i++) {SupBookRecord ebr = _externalBookBlocks[i].getExternalBookRecord();if (ebr.isAddInFunctions()) {extBlock = _externalBookBlocks[i];extBlockIndex = i;break;}}if (extBlock == null) {extBlock = new ExternalBookBlock();extBlockIndex = extendExternalBookBlocks(extBlock);int idx = findFirstRecordLocBySid(ExternSheetRecord.sid);_workbookRecordList.add(idx, extBlock.getExternalBookRecord());_externSheetRecord.addRef(_externalBookBlocks.length - 1, -2, -2);}ExternalNameRecord extNameRecord = new ExternalNameRecord();extNameRecord.setText(name);extNameRecord.setParsedExpression(new Ptg[]{ErrPtg.REF_INVALID});int nameIndex = extBlock.addExternalName(extNameRecord);int supLinkIndex = 0;for (org.apache.poi.hssf.record.Record record : _workbookRecordList.getRecords()) {if (record instanceof SupBookRecord && ((SupBookRecord) record).isAddInFunctions()) {break;}supLinkIndex++;}int numberOfNames = extBlock.getNumberOfNames();_workbookRecordList.add(supLinkIndex + numberOfNames, extNameRecord);int fakeSheetIdx = -2; int ix = _externSheetRecord.getRefIxForSheet(extBlockIndex, fakeSheetIdx, fakeSheetIdx);return new NameXPtg(ix, nameIndex);}
|
[
"public",
"NameXPtg",
"addNameXPtg",
"(",
"String",
"name",
")",
"{",
"int",
"extBlockIndex",
"=",
"-",
"1",
";",
"ExternalBookBlock",
"extBlock",
"=",
"null",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"_externalBookBlocks",
".",
"length",
";",
"i",
"++",
")",
"{",
"SupBookRecord",
"ebr",
"=",
"_externalBookBlocks",
"[",
"i",
"]",
".",
"getExternalBookRecord",
"(",
")",
";",
"if",
"(",
"ebr",
".",
"isAddInFunctions",
"(",
")",
")",
"{",
"extBlock",
"=",
"_externalBookBlocks",
"[",
"i",
"]",
";",
"extBlockIndex",
"=",
"i",
";",
"break",
";",
"}",
"}",
"if",
"(",
"extBlock",
"==",
"null",
")",
"{",
"extBlock",
"=",
"new",
"ExternalBookBlock",
"(",
")",
";",
"extBlockIndex",
"=",
"extendExternalBookBlocks",
"(",
"extBlock",
")",
";",
"int",
"idx",
"=",
"findFirstRecordLocBySid",
"(",
"ExternSheetRecord",
".",
"sid",
")",
";",
"_workbookRecordList",
".",
"add",
"(",
"idx",
",",
"extBlock",
".",
"getExternalBookRecord",
"(",
")",
")",
";",
"_externSheetRecord",
".",
"addRef",
"(",
"_externalBookBlocks",
".",
"length",
"-",
"1",
",",
"-",
"2",
",",
"-",
"2",
")",
";",
"}",
"ExternalNameRecord",
"extNameRecord",
"=",
"new",
"ExternalNameRecord",
"(",
")",
";",
"extNameRecord",
".",
"setText",
"(",
"name",
")",
";",
"extNameRecord",
".",
"setParsedExpression",
"(",
"new",
"Ptg",
"[",
"]",
"{",
"ErrPtg",
".",
"REF_INVALID",
"}",
")",
";",
"int",
"nameIndex",
"=",
"extBlock",
".",
"addExternalName",
"(",
"extNameRecord",
")",
";",
"int",
"supLinkIndex",
"=",
"0",
";",
"for",
"(",
"org",
".",
"apache",
".",
"poi",
".",
"hssf",
".",
"record",
".",
"Record",
"record",
":",
"_workbookRecordList",
".",
"getRecords",
"(",
")",
")",
"{",
"if",
"(",
"record",
"instanceof",
"SupBookRecord",
"&&",
"(",
"(",
"SupBookRecord",
")",
"record",
")",
".",
"isAddInFunctions",
"(",
")",
")",
"{",
"break",
";",
"}",
"supLinkIndex",
"++",
";",
"}",
"int",
"numberOfNames",
"=",
"extBlock",
".",
"getNumberOfNames",
"(",
")",
";",
"_workbookRecordList",
".",
"add",
"(",
"supLinkIndex",
"+",
"numberOfNames",
",",
"extNameRecord",
")",
";",
"int",
"fakeSheetIdx",
"=",
"-",
"2",
";",
"int",
"ix",
"=",
"_externSheetRecord",
".",
"getRefIxForSheet",
"(",
"extBlockIndex",
",",
"fakeSheetIdx",
",",
"fakeSheetIdx",
")",
";",
"return",
"new",
"NameXPtg",
"(",
"ix",
",",
"nameIndex",
")",
";",
"}"
] |
public NameXPtg AddNameXPtg(String name){int extBlockIndex = -1;ExternalBookBlock extBlock = null;for (int i = 0; i < _externalBookBlocks.Length; i++){SupBookRecord ebr = _externalBookBlocks[i].GetExternalBookRecord();if (ebr.IsAddInFunctions){extBlock = _externalBookBlocks[i];extBlockIndex = i;break;}}if (extBlock == null){extBlock = new ExternalBookBlock();extBlockIndex = ExtendExternalBookBlocks(extBlock);int idx = FindFirstRecordLocBySid(ExternSheetRecord.sid);_workbookRecordList.Add(idx, extBlock.GetExternalBookRecord());_externSheetRecord.AddRef(_externalBookBlocks.Length - 1, -2, -2);}ExternalNameRecord extNameRecord = new ExternalNameRecord();extNameRecord.Text = (name);extNameRecord.SetParsedExpression(new Ptg[] { ErrPtg.REF_INVALID });int nameIndex = extBlock.AddExternalName(extNameRecord);int supLinkIndex = 0;for (IEnumerator iterator = _workbookRecordList.GetEnumerator(); iterator.MoveNext(); supLinkIndex++){Record record = (Record)iterator.Current;if (record is SupBookRecord){if (((SupBookRecord)record).IsAddInFunctions) break;}}int numberOfNames = extBlock.NumberOfNames;_workbookRecordList.Add(supLinkIndex + numberOfNames, extNameRecord);int fakeSheetIdx = -2; int ix = _externSheetRecord.GetRefIxForSheet(extBlockIndex, fakeSheetIdx, fakeSheetIdx);return new NameXPtg(ix, nameIndex);}
|
train
| false
|
8,040
|
public static IndexReaderContext getTopLevelContext(IndexReaderContext context) {while (context.parent != null) {context = context.parent;}return context;}
|
[
"public",
"static",
"IndexReaderContext",
"getTopLevelContext",
"(",
"IndexReaderContext",
"context",
")",
"{",
"while",
"(",
"context",
".",
"parent",
"!=",
"null",
")",
"{",
"context",
"=",
"context",
".",
"parent",
";",
"}",
"return",
"context",
";",
"}"
] |
public static IndexReaderContext GetTopLevelContext(IndexReaderContext context){while (context.Parent != null){context = context.Parent;}return context;}
|
train
| false
|
8,041
|
public final CharBuffer put(CharBuffer src) {throw new ReadOnlyBufferException();}
|
[
"public",
"final",
"CharBuffer",
"put",
"(",
"CharBuffer",
"src",
")",
"{",
"throw",
"new",
"ReadOnlyBufferException",
"(",
")",
";",
"}"
] |
public override java.nio.CharBuffer put(char c){throw new java.nio.ReadOnlyBufferException();}
|
train
| false
|
8,042
|
public DeleteLabelsResult deleteLabels(DeleteLabelsRequest request) {request = beforeClientExecution(request);return executeDeleteLabels(request);}
|
[
"public",
"DeleteLabelsResult",
"deleteLabels",
"(",
"DeleteLabelsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDeleteLabels",
"(",
"request",
")",
";",
"}"
] |
public virtual DeleteLabelsResponse DeleteLabels(DeleteLabelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteLabelsRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteLabelsResponseUnmarshaller.Instance;return Invoke<DeleteLabelsResponse>(request, options);}
|
train
| true
|
8,043
|
public ListAlgorithmsResult listAlgorithms(ListAlgorithmsRequest request) {request = beforeClientExecution(request);return executeListAlgorithms(request);}
|
[
"public",
"ListAlgorithmsResult",
"listAlgorithms",
"(",
"ListAlgorithmsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeListAlgorithms",
"(",
"request",
")",
";",
"}"
] |
public virtual ListAlgorithmsResponse ListAlgorithms(ListAlgorithmsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListAlgorithmsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListAlgorithmsResponseUnmarshaller.Instance;return Invoke<ListAlgorithmsResponse>(request, options);}
|
train
| true
|
8,044
|
public DiffCommand setShowNameAndStatusOnly(boolean showNameAndStatusOnly) {this.showNameAndStatusOnly = showNameAndStatusOnly;return this;}
|
[
"public",
"DiffCommand",
"setShowNameAndStatusOnly",
"(",
"boolean",
"showNameAndStatusOnly",
")",
"{",
"this",
".",
"showNameAndStatusOnly",
"=",
"showNameAndStatusOnly",
";",
"return",
"this",
";",
"}"
] |
public virtual NGit.Api.DiffCommand SetShowNameAndStatusOnly(bool showNameAndStatusOnly){this.showNameAndStatusOnly = showNameAndStatusOnly;return this;}
|
train
| false
|
8,045
|
public boolean isForceUpdate() {return force;}
|
[
"public",
"boolean",
"isForceUpdate",
"(",
")",
"{",
"return",
"force",
";",
"}"
] |
public virtual bool IsForceUpdate(){return force;}
|
train
| false
|
8,046
|
public DeleteVpcEndpointServiceConfigurationsResult deleteVpcEndpointServiceConfigurations(DeleteVpcEndpointServiceConfigurationsRequest request) {request = beforeClientExecution(request);return executeDeleteVpcEndpointServiceConfigurations(request);}
|
[
"public",
"DeleteVpcEndpointServiceConfigurationsResult",
"deleteVpcEndpointServiceConfigurations",
"(",
"DeleteVpcEndpointServiceConfigurationsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDeleteVpcEndpointServiceConfigurations",
"(",
"request",
")",
";",
"}"
] |
public virtual DeleteVpcEndpointServiceConfigurationsResponse DeleteVpcEndpointServiceConfigurations(DeleteVpcEndpointServiceConfigurationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVpcEndpointServiceConfigurationsRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVpcEndpointServiceConfigurationsResponseUnmarshaller.Instance;return Invoke<DeleteVpcEndpointServiceConfigurationsResponse>(request, options);}
|
train
| true
|
8,047
|
public Field(String name, TokenStream tokenStream, IndexableFieldType type) {if (name == null) {throw new IllegalArgumentException("name must not be null");}if (tokenStream == null) {throw new NullPointerException("tokenStream must not be null");}if (type.indexOptions() == IndexOptions.NONE || !type.tokenized()) {throw new IllegalArgumentException("TokenStream fields must be indexed and tokenized");}if (type.stored()) {throw new IllegalArgumentException("TokenStream fields cannot be stored");}this.name = name;this.fieldsData = null;this.tokenStream = tokenStream;this.type = type;}
|
[
"public",
"Field",
"(",
"String",
"name",
",",
"TokenStream",
"tokenStream",
",",
"IndexableFieldType",
"type",
")",
"{",
"if",
"(",
"name",
"==",
"null",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"name must not be null\"",
")",
";",
"}",
"if",
"(",
"tokenStream",
"==",
"null",
")",
"{",
"throw",
"new",
"NullPointerException",
"(",
"\"tokenStream must not be null\"",
")",
";",
"}",
"if",
"(",
"type",
".",
"indexOptions",
"(",
")",
"==",
"IndexOptions",
".",
"NONE",
"||",
"!",
"type",
".",
"tokenized",
"(",
")",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"TokenStream fields must be indexed and tokenized\"",
")",
";",
"}",
"if",
"(",
"type",
".",
"stored",
"(",
")",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"TokenStream fields cannot be stored\"",
")",
";",
"}",
"this",
".",
"name",
"=",
"name",
";",
"this",
".",
"fieldsData",
"=",
"null",
";",
"this",
".",
"tokenStream",
"=",
"tokenStream",
";",
"this",
".",
"type",
"=",
"type",
";",
"}"
] |
public Field(string name, TokenStream tokenStream, FieldType type){if (name == null){throw new System.ArgumentNullException("name", "name cannot be null");}if (tokenStream == null){throw new System.ArgumentNullException("tokenStream", "tokenStream cannot be null");}if (type == null){throw new System.ArgumentNullException("type", "type cannot be null");}if (!type.IsIndexed || !type.IsTokenized){throw new System.ArgumentException("TokenStream fields must be indexed and tokenized");}if (type.IsStored){throw new System.ArgumentException("TokenStream fields cannot be stored");}this.m_name = name;this.FieldsData = null;this.m_tokenStream = tokenStream;this.m_type = type;}
|
train
| false
|
8,048
|
public ListDeadLetterSourceQueuesResult listDeadLetterSourceQueues(ListDeadLetterSourceQueuesRequest request) {request = beforeClientExecution(request);return executeListDeadLetterSourceQueues(request);}
|
[
"public",
"ListDeadLetterSourceQueuesResult",
"listDeadLetterSourceQueues",
"(",
"ListDeadLetterSourceQueuesRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeListDeadLetterSourceQueues",
"(",
"request",
")",
";",
"}"
] |
public virtual ListDeadLetterSourceQueuesResponse ListDeadLetterSourceQueues(ListDeadLetterSourceQueuesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListDeadLetterSourceQueuesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListDeadLetterSourceQueuesResponseUnmarshaller.Instance;return Invoke<ListDeadLetterSourceQueuesResponse>(request, options);}
|
train
| true
|
8,049
|
public BinaryDocValuesField(String name, BytesRef value) {super(name, TYPE);fieldsData = value;}
|
[
"public",
"BinaryDocValuesField",
"(",
"String",
"name",
",",
"BytesRef",
"value",
")",
"{",
"super",
"(",
"name",
",",
"TYPE",
")",
";",
"fieldsData",
"=",
"value",
";",
"}"
] |
public BinaryDocValuesField(string name, BytesRef value): base(name, fType){FieldsData = value;}
|
train
| false
|
8,050
|
public CreateVpnConnectionRequest(String type, String customerGatewayId, String vpnGatewayId) {setType(type);setCustomerGatewayId(customerGatewayId);setVpnGatewayId(vpnGatewayId);}
|
[
"public",
"CreateVpnConnectionRequest",
"(",
"String",
"type",
",",
"String",
"customerGatewayId",
",",
"String",
"vpnGatewayId",
")",
"{",
"setType",
"(",
"type",
")",
";",
"setCustomerGatewayId",
"(",
"customerGatewayId",
")",
";",
"setVpnGatewayId",
"(",
"vpnGatewayId",
")",
";",
"}"
] |
public CreateVpnConnectionRequest(string type, string customerGatewayId, string vpnGatewayId){_type = type;_customerGatewayId = customerGatewayId;_vpnGatewayId = vpnGatewayId;}
|
train
| false
|
8,051
|
public OpenInstancePublicPortsResult openInstancePublicPorts(OpenInstancePublicPortsRequest request) {request = beforeClientExecution(request);return executeOpenInstancePublicPorts(request);}
|
[
"public",
"OpenInstancePublicPortsResult",
"openInstancePublicPorts",
"(",
"OpenInstancePublicPortsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeOpenInstancePublicPorts",
"(",
"request",
")",
";",
"}"
] |
public virtual OpenInstancePublicPortsResponse OpenInstancePublicPorts(OpenInstancePublicPortsRequest request){var options = new InvokeOptions();options.RequestMarshaller = OpenInstancePublicPortsRequestMarshaller.Instance;options.ResponseUnmarshaller = OpenInstancePublicPortsResponseUnmarshaller.Instance;return Invoke<OpenInstancePublicPortsResponse>(request, options);}
|
train
| true
|
8,052
|
public Builder() {this.similarity = new BM25Similarity();}
|
[
"public",
"Builder",
"(",
")",
"{",
"this",
".",
"similarity",
"=",
"new",
"BM25Similarity",
"(",
")",
";",
"}"
] |
public Builder(): base(){lastDocID = -1;wordNum = -1;word = 0;}
|
train
| false
|
8,053
|
public InputIteratorWrapper(BytesRefIterator wrapped) {this.wrapped = wrapped;}
|
[
"public",
"InputIteratorWrapper",
"(",
"BytesRefIterator",
"wrapped",
")",
"{",
"this",
".",
"wrapped",
"=",
"wrapped",
";",
"}"
] |
public InputIteratorWrapper(IBytesRefIterator wrapped){this.wrapped = wrapped;}
|
train
| false
|
8,054
|
public CreateUserProfileResult createUserProfile(CreateUserProfileRequest request) {request = beforeClientExecution(request);return executeCreateUserProfile(request);}
|
[
"public",
"CreateUserProfileResult",
"createUserProfile",
"(",
"CreateUserProfileRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCreateUserProfile",
"(",
"request",
")",
";",
"}"
] |
public virtual CreateUserProfileResponse CreateUserProfile(CreateUserProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateUserProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateUserProfileResponseUnmarshaller.Instance;return Invoke<CreateUserProfileResponse>(request, options);}
|
train
| true
|
8,055
|
public ImportWorkspaceImageResult importWorkspaceImage(ImportWorkspaceImageRequest request) {request = beforeClientExecution(request);return executeImportWorkspaceImage(request);}
|
[
"public",
"ImportWorkspaceImageResult",
"importWorkspaceImage",
"(",
"ImportWorkspaceImageRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeImportWorkspaceImage",
"(",
"request",
")",
";",
"}"
] |
public virtual ImportWorkspaceImageResponse ImportWorkspaceImage(ImportWorkspaceImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = ImportWorkspaceImageRequestMarshaller.Instance;options.ResponseUnmarshaller = ImportWorkspaceImageResponseUnmarshaller.Instance;return Invoke<ImportWorkspaceImageResponse>(request, options);}
|
train
| true
|
8,056
|
public void finish() {mState = STATE_IDLE;}
|
[
"public",
"void",
"finish",
"(",
")",
"{",
"mState",
"=",
"STATE_IDLE",
";",
"}"
] |
public virtual void finish(){mState = STATE_IDLE;}
|
train
| false
|
8,057
|
public DescribeFleetHistoryResult describeFleetHistory(DescribeFleetHistoryRequest request) {request = beforeClientExecution(request);return executeDescribeFleetHistory(request);}
|
[
"public",
"DescribeFleetHistoryResult",
"describeFleetHistory",
"(",
"DescribeFleetHistoryRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeFleetHistory",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeFleetHistoryResponse DescribeFleetHistory(DescribeFleetHistoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeFleetHistoryRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeFleetHistoryResponseUnmarshaller.Instance;return Invoke<DescribeFleetHistoryResponse>(request, options);}
|
train
| true
|
8,058
|
public ListGatewaysResult listGateways(ListGatewaysRequest request) {request = beforeClientExecution(request);return executeListGateways(request);}
|
[
"public",
"ListGatewaysResult",
"listGateways",
"(",
"ListGatewaysRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeListGateways",
"(",
"request",
")",
";",
"}"
] |
public virtual ListGatewaysResponse ListGateways(ListGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = ListGatewaysResponseUnmarshaller.Instance;return Invoke<ListGatewaysResponse>(request, options);}
|
train
| true
|
8,059
|
public CreateTrafficMirrorFilterResult createTrafficMirrorFilter(CreateTrafficMirrorFilterRequest request) {request = beforeClientExecution(request);return executeCreateTrafficMirrorFilter(request);}
|
[
"public",
"CreateTrafficMirrorFilterResult",
"createTrafficMirrorFilter",
"(",
"CreateTrafficMirrorFilterRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCreateTrafficMirrorFilter",
"(",
"request",
")",
";",
"}"
] |
public virtual CreateTrafficMirrorFilterResponse CreateTrafficMirrorFilter(CreateTrafficMirrorFilterRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateTrafficMirrorFilterRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateTrafficMirrorFilterResponseUnmarshaller.Instance;return Invoke<CreateTrafficMirrorFilterResponse>(request, options);}
|
train
| false
|
8,060
|
public BytesRef(byte[] bytes, int offset, int length) {this.bytes = bytes;this.offset = offset;this.length = length;assert isValid();}
|
[
"public",
"BytesRef",
"(",
"byte",
"[",
"]",
"bytes",
",",
"int",
"offset",
",",
"int",
"length",
")",
"{",
"this",
".",
"bytes",
"=",
"bytes",
";",
"this",
".",
"offset",
"=",
"offset",
";",
"this",
".",
"length",
"=",
"length",
";",
"assert",
"isValid",
"(",
")",
";",
"}"
] |
public BytesRef(byte[] bytes, int offset, int length){this.bytes = bytes;this.Offset = offset;this.Length = length;Debug.Assert(IsValid());}
|
train
| false
|
8,061
|
public void write(LittleEndianOutput out) {out.writeByte(getSid());}
|
[
"public",
"void",
"write",
"(",
"LittleEndianOutput",
"out",
")",
"{",
"out",
".",
"writeByte",
"(",
"getSid",
"(",
")",
")",
";",
"}"
] |
public override void Write(ILittleEndianOutput out1){out1.WriteByte(Sid + PtgClass);}
|
train
| false
|
8,062
|
public BufferedChecksum(Checksum in, int bufferSize) {this.in = in;this.buffer = new byte[bufferSize];}
|
[
"public",
"BufferedChecksum",
"(",
"Checksum",
"in",
",",
"int",
"bufferSize",
")",
"{",
"this",
".",
"in",
"=",
"in",
";",
"this",
".",
"buffer",
"=",
"new",
"byte",
"[",
"bufferSize",
"]",
";",
"}"
] |
public BufferedChecksum(IChecksum @in, int bufferSize){this.@in = @in;this.buffer = new byte[bufferSize];}
|
train
| false
|
8,064
|
public TagCommand tag() {return new TagCommand(repo);}
|
[
"public",
"TagCommand",
"tag",
"(",
")",
"{",
"return",
"new",
"TagCommand",
"(",
"repo",
")",
";",
"}"
] |
public virtual TagCommand Tag(){return new TagCommand(repo);}
|
train
| false
|
8,065
|
public DescribeClusterDbRevisionsResult describeClusterDbRevisions(DescribeClusterDbRevisionsRequest request) {request = beforeClientExecution(request);return executeDescribeClusterDbRevisions(request);}
|
[
"public",
"DescribeClusterDbRevisionsResult",
"describeClusterDbRevisions",
"(",
"DescribeClusterDbRevisionsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeClusterDbRevisions",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeClusterDbRevisionsResponse DescribeClusterDbRevisions(DescribeClusterDbRevisionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeClusterDbRevisionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeClusterDbRevisionsResponseUnmarshaller.Instance;return Invoke<DescribeClusterDbRevisionsResponse>(request, options);}
|
train
| true
|
8,066
|
public StartImageScanResult startImageScan(StartImageScanRequest request) {request = beforeClientExecution(request);return executeStartImageScan(request);}
|
[
"public",
"StartImageScanResult",
"startImageScan",
"(",
"StartImageScanRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeStartImageScan",
"(",
"request",
")",
";",
"}"
] |
public virtual StartImageScanResponse StartImageScan(StartImageScanRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartImageScanRequestMarshaller.Instance;options.ResponseUnmarshaller = StartImageScanResponseUnmarshaller.Instance;return Invoke<StartImageScanResponse>(request, options);}
|
train
| false
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.