question stringlengths 33 1.59k | target stringlengths 33 1.58k |
|---|---|
public String getAccessKeyId ( ) { return accessKeyId ; } | public string GetAccessKeyId ( ) { return AccessKeyId ; } |
public PutLifecycleHookResult putLifecycleHook ( PutLifecycleHookRequest request ) { request = beforeClientExecution ( request ) ; return executePutLifecycleHook ( request ) ; } | public virtual PutLifecycleHookResponse PutLifecycleHook ( PutLifecycleHookRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutLifecycleHookRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutLifecycleHookResponseUnmarshaller . Instance ; return Invoke < PutLifecycleHookResponse > ( request , options ) ; } |
public String toString ( ) { return "[GRIDSET]\n" + " .gridset = " + getGridset ( ) + "\n" + "[/GRIDSET]\n" ; } | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[GRIDSET]\n" ) ; buffer . Append ( " .gridset = " ) . Append ( Gridset ) . Append ( "\n" ) ; buffer . Append ( "[/GRIDSET]\n" ) ; return buffer . ToString ( ) ; } |
public static int idealLongArraySize ( int need ) { return idealByteArraySize ( need * 8 ) / 8 ; } | public static int idealLongArraySize ( int need ) { return idealByteArraySize ( need * 8 ) / 8 ; } |
public int size ( ) { return mSize ; } | public virtual int size ( ) { return mSize ; } |
public String toString ( ) { String biffName = getBiffName ( _sid ) ; if ( biffName == null ) { biffName = "UNKNOWNRECORD" ; } StringBuilder sb = new StringBuilder ( ) ; sb . append ( '[' ) . append ( biffName ) . append ( "] (0x" ) ; sb . append ( Integer . toHexString ( _sid ) . toUpperCase ( Locale . ROOT ) ) . append ( ")\n" ) ; if ( _rawData . length > 0 ) { sb . append ( " rawData=" ) . append ( HexDump . toHex ( _rawData ) ) . append ( "\n" ) ; } sb . append ( "[/" ) . append ( biffName ) . append ( "]\n" ) ; return sb . toString ( ) ; } | public override String ToString ( ) { String biffName = GetBiffName ( _sid ) ; if ( biffName == null ) { biffName = "UNKNOWNRECORD" ; } StringBuilder sb = new StringBuilder ( ) ; sb . Append ( "[" ) . Append ( biffName ) . Append ( "] (0x" ) ; sb . Append ( StringUtil . ToHexString ( _sid ) . ToUpper ( ) + ")\n" ) ; if ( _rawData . Length > 0 ) { sb . Append ( " rawData=" ) . Append ( HexDump . ToHex ( _rawData ) ) . Append ( "\n" ) ; } sb . Append ( "[/" ) . Append ( biffName ) . Append ( "]\n" ) ; return sb . ToString ( ) ; } |
public int nextPosition ( ) throws IOException { if ( doc != 0 ) { throw new IllegalStateException ( ) ; } else if ( i >= termFreq - 1 ) { throw new IllegalStateException ( "Read past last position" ) ; } ++ i ; if ( payloadIndex != null ) { payload . offset = basePayloadOffset + payloadIndex [ positionIndex + i ] ; payload . length = payloadIndex [ positionIndex + i + 1 ] - payloadIndex [ positionIndex + i ] ; } if ( positions == null ) { return - 1 ; } else { return positions [ positionIndex + i ] ; } } | public override int NextPosition ( ) { if ( doc != 0 ) { throw new Exception ( ) ; } else if ( i >= termFreq - 1 ) { throw new Exception ( "Read past last position" ) ; } ++ i ; if ( payloadIndex != null ) { payload . Offset = basePayloadOffset + payloadIndex [ positionIndex + i ] ; payload . Length = payloadIndex [ positionIndex + i + 1 ] - payloadIndex [ positionIndex + i ] ; } if ( positions == null ) { return - 1 ; } else { return positions [ positionIndex + i ] ; } } |
public MergeDeveloperIdentitiesResult mergeDeveloperIdentities ( MergeDeveloperIdentitiesRequest request ) { request = beforeClientExecution ( request ) ; return executeMergeDeveloperIdentities ( request ) ; } | public virtual MergeDeveloperIdentitiesResponse MergeDeveloperIdentities ( MergeDeveloperIdentitiesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = MergeDeveloperIdentitiesRequestMarshaller . Instance ; options . ResponseUnmarshaller = MergeDeveloperIdentitiesResponseUnmarshaller . Instance ; return Invoke < MergeDeveloperIdentitiesResponse > ( request , options ) ; } |
public CreateUserRequest ( String userName ) { setUserName ( userName ) ; } | public CreateUserRequest ( string userName ) { _userName = userName ; } |
public ReplaceNetworkAclEntryResult replaceNetworkAclEntry ( ReplaceNetworkAclEntryRequest request ) { request = beforeClientExecution ( request ) ; return executeReplaceNetworkAclEntry ( request ) ; } | public virtual ReplaceNetworkAclEntryResponse ReplaceNetworkAclEntry ( ReplaceNetworkAclEntryRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ReplaceNetworkAclEntryRequestMarshaller . Instance ; options . ResponseUnmarshaller = ReplaceNetworkAclEntryResponseUnmarshaller . Instance ; return Invoke < ReplaceNetworkAclEntryResponse > ( request , options ) ; } |
public boolean isFastForward ( ) { return fastForward ; } | public virtual bool IsFastForward ( ) { return fastForward ; } |
public List < Integer > getLLDecisions ( ) { DecisionInfo [ ] decisions = atnSimulator . getDecisionInfo ( ) ; List < Integer > LL = new ArrayList < Integer > ( ) ; for ( int i = 0 ; i < decisions . length ; i ++ ) { long fallBack = decisions [ i ] . LL_Fallback ; if ( fallBack > 0 ) LL . add ( i ) ; } return LL ; } | public List < int > getLLDecisions ( ) { DecisionInfo [ ] decisions = atnSimulator . getDecisionInfo ( ) ; List < int > LL = new List < int > ( ) ; for ( int i = 0 ; i < decisions . Length ; i ++ ) { long fallBack = decisions [ i ] . LL_Fallback ; if ( fallBack > 0 ) LL . Add ( i ) ; } return LL ; } |
public UpdateModelResult updateModel ( UpdateModelRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateModel ( request ) ; } | public virtual UpdateModelResponse UpdateModel ( UpdateModelRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateModelRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateModelResponseUnmarshaller . Instance ; return Invoke < UpdateModelResponse > ( request , options ) ; } |
public int getEndIndex ( ) { return end ; } | public int getEndIndex ( ) { return end ; } |
public DeleteVPCAssociationAuthorizationResult deleteVPCAssociationAuthorization ( DeleteVPCAssociationAuthorizationRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteVPCAssociationAuthorization ( request ) ; } | public virtual DeleteVPCAssociationAuthorizationResponse DeleteVPCAssociationAuthorization ( DeleteVPCAssociationAuthorizationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteVPCAssociationAuthorizationRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteVPCAssociationAuthorizationResponseUnmarshaller . Instance ; return Invoke < DeleteVPCAssociationAuthorizationResponse > ( request , options ) ; } |
public GetMediaResult getMedia ( GetMediaRequest request ) { request = beforeClientExecution ( request ) ; return executeGetMedia ( request ) ; } | public virtual GetMediaResponse GetMedia ( GetMediaRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetMediaRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetMediaResponseUnmarshaller . Instance ; return Invoke < GetMediaResponse > ( request , options ) ; } |
public DeltaRecord clone ( ) { return copy ( ) ; } | public override Object Clone ( ) { return this ; } |
public TableRestoreStatus restoreTableFromClusterSnapshot ( RestoreTableFromClusterSnapshotRequest request ) { request = beforeClientExecution ( request ) ; return executeRestoreTableFromClusterSnapshot ( request ) ; } | public virtual RestoreTableFromClusterSnapshotResponse RestoreTableFromClusterSnapshot ( RestoreTableFromClusterSnapshotRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RestoreTableFromClusterSnapshotRequestMarshaller . Instance ; options . ResponseUnmarshaller = RestoreTableFromClusterSnapshotResponseUnmarshaller . Instance ; return Invoke < RestoreTableFromClusterSnapshotResponse > ( request , options ) ; } |
public void writeInt ( int v ) { int b3 = ( v > > > 24 ) & 0xFF ; int b2 = ( v > > > 16 ) & 0xFF ; int b1 = ( v > > > 8 ) & 0xFF ; int b0 = ( v ) & 0xFF ; try { out . write ( b0 ) ; out . write ( b1 ) ; out . write ( b2 ) ; out . write ( b3 ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } } | public void WriteInt ( int v ) { int b3 = ( v > > 24 ) & 0xFF ; int b2 = ( v > > 16 ) & 0xFF ; int b1 = ( v > > 8 ) & 0xFF ; int b0 = ( v > > 0 ) & 0xFF ; try { out1 . WriteByte ( ( byte ) b0 ) ; out1 . WriteByte ( ( byte ) b1 ) ; out1 . WriteByte ( ( byte ) b2 ) ; out1 . WriteByte ( ( byte ) b3 ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } } |
public static Query parse ( String [ ] queries , String [ ] fields , Analyzer analyzer ) throws QueryNodeException { if ( queries . length != fields . length ) throw new IllegalArgumentException ( "queries.length != fields.length" ) ; BooleanQuery . Builder bQuery = new BooleanQuery . Builder ( ) ; StandardQueryParser qp = new StandardQueryParser ( ) ; qp . setAnalyzer ( analyzer ) ; for ( int i = 0 ; i < fields . length ; i ++ ) { Query q = qp . parse ( queries [ i ] , fields [ i ] ) ; if ( q != null ) { bQuery . add ( q , BooleanClause . Occur . SHOULD ) ; } } return bQuery . build ( ) ; } | public static Query Parse ( string [ ] queries , string [ ] fields , Analyzer analyzer ) { if ( queries . Length != fields . Length ) throw new ArgumentException ( "queries.length != fields.length" ) ; BooleanQuery bQuery = new BooleanQuery ( ) ; StandardQueryParser qp = new StandardQueryParser ( ) ; qp . Analyzer = analyzer ; for ( int i = 0 ; i < fields . Length ; i ++ ) { Query q = qp . Parse ( queries [ i ] , fields [ i ] ) ; if ( q != null && ( ! ( q is BooleanQuery ) || ( ( BooleanQuery ) q ) . Clauses . Count > 0 ) ) { bQuery . Add ( q , Occur . SHOULD ) ; } } return bQuery ; } |
public UpdateQualificationTypeResult updateQualificationType ( UpdateQualificationTypeRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateQualificationType ( request ) ; } | public virtual UpdateQualificationTypeResponse UpdateQualificationType ( UpdateQualificationTypeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateQualificationTypeRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateQualificationTypeResponseUnmarshaller . Instance ; return Invoke < UpdateQualificationTypeResponse > ( request , options ) ; } |
public void removeTemplate ( ) { remove1stProperty ( PropertyIDMap . PID_TEMPLATE ) ; } | public void RemoveTemplate ( ) { MutableSection s = ( MutableSection ) FirstSection ; s . RemoveProperty ( PropertyIDMap . PID_TEMPLATE ) ; } |
public ValueEval evaluate ( ValueEval [ ] args , int srcRowIndex , int srcColumnIndex ) { int nInnerArgs = args . length - 1 ; if ( nInnerArgs < 1 ) { return ErrorEval . VALUE_INVALID ; } final Function innerFunc ; int functionCode = 0 ; try { ValueEval ve = OperandResolver . getSingleValue ( args [ 0 ] , srcRowIndex , srcColumnIndex ) ; functionCode = OperandResolver . coerceValueToInt ( ve ) ; innerFunc = findFunction ( functionCode ) ; } catch ( EvaluationException e ) { return e . getErrorEval ( ) ; } final List < ValueEval > list = new ArrayList < > ( Arrays . asList ( args ) . subList ( 1 , args . length ) ) ; Iterator < ValueEval > it = list . iterator ( ) ; while ( it . hasNext ( ) ) { ValueEval eval = it . next ( ) ; if ( eval instanceof LazyRefEval ) { LazyRefEval lazyRefEval = ( LazyRefEval ) eval ; if ( lazyRefEval . isSubTotal ( ) ) { it . remove ( ) ; } if ( functionCode > 100 && lazyRefEval . isRowHidden ( ) ) { it . remove ( ) ; } } } return innerFunc . evaluate ( list . toArray ( new ValueEval [ 0 ] ) , srcRowIndex , srcColumnIndex ) ; } | public ValueEval Evaluate ( ValueEval [ ] args , int srcRowIndex , int srcColumnIndex ) { int nInnerArgs = args . Length - 1 ; if ( nInnerArgs < 1 ) { return ErrorEval . VALUE_INVALID ; } Function innerFunc ; try { ValueEval ve = OperandResolver . GetSingleValue ( args [ 0 ] , srcRowIndex , srcColumnIndex ) ; int functionCode = OperandResolver . CoerceValueToInt ( ve ) ; innerFunc = FindFunction ( functionCode ) ; } catch ( EvaluationException e ) { return e . GetErrorEval ( ) ; } ValueEval [ ] innerArgs = new ValueEval [ nInnerArgs ] ; Array . Copy ( args , 1 , innerArgs , 0 , nInnerArgs ) ; return innerFunc . Evaluate ( innerArgs , srcRowIndex , srcColumnIndex ) ; } |
public InstanceGroupConfig ( InstanceRoleType instanceRole , String instanceType , Integer instanceCount ) { setInstanceRole ( instanceRole . toString ( ) ) ; setInstanceType ( instanceType ) ; setInstanceCount ( instanceCount ) ; } | public InstanceGroupConfig ( InstanceRoleType instanceRole , string instanceType , int instanceCount ) { _instanceRole = instanceRole ; _instanceType = instanceType ; _instanceCount = instanceCount ; } |
public LeftMarginRecord ( RecordInputStream in ) { field_1_margin = in . readDouble ( ) ; } | public LeftMarginRecord ( RecordInputStream in1 ) { field_1_margin = in1 . ReadDouble ( ) ; } |
public DescribeTrialComponentResult describeTrialComponent ( DescribeTrialComponentRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeTrialComponent ( request ) ; } | public virtual DescribeTrialComponentResponse DescribeTrialComponent ( DescribeTrialComponentRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeTrialComponentRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeTrialComponentResponseUnmarshaller . Instance ; return Invoke < DescribeTrialComponentResponse > ( request , options ) ; } |
public AssociateSubnetCidrBlockResult associateSubnetCidrBlock ( AssociateSubnetCidrBlockRequest request ) { request = beforeClientExecution ( request ) ; return executeAssociateSubnetCidrBlock ( request ) ; } | public virtual AssociateSubnetCidrBlockResponse AssociateSubnetCidrBlock ( AssociateSubnetCidrBlockRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AssociateSubnetCidrBlockRequestMarshaller . Instance ; options . ResponseUnmarshaller = AssociateSubnetCidrBlockResponseUnmarshaller . Instance ; return Invoke < AssociateSubnetCidrBlockResponse > ( request , options ) ; } |
@ Override public Iterator < E > iterator ( ) { return new MapBasedMultisetIterator ( ) ; } | public override java . util . Iterator < java . util . MapClass . Entry < K , V > > iterator ( ) { return new java . util . Hashtable < K , V > . EntryIterator ( this . _enclosing ) ; } |
public GetQueueAttributesResult getQueueAttributes ( String queueUrl , java . util . List < String > attributeNames ) { return getQueueAttributes ( new GetQueueAttributesRequest ( ) . withQueueUrl ( queueUrl ) . withAttributeNames ( attributeNames ) ) ; } | public virtual GetQueueAttributesResponse GetQueueAttributes ( string queueUrl , List < string > attributeNames ) { var request = new GetQueueAttributesRequest ( ) ; request . QueueUrl = queueUrl ; request . AttributeNames = attributeNames ; return GetQueueAttributes ( request ) ; } |
public final int getBeginA ( ) { return beginA ; } | public int GetBeginA ( ) { return beginA ; } |
public String toString ( ) { return "NoLock" ; } | public override string ToString ( ) { return "NoLock" ; } |
public boolean contains ( Object object ) { return backingMap . containsKey ( object ) ; } | public override bool contains ( object @ object ) { return backingMap . containsKey ( @ object ) ; } |
public String toString ( ) { return "arc=" + fstArc + " state=" + fsaState ; } | public override string ToString ( ) { return "arc=" + arc + " state=" + state ; } |
public void clear ( ) { ArrayList < HSSFShape > copy = new ArrayList < > ( shapes ) ; for ( HSSFShape shape : copy ) { removeShape ( shape ) ; } } | public void Clear ( ) { List < HSSFShape > copy = new List < HSSFShape > ( shapes ) ; foreach ( HSSFShape shape in copy ) { RemoveShape ( shape ) ; } } |
public String toString ( ) { return "PerFieldAnalyzerWrapper(" + fieldAnalyzers + ", default=" + defaultAnalyzer + ")" ; } | public override string ToString ( ) { return "PerFieldAnalyzerWrapper(" + fieldAnalyzers + ", default=" + defaultAnalyzer + ")" ; } |
public int fillFields ( byte [ ] data , int offset , EscherRecordFactory recordFactory ) { int bytesRemaining = readHeader ( data , offset ) ; int available = data . length - ( offset + 8 ) ; if ( bytesRemaining > available ) { bytesRemaining = available ; } if ( isContainerRecord ( ) ) { int bytesWritten = 0 ; thedata = new byte [ 0 ] ; offset += 8 ; bytesWritten += 8 ; while ( bytesRemaining > 0 ) { EscherRecord child = recordFactory . createRecord ( data , offset ) ; int childBytesWritten = child . fillFields ( data , offset , recordFactory ) ; bytesWritten += childBytesWritten ; offset += childBytesWritten ; bytesRemaining -= childBytesWritten ; getChildRecords ( ) . add ( child ) ; } return bytesWritten ; } if ( bytesRemaining < 0 ) { bytesRemaining = 0 ; } thedata = IOUtils . safelyAllocate ( bytesRemaining , MAX_RECORD_LENGTH ) ; System . arraycopy ( data , offset + 8 , thedata , 0 , bytesRemaining ) ; return bytesRemaining + 8 ; } | public override int FillFields ( byte [ ] data , int offset , IEscherRecordFactory recordFactory ) { int bytesRemaining = ReadHeader ( data , offset ) ; int avaliable = data . Length - ( offset + 8 ) ; if ( bytesRemaining > avaliable ) { bytesRemaining = avaliable ; } if ( IsContainerRecord ) { int bytesWritten = 0 ; _thedata = new byte [ 0 ] ; offset += 8 ; bytesWritten += 8 ; while ( bytesRemaining > 0 ) { EscherRecord child = recordFactory . CreateRecord ( data , offset ) ; int childBytesWritten = child . FillFields ( data , offset , recordFactory ) ; bytesWritten += childBytesWritten ; offset += childBytesWritten ; bytesRemaining -= childBytesWritten ; ChildRecords . Add ( child ) ; } return bytesWritten ; } else { _thedata = new byte [ bytesRemaining ] ; Array . Copy ( data , offset + 8 , _thedata , 0 , bytesRemaining ) ; return bytesRemaining + 8 ; } } |
public AssociatePhoneNumberWithUserResult associatePhoneNumberWithUser ( AssociatePhoneNumberWithUserRequest request ) { request = beforeClientExecution ( request ) ; return executeAssociatePhoneNumberWithUser ( request ) ; } | public virtual AssociatePhoneNumberWithUserResponse AssociatePhoneNumberWithUser ( AssociatePhoneNumberWithUserRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AssociatePhoneNumberWithUserRequestMarshaller . Instance ; options . ResponseUnmarshaller = AssociatePhoneNumberWithUserResponseUnmarshaller . Instance ; return Invoke < AssociatePhoneNumberWithUserResponse > ( request , options ) ; } |
public FieldQuery getFieldQuery ( Query query ) { try { return getFieldQuery ( query , null ) ; } catch ( IOException e ) { throw new RuntimeException ( e ) ; } } | public virtual FieldQuery GetFieldQuery ( Query query ) { try { return new FieldQuery ( query , null , phraseHighlight , fieldMatch ) ; } catch ( IOException e ) { throw new Exception ( e . ToString ( ) , e ) ; } } |
public int getXBATEntriesPerBlock ( ) { return getBATEntriesPerBlock ( ) - 1 ; } | public int GetXBATEntriesPerBlock ( ) { return GetBATEntriesPerBlock ( ) - 1 ; } |
public static CellRangeAddress createEnclosingCellRange ( CellRangeAddress crA , CellRangeAddress crB ) { if ( crB == null ) { return crA . copy ( ) ; } int minRow = lt ( crB . getFirstRow ( ) , crA . getFirstRow ( ) ) ? crB . getFirstRow ( ) : crA . getFirstRow ( ) ; int maxRow = gt ( crB . getLastRow ( ) , crA . getLastRow ( ) ) ? crB . getLastRow ( ) : crA . getLastRow ( ) ; int minCol = lt ( crB . getFirstColumn ( ) , crA . getFirstColumn ( ) ) ? crB . getFirstColumn ( ) : crA . getFirstColumn ( ) ; int maxCol = gt ( crB . getLastColumn ( ) , crA . getLastColumn ( ) ) ? crB . getLastColumn ( ) : crA . getLastColumn ( ) ; return new CellRangeAddress ( minRow , maxRow , minCol , maxCol ) ; } | public static CellRangeAddress CreateEnclosingCellRange ( CellRangeAddress crA , CellRangeAddress crB ) { if ( crB == null ) { return crA . Copy ( ) ; } return new CellRangeAddress ( lt ( crB . FirstRow , crA . FirstRow ) ? crB . FirstRow : crA . FirstRow , gt ( crB . LastRow , crA . LastRow ) ? crB . LastRow : crA . LastRow , lt ( crB . FirstColumn , crA . FirstColumn ) ? crB . FirstColumn : crA . FirstColumn , gt ( crB . LastColumn , crA . LastColumn ) ? crB . LastColumn : crA . LastColumn ) ; } |
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 char [ ] Grow ( char [ ] array , int minSize ) { Debug . Assert ( minSize >= 0 , "size must be positive (got " + minSize + "): likely integer overflow?" ) ; if ( array . Length < minSize ) { char [ ] newArray = new char [ Oversize ( minSize , RamUsageEstimator . NUM_BYTES_CHAR ) ] ; Array . Copy ( array , 0 , newArray , 0 , array . Length ) ; return newArray ; } else { return array ; } } |
public void setLineStyleColor ( int red , int green , int blue ) { int lineStyleColor = ( ( blue ) << 16 ) | ( ( green ) << 8 ) | red ; setPropertyValue ( new EscherRGBProperty ( EscherPropertyTypes . LINESTYLE__COLOR , lineStyleColor ) ) ; } | public void SetLineStyleColor ( int red , int green , int blue ) { int lineStyleColor = ( ( blue ) << 16 ) | ( ( green ) << 8 ) | red ; SetPropertyValue ( new EscherRGBProperty ( EscherProperties . LINESTYLE__COLOR , lineStyleColor ) ) ; } |
public CreateFileSystemResult createFileSystem ( CreateFileSystemRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateFileSystem ( request ) ; } | public virtual CreateFileSystemResponse CreateFileSystem ( CreateFileSystemRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateFileSystemRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateFileSystemResponseUnmarshaller . Instance ; return Invoke < CreateFileSystemResponse > ( request , options ) ; } |
public DeleteVaultRequest ( String accountId , String vaultName ) { setAccountId ( accountId ) ; setVaultName ( vaultName ) ; } | public DeleteVaultRequest ( string accountId , string vaultName ) { _accountId = accountId ; _vaultName = vaultName ; } |
public ByteBuffer read ( int length , long position ) { if ( position >= size ) { throw new IndexOutOfBoundsException ( "Unable to read " + length + " bytes from " + position + " in stream of length " + size ) ; } int toRead = ( int ) Math . min ( length , size - position ) ; return ByteBuffer . wrap ( buffer , ( int ) position , toRead ) ; } | public override ByteBuffer Read ( int length , long position ) { if ( position >= size ) { throw new IndexOutOfRangeException ( "Unable to read " + length + " bytes from " + position + " in stream of length " + size ) ; } int toRead = ( int ) Math . Min ( length , size - position ) ; return ByteBuffer . CreateBuffer ( buffer , ( int ) position , toRead ) ; } |
public boolean addPushRefSpec ( RefSpec s ) { if ( push . contains ( s ) ) return false ; return push . add ( s ) ; } | public virtual bool AddPushRefSpec ( RefSpec s ) { if ( push . Contains ( s ) ) { return false ; } return push . AddItem ( s ) ; } |
public ViewBillingResult viewBilling ( ViewBillingRequest request ) { request = beforeClientExecution ( request ) ; return executeViewBilling ( request ) ; } | public virtual ViewBillingResponse ViewBilling ( ViewBillingRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ViewBillingRequestMarshaller . Instance ; options . ResponseUnmarshaller = ViewBillingResponseUnmarshaller . Instance ; return Invoke < ViewBillingResponse > ( request , options ) ; } |
public final char getChar ( ) { int newPosition = position + SizeOf . CHAR ; if ( newPosition > limit ) { throw new BufferUnderflowException ( ) ; } char result = ( char ) Memory . peekShort ( backingArray , offset + position , order ) ; position = newPosition ; return result ; } | public sealed override char getChar ( ) { int newPosition = _position + libcore . io . SizeOf . CHAR ; if ( newPosition > _limit ) { throw new java . nio . BufferUnderflowException ( ) ; } char result = ( char ) libcore . io . Memory . peekShort ( backingArray , offset + _position , _order ) ; _position = newPosition ; return result ; } |
public SpanQuery getSpanQuery ( Element e ) throws ParserException { String fieldName = DOMUtils . getAttributeWithInheritanceOrFail ( e , "fieldName" ) ; String value = DOMUtils . getNonBlankTextOrFail ( e ) ; List < SpanQuery > clausesList = new ArrayList < > ( ) ; try ( TokenStream ts = analyzer . tokenStream ( fieldName , value ) ) { TermToBytesRefAttribute termAtt = ts . addAttribute ( TermToBytesRefAttribute . class ) ; ts . reset ( ) ; while ( ts . incrementToken ( ) ) { SpanTermQuery stq = new SpanTermQuery ( new Term ( fieldName , BytesRef . deepCopyOf ( termAtt . getBytesRef ( ) ) ) ) ; clausesList . add ( stq ) ; } ts . end ( ) ; SpanOrQuery soq = new SpanOrQuery ( clausesList . toArray ( new SpanQuery [ clausesList . size ( ) ] ) ) ; float boost = DOMUtils . getAttribute ( e , "boost" , 1.0f ) ; return new SpanBoostQuery ( soq , boost ) ; } catch ( IOException ioe ) { throw new ParserException ( "IOException parsing value:" + value ) ; } } | public override SpanQuery GetSpanQuery ( XmlElement e ) { string fieldName = DOMUtils . GetAttributeWithInheritanceOrFail ( e , "fieldName" ) ; string value = DOMUtils . GetNonBlankTextOrFail ( e ) ; List < SpanQuery > clausesList = new List < SpanQuery > ( ) ; TokenStream ts = null ; try { ts = analyzer . GetTokenStream ( fieldName , value ) ; ITermToBytesRefAttribute termAtt = ts . AddAttribute < ITermToBytesRefAttribute > ( ) ; BytesRef bytes = termAtt . BytesRef ; ts . Reset ( ) ; while ( ts . IncrementToken ( ) ) { termAtt . FillBytesRef ( ) ; SpanTermQuery stq = new SpanTermQuery ( new Term ( fieldName , BytesRef . DeepCopyOf ( bytes ) ) ) ; clausesList . Add ( stq ) ; } ts . End ( ) ; SpanOrQuery soq = new SpanOrQuery ( clausesList . ToArray ( ) ) ; soq . Boost = DOMUtils . GetAttribute ( e , "boost" , 1.0f ) ; return soq ; } catch ( IOException ioe ) { throw new ParserException ( "IOException parsing value:" + value ) ; } finally { IOUtils . DisposeWhileHandlingException ( ts ) ; } } |
public UpdateGatewayResult updateGateway ( UpdateGatewayRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateGateway ( request ) ; } | public virtual UpdateGatewayResponse UpdateGateway ( UpdateGatewayRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateGatewayRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateGatewayResponseUnmarshaller . Instance ; return Invoke < UpdateGatewayResponse > ( request , options ) ; } |
public boolean getCachedBooleanValue ( ) { return specialCachedValue . getBooleanValue ( ) ; } | public bool GetCachedBooleanValue ( ) { return specialCachedValue . GetBooleanValue ( ) ; } |
public DeleteIdentityPoolResult deleteIdentityPool ( DeleteIdentityPoolRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteIdentityPool ( request ) ; } | public virtual DeleteIdentityPoolResponse DeleteIdentityPool ( DeleteIdentityPoolRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteIdentityPoolRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteIdentityPoolResponseUnmarshaller . Instance ; return Invoke < DeleteIdentityPoolResponse > ( request , options ) ; } |
public PutSuppressedDestinationResult putSuppressedDestination ( PutSuppressedDestinationRequest request ) { request = beforeClientExecution ( request ) ; return executePutSuppressedDestination ( request ) ; } | public virtual PutSuppressedDestinationResponse PutSuppressedDestination ( PutSuppressedDestinationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutSuppressedDestinationRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutSuppressedDestinationResponseUnmarshaller . Instance ; return Invoke < PutSuppressedDestinationResponse > ( request , options ) ; } |
public PutEventsResult putEvents ( PutEventsRequest request ) { request = beforeClientExecution ( request ) ; return executePutEvents ( request ) ; } | public virtual PutEventsResponse PutEvents ( PutEventsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutEventsRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutEventsResponseUnmarshaller . Instance ; return Invoke < PutEventsResponse > ( request , options ) ; } |
public GetRecommendationsResult getRecommendations ( GetRecommendationsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetRecommendations ( request ) ; } | public virtual GetRecommendationsResponse GetRecommendations ( GetRecommendationsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetRecommendationsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetRecommendationsResponseUnmarshaller . Instance ; return Invoke < GetRecommendationsResponse > ( request , options ) ; } |
public boolean equals ( Object obj ) { if ( this == obj ) return true ; if ( obj instanceof SegmentInfo ) { final SegmentInfo other = ( SegmentInfo ) obj ; return other . dir == dir && other . name . equals ( name ) ; } else { return false ; } } | public override bool Equals ( object obj ) { if ( this == obj ) { return true ; } if ( obj is SegmentInfo ) { SegmentInfo other = ( SegmentInfo ) obj ; return other . Dir == Dir && other . Name . Equals ( Name , StringComparison . Ordinal ) ; } else { return false ; } } |
public HSSFDataFormat createDataFormat ( ) { if ( formatter == null ) { formatter = new HSSFDataFormat ( workbook ) ; } return formatter ; } | public NPOI . SS . UserModel . IDataFormat CreateDataFormat ( ) { if ( formatter == null ) formatter = new HSSFDataFormat ( workbook ) ; return formatter ; } |
public UpdateFaceRequest ( ) { super ( "LinkFace" , "2018-07-20" , "UpdateFace" ) ; setProtocol ( ProtocolType . HTTPS ) ; setMethod ( MethodType . POST ) ; } | public UpdateFaceRequest ( ) : base ( "LinkFace" , "2018-07-20" , "UpdateFace" ) { Protocol = ProtocolType . HTTPS ; Method = MethodType . POST ; } |
public void serialize ( LittleEndianOutput out ) { out . writeDouble ( getMaxChange ( ) ) ; } | public override void Serialize ( ILittleEndianOutput out1 ) { out1 . WriteDouble ( MaxChange ) ; } |
public ModifyVpcEndpointServicePermissionsResult modifyVpcEndpointServicePermissions ( ModifyVpcEndpointServicePermissionsRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyVpcEndpointServicePermissions ( request ) ; } | public virtual ModifyVpcEndpointServicePermissionsResponse ModifyVpcEndpointServicePermissions ( ModifyVpcEndpointServicePermissionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyVpcEndpointServicePermissionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyVpcEndpointServicePermissionsResponseUnmarshaller . Instance ; return Invoke < ModifyVpcEndpointServicePermissionsResponse > ( request , options ) ; } |
public IntervalSet nextTokens ( ATNState s ) { if ( s . nextTokenWithinRule != null ) return s . nextTokenWithinRule ; s . nextTokenWithinRule = nextTokens ( s , null ) ; s . nextTokenWithinRule . setReadonly ( true ) ; return s . nextTokenWithinRule ; } | public virtual IntervalSet NextTokens ( ATNState s ) { if ( s . nextTokenWithinRule != null ) { return s . nextTokenWithinRule ; } s . nextTokenWithinRule = NextTokens ( s , null ) ; s . nextTokenWithinRule . SetReadonly ( true ) ; return s . nextTokenWithinRule ; } |
public GetResourceResult getResource ( GetResourceRequest request ) { request = beforeClientExecution ( request ) ; return executeGetResource ( request ) ; } | public virtual GetResourceResponse GetResource ( GetResourceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetResourceRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetResourceResponseUnmarshaller . Instance ; return Invoke < GetResourceResponse > ( request , options ) ; } |
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[HYPERLINK RECORD]\n" ) ; buffer . append ( " .range = " ) . append ( _range . formatAsString ( ) ) . append ( "\n" ) ; buffer . append ( " .guid = " ) . append ( _guid . toString ( ) ) . append ( "\n" ) ; buffer . append ( " .linkOpts= " ) . append ( HexDump . intToHex ( _linkOpts ) ) . append ( "\n" ) ; buffer . append ( " .label = " ) . append ( getLabel ( ) ) . append ( "\n" ) ; if ( ( _linkOpts & HLINK_TARGET_FRAME ) != 0 ) { buffer . append ( " .targetFrame= " ) . append ( getTargetFrame ( ) ) . append ( "\n" ) ; } if ( ( _linkOpts & HLINK_URL ) != 0 && _moniker != null ) { buffer . append ( " .moniker = " ) . append ( _moniker . toString ( ) ) . append ( "\n" ) ; } if ( ( _linkOpts & HLINK_PLACE ) != 0 ) { buffer . append ( " .textMark= " ) . append ( getTextMark ( ) ) . append ( "\n" ) ; } buffer . append ( " .address = " ) . append ( getAddress ( ) ) . append ( "\n" ) ; buffer . append ( "[/HYPERLINK RECORD]\n" ) ; return buffer . toString ( ) ; } | public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[HYPERLINK RECORD]\n" ) ; buffer . Append ( " .range = " ) . Append ( _range . FormatAsString ( ) ) . Append ( "\n" ) ; buffer . Append ( " .guid = " ) . Append ( _guid . FormatAsString ( ) ) . Append ( "\n" ) ; buffer . Append ( " .linkOpts = " ) . Append ( HexDump . IntToHex ( this . _linkOpts ) ) . Append ( "\n" ) ; buffer . Append ( " .label = " ) . Append ( Label ) . Append ( "\n" ) ; if ( ( _linkOpts & HLINK_TARGET_FRAME ) != 0 ) { buffer . Append ( " .targetFrame= " ) . Append ( TargetFrame ) . Append ( "\n" ) ; } if ( ( _linkOpts & HLINK_URL ) != 0 && _moniker != null ) { buffer . Append ( " .moniker = " ) . Append ( _moniker . FormatAsString ( ) ) . Append ( "\n" ) ; } if ( ( _linkOpts & HLINK_PLACE ) != 0 ) { buffer . Append ( " .targetFrame= " ) . Append ( TextMark ) . Append ( "\n" ) ; } buffer . Append ( " .address = " ) . Append ( Address ) . Append ( "\n" ) ; buffer . Append ( "[/HYPERLINK RECORD]\n" ) ; return buffer . ToString ( ) ; } |
public CreateFacetResult createFacet ( CreateFacetRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateFacet ( request ) ; } | public virtual CreateFacetResponse CreateFacet ( CreateFacetRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateFacetRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateFacetResponseUnmarshaller . Instance ; return Invoke < CreateFacetResponse > ( request , options ) ; } |
@ Override public int indexOf ( Object object ) { final int size ; final Object [ ] array ; synchronized ( mutex ) { size = list . size ( ) ; array = new Object [ size ] ; list . toArray ( array ) ; } if ( object != null ) { for ( int i = 0 ; i < size ; i ++ ) { if ( object . equals ( array [ i ] ) ) { return i ; } } } else { for ( int i = 0 ; i < size ; i ++ ) { if ( array [ i ] == null ) { return i ; } } } return - 1 ; } | public virtual int indexOf ( object @ object ) { int size_1 ; object [ ] array ; lock ( mutex ) { size_1 = list . size ( ) ; array = new object [ size_1 ] ; list . toArray ( array ) ; } if ( @ object != null ) { { for ( int i = 0 ; i < size_1 ; i ++ ) { if ( @ object . Equals ( array [ i ] ) ) { return i ; } } } } else { { for ( int i = 0 ; i < size_1 ; i ++ ) { if ( array [ i ] == null ) { return i ; } } } } return - 1 ; } |
public static PrintOrientation valueOf ( int value ) { return _table [ value ] ; } | public static PrintOrientation ValueOf ( int value ) { return _table [ value ] ; } |
public DefineExpressionResult defineExpression ( DefineExpressionRequest request ) { request = beforeClientExecution ( request ) ; return executeDefineExpression ( request ) ; } | public virtual DefineExpressionResponse DefineExpression ( DefineExpressionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DefineExpressionRequestMarshaller . Instance ; options . ResponseUnmarshaller = DefineExpressionResponseUnmarshaller . Instance ; return Invoke < DefineExpressionResponse > ( request , options ) ; } |
public long getLastModified ( ) { return attributes . getLastModifiedInstant ( ) . toEpochMilli ( ) ; } | public override long GetLastModified ( ) { if ( lastModified == 0 ) { lastModified = file . LastModified ( ) ; } return lastModified ; } |
public void close ( ) { buffer = null ; size = - 1 ; } | public override void Close ( ) { buffer = null ; size = - 1 ; } |
public StartEntitiesDetectionJobResult startEntitiesDetectionJob ( StartEntitiesDetectionJobRequest request ) { request = beforeClientExecution ( request ) ; return executeStartEntitiesDetectionJob ( request ) ; } | public virtual StartEntitiesDetectionJobResponse StartEntitiesDetectionJob ( StartEntitiesDetectionJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartEntitiesDetectionJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartEntitiesDetectionJobResponseUnmarshaller . Instance ; return Invoke < StartEntitiesDetectionJobResponse > ( request , options ) ; } |
public boolean processMatch ( ValueEval eval ) { if ( result == null ) { result = eval ; } else { if ( result instanceof BlankEval ) { result = eval ; } else { if ( ! ( eval instanceof BlankEval ) ) { result = ErrorEval . NUM_ERROR ; return false ; } } } return true ; } | public bool ProcessMatch ( ValueEval eval ) { if ( result == null ) { result = eval ; } else { result = ErrorEval . NUM_ERROR ; return false ; } return true ; } |
public TokenTagToken ( String tokenName , int type , String label ) { super ( type ) ; this . tokenName = tokenName ; this . label = label ; } | public TokenTagToken ( string tokenName , int type , string label ) : base ( type ) { this . tokenName = tokenName ; this . label = label ; } |
public void reset ( boolean zeroFillBuffers , boolean reuseFirst ) { if ( bufferUpto != - 1 ) { if ( zeroFillBuffers ) { for ( int i = 0 ; i < bufferUpto ; i ++ ) { Arrays . fill ( buffers [ i ] , ( byte ) 0 ) ; } Arrays . fill ( buffers [ bufferUpto ] , 0 , byteUpto , ( byte ) 0 ) ; } if ( bufferUpto > 0 || ! reuseFirst ) { final int offset = reuseFirst ? 1 : 0 ; allocator . recycleByteBlocks ( buffers , offset , 1 + bufferUpto ) ; Arrays . fill ( buffers , offset , 1 + bufferUpto , null ) ; } if ( reuseFirst ) { bufferUpto = 0 ; byteUpto = 0 ; byteOffset = 0 ; buffer = buffers [ 0 ] ; } else { bufferUpto = - 1 ; byteUpto = BYTE_BLOCK_SIZE ; byteOffset = - BYTE_BLOCK_SIZE ; buffer = null ; } } } | public void Reset ( bool zeroFillBuffers , bool reuseFirst ) { if ( bufferUpto != - 1 ) { if ( zeroFillBuffers ) { for ( int i = 0 ; i < bufferUpto ; i ++ ) { Arrays . Fill ( buffers [ i ] , ( byte ) 0 ) ; } Arrays . Fill ( buffers [ bufferUpto ] , 0 , ByteUpto , ( byte ) 0 ) ; } if ( bufferUpto > 0 || ! reuseFirst ) { int offset = reuseFirst ? 1 : 0 ; allocator . RecycleByteBlocks ( buffers , offset , 1 + bufferUpto ) ; Arrays . Fill ( buffers , offset , 1 + bufferUpto , null ) ; } if ( reuseFirst ) { bufferUpto = 0 ; ByteUpto = 0 ; ByteOffset = 0 ; buffer = buffers [ 0 ] ; } else { bufferUpto = - 1 ; ByteUpto = BYTE_BLOCK_SIZE ; ByteOffset = - BYTE_BLOCK_SIZE ; buffer = null ; } } } |
public UpdateExpirationForHITResult updateExpirationForHIT ( UpdateExpirationForHITRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateExpirationForHIT ( request ) ; } | public virtual UpdateExpirationForHITResponse UpdateExpirationForHIT ( UpdateExpirationForHITRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateExpirationForHITRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateExpirationForHITResponseUnmarshaller . Instance ; return Invoke < UpdateExpirationForHITResponse > ( request , options ) ; } |
public Policy ( String id ) { this . id = id ; } | public Policy ( string id ) { this . id = id ; } |
public UpdateApplicationVersionRequest ( String applicationName , String versionLabel ) { setApplicationName ( applicationName ) ; setVersionLabel ( versionLabel ) ; } | public UpdateApplicationVersionRequest ( string applicationName , string versionLabel ) { _applicationName = applicationName ; _versionLabel = versionLabel ; } |
public String getEmailAddress ( ) { final int lt = RawParseUtils . nextLF ( buffer , valStart , '<' ) ; if ( valEnd <= lt ) { final int at = RawParseUtils . nextLF ( buffer , valStart , '@' ) ; if ( valStart < at && at < valEnd ) return getValue ( ) ; return null ; } final int gt = RawParseUtils . nextLF ( buffer , lt , '>' ) ; if ( valEnd < gt ) return null ; return RawParseUtils . decode ( enc , buffer , lt , gt - 1 ) ; } | public string GetEmailAddress ( ) { int lt = RawParseUtils . NextLF ( buffer , valStart , '<' ) ; if ( valEnd <= lt ) { int at = RawParseUtils . NextLF ( buffer , valStart , '@' ) ; if ( valStart < at && at < valEnd ) { return GetValue ( ) ; } return null ; } int gt = RawParseUtils . NextLF ( buffer , lt , '>' ) ; if ( valEnd < gt ) { return null ; } return RawParseUtils . Decode ( enc , buffer , lt , gt - 1 ) ; } |
public String simpleFormat ( Object value ) { StringBuffer sb = new StringBuffer ( ) ; simpleValue ( sb , value ) ; return sb . toString ( ) ; } | public String SimpleFormat ( Object value ) { StringBuilder sb = new StringBuilder ( ) ; SimpleValue ( sb , value ) ; return sb . ToString ( ) ; } |
public RevFilter clone ( ) { return new NotRevFilter ( a . clone ( ) ) ; } | public override RevFilter Clone ( ) { return new NGit . Revwalk . Filter . NotRevFilter ( a . Clone ( ) ) ; } |
public static int finish ( int hash , int numberOfWords ) { hash = hash ^ ( numberOfWords * 4 ) ; hash = hash ^ ( hash > > > 16 ) ; hash = hash * 0x85EBCA6B ; hash = hash ^ ( hash > > > 13 ) ; hash = hash * 0xC2B2AE35 ; hash = hash ^ ( hash > > > 16 ) ; return hash ; } | public static int Finish ( int hash , int numberOfWords ) { hash = hash ^ ( numberOfWords * 4 ) ; hash = hash ^ ( ( int ) ( ( ( uint ) hash ) > > 16 ) ) ; hash = hash * unchecked ( ( int ) ( 0x85EBCA6B ) ) ; hash = hash ^ ( ( int ) ( ( ( uint ) hash ) > > 13 ) ) ; hash = hash * unchecked ( ( int ) ( 0xC2B2AE35 ) ) ; hash = hash ^ ( ( int ) ( ( ( uint ) hash ) > > 16 ) ) ; return hash ; } |
public StempelFilter ( TokenStream in , StempelStemmer stemmer , int minLength ) { super ( in ) ; this . stemmer = stemmer ; this . minLength = minLength ; } | public StempelFilter ( TokenStream @ in , StempelStemmer stemmer , int minLength ) : base ( @ in ) { this . stemmer = stemmer ; this . minLength = minLength ; this . termAtt = AddAttribute < ICharTermAttribute > ( ) ; this . keywordAtt = AddAttribute < IKeywordAttribute > ( ) ; } |
public GetIntegrationResponseResult getIntegrationResponse ( GetIntegrationResponseRequest request ) { request = beforeClientExecution ( request ) ; return executeGetIntegrationResponse ( request ) ; } | public virtual GetIntegrationResponseResponse GetIntegrationResponse ( GetIntegrationResponseRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetIntegrationResponseRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetIntegrationResponseResponseUnmarshaller . Instance ; return Invoke < GetIntegrationResponseResponse > ( request , options ) ; } |
public PostToConnectionResult postToConnection ( PostToConnectionRequest request ) { request = beforeClientExecution ( request ) ; return executePostToConnection ( request ) ; } | public virtual PostToConnectionResponse PostToConnection ( PostToConnectionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PostToConnectionRequestMarshaller . Instance ; options . ResponseUnmarshaller = PostToConnectionResponseUnmarshaller . Instance ; return Invoke < PostToConnectionResponse > ( request , options ) ; } |
public TermRangeQueryNode ( FieldQueryNode lower , FieldQueryNode upper , boolean lowerInclusive , boolean upperInclusive ) { setBounds ( lower , upper , lowerInclusive , upperInclusive ) ; } | public TermRangeQueryNode ( FieldQueryNode lower , FieldQueryNode upper , bool lowerInclusive , bool upperInclusive ) { SetBounds ( lower , upper , lowerInclusive , upperInclusive ) ; } |
public QueryParser ( CharStream stream ) { token_source = new QueryParserTokenManager ( stream ) ; token = new Token ( ) ; jj_ntk = - 1 ; jj_gen = 0 ; for ( int i = 0 ; i < 10 ; i ++ ) jj_la1 [ i ] = - 1 ; for ( int i = 0 ; i < jj_2_rtns . length ; i ++ ) jj_2_rtns [ i ] = new JJCalls ( ) ; } | protected internal QueryParser ( ICharStream stream ) { TokenSource = new QueryParserTokenManager ( stream ) ; Token = new Token ( ) ; jj_ntk = - 1 ; jj_gen = 0 ; for ( int i = 0 ; i < 21 ; i ++ ) jj_la1 [ i ] = - 1 ; for ( int i = 0 ; i < jj_2_rtns . Length ; i ++ ) jj_2_rtns [ i ] = new JJCalls ( ) ; } |
public CreateSchemaResult createSchema ( CreateSchemaRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateSchema ( request ) ; } | public virtual CreateSchemaResponse CreateSchema ( CreateSchemaRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateSchemaRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateSchemaResponseUnmarshaller . Instance ; return Invoke < CreateSchemaResponse > ( request , options ) ; } |
public V get ( char [ ] text , int off , int len ) { if ( text == null ) throw new NullPointerException ( ) ; return null ; } | public override V Get ( char [ ] text , int offset , int length ) { if ( text == null ) { throw new ArgumentNullException ( "text" ) ; } return default ( V ) ; } |
public List < CharsRef > stem ( String word ) { return stem ( word . toCharArray ( ) , word . length ( ) ) ; } | public IList < CharsRef > Stem ( string word ) { return Stem ( word . ToCharArray ( ) , word . Length ) ; } |
public DeleteSmsTemplateResult deleteSmsTemplate ( DeleteSmsTemplateRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteSmsTemplate ( request ) ; } | public virtual DeleteSmsTemplateResponse DeleteSmsTemplate ( DeleteSmsTemplateRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteSmsTemplateRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteSmsTemplateResponseUnmarshaller . Instance ; return Invoke < DeleteSmsTemplateResponse > ( request , options ) ; } |
public void setPassword ( short pw ) { field_1_password = pw ; } | public void SetPassword ( short pw ) { field_1_password = pw ; } |
public CharBuffer append ( char c ) { return put ( c ) ; } | public virtual java . nio . CharBuffer append ( char c ) { return put ( c ) ; } |
public PutVoiceConnectorLoggingConfigurationResult putVoiceConnectorLoggingConfiguration ( PutVoiceConnectorLoggingConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executePutVoiceConnectorLoggingConfiguration ( request ) ; } | public virtual PutVoiceConnectorLoggingConfigurationResponse PutVoiceConnectorLoggingConfiguration ( PutVoiceConnectorLoggingConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutVoiceConnectorLoggingConfigurationRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutVoiceConnectorLoggingConfigurationResponseUnmarshaller . Instance ; return Invoke < PutVoiceConnectorLoggingConfigurationResponse > ( request , options ) ; } |
public boolean isAbsolute ( ) { return path . length ( ) > 0 && path . charAt ( 0 ) == separatorChar ; } | public bool isAbsolute ( ) { return path . Length > 0 && path [ 0 ] == separatorChar ; } |
public CreateSnapshotRequest ( String volumeId , String description ) { setVolumeId ( volumeId ) ; setDescription ( description ) ; } | public CreateSnapshotRequest ( string volumeId , string description ) { _volumeId = volumeId ; _description = description ; } |
public static ReaderIterator getReaderIteratorNoHeader ( DataInput in , Format format , int version , int valueCount , int bitsPerValue , int mem ) { checkVersion ( version ) ; return new PackedReaderIterator ( format , version , valueCount , bitsPerValue , in , mem ) ; } | public static IReaderIterator GetReaderIteratorNoHeader ( DataInput @ in , Format format , int version , int valueCount , int bitsPerValue , int mem ) { CheckVersion ( version ) ; return new PackedReaderIterator ( format , version , valueCount , bitsPerValue , @ in , mem ) ; } |
public DoubleBuffer put ( int index , double c ) { throw new ReadOnlyBufferException ( ) ; } | public override java . nio . DoubleBuffer put ( int index , double c ) { throw new java . nio . ReadOnlyBufferException ( ) ; } |
public StashDropCommand stashDrop ( ) { return new StashDropCommand ( repo ) ; } | public virtual StashDropCommand StashDrop ( ) { return new StashDropCommand ( repo ) ; } |
public boolean isUnmappable ( ) { return this . type == TYPE_UNMAPPABLE_CHAR ; } | public virtual bool isUnmappable ( ) { return this . type == TYPE_UNMAPPABLE_CHAR ; } |
public byte readByte ( ) { checkPosition ( 1 ) ; return ( byte ) read ( ) ; } | public int ReadByte ( ) { CheckPosition ( 1 ) ; return _buf [ _ReadIndex ++ ] ; } |
public void decode ( long [ ] blocks , int blocksOffset , int [ ] values , int valuesOffset , int iterations ) { if ( bitsPerValue > 32 ) { throw new UnsupportedOperationException ( "Cannot decode " + bitsPerValue + "-bits values into an int[]" ) ; } for ( int i = 0 ; i < iterations ; ++ i ) { final long block = blocks [ blocksOffset ++ ] ; valuesOffset = decode ( block , values , valuesOffset ) ; } } | public override void Decode ( long [ ] blocks , int blocksOffset , int [ ] values , int valuesOffset , int iterations ) { if ( bitsPerValue > 32 ) { throw new System . NotSupportedException ( "Cannot decode " + bitsPerValue + "-bits values into an int[]" ) ; } for ( int i = 0 ; i < iterations ; ++ i ) { long block = blocks [ blocksOffset ++ ] ; valuesOffset = Decode ( block , values , valuesOffset ) ; } } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.