question stringlengths 33 1.59k | target stringlengths 33 1.58k |
|---|---|
public TokenStream create ( TokenStream input ) { return new SpanishLightStemFilter ( input ) ; } | public override TokenStream Create ( TokenStream input ) { return new SpanishLightStemFilter ( input ) ; } |
public StoredField ( String name , double value ) { super ( name , TYPE ) ; fieldsData = value ; } | public StoredField ( string name , int value ) : base ( name , TYPE ) { FieldsData = new Int32 ( value ) ; } |
public DescribePublicIpv4PoolsResult describePublicIpv4Pools ( DescribePublicIpv4PoolsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribePublicIpv4Pools ( request ) ; } | public virtual DescribePublicIpv4PoolsResponse DescribePublicIpv4Pools ( DescribePublicIpv4PoolsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribePublicIpv4PoolsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribePublicIpv4PoolsResponseUnmarshaller . Ins... |
public IndexRevision ( IndexWriter writer ) throws IOException { IndexDeletionPolicy delPolicy = writer . getConfig ( ) . getIndexDeletionPolicy ( ) ; if ( ! ( delPolicy instanceof SnapshotDeletionPolicy ) ) { throw new IllegalArgumentException ( "IndexWriter must be created with SnapshotDeletionPolicy" ) ; } this . wr... | public IndexRevision ( IndexWriter writer ) { sdp = writer . Config . IndexDeletionPolicy as SnapshotDeletionPolicy ; if ( sdp == null ) throw new ArgumentException ( "IndexWriter must be created with SnapshotDeletionPolicy" , "writer" ) ; this . writer = writer ; this . commit = sdp . Snapshot ( ) ; this . version = R... |
public void setTabIdArray ( short [ ] array ) { _tabids = array . clone ( ) ; } | public void SetTabIdArray ( short [ ] array ) { _tabids = array ; } |
public UpdateObjectAttributesResult updateObjectAttributes ( UpdateObjectAttributesRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateObjectAttributes ( request ) ; } | public virtual UpdateObjectAttributesResponse UpdateObjectAttributes ( UpdateObjectAttributesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateObjectAttributesRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateObjectAttributesResponseUnmarshaller . Instance... |
public GetGameSessionLogUrlResult getGameSessionLogUrl ( GetGameSessionLogUrlRequest request ) { request = beforeClientExecution ( request ) ; return executeGetGameSessionLogUrl ( request ) ; } | public virtual GetGameSessionLogUrlResponse GetGameSessionLogUrl ( GetGameSessionLogUrlRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetGameSessionLogUrlRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetGameSessionLogUrlResponseUnmarshaller . Instance ; return ... |
public RefCount ( T object ) { this . object = object ; } | public RefCount ( T @ object ) { this . m_object = @ object ; } |
public ByteBuffer put ( int index , byte b ) { checkIndex ( index ) ; backingArray [ offset + index ] = b ; return this ; } | public override java . nio . ByteBuffer put ( int index , byte b ) { checkIndex ( index ) ; backingArray [ offset + index ] = b ; return this ; } |
public IntervalSet LOOK ( ATNState s , ATNState stopState , RuleContext ctx ) { IntervalSet r = new IntervalSet ( ) ; boolean seeThruPreds = true ; PredictionContext lookContext = ctx != null ? PredictionContext . fromRuleContext ( s . atn , ctx ) : null ; _LOOK ( s , stopState , lookContext , r , new HashSet < ATNConf... | public virtual IntervalSet Look ( ATNState s , ATNState stopState , RuleContext ctx ) { IntervalSet r = new IntervalSet ( ) ; bool seeThruPreds = true ; PredictionContext lookContext = ctx != null ? PredictionContext . FromRuleContext ( s . atn , ctx ) : null ; Look ( s , stopState , lookContext , r , new HashSet < ATN... |
public int getValidationType ( ) { return _validationType ; } | public int GetValidationType ( ) { return _validationType ; } |
public DeleteTagCommand tagDelete ( ) { return new DeleteTagCommand ( repo ) ; } | public virtual DeleteTagCommand TagDelete ( ) { return new DeleteTagCommand ( repo ) ; } |
public SortRescorer ( Sort sort ) { this . sort = sort ; } | public SortRescorer ( Sort sort ) { this . sort = sort ; } |
public void verifyBelongsToWorkbook ( HSSFWorkbook wb ) { if ( wb . getWorkbook ( ) != _workbook ) { throw new IllegalArgumentException ( "This Style does not belong to the supplied Workbook. Are you trying to assign a style from one workbook to the cell of a differnt workbook?" ) ; } } | public void VerifyBelongsToWorkbook ( HSSFWorkbook wb ) { if ( wb . Workbook != _workbook ) { throw new ArgumentException ( "This Style does not belong to the supplied Workbook. Are you trying to assign a style from one workbook to the cell of a differnt workbook?" ) ; } } |
public StringBuffer insert ( int index , Object obj ) { return insert ( index , obj == null ? "null" : obj . toString ( ) ) ; } | public java . lang . StringBuffer insert ( int index , object obj ) { return insert ( index , obj == null ? "null" : obj . ToString ( ) ) ; } |
public boolean containsKey ( CharSequence cs ) { if ( cs == null ) throw new NullPointerException ( ) ; return false ; } | public override bool ContainsKey ( ICharSequence text ) { if ( text == null ) { throw new ArgumentNullException ( "text" ) ; } return false ; } |
public int compareTo ( HSSFRichTextString r ) { return _string . compareTo ( r . _string ) ; } | public int CompareTo ( HSSFRichTextString other ) { return _string . CompareTo ( other . _string ) ; } |
public RequestSpotInstancesRequest ( String spotPrice ) { setSpotPrice ( spotPrice ) ; } | public RequestSpotInstancesRequest ( string spotPrice ) { _spotPrice = spotPrice ; } |
public ObjectId getNewObjectId ( ) { return newObjectId ; } | public virtual ObjectId GetNewObjectId ( ) { return newObjectId ; } |
public void setDeltaBaseAsOffset ( boolean deltaBaseAsOffset ) { this . deltaBaseAsOffset = deltaBaseAsOffset ; } | public virtual void SetDeltaBaseAsOffset ( bool deltaBaseAsOffset ) { this . deltaBaseAsOffset = deltaBaseAsOffset ; } |
public LengthFilterFactory ( Map < String , String > args ) { super ( args ) ; min = requireInt ( args , MIN_KEY ) ; max = requireInt ( args , MAX_KEY ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } } | public LengthFilterFactory ( IDictionary < string , string > args ) : base ( args ) { min = RequireInt32 ( args , MIN_KEY ) ; max = RequireInt32 ( args , MAX_KEY ) ; enablePositionIncrements = GetBoolean ( args , "enablePositionIncrements" , true ) ; if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unk... |
public TruncateTokenFilter ( TokenStream input , int length ) { super ( input ) ; if ( length < 1 ) throw new IllegalArgumentException ( "length parameter must be a positive number: " + length ) ; this . length = length ; } | public TruncateTokenFilter ( TokenStream input , int length ) : base ( input ) { if ( length < 1 ) { throw new System . ArgumentOutOfRangeException ( "length parameter must be a positive number: " + length ) ; } this . length = length ; this . termAttribute = AddAttribute < ICharTermAttribute > ( ) ; this . keywordAttr... |
public ListDomainsResult listDomains ( ) { return listDomains ( new ListDomainsRequest ( ) ) ; } | public virtual ListDomainsResponse ListDomains ( ) { return ListDomains ( new ListDomainsRequest ( ) ) ; } |
public ArabicStemFilter create ( TokenStream input ) { return new ArabicStemFilter ( input ) ; } | public override TokenStream Create ( TokenStream input ) { return new ArabicStemFilter ( input ) ; } |
public PushCommand setRefSpecs ( RefSpec ... specs ) { checkCallable ( ) ; this . refSpecs . clear ( ) ; Collections . addAll ( refSpecs , specs ) ; return this ; } | public virtual NGit . Api . PushCommand SetRefSpecs ( IList < RefSpec > specs ) { CheckCallable ( ) ; this . refSpecs . Clear ( ) ; Sharpen . Collections . AddAll ( this . refSpecs , specs ) ; return this ; } |
public BlameGenerator setDiffAlgorithm ( DiffAlgorithm algorithm ) { diffAlgorithm = algorithm ; return this ; } | public virtual NGit . Blame . BlameGenerator SetDiffAlgorithm ( DiffAlgorithm algorithm ) { diffAlgorithm = algorithm ; return this ; } |
public GroupingSearch setIncludeMaxScore ( boolean includeMaxScore ) { this . includeMaxScore = includeMaxScore ; return this ; } | public virtual GroupingSearch SetIncludeMaxScore ( bool includeMaxScore ) { this . includeMaxScore = includeMaxScore ; return this ; } |
public Field [ ] createIndexableFields ( Shape shape ) { double distErr = SpatialArgs . calcDistanceFromErrPct ( shape , distErrPct , ctx ) ; return createIndexableFields ( shape , distErr ) ; } | public override Field [ ] CreateIndexableFields ( IShape shape ) { double distErr = SpatialArgs . CalcDistanceFromErrPct ( shape , m_distErrPct , m_ctx ) ; return CreateIndexableFields ( shape , distErr ) ; } |
public PutMethodResponseResult putMethodResponse ( PutMethodResponseRequest request ) { request = beforeClientExecution ( request ) ; return executePutMethodResponse ( request ) ; } | public virtual PutMethodResponseResponse PutMethodResponse ( PutMethodResponseRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutMethodResponseRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutMethodResponseResponseUnmarshaller . Instance ; return Invoke < PutMet... |
public LegacyCredentials ( Credential legacyCrendential ) { this . legacyCredential = legacyCrendential ; } | public LegacyCredentials ( Credential legacyCredential ) { this . legacyCredential = legacyCredential ; } |
public DescribeFeatureTransformationResult describeFeatureTransformation ( DescribeFeatureTransformationRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeFeatureTransformation ( request ) ; } | public virtual DescribeFeatureTransformationResponse DescribeFeatureTransformation ( DescribeFeatureTransformationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeFeatureTransformationRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeFeatureTransforma... |
public DeleteRouteResult deleteRoute ( DeleteRouteRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteRoute ( request ) ; } | public virtual DeleteRouteResponse DeleteRoute ( DeleteRouteRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteRouteRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteRouteResponseUnmarshaller . Instance ; return Invoke < DeleteRouteResponse > ( request , op... |
public AssociatePhoneNumbersWithVoiceConnectorResult associatePhoneNumbersWithVoiceConnector ( AssociatePhoneNumbersWithVoiceConnectorRequest request ) { request = beforeClientExecution ( request ) ; return executeAssociatePhoneNumbersWithVoiceConnector ( request ) ; } | public virtual AssociatePhoneNumbersWithVoiceConnectorResponse AssociatePhoneNumbersWithVoiceConnector ( AssociatePhoneNumbersWithVoiceConnectorRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AssociatePhoneNumbersWithVoiceConnectorRequestMarshaller . Instance ; options . Response... |
public long ramBytesUsed ( ) { long size = BASE_RAM_BYTES_USED + RamUsageEstimator . shallowSizeOf ( blocks ) ; if ( blocks . length > 0 ) { size += ( blocks . length - 1 ) * bytesUsedPerBlock ; size += RamUsageEstimator . sizeOf ( blocks [ blocks . length - 1 ] ) ; } return size ; } | public long RamBytesUsed ( ) { return ( ( blocks != null ) ? ( blockSize * blocks . Length ) : 0 ) ; } |
public short readShort ( ) { return _in . readShort ( ) ; } | public short ReadShort ( ) { return _in . ReadShort ( ) ; } |
public UpdatePipelineNotificationsResult updatePipelineNotifications ( UpdatePipelineNotificationsRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdatePipelineNotifications ( request ) ; } | public virtual UpdatePipelineNotificationsResponse UpdatePipelineNotifications ( UpdatePipelineNotificationsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdatePipelineNotificationsRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdatePipelineNotificationsRespon... |
public StringWriter append ( char c ) { write ( c ) ; return this ; } | public override java . io . Writer append ( char c ) { write ( c ) ; return this ; } |
public Iterator < V > iterator ( ) { return new ValueIterator ( ) ; } | public override java . util . Iterator < V > iterator ( ) { return new java . util . Hashtable < K , V > . ValueIterator ( this . _enclosing ) ; } |
public UnitsRecord ( RecordInputStream in ) { field_1_units = in . readShort ( ) ; } | public UnitsRecord ( RecordInputStream in1 ) { field_1_units = in1 . ReadShort ( ) ; } |
public boolean isEmpty ( ) { return first ; } | public virtual bool IsEmpty ( ) { return first ; } |
public String toString ( ) { return "ANY_DIFF" ; } | public override string ToString ( ) { return "ANY_DIFF" ; } |
public UpdateDomainNameResult updateDomainName ( UpdateDomainNameRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateDomainName ( request ) ; } | public virtual UpdateDomainNameResponse UpdateDomainName ( UpdateDomainNameRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateDomainNameRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateDomainNameResponseUnmarshaller . Instance ; return Invoke < UpdateDomai... |
public DeleteSnapshotRequest ( String snapshotId ) { setSnapshotId ( snapshotId ) ; } | public DeleteSnapshotRequest ( string snapshotId ) { _snapshotId = snapshotId ; } |
public void readFully ( byte [ ] buf ) { readFully ( buf , 0 , buf . length ) ; } | public void ReadFully ( byte [ ] buf ) { ReadFully ( buf , 0 , buf . Length ) ; } |
public SliceReader ( IntBlockPool pool ) { this . pool = pool ; } | public SliceReader ( Int32BlockPool pool ) { this . pool = pool ; } |
public void setDeltaSearchMemoryLimit ( long memoryLimit ) { deltaSearchMemoryLimit = memoryLimit ; } | public virtual void SetDeltaSearchMemoryLimit ( long memoryLimit ) { deltaSearchMemoryLimit = memoryLimit ; } |
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[BOOKBOOL]\n" ) ; buffer . append ( " .savelinkvalues = " ) . append ( Integer . toHexString ( getSaveLinkValues ( ) ) ) . append ( "\n" ) ; buffer . append ( "[/BOOKBOOL]\n" ) ; return buffer . toString ( ) ; } | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[BOOKBOOL]\n" ) ; buffer . Append ( " .savelinkvalues = " ) . Append ( StringUtil . ToHexString ( SaveLinkValues ) ) . Append ( "\n" ) ; buffer . Append ( "[/BOOKBOOL]\n" ) ; return buffer . ToString ( ) ; } |
public DescribeTransitGatewayAttachmentsResult describeTransitGatewayAttachments ( DescribeTransitGatewayAttachmentsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeTransitGatewayAttachments ( request ) ; } | public virtual DescribeTransitGatewayAttachmentsResponse DescribeTransitGatewayAttachments ( DescribeTransitGatewayAttachmentsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeTransitGatewayAttachmentsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeT... |
public CreateVpcResult createVpc ( CreateVpcRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateVpc ( request ) ; } | public virtual CreateVpcResponse CreateVpc ( CreateVpcRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateVpcRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateVpcResponseUnmarshaller . Instance ; return Invoke < CreateVpcResponse > ( request , options ) ; } |
public DescribeElasticGpusResult describeElasticGpus ( DescribeElasticGpusRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeElasticGpus ( request ) ; } | public virtual DescribeElasticGpusResponse DescribeElasticGpus ( DescribeElasticGpusRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeElasticGpusRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeElasticGpusResponseUnmarshaller . Instance ; return Invok... |
public IntBuffer put ( int c ) { if ( position == limit ) { throw new BufferOverflowException ( ) ; } byteBuffer . putInt ( position ++ * SizeOf . INT , c ) ; return this ; } | public override java . nio . IntBuffer put ( int c ) { if ( _position == _limit ) { throw new java . nio . BufferOverflowException ( ) ; } byteBuffer . putInt ( _position ++ * libcore . io . SizeOf . INT , c ) ; return this ; } |
public UpdateEndpointsBatchResult updateEndpointsBatch ( UpdateEndpointsBatchRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateEndpointsBatch ( request ) ; } | public virtual UpdateEndpointsBatchResponse UpdateEndpointsBatch ( UpdateEndpointsBatchRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateEndpointsBatchRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateEndpointsBatchResponseUnmarshaller . Instance ; return ... |
public void fromRaw ( byte [ ] bs , int p ) { w1 = NB . decodeInt32 ( bs , p ) ; w2 = NB . decodeInt32 ( bs , p + 4 ) ; w3 = NB . decodeInt32 ( bs , p + 8 ) ; w4 = NB . decodeInt32 ( bs , p + 12 ) ; w5 = NB . decodeInt32 ( bs , p + 16 ) ; } | public virtual void FromRaw ( byte [ ] bs , int p ) { w1 = NB . DecodeInt32 ( bs , p ) ; w2 = NB . DecodeInt32 ( bs , p + 4 ) ; w3 = NB . DecodeInt32 ( bs , p + 8 ) ; w4 = NB . DecodeInt32 ( bs , p + 12 ) ; w5 = NB . DecodeInt32 ( bs , p + 16 ) ; } |
public static OpenSshConfig get ( FS fs ) { File home = fs . userHome ( ) ; if ( home == null ) home = new File ( "." ) . getAbsoluteFile ( ) ; final File config = new File ( new File ( home , SshConstants . SSH_DIR ) , SshConstants . CONFIG ) ; return new OpenSshConfig ( home , config ) ; } | public static NGit . Transport . OpenSshConfig Get ( FS fs ) { FilePath home = fs . UserHome ( ) ; if ( home == null ) { home = new FilePath ( "." ) . GetAbsoluteFile ( ) ; } FilePath config = new FilePath ( new FilePath ( home , ".ssh" ) , Constants . CONFIG ) ; NGit . Transport . OpenSshConfig osc = new NGit . Transp... |
public VCenterRecord ( RecordInputStream in ) { field_1_vcenter = in . readShort ( ) ; } | public VCenterRecord ( RecordInputStream in1 ) { field_1_vcenter = in1 . ReadShort ( ) ; } |
public synchronized InputStream obtainFile ( String sessionID , String source , String fileName ) throws IOException { ensureOpen ( ) ; ReplicationSession session = sessions . get ( sessionID ) ; if ( session != null && session . isExpired ( expirationThresholdMilllis ) ) { releaseSession ( sessionID ) ; session = null... | public virtual Stream ObtainFile ( string sessionId , string source , string fileName ) { lock ( padlock ) { EnsureOpen ( ) ; ReplicationSession session ; if ( sessions . TryGetValue ( sessionId , out session ) && session != null && session . IsExpired ( ExpirationThreshold ) ) { ReleaseSession ( sessionId ) ; session ... |
public DownloadDefaultKeyPairResult downloadDefaultKeyPair ( DownloadDefaultKeyPairRequest request ) { request = beforeClientExecution ( request ) ; return executeDownloadDefaultKeyPair ( request ) ; } | public virtual DownloadDefaultKeyPairResponse DownloadDefaultKeyPair ( DownloadDefaultKeyPairRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DownloadDefaultKeyPairRequestMarshaller . Instance ; options . ResponseUnmarshaller = DownloadDefaultKeyPairResponseUnmarshaller . Instance... |
public DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResult describeLocalGatewayRouteTableVirtualInterfaceGroupAssociations ( DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeLocalGatewayRouteTableVirt... | public virtual DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsResponse DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociations ( DescribeLocalGatewayRouteTableVirtualInterfaceGroupAssociationsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeLocalGat... |
public ResetEbsDefaultKmsKeyIdResult resetEbsDefaultKmsKeyId ( ResetEbsDefaultKmsKeyIdRequest request ) { request = beforeClientExecution ( request ) ; return executeResetEbsDefaultKmsKeyId ( request ) ; } | public virtual ResetEbsDefaultKmsKeyIdResponse ResetEbsDefaultKmsKeyId ( ResetEbsDefaultKmsKeyIdRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ResetEbsDefaultKmsKeyIdRequestMarshaller . Instance ; options . ResponseUnmarshaller = ResetEbsDefaultKmsKeyIdResponseUnmarshaller . Ins... |
public int getPropertiesPerBlock ( ) { return bigBlockSize / POIFSConstants . PROPERTY_SIZE ; } | public int GetPropertiesPerBlock ( ) { return bigBlockSize / POIFSConstants . PROPERTY_SIZE ; } |
public ValueEval evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval numberVE ) { return this . evaluate ( srcRowIndex , srcColumnIndex , numberVE , null ) ; } | public override ValueEval Evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval numberVE ) { return this . Evaluate ( srcRowIndex , srcColumnIndex , numberVE , null ) ; } |
public GetFindingsStatisticsResult getFindingsStatistics ( GetFindingsStatisticsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetFindingsStatistics ( request ) ; } | public virtual GetFindingsStatisticsResponse GetFindingsStatistics ( GetFindingsStatisticsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetFindingsStatisticsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetFindingsStatisticsResponseUnmarshaller . Instance ; re... |
public DBCluster modifyDBCluster ( ModifyDBClusterRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyDBCluster ( request ) ; } | public virtual ModifyDBClusterResponse ModifyDBCluster ( ModifyDBClusterRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyDBClusterRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyDBClusterResponseUnmarshaller . Instance ; return Invoke < ModifyDBClusterR... |
public LimitTokenCountFilterFactory ( Map < String , String > args ) { super ( args ) ; maxTokenCount = requireInt ( args , MAX_TOKEN_COUNT_KEY ) ; consumeAllTokens = getBoolean ( args , CONSUME_ALL_TOKENS_KEY , false ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args )... | public LimitTokenCountFilterFactory ( IDictionary < string , string > args ) : base ( args ) { maxTokenCount = RequireInt32 ( args , MAX_TOKEN_COUNT_KEY ) ; consumeAllTokens = GetBoolean ( args , CONSUME_ALL_TOKENS_KEY , false ) ; if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " +... |
public MatchNoDocsQuery build ( QueryNode queryNode ) throws QueryNodeException { if ( ! ( queryNode instanceof MatchNoDocsQueryNode ) ) { throw new QueryNodeException ( new MessageImpl ( QueryParserMessages . LUCENE_QUERY_CONVERSION_ERROR , queryNode . toQueryString ( new EscapeQuerySyntaxImpl ( ) ) , queryNode . getC... | public virtual Query Build ( IQueryNode queryNode ) { if ( ! ( queryNode is MatchNoDocsQueryNode ) ) { throw new QueryNodeException ( new Message ( QueryParserMessages . LUCENE_QUERY_CONVERSION_ERROR , queryNode . ToQueryString ( new EscapeQuerySyntax ( ) ) , queryNode . GetType ( ) . Name ) ) ; } return new BooleanQue... |
public GetUserPolicyRequest ( String userName , String policyName ) { setUserName ( userName ) ; setPolicyName ( policyName ) ; } | public GetUserPolicyRequest ( string userName , string policyName ) { _userName = userName ; _policyName = policyName ; } |
public Cluster rotateEncryptionKey ( RotateEncryptionKeyRequest request ) { request = beforeClientExecution ( request ) ; return executeRotateEncryptionKey ( request ) ; } | public virtual RotateEncryptionKeyResponse RotateEncryptionKey ( RotateEncryptionKeyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RotateEncryptionKeyRequestMarshaller . Instance ; options . ResponseUnmarshaller = RotateEncryptionKeyResponseUnmarshaller . Instance ; return Invok... |
public int getLinesAdded ( ) { return nAdded ; } | public virtual int GetLinesAdded ( ) { return nAdded ; } |
public List < Token > getHiddenTokensToLeft ( int tokenIndex , int channel ) { lazyInit ( ) ; if ( tokenIndex < 0 || tokenIndex >= tokens . size ( ) ) { throw new IndexOutOfBoundsException ( tokenIndex + " not in 0.." + ( tokens . size ( ) - 1 ) ) ; } if ( tokenIndex == 0 ) { return null ; } int prevOnChannel = previou... | public virtual IList < IToken > GetHiddenTokensToLeft ( int tokenIndex , int channel ) { LazyInit ( ) ; if ( tokenIndex < 0 || tokenIndex >= tokens . Count ) { throw new ArgumentOutOfRangeException ( tokenIndex + " not in 0.." + ( tokens . Count - 1 ) ) ; } if ( tokenIndex == 0 ) { return null ; } int prevOnChannel = P... |
public ValidDBInstanceModificationsMessage describeValidDBInstanceModifications ( DescribeValidDBInstanceModificationsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeValidDBInstanceModifications ( request ) ; } | public virtual DescribeValidDBInstanceModificationsResponse DescribeValidDBInstanceModifications ( DescribeValidDBInstanceModificationsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeValidDBInstanceModificationsRequestMarshaller . Instance ; options . ResponseUnmarshaller... |
public final void add ( RevFlag flag ) { flags |= flag . mask ; } | public void Add ( RevFlag flag ) { flags |= flag . mask ; } |
public void clear ( ) { Iterator < E > it = iterator ( ) ; while ( it . hasNext ( ) ) { it . next ( ) ; it . remove ( ) ; } } | public virtual void clear ( ) { java . util . Iterator < E > it = iterator ( ) ; while ( it . hasNext ( ) ) { it . next ( ) ; it . remove ( ) ; } } |
public RegisterImageResult registerImage ( RegisterImageRequest request ) { request = beforeClientExecution ( request ) ; return executeRegisterImage ( request ) ; } | public virtual RegisterImageResponse RegisterImage ( RegisterImageRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RegisterImageRequestMarshaller . Instance ; options . ResponseUnmarshaller = RegisterImageResponseUnmarshaller . Instance ; return Invoke < RegisterImageResponse > ( ... |
public boolean equals ( Object other ) { return sameClassAs ( other ) && term . equals ( ( ( TermQuery ) other ) . term ) ; } | public override bool Equals ( object o ) { if ( ! ( o is TermQuery ) ) { return false ; } TermQuery other = ( TermQuery ) o ; return ( this . Boost == other . Boost ) && this . term . Equals ( other . term ) ; } |
public URI ( String scheme , String authority , String path , String query , String fragment ) throws URISyntaxException { if ( scheme != null && path != null && ! path . isEmpty ( ) && path . charAt ( 0 ) != '/' ) { throw new URISyntaxException ( path , "Relative path" ) ; } StringBuilder uri = new StringBuilder ( ) ;... | public URI ( string scheme , string authority , string path , string query , string fragment ) { if ( scheme != null && path != null && ! string . IsNullOrEmpty ( path ) && path [ 0 ] != '/' ) { throw new java . net . URISyntaxException ( path , "Relative path" ) ; } java . lang . StringBuilder uri = new java . lang . ... |
public BlameGenerator ( Repository repository , String path ) { this . repository = repository ; this . resultPath = PathFilter . create ( path ) ; idBuf = new MutableObjectId ( ) ; setFollowFileRenames ( true ) ; initRevPool ( false ) ; remaining = - 1 ; } | public BlameGenerator ( Repository repository , string path ) { this . repository = repository ; this . resultPath = PathFilter . Create ( path ) ; idBuf = new MutableObjectId ( ) ; SetFollowFileRenames ( true ) ; InitRevPool ( false ) ; remaining = - 1 ; } |
public synchronized void writeTo ( OutputStream out ) throws IOException { out . write ( buf , 0 , count ) ; } | public virtual void writeTo ( java . io . OutputStream @ out ) { throw new System . NotImplementedException ( ) ; } |
public DeletableItem ( String name , java . util . List < Attribute > attributes ) { setName ( name ) ; setAttributes ( attributes ) ; } | public DeletableItem ( string name , List < Attribute > attributes ) { _name = name ; _attributes = attributes ; } |
public DescribeGroupResult describeGroup ( DescribeGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeGroup ( request ) ; } | public virtual DescribeGroupResponse DescribeGroup ( DescribeGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeGroupResponseUnmarshaller . Instance ; return Invoke < DescribeGroupResponse > ( ... |
public EnableVpcClassicLinkResult enableVpcClassicLink ( EnableVpcClassicLinkRequest request ) { request = beforeClientExecution ( request ) ; return executeEnableVpcClassicLink ( request ) ; } | public virtual EnableVpcClassicLinkResponse EnableVpcClassicLink ( EnableVpcClassicLinkRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = EnableVpcClassicLinkRequestMarshaller . Instance ; options . ResponseUnmarshaller = EnableVpcClassicLinkResponseUnmarshaller . Instance ; return ... |
public DescribeStacksResult describeStacks ( ) { return describeStacks ( new DescribeStacksRequest ( ) ) ; } | public virtual DescribeStacksResponse DescribeStacks ( ) { return DescribeStacks ( new DescribeStacksRequest ( ) ) ; } |
public CharBuffer duplicate ( ) { return copy ( this ) ; } | public override java . nio . CharBuffer duplicate ( ) { return copy ( this ) ; } |
public static double mod ( double n , double d ) { if ( d == 0 ) { return Double . NaN ; } else if ( sign ( n ) == sign ( d ) ) { return n % d ; } else { return ( ( n % d ) + d ) % d ; } } | public static double Mod ( double n , double d ) { double result = 0 ; if ( d == 0 ) { result = double . NaN ; } else if ( Sign ( n ) == Sign ( d ) ) { result = n % d ; } else { result = ( ( n % d ) + d ) % d ; } return result ; } |
public static String getLocalizedMessage ( String key , Locale locale ) { Object message = getResourceBundleObject ( key , locale ) ; if ( message == null ) { return "Message with key:" + key + " and locale: " + locale + " not found." ; } return message . toString ( ) ; } | public static string GetLocalizedMessage ( string key , CultureInfo locale ) { string message = GetResourceBundleObject ( key , locale ) ; if ( message == null ) { return "Message with key:" + key + " and locale: " + locale + " not found." ; } return message ; } |
public CharSequence toQueryString ( EscapeQuerySyntax escapeSyntaxParser ) { if ( getChild ( ) == null ) return "" ; return getChild ( ) . toQueryString ( escapeSyntaxParser ) + "^" + getValueString ( ) ; } | public override string ToQueryString ( IEscapeQuerySyntax escapeSyntaxParser ) { if ( Child == null ) return "" ; return Child . ToQueryString ( escapeSyntaxParser ) + "^" + GetValueString ( ) ; } |
public CharSequence toQueryString ( EscapeQuerySyntax escapeSyntaxParser ) { if ( getChild ( ) == null ) return "" ; return "( " + getChild ( ) . toQueryString ( escapeSyntaxParser ) + " )" ; } | public override string ToQueryString ( IEscapeQuerySyntax escapeSyntaxParser ) { if ( GetChild ( ) == null ) return "" ; return "( " + GetChild ( ) . ToQueryString ( escapeSyntaxParser ) + " )" ; } |
public GetInvalidationResult getInvalidation ( GetInvalidationRequest request ) { request = beforeClientExecution ( request ) ; return executeGetInvalidation ( request ) ; } | public virtual GetInvalidationResponse GetInvalidation ( GetInvalidationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetInvalidationRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetInvalidationResponseUnmarshaller . Instance ; return Invoke < GetInvalidationR... |
public String formatAsString ( ) { return formatAsString ( null , false ) ; } | public String FormatAsString ( ) { return FormatAsString ( null , false ) ; } |
public final int prefixCompare ( byte [ ] bs , int p ) { int cmp ; cmp = NB . compareUInt32 ( w1 , mask ( 1 , NB . decodeInt32 ( bs , p ) ) ) ; if ( cmp != 0 ) return cmp ; cmp = NB . compareUInt32 ( w2 , mask ( 2 , NB . decodeInt32 ( bs , p + 4 ) ) ) ; if ( cmp != 0 ) return cmp ; cmp = NB . compareUInt32 ( w3 , mask ... | public int PrefixCompare ( byte [ ] bs , int p ) { int cmp ; cmp = NB . CompareUInt32 ( w1 , Mask ( 1 , NB . DecodeInt32 ( bs , p ) ) ) ; if ( cmp != 0 ) { return cmp ; } cmp = NB . CompareUInt32 ( w2 , Mask ( 2 , NB . DecodeInt32 ( bs , p + 4 ) ) ) ; if ( cmp != 0 ) { return cmp ; } cmp = NB . CompareUInt32 ( w3 , Mas... |
public AddApplicationInputProcessingConfigurationResult addApplicationInputProcessingConfiguration ( AddApplicationInputProcessingConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executeAddApplicationInputProcessingConfiguration ( request ) ; } | public virtual AddApplicationInputProcessingConfigurationResponse AddApplicationInputProcessingConfiguration ( AddApplicationInputProcessingConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AddApplicationInputProcessingConfigurationRequestMarshaller . Instance ; option... |
public static TermRangeQuery newStringRange ( String field , String lowerTerm , String upperTerm , boolean includeLower , boolean includeUpper ) { BytesRef lower = lowerTerm == null ? null : new BytesRef ( lowerTerm ) ; BytesRef upper = upperTerm == null ? null : new BytesRef ( upperTerm ) ; return new TermRangeQuery (... | public static TermRangeQuery NewStringRange ( string field , string lowerTerm , string upperTerm , bool includeLower , bool includeUpper ) { BytesRef lower = lowerTerm == null ? null : new BytesRef ( lowerTerm ) ; BytesRef upper = upperTerm == null ? null : new BytesRef ( upperTerm ) ; return new TermRangeQuery ( field... |
static public double fv ( double r , int nper , double pmt , double pv , int type ) { return - ( pv * Math . pow ( 1 + r , nper ) + pmt * ( 1 + r * type ) * ( Math . pow ( 1 + r , nper ) - 1 ) / r ) ; } | static public double FV ( double r , int nper , double pmt , double pv , int type ) { double fv = - ( pv * Math . Pow ( 1 + r , nper ) + pmt * ( 1 + r * type ) * ( Math . Pow ( 1 + r , nper ) - 1 ) / r ) ; return fv ; } |
public int checkExternSheet ( int firstSheetIndex , int lastSheetIndex ) { int thisWbIndex = - 1 ; for ( int i = 0 ; i < _externalBookBlocks . length ; i ++ ) { SupBookRecord ebr = _externalBookBlocks [ i ] . getExternalBookRecord ( ) ; if ( ebr . isInternalReferences ( ) ) { thisWbIndex = i ; break ; } } if ( thisWbIn... | public int CheckExternSheet ( int firstSheetIndex , int lastSheetIndex ) { int thisWbIndex = - 1 ; for ( int i = 0 ; i < _externalBookBlocks . Length ; i ++ ) { SupBookRecord ebr = _externalBookBlocks [ i ] . GetExternalBookRecord ( ) ; if ( ebr . IsInternalReferences ) { thisWbIndex = i ; break ; } } if ( thisWbIndex ... |
public DescribeSentimentDetectionJobResult describeSentimentDetectionJob ( DescribeSentimentDetectionJobRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeSentimentDetectionJob ( request ) ; } | public virtual DescribeSentimentDetectionJobResponse DescribeSentimentDetectionJob ( DescribeSentimentDetectionJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeSentimentDetectionJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeSentimentDetectio... |
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[UNITS]\n" ) ; buffer . append ( " .units = " ) . append ( "0x" ) . append ( HexDump . toHex ( getUnits ( ) ) ) . append ( " (" ) . append ( getUnits ( ) ) . append ( " )" ) ; buffer . append ( System . getP... | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[UNITS]\n" ) ; buffer . Append ( " .units = " ) . Append ( "0x" ) . Append ( HexDump . ToHex ( Units ) ) . Append ( " (" ) . Append ( Units ) . Append ( " )" ) ; buffer . Append ( Environment . NewL... |
public NavigableMap < K , V > tailMap ( K from , boolean inclusive ) { Bound fromBound = inclusive ? INCLUSIVE : EXCLUSIVE ; return subMap ( from , fromBound , null , NO_BOUND ) ; } | public java . util . NavigableMap < K , V > tailMap ( K from , bool inclusive ) { java . util . TreeMap . Bound fromBound = inclusive ? java . util . TreeMap . Bound . INCLUSIVE : java . util . TreeMap . Bound . EXCLUSIVE ; return this . subMap ( from , fromBound , default ( K ) , java . util . TreeMap . Bound . NO_BOU... |
public static int compareTo ( Ref o1 , Ref o2 ) { return o1 . getName ( ) . compareTo ( o2 . getName ( ) ) ; } | public static int CompareTo ( Ref o1 , Ref o2 ) { return Sharpen . Runtime . CompareOrdinal ( o1 . GetName ( ) , o2 . GetName ( ) ) ; } |
public PutEventsConfigurationResult putEventsConfiguration ( PutEventsConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executePutEventsConfiguration ( request ) ; } | public virtual PutEventsConfigurationResponse PutEventsConfiguration ( PutEventsConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutEventsConfigurationRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutEventsConfigurationResponseUnmarshaller . Instance... |
public DetachFromIndexResult detachFromIndex ( DetachFromIndexRequest request ) { request = beforeClientExecution ( request ) ; return executeDetachFromIndex ( request ) ; } | public virtual DetachFromIndexResponse DetachFromIndex ( DetachFromIndexRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DetachFromIndexRequestMarshaller . Instance ; options . ResponseUnmarshaller = DetachFromIndexResponseUnmarshaller . Instance ; return Invoke < DetachFromIndexR... |
public RebaseCommand rebase ( ) { return new RebaseCommand ( repo ) ; } | public virtual RebaseCommand Rebase ( ) { return new RebaseCommand ( repo ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.