id
int32 0
10.3k
| java
stringlengths 29
1.4k
| cs
stringlengths 28
1.38k
|
---|---|---|
1,500 | public DeleteConferenceProviderResult deleteConferenceProvider(DeleteConferenceProviderRequest request) {request = beforeClientExecution(request);return executeDeleteConferenceProvider(request);}
| public virtual DeleteConferenceProviderResponse DeleteConferenceProvider(DeleteConferenceProviderRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteConferenceProviderRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteConferenceProviderResponseUnmarshaller.Instance;return Invoke<DeleteConferenceProviderResponse>(request, options);}
|
1,501 | public byte setByte(final byte holder){return ( byte ) set(holder);}
| public byte SetByte(byte holder){return (byte)this.Set(holder);}
|
1,502 | public PipedInputStream(PipedOutputStream out) throws IOException {connect(out);}
| public PipedInputStream(java.io.PipedOutputStream @out){throw new System.NotImplementedException();}
|
1,503 | public IntBuffer slice() {byteBuffer.limit(limit * SizeOf.INT);byteBuffer.position(position * SizeOf.INT);ByteBuffer bb = byteBuffer.slice().order(byteBuffer.order());IntBuffer result = new IntToByteBufferAdapter(bb);byteBuffer.clear();return result;}
| public override java.nio.IntBuffer slice(){byteBuffer.limit(_limit * libcore.io.SizeOf.INT);byteBuffer.position(_position * libcore.io.SizeOf.INT);java.nio.ByteBuffer bb = byteBuffer.slice().order(byteBuffer.order());java.nio.IntBuffer result = new java.nio.IntToByteBufferAdapter(bb);byteBuffer.clear();return result;}
|
1,504 | public CreateDeploymentConfigResult createDeploymentConfig(CreateDeploymentConfigRequest request) {request = beforeClientExecution(request);return executeCreateDeploymentConfig(request);}
| public virtual CreateDeploymentConfigResponse CreateDeploymentConfig(CreateDeploymentConfigRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateDeploymentConfigRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateDeploymentConfigResponseUnmarshaller.Instance;return Invoke<CreateDeploymentConfigResponse>(request, options);}
|
1,505 | public HSSFColor findColor(byte red, byte green, byte blue){byte[] b = _palette.getColor(PaletteRecord.FIRST_COLOR_INDEX);for (short i = PaletteRecord.FIRST_COLOR_INDEX; b != null;b = _palette.getColor(++i)){if (b[0] == red && b[1] == green && b[2] == blue){return new CustomColor(i, b);}}return null;}
| public HSSFColor FindColor(byte red, byte green, byte blue){byte[] b = palette.GetColor(PaletteRecord.FIRST_COLOR_INDEX);for (short i = (short)PaletteRecord.FIRST_COLOR_INDEX; b != null;b = palette.GetColor(++i)){if (b[0] == red && b[1] == green && b[2] == blue){return new CustomColor(i, b);}}return null;}
|
1,506 | public boolean canEncode(char c) {return implCanEncode(CharBuffer.wrap(new char[] { c }));}
| public virtual bool canEncode(char c){return implCanEncode(java.nio.CharBuffer.wrap(new char[] { c }));}
|
1,507 | public NetworkInterface(String macAddress) {mac = macAddress;path = "/network/interfaces/macs/" + mac + "/";}
| public NetworkInterface(string macAddress){_mac = macAddress;_path = string.Format(CultureInfo.InvariantCulture, "/network/interfaces/macs/{0}/", _mac);}
|
1,508 | public final boolean isAccept(int state) {return accept.get(state);}
| public bool IsAccept(int state){return m_accept[state];}
|
1,509 | public String toStringTree() {return toStringTree((List<String>)null);}
| public virtual string ToStringTree(){return ToStringTree((IList<string>)null);}
|
1,510 | public TermRangeQuery(String field, BytesRef lowerTerm, BytesRef upperTerm, boolean includeLower, boolean includeUpper) {super(new Term(field, lowerTerm), toAutomaton(lowerTerm, upperTerm, includeLower, includeUpper), Integer.MAX_VALUE, true);this.lowerTerm = lowerTerm;this.upperTerm = upperTerm;this.includeLower = includeLower;this.includeUpper = includeUpper;}
| public TermRangeQuery(string field, BytesRef lowerTerm, BytesRef upperTerm, bool includeLower, bool includeUpper): base(field){this.lowerTerm = lowerTerm;this.upperTerm = upperTerm;this.includeLower = includeLower;this.includeUpper = includeUpper;}
|
1,511 | public ScanResult scan(String tableName, java.util.List<String> attributesToGet) {return scan(new ScanRequest().withTableName(tableName).withAttributesToGet(attributesToGet));}
| public virtual ScanResponse Scan(string tableName, List<string> attributesToGet){var request = new ScanRequest();request.TableName = tableName;request.AttributesToGet = attributesToGet;return Scan(request);}
|
1,512 | public StopLabelingJobResult stopLabelingJob(StopLabelingJobRequest request) {request = beforeClientExecution(request);return executeStopLabelingJob(request);}
| public virtual StopLabelingJobResponse StopLabelingJob(StopLabelingJobRequest request){var options = new InvokeOptions();options.RequestMarshaller = StopLabelingJobRequestMarshaller.Instance;options.ResponseUnmarshaller = StopLabelingJobResponseUnmarshaller.Instance;return Invoke<StopLabelingJobResponse>(request, options);}
|
1,513 | public PublishSchemaResult publishSchema(PublishSchemaRequest request) {request = beforeClientExecution(request);return executePublishSchema(request);}
| public virtual PublishSchemaResponse PublishSchema(PublishSchemaRequest request){var options = new InvokeOptions();options.RequestMarshaller = PublishSchemaRequestMarshaller.Instance;options.ResponseUnmarshaller = PublishSchemaResponseUnmarshaller.Instance;return Invoke<PublishSchemaResponse>(request, options);}
|
1,514 | public DeleteAttributesRequest(String domainName, String itemName, java.util.List<Attribute> attributes) {setDomainName(domainName);setItemName(itemName);setAttributes(attributes);}
| public DeleteAttributesRequest(string domainName, string itemName, List<Attribute> attributes){_domainName = domainName;_itemName = itemName;_attributes = attributes;}
|
1,515 | public ObjectId toObjectId() {return this;}
| public override NGit.ObjectId ToObjectId(){return this;}
|
1,516 | @Override public ListIterator<E> listIterator() {return listIterator(0);}
| public virtual java.util.ListIterator<E> listIterator(){object[] snapshot = elements;return new java.util.concurrent.CopyOnWriteArrayList.CowIterator<E>(snapshot, 0,snapshot.Length);}
|
1,517 | public ExternalBookBlock() {_externalBookRecord = SupBookRecord.createAddInFunctions();_externalNameRecords = new ExternalNameRecord[0];_crnBlocks = new CRNBlock[0];}
| public ExternalBookBlock(){_externalBookRecord = SupBookRecord.CreateAddInFunctions();_externalNameRecords = new ExternalNameRecord[0];_crnBlocks = new CRNBlock[0];}
|
1,518 | public String getFragment() {return decode(fragment);}
| public string getFragment(){return decode(fragment);}
|
1,519 | public String toString() {return slice.toString()+":"+ postingsEnum;}
| public override string ToString(){return "MultiDocsAndPositionsEnum(" + Arrays.ToString(Subs) + ")";}
|
1,520 | public ByteBuffer putDouble(double value) {throw new ReadOnlyBufferException();}
| public override java.nio.ByteBuffer putDouble(double value){throw new java.nio.ReadOnlyBufferException();}
|
1,521 | public static InternalWorkbook createStubWorkbook(ExternSheetRecord[] externs,BoundSheetRecord[] bounds) {return createStubWorkbook(externs, bounds, null);}
| public static InternalWorkbook CreateStubWorkbook(ExternSheetRecord[] externs,BoundSheetRecord[] bounds){return CreateStubWorkbook(externs, bounds, null);}
|
1,522 | public IndexDocumentsResult indexDocuments(IndexDocumentsRequest request) {request = beforeClientExecution(request);return executeIndexDocuments(request);}
| public virtual IndexDocumentsResponse IndexDocuments(IndexDocumentsRequest request){var options = new InvokeOptions();options.RequestMarshaller = IndexDocumentsRequestMarshaller.Instance;options.ResponseUnmarshaller = IndexDocumentsResponseUnmarshaller.Instance;return Invoke<IndexDocumentsResponse>(request, options);}
|
1,523 | public String toStringTree(Parser recog) {return Trees.toStringTree(this, recog);}
| public virtual string ToStringTree(Parser recog){return Trees.ToStringTree(this, recog);}
|
1,524 | public FieldsConsumer fieldsConsumer(SegmentWriteState state)throws IOException {if (delegatePostingsFormat == null) {throw new UnsupportedOperationException("Error - " + getClass().getName()+ " has been constructed without a choice of PostingsFormat");}FieldsConsumer fieldsConsumer = delegatePostingsFormat.fieldsConsumer(state);return new BloomFilteredFieldsConsumer(fieldsConsumer, state);}
| public override FieldsConsumer FieldsConsumer(SegmentWriteState state){if (_delegatePostingsFormat == null){throw new InvalidOperationException("Error - constructed without a choice of PostingsFormat");}return new BloomFilteredFieldsConsumer(this, _delegatePostingsFormat.FieldsConsumer(state), state);}
|
1,525 | public String toString() {return super.toString() + "(\"" + pattern.pattern() + "\")";}
| public override string ToString(){return base.ToString() + "(\"" + pattern.Pattern() + "\")";}
|
1,526 | public static String stripTags(String buf, int start) {if (start>0) {buf = buf.substring(start);}return buf.replaceAll("<[^>]*>", " ");}
| public static string StripTags(StringBuilder buf, int start){return StripTags(buf.ToString(start, buf.Length - start), 0);}
|
1,527 | public Reader create(Reader input) {return new JapaneseIterationMarkCharFilter(input, normalizeKanji, normalizeKana);}
| public override TextReader Create(TextReader input){return new JapaneseIterationMarkCharFilter(input, normalizeKanji, normalizeKana);}
|
1,528 | public int getKeyProgressIncrement() {return mKeyProgressIncrement;}
| public virtual int getKeyProgressIncrement(){return mKeyProgressIncrement;}
|
1,529 | public void ReInit(StandardSyntaxParserTokenManager tm) {token_source = tm;token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 25; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();}
| public void ReInit(StandardSyntaxParserTokenManager tm){TokenSource = tm;Token = new Token();jj_ntk = -1;jj_gen = 0;for (int i = 0; i < 28; i++) jj_la1[i] = -1;for (int i = 0; i < jj_2_rtns.Length; i++) jj_2_rtns[i] = new JJCalls();}
|
1,530 | public long copyUsingLengthPrefix(BytesRef bytes) {if (bytes.length >= 32768) {throw new IllegalArgumentException("max length is 32767 (got " + bytes.length + ")");}if (upto + bytes.length + 2 > blockSize) {if (bytes.length + 2 > blockSize) {throw new IllegalArgumentException("block size " + blockSize + " is too small to store length " + bytes.length + " bytes");}if (currentBlock != null) {addBlock(currentBlock);}currentBlock = new byte[blockSize];upto = 0;}final long pointer = getPointer();if (bytes.length < 128) {currentBlock[upto++] = (byte) bytes.length;} else {currentBlock[upto++] = (byte) (0x80 | (bytes.length >> 8));currentBlock[upto++] = (byte) (bytes.length & 0xff);}System.arraycopy(bytes.bytes, bytes.offset, currentBlock, upto, bytes.length);upto += bytes.length;return pointer;}
| public long CopyUsingLengthPrefix(BytesRef bytes){if (bytes.Length >= 32768){throw new System.ArgumentException("max length is 32767 (got " + bytes.Length + ")");}if (upto + bytes.Length + 2 > blockSize){if (bytes.Length + 2 > blockSize){throw new System.ArgumentException("block size " + blockSize + " is too small to store length " + bytes.Length + " bytes");}if (currentBlock != null){blocks.Add(currentBlock);blockEnd.Add(upto);}currentBlock = new byte[blockSize];upto = 0;}long pointer = GetPointer();if (bytes.Length < 128){currentBlock[upto++] = (byte)bytes.Length;}else{currentBlock[upto++] = unchecked((byte)(0x80 | (bytes.Length >> 8)));currentBlock[upto++] = unchecked((byte)(bytes.Length & 0xff));}Array.Copy(bytes.Bytes, bytes.Offset, currentBlock, upto, bytes.Length);upto += bytes.Length;return pointer;}
|
1,531 | public HighFreqTerm(int[] docIDs, int[] freqs, int[][] positions, byte[][][] payloads, long totalTermFreq) {this.docIDs = docIDs;this.freqs = freqs;this.positions = positions;this.payloads = payloads;this.totalTermFreq = totalTermFreq;}
| public HighFreqTerm(int[] docIDs, int[] freqs, int[][] positions, byte[][][] payloads,long totalTermFreq){this.docIDs = docIDs;this.freqs = freqs;this.positions = positions;this.payloads = payloads;this.totalTermFreq = totalTermFreq;}
|
1,532 | public TermQuery newTermQuery(Term term) throws TooManyBasicQueries {checkMax();return new TermQuery(term);}
| public virtual TermQuery NewTermQuery(Term term){CheckMax();return new TermQuery(term);}
|
1,533 | public HindiStemFilterFactory(Map<String,String> args) {super(args);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
| public HindiStemFilterFactory(IDictionary<string, string> args): base(args){if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
|
1,534 | public DecisionInfo[] getDecisionInfo() {return atnSimulator.getDecisionInfo();}
| public DecisionInfo[] getDecisionInfo(){return atnSimulator.getDecisionInfo();}
|
1,535 | public String toString() {return "<regexp field='" + this.field + "' term='" + this.text + "'/>";}
| public override string ToString(){return "<regexp field='" + this.field + "' term='" + this.text + "'/>";}
|
1,536 | public CreateStackSetResult createStackSet(CreateStackSetRequest request) {request = beforeClientExecution(request);return executeCreateStackSet(request);}
| public virtual CreateStackSetResponse CreateStackSet(CreateStackSetRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateStackSetRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateStackSetResponseUnmarshaller.Instance;return Invoke<CreateStackSetResponse>(request, options);}
|
1,537 | public SendMessagesResult sendMessages(SendMessagesRequest request) {request = beforeClientExecution(request);return executeSendMessages(request);}
| public virtual SendMessagesResponse SendMessages(SendMessagesRequest request){var options = new InvokeOptions();options.RequestMarshaller = SendMessagesRequestMarshaller.Instance;options.ResponseUnmarshaller = SendMessagesResponseUnmarshaller.Instance;return Invoke<SendMessagesResponse>(request, options);}
|
1,538 | public synchronized void setCharAt(int index, char ch) {super.setCharAt(index, ch);}
| public override void setCharAt(int index, char ch){lock (this){base.setCharAt(index, ch);}}
|
1,539 | public CreateIntegrationResult createIntegration(CreateIntegrationRequest request) {request = beforeClientExecution(request);return executeCreateIntegration(request);}
| public virtual CreateIntegrationResponse CreateIntegration(CreateIntegrationRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateIntegrationRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateIntegrationResponseUnmarshaller.Instance;return Invoke<CreateIntegrationResponse>(request, options);}
|
1,540 | public void execute(Lexer lexer) {lexer.mode(mode);}
| public void Execute(Lexer lexer){lexer.Mode(mode);}
|
1,541 | public void readFully(byte[] dst) throws IOException {primitiveTypes.readFully(dst);}
| public virtual void readFully(byte[] dst){throw new System.NotImplementedException();}
|
1,542 | public final void decRef() throws IOException {ensureOpen();final int rc = refCount.decrementAndGet();if (rc == 0) {boolean success = false;try {doClose();closed = true;success = true;} finally {if (!success) {refCount.incrementAndGet();}}} else if (rc < 0) {throw new IllegalStateException("too many decRef calls: refCount is " + rc + " after decrement");}}
| public void DecRef(){EnsureOpen();int rc = refCount.DecrementAndGet();if (rc == 0){bool success = false;try{DoClose();closed = true;success = true;}finally{if (!success){refCount.IncrementAndGet();}}}else if (rc < 0){throw new ThreadStateException("too many decRef calls: refCount is " + rc + " after decrement");}}
|
1,543 | public String toString() {if ( dfa.s0==null ) return null;StringBuilder buf = new StringBuilder();List<DFAState> states = dfa.getStates();for (DFAState s : states) {int n = 0;if ( s.edges!=null ) n = s.edges.length;for (int i=0; i<n; i++) {DFAState t = s.edges[i];if ( t!=null && t.stateNumber != Integer.MAX_VALUE ) {buf.append(getStateString(s));String label = getEdgeLabel(i);buf.append("-").append(label).append("->").append(getStateString(t)).append('\n');}}}String output = buf.toString();if ( output.length()==0 ) return null;return output;}
| public override string ToString(){if (dfa.s0 == null){return null;}StringBuilder buf = new StringBuilder();if (dfa.states != null){List<DFAState> states = new List<DFAState>(dfa.states.Values);states.Sort((x,y)=>x.stateNumber - y.stateNumber);foreach (DFAState s in states){int n = s.edges != null ? s.edges.Length : 0;for (int i = 0; i < n; i++){DFAState t = s.edges[i];if (t != null && t.stateNumber != int.MaxValue){buf.Append(GetStateString(s));String label = GetEdgeLabel(i);buf.Append("-");buf.Append(label);buf.Append("->");buf.Append(GetStateString(t));buf.Append('\n');}}}}string output = buf.ToString();if (output.Length == 0){return null;}return output;}
|
1,544 | public static void register(Repository db) {if (db.getDirectory() != null) {FileKey key = FileKey.exact(db.getDirectory(), db.getFS());cache.registerRepository(key, db);}}
| public static void Register(Repository db){if (db.Directory != null){RepositoryCache.FileKey key = RepositoryCache.FileKey.Exact(db.Directory, db.FileSystem);cache.RegisterRepository(key, db);}}
|
1,545 | public GetConfigurationSetEventDestinationsResult getConfigurationSetEventDestinations(GetConfigurationSetEventDestinationsRequest request) {request = beforeClientExecution(request);return executeGetConfigurationSetEventDestinations(request);}
| public virtual GetConfigurationSetEventDestinationsResponse GetConfigurationSetEventDestinations(GetConfigurationSetEventDestinationsRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetConfigurationSetEventDestinationsRequestMarshaller.Instance;options.ResponseUnmarshaller = GetConfigurationSetEventDestinationsResponseUnmarshaller.Instance;return Invoke<GetConfigurationSetEventDestinationsResponse>(request, options);}
|
1,546 | public ByteBuffer put(byte value) {throw new ReadOnlyBufferException();}
| public override java.nio.ByteBuffer put(byte value){throw new System.NotImplementedException();}
|
1,547 | public ValueEval evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1,ValueEval arg2) {AreaEval aeRange;AreaEval aeSum;try {aeRange = convertRangeArg(arg0);aeSum = createSumRange(arg2, aeRange);} catch (EvaluationException e) {return e.getErrorEval();}return eval(srcRowIndex, srcColumnIndex, arg1, aeRange, aeSum);}
| public override ValueEval Evaluate(int srcRowIndex, int srcColumnIndex, ValueEval arg0, ValueEval arg1,ValueEval arg2){AreaEval aeRange;AreaEval aeSum;try{aeRange = ConvertRangeArg(arg0);aeSum = CreateSumRange(arg2, aeRange);}catch (EvaluationException e){return e.GetErrorEval();}return Eval(srcRowIndex, srcColumnIndex, arg1, aeRange, aeSum);}
|
1,548 | public MoPenAddGroupMemberRequest() {super("MoPen", "2018-02-11", "MoPenAddGroupMember", "mopen");setProtocol(ProtocolType.HTTPS);setMethod(MethodType.POST);}
| public MoPenAddGroupMemberRequest(): base("MoPen", "2018-02-11", "MoPenAddGroupMember", "mopen", "openAPI"){Protocol = ProtocolType.HTTPS;Method = MethodType.POST;}
|
1,549 | public DeleteAssessmentTargetResult deleteAssessmentTarget(DeleteAssessmentTargetRequest request) {request = beforeClientExecution(request);return executeDeleteAssessmentTarget(request);}
| public virtual DeleteAssessmentTargetResponse DeleteAssessmentTarget(DeleteAssessmentTargetRequest request){var options = new InvokeOptions();options.RequestMarshaller = DeleteAssessmentTargetRequestMarshaller.Instance;options.ResponseUnmarshaller = DeleteAssessmentTargetResponseUnmarshaller.Instance;return Invoke<DeleteAssessmentTargetResponse>(request, options);}
|
1,550 | public String toString() {StringBuilder buffer = new StringBuilder();buffer.append("[SXDI]\n");buffer.append(" .isxvdData = ").append(HexDump.shortToHex(isxvdData)).append("\n");buffer.append(" .iiftab = ").append(HexDump.shortToHex(iiftab)).append("\n");buffer.append(" .df = ").append(HexDump.shortToHex(df)).append("\n");buffer.append(" .isxvd = ").append(HexDump.shortToHex(isxvd)).append("\n");buffer.append(" .isxvi = ").append(HexDump.shortToHex(isxvi)).append("\n");buffer.append(" .ifmt = ").append(HexDump.shortToHex(ifmt)).append("\n");buffer.append("[/SXDI]\n");return buffer.toString();}
| public override string ToString(){StringBuilder buffer = new StringBuilder();buffer.Append("[SXDI]\n");buffer.Append(" .isxvdData = ").Append(HexDump.ShortToHex(isxvdData)).Append("\n");buffer.Append(" .iiftab = ").Append(HexDump.ShortToHex(iiftab)).Append("\n");buffer.Append(" .df = ").Append(HexDump.ShortToHex(df)).Append("\n");buffer.Append(" .isxvd = ").Append(HexDump.ShortToHex(isxvd)).Append("\n");buffer.Append(" .isxvi = ").Append(HexDump.ShortToHex(isxvi)).Append("\n");buffer.Append(" .ifmt = ").Append(HexDump.ShortToHex(ifmt)).Append("\n");buffer.Append("[/SXDI]\n");return buffer.ToString();}
|
1,551 | public String toString() {return "LL";}
| public override string ToString(){return "LL";}
|
1,552 | public DescribeReservedInstancesOfferingsResult describeReservedInstancesOfferings(DescribeReservedInstancesOfferingsRequest request) {request = beforeClientExecution(request);return executeDescribeReservedInstancesOfferings(request);}
| public virtual DescribeReservedInstancesOfferingsResponse DescribeReservedInstancesOfferings(DescribeReservedInstancesOfferingsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeReservedInstancesOfferingsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeReservedInstancesOfferingsResponseUnmarshaller.Instance;return Invoke<DescribeReservedInstancesOfferingsResponse>(request, options);}
|
1,553 | public void setNextEnum(TermsEnum termsEnum) {this.termsEnum = termsEnum;this.boostAtt = termsEnum.attributes().addAttribute(BoostAttribute.class);}
| public override void SetNextEnum(TermsEnum termsEnum){this.termsEnum = termsEnum;this.boostAtt = termsEnum.Attributes.AddAttribute<IBoostAttribute>();}
|
1,554 | public RevFilter clone() {return new PatternSearch(pattern());}
| public override RevFilter Clone(){return new MessageRevFilter.PatternSearch(Pattern());}
|
1,555 | public GetRouteResponseResult getRouteResponse(GetRouteResponseRequest request) {request = beforeClientExecution(request);return executeGetRouteResponse(request);}
| public virtual GetRouteResponseResponse GetRouteResponse(GetRouteResponseRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetRouteResponseRequestMarshaller.Instance;options.ResponseUnmarshaller = GetRouteResponseResponseUnmarshaller.Instance;return Invoke<GetRouteResponseResponse>(request, options);}
|
1,556 | public UpdateLagResult updateLag(UpdateLagRequest request) {request = beforeClientExecution(request);return executeUpdateLag(request);}
| public virtual UpdateLagResponse UpdateLag(UpdateLagRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateLagRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateLagResponseUnmarshaller.Instance;return Invoke<UpdateLagResponse>(request, options);}
|
1,557 | public DescribeEndpointResult describeEndpoint(DescribeEndpointRequest request) {request = beforeClientExecution(request);return executeDescribeEndpoint(request);}
| public virtual DescribeEndpointResponse DescribeEndpoint(DescribeEndpointRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeEndpointRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeEndpointResponseUnmarshaller.Instance;return Invoke<DescribeEndpointResponse>(request, options);}
|
1,558 | public void addPositionSpans(List<PositionSpan> positionSpans) {this.positionSpans.addAll(positionSpans);}
| public virtual void AddPositionSpans(IList<PositionSpan> positionSpans){this._positionSpans.AddRange(positionSpans);}
|
1,559 | public boolean remove(Object object) {return backingMap.remove(object) != null;}
| public override bool remove(object @object){return backingMap.remove(@object) != null;}
|
1,560 | public ListPartsResult listParts(ListPartsRequest request) {request = beforeClientExecution(request);return executeListParts(request);}
| public virtual ListPartsResponse ListParts(ListPartsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListPartsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListPartsResponseUnmarshaller.Instance;return Invoke<ListPartsResponse>(request, options);}
|
1,561 | public void setForceUpdate(boolean b) {force = b;}
| public virtual void SetForceUpdate(bool b){force = b;}
|
1,562 | public void removeCustomProperties() {if (getSectionCount() < 2) {
| public void RemoveCustomProperties(){if (SectionCount >= 2)Sections.RemoveAt(1);else
|
1,563 | public int available() {return remaining();}
| public int Available(){return _lei.Available();}
|
1,564 | public GetInstanceResult getInstance(GetInstanceRequest request) {request = beforeClientExecution(request);return executeGetInstance(request);}
| public virtual GetInstanceResponse GetInstance(GetInstanceRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetInstanceRequestMarshaller.Instance;options.ResponseUnmarshaller = GetInstanceResponseUnmarshaller.Instance;return Invoke<GetInstanceResponse>(request, options);}
|
1,565 | public UpdateSmsChannelResult updateSmsChannel(UpdateSmsChannelRequest request) {request = beforeClientExecution(request);return executeUpdateSmsChannel(request);}
| public virtual UpdateSmsChannelResponse UpdateSmsChannel(UpdateSmsChannelRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateSmsChannelRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateSmsChannelResponseUnmarshaller.Instance;return Invoke<UpdateSmsChannelResponse>(request, options);}
|
1,566 | public CreateEgressOnlyInternetGatewayResult createEgressOnlyInternetGateway(CreateEgressOnlyInternetGatewayRequest request) {request = beforeClientExecution(request);return executeCreateEgressOnlyInternetGateway(request);}
| public virtual CreateEgressOnlyInternetGatewayResponse CreateEgressOnlyInternetGateway(CreateEgressOnlyInternetGatewayRequest request){var options = new InvokeOptions();options.RequestMarshaller = CreateEgressOnlyInternetGatewayRequestMarshaller.Instance;options.ResponseUnmarshaller = CreateEgressOnlyInternetGatewayResponseUnmarshaller.Instance;return Invoke<CreateEgressOnlyInternetGatewayResponse>(request, options);}
|
1,567 | public GetResourcesResult getResources(GetResourcesRequest request) {request = beforeClientExecution(request);return executeGetResources(request);}
| public virtual GetResourcesResponse GetResources(GetResourcesRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetResourcesRequestMarshaller.Instance;options.ResponseUnmarshaller = GetResourcesResponseUnmarshaller.Instance;return Invoke<GetResourcesResponse>(request, options);}
|
1,568 | public ByteBlockPool(Allocator allocator) {this.allocator = allocator;}
| public ByteBlockPool(Allocator allocator){ByteUpto = BYTE_BLOCK_SIZE;ByteOffset = -BYTE_BLOCK_SIZE;this.allocator = allocator;}
|
1,569 | public ListStepsResult listSteps(ListStepsRequest request) {request = beforeClientExecution(request);return executeListSteps(request);}
| public virtual ListStepsResponse ListSteps(ListStepsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListStepsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListStepsResponseUnmarshaller.Instance;return Invoke<ListStepsResponse>(request, options);}
|
1,570 | public boolean readBoolean() throws IOException {return primitiveTypes.readBoolean();}
| public virtual bool readBoolean(){throw new System.NotImplementedException();}
|
1,571 | public PutLogEventsRequest(String logGroupName, String logStreamName, java.util.List<InputLogEvent> logEvents) {setLogGroupName(logGroupName);setLogStreamName(logStreamName);setLogEvents(logEvents);}
| public PutLogEventsRequest(string logGroupName, string logStreamName, List<InputLogEvent> logEvents){_logGroupName = logGroupName;_logStreamName = logStreamName;_logEvents = logEvents;}
|
1,572 | public void reset(int sliceOffset) {this.offset = sliceOffset;}
| public virtual void Reset(int sliceOffset){this.offset = sliceOffset;}
|
1,573 | public GetAttendeeResult getAttendee(GetAttendeeRequest request) {request = beforeClientExecution(request);return executeGetAttendee(request);}
| public virtual GetAttendeeResponse GetAttendee(GetAttendeeRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetAttendeeRequestMarshaller.Instance;options.ResponseUnmarshaller = GetAttendeeResponseUnmarshaller.Instance;return Invoke<GetAttendeeResponse>(request, options);}
|
1,574 | public long getFilePointer() {return pointer + pos;}
| public override long GetFilePointer(){return pointer + pos;}
|
1,575 | public int serializeSimplePart(byte[] data, int pos) {LittleEndian.putShort(data, pos, getId());int recordSize = getComplexData().length;if (!sizeIncludesHeaderSize) {recordSize -= 6;}LittleEndian.putInt(data, pos + 2, recordSize);return 6;}
| public override int SerializeSimplePart(byte[] data, int pos){LittleEndian.PutShort(data, pos, Id);int recordSize = _complexData.Length;if (!sizeIncludesHeaderSize){recordSize -= 6;}LittleEndian.PutInt(data, pos + 2, recordSize);return 6;}
|
1,576 | public CherryPickCommand include(AnyObjectId commit) {return include(commit.getName(), commit);}
| public virtual NGit.Api.CherryPickCommand Include(AnyObjectId commit){return Include(commit.GetName(), commit);}
|
1,577 | public int readDataSize() {readPlain(buffer, 0, LittleEndianConsts.SHORT_SIZE);int dataSize = LittleEndian.getUShort(buffer, 0);ccis.setNextRecordSize(dataSize);return dataSize;}
| public int ReadDataSize(){int dataSize = _le.ReadUShort();_rc4.SkipTwoBytes();return dataSize;}
|
1,578 | public RemoveUserFromGroupRequest(String groupName, String userName) {setGroupName(groupName);setUserName(userName);}
| public RemoveUserFromGroupRequest(string groupName, string userName){_groupName = groupName;_userName = userName;}
|
1,579 | public PutImageResult putImage(PutImageRequest request) {request = beforeClientExecution(request);return executePutImage(request);}
| public virtual PutImageResponse PutImage(PutImageRequest request){var options = new InvokeOptions();options.RequestMarshaller = PutImageRequestMarshaller.Instance;options.ResponseUnmarshaller = PutImageResponseUnmarshaller.Instance;return Invoke<PutImageResponse>(request, options);}
|
1,580 | public boolean stem() {limit_backward = cursor;cursor = limit;int v_1 = limit - cursor;r_endings();cursor = limit - v_1;int v_2 = limit - cursor;r_undouble();cursor = limit - v_2;int v_3 = limit - cursor;r_respell();cursor = limit - v_3;cursor = limit_backward;return true;}
| public override bool Stem(){int v_1;int v_2;int v_3;m_limit_backward = m_cursor; m_cursor = m_limit;v_1 = m_limit - m_cursor;do{if (!r_endings()){goto lab0;}} while (false);lab0:m_cursor = m_limit - v_1;v_2 = m_limit - m_cursor;do{if (!r_undouble()){goto lab1;}} while (false);lab1:m_cursor = m_limit - v_2;v_3 = m_limit - m_cursor;do{if (!r_respell()){goto lab2;}} while (false);lab2:m_cursor = m_limit - v_3;m_cursor = m_limit_backward; return true;}
|
1,581 | public IntervalSet[] getDecisionLookahead(ATNState s) {if ( s==null ) {return null;}IntervalSet[] look = new IntervalSet[s.getNumberOfTransitions()];for (int alt = 0; alt < s.getNumberOfTransitions(); alt++) {look[alt] = new IntervalSet();Set<ATNConfig> lookBusy = new HashSet<ATNConfig>();boolean seeThruPreds = false; _LOOK(s.transition(alt).target, null, PredictionContext.EMPTY,look[alt], lookBusy, new BitSet(), seeThruPreds, false);if ( look[alt].size()==0 || look[alt].contains(HIT_PRED) ) {look[alt] = null;}}return look;}
| public virtual IntervalSet[] GetDecisionLookahead(ATNState s){if (s == null){return null;}IntervalSet[] look = new IntervalSet[s.NumberOfTransitions];for (int alt = 0; alt < s.NumberOfTransitions; alt++){look[alt] = new IntervalSet();HashSet<ATNConfig> lookBusy = new HashSet<ATNConfig>();bool seeThruPreds = false;Look(s.Transition(alt).target, null, PredictionContext.EMPTY, look[alt], lookBusy, new BitSet(), seeThruPreds, false);if (look[alt].Count == 0 || look[alt].Contains(HitPred)){look[alt] = null;}}return look;}
|
1,582 | public static Ptg createPtg(LittleEndianInput in) {byte id = in.readByte();if (id < 0x20) {return createBasePtg(id, in);}Ptg retval = createClassifiedPtg(id, in);if (id >= 0x60) {retval.setClass(CLASS_ARRAY);} else if (id >= 0x40) {retval.setClass(CLASS_VALUE);} else {retval.setClass(CLASS_REF);}return retval;}
| public static Ptg CreatePtg(ILittleEndianInput in1){byte id = (byte)in1.ReadByte();if (id < 0x20){return CreateBasePtg(id, in1);}Ptg retval = CreateClassifiedPtg(id, in1);if (id >= 0x60){retval.PtgClass = CLASS_ARRAY;}else if (id >= 0x40){retval.PtgClass = CLASS_VALUE;}else{retval.PtgClass = CLASS_REF;}return retval;}
|
1,583 | public ListEntitiesDetectionJobsResult listEntitiesDetectionJobs(ListEntitiesDetectionJobsRequest request) {request = beforeClientExecution(request);return executeListEntitiesDetectionJobs(request);}
| public virtual ListEntitiesDetectionJobsResponse ListEntitiesDetectionJobs(ListEntitiesDetectionJobsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListEntitiesDetectionJobsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListEntitiesDetectionJobsResponseUnmarshaller.Instance;return Invoke<ListEntitiesDetectionJobsResponse>(request, options);}
|
1,584 | public ListReviewableHITsResult listReviewableHITs(ListReviewableHITsRequest request) {request = beforeClientExecution(request);return executeListReviewableHITs(request);}
| public virtual ListReviewableHITsResponse ListReviewableHITs(ListReviewableHITsRequest request){var options = new InvokeOptions();options.RequestMarshaller = ListReviewableHITsRequestMarshaller.Instance;options.ResponseUnmarshaller = ListReviewableHITsResponseUnmarshaller.Instance;return Invoke<ListReviewableHITsResponse>(request, options);}
|
1,585 | public OperationEvaluationContext(WorkbookEvaluator bookEvaluator, EvaluationWorkbook workbook, int sheetIndex, int srcRowNum,int srcColNum, EvaluationTracker tracker) {this(bookEvaluator, workbook, sheetIndex, srcRowNum, srcColNum, tracker, true);}
| public OperationEvaluationContext(WorkbookEvaluator bookEvaluator, IEvaluationWorkbook workbook, int sheetIndex, int srcRowNum,int srcColNum, EvaluationTracker tracker){_bookEvaluator = bookEvaluator;_workbook = workbook;_sheetIndex = sheetIndex;_rowIndex = srcRowNum;_columnIndex = srcColNum;_tracker = tracker;}
|
1,586 | public void setMaxDocFreqPct(int maxPercentage) {setMaxDocFreq(Math.toIntExact((long) maxPercentage * ir.maxDoc() / 100));}
| public void SetMaxDocFreqPct(int maxPercentage){this.MaxDocFreq = maxPercentage * ir.NumDocs / 100;}
|
1,587 | public final void lazySet(V newValue) {unsafe.putOrderedObject(this, valueOffset, newValue);}
| public void lazySet(V newValue){value = newValue;}
|
1,588 | public UpdateVpcLinkResult updateVpcLink(UpdateVpcLinkRequest request) {request = beforeClientExecution(request);return executeUpdateVpcLink(request);}
| public virtual UpdateVpcLinkResponse UpdateVpcLink(UpdateVpcLinkRequest request){var options = new InvokeOptions();options.RequestMarshaller = UpdateVpcLinkRequestMarshaller.Instance;options.ResponseUnmarshaller = UpdateVpcLinkResponseUnmarshaller.Instance;return Invoke<UpdateVpcLinkResponse>(request, options);}
|
1,589 | public void removeNoteCount() {remove1stProperty(PropertyIDMap.PID_NOTECOUNT);}
| public void RemoveNoteCount(){MutableSection s = (MutableSection)FirstSection;s.RemoveProperty(PropertyIDMap.PID_NOTECOUNT);}
|
1,590 | public Ref setValue(Ref value) {Ref prior = put(getKey(), value);ref = value;return prior;}
| public virtual Ref SetValue(Ref value){Ref prior = this._enclosing.Put(this.Key, value);this.@ref = value;return prior;}
|
1,591 | public RevCommit getSourceCommit(int idx) {return sourceCommits[idx];}
| public virtual RevCommit GetSourceCommit(int idx){return sourceCommits[idx];}
|
1,592 | public ClassicTokenizerFactory(Map<String,String> args) {super(args);maxTokenLength = getInt(args, "maxTokenLength", StandardAnalyzer.DEFAULT_MAX_TOKEN_LENGTH);if (!args.isEmpty()) {throw new IllegalArgumentException("Unknown parameters: " + args);}}
| public ClassicTokenizerFactory(IDictionary<string, string> args): base(args){AssureMatchVersion();maxTokenLength = GetInt32(args, "maxTokenLength", StandardAnalyzer.DEFAULT_MAX_TOKEN_LENGTH);if (args.Count > 0){throw new System.ArgumentException("Unknown parameters: " + args);}}
|
1,593 | public GetDistributionResult getDistribution(GetDistributionRequest request) {request = beforeClientExecution(request);return executeGetDistribution(request);}
| public virtual GetDistributionResponse GetDistribution(GetDistributionRequest request){var options = new InvokeOptions();options.RequestMarshaller = GetDistributionRequestMarshaller.Instance;options.ResponseUnmarshaller = GetDistributionResponseUnmarshaller.Instance;return Invoke<GetDistributionResponse>(request, options);}
|
1,594 | public long seek(long ord) {long idx = ord / indexInterval;assert idx < fieldIndex.numIndexTerms;final long offset = fieldIndex.termOffsets.get(idx);final int length = (int) (fieldIndex.termOffsets.get(1+idx) - offset);termBytesReader.fillSlice(term, fieldIndex.termBytesStart + offset, length);this.ord = idx * indexInterval;return fieldIndex.termsStart + fieldIndex.termsDictOffsets.get(idx);}
| public override long Seek(long ord){int idx = (int)(ord / outerInstance.totalIndexInterval);Debug.Assert(idx < fieldIndex.numIndexTerms);long offset = fieldIndex.termOffsets.Get(idx);int length = (int)(fieldIndex.termOffsets.Get(1 + idx) - offset);outerInstance.termBytesReader.FillSlice(term, fieldIndex.termBytesStart + offset, length);this.ord = idx * outerInstance.totalIndexInterval;return fieldIndex.termsStart + fieldIndex.termsDictOffsets.Get(idx);}
|
1,595 | public DescribeInterconnectsResult describeInterconnects(DescribeInterconnectsRequest request) {request = beforeClientExecution(request);return executeDescribeInterconnects(request);}
| public virtual DescribeInterconnectsResponse DescribeInterconnects(DescribeInterconnectsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeInterconnectsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeInterconnectsResponseUnmarshaller.Instance;return Invoke<DescribeInterconnectsResponse>(request, options);}
|
1,596 | public static EvaluationException invalidValue() {return new EvaluationException(ErrorEval.VALUE_INVALID);}
| public static EvaluationException InvalidValue(){return new EvaluationException(ErrorEval.VALUE_INVALID);}
|
1,597 | public static String escapeWhitespace(String s, boolean escapeSpaces) {StringBuilder buf = new StringBuilder();for (char c : s.toCharArray()) {if ( c==' ' && escapeSpaces ) buf.append('\u00B7');else if ( c=='\t' ) buf.append("\\t");else if ( c=='\n' ) buf.append("\\n");else if ( c=='\r' ) buf.append("\\r");else buf.append(c);}return buf.toString();}
| public static string EscapeWhitespace(string s, bool escapeSpaces){StringBuilder buf = new StringBuilder();foreach (char c in s.ToCharArray()){if (c == ' ' && escapeSpaces){buf.Append('\u00B7');}else{if (c == '\t'){buf.Append("\\t");}else{if (c == '\n'){buf.Append("\\n");}else{if (c == '\r'){buf.Append("\\r");}else{buf.Append(c);}}}}}return buf.ToString();}
|
1,598 | public DescribeOrderableClusterOptionsResult describeOrderableClusterOptions(DescribeOrderableClusterOptionsRequest request) {request = beforeClientExecution(request);return executeDescribeOrderableClusterOptions(request);}
| public virtual DescribeOrderableClusterOptionsResponse DescribeOrderableClusterOptions(DescribeOrderableClusterOptionsRequest request){var options = new InvokeOptions();options.RequestMarshaller = DescribeOrderableClusterOptionsRequestMarshaller.Instance;options.ResponseUnmarshaller = DescribeOrderableClusterOptionsResponseUnmarshaller.Instance;return Invoke<DescribeOrderableClusterOptionsResponse>(request, options);}
|
1,599 | public DeleteArchiveRequest(String vaultName, String archiveId) {setVaultName(vaultName);setArchiveId(archiveId);}
| public DeleteArchiveRequest(string vaultName, string archiveId){_vaultName = vaultName;_archiveId = archiveId;}
|
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.