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 |
|---|---|---|---|---|---|
9,458 | public UploadMultipartPartResult uploadMultipartPart(UploadMultipartPartRequest request) {request = beforeClientExecution(request);return executeUploadMultipartPart(request);}
| [
"public",
"UploadMultipartPartResult",
"uploadMultipartPart",
"(",
"UploadMultipartPartRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeUploadMultipartPart",
"(",
"request",
")",
";",
"}"
] | public virtual UploadMultipartPartResponse UploadMultipartPart(UploadMultipartPartRequest request){var options = new InvokeOptions();options.RequestMarshaller = UploadMultipartPartRequestMarshaller.Instance;options.ResponseUnmarshaller = UploadMultipartPartResponseUnmarshaller.Instance;return Invoke<UploadMultipartPart... | train | true |
9,459 | public HCenterRecord(RecordInputStream in) {field_1_hcenter = in.readShort();}
| [
"public",
"HCenterRecord",
"(",
"RecordInputStream",
"in",
")",
"{",
"field_1_hcenter",
"=",
"in",
".",
"readShort",
"(",
")",
";",
"}"
] | public HCenterRecord(RecordInputStream in1){field_1_hcenter = in1.ReadShort();}
| train | false |
9,460 | public CreateDBClusterEndpointResult createDBClusterEndpoint(CreateDBClusterEndpointRequest request) {request = beforeClientExecution(request);return executeCreateDBClusterEndpoint(request);}
| [
"public",
"CreateDBClusterEndpointResult",
"createDBClusterEndpoint",
"(",
"CreateDBClusterEndpointRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCreateDBClusterEndpoint",
"(",
"request",
")",
";",
"}"
] | public virtual CreateDBClusterEndpointResponse CreateDBClusterEndpoint(CreateDBClusterEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDBClusterEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDBClusterEndpointResponseUnmarshaller.Instance;return Invoke... | train | true |
9,461 | public boolean hasNext() {return iterator.nextIndex() < end;}
| [
"public",
"boolean",
"hasNext",
"(",
")",
"{",
"return",
"iterator",
".",
"nextIndex",
"(",
")",
"<",
"end",
";",
"}"
] | public bool hasNext(){return iterator.nextIndex() < end;}
| train | false |
9,462 | public CredentialItem(String promptText, boolean maskValue) {this.promptText = promptText;this.valueSecure = maskValue;}
| [
"public",
"CredentialItem",
"(",
"String",
"promptText",
",",
"boolean",
"maskValue",
")",
"{",
"this",
".",
"promptText",
"=",
"promptText",
";",
"this",
".",
"valueSecure",
"=",
"maskValue",
";",
"}"
] | public CredentialItem(string promptText, bool maskValue){this.promptText = promptText;this.valueSecure = maskValue;}
| train | false |
9,463 | public DescribeCustomAvailabilityZonesResult describeCustomAvailabilityZones(DescribeCustomAvailabilityZonesRequest request) {request = beforeClientExecution(request);return executeDescribeCustomAvailabilityZones(request);}
| [
"public",
"DescribeCustomAvailabilityZonesResult",
"describeCustomAvailabilityZones",
"(",
"DescribeCustomAvailabilityZonesRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDescribeCustomAvailabilityZones",
"(",
"r... | public virtual DescribeCustomAvailabilityZonesResponse DescribeCustomAvailabilityZones(DescribeCustomAvailabilityZonesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeCustomAvailabilityZonesRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeCustomAvailabilityZonesRes... | train | false |
9,464 | public DescribeClusterParameterGroupsResult describeClusterParameterGroups() {return describeClusterParameterGroups(new DescribeClusterParameterGroupsRequest());}
| [
"public",
"DescribeClusterParameterGroupsResult",
"describeClusterParameterGroups",
"(",
")",
"{",
"return",
"describeClusterParameterGroups",
"(",
"new",
"DescribeClusterParameterGroupsRequest",
"(",
")",
")",
";",
"}"
] | public virtual DescribeClusterParameterGroupsResponse DescribeClusterParameterGroups(){return DescribeClusterParameterGroups(new DescribeClusterParameterGroupsRequest());}
| train | false |
9,465 | public Item(char p, char c) {parent = p;child = c;}
| [
"public",
"Item",
"(",
"char",
"p",
",",
"char",
"c",
")",
"{",
"parent",
"=",
"p",
";",
"child",
"=",
"c",
";",
"}"
] | public Item(char p, char c){parent = p;child = c;}
| train | false |
9,466 | public void reset(int[] docs, int[] freqs) {this.docs = docs;this.freqs = freqs;if (freqs != null && tmpFreqs == null) {tmpFreqs = new int[tmpDocs.length];}}
| [
"public",
"void",
"reset",
"(",
"int",
"[",
"]",
"docs",
",",
"int",
"[",
"]",
"freqs",
")",
"{",
"this",
".",
"docs",
"=",
"docs",
";",
"this",
".",
"freqs",
"=",
"freqs",
";",
"if",
"(",
"freqs",
"!=",
"null",
"&&",
"tmpFreqs",
"==",
"null",
... | public void Reset(int[] docs, int[] freqs){this.docs = docs;this.freqs = freqs;if (freqs != null && tmpFreqs == null){tmpFreqs = new int[tmpDocs.Length];}}
| train | false |
9,467 | public ChangeMessageVisibilityResult changeMessageVisibility(String queueUrl, String receiptHandle, Integer visibilityTimeout) {return changeMessageVisibility(new ChangeMessageVisibilityRequest().withQueueUrl(queueUrl).withReceiptHandle(receiptHandle).withVisibilityTimeout(visibilityTimeout));}
| [
"public",
"ChangeMessageVisibilityResult",
"changeMessageVisibility",
"(",
"String",
"queueUrl",
",",
"String",
"receiptHandle",
",",
"Integer",
"visibilityTimeout",
")",
"{",
"return",
"changeMessageVisibility",
"(",
"new",
"ChangeMessageVisibilityRequest",
"(",
")",
".",
... | public virtual ChangeMessageVisibilityResponse ChangeMessageVisibility(string queueUrl, string receiptHandle, int visibilityTimeout){var request = new ChangeMessageVisibilityRequest();request.QueueUrl = queueUrl;request.ReceiptHandle = receiptHandle;request.VisibilityTimeout = visibilityTimeout;return ChangeMessageVisi... | train | true |
9,468 | public boolean contains(Object o) {return this.processors.contains(o);}
| [
"public",
"boolean",
"contains",
"(",
"Object",
"o",
")",
"{",
"return",
"this",
".",
"processors",
".",
"contains",
"(",
"o",
")",
";",
"}"
] | public virtual bool Contains(object o){return this.processors.Contains(o);}
| train | false |
9,469 | public int getReturnState(int index) {return returnState;}
| [
"public",
"int",
"getReturnState",
"(",
"int",
"index",
")",
"{",
"return",
"returnState",
";",
"}"
] | public override int GetReturnState(int index){return returnState;}
| train | false |
9,470 | public ModifyVolumeAttributeResult modifyVolumeAttribute(ModifyVolumeAttributeRequest request) {request = beforeClientExecution(request);return executeModifyVolumeAttribute(request);}
| [
"public",
"ModifyVolumeAttributeResult",
"modifyVolumeAttribute",
"(",
"ModifyVolumeAttributeRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeModifyVolumeAttribute",
"(",
"request",
")",
";",
"}"
] | public virtual ModifyVolumeAttributeResponse ModifyVolumeAttribute(ModifyVolumeAttributeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyVolumeAttributeRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyVolumeAttributeResponseUnmarshaller.Instance;return Invoke<ModifyVol... | train | true |
9,471 | public DeleteVolumeResult deleteVolume(DeleteVolumeRequest request) {request = beforeClientExecution(request);return executeDeleteVolume(request);}
| [
"public",
"DeleteVolumeResult",
"deleteVolume",
"(",
"DeleteVolumeRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDeleteVolume",
"(",
"request",
")",
";",
"}"
] | public virtual DeleteVolumeResponse DeleteVolume(DeleteVolumeRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVolumeRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVolumeResponseUnmarshaller.Instance;return Invoke<DeleteVolumeResponse>(request, options);}
| train | true |
9,472 | public ByteBuffer putLong(int index, long value) {checkIndex(index, SizeOf.LONG);Memory.pokeLong(backingArray, offset + index, value, order);return this;}
| [
"public",
"ByteBuffer",
"putLong",
"(",
"int",
"index",
",",
"long",
"value",
")",
"{",
"checkIndex",
"(",
"index",
",",
"SizeOf",
".",
"LONG",
")",
";",
"Memory",
".",
"pokeLong",
"(",
"backingArray",
",",
"offset",
"+",
"index",
",",
"value",
",",
"o... | public override java.nio.ByteBuffer putLong(int index, long value){checkIndex(index, libcore.io.SizeOf.LONG);libcore.io.Memory.pokeLong(backingArray, offset + index, value, _order);return this;}
| train | false |
9,473 | public boolean hasMetaDataChanges() {return changeType != ChangeType.MODIFY || newMode != oldMode;}
| [
"public",
"boolean",
"hasMetaDataChanges",
"(",
")",
"{",
"return",
"changeType",
"!=",
"ChangeType",
".",
"MODIFY",
"||",
"newMode",
"!=",
"oldMode",
";",
"}"
] | public virtual bool HasMetaDataChanges(){return changeType != DiffEntry.ChangeType.MODIFY || newMode != oldMode;}
| train | false |
9,474 | public void newField(FieldInfo fieldInfo) {count = interval;}
| [
"public",
"void",
"newField",
"(",
"FieldInfo",
"fieldInfo",
")",
"{",
"count",
"=",
"interval",
";",
"}"
] | public override void NewField(FieldInfo fieldInfo){count = interval;}
| train | false |
9,475 | public TokenStream create(TokenStream input) {return new JapaneseReadingFormFilter(input, useRomaji);}
| [
"public",
"TokenStream",
"create",
"(",
"TokenStream",
"input",
")",
"{",
"return",
"new",
"JapaneseReadingFormFilter",
"(",
"input",
",",
"useRomaji",
")",
";",
"}"
] | public override TokenStream Create(TokenStream input){return new JapaneseReadingFormFilter(input, useRomaji);}
| train | false |
9,476 | public static CellRangeAddress valueOf(String ref) {int sep = ref.indexOf(":");CellReference a;CellReference b;if (sep == -1) {a = new CellReference(ref);b = a;} else {a = new CellReference(ref.substring(0, sep));b = new CellReference(ref.substring(sep + 1));}return new CellRangeAddress(a.getRow(), b.getRow(), a.getCol... | [
"public",
"static",
"CellRangeAddress",
"valueOf",
"(",
"String",
"ref",
")",
"{",
"int",
"sep",
"=",
"ref",
".",
"indexOf",
"(",
"\":\"",
")",
";",
"CellReference",
"a",
";",
"CellReference",
"b",
";",
"if",
"(",
"sep",
"==",
"-",
"1",
")",
"{",
"a"... | public static CellRangeAddress ValueOf(String reference){int sep = reference.IndexOf(":", StringComparison.Ordinal);CellReference a;CellReference b;if (sep == -1){a = new CellReference(reference);b = a;}else{a = new CellReference(reference.Substring(0, sep));b = new CellReference(reference.Substring(sep + 1));}return n... | train | false |
9,477 | public ModifySelfservicePermissionsResult modifySelfservicePermissions(ModifySelfservicePermissionsRequest request) {request = beforeClientExecution(request);return executeModifySelfservicePermissions(request);}
| [
"public",
"ModifySelfservicePermissionsResult",
"modifySelfservicePermissions",
"(",
"ModifySelfservicePermissionsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeModifySelfservicePermissions",
"(",
"request",
"... | public virtual ModifySelfservicePermissionsResponse ModifySelfservicePermissions(ModifySelfservicePermissionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifySelfservicePermissionsRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifySelfservicePermissionsResponseUnmarshall... | train | false |
9,478 | public int getTokenType(String tokenName) {Integer ttype = getTokenTypeMap().get(tokenName);if ( ttype!=null ) return ttype;return Token.INVALID_TYPE;}
| [
"public",
"int",
"getTokenType",
"(",
"String",
"tokenName",
")",
"{",
"Integer",
"ttype",
"=",
"getTokenTypeMap",
"(",
")",
".",
"get",
"(",
"tokenName",
")",
";",
"if",
"(",
"ttype",
"!=",
"null",
")",
"return",
"ttype",
";",
"return",
"Token",
".",
... | public virtual int GetTokenType(string tokenName){int ttype;if (TokenTypeMap.TryGetValue(tokenName, out ttype)){return ttype;}return TokenConstants.InvalidType;}
| train | false |
9,479 | public int compareTo(LongBuffer otherBuffer) {int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining(): otherBuffer.remaining();int thisPos = position;int otherPos = otherBuffer.position;long thisLong, otherLong;while (compareRemaining > 0) {thisLong = get(thisPos);otherLong = otherBuffer.get(otherP... | [
"public",
"int",
"compareTo",
"(",
"LongBuffer",
"otherBuffer",
")",
"{",
"int",
"compareRemaining",
"=",
"(",
"remaining",
"(",
")",
"<",
"otherBuffer",
".",
"remaining",
"(",
")",
")",
"?",
"remaining",
"(",
")",
":",
"otherBuffer",
".",
"remaining",
"("... | public virtual int compareTo(java.nio.LongBuffer otherBuffer){int compareRemaining = (remaining() < otherBuffer.remaining()) ? remaining() : otherBuffer.remaining();int thisPos = _position;int otherPos = otherBuffer._position;long thisLong;long otherLong;while (compareRemaining > 0){thisLong = get(thisPos);otherLong = ... | train | true |
9,480 | public ApproveSkillResult approveSkill(ApproveSkillRequest request) {request = beforeClientExecution(request);return executeApproveSkill(request);}
| [
"public",
"ApproveSkillResult",
"approveSkill",
"(",
"ApproveSkillRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeApproveSkill",
"(",
"request",
")",
";",
"}"
] | public virtual ApproveSkillResponse ApproveSkill(ApproveSkillRequest request){var options = new InvokeOptions();options.RequestMarshaller = ApproveSkillRequestMarshaller.Instance;options.ResponseUnmarshaller = ApproveSkillResponseUnmarshaller.Instance;return Invoke<ApproveSkillResponse>(request, options);}
| train | true |
9,481 | public void writeContinueIfRequired(int requiredContinuousSize) {if (_ulrOutput.getAvailableSpace() < requiredContinuousSize) {writeContinue();}}
| [
"public",
"void",
"writeContinueIfRequired",
"(",
"int",
"requiredContinuousSize",
")",
"{",
"if",
"(",
"_ulrOutput",
".",
"getAvailableSpace",
"(",
")",
"<",
"requiredContinuousSize",
")",
"{",
"writeContinue",
"(",
")",
";",
"}",
"}"
] | public void WriteContinueIfRequired(int requiredContinuousSize){if (_ulrOutput.AvailableSpace < requiredContinuousSize){WriteContinue();}}
| train | false |
9,482 | public GetApiKeysResult getApiKeys(GetApiKeysRequest request) {request = beforeClientExecution(request);return executeGetApiKeys(request);}
| [
"public",
"GetApiKeysResult",
"getApiKeys",
"(",
"GetApiKeysRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeGetApiKeys",
"(",
"request",
")",
";",
"}"
] | public virtual GetApiKeysResponse GetApiKeys(GetApiKeysRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetApiKeysRequestMarshaller.Instance;options.ResponseUnmarshaller = GetApiKeysResponseUnmarshaller.Instance;return Invoke<GetApiKeysResponse>(request, options);}
| train | true |
9,483 | public Iterator<Entry<K, V>> iterator() {return newEntryIterator();}
| [
"public",
"Iterator",
"<",
"Entry",
"<",
"K",
",",
"V",
">",
">",
"iterator",
"(",
")",
"{",
"return",
"newEntryIterator",
"(",
")",
";",
"}"
] | public override java.util.Iterator<java.util.MapClass.Entry<K, V>> iterator(){return new java.util.Hashtable<K, V>.EntryIterator(this._enclosing);}
| train | false |
9,484 | public int compareTo(RowColKey o) {int cmp = _rowIndex - o._rowIndex;if (cmp != 0) {return cmp;}return _columnIndex - o._columnIndex;}
| [
"public",
"int",
"compareTo",
"(",
"RowColKey",
"o",
")",
"{",
"int",
"cmp",
"=",
"_rowIndex",
"-",
"o",
".",
"_rowIndex",
";",
"if",
"(",
"cmp",
"!=",
"0",
")",
"{",
"return",
"cmp",
";",
"}",
"return",
"_columnIndex",
"-",
"o",
".",
"_columnIndex",... | public int CompareTo(RowColKey o){int cmp = _rowIndex - o._rowIndex;if (cmp != 0){return cmp;}return _columnIndex - o._columnIndex;}
| train | false |
9,485 | public ATNConfig(ATNConfig c, ATNState state,PredictionContext context,SemanticContext semanticContext){this.state = state;this.alt = c.alt;this.context = context;this.semanticContext = semanticContext;this.reachesIntoOuterContext = c.reachesIntoOuterContext;}
| [
"public",
"ATNConfig",
"(",
"ATNConfig",
"c",
",",
"ATNState",
"state",
",",
"PredictionContext",
"context",
",",
"SemanticContext",
"semanticContext",
")",
"{",
"this",
".",
"state",
"=",
"state",
";",
"this",
".",
"alt",
"=",
"c",
".",
"alt",
";",
"this"... | public ATNConfig(ATNConfig c, ATNState state,PredictionContext context,SemanticContext semanticContext){this.state = state;this.alt = c.alt;this.context = context;this.semanticContext = semanticContext;this.reachesIntoOuterContext = c.reachesIntoOuterContext;}
| train | false |
9,486 | public void updateNamesAfterCellShift(FormulaShifter shifter) {for (int i = 0 ; i < getNumNames() ; ++i){NameRecord nr = getNameRecord(i);Ptg[] ptgs = nr.getNameDefinition();if (shifter.adjustFormula(ptgs, nr.getSheetNumber())) {nr.setNameDefinition(ptgs);}}}
| [
"public",
"void",
"updateNamesAfterCellShift",
"(",
"FormulaShifter",
"shifter",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"getNumNames",
"(",
")",
";",
"++",
"i",
")",
"{",
"NameRecord",
"nr",
"=",
"getNameRecord",
"(",
"i",
")",
";",... | public void UpdateNamesAfterCellShift(FormulaShifter shifter){for (int i = 0; i < NumNames; ++i){NameRecord nr = GetNameRecord(i);Ptg[] ptgs = nr.NameDefinition;if (shifter.AdjustFormula(ptgs, nr.SheetNumber)){nr.NameDefinition = ptgs;}}}
| train | false |
9,487 | public ListReviewPolicyResultsForHITResult listReviewPolicyResultsForHIT(ListReviewPolicyResultsForHITRequest request) {request = beforeClientExecution(request);return executeListReviewPolicyResultsForHIT(request);}
| [
"public",
"ListReviewPolicyResultsForHITResult",
"listReviewPolicyResultsForHIT",
"(",
"ListReviewPolicyResultsForHITRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeListReviewPolicyResultsForHIT",
"(",
"request",... | public virtual ListReviewPolicyResultsForHITResponse ListReviewPolicyResultsForHIT(ListReviewPolicyResultsForHITRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListReviewPolicyResultsForHITRequestMarshaller.Instance;options.ResponseUnmarshaller = ListReviewPolicyResultsForHITResponseUnmar... | train | true |
9,488 | public GetExportResult getExport(GetExportRequest request) {request = beforeClientExecution(request);return executeGetExport(request);}
| [
"public",
"GetExportResult",
"getExport",
"(",
"GetExportRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeGetExport",
"(",
"request",
")",
";",
"}"
] | public virtual GetExportResponse GetExport(GetExportRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetExportRequestMarshaller.Instance;options.ResponseUnmarshaller = GetExportResponseUnmarshaller.Instance;return Invoke<GetExportResponse>(request, options);}
| train | true |
9,489 | public void setHyperbolicTfFactors(float min, float max,double base, float xoffset) {tf_hyper_min = min;tf_hyper_max = max;tf_hyper_base = base;tf_hyper_xoffset = xoffset;}
| [
"public",
"void",
"setHyperbolicTfFactors",
"(",
"float",
"min",
",",
"float",
"max",
",",
"double",
"base",
",",
"float",
"xoffset",
")",
"{",
"tf_hyper_min",
"=",
"min",
";",
"tf_hyper_max",
"=",
"max",
";",
"tf_hyper_base",
"=",
"base",
";",
"tf_hyper_xof... | public virtual void SetHyperbolicTfFactors(float min, float max, double @base, float xoffset){tf_hyper_min = min;tf_hyper_max = max;tf_hyper_base = @base;tf_hyper_xoffset = xoffset;}
| train | false |
9,490 | public CharBuffer slice() {return new ReadWriteCharArrayBuffer(remaining(), backingArray, offset + position);}
| [
"public",
"CharBuffer",
"slice",
"(",
")",
"{",
"return",
"new",
"ReadWriteCharArrayBuffer",
"(",
"remaining",
"(",
")",
",",
"backingArray",
",",
"offset",
"+",
"position",
")",
";",
"}"
] | public override java.nio.CharBuffer slice(){return new java.nio.ReadWriteCharArrayBuffer(remaining(), backingArray, offset +_position);}
| train | false |
9,491 | public LexerNoViableAltException(Lexer lexer,CharStream input,int startIndex,ATNConfigSet deadEndConfigs) {super(lexer, input, null);this.startIndex = startIndex;this.deadEndConfigs = deadEndConfigs;}
| [
"public",
"LexerNoViableAltException",
"(",
"Lexer",
"lexer",
",",
"CharStream",
"input",
",",
"int",
"startIndex",
",",
"ATNConfigSet",
"deadEndConfigs",
")",
"{",
"super",
"(",
"lexer",
",",
"input",
",",
"null",
")",
";",
"this",
".",
"startIndex",
"=",
"... | public LexerNoViableAltException(Lexer lexer, ICharStream input, int startIndex, ATNConfigSet deadEndConfigs): base(lexer, input){this.startIndex = startIndex;this.deadEndConfigs = deadEndConfigs;}
| train | false |
9,492 | public CreateCompilationJobResult createCompilationJob(CreateCompilationJobRequest request) {request = beforeClientExecution(request);return executeCreateCompilationJob(request);}
| [
"public",
"CreateCompilationJobResult",
"createCompilationJob",
"(",
"CreateCompilationJobRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCreateCompilationJob",
"(",
"request",
")",
";",
"}"
] | public virtual CreateCompilationJobResponse CreateCompilationJob(CreateCompilationJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateCompilationJobRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateCompilationJobResponseUnmarshaller.Instance;return Invoke<CreateCompilat... | train | true |
9,493 | public int getPosition() {return position;}
| [
"public",
"int",
"getPosition",
"(",
")",
"{",
"return",
"position",
";",
"}"
] | public virtual int GetPosition(){return position;}
| train | false |
9,494 | public boolean canEncode(CharSequence sequence) {CharBuffer cb;if (sequence instanceof CharBuffer) {cb = ((CharBuffer) sequence).duplicate();} else {cb = CharBuffer.wrap(sequence);}return implCanEncode(cb);}
| [
"public",
"boolean",
"canEncode",
"(",
"CharSequence",
"sequence",
")",
"{",
"CharBuffer",
"cb",
";",
"if",
"(",
"sequence",
"instanceof",
"CharBuffer",
")",
"{",
"cb",
"=",
"(",
"(",
"CharBuffer",
")",
"sequence",
")",
".",
"duplicate",
"(",
")",
";",
"... | public virtual bool canEncode(java.lang.CharSequence sequence){java.nio.CharBuffer cb;if (sequence is java.nio.CharBuffer){cb = ((java.nio.CharBuffer)sequence).duplicate();}else{cb = java.nio.CharBuffer.wrap(sequence);}return implCanEncode(cb);}
| train | false |
9,495 | public synchronized void add(int index, E e) {Object[] newElements = new Object[elements.length + 1];System.arraycopy(elements, 0, newElements, 0, index);newElements[index] = e;System.arraycopy(elements, index, newElements, index + 1, elements.length - index);elements = newElements;}
| [
"public",
"synchronized",
"void",
"add",
"(",
"int",
"index",
",",
"E",
"e",
")",
"{",
"Object",
"[",
"]",
"newElements",
"=",
"new",
"Object",
"[",
"elements",
".",
"length",
"+",
"1",
"]",
";",
"System",
".",
"arraycopy",
"(",
"elements",
",",
"0",... | public virtual void add(int index, E e){lock (this){object[] newElements = new object[elements.Length + 1];System.Array.Copy(elements, 0, newElements, 0, index);newElements[index] = e;System.Array.Copy(elements, index, newElements, index + 1, elements.Length - index);elements = newElements;}}
| train | true |
9,496 | public StopMonitoringScheduleResult stopMonitoringSchedule(StopMonitoringScheduleRequest request) {request = beforeClientExecution(request);return executeStopMonitoringSchedule(request);}
| [
"public",
"StopMonitoringScheduleResult",
"stopMonitoringSchedule",
"(",
"StopMonitoringScheduleRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeStopMonitoringSchedule",
"(",
"request",
")",
";",
"}"
] | public virtual StopMonitoringScheduleResponse StopMonitoringSchedule(StopMonitoringScheduleRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopMonitoringScheduleRequestMarshaller.Instance;options.ResponseUnmarshaller = StopMonitoringScheduleResponseUnmarshaller.Instance;return Invoke<Stop... | train | false |
9,497 | public int getDbcellAt(int cellnum){return field_5_dbcells.get(cellnum);}
| [
"public",
"int",
"getDbcellAt",
"(",
"int",
"cellnum",
")",
"{",
"return",
"field_5_dbcells",
".",
"get",
"(",
"cellnum",
")",
";",
"}"
] | public int GetDbcellAt(int cellnum){return field_5_dbcells.Get(cellnum);}
| train | false |
9,498 | public final int read(byte[] buffer, int offset, int length) throws IOException {return in.read(buffer, offset, length);}
| [
"public",
"final",
"int",
"read",
"(",
"byte",
"[",
"]",
"buffer",
",",
"int",
"offset",
",",
"int",
"length",
")",
"throws",
"IOException",
"{",
"return",
"in",
".",
"read",
"(",
"buffer",
",",
"offset",
",",
"length",
")",
";",
"}"
] | public sealed override int read(byte[] buffer, int offset, int length){throw new System.NotImplementedException();}
| train | false |
9,499 | public synchronized String[] getChunks(String[] words, String[] tags, double[] probs) {String[] chunks = chunker.chunk(words, tags);if (probs != null)chunker.probs(probs);return chunks;}
| [
"public",
"synchronized",
"String",
"[",
"]",
"getChunks",
"(",
"String",
"[",
"]",
"words",
",",
"String",
"[",
"]",
"tags",
",",
"double",
"[",
"]",
"probs",
")",
"{",
"String",
"[",
"]",
"chunks",
"=",
"chunker",
".",
"chunk",
"(",
"words",
",",
... | public virtual string[] GetChunks(string[] words, string[] tags, double[] probs){lock (this){string[] chunks = chunker.chunk(words, tags);if (probs != null)chunker.probs(probs);return chunks;}}
| train | false |
9,500 | public Ref getTarget() {return this;}
| [
"public",
"Ref",
"getTarget",
"(",
")",
"{",
"return",
"this",
";",
"}"
] | public virtual Ref GetTarget(){return this;}
| train | false |
9,501 | public String toString(){StringBuilder buffer = new StringBuilder();buffer.append("[DEFAULTROWHEIGHT]\n");buffer.append(" .optionflags = ").append(Integer.toHexString(getOptionFlags())).append("\n");buffer.append(" .rowheight = ").append(Integer.toHexString(getRowHeight())).append("\n");buffer.append("[/D... | [
"public",
"String",
"toString",
"(",
")",
"{",
"StringBuilder",
"buffer",
"=",
"new",
"StringBuilder",
"(",
")",
";",
"buffer",
".",
"append",
"(",
"\"[DEFAULTROWHEIGHT]\\n\"",
")",
";",
"buffer",
".",
"append",
"(",
"\" .optionflags = \"",
")",
".",
"ap... | public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[DEFAULTROWHEIGHT]\n");buffer.Append(" .optionflags = ").Append(StringUtil.ToHexString(OptionFlags)).Append("\n");buffer.Append(" .rowheight = ").Append(StringUtil.ToHexString(RowHeight)).Append("\n");buffer.Append... | train | false |
9,502 | public AlibabaCloudCredentials getCredentials() {return this.credentials;}
| [
"public",
"AlibabaCloudCredentials",
"getCredentials",
"(",
")",
"{",
"return",
"this",
".",
"credentials",
";",
"}"
] | public AlibabaCloudCredentials GetCredentials(){return credentials;}
| train | false |
9,503 | public SeekStatus seekCeil(BytesRef term) {throw new UnsupportedOperationException();}
| [
"public",
"SeekStatus",
"seekCeil",
"(",
"BytesRef",
"term",
")",
"{",
"throw",
"new",
"UnsupportedOperationException",
"(",
")",
";",
"}"
] | public override SeekStatus SeekCeil(BytesRef term){throw new System.NotSupportedException();}
| train | false |
9,504 | public NavigableSet<K> navigableKeySet() {BoundedKeySet result = keySet;return result != null ? result : (keySet = new BoundedKeySet());}
| [
"public",
"NavigableSet",
"<",
"K",
">",
"navigableKeySet",
"(",
")",
"{",
"BoundedKeySet",
"result",
"=",
"keySet",
";",
"return",
"result",
"!=",
"null",
"?",
"result",
":",
"(",
"keySet",
"=",
"new",
"BoundedKeySet",
"(",
")",
")",
";",
"}"
] | public java.util.NavigableSet<K> navigableKeySet(){java.util.TreeMap<K, V>.BoundedMap.BoundedKeySet result = this._keySet;return result != null ? result : (this._keySet = new java.util.TreeMap<K, V>.BoundedMap.BoundedKeySet(this));}
| train | false |
9,505 | public ListEventsRequest() {super("CloudPhoto", "2017-07-11", "ListEvents", "cloudphoto");setProtocol(ProtocolType.HTTPS);}
| [
"public",
"ListEventsRequest",
"(",
")",
"{",
"super",
"(",
"\"CloudPhoto\"",
",",
"\"2017-07-11\"",
",",
"\"ListEvents\"",
",",
"\"cloudphoto\"",
")",
";",
"setProtocol",
"(",
"ProtocolType",
".",
"HTTPS",
")",
";",
"}"
] | public ListEventsRequest(): base("CloudPhoto", "2017-07-11", "ListEvents", "cloudphoto", "openAPI"){Protocol = ProtocolType.HTTPS;}
| train | false |
9,506 | public String toString(){StringBuilder sb = new StringBuilder();sb.append("[LbsDropData]\n");sb.append(" ._wStyle: ").append(_wStyle).append('\n');sb.append(" ._cLine: ").append(_cLine).append('\n');sb.append(" ._dxMin: ").append(_dxMin).append('\n');sb.append(" ._str: ").append(_str).append('\n');if(_unused !=... | [
"public",
"String",
"toString",
"(",
")",
"{",
"StringBuilder",
"sb",
"=",
"new",
"StringBuilder",
"(",
")",
";",
"sb",
".",
"append",
"(",
"\"[LbsDropData]\\n\"",
")",
";",
"sb",
".",
"append",
"(",
"\" ._wStyle: \"",
")",
".",
"append",
"(",
"_wStyle",... | public override String ToString(){StringBuilder sb = new StringBuilder();sb.Append("[LbsDropData]\n");sb.Append(" ._wStyle: ").Append(_wStyle).Append('\n');sb.Append(" ._cLine: ").Append(_cLine).Append('\n');sb.Append(" ._dxMin: ").Append(_dxMin).Append('\n');sb.Append(" ._str: ").Append(_str).Append('\n');sb.A... | train | false |
9,507 | public String toString() {return "PackWriter.State[" + phase + ", memory=" + bytesUsed + "]";}
| [
"public",
"String",
"toString",
"(",
")",
"{",
"return",
"\"PackWriter.State[\"",
"+",
"phase",
"+",
"\", memory=\"",
"+",
"bytesUsed",
"+",
"\"]\"",
";",
"}"
] | public override string ToString(){return "PackWriter.State[" + this.phase + ", memory=" + this.bytesUsed + "]";}
| train | false |
9,508 | public RemoteRefUpdate getRemoteUpdate(String refName) {return remoteUpdates.get(refName);}
| [
"public",
"RemoteRefUpdate",
"getRemoteUpdate",
"(",
"String",
"refName",
")",
"{",
"return",
"remoteUpdates",
".",
"get",
"(",
"refName",
")",
";",
"}"
] | public virtual RemoteRefUpdate GetRemoteUpdate(string refName){return remoteUpdates.Get(refName);}
| train | false |
9,509 | @Override public Iterator<E> iterator() {return listIterator(0);}
| [
"@",
"Override",
"public",
"Iterator",
"<",
"E",
">",
"iterator",
"(",
")",
"{",
"return",
"listIterator",
"(",
"0",
")",
";",
"}"
] | public virtual java.util.Iterator<E> iterator(){object[] snapshot = elements;return new java.util.concurrent.CopyOnWriteArrayList.CowIterator<E>(snapshot, 0,snapshot.Length);}
| train | false |
9,510 | public TerminateInstancesRequest(java.util.List<String> instanceIds) {setInstanceIds(instanceIds);}
| [
"public",
"TerminateInstancesRequest",
"(",
"java",
".",
"util",
".",
"List",
"<",
"String",
">",
"instanceIds",
")",
"{",
"setInstanceIds",
"(",
"instanceIds",
")",
";",
"}"
] | public TerminateInstancesRequest(List<string> instanceIds){_instanceIds = instanceIds;}
| train | false |
9,511 | public CreateDataRepositoryTaskResult createDataRepositoryTask(CreateDataRepositoryTaskRequest request) {request = beforeClientExecution(request);return executeCreateDataRepositoryTask(request);}
| [
"public",
"CreateDataRepositoryTaskResult",
"createDataRepositoryTask",
"(",
"CreateDataRepositoryTaskRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCreateDataRepositoryTask",
"(",
"request",
")",
";",
"}"... | public virtual CreateDataRepositoryTaskResponse CreateDataRepositoryTask(CreateDataRepositoryTaskRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDataRepositoryTaskRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDataRepositoryTaskResponseUnmarshaller.Instance;return I... | train | false |
9,512 | public void undeprecateActivityType(UndeprecateActivityTypeRequest request) {request = beforeClientExecution(request);executeUndeprecateActivityType(request);}
| [
"public",
"void",
"undeprecateActivityType",
"(",
"UndeprecateActivityTypeRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"executeUndeprecateActivityType",
"(",
"request",
")",
";",
"}"
] | public virtual UndeprecateActivityTypeResponse UndeprecateActivityType(UndeprecateActivityTypeRequest request){var options = new InvokeOptions();options.RequestMarshaller = UndeprecateActivityTypeRequestMarshaller.Instance;options.ResponseUnmarshaller = UndeprecateActivityTypeResponseUnmarshaller.Instance;return Invoke... | train | false |
9,513 | public EndRecord clone() {return copy();}
| [
"public",
"EndRecord",
"clone",
"(",
")",
"{",
"return",
"copy",
"(",
")",
";",
"}"
] | public override Object Clone(){EndRecord er = new EndRecord();return er;}
| train | false |
9,514 | public ListLabelingJobsResult listLabelingJobs(ListLabelingJobsRequest request) {request = beforeClientExecution(request);return executeListLabelingJobs(request);}
| [
"public",
"ListLabelingJobsResult",
"listLabelingJobs",
"(",
"ListLabelingJobsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeListLabelingJobs",
"(",
"request",
")",
";",
"}"
] | public virtual ListLabelingJobsResponse ListLabelingJobs(ListLabelingJobsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListLabelingJobsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListLabelingJobsResponseUnmarshaller.Instance;return Invoke<ListLabelingJobsResponse>(request,... | train | true |
9,515 | public void setTag(String shortName) {this.tag = shortName;}
| [
"public",
"void",
"setTag",
"(",
"String",
"shortName",
")",
"{",
"this",
".",
"tag",
"=",
"shortName",
";",
"}"
] | public virtual void SetTag(string shortName){this.tag = shortName;}
| train | false |
9,516 | public String getNameText(NamePtg namePtg) {return _iBook.getNameRecord(namePtg.getIndex()).getNameText();}
| [
"public",
"String",
"getNameText",
"(",
"NamePtg",
"namePtg",
")",
"{",
"return",
"_iBook",
".",
"getNameRecord",
"(",
"namePtg",
".",
"getIndex",
"(",
")",
")",
".",
"getNameText",
"(",
")",
";",
"}"
] | public String GetNameText(NamePtg namePtg){return _iBook.GetNameRecord(namePtg.Index).NameText;}
| train | false |
9,517 | public Builder() {slop = 0;terms = new ArrayList<>();positions = new ArrayList<>();}
| [
"public",
"Builder",
"(",
")",
"{",
"slop",
"=",
"0",
";",
"terms",
"=",
"new",
"ArrayList",
"<",
">",
"(",
")",
";",
"positions",
"=",
"new",
"ArrayList",
"<",
">",
"(",
")",
";",
"}"
] | public Builder(){data = new GrowableByteArrayDataOutput(128);bufferSize = 0;previousDoc = -1;indexInterval = 2;cardinality = 0;numBlocks = 0;}
| train | false |
9,518 | public SpanPositionRangeQuery(SpanQuery match, int start, int end) {super(match);this.start = start;this.end = end;}
| [
"public",
"SpanPositionRangeQuery",
"(",
"SpanQuery",
"match",
",",
"int",
"start",
",",
"int",
"end",
")",
"{",
"super",
"(",
"match",
")",
";",
"this",
".",
"start",
"=",
"start",
";",
"this",
".",
"end",
"=",
"end",
";",
"}"
] | public SpanPositionRangeQuery(SpanQuery match, int start, int end): base(match){this.m_start = start;this.m_end = end;}
| train | false |
9,519 | public CreateDBProxyResult createDBProxy(CreateDBProxyRequest request) {request = beforeClientExecution(request);return executeCreateDBProxy(request);}
| [
"public",
"CreateDBProxyResult",
"createDBProxy",
"(",
"CreateDBProxyRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeCreateDBProxy",
"(",
"request",
")",
";",
"}"
] | public virtual CreateDBProxyResponse CreateDBProxy(CreateDBProxyRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDBProxyRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDBProxyResponseUnmarshaller.Instance;return Invoke<CreateDBProxyResponse>(request, options);}
| train | false |
9,520 | public boolean equals( Object o ) {return o instanceof LovinsStemmer;}
| [
"public",
"boolean",
"equals",
"(",
"Object",
"o",
")",
"{",
"return",
"o",
"instanceof",
"LovinsStemmer",
";",
"}"
] | public override bool Equals(object o){return o is LovinsStemmer;}
| train | false |
9,521 | public ReplicationGroup modifyReplicationGroupShardConfiguration(ModifyReplicationGroupShardConfigurationRequest request) {request = beforeClientExecution(request);return executeModifyReplicationGroupShardConfiguration(request);}
| [
"public",
"ReplicationGroup",
"modifyReplicationGroupShardConfiguration",
"(",
"ModifyReplicationGroupShardConfigurationRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeModifyReplicationGroupShardConfiguration",
"("... | public virtual ModifyReplicationGroupShardConfigurationResponse ModifyReplicationGroupShardConfiguration(ModifyReplicationGroupShardConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyReplicationGroupShardConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller ... | train | true |
9,522 | public DeleteFacesResult deleteFaces(DeleteFacesRequest request) {request = beforeClientExecution(request);return executeDeleteFaces(request);}
| [
"public",
"DeleteFacesResult",
"deleteFaces",
"(",
"DeleteFacesRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDeleteFaces",
"(",
"request",
")",
";",
"}"
] | public virtual DeleteFacesResponse DeleteFaces(DeleteFacesRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteFacesRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteFacesResponseUnmarshaller.Instance;return Invoke<DeleteFacesResponse>(request, options);}
| train | true |
9,523 | public SSTSerializer( IntMapper<UnicodeString> strings, int numStrings, int numUniqueStrings ){this.strings = strings;_numStrings = numStrings;_numUniqueStrings = numUniqueStrings;int infoRecs = ExtSSTRecord.getNumberOfInfoRecsForStrings(strings.size());this.bucketAbsoluteOffsets = new int[infoRecs];this.bucketRelative... | [
"public",
"SSTSerializer",
"(",
"IntMapper",
"<",
"UnicodeString",
">",
"strings",
",",
"int",
"numStrings",
",",
"int",
"numUniqueStrings",
")",
"{",
"this",
".",
"strings",
"=",
"strings",
";",
"_numStrings",
"=",
"numStrings",
";",
"_numUniqueStrings",
"=",
... | public SSTSerializer(IntMapper<UnicodeString> strings, int numStrings, int numUniqueStrings){this.strings = strings;_numStrings = numStrings;_numUniqueStrings = numUniqueStrings;int infoRecs = ExtSSTRecord.GetNumberOfInfoRecsForStrings(strings.Size);this.bucketAbsoluteOffsets = new int[infoRecs];this.bucketRelativeOffs... | train | false |
9,524 | public URISyntaxException(String input, String reason, int index) {super(reason);if (input == null || reason == null) {throw new NullPointerException();}if (index < -1) {throw new IllegalArgumentException();}this.input = input;this.index = index;}
| [
"public",
"URISyntaxException",
"(",
"String",
"input",
",",
"String",
"reason",
",",
"int",
"index",
")",
"{",
"super",
"(",
"reason",
")",
";",
"if",
"(",
"input",
"==",
"null",
"||",
"reason",
"==",
"null",
")",
"{",
"throw",
"new",
"NullPointerExcept... | public URISyntaxException(string input, string reason, int index) : base(reason){if (input == null || reason == null){throw new System.ArgumentNullException();}if (index < -1){throw new System.ArgumentException();}this.input = input;this.index = index;}
| train | false |
9,525 | public String toString() {return "AssociationFacetField(dim=" + dim + " path=" + Arrays.toString(path) + " bytes=" + assoc + ")";}
| [
"public",
"String",
"toString",
"(",
")",
"{",
"return",
"\"AssociationFacetField(dim=\"",
"+",
"dim",
"+",
"\" path=\"",
"+",
"Arrays",
".",
"toString",
"(",
"path",
")",
"+",
"\" bytes=\"",
"+",
"assoc",
"+",
"\")\"",
";",
"}"
] | public override string ToString(){return "AssociationFacetField(dim=" + Dim + " path=" + Arrays.ToString(Path) + " bytes=" + Assoc + ")";}
| train | false |
9,526 | public boolean requiresCommitBody() {return false;}
| [
"public",
"boolean",
"requiresCommitBody",
"(",
")",
"{",
"return",
"false",
";",
"}"
] | public virtual bool RequiresCommitBody(){return true;}
| train | false |
9,527 | public static AttrPtg getSumSingle() {return new AttrPtg(optiSum.set(0), 0, null, -1);}
| [
"public",
"static",
"AttrPtg",
"getSumSingle",
"(",
")",
"{",
"return",
"new",
"AttrPtg",
"(",
"optiSum",
".",
"set",
"(",
"0",
")",
",",
"0",
",",
"null",
",",
"-",
"1",
")",
";",
"}"
] | public static AttrPtg GetSumSingle(){return new AttrPtg(optiSum.Set(0), 0, null, -1);}
| train | false |
9,528 | public GetModelsResult getModels(GetModelsRequest request) {request = beforeClientExecution(request);return executeGetModels(request);}
| [
"public",
"GetModelsResult",
"getModels",
"(",
"GetModelsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeGetModels",
"(",
"request",
")",
";",
"}"
] | public virtual GetModelsResponse GetModels(GetModelsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetModelsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetModelsResponseUnmarshaller.Instance;return Invoke<GetModelsResponse>(request, options);}
| train | true |
9,529 | public Storage getStorage() {return Storage.LOOSE;}
| [
"public",
"Storage",
"getStorage",
"(",
")",
"{",
"return",
"Storage",
".",
"LOOSE",
";",
"}"
] | public virtual RefStorage GetStorage(){return RefStorage.LOOSE;}
| train | false |
9,530 | public ForwardBytesReader(byte[] bytes) {this.bytes = bytes;}
| [
"public",
"ForwardBytesReader",
"(",
"byte",
"[",
"]",
"bytes",
")",
"{",
"this",
".",
"bytes",
"=",
"bytes",
";",
"}"
] | public ForwardBytesReader(byte[] bytes){this.bytes = bytes;}
| train | false |
9,531 | public long ramBytesUsed() {return fst == null ? 0 : fst.ramBytesUsed();}
| [
"public",
"long",
"ramBytesUsed",
"(",
")",
"{",
"return",
"fst",
"==",
"null",
"?",
"0",
":",
"fst",
".",
"ramBytesUsed",
"(",
")",
";",
"}"
] | public virtual long RamBytesUsed(){return fst == null ? 0 : fst.GetSizeInBytes();}
| train | false |
9,532 | public ShortBuffer asReadOnlyBuffer() {return ReadOnlyShortArrayBuffer.copy(this, mark);}
| [
"public",
"ShortBuffer",
"asReadOnlyBuffer",
"(",
")",
"{",
"return",
"ReadOnlyShortArrayBuffer",
".",
"copy",
"(",
"this",
",",
"mark",
")",
";",
"}"
] | public override java.nio.ShortBuffer asReadOnlyBuffer(){return java.nio.ReadOnlyShortArrayBuffer.copy(this, _mark);}
| train | false |
9,533 | public ListFiltersResult listFilters(ListFiltersRequest request) {request = beforeClientExecution(request);return executeListFilters(request);}
| [
"public",
"ListFiltersResult",
"listFilters",
"(",
"ListFiltersRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeListFilters",
"(",
"request",
")",
";",
"}"
] | public virtual ListFiltersResponse ListFilters(ListFiltersRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListFiltersRequestMarshaller.Instance;options.ResponseUnmarshaller = ListFiltersResponseUnmarshaller.Instance;return Invoke<ListFiltersResponse>(request, options);}
| train | true |
9,534 | public HSSFRichTextString(String string) {if (string == null) {_string = new UnicodeString("");} else {_string = new UnicodeString(string);}}
| [
"public",
"HSSFRichTextString",
"(",
"String",
"string",
")",
"{",
"if",
"(",
"string",
"==",
"null",
")",
"{",
"_string",
"=",
"new",
"UnicodeString",
"(",
"\"\"",
")",
";",
"}",
"else",
"{",
"_string",
"=",
"new",
"UnicodeString",
"(",
"string",
")",
... | public HSSFRichTextString(String str){if (str == null){_string = new UnicodeString("");}else{this._string = new UnicodeString(str);}}
| train | false |
9,536 | public UpdateDomainNameserversResult updateDomainNameservers(UpdateDomainNameserversRequest request) {request = beforeClientExecution(request);return executeUpdateDomainNameservers(request);}
| [
"public",
"UpdateDomainNameserversResult",
"updateDomainNameservers",
"(",
"UpdateDomainNameserversRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeUpdateDomainNameservers",
"(",
"request",
")",
";",
"}"
] | public virtual UpdateDomainNameserversResponse UpdateDomainNameservers(UpdateDomainNameserversRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateDomainNameserversRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateDomainNameserversResponseUnmarshaller.Instance;return Invoke... | train | true |
9,537 | public ListWorkersWithQualificationTypeResult listWorkersWithQualificationType(ListWorkersWithQualificationTypeRequest request) {request = beforeClientExecution(request);return executeListWorkersWithQualificationType(request);}
| [
"public",
"ListWorkersWithQualificationTypeResult",
"listWorkersWithQualificationType",
"(",
"ListWorkersWithQualificationTypeRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeListWorkersWithQualificationType",
"(",
... | public virtual ListWorkersWithQualificationTypeResponse ListWorkersWithQualificationType(ListWorkersWithQualificationTypeRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListWorkersWithQualificationTypeRequestMarshaller.Instance;options.ResponseUnmarshaller = ListWorkersWithQualificationTy... | train | true |
9,538 | public ResetCacheParameterGroupRequest(String cacheParameterGroupName, java.util.List<ParameterNameValue> parameterNameValues) {setCacheParameterGroupName(cacheParameterGroupName);setParameterNameValues(parameterNameValues);}
| [
"public",
"ResetCacheParameterGroupRequest",
"(",
"String",
"cacheParameterGroupName",
",",
"java",
".",
"util",
".",
"List",
"<",
"ParameterNameValue",
">",
"parameterNameValues",
")",
"{",
"setCacheParameterGroupName",
"(",
"cacheParameterGroupName",
")",
";",
"setParam... | public ResetCacheParameterGroupRequest(string cacheParameterGroupName, List<ParameterNameValue> parameterNameValues){_cacheParameterGroupName = cacheParameterGroupName;_parameterNameValues = parameterNameValues;}
| train | false |
9,539 | public EscherPropertyMetaData( String description ){this.description = description;}
| [
"public",
"EscherPropertyMetaData",
"(",
"String",
"description",
")",
"{",
"this",
".",
"description",
"=",
"description",
";",
"}"
] | public EscherPropertyMetaData(String description){this.description = description;}
| train | false |
9,540 | public UserInputQueryBuilder(String defaultField, Analyzer analyzer) {this.analyzer = analyzer;this.defaultField = defaultField;}
| [
"public",
"UserInputQueryBuilder",
"(",
"String",
"defaultField",
",",
"Analyzer",
"analyzer",
")",
"{",
"this",
".",
"analyzer",
"=",
"analyzer",
";",
"this",
".",
"defaultField",
"=",
"defaultField",
";",
"}"
] | public UserInputQueryBuilder(string defaultField, Analyzer analyzer){this.analyzer = analyzer;this.defaultField = defaultField;}
| train | false |
9,541 | public final CharsetDecoder replaceWith(String replacement) {if (replacement == null) {throw new IllegalArgumentException("replacement == null");}if (replacement.isEmpty()) {throw new IllegalArgumentException("replacement.isEmpty()");}if (replacement.length() > maxCharsPerByte()) {throw new IllegalArgumentException("re... | [
"public",
"final",
"CharsetDecoder",
"replaceWith",
"(",
"String",
"replacement",
")",
"{",
"if",
"(",
"replacement",
"==",
"null",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"replacement == null\"",
")",
";",
"}",
"if",
"(",
"replacement",
"."... | public java.nio.charset.CharsetDecoder replaceWith(string replacement_1){if (replacement_1 == null){throw new System.ArgumentException("replacement == null");}if (string.IsNullOrEmpty(replacement_1)){throw new System.ArgumentException("replacement.isEmpty()");}if (replacement_1.Length > maxCharsPerByte()){throw new Sys... | train | false |
9,542 | public void reset() throws IOException {throw new IOException();}
| [
"public",
"void",
"reset",
"(",
")",
"throws",
"IOException",
"{",
"throw",
"new",
"IOException",
"(",
")",
";",
"}"
] | public virtual void reset(){throw new System.IO.IOException();}
| train | false |
9,543 | public UpdateFileSystemResult updateFileSystem(UpdateFileSystemRequest request) {request = beforeClientExecution(request);return executeUpdateFileSystem(request);}
| [
"public",
"UpdateFileSystemResult",
"updateFileSystem",
"(",
"UpdateFileSystemRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeUpdateFileSystem",
"(",
"request",
")",
";",
"}"
] | public virtual UpdateFileSystemResponse UpdateFileSystem(UpdateFileSystemRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateFileSystemRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateFileSystemResponseUnmarshaller.Instance;return Invoke<UpdateFileSystemResponse>(request,... | train | true |
9,544 | public int readUByte(){return _in.readUByte();}
| [
"public",
"int",
"readUByte",
"(",
")",
"{",
"return",
"_in",
".",
"readUByte",
"(",
")",
";",
"}"
] | public int ReadUByte(){return _in.ReadUByte();}
| train | false |
9,545 | public String toString() {return "[WSBOOL]\n" +" .wsbool1 = " + Integer.toHexString(getWSBool1()) + "\n" +" .autobreaks = " + getAutobreaks() + "\n" +" .dialog = " + getDialog() + "\n" +" .rowsumsbelw= " + getRowSumsBelow() + "\n" +" .rowsumsrigt= " + getRowSumsRight() + "\n" +... | [
"public",
"String",
"toString",
"(",
")",
"{",
"return",
"\"[WSBOOL]\\n\"",
"+",
"\" .wsbool1 = \"",
"+",
"Integer",
".",
"toHexString",
"(",
"getWSBool1",
"(",
")",
")",
"+",
"\"\\n\"",
"+",
"\" .autobreaks = \"",
"+",
"getAutobreaks",
"(",
")",
... | public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[WSBOOL]\n");buffer.Append(" .wsbool1 = ").Append(StringUtil.ToHexString(WSBool1)).Append("\n");buffer.Append(" .autobreaks = ").Append(Autobreaks).Append("\n");buffer.Append(" .dialog = ").Append(Dia... | train | false |
9,546 | public PutGatewayResponseResult putGatewayResponse(PutGatewayResponseRequest request) {request = beforeClientExecution(request);return executePutGatewayResponse(request);}
| [
"public",
"PutGatewayResponseResult",
"putGatewayResponse",
"(",
"PutGatewayResponseRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executePutGatewayResponse",
"(",
"request",
")",
";",
"}"
] | public virtual PutGatewayResponseResponse PutGatewayResponse(PutGatewayResponseRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutGatewayResponseRequestMarshaller.Instance;options.ResponseUnmarshaller = PutGatewayResponseResponseUnmarshaller.Instance;return Invoke<PutGatewayResponseRespon... | train | true |
9,547 | public Term[] getStopWords() {List<Term> allStopWords = new ArrayList<>();for (Map.Entry<String, Set<String>> entry : stopWordsPerField.entrySet()) {String field = entry.getKey();Set<String> stopWords = entry.getValue();for (String text : stopWords) {allStopWords.add(new Term(field, text));}}return allStopWords.toArray... | [
"public",
"Term",
"[",
"]",
"getStopWords",
"(",
")",
"{",
"List",
"<",
"Term",
">",
"allStopWords",
"=",
"new",
"ArrayList",
"<",
">",
"(",
")",
";",
"for",
"(",
"Map",
".",
"Entry",
"<",
"String",
",",
"Set",
"<",
"String",
">",
">",
"entry",
"... | public Term[] GetStopWords(){IList<Term> allStopWords = new List<Term>();foreach (string fieldName in stopWordsPerField.Keys){ISet<string> stopWords = stopWordsPerField[fieldName];foreach (string text in stopWords){allStopWords.Add(new Term(fieldName, text));}}return allStopWords.ToArray();}
| train | false |
9,548 | public boolean isUpdate() {return update;}
| [
"public",
"boolean",
"isUpdate",
"(",
")",
"{",
"return",
"update",
";",
"}"
] | public virtual bool IsUpdate(){return update;}
| train | false |
9,549 | public static InternalSheet createSheet(RecordStream rs) {return new InternalSheet(rs);}
| [
"public",
"static",
"InternalSheet",
"createSheet",
"(",
"RecordStream",
"rs",
")",
"{",
"return",
"new",
"InternalSheet",
"(",
"rs",
")",
";",
"}"
] | public static InternalSheet CreateSheet(RecordStream rs){return new InternalSheet(rs);}
| train | false |
9,550 | public final IntBuffer get(int[] dst, int dstOffset, int intCount) {if (intCount > remaining()) {throw new BufferUnderflowException();}System.arraycopy(backingArray, offset + position, dst, dstOffset, intCount);position += intCount;return this;}
| [
"public",
"final",
"IntBuffer",
"get",
"(",
"int",
"[",
"]",
"dst",
",",
"int",
"dstOffset",
",",
"int",
"intCount",
")",
"{",
"if",
"(",
"intCount",
">",
"remaining",
"(",
")",
")",
"{",
"throw",
"new",
"BufferUnderflowException",
"(",
")",
";",
"}",
... | public sealed override java.nio.IntBuffer get(int[] dst, int dstOffset, int intCount){if (intCount > remaining()){throw new java.nio.BufferUnderflowException();}System.Array.Copy(backingArray, offset + _position, dst, dstOffset, intCount);_position += intCount;return this;}
| train | false |
9,551 | public DisassociateVpcCidrBlockResult disassociateVpcCidrBlock(DisassociateVpcCidrBlockRequest request) {request = beforeClientExecution(request);return executeDisassociateVpcCidrBlock(request);}
| [
"public",
"DisassociateVpcCidrBlockResult",
"disassociateVpcCidrBlock",
"(",
"DisassociateVpcCidrBlockRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeDisassociateVpcCidrBlock",
"(",
"request",
")",
";",
"}"... | public virtual DisassociateVpcCidrBlockResponse DisassociateVpcCidrBlock(DisassociateVpcCidrBlockRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateVpcCidrBlockRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateVpcCidrBlockResponseUnmarshaller.Instance;return I... | train | true |
9,552 | public void add(TaskStats stat2) {numRuns += stat2.getNumRuns();elapsed += stat2.getElapsed();maxTotMem += stat2.getMaxTotMem();maxUsedMem += stat2.getMaxUsedMem();count += stat2.getCount();if (round != stat2.round) {round = -1; }if (countsByTime != null && stat2.countsByTime != null) {if (countsByTimeStepMSec != stat2... | [
"public",
"void",
"add",
"(",
"TaskStats",
"stat2",
")",
"{",
"numRuns",
"+=",
"stat2",
".",
"getNumRuns",
"(",
")",
";",
"elapsed",
"+=",
"stat2",
".",
"getElapsed",
"(",
")",
";",
"maxTotMem",
"+=",
"stat2",
".",
"getMaxTotMem",
"(",
")",
";",
"maxUs... | public virtual void Add(TaskStats stat2){numRuns += stat2.NumRuns;elapsed += stat2.Elapsed;maxTotMem += stat2.MaxTotMem;maxUsedMem += stat2.MaxUsedMem;count += stat2.Count;if (round != stat2.round){round = -1; }if (countsByTime != null && stat2.countsByTime != null){if (countsByTimeStepMSec != stat2.countsByTimeStepMSe... | train | false |
9,553 | public StartStreamProcessorResult startStreamProcessor(StartStreamProcessorRequest request) {request = beforeClientExecution(request);return executeStartStreamProcessor(request);}
| [
"public",
"StartStreamProcessorResult",
"startStreamProcessor",
"(",
"StartStreamProcessorRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeStartStreamProcessor",
"(",
"request",
")",
";",
"}"
] | public virtual StartStreamProcessorResponse StartStreamProcessor(StartStreamProcessorRequest request){var options = new InvokeOptions();options.RequestMarshaller = StartStreamProcessorRequestMarshaller.Instance;options.ResponseUnmarshaller = StartStreamProcessorResponseUnmarshaller.Instance;return Invoke<StartStreamPro... | train | true |
9,554 | public void print(char c) {print(String.valueOf(c));}
| [
"public",
"void",
"print",
"(",
"char",
"c",
")",
"{",
"print",
"(",
"String",
".",
"valueOf",
"(",
"c",
")",
")",
";",
"}"
] | public virtual void print(char c){print(c.ToString());}
| train | false |
9,555 | public StepConfig(String name, HadoopJarStepConfig hadoopJarStep) {setName(name);setHadoopJarStep(hadoopJarStep);}
| [
"public",
"StepConfig",
"(",
"String",
"name",
",",
"HadoopJarStepConfig",
"hadoopJarStep",
")",
"{",
"setName",
"(",
"name",
")",
";",
"setHadoopJarStep",
"(",
"hadoopJarStep",
")",
";",
"}"
] | public StepConfig(string name, HadoopJarStepConfig hadoopJarStep){_name = name;_hadoopJarStep = hadoopJarStep;}
| train | false |
9,556 | public GetIdentityPoliciesResult getIdentityPolicies(GetIdentityPoliciesRequest request) {request = beforeClientExecution(request);return executeGetIdentityPolicies(request);}
| [
"public",
"GetIdentityPoliciesResult",
"getIdentityPolicies",
"(",
"GetIdentityPoliciesRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeGetIdentityPolicies",
"(",
"request",
")",
";",
"}"
] | public virtual GetIdentityPoliciesResponse GetIdentityPolicies(GetIdentityPoliciesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetIdentityPoliciesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetIdentityPoliciesResponseUnmarshaller.Instance;return Invoke<GetIdentityPolicies... | train | true |
9,557 | public ListAccountsResult listAccounts(ListAccountsRequest request) {request = beforeClientExecution(request);return executeListAccounts(request);}
| [
"public",
"ListAccountsResult",
"listAccounts",
"(",
"ListAccountsRequest",
"request",
")",
"{",
"request",
"=",
"beforeClientExecution",
"(",
"request",
")",
";",
"return",
"executeListAccounts",
"(",
"request",
")",
";",
"}"
] | public virtual ListAccountsResponse ListAccounts(ListAccountsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListAccountsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListAccountsResponseUnmarshaller.Instance;return Invoke<ListAccountsResponse>(request, options);}
| train | true |
9,558 | public int getCompressionLevel() {return compressionLevel;}
| [
"public",
"int",
"getCompressionLevel",
"(",
")",
"{",
"return",
"compressionLevel",
";",
"}"
] | public virtual int GetCompressionLevel(){return compressionLevel;}
| train | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.