question
stringlengths
33
1.59k
target
stringlengths
33
1.58k
public DescribeCacheParametersResult describeCacheParameters ( DescribeCacheParametersRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeCacheParameters ( request ) ; }
public virtual DescribeCacheParametersResponse DescribeCacheParameters ( DescribeCacheParametersRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeCacheParametersRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeCacheParametersResponseUnmarshaller . Instance ; return Invoke < DescribeCacheParametersResponse > ( request , options ) ; }
public SimpleFraction ( int numerator , int denominator ) { this . numerator = numerator ; this . denominator = denominator ; }
public SimpleFraction ( int numerator , int denominator ) { this . numerator = numerator ; this . denominator = denominator ; }
public static int idealBooleanArraySize ( int need ) { return idealByteArraySize ( need ) ; }
public static int idealBooleanArraySize ( int need ) { return idealByteArraySize ( need ) ; }
public SubmoduleStatusCommand submoduleStatus ( ) { return new SubmoduleStatusCommand ( repo ) ; }
public virtual SubmoduleStatusCommand SubmoduleStatus ( ) { return new SubmoduleStatusCommand ( repo ) ; }
public PutRecordBatchResult putRecordBatch ( PutRecordBatchRequest request ) { request = beforeClientExecution ( request ) ; return executePutRecordBatch ( request ) ; }
public virtual PutRecordBatchResponse PutRecordBatch ( PutRecordBatchRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutRecordBatchRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutRecordBatchResponseUnmarshaller . Instance ; return Invoke < PutRecordBatchResponse > ( request , options ) ; }
public QueryTermScorer ( WeightedTerm [ ] weightedTerms ) { termsToFind = new HashMap < > ( ) ; for ( int i = 0 ; i < weightedTerms . length ; i ++ ) { WeightedTerm existingTerm = termsToFind . get ( weightedTerms [ i ] . term ) ; if ( ( existingTerm == null ) || ( existingTerm . weight < weightedTerms [ i ] . weight ) ) { termsToFind . put ( weightedTerms [ i ] . term , weightedTerms [ i ] ) ; maxTermWeight = Math . max ( maxTermWeight , weightedTerms [ i ] . getWeight ( ) ) ; } } }
public QueryTermScorer ( WeightedTerm [ ] weightedTerms ) { termsToFind = new Dictionary < string , WeightedTerm > ( ) ; for ( int i = 0 ; i < weightedTerms . Length ; i ++ ) { if ( ! termsToFind . TryGetValue ( weightedTerms [ i ] . Term , out WeightedTerm existingTerm ) || ( existingTerm == null ) || ( existingTerm . Weight < weightedTerms [ i ] . Weight ) ) { termsToFind [ weightedTerms [ i ] . Term ] = weightedTerms [ i ] ; maxTermWeight = Math . Max ( maxTermWeight , weightedTerms [ i ] . Weight ) ; } } }
public static boolean allSubsetsConflict ( Collection < BitSet > altsets ) { return ! hasNonConflictingAltSet ( altsets ) ; }
public static bool AllSubsetsConflict ( IEnumerable < BitSet > altsets ) { return ! HasNonConflictingAltSet ( altsets ) ; }
public DescribeRuntimeConfigurationResult describeRuntimeConfiguration ( DescribeRuntimeConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeRuntimeConfiguration ( request ) ; }
public virtual DescribeRuntimeConfigurationResponse DescribeRuntimeConfiguration ( DescribeRuntimeConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeRuntimeConfigurationRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeRuntimeConfigurationResponseUnmarshaller . Instance ; return Invoke < DescribeRuntimeConfigurationResponse > ( request , options ) ; }
public RevCommit parseCommit ( AnyObjectId id ) throws MissingObjectException , IncorrectObjectTypeException , IOException { RevObject c = peel ( parseAny ( id ) ) ; if ( ! ( c instanceof RevCommit ) ) throw new IncorrectObjectTypeException ( id . toObjectId ( ) , Constants . TYPE_COMMIT ) ; return ( RevCommit ) c ; }
public virtual RevCommit ParseCommit ( AnyObjectId id ) { RevObject c = Peel ( ParseAny ( id ) ) ; if ( ! ( c is RevCommit ) ) { throw new IncorrectObjectTypeException ( id . ToObjectId ( ) , Constants . TYPE_COMMIT ) ; } return ( RevCommit ) c ; }
public short readShort ( ) { return ( short ) readUShort ( ) ; }
public short ReadShort ( ) { return ( short ) ReadUShort ( ) ; }
public final void clear ( ) { for ( int i = 0 ; i <= size ; i ++ ) { heap [ i ] = null ; } size = 0 ; }
public void Clear ( ) { for ( int i = 0 ; i <= size ; i ++ ) { heap [ i ] = default ( T ) ; } size = 0 ; }
public CreateVPCAssociationAuthorizationResult createVPCAssociationAuthorization ( CreateVPCAssociationAuthorizationRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateVPCAssociationAuthorization ( request ) ; }
public virtual CreateVPCAssociationAuthorizationResponse CreateVPCAssociationAuthorization ( CreateVPCAssociationAuthorizationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateVPCAssociationAuthorizationRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateVPCAssociationAuthorizationResponseUnmarshaller . Instance ; return Invoke < CreateVPCAssociationAuthorizationResponse > ( request , options ) ; }
public ModifyCacheParameterGroupRequest ( String cacheParameterGroupName , java . util . List < ParameterNameValue > parameterNameValues ) { setCacheParameterGroupName ( cacheParameterGroupName ) ; setParameterNameValues ( parameterNameValues ) ; }
public ModifyCacheParameterGroupRequest ( string cacheParameterGroupName , List < ParameterNameValue > parameterNameValues ) { _cacheParameterGroupName = cacheParameterGroupName ; _parameterNameValues = parameterNameValues ; }
public boolean equals ( Object o ) { return o instanceof CatalanStemmer ; }
public override bool Equals ( object o ) { return o is CatalanStemmer ; }
public AutomatonQuery ( final Term term , Automaton automaton ) { this ( term , automaton , Operations . DEFAULT_MAX_DETERMINIZED_STATES ) ; }
public AutomatonQuery ( Term term , Automaton automaton ) : base ( term . Field ) { this . m_term = term ; this . m_automaton = automaton ; this . m_compiled = new CompiledAutomaton ( automaton ) ; }
public String getPattern ( ) { return pattern ; }
public virtual string GetPattern ( ) { return pattern ; }
public int compareTo ( IntBuffer otherBuffer ) { int compareRemaining = ( remaining ( ) < otherBuffer . remaining ( ) ) ? remaining ( ) : otherBuffer . remaining ( ) ; int thisPos = position ; int otherPos = otherBuffer . position ; int thisInt , otherInt ; while ( compareRemaining > 0 ) { thisInt = get ( thisPos ) ; otherInt = otherBuffer . get ( otherPos ) ; if ( thisInt != otherInt ) { return thisInt < otherInt ? - 1 : 1 ; } thisPos ++ ; otherPos ++ ; compareRemaining -- ; } return remaining ( ) - otherBuffer . remaining ( ) ; }
public virtual int compareTo ( java . nio . IntBuffer otherBuffer ) { int compareRemaining = ( remaining ( ) < otherBuffer . remaining ( ) ) ? remaining ( ) : otherBuffer . remaining ( ) ; int thisPos = _position ; int otherPos = otherBuffer . _position ; int thisInt ; int otherInt ; while ( compareRemaining > 0 ) { thisInt = get ( thisPos ) ; otherInt = otherBuffer . get ( otherPos ) ; if ( thisInt != otherInt ) { return thisInt < otherInt ? - 1 : 1 ; } thisPos ++ ; otherPos ++ ; compareRemaining -- ; } return remaining ( ) - otherBuffer . remaining ( ) ; }
public final boolean hasNext ( ) { return next != header ; }
public virtual bool hasNext ( ) { return this . _next != this . _enclosing . header ; }
public Class < IndexChangedListener > getListenerType ( ) { return IndexChangedListener . class ; }
public override Type GetListenerType ( ) { return typeof ( IndexChangedListener ) ; }
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[OBJECTLINK]\n" ) ; buffer . append ( " .anchorId = " ) . append ( "0x" ) . append ( HexDump . toHex ( getAnchorId ( ) ) ) . append ( " (" ) . append ( getAnchorId ( ) ) . append ( " )" ) ; buffer . append ( System . getProperty ( "line.separator" ) ) ; buffer . append ( " .link1 = " ) . append ( "0x" ) . append ( HexDump . toHex ( getLink1 ( ) ) ) . append ( " (" ) . append ( getLink1 ( ) ) . append ( " )" ) ; buffer . append ( System . getProperty ( "line.separator" ) ) ; buffer . append ( " .link2 = " ) . append ( "0x" ) . append ( HexDump . toHex ( getLink2 ( ) ) ) . append ( " (" ) . append ( getLink2 ( ) ) . append ( " )" ) ; buffer . append ( System . getProperty ( "line.separator" ) ) ; buffer . append ( "[/OBJECTLINK]\n" ) ; return buffer . toString ( ) ; }
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[OBJECTLINK]\n" ) ; buffer . Append ( " .AnchorId = " ) . Append ( "0x" ) . Append ( HexDump . ToHex ( AnchorId ) ) . Append ( " (" ) . Append ( AnchorId ) . Append ( " )" ) ; buffer . Append ( Environment . NewLine ) ; buffer . Append ( " .link1 = " ) . Append ( "0x" ) . Append ( HexDump . ToHex ( Link1 ) ) . Append ( " (" ) . Append ( Link1 ) . Append ( " )" ) ; buffer . Append ( Environment . NewLine ) ; buffer . Append ( " .link2 = " ) . Append ( "0x" ) . Append ( HexDump . ToHex ( Link2 ) ) . Append ( " (" ) . Append ( Link2 ) . Append ( " )" ) ; buffer . Append ( Environment . NewLine ) ; buffer . Append ( "[/OBJECTLINK]\n" ) ; return buffer . ToString ( ) ; }
public void setDetectRenames ( boolean on ) { if ( on && renameDetector == null ) { assertHaveReader ( ) ; renameDetector = new RenameDetector ( reader , diffCfg ) ; } else if ( ! on ) renameDetector = null ; }
public virtual void SetDetectRenames ( bool on ) { if ( on && renameDetector == null ) { AssertHaveRepository ( ) ; renameDetector = new RenameDetector ( db ) ; } else { if ( ! on ) { renameDetector = null ; } } }
public boolean isSupported ( int bitsPerValue ) { return Packed64SingleBlock . isSupported ( bitsPerValue ) ; }
public virtual bool IsSupported ( int bitsPerValue ) { return bitsPerValue >= 1 && bitsPerValue <= 64 ; }
public void setOutputUnigrams ( boolean outputUnigrams ) { this . outputUnigrams = outputUnigrams ; gramSize = new CircularSequence ( ) ; }
public void SetOutputUnigrams ( bool outputUnigrams ) { this . outputUnigrams = outputUnigrams ; gramSize = new CircularSequence ( this ) ; }
public TypeAsPayloadTokenFilter create ( TokenStream input ) { return new TypeAsPayloadTokenFilter ( input ) ; }
public override TokenStream Create ( TokenStream input ) { return new TypeAsPayloadTokenFilter ( input ) ; }
public CreateIndexResult createIndex ( CreateIndexRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateIndex ( request ) ; }
public virtual CreateIndexResponse CreateIndex ( CreateIndexRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateIndexRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateIndexResponseUnmarshaller . Instance ; return Invoke < CreateIndexResponse > ( request , options ) ; }
public QualityQuery ( String queryID , Map < String , String > nameValPairs ) { this . queryID = queryID ; this . nameValPairs = nameValPairs ; }
public QualityQuery ( string queryID , IDictionary < string , string > nameValPairs ) { this . queryID = queryID ; this . nameValPairs = nameValPairs ; }
public void addFirst ( E object ) { addFirstImpl ( object ) ; }
public virtual void addFirst ( E @ object ) { addFirstImpl ( @ object ) ; }
public ValidateConfigurationSettingsRequest ( String applicationName , java . util . List < ConfigurationOptionSetting > optionSettings ) { setApplicationName ( applicationName ) ; setOptionSettings ( optionSettings ) ; }
public ValidateConfigurationSettingsRequest ( string applicationName , List < ConfigurationOptionSetting > optionSettings ) { _applicationName = applicationName ; _optionSettings = optionSettings ; }
public static FileKey exact ( File directory , FS fs ) { return new FileKey ( directory , fs ) ; }
public static RepositoryCache . FileKey Exact ( FilePath directory , FS fs ) { return new RepositoryCache . FileKey ( directory , fs ) ; }
public void removeScale ( ) { remove1stProperty ( PropertyIDMap . PID_SCALE ) ; }
public void RemoveScale ( ) { MutableSection s = ( MutableSection ) FirstSection ; s . RemoveProperty ( PropertyIDMap . PID_SCALE ) ; }
public DocumentDictionary ( IndexReader reader , String field , String weightField , String payloadField , String contextsField ) { this . reader = reader ; this . field = field ; this . weightField = weightField ; this . payloadField = payloadField ; this . contextsField = contextsField ; }
public DocumentDictionary ( IndexReader reader , string field , string weightField , string payloadField , string contextsField ) { this . m_reader = reader ; this . field = field ; this . weightField = weightField ; this . m_payloadField = payloadField ; this . m_contextsField = contextsField ; }
public long get ( int index ) { final int o = index / 5 ; final int b = index % 5 ; final int shift = b * 12 ; return ( blocks [ o ] > > > shift ) & 4095L ; }
public override long Get ( int index ) { int o = index / 5 ; int b = index % 5 ; int shift = b * 12 ; return ( ( long ) ( ( ulong ) blocks [ o ] > > shift ) ) & 4095L ; }
@ Override public void clear ( ) { synchronized ( mutex ) { c . clear ( ) ; } }
public virtual void clear ( ) { lock ( mutex ) { c . clear ( ) ; } }
public boolean hasNext ( ) { return _nextIndex < _endIx ; }
public bool HasNext ( ) { return _nextIndex < _endIx ; }
public AssociateVirtualInterfaceResult associateVirtualInterface ( AssociateVirtualInterfaceRequest request ) { request = beforeClientExecution ( request ) ; return executeAssociateVirtualInterface ( request ) ; }
public virtual AssociateVirtualInterfaceResponse AssociateVirtualInterface ( AssociateVirtualInterfaceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AssociateVirtualInterfaceRequestMarshaller . Instance ; options . ResponseUnmarshaller = AssociateVirtualInterfaceResponseUnmarshaller . Instance ; return Invoke < AssociateVirtualInterfaceResponse > ( request , options ) ; }
public DoubleValuesSource makeDistanceValueSource ( Point queryPoint ) { return makeDistanceValueSource ( queryPoint , 1.0 ) ; }
public virtual ValueSource MakeDistanceValueSource ( IPoint queryPoint ) { return MakeDistanceValueSource ( queryPoint , 1.0 ) ; }
public float getTokenScore ( ) { position += posIncAtt . getPositionIncrement ( ) ; String termText = termAtt . toString ( ) ; WeightedSpanTerm weightedSpanTerm ; if ( ( weightedSpanTerm = fieldWeightedSpanTerms . get ( termText ) ) == null ) { return 0 ; } if ( weightedSpanTerm . positionSensitive && ! weightedSpanTerm . checkPosition ( position ) ) { return 0 ; } float score = weightedSpanTerm . getWeight ( ) ; if ( ! foundTerms . contains ( termText ) ) { totalScore += score ; foundTerms . add ( termText ) ; } return score ; }
public virtual float GetTokenScore ( ) { position += posIncAtt . PositionIncrement ; string termText = termAtt . ToString ( ) ; WeightedSpanTerm weightedSpanTerm ; if ( ! fieldWeightedSpanTerms . TryGetValue ( termText , out weightedSpanTerm ) || weightedSpanTerm == null ) { return 0 ; } if ( weightedSpanTerm . IsPositionSensitive && ! weightedSpanTerm . CheckPosition ( position ) ) { return 0 ; } float score = weightedSpanTerm . Weight ; if ( ! foundTerms . Contains ( termText ) ) { totalScore += score ; foundTerms . Add ( termText ) ; } return score ; }
public E pollFirst ( ) { Map . Entry < E , Object > entry = backingMap . pollFirstEntry ( ) ; return ( entry == null ) ? null : entry . getKey ( ) ; }
public virtual E pollFirst ( ) { java . util . MapClass . Entry < E , object > entry = backingMap . pollFirstEntry ( ) ; return ( entry == null ) ? default ( E ) : entry . getKey ( ) ; }
public void enterEveryRule ( ParserRuleContext ctx ) { System . out . println ( "enter " + getRuleNames ( ) [ ctx . getRuleIndex ( ) ] + ", LT(1)=" + _input . LT ( 1 ) . getText ( ) ) ; }
public virtual void EnterEveryRule ( ParserRuleContext ctx ) { Output . WriteLine ( "enter " + this . _enclosing . RuleNames [ ctx . RuleIndex ] + ", LT(1)=" + this . _enclosing . _input . LT ( 1 ) . Text ) ; }
public ShortBuffer put ( int index , short c ) { checkIndex ( index ) ; byteBuffer . putShort ( index * SizeOf . SHORT , c ) ; return this ; }
public override java . nio . ShortBuffer put ( int index , short c ) { checkIndex ( index ) ; byteBuffer . putShort ( index * libcore . io . SizeOf . SHORT , c ) ; return this ; }
public void notifyUpdateCell ( Cell cell ) { _bookEvaluator . notifyUpdateCell ( new HSSFEvaluationCell ( ( HSSFCell ) cell ) ) ; }
public void NotifyUpdateCell ( ICell cell ) { _bookEvaluator . NotifyUpdateCell ( new HSSFEvaluationCell ( cell ) ) ; }
public void moveCell ( HSSFCell cell , short newColumn ) { if ( cells . length > newColumn && cells [ newColumn ] != null ) { throw new IllegalArgumentException ( "Asked to move cell to column " + newColumn + " but there's already a cell there" ) ; } if ( ! cells [ cell . getColumnIndex ( ) ] . equals ( cell ) ) { throw new IllegalArgumentException ( "Asked to move a cell, but it didn't belong to our row" ) ; } removeCell ( cell , false ) ; cell . updateCellNum ( newColumn ) ; addCell ( cell ) ; }
public void MoveCell ( ICell cell , int newColumn ) { if ( cells . ContainsKey ( newColumn ) ) { throw new ArgumentException ( "Asked to move cell to column " + newColumn + " but there's already a cell there" ) ; } bool existflag = false ; foreach ( ICell cellinrow in cells . Values ) { if ( cellinrow . Equals ( cell ) ) { existflag = true ; break ; } } if ( ! existflag ) { throw new ArgumentException ( "Asked to move a cell, but it didn't belong to our row" ) ; } RemoveCell ( cell , false ) ; ( ( HSSFCell ) cell ) . UpdateCellNum ( newColumn ) ; AddCell ( cell ) ; }
public void connect ( PipedWriter src ) throws IOException { src . connect ( this ) ; }
public virtual void connect ( java . io . PipedWriter src ) { throw new System . NotImplementedException ( ) ; }
public void serialize ( LittleEndianOutput out ) { out . writeShort ( getFirstColumn ( ) ) ; out . writeShort ( getLastColumn ( ) ) ; out . writeShort ( getColumnWidth ( ) ) ; out . writeShort ( getXFIndex ( ) ) ; out . writeShort ( _options ) ; out . writeShort ( field_6_reserved ) ; }
public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( FirstColumn ) ; out1 . WriteShort ( LastColumn ) ; out1 . WriteShort ( ColumnWidth ) ; out1 . WriteShort ( XFIndex ) ; out1 . WriteShort ( _options ) ; out1 . WriteShort ( field_6_reserved ) ; }
public ModifyWorkspaceCreationPropertiesResult modifyWorkspaceCreationProperties ( ModifyWorkspaceCreationPropertiesRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyWorkspaceCreationProperties ( request ) ; }
public virtual ModifyWorkspaceCreationPropertiesResponse ModifyWorkspaceCreationProperties ( ModifyWorkspaceCreationPropertiesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyWorkspaceCreationPropertiesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyWorkspaceCreationPropertiesResponseUnmarshaller . Instance ; return Invoke < ModifyWorkspaceCreationPropertiesResponse > ( request , options ) ; }
public BoolDocValues ( ValueSource vs ) { this . vs = vs ; }
public BoolDocValues ( ValueSource vs ) { this . m_vs = vs ; }
public void reset ( ) { nextWrite -- ; while ( count > 0 ) { if ( nextWrite == - 1 ) { nextWrite = positions . length - 1 ; } positions [ nextWrite -- ] . reset ( ) ; count -- ; } nextWrite = 0 ; nextPos = 0 ; count = 0 ; }
public void Reset ( ) { nextWrite -- ; while ( count > 0 ) { if ( nextWrite == - 1 ) { nextWrite = positions . Length - 1 ; } positions [ nextWrite -- ] . Reset ( ) ; count -- ; } nextWrite = 0 ; nextPos = 0 ; count = 0 ; }
public UpdateDirectConnectGatewayAssociationResult updateDirectConnectGatewayAssociation ( UpdateDirectConnectGatewayAssociationRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateDirectConnectGatewayAssociation ( request ) ; }
public virtual UpdateDirectConnectGatewayAssociationResponse UpdateDirectConnectGatewayAssociation ( UpdateDirectConnectGatewayAssociationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateDirectConnectGatewayAssociationRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateDirectConnectGatewayAssociationResponseUnmarshaller . Instance ; return Invoke < UpdateDirectConnectGatewayAssociationResponse > ( request , options ) ; }
public EditPhotoStoreRequest ( ) { super ( "CloudPhoto" , "2017-07-11" , "EditPhotoStore" , "cloudphoto" ) ; setProtocol ( ProtocolType . HTTPS ) ; }
public EditPhotoStoreRequest ( ) : base ( "CloudPhoto" , "2017-07-11" , "EditPhotoStore" , "cloudphoto" , "openAPI" ) { Protocol = ProtocolType . HTTPS ; }
public String toString ( ) { return "<matchNoDocsQueryNode/>" ; }
public override string ToString ( ) { return "<matchNoDocsQueryNode/>" ; }
public AddCommand addFilepattern ( String filepattern ) { checkCallable ( ) ; filepatterns . add ( filepattern ) ; return this ; }
public virtual NGit . Api . AddCommand AddFilepattern ( string filepattern ) { CheckCallable ( ) ; filepatterns . AddItem ( filepattern ) ; return this ; }
public String toString ( ) { return '[' + "HEADERFOOTER" + "] (0x" + Integer . toHexString ( sid ) . toUpperCase ( Locale . ROOT ) + ")\n" + " rawData=" + HexDump . toHex ( _rawData ) + "\n" + "[/" + "HEADERFOOTER" + "]\n" ; }
public override String ToString ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . Append ( "[" ) . Append ( "HEADERFOOTER" ) . Append ( "] (0x" ) ; sb . Append ( StringUtil . ToHexString ( sid ) . ToUpper ( ) + ")\n" ) ; sb . Append ( " rawData=" ) . Append ( HexDump . ToHex ( _rawData ) ) . Append ( "\n" ) ; sb . Append ( "[/" ) . Append ( "HEADERFOOTER" ) . Append ( "]\n" ) ; return sb . ToString ( ) ; }
public UpdateBrokerResult updateBroker ( UpdateBrokerRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateBroker ( request ) ; }
public virtual UpdateBrokerResponse UpdateBroker ( UpdateBrokerRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateBrokerRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateBrokerResponseUnmarshaller . Instance ; return Invoke < UpdateBrokerResponse > ( request , options ) ; }
public FormatRecord clone ( ) { return copy ( ) ; }
public override Object Clone ( ) { return this ; }
public AssociateS3ResourcesResult associateS3Resources ( AssociateS3ResourcesRequest request ) { request = beforeClientExecution ( request ) ; return executeAssociateS3Resources ( request ) ; }
public virtual AssociateS3ResourcesResponse AssociateS3Resources ( AssociateS3ResourcesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AssociateS3ResourcesRequestMarshaller . Instance ; options . ResponseUnmarshaller = AssociateS3ResourcesResponseUnmarshaller . Instance ; return Invoke < AssociateS3ResourcesResponse > ( request , options ) ; }
public UnknownRecord ( int id , byte [ ] data ) { _sid = id & 0xFFFF ; _rawData = data ; }
public UnknownRecord ( int id , byte [ ] data ) { _sid = id & 0xFFFF ; _rawData = data ; }
public TreeFilter clone ( ) { return new Binary ( a . clone ( ) , b . clone ( ) ) ; }
public override RevFilter Clone ( ) { return new AndRevFilter . Binary ( a . Clone ( ) , b . Clone ( ) ) ; }
public int getRawValue ( final int holder ) { return ( holder & _mask ) ; }
public int GetRawValue ( int holder ) { return ( holder & this . _mask ) ; }
public CancelResizeResult cancelResize ( CancelResizeRequest request ) { request = beforeClientExecution ( request ) ; return executeCancelResize ( request ) ; }
public virtual CancelResizeResponse CancelResize ( CancelResizeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CancelResizeRequestMarshaller . Instance ; options . ResponseUnmarshaller = CancelResizeResponseUnmarshaller . Instance ; return Invoke < CancelResizeResponse > ( request , options ) ; }
public CreateTransitGatewayRouteResult createTransitGatewayRoute ( CreateTransitGatewayRouteRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateTransitGatewayRoute ( request ) ; }
public virtual CreateTransitGatewayRouteResponse CreateTransitGatewayRoute ( CreateTransitGatewayRouteRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateTransitGatewayRouteRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateTransitGatewayRouteResponseUnmarshaller . Instance ; return Invoke < CreateTransitGatewayRouteResponse > ( request , options ) ; }
public FastVectorHighlighter ( boolean phraseHighlight , boolean fieldMatch , FragListBuilder fragListBuilder , FragmentsBuilder fragmentsBuilder ) { this . phraseHighlight = phraseHighlight ; this . fieldMatch = fieldMatch ; this . fragListBuilder = fragListBuilder ; this . fragmentsBuilder = fragmentsBuilder ; }
public FastVectorHighlighter ( bool phraseHighlight , bool fieldMatch , IFragListBuilder fragListBuilder , IFragmentsBuilder fragmentsBuilder ) { this . phraseHighlight = phraseHighlight ; this . fieldMatch = fieldMatch ; this . fragListBuilder = fragListBuilder ; this . fragmentsBuilder = fragmentsBuilder ; }
public SetTypeDefaultVersionResult setTypeDefaultVersion ( SetTypeDefaultVersionRequest request ) { request = beforeClientExecution ( request ) ; return executeSetTypeDefaultVersion ( request ) ; }
public virtual SetTypeDefaultVersionResponse SetTypeDefaultVersion ( SetTypeDefaultVersionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SetTypeDefaultVersionRequestMarshaller . Instance ; options . ResponseUnmarshaller = SetTypeDefaultVersionResponseUnmarshaller . Instance ; return Invoke < SetTypeDefaultVersionResponse > ( request , options ) ; }
public final long computeNorm ( FieldInvertState state ) { return get ( state . getName ( ) ) . computeNorm ( state ) ; }
public override sealed long ComputeNorm ( FieldInvertState state ) { return Get ( state . Name ) . ComputeNorm ( state ) ; }
public CreateCustomVerificationEmailTemplateResult createCustomVerificationEmailTemplate ( CreateCustomVerificationEmailTemplateRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateCustomVerificationEmailTemplate ( request ) ; }
public virtual CreateCustomVerificationEmailTemplateResponse CreateCustomVerificationEmailTemplate ( CreateCustomVerificationEmailTemplateRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateCustomVerificationEmailTemplateRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateCustomVerificationEmailTemplateResponseUnmarshaller . Instance ; return Invoke < CreateCustomVerificationEmailTemplateResponse > ( request , options ) ; }
public static double median ( double [ ] v ) { double r = Double . NaN ; if ( v != null && v . length >= 1 ) { int n = v . length ; Arrays . sort ( v ) ; r = ( n % 2 == 0 ) ? ( v [ n / 2 ] + v [ n / 2 - 1 ] ) / 2 : v [ n / 2 ] ; } return r ; }
public static double median ( double [ ] v ) { double r = double . NaN ; if ( v != null && v . Length >= 1 ) { int n = v . Length ; Array . Sort ( v ) ; r = ( n % 2 == 0 ) ? ( v [ n / 2 ] + v [ n / 2 - 1 ] ) / 2 : v [ n / 2 ] ; } return r ; }
public void walk ( ParseTreeListener listener , ParseTree t ) { if ( t instanceof ErrorNode ) { listener . visitErrorNode ( ( ErrorNode ) t ) ; return ; } else if ( t instanceof TerminalNode ) { listener . visitTerminal ( ( TerminalNode ) t ) ; return ; } RuleNode r = ( RuleNode ) t ; enterRule ( listener , r ) ; int n = r . getChildCount ( ) ; for ( int i = 0 ; i < n ; i ++ ) { walk ( listener , r . getChild ( i ) ) ; } exitRule ( listener , r ) ; }
public virtual void Walk ( IParseTreeListener listener , IParseTree t ) { if ( t is IErrorNode ) { listener . VisitErrorNode ( ( IErrorNode ) t ) ; return ; } else { if ( t is ITerminalNode ) { listener . VisitTerminal ( ( ITerminalNode ) t ) ; return ; } } IRuleNode r = ( IRuleNode ) t ; EnterRule ( listener , r ) ; int n = r . ChildCount ; for ( int i = 0 ; i < n ; i ++ ) { Walk ( listener , r . GetChild ( i ) ) ; } ExitRule ( listener , r ) ; }
public SCLRecord ( RecordInputStream in ) { field_1_numerator = in . readShort ( ) ; field_2_denominator = in . readShort ( ) ; }
public SCLRecord ( RecordInputStream in1 ) { field_1_numerator = in1 . ReadShort ( ) ; field_2_denominator = in1 . ReadShort ( ) ; }
public boolean add ( final T value ) { int index = elements . size ( ) ; elements . add ( value ) ; valueKeyMap . put ( value , index ) ; return true ; }
public bool Add ( T value ) { int index = elements . Count ; elements . Add ( value ) ; if ( valueKeyMap . ContainsKey ( value ) ) { valueKeyMap [ value ] = index ; } else { valueKeyMap . Add ( value , index ) ; } return true ; }
public RawText ( byte [ ] input ) { this ( input , RawParseUtils . lineMap ( input , 0 , input . length ) ) ; }
public RawText ( byte [ ] input ) { content = input ; lines = RawParseUtils . LineMap ( content , 0 , content . Length ) ; }
public void writeInt ( int v ) { checkPosition ( 4 ) ; int i = _writeIndex ; _buf [ i ++ ] = ( byte ) ( ( v > > > 0 ) & 0xFF ) ; _buf [ i ++ ] = ( byte ) ( ( v > > > 8 ) & 0xFF ) ; _buf [ i ++ ] = ( byte ) ( ( v > > > 16 ) & 0xFF ) ; _buf [ i ++ ] = ( byte ) ( ( v > > > 24 ) & 0xFF ) ; _writeIndex = i ; }
public void WriteInt ( int v ) { CheckPosition ( 4 ) ; int i = _writeIndex ; _buf [ i ++ ] = ( byte ) ( ( v > > 0 ) & 0xFF ) ; _buf [ i ++ ] = ( byte ) ( ( v > > 8 ) & 0xFF ) ; _buf [ i ++ ] = ( byte ) ( ( v > > 16 ) & 0xFF ) ; _buf [ i ++ ] = ( byte ) ( ( v > > 24 ) & 0xFF ) ; _writeIndex = i ; }
public GetRepoBatchRequest ( ) { super ( "cr" , "2016-06-07" , "GetRepoBatch" , "cr" ) ; setUriPattern ( "/batchsearch" ) ; setMethod ( MethodType . GET ) ; }
public GetRepoBatchRequest ( ) : base ( "cr" , "2016-06-07" , "GetRepoBatch" , "cr" , "openAPI" ) { UriPattern = "/batchsearch" ; Method = MethodType . GET ; }
public MoPenDoRecognizeRequest ( ) { super ( "MoPen" , "2018-02-11" , "MoPenDoRecognize" , "mopen" ) ; setProtocol ( ProtocolType . HTTPS ) ; setMethod ( MethodType . POST ) ; }
public MoPenDoRecognizeRequest ( ) : base ( "MoPen" , "2018-02-11" , "MoPenDoRecognize" , "mopen" , "openAPI" ) { Protocol = ProtocolType . HTTPS ; Method = MethodType . POST ; }
public Iterator < Map . Entry < K , V > > iterator ( ) { return new EntryIterator ( ) ; }
public override java . util . Iterator < java . util . MapClass . Entry < K , V > > iterator ( ) { return new java . util . Hashtable < K , V > . EntryIterator ( this . _enclosing ) ; }
public DeleteApnsSandboxChannelResult deleteApnsSandboxChannel ( DeleteApnsSandboxChannelRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteApnsSandboxChannel ( request ) ; }
public virtual DeleteApnsSandboxChannelResponse DeleteApnsSandboxChannel ( DeleteApnsSandboxChannelRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteApnsSandboxChannelRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteApnsSandboxChannelResponseUnmarshaller . Instance ; return Invoke < DeleteApnsSandboxChannelResponse > ( request , options ) ; }
public short readShort ( ) { if ( shouldSkipEncryptionOnCurrentRecord ) { readPlain ( buffer , 0 , LittleEndianConsts . SHORT_SIZE ) ; return LittleEndian . getShort ( buffer ) ; } else { return ccis . readShort ( ) ; } }
public short ReadShort ( ) { return ( short ) _rc4 . Xorshort ( _le . ReadUShort ( ) ) ; }
public DeleteEndpointResult deleteEndpoint ( DeleteEndpointRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteEndpoint ( request ) ; }
public virtual DeleteEndpointResponse DeleteEndpoint ( DeleteEndpointRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteEndpointRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteEndpointResponseUnmarshaller . Instance ; return Invoke < DeleteEndpointResponse > ( request , options ) ; }
@ Override public int lastIndexOf ( Object object ) { return list . lastIndexOf ( object ) ; }
public virtual int lastIndexOf ( object @ object ) { return list . lastIndexOf ( @ object ) ; }
public void SwitchTo ( int lexState ) { if ( lexState >= 3 || lexState < 0 ) throw new TokenMgrError ( "Error: Ignoring invalid lexical state : " + lexState + ". State unchanged." , TokenMgrError . INVALID_LEXICAL_STATE ) ; elsecurLexState = lexState ; }
public void SwitchTo ( int lexState ) { if ( lexState >= 3 || lexState < 0 ) throw new TokenMgrError ( "Error: Ignoring invalid lexical state : " + lexState + ". State unchanged." , TokenMgrError . INVALID_LEXICAL_STATE ) ; elsecurLexState = lexState ; }
public GetIndustryInfoChildrenListRequest ( ) { super ( "industry-brain" , "2018-07-12" , "GetIndustryInfoChildrenList" ) ; setProtocol ( ProtocolType . HTTPS ) ; }
public GetIndustryInfoChildrenListRequest ( ) : base ( "industry-brain" , "2018-07-12" , "GetIndustryInfoChildrenList" ) { Protocol = ProtocolType . HTTPS ; }
public Credential ( String keyId , String secret , int expiredHours ) { this . accessKeyId = keyId ; this . accessSecret = secret ; this . refreshDate = new Date ( ) ; setExpiredDate ( expiredHours ) ; }
public Credential ( string keyId , string secret , int expiredHours ) { AccessKeyId = keyId ; AccessSecret = secret ; RefreshDate = new DateTime ( ) ; SetExpiredDate ( expiredHours ) ; }
public KeywordMarkerFilterFactory ( Map < String , String > args ) { super ( args ) ; wordFiles = get ( args , PROTECTED_TOKENS ) ; stringPattern = get ( args , PATTERN ) ; ignoreCase = getBoolean ( args , "ignoreCase" , false ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
public KeywordMarkerFilterFactory ( IDictionary < string , string > args ) : base ( args ) { wordFiles = Get ( args , PROTECTED_TOKENS ) ; stringPattern = Get ( args , PATTERN ) ; ignoreCase = GetBoolean ( args , "ignoreCase" , false ) ; if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } }
public CellRangeAddress getAreaAt ( int index ) { return _regions [ _startIndex + index ] ; }
public CellRangeAddress GetAreaAt ( int index ) { return _regions [ _startIndex + index ] ; }
public PutEmailIdentityDkimSigningAttributesResult putEmailIdentityDkimSigningAttributes ( PutEmailIdentityDkimSigningAttributesRequest request ) { request = beforeClientExecution ( request ) ; return executePutEmailIdentityDkimSigningAttributes ( request ) ; }
public virtual PutEmailIdentityDkimSigningAttributesResponse PutEmailIdentityDkimSigningAttributes ( PutEmailIdentityDkimSigningAttributesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutEmailIdentityDkimSigningAttributesRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutEmailIdentityDkimSigningAttributesResponseUnmarshaller . Instance ; return Invoke < PutEmailIdentityDkimSigningAttributesResponse > ( request , options ) ; }
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( " [FEATURE SMART TAGS]\n" ) ; buffer . append ( " [/FEATURE SMART TAGS]\n" ) ; return buffer . toString ( ) ; }
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( " [FEATURE SMART TAGS]\n" ) ; buffer . Append ( " [/FEATURE SMART TAGS]\n" ) ; return buffer . ToString ( ) ; }
public static void checkStartAndEnd ( int len , int start , int end ) { if ( start < 0 || end > len ) { throw new ArrayIndexOutOfBoundsException ( "start < 0 || end > len." + " start=" + start + ", end=" + end + ", len=" + len ) ; } if ( start > end ) { throw new IllegalArgumentException ( "start > end: " + start + " > " + end ) ; } }
public static void checkStartAndEnd ( int len , int start , int end ) { if ( start < 0 || end > len ) { throw new System . IndexOutOfRangeException ( "start < 0 || end > len." + " start=" + start + ", end=" + end + ", len=" + len ) ; } if ( start > end ) { throw new System . ArgumentException ( "start > end: " + start + " > " + end ) ; } }
public Loc ( int bookIndex , int sheetIndex , int rowIndex , int columnIndex ) { _bookSheetColumn = toBookSheetColumn ( bookIndex , sheetIndex , columnIndex ) ; _rowIndex = rowIndex ; }
public Loc ( int bookIndex , int sheetIndex , int rowIndex , int columnIndex ) { _bookSheetColumn = ToBookSheetColumn ( bookIndex , sheetIndex , columnIndex ) ; _rowIndex = rowIndex ; }
public BoolErrRecord ( RecordInputStream in ) { super ( in ) ; switch ( in . remaining ( ) ) { case 2 : _value = in . readByte ( ) ; break ; case 3 : _value = in . readUShort ( ) ; break ; default : throw new RecordFormatException ( "Unexpected size (" + in . remaining ( ) + ") for BOOLERR record." ) ; } int flag = in . readUByte ( ) ; switch ( flag ) { case 0 : _isError = false ; break ; case 1 : _isError = true ; break ; default : throw new RecordFormatException ( "Unexpected isError flag (" + flag + ") for BOOLERR record." ) ; } }
public BoolErrRecord ( RecordInputStream in1 ) : base ( in1 ) { switch ( in1 . Remaining ) { case 2 : _value = in1 . ReadByte ( ) ; break ; case 3 : _value = in1 . ReadUShort ( ) ; break ; default : throw new RecordFormatException ( "Unexpected size (" + in1 . Remaining + ") for BOOLERR record." ) ; } int flag = in1 . ReadUByte ( ) ; switch ( flag ) { case 0 : _isError = false ; break ; case 1 : _isError = true ; break ; default : throw new RecordFormatException ( "Unexpected isError flag (" + flag + ") for BOOLERR record." ) ; } }
public String toString ( ) { return "OrdTermState ord=" + ord ; }
public override string ToString ( ) { return "OrdTermState ord=" + Ord ; }
public Note ( AnyObjectId noteOn , ObjectId noteData ) { super ( noteOn ) ; data = noteData ; }
public Note ( AnyObjectId noteOn , ObjectId noteData ) : base ( noteOn ) { data = noteData ; }
public GetModelVersionResult getModelVersion ( GetModelVersionRequest request ) { request = beforeClientExecution ( request ) ; return executeGetModelVersion ( request ) ; }
public virtual GetModelVersionResponse GetModelVersion ( GetModelVersionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetModelVersionRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetModelVersionResponseUnmarshaller . Instance ; return Invoke < GetModelVersionResponse > ( request , options ) ; }
public void addBreak ( int main , int subFrom , int subTo ) { Integer key = Integer . valueOf ( main ) ; Break region = _breakMap . get ( key ) ; if ( region == null ) { region = new Break ( main , subFrom , subTo ) ; _breakMap . put ( key , region ) ; _breaks . add ( region ) ; } else { region . main = main ; region . subFrom = subFrom ; region . subTo = subTo ; } }
public void AddBreak ( int main , int subFrom , int subTo ) { int key = ( int ) main ; Break region = ( Break ) _breakMap [ key ] ; if ( region != null ) { region . main = main ; region . subFrom = subFrom ; region . subTo = subTo ; } else { region = new Break ( main , subFrom , subTo ) ; _breaks . Add ( region ) ; } _breakMap [ key ] = region ; }
public DescribeUsageReportSubscriptionsResult describeUsageReportSubscriptions ( DescribeUsageReportSubscriptionsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeUsageReportSubscriptions ( request ) ; }
public virtual DescribeUsageReportSubscriptionsResponse DescribeUsageReportSubscriptions ( DescribeUsageReportSubscriptionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeUsageReportSubscriptionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeUsageReportSubscriptionsResponseUnmarshaller . Instance ; return Invoke < DescribeUsageReportSubscriptionsResponse > ( request , options ) ; }
public boolean offerLast ( E e ) { return addLastImpl ( e ) ; }
public virtual bool offerLast ( E e ) { return addLastImpl ( e ) ; }
public RegistrantProfileRealNameVerificationRequest ( ) { super ( "Domain" , "2018-01-29" , "RegistrantProfileRealNameVerification" ) ; setMethod ( MethodType . POST ) ; }
public RegistrantProfileRealNameVerificationRequest ( ) : base ( "Domain-intl" , "2017-12-18" , "RegistrantProfileRealNameVerification" , "domain" , "openAPI" ) { Method = MethodType . POST ; }
public RowColKey ( int rowIndex , int columnIndex ) { _rowIndex = rowIndex ; _columnIndex = columnIndex ; }
public RowColKey ( int rowIndex , int columnIndex ) { _rowIndex = rowIndex ; _columnIndex = columnIndex ; }
public DisassociateTransitGatewayMulticastDomainResult disassociateTransitGatewayMulticastDomain ( DisassociateTransitGatewayMulticastDomainRequest request ) { request = beforeClientExecution ( request ) ; return executeDisassociateTransitGatewayMulticastDomain ( request ) ; }
public virtual DisassociateTransitGatewayMulticastDomainResponse DisassociateTransitGatewayMulticastDomain ( DisassociateTransitGatewayMulticastDomainRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DisassociateTransitGatewayMulticastDomainRequestMarshaller . Instance ; options . ResponseUnmarshaller = DisassociateTransitGatewayMulticastDomainResponseUnmarshaller . Instance ; return Invoke < DisassociateTransitGatewayMulticastDomainResponse > ( request , options ) ; }
public Charset detectedCharset ( ) { throw new UnsupportedOperationException ( ) ; }
public virtual java . nio . charset . Charset detectedCharset ( ) { throw new System . NotSupportedException ( ) ; }
public RightMarginRecord clone ( ) { return copy ( ) ; }
public override Object Clone ( ) { RightMarginRecord rec = new RightMarginRecord ( ) ; rec . field_1_margin = this . field_1_margin ; return rec ; }
public ListTrafficPoliciesResult listTrafficPolicies ( ListTrafficPoliciesRequest request ) { request = beforeClientExecution ( request ) ; return executeListTrafficPolicies ( request ) ; }
public virtual ListTrafficPoliciesResponse ListTrafficPolicies ( ListTrafficPoliciesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListTrafficPoliciesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListTrafficPoliciesResponseUnmarshaller . Instance ; return Invoke < ListTrafficPoliciesResponse > ( request , options ) ; }
public DeleteKeyPairRequest ( String keyName ) { setKeyName ( keyName ) ; }
public DeleteKeyPairRequest ( string keyName ) { _keyName = keyName ; }