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 |
|---|---|---|---|---|---|
4,461
|
public DescribeImageAttributeResult describeImageAttribute(DescribeImageAttributeRequest request) {request = beforeClientExecution(request);return executeDescribeImageAttribute(request);}
|
[
"public",
"DescribeImageAttributeResult",
"describeImageAttribute",
"(",
"DescribeImageAttributeRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeImageAttribute",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeImageAttributeResponse DescribeImageAttribute(DescribeImageAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeImageAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeImageAttributeResponseUnmarshaller.Instance;return Invoke<DescribeImageAttributeResponse>(request, options);}
|
train
| true
|
4,462
|
public void println(Object o) {println(String.valueOf(o));}
|
[
"public",
"void",
"println",
"(",
"Object",
"o",
")",
"{",
"println",
"(",
"String",
".",
"valueOf",
"(",
"o",
")",
")",
";",
"}"
] |
public virtual void println(object o){println(Sharpen.StringHelper.GetValueOf(o));}
|
train
| false
|
4,463
|
public DeregisterFromWorkMailResult deregisterFromWorkMail(DeregisterFromWorkMailRequest request) {request = beforeClientExecution(request);return executeDeregisterFromWorkMail(request);}
|
[
"public",
"DeregisterFromWorkMailResult",
"deregisterFromWorkMail",
"(",
"DeregisterFromWorkMailRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDeregisterFromWorkMail",
"(",
"request",
")",
";",
"}"
] |
public virtual DeregisterFromWorkMailResponse DeregisterFromWorkMail(DeregisterFromWorkMailRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeregisterFromWorkMailRequestMarshaller.Instance;options.ResponseUnmarshaller = DeregisterFromWorkMailResponseUnmarshaller.Instance;return Invoke<DeregisterFromWorkMailResponse>(request, options);}
|
train
| true
|
4,464
|
public PutClusterCapacityProvidersResult putClusterCapacityProviders(PutClusterCapacityProvidersRequest request) {request = beforeClientExecution(request);return executePutClusterCapacityProviders(request);}
|
[
"public",
"PutClusterCapacityProvidersResult",
"putClusterCapacityProviders",
"(",
"PutClusterCapacityProvidersRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executePutClusterCapacityProviders",
"(",
"request",
")",
";",
"}"
] |
public virtual PutClusterCapacityProvidersResponse PutClusterCapacityProviders(PutClusterCapacityProvidersRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutClusterCapacityProvidersRequestMarshaller.Instance;options.ResponseUnmarshaller = PutClusterCapacityProvidersResponseUnmarshaller.Instance;return Invoke<PutClusterCapacityProvidersResponse>(request, options);}
|
train
| false
|
4,465
|
public ChangeMessageVisibilityBatchRequestEntry(String id, String receiptHandle) {setId(id);setReceiptHandle(receiptHandle);}
|
[
"public",
"ChangeMessageVisibilityBatchRequestEntry",
"(",
"String",
"id",
",",
"String",
"receiptHandle",
")",
"{",
"setId",
"(",
"id",
")",
";",
"setReceiptHandle",
"(",
"receiptHandle",
")",
";",
"}"
] |
public ChangeMessageVisibilityBatchRequestEntry(string id, string receiptHandle){_id = id;_receiptHandle = receiptHandle;}
|
train
| false
|
4,466
|
public StringBuffer append(float f) {RealToString.getInstance().appendFloat(this, f);return this;}
|
[
"public",
"StringBuffer",
"append",
"(",
"float",
"f",
")",
"{",
"RealToString",
".",
"getInstance",
"(",
")",
".",
"appendFloat",
"(",
"this",
",",
"f",
")",
";",
"return",
"this",
";",
"}"
] |
public java.lang.StringBuffer append(bool b){return append(b ? "true" : "false");}
|
train
| false
|
4,467
|
@Override public int compare(T o1, T o2) {return cmp.compare(o2, o1);}
|
[
"@",
"Override",
"public",
"int",
"compare",
"(",
"T",
"o1",
",",
"T",
"o2",
")",
"{",
"return",
"cmp",
".",
"compare",
"(",
"o2",
",",
"o1",
")",
";",
"}"
] |
public int compare(T o1, T o2){return cmp.compare(o2, o1);}
|
train
| false
|
4,468
|
public GetAttributesRequest(String domainName, String itemName) {setDomainName(domainName);setItemName(itemName);}
|
[
"public",
"GetAttributesRequest",
"(",
"String",
"domainName",
",",
"String",
"itemName",
")",
"{",
"setDomainName",
"(",
"domainName",
")",
";",
"setItemName",
"(",
"itemName",
")",
";",
"}"
] |
public GetAttributesRequest(string domainName, string itemName){_domainName = domainName;_itemName = itemName;}
|
train
| false
|
4,469
|
public String toString() {return getClass().getName() +" [" +_firstMovedIndex +_lastMovedIndex +_amountToMove +"]";}
|
[
"public",
"String",
"toString",
"(",
")",
"{",
"return",
"getClass",
"(",
")",
".",
"getName",
"(",
")",
"+",
"\" [\"",
"+",
"_firstMovedIndex",
"+",
"_lastMovedIndex",
"+",
"_amountToMove",
"+",
"\"]\"",
";",
"}"
] |
public override String ToString(){StringBuilder sb = new StringBuilder();sb.Append(GetType().Name);sb.Append(" [");sb.Append(_firstMovedIndex);sb.Append(_lastMovedIndex);sb.Append(_amountToMove);return sb.ToString();}
|
train
| false
|
4,470
|
public final ValueEval evaluate(ValueEval[] args, int srcCellRow, int srcCellCol) {double result;try {result = eval(args, srcCellRow, srcCellCol);checkValue(result);} catch (EvaluationException e) {return e.getErrorEval();}return new NumberEval(result);}
|
[
"public",
"final",
"ValueEval",
"evaluate",
"(",
"ValueEval",
"[",
"]",
"args",
",",
"int",
"srcCellRow",
",",
"int",
"srcCellCol",
")",
"{",
"double",
"result",
";",
"try",
"{",
"result",
"=",
"eval",
"(",
"args",
",",
"srcCellRow",
",",
"srcCellCol",
")",
";",
"checkValue",
"(",
"result",
")",
";",
"}",
"catch",
"(",
"EvaluationException",
"e",
")",
"{",
"return",
"e",
".",
"getErrorEval",
"(",
")",
";",
"}",
"return",
"new",
"NumberEval",
"(",
"result",
")",
";",
"}"
] |
public ValueEval Evaluate(ValueEval[] args, int srcCellRow, int srcCellCol){double result;try{result = Eval(args, srcCellRow, srcCellCol);CheckValue(result);}catch (EvaluationException e){return e.GetErrorEval();}return new NumberEval(result);}
|
train
| false
|
4,471
|
public DescribeFpgaImagesResult describeFpgaImages(DescribeFpgaImagesRequest request) {request = beforeClientExecution(request);return executeDescribeFpgaImages(request);}
|
[
"public",
"DescribeFpgaImagesResult",
"describeFpgaImages",
"(",
"DescribeFpgaImagesRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeFpgaImages",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeFpgaImagesResponse DescribeFpgaImages(DescribeFpgaImagesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeFpgaImagesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeFpgaImagesResponseUnmarshaller.Instance;return Invoke<DescribeFpgaImagesResponse>(request, options);}
|
train
| true
|
4,472
|
public ObjectDirectoryInserter newInserter() {return new ObjectDirectoryInserter(this, config);}
|
[
"public",
"ObjectDirectoryInserter",
"newInserter",
"(",
")",
"{",
"return",
"new",
"ObjectDirectoryInserter",
"(",
"this",
",",
"config",
")",
";",
"}"
] |
public override ObjectInserter NewInserter(){return new ObjectDirectoryInserter(this, config);}
|
train
| false
|
4,473
|
public LongBuffer put(int index, long c) {checkIndex(index);byteBuffer.putLong(index * SizeOf.LONG, c);return this;}
|
[
"public",
"LongBuffer",
"put",
"(",
"int",
"index",
",",
"long",
"c",
")",
"{",
"checkIndex",
"(",
"index",
")",
";",
"byteBuffer",
".",
"putLong",
"(",
"index",
"*",
"SizeOf",
".",
"LONG",
",",
"c",
")",
";",
"return",
"this",
";",
"}"
] |
public override java.nio.LongBuffer put(int index, long c){checkIndex(index);byteBuffer.putLong(index * libcore.io.SizeOf.LONG, c);return this;}
|
train
| false
|
4,474
|
public boolean isRetainBody() {return retainBody;}
|
[
"public",
"boolean",
"isRetainBody",
"(",
")",
"{",
"return",
"retainBody",
";",
"}"
] |
public virtual bool IsRetainBody(){return retainBody;}
|
train
| false
|
4,475
|
public AddApplicationVpcConfigurationResult addApplicationVpcConfiguration(AddApplicationVpcConfigurationRequest request) {request = beforeClientExecution(request);return executeAddApplicationVpcConfiguration(request);}
|
[
"public",
"AddApplicationVpcConfigurationResult",
"addApplicationVpcConfiguration",
"(",
"AddApplicationVpcConfigurationRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeAddApplicationVpcConfiguration",
"(",
"request",
")",
";",
"}"
] |
public virtual AddApplicationVpcConfigurationResponse AddApplicationVpcConfiguration(AddApplicationVpcConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = AddApplicationVpcConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = AddApplicationVpcConfigurationResponseUnmarshaller.Instance;return Invoke<AddApplicationVpcConfigurationResponse>(request, options);}
|
train
| false
|
4,477
|
public SpreadsheetVersion getSpreadsheetVersion(){return SpreadsheetVersion.EXCEL97;}
|
[
"public",
"SpreadsheetVersion",
"getSpreadsheetVersion",
"(",
")",
"{",
"return",
"SpreadsheetVersion",
".",
"EXCEL97",
";",
"}"
] |
public SpreadsheetVersion GetSpreadsheetVersion(){return SpreadsheetVersion.EXCEL2007;}
|
train
| false
|
4,478
|
public String[] promptKeyboardInteractive(String destination, String name,String instruction, String[] prompt, boolean[] echo) {CredentialItem.StringType[] v = new CredentialItem.StringType[prompt.length];for (int i = 0; i < prompt.length; i++)v[i] = new CredentialItem.StringType(prompt[i], !echo[i]);List<CredentialItem> items = new ArrayList<>();if (instruction != null && instruction.length() > 0)items.add(new CredentialItem.InformationalMessage(instruction));items.addAll(Arrays.asList(v));if (!provider.get(uri, items))return null; String[] result = new String[v.length];for (int i = 0; i < v.length; i++)result[i] = v[i].getValue();return result;}
|
[
"public",
"String",
"[",
"]",
"promptKeyboardInteractive",
"(",
"String",
"destination",
",",
"String",
"name",
",",
"String",
"instruction",
",",
"String",
"[",
"]",
"prompt",
",",
"boolean",
"[",
"]",
"echo",
")",
"{",
"CredentialItem",
".",
"StringType",
"[",
"]",
"v",
"=",
"new",
"CredentialItem",
".",
"StringType",
"[",
"prompt",
".",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"prompt",
".",
"length",
";",
"i",
"++",
")",
"v",
"[",
"i",
"]",
"=",
"new",
"CredentialItem",
".",
"StringType",
"(",
"prompt",
"[",
"i",
"]",
",",
"!",
"echo",
"[",
"i",
"]",
")",
";",
"List",
"<",
"CredentialItem",
">",
"items",
"=",
"new",
"ArrayList",
"<",
">",
"(",
")",
";",
"if",
"(",
"instruction",
"!=",
"null",
"&&",
"instruction",
".",
"length",
"(",
")",
">",
"0",
")",
"items",
".",
"add",
"(",
"new",
"CredentialItem",
".",
"InformationalMessage",
"(",
"instruction",
")",
")",
";",
"items",
".",
"addAll",
"(",
"Arrays",
".",
"asList",
"(",
"v",
")",
")",
";",
"if",
"(",
"!",
"provider",
".",
"get",
"(",
"uri",
",",
"items",
")",
")",
"return",
"null",
";",
"String",
"[",
"]",
"result",
"=",
"new",
"String",
"[",
"v",
".",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"v",
".",
"length",
";",
"i",
"++",
")",
"result",
"[",
"i",
"]",
"=",
"v",
"[",
"i",
"]",
".",
"getValue",
"(",
")",
";",
"return",
"result",
";",
"}"
] |
public virtual string[] PromptKeyboardInteractive(string destination, string name, string instruction, string[] prompt, bool[] echo){CredentialItem.StringType[] v = new CredentialItem.StringType[prompt.Length];for (int i = 0; i < prompt.Length; i++){v[i] = new CredentialItem.StringType(prompt[i], !echo[i]);}IList<CredentialItem> items = new AList<CredentialItem>();if (instruction != null && instruction.Length > 0){items.AddItem(new CredentialItem.InformationalMessage(instruction));}Sharpen.Collections.AddAll(items, Arrays.AsList(v));if (!provider.Get(uri, items)){return null;}string[] result = new string[v.Length];for (int i_1 = 0; i_1 < v.Length; i_1++){result[i_1] = v[i_1].GetValue();}return result;}
|
train
| false
|
4,479
|
public static synchronized MergeStrategy get(String name) {return STRATEGIES.get(name);}
|
[
"public",
"static",
"synchronized",
"MergeStrategy",
"get",
"(",
"String",
"name",
")",
"{",
"return",
"STRATEGIES",
".",
"get",
"(",
"name",
")",
";",
"}"
] |
public static MergeStrategy Get(string name){lock (typeof(MergeStrategy)){return STRATEGIES.Get(name);}}
|
train
| false
|
4,480
|
public AssociateConnectionWithLagResult associateConnectionWithLag(AssociateConnectionWithLagRequest request) {request = beforeClientExecution(request);return executeAssociateConnectionWithLag(request);}
|
[
"public",
"AssociateConnectionWithLagResult",
"associateConnectionWithLag",
"(",
"AssociateConnectionWithLagRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeAssociateConnectionWithLag",
"(",
"request",
")",
";",
"}"
] |
public virtual AssociateConnectionWithLagResponse AssociateConnectionWithLag(AssociateConnectionWithLagRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateConnectionWithLagRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateConnectionWithLagResponseUnmarshaller.Instance;return Invoke<AssociateConnectionWithLagResponse>(request, options);}
|
train
| true
|
4,481
|
public short getShortValue(final short holder){return ( short ) getValue(holder);}
|
[
"public",
"short",
"getShortValue",
"(",
"final",
"short",
"holder",
")",
"{",
"return",
"(",
"short",
")",
"getValue",
"(",
"holder",
")",
";",
"}"
] |
public short GetShortValue(short holder){return (short)this.GetValue(holder);}
|
train
| false
|
4,482
|
public static BreakIterator getSentenceInstance() {return getSentenceInstance(Locale.getDefault());}
|
[
"public",
"static",
"BreakIterator",
"getSentenceInstance",
"(",
")",
"{",
"return",
"getSentenceInstance",
"(",
"Locale",
".",
"getDefault",
"(",
")",
")",
";",
"}"
] |
public static java.text.BreakIterator getSentenceInstance(){return getSentenceInstance(System.Globalization.CultureInfo.CurrentCulture);}
|
train
| false
|
4,483
|
public MissingObjectException(ObjectId id, String type) {super(MessageFormat.format(JGitText.get().missingObject, type, id.name()));missing = id.copy();}
|
[
"public",
"MissingObjectException",
"(",
"ObjectId",
"id",
",",
"String",
"type",
")",
"{",
"super",
"(",
"MessageFormat",
".",
"format",
"(",
"JGitText",
".",
"get",
"(",
")",
".",
"missingObject",
",",
"type",
",",
"id",
".",
"name",
"(",
")",
")",
")",
";",
"missing",
"=",
"id",
".",
"copy",
"(",
")",
";",
"}"
] |
public MissingObjectException(ObjectId id, string type) : base(MessageFormat.Format(JGitText.Get().missingObject, type, id.Name)){missing = id.Copy();}
|
train
| false
|
4,484
|
public PipedReader(PipedWriter out, int pipeSize) throws IOException {this(pipeSize);connect(out);}
|
[
"public",
"PipedReader",
"(",
"PipedWriter",
"out",
",",
"int",
"pipeSize",
")",
"throws",
"IOException",
"{",
"this",
"(",
"pipeSize",
")",
";",
"connect",
"(",
"out",
")",
";",
"}"
] |
public PipedReader(java.io.PipedWriter @out, int pipeSize) : this(pipeSize){throw new System.NotImplementedException();}
|
train
| false
|
4,485
|
public ImportKeyPairRequest(String keyName, String publicKeyMaterial) {setKeyName(keyName);setPublicKeyMaterial(publicKeyMaterial);}
|
[
"public",
"ImportKeyPairRequest",
"(",
"String",
"keyName",
",",
"String",
"publicKeyMaterial",
")",
"{",
"setKeyName",
"(",
"keyName",
")",
";",
"setPublicKeyMaterial",
"(",
"publicKeyMaterial",
")",
";",
"}"
] |
public ImportKeyPairRequest(string keyName, string publicKeyMaterial){_keyName = keyName;_publicKeyMaterial = publicKeyMaterial;}
|
train
| false
|
4,486
|
public DeleteFaceRequest() {super("LinkFace", "2018-07-20", "DeleteFace");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}
|
[
"public",
"DeleteFaceRequest",
"(",
")",
"{",
"super",
"(",
"\"LinkFace\"",
",",
"\"2018-07-20\"",
",",
"\"DeleteFace\"",
")",
";",
"setProtocol",
"(",
"ProtocolType",
".",
"HTTPS",
")",
";",
"setMethod",
"(",
"MethodType",
".",
"POST",
")",
";",
"}"
] |
public DeleteFaceRequest(): base("LinkFace", "2018-07-20", "DeleteFace"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}
|
train
| false
|
4,487
|
public CreateReceiptRuleSetResult createReceiptRuleSet(CreateReceiptRuleSetRequest request) {request = beforeClientExecution(request);return executeCreateReceiptRuleSet(request);}
|
[
"public",
"CreateReceiptRuleSetResult",
"createReceiptRuleSet",
"(",
"CreateReceiptRuleSetRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCreateReceiptRuleSet",
"(",
"request",
")",
";",
"}"
] |
public virtual CreateReceiptRuleSetResponse CreateReceiptRuleSet(CreateReceiptRuleSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateReceiptRuleSetRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateReceiptRuleSetResponseUnmarshaller.Instance;return Invoke<CreateReceiptRuleSetResponse>(request, options);}
|
train
| true
|
4,488
|
public RemovePermissionRequest(String queueUrl, String label) {setQueueUrl(queueUrl);setLabel(label);}
|
[
"public",
"RemovePermissionRequest",
"(",
"String",
"queueUrl",
",",
"String",
"label",
")",
"{",
"setQueueUrl",
"(",
"queueUrl",
")",
";",
"setLabel",
"(",
"label",
")",
";",
"}"
] |
public RemovePermissionRequest(string queueUrl, string label){_queueUrl = queueUrl;_label = label;}
|
train
| false
|
4,489
|
public String toString() {return "DFR " + basicModel.toString() + afterEffect.toString()+ normalization.toString();}
|
[
"public",
"String",
"toString",
"(",
")",
"{",
"return",
"\"DFR \"",
"+",
"basicModel",
".",
"toString",
"(",
")",
"+",
"afterEffect",
".",
"toString",
"(",
")",
"+",
"normalization",
".",
"toString",
"(",
")",
";",
"}"
] |
public override string ToString(){return "DFR " + m_basicModel.ToString() + m_afterEffect.ToString() + m_normalization.ToString();}
|
train
| false
|
4,490
|
public void setResult(RefUpdate.Result r) {switch (r) {case NOT_ATTEMPTED:setResult(Result.NOT_ATTEMPTED);break;case LOCK_FAILURE:case IO_FAILURE:setResult(Result.LOCK_FAILURE);break;case NO_CHANGE:case NEW:case FORCED:case FAST_FORWARD:setResult(Result.OK);break;case REJECTED:setResult(Result.REJECTED_NONFASTFORWARD);break;case REJECTED_CURRENT_BRANCH:setResult(Result.REJECTED_CURRENT_BRANCH);break;case REJECTED_MISSING_OBJECT:setResult(Result.REJECTED_MISSING_OBJECT);break;case REJECTED_OTHER_REASON:setResult(Result.REJECTED_OTHER_REASON);break;default:setResult(Result.REJECTED_OTHER_REASON, r.name());break;}}
|
[
"public",
"void",
"setResult",
"(",
"RefUpdate",
".",
"Result",
"r",
")",
"{",
"switch",
"(",
"r",
")",
"{",
"case",
"NOT_ATTEMPTED",
":",
"setResult",
"(",
"Result",
".",
"NOT_ATTEMPTED",
")",
";",
"break",
";",
"case",
"LOCK_FAILURE",
":",
"case",
"IO_FAILURE",
":",
"setResult",
"(",
"Result",
".",
"LOCK_FAILURE",
")",
";",
"break",
";",
"case",
"NO_CHANGE",
":",
"case",
"NEW",
":",
"case",
"FORCED",
":",
"case",
"FAST_FORWARD",
":",
"setResult",
"(",
"Result",
".",
"OK",
")",
";",
"break",
";",
"case",
"REJECTED",
":",
"setResult",
"(",
"Result",
".",
"REJECTED_NONFASTFORWARD",
")",
";",
"break",
";",
"case",
"REJECTED_CURRENT_BRANCH",
":",
"setResult",
"(",
"Result",
".",
"REJECTED_CURRENT_BRANCH",
")",
";",
"break",
";",
"case",
"REJECTED_MISSING_OBJECT",
":",
"setResult",
"(",
"Result",
".",
"REJECTED_MISSING_OBJECT",
")",
";",
"break",
";",
"case",
"REJECTED_OTHER_REASON",
":",
"setResult",
"(",
"Result",
".",
"REJECTED_OTHER_REASON",
")",
";",
"break",
";",
"default",
":",
"setResult",
"(",
"Result",
".",
"REJECTED_OTHER_REASON",
",",
"r",
".",
"name",
"(",
")",
")",
";",
"break",
";",
"}",
"}"
] |
public virtual void SetResult(RefUpdate.Result r){switch (r){case RefUpdate.Result.NOT_ATTEMPTED:{SetResult(ReceiveCommand.Result.NOT_ATTEMPTED);break;}case RefUpdate.Result.LOCK_FAILURE:case RefUpdate.Result.IO_FAILURE:{SetResult(ReceiveCommand.Result.LOCK_FAILURE);break;}case RefUpdate.Result.NO_CHANGE:case RefUpdate.Result.NEW:case RefUpdate.Result.FORCED:case RefUpdate.Result.FAST_FORWARD:{SetResult(ReceiveCommand.Result.OK);break;}case RefUpdate.Result.REJECTED:{SetResult(ReceiveCommand.Result.REJECTED_NONFASTFORWARD);break;}case RefUpdate.Result.REJECTED_CURRENT_BRANCH:{SetResult(ReceiveCommand.Result.REJECTED_CURRENT_BRANCH);break;}default:{SetResult(ReceiveCommand.Result.REJECTED_OTHER_REASON, r.ToString());break;break;}}}
|
train
| false
|
4,491
|
public DeleteMatchmakingConfigurationResult deleteMatchmakingConfiguration(DeleteMatchmakingConfigurationRequest request) {request = beforeClientExecution(request);return executeDeleteMatchmakingConfiguration(request);}
|
[
"public",
"DeleteMatchmakingConfigurationResult",
"deleteMatchmakingConfiguration",
"(",
"DeleteMatchmakingConfigurationRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDeleteMatchmakingConfiguration",
"(",
"request",
")",
";",
"}"
] |
public virtual DeleteMatchmakingConfigurationResponse DeleteMatchmakingConfiguration(DeleteMatchmakingConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteMatchmakingConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteMatchmakingConfigurationResponseUnmarshaller.Instance;return Invoke<DeleteMatchmakingConfigurationResponse>(request, options);}
|
train
| true
|
4,492
|
public double resolveDistErr(SpatialContext ctx, double defaultDistErrPct) {if (distErr != null)return distErr;double distErrPct = (this.distErrPct != null ? this.distErrPct : defaultDistErrPct);return calcDistanceFromErrPct(shape, distErrPct, ctx);}
|
[
"public",
"double",
"resolveDistErr",
"(",
"SpatialContext",
"ctx",
",",
"double",
"defaultDistErrPct",
")",
"{",
"if",
"(",
"distErr",
"!=",
"null",
")",
"return",
"distErr",
";",
"double",
"distErrPct",
"=",
"(",
"this",
".",
"distErrPct",
"!=",
"null",
"?",
"this",
".",
"distErrPct",
":",
"defaultDistErrPct",
")",
";",
"return",
"calcDistanceFromErrPct",
"(",
"shape",
",",
"distErrPct",
",",
"ctx",
")",
";",
"}"
] |
public virtual double ResolveDistErr(SpatialContext ctx, double defaultDistErrPct){if (DistErr != null)return DistErr.Value;double distErrPct = (this.distErrPct ?? defaultDistErrPct);return CalcDistanceFromErrPct(Shape, distErrPct, ctx);}
|
train
| false
|
4,493
|
public final CharsetEncoder replaceWith(byte[] replacement) {if (replacement == null) {throw new IllegalArgumentException("replacement == null");}if (replacement.length == 0) {throw new IllegalArgumentException("replacement.length == 0");}if (replacement.length > maxBytesPerChar()) {throw new IllegalArgumentException("replacement length > maxBytesPerChar: " +replacement.length + " > " + maxBytesPerChar());}if (!isLegalReplacement(replacement)) {throw new IllegalArgumentException("bad replacement: " + Arrays.toString(replacement));}this.replacementBytes = replacement;implReplaceWith(replacementBytes);return this;}
|
[
"public",
"final",
"CharsetEncoder",
"replaceWith",
"(",
"byte",
"[",
"]",
"replacement",
")",
"{",
"if",
"(",
"replacement",
"==",
"null",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"replacement == null\"",
")",
";",
"}",
"if",
"(",
"replacement",
".",
"length",
"==",
"0",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"replacement.length == 0\"",
")",
";",
"}",
"if",
"(",
"replacement",
".",
"length",
">",
"maxBytesPerChar",
"(",
")",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"replacement length > maxBytesPerChar: \"",
"+",
"replacement",
".",
"length",
"+",
"\" > \"",
"+",
"maxBytesPerChar",
"(",
")",
")",
";",
"}",
"if",
"(",
"!",
"isLegalReplacement",
"(",
"replacement",
")",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"bad replacement: \"",
"+",
"Arrays",
".",
"toString",
"(",
"replacement",
")",
")",
";",
"}",
"this",
".",
"replacementBytes",
"=",
"replacement",
";",
"implReplaceWith",
"(",
"replacementBytes",
")",
";",
"return",
"this",
";",
"}"
] |
public java.nio.charset.CharsetEncoder replaceWith(byte[] replacement_1){if (replacement_1 == null){throw new System.ArgumentException("replacement == null");}if (replacement_1.Length == 0){throw new System.ArgumentException("replacement.length == 0");}if (replacement_1.Length > maxBytesPerChar()){throw new System.ArgumentException("replacement length > maxBytesPerChar: " + replacement_1.Length + " > " + maxBytesPerChar());}if (!isLegalReplacement(replacement_1)){throw new System.ArgumentException("bad replacement: " + java.util.Arrays.toString(replacement_1));}this.replacementBytes = replacement_1;implReplaceWith(replacementBytes);return this;}
|
train
| false
|
4,494
|
public CreateApplicationSnapshotResult createApplicationSnapshot(CreateApplicationSnapshotRequest request) {request = beforeClientExecution(request);return executeCreateApplicationSnapshot(request);}
|
[
"public",
"CreateApplicationSnapshotResult",
"createApplicationSnapshot",
"(",
"CreateApplicationSnapshotRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCreateApplicationSnapshot",
"(",
"request",
")",
";",
"}"
] |
public virtual CreateApplicationSnapshotResponse CreateApplicationSnapshot(CreateApplicationSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateApplicationSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateApplicationSnapshotResponseUnmarshaller.Instance;return Invoke<CreateApplicationSnapshotResponse>(request, options);}
|
train
| true
|
4,495
|
public ValueEval evaluate(int srcCellRow, int srcCellCol, ValueEval arg0) {double d;try {ValueEval ve = OperandResolver.getSingleValue(arg0, srcCellRow, srcCellCol);if(ve instanceof StringEval) {return ve;}d = OperandResolver.coerceValueToDouble(ve);} catch (EvaluationException e) {return e.getErrorEval();}return new NumberEval(+d);}
|
[
"public",
"ValueEval",
"evaluate",
"(",
"int",
"srcCellRow",
",",
"int",
"srcCellCol",
",",
"ValueEval",
"arg0",
")",
"{",
"double",
"d",
";",
"try",
"{",
"ValueEval",
"ve",
"=",
"OperandResolver",
".",
"getSingleValue",
"(",
"arg0",
",",
"srcCellRow",
",",
"srcCellCol",
")",
";",
"if",
"(",
"ve",
"instanceof",
"StringEval",
")",
"{",
"return",
"ve",
";",
"}",
"d",
"=",
"OperandResolver",
".",
"coerceValueToDouble",
"(",
"ve",
")",
";",
"}",
"catch",
"(",
"EvaluationException",
"e",
")",
"{",
"return",
"e",
".",
"getErrorEval",
"(",
")",
";",
"}",
"return",
"new",
"NumberEval",
"(",
"+",
"d",
")",
";",
"}"
] |
public override ValueEval Evaluate(int srcCellRow, int srcCellCol, ValueEval arg0){double d;try{ValueEval ve = OperandResolver.GetSingleValue(arg0, srcCellRow, srcCellCol);if (ve is BlankEval){return NumberEval.ZERO;}if (ve is StringEval){return ve;}d = OperandResolver.CoerceValueToDouble(ve);}catch (EvaluationException e){return e.GetErrorEval();}return new NumberEval(+d);}
|
train
| false
|
4,496
|
public MoPenBindIsvRequest() {super("MoPen", "2018-02-11", "MoPenBindIsv", "mopen");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}
|
[
"public",
"MoPenBindIsvRequest",
"(",
")",
"{",
"super",
"(",
"\"MoPen\"",
",",
"\"2018-02-11\"",
",",
"\"MoPenBindIsv\"",
",",
"\"mopen\"",
")",
";",
"setProtocol",
"(",
"ProtocolType",
".",
"HTTPS",
")",
";",
"setMethod",
"(",
"MethodType",
".",
"POST",
")",
";",
"}"
] |
public MoPenBindIsvRequest(): base("MoPen", "2018-02-11", "MoPenBindIsv", "mopen", "openAPI"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}
|
train
| false
|
4,497
|
public AssociateIpGroupsResult associateIpGroups(AssociateIpGroupsRequest request) {request = beforeClientExecution(request);return executeAssociateIpGroups(request);}
|
[
"public",
"AssociateIpGroupsResult",
"associateIpGroups",
"(",
"AssociateIpGroupsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeAssociateIpGroups",
"(",
"request",
")",
";",
"}"
] |
public virtual AssociateIpGroupsResponse AssociateIpGroups(AssociateIpGroupsRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateIpGroupsRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateIpGroupsResponseUnmarshaller.Instance;return Invoke<AssociateIpGroupsResponse>(request, options);}
|
train
| true
|
4,498
|
public TestEventPatternResult testEventPattern(TestEventPatternRequest request) {request = beforeClientExecution(request);return executeTestEventPattern(request);}
|
[
"public",
"TestEventPatternResult",
"testEventPattern",
"(",
"TestEventPatternRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeTestEventPattern",
"(",
"request",
")",
";",
"}"
] |
public virtual TestEventPatternResponse TestEventPattern(TestEventPatternRequest request){var options = new InvokeOptions();options.RequestMarshaller = TestEventPatternRequestMarshaller.Instance;options.ResponseUnmarshaller = TestEventPatternResponseUnmarshaller.Instance;return Invoke<TestEventPatternResponse>(request, options);}
|
train
| true
|
4,499
|
public LockFailedException(File file, String message) {super(message);this.file = file;}
|
[
"public",
"LockFailedException",
"(",
"File",
"file",
",",
"String",
"message",
")",
"{",
"super",
"(",
"message",
")",
";",
"this",
".",
"file",
"=",
"file",
";",
"}"
] |
public LockFailedException(FilePath file, string message) : base(message){this.file = file;}
|
train
| false
|
4,500
|
public DeleteSkillGroupResult deleteSkillGroup(DeleteSkillGroupRequest request) {request = beforeClientExecution(request);return executeDeleteSkillGroup(request);}
|
[
"public",
"DeleteSkillGroupResult",
"deleteSkillGroup",
"(",
"DeleteSkillGroupRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDeleteSkillGroup",
"(",
"request",
")",
";",
"}"
] |
public virtual DeleteSkillGroupResponse DeleteSkillGroup(DeleteSkillGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteSkillGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteSkillGroupResponseUnmarshaller.Instance;return Invoke<DeleteSkillGroupResponse>(request, options);}
|
train
| true
|
4,501
|
public SortedDocValuesField(String name, BytesRef bytes) {super(name, TYPE);fieldsData = bytes;}
|
[
"public",
"SortedDocValuesField",
"(",
"String",
"name",
",",
"BytesRef",
"bytes",
")",
"{",
"super",
"(",
"name",
",",
"TYPE",
")",
";",
"fieldsData",
"=",
"bytes",
";",
"}"
] |
public SortedDocValuesField(string name, BytesRef bytes): base(name, TYPE){FieldsData = bytes;}
|
train
| false
|
4,502
|
public CreateNetworkResult createNetwork(CreateNetworkRequest request) {request = beforeClientExecution(request);return executeCreateNetwork(request);}
|
[
"public",
"CreateNetworkResult",
"createNetwork",
"(",
"CreateNetworkRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCreateNetwork",
"(",
"request",
")",
";",
"}"
] |
public virtual CreateNetworkResponse CreateNetwork(CreateNetworkRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateNetworkRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateNetworkResponseUnmarshaller.Instance;return Invoke<CreateNetworkResponse>(request, options);}
|
train
| false
|
4,503
|
public DeleteGroupRequest(String groupName) {setGroupName(groupName);}
|
[
"public",
"DeleteGroupRequest",
"(",
"String",
"groupName",
")",
"{",
"setGroupName",
"(",
"groupName",
")",
";",
"}"
] |
public DeleteGroupRequest(string groupName){_groupName = groupName;}
|
train
| false
|
4,504
|
public DescribeCacheEngineVersionsResult describeCacheEngineVersions(DescribeCacheEngineVersionsRequest request) {request = beforeClientExecution(request);return executeDescribeCacheEngineVersions(request);}
|
[
"public",
"DescribeCacheEngineVersionsResult",
"describeCacheEngineVersions",
"(",
"DescribeCacheEngineVersionsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeCacheEngineVersions",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeCacheEngineVersionsResponse DescribeCacheEngineVersions(DescribeCacheEngineVersionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeCacheEngineVersionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeCacheEngineVersionsResponseUnmarshaller.Instance;return Invoke<DescribeCacheEngineVersionsResponse>(request, options);}
|
train
| true
|
4,505
|
public int compareSameType(Object other) {assert exists || (false == value);MutableValueBool b = (MutableValueBool)other;if (value != b.value) return value ? 1 : -1;if (exists == b.exists) return 0;return exists ? 1 : -1;}
|
[
"public",
"int",
"compareSameType",
"(",
"Object",
"other",
")",
"{",
"assert",
"exists",
"||",
"(",
"false",
"==",
"value",
")",
";",
"MutableValueBool",
"b",
"=",
"(",
"MutableValueBool",
")",
"other",
";",
"if",
"(",
"value",
"!=",
"b",
".",
"value",
")",
"return",
"value",
"?",
"1",
":",
"-",
"1",
";",
"if",
"(",
"exists",
"==",
"b",
".",
"exists",
")",
"return",
"0",
";",
"return",
"exists",
"?",
"1",
":",
"-",
"1",
";",
"}"
] |
public override int CompareSameType(object other){MutableValueBool b = (MutableValueBool)other;if (Value != b.Value){return Value ? 1 : 0;}if (Exists == b.Exists){return 0;}return Exists ? 1 : -1;}
|
train
| false
|
4,506
|
public LineParser(String[] header) {this.header = header;}
|
[
"public",
"LineParser",
"(",
"String",
"[",
"]",
"header",
")",
"{",
"this",
".",
"header",
"=",
"header",
";",
"}"
] |
public LineParser(string[] header){this.m_header = header;}
|
train
| false
|
4,507
|
public DBInstance restoreDBInstanceFromDBSnapshot(RestoreDBInstanceFromDBSnapshotRequest request) {request = beforeClientExecution(request);return executeRestoreDBInstanceFromDBSnapshot(request);}
|
[
"public",
"DBInstance",
"restoreDBInstanceFromDBSnapshot",
"(",
"RestoreDBInstanceFromDBSnapshotRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeRestoreDBInstanceFromDBSnapshot",
"(",
"request",
")",
";",
"}"
] |
public virtual RestoreDBInstanceFromDBSnapshotResponse RestoreDBInstanceFromDBSnapshot(RestoreDBInstanceFromDBSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = RestoreDBInstanceFromDBSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = RestoreDBInstanceFromDBSnapshotResponseUnmarshaller.Instance;return Invoke<RestoreDBInstanceFromDBSnapshotResponse>(request, options);}
|
train
| true
|
4,508
|
public void push(E e) {addFirstImpl(e);}
|
[
"public",
"void",
"push",
"(",
"E",
"e",
")",
"{",
"addFirstImpl",
"(",
"e",
")",
";",
"}"
] |
public virtual void push(E e){addFirstImpl(e);}
|
train
| false
|
4,509
|
public synchronized void reset() throws IOException {if (buf == null) {throw new IOException("Stream is closed");}if (-1 == markpos) {throw new IOException("Mark has been invalidated.");}pos = markpos;}
|
[
"public",
"synchronized",
"void",
"reset",
"(",
")",
"throws",
"IOException",
"{",
"if",
"(",
"buf",
"==",
"null",
")",
"{",
"throw",
"new",
"IOException",
"(",
"\"Stream is closed\"",
")",
";",
"}",
"if",
"(",
"-",
"1",
"==",
"markpos",
")",
"{",
"throw",
"new",
"IOException",
"(",
"\"Mark has been invalidated.\"",
")",
";",
"}",
"pos",
"=",
"markpos",
";",
"}"
] |
public override void reset(){lock (this){if (buf == null){throw new System.IO.IOException("Stream is closed");}if (-1 == markpos){throw new System.IO.IOException("Mark has been invalidated.");}pos = markpos;}}
|
train
| true
|
4,510
|
public UpdateUsagePlanResult updateUsagePlan(UpdateUsagePlanRequest request) {request = beforeClientExecution(request);return executeUpdateUsagePlan(request);}
|
[
"public",
"UpdateUsagePlanResult",
"updateUsagePlan",
"(",
"UpdateUsagePlanRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeUpdateUsagePlan",
"(",
"request",
")",
";",
"}"
] |
public virtual UpdateUsagePlanResponse UpdateUsagePlan(UpdateUsagePlanRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateUsagePlanRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateUsagePlanResponseUnmarshaller.Instance;return Invoke<UpdateUsagePlanResponse>(request, options);}
|
train
| true
|
4,511
|
public boolean equals(Object obj) {if (this == obj) {return true;}if (obj == null) {return false;}if (getClass() != obj.getClass()) {return false;}TermInfo other = (TermInfo) obj;return position == other.position;}
|
[
"public",
"boolean",
"equals",
"(",
"Object",
"obj",
")",
"{",
"if",
"(",
"this",
"==",
"obj",
")",
"{",
"return",
"true",
";",
"}",
"if",
"(",
"obj",
"==",
"null",
")",
"{",
"return",
"false",
";",
"}",
"if",
"(",
"getClass",
"(",
")",
"!=",
"obj",
".",
"getClass",
"(",
")",
")",
"{",
"return",
"false",
";",
"}",
"TermInfo",
"other",
"=",
"(",
"TermInfo",
")",
"obj",
";",
"return",
"position",
"==",
"other",
".",
"position",
";",
"}"
] |
public override bool Equals(object obj){if (this == obj){return true;}if (obj == null){return false;}if (GetType() != obj.GetType()){return false;}TermInfo other = (TermInfo)obj;if (position != other.position){return false;}return true;}
|
train
| false
|
4,512
|
public StringPtg(String value) {if (value.length() > 255) {throw new IllegalArgumentException("String literals in formulas can't be bigger than 255 characters ASCII");}_is16bitUnicode = StringUtil.hasMultibyte(value);field_3_string = value;}
|
[
"public",
"StringPtg",
"(",
"String",
"value",
")",
"{",
"if",
"(",
"value",
".",
"length",
"(",
")",
">",
"255",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"String literals in formulas can't be bigger than 255 characters ASCII\"",
")",
";",
"}",
"_is16bitUnicode",
"=",
"StringUtil",
".",
"hasMultibyte",
"(",
"value",
")",
";",
"field_3_string",
"=",
"value",
";",
"}"
] |
public StringPtg(String value){if (value.Length > 255){throw new ArgumentException("String literals in formulas can't be bigger than 255 Chars ASCII");}_is16bitUnicode = StringUtil.HasMultibyte(value);field_3_string = value;field_1_Length = value.Length; }
|
train
| false
|
4,513
|
public ChangeType getChangeType() {return changeType;}
|
[
"public",
"ChangeType",
"getChangeType",
"(",
")",
"{",
"return",
"changeType",
";",
"}"
] |
public virtual DiffEntry.ChangeType GetChangeType(){return changeType;}
|
train
| false
|
4,514
|
public String asFormulaString() {StringBuilder sb = new StringBuilder(32);asFormulaString(sb);return sb.toString();}
|
[
"public",
"String",
"asFormulaString",
"(",
")",
"{",
"StringBuilder",
"sb",
"=",
"new",
"StringBuilder",
"(",
"32",
")",
";",
"asFormulaString",
"(",
"sb",
")",
";",
"return",
"sb",
".",
"toString",
"(",
")",
";",
"}"
] |
public String AsFormulaString(){StringBuilder sb = new StringBuilder(32);AsFormulaString(sb);return sb.ToString();}
|
train
| false
|
4,515
|
public void serialize(LittleEndianOutput out) {out.writeShort(sid);out.writeShort(getDataSize());out.writeShort(field_1_objectType);out.writeShort(field_2_objectId);out.writeShort(field_3_option);out.writeInt(field_4_reserved1);out.writeInt(field_5_reserved2);out.writeInt(field_6_reserved3);}
|
[
"public",
"void",
"serialize",
"(",
"LittleEndianOutput",
"out",
")",
"{",
"out",
".",
"writeShort",
"(",
"sid",
")",
";",
"out",
".",
"writeShort",
"(",
"getDataSize",
"(",
")",
")",
";",
"out",
".",
"writeShort",
"(",
"field_1_objectType",
")",
";",
"out",
".",
"writeShort",
"(",
"field_2_objectId",
")",
";",
"out",
".",
"writeShort",
"(",
"field_3_option",
")",
";",
"out",
".",
"writeInt",
"(",
"field_4_reserved1",
")",
";",
"out",
".",
"writeInt",
"(",
"field_5_reserved2",
")",
";",
"out",
".",
"writeInt",
"(",
"field_6_reserved3",
")",
";",
"}"
] |
public override void Serialize(ILittleEndianOutput out1){out1.WriteShort(sid);out1.WriteShort(DataSize);out1.WriteShort(field_1_objectType);out1.WriteShort(field_2_objectId);out1.WriteShort(field_3_option);out1.WriteInt(field_4_reserved1);out1.WriteInt(field_5_reserved2);out1.WriteInt(field_6_reserved3);}
|
train
| false
|
4,516
|
public DescribeAppResult describeApp(DescribeAppRequest request) {request = beforeClientExecution(request);return executeDescribeApp(request);}
|
[
"public",
"DescribeAppResult",
"describeApp",
"(",
"DescribeAppRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeApp",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeAppResponse DescribeApp(DescribeAppRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeAppRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeAppResponseUnmarshaller.Instance;return Invoke<DescribeAppResponse>(request, options);}
|
train
| false
|
4,517
|
public Map<String, DirCacheEntry> getToBeCheckedOut() {return toBeCheckedOut;}
|
[
"public",
"Map",
"<",
"String",
",",
"DirCacheEntry",
">",
"getToBeCheckedOut",
"(",
")",
"{",
"return",
"toBeCheckedOut",
";",
"}"
] |
public virtual IDictionary<string, DirCacheEntry> GetToBeCheckedOut(){return toBeCheckedOut;}
|
train
| false
|
4,518
|
public CreatePublicVirtualInterfaceResult createPublicVirtualInterface(CreatePublicVirtualInterfaceRequest request) {request = beforeClientExecution(request);return executeCreatePublicVirtualInterface(request);}
|
[
"public",
"CreatePublicVirtualInterfaceResult",
"createPublicVirtualInterface",
"(",
"CreatePublicVirtualInterfaceRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCreatePublicVirtualInterface",
"(",
"request",
")",
";",
"}"
] |
public virtual CreatePublicVirtualInterfaceResponse CreatePublicVirtualInterface(CreatePublicVirtualInterfaceRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreatePublicVirtualInterfaceRequestMarshaller.Instance;options.ResponseUnmarshaller = CreatePublicVirtualInterfaceResponseUnmarshaller.Instance;return Invoke<CreatePublicVirtualInterfaceResponse>(request, options);}
|
train
| true
|
4,519
|
public CreateQueueResult createQueue(String queueName) {return createQueue(new CreateQueueRequest().withQueueName(queueName));}
|
[
"public",
"CreateQueueResult",
"createQueue",
"(",
"String",
"queueName",
")",
"{",
"return",
"createQueue",
"(",
"new",
"CreateQueueRequest",
"(",
")",
".",
"withQueueName",
"(",
"queueName",
")",
")",
";",
"}"
] |
public virtual CreateQueueResponse CreateQueue(string queueName){var request = new CreateQueueRequest();request.QueueName = queueName;return CreateQueue(request);}
|
train
| false
|
4,521
|
public CreateFieldLevelEncryptionProfileResult createFieldLevelEncryptionProfile(CreateFieldLevelEncryptionProfileRequest request) {request = beforeClientExecution(request);return executeCreateFieldLevelEncryptionProfile(request);}
|
[
"public",
"CreateFieldLevelEncryptionProfileResult",
"createFieldLevelEncryptionProfile",
"(",
"CreateFieldLevelEncryptionProfileRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCreateFieldLevelEncryptionProfile",
"(",
"request",
")",
";",
"}"
] |
public virtual CreateFieldLevelEncryptionProfileResponse CreateFieldLevelEncryptionProfile(CreateFieldLevelEncryptionProfileRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateFieldLevelEncryptionProfileRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateFieldLevelEncryptionProfileResponseUnmarshaller.Instance;return Invoke<CreateFieldLevelEncryptionProfileResponse>(request, options);}
|
train
| true
|
4,522
|
public static int getSmileyResource(int which) {return sIconIds[which];}
|
[
"public",
"static",
"int",
"getSmileyResource",
"(",
"int",
"which",
")",
"{",
"return",
"sIconIds",
"[",
"which",
"]",
";",
"}"
] |
public static int getSmileyResource(int which){return sIconIds[which];}
|
train
| false
|
4,523
|
public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[SCL]\n");buffer.append(" .numerator = ").append("0x").append(HexDump.toHex( getNumerator ())).append(" (").append( getNumerator() ).append(" )");buffer.append(System.getProperty("line.separator"));buffer.append(" .denominator = ").append("0x").append(HexDump.toHex( getDenominator ())).append(" (").append( getDenominator() ).append(" )");buffer.append(System.getProperty("line.separator"));buffer.append("[/SCL]\n");return buffer.toString();}
|
[
"public",
"String",
"toString",
"(",
")",
"{",
"StringBuilder",
"buffer",
"=",
"new",
"StringBuilder",
"(",
")",
";",
"buffer",
".",
"append",
"(",
"\"[SCL]\\n\"",
")",
";",
"buffer",
".",
"append",
"(",
"\" .numerator = \"",
")",
".",
"append",
"(",
"\"0x\"",
")",
".",
"append",
"(",
"HexDump",
".",
"toHex",
"(",
"getNumerator",
"(",
")",
")",
")",
".",
"append",
"(",
"\" (\"",
")",
".",
"append",
"(",
"getNumerator",
"(",
")",
")",
".",
"append",
"(",
"\" )\"",
")",
";",
"buffer",
".",
"append",
"(",
"System",
".",
"getProperty",
"(",
"\"line.separator\"",
")",
")",
";",
"buffer",
".",
"append",
"(",
"\" .denominator = \"",
")",
".",
"append",
"(",
"\"0x\"",
")",
".",
"append",
"(",
"HexDump",
".",
"toHex",
"(",
"getDenominator",
"(",
")",
")",
")",
".",
"append",
"(",
"\" (\"",
")",
".",
"append",
"(",
"getDenominator",
"(",
")",
")",
".",
"append",
"(",
"\" )\"",
")",
";",
"buffer",
".",
"append",
"(",
"System",
".",
"getProperty",
"(",
"\"line.separator\"",
")",
")",
";",
"buffer",
".",
"append",
"(",
"\"[/SCL]\\n\"",
")",
";",
"return",
"buffer",
".",
"toString",
"(",
")",
";",
"}"
] |
public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[SCL]\n");buffer.Append(" .numerator = ").Append("0x").Append(HexDump.ToHex(Numerator)).Append(" (").Append(Numerator).Append(" )");buffer.Append(Environment.NewLine);buffer.Append(" .denominator = ").Append("0x").Append(HexDump.ToHex(Denominator)).Append(" (").Append(Denominator).Append(" )");buffer.Append(Environment.NewLine);buffer.Append("[/SCL]\n");return buffer.ToString();}
|
train
| false
|
4,524
|
public final void setBufferSize(int newSize) {assert buffer == null || bufferSize == buffer.length: "buffer=" + buffer + " bufferSize=" + bufferSize + " buffer.length=" + (buffer != null ? buffer.length : 0);if (newSize != bufferSize) {checkBufferSize(newSize);bufferSize = newSize;if (buffer != null) {byte[] newBuffer = new byte[newSize];final int leftInBuffer = bufferLength-bufferPosition;final int numToCopy;if (leftInBuffer > newSize)numToCopy = newSize;elsenumToCopy = leftInBuffer;System.arraycopy(buffer, bufferPosition, newBuffer, 0, numToCopy);bufferStart += bufferPosition;bufferPosition = 0;bufferLength = numToCopy;newBuffer(newBuffer);}}}
|
[
"public",
"final",
"void",
"setBufferSize",
"(",
"int",
"newSize",
")",
"{",
"assert",
"buffer",
"==",
"null",
"||",
"bufferSize",
"==",
"buffer",
".",
"length",
":",
"\"buffer=\"",
"+",
"buffer",
"+",
"\" bufferSize=\"",
"+",
"bufferSize",
"+",
"\" buffer.length=\"",
"+",
"(",
"buffer",
"!=",
"null",
"?",
"buffer",
".",
"length",
":",
"0",
")",
";",
"if",
"(",
"newSize",
"!=",
"bufferSize",
")",
"{",
"checkBufferSize",
"(",
"newSize",
")",
";",
"bufferSize",
"=",
"newSize",
";",
"if",
"(",
"buffer",
"!=",
"null",
")",
"{",
"byte",
"[",
"]",
"newBuffer",
"=",
"new",
"byte",
"[",
"newSize",
"]",
";",
"final",
"int",
"leftInBuffer",
"=",
"bufferLength",
"-",
"bufferPosition",
";",
"final",
"int",
"numToCopy",
";",
"if",
"(",
"leftInBuffer",
">",
"newSize",
")",
"numToCopy",
"=",
"newSize",
";",
"elsenumToCopy",
"=",
"leftInBuffer",
";",
"System",
".",
"arraycopy",
"(",
"buffer",
",",
"bufferPosition",
",",
"newBuffer",
",",
"0",
",",
"numToCopy",
")",
";",
"bufferStart",
"+=",
"bufferPosition",
";",
"bufferPosition",
"=",
"0",
";",
"bufferLength",
"=",
"numToCopy",
";",
"newBuffer",
"(",
"newBuffer",
")",
";",
"}",
"}",
"}"
] |
public void SetBufferSize(int newSize){Debug.Assert(m_buffer == null || bufferSize == m_buffer.Length, "buffer=" + m_buffer + " bufferSize=" + bufferSize + " buffer.length=" + (m_buffer != null ? m_buffer.Length : 0));if (newSize != bufferSize){CheckBufferSize(newSize);bufferSize = newSize;if (m_buffer != null){byte[] newBuffer = new byte[newSize];int leftInBuffer = bufferLength - bufferPosition;int numToCopy;if (leftInBuffer > newSize){numToCopy = newSize;}else{numToCopy = leftInBuffer;}Array.Copy(m_buffer, bufferPosition, newBuffer, 0, numToCopy);bufferStart += bufferPosition;bufferPosition = 0;bufferLength = numToCopy;NewBuffer(newBuffer);}}}
|
train
| false
|
4,525
|
public DisassociateSigninDelegateGroupsFromAccountResult disassociateSigninDelegateGroupsFromAccount(DisassociateSigninDelegateGroupsFromAccountRequest request) {request = beforeClientExecution(request);return executeDisassociateSigninDelegateGroupsFromAccount(request);}
|
[
"public",
"DisassociateSigninDelegateGroupsFromAccountResult",
"disassociateSigninDelegateGroupsFromAccount",
"(",
"DisassociateSigninDelegateGroupsFromAccountRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDisassociateSigninDelegateGroupsFromAccount",
"(",
"request",
")",
";",
"}"
] |
public virtual DisassociateSigninDelegateGroupsFromAccountResponse DisassociateSigninDelegateGroupsFromAccount(DisassociateSigninDelegateGroupsFromAccountRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateSigninDelegateGroupsFromAccountRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateSigninDelegateGroupsFromAccountResponseUnmarshaller.Instance;return Invoke<DisassociateSigninDelegateGroupsFromAccountResponse>(request, options);}
|
train
| false
|
4,526
|
public TokenStream create(TokenStream input) {return new IndicNormalizationFilter(input);}
|
[
"public",
"TokenStream",
"create",
"(",
"TokenStream",
"input",
")",
"{",
"return",
"new",
"IndicNormalizationFilter",
"(",
"input",
")",
";",
"}"
] |
public override TokenStream Create(TokenStream input){return new IndicNormalizationFilter(input);}
|
train
| false
|
4,527
|
public TickRecord(RecordInputStream in) {field_1_majorTickType = in.readByte();field_2_minorTickType = in.readByte();field_3_labelPosition = in.readByte();field_4_background = in.readByte();field_5_labelColorRgb = in.readInt();field_6_zero1 = in.readInt();field_7_zero2 = in.readInt();field_8_zero3 = in.readInt();field_9_zero4 = in.readInt();field_10_options = in.readShort();field_11_tickColor = in.readShort();field_12_zero5 = in.readShort();}
|
[
"public",
"TickRecord",
"(",
"RecordInputStream",
"in",
")",
"{",
"field_1_majorTickType",
"=",
"in",
".",
"readByte",
"(",
")",
";",
"field_2_minorTickType",
"=",
"in",
".",
"readByte",
"(",
")",
";",
"field_3_labelPosition",
"=",
"in",
".",
"readByte",
"(",
")",
";",
"field_4_background",
"=",
"in",
".",
"readByte",
"(",
")",
";",
"field_5_labelColorRgb",
"=",
"in",
".",
"readInt",
"(",
")",
";",
"field_6_zero1",
"=",
"in",
".",
"readInt",
"(",
")",
";",
"field_7_zero2",
"=",
"in",
".",
"readInt",
"(",
")",
";",
"field_8_zero3",
"=",
"in",
".",
"readInt",
"(",
")",
";",
"field_9_zero4",
"=",
"in",
".",
"readInt",
"(",
")",
";",
"field_10_options",
"=",
"in",
".",
"readShort",
"(",
")",
";",
"field_11_tickColor",
"=",
"in",
".",
"readShort",
"(",
")",
";",
"field_12_zero5",
"=",
"in",
".",
"readShort",
"(",
")",
";",
"}"
] |
public TickRecord(RecordInputStream in1){field_1_majorTickType = (byte)in1.ReadByte();field_2_minorTickType = (byte)in1.ReadByte();field_3_labelPosition = (byte)in1.ReadByte();field_4_background = (byte)in1.ReadByte();field_5_labelColorRgb = (byte)in1.ReadInt();field_6_zero1 = in1.ReadInt();field_7_zero2 = in1.ReadInt();field_8_zero3 = in1.ReadInt();field_9_zero4 = in1.ReadInt();field_10_options = in1.ReadShort();field_11_tickColor = in1.ReadShort();field_12_zero5 = in1.ReadShort();}
|
train
| false
|
4,528
|
public long getPackedGitLimit() {return packedGitLimit;}
|
[
"public",
"long",
"getPackedGitLimit",
"(",
")",
"{",
"return",
"packedGitLimit",
";",
"}"
] |
public virtual long GetPackedGitLimit(){return packedGitLimit;}
|
train
| false
|
4,529
|
public DisassociateContactFromAddressBookResult disassociateContactFromAddressBook(DisassociateContactFromAddressBookRequest request) {request = beforeClientExecution(request);return executeDisassociateContactFromAddressBook(request);}
|
[
"public",
"DisassociateContactFromAddressBookResult",
"disassociateContactFromAddressBook",
"(",
"DisassociateContactFromAddressBookRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDisassociateContactFromAddressBook",
"(",
"request",
")",
";",
"}"
] |
public virtual DisassociateContactFromAddressBookResponse DisassociateContactFromAddressBook(DisassociateContactFromAddressBookRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateContactFromAddressBookRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateContactFromAddressBookResponseUnmarshaller.Instance;return Invoke<DisassociateContactFromAddressBookResponse>(request, options);}
|
train
| true
|
4,530
|
public void writeShort(int v) {checkPosition(2);int i = _writeIndex;_buf[i++] = (byte)((v >>> 0) & 0xFF);_buf[i++] = (byte)((v >>> 8) & 0xFF);_writeIndex = i;}
|
[
"public",
"void",
"writeShort",
"(",
"int",
"v",
")",
"{",
"checkPosition",
"(",
"2",
")",
";",
"int",
"i",
"=",
"_writeIndex",
";",
"_buf",
"[",
"i",
"++",
"]",
"=",
"(",
"byte",
")",
"(",
"(",
"v",
">",
">",
">",
"0",
")",
"&",
"0xFF",
")",
";",
"_buf",
"[",
"i",
"++",
"]",
"=",
"(",
"byte",
")",
"(",
"(",
"v",
">",
">",
">",
"8",
")",
"&",
"0xFF",
")",
";",
"_writeIndex",
"=",
"i",
";",
"}"
] |
public void WriteShort(int v){CheckPosition(2);int i = _writeIndex;_buf[i++] = (byte)((v >> 0) & 0xFF);_buf[i++] = (byte)((v >> 8) & 0xFF);_writeIndex = i;}
|
train
| false
|
4,531
|
public int read(char[] c, int off, int len) {if (pos < size) {len = Math.min(len, size-pos);s.getChars(pos, pos+len, c, off);pos += len;return len;} else {s = null;return -1;}}
|
[
"public",
"int",
"read",
"(",
"char",
"[",
"]",
"c",
",",
"int",
"off",
",",
"int",
"len",
")",
"{",
"if",
"(",
"pos",
"<",
"size",
")",
"{",
"len",
"=",
"Math",
".",
"min",
"(",
"len",
",",
"size",
"-",
"pos",
")",
";",
"s",
".",
"getChars",
"(",
"pos",
",",
"pos",
"+",
"len",
",",
"c",
",",
"off",
")",
";",
"pos",
"+=",
"len",
";",
"return",
"len",
";",
"}",
"else",
"{",
"s",
"=",
"null",
";",
"return",
"-",
"1",
";",
"}",
"}"
] |
public override int Read(char[] c, int off, int len){if (pos < size){len = Math.Min(len, size - pos);s.CopyTo(pos, c, off, pos + len - pos);pos += len;return len;}else{s = null;return -1;}}
|
train
| false
|
4,532
|
public AssociateSkillWithUsersResult associateSkillWithUsers(AssociateSkillWithUsersRequest request) {request = beforeClientExecution(request);return executeAssociateSkillWithUsers(request);}
|
[
"public",
"AssociateSkillWithUsersResult",
"associateSkillWithUsers",
"(",
"AssociateSkillWithUsersRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeAssociateSkillWithUsers",
"(",
"request",
")",
";",
"}"
] |
public virtual AssociateSkillWithUsersResponse AssociateSkillWithUsers(AssociateSkillWithUsersRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateSkillWithUsersRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateSkillWithUsersResponseUnmarshaller.Instance;return Invoke<AssociateSkillWithUsersResponse>(request, options);}
|
train
| true
|
4,533
|
public boolean doPrune(double ageSec, IndexSearcher searcher) {return ageSec > maxAgeSec;}
|
[
"public",
"boolean",
"doPrune",
"(",
"double",
"ageSec",
",",
"IndexSearcher",
"searcher",
")",
"{",
"return",
"ageSec",
">",
"maxAgeSec",
";",
"}"
] |
public bool DoPrune(double ageSec, IndexSearcher searcher){return ageSec > maxAgeSec;}
|
train
| false
|
4,534
|
public DescribeObservationResult describeObservation(DescribeObservationRequest request) {request = beforeClientExecution(request);return executeDescribeObservation(request);}
|
[
"public",
"DescribeObservationResult",
"describeObservation",
"(",
"DescribeObservationRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeObservation",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeObservationResponse DescribeObservation(DescribeObservationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeObservationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeObservationResponseUnmarshaller.Instance;return Invoke<DescribeObservationResponse>(request, options);}
|
train
| false
|
4,535
|
public DeletePresetResult deletePreset(DeletePresetRequest request) {request = beforeClientExecution(request);return executeDeletePreset(request);}
|
[
"public",
"DeletePresetResult",
"deletePreset",
"(",
"DeletePresetRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDeletePreset",
"(",
"request",
")",
";",
"}"
] |
public virtual DeletePresetResponse DeletePreset(DeletePresetRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeletePresetRequestMarshaller.Instance;options.ResponseUnmarshaller = DeletePresetResponseUnmarshaller.Instance;return Invoke<DeletePresetResponse>(request, options);}
|
train
| true
|
4,536
|
public long ramBytesUsed() {long size = 0;for (Map.Entry<String,DocValuesProducer> entry : formats.entrySet()) {size += (entry.getKey().length() * Character.BYTES) + entry.getValue().ramBytesUsed();}return size;}
|
[
"public",
"long",
"ramBytesUsed",
"(",
")",
"{",
"long",
"size",
"=",
"0",
";",
"for",
"(",
"Map",
".",
"Entry",
"<",
"String",
",",
"DocValuesProducer",
">",
"entry",
":",
"formats",
".",
"entrySet",
"(",
")",
")",
"{",
"size",
"+=",
"(",
"entry",
".",
"getKey",
"(",
")",
".",
"length",
"(",
")",
"*",
"Character",
".",
"BYTES",
")",
"+",
"entry",
".",
"getValue",
"(",
")",
".",
"ramBytesUsed",
"(",
")",
";",
"}",
"return",
"size",
";",
"}"
] |
public override long RamBytesUsed(){long size = 0;foreach (KeyValuePair<string, DocValuesProducer> entry in formats){size += (entry.Key.Length * RamUsageEstimator.NUM_BYTES_CHAR)+ entry.Value.RamBytesUsed();}return size;}
|
train
| false
|
4,537
|
public UserSViewBegin clone() {return copy();}
|
[
"public",
"UserSViewBegin",
"clone",
"(",
")",
"{",
"return",
"copy",
"(",
")",
";",
"}"
] |
public override Object Clone(){return CloneViaReserialise();}
|
train
| false
|
4,538
|
public char[] toCharArray() {synchronized (lock) {char[] result = new char[count];System.arraycopy(buf, 0, result, 0, count);return result;}}
|
[
"public",
"char",
"[",
"]",
"toCharArray",
"(",
")",
"{",
"synchronized",
"(",
"lock",
")",
"{",
"char",
"[",
"]",
"result",
"=",
"new",
"char",
"[",
"count",
"]",
";",
"System",
".",
"arraycopy",
"(",
"buf",
",",
"0",
",",
"result",
",",
"0",
",",
"count",
")",
";",
"return",
"result",
";",
"}",
"}"
] |
public virtual char[] toCharArray(){lock (@lock){char[] result = new char[count];System.Array.Copy(buf, 0, result, 0, count);return result;}}
|
train
| false
|
4,539
|
public RebuildWorkspacesResult rebuildWorkspaces(RebuildWorkspacesRequest request) {request = beforeClientExecution(request);return executeRebuildWorkspaces(request);}
|
[
"public",
"RebuildWorkspacesResult",
"rebuildWorkspaces",
"(",
"RebuildWorkspacesRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeRebuildWorkspaces",
"(",
"request",
")",
";",
"}"
] |
public virtual RebuildWorkspacesResponse RebuildWorkspaces(RebuildWorkspacesRequest request){var options = new InvokeOptions();options.RequestMarshaller = RebuildWorkspacesRequestMarshaller.Instance;options.ResponseUnmarshaller = RebuildWorkspacesResponseUnmarshaller.Instance;return Invoke<RebuildWorkspacesResponse>(request, options);}
|
train
| true
|
4,540
|
public GetLexiconResult getLexicon(GetLexiconRequest request) {request = beforeClientExecution(request);return executeGetLexicon(request);}
|
[
"public",
"GetLexiconResult",
"getLexicon",
"(",
"GetLexiconRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeGetLexicon",
"(",
"request",
")",
";",
"}"
] |
public virtual GetLexiconResponse GetLexicon(GetLexiconRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetLexiconRequestMarshaller.Instance;options.ResponseUnmarshaller = GetLexiconResponseUnmarshaller.Instance;return Invoke<GetLexiconResponse>(request, options);}
|
train
| true
|
4,541
|
public UpdateDeploymentStrategyResult updateDeploymentStrategy(UpdateDeploymentStrategyRequest request) {request = beforeClientExecution(request);return executeUpdateDeploymentStrategy(request);}
|
[
"public",
"UpdateDeploymentStrategyResult",
"updateDeploymentStrategy",
"(",
"UpdateDeploymentStrategyRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeUpdateDeploymentStrategy",
"(",
"request",
")",
";",
"}"
] |
public virtual UpdateDeploymentStrategyResponse UpdateDeploymentStrategy(UpdateDeploymentStrategyRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDeploymentStrategyRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDeploymentStrategyResponseUnmarshaller.Instance;return Invoke<UpdateDeploymentStrategyResponse>(request, options);}
|
train
| false
|
4,542
|
public GetAlgorithmListRequest() {super("industry-brain", "2018-07-12", "GetAlgorithmList");setProtocol(ProtocolType.HTTPS);}
|
[
"public",
"GetAlgorithmListRequest",
"(",
")",
"{",
"super",
"(",
"\"industry-brain\"",
",",
"\"2018-07-12\"",
",",
"\"GetAlgorithmList\"",
")",
";",
"setProtocol",
"(",
"ProtocolType",
".",
"HTTPS",
")",
";",
"}"
] |
public GetAlgorithmListRequest(): base("industry-brain", "2018-07-12", "GetAlgorithmList"){Protocol = ProtocolType.HTTPS;}
|
train
| false
|
4,543
|
public boolean isForceUpdate() {return forceUpdate;}
|
[
"public",
"boolean",
"isForceUpdate",
"(",
")",
"{",
"return",
"forceUpdate",
";",
"}"
] |
public virtual bool IsForceUpdate(){return forceUpdate;}
|
train
| false
|
4,544
|
public ListGameServersResult listGameServers(ListGameServersRequest request) {request = beforeClientExecution(request);return executeListGameServers(request);}
|
[
"public",
"ListGameServersResult",
"listGameServers",
"(",
"ListGameServersRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeListGameServers",
"(",
"request",
")",
";",
"}"
] |
public virtual ListGameServersResponse ListGameServers(ListGameServersRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListGameServersRequestMarshaller.Instance;options.ResponseUnmarshaller = ListGameServersResponseUnmarshaller.Instance;return Invoke<ListGameServersResponse>(request, options);}
|
train
| false
|
4,545
|
public boolean delete(){boolean rval = false;if ((!isRoot()) && isDeleteOK()){rval = _parent.deleteEntry(this);}return rval;}
|
[
"public",
"boolean",
"delete",
"(",
")",
"{",
"boolean",
"rval",
"=",
"false",
";",
"if",
"(",
"(",
"!",
"isRoot",
"(",
")",
")",
"&&",
"isDeleteOK",
"(",
")",
")",
"{",
"rval",
"=",
"_parent",
".",
"deleteEntry",
"(",
"this",
")",
";",
"}",
"return",
"rval",
";",
"}"
] |
public bool Delete(){bool rval = false;if ((!IsRoot) && IsDeleteOK){rval = _parent.DeleteEntry(this);}return rval;}
|
train
| false
|
4,546
|
public TableRecord(RecordInputStream in) {super(in);field_5_flags = in.readByte();field_6_res = in.readByte();field_7_rowInputRow = in.readShort();field_8_colInputRow = in.readShort();field_9_rowInputCol = in.readShort();field_10_colInputCol = in.readShort();}
|
[
"public",
"TableRecord",
"(",
"RecordInputStream",
"in",
")",
"{",
"super",
"(",
"in",
")",
";",
"field_5_flags",
"=",
"in",
".",
"readByte",
"(",
")",
";",
"field_6_res",
"=",
"in",
".",
"readByte",
"(",
")",
";",
"field_7_rowInputRow",
"=",
"in",
".",
"readShort",
"(",
")",
";",
"field_8_colInputRow",
"=",
"in",
".",
"readShort",
"(",
")",
";",
"field_9_rowInputCol",
"=",
"in",
".",
"readShort",
"(",
")",
";",
"field_10_colInputCol",
"=",
"in",
".",
"readShort",
"(",
")",
";",
"}"
] |
public TableRecord(RecordInputStream in1): base(in1){field_5_flags = in1.ReadByte();field_6_res = in1.ReadByte();field_7_rowInputRow = in1.ReadShort();field_8_colInputRow = in1.ReadShort();field_9_rowInputCol = in1.ReadShort();field_10_colInputCol = in1.ReadShort();}
|
train
| false
|
4,547
|
public AllocateHostsResult allocateHosts(AllocateHostsRequest request) {request = beforeClientExecution(request);return executeAllocateHosts(request);}
|
[
"public",
"AllocateHostsResult",
"allocateHosts",
"(",
"AllocateHostsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeAllocateHosts",
"(",
"request",
")",
";",
"}"
] |
public virtual AllocateHostsResponse AllocateHosts(AllocateHostsRequest request){var options = new InvokeOptions();options.RequestMarshaller = AllocateHostsRequestMarshaller.Instance;options.ResponseUnmarshaller = AllocateHostsResponseUnmarshaller.Instance;return Invoke<AllocateHostsResponse>(request, options);}
|
train
| true
|
4,548
|
public void writeContinue() {_ulrOutput.terminate();_totalPreviousRecordsSize += _ulrOutput.getTotalSize();_ulrOutput = new UnknownLengthRecordOutput(_out, ContinueRecord.sid);}
|
[
"public",
"void",
"writeContinue",
"(",
")",
"{",
"_ulrOutput",
".",
"terminate",
"(",
")",
";",
"_totalPreviousRecordsSize",
"+=",
"_ulrOutput",
".",
"getTotalSize",
"(",
")",
";",
"_ulrOutput",
"=",
"new",
"UnknownLengthRecordOutput",
"(",
"_out",
",",
"ContinueRecord",
".",
"sid",
")",
";",
"}"
] |
public void WriteContinue(){_ulrOutput.Terminate();_totalPreviousRecordsSize += _ulrOutput.TotalSize;_ulrOutput = new UnknownLengthRecordOutput(_out, ContinueRecord.sid);}
|
train
| false
|
4,549
|
public void unread(byte[] buffer, int offset, int length) throws IOException {if (length > pos) {throw new IOException("Pushback buffer full");}Arrays.checkOffsetAndCount(buffer.length, offset, length);if (buf == null) {throw streamClosed();}System.arraycopy(buffer, offset, buf, pos - length, length);pos = pos - length;}
|
[
"public",
"void",
"unread",
"(",
"byte",
"[",
"]",
"buffer",
",",
"int",
"offset",
",",
"int",
"length",
")",
"throws",
"IOException",
"{",
"if",
"(",
"length",
">",
"pos",
")",
"{",
"throw",
"new",
"IOException",
"(",
"\"Pushback buffer full\"",
")",
";",
"}",
"Arrays",
".",
"checkOffsetAndCount",
"(",
"buffer",
".",
"length",
",",
"offset",
",",
"length",
")",
";",
"if",
"(",
"buf",
"==",
"null",
")",
"{",
"throw",
"streamClosed",
"(",
")",
";",
"}",
"System",
".",
"arraycopy",
"(",
"buffer",
",",
"offset",
",",
"buf",
",",
"pos",
"-",
"length",
",",
"length",
")",
";",
"pos",
"=",
"pos",
"-",
"length",
";",
"}"
] |
public virtual void unread(byte[] buffer, int offset, int length){if (length > pos){throw new System.IO.IOException("Pushback buffer full");}java.util.Arrays.checkOffsetAndCount(buffer.Length, offset, length);if (buf == null){throw streamClosed();}System.Array.Copy(buffer, offset, buf, pos - length, length);pos = pos - length;}
|
train
| false
|
4,550
|
public boolean containsCell(BookSheetKey key, int rowIndex, int columnIndex) {BlankCellSheetGroup bcsg = _sheetGroupsByBookSheet.get(key);if (bcsg == null) {return false;}return bcsg.containsCell(rowIndex, columnIndex);}
|
[
"public",
"boolean",
"containsCell",
"(",
"BookSheetKey",
"key",
",",
"int",
"rowIndex",
",",
"int",
"columnIndex",
")",
"{",
"BlankCellSheetGroup",
"bcsg",
"=",
"_sheetGroupsByBookSheet",
".",
"get",
"(",
"key",
")",
";",
"if",
"(",
"bcsg",
"==",
"null",
")",
"{",
"return",
"false",
";",
"}",
"return",
"bcsg",
".",
"containsCell",
"(",
"rowIndex",
",",
"columnIndex",
")",
";",
"}"
] |
public bool ContainsCell(BookSheetKey key, int rowIndex, int columnIndex){BlankCellSheetGroup bcsg = (BlankCellSheetGroup)_sheetGroupsByBookSheet[key];if (bcsg == null){return false;}return bcsg.ContainsCell(rowIndex, columnIndex);}
|
train
| false
|
4,551
|
public DescribeTextTranslationJobResult describeTextTranslationJob(DescribeTextTranslationJobRequest request) {request = beforeClientExecution(request);return executeDescribeTextTranslationJob(request);}
|
[
"public",
"DescribeTextTranslationJobResult",
"describeTextTranslationJob",
"(",
"DescribeTextTranslationJobRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeTextTranslationJob",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeTextTranslationJobResponse DescribeTextTranslationJob(DescribeTextTranslationJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTextTranslationJobRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTextTranslationJobResponseUnmarshaller.Instance;return Invoke<DescribeTextTranslationJobResponse>(request, options);}
|
train
| false
|
4,552
|
public int serialize( int offset, byte[] data, EscherSerializationListener listener ){listener.beforeRecordSerialize( offset, getRecordId(), this );if (remainingData == null) {remainingData = new byte[0];}LittleEndian.putShort( data, offset, getOptions() );LittleEndian.putShort( data, offset + 2, getRecordId() );int remainingBytes = remainingData.length + (shortRecord ? 8 : 18);LittleEndian.putInt( data, offset + 4, remainingBytes );LittleEndian.putShort( data, offset + 8, field_1_flag );LittleEndian.putShort( data, offset + 10, field_2_col1 );LittleEndian.putShort( data, offset + 12, field_3_dx1 );LittleEndian.putShort( data, offset + 14, field_4_row1 );if(!shortRecord) {LittleEndian.putShort( data, offset + 16, field_5_dy1 );LittleEndian.putShort( data, offset + 18, field_6_col2 );LittleEndian.putShort( data, offset + 20, field_7_dx2 );LittleEndian.putShort( data, offset + 22, field_8_row2 );LittleEndian.putShort( data, offset + 24, field_9_dy2 );}System.arraycopy( remainingData, 0, data, offset + (shortRecord ? 16 : 26), remainingData.length );int pos = offset + 8 + (shortRecord ? 8 : 18) + remainingData.length;listener.afterRecordSerialize( pos, getRecordId(), pos - offset, this );return pos - offset;}
|
[
"public",
"int",
"serialize",
"(",
"int",
"offset",
",",
"byte",
"[",
"]",
"data",
",",
"EscherSerializationListener",
"listener",
")",
"{",
"listener",
".",
"beforeRecordSerialize",
"(",
"offset",
",",
"getRecordId",
"(",
")",
",",
"this",
")",
";",
"if",
"(",
"remainingData",
"==",
"null",
")",
"{",
"remainingData",
"=",
"new",
"byte",
"[",
"0",
"]",
";",
"}",
"LittleEndian",
".",
"putShort",
"(",
"data",
",",
"offset",
",",
"getOptions",
"(",
")",
")",
";",
"LittleEndian",
".",
"putShort",
"(",
"data",
",",
"offset",
"+",
"2",
",",
"getRecordId",
"(",
")",
")",
";",
"int",
"remainingBytes",
"=",
"remainingData",
".",
"length",
"+",
"(",
"shortRecord",
"?",
"8",
":",
"18",
")",
";",
"LittleEndian",
".",
"putInt",
"(",
"data",
",",
"offset",
"+",
"4",
",",
"remainingBytes",
")",
";",
"LittleEndian",
".",
"putShort",
"(",
"data",
",",
"offset",
"+",
"8",
",",
"field_1_flag",
")",
";",
"LittleEndian",
".",
"putShort",
"(",
"data",
",",
"offset",
"+",
"10",
",",
"field_2_col1",
")",
";",
"LittleEndian",
".",
"putShort",
"(",
"data",
",",
"offset",
"+",
"12",
",",
"field_3_dx1",
")",
";",
"LittleEndian",
".",
"putShort",
"(",
"data",
",",
"offset",
"+",
"14",
",",
"field_4_row1",
")",
";",
"if",
"(",
"!",
"shortRecord",
")",
"{",
"LittleEndian",
".",
"putShort",
"(",
"data",
",",
"offset",
"+",
"16",
",",
"field_5_dy1",
")",
";",
"LittleEndian",
".",
"putShort",
"(",
"data",
",",
"offset",
"+",
"18",
",",
"field_6_col2",
")",
";",
"LittleEndian",
".",
"putShort",
"(",
"data",
",",
"offset",
"+",
"20",
",",
"field_7_dx2",
")",
";",
"LittleEndian",
".",
"putShort",
"(",
"data",
",",
"offset",
"+",
"22",
",",
"field_8_row2",
")",
";",
"LittleEndian",
".",
"putShort",
"(",
"data",
",",
"offset",
"+",
"24",
",",
"field_9_dy2",
")",
";",
"}",
"System",
".",
"arraycopy",
"(",
"remainingData",
",",
"0",
",",
"data",
",",
"offset",
"+",
"(",
"shortRecord",
"?",
"16",
":",
"26",
")",
",",
"remainingData",
".",
"length",
")",
";",
"int",
"pos",
"=",
"offset",
"+",
"8",
"+",
"(",
"shortRecord",
"?",
"8",
":",
"18",
")",
"+",
"remainingData",
".",
"length",
";",
"listener",
".",
"afterRecordSerialize",
"(",
"pos",
",",
"getRecordId",
"(",
")",
",",
"pos",
"-",
"offset",
",",
"this",
")",
";",
"return",
"pos",
"-",
"offset",
";",
"}"
] |
public override int Serialize(int offset, byte[] data, EscherSerializationListener listener){listener.BeforeRecordSerialize(offset, RecordId, this);if (remainingData == null) remainingData = new byte[0];LittleEndian.PutShort(data, offset, Options);LittleEndian.PutShort(data, offset + 2, RecordId);int remainingBytes = remainingData.Length + (shortRecord ? 8 : 18);LittleEndian.PutInt(data, offset + 4, remainingBytes);LittleEndian.PutShort(data, offset + 8, field_1_flag);LittleEndian.PutShort(data, offset + 10, field_2_col1);LittleEndian.PutShort(data, offset + 12, field_3_dx1);LittleEndian.PutShort(data, offset + 14, field_4_row1);if (!shortRecord){LittleEndian.PutShort(data, offset + 16, field_5_dy1);LittleEndian.PutShort(data, offset + 18, field_6_col2);LittleEndian.PutShort(data, offset + 20, field_7_dx2);LittleEndian.PutShort(data, offset + 22, field_8_row2);LittleEndian.PutShort(data, offset + 24, field_9_dy2);}Array.Copy(remainingData, 0, data, offset + (shortRecord ? 16 : 26), remainingData.Length);int pos = offset + 8 + (shortRecord ? 8 : 18) + remainingData.Length;listener.AfterRecordSerialize(pos, RecordId, pos - offset, this);return pos - offset;}
|
train
| false
|
4,553
|
public final void serialize(LittleEndianOutput out) {int nBreaks = _breaks.size();out.writeShort(nBreaks);for (Break aBreak : _breaks) {aBreak.serialize(out);}}
|
[
"public",
"final",
"void",
"serialize",
"(",
"LittleEndianOutput",
"out",
")",
"{",
"int",
"nBreaks",
"=",
"_breaks",
".",
"size",
"(",
")",
";",
"out",
".",
"writeShort",
"(",
"nBreaks",
")",
";",
"for",
"(",
"Break",
"aBreak",
":",
"_breaks",
")",
"{",
"aBreak",
".",
"serialize",
"(",
"out",
")",
";",
"}",
"}"
] |
public override void Serialize(ILittleEndianOutput out1){int nBreaks = _breaks.Count;out1.WriteShort(nBreaks);for (int i = 0; i < nBreaks; i++){_breaks[i].Serialize(out1);}}
|
train
| false
|
4,554
|
public float baselineTf(float freq) {if (0.0f == freq) return 0.0f;return (freq <= tf_min)? tf_base: (float)Math.sqrt(freq + (tf_base * tf_base) - tf_min);}
|
[
"public",
"float",
"baselineTf",
"(",
"float",
"freq",
")",
"{",
"if",
"(",
"0.0f",
"==",
"freq",
")",
"return",
"0.0f",
";",
"return",
"(",
"freq",
"<=",
"tf_min",
")",
"?",
"tf_base",
":",
"(",
"float",
")",
"Math",
".",
"sqrt",
"(",
"freq",
"+",
"(",
"tf_base",
"*",
"tf_base",
")",
"-",
"tf_min",
")",
";",
"}"
] |
public virtual float BaselineTf(float freq){if (0.0f == freq){return 0.0f;}return (freq <= tf_min) ? tf_base : (float)Math.Sqrt(freq + (tf_base * tf_base) - tf_min);}
|
train
| false
|
4,555
|
public StringBuilder delete(int start, int end) {delete0(start, end);return this;}
|
[
"public",
"StringBuilder",
"delete",
"(",
"int",
"start",
",",
"int",
"end",
")",
"{",
"delete0",
"(",
"start",
",",
"end",
")",
";",
"return",
"this",
";",
"}"
] |
public java.lang.StringBuilder delete(int start, int end){delete0(start, end);return this;}
|
train
| false
|
4,556
|
public boolean isError() {return this.type == TYPE_MALFORMED_INPUT|| this.type == TYPE_UNMAPPABLE_CHAR;}
|
[
"public",
"boolean",
"isError",
"(",
")",
"{",
"return",
"this",
".",
"type",
"==",
"TYPE_MALFORMED_INPUT",
"||",
"this",
".",
"type",
"==",
"TYPE_UNMAPPABLE_CHAR",
";",
"}"
] |
public virtual bool isError(){return this.type == TYPE_MALFORMED_INPUT || this.type == TYPE_UNMAPPABLE_CHAR;}
|
train
| false
|
4,557
|
public int getLastSheetIndexFromExternSheetIndex(int externSheetNumber){return linkTable.getLastInternalSheetIndexForExtIndex(externSheetNumber);}
|
[
"public",
"int",
"getLastSheetIndexFromExternSheetIndex",
"(",
"int",
"externSheetNumber",
")",
"{",
"return",
"linkTable",
".",
"getLastInternalSheetIndexForExtIndex",
"(",
"externSheetNumber",
")",
";",
"}"
] |
public int GetLastSheetIndexFromExternSheetIndex(int externSheetNumber){return linkTable.GetLastInternalSheetIndexForExtIndex(externSheetNumber);}
|
train
| false
|
4,558
|
public PlainTextDictionary(InputStream dictFile) {in = new BufferedReader(IOUtils.getDecodingReader(dictFile, StandardCharsets.UTF_8));}
|
[
"public",
"PlainTextDictionary",
"(",
"InputStream",
"dictFile",
")",
"{",
"in",
"=",
"new",
"BufferedReader",
"(",
"IOUtils",
".",
"getDecodingReader",
"(",
"dictFile",
",",
"StandardCharsets",
".",
"UTF_8",
")",
")",
";",
"}"
] |
public PlainTextDictionary(Stream dictFile){@in = IOUtils.GetDecodingReader(dictFile, Encoding.UTF8);}
|
train
| false
|
4,559
|
public LittleEndianByteArrayOutputStream(byte[] buf, int startOffset, int maxWriteLen) { if (startOffset < 0 || startOffset > buf.length) {throw new IllegalArgumentException("Specified startOffset (" + startOffset+ ") is out of allowable range (0.." + buf.length + ")");}_buf = buf;_writeIndex = startOffset;_endIndex = startOffset + maxWriteLen;if (_endIndex < startOffset || _endIndex > buf.length) {throw new IllegalArgumentException("calculated end index (" + _endIndex+ ") is out of allowable range (" + _writeIndex + ".." + buf.length + ")");}}
|
[
"public",
"LittleEndianByteArrayOutputStream",
"(",
"byte",
"[",
"]",
"buf",
",",
"int",
"startOffset",
",",
"int",
"maxWriteLen",
")",
"{",
"if",
"(",
"startOffset",
"<",
"0",
"||",
"startOffset",
">",
"buf",
".",
"length",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"Specified startOffset (\"",
"+",
"startOffset",
"+",
"\") is out of allowable range (0..\"",
"+",
"buf",
".",
"length",
"+",
"\")\"",
")",
";",
"}",
"_buf",
"=",
"buf",
";",
"_writeIndex",
"=",
"startOffset",
";",
"_endIndex",
"=",
"startOffset",
"+",
"maxWriteLen",
";",
"if",
"(",
"_endIndex",
"<",
"startOffset",
"||",
"_endIndex",
">",
"buf",
".",
"length",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"calculated end index (\"",
"+",
"_endIndex",
"+",
"\") is out of allowable range (\"",
"+",
"_writeIndex",
"+",
"\"..\"",
"+",
"buf",
".",
"length",
"+",
"\")\"",
")",
";",
"}",
"}"
] |
public LittleEndianByteArrayOutputStream(byte[] buf, int startOffset, int maxWriteLen){if (startOffset < 0 || startOffset > buf.Length){throw new ArgumentException("Specified startOffset (" + startOffset+ ") is out of allowable range (0.." + buf.Length + ")");}_buf = buf;_writeIndex = startOffset;_endIndex = startOffset + maxWriteLen;if (_endIndex < startOffset || _endIndex > buf.Length){throw new ArgumentException("calculated end index (" + _endIndex+ ") is out of allowable range (" + _writeIndex + ".." + buf.Length + ")");}}
|
train
| false
|
4,560
|
public void addRecords(MergeCellsRecord[] mcrs) {for (int i = 0; i < mcrs.length; i++) {addMergeCellsRecord(mcrs[i]);}}
|
[
"public",
"void",
"addRecords",
"(",
"MergeCellsRecord",
"[",
"]",
"mcrs",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"mcrs",
".",
"length",
";",
"i",
"++",
")",
"{",
"addMergeCellsRecord",
"(",
"mcrs",
"[",
"i",
"]",
")",
";",
"}",
"}"
] |
public void AddRecords(MergeCellsRecord[] mcrs){for (int i = 0; i < mcrs.Length; i++){AddMergeCellsRecord(mcrs[i]);}}
|
train
| false
|
4,561
|
public DescribeInternetGatewaysResult describeInternetGateways(DescribeInternetGatewaysRequest request) {request = beforeClientExecution(request);return executeDescribeInternetGateways(request);}
|
[
"public",
"DescribeInternetGatewaysResult",
"describeInternetGateways",
"(",
"DescribeInternetGatewaysRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeInternetGateways",
"(",
"request",
")",
";",
"}"
] |
public virtual DescribeInternetGatewaysResponse DescribeInternetGateways(DescribeInternetGatewaysRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeInternetGatewaysRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeInternetGatewaysResponseUnmarshaller.Instance;return Invoke<DescribeInternetGatewaysResponse>(request, options);}
|
train
| true
|
4,562
|
public void removeLastSaveDateTime() {remove1stProperty(PropertyIDMap.PID_LASTSAVE_DTM);}
|
[
"public",
"void",
"removeLastSaveDateTime",
"(",
")",
"{",
"remove1stProperty",
"(",
"PropertyIDMap",
".",
"PID_LASTSAVE_DTM",
")",
";",
"}"
] |
public void RemoveLastSaveDateTime(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_LASTSAVE_DTM);}
|
train
| false
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.