question stringlengths 33 1.59k | target stringlengths 33 1.58k |
|---|---|
public boolean stem ( ) { r_mark_regions ( ) ; limit_backward = cursor ; cursor = limit ; int v_2 = limit - cursor ; r_attached_pronoun ( ) ; cursor = limit - v_2 ; int v_3 = limit - cursor ; lab0 : { lab1 : { int v_4 = limit - cursor ; lab2 : { if ( ! r_standard_suffix ( ) ) { break lab2 ; } break lab1 ; } cursor = li... | public override bool Stem ( ) { int v_1 ; int v_2 ; int v_3 ; int v_4 ; int v_5 ; int v_6 ; 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_attached_pronoun ( ) ) { g... |
public HSSFPictureData ( EscherBlipRecord blip ) { this . blip = blip ; } | public HSSFPictureData ( EscherBlipRecord blip ) { this . blip = blip ; } |
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[PALETTE]\n" ) ; buffer . append ( " numcolors = " ) . append ( _colors . size ( ) ) . append ( '\n' ) ; for ( int i = 0 ; i < _colors . size ( ) ; i ++ ) { PColor c = _colors . get ( i ) ; buffer . append ( "* colornum ... | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[PALETTE]\n" ) ; buffer . Append ( " numcolors = " ) . Append ( field_2_colors . Count ) . Append ( '\n' ) ; for ( int k = 0 ; k < field_2_colors . Count ; k ++ ) { PColor c = ( PColor ) field_2_colors [ k ] ; b... |
public String [ ] list ( FilenameFilter filter ) { String [ ] filenames = list ( ) ; if ( filter == null || filenames == null ) { return filenames ; } List < String > result = new ArrayList < String > ( filenames . length ) ; for ( String filename : filenames ) { if ( filter . accept ( this , filename ) ) { result . ad... | public string [ ] list ( java . io . FilenameFilter filter ) { string [ ] filenames = list ( ) ; if ( filter == null || filenames == null ) { return filenames ; } java . util . List < string > result = new java . util . ArrayList < string > ( filenames . Length ) ; foreach ( string filename in filenames ) { if ( filter... |
public ValueEval evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval arg0 , ValueEval arg1 ) { String arg ; int index ; try { arg = evaluateStringArg ( arg0 , srcRowIndex , srcColumnIndex ) ; index = evaluateIntArg ( arg1 , srcRowIndex , srcColumnIndex ) ; } catch ( EvaluationException e ) { return e . getError... | public override ValueEval Evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval arg0 , ValueEval arg1 ) { String arg ; int index ; try { arg = TextFunction . EvaluateStringArg ( arg0 , srcRowIndex , srcColumnIndex ) ; index = TextFunction . EvaluateIntArg ( arg1 , srcRowIndex , srcColumnIndex ) ; } catch ( Evalua... |
public void serialize ( LittleEndianOutput out ) { out . writeShort ( sid ) ; out . writeShort ( reserved . length ) ; out . write ( reserved ) ; } | public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( sid ) ; out1 . WriteShort ( reserved . Length ) ; out1 . Write ( reserved ) ; } |
public HadoopJarStepConfig ( String jar ) { setJar ( jar ) ; } | public HadoopJarStepConfig ( string jar ) { _jar = jar ; } |
public CharArrayWriter append ( char c ) { write ( c ) ; return this ; } | public override java . io . Writer append ( char c ) { write ( c ) ; return this ; } |
public GetChannelsResult getChannels ( GetChannelsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetChannels ( request ) ; } | public virtual GetChannelsResponse GetChannels ( GetChannelsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetChannelsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetChannelsResponseUnmarshaller . Instance ; return Invoke < GetChannelsResponse > ( request , op... |
public File getParentFile ( ) { String tempParent = getParent ( ) ; if ( tempParent == null ) { return null ; } return new File ( tempParent ) ; } | public java . io . File getParentFile ( ) { string tempParent = getParent ( ) ; if ( tempParent == null ) { return null ; } return new java . io . File ( tempParent ) ; } |
public URI resolve ( String relative ) { return resolve ( create ( relative ) ) ; } | public java . net . URI resolve ( string relative ) { return resolve ( create ( relative ) ) ; } |
public static IntervalSet of ( int a , int b ) { IntervalSet s = new IntervalSet ( ) ; s . add ( a , b ) ; return s ; } | public static Antlr4 . Runtime . Misc . IntervalSet Of ( int a , int b ) { Antlr4 . Runtime . Misc . IntervalSet s = new Antlr4 . Runtime . Misc . IntervalSet ( ) ; s . Add ( a , b ) ; return s ; } |
public void setCompressionLevel ( int level ) { compressionLevel = level ; } | public virtual void SetCompressionLevel ( int level ) { compressionLevel = level ; } |
public void reset ( ) { offset = 0 ; length = 0 ; lastTrailingHighSurrogate = 0 ; } | public void Reset ( ) { offset = 0 ; length = 0 ; lastTrailingHighSurrogate = ( char ) 0 ; } |
public AttributeValue ( String s ) { setS ( s ) ; } | public AttributeValue ( string s ) { _s = s ; } |
public Token ( int kind , String image ) { this . kind = kind ; this . image = image ; } | public Token ( int start , int end ) { CheckOffsets ( start , end ) ; startOffset = start ; endOffset = end ; } |
public XmlSerializer newSerializer ( ) throws XmlPullParserException { if ( serializerClasses == null ) { throw new XmlPullParserException ( "Factory initialization incomplete - has not tried " + classNamesLocation ) ; } if ( serializerClasses . size ( ) == 0 ) { throw new XmlPullParserException ( "No valid serializer ... | public virtual org . xmlpull . v1 . XmlSerializer newSerializer ( ) { if ( serializerClasses == null ) { throw new org . xmlpull . v1 . XmlPullParserException ( "Factory initialization incomplete - has not tried " + classNamesLocation ) ; } if ( serializerClasses . size ( ) == 0 ) { throw new org . xmlpull . v1 . XmlPu... |
public UpdateDomainContactPrivacyResult updateDomainContactPrivacy ( UpdateDomainContactPrivacyRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateDomainContactPrivacy ( request ) ; } | public virtual UpdateDomainContactPrivacyResponse UpdateDomainContactPrivacy ( UpdateDomainContactPrivacyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateDomainContactPrivacyRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateDomainContactPrivacyResponseUnm... |
public String toString ( String enc ) throws UnsupportedEncodingException { return new String ( buf , 0 , count , enc ) ; } | public virtual string toString ( string enc ) { throw new System . NotImplementedException ( ) ; } |
public DescribeStaleSecurityGroupsResult describeStaleSecurityGroups ( DescribeStaleSecurityGroupsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeStaleSecurityGroups ( request ) ; } | public virtual DescribeStaleSecurityGroupsResponse DescribeStaleSecurityGroups ( DescribeStaleSecurityGroupsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeStaleSecurityGroupsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeStaleSecurityGroupsRespon... |
public DisassociateWebsiteCertificateAuthorityResult disassociateWebsiteCertificateAuthority ( DisassociateWebsiteCertificateAuthorityRequest request ) { request = beforeClientExecution ( request ) ; return executeDisassociateWebsiteCertificateAuthority ( request ) ; } | public virtual DisassociateWebsiteCertificateAuthorityResponse DisassociateWebsiteCertificateAuthority ( DisassociateWebsiteCertificateAuthorityRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DisassociateWebsiteCertificateAuthorityRequestMarshaller . Instance ; options . Response... |
public DeleteTransitGatewayVpcAttachmentResult deleteTransitGatewayVpcAttachment ( DeleteTransitGatewayVpcAttachmentRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteTransitGatewayVpcAttachment ( request ) ; } | public virtual DeleteTransitGatewayVpcAttachmentResponse DeleteTransitGatewayVpcAttachment ( DeleteTransitGatewayVpcAttachmentRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteTransitGatewayVpcAttachmentRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteTra... |
public ObjectId idFor ( TreeFormatter formatter ) { return formatter . computeId ( this ) ; } | public virtual ObjectId IdFor ( TreeFormatter formatter ) { return formatter . ComputeId ( this ) ; } |
public static boolean startsWith ( char s [ ] , int len , String prefix ) { final int prefixLen = prefix . length ( ) ; if ( prefixLen > len ) return false ; for ( int i = 0 ; i < prefixLen ; i ++ ) if ( s [ i ] != prefix . charAt ( i ) ) return false ; return true ; } | public static bool StartsWith ( char [ ] s , int len , string prefix ) { int prefixLen = prefix . Length ; if ( prefixLen > len ) { return false ; } for ( int i = 0 ; i < prefixLen ; i ++ ) { if ( s [ i ] != prefix [ i ] ) { return false ; } } return true ; } |
public UpdateBatchPredictionResult updateBatchPrediction ( UpdateBatchPredictionRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateBatchPrediction ( request ) ; } | public virtual UpdateBatchPredictionResponse UpdateBatchPrediction ( UpdateBatchPredictionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateBatchPredictionRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateBatchPredictionResponseUnmarshaller . Instance ; re... |
public final void remove ( RevFlag flag ) { flags &= ~ flag . mask ; } | public void Remove ( RevFlag flag ) { flags &= ~ flag . mask ; } |
public void SwitchTo ( int lexState ) { if ( lexState >= 2 || lexState < 0 ) throw new TokenMgrError ( "Error: Ignoring invalid lexical state : " + lexState + ". State unchanged." , TokenMgrError . INVALID_LEXICAL_STATE ) ; elsecurLexState = lexState ; } | public virtual void SwitchTo ( int lexState ) { if ( lexState >= 3 || lexState < 0 ) throw new TokenMgrError ( "Error: Ignoring invalid lexical state : " + lexState + ". State unchanged." , TokenMgrError . INVALID_LEXICAL_STATE ) ; elsecurLexState = lexState ; } |
public String toString ( ) { StringBuilder sb = new StringBuilder ( "[ArrayPtg]\n" ) ; sb . append ( "nRows = " ) . append ( getRowCount ( ) ) . append ( "\n" ) ; sb . append ( "nCols = " ) . append ( getColumnCount ( ) ) . append ( "\n" ) ; if ( _arrayValues == null ) { sb . append ( " #values#uninitialised#\n" ) ; }... | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( "[ArrayPtg]\n" ) ; buffer . Append ( "columns = " ) . Append ( ColumnCount ) . Append ( "\n" ) ; buffer . Append ( "rows = " ) . Append ( RowCount ) . Append ( "\n" ) ; for ( int x = 0 ; x < ColumnCount ; x ++ ) { for ( int y = 0 ; y < Row... |
public ObjectId getHeadId ( ) { return headId ; } | public virtual ObjectId GetHeadId ( ) { return headId ; } |
public GetAssociatedIpv6PoolCidrsResult getAssociatedIpv6PoolCidrs ( GetAssociatedIpv6PoolCidrsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetAssociatedIpv6PoolCidrs ( request ) ; } | public virtual GetAssociatedIpv6PoolCidrsResponse GetAssociatedIpv6PoolCidrs ( GetAssociatedIpv6PoolCidrsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetAssociatedIpv6PoolCidrsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetAssociatedIpv6PoolCidrsResponseUnm... |
public void copyValue ( Cell destCell ) { switch ( _cellType ) { case BLANK : destCell . setBlank ( ) ; return ; case NUMERIC : destCell . setCellValue ( _numberValue ) ; return ; case BOOLEAN : destCell . setCellValue ( _booleanValue ) ; return ; case STRING : destCell . setCellValue ( _stringValue ) ; return ; case E... | public void CopyValue ( ICell destCell ) { switch ( _cellType ) { case CellType . Blank : destCell . SetCellType ( CellType . Blank ) ; return ; case CellType . Numeric : destCell . SetCellValue ( _numberValue ) ; return ; case CellType . Boolean : destCell . SetCellValue ( _boolValue ) ; return ; case CellType . Strin... |
public DescribeLaunchTemplateVersionsResult describeLaunchTemplateVersions ( DescribeLaunchTemplateVersionsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeLaunchTemplateVersions ( request ) ; } | public virtual DescribeLaunchTemplateVersionsResponse DescribeLaunchTemplateVersions ( DescribeLaunchTemplateVersionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeLaunchTemplateVersionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeLaunchTemplat... |
public static DVConstraint createCustomFormulaConstraint ( String formula ) { if ( formula == null ) { throw new IllegalArgumentException ( "formula must be supplied" ) ; } return new DVConstraint ( ValidationType . FORMULA , OperatorType . IGNORED , formula , null , null , null , null ) ; } | public static DVConstraint CreateCustomFormulaConstraint ( String formula ) { if ( formula == null ) { throw new ArgumentException ( "formula must be supplied" ) ; } return new DVConstraint ( ValidationType . FORMULA , OperatorType . IGNORED , formula , null , double . NaN , double . NaN , null ) ; } |
public DeleteProjectVersionResult deleteProjectVersion ( DeleteProjectVersionRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteProjectVersion ( request ) ; } | public virtual DeleteProjectVersionResponse DeleteProjectVersion ( DeleteProjectVersionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteProjectVersionRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteProjectVersionResponseUnmarshaller . Instance ; return ... |
public String toStringUnquoted ( ) { return getTermText ( ) ; } | public override string ToStringUnquoted ( ) { return TermText ; } |
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[RECALCID]\n" ) ; buffer . append ( " .reserved = " ) . append ( HexDump . shortToHex ( _reserved0 ) ) . append ( "\n" ) ; buffer . append ( " .engineId = " ) . append ( HexDump . intToHex ( _engineId ) ) . append ( "\n... | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[RECALCID]\n" ) ; buffer . Append ( " .reserved = " ) . Append ( HexDump . ShortToHex ( _reserved0 ) ) . Append ( "\n" ) ; buffer . Append ( " .engineId = " ) . Append ( HexDump . IntToHex ( _engineId ) ) . App... |
public String toString ( ) { return "RandomAccessInput(" + IndexInput . this . toString ( ) + ")" ; } | public override string ToString ( ) { return resourceDescription ; } |
public static int countArg ( ValueEval eval , I_MatchPredicate criteriaPredicate ) { if ( eval == null ) { throw new IllegalArgumentException ( "eval must not be null" ) ; } if ( eval instanceof ThreeDEval ) { return countMatchingCellsInArea ( ( ThreeDEval ) eval , criteriaPredicate ) ; } if ( eval instanceof TwoDEval ... | public static int CountArg ( ValueEval eval , IMatchPredicate criteriaPredicate ) { if ( eval == null ) { throw new ArgumentException ( "eval must not be null" ) ; } if ( eval is ThreeDEval ) { return CountUtils . CountMatchingCellsInArea ( ( ThreeDEval ) eval , criteriaPredicate ) ; } if ( eval is TwoDEval ) { throw n... |
public void parse ( byte [ ] buf , int ptr , int end ) { while ( ptr < end ) ptr = parseFile ( buf , ptr , end ) ; } | public virtual void Parse ( byte [ ] buf , int ptr , int end ) { while ( ptr < end ) { ptr = ParseFile ( buf , ptr , end ) ; } } |
public ListQueuesResult listQueues ( String queueNamePrefix ) { return listQueues ( new ListQueuesRequest ( ) . withQueueNamePrefix ( queueNamePrefix ) ) ; } | public virtual ListQueuesResponse ListQueues ( string queueNamePrefix ) { var request = new ListQueuesRequest ( ) ; request . QueueNamePrefix = queueNamePrefix ; return ListQueues ( request ) ; } |
public DescribeVolumeAttributeResult describeVolumeAttribute ( DescribeVolumeAttributeRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeVolumeAttribute ( request ) ; } | public virtual DescribeVolumeAttributeResponse DescribeVolumeAttribute ( DescribeVolumeAttributeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeVolumeAttributeRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeVolumeAttributeResponseUnmarshaller . Ins... |
public Trie optimize ( Trie orig ) { List < CharSequence > cmds = orig . cmds ; List < Row > rows = new ArrayList < > ( ) ; List < Row > orows = orig . rows ; int remap [ ] = new int [ orows . size ( ) ] ; for ( int j = orows . size ( ) - 1 ; j >= 0 ; j -- ) { liftUp ( orows . get ( j ) , orows ) ; } Arrays . fill ( re... | public override Trie Optimize ( Trie orig ) { IList < string > cmds = orig . cmds ; IList < Row > rows = new List < Row > ( ) ; IList < Row > orows = orig . rows ; int [ ] remap = new int [ orows . Count ] ; for ( int j = orows . Count - 1 ; j >= 0 ; j -- ) { LiftUp ( orows [ j ] , orows ) ; } Arrays . Fill ( remap , -... |
public WorkingTreeOptions getOptions ( ) { return state . options ; } | public virtual WorkingTreeOptions GetOptions ( ) { return state . options ; } |
public SendInvitationResult sendInvitation ( SendInvitationRequest request ) { request = beforeClientExecution ( request ) ; return executeSendInvitation ( request ) ; } | public virtual SendInvitationResponse SendInvitation ( SendInvitationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SendInvitationRequestMarshaller . Instance ; options . ResponseUnmarshaller = SendInvitationResponseUnmarshaller . Instance ; return Invoke < SendInvitationRespons... |
public DeleteAlarmsResult deleteAlarms ( DeleteAlarmsRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteAlarms ( request ) ; } | public virtual DeleteAlarmsResponse DeleteAlarms ( DeleteAlarmsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteAlarmsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteAlarmsResponseUnmarshaller . Instance ; return Invoke < DeleteAlarmsResponse > ( reques... |
public static void main ( String [ ] args ) throws Exception { FSDirectory dir = null ; String inputStr = null ; String field = null ; if ( args . length == 3 ) { dir = FSDirectory . open ( Paths . get ( args [ 0 ] ) ) ; field = args [ 1 ] ; inputStr = args [ 2 ] ; } else { usage ( ) ; System . exit ( 1 ) ; } getTermIn... | public static void Main ( string [ ] args ) { FSDirectory dir = null ; string inputStr = null ; string field = null ; if ( args . Length == 3 ) { dir = FSDirectory . Open ( new DirectoryInfo ( args [ 0 ] ) ) ; field = args [ 1 ] ; inputStr = args [ 2 ] ; } else { throw new ArgumentException ( ) ; } TermInfo ( dir , new... |
public DBSnapshotAttributesResult modifyDBSnapshotAttribute ( ModifyDBSnapshotAttributeRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyDBSnapshotAttribute ( request ) ; } | public virtual ModifyDBSnapshotAttributeResponse ModifyDBSnapshotAttribute ( ModifyDBSnapshotAttributeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyDBSnapshotAttributeRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyDBSnapshotAttributeResponseUnmarsha... |
public static final String readUTF ( DataInput in ) throws IOException { return decodeUTF ( in . readUnsignedShort ( ) , in ) ; } | public static string readUTF ( java . io . DataInput @ in ) { throw new System . NotImplementedException ( ) ; } |
public synchronized E remove ( int index ) { @ SuppressWarnings ( "unchecked" ) E removed = ( E ) elements [ index ] ; removeRange ( index , index + 1 ) ; return removed ; } | public virtual E remove ( int index ) { lock ( this ) { E removed = ( E ) elements [ index ] ; removeRange ( index , index + 1 ) ; return removed ; } } |
public byte [ ] getElement ( int index ) { int actualSize = getActualSizeOfElements ( getSizeOfElements ( ) ) ; byte [ ] result = IOUtils . safelyAllocate ( actualSize , MAX_RECORD_LENGTH ) ; System . arraycopy ( getComplexData ( ) , FIXED_SIZE + index * actualSize , result , 0 , result . length ) ; return result ; } | public byte [ ] GetElement ( int index ) { int actualSize = GetActualSizeOfElements ( SizeOfElements ) ; byte [ ] result = new byte [ actualSize ] ; Array . Copy ( _complexData , FIXED_SIZE + index * actualSize , result , 0 , result . Length ) ; return result ; } |
public String signString ( String stringToSign , AlibabaCloudCredentials credentials ) { return null ; } | public override string SignString ( string stringToSign , AlibabaCloudCredentials credentials ) { return SignString ( stringToSign , credentials . GetAccessKeyId ( ) ) ; } |
public void writeData ( final ByteBuffer block ) { block . put ( serialize ( ) ) ; } | public void WriteData ( ByteBuffer block ) { block . Write ( Serialize ( ) ) ; } |
public void setSshSessionFactory ( SshSessionFactory factory ) { if ( factory == null ) throw new NullPointerException ( JGitText . get ( ) . theFactoryMustNotBeNull ) ; if ( sock != null ) throw new IllegalStateException ( JGitText . get ( ) . anSSHSessionHasBeenAlreadyCreated ) ; sch = factory ; } | public virtual void SetSshSessionFactory ( SshSessionFactory factory ) { if ( factory == null ) { throw new ArgumentNullException ( JGitText . Get ( ) . theFactoryMustNotBeNull ) ; } if ( sock != null ) { throw new InvalidOperationException ( JGitText . Get ( ) . anSSHSessionHasBeenAlreadyCreated ) ; } sch = factory ; ... |
public PipedReader ( PipedWriter out ) throws IOException { connect ( out ) ; } | public PipedReader ( java . io . PipedWriter @ out ) { throw new System . NotImplementedException ( ) ; } |
public RawText getSourceContents ( ) { return outCandidate . sourceText ; } | public virtual RawText GetSourceContents ( ) { return currentSource . sourceText ; } |
public static < T > T [ ] copyOfRange ( T [ ] original , int start , int end ) { int originalLength = original . length ; if ( start > end ) { throw new IllegalArgumentException ( ) ; } if ( start < 0 || start > originalLength ) { throw new ArrayIndexOutOfBoundsException ( ) ; } int resultLength = end - start ; int cop... | public static int [ ] copyOfRange ( int [ ] original , int start , int end ) { if ( start > end ) { throw new System . ArgumentException ( ) ; } int originalLength = original . Length ; if ( start < 0 || start > originalLength ) { throw new System . IndexOutOfRangeException ( ) ; } int resultLength = end - start ; int ... |
public boolean isPeeled ( ) { return false ; } | public override bool IsPeeled ( ) { return false ; } |
public ProgressMonitor getProgressMonitor ( ) { return monitor ; } | public virtual ProgressMonitor GetProgressMonitor ( ) { return monitor ; } |
public Content ( String data ) { setData ( data ) ; } | public Content ( string data ) { _data = data ; } |
public boolean add ( Object o ) { return map . put ( o , PLACEHOLDER ) == null ; } | public virtual bool Add ( object o ) { return map . Put ( o ) ; } |
public String getLockMessage ( ) { return lockMessage ; } | public virtual string GetLockMessage ( ) { return lockMessage ; } |
public E previous ( ) { if ( index > from ) { return ( E ) snapshot [ -- index ] ; } else { throw new NoSuchElementException ( ) ; } } | public virtual E previous ( ) { if ( index > from ) { return ( E ) snapshot [ -- index ] ; } else { throw new java . util . NoSuchElementException ( ) ; } } |
public InviteUsersResult inviteUsers ( InviteUsersRequest request ) { request = beforeClientExecution ( request ) ; return executeInviteUsers ( request ) ; } | public virtual InviteUsersResponse InviteUsers ( InviteUsersRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = InviteUsersRequestMarshaller . Instance ; options . ResponseUnmarshaller = InviteUsersResponseUnmarshaller . Instance ; return Invoke < InviteUsersResponse > ( request , op... |
public boolean lessThan ( ShardRef first , ShardRef second ) { assert first != second ; ScoreDoc firstScoreDoc = shardHits [ first . shardIndex ] [ first . hitIndex ] ; ScoreDoc secondScoreDoc = shardHits [ second . shardIndex ] [ second . hitIndex ] ; if ( firstScoreDoc . score < secondScoreDoc . score ) { return fals... | protected internal override bool LessThan ( ShardRef first , ShardRef second ) { Debug . Assert ( first != second ) ; float firstScore = shardHits [ first . ShardIndex ] [ first . HitIndex ] . Score ; float secondScore = shardHits [ second . ShardIndex ] [ second . HitIndex ] . Score ; if ( firstScore < secondScore ) {... |
public ListSubscriptionsRequest ( String nextToken ) { setNextToken ( nextToken ) ; } | public ListSubscriptionsRequest ( string nextToken ) { _nextToken = nextToken ; } |
public RemoveTagsFromResourceResult removeTagsFromResource ( RemoveTagsFromResourceRequest request ) { request = beforeClientExecution ( request ) ; return executeRemoveTagsFromResource ( request ) ; } | public virtual RemoveTagsFromResourceResponse RemoveTagsFromResource ( RemoveTagsFromResourceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RemoveTagsFromResourceRequestMarshaller . Instance ; options . ResponseUnmarshaller = RemoveTagsFromResourceResponseUnmarshaller . Instance... |
public ListHostedZonesResult listHostedZones ( ) { return listHostedZones ( new ListHostedZonesRequest ( ) ) ; } | public virtual ListHostedZonesResponse ListHostedZones ( ) { return ListHostedZones ( new ListHostedZonesRequest ( ) ) ; } |
public String toString ( ) { StringBuilder sb = new StringBuilder ( 64 ) ; sb . append ( getClass ( ) . getName ( ) ) . append ( " [" ) ; if ( isSemiVolatile ( ) ) { sb . append ( "volatile " ) ; } if ( isSpace ( ) ) { sb . append ( "space count=" ) . append ( ( _data > > 8 ) & 0x00FF ) ; sb . append ( " type=" ) . app... | public override String ToString ( ) { StringBuilder sb = new StringBuilder ( 64 ) ; sb . Append ( GetType ( ) . Name ) . Append ( " [" ) ; if ( IsSemiVolatile ) { sb . Append ( "volatile " ) ; } if ( IsSpace ) { sb . Append ( "space count=" ) . Append ( ( field_2_data > > 8 ) & 0x00FF ) ; sb . Append ( " type=" ) . App... |
public static double stdev ( double [ ] v ) { double r = Double . NaN ; if ( v != null && v . length > 1 ) { r = Math . sqrt ( devsq ( v ) / ( v . length - 1 ) ) ; } return r ; } | public static double stdev ( double [ ] v ) { double r = double . NaN ; if ( v != null && v . Length > 1 ) { r = Math . Sqrt ( devsq ( v ) / ( v . Length - 1 ) ) ; } return r ; } |
public GetVoiceConnectorLoggingConfigurationResult getVoiceConnectorLoggingConfiguration ( GetVoiceConnectorLoggingConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executeGetVoiceConnectorLoggingConfiguration ( request ) ; } | public virtual GetVoiceConnectorLoggingConfigurationResponse GetVoiceConnectorLoggingConfiguration ( GetVoiceConnectorLoggingConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetVoiceConnectorLoggingConfigurationRequestMarshaller . Instance ; options . ResponseUnmarsha... |
public GetQueueUrlResult getQueueUrl ( GetQueueUrlRequest request ) { request = beforeClientExecution ( request ) ; return executeGetQueueUrl ( request ) ; } | public virtual GetQueueUrlResponse GetQueueUrl ( GetQueueUrlRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetQueueUrlRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetQueueUrlResponseUnmarshaller . Instance ; return Invoke < GetQueueUrlResponse > ( request , op... |
public TblPtg ( LittleEndianInput in ) { field_1_first_row = in . readUShort ( ) ; field_2_first_col = in . readUShort ( ) ; } | public TblPtg ( ILittleEndianInput in1 ) { field_1_first_row = in1 . ReadUShort ( ) ; field_2_first_col = in1 . ReadUShort ( ) ; } |
public long ramBytesUsed ( ) { long size = 0 ; for ( PackedInts . Reader reader : subReaders ) { size += reader . ramBytesUsed ( ) ; } return size ; } | public long RamBytesUsed ( ) { long size = 0 ; foreach ( PackedInt32s . Reader reader in subReaders ) { size += reader . RamBytesUsed ( ) ; } return size ; } |
public CreateInternetGatewayResult createInternetGateway ( CreateInternetGatewayRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateInternetGateway ( request ) ; } | public virtual CreateInternetGatewayResponse CreateInternetGateway ( CreateInternetGatewayRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateInternetGatewayRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateInternetGatewayResponseUnmarshaller . Instance ; re... |
public void setInputStream ( IntStream input ) { this . _input = null ; this . _tokenFactorySourcePair = new Pair < TokenSource , CharStream > ( this , _input ) ; reset ( ) ; this . _input = ( CharStream ) input ; this . _tokenFactorySourcePair = new Pair < TokenSource , CharStream > ( this , _input ) ; } | public virtual void SetInputStream ( ICharStream input ) { this . _input = null ; this . _tokenFactorySourcePair = Tuple . Create ( ( ITokenSource ) this , _input ) ; Reset ( ) ; this . _input = input ; this . _tokenFactorySourcePair = Tuple . Create ( ( ITokenSource ) this , _input ) ; } |
public ExpPtg ( int firstRow , int firstCol ) { this . field_1_first_row = firstRow ; this . field_2_first_col = firstCol ; } | public ExpPtg ( int firstRow , int firstCol ) { this . field_1_first_row = ( short ) firstRow ; this . field_2_first_col = ( short ) firstCol ; } |
public int refCount ( ) { final int rc = refCount . get ( ) ; assert rc >= 0 ; return rc ; } | public virtual int RefCount ( ) { int rc = refCount ; Debug . Assert ( rc >= 0 ) ; return rc ; } |
public Object [ ] toArray ( ) { int size = size ( ) , index = 0 ; Iterator < ? > it = iterator ( ) ; Object [ ] array = new Object [ size ] ; while ( index < size ) { array [ index ++ ] = it . next ( ) ; } return array ; } | public virtual object [ ] toArray ( ) { int size_1 = size ( ) ; int index = 0 ; java . util . Iterator < E > it = iterator ( ) ; object [ ] array = new object [ size_1 ] ; while ( index < size_1 ) { array [ index ++ ] = it . next ( ) ; } return array ; } |
public String toString ( ) { return Utils . join ( Arrays . asList ( opnds ) . iterator ( ) , "||" ) ; } | public override string ToString ( ) { return Utils . Join ( "||" , opnds ) ; } |
public boolean anyDeletions ( ) { return deleteQueue . anyChanges ( ) ; } | public bool AnyDeletions ( ) { return deleteQueue . AnyChanges ( ) ; } |
public DoubleBuffer asReadOnlyBuffer ( ) { DoubleToByteBufferAdapter buf = new DoubleToByteBufferAdapter ( byteBuffer . asReadOnlyBuffer ( ) ) ; buf . limit = limit ; buf . position = position ; buf . mark = mark ; buf . byteBuffer . order = byteBuffer . order ; return buf ; } | public override java . nio . DoubleBuffer asReadOnlyBuffer ( ) { java . nio . DoubleToByteBufferAdapter buf = new java . nio . DoubleToByteBufferAdapter ( byteBuffer . asReadOnlyBuffer ( ) ) ; buf . _limit = _limit ; buf . _position = _position ; buf . _mark = _mark ; buf . byteBuffer . _order = byteBuffer . _order ; r... |
public GetTelemetryMetadataResult getTelemetryMetadata ( GetTelemetryMetadataRequest request ) { request = beforeClientExecution ( request ) ; return executeGetTelemetryMetadata ( request ) ; } | public virtual GetTelemetryMetadataResponse GetTelemetryMetadata ( GetTelemetryMetadataRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetTelemetryMetadataRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetTelemetryMetadataResponseUnmarshaller . Instance ; return ... |
public ExternalBookBlock ( RecordStream rs ) { _externalBookRecord = ( SupBookRecord ) rs . getNext ( ) ; List < Object > temp = new ArrayList < > ( ) ; while ( rs . peekNextClass ( ) == ExternalNameRecord . class ) { temp . add ( rs . getNext ( ) ) ; } _externalNameRecords = new ExternalNameRecord [ temp . size ( ) ] ... | public ExternalBookBlock ( RecordStream rs ) { _externalBookRecord = ( SupBookRecord ) rs . GetNext ( ) ; ArrayList temp = new ArrayList ( ) ; while ( rs . PeekNextClass ( ) == typeof ( ExternalNameRecord ) ) { temp . Add ( rs . GetNext ( ) ) ; } _externalNameRecords = ( ExternalNameRecord [ ] ) temp . ToArray ( typeof... |
public StartDeliveryStreamEncryptionResult startDeliveryStreamEncryption ( StartDeliveryStreamEncryptionRequest request ) { request = beforeClientExecution ( request ) ; return executeStartDeliveryStreamEncryption ( request ) ; } | public virtual StartDeliveryStreamEncryptionResponse StartDeliveryStreamEncryption ( StartDeliveryStreamEncryptionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartDeliveryStreamEncryptionRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartDeliveryStreamEncryp... |
public static double getExcelDate ( LocalDateTime date , boolean use1904windowing ) { int year = date . getYear ( ) ; int dayOfYear = date . getDayOfYear ( ) ; int hour = date . getHour ( ) ; int minute = date . getMinute ( ) ; int second = date . getSecond ( ) ; int milliSecond = date . getNano ( ) / 1_000_000 ; retur... | public static double GetExcelDate ( DateTime date , bool use1904windowing ) { if ( ( ! use1904windowing && date . Year < 1900 ) || ( use1904windowing && date . Year < 1904 ) ) { return BAD_DATE ; } DateTime startdate ; if ( use1904windowing ) { startdate = new DateTime ( 1904 , 1 , 1 ) ; } else { startdate = new DateTi... |
public UpdateFleetAttributesResult updateFleetAttributes ( UpdateFleetAttributesRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateFleetAttributes ( request ) ; } | public virtual UpdateFleetAttributesResponse UpdateFleetAttributes ( UpdateFleetAttributesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateFleetAttributesRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateFleetAttributesResponseUnmarshaller . Instance ; re... |
public Explanation idfExplain ( CollectionStatistics collectionStats , TermStatistics termStats ) { final long df = termStats . docFreq ( ) ; final long docCount = collectionStats . docCount ( ) ; final float idf = idf ( df , docCount ) ; return Explanation . match ( idf , "idf(docFreq, docCount)" , Explanation . match... | 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 CreateGroupMembershipResult createGroupMembership ( CreateGroupMembershipRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateGroupMembership ( request ) ; } | public virtual CreateGroupMembershipResponse CreateGroupMembership ( CreateGroupMembershipRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateGroupMembershipRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateGroupMembershipResponseUnmarshaller . Instance ; re... |
public GrowableWriter ( int startBitsPerValue , int valueCount , float acceptableOverheadRatio ) { this . acceptableOverheadRatio = acceptableOverheadRatio ; current = PackedInts . getMutable ( valueCount , startBitsPerValue , this . acceptableOverheadRatio ) ; currentMask = mask ( current . getBitsPerValue ( ) ) ; } | public GrowableWriter ( int startBitsPerValue , int valueCount , float acceptableOverheadRatio ) { this . acceptableOverheadRatio = acceptableOverheadRatio ; current = PackedInt32s . GetMutable ( valueCount , startBitsPerValue , this . acceptableOverheadRatio ) ; currentMask = Mask ( current . BitsPerValue ) ; } |
public AddJobFlowStepsResult addJobFlowSteps ( AddJobFlowStepsRequest request ) { request = beforeClientExecution ( request ) ; return executeAddJobFlowSteps ( request ) ; } | public virtual AddJobFlowStepsResponse AddJobFlowSteps ( AddJobFlowStepsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AddJobFlowStepsRequestMarshaller . Instance ; options . ResponseUnmarshaller = AddJobFlowStepsResponseUnmarshaller . Instance ; return Invoke < AddJobFlowStepsR... |
public RecalcIdRecord ( ) { _reserved0 = 0 ; _engineId = 0 ; } | public RecalcIdRecord ( ) { _reserved0 = 0 ; _engineId = 0 ; } |
public boolean matches ( ) { matchFound = matchesImpl ( address , input , matchOffsets ) ; if ( matchFound ) { findPos = matchOffsets [ 1 ] ; } return matchFound ; } | public bool matches ( ) { matchFound = matchesImpl ( address , input , matchOffsets ) ; if ( matchFound ) { findPos = matchOffsets [ 1 ] ; } return matchFound ; } |
public FieldMaskingSpanQuery ( SpanQuery maskedQuery , String maskedField ) { this . maskedQuery = Objects . requireNonNull ( maskedQuery ) ; this . field = Objects . requireNonNull ( maskedField ) ; } | public FieldMaskingSpanQuery ( SpanQuery maskedQuery , string maskedField ) { this . maskedQuery = maskedQuery ; this . field = maskedField ; } |
public void print ( float fnum ) { print ( String . valueOf ( fnum ) ) ; } | public virtual void print ( float fnum ) { print ( fnum . ToString ( ) ) ; } |
public int addBSERecord ( EscherBSERecord e ) { createDrawingGroup ( ) ; escherBSERecords . add ( e ) ; int dgLoc = findFirstRecordLocBySid ( DrawingGroupRecord . sid ) ; DrawingGroupRecord drawingGroup = ( DrawingGroupRecord ) getRecords ( ) . get ( dgLoc ) ; EscherContainerRecord dggContainer = ( EscherContainerRecor... | public int AddBSERecord ( EscherBSERecord e ) { CreateDrawingGroup ( ) ; escherBSERecords . Add ( e ) ; int dgLoc = FindFirstRecordLocBySid ( DrawingGroupRecord . sid ) ; DrawingGroupRecord drawingGroup = ( DrawingGroupRecord ) Records [ dgLoc ] ; EscherContainerRecord dggContainer = ( EscherContainerRecord ) drawingGr... |
public CreateLoadBalancerListenersRequest ( String loadBalancerName , java . util . List < Listener > listeners ) { setLoadBalancerName ( loadBalancerName ) ; setListeners ( listeners ) ; } | public CreateLoadBalancerListenersRequest ( string loadBalancerName , List < Listener > listeners ) { _loadBalancerName = loadBalancerName ; _listeners = listeners ; } |
public DeleteDBClusterEndpointResult deleteDBClusterEndpoint ( DeleteDBClusterEndpointRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteDBClusterEndpoint ( request ) ; } | public virtual DeleteDBClusterEndpointResponse DeleteDBClusterEndpoint ( DeleteDBClusterEndpointRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteDBClusterEndpointRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteDBClusterEndpointResponseUnmarshaller . Ins... |
public DescribeIngestionResult describeIngestion ( DescribeIngestionRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeIngestion ( request ) ; } | public virtual DescribeIngestionResponse DescribeIngestion ( DescribeIngestionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeIngestionRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeIngestionResponseUnmarshaller . Instance ; return Invoke < Descri... |
public PutCompositeAlarmResult putCompositeAlarm ( PutCompositeAlarmRequest request ) { request = beforeClientExecution ( request ) ; return executePutCompositeAlarm ( request ) ; } | public virtual PutCompositeAlarmResponse PutCompositeAlarm ( PutCompositeAlarmRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutCompositeAlarmRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutCompositeAlarmResponseUnmarshaller . Instance ; return Invoke < PutCom... |
public Collection < ParseTree > evaluate ( ParseTree t ) { List < ParseTree > nodes = new ArrayList < ParseTree > ( ) ; for ( Tree c : Trees . getChildren ( t ) ) { if ( c instanceof ParserRuleContext ) { ParserRuleContext ctx = ( ParserRuleContext ) c ; if ( ( ctx . getRuleIndex ( ) == ruleIndex && ! invert ) || ( ctx... | public override ICollection < IParseTree > Evaluate ( IParseTree t ) { IList < IParseTree > nodes = new List < IParseTree > ( ) ; foreach ( ITree c in Trees . GetChildren ( t ) ) { if ( c is ParserRuleContext ) { ParserRuleContext ctx = ( ParserRuleContext ) c ; if ( ( ctx . RuleIndex == ruleIndex && ! invert ) || ( ct... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.