question stringlengths 33 1.59k | target stringlengths 33 1.58k |
|---|---|
public static String revisionVersion ( IndexCommit commit ) { return Long . toString ( commit . getGeneration ( ) , RADIX ) ; } | public static string RevisionVersion ( IndexCommit commit ) { return commit . Generation . ToString ( "X" ) ; } |
public ListServicesResult listServices ( ListServicesRequest request ) { request = beforeClientExecution ( request ) ; return executeListServices ( request ) ; } | public virtual ListServicesResponse ListServices ( ListServicesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListServicesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListServicesResponseUnmarshaller . Instance ; return Invoke < ListServicesResponse > ( reques... |
public BatchModifyClusterSnapshotsResult batchModifyClusterSnapshots ( BatchModifyClusterSnapshotsRequest request ) { request = beforeClientExecution ( request ) ; return executeBatchModifyClusterSnapshots ( request ) ; } | public virtual BatchModifyClusterSnapshotsResponse BatchModifyClusterSnapshots ( BatchModifyClusterSnapshotsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = BatchModifyClusterSnapshotsRequestMarshaller . Instance ; options . ResponseUnmarshaller = BatchModifyClusterSnapshotsRespon... |
public DeleteBackupResult deleteBackup ( DeleteBackupRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteBackup ( request ) ; } | public virtual DeleteBackupResponse DeleteBackup ( DeleteBackupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteBackupRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteBackupResponseUnmarshaller . Instance ; return Invoke < DeleteBackupResponse > ( reques... |
public DescribeDBParameterGroupsResult describeDBParameterGroups ( ) { return describeDBParameterGroups ( new DescribeDBParameterGroupsRequest ( ) ) ; } | public virtual DescribeDBParameterGroupsResponse DescribeDBParameterGroups ( ) { return DescribeDBParameterGroups ( new DescribeDBParameterGroupsRequest ( ) ) ; } |
public void reset ( boolean zeroFillBuffers , boolean reuseFirst ) { if ( bufferUpto != - 1 ) { if ( zeroFillBuffers ) { for ( int i = 0 ; i < bufferUpto ; i ++ ) { Arrays . fill ( buffers [ i ] , 0 ) ; } Arrays . fill ( buffers [ bufferUpto ] , 0 , intUpto , 0 ) ; } if ( bufferUpto > 0 || ! reuseFirst ) { final int of... | public void Reset ( bool zeroFillBuffers , bool reuseFirst ) { if ( bufferUpto != - 1 ) { if ( zeroFillBuffers ) { for ( int i = 0 ; i < bufferUpto ; i ++ ) { Arrays . Fill ( buffers [ i ] , 0 ) ; } Arrays . Fill ( buffers [ bufferUpto ] , 0 , Int32Upto , 0 ) ; } if ( bufferUpto > 0 || ! reuseFirst ) { int offset = reu... |
public SaveRecalcRecord clone ( ) { return copy ( ) ; } | public override Object Clone ( ) { SaveRecalcRecord rec = new SaveRecalcRecord ( ) ; rec . field_1_recalc = field_1_recalc ; return rec ; } |
public static void main ( String [ ] args ) { exec ( args ) ; } | public static void Main ( string [ ] args ) { Exec ( args ) ; } |
public DeregisterImageResult deregisterImage ( DeregisterImageRequest request ) { request = beforeClientExecution ( request ) ; return executeDeregisterImage ( request ) ; } | public virtual DeregisterImageResponse DeregisterImage ( DeregisterImageRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeregisterImageRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeregisterImageResponseUnmarshaller . Instance ; return Invoke < DeregisterImageR... |
public DBSnapshot modifyDBSnapshot ( ModifyDBSnapshotRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyDBSnapshot ( request ) ; } | public virtual ModifyDBSnapshotResponse ModifyDBSnapshot ( ModifyDBSnapshotRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyDBSnapshotRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyDBSnapshotResponseUnmarshaller . Instance ; return Invoke < ModifyDBSna... |
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[BOUNDSHEET]\n" ) ; buffer . append ( " .bof = " ) . append ( HexDump . intToHex ( getPositionOfBof ( ) ) ) . append ( "\n" ) ; buffer . append ( " .options = " ) . append ( HexDump . shortToHex ( field_2_opti... | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[BOUNDSHEET]\n" ) ; buffer . Append ( " .bof = " ) . Append ( HexDump . IntToHex ( PositionOfBof ) ) . Append ( "\n" ) ; buffer . Append ( " .options = " ) . Append ( HexDump . ShortToHex ( field_2_op... |
public void setParams ( String params ) { this . params = params ; fieldsToLoad = new HashSet < > ( ) ; for ( StringTokenizer tokenizer = new StringTokenizer ( params , "," ) ; tokenizer . hasMoreTokens ( ) ; ) { String s = tokenizer . nextToken ( ) ; fieldsToLoad . add ( s ) ; } } | public override void SetParams ( string @ params ) { this . m_params = @ params ; m_fieldsToLoad = new JCG . HashSet < string > ( ) ; for ( StringTokenizer tokenizer = new StringTokenizer ( @ params , "," ) ; tokenizer . MoveNext ( ) ; ) { string s = tokenizer . Current ; m_fieldsToLoad . Add ( s ) ; } } |
public GetNamedQueryResult getNamedQuery ( GetNamedQueryRequest request ) { request = beforeClientExecution ( request ) ; return executeGetNamedQuery ( request ) ; } | public virtual GetNamedQueryResponse GetNamedQuery ( GetNamedQueryRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetNamedQueryRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetNamedQueryResponseUnmarshaller . Instance ; return Invoke < GetNamedQueryResponse > ( ... |
public GermanStemFilter create ( TokenStream in ) { return new GermanStemFilter ( in ) ; } | public override TokenStream Create ( TokenStream @ in ) { return new GermanStemFilter ( @ in ) ; } |
public ExtendedFormatRecord createCellXF ( ) { ExtendedFormatRecord xf = createExtendedFormat ( ) ; records . add ( records . getXfpos ( ) + 1 , xf ) ; records . setXfpos ( records . getXfpos ( ) + 1 ) ; numxfs ++ ; return xf ; } | public ExtendedFormatRecord CreateCellXF ( ) { ExtendedFormatRecord xf = CreateExtendedFormat ( ) ; records . Add ( records . Xfpos + 1 , xf ) ; records . Xfpos = records . Xfpos + 1 ; numxfs ++ ; return xf ; } |
public Cluster modifyClusterMaintenance ( ModifyClusterMaintenanceRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyClusterMaintenance ( request ) ; } | public virtual ModifyClusterMaintenanceResponse ModifyClusterMaintenance ( ModifyClusterMaintenanceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyClusterMaintenanceRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyClusterMaintenanceResponseUnmarshaller ... |
public DeleteDBSecurityGroupResult deleteDBSecurityGroup ( DeleteDBSecurityGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteDBSecurityGroup ( request ) ; } | public virtual DeleteDBSecurityGroupResponse DeleteDBSecurityGroup ( DeleteDBSecurityGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteDBSecurityGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteDBSecurityGroupResponseUnmarshaller . Instance ; re... |
public static FormulaError forInt ( int type ) throws IllegalArgumentException { FormulaError err = imap . get ( type ) ; if ( err == null ) err = bmap . get ( ( byte ) type ) ; if ( err == null ) throw new IllegalArgumentException ( "Unknown error type: " + type ) ; return err ; } | public static FormulaError ForInt ( byte type ) { if ( bmap . ContainsKey ( type ) ) return bmap [ type ] ; throw new ArgumentException ( "Unknown error type: " + type ) ; } |
public void finish ( StringBuffer toAppendTo ) { if ( hStart >= 0 && ! showAmPm ) { for ( int i = 0 ; i < hLen ; i ++ ) { toAppendTo . setCharAt ( hStart + i , 'H' ) ; } } } | public void Finish ( StringBuilder toAppendTo ) { if ( hStart >= 0 && ! _formatter . ShowAmPm ) { for ( int i = 0 ; i < hLen ; i ++ ) { toAppendTo [ hStart + i ] = 'H' ; } } } |
public SendRawEmailResult sendRawEmail ( SendRawEmailRequest request ) { request = beforeClientExecution ( request ) ; return executeSendRawEmail ( request ) ; } | public virtual SendRawEmailResponse SendRawEmail ( SendRawEmailRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SendRawEmailRequestMarshaller . Instance ; options . ResponseUnmarshaller = SendRawEmailResponseUnmarshaller . Instance ; return Invoke < SendRawEmailResponse > ( reques... |
public void clear ( ) { if ( readonly ) throw new IllegalStateException ( "can't alter readonly IntervalSet" ) ; intervals . clear ( ) ; } | public virtual void Clear ( ) { if ( @ readonly ) { throw new InvalidOperationException ( "can't alter readonly IntervalSet" ) ; } intervals . Clear ( ) ; } |
public int previous ( ) { if ( current == start ) { return DONE ; } else { return first ( ) ; } } | public override int Previous ( ) { if ( current == start ) { return Done ; } else { return First ( ) ; } } |
public DeleteDocumentClassifierResult deleteDocumentClassifier ( DeleteDocumentClassifierRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteDocumentClassifier ( request ) ; } | public virtual DeleteDocumentClassifierResponse DeleteDocumentClassifier ( DeleteDocumentClassifierRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteDocumentClassifierRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteDocumentClassifierResponseUnmarshaller ... |
public DeleteDeviceAllGroupRequest ( ) { super ( "LinkFace" , "2018-07-20" , "DeleteDeviceAllGroup" ) ; setProtocol ( ProtocolType . HTTPS ) ; setMethod ( MethodType . POST ) ; } | public DeleteDeviceAllGroupRequest ( ) : base ( "LinkFace" , "2018-07-20" , "DeleteDeviceAllGroup" ) { Protocol = ProtocolType . HTTPS ; Method = MethodType . POST ; } |
public String toString ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( getClass ( ) . getName ( ) ) ; sb . append ( " [" ) ; sb . append ( "sheetIx=" ) . append ( getExternSheetIndex ( ) ) ; sb . append ( " ! " ) ; sb . append ( formatReferenceAsString ( ) ) ; sb . append ( "]" ) ; return sb . toString (... | public override String ToString ( ) { CellReference cr = new CellReference ( Row , Column , ! IsRowRelative , ! IsColRelative ) ; StringBuilder sb = new StringBuilder ( ) ; sb . Append ( GetType ( ) . Name ) ; sb . Append ( " [" ) ; sb . Append ( "sheetIx=" ) . Append ( ExternSheetIndex ) ; sb . Append ( " ! " ) ; sb .... |
public CreateBGPPeerResult createBGPPeer ( CreateBGPPeerRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateBGPPeer ( request ) ; } | public virtual CreateBGPPeerResponse CreateBGPPeer ( CreateBGPPeerRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateBGPPeerRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateBGPPeerResponseUnmarshaller . Instance ; return Invoke < CreateBGPPeerResponse > ( ... |
public String toASCIIString ( ) { StringBuilder result = new StringBuilder ( ) ; ASCII_ONLY . appendEncoded ( result , toString ( ) ) ; return result . toString ( ) ; } | public string toASCIIString ( ) { java . lang . StringBuilder result = new java . lang . StringBuilder ( ) ; ASCII_ONLY . appendEncoded ( result , ToString ( ) ) ; return result . ToString ( ) ; } |
public CharSequence subSequence ( int start , int end ) { int remaining = end - start ; StringBuilder sb = new StringBuilder ( remaining ) ; int blockIdx = blockIndex ( start ) ; int indexInBlock = indexInBlock ( start ) ; while ( remaining > 0 ) { Block b = blocks . get ( blockIdx ++ ) ; int numToAppend = Math . min (... | public virtual ICharSequence Subsequence ( int startIndex , int length ) { int remaining = length ; StringBuilder sb = new StringBuilder ( remaining ) ; int blockIdx = BlockIndex ( startIndex ) ; int indexInBlock = IndexInBlock ( startIndex ) ; while ( remaining > 0 ) { Block b = blocks [ blockIdx ++ ] ; int numToAppen... |
public long get ( int index ) { final int o = index > > > 3 ; final int b = index & 7 ; final int shift = b << 3 ; return ( blocks [ o ] > > > shift ) & 255L ; } | public override long Get ( int index ) { int o = ( int ) ( ( uint ) index > > 3 ) ; int b = index & 7 ; int shift = b << 3 ; return ( ( long ) ( ( ulong ) blocks [ o ] > > shift ) ) & 255L ; } |
public static Collection < String > getNotSupportedFunctionNames ( ) { Collection < String > lst = new TreeSet < > ( ) ; for ( int i = 0 ; i < functions . length ; i ++ ) { Function func = functions [ i ] ; if ( func != null && ( func instanceof NotImplementedFunction ) ) { FunctionMetadata metaData = FunctionMetadataR... | public static ReadOnlyCollection < String > GetNotSupportedFunctionNames ( ) { List < String > lst = new List < String > ( ) ; for ( int i = 0 ; i < functions . Length ; i ++ ) { Function func = functions [ i ] ; if ( func != null && ( func is NotImplementedFunction ) ) { FunctionMetadata metaData = FunctionMetadataReg... |
public ItalianLightStemFilterFactory ( Map < String , String > args ) { super ( args ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } } | public ItalianLightStemFilterFactory ( IDictionary < string , string > args ) : base ( args ) { if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } } |
public void write ( LittleEndianOutput out ) { out . writeByte ( sid + getPtgClass ( ) ) ; out . writeByte ( getNumberOfOperands ( ) ) ; out . writeShort ( getFunctionIndex ( ) ) ; } | public override void Write ( ILittleEndianOutput out1 ) { out1 . WriteByte ( sid + PtgClass ) ; out1 . WriteByte ( _numberOfArgs ) ; out1 . WriteShort ( _functionIndex ) ; } |
public String getTokenErrorDisplay ( Token t ) { if ( t == null ) return "<no token>" ; String s = t . getText ( ) ; if ( s == null ) { if ( t . getType ( ) == Token . EOF ) { s = "<EOF>" ; } else { s = "<" + t . getType ( ) + ">" ; } } s = s . replace ( "\n" , "\\n" ) ; s = s . replace ( "\r" , "\\r" ) ; s = s . repla... | public virtual string GetTokenErrorDisplay ( IToken t ) { if ( t == null ) { return "<no token>" ; } string s = t . Text ; if ( s == null ) { if ( t . Type == TokenConstants . EOF ) { s = "<EOF>" ; } else { s = "<" + t . Type + ">" ; } } s = s . Replace ( "\n" , "\\n" ) ; s = s . Replace ( "\r" , "\\r" ) ; s = s . Repl... |
public NumericPayloadTokenFilter create ( TokenStream input ) { return new NumericPayloadTokenFilter ( input , payload , typeMatch ) ; } | public override TokenStream Create ( TokenStream input ) { return new NumericPayloadTokenFilter ( input , payload , typeMatch ) ; } |
public void incrementDrawingsSaved ( ) { dgg . setDrawingsSaved ( dgg . getDrawingsSaved ( ) + 1 ) ; } | public void IncrementDrawingsSaved ( ) { dgg . DrawingsSaved = dgg . DrawingsSaved + 1 ; } |
public UploadSigningCertificateRequest ( String certificateBody ) { setCertificateBody ( certificateBody ) ; } | public UploadSigningCertificateRequest ( string certificateBody ) { _certificateBody = certificateBody ; } |
public DeleteJourneyResult deleteJourney ( DeleteJourneyRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteJourney ( request ) ; } | public virtual DeleteJourneyResponse DeleteJourney ( DeleteJourneyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteJourneyRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteJourneyResponseUnmarshaller . Instance ; return Invoke < DeleteJourneyResponse > ( ... |
public void reset ( ) { ptr = mark ; } | public override void Reset ( ) { ptr = mark ; } |
public DescribeInstanceHealthRequest ( String loadBalancerName ) { setLoadBalancerName ( loadBalancerName ) ; } | public DescribeInstanceHealthRequest ( string loadBalancerName ) { _loadBalancerName = loadBalancerName ; } |
public static Automaton toAutomaton ( Term wildcardquery ) { List < Automaton > automata = new ArrayList < > ( ) ; String wildcardText = wildcardquery . text ( ) ; for ( int i = 0 ; i < wildcardText . length ( ) ; ) { final int c = wildcardText . codePointAt ( i ) ; int length = Character . charCount ( c ) ; switch ( c... | public static Automaton ToAutomaton ( Term wildcardquery ) { IList < Automaton > automata = new List < Automaton > ( ) ; string wildcardText = wildcardquery . Text ( ) ; for ( int i = 0 ; i < wildcardText . Length ; ) { int c = Character . CodePointAt ( wildcardText , i ) ; int length = Character . CharCount ( c ) ; sw... |
public boolean equals ( Object obj ) { if ( this == obj ) return true ; if ( obj == null ) return false ; if ( obj instanceof ExtendedFormatRecord ) { final ExtendedFormatRecord other = ( ExtendedFormatRecord ) obj ; if ( field_1_font_index != other . field_1_font_index ) return false ; if ( field_2_format_index != oth... | public override bool Equals ( Object obj ) { if ( this == obj ) return true ; if ( obj == null ) return false ; if ( obj is ExtendedFormatRecord ) { ExtendedFormatRecord other = ( ExtendedFormatRecord ) obj ; if ( field_1_font_index != other . field_1_font_index ) return false ; if ( field_2_format_index != other . fie... |
public short [ ] getTriplet ( ) { return new short [ ] { ( short ) ( _red & 0xff ) , ( short ) ( _green & 0xff ) , ( short ) ( _blue & 0xff ) } ; } | public override byte [ ] GetTriplet ( ) { return new byte [ ] { ( byte ) ( red & 0xff ) , ( byte ) ( green & 0xff ) , ( byte ) ( blue & 0xff ) } ; } |
public BlameCommand setFollowFileRenames ( boolean follow ) { followFileRenames = Boolean . valueOf ( follow ) ; return this ; } | public virtual NGit . Api . BlameCommand SetFollowFileRenames ( bool follow ) { followFileRenames = Sharpen . Extensions . ValueOf ( follow ) ; return this ; } |
public StringMatcher ( String value , CmpOp operator ) { super ( operator ) ; _value = value ; switch ( operator . getCode ( ) ) { case CmpOp . NONE : case CmpOp . EQ : case CmpOp . NE : _pattern = getWildCardPattern ( value ) ; break ; default : _pattern = null ; } } | public StringMatcher ( String value , CmpOp optr ) : base ( optr ) { _value = value ; _operator = optr ; switch ( optr . Code ) { case CmpOp . NONE : case CmpOp . EQ : case CmpOp . NE : _pattern = GetWildCardPattern ( value ) ; break ; default : _pattern = null ; break ; } } |
public DefaultColWidthRecord ( ) { field_1_col_width = DEFAULT_COLUMN_WIDTH ; } | public DefaultColWidthRecord ( ) { field_1_col_width = DEFAULT_COLUMN_WIDTH ; } |
public GetIndustryInfoListRequest ( ) { super ( "industry-brain" , "2018-07-12" , "GetIndustryInfoList" ) ; setProtocol ( ProtocolType . HTTPS ) ; } | public GetIndustryInfoListRequest ( ) : base ( "industry-brain" , "2018-07-12" , "GetIndustryInfoList" ) { Protocol = ProtocolType . HTTPS ; } |
public AssociateTrialComponentResult associateTrialComponent ( AssociateTrialComponentRequest request ) { request = beforeClientExecution ( request ) ; return executeAssociateTrialComponent ( request ) ; } | public virtual AssociateTrialComponentResponse AssociateTrialComponent ( AssociateTrialComponentRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AssociateTrialComponentRequestMarshaller . Instance ; options . ResponseUnmarshaller = AssociateTrialComponentResponseUnmarshaller . Ins... |
public FileIdCluster addCluster ( int dgId , int numShapedUsed ) { return addCluster ( dgId , numShapedUsed , true ) ; } | public void AddCluster ( int dgId , int numShapedUsed ) { AddCluster ( dgId , numShapedUsed , true ) ; } |
public GetFieldLevelEncryptionResult getFieldLevelEncryption ( GetFieldLevelEncryptionRequest request ) { request = beforeClientExecution ( request ) ; return executeGetFieldLevelEncryption ( request ) ; } | public virtual GetFieldLevelEncryptionResponse GetFieldLevelEncryption ( GetFieldLevelEncryptionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetFieldLevelEncryptionRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetFieldLevelEncryptionResponseUnmarshaller . Ins... |
public CharBuffer get ( char [ ] dst , int dstOffset , int charCount ) { Arrays . checkOffsetAndCount ( dst . length , dstOffset , charCount ) ; if ( charCount > remaining ( ) ) { throw new BufferUnderflowException ( ) ; } for ( int i = dstOffset ; i < dstOffset + charCount ; ++ i ) { dst [ i ] = get ( ) ; } return thi... | public virtual java . nio . CharBuffer get ( char [ ] dst , int dstOffset , int charCount ) { java . util . Arrays . checkOffsetAndCount ( dst . Length , dstOffset , charCount ) ; if ( charCount > remaining ( ) ) { throw new java . nio . BufferUnderflowException ( ) ; } { for ( int i = dstOffset ; i < dstOffset + charC... |
public UpdateServiceResult updateService ( UpdateServiceRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateService ( request ) ; } | public virtual UpdateServiceResponse UpdateService ( UpdateServiceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateServiceRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateServiceResponseUnmarshaller . Instance ; return Invoke < UpdateServiceResponse > ( ... |
public FlushStageCacheResult flushStageCache ( FlushStageCacheRequest request ) { request = beforeClientExecution ( request ) ; return executeFlushStageCache ( request ) ; } | public virtual FlushStageCacheResponse FlushStageCache ( FlushStageCacheRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = FlushStageCacheRequestMarshaller . Instance ; options . ResponseUnmarshaller = FlushStageCacheResponseUnmarshaller . Instance ; return Invoke < FlushStageCacheR... |
public ModifyInstanceMetadataOptionsResult modifyInstanceMetadataOptions ( ModifyInstanceMetadataOptionsRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyInstanceMetadataOptions ( request ) ; } | public virtual ModifyInstanceMetadataOptionsResponse ModifyInstanceMetadataOptions ( ModifyInstanceMetadataOptionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyInstanceMetadataOptionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyInstanceMetadataOpt... |
public DefaultRowHeightRecord ( RecordInputStream in ) { field_1_option_flags = in . readShort ( ) ; field_2_row_height = in . readShort ( ) ; } | public DefaultRowHeightRecord ( RecordInputStream in1 ) { field_1_option_flags = in1 . ReadShort ( ) ; field_2_row_height = in1 . ReadShort ( ) ; } |
public ListModelPackagesResult listModelPackages ( ListModelPackagesRequest request ) { request = beforeClientExecution ( request ) ; return executeListModelPackages ( request ) ; } | public virtual ListModelPackagesResponse ListModelPackages ( ListModelPackagesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListModelPackagesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListModelPackagesResponseUnmarshaller . Instance ; return Invoke < ListMo... |
public StopFleetActionsResult stopFleetActions ( StopFleetActionsRequest request ) { request = beforeClientExecution ( request ) ; return executeStopFleetActions ( request ) ; } | public virtual StopFleetActionsResponse StopFleetActions ( StopFleetActionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StopFleetActionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = StopFleetActionsResponseUnmarshaller . Instance ; return Invoke < StopFleetAc... |
public boolean matches ( ValueEval x ) { double testValue ; if ( x instanceof StringEval ) { switch ( getCode ( ) ) { case CmpOp . EQ : case CmpOp . NONE : break ; case CmpOp . NE : return true ; default : return false ; } StringEval se = ( StringEval ) x ; Double val = OperandResolver . parseDouble ( se . getStringVal... | public override bool Matches ( ValueEval x ) { double testValue ; if ( x is StringEval ) { switch ( Code ) { case CmpOp . EQ : case CmpOp . NONE : break ; case CmpOp . NE : return true ; default : return false ; } StringEval se = ( StringEval ) x ; Double val = OperandResolver . ParseDouble ( se . StringValue ) ; if ( ... |
public boolean include ( RevWalk walker , RevCommit c ) { throw new UnsupportedOperationException ( JGitText . get ( ) . cannotBeCombined ) ; } | public override bool Include ( RevWalk walker , RevCommit c ) { throw new NotSupportedException ( JGitText . Get ( ) . cannotBeCombined ) ; } |
public LongList ( int capacity ) { entries = new long [ capacity ] ; } | public LongList ( int capacity ) { entries = new long [ capacity ] ; } |
public static String readAsciiLine ( InputStream in ) throws IOException { StringBuilder result = new StringBuilder ( 80 ) ; while ( true ) { int c = in . read ( ) ; if ( c == - 1 ) { throw new EOFException ( ) ; } else if ( c == '\n' ) { break ; } result . append ( ( char ) c ) ; } int length = result . length ( ) ; i... | public static string readAsciiLine ( java . io . InputStream @ in ) { java . lang . StringBuilder result = new java . lang . StringBuilder ( 80 ) ; while ( true ) { int c = @ in . read ( ) ; if ( c == - 1 ) { throw new java . io . EOFException ( ) ; } else { if ( c == '\n' ) { break ; } } result . append ( ( char ) c )... |
public DeleteRouteRequestParameterResult deleteRouteRequestParameter ( DeleteRouteRequestParameterRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteRouteRequestParameter ( request ) ; } | public virtual DeleteRouteRequestParameterResponse DeleteRouteRequestParameter ( DeleteRouteRequestParameterRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteRouteRequestParameterRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteRouteRequestParameterRespon... |
public int getRowCountForBlock ( int block ) { int startIndex = block * DBCellRecord . BLOCK_SIZE ; int endIndex = startIndex + DBCellRecord . BLOCK_SIZE - 1 ; if ( endIndex >= _rowRecords . size ( ) ) endIndex = _rowRecords . size ( ) - 1 ; return endIndex - startIndex + 1 ; } | public int GetRowCountForBlock ( int block ) { int startIndex = block * DBCellRecord . BLOCK_SIZE ; int endIndex = startIndex + DBCellRecord . BLOCK_SIZE - 1 ; if ( endIndex >= _rowRecords . Count ) endIndex = _rowRecords . Count - 1 ; return endIndex - startIndex + 1 ; } |
public boolean add ( CharSequence text ) { return map . put ( text , PLACEHOLDER ) == null ; } | public virtual bool Add ( ICharSequence text ) { return map . Put ( text ) ; } |
public FSTCompletion ( FST < Object > automaton , boolean higherWeightsFirst , boolean exactFirst ) { this . automaton = automaton ; if ( automaton != null ) { this . rootArcs = cacheRootArcs ( automaton ) ; } else { this . rootArcs = new Arc [ 0 ] ; } this . higherWeightsFirst = higherWeightsFirst ; this . exactFirst ... | public FSTCompletion ( FST < object > automaton , bool higherWeightsFirst , bool exactFirst ) { this . automaton = automaton ; if ( automaton != null ) { this . rootArcs = CacheRootArcs ( automaton ) ; } else { this . rootArcs = new FST . Arc < object > [ 0 ] ; } this . higherWeightsFirst = higherWeightsFirst ; this . ... |
public Explanation idfExplain ( CollectionStatistics collectionStats , TermStatistics termStats [ ] ) { double idf = 0d ; List < Explanation > details = new ArrayList < > ( ) ; for ( final TermStatistics stat : termStats ) { Explanation idfExplain = idfExplain ( collectionStats , stat ) ; details . add ( idfExplain ) ;... | public virtual Explanation IdfExplain ( CollectionStatistics collectionStats , TermStatistics termStats ) { long df = termStats . DocFreq ; long max = collectionStats . MaxDoc ; float idf = Idf ( df , max ) ; return new Explanation ( idf , "idf(docFreq=" + df + ", maxDocs=" + max + ")" ) ; } |
public CreateEndpointResult createEndpoint ( CreateEndpointRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateEndpoint ( request ) ; } | public virtual CreateEndpointResponse CreateEndpoint ( CreateEndpointRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateEndpointRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateEndpointResponseUnmarshaller . Instance ; return Invoke < CreateEndpointRespons... |
public int serialize ( int offset , byte [ ] data ) { LittleEndian . putShort ( data , 0 + offset , getSid ( ) ) ; LittleEndian . putShort ( data , 2 + offset , ( short ) ( getRecordSize ( ) - 4 ) ) ; byte [ ] rawData = getRawData ( ) ; if ( escherRecords . size ( ) == 0 && rawData != null ) { LittleEndian . putShort (... | public override int Serialize ( int offset , byte [ ] data ) { LittleEndian . PutShort ( data , 0 + offset , Sid ) ; LittleEndian . PutShort ( data , 2 + offset , ( short ) ( RecordSize - 4 ) ) ; byte [ ] rawData = RawData ; if ( escherRecords . Count == 0 && rawData != null ) { LittleEndian . PutShort ( data , 0 + off... |
public boolean isBelowMaxRep ( ) { int sc = _significand . bitLength ( ) - C_64 ; return _significand . compareTo ( BI_MAX_BASE . shiftLeft ( sc ) ) < 0 ; } | public bool IsBelowMaxRep ( ) { int sc = _significand . BitLength ( ) - C_64 ; return _significand . CompareTo ( BI_MAX_BASE . ShiftLeft ( sc ) ) < 0 ; } |
public FieldIndexEnum getFieldEnum ( FieldInfo fieldInfo ) { final FieldIndexData fieldData = fields . get ( fieldInfo . name ) ; if ( fieldData . fst == null ) { return null ; } else { return new IndexEnum ( fieldData . fst ) ; } } | public override FieldIndexEnum GetFieldEnum ( FieldInfo fieldInfo ) { FieldIndexData fieldData ; if ( ! fields . TryGetValue ( fieldInfo , out fieldData ) || fieldData == null || fieldData . fst == null ) { return null ; } else { return new IndexEnum ( fieldData . fst ) ; } } |
public AssociationsFacetsExample ( ) { config = new FacetsConfig ( ) ; config . setMultiValued ( "tags" , true ) ; config . setIndexFieldName ( "tags" , "$tags" ) ; config . setMultiValued ( "genre" , true ) ; config . setIndexFieldName ( "genre" , "$genre" ) ; } | public AssociationsFacetsExample ( ) { config = new FacetsConfig ( ) ; config . SetMultiValued ( "tags" , true ) ; config . SetIndexFieldName ( "tags" , "$tags" ) ; config . SetMultiValued ( "genre" , true ) ; config . SetIndexFieldName ( "genre" , "$genre" ) ; } |
public void fill ( int fromIndex , int toIndex , long val ) { ensureCapacity ( val ) ; current . fill ( fromIndex , toIndex , val ) ; } | public override void Fill ( int fromIndex , int toIndex , long val ) { EnsureCapacity ( val ) ; current . Fill ( fromIndex , toIndex , val ) ; } |
public ListDeploymentConfigsResult listDeploymentConfigs ( ListDeploymentConfigsRequest request ) { request = beforeClientExecution ( request ) ; return executeListDeploymentConfigs ( request ) ; } | public virtual ListDeploymentConfigsResponse ListDeploymentConfigs ( ListDeploymentConfigsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListDeploymentConfigsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListDeploymentConfigsResponseUnmarshaller . Instance ; re... |
public ListUserPoliciesRequest ( String userName ) { setUserName ( userName ) ; } | public ListUserPoliciesRequest ( string userName ) { _userName = userName ; } |
public TokenStream create ( TokenStream input ) { return new FinnishLightStemFilter ( input ) ; } | public override TokenStream Create ( TokenStream input ) { return new FinnishLightStemFilter ( input ) ; } |
public CharSequence getLastOnPath ( CharSequence key ) { StringBuilder result = new StringBuilder ( tries . size ( ) * 2 ) ; for ( int i = 0 ; i < tries . size ( ) ; i ++ ) { CharSequence r = tries . get ( i ) . getLastOnPath ( key ) ; if ( r == null || ( r . length ( ) == 1 && r . charAt ( 0 ) == EOM ) ) { return resu... | public override string GetLastOnPath ( string key ) { StringBuilder result = new StringBuilder ( m_tries . Count * 2 ) ; for ( int i = 0 ; i < m_tries . Count ; i ++ ) { string r = m_tries [ i ] . GetLastOnPath ( key ) ; if ( r == null || ( r . Length == 1 && r [ 0 ] == EOM ) ) { return result . ToString ( ) ; } result... |
public int getExternalSheetIndex ( String workbookName , String firstSheetName , String lastSheetName ) { int externalBookIndex = getExternalWorkbookIndex ( workbookName ) ; if ( externalBookIndex == - 1 ) { throw new RuntimeException ( "No external workbook with name '" + workbookName + "'" ) ; } SupBookRecord ebrTarg... | public int GetExternalSheetIndex ( String workbookName , String firstSheetName , String lastSheetName ) { int externalBookIndex = GetExternalWorkbookIndex ( workbookName ) ; if ( externalBookIndex == - 1 ) { throw new RuntimeException ( "No external workbook with name '" + workbookName + "'" ) ; } SupBookRecord ebrTarg... |
public String findSheetLastNameFromExternSheet ( int externSheetIndex ) { int indexToSheet = linkTable . getLastInternalSheetIndexForExtIndex ( externSheetIndex ) ; return findSheetNameFromIndex ( indexToSheet ) ; } | public String FindSheetLastNameFromExternSheet ( int externSheetIndex ) { int indexToSheet = linkTable . GetLastInternalSheetIndexForExtIndex ( externSheetIndex ) ; return FindSheetNameFromIndex ( indexToSheet ) ; } |
public void serialize ( LittleEndianOutput out ) { out . writeShort ( rt ) ; out . writeShort ( grbitFrt ) ; out . writeShort ( iObjectKind ) ; out . write ( reserved ) ; } | public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( rt ) ; out1 . WriteShort ( grbitFrt ) ; out1 . WriteShort ( iObjectKind ) ; out1 . Write ( reserved ) ; } |
public final ValueEval getValue ( ) { return _value ; } | public ValueEval GetValue ( ) { return _value ; } |
public ImportImageResult importImage ( ImportImageRequest request ) { request = beforeClientExecution ( request ) ; return executeImportImage ( request ) ; } | public virtual ImportImageResponse ImportImage ( ImportImageRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ImportImageRequestMarshaller . Instance ; options . ResponseUnmarshaller = ImportImageResponseUnmarshaller . Instance ; return Invoke < ImportImageResponse > ( request , op... |
public PruneByAge ( double maxAgeSec ) { if ( maxAgeSec < 0 ) { throw new IllegalArgumentException ( "maxAgeSec must be > 0 (got " + maxAgeSec + ")" ) ; } this . maxAgeSec = maxAgeSec ; } | public PruneByAge ( double maxAgeSec ) { if ( maxAgeSec < 0 ) { throw new System . ArgumentException ( "maxAgeSec must be > 0 (got " + maxAgeSec + ")" ) ; } this . maxAgeSec = maxAgeSec ; } |
public DeleteSecurityGroupRequest ( String groupName ) { setGroupName ( groupName ) ; } | public DeleteSecurityGroupRequest ( string groupName ) { _groupName = groupName ; } |
public GetRoomSkillParameterResult getRoomSkillParameter ( GetRoomSkillParameterRequest request ) { request = beforeClientExecution ( request ) ; return executeGetRoomSkillParameter ( request ) ; } | public virtual GetRoomSkillParameterResponse GetRoomSkillParameter ( GetRoomSkillParameterRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetRoomSkillParameterRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetRoomSkillParameterResponseUnmarshaller . Instance ; re... |
public ParserRuleContext parse ( int startRuleIndex ) { RuleStartState startRuleStartState = atn . ruleToStartState [ startRuleIndex ] ; rootContext = createInterpreterRuleContext ( null , ATNState . INVALID_STATE_NUMBER , startRuleIndex ) ; if ( startRuleStartState . isLeftRecursiveRule ) { enterRecursionRule ( rootCo... | public virtual ParserRuleContext Parse ( int startRuleIndex ) { RuleStartState startRuleStartState = _atn . ruleToStartState [ startRuleIndex ] ; InterpreterRuleContext rootContext = new InterpreterRuleContext ( null , ATNState . InvalidStateNumber , startRuleIndex ) ; if ( startRuleStartState . isPrecedenceRule ) { En... |
public DeleteInstallationMediaResult deleteInstallationMedia ( DeleteInstallationMediaRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteInstallationMedia ( request ) ; } | public virtual DeleteInstallationMediaResponse DeleteInstallationMedia ( DeleteInstallationMediaRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteInstallationMediaRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteInstallationMediaResponseUnmarshaller . Ins... |
public boolean accept ( double value ) { return value >= min && value <= max ; } | public bool Accept ( double value ) { return value >= minIncl && value <= maxIncl ; } |
public GetVariablesResult getVariables ( GetVariablesRequest request ) { request = beforeClientExecution ( request ) ; return executeGetVariables ( request ) ; } | public virtual GetVariablesResponse GetVariables ( GetVariablesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetVariablesRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetVariablesResponseUnmarshaller . Instance ; return Invoke < GetVariablesResponse > ( reques... |
public void decode ( byte [ ] blocks , int blocksOffset , int [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { final int byte0 = blocks [ blocksOffset ++ ] & 0xFF ; final int byte1 = blocks [ blocksOffset ++ ] & 0xFF ; final int byte2 = blocks [ blocksOffset ++ ] & 0xFF ; v... | public override void Decode ( byte [ ] blocks , int blocksOffset , int [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { int byte0 = blocks [ blocksOffset ++ ] & 0xFF ; int byte1 = blocks [ blocksOffset ++ ] & 0xFF ; int byte2 = blocks [ blocksOffset ++ ] & 0xFF ; values [ v... |
public void serialize ( LittleEndianOutput out ) { out . writeShort ( field_1_pointNumber ) ; out . writeShort ( field_2_seriesIndex ) ; out . writeShort ( field_3_seriesNumber ) ; out . writeShort ( field_4_formatFlags ) ; } | public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( field_1_pointNumber ) ; out1 . WriteShort ( field_2_seriesIndex ) ; out1 . WriteShort ( field_3_seriesNumber ) ; out1 . WriteShort ( field_4_formatFlags ) ; } |
public Area3DPxg ( int externalWorkbookNumber , SheetIdentifier sheetName , String arearef ) { this ( externalWorkbookNumber , sheetName , new AreaReference ( arearef , SpreadsheetVersion . EXCEL2007 ) ) ; } | public Area3DPxg ( int externalWorkbookNumber , SheetIdentifier sheetName , String arearef ) : this ( externalWorkbookNumber , sheetName , new AreaReference ( arearef ) ) { ; } |
public final CharSequence subSequence ( int start , int end ) { checkStartEndRemaining ( start , end ) ; CharBuffer result = duplicate ( ) ; result . limit ( position + end ) ; result . position ( position + start ) ; return result ; } | public sealed override java . lang . CharSequence SubSequence ( int start , int end ) { checkStartEndRemaining ( start , end ) ; java . nio . CharBuffer result = duplicate ( ) ; result . limit ( _position + end ) ; result . position ( _position + start ) ; return result ; } |
public DescribeInstallationMediaResult describeInstallationMedia ( DescribeInstallationMediaRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeInstallationMedia ( request ) ; } | public virtual DescribeInstallationMediaResponse DescribeInstallationMedia ( DescribeInstallationMediaRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeInstallationMediaRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeInstallationMediaResponseUnmarsha... |
public UpdateConferenceProviderResult updateConferenceProvider ( UpdateConferenceProviderRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateConferenceProvider ( request ) ; } | public virtual UpdateConferenceProviderResponse UpdateConferenceProvider ( UpdateConferenceProviderRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateConferenceProviderRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateConferenceProviderResponseUnmarshaller ... |
public void release ( int marker ) { int expectedMark = - numMarkers ; if ( marker != expectedMark ) { throw new IllegalStateException ( "release() called with an invalid marker." ) ; } numMarkers -- ; if ( numMarkers == 0 && p > 0 ) { System . arraycopy ( data , p , data , 0 , n - p ) ; n = n - p ; p = 0 ; lastCharBuf... | public virtual void Release ( int marker ) { int expectedMark = - numMarkers ; if ( marker != expectedMark ) { throw new InvalidOperationException ( "release() called with an invalid marker." ) ; } numMarkers -- ; if ( numMarkers == 0 && p > 0 ) { System . Array . Copy ( data , p , data , 0 , n - p ) ; n = n - p ; p = ... |
public static int getDataSize ( ) { return 12 ; } | public static int GetDataSize ( ) { return 12 ; } |
public TokenStream create ( TokenStream input ) { return new UpperCaseFilter ( input ) ; } | public override TokenStream Create ( TokenStream input ) { return new UpperCaseFilter ( m_luceneMatchVersion , input ) ; } |
public void serialize ( LittleEndianOutput out ) { out . writeShort ( getHideObj ( ) ) ; } | public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( GetHideObj ( ) ) ; } |
public V setValue ( V value ) { V oldValue = this . value ; this . value = value ; return oldValue ; } | public virtual V setValue ( V value ) { V oldValue = this . value ; this . value = value ; return oldValue ; } |
public String toString ( ) { return toString ( 0 ) ; } | public override string ToString ( ) { return ToString ( Dir , 0 ) ; } |
public CreateHITResult createHIT ( CreateHITRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateHIT ( request ) ; } | public virtual CreateHITResponse CreateHIT ( CreateHITRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateHITRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateHITResponseUnmarshaller . Instance ; return Invoke < CreateHITResponse > ( request , options ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.