idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
34,700 | always throws unsupportedoperationexception , as this class represents an immutable map entry . concode_field_sep V value concode_elem_sep K key concode_field_sep MapEntry<K,V> entry concode_elem_sep K getKey concode_elem_sep V getValue concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Stri... | V function ( V arg0 ) { throw new UnsupportedOperationException ( ) ; } |
34,701 | loads and initializes opencv library using opencv engine service . concode_field_sep String OPENCV_VERSION_2_4_4 concode_elem_sep String OPENCV_VERSION_2_4_8 concode_elem_sep String OPENCV_VERSION_3_0_0 concode_elem_sep String OPENCV_VERSION_2_4_3 concode_elem_sep String OPENCV_VERSION_2_4_7 concode_elem_sep String OPE... | boolean function ( String arg0 , Context arg1 , LoaderCallbackInterface arg2 ) { return AsyncServiceHelper . initOpenCV ( arg0 , arg1 , arg2 ) ; } |
34,702 | validates the connection to the interface by calling the listbidcosinterfaces method . concode_field_sep Logger logger concode_elem_sep boolean TRACE_ENABLED concode_elem_sep HomematicConfig config concode_field_sep String getRpcCallbackUrl concode_elem_sep void setInstallMode concode_elem_sep void init concode_elem_se... | void function ( HmInterface arg0 ) { RpcRequest loc0 = createRpcRequest ( "srini_string" ) ; sendMessage ( config . getRpcPort ( arg0 ) , loc0 ) ; } |
34,703 | set the configuration persister factory to use . concode_field_sep ServerEnvironment serverEnvironment concode_elem_sep ExtensionRegistry extensionRegistry concode_elem_sep ManagedAuditLogger auditLogger concode_elem_sep DelegatingConfigurableAuthorizer authorizer concode_elem_sep ConfigurationPersisterFactory configur... | void function ( final ConfigurationPersisterFactory arg0 ) { this . configurationPersisterFactory = arg0 ; } |
34,704 | returns whether the matrix a has full rank . concode_field_sep DoubleMatrix2D QR concode_elem_sep long serialVersionUID concode_elem_sep int m concode_elem_sep int n concode_elem_sep DoubleMatrix1D Rdiag concode_field_sep DoubleMatrix2D getH concode_elem_sep DoubleMatrix2D solve concode_elem_sep String toString concode... | boolean function ( ) { for ( int loc0 = 0 ; loc0 < n ; loc0 ++ ) { if ( Rdiag . getQuick ( loc0 ) == 0 ) return false ; } return true ; } |
34,705 | notify the host application that there have been an excessive number of http redirects . as the host application if it would like to continue trying to load the resource . the default behavior is to send the cancel message . concode_field_sep PlaceHolder placeHolder concode_field_sep void onPageStarted concode_elem_sep... | void function ( WebView arg0 , Message arg1 , Message arg2 ) { arg1 . sendToTarget ( ) ; } |
34,706 | get ad_package_imp_id concode_field_sep CLogger log concode_field_sep int copyFile concode_elem_sep TransformerHandler getLogDocument concode_elem_sep int get_IDWithColumn concode_elem_sep String getStringValue concode_elem_sep int getClientId concode_elem_sep int record_log concode_elem_sep String getTrxName concode_e... | int function ( Properties arg0 ) { return Env . getContextAsInt ( arg0 , "srini_string" ) ; } |
34,707 | configure one or more websocket handshake request interceptors . concode_field_sep boolean running concode_elem_sep Log logger concode_elem_sep WebSocketHandler wsHandler concode_elem_sep HandshakeHandler handshakeHandler concode_elem_sep List<HandshakeInterceptor> interceptors concode_field_sep void stop concode_elem_... | void function ( List < HandshakeInterceptor > arg0 ) { this . interceptors . clear ( ) ; if ( arg0 != null ) { this . interceptors . addAll ( arg0 ) ; } } |
34,708 | add a response header to expose . note that '' '' is not a valid exposed header value . concode_field_sep List<String> allowedOrigins concode_elem_sep Long maxAge concode_elem_sep List<String> exposedHeaders concode_elem_sep List<String> allowedHeaders concode_elem_sep List<String> allowedMethods concode_elem_sep Strin... | void function ( String arg0 ) { if ( ALL . equals ( arg0 ) ) { throw new IllegalArgumentException ( "srini_string" ) ; } if ( this . exposedHeaders == null ) { this . exposedHeaders = new ArrayList < > ( ) ; } this . exposedHeaders . add ( arg0 ) ; } |
34,709 | the url where the usernamepasswordauthenticationfilter login page can be found . should either be relative to the web-app context path include a leading / or an absolute url . concode_field_sep String loginFormUrl concode_elem_sep boolean forceHttps concode_elem_sep boolean useForward concode_elem_sep Log logger concod... | void function ( String arg0 ) { this . loginFormUrl = arg0 ; } |
34,710 | once n threads gather , this method is called to execute to carry out some task . concode_field_sep Exception interrupted concode_elem_sep int i concode_elem_sep int n concode_field_sep void abort concode_elem_sep void check concode_elem_sep void synchronize | void function ( ) { } |
34,711 | the volume . concode_field_sep DiskImageVolumeDescription volume concode_elem_sep Long bytesConverted concode_elem_sep DiskImageDescription image concode_elem_sep String description concode_elem_sep String availabilityZone concode_elem_sep String statusMessage concode_elem_sep String status concode_field_sep Long getBy... | void function ( DiskImageVolumeDescription arg0 ) { this . volume = arg0 ; } |
34,712 | gets the value of the dst 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 dst property . for example , to add a new item , do as follows... | List < String > function ( ) { if ( dst == null ) { dst = new ArrayList < String > ( ) ; } return this . dst ; } |
34,713 | sets the status of this replication rule . valid values are enabled , disabled . the rule will be applied only if the status is enabled . concode_field_sep String prefix concode_elem_sep ReplicationDestinationConfig destinationConfig concode_elem_sep String status concode_field_sep String getPrefix concode_elem_sep voi... | ReplicationRule function ( String arg0 ) { setStatus ( arg0 ) ; return this ; } |
34,714 | create a paragraph with the given text and using normal font . concode_field_sep PlaceHolder placeHolder concode_field_sep void renderImageAcrossPages concode_elem_sep BaseFont getBaseFont concode_elem_sep Phrase createPhrase concode_elem_sep Phrase createPhrase concode_elem_sep PdfPCell createCell concode_elem_sep Pdf... | Paragraph function ( String arg0 ) { return createParagraph ( arg0 , PrintUtilities . NORMAL ) ; } |
34,715 | get stored session data concode_field_sep Editor editor concode_elem_sep Context _context concode_elem_sep SharedPreferences pref concode_elem_sep String KEY_NAME concode_elem_sep String KEY_EMAIL concode_elem_sep String PREF_NAME concode_elem_sep String IS_LOGIN concode_elem_sep int PRIVATE_MODE concode_field_sep void... | HashMap < String , String > function ( ) { HashMap < String , String > loc0 = new HashMap < String , String > ( ) ; loc0 . put ( KEY_NAME , pref . getString ( KEY_NAME , null ) ) ; loc0 . put ( KEY_EMAIL , pref . getString ( KEY_EMAIL , null ) ) ; return loc0 ; } |
34,716 | set sequence label concode_field_sep List<T> elements concode_elem_sep Map<String,T> elementsMap concode_elem_sep long serialVersionUID concode_elem_sep List<T> labels concode_elem_sep T label concode_elem_sep int sequenceId concode_field_sep void addSequenceLabel concode_elem_sep List<String> asLabels concode_elem_sep... | void function ( @ NonNull T arg0 ) { this . label = arg0 ; if ( ! labels . contains ( arg0 ) ) labels . add ( arg0 ) ; } |
34,717 | returns all the configuration locations stored by this object . concode_field_sep PropertiesConfiguration propertiesConfiguration concode_elem_sep String CONFIG_LOCATION_PROPERTY_KEY concode_field_sep void add concode_elem_sep void save concode_elem_sep List<String> loadAll concode_elem_sep Iterable<ConfigLocation> map | Iterable < ConfigLocation > function ( ) { return map ( loadAll ( ) ) ; } |
34,718 | sets the database user . concode_field_sep CouchDbConnector dbConnector concode_elem_sep String password concode_elem_sep String dbName concode_elem_sep String userName concode_elem_sep String dbUrl concode_elem_sep StdCouchDbInstance couchInstance concode_field_sep void setPassword concode_elem_sep void setDbName conc... | void function ( String arg0 ) { this . userName = arg0 ; } |
34,719 | searches the specified naturally ordered list for the specified object using the binary search algorithm . equivalent to #binarysearch list , function , object , comparator , keypresentbehavior , keyabsentbehavior using ordering #natural . concode_field_sep PlaceHolder placeHolder concode_field_sep int resultIndex conc... | int function ( List < ? extends E > arg0 , E arg1 , KeyPresentBehavior arg2 , KeyAbsentBehavior arg3 ) { checkNotNull ( arg1 ) ; return binarySearch ( arg0 , arg1 , Ordering . natural ( ) , arg2 , arg3 ) ; } |
34,720 | loads and initializes opencv library using opencv engine service . concode_field_sep String OPENCV_VERSION_2_4_4 concode_elem_sep String OPENCV_VERSION_2_4_8 concode_elem_sep String OPENCV_VERSION_3_0_0 concode_elem_sep String OPENCV_VERSION_2_4_3 concode_elem_sep String OPENCV_VERSION_2_4_7 concode_elem_sep String OPE... | boolean function ( String arg0 , Context arg1 , LoaderCallbackInterface arg2 ) { return AsyncServiceHelper . initOpenCV ( arg0 , arg1 , arg2 ) ; } |
34,721 | return the current record id . concode_field_sep BitField fVersion concode_elem_sep short _options concode_elem_sep BitField fInstance concode_elem_sep short _recordId concode_field_sep short getVersion concode_elem_sep void setRecordId concode_elem_sep int fillFields concode_elem_sep int fillFields concode_elem_sep vo... | short function ( ) { return _recordId ; } |
34,722 | gets the feature type . concode_field_sep String DEFAULT_GEOMETRY_ATTRIBUTE_NAME concode_elem_sep SimpleFeatureType TYPE concode_field_sep String getFeatureID concode_elem_sep void setAttributes concode_elem_sep boolean getCreateFeature | SimpleFeatureType function ( ) { return TYPE ; } |
34,723 | convert this standard java object to a cos object . concode_field_sep int numberOfRowElements concode_elem_sep COSArray matrix concode_field_sep float getValue concode_elem_sep void setValue concode_elem_sep COSArray getCOSArray | COSBase function ( ) { return matrix ; } |
34,724 | returns a human-oriented string representing the given access flags , as defined on classes not fields or methods . concode_field_sep int ACC_NATIVE concode_elem_sep int ACC_SUPER concode_elem_sep int ACC_STRICT concode_elem_sep int ACC_ANNOTATION concode_elem_sep int CONV_CLASS concode_elem_sep int ACC_ABSTRACT concod... | String function ( int arg0 ) { return humanHelper ( arg0 , CLASS_FLAGS , CONV_CLASS ) ; } |
34,725 | fed the digest with in_len bytes from in_buff , starting at in_off . afterwards finish the hash computation and copy the digest into out_buff at index out_off . if there is not enough place in out_buff less then 20bytes starting at out_off an indexoutofboundsexception is thrown . concode_field_sep MessageDigest digest ... | void function ( byte [ ] arg0 , short arg1 , short arg2 , byte [ ] arg3 , short arg4 ) { digest . update ( arg0 , arg1 , arg2 ) ; byte [ ] loc0 = digest . digest ( ) ; System . arraycopy ( loc0 , 0 , arg3 , arg4 , loc0 . length ) ; return ; } |
34,726 | test if focus is defined for a certain element . concode_field_sep Pattern ClientIdPattern concode_field_sep void setFocus concode_elem_sep String getFocus concode_elem_sep String getReceivedFocus | boolean function ( FacesContext arg0 ) { return arg0 . getExternalContext ( ) . getRequestMap ( ) . containsKey ( FocusController . class . getName ( ) ) ; } |
34,727 | returns a uniform random permutation of 0,...,l-1 concode_field_sep MersenneTwisterFast random concode_field_sep float nextFloat concode_elem_sep byte nextByte concode_elem_sep double nextGamma concode_elem_sep void nextBytes concode_elem_sep double uniform concode_elem_sep double nextInverseGaussian concode_elem_sep d... | int [ ] function ( int arg0 ) { synchronized ( random ) { return random . permuted ( arg0 ) ; } } |
34,728 | returns a hash code value for the kim . concode_field_sep int hashcode concode_elem_sep int length concode_elem_sep byte[] bytes concode_elem_sep String string concode_field_sep int characterAt concode_elem_sep int characterSize concode_elem_sep boolean equals concode_elem_sep int get concode_elem_sep String toString c... | int function ( ) { return this . hashcode ; } |
34,729 | rest delete . deletes a record from the catalog . concode_field_sep Logger LOGGER concode_field_sep Response getDocument concode_elem_sep Response addDocument concode_elem_sep Response updateDocument | Response function ( @ PathParam ( "srini_string" ) String arg0 ) { LOGGER . debug ( "srini_string" ) ; return Response . ok ( ) . build ( ) ; } |
34,730 | set status to given statuscode . concode_field_sep Map<String,Object> details concode_elem_sep Status status concode_field_sep Builder withDetail concode_elem_sep Builder withException concode_elem_sep Health build concode_elem_sep int hashCode concode_elem_sep Builder outOfService concode_elem_sep Builder outOfService... | Builder function ( String arg0 ) { return status ( new Status ( arg0 ) ) ; } |
34,731 | specifies the status of optionstatus for advanced options for the specified elasticsearch domain . concode_field_sep java.util.Map<String,String> options concode_elem_sep OptionStatus status concode_field_sep AdvancedOptionsStatus withStatus concode_elem_sep AdvancedOptionsStatus withOptions concode_elem_sep int hashCo... | void function ( OptionStatus arg0 ) { this . status = arg0 ; } |
34,732 | used when a representation of this com.j2bugzilla.base.productcomponent product version 's internals must bepassed via xml-rpc for a remote method . regular users of this api should prefer the normal getxxx methods . concode_field_sep Map<String,Object> internalState concode_field_sep void setName concode_elem_sep Bool... | Map < Object , Object > function ( ) { Map < Object , Object > loc0 = new HashMap < Object , Object > ( ) ; for ( final String loc1 : getInternalState ( ) . keySet ( ) ) { loc0 . put ( loc1 , getInternalState ( ) . get ( loc1 ) ) ; } return Collections . unmodifiableMap ( loc0 ) ; } |
34,733 | sets password of service account . concode_field_sep int DATA_INIT_POINTS concode_elem_sep boolean saExists concode_elem_sep int dataInitMode concode_elem_sep String saPassword concode_elem_sep CollectionItem[] selectedStartingPoints concode_elem_sep boolean saUseAccount concode_elem_sep String saEmail concode_elem_sep... | void function ( String arg0 ) { saPassword = arg0 ; } |
34,734 | sets the value of the extlst property . concode_field_sep CTOfficeArtExtensionList extLst concode_elem_sep String link concode_field_sep void setLink concode_elem_sep String getLink concode_elem_sep CTOfficeArtExtensionList getExtLst | void function ( CTOfficeArtExtensionList arg0 ) { this . extLst = arg0 ; } |
34,735 | set the html id of the element t concode_field_sep boolean fired concode_elem_sep boolean submit concode_elem_sep boolean queued concode_elem_sep float fps concode_elem_sep boolean sync concode_elem_sep int sequenceId concode_elem_sep float duration concode_elem_sep String sequence concode_elem_sep float delay concode_... | void function ( String arg0 ) { this . id = arg0 ; } |
34,736 | is the current request an authentication response from the op ? concode_field_sep Map<String,String> extensions concode_elem_sep List<String> sregRequired concode_elem_sep Map<String,String> axRequired concode_elem_sep String returnAction concode_elem_sep String id concode_elem_sep String realmAction concode_elem_sep L... | boolean function ( ) { return Params . current ( ) . get ( "srini_string" ) != null ; } |
34,737 | sets the headless flag of this message . concode_field_sep boolean m_Headless concode_elem_sep int m_ProtocolID concode_elem_sep int m_Reference concode_elem_sep int m_TransactionID concode_elem_sep int m_DataLength concode_elem_sep int m_UnitID concode_elem_sep int m_FunctionCode concode_field_sep boolean isHeadless c... | void function ( boolean arg0 ) { m_Headless = arg0 ; } |
34,738 | sets the comments value for this twsqinfooutbound . concode_field_sep java.util.Calendar dateSchedule concode_elem_sep java.lang.String comments concode_elem_sep java.lang.String phone concode_elem_sep java.util.Calendar timeSchedule concode_elem_sep boolean captured concode_elem_sep java.lang.Object __equalsCalc conco... | void function ( java . lang . String arg0 ) { this . comments = arg0 ; } |
34,739 | get the shuffle port concode_field_sep TaskAttemptStarted datum concode_field_sep TaskID getTaskId concode_elem_sep String getTrackerName concode_elem_sep ContainerId getContainerId concode_elem_sep EventType getEventType concode_elem_sep Object getDatum concode_elem_sep String getAvataar concode_elem_sep int getHttpPo... | int function ( ) { return datum . getShufflePort ( ) ; } |
34,740 | updates the sync device in the database or adds it if it does not yet exist . also notifies the appropriate model listeners . concode_field_sep SyncDeviceLocalService _syncDeviceLocalService concode_field_sep com.liferay.sync.model.SyncDevice getSyncDeviceByUuidAndCompanyId concode_elem_sep java.lang.String getOSGiServ... | com . liferay . sync . model . SyncDevice function ( com . liferay . sync . model . SyncDevice arg0 ) { return _syncDeviceLocalService . updateSyncDevice ( arg0 ) ; } |
34,741 | removing edges is not supported ! concode_field_sep Edge next concode_elem_sep Iterator<Edge> currentEdges concode_elem_sep Set<? extends Vertex> vertices concode_elem_sep Iterator<? extends Vertex> vertexIter concode_field_sep Edge next concode_elem_sep boolean hasNext concode_elem_sep Edge findNext | void function ( ) { throw new UnsupportedOperationException ( "srini_string" ) ; } |
34,742 | sets the direction of the pick ray . the vector need not be normalized . concode_field_sep double EPSILON_ABSOLUTE concode_elem_sep Vec3d origin concode_elem_sep double EPS concode_elem_sep Vec3d direction concode_elem_sep double farClip concode_elem_sep double nearClip concode_field_sep PickRay computePerspectivePickR... | void function ( double arg0 , double arg1 , double arg2 ) { this . direction . set ( arg0 , arg1 , arg2 ) ; } |
34,743 | return the resolved error messages for the field or object , if any . returns an empty array instead of null if none . concode_field_sep PropertyEditor editor concode_elem_sep String expression concode_elem_sep BindingResult bindingResult concode_elem_sep String[] errorCodes concode_elem_sep Object actualValue concode_... | String [ ] function ( ) { initErrorMessages ( ) ; return this . errorMessages ; } |
34,744 | setclientfile concode_field_sep int Direction_ClientToServer concode_elem_sep int _syncState concode_elem_sep int Direction_None concode_elem_sep String _relativePath concode_elem_sep IFileStore _destinationFile concode_elem_sep int Direction_ServerToClient concode_elem_sep IFileInfo _sourceFileInfo concode_elem_sep in... | void function ( IFileStore arg0 ) { this . _sourceFile = arg0 ; this . _sourceFileInfo = null ; } |
34,745 | session profile key to database profile fname mappings . concode_field_sep String DEFAULT_SESSION_ATTRIBUTE_NAME concode_elem_sep String defaultProfileName concode_elem_sep Logger logger concode_elem_sep Map<String,String> mappings concode_elem_sep String attributeName concode_field_sep void setAttributeName concode_el... | void function ( Map < String , String > arg0 ) { this . mappings = arg0 ; } |
34,746 | return the time it took to make the previous computation . concode_field_sep PlotCoordinates coordinates concode_elem_sep ArrayList<ProgressChangedCallback> progressChangedCallbacks concode_elem_sep BufferedImage plot concode_elem_sep Coloring[] coloringList concode_elem_sep PlotWorker worker concode_elem_sep int MIN_M... | double function ( ) { return elapsedTime ; } |
34,747 | calculates the performance stats for the default class and return results as a set of instances . the structure of these instances is as follows : probability cost function normalized expected cost threshold contains the probability threshold that gives rise to the previous performance values . concode_field_sep String... | Instances function ( FastVector arg0 ) { if ( arg0 . size ( ) == 0 ) { return null ; } return getCurve ( arg0 , ( ( NominalPrediction ) arg0 . elementAt ( 0 ) ) . distribution ( ) . length - 1 ) ; } |
34,748 | returns the long representation of the value . if the value is null , then the default value is returned . if the value is n't a long , then a parse exception will be thrown . concode_field_sep Map<String,String> current concode_elem_sep Logger logger concode_elem_sep String source concode_field_sep void setSource conc... | long function ( String arg0 , long arg1 ) { if ( containsKey ( arg0 ) ) { return Long . parseLong ( get ( arg0 ) ) ; } else { return arg1 ; } } |
34,749 | removes registered handler , if exists , for the given pattern . concode_field_sep UriPatternMatcher<HttpRequestHandler> matcher concode_field_sep HttpRequestHandler lookup concode_elem_sep Map<String,HttpRequestHandler> getHandlers concode_elem_sep void setHandlers concode_elem_sep void register | void function ( final String arg0 ) { matcher . unregister ( arg0 ) ; } |
34,750 | logs out an error message supporting positional parameter substitutions . concode_field_sep String category concode_elem_sep ArrayList targets concode_field_sep void warn concode_elem_sep void warn concode_elem_sep void warn concode_elem_sep void warn concode_elem_sep void debug concode_elem_sep void debug concode_elem... | void function ( String arg0 , Object [ ] arg1 ) { log ( LogEvent . ERROR , arg0 , arg1 , null ) ; } |
34,751 | returns the method descriptor , given the argument and return type prototype strings . concode_field_sep String mDeclClass concode_elem_sep String mReturnType concode_elem_sep String[] mArgTypes concode_elem_sep String mMethodName concode_field_sep String getDescriptor concode_elem_sep String getName concode_elem_sep S... | String function ( String [ ] arg0 , String arg1 ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; for ( int loc1 = 0 ; loc1 < arg0 . length ; loc1 ++ ) { loc0 . append ( arg0 [ loc1 ] ) ; } loc0 . append ( "srini_string" ) ; loc0 . append ( arg1 ) ; return loc0 . toString ( ) ; } |
34,752 | gets underlying type instance . concode_field_sep Class<? super T> rawType concode_elem_sep int hashCode concode_elem_sep Type type concode_field_sep Class<? super T> getRawType concode_elem_sep Type resolveType concode_elem_sep TypeLiteral<?> resolve concode_elem_sep TypeLiteral<?> getFieldType concode_elem_sep List<T... | Type function ( ) { return type ; } |
34,753 | returns the number of rows matching the dynamic query . concode_field_sep KaleoTimerLocalService _kaleoTimerLocalService concode_field_sep com.liferay.portal.workflow.kaleo.model.KaleoTimer updateKaleoTimer concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return _kaleoTimerLocalService . dynamicQueryCount ( arg0 ) ; } |
34,754 | get query string & parameters anywhere in an app concode_field_sep String PARAMKEYVALUESPLITTER concode_elem_sep String PARAMSPLITTER concode_elem_sep String PARAMSSTART concode_field_sep String getHistoryTokenAnchor concode_elem_sep void newItem concode_elem_sep void newItem concode_elem_sep void newItem concode_elem_... | HistoryTokenData function ( ) { String loc0 = getHistoryTokenAnchor ( History . getToken ( ) ) ; HashMap < String , String > loc1 = getHistoryTokenParameters ( History . getToken ( ) ) ; HistoryTokenData loc2 = new HistoryTokenData ( ) ; loc2 . setHistoryData ( loc0 , loc1 ) ; return loc2 ; } |
34,755 | returns the size number of bits of the specified data type . valid types are defined by the constants #type_byte , #type_short , #type_ushort , #type_int , #type_float and #type_double . concode_field_sep int banks concode_elem_sep int TYPE_BYTE concode_elem_sep int TYPE_FLOAT concode_elem_sep int offset concode_elem_s... | int function ( int arg0 ) { switch ( arg0 ) { case TYPE_BYTE : return 8 ; case TYPE_USHORT : case TYPE_SHORT : return 16 ; case TYPE_INT : case TYPE_FLOAT : return 32 ; case TYPE_DOUBLE : return 64 ; default : throw new IllegalArgumentException ( ) ; } } |
34,756 | the event type . error - indicates an error with the spot fleet request . fleetrequestchange - indicates a change in the status or configuration of the spot fleet request . instancechange - indicates that an instance was launched or terminated . constraints : allowed values : instancechange , fleetrequestchange , error... | void function ( EventType arg0 ) { this . eventType = arg0 . toString ( ) ; } |
34,757 | tests byteioutils #writeint and byteioutils #readint . concode_field_sep byte[] mBuf concode_field_sep void readWriteShort concode_elem_sep void readWriteLong concode_elem_sep void readWriteByte | void function ( ) { long [ ] loc0 = new long [ ] { 0 , 1 , 2 , 0x7f , 0xff , 0xffff , 0xffffff , 0xffffffff } ; for ( long loc1 : loc0 ) { int loc2 = ( int ) loc1 ; for ( int loc3 = 0 ; loc3 < 4 ; loc3 ++ ) { ByteIOUtils . writeInt ( mBuf , loc3 , loc2 ) ; Assert . assertEquals ( loc2 , ByteIOUtils . readInt ( mBuf , l... |
34,758 | for okhttp we will often return a buffer smaller than the requested capacity as this is the mechanism for chunking a large grpc message over many data frames . concode_field_sep int MAX_BUFFER concode_elem_sep int MIN_BUFFER concode_field_sep placeholderType placeHolder | WritableBuffer function ( int arg0 ) { arg0 = Math . min ( MAX_BUFFER , Math . max ( MIN_BUFFER , arg0 ) ) ; return new OkHttpWritableBuffer ( new Buffer ( ) , arg0 ) ; } |
34,759 | generate an unique actorsession id . concode_field_sep int maxFreeID concode_elem_sep Vector freeASID concode_elem_sep int max concode_field_sep void indexID concode_elem_sep void releaseASID concode_elem_sep void purgeVector | int function ( ) { if ( freeASID . isEmpty ( ) ) { int loc0 = maxFreeID ; if ( loc0 < max ) { maxFreeID = loc0 + 1 ; return loc0 ; } else return 0 ; } else { Integer loc0 = ( Integer ) freeASID . firstElement ( ) ; freeASID . remove ( loc0 ) ; return loc0 . intValue ( ) ; } } |
34,760 | get the dynstruct repository id . concode_field_sep PlaceHolder placeHolder concode_field_sep DynStruct extract concode_elem_sep DynStruct read concode_elem_sep void insert concode_elem_sep DynStruct narrow concode_elem_sep TypeCode type concode_elem_sep void write concode_elem_sep DynStruct unchecked_narrow | String function ( ) { return "srini_string" ; } |
34,761 | sets the time used for the sql encoding . concode_field_sep long encodedSQLSize concode_elem_sep String articleName concode_elem_sep int diffPartCounter concode_elem_sep int readRevisionCounter concode_elem_sep long processingTimeDiff concode_elem_sep int articleId concode_elem_sep long enteringTime concode_elem_sep lo... | void function ( final long arg0 ) { this . processingTimeSQL = arg0 ; } |
34,762 | returns the modification date of the template . concode_field_sep long lastModified concode_elem_sep String body concode_elem_sep String encoding concode_field_sep String getEncoding concode_elem_sep void setEncoding concode_elem_sep String getBody concode_elem_sep void setBody concode_elem_sep void setLastModified | long function ( ) { return lastModified ; } |
34,763 | resource id for drawable . concode_field_sep String DEFAULT_SOUND concode_elem_sep String STORAGE_FOLDER concode_elem_sep Context context concode_field_sep void copyFile concode_elem_sep Uri getUriForResourcePath concode_elem_sep Uri getUriFromAsset concode_elem_sep String getBaseName concode_elem_sep Uri parse concode... | int function ( String arg0 ) { int loc0 = getResIdForDrawable ( getPkgName ( ) , arg0 ) ; if ( loc0 == 0 ) { loc0 = getResIdForDrawable ( "srini_string" , arg0 ) ; } return loc0 ; } |
34,764 | return the configured delay before the shard can be allocated in milliseconds concode_field_sep String assignedNodeId concode_elem_sep Map<DiscoveryNode,NodeExplanation> nodeExplanations concode_elem_sep boolean hasPendingAsyncFetch concode_elem_sep long remainingDelayMillis concode_elem_sep ShardId shard concode_elem_... | long function ( ) { return this . allocationDelayMillis ; } |
34,765 | parse a distance from a given string . if no unit is givendistanceunit.default will be used 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_s... | Distance function ( String arg0 ) { return parseDistance ( arg0 , DEFAULT ) ; } |
34,766 | initializes the contents of the xmlstring structure with copies of the given string structure . note : this does not copy the character array ; only the reference to the array is copied . concode_field_sep int offset concode_elem_sep char[] ch concode_elem_sep int length concode_field_sep boolean equals concode_elem_se... | void function ( XMLString arg0 ) { setValues ( arg0 . ch , arg0 . offset , arg0 . length ) ; } |
34,767 | whether this is the last part of a message sent as a series of partial messages . concode_field_sep boolean last concode_elem_sep T payload concode_field_sep T getPayload concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep String toStringPayload | boolean function ( ) { return this . last ; } |
34,768 | allocates internal skip buffers . concode_field_sep RAMOutputStream[] skipBuffer concode_elem_sep int numberOfSkipLevels concode_elem_sep int skipMultiplier concode_elem_sep int skipInterval concode_field_sep void bufferSkip concode_elem_sep long writeSkip concode_elem_sep void writeSkipData concode_elem_sep void reset... | void function ( ) { skipBuffer = new RAMOutputStream [ numberOfSkipLevels ] ; for ( int loc0 = 0 ; loc0 < numberOfSkipLevels ; loc0 ++ ) { skipBuffer [ loc0 ] = new RAMOutputStream ( ) ; } } |
34,769 | emits an event to the socket.io server . if the connection is not established , the call will be buffered and sent as soon as it is possible . concode_field_sep Properties headers concode_elem_sep String namespace concode_elem_sep IOCallback callback concode_elem_sep IOConnection connection concode_elem_sep String quer... | void function ( final String arg0 , IOAcknowledge arg1 , final Object ... arg2 ) { this . connection . emit ( this , arg0 , arg1 , arg2 ) ; } |
34,770 | returns the line number of the caller . this information is not always available . concode_field_sep String fileName concode_elem_sep Method getClassNameMethod concode_elem_sep LocationInfo NA_LOCATION_INFO concode_elem_sep boolean inVisualAge concode_elem_sep String methodName concode_elem_sep Method getMethodNameMeth... | String function ( ) { if ( fullInfo == null ) return NA ; if ( lineNumber == null ) { int loc0 = fullInfo . lastIndexOf ( ')' ) ; int loc1 = fullInfo . lastIndexOf ( ':' , loc0 - 1 ) ; if ( loc1 == - 1 ) lineNumber = NA ; else lineNumber = this . fullInfo . substring ( loc1 + 1 , loc0 ) ; } return lineNumber ; } |
34,771 | returns the tag at a given index - note that the taglist is backed by a linkedhashset , so the order of added tags will be consistent , but duplicates will not be preserved . concode_field_sep String ELEMENT_NAME_LC concode_elem_sep String ATTR_CATEGORY concode_elem_sep List<Tag> myOrderedTags concode_elem_sep LinkedHa... | Tag function ( int arg0 ) { if ( myOrderedTags == null ) { myOrderedTags = new ArrayList < Tag > ( ) ; for ( Tag loc0 : myTagSet ) { myOrderedTags . add ( loc0 ) ; } } return myOrderedTags . get ( arg0 ) ; } |
34,772 | used for getting the inverse of direction dir : example : the inverse of mazegrid.dir _ left is mazegrid.dir _ right and vice versa concode_field_sep short DIR_LEFT concode_elem_sep ArrayList<Cell> revealedCoordinates concode_elem_sep short MARKER2 concode_elem_sep MazeGameSave gameSave concode_elem_sep Cell start conc... | short function ( short arg0 ) { if ( arg0 == MazeGrid . DIR_LEFT ) return MazeGrid . DIR_RIGHT ; if ( arg0 == MazeGrid . DIR_RIGHT ) return MazeGrid . DIR_LEFT ; if ( arg0 == MazeGrid . DIR_UP ) return MazeGrid . DIR_DOWN ; if ( arg0 == MazeGrid . DIR_DOWN ) return MazeGrid . DIR_UP ; return 0x0 ; } |
34,773 | gets the value of the deviceitem property . concode_field_sep DeviceItemType deviceItem concode_elem_sep long serialVersionUID concode_field_sep void setDeviceItem | DeviceItemType function ( ) { return deviceItem ; } |
34,774 | set the report between applications number and the seats number for the internship . concode_field_sep String name concode_elem_sep int applications concode_elem_sep String city concode_elem_sep int seats concode_elem_sep boolean applied concode_elem_sep boolean seen concode_elem_sep String department concode_elem_sep ... | void function ( int arg0 ) { this . report = arg0 ; } |
34,775 | public api - encodes a boolean/bit argument . concode_field_sep boolean needBitFlush concode_elem_sep byte bitAccumulator concode_elem_sep ValueWriter out concode_elem_sep int bitMask concode_field_sep void writeLongstr concode_elem_sep void writeLongstr concode_elem_sep void writeLong concode_elem_sep void writeTimest... | void function ( boolean arg0 ) { if ( bitMask > 0x80 ) { bitflush ( ) ; } if ( arg0 ) { bitAccumulator |= bitMask ; } else { } bitMask = bitMask << 1 ; needBitFlush = true ; } |
34,776 | determines the appropriate class loader to which the generated proxy should be scoped . concode_field_sep InputStream stream concode_elem_sep Class[] PROXY_INTERFACES concode_elem_sep boolean needsReset concode_elem_sep byte[] bytes concode_elem_sep long length concode_elem_sep BinaryStream binaryStream concode_field_s... | ClassLoader function ( ) { return BlobImplementer . class . getClassLoader ( ) ; } |
34,777 | resets the auth state . concode_field_sep Queue<AuthOption> authOptions concode_elem_sep Credentials credentials concode_elem_sep AuthProtocolState state concode_elem_sep AuthScheme authScheme concode_elem_sep AuthScope authScope concode_field_sep AuthScope getAuthScope concode_elem_sep boolean isValid concode_elem_sep... | void function ( ) { this . state = AuthProtocolState . UNCHALLENGED ; this . authOptions = null ; this . authScheme = null ; this . authScope = null ; this . credentials = null ; } |
34,778 | determine whether the interceptor should kick in , that is , whether the invokeundertrace method should be called.default behavior is to check whether the given log instance is enabled . subclasses can override this to apply the interceptor in other cases as well . concode_field_sep Log defaultLogger concode_elem_sep b... | boolean function ( MethodInvocation arg0 , Log arg1 ) { return isLogEnabled ( arg1 ) ; } |
34,779 | setter method concode_field_sep String pendingWith concode_elem_sep String subCategory concode_elem_sep String dateAndTime concode_elem_sep String ticketNo concode_elem_sep String subSubCategory concode_elem_sep String pendingWithUser concode_elem_sep String customerId concode_elem_sep String loggedBy concode_elem_sep ... | void function ( String arg0 ) { this . loggedBy = arg0 ; } |
34,780 | returns the number of sync d l file version diffs . concode_field_sep SyncDLFileVersionDiffLocalService _service concode_field_sep com.liferay.sync.model.SyncDLFileVersionDiff addSyncDLFileVersionDiff concode_elem_sep com.liferay.sync.model.SyncDLFileVersionDiff addSyncDLFileVersionDiff concode_elem_sep void deleteExpi... | int function ( ) { return getService ( ) . getSyncDLFileVersionDiffsCount ( ) ; } |
34,781 | sets the 0-parameter closure for this job concode_field_sep TimerImpl timer concode_elem_sep Procedure0 procedure concode_elem_sep Object argument1 concode_elem_sep Procedure1<Object> procedure1 concode_elem_sep Logger logger concode_field_sep void setProcedure1 concode_elem_sep void setTimer concode_elem_sep void exec... | void function ( Procedure0 arg0 ) { this . procedure = arg0 ; } |
34,782 | sets initial context environment map that will be used in initialcontext #initialcontext hashtable constructor . concode_field_sep long serialVersionUID concode_elem_sep Map<?,?> environment concode_elem_sep String[] jndiNames concode_field_sep String[] getJndiNames concode_elem_sep void setJndiNames concode_elem_sep M... | void function ( Map < ? , ? > arg0 ) { this . environment = arg0 ; } |
34,783 | encrypt/decrypt function used for password encryption in authentication simple xor is used here but it is ok as we crypt random strings concode_field_sep char PVERSION41_CHAR concode_elem_sep int SHA1_HASH_SIZE concode_field_sep String longToHex concode_elem_sep byte[] passwordHashStage2 concode_elem_sep String makeScr... | void function ( byte [ ] arg0 , byte [ ] arg1 , byte [ ] arg2 , int arg3 ) { int loc0 = 0 ; int loc1 = arg2 . arg3 ; while ( loc0 < arg3 ) { arg1 [ loc0 ] = ( byte ) ( arg0 [ loc0 ] ^ arg2 [ loc0 % loc1 ] ) ; loc0 ++ ; } } |
34,784 | deletes the account from the database . also notifies the appropriate model listeners . concode_field_sep AccountLocalService _service concode_field_sep com.liferay.mail.model.Account updateFolders concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDy... | com . liferay . mail . model . Account function ( com . liferay . mail . model . Account arg0 ) { return getService ( ) . deleteAccount ( arg0 ) ; } |
34,785 | associates an statementportal withwith odbcpreparedstatement . concode_field_sep List portals concode_elem_sep Session session concode_elem_sep String query concode_elem_sep Result ackResult concode_elem_sep String handle concode_elem_sep Map containingMap concode_field_sep void close | void function ( StatementPortal arg0 ) { portals . add ( arg0 ) ; } |
34,786 | gets the value of the reconciliationorderreportaction property . concode_field_sep ReconciliationOrderReportAction reconciliationOrderReportAction concode_elem_sep Statement filterStatement concode_field_sep Statement getFilterStatement concode_elem_sep void setReconciliationOrderReportAction concode_elem_sep void setF... | ReconciliationOrderReportAction function ( ) { return reconciliationOrderReportAction ; } |
34,787 | report an error . concode_field_sep Set<String> needToInvestigate concode_elem_sep Set<String> noResourceRequired concode_elem_sep Set<String> knownRequired concode_elem_sep int errors concode_field_sep boolean is_jtreg concode_elem_sep boolean hasMatch concode_elem_sep JavaFileManager.Location findJavacLocation concod... | void function ( String arg0 ) { System . err . println ( "srini_string" + arg0 ) ; errors ++ ; } |
34,788 | removes a subscriber from this bind concode_field_sep Set<Input> activeInputs concode_elem_sep boolean consumedActivation concode_elem_sep ActivateMode mode concode_elem_sep long lastActivateTime concode_elem_sep int repeatTime concode_elem_sep String displayName concode_elem_sep boolean repeating concode_elem_sep Simp... | void function ( BindButtonSubscriber arg0 ) { subscribers . remove ( arg0 ) ; } |
34,789 | return all mvcendpoints from the management context . concode_field_sep ApplicationContext applicationContext concode_field_sep void setApplicationContext concode_elem_sep ApplicationContext getApplicationContext | MvcEndpoints function ( ) { try { return getApplicationContext ( ) . getBean ( MvcEndpoints . class ) ; } catch ( Exception loc0 ) { return null ; } } |
34,790 | 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 ) ; } |
34,791 | write the exception to the cdr output stream . concode_field_sep PlaceHolder placeHolder concode_field_sep TypeMismatch extract concode_elem_sep TypeMismatch read concode_elem_sep void insert concode_elem_sep String id concode_elem_sep TypeCode type | void function ( OutputStream arg0 , TypeMismatch arg1 ) { arg0 . write_string ( id ( ) ) ; } |
34,792 | returns the milliseconds in unix time at which the subscription will expire or null foran infinite ttl . concode_field_sep Lock lock concode_elem_sep String topicId concode_elem_sep String DEFAULT_DATA_STORE_ID concode_elem_sep String clientToken concode_elem_sep UnparsedNotificationCallback notificationCallback concod... | Long function ( ) { lock . lock ( ) ; try { return expiration ; } finally { lock . unlock ( ) ; } } |
34,793 | gets the value of the documents property . concode_field_sep Tlds tlds concode_elem_sep ResourceType templateRef concode_elem_sep Documents documents concode_elem_sep Tutorials tutorials concode_field_sep void setTemplateRef concode_elem_sep Tutorials getTutorials concode_elem_sep void setTutorials concode_elem_sep Res... | Documents function ( ) { return documents ; } |
34,794 | create an instance of jaxbelement concode_field_sep QName _GetUnlockOverrideReasonsResponse_QNAME concode_elem_sep QName _GetUnlockOverrideReasonsRequest_QNAME concode_field_sep DeviceUnlockOverrideReason createDeviceUnlockOverrideReason concode_elem_sep GetUnlockOverrideReasonsRequest createGetUnlockOverrideReasonsReq... | JAXBElement < GetUnlockOverrideReasonsResponse > function ( GetUnlockOverrideReasonsResponse arg0 ) { return new JAXBElement < GetUnlockOverrideReasonsResponse > ( _GetUnlockOverrideReasonsResponse_QNAME , GetUnlockOverrideReasonsResponse . class , null , arg0 ) ; } |
34,795 | add an object to the tail of the queue . concode_field_sep Bucket head concode_elem_sep Bucket next concode_elem_sep int closed concode_elem_sep Object contents concode_elem_sep Bucket tail concode_elem_sep int count concode_elem_sep int closing concode_elem_sep int open concode_elem_sep int status concode_field_sep vo... | void function ( final Object arg0 ) { final Bucket loc0 = new Bucket ( arg0 ) ; if ( tail != null ) { tail . setNext ( loc0 ) ; tail = loc0 ; } else { head = tail = loc0 ; } count ++ ; notify ( ) ; } |
34,796 | not supported by this implement . concode_field_sep T current concode_elem_sep List<T> visited concode_elem_sep Iterator<T> source concode_elem_sep int position concode_field_sep T next concode_elem_sep void add concode_elem_sep T current concode_elem_sep void set concode_elem_sep T previous concode_elem_sep boolean ha... | void function ( ) { throw new UnsupportedOperationException ( ) ; } |
34,797 | sets the coupon codes of this shopping cart . concode_field_sep ShoppingCart _shoppingCart concode_field_sep java.lang.String getItemIds concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setInsure conc... | void function ( java . lang . String arg0 ) { _shoppingCart . setCouponCodes ( arg0 ) ; } |
34,798 | gets the value of the maxvideoadduration property . concode_field_sep String videoMidrollFrequency concode_elem_sep Long minVideoAdDuration concode_elem_sep MidrollFrequencyType videoMidrollFrequencyType concode_elem_sep String baseAdRuleSlotType concode_elem_sep Long maxPodDuration concode_elem_sep Long id concode_ele... | Long function ( ) { return maxVideoAdDuration ; } |
34,799 | returns the value to which the specified key is mapped in this map . concode_field_sep Entry table[] concode_elem_sep Entry next concode_elem_sep float loadFactor concode_elem_sep int count concode_elem_sep int threshold concode_elem_sep Object value concode_elem_sep int hash concode_elem_sep int key concode_field_sep ... | Object function ( int arg0 ) { Entry loc0 [ ] = table ; int loc1 = arg0 ; int loc2 = ( loc1 & 0x7FFFFFFF ) % loc0 . length ; for ( Entry loc3 = loc0 [ loc2 ] ; loc3 != null ; loc3 = loc3 . next ) { if ( loc3 . loc1 == loc1 ) { return loc3 . value ; } } return null ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.