idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
5,500 | a convenience method for converting a byte array into a string . concode_field_sep PlaceHolder placeHolder concode_field_sep long getLong concode_elem_sep int getInt concode_elem_sep char getChar concode_elem_sep int putInt concode_elem_sep int putChar concode_elem_sep int putString concode_elem_sep int putLong | String function ( byte [ ] arg0 , int arg1 , int arg2 ) { return null ; } |
5,501 | sample_is_depended_on takes one of the following four values : 0 : the dependency of other samples on this sample is unknown ; 1 : other samples may depend on this one not disposable ; 2 : no other sample depends on this one disposable ; 3 : reserved concode_field_sep int sampleDegradationPriority concode_elem_sep int ... | void function ( int arg0 ) { this . sampleIsDependedOn = arg0 ; } |
5,502 | constructs the url for redirection to the cas server . default implementation relies on the cas client to do the bulk of the work . concode_field_sep boolean encodeServiceUrlWithSessionId concode_elem_sep String loginUrl concode_elem_sep ServiceProperties serviceProperties concode_field_sep void commence concode_elem_s... | String function ( final String arg0 ) { return CommonUtils . constructRedirectUrl ( this . loginUrl , this . serviceProperties . getServiceParameter ( ) , arg0 , this . serviceProperties . isSendRenew ( ) , false ) ; } |
5,503 | returns the centroid of the quad . the centroid of the quad is where the two inner diagonals connecting the opposite corners meet . concode_field_sep PointF mBottomRight concode_elem_sep PointF mTopRight concode_elem_sep PointF mBottomLeft concode_elem_sep PointF mTopLeft concode_field_sep PointF bottomLeft concode_ele... | PointF function ( ) { return new PointF ( ( mTopLeft . x + mBottomRight . x ) / 2f , ( mTopLeft . y + mBottomRight . y ) / 2f ) ; } |
5,504 | get the point id concode_field_sep String pointId concode_elem_sep Log log concode_elem_sep String extensionIdSeparator concode_elem_sep String moduleId concode_elem_sep Map<String,String> parameterMap concode_field_sep String getOverrideContent concode_elem_sep void setPointId concode_elem_sep void setModuleId concode... | String function ( ) { return pointId ; } |
5,505 | checks if the specified constructor is accessible . this simply ensures that the constructor is accessible . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean isAccessible concode_elem_sep Constructor<T> getMatchingAccessibleConstructor concode_elem_sep T invokeExactConstructor concode_elem_sep T invo... | Constructor < T > function ( final Constructor < T > arg0 ) { Validate . notNull ( arg0 , "srini_string" ) ; return MemberUtils . isAccessible ( arg0 ) && isAccessible ( arg0 . getDeclaringClass ( ) ) ? arg0 : null ; } |
5,506 | setmonitoredservicedao concode_field_sep OutageDao m_outageDao concode_elem_sep MonitoredServiceDao m_monitoredServiceDao concode_field_sep RtcNodeModel getNodeListForCriteria concode_elem_sep RtcNodeModel getNodeList concode_elem_sep Double calculateAvailability concode_elem_sep void setOutageDao concode_elem_sep Map<... | void function ( MonitoredServiceDao arg0 ) { m_monitoredServiceDao = arg0 ; } |
5,507 | toraml . concode_field_sep ResourceVisitor visitor concode_field_sep void addClasses concode_elem_sep void addClass | String function ( ) { return visitor . getRaml ( ) ; } |
5,508 | returns an image stored in the file at the specified path . concode_field_sep Map<Font,Font> m_fontToBoldFontMap concode_elem_sep Map<RGB,Color> m_colorMap concode_elem_sep int BOTTOM_LEFT concode_elem_sep int BOTTOM_RIGHT concode_elem_sep int TOP_RIGHT concode_elem_sep int TOP_LEFT concode_elem_sep Map<Integer,Cursor>... | Image function ( String arg0 ) { Image loc0 = m_imageMap . get ( arg0 ) ; if ( loc0 == null ) { try { loc0 = getImage ( new FileInputStream ( arg0 ) ) ; m_imageMap . put ( arg0 , loc0 ) ; } catch ( Exception loc1 ) { loc0 = getMissingImage ( ) ; m_imageMap . put ( arg0 , loc0 ) ; } } return loc0 ; } |
5,509 | any collation without a collator concode_field_sep HashMap nameToJavaName concode_elem_sep Collator collator concode_elem_sep Charset charset concode_elem_sep HashMap dbNameToCollation concode_elem_sep HsqlName name concode_elem_sep boolean equalIsIdentical concode_elem_sep boolean isFinal concode_elem_sep HsqlName sou... | boolean function ( ) { return collator == null ; } |
5,510 | create an instance of prepaidpayperiodictype concode_field_sep PlaceHolder placeHolder concode_field_sep DataPassType createDataPassType concode_elem_sep PrepaidPayPerServiceType createPrepaidPayPerServiceType concode_elem_sep SupportedFeatureType createSupportedFeatureType concode_elem_sep PlanType createPlanType conc... | PrepaidPayPeriodicType function ( ) { return new PrepaidPayPeriodicType ( ) ; } |
5,511 | utility method to throw a standard failure if #getdecision is org.jboss.as.controller.access.authorizationresult.decision #deny . this variant extracts the target address from the address field in the operation paramand then calls the @linkplain #failifdenied modelnode , pathaddress overloaded variant . concode_field_s... | void function ( ModelNode arg0 ) { failIfDenied ( arg0 , PathAddress . pathAddress ( arg0 . get ( OP_ADDR ) ) ) ; } |
5,512 | returns the create date of this entry . concode_field_sep Entry _entry concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setContent concode_elem_sep boole... | long function ( ) { return _entry . getCreateDate ( ) ; } |
5,513 | returns the number of rows matching the dynamic query . concode_field_sep PhoneLocalService _phoneLocalService concode_field_sep com.liferay.portal.kernel.model.Phone getPhone concode_elem_sep com.liferay.portal.kernel.model.Phone getPhoneByUuidAndCompanyId concode_elem_sep java.lang.String getOSGiServiceIdentifier con... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return _phoneLocalService . dynamicQueryCount ( arg0 ) ; } |
5,514 | some barcode contents are considered secure , and should not be saved to history , copied to the clipboard , or otherwise persisted . concode_field_sep ParsedResult result concode_elem_sep Activity activity concode_elem_sep Result rawResult concode_field_sep CharSequence getDisplayContents concode_elem_sep Activity get... | boolean function ( ) { return false ; } |
5,515 | display warning with warning icon concode_field_sep CLogger logger concode_field_sep boolean ask concode_elem_sep boolean ask concode_elem_sep void error concode_elem_sep void error concode_elem_sep void error concode_elem_sep void error concode_elem_sep String constructMessage concode_elem_sep void info concode_elem_s... | void function ( int arg0 , Component arg1 , String arg2 , String arg3 ) { warn ( arg0 , arg1 , arg2 , arg3 , null ) ; } |
5,516 | returns the url for the connection using the default database name . concode_field_sep String DEFAULT_DATABASE_NAME concode_elem_sep String driverClass concode_elem_sep EmbeddedDatabaseConnection override concode_elem_sep EmbeddedDatabaseType type concode_elem_sep String url concode_field_sep String getDriverClassName ... | String function ( ) { return getUrl ( DEFAULT_DATABASE_NAME ) ; } |
5,517 | converts a map of key-value pairs into the form expected by generatesignature concode_field_sep PlaceHolder placeHolder concode_field_sep boolean verifySignature concode_elem_sep boolean verifySignature concode_elem_sep boolean verifySignature concode_elem_sep boolean verifySignature concode_elem_sep boolean verifySign... | List < String > function ( Collection < Map . Entry < String , CharSequence >> arg0 ) { List < String > loc0 = new ArrayList < String > ( arg0 . size ( ) ) ; for ( Map . Entry < String , CharSequence > loc1 : arg0 ) loc0 . add ( FacebookParam . stripSignaturePrefix ( loc1 . getKey ( ) ) + "srini_string" + loc1 . getVal... |
5,518 | get a httpsurlconnection from a uri using the best tlsconfiguration available on the device . concode_field_sep Proxy proxy concode_elem_sep Proxy ORBOT_HTTP_PROXY concode_field_sep Proxy getProxy concode_elem_sep void setProxy concode_elem_sep void setProxy concode_elem_sep HttpsURLConnection getCompatibleHttpsURLConn... | HttpsURLConnection function ( Uri arg0 ) { return getHttpsURLConnection ( arg0 . toString ( ) ) ; } |
5,519 | writes a tag_double tag . concode_field_sep DataOutputStream os concode_field_sep void writeByteArrayTagPayload concode_elem_sep void writeShortTagPayload concode_elem_sep void writeListTagPayload concode_elem_sep void writeTag concode_elem_sep void writeFloatTagPayload concode_elem_sep void writeByteTagPayload concode... | void function ( DoubleTag arg0 ) { os . writeDouble ( arg0 . getValue ( ) ) ; } |
5,520 | sets the startindex value for this activitypage . concode_field_sep java.lang.Integer startIndex concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.Integer totalResultSetSize concode_elem_sep co... | void function ( java . lang . Integer arg0 ) { this . startIndex = arg0 ; } |
5,521 | returns the email address with the primary key . concode_field_sep EmailAddressLocalService _service concode_field_sep com.liferay.portal.kernel.model.EmailAddress deleteEmailAddress concode_elem_sep com.liferay.portal.kernel.model.EmailAddress deleteEmailAddress concode_elem_sep java.lang.String getOSGiServiceIdentifi... | com . liferay . portal . kernel . model . EmailAddress function ( long arg0 ) { return getService ( ) . getEmailAddress ( arg0 ) ; } |
5,522 | the internet-routable ip address of the customer gateway 's outside interface . concode_field_sep String customerGatewayId concode_elem_sep String ipAddress concode_elem_sep String state concode_elem_sep String bgpAsn concode_elem_sep String type concode_elem_sep com.amazonaws.internal.ListWithAutoConstructFlag<Tag> ta... | String function ( ) { return ipAddress ; } |
5,523 | returns the response as a character stream decoded with the charset of the content-type header . if that header is either absent or lacks a charset , this will attempt to decode the response body as utf-8 . concode_field_sep Request request concode_elem_sep RawHeaders headers concode_elem_sep int code concode_elem_sep ... | Reader function ( ) { if ( reader == null ) { reader = new InputStreamReader ( byteStream ( ) , charset ( ) ) ; } return reader ; } |
5,524 | factory method for contentdecoder instances . concode_field_sep HttpRequest request concode_elem_sep IOSession session concode_elem_sep boolean hasBufferedOutput concode_elem_sep ContentLengthStrategy outgoingContentStrategy concode_elem_sep boolean hasBufferedInput concode_elem_sep SocketAddress remote concode_elem_se... | ContentDecoder function ( final long arg0 , final ReadableByteChannel arg1 , final SessionInputBuffer arg2 , final HttpTransportMetricsImpl arg3 ) { if ( arg0 == ContentLengthStrategy . CHUNKED ) { return new ChunkDecoder ( arg1 , arg2 , arg3 ) ; } else if ( arg0 == ContentLengthStrategy . IDENTITY ) { return new Ident... |
5,525 | sets the value of the creditstatus property . concode_field_sep String address concode_elem_sep String faxPhone concode_elem_sep DateTime lastModifiedDateTime concode_elem_sep List<AppliedLabel> appliedLabels concode_elem_sep String externalId concode_elem_sep CompanyCreditStatus creditStatus concode_elem_sep Integer t... | void function ( CompanyCreditStatus arg0 ) { this . creditStatus = arg0 ; } |
5,526 | notify angularobject removal concode_field_sep Gson gson concode_elem_sep Map<ResourceId,Object> getResourceResponse concode_elem_sep Logger logger concode_elem_sep List<ResourceSet> getAllResourceResponse concode_elem_sep List<RemoteInterpreterEvent> eventQueue concode_field_sep void angularObjectAdd concode_elem_sep ... | void function ( String arg0 , String arg1 , String arg2 ) { Map < String , String > loc0 = new HashMap < > ( ) ; loc0 . put ( "srini_string" , arg0 ) ; loc0 . put ( "srini_string" , arg1 ) ; loc0 . put ( "srini_string" , arg2 ) ; sendEvent ( new RemoteInterpreterEvent ( RemoteInterpreterEventType . ANGULAR_OBJECT_REMOV... |
5,527 | sets the value of the type property . concode_field_sep TransformsType transforms concode_elem_sep String type concode_elem_sep String uri concode_field_sep TransformsType getTransforms concode_elem_sep String getType concode_elem_sep void setURI concode_elem_sep void setTransforms concode_elem_sep String getURI | void function ( String arg0 ) { this . type = arg0 ; } |
5,528 | transform this call to an websocket url . concode_field_sep java.util.Random rand concode_field_sep String path concode_elem_sep String fragment concode_elem_sep String method concode_elem_sep Call withFragment concode_elem_sep Call unique concode_elem_sep String absoluteURL concode_elem_sep String absoluteURL concode_... | String function ( Http . Request arg0 ) { return webSocketURL ( arg0 . secure ( ) , arg0 . host ( ) ) ; } |
5,529 | adds a connection to the local store . concode_field_sep String LOCATION_PREFERENCE concode_elem_sep SharedPreferences preferences_ concode_elem_sep String CONNECTIONS_PREFERENCE concode_elem_sep String PREFERENCES concode_elem_sep String DELIMITER concode_elem_sep String EVENTS_PREFERENCE concode_field_sep List<Event>... | void function ( final String arg0 ) { if ( arg0 != null && arg0 . length ( ) > 0 ) { final List < String > loc0 = new ArrayList < > ( Arrays . asList ( loc0 ( ) ) ) ; loc0 . add ( arg0 ) ; preferences_ . edit ( ) . putString ( CONNECTIONS_PREFERENCE , join ( loc0 , DELIMITER ) ) . apply ( ) ; } } |
5,530 | gets the value of the criterionuse property . concode_field_sep CriterionUse criterionUse concode_elem_sep Criterion criterion concode_elem_sep String adGroupCriterionType concode_elem_sep Long adGroupId concode_elem_sep List<StringStringMapEntry> forwardCompatibilityMap concode_elem_sep List<Label> labels concode_fiel... | CriterionUse function ( ) { return criterionUse ; } |
5,531 | expects a client soap 1.1 or sender soap 1.2 fault . concode_field_sep PlaceHolder placeHolder concode_field_sep ResponseMatcher serverOrReceiverFault concode_elem_sep ResponseMatcher serverOrReceiverFault concode_elem_sep ResponseXPathExpectations xpath concode_elem_sep ResponseXPathExpectations xpath concode_elem_sep... | ResponseMatcher function ( ) { return clientOrSenderFault ( null ) ; } |
5,532 | writes a trace message to indicate that the current method has ended . must be called exactly once for each call to #tracebegin using the same tag . concode_field_sep long TRACE_TAG_ALWAYS concode_elem_sep long TRACE_TAG_DALVIK concode_elem_sep long TRACE_TAG_VIEW concode_elem_sep long sEnabledTags concode_elem_sep int... | void function ( long arg0 ) { if ( isTagEnabled ( arg0 ) ) { nativeTraceEnd ( arg0 ) ; } } |
5,533 | return a singleton instance of this class concode_field_sep AtmosAPIFacade instance concode_elem_sep Logger LOG concode_elem_sep AtmosApi client concode_field_sep AtmosResult move concode_elem_sep void downloadFilesInFolder concode_elem_sep ObjectId putSingleFile concode_elem_sep AtmosResult get concode_elem_sep AtmosR... | AtmosAPIFacade function ( AtmosApi arg0 ) { if ( instance == null ) { instance = new AtmosAPIFacade ( ) ; AtmosAPIFacade . arg0 = arg0 ; } return instance ; } |
5,534 | a factory of pathpackagelocators from a list of path elements . elements may contain '' % workspace % '' , indicating the workspace . concode_field_sep ImmutableList<Path> pathEntries concode_elem_sep Path outputBase concode_elem_sep PathPackageLocator EMPTY concode_elem_sep Set<String> DEFAULT_TOP_LEVEL_EXCLUDES conco... | PathPackageLocator function ( Path arg0 , List < String > arg1 , EventHandler arg2 , Path arg3 , Path arg4 ) { return create ( arg0 , arg1 , arg2 , arg3 , arg4 , true ) ; } |
5,535 | getter for message concode_field_sep KickstartSession session concode_elem_sep Date created concode_elem_sep Action action concode_elem_sep Date modified concode_elem_sep Long id concode_elem_sep KickstartSessionState state concode_elem_sep Date time concode_elem_sep String message concode_field_sep void setAction conc... | String function ( ) { return this . message ; } |
5,536 | get specular radiance . concode_field_sep Color lspec concode_elem_sep LightSample next concode_elem_sep Color ldiff concode_elem_sep Ray shadowRay concode_field_sep void traceShadow concode_elem_sep void setShadowRay concode_elem_sep boolean isValid concode_elem_sep float dot concode_elem_sep Color getDiffuseRadiance ... | Color function ( ) { return lspec ; } |
5,537 | info log message . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d concode_elem_sep void setL... | void function ( String arg0 , String arg1 , Throwable arg2 ) { if ( LOG . INFO >= LOGLEVEL ) Log . i ( arg0 , arg1 , arg2 ) ; } |
5,538 | creates a request and adds it to the array of pending requests . each created request gets a unique result code for use with requestpermission concode_field_sep int currentReqId concode_elem_sep SparseArray<Request> requests concode_elem_sep int requestCode concode_elem_sep int action concode_elem_sep CallbackContext c... | int function ( String arg0 , int arg1 , CallbackContext arg2 ) { Request loc0 = new Request ( arg0 , arg1 , arg2 ) ; requests . put ( loc0 . requestCode , loc0 ) ; return loc0 . requestCode ; } |
5,539 | removes the specified listener from this contexteventrepeater . concode_field_sep Log log concode_elem_sep String MESSAGING_CONTEXT_EVENT_PUBLISHER_CLASS_NAME concode_elem_sep Map bufferedContextEvents concode_elem_sep ContextEventPublisher contextEventPublisher concode_elem_sep Map listeners concode_elem_sep String AS... | void function ( ContextEventListener arg0 ) { if ( arg0 == null ) { return ; } listeners . remove ( arg0 ) ; } |
5,540 | returns the user name of this o auth token . concode_field_sep OAuthToken _oAuthToken concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep java.lang.String getGadgetKey concode_elem_sep boolean isEscapedModel... | java . lang . String function ( ) { return _oAuthToken . getUserName ( ) ; } |
5,541 | retrieves a list of the sessions in this container that are visible to the specified session , given the access rights of the session user . concode_field_sep Session sysLobSession concode_elem_sep long sessionIdCount concode_elem_sep LongKeyHashMap sessionMap concode_elem_sep Session sysSession concode_field_sep void ... | Session [ ] function ( Session arg0 ) { return arg0 . isAdmin ( ) ? getAllSessions ( ) : new Session [ ] { arg0 } ; } |
5,542 | set the frequency for logging information at info level in milliseconds . if set 0 or less than 0 , the logging task is cancelled . by default this property is set to 30 minutes 30 60 1000 . concode_field_sep ThreadPoolExecutor outboundChannelExecutor concode_elem_sep StompBrokerRelayMessageHandler stompBrokerRelay con... | void function ( long arg0 ) { if ( this . loggingTask != null ) { this . loggingTask . cancel ( true ) ; } this . loggingPeriod = arg0 ; this . loggingTask = initLoggingTask ( 0 ) ; } |
5,543 | method `` getcolumns '' . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean addColumns concode_elem_sep List<TdView> getViews | List < TdColumn > function ( TdView arg0 ) { return ColumnHelper . getColumns ( arg0 . getFeature ( ) ) ; } |
5,544 | call helloworld concode_field_sep HelloWorldManagedConnectionFactory mcf concode_elem_sep HelloWorldManagedConnection mc concode_field_sep void close | String function ( ) { return helloWorld ( mcf . getResourceAdapter ( ) . toString ( ) ) ; } |
5,545 | this method is used to encode the provided buffer of bytes in a http/1 .1 compliant format and sent it to the client . once the data has been encoded it is handed to the transport layer within the server , which may choose to buffer the data if the content is too small to send efficiently or if the socket is not write ... | void function ( ByteBuffer arg0 ) { int loc0 = arg0 . position ( ) ; int loc1 = arg0 . limit ( ) ; if ( loc0 > loc1 ) { throw new BodyEncoderException ( "srini_string" ) ; } encode ( arg0 , 0 , loc1 - loc0 ) ; } |
5,546 | performs the graph traversion with all elements which are contained in the specified iterator . this means that every element of this collection and all elements which are reachable from these elements will be visited . concode_field_sep int linkCount concode_elem_sep Map myVisitedElements concode_elem_sep Iterator myE... | void function ( Iterator arg0 ) { myElements = arg0 ; this . perform ( ) ; } |
5,547 | send it to notification bar this can be override by subclass to provide customer implementation concode_field_sep Ringtone ringtone concode_elem_sep String TAG concode_elem_sep String[] msgs concode_elem_sep HashSet<String> fromUsers concode_elem_sep int foregroundNotifyID concode_elem_sep long lastNotifiyTime concode_... | void function ( List < EMMessage > arg0 , boolean arg1 ) { for ( EMMessage loc0 : arg0 ) { if ( ! arg1 ) { notificationNum ++ ; fromUsers . add ( loc0 . getFrom ( ) ) ; } } sendNotification ( arg0 . get ( arg0 . size ( ) - 1 ) , arg1 , false ) ; } |
5,548 | do n't use this builder for creating preparedstatementexecutions to match against . concode_field_sep String consistency concode_elem_sep List<Object> variables concode_elem_sep List<CqlType> variableTypes concode_elem_sep String preparedStatementText concode_elem_sep List<CqlType> variableTypes concode_elem_sep List<O... | PreparedStatementExecutionBuilder function ( List < ColumnTypes > arg0 ) { return new PreparedStatementExecutionBuilder ( arg0 ) ; } |
5,549 | adds a header with name and value . prefer this method for multiply-valued headers like `` set-cookie '' . concode_field_sep Request request concode_elem_sep RawHeaders headers concode_elem_sep int code concode_elem_sep Reader reader concode_elem_sep RawHeaders headers concode_elem_sep Response redirectedBy concode_ele... | Builder function ( String arg0 , String arg1 ) { headers . add ( arg0 , arg1 ) ; return this ; } |
5,550 | a function to generate regex which matches interval string 's unit part like `` 3 years '' . first , we can leave out some units in interval string , and we only care about the value of unit , so here we use non-capturing group to wrap the actual regex . at the beginning of the actual regex , we should match spaces bef... | String function ( String arg0 ) { return "srini_string" + arg0 + "srini_string" ; } |
5,551 | records an event . concode_field_sep MetricsService metricsService concode_elem_sep EventMetric topologyHostEventMetric concode_elem_sep CoreService coreService concode_elem_sep LinkService linkService concode_elem_sep String FEATURE_LINK_NAME concode_elem_sep EventMetric topologyGraphEventMetric concode_elem_sep Event... | void function ( Event arg0 , EventMetric arg1 ) { synchronized ( lastEvents ) { arg1 . eventReceived ( ) ; while ( lastEvents . size ( ) >= LAST_EVENTS_MAX_N ) { lastEvents . remove ( ) ; } lastEvents . add ( arg0 ) ; } } |
5,552 | when a 300-699 response is received for an subscribe transaction . concode_field_sep SipProvider sip_provider concode_elem_sep Log log concode_elem_sep SubscriberDialog subscriber_dialog concode_elem_sep PresenceAgentListener listener concode_elem_sep UserAgentProfile user_profile concode_elem_sep NotifierDialog notifi... | void function ( SubscriberDialog arg0 , int arg1 , String arg2 , Message arg3 ) { printLog ( "srini_string" , LogLevel . MEDIUM ) ; listener . onPaSubscriptionTerminated ( this , arg0 . getRemoteName ( ) , arg2 ) ; } |
5,553 | setconfig concode_field_sep boolean m_loadedFromFile concode_elem_sep long m_lastModified concode_elem_sep SiteStatusViewsFactory m_instance concode_elem_sep SiteStatusViewConfiguration m_config concode_elem_sep boolean initialized concode_elem_sep Map<String,View> m_viewsMap concode_field_sep void initializeViewsMap c... | void function ( SiteStatusViewConfiguration arg0 ) { SiteStatusViewsFactory . arg0 = arg0 ; } |
5,554 | this will get the non stroking alpha constant . concode_field_sep COSDictionary dict concode_field_sep boolean getAutomaticStrokeAdjustment concode_elem_sep void setFontSetting concode_elem_sep PDSoftMask getSoftMask concode_elem_sep Float getOverprintMode concode_elem_sep void setLineDashPattern concode_elem_sep Paint... | Float function ( ) { return getFloatItem ( COSName . CA_NS ) ; } |
5,555 | information about one or more route tables . note : this method appends the values to the existing list if any . use #setroutetables java.util.collection or #withroutetables java.util.collection if you want to override theexisting values . returns a reference to this object so that method calls can be chained together ... | DescribeRouteTablesResult function ( RouteTable ... arg0 ) { if ( getRouteTables ( ) == null ) setRouteTables ( new java . util . ArrayList < RouteTable > ( arg0 . length ) ) ; for ( RouteTable loc0 : arg0 ) { getRouteTables ( ) . add ( loc0 ) ; } return this ; } |
5,556 | utility method to check if a value exist in the properties map concode_field_sep PlaceHolder placeHolder concode_field_sep boolean configurationExist concode_elem_sep String getAttributeAsString concode_elem_sep String getPropertyAsString concode_elem_sep Object getAttribute concode_elem_sep Object getProperty concode_... | boolean function ( final GoraAttribute arg0 , final Map < String , ? > arg1 ) { return arg1 . containsKey ( arg0 . value ) ; } |
5,557 | stops the periodic task that is collecting , aggregating and publishing stats . concode_field_sep Logger logger concode_elem_sep StorageManager storageManager concode_elem_sep File statsOutputFile concode_elem_sep List<PartitionId> totalPartitionIds concode_elem_sep int initialDelayInSecs concode_elem_sep ObjectMapper ... | void function ( ) { if ( statsAggregator != null ) { statsAggregator . cancel ( ) ; } if ( scheduler != null ) { scheduler . shutdown ( ) ; if ( ! scheduler . awaitTermination ( 30 , TimeUnit . SECONDS ) ) { logger . error ( "srini_string" ) ; } } } |
5,558 | returns the number of times #create object returned a value . concode_field_sep int evictionCount concode_elem_sep int putCount concode_elem_sep int hitCount concode_elem_sep int size concode_elem_sep int createCount concode_elem_sep int maxSize concode_elem_sep LinkedHashMap<K,V> map concode_elem_sep int missCount con... | int function ( ) { return this . createCount ; } |
5,559 | sets up the test . concode_field_sep PlaceHolder placeHolder concode_field_sep void testPlayerGameObjectIdentifierMessageConstructor concode_elem_sep void testToString | void function ( ) { } |
5,560 | get the time in millis passed since a previous time concode_field_sep long nanosPerMilli concode_field_sep long nanoTime concode_elem_sep long millisToNanos concode_elem_sep long timeSinceNanos concode_elem_sep long millis concode_elem_sep long nanosToMillis | long function ( long arg0 ) { return millis ( ) - arg0 ; } |
5,561 | sets the selectedstudent student id . concode_field_sep String selectedCourse concode_elem_sep Course currentCourse concode_elem_sep List studentCourses concode_elem_sep List courseItems concode_elem_sep String selectedStudent concode_elem_sep Student newStudent concode_elem_sep List studentItems concode_elem_sep Stude... | void function ( String arg0 ) { this . selectedStudent = arg0 ; } |
5,562 | returns the nil uuid a uuid whose values are both set to zero . starting with version 2.0 , this method does return a new uuid instance every time it is called . earlier versions returned one instance . this has now been changed because this uuid has public , non-final instance fields . returning a new instance is ther... | UUID function ( ) { return new UUID ( 0 , 0 ) ; } |
5,563 | function version to which the alias points . returns a reference to this object so that method calls can be chained together . constraints : length : 1 - 1024 pattern : \ $ latest | 0-9 + concode_field_sep String aliasArn concode_elem_sep String functionVersion concode_elem_sep String name concode_elem_sep String descr... | GetAliasResult function ( String arg0 ) { this . functionVersion = arg0 ; return this ; } |
5,564 | sets the value of the objectid property . concode_field_sep Date lastUpdateDate concode_elem_sep String name concode_elem_sep String lastUpdateUser concode_elem_sep String createUser concode_elem_sep Integer userObjectId concode_elem_sep Integer objectId concode_elem_sep Date createDate concode_field_sep String getCrea... | void function ( Integer arg0 ) { this . objectId = arg0 ; } |
5,565 | get the object-version object concode_field_sep CPLObjectVersion objectVersion concode_elem_sep int version concode_elem_sep String value concode_elem_sep String key concode_elem_sep CPLObject object concode_field_sep int getVersion concode_elem_sep String getKey concode_elem_sep String getValue concode_elem_sep CPLObj... | CPLObjectVersion function ( ) { if ( objectVersion == null ) { objectVersion = new CPLObjectVersion ( object , version ) ; } return objectVersion ; } |
5,566 | adds a user group . this method handles the creation and bookkeeping of the user group , including its resources , metadata , and internal data structures . concode_field_sep UserGroupService _service concode_field_sep void deleteUserGroup concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void... | com . liferay . portal . kernel . model . UserGroup function ( java . lang . String arg0 , java . lang . String arg1 ) { return getService ( ) . addUserGroup ( arg0 , arg1 ) ; } |
5,567 | use a new streambytearrayloader to load an image from the given model . concode_field_sep ModelLoader<T,InputStream> loader concode_elem_sep Class<T> dataClass concode_elem_sep Context context concode_elem_sep ModelLoader<A,T> modelLoader concode_elem_sep A model concode_elem_sep Glide glide concode_field_sep GenericMo... | DrawableTypeRequest < byte [ ] > function ( byte [ ] arg0 , final String arg1 ) { StreamByteArrayLoader loc0 = new StreamByteArrayLoader ( ) { @ Override public String getId ( byte [ ] arg0 ) { return arg1 ; } } ; return new DrawableTypeRequest < byte [ ] > ( arg0 , loc0 , null , context , glide ) ; } |
5,568 | notifies the contactquerylisteners registered with this contactquery that its state has changed . concode_field_sep T contactSource concode_elem_sep List<ContactQueryListener> listeners concode_elem_sep int status concode_field_sep void addContactQueryListener concode_elem_sep void cancel concode_elem_sep void fireCont... | void function ( int arg0 ) { ContactQueryListener [ ] loc0 ; synchronized ( listeners ) { loc0 = listeners . toArray ( new ContactQueryListener [ listeners . size ( ) ] ) ; } ContactQueryStatusEvent loc1 = new ContactQueryStatusEvent ( this , arg0 ) ; for ( ContactQueryListener loc2 : loc0 ) loc2 . queryStatusChanged (... |
5,569 | get the resource adapter deployments concode_field_sep Set<ResourceAdapterDeployment> deployments concode_field_sep void unregisterResourceAdapterDeployment concode_elem_sep void registerResourceAdapterDeployment | Set < ResourceAdapterDeployment > function ( ) { return Collections . unmodifiableSet ( deployments ) ; } |
5,570 | register a table using endpoint with this sqlexecenvironment concode_field_sep JavaTypeFactoryImpl typeFactory concode_elem_sep SchemaPlus schema concode_elem_sep Logger logger concode_field_sep SQLExecEnvironment registerFunction concode_elem_sep SQLExecEnvironment registerFunction concode_elem_sep SQLExecEnvironment ... | SQLExecEnvironment function ( String arg0 , Endpoint arg1 ) { Preconditions . checkNotNull ( arg0 , "srini_string" ) ; registerTable ( arg0 , new ApexSQLTable ( schema , arg0 , arg1 ) ) ; return this ; } |
5,571 | returns the maximum number of inbound streams that this association supports . data received on this association will be on stream number s , where 0 < = s < maxinboundstreams . concode_field_sep int maxInStreams concode_elem_sep int maxOutStreams concode_elem_sep int associationID concode_field_sep int maxOutboundStre... | int function ( ) { return maxInStreams ; } |
5,572 | search all visible layers for an object with the given name . concode_field_sep SharedPreferences sharedPreferences concode_elem_sep String TAG concode_elem_sep ArrayList<Layer> layers concode_field_sep void addLayer concode_elem_sep String getName concode_elem_sep boolean isLayerVisible concode_elem_sep void onSharedP... | List < SearchResult > function ( String arg0 ) { ArrayList < SearchResult > loc0 = new ArrayList < SearchResult > ( ) ; for ( Layer loc1 : layers ) { if ( isLayerVisible ( loc1 ) ) { loc0 . addAll ( loc1 . searchByObjectName ( arg0 ) ) ; } } Log . d ( TAG , "srini_string" + loc0 . size ( ) + "srini_string" + arg0 ) ; r... |
5,573 | the spot instance data feed subscription . concode_field_sep SpotDatafeedSubscription spotDatafeedSubscription concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep CreateSpotDatafeedSubscriptionResult clone concode_elem_sep String toString concode_elem_sep CreateSpotDatafeedSubscriptionResult... | void function ( SpotDatafeedSubscription arg0 ) { this . spotDatafeedSubscription = arg0 ; } |
5,574 | parse a url query and fragment parameters into a key-value bundle . concode_field_sep String UTF8 concode_field_sep String openUrl concode_elem_sep String encodePostBody concode_elem_sep String read concode_elem_sep JSONObject parseJson concode_elem_sep Bundle decodeUrl concode_elem_sep void showAlert concode_elem_sep ... | Bundle function ( String arg0 ) { arg0 = arg0 . replace ( "srini_string" , "srini_string" ) ; try { URL loc0 = new URL ( arg0 ) ; Bundle loc1 = decodeUrl ( loc0 . getQuery ( ) ) ; loc1 . putAll ( decodeUrl ( loc0 . getRef ( ) ) ) ; return loc1 ; } catch ( MalformedURLException loc0 ) { return new Bundle ( ) ; } } |
5,575 | converts a byte array to a long . concode_field_sep PlaceHolder placeHolder concode_field_sep byte[] longToBytes concode_elem_sep byte[] doubleToBytes concode_elem_sep byte[] floatToBytes concode_elem_sep short bytesToShort concode_elem_sep short bytesToShort concode_elem_sep byte[] shortToBytes concode_elem_sep boolea... | long function ( byte [ ] arg0 ) { int loc0 = ( arg0 [ 0 ] << 24 ) | ( ( arg0 [ 1 ] & 0xff ) << 16 ) | ( ( arg0 [ 2 ] & 0xff ) << 8 ) | ( arg0 [ 3 ] & 0xff ) ; int loc1 = ( arg0 [ 4 ] << 24 ) | ( ( arg0 [ 5 ] & 0xff ) << 16 ) | ( ( arg0 [ 6 ] & 0xff ) << 8 ) | ( arg0 [ 7 ] & 0xff ) ; return ( ( ( long ) loc0 ) << 32 ) |... |
5,576 | get value of rest configuration concode_field_sep ResourceLoader msgs concode_elem_sep String searchString concode_elem_sep String showLinkToQuestionTool concode_elem_sep String emailAddress concode_elem_sep HelpManager helpManager concode_elem_sep String numberOfResult concode_elem_sep List searchResults concode_field... | boolean function ( ) { if ( "srini_string" . equals ( getHelpManager ( ) . getRestConfiguration ( ) . getOrganization ( ) ) ) { return false ; } else { return true ; } } |
5,577 | gets an external uri that messenger can use to download the content on facebook 's servers instead of requiring the messenger application to upload the content . the content returned by the this uri must be exactly the same as the content specified by #geturi . if the content is different , messenger may fail to send t... | Uri function ( ) { return mExternalUri ; } |
5,578 | gets the value of the leaf property . concode_field_sep List<Node> node concode_elem_sep boolean expanded concode_elem_sep boolean link concode_elem_sep String id concode_elem_sep String label concode_elem_sep boolean leaf concode_elem_sep ContentDescriptor contentDescriptor concode_field_sep boolean isExpanded concode... | boolean function ( ) { return leaf ; } |
5,579 | set the beanfactory to be used when looking up executors by qualifier . concode_field_sep Map<Method,AsyncTaskExecutor> executors concode_elem_sep BeanFactory beanFactory concode_elem_sep Log logger concode_elem_sep boolean completableFuturePresent concode_elem_sep Executor defaultExecutor concode_elem_sep AsyncUncaugh... | void function ( BeanFactory arg0 ) { this . beanFactory = arg0 ; } |
5,580 | bundle loader to use when setting up js environment . this supersedes prior invcations of setjsbundlefile and setbundleassetname . example : jsbundleloader.createfileloader application , bundlefile concode_field_sep List<ReactPackage> mPackages concode_elem_sep String mJSBundleAssetUrl concode_elem_sep JSBundleLoader m... | ReactInstanceManagerBuilder function ( JSBundleLoader arg0 ) { mJSBundleLoader = arg0 ; mJSBundleAssetUrl = null ; return this ; } |
5,581 | convert from dayofweek to calendar day of week . concode_field_sep PDTHelper s_aInstance concode_field_sep Month getAsMonth concode_elem_sep int getStartWeekOfMonth concode_elem_sep int getStartWeekOfMonth concode_elem_sep int getStartWeekOfMonth concode_elem_sep boolean isNullValue concode_elem_sep boolean isNullValue... | int function ( @ Nonnull final DayOfWeek arg0 ) { ValueEnforcer . notNull ( arg0 , "srini_string" ) ; return arg0 . getValue ( ) % 7 + 1 ; } |
5,582 | set a url resolver that calculates the reference to the file this method is deprecated as it forcibly sets the first resolver , overwriting the previous one . this is to maintain backward compatibility with previous versions concode_field_sep List<Pair<ResourceAnalyzer,Filter>> analyzers concode_elem_sep BundleAnalyzer... | void function ( URLResolver arg0 ) { if ( resolvers . isEmpty ( ) ) { addURLResolver ( arg0 ) ; } else { this . resolvers . set ( 0 , arg0 ) ; } } |
5,583 | overriding : output hash-code for this pair per hash-code contract . concode_field_sep F fst concode_elem_sep S snd concode_field_sep boolean equals | int function ( ) { return ( this . fst . hashCode ( ) * this . snd . hashCode ( ) ) ; } |
5,584 | returns whether the underlying database is microsoft sql server . concode_field_sep ThreadLocal threadLocal concode_elem_sep Map dsMap concode_elem_sep Map productMap concode_elem_sep String show_sql concode_elem_sep Logger log concode_field_sep void rollback concode_elem_sep boolean isSybase concode_elem_sep void init... | boolean function ( String arg0 ) { return arg0 . toUpperCase ( ) . indexOf ( "srini_string" ) >= 0 ; } |
5,585 | return the expiration date . concode_field_sep Object mCustomObject concode_elem_sep char PC_PUT concode_elem_sep SimpleDateFormat mExpireFormat concode_elem_sep char PC_UNKNOWN concode_elem_sep double mStrikePrice concode_elem_sep MamdaFundamentalListener mFundamentalListener concode_elem_sep char EXERCISE_STYLE_AMERI... | Date function ( ) { return mExpireDate ; } |
5,586 | verbose log message with printf formatting . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d ... | void function ( String arg0 , String arg1 , Object ... arg2 ) { if ( LOG . VERBOSE >= LOGLEVEL ) Log . v ( arg0 , String . format ( arg1 , arg2 ) ) ; } |
5,587 | returns the number of threads to use . concode_field_sep int nThreads concode_elem_sep long serialVersionUID concode_elem_sep Double proteinConfidenceMwPlots concode_field_sep Double getProteinConfidenceMwPlots concode_elem_sep void setnThreads concode_elem_sep void setProteinConfidenceMwPlots | int function ( ) { return nThreads ; } |
5,588 | returns the bundle context of this bundle concode_field_sep Logger logger concode_elem_sep BundleContext context concode_field_sep void stop concode_elem_sep void start | BundleContext function ( ) { return context ; } |
5,589 | converts this object to a string . concode_field_sep DatagramSocket socket concode_field_sep void receive concode_elem_sep int getLocalPort concode_elem_sep int getSoTimeout concode_elem_sep void setSoTimeout concode_elem_sep void close concode_elem_sep void send concode_elem_sep IpAddress getLocalAddress | String function ( ) { return socket . toString ( ) ; } |
5,590 | makes messages that look like 1 file and 5 directories and 0 symlinks 2 files and 1 directory and 0 symlinks no files or directories or symlinks very standard i18nized counts messages used in various places in config management . concode_field_sep String CHANNEL_ID concode_elem_sep String CHANNEL concode_elem_sep Strin... | String function ( ConfigFileCount arg0 , String arg1 , boolean arg2 ) { return makeFileCountsMessage ( arg0 , arg1 , false , arg2 ) ; } |
5,591 | remove a child node from this node , if it is one . concode_field_sep String name concode_elem_sep HashMap attributes concode_elem_sep TreeNode parent concode_elem_sep String body concode_elem_sep ArrayList children concode_field_sep TreeNode findChild concode_elem_sep String findAttribute concode_elem_sep String getNa... | void function ( TreeNode arg0 ) { if ( children != null ) children . remove ( arg0 ) ; } |
5,592 | returns a constraint that matches this one on the width attributes , but has a range height constraint . concode_field_sep LengthConstraintType widthConstraintType concode_elem_sep Range widthRange concode_elem_sep double width concode_elem_sep RectangleConstraint NONE concode_elem_sep Range heightRange concode_elem_se... | RectangleConstraint function ( Range arg0 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } return new RectangleConstraint ( this . width , this . widthRange , this . widthConstraintType , arg0 . getUpperBound ( ) , arg0 , LengthConstraintType . RANGE ) ; } |
5,593 | returns the value of the function for a given input ` x ' . concode_field_sep double a concode_elem_sep double b concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep double getA concode_elem_sep double getB | double function ( double arg0 ) { return this . a * Math . pow ( arg0 , this . b ) ; } |
5,594 | add a propertychangelistener for a specific property . the same listener object may be added more than once . for each property , the listener will be invoked the number of times it was added for that property . if name or pcl is null , no exception is thrown and no action is taken . concode_field_sep long serialVersio... | void function ( String arg0 , PropertyChangeListener arg1 ) { pcSupport . addPropertyChangeListener ( arg0 , arg1 ) ; } |
5,595 | formats a status line . concode_field_sep BasicLineFormatter DEFAULT concode_field_sep String formatHeader concode_elem_sep CharArrayBuffer formatHeader concode_elem_sep int estimateProtocolVersionLen concode_elem_sep CharArrayBuffer initBuffer concode_elem_sep String formatProtocolVersion concode_elem_sep String forma... | String function ( final StatusLine arg0 , LineFormatter arg1 ) { if ( arg1 == null ) arg1 = BasicLineFormatter . DEFAULT ; return arg1 . formatStatusLine ( null , arg0 ) . toString ( ) ; } |
5,596 | fast approximation of the exponential function see http://www.javamex.com/tutorials/math/exp.shtml concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | double function ( double arg0 ) { arg0 = 1d + arg0 / 256d ; arg0 *= arg0 ; arg0 *= arg0 ; arg0 *= arg0 ; arg0 *= arg0 ; arg0 *= arg0 ; arg0 *= arg0 ; arg0 *= arg0 ; arg0 *= arg0 ; return arg0 ; } |
5,597 | enables/disables socket timeout with the specified timeout , in milliseconds . concode_field_sep DatagramSocket socket concode_field_sep void receive concode_elem_sep int getLocalPort concode_elem_sep int getSoTimeout concode_elem_sep String toString concode_elem_sep void close concode_elem_sep void send concode_elem_s... | void function ( int arg0 ) { socket . setSoTimeout ( arg0 ) ; } |
5,598 | creates an instance of httpmessageparser to be used for parsinghttp responses received over this connection . this method can be overridden in a super class in order to provide a different implementation of the httpmessageparser interface orto pass a different implementation of lineparser to thethe default implementati... | HttpMessageParser function ( final SessionInputBuffer arg0 , final HttpResponseFactory arg1 , final HttpParams arg2 ) { return new HttpResponseParser ( arg0 , null , arg1 , arg2 ) ; } |
5,599 | sets the width and height of the dimension . concode_field_sep float width concode_elem_sep float height concode_field_sep float getHeight concode_elem_sep String toString concode_elem_sep float getWidth concode_elem_sep Dimension toDimension | void function ( int arg0 , int arg1 ) { width = arg0 ; height = arg1 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.