idx int64 0 25k | question stringlengths 72 5.69k | target stringlengths 21 481 |
|---|---|---|
16,600 | specify the jca workmanager to use for bootstrapping the resourceadapter . concode_field_sep WorkManager workManager concode_elem_sep ResourceAdapter resourceAdapter concode_elem_sep BootstrapContext bootstrapContext concode_elem_sep XATerminator xaTerminator concode_field_sep void setResourceAdapter concode_elem_sep R... | void function ( WorkManager arg0 ) { this . workManager = arg0 ; } |
16,601 | prints line throw console concode_field_sep View view concode_field_sep void saveLine concode_elem_sep View getInstance concode_elem_sep void saveArray | void function ( String arg0 ) { System . out . println ( arg0 ) ; } |
16,602 | returns the build string . concode_field_sep boolean infoExtracted concode_elem_sep String date concode_elem_sep String copyright concode_elem_sep String revisionNumber concode_elem_sep String version concode_field_sep String getVersion concode_elem_sep String getRevisionNumber concode_elem_sep String getCopyright conc... | String function ( ) { return BuildInfo . getDate ( ) + "srini_string" + BuildInfo . getRevisionNumber ( ) ; } |
16,603 | retrieves the clob value designated by this clob object as an ascii stream . concode_field_sep ClobDataID clob concode_elem_sep boolean isClosed concode_elem_sep SessionInterface session concode_field_sep Writer setCharacterStream concode_elem_sep int setString concode_elem_sep int setString concode_elem_sep OutputStre... | InputStream function ( ) { throw Util . notSupported ( ) ; } |
16,604 | sets the reference count of this resource block . concode_field_sep ResourceBlock _resourceBlock concode_field_sep void setName concode_elem_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes... | void function ( long arg0 ) { _resourceBlock . setReferenceCount ( arg0 ) ; } |
16,605 | removes a httpcacheentry from the cache concode_field_sep CacheMap entries concode_field_sep void updateEntry concode_elem_sep HttpCacheEntry getEntry concode_elem_sep void putEntry | void function ( String arg0 ) { entries . remove ( arg0 ) ; } |
16,606 | retrieve the value . will return the value if it has been set via #set object , throw an java.util.concurrent.executionexception if it has beenset via #setexception throwable or throw a java.util.concurrent.cancellationexception if it has been cancelled . concode_field_sep boolean cancelled concode_elem_sep AtomicRefer... | T function ( long arg0 , TimeUnit arg1 ) { return this . listenableFuture . get ( arg0 , arg1 ) ; } |
16,607 | a request to perform a putitem operation . concode_field_sep PutRequest putRequest concode_elem_sep DeleteRequest deleteRequest concode_field_sep WriteRequest withPutRequest concode_elem_sep void setDeleteRequest concode_elem_sep DeleteRequest getDeleteRequest concode_elem_sep int hashCode concode_elem_sep WriteRequest... | PutRequest function ( ) { return this . putRequest ; } |
16,608 | extract the next property expression from the current expression . concode_field_sep String SEPERATOR concode_field_sep String add concode_elem_sep String last concode_elem_sep String removeFirst concode_elem_sep boolean hasNested concode_elem_sep String removeLast | String function ( String arg0 ) { return StringUtils . substringBefore ( arg0 , SEPERATOR ) ; } |
16,609 | convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep String name concode_elem_sep Long id concode_field_sep void setName concode_elem_sep String getName concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Tag name concode_elem_sep vo... | String function ( java . lang . Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; } |
16,610 | get the format . concode_field_sep String _formatString concode_elem_sep long _lastSeconds concode_elem_sep int _lastMs concode_elem_sep String _lastResult concode_elem_sep String _secFormatString concode_elem_sep String DEFAULT_FORMAT concode_elem_sep DateFormatSymbols _dfs concode_elem_sep String _secFormatString0 co... | SimpleDateFormat function ( ) { return _minFormat ; } |
16,611 | derive a default bean name from the given bean definition . the default implementation simply builds a decapitalized version of the short class name : e.g. `` mypackage.myjdbcdao '' - > `` myjdbcdao '' . note that inner classes will thus have names of the form `` outerclassname.innerclassname '' , which because of the ... | String function ( BeanDefinition arg0 ) { String loc0 = ClassUtils . getShortName ( arg0 . getBeanClassName ( ) ) ; return Introspector . decapitalize ( loc0 ) ; } |
16,612 | given a chunk , find a random position in it . concode_field_sep HashMap eligibleChunksForSpawning concode_elem_sep Class nightSpawnEntities[] concode_field_sep void creatureSpecificInit concode_elem_sep void performWorldGenSpawning concode_elem_sep int performSpawning concode_elem_sep boolean canCreatureTypeSpawnAtLoc... | ChunkPosition function ( World arg0 , int arg1 , int arg2 ) { Chunk loc0 = arg0 . getChunkFromChunkCoords ( arg1 , arg2 ) ; int loc1 = arg1 * 16 + arg0 . rand . nextInt ( 16 ) ; int loc2 = arg0 . rand . nextInt ( loc0 != null ? Math . max ( 128 , loc0 . getTopFilledSegment ( ) ) : 128 ) ; int loc3 = arg2 * 16 + arg0 . ... |
16,613 | returns a comparator that compares two byte arrayslexicographically . that is , it compares , using #compare byte , byte , the first pair of values that follow any common prefix , or when one array is a prefix of the other , treats the shorter array as the lesser . for example , the returned comparator is inconsistent ... | Comparator < byte [ ] > function ( ) { return LexicographicalComparator . INSTANCE ; } |
16,614 | emits a type declaration . concode_field_sep String packagePrefix concode_elem_sep Pattern TYPE_PATTERN concode_elem_sep List<Scope> scopes concode_elem_sep Map<String,String> importedTypes concode_elem_sep String INDENT concode_elem_sep Writer out concode_field_sep void annotation concode_elem_sep void annotation conc... | void function ( String arg0 , String arg1 , int arg2 ) { beginType ( arg0 , arg1 , arg2 , null ) ; } |
16,615 | upper threshold for observed attribute . mandatory with no default . concode_field_sep String jobName concode_elem_sep String observedAttribute concode_elem_sep String defaultDomain concode_elem_sep String stepName concode_elem_sep boolean autoStart concode_elem_sep int lowerThreshold concode_elem_sep int upperThreshol... | void function ( int arg0 ) { this . upperThreshold = arg0 ; } |
16,616 | fired when a request returns successfully , override to handle in your own code concode_field_sep Handler handler concode_elem_sep int FINISH_MESSAGE concode_elem_sep int SUCCESS_MESSAGE concode_elem_sep int FAILURE_MESSAGE concode_elem_sep int START_MESSAGE concode_field_sep void sendResponseMessage concode_elem_sep v... | void function ( int arg0 , Header [ ] arg1 , String arg2 ) { onSuccess ( arg0 , arg2 ) ; } |
16,617 | tests that the entity listeners are correctly invoked and have access to the java : comp/ejbcontext when an entity is persisted via a singleton bmt bean concode_field_sep InitialContext iniCtx concode_elem_sep String ARCHIVE_NAME concode_field_sep void testCDICallbackInvoked concode_elem_sep T lookup concode_elem_sep T... | void function ( ) { MyListener . setInvocationCount ( 0 ) ; SingletonBMT loc0 = lookup ( "srini_string" , SingletonBMT . class ) ; this . doBMTTest ( loc0 , 6 ) ; } |
16,618 | delete all registered temp files . concode_field_sep ReferenceQueue<Object> queue concode_elem_sep HashMap<PhantomReference<?>,String> refMap concode_field_sep void deleteFile concode_elem_sep void stopAutoDelete concode_elem_sep void deleteUnused concode_elem_sep TempFileDeleter getInstance concode_elem_sep Reference<... | void function ( ) { for ( String loc0 : New . arrayList ( refMap . values ( ) ) ) { deleteFile ( null , loc0 ) ; } deleteUnused ( ) ; } |
16,619 | get the value for an option . concode_field_sep long serialVersionUID concode_elem_sep Context.Key<Options> optionsKey concode_elem_sep LinkedHashMap<String,String> values concode_elem_sep List<Runnable> listeners concode_field_sep boolean lint concode_elem_sep boolean isUnset concode_elem_sep boolean isUnset concode_e... | String function ( Option arg0 ) { return values . get ( arg0 . text ) ; } |
16,620 | parses a given distance and converts it to the specified unit . concode_field_sep DistanceUnit unit concode_elem_sep String[] names concode_elem_sep double value concode_elem_sep DistanceUnit DEFAULT concode_elem_sep double meters concode_field_sep double getEarthCircumference concode_elem_sep double toMeters concode_e... | double function ( String arg0 , DistanceUnit arg1 , DistanceUnit arg2 ) { Distance loc0 = Distance . parseDistance ( arg0 , arg1 ) ; return convert ( loc0 . value , loc0 . unit , arg2 ) ; } |
16,621 | get the key value of the activationkey concode_field_sep ActivationKey cak concode_field_sep ActivationKey lookupKey concode_elem_sep int setConfigChannels concode_elem_sep Long getId | String function ( ) { return cak . getKey ( ) ; } |
16,622 | private method , implementation does not matter concode_field_sep HttpServer server concode_elem_sep Logger logger concode_elem_sep CardService service concode_elem_sep FileHandler fileHandler concode_field_sep String getResource concode_elem_sep DebitCard getCardByIDFromBD concode_elem_sep Map<String,String> queryToMa... | boolean function ( String arg0 , DebitCard arg1 ) { return false ; } |
16,623 | reset the aggregator concode_field_sep long maxVal concode_field_sep void addNextValue concode_elem_sep void addNextValue concode_elem_sep long getVal concode_elem_sep String getReport concode_elem_sep ArrayList<String> getCombinerOutput | void function ( ) { maxVal = Long . MIN_VALUE ; } |
16,624 | sets the age value for this searchcriteria . concode_field_sep java.lang.String color concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep boolean __hashCodeCalc concode_elem_sep double salary concode_elem_sep int age concode_field_sep int getAge... | void function ( int arg0 ) { this . age = arg0 ; } |
16,625 | remove the managed bean based on the bean name . concode_field_sep Properties buildProperties concode_field_sep String getRequestParameter concode_elem_sep UIComponent findComponent concode_elem_sep ServletContext getServletContext concode_elem_sep Object getManagedBean concode_elem_sep String getActionAttribute concod... | void function ( String arg0 ) { FacesContext loc0 = FacesContext . getCurrentInstance ( ) ; ELContext loc1 = loc0 . getELContext ( ) ; ExpressionFactory loc2 = loc0 . getApplication ( ) . getExpressionFactory ( ) ; loc2 . createValueExpression ( loc1 , getJsfEl ( arg0 ) , Object . class ) . setValue ( loc1 , null ) ; } |
16,626 | creates a new allocation id for initializing allocation based on an existing id . concode_field_sep String ID_KEY concode_elem_sep ObjectParser<AllocationId.Builder,Void> ALLOCATION_ID_PARSER concode_elem_sep String id concode_elem_sep String RELOCATION_ID_KEY concode_elem_sep String relocationId concode_field_sep Allo... | AllocationId function ( String arg0 ) { return new AllocationId ( arg0 , null ) ; } |
16,627 | returns the query parameters of a request as a multi-valued map . concode_field_sep Annotation[] EMPTY_ANNOTATIONS concode_field_sep MultivaluedMap<String,String> getEntityParameters | MultivaluedMap < String , String > function ( ClientRequestContext arg0 ) { URI loc0 = arg0 . getUri ( ) ; if ( loc0 == null ) { return null ; } return UriComponent . decodeQuery ( loc0 , true ) ; } |
16,628 | gets the serde parameters ; for example see org.apache.hive.hcatalog.api.hcatcreatetabledesc.builder #fieldsterminatedby char concode_field_sep boolean ifNotExists concode_elem_sep HCatTable hcatTable concode_field_sep Builder tblProps concode_elem_sep String getLocation concode_elem_sep int getNumBuckets concode_elem_... | Map < String , String > function ( ) { return this . hcatTable . getSerdeParams ( ) ; } |
16,629 | sets the registry . concode_field_sep Object MUTEX concode_elem_sep DatabaseServiceManager databaseServiceManager concode_elem_sep Registry registry concode_elem_sep String BEAN_NAME concode_elem_sep IndexServiceManager indexServiceManager concode_elem_sep LexEvsServiceLocator serviceLocator concode_elem_sep Applicatio... | void function ( Registry arg0 ) { this . registry = arg0 ; } |
16,630 | sets the value of the name property . concode_field_sep FieldType type concode_elem_sep String name concode_elem_sep Boolean exclude concode_elem_sep String className concode_field_sep Boolean isExclude concode_elem_sep String getName concode_elem_sep FieldType getType concode_elem_sep void setExclude concode_elem_sep ... | void function ( String arg0 ) { this . name = arg0 ; } |
16,631 | does the input have a next line ? use this to know whether the next call to #readline will succeed . functionallyequivalent to #hasnextchar . concode_field_sep String charsetName concode_elem_sep java.util.Locale usLocale concode_elem_sep Pattern EMPTY_PATTERN concode_elem_sep Scanner scanner concode_elem_sep Pattern W... | boolean function ( ) { return scanner . hasNextLine ( ) ; } |
16,632 | a complex type that contains settings for the new version of the traffic policy . concode_field_sep String location concode_elem_sep TrafficPolicy trafficPolicy concode_field_sep String getLocation concode_elem_sep CreateTrafficPolicyVersionResult withLocation concode_elem_sep void setLocation concode_elem_sep CreateTr... | void function ( TrafficPolicy arg0 ) { this . trafficPolicy = arg0 ; } |
16,633 | method to test mirrorvertical concode_field_sep PlaceHolder placeHolder concode_field_sep void testOnlyBlue concode_elem_sep void testCompleteNoize concode_elem_sep void testKeepOnlyGreen concode_elem_sep void testNoizy concode_elem_sep void testEdgeDetection2 concode_elem_sep void testGrayScale concode_elem_sep void t... | void function ( ) { Picture loc0 = new Picture ( "srini_string" ) ; loc0 . explore ( ) ; loc0 . mirrorVertical ( ) ; loc0 . explore ( ) ; } |
16,634 | gets the value of the protection property . concode_field_sep String color concode_elem_sep String cocktail concode_elem_sep String emulation concode_elem_sep String sound concode_elem_sep String savestate concode_elem_sep String protection concode_elem_sep long serialVersionUID concode_elem_sep String graphic concode_... | String function ( ) { return protection ; } |
16,635 | try to locate a local url representing the incoming path . the first attempt assumes that the incoming path is an actual url string file : / / , etc . if this does not work , then the next attempts try to locate this uurl as a java system resource . concode_field_sep CoreMessageLogger LOG concode_field_sep InputStream ... | URL function ( final String arg0 ) { try { return new URL ( arg0 ) ; } catch ( MalformedURLException loc0 ) { return findAsResource ( arg0 ) ; } } |
16,636 | get the resource name . the name corresponds to the name of the icemobile component name attribute . concode_field_sep long lastUpdated concode_elem_sep String name concode_elem_sep long id concode_elem_sep String contentType concode_elem_sep String uuid concode_elem_sep String token concode_field_sep void setName conc... | String function ( ) { return name ; } |
16,637 | returns the depth to which we have descended in the tree . concode_field_sep Stack stack concode_elem_sep Element root concode_elem_sep int index concode_elem_sep Element element concode_field_sep Element next concode_elem_sep Element current concode_elem_sep Element previous concode_elem_sep Element deepestLeaf concod... | int function ( ) { int loc0 = 0 ; if ( stack != null ) loc0 = stack . size ( ) ; return loc0 ; } |
16,638 | like #get sessionkey , but throws nosuchelementexception on the absence of a value . concode_field_sep PlaceHolder placeHolder concode_field_sep JavaSessionSerializer getJavaSerializer concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set concode_elem_sep void set conco... | T function ( SessionKey < T > arg0 ) { return require ( arg0 , getDefaultSerializer ( ) ) ; } |
16,639 | set the graphic state transorm on all child sprites , this is used for xform object parsing and text selection . there is no need to do this outside of the context parser . concode_field_sep ArrayList<GlyphText> glyphTexts concode_elem_sep String fontName concode_elem_sep AffineTransform graphicStateTransform concode_e... | void function ( AffineTransform arg0 ) { this . graphicStateTransform = arg0 ; for ( GlyphText loc0 : glyphTexts ) { loc0 . normalizeToUserSpace ( this . graphicStateTransform ) ; } } |
16,640 | provides check for verifying if this element is an array or not . concode_field_sep PlaceHolder placeHolder concode_field_sep float getAsFloat concode_elem_sep BigInteger getAsBigInteger concode_elem_sep byte getAsByte concode_elem_sep JsonObject getAsJsonObject concode_elem_sep JsonNull getAsJsonNull concode_elem_sep ... | boolean function ( ) { return this instanceof JsonArray ; } |
16,641 | sample_is_depended_on takes one of the following four values : 0 : the dependency of other samples on this sample is unknown ; 1 : other samples may depend on this one not disposable ; 2 : no other sample depends on this one disposable ; 3 : reserved concode_field_sep int sampleDegradationPriority concode_elem_sep int ... | void function ( int arg0 ) { this . sampleIsDependedOn = arg0 ; } |
16,642 | wraps a builder in the richer sequencebuilder interface concode_field_sep PlaceHolder placeHolder concode_field_sep Iterator<T> iterator concode_elem_sep List<T> build concode_elem_sep SequenceBuilder<T> limit concode_elem_sep List<T> buildAll | SequenceBuilder < T > function ( Builder < T > arg0 ) { return new SequenceWrapper < T > ( arg0 ) ; } |
16,643 | get an analoginput instance from the registrar concode_field_sep HashMap<ID,Type> registered concode_elem_sep Registrar<Integer,AnalogOutput> aoRegistrar concode_elem_sep Registrar<Integer,DigitalSource> dioRegistrar concode_elem_sep Registrar<Integer,PWM> pwmRegistrar concode_elem_sep Registrar<Integer,AnalogInput> ai... | AnalogInput function ( int arg0 ) { return aiRegistrar . fetch ( arg0 , AnalogInput . class , ( ) -> { return new AnalogInput ( arg0 ) ; } ) ; } |
16,644 | sets the value of the ratecardid property . concode_field_sep String baseRateType concode_elem_sep Long rateCardId concode_elem_sep Long id concode_field_sep Long getRateCardId concode_elem_sep void setBaseRateType concode_elem_sep void setId concode_elem_sep Long getId concode_elem_sep String getBaseRateType | void function ( Long arg0 ) { this . rateCardId = arg0 ; } |
16,645 | removes the listener added with #addlistener animationstatelistener . 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 co... | void function ( AnimationStateListener arg0 ) { listeners . removeValue ( arg0 , true ) ; } |
16,646 | attempt to convert a typed value to a float using the supplied type converter . concode_field_sep PlaceHolder placeHolder concode_field_sep int toInt concode_elem_sep T convertTypedValue concode_elem_sep double toDouble concode_elem_sep boolean toBoolean concode_elem_sep long toLong concode_elem_sep byte toByte concode... | float function ( TypeConverter arg0 , TypedValue arg1 ) { return ( Float ) arg0 . convertValue ( arg1 . getValue ( ) , arg1 . getTypeDescriptor ( ) , TypeDescriptor . valueOf ( Float . class ) ) ; } |
16,647 | returns the maximum v coordinate to use when rendering with this icon . concode_field_sep IIcon baseIcon concode_elem_sep boolean flipU concode_elem_sep boolean flipV concode_elem_sep String __OBFID concode_field_sep int getIconWidth concode_elem_sep String getIconName concode_elem_sep int getIconHeight concode_elem_se... | float function ( ) { return this . flipV ? this . baseIcon . getMinV ( ) : this . baseIcon . getMaxV ( ) ; } |
16,648 | create restrictions , projections and specify order for a property of the revision entity , corresponding to an audited entity . concode_field_sep PlaceHolder placeHolder concode_field_sep AuditProperty<RevisionType> revisionType concode_elem_sep AuditProperty<RevisionType> revisionType concode_elem_sep AuditCriterion ... | AuditProperty < Object > function ( String arg0 , String arg1 ) { return new AuditProperty < > ( arg0 , new RevisionPropertyPropertyName ( arg1 ) ) ; } |
16,649 | configure , how the handler handles links found in custom xml . if hyperlinkstyleid is set to null , strings containing ` http : / / ' or ` https : / / ' are not converted to w : hyperlink . this is the default behavior . if hyperlinkstyleid is set to `` somewordhyperlinkstylename '' , strings containing ` http : / / '... | void function ( String arg0 ) { getHyperlinkResolver ( ) . setHyperlinkStyle ( arg0 ) ; } |
16,650 | add error message to a specific client . 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 addInfoM... | void function ( String arg0 , String arg1 ) { FacesContext . getCurrentInstance ( ) . addMessage ( arg0 , new FacesMessage ( FacesMessage . SEVERITY_ERROR , arg1 , arg1 ) ) ; } |
16,651 | checks the dataset security condition . concode_field_sep PlaceHolder placeHolder concode_field_sep void securityConditionDID concode_elem_sep void assertIncorrectParameter concode_elem_sep void assertNamedEntityNotFound concode_elem_sep void securityConditionApplication | void function ( CardStateEntry arg0 , byte [ ] arg1 , String arg2 , Enum < ? > arg3 ) { if ( ! arg0 . checkDataSetSecurityCondition ( arg1 , arg2 , arg3 ) ) { throw new SecurityConditionNotSatisfiedException ( ) ; } } |
16,652 | closes the given resources if they are available . concode_field_sep PlaceHolder placeHolder concode_field_sep String loadText | void function ( Closeable ... arg0 ) { for ( Closeable loc0 : arg0 ) { try { loc0 . close ( ) ; } catch ( IOException loc1 ) { } } } |
16,653 | removes all the defined mappers and adds the default mappers . concode_field_sep Set<Class<? extends BaseMapper<?>>> mapper concode_field_sep void addMapper concode_elem_sep void addMapper concode_elem_sep void addMapper concode_elem_sep Collection<Class<? extends BaseMapper<?>>> getMapper concode_elem_sep String toStr... | void function ( ) { this . mapper . clear ( ) ; addMapper ( DateMapper . class ) ; addMapper ( LongMapper . class ) ; } |
16,654 | sets the main operator name . concode_field_sep String mainComNodeName concode_elem_sep Map<String,DataType> dataTypes concode_elem_sep int numberOfTopExecutions concode_elem_sep long averageDataSize concode_elem_sep String mainOperatorName concode_elem_sep Set<String> specialVertexOperatorIds concode_field_sep int get... | void function ( final String arg0 ) { this . mainOperatorName = arg0 ; } |
16,655 | get the average time to pull a record of a partition , which is stored in property '' topicname . partitionid . avg.record.millis '' . if state does n't contain this property , it returns defaultvalue . concode_field_sep PlaceHolder placeHolder concode_field_sep void setPartitionAvgRecordMillis concode_elem_sep KafkaPa... | double function ( State arg0 , KafkaPartition arg1 ) { return arg0 . getPropAsDouble ( getPartitionPropName ( arg1 . getTopicName ( ) , arg1 . getId ( ) ) + "srini_string" + KafkaSource . AVG_RECORD_MILLIS ) ; } |
16,656 | creates a lengthfieldbasedframedecoder where the first 8 bytes are the length of the frame . this is used before all decoders . concode_field_sep PlaceHolder placeHolder concode_field_sep PooledByteBufAllocator createPooledByteBufAllocator concode_elem_sep EventLoopGroup createEventLoop concode_elem_sep ThreadFactory c... | TransportFrameDecoder function ( ) { return new TransportFrameDecoder ( ) ; } |
16,657 | compare two vectors , return true if all their components are within a difference of margin . concode_field_sep double x concode_elem_sep double y concode_elem_sep double z concode_field_sep S2Point add concode_elem_sep S2Point minus concode_elem_sep S2Point sub concode_elem_sep double dotProd concode_elem_sep S2Point ... | boolean function ( S2Point arg0 , double arg1 ) { return ( Math . abs ( x - arg0 . x ) < arg1 ) && ( Math . abs ( y - arg0 . y ) < arg1 ) && ( Math . abs ( z - arg0 . z ) < arg1 ) ; } |
16,658 | returns the area in which the chart was drawn . concode_field_sep EntityCollection entities concode_elem_sep long serialVersionUID concode_elem_sep PlotRenderingInfo plotInfo concode_elem_sep Rectangle2D chartArea concode_field_sep void setChartArea concode_elem_sep void setEntityCollection concode_elem_sep void writeO... | Rectangle2D function ( ) { return this . chartArea ; } |
16,659 | location . concode_field_sep boolean ifNotExists concode_elem_sep Map<String,String> dbProperties concode_elem_sep Map<String,String> innerDBProps concode_elem_sep String dbName concode_elem_sep String innerLoc concode_elem_sep boolean ifNotExits concode_elem_sep String comment concode_elem_sep String locationUri conco... | Builder function ( String arg0 ) { this . innerLoc = arg0 ; return this ; } |
16,660 | tests that an invocation on a simple sfsb method which does n't have the @remove on it , does n't result in the bean instance removal . concode_field_sep Logger log concode_elem_sep SFSBWithRemoveMethods sfsbWithRemoveMethods concode_field_sep void testRemoveWithRetainIfExceptionOnSFSBBaseClass concode_elem_sep void te... | void function ( ) { sfsbWithRemoveMethods . doNothing ( ) ; sfsbWithRemoveMethods . doNothing ( ) ; sfsbWithRemoveMethods . doNothing ( ) ; } |
16,661 | performs a dynamic query on the database and returns a 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 to com.l... | java . util . List < T > function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , int arg1 , int arg2 ) { return getService ( ) . arg0 ( arg0 , arg1 , arg2 ) ; } |
16,662 | replace the map of obligationsets to states with the given one . concode_field_sep boolean onExceptionPath concode_elem_sep ObligationFactory factory concode_elem_sep boolean isTop concode_elem_sep Map<ObligationSet,State> stateMap concode_elem_sep boolean isBottom concode_field_sep void addObligation concode_elem_sep ... | void function ( Map < ObligationSet , State > arg0 ) { this . stateMap = arg0 ; } |
16,663 | determine if cors setting is a regex concode_field_sep PathTrie.Decoder REST_DECODER concode_field_sep void decodeQueryString concode_elem_sep void addParam concode_elem_sep String decodeComponent concode_elem_sep String decodeComponent concode_elem_sep char decodeHexNibble concode_elem_sep String decode concode_elem_s... | Pattern function ( String arg0 ) { if ( arg0 == null ) { return null ; } int loc0 = arg0 . length ( ) ; boolean loc1 = loc0 > 2 && arg0 . startsWith ( "srini_string" ) && arg0 . endsWith ( "srini_string" ) ; if ( loc1 ) { return Pattern . compile ( arg0 . substring ( 1 , arg0 . length ( ) - 1 ) ) ; } return null ; } |
16,664 | register the extension namespace for an elemextensiondecl or elemfunction , and prepare a support object to launch the appropriate extensionhandler at transformation runtime . concode_field_sep Vector m_predefExtensions concode_elem_sep Vector m_unregisteredExtensions concode_elem_sep Vector m_extensions concode_field_... | void function ( ExtensionNamespaceSupport arg0 ) { String loc0 = arg0 . getNamespace ( ) ; if ( namespaceIndex ( loc0 , m_extensions ) == - 1 ) { m_extensions . add ( arg0 ) ; if ( m_unregisteredExtensions . contains ( loc0 ) ) m_unregisteredExtensions . remove ( loc0 ) ; } } |
16,665 | returns the number of rows matching the dynamic query . concode_field_sep ServiceTracker<ShoppingItemPriceLocalService,ShoppingItemPriceLocalService> _serviceTracker concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamic... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , com . liferay . portal . kernel . dao . orm . Projection arg1 ) { return getService ( ) . dynamicQueryCount ( arg0 , arg1 ) ; } |
16,666 | set value for optional field . concode_field_sep DbxTeamTeamRequests team concode_elem_sep MembersRemoveArg.Builder membersRemoveArgBuilder concode_field_sep MembersRemoveBuilder withTransferAdminId concode_elem_sep com.dropbox.core.v2.async.LaunchEmptyResult start concode_elem_sep MembersRemoveBuilder withWipeData | MembersRemoveBuilder function ( UserSelectorArg arg0 ) { this . membersRemoveArgBuilder . withTransferDestId ( arg0 ) ; return this ; } |
16,667 | returns non-recursively collected java dependency artifacts for computing a restricted classpath when building this target called when strict_java_deps = 1 . note that dependency artifacts are needed only when non-recursive compilation args do not provide a safe super-set of dependencies . non-strict targets such as pr... | NestedSet < Artifact > function ( ) { return compileTimeJavaDepArtifacts ; } |
16,668 | set the policy for handling recoverable errrors . note that for some errors the decision can be made at run-time , but for the `` ambiguous template match '' error , the decision is since 9.2 fixed at compile time . concode_field_sep int recoveryPolicy concode_elem_sep HashMap<StructuredQName,Mode> modes concode_elem_s... | void function ( int arg0 ) { recoveryPolicy = arg0 ; defaultMode . setRecoveryPolicy ( arg0 ) ; } |
16,669 | returns the finite field of this elliptic curve . concode_field_sep BigInteger a concode_elem_sep BigInteger b concode_elem_sep ECField field concode_elem_sep byte[] seed concode_elem_sep int hash concode_field_sep byte[] getSeed concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep BigInteger ... | ECField function ( ) { return field ; } |
16,670 | sets the value of the effectivedate property . concode_field_sep JAXBElement<Boolean> isAddOperation concode_elem_sep Long serviceSequenceNbr concode_elem_sep String code concode_elem_sep JAXBElement<Boolean> isRemoveOperation concode_elem_sep long serialVersionUID concode_elem_sep JAXBElement<XMLGregorianCalendar> eff... | void function ( JAXBElement < XMLGregorianCalendar > arg0 ) { this . effectiveDate = ( ( JAXBElement < XMLGregorianCalendar > ) arg0 ) ; } |
16,671 | create an serverdeploymentmanager instance for a remote address and port.this creates a modelcontrollerclient which has to be closed using the org.jboss.as.controller.client.helpers.standalone.serverdeploymentmanager #close method . concode_field_sep PlaceHolder placeHolder concode_field_sep InitialDeploymentPlanBuilde... | ServerDeploymentManager function ( final String arg0 , final InetAddress arg1 , int arg2 , CallbackHandler arg3 ) { return create ( ModelControllerClient . Factory . create ( arg0 , arg1 , arg2 , arg3 ) , true ) ; } |
16,672 | return the function type of this function . concode_field_sep String description concode_elem_sep osid.shared.Id qualifierHierarchyId concode_elem_sep osid.shared.Type type concode_elem_sep osid.shared.Id id concode_elem_sep String displayName concode_field_sep String getDisplayName concode_elem_sep void updateDescript... | osid . shared . Type function ( ) { return type ; } |
16,673 | checks whether an element is in the set . concode_field_sep int m_number concode_elem_sep long serialVersionUID concode_elem_sep int[] m_previous concode_elem_sep int[] m_next concode_elem_sep int m_first concode_elem_sep boolean[] m_indicators concode_field_sep void printElements concode_elem_sep void insert concode_e... | boolean function ( int arg0 ) { return m_indicators [ arg0 ] ; } |
16,674 | set predefined column widths . concode_field_sep String[] definedWidthValues concode_elem_sep float colMinSize concode_elem_sep float[] tableWidthValues concode_elem_sep float tableWidth concode_elem_sep float minWidthAmt concode_elem_sep int colNum concode_elem_sep float fixWidthAmt concode_elem_sep int minAmt concode... | void function ( String [ ] arg0 ) { definedWidthValues = arg0 ; } |
16,675 | warning log message . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d concode_elem_sep void s... | void function ( String arg0 , String arg1 ) { if ( LOG . WARN >= LOGLEVEL ) Log . w ( arg0 , arg1 ) ; } |
16,676 | return the value returned from the handler wrapped as optional . concode_field_sep Object handler concode_elem_sep Optional<Object> returnValue concode_elem_sep ModelMap model concode_elem_sep Function<Throwable,Mono<HandlerResult>> exceptionHandler concode_elem_sep ResolvableType returnType concode_field_sep ModelMap ... | Optional < Object > function ( ) { return this . returnValue ; } |
16,677 | load a class with a given name . it will try to load the class in the following order : from thread.currentthread . getcontextclassloader using the basic class.forname from classloaderutil.class.getclassloader from the callingclass.getclassloader concode_field_sep ClassLoader loader concode_field_sep URL getResource co... | Class < ? > function ( String arg0 , Class < ? > arg1 ) { try { ClassLoader loc0 = Thread . currentThread ( ) . getContextClassLoader ( ) ; if ( loc0 != null ) { return loc0 . loadClass ( arg0 ) ; } } catch ( ClassNotFoundException loc0 ) { } return loadClass2 ( arg0 , arg1 ) ; } |
16,678 | gets the value of the any property . concode_field_sep SubHandlingType subHandling concode_elem_sep List<Element> any concode_field_sep SubHandlingType getSubHandling concode_elem_sep void setSubHandling | List < Element > function ( ) { if ( any == null ) { any = new ArrayList < Element > ( ) ; } return any ; } |
16,679 | accessor for gui panel that simulates the atm concode_field_sep int PIN_MODE concode_elem_sep SimKeyboard keyboard concode_elem_sep Simulation theInstance concode_elem_sep SimCashDispenser cashDispenser concode_elem_sep SimCardReader cardReader concode_elem_sep SimDisplay display concode_elem_sep int AMOUNT_MODE concod... | GUI function ( ) { return gui ; } |
16,680 | construct a class matcher based on the canonical names of classes . concode_field_sep AbstractFuzzyMatcher<Class<?>> MATCH_ALL concode_field_sep AbstractFuzzyMatcher<Class<?>> matchArray concode_elem_sep AbstractFuzzyMatcher<Class<?>> matchSuper concode_elem_sep boolean checkPattern concode_elem_sep AbstractFuzzyMatche... | AbstractFuzzyMatcher < Class < ? >> function ( String arg0 , final int arg1 ) { return FuzzyMatchers . matchRegex ( Pattern . compile ( arg0 ) , arg1 ) ; } |
16,681 | retrieves an entry from the cache . the retrieved entry becomes the mru most recently used entry . concode_field_sep String TAG concode_elem_sep int cacheSize concode_elem_sep float hashTableLoadFactor concode_elem_sep LinkedHashMap<String,Bitmap> map concode_field_sep int usedEntries concode_elem_sep boolean contains ... | Bitmap function ( String arg0 ) { return map . get ( arg0 ) ; } |
16,682 | the total time merge io writes were throttled . concode_field_sep long totalBytesPerSecAutoThrottle concode_elem_sep XContentBuilderString TOTAL_DOCS concode_elem_sep XContentBuilderString CURRENT_SIZE_IN_BYTES concode_elem_sep XContentBuilderString CURRENT_DOCS concode_elem_sep XContentBuilderString TOTAL_THROTTLE_BYT... | TimeValue function ( ) { return new TimeValue ( totalThrottledTimeInMillis ) ; } |
16,683 | prints the dimensions of the volume to stdout . concode_field_sep int MAX_DIM concode_elem_sep int[] size concode_elem_sep boolean DEBUG_FLAG concode_elem_sep float[][][] data concode_elem_sep int in_dim concode_elem_sep float[] spacing concode_elem_sep int dimensions concode_field_sep void destroy concode_elem_sep int... | void function ( ) { for ( int loc0 = 0 ; loc0 < dimensions ; loc0 ++ ) { System . out . print ( size [ loc0 ] + "srini_string" ) ; } System . out . println ( "srini_string" + in_dim ) ; if ( DEBUG_FLAG ) { System . out . println ( data . length + "srini_string" + data [ 0 ] . length + "srini_string" + data [ 0 ] [ 0 ] ... |
16,684 | initializes this dispatcher on first execution . concode_field_sep Logger LOG concode_elem_sep BitstreamInfoDAO bitstreamInfoDAO concode_elem_sep boolean init concode_elem_sep String handle concode_elem_sep ListDispatcher delegate concode_field_sep void init | int function ( ) { if ( ! init ) { init ( ) ; } return delegate . next ( ) ; } |
16,685 | get custom deserializer concode_field_sep int erro concode_elem_sep boolean isInBlackList concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.String mensagem concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_field_sep void setMensagem co... | org . apache . axis . encoding . Deserializer function ( java . lang . String arg0 , java . lang . Class arg1 , javax . xml . namespace . QName arg2 ) { return new org . apache . axis . encoding . ser . BeanDeserializer ( arg1 , arg2 , typeDesc ) ; } |
16,686 | creates an instance of httpmessagewriter to be used forwriting out http requests sent over this connection . this method can be overridden in a super class in order to provide a different implementation of the httpmessagewriter interface orto pass a different implementation of lineformatter to thethe default implementa... | HttpMessageWriter function ( final SessionOutputBuffer arg0 , final HttpParams arg1 ) { return new HttpRequestWriter ( arg0 , null , arg1 ) ; } |
16,687 | adds the specified page to selected page cache . no checking is done to make sure of selected text . the caches is used as an optimization to make sure selected text can be cleared quickly . concode_field_sep ArrayList<WeakReference<AbstractPageViewComponent>> selectedPageText concode_elem_sep float oldUserZoom concode... | void function ( AbstractPageViewComponent arg0 ) { if ( selectedPageText == null ) { selectedPageText = new ArrayList < WeakReference < AbstractPageViewComponent >> ( ) ; } selectedPageText . add ( new WeakReference < AbstractPageViewComponent > ( arg0 ) ) ; } |
16,688 | set the name of all the sub products . concode_field_sep long serialVersionUID concode_elem_sep String processName concode_elem_sep Collection<String> allSubProductNames concode_elem_sep Collection<String> directSubProductNames concode_elem_sep String productName concode_field_sep String getProcessName concode_elem_sep... | void function ( final Collection < String > arg0 ) { allSubProductNames = arg0 ; } |
16,689 | gets the size of the compressed data . concode_field_sep byte KNOWN_DOSTIME concode_elem_sep long compressedSize concode_elem_sep int offset concode_elem_sep byte[] extra concode_elem_sep int flags concode_elem_sep int STORED concode_elem_sep byte KNOWN_EXTRA concode_elem_sep String comment concode_elem_sep byte method... | long function ( ) { return compressedSize ; } |
16,690 | the repository name associated with the request . concode_field_sep Long lastByteReceived concode_elem_sep String uploadId concode_elem_sep String registryId concode_elem_sep String repositoryName concode_field_sep String getUploadId concode_elem_sep UploadLayerPartResult withUploadId concode_elem_sep void setRegistryI... | UploadLayerPartResult function ( String arg0 ) { setRepositoryName ( arg0 ) ; return this ; } |
16,691 | returns the data savings in bytes from when the promo snackbar was last displayed . concode_field_sep String SHARED_PREF_DISPLAYED_FRE_OR_SECOND_RUN_PROMO concode_elem_sep String SHARED_PREF_DISPLAYED_INFOBAR_PROMO_VERSION concode_elem_sep String SHARED_PREF_DISPLAYED_FRE_OR_SECOND_PROMO_TIME_MS concode_elem_sep String... | long function ( ) { return ContextUtils . getAppSharedPreferences ( ) . getLong ( SHARED_PREF_DISPLAYED_SNACKBAR_PROMO_SAVED_BYTES , - 1 ) ; } |
16,692 | set the minimum lightness value for this target . concode_field_sep float[] mLightnessTargets concode_elem_sep Target LIGHT_VIBRANT concode_elem_sep float MAX_MUTED_SATURATION concode_elem_sep float WEIGHT_POPULATION concode_elem_sep float WEIGHT_SATURATION concode_elem_sep int INDEX_WEIGHT_SAT concode_elem_sep int IND... | Builder function ( @ FloatRange ( from = 0 , to = 1 ) float arg0 ) { mTarget . mLightnessTargets [ INDEX_MIN ] = arg0 ; return this ; } |
16,693 | get the maximal number of arguments needed . the command opcode is included in the number of arguments . if this method return -1 , the command can take any number of arguments . concode_field_sep Logger LOG concode_field_sep boolean canExecute concode_elem_sep CmdType getType concode_elem_sep int getMinimalArgsCountNe... | int function ( ) { return - 1 ; } |
16,694 | gets the value of the id property . concode_field_sep EventTypeVersion eventTypeVersion concode_elem_sep EventTypeName eventTypeName concode_elem_sep String id concode_elem_sep EventTypeVendor eventTypeVendor concode_field_sep void setEventTypeName concode_elem_sep void setEventTypeVendor concode_elem_sep EventTypeVers... | String function ( ) { return id ; } |
16,695 | display an icon from the specified org.xwiki.icon.iconset . concode_field_sep Execution execution concode_elem_sep IconManager iconManager concode_elem_sep IconSetManager iconSetManager concode_elem_sep String ERROR_KEY concode_field_sep String getCurrentIconSetName concode_elem_sep IconException getLastError concode_e... | String function ( String arg0 , String arg1 ) { try { return iconManager . renderHTML ( arg0 , arg1 ) ; } catch ( IconException loc0 ) { setLastError ( loc0 ) ; return null ; } } |
16,696 | sets the cluster 's current stack before upgrade . concode_field_sep UpgradeType m_upgradeType concode_elem_sep StackId m_targetStackId concode_elem_sep String m_repositoryVersion concode_elem_sep PrerequisiteCheckConfig m_prereqCheckConfig concode_elem_sep StackId m_sourceStackId concode_elem_sep Map<CheckDescription,... | void function ( StackId arg0 ) { m_sourceStackId = arg0 ; } |
16,697 | is called by the main application to give a reference back to itself . concode_field_sep MainApp mainApp concode_field_sep void handleSave concode_elem_sep void handleAbout concode_elem_sep void handleOpen concode_elem_sep void handleSaveAs concode_elem_sep void handleExit concode_elem_sep void handleShowBirthdayStatis... | void function ( MainApp arg0 ) { this . mainApp = arg0 ; } |
16,698 | run all defined filters . assume logical and . concode_field_sep URLFilter[] filters concode_elem_sep String URLFILTER_ORDER concode_field_sep placeholderType placeHolder | String function ( String arg0 ) { for ( int loc0 = 0 ; loc0 < this . filters . length ; loc0 ++ ) { if ( arg0 == null ) return null ; arg0 = this . filters [ loc0 ] . filter ( arg0 ) ; } return arg0 ; } |
16,699 | get time of day in clarion format value = 10ths of seconds since midnight + 1 . i.e. midnight = 1 the 10th of a second before midnight = 8640000 0 = invalid/null concode_field_sep Long localizedEpoch concode_field_sep int epochToClarionDate concode_elem_sep int date concode_elem_sep int month concode_elem_sep int year ... | int function ( ) { Calendar loc0 = Calendar . getInstance ( ) ; return 1 + loc0 . get ( Calendar . HOUR_OF_DAY ) * 360000 + loc0 . get ( Calendar . MINUTE ) * 6000 + loc0 . get ( Calendar . SECOND ) * 100 + loc0 . get ( Calendar . MILLISECOND ) / 10 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.