idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
38,000 | http client parameters , as a map from parameter name to value . concode_field_sep String DELETE concode_elem_sep Map<String,Object> httpParameters concode_elem_sep String PUT concode_elem_sep String POST concode_elem_sep String ACCEPT_ENCODING concode_elem_sep String PARAMETER_STYLE concode_elem_sep HttpClient http co... | Map < String , Object > function ( ) { return httpParameters ; } |
38,001 | sets the spring bean id for this bean . concode_field_sep SyncDLObjectService _syncDLObjectService concode_field_sep void setWrappedService concode_elem_sep com.liferay.sync.model.SyncDLObject checkInFileEntry concode_elem_sep java.util.List<com.liferay.sync.model.SyncDLObject> getFileEntrySyncDLObjects concode_elem_se... | void function ( java . lang . String arg0 ) { _syncDLObjectService . setBeanIdentifier ( arg0 ) ; } |
38,002 | performs l2-normalization on the vector in place . if the magnitude of the vector is 0 , the values are left unchanged . concode_field_sep int CONTEXT_SIZE concode_elem_sep ConcurrentMap<String,DoubleVector> termHolographs concode_elem_sep int nextSize concode_elem_sep int[] permute1 concode_elem_sep int[] permute2 con... | void function ( DoubleVector arg0 ) { double loc0 = 0 ; for ( int loc1 = 0 ; loc1 < arg0 . length ( ) ; ++ loc1 ) loc0 += Math . pow ( arg0 . get ( loc1 ) , 2 ) ; if ( loc0 == 0 ) return ; loc0 = Math . sqrt ( loc0 ) ; for ( int loc1 = 0 ; loc1 < arg0 . length ( ) ; ++ loc1 ) arg0 . set ( loc1 , arg0 . get ( loc1 ) / l... |
38,003 | arranges the blocks in the container using a fixed height and a range for the width . concode_field_sep HorizontalAlignment horizontalAlignment concode_elem_sep double horizontalGap concode_elem_sep long serialVersionUID concode_elem_sep double verticalGap concode_elem_sep VerticalAlignment verticalAlignment concode_fi... | Size2D function ( BlockContainer arg0 , Graphics2D arg1 , RectangleConstraint arg2 ) { Size2D loc0 = arrangeNF ( arg0 , arg1 , arg2 ) ; if ( arg2 . getWidthRange ( ) . contains ( loc0 . width ) ) { return loc0 ; } else { RectangleConstraint loc1 = arg2 . toFixedWidth ( arg2 . getWidthRange ( ) . constrain ( loc0 . getW... |
38,004 | the name of the cognito stream to receive updates . this stream must be in the developers account and in the same region as the identity pool . concode_field_sep String roleArn concode_elem_sep String streamingStatus concode_elem_sep String streamName concode_field_sep CognitoStreams withStreamingStatus concode_elem_se... | void function ( String arg0 ) { this . streamName = arg0 ; } |
38,005 | check if this is the last statement , and if the single line or block comment is not finished yet . concode_field_sep int bufferEnd concode_elem_sep boolean endOfFile concode_elem_sep Reader reader concode_elem_sep int bufferStart concode_elem_sep boolean insideRemark concode_elem_sep int remarkStart concode_elem_sep c... | boolean function ( ) { return insideRemark ; } |
38,006 | gets the question . concode_field_sep Long answerId concode_elem_sep Long questionId concode_elem_sep String question concode_elem_sep String answer concode_elem_sep Integer typeID concode_elem_sep long serialVersionUID concode_field_sep void setAnswerId concode_elem_sep Long getQuestionId concode_elem_sep void setQues... | String function ( ) { return question ; } |
38,007 | gets the value of the specifikace property . concode_field_sep String specifikace concode_elem_sep TIdentifikator identifikator concode_elem_sep String plneUrcenySpisovyZnak concode_field_sep void setSpecifikace concode_elem_sep void setPlneUrcenySpisovyZnak concode_elem_sep String getPlneUrcenySpisovyZnak concode_elem... | String function ( ) { return specifikace ; } |
38,008 | test get user concode_field_sep UserServiceImpl userServiceImpl concode_elem_sep UserDao userDao concode_field_sep void testGetInvalidIdUser concode_elem_sep void testUpdateNonExistentUser concode_elem_sep void testGetUsersList concode_elem_sep void testAddNewUser concode_elem_sep void testUpdateUser concode_elem_sep v... | void function ( ) { User loc0 = new User ( ) ; loc0 . setId ( 1 ) ; EasyMock . expect ( userDao . getUser ( 1 ) ) . andReturn ( loc0 ) ; replay ( userDao ) ; User loc1 = userServiceImpl . getUser ( 1 ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; verify ( userDao ) ; } |
38,009 | gives access to the current thread context . concode_field_sep int activeThreads concode_elem_sep int numberOfThreadsStarted concode_elem_sep int numberOfThreadsFinished concode_elem_sep int startedThreads concode_elem_sep long testStart concode_elem_sep ThreadLocal<JMeterContext> threadContext concode_elem_sep int fin... | JMeterContext function ( ) { return threadContext . get ( ) ; } |
38,010 | get value concode_field_sep String displayName concode_elem_sep long serialVersionUID concode_elem_sep String name concode_elem_sep String value concode_field_sep void setName concode_elem_sep String getName concode_elem_sep String getDisplayName concode_elem_sep void setValue concode_elem_sep void setDisplayName | String function ( ) { return value ; } |
38,011 | reads the raw packet data from the data stream . concode_field_sep List<EntityDataManager.DataEntry<?>> dataManagerEntries concode_elem_sep int entityId concode_field_sep List<EntityDataManager.DataEntry<?>> getDataManagerEntries concode_elem_sep void writePacketData concode_elem_sep int getEntityId concode_elem_sep vo... | void function ( PacketBuffer arg0 ) { this . entityId = arg0 . readVarIntFromBuffer ( ) ; this . dataManagerEntries = EntityDataManager . readEntries ( arg0 ) ; } |
38,012 | returns the bundle associated with the given message id . concode_field_sep String EID concode_elem_sep Map<String,Bundle> bundles concode_elem_sep Collection<EIDHost> EID_to_host concode_elem_sep DTN2Reporter reporter concode_elem_sep DTNHost host concode_elem_sep Map<DTNHost,CLAParser> CLAs concode_elem_sep DTN2Event... | Bundle function ( String arg0 ) { return DTN2Manager . bundles . remove ( arg0 ) ; } |
38,013 | the name of the document source field to add to this indexfield . constraints : length : 1 - 64 pattern : a-z a-z0-9 _ concode_field_sep java.util.Map<String,String> cases concode_elem_sep String defaultValue concode_elem_sep String sourceName concode_field_sep void setDefaultValue concode_elem_sep SourceDataMap withSo... | String function ( ) { return sourceName ; } |
38,014 | get the bytes length of sensorvalues bytes length of sensorvalues = bytes for holding number of sensor values + number of bytes of sensorvalues concode_field_sep List<SensorValue> sSensorValues concode_field_sep void add concode_elem_sep boolean isNumOfBytsValid concode_elem_sep SensorValue[] asArray concode_elem_sep b... | int function ( ) { return ( short ) ( Constants . SHORT_SIZE + ( SensorValue . LEN * sSensorValues . size ( ) ) ) ; } |
38,015 | called whenever the osgi framework stops our bundle concode_field_sep BundleContext context concode_elem_sep Logger logger concode_field_sep void start concode_elem_sep BundleContext getContext | void function ( BundleContext arg0 ) { context = null ; logger . debug ( "srini_string" ) ; } |
38,016 | gets the build time of the project in milliseconds . concode_field_sep MavenProject project concode_elem_sep long time concode_field_sep MavenProject getProject | long function ( ) { return time ; } |
38,017 | get the content of the body without error tag concode_field_sep int MESSAGE_TYPE_INBOX concode_elem_sep long date concode_elem_sep int MESSAGE_TYPE_QUEUED concode_elem_sep String SELF concode_elem_sep Uri THREAD_URI concode_elem_sep String FIELD_BODY concode_elem_sep Uri MESSAGE_ID_URI_BASE concode_elem_sep boolean rea... | String function ( ) { int loc0 = body . indexOf ( "srini_string" ) ; if ( loc0 != - 1 ) { return body . substring ( 0 , loc0 ) ; } return body ; } |
38,018 | retrieves the dosage with given id belonging to this regimen . concode_field_sep Set<Dosage> dosages concode_elem_sep String externalId concode_elem_sep Long id concode_elem_sep DailyScheduleDetails scheduleDetails concode_field_sep void setDosages concode_elem_sep DailyScheduleDetails getScheduleDetails concode_elem_s... | Dosage function ( Long arg0 ) { for ( Dosage loc0 : dosages ) { if ( loc0 . getId ( ) . equals ( arg0 ) ) { return loc0 ; } } return null ; } |
38,019 | specify the http server 's tcp backlog . default is -1 , indicating the system 's default value . concode_field_sep HttpServer server concode_elem_sep String hostname concode_elem_sep Log logger concode_elem_sep int backlog concode_elem_sep Executor executor concode_elem_sep int shutdownDelay concode_elem_sep Map<Strin... | void function ( int arg0 ) { this . backlog = arg0 ; } |
38,020 | sets the modified date of this message boards discussion . concode_field_sep MBDiscussion _mbDiscussion concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupI... | void function ( Date arg0 ) { _mbDiscussion . setModifiedDate ( arg0 ) ; } |
38,021 | sets description . concode_field_sep String createdDate concode_elem_sep String itemBarcode concode_elem_sep String patronBarcode concode_elem_sep Description description concode_elem_sep Integer id concode_elem_sep Object updatedDate concode_elem_sep String owningInstitutionId concode_elem_sep String trackingId concod... | void function ( Description arg0 ) { this . description = arg0 ; } |
38,022 | returns the display name for this grantee . concode_field_sep String id concode_elem_sep String displayName concode_field_sep void setIdentifier concode_elem_sep String getIdentifier concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String getTypeIdentifier concode_elem_sep void setDisplayN... | String function ( ) { return this . displayName ; } |
38,023 | enters a new lexical state concode_field_sep int ZZ_NO_MATCH concode_elem_sep CharSequence zzBuffer concode_elem_sep int ZZ_UNKNOWN_ERROR concode_elem_sep int ZZ_PUSHBACK_2BIG concode_elem_sep String ZZ_ROWMAP_PACKED_0 concode_elem_sep int ZZ_LEXSTATE[] concode_elem_sep String ZZ_ATTRIBUTE_PACKED_0 concode_elem_sep int... | void function ( int arg0 ) { zzLexicalState = arg0 ; } |
38,024 | removes the provider with the specified name form the collectionof providers . if the the provider with the specified name isremoved , all provider at a greater position are shifted down one position . returns silently if name is null or no provider with thespecified name is installed . concode_field_sep Properties sec... | void function ( String arg0 ) { Provider loc0 ; if ( ( arg0 == null ) || ( arg0 . length ( ) == 0 ) ) { return ; } loc0 = getProvider ( arg0 ) ; if ( loc0 == null ) { return ; } Services . removeProvider ( loc0 . getProviderNumber ( ) ) ; renumProviders ( ) ; loc0 . setProviderNumber ( - 1 ) ; } |
38,025 | sets the userid concode_field_sep int loginTimeout concode_elem_sep PrintWriter logWriter concode_elem_sep String user concode_elem_sep String database concode_elem_sep String password concode_field_sep Connection getConnection concode_elem_sep Connection getConnection concode_elem_sep void setPassword concode_elem_sep... | void function ( String arg0 ) { this . user = arg0 ; } |
38,026 | unlink a node from a linked list and link into the reclaimed list . concode_field_sep int[] hashTable concode_elem_sep boolean fixedSize concode_elem_sep int newNodePointer concode_elem_sep boolean modified concode_elem_sep int elementCount concode_elem_sep int[] linkTable concode_elem_sep int reclaimedNodePointer conc... | void function ( int arg0 , int arg1 , int arg2 ) { if ( arg1 == - 1 ) { hashTable [ arg0 ] = linkTable [ arg2 ] ; } else { linkTable [ arg1 ] = linkTable [ arg2 ] ; } linkTable [ arg2 ] = reclaimedNodePointer ; reclaimedNodePointer = arg2 ; elementCount -- ; } |
38,027 | get name 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 void setReference concode_elem_sep int hashCode concode_elem_sep boolean equals ... | String function ( ) { return name ; } |
38,028 | indicates whether the specified data flavor is supported for this data . concode_field_sep CommandMap currentCommandMap concode_elem_sep String objectMimeType concode_elem_sep String shortType concode_elem_sep DataContentHandler dch concode_elem_sep String mimeType concode_elem_sep DataContentHandler dataContentHandler... | boolean function ( DataFlavor arg0 ) { DataFlavor [ ] loc0 = getTransferDataFlavors ( ) ; for ( int loc1 = 0 ; loc1 < loc0 . length ; loc1 ++ ) { if ( loc0 [ loc1 ] . equals ( arg0 ) ) { return true ; } } return false ; } |
38,029 | get last successful authentication method concode_field_sep THashMap<String,String> myLastSuccessful concode_elem_sep Map<String,String> myLastSuccessful concode_field_sep void loadState concode_elem_sep String getLastSuccessful concode_elem_sep Map<String,String> getLastSuccessful concode_elem_sep State getState conco... | void function ( String arg0 , String arg1 ) { if ( null == arg1 || arg1 . length ( ) == 0 ) { myLastSuccessful . remove ( arg0 ) ; } else { myLastSuccessful . put ( arg0 , arg1 ) ; } } |
38,030 | return true if the propname is a valid value of the css3 transform property . concode_field_sep RegExp transformParseRegex concode_elem_sep String TRANSFORM concode_elem_sep RegExp transform3dRegex concode_elem_sep RegExp translatePropRegex concode_elem_sep Style divStyle concode_elem_sep String transformOrigin concode... | boolean function ( String arg0 ) { return transformRegex . test ( arg0 ) ; } |
38,031 | sets the priority of a property value . concode_field_sep short BOX_RELATIVE_MASK concode_elem_sep short NON_CSS_ORIGIN concode_elem_sep short BLOCK_HEIGHT_RELATIVE_MASK concode_elem_sep short USER_ORIGIN concode_elem_sep short INLINE_AUTHOR_ORIGIN concode_elem_sep short OVERRIDE_ORIGIN concode_elem_sep short PARENT_RE... | void function ( int arg0 , boolean arg1 ) { if ( arg1 ) masks [ arg0 ] |= IMPORTANT_MASK ; else masks [ arg0 ] &= ~ IMPORTANT_MASK ; } |
38,032 | return a guid for a given uuid . concode_field_sep Pattern GUID_FORMAT concode_elem_sep String value concode_field_sep Guid randomGuid concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep Guid fromString | Guid function ( UUID arg0 ) { return new Guid ( arg0 . toString ( ) ) ; } |
38,033 | the parameter objects used in the pipeline definition . concode_field_sep com.amazonaws.internal.SdkInternalList<PipelineObject> pipelineObjects concode_elem_sep com.amazonaws.internal.SdkInternalList<ParameterObject> parameterObjects concode_elem_sep com.amazonaws.internal.SdkInternalList<ParameterValue> parameterValu... | java . util . List < ParameterObject > function ( ) { if ( parameterObjects == null ) { parameterObjects = new com . amazonaws . internal . SdkInternalList < ParameterObject > ( ) ; } return parameterObjects ; } |
38,034 | sets the old controller to be reused if possible . concode_field_sep boolean mTryCacheOnlyFirst concode_elem_sep Object mCallerContext concode_elem_sep boolean mAutoPlayAnimations concode_elem_sep DraweeController mOldController concode_elem_sep AtomicLong sIdCounter concode_elem_sep boolean mTapToRetryEnabled concode_... | BUILDER function ( @ Nullable DraweeController arg0 ) { mOldController = arg0 ; return getThis ( ) ; } |
38,035 | get the execution start time . concode_field_sep Logger logger concode_elem_sep long startTime concode_elem_sep ClientExecutorEngine clientExecutorEngine concode_field_sep void init concode_elem_sep void initDrillConnector concode_elem_sep void printExecutionTime | long function ( ) { return startTime ; } |
38,036 | displays the node 's data in the indicated range inclusively with line numbers concode_field_sep Node rear concode_elem_sep int size concode_elem_sep Node front concode_field_sep void add concode_elem_sep void add concode_elem_sep Node getFront concode_elem_sep int size concode_elem_sep String get concode_elem_sep bool... | void function ( int arg0 , int arg1 ) { Node loc0 = front ; int loc1 = 1 ; while ( loc0 . getData ( ) != get ( arg0 ) ) { loc0 = loc0 . getNext ( ) ; } while ( arg0 <= arg1 ) { loc0 = loc0 . getNext ( ) ; arg0 ++ ; loc1 ++ ; System . out . println ( "srini_string" + loc1 + loc0 . getData ( ) ) ; } System . out . printl... |
38,037 | is this os the given platform . uses os.name from the system properties to determine the os . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | boolean function ( String arg0 ) { String loc0 = System . getProperty ( "srini_string" ) . toLowerCase ( Locale . US ) ; return loc0 . indexOf ( arg0 . toLowerCase ( Locale . US ) ) > - 1 ; } |
38,038 | setter for property ` version ' . concode_field_sep String groupId concode_elem_sep String property concode_elem_sep String artifactId concode_elem_sep String version concode_elem_sep Boolean allowSnapshots concode_field_sep String getVersion concode_elem_sep void setArtifactId concode_elem_sep void setGroupId concode_... | void function ( String arg0 ) { this . version = arg0 ; } |
38,039 | old files will be renamed to . backup after a successful conversion . to delete them after the conversion , use this method with the parameter ` true ' . concode_field_sep boolean UPGRADE_CLASSES_PRESENT concode_elem_sep boolean scriptInTempDir concode_elem_sep boolean deleteOldDb concode_field_sep void setScriptInTemp... | void function ( boolean arg0 ) { DbUpgrade . arg0 = arg0 ; } |
38,040 | called whenever the osgi framework starts our bundle concode_field_sep Logger logger concode_elem_sep BundleContext context concode_field_sep void stop concode_elem_sep BundleContext getContext | void function ( BundleContext arg0 ) { context = arg0 ; logger . debug ( "srini_string" ) ; } |
38,041 | return a string representation of one char class concode_field_sep char maxCharUsed concode_elem_sep Vector classes concode_elem_sep boolean DEBUG concode_elem_sep char maxChar concode_field_sep char getMaxCharCode concode_elem_sep int[] getNotClassCodes concode_elem_sep void setMaxCharCode concode_elem_sep int[] getCl... | String function ( int arg0 ) { return classes . elementAt ( arg0 ) . toString ( ) ; } |
38,042 | stops safemode container cleanly if it exists . call this method before #stoplevel234containers and #stoplevel1container to avoid duplicateattempt to stop safemode container components since calling stop on a container calls stops on its children too , see componentcontainer #stopcomponents . concode_field_sep Platform... | void function ( ) { if ( levelSafeMode != null ) { levelSafeMode . stop ( ) ; levelSafeMode = null ; } } |
38,043 | load and instantiate all service implementations . concode_field_sep Pattern LEGAL_JAVA_NAME concode_elem_sep String META_INF_SERVICES concode_field_sep S createInstance concode_elem_sep Collection<Class<? extends S>> loadServiceClasses concode_elem_sep Class<? extends S> loadClass concode_elem_sep ClassLoader getClass... | Collection < S > function ( Class < S > arg0 ) { Collection < Class < ? extends S >> loc0 = loadServiceClasses ( arg0 ) ; List < S > loc1 = new ArrayList < S > ( ) ; for ( Class < ? extends S > loc2 : loc0 ) { loc1 . add ( createInstance ( loc2 ) ) ; } return loc1 ; } |
38,044 | creates a statechart with an initial region and an initial state concode_field_sep int INITIAL_TEXT_COMPARTMENT_X concode_elem_sep String INITIAL_REGION_NAME concode_elem_sep int INITIAL_REGION_WIDTH concode_elem_sep int SPACING concode_elem_sep int INITIAL_REGION_HEIGHT concode_elem_sep int INITIAL_TEXT_COMPARTMENT_WI... | void function ( Resource arg0 ) { createStatechartModel ( arg0 , DiagramActivator . DIAGRAM_PREFERENCES_HINT ) ; } |
38,045 | deletes the f a q category question from the database . also notifies the appropriate model listeners . concode_field_sep FAQCategoryQuestionLocalService _faqCategoryQuestionLocalService concode_field_sep void setWrappedService concode_elem_sep java.util.List getAll concode_elem_sep void deleteByQuestionId concode_elem... | void function ( com . vportal . portlet . vfaq . model . FAQCategoryQuestion arg0 ) { _faqCategoryQuestionLocalService . deleteFAQCategoryQuestion ( arg0 ) ; } |
38,046 | truncates the blob value that this blob object represents to be len bytes in length . concode_field_sep BlobDataID blob concode_elem_sep boolean isClosed concode_elem_sep SessionInterface session concode_elem_sep BlobDataID originalBlob concode_elem_sep int colIndex concode_elem_sep boolean isWritable concode_elem_sep ... | void function ( long arg0 ) { try { blob . truncate ( session , arg0 ) ; } catch ( HsqlException loc0 ) { throw JDBCUtil . sqlException ( loc0 ) ; } } |
38,047 | returns a singleton pcollectionlist containing the given pcollection . longer pcollectionlists can be created by calling #and on the result . concode_field_sep Pipeline pipeline concode_elem_sep List<PCollection<T>> pcollections concode_field_sep Collection<? extends PValue> expand concode_elem_sep List<PCollection<T>>... | PCollectionList < T > function ( PCollection < T > arg0 ) { return new PCollectionList < T > ( arg0 . getPipeline ( ) ) . and ( arg0 ) ; } |
38,048 | gets the icon of this instance . in pdstore every instance can be given an icon . concode_field_sep GUID roleTypeId concode_elem_sep GUID typeId concode_elem_sep PDStore store concode_elem_sep GUID id concode_elem_sep GUID rolePrintAfterId concode_elem_sep GUID rolePrintBeforeId concode_field_sep void setName concode_e... | Blob function ( ) { return store . getIcon ( id ) ; } |
38,049 | create an instance of experimentreflist concode_field_sep QName _EntrySet_QNAME concode_field_sep ConfidenceBase createConfidenceBase concode_elem_sep OpenCvType createOpenCvType concode_elem_sep FullName createFullName concode_elem_sep DbReference createDbReference concode_elem_sep ExperimentalInteractorList createExp... | ExperimentRefList function ( ) { return new ExperimentRefList ( ) ; } |
38,050 | edits an expression for explicit type casting overridable . the default implementation performs nothing . concode_field_sep NewOp next concode_elem_sep int maxLocals concode_elem_sep int pos concode_elem_sep NewOp newList concode_elem_sep String type concode_elem_sep int maxStack concode_field_sep boolean loopBody conc... | void function ( org . hotswap . agent . javassist . expr . Cast arg0 ) { } |
38,051 | test for the entry being a file that is treated as if it is a directory concode_field_sep String READ concode_field_sep boolean isRootDir concode_elem_sep void debugEx concode_elem_sep void trace concode_elem_sep String partitionFilenameFromNumber concode_elem_sep void debug concode_elem_sep String joinPaths concode_el... | boolean function ( FileStatus arg0 ) { return arg0 . getLen ( ) == 0 ; } |
38,052 | find a filter given a lookup string concode_field_sep Filter deft concode_elem_sep Logger log concode_elem_sep Map filters concode_field_sep Filter getFilter concode_elem_sep void addFilter | Filter function ( ) { return ( Filter ) deft . clone ( ) ; } |
38,053 | add properties from the given map to the existing marshaller properties . concode_field_sep Map<String,Object> marshallerProperties concode_elem_sep Map<String,Object> unmarshallerProperties concode_field_sep ContextResolver<MoxyJsonConfig> resolver concode_elem_sep MoxyJsonConfig setNamespacePrefixMapper concode_elem_... | MoxyJsonConfig function ( final Map < String , Object > arg0 ) { this . marshallerProperties . putAll ( arg0 ) ; return this ; } |
38,054 | test of setclocktime method , of class defaultclocktime . concode_field_sep ClockTime clockTime1 concode_elem_sep ClockTime clockTime2 concode_field_sep void testGetClockTime concode_elem_sep void testToString concode_elem_sep void setUp concode_elem_sep void testHashCode concode_elem_sep void tearDown concode_elem_sep... | void function ( ) { Number [ ] loc0 = clockTime1 . getClockTime ( ) ; Number [ ] loc1 = { 14 , 15 , 0 } ; ( ( DefaultClockTime ) clockTime1 ) . setClockTime ( loc1 ) ; assertFalse ( clockTime1 . getClockTime ( ) . equals ( loc0 ) ) ; } |
38,055 | starts the timer . concode_field_sep long start concode_field_sep long duration | NanoStopWatch function ( ) { start = System . nanoTime ( ) ; return this ; } |
38,056 | set the progress as indeterminate concode_field_sep LinkedList<Job> jobs concode_field_sep void add concode_elem_sep void setRange concode_elem_sep void setProgress concode_elem_sep void run | void function ( ) { } |
38,057 | returns the number of rows matching the dynamic query . concode_field_sep SyncDLFileVersionDiffLocalService _syncDLFileVersionDiffLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.sync.model.SyncDLFileVersionDiff addSyncDLFileVersionDiff concode_elem_sep com.liferay.s... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return _syncDLFileVersionDiffLocalService . dynamicQueryCount ( arg0 ) ; } |
38,058 | a container invokes this method when the instance is taken out of the pool of available instances to become associated with a specific ejb object . this method transitions the instance to the ready state . concode_field_sep EntityContext ejbContext concode_elem_sep Map<String,OperationsPolicy> allowedOperationsTable co... | void function ( ) { testAllowedOperations ( "srini_string" ) ; } |
38,059 | gets the y coordinate where the next line will be written . concode_field_sep Float curCharSpace concode_elem_sep float leading concode_elem_sep int NO_MORE_COLUMN concode_elem_sep int alignment concode_elem_sep String splittedChunkText concode_elem_sep int NO_MORE_TEXT concode_elem_sep PdfChunk currentStandbyChunk con... | float function ( ) { return startY ; } |
38,060 | get the system property concode_field_sep PlaceHolder placeHolder concode_field_sep void ensure | String function ( final String arg0 , final String arg1 ) { return SecurityActions . getSystemProperty ( arg0 , arg1 ) ; } |
38,061 | gets the value of the documentation property . concode_field_sep SourceCode sourceCode concode_elem_sep ResourceType templateRef concode_elem_sep Documentation documentation concode_elem_sep String id concode_elem_sep String title concode_elem_sep Example example concode_field_sep void setTemplateRef concode_elem_sep S... | Documentation function ( ) { return documentation ; } |
38,062 | logs the given message instance using the ` debug ' level concode_field_sep Level ERROR concode_elem_sep Level WARN concode_elem_sep Logger jdkLogger concode_elem_sep Level TRACE concode_elem_sep Level DEBUG concode_elem_sep Level FATAL concode_elem_sep Level INFO concode_field_sep boolean isWarnEnabled concode_elem_se... | void function ( Object arg0 ) { logInternal ( DEBUG , arg0 , null ) ; } |
38,063 | returns a string using the date passed on argument and the default format concode_field_sep DateFormat DTF concode_elem_sep DateFormat DF concode_field_sep Date dateTimeFromString concode_elem_sep String stringFromDateTime concode_elem_sep Date dateFromString | String function ( final Date arg0 ) { checkNotNull ( "srini_string" , arg0 ) ; return DF . format ( arg0 ) ; } |
38,064 | sets the character encoding used by this handler , null indicatesa default encoding . concode_field_sep Level DEFAULT_LEVEL concode_elem_sep Formatter formatter concode_elem_sep Filter filter concode_elem_sep ErrorManager errorMan concode_elem_sep Level level concode_elem_sep String prefix concode_elem_sep String encod... | void function ( String arg0 ) { LogManager . getLogManager ( ) . checkAccess ( ) ; internalSetEncoding ( arg0 ) ; } |
38,065 | setter for the field manager . concode_field_sep Manager manager concode_elem_sep ThreadCategory log concode_field_sep Manager getManager concode_elem_sep ModelAndView handleRequest | void function ( Manager arg0 ) { this . manager = arg0 ; } |
38,066 | converts the byte to a float between 0 and 1 concode_field_sep PlaceHolder placeHolder concode_field_sep ImageData convertToSWT concode_elem_sep void render concode_elem_sep Image render | float function ( int arg0 ) { return ( float ) Math . round ( ( double ) arg0 / 255d ) ; } |
38,067 | uninitializes the program function . concode_field_sep int EXISTS concode_elem_sep int CRITICAL concode_elem_sep int WARNING concode_elem_sep int FAILURE concode_elem_sep String[] args concode_elem_sep DhcpCliFunction function concode_elem_sep int SUCCESS concode_elem_sep DhcpCliOptions options concode_elem_sep int ENO... | void function ( ) { function = null ; } |
38,068 | do any escaping of the value in order to preserve it during thetranslation . concode_field_sep PlaceHolder placeHolder concode_field_sep TCriteria toThrift concode_elem_sep TSymbol toThrift concode_elem_sep Symbol fromThrift | String function ( String arg0 ) { if ( arg0 . matches ( "srini_string" ) ) { return "srini_string" = "srini_string" ; } else { return arg0 ; } } |
38,069 | to get the int value concode_field_sep int numberOfRows concode_field_sep long getLong concode_elem_sep byte getByte concode_elem_sep short getShort concode_elem_sep double getDouble concode_elem_sep BigDecimal getBigDecimal concode_elem_sep void freeMemory | int function ( int arg0 ) { throw new UnsupportedOperationException ( "srini_string" ) ; } |
38,070 | returns the singleton instance of the config factory . concode_field_sep ConfigFactory factory concode_elem_sep ConfigStorage userStorage concode_elem_sep ConfigStorage systemStorage concode_elem_sep String CONFIG_TARGET_KEY concode_field_sep ConfigStorage getUserStorage concode_elem_sep void defineSystemStorage concod... | ConfigFactory function ( ) { if ( factory == null ) { factory = new ConfigFactory ( ) ; factory . defineSystemStorage ( new NullConfigStorage ( ) ) ; factory . defineUserStorage ( new NullConfigStorage ( ) ) ; } return factory ; } |
38,071 | finds and returns the specified resource bundle . concode_field_sep URLClassLoader noCodeBaseClassLoader concode_field_sep void removeCodeBase | ResourceBundle function ( String arg0 , Locale arg1 ) { if ( noCodeBaseClassLoader != null ) { return ResourceBundle . getBundle ( arg0 , arg1 , noCodeBaseClassLoader ) ; } else { return ResourceBundle . getBundle ( arg0 , arg1 ) ; } } |
38,072 | the summary information for the requested trusted advisor checks . concode_field_sep com.amazonaws.internal.SdkInternalList<TrustedAdvisorCheckSummary> summaries concode_field_sep java.util.List<TrustedAdvisorCheckSummary> getSummaries concode_elem_sep int hashCode concode_elem_sep DescribeTrustedAdvisorCheckSummariesR... | void function ( java . util . Collection < TrustedAdvisorCheckSummary > arg0 ) { if ( arg0 == null ) { this . summaries = null ; return ; } this . summaries = new com . amazonaws . internal . SdkInternalList < TrustedAdvisorCheckSummary > ( arg0 ) ; } |
38,073 | returns the type of this file , one of file , link , sym_link , char_device , block_device , directory or fifo . concode_field_sep long mode concode_elem_sep int filepos concode_elem_sep int DIRECTORY concode_elem_sep long size concode_elem_sep String name concode_elem_sep long time concode_elem_sep int type concode_el... | int function ( ) { return type ; } |
38,074 | sets the class p k of this password policy rel . concode_field_sep PasswordPolicyRel _passwordPolicyRel concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isCachedModel concode_elem_sep com.liferay.portlet.expando.model... | void function ( long arg0 ) { _passwordPolicyRel . setClassPK ( arg0 ) ; } |
38,075 | the starting point for the next page of results . to view the next page of results , call describeobjects again with this marker value . if the value is null , there are no more results . concode_field_sep Boolean hasMoreResults concode_elem_sep com.amazonaws.internal.SdkInternalList<PipelineObject> pipelineObjects con... | DescribeObjectsResult function ( String arg0 ) { setMarker ( arg0 ) ; return this ; } |
38,076 | generate a sequence of strings where each string is the given string concatenated to itself n-times . concode_field_sep PlaceHolder placeHolder concode_field_sep String[] randomNumbers concode_elem_sep String[] randomStrings concode_elem_sep String combinedStrings | String [ ] function ( final int arg0 , String arg1 ) { final String [ ] loc0 = new String [ 100 ] ; loc0 [ 0 ] = arg1 ; for ( int loc1 = 1 ; loc1 < loc0 . length ; loc1 ++ ) { loc0 [ loc1 ] = loc0 [ loc1 - 1 ] + arg1 ; } return loc0 ; } |
38,077 | decodes a string where each char of the string represents an ascii ' 0 ' or ' 1 ' . concode_field_sep char[] EMPTY_CHAR_ARRAY concode_elem_sep byte[] EMPTY_BYTE_ARRAY concode_elem_sep int BIT_2 concode_elem_sep int BIT_3 concode_elem_sep int BIT_6 concode_elem_sep int BIT_4 concode_elem_sep int BIT_5 concode_elem_sep i... | byte [ ] function ( String arg0 ) { if ( arg0 == null ) { return EMPTY_BYTE_ARRAY ; } return fromAscii ( arg0 . toCharArray ( ) ) ; } |
38,078 | constructs the message-id header . the form is '' <postid.topicid.forumid.randomnumber@jforum> '' . concode_field_sep int topicId concode_elem_sep Random random concode_field_sep int getTopicId concode_elem_sep MessageId parse concode_elem_sep String buildInReplyTo | String function ( int arg0 , int arg1 , int arg2 ) { return new StringBuffer ( ) . append ( '<' ) . append ( arg0 ) . append ( '.' ) . append ( arg1 ) . append ( '.' ) . append ( arg2 ) . append ( '.' ) . append ( System . currentTimeMillis ( ) ) . append ( random . nextInt ( 999999999 ) ) . append ( "srini_string" ) .... |
38,079 | creates a resizable arraylist instance containing the givenelements . note : due to a bug in javac 1.5.0 _ 06 , we can not support the following : list list = lists.newarraylist sub1 , sub2 ; where sub1 and sub2 are references to subtypes of base , not of base itself . to get around this , you mustuse : list list = lis... | ArrayList < E > function ( E ... arg0 ) { int loc0 = ( arg0 . length * 110 ) / 100 + 5 ; ArrayList < E > loc1 = new ArrayList < E > ( loc0 ) ; Collections . addAll ( loc1 , arg0 ) ; return loc1 ; } |
38,080 | true if the global filter should be treated as a regular expression for advanced filtering , false if not . concode_field_sep Boolean[] bSearchableCol concode_elem_sep Integer iSortingCols concode_elem_sep Boolean bRegex concode_elem_sep Integer iDisplayLength concode_elem_sep String[] sSearchCol concode_elem_sep Boole... | Boolean function ( ) { return bRegex ; } |
38,081 | sets whether this serviceinfo is registered . concode_field_sep ServiceType serviceType concode_elem_sep long registrationTime concode_elem_sep long DEREGISTERED concode_elem_sep ServiceURL serviceURL concode_elem_sep Attributes attributes concode_elem_sep String language concode_elem_sep Scopes scopes concode_elem_sep... | void function ( boolean arg0 ) { registrationTime = arg0 ? System . currentTimeMillis ( ) : DEREGISTERED ; } |
38,082 | returns the number of rows matching the dynamic query . concode_field_sep DDMStructureVersionLocalService _ddmStructureVersionLocalService concode_field_sep int getStructureVersionsCount concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void setWrappedService concode_elem_sep com.liferay.porta... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , com . liferay . portal . kernel . dao . orm . Projection arg1 ) { return _ddmStructureVersionLocalService . dynamicQueryCount ( arg0 , arg1 ) ; } |
38,083 | serialize an instance , restore it , and check for equality . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testHashcode concode_elem_sep void testEquals | void function ( ) { Vector loc0 = new Vector ( 1.0 , 2.0 ) ; Vector loc1 = ( Vector ) TestUtilities . serialised ( loc0 ) ; assertEquals ( loc0 , loc1 ) ; } |
38,084 | encode a signed long using zig zag varint encoding . concode_field_sep PlaceHolder placeHolder concode_field_sep byte[] encodeSignedLong concode_elem_sep long decodeSignedLong concode_elem_sep long decodeSignedLong concode_elem_sep long decodeSignedLong concode_elem_sep int encodeUnsignedLongInBuf concode_elem_sep byte... | int function ( long arg0 , byte [ ] arg1 ) { arg0 = ( arg0 << 1 ) ^ ( arg0 >> 63 ) ; return encodeUnsignedLongInBuf ( arg0 , arg1 ) ; } |
38,085 | returns the number of values that have been evicted . 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 concode_fie... | int function ( ) { return evictionCount ; } |
38,086 | set the coefficient of restitution . concode_field_sep World world concode_elem_sep short[] tmp concode_elem_sep Filter filter concode_elem_sep Body body concode_elem_sep long addr concode_field_sep float getRestitution concode_elem_sep World getWorld concode_elem_sep float jniGetRestitution concode_elem_sep boolean te... | void function ( float arg0 ) { jniSetRestitution ( addr , arg0 ) ; } |
38,087 | create a dn database key from an entry dn . concode_field_sep byte FORMAT_VERSION concode_elem_sep byte TAG_DATABASE_ENTRY concode_elem_sep DebugTracer TRACER concode_elem_sep byte TAG_DIRECTORY_SERVER_ENTRY concode_field_sep long entryIDFromDatabase concode_elem_sep byte[] entryIDToDatabase concode_elem_sep byte[] ent... | byte [ ] function ( DN arg0 , int arg1 ) { StringBuilder loc0 = new StringBuilder ( ) ; for ( int loc1 = arg0 . getNumComponents ( ) - arg1 - 1 ; loc1 >= 0 ; loc1 -- ) { loc0 . append ( ' ' ) ; formatRDNKey ( arg0 . getRDN ( loc1 ) , loc0 ) ; } return StaticUtils . getBytes ( loc0 . toString ( ) ) ; } |
38,088 | the expiration date and time for the saml provider . concode_field_sep java.util.Date validUntil concode_elem_sep String arn concode_elem_sep java.util.Date createDate concode_field_sep SAMLProviderListEntry withArn concode_elem_sep SAMLProviderListEntry withValidUntil concode_elem_sep void setValidUntil concode_elem_s... | java . util . Date function ( ) { return this . validUntil ; } |
38,089 | getting number . concode_field_sep int number concode_elem_sep Logger log concode_elem_sep String passivatedBy concode_elem_sep String actIfIsNode concode_elem_sep int postActivateCalled concode_elem_sep int prePassivateCalled concode_field_sep void ejbCreate concode_elem_sep void setPassivationNode concode_elem_sep vo... | int function ( ) { return number ; } |
38,090 | gets the id value for this userlistconversiontype . concode_field_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String name concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.Long id concode_elem_sep com.google.api.ads.adwords.axis.v201502.rm.UserListConversionTypeCategory category concod... | java . lang . Long function ( ) { return id ; } |
38,091 | gets the value of the role property . concode_field_sep String role concode_elem_sep String arcrole concode_elem_sep ShowType show concode_elem_sep ActuateType actuate concode_elem_sep String href concode_elem_sep TypeType type concode_elem_sep String title concode_field_sep String getHref concode_elem_sep void setHref... | String function ( ) { return role ; } |
38,092 | sets a wordtag from decoding the string passed in . the string is divided according to the divider character usually , '' / '' . we assume that we can always just divide on the rightmost divider character , rather than trying to parse up escape sequences . if the divider character is n't found in the word , then the wh... | void function ( String arg0 ) { setFromString ( arg0 , DIVIDER ) ; } |
38,093 | set list of channels to auto join after connect concode_field_sep String charset concode_elem_sep String selected concode_elem_sep ArrayList<String> connectCommands concode_elem_sep String title concode_elem_sep ArrayList<String> autoJoinChannels concode_elem_sep int status concode_elem_sep String password concode_elem... | void function ( ArrayList < String > arg0 ) { this . autoJoinChannels = arg0 ; } |
38,094 | sets the number of positive instances predicted as positive concode_field_sep double m_TruePos concode_elem_sep double m_TrueNeg concode_elem_sep double m_FalseNeg concode_elem_sep double m_FalsePos concode_elem_sep String[] CATEGORY_NAMES concode_field_sep void setTrueNegative concode_elem_sep void setFalseNegative co... | void function ( double arg0 ) { m_TruePos = arg0 ; } |
38,095 | sets the name of the object to be presented in most renderers across the program . concode_field_sep Font myFont concode_elem_sep String myTooltip concode_elem_sep TextAttributesKey myAttributesKey concode_elem_sep String myLocationString concode_elem_sep boolean mySeparatorAbove concode_elem_sep String myLocationPrefi... | void function ( String arg0 ) { myPresentableText = arg0 ; } |
38,096 | silent cleanup . concode_field_sep BufferedReader reader concode_elem_sep String segment concode_elem_sep String DASH_COMMENT concode_elem_sep String SLASH_COMMENT concode_elem_sep String SEMI concode_field_sep Object next concode_elem_sep void setValue concode_elem_sep boolean hasNext concode_elem_sep int nextInt conc... | void function ( ) { if ( this . reader != null ) { try { this . reader . close ( ) ; } catch ( Exception loc0 ) { } } this . reader = null ; } |
38,097 | getter for unit concode_field_sep String preferredPrefix concode_elem_sep String unit concode_elem_sep String nameSpace concode_elem_sep Double value concode_field_sep String toXMLString concode_elem_sep Double getValue concode_elem_sep boolean isWhitespaceNode concode_elem_sep void setUnit concode_elem_sep void setVal... | String function ( ) { return unit ; } |
38,098 | returns the stop order type . concode_field_sep BigDecimal trailingAmount concode_elem_sep String market concode_elem_sep long date concode_elem_sep BigDecimal stopPrice concode_elem_sep BigDecimal amount concode_elem_sep Integer orderId concode_elem_sep BigDecimal price concode_elem_sep int id concode_elem_sep String ... | String function ( ) { return type ; } |
38,099 | return the name of this node . concode_field_sep String name concode_elem_sep HashMap<String,String> attributes concode_elem_sep TreeNode parent concode_elem_sep String body concode_elem_sep ArrayList<TreeNode> children concode_field_sep TreeNode findChild concode_elem_sep String findAttribute concode_elem_sep void add... | String function ( ) { return ( this . name ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.