question
stringlengths 33
1.59k
| target
stringlengths 33
1.58k
|
|---|---|
public DeleteFileSystemPolicyResult deleteFileSystemPolicy ( DeleteFileSystemPolicyRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteFileSystemPolicy ( request ) ; }
|
public virtual DeleteFileSystemPolicyResponse DeleteFileSystemPolicy ( DeleteFileSystemPolicyRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteFileSystemPolicyRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteFileSystemPolicyResponseUnmarshaller . Instance ; return Invoke < DeleteFileSystemPolicyResponse > ( request , options ) ; }
|
public ValueEval evaluate ( ValueEval [ ] args , int srcRowIndex , int srcColumnIndex ) { switch ( args . length ) { case 1 : return evaluate ( srcRowIndex , srcColumnIndex , args [ 0 ] ) ; case 0 : return new NumberEval ( srcColumnIndex + 1 ) ; } return ErrorEval . VALUE_INVALID ; }
|
public ValueEval Evaluate ( ValueEval [ ] args , int srcRowIndex , int srcColumnIndex ) { switch ( args . Length ) { case 1 : return Evaluate ( srcRowIndex , srcColumnIndex , args [ 0 ] ) ; case 0 : return new NumberEval ( srcColumnIndex + 1 ) ; } return ErrorEval . VALUE_INVALID ; }
|
public String getFormat ( short index ) { if ( _movedBuiltins ) { return _formats . get ( index ) ; } if ( index == - 1 ) { return null ; } String fmt = _formats . size ( ) > index ? _formats . get ( index ) : null ; if ( _builtinFormats . length > index && _builtinFormats [ index ] != null ) { if ( fmt != null ) { return fmt ; } else { return _builtinFormats [ index ] ; } } return fmt ; }
|
public String GetFormat ( short index ) { if ( movedBuiltins ) return ( String ) formats [ index ] ; if ( index == - 1 ) return null ; String fmt = formats . Count > index ? formats [ index ] : null ; if ( builtinFormats . Count > index && builtinFormats [ index ] != null ) { if ( fmt != null ) { return fmt ; } else { return builtinFormats [ index ] ; } } return fmt ; }
|
public boolean include ( RevWalk walker , RevCommit cmit ) throws StopWalkException , MissingObjectException , IncorrectObjectTypeException , IOException { count ++ ; if ( count > maxCount ) throw StopWalkException . INSTANCE ; return true ; }
|
public override bool Include ( RevWalk walker , RevCommit cmit ) { count ++ ; if ( count > maxCount ) { throw StopWalkException . INSTANCE ; } return true ; }
|
public final Buffer mark ( ) { mark = position ; return this ; }
|
public java . nio . Buffer mark ( ) { _mark = _position ; return this ; }
|
public ModifyClientPropertiesResult modifyClientProperties ( ModifyClientPropertiesRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyClientProperties ( request ) ; }
|
public virtual ModifyClientPropertiesResponse ModifyClientProperties ( ModifyClientPropertiesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyClientPropertiesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyClientPropertiesResponseUnmarshaller . Instance ; return Invoke < ModifyClientPropertiesResponse > ( request , options ) ; }
|
public void stopWalk ( ) { if ( parent != null ) parent . stopWalk ( ) ; }
|
public override void StopWalk ( ) { if ( parent != null ) { parent . StopWalk ( ) ; } }
|
public ObjectId toObjectId ( ) { return isComplete ( ) ? new ObjectId ( w1 , w2 , w3 , w4 , w5 ) : null ; }
|
public ObjectId ToObjectId ( ) { return IsComplete ? new ObjectId ( w1 , w2 , w3 , w4 , w5 ) : null ; }
|
public UpdateIntegrationResult updateIntegration ( UpdateIntegrationRequest request ) { request = beforeClientExecution ( request ) ; return executeUpdateIntegration ( request ) ; }
|
public virtual UpdateIntegrationResponse UpdateIntegration ( UpdateIntegrationRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = UpdateIntegrationRequestMarshaller . Instance ; options . ResponseUnmarshaller = UpdateIntegrationResponseUnmarshaller . Instance ; return Invoke < UpdateIntegrationResponse > ( request , options ) ; }
|
public PutDetectorResult putDetector ( PutDetectorRequest request ) { request = beforeClientExecution ( request ) ; return executePutDetector ( request ) ; }
|
public virtual PutDetectorResponse PutDetector ( PutDetectorRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutDetectorRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutDetectorResponseUnmarshaller . Instance ; return Invoke < PutDetectorResponse > ( request , options ) ; }
|
public long getLong ( String section , String name , long defaultValue ) { return typedGetter . getLong ( this , section , null , name , defaultValue ) ; }
|
public virtual long GetLong ( string section , string name , long defaultValue ) { return GetLong ( section , null , name , defaultValue ) ; }
|
public void resetBackgroundImage ( ) { EscherSimpleProperty property = getOptRecord ( ) . lookup ( EscherPropertyTypes . FILL__PATTERNTEXTURE ) ; if ( null != property ) { EscherBSERecord bse = getPatriarch ( ) . getSheet ( ) . getWorkbook ( ) . getWorkbook ( ) . getBSERecord ( property . getPropertyValue ( ) ) ; bse . setRef ( bse . getRef ( ) - 1 ) ; getOptRecord ( ) . removeEscherProperty ( EscherPropertyTypes . FILL__PATTERNTEXTURE ) ; } setPropertyValue ( new EscherSimpleProperty ( EscherPropertyTypes . FILL__FILLTYPE , false , false , FILL_TYPE_SOLID ) ) ; }
|
public void ResetBackgroundImage ( ) { EscherSimpleProperty property = ( EscherSimpleProperty ) GetOptRecord ( ) . Lookup ( EscherProperties . FILL__PATTERNTEXTURE ) ; if ( null != property ) { EscherBSERecord bse = ( ( HSSFWorkbook ) ( ( HSSFPatriarch ) Patriarch ) . Sheet . Workbook ) . Workbook . GetBSERecord ( property . PropertyValue ) ; bse . Ref = ( bse . Ref - 1 ) ; GetOptRecord ( ) . RemoveEscherProperty ( EscherProperties . FILL__PATTERNTEXTURE ) ; } SetPropertyValue ( new EscherSimpleProperty ( EscherProperties . FILL__FILLTYPE , false , false , FILL_TYPE_SOLID ) ) ; }
|
public void reset ( DataInput in , long valueCount ) { this . in = in ; assert valueCount >= 0 ; this . valueCount = valueCount ; off = blockSize ; ord = 0 ; }
|
public void Reset ( DataInput @ in , long valueCount ) { this . @ in = @ in ; Debug . Assert ( valueCount >= 0 ) ; this . valueCount = valueCount ; off = blockSize ; ord = 0 ; }
|
public ResetSnapshotAttributeResult resetSnapshotAttribute ( ResetSnapshotAttributeRequest request ) { request = beforeClientExecution ( request ) ; return executeResetSnapshotAttribute ( request ) ; }
|
public virtual ResetSnapshotAttributeResponse ResetSnapshotAttribute ( ResetSnapshotAttributeRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ResetSnapshotAttributeRequestMarshaller . Instance ; options . ResponseUnmarshaller = ResetSnapshotAttributeResponseUnmarshaller . Instance ; return Invoke < ResetSnapshotAttributeResponse > ( request , options ) ; }
|
public MutableValue duplicate ( ) { MutableValueStr v = new MutableValueStr ( ) ; v . value . copyBytes ( value ) ; v . exists = this . exists ; return v ; }
|
public override MutableValue Duplicate ( ) { MutableValueStr v = new MutableValueStr ( ) ; v . Value . CopyBytes ( Value ) ; v . Exists = this . Exists ; return v ; }
|
public int getColumnNumber ( ) { return column ; }
|
public virtual int getColumnNumber ( ) { return column ; }
|
public TokenStream create ( TokenStream input ) { if ( pattern != null ) { input = new PatternKeywordMarkerFilter ( input , pattern ) ; } if ( protectedWords != null ) { input = new SetKeywordMarkerFilter ( input , protectedWords ) ; } return input ; }
|
public override TokenStream Create ( TokenStream input ) { if ( pattern != null ) { input = new PatternKeywordMarkerFilter ( input , pattern ) ; } if ( protectedWords != null ) { input = new SetKeywordMarkerFilter ( input , protectedWords ) ; } return input ; }
|
public ElisionFilter ( TokenStream input , CharArraySet articles ) { super ( input ) ; this . articles = articles ; }
|
public ElisionFilter ( TokenStream input , CharArraySet articles ) : base ( input ) { this . articles = articles ; termAtt = AddAttribute < ICharTermAttribute > ( ) ; }
|
public static int strcmp ( String str , char [ ] a , int start ) { int i , d , len = str . length ( ) ; for ( i = 0 ; i < len ; i ++ ) { d = ( int ) str . charAt ( i ) - a [ start + i ] ; if ( d != 0 ) { return d ; } if ( a [ start + i ] == 0 ) { return d ; } } if ( a [ start + i ] != 0 ) { return - a [ start + i ] ; } return 0 ; }
|
public static int StrCmp ( string str , char [ ] a , int start ) { int i , d , len = str . Length ; for ( i = 0 ; i < len ; i ++ ) { d = ( int ) str [ i ] - a [ start + i ] ; if ( d != 0 ) { return d ; } if ( a [ start + i ] == 0 ) { return d ; } } if ( a [ start + i ] != 0 ) { return - a [ start + i ] ; } return 0 ; }
|
public NavigableSet < E > descendingSet ( ) { return ( descendingSet != null ) ? descendingSet : ( descendingSet = new TreeSet < E > ( backingMap . descendingMap ( ) ) ) ; }
|
public virtual java . util . NavigableSet < E > descendingSet ( ) { return ( _descendingSet != null ) ? _descendingSet : ( _descendingSet = new java . util . TreeSet < E > ( backingMap . descendingMap ( ) ) ) ; }
|
public DecisionInfo [ ] getDecisionInfo ( ) { return decisions ; }
|
public DecisionInfo [ ] getDecisionInfo ( ) { return decisions ; }
|
public PushConnection openPush ( ) throws NotSupportedException { throw new NotSupportedException ( JGitText . get ( ) . pushIsNotSupportedForBundleTransport ) ; }
|
public override PushConnection OpenPush ( ) { throw new NGit . Errors . NotSupportedException ( JGitText . Get ( ) . pushIsNotSupportedForBundleTransport ) ; }
|
public PutRecordResult putRecord ( PutRecordRequest request ) { request = beforeClientExecution ( request ) ; return executePutRecord ( request ) ; }
|
public virtual PutRecordResponse PutRecord ( PutRecordRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = PutRecordRequestMarshaller . Instance ; options . ResponseUnmarshaller = PutRecordResponseUnmarshaller . Instance ; return Invoke < PutRecordResponse > ( request , options ) ; }
|
public List < ? extends Token > getAllTokens ( ) { List < Token > tokens = new ArrayList < Token > ( ) ; Token t = nextToken ( ) ; while ( t . getType ( ) != Token . EOF ) { tokens . add ( t ) ; t = nextToken ( ) ; } return tokens ; }
|
public virtual IList < IToken > GetAllTokens ( ) { IList < IToken > tokens = new List < IToken > ( ) ; IToken t = NextToken ( ) ; while ( t . Type != TokenConstants . EOF ) { tokens . Add ( t ) ; t = NextToken ( ) ; } return tokens ; }
|
public ModifyInstanceCapacityReservationAttributesResult modifyInstanceCapacityReservationAttributes ( ModifyInstanceCapacityReservationAttributesRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyInstanceCapacityReservationAttributes ( request ) ; }
|
public virtual ModifyInstanceCapacityReservationAttributesResponse ModifyInstanceCapacityReservationAttributes ( ModifyInstanceCapacityReservationAttributesRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyInstanceCapacityReservationAttributesRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyInstanceCapacityReservationAttributesResponseUnmarshaller . Instance ; return Invoke < ModifyInstanceCapacityReservationAttributesResponse > ( request , options ) ; }
|
public MoveFacePhotosRequest ( ) { super ( "CloudPhoto" , "2017-07-11" , "MoveFacePhotos" , "cloudphoto" ) ; setProtocol ( ProtocolType . HTTPS ) ; }
|
public MoveFacePhotosRequest ( ) : base ( "CloudPhoto" , "2017-07-11" , "MoveFacePhotos" , "cloudphoto" , "openAPI" ) { Protocol = ProtocolType . HTTPS ; }
|
public RequestSpotFleetResult requestSpotFleet ( RequestSpotFleetRequest request ) { request = beforeClientExecution ( request ) ; return executeRequestSpotFleet ( request ) ; }
|
public virtual RequestSpotFleetResponse RequestSpotFleet ( RequestSpotFleetRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = RequestSpotFleetRequestMarshaller . Instance ; options . ResponseUnmarshaller = RequestSpotFleetResponseUnmarshaller . Instance ; return Invoke < RequestSpotFleetResponse > ( request , options ) ; }
|
public ListApplicationSnapshotsResult listApplicationSnapshots ( ListApplicationSnapshotsRequest request ) { request = beforeClientExecution ( request ) ; return executeListApplicationSnapshots ( request ) ; }
|
public virtual ListApplicationSnapshotsResponse ListApplicationSnapshots ( ListApplicationSnapshotsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListApplicationSnapshotsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListApplicationSnapshotsResponseUnmarshaller . Instance ; return Invoke < ListApplicationSnapshotsResponse > ( request , options ) ; }
|
public DefaultAcsClient ( IClientProfile profile , AlibabaCloudCredentials credentials ) { this ( profile , new StaticCredentialsProvider ( credentials ) ) ; }
|
public DefaultAcsClient ( IClientProfile profile , AlibabaCloudCredentials credentials ) : this ( ) { clientProfile = profile ; credentialsProvider = new StaticCredentialsProvider ( credentials ) ; clientProfile . SetCredentialsProvider ( credentialsProvider ) ; }
|
public ConcurrentRefUpdateException ( String message , Ref ref , RefUpdate . Result rc ) { super ( ( rc == null ) ? message : message + ". " + MessageFormat . format ( JGitText . get ( ) . refUpdateReturnCodeWas , rc ) ) ; this . rc = rc ; this . ref = ref ; }
|
public ConcurrentRefUpdateException ( string message , Ref @ ref , RefUpdate . Result rc ) : base ( ( rc == null ) ? message : message + ". " + MessageFormat . Format ( JGitText . Get ( ) . refUpdateReturnCodeWas , rc ) ) { this . rc = rc ; this . @ ref = @ ref ; }
|
public DeleteNetworkAclResult deleteNetworkAcl ( DeleteNetworkAclRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteNetworkAcl ( request ) ; }
|
public virtual DeleteNetworkAclResponse DeleteNetworkAcl ( DeleteNetworkAclRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteNetworkAclRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteNetworkAclResponseUnmarshaller . Instance ; return Invoke < DeleteNetworkAclResponse > ( request , options ) ; }
|
public ShortBuffer get ( short [ ] dst , int dstOffset , int shortCount ) { Arrays . checkOffsetAndCount ( dst . length , dstOffset , shortCount ) ; if ( shortCount > remaining ( ) ) { throw new BufferUnderflowException ( ) ; } for ( int i = dstOffset ; i < dstOffset + shortCount ; ++ i ) { dst [ i ] = get ( ) ; } return this ; }
|
public virtual java . nio . ShortBuffer get ( short [ ] dst , int dstOffset , int shortCount ) { java . util . Arrays . checkOffsetAndCount ( dst . Length , dstOffset , shortCount ) ; if ( shortCount > remaining ( ) ) { throw new java . nio . BufferUnderflowException ( ) ; } { for ( int i = dstOffset ; i < dstOffset + shortCount ; ++ i ) { dst [ i ] = get ( ) ; } } return this ; }
|
public static SharedValueManager createEmpty ( ) { return new SharedValueManager ( new SharedFormulaRecord [ 0 ] , new CellReference [ 0 ] , new ArrayRecord [ 0 ] , new TableRecord [ 0 ] ) ; }
|
public static SharedValueManager CreateEmpty ( ) { return new SharedValueManager ( new SharedFormulaRecord [ 0 ] , new CellReference [ 0 ] , new List < ArrayRecord > ( ) , new List < TableRecord > ( ) ) ; }
|
public DeleteCacheSecurityGroupResult deleteCacheSecurityGroup ( DeleteCacheSecurityGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteCacheSecurityGroup ( request ) ; }
|
public virtual DeleteCacheSecurityGroupResponse DeleteCacheSecurityGroup ( DeleteCacheSecurityGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteCacheSecurityGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteCacheSecurityGroupResponseUnmarshaller . Instance ; return Invoke < DeleteCacheSecurityGroupResponse > ( request , options ) ; }
|
public CreateGroupRequest ( String groupName ) { setGroupName ( groupName ) ; }
|
public CreateGroupRequest ( string groupName ) { _groupName = groupName ; }
|
public void setParentId ( AnyObjectId newParent ) { parentIds = new ObjectId [ ] { newParent . copy ( ) } ; }
|
public virtual void SetParentId ( AnyObjectId newParent ) { parentIds = new ObjectId [ ] { newParent . Copy ( ) } ; }
|
public static boolean hasConflictingAltSet ( Collection < BitSet > altsets ) { for ( BitSet alts : altsets ) { if ( alts . cardinality ( ) > 1 ) { return true ; } } return false ; }
|
public static bool HasConflictingAltSet ( IEnumerable < BitSet > altsets ) { foreach ( BitSet alts in altsets ) { if ( alts . Cardinality ( ) > 1 ) { return true ; } } return false ; }
|
public CommonRpcRequest ( String product ) { super ( product ) ; setAcceptFormat ( FormatType . JSON ) ; }
|
public CommonRpcRequest ( string product ) : base ( product ) { AcceptFormat = FormatType . JSON ; }
|
public K next ( ) { return super . nextEntry ( ) . key ; }
|
public override K next ( ) { return this . nextEntry ( ) . key ; }
|
public DeleteTransitGatewayMulticastDomainResult deleteTransitGatewayMulticastDomain ( DeleteTransitGatewayMulticastDomainRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteTransitGatewayMulticastDomain ( request ) ; }
|
public virtual DeleteTransitGatewayMulticastDomainResponse DeleteTransitGatewayMulticastDomain ( DeleteTransitGatewayMulticastDomainRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteTransitGatewayMulticastDomainRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteTransitGatewayMulticastDomainResponseUnmarshaller . Instance ; return Invoke < DeleteTransitGatewayMulticastDomainResponse > ( request , options ) ; }
|
public DescribeEventsResult describeEvents ( DescribeEventsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeEvents ( request ) ; }
|
public virtual DescribeEventsResponse DescribeEvents ( DescribeEventsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeEventsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeEventsResponseUnmarshaller . Instance ; return Invoke < DescribeEventsResponse > ( request , options ) ; }
|
public DescribeFleetsResult describeFleets ( DescribeFleetsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeFleets ( request ) ; }
|
public virtual DescribeFleetsResponse DescribeFleets ( DescribeFleetsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeFleetsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeFleetsResponseUnmarshaller . Instance ; return Invoke < DescribeFleetsResponse > ( request , options ) ; }
|
public DescribeDataRepositoryTasksResult describeDataRepositoryTasks ( DescribeDataRepositoryTasksRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeDataRepositoryTasks ( request ) ; }
|
public virtual DescribeDataRepositoryTasksResponse DescribeDataRepositoryTasks ( DescribeDataRepositoryTasksRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeDataRepositoryTasksRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeDataRepositoryTasksResponseUnmarshaller . Instance ; return Invoke < DescribeDataRepositoryTasksResponse > ( request , options ) ; }
|
public StartLabelDetectionResult startLabelDetection ( StartLabelDetectionRequest request ) { request = beforeClientExecution ( request ) ; return executeStartLabelDetection ( request ) ; }
|
public virtual StartLabelDetectionResponse StartLabelDetection ( StartLabelDetectionRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartLabelDetectionRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartLabelDetectionResponseUnmarshaller . Instance ; return Invoke < StartLabelDetectionResponse > ( request , options ) ; }
|
public static long getLastCommitGeneration ( String [ ] files ) { long max = - 1 ; for ( String file : files ) { if ( file . startsWith ( IndexFileNames . SEGMENTS ) && file . startsWith ( OLD_SEGMENTS_GEN ) == false ) { long gen = generationFromSegmentsFileName ( file ) ; if ( gen > max ) { max = gen ; } } } return max ; }
|
public static long GetLastCommitGeneration ( string [ ] files ) { if ( files == null ) { return - 1 ; } long max = - 1 ; foreach ( var file in files ) { if ( file . StartsWith ( IndexFileNames . SEGMENTS , StringComparison . Ordinal ) && ! file . Equals ( IndexFileNames . SEGMENTS_GEN , StringComparison . Ordinal ) ) { long gen = GenerationFromSegmentsFileName ( file ) ; if ( gen > max ) { max = gen ; } } } return max ; }
|
public EnableFastSnapshotRestoresResult enableFastSnapshotRestores ( EnableFastSnapshotRestoresRequest request ) { request = beforeClientExecution ( request ) ; return executeEnableFastSnapshotRestores ( request ) ; }
|
public virtual EnableFastSnapshotRestoresResponse EnableFastSnapshotRestores ( EnableFastSnapshotRestoresRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = EnableFastSnapshotRestoresRequestMarshaller . Instance ; options . ResponseUnmarshaller = EnableFastSnapshotRestoresResponseUnmarshaller . Instance ; return Invoke < EnableFastSnapshotRestoresResponse > ( request , options ) ; }
|
public ListVPCAssociationAuthorizationsResult listVPCAssociationAuthorizations ( ListVPCAssociationAuthorizationsRequest request ) { request = beforeClientExecution ( request ) ; return executeListVPCAssociationAuthorizations ( request ) ; }
|
public virtual ListVPCAssociationAuthorizationsResponse ListVPCAssociationAuthorizations ( ListVPCAssociationAuthorizationsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListVPCAssociationAuthorizationsRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListVPCAssociationAuthorizationsResponseUnmarshaller . Instance ; return Invoke < ListVPCAssociationAuthorizationsResponse > ( request , options ) ; }
|
public Thumbnail ( final byte [ ] thumbnailData ) { this . _thumbnailData = thumbnailData ; }
|
public Thumbnail ( byte [ ] thumbnailData ) { this . thumbnailData = thumbnailData ; }
|
public final Explanation explain ( BasicStats stats , double tfn ) { return Explanation . match ( ( float ) ( scoreTimes1pTfn ( stats ) / ( 1 + tfn ) ) , getClass ( ) . getSimpleName ( ) + ", computed as 1 / (tfn + 1) from:" , Explanation . match ( ( float ) tfn , "tfn, normalized term frequency" ) ) ; }
|
public override sealed Explanation Explain ( BasicStats stats , float tfn ) { Explanation result = new Explanation ( ) ; result . Description = this . GetType ( ) . Name + ", computed from: " ; result . Value = Score ( stats , tfn ) ; result . AddDetail ( new Explanation ( tfn , "tfn" ) ) ; return result ; }
|
public static String [ ] parse ( String line ) { boolean insideQuote = false ; ArrayList < String > result = new ArrayList < > ( ) ; int quoteCount = 0 ; StringBuilder sb = new StringBuilder ( ) ; for ( int i = 0 ; i < line . length ( ) ; i ++ ) { char c = line . charAt ( i ) ; if ( c == QUOTE ) { insideQuote = ! insideQuote ; quoteCount ++ ; } if ( c == COMMA && ! insideQuote ) { String value = sb . toString ( ) ; value = unQuoteUnEscape ( value ) ; result . add ( value ) ; sb . setLength ( 0 ) ; continue ; } sb . append ( c ) ; } result . add ( sb . toString ( ) ) ; if ( quoteCount % 2 != 0 ) { return new String [ 0 ] ; } return result . toArray ( new String [ result . size ( ) ] ) ; }
|
public static string [ ] Parse ( string line ) { bool insideQuote = false ; List < string > result = new List < string > ( ) ; int quoteCount = 0 ; StringBuilder sb = new StringBuilder ( ) ; for ( int i = 0 ; i < line . Length ; i ++ ) { char c = line [ i ] ; if ( c == QUOTE ) { insideQuote = ! insideQuote ; quoteCount ++ ; } if ( c == COMMA && ! insideQuote ) { string value = sb . ToString ( ) ; value = UnQuoteUnEscape ( value ) ; result . Add ( value ) ; sb . Length = 0 ; continue ; } sb . Append ( c ) ; } result . Add ( sb . ToString ( ) ) ; if ( quoteCount % 2 != 0 ) { return new string [ 0 ] ; } return result . ToArray ( ) ; }
|
public String toString ( String field ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . append ( "mask(" ) ; buffer . append ( maskedQuery . toString ( field ) ) ; buffer . append ( ")" ) ; buffer . append ( " as " ) ; buffer . append ( this . field ) ; return buffer . toString ( ) ; }
|
public override string ToString ( string field ) { StringBuilder buffer = new StringBuilder ( ) ; buffer . Append ( "mask(" ) ; buffer . Append ( maskedQuery . ToString ( field ) ) ; buffer . Append ( ")" ) ; buffer . Append ( ToStringUtils . Boost ( Boost ) ) ; buffer . Append ( " as " ) ; buffer . Append ( this . field ) ; return buffer . ToString ( ) ; }
|
public static RevFilter create ( String pattern ) { if ( pattern . length ( ) == 0 ) throw new IllegalArgumentException ( JGitText . get ( ) . cannotMatchOnEmptyString ) ; if ( SubStringRevFilter . safe ( pattern ) ) return new SubStringSearch ( pattern ) ; return new PatternSearch ( pattern ) ; }
|
public static RevFilter Create ( string pattern ) { if ( pattern . Length == 0 ) { throw new ArgumentException ( JGitText . Get ( ) . cannotMatchOnEmptyString ) ; } if ( SubStringRevFilter . Safe ( pattern ) ) { return new AuthorRevFilter . SubStringSearch ( pattern ) ; } return new AuthorRevFilter . PatternSearch ( pattern ) ; }
|
public NotImplementedFunctionException ( String functionName ) { super ( functionName ) ; this . functionName = functionName ; }
|
public NotImplementedFunctionException ( string functionName ) : base ( functionName ) { this . functionName = functionName ; }
|
public DeleteResourceResult deleteResource ( DeleteResourceRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteResource ( request ) ; }
|
public virtual DeleteResourceResponse DeleteResource ( DeleteResourceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteResourceRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteResourceResponseUnmarshaller . Instance ; return Invoke < DeleteResourceResponse > ( request , options ) ; }
|
public PaletteRecord ( ) { PColor [ ] defaultPalette = createDefaultPalette ( ) ; _colors . ensureCapacity ( defaultPalette . length ) ; Collections . addAll ( _colors , defaultPalette ) ; }
|
public PaletteRecord ( ) { PColor [ ] defaultPalette = CreateDefaultPalette ( ) ; field_2_colors = new List < PColor > ( defaultPalette . Length ) ; for ( int i = 0 ; i < defaultPalette . Length ; i ++ ) { field_2_colors . Add ( defaultPalette [ i ] ) ; } }
|
public GetRepoBuildLogsRequest ( ) { super ( "cr" , "2016-06-07" , "GetRepoBuildLogs" , "cr" ) ; setUriPattern ( "/repos/[RepoNamespace]/[RepoName]/build/[BuildId]/logs" ) ; setMethod ( MethodType . GET ) ; }
|
public GetRepoBuildLogsRequest ( ) : base ( "cr" , "2016-06-07" , "GetRepoBuildLogs" , "cr" , "openAPI" ) { UriPattern = "/repos/[RepoNamespace]/[RepoName]/build/[BuildId]/logs" ; Method = MethodType . GET ; }
|
public String toString ( ) { return "SortedSetDocValuesFacetField(dim=" + dim + " label=" + label + ")" ; }
|
public override string ToString ( ) { return "SortedSetDocValuesFacetField(dim=" + Dim + " label=" + Label + ")" ; }
|
public Break ( int main , int subFrom , int subTo ) { this . main = main ; this . subFrom = subFrom ; this . subTo = subTo ; }
|
public Break ( int main , int subFrom , int subTo ) { this . main = main ; this . subFrom = subFrom ; this . subTo = subTo ; }
|
public void setParams ( String params ) { super . setParams ( params ) ; docSize = ( int ) Float . parseFloat ( params ) ; }
|
public override void SetParams ( string @ params ) { base . SetParams ( @ params ) ; docSize = ( int ) float . Parse ( @ params , CultureInfo . InvariantCulture ) ; }
|
public static double pv ( double r , double n , double y , double f , boolean t ) { double retval = 0 ; if ( r == 0 ) { retval = - 1 * ( ( n * y ) + f ) ; } else { double r1 = r + 1 ; retval = ( ( ( 1 - Math . pow ( r1 , n ) ) / r ) * ( t ? r1 : 1 ) * y - f ) / Math . pow ( r1 , n ) ; } return retval ; }
|
public static double pv ( double r , double n , double y , double f , bool t ) { double retval = 0 ; if ( r == 0 ) { retval = - 1 * ( ( n * y ) + f ) ; } else { double r1 = r + 1 ; retval = ( ( ( 1 - Math . Pow ( r1 , n ) ) / r ) * ( t ? r1 : 1 ) * y - f ) / Math . Pow ( r1 , n ) ; } return retval ; }
|
public int compareTo ( File another ) { return this . getPath ( ) . compareTo ( another . getPath ( ) ) ; }
|
public int compareTo ( java . io . File another ) { return string . CompareOrdinal ( this . getPath ( ) , another . getPath ( ) ) ; }
|
public void writeByte ( int value ) throws IOException { checkWritePrimitiveTypes ( ) ; primitiveTypes . writeByte ( value ) ; }
|
public virtual void writeByte ( int value ) { throw new System . NotImplementedException ( ) ; }
|
public String toString ( ) { StringBuilder buffer = new StringBuilder ( "[Data Table - Parent cell is an interior cell in a data table]\n" ) ; buffer . append ( "top left row = " ) . append ( getRow ( ) ) . append ( "\n" ) ; buffer . append ( "top left col = " ) . append ( getColumn ( ) ) . append ( "\n" ) ; return buffer . toString ( ) ; }
|
public override String ToString ( ) { StringBuilder buffer = new StringBuilder ( "[Data Table - Parent cell is an interior cell in a data table]\n" ) ; buffer . Append ( "top left row = " ) . Append ( Row ) . Append ( "\n" ) ; buffer . Append ( "top left col = " ) . Append ( Column ) . Append ( "\n" ) ; return buffer . ToString ( ) ; }
|
public Credential ( ) { this . refreshDate = new Date ( ) ; }
|
public Credential ( ) { RefreshDate = DateTime . UtcNow ; }
|
public NavigableMap < K , V > subMap ( K fromInclusive , K toExclusive ) { return subMap ( fromInclusive , INCLUSIVE , toExclusive , EXCLUSIVE ) ; }
|
public java . util . NavigableMap < K , V > subMap ( K fromInclusive , K toExclusive ) { return this . subMap ( fromInclusive , java . util . TreeMap . Bound . INCLUSIVE , toExclusive , java . util . TreeMap . Bound . EXCLUSIVE ) ; }
|
public DescribeLedgerResult describeLedger ( DescribeLedgerRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeLedger ( request ) ; }
|
public virtual DescribeLedgerResponse DescribeLedger ( DescribeLedgerRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeLedgerRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeLedgerResponseUnmarshaller . Instance ; return Invoke < DescribeLedgerResponse > ( request , options ) ; }
|
public boolean isNoPrefix ( ) { return noPrefix ; }
|
public virtual bool IsNoPrefix ( ) { return noPrefix ; }
|
public static Policy fromJson ( String jsonString ) { return fromJson ( jsonString , new PolicyReaderOptions ( ) ) ; }
|
public static Policy FromJson ( string json ) { return JsonPolicyReader . ReadJsonStringToPolicy ( json ) ; }
|
public GetPhoneNumberResult getPhoneNumber ( GetPhoneNumberRequest request ) { request = beforeClientExecution ( request ) ; return executeGetPhoneNumber ( request ) ; }
|
public virtual GetPhoneNumberResponse GetPhoneNumber ( GetPhoneNumberRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetPhoneNumberRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetPhoneNumberResponseUnmarshaller . Instance ; return Invoke < GetPhoneNumberResponse > ( request , options ) ; }
|
public static void writeUnicodeString ( LittleEndianOutput out , String value ) { int nChars = value . length ( ) ; out . writeShort ( nChars ) ; boolean is16Bit = hasMultibyte ( value ) ; out . writeByte ( is16Bit ? 0x01 : 0x00 ) ; if ( is16Bit ) { putUnicodeLE ( value , out ) ; } else { putCompressedUnicode ( value , out ) ; } }
|
public static void WriteUnicodeString ( ILittleEndianOutput out1 , String value ) { int nChars = value . Length ; out1 . WriteShort ( nChars ) ; bool is16Bit = HasMultibyte ( value ) ; out1 . WriteByte ( is16Bit ? 0x01 : 0x00 ) ; if ( is16Bit ) { PutUnicodeLE ( value , out1 ) ; } else { PutCompressedUnicode ( value , out1 ) ; } }
|
public DescribeCoipPoolsResult describeCoipPools ( DescribeCoipPoolsRequest request ) { request = beforeClientExecution ( request ) ; return executeDescribeCoipPools ( request ) ; }
|
public virtual DescribeCoipPoolsResponse DescribeCoipPools ( DescribeCoipPoolsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DescribeCoipPoolsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DescribeCoipPoolsResponseUnmarshaller . Instance ; return Invoke < DescribeCoipPoolsResponse > ( request , options ) ; }
|
public void removeRow ( Row row ) { HSSFRow hrow = ( HSSFRow ) row ; if ( row . getSheet ( ) != this ) { throw new IllegalArgumentException ( "Specified row does not belong to this sheet" ) ; } for ( Cell cell : row ) { HSSFCell xcell = ( HSSFCell ) cell ; if ( xcell . isPartOfArrayFormulaGroup ( ) ) { String msg = "Row[rownum=" + row . getRowNum ( ) + "] contains cell(s) included in a multi-cell array formula. You cannot change part of an array." ; xcell . tryToDeleteArrayFormula ( msg ) ; } } if ( _rows . size ( ) > 0 ) { Integer key = Integer . valueOf ( row . getRowNum ( ) ) ; HSSFRow removedRow = _rows . remove ( key ) ; if ( removedRow != row ) { throw new IllegalArgumentException ( "Specified row does not belong to this sheet" ) ; } if ( hrow . getRowNum ( ) == getLastRowNum ( ) ) { _lastrow = findLastRow ( _lastrow ) ; } if ( hrow . getRowNum ( ) == getFirstRowNum ( ) ) { _firstrow = findFirstRow ( _firstrow ) ; } _sheet . removeRow ( hrow . getRowRecord ( ) ) ; if ( _rows . size ( ) == 0 ) { _firstrow = - 1 ; _lastrow = - 1 ; } } }
|
public void RemoveRow ( IRow row ) { if ( row . Sheet != this ) { throw new ArgumentException ( "Specified row does not belong to this sheet" ) ; } foreach ( ICell cell in row ) { HSSFCell xcell = ( HSSFCell ) cell ; if ( xcell . IsPartOfArrayFormulaGroup ) { String msg = "Row[rownum=" + row . RowNum + "] contains cell(s) included in a multi-cell array formula. You cannot change part of an array." ; xcell . NotifyArrayFormulaChanging ( msg ) ; } } if ( rows . Count > 0 ) { int key = row . RowNum ; HSSFRow removedRow = ( HSSFRow ) rows [ key ] ; rows . Remove ( key ) ; if ( removedRow != row ) { if ( removedRow != null ) { rows [ key ] = removedRow ; } throw new InvalidOperationException ( "Specified row does not belong to this _sheet" ) ; } if ( row . RowNum == LastRowNum ) { lastrow = FindLastRow ( lastrow ) ; } if ( row . RowNum == FirstRowNum ) { firstrow = FindFirstRow ( firstrow ) ; } CellValueRecordInterface [ ] cellvaluerecods = _sheet . GetValueRecords ( ) ; for ( int i = 0 ; i < cellvaluerecods . Length ; i ++ ) { if ( cellvaluerecods [ i ] . Row == key ) { _sheet . RemoveValueRecord ( key , cellvaluerecods [ i ] ) ; } } _sheet . RemoveRow ( ( ( HSSFRow ) row ) . RowRecord ) ; } }
|
public static TreeFilter create ( Collection < TreeFilter > list ) { if ( list . size ( ) < 2 ) throw new IllegalArgumentException ( JGitText . get ( ) . atLeastTwoFiltersNeeded ) ; final TreeFilter [ ] subfilters = new TreeFilter [ list . size ( ) ] ; list . toArray ( subfilters ) ; if ( subfilters . length == 2 ) return create ( subfilters [ 0 ] , subfilters [ 1 ] ) ; return new List ( subfilters ) ; }
|
public static TreeFilter Create ( ICollection < TreeFilter > list ) { if ( list . Count < 2 ) { throw new ArgumentException ( JGitText . Get ( ) . atLeastTwoFiltersNeeded ) ; } TreeFilter [ ] subfilters = new TreeFilter [ list . Count ] ; Sharpen . Collections . ToArray ( list , subfilters ) ; if ( subfilters . Length == 2 ) { return Create ( subfilters [ 0 ] , subfilters [ 1 ] ) ; } return new OrTreeFilter . List ( subfilters ) ; }
|
public SpanOrTermsBuilder ( Analyzer analyzer ) { this . analyzer = analyzer ; }
|
public SpanOrTermsBuilder ( Analyzer analyzer ) { this . analyzer = analyzer ; }
|
public boolean isReadOnly ( ) { return byteBuffer . isReadOnly ( ) ; }
|
public override bool isReadOnly ( ) { return byteBuffer . isReadOnly ( ) ; }
|
public void setValuesCellRange ( CellRangeAddressBase range ) { Integer count = setVerticalCellRange ( dataValues , range ) ; if ( count == null ) { return ; } series . setNumValues ( ( short ) ( int ) count ) ; }
|
public void SetValuesCellRange ( CellRangeAddressBase range ) { int count = SetVerticalCellRange ( dataValues , range ) ; series . NumValues = ( short ) count ; }
|
public GlobalReplicationGroup modifyGlobalReplicationGroup ( ModifyGlobalReplicationGroupRequest request ) { request = beforeClientExecution ( request ) ; return executeModifyGlobalReplicationGroup ( request ) ; }
|
public virtual ModifyGlobalReplicationGroupResponse ModifyGlobalReplicationGroup ( ModifyGlobalReplicationGroupRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ModifyGlobalReplicationGroupRequestMarshaller . Instance ; options . ResponseUnmarshaller = ModifyGlobalReplicationGroupResponseUnmarshaller . Instance ; return Invoke < ModifyGlobalReplicationGroupResponse > ( request , options ) ; }
|
public CreateTrialResult createTrial ( CreateTrialRequest request ) { request = beforeClientExecution ( request ) ; return executeCreateTrial ( request ) ; }
|
public virtual CreateTrialResponse CreateTrial ( CreateTrialRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = CreateTrialRequestMarshaller . Instance ; options . ResponseUnmarshaller = CreateTrialResponseUnmarshaller . Instance ; return Invoke < CreateTrialResponse > ( request , options ) ; }
|
public void preWrite ( ) { List < Property > pList = new ArrayList < > ( ) ; int i = 0 ; for ( Property p : _properties ) { if ( p == null ) continue ; p . setIndex ( i ++ ) ; pList . add ( p ) ; } for ( Property p : pList ) p . preWrite ( ) ; }
|
public void PreWrite ( ) { List < Property > properties = new List < Property > ( _properties . Count ) ; for ( int i = 0 ; i < _properties . Count ; i ++ ) properties . Add ( _properties [ i ] ) ; for ( int k = 0 ; k < properties . Count ; k ++ ) { properties [ k ] . Index = k ; } _blocks = PropertyBlock . CreatePropertyBlockArray ( _bigBigBlockSize , properties ) ; for ( int k = 0 ; k < properties . Count ; k ++ ) { properties [ k ] . PreWrite ( ) ; } }
|
public E first ( ) { return backingMap . firstKey ( ) ; }
|
public virtual E first ( ) { return backingMap . firstKey ( ) ; }
|
public int available ( ) { return data . length - ptr ; }
|
public override int Available ( ) { return data . Length - ptr ; }
|
public GetHostedZoneCountResult getHostedZoneCount ( GetHostedZoneCountRequest request ) { request = beforeClientExecution ( request ) ; return executeGetHostedZoneCount ( request ) ; }
|
public virtual GetHostedZoneCountResponse GetHostedZoneCount ( GetHostedZoneCountRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = GetHostedZoneCountRequestMarshaller . Instance ; options . ResponseUnmarshaller = GetHostedZoneCountResponseUnmarshaller . Instance ; return Invoke < GetHostedZoneCountResponse > ( request , options ) ; }
|
public LookupResult [ ] getResults ( ) { int size = size ( ) ; LookupResult [ ] res = new LookupResult [ size ] ; for ( int i = size - 1 ; i >= 0 ; i -- ) { res [ i ] = pop ( ) ; } return res ; }
|
public LookupResult [ ] GetResults ( ) { int size = Count ; var res = new LookupResult [ size ] ; for ( int i = size - 1 ; i >= 0 ; i -- ) { res [ i ] = Pop ( ) ; } return res ; }
|
public void add ( Transition t ) { if ( transitions . length < next + 3 ) { transitions = ArrayUtil . grow ( transitions , next + 3 ) ; } transitions [ next ] = t . dest ; transitions [ next + 1 ] = t . min ; transitions [ next + 2 ] = t . max ; next += 3 ; }
|
public void Add ( Transition t ) { if ( transitions . Length == count ) { Transition [ ] newArray = new Transition [ ArrayUtil . Oversize ( 1 + count , RamUsageEstimator . NUM_BYTES_OBJECT_REF ) ] ; Array . Copy ( transitions , 0 , newArray , 0 , count ) ; transitions = newArray ; } transitions [ count ++ ] = t ; }
|
public String getFormatString ( int formatIndex ) { String format = null ; if ( formatIndex >= HSSFDataFormat . getNumberOfBuiltinBuiltinFormats ( ) ) { FormatRecord tfr = _customFormatRecords . get ( Integer . valueOf ( formatIndex ) ) ; if ( tfr == null ) { logger . log ( POILogger . ERROR , "Requested format at index " + formatIndex + ", but it wasn't found" ) ; } else { format = tfr . getFormatString ( ) ; } } else { format = HSSFDataFormat . getBuiltinFormat ( ( short ) formatIndex ) ; } return format ; }
|
public String GetFormatString ( int formatIndex ) { String format = null ; if ( formatIndex >= HSSFDataFormat . NumberOfBuiltinBuiltinFormats ) { FormatRecord tfr = ( FormatRecord ) customFormatRecords [ formatIndex ] ; if ( tfr == null ) { logger . Log ( POILogger . ERROR , "Requested format at index " + formatIndex + ", but it wasn't found" ) ; } else { format = tfr . FormatString ; } } else { format = HSSFDataFormat . GetBuiltinFormat ( ( short ) formatIndex ) ; } return format ; }
|
public DisassociateDelegateFromResourceResult disassociateDelegateFromResource ( DisassociateDelegateFromResourceRequest request ) { request = beforeClientExecution ( request ) ; return executeDisassociateDelegateFromResource ( request ) ; }
|
public virtual DisassociateDelegateFromResourceResponse DisassociateDelegateFromResource ( DisassociateDelegateFromResourceRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DisassociateDelegateFromResourceRequestMarshaller . Instance ; options . ResponseUnmarshaller = DisassociateDelegateFromResourceResponseUnmarshaller . Instance ; return Invoke < DisassociateDelegateFromResourceResponse > ( request , options ) ; }
|
public void readFully ( byte [ ] dst , int offset , int byteCount ) throws IOException { primitiveTypes . readFully ( dst , offset , byteCount ) ; }
|
public virtual void readFully ( byte [ ] dst , int offset , int byteCount ) { throw new System . NotImplementedException ( ) ; }
|
public StartDocumentClassificationJobResult startDocumentClassificationJob ( StartDocumentClassificationJobRequest request ) { request = beforeClientExecution ( request ) ; return executeStartDocumentClassificationJob ( request ) ; }
|
public virtual StartDocumentClassificationJobResponse StartDocumentClassificationJob ( StartDocumentClassificationJobRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = StartDocumentClassificationJobRequestMarshaller . Instance ; options . ResponseUnmarshaller = StartDocumentClassificationJobResponseUnmarshaller . Instance ; return Invoke < StartDocumentClassificationJobResponse > ( request , options ) ; }
|
public final float [ ] array ( ) { return protectedArray ( ) ; }
|
public sealed override object array ( ) { return protectedArray ( ) ; }
|
public void prunePacked ( ) throws IOException { ObjectDirectory objdb = repo . getObjectDatabase ( ) ; Collection < PackFile > packs = objdb . getPacks ( ) ; File objects = repo . getObjectsDirectory ( ) ; String [ ] fanout = objects . list ( ) ; if ( fanout != null && fanout . length > 0 ) { pm . beginTask ( JGitText . get ( ) . pruneLoosePackedObjects , fanout . length ) ; try { for ( String d : fanout ) { checkCancelled ( ) ; pm . update ( 1 ) ; if ( d . length ( ) != 2 ) continue ; String [ ] entries = new File ( objects , d ) . list ( ) ; if ( entries == null ) continue ; for ( String e : entries ) { checkCancelled ( ) ; if ( e . length ( ) != Constants . OBJECT_ID_STRING_LENGTH - 2 ) continue ; ObjectId id ; try { id = ObjectId . fromString ( d + e ) ; } catch ( IllegalArgumentException notAnObject ) { continue ; } boolean found = false ; for ( PackFile p : packs ) { checkCancelled ( ) ; if ( p . hasObject ( id ) ) { found = true ; break ; } } if ( found ) FileUtils . delete ( objdb . fileFor ( id ) , FileUtils . RETRY | FileUtils . SKIP_MISSING | FileUtils . IGNORE_ERRORS ) ; } } } finally { pm . endTask ( ) ; } } }
|
public virtual void PrunePacked ( ) { ObjectDirectory objdb = ( ( ObjectDirectory ) repo . ObjectDatabase ) ; ICollection < PackFile > packs = objdb . GetPacks ( ) ; FilePath objects = repo . ObjectsDirectory ; string [ ] fanout = objects . List ( ) ; if ( fanout != null && fanout . Length > 0 ) { pm . BeginTask ( JGitText . Get ( ) . pruneLoosePackedObjects , fanout . Length ) ; try { foreach ( string d in fanout ) { pm . Update ( 1 ) ; if ( d . Length != 2 ) { continue ; } string [ ] entries = new FilePath ( objects , d ) . List ( ) ; if ( entries == null ) { continue ; } foreach ( string e in entries ) { if ( e . Length != Constants . OBJECT_ID_STRING_LENGTH - 2 ) { continue ; } ObjectId id ; try { id = ObjectId . FromString ( d + e ) ; } catch ( ArgumentException ) { continue ; } bool found = false ; foreach ( PackFile p in packs ) { if ( p . HasObject ( id ) ) { found = true ; break ; } } if ( found ) { FileUtils . Delete ( objdb . FileFor ( id ) , FileUtils . RETRY | FileUtils . SKIP_MISSING | FileUtils . IGNORE_ERRORS ) ; } } } } finally { pm . EndTask ( ) ; } } }
|
public ListJobsByPipelineResult listJobsByPipeline ( ListJobsByPipelineRequest request ) { request = beforeClientExecution ( request ) ; return executeListJobsByPipeline ( request ) ; }
|
public virtual ListJobsByPipelineResponse ListJobsByPipeline ( ListJobsByPipelineRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = ListJobsByPipelineRequestMarshaller . Instance ; options . ResponseUnmarshaller = ListJobsByPipelineResponseUnmarshaller . Instance ; return Invoke < ListJobsByPipelineResponse > ( request , options ) ; }
|
public SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialRequest ( ) { super ( "Domain" , "2018-01-29" , "SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential" ) ; setMethod ( MethodType . POST ) ; }
|
public SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredentialRequest ( ) : base ( "Domain-intl" , "2017-12-18" , "SaveTaskForSubmittingDomainRealNameVerificationByIdentityCredential" , "domain" , "openAPI" ) { Method = MethodType . POST ; }
|
public DeleteDhcpOptionsResult deleteDhcpOptions ( DeleteDhcpOptionsRequest request ) { request = beforeClientExecution ( request ) ; return executeDeleteDhcpOptions ( request ) ; }
|
public virtual DeleteDhcpOptionsResponse DeleteDhcpOptions ( DeleteDhcpOptionsRequest request ) { var options = new InvokeOptions ( ) ; options . RequestMarshaller = DeleteDhcpOptionsRequestMarshaller . Instance ; options . ResponseUnmarshaller = DeleteDhcpOptionsResponseUnmarshaller . Instance ; return Invoke < DeleteDhcpOptionsResponse > ( request , options ) ; }
|
public String getSheetLastNameByExternSheet ( int externSheetIndex ) { return _iBook . findSheetLastNameFromExternSheet ( externSheetIndex ) ; }
|
public String GetSheetLastNameByExternSheet ( int externSheetIndex ) { return _iBook . FindSheetLastNameFromExternSheet ( externSheetIndex ) ; }
|
public InMemorySorter ( Comparator < BytesRef > comparator ) { this . comparator = comparator ; }
|
public InMemorySorter ( IComparer < BytesRef > comparer ) { this . comparer = comparer ; }
|
public boolean isSymbolic ( ) { return true ; }
|
public virtual bool IsSymbolic ( ) { return true ; }
|
public static ValueEval chooseSingleElementFromArea ( AreaEval ae , int srcCellRow , int srcCellCol ) throws EvaluationException { ValueEval result = chooseSingleElementFromAreaInternal ( ae , srcCellRow , srcCellCol ) ; if ( result instanceof ErrorEval ) { throw new EvaluationException ( ( ErrorEval ) result ) ; } return result ; }
|
public static ValueEval ChooseSingleElementFromArea ( AreaEval ae , int srcCellRow , int srcCellCol ) { ValueEval result = ChooseSingleElementFromAreaInternal ( ae , srcCellRow , srcCellCol ) ; if ( result is ErrorEval ) { throw new EvaluationException ( ( ErrorEval ) result ) ; } return result ; }
|
public int freeBlocks ( int num ) { assert num >= 0 : "free blocks must be >= 0 but was: " + num ; final int stop ; final int count ; if ( num > freeBlocks ) { stop = 0 ; count = freeBlocks ; } else { stop = freeBlocks - num ; count = num ; } while ( freeBlocks > stop ) { freeByteBlocks [ -- freeBlocks ] = null ; } bytesUsed . addAndGet ( - count * blockSize ) ; assert bytesUsed . get ( ) >= 0 ; return count ; }
|
public int FreeBlocks ( int num ) { Debug . Assert ( num >= 0 , "free blocks must be >= 0 but was: " + num ) ; int stop ; int count ; if ( num > freeBlocks ) { stop = 0 ; count = freeBlocks ; } else { stop = freeBlocks - num ; count = num ; } while ( freeBlocks > stop ) { freeByteBlocks [ -- freeBlocks ] = null ; } bytesUsed . AddAndGet ( - count * m_blockSize ) ; Debug . Assert ( bytesUsed . Get ( ) >= 0 ) ; return count ; }
|
public final static String htmlEncode ( String plainText ) { if ( plainText == null || plainText . length ( ) == 0 ) { return "" ; } StringBuilder result = new StringBuilder ( plainText . length ( ) ) ; for ( int index = 0 ; index < plainText . length ( ) ; index ++ ) { char ch = plainText . charAt ( index ) ; switch ( ch ) { case '"' : result . append ( """ ) ; break ; case '&' : result . append ( "&" ) ; break ; case '<' : result . append ( "<" ) ; break ; case '>' : result . append ( ">" ) ; break ; case '\'' : result . append ( "'" ) ; break ; case '/' : result . append ( "/" ) ; break ; default : result . append ( ch ) ; } } return result . toString ( ) ; }
|
public static string HtmlEncode ( string plainText ) { if ( string . IsNullOrEmpty ( plainText ) ) { return string . Empty ; } var result = new StringBuilder ( plainText . Length ) ; for ( int index = 0 ; index < plainText . Length ; index ++ ) { char ch = plainText [ index ] ; switch ( ch ) { case '"' : result . Append ( """ ) ; break ; case '&' : result . Append ( "&" ) ; break ; case '<' : result . Append ( "<" ) ; break ; case '>' : result . Append ( ">" ) ; break ; case '\'' : result . Append ( "'" ) ; break ; case '/' : result . Append ( "/" ) ; break ; default : if ( ch < 128 ) { result . Append ( ch ) ; } else { result . Append ( "&#" ) . Append ( ( int ) ch ) . Append ( ";" ) ; } break ; } } return result . ToString ( ) ; }
|
public boolean isReuseDeltas ( ) { return reuseDeltas ; }
|
public virtual bool IsReuseDeltas ( ) { return reuseDeltas ; }
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.