question
stringlengths
33
1.59k
target
stringlengths
33
1.58k
public Request < DeletePublicAccessBlockRequest > marshall ( DeletePublicAccessBlockRequest deletePublicAccessBlockRequest ) { if ( deletePublicAccessBlockRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } Request < DeletePublicAccessBlockRequest > request = new DefaultRequest < DeletePublicAccessBlockRequest > ( deletePublicAccessBlockRequest , "AWSS3Control" ) ; request . setHttpMethod ( HttpMethodName . DELETE ) ; if ( deletePublicAccessBlockRequest . getAccountId ( ) != null ) { request . addHeader ( "x-amz-account-id" , StringUtils . fromString ( deletePublicAccessBlockRequest . getAccountId ( ) ) ) ; } String uriResourcePath = "/v20180820/configuration/publicAccessBlock" ; request . setResourcePath ( uriResourcePath ) ; return request ; }
public IRequest Marshall ( DeletePublicAccessBlockRequest deletePublicAccessBlockRequest ) { IRequest request = new DefaultRequest ( deletePublicAccessBlockRequest , "AmazonS3" ) ; request . HttpMethod = "DELETE" ; if ( string . IsNullOrEmpty ( deletePublicAccessBlockRequest . BucketName ) ) throw new System . ArgumentException ( "BucketName is a required property and must be set before making this call." , "deletePublicAccessBlockRequest.BucketName" ) ; request . MarshallerVersion = 2 ; request . ResourcePath = string . Concat ( "/" , S3Transforms . ToStringValue ( deletePublicAccessBlockRequest . BucketName ) ) ; request . AddSubResource ( "publicAccessBlock" ) ; request . UseQueryString = true ; return request ; }
public FetchResult getFetchResult ( ) { return this . fetchResult ; }
public virtual FetchResult GetFetchResult ( ) { return this . fetchResult ; }
public GetJourneyExecutionMetricsResult getJourneyExecutionMetrics ( GetJourneyExecutionMetricsRequest request ) { request = beforeClientExecution ( request ) ; return executeGetJourneyExecutionMetrics ( request ) ; }
public virtual GetJourneyExecutionMetricsResponse GetJourneyExecutionMetrics ( GetJourneyExecutionMetricsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetJourneyExecutionMetricsRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetJourneyExecutionMetricsResponseUnmarshaller . Instance ; return Invoke < GetJourneyExecutionMetricsResponse > ( request , options ) ; }
public static long [ ] grow ( long [ ] array ) { return grow ( array , 1 + array . length ) ; }
public static int [ ] Grow ( int [ ] array ) { return Grow ( array , 1 + array . Length ) ; }
@ Override public String toString ( ) { StringBuilder buf = new StringBuilder ( ) ; buf . append ( getClass ( ) . getName ( ) ) ; buf . append ( ", status: capacity=" ) ; buf . append ( capacity ) ; buf . append ( " position=" ) ; buf . append ( position ) ; buf . append ( " limit=" ) ; buf . append ( limit ) ; return buf . toString ( ) ; }
public override string ToString ( ) { java . lang . StringBuilder buf = new java . lang . StringBuilder ( ) ; buf . append ( GetType ( ) . FullName ) ; buf . append ( ", status: capacity=" ) ; buf . append ( _capacity ) ; buf . append ( " position=" ) ; buf . append ( _position ) ; buf . append ( " limit=" ) ; buf . append ( _limit ) ; return buf . ToString ( ) ; }
public UpdateStreamingDistributionResult updateStreamingDistribution ( UpdateStreamingDistributionRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateStreamingDistribution ( request ) ; }
public virtual UpdateStreamingDistributionResponse UpdateStreamingDistribution ( UpdateStreamingDistributionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateStreamingDistributionRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateStreamingDistributionResponseUnmarshaller . Instance ; return Invoke < UpdateStreamingDistributionResponse > ( request , options ) ; }
public DeleteVaultNotificationsRequest ( String vaultName ) { setVaultName ( vaultName ) ; }
public DeleteVaultNotificationsRequest ( string vaultName ) { _vaultName = vaultName ; }
public AttachNetworkInterfaceResult attachNetworkInterface ( AttachNetworkInterfaceRequest request ) { request = beforeClientExecution ( request ) ; return executeAttachNetworkInterface ( request ) ; }
public virtual AttachNetworkInterfaceResponse AttachNetworkInterface ( AttachNetworkInterfaceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = AttachNetworkInterfaceRequestMarshaller . Instance ; options . ResponseUnmarshaller = AttachNetworkInterfaceResponseUnmarshaller . Instance ; return Invoke < AttachNetworkInterfaceResponse > ( request , options ) ; }
public boolean equals ( Object o ) { return o instanceof HungarianStemmer ; }
public override bool Equals ( object o ) { return o is HungarianStemmer ; }
public DescribeDatasetResult describeDataset ( DescribeDatasetRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeDataset ( request ) ; }
public virtual DescribeDatasetResponse DescribeDataset ( DescribeDatasetRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeDatasetRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeDatasetResponseUnmarshaller . Instance ; return Invoke < DescribeDatasetResponse > ( request , options ) ; }
public UpdateShardCountResult updateShardCount ( UpdateShardCountRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateShardCount ( request ) ; }
public virtual UpdateShardCountResponse UpdateShardCount ( UpdateShardCountRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateShardCountRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateShardCountResponseUnmarshaller . Instance ; return Invoke < UpdateShardCountResponse > ( request , options ) ; }
public String getText ( ) { return getText ( Interval . of ( 0 , size ( ) - 1 ) ) ; }
public virtual string GetText ( ) { Fill ( ) ; return GetText ( Interval . Of ( 0 , Size - 1 ) ) ; }
public BoundSheetRecord [ ] getBoundSheetRecords ( ) { return boundSheetRecords . toArray ( new BoundSheetRecord [ 0 ] ) ; }
public BoundSheetRecord [ ] GetBoundSheetRecords ( ) { return ( BoundSheetRecord [ ] ) boundSheetRecords . ToArray ( typeof ( BoundSheetRecord ) ) ; }
public boolean matches ( FooterKey key ) { final byte [ ] kRaw = key . raw ; final int len = kRaw . length ; int bPtr = keyStart ; if ( keyEnd - bPtr != len ) return false ; for ( int kPtr = 0 ; kPtr < len ; ) { byte b = buffer [ bPtr ++ ] ; if ( 'A' <= b && b <= 'Z' ) b += ( byte ) ( 'a' - 'A' ) ; if ( b != kRaw [ kPtr ++ ] ) return false ; } return true ; }
public bool Matches ( FooterKey key ) { byte [ ] kRaw = key . raw ; int len = kRaw . Length ; int bPtr = keyStart ; if ( keyEnd - bPtr != len ) { return false ; } for ( int kPtr = 0 ; kPtr < len ; ) { byte b = buffer [ bPtr ++ ] ; if ( 'A' <= b && ( ( sbyte ) b ) <= 'Z' ) { b += ( byte ) ( 'a' ) - ( byte ) ( 'A' ) ; } if ( b != kRaw [ kPtr ++ ] ) { return false ; } } return true ; }
public CreateUserResult createUser ( CreateUserRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateUser ( request ) ; }
public virtual CreateUserResponse CreateUser ( CreateUserRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateUserRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateUserResponseUnmarshaller . Instance ; return Invoke < CreateUserResponse > ( request , options ) ; }
public S3Origin ( String domainName , String originAccessIdentity ) { setDomainName ( domainName ) ; setOriginAccessIdentity ( originAccessIdentity ) ; }
public S3Origin ( string domainName , string originAccessIdentity ) { _domainName = domainName ; _originAccessIdentity = originAccessIdentity ; }
public StartTopicsDetectionJobResult startTopicsDetectionJob ( StartTopicsDetectionJobRequest request ) { request = beforeClientExecution ( request ) ; return executeStartTopicsDetectionJob ( request ) ; }
public virtual StartTopicsDetectionJobResponse StartTopicsDetectionJob ( StartTopicsDetectionJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartTopicsDetectionJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartTopicsDetectionJobResponseUnmarshaller . Instance ; return Invoke < StartTopicsDetectionJobResponse > ( request , options ) ; }
public ClusterSecurityGroup revokeClusterSecurityGroupIngress ( RevokeClusterSecurityGroupIngressRequest request ) { request = beforeClientExecution ( request ) ; return executeRevokeClusterSecurityGroupIngress ( request ) ; }
public virtual RevokeClusterSecurityGroupIngressResponse RevokeClusterSecurityGroupIngress ( RevokeClusterSecurityGroupIngressRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RevokeClusterSecurityGroupIngressRequestMarshaller . Instance ; options . ResponseUnmarshaller = RevokeClusterSecurityGroupIngressResponseUnmarshaller . Instance ; return Invoke < RevokeClusterSecurityGroupIngressResponse > ( request , options ) ; }
public void enterRule ( ParserRuleContext localctx , int state , int ruleIndex ) { setState ( state ) ; _ctx = localctx ; _ctx . start = _input . LT ( 1 ) ; if ( _buildParseTrees ) addContextToParseTree ( ) ; if ( _parseListeners != null ) triggerEnterRuleEvent ( ) ; }
public virtual void EnterRule ( ParserRuleContext localctx , int state , int ruleIndex ) { State = state ; _ctx = localctx ; _ctx . Start = _input . LT ( 1 ) ; if ( _buildParseTrees ) { AddContextToParseTree ( ) ; } if ( _parseListeners != null ) { TriggerEnterRuleEvent ( ) ; } }
public ObjectReader newReader ( ) { return new WindowCursor ( db ) ; }
public override ObjectReader NewReader ( ) { return new NGit . Storage . File . WindowCursor ( db ) ; }
@ Override public int size ( ) { return backingMap . size ( ) ; }
public override int size ( ) { return this . _enclosing . _size ; }
public static String pathToString ( String [ ] path , int length ) { if ( length == 0 ) { return "" ; } StringBuilder sb = new StringBuilder ( ) ; for ( int i = 0 ; i < length ; i ++ ) { String s = path [ i ] ; if ( s . length ( ) == 0 ) { throw new IllegalArgumentException ( "each path component must have length > 0 (got: \"\")" ) ; } int numChars = s . length ( ) ; for ( int j = 0 ; j < numChars ; j ++ ) { char ch = s . charAt ( j ) ; if ( ch == DELIM_CHAR || ch == ESCAPE_CHAR ) { sb . append ( ESCAPE_CHAR ) ; } sb . append ( ch ) ; } sb . append ( DELIM_CHAR ) ; } sb . setLength ( sb . length ( ) - 1 ) ; return sb . toString ( ) ; }
public static string PathToString ( string [ ] path , int length ) { if ( length == 0 ) { return "" ; } StringBuilder sb = new StringBuilder ( ) ; for ( int i = 0 ; i < length ; i ++ ) { string s = path [ i ] ; if ( s . Length == 0 ) { throw new System . ArgumentException ( "each path component must have length > 0 (got: \"\")" ) ; } int numChars = s . Length ; for ( int j = 0 ; j < numChars ; j ++ ) { char ch = s [ j ] ; if ( ch == DELIM_CHAR || ch == ESCAPE_CHAR ) { sb . Append ( ESCAPE_CHAR ) ; } sb . Append ( ch ) ; } sb . Append ( DELIM_CHAR ) ; } sb . Length = sb . Length - 1 ; return sb . ToString ( ) ; }
public CancelSpotInstanceRequestsRequest ( java . util . List < String > spotInstanceRequestIds ) { setSpotInstanceRequestIds ( spotInstanceRequestIds ) ; }
public CancelSpotInstanceRequestsRequest ( List < string > spotInstanceRequestIds ) { _spotInstanceRequestIds = spotInstanceRequestIds ; }
public String toString ( ) { StringBuilder sb = new StringBuilder ( ) ; sb . append ( '[' ) ; for ( byte [ ] b : table ) { if ( b == null ) continue ; if ( sb . length ( ) > 1 ) sb . append ( " , " ) ; sb . append ( '"' ) ; sb . append ( RawParseUtils . decode ( b ) ) ; sb . append ( '"' ) ; sb . append ( '(' ) ; sb . append ( chainlength ( b ) ) ; sb . append ( ')' ) ; } sb . append ( ']' ) ; return sb . toString ( ) ; }
public override string ToString ( ) { StringBuilder r = new StringBuilder ( ) ; r . Append ( "(" ) ; for ( int i = 0 ; i < subfilters . Length ; i ++ ) { if ( i > 0 ) { r . Append ( " OR " ) ; } r . Append ( subfilters [ i ] . ToString ( ) ) ; } r . Append ( ")" ) ; return r . ToString ( ) ; }
public GetConnectionResult getConnection ( GetConnectionRequest request ) { request = beforeClientExecution ( request ) ; return executeGetConnection ( request ) ; }
public virtual GetConnectionResponse GetConnection ( GetConnectionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetConnectionRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetConnectionResponseUnmarshaller . Instance ; return Invoke < GetConnectionResponse > ( request , options ) ; }
public String toString ( ) { return a + ".." + b ; }
public override string ToString ( ) { return a + ".." + b ; }
public AddNoteCommand notesAdd ( ) { return new AddNoteCommand ( repo ) ; }
public virtual AddNoteCommand NotesAdd ( ) { return new AddNoteCommand ( repo ) ; }
public static void fill ( short [ ] array , int start , int end , short value ) { Arrays . checkStartAndEnd ( array . length , start , end ) ; for ( int i = start ; i < end ; i ++ ) { array [ i ] = value ; } }
public static void fill ( short [ ] array , int start , int end , short value ) { java . util . Arrays . checkStartAndEnd ( array . Length , start , end ) ; { for ( int i = start ; i < end ; i ++ ) { array [ i ] = value ; } } }
public boolean equals ( Object obj ) { if ( obj == this ) { return true ; } else if ( ! ( obj instanceof LexerIndexedCustomAction ) ) { return false ; } LexerIndexedCustomAction other = ( LexerIndexedCustomAction ) obj ; return offset == other . offset && action . equals ( other . action ) ; }
public override bool Equals ( object obj ) { if ( obj == this ) { return true ; } else { if ( ! ( obj is Antlr4 . Runtime . Atn . LexerIndexedCustomAction ) ) { return false ; } } Antlr4 . Runtime . Atn . LexerIndexedCustomAction other = ( Antlr4 . Runtime . Atn . LexerIndexedCustomAction ) obj ; return offset == other . offset && action . Equals ( other . action ) ; }
public DeleteNamespaceAuthorizationRequest ( ) { super ( "cr" , "2016-06-07" , "DeleteNamespaceAuthorization" , "cr" ) ; setUriPattern ( "/namespace/[Namespace]/authorizations/[AuthorizeId]" ) ; setMethod ( MethodType . DELETE ) ; }
public DeleteNamespaceAuthorizationRequest ( ) : base ( "cr" , "2016-06-07" , "DeleteNamespaceAuthorization" , "cr" , "openAPI" ) { UriPattern = "/namespace/[Namespace]/authorizations/[AuthorizeId]" ; Method = MethodType . DELETE ; }
public static final int author ( byte [ ] b , int ptr ) { final int sz = b . length ; if ( ptr == 0 ) ptr += 46 ; while ( ptr < sz && b [ ptr ] == 'p' ) ptr += 48 ; return match ( b , ptr , author ) ; }
public static int Author ( byte [ ] b , int ptr ) { int sz = b . Length ; if ( ptr == 0 ) { ptr += 46 ; } while ( ptr < sz && b [ ptr ] == 'p' ) { ptr += 48 ; } return Match ( b , ptr , ObjectChecker . author ) ; }
public DescribeHostsResult describeHosts ( DescribeHostsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeHosts ( request ) ; }
public virtual DescribeHostsResponse DescribeHosts ( DescribeHostsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeHostsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeHostsResponseUnmarshaller . Instance ; return Invoke < DescribeHostsResponse > ( request , options ) ; }
public void reset ( byte [ ] bytes ) { reset ( bytes , 0 , bytes . length ) ; }
public void Reset ( byte [ ] bytes ) { Reset ( bytes , 0 , bytes . Length ) ; }
public OpenNLPChunkerFilterFactory ( Map < String , String > args ) { super ( args ) ; chunkerModelFile = get ( args , CHUNKER_MODEL ) ; if ( ! args . isEmpty ( ) ) { throw new IllegalArgumentException ( "Unknown parameters: " + args ) ; } }
public OpenNLPChunkerFilterFactory ( IDictionary < string , string > args ) : base ( args ) { chunkerModelFile = Get ( args , CHUNKER_MODEL ) ; if ( args . Any ( ) ) { throw new ArgumentException ( "Unknown parameters: " + args ) ; } }
public String toString ( ) { StringBuilder r = new StringBuilder ( ) ; r . append ( "Ref[" ) ; r . append ( getName ( ) ) ; r . append ( '=' ) ; r . append ( ObjectId . toString ( getObjectId ( ) ) ) ; r . append ( '(' ) ; r . append ( updateIndex ) ; r . append ( ")]" ) ; return r . toString ( ) ; }
public override string ToString ( ) { StringBuilder r = new StringBuilder ( ) ; r . Append ( "Ref[" ) ; r . Append ( GetName ( ) ) ; r . Append ( '=' ) ; r . Append ( ObjectId . ToString ( GetObjectId ( ) ) ) ; r . Append ( ']' ) ; return r . ToString ( ) ; }
public StartStreamEncryptionResult startStreamEncryption ( StartStreamEncryptionRequest request ) { request = beforeClientExecution ( request ) ; return executeStartStreamEncryption ( request ) ; }
public virtual StartStreamEncryptionResponse StartStreamEncryption ( StartStreamEncryptionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartStreamEncryptionRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartStreamEncryptionResponseUnmarshaller . Instance ; return Invoke < StartStreamEncryptionResponse > ( request , options ) ; }
public DeleteCloudFrontOriginAccessIdentityRequest ( String id , String ifMatch ) { setId ( id ) ; setIfMatch ( ifMatch ) ; }
public DeleteCloudFrontOriginAccessIdentityRequest ( string id , string ifMatch ) { _id = id ; _ifMatch = ifMatch ; }
public int getWidth ( ) { return mImage . getWidth ( ) ; }
public virtual int getWidth ( ) { return mBitmap . getWidth ( ) ; }
public List < String > getUntrackedFolders ( ) { LinkedList < String > ret = new LinkedList < > ( untrackedFolders ) ; if ( ! untrackedParentFolders . isEmpty ( ) ) { String toBeAdded = untrackedParentFolders . getLast ( ) ; while ( ! ret . isEmpty ( ) && ret . getLast ( ) . startsWith ( toBeAdded ) ) ret . removeLast ( ) ; ret . addLast ( toBeAdded ) ; } return ret ; }
public virtual IList < string > GetUntrackedFolders ( ) { List < string > ret = new List < string > ( untrackedFolders ) ; if ( ! untrackedParentFolders . IsEmpty ( ) ) { string toBeAdded = untrackedParentFolders . GetLast ( ) ; while ( ! ret . IsEmpty ( ) && ret . GetLast ( ) . StartsWith ( toBeAdded ) ) { ret . RemoveLast ( ) ; } ret . AddLast ( toBeAdded ) ; } return ret ; }
public CredentialsProviderUserInfo ( Session session , CredentialsProvider credentialsProvider ) { this . uri = createURI ( session ) ; this . provider = credentialsProvider ; }
public CredentialsProviderUserInfo ( Session session , CredentialsProvider credentialsProvider ) { this . uri = CreateURI ( session ) ; this . provider = credentialsProvider ; }
public String toString ( ) { return "[SELECTION]\n" + " .pane = " + HexDump . byteToHex ( getPane ( ) ) + "\n" + " .activecellrow = " + HexDump . shortToHex ( getActiveCellRow ( ) ) + "\n" + " .activecellcol = " + HexDump . shortToHex ( getActiveCellCol ( ) ) + "\n" + " .activecellref = " + HexDump . shortToHex ( getActiveCellRef ( ) ) + "\n" + " .numrefs = " + HexDump . shortToHex ( field_6_refs . length ) + "\n" + "[/SELECTION]\n" ; }
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "[SELECTION]\n" ) ; buffer . Append ( " .pane = " ) . Append ( StringUtil . ToHexString ( Pane ) ) . Append ( "\n" ) ; buffer . Append ( " .activecellrow = " ) . Append ( StringUtil . ToHexString ( ActiveCellRow ) ) . Append ( "\n" ) ; buffer . Append ( " .activecellcol = " ) . Append ( StringUtil . ToHexString ( ActiveCellCol ) ) . Append ( "\n" ) ; buffer . Append ( " .activecellref = " ) . Append ( StringUtil . ToHexString ( ActiveCellRef ) ) . Append ( "\n" ) ; buffer . Append ( " .numrefs = " ) . Append ( StringUtil . ToHexString ( field_6_refs . Length ) ) . Append ( "\n" ) ; buffer . Append ( "[/SELECTION]\n" ) ; return buffer . ToString ( ) ; }
public static boolean isCellInternalDateFormatted ( Cell cell ) { if ( cell == null ) { return false ; } boolean bDate = false ; double d = cell . getNumericCellValue ( ) ; if ( DateUtil . isValidExcelDate ( d ) ) { CellStyle style = cell . getCellStyle ( ) ; int i = style . getDataFormat ( ) ; bDate = isInternalDateFormat ( i ) ; } return bDate ; }
public static bool IsCellInternalDateFormatted ( ICell cell ) { if ( cell == null ) return false ; bool bDate = false ; double d = cell . NumericCellValue ; if ( DateUtil . IsValidExcelDate ( d ) ) { ICellStyle style = cell . CellStyle ; int i = style . DataFormat ; bDate = IsInternalDateFormat ( i ) ; } return bDate ; }
public static String getSegmentsFile ( List < String > files , boolean allowEmpty ) { if ( files . isEmpty ( ) ) { if ( allowEmpty ) { return null ; } else { throw new IllegalStateException ( "empty list of files not allowed" ) ; } } String segmentsFile = files . remove ( files . size ( ) - 1 ) ; if ( ! segmentsFile . startsWith ( IndexFileNames . SEGMENTS ) ) { throw new IllegalStateException ( "last file to copy+sync must be segments_N but got " + segmentsFile + "; check your Revision implementation!" ) ; } return segmentsFile ; }
public static string GetSegmentsFile ( IList < string > files , bool allowEmpty ) { if ( ! files . Any ( ) ) { if ( allowEmpty ) return null ; throw new InvalidOperationException ( "empty list of files not allowed" ) ; } string segmentsFile = files . Last ( ) ; files . RemoveAt ( files . Count - 1 ) ; if ( ! segmentsFile . StartsWith ( IndexFileNames . SEGMENTS , StringComparison . Ordinal ) || segmentsFile . Equals ( IndexFileNames . SEGMENTS_GEN , StringComparison . Ordinal ) ) { throw new InvalidOperationException ( string . Format ( "last file to copy+sync must be segments_N but got {0}; check your Revision implementation!" , segmentsFile ) ) ; } return segmentsFile ; }
public static boolean hasMultibyte ( String value ) { if ( value == null ) { return false ; } for ( char c : value . toCharArray ( ) ) { if ( c > 0xFF ) { return true ; } } return false ; }
public static bool HasMultibyte ( String value ) { if ( value == null ) return false ; for ( int i = 0 ; i < value . Length ; i ++ ) { char c = value [ i ] ; if ( c > 0xFF ) return true ; } return false ; }
public static ObjectId fromString ( String str ) { if ( str . length ( ) != Constants . OBJECT_ID_STRING_LENGTH ) { throw new InvalidObjectIdException ( str ) ; } return fromHexString ( Constants . encodeASCII ( str ) , 0 ) ; }
public static NGit . ObjectId FromString ( string str ) { if ( str . Length != Constants . OBJECT_ID_STRING_LENGTH ) { throw new ArgumentException ( "Invalid id: " + str ) ; } return FromHexString ( Constants . EncodeASCII ( str ) , 0 ) ; }
public void reset ( ) throws IOException { throw new IOException ( ) ; }
public override void reset ( ) { throw new System . IO . IOException ( ) ; }
public GetReservedInstancesExchangeQuoteResult getReservedInstancesExchangeQuote ( GetReservedInstancesExchangeQuoteRequest request ) { request = beforeClientExecution ( request ) ; return executeGetReservedInstancesExchangeQuote ( request ) ; }
public virtual GetReservedInstancesExchangeQuoteResponse GetReservedInstancesExchangeQuote ( GetReservedInstancesExchangeQuoteRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetReservedInstancesExchangeQuoteRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetReservedInstancesExchangeQuoteResponseUnmarshaller . Instance ; return Invoke < GetReservedInstancesExchangeQuoteResponse > ( request , options ) ; }
public IntBuffer put ( int c ) { throw new ReadOnlyBufferException ( ) ; }
public override java . nio . IntBuffer put ( int c ) { throw new java . nio . ReadOnlyBufferException ( ) ; }
public GetFolderPathResult getFolderPath ( GetFolderPathRequest request ) { request = beforeClientExecution ( request ) ; return executeGetFolderPath ( request ) ; }
public virtual GetFolderPathResponse GetFolderPath ( GetFolderPathRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetFolderPathRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetFolderPathResponseUnmarshaller . Instance ; return Invoke < GetFolderPathResponse > ( request , options ) ; }
public DeleteDirectConnectGatewayAssociationResult deleteDirectConnectGatewayAssociation ( DeleteDirectConnectGatewayAssociationRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteDirectConnectGatewayAssociation ( request ) ; }
public virtual DeleteDirectConnectGatewayAssociationResponse DeleteDirectConnectGatewayAssociation ( DeleteDirectConnectGatewayAssociationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteDirectConnectGatewayAssociationRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteDirectConnectGatewayAssociationResponseUnmarshaller . Instance ; return Invoke < DeleteDirectConnectGatewayAssociationResponse > ( request , options ) ; }
public ByteBuffer putDouble ( double value ) { return putLong ( Double . doubleToRawLongBits ( value ) ) ; }
public override java . nio . ByteBuffer putDouble ( double value ) { return putLong ( Sharpen . Util . DoubleToRawLongBits ( value ) ) ; }
public SearchContactsResult searchContacts ( SearchContactsRequest request ) { request = beforeClientExecution ( request ) ; return executeSearchContacts ( request ) ; }
public virtual SearchContactsResponse SearchContacts ( SearchContactsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = SearchContactsRequestMarshaller . Instance ; options . ResponseUnmarshaller = SearchContactsResponseUnmarshaller . Instance ; return Invoke < SearchContactsResponse > ( request , options ) ; }
@ Override public boolean isEmpty ( ) { return size == 0 ; }
public override bool isEmpty ( ) { return _size == 0 ; }
public CreatePartnerEventSourceResult createPartnerEventSource ( CreatePartnerEventSourceRequest request ) { request = beforeClientExecution ( request ) ; return executeCreatePartnerEventSource ( request ) ; }
public virtual CreatePartnerEventSourceResponse CreatePartnerEventSource ( CreatePartnerEventSourceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreatePartnerEventSourceRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreatePartnerEventSourceResponseUnmarshaller . Instance ; return Invoke < CreatePartnerEventSourceResponse > ( request , options ) ; }
public CreateNamespaceAuthorizationRequest ( ) { super ( "cr" , "2016-06-07" , "CreateNamespaceAuthorization" , "cr" ) ; setUriPattern ( "/namespace/[Namespace]/authorizations" ) ; setMethod ( MethodType . PUT ) ; }
public CreateNamespaceAuthorizationRequest ( ) : base ( "cr" , "2016-06-07" , "CreateNamespaceAuthorization" , "cr" , "openAPI" ) { UriPattern = "/namespace/[Namespace]/authorizations" ; Method = MethodType . PUT ; }
public URIish setPass ( String n ) { final URIish r = new URIish ( this ) ; r . pass = n ; return r ; }
public virtual NGit . Transport . URIish SetPass ( string n ) { NGit . Transport . URIish r = new NGit . Transport . URIish ( this ) ; r . pass = n ; return r ; }
public void execute ( Lexer lexer ) { lexer . pushMode ( mode ) ; }
public void Execute ( Lexer lexer ) { lexer . PushMode ( mode ) ; }
public CreateModelVersionResult createModelVersion ( CreateModelVersionRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateModelVersion ( request ) ; }
public virtual CreateModelVersionResponse CreateModelVersion ( CreateModelVersionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateModelVersionRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateModelVersionResponseUnmarshaller . Instance ; return Invoke < CreateModelVersionResponse > ( request , options ) ; }
public UpdateServicePrimaryTaskSetResult updateServicePrimaryTaskSet ( UpdateServicePrimaryTaskSetRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateServicePrimaryTaskSet ( request ) ; }
public virtual UpdateServicePrimaryTaskSetResponse UpdateServicePrimaryTaskSet ( UpdateServicePrimaryTaskSetRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateServicePrimaryTaskSetRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateServicePrimaryTaskSetResponseUnmarshaller . Instance ; return Invoke < UpdateServicePrimaryTaskSetResponse > ( request , options ) ; }
public LinearRegressionFunction ( FUNCTION function ) { this . function = function ; }
public LinearRegressionFunction ( FUNCTION function ) { this . function = function ; }
public ATNConfig ( ATNConfig old ) { this . state = old . state ; this . alt = old . alt ; this . context = old . context ; this . semanticContext = old . semanticContext ; this . reachesIntoOuterContext = old . reachesIntoOuterContext ; }
public ATNConfig ( ATNConfig old ) { this . state = old . state ; this . alt = old . alt ; this . context = old . context ; this . semanticContext = old . semanticContext ; this . reachesIntoOuterContext = old . reachesIntoOuterContext ; }
public DescribeEntitiesDetectionJobResult describeEntitiesDetectionJob ( DescribeEntitiesDetectionJobRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeEntitiesDetectionJob ( request ) ; }
public virtual DescribeEntitiesDetectionJobResponse DescribeEntitiesDetectionJob ( DescribeEntitiesDetectionJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeEntitiesDetectionJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeEntitiesDetectionJobResponseUnmarshaller . Instance ; return Invoke < DescribeEntitiesDetectionJobResponse > ( request , options ) ; }
public AssociateDhcpOptionsRequest ( String vpcId ) { setVpcId ( vpcId ) ; }
public AssociateDhcpOptionsRequest ( string vpcId ) { _vpcId = vpcId ; }
public ListChangedBlocksResult listChangedBlocks ( ListChangedBlocksRequest request ) { request = beforeClientExecution ( request ) ; return executeListChangedBlocks ( request ) ; }
public virtual ListChangedBlocksResponse ListChangedBlocks ( ListChangedBlocksRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListChangedBlocksRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListChangedBlocksResponseUnmarshaller . Instance ; return Invoke < ListChangedBlocksResponse > ( request , options ) ; }
public boolean removeFirstOccurrence ( Object o ) { return removeFirstOccurrenceImpl ( o ) ; }
public virtual bool removeFirstOccurrence ( object o ) { return removeFirstOccurrenceImpl ( o ) ; }
public ArrayList < PerfTask > extractTasks ( ) { ArrayList < PerfTask > res = new ArrayList < > ( ) ; extractTasks ( res , sequence ) ; return res ; }
public virtual IList < PerfTask > ExtractTasks ( ) { List < PerfTask > res = new List < PerfTask > ( ) ; ExtractTasks ( res , sequence ) ; return res ; }
public FacetsCollector ( boolean keepScores ) { this . keepScores = keepScores ; }
public FacetsCollector ( bool keepScores ) { this . keepScores = keepScores ; }
public UpdateNodegroupVersionResult updateNodegroupVersion ( UpdateNodegroupVersionRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateNodegroupVersion ( request ) ; }
public virtual UpdateNodegroupVersionResponse UpdateNodegroupVersion ( UpdateNodegroupVersionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateNodegroupVersionRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateNodegroupVersionResponseUnmarshaller . Instance ; return Invoke < UpdateNodegroupVersionResponse > ( request , options ) ; }
public DeleteAttributesRequest ( String domainName , String itemName ) { setDomainName ( domainName ) ; setItemName ( itemName ) ; }
public DeleteAttributesRequest ( string domainName , string itemName ) { _domainName = domainName ; _itemName = itemName ; }
public void clearDFA ( ) { throw new UnsupportedOperationException ( "This ATN simulator does not support clearing the DFA." ) ; }
public virtual void ClearDFA ( ) { throw new Exception ( "This ATN simulator does not support clearing the DFA." ) ; }
public Field [ ] createIndexableFields ( Shape shape ) { if ( shape instanceof Point ) return createIndexableFields ( ( Point ) shape ) ; throw new UnsupportedOperationException ( "Can only index Point, not " + shape ) ; }
public override Field [ ] CreateIndexableFields ( IShape shape ) { var point = shape as IPoint ; if ( point != null ) return CreateIndexableFields ( point ) ; throw new NotSupportedException ( "Can only index IPoint, not " + shape ) ; }
public void untagResource ( UntagResourceRequest request ) { request = beforeClientExecution ( request ) ; executeUntagResource ( request ) ; }
public virtual UntagResourceResponse UntagResource ( UntagResourceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UntagResourceRequestMarshaller . Instance ; options . ResponseUnmarshaller = UntagResourceResponseUnmarshaller . Instance ; return Invoke < UntagResourceResponse > ( request , options ) ; }
public DBSecurityGroup createDBSecurityGroup ( CreateDBSecurityGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateDBSecurityGroup ( request ) ; }
public virtual CreateDBSecurityGroupResponse CreateDBSecurityGroup ( CreateDBSecurityGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateDBSecurityGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateDBSecurityGroupResponseUnmarshaller . Instance ; return Invoke < CreateDBSecurityGroupResponse > ( request , options ) ; }
public boolean equals ( Object obj ) { if ( this == obj ) { return true ; } if ( obj == null ) { return false ; } if ( getClass ( ) != obj . getClass ( ) ) { return false ; } ExpressionValueSource other = ( ExpressionValueSource ) obj ; if ( expression == null ) { if ( other . expression != null ) { return false ; } } else if ( ! expression . sourceText . equals ( other . expression . sourceText ) ) { return false ; } if ( needsScores != other . needsScores ) { return false ; } if ( ! Arrays . equals ( variables , other . variables ) ) { return false ; } return true ; }
public override bool Equals ( object obj ) { if ( this == obj ) { return true ; } if ( obj == null ) { return false ; } if ( GetType ( ) != obj . GetType ( ) ) { return false ; } ExpressionValueSource other = ( ExpressionValueSource ) obj ; if ( expression == null ) { if ( other . expression != null ) { return false ; } } else { if ( ! expression . Equals ( other . expression ) ) { return false ; } } if ( needsScores != other . needsScores ) { return false ; } if ( ! Arrays . Equals ( variables , other . variables ) ) { return false ; } return true ; }
public static String getPreferredEncoding ( ) { return ISO_8859_1 . name ( ) ; }
public static String GetPreferredEncoding ( ) { return ISO_8859_1 . WebName ; }
public synchronized IndexSearcher getIndexSearcher ( ) { if ( indexReader != null ) { indexReader . incRef ( ) ; } return indexSearcher ; }
public virtual IndexSearcher GetIndexSearcher ( ) { lock ( this ) { if ( indexReader != null ) { indexReader . IncRef ( ) ; } return indexSearcher ; } }
public boolean equals ( Object o ) { return o instanceof German2Stemmer ; }
public override bool Equals ( object o ) { return o is German2Stemmer ; }
public FacetLabel ( final String ... components ) { this . components = components ; length = components . length ; checkComponents ( ) ; }
public FacetLabel ( params string [ ] components ) { this . Components = components ; Length = components . Length ; CheckComponents ( ) ; }
public void visitContainedRecords ( RecordVisitor rv ) { if ( _recs . isEmpty ( ) ) { return ; } rv . visitRecord ( _begin ) ; for ( int i = 0 ; i < _recs . size ( ) ; i ++ ) { RecordBase rb = _recs . get ( i ) ; if ( rb instanceof RecordAggregate ) { ( ( RecordAggregate ) rb ) . visitContainedRecords ( rv ) ; } else { rv . visitRecord ( ( org . apache . poi . hssf . record . Record ) rb ) ; } } rv . visitRecord ( _end ) ; }
public override void VisitContainedRecords ( RecordVisitor rv ) { if ( _recs . Count == 0 ) { return ; } rv . VisitRecord ( _begin ) ; for ( int i = 0 ; i < _recs . Count ; i ++ ) { RecordBase rb = _recs [ i ] ; if ( rb is RecordAggregate ) { ( ( RecordAggregate ) rb ) . VisitContainedRecords ( rv ) ; } else { rv . VisitRecord ( ( Record ) rb ) ; } } rv . VisitRecord ( _end ) ; }
public void setDirCache ( DirCache dc ) { this . dircache = dc ; implicitDirCache = false ; }
public virtual void SetDirCache ( DirCache dc ) { this . dircache = dc ; }
public long seek ( BytesRef target ) { long lo = 0 ; long hi = fieldIndex . numIndexTerms - 1 ; while ( hi >= lo ) { long mid = ( lo + hi ) > > > 1 ; final long offset = fieldIndex . termOffsets . get ( mid ) ; final int length = ( int ) ( fieldIndex . termOffsets . get ( 1 + mid ) - offset ) ; termBytesReader . fillSlice ( term , fieldIndex . termBytesStart + offset , length ) ; int delta = target . compareTo ( term ) ; if ( delta < 0 ) { hi = mid - 1 ; } else if ( delta > 0 ) { lo = mid + 1 ; } else { assert mid >= 0 ; ord = mid * indexInterval ; return fieldIndex . termsStart + fieldIndex . termsDictOffsets . get ( mid ) ; } } if ( hi < 0 ) { assert hi == - 1 ; hi = 0 ; } final long offset = fieldIndex . termOffsets . get ( hi ) ; final int length = ( int ) ( fieldIndex . termOffsets . get ( 1 + hi ) - offset ) ; termBytesReader . fillSlice ( term , fieldIndex . termBytesStart + offset , length ) ; ord = hi * indexInterval ; return fieldIndex . termsStart + fieldIndex . termsDictOffsets . get ( hi ) ; }
public override long Seek ( BytesRef target ) { int lo = 0 ; int hi = fieldIndex . numIndexTerms - 1 ; Debug . Assert ( outerInstance . totalIndexInterval > 0 , "totalIndexInterval=" + outerInstance . totalIndexInterval ) ; while ( hi >= lo ) { int mid = ( int ) ( ( ( uint ) ( lo + hi ) ) > > 1 ) ; long offset2 = fieldIndex . termOffsets . Get ( mid ) ; int length2 = ( int ) ( fieldIndex . termOffsets . Get ( 1 + mid ) - offset2 ) ; outerInstance . termBytesReader . FillSlice ( term , fieldIndex . termBytesStart + offset2 , length2 ) ; int delta = outerInstance . termComp . Compare ( target , term ) ; if ( delta < 0 ) { hi = mid - 1 ; } else if ( delta > 0 ) { lo = mid + 1 ; } else { Debug . Assert ( mid >= 0 ) ; ord = mid * outerInstance . totalIndexInterval ; return fieldIndex . termsStart + fieldIndex . termsDictOffsets . Get ( mid ) ; } } if ( hi < 0 ) { Debug . Assert ( hi == - 1 ) ; hi = 0 ; } long offset = fieldIndex . termOffsets . Get ( hi ) ; int length = ( int ) ( fieldIndex . termOffsets . Get ( 1 + hi ) - offset ) ; outerInstance . termBytesReader . FillSlice ( term , fieldIndex . termBytesStart + offset , length ) ; ord = hi * outerInstance . totalIndexInterval ; return fieldIndex . termsStart + fieldIndex . termsDictOffsets . Get ( hi ) ; }
public void write ( byte [ ] b , int offset , int len ) { int i = 0 ; while ( true ) { int nWritableChars = Math . min ( len - i , _ulrOutput . getAvailableSpace ( ) / 1 ) ; for ( ; nWritableChars > 0 ; nWritableChars -- ) { _ulrOutput . writeByte ( b [ offset + i ++ ] ) ; } if ( i >= len ) { break ; } writeContinue ( ) ; } }
public void Write ( byte [ ] b , int offset , int len ) { int i = 0 ; while ( true ) { int nWritableChars = Math . Min ( len - i , _ulrOutput . AvailableSpace / 1 ) ; for ( ; nWritableChars > 0 ; nWritableChars -- ) { _ulrOutput . WriteByte ( b [ offset + i ++ ] ) ; } if ( i >= len ) { break ; } WriteContinue ( ) ; } }
public FormatFlagsConversionMismatchException ( String f , char c ) { if ( f == null ) { throw new NullPointerException ( ) ; } this . f = f ; this . c = c ; }
public FormatFlagsConversionMismatchException ( string f , char c ) { if ( f == null ) { throw new System . ArgumentNullException ( ) ; } this . f = f ; this . c = c ; }
public List < Head > getNextHeads ( char c ) { return FileNameMatcher . EMPTY_HEAD_LIST ; }
public IList < Head > GetNextHeads ( char c ) { return FileNameMatcher . EMPTY_HEAD_LIST ; }
public void addQueryBuilder ( String nodeName , QueryBuilder builder ) { queryFactory . addBuilder ( nodeName , builder ) ; }
public virtual void AddQueryBuilder ( string nodeName , IQueryBuilder builder ) { m_queryFactory . AddBuilder ( nodeName , builder ) ; }
public int defineDecisionState ( DecisionState s ) { decisionToState . add ( s ) ; s . decision = decisionToState . size ( ) - 1 ; return s . decision ; }
public virtual int DefineDecisionState ( DecisionState s ) { decisionToState . Add ( s ) ; s . decision = decisionToState . Count - 1 ; decisionToDFA = Arrays . CopyOf ( decisionToDFA , decisionToState . Count ) ; decisionToDFA [ decisionToDFA . Length - 1 ] = new DFA ( s , s . decision ) ; return s . decision ; }
public void afterRefresh ( boolean didRefresh ) { refreshDone ( ) ; }
public virtual void AfterRefresh ( bool didRefresh ) { outerInstance . RefreshDone ( ) ; }
public static final int prevLF ( byte [ ] b , int ptr , char chrA ) { if ( ptr == b . length ) -- ptr ; while ( ptr >= 0 ) { final byte c = b [ ptr -- ] ; if ( c == chrA || c == '\n' ) return ptr ; } return ptr ; }
public static int PrevLF ( byte [ ] b , int ptr , char chrA ) { if ( ptr == b . Length ) { -- ptr ; } while ( ptr >= 0 ) { byte c = b [ ptr -- ] ; if ( c == chrA || c == '\n' ) { return ptr ; } } return ptr ; }
public ConsumeContentSourceTask ( PerfRunData runData ) { super ( runData ) ; source = runData . getContentSource ( ) ; }
public ConsumeContentSourceTask ( PerfRunData runData ) : base ( runData ) { source = runData . ContentSource ; }
public DescribeInstanceTypeOfferingsResult describeInstanceTypeOfferings ( DescribeInstanceTypeOfferingsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeInstanceTypeOfferings ( request ) ; }
public virtual DescribeInstanceTypeOfferingsResponse DescribeInstanceTypeOfferings ( DescribeInstanceTypeOfferingsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeInstanceTypeOfferingsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeInstanceTypeOfferingsResponseUnmarshaller . Instance ; return Invoke < DescribeInstanceTypeOfferingsResponse > ( request , options ) ; }
public void clearDrawingGroups ( ) { drawingGroups . clear ( ) ; }
public void ClearDrawingGroups ( ) { drawingGroups . Clear ( ) ; }
public String formatDate ( PersonIdent ident ) { switch ( format ) { case RAW : int offset = ident . getTimeZoneOffset ( ) ; String sign = offset < 0 ? "-" : "+" ; int offset2 ; if ( offset < 0 ) offset2 = - offset ; elseoffset2 = offset ; int hours = offset2 / 60 ; int minutes = offset2 % 60 ; return String . format ( "%d %s%02d%02d" , ident . getWhen ( ) . getTime ( ) / 1000 , sign , hours , minutes ) ; case RELATIVE : return RelativeDateFormatter . format ( ident . getWhen ( ) ) ; case LOCALELOCAL : case LOCAL : dateTimeInstance . setTimeZone ( SystemReader . getInstance ( ) . getTimeZone ( ) ) ; return dateTimeInstance . format ( ident . getWhen ( ) ) ; case LOCALE : TimeZone tz = ident . getTimeZone ( ) ; if ( tz == null ) tz = SystemReader . getInstance ( ) . getTimeZone ( ) ; dateTimeInstance . setTimeZone ( tz ) ; dateTimeInstance2 . setTimeZone ( tz ) ; return dateTimeInstance . format ( ident . getWhen ( ) ) + " " + dateTimeInstance2 . format ( ident . getWhen ( ) ) ; default : tz = ident . getTimeZone ( ) ; if ( tz == null ) tz = SystemReader . getInstance ( ) . getTimeZone ( ) ; dateTimeInstance . setTimeZone ( ident . getTimeZone ( ) ) ; return dateTimeInstance . format ( ident . getWhen ( ) ) ; } }
public virtual string FormatDate ( PersonIdent ident ) { TimeZoneInfo tz ; switch ( format ) { case GitDateFormatter . Format . RAW : { int offset = ident . GetTimeZoneOffset ( ) ; string sign = offset < 0 ? "-" : "+" ; int offset2 ; if ( offset < 0 ) { offset2 = - offset ; } else { offset2 = offset ; } int hours = offset2 / 60 ; int minutes = offset2 % 60 ; return string . Format ( "%d %s%02d%02d" , ident . GetWhen ( ) . GetTime ( ) / 1000 , sign , hours , minutes ) ; } case GitDateFormatter . Format . RELATIVE : { return RelativeDateFormatter . Format ( ident . GetWhen ( ) ) ; } case GitDateFormatter . Format . LOCALELOCAL : case GitDateFormatter . Format . LOCAL : { dateTimeInstance . SetTimeZone ( SystemReader . GetInstance ( ) . GetTimeZone ( ) ) ; return dateTimeInstance . Format ( ident . GetWhen ( ) ) ; } case GitDateFormatter . Format . LOCALE : { tz = ident . GetTimeZone ( ) ; if ( tz == null ) { tz = SystemReader . GetInstance ( ) . GetTimeZone ( ) ; } dateTimeInstance . SetTimeZone ( tz ) ; dateTimeInstance2 . SetTimeZone ( tz ) ; return dateTimeInstance . Format ( ident . GetWhen ( ) ) + " " + dateTimeInstance2 . Format ( ident . GetWhen ( ) ) ; } default : { tz = ident . GetTimeZone ( ) ; if ( tz == null ) { tz = SystemReader . GetInstance ( ) . GetTimeZone ( ) ; } dateTimeInstance . SetTimeZone ( ident . GetTimeZone ( ) ) ; return dateTimeInstance . Format ( ident . GetWhen ( ) ) ; break ; } } }
public DeregisterStreamConsumerResult deregisterStreamConsumer ( DeregisterStreamConsumerRequest request ) { request = beforeClientExecution ( request ) ; return executeDeregisterStreamConsumer ( request ) ; }
public virtual DeregisterStreamConsumerResponse DeregisterStreamConsumer ( DeregisterStreamConsumerRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeregisterStreamConsumerRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeregisterStreamConsumerResponseUnmarshaller . Instance ; return Invoke < DeregisterStreamConsumerResponse > ( request , options ) ; }
public boolean equals ( Object obj ) { if ( this == obj ) return true ; if ( obj == null ) return false ; if ( getClass ( ) != obj . getClass ( ) ) return false ; return true ; }
public override bool Equals ( object obj ) { if ( object . ReferenceEquals ( obj , this ) ) { return true ; } if ( object . ReferenceEquals ( null , obj ) ) { return object . ReferenceEquals ( null , this ) ; } if ( this . GetType ( ) != obj . GetType ( ) ) { return false ; } return true ; }
public ByteBuffer asReadOnlyBuffer ( ) { return ReadOnlyHeapByteBuffer . copy ( this , mark ) ; }
public override java . nio . ByteBuffer asReadOnlyBuffer ( ) { return java . nio . ReadOnlyHeapByteBuffer . copy ( this , _mark ) ; }
public long ramBytesUsed ( ) { long sizeInBytes = 0 ; for ( FieldIndexData entry : fields . values ( ) ) { sizeInBytes += entry . ramBytesUsed ( ) ; } return sizeInBytes ; }
public override long RamBytesUsed ( ) { long sizeInBytes = 0 ; foreach ( FieldIndexData entry in fields . Values ) { sizeInBytes += entry . RamBytesUsed ( ) ; } return sizeInBytes ; }
public CreateTransitGatewayRouteTableResult createTransitGatewayRouteTable ( CreateTransitGatewayRouteTableRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateTransitGatewayRouteTable ( request ) ; }
public virtual CreateTransitGatewayRouteTableResponse CreateTransitGatewayRouteTable ( CreateTransitGatewayRouteTableRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateTransitGatewayRouteTableRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateTransitGatewayRouteTableResponseUnmarshaller . Instance ; return Invoke < CreateTransitGatewayRouteTableResponse > ( request , options ) ; }
public int fillFields ( byte [ ] data , int offset , EscherRecordFactory recordFactory ) { int bytesRemaining = readHeader ( data , offset ) ; int pos = offset + 8 ; int size = 0 ; field_1_color1 = LittleEndian . getInt ( data , pos + size ) ; size += 4 ; field_2_color2 = LittleEndian . getInt ( data , pos + size ) ; size += 4 ; field_3_color3 = LittleEndian . getInt ( data , pos + size ) ; size += 4 ; field_4_color4 = LittleEndian . getInt ( data , pos + size ) ; size += 4 ; bytesRemaining -= size ; if ( bytesRemaining != 0 ) { throw new RecordFormatException ( "Expecting no remaining data but got " + bytesRemaining + " byte(s)." ) ; } return 8 + size + bytesRemaining ; }
public override int FillFields ( byte [ ] data , int offset , IEscherRecordFactory recordFactory ) { int bytesRemaining = ReadHeader ( data , offset ) ; int pos = offset + 8 ; int size = 0 ; field_1_color1 = LittleEndian . GetInt ( data , pos + size ) ; size += 4 ; field_2_color2 = LittleEndian . GetInt ( data , pos + size ) ; size += 4 ; field_3_color3 = LittleEndian . GetInt ( data , pos + size ) ; size += 4 ; field_4_color4 = LittleEndian . GetInt ( data , pos + size ) ; size += 4 ; bytesRemaining -= size ; if ( bytesRemaining != 0 ) throw new RecordFormatException ( "Expecting no remaining data but got " + bytesRemaining + " byte(s)." ) ; return 8 + size + bytesRemaining ; }
public CharSequence [ ] getMultiFields ( ) { return getQueryConfigHandler ( ) . get ( ConfigurationKeys . MULTI_FIELDS ) ; }
public virtual string [ ] GetMultiFields ( ) { return QueryConfigHandler . Get ( ConfigurationKeys . MULTI_FIELDS ) ; }
public boolean hasNext ( ) { return returnedNumber < getObjectCount ( ) ; }
public override bool HasNext ( ) { return this . returnedNumber < this . _enclosing . GetObjectCount ( ) ; }