code stringlengths 20 663 | nl stringlengths 68 7.19k |
|---|---|
T function ( T arg0 ) { if ( n > threshold ) expand ( ) ; return getOrAddImpl ( arg0 ) ; } | add o to set if not there ; return existing value if alreadythere . this method performs the same operation as #add aside fromthe return value . concode_field_sep int n concode_elem_sep int INITAL_BUCKET_CAPACITY concode_elem_sep AbstractEqualityComparator<? super T> comparator concode_elem_sep int currentPrime concode... |
void function ( Effect arg0 ) { this . cartEffect = arg0 ; } | sets effect for shopping cart . concode_field_sep StoreTable storeTable concode_elem_sep Random random concode_elem_sep Effect cartEffect concode_elem_sep ArrayList purchasedList concode_field_sep String getItemString concode_elem_sep ArrayList getPurchasedList concode_elem_sep String getTotalPriceFormatted concode_ele... |
String function ( ) { return name ; } | get the name of the node . concode_field_sep Node parent concode_elem_sep int level concode_elem_sep SortedSet<Node> children concode_elem_sep SortedSet<Node> EMPTY_SET concode_elem_sep String name concode_field_sep void checkChildren concode_elem_sep int getLevel concode_elem_sep Set<Node> getChildren concode_elem_sep... |
ViewQuery function ( final boolean arg0 ) { return run ( new Operation < View > ( View . class ) { @ Override void execute ( View arg1 ) { arg1 . setEnabled ( arg0 ) ; } } ) ; } | enable / disable the view concode_field_sep int INITIAL_CACHE_SIZE concode_elem_sep View mView concode_elem_sep SparseArray<ViewQuery> mCachedQueries concode_field_sep ViewQuery image concode_elem_sep ViewQuery image concode_elem_sep ViewQuery onClick concode_elem_sep ViewQuery adapter concode_elem_sep ViewQuery typefa... |
void function ( String arg0 ) { addErrorMessage ( null , arg0 ) ; } | add error message . concode_field_sep PlaceHolder placeHolder concode_field_sep String getRequestParameter concode_elem_sep Application getApplication concode_elem_sep ValueBinding getValueBinding concode_elem_sep Object getElValue concode_elem_sep void addInfoMessage concode_elem_sep void addInfoMessage concode_elem_s... |
void function ( ) { visits ++ ; if ( mustClose ( ) ) close ( ) ; } | fire the changes that must happen then the token matches this node . concode_field_sep int visits concode_elem_sep node previous concode_elem_sep char binary concode_elem_sep char unary concode_elem_sep boolean _closed concode_elem_sep long serialVersionUID concode_elem_sep Object token concode_field_sep boolean mustCl... |
ParsedURL function ( ) { return purl ; } | returns the uri of the @font - face rule . concode_field_sep short TYPE concode_elem_sep StyleMap sm concode_elem_sep ParsedURL purl concode_field_sep short getType concode_elem_sep String toString concode_elem_sep StyleMap getStyleMap |
void function ( Thread arg0 ) { mCurrentMasterThread = Preconditions . checkNotNull ( arg0 ) ; } | sets the current master thread . concode_field_sep String mElectionPath concode_elem_sep String mZookeeperAddress concode_elem_sep Thread mCurrentMasterThread concode_elem_sep String mLeaderFolder concode_elem_sep LeaderSelector mLeaderSelector concode_elem_sep String mName concode_elem_sep AtomicBoolean mIsLeader conc... |
int function ( ) { return column ; } | gets the zero-based column number . concode_field_sep int line concode_elem_sep int column concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep int getLine concode_elem_sep int compareTo |
Date function ( ) { return _userTracker . getModifiedDate ( ) ; } | returns the modified date of this user tracker . concode_field_sep UserTracker _userTracker concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep boolean isEscapedModel concode_elem_sep java.lang.String getRem... |
Representative function ( ) { return representative ; } | gets the value of the representative property . concode_field_sep String annotation concode_elem_sep Mandator mandator concode_elem_sep String statusInformationService concode_elem_sep List<SimpleMandateContentType> simpleMandateContent concode_elem_sep SignatureType signature concode_elem_sep String mandateID concode_... |
long function ( ) { return System . nanoTime ( ) ; } | get the arrival time of the incoming request in nanoseconds . note that this is not unix epoch as the time is provided by system #nanotime . to get unix epoch time , do something like : long processingtimenanos = system.nanotime - requestcontext.arrivaltimenanos ; long arrivaltimeunixepochmillis = system.currenttimemil... |
void function ( java . lang . String arg0 ) { address . setUser ( arg0 ) ; } | sets the user part of sip address . concode_field_sep Address address concode_field_sep void setHost concode_elem_sep java.lang.String getScheme concode_elem_sep java.lang.String getUser concode_elem_sep void setURI concode_elem_sep void setScheme concode_elem_sep void setDisplayName concode_elem_sep void setPort conco... |
void function ( @ Nonnull final EJSEvent arg0 , @ Nonnull final IJSCodeProvider arg1 ) { ValueEnforcer . notNull ( arg0 , "srini_string" ) ; ValueEnforcer . notNull ( arg1 , "srini_string" ) ; CollectingJSCodeProvider loc0 = m_aEvents . get ( arg0 ) ; if ( loc0 == null ) { loc0 = new CollectingJSCodeProvider ( ) ; m_aE... | add an additional handler for the given js event . if an existing handler is present , the new handler is appended at the end . concode_field_sep Map<EJSEvent,CollectingJSCodeProvider> m_aEvents concode_field_sep void setHandler concode_elem_sep boolean containsHandler concode_elem_sep void applyToElement concode_elem_... |
GroupIdentifier function ( String arg0 ) { this . groupId = arg0 ; return this ; } | the id of the security group . returns a reference to this object so that method calls can be chained together . concode_field_sep String groupName concode_elem_sep String groupId concode_field_sep String getGroupName concode_elem_sep void setGroupName concode_elem_sep GroupIdentifier withGroupName concode_elem_sep voi... |
String function ( ) { return mTargetClass ; } | gets the canonical name of the class that these parameters capture concode_field_sep String mTargetClass concode_elem_sep HashMap<String,Parameter> mParameterMap concode_elem_sep Pattern targetClassPattern concode_elem_sep ArrayList<Conditional> mConditionals concode_elem_sep ArrayList<Parameter> mParameters concode_fi... |
void function ( java . lang . Integer arg0 ) { this . totalResultSetSize = arg0 ; } | sets the totalresultsetsize value for this customtargetingkeypage . concode_field_sep java.lang.Integer startIndex concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.Integer totalResultSetSize concode_elem_sep com.google.api.ads.dfp.axis.v201502.CustomTarge... |
void function ( String arg0 , Throwable arg1 ) { logger . info ( arg0 , arg1 ) ; } | log a message with the info level . concode_field_sep ALogger logger concode_elem_sep play.api.Logger logger concode_field_sep void warn concode_elem_sep void warn concode_elem_sep void warn concode_elem_sep void warn concode_elem_sep void trace concode_elem_sep void trace concode_elem_sep void trace concode_elem_sep v... |
CookieHandler function ( ) { return new CookieManager ( ) ; } | creates a new cookiemanager instance . concode_field_sep PlaceHolder placeHolder concode_field_sep NfcAdapter newNfcAdapter concode_elem_sep void disableNFCAdapter concode_elem_sep void enableNFCWriteMode concode_elem_sep boolean clearCookies concode_elem_sep boolean writeNFCTag concode_elem_sep NdefRecord createTextRe... |
void function ( double arg0 ) { double loc0 = pZero ; for ( int loc1 = 0 ; loc1 < n . length ; loc1 ++ ) { loc0 += ( n [ loc1 ] * p [ loc1 ] ) ; } double loc2 = 1.0 - loc0 ; if ( Math . abs ( loc2 ) > arg0 ) { throw new IllegalStateException ( "srini_string" + loc0 ) ; } } | ensures that we have a proper probability distribution . concode_field_sep int MIN_INPUT concode_elem_sep double CONFID_FACTOR concode_elem_sep double[] logZ concode_elem_sep double TOLERANCE concode_elem_sep double[] rStar concode_elem_sep int rows concode_elem_sep double pZero concode_elem_sep double slope concode_el... |
String function ( ) { return date ; } | gets the value of the date property . concode_field_sep String date concode_elem_sep String enddate concode_elem_sep int goalId concode_elem_sep int moreOrLess concode_elem_sep int term concode_elem_sep int termIsSolid concode_elem_sep double value concode_elem_sep MeasureType measureType concode_field_sep int getGoalI... |
void function ( int arg0 , int arg1 , float arg2 ) { setElem ( arg0 , arg1 , ( int ) arg2 ) ; } | sets an element in a particular data bank . the offset specified in the constructor is added to i before updating the underlying data array . concode_field_sep int banks concode_elem_sep int TYPE_BYTE concode_elem_sep int TYPE_FLOAT concode_elem_sep int offset concode_elem_sep int size concode_elem_sep int TYPE_INT con... |
Record function ( String arg0 , Object arg1 ) { getColumns ( ) . put ( arg0 , arg1 ) ; return this ; } | set column to record . concode_field_sep Map<String,Object> columns concode_elem_sep long serialVersionUID concode_field_sep Record setColumns concode_elem_sep Record setColumns concode_elem_sep Record setColumns concode_elem_sep String[] getColumnNames concode_elem_sep java.sql.Time getTime concode_elem_sep void proce... |
boolean function ( ProtocolVersion arg0 ) { return isComparable ( arg0 ) && ( compareToVersion ( arg0 ) >= 0 ) ; } | tests if this protocol version is greater or equal to the given one . concode_field_sep String protocol concode_elem_sep int major concode_elem_sep int minor concode_elem_sep long serialVersionUID concode_field_sep int getMinor concode_elem_sep boolean lessEquals concode_elem_sep int hashCode concode_elem_sep boolean i... |
Resource function ( ) { T loc0 = getContextObject ( ) ; if ( loc0 instanceof EObject ) { return ( ( EObject ) loc0 ) . eResource ( ) ; } return null ; } | returns the resource which is affected by this refactoring . default implementation returns the resource of the first context object . concode_field_sep RefactoringHelper helper concode_elem_sep List<T> contextObjects concode_field_sep TransactionalEditingDomain getEditingDomain concode_elem_sep boolean internalDoUndo ... |
void function ( int arg0 ) { sendPluginResult ( new PluginResult ( PluginResult . Status . OK , arg0 ) ) ; } | 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... |
WebApplicationContext function ( FacesContext arg0 ) { WebApplicationContext loc0 = getWebApplicationContext ( arg0 ) ; if ( loc0 == null ) { throw new IllegalStateException ( "srini_string" ) ; } return loc0 ; } | find the root webapplicationcontext for this web app , typicallyloaded via org.springframework.web.context.contextloaderlistener . will rethrow an exception that happened on root context startup , to differentiate between a failed context startup and no context at all . concode_field_sep PlaceHolder placeHolder concode... |
T [ ] function ( final T [ ] arg0 ) { if ( arg0 == null ) { return null ; } return arg0 . clone ( ) ; } | shallow copies an array of objects the objects in the array are not cloned , thus there is no special handling for multi-dimensional arrays . this method returns null if null array input . concode_field_sep Object[] EMPTY_OBJECT_ARRAY concode_elem_sep Class[] EMPTY_CLASS_ARRAY concode_field_sep T[] removeItem concode_e... |
void function ( short arg0 , byte [ ] arg1 , int arg2 ) { arg1 [ arg2 + 0 ] = ( byte ) ( ( arg0 >>> 8 ) & 0xff ) ; arg1 [ arg2 + 1 ] = ( byte ) ( ( arg0 >>> 0 ) & 0xff ) ; } | sets the value into the buffer , at the designated offset , using big-endian rules callers is responsible to ensure that value will fit into buffer , starting at offset concode_field_sep long lastMemUsed concode_elem_sep Logger logger concode_field_sep void printMemory concode_elem_sep String convertByteArrayToByteStri... |
Class < ? > function ( ) { if ( thriftClass == null ) { thriftClass = getThriftClass ( thriftClassName ) ; } return thriftClass ; } | get the thrift class encoded in the metadata . concode_field_sep String THRIFT_CLASS concode_elem_sep Log LOG concode_elem_sep Class<?> thriftClass concode_elem_sep String thriftClassName concode_elem_sep StructType descriptor concode_elem_sep String THRIFT_DESCRIPTOR concode_field_sep StructType getDescriptor concode_... |
String function ( Class < ? > arg0 ) { return getPropertyNameRepresentation ( arg0 ) ; } | shorter version of getpropertynamerepresentation . concode_field_sep String PROPERTY_SET_PREFIX concode_field_sep String getNaturalName concode_elem_sep String getGetterName concode_elem_sep String getPropertyNameRepresentation concode_elem_sep String getPropertyNameRepresentation concode_elem_sep boolean isBlank conco... |
ComplexObjectResponse function ( final OComplexObject arg0 , final String arg1 ) { return new ComplexObjectResponse ( ) { @ Override public OComplexObject getObject ( ) { return arg0 ; } @ Override public String getComplexObjectName ( ) { return arg1 ; } } ; } | creates a new complexobjectresponse instance . concode_field_sep PlaceHolder placeHolder concode_field_sep EntitiesResponse entities concode_elem_sep ComplexObjectResponse complexObject concode_elem_sep CountResponse count concode_elem_sep PropertyResponse property concode_elem_sep SimpleResponse simple concode_elem_se... |
void function ( String arg0 ) { currentTotal *= convertToNumber ( arg0 ) ; } | multiplikation concode_field_sep double currentTotal concode_field_sep void setTotal concode_elem_sep void add concode_elem_sep String changeSign concode_elem_sep String getTotalString concode_elem_sep String square concode_elem_sep String sqrt concode_elem_sep void subtract concode_elem_sep void divide concode_elem_se... |
String function ( ) { return RevisionUtils . extract ( "srini_string" ) ; } | returns the revision string . concode_field_sep Instances m_Instances concode_elem_sep EuclideanDistance m_DistanceFunction concode_elem_sep int[] m_Instlist concode_field_sep void correctlyInitialized concode_elem_sep Enumeration listOptions concode_elem_sep void setInstances concode_elem_sep void setOptions concode_e... |
void function ( String arg0 , Object arg1 , Object arg2 ) { firePropertyChange ( new PropertyChangeEvent ( source , arg0 , arg1 , arg2 ) ) ; } | report a bound property update to any registered listeners . no event is fired if old and new are equal and non-null . concode_field_sep EventListenerList listeners concode_elem_sep Map children concode_elem_sep long serialVersionUID concode_elem_sep Object source concode_field_sep PropertyChangeListener[] getPropertyC... |
int function ( int arg0 ) { checkRange ( arg0 ) ; setupTypeInfo ( -- arg0 ) ; Integer loc0 = ti . getPrecision ( ) ; return loc0 == null ? 0 : loc0 . intValue ( ) ; } | retrieves the designated parameter 's number of decimal digits . concode_field_sep int[] types concode_elem_sep int[] modes concode_elem_sep int parameterCount concode_elem_sep int[] nullability concode_elem_sep boolean[] isIdentity concode_elem_sep String[] classNames concode_elem_sep DITypeInfo ti concode_field_sep i... |
void function ( int arg0 ) { if ( myHost != null && arg0 != previousProgress ) { myHost . updateProgress ( arg0 ) ; } previousProgress = arg0 ; } | used to communicate a progress update between a plugin tool and the main whitebox user interface . concode_field_sep String[] args concode_elem_sep boolean cancelOp concode_elem_sep WhiteboxPluginHost myHost concode_elem_sep String previousProgressLabel concode_elem_sep int previousProgress concode_elem_sep boolean amI... |
List < String > function ( ) { checkUserMap ( ) ; Set < String > loc0 = new TreeSet < String > ( ) ; loc0 . add ( "srini_string" ) ; for ( User loc1 : getUsers ( ) ) { for ( GrantedAuthority loc2 : loc1 . getAuthorities ( ) ) { loc0 . add ( loc2 . getAuthority ( ) ) ; } } return new ArrayList < String > ( loc0 ) ; } | get the list of roles currently known by users there 's guarantee the well known role_administrator will be part of the lot concode_field_sep Logger LOGGER concode_elem_sep PropertyFileWatcher userDefinitionsFile concode_elem_sep TreeMap<String,User> userMap concode_field_sep String serializeUser concode_elem_sep void ... |
boolean function ( Node < T > arg0 ) { return add ( true , arg0 ) ; } | add ` from ' as a predecessor of ` this ' node . returns true iff the graph changed . private : breaks graph invariant ! concode_field_sep int INITIAL_HASHSET_CAPACITY concode_elem_sep int ARRAYLIST_THRESHOLD concode_elem_sep int hashCode concode_elem_sep T label concode_elem_sep Collection<Node<T>> succs concode_elem_... |
void function ( PasswordSafeSettings arg0 ) { arg0 . setProviderType ( getProviderType ( ) ) ; } | save ui state to the settings concode_field_sep PasswordSafeImpl myPasswordSafe concode_elem_sep JRadioButton myRememberPasswordsUntilClosingRadioButton concode_elem_sep JBLabel myMasterPasswordStateLabel concode_elem_sep JRadioButton mySaveOnDiskRadioButton concode_elem_sep JRadioButton myDoNotRememberPasswordsRadioBu... |
void function ( SDSetAnt arg0 ) { this . sds . add ( arg0 ) ; } | this method name , ` addsdset ' , is used for derived xml tag ` sdset ' in the load script . concode_field_sep List<SDSetAnt> sds concode_field_sep List<SDSetAnt> getSdset |
String function ( double arg0 ) { if ( isLonValid ( arg0 ) ) { return getDegreeString ( arg0 , true ) ; } else { return "srini_string" ; } } | returns a string representation of the given longitude value . concode_field_sep double _SEC_PER_DEG concode_elem_sep double _MIN_PER_DEG concode_elem_sep double lon concode_elem_sep double lat concode_field_sep double getLat concode_elem_sep double normalizeLon concode_elem_sep boolean isValid concode_elem_sep boolean... |
long function ( ) { return value ; } | get the value of the dpid . concode_field_sep String SCHEME concode_elem_sep long value concode_elem_sep long UNKNOWN concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Dpid dpid concode_elem_sep String toString concode_elem_sep URI uri concode_elem_sep URI uri |
String function ( ) { return "srini_string" ; } | the hls name . concode_field_sep int COMPLETE_FAIL concode_elem_sep int CONTEXT_FAIL concode_elem_sep int NO_FAIL concode_elem_sep int RESUMED_FAIL concode_elem_sep int COMPLETED_FAIL concode_elem_sep int SUSPENDED_FAIL concode_elem_sep Stack<GlobalId> _id concode_elem_sep int BEGUN_FAIL concode_elem_sep int _failPoint... |
boolean function ( ) { return conf . getBoolean ( "srini_string" , false ) ; } | whether the server should enforce encryption on sasl-authenticated connections . concode_field_sep String SPARK_NETWORK_IO_NUMCONNECTIONSPERPEER_KEY concode_elem_sep String SPARK_NETWORK_IO_LAZYFD_KEY concode_elem_sep String SPARK_NETWORK_IO_SERVERTHREADS_KEY concode_elem_sep String module concode_elem_sep String SPARK... |
void function ( String arg0 ) { printIf ( arg0 , INFO ) ; } | log a lowest-priority message . concode_field_sep int FATAL concode_elem_sep int WARNING concode_elem_sep int ALL concode_elem_sep int NONE concode_elem_sep Hashtable classDB concode_elem_sep int ERROR concode_elem_sep int globalDebugLevel concode_elem_sep Object theInstance concode_elem_sep int MESSAGE concode_elem_se... |
void function ( ) { double loc0 = ( Runtime . getRuntime ( ) . totalMemory ( ) - Runtime . getRuntime ( ) . freeMemory ( ) ) / 1024d / 1024d ; if ( loc0 > maxMemory ) { maxMemory = loc0 ; } } | method to check the memory usage and keep the maximum memory usage . concode_field_sep long endTimestamp concode_elem_sep double maxMemory concode_elem_sep long startTimestamp concode_elem_sep Map<Integer,Integer> mapItemToTWU concode_elem_sep int item concode_elem_sep int utility concode_elem_sep BufferedWriter writer... |
boolean function ( ) { return stickyBit ; } | returns the sticky bit . concode_field_sep String owner concode_elem_sep List<AclEntry> entries concode_elem_sep FsPermission permission concode_elem_sep boolean stickyBit concode_elem_sep List<AclEntry> entries concode_elem_sep FsPermission permission concode_elem_sep String group concode_field_sep Builder owner conco... |
String function ( ) { return mode ; } | gets mode of hub request as a string . concode_field_sep String mode concode_elem_sep Integer topicId concode_elem_sep Logger LOGGER concode_elem_sep Integer retryCount concode_elem_sep HttpAgent httpAgentImpl concode_elem_sep String topic concode_elem_sep String callbackUrl concode_elem_sep Long retryInterval concode_... |
RGB function ( RGB arg0 , RGB arg1 , int arg2 ) { int loc0 = blend ( arg0 . red , arg1 . red , arg2 ) ; int loc1 = blend ( arg0 . green , arg1 . green , arg2 ) ; int loc2 = blend ( arg0 . blue , arg1 . blue , arg2 ) ; return new RGB ( loc0 , loc1 , loc2 ) ; } | blends the two color values according to the provided ratio . concode_field_sep Field[] cachedFields concode_field_sep boolean isDirectValue concode_elem_sep RGB process concode_elem_sep Field[] getFields concode_elem_sep RGB getSystemColor concode_elem_sep RGB getColorValue concode_elem_sep RGB[] getColorValues |
Recommendation function ( final Recommendation arg0 , final User arg1 ) { EndpointUtil . throwIfNotAdmin ( arg1 ) ; ofy ( ) . save ( ) . entity ( arg0 ) . now ( ) ; return arg0 ; } | inserts the entity into app engine datastore . it uses http post method . concode_field_sep Logger LOG concode_field_sep List<Recommendation> listRecommendations concode_elem_sep Recommendation findRecommendation concode_elem_sep Recommendation updateRecommendation concode_elem_sep void removeRecommendation |
float function ( float arg0 ) { return Sin . table [ ( int ) ( arg0 * degToIndex ) & SIN_MASK ] ; } | returns the sine in radians from a lookup table . concode_field_sep float radDeg concode_elem_sep double BIG_ENOUGH_ROUND concode_elem_sep int SIN_BITS concode_elem_sep float PI concode_elem_sep Random random concode_elem_sep double BIG_ENOUGH_CEIL concode_elem_sep int BIG_ENOUGH_INT concode_elem_sep double BIG_ENOUGH_... |
NormalisedDecimal function ( ) { long loc0 = _wholePart ; if ( _fractionalPart >= FRAC_HALF ) { loc0 ++ ; } int loc1 = _relativeDecimalExponent ; if ( loc0 < MAX_REP_WHOLE_PART ) { return new NormalisedDecimal ( loc0 , 0 , loc1 ) ; } return new NormalisedDecimal ( loc0 / 10 , 0 , loc1 + 1 ) ; } | rounds at the digit with value 10decimalexponent concode_field_sep int C_2_POW_19 concode_elem_sep BigDecimal BD_2_POW_24 concode_elem_sep long _wholePart concode_elem_sep int FRAC_HALF concode_elem_sep int _fractionalPart concode_elem_sep int EXPONENT_OFFSET concode_elem_sep long MAX_REP_WHOLE_PART concode_elem_sep in... |
String function ( ) { return String . format ( "srini_string" , temp ) ; } | prints temperature concode_field_sep double temp concode_field_sep void setAltitude concode_elem_sep double getAltitude concode_elem_sep void getTemperatureInK concode_elem_sep void getTemperatureInF concode_elem_sep void getTemperatureInC |
void function ( java . lang . String [ ] arg0 ) { this . newAdUnitIds = arg0 ; } | sets the newadunitids value for this suggestedadunitupdateresult . concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Integer numChanges concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String[] newAdUnitIds concode... |
void function ( Object arg0 , String arg1 , HttpServletResponse arg2 ) { writerZip ( arg1 + "srini_string" + objectMapper . writeValueAsString ( arg0 ) + "srini_string" , arg2 , JSON_TYPE ) ; } | gzip start concode_field_sep Integer defaultPagesize concode_elem_sep Logger logger concode_elem_sep String x_app concode_elem_sep String x_device concode_elem_sep int MENU_BANLANCE concode_elem_sep String JSON_TYPE concode_elem_sep int MENU_PERSONAL concode_elem_sep int MENU_COLLECT concode_elem_sep String x_channel c... |
T function ( Callable < T > arg0 ) { FutureTask < T > loc0 = new FutureTask < T > ( arg0 ) ; runOnUiThread ( loc0 ) ; try { return loc0 . get ( ) ; } catch ( InterruptedException loc1 ) { throw new RuntimeException ( "srini_string" , loc1 ) ; } } | run the supplied callable on the main thread , the method will block until the callable completes . concode_field_sep Handler sUiThreadHandler concode_field_sep FutureTask<T> runOnUiThread concode_elem_sep FutureTask<T> runOnUiThread concode_elem_sep void runOnUiThread concode_elem_sep void postOnUiThreadDelayed concod... |
long function ( ) { return id ; } | returns the id concode_field_sep int mode concode_elem_sep int rangePosition concode_elem_sep int size concode_elem_sep SessionInterface session concode_elem_sep int currentPos concode_elem_sep long id concode_elem_sep boolean isIterator concode_field_sep boolean next concode_elem_sep int getRowNumber concode_elem_sep ... |
void function ( int arg0 ) { if ( quoteStart != - 1 ) { out . append ( src , quoteStart , arg0 - quoteStart ) ; quoteStart = - 1 ; } } | when in a sequence of characters that can be copied directly , interrupts the sequence and copies it to the output buffer . concode_field_sep int charStart concode_elem_sep ByteList src concode_elem_sep int pos concode_elem_sep int srcEnd concode_elem_sep int quoteStart concode_elem_sep ThreadContext context concode_el... |
Integer function ( ) { return this . tablesLoaded ; } | the number of tables loaded for this task . concode_field_sep Integer tablesLoading concode_elem_sep Integer fullLoadProgressPercent concode_elem_sep Integer tablesQueued concode_elem_sep Integer tablesLoaded concode_elem_sep Integer tablesErrored concode_elem_sep Long elapsedTimeMillis concode_field_sep void setTables... |
void function ( Object [ ] arg0 , Object arg1 , EntityPersister arg2 ) { if ( ! arg2 . isVersioned ( ) ) { return ; } arg0 [ arg2 . getVersionProperty ( ) ] = arg1 ; } | inject the optimistic locking value into the entity state snapshot . concode_field_sep CoreMessageLogger LOG concode_field_sep Object getVersion concode_elem_sep Object seed concode_elem_sep boolean isVersionIncrementRequired concode_elem_sep Object increment concode_elem_sep boolean seedVersion |
String function ( long arg0 ) { int loc0 = ( int ) arg0 & 15 ; arg0 >>>= 4 ; char [ ] loc1 = new char [ loc0 ] ; do { loc1 [ -- loc0 ] = BASE_32 [ ( int ) ( arg0 & 31L ) ] ; arg0 >>>= 5 ; } while ( loc0 > 0 ) ; return new String ( loc1 ) ; } | encode to a geohash string from the geohash based long format concode_field_sep int PRECISION concode_elem_sep short MORTON_OFFSET concode_elem_sep String BASE_32_STRING concode_elem_sep char[] BASE_32 concode_field_sep long fromMorton concode_elem_sep char encode concode_elem_sep long longEncode concode_elem_sep long ... |
void function ( String arg0 , Directory arg1 ) { if ( arg0 != null ) { SegmentInfos . writeSegmentsGen ( arg1 , SegmentInfos . generationFromSegmentsFileName ( arg0 ) ) ; } else { try { arg1 . deleteFile ( IndexFileNames . SEGMENTS_GEN ) ; } catch ( Throwable loc1 ) { } } } | writes indexfilenames #segments_gen file to the directory , readingthe generation from the given segmentsfile . if it is null , this method deletes segments.gen from the directory . concode_field_sep InfoStream infoStream concode_elem_sep Callable<Boolean> callback concode_elem_sep String INFO_STREAM_COMPONENT concode_... |
ListInstancesResult function ( java . util . Collection < Instance > arg0 ) { setInstances ( arg0 ) ; return this ; } | the list of instances for the cluster and given filters . concode_field_sep com.amazonaws.internal.SdkInternalList<Instance> instances concode_elem_sep String marker concode_field_sep java.util.List<Instance> getInstances concode_elem_sep void setInstances concode_elem_sep String getMarker concode_elem_sep void setMark... |
void function ( ) { Airport loc0 ; try { loc0 = airportDao . getAirport ( ( long ) 1 ) ; Assert . assertEquals ( loc0 . getId ( ) , 1 ) ; loc0 = airportDao . getAirport ( ( long ) 1000 ) ; Assert . assertEquals ( loc0 , null ) ; } catch ( DatabaseException loc1 ) { loc1 . printStackTrace ( ) ; } } | test getting an specific airport concode_field_sep AirportDao airportDao concode_field_sep void testgetAirports concode_elem_sep void testdeleteAirport concode_elem_sep void testcreateAirport |
Array < Skin > function ( ) { return skins ; } | returns all skins , including the default skin . concode_field_sep Array<SlotData> slots concode_elem_sep Array<IkConstraintData> ikConstraints concode_elem_sep Array<Animation> animations concode_elem_sep Array<BoneData> bones concode_elem_sep Skin defaultSkin concode_elem_sep String version concode_elem_sep Array<Ski... |
void function ( int arg0 , ContentValues arg1 ) { DemoDBManager . getInstance ( ) . updateMessage ( arg0 , arg1 ) ; } | update message concode_field_sep String TABLE_NAME concode_elem_sep String COLUMN_NAME_ISINVITEFROMME concode_elem_sep String COLUMN_NAME_GROUP_Name concode_elem_sep String COLUMN_NAME_GROUPINVITER concode_elem_sep String COLUMN_NAME_UNREAD_MSG_COUNT concode_elem_sep String COLUMN_NAME_STATUS concode_elem_sep String CO... |
Type function ( ) { if ( coordinates [ 0 ] . length == 1 ) return Type . POINT ; else if ( coordinates [ 0 ] . length > 2 ) return Type . POLYGON ; else { if ( Float . isNaN ( coordinates [ 0 ] [ 1 ] ) ) return Type . CIRCLE ; else return Type . BOX ; } } | returns the type of this geoshape . concode_field_sep float latitude concode_elem_sep float[][] coordinates concode_elem_sep SpatialContext CTX concode_elem_sep float longitude concode_field_sep Point getPoint concode_elem_sep Point getPoint concode_elem_sep boolean intersect concode_elem_sep float getLongitude concode... |
void function ( ) { DefaultKeyedValue loc0 = new DefaultKeyedValue ( "srini_string" , new Double ( 25.3 ) ) ; DefaultKeyedValue loc1 = ( DefaultKeyedValue ) TestUtilities . serialised ( loc0 ) ; assertEquals ( loc0 , loc1 ) ; } | serialize an instance , restore it , and check for equality . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testConstructor concode_elem_sep void testEquals |
byte [ ] function ( ) { return stream . toByteArray ( ) ; } | convert the contents of the output stream to a byte array . concode_field_sep byte[] stringBytes concode_elem_sep byte[] intBytes concode_elem_sep char[] stringChars concode_elem_sep ByteArrayOutputStream stream concode_elem_sep byte[] longintBytes concode_field_sep void writeType concode_elem_sep void writeUnderHandle... |
void function ( ) { String loc0 = "srini_string" ; client . sendMessage ( "srini_string" + loc0 ) ; assertEquals ( "srini_string" , "srini_string" + main_clientUsername , client . getLastServerResponse ( ) ) ; } | written concode_field_sep String main_clientUsername concode_elem_sep ClientStub client concode_field_sep void setUpBeforeClass concode_elem_sep void testIdenRegistered_AfterRegisteredSameUsernameInLowercase concode_elem_sep void testIdenRegistered_AfterRegisteredSameUsername concode_elem_sep void tearDownAfterClass |
void function ( int arg0 ) { this . maxThreadCount = arg0 ; } | expert : directly set the maximum number of merge threads and simultaneous merges allowed . concode_field_sep Setting<Integer> MAX_MERGE_COUNT_SETTING concode_elem_sep int maxThreadCount concode_elem_sep int maxMergeCount concode_elem_sep boolean autoThrottle concode_elem_sep Setting<Boolean> AUTO_THROTTLE_SETTING conc... |
void function ( int arg0 ) { bits [ arg0 >> 5 ] |= 1 << ( arg0 & 0x1F ) ; } | sets bit i. concode_field_sep int size concode_elem_sep int[] bits concode_field_sep void setRange concode_elem_sep void toBytes concode_elem_sep void clear concode_elem_sep int getNextUnset concode_elem_sep void reverse concode_elem_sep boolean isRange concode_elem_sep int getSize concode_elem_sep void appendBit conco... |
CompanyResponse function ( ) { return new CompanyResponse ( ) ; } | create an instance of companyresponse concode_field_sep QName _Company_QNAME concode_elem_sep QName _CompanyRequest_QNAME concode_elem_sep QName _CompanyResponse_QNAME concode_field_sep GetRequestVerb createGetRequestVerb concode_elem_sep DeleteRequest createDeleteRequest concode_elem_sep DeleteResponse createDeleteRes... |
void function ( CodeOrText arg0 ) { this . type = arg0 ; } | sets the value of the type property . concode_field_sep PlaceAuthority authority concode_elem_sep CodeOrText type concode_elem_sep String value concode_field_sep String getValue concode_elem_sep void setAuthority concode_elem_sep CodeOrText getType concode_elem_sep void setValue concode_elem_sep PlaceAuthority getAutho... |
boolean function ( Context arg0 ) { return ContextUtils . getAppSharedPreferences ( ) . getBoolean ( PREF_RLZ_NOTIFIED , false ) ; } | returns whether the rlz provider has been notified that the first search has occurred . concode_field_sep String PREF_RLZ_NOTIFIED concode_elem_sep AtomicReference<RevenueStats> sInstance concode_field_sep void setRlzParameterValue concode_elem_sep void setSearchClient concode_elem_sep void setRlzNotified concode_elem_... |
void function ( Collection < String > arg0 ) { this . matchingPaths = arg0 ; } | sets the collection containing the paths of all files in the hdfs listing whose modification date was equal to #getlatesttimestamp concode_field_sep Date latestTimestamp concode_elem_sep Collection<String> matchingPaths concode_field_sep Set<Path> toPaths concode_elem_sep Collection<String> getMatchingPaths concode_ele... |
BXDomImpl function ( ) { return INSTANCE ; } | returns the only instance of this class . concode_field_sep BXDomImpl INSTANCE concode_field_sep boolean hasFeature concode_elem_sep BXDoc createDocument concode_elem_sep DocumentType createDocumentType concode_elem_sep Object getFeature |
int function ( ) { return scriptStart ; } | get the start of this script run concode_field_sep boolean combineCJ concode_elem_sep int scriptCode concode_elem_sep int scriptLimit concode_elem_sep char text[] concode_elem_sep int start concode_elem_sep int limit concode_elem_sep int index concode_elem_sep int scriptStart concode_elem_sep int basicLatin[] concode_f... |
void function ( HashMap < Integer , ItemStack > arg0 , Player arg1 ) { if ( ! arg0 . isEmpty ( ) ) { for ( Entry < Integer , ItemStack > loc0 : arg0 . entrySet ( ) ) { arg1 . getWorld ( ) . dropItemNaturally ( arg1 . getLocation ( ) , loc0 . getValue ( ) ) ; } } } | drop items at player 's location . concode_field_sep PlaceHolder placeHolder concode_field_sep void swap concode_elem_sep void movePlayerInventoryToContainer concode_elem_sep boolean isEmpty concode_elem_sep boolean moveInventoryToInventory concode_elem_sep HashMap<Integer,ItemStack> addItemToInventory concode_elem_sep... |
void function ( Integer arg0 ) { this . id = arg0 ; } | define valor do atributo id . concode_field_sep Integer idTipoItemConfiguracao concode_elem_sep Integer idBaseItemConfiguracaoPai concode_elem_sep Date dataFim concode_elem_sep TipoItemConfiguracaoDTO tipoItemConfiguracao concode_elem_sep String executavel concode_elem_sep String comando concode_elem_sep String nome co... |
LinkedBlockingQueue < E > function ( int arg0 ) { return new LinkedBlockingQueue < E > ( arg0 ) ; } | creates an empty linkedblockingqueue with the given fixed capacity . concode_field_sep PlaceHolder placeHolder concode_field_sep SynchronousQueue<E> newSynchronousQueue concode_elem_sep ConcurrentLinkedQueue<E> newConcurrentLinkedQueue concode_elem_sep ConcurrentLinkedQueue<E> newConcurrentLinkedQueue concode_elem_sep ... |
void function ( PacketBuffer arg0 ) { arg0 . writeVarIntToBuffer ( this . entityId ) ; arg0 . writeVarIntArray ( this . passengerIds ) ; } | writes the raw packet data to the data stream . concode_field_sep int[] passengerIds concode_elem_sep int entityId concode_field_sep int getEntityId concode_elem_sep void processPacket concode_elem_sep int[] getPassengerIds concode_elem_sep void readPacketData |
void function ( MetadataFactory arg0 , ExecutionFactory < F , C > arg1 , F arg2 ) { } | loads the schema information for the vdb for the given schemaname . loads table , procedures , functions , indexes etc. . concode_field_sep PlaceHolder placeHolder concode_field_sep void setColumnStats concode_elem_sep void setProperty concode_elem_sep void setProcedureDefinition concode_elem_sep void setInsteadOfTrigg... |
void function ( ) { try { if ( writer != null ) { writer . flush ( ) ; writer . close ( ) ; writer = null ; } } catch ( IOException loc0 ) { loc0 . printStackTrace ( ) ; } } | close the writer concode_field_sep String item concode_elem_sep BufferedReader reader concode_elem_sep String pos concode_elem_sep List<FileListener> fileListeners concode_elem_sep BufferedWriter writer concode_field_sep String[] getLinesWithPOS concode_elem_sep void closeReader concode_elem_sep void createReader conco... |
void function ( boolean arg0 ) { ContextUtils . getAppSharedPreferences ( ) . edit ( ) . putBoolean ( PREF_AUTO_SWITCH , arg0 ) . apply ( ) ; } | sets whether auto switch for search engine is enabled . concode_field_sep String PREF_PROMO_SHOWN concode_elem_sep String SPECIAL_LOCALE_ID concode_elem_sep LocaleManager sInstance concode_elem_sep WeakReference<SnackbarManager> mSnackbarManager concode_elem_sep String PREF_AUTO_SWITCH concode_elem_sep String PREF_WAS_... |
AnimatedDrawableOptionsBuilder function ( boolean arg0 ) { mForceKeepAllFramesInMemory = arg0 ; return this ; } | sets whether all the rendered frames should be held in memory disregarding other constraints . concode_field_sep boolean mAllowPrefetching concode_elem_sep int mMaximumBytes concode_elem_sep boolean mForceKeepAllFramesInMemory concode_elem_sep boolean mEnableDebugging concode_field_sep int getMaximumBytes concode_elem_... |
void function ( float arg0 ) { if ( arg0 > 25f ) { throw new IllegalArgumentException ( "srini_string" ) ; } this . fps = arg0 ; ea . add ( "srini_string" , arg0 ) ; } | set the frames per second of this effect . max is 25 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 ... |
void function ( String arg0 ) { handlers . remove ( arg0 ) ; } | remove a protocol from this handler . this will remove all upgrade handlers that match the product string concode_field_sep HttpUpgradeHandshake handshake concode_elem_sep HttpHandler nonUpgradeHandler concode_elem_sep CopyOnWriteMap<String,List<Holder>> handlers concode_elem_sep ChannelListener<? super StreamConnectio... |
Exception function ( Method arg0 , Throwable arg1 , String arg2 ) { if ( logger . isDebugEnabled ( ) ) { logger . debug ( arg2 , arg1 ) ; } if ( ReflectionUtils . declaresException ( arg0 , RemoteException . class ) ) { return new RemoteException ( arg2 , arg1 ) ; } else { return new RemoteAccessException ( arg2 , arg1... | wrap the given arbitrary exception that happened during remote access in either a remoteexception or a spring remoteaccessexception if the method signature does not support remoteexception . only call this for remote access exceptions , not for exceptions thrown by the target service itself ! concode_field_sep Log logg... |
Object function ( ) { return getSavepointManager ( ) . createSavepoint ( ) ; } | this implementation delegates to a savepointmanager for the underlying transaction , if possible . concode_field_sep boolean rollbackOnly concode_elem_sep Object savepoint concode_elem_sep boolean completed concode_field_sep boolean isLocalRollbackOnly concode_elem_sep Object getSavepoint concode_elem_sep void setCompl... |
boolean function ( ) { return route . address . sslSocketFactory != null && route . proxy . type ( ) == Proxy . Type . HTTP ; } | returns true if the http connection needs to tunnel one protocol over another , such as when using https through an http proxy . when doing so , we must avoid buffering bytes intended for the higher-level protocol . concode_field_sep int httpMinorVersion concode_elem_sep byte[] HTTP_11 concode_elem_sep Route route conc... |
boolean function ( ) { return expanded ; } | return the value of the expanded property . concode_field_sep String branchContractedIcon concode_elem_sep boolean expanded concode_elem_sep String tooltip concode_elem_sep String branchExpandedIcon concode_elem_sep String icon concode_elem_sep String action concode_elem_sep DefaultMutableTreeNode wrapper concode_elem_... |
Integer function ( ) { return this . appsCount ; } | the number of apps . concode_field_sep Integer appsCount concode_elem_sep String stackId concode_elem_sep String name concode_elem_sep InstancesCount instancesCount concode_elem_sep Integer layersCount concode_elem_sep String arn concode_field_sep void setName concode_elem_sep void setStackId concode_elem_sep String ge... |
void function ( MultipleConnection2 arg0 ) { ConnectionEvent loc0 = new ConnectionEvent ( this , ConnectionEvent . CONNECTION_CLOSED ) ; loc0 . setConnectionHandle ( arg0 ) ; for ( ConnectionEventListener loc1 : listeners ) { loc1 . connectionClosed ( loc0 ) ; } } | close handle concode_field_sep Logger log concode_elem_sep MultipleManagedConnectionFactory2 mcf concode_elem_sep List<ConnectionEventListener> listeners concode_elem_sep Object connection concode_elem_sep PrintWriter logwriter concode_field_sep void associateConnection concode_elem_sep Object getConnection concode_ele... |
boolean function ( String arg0 ) { return packageSet . contains ( arg0 ) ; } | return true if the given package is known to this catalog . concode_field_sep Map<String,Set<ClassDoc>> enums concode_elem_sep Map<String,Set<ClassDoc>> interfaces concode_elem_sep Set<String> packageSet concode_elem_sep Configuration configuration concode_elem_sep Map<String,Set<ClassDoc>> ordinaryClasses concode_elem... |
boolean function ( ) { return ! getState ( ) . isAlive ( ) ; } | isidle fixme rename concode_field_sep State mState concode_elem_sep Connection earliest concode_elem_sep long base concode_field_sep boolean isAlive concode_elem_sep State getState concode_elem_sep void setConn concode_elem_sep void setState concode_elem_sep boolean hasConnections concode_elem_sep boolean isRinging con... |
T function ( Supplier < T > arg0 ) { return withTransaction ( "srini_string" , false , arg0 ) ; } | run a block of code in a jpa transaction . concode_field_sep JPAApi jpaApi concode_elem_sep JPAConfig jpaConfig concode_elem_sep JPAEntityManagerContext entityManagerContext concode_elem_sep Map<String,EntityManagerFactory> emfs concode_field_sep JPAApi get concode_elem_sep JPAApi start concode_elem_sep EntityManager e... |
void function ( final Table arg0 ) { tableMap . remove ( arg0 . getName ( ) ) ; } | removes a table object from the list of table objects maintained by thisdatabase object . note that the actual table file the . dbf file is not deleted by removing the table object . to delete a file on disk , see table #delete . concode_field_sep Map<String,Table> tableMap concode_elem_sep File databaseDirectory conco... |
Date function ( ) { return getLastRunWithStatus ( jobFailedEventId ) ; } | gets the last date the job was failed . concode_field_sep String jobName concode_elem_sep String JOB_FAILED_SUFFIX concode_elem_sep String jobFailedEventId concode_elem_sep String JOB_STARTED_SUFFIX concode_elem_sep AuditLogger logger concode_elem_sep String JOB_ENDED_SUFFIX concode_elem_sep String jobStartedEventId co... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.