idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
30,400 | put string data to shared preferences in private mode . concode_field_sep int DEFAULT_INDEX concode_field_sep void putFloat concode_elem_sep int getInt concode_elem_sep void clearPreferences concode_elem_sep void putInt concode_elem_sep boolean getBoolean concode_elem_sep String getString concode_elem_sep float getFloa... | void function ( Context arg0 , String arg1 , String arg2 ) { SharedPreferences loc0 = arg0 . getSharedPreferences ( arg0 . getResources ( ) . getString ( R . string . shared_pref_package ) , Context . MODE_PRIVATE ) ; Editor loc1 = loc0 . edit ( ) ; loc1 . putString ( arg1 , arg2 ) ; loc1 . commit ( ) ; } |
30,401 | test calculating net tax under 10 % slab income . concode_field_sep SalaryDetails salaryDetails concode_field_sep void testCalculateTaxForNonTaxableIncome concode_elem_sep void setUp concode_elem_sep void testCalculateTaxForTwentyPercentSlab concode_elem_sep void testCalculateTaxForTenPercentSlab | void function ( ) { TaxCalculator loc0 = new TaxCalculator ( 1500000 ) ; assertEquals ( 283250.0 , loc0 . computeTax ( ) , 0.0 ) ; } |
30,402 | returns whether the lines match between this instance and the one given . concode_field_sep int address concode_elem_sep int line concode_elem_sep SourcePosition NO_INFO concode_elem_sep CstString sourceFile concode_field_sep boolean sameLineAndFile concode_elem_sep int hashCode concode_elem_sep CstString getSourceFile... | boolean function ( SourcePosition arg0 ) { return ( line == arg0 . line ) ; } |
30,403 | closes this buffer . any further operations on a closed buffer will result in a nullpointerexception . concode_field_sep ByteBuffer data concode_field_sep void emitBytes concode_elem_sep void emitBytes concode_elem_sep int getByte concode_elem_sep int getShort concode_elem_sep void copyInto concode_elem_sep void emitSh... | byte [ ] function ( boolean arg0 ) { byte [ ] loc0 = data . array ( ) ; if ( arg0 ) { loc0 = Arrays . copyOf ( loc0 , data . position ( ) ) ; } data = null ; return loc0 ; } |
30,404 | return the orb for this irobject . concode_field_sep DefinitionKind def_kind concode_elem_sep RepositoryImpl repository concode_field_sep POA getPOA concode_elem_sep org.omg.CORBA.Object servantToReference concode_elem_sep RepositoryImpl getRepository concode_elem_sep DefinitionKind def_kind concode_elem_sep void destr... | ORB function ( ) { return repository . orb ; } |
30,405 | unsupported operation , throws an unsupportedoperationexception since this list is read-only . concode_field_sep String READ_ONLY_ERROR_MESSAGE concode_elem_sep Logger LOGGER concode_elem_sep Map<ServiceReference,T> serviceMap concode_field_sep boolean add concode_elem_sep void add concode_elem_sep int compare concode_... | T function ( int arg0 ) { throw new UnsupportedOperationException ( READ_ONLY_ERROR_MESSAGE ) ; } |
30,406 | return the list of exception resolvers to delegate to . concode_field_sep int order concode_elem_sep List<HandlerExceptionResolver> resolvers concode_field_sep void setOrder concode_elem_sep int getOrder concode_elem_sep void setExceptionResolvers concode_elem_sep ModelAndView resolveException | List < HandlerExceptionResolver > function ( ) { return Collections . unmodifiableList ( resolvers ) ; } |
30,407 | call this to start the server . concode_field_sep boolean hasRequestedShutdown concode_elem_sep ObjectSocketWrapper clientSocket concode_elem_sep ObserverLord<O> observerLord concode_elem_sep boolean isServerRunning concode_elem_sep P protocol concode_elem_sep Logger logger concode_elem_sep int port concode_elem_sep Se... | boolean function ( ) { port = connect ( ) ; if ( port == - 1 ) { return false ; } communicationThread = new Thread ( new Runnable ( ) { public void run ( ) { listenForConnections ( ) ; } } ) ; communicationThread . start ( ) ; communicationsStarted ( ) ; return true ; } |
30,408 | calls the service layer for new auction data and merges it with the current state of the auctionbean . this method is called from the datarefreshlistener for each request/response cycle . it is important that underlying service call has a caching layer to avoid making costly db or web services on every call . concode_f... | void function ( ) { AuctionBean loc0 = ( AuctionBean ) FacesUtils . getManagedBean ( BeanNames . AUCTION_BEAN ) ; refreshAuctionBean ( loc0 ) ; } |
30,409 | invoked prior to the caret setting the dot . the default implementation calls directly into the filterbypass with the passed in arguments . subclasses may wish to conditionally call super with a different location , or invoke the necessary method on the filterbypass concode_field_sep PlaceHolder placeHolder concode_fie... | void function ( FilterBypass arg0 , int arg1 , Position . Bias arg2 ) { arg0 . setDot ( arg1 , arg2 ) ; } |
30,410 | append either the value true or the value false . concode_field_sep char mode concode_elem_sep boolean comma concode_elem_sep int top concode_elem_sep int maxdepth concode_elem_sep Writer writer concode_elem_sep JSONObject stack[] concode_field_sep void pop concode_elem_sep JSONWriter array concode_elem_sep JSONWriter ... | JSONWriter function ( boolean arg0 ) { return this . append ( arg0 ? "srini_string" : "srini_string" ) ; } |
30,411 | gets user name of sipurl returns null if user name does not exist concode_field_sep String ttl_param concode_elem_sep String maddr_param concode_elem_sep String transport_param concode_elem_sep String lr_param concode_elem_sep String url concode_field_sep void addTransport concode_elem_sep void addLr concode_elem_sep S... | String function ( ) { int loc0 = 4 ; int loc1 = url . indexOf ( '@' , loc0 ) ; if ( loc1 < 0 ) return null ; else return url . substring ( loc0 , loc1 ) ; } |
30,412 | unit tests the primmst data type . concode_field_sep boolean[] marked concode_elem_sep IndexMinPQ<Double> pq concode_elem_sep Edge[] edgeTo concode_elem_sep double[] distTo concode_elem_sep double FLOATING_POINT_EPSILON concode_field_sep void prim concode_elem_sep void scan concode_elem_sep Iterable<Edge> edges concode... | void function ( String [ ] arg0 ) { In loc0 = new In ( arg0 [ 0 ] ) ; EdgeWeightedGraph loc1 = new EdgeWeightedGraph ( loc0 ) ; PrimMST loc2 = new PrimMST ( loc1 ) ; for ( Edge loc3 : loc2 . edges ( ) ) { StdOut . println ( loc3 ) ; } StdOut . printf ( "srini_string" , loc2 . weight ( ) ) ; } |
30,413 | creates and returns a formatted aligned , multi-line string representation of this object concode_field_sep long depth concode_elem_sep int firstMipmapLevel concode_elem_sep int firstLayer concode_elem_sep int lastLayer concode_elem_sep int format concode_elem_sep long width concode_elem_sep int lastMipmapLevel concode... | String function ( ) { return "srini_string" + createString ( "srini_string" ) ; } |
30,414 | start a thread with a given name and the given closure as a runnable instance . concode_field_sep PlaceHolder placeHolder concode_field_sep void sleep concode_elem_sep void sleep concode_elem_sep Thread createThread concode_elem_sep Matcher getLastMatcher concode_elem_sep Date parseToStringDate concode_elem_sep long cu... | Thread function ( Thread arg0 , String arg1 , Closure arg2 ) { return createThread ( arg1 , false , arg2 ) ; } |
30,415 | increments the counter of canceled blocks . concode_field_sep String CAPACITY_USED concode_elem_sep String BLOCKS_READ_REMOTE concode_elem_sep String BLOCKS_WRITTEN_LOCAL concode_elem_sep Counter mBytesWrittenUfs concode_elem_sep String BYTES_WRITTEN_LOCAL concode_elem_sep Counter mBlocksCanceled concode_elem_sep Strin... | void function ( long arg0 ) { mBlocksCanceled . inc ( arg0 ) ; } |
30,416 | sets the value of the additionalrefillamountincents property . concode_field_sep BigInteger additionalRefillAmountInCents concode_elem_sep BigInteger reservedBalanceInCents concode_elem_sep BigInteger nextChargeAmountInCents concode_elem_sep Boolean isEstimatedChargeAmount concode_elem_sep long serialVersionUID concode... | void function ( BigInteger arg0 ) { this . additionalRefillAmountInCents = arg0 ; } |
30,417 | http://jira.codehaus.org/browse/geot-1923 concode_field_sep LiteCoordinateSequenceFactory csf concode_elem_sep GeometryFactory gf concode_field_sep void testDistance concode_elem_sep void testDecimate3DLine concode_elem_sep void testDecimateOpenTriangle concode_elem_sep void testDecimatePseudoRing concode_elem_sep void... | void function ( ) { LinearRing loc0 = gf . createLinearRing ( csf . create ( new double [ ] { 0 , 0 , 0 , 10 , 2 , 10 , 2 , 0 , 0 , 0 } ) ) ; assertTrue ( loc0 . isValid ( ) ) ; Decimator loc1 = new Decimator ( 20 , 20 ) ; loc1 . decimate ( loc0 ) ; loc0 . geometryChanged ( ) ; assertTrue ( loc0 . isValid ( ) ) ; asser... |
30,418 | sets the value of the retainscurrentexpirationdate property . concode_field_sep DataBalance throttleThreshold concode_elem_sep String identifier concode_elem_sep BigInteger costPerMbInCents concode_elem_sep boolean requiresAutoRenew concode_elem_sep Boolean unlimited concode_elem_sep String description concode_elem_sep... | void function ( boolean arg0 ) { this . retainsCurrentExpirationDate = arg0 ; } |
30,419 | updates the message boards ban in the database or adds it if it does not yet exist . also notifies the appropriate model listeners . concode_field_sep MBBanLocalService _mbBanLocalService concode_field_sep com.liferay.portlet.messageboards.model.MBBan createMBBan concode_elem_sep void setWrappedService concode_elem_sep... | com . liferay . portlet . messageboards . model . MBBan function ( com . liferay . portlet . messageboards . model . MBBan arg0 , boolean arg1 ) { return _mbBanLocalService . updateMBBan ( arg0 , arg1 ) ; } |
30,420 | gets the value of the status property . concode_field_sep int sessionCount concode_elem_sep String name concode_elem_sep int version concode_elem_sep String status concode_field_sep void setName concode_elem_sep int getVersion concode_elem_sep int getSessionCount concode_elem_sep String getName concode_elem_sep int nul... | String function ( ) { return status ; } |
30,421 | tests that a javax.ejb.sessioncontext is injected into a stateful bean , via the @resource annotation concode_field_sep InitialContext ctx concode_field_sep T lookup concode_elem_sep void testSetSessionContextOnSLSB concode_elem_sep void testWasCancelledCalled concode_elem_sep void testSessionContextInjectionOnSLSB con... | void function ( ) { final SFSBImplementingSessionBean loc0 = lookup ( SFSBImplementingSessionBean . class ) ; Assert . assertTrue ( "srini_string" , loc0 . wasSessionContextInjected ( ) ) ; } |
30,422 | determines whether to create comments . concode_field_sep boolean fImports concode_elem_sep ITypeBinding fType concode_elem_sep boolean fOmitSuper concode_elem_sep boolean fSave concode_elem_sep IFunctionBinding[] fConstructorsToImplement concode_elem_sep JavaScriptUnit fASTRoot concode_elem_sep String[] fCreatedImport... | void function ( final boolean arg0 ) { fCreateComments = arg0 ; } |
30,423 | returns true if there are uncommitted changes . concode_field_sep boolean hasUnpublishedChanges concode_elem_sep boolean hasUncommittedChanges concode_elem_sep String branch concode_elem_sep String revision concode_field_sep Builder withBranch concode_elem_sep boolean hasUnpublishedChanges concode_elem_sep VcsStatus bu... | boolean function ( ) { return hasUncommittedChanges ; } |
30,424 | return width of pixel region concode_field_sep ColorModel model concode_elem_sep int scansize concode_elem_sep int offset concode_elem_sep boolean grabbing concode_elem_sep byte pixel_bufferb[] concode_elem_sep ImageProducer ip concode_elem_sep int x concode_elem_sep int width concode_elem_sep int y concode_elem_sep in... | int function ( ) { return width ; } |
30,425 | the id of the security group . concode_field_sep String groupId concode_field_sep void setGroupId concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep CreateSecurityGroupResult clone concode_elem_sep String toString concode_elem_sep String getGroupId | CreateSecurityGroupResult function ( String arg0 ) { setGroupId ( arg0 ) ; return this ; } |
30,426 | removes the account with the primary key from the database . also notifies the appropriate model listeners . concode_field_sep AccountPersistence _persistence concode_field_sep int countAll concode_elem_sep void cacheResult concode_elem_sep void cacheResult concode_elem_sep List<Account> findWithDynamicQuery concode_el... | Account function ( long arg0 ) { return getPersistence ( ) . remove ( arg0 ) ; } |
30,427 | sets the value of the newcnt property . concode_field_sep Integer newCnt concode_elem_sep List<ContactListType> contactList concode_elem_sep Integer modifiedCnt concode_elem_sep long serialVersionUID concode_elem_sep int contactCnt concode_field_sep void setContactCnt concode_elem_sep Integer getModifiedCnt concode_ele... | void function ( Integer arg0 ) { this . newCnt = arg0 ; } |
30,428 | it returns the size of the itemset in a specified projection of the sequence concode_field_sep Sequence sequence concode_elem_sep List<Integer> firstItemset concode_elem_sep List<Integer> firstItem concode_elem_sep List<Long> timeShift concode_field_sep boolean isFirstItemset concode_elem_sep int numberOfProjectionsInc... | int function ( int arg0 , int arg1 ) { int loc0 = sequence . getItemsets ( ) . get ( arg1 + this . firstItemset . get ( arg0 ) ) . loc0 ( ) ; if ( isFirstItemset ( arg1 ) ) { loc0 -= firstItem . get ( arg0 ) ; } return loc0 ; } |
30,429 | this test validates that an index which is out of bounds throws an indexoutofboundsexcpetion . concode_field_sep TupleTypeInfo<Tuple5<Integer,Long,String,Long,Integer>> tupleTypeInfo concode_elem_sep String myString concode_elem_sep List<CustomType> customTypeData concode_elem_sep long myLong concode_elem_sep long seri... | void function ( ) { final ExecutionEnvironment loc0 = ExecutionEnvironment . getExecutionEnvironment ( ) ; UnsortedGrouping < Tuple5 < Integer , Long , String , Long , Integer >> loc1 = loc0 . fromCollection ( emptyTupleData , tupleTypeInfo ) . groupBy ( 0 ) ; loc1 . maxBy ( - 1 ) ; } |
30,430 | returns the number of decimal digits this formatter uses . concode_field_sep int mDecimalDigits concode_elem_sep DecimalFormat mFormat concode_field_sep String getFormattedValue concode_elem_sep void setup | int function ( ) { return mDecimalDigits ; } |
30,431 | testing method concode_field_sep double average concode_elem_sep int startingUid concode_elem_sep OpenIntIntHashMap count concode_elem_sep OpenIntDoubleHashMap sum concode_field_sep OpenIntIntHashMap cloneCount concode_elem_sep OpenIntDoubleHashMap cloneSum concode_elem_sep void findAverage concode_elem_sep void remove... | void function ( ) { IntArrayList loc0 = sum . loc0 ( ) ; int loc1 ; loc0 . sort ( ) ; for ( int loc2 = 0 ; loc2 < loc0 . size ( ) ; loc2 ++ ) { loc1 = loc0 . get ( loc2 ) ; System . out . println ( loc1 + "srini_string" + sum . get ( loc1 ) + "srini_string" + count . get ( loc1 ) ) ; } } |
30,432 | sets the value of the role property . concode_field_sep String role concode_elem_sep String arcrole 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_elem_sep String title concode_elem_sep CrsAltType crs... | void function ( String arg0 ) { this . role = arg0 ; } |
30,433 | returns true if the multiplicity is 0,1 or 1,1 . concode_field_sep BigInteger min concode_elem_sep Multiplicity STAR concode_elem_sep BigInteger max concode_elem_sep Multiplicity ONE concode_elem_sep Multiplicity OPTIONAL concode_elem_sep Multiplicity PLUS concode_elem_sep Multiplicity ZERO concode_field_sep Multiplici... | boolean function ( ) { if ( max == null ) return false ; return max . compareTo ( BigInteger . ONE ) <= 0 ; } |
30,434 | returns the most specific superclass for all the cell values in the column . this is used by the jtable to set up a default renderer and editor for the column . concode_field_sep byte BYTE concode_elem_sep JasDocument doc concode_elem_sep List<TableModelListener> listener concode_elem_sep boolean descending concode_ele... | Class < ? > function ( int arg0 ) { return String . class ; } |
30,435 | fill in the #value field by reading the required datafrom the given stream . this method first reads the array size as corba long and then calls the org.omg.corba.portable.inputstream #read_ulong_array . concode_field_sep ArrayTypeCode typecode concode_elem_sep int[] value concode_field_sep TypeCode _type concode_elem_... | void function ( InputStream arg0 ) { value = new int [ arg0 . read_long ( ) ] ; arg0 . read_ulong_array ( value , 0 , value . length ) ; typecode . setLength ( value . length ) ; } |
30,436 | calculates the variance of the error term . uses the formula var u = u & middot ; u / n - k where n and k are the row and column dimensions of the design matrix x. concode_field_sep boolean noIntercept concode_elem_sep RealMatrix xMatrix concode_elem_sep RealVector yVector concode_field_sep boolean isNoIntercept concod... | double function ( ) { RealVector loc0 = calculateResiduals ( ) ; return loc0 . dotProduct ( loc0 ) / ( xMatrix . getRowDimension ( ) - xMatrix . getColumnDimension ( ) ) ; } |
30,437 | it does n't matter if the waiter or the waitee runs getwaiter first . whoever requests it first will instantiate it . concode_field_sep boolean waiting concode_elem_sep boolean abort concode_elem_sep boolean notified concode_elem_sep String key concode_elem_sep Map map concode_field_sep void resume concode_elem_sep boo... | Waiter function ( String arg0 ) { Waiter loc0 = ( Waiter ) map . get ( arg0 ) ; if ( loc0 == null ) loc0 = new Waiter ( arg0 ) ; return loc0 ; } |
30,438 | calls casexxx for each class of the model until one returns a non null result ; it yields that result . concode_field_sep EmbeddedidPackage modelPackage concode_field_sep T caseName concode_elem_sep T casePerson concode_elem_sep T defaultCase | T function ( EClass arg0 , EObject arg1 ) { if ( arg0 . eContainer ( ) == modelPackage ) { return doSwitch ( arg0 . getClassifierID ( ) , arg1 ) ; } else { List < EClass > loc0 = arg0 . getESuperTypes ( ) ; return loc0 . isEmpty ( ) ? defaultCase ( arg1 ) : doSwitch ( loc0 . get ( 0 ) , arg1 ) ; } } |
30,439 | returns true if payload contains the specified keyword . if the item has no payload or keyword is null then return true . concode_field_sep Logger log concode_elem_sep LeafNode node concode_elem_sep BlockingQueue<SAXReader> xmlReaders concode_elem_sep Element payload concode_elem_sep String payloadXML concode_elem_sep ... | boolean function ( String arg0 ) { if ( getPayloadXML ( ) == null || arg0 == null ) { return true ; } return payloadXML . contains ( arg0 ) ; } |
30,440 | not-null value . concode_field_sep boolean userLesson concode_elem_sep String imagePath concode_elem_sep boolean bookmarked concode_elem_sep Long id concode_elem_sep List<FlashcardEntity> flashcardEntityList concode_elem_sep DaoSession daoSession concode_elem_sep LessonEntityDao myDao concode_elem_sep String lessonName... | String function ( ) { return imagePath ; } |
30,441 | if the type is set , convert into ovsdbset , if map , convert into ovsdbmap . concode_field_sep PlaceHolder placeHolder concode_field_sep Object getValueFromKvType concode_elem_sep Object transToValue concode_elem_sep Object getValueFromAtoType concode_elem_sep Object getValueFromJson | Object function ( Object arg0 ) { if ( arg0 instanceof Map ) { return OvsdbMap . ovsdbMap ( ( Map ) arg0 ) ; } else if ( arg0 instanceof Set ) { return OvsdbSet . ovsdbSet ( ( Set ) arg0 ) ; } else { return arg0 ; } } |
30,442 | returns the library version . concode_field_sep String licenceName concode_elem_sep String name concode_elem_sep String version concode_elem_sep String info concode_field_sep void setName concode_elem_sep String getName concode_elem_sep String getInfo concode_elem_sep void setVersion concode_elem_sep String getLicenceN... | String function ( ) { return this . version ; } |
30,443 | make sure we allocate a buffer sized not bigger than 2048 , not higher than what is actually needed , and at least one . concode_field_sep int BUFFER_SIZE concode_elem_sep CoreMessageLogger LOG concode_field_sep Object subStream concode_elem_sep InputStream subStream concode_elem_sep long determineLengthForBufferSizing... | int function ( final int arg0 ) { return Math . max ( 1 , Math . min ( arg0 , BUFFER_SIZE ) ) ; } |
30,444 | return a map view of the shipment-by-supplier index . concode_field_sep StoredSortedMap supplierByCityMap concode_elem_sep StoredSortedMap shipmentBySupplierMap concode_elem_sep StoredSortedMap supplierMap concode_elem_sep StoredSortedMap shipmentByPartMap concode_elem_sep StoredSortedMap partMap concode_elem_sep Store... | StoredSortedMap function ( ) { return shipmentBySupplierMap ; } |
30,445 | used to identify which toolboxes this plugin tool should be listed in . concode_field_sep String[] args concode_elem_sep boolean cancelOp concode_elem_sep WhiteboxPluginHost myHost concode_elem_sep boolean amIActive concode_field_sep String getName concode_elem_sep void setPluginHost concode_elem_sep void updateProgres... | String [ ] function ( ) { String [ ] loc0 = { "srini_string" } ; return loc0 ; } |
30,446 | serialize current pings to an array concode_field_sep DiscoveryNode node concode_elem_sep boolean hasJoinedOnce concode_elem_sep ClusterName clusterName concode_elem_sep Map<DiscoveryNode,PingResponse> pings concode_elem_sep long id concode_elem_sep PingResponse[] EMPTY concode_elem_sep AtomicLong idGenerator concode_e... | PingResponse [ ] function ( ) { return pings . values ( ) . toArray ( new PingResponse [ pings . size ( ) ] ) ; } |
30,447 | used to suspend the lookup thread , thread will hibernate once it has finished processing the current request concode_field_sep String HUNGARY_CODE concode_elem_sep StatusBarPanel statusBar concode_elem_sep JProgressBar progressBar concode_elem_sep String GERMANY_CODE concode_elem_sep Vector<Person> results concode_ele... | void function ( ) { thread . suspendLookup ( ) ; } |
30,448 | minimum number of sessions that this pool will always maintain . these will be created eagerly in parallel . defaults to 0 . concode_field_sep ActionOnExhaustion DEFAULT_ACTION concode_elem_sep int maxIdleSessions concode_elem_sep int maxSessions concode_elem_sep int keepAliveIntervalMinutes concode_elem_sep int keepAl... | Builder function ( int arg0 ) { Preconditions . checkArgument ( maxSessions >= arg0 , "srini_string" ) ; this . minSessions = arg0 ; return this ; } |
30,449 | gets the output value in text format concode_field_sep OutputType dataType concode_elem_sep String opType concode_elem_sep String measurementType concode_elem_sep String MEASUREMENT_SEP concode_elem_sep String STRING_SEP concode_elem_sep Object value concode_elem_sep String TYPE_SEP concode_field_sep String getKeyStrin... | Text function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( getValue ( ) ) ; return new Text ( loc0 . toString ( ) ) ; } |
30,450 | gets the string representation for false . default is `` false '' , if not set in constructor . concode_field_sep String trueString concode_elem_sep String falseString concode_field_sep String convertToPresentation concode_elem_sep Class<Boolean> getModelType concode_elem_sep Class<String> getPresentationType concode_e... | String function ( ) { return falseString ; } |
30,451 | gets the value of the name property . concode_field_sep String name concode_elem_sep List<String> value concode_field_sep void setName concode_elem_sep List<String> getValue | String function ( ) { return name ; } |
30,452 | if the gametype is currently not_set then change it to par1 concode_field_sep EntityPlayerMP thisPlayerMP concode_elem_sep WorldSettings.GameType gameType concode_elem_sep boolean receivedFinishDiggingPacket concode_elem_sep boolean isDestroyingBlock concode_elem_sep int durabilityRemainingOnBlock concode_elem_sep int ... | void function ( WorldSettings . GameType arg0 ) { if ( this . gameType == WorldSettings . GameType . NOT_SET ) { this . gameType = arg0 ; } this . setGameType ( this . gameType ) ; } |
30,453 | return an int between 4 and 512 concode_field_sep AbstractFactory factory concode_elem_sep AbstractCollisionDomain TAP concode_elem_sep int firewallsNumber concode_elem_sep int maxFirewalls concode_elem_sep AbstractProject project concode_elem_sep LinkedList<String> areas concode_elem_sep ArrayList<AbstractHost> hostsT... | int function ( ) { return r . nextInt ( 508 ) + 4 ; } |
30,454 | sets the attachment id of this attachment . concode_field_sep Attachment _attachment concode_field_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep Attachment getWrappedAttachment concode_elem_sep boolean isEscapedMode... | void function ( long arg0 ) { _attachment . setAttachmentId ( arg0 ) ; } |
30,455 | takes a list of feature names and parses every feature on its own concode_field_sep Timer timer concode_elem_sep List<Problem> parse_errors concode_elem_sep CheckPluginManager plugins concode_elem_sep Map<Feature,Directory> feature_directories concode_field_sep void parseAST concode_elem_sep String printParseErrors con... | void function ( String arg0 , List < Feature > arg1 ) { for ( int loc0 = 0 ; loc0 < arg1 . size ( ) ; loc0 ++ ) { parseFeature ( arg0 , arg1 . get ( loc0 ) ) ; } } |
30,456 | constructs and returns the base url for the system given a protocol concode_field_sep String PORT concode_elem_sep String PROTOCOL concode_elem_sep String HOST concode_elem_sep String DEFAULT_HTTPS_PORT concode_elem_sep String DEFAULT_HOST concode_elem_sep String HTTP_PORT concode_elem_sep String HTTPS_PORT concode_ele... | String function ( String arg0 ) { return constructUrl ( arg0 , null ) ; } |
30,457 | returns the fillpath . concode_field_sep boolean drawPath concode_elem_sep boolean fillPath concode_elem_sep double[] xValue concode_elem_sep Stroke drawStroke concode_elem_sep Paint drawPaint concode_elem_sep Paint fillPaint concode_elem_sep Composite composite concode_elem_sep double[] yValue concode_elem_sep boolean... | boolean function ( ) { return this . fillPath ; } |
30,458 | turn this font into a pretty string concode_field_sep boolean sUseFontSubstitution concode_elem_sep String subtype concode_elem_sep PDFCMap unicodeMap concode_elem_sep PDFFontDescriptor descriptor concode_elem_sep PDFFontEncoding encoding concode_elem_sep String baseFont concode_elem_sep Map<Character,PDFGlyph> charCac... | String function ( ) { return getBaseFont ( ) ; } |
30,459 | returns a dataresult for the given selectmode with no bounds . this can be usefull if you want a list without pagination controls . concode_field_sep PlaceHolder placeHolder concode_field_sep DataResult makeDataResult concode_elem_sep DataResult<myClass> makeDataResult concode_elem_sep DataResult makeDataResult concode... | DataResult < arg3 > function ( Map arg0 , Map arg1 , SelectMode arg2 , Class arg3 ) { DataResult < arg3 > loc0 = makeDataResult ( arg0 , arg1 , null , arg2 , arg3 ) ; loc0 . setStart ( 1 ) ; loc0 . setEnd ( loc0 . getTotalSize ( ) ) ; return loc0 ; } |
30,460 | emits a tuple to the specified task on the default output stream . this output stream must have been declared as a direct stream , and the specified task must use a direct grouping on this stream to receive the message . note that storm 's event logging functionality will only work if the messageid is serializable via ... | void function ( int arg0 , List < Object > arg1 , Object arg2 ) { emitDirect ( arg0 , Utils . DEFAULT_STREAM_ID , arg1 , arg2 ) ; } |
30,461 | returns a list of the rows returned from a search . concode_field_sep List<Field> fields concode_elem_sep List<String> values concode_elem_sep String variable concode_elem_sep String label concode_elem_sep List<Column> columns concode_elem_sep String title concode_elem_sep FormField.Type type concode_elem_sep List<Row>... | List < Row > function ( ) { return Collections . unmodifiableList ( new ArrayList < Row > ( rows ) ) ; } |
30,462 | binds the frame buffer and sets the viewport accordingly , so everything gets drawn to it . concode_field_sep boolean defaultFramebufferHandleInitialized concode_elem_sep Map<Application,Array<GLFrameBuffer>> buffers concode_elem_sep int stencilbufferHandle concode_elem_sep boolean hasStencil concode_elem_sep T colorTe... | void function ( ) { bind ( ) ; setFrameBufferViewport ( ) ; } |
30,463 | adds http tags to the client side span concode_field_sep Log log concode_elem_sep SpanInjector<HttpRequest> spanInjector concode_elem_sep HttpTraceKeysInjector keysInjector concode_elem_sep Tracer tracer concode_field_sep String uriScheme concode_elem_sep Span currentSpan concode_elem_sep void publishStartEvent concode... | void function ( HttpRequest arg0 ) { this . keysInjector . addRequestTags ( arg0 . getURI ( ) . toString ( ) , arg0 . getURI ( ) . getHost ( ) , arg0 . getURI ( ) . getPath ( ) , arg0 . getMethod ( ) . name ( ) , arg0 . getHeaders ( ) ) ; } |
30,464 | returns the length of an address in a particular family . concode_field_sep int IPv6 concode_elem_sep int IPv4 concode_field_sep Record[] lookupHostName concode_elem_sep InetAddress[] getAllByName concode_elem_sep String getHostName concode_elem_sep byte[] parseV4 concode_elem_sep byte[] parseV6 concode_elem_sep int fa... | int function ( int arg0 ) { if ( arg0 == IPv4 ) return 4 ; if ( arg0 == IPv6 ) return 16 ; throw new IllegalArgumentException ( "srini_string" ) ; } |
30,465 | add a value to the cache concode_field_sep String KEY_START concode_elem_sep String CACHE_CLEARED concode_elem_sep String KEY_END concode_elem_sep String CACHE_KEY concode_elem_sep Logger log concode_field_sep Object get | String function ( Object arg0 , FacesContext arg1 ) { Map loc0 = arg1 . getExternalContext ( ) . getSessionMap ( ) ; if ( loc0 . get ( CACHE_KEY ) == null ) { loc0 . put ( CACHE_KEY , new HashMap ( ) ) ; } Map loc1 = ( Map ) loc0 . get ( CACHE_KEY ) ; String loc2 = KEY_START + loc1 . size ( ) + KEY_END ; loc1 . put ( l... |
30,466 | returns the name of this b b b participant . concode_field_sep BBBParticipant _bbbParticipant concode_field_sep void setBbbParticipantId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId con... | java . lang . String function ( ) { return _bbbParticipant . getName ( ) ; } |
30,467 | disables the current thread for thread scheduling purposes , until the specified deadline , unless the permit is available . if the permit is available then it is consumed and the call returns immediately ; otherwise the current thread becomes disabled for thread scheduling purposes and lies dormant until one of four t... | void function ( long arg0 ) { unsafe . park ( true , arg0 ) ; } |
30,468 | gets the value of the value property . concode_field_sep String name concode_elem_sep long serialVersionUID concode_elem_sep String value concode_field_sep void setName concode_elem_sep String getName concode_elem_sep void setValue | String function ( ) { return value ; } |
30,469 | gets the key comment . concode_field_sep List<TranslationDTO> translations concode_elem_sep boolean outdated concode_elem_sep String name concode_elem_sep String comment concode_field_sep void setName concode_elem_sep void addTranslationDTO concode_elem_sep String getName concode_elem_sep void setOutdated concode_elem_... | String function ( ) { return comment ; } |
30,470 | make a treat expression with a non-standard error code concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | Expression function ( Expression arg0 , SequenceType arg1 , String arg2 ) { RoleLocator loc0 = new RoleLocator ( RoleLocator . TYPE_OP , "srini_string" , 0 ) ; loc0 . setErrorCode ( arg2 ) ; Expression loc1 = CardinalityChecker . makeCardinalityChecker ( arg0 , arg1 . getCardinality ( ) , loc0 ) ; return new ItemChecke... |
30,471 | add internal parameters for the script concode_field_sep ArrayList<String> myInternalParameters concode_elem_sep ArrayList<String> myPaths concode_elem_sep String myPrefix concode_elem_sep Class myMainClass concode_elem_sep String SCRIPT_EXT concode_field_sep ScriptGenerator addResource concode_elem_sep ScriptGenerator... | ScriptGenerator function ( String ... arg0 ) { ContainerUtil . addAll ( myInternalParameters , arg0 ) ; return this ; } |
30,472 | 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" ) ; } |
30,473 | get data concode_field_sep List<MsgVpnRestDeliveryPointQueueBindingLinks> links concode_elem_sep SempMeta meta concode_elem_sep List<MsgVpnRestDeliveryPointQueueBinding> data concode_field_sep String toIndentedString concode_elem_sep List<MsgVpnRestDeliveryPointQueueBindingLinks> getLinks concode_elem_sep MsgVpnRestDel... | List < MsgVpnRestDeliveryPointQueueBinding > function ( ) { return data ; } |
30,474 | stop the server . concode_field_sep play.core.server.Server server concode_elem_sep Server.Config _config concode_elem_sep Map<Protocol,Integer> _ports concode_elem_sep Mode _mode concode_field_sep Optional<Integer> maybeHttpsPort concode_elem_sep int httpPort concode_elem_sep Optional<Integer> maybeHttpPort concode_el... | void function ( ) { server . stop ( ) ; } |
30,475 | verify that the client is authorized to read from the given stream . concode_field_sep PlaceHolder placeHolder concode_field_sep void connectionTerminated concode_elem_sep ManagedBuffer getChunk concode_elem_sep void registerChannel concode_elem_sep ManagedBuffer openStream | void function ( TransportClient arg0 , long arg1 ) { } |
30,476 | returns a hash consistent with spark 's utils.nonnegativehash . concode_field_sep Logger logger concode_field_sep File[] listFilesSafely concode_elem_sep void closeQuietly concode_elem_sep ByteBuffer stringToBytes concode_elem_sep boolean isSymlink concode_elem_sep String bytesToString concode_elem_sep void deleteRecur... | int function ( Object arg0 ) { if ( arg0 == null ) { return 0 ; } int loc0 = arg0 . hashCode ( ) ; return loc0 != Integer . MIN_VALUE ? Math . abs ( loc0 ) : 0 ; } |
30,477 | this method connects a link to this nic concode_field_sep PacketConsumer parent concode_elem_sep int dropCounter concode_elem_sep boolean trace concode_elem_sep boolean myTrace concode_elem_sep OtoOLink link concode_elem_sep double alpha concode_elem_sep Statistics stats concode_elem_sep Random rand concode_elem_sep Ar... | void function ( OtoOLink arg0 ) { this . link = arg0 ; } |
30,478 | getter for the spdx compatibility errors list . concode_field_sep HashSet<SPDXCompatibilityError> SPDXerrors concode_elem_sep SPDXDocument doc concode_elem_sep ViolationAnalysisInfo error concode_elem_sep HashSet<String> proposals concode_elem_sep HashSet<LicensePairCompatibilityError> errors concode_field_sep Violatio... | ArrayList < SPDXCompatibilityError > function ( ) { return new ArrayList < > ( SPDXerrors ) ; } |
30,479 | returns the response body as a text string . concode_field_sep String _result concode_elem_sep CloseableHttpClient _httpClient concode_elem_sep String _message concode_elem_sep ObjectMapper MAPPER concode_elem_sep String _endpoint concode_elem_sep BasicHttpContext _httpContext concode_elem_sep String _errorMessage conc... | String function ( ) { return _result ; } |
30,480 | execute query using the current internal state as where clause . concode_field_sep StringBuilder mSelection concode_elem_sep ArrayList<String> mSelectionArgs concode_field_sep String getSelection concode_elem_sep String[] getSelectionArgs concode_elem_sep SelectionBuilder reset concode_elem_sep int update concode_elem_... | Cursor function ( SQLiteDatabase arg0 , String arg1 , String [ ] arg2 , String arg3 , String arg4 , String arg5 , String arg6 ) { return arg0 . query ( arg1 , arg2 , getSelection ( ) , getSelectionArgs ( ) , arg3 , arg4 , arg5 , arg6 ) ; } |
30,481 | iterates through a directory , searching for . java files concode_field_sep Map<File,Long> times concode_elem_sep File directory concode_field_sep void update concode_elem_sep boolean changed | Set < File > function ( File arg0 ) { Set < File > loc0 = new HashSet < File > ( ) ; if ( arg0 . isFile ( ) ) { if ( arg0 . getName ( ) . endsWith ( "srini_string" ) ) { loc0 . add ( arg0 ) ; } } else { for ( File loc1 : arg0 . listFiles ( ) ) { loc0 . addAll ( parse ( loc1 ) ) ; } } return loc0 ; } |
30,482 | return angle between two points ox concode_field_sep PlaceHolder placeHolder concode_field_sep double getAngleInPolygon concode_elem_sep double getAmountOfCornersInPolygon concode_elem_sep Point getIntersection concode_elem_sep Point getIntersection | double function ( Point arg0 , Point arg1 ) { double loc0 = Math . atan2 ( arg0 . y - arg1 . y , arg0 . x - arg1 . x ) / Math . PI * 180 ; return ( loc0 < 0 ) ? loc0 + 360 : loc0 ; } |
30,483 | a list of clustersecuritygroup instances . concode_field_sep String marker concode_elem_sep com.amazonaws.internal.ListWithAutoConstructFlag<ClusterSecurityGroup> clusterSecurityGroups concode_field_sep DescribeClusterSecurityGroupsResult withClusterSecurityGroups concode_elem_sep DescribeClusterSecurityGroupsResult wi... | java . util . List < ClusterSecurityGroup > function ( ) { if ( clusterSecurityGroups == null ) { clusterSecurityGroups = new com . amazonaws . internal . ListWithAutoConstructFlag < ClusterSecurityGroup > ( ) ; clusterSecurityGroups . setAutoConstruct ( true ) ; } return clusterSecurityGroups ; } |
30,484 | set the current animation . any queued animations are cleared . concode_field_sep TrackEntry next concode_elem_sep float mix concode_elem_sep Array<TrackEntry> tracks concode_elem_sep float lastTime concode_elem_sep float mixDuration concode_elem_sep AnimationStateData data concode_elem_sep TrackEntry previous concode_... | TrackEntry function ( int arg0 , Animation arg1 , boolean arg2 ) { TrackEntry loc0 = expandToIndex ( arg0 ) ; if ( loc0 != null ) freeAll ( loc0 . next ) ; TrackEntry loc1 = trackEntryPool . obtain ( ) ; loc1 . arg1 = arg1 ; loc1 . arg2 = arg2 ; loc1 . endTime = arg1 . getDuration ( ) ; setCurrent ( arg0 , loc1 ) ; ret... |
30,485 | returns the space reserved for axes at the right of the plot area . concode_field_sep long serialVersionUID concode_elem_sep double top concode_elem_sep double left concode_elem_sep double bottom concode_elem_sep double right concode_field_sep void add concode_elem_sep double getBottom concode_elem_sep void setLeft con... | double function ( ) { return this . right ; } |
30,486 | used by buck to disconnect this class from its tracing mechanism . there is no need to call this method manually . concode_field_sep String pluginName concode_elem_sep InheritableThreadLocal<BuckTracingInterface> curThreadTracingInterface concode_elem_sep BuckTracingInterface tracingInterface concode_field_sep void set... | void function ( ) { curThreadTracingInterface . set ( null ) ; } |
30,487 | region locks are not supported . concode_field_sep Logger LOG concode_field_sep void unlockRegion concode_elem_sep void removeAll concode_elem_sep void evictAll concode_elem_sep BaseGeneralDataRegion getInternalRegion concode_elem_sep void unlockItem concode_elem_sep Object get concode_elem_sep boolean putFromLoad conc... | SoftLock function ( ) { return null ; } |
30,488 | returns the system time set by the broker . used by the server to estimate clock offset . concode_field_sep String password concode_elem_sep String username concode_elem_sep long brokerTime concode_field_sep String getPassword concode_elem_sep void setBrokerTime concode_elem_sep String getUsername | long function ( ) { return brokerTime ; } |
30,489 | converts an array of bytes into an array of bytes for the characters representing the hexidecimal values of each byte in order . the returned array will be double the length of the passed array , as it takes two characters to represent any given byte . concode_field_sep char[] DIGITS concode_field_sep char[] encodeHex ... | byte [ ] function ( byte [ ] arg0 ) { return new String ( encodeHex ( arg0 ) ) . getBytes ( ) ; } |
30,490 | amazon aws access key concode_field_sep Integer delaySeconds concode_elem_sep String amazonSQSEndpoint concode_elem_sep String messageAttributeNames concode_elem_sep Integer maximumMessageSize concode_elem_sep String secretKey concode_elem_sep boolean extendMessageVisibility concode_elem_sep Integer defaultVisibilityTi... | void function ( String arg0 ) { this . accessKey = arg0 ; } |
30,491 | full constructor concode_field_sep Timestamp birthday concode_elem_sep String resideType concode_elem_sep String inputPersonId concode_elem_sep String education concode_elem_sep String occupation concode_elem_sep String paymentModeOther concode_elem_sep String folkOther concode_elem_sep String idnumber concode_elem_sep... | String function ( ) { return this . id ; } |
30,492 | the elastic ip address associated with the nat gateway . concode_field_sep String networkInterfaceId concode_elem_sep String privateIp concode_elem_sep String publicIp concode_elem_sep String allocationId concode_field_sep NatGatewayAddress withAllocationId concode_elem_sep void setNetworkInterfaceId concode_elem_sep v... | String function ( ) { return publicIp ; } |
30,493 | create an instance of getweather concode_field_sep QName _String_QNAME concode_field_sep GetWeatherResponse createGetWeatherResponse concode_elem_sep JAXBElement<String> createString concode_elem_sep GetCitiesByCountry createGetCitiesByCountry concode_elem_sep GetCitiesByCountryResponse createGetCitiesByCountryResponse | GetWeather function ( ) { return new GetWeather ( ) ; } |
30,494 | the method looks up the cell name using the key . concode_field_sep Random RN concode_elem_sep int position concode_elem_sep Item[] items concode_field_sep Item add concode_elem_sep Item findById concode_elem_sep String generateId concode_elem_sep void update concode_elem_sep Item[] findAll concode_elem_sep void delete | Item function ( String arg0 ) { Item loc0 = null ; for ( Item loc1 : items ) { if ( loc1 != null && arg0 . equals ( loc1 . getName ( ) ) ) { loc0 = loc1 ; break ; } } return loc0 ; } |
30,495 | initializes the controller class . this method is automatically called after the fxml file has been loaded . concode_field_sep TextField streetField concode_elem_sep TextField cityField concode_elem_sep TextField birthdayField concode_elem_sep TextField postalCodeField concode_elem_sep Stage dialogStage concode_elem_se... | void function ( ) { } |
30,496 | sets the value of the content property . concode_field_sep List<String> content concode_field_sep List<String> getContent | void function ( List < String > arg0 ) { this . content = arg0 ; } |
30,497 | removes the . concode_field_sep ArrayList<GameState> myGameStatesArray concode_elem_sep HashMap<String,GameState> myGameStatesHash concode_elem_sep String myCurrentGameState concode_elem_sep Game myGame concode_elem_sep boolean myIsTransitioning concode_elem_sep Transition myTransition concode_elem_sep UnchartedTerrito... | void function ( String arg0 ) { if ( ! myGameStatesHash . containsKey ( arg0 ) ) { return ; } GameState loc0 = myGameStatesHash . get ( arg0 ) ; myGameStatesHash . remove ( arg0 ) ; myGameStatesArray . remove ( loc0 ) ; } |
30,498 | sets the results value for this workflowrequestpage . concode_field_sep java.lang.Integer startIndex concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.Integer totalResultSetSize concode_elem_se... | void function ( com . google . api . ads . dfp . axis . v201408 . WorkflowRequest [ ] arg0 ) { this . results = arg0 ; } |
30,499 | sets the wrapped webelement . this method is used by initialization mechanism and is not intended to be used directly . concode_field_sep WebElement wrappedElement concode_elem_sep String name concode_field_sep void setName concode_elem_sep Point getLocation concode_elem_sep String getName concode_elem_sep void submit ... | void function ( WebElement arg0 ) { this . wrappedElement = arg0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.