question
stringlengths
33
1.59k
target
stringlengths
33
1.58k
public long ramBytesUsed ( ) { long mem = RamUsageEstimator . shallowSizeOf ( this ) + RamUsageEstimator . sizeOf ( offsets ) ; if ( offsets != ordinals ) { mem += RamUsageEstimator . sizeOf ( ordinals ) ; } return mem ; }
public virtual long RamBytesUsed ( ) { lock ( this ) return ordsCache . Sum ( pair = > pair . Value . RamBytesUsed ( ) ) ; }
public Trec1MQReader ( String name ) { super ( ) ; this . name = name ; }
public Trec1MQReader ( string name ) : base ( ) { this . name = name ; }
public String toString ( ) { return "MergeInfo [totalMaxDoc=" + totalMaxDoc + ", estimatedMergeBytes=" + estimatedMergeBytes + ", isExternal=" + isExternal + ", mergeMaxNumSegments=" + mergeMaxNumSegments + "]" ; }
public override string ToString ( ) { return "MergeInfo [totalDocCount=" + TotalDocCount + ", estimatedMergeBytes=" + EstimatedMergeBytes + ", isExternal=" + IsExternal + ", mergeMaxNumSegments=" + MergeMaxNumSegments + "]" ; }
public GetVaultNotificationsRequest ( String vaultName ) { setVaultName ( vaultName ) ; }
public GetVaultNotificationsRequest ( string vaultName ) { _vaultName = vaultName ; }
public DisassociatePhoneNumbersFromVoiceConnectorGroupResult disassociatePhoneNumbersFromVoiceConnectorGroup ( DisassociatePhoneNumbersFromVoiceConnectorGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeDisassociatePhoneNumbersFromVoiceConnectorGroup ( request ) ; }
public virtual DisassociatePhoneNumbersFromVoiceConnectorGroupResponse DisassociatePhoneNumbersFromVoiceConnectorGroup ( DisassociatePhoneNumbersFromVoiceConnectorGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DisassociatePhoneNumbersFromVoiceConnectorGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = DisassociatePhoneNumbersFromVoiceConnectorGroupResponseUnmarshaller . Instance ; return Invoke < DisassociatePhoneNumbersFromVoiceConnectorGroupResponse > ( request , options ) ; }
public int size ( ) { return ConcurrentHashMap . this . size ( ) ; }
public override int size ( ) { return this . _enclosing . size ( ) ; }
public void addPattern ( String pattern , String ivalue ) { int k = ivalues . find ( ivalue ) ; if ( k <= 0 ) { k = packValues ( ivalue ) ; ivalues . insert ( ivalue , ( char ) k ) ; } insert ( pattern , ( char ) k ) ; }
public virtual void AddPattern ( string pattern , string ivalue ) { int k = ivalues . Find ( ivalue ) ; if ( k <= 0 ) { k = PackValues ( ivalue ) ; ivalues . Insert ( ivalue , ( char ) k ) ; } Insert ( pattern , ( char ) k ) ; }
public boolean isSheetHidden ( int sheetnum ) { return getBoundSheetRec ( sheetnum ) . isHidden ( ) ; }
public bool IsSheetHidden ( int sheetnum ) { return GetBoundSheetRec ( sheetnum ) . IsHidden ; }
public AddUserToGroupRequest ( String groupName , String userName ) { setGroupName ( groupName ) ; setUserName ( userName ) ; }
public AddUserToGroupRequest ( string groupName , string userName ) { _groupName = groupName ; _userName = userName ; }
public static double sumsq ( double [ ] values ) { double sumsq = 0 ; for ( double value : values ) { sumsq += value * value ; } return sumsq ; }
public static double Sumsq ( double [ ] values ) { double sumsq = 0 ; for ( int i = 0 , iSize = values . Length ; i < iSize ; i ++ ) { sumsq += values [ i ] * values [ i ] ; } return sumsq ; }
public DeleteHostedZoneRequest ( String id ) { setId ( id ) ; }
public DeleteHostedZoneRequest ( string id ) { _id = id ; }
public UserSViewEnd ( RecordInputStream in ) { _rawData = in . readRemainder ( ) ; }
public UserSViewEnd ( RecordInputStream in1 ) { _rawData = in1 . ReadRemainder ( ) ; }
public BatchPutScheduledUpdateGroupActionResult batchPutScheduledUpdateGroupAction ( BatchPutScheduledUpdateGroupActionRequest request ) { request = beforeClientExecution ( request ) ; return executeBatchPutScheduledUpdateGroupAction ( request ) ; }
public virtual BatchPutScheduledUpdateGroupActionResponse BatchPutScheduledUpdateGroupAction ( BatchPutScheduledUpdateGroupActionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = BatchPutScheduledUpdateGroupActionRequestMarshaller . Instance ; options . ResponseUnmarshaller = BatchPutScheduledUpdateGroupActionResponseUnmarshaller . Instance ; return Invoke < BatchPutScheduledUpdateGroupActionResponse > ( request , options ) ; }
public static EvaluationException numberError ( ) { return new EvaluationException ( ErrorEval . NUM_ERROR ) ; }
public static EvaluationException NumberError ( ) { return new EvaluationException ( ErrorEval . NUM_ERROR ) ; }
public String displayName ( ) { return this . displayName ; }
public virtual ISubscriptionOperations Subscription { get ; private set ; }
public final boolean equals ( Object o ) { if ( o instanceof AnyObjectId ) { return equals ( ( AnyObjectId ) o ) ; } return false ; }
public sealed override bool Equals ( object o ) { if ( o is AnyObjectId ) { return Equals ( ( AnyObjectId ) o ) ; } else { return false ; } }
public DescribeSpotFleetRequestHistoryResult describeSpotFleetRequestHistory ( DescribeSpotFleetRequestHistoryRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeSpotFleetRequestHistory ( request ) ; }
public virtual DescribeSpotFleetRequestHistoryResponse DescribeSpotFleetRequestHistory ( DescribeSpotFleetRequestHistoryRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeSpotFleetRequestHistoryRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeSpotFleetRequestHistoryResponseUnmarshaller . Instance ; return Invoke < DescribeSpotFleetRequestHistoryResponse > ( request , options ) ; }
public InventoryPrefixPredicate ( String prefix ) { this . prefix = prefix ; }
public InventoryPrefixPredicate ( string prefix ) { this . prefix = prefix ; }
public static synchronized MergeStrategy [ ] get ( ) { final MergeStrategy [ ] r = new MergeStrategy [ STRATEGIES . size ( ) ] ; STRATEGIES . values ( ) . toArray ( r ) ; return r ; }
public static MergeStrategy [ ] Get ( ) { lock ( typeof ( MergeStrategy ) ) { MergeStrategy [ ] r = new MergeStrategy [ STRATEGIES . Count ] ; Sharpen . Collections . ToArray ( STRATEGIES . Values , r ) ; return r ; } }
public DeleteVoiceConnectorTerminationCredentialsResult deleteVoiceConnectorTerminationCredentials ( DeleteVoiceConnectorTerminationCredentialsRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteVoiceConnectorTerminationCredentials ( request ) ; }
public virtual DeleteVoiceConnectorTerminationCredentialsResponse DeleteVoiceConnectorTerminationCredentials ( DeleteVoiceConnectorTerminationCredentialsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteVoiceConnectorTerminationCredentialsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteVoiceConnectorTerminationCredentialsResponseUnmarshaller . Instance ; return Invoke < DeleteVoiceConnectorTerminationCredentialsResponse > ( request , options ) ; }
public int mark ( ) { if ( numMarkers == 0 ) { lastCharBufferStart = lastChar ; } int mark = - numMarkers - 1 ; numMarkers ++ ; return mark ; }
public virtual int Mark ( ) { if ( numMarkers == 0 ) { lastCharBufferStart = lastChar ; } int mark = - numMarkers - 1 ; numMarkers ++ ; return mark ; }
public ScoreCachingWrappingScorer ( Scorable scorer ) { this . in = scorer ; }
public ScoreCachingWrappingScorer ( Scorer scorer ) : base ( scorer . m_weight ) { this . scorer = scorer ; }
public void skip ( long count ) throws IOException { assert count >= 0 ; if ( ord + count > valueCount || ord + count < 0 ) { throw new EOFException ( ) ; } final int skipBuffer = ( int ) Math . min ( count , blockSize - off ) ; off += skipBuffer ; ord += skipBuffer ; count -= skipBuffer ; if ( count == 0L ) { return ; } assert off == blockSize ; while ( count >= blockSize ) { final int token = in . readByte ( ) & 0xFF ; final int bitsPerValue = token > > > BPV_SHIFT ; if ( bitsPerValue > 64 ) { throw new IOException ( "Corrupted" ) ; } if ( ( token & MIN_VALUE_EQUALS_0 ) == 0 ) { readVLong ( in ) ; } final long blockBytes = PackedInts . Format . PACKED . byteCount ( packedIntsVersion , blockSize , bitsPerValue ) ; skipBytes ( blockBytes ) ; ord += blockSize ; count -= blockSize ; } if ( count == 0L ) { return ; } assert count < blockSize ; refill ( ) ; ord += count ; off += count ; }
public void Skip ( long count ) { Debug . Assert ( count >= 0 ) ; if ( ord + count > valueCount || ord + count < 0 ) { throw new System . IO . EndOfStreamException ( ) ; } int skipBuffer = ( int ) Math . Min ( count , blockSize - off ) ; off += skipBuffer ; ord += skipBuffer ; count -= skipBuffer ; if ( count == 0L ) { return ; } Debug . Assert ( off == blockSize ) ; while ( count >= blockSize ) { int token = @ in . ReadByte ( ) & 0xFF ; int bitsPerValue = ( int ) ( ( uint ) token > > AbstractBlockPackedWriter . BPV_SHIFT ) ; if ( bitsPerValue > 64 ) { throw new System . IO . IOException ( "Corrupted" ) ; } if ( ( token & AbstractBlockPackedWriter . MIN_VALUE_EQUALS_0 ) == 0 ) { ReadVInt64 ( @ in ) ; } long blockBytes = PackedInt32s . Format . PACKED . ByteCount ( packedIntsVersion , blockSize , bitsPerValue ) ; SkipBytes ( blockBytes ) ; ord += blockSize ; count -= blockSize ; } if ( count == 0L ) { return ; } Debug . Assert ( count < blockSize ) ; Refill ( ) ; ord += count ; off += ( int ) count ; }
public GetDownloadUrlsRequest ( ) { super ( "CloudPhoto" , "2017-07-11" , "GetDownloadUrls" , "cloudphoto" ) ; setProtocol ( ProtocolType . HTTPS ) ; }
public GetDownloadUrlsRequest ( ) : base ( "CloudPhoto" , "2017-07-11" , "GetDownloadUrls" , "cloudphoto" , "openAPI" ) { Protocol = ProtocolType . HTTPS ; }
public ListSecurityProfilesResult listSecurityProfiles ( ListSecurityProfilesRequest request ) { request = beforeClientExecution ( request ) ; return executeListSecurityProfiles ( request ) ; }
public virtual ListSecurityProfilesResponse ListSecurityProfiles ( ListSecurityProfilesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListSecurityProfilesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListSecurityProfilesResponseUnmarshaller . Instance ; return Invoke < ListSecurityProfilesResponse > ( request , options ) ; }
@ Override public boolean contains ( Object o ) { return containsKey ( o ) ; }
public override bool contains ( object o ) { return this . _enclosing . containsKey ( o ) ; }
public TerminalNode getToken ( int ttype , int i ) { if ( children == null || i < 0 || i >= children . size ( ) ) { return null ; } int j = - 1 ; for ( ParseTree o : children ) { if ( o instanceof TerminalNode ) { TerminalNode tnode = ( TerminalNode ) o ; Token symbol = tnode . getSymbol ( ) ; if ( symbol . getType ( ) == ttype ) { j ++ ; if ( j == i ) { return tnode ; } } } } return null ; }
public virtual ITerminalNode GetToken ( int ttype , int i ) { if ( children == null || i < 0 || i >= children . Count ) { return null ; } int j = - 1 ; foreach ( IParseTree o in children ) { if ( o is ITerminalNode ) { ITerminalNode tnode = ( ITerminalNode ) o ; IToken symbol = tnode . Symbol ; if ( symbol . Type == ttype ) { j ++ ; if ( j == i ) { return tnode ; } } } } return null ; }
public void serialize ( LittleEndianOutput out ) { out . writeShort ( _offset ) ; out . writeShort ( _fontIndex ) ; }
public void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteShort ( m_offset ) ; out1 . WriteShort ( m_fontIndex ) ; }
public void incrementOpen ( ) { useCnt . incrementAndGet ( ) ; }
public virtual void IncrementOpen ( ) { useCnt . IncrementAndGet ( ) ; }
public OneMerge ( List < SegmentCommitInfo > segments ) { if ( 0 == segments . size ( ) ) { throw new RuntimeException ( "segments must include at least one segment" ) ; } this . segments = new ArrayList < > ( segments ) ; int count = 0 ; for ( SegmentCommitInfo info : segments ) { count += info . info . maxDoc ( ) ; } totalMaxDoc = count ; mergeProgress = new OneMergeProgress ( ) ; }
public OneMerge ( IList < SegmentCommitInfo > segments ) { if ( 0 == segments . Count ) { throw new Exception ( "segments must include at least one segment" ) ; } this . Segments = new List < SegmentCommitInfo > ( segments ) ; int count = 0 ; foreach ( SegmentCommitInfo info in segments ) { count += info . Info . DocCount ; } TotalDocCount = count ; }
public final byte get ( ) { if ( position == limit ) { throw new BufferUnderflowException ( ) ; } return backingArray [ offset + position ++ ] ; }
public sealed override byte get ( ) { if ( _position == _limit ) { throw new java . nio . BufferUnderflowException ( ) ; } return backingArray [ offset + _position ++ ] ; }
public String toString ( ) { StringBuilder sb = new StringBuilder ( 64 ) ; sb . append ( getClass ( ) . getName ( ) ) ; sb . append ( " [" ) ; if ( _isQuoted ) { sb . append ( "'" ) . append ( _name ) . append ( "'" ) ; } else { sb . append ( _name ) ; } sb . append ( "]" ) ; return sb . toString ( ) ; }
public override String ToString ( ) { StringBuilder sb = new StringBuilder ( 64 ) ; sb . Append ( this . GetType ( ) . Name ) ; sb . Append ( " [" ) ; if ( _isQuoted ) { sb . Append ( "'" ) . Append ( _name ) . Append ( "'" ) ; } else { sb . Append ( _name ) ; } sb . Append ( "]" ) ; return sb . ToString ( ) ; }
public AssociateWebsiteCertificateAuthorityResult associateWebsiteCertificateAuthority ( AssociateWebsiteCertificateAuthorityRequest request ) { request = beforeClientExecution ( request ) ; return executeAssociateWebsiteCertificateAuthority ( request ) ; }
public virtual AssociateWebsiteCertificateAuthorityResponse AssociateWebsiteCertificateAuthority ( AssociateWebsiteCertificateAuthorityRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AssociateWebsiteCertificateAuthorityRequestMarshaller . Instance ; options . ResponseUnmarshaller = AssociateWebsiteCertificateAuthorityResponseUnmarshaller . Instance ; return Invoke < AssociateWebsiteCertificateAuthorityResponse > ( request , options ) ; }
public RevFilter clone ( ) { return new PatternSearch ( pattern ( ) ) ; }
public override RevFilter Clone ( ) { return new AuthorRevFilter . PatternSearch ( Pattern ( ) ) ; }
public PredictionContext getParent ( int index ) { return null ; }
public override PredictionContext GetParent ( int index ) { return null ; }
public AttachVpnGatewayRequest ( String vpnGatewayId , String vpcId ) { setVpnGatewayId ( vpnGatewayId ) ; setVpcId ( vpcId ) ; }
public AttachVpnGatewayRequest ( string vpnGatewayId , string vpcId ) { _vpnGatewayId = vpnGatewayId ; _vpcId = vpcId ; }
public void onUpdate ( DocumentsWriterFlushControl control , ThreadState state ) { onInsert ( control , state ) ; onDelete ( control , state ) ; }
public virtual void OnUpdate ( DocumentsWriterFlushControl control , ThreadState state ) { OnInsert ( control , state ) ; OnDelete ( control , state ) ; }
public UpdateComponentResult updateComponent ( UpdateComponentRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateComponent ( request ) ; }
public virtual UpdateComponentResponse UpdateComponent ( UpdateComponentRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateComponentRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateComponentResponseUnmarshaller . Instance ; return Invoke < UpdateComponentResponse > ( request , options ) ; }
public DeleteDashboardResult deleteDashboard ( DeleteDashboardRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteDashboard ( request ) ; }
public virtual DeleteDashboardResponse DeleteDashboard ( DeleteDashboardRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteDashboardRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteDashboardResponseUnmarshaller . Instance ; return Invoke < DeleteDashboardResponse > ( request , options ) ; }
public byte [ ] getByteBlock ( ) { if ( freeBlocks == 0 ) { bytesUsed . addAndGet ( blockSize ) ; return new byte [ blockSize ] ; } final byte [ ] b = freeByteBlocks [ -- freeBlocks ] ; freeByteBlocks [ freeBlocks ] = null ; return b ; }
public override byte [ ] GetByteBlock ( ) { if ( freeBlocks == 0 ) { bytesUsed . AddAndGet ( m_blockSize ) ; return new byte [ m_blockSize ] ; } var b = freeByteBlocks [ -- freeBlocks ] ; freeByteBlocks [ freeBlocks ] = null ; return b ; }
public DisableLoggingResult disableLogging ( DisableLoggingRequest request ) { request = beforeClientExecution ( request ) ; return executeDisableLogging ( request ) ; }
public virtual DisableLoggingResponse DisableLogging ( DisableLoggingRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DisableLoggingRequestMarshaller . Instance ; options . ResponseUnmarshaller = DisableLoggingResponseUnmarshaller . Instance ; return Invoke < DisableLoggingResponse > ( request , options ) ; }
public TokenStream create ( TokenStream input ) { return new CJKWidthFilter ( input ) ; }
public override TokenStream Create ( TokenStream input ) { return new CJKWidthFilter ( input ) ; }
public void reset ( int startOffset , int endOffset ) { bufferUpto = startOffset / INT_BLOCK_SIZE ; bufferOffset = bufferUpto * INT_BLOCK_SIZE ; this . end = endOffset ; upto = startOffset ; level = 1 ; buffer = pool . buffers [ bufferUpto ] ; upto = startOffset & INT_BLOCK_MASK ; final int firstSize = IntBlockPool . LEVEL_SIZE_ARRAY [ 0 ] ; if ( startOffset + firstSize >= endOffset ) { limit = endOffset & INT_BLOCK_MASK ; } else { limit = upto + firstSize - 1 ; } }
public void Reset ( int startOffset , int endOffset ) { bufferUpto = startOffset / INT32_BLOCK_SIZE ; bufferOffset = bufferUpto * INT32_BLOCK_SIZE ; this . end = endOffset ; upto = startOffset ; level = 1 ; buffer = pool . buffers [ bufferUpto ] ; upto = startOffset & INT32_BLOCK_MASK ; int firstSize = Int32BlockPool . LEVEL_SIZE_ARRAY [ 0 ] ; if ( startOffset + firstSize >= endOffset ) { limit = endOffset & INT32_BLOCK_MASK ; } else { limit = upto + firstSize - 1 ; } }
public long ramBytesUsed ( ) { return values . ramBytesUsed ( ) + super . ramBytesUsed ( ) + Long . BYTES + RamUsageEstimator . NUM_BYTES_OBJECT_REF ; }
public long RamBytesUsed ( ) { return RamUsageEstimator . AlignObjectSize ( 3 * RamUsageEstimator . NUM_BYTES_OBJECT_REF ) + docIDs . RamBytesUsed ( ) + offsets . RamBytesUsed ( ) ; }
public PutItemOutcome putItem ( Item item ) { return putItemDelegate . putItem ( item ) ; }
public void PutItem ( Document doc ) { PutItem ( doc , null ) ; }
public void decode ( byte [ ] blocks , int blocksOffset , long [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { final long byte0 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = byte0 > > > 2 ; final long byte1 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( ( byte0 & 3 ) << 4 ) | ( byte1 > > > 4 ) ; final long byte2 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( ( byte1 & 15 ) << 2 ) | ( byte2 > > > 6 ) ; values [ valuesOffset ++ ] = byte2 & 63 ; } }
public override void Decode ( byte [ ] blocks , int blocksOffset , long [ ] values , int valuesOffset , int iterations ) { for ( int i = 0 ; i < iterations ; ++ i ) { long byte0 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( long ) ( ( ulong ) byte0 > > 2 ) ; long byte1 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( ( byte0 & 3 ) << 4 ) | ( ( long ) ( ( ulong ) byte1 > > 4 ) ) ; long byte2 = blocks [ blocksOffset ++ ] & 0xFF ; values [ valuesOffset ++ ] = ( ( byte1 & 15 ) << 2 ) | ( ( long ) ( ( ulong ) byte2 > > 6 ) ) ; values [ valuesOffset ++ ] = byte2 & 63 ; } }
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[DELTA]\n" ) ; buffer . append ( " .maxchange = " ) . append ( getMaxChange ( ) ) . append ( "\n" ) ; buffer . append ( "[/DELTA]\n" ) ; return buffer . toString ( ) ; }
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[DELTA]\n" ) ; buffer . Append ( " .maxChange = " ) . Append ( MaxChange ) . Append ( "\n" ) ; buffer . Append ( "[/DELTA]\n" ) ; return buffer . ToString ( ) ; }
public StartFaceDetectionResult startFaceDetection ( StartFaceDetectionRequest request ) { request = beforeClientExecution ( request ) ; return executeStartFaceDetection ( request ) ; }
public virtual StartFaceDetectionResponse StartFaceDetection ( StartFaceDetectionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartFaceDetectionRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartFaceDetectionResponseUnmarshaller . Instance ; return Invoke < StartFaceDetectionResponse > ( request , options ) ; }
public DataValidation createValidation ( DataValidationConstraint constraint , CellRangeAddressList cellRangeAddressList ) { return new HSSFDataValidation ( cellRangeAddressList , constraint ) ; }
public IDataValidation CreateValidation ( IDataValidationConstraint constraint , CellRangeAddressList cellRangeAddressList ) { return new HSSFDataValidation ( cellRangeAddressList , constraint ) ; }
public DocumentStoredFieldVisitor ( Set < String > fieldsToAdd ) { this . fieldsToAdd = fieldsToAdd ; }
public DocumentStoredFieldVisitor ( ISet < string > fieldsToAdd ) { this . fieldsToAdd = fieldsToAdd ; }
public TokenStream create ( TokenStream tokenStream ) { return new HunspellStemFilter ( tokenStream , dictionary , true , longestOnly ) ; }
public override TokenStream Create ( TokenStream tokenStream ) { return new HunspellStemFilter ( tokenStream , dictionary , true , longestOnly ) ; }
public Repository getRepository ( ) { return repository ; }
public virtual Repository GetRepository ( ) { return repository ; }
public DeleteMLModelResult deleteMLModel ( DeleteMLModelRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteMLModel ( request ) ; }
public virtual DeleteMLModelResponse DeleteMLModel ( DeleteMLModelRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteMLModelRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteMLModelResponseUnmarshaller . Instance ; return Invoke < DeleteMLModelResponse > ( request , options ) ; }
public GetAccountLimitResult getAccountLimit ( GetAccountLimitRequest request ) { request = beforeClientExecution ( request ) ; return executeGetAccountLimit ( request ) ; }
public virtual GetAccountLimitResponse GetAccountLimit ( GetAccountLimitRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetAccountLimitRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetAccountLimitResponseUnmarshaller . Instance ; return Invoke < GetAccountLimitResponse > ( request , options ) ; }
public final char [ ] GetSuffix ( int len ) { char [ ] value = new char [ len ] ; System . arraycopy ( buffer , bufferPosition - len , value , 0 , len ) ; return value ; }
public char [ ] GetSuffix ( int len ) { char [ ] value_Renamed = new char [ len ] ; Array . Copy ( buffer , bufferPosition - len , value_Renamed , 0 , len ) ; return value_Renamed ; }
public ModifyClientVpnEndpointResult modifyClientVpnEndpoint ( ModifyClientVpnEndpointRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyClientVpnEndpoint ( request ) ; }
public virtual ModifyClientVpnEndpointResponse ModifyClientVpnEndpoint ( ModifyClientVpnEndpointRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyClientVpnEndpointRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyClientVpnEndpointResponseUnmarshaller . Instance ; return Invoke < ModifyClientVpnEndpointResponse > ( request , options ) ; }
public final boolean containsRow ( int row ) { return _firstRow <= row && _lastRow >= row ; }
public bool ContainsRow ( int row ) { return ( _firstRow <= row ) && ( _lastRow >= row ) ; }
public int available ( ) { return remainingBytes ( ) ; }
public override int Available ( ) { return delegate1 . Available ( ) ; }
public RequestEnvironmentInfoRequest ( EnvironmentInfoType infoType ) { setInfoType ( infoType . toString ( ) ) ; }
public RequestEnvironmentInfoRequest ( EnvironmentInfoType infoType ) { _infoType = infoType ; }
public void write ( byte [ ] buf ) throws IOException { write ( buf , 0 , buf . length ) ; }
public override void Write ( int b ) { try { BeginWrite ( ) ; dst . Write ( b ) ; } catch ( ThreadInterruptedException ) { throw WriteTimedOut ( ) ; } finally { EndWrite ( ) ; } }
public ResetDBClusterParameterGroupResult resetDBClusterParameterGroup ( ResetDBClusterParameterGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeResetDBClusterParameterGroup ( request ) ; }
public virtual ResetDBClusterParameterGroupResponse ResetDBClusterParameterGroup ( ResetDBClusterParameterGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ResetDBClusterParameterGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = ResetDBClusterParameterGroupResponseUnmarshaller . Instance ; return Invoke < ResetDBClusterParameterGroupResponse > ( request , options ) ; }
public void unwriteProtectWorkbook ( ) { this . workbook . unwriteProtectWorkbook ( ) ; }
public void UnwriteProtectWorkbook ( ) { this . workbook . UnwriteProtectWorkbook ( ) ; }
public ANTLRInputStream ( String input ) { this . data = input . toCharArray ( ) ; this . n = input . length ( ) ; }
public AntlrInputStream ( string input ) { this . data = input . ToCharArray ( ) ; this . n = input . Length ; }
public ByteBuffer putShort ( short value ) { throw new ReadOnlyBufferException ( ) ; }
public override java . nio . ByteBuffer putShort ( short value ) { throw new java . nio . ReadOnlyBufferException ( ) ; }
public ReplaceIamInstanceProfileAssociationResult replaceIamInstanceProfileAssociation ( ReplaceIamInstanceProfileAssociationRequest request ) { request = beforeClientExecution ( request ) ; return executeReplaceIamInstanceProfileAssociation ( request ) ; }
public virtual ReplaceIamInstanceProfileAssociationResponse ReplaceIamInstanceProfileAssociation ( ReplaceIamInstanceProfileAssociationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ReplaceIamInstanceProfileAssociationRequestMarshaller . Instance ; options . ResponseUnmarshaller = ReplaceIamInstanceProfileAssociationResponseUnmarshaller . Instance ; return Invoke < ReplaceIamInstanceProfileAssociationResponse > ( request , options ) ; }
public void add ( String name , Expression expression ) { map . put ( name , expression ) ; }
public void Add ( string name , Expression expression ) { map [ name ] = expression ; }
public Ref3DPtg ( CellReference c , int externIdx ) { super ( c ) ; setExternSheetIndex ( externIdx ) ; }
public Ref3DPtg ( CellReference cr , int externIdx ) : base ( cr ) { ExternSheetIndex = externIdx ; }
public int readUShort ( ) { byte [ ] buf = new byte [ LittleEndianConsts . SHORT_SIZE ] ; try { checkEOF ( read ( buf ) , LittleEndianConsts . SHORT_SIZE ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } return LittleEndian . getUShort ( buf ) ; }
public int ReadUShort ( ) { int ch1 ; int ch2 ; try { ch1 = in1 . ReadByte ( ) ; ch2 = in1 . ReadByte ( ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } CheckEOF ( ch1 | ch2 ) ; return ( ch2 << 8 ) + ( ch1 << 0 ) ; }
public int stem ( char s [ ] , int len ) { len = removeCase ( s , len ) ; len = removePossessives ( s , len ) ; if ( len > 0 ) { len = normalize ( s , len ) ; } return len ; }
public virtual int Stem ( char [ ] s , int len ) { len = RemoveCase ( s , len ) ; len = RemovePossessives ( s , len ) ; if ( len > 0 ) { len = Normalize ( s , len ) ; } return len ; }
public static int getNearestSetSize ( int maxNumberOfBits ) { int result = usableBitSetSizes [ 0 ] ; for ( int i = 0 ; i < usableBitSetSizes . length ; i ++ ) { if ( usableBitSetSizes [ i ] <= maxNumberOfBits ) { result = usableBitSetSizes [ i ] ; } } return result ; }
public static int GetNearestSetSize ( int maxNumberOfBits ) { var result = _usableBitSetSizes [ 0 ] ; foreach ( var t in _usableBitSetSizes . Where ( t = > t <= maxNumberOfBits ) ) { result = t ; } return result ; }
public String toString ( ) { return "AbbreviatedObjectId[" + name ( ) + "]" ; }
public override string ToString ( ) { return "AbbreviatedObjectId[" + Name + "]" ; }
public ListFacesRequest ( ) { super ( "CloudPhoto" , "2017-07-11" , "ListFaces" , "cloudphoto" ) ; setProtocol ( ProtocolType . HTTPS ) ; }
public ListFacesRequest ( ) : base ( "CloudPhoto" , "2017-07-11" , "ListFaces" , "cloudphoto" , "openAPI" ) { Protocol = ProtocolType . HTTPS ; }
public BytesRef ( int capacity ) { this . bytes = new byte [ capacity ] ; }
public BytesRef ( int capacity ) { this . bytes = new byte [ capacity ] ; }
public DescribeFargateProfileResult describeFargateProfile ( DescribeFargateProfileRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeFargateProfile ( request ) ; }
public virtual DescribeFargateProfileResponse DescribeFargateProfile ( DescribeFargateProfileRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeFargateProfileRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeFargateProfileResponseUnmarshaller . Instance ; return Invoke < DescribeFargateProfileResponse > ( request , options ) ; }
public GetOpenIdTokenForDeveloperIdentityResult getOpenIdTokenForDeveloperIdentity ( GetOpenIdTokenForDeveloperIdentityRequest request ) { request = beforeClientExecution ( request ) ; return executeGetOpenIdTokenForDeveloperIdentity ( request ) ; }
public virtual GetOpenIdTokenForDeveloperIdentityResponse GetOpenIdTokenForDeveloperIdentity ( GetOpenIdTokenForDeveloperIdentityRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetOpenIdTokenForDeveloperIdentityRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetOpenIdTokenForDeveloperIdentityResponseUnmarshaller . Instance ; return Invoke < GetOpenIdTokenForDeveloperIdentityResponse > ( request , options ) ; }
public int countBytesWritten ( ) { return _countBytesWritten ; }
public int CountBytesWritten ( ) { return _countBytesWritten ; }
public boolean containsAll ( final IntList c ) { boolean rval = true ; if ( this != c ) { for ( int j = 0 ; rval && ( j < c . _limit ) ; j ++ ) { if ( ! contains ( c . _array [ j ] ) ) { rval = false ; } } } return rval ; }
public bool ContainsAll ( IntList c ) { bool rval = true ; if ( this != c ) { for ( int j = 0 ; rval && ( j < c . _limit ) ; j ++ ) { if ( ! Contains ( c . _array [ j ] ) ) { rval = false ; } } } return rval ; }
public void setTreeFilter ( TreeFilter newFilter ) { assertNotStarted ( ) ; treeFilter = newFilter != null ? newFilter : TreeFilter . ALL ; }
public virtual void SetTreeFilter ( TreeFilter newFilter ) { AssertNotStarted ( ) ; treeFilter = newFilter != null ? newFilter : TreeFilter . ALL ; }
public DBInstance promoteReadReplica ( PromoteReadReplicaRequest request ) { request = beforeClientExecution ( request ) ; return executePromoteReadReplica ( request ) ; }
public virtual PromoteReadReplicaResponse PromoteReadReplica ( PromoteReadReplicaRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PromoteReadReplicaRequestMarshaller . Instance ; options . ResponseUnmarshaller = PromoteReadReplicaResponseUnmarshaller . Instance ; return Invoke < PromoteReadReplicaResponse > ( request , options ) ; }
public final short getShort ( ) { int newPosition = position + SizeOf . SHORT ; if ( newPosition > limit ) { throw new BufferUnderflowException ( ) ; } short result = Memory . peekShort ( backingArray , offset + position , order ) ; position = newPosition ; return result ; }
public sealed override short getShort ( ) { int newPosition = _position + libcore . io . SizeOf . SHORT ; if ( newPosition > _limit ) { throw new java . nio . BufferUnderflowException ( ) ; } short result = libcore . io . Memory . peekShort ( backingArray , offset + _position , _order ) ; _position = newPosition ; return result ; }
public AttachClassicLinkVpcResult attachClassicLinkVpc ( AttachClassicLinkVpcRequest request ) { request = beforeClientExecution ( request ) ; return executeAttachClassicLinkVpc ( request ) ; }
public virtual AttachClassicLinkVpcResponse AttachClassicLinkVpc ( AttachClassicLinkVpcRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AttachClassicLinkVpcRequestMarshaller . Instance ; options . ResponseUnmarshaller = AttachClassicLinkVpcResponseUnmarshaller . Instance ; return Invoke < AttachClassicLinkVpcResponse > ( request , options ) ; }
public static < T > T [ ] grow ( T [ ] array , int minSize ) { assert minSize >= 0 : "size must be positive (got " + minSize + "): likely integer overflow?" ; if ( array . length < minSize ) { final int newLength = oversize ( minSize , RamUsageEstimator . NUM_BYTES_OBJECT_REF ) ; return growExact ( array , newLength ) ; } else return array ; }
public static int [ ] Grow ( int [ ] array , int minSize ) { Debug . Assert ( minSize >= 0 , "size must be positive (got " + minSize + "): likely integer overflow?" ) ; if ( array . Length < minSize ) { int [ ] newArray = new int [ Oversize ( minSize , RamUsageEstimator . NUM_BYTES_INT32 ) ] ; Array . Copy ( array , 0 , newArray , 0 , array . Length ) ; return newArray ; } else { return array ; } }
public ByteArrayDataOutput ( ) { reset ( BytesRef . EMPTY_BYTES ) ; }
public ByteArrayDataOutput ( ) { Reset ( BytesRef . EMPTY_BYTES ) ; }
public void balance ( ) { int i = 0 , n = length ; String [ ] k = new String [ n ] ; char [ ] v = new char [ n ] ; Iterator iter = new Iterator ( ) ; while ( iter . hasMoreElements ( ) ) { v [ i ] = iter . getValue ( ) ; k [ i ++ ] = iter . nextElement ( ) ; } init ( ) ; insertBalanced ( k , v , 0 , n ) ; }
public virtual void Balance ( ) { int i = 0 , n = m_length ; string [ ] k = new string [ n ] ; char [ ] v = new char [ n ] ; Iterator iter = new Iterator ( this ) ; while ( iter . MoveNext ( ) ) { v [ i ] = iter . Value ; k [ i ++ ] = iter . Current ; } Init ( ) ; InsertBalanced ( k , v , 0 , n ) ; }
public MultiPhraseQueryNode ( ) { setLeaf ( false ) ; allocate ( ) ; }
public MultiPhraseQueryNode ( ) { IsLeaf = false ; Allocate ( ) ; }
public PublishRequest ( String topicArn , String message , String subject ) { setTopicArn ( topicArn ) ; setMessage ( message ) ; setSubject ( subject ) ; }
public PublishRequest ( string topicArn , string message , string subject ) { _topicArn = topicArn ; _message = message ; _subject = subject ; }
public SendCommandResult sendCommand ( SendCommandRequest request ) { request = beforeClientExecution ( request ) ; return executeSendCommand ( request ) ; }
public virtual SendCommandResponse SendCommand ( SendCommandRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SendCommandRequestMarshaller . Instance ; options . ResponseUnmarshaller = SendCommandResponseUnmarshaller . Instance ; return Invoke < SendCommandResponse > ( request , options ) ; }
public ListDeploymentInstancesResult listDeploymentInstances ( ListDeploymentInstancesRequest request ) { request = beforeClientExecution ( request ) ; return executeListDeploymentInstances ( request ) ; }
public virtual ListDeploymentInstancesResponse ListDeploymentInstances ( ListDeploymentInstancesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListDeploymentInstancesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListDeploymentInstancesResponseUnmarshaller . Instance ; return Invoke < ListDeploymentInstancesResponse > ( request , options ) ; }
public Iterator < E > iterator ( ) { return delegate ( ) . iterator ( ) ; }
public virtual java . util . Iterator < E > iterator ( ) { lock ( mutex ) { return c . iterator ( ) ; } }
public ProvisionedThroughput ( Long readCapacityUnits , Long writeCapacityUnits ) { setReadCapacityUnits ( readCapacityUnits ) ; setWriteCapacityUnits ( writeCapacityUnits ) ; }
public ProvisionedThroughput ( long readCapacityUnits , long writeCapacityUnits ) { _readCapacityUnits = readCapacityUnits ; _writeCapacityUnits = writeCapacityUnits ; }
public DescribeTagsResult describeTags ( ) { return describeTags ( new DescribeTagsRequest ( ) ) ; }
public virtual DescribeTagsResponse DescribeTags ( ) { return DescribeTags ( new DescribeTagsRequest ( ) ) ; }
public DeprovisionByoipCidrResult deprovisionByoipCidr ( DeprovisionByoipCidrRequest request ) { request = beforeClientExecution ( request ) ; return executeDeprovisionByoipCidr ( request ) ; }
public virtual DeprovisionByoipCidrResponse DeprovisionByoipCidr ( DeprovisionByoipCidrRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeprovisionByoipCidrRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeprovisionByoipCidrResponseUnmarshaller . Instance ; return Invoke < DeprovisionByoipCidrResponse > ( request , options ) ; }
public boolean isDone ( TreeWalk walker ) { return pathRaw . length == walker . getPathLength ( ) ; }
public virtual bool IsDone ( TreeWalk walker ) { return pathRaw . Length == walker . GetPathLength ( ) ; }
public String buildExtensionField ( String extensionKey , String field ) { StringBuilder builder = new StringBuilder ( field ) ; builder . append ( this . extensionFieldDelimiter ) ; builder . append ( extensionKey ) ; return escapeExtensionField ( builder . toString ( ) ) ; }
public virtual string BuildExtensionField ( string extensionKey , string field ) { StringBuilder builder = new StringBuilder ( field ) ; builder . Append ( this . extensionFieldDelimiter ) ; builder . Append ( extensionKey ) ; return EscapeExtensionField ( builder . ToString ( ) ) ; }
public void reset ( byte [ ] bytes , int offset , int len ) { this . bytes = bytes ; pos = offset ; limit = offset + len ; }
public virtual void Reset ( byte [ ] bytes , int offset , int len ) { this . bytes = bytes ; pos = offset ; limit = offset + len ; }
public boolean equals ( Object obj ) { if ( ! ( obj instanceof Loc ) ) { return false ; } Loc other = ( Loc ) obj ; return _bookSheetColumn == other . _bookSheetColumn && _rowIndex == other . _rowIndex ; }
public override bool Equals ( Object obj ) { Loc other = ( Loc ) obj ; return _bookSheetColumn == other . _bookSheetColumn && _rowIndex == other . _rowIndex ; }
public DeleteDeploymentConfigResult deleteDeploymentConfig ( DeleteDeploymentConfigRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteDeploymentConfig ( request ) ; }
public virtual DeleteDeploymentConfigResponse DeleteDeploymentConfig ( DeleteDeploymentConfigRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteDeploymentConfigRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteDeploymentConfigResponseUnmarshaller . Instance ; return Invoke < DeleteDeploymentConfigResponse > ( request , options ) ; }
public StartQueryExecutionResult startQueryExecution ( StartQueryExecutionRequest request ) { request = beforeClientExecution ( request ) ; return executeStartQueryExecution ( request ) ; }
public virtual StartQueryExecutionResponse StartQueryExecution ( StartQueryExecutionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartQueryExecutionRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartQueryExecutionResponseUnmarshaller . Instance ; return Invoke < StartQueryExecutionResponse > ( request , options ) ; }
public GetRepoListRequest ( ) { super ( "cr" , "2016-06-07" , "GetRepoList" , "cr" ) ; setUriPattern ( "/repos" ) ; setMethod ( MethodType . GET ) ; }
public GetRepoListRequest ( ) : base ( "cr" , "2016-06-07" , "GetRepoList" , "cr" , "openAPI" ) { UriPattern = "/repos" ; Method = MethodType . GET ; }
public CreateDistributionResult createDistribution ( CreateDistributionRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateDistribution ( request ) ; }
public virtual CreateDistributionResponse CreateDistribution ( CreateDistributionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateDistributionRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateDistributionResponseUnmarshaller . Instance ; return Invoke < CreateDistributionResponse > ( request , options ) ; }