id
int32 0
10.3k
| java
stringlengths 29
1.4k
| cs
stringlengths 28
1.38k
|
---|---|---|
10,200 | public ModifyDBClusterParameterGroupResult modifyDBClusterParameterGroup(ModifyDBClusterParameterGroupRequest request) {request = beforeClientExecution(request);return executeModifyDBClusterParameterGroup(request);}
| public virtual ModifyDBClusterParameterGroupResponse ModifyDBClusterParameterGroup(ModifyDBClusterParameterGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = ModifyDBClusterParameterGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = ModifyDBClusterParameterGroupResponseUnmarshaller.Instance;return Invoke<ModifyDBClusterParameterGroupResponse>(request, options);}
|
10,201 | public GetOperationsForResourceResult getOperationsForResource(GetOperationsForResourceRequest request) {request = beforeClientExecution(request);return executeGetOperationsForResource(request);}
| public virtual GetOperationsForResourceResponse GetOperationsForResource(GetOperationsForResourceRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetOperationsForResourceRequestMarshaller.Instance;options.ResponseUnmarshaller = GetOperationsForResourceResponseUnmarshaller.Instance;return Invoke<GetOperationsForResourceResponse>(request, options);}
|
10,202 | public NLPTokenizerOp(TokenizerModel model) {tokenizer = new TokenizerME(model);}
| public NLPTokenizerOp(TokenizerModel model){tokenizer = new TokenizerME(model);}
|
10,203 | public StartImageScanRequest() {super("cr", "2016-06-07", "StartImageScan", "cr");setUriPattern("/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/scan");setMethod(MethodType.PUT);}
| public StartImageScanRequest(): base("cr", "2016-06-07", "StartImageScan", "cr", "openAPI"){UriPattern = "/repos/[RepoNamespace]/[RepoName]/tags/[Tag]/scan";Method = MethodType.PUT;}
|
10,204 | public UpdateFleetResult updateFleet(UpdateFleetRequest request) {request = beforeClientExecution(request);return executeUpdateFleet(request);}
| public virtual UpdateFleetResponse UpdateFleet(UpdateFleetRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateFleetRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateFleetResponseUnmarshaller.Instance;return Invoke<UpdateFleetResponse>(request, options);}
|
10,205 | public Editable newEditable(CharSequence source) {return new CalculatorEditable(source, mLogic);}
| public virtual android.text.Editable newEditable(java.lang.CharSequence source){return new android.text.SpannableStringBuilder(source);}
|
10,206 | public static TreeFilter createFromStrings(String... paths) {if (paths.length == 0)throw new IllegalArgumentException(JGitText.get().atLeastOnePathIsRequired);final int length = paths.length;final PathFilter[] p = new PathFilter[length];for (int i = 0; i < length; i++)p[i] = PathFilter.create(paths[i]);return create(p);}
| public static TreeFilter CreateFromStrings(params string[] paths){if (paths.Length == 0){throw new ArgumentException(JGitText.Get().atLeastOnePathIsRequired);}int length = paths.Length;PathFilter[] p = new PathFilter[length];for (int i = 0; i < length; i++){p[i] = PathFilter.Create(paths[i]);}return Create(p);}
|
10,207 | public DescribeHostedConnectionsResult describeHostedConnections(DescribeHostedConnectionsRequest request) {request = beforeClientExecution(request);return executeDescribeHostedConnections(request);}
| public virtual DescribeHostedConnectionsResponse DescribeHostedConnections(DescribeHostedConnectionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeHostedConnectionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeHostedConnectionsResponseUnmarshaller.Instance;return Invoke<DescribeHostedConnectionsResponse>(request, options);}
|
10,208 | public RejectTransitGatewayPeeringAttachmentResult rejectTransitGatewayPeeringAttachment(RejectTransitGatewayPeeringAttachmentRequest request) {request = beforeClientExecution(request);return executeRejectTransitGatewayPeeringAttachment(request);}
| public virtual RejectTransitGatewayPeeringAttachmentResponse RejectTransitGatewayPeeringAttachment(RejectTransitGatewayPeeringAttachmentRequest request){var options = new InvokeOptions();options.RequestMarshaller = RejectTransitGatewayPeeringAttachmentRequestMarshaller.Instance;options.ResponseUnmarshaller = RejectTransitGatewayPeeringAttachmentResponseUnmarshaller.Instance;return Invoke<RejectTransitGatewayPeeringAttachmentResponse>(request, options);}
|
10,209 | public static double toPoints(long emu){return (double)emu/EMU_PER_POINT;}
| public static double ToPoints(long emu){return (double)emu / EMU_PER_POINT;}
|
10,210 | public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1) {return arg1;}
| public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1){return arg1;}
|
10,211 | public final BytesRef getBinaryValue(String name) {for (IndexableField field : fields) {if (field.name().equals(name)) {final BytesRef bytes = field.binaryValue();if (bytes != null) {return bytes;}}}return null;}
| public BytesRef GetBinaryValue(string name){foreach (IIndexableField field in fields){if (field.Name.Equals(name, StringComparison.Ordinal)){BytesRef bytes = field.GetBinaryValue();if (bytes != null){return bytes;}}}return null;}
|
10,212 | public CRNBlock(RecordStream rs) {_countRecord = (CRNCountRecord) rs.getNext();int nCRNs = _countRecord.getNumberOfCRNs();CRNRecord[] crns = new CRNRecord[nCRNs];for (int i = 0; i < crns.length; i++) {crns[i] = (CRNRecord) rs.getNext();}_crns = crns;}
| public CRNBlock(RecordStream rs){_countRecord = (CRNCountRecord)rs.GetNext();int nCRNs = _countRecord.NumberOfCRNs;CRNRecord[] crns = new CRNRecord[nCRNs];for (int i = 0; i < crns.Length; i++){crns[i] = (CRNRecord)rs.GetNext();}_crns = crns;}
|
10,213 | public int get(int index, long[] arr, int off, int len) {return current.get(index, arr, off, len);}
| public override int Get(int index, long[] arr, int off, int len){return current.Get(index, arr, off, len);}
|
10,214 | public LooseRef peel(ObjectIdRef newLeaf) {return this;}
| public RefDirectory.LooseRef Peel(ObjectIdRef newLeaf){return this;}
|
10,215 | public UpdateModelVersionResult updateModelVersion(UpdateModelVersionRequest request) {request = beforeClientExecution(request);return executeUpdateModelVersion(request);}
| public virtual UpdateModelVersionResponse UpdateModelVersion(UpdateModelVersionRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateModelVersionRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateModelVersionResponseUnmarshaller.Instance;return Invoke<UpdateModelVersionResponse>(request, options);}
|
10,216 | public Builder() {PositiveIntOutputs outputs = PositiveIntOutputs.getSingleton();fstCompiler = new FSTCompiler<>(FST.INPUT_TYPE.BYTE1, outputs);scratchInts = new IntsRefBuilder();}
| public Builder(): base(){lastDocID = -1;wordNum = -1;word = 0;}
|
10,217 | public boolean stem() {int v_1 = cursor;r_mark_regions();cursor = v_1;limit_backward = cursor;cursor = limit;int v_2 = limit - cursor;r_main_suffix();cursor = limit - v_2;int v_3 = limit - cursor;r_consonant_pair();cursor = limit - v_3;int v_4 = limit - cursor;r_other_suffix();cursor = limit - v_4;cursor = limit_backward;return true;}
| public override bool Stem(){int v_1;int v_2;int v_3;int v_4;v_1 = m_cursor;do{if (!r_mark_regions()){goto lab0;}} while (false);lab0:m_cursor = v_1;m_limit_backward = m_cursor; m_cursor = m_limit;v_2 = m_limit - m_cursor;do{if (!r_main_suffix()){goto lab1;}} while (false);lab1:m_cursor = m_limit - v_2;v_3 = m_limit - m_cursor;do{if (!r_consonant_pair()){goto lab2;}} while (false);lab2:m_cursor = m_limit - v_3;v_4 = m_limit - m_cursor;do{if (!r_other_suffix()){goto lab3;}} while (false);lab3:m_cursor = m_limit - v_4;m_cursor = m_limit_backward; return true;}
|
10,218 | public int describeContents() {return 0;}
| public virtual int describeContents(){return 0;}
|
10,219 | public FetchConnection openFetch() throws TransportException {if (src == null)throw new TransportException(uri, JGitText.get().onlyOneFetchSupported);try {return new BundleFetchConnection(this, src);} finally {src = null;}}
| public override FetchConnection OpenFetch(){if (src == null){throw new TransportException(uri, JGitText.Get().onlyOneFetchSupported);}try{return new BundleFetchConnection(this, src);}finally{src = null;}}
|
10,220 | public DeleteWorkGroupResult deleteWorkGroup(DeleteWorkGroupRequest request) {request = beforeClientExecution(request);return executeDeleteWorkGroup(request);}
| public virtual DeleteWorkGroupResponse DeleteWorkGroup(DeleteWorkGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteWorkGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteWorkGroupResponseUnmarshaller.Instance;return Invoke<DeleteWorkGroupResponse>(request, options);}
|
10,221 | public GetApiResult getApi(GetApiRequest request) {request = beforeClientExecution(request);return executeGetApi(request);}
| public virtual GetApiResponse GetApi(GetApiRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetApiRequestMarshaller.Instance;options.ResponseUnmarshaller = GetApiResponseUnmarshaller.Instance;return Invoke<GetApiResponse>(request, options);}
|
10,222 | public LongBuffer slice() {return new ReadOnlyLongArrayBuffer(remaining(), backingArray, offset + position);}
| public override java.nio.LongBuffer slice(){return new java.nio.ReadOnlyLongArrayBuffer(remaining(), backingArray, offset + _position);}
|
10,223 | public String toString() {String opName = getClass().getName();int $index = opName.indexOf('$');opName = opName.substring($index+1, opName.length());return "<"+opName+"@"+tokens.get(index)+":\""+text+"\">";}
| public override string ToString(){string opName = GetType().FullName;int index = opName.IndexOf('$');opName = Sharpen.Runtime.Substring(opName, index + 1, opName.Length);return "<" + opName + "@" + tokens.Get(this.index) + ":\"" + text + "\">";}
|
10,224 | public String toString() {return "Action[" + token + "]";}
| public override string ToString(){return "Action[" + token + "]";}
|
10,225 | public static EvaluationException invalidRef() {return new EvaluationException(ErrorEval.REF_INVALID);}
| public static EvaluationException InvalidRef(){return new EvaluationException(ErrorEval.REF_INVALID);}
|
10,226 | public Iterator<Entry> getEntries() {return new FilteringIterator();}
| public IEnumerator<Entry> GetEntries(){return new FilteringIterator(this); ;}
|
10,227 | public String toString() {StringBuilder buffer = new StringBuilder();buffer.append(" [FUTURE HEADER]\n");buffer.append(" Type " + recordType);buffer.append(" Flags " + grbitFrt);buffer.append(" [/FUTURE HEADER]\n");return buffer.toString();}
| public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append(" [FUTURE HEADER]\n");buffer.Append(" type " + recordType);buffer.Append(" flags " + grbitFrt);buffer.Append(" [/FUTURE HEADER]\n");return buffer.ToString();}
|
10,228 | public void copy(MutableValue source) {MutableValueStr s = (MutableValueStr) source;exists = s.exists;value.copyBytes(s.value);}
| public override void Copy(MutableValue source){MutableValueStr s = (MutableValueStr)source;Exists = s.Exists;Value.CopyBytes(s.Value);}
|
10,229 | public ReaderSlice(int start, int length, int readerIndex) {this.start = start;this.length = length;this.readerIndex = readerIndex;}
| public ReaderSlice(int start, int length, int readerIndex){this.Start = start;this.Length = length;this.ReaderIndex = readerIndex;}
|
10,230 | public AddTagsResult addTags(AddTagsRequest request) {request = beforeClientExecution(request);return executeAddTags(request);}
| public virtual AddTagsResponse AddTags(AddTagsRequest request){var options = new InvokeOptions();options.RequestMarshaller = AddTagsRequestMarshaller.Instance;options.ResponseUnmarshaller = AddTagsResponseUnmarshaller.Instance;return Invoke<AddTagsResponse>(request, options);}
|
10,231 | public static URI create(String uri) {try {return new URI(uri);} catch (URISyntaxException e) {throw new IllegalArgumentException(e.getMessage());}}
| public static java.net.URI create(string uri){try{return new java.net.URI(uri);}catch (java.net.URISyntaxException e){throw new System.ArgumentException(e.Message);}}
|
10,232 | public UpdateConfigurationSetTrackingOptionsResult updateConfigurationSetTrackingOptions(UpdateConfigurationSetTrackingOptionsRequest request) {request = beforeClientExecution(request);return executeUpdateConfigurationSetTrackingOptions(request);}
| public virtual UpdateConfigurationSetTrackingOptionsResponse UpdateConfigurationSetTrackingOptions(UpdateConfigurationSetTrackingOptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateConfigurationSetTrackingOptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateConfigurationSetTrackingOptionsResponseUnmarshaller.Instance;return Invoke<UpdateConfigurationSetTrackingOptionsResponse>(request, options);}
|
10,233 | public void recycleByteBlocks(byte[][] blocks, int start, int end) {bytesUsed.addAndGet(-((end-start)* blockSize));for (int i = start; i < end; i++) {blocks[i] = null;}}
| public override void RecycleByteBlocks(byte[][] blocks, int start, int end){bytesUsed.AddAndGet(-((end - start) * m_blockSize));for (var i = start; i < end; i++){blocks[i] = null;}}
|
10,234 | public DoubleBuffer compact() {throw new ReadOnlyBufferException();}
| public override java.nio.DoubleBuffer compact(){throw new java.nio.ReadOnlyBufferException();}
|
10,235 | public GetVoiceConnectorStreamingConfigurationResult getVoiceConnectorStreamingConfiguration(GetVoiceConnectorStreamingConfigurationRequest request) {request = beforeClientExecution(request);return executeGetVoiceConnectorStreamingConfiguration(request);}
| public virtual GetVoiceConnectorStreamingConfigurationResponse GetVoiceConnectorStreamingConfiguration(GetVoiceConnectorStreamingConfigurationRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVoiceConnectorStreamingConfigurationRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVoiceConnectorStreamingConfigurationResponseUnmarshaller.Instance;return Invoke<GetVoiceConnectorStreamingConfigurationResponse>(request, options);}
|
10,236 | public boolean hasNext() {return pos + 1 < size();}
| public virtual bool hasNext(){return this.pos + 1 < this._enclosing.size();}
|
10,237 | public double getRKNumberAt(int coffset) {return RKUtil.decodeNumber(field_3_rks[coffset].rk);}
| public double GetRKNumberAt(int coffset){return RKUtil.DecodeNumber(field_3_rks[coffset].rk);}
|
10,238 | public ReimportApiResult reimportApi(ReimportApiRequest request) {request = beforeClientExecution(request);return executeReimportApi(request);}
| public virtual ReimportApiResponse ReimportApi(ReimportApiRequest request){var options = new InvokeOptions();options.RequestMarshaller = ReimportApiRequestMarshaller.Instance;options.ResponseUnmarshaller = ReimportApiResponseUnmarshaller.Instance;return Invoke<ReimportApiResponse>(request, options);}
|
10,239 | public boolean hasNext() {return link.previous != list.voidLink;}
| public virtual bool hasNext(){return this.link.previous != this.list.voidLink;}
|
10,240 | public void fill(BytesRef b, long start) {final int index = (int) (start >> blockBits);final int offset = (int) (start & blockMask);final byte[] block = b.bytes = blocks[index];if ((block[offset] & 128) == 0) {b.length = block[offset];b.offset = offset+1;} else {b.length = ((block[offset] & 0x7f) << 8) | (block[1+offset] & 0xff);b.offset = offset+2;assert b.length > 0;}}
| public void Fill(BytesRef b, long start){var index = (int)(start >> blockBits);var offset = (int)(start & blockMask);var block = b.Bytes = blocks[index];if ((block[offset] & 128) == 0){b.Length = block[offset];b.Offset = offset + 1;}else{b.Length = ((block[offset] & 0x7f) << 8) | (block[1 + offset] & 0xff);b.Offset = offset + 2;Debug.Assert(b.Length > 0);}}
|
10,241 | public void trimToSize() {if (n < array.length) {byte[] aux = new byte[n];System.arraycopy(array, 0, aux, 0, n);array = aux;}}
| public virtual void TrimToSize(){if (n < array.Length){byte[] aux = new byte[n];System.Array.Copy(array, 0, aux, 0, n);array = aux;}}
|
10,242 | public SubmoduleUpdateCommand submoduleUpdate() {return new SubmoduleUpdateCommand(repo);}
| public virtual SubmoduleUpdateCommand SubmoduleUpdate(){return new SubmoduleUpdateCommand(repo);}
|
10,243 | public static ShortBuffer wrap(short[] array, int start, int shortCount) {Arrays.checkOffsetAndCount(array.length, start, shortCount);ShortBuffer buf = new ReadWriteShortArrayBuffer(array);buf.position = start;buf.limit = start + shortCount;return buf;}
| public static java.nio.ShortBuffer wrap(short[] array_1, int start, int shortCount){java.util.Arrays.checkOffsetAndCount(array_1.Length, start, shortCount);java.nio.ShortBuffer buf = new java.nio.ReadWriteShortArrayBuffer(array_1);buf._position = start;buf._limit = start + shortCount;return buf;}
|
10,244 | public GetVpcLinksResult getVpcLinks(GetVpcLinksRequest request) {request = beforeClientExecution(request);return executeGetVpcLinks(request);}
| public virtual GetVpcLinksResponse GetVpcLinks(GetVpcLinksRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetVpcLinksRequestMarshaller.Instance;options.ResponseUnmarshaller = GetVpcLinksResponseUnmarshaller.Instance;return Invoke<GetVpcLinksResponse>(request, options);}
|
10,245 | public RemoveResourcePermissionResult removeResourcePermission(RemoveResourcePermissionRequest request) {request = beforeClientExecution(request);return executeRemoveResourcePermission(request);}
| public virtual RemoveResourcePermissionResponse RemoveResourcePermission(RemoveResourcePermissionRequest request){var options = new InvokeOptions();options.RequestMarshaller = RemoveResourcePermissionRequestMarshaller.Instance;options.ResponseUnmarshaller = RemoveResourcePermissionResponseUnmarshaller.Instance;return Invoke<RemoveResourcePermissionResponse>(request, options);}
|
10,246 | public ListIndexResult listIndex(ListIndexRequest request) {request = beforeClientExecution(request);return executeListIndex(request);}
| public virtual ListIndexResponse ListIndex(ListIndexRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListIndexRequestMarshaller.Instance;options.ResponseUnmarshaller = ListIndexResponseUnmarshaller.Instance;return Invoke<ListIndexResponse>(request, options);}
|
10,247 | public List<Integer> toList() {List<Integer> values = new ArrayList<Integer>();int n = intervals.size();for (int i = 0; i < n; i++) {Interval I = intervals.get(i);int a = I.a;int b = I.b;for (int v=a; v<=b; v++) {values.add(v);}}return values;}
| public virtual IList<int> ToList(){IList<int> values = new ArrayList<int>();int n = intervals.Count;for (int i = 0; i < n; i++){Interval I = intervals[i];int a = I.a;int b = I.b;for (int v = a; v <= b; v++){values.Add(v);}}return values;}
|
10,248 | public CreateCustomerGatewayRequest(GatewayType type, String publicIp, Integer bgpAsn) {setType(type.toString());setPublicIp(publicIp);setBgpAsn(bgpAsn);}
| public CreateCustomerGatewayRequest(GatewayType type, string publicIp, int bgpAsn){_type = type;_publicIp = publicIp;_bgpAsn = bgpAsn;}
|
10,249 | public int getWeekNo(Calendar cal, int weekStartOn) {if (weekStartOn == 1) {cal.setFirstDayOfWeek(Calendar.SUNDAY);} else {cal.setFirstDayOfWeek(Calendar.MONDAY);}return cal.get(Calendar.WEEK_OF_YEAR);}
| public int getWeekNo(DateTime dt, int weekStartOn){GregorianCalendar cal = new GregorianCalendar();int weekOfYear;if (weekStartOn == 1){weekOfYear = cal.GetWeekOfYear(dt, CalendarWeekRule.FirstDay, DayOfWeek.Sunday);}else{weekOfYear = cal.GetWeekOfYear(dt, CalendarWeekRule.FirstDay, DayOfWeek.Monday);}return weekOfYear;}
|
10,250 | public String toString() {String s = "o:"+offset+" p:"+position+" c:"+count;if (rptGroup >=0 ) {s += " rpt:"+rptGroup+",i"+rptInd;}return s;}
| public override string ToString(){string s = "d:" + doc + " o:" + offset + " p:" + position + " c:" + count;if (rptGroup >= 0){s += " rpt:" + rptGroup + ",i" + rptInd;}return s;}
|
10,251 | @Override public ListIterator<E> listIterator() {return listIterator(0);}
| public virtual java.util.ListIterator<E> listIterator(){return listIterator(0);}
|
10,252 | public GetUserEndpointsResult getUserEndpoints(GetUserEndpointsRequest request) {request = beforeClientExecution(request);return executeGetUserEndpoints(request);}
| public virtual GetUserEndpointsResponse GetUserEndpoints(GetUserEndpointsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetUserEndpointsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetUserEndpointsResponseUnmarshaller.Instance;return Invoke<GetUserEndpointsResponse>(request, options);}
|
10,253 | public UAX29URLEmailTokenizerImpl(java.io.Reader in) {this.zzReader = in;}
| public UAX29URLEmailTokenizerImpl(TextReader @in){this.zzReader = @in;}
|
10,254 | public ResetCommand addPath(String path) {if (mode != null)throw new JGitInternalException(MessageFormat.format(JGitText.get().illegalCombinationOfArguments, "<paths>...", "[--mixed | --soft | --hard]")); filepaths.add(path);return this;}
| public virtual NGit.Api.ResetCommand AddPath(string file){if (mode != null){throw new JGitInternalException(MessageFormat.Format(JGitText.Get().illegalCombinationOfArguments, "<paths>...", "[--mixed | --soft | --hard]"));}filepaths.AddItem(file);return this;}
|
10,255 | public org.apache.poi.hssf.record.Record findNextRecordBySid(short sid, int pos) {int matches = 0;for (org.apache.poi.hssf.record.Record record : records.getRecords() ) {if (record.getSid() == sid && matches++ == pos) {return record;}}return null;}
| public Record FindNextRecordBySid(short sid, int pos){int matches = 0;for (IEnumerator iterator = records.GetEnumerator(); iterator.MoveNext(); ){Record record = (Record)iterator.Current;if (record.Sid == sid){if (matches++ == pos)return record;}}return null;}
|
10,256 | public int[] toArray() {return toIntegerList().toArray();}
| public virtual int[] ToArray(){return ToIntegerList().ToArray();}
|
10,257 | public GetDomainNamesResult getDomainNames(GetDomainNamesRequest request) {request = beforeClientExecution(request);return executeGetDomainNames(request);}
| public virtual GetDomainNamesResponse GetDomainNames(GetDomainNamesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDomainNamesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDomainNamesResponseUnmarshaller.Instance;return Invoke<GetDomainNamesResponse>(request, options);}
|
10,258 | public UpdateTemplateAliasResult updateTemplateAlias(UpdateTemplateAliasRequest request) {request = beforeClientExecution(request);return executeUpdateTemplateAlias(request);}
| public virtual UpdateTemplateAliasResponse UpdateTemplateAlias(UpdateTemplateAliasRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateTemplateAliasRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateTemplateAliasResponseUnmarshaller.Instance;return Invoke<UpdateTemplateAliasResponse>(request, options);}
|
10,259 | public String getReceivePack() {return receivePack;}
| public virtual string GetReceivePack(){return receivePack;}
|
10,260 | public synchronized Set<K> keySet() {Set<K> ks = keySet;return (ks != null) ? ks : (keySet = new KeySet());}
| public virtual java.util.Set<K> keySet(){lock (this){java.util.Set<K> ks = _keySet;return (ks != null) ? ks : (_keySet = new java.util.Hashtable<K, V>.KeySet(this));}}
|
10,261 | public AssociateAddressRequest(String instanceId, String publicIp) {setInstanceId(instanceId);setPublicIp(publicIp);}
| public AssociateAddressRequest(string instanceId, string publicIp){_instanceId = instanceId;_publicIp = publicIp;}
|
10,262 | public static CharBuffer wrap(CharSequence chseq) {return new CharSequenceAdapter(chseq);}
| public static java.nio.CharBuffer wrap(java.lang.CharSequence chseq){return new java.nio.CharSequenceAdapter(chseq);}
|
10,263 | public void reset() {reset(true, true);}
| public void Reset(){Reset(true, true);}
|
10,264 | public static double nChooseK(int n, int k) {double d = 1;if (n<0 || k<0 || n<k) {d= Double.NaN;}else {int minnk = Math.min(n-k, k);int maxnk = Math.max(n-k, k);for (int i=maxnk; i<n; i++) {d *= i+1;}d /= factorial(minnk);}return d;}
| public static double NChooseK(int n, int k){double d = 1;if (n < 0 || k < 0 || n < k){d = double.NaN;}else{int minnk = Math.Min(n - k, k);int maxnk = Math.Max(n - k, k);for (int i = maxnk; i < n; i++){d *= i + 1;}d /= Factorial(minnk);}return d;}
|
10,265 | public static String toHex(String value) {return (value == null || value.length() == 0)? "[]": toHex(value.getBytes(LocaleUtil.CHARSET_1252));}
| public static string ToHex(long value){return ToHex(value, 16);}
|
10,266 | public String getAccessSecret() {return getCredentials().getAccessKeySecret();}
| public string GetAccessSecret(){return GetCredentials().GetAccessKeySecret();}
|
10,267 | public static BoundSheetRecord[] orderByBofPosition(List<BoundSheetRecord> boundSheetRecords) {BoundSheetRecord[] bsrs = new BoundSheetRecord[boundSheetRecords.size()];boundSheetRecords.toArray(bsrs);Arrays.sort(bsrs, BoundSheetRecord::compareRecords);return bsrs;}
| public static BoundSheetRecord[] OrderByBofPosition(List<BoundSheetRecord> boundSheetRecords){BoundSheetRecord[] bsrs = boundSheetRecords.ToArray();Array.Sort(bsrs, new BOFComparator());return bsrs;}
|
10,268 | public DeleteNotebookInstanceResult deleteNotebookInstance(DeleteNotebookInstanceRequest request) {request = beforeClientExecution(request);return executeDeleteNotebookInstance(request);}
| public virtual DeleteNotebookInstanceResponse DeleteNotebookInstance(DeleteNotebookInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteNotebookInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteNotebookInstanceResponseUnmarshaller.Instance;return Invoke<DeleteNotebookInstanceResponse>(request, options);}
|
10,269 | public DTDHandler getDTDHandler () {return (theDTDHandler == this) ? null : theDTDHandler;}
| public void close (){lock (this.mBlock) {if (this.mParseState != null) {this.mParseState.Dispose ();this.mParseState = null;this.mBlock.decOpenCountLocked ();}}}
|
10,270 | public static File resolve(File directory, FS fs) {if (isGitRepository(directory, fs))return directory;if (isGitRepository(new File(directory, Constants.DOT_GIT), fs))return new File(directory, Constants.DOT_GIT);final String name = directory.getName();final File parent = directory.getParentFile();if (isGitRepository(new File(parent, name + Constants.DOT_GIT_EXT), fs))return new File(parent, name + Constants.DOT_GIT_EXT);return null;}
| public static FilePath Resolve(FilePath directory, FS fs){if (IsGitRepository(directory, fs)){return directory;}if (IsGitRepository(new FilePath(directory, Constants.DOT_GIT), fs)){return new FilePath(directory, Constants.DOT_GIT);}string name = directory.GetName();FilePath parent = directory.GetParentFile();if (IsGitRepository(new FilePath(parent, name + Constants.DOT_GIT_EXT), fs)){return new FilePath(parent, name + Constants.DOT_GIT_EXT);}return null;}
|
10,271 | public WorkflowTypeInfos listWorkflowTypes(ListWorkflowTypesRequest request) {request = beforeClientExecution(request);return executeListWorkflowTypes(request);}
| public virtual ListWorkflowTypesResponse ListWorkflowTypes(ListWorkflowTypesRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListWorkflowTypesRequestMarshaller.Instance;options.ResponseUnmarshaller = ListWorkflowTypesResponseUnmarshaller.Instance;return Invoke<ListWorkflowTypesResponse>(request, options);}
|
10,272 | public Snapshot copyClusterSnapshot(CopyClusterSnapshotRequest request) {request = beforeClientExecution(request);return executeCopyClusterSnapshot(request);}
| public virtual CopyClusterSnapshotResponse CopyClusterSnapshot(CopyClusterSnapshotRequest request){var options = new InvokeOptions();options.RequestMarshaller = CopyClusterSnapshotRequestMarshaller.Instance;options.ResponseUnmarshaller = CopyClusterSnapshotResponseUnmarshaller.Instance;return Invoke<CopyClusterSnapshotResponse>(request, options);}
|
10,273 | public Ptg[] getFormulaTokens(EvaluationCell evalCell) {HSSFCell cell = ((HSSFEvaluationCell)evalCell).getHSSFCell();FormulaRecordAggregate fra = (FormulaRecordAggregate) cell.getCellValueRecord();return fra.getFormulaTokens();}
| public Ptg[] GetFormulaTokens(IEvaluationCell evalCell){ICell cell = ((HSSFEvaluationCell)evalCell).HSSFCell;FormulaRecordAggregate fr = (FormulaRecordAggregate)((HSSFCell)cell).CellValueRecord;return fr.FormulaTokens;}
|
10,274 | public DisassociateVPCFromHostedZoneResult disassociateVPCFromHostedZone(DisassociateVPCFromHostedZoneRequest request) {request = beforeClientExecution(request);return executeDisassociateVPCFromHostedZone(request);}
| public virtual DisassociateVPCFromHostedZoneResponse DisassociateVPCFromHostedZone(DisassociateVPCFromHostedZoneRequest request){var options = new InvokeOptions();options.RequestMarshaller = DisassociateVPCFromHostedZoneRequestMarshaller.Instance;options.ResponseUnmarshaller = DisassociateVPCFromHostedZoneResponseUnmarshaller.Instance;return Invoke<DisassociateVPCFromHostedZoneResponse>(request, options);}
|
10,275 | public StringBuffer insert(int index, int i) {return insert(index, Integer.toString(i));}
| public java.lang.StringBuffer insert(int index, int i){return insert(index, System.Convert.ToString(i));}
|
10,276 | public void setBytesValue(BytesRef value) {if (!(fieldsData instanceof BytesRef)) {throw new IllegalArgumentException("cannot change value type from " + fieldsData.getClass().getSimpleName() + " to BytesRef");}if (type.indexOptions() != IndexOptions.NONE) {throw new IllegalArgumentException("cannot set a BytesRef value on an indexed field");}if (value == null) {throw new IllegalArgumentException("value must not be null");}fieldsData = value;}
| public virtual void SetBytesValue(BytesRef value){if (!(FieldsData is BytesRef)){throw new System.ArgumentException("cannot change value type from " + FieldsData.GetType().Name + " to BytesRef");}if (m_type.IsIndexed){throw new System.ArgumentException("cannot set a BytesRef value on an indexed field");}FieldsData = value;}
|
10,277 | public boolean equals( Object o ) {return o instanceof GermanStemmer;}
| public override bool Equals(object o){return o is GermanStemmer;}
|
10,278 | public UntagMeetingResult untagMeeting(UntagMeetingRequest request) {request = beforeClientExecution(request);return executeUntagMeeting(request);}
| public virtual UntagMeetingResponse UntagMeeting(UntagMeetingRequest request){var options = new InvokeOptions();options.RequestMarshaller = UntagMeetingRequestMarshaller.Instance;options.ResponseUnmarshaller = UntagMeetingResponseUnmarshaller.Instance;return Invoke<UntagMeetingResponse>(request, options);}
|
10,279 | public String toString() {return "[PRECISION]\n" +" .precision = " + getFullPrecision() +"\n" +"[/PRECISION]\n";}
| public override String ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[PRECISION]\n");buffer.Append(" .precision = ").Append(FullPrecision).Append("\n");buffer.Append("[/PRECISION]\n");return buffer.ToString();}
|
10,280 | static public double pmt(double r, int nper, double pv, double fv) {return pmt(r, nper, pv, fv, 0);}
| static public double PMT(double r, int nper, double pv, double fv){return PMT(r, nper, pv, fv, 0);}
|
10,281 | public ValueEval getArea3DEval(Area3DPxg aptg) {SheetRangeEvaluator sre = createExternSheetRefEvaluator(aptg.getSheetName(), aptg.getLastSheetName(), aptg.getExternalWorkbookNumber());return new LazyAreaEval(aptg.getFirstRow(), aptg.getFirstColumn(),aptg.getLastRow(), aptg.getLastColumn(), sre);}
| public ValueEval GetArea3DEval(Area3DPtg aptg){SheetRangeEvaluator sre = CreateExternSheetRefEvaluator(aptg.ExternSheetIndex);return new LazyAreaEval(aptg.FirstRow, aptg.FirstColumn,aptg.LastRow, aptg.LastColumn, sre);}
|
10,282 | public boolean equals(Object obj) {if (obj instanceof Rect) {Rect rhs = (Rect) obj;if (isValid() != rhs.isValid()) {return false;}if (!isValid() && !rhs.isValid()) {return true;}return this.x == rhs.x && this.y == rhs.y && this.w == rhs.w && this.h == rhs.h;}return false;}
| public override bool Equals(object obj){android.graphics.Rect r = (android.graphics.Rect)obj;if (r != null){return left == r.left && top == r.top && right == r.right && bottom == r.bottom;}return false;}
|
10,283 | public final boolean containsColumn(int col) {return _firstColumn <= col && _lastColumn >= col;}
| public bool ContainsColumn(int col){return (_firstColumn <= col) && (_lastColumn >= col);}
|
10,284 | public RunJobFlowRequest(String name, JobFlowInstancesConfig instances) {setName(name);setInstances(instances);}
| public RunJobFlowRequest(string name, JobFlowInstancesConfig instances){_name = name;_instances = instances;}
|
10,285 | public String toString() {if (noBreak == null && postBreak == null && preBreak != null&& preBreak.equals("-")) {return "-";}StringBuilder res = new StringBuilder("{");res.append(preBreak);res.append("}{");res.append(postBreak);res.append("}{");res.append(noBreak);res.append('}');return res.toString();}
| public override string ToString(){if (NoBreak == null && PostBreak == null && PreBreak != null && PreBreak.Equals("-", StringComparison.Ordinal)){return "-";}StringBuilder res = new StringBuilder("{");res.Append(PreBreak);res.Append("}{");res.Append(PostBreak);res.Append("}{");res.Append(NoBreak);res.Append('}');return res.ToString();}
|
10,286 | public ListPublishedSchemaArnsResult listPublishedSchemaArns(ListPublishedSchemaArnsRequest request) {request = beforeClientExecution(request);return executeListPublishedSchemaArns(request);}
| public virtual ListPublishedSchemaArnsResponse ListPublishedSchemaArns(ListPublishedSchemaArnsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListPublishedSchemaArnsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListPublishedSchemaArnsResponseUnmarshaller.Instance;return Invoke<ListPublishedSchemaArnsResponse>(request, options);}
|
10,287 | public StoredField(String name, double value) {super(name, TYPE);fieldsData = value;}
| public StoredField(string name, float value): base(name, TYPE){FieldsData = new Single(value);}
|
10,288 | public DescribeNetworkAclsResult describeNetworkAcls() {return describeNetworkAcls(new DescribeNetworkAclsRequest());}
| public virtual DescribeNetworkAclsResponse DescribeNetworkAcls(){return DescribeNetworkAcls(new DescribeNetworkAclsRequest());}
|
10,289 | public PushCommand add(Ref ref) {refSpecs.add(new RefSpec(ref.getLeaf().getName()));return this;}
| public virtual NGit.Api.PushCommand Add(Ref @ref){refSpecs.AddItem(new RefSpec(@ref.GetLeaf().GetName()));return this;}
|
10,290 | public DeleteVoiceConnectorGroupResult deleteVoiceConnectorGroup(DeleteVoiceConnectorGroupRequest request) {request = beforeClientExecution(request);return executeDeleteVoiceConnectorGroup(request);}
| public virtual DeleteVoiceConnectorGroupResponse DeleteVoiceConnectorGroup(DeleteVoiceConnectorGroupRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteVoiceConnectorGroupRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteVoiceConnectorGroupResponseUnmarshaller.Instance;return Invoke<DeleteVoiceConnectorGroupResponse>(request, options);}
|
10,291 | public IntervalSet(List<Interval> intervals) {this.intervals = intervals;}
| public IntervalSet(IList<Interval> intervals){this.intervals = intervals;}
|
10,292 | public IteratorQueue(Iterator<T> iter) {this.iter = iter;T removeTop = removeTop();assert removeTop == null;}
| public IteratorQueue(IEnumerator<T> iter){this.iter = iter;T removeTop = RemoveTop();Debug.Assert( removeTop == null);}
|
10,293 | public static long[] grow(long[] array) {return grow(array, 1 + array.length);}
| public static long[] Grow(long[] array){return Grow(array, 1 + array.Length);}
|
10,294 | public StemmerOverrideMap(FST<BytesRef> fst, boolean ignoreCase) {this.fst = fst;this.ignoreCase = ignoreCase;}
| public StemmerOverrideMap(FST<BytesRef> fst, bool ignoreCase){this.fst = fst;this.ignoreCase = ignoreCase;}
|
10,295 | public DeleteAdmChannelResult deleteAdmChannel(DeleteAdmChannelRequest request) {request = beforeClientExecution(request);return executeDeleteAdmChannel(request);}
| public virtual DeleteAdmChannelResponse DeleteAdmChannel(DeleteAdmChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteAdmChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteAdmChannelResponseUnmarshaller.Instance;return Invoke<DeleteAdmChannelResponse>(request, options);}
|
10,296 | public SetSubscriptionAttributesRequest(String subscriptionArn, String attributeName, String attributeValue) {setSubscriptionArn(subscriptionArn);setAttributeName(attributeName);setAttributeValue(attributeValue);}
| public SetSubscriptionAttributesRequest(string subscriptionArn, string attributeName, string attributeValue){_subscriptionArn = subscriptionArn;_attributeName = attributeName;_attributeValue = attributeValue;}
|
10,297 | public void unsafeWrite(char b) {buf[len++] = b;}
| public virtual void UnsafeWrite(char b){m_buf[m_len++] = b;}
|
10,298 | @Override public boolean remove(Object key) {int count = 0;Collection<V> collection = subMap.remove(key);if (collection != null) {count = collection.size();collection.clear();totalSize -= count;}return count > 0;}
| public override bool remove(object o){lock (this._enclosing){int oldSize = this._enclosing._size;this._enclosing.remove(o);return this._enclosing._size != oldSize;}}
|
10,299 | public boolean markSupported() {return false;}
| public virtual bool markSupported(){return false;}
|