question
stringlengths
33
1.59k
target
stringlengths
33
1.58k
public static BigInteger factorial ( int n ) { if ( n == 0 || n < 0 ) { return BigInteger . ONE ; } if ( cache . containsKey ( n ) ) { return cache . get ( n ) ; } BigInteger result = BigInteger . valueOf ( n ) . multiply ( factorial ( n - 2 ) ) ; cache . put ( n , result ) ; return result ; }
public static BigInteger factorial ( int n ) { if ( n == 0 || n < 0 ) { return BigInteger . One ; } if ( cache . ContainsKey ( n ) ) { return cache [ ( n ) ] ; } BigInteger result = BigInteger . ValueOf ( n ) . Multiply ( factorial ( n - 2 ) ) ; cache . Add ( n , result ) ; return result ; }
public DelimitedPayloadTokenFilter create ( TokenStream input ) { return new DelimitedPayloadTokenFilter ( input , delimiter , encoder ) ; }
public override TokenStream Create ( TokenStream input ) { return new DelimitedPayloadTokenFilter ( input , delimiter , encoder ) ; }
public String toString ( ) { return "NONE" ; }
public override string ToString ( ) { return "NONE" ; }
public GetAlarmsResult getAlarms ( GetAlarmsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetAlarms ( request ) ; }
public virtual GetAlarmsResponse GetAlarms ( GetAlarmsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetAlarmsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetAlarmsResponseUnmarshaller . Instance ; return Invoke < GetAlarmsResponse > ( request , options ) ; }
public DeleteDetectorVersionResult deleteDetectorVersion ( DeleteDetectorVersionRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteDetectorVersion ( request ) ; }
public virtual DeleteDetectorVersionResponse DeleteDetectorVersion ( DeleteDetectorVersionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteDetectorVersionRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteDetectorVersionResponseUnmarshaller . Instance ; return Invoke < DeleteDetectorVersionResponse > ( request , options ) ; }
public ExpandedDouble createExpandedDouble ( ) { return new ExpandedDouble ( _significand , _binaryExponent ) ; }
public ExpandedDouble CreateExpandedDouble ( ) { return new ExpandedDouble ( _significand , _binaryExponent ) ; }
public CharBuffer duplicate ( ) { ByteBuffer bb = byteBuffer . duplicate ( ) . order ( byteBuffer . order ( ) ) ; CharToByteBufferAdapter buf = new CharToByteBufferAdapter ( bb ) ; buf . limit = limit ; buf . position = position ; buf . mark = mark ; return buf ; }
public override java . nio . CharBuffer duplicate ( ) { java . nio . ByteBuffer bb = byteBuffer . duplicate ( ) . order ( byteBuffer . order ( ) ) ; java . nio . CharToByteBufferAdapter buf = new java . nio . CharToByteBufferAdapter ( bb ) ; buf . _limit = _limit ; buf . _position = _position ; buf . _mark = _mark ; return buf ; }
public int size ( ) { return Hashtable . this . size ( ) ; }
public override int size ( ) { return this . _enclosing . _size ; }
public ResetInstanceAttributeRequest ( String instanceId , InstanceAttributeName attribute ) { setInstanceId ( instanceId ) ; setAttribute ( attribute . toString ( ) ) ; }
public ResetInstanceAttributeRequest ( string instanceId , InstanceAttributeName attribute ) { _instanceId = instanceId ; _attribute = attribute ; }
public final List < FooterLine > getFooterLines ( ) { final byte [ ] raw = buffer ; int ptr = raw . length - 1 ; while ( raw [ ptr ] == '\n' ) ptr -- ; final int msgB = RawParseUtils . commitMessage ( raw , 0 ) ; final ArrayList < FooterLine > r = new ArrayList < > ( 4 ) ; final Charset enc = guessEncoding ( ) ; for ( ; ; ) { ptr = RawParseUtils . prevLF ( raw , ptr ) ; if ( ptr <= msgB ) break ; final int keyStart = ptr + 2 ; if ( raw [ keyStart ] == '\n' ) break ; final int keyEnd = RawParseUtils . endOfFooterLineKey ( raw , keyStart ) ; if ( keyEnd < 0 ) continue ; int valStart = keyEnd + 1 ; while ( valStart < raw . length && raw [ valStart ] == ' ' ) valStart ++ ; int valEnd = RawParseUtils . nextLF ( raw , valStart ) ; if ( raw [ valEnd - 1 ] == '\n' ) valEnd -- ; r . add ( new FooterLine ( raw , enc , keyStart , keyEnd , valStart , valEnd ) ) ; } Collections . reverse ( r ) ; return r ; }
public IList < FooterLine > GetFooterLines ( ) { byte [ ] raw = buffer ; int ptr = raw . Length - 1 ; while ( raw [ ptr ] == '\n' ) { ptr -- ; } int msgB = RawParseUtils . CommitMessage ( raw , 0 ) ; AList < FooterLine > r = new AList < FooterLine > ( 4 ) ; System . Text . Encoding enc = Encoding ; for ( ; ; ) { ptr = RawParseUtils . PrevLF ( raw , ptr ) ; if ( ptr <= msgB ) { break ; } int keyStart = ptr + 2 ; if ( raw [ keyStart ] == '\n' ) { break ; } int keyEnd = RawParseUtils . EndOfFooterLineKey ( raw , keyStart ) ; if ( keyEnd < 0 ) { continue ; } int valStart = keyEnd + 1 ; while ( valStart < raw . Length && raw [ valStart ] == ' ' ) { valStart ++ ; } int valEnd = RawParseUtils . NextLF ( raw , valStart ) ; if ( raw [ valEnd - 1 ] == '\n' ) { valEnd -- ; } r . AddItem ( new FooterLine ( raw , enc , keyStart , keyEnd , valStart , valEnd ) ) ; } Sharpen . Collections . Reverse ( r ) ; return r ; }
public SupBookRecord getExternalBookRecord ( ) { return _externalBookRecord ; }
public SupBookRecord GetExternalBookRecord ( ) { return _externalBookRecord ; }
public Builder ( ) { this ( false ) ; }
public Builder ( ) { InitializeInstanceFields ( ) ; }
public ApplySecurityGroupsToLoadBalancerResult applySecurityGroupsToLoadBalancer ( ApplySecurityGroupsToLoadBalancerRequest request ) { request = beforeClientExecution ( request ) ; return executeApplySecurityGroupsToLoadBalancer ( request ) ; }
public virtual ApplySecurityGroupsToLoadBalancerResponse ApplySecurityGroupsToLoadBalancer ( ApplySecurityGroupsToLoadBalancerRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ApplySecurityGroupsToLoadBalancerRequestMarshaller . Instance ; options . ResponseUnmarshaller = ApplySecurityGroupsToLoadBalancerResponseUnmarshaller . Instance ; return Invoke < ApplySecurityGroupsToLoadBalancerResponse > ( request , options ) ; }
public DeleteDedicatedIpPoolResult deleteDedicatedIpPool ( DeleteDedicatedIpPoolRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteDedicatedIpPool ( request ) ; }
public virtual DeleteDedicatedIpPoolResponse DeleteDedicatedIpPool ( DeleteDedicatedIpPoolRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteDedicatedIpPoolRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteDedicatedIpPoolResponseUnmarshaller . Instance ; return Invoke < DeleteDedicatedIpPoolResponse > ( request , options ) ; }
public DescribeStackInstanceResult describeStackInstance ( DescribeStackInstanceRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeStackInstance ( request ) ; }
public virtual DescribeStackInstanceResponse DescribeStackInstance ( DescribeStackInstanceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeStackInstanceRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeStackInstanceResponseUnmarshaller . Instance ; return Invoke < DescribeStackInstanceResponse > ( request , options ) ; }
public HSSFChildAnchor ( EscherChildAnchorRecord escherChildAnchorRecord ) { this . _escherChildAnchor = escherChildAnchorRecord ; }
public HSSFChildAnchor ( EscherChildAnchorRecord escherChildAnchorRecord ) { this . _escherChildAnchor = escherChildAnchorRecord ; }
public SynonymQuery build ( ) { Collections . sort ( terms , Comparator . comparing ( a -> a . term ) ) ; return new SynonymQuery ( terms . toArray ( new TermAndBoost [ 0 ] ) , field ) ; }
public CompositeReaderContext Build ( ) { return ( CompositeReaderContext ) Build ( null , reader , 0 , 0 ) ; }
public void addCell ( int rowIndex , int columnIndex ) { if ( rowIndex > _lastDefinedRow ) return ; if ( _currentRowIndex == - 1 ) { _currentRowIndex = rowIndex ; _firstColumnIndex = columnIndex ; _lastColumnIndex = columnIndex ; } else { if ( _currentRowIndex == rowIndex && _lastColumnIndex + 1 == columnIndex ) { _lastColumnIndex = columnIndex ; } else { if ( _currentRectangleGroup == null ) { _currentRectangleGroup = new BlankCellRectangleGroup ( _currentRowIndex , _firstColumnIndex , _lastColumnIndex ) ; } else { if ( ! _currentRectangleGroup . acceptRow ( _currentRowIndex , _firstColumnIndex , _lastColumnIndex ) ) { _rectangleGroups . add ( _currentRectangleGroup ) ; _currentRectangleGroup = new BlankCellRectangleGroup ( _currentRowIndex , _firstColumnIndex , _lastColumnIndex ) ; } } _currentRowIndex = rowIndex ; _firstColumnIndex = columnIndex ; _lastColumnIndex = columnIndex ; } } }
public void AddCell ( int rowIndex , int columnIndex ) { if ( _currentRowIndex == - 1 ) { _currentRowIndex = rowIndex ; _firstColumnIndex = columnIndex ; _lastColumnIndex = columnIndex ; } else { if ( _currentRowIndex == rowIndex && _lastColumnIndex + 1 == columnIndex ) { _lastColumnIndex = columnIndex ; } else { if ( _currentRectangleGroup == null ) { _currentRectangleGroup = new BlankCellRectangleGroup ( _currentRowIndex , _firstColumnIndex , _lastColumnIndex ) ; } else { if ( ! _currentRectangleGroup . AcceptRow ( _currentRowIndex , _firstColumnIndex , _lastColumnIndex ) ) { _rectangleGroups . Add ( _currentRectangleGroup ) ; _currentRectangleGroup = new BlankCellRectangleGroup ( _currentRowIndex , _firstColumnIndex , _lastColumnIndex ) ; } } _currentRowIndex = rowIndex ; _firstColumnIndex = columnIndex ; _lastColumnIndex = columnIndex ; } } }
public String toString ( ) { return "BLOCK: prefix=" + brToString ( prefix ) ; }
public override string ToString ( ) { return "BLOCK: " + Prefix . Utf8ToString ( ) ; }
public void set ( int index , long value ) { final int o = index / 21 ; final int b = index % 21 ; final int shift = b * 3 ; blocks [ o ] = ( blocks [ o ] & ~ ( 7L << shift ) ) | ( value << shift ) ; }
public override void Set ( int index , long value ) { int o = index / 21 ; int b = index % 21 ; int shift = b * 3 ; blocks [ o ] = ( blocks [ o ] & ~ ( 7L << shift ) ) | ( value << shift ) ; }
@ Override public boolean contains ( Object o ) { if ( ! ( o instanceof Entry ) ) { return false ; } Entry < ? , ? > e = ( Entry < ? , ? > ) o ; Object key = e . getKey ( ) ; if ( key == null ) { return false ; } V v = Impl . this . get ( key ) ; return v != null && strategy . equalValues ( v , e . getValue ( ) ) ; }
public override bool contains ( object o ) { if ( ! ( o is java . util . MapClass . Entry < K , V > ) ) { return false ; } java . util . MapClass . Entry < object , object > e = ( java . util . MapClass . Entry < object , object > ) o ; return this . _enclosing . containsMapping ( e . getKey ( ) , e . getValue ( ) ) ; }
public void clear ( ) { if ( value != null ) { Arrays . fill ( value , ( char ) 0 ) ; value = null ; } }
public override void Clear ( ) { if ( value != null ) { Arrays . Fill ( value , ( char ) 0 ) ; value = null ; } }
public DescribeDirectConnectGatewayAssociationsResult describeDirectConnectGatewayAssociations ( DescribeDirectConnectGatewayAssociationsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeDirectConnectGatewayAssociations ( request ) ; }
public virtual DescribeDirectConnectGatewayAssociationsResponse DescribeDirectConnectGatewayAssociations ( DescribeDirectConnectGatewayAssociationsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeDirectConnectGatewayAssociationsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeDirectConnectGatewayAssociationsResponseUnmarshaller . Instance ; return Invoke < DescribeDirectConnectGatewayAssociationsResponse > ( request , options ) ; }
public GetRestApiResult getRestApi ( GetRestApiRequest request ) { request = beforeClientExecution ( request ) ; return executeGetRestApi ( request ) ; }
public virtual GetRestApiResponse GetRestApi ( GetRestApiRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetRestApiRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetRestApiResponseUnmarshaller . Instance ; return Invoke < GetRestApiResponse > ( request , options ) ; }
public CreateLaunchTemplateVersionResult createLaunchTemplateVersion ( CreateLaunchTemplateVersionRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateLaunchTemplateVersion ( request ) ; }
public virtual CreateLaunchTemplateVersionResponse CreateLaunchTemplateVersion ( CreateLaunchTemplateVersionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateLaunchTemplateVersionRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateLaunchTemplateVersionResponseUnmarshaller . Instance ; return Invoke < CreateLaunchTemplateVersionResponse > ( request , options ) ; }
public SetLoadBalancerPoliciesOfListenerResult setLoadBalancerPoliciesOfListener ( SetLoadBalancerPoliciesOfListenerRequest request ) { request = beforeClientExecution ( request ) ; return executeSetLoadBalancerPoliciesOfListener ( request ) ; }
public virtual SetLoadBalancerPoliciesOfListenerResponse SetLoadBalancerPoliciesOfListener ( SetLoadBalancerPoliciesOfListenerRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SetLoadBalancerPoliciesOfListenerRequestMarshaller . Instance ; options . ResponseUnmarshaller = SetLoadBalancerPoliciesOfListenerResponseUnmarshaller . Instance ; return Invoke < SetLoadBalancerPoliciesOfListenerResponse > ( request , options ) ; }
public SoraniNormalizationFilter ( TokenStream input ) { super ( input ) ; }
public SoraniNormalizationFilter ( TokenStream input ) : base ( input ) { termAtt = AddAttribute < ICharTermAttribute > ( ) ; }
public UpdateTerminationProtectionResult updateTerminationProtection ( UpdateTerminationProtectionRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateTerminationProtection ( request ) ; }
public virtual UpdateTerminationProtectionResponse UpdateTerminationProtection ( UpdateTerminationProtectionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateTerminationProtectionRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateTerminationProtectionResponseUnmarshaller . Instance ; return Invoke < UpdateTerminationProtectionResponse > ( request , options ) ; }
public void addChildRecord ( EscherRecord record ) { _childRecords . add ( record ) ; }
public void AddChildRecord ( EscherRecord record ) { this . _childRecords . Add ( record ) ; }
public SetIdentityMailFromDomainResult setIdentityMailFromDomain ( SetIdentityMailFromDomainRequest request ) { request = beforeClientExecution ( request ) ; return executeSetIdentityMailFromDomain ( request ) ; }
public virtual SetIdentityMailFromDomainResponse SetIdentityMailFromDomain ( SetIdentityMailFromDomainRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SetIdentityMailFromDomainRequestMarshaller . Instance ; options . ResponseUnmarshaller = SetIdentityMailFromDomainResponseUnmarshaller . Instance ; return Invoke < SetIdentityMailFromDomainResponse > ( request , options ) ; }
public E remove ( int location ) { if ( location >= 0 && location < size ) { Link < E > link = voidLink ; if ( location < ( size / 2 ) ) { for ( int i = 0 ; i <= location ; i ++ ) { link = link . next ; } } else { for ( int i = size ; i > location ; i -- ) { link = link . previous ; } } Link < E > previous = link . previous ; Link < E > next = link . next ; previous . next = next ; next . previous = previous ; size -- ; modCount ++ ; return link . data ; } throw new IndexOutOfBoundsException ( ) ; }
public override E remove ( int location ) { if ( location >= 0 && location < _size ) { java . util . LinkedList . Link < E > link = voidLink ; if ( location < ( _size / 2 ) ) { { for ( int i = 0 ; i <= location ; i ++ ) { link = link . next ; } } } else { { for ( int i = _size ; i > location ; i -- ) { link = link . previous ; } } } java . util . LinkedList . Link < E > previous = link . previous ; java . util . LinkedList . Link < E > next = link . next ; previous . next = next ; next . previous = previous ; _size -- ; modCount ++ ; return link . data ; } throw new System . IndexOutOfRangeException ( ) ; }
public UpdateJobResult updateJob ( UpdateJobRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateJob ( request ) ; }
public virtual UpdateJobResponse UpdateJob ( UpdateJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateJobResponseUnmarshaller . Instance ; return Invoke < UpdateJobResponse > ( request , options ) ; }
public AddNoteCommand setNotesRef ( String notesRef ) { checkCallable ( ) ; this . notesRef = notesRef ; return this ; }
public virtual NGit . Api . AddNoteCommand SetNotesRef ( string notesRef ) { CheckCallable ( ) ; this . notesRef = notesRef ; return this ; }
public ListInvitationsResult listInvitations ( ListInvitationsRequest request ) { request = beforeClientExecution ( request ) ; return executeListInvitations ( request ) ; }
public virtual ListInvitationsResponse ListInvitations ( ListInvitationsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListInvitationsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListInvitationsResponseUnmarshaller . Instance ; return Invoke < ListInvitationsResponse > ( request , options ) ; }
public boolean equals ( Object obj ) { if ( ! ( obj instanceof ExtRst ) ) { return false ; } ExtRst other = ( ExtRst ) obj ; return ( compareTo ( other ) == 0 ) ; }
public override bool Equals ( Object obj ) { if ( ! ( obj is ExtRst ) ) { return false ; } ExtRst other = ( ExtRst ) obj ; return ( CompareTo ( other ) == 0 ) ; }
public synchronized void close ( ) throws IOException { buffer = null ; isClosed = true ; notifyAll ( ) ; }
public override void close ( ) { throw new System . NotImplementedException ( ) ; }
public ListTrialsResult listTrials ( ListTrialsRequest request ) { request = beforeClientExecution ( request ) ; return executeListTrials ( request ) ; }
public virtual ListTrialsResponse ListTrials ( ListTrialsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListTrialsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListTrialsResponseUnmarshaller . Instance ; return Invoke < ListTrialsResponse > ( request , options ) ; }
public CreateDocumentClassifierResult createDocumentClassifier ( CreateDocumentClassifierRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateDocumentClassifier ( request ) ; }
public virtual CreateDocumentClassifierResponse CreateDocumentClassifier ( CreateDocumentClassifierRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateDocumentClassifierRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateDocumentClassifierResponseUnmarshaller . Instance ; return Invoke < CreateDocumentClassifierResponse > ( request , options ) ; }
public GetPasswordDataResult getPasswordData ( GetPasswordDataRequest request ) { request = beforeClientExecution ( request ) ; return executeGetPasswordData ( request ) ; }
public virtual GetPasswordDataResponse GetPasswordData ( GetPasswordDataRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetPasswordDataRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetPasswordDataResponseUnmarshaller . Instance ; return Invoke < GetPasswordDataResponse > ( request , options ) ; }
public final String text ( ) { return toString ( bytes ) ; }
public string Text ( ) { return ToString ( Bytes ) ; }
public HSSFPicture ( HSSFShape parent , HSSFAnchor anchor ) { super ( parent , anchor ) ; super . setShapeType ( OBJECT_TYPE_PICTURE ) ; CommonObjectDataSubRecord cod = ( CommonObjectDataSubRecord ) getObjRecord ( ) . getSubRecords ( ) . get ( 0 ) ; cod . setObjectType ( CommonObjectDataSubRecord . OBJECT_TYPE_PICTURE ) ; }
public HSSFPicture ( HSSFShape parent , HSSFAnchor anchor ) : base ( parent , anchor ) { base . ShapeType = ( OBJECT_TYPE_PICTURE ) ; CommonObjectDataSubRecord cod = ( CommonObjectDataSubRecord ) GetObjRecord ( ) . SubRecords [ 0 ] ; cod . ObjectType = CommonObjectType . Picture ; }
public CharSequence subSequence ( int start , int end ) { return new RawCharSequence ( buffer , startPtr + start , startPtr + end ) ; }
public CharSequence SubSequence ( int start , int end ) { return new NGit . Util . RawCharSequence ( buffer , startPtr + start , startPtr + end ) ; }
public DeleteAccessPointResult deleteAccessPoint ( DeleteAccessPointRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteAccessPoint ( request ) ; }
public virtual DeleteAccessPointResponse DeleteAccessPoint ( DeleteAccessPointRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteAccessPointRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteAccessPointResponseUnmarshaller . Instance ; return Invoke < DeleteAccessPointResponse > ( request , options ) ; }
public DescribeSubnetsResult describeSubnets ( ) { return describeSubnets ( new DescribeSubnetsRequest ( ) ) ; }
public virtual DescribeSubnetsResponse DescribeSubnets ( ) { return DescribeSubnets ( new DescribeSubnetsRequest ( ) ) ; }
public AddTagsToOnPremisesInstancesResult addTagsToOnPremisesInstances ( AddTagsToOnPremisesInstancesRequest request ) { request = beforeClientExecution ( request ) ; return executeAddTagsToOnPremisesInstances ( request ) ; }
public virtual AddTagsToOnPremisesInstancesResponse AddTagsToOnPremisesInstances ( AddTagsToOnPremisesInstancesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AddTagsToOnPremisesInstancesRequestMarshaller . Instance ; options . ResponseUnmarshaller = AddTagsToOnPremisesInstancesResponseUnmarshaller . Instance ; return Invoke < AddTagsToOnPremisesInstancesResponse > ( request , options ) ; }
public static String coerceValueToString ( ValueEval ve ) { if ( ve instanceof StringValueEval ) { StringValueEval sve = ( StringValueEval ) ve ; return sve . getStringValue ( ) ; } if ( ve == BlankEval . instance ) { return "" ; } }
public static String CoerceValueToString ( ValueEval ve ) { if ( ve is StringValueEval ) { StringValueEval sve = ( StringValueEval ) ve ; return sve . StringValue ; } if ( ve is BlankEval ) { return "" ; } }
public CreateVpcLinkResult createVpcLink ( CreateVpcLinkRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateVpcLink ( request ) ; }
public virtual CreateVpcLinkResponse CreateVpcLink ( CreateVpcLinkRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateVpcLinkRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateVpcLinkResponseUnmarshaller . Instance ; return Invoke < CreateVpcLinkResponse > ( request , options ) ; }
public DescribeTrafficMirrorTargetsResult describeTrafficMirrorTargets ( DescribeTrafficMirrorTargetsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeTrafficMirrorTargets ( request ) ; }
public virtual DescribeTrafficMirrorTargetsResponse DescribeTrafficMirrorTargets ( DescribeTrafficMirrorTargetsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeTrafficMirrorTargetsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeTrafficMirrorTargetsResponseUnmarshaller . Instance ; return Invoke < DescribeTrafficMirrorTargetsResponse > ( request , options ) ; }
public SetRepositoryPolicyResult setRepositoryPolicy ( SetRepositoryPolicyRequest request ) { request = beforeClientExecution ( request ) ; return executeSetRepositoryPolicy ( request ) ; }
public virtual SetRepositoryPolicyResponse SetRepositoryPolicy ( SetRepositoryPolicyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SetRepositoryPolicyRequestMarshaller . Instance ; options . ResponseUnmarshaller = SetRepositoryPolicyResponseUnmarshaller . Instance ; return Invoke < SetRepositoryPolicyResponse > ( request , options ) ; }
public String toFormulaString ( ) { return "UNKNOWN" ; }
public override String ToFormulaString ( ) { return "UNKNOWN" ; }
public ValueEval evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval arg0 , ValueEval arg1 ) { try { double d0 = NumericFunction . singleOperandEvaluate ( arg0 , srcRowIndex , srcColumnIndex ) ; double d1 = NumericFunction . singleOperandEvaluate ( arg1 , srcRowIndex , srcColumnIndex ) ; return new NumberEval ( evaluate ( d0 , d1 , false ) ) ; } catch ( EvaluationException e ) { return e . getErrorEval ( ) ; } }
public override ValueEval Evaluate ( int srcRowIndex , int srcColumnIndex , ValueEval arg0 , ValueEval arg1 ) { double result ; try { double d0 = NumericFunction . SingleOperandEvaluate ( arg0 , srcRowIndex , srcColumnIndex ) ; double d1 = NumericFunction . SingleOperandEvaluate ( arg1 , srcRowIndex , srcColumnIndex ) ; result = Evaluate ( d0 , d1 ) ; } catch ( EvaluationException e ) { return e . GetErrorEval ( ) ; } return new NumberEval ( result ) ; }
public void set ( int index , long value ) { final int o = index / 5 ; final int b = index % 5 ; final int shift = b * 12 ; blocks [ o ] = ( blocks [ o ] & ~ ( 4095L << shift ) ) | ( value << shift ) ; }
public override void Set ( int index , long value ) { int o = index / 5 ; int b = index % 5 ; int shift = b * 12 ; blocks [ o ] = ( blocks [ o ] & ~ ( 4095L << shift ) ) | ( value << shift ) ; }
public ProtectionRev4Record ( boolean protect ) { this ( 0 ) ; setProtect ( protect ) ; }
public ProtectionRev4Record ( bool protect ) : this ( 0 ) { Protect = protect ; }
public UpdateAuditStreamConfigurationResult updateAuditStreamConfiguration ( UpdateAuditStreamConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateAuditStreamConfiguration ( request ) ; }
public virtual UpdateAuditStreamConfigurationResponse UpdateAuditStreamConfiguration ( UpdateAuditStreamConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateAuditStreamConfigurationRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateAuditStreamConfigurationResponseUnmarshaller . Instance ; return Invoke < UpdateAuditStreamConfigurationResponse > ( request , options ) ; }
public Sheet build ( ) { Sheet sheet = ( sheetName == null ) ? workbook . createSheet ( ) : workbook . createSheet ( sheetName ) ; Row currentRow ; Cell currentCell ; for ( int rowIndex = 0 ; rowIndex < cells . length ; ++ rowIndex ) { Object [ ] rowArray = cells [ rowIndex ] ; currentRow = sheet . createRow ( rowIndex ) ; for ( int cellIndex = 0 ; cellIndex < rowArray . length ; ++ cellIndex ) { Object cellValue = rowArray [ cellIndex ] ; if ( cellValue != null || shouldCreateEmptyCells ) { currentCell = currentRow . createCell ( cellIndex ) ; setCellValue ( currentCell , cellValue ) ; } } } return sheet ; }
public ISheet Build ( ) { ISheet sheet = ( sheetName == null ) ? workbook . CreateSheet ( ) : workbook . CreateSheet ( sheetName ) ; IRow currentRow = null ; ICell currentCell = null ; for ( int rowIndex = 0 ; rowIndex < cells . Length ; ++ rowIndex ) { Object [ ] rowArray = cells [ rowIndex ] ; currentRow = sheet . CreateRow ( rowIndex ) ; for ( int cellIndex = 0 ; cellIndex < rowArray . Length ; ++ cellIndex ) { Object cellValue = rowArray [ cellIndex ] ; if ( cellValue != null || shouldCreateEmptyCells ) { currentCell = currentRow . CreateCell ( cellIndex ) ; SetCellValue ( currentCell , cellValue ) ; } } } return sheet ; }
public CharArrayWriter ( int initialSize ) { if ( initialSize < 0 ) { throw new IllegalArgumentException ( "size < 0" ) ; } buf = new char [ initialSize ] ; lock = buf ; }
public CharArrayWriter ( int initialSize ) { if ( initialSize < 0 ) { throw new System . ArgumentException ( "size < 0" ) ; } buf = new char [ initialSize ] ; @ lock = buf ; }
public AtomicReference ( V initialValue ) { value = initialValue ; }
public AtomicReference ( V initialValue ) { value = initialValue ; }
public static ISignatureComposer getComposer ( ) { if ( null == composer ) { composer = new RpcSignatureComposer ( ) ; } return composer ; }
public static ISignatureComposer GetComposer ( ) { if ( null == composer ) { composer = new RpcSignatureComposer ( ) ; } return composer ; }
public ListHITsForQualificationTypeResult listHITsForQualificationType ( ListHITsForQualificationTypeRequest request ) { request = beforeClientExecution ( request ) ; return executeListHITsForQualificationType ( request ) ; }
public virtual ListHITsForQualificationTypeResponse ListHITsForQualificationType ( ListHITsForQualificationTypeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListHITsForQualificationTypeRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListHITsForQualificationTypeResponseUnmarshaller . Instance ; return Invoke < ListHITsForQualificationTypeResponse > ( request , options ) ; }
public AddTagsToStreamResult addTagsToStream ( AddTagsToStreamRequest request ) { request = beforeClientExecution ( request ) ; return executeAddTagsToStream ( request ) ; }
public virtual AddTagsToStreamResponse AddTagsToStream ( AddTagsToStreamRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AddTagsToStreamRequestMarshaller . Instance ; options . ResponseUnmarshaller = AddTagsToStreamResponseUnmarshaller . Instance ; return Invoke < AddTagsToStreamResponse > ( request , options ) ; }
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; final String nl = System . getProperty ( "line.separator" ) ; buffer . append ( '[' + getRecordName ( ) + ']' + nl ) ; if ( escherRecords . size ( ) == 0 ) buffer . append ( "No Escher Records Decoded" + nl ) ; for ( EscherRecord r : escherRecords ) { buffer . append ( r ) ; } buffer . append ( "[/" + getRecordName ( ) + ']' + nl ) ; return buffer . toString ( ) ; }
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; String nl = Environment . NewLine ; buffer . Append ( '[' + RecordName + ']' + nl ) ; if ( escherRecords . Count == 0 ) buffer . Append ( "No Escher Records Decoded" + nl ) ; foreach ( EscherRecord r in escherRecords ) { buffer . Append ( r . ToString ( ) ) ; } buffer . Append ( "[/" + RecordName + ']' + nl ) ; return buffer . ToString ( ) ; }
public WSBoolRecord ( RecordInputStream in ) { byte [ ] data = in . readRemainder ( ) ; field_1_wsbool = data [ 1 ] ; field_2_wsbool = data [ 0 ] ; }
public WSBoolRecord ( RecordInputStream in1 ) { byte [ ] data = in1 . ReadRemainder ( ) ; field_1_wsbool = data [ 0 ] ; field_2_wsbool = data [ 1 ] ; }
public BrazilianStemFilter create ( TokenStream in ) { return new BrazilianStemFilter ( in ) ; }
public override TokenStream Create ( TokenStream @ in ) { return new BrazilianStemFilter ( @ in ) ; }
public ResetCommand setRef ( String ref ) { this . ref = ref ; return this ; }
public virtual NGit . Api . ResetCommand SetRef ( string @ ref ) { this . @ ref = @ ref ; return this ; }
public EnableOrganizationAdminAccountResult enableOrganizationAdminAccount ( EnableOrganizationAdminAccountRequest request ) { request = beforeClientExecution ( request ) ; return executeEnableOrganizationAdminAccount ( request ) ; }
public virtual EnableOrganizationAdminAccountResponse EnableOrganizationAdminAccount ( EnableOrganizationAdminAccountRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = EnableOrganizationAdminAccountRequestMarshaller . Instance ; options . ResponseUnmarshaller = EnableOrganizationAdminAccountResponseUnmarshaller . Instance ; return Invoke < EnableOrganizationAdminAccountResponse > ( request , options ) ; }
public ValueEval getInnerValueEval ( int sheetIndex ) { return _evaluator . getEvalForCell ( sheetIndex , getRow ( ) , getColumn ( ) ) ; }
public override ValueEval GetInnerValueEval ( int sheetIndex ) { return _evaluator . GetEvalForCell ( sheetIndex , Row , Column ) ; }
public DeleteRecommenderConfigurationResult deleteRecommenderConfiguration ( DeleteRecommenderConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteRecommenderConfiguration ( request ) ; }
public virtual DeleteRecommenderConfigurationResponse DeleteRecommenderConfiguration ( DeleteRecommenderConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteRecommenderConfigurationRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteRecommenderConfigurationResponseUnmarshaller . Instance ; return Invoke < DeleteRecommenderConfigurationResponse > ( request , options ) ; }
public UpdateIntegrationResponseResult updateIntegrationResponse ( UpdateIntegrationResponseRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateIntegrationResponse ( request ) ; }
public virtual UpdateIntegrationResponseResponse UpdateIntegrationResponse ( UpdateIntegrationResponseRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateIntegrationResponseRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateIntegrationResponseResponseUnmarshaller . Instance ; return Invoke < UpdateIntegrationResponseResponse > ( request , options ) ; }
public String toString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "[INTERFACEHDR]\n" ) ; buffer . append ( " .codepage = " ) . append ( HexDump . shortToHex ( _codepage ) ) . append ( "\n" ) ; buffer . append ( "[/INTERFACEHDR]\n" ) ; return buffer . toString ( ) ; }
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[INTERFACEHDR]\n" ) ; buffer . Append ( " .codepage = " ) . Append ( StringUtil . ToHexString ( _codepage ) ) . Append ( "\n" ) ; buffer . Append ( "[/INTERFACEHDR]\n" ) ; return buffer . ToString ( ) ; }
public String outputToString ( BytesRef output ) { return output . toString ( ) ; }
public override string OutputToString ( BytesRef output ) { return output . ToString ( ) ; }
public String toString ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( "dim=" ) ; sb . append ( dim ) ; sb . append ( " path=" ) ; sb . append ( Arrays . toString ( path ) ) ; sb . append ( " value=" ) ; sb . append ( value ) ; sb . append ( " childCount=" ) ; sb . append ( childCount ) ; sb . append ( '\n' ) ; for ( LabelAndValue labelValue : labelValues ) { sb . append ( " " ) . append ( labelValue ) . append ( "\n" ) ; } return sb . toString ( ) ; }
public override string ToString ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . Append ( "dim=" ) ; sb . Append ( Dim ) ; sb . Append ( " path=" ) ; sb . Append ( Arrays . ToString ( Path ) ) ; sb . Append ( " value=" ) ; if ( TypeOfValue == typeof ( int ) ) { sb . AppendFormat ( CultureInfo . InvariantCulture , "{0:0}" , Value ) ; } else { sb . AppendFormat ( CultureInfo . InvariantCulture , "{0:0.0#####}" , Value ) ; } sb . Append ( " childCount=" ) ; sb . Append ( ChildCount ) ; sb . Append ( '\n' ) ; foreach ( LabelAndValue labelValue in LabelValues ) { sb . Append ( " " + labelValue + "\n" ) ; } return sb . ToString ( ) ; }
public AcceptVpcEndpointConnectionsResult acceptVpcEndpointConnections ( AcceptVpcEndpointConnectionsRequest request ) { request = beforeClientExecution ( request ) ; return executeAcceptVpcEndpointConnections ( request ) ; }
public virtual AcceptVpcEndpointConnectionsResponse AcceptVpcEndpointConnections ( AcceptVpcEndpointConnectionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AcceptVpcEndpointConnectionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = AcceptVpcEndpointConnectionsResponseUnmarshaller . Instance ; return Invoke < AcceptVpcEndpointConnectionsResponse > ( request , options ) ; }
public DescribeIdentityProviderConfigurationResult describeIdentityProviderConfiguration ( DescribeIdentityProviderConfigurationRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeIdentityProviderConfiguration ( request ) ; }
public virtual DescribeIdentityProviderConfigurationResponse DescribeIdentityProviderConfiguration ( DescribeIdentityProviderConfigurationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeIdentityProviderConfigurationRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeIdentityProviderConfigurationResponseUnmarshaller . Instance ; return Invoke < DescribeIdentityProviderConfigurationResponse > ( request , options ) ; }
public void clear ( ) { head = null ; free . clear ( ) ; }
public override void Clear ( ) { head = null ; free . Clear ( ) ; }
public String toString ( ) { return getClass ( ) . getSimpleName ( ) + "[" + getFile ( ) . getPath ( ) + "]" ; }
public override string ToString ( ) { return GetType ( ) . Name + "[" + GetFile ( ) . GetPath ( ) + "]" ; }
public GetRelationalDatabaseBlueprintsResult getRelationalDatabaseBlueprints ( GetRelationalDatabaseBlueprintsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetRelationalDatabaseBlueprints ( request ) ; }
public virtual GetRelationalDatabaseBlueprintsResponse GetRelationalDatabaseBlueprints ( GetRelationalDatabaseBlueprintsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetRelationalDatabaseBlueprintsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetRelationalDatabaseBlueprintsResponseUnmarshaller . Instance ; return Invoke < GetRelationalDatabaseBlueprintsResponse > ( request , options ) ; }
public void concatenate ( byte [ ] array ) { if ( array == null ) { throw new IllegalArgumentException ( "array cannot be null" ) ; } arrays . add ( array ) ; }
public void Concatenate ( byte [ ] array ) { if ( array == null ) { throw new ArgumentException ( "array cannot be null" ) ; } arrays . Add ( array ) ; }
public final ByteBuffer get ( byte [ ] dst , int dstOffset , int byteCount ) { checkGetBounds ( 1 , dst . length , dstOffset , byteCount ) ; System . arraycopy ( backingArray , offset + position , dst , dstOffset , byteCount ) ; position += byteCount ; return this ; }
public sealed override java . nio . ByteBuffer get ( byte [ ] dst , int dstOffset , int byteCount ) { checkGetBounds ( 1 , dst . Length , dstOffset , byteCount ) ; System . Array . Copy ( backingArray , offset + _position , dst , dstOffset , byteCount ) ; _position += byteCount ; return this ; }
public DescribeAutoScalingNotificationTypesResult describeAutoScalingNotificationTypes ( ) { return describeAutoScalingNotificationTypes ( new DescribeAutoScalingNotificationTypesRequest ( ) ) ; }
public virtual DescribeAutoScalingNotificationTypesResponse DescribeAutoScalingNotificationTypes ( ) { return DescribeAutoScalingNotificationTypes ( new DescribeAutoScalingNotificationTypesRequest ( ) ) ; }
public int compareTo ( LookupResult o ) { return CHARSEQUENCE_COMPARATOR . compare ( key , o . key ) ; }
public int CompareTo ( LookupResult o ) { return CHARSEQUENCE_COMPARER . Compare ( Key , o . Key ) ; }
public UpdateVariableResult updateVariable ( UpdateVariableRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateVariable ( request ) ; }
public virtual UpdateVariableResponse UpdateVariable ( UpdateVariableRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateVariableRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateVariableResponseUnmarshaller . Instance ; return Invoke < UpdateVariableResponse > ( request , options ) ; }
public TranslateTextRequest ( ) { super ( "hiknoengine" , "2019-06-25" , "TranslateText" , "hiknoengine" ) ; setMethod ( MethodType . POST ) ; }
public TranslateTextRequest ( ) : base ( "hiknoengine" , "2019-06-25" , "TranslateText" , "hiknoengine" , "openAPI" ) { Method = MethodType . POST ; }
public E set ( int location , E object ) { E result = a [ location ] ; a [ location ] = object ; return result ; }
public override E set ( int location , E @ object ) { E result = a [ location ] ; a [ location ] = @ object ; return result ; }
public static Document loadXML ( Reader is ) { DocumentBuilderFactory dbf = DocumentBuilderFactory . newInstance ( ) ; DocumentBuilder db = null ; try { db = dbf . newDocumentBuilder ( ) ; } catch ( Exception se ) { throw new RuntimeException ( "Parser configuration error" , se ) ; } org . w3c . dom . Document doc = null ; try { doc = db . parse ( new InputSource ( is ) ) ; } catch ( Exception se ) { throw new RuntimeException ( "Error parsing file:" + se , se ) ; } return doc ; }
public static XmlDocument LoadXML ( XmlReader input ) { XmlDocument result = new XmlDocument ( ) ; try { result . Load ( input ) ; } catch ( Exception se ) { throw new Exception ( "Error parsing file:" + se , se ) ; } return result ; }
public void setTokenStream ( TokenStream tokenStream ) { if ( type . indexOptions ( ) == IndexOptions . NONE || ! type . tokenized ( ) ) { throw new IllegalArgumentException ( "TokenStream fields must be indexed and tokenized" ) ; } this . tokenStream = tokenStream ; }
public virtual void SetTokenStream ( TokenStream tokenStream ) { if ( ! m_type . IsIndexed || ! m_type . IsTokenized ) { throw new System . ArgumentException ( "TokenStream fields must be indexed and tokenized" ) ; } if ( m_type . NumericType != Documents . NumericType . NONE ) { throw new System . ArgumentException ( "cannot set private TokenStream on numeric fields" ) ; } this . m_tokenStream = tokenStream ; }
public ValueEval getArea3DEval ( Area3DPtg aptg ) { SheetRangeEvaluator sre = createExternSheetRefEvaluator ( aptg . getExternSheetIndex ( ) ) ; return new LazyAreaEval ( aptg . getFirstRow ( ) , aptg . getFirstColumn ( ) , aptg . getLastRow ( ) , aptg . getLastColumn ( ) , sre ) ; }
public ValueEval GetArea3DEval ( Area3DPtg aptg ) { SheetRangeEvaluator sre = CreateExternSheetRefEvaluator ( aptg . ExternSheetIndex ) ; return new LazyAreaEval ( aptg . FirstRow , aptg . FirstColumn , aptg . LastRow , aptg . LastColumn , sre ) ; }
public MulBlankRecord ( int row , int firstCol , short [ ] xfs ) { _row = row ; _firstCol = firstCol ; _xfs = xfs ; _lastCol = firstCol + xfs . length - 1 ; }
public MulBlankRecord ( int row , int firstCol , short [ ] xfs ) { _row = row ; _first_col = firstCol ; _xfs = xfs ; _last_col = firstCol + xfs . Length - 1 ; }
public EngineDefaults describeEngineDefaultParameters ( DescribeEngineDefaultParametersRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeEngineDefaultParameters ( request ) ; }
public virtual DescribeEngineDefaultParametersResponse DescribeEngineDefaultParameters ( DescribeEngineDefaultParametersRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeEngineDefaultParametersRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeEngineDefaultParametersResponseUnmarshaller . Instance ; return Invoke < DescribeEngineDefaultParametersResponse > ( request , options ) ; }
public AttachVolumeResult attachVolume ( AttachVolumeRequest request ) { request = beforeClientExecution ( request ) ; return executeAttachVolume ( request ) ; }
public virtual AttachVolumeResponse AttachVolume ( AttachVolumeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AttachVolumeRequestMarshaller . Instance ; options . ResponseUnmarshaller = AttachVolumeResponseUnmarshaller . Instance ; return Invoke < AttachVolumeResponse > ( request , options ) ; }
public long ramBytesUsed ( ) { return ( ( termOffsets != null ) ? termOffsets . ramBytesUsed ( ) : 0 ) + ( ( termsDictOffsets != null ) ? termsDictOffsets . ramBytesUsed ( ) : 0 ) ; }
public override long RamBytesUsed ( ) { long sizeInBytes = 0 ; foreach ( FieldIndexData entry in fields . Values ) { sizeInBytes += entry . RamBytesUsed ( ) ; } return sizeInBytes ; }
public DeleteWorkerBlockResult deleteWorkerBlock ( DeleteWorkerBlockRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteWorkerBlock ( request ) ; }
public virtual DeleteWorkerBlockResponse DeleteWorkerBlock ( DeleteWorkerBlockRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteWorkerBlockRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteWorkerBlockResponseUnmarshaller . Instance ; return Invoke < DeleteWorkerBlockResponse > ( request , options ) ; }
public static void unregister ( TransportProtocol proto ) { for ( WeakReference < TransportProtocol > ref : protocols ) { TransportProtocol refProto = ref . get ( ) ; if ( refProto == null || refProto == proto ) protocols . remove ( ref ) ; } }
public static void Unregister ( TransportProtocol proto ) { foreach ( JavaWeakReference < TransportProtocol > @ ref in protocols ) { TransportProtocol refProto = @ ref . Get ( ) ; if ( refProto == null || refProto == proto ) { protocols . Remove ( @ ref ) ; } } }
public CreateNetworkInterfacePermissionResult createNetworkInterfacePermission ( CreateNetworkInterfacePermissionRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateNetworkInterfacePermission ( request ) ; }
public virtual CreateNetworkInterfacePermissionResponse CreateNetworkInterfacePermission ( CreateNetworkInterfacePermissionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateNetworkInterfacePermissionRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateNetworkInterfacePermissionResponseUnmarshaller . Instance ; return Invoke < CreateNetworkInterfacePermissionResponse > ( request , options ) ; }
public void parseLine ( DocData docData , String line ) { String [ ] parts = line . split ( "\\t" , 7 ) ; docData . setID ( Integer . parseInt ( parts [ 0 ] ) ) ; docData . setName ( parts [ 1 ] ) ; String latitude = parts [ 4 ] ; String longitude = parts [ 5 ] ; docData . setBody ( "POINT(" + longitude + " " + latitude + ")" ) ; }
public override void ParseLine ( DocData docData , string line ) { string [ ] parts = new Regex ( "\\t" ) . Split ( line , 7 ) ; docData . ID = Convert . ToInt32 ( parts [ 0 ] , CultureInfo . InvariantCulture ) ; docData . Name = parts [ 1 ] ; string latitude = parts [ 4 ] ; string longitude = parts [ 5 ] ; docData . Body = "POINT(" + longitude + " " + latitude + ")" ; }
public DeleteArchiveRequest ( String accountId , String vaultName , String archiveId ) { setAccountId ( accountId ) ; setVaultName ( vaultName ) ; setArchiveId ( archiveId ) ; }
public DeleteArchiveRequest ( string accountId , string vaultName , string archiveId ) { _accountId = accountId ; _vaultName = vaultName ; _archiveId = archiveId ; }
public static void close ( @ NonNull Repository db ) { if ( db . getDirectory ( ) != null ) { FileKey key = FileKey . exact ( db . getDirectory ( ) , db . getFS ( ) ) ; cache . unregisterAndCloseRepository ( key ) ; } }
public static void Close ( Repository db ) { if ( db . Directory != null ) { RepositoryCache . FileKey key = RepositoryCache . FileKey . Exact ( db . Directory , db . FileSystem ) ; cache . UnregisterRepository ( key ) ; } }
public OrQueryNode ( List < QueryNode > clauses ) { super ( clauses ) ; if ( ( clauses == null ) || ( clauses . size ( ) == 0 ) ) { throw new IllegalArgumentException ( "OR query must have at least one clause" ) ; } }
public OrQueryNode ( IList < IQueryNode > clauses ) : base ( clauses ) { if ( ( clauses == null ) || ( clauses . Count == 0 ) ) { throw new ArgumentException ( "OR query must have at least one clause" ) ; } }
public ReplicationGroup createReplicationGroup ( CreateReplicationGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateReplicationGroup ( request ) ; }
public virtual CreateReplicationGroupResponse CreateReplicationGroup ( CreateReplicationGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateReplicationGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateReplicationGroupResponseUnmarshaller . Instance ; return Invoke < CreateReplicationGroupResponse > ( request , options ) ; }
public ListCollectionsResult listCollections ( ListCollectionsRequest request ) { request = beforeClientExecution ( request ) ; return executeListCollections ( request ) ; }
public virtual ListCollectionsResponse ListCollections ( ListCollectionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListCollectionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListCollectionsResponseUnmarshaller . Instance ; return Invoke < ListCollectionsResponse > ( request , options ) ; }
public void setParentIds ( AnyObjectId parent1 , AnyObjectId parent2 ) { parentIds = new ObjectId [ ] { parent1 . copy ( ) , parent2 . copy ( ) } ; }
public virtual void SetParentIds ( AnyObjectId parent1 , AnyObjectId parent2 ) { parentIds = new ObjectId [ ] { parent1 . Copy ( ) , parent2 . Copy ( ) } ; }