question stringlengths 33 1.59k | target stringlengths 33 1.58k |
|---|---|
public NormValueSource ( String field ) { this . field = field ; } | public NormValueSource ( string field ) { this . m_field = field ; } |
public static boolean equalsIgnoreCase ( String a , String b ) { if ( References . isSameObject ( a , b ) ) { return true ; } if ( a . length ( ) != b . length ( ) ) return false ; for ( int i = 0 ; i < a . length ( ) ; i ++ ) { if ( toLowerCase ( a . charAt ( i ) ) != toLowerCase ( b . charAt ( i ) ) ) return false ; } return true ; } | public static bool EqualsIgnoreCase ( string a , string b ) { if ( a == b ) { return true ; } if ( a . Length != b . Length ) { return false ; } for ( int i = 0 ; i < a . Length ; i ++ ) { if ( ToLowerCase ( a [ i ] ) != ToLowerCase ( b [ i ] ) ) { return false ; } } return true ; } |
public String getName ( ) { return attributes . getName ( ) ; } | public override string GetName ( ) { return file . GetName ( ) ; } |
public float getDistance ( String s1 , String s2 ) { int [ ] mtp = matches ( s1 , s2 ) ; float m = mtp [ 0 ] ; if ( m == 0 ) { return 0f ; } float j = ( ( m / s1 . length ( ) + m / s2 . length ( ) + ( m - mtp [ 1 ] ) / m ) ) / 3 ; float jw = j < getThreshold ( ) ? j : j + Math . min ( 0.1f , 1f / mtp [ 3 ] ) * mtp [ 2 ] * ( 1 - j ) ; return jw ; } | public virtual float GetDistance ( string s1 , string s2 ) { int [ ] mtp = Matches ( s1 , s2 ) ; float m = mtp [ 0 ] ; if ( m == 0 ) { return 0f ; } float j = ( ( m / s1 . Length + m / s2 . Length + ( m - mtp [ 1 ] ) / m ) ) / 3 ; float jw = j < Threshold ? j : j + Math . Min ( 0.1f , 1f / mtp [ 3 ] ) * mtp [ 2 ] * ( 1 - j ) ; return jw ; } |
public TokenGroup ( TokenStream tokenStream ) { offsetAtt = tokenStream . addAttribute ( OffsetAttribute . class ) ; termAtt = tokenStream . addAttribute ( CharTermAttribute . class ) ; } | public TokenGroup ( TokenStream tokenStream ) { offsetAtt = tokenStream . AddAttribute < IOffsetAttribute > ( ) ; termAtt = tokenStream . AddAttribute < ICharTermAttribute > ( ) ; } |
public String getString ( int i ) { return getString ( i , i + 1 , true ) ; } | public virtual string GetString ( int i ) { return GetString ( i , i + 1 , true ) ; } |
public int getCountRead ( ) { return _countRead ; } | public int GetCountRead ( ) { return _countRead ; } |
public CreateNetworkAclEntryResult createNetworkAclEntry ( CreateNetworkAclEntryRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateNetworkAclEntry ( request ) ; } | public virtual CreateNetworkAclEntryResponse CreateNetworkAclEntry ( CreateNetworkAclEntryRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateNetworkAclEntryRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateNetworkAclEntryResponseUnmarshaller . Instance ; return Invoke < CreateNetworkAclEntryResponse > ( request , options ) ; } |
public BreakIteratorBoundaryScanner ( BreakIterator bi ) { this . bi = bi ; } | public BreakIteratorBoundaryScanner ( BreakIterator bi ) { this . bi = bi ; } |
public int getOffsetGap ( String fieldName ) { return getWrappedAnalyzer ( fieldName ) . getOffsetGap ( fieldName ) ; } | public override int GetOffsetGap ( string fieldName ) { return GetWrappedAnalyzer ( fieldName ) . GetOffsetGap ( fieldName ) ; } |
public static double [ ] grow ( double [ ] array ) { return grow ( array , 1 + array . length ) ; } | public static float [ ] Grow ( float [ ] array ) { return Grow ( array , 1 + array . Length ) ; } |
public ParseException ( Token currentTokenVal , int [ ] [ ] expectedTokenSequencesVal , String [ ] tokenImageVal ) { super ( initialise ( currentTokenVal , expectedTokenSequencesVal , tokenImageVal ) ) ; currentToken = currentTokenVal ; expectedTokenSequences = expectedTokenSequencesVal ; tokenImage = tokenImageVal ; } | public ParseException ( Token currentTokenVal , int [ ] [ ] expectedTokenSequencesVal , string [ ] tokenImageVal ) : base ( new Message ( QueryParserMessages . INVALID_SYNTAX , Initialize ( currentTokenVal , expectedTokenSequencesVal , tokenImageVal ) ) ) { this . CurrentToken = currentTokenVal ; this . ExpectedTokenSequences = expectedTokenSequencesVal ; this . TokenImage = tokenImageVal ; } |
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[PLOTAREA]\n" ) ; buffer . append ( "[/PLOTAREA]\n" ) ; return buffer . toString ( ) ; } | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[PLOTAREA]\n" ) ; buffer . Append ( "[/PLOTAREA]\n" ) ; return buffer . ToString ( ) ; } |
public DescribeClustersResult describeClusters ( ) { return describeClusters ( new DescribeClustersRequest ( ) ) ; } | public virtual DescribeClustersResponse DescribeClusters ( ) { return DescribeClusters ( new DescribeClustersRequest ( ) ) ; } |
public void setDoubleValue ( double value ) { super . setLongValue ( Double . doubleToRawLongBits ( value ) ) ; } | public override void SetDoubleValue ( double value ) { base . SetInt64Value ( J2N . BitConversion . DoubleToRawInt64Bits ( value ) ) ; } |
public CreateSolutionResult createSolution ( CreateSolutionRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateSolution ( request ) ; } | public virtual CreateSolutionResponse CreateSolution ( CreateSolutionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateSolutionRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateSolutionResponseUnmarshaller . Instance ; return Invoke < CreateSolutionResponse > ( request , options ) ; } |
public static Packed64SingleBlock create ( int valueCount , int bitsPerValue ) { switch ( bitsPerValue ) { case 1 : return new Packed64SingleBlock1 ( valueCount ) ; case 2 : return new Packed64SingleBlock2 ( valueCount ) ; case 3 : return new Packed64SingleBlock3 ( valueCount ) ; case 4 : return new Packed64SingleBlock4 ( valueCount ) ; case 5 : return new Packed64SingleBlock5 ( valueCount ) ; case 6 : return new Packed64SingleBlock6 ( valueCount ) ; case 7 : return new Packed64SingleBlock7 ( valueCount ) ; case 8 : return new Packed64SingleBlock8 ( valueCount ) ; case 9 : return new Packed64SingleBlock9 ( valueCount ) ; case 10 : return new Packed64SingleBlock10 ( valueCount ) ; case 12 : return new Packed64SingleBlock12 ( valueCount ) ; case 16 : return new Packed64SingleBlock16 ( valueCount ) ; case 21 : return new Packed64SingleBlock21 ( valueCount ) ; case 32 : return new Packed64SingleBlock32 ( valueCount ) ; default : throw new IllegalArgumentException ( "Unsupported number of bits per value: " + 32 ) ; } } | public static Packed64SingleBlock Create ( int valueCount , int bitsPerValue ) { switch ( bitsPerValue ) { case 1 : return new Packed64SingleBlock1 ( valueCount ) ; case 2 : return new Packed64SingleBlock2 ( valueCount ) ; case 3 : return new Packed64SingleBlock3 ( valueCount ) ; case 4 : return new Packed64SingleBlock4 ( valueCount ) ; case 5 : return new Packed64SingleBlock5 ( valueCount ) ; case 6 : return new Packed64SingleBlock6 ( valueCount ) ; case 7 : return new Packed64SingleBlock7 ( valueCount ) ; case 8 : return new Packed64SingleBlock8 ( valueCount ) ; case 9 : return new Packed64SingleBlock9 ( valueCount ) ; case 10 : return new Packed64SingleBlock10 ( valueCount ) ; case 12 : return new Packed64SingleBlock12 ( valueCount ) ; case 16 : return new Packed64SingleBlock16 ( valueCount ) ; case 21 : return new Packed64SingleBlock21 ( valueCount ) ; case 32 : return new Packed64SingleBlock32 ( valueCount ) ; default : throw new System . ArgumentException ( "Unsupported number of bits per value: " + 32 ) ; } } |
public FieldAndTerm clone ( ) { return new FieldAndTerm ( this ) ; } | public override object Clone ( ) { return new FieldAndTerm ( this ) ; } |
public DescribeAlgorithmResult describeAlgorithm ( DescribeAlgorithmRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeAlgorithm ( request ) ; } | public virtual DescribeAlgorithmResponse DescribeAlgorithm ( DescribeAlgorithmRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeAlgorithmRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeAlgorithmResponseUnmarshaller . Instance ; return Invoke < DescribeAlgorithmResponse > ( request , options ) ; } |
public InvalidClassException ( String className , String detailMessage ) { super ( detailMessage ) ; this . classname = className ; } | public InvalidClassException ( string className , string detailMessage ) : base ( detailMessage ) { this . classname = className ; } |
public ExportTransitGatewayRoutesResult exportTransitGatewayRoutes ( ExportTransitGatewayRoutesRequest request ) { request = beforeClientExecution ( request ) ; return executeExportTransitGatewayRoutes ( request ) ; } | public virtual ExportTransitGatewayRoutesResponse ExportTransitGatewayRoutes ( ExportTransitGatewayRoutesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ExportTransitGatewayRoutesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ExportTransitGatewayRoutesResponseUnmarshaller . Instance ; return Invoke < ExportTransitGatewayRoutesResponse > ( request , options ) ; } |
public TokenStream create ( TokenStream input ) { final TokenStream filter = new TypeTokenFilter ( input , stopTypes , useWhitelist ) ; return filter ; } | public override TokenStream Create ( TokenStream input ) { TokenStream filter = new TypeTokenFilter ( m_luceneMatchVersion , enablePositionIncrements , input , stopTypes , useWhitelist ) ; return filter ; } |
public final void yyreset ( java . io . Reader reader ) { zzReader = reader ; zzAtBOL = true ; zzAtEOF = false ; zzEOFDone = false ; zzEndRead = zzStartRead = 0 ; zzCurrentPos = zzMarkedPos = 0 ; zzFinalHighSurrogate = 0 ; yyline = yychar = yycolumn = 0 ; zzLexicalState = YYINITIAL ; if ( zzBuffer . length > ZZ_BUFFERSIZE ) zzBuffer = new char [ ZZ_BUFFERSIZE ] ; } | public void YyReset ( TextReader reader ) { zzReader = reader ; zzAtBOL = true ; zzAtEOF = false ; zzEOFDone = false ; zzEndRead = zzStartRead = 0 ; zzCurrentPos = zzMarkedPos = 0 ; yyline = yychar = yycolumn = 0 ; zzLexicalState = YYINITIAL ; if ( zzBuffer . Length > ZZ_BUFFERSIZE ) zzBuffer = new char [ ZZ_BUFFERSIZE ] ; } |
public int compareTo ( SegmentInfoAndLevel other ) { return Float . compare ( other . level , level ) ; } | public virtual int CompareTo ( SegmentInfoAndLevel other ) { return other . level . CompareTo ( level ) ; } |
public FrenchMinimalStemFilterFactory ( Map < String , String > args ) { super ( args ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } } | public FrenchMinimalStemFilterFactory ( IDictionary < string , string > args ) : base ( args ) { if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } } |
public AreaErrPtg ( LittleEndianInput in ) { unused1 = in . readInt ( ) ; unused2 = in . readInt ( ) ; } | public AreaErrPtg ( ILittleEndianInput in1 ) { unused1 = in1 . ReadInt ( ) ; unused2 = in1 . ReadInt ( ) ; } |
public String getRemoteTrackingBranch ( ) { return remoteTrackingBranch ; } | public virtual string GetRemoteTrackingBranch ( ) { return remoteTrackingBranch ; } |
public boolean equals ( Object obj ) { if ( this == obj ) return true ; if ( obj == null ) return false ; if ( getClass ( ) != obj . getClass ( ) ) return false ; FieldVals other = ( FieldVals ) obj ; if ( fieldName == null ) { if ( other . fieldName != null ) return false ; } else if ( ! fieldName . equals ( other . fieldName ) ) return false ; if ( maxEdits != other . maxEdits ) { return false ; } if ( prefixLength != other . prefixLength ) return false ; if ( queryString == null ) { return other . queryString == null ; } else return queryString . equals ( other . queryString ) ; } | public override bool Equals ( object obj ) { if ( this == obj ) return true ; if ( obj == null ) return false ; if ( GetType ( ) != obj . GetType ( ) ) return false ; FieldVals other = ( FieldVals ) obj ; if ( fieldName == null ) { if ( other . fieldName != null ) return false ; } else if ( ! fieldName . Equals ( other . fieldName , StringComparison . Ordinal ) ) return false ; if ( J2N . BitConversion . SingleToInt32Bits ( minSimilarity ) != J2N . BitConversion . SingleToInt32Bits ( other . minSimilarity ) ) return false ; if ( prefixLength != other . prefixLength ) return false ; if ( queryString == null ) { if ( other . queryString != null ) return false ; } else if ( ! queryString . Equals ( other . queryString , StringComparison . Ordinal ) ) return false ; return true ; } |
public void setMaxChainLength ( int maxLen ) { maxChainLength = maxLen ; } | public virtual void SetMaxChainLength ( int maxLen ) { maxChainLength = maxLen ; } |
public DeleteReusableDelegationSetResult deleteReusableDelegationSet ( DeleteReusableDelegationSetRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteReusableDelegationSet ( request ) ; } | public virtual DeleteReusableDelegationSetResponse DeleteReusableDelegationSet ( DeleteReusableDelegationSetRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteReusableDelegationSetRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteReusableDelegationSetResponseUnmarshaller . Instance ; return Invoke < DeleteReusableDelegationSetResponse > ( request , options ) ; } |
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[HEADER]\n" ) ; buffer . append ( " .header = " ) . append ( getText ( ) ) . append ( "\n" ) ; buffer . append ( "[/HEADER]\n" ) ; return buffer . toString ( ) ; } | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[HEADER]\n" ) ; buffer . Append ( " .header = " ) . Append ( Text ) . Append ( "\n" ) ; buffer . Append ( "[/HEADER]\n" ) ; return buffer . ToString ( ) ; } |
public void writeStringData ( String text ) { boolean is16bitEncoded = StringUtil . hasMultibyte ( text ) ; int keepTogetherSize = 1 + 1 ; int optionFlags = 0x00 ; if ( is16bitEncoded ) { optionFlags |= 0x01 ; keepTogetherSize += 1 ; } writeContinueIfRequired ( keepTogetherSize ) ; writeByte ( optionFlags ) ; writeCharacterData ( text , is16bitEncoded ) ; } | public void WriteStringData ( String text ) { bool is16bitEncoded = StringUtil . HasMultibyte ( text ) ; int keepTogetherSize = 1 + 1 ; int optionFlags = 0x00 ; if ( is16bitEncoded ) { optionFlags |= 0x01 ; keepTogetherSize += 1 ; } WriteContinueIfRequired ( keepTogetherSize ) ; WriteByte ( optionFlags ) ; WriteCharacterData ( text , is16bitEncoded ) ; } |
public void nextBuffer ( ) { if ( 1 + bufferUpto == buffers . length ) { byte [ ] [ ] newBuffers = new byte [ ArrayUtil . oversize ( buffers . length + 1 , NUM_BYTES_OBJECT_REF ) ] [ ] ; System . arraycopy ( buffers , 0 , newBuffers , 0 , buffers . length ) ; buffers = newBuffers ; } buffer = buffers [ 1 + bufferUpto ] = allocator . getByteBlock ( ) ; bufferUpto ++ ; byteUpto = 0 ; byteOffset += BYTE_BLOCK_SIZE ; } | public void NextBuffer ( ) { if ( 1 + bufferUpto == buffers . Length ) { var newBuffers = new byte [ ArrayUtil . Oversize ( buffers . Length + 1 , RamUsageEstimator . NUM_BYTES_OBJECT_REF ) ] [ ] ; Array . Copy ( buffers , 0 , newBuffers , 0 , buffers . Length ) ; buffers = newBuffers ; } buffer = buffers [ 1 + bufferUpto ] = allocator . GetByteBlock ( ) ; bufferUpto ++ ; ByteUpto = 0 ; ByteOffset += BYTE_BLOCK_SIZE ; } |
public LruTaxonomyWriterCache ( int cacheSize , LRUType lruType ) { if ( lruType == LRUType . LRU_HASHED ) { this . cache = new NameHashIntCacheLRU ( cacheSize ) ; } else { this . cache = new NameIntCacheLRU ( cacheSize ) ; } } | public LruTaxonomyWriterCache ( int cacheSize , LRUType lruType ) { if ( lruType == LRUType . LRU_HASHED ) { this . cache = new NameHashInt32CacheLRU ( cacheSize ) ; } else { this . cache = new NameInt32CacheLRU ( cacheSize ) ; } } |
public boolean isShowSeriesKey ( ) { return showSeriesKey . isSet ( field_1_options ) ; } | public bool IsShowSeriesKey ( ) { return showSeriesKey . IsSet ( field_1_options ) ; } |
public static String toHex ( final byte [ ] value ) { StringBuilder retVal = new StringBuilder ( ) ; retVal . append ( '[' ) ; if ( value != null && value . length > 0 ) { for ( int x = 0 ; x < value . length ; x ++ ) { if ( x > 0 ) { retVal . append ( ", " ) ; } retVal . append ( toHex ( value [ x ] ) ) ; } } retVal . append ( ']' ) ; return retVal . toString ( ) ; } | public static string ToHex ( byte [ ] value ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( '[' ) ; for ( int i = 0 ; i < value . Length ; i ++ ) { if ( i > 0 ) { buffer . Append ( ", " ) ; } buffer . Append ( ToHex ( value [ i ] ) ) ; } buffer . Append ( ']' ) ; return buffer . ToString ( ) ; } |
public void write ( LittleEndianOutput out ) { out . writeByte ( sid + getPtgClass ( ) ) ; out . writeShort ( field_1_index_extern_sheet ) ; writeCoordinates ( out ) ; } | public override void Write ( ILittleEndianOutput out1 ) { out1 . WriteByte ( sid + PtgClass ) ; out1 . WriteShort ( field_1_index_extern_sheet ) ; WriteCoordinates ( out1 ) ; } |
public void flush ( ) { writer . flush ( ) ; } | public void flush ( ) { _writer . flush ( ) ; } |
public UsernamePasswordCredentialsProvider ( String username , char [ ] password ) { this . username = username ; this . password = password ; } | public UsernamePasswordCredentialsProvider ( string username , char [ ] password ) { this . username = username ; this . password = password ; } |
public final List < String > getFooterLines ( FooterKey keyName ) { final List < FooterLine > src = getFooterLines ( ) ; if ( src . isEmpty ( ) ) return Collections . emptyList ( ) ; final ArrayList < String > r = new ArrayList < > ( src . size ( ) ) ; for ( FooterLine f : src ) { if ( f . matches ( keyName ) ) r . add ( f . getValue ( ) ) ; } return r ; } | public IList < string > GetFooterLines ( FooterKey keyName ) { IList < FooterLine > src = GetFooterLines ( ) ; if ( src . IsEmpty ( ) ) { return Sharpen . Collections . EmptyList < string > ( ) ; } AList < string > r = new AList < string > ( src . Count ) ; foreach ( FooterLine f in src ) { if ( f . Matches ( keyName ) ) { r . AddItem ( f . GetValue ( ) ) ; } } return r ; } |
public ActivityTaskStatus recordActivityTaskHeartbeat ( RecordActivityTaskHeartbeatRequest request ) { request = beforeClientExecution ( request ) ; return executeRecordActivityTaskHeartbeat ( request ) ; } | public virtual RecordActivityTaskHeartbeatResponse RecordActivityTaskHeartbeat ( RecordActivityTaskHeartbeatRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RecordActivityTaskHeartbeatRequestMarshaller . Instance ; options . ResponseUnmarshaller = RecordActivityTaskHeartbeatResponseUnmarshaller . Instance ; return Invoke < RecordActivityTaskHeartbeatResponse > ( request , options ) ; } |
public DescribeStepResult describeStep ( DescribeStepRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeStep ( request ) ; } | public virtual DescribeStepResponse DescribeStep ( DescribeStepRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeStepRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeStepResponseUnmarshaller . Instance ; return Invoke < DescribeStepResponse > ( request , options ) ; } |
public DeleteMessageBatchResult deleteMessageBatch ( String queueUrl , java . util . List < DeleteMessageBatchRequestEntry > entries ) { return deleteMessageBatch ( new DeleteMessageBatchRequest ( ) . withQueueUrl ( queueUrl ) . withEntries ( entries ) ) ; } | public virtual DeleteMessageBatchResponse DeleteMessageBatch ( string queueUrl , List < DeleteMessageBatchRequestEntry > entries ) { var request = new DeleteMessageBatchRequest ( ) ; request . QueueUrl = queueUrl ; request . Entries = entries ; return DeleteMessageBatch ( request ) ; } |
public QueryScorer ( Query query , IndexReader reader , String field ) { init ( query , field , reader , true ) ; } | public QueryScorer ( Query query , IndexReader reader , string field ) { Init ( query , field , reader , true ) ; } |
public CreateVpcPeeringAuthorizationResult createVpcPeeringAuthorization ( CreateVpcPeeringAuthorizationRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateVpcPeeringAuthorization ( request ) ; } | public virtual CreateVpcPeeringAuthorizationResponse CreateVpcPeeringAuthorization ( CreateVpcPeeringAuthorizationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateVpcPeeringAuthorizationRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateVpcPeeringAuthorizationResponseUnmarshaller . Instance ; return Invoke < CreateVpcPeeringAuthorizationResponse > ( request , options ) ; } |
public boolean contains ( Object object ) { if ( object != null ) { for ( E element : a ) { if ( object . equals ( element ) ) { return true ; } } } else { for ( E element : a ) { if ( element == null ) { return true ; } } } return false ; } | public override bool contains ( object @ object ) { if ( @ object != null ) { foreach ( E element in a ) { if ( @ object . Equals ( element ) ) { return true ; } } } else { foreach ( E element in a ) { if ( ( object ) element == null ) { return true ; } } } return false ; } |
public DescribeDBSubnetGroupsResult describeDBSubnetGroups ( DescribeDBSubnetGroupsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeDBSubnetGroups ( request ) ; } | public virtual DescribeDBSubnetGroupsResponse DescribeDBSubnetGroups ( DescribeDBSubnetGroupsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeDBSubnetGroupsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeDBSubnetGroupsResponseUnmarshaller . Instance ; return Invoke < DescribeDBSubnetGroupsResponse > ( request , options ) ; } |
public JobFlowExecutionStatusDetail ( JobFlowExecutionState state , java . util . Date creationDateTime ) { setState ( state . toString ( ) ) ; setCreationDateTime ( creationDateTime ) ; } | public JobFlowExecutionStatusDetail ( JobFlowExecutionState state , DateTime creationDateTime ) { _state = state ; _creationDateTime = creationDateTime ; } |
public String toString ( ) { return "more" ; } | public override string ToString ( ) { return "more" ; } |
public KeyValue ( String key , String value ) { setKey ( key ) ; setValue ( value ) ; } | public KeyValue ( string key , string value ) { _key = key ; _value = value ; } |
public void balancedTree ( Object [ ] tokens , Object [ ] vals , int lo , int hi , TernaryTreeNode root ) { if ( lo > hi ) return ; int mid = ( lo + hi ) / 2 ; root = insert ( root , ( String ) tokens [ mid ] , vals [ mid ] , 0 ) ; balancedTree ( tokens , vals , lo , mid - 1 , root ) ; balancedTree ( tokens , vals , mid + 1 , hi , root ) ; } | public virtual void BalancedTree ( object [ ] tokens , object [ ] vals , int lo , int hi , TernaryTreeNode root ) { if ( lo > hi ) { return ; } int mid = ( lo + hi ) / 2 ; root = Insert ( root , ( string ) tokens [ mid ] , vals [ mid ] , 0 ) ; BalancedTree ( tokens , vals , lo , mid - 1 , root ) ; BalancedTree ( tokens , vals , mid + 1 , hi , root ) ; } |
public PlotAreaRecord clone ( ) { return copy ( ) ; } | public override Object Clone ( ) { PlotAreaRecord rec = new PlotAreaRecord ( ) ; return rec ; } |
public DeleteSecurityConfigurationResult deleteSecurityConfiguration ( DeleteSecurityConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteSecurityConfiguration ( request ) ; } | public virtual DeleteSecurityConfigurationResponse DeleteSecurityConfiguration ( DeleteSecurityConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteSecurityConfigurationRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteSecurityConfigurationResponseUnmarshaller . Instance ; return Invoke < DeleteSecurityConfigurationResponse > ( request , options ) ; } |
@ Override public String toString ( ) { return mapEntry . toString ( ) ; } | public override string ToString ( ) { return mapEntry . ToString ( ) ; } |
public byte [ ] getCachedBytes ( int sizeLimit ) throws LargeObjectException , MissingObjectException , IOException { if ( ! isLarge ( ) ) return getCachedBytes ( ) ; try ( ObjectStream in = openStream ( ) ) { long sz = in . getSize ( ) ; if ( sizeLimit < sz ) throw new LargeObjectException . ExceedsLimit ( sizeLimit , sz ) ; if ( Integer . MAX_VALUE < sz ) throw new LargeObjectException . ExceedsByteArrayLimit ( ) ; byte [ ] buf ; try { buf = new byte [ ( int ) sz ] ; } catch ( OutOfMemoryError notEnoughHeap ) { throw new LargeObjectException . OutOfMemory ( notEnoughHeap ) ; } IO . readFully ( in , buf , 0 , buf . length ) ; return buf ; } } | public virtual byte [ ] GetCachedBytes ( int sizeLimit ) { if ( ! IsLarge ( ) ) { return GetCachedBytes ( ) ; } ObjectStream @ in = OpenStream ( ) ; try { long sz = @ in . GetSize ( ) ; if ( sizeLimit < sz ) { throw new LargeObjectException . ExceedsLimit ( sizeLimit , sz ) ; } if ( int . MaxValue < sz ) { throw new LargeObjectException . ExceedsByteArrayLimit ( ) ; } byte [ ] buf ; try { buf = new byte [ ( int ) sz ] ; } catch ( OutOfMemoryException notEnoughHeap ) { throw new LargeObjectException . OutOfMemory ( notEnoughHeap ) ; } IOUtil . ReadFully ( @ in , buf , 0 , buf . Length ) ; return buf ; } finally { @ in . Close ( ) ; } } |
public ListJobsByStatusResult listJobsByStatus ( ListJobsByStatusRequest request ) { request = beforeClientExecution ( request ) ; return executeListJobsByStatus ( request ) ; } | public virtual ListJobsByStatusResponse ListJobsByStatus ( ListJobsByStatusRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListJobsByStatusRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListJobsByStatusResponseUnmarshaller . Instance ; return Invoke < ListJobsByStatusResponse > ( request , options ) ; } |
public UpdateClusterVersionResult updateClusterVersion ( UpdateClusterVersionRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateClusterVersion ( request ) ; } | public virtual UpdateClusterVersionResponse UpdateClusterVersion ( UpdateClusterVersionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateClusterVersionRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateClusterVersionResponseUnmarshaller . Instance ; return Invoke < UpdateClusterVersionResponse > ( request , options ) ; } |
public PushCommand setForce ( boolean force ) { checkCallable ( ) ; this . force = force ; return this ; } | public virtual NGit . Api . PushCommand SetForce ( bool force ) { CheckCallable ( ) ; this . force = force ; return this ; } |
public ListStreamsResult listStreams ( ListStreamsRequest request ) { request = beforeClientExecution ( request ) ; return executeListStreams ( request ) ; } | public virtual ListStreamsResponse ListStreams ( ListStreamsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListStreamsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListStreamsResponseUnmarshaller . Instance ; return Invoke < ListStreamsResponse > ( request , options ) ; } |
public boolean wasEscaped ( int index ) { return this . wasEscaped [ index ] ; } | public bool WasEscaped ( int index ) { return this . wasEscaped [ index ] ; } |
public void setNewObjectId ( AnyObjectId id ) { newValue = id . copy ( ) ; } | public virtual void SetNewObjectId ( AnyObjectId id ) { newValue = id . Copy ( ) ; } |
public BatchRefUpdate newBatchUpdate ( ) { return new BatchRefUpdate ( this ) ; } | public virtual BatchRefUpdate NewBatchUpdate ( ) { return new BatchRefUpdate ( this ) ; } |
public String toString ( ) { return getClass ( ) . getSimpleName ( ) + "(fields=" + fields . size ( ) + ",delegate=" + postingsReader + ")" ; } | public override string ToString ( ) { return "arc=" + arc + " state=" + state ; } |
public CreateTrafficMirrorFilterRuleResult createTrafficMirrorFilterRule ( CreateTrafficMirrorFilterRuleRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateTrafficMirrorFilterRule ( request ) ; } | public virtual CreateTrafficMirrorFilterRuleResponse CreateTrafficMirrorFilterRule ( CreateTrafficMirrorFilterRuleRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateTrafficMirrorFilterRuleRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateTrafficMirrorFilterRuleResponseUnmarshaller . Instance ; return Invoke < CreateTrafficMirrorFilterRuleResponse > ( request , options ) ; } |
public SendEventResult sendEvent ( SendEventRequest request ) { request = beforeClientExecution ( request ) ; return executeSendEvent ( request ) ; } | public virtual SendEventResponse SendEvent ( SendEventRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SendEventRequestMarshaller . Instance ; options . ResponseUnmarshaller = SendEventResponseUnmarshaller . Instance ; return Invoke < SendEventResponse > ( request , options ) ; } |
public MissingRowDummyRecord ( int rowNumber ) { this . rowNumber = rowNumber ; } | public MissingRowDummyRecord ( int rowNumber ) { this . rowNumber = rowNumber ; } |
public final int getLengthB ( ) { return endB - beginB ; } | public int GetLengthB ( ) { return endB - beginB ; } |
public void decode ( long [ ] blocks , int blocksOffset , int [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { final long block = blocks [ blocksOffset ++ ] ; for ( int shift = 63 ; shift >= 0 ; shift -= 1 ) { values [ valuesOffset ++ ] = ( int ) ( ( block > > > shift ) & 1 ) ; } } } | public override void Decode ( long [ ] blocks , int blocksOffset , int [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { long block = blocks [ blocksOffset ++ ] ; for ( int shift = 63 ; shift >= 0 ; shift -= 1 ) { values [ valuesOffset ++ ] = ( int ) ( ( ( long ) ( ( ulong ) block > > shift ) ) & 1 ) ; } } } |
public void writeInt ( int value ) throws IOException { checkWritePrimitiveTypes ( ) ; primitiveTypes . writeInt ( value ) ; } | public virtual void writeInt ( int value ) { throw new System . NotImplementedException ( ) ; } |
public ByteBuffer putInt ( int index , int value ) { throw new ReadOnlyBufferException ( ) ; } | public override java . nio . ByteBuffer putInt ( int index , int value ) { throw new System . NotImplementedException ( ) ; } |
public K next ( ) { return super . nextEntry ( ) . getKey ( ) ; } | public override K next ( ) { return this . nextEntry ( ) . key ; } |
public RenameDetectionType getRenameDetectionType ( ) { return renameDetectionType ; } | public virtual DiffConfig . RenameDetectionType GetRenameDetectionType ( ) { return renameDetectionType ; } |
public ReplaceNetworkAclAssociationResult replaceNetworkAclAssociation ( ReplaceNetworkAclAssociationRequest request ) { request = beforeClientExecution ( request ) ; return executeReplaceNetworkAclAssociation ( request ) ; } | public virtual ReplaceNetworkAclAssociationResponse ReplaceNetworkAclAssociation ( ReplaceNetworkAclAssociationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ReplaceNetworkAclAssociationRequestMarshaller . Instance ; options . ResponseUnmarshaller = ReplaceNetworkAclAssociationResponseUnmarshaller . Instance ; return Invoke < ReplaceNetworkAclAssociationResponse > ( request , options ) ; } |
public String getFontName ( ) { return _fontName ; } | public String GetFontName ( ) { return fontName ; } |
public ViewSourceRecord ( RecordInputStream in ) { vs = in . readShort ( ) ; } | public ViewSourceRecord ( RecordInputStream in1 ) { vs = in1 . ReadShort ( ) ; } |
public boolean hasTrackingRefUpdate ( ) { return trackingRefUpdate != null ; } | public virtual bool HasTrackingRefUpdate ( ) { return trackingRefUpdate != null ; } |
public boolean matches ( int symbol , int minVocabSymbol , int maxVocabSymbol ) { return set . contains ( symbol ) ; } | public override bool Matches ( int symbol , int minVocabSymbol , int maxVocabSymbol ) { return set . Contains ( symbol ) ; } |
public ValueEval evaluate ( EvaluationCell srcCell ) { int sheetIndex = getSheetIndex ( srcCell . getSheet ( ) ) ; return evaluateAny ( srcCell , sheetIndex , srcCell . getRowIndex ( ) , srcCell . getColumnIndex ( ) , new EvaluationTracker ( _cache ) ) ; } | public ValueEval Evaluate ( IEvaluationCell srcCell ) { int sheetIndex = GetSheetIndex ( srcCell . Sheet ) ; return EvaluateAny ( srcCell , sheetIndex , srcCell . RowIndex , srcCell . ColumnIndex , new EvaluationTracker ( _cache ) ) ; } |
public AcceptTransitGatewayVpcAttachmentResult acceptTransitGatewayVpcAttachment ( AcceptTransitGatewayVpcAttachmentRequest request ) { request = beforeClientExecution ( request ) ; return executeAcceptTransitGatewayVpcAttachment ( request ) ; } | public virtual AcceptTransitGatewayVpcAttachmentResponse AcceptTransitGatewayVpcAttachment ( AcceptTransitGatewayVpcAttachmentRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AcceptTransitGatewayVpcAttachmentRequestMarshaller . Instance ; options . ResponseUnmarshaller = AcceptTransitGatewayVpcAttachmentResponseUnmarshaller . Instance ; return Invoke < AcceptTransitGatewayVpcAttachmentResponse > ( request , options ) ; } |
public String toString ( ) { return "<opaque schema='" + this . schema + "' value='" + this . value + "'/>" ; } | public override string ToString ( ) { return "<opaque schema='" + this . schema + "' value='" + this . value + "'/>" ; } |
public static FuzzySet createSetBasedOnQuality ( int maxNumUniqueValues , float desiredMaxSaturation ) { int setSize = getNearestSetSize ( maxNumUniqueValues , desiredMaxSaturation ) ; return new FuzzySet ( new FixedBitSet ( setSize + 1 ) , setSize , hashFunctionForVersion ( VERSION_CURRENT ) ) ; } | public static FuzzySet CreateSetBasedOnQuality ( int maxNumUniqueValues , float desiredMaxSaturation ) { var setSize = GetNearestSetSize ( maxNumUniqueValues , desiredMaxSaturation ) ; return new FuzzySet ( new FixedBitSet ( setSize + 1 ) , setSize , HashFunctionForVersion ( VERSION_CURRENT ) ) ; } |
public DeregisterInstancesFromLoadBalancerRequest ( String loadBalancerName , java . util . List < Instance > instances ) { setLoadBalancerName ( loadBalancerName ) ; setInstances ( instances ) ; } | public DeregisterInstancesFromLoadBalancerRequest ( string loadBalancerName , List < Instance > instances ) { _loadBalancerName = loadBalancerName ; _instances = instances ; } |
public DeleteIntegrationResult deleteIntegration ( DeleteIntegrationRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteIntegration ( request ) ; } | public virtual DeleteIntegrationResponse DeleteIntegration ( DeleteIntegrationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteIntegrationRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteIntegrationResponseUnmarshaller . Instance ; return Invoke < DeleteIntegrationResponse > ( request , options ) ; } |
public Ref3DPtg ( LittleEndianInput in ) { field_1_index_extern_sheet = in . readShort ( ) ; readCoordinates ( in ) ; } | public Ref3DPtg ( ILittleEndianInput in1 ) { field_1_index_extern_sheet = in1 . ReadShort ( ) ; ReadCoordinates ( in1 ) ; } |
public synchronized E peek ( ) { try { return ( E ) elementData [ elementCount - 1 ] ; } catch ( IndexOutOfBoundsException e ) { throw new EmptyStackException ( ) ; } } | public virtual E peek ( ) { lock ( this ) { try { return ( E ) elementData [ elementCount - 1 ] ; } catch ( System . IndexOutOfRangeException ) { throw new java . util . EmptyStackException ( ) ; } } } |
public CheckDomainTransferabilityResult checkDomainTransferability ( CheckDomainTransferabilityRequest request ) { request = beforeClientExecution ( request ) ; return executeCheckDomainTransferability ( request ) ; } | public virtual CheckDomainTransferabilityResponse CheckDomainTransferability ( CheckDomainTransferabilityRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CheckDomainTransferabilityRequestMarshaller . Instance ; options . ResponseUnmarshaller = CheckDomainTransferabilityResponseUnmarshaller . Instance ; return Invoke < CheckDomainTransferabilityResponse > ( request , options ) ; } |
@ Override public Iterator < K > iterator ( ) { return new MultisetKeyIterator ( ) ; } | public override java . util . Iterator < java . util . MapClass . Entry < K , V > > iterator ( ) { return new java . util . Hashtable < K , V > . EntryIterator ( this . _enclosing ) ; } |
public InitiateJobResult initiateJob ( InitiateJobRequest request ) { request = beforeClientExecution ( request ) ; return executeInitiateJob ( request ) ; } | public virtual InitiateJobResponse InitiateJob ( InitiateJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = InitiateJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = InitiateJobResponseUnmarshaller . Instance ; return Invoke < InitiateJobResponse > ( request , options ) ; } |
public StempelPolishStemFilterFactory ( Map < String , String > args ) { super ( args ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } } | public StempelPolishStemFilterFactory ( IDictionary < string , string > args ) : base ( args ) { if ( args . Any ( ) ) { throw new ArgumentException ( "Unknown parameters: " + args ) ; } } |
public void removeLastAuthor ( ) { remove1stProperty ( PropertyIDMap . PID_LASTAUTHOR ) ; } | public void RemoveLastAuthor ( ) { MutableSection s = ( MutableSection ) FirstSection ; s . RemoveProperty ( PropertyIDMap . PID_LASTAUTHOR ) ; } |
public void decRef ( ) { final int rc = refCount . decrementAndGet ( ) ; assert rc >= 0 : "seg=" + info ; } | public virtual void DecRef ( ) { int rc = refCount . DecrementAndGet ( ) ; Debug . Assert ( rc >= 0 ) ; } |
public String toString ( ) { return "<fuzzy field='" + this . field + "' similarity='" + this . similarity + "' term='" + this . text + "'/>" ; } | public override string ToString ( ) { return "<fuzzy field='" + this . m_field + "' similarity='" + this . similarity + "' term='" + this . m_text + "'/>" ; } |
public static void putCompressedUnicode ( String input , LittleEndianOutput out ) { byte [ ] bytes = input . getBytes ( ISO_8859_1 ) ; out . write ( bytes ) ; } | public static void PutCompressedUnicode ( String input , ILittleEndianOutput out1 ) { byte [ ] bytes = ISO_8859_1 . GetBytes ( input ) ; out1 . Write ( bytes ) ; } |
public void append ( final BytesRef bytes ) { int bytesLeft = bytes . length ; int offset = bytes . offset ; while ( bytesLeft > 0 ) { int bufferLeft = BYTE_BLOCK_SIZE - byteUpto ; if ( bytesLeft < bufferLeft ) { System . arraycopy ( bytes . bytes , offset , buffer , byteUpto , bytesLeft ) ; byteUpto += bytesLeft ; break ; } else { if ( bufferLeft > 0 ) { System . arraycopy ( bytes . bytes , offset , buffer , byteUpto , bufferLeft ) ; } nextBuffer ( ) ; bytesLeft -= bufferLeft ; offset += bufferLeft ; } } } | public void Append ( BytesRef bytes ) { var length = bytes . Length ; if ( length == 0 ) { return ; } int offset = bytes . Offset ; int overflow = ( length + ByteUpto ) - BYTE_BLOCK_SIZE ; do { if ( overflow <= 0 ) { Array . Copy ( bytes . Bytes , offset , buffer , ByteUpto , length ) ; ByteUpto += length ; break ; } else { int bytesToCopy = length - overflow ; if ( bytesToCopy > 0 ) { Array . Copy ( bytes . Bytes , offset , buffer , ByteUpto , bytesToCopy ) ; offset += bytesToCopy ; length -= bytesToCopy ; } NextBuffer ( ) ; overflow = overflow - BYTE_BLOCK_SIZE ; } } while ( true ) ; } |
public GetBundlesResult getBundles ( GetBundlesRequest request ) { request = beforeClientExecution ( request ) ; return executeGetBundles ( request ) ; } | public virtual GetBundlesResponse GetBundles ( GetBundlesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetBundlesRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetBundlesResponseUnmarshaller . Instance ; return Invoke < GetBundlesResponse > ( request , options ) ; } |
public StopAssessmentRunResult stopAssessmentRun ( StopAssessmentRunRequest request ) { request = beforeClientExecution ( request ) ; return executeStopAssessmentRun ( request ) ; } | public virtual StopAssessmentRunResponse StopAssessmentRun ( StopAssessmentRunRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StopAssessmentRunRequestMarshaller . Instance ; options . ResponseUnmarshaller = StopAssessmentRunResponseUnmarshaller . Instance ; return Invoke < StopAssessmentRunResponse > ( request , options ) ; } |
public CreateFolderResult createFolder ( CreateFolderRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateFolder ( request ) ; } | public virtual CreateFolderResponse CreateFolder ( CreateFolderRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateFolderRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateFolderResponseUnmarshaller . Instance ; return Invoke < CreateFolderResponse > ( request , options ) ; } |
public ChangeResourceRecordSetsRequest ( String hostedZoneId , ChangeBatch changeBatch ) { setHostedZoneId ( hostedZoneId ) ; setChangeBatch ( changeBatch ) ; } | public ChangeResourceRecordSetsRequest ( string hostedZoneId , ChangeBatch changeBatch ) { _hostedZoneId = hostedZoneId ; _changeBatch = changeBatch ; } |
public CreateDeploymentStrategyResult createDeploymentStrategy ( CreateDeploymentStrategyRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateDeploymentStrategy ( request ) ; } | public virtual CreateDeploymentStrategyResponse CreateDeploymentStrategy ( CreateDeploymentStrategyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateDeploymentStrategyRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateDeploymentStrategyResponseUnmarshaller . Instance ; return Invoke < CreateDeploymentStrategyResponse > ( request , options ) ; } |
public DeleteCacheClusterRequest ( String cacheClusterId ) { setCacheClusterId ( cacheClusterId ) ; } | public DeleteCacheClusterRequest ( string cacheClusterId ) { _cacheClusterId = cacheClusterId ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.