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,646 | public ListTablesResult listTables(String exclusiveStartTableName) {return listTables(new ListTablesRequest().withExclusiveStartTableName(exclusiveStartTableName));}
| [
"public",
"ListTablesResult",
"listTables",
"(",
"String",
"exclusiveStartTableName",
")",
"{",
"return",
"listTables",
"(",
"new",
"ListTablesRequest",
"(",
")",
".",
"withExclusiveStartTableName",
"(",
"exclusiveStartTableName",
")",
")",
";",
"}"
] | public virtual ListTablesResponse ListTables(string exclusiveStartTableName){var request = new ListTablesRequest();request.ExclusiveStartTableName = exclusiveStartTableName;return ListTables(request);}
| train | false |
7,647 | public String toString() {return "Cell(readerIndex=" + readerIndex + " nodeID=" + index.getNodeID()+ " isLeaf=" + index.isLeafNode() + " distanceSquared=" + distanceSquared + ")";}
| [
"public",
"String",
"toString",
"(",
")",
"{",
"return",
"\"Cell(readerIndex=\"",
"+",
"readerIndex",
"+",
"\" nodeID=\"",
"+",
"index",
".",
"getNodeID",
"(",
")",
"+",
"\" isLeaf=\"",
"+",
"index",
".",
"isLeafNode",
"(",
")",
"+",
"\" distanceSquared=\"",
"... | public override string ToString(){return TokenString + (IsLeaf ? ((char)LEAF_BYTE).ToString() : string.Empty);}
| train | false |
7,648 | public Result getResult() {return status;}
| [
"public",
"Result",
"getResult",
"(",
")",
"{",
"return",
"status",
";",
"}"
] | public virtual RefUpdate.Result GetResult(){return result;}
| train | false |
7,650 | public DescribeImageBuildersResult describeImageBuilders(DescribeImageBuildersRequest request) {request = beforeClientExecution(request);return executeDescribeImageBuilders(request);}
| [
"public",
"DescribeImageBuildersResult",
"describeImageBuilders",
"(",
"DescribeImageBuildersRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeImageBuilders",
"(",
"request",
")",
";",
"}"
] | public virtual DescribeImageBuildersResponse DescribeImageBuilders(DescribeImageBuildersRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeImageBuildersRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeImageBuildersResponseUnmarshaller.Instance;return Invoke<DescribeI... | train | true |
7,651 | public DescribeMountTargetsResult describeMountTargets(DescribeMountTargetsRequest request) {request = beforeClientExecution(request);return executeDescribeMountTargets(request);}
| [
"public",
"DescribeMountTargetsResult",
"describeMountTargets",
"(",
"DescribeMountTargetsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeMountTargets",
"(",
"request",
")",
";",
"}"
] | public virtual DescribeMountTargetsResponse DescribeMountTargets(DescribeMountTargetsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeMountTargetsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeMountTargetsResponseUnmarshaller.Instance;return Invoke<DescribeMountT... | train | true |
7,652 | public UpdateClientCertificateResult updateClientCertificate(UpdateClientCertificateRequest request) {request = beforeClientExecution(request);return executeUpdateClientCertificate(request);}
| [
"public",
"UpdateClientCertificateResult",
"updateClientCertificate",
"(",
"UpdateClientCertificateRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeUpdateClientCertificate",
"(",
"request",
")",
";",
"}"
] | public virtual UpdateClientCertificateResponse UpdateClientCertificate(UpdateClientCertificateRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateClientCertificateRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateClientCertificateResponseUnmarshaller.Instance;return Invoke... | train | true |
7,653 | public String getFormatString(CellValueRecordInterface cell) {int formatIndex = getFormatIndex(cell);if (formatIndex == -1) {return null;}return getFormatString(formatIndex);}
| [
"public",
"String",
"getFormatString",
"(",
"CellValueRecordInterface",
"cell",
")",
"{",
"int",
"formatIndex",
"=",
"getFormatIndex",
"(",
"cell",
")",
";",
"if",
"(",
"formatIndex",
"==",
"-",
"1",
")",
"{",
"return",
"null",
";",
"}",
"return",
"getFormat... | public String GetFormatString(CellValueRecordInterface cell){int formatIndex = GetFormatIndex(cell);if (formatIndex == -1){return null;}return GetFormatString(formatIndex);}
| train | true |
7,654 | public void clear() {w1 = 0;w2 = 0;w3 = 0;w4 = 0;w5 = 0;}
| [
"public",
"void",
"clear",
"(",
")",
"{",
"w1",
"=",
"0",
";",
"w2",
"=",
"0",
";",
"w3",
"=",
"0",
";",
"w4",
"=",
"0",
";",
"w5",
"=",
"0",
";",
"}"
] | public virtual void Clear(){w1 = 0;w2 = 0;w3 = 0;w4 = 0;w5 = 0;}
| train | false |
7,655 | public boolean equals( Object o ) {return o instanceof TurkishStemmer;}
| [
"public",
"boolean",
"equals",
"(",
"Object",
"o",
")",
"{",
"return",
"o",
"instanceof",
"TurkishStemmer",
";",
"}"
] | public override bool Equals(object o){return o is TurkishStemmer;}
| train | false |
7,656 | public void disableRefLog() {customRefLog = true;refLogMessage = null;refLogIncludeResult = false;}
| [
"public",
"void",
"disableRefLog",
"(",
")",
"{",
"customRefLog",
"=",
"true",
";",
"refLogMessage",
"=",
"null",
";",
"refLogIncludeResult",
"=",
"false",
";",
"}"
] | public virtual void DisableRefLog(){refLogMessage = null;refLogIncludeResult = false;}
| train | false |
7,657 | public ListPublicKeysResult listPublicKeys(ListPublicKeysRequest request) {request = beforeClientExecution(request);return executeListPublicKeys(request);}
| [
"public",
"ListPublicKeysResult",
"listPublicKeys",
"(",
"ListPublicKeysRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeListPublicKeys",
"(",
"request",
")",
";",
"}"
] | public virtual ListPublicKeysResponse ListPublicKeys(ListPublicKeysRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListPublicKeysRequestMarshaller.Instance;options.ResponseUnmarshaller = ListPublicKeysResponseUnmarshaller.Instance;return Invoke<ListPublicKeysResponse>(request, options);}
| train | true |
7,658 | public CreateDhcpOptionsResult createDhcpOptions(CreateDhcpOptionsRequest request) {request = beforeClientExecution(request);return executeCreateDhcpOptions(request);}
| [
"public",
"CreateDhcpOptionsResult",
"createDhcpOptions",
"(",
"CreateDhcpOptionsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCreateDhcpOptions",
"(",
"request",
")",
";",
"}"
] | public virtual CreateDhcpOptionsResponse CreateDhcpOptions(CreateDhcpOptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDhcpOptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDhcpOptionsResponseUnmarshaller.Instance;return Invoke<CreateDhcpOptionsResponse>(re... | train | true |
7,659 | public TokenStream create(TokenStream input) {return new ASCIIFoldingFilter(input, preserveOriginal);}
| [
"public",
"TokenStream",
"create",
"(",
"TokenStream",
"input",
")",
"{",
"return",
"new",
"ASCIIFoldingFilter",
"(",
"input",
",",
"preserveOriginal",
")",
";",
"}"
] | public override TokenStream Create(TokenStream input){return new ASCIIFoldingFilter(input, preserveOriginal);}
| train | false |
7,660 | public BlockList(int capacity) {int dirSize = toDirectoryIndex(capacity);if ((capacity & BLOCK_MASK) != 0 || dirSize == 0)dirSize++;directory = BlockList.<T> newDirectory(dirSize);directory[0] = BlockList.<T> newBlock();tailBlock = directory[0];}
| [
"public",
"BlockList",
"(",
"int",
"capacity",
")",
"{",
"int",
"dirSize",
"=",
"toDirectoryIndex",
"(",
"capacity",
")",
";",
"if",
"(",
"(",
"capacity",
"&",
"BLOCK_MASK",
")",
"!=",
"0",
"||",
"dirSize",
"==",
"0",
")",
"dirSize",
"++",
";",
"direct... | public BlockList(int capacity){int dirSize = ToDirectoryIndex(capacity);if ((capacity & BLOCK_MASK) != 0 || dirSize == 0){dirSize++;}directory = NGit.Util.BlockList<T>.NewDirectory(dirSize);directory[0] = NGit.Util.BlockList<T>.NewBlock();tailBlock = directory[0];}
| train | false |
7,661 | @Override public int size() {return Impl.this.size();}
| [
"@",
"Override",
"public",
"int",
"size",
"(",
")",
"{",
"return",
"Impl",
".",
"this",
".",
"size",
"(",
")",
";",
"}"
] | public override int size(){return this._enclosing._size;}
| train | false |
7,662 | public void addCellRangeAddress(int firstRow, int firstCol, int lastRow, int lastCol) {CellRangeAddress region = new CellRangeAddress(firstRow, lastRow, firstCol, lastCol);addCellRangeAddress(region);}
| [
"public",
"void",
"addCellRangeAddress",
"(",
"int",
"firstRow",
",",
"int",
"firstCol",
",",
"int",
"lastRow",
",",
"int",
"lastCol",
")",
"{",
"CellRangeAddress",
"region",
"=",
"new",
"CellRangeAddress",
"(",
"firstRow",
",",
"lastRow",
",",
"firstCol",
","... | public void AddCellRangeAddress(int firstRow, int firstCol, int lastRow, int lastCol){CellRangeAddress region = new CellRangeAddress(firstRow, lastRow, firstCol, lastCol);AddCellRangeAddress(region);}
| train | false |
7,663 | public DescribeCacheEngineVersionsResult describeCacheEngineVersions() {return describeCacheEngineVersions(new DescribeCacheEngineVersionsRequest());}
| [
"public",
"DescribeCacheEngineVersionsResult",
"describeCacheEngineVersions",
"(",
")",
"{",
"return",
"describeCacheEngineVersions",
"(",
"new",
"DescribeCacheEngineVersionsRequest",
"(",
")",
")",
";",
"}"
] | public virtual DescribeCacheEngineVersionsResponse DescribeCacheEngineVersions(){return DescribeCacheEngineVersions(new DescribeCacheEngineVersionsRequest());}
| train | false |
7,664 | public DeleteEndpointConfigResult deleteEndpointConfig(DeleteEndpointConfigRequest request) {request = beforeClientExecution(request);return executeDeleteEndpointConfig(request);}
| [
"public",
"DeleteEndpointConfigResult",
"deleteEndpointConfig",
"(",
"DeleteEndpointConfigRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDeleteEndpointConfig",
"(",
"request",
")",
";",
"}"
] | public virtual DeleteEndpointConfigResponse DeleteEndpointConfig(DeleteEndpointConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteEndpointConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteEndpointConfigResponseUnmarshaller.Instance;return Invoke<DeleteEndpoint... | train | true |
7,665 | public String findSheetFirstNameFromExternSheet(int externSheetIndex){int indexToSheet = linkTable.getFirstInternalSheetIndexForExtIndex(externSheetIndex);return findSheetNameFromIndex(indexToSheet);}
| [
"public",
"String",
"findSheetFirstNameFromExternSheet",
"(",
"int",
"externSheetIndex",
")",
"{",
"int",
"indexToSheet",
"=",
"linkTable",
".",
"getFirstInternalSheetIndexForExtIndex",
"(",
"externSheetIndex",
")",
";",
"return",
"findSheetNameFromIndex",
"(",
"indexToShee... | public String FindSheetFirstNameFromExternSheet(int externSheetIndex){int indexToSheet = linkTable.GetFirstInternalSheetIndexForExtIndex(externSheetIndex);return FindSheetNameFromIndex(indexToSheet);}
| train | false |
7,666 | public void copy(MutableValue source) {MutableValueBool s = (MutableValueBool) source;value = s.value;exists = s.exists;}
| [
"public",
"void",
"copy",
"(",
"MutableValue",
"source",
")",
"{",
"MutableValueBool",
"s",
"=",
"(",
"MutableValueBool",
")",
"source",
";",
"value",
"=",
"s",
".",
"value",
";",
"exists",
"=",
"s",
".",
"exists",
";",
"}"
] | public override void Copy(MutableValue source){MutableValueBool s = (MutableValueBool)source;Value = s.Value;Exists = s.Exists;}
| train | false |
7,667 | public void setChild(QueryNode child) {List<QueryNode> list = new ArrayList<>();list.add(child);this.set(list);}
| [
"public",
"void",
"setChild",
"(",
"QueryNode",
"child",
")",
"{",
"List",
"<",
"QueryNode",
">",
"list",
"=",
"new",
"ArrayList",
"<",
">",
"(",
")",
";",
"list",
".",
"add",
"(",
"child",
")",
";",
"this",
".",
"set",
"(",
"list",
")",
";",
"}"... | public virtual void SetChild(IQueryNode child){List<IQueryNode> list = new List<IQueryNode>();list.Add(child);this.Set(list);}
| train | false |
7,668 | public void setDateResolution(DateTools.Resolution dateResolution) {getQueryConfigHandler().set(ConfigurationKeys.DATE_RESOLUTION, dateResolution);}
| [
"public",
"void",
"setDateResolution",
"(",
"DateTools",
".",
"Resolution",
"dateResolution",
")",
"{",
"getQueryConfigHandler",
"(",
")",
".",
"set",
"(",
"ConfigurationKeys",
".",
"DATE_RESOLUTION",
",",
"dateResolution",
")",
";",
"}"
] | public virtual void SetDateResolution(DateTools.Resolution dateResolution){QueryConfigHandler.Set(ConfigurationKeys.DATE_RESOLUTION, dateResolution);}
| train | false |
7,669 | public static <T> boolean contains(T[] array, T value) {for (T element : array) {if (element == null) {if (value == null) return true;} else {if (value != null && element.equals(value)) return true;}}return false;}
| [
"public",
"static",
"<",
"T",
">",
"boolean",
"contains",
"(",
"T",
"[",
"]",
"array",
",",
"T",
"value",
")",
"{",
"for",
"(",
"T",
"element",
":",
"array",
")",
"{",
"if",
"(",
"element",
"==",
"null",
")",
"{",
"if",
"(",
"value",
"==",
"nul... | public static bool contains(int[] array, int value){foreach (int element in array){if (element == value){return true;}}return false;}
| train | true |
7,670 | public ListLogPatternsResult listLogPatterns(ListLogPatternsRequest request) {request = beforeClientExecution(request);return executeListLogPatterns(request);}
| [
"public",
"ListLogPatternsResult",
"listLogPatterns",
"(",
"ListLogPatternsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeListLogPatterns",
"(",
"request",
")",
";",
"}"
] | public virtual ListLogPatternsResponse ListLogPatterns(ListLogPatternsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListLogPatternsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListLogPatternsResponseUnmarshaller.Instance;return Invoke<ListLogPatternsResponse>(request, optio... | train | false |
7,671 | public BatchDeleteImageResult batchDeleteImage(BatchDeleteImageRequest request) {request = beforeClientExecution(request);return executeBatchDeleteImage(request);}
| [
"public",
"BatchDeleteImageResult",
"batchDeleteImage",
"(",
"BatchDeleteImageRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeBatchDeleteImage",
"(",
"request",
")",
";",
"}"
] | public virtual BatchDeleteImageResponse BatchDeleteImage(BatchDeleteImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = BatchDeleteImageRequestMarshaller.Instance;options.ResponseUnmarshaller = BatchDeleteImageResponseUnmarshaller.Instance;return Invoke<BatchDeleteImageResponse>(request,... | train | true |
7,672 | public void seekExact(long ord) {throw new UnsupportedOperationException();}
| [
"public",
"void",
"seekExact",
"(",
"long",
"ord",
")",
"{",
"throw",
"new",
"UnsupportedOperationException",
"(",
")",
";",
"}"
] | public override void SeekExact(long ord){throw new NotSupportedException();}
| train | false |
7,673 | public RightMarginRecord( RecordInputStream in ) {field_1_margin = in.readDouble();}
| [
"public",
"RightMarginRecord",
"(",
"RecordInputStream",
"in",
")",
"{",
"field_1_margin",
"=",
"in",
".",
"readDouble",
"(",
")",
";",
"}"
] | public RightMarginRecord(RecordInputStream in1){field_1_margin = in1.ReadDouble();}
| train | false |
7,674 | public boolean isAutoDetecting() {return false;}
| [
"public",
"boolean",
"isAutoDetecting",
"(",
")",
"{",
"return",
"false",
";",
"}"
] | public virtual bool isAutoDetecting(){return false;}
| train | false |
7,675 | public RestorePhoneNumberResult restorePhoneNumber(RestorePhoneNumberRequest request) {request = beforeClientExecution(request);return executeRestorePhoneNumber(request);}
| [
"public",
"RestorePhoneNumberResult",
"restorePhoneNumber",
"(",
"RestorePhoneNumberRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeRestorePhoneNumber",
"(",
"request",
")",
";",
"}"
] | public virtual RestorePhoneNumberResponse RestorePhoneNumber(RestorePhoneNumberRequest request){var options = new InvokeOptions();options.RequestMarshaller = RestorePhoneNumberRequestMarshaller.Instance;options.ResponseUnmarshaller = RestorePhoneNumberResponseUnmarshaller.Instance;return Invoke<RestorePhoneNumberRespon... | train | true |
7,676 | public TestRenderTemplateResult testRenderTemplate(TestRenderTemplateRequest request) {request = beforeClientExecution(request);return executeTestRenderTemplate(request);}
| [
"public",
"TestRenderTemplateResult",
"testRenderTemplate",
"(",
"TestRenderTemplateRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeTestRenderTemplate",
"(",
"request",
")",
";",
"}"
] | public virtual TestRenderTemplateResponse TestRenderTemplate(TestRenderTemplateRequest request){var options = new InvokeOptions();options.RequestMarshaller = TestRenderTemplateRequestMarshaller.Instance;options.ResponseUnmarshaller = TestRenderTemplateResponseUnmarshaller.Instance;return Invoke<TestRenderTemplateRespon... | train | true |
7,677 | public RevTag lookupTag(AnyObjectId id) {RevTag c = (RevTag) objects.get(id);if (c == null) {c = new RevTag(id);objects.add(c);}return c;}
| [
"public",
"RevTag",
"lookupTag",
"(",
"AnyObjectId",
"id",
")",
"{",
"RevTag",
"c",
"=",
"(",
"RevTag",
")",
"objects",
".",
"get",
"(",
"id",
")",
";",
"if",
"(",
"c",
"==",
"null",
")",
"{",
"c",
"=",
"new",
"RevTag",
"(",
"id",
")",
";",
"ob... | public virtual RevTag LookupTag(AnyObjectId id){RevTag c = (RevTag)objects.Get(id);if (c == null){c = new RevTag(id);objects.Add(c);}return c;}
| train | false |
7,678 | public Query getQuery(Element e) throws ParserException {String text = DOMUtils.getText(e);try {Query q = null;if (unSafeParser != null) {synchronized (unSafeParser) {q = unSafeParser.parse(text);}} else {String fieldName = DOMUtils.getAttribute(e, "fieldName", defaultField);QueryParser parser = createQueryParser(field... | [
"public",
"Query",
"getQuery",
"(",
"Element",
"e",
")",
"throws",
"ParserException",
"{",
"String",
"text",
"=",
"DOMUtils",
".",
"getText",
"(",
"e",
")",
";",
"try",
"{",
"Query",
"q",
"=",
"null",
";",
"if",
"(",
"unSafeParser",
"!=",
"null",
")",
... | public virtual Query GetQuery(XmlElement e){string text = DOMUtils.GetText(e);try{Query q = null;if (unSafeParser != null){lock (unSafeParser){q = unSafeParser.Parse(text);}}else{string fieldName = DOMUtils.GetAttribute(e, "fieldName", defaultField);QueryParser parser = CreateQueryParser(fieldName, analyzer);q = parser... | train | false |
7,679 | public CreateNetworkAclResult createNetworkAcl(CreateNetworkAclRequest request) {request = beforeClientExecution(request);return executeCreateNetworkAcl(request);}
| [
"public",
"CreateNetworkAclResult",
"createNetworkAcl",
"(",
"CreateNetworkAclRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCreateNetworkAcl",
"(",
"request",
")",
";",
"}"
] | public virtual CreateNetworkAclResponse CreateNetworkAcl(CreateNetworkAclRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateNetworkAclRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateNetworkAclResponseUnmarshaller.Instance;return Invoke<CreateNetworkAclResponse>(request,... | train | true |
7,680 | public ThreeWayMerger newMerger(Repository db, boolean inCore) {return newMerger(db);}
| [
"public",
"ThreeWayMerger",
"newMerger",
"(",
"Repository",
"db",
",",
"boolean",
"inCore",
")",
"{",
"return",
"newMerger",
"(",
"db",
")",
";",
"}"
] | public override Merger NewMerger(Repository db, bool inCore){return ((ThreeWayMerger)NewMerger(db));}
| train | false |
7,681 | public BufferedWriter(Writer out, int size) {super(out);if (size <= 0) {throw new IllegalArgumentException("size <= 0");}this.out = out;this.buf = new char[size];}
| [
"public",
"BufferedWriter",
"(",
"Writer",
"out",
",",
"int",
"size",
")",
"{",
"super",
"(",
"out",
")",
";",
"if",
"(",
"size",
"<=",
"0",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"size <= 0\"",
")",
";",
"}",
"this",
".",
"out",
... | public BufferedWriter(java.io.Writer @out, int size) : base(@out){if (size <= 0){throw new System.ArgumentException("size <= 0");}this.@out = @out;this.buf = new char[size];}
| train | false |
7,682 | public ListConfigurationHistoryResult listConfigurationHistory(ListConfigurationHistoryRequest request) {request = beforeClientExecution(request);return executeListConfigurationHistory(request);}
| [
"public",
"ListConfigurationHistoryResult",
"listConfigurationHistory",
"(",
"ListConfigurationHistoryRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeListConfigurationHistory",
"(",
"request",
")",
";",
"}"... | public virtual ListConfigurationHistoryResponse ListConfigurationHistory(ListConfigurationHistoryRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListConfigurationHistoryRequestMarshaller.Instance;options.ResponseUnmarshaller = ListConfigurationHistoryResponseUnmarshaller.Instance;return I... | train | false |
7,683 | public Request<GetChangeRequest> marshall(GetChangeRequest getChangeRequest) {if (getChangeRequest == null) {throw new SdkClientException("Invalid argument passed to marshall(...)");}Request<GetChangeRequest> request = new DefaultRequest<GetChangeRequest>(getChangeRequest, "AmazonRoute53");request.setHttpMethod(HttpMet... | [
"public",
"Request",
"<",
"GetChangeRequest",
">",
"marshall",
"(",
"GetChangeRequest",
"getChangeRequest",
")",
"{",
"if",
"(",
"getChangeRequest",
"==",
"null",
")",
"{",
"throw",
"new",
"SdkClientException",
"(",
"\"Invalid argument passed to marshall(...)\"",
")",
... | public IRequest Marshall(GetChangeRequest publicRequest){var request = new DefaultRequest(publicRequest, "Amazon.Route53");request.HttpMethod = "GET";if (!publicRequest.IsSetId())throw new AmazonRoute53Exception("Request object does not have required field Id set");request.AddPathResource("{Id}", StringUtils.FromString... | train | true |
7,684 | public byte[] getCachedBytes() throws LargeObjectException {throw new LargeObjectException(id);}
| [
"public",
"byte",
"[",
"]",
"getCachedBytes",
"(",
")",
"throws",
"LargeObjectException",
"{",
"throw",
"new",
"LargeObjectException",
"(",
"id",
")",
";",
"}"
] | public override byte[] GetCachedBytes(){throw new LargeObjectException(id);}
| train | false |
7,685 | public ModifyInstanceCreditSpecificationResult modifyInstanceCreditSpecification(ModifyInstanceCreditSpecificationRequest request) {request = beforeClientExecution(request);return executeModifyInstanceCreditSpecification(request);}
| [
"public",
"ModifyInstanceCreditSpecificationResult",
"modifyInstanceCreditSpecification",
"(",
"ModifyInstanceCreditSpecificationRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeModifyInstanceCreditSpecification",
"... | public virtual ModifyInstanceCreditSpecificationResponse ModifyInstanceCreditSpecification(ModifyInstanceCreditSpecificationRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyInstanceCreditSpecificationRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyInstanceCreditSpecif... | train | true |
7,686 | public void add(RevCommit c) {Block b = head;if (b == null || !b.canUnpop()) {b = free.newBlock();b.resetToEnd();b.next = head;head = b;}b.unpop(c);}
| [
"public",
"void",
"add",
"(",
"RevCommit",
"c",
")",
"{",
"Block",
"b",
"=",
"head",
";",
"if",
"(",
"b",
"==",
"null",
"||",
"!",
"b",
".",
"canUnpop",
"(",
")",
")",
"{",
"b",
"=",
"free",
".",
"newBlock",
"(",
")",
";",
"b",
".",
"resetToE... | public override void Add(RevCommit c){BlockRevQueue.Block b = head;if (b == null || !b.CanUnpop()){b = free.NewBlock();b.ResetToEnd();b.next = head;head = b;}b.Unpop(c);}
| train | false |
7,687 | public SpanTermQuery newSpanTermQuery(Term term) throws TooManyBasicQueries {checkMax();return new SpanTermQuery(term);}
| [
"public",
"SpanTermQuery",
"newSpanTermQuery",
"(",
"Term",
"term",
")",
"throws",
"TooManyBasicQueries",
"{",
"checkMax",
"(",
")",
";",
"return",
"new",
"SpanTermQuery",
"(",
"term",
")",
";",
"}"
] | public virtual SpanTermQuery NewSpanTermQuery(Term term){CheckMax();return new SpanTermQuery(term);}
| train | false |
7,688 | public StringWriter(int initialSize) {if (initialSize < 0) {throw new IllegalArgumentException();}buf = new StringBuffer(initialSize);lock = buf;}
| [
"public",
"StringWriter",
"(",
"int",
"initialSize",
")",
"{",
"if",
"(",
"initialSize",
"<",
"0",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
")",
";",
"}",
"buf",
"=",
"new",
"StringBuffer",
"(",
"initialSize",
")",
";",
"lock",
"=",
"bu... | public StringWriter(int initialSize){if (initialSize < 0){throw new System.ArgumentException();}buf = new java.lang.StringBuffer(initialSize);@lock = buf;}
| train | false |
7,689 | public String toString() {return super.toString() + "(\"" + patternText + "\")";}
| [
"public",
"String",
"toString",
"(",
")",
"{",
"return",
"super",
".",
"toString",
"(",
")",
"+",
"\"(\\\"\"",
"+",
"patternText",
"+",
"\"\\\")\"",
";",
"}"
] | public override string ToString(){return base.ToString() + "(\"" + patternText + "\")";}
| train | false |
7,690 | public ATNConfig precedenceTransition(ATNConfig config,PrecedencePredicateTransition pt,boolean collectPredicates,boolean inContext,boolean fullCtx){if ( debug ) {System.out.println("PRED (collectPredicates="+collectPredicates+") "+pt.precedence+">=_p"+", ctx dependent=true");if ( parser != null ) {System.out.println("... | [
"public",
"ATNConfig",
"precedenceTransition",
"(",
"ATNConfig",
"config",
",",
"PrecedencePredicateTransition",
"pt",
",",
"boolean",
"collectPredicates",
",",
"boolean",
"inContext",
",",
"boolean",
"fullCtx",
")",
"{",
"if",
"(",
"debug",
")",
"{",
"System",
".... | public ATNConfig PrecedenceTransition(ATNConfig config,PrecedencePredicateTransition pt,bool collectPredicates,bool inContext,bool fullCtx){if (debug){ConsoleWriteLine("PRED (collectPredicates=" + collectPredicates + ") " +pt.precedence + ">=_p" +", ctx dependent=true");if (parser != null){ConsoleWriteLine("context sur... | train | false |
7,691 | public GetDomainStatisticsReportResult getDomainStatisticsReport(GetDomainStatisticsReportRequest request) {request = beforeClientExecution(request);return executeGetDomainStatisticsReport(request);}
| [
"public",
"GetDomainStatisticsReportResult",
"getDomainStatisticsReport",
"(",
"GetDomainStatisticsReportRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeGetDomainStatisticsReport",
"(",
"request",
")",
";",
... | public virtual GetDomainStatisticsReportResponse GetDomainStatisticsReport(GetDomainStatisticsReportRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDomainStatisticsReportRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDomainStatisticsReportResponseUnmarshaller.Instance;ret... | train | true |
7,692 | public boolean equals(Object obj) {if (this == obj)return true;if (!super.equals(obj))return false;if (getClass() != obj.getClass())return false;TermRangeQuery other = (TermRangeQuery) obj;if (includeLower != other.includeLower)return false;if (includeUpper != other.includeUpper)return false;if (lowerTerm == null) {if ... | [
"public",
"boolean",
"equals",
"(",
"Object",
"obj",
")",
"{",
"if",
"(",
"this",
"==",
"obj",
")",
"return",
"true",
";",
"if",
"(",
"!",
"super",
".",
"equals",
"(",
"obj",
")",
")",
"return",
"false",
";",
"if",
"(",
"getClass",
"(",
")",
"!="... | public override bool Equals(object obj){if (this == obj){return true;}if (!base.Equals(obj)){return false;}if (this.GetType() != obj.GetType()){return false;}TermRangeQuery other = (TermRangeQuery)obj;if (includeLower != other.includeLower){return false;}if (includeUpper != other.includeUpper){return false;}if (lowerTe... | train | false |
7,693 | public DescribeTransitGatewayRouteTablesResult describeTransitGatewayRouteTables(DescribeTransitGatewayRouteTablesRequest request) {request = beforeClientExecution(request);return executeDescribeTransitGatewayRouteTables(request);}
| [
"public",
"DescribeTransitGatewayRouteTablesResult",
"describeTransitGatewayRouteTables",
"(",
"DescribeTransitGatewayRouteTablesRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeTransitGatewayRouteTables",
"... | public virtual DescribeTransitGatewayRouteTablesResponse DescribeTransitGatewayRouteTables(DescribeTransitGatewayRouteTablesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeTransitGatewayRouteTablesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeTransitGatewayRout... | train | true |
7,695 | public boolean isLegalReplacement(byte[] replacement) {if (decoder == null) {decoder = cs.newDecoder();decoder.onMalformedInput(CodingErrorAction.REPORT);decoder.onUnmappableCharacter(CodingErrorAction.REPORT);}ByteBuffer in = ByteBuffer.wrap(replacement);CharBuffer out = CharBuffer.allocate((int) (replacement.length *... | [
"public",
"boolean",
"isLegalReplacement",
"(",
"byte",
"[",
"]",
"replacement",
")",
"{",
"if",
"(",
"decoder",
"==",
"null",
")",
"{",
"decoder",
"=",
"cs",
".",
"newDecoder",
"(",
")",
";",
"decoder",
".",
"onMalformedInput",
"(",
"CodingErrorAction",
"... | public virtual bool isLegalReplacement(byte[] replacement_1){if (decoder == null){decoder = cs.newDecoder();decoder.onMalformedInput(java.nio.charset.CodingErrorAction.REPORT);decoder.onUnmappableCharacter(java.nio.charset.CodingErrorAction.REPORT);}java.nio.ByteBuffer @in = java.nio.ByteBuffer.wrap(replacement_1);java... | train | false |
7,696 | public UpdatePipelineResult updatePipeline(UpdatePipelineRequest request) {request = beforeClientExecution(request);return executeUpdatePipeline(request);}
| [
"public",
"UpdatePipelineResult",
"updatePipeline",
"(",
"UpdatePipelineRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeUpdatePipeline",
"(",
"request",
")",
";",
"}"
] | public virtual UpdatePipelineResponse UpdatePipeline(UpdatePipelineRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdatePipelineRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdatePipelineResponseUnmarshaller.Instance;return Invoke<UpdatePipelineResponse>(request, options);}
| train | true |
7,697 | public boolean isAboveMinRep() {int sc = _significand.bitLength() - C_64;return _significand.compareTo(BI_MIN_BASE.shiftLeft(sc)) > 0;}
| [
"public",
"boolean",
"isAboveMinRep",
"(",
")",
"{",
"int",
"sc",
"=",
"_significand",
".",
"bitLength",
"(",
")",
"-",
"C_64",
";",
"return",
"_significand",
".",
"compareTo",
"(",
"BI_MIN_BASE",
".",
"shiftLeft",
"(",
"sc",
")",
")",
">",
"0",
";",
"... | public bool IsAboveMinRep(){int sc = _significand.BitLength() - C_64;return _significand.CompareTo(BI_MIN_BASE.ShiftLeft(sc)) > 0;}
| train | false |
7,698 | public AssociateContactWithAddressBookResult associateContactWithAddressBook(AssociateContactWithAddressBookRequest request) {request = beforeClientExecution(request);return executeAssociateContactWithAddressBook(request);}
| [
"public",
"AssociateContactWithAddressBookResult",
"associateContactWithAddressBook",
"(",
"AssociateContactWithAddressBookRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeAssociateContactWithAddressBook",
"(",
"r... | public virtual AssociateContactWithAddressBookResponse AssociateContactWithAddressBook(AssociateContactWithAddressBookRequest request){var options = new InvokeOptions();options.RequestMarshaller = AssociateContactWithAddressBookRequestMarshaller.Instance;options.ResponseUnmarshaller = AssociateContactWithAddressBookRes... | train | true |
7,699 | public DeleteFolderResult deleteFolder(DeleteFolderRequest request) {request = beforeClientExecution(request);return executeDeleteFolder(request);}
| [
"public",
"DeleteFolderResult",
"deleteFolder",
"(",
"DeleteFolderRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDeleteFolder",
"(",
"request",
")",
";",
"}"
] | public virtual DeleteFolderResponse DeleteFolder(DeleteFolderRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteFolderRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteFolderResponseUnmarshaller.Instance;return Invoke<DeleteFolderResponse>(request, options);}
| train | true |
7,700 | public PhraseWildcardQuery build() {return new PhraseWildcardQuery(field, phraseTerms, slop, maxMultiTermExpansions, segmentOptimizationEnabled);}
| [
"public",
"PhraseWildcardQuery",
"build",
"(",
")",
"{",
"return",
"new",
"PhraseWildcardQuery",
"(",
"field",
",",
"phraseTerms",
",",
"slop",
",",
"maxMultiTermExpansions",
",",
"segmentOptimizationEnabled",
")",
";",
"}"
] | public override WAH8DocIdSet Build(){if (this.wordNum != -1){AddWord(wordNum, (byte)word);}return base.Build();}
| train | false |
7,701 | public DescribeJobFlowsResult describeJobFlows() {return describeJobFlows(new DescribeJobFlowsRequest());}
| [
"public",
"DescribeJobFlowsResult",
"describeJobFlows",
"(",
")",
"{",
"return",
"describeJobFlows",
"(",
"new",
"DescribeJobFlowsRequest",
"(",
")",
")",
";",
"}"
] | public virtual DescribeJobFlowsResponse DescribeJobFlows(){return DescribeJobFlows(new DescribeJobFlowsRequest());}
| train | false |
7,702 | public float tf(float freq) {return baselineTf(freq);}
| [
"public",
"float",
"tf",
"(",
"float",
"freq",
")",
"{",
"return",
"baselineTf",
"(",
"freq",
")",
";",
"}"
] | public override float Tf(float freq){return BaselineTf(freq);}
| train | false |
7,703 | public DescribePublishingDestinationResult describePublishingDestination(DescribePublishingDestinationRequest request) {request = beforeClientExecution(request);return executeDescribePublishingDestination(request);}
| [
"public",
"DescribePublishingDestinationResult",
"describePublishingDestination",
"(",
"DescribePublishingDestinationRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribePublishingDestination",
"(",
"request",... | public virtual DescribePublishingDestinationResponse DescribePublishingDestination(DescribePublishingDestinationRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribePublishingDestinationRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribePublishingDestinationResponseUnmar... | train | false |
7,704 | public int getLeftId(int wordId) {return LEFT_ID;}
| [
"public",
"int",
"getLeftId",
"(",
"int",
"wordId",
")",
"{",
"return",
"LEFT_ID",
";",
"}"
] | public int GetLeftId(int wordId){return LEFT_ID;}
| train | false |
7,705 | public static NormalisedDecimal create(BigInteger frac, int binaryExponent) {int pow10;if (binaryExponent > 49 || binaryExponent < 46) {int x = (29 << 19) - binaryExponent * LOG_BASE_10_OF_2_TIMES_2_POW_20;x += C_2_POW_19; pow10 = -(x >> 20);} else {pow10 = 0;}MutableFPNumber cc = new MutableFPNumber(frac, binaryExpone... | [
"public",
"static",
"NormalisedDecimal",
"create",
"(",
"BigInteger",
"frac",
",",
"int",
"binaryExponent",
")",
"{",
"int",
"pow10",
";",
"if",
"(",
"binaryExponent",
">",
"49",
"||",
"binaryExponent",
"<",
"46",
")",
"{",
"int",
"x",
"=",
"(",
"29",
"<... | public static NormalisedDecimal Create(BigInteger frac, int binaryExponent){int pow10;if (binaryExponent > 49 || binaryExponent < 46){int x = (29 << 19) - binaryExponent * LOG_BASE_10_OF_2_TIMES_2_POW_20;x += C_2_POW_19; pow10 = -(x >> 20);}else{pow10 = 0;}MutableFPNumber cc = new MutableFPNumber(frac, binaryExponent);... | train | false |
7,706 | public String toString() {return "DoubleRange(" + label + ": " + min + " to " + max + ")";}
| [
"public",
"String",
"toString",
"(",
")",
"{",
"return",
"\"DoubleRange(\"",
"+",
"label",
"+",
"\": \"",
"+",
"min",
"+",
"\" to \"",
"+",
"max",
"+",
"\")\"",
";",
"}"
] | public override string ToString(){return "DoubleRange(" + minIncl + " to " + maxIncl + ")";}
| train | false |
7,707 | public void setRefLogIdent(PersonIdent pi) {destination.setRefLogIdent(pi);}
| [
"public",
"void",
"setRefLogIdent",
"(",
"PersonIdent",
"pi",
")",
"{",
"destination",
".",
"setRefLogIdent",
"(",
"pi",
")",
";",
"}"
] | public virtual void SetRefLogIdent(PersonIdent pi){destination.SetRefLogIdent(pi);}
| train | false |
7,708 | public final void yybegin(int newState) {zzLexicalState = newState;}
| [
"public",
"final",
"void",
"yybegin",
"(",
"int",
"newState",
")",
"{",
"zzLexicalState",
"=",
"newState",
";",
"}"
] | public void YyBegin(int newState){zzLexicalState = newState;}
| train | false |
7,709 | public Trie(boolean forward) {rows.add(new Row());root = 0;this.forward = forward;}
| [
"public",
"Trie",
"(",
"boolean",
"forward",
")",
"{",
"rows",
".",
"add",
"(",
"new",
"Row",
"(",
")",
")",
";",
"root",
"=",
"0",
";",
"this",
".",
"forward",
"=",
"forward",
";",
"}"
] | public Trie(bool forward){rows.Add(new Row());root = 0;this.forward = forward;}
| train | false |
7,710 | public DeleteTagsRequest(java.util.List<String> resources) {setResources(resources);}
| [
"public",
"DeleteTagsRequest",
"(",
"java",
".",
"util",
".",
"List",
"<",
"String",
">",
"resources",
")",
"{",
"setResources",
"(",
"resources",
")",
";",
"}"
] | public DeleteTagsRequest(List<string> resources){_resources = resources;}
| train | false |
7,711 | public ObjectProtectRecord clone() {return copy();}
| [
"public",
"ObjectProtectRecord",
"clone",
"(",
")",
"{",
"return",
"copy",
"(",
")",
";",
"}"
] | public override Object Clone(){ObjectProtectRecord rec = new ObjectProtectRecord();rec.field_1_protect = field_1_protect;return rec;}
| train | false |
7,712 | public static FuncVarPtg create(String pName, int numArgs) {return create(numArgs, lookupIndex(pName));}
| [
"public",
"static",
"FuncVarPtg",
"create",
"(",
"String",
"pName",
",",
"int",
"numArgs",
")",
"{",
"return",
"create",
"(",
"numArgs",
",",
"lookupIndex",
"(",
"pName",
")",
")",
";",
"}"
] | public static FuncVarPtg Create(String pName, int numArgs){return Create(numArgs, LookupIndex(pName));}
| train | false |
7,713 | public void clear() {this.processors.clear();}
| [
"public",
"void",
"clear",
"(",
")",
"{",
"this",
".",
"processors",
".",
"clear",
"(",
")",
";",
"}"
] | public virtual void Clear(){this.processors.Clear();}
| train | false |
7,714 | public void write(LittleEndianOutput out) {out.writeByte(sid + getPtgClass());out.writeDouble(getValue());}
| [
"public",
"void",
"write",
"(",
"LittleEndianOutput",
"out",
")",
"{",
"out",
".",
"writeByte",
"(",
"sid",
"+",
"getPtgClass",
"(",
")",
")",
";",
"out",
".",
"writeDouble",
"(",
"getValue",
"(",
")",
")",
";",
"}"
] | public override void Write(ILittleEndianOutput out1){out1.WriteByte(sid + PtgClass);out1.WriteDouble(Value);}
| train | false |
7,715 | public NullReader(int valueCount) {this.valueCount = valueCount;}
| [
"public",
"NullReader",
"(",
"int",
"valueCount",
")",
"{",
"this",
".",
"valueCount",
"=",
"valueCount",
";",
"}"
] | public NullReader(int valueCount){this.valueCount = valueCount;}
| train | false |
7,716 | public CreateVaultResult createVault(CreateVaultRequest request) {request = beforeClientExecution(request);return executeCreateVault(request);}
| [
"public",
"CreateVaultResult",
"createVault",
"(",
"CreateVaultRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCreateVault",
"(",
"request",
")",
";",
"}"
] | public virtual CreateVaultResponse CreateVault(CreateVaultRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateVaultRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateVaultResponseUnmarshaller.Instance;return Invoke<CreateVaultResponse>(request, options);}
| train | true |
7,717 | @Override public void add(int index, E object) {Object[] a = array;int s = size;if (index > s || index < 0) {throwIndexOutOfBoundsException(index, s);}if (s < a.length) {System.arraycopy(a, index, a, index + 1, s - index);} else {Object[] newArray = new Object[newCapacity(s)];System.arraycopy(a, 0, newArray, 0, index);... | [
"@",
"Override",
"public",
"void",
"add",
"(",
"int",
"index",
",",
"E",
"object",
")",
"{",
"Object",
"[",
"]",
"a",
"=",
"array",
";",
"int",
"s",
"=",
"size",
";",
"if",
"(",
"index",
">",
"s",
"||",
"index",
"<",
"0",
")",
"{",
"throwIndexO... | public override void add(int index, E @object){object[] a = array;int s = _size;if (index > s || index < 0){throwIndexOutOfBoundsException(index, s);}if (s < a.Length){System.Array.Copy(a, index, a, index + 1, s - index);}else{object[] newArray = new object[newCapacity(s)];System.Array.Copy(a, 0, newArray, 0, index);Sy... | train | false |
7,718 | public int read(char[] c, int off, int len) {if (left > len) {s.getChars(upto, upto+len, c, off);upto += len;left -= len;return len;} else if (0 == left) {return -1;} else {s.getChars(upto, upto+left, c, off);int r = left;left = 0;upto = s.length();return r;}}
| [
"public",
"int",
"read",
"(",
"char",
"[",
"]",
"c",
",",
"int",
"off",
",",
"int",
"len",
")",
"{",
"if",
"(",
"left",
">",
"len",
")",
"{",
"s",
".",
"getChars",
"(",
"upto",
",",
"upto",
"+",
"len",
",",
"c",
",",
"off",
")",
";",
"upto"... | 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 |
7,719 | public DeleteDeploymentResult deleteDeployment(DeleteDeploymentRequest request) {request = beforeClientExecution(request);return executeDeleteDeployment(request);}
| [
"public",
"DeleteDeploymentResult",
"deleteDeployment",
"(",
"DeleteDeploymentRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDeleteDeployment",
"(",
"request",
")",
";",
"}"
] | public virtual DeleteDeploymentResponse DeleteDeployment(DeleteDeploymentRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteDeploymentRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteDeploymentResponseUnmarshaller.Instance;return Invoke<DeleteDeploymentResponse>(request,... | train | true |
7,720 | public String toString() {return getClass().getSimpleName() + "(bitsPerValue=" + bitsPerValue+ ",size=" + size() + ",blocks=" + blocks.length + ")";}
| [
"public",
"String",
"toString",
"(",
")",
"{",
"return",
"getClass",
"(",
")",
".",
"getSimpleName",
"(",
")",
"+",
"\"(bitsPerValue=\"",
"+",
"bitsPerValue",
"+",
"\",size=\"",
"+",
"size",
"(",
")",
"+",
"\",blocks=\"",
"+",
"blocks",
".",
"length",
"+",... | public override string ToString(){return this.GetType().Name + "(bitsPerValue=" + m_bitsPerValue + ", size=" + Count + ", elements.length=" + blocks.Length + ")";}
| train | false |
7,721 | public VectorValueSource(List<ValueSource> sources) {this.sources = sources;}
| [
"public",
"VectorValueSource",
"(",
"List",
"<",
"ValueSource",
">",
"sources",
")",
"{",
"this",
".",
"sources",
"=",
"sources",
";",
"}"
] | public VectorValueSource(IList<ValueSource> sources){this.m_sources = sources;}
| train | false |
7,722 | public HSSFShape(HSSFShape parent, HSSFAnchor anchor) {this.parent = parent;this.anchor = anchor;this._escherContainer = createSpContainer();_optRecord = _escherContainer.getChildById(EscherOptRecord.RECORD_ID);_objRecord = createObjRecord();}
| [
"public",
"HSSFShape",
"(",
"HSSFShape",
"parent",
",",
"HSSFAnchor",
"anchor",
")",
"{",
"this",
".",
"parent",
"=",
"parent",
";",
"this",
".",
"anchor",
"=",
"anchor",
";",
"this",
".",
"_escherContainer",
"=",
"createSpContainer",
"(",
")",
";",
"_optR... | public HSSFShape(HSSFShape parent, HSSFAnchor anchor){this.parent = parent;this.anchor = anchor;this._escherContainer = CreateSpContainer();_optRecord = (EscherOptRecord)_escherContainer.GetChildById(EscherOptRecord.RECORD_ID);_objRecord = CreateObjRecord();}
| train | false |
7,723 | public GalicianMinimalStemFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
| [
"public",
"GalicianMinimalStemFilterFactory",
"(",
"Map",
"<",
"String",
",",
"String",
">",
"args",
")",
"{",
"super",
"(",
"args",
")",
";",
"if",
"(",
"!",
"args",
".",
"isEmpty",
"(",
")",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\... | public GalicianMinimalStemFilterFactory(IDictionary<string, string> args) : base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
| train | false |
7,724 | public DescribeFpgaImageAttributeResult describeFpgaImageAttribute(DescribeFpgaImageAttributeRequest request) {request = beforeClientExecution(request);return executeDescribeFpgaImageAttribute(request);}
| [
"public",
"DescribeFpgaImageAttributeResult",
"describeFpgaImageAttribute",
"(",
"DescribeFpgaImageAttributeRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeFpgaImageAttribute",
"(",
"request",
")",
";... | public virtual DescribeFpgaImageAttributeResponse DescribeFpgaImageAttribute(DescribeFpgaImageAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeFpgaImageAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeFpgaImageAttributeResponseUnmarshaller.Instanc... | train | true |
7,725 | public ValueFiller getValueFiller() {return new ValueFiller();}
| [
"public",
"ValueFiller",
"getValueFiller",
"(",
")",
"{",
"return",
"new",
"ValueFiller",
"(",
")",
";",
"}"
] | public override ValueFiller GetValueFiller(){return new ValueFillerAnonymousInnerClassHelper(this);}
| train | false |
7,726 | public static int update(int hash, Object value) {return update(hash, value != null ? value.hashCode() : 0);}
| [
"public",
"static",
"int",
"update",
"(",
"int",
"hash",
",",
"Object",
"value",
")",
"{",
"return",
"update",
"(",
"hash",
",",
"value",
"!=",
"null",
"?",
"value",
".",
"hashCode",
"(",
")",
":",
"0",
")",
";",
"}"
] | public static int Update(int hash, object value){return Update(hash, value != null ? value.GetHashCode() : 0);}
| train | false |
7,727 | public DescribeModelVersionsResult describeModelVersions(DescribeModelVersionsRequest request) {request = beforeClientExecution(request);return executeDescribeModelVersions(request);}
| [
"public",
"DescribeModelVersionsResult",
"describeModelVersions",
"(",
"DescribeModelVersionsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeModelVersions",
"(",
"request",
")",
";",
"}"
] | public virtual DescribeModelVersionsResponse DescribeModelVersions(DescribeModelVersionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeModelVersionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeModelVersionsResponseUnmarshaller.Instance;return Invoke<DescribeM... | train | false |
7,728 | public static IndexCommit findIndexCommit(Directory dir, String userData) throws IOException {Collection<IndexCommit> commits = DirectoryReader.listCommits(dir);for (final IndexCommit ic : commits) {Map<String,String> map = ic.getUserData();String ud = null;if (map != null) {ud = map.get(USER_DATA);}if (ud != null && u... | [
"public",
"static",
"IndexCommit",
"findIndexCommit",
"(",
"Directory",
"dir",
",",
"String",
"userData",
")",
"throws",
"IOException",
"{",
"Collection",
"<",
"IndexCommit",
">",
"commits",
"=",
"DirectoryReader",
".",
"listCommits",
"(",
"dir",
")",
";",
"for"... | public static IndexCommit FindIndexCommit(Store.Directory dir, string userData){IList<IndexCommit> commits = DirectoryReader.ListCommits(dir);foreach (IndexCommit ic in commits){IDictionary<string, string> map = ic.UserData;string ud = null;if (map != null){map.TryGetValue(USER_DATA, out ud);}if (ud != null && ud.Equal... | train | false |
7,729 | public IndexEnum(FST<Long> fst) {fstEnum = new BytesRefFSTEnum<>(fst);}
| [
"public",
"IndexEnum",
"(",
"FST",
"<",
"Long",
">",
"fst",
")",
"{",
"fstEnum",
"=",
"new",
"BytesRefFSTEnum",
"<",
">",
"(",
"fst",
")",
";",
"}"
] | public IndexEnum(FST<long?> fst){fstEnum = new BytesRefFSTEnum<long?>(fst);}
| train | false |
7,730 | public HSSFEvaluationSheet(HSSFSheet hs) {_hs = hs;}
| [
"public",
"HSSFEvaluationSheet",
"(",
"HSSFSheet",
"hs",
")",
"{",
"_hs",
"=",
"hs",
";",
"}"
] | public HSSFEvaluationSheet(HSSFSheet hs){_hs = hs;}
| train | false |
7,731 | public void update(int b) {if (upto == buffer.length) {flush();}buffer[upto++] = (byte) b;}
| [
"public",
"void",
"update",
"(",
"int",
"b",
")",
"{",
"if",
"(",
"upto",
"==",
"buffer",
".",
"length",
")",
"{",
"flush",
"(",
")",
";",
"}",
"buffer",
"[",
"upto",
"++",
"]",
"=",
"(",
"byte",
")",
"b",
";",
"}"
] | public virtual void Update(int b){if (upto == buffer.Length){Flush();}buffer[upto++] = (byte)b;}
| train | false |
7,732 | public PutPartnerEventsResult putPartnerEvents(PutPartnerEventsRequest request) {request = beforeClientExecution(request);return executePutPartnerEvents(request);}
| [
"public",
"PutPartnerEventsResult",
"putPartnerEvents",
"(",
"PutPartnerEventsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executePutPartnerEvents",
"(",
"request",
")",
";",
"}"
] | public virtual PutPartnerEventsResponse PutPartnerEvents(PutPartnerEventsRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutPartnerEventsRequestMarshaller.Instance;options.ResponseUnmarshaller = PutPartnerEventsResponseUnmarshaller.Instance;return Invoke<PutPartnerEventsResponse>(request,... | train | false |
7,733 | public boolean isThin() {return thin;}
| [
"public",
"boolean",
"isThin",
"(",
")",
"{",
"return",
"thin",
";",
"}"
] | public virtual bool IsThin(){return thin;}
| train | false |
7,734 | public String toStringTree() {return toString();}
| [
"public",
"String",
"toStringTree",
"(",
")",
"{",
"return",
"toString",
"(",
")",
";",
"}"
] | public virtual string ToStringTree(){return ToString();}
| train | false |
7,735 | public PackConfig(Repository db) {fromConfig(db.getConfig());}
| [
"public",
"PackConfig",
"(",
"Repository",
"db",
")",
"{",
"fromConfig",
"(",
"db",
".",
"getConfig",
"(",
")",
")",
";",
"}"
] | public PackConfig(Repository db){FromConfig(db.GetConfig());}
| train | false |
7,736 | public void setDeltaCompress(boolean deltaCompress) {this.deltaCompress = deltaCompress;}
| [
"public",
"void",
"setDeltaCompress",
"(",
"boolean",
"deltaCompress",
")",
"{",
"this",
".",
"deltaCompress",
"=",
"deltaCompress",
";",
"}"
] | public virtual void SetDeltaCompress(bool deltaCompress){this.deltaCompress = deltaCompress;}
| train | false |
7,737 | public ListTrafficPolicyInstancesByHostedZoneResult listTrafficPolicyInstancesByHostedZone(ListTrafficPolicyInstancesByHostedZoneRequest request) {request = beforeClientExecution(request);return executeListTrafficPolicyInstancesByHostedZone(request);}
| [
"public",
"ListTrafficPolicyInstancesByHostedZoneResult",
"listTrafficPolicyInstancesByHostedZone",
"(",
"ListTrafficPolicyInstancesByHostedZoneRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeListTrafficPolicyInstanc... | public virtual ListTrafficPolicyInstancesByHostedZoneResponse ListTrafficPolicyInstancesByHostedZone(ListTrafficPolicyInstancesByHostedZoneRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListTrafficPolicyInstancesByHostedZoneRequestMarshaller.Instance;options.ResponseUnmarshaller = ListTr... | train | true |
7,738 | public EscherRecord findFirstWithId(short id) {return findFirstWithId(id, getEscherRecords());}
| [
"public",
"EscherRecord",
"findFirstWithId",
"(",
"short",
"id",
")",
"{",
"return",
"findFirstWithId",
"(",
"id",
",",
"getEscherRecords",
"(",
")",
")",
";",
"}"
] | public EscherRecord FindFirstWithId(short id){return FindFirstWithId(id, EscherRecords);}
| train | false |
7,739 | public byte[] getEntryPathBuffer() {return path;}
| [
"public",
"byte",
"[",
"]",
"getEntryPathBuffer",
"(",
")",
"{",
"return",
"path",
";",
"}"
] | public virtual byte[] GetEntryPathBuffer(){return path;}
| train | false |
7,740 | public void setFont(Font f){font = f;}
| [
"public",
"void",
"setFont",
"(",
"Font",
"f",
")",
"{",
"font",
"=",
"f",
";",
"}"
] | public void SetFont(Font f){font = f;}
| train | false |
7,742 | public boolean hasAnchoringBounds() {return anchoringBounds;}
| [
"public",
"boolean",
"hasAnchoringBounds",
"(",
")",
"{",
"return",
"anchoringBounds",
";",
"}"
] | public bool hasAnchoringBounds(){return anchoringBounds;}
| train | false |
7,743 | public void drawPolygon(int[] xPoints, int[] yPoints,int nPoints){int right = findBiggest(xPoints);int bottom = findBiggest(yPoints);int left = findSmallest(xPoints);int top = findSmallest(yPoints);HSSFPolygon shape = escherGroup.createPolygon(new HSSFChildAnchor(left,top,right,bottom) );shape.setPolygonDrawArea(... | [
"public",
"void",
"drawPolygon",
"(",
"int",
"[",
"]",
"xPoints",
",",
"int",
"[",
"]",
"yPoints",
",",
"int",
"nPoints",
")",
"{",
"int",
"right",
"=",
"findBiggest",
"(",
"xPoints",
")",
";",
"int",
"bottom",
"=",
"findBiggest",
"(",
"yPoints",
")",
... | public void DrawPolygon(int[] xPoints, int[] yPoints, int nPoints){int right = FindBiggest(xPoints);int bottom = FindBiggest(yPoints);int left = FindSmallest(xPoints);int top = FindSmallest(yPoints);HSSFPolygon shape = escherGroup.CreatePolygon(new HSSFChildAnchor(left, top, right, bottom));shape.SetPolygonDrawArea(rig... | train | false |
7,744 | public String getAccessKeyId() {return getCredentials().getAccessKeyId();}
| [
"public",
"String",
"getAccessKeyId",
"(",
")",
"{",
"return",
"getCredentials",
"(",
")",
".",
"getAccessKeyId",
"(",
")",
";",
"}"
] | public new string GetAccessKeyId(){return GetCredentials().GetAccessKeyId();}
| train | false |
7,745 | public PutDedicatedIpWarmupAttributesResult putDedicatedIpWarmupAttributes(PutDedicatedIpWarmupAttributesRequest request) {request = beforeClientExecution(request);return executePutDedicatedIpWarmupAttributes(request);}
| [
"public",
"PutDedicatedIpWarmupAttributesResult",
"putDedicatedIpWarmupAttributes",
"(",
"PutDedicatedIpWarmupAttributesRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executePutDedicatedIpWarmupAttributes",
"(",
"reque... | public virtual PutDedicatedIpWarmupAttributesResponse PutDedicatedIpWarmupAttributes(PutDedicatedIpWarmupAttributesRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutDedicatedIpWarmupAttributesRequestMarshaller.Instance;options.ResponseUnmarshaller = PutDedicatedIpWarmupAttributesResponse... | train | true |
7,746 | public void print(char ch) {print(String.valueOf(ch));}
| [
"public",
"void",
"print",
"(",
"char",
"ch",
")",
"{",
"print",
"(",
"String",
".",
"valueOf",
"(",
"ch",
")",
")",
";",
"}"
] | public virtual void print(char ch){print(ch.ToString());}
| train | false |
7,747 | public String buildExtensionField(String extensionKey) {return buildExtensionField(extensionKey, "");}
| [
"public",
"String",
"buildExtensionField",
"(",
"String",
"extensionKey",
")",
"{",
"return",
"buildExtensionField",
"(",
"extensionKey",
",",
"\"\"",
")",
";",
"}"
] | public virtual string BuildExtensionField(string extensionKey){return BuildExtensionField(extensionKey, "");}
| train | false |
7,748 | public CompareFacesResult compareFaces(CompareFacesRequest request) {request = beforeClientExecution(request);return executeCompareFaces(request);}
| [
"public",
"CompareFacesResult",
"compareFaces",
"(",
"CompareFacesRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCompareFaces",
"(",
"request",
")",
";",
"}"
] | public virtual CompareFacesResponse CompareFaces(CompareFacesRequest request){var options = new InvokeOptions();options.RequestMarshaller = CompareFacesRequestMarshaller.Instance;options.ResponseUnmarshaller = CompareFacesResponseUnmarshaller.Instance;return Invoke<CompareFacesResponse>(request, options);}
| train | true |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.