idx int64 0 25k | question stringlengths 68 5.14k | target stringlengths 20 503 |
|---|---|---|
9,600 | returns the row object that currently represents the same database row . in current implementations of row , this is always the same as the this object for memory tables , but could be a different object for cachedrow or cacheddatarow implementation . for example the row object that represents a given database row can ... | Row function ( ) { return this ; } |
9,601 | returns whether or not this message needs to include a message id . concode_field_sep byte MESSAGE_TYPE_PUBCOMP concode_elem_sep byte[] encodedHeader concode_elem_sep String STRING_ENCODING concode_elem_sep byte MESSAGE_TYPE_UNSUBACK concode_elem_sep byte MESSAGE_TYPE_CONNACK concode_elem_sep byte MESSAGE_TYPE_PINGRESP... | boolean function ( ) { return true ; } |
9,602 | add a new event listener concode_field_sep JSONCodec codec concode_elem_sep boolean dirty concode_elem_sep long date concode_elem_sep File cache concode_elem_sep long THRESHOLD concode_elem_sep Reporter reporter concode_elem_sep Comparator<ResourceDescriptor> RESOURCE_DESCRIPTOR_COMPARATOR concode_elem_sep List<Listene... | void function ( Listener arg0 ) { listeners . add ( arg0 ) ; } |
9,603 | starts the preview ; requires an opengl context for dummy texture creation concode_field_sep int cameraHeight concode_elem_sep SurfaceTexture surf concode_elem_sep int processingHeight concode_elem_sep Camera camera concode_elem_sep int processingWidth concode_elem_sep byte[] image concode_elem_sep int cameraWidth conc... | void function ( ) { camera . startPreview ( ) ; camera . addCallbackBuffer ( image ) ; } |
9,604 | receiveattached concode_field_sep OnChangedListener mListener concode_elem_sep UsbManager mUsbManager concode_elem_sep BroadcastReceiver mReceiver concode_elem_sep String TAG_SUB concode_elem_sep int PERM_FLAGS concode_elem_sep String ACTION_USB_PERMISSION concode_elem_sep Context mContext concode_elem_sep int PERM_REQ... | void function ( UsbDevice arg0 ) { execAttached ( arg0 ) ; } |
9,605 | check whether the provided location is valid concode_field_sep Logger _logger concode_elem_sep StringManager localStrings concode_field_sep Set getMergedActivationConfigProperties concode_elem_sep Class loadClassFromRar concode_elem_sep void appendURLs concode_elem_sep boolean isValidRABeanConfigProperty concode_elem_s... | void function ( File arg0 ) { if ( ! arg0 . exists ( ) ) { String loc0 = localStrings . getString ( "srini_string" , arg0 ) ; throw new ConnectorRuntimeException ( loc0 ) ; } } |
9,606 | removes the last n items of the array all at once . concode_field_sep long[] mArray concode_elem_sep int mLength concode_elem_sep double INNER_ARRAY_GROWTH_FACTOR concode_field_sep void add concode_elem_sep void set concode_elem_sep int size concode_elem_sep long get concode_elem_sep boolean isEmpty concode_elem_sep Lo... | void function ( int arg0 ) { if ( arg0 > mLength ) { throw new IndexOutOfBoundsException ( "srini_string" + arg0 + "srini_string" + mLength ) ; } mLength -= arg0 ; } |
9,607 | returns the minimum number of threads to keep alive for background revalidations due to the stale-while-revalidate directive . concode_field_sep int DEFAULT_ASYNCHRONOUS_WORKERS_MAX concode_elem_sep float heuristicCoefficient concode_elem_sep long heuristicDefaultLifetime concode_elem_sep float DEFAULT_HEURISTIC_COEFFI... | int function ( ) { return asynchronousWorkersCore ; } |
9,608 | get the name of the host where the attempt executed concode_field_sep int[] clockSplits concode_elem_sep long finishTime concode_elem_sep int[] physMemKbytes concode_elem_sep Counters counters concode_elem_sep String error concode_elem_sep TaskType taskType concode_elem_sep String hostname concode_elem_sep int port con... | String function ( ) { return hostname ; } |
9,609 | returns all path elements of the given file . the absolute path of the file is used to evaluate the path elements . for instance , a list with the 3 elements `` var '' , `` tmp '' , `` out.txt '' is returned for an input file '' / var/tmp/out.txt '' . concode_field_sep String ROOT_WINDOWS concode_elem_sep String ROOT c... | List < String > function ( File arg0 ) { arg0 = arg0 . getAbsoluteFile ( ) ; final List < String > loc0 = new LinkedList < String > ( ) ; do { loc0 . add ( 0 , arg0 . getName ( ) ) ; arg0 = arg0 . getParentFile ( ) ; } while ( arg0 != null ) ; loc0 . remove ( 0 ) ; return loc0 ; } |
9,610 | asserts that the stringactual contains the occurence regexexpected . replaces occurences of at regexexpected to match anything in stringactual . tries to display the difference between the two on failure in eclipse . ignores the tab character i.e. , ignore indentation using tabs and ignores the newline when comparing .... | void function ( String arg0 , String arg1 ) { if ( ! isContainsRegex ( arg0 , arg1 ) ) { assertEquals ( arg0 , arg1 ) ; } } |
9,611 | confirm that cloning works . concode_field_sep PlaceHolder placeHolder concode_field_sep void testPublicCloneable concode_elem_sep void testHashCode concode_elem_sep void testEquals | void function ( ) { XYImageAnnotation loc0 = new XYImageAnnotation ( 10.0 , 20.0 , JFreeChart . INFO . getLogo ( ) ) ; XYImageAnnotation loc1 = ( XYImageAnnotation ) loc0 . clone ( ) ; assertTrue ( loc0 != loc1 ) ; assertTrue ( loc0 . getClass ( ) == loc1 . getClass ( ) ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; } |
9,612 | gets the value of the exponent property . concode_field_sep byte[] modulus concode_elem_sep byte[] exponent concode_field_sep void setModulus concode_elem_sep void setExponent concode_elem_sep RSAPublicKey convertToPublicKey concode_elem_sep byte[] getModulus concode_elem_sep String toString concode_elem_sep byte[] mas... | byte [ ] function ( ) { return exponent ; } |
9,613 | deletes all user-added templates and reverts all contributed templates . concode_field_sep String fKey concode_elem_sep ContextTypeRegistry fRegistry concode_elem_sep boolean fIgnorePreferenceStoreChanges concode_elem_sep List fTemplates concode_field_sep void add concode_elem_sep boolean contextExists concode_elem_sep... | void function ( boolean arg0 ) { } |
9,614 | generate a new device identity using a provided random number generator class . this is used for testing . concode_field_sep char ENCODE[] concode_elem_sep char SEPARATOR concode_elem_sep Parcelable.Creator<VerifierDeviceIdentity> CREATOR concode_elem_sep int LONG_SIZE concode_elem_sep long mIdentity concode_elem_sep S... | VerifierDeviceIdentity function ( Random arg0 ) { long loc0 = arg0 . nextLong ( ) ; return new VerifierDeviceIdentity ( loc0 ) ; } |
9,615 | add information message to a specific client . concode_field_sep Properties buildProperties concode_field_sep String getRequestParameter concode_elem_sep UIComponent findComponent concode_elem_sep ServletContext getServletContext concode_elem_sep Object getManagedBean concode_elem_sep String getActionAttribute concode_... | void function ( String arg0 , String arg1 ) { FacesContext . getCurrentInstance ( ) . addMessage ( arg0 , new FacesMessage ( FacesMessage . SEVERITY_INFO , arg1 , arg1 ) ) ; } |
9,616 | replace the content of this builder with the provided bytes . equivalent to calling #clear and then #append byte , int , int . concode_field_sep BytesRef ref concode_field_sep byte byteAt concode_elem_sep void grow concode_elem_sep void copyChars concode_elem_sep void copyChars concode_elem_sep void copyChars concode_e... | void function ( byte [ ] arg0 , int arg1 , int arg2 ) { clear ( ) ; append ( arg0 , arg1 , arg2 ) ; } |
9,617 | adds document marshalling strategy to be used by casefilemarshaller concode_field_sep ClassLoader classLoader concode_elem_sep StringBuilder toString concode_elem_sep List<ObjectMarshallingStrategy> marshallers concode_field_sep CaseMarshallerFactory withJpa concode_elem_sep CaseMarshallerFactory with concode_elem_sep ... | CaseMarshallerFactory function ( ) { marshallers . add ( new DocumentMarshallingStrategy ( ) ) ; this . toString . append ( "srini_string" ) ; return this ; } |
9,618 | creates an instance of defaulthttpresponsefactory to be usedby http connections for creating httpresponse objects . this method can be overridden in a super class in order to provide a different implementation of the httpresponsefactory interface . concode_field_sep NHttpClientHandler handler concode_elem_sep ByteBuffe... | HttpResponseFactory function ( ) { return new DefaultHttpResponseFactory ( ) ; } |
9,619 | return the variances - not public , used for getproperty concode_field_sep Map<String,HashMap<String,Double>> correlation concode_elem_sep RunningStats results concode_field_sep Map<String,Double> getKurtosis concode_elem_sep double getKurtosis concode_elem_sep Double getCorrelation concode_elem_sep Map<String,Double> ... | Map < String , Double > function ( ) { return Collections . unmodifiableMap ( results . variances ) ; } |
9,620 | returns the remote url . concode_field_sep String type concode_elem_sep String url concode_field_sep String getType concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep void setURL | String function ( ) { return url ; } |
9,621 | returns the defaults applicable to the service . concode_field_sep String DEFAULT_ATTRIBUTE concode_elem_sep String VALUES_EL concode_elem_sep MetadataHolder<String,ProjectType> projectTypes concode_elem_sep Map<K,T> content concode_elem_sep String ID_ATTRIBUTE concode_elem_sep Map<String,Dependency> dependencies conco... | Map < String , String > function ( ) { return this . defaults ; } |
9,622 | gets the probe description that identifies the error-inducing probe among all the probes on the system . concode_field_sep String DTRACEFLT_DIVZERO concode_elem_sep String DTRACEFLT_LIBRARY concode_elem_sep ProbeDescription probeDescription concode_elem_sep long address concode_elem_sep int offset concode_elem_sep Stri... | ProbeDescription function ( ) { return probeDescription ; } |
9,623 | this method resets the incoming events time events included . concode_field_sep SCInterfaceImpl sCInterface concode_elem_sep int nextStateIndex concode_elem_sep boolean e1 concode_elem_sep State[] stateVector concode_elem_sep boolean e2 concode_field_sep void init concode_elem_sep SCInterface getSCInterface concode_ele... | void function ( ) { sCInterface . clearEvents ( ) ; } |
9,624 | gets the value of the customerimageusages 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 customerimageusages property . for example , t... | List < CustomerImageUsage > function ( ) { if ( customerImageUsages == null ) { customerImageUsages = new ArrayList < CustomerImageUsage > ( ) ; } return this . customerImageUsages ; } |
9,625 | sets the value of the parameterid property . concode_field_sep Long parameterId concode_elem_sep Long rfsId concode_elem_sep String value concode_field_sep Long getRfsId concode_elem_sep String getValue concode_elem_sep void setValue concode_elem_sep Long getParameterId concode_elem_sep void setRfsId | void function ( Long arg0 ) { this . parameterId = arg0 ; } |
9,626 | get the associated app cookie manager . concode_field_sep String trustStorePassword concode_elem_sep AppCookieManager appCookieManager concode_elem_sep int readTimeout concode_elem_sep Log LOG concode_elem_sep String trustStorePath concode_elem_sep String trustStoreType concode_elem_sep SSLSocketFactory sslSocketFactor... | AppCookieManager function ( ) { if ( appCookieManager == null ) { appCookieManager = new AppCookieManager ( ) ; } return appCookieManager ; } |
9,627 | returns a description of the policy concode_field_sep String usernameField concode_elem_sep String princField concode_elem_sep LdapManager manager concode_elem_sep String princSearchFilter concode_elem_sep Logger Log concode_field_sep String name concode_elem_sep String map | String function ( ) { return "srini_string" ; } |
9,628 | returns a hash value based on a seed value and a string instance . concode_field_sep PlaceHolder placeHolder concode_field_sep int hashCodeForDoubleArray concode_elem_sep int hashCodeForPaint | int function ( int arg0 , String arg1 ) { int loc0 = ( arg1 != null ? arg1 . hashCode ( ) : 0 ) ; return 37 * arg0 + loc0 ; } |
9,629 | concrete implementation of arraysortedassert #issortedaccordingto comparator . concode_field_sep Arrays arrays concode_elem_sep Failures failures concode_elem_sep CharArrays INSTANCE concode_field_sep void assertEndsWith concode_elem_sep void assertStartsWith concode_elem_sep CharArrays instance concode_elem_sep void a... | void function ( AssertionInfo arg0 , char [ ] arg1 , Comparator < ? super Character > arg2 ) { Arrays . assertIsSortedAccordingToComparator ( arg0 , failures , arg1 , arg2 ) ; } |
9,630 | create an instance of ticon concode_field_sep QName _MetaData_QNAME concode_field_sep Tad createTad concode_elem_sep Tocd createTocd concode_elem_sep JAXBElement<Tmetadata> createMetaData concode_elem_sep Toption createToption concode_elem_sep Tattribute createTattribute concode_elem_sep Tmetadata createTmetadata conco... | Ticon function ( ) { return new Ticon ( ) ; } |
9,631 | create a new globalmetadata object from its serialized representation . concode_field_sep Logger log concode_elem_sep Map<String,Map<String,Object>> fileLevel concode_elem_sep String DATASET_URN_KEY concode_elem_sep String EMPTY_ID concode_elem_sep Map<String,Object> datasetLevel concode_elem_sep String cachedId concod... | GlobalMetadata function ( String arg0 ) { return objectMapper . readValue ( arg0 , GlobalMetadata . class ) ; } |
9,632 | sets the spring bean id for this bean . concode_field_sep MembershipRequestLocalService _membershipRequestLocalService concode_field_sep com.liferay.portal.model.MembershipRequest createMembershipRequest concode_elem_sep void deleteMembershipRequests concode_elem_sep void deleteMembershipRequests concode_elem_sep void ... | void function ( java . lang . String arg0 ) { _membershipRequestLocalService . setBeanIdentifier ( arg0 ) ; } |
9,633 | true iff verbose output should be printed . concode_field_sep boolean possibleDsepSearchDone concode_elem_sep double penaltyDiscount concode_elem_sep int possibleDsepDepth concode_elem_sep int depth concode_elem_sep SepsetMap sepsets concode_elem_sep TetradLogger logger concode_elem_sep int maxPathLength concode_elem_s... | boolean function ( ) { return verbose ; } |
9,634 | returns the second parameter of an invocation . this additional answer could be used at stub time using the then | do | will org.mockito.stubbing.answer methods . for example : given trader.apply leesformula , oncreditdefaultswap . will returnssecondarg ; daanswer returnssecondarg . when trader . apply leesformula , on... | Answer < T > function ( ) { return ( Answer < T > ) RETURNS_SECOND_ARGUMENT ; } |
9,635 | to simplify testing we assume that each block starts from a new line and contains #lines_per_block lines , so we can simply use index and hash . concode_field_sep int LINES_PER_BLOCK concode_elem_sep TestNamePrinter testNamePrinter concode_field_sep void problemWithEndOfFile concode_elem_sep void problemWithNestedClone... | Block function ( String arg0 , ByteArray arg1 , int arg2 ) { return Block . builder ( ) . setResourceId ( arg0 ) . setBlockHash ( arg1 ) . setIndexInFile ( arg2 ) . setLines ( arg2 , arg2 + LINES_PER_BLOCK ) . build ( ) ; } |
9,636 | customize the log tag for your application , so that other apps using volley do n't mix their logs with yours . enable the log property for your tag before starting your app : adb shell setprop log.tag . < tag > concode_field_sep String TAG concode_elem_sep boolean ENABLED concode_elem_sep boolean mFinished concode_ele... | void function ( String arg0 ) { d ( "srini_string" , arg0 ) ; TAG = arg0 ; DEBUG = Log . isLoggable ( TAG , Log . VERBOSE ) ; } |
9,637 | measures the radius of earth in this unit concode_field_sep DistanceUnit unit concode_elem_sep String[] names concode_elem_sep double value concode_elem_sep DistanceUnit DEFAULT concode_elem_sep double meters concode_field_sep double getEarthCircumference concode_elem_sep double toMeters concode_elem_sep double fromMet... | double function ( ) { return GeoUtils . EARTH_SEMI_MAJOR_AXIS / meters ; } |
9,638 | number of ping 's count . concode_field_sep String numberOfPings concode_elem_sep String HEALTH_FILE_NAME concode_elem_sep Logger LOGGER concode_elem_sep ServerRegistryService serverRegistryService concode_field_sep String getNumberOfPings concode_elem_sep void heartBeatHealth concode_elem_sep boolean checkHealth | void function ( final String arg0 ) { this . numberOfPings = arg0 ; } |
9,639 | convert the passed micro node to an xml byte array using xmlwritersettings #default_xml_settings . this is a specialized version of #getnodeasbytes node , ixmlwritersettings . concode_field_sep EXMLVersion DEFAULT_XML_VERSION concode_elem_sep XMLWriter s_aInstance concode_elem_sep Logger s_aLogger concode_elem_sep Name... | byte [ ] function ( @ Nonnull final Node arg0 ) { return getNodeAsBytes ( arg0 , XMLWriterSettings . DEFAULT_XML_SETTINGS ) ; } |
9,640 | gets the value of the shipdate property . concode_field_sep List<Items.Item> item concode_elem_sep int quantity concode_elem_sep BigDecimal usPrice concode_elem_sep String comment concode_elem_sep XMLGregorianCalendar shipDate concode_elem_sep String productName concode_elem_sep String partNum concode_field_sep BigDeci... | XMLGregorianCalendar function ( ) { return shipDate ; } |
9,641 | sets the valuetype . concode_field_sep Integer subType concode_elem_sep Number minValue concode_elem_sep Number maxValue concode_elem_sep Integer valueType concode_elem_sep String name concode_elem_sep boolean writeable concode_elem_sep Object value concode_elem_sep String[] valueList concode_field_sep void setName con... | void function ( Integer arg0 ) { this . valueType = arg0 ; } |
9,642 | sets the status of this v file . concode_field_sep VFile _vFile concode_field_sep java.lang.String getPhone concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isCachedModel concode_elem_sep com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge co... | void function ( long arg0 ) { _vFile . setStatus ( arg0 ) ; } |
9,643 | create and return a new socksportlistener instance . concode_field_sep int BOOTSTRAP_STATUS_REQUESTING_DESCRIPTORS concode_elem_sep int BOOTSTRAP_STATUS_LOADING_DESCRIPTORS concode_elem_sep String version concode_elem_sep int BOOTSTRAP_STATUS_LOADING_KEYS concode_elem_sep int BOOTSTRAP_STATUS_CONN_DIR concode_elem_sep ... | SocksPortListener function ( TorConfig arg0 , CircuitManager arg1 ) { return new SocksPortListenerImpl ( arg0 , arg1 ) ; } |
9,644 | 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 ) ) ; } |
9,645 | this method was generated by mybatis generator . this method sets the value of the database column public.acc _ account.status concode_field_sep String password concode_elem_sep String nickName concode_elem_sep String name concode_elem_sep String mobile concode_elem_sep Long id concode_elem_sep String email concode_ele... | void function ( Integer arg0 ) { this . status = arg0 ; } |
9,646 | path finding context implementation concode_field_sep float smallestSpace concode_elem_sep int sx concode_elem_sep int sy concode_elem_sep boolean tileBased concode_field_sep int getSourceY concode_elem_sep void subsection concode_elem_sep void linkSpaces concode_elem_sep NavMesh build concode_elem_sep NavMesh build co... | int function ( ) { return 0 ; } |
9,647 | returns the value of the parameter as a long , or a default value if the value is unparseable . concode_field_sep PlaceHolder placeHolder concode_field_sep String dumpHeadersToString concode_elem_sep String reconstructRequestFirstLine concode_elem_sep String resolveCookieDomain concode_elem_sep String getDefault concod... | long function ( final HttpServletRequest arg0 , final String arg1 , final long arg2 ) { final String loc0 = arg0 . getParameter ( arg1 ) ; if ( null == loc0 ) { return arg2 ; } try { return Long . parseLong ( loc0 ) ; } catch ( final NumberFormatException loc1 ) { return arg2 ; } } |
9,648 | returns the current state of the avatar session loader . concode_field_sep Set<Class<AvatarFactorySPI>> loadingSet concode_elem_sep Set<AvatarLoaderStateListener> listenerSet concode_elem_sep Logger logger concode_elem_sep State currentState concode_elem_sep ServerSessionManager manager concode_field_sep void fireAvata... | State function ( ) { synchronized ( currentState ) { return currentState ; } } |
9,649 | stops cache manager . concode_field_sep PlaceHolder placeHolder concode_field_sep Configuration largeConfiguration concode_elem_sep Configuration smallConfiguration concode_elem_sep EmbeddedCacheManager specificCacheManager | void function ( @ Disposes @ Small @ Large EmbeddedCacheManager arg0 ) { TestingUtil . killCacheManagers ( arg0 ) ; } |
9,650 | stops scrolling concode_field_sep Handler animationHandler concode_elem_sep int MIN_DELTA_FOR_SCROLLING concode_elem_sep ScrollingListener listener concode_elem_sep SimpleOnGestureListener gestureListener concode_elem_sep float lastTouchedY concode_elem_sep boolean isScrollingPerformed concode_elem_sep int SCROLLING_DU... | void function ( ) { scroller . forceFinished ( true ) ; } |
9,651 | create an instance of the specified job class . can be overridden to post-process the job instance . concode_field_sep PlaceHolder placeHolder concode_field_sep Job newJob concode_elem_sep Job adaptJob | Object function ( TriggerFiredBundle arg0 ) { return arg0 . getJobDetail ( ) . getJobClass ( ) . newInstance ( ) ; } |
9,652 | the result of this method determines whether or not #isvisible will be usedby the menuitem this actionprovider is bound to help determine its visibility . concode_field_sep String TAG concode_elem_sep SubUiVisibilityListener mSubUiVisibilityListener concode_elem_sep VisibilityListener mVisibilityListener concode_elem_s... | boolean function ( ) { return false ; } |
9,653 | returns an included style by name . concode_field_sep JRPropertyChangeSupport eventSupport concode_elem_sep List<JRStyle> styles concode_elem_sep JRStyle defaultStyle concode_elem_sep String PROPERTY_STYLE concode_elem_sep long serialVersionUID concode_elem_sep List<JRTemplateReference> includedTemplates concode_elem_s... | JRStyle function ( String arg0 ) { JRStyle loc0 = null ; for ( Iterator < JRStyle > loc1 = styles . iterator ( ) ; loc1 . hasNext ( ) ; ) { JRStyle loc2 = loc1 . next ( ) ; if ( nameMatches ( loc2 , arg0 ) ) { loc0 = loc2 ; break ; } } return loc0 ; } |
9,654 | stop the replication monitor thread concode_field_sep PlaceHolder placeHolder concode_field_sep void updateState concode_elem_sep int checkHeartbeatAndGetUnderReplicatedBlocksCount concode_elem_sep DatanodeDescriptor getDatanode concode_elem_sep int getNumberOfRacks concode_elem_sep void rescanPostponedMisreplicatedBlo... | void function ( final BlockManager arg0 ) { arg0 . enableRMTerminationForTesting ( ) ; arg0 . replicationThread . interrupt ( ) ; try { arg0 . replicationThread . join ( ) ; } catch ( InterruptedException loc0 ) { throw new IOException ( "srini_string" ) ; } } |
9,655 | reads the first link of this source as a string . returns null if this source is empty.like bufferedreader , this method breaks lines on any of \ n , \ r or \ r \ n , does not include the line separator in the returned line and does not consider there to be an extra empty line at the end if the content is terminated wi... | String function ( ) { Closer loc0 = Closer . create ( ) ; try { BufferedReader loc1 = loc0 . register ( openBufferedStream ( ) ) ; return loc1 . readLine ( ) ; } catch ( Throwable loc1 ) { throw loc0 . rethrow ( loc1 ) ; } finally { loc0 . close ( ) ; } } |
9,656 | read-only : returns false . concode_field_sep PlaceHolder placeHolder concode_field_sep TypedValue read concode_elem_sep boolean canRead concode_elem_sep Class<?>[] getSpecificTargetClasses concode_elem_sep void write | boolean function ( EvaluationContext arg0 , Object arg1 , String arg2 ) { return false ; } |
9,657 | sets a specified timeout value , in milliseconds , to be used when opening the endpoint url . concode_field_sep int connectionTimeout concode_elem_sep boolean followRedirects concode_elem_sep int[] DEFAULT_ACCEPTABLE_CODES concode_elem_sep SSLSocketFactory sslSocketFactory concode_elem_sep String message concode_elem_s... | void function ( final int arg0 ) { this . connectionTimeout = arg0 ; } |
9,658 | returns the name of this format . concode_field_sep JTextField txtExtensionField concode_elem_sep JTextField eventExtensionField concode_elem_sep Monitor monitor concode_elem_sep JPanel accessory concode_elem_sep JTextField proteinExtensionField concode_field_sep JComponent getAccessory concode_elem_sep String getName ... | String function ( ) { return getName ( ) ; } |
9,659 | get statuses concode_field_sep GitHubResponse response concode_elem_sep CommitService service concode_elem_sep GitHubClient client concode_field_sep void addCommentNullSha concode_elem_sep void compare concode_elem_sep void before concode_elem_sep void getCommitComments concode_elem_sep void deleteComment concode_elem_... | void function ( ) { RepositoryId loc0 = new RepositoryId ( "srini_string" , "srini_string" ) ; service . getStatuses ( loc0 , "srini_string" ) ; GitHubRequest loc1 = new GitHubRequest ( ) ; loc1 . setUri ( Utils . page ( "srini_string" ) ) ; verify ( client ) . get ( loc1 ) ; } |
9,660 | sets if to export resource data . concode_field_sep boolean m_xmlValidation concode_elem_sep boolean m_includeUnchangedResources concode_elem_sep boolean m_recursive concode_elem_sep boolean m_exportAccountData concode_elem_sep boolean m_exportAsFiles concode_elem_sep boolean m_exportProjectData concode_elem_sep boolea... | void function ( boolean arg0 ) { m_exportResourceData = arg0 ; } |
9,661 | retrieves the tcp client host . concode_field_sep String sparkAppName concode_elem_sep String mongoHost concode_elem_sep String twitterConsumerKey concode_elem_sep int tcpClientPort concode_elem_sep String gemfireHost concode_elem_sep String jdbcUsername concode_elem_sep String twitterAccessTokenSecret concode_elem_sep... | String function ( ) { return tcpClientHost ; } |
9,662 | replaces every properties in the specified metadata by their @linkplain modifiablemetadata #unmodifiable unmodifiable variant . concode_field_sep MetadataStandard ISO_19115 concode_elem_sep MetadataStandard ISO_19111 concode_elem_sep Map<Class<?>,PropertyAccessor> accessors concode_elem_sep String interfacePackage conc... | void function ( final Object arg0 ) { getAccessor ( arg0 . getClass ( ) ) . freeze ( arg0 ) ; } |
9,663 | calculate hash from k 0...m-1 . concode_field_sep long Q concode_elem_sep int R concode_elem_sep long patternHash concode_elem_sep int patternLength concode_elem_sep String pattern concode_elem_sep long RM concode_field_sep int search concode_elem_sep long randomPrime concode_elem_sep void main concode_elem_sep boolean... | long function ( String arg0 , int arg1 ) { long loc0 = 0 ; for ( int loc1 = 0 ; loc1 < arg1 ; loc1 ++ ) { loc0 = ( R * loc0 + arg0 . charAt ( loc1 ) ) % Q ; } return loc0 ; } |
9,664 | gets the value of the adid property . concode_field_sep Long adId concode_elem_sep Long labelId concode_elem_sep Long adGroupId concode_field_sep Long getLabelId concode_elem_sep Long getAdGroupId concode_elem_sep void setAdId concode_elem_sep void setLabelId concode_elem_sep void setAdGroupId | Long function ( ) { return adId ; } |
9,665 | returns the list of brokers to which this connection can connect to . concode_field_sep List<String> _brokerList concode_elem_sep Random _random concode_elem_sep Future<BrokerResponse> _responseFuture concode_elem_sep PinotClientTransport _transport concode_elem_sep Logger LOGGER concode_field_sep boolean cancel concod... | List < String > function ( ) { return _brokerList ; } |
9,666 | write the value out to an array of bytes at the appropriate offset concode_field_sep int _offset concode_elem_sep int _value concode_field_sep void set concode_elem_sep void set concode_elem_sep int get concode_elem_sep void readFromBytes concode_elem_sep String toString concode_elem_sep void readFromStream | void function ( final byte [ ] arg0 ) { LittleEndian . putInt ( arg0 , _offset , _value ) ; } |
9,667 | 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 ( ) ; } } |
9,668 | set to true to force login form access to be via https . if this value is true the default is false , and the incoming request for the protected resource which triggered the interceptor was not already https , then the client will first be redirected to an https url , even if serversideredirect is set to true . concode... | void function ( boolean arg0 ) { this . forceHttps = arg0 ; } |
9,669 | this method was generated by mybatis generator . this method sets the value of the database column boss_billing_month . charge concode_field_sep String billingMonthId concode_elem_sep BigDecimal charge concode_elem_sep Integer chargeYear concode_elem_sep String prodId concode_elem_sep String pkgId concode_elem_sep Inte... | void function ( BigDecimal arg0 ) { this . charge = arg0 ; } |
9,670 | sets the notify on read the api documentation to find out the possible values . concode_field_sep String notifyOn concode_elem_sep String target concode_field_sep String getTarget concode_elem_sep String getNotifyOn | Notification function ( String arg0 ) { this . notifyOn = arg0 ; return this ; } |
9,671 | gets the list of delivery runners . concode_field_sep String OVEN_CONFIG_NAME concode_elem_sep int DEFAULT_NUM_OVENS concode_elem_sep double DEFAULT_TAX concode_elem_sep DeliveryRunner _deliveryRunner concode_elem_sep int _numCooks concode_elem_sep String DRIVER_CONFIG_NAME concode_elem_sep long KITCHEN_THREAD_WAIT_TIM... | DeliveryRunner function ( ) { return _deliveryRunner ; } |
9,672 | set a new action string to use concode_field_sep boolean sendFullRequestURL concode_elem_sep boolean sendDateTime concode_elem_sep String action concode_field_sep SubjectType createSubjectType concode_elem_sep AttributeType createAttribute concode_elem_sep AttributeType createAttribute concode_elem_sep RequestType crea... | void function ( String arg0 ) { this . action = arg0 ; } |
9,673 | gets the count concode_field_sep String address concode_elem_sep int count concode_field_sep void setAddress concode_elem_sep String getAddress concode_elem_sep void setCount | int function ( ) { return count ; } |
9,674 | decodes a jbig2 image from a datainput concode_field_sep JBIG2StreamDecoder streamDecoder concode_field_sep int getNumberOfPages concode_elem_sep void setGlobalData concode_elem_sep void cleanupPostDecode concode_elem_sep Segment findSegment concode_elem_sep boolean isRandomAccessOrganisationUsed concode_elem_sep JBIG2... | void function ( DataInput arg0 ) { } |
9,675 | gets the value of the target property . concode_field_sep List<Object> content concode_elem_sep String id concode_elem_sep String target concode_field_sep List<Object> getContent concode_elem_sep void setTarget concode_elem_sep void setId concode_elem_sep String getId | String function ( ) { return target ; } |
9,676 | adds a node representing group of values to the top of a node children list concode_field_sep List<XValue> myValues concode_elem_sep List<XValueGroup> myBottomGroups concode_elem_sep List<String> myNames concode_elem_sep List<XValueGroup> myTopGroups concode_elem_sep XValueChildrenList EMPTY concode_field_sep XValueChi... | void function ( @ NotNull XValueGroup arg0 ) { myTopGroups . add ( arg0 ) ; } |
9,677 | get the resource adapter concode_field_sep Reference reference concode_elem_sep String name concode_elem_sep long serialVersionUID concode_elem_sep ResourceAdapter ra concode_field_sep void setName concode_elem_sep void setResourceAdapter concode_elem_sep String getName concode_elem_sep void setReference concode_elem_s... | ResourceAdapter function ( ) { return ra ; } |
9,678 | configuration : service authentication name concode_field_sep String m_domain concode_elem_sep String m_knownusermsg concode_elem_sep Log M_log concode_elem_sep String m_serviceprincipal concode_elem_sep String m_servicelogincontext concode_elem_sep boolean m_requirelocalaccount concode_elem_sep boolean m_verifyTicket ... | void function ( String arg0 ) { m_servicelogincontext = arg0 ; } |
9,679 | adds the announcements flag to the database . also notifies the appropriate model listeners . concode_field_sep AnnouncementsFlagLocalService _service concode_field_sep com.liferay.announcements.kernel.model.AnnouncementsFlag getAnnouncementsFlag concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_s... | com . liferay . announcements . kernel . model . AnnouncementsFlag function ( com . liferay . announcements . kernel . model . AnnouncementsFlag arg0 ) { return getService ( ) . addAnnouncementsFlag ( arg0 ) ; } |
9,680 | converts the string we got from the radio to a parsable xml document concode_field_sep Logger logger concode_elem_sep Document xmlDoc concode_field_sep String getCharacterDataFromElement concode_elem_sep boolean getValueU8AsBoolean concode_elem_sep boolean isStatusOk concode_elem_sep int getValueU32AsInt concode_elem_s... | Document function ( String arg0 ) { final DocumentBuilderFactory loc0 = DocumentBuilderFactory . newInstance ( ) ; final DocumentBuilder loc1 = loc0 . newDocumentBuilder ( ) ; final Document loc2 = loc1 . parse ( new InputSource ( new StringReader ( arg0 ) ) ) ; return loc2 ; } |
9,681 | add a new child node to this node . 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 getName concode_elem_... | void function ( TreeNode arg0 ) { if ( children == null ) children = new ArrayList ( ) ; children . add ( arg0 ) ; } |
9,682 | returns the field name which was used to transform the content if process row has modified the content and null otherwise . concode_field_sep String endLoopDirective concode_elem_sep String fieldName concode_elem_sep String itemNameList concode_elem_sep String startLoopDirective concode_elem_sep String content concode_... | String function ( ) { return fieldName ; } |
9,683 | gets the decrypted literal string value of the data using the key provided by the security manager . concode_field_sep Reference reference concode_elem_sep char[] hexChar concode_elem_sep StringBuilder stringData concode_field_sep String getHexString concode_elem_sep StringBuilder stringToHex concode_elem_sep String en... | String function ( SecurityManager arg0 ) { return encryption ( stringData . toString ( ) , true , arg0 ) ; } |
9,684 | todo concode_field_sep long st_scount concode_elem_sep int st_wc_bytes concode_elem_sep int st_lg_size concode_elem_sep int st_cur_offset concode_elem_sep int st_w_mbytes concode_elem_sep int st_regsize concode_elem_sep int st_w_bytes concode_elem_sep int st_magic concode_elem_sep int st_maxcommitperflush concode_elem_... | int function ( ) { return st_mode ; } |
9,685 | returns the current cpu utilization of the current process in jiffies . the returned array contains the following information : the 1st entry is the number of jiffies that the process has executed in user mode , and the 2nd entry is the number of jiffies that the process has executed in kernel mode . reads / proc/self/... | long [ ] function ( ) { return cpuUtilizationInJiffies ; } |
9,686 | if this connection is connected , then it is associated with a call . returns getcall . getstate or call.state.idle if not connected concode_field_sep long date concode_elem_sep String ACTION_CM_SIP concode_elem_sep boolean incoming concode_elem_sep Object userData concode_elem_sep String address concode_elem_sep Call ... | Call . State function ( ) { Call loc0 ; loc0 = getCall ( ) ; if ( loc0 == null ) { return Call . State . IDLE ; } else { return loc0 . getState ( ) ; } } |
9,687 | util method to write an attribute with the ns prefix concode_field_sep com.amazon.ec2.DeleteSecurityGroupType localDeleteSecurityGroup concode_elem_sep javax.xml.namespace.QName MY_QNAME concode_field_sep java.lang.String generatePrefix concode_elem_sep void serialize concode_elem_sep void serialize concode_elem_sep vo... | void function ( java . lang . String arg0 , java . lang . String arg1 , java . lang . String arg2 , java . lang . String arg3 , javax . xml . stream . XMLStreamWriter arg4 ) { if ( arg4 . getPrefix ( arg1 ) == null ) { arg4 . writeNamespace ( arg0 , arg1 ) ; arg4 . setPrefix ( arg0 , arg1 ) ; } arg4 . writeAttribute ( ... |
9,688 | prefills bbox with minimum values so that it can increase . concode_field_sep boolean elevation concode_elem_sep double minLon concode_elem_sep double maxEle concode_elem_sep double maxLat concode_elem_sep double minLat concode_elem_sep double minEle concode_elem_sep double maxLon concode_field_sep boolean contains con... | BBox function ( boolean arg0 ) { if ( arg0 ) { return new BBox ( Double . MAX_VALUE , - Double . MAX_VALUE , Double . MAX_VALUE , - Double . MAX_VALUE , Double . MAX_VALUE , - Double . MAX_VALUE , true ) ; } else { return new BBox ( Double . MAX_VALUE , - Double . MAX_VALUE , Double . MAX_VALUE , - Double . MAX_VALUE ,... |
9,689 | walks the command through the interceptor chain . the received ctx is being passed in . concode_field_sep CommandInterceptor firstInChain concode_elem_sep Log log concode_field_sep String getInterceptorDetails concode_elem_sep boolean containsInstance concode_elem_sep void printChainInfo concode_elem_sep void setFirstI... | Object function ( InvocationContext arg0 , VisitableCommand arg1 ) { try { return arg1 . acceptVisitor ( arg0 , firstInChain ) ; } catch ( InterruptedException loc0 ) { Thread . currentThread ( ) . interrupt ( ) ; return null ; } } |
9,690 | check if character is octal digit concode_field_sep int FILE_PATH_LIMIT concode_field_sep String relativeOrFullPath concode_elem_sep VirtualFile getPossibleBase concode_elem_sep String relativePath concode_elem_sep String relativePath concode_elem_sep String relativePath concode_elem_sep String relativePath concode_ele... | boolean function ( char arg0 ) { return '0' <= arg0 && arg0 <= '7' ; } |
9,691 | returns true if other has the same values for the x and y ordinates . since coordinates are 2.5 d , this routine ignores the z value when making the comparison . concode_field_sep double NULL_ORDINATE concode_elem_sep double x concode_elem_sep double y concode_elem_sep int X concode_elem_sep double z concode_elem_sep i... | boolean function ( Object arg0 ) { if ( ! ( arg0 instanceof Coordinate ) ) { return false ; } return equals2D ( ( Coordinate ) arg0 ) ; } |
9,692 | common private static method through which all form objects are obtained . this provides a cache of the form data . if known , the top-level object 's row object is passed in . this is a database access optimization minimize gae billing . concode_field_sep Log logger concode_elem_sep List<IForm> cache concode_elem_sep ... | IForm function ( String arg0 , CallingContext arg1 ) { List < IForm > loc0 = internalGetForms ( arg0 , arg1 ) ; if ( loc0 . isEmpty ( ) ) throw new ODKEntityNotFoundException ( "srini_string" + arg0 ) ; IForm loc1 = loc0 . get ( 0 ) ; return loc1 ; } |
9,693 | return the source character following the current character without consuming the current character . concode_field_sep MessageHandler messageHandler concode_elem_sep char EOL concode_elem_sep BufferedReader reader concode_elem_sep String line concode_elem_sep char EOF concode_elem_sep int lineNum concode_elem_sep int ... | char function ( ) { currentChar ( ) ; if ( line == null ) { return EOF ; } int loc0 = currentPos + 1 ; return loc0 < line . length ( ) ? line . charAt ( loc0 ) : EOL ; } |
9,694 | get custom serializer concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep int returnCount concode_elem_sep com.marketo.www.mktows.ActivityRecord[] activityRecordList concode_elem_sep com.marketo.www.mktows.StreamPosition newStartPosition concode_elem_sep java.lang.Object __equalsCalc concod... | org . apache . axis . encoding . Serializer function ( java . lang . String arg0 , java . lang . Class arg1 , javax . xml . namespace . QName arg2 ) { return new org . apache . axis . encoding . ser . BeanSerializer ( arg1 , arg2 , typeDesc ) ; } |
9,695 | commit the tentative value to the memtable . concode_field_sep long runningKeyTotal concode_elem_sep long memThreshold concode_elem_sep Comparator<TableValue> comp concode_elem_sep Lock writes concode_elem_sep ReentrantReadWriteLock rwLock concode_elem_sep Lock flushes concode_elem_sep PruneOptions pruneOptions concode... | void function ( final TableKey arg0 , final TableValue arg1 , final String arg2 ) { writes . lock ( ) ; TableBucket loc0 = map . get ( arg0 ) ; loc0 . commit ( arg1 , arg2 ) ; runningDataTotal += ( Integer . SIZE / 8 ) + arg1 . getClock ( ) . memory ( ) + ( Integer . SIZE / 8 ) + ( Integer . SIZE / 8 ) + arg1 . memory ... |
9,696 | setting this will make the response handle range headers properly . if this is n't set , then the response will ignore range requests and return the entire message every time . concode_field_sep int numberOfRetries concode_elem_sep HeaderCapture headerCapture concode_elem_sep int numberOfFailures concode_elem_sep int s... | ChunkedContentBuilder function ( HeaderCapture arg0 ) { this . headerCapture = arg0 ; return this ; } |
9,697 | either text or gpdbwritable . call the appropiate write method concode_field_sep boolean isCompressed concode_elem_sep String xid concode_elem_sep int segid concode_elem_sep TaskAttemptContext fakeTaskCtx concode_elem_sep boolean isTextFormat concode_elem_sep String outputpath concode_elem_sep String compressCodec conc... | void function ( ) { if ( isTextFormat ) writeTextFormat ( ) ; else writeGPDBWritableFormat ( ) ; } |
9,698 | get this node 's flex direction , as defined by style . concode_field_sep CSSNode mParent concode_elem_sep CSSStyle style concode_elem_sep CSSNode nextChild concode_elem_sep ArrayList<CSSNode> mChildren concode_elem_sep int lineIndex concode_elem_sep Object mData concode_elem_sep boolean mIsTextNode concode_elem_sep Me... | CSSFlexDirection function ( ) { return style . flexDirection ; } |
9,699 | called on mlooper thread concode_field_sep String TAG concode_elem_sep long SWITCH_ON_FRESHNESS_CLIFF_NS concode_elem_sep Location mFusedLocation concode_elem_sep ProviderRequestUnbundled mRequest concode_elem_sep String GPS concode_elem_sep String FUSED concode_elem_sep Location mGpsLocation concode_elem_sep boolean a... | void function ( ProviderRequestUnbundled arg0 , WorkSource arg1 ) { mRequest = arg0 ; mEnabled = arg0 . getReportLocation ( ) ; updateRequirements ( ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.