idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
21,000 | removes a specific aws account id or group from a volume 's list of create volume permissions . note : this method appends the values to the existing list if any . use #setremove java.util.collection or #withremove java.util.collection if you want to override theexisting values . returns a reference to this object so t... | CreateVolumePermissionModifications function ( CreateVolumePermission ... arg0 ) { if ( getRemove ( ) == null ) setRemove ( new java . util . ArrayList < CreateVolumePermission > ( arg0 . length ) ) ; for ( CreateVolumePermission loc0 : arg0 ) { getRemove ( ) . add ( loc0 ) ; } return this ; } |
21,001 | create a remote data object through repository pattern . concode_field_sep Context context concode_field_sep IDataStore createLocal | IDataStore function ( ) { return new CloudDataStore ( context ) ; } |
21,002 | call this from oncreate so that any saved startactivityforresult parameters will be restored . concode_field_sep Activity activity concode_elem_sep CordovaPlugin permissionResultCallback concode_elem_sep int resultCode concode_elem_sep int activityResultRequestCode concode_elem_sep Intent intent concode_elem_sep Bundle... | void function ( Bundle arg0 ) { initCallbackService = arg0 . getString ( "srini_string" ) ; savedPluginState = arg0 . getBundle ( "srini_string" ) ; activityWasDestroyed = true ; } |
21,003 | gets the value of the objproblems property . concode_field_sep boolean valid concode_elem_sep List<DatastreamProblem> datastream concode_elem_sep List<String> problem concode_elem_sep Validation.ObjModels objModels concode_elem_sep Validation.DatastreamProblems datastreamProblems concode_elem_sep Validation.ObjProblems... | Validation . ObjProblems function ( ) { return objProblems ; } |
21,004 | prints a message at error priority . concode_field_sep int ERROR concode_elem_sep int VERBOSE concode_elem_sep int WARN concode_elem_sep int NONE concode_elem_sep int ASSERT concode_elem_sep int DEBUG concode_elem_sep LogNode mLogNode concode_elem_sep int INFO concode_field_sep void println concode_elem_sep void printl... | void function ( String arg0 , String arg1 ) { e ( arg0 , arg1 , null ) ; } |
21,005 | returns snapshot rest status concode_field_sep String reason concode_elem_sep XContentBuilderString START_TIME concode_elem_sep XContentBuilderString REASON concode_elem_sep XContentBuilderString FAILURES concode_elem_sep int totalShards concode_elem_sep XContentBuilderString FAILED concode_elem_sep XContentBuilderStri... | RestStatus function ( ) { if ( state == SnapshotState . FAILED ) { return RestStatus . INTERNAL_SERVER_ERROR ; } if ( shardFailures . size ( ) == 0 ) { return RestStatus . OK ; } return RestStatus . status ( successfulShards , totalShards , shardFailures . toArray ( new ShardOperationFailedException [ shardFailures . s... |
21,006 | performs a dynamic query on the database and returns a range of the matching rows . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end to com.l... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , int arg1 , int arg2 ) { return _kaleoTaskLocalService . arg0 ( arg0 , arg1 , arg2 ) ; } |
21,007 | get the value of the configuration url . concode_field_sep StoreRegistry registry concode_elem_sep Digester digester concode_elem_sep URL registryResource concode_elem_sep Log log concode_field_sep void setRegistry concode_elem_sep Digester createDigester concode_elem_sep void load concode_elem_sep void load concode_el... | String function ( ) { return System . getProperty ( "srini_string" ) ; } |
21,008 | get the width of each tile in this set concode_field_sep int tileSpacing concode_elem_sep int index concode_elem_sep int tilesDown concode_elem_sep int firstGID concode_elem_sep int tileWidth concode_elem_sep int tileMargin concode_elem_sep SpriteSheet tiles concode_elem_sep int tilesAcross concode_elem_sep HashMap<Int... | int function ( ) { return tileWidth ; } |
21,009 | serialize a multinormalizerhybrid to the given file concode_field_sep PlaceHolder placeHolder concode_field_sep NormalizerStats readMinMaxStats concode_elem_sep NormalizerStrategy readMinMaxStrategy concode_elem_sep NormalizerStats readDistributionStats concode_elem_sep void writeStandardizeStrategy concode_elem_sep Mu... | void function ( @ NonNull MultiNormalizerHybrid arg0 , @ NonNull File arg1 ) { try ( OutputStream loc0 = new BufferedOutputStream ( new FileOutputStream ( arg1 ) ) ) { write ( arg0 , loc0 ) ; } } |
21,010 | dummy method doing nothing concode_field_sep PlaceHolder placeHolder concode_field_sep void doNothing60 concode_elem_sep void doNothing61 concode_elem_sep void doNothing62 concode_elem_sep void doNothing63 concode_elem_sep void doNothing53 concode_elem_sep void doNothing31 concode_elem_sep void doNothing54 concode_elem... | void function ( ) { } |
21,011 | returns blanks concode_field_sep boolean debug concode_elem_sep int progressDots concode_elem_sep boolean printedEstimatedTime concode_elem_sep long progressStart concode_elem_sep int doingLevel concode_elem_sep int MAXDOTS concode_elem_sep long timer concode_elem_sep boolean cursorAtPos1 concode_elem_sep Level level c... | String function ( int arg0 ) { if ( arg0 <= 0 ) return ( "srini_string" ) ; if ( arg0 >= blanks . length ( ) ) return ( blanks ) ; return ( blanks . substring ( 0 , arg0 ) ) ; } |
21,012 | this method is called by the application server during crash recovery . concode_field_sep String workManagerName concode_elem_sep String name concode_elem_sep Logger log concode_elem_sep String bootstrapContextName concode_field_sep void setName concode_elem_sep String getWorkManagerName concode_elem_sep String getBoot... | XAResource [ ] function ( ActivationSpec [ ] arg0 ) { log . trace ( "srini_string" ) ; return null ; } |
21,013 | return type metadata object concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String baseRateActionType concode_field_sep java.lang.String getBaseRateActionType concode_elem_sep void setBaseRa... | org . apache . axis . description . TypeDesc function ( ) { return typeDesc ; } |
21,014 | endpointreference is null concode_field_sep Localizer localizer concode_elem_sep LocalizableMessageFactory messageFactory concode_field_sep Localizable localizableNULL_ADDRESS concode_elem_sep Localizable localizableNOTFOUND_SERVICE_IN_WSDL concode_elem_sep String NULL_ADDRESS_SERVICE_ENDPOINT concode_elem_sep Localiza... | String function ( ) { return localizer . localize ( localizableNULL_EPR ( ) ) ; } |
21,015 | returns the osgi service identifier . concode_field_sep PortalPreferencesLocalService _service concode_field_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery concode_elem_sep com.liferay.portal.kernel.model.PortalPreferences getPortalPreferences concode_elem_sep com.liferay.portal.... | java . lang . String function ( ) { return getService ( ) . getOSGiServiceIdentifier ( ) ; } |
21,016 | removes a previously added listener . this method is safe for use by multiple concurrent threads . concode_field_sep boolean myDequeEmpty concode_elem_sep TreeModelListener[] EMPTY_ARRAY concode_elem_sep ArrayDeque<TreeModelListener> myDeque concode_field_sep void add concode_elem_sep void treeNodesRemoved concode_elem... | void function ( TreeModelListener arg0 ) { if ( arg0 != null ) { synchronized ( myDeque ) { myDeque . remove ( arg0 ) ; myDequeEmpty = myDeque . isEmpty ( ) ; } } } |
21,017 | add error message to a specific client . concode_field_sep PlaceHolder placeHolder concode_field_sep String getRequestParameter concode_elem_sep Application getApplication concode_elem_sep Object getElValue concode_elem_sep ServletContext getServletContext concode_elem_sep Object getManagedBean concode_elem_sep String ... | void function ( String arg0 , String arg1 ) { FacesContext . getCurrentInstance ( ) . addMessage ( arg0 , new FacesMessage ( FacesMessage . SEVERITY_ERROR , arg1 , arg1 ) ) ; } |
21,018 | renders a wavelet into text . concode_field_sep PlaceHolder placeHolder concode_field_sep void render | String function ( Conversation arg0 ) { checkNotNull ( arg0 , "srini_string" ) ; StringBuilder loc0 = new StringBuilder ( ) ; for ( ConversationBlip loc1 : BlipIterators . breadthFirst ( arg0 ) ) { render ( loc1 . getContent ( ) . toInitialization ( ) , loc0 ) ; } return loc0 . toString ( ) ; } |
21,019 | returns the user uuid of this d d l record version . concode_field_sep DDLRecordVersion _ddlRecordVersion concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isDraft concode_elem_sep boolean isCachedModel concode_elem_sep in... | java . lang . String function ( ) { return _ddlRecordVersion . getUserUuid ( ) ; } |
21,020 | finds out a getmapoutputformat specialized in generating the requested map format , registered in the spring context . concode_field_sep PlaceHolder placeHolder concode_field_sep Collection<RenderedImageMapResponse> findMapResponses concode_elem_sep List<GetFeatureInfoOutputFormat> findFeatureInfoFormats concode_elem_s... | GetMapOutputFormat function ( final String arg0 , final ApplicationContext arg1 ) { final Collection < GetMapOutputFormat > loc0 ; loc0 = WMSExtensions . findMapProducers ( arg1 ) ; return findMapProducer ( arg0 , loc0 ) ; } |
21,021 | sets the delay used by the given components before the transition from their current place to their target one starts . the delay is increased for each component in the list . concode_field_sep float duration concode_elem_sep List<Component> cmpsToRemoveAfterTransition concode_elem_sep Map<Component,Tile> targetTiles c... | SLKeyframe function ( float arg0 , Component ... arg1 ) { float loc0 = 0 ; for ( Component loc1 : arg1 ) delays . put ( loc1 , loc0 += arg0 ) ; return this ; } |
21,022 | create a relay that operates instantaneously . concode_field_sep AtomicLong CAN_DEVICE_ID_GENERATOR concode_field_sep MockTwoAxisAccelerometer accelerometer2Axis concode_elem_sep MockVoltageSensor voltageSensor concode_elem_sep MockMotor stoppedMotor concode_elem_sep MockSolenoid instantaneousSolenoid concode_elem_sep ... | MockRelay function ( ) { return new MockRelay ( ) ; } |
21,023 | returns the account manager . concode_field_sep AccountManager manager concode_elem_sep String ACCOUNT_TYPE concode_field_sep Account getAccountByName concode_elem_sep void invalidateAuthToken concode_elem_sep Account[] getAccounts | AccountManager function ( ) { return manager ; } |
21,024 | make sure the particular asset that is used to verify the asset type is displayed on the asset listing page . particular asset has to be defined in the mapper.properties file with the asset type . concode_field_sep String pageSubtitle concode_elem_sep WebDriver driver concode_elem_sep UIElementMapper uiElementMapper co... | boolean function ( ) { String loc0 = uiElementMapper . getElement ( "srini_string" + this . assetType + "srini_string" ) ; return driver . findElements ( By . id ( loc0 ) ) . size ( ) > 0 ; } |
21,025 | add a set of columns based on a resultmetadata concode_field_sep PlaceHolder placeHolder concode_field_sep Table newSubqueryTable concode_elem_sep void setTableColumns concode_elem_sep Table newTable concode_elem_sep Table newLookupTable concode_elem_sep void setTableColumnsAsExpression | void function ( Table arg0 , ResultMetaData arg1 , int arg2 ) { for ( int loc0 = 0 ; loc0 < arg2 ; loc0 ++ ) { Column loc1 = new Column ( arg0 . database . nameManager . newHsqlName ( arg1 . colLabels [ loc0 ] , arg1 . isLabelQuoted [ loc0 ] ) , arg1 . colTypes [ loc0 ] , true , false , null ) ; arg0 . addColumn ( loc1... |
21,026 | returns true if the input limit has been reached . concode_field_sep boolean reached concode_elem_sep long value concode_field_sep long getValue concode_elem_sep void reached | boolean function ( ) { return this . reached ; } |
21,027 | schedules a task which starts after the specified delay . concode_field_sep Timer timer concode_elem_sep TimerTask task concode_field_sep void cancel | void function ( TimerTask arg0 , long arg1 ) { this . task = arg0 ; timer = new Timer ( ) ; timer . schedule ( arg0 , arg1 ) ; } |
21,028 | extracts the color of a stone . concode_field_sep int F2 concode_elem_sep int NO_SQUARE concode_elem_sep int E1 concode_elem_sep int RES_WHITE_WINS concode_elem_sep int D4 concode_elem_sep int C5 concode_elem_sep int A7 concode_elem_sep int RES_BLACK_WINS concode_elem_sep int E3 concode_elem_sep char pieceChars[] conco... | int function ( int arg0 ) { if ( arg0 < 0 ) { return WHITE ; } else if ( arg0 > 0 ) { return BLACK ; } else { return NOBODY ; } } |
21,029 | optional : a complex type that contains a name element for each header that you want cloudfront to forward to the origin and to vary on for this cache behavior . if quantity is 0 , omit items . concode_field_sep Integer quantity concode_elem_sep com.amazonaws.internal.SdkInternalList<String> items concode_field_sep jav... | void function ( java . util . Collection < String > arg0 ) { if ( arg0 == null ) { this . items = null ; return ; } this . items = new com . amazonaws . internal . SdkInternalList < String > ( arg0 ) ; } |
21,030 | this method performs lazy initialization . concode_field_sep Queue<Request> requestQueue concode_elem_sep Thread dispatcher concode_field_sep void run concode_elem_sep void startProcessing concode_elem_sep void postRequest | void function ( ) { if ( requestQueue == null ) { requestQueue = new Queue < Request > ( ) ; } } |
21,031 | returns the name of this shopping coupon . concode_field_sep ShoppingCoupon _shoppingCoupon concode_field_sep java.util.Date getStartDate concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean hasValidEndDate concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel concode_elem_sep bo... | java . lang . String function ( ) { return _shoppingCoupon . getName ( ) ; } |
21,032 | getkeychar concode_field_sep int modifiers concode_elem_sep char keyChar concode_elem_sep int keyCode concode_elem_sep boolean onKeyRelease concode_field_sep KeyStroke getKeyStrokeForEvent concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean isOnKeyRelease concode_elem_sep String toStr... | char function ( ) { return keyChar ; } |
21,033 | get the prompt . concode_field_sep String inputText concode_elem_sep String defaultText concode_elem_sep String prompt concode_field_sep String getDefaultText concode_elem_sep void setPrompt concode_elem_sep String getText concode_elem_sep void setDefaultText concode_elem_sep void setText | String function ( ) { return prompt ; } |
21,034 | the dartdoc associated with the referenced element . other than the removal of the comment delimiters , including leading asterisks in the case of a block comment , the dartdoc is unprocessed markdown . this data is omitted if there is no referenced element , or if the element has no dartdoc . concode_field_sep Boolean... | String function ( ) { return dartdoc ; } |
21,035 | returns true if the provided aggregator is used in the constructing pipeline . concode_field_sep BiMap<AppliedPTransform<?,?,?>,String> appliedStepNames concode_elem_sep Map<Aggregator<?,?>,Collection<PTransform<?,?>>> aggregatorTransforms concode_elem_sep Multimap<PTransform<?,?>,AppliedPTransform<?,?,?>> transformApp... | boolean function ( Aggregator < ? , ? > arg0 ) { return aggregatorTransforms . containsKey ( arg0 ) ; } |
21,036 | retunrs the underlying input stream of this data source . concode_field_sep InputStream m_inputStream concode_elem_sep String m_name concode_elem_sep String m_contentType concode_field_sep String getName concode_elem_sep String getContentType concode_elem_sep OutputStream getOutputStream | InputStream function ( ) { m_inputStream . reset ( ) ; return m_inputStream ; } |
21,037 | test of setaddress method , of class host . concode_field_sep PlaceHolder placeHolder concode_field_sep void setUpClass concode_elem_sep void testSetPhone concode_elem_sep void testGetAddress concode_elem_sep void testGetPhone concode_elem_sep void testGetLatitude concode_elem_sep void tearDownClass concode_elem_sep vo... | void function ( ) { System . out . println ( "srini_string" ) ; String loc0 = "srini_string" ; Host loc1 = new Host ( ) ; loc1 . setAddress ( loc0 ) ; fail ( "srini_string" ) ; } |
21,038 | returns the planetmodel provided when this shape was created . concode_field_sep PlanetModel planetModel concode_field_sep int hashCode concode_elem_sep boolean equals | PlanetModel function ( ) { return planetModel ; } |
21,039 | set the messageconverter strategy for converting jms messages . concode_field_sep boolean pubSubDomain concode_elem_sep String clientId concode_elem_sep MessageConverter messageConverter concode_elem_sep int maxConcurrency concode_elem_sep String messageSelector concode_elem_sep boolean subscriptionShared concode_elem_... | void function ( MessageConverter arg0 ) { this . messageConverter = arg0 ; } |
21,040 | create/lookup a usertransaction in the initialcontext via the name set in setusertxlocation . concode_field_sep UserTransaction userTransaction concode_elem_sep InitialContext context concode_elem_sep String DEFAULT_USER_TX_LOCATION concode_elem_sep String userTxURL concode_field_sep void rollback concode_elem_sep Logg... | UserTransaction function ( ) { return new UserTransactionWithContext ( ) ; } |
21,041 | get the aggregate id of the command . concode_field_sep AggregateId aggregateId concode_elem_sep VersionedName commandName concode_elem_sep Optional<UUID> processingId concode_elem_sep Tuple parameters concode_elem_sep Type resultType concode_elem_sep StreamTimestamp commandTimestamp concode_field_sep Type getResultTyp... | AggregateId function ( ) { return aggregateId ; } |
21,042 | used by classes involved with de/serialzation in order to retrieve user-defined clases to be used in de/serialization . concode_field_sep Map<String,Collection<Class<?>>> deploymentClassesMap concode_elem_sep Event<DeploymentProcessedEvent> deployEvent concode_elem_sep Logger logger concode_elem_sep Event<DeploymentPro... | Collection < Class < ? >> function ( String arg0 ) { if ( emptyDeploymentId ( arg0 ) ) { return Collections . emptySet ( ) ; } Collection < Class < ? >> loc0 = deploymentClassesMap . get ( arg0 ) ; if ( loc0 == null ) { return Collections . emptySet ( ) ; } return loc0 ; } |
21,043 | restores the trash entry to its original location . in order to handle a duplicate trash entry already existing at the original location , either pass in the primary key of the existing trash entry 's entity to overwrite or pass in a new name to give to the trash entry being restored . this method throws a trashpermiss... | com . liferay . portlet . trash . model . TrashEntry function ( long arg0 , long arg1 , java . lang . String arg2 ) { return _trashEntryService . restoreEntry ( arg0 , arg1 , arg2 ) ; } |
21,044 | sets the next time at which the crontrigger will fire . this method should not be invoked by client code . concode_field_sep String[] calendarNames concode_elem_sep Date previousFireTime concode_elem_sep Calendars calendars concode_elem_sep CronExpression cronEx concode_elem_sep TimeZone timeZone concode_elem_sep Date ... | void function ( Date arg0 ) { this . nextFireTime = arg0 ; } |
21,045 | sets the value of the index property . concode_field_sep SignatureInfoCreationType.SignatureLocation signatureLocation concode_elem_sep Base64XMLOptRefContentType signatureEnvironment concode_elem_sep List<DataObjectAssociationType> supplement concode_elem_sep BigInteger index concode_elem_sep String value concode_fiel... | void function ( BigInteger arg0 ) { this . index = arg0 ; } |
21,046 | an xhrtransport can support both the `` xhr_streaming '' and `` xhr `` sockjs server transports . from a client perspective there is no implementation difference . typically an xhrtransport is used as `` xhr streaming '' first andthen , if that fails , as `` xhr '' . in some cases however it may be helpful to suppress ... | void function ( boolean arg0 ) { this . xhrStreamingDisabled = arg0 ; } |
21,047 | gets the value of the value property . concode_field_sep String datestamp concode_elem_sep LicenseDocumentReference.DocumentLabel documentLabel concode_elem_sep SectionIdentifier sectionIdentifier concode_elem_sep LicenseDocumentReference.SectionDesignation sectionDesignation concode_elem_sep String sourcetype concode_... | String function ( ) { return value ; } |
21,048 | returns the user associated with the request the user can be a guest or a authenticated user concode_field_sep String USERNAME_KEY concode_elem_sep String USER_ID_KEY concode_elem_sep String IS_AUTH_KEY concode_elem_sep String IS_ADMIN_KEY concode_field_sep void loginAdmin concode_elem_sep void loginUser concode_elem_s... | User function ( Request arg0 ) { if ( isAuthenticated ( arg0 ) ) { return new AuthenticatedUser ( arg0 . session ( ) ) ; } else { return new GuestUser ( ) ; } } |
21,049 | convert a datetime to string concode_field_sep String ANDROID_TIMEFORMAT_WO_MS concode_elem_sep SimpleDateFormat datetimeFormatter concode_elem_sep String DATETIMEFORMAT concode_elem_sep DBXDefaultFormatter instance concode_elem_sep String TIMEFORMAT_MS concode_elem_sep String TIMEFORMAT_WO_MS concode_elem_sep int CURR... | String function ( Date arg0 ) { return datetimeFormatter . format ( arg0 ) ; } |
21,050 | gets a tool displayable short desription of the resource adapter . concode_field_sep PlaceHolder placeHolder concode_field_sep String getSpecVersion concode_elem_sep String getAdapterName concode_elem_sep String[] getInteractionSpecsSupported concode_elem_sep boolean supportsLocalTransactionDemarcation concode_elem_sep... | String function ( ) { return null ; } |
21,051 | call to add a label concode_field_sep Canvas mCanvas concode_elem_sep float mTexelWidth concode_elem_sep int STATE_ADDING concode_elem_sep int mU concode_elem_sep int mV concode_elem_sep float baseline concode_elem_sep int mState concode_elem_sep ArrayList<Label> mLabels concode_elem_sep boolean mFullColor concode_elem... | int function ( GL10 arg0 , Drawable arg1 , String arg2 , Paint arg3 ) { return add ( arg0 , arg1 , arg2 , arg3 , 0 , 0 ) ; } |
21,052 | sets the spring bean id for this bean . concode_field_sep CalendarService _calendarService concode_field_sep com.liferay.calendar.model.Calendar fetchCalendar concode_elem_sep void setWrappedService concode_elem_sep com.liferay.calendar.model.Calendar deleteCalendar concode_elem_sep int searchCount concode_elem_sep int... | void function ( java . lang . String arg0 ) { _calendarService . setBeanIdentifier ( arg0 ) ; } |
21,053 | returns an annotation object reflecting the annotation provided , or null if this class does n't have such anannotation . this is a convenience function if the caller knows already which annotation type he 's looking for . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isAnnotation concode_elem_sep... | Annotation function ( Class arg0 , Class < ? extends java . lang . annotation . Annotation > arg1 ) { java . lang . loc0 . Annotation loc0 = arg0 . getAnnotation ( arg1 ) ; if ( loc0 != null ) return new Annotation ( loc0 ) ; return null ; } |
21,054 | sets the log writer for this datasource object to the given java.io.printwriter object . the log writer is a character output stream to which all logging and tracing messages for this data source will be printed . this includes messages printed by the methods of this object , messages printed by methods of other object... | void function ( java . io . PrintWriter arg0 ) { logWriter = arg0 ; } |
21,055 | returns a duration for the given number of weeks concode_field_sep Double duration concode_elem_sep Units units concode_field_sep Duration seconds concode_elem_sep Duration seconds concode_elem_sep Duration hours concode_elem_sep Duration hours concode_elem_sep Duration months concode_elem_sep Duration months concode_e... | Duration function ( int arg0 ) { return weeks ( new Double ( arg0 ) ) ; } |
21,056 | visit the specified white node . if this node has not already been visited , the white hook is called and true is returned ; otherwise , false is returned . concode_field_sep Map<WHITE,Integer> visitedWhiteNodes concode_elem_sep int nextNodeId concode_elem_sep Map<BLACK,Integer> visitedBlackNodes concode_field_sep void... | boolean function ( WHITE arg0 ) { if ( arg0 == null ) { throw new NullPointerException ( ) ; } if ( ! visitedWhiteNodes . containsKey ( arg0 ) ) { visitedWhiteNodes . put ( arg0 , nextNodeId ++ ) ; white ( arg0 ) ; return true ; } return false ; } |
21,057 | returns the rule . concode_field_sep List<Triple> stack concode_elem_sep List<Triple> pending concode_elem_sep Logger logger concode_elem_sep Rule rule concode_elem_sep List<Triple> deletesPending concode_elem_sep BindingStack env concode_elem_sep Graph pendingCache concode_elem_sep ForwardRuleInfGraphI graph concode_f... | Rule function ( ) { return rule ; } |
21,058 | performs a dynamic query on the database and returns the matching rows . concode_field_sep KaleoActionLocalService _kaleoActionLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep java.util.List<com.liferay.portal.workflow.kaleo.model.KaleoAction> getKaleoActions concode_elem_sep ja... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return _kaleoActionLocalService . arg0 ( arg0 ) ; } |
21,059 | turn the map back to response object . concode_field_sep Map<Object,Integer> hiveError2HttpStatusCode concode_elem_sep Map map concode_field_sep Map jsonToMap concode_elem_sep Response buildResponse concode_elem_sep Response buildResponse concode_elem_sep boolean isError concode_elem_sep boolean isset concode_elem_sep ... | Response function ( ) { return buildResponse ( ) ; } |
21,060 | creates a fuzzy completion suggestion lookup query with the provided name concode_field_sep PlaceHolder placeHolder concode_field_sep TermSuggestionBuilder termSuggestion concode_elem_sep PhraseSuggestionBuilder phraseSuggestion concode_elem_sep CompletionSuggestionBuilder completionSuggestion | CompletionSuggestionFuzzyBuilder function ( String arg0 ) { return new CompletionSuggestionFuzzyBuilder ( arg0 ) ; } |
21,061 | gets the value of the queryexpression property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the queryexpression property . for example , to add a ... | List < QueryExpressionType > function ( ) { if ( queryExpression == null ) { queryExpression = new ArrayList < QueryExpressionType > ( ) ; } return this . queryExpression ; } |
21,062 | set the debug indicator . concode_field_sep String sourceEncoding concode_elem_sep boolean debug concode_field_sep boolean isDebug concode_elem_sep String getSourceEncoding concode_elem_sep void setSourceEncoding | void function ( boolean arg0 ) { this . debug = arg0 ; } |
21,063 | gets the output file path . concode_field_sep File inputFile concode_elem_sep File outputFile concode_elem_sep String replacementType concode_field_sep String getInputFilePath concode_elem_sep String getReplacementType concode_elem_sep File createFile concode_elem_sep void setOutputFilePath | String function ( ) { return this . outputFile . getPath ( ) ; } |
21,064 | decrement the indent level . concode_field_sep int maxLineLength concode_elem_sep int endOffset concode_elem_sep char NEWLINE concode_elem_sep Document document concode_elem_sep ElementIterator iter concode_elem_sep boolean canWrapLines concode_elem_sep char[] lineSeparatorChars concode_elem_sep int lineLength concode_... | void function ( ) { -- indentLevel ; } |
21,065 | handles the events completecomponentregistrationnotification concode_field_sep ErrorManager errorManager concode_elem_sep ServiceStatus serviceStatus concode_elem_sep UUID pluginId concode_elem_sep EventManager eventManager concode_elem_sep PluginFileSystem pluginFileSystem concode_elem_sep List<FermatEventListener> li... | void function ( PlatformComponentProfile arg0 ) { } |
21,066 | get an accessibilitymanager instance create one if necessary . concode_field_sep IAccessibilityManagerClient.Stub mClient concode_elem_sep AccessibilityManager sInstance concode_field_sep List<AccessibilityServiceInfo> getEnabledAccessibilityServiceList concode_elem_sep boolean isHighTextContrastEnabled concode_elem_se... | AccessibilityManager function ( Context arg0 ) { return sInstance ; } |
21,067 | param setter concode_field_sep int iFirstWildCard concode_elem_sep boolean optimised concode_elem_sep int[] wildCardType concode_elem_sep Character escapeChar concode_elem_sep boolean isIgnoreCase concode_elem_sep int PERCENT_CHAR concode_elem_sep boolean isNull concode_elem_sep int iLen concode_elem_sep int UNDERSCORE... | void function ( String arg0 , boolean arg1 ) { isIgnoreCase = arg1 ; normalize ( arg0 , true ) ; optimised = true ; } |
21,068 | deep check whether a given abstractevent is contained within this dmc 's event set concode_field_sep ProcessInstance processInstance concode_elem_sep String id_string concode_elem_sep long id_counter concode_elem_sep long id_nr concode_elem_sep Date endDate concode_elem_sep ArrayList<AbstractEvent> events concode_elem_... | boolean function ( AbstractEvent arg0 ) { return events . contains ( arg0 ) ; } |
21,069 | returns the cumulative probability of a set of noncentral chi-squared distributions . concode_field_sep double PSI concode_elem_sep int chisqDistribution concode_elem_sep double logPSI concode_elem_sep int undefinedDistribution concode_elem_sep int normalDistribution concode_field_sep double square concode_elem_sep dou... | DoubleVector function ( double arg0 , DoubleVector arg1 ) { int loc0 = arg1 . size ( ) ; DoubleVector loc1 = new DoubleVector ( loc0 ) ; double loc2 ; double loc3 = Math . sqrt ( arg0 ) ; for ( int loc4 = 0 ; loc4 < loc0 ; loc4 ++ ) { loc2 = Math . sqrt ( arg1 . get ( loc4 ) ) ; loc1 . set ( loc4 , pnorm ( loc3 - loc2 ... |
21,070 | doc hfchang comment method `` setup '' . concode_field_sep PlaceHolder placeHolder concode_field_sep void testIsSqlKeywordStringString concode_elem_sep void testIsKeywordString concode_elem_sep void tearDown concode_elem_sep void testIsSqlKeywordString | void function ( ) { } |
21,071 | gets the address concode_field_sep java.util.Date date concode_elem_sep Float number concode_elem_sep Long parent concode_elem_sep Simple other concode_elem_sep String address concode_elem_sep String name concode_elem_sep int count concode_elem_sep Long id concode_field_sep void setName concode_elem_sep void init conco... | String function ( ) { return address ; } |
21,072 | peereventlistener intercace implementation concode_field_sep LogManager logManager concode_field_sep void receiveFromBlock concode_elem_sep boolean isTransactionRelevant concode_elem_sep void onChainDownloadStarted concode_elem_sep void setLogManager concode_elem_sep void onPeerDisconnected concode_elem_sep void onTran... | Message function ( Peer arg0 , Message arg1 ) { return null ; } |
21,073 | adds properties to the model in key/value pairs . concode_field_sep PlaceHolder placeHolder concode_field_sep void updateModel concode_elem_sep void setModelValue concode_elem_sep void setModelValue concode_elem_sep void execute | void function ( final PropertyConfigurable arg0 , final ModelNode arg1 ) { arg0 . getPropertyNames ( ) . forEach ( name -> setModelValue ( arg1 . get ( name ) , arg0 . getPropertyValueString ( name ) ) ) ; } |
21,074 | get the current search url . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean checkInMobileViewUrlList concode_elem_sep boolean isUrl concode_elem_sep String checkUrl | String function ( Context arg0 , String arg1 ) { String loc0 = PreferenceManager . getDefaultSharedPreferences ( arg0 ) . getString ( Constants . PREFERENCES_GENERAL_SEARCH_URL , Constants . URL_SEARCH_GOOGLE ) ; return String . format ( loc0 , arg1 ) ; } |
21,075 | returns the time in microseconds since the last call to reset or since the clock was created . concode_field_sep long startTime concode_field_sep void reset concode_elem_sep long getTimeMilliseconds | long function ( ) { return ( System . nanoTime ( ) - startTime ) / 1000L ; } |
21,076 | fallen off the bottom of the lru queue . subclasses could over-ride this to implement a persistent cache below the lru cache . concode_field_sep LRUCacheEntry fEntryQueue concode_elem_sep LRUCacheEntry _fNext concode_elem_sep LRUCacheEntry fEntryQueueTail concode_elem_sep Hashtable fEntryTable concode_elem_sep Object _... | void function ( LRUCacheEntry arg0 ) { } |
21,077 | returns a new token object , by default . however , if you want , you can create and return subclass objects based on the value of ofkind . simply add the cases to the switch for all those special cases . for example , if you have a subclass of token called idtoken that you want to create if ofkind is id , simlpy add s... | Token function ( int arg0 ) { switch ( arg0 ) { default : return new Token ( ) ; } } |
21,078 | error handler for session sustainer . called when `` ping '' request fails . concode_field_sep IEditorEnvirnoment _env concode_field_sep void onSetTinyMceWidth concode_elem_sep void publish concode_elem_sep void setPath concode_elem_sep void loadPage concode_elem_sep void onModuleLoad concode_elem_sep void setJsSaveCal... | void function ( IApiError arg0 ) { AlertWindow loc0 = new AlertWindow ( ) ; loc0 . showErrorMessage ( arg0 . getType ( ) , arg0 . getDetails ( ) , arg0 . getErrorCode ( ) ) ; loc0 . center ( ) ; } |
21,079 | create a new org.icefaces.apache.commons.fileupload.disk.diskfileitem instance from the supplied parameters and the local factory configuration . concode_field_sep int sizeThreshold concode_elem_sep int DEFAULT_SIZE_THRESHOLD concode_elem_sep File repository concode_elem_sep FileCleaningTracker fileCleaningTracker conc... | FileItem function ( String arg0 , String arg1 , boolean arg2 , String arg3 ) { DiskFileItem loc0 = new DiskFileItem ( arg0 , arg1 , arg2 , arg3 , sizeThreshold , repository ) ; FileCleaningTracker loc1 = getFileCleaningTracker ( ) ; if ( loc1 != null ) { loc1 . track ( loc0 . getTempFile ( ) , this ) ; } return loc0 ; ... |
21,080 | returns the black box bounds of the glyph . concode_field_sep GlyphMetrics gm concode_elem_sep float verticalAdvance concode_field_sep boolean isLigature concode_elem_sep float getHorizontalAdvance concode_elem_sep float getVerticalAdvance concode_elem_sep float getRSB concode_elem_sep boolean isStandard concode_elem_s... | Rectangle2D function ( ) { return gm . getBounds2D ( ) ; } |
21,081 | camel 2.8.4 : the policy for this queue to set in the ` com.amazonaws.services.s3.amazons3 #setbucketpolicy ` method . concode_field_sep String bucketName concode_elem_sep String fileName concode_elem_sep String serverSideEncryption concode_elem_sep String secretKey concode_elem_sep String prefix concode_elem_sep long ... | void function ( String arg0 ) { this . policy = arg0 ; } |
21,082 | instructs the webview to cancel the authentication request . concode_field_sep HttpAuthHandler handler concode_field_sep void proceed | void function ( ) { this . handler . cancel ( ) ; } |
21,083 | returns the collection of jetty contexts used in the admin console . a root context '' / '' is where the admin console lives . additional contexts can be added dynamically for other web applications that should be run as part of the admin console server process . the following pseudo code demonstrates how to do this : ... | ContextHandlerCollection function ( ) { return contexts ; } |
21,084 | return a string representation of this sequence database . concode_field_sep List<Sequence> sequences concode_field_sep void printDatabaseStats concode_elem_sep void print concode_elem_sep int size concode_elem_sep Set<Integer> getSequenceIDs concode_elem_sep List<Sequence> getSequences concode_elem_sep void loadFile c... | String function ( ) { } |
21,085 | calculates the center of the rectangle . results are located in the given vector2 concode_field_sep float x concode_elem_sep float width concode_elem_sep Rectangle tmp concode_elem_sep float y concode_elem_sep Rectangle tmp2 concode_elem_sep long serialVersionUID concode_elem_sep float height concode_field_sep Rectangl... | Vector2 function ( Vector2 arg0 ) { arg0 . x = x + width / 2 ; arg0 . y = y + height / 2 ; return arg0 ; } |
21,086 | append an object value . concode_field_sep char mode concode_elem_sep boolean comma concode_elem_sep int top concode_elem_sep int maxdepth concode_elem_sep Writer writer concode_elem_sep JSONObject stack[] concode_field_sep void pop concode_elem_sep JSONWriter array concode_elem_sep JSONWriter end concode_elem_sep JSON... | JSONWriter function ( Object arg0 ) { return this . append ( JSONObject . valueToString ( arg0 ) ) ; } |
21,087 | get the iproject containing the given statechart concode_field_sep SGenFactory factory concode_field_sep void setDefaultValue concode_elem_sep FeatureParameterValue createParameterValue concode_elem_sep FeatureConfiguration createDefaultFeatureConfiguration concode_elem_sep boolean projectExists concode_elem_sep Featur... | IProject function ( Statechart arg0 ) { return ResourcesPlugin . getWorkspace ( ) . getRoot ( ) . getFile ( new Path ( arg0 . eResource ( ) . getURI ( ) . toPlatformString ( true ) ) ) . getProject ( ) ; } |
21,088 | sets the value of the eventtypevendor property . concode_field_sep EventTypeVersion eventTypeVersion concode_elem_sep Description description concode_elem_sep EventTypeName eventTypeName concode_elem_sep EventClassName eventClassName concode_elem_sep String id concode_elem_sep EventTypeVendor eventTypeVendor concode_fi... | void function ( EventTypeVendor arg0 ) { this . eventTypeVendor = arg0 ; } |
21,089 | build the path string using the field values . concode_field_sep int STREAM_NAME concode_elem_sep int MODULE_TYPE concode_elem_sep int MODULE_SEQUENCE concode_elem_sep int CONTAINER concode_elem_sep int MODULES concode_elem_sep int DEPLOYMENT_DESC concode_elem_sep String[] deploymentDesc concode_elem_sep String[] eleme... | String function ( ) { validate ( ) ; elements [ DEPLOYMENT_DESC ] = String . format ( "srini_string" , deploymentDesc [ MODULE_TYPE ] , deploymentDesc [ MODULE_LABEL ] , deploymentDesc [ MODULE_SEQUENCE ] , deploymentDesc [ CONTAINER ] ) ; return Paths . build ( elements ) ; } |
21,090 | add information message . concode_field_sep PlaceHolder placeHolder concode_field_sep String getRequestParameter concode_elem_sep Application getApplication concode_elem_sep Object getElValue concode_elem_sep ServletContext getServletContext concode_elem_sep Object getManagedBean concode_elem_sep String getJsfEl concod... | void function ( String arg0 ) { addInfoMessage ( null , arg0 ) ; } |
21,091 | setter method for selectedlevelnames concode_field_sep String lastName concode_elem_sep String partnerName concode_elem_sep long serialVersionUID concode_elem_sep String userID concode_elem_sep ArrayList displayDetails concode_elem_sep String password concode_elem_sep List sourceDetails concode_elem_sep ArrayList agent... | void function ( String [ ] arg0 ) { this . selectedLevelNames = arg0 ; } |
21,092 | a pagination token . concode_field_sep java.util.List<IdentityDescription> identities concode_elem_sep String nextToken concode_elem_sep String identityPoolId concode_field_sep void setIdentityPoolId concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep ListIdentitiesResult clone concode_elem_s... | void function ( String arg0 ) { this . nextToken = arg0 ; } |
21,093 | entity name accessor concode_field_sep Object instance concode_elem_sep String entityName concode_elem_sep SessionImplementor session concode_elem_sep EntityPersister persister concode_elem_sep Serializable id concode_field_sep AfterTransactionCompletionProcess getAfterTransactionCompletionProcess concode_elem_sep Even... | String function ( ) { return entityName ; } |
21,094 | defines the specified prefix-uri mapping at the current depth in the tree . concode_field_sep ArrayList stack concode_field_sep void pop concode_elem_sep Iterator currentPrefixes concode_elem_sep void push concode_elem_sep String getURI | void function ( String arg0 , String arg1 ) { int loc0 = stack . size ( ) - 1 ; HashMap loc1 = ( HashMap ) stack . get ( loc0 ) ; if ( loc1 == null ) { loc1 = new HashMap ( ) ; stack . set ( loc0 , loc1 ) ; } loc1 . put ( arg0 , arg1 ) ; } |
21,095 | returns whether filter accepts specified node text or not . concode_field_sep boolean useSpaceAsSeparator concode_elem_sep Map<String,Boolean> acceptStatesCache concode_elem_sep Filter<E> originalFilter concode_elem_sep boolean searchFromStart concode_elem_sep TextProvider<E> textProvider concode_elem_sep String search... | boolean function ( final String arg0 , final String arg1 , final boolean arg2 ) { return arg2 ? arg0 . startsWith ( arg1 ) : arg0 . contains ( arg1 ) ; } |
21,096 | sets the authorizer that controls access to the component . concode_field_sep Class<C> componentClass concode_elem_sep ComponentAuthorizer authorizer concode_elem_sep String description concode_elem_sep String id concode_elem_sep String title concode_field_sep void setComponentClass concode_elem_sep ComponentAuthorizer... | void function ( ComponentAuthorizer arg0 ) { this . authorizer = arg0 ; } |
21,097 | returns total number of http connections in the pool . concode_field_sep ConnectionPool systemDefault concode_elem_sep LinkedList<Connection> connections concode_elem_sep long keepAliveDurationNs concode_elem_sep long DEFAULT_KEEP_ALIVE_DURATION_MS concode_elem_sep int MAX_CONNECTIONS_TO_CLEANUP concode_elem_sep Callab... | int function ( ) { int loc0 = 0 ; for ( Connection loc1 : connections ) { if ( ! loc1 . isSpdy ( ) ) loc0 ++ ; } return loc0 ; } |
21,098 | get localized resource bundle via classloader . concode_field_sep Logger log concode_field_sep placeholderType placeHolder | ResourceLoader function ( String arg0 , String arg1 ) { ResourceLoader loc0 = null ; try { loc0 = new ResourceLoader ( arg1 , ComponentManager . get ( arg0 ) . getClass ( ) . getClassLoader ( ) ) ; } catch ( Exception loc1 ) { log . warn ( "srini_string" + loc1 . toString ( ) ) ; } return loc0 ; } |
21,099 | add ipaddress to blocklist concode_field_sep long blockTime concode_elem_sep Collection<String> spamTrapRecips concode_elem_sep Map<String,Long> blockedIps concode_field_sep void init concode_elem_sep HookResult doRcpt concode_elem_sep boolean isBlocked concode_elem_sep void destroy concode_elem_sep void setBlockTime c... | void function ( String arg0 , SMTPSession arg1 ) { long loc0 = System . currentTimeMillis ( ) + blockTime ; arg1 . getLogger ( ) . debug ( "srini_string" + arg0 + "srini_string" + loc0 + "srini_string" ) ; synchronized ( blockedIps ) { blockedIps . put ( arg0 , Long . valueOf ( loc0 ) ) ; } } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.