question stringlengths 33 1.59k | target stringlengths 33 1.58k |
|---|---|
public char getChar ( int index ) { return ( char ) getShort ( index ) ; } | public override char getChar ( int index ) { return ( char ) getShort ( index ) ; } |
public String toString ( ) { return "I(ne)" ; } | public override string ToString ( ) { return "I(ne)" ; } |
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[GUTS]\n" ) ; buffer . append ( " .leftgutter = " ) . append ( Integer . toHexString ( getLeftRowGutter ( ) ) ) . append ( "\n" ) ; buffer . append ( " .topgutter = " ) . append ( Integer . toHexString ( getTop... | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[GUTS]\n" ) ; buffer . Append ( " .leftgutter = " ) . Append ( StringUtil . ToHexString ( LeftRowGutter ) ) . Append ( "\n" ) ; buffer . Append ( " .topgutter = " ) . Append ( StringUtil . ToHexString ... |
public ParseTree getChild ( int i ) { return null ; } | public virtual IParseTree GetChild ( int i ) { return null ; } |
public ListInvalidationsResult listInvalidations ( ListInvalidationsRequest request ) { request = beforeClientExecution ( request ) ; return executeListInvalidations ( request ) ; } | public virtual ListInvalidationsResponse ListInvalidations ( ListInvalidationsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListInvalidationsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListInvalidationsResponseUnmarshaller . Instance ; return Invoke < ListIn... |
public TokenStream newSinkTokenStream ( ) { return new SinkTokenStream ( this . cloneAttributes ( ) , cachedStates ) ; } | public SinkTokenStream NewSinkTokenStream ( ) { return NewSinkTokenStream ( ACCEPT_ALL_FILTER ) ; } |
public PrecedencePredicate ( int precedence ) { this . precedence = precedence ; } | public PrecedencePredicate ( int precedence ) { this . precedence = precedence ; } |
public ReadPresetResult readPreset ( ReadPresetRequest request ) { request = beforeClientExecution ( request ) ; return executeReadPreset ( request ) ; } | public virtual ReadPresetResponse ReadPreset ( ReadPresetRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ReadPresetRequestMarshaller . Instance ; options . ResponseUnmarshaller = ReadPresetResponseUnmarshaller . Instance ; return Invoke < ReadPresetResponse > ( request , options ... |
public File getIndexFile ( ) throws NoWorkTreeException { if ( isBare ( ) ) throw new NoWorkTreeException ( ) ; return indexFile ; } | public virtual FilePath GetIndexFile ( ) { if ( IsBare ) { throw new NoWorkTreeException ( ) ; } return indexFile ; } |
public ListApplicationsResult listApplications ( ListApplicationsRequest request ) { request = beforeClientExecution ( request ) ; return executeListApplications ( request ) ; } | public virtual ListApplicationsResponse ListApplications ( ListApplicationsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListApplicationsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListApplicationsResponseUnmarshaller . Instance ; return Invoke < ListApplica... |
public DataValidationConstraint createNumericConstraint ( int validationType , int operatorType , String formula1 , String formula2 ) { return DVConstraint . createNumericConstraint ( validationType , operatorType , formula1 , formula2 ) ; } | public IDataValidationConstraint CreateNumericConstraint ( int validationType , int operatorType , String formula1 , String formula2 ) { return DVConstraint . CreateNumericConstraint ( validationType , operatorType , formula1 , formula2 ) ; } |
public int read ( byte [ ] buffer ) throws IOException { return read ( buffer , 0 , buffer . length ) ; } | public virtual int read ( byte [ ] buffer ) { throw new System . NotImplementedException ( ) ; } |
public String toFormulaString ( ) { return _value ? "TRUE" : "FALSE" ; } | public override String ToFormulaString ( ) { return field_1_value ? "TRUE" : "FALSE" ; } |
public void write ( char [ ] chars , int offset , int count ) { Arrays . checkOffsetAndCount ( chars . length , offset , count ) ; if ( count == 0 ) { return ; } buf . append ( chars , offset , count ) ; } | public override void write ( char [ ] chars , int offset , int count ) { java . util . Arrays . checkOffsetAndCount ( chars . Length , offset , count ) ; if ( count == 0 ) { return ; } buf . append ( chars , offset , count ) ; } |
public void ReInit ( CharStream stream ) { token_source . ReInit ( stream ) ; token = new Token ( ) ; jj_ntk = - 1 ; jj_gen = 0 ; for ( int i = 0 ; i < 10 ; i ++ ) jj_la1 [ i ] = - 1 ; for ( int i = 0 ; i < jj_2_rtns . length ; i ++ ) jj_2_rtns [ i ] = new JJCalls ( ) ; } | public override void ReInit ( ICharStream stream ) { TokenSource . ReInit ( stream ) ; Token = new Token ( ) ; jj_ntk = - 1 ; jj_gen = 0 ; for ( int i = 0 ; i < 21 ; i ++ ) jj_la1 [ i ] = - 1 ; for ( int i = 0 ; i < jj_2_rtns . Length ; i ++ ) jj_2_rtns [ i ] = new JJCalls ( ) ; } |
public RevokeDBSecurityGroupIngressRequest ( String dBSecurityGroupName ) { setDBSecurityGroupName ( dBSecurityGroupName ) ; } | public RevokeDBSecurityGroupIngressRequest ( string dbSecurityGroupName ) { _dbSecurityGroupName = dbSecurityGroupName ; } |
public InitiateDocumentVersionUploadResult initiateDocumentVersionUpload ( InitiateDocumentVersionUploadRequest request ) { request = beforeClientExecution ( request ) ; return executeInitiateDocumentVersionUpload ( request ) ; } | public virtual InitiateDocumentVersionUploadResponse InitiateDocumentVersionUpload ( InitiateDocumentVersionUploadRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = InitiateDocumentVersionUploadRequestMarshaller . Instance ; options . ResponseUnmarshaller = InitiateDocumentVersionUp... |
public MemAreaPtg ( int subexLen ) { field_1_reserved = 0 ; field_2_subex_len = subexLen ; } | public MemAreaPtg ( int subexLen ) { field_1_reserved = 0 ; field_2_subex_len = subexLen ; } |
public FtrHeader ( ) { associatedRange = new CellRangeAddress ( 0 , 0 , 0 , 0 ) ; } | public FtrHeader ( ) { reserved = new byte [ 8 ] ; } |
public IntBuffer compact ( ) { if ( byteBuffer . isReadOnly ( ) ) { throw new ReadOnlyBufferException ( ) ; } byteBuffer . limit ( limit * SizeOf . INT ) ; byteBuffer . position ( position * SizeOf . INT ) ; byteBuffer . compact ( ) ; byteBuffer . clear ( ) ; position = limit - position ; limit = capacity ; mark = UNSE... | public override java . nio . IntBuffer compact ( ) { if ( byteBuffer . isReadOnly ( ) ) { throw new java . nio . ReadOnlyBufferException ( ) ; } byteBuffer . limit ( _limit * libcore . io . SizeOf . INT ) ; byteBuffer . position ( _position * libcore . io . SizeOf . INT ) ; byteBuffer . compact ( ) ; byteBuffer . clear... |
public String getRawAuthority ( ) { return authority ; } | public string getRawAuthority ( ) { return authority ; } |
public void write ( byte [ ] b , int off , int len ) throws IOException { if ( ( off < 0 ) || ( off > b . length ) || ( len < 0 ) || ( ( off + len ) > b . length ) || ( ( off + len ) < 0 ) ) { throw new IndexOutOfBoundsException ( ) ; } else if ( len == 0 ) { return ; } do { createBlockIfNeeded ( ) ; int writeBytes = M... | public override void Write ( byte [ ] b , int off , int len ) { if ( ( off < 0 ) || ( off > b . Length ) || ( len < 0 ) || ( ( off + len ) > b . Length ) || ( ( off + len ) < 0 ) ) { throw new IndexOutOfRangeException ( ) ; } else if ( len == 0 ) { return ; } do { CreateBlockIfNeeded ( ) ; int writeBytes = Math . Min (... |
public static void validateSimple ( String s , String legal ) throws URISyntaxException { for ( int i = 0 ; i < s . length ( ) ; i ++ ) { char ch = s . charAt ( i ) ; if ( ! ( ( ch >= 'a' && ch <= 'z' ) || ( ch >= 'A' && ch <= 'Z' ) || ( ch >= '0' && ch <= '9' ) || legal . indexOf ( ch ) > - 1 ) ) { throw new URISyntax... | public static void validateSimple ( string s , string legal ) { { for ( int i = 0 ; i < s . Length ; i ++ ) { char ch = s [ i ] ; if ( ! ( ( ch >= 'a' && ch <= 'z' ) || ( ch >= 'A' && ch <= 'Z' ) || ( ch >= '0' && ch <= '9' ) || legal . IndexOf ( ch ) > - 1 ) ) { throw new java . net . URISyntaxException ( s , "Illegal... |
public static String readUnicodeString ( LittleEndianInput in ) { int nChars = in . readUShort ( ) ; byte flag = in . readByte ( ) ; if ( ( flag & 0x01 ) == 0 ) { return readCompressedUnicode ( in , nChars ) ; } return readUnicodeLE ( in , nChars ) ; } | public static String ReadUnicodeString ( ILittleEndianInput in1 ) { int nChars = in1 . ReadUShort ( ) ; byte flag = ( byte ) in1 . ReadByte ( ) ; if ( ( flag & 0x01 ) == 0 ) { return ReadCompressedUnicode ( in1 , nChars ) ; } return ReadUnicodeLE ( in1 , nChars ) ; } |
public DocValuesOrdinalsReader ( String field ) { this . field = field ; } | public DocValuesOrdinalsReader ( string field ) { this . field = field ; } |
public AdvertiseByoipCidrResult advertiseByoipCidr ( AdvertiseByoipCidrRequest request ) { request = beforeClientExecution ( request ) ; return executeAdvertiseByoipCidr ( request ) ; } | public virtual AdvertiseByoipCidrResponse AdvertiseByoipCidr ( AdvertiseByoipCidrRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AdvertiseByoipCidrRequestMarshaller . Instance ; options . ResponseUnmarshaller = AdvertiseByoipCidrResponseUnmarshaller . Instance ; return Invoke < A... |
public DescribeAlarmsResult describeAlarms ( ) { return describeAlarms ( new DescribeAlarmsRequest ( ) ) ; } | public virtual DescribeAlarmsResponse DescribeAlarms ( ) { return DescribeAlarms ( new DescribeAlarmsRequest ( ) ) ; } |
public DescribeCrossAccountAccessRoleResult describeCrossAccountAccessRole ( DescribeCrossAccountAccessRoleRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeCrossAccountAccessRole ( request ) ; } | public virtual DescribeCrossAccountAccessRoleResponse DescribeCrossAccountAccessRole ( DescribeCrossAccountAccessRoleRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeCrossAccountAccessRoleRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeCrossAccountA... |
public StringBuilder reverse ( ) { reverse0 ( ) ; return this ; } | public java . lang . StringBuilder reverse ( ) { reverse0 ( ) ; return this ; } |
public DescribeImagesResult describeImages ( DescribeImagesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeImages ( request ) ; } | public virtual DescribeImagesResponse DescribeImages ( DescribeImagesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeImagesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeImagesResponseUnmarshaller . Instance ; return Invoke < DescribeImagesRespons... |
public CreateDhcpOptionsRequest ( java . util . List < DhcpConfiguration > dhcpConfigurations ) { setDhcpConfigurations ( dhcpConfigurations ) ; } | public CreateDhcpOptionsRequest ( List < DhcpConfiguration > dhcpConfigurations ) { _dhcpConfigurations = dhcpConfigurations ; } |
public StartChatContactResult startChatContact ( StartChatContactRequest request ) { request = beforeClientExecution ( request ) ; return executeStartChatContact ( request ) ; } | public virtual StartChatContactResponse StartChatContact ( StartChatContactRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartChatContactRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartChatContactResponseUnmarshaller . Instance ; return Invoke < StartChatCo... |
public GetCampaignsResult getCampaigns ( GetCampaignsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetCampaigns ( request ) ; } | public virtual GetCampaignsResponse GetCampaigns ( GetCampaignsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetCampaignsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetCampaignsResponseUnmarshaller . Instance ; return Invoke < GetCampaignsResponse > ( reques... |
public GetAssessmentReportResult getAssessmentReport ( GetAssessmentReportRequest request ) { request = beforeClientExecution ( request ) ; return executeGetAssessmentReport ( request ) ; } | public virtual GetAssessmentReportResponse GetAssessmentReport ( GetAssessmentReportRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetAssessmentReportRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetAssessmentReportResponseUnmarshaller . Instance ; return Invok... |
public void reportAmbiguity ( Parser recognizer , DFA dfa , int startIndex , int stopIndex , boolean exact , BitSet ambigAlts , ATNConfigSet configs ) { if ( exactOnly && ! exact ) { return ; } String format = "reportAmbiguity d=%s: ambigAlts=%s, input='%s'" ; String decision = getDecisionDescription ( recognizer , dfa... | public override void ReportAmbiguity ( Parser recognizer , DFA dfa , int startIndex , int stopIndex , bool exact , BitSet ambigAlts , ATNConfigSet configs ) { if ( exactOnly && ! exact ) { return ; } string format = "reportAmbiguity d={0}: ambigAlts={1}, input='{2}'" ; string decision = GetDecisionDescription ( recogni... |
public Object [ ] toArray ( ) { synchronized ( Hashtable . this ) { return super . toArray ( ) ; } } | public override object [ ] toArray ( ) { lock ( this . _enclosing ) { return base . toArray ( ) ; } } |
public boolean contains ( Object o ) { if ( o instanceof RevFlag ) return ( mask & ( ( RevFlag ) o ) . mask ) != 0 ; return false ; } | public override bool Contains ( object o ) { if ( o is RevFlag ) { return ( mask & ( ( RevFlag ) o ) . mask ) != 0 ; } return false ; } |
public DisableAlarmActionsResult disableAlarmActions ( DisableAlarmActionsRequest request ) { request = beforeClientExecution ( request ) ; return executeDisableAlarmActions ( request ) ; } | public virtual DisableAlarmActionsResponse DisableAlarmActions ( DisableAlarmActionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DisableAlarmActionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DisableAlarmActionsResponseUnmarshaller . Instance ; return Invok... |
public RegisterDBProxyTargetsResult registerDBProxyTargets ( RegisterDBProxyTargetsRequest request ) { request = beforeClientExecution ( request ) ; return executeRegisterDBProxyTargets ( request ) ; } | public virtual RegisterDBProxyTargetsResponse RegisterDBProxyTargets ( RegisterDBProxyTargetsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RegisterDBProxyTargetsRequestMarshaller . Instance ; options . ResponseUnmarshaller = RegisterDBProxyTargetsResponseUnmarshaller . Instance... |
public static void fill ( byte [ ] array , int start , int end , byte value ) { Arrays . checkStartAndEnd ( array . length , start , end ) ; for ( int i = start ; i < end ; i ++ ) { array [ i ] = value ; } } | public static void fill ( byte [ ] array , int start , int end , byte value ) { java . util . Arrays . checkStartAndEnd ( array . Length , start , end ) ; { for ( int i = start ; i < end ; i ++ ) { array [ i ] = value ; } } } |
public boolean containsColumn ( int columnIndex ) { return _firstCol <= columnIndex && columnIndex <= _lastCol ; } | public bool ContainsColumn ( int columnIndex ) { return _first_col <= columnIndex && columnIndex <= _last_col ; } |
public Hashtable ( ) { table = ( HashtableEntry < K , V > [ ] ) EMPTY_TABLE ; threshold = - 1 ; } | public Hashtable ( ) { table = ( java . util . Hashtable . HashtableEntry < K , V > [ ] ) EMPTY_TABLE ; threshold = - 1 ; } |
public final AttributeFactory getAttributeFactory ( ) { return this . factory ; } | public AttributeFactory GetAttributeFactory ( ) { return this . factory ; } |
public void onChange ( boolean selfChange ) { refreshData ( ) ; } | public override void onChange ( bool selfChange ) { this . _enclosing . onContentChanged ( ) ; } |
public ListObjectAttributesResult listObjectAttributes ( ListObjectAttributesRequest request ) { request = beforeClientExecution ( request ) ; return executeListObjectAttributes ( request ) ; } | public virtual ListObjectAttributesResponse ListObjectAttributes ( ListObjectAttributesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListObjectAttributesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListObjectAttributesResponseUnmarshaller . Instance ; return ... |
public GetDeploymentsResult getDeployments ( GetDeploymentsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetDeployments ( request ) ; } | public virtual GetDeploymentsResponse GetDeployments ( GetDeploymentsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetDeploymentsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetDeploymentsResponseUnmarshaller . Instance ; return Invoke < GetDeploymentsRespons... |
public ListWorkGroupsResult listWorkGroups ( ListWorkGroupsRequest request ) { request = beforeClientExecution ( request ) ; return executeListWorkGroups ( request ) ; } | public virtual ListWorkGroupsResponse ListWorkGroups ( ListWorkGroupsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListWorkGroupsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListWorkGroupsResponseUnmarshaller . Instance ; return Invoke < ListWorkGroupsRespons... |
public CreatePhotoStoreRequest ( ) { super ( "CloudPhoto" , "2017-07-11" , "CreatePhotoStore" , "cloudphoto" ) ; setProtocol ( ProtocolType . HTTPS ) ; } | public CreatePhotoStoreRequest ( ) : base ( "CloudPhoto" , "2017-07-11" , "CreatePhotoStore" , "cloudphoto" , "openAPI" ) { Protocol = ProtocolType . HTTPS ; } |
public PutMethodResult putMethod ( PutMethodRequest request ) { request = beforeClientExecution ( request ) ; return executePutMethod ( request ) ; } | public virtual PutMethodResponse PutMethod ( PutMethodRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutMethodRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutMethodResponseUnmarshaller . Instance ; return Invoke < PutMethodResponse > ( request , options ) ; } |
public DescribeServiceAccessPoliciesResult describeServiceAccessPolicies ( DescribeServiceAccessPoliciesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeServiceAccessPolicies ( request ) ; } | public virtual DescribeServiceAccessPoliciesResponse DescribeServiceAccessPolicies ( DescribeServiceAccessPoliciesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeServiceAccessPoliciesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeServiceAccessPoli... |
public DescribeCacheParameterGroupsResult describeCacheParameterGroups ( ) { return describeCacheParameterGroups ( new DescribeCacheParameterGroupsRequest ( ) ) ; } | public virtual DescribeCacheParameterGroupsResponse DescribeCacheParameterGroups ( ) { return DescribeCacheParameterGroups ( new DescribeCacheParameterGroupsRequest ( ) ) ; } |
public Float getAndIncrement ( String key ) { String key2 = key . trim ( ) . toLowerCase ( locale ) ; TSTNode node = getNode ( key2 ) ; if ( node == null ) { return null ; } Float aux = ( Float ) ( node . data ) ; if ( aux == null ) { aux = 1f ; } else { aux = ( float ) ( aux . intValue ( ) + 1 ) ; } put ( key2 , aux )... | public virtual float ? GetAndIncrement ( string key ) { string key2 = culture . TextInfo . ToLower ( key . Trim ( ) ) ; TSTNode node = GetNode ( key2 ) ; if ( node == null ) { return null ; } float ? aux = ( float ? ) ( node . data ) ; if ( aux == null ) { aux = new float ? ( 1 ) ; } else { aux = new float ? ( ( int ) ... |
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[WINDOWPROTECT]\n" ) ; buffer . append ( " .options = " ) . append ( HexDump . shortToHex ( _options ) ) . append ( "\n" ) ; buffer . append ( "[/WINDOWPROTECT]\n" ) ; return buffer . toString ( ) ; } | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[WINDOWPROTECT]\n" ) ; buffer . Append ( " .protect = " ) . Append ( Protect ) . Append ( "\n" ) ; buffer . Append ( "[/WINDOWPROTECT]\n" ) ; return buffer . ToString ( ) ; } |
public RetrieveDomainAuthCodeResult retrieveDomainAuthCode ( RetrieveDomainAuthCodeRequest request ) { request = beforeClientExecution ( request ) ; return executeRetrieveDomainAuthCode ( request ) ; } | public virtual RetrieveDomainAuthCodeResponse RetrieveDomainAuthCode ( RetrieveDomainAuthCodeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RetrieveDomainAuthCodeRequestMarshaller . Instance ; options . ResponseUnmarshaller = RetrieveDomainAuthCodeResponseUnmarshaller . Instance... |
public GetRelationalDatabaseMetricDataResult getRelationalDatabaseMetricData ( GetRelationalDatabaseMetricDataRequest request ) { request = beforeClientExecution ( request ) ; return executeGetRelationalDatabaseMetricData ( request ) ; } | public virtual GetRelationalDatabaseMetricDataResponse GetRelationalDatabaseMetricData ( GetRelationalDatabaseMetricDataRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetRelationalDatabaseMetricDataRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetRelationalData... |
public Entry < K , V > pollFirstEntry ( ) { Node < K , V > result = endpoint ( true ) ; if ( result != null ) { removeInternal ( result ) ; } return immutableCopy ( result ) ; } | public java . util . MapClass . Entry < K , V > pollFirstEntry ( ) { java . util . TreeMap . Node < K , V > result = this . endpoint ( true ) ; if ( result != null ) { this . _enclosing . removeInternal ( result ) ; } return this . _enclosing . immutableCopy ( result ) ; } |
public LimitTokenPositionFilter ( TokenStream in , int maxTokenPosition , boolean consumeAllTokens ) { super ( in ) ; if ( maxTokenPosition < 1 ) { throw new IllegalArgumentException ( "maxTokenPosition must be greater than zero" ) ; } this . maxTokenPosition = maxTokenPosition ; this . consumeAllTokens = consumeAllTok... | public LimitTokenPositionFilter ( TokenStream @ in , int maxTokenPosition , bool consumeAllTokens ) : base ( @ in ) { if ( maxTokenPosition < 1 ) { throw new System . ArgumentException ( "maxTokenPosition must be greater than zero" ) ; } this . maxTokenPosition = maxTokenPosition ; this . consumeAllTokens = consumeAllT... |
public ViewFieldsRecord ( RecordInputStream in ) { _sxaxis = in . readShort ( ) ; _cSub = in . readShort ( ) ; _grbitSub = in . readShort ( ) ; _cItm = in . readShort ( ) ; int cchName = in . readUShort ( ) ; if ( cchName != STRING_NOT_PRESENT_LEN ) { int flag = in . readByte ( ) ; if ( ( flag & 0x01 ) != 0 ) { _name =... | public ViewFieldsRecord ( RecordInputStream in1 ) { sxaxis = in1 . ReadShort ( ) ; cSub = in1 . ReadShort ( ) ; grbitSub = in1 . ReadShort ( ) ; cItm = in1 . ReadShort ( ) ; int cchName = in1 . ReadUShort ( ) ; if ( cchName != STRING_NOT_PRESENT_LEN ) { int flag = in1 . ReadByte ( ) ; if ( ( flag & 0x01 ) != 0 ) { _nam... |
public synchronized static DefaultProfile getProfile ( String regionId , String accessKeyId , String secret ) { Credential creden = new Credential ( accessKeyId , secret ) ; profile = new DefaultProfile ( regionId , creden ) ; return profile ; } | public static DefaultProfile GetProfile ( string regionId , string accessKeyId , string secret ) { var credential = new Credential ( accessKeyId , secret ) ; _profile = new DefaultProfile ( regionId , credential ) ; return _profile ; } |
public int indexOf ( String string ) { return indexOf ( string , 0 ) ; } | public virtual int indexOf ( string @ string ) { return indexOf ( @ string , 0 ) ; } |
public ListAppsResult listApps ( ListAppsRequest request ) { request = beforeClientExecution ( request ) ; return executeListApps ( request ) ; } | public virtual ListAppsResponse ListApps ( ListAppsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListAppsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListAppsResponseUnmarshaller . Instance ; return Invoke < ListAppsResponse > ( request , options ) ; } |
public ListAttachedIndicesResult listAttachedIndices ( ListAttachedIndicesRequest request ) { request = beforeClientExecution ( request ) ; return executeListAttachedIndices ( request ) ; } | public virtual ListAttachedIndicesResponse ListAttachedIndices ( ListAttachedIndicesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListAttachedIndicesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListAttachedIndicesResponseUnmarshaller . Instance ; return Invok... |
public void addShape ( HSSFShape shape ) { shape . setPatriarch ( this ) ; _shapes . add ( shape ) ; } | public void AddShape ( HSSFShape shape ) { shape . Patriarch = this ; _shapes . Add ( shape ) ; } |
public CreateNatGatewayResult createNatGateway ( CreateNatGatewayRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateNatGateway ( request ) ; } | public virtual CreateNatGatewayResponse CreateNatGateway ( CreateNatGatewayRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateNatGatewayRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateNatGatewayResponseUnmarshaller . Instance ; return Invoke < CreateNatGa... |
public GetApnsVoipChannelResult getApnsVoipChannel ( GetApnsVoipChannelRequest request ) { request = beforeClientExecution ( request ) ; return executeGetApnsVoipChannel ( request ) ; } | public virtual GetApnsVoipChannelResponse GetApnsVoipChannel ( GetApnsVoipChannelRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetApnsVoipChannelRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetApnsVoipChannelResponseUnmarshaller . Instance ; return Invoke < G... |
public ReplaceTransitGatewayRouteResult replaceTransitGatewayRoute ( ReplaceTransitGatewayRouteRequest request ) { request = beforeClientExecution ( request ) ; return executeReplaceTransitGatewayRoute ( request ) ; } | public virtual ReplaceTransitGatewayRouteResponse ReplaceTransitGatewayRoute ( ReplaceTransitGatewayRouteRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ReplaceTransitGatewayRouteRequestMarshaller . Instance ; options . ResponseUnmarshaller = ReplaceTransitGatewayRouteResponseUnm... |
public long ramBytesUsed ( ) { return super . ramBytesUsed ( ) + offsets . ramBytesUsed ( ) + lengths . ramBytesUsed ( ) + RamUsageEstimator . NUM_BYTES_OBJECT_HEADER + 2 * Integer . BYTES + 3 * RamUsageEstimator . NUM_BYTES_OBJECT_REF + values . bytes ( ) . length ; } | public long RamBytesUsed ( ) { return RamUsageEstimator . AlignObjectSize ( 3 * RamUsageEstimator . NUM_BYTES_OBJECT_REF + 2 * RamUsageEstimator . NUM_BYTES_INT32 ) + RamUsageEstimator . SizeOf ( data ) + positions . RamBytesUsed ( ) + wordNums . RamBytesUsed ( ) ; } |
public ParseTreePattern compile ( String pattern , int patternRuleIndex ) { List < ? extends Token > tokenList = tokenize ( pattern ) ; ListTokenSource tokenSrc = new ListTokenSource ( tokenList ) ; CommonTokenStream tokens = new CommonTokenStream ( tokenSrc ) ; ParserInterpreter parserInterp = new ParserInterpreter ( ... | public virtual ParseTreePattern Compile ( string pattern , int patternRuleIndex ) { IList < IToken > tokenList = Tokenize ( pattern ) ; ListTokenSource tokenSrc = new ListTokenSource ( tokenList ) ; CommonTokenStream tokens = new CommonTokenStream ( tokenSrc ) ; ParserInterpreter parserInterp = new ParserInterpreter ( ... |
public GetRelationalDatabaseLogEventsResult getRelationalDatabaseLogEvents ( GetRelationalDatabaseLogEventsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetRelationalDatabaseLogEvents ( request ) ; } | public virtual GetRelationalDatabaseLogEventsResponse GetRelationalDatabaseLogEvents ( GetRelationalDatabaseLogEventsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetRelationalDatabaseLogEventsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetRelationalDatabase... |
public TokenStream create ( TokenStream input ) { return new BeiderMorseFilter ( input , engine , languageSet ) ; } | public override TokenStream Create ( TokenStream input ) { return new BeiderMorseFilter ( input , engine , languageSet ) ; } |
public FloatBuffer duplicate ( ) { return copy ( this , mark ) ; } | public override java . nio . FloatBuffer duplicate ( ) { return copy ( this , _mark ) ; } |
public ClasspathResourceLoader ( Class < ? > clazz ) { this ( clazz , clazz . getClassLoader ( ) ) ; } | public ClasspathResourceLoader ( Type clazz ) { this . clazz = clazz ; } |
public DescribeRouteTablesResult describeRouteTables ( DescribeRouteTablesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeRouteTables ( request ) ; } | public virtual DescribeRouteTablesResponse DescribeRouteTables ( DescribeRouteTablesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeRouteTablesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeRouteTablesResponseUnmarshaller . Instance ; return Invok... |
public void setRenameCallback ( RenameCallback callback ) { renameCallback = callback ; } | public virtual void SetRenameCallback ( RenameCallback callback ) { renameCallback = callback ; } |
public DimensionsRecord createDimensions ( ) { DimensionsRecord result = new DimensionsRecord ( ) ; result . setFirstRow ( _firstrow ) ; result . setLastRow ( _lastrow ) ; result . setFirstCol ( ( short ) _valuesAgg . getFirstCellNum ( ) ) ; result . setLastCol ( ( short ) _valuesAgg . getLastCellNum ( ) ) ; return res... | public DimensionsRecord CreateDimensions ( ) { DimensionsRecord result = new DimensionsRecord ( ) ; result . FirstRow = ( firstrow ) ; result . LastRow = ( lastrow ) ; result . FirstCol = _valuesAgg . FirstCellNum ; result . LastCol = _valuesAgg . LastCellNum ; return result ; } |
public StopTransformJobResult stopTransformJob ( StopTransformJobRequest request ) { request = beforeClientExecution ( request ) ; return executeStopTransformJob ( request ) ; } | public virtual StopTransformJobResponse StopTransformJob ( StopTransformJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StopTransformJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = StopTransformJobResponseUnmarshaller . Instance ; return Invoke < StopTransfo... |
public final String toString ( ) { return getClass ( ) . getName ( ) + " [" + getStringValue ( ) + "]" ; } | public override string ToString ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . Append ( GetType ( ) . Name ) . Append ( " [" ) ; sb . Append ( this . StringValue ) ; sb . Append ( "]" ) ; return sb . ToString ( ) ; } |
public QueryAuthenticationRequest ( ) { super ( "LinkFace" , "2018-07-20" , "QueryAuthentication" ) ; setProtocol ( ProtocolType . HTTPS ) ; setMethod ( MethodType . POST ) ; } | public QueryAuthenticationRequest ( ) : base ( "LinkFace" , "2018-07-20" , "QueryAuthentication" ) { Protocol = ProtocolType . HTTPS ; Method = MethodType . POST ; } |
public PrintStream append ( char c ) { print ( c ) ; return this ; } | public virtual java . io . PrintStream append ( char c ) { print ( c ) ; return this ; } |
public StartKeyPhrasesDetectionJobResult startKeyPhrasesDetectionJob ( StartKeyPhrasesDetectionJobRequest request ) { request = beforeClientExecution ( request ) ; return executeStartKeyPhrasesDetectionJob ( request ) ; } | public virtual StartKeyPhrasesDetectionJobResponse StartKeyPhrasesDetectionJob ( StartKeyPhrasesDetectionJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartKeyPhrasesDetectionJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartKeyPhrasesDetectionJobRespon... |
public QueryPhraseMap searchPhrase ( final List < TermInfo > phraseCandidate ) { QueryPhraseMap currMap = this ; for ( TermInfo ti : phraseCandidate ) { currMap = currMap . subMap . get ( ti . getText ( ) ) ; if ( currMap == null ) return null ; } return currMap . isValidTermOrPhrase ( phraseCandidate ) ? currMap : nul... | public virtual QueryPhraseMap SearchPhrase ( IList < TermInfo > phraseCandidate ) { QueryPhraseMap currMap = this ; foreach ( TermInfo ti in phraseCandidate ) { currMap . subMap . TryGetValue ( ti . Text , out currMap ) ; if ( currMap == null ) return null ; } return currMap . IsValidTermOrPhrase ( phraseCandidate ) ? ... |
public void add ( Term term ) { if ( term == null ) { throw new IllegalArgumentException ( "Term must not be null" ) ; } this . terms . add ( term ) ; } | public virtual void Add ( Term term ) { if ( term == null ) { throw new ArgumentException ( "Term must not be null" ) ; } this . m_terms . Add ( term ) ; } |
public ListEmailIdentitiesResult listEmailIdentities ( ListEmailIdentitiesRequest request ) { request = beforeClientExecution ( request ) ; return executeListEmailIdentities ( request ) ; } | public virtual ListEmailIdentitiesResponse ListEmailIdentities ( ListEmailIdentitiesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListEmailIdentitiesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListEmailIdentitiesResponseUnmarshaller . Instance ; return Invok... |
public MutableFPNumber ( BigInteger frac , int binaryExponent ) { _significand = frac ; _binaryExponent = binaryExponent ; } | public MutableFPNumber ( BigInteger frac , int binaryExponent ) { _significand = frac ; _binaryExponent = binaryExponent ; } |
public CreateNetworkProfileResult createNetworkProfile ( CreateNetworkProfileRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateNetworkProfile ( request ) ; } | public virtual CreateNetworkProfileResponse CreateNetworkProfile ( CreateNetworkProfileRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateNetworkProfileRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateNetworkProfileResponseUnmarshaller . Instance ; return ... |
public Transition removeTransition ( int index ) { return transitions . remove ( index ) ; } | public virtual void RemoveTransition ( int index ) { transitions . RemoveAt ( index ) ; } |
public int doLogic ( ) throws Exception { final PerfRunData runData = getRunData ( ) ; IndexWriter w = runData . getIndexWriter ( ) ; if ( w == null ) { throw new RuntimeException ( "please open the writer before invoking NearRealtimeReader" ) ; } if ( runData . getIndexReader ( ) != null ) { throw new RuntimeException... | public override int DoLogic ( ) { PerfRunData runData = RunData ; IndexWriter w = runData . IndexWriter ; if ( w == null ) { throw new Exception ( "please open the writer before invoking NearRealtimeReader" ) ; } if ( runData . GetIndexReader ( ) != null ) { throw new Exception ( "please close the existing reader befor... |
public PutAttributesResult putAttributes ( PutAttributesRequest request ) { request = beforeClientExecution ( request ) ; return executePutAttributes ( request ) ; } | public virtual PutAttributesResponse PutAttributes ( PutAttributesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutAttributesRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutAttributesResponseUnmarshaller . Instance ; return Invoke < PutAttributesResponse > ( ... |
public DeleteLocalGatewayRouteTableVpcAssociationResult deleteLocalGatewayRouteTableVpcAssociation ( DeleteLocalGatewayRouteTableVpcAssociationRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteLocalGatewayRouteTableVpcAssociation ( request ) ; } | public virtual DeleteLocalGatewayRouteTableVpcAssociationResponse DeleteLocalGatewayRouteTableVpcAssociation ( DeleteLocalGatewayRouteTableVpcAssociationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteLocalGatewayRouteTableVpcAssociationRequestMarshaller . Instance ; option... |
public TreeFilter clone ( ) { return this ; } | public override RevFilter Clone ( ) { return this ; } |
public static TreeFilter create ( TreeFilter [ ] list ) { if ( list . length == 2 ) return create ( list [ 0 ] , list [ 1 ] ) ; if ( list . length < 2 ) throw new IllegalArgumentException ( JGitText . get ( ) . atLeastTwoFiltersNeeded ) ; final TreeFilter [ ] subfilters = new TreeFilter [ list . length ] ; System . arr... | public static TreeFilter Create ( TreeFilter [ ] list ) { if ( list . Length == 2 ) { return Create ( list [ 0 ] , list [ 1 ] ) ; } if ( list . Length < 2 ) { throw new ArgumentException ( JGitText . Get ( ) . atLeastTwoFiltersNeeded ) ; } TreeFilter [ ] subfilters = new TreeFilter [ list . Length ] ; System . Array . ... |
public void back ( int delta ) { while ( -- delta >= 0 ) { if ( currentSubtree != null ) nextSubtreePos -- ; ptr -- ; parseEntry ( false ) ; if ( currentSubtree != null ) ptr -= currentSubtree . getEntrySpan ( ) - 1 ; } } | public override void Back ( int delta ) { while ( -- delta >= 0 ) { if ( currentSubtree != null ) { nextSubtreePos -- ; } ptr -- ; ParseEntry ( ) ; if ( currentSubtree != null ) { ptr -= currentSubtree . GetEntrySpan ( ) - 1 ; } } } |
public Map < String , SubmoduleStatus > call ( ) throws GitAPIException { checkCallable ( ) ; try ( SubmoduleWalk generator = SubmoduleWalk . forIndex ( repo ) ) { if ( ! paths . isEmpty ( ) ) generator . setFilter ( PathFilterGroup . createFromStrings ( paths ) ) ; Map < String , SubmoduleStatus > statuses = new HashM... | public override IDictionary < string , SubmoduleStatus > Call ( ) { CheckCallable ( ) ; try { SubmoduleWalk generator = SubmoduleWalk . ForIndex ( repo ) ; if ( ! paths . IsEmpty ( ) ) { generator . SetFilter ( PathFilterGroup . CreateFromStrings ( paths ) ) ; } IDictionary < string , SubmoduleStatus > statuses = new D... |
public synchronized int available ( ) { return count - pos ; } | public override int available ( ) { lock ( this ) { return count - pos ; } } |
public SmallStream ( int type , byte [ ] data ) { this . type = type ; this . data = data ; } | public SmallStream ( int type , byte [ ] data ) { this . type = type ; this . data = data ; } |
public String escapeExtensionField ( String extfield ) { return QueryParserBase . escape ( extfield ) ; } | public virtual string EscapeExtensionField ( string extfield ) { return QueryParserBase . Escape ( extfield ) ; } |
public QueryScorer ( Query query ) { init ( query , null , null , true ) ; } | public QueryScorer ( Query query ) { Init ( query , null , null , true ) ; } |
public int getHighIx ( ) { return _highIx ; } | public int GetHighIx ( ) { return _highIx ; } |
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[VCENTER]\n" ) ; buffer . append ( " .vcenter = " ) . append ( getVCenter ( ) ) . append ( "\n" ) ; buffer . append ( "[/VCENTER]\n" ) ; return buffer . toString ( ) ; } | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[VCENTER]\n" ) ; buffer . Append ( " .vcenter = " ) . Append ( VCenter ) . Append ( "\n" ) ; buffer . Append ( "[/VCENTER]\n" ) ; return buffer . ToString ( ) ; } |
public int size ( ) { return _limit ; } | public int Size ( ) { return _limit ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.