question
stringlengths
33
1.59k
target
stringlengths
33
1.58k
public static void fill ( int [ ] array , int start , int end , int value ) { Arrays . checkStartAndEnd ( array . length , start , end ) ; for ( int i = start ; i < end ; i ++ ) { array [ i ] = value ; } }
public static void fill ( int [ ] array , int start , int end , int value ) { java . util . Arrays . checkStartAndEnd ( array . Length , start , end ) ; { for ( int i = start ; i < end ; i ++ ) { array [ i ] = value ; } } }
public final char yycharat ( int pos ) { return zzBuffer [ zzStartRead + pos ] ; }
public char YyCharAt ( int pos ) { return zzBuffer [ zzStartRead + pos ] ; }
public void pushMode ( int m ) { if ( LexerATNSimulator . debug ) System . out . println ( "pushMode " + m ) ; _modeStack . push ( _mode ) ; mode ( m ) ; }
public virtual void PushMode ( int m ) { _modeStack . Push ( _mode ) ; Mode ( m ) ; }
public Set < String > getCapabilities ( ) { return command . getCapabilities ( ) ; }
public virtual ICollection < string > GetCapabilities ( ) { return capabilities ; }
public DescribeReservedInstancesListingsResult describeReservedInstancesListings ( ) { return describeReservedInstancesListings ( new DescribeReservedInstancesListingsRequest ( ) ) ; }
public virtual DescribeReservedInstancesListingsResponse DescribeReservedInstancesListings ( ) { return DescribeReservedInstancesListings ( new DescribeReservedInstancesListingsRequest ( ) ) ; }
public RegisterInstanceEventNotificationAttributesResult registerInstanceEventNotificationAttributes ( RegisterInstanceEventNotificationAttributesRequest request ) { request = beforeClientExecution ( request ) ; return executeRegisterInstanceEventNotificationAttributes ( request ) ; }
public virtual RegisterInstanceEventNotificationAttributesResponse RegisterInstanceEventNotificationAttributes ( RegisterInstanceEventNotificationAttributesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RegisterInstanceEventNotificationAttributesRequestMarshaller . Instance ; op...
public PutRuleResult putRule ( PutRuleRequest request ) { request = beforeClientExecution ( request ) ; return executePutRule ( request ) ; }
public virtual PutRuleResponse PutRule ( PutRuleRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutRuleRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutRuleResponseUnmarshaller . Instance ; return Invoke < PutRuleResponse > ( request , options ) ; }
public static char [ ] grow ( char [ ] array , int minSize ) { assert minSize >= 0 : "size must be positive (got " + minSize + "): likely integer overflow?" ; if ( array . length < minSize ) { return growExact ( array , oversize ( minSize , Character . BYTES ) ) ; } else return array ; }
public static byte [ ] Grow ( byte [ ] array , int minSize ) { Debug . Assert ( minSize >= 0 , "size must be positive (got " + minSize + "): likely integer overflow?" ) ; if ( array . Length < minSize ) { byte [ ] newArray = new byte [ Oversize ( minSize , 1 ) ] ; Array . Copy ( array , 0 , newArray , 0 , array . Lengt...
public CleanCommand setPaths ( Set < String > paths ) { this . paths = paths ; return this ; }
public virtual NGit . Api . CleanCommand SetPaths ( ICollection < string > paths ) { this . paths = paths ; return this ; }
public int getLevelForDistance ( double dist ) { if ( dist == 0 ) return maxLevels ; final int level = GeohashUtils . lookupHashLenForWidthHeight ( dist , dist ) ; return Math . max ( Math . min ( level , maxLevels ) , 1 ) ; }
protected internal override int GetLevelForDistance ( double degrees ) { var grid = new GeohashPrefixTree ( m_ctx , GeohashPrefixTree . MaxLevelsPossible ) ; return grid . GetLevelForDistance ( degrees ) ; }
public StartDocumentTextDetectionResult startDocumentTextDetection ( StartDocumentTextDetectionRequest request ) { request = beforeClientExecution ( request ) ; return executeStartDocumentTextDetection ( request ) ; }
public virtual StartDocumentTextDetectionResponse StartDocumentTextDetection ( StartDocumentTextDetectionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartDocumentTextDetectionRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartDocumentTextDetectionResponseUnm...
public String getLine ( ) { return firstWant . getLine ( ) ; }
public virtual string GetLine ( ) { return line ; }
public ValueEval getItem ( int index ) { if ( index > _size ) { throw new ArrayIndexOutOfBoundsException ( "Specified index (" + index + ") is outside the allowed range (0.." + ( _size - 1 ) + ")" ) ; } return _tableArray . getValue ( _rowIndex , index ) ; }
public ValueEval GetItem ( int index ) { if ( index > _size ) { throw new IndexOutOfRangeException ( "Specified index (" + index + ") is outside the allowed range (0.." + ( _size - 1 ) + ")" ) ; } return _tableArray . GetRelativeValue ( _rowIndex , index ) ; }
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[IFMT]\n" ) ; buffer . append ( " .formatIndex = " ) . append ( "0x" ) . append ( HexDump . toHex ( getFormatIndex ( ) ) ) . append ( " (" ) . append ( getFormatIndex ( ) ) . append ( " )" ) ; buffer . append ( Sy...
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[IFMT]\n" ) ; buffer . Append ( " .formatIndex = " ) . Append ( "0x" ) . Append ( HexDump . ToHex ( FormatIndex ) ) . Append ( " (" ) . Append ( FormatIndex ) . Append ( " )" ) ; buffer . Append ( Environ...
public SubmoduleSyncCommand ( Repository repo ) { super ( repo ) ; paths = new ArrayList < > ( ) ; }
protected internal SubmoduleSyncCommand ( Repository repo ) : base ( repo ) { paths = new AList < string > ( ) ; }
public void registerWorkflowType ( RegisterWorkflowTypeRequest request ) { request = beforeClientExecution ( request ) ; executeRegisterWorkflowType ( request ) ; }
public virtual RegisterWorkflowTypeResponse RegisterWorkflowType ( RegisterWorkflowTypeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RegisterWorkflowTypeRequestMarshaller . Instance ; options . ResponseUnmarshaller = RegisterWorkflowTypeResponseUnmarshaller . Instance ; return ...
public UnescapedCharSequence ( char [ ] chars , boolean [ ] wasEscaped , int offset , int length ) { this . chars = new char [ length ] ; this . wasEscaped = new boolean [ length ] ; System . arraycopy ( chars , offset , this . chars , 0 , length ) ; System . arraycopy ( wasEscaped , offset , this . wasEscaped , 0 , le...
public UnescapedCharSequence ( char [ ] chars , bool [ ] wasEscaped , int offset , int length ) { this . chars = new char [ length ] ; this . wasEscaped = new bool [ length ] ; System . Array . Copy ( chars , offset , this . chars , 0 , length ) ; System . Array . Copy ( wasEscaped , offset , this . wasEscaped , 0 , le...
public CreateDatasetGroupResult createDatasetGroup ( CreateDatasetGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateDatasetGroup ( request ) ; }
public virtual CreateDatasetGroupResponse CreateDatasetGroup ( CreateDatasetGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateDatasetGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateDatasetGroupResponseUnmarshaller . Instance ; return Invoke < C...
public boolean equals ( Object obj ) { if ( this == obj ) return true ; if ( obj == null ) return false ; if ( getClass ( ) != obj . getClass ( ) ) return false ; FieldVals other = ( FieldVals ) obj ; if ( fieldName == null ) { if ( other . fieldName != null ) return false ; } else if ( ! fieldName . equals ( other . f...
public override bool Equals ( object obj ) { if ( this == obj ) return true ; if ( obj == null ) return false ; if ( GetType ( ) != obj . GetType ( ) ) return false ; FieldVals other = ( FieldVals ) obj ; if ( fieldName == null ) { if ( other . fieldName != null ) return false ; } else if ( ! fieldName . Equals ( other...
public BuildSuggestersResult buildSuggesters ( BuildSuggestersRequest request ) { request = beforeClientExecution ( request ) ; return executeBuildSuggesters ( request ) ; }
public virtual BuildSuggestersResponse BuildSuggesters ( BuildSuggestersRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = BuildSuggestersRequestMarshaller . Instance ; options . ResponseUnmarshaller = BuildSuggestersResponseUnmarshaller . Instance ; return Invoke < BuildSuggestersR...
public GetRelationalDatabaseBundlesResult getRelationalDatabaseBundles ( GetRelationalDatabaseBundlesRequest request ) { request = beforeClientExecution ( request ) ; return executeGetRelationalDatabaseBundles ( request ) ; }
public virtual GetRelationalDatabaseBundlesResponse GetRelationalDatabaseBundles ( GetRelationalDatabaseBundlesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetRelationalDatabaseBundlesRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetRelationalDatabaseBundlesR...
public String getMessages ( ) { return messageBuffer != null ? messageBuffer . toString ( ) : "" ; }
public virtual string GetMessages ( ) { return messageBuffer != null ? messageBuffer . ToString ( ) : string . Empty ; }
public DelimitedPayloadTokenFilter ( TokenStream input , char delimiter , PayloadEncoder encoder ) { super ( input ) ; this . delimiter = delimiter ; this . encoder = encoder ; }
public DelimitedPayloadTokenFilter ( TokenStream input , char delimiter , IPayloadEncoder encoder ) : base ( input ) { this . delimiter = delimiter ; this . encoder = encoder ; termAtt = AddAttribute < ICharTermAttribute > ( ) ; payAtt = AddAttribute < IPayloadAttribute > ( ) ; }
public void setPrintArea ( int sheetIndex , int startColumn , int endColumn , int startRow , int endRow ) { CellReference cell = new CellReference ( startRow , startColumn , true , true ) ; String reference = cell . formatAsString ( ) ; cell = new CellReference ( endRow , endColumn , true , true ) ; reference = referen...
public void SetPrintArea ( int sheetIndex , int startColumn , int endColumn , int startRow , int endRow ) { CellReference cell = new CellReference ( startRow , startColumn , true , true ) ; String reference = cell . FormatAsString ( ) ; cell = new CellReference ( endRow , endColumn , true , true ) ; reference = referen...
public void normalise64bit ( ) { int oldBitLen = _significand . bitLength ( ) ; int sc = oldBitLen - C_64 ; if ( sc == 0 ) { return ; } if ( sc < 0 ) { throw new IllegalStateException ( "Not enough precision" ) ; } _binaryExponent += sc ; if ( sc > 32 ) { int highShift = ( sc - 1 ) & 0xFFFFE0 ; _significand = _signific...
public void Normalise64bit ( ) { int oldBitLen = _significand . BitLength ( ) ; int sc = oldBitLen - C_64 ; if ( sc == 0 ) { return ; } if ( sc < 0 ) { throw new InvalidOperationException ( "Not enough precision" ) ; } _binaryExponent += sc ; if ( sc > 32 ) { int highShift = ( sc - 1 ) & 0xFFFFE0 ; _significand = _sign...
public ObjRecord ( RecordInputStream in ) { byte [ ] subRecordData = in . readRemainder ( ) ; if ( LittleEndian . getUShort ( subRecordData , 0 ) != CommonObjectDataSubRecord . sid ) { _uninterpretedData = subRecordData ; return ; } LittleEndianByteArrayInputStream subRecStream = new LittleEndianByteArrayInputStream ( ...
public ObjRecord ( RecordInputStream in1 ) { byte [ ] subRecordData = in1 . ReadRemainder ( ) ; if ( LittleEndian . GetUShort ( subRecordData , 0 ) != CommonObjectDataSubRecord . sid ) { _uninterpretedData = subRecordData ; subrecords = null ; return ; } subrecords = new List < SubRecord > ( ) ; using ( MemoryStream ba...
public FrenchLightStemFilterFactory ( Map < String , String > args ) { super ( args ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
public FrenchLightStemFilterFactory ( IDictionary < string , string > args ) : base ( args ) { if ( args . Count > 0 ) { throw new System . ArgumentException ( "Unknown parameters: " + args ) ; } }
@ Override public int size ( ) { Slice slice = this . slice ; return slice . to - slice . from ; }
public virtual int size ( ) { return elements . Length ; }
public boolean equals ( Object other ) { if ( ! ( other instanceof IntBuffer ) ) { return false ; } IntBuffer otherBuffer = ( IntBuffer ) other ; if ( remaining ( ) != otherBuffer . remaining ( ) ) { return false ; } int myPosition = position ; int otherPosition = otherBuffer . position ; boolean equalSoFar = true ; wh...
public override bool Equals ( object other ) { if ( ! ( other is java . nio . IntBuffer ) ) { return false ; } java . nio . IntBuffer otherBuffer = ( java . nio . IntBuffer ) other ; if ( remaining ( ) != otherBuffer . remaining ( ) ) { return false ; } int myPosition = _position ; int otherPosition = otherBuffer . _po...
public static void fill ( char [ ] array , int start , int end , char value ) { Arrays . checkStartAndEnd ( array . length , start , end ) ; for ( int i = start ; i < end ; i ++ ) { array [ i ] = value ; } }
public static void fill ( char [ ] array , int start , int end , char value ) { java . util . Arrays . checkStartAndEnd ( array . Length , start , end ) ; { for ( int i = start ; i < end ; i ++ ) { array [ i ] = value ; } } }
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[CALCMODE]\n" ) ; buffer . append ( " .calcmode = " ) . append ( Integer . toHexString ( getCalcMode ( ) ) ) . append ( "\n" ) ; buffer . append ( "[/CALCMODE]\n" ) ; return buffer . toString ( ) ; }
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[CALCMODE]\n" ) ; buffer . Append ( " .calcmode = " ) . Append ( StringUtil . ToHexString ( GetCalcMode ( ) ) ) . Append ( "\n" ) ; buffer . Append ( "[/CALCMODE]\n" ) ; return buffer . ToString ( ) ; }
public void setCurrent ( String value ) { current = value . toCharArray ( ) ; cursor = 0 ; limit = value . length ( ) ; limit_backward = 0 ; bra = cursor ; ket = limit ; }
public virtual void SetCurrent ( string value ) { m_current = value . ToCharArray ( ) ; m_cursor = 0 ; m_limit = value . Length ; m_limit_backward = 0 ; m_bra = m_cursor ; m_ket = m_limit ; }
public ShortBuffer put ( int index , short c ) { checkIndex ( index ) ; backingArray [ offset + index ] = c ; return this ; }
public override java . nio . ShortBuffer put ( int index , short c ) { checkIndex ( index ) ; backingArray [ offset + index ] = c ; return this ; }
public EventSubscription deleteEventSubscription ( DeleteEventSubscriptionRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteEventSubscription ( request ) ; }
public virtual DeleteEventSubscriptionResponse DeleteEventSubscription ( DeleteEventSubscriptionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteEventSubscriptionRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteEventSubscriptionResponseUnmarshaller . Ins...
public void setTokenType ( String tokenType ) { this . tokenType = tokenType ; }
public void SetTokenType ( string tokenType ) { this . tokenType = tokenType ; }
public NumericDocValuesField ( String name , long value ) { this ( name , Long . valueOf ( value ) ) ; }
public NumericDocValuesField ( string name , long value ) : base ( name , TYPE ) { FieldsData = new Int64 ( value ) ; }
public AddTagsRequest ( String resourceId ) { setResourceId ( resourceId ) ; }
public AddTagsRequest ( string resourceId ) { _resourceId = resourceId ; }
public ValueEval getRefEval ( int rowIndex , int columnIndex ) { SheetRangeEvaluator sre = getRefEvaluatorForCurrentSheet ( ) ; return new LazyRefEval ( rowIndex , columnIndex , sre ) ; }
public ValueEval GetRefEval ( int rowIndex , int columnIndex ) { SheetRangeEvaluator sre = GetRefEvaluatorForCurrentSheet ( ) ; return new LazyRefEval ( rowIndex , columnIndex , sre ) ; }
public DescribeTaskDefinitionResult describeTaskDefinition ( DescribeTaskDefinitionRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeTaskDefinition ( request ) ; }
public virtual DescribeTaskDefinitionResponse DescribeTaskDefinition ( DescribeTaskDefinitionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeTaskDefinitionRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeTaskDefinitionResponseUnmarshaller . Instance...
public void sort ( ) { if ( count > 1 ) ArrayUtil . timSort ( points , 0 , count ) ; }
public void Sort ( ) { if ( count > 1 ) { ArrayUtil . TimSort ( points , 0 , count ) ; } }
public static final RevFilter before ( long ts ) { return new Before ( ts ) ; }
public static RevFilter Before ( DateTime ts ) { return Before ( ts . GetTime ( ) ) ; }
public void set ( E object ) { throw new UnsupportedOperationException ( ) ; }
public virtual void set ( E @ object ) { throw new System . NotSupportedException ( ) ; }
public EscherDggRecord getDgg ( ) { return dgg ; }
public EscherDggRecord GetDgg ( ) { return dgg ; }
public ListenerHandle addConfigChangedListener ( ConfigChangedListener listener ) { return addListener ( ConfigChangedListener . class , listener ) ; }
public virtual ListenerHandle AddConfigChangedListener ( ConfigChangedListener listener ) { return AddListener < ConfigChangedListener > ( listener ) ; }
public DetectSentimentResult detectSentiment ( DetectSentimentRequest request ) { request = beforeClientExecution ( request ) ; return executeDetectSentiment ( request ) ; }
public virtual DetectSentimentResponse DetectSentiment ( DetectSentimentRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DetectSentimentRequestMarshaller . Instance ; options . ResponseUnmarshaller = DetectSentimentResponseUnmarshaller . Instance ; return Invoke < DetectSentimentR...
public void decode ( byte [ ] blocks , int blocksOffset , long [ ] values , int valuesOffset , int iterations ) { for ( int j = 0 ; j < iterations ; ++ j ) { final byte block = blocks [ blocksOffset ++ ] ; values [ valuesOffset ++ ] = ( block > > > 6 ) & 3 ; values [ valuesOffset ++ ] = ( block > > > 4 ) & 3 ; values [...
public override void Decode ( byte [ ] blocks , int blocksOffset , long [ ] values , int valuesOffset , int iterations ) { for ( int j = 0 ; j < iterations ; ++ j ) { var block = blocks [ blocksOffset ++ ] ; values [ valuesOffset ++ ] = ( ( int ) ( ( uint ) block > > 6 ) ) & 3 ; values [ valuesOffset ++ ] = ( ( int ) (...
public HeaderRecord clone ( ) { return copy ( ) ; }
public override Object Clone ( ) { return new HeaderRecord ( this . Text ) ; }
public CreateEndpointConfigResult createEndpointConfig ( CreateEndpointConfigRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateEndpointConfig ( request ) ; }
public virtual CreateEndpointConfigResponse CreateEndpointConfig ( CreateEndpointConfigRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateEndpointConfigRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateEndpointConfigResponseUnmarshaller . Instance ; return ...
public Interpolator getInterpolator ( ) { return mInterpolator ; }
public virtual android . view . animation . Interpolator getInterpolator ( ) { return mInterpolator ; }
public GetSolutionMetricsResult getSolutionMetrics ( GetSolutionMetricsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetSolutionMetrics ( request ) ; }
public virtual GetSolutionMetricsResponse GetSolutionMetrics ( GetSolutionMetricsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetSolutionMetricsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetSolutionMetricsResponseUnmarshaller . Instance ; return Invoke < G...
public StopActivityStreamResult stopActivityStream ( StopActivityStreamRequest request ) { request = beforeClientExecution ( request ) ; return executeStopActivityStream ( request ) ; }
public virtual StopActivityStreamResponse StopActivityStream ( StopActivityStreamRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StopActivityStreamRequestMarshaller . Instance ; options . ResponseUnmarshaller = StopActivityStreamResponseUnmarshaller . Instance ; return Invoke < S...
public ListTypedLinkFacetAttributesResult listTypedLinkFacetAttributes ( ListTypedLinkFacetAttributesRequest request ) { request = beforeClientExecution ( request ) ; return executeListTypedLinkFacetAttributes ( request ) ; }
public virtual ListTypedLinkFacetAttributesResponse ListTypedLinkFacetAttributes ( ListTypedLinkFacetAttributesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListTypedLinkFacetAttributesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListTypedLinkFacetAttributesR...
public ListSentimentDetectionJobsResult listSentimentDetectionJobs ( ListSentimentDetectionJobsRequest request ) { request = beforeClientExecution ( request ) ; return executeListSentimentDetectionJobs ( request ) ; }
public virtual ListSentimentDetectionJobsResponse ListSentimentDetectionJobs ( ListSentimentDetectionJobsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListSentimentDetectionJobsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListSentimentDetectionJobsResponseUnm...
public GetAccountSendingEnabledResult getAccountSendingEnabled ( GetAccountSendingEnabledRequest request ) { request = beforeClientExecution ( request ) ; return executeGetAccountSendingEnabled ( request ) ; }
public virtual GetAccountSendingEnabledResponse GetAccountSendingEnabled ( GetAccountSendingEnabledRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetAccountSendingEnabledRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetAccountSendingEnabledResponseUnmarshaller ...
public static int getBuiltinFormat ( String pFmt ) { String fmt = "TEXT" . equalsIgnoreCase ( pFmt ) ? "@" : pFmt ; int i = - 1 ; for ( String f : _formats ) { i ++ ; if ( f . equals ( fmt ) ) { return i ; } } return - 1 ; }
public static int GetBuiltinFormat ( String pFmt ) { String fmt ; if ( string . Compare ( pFmt , ( "TEXT" ) , StringComparison . OrdinalIgnoreCase ) == 0 ) { fmt = "@" ; } else { fmt = pFmt ; } for ( int i = 0 ; i < _formats . Length ; i ++ ) { if ( fmt . Equals ( _formats [ i ] ) ) { return i ; } } return - 1 ; }
public void simpleValue ( StringBuffer toAppendTo , Object value ) { formatValue ( toAppendTo , value ) ; }
public override void SimpleValue ( StringBuilder toAppendTo , Object value ) { FormatValue ( toAppendTo , value ) ; }
public BatchCheckLayerAvailabilityResult batchCheckLayerAvailability ( BatchCheckLayerAvailabilityRequest request ) { request = beforeClientExecution ( request ) ; return executeBatchCheckLayerAvailability ( request ) ; }
public virtual BatchCheckLayerAvailabilityResponse BatchCheckLayerAvailability ( BatchCheckLayerAvailabilityRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = BatchCheckLayerAvailabilityRequestMarshaller . Instance ; options . ResponseUnmarshaller = BatchCheckLayerAvailabilityRespon...
public void clearSubRecords ( ) { subrecords . clear ( ) ; }
public void ClearSubRecords ( ) { subrecords . Clear ( ) ; }
public List < Ref > call ( ) throws GitAPIException { checkCallable ( ) ; List < Ref > tags = new ArrayList < > ( ) ; try ( RevWalk revWalk = new RevWalk ( repo ) ) { List < Ref > refList = repo . getRefDatabase ( ) . getRefsByPrefix ( Constants . R_TAGS ) ; for ( Ref ref : refList ) { tags . add ( ref ) ; } } catch ( ...
public override IList < Ref > Call ( ) { CheckCallable ( ) ; IDictionary < string , Ref > refList ; IList < Ref > tags = new AList < Ref > ( ) ; RevWalk revWalk = new RevWalk ( repo ) ; try { refList = repo . RefDatabase . GetRefs ( Constants . R_TAGS ) ; foreach ( Ref @ ref in refList . Values ) { tags . AddItem ( @ r...
public synchronized void clear ( ) { cache . clear ( ) ; }
public virtual void Clear ( ) { lock ( this ) { cache . Clear ( ) ; } }
public int indexOf ( E object , int from ) { Object [ ] snapshot = elements ; return indexOf ( object , snapshot , from , snapshot . length ) ; }
public virtual int indexOf ( E @ object , int from ) { object [ ] snapshot = elements ; return indexOf ( @ object , snapshot , from , snapshot . Length ) ; }
public String highlightTerm ( String originalText , TokenGroup tokenGroup ) { if ( tokenGroup . getTotalScore ( ) == 0 ) return originalText ; float score = tokenGroup . getTotalScore ( ) ; if ( score == 0 ) { return originalText ; } StringBuilder sb = new StringBuilder ( originalText . length ( ) + EXTRA ) ; sb . appe...
public override string HighlightTerm ( string originalText , TokenGroup tokenGroup ) { if ( tokenGroup . TotalScore == 0 ) return originalText ; float score = tokenGroup . TotalScore ; if ( score == 0 ) { return originalText ; } var sb = new StringBuilder ( originalText . Length + EXTRA ) ; sb . Append ( "<span style=\...
public PasswordRecord getPasswordRecord ( ) { return _passwordRecord ; }
public PasswordRecord GetPasswordRecord ( ) { return _passwordRecord ; }
public SlicedIndexInput clone ( ) { SlicedIndexInput clone = ( SlicedIndexInput ) super . clone ( ) ; clone . base = base . clone ( ) ; clone . fileOffset = fileOffset ; clone . length = length ; return clone ; }
public override object Clone ( ) { SlicedIndexInput clone = ( SlicedIndexInput ) base . Clone ( ) ; clone . @ base = ( IndexInput ) @ base . Clone ( ) ; clone . fileOffset = fileOffset ; clone . length = length ; return clone ; }
public int getSourceLine ( int idx ) { return sourceLines [ idx ] - 1 ; }
public virtual int GetSourceLine ( int idx ) { return sourceLines [ idx ] - 1 ; }
public DeleteResolverRuleResult deleteResolverRule ( DeleteResolverRuleRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteResolverRule ( request ) ; }
public virtual DeleteResolverRuleResponse DeleteResolverRule ( DeleteResolverRuleRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteResolverRuleRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteResolverRuleResponseUnmarshaller . Instance ; return Invoke < D...
static public double ppmt ( double r , int per , int nper , double pv , double fv , int type ) { return pmt ( r , nper , pv , fv , type ) - ipmt ( r , per , nper , pv , fv , type ) ; }
static public double PPMT ( double r , int per , int nper , double pv , double fv , int type ) { return PMT ( r , nper , pv , fv , type ) - IPMT ( r , per , nper , pv , fv , type ) ; }
@ Override public Set < K > keySet ( ) { return navigableKeySet ( ) ; }
public override java . util . Set < K > keySet ( ) { return this . navigableKeySet ( ) ; }
public boolean stem ( ) { if ( ! r_more_than_one_syllable_word ( ) ) { return false ; } limit_backward = cursor ; cursor = limit ; int v_1 = limit - cursor ; r_stem_nominal_verb_suffixes ( ) ; cursor = limit - v_1 ; if ( ! ( B_continue_stemming_noun_suffixes ) ) { return false ; } int v_2 = limit - cursor ; r_stem_noun...
public override bool Stem ( ) { int v_1 ; int v_2 ; if ( ! r_more_than_one_syllable_word ( ) ) { return false ; } m_limit_backward = m_cursor ; m_cursor = m_limit ; v_1 = m_limit - m_cursor ; do { if ( ! r_stem_nominal_verb_suffixes ( ) ) { goto lab0 ; } } while ( false ) ; lab0 : m_cursor = m_limit - v_1 ; if ( ! ( B_...
public ListShardsResult listShards ( ListShardsRequest request ) { request = beforeClientExecution ( request ) ; return executeListShards ( request ) ; }
public virtual ListShardsResponse ListShards ( ListShardsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListShardsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListShardsResponseUnmarshaller . Instance ; return Invoke < ListShardsResponse > ( request , options ...
public SearcherAndTaxonomy ( IndexSearcher searcher , DirectoryTaxonomyReader taxonomyReader ) { this . searcher = searcher ; this . taxonomyReader = taxonomyReader ; }
public SearcherAndTaxonomy ( IndexSearcher searcher , DirectoryTaxonomyReader taxonomyReader ) { this . Searcher = searcher ; this . TaxonomyReader = taxonomyReader ; }
public TreeFilter clone ( ) { return this ; }
public override TreeFilter Clone ( ) { return this ; }
public void set ( int index , long value ) { final int o = index / 6 ; final int b = index % 6 ; final int shift = b * 10 ; blocks [ o ] = ( blocks [ o ] & ~ ( 1023L << shift ) ) | ( value << shift ) ; }
public override void Set ( int index , long value ) { int o = index / 6 ; int b = index % 6 ; int shift = b * 10 ; blocks [ o ] = ( blocks [ o ] & ~ ( 1023L << shift ) ) | ( value << shift ) ; }
public boolean add ( String text ) { return map . put ( text , PLACEHOLDER ) == null ; }
public virtual bool Add ( object o ) { return map . Put ( o ) ; }
public Position get ( int pos ) { while ( pos >= nextPos ) { if ( count == positions . length ) { Position [ ] newPositions = new Position [ ArrayUtil . oversize ( 1 + count , RamUsageEstimator . NUM_BYTES_OBJECT_REF ) ] ; System . arraycopy ( positions , nextWrite , newPositions , 0 , positions . length - nextWrite ) ...
public Position Get ( int pos ) { while ( pos >= nextPos ) { if ( count == positions . Length ) { Position [ ] newPositions = new Position [ ArrayUtil . Oversize ( 1 + count , RamUsageEstimator . NUM_BYTES_OBJECT_REF ) ] ; System . Array . Copy ( positions , nextWrite , newPositions , 0 , positions . Length - nextWrite...
public synchronized void reset ( ) { pos = 0 ; }
public override void reset ( ) { lock ( this ) { pos = 0 ; } }
public void configure ( FacetsConfig config ) { for ( int i = 0 ; i < maxDims ; i ++ ) { config . setHierarchical ( Integer . toString ( i ) , true ) ; config . setMultiValued ( Integer . toString ( i ) , true ) ; } }
public override void Configure ( FacetsConfig config ) { for ( int i = 0 ; i < maxDims ; i ++ ) { config . SetHierarchical ( i . ToString ( CultureInfo . InvariantCulture ) , true ) ; config . SetMultiValued ( i . ToString ( CultureInfo . InvariantCulture ) , true ) ; } }
public boolean equals ( Object obj ) { if ( obj == null ) return false ; if ( obj == this ) return true ; if ( obj . getClass ( ) != getClass ( ) ) return false ; HSSFClientAnchor anchor = ( HSSFClientAnchor ) obj ; return anchor . getCol1 ( ) == getCol1 ( ) && anchor . getCol2 ( ) == getCol2 ( ) && anchor . getDx1 ( )...
public override bool Equals ( Object obj ) { if ( obj == null ) return false ; if ( obj == this ) return true ; if ( obj . GetType ( ) != GetType ( ) ) return false ; HSSFClientAnchor anchor = ( HSSFClientAnchor ) obj ; return anchor . Col1 == Col1 && anchor . Col2 == Col2 && anchor . Dx1 == Dx1 && anchor . Dx2 == Dx2 ...
public Set < String > getMissing ( ) { return Collections . unmodifiableSet ( diff . getMissing ( ) ) ; }
public virtual ICollection < string > GetMissing ( ) { return Sharpen . Collections . UnmodifiableSet ( diff . GetMissing ( ) ) ; }
public static IndexWriterConfig createWriterConfig ( Config config , PerfRunData runData , OpenMode mode , IndexCommit commit ) { IndexWriterConfig iwConf = new IndexWriterConfig ( runData . getAnalyzer ( ) ) ; iwConf . setOpenMode ( mode ) ; IndexDeletionPolicy indexDeletionPolicy = getIndexDeletionPolicy ( config ) ;...
public static IndexWriterConfig CreateWriterConfig ( Config config , PerfRunData runData , OpenMode mode , IndexCommit commit ) { LuceneVersion version = ( LuceneVersion ) Enum . Parse ( typeof ( LuceneVersion ) , config . Get ( "writer.version" , LuceneVersion . LUCENE_48 . ToString ( ) ) ) ; IndexWriterConfig iwConf ...
public GetCapacityReservationUsageResult getCapacityReservationUsage ( GetCapacityReservationUsageRequest request ) { request = beforeClientExecution ( request ) ; return executeGetCapacityReservationUsage ( request ) ; }
public virtual GetCapacityReservationUsageResponse GetCapacityReservationUsage ( GetCapacityReservationUsageRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetCapacityReservationUsageRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetCapacityReservationUsageRespon...
public void addRule ( HSSFConditionalFormattingRule cfRule ) { cfAggregate . addRule ( cfRule . getCfRuleRecord ( ) ) ; }
public void AddRule ( HSSFConditionalFormattingRule cfRule ) { cfAggregate . AddRule ( cfRule . CfRuleRecord ) ; }
public DocState ( boolean reuseFields , FieldType ft , FieldType bodyFt ) { this . reuseFields = reuseFields ; if ( reuseFields ) { fields = new HashMap < > ( ) ; numericFields = new HashMap < > ( ) ; fields . put ( BODY_FIELD , new Field ( BODY_FIELD , "" , bodyFt ) ) ; fields . put ( TITLE_FIELD , new Field ( TITLE_F...
public DocState ( bool reuseFields , FieldType ft , FieldType bodyFt ) { this . reuseFields = reuseFields ; if ( reuseFields ) { fields = new Dictionary < string , Field > ( ) ; numericFields = new Dictionary < string , Field > ( ) ; fields [ BODY_FIELD ] = new Field ( BODY_FIELD , "" , bodyFt ) ; fields [ TITLE_FIELD ...
public char [ ] getValue ( ) { return value ; }
public virtual char [ ] GetValue ( ) { return value ; }
public void updateNameCommentRecordCache ( final NameCommentRecord commentRecord ) { if ( commentRecords . containsValue ( commentRecord ) ) { for ( Entry < String , NameCommentRecord > entry : commentRecords . entrySet ( ) ) { if ( entry . getValue ( ) . equals ( commentRecord ) ) { commentRecords . remove ( entry . g...
public void UpdateNameCommentRecordCache ( NameCommentRecord commentRecord ) { if ( commentRecords . ContainsValue ( commentRecord ) ) { foreach ( KeyValuePair < string , NameCommentRecord > entry in commentRecords ) { if ( entry . Value . Equals ( commentRecord ) ) { commentRecords . Remove ( entry . Key ) ; break ; }...
public CompleteMultipartUploadRequest ( String vaultName , String uploadId , String archiveSize , String checksum ) { setVaultName ( vaultName ) ; setUploadId ( uploadId ) ; setArchiveSize ( archiveSize ) ; setChecksum ( checksum ) ; }
public CompleteMultipartUploadRequest ( string vaultName , string uploadId , string archiveSize , string checksum ) { _vaultName = vaultName ; _uploadId = uploadId ; _archiveSize = archiveSize ; _checksum = checksum ; }
public Query getQuery ( Element n ) throws ParserException { QueryBuilder builder = builders . get ( n . getNodeName ( ) ) ; if ( builder == null ) { throw new ParserException ( "No QueryObjectBuilder defined for node " + n . getNodeName ( ) ) ; } return builder . getQuery ( n ) ; }
public virtual Query GetQuery ( XmlElement n ) { IQueryBuilder builder ; if ( ! builders . TryGetValue ( n . Name , out builder ) || builder == null ) { throw new ParserException ( "No QueryObjectBuilder defined for node " + n . Name ) ; } return builder . GetQuery ( n ) ; }
public static double nper ( double r , double y , double p , double f , boolean t ) { double retval = 0 ; if ( r == 0 ) { retval = - 1 * ( f + p ) / y ; } else { double r1 = r + 1 ; double ryr = ( t ? r1 : 1 ) * y / r ; double a1 = ( ( ryr - f ) < 0 ) ? Math . log ( f - ryr ) : Math . log ( ryr - f ) ; double a2 = ( ( ...
public static double nper ( double r , double y , double p , double f , bool t ) { double retval = 0 ; if ( r == 0 ) { retval = - 1 * ( f + p ) / y ; } else { double r1 = r + 1 ; double ryr = ( t ? r1 : 1 ) * y / r ; double a1 = ( ( ryr - f ) < 0 ) ? Math . Log ( f - ryr ) : Math . Log ( ryr - f ) ; double a2 = ( ( ryr...
public AndQueryNode ( List < QueryNode > clauses ) { super ( clauses ) ; if ( ( clauses == null ) || ( clauses . size ( ) == 0 ) ) { throw new IllegalArgumentException ( "AND query must have at least one clause" ) ; } }
public AndQueryNode ( IList < IQueryNode > clauses ) : base ( clauses ) { if ( ( clauses == null ) || ( clauses . Count == 0 ) ) { throw new ArgumentException ( "AND query must have at least one clause" ) ; } }
public SeriesListRecord ( short [ ] seriesNumbers ) { field_1_seriesNumbers = ( seriesNumbers == null ) ? null : seriesNumbers . clone ( ) ; }
public SeriesListRecord ( short [ ] seriesNumbers ) { field_1_seriesNumbers = seriesNumbers ; }
public String toString ( ) { return value + ", " + begin + ", " + end ; }
public override string ToString ( ) { return value + ", " + begin + ", " + end ; }
public String toString ( ) { return "<StandardQueryParser config=\"" + this . getQueryConfigHandler ( ) + "\"/>" ; }
public override string ToString ( ) { return "<StandardQueryParser config=\"" + this . QueryConfigHandler + "\"/>" ; }
public DescribeActivitiesResult describeActivities ( DescribeActivitiesRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeActivities ( request ) ; }
public virtual DescribeActivitiesResponse DescribeActivities ( DescribeActivitiesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeActivitiesRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeActivitiesResponseUnmarshaller . Instance ; return Invoke < D...
public int writeTokenValueBytes ( LittleEndianOutput out ) { out . writeByte ( _nColumns - 1 ) ; out . writeShort ( _nRows - 1 ) ; ConstantValueParser . encode ( out , _arrayValues ) ; return 3 + ConstantValueParser . getEncodedSize ( _arrayValues ) ; }
public int WriteTokenValueBytes ( ILittleEndianOutput out1 ) { out1 . WriteByte ( _nColumns - 1 ) ; out1 . WriteShort ( _nRows - 1 ) ; ConstantValueParser . Encode ( out1 , _arrayValues ) ; return 3 + ConstantValueParser . GetEncodedSize ( _arrayValues ) ; }
public DescribeFleetMetadataResult describeFleetMetadata ( DescribeFleetMetadataRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeFleetMetadata ( request ) ; }
public virtual DescribeFleetMetadataResponse DescribeFleetMetadata ( DescribeFleetMetadataRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeFleetMetadataRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeFleetMetadataResponseUnmarshaller . Instance ; re...
public GlobalCluster modifyGlobalCluster ( ModifyGlobalClusterRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyGlobalCluster ( request ) ; }
public virtual ModifyGlobalClusterResponse ModifyGlobalCluster ( ModifyGlobalClusterRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyGlobalClusterRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyGlobalClusterResponseUnmarshaller . Instance ; return Invok...
public DescribeIdentityIdFormatResult describeIdentityIdFormat ( DescribeIdentityIdFormatRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeIdentityIdFormat ( request ) ; }
public virtual DescribeIdentityIdFormatResponse DescribeIdentityIdFormat ( DescribeIdentityIdFormatRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeIdentityIdFormatRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeIdentityIdFormatResponseUnmarshaller ...
public ListUserGroupsResult listUserGroups ( ListUserGroupsRequest request ) { request = beforeClientExecution ( request ) ; return executeListUserGroups ( request ) ; }
public virtual ListUserGroupsResponse ListUserGroups ( ListUserGroupsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListUserGroupsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListUserGroupsResponseUnmarshaller . Instance ; return Invoke < ListUserGroupsRespons...
public RevertCommand include ( String name , AnyObjectId commit ) { return include ( new ObjectIdRef . Unpeeled ( Storage . LOOSE , name , commit . copy ( ) ) ) ; }
public virtual NGit . Api . RevertCommand Include ( string name , AnyObjectId commit ) { return Include ( new ObjectIdRef . Unpeeled ( RefStorage . LOOSE , name , commit . Copy ( ) ) ) ; }
public BeiderMorseFilter ( TokenStream input , PhoneticEngine engine , LanguageSet languages ) { super ( input ) ; this . engine = engine ; this . languages = languages ; }
public BeiderMorseFilter ( TokenStream input , PhoneticEngine engine , LanguageSet languages ) : base ( input ) { this . engine = engine ; this . languages = languages ; this . termAtt = AddAttribute < ICharTermAttribute > ( ) ; this . posIncAtt = AddAttribute < IPositionIncrementAttribute > ( ) ; }