idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
31,000 | returns the statusline from the origin httpresponse . concode_field_sep Map<String,String> variantMap concode_elem_sep StatusLine statusLine concode_elem_sep HeaderGroup responseHeaders concode_elem_sep Resource resource concode_elem_sep Date requestDate concode_elem_sep long serialVersionUID concode_elem_sep Date resp... | StatusLine function ( ) { return this . statusLine ; } |
31,001 | gets the radius concode_field_sep int posX concode_elem_sep int posY concode_elem_sep int diameter concode_elem_sep int[] x concode_elem_sep int[] y concode_elem_sep int radius concode_field_sep int getDiameter concode_elem_sep int calculateY concode_elem_sep int calculateX concode_elem_sep void setTriangleX concode_el... | int function ( ) { return radius ; } |
31,002 | get the friction . concode_field_sep World world concode_elem_sep WorldManifold worldManifold concode_elem_sep long addr concode_elem_sep float[] tmp concode_field_sep boolean jniIsTouching concode_elem_sep float getRestitution concode_elem_sep float jniGetRestitution concode_elem_sep void jniSetEnabled concode_elem_se... | float function ( ) { return jniGetFriction ( addr ) ; } |
31,003 | return the result as a long . this is used by aggregation scripts over long fields . concode_field_sep SearchLookup lookup concode_elem_sep LeafSearchLookup leafLookup concode_elem_sep Scorer scorer concode_elem_sep ScriptContext<Factory> CONTEXT concode_elem_sep ScriptContext<Factory> AGGS_CONTEXT concode_elem_sep Lea... | long function ( ) { throw new UnsupportedOperationException ( "srini_string" ) ; } |
31,004 | compares this version with an other version object . this method performs the same comparaison than #compareto version , int with no limit . concode_field_sep Pattern PATTERN concode_elem_sep String[] components concode_elem_sep int hashCode concode_elem_sep Comparable<?>[] parsed concode_elem_sep String version concod... | int function ( final Version arg0 ) { return compareTo ( arg0 , Integer . MAX_VALUE ) ; } |
31,005 | save song uri in sharedpreferance concode_field_sep Utility ourInstance concode_elem_sep MediaPlayer mediaPlayer concode_field_sep MediaPlayer startSong concode_elem_sep void stopSong concode_elem_sep SharedPreferences getSharedPreference concode_elem_sep Utility getInstance | void function ( String arg0 , Context arg1 , String arg2 ) { SharedPreferences loc0 = getSharedPreference ( arg1 ) ; SharedPreferences . Editor loc1 = loc0 . edit ( ) ; loc1 . putString ( arg2 , arg0 ) ; loc1 . commit ( ) ; } |
31,006 | returns a hash code for the object . concode_field_sep Class className concode_elem_sep HashMap parameterDefs concode_elem_sep HashMap parameters concode_elem_sep Configuration config concode_field_sep ObjectDescription getUnconfiguredInstance concode_elem_sep Class getObjectClass concode_elem_sep Iterator getDefinedPa... | int function ( ) { return this . className . hashCode ( ) ; } |
31,007 | user can change implementation of this method to handle some specific situations not covered by default logic . concode_field_sep String DEBUG_KEY concode_elem_sep DiagramStructure TYPED_INSTANCE concode_field_sep boolean checkNodeVisualID concode_elem_sep boolean checkNodeVisualID concode_elem_sep String getModelID co... | boolean function ( edu . toronto . cs . se . modelepedia . statemachine_mavo . StateMachine arg0 ) { return true ; } |
31,008 | the default implementation of this icontributionitem method does nothing . subclasses may override . concode_field_sep IContributionManager parent concode_elem_sep boolean visible concode_elem_sep String id concode_field_sep void setVisible concode_elem_sep void saveWidgetState concode_elem_sep IContributionManager get... | void function ( Composite arg0 ) { } |
31,009 | sets the file content . concode_field_sep long sizeInBytes concode_elem_sep byte[] fileContent concode_elem_sep String fieldNameInForm concode_elem_sep String fileName concode_field_sep void setFileName concode_elem_sep void setSizeInBytes concode_elem_sep long getSizeInBytes concode_elem_sep void setFieldNameInForm co... | void function ( byte [ ] arg0 ) { this . fileContent = arg0 ; } |
31,010 | list of titles mr. , ms. , dr. , etc. . concode_field_sep LinkedFormElement zip concode_elem_sep FormElement firstName concode_elem_sep FormElement lastName concode_elem_sep SubmitButton submit concode_elem_sep LinkedFormElement city concode_elem_sep ArrayList componentList concode_elem_sep LinkedFormElement state conc... | ArrayList function ( ) { return getListAsSelectItems ( titles ) ; } |
31,011 | returns true if the end of the compressed data output stream has been reached . concode_field_sep int userBufOff concode_elem_sep boolean finished concode_elem_sep boolean nativeSnappyLoaded concode_elem_sep Buffer uncompressedDirectBuf concode_elem_sep int userBufLen concode_elem_sep Log LOG concode_elem_sep int uncom... | boolean function ( ) { return ( finish && finished && compressedDirectBuf . remaining ( ) == 0 ) ; } |
31,012 | 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 ; } |
31,013 | return the maximum number of attempts in milliseconds . concode_field_sep long currentAttempts concode_elem_sep long DEFAULT_INTERVAL concode_elem_sep long UNLIMITED_ATTEMPTS concode_elem_sep long interval concode_elem_sep long maxAttempts concode_field_sep long getInterval concode_elem_sep long nextBackOff concode_ele... | long function ( ) { return maxAttempts ; } |
31,014 | sets the thread concode_field_sep boolean isAncestor concode_elem_sep int missingArgsCount concode_elem_sep CilkThread cilkThread concode_elem_sep Object[] arguments concode_elem_sep Global global concode_elem_sep String id concode_field_sep void call concode_elem_sep void setGlobal concode_elem_sep boolean isAncestor ... | void function ( CilkThread arg0 ) { this . cilkThread = arg0 ; ready ( ) ; } |
31,015 | get a fixed-length random string , its a mixture of uppercase , lowercase letters and numbers concode_field_sep String NUMBERS_AND_LETTERS concode_elem_sep String LETTERS concode_elem_sep String CAPITAL_LETTERS concode_elem_sep String LOWER_CASE_LETTERS concode_elem_sep String NUMBERS concode_field_sep String getRandom... | String function ( int arg0 ) { return getRandom ( NUMBERS_AND_LETTERS , arg0 ) ; } |
31,016 | returns the layout set branch id of this recent layout set branch . concode_field_sep RecentLayoutSetBranch _recentLayoutSetBranch concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttrib... | long function ( ) { return _recentLayoutSetBranch . getLayoutSetBranchId ( ) ; } |
31,017 | returns the timestamp on or after which the deprecation state of this resource will be changed to status #deprecated . returns null if not set . this value should be in rfc3339format . concode_field_sep String deleted concode_elem_sep String deprecated concode_elem_sep String obsolete concode_elem_sep DateTimeFormatter... | String function ( ) { return deprecated ; } |
31,018 | generate salt key . concode_field_sep String SECRET_KEY_FACTORY_ALGORITHM concode_elem_sep String CIPHER_INSTANCE_AES concode_elem_sep int ITERATIONS concode_elem_sep String SECURE_RANDOM_ALGORITHM concode_elem_sep String PASS_KEY concode_elem_sep String SECURE_RANDOM_ALGORITHM_PROVIDER concode_elem_sep int KEY_LENGTH ... | String function ( ) { SecureRandom loc0 = SecureRandom . getInstance ( SECURE_RANDOM_ALGORITHM , SECURE_RANDOM_ALGORITHM_PROVIDER ) ; byte [ ] loc1 = new byte [ 16 ] ; loc0 . nextBytes ( loc1 ) ; return Base64 . getEncoder ( ) . encodeToString ( loc1 ) ; } |
31,019 | gets the value of the actuate property . concode_field_sep String role concode_elem_sep String arcrole concode_elem_sep MLCompoundCRSType mlCompoundCRS concode_elem_sep String show concode_elem_sep String actuate concode_elem_sep List<String> nilReason concode_elem_sep String href concode_elem_sep String type concode_e... | String function ( ) { return actuate ; } |
31,020 | returns the tracker , which is responsible for deleting temporary files . concode_field_sep int sizeThreshold concode_elem_sep int DEFAULT_SIZE_THRESHOLD concode_elem_sep File repository concode_elem_sep FileCleaningTracker fileCleaningTracker concode_field_sep void setSizeThreshold concode_elem_sep void setFileCleanin... | FileCleaningTracker function ( ) { return fileCleaningTracker ; } |
31,021 | returns vector of children . concode_field_sep List children concode_elem_sep Attributes attributes concode_elem_sep Tag tag concode_field_sep Attributes getAttributes concode_elem_sep void setTag concode_elem_sep void setAttributes concode_elem_sep Tag getTag concode_elem_sep void addChild | List function ( ) { return children ; } |
31,022 | returns the state of the object concode_field_sep int EVENT_OBJECT_REBIND concode_elem_sep int eventType concode_elem_sep String jndiName concode_field_sep int getEventType concode_elem_sep String getEventName concode_elem_sep String getJndiName | String function ( ) { StringBuffer loc0 = new StringBuffer ( "srini_string" + "srini_string" + jndiName + "srini_string" + getEventName ( eventType ) + "srini_string" ) ; return loc0 . toString ( ) ; } |
31,023 | information about the devices . note : this method appends the values to the existing list if any . use #setdevices java.util.collection or #withdevices java.util.collection if you want to override theexisting values . concode_field_sep java.util.List<Device> devices concode_elem_sep String nextToken concode_field_sep ... | ListDevicesResult function ( Device ... arg0 ) { if ( this . devices == null ) { setDevices ( new java . util . ArrayList < Device > ( arg0 . length ) ) ; } for ( Device loc0 : arg0 ) { this . devices . add ( loc0 ) ; } return this ; } |
31,024 | gets the minute value of the date . note if the original date value can not be parsed , this method returns the unparsed string . concode_field_sep int OFFSET_HH concode_elem_sep int OFFSET_MM concode_elem_sep String month concode_elem_sep int OFFSET_SS concode_elem_sep String second concode_elem_sep int OFFSET_YYYY co... | String function ( ) { return minute ; } |
31,025 | returns a string representation of this object ; useful for testing and debugging . concode_field_sep java.util.List<ElasticsearchDomainStatus> domainStatusList concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep java.util.List<ElasticsearchDomainStatus> getDomainStatusList concode_elem_sep ... | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( getDomainStatusList ( ) != null ) loc0 . append ( "srini_string" + getDomainStatusList ( ) ) ; loc0 . append ( "srini_string" ) ; return loc0 . toString ( ) ; } |
31,026 | gets the value of the this property . concode_field_sep GuestAuthentication auth concode_elem_sep ManagedObjectReference vm concode_elem_sep ManagedObjectReference _this concode_field_sep void setThis concode_elem_sep void setAuth concode_elem_sep GuestAuthentication getAuth concode_elem_sep ManagedObjectReference getV... | ManagedObjectReference function ( ) { return _this ; } |
31,027 | returns the event store in this configuration , if it is defined . if no event store is defined but an event bus instead , this method throws an axonconfigurationexception . concode_field_sep PlaceHolder placeHolder concode_field_sep ParameterResolverFactory parameterResolverFactory concode_elem_sep CommandGateway comm... | EventStore function ( ) { EventBus loc0 = loc0 ( ) ; if ( ! ( loc0 instanceof EventStore ) ) { throw new AxonConfigurationException ( "srini_string" ) ; } return ( EventStore ) loc0 ; } |
31,028 | returns the company id of this definition . concode_field_sep Definition _definition concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel concode_elem_s... | long function ( ) { return _definition . getCompanyId ( ) ; } |
31,029 | the partition key . concode_field_sep String partitionKey concode_elem_sep String roleArn concode_elem_sep String streamName concode_field_sep KinesisAction withRoleArn concode_elem_sep void setStreamName concode_elem_sep String getStreamName concode_elem_sep int hashCode concode_elem_sep KinesisAction withStreamName c... | void function ( String arg0 ) { this . partitionKey = arg0 ; } |
31,030 | returns the context name associated with the class loader . if the class loader is null or if no context name is associated with the class loader , stringpool #null is returned . concode_field_sep Map<ClassLoader,String> _contextNames concode_elem_sep Map<String,ClassLoader> _classLoaders concode_field_sep void unregis... | String function ( ClassLoader arg0 ) { if ( arg0 == null ) { return StringPool . NULL ; } String loc0 = _contextNames . get ( arg0 ) ; if ( loc0 == null ) { loc0 = StringPool . NULL ; } return loc0 ; } |
31,031 | get an input stream for reading a part . concode_field_sep File fullPath concode_elem_sep Logger LOG concode_elem_sep Timer timer concode_elem_sep long FULL_CLEANUP_FREQ concode_elem_sep Iterator<String> it concode_elem_sep int BUCKETS concode_elem_sep int currentBucket concode_elem_sep String next concode_elem_sep Tim... | LocalFsBlobStoreFile function ( String arg0 ) { return new LocalFsBlobStoreFile ( getKeyDir ( arg0 ) , BlobStoreFile . BLOBSTORE_DATA_FILE ) ; } |
31,032 | gets a message describing the error . concode_field_sep Date timeStamp concode_elem_sep String hostName concode_elem_sep String application concode_elem_sep String errorMessage concode_elem_sep String errorCode concode_field_sep void setHostName concode_elem_sep String getApplication concode_elem_sep void setApplicatio... | String function ( ) { return errorMessage ; } |
31,033 | get the height and width for an image concode_field_sep PlaceHolder placeHolder concode_field_sep int numChannels concode_elem_sep int numFeatureMap | int [ ] function ( int [ ] arg0 ) { if ( arg0 . length < 2 ) throw new IllegalArgumentException ( "srini_string" ) ; return new int [ ] { arg0 [ arg0 . length - 1 ] , arg0 [ arg0 . length - 2 ] } ; } |
31,034 | loads an image concode_field_sep boolean initialised concode_elem_sep Dialog parent concode_elem_sep String FEWER_DETAILS_IMAGE concode_elem_sep String WINDOWS_DEFAULT_FONT concode_elem_sep String MORE_DETAILS_IMAGE concode_elem_sep String MAC_OS_DEFAULT_FONT concode_field_sep Image getFewerDetailsImage concode_elem_se... | Image function ( final String arg0 ) { final Image loc0 = SWTGraphicUtil . createImageFromFile ( arg0 ) ; SWTGraphicUtil . addDisposer ( this . parent . shell , loc0 ) ; return loc0 ; } |
31,035 | helper just to print the tokens available . concode_field_sep ITokenScanner scanner concode_field_sep void assertToken concode_elem_sep void assertToken concode_elem_sep void assertTokensMsg concode_elem_sep ITokenScanner createTokenScanner concode_elem_sep IToken getToken concode_elem_sep void assertTokens concode_ele... | void function ( ) { IToken loc0 = scanner . loc0 ( ) ; while ( loc0 != Token . EOF ) { System . out . println ( "srini_string" = "srini_string" ) ; loc0 = scanner . loc0 ( ) ; } } |
31,036 | file created event . concode_field_sep PlaceHolder placeHolder concode_field_sep void onDirectoryCreate concode_elem_sep void onDirectoryChange concode_elem_sep void onDirectoryDelete concode_elem_sep void onStart concode_elem_sep void onFileDelete concode_elem_sep void onFileChange concode_elem_sep void onStop | void function ( final File arg0 ) { } |
31,037 | return the delegate logger instance if set . otherwise , return a noplogger instance . concode_field_sep Queue<SubstituteLoggingEvent> eventQueue concode_elem_sep Boolean delegateEventAware concode_elem_sep String name concode_elem_sep EventRecodingLogger eventRecodingLogger concode_elem_sep boolean createdPostInitiali... | Logger function ( ) { if ( _delegate != null ) { return _delegate ; } if ( createdPostInitialization ) { return NOPLogger . NOP_LOGGER ; } else { return getEventRecordingLogger ( ) ; } } |
31,038 | the recognized text is returned as a string which is coded as utf8 . concode_field_sep int PSM_CIRCLE_WORD concode_elem_sep int RIL_BLOCK concode_elem_sep int RIL_WORD concode_elem_sep int PSM_SINGLE_WORD concode_elem_sep int PSM_SINGLE_COLUMN concode_elem_sep String VAR_CHAR_WHITELIST concode_elem_sep int RIL_PARA con... | String function ( ) { String loc0 = nativeGetUTF8Text ( ) ; return loc0 . trim ( ) ; } |
31,039 | sets the y-value for this data item . note that there is no corresponding method to change the x-value . concode_field_sep long serialVersionUID concode_elem_sep Number x concode_elem_sep Number y concode_field_sep Number getX concode_elem_sep Number getY concode_elem_sep double getYValue concode_elem_sep int hashCode ... | void function ( double arg0 ) { setY ( new Double ( arg0 ) ) ; } |
31,040 | enables or disables the aws join mechanism . concode_field_sep String securityGroupName concode_elem_sep String iamRole concode_elem_sep int connectionTimeoutSeconds concode_elem_sep String secretKey concode_elem_sep String accessKey concode_elem_sep String region concode_elem_sep String tagValue concode_elem_sep int C... | AwsConfig function ( boolean arg0 ) { this . enabled = arg0 ; return this ; } |
31,041 | returns the string itself concode_field_sep String str concode_elem_sep Template template concode_elem_sep Logger log concode_elem_sep int hashcode concode_field_sep boolean contains concode_elem_sep Value concatenate concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep int length concode_elem... | String function ( ) { return str ; } |
31,042 | creates an empty set that uses identity to determine equality . itcompares object references , instead of calling equals , to determine whether a provided object matches an element in the set . for example , contains returns false when passed an object thatequals a set member , but is n't the same instance . this behav... | Set < E > function ( ) { return Sets . newSetFromMap ( new IdentityHashMap < E , Boolean > ( ) ) ; } |
31,043 | return type metadata object concode_field_sep java.lang.String adGroupExperimentBidMultipliersType concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep boolean __hashCodeCalc concode_field_sep org.apache.axis.encoding.Serializer getSerializer con... | org . apache . axis . description . TypeDesc function ( ) { return typeDesc ; } |
31,044 | append new line . concode_field_sep String DEFAULT_DATE_FORMAT concode_elem_sep StringBuilder builder concode_elem_sep String RECORD_FORMAT_UNFORMATTED concode_elem_sep String DEFAULT_NULL_VALUE concode_elem_sep String RECORD_VARTEXT concode_elem_sep String DEFAULT_ERROR_TABLE1 concode_elem_sep String DEFAULT_ERROR_TAB... | FastloadControlBuilder function ( ) { this . builder . append ( ';' ) ; this . builder . append ( SystemUtils . LINE_SEPARATOR ) ; return this ; } |
31,045 | this method returns the effective feature list when policy list and feature aggregation rules are supplied . concode_field_sep PlaceHolder placeHolder concode_field_sep List<ProfileFeature> evaluateFeatures concode_elem_sep List<ProfileFeature> extractFeatures concode_elem_sep void getLowestApplicableFeatures concode_e... | List < ProfileFeature > function ( List < Policy > arg0 , List < FeatureRules > arg1 ) { return evaluateFeatures ( extractFeatures ( arg0 ) , arg1 ) ; } |
31,046 | returns true , if the specified instance has the specified property . concode_field_sep PlaceHolder placeHolder concode_field_sep Object getPropertyValue concode_elem_sep Object getPropertyValue concode_elem_sep String toGetterString | boolean function ( Object arg0 , String arg1 ) { try { getPropertyValue ( arg0 , arg1 ) ; return true ; } catch ( Exception loc0 ) { return false ; } } |
31,047 | returns the user name of this kaleo condition . concode_field_sep KaleoCondition _kaleoCondition concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep boolean isEscapedModel co... | java . lang . String function ( ) { return _kaleoCondition . getUserName ( ) ; } |
31,048 | how many nodes do we have from the root to this node including ` this ' itself ? thus depth of the root node is 1 . concode_field_sep TreeString parent concode_elem_sep char[] label concode_elem_sep long serialVersionUID concode_field_sep String getLabel concode_elem_sep TreeString split concode_elem_sep Object unmarsh... | int function ( ) { int loc0 = 0 ; for ( TreeString loc1 = this ; loc1 != null ; loc1 = loc1 . parent ) { loc0 ++ ; } return loc0 ; } |
31,049 | get the public identifier for this input source . concode_field_sep String systemId concode_elem_sep Reader characterStream concode_elem_sep InputStream byteStream concode_elem_sep String encoding concode_elem_sep String publicId concode_field_sep InputStream getByteStream concode_elem_sep String getEncoding concode_el... | String function ( ) { return publicId ; } |
31,050 | returns the clones of the given labels . concode_field_sep AbstractInsnNode next concode_elem_sep int TYPE_INSN concode_elem_sep int IINC_INSN concode_elem_sep int INT_INSN concode_elem_sep int LOOKUPSWITCH_INSN concode_elem_sep AbstractInsnNode prev concode_elem_sep int METHOD_INSN concode_elem_sep int LABEL concode_e... | LabelNode [ ] function ( final List arg0 , final Map arg1 ) { LabelNode [ ] loc0 = new LabelNode [ arg0 . size ( ) ] ; for ( int loc1 = 0 ; loc1 < loc0 . length ; ++ loc1 ) { loc0 [ loc1 ] = ( LabelNode ) arg1 . get ( arg0 . get ( loc1 ) ) ; } return loc0 ; } |
31,051 | returns true if we can build this type of unit here . takes into account reserved tiles . concode_field_sep boolean[][] reserveMap concode_elem_sep JNIBWAPI bwapi concode_elem_sep int buildDistance concode_elem_sep int mapWidth concode_elem_sep int mapHeight concode_field_sep void freeTiles concode_elem_sep int getBuil... | boolean function ( Position arg0 , UnitType arg1 ) { if ( ! bwapi . canBuildHere ( null , arg0 , arg1 , true ) ) return false ; for ( int loc0 = arg0 . getBX ( ) ; loc0 < arg0 . getBX ( ) + arg1 . getTileWidth ( ) ; loc0 ++ ) for ( int loc1 = arg0 . getBY ( ) ; loc1 < arg0 . getBY ( ) + arg1 . getTileHeight ( ) ; loc1 ... |
31,052 | object audit should not throw an exception . concode_field_sep String DS_CONTENT2 concode_elem_sep AkubraLowlevelStorage instance concode_elem_sep String OBJ_CONTENT2 concode_elem_sep String OBJ_KEY concode_elem_sep String OBJ_CONTENT concode_elem_sep AkubraLowlevelStorage safeInstance concode_elem_sep String DS_KEY co... | void function ( ) { instance . auditObject ( ) ; } |
31,053 | returns the destination ip address set with #setdestination string . concode_field_sep int AUDIO_NONE concode_elem_sep int AUDIO_AAC concode_elem_sep boolean mFlash concode_elem_sep Session.Callback mCallback concode_elem_sep String TAG concode_elem_sep SessionBuilder sInstance concode_elem_sep int AUDIO_AMRNB concode_... | String function ( ) { return mDestination ; } |
31,054 | delete operation concode_field_sep Storage storage concode_elem_sep IStorageFactory storageFactory concode_elem_sep Class<? extends T> resourceClass concode_field_sep T read concode_elem_sep T save concode_elem_sep boolean checkPermissions concode_elem_sep T create concode_elem_sep T update concode_elem_sep void cleanu... | void function ( Object arg0 ) { if ( ! storageFactory . getStorage ( ) . exists ( this . resourceClass , arg0 ) ) { throw new ItemNotFound ( ) ; } storageFactory . getStorage ( ) . delete ( this . resourceClass , arg0 ) ; } |
31,055 | does the descriptor and/or integration request hibernate as the javax.persistence.spi.persistenceprovider ? note that in the case of no requested provider being named we assume we are the provider the calls got to us somehow ... concode_field_sep String[] HIBERNATE_PROVIDER_NAMES concode_elem_sep Logger log concode_fie... | boolean function ( PersistenceUnitDescriptor arg0 , Map arg1 ) { return hibernateProviderNamesContain ( extractRequestedProviderName ( arg0 , arg1 ) ) ; } |
31,056 | sets overridefill to true . concode_field_sep boolean overrideFill concode_elem_sep int size concode_elem_sep String name concode_elem_sep int fill concode_field_sep void setName concode_elem_sep int getSize concode_elem_sep boolean overrideFill concode_elem_sep String getName concode_elem_sep void setSize concode_elem... | void function ( int arg0 ) { overrideFill = true ; this . fill = arg0 ; } |
31,057 | increment a player 's red cards concode_field_sep Hashtable<String,SoccerPlayer> search concode_field_sep boolean bumpYellowCards concode_elem_sep boolean bumpSaves concode_elem_sep SoccerPlayer getPlayer concode_elem_sep boolean readData concode_elem_sep boolean bumpShots concode_elem_sep boolean bumpAssists concode_e... | boolean function ( String arg0 , String arg1 ) { if ( getPlayer ( arg0 , arg1 ) != null ) { getPlayer ( arg0 , arg1 ) . bumpRedCards ( ) ; return true ; } return false ; } |
31,058 | the name of the api . concode_field_sep String basePath concode_elem_sep String stage concode_elem_sep String restApiId concode_field_sep String getStage concode_elem_sep String getBasePath concode_elem_sep CreateBasePathMappingResult withStage concode_elem_sep int hashCode concode_elem_sep void setRestApiId concode_el... | CreateBasePathMappingResult function ( String arg0 ) { setRestApiId ( arg0 ) ; return this ; } |
31,059 | makes a whois request and pushes the results of that query through the specified responseparsers . concode_field_sep PlaceHolder placeHolder concode_field_sep HashMap<Class<? extends ResponseParser>,ResponseParser> getWhoisResultsWithDefaultParsers concode_elem_sep HashMap<Class<? extends ResponseParser>,ResponseParser... | void function ( final String arg0 , ResponseParser ... arg1 ) { new WhoisRunner ( arg1 ) . runWhoisQuery ( arg0 ) ; } |
31,060 | isempty returns true if this list is empty , false otherwise . concode_field_sep int size concode_field_sep int length concode_elem_sep void insertFront concode_elem_sep ListNode back concode_elem_sep String toString concode_elem_sep ListNode front concode_elem_sep void insertBack | boolean function ( ) { return size == 0 ; } |
31,061 | called by the reactor when we have selected connectable . return false to indicate an error that should cause the connection to close . concode_field_sep boolean bPaused concode_elem_sep SocketChannel channel concode_elem_sep long binding concode_elem_sep SSLContext sslContext concode_elem_sep boolean bWatchOnly concod... | boolean function ( ) { channel . finishConnect ( ) ; bConnectPending = false ; updateEvents ( ) ; return true ; } |
31,062 | returns whether installation should be allowed . this should only be called after #isverificationcomplete returns true . concode_field_sep InstallArgs mArgs concode_elem_sep boolean mRequiredVerificationPassed concode_elem_sep boolean mSufficientVerificationComplete concode_elem_sep boolean mExtendedTimeout concode_ele... | boolean function ( ) { if ( ! mRequiredVerificationPassed ) { return false ; } if ( mSufficientVerificationComplete ) { return mSufficientVerificationPassed ; } return true ; } |
31,063 | deregister this mock driver from the drivermanager . concode_field_sep Driver mockDriver concode_elem_sep Connection mockConnection concode_elem_sep String MOCKURL concode_field_sep Connection getMockConnection concode_elem_sep Driver getMockDriver | void function ( ) { try { DriverManager . deregisterDriver ( this . getMockDriver ( ) ) ; } catch ( SQLException loc2 ) { } } |
31,064 | retrieves a new hsqlproperties object , if possible , loaded from the specified file . concode_field_sep PlaceHolder placeHolder concode_field_sep void translateDefaultNoSystemExitProperty concode_elem_sep int getDefaultPort concode_elem_sep String[] listLocalInetAddressNames concode_elem_sep void translateDefaultDatab... | HsqlProperties function ( String arg0 ) { if ( StringUtil . isEmpty ( arg0 ) ) { return null ; } HsqlProperties loc0 = new HsqlProperties ( arg0 ) ; try { loc0 . load ( ) ; } catch ( Exception loc1 ) { } return loc0 ; } |
31,065 | get the unique instance . concode_field_sep long serialVersionUID concode_elem_sep BigFractionField INSTANCE concode_field_sep Object readResolve concode_elem_sep Class<? extends FieldElement<BigFraction>> getRuntimeClass concode_elem_sep BigFraction getZero concode_elem_sep BigFraction getOne | BigFractionField function ( ) { return LazyHolder . INSTANCE ; } |
31,066 | get the stack sampling depth concode_field_sep long startMillis concode_elem_sep StackTraceElement[] stackFrames concode_elem_sep int stackTraceId concode_elem_sep int count concode_elem_sep int flags concode_elem_sep ThreadEventType type concode_elem_sep String parentGroupName concode_elem_sep String threadName concod... | int function ( ) { return depth ; } |
31,067 | sets the value of the sharing property . concode_field_sep boolean sharing concode_field_sep boolean isSharing | void function ( boolean arg0 ) { this . sharing = arg0 ; } |
31,068 | add a comparator to the end of the chain . the comparator will default to ascending sort order , unless it is a invertiblecomparator . concode_field_sep List<InvertibleComparator> comparators concode_field_sep int compare concode_elem_sep void setComparator concode_elem_sep void setComparator concode_elem_sep int hashC... | void function ( Comparator < ? extends T > arg0 ) { if ( arg0 instanceof InvertibleComparator ) { this . comparators . add ( ( InvertibleComparator ) arg0 ) ; } else { this . comparators . add ( new InvertibleComparator ( arg0 ) ) ; } } |
31,069 | get pdu part by content-location . content-location of part is the same as filename and name param of content-type . concode_field_sep Map<String,PduPart> mPartMapByContentLocation concode_elem_sep Map<String,PduPart> mPartMapByFileName concode_elem_sep Vector<PduPart> mParts concode_elem_sep Map<String,PduPart> mPartM... | PduPart function ( String arg0 ) { return mPartMapByContentLocation . get ( arg0 ) ; } |
31,070 | returns a new instance of immutablemap with key case-insensitivity . this map is built from the givenmap . see immutablemap . concode_field_sep Map<String,VALUE> underlyingMap concode_field_sep CaseInsensitiveMap<VALUE> newConcurrentMap concode_elem_sep Set<Entry<String,VALUE>> entrySet concode_elem_sep boolean contain... | CaseInsensitiveMap < VALUE > function ( final Map < ? extends String , ? extends VALUE > arg0 ) { final ImmutableMap . Builder < String , VALUE > loc0 = ImmutableMap . loc0 ( ) ; for ( final Entry < ? extends String , ? extends VALUE > loc1 : arg0 . entrySet ( ) ) { loc0 . put ( loc1 . getKey ( ) . toLowerCase ( ) , lo... |
31,071 | lazily creates a list of system properties . concode_field_sep Process serverProcess concode_elem_sep Properties serverProps concode_elem_sep String EXECUTABLE_NAME_KEY concode_elem_sep String DEFAULTS_FILE_KEY concode_elem_sep String DATADIR_KEY concode_elem_sep String BASEDIR_KEY concode_elem_sep Properties systemPro... | Properties function ( ) { if ( this . systemProps == null ) { this . systemProps = System . getProperties ( ) ; } return this . systemProps ; } |
31,072 | performs a dynamic query on the database and returns an ordered range of the matching rows . useful when paginating results . returns a maximum of end - start instances . start and end are not primary keys , they are indexes in the result set . thus , 0 refers to the first result in the set . setting both start and end... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , int arg1 , int arg2 , com . liferay . portal . kernel . util . OrderByComparator < T > arg3 ) { return getService ( ) . arg0 ( arg0 , arg1 , arg2 , arg3 ) ; } |
31,073 | sets a single overlay . concode_field_sep ScaleType mRetryImageScaleType concode_elem_sep List<Drawable> mOverlays concode_elem_sep ScaleType mFailureImageScaleType concode_elem_sep ScaleType mActualImageScaleType concode_elem_sep ScaleType DEFAULT_ACTUAL_IMAGE_SCALE_TYPE concode_elem_sep ScaleType DEFAULT_SCALE_TYPE c... | GenericDraweeHierarchyBuilder function ( Drawable arg0 ) { mOverlays = Lists . newArrayList ( arg0 ) ; return this ; } |
31,074 | gets the markup encoding . a markup encoding may be specified in a markup file with an xml encoding specifier of the form < ? xml ... encoding = '' ... '' ? > . concode_field_sep Markup baseMarkup concode_elem_sep Logger log concode_elem_sep Pattern DOCTYPE_REGEX concode_elem_sep String markupClassName concode_elem_sep... | String function ( ) { return encoding ; } |
31,075 | returns true if this priority has a higher or equal priority than the priority passed as argument , false otherwise . you should think twice before overriding the default implementation of isgreaterorequal method . concode_field_sep Priority DEBUG concode_elem_sep Priority FATAL concode_elem_sep int level concode_elem_... | boolean function ( Priority arg0 ) { return level >= arg0 . level ; } |
31,076 | check as defined standalone.xml property access in application , where not all propertypermissions are granted . concode_field_sep Asset LIMITED_PERMISSIONS_XML concode_elem_sep String APP_LIMITED concode_elem_sep String APP_GRANT concode_elem_sep Asset ALL_PERMISSIONS_XML concode_elem_sep String APP_DENY concode_elem_... | void function ( @ ArquillianResource URL arg0 ) { checkTestProperty ( arg0 , HttpServletResponse . SC_INTERNAL_SERVER_ERROR ) ; } |
31,077 | helper for success callbacks that just returns the status.ok by default concode_field_sep String callbackId concode_elem_sep CordovaWebView webView concode_elem_sep int changingThreads concode_elem_sep String LOG_TAG concode_elem_sep boolean finished concode_field_sep boolean isChangingThreads concode_elem_sep String g... | void function ( int arg0 ) { sendPluginResult ( new PluginResult ( PluginResult . Status . OK , arg0 ) ) ; } |
31,078 | set the requestid value . concode_field_sep String dataServiceId concode_elem_sep String clientRequestId concode_elem_sep String requestId concode_elem_sep String eTag concode_elem_sep DateTimeRfc1123 lastModified concode_field_sep JobSchedulePatchHeaders withDataServiceId concode_elem_sep JobSchedulePatchHeaders withL... | JobSchedulePatchHeaders function ( String arg0 ) { this . requestId = arg0 ; return this ; } |
31,079 | create type information for a propertydescriptor . concode_field_sep TypeCreationOptions typeConfiguration concode_elem_sep TypeCreator parent concode_elem_sep String HTTP_CXF_APACHE_ORG_ARRAYS concode_elem_sep AbstractTypeCreator nextCreator concode_elem_sep TypeMapping tm concode_field_sep boolean isHolder concode_el... | AegisType function ( PropertyDescriptor arg0 ) { TypeClassInfo loc0 = createClassInfo ( arg0 ) ; loc0 . setDescription ( "srini_string" + arg0 . getName ( ) ) ; return createTypeForClass ( loc0 ) ; } |
31,080 | each timezonewrapper has an id of a component in the ui that corresponds to its time zone . by this , if an event comes from a component in the web page , then this will return the relevant timezonewrapper . concode_field_sep DateFormat selectedFormat concode_elem_sep int[] pacificXCoords concode_elem_sep int[] nfldXCo... | TimeZoneWrapper function ( String arg0 ) { TimeZoneWrapper loc0 ; for ( int loc1 = 0 ; loc1 < allTimeZoneList . size ( ) ; loc1 ++ ) { loc0 = ( TimeZoneWrapper ) allTimeZoneList . get ( loc1 ) ; if ( loc0 . isRelevantComponentId ( arg0 ) ) { return loc0 ; } } return null ; } |
31,081 | sets the value of the threadid property . concode_field_sep BigInteger threadID concode_elem_sep String threadSubject concode_elem_sep BigInteger threadAncestor concode_elem_sep String threadPage concode_elem_sep BigInteger threadParent concode_elem_sep String threadEditStatus concode_elem_sep String threadType concode... | void function ( BigInteger arg0 ) { this . threadID = arg0 ; } |
31,082 | when the revision was registered with aws codedeploy . concode_field_sep java.util.Date registerTime concode_elem_sep java.util.Date firstUsedTime concode_elem_sep String description concode_elem_sep com.amazonaws.internal.SdkInternalList<String> deploymentGroups concode_elem_sep java.util.Date lastUsedTime concode_fie... | java . util . Date function ( ) { return this . registerTime ; } |
31,083 | destroy the current instance and release the internal reference to it , allowing it to be gced . concode_field_sep Application mApplication concode_elem_sep ReactInstanceManager mReactInstanceManager concode_field_sep ReactInstanceManager createReactInstanceManager concode_elem_sep Application getApplication concode_el... | void function ( ) { if ( mReactInstanceManager != null ) { mReactInstanceManager . destroy ( ) ; mReactInstanceManager = null ; } } |
31,084 | get the event type concode_field_sep TaskStarted datum concode_field_sep TaskID getTaskId concode_elem_sep String getSplitLocations concode_elem_sep Object getDatum concode_elem_sep void setDatum concode_elem_sep long getStartTime concode_elem_sep TaskType getTaskType | EventType function ( ) { return EventType . TASK_STARTED ; } |
31,085 | gets rendermanager , just try to satisfy was concode_field_sep int percent concode_elem_sep File file concode_elem_sep String fileName concode_elem_sep String contentType concode_elem_sep PersistentFacesState state concode_elem_sep RenderManager renderManager concode_field_sep void renderingException concode_elem_sep v... | RenderManager function ( ) { return null ; } |
31,086 | retrieve java.io.printwriter to which errors are being directed . concode_field_sep PrintWriter m_pw concode_elem_sep boolean m_throwExceptionOnError concode_field_sep void printLocation concode_elem_sep void printLocation concode_elem_sep void printLocation concode_elem_sep void fatalError concode_elem_sep void fatalE... | PrintWriter function ( ) { if ( m_pw == null ) { m_pw = new PrintWriter ( System . err , true ) ; } return m_pw ; } |
31,087 | returns the given file path with its separator character changed from the given old separator to the given new separator . concode_field_sep int MAX_RETRY concode_elem_sep byte[] buffer concode_field_sep void transferData concode_elem_sep void transferData concode_elem_sep File createTempFileInPlugin concode_elem_sep S... | String function ( String arg0 , char arg1 , char arg2 ) { return arg0 . replace ( arg1 , arg2 ) ; } |
31,088 | getdatestamp concode_field_sep XMLGregorianCalendar m_dateStamp concode_elem_sep List<PluginConfig> m_policies concode_elem_sep String m_name concode_elem_sep boolean m_default concode_elem_sep Duration m_scanInterval concode_elem_sep List<PluginConfig> m_detectors concode_elem_sep long serialVersionUID concode_field_s... | XMLGregorianCalendar function ( ) { return m_dateStamp ; } |
31,089 | read an integer 32 bit int from the byte stream . concode_field_sep int streamPosition concode_elem_sep byte[] bytes concode_elem_sep int bytesLength concode_field_sep boolean isBundle concode_elem_sep int lengthOfCurrentString concode_elem_sep OSCMessage convertMessage concode_elem_sep String readString concode_elem_s... | Object function ( ) { byte [ ] loc0 = new byte [ 4 ] ; loc0 [ 0 ] = bytes [ streamPosition ++ ] ; loc0 [ 1 ] = bytes [ streamPosition ++ ] ; loc0 [ 2 ] = bytes [ streamPosition ++ ] ; loc0 [ 3 ] = bytes [ streamPosition ++ ] ; BigInteger loc1 = new BigInteger ( loc0 ) ; return new Integer ( loc1 . intValue ( ) ) ; } |
31,090 | returns reference to the underlying byte array . concode_field_sep int len concode_elem_sep byte[] buffer concode_elem_sep long serialVersionUID concode_field_sep int byteAt concode_elem_sep void expand concode_elem_sep void setLength concode_elem_sep byte[] toByteArray concode_elem_sep void clear concode_elem_sep int ... | byte [ ] function ( ) { return this . buffer ; } |
31,091 | sorts courses based on course id concode_field_sep ArrayList<SectionDetailsBundle> sections concode_elem_sep CourseAttributes course concode_elem_sep CourseStats stats concode_elem_sep ArrayList<FeedbackSessionDetailsBundle> feedbackSessions concode_elem_sep ArrayList<StudentAttributes> loners concode_field_sep List<Fe... | void function ( List < CourseDetailsBundle > arg0 ) { Collections . sort ( arg0 , new Comparator < CourseDetailsBundle > ( ) { public int compare ( CourseDetailsBundle arg1 , CourseDetailsBundle arg2 ) { return arg1 . course . id . compareTo ( arg2 . course . id ) ; } } ) ; } |
31,092 | set the order to ascending . concode_field_sep Comparator<Event> causalOrderComparator concode_elem_sep MultiTypeEventDispatcher<T> dispatcher concode_elem_sep EventReplayer eventReplayer concode_field_sep DispatchingEventReplayer<T> filter concode_elem_sep DispatchingEventReplayer<T> dispatching concode_elem_sep Dispa... | DispatchingEventReplayer < T > function ( ) { return inAscendingOrder ( causalOrderComparator ) ; } |
31,093 | gets the id value for this datafield . concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.String displayName concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String name concode_elem_sep java.lang.String description concode_elem_sep boolean __hashCodeCalc... | java . lang . String function ( ) { return id ; } |
31,094 | tests topriority string . concode_field_sep PlaceHolder placeHolder concode_field_sep void testINFO concode_elem_sep void testGetAllPossiblePriorities concode_elem_sep void testInfoInt concode_elem_sep void testDotlessLowerI concode_elem_sep void testWarnInt concode_elem_sep void testToPriorityIntPriority concode_elem_... | void function ( ) { assertTrue ( Priority . toPriority ( "srini_string" ) == Level . DEBUG ) ; } |
31,095 | assert the result from asynchronous processing . this method can be used when a controller method returns callable or webasynctask . the value matched is the value returned from the callable or the exception raised . concode_field_sep PlaceHolder placeHolder concode_field_sep ResultMatcher sessionAttribute concode_elem... | ResultMatcher function ( final Object arg0 ) { return new ResultMatcher ( ) { @ Override public void match ( MvcResult arg1 ) { HttpServletRequest loc0 = arg1 . getRequest ( ) ; assertAsyncStarted ( loc0 ) ; assertEquals ( "srini_string" , arg0 , arg1 . getAsyncResult ( ) ) ; } } ; } |
31,096 | get the constructor metadata for the mbean resource . subclasses should implement this method to return the appropriate metadata for all constructors that should be exposed in the management interface for the managed resource . default implementation returns an empty array of modelmbeanconstructorinfo . concode_field_s... | ModelMBeanConstructorInfo [ ] function ( Object arg0 , String arg1 ) { return new ModelMBeanConstructorInfo [ 0 ] ; } |
31,097 | terminate the current line by printing the line separator string . concode_field_sep String CHARSET_NAME concode_elem_sep Locale LOCALE concode_elem_sep PrintWriter out concode_field_sep void print concode_elem_sep void print concode_elem_sep void print concode_elem_sep void print concode_elem_sep void print concode_el... | void function ( ) { out . println ( ) ; } |
31,098 | returns true if there 's another tls mode to try . concode_field_sep int nextSocketAddressIndex concode_elem_sep List<Route> postponedRoutes concode_elem_sep int TLS_MODE_MODERN concode_elem_sep Address address concode_elem_sep Iterator<Proxy> proxySelectorProxies concode_elem_sep ConnectionPool pool concode_elem_sep D... | boolean function ( ) { return nextTlsMode != TLS_MODE_NULL ; } |
31,099 | adds a source store/type for this aggregated feature type concode_field_sep SourceType primarySource concode_elem_sep String name concode_elem_sep List<SourceType> sourceTypes concode_field_sep void setName concode_elem_sep Name buildName concode_elem_sep String getName concode_elem_sep SourceType getPrimarySourceType ... | void function ( String arg0 , String arg1 ) { Name loc0 = buildName ( arg0 ) ; this . addSourceType ( loc0 , arg1 ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.