text stringlengths 63 450k |
|---|
public void appendTo ( Appendable out , DependencyInfo info , File content , Charset contentCharset ) throws IOException { appendTo ( out , info , Files . asCharSource ( content , contentCharset ) ) ; } |
public GroupVersion unmarshall ( JsonUnmarshallerContext context ) throws Exception { GroupVersion groupVersion = new GroupVersion ( ) ; int originalDepth = context . getCurrentDepth ( ) ; String currentParentElement = context . getCurrentParentElement ( ) ; int targetDepth = originalDepth + 1 ; JsonToken token = conte... |
private void METHOD_1 ( TYPE_1 msg ) throws TYPE_2 { open ( ) ; METHOD_2 ( msg ) ; METHOD_3 ( msg ) ; long startTime = TYPE_3 . METHOD_4 ( ) ; double VAR_1 = VAR_2 . METHOD_5 ( ) / ( ( ( VAR_2 . METHOD_6 ( ) == 0 ) ? INT_1 : VAR_2 . METHOD_6 ( ) ) + ( ( VAR_2 . METHOD_7 ( ) == 0 ) ? 1 : VAR_2 . METHOD_7 ( ) ) + ( ( VAR... |
public Request < DescribeEndpointTypesRequest > marshall ( DescribeEndpointTypesRequest describeEndpointTypesRequest ) { if ( describeEndpointTypesRequest == null ) { throw new SdkClientException ( "Invalid argument passed to marshall(...)" ) ; } try { final ProtocolRequestMarshaller < DescribeEndpointTypesRequest > pr... |
@ Implementation protected static void addPeriodicSync ( Account account , String authority , Bundle extras , long pollFrequency ) { validateSyncExtrasBundle ( extras ) ; removePeriodicSync ( account , authority , extras ) ; getStatus ( account , authority , true ) . syncs . add ( new PeriodicSync ( account , authority... |
public void putAll ( Map map ) { for ( Iterator i = map . entrySet ( ) . iterator ( ) ; i . hasNext ( ) ; ) { Map . Entry entry = ( Map . Entry ) i . next ( ) ; set ( entry . getKey ( ) . toString ( ) , entry . getValue ( ) ) ; } } |
protected void modifyUserAttributes ( final User user , final Supplier < Hashtable < String , String > > adminEnv , final String userDN , final List < SearchResult > result ) { final List < ModificationItem > modifyList = new ArrayList <> ( ) ; if ( user . getOriginalPassword ( ) != null ) { modifyReplaceEntry ( modify... |
@ Override public < U > ThrowingStream < U , X > mapToObj ( ThrowingDoubleFunction < ? extends U , ? extends X > mapper ) { DoubleFunction < ? extends U > f = getExceptionMasker ( ) . mask ( mapper ) ; return ThrowingBridge . of ( getDelegate ( ) . mapToObj ( f ) , getExceptionMasker ( ) ) ; } |
public void flickInsideWithOptions ( int touchCount , UIAPoint startOffset , UIAPoint endOffset ) { WebDriverLikeRequest request = buildRequest ( WebDriverLikeCommand . FLICK_INSIDE_WITH_OPTIONS , ImmutableMap . of ( "touchCount" , touchCount , "xstart" , startOffset . getX ( ) , "ystart" , startOffset . getY ( ) , "xe... |
static TYPE_1 METHOD_1 ( final String VAR_1 , final TYPE_2 < String , TYPE_1 > VAR_2 ) { TYPE_1 VAR_3 = VAR_2 . get ( VAR_1 ) ; if ( VAR_3 != null ) { return VAR_3 ; } VAR_2 . put ( VAR_1 , VAR_3 = new TYPE_1 ( VAR_1 ) ) ; if ( ! VAR_1 . isEmpty ( ) ) { final TYPE_1 VAR_4 = METHOD_1 ( METHOD_2 ( VAR_3 . name ) , VAR_2 ... |
public static TYPE_1 METHOD_1 ( TYPE_2 VAR_1 , String VAR_2 ) { TYPE_3 VAR_3 = new TYPE_3 ( ) ; TYPE_4 VAR_4 = new TYPE_4 ( VAR_3 ) ; VAR_4 . METHOD_2 ( TYPE_4 . VAR_5 ) ; VAR_4 . METHOD_3 ( VAR_1 ) ; TYPE_5 VAR_6 = ( TYPE_5 ) VAR_3 . METHOD_4 ( VAR_2 ) ; if ( VAR_6 . METHOD_5 ( ) == null ) { VAR_6 . METHOD_6 ( new TYP... |
public static void METHOD_1 ( boolean VAR_1 , String VAR_2 , TYPE_1 ... params ) throws TYPE_2 { if ( VAR_1 ) { throw new TYPE_2 ( TYPE_3 . format ( VAR_2 , params ) ) ; } } |
protected void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 VAR_2 ) throws TYPE_3 { TYPE_4 VAR_3 = VAR_1 . METHOD_2 ( ) ; String filePath = VAR_1 . METHOD_3 ( ) ; VAR_3 . METHOD_4 ( filePath ) ; VAR_2 . METHOD_5 ( VAR_3 ) ; } |
public static String METHOD_1 ( TYPE_1 file ) { try ( TYPE_2 VAR_1 = new TYPE_3 ( file ) ) { return METHOD_1 ( VAR_1 ) ; } catch ( TYPE_4 VAR_2 ) { return TYPE_5 . handle ( String . VAR_3 , VAR_2 ) ; } } |
@ Override public void save ( FluoConfiguration fluoConf ) { SimpleConfiguration appConfig = fluoConf . getAppConfiguration ( ) ; // TODO Auto-generated method stub appConfig . setProperty ( PREFIX + id + ".instance" , instance ) ; appConfig . setProperty ( PREFIX + id + ".zookeepers" , zookeepers ) ; appConfig . setPr... |
public static boolean isSubjectValid ( Subject subject ) { if ( jwtSSOTokenProxyRef . getService ( ) != null ) { return jwtSSOTokenProxyRef . getService ( ) . isSubjectValid ( subject ) ; } return false ; } |
public void METHOD_1 ( TYPE_1 VAR_1 , TYPE_2 < String > keys , TYPE_3 < String , String > args , TYPE_4 out , int offset ) throws TYPE_5 { TYPE_3 < String , TYPE_3 < String , TYPE_6 > > VAR_2 = new TYPE_7 < > ( ) ; TYPE_2 < String > VAR_3 = new TYPE_8 < > ( ) ; if ( args . VAR_4 ( STRING_1 ) ) { TYPE_9 < String > VAR_5... |
public static TYPE_1 METHOD_1 ( TYPE_2 VAR_1 ) { TYPE_3 VAR_2 = METHOD_2 ( VAR_1 , VAR_1 . get ( VAR_3 ) , TYPE_4 . METHOD_3 ( ) ) ; if ( VAR_2 instanceof TYPE_5 ) { VAR_2 = new TYPE_6 ( ( TYPE_5 ) VAR_2 , VAR_4 ) ; } TYPE_7 . METHOD_4 ( VAR_2 instanceof TYPE_1 , STRING_1 , VAR_2 . getClass ( ) ) ; return ( TYPE_1 ) VA... |
@ Override public void restoreState ( FacesContext context , Object state ) { if ( state == null ) { return ; } Object values [ ] = ( Object [ ] ) state ; super . restoreState ( context , values [ 0 ] ) ; Object restoredRowStates = UIComponentBase . restoreAttachedState ( context , values [ 1 ] ) ; if ( restoredRowStat... |
@ Override public Formula negate ( ) { switch ( this . comparator ) { case EQ : if ( this . rhs > 0 ) return this . f . or ( this . f . pbc ( CType . LT , this . rhs , this . literals , this . coefficients ) , this . f . pbc ( CType . GT , this . rhs , this . literals , this . coefficients ) ) ; else return this . f . ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.