idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
7,300 | returns a string representation of this object ; useful for testing and debugging . concode_field_sep com.amazonaws.internal.SdkInternalList<String> tapeARNs concode_field_sep java.util.List<String> getTapeARNs concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep CreateTapesResult clone concod... | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( getTapeARNs ( ) != null ) loc0 . append ( "srini_string" + getTapeARNs ( ) ) ; loc0 . append ( "srini_string" ) ; return loc0 . toString ( ) ; } |
7,301 | returns a string form of the given objects using the given delegate . concode_field_sep PlaceHolder placeHolder concode_field_sep EOEntity requiredEntityNamed concode_elem_sep EOEntity requiredEntityNamed | String function ( ERXRestContext arg0 , IERXRestResponseWriter arg1 , EOEntity arg2 , NSArray arg3 ) { ERXStringBufferRestResponse loc0 = new ERXStringBufferRestResponse ( ) ; arg1 . appendToResponse ( arg0 , loc0 , new ERXRestKey ( arg0 , arg2 , null , arg3 ) ) ; return loc0 . toString ( ) ; } |
7,302 | sets the recent layout branch id of this recent layout branch . concode_field_sep RecentLayoutBranch _recentLayoutBranch concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes conco... | void function ( long arg0 ) { _recentLayoutBranch . setRecentLayoutBranchId ( arg0 ) ; } |
7,303 | compare 2 byte arrays , return 0 if equal , 1 if a > b , -1 if b > a concode_field_sep PersistitStoreManager storeManager concode_elem_sep Persistit persistit concode_elem_sep String name concode_field_sep StaticBuffer getKey concode_elem_sep String getName concode_elem_sep StaticBuffer getBuffer concode_elem_sep boole... | int function ( final byte [ ] arg0 , final byte [ ] arg1 ) { final int loc0 = Math . min ( arg0 . length , arg1 . length ) ; for ( int loc1 = 0 ; loc1 < loc0 ; loc1 ++ ) { if ( arg0 [ loc1 ] != arg1 [ loc1 ] ) { if ( ( arg0 [ loc1 ] & 0xFF ) > ( arg1 [ loc1 ] & 0xFF ) ) return 1 ; else return - 1 ; } } if ( arg0 . leng... |
7,304 | create a compression instance using the codec specified by codecclassname concode_field_sep CompressionCodec imageCodec concode_field_sep FSImageCompression readCompressionHeader concode_elem_sep CompressionCodec getImageCodec concode_elem_sep FSImageCompression createNoopCompression concode_elem_sep DataOutputStream w... | FSImageCompression function ( Configuration arg0 , String arg1 ) { CompressionCodecFactory loc0 = new CompressionCodecFactory ( arg0 ) ; CompressionCodec loc1 = loc0 . getCodecByClassName ( arg1 ) ; if ( loc1 == null ) { throw new IOException ( "srini_string" + arg1 ) ; } return new FSImageCompression ( loc1 ) ; } |
7,305 | sets the value of the trpr property . concode_field_sep CTTblPrBase tblPr concode_elem_sep Object parent concode_elem_sep PPr pPr concode_elem_sep RPr rPr concode_elem_sep TrPr trPr concode_elem_sep TcPr tcPr concode_elem_sep STTblStyleOverrideType type concode_field_sep void setTblPr concode_elem_sep TcPr getTcPr conc... | void function ( TrPr arg0 ) { this . trPr = arg0 ; } |
7,306 | method to get the uri from the httprequest . concode_field_sep String COOKIE_NAME_VALUE_SEPARATOR concode_elem_sep String COOKIE_PARAMETER_SEPARATOR concode_elem_sep String NAME_VALUE_SEPARATOR concode_elem_sep String PARAMETER_SEPARATOR concode_field_sep Map<String,String> parseGetParameter concode_elem_sep Map<String... | URI function ( final HttpRequest arg0 ) { if ( arg0 == null ) { return null ; } final URI loc0 ; try { loc0 = new URI ( arg0 . getRequestLine ( ) . getUri ( ) ) ; } catch ( URISyntaxException loc1 ) { throw new IllegalStateException ( "srini_string" , loc1 ) ; } return loc0 ; } |
7,307 | checks if the arguments are valid . concode_field_sep FileSystem mFileSystem concode_elem_sep Option RECURSIVE_OPTION concode_elem_sep Configuration mConfiguration concode_field_sep CommandLine parseAndValidateArgs concode_elem_sep int getNumOfArgs concode_elem_sep Options getOptions | boolean function ( String ... arg0 ) { boolean loc0 = arg0 . length == getNumOfArgs ( ) ; if ( ! loc0 ) { System . out . println ( getCommandName ( ) + "srini_string" + getNumOfArgs ( ) + "srini_string" + "srini_string" + arg0 . length + "srini_string" ) ; } return loc0 ; } |
7,308 | add a track to the collection . concode_field_sep Random random concode_elem_sep TrackReader reader concode_elem_sep ArrayList<Track> tracks concode_elem_sep MusicPlayer player concode_field_sep void listTrack concode_elem_sep void removeTrack concode_elem_sep void randomListOfSong concode_elem_sep boolean indexValid c... | void function ( Track arg0 ) { tracks . add ( arg0 ) ; } |
7,309 | gets the value of the fieldname property . concode_field_sep Dbindex dbindex concode_elem_sep SqlType sqlType concode_elem_sep FieldName fieldName concode_elem_sep JdbcType jdbcType concode_elem_sep List<Property> property concode_elem_sep ColumnName columnName concode_field_sep void setColumnName concode_elem_sep Jdbc... | FieldName function ( ) { return fieldName ; } |
7,310 | reset the resources associated with this context concode_field_sep TargetRequest request concode_elem_sep MessageContext requestMsgCtx concode_elem_sep TargetResponse response concode_elem_sep Pipe reader concode_elem_sep TargetConfiguration targetConfiguration concode_elem_sep ProtocolState state concode_elem_sep Pipe... | void function ( boolean arg0 ) { request = null ; response = null ; if ( writer != null ) { if ( ! arg0 ) { ControlledByteBuffer loc0 = writer . getBuffer ( ) ; targetConfiguration . getBufferFactory ( ) . release ( loc0 ) ; } } reader = null ; writer = null ; } |
7,311 | gets the hostname of the taskmanager . the hostname derives from the fully qualified domain name fqdn , see #getfqdnhostname : if the fqdn is the textual ip address , then the hostname is also the ip address if the fqdn has only one segment such as `` localhost '' , or `` host17 '' , then this is used as the hostname .... | String function ( ) { return hostName ; } |
7,312 | returns the mapping code for a given character . the mapping codes are maintained in an internal char array named soundexmapping , and the default values of these mappings are us english . concode_field_sep String US_ENGLISH_MAPPING_STRING concode_elem_sep char[] soundexMapping concode_elem_sep RefinedSoundex US_ENGLIS... | char function ( char arg0 ) { if ( ! Character . isLetter ( arg0 ) ) { return 0 ; } return this . soundexMapping [ Character . toUpperCase ( arg0 ) - 'A' ] ; } |
7,313 | overriden in a sign to provide the text . concode_field_sep int field_145851_c concode_elem_sep Map classToNameMap concode_elem_sep Logger logger concode_elem_sep String __OBFID concode_elem_sep Block blockType concode_elem_sep Map nameToClassMap concode_elem_sep int field_145849_e concode_elem_sep int field_145848_d c... | Packet function ( ) { return null ; } |
7,314 | returns the maximum right value of the interval . concode_field_sep double min concode_elem_sep double max concode_elem_sep int dimension concode_field_sep double getMin concode_elem_sep int getDimension concode_elem_sep String toString concode_elem_sep int compareTo | double function ( ) { return max ; } |
7,315 | creates an instance of hashmap concode_field_sep Map mMap concode_elem_sep boolean mUnderConstruction concode_field_sep Map<K,V> build concode_elem_sep Map<K,V> of concode_elem_sep Map<K,V> of concode_elem_sep Map<K,V> of concode_elem_sep Map<K,V> of concode_elem_sep Map<K,V> of concode_elem_sep Map<K,V> of concode_ele... | HashMap < K , V > function ( ) { return new HashMap < K , V > ( ) ; } |
7,316 | returns an iterator over all the regular entries of this object . that means that transparent or child tree properties are not included . concode_field_sep PropertyElement next concode_elem_sep Map<String,PropertyType<?>> suffixes concode_elem_sep Map<Class<?>,PropertyType<?>> types concode_elem_sep String transparent ... | Iterator < PropertyElement > function ( ) { return iterator ( "srini_string" ) ; } |
7,317 | select a dataobject from the database concode_field_sep long serialVersionUID concode_elem_sep Instances instances concode_elem_sep TreeMap treeMap concode_elem_sep double[] attributeMinValues concode_elem_sep double[] attributeMaxValues concode_field_sep Iterator dataObjectIterator concode_elem_sep Instances getInstan... | DataObject function ( String arg0 ) { return ( DataObject ) treeMap . get ( arg0 ) ; } |
7,318 | returns the mean . concode_field_sep Number q1 concode_elem_sep Number q3 concode_elem_sep long serialVersionUID concode_elem_sep Number median concode_elem_sep Number minRegularValue concode_elem_sep Number mean concode_elem_sep Number minOutlier concode_elem_sep Number maxRegularValue concode_elem_sep List outliers c... | Number function ( ) { return this . mean ; } |
7,319 | gets the message . concode_field_sep String subject concode_elem_sep Long id concode_elem_sep String to concode_elem_sep String message concode_field_sep String getSubject concode_elem_sep void setSubject concode_elem_sep void setId concode_elem_sep void setTo concode_elem_sep Long getId concode_elem_sep String getTo c... | String function ( ) { return message ; } |
7,320 | return the depth of the superclass matching . 0 means ex matches exactly . returns -1 if there is no match . otherwise , returns depth with thelowest depth winning . concode_field_sep RollbackRuleAttribute ROLLBACK_ON_RUNTIME_EXCEPTIONS concode_elem_sep String exceptionName concode_field_sep String getExceptionName con... | int function ( Throwable arg0 ) { return getDepth ( arg0 . getClass ( ) , 0 ) ; } |
7,321 | gets the descriptor value for this remoteroleactor . concode_field_sep com.atlassian.jira.rpc.soap.beans.RemoteProjectRole projectRole concode_elem_sep java.lang.String parameter concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc ... | java . lang . String function ( ) { return descriptor ; } |
7,322 | sets the value of the passinfo property . concode_field_sep XMLGregorianCalendar purchaseDate concode_elem_sep long serialVersionUID concode_elem_sep PrepaidPassInfo passInfo concode_field_sep void setPurchaseDate concode_elem_sep PrepaidPassInfo getPassInfo concode_elem_sep XMLGregorianCalendar getPurchaseDate | void function ( PrepaidPassInfo arg0 ) { this . passInfo = arg0 ; } |
7,323 | adds module jackson modules to the object mapper . concode_field_sep String DEFAULT_ENV_PREFIX concode_elem_sep String DEFAULT_PROP_PREFIX concode_field_sep ConfigDataBuilder add concode_elem_sep ConfigDataBuilder args concode_elem_sep ConfigDataBuilder args concode_elem_sep ConfigDataBuilder args concode_elem_sep Conf... | ConfigDataBuilder function ( Module ... arg0 ) { getObjectMapper ( ) . registerModules ( arg0 ) ; return this ; } |
7,324 | determines if a string has been changed . concode_field_sep ListIterator<T> _i concode_field_sep T next concode_elem_sep boolean areBooleansDifferent concode_elem_sep String getTimeFromLong concode_elem_sep boolean hasNonNullElement concode_elem_sep boolean hasNext concode_elem_sep String concat concode_elem_sep String... | boolean function ( String arg0 , String arg1 ) { if ( arg0 == null && arg1 == null ) { return false ; } else if ( arg0 == null || arg1 == null ) { return true ; } else { return ! arg0 . equals ( arg1 ) ; } } |
7,325 | get the unix path starting at container concode_field_sep String INODE_DIRECTORY_MIME_TYPE concode_elem_sep TreePath path concode_elem_sep long serialVersionUID concode_elem_sep WeakReference<VirtualFile> _parent concode_elem_sep FileIFace file concode_elem_sep String name concode_elem_sep Set<VirtualFile> children con... | List < String > function ( ) { final VirtualFile loc0 = _parent . get ( ) ; if ( loc0 == null || loc0 . getParent ( ) == null ) return new LinkedList < String > ( ) ; else { final List < String > loc1 = loc0 . getUnixPathWithoutContainerAsAList ( ) ; loc1 . add ( getName ( ) ) ; return loc1 ; } } |
7,326 | sets the destination ip address for the acl rule that will be built . concode_field_sep Ip4Prefix srcIp concode_elem_sep IdGenerator idGenerator concode_elem_sep Ip4Prefix dstIp concode_elem_sep byte ipProto concode_elem_sep byte ipProto concode_elem_sep Action action concode_elem_sep Ip4Prefix srcIp concode_elem_sep R... | Builder function ( Ip4Prefix arg0 ) { this . dstIp = arg0 ; return this ; } |
7,327 | finds a product in the database concode_field_sep String productVersion concode_elem_sep ZWaveDbRoot database concode_elem_sep Logger logger concode_elem_sep ZWaveDbProduct selProduct concode_elem_sep ZWaveDbManufacturer selManufacturer concode_elem_sep List<ZWaveDbManufacturer> Manufacturer concode_elem_sep ZWaveDbPro... | boolean function ( int arg0 , int arg1 , int arg2 , String arg3 ) { if ( FindManufacturer ( arg0 ) == false ) { return false ; } return FindProduct ( arg1 , arg2 , arg3 ) ; } |
7,328 | removes all the mappings from this actionmap . concode_field_sep DowngradeActionMap parent concode_elem_sep HashMap actionMap concode_elem_sep ArrayList actionList concode_field_sep DowngradeActionMap getParent concode_elem_sep int size concode_elem_sep Object[] keys concode_elem_sep Action get concode_elem_sep Object[... | void function ( ) { this . actionMap . clear ( ) ; this . actionList . clear ( ) ; } |
7,329 | constructs a new script based sort . concode_field_sep PlaceHolder placeHolder concode_field_sep FieldSortBuilder fieldSort concode_elem_sep ScoreSortBuilder scoreSort concode_elem_sep GeoDistanceSortBuilder geoDistanceSort concode_elem_sep GeoDistanceSortBuilder geoDistanceSort concode_elem_sep GeoDistanceSortBuilder ... | ScriptSortBuilder function ( Script arg0 , ScriptSortType arg1 ) { return new ScriptSortBuilder ( arg0 , arg1 ) ; } |
7,330 | obtains the objectinfo meta-data for the associated copy-always objects , corresponding one-for-one with the #copyalwaysids . concode_field_sep List copyAlwaysIds concode_elem_sep String containerClass concode_elem_sep String hints concode_elem_sep String copyParentId concode_elem_sep List alwaysCopyEObjectInfoList con... | List function ( ) { return alwaysCopyEObjectInfoList ; } |
7,331 | retrieves the factory implementation that this factory is using to produce threads . concode_field_sep ThreadFactory factory concode_field_sep Thread newThread concode_elem_sep ThreadFactory setImpl | ThreadFactory function ( ) { return factory ; } |
7,332 | gets the value of the rateplancode property . concode_field_sep List<DiscountDetailInfo> discountDetail concode_elem_sep String ratePlanDesc concode_elem_sep String ratePlanMRC concode_elem_sep long serialVersionUID concode_elem_sep String ratePlanCode concode_elem_sep String msisdn concode_elem_sep Integer lineNumber ... | String function ( ) { return ratePlanCode ; } |
7,333 | simply removes an eobject from its container . concode_field_sep Map nameFeatureMap concode_elem_sep Object NULL_TOKEN concode_field_sep boolean shouldOverrideCopyOperation concode_elem_sep void setName concode_elem_sep boolean canContain concode_elem_sep XMLResource getResource concode_elem_sep String getName concode_... | void function ( EObject arg0 ) { EcoreUtil . remove ( arg0 ) ; if ( arg0 . eResource ( ) != null ) { arg0 . eResource ( ) . getContents ( ) . remove ( arg0 ) ; } } |
7,334 | sets the value of the agentproceduretmpldeleteresult property . concode_field_sep JAXBElement<BaseResponse> agentProcedureTmplDeleteResult concode_field_sep JAXBElement<BaseResponse> getAgentProcedureTmplDeleteResult | void function ( JAXBElement < BaseResponse > arg0 ) { this . agentProcedureTmplDeleteResult = arg0 ; } |
7,335 | returns a stream of route s matching the initial criteria concode_field_sep Set<Route<? extends RouteSource,? extends RouteDestination>> routes concode_field_sep int routesCount concode_elem_sep String toString | Stream < Route < Source , Destination >> function ( Class < Source > arg0 , Class < Destination > arg1 ) { Stream loc0 = routes . stream ( ) . filter ( r -> arg0 . isAssignableFrom ( r . getRouteSource ( ) . getClass ( ) ) ) . filter ( r -> arg1 . isAssignableFrom ( r . getRouteDesitnation ( ) . getClass ( ) ) ) ; retu... |
7,336 | calculates whether this time is the last time to repeat . concode_field_sep HashMap<Volta,Integer> startMeasures concode_field_sep int getBlockLength concode_elem_sep Range getRange concode_elem_sep void addVolta concode_elem_sep int getRepeatCount | boolean function ( int arg0 ) { if ( arg0 == getRepeatCount ( ) ) { return true ; } return false ; } |
7,337 | converts a collection of edges to their diff-based identities . concode_field_sep Edge edge concode_elem_sep int from concode_elem_sep int to concode_elem_sep String label concode_elem_sep String type concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep NLPInstance diff | Set < EdgeIdentity > function ( Collection < Edge > arg0 ) { HashSet < EdgeIdentity > loc0 = new HashSet < EdgeIdentity > ( ) ; for ( Edge loc1 : arg0 ) loc0 . add ( new EdgeIdentity ( loc1 ) ) ; return loc0 ; } |
7,338 | determines whether all the tasks are done . if there are no more tasks scheduled for process , and no ongoing tasks , it is impossible that new work will arrive , so the spidering is done . concode_field_sep int spiderTasksDone concode_elem_sep Map blocked concode_elem_sep Set assignedSpiderTasks concode_elem_sep Set a... | boolean function ( ) { return ( fetchTasks . size ( ) == 0 && thinkerTasks . size ( ) == 0 && assignedSpiderTasks . size ( ) == 0 && assignedThinkerTasks . size ( ) == 0 && blocked . size ( ) == 0 ) ; } |
7,339 | method to add a child node concode_field_sep String name concode_elem_sep HashMap<String,String> attributes concode_elem_sep String value concode_elem_sep ArrayList<NodeBuilder> children concode_field_sep void setAttribute concode_elem_sep void setValue concode_elem_sep Node getNode | void function ( NodeBuilder arg0 ) { children . add ( arg0 ) ; } |
7,340 | does this distribution allow to create other accounts than the one of the distribution concode_field_sep PlaceHolder placeHolder concode_field_sep boolean supportCallRecord concode_elem_sep WizardInfo getCustomDistributionWizard concode_elem_sep boolean forceNoMultipleCalls concode_elem_sep boolean showFirstSettingScre... | boolean function ( ) { return true ; } |
7,341 | gets the securityhandler associated with this security manager . concode_field_sep Logger logger concode_elem_sep EncryptionDictionary encryptDictionary concode_elem_sep SecurityHandler securityHandler concode_elem_sep boolean foundJCE concode_field_sep byte[] getEncryptionKey concode_elem_sep boolean isAuthorized conc... | SecurityHandler function ( ) { return securityHandler ; } |
7,342 | changes the mute state of the corresponding sink concode_field_sep String ITEM_SINK_INPUT concode_elem_sep String ITEM_SINK concode_elem_sep String CMD_UNLOAD_MODULE concode_elem_sep String MODULE_COMBINE_SINK concode_elem_sep List<Module> modules concode_elem_sep String CMD_LIST_SOURCE_OUTPUTS concode_elem_sep String ... | void function ( AbstractAudioDeviceConfig arg0 , boolean arg1 ) { if ( arg0 == null ) return ; String loc0 = getItemCommandName ( arg0 ) ; if ( loc0 == null ) return ; String loc1 = arg1 ? "srini_string" : "srini_string" ; _sendRawCommand ( "srini_string" + loc0 + "srini_string" + arg0 . getId ( ) + "srini_string" + lo... |
7,343 | called after a cloud has returned a plannednode , but before that node is necessarily ready for connection . concode_field_sep PlaceHolder placeHolder concode_field_sep ExtensionList<CloudProvisioningListener> all concode_elem_sep void onCommit concode_elem_sep void onComplete concode_elem_sep void onFailure concode_el... | void function ( Cloud arg0 , Label arg1 , Collection < NodeProvisioner . PlannedNode > arg2 ) { } |
7,344 | returns a jsonvalue instance that represents the given long value . concode_field_sep JsonValue FALSE concode_elem_sep JsonValue NULL concode_elem_sep JsonValue TRUE concode_field_sep JsonValue readFrom concode_elem_sep JsonValue readFrom concode_elem_sep boolean isObject concode_elem_sep JsonArray asArray concode_elem... | JsonValue function ( long arg0 ) { return new JsonNumber ( Long . toString ( arg0 , 10 ) ) ; } |
7,345 | returns a class object that identifies the declared type for the field . concode_field_sep com.badlogic.gwtref.client.Field field concode_field_sep Class getElementType concode_elem_sep boolean isAccessible concode_elem_sep boolean isStatic concode_elem_sep String getName concode_elem_sep void set concode_elem_sep void... | Class function ( ) { return field . getType ( ) . getClassOfType ( ) ; } |
7,346 | tests instantiating an fsdatasetspi subclass . concode_field_sep PlaceHolder placeHolder concode_field_sep void testIntantiateExternalReplica concode_elem_sep void testInstantiateReplicaInPipeline concode_elem_sep void testInstantiateVolumeImpl | void function ( ) { FsDatasetSpi < ? > loc0 = new ExternalDatasetImpl ( ) ; } |
7,347 | gets the page size . concode_field_sep String orderType concode_elem_sep Integer startIndex concode_elem_sep Integer pageSize concode_elem_sep String orderField concode_elem_sep boolean returnCount concode_field_sep String getOrderField concode_elem_sep boolean isReturnCount concode_elem_sep String getOrderType concode... | Integer function ( ) { return pageSize ; } |
7,348 | return the mbeanserver that the beans will be registered with . concode_field_sep MBeanServer server concode_elem_sep Log logger concode_elem_sep RegistrationPolicy registrationPolicy concode_elem_sep Set<ObjectName> registeredBeans concode_field_sep void doUnregister concode_elem_sep void onRegister concode_elem_sep v... | MBeanServer function ( ) { return this . server ; } |
7,349 | adds the sdo_batch_size parameter with the specified value concode_field_sep String MIN_RESOLUTION concode_elem_sep String DISTANCE concode_elem_sep String MASK concode_elem_sep String SDO_NUM_RES concode_elem_sep String QUERYTYPE concode_elem_sep String SDO_BATCH_SIZE concode_elem_sep String MAX_RESOLUTION concode_ele... | void function ( Integer arg0 ) { if ( arg0 != null ) { params . put ( SDO_BATCH_SIZE , arg0 ) ; } } |
7,350 | runs autonomous mode with values from file in filepath . concode_field_sep Latch latch concode_elem_sep LinearLift linearLift concode_elem_sep ColorSensor colorSensor concode_elem_sep int NAVX_DIM_I2C_PORT concode_elem_sep Servo climberDispenserServo concode_elem_sep RightClimber rightClimber concode_elem_sep Servo lef... | void function ( ) { autoScorer . driveUsingReplay ( ) ; try { if ( readFileRW != null ) { readFileRW . close ( ) ; } if ( writeFileRW != null ) { writeFileRW . close ( ) ; } } catch ( IOException loc0 ) { loc0 . printStackTrace ( ) ; } } |
7,351 | confirm that the equals method can distinguish all the required fields . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testSerialization | void function ( ) { CrosshairOverlay loc0 = new CrosshairOverlay ( ) ; CrosshairOverlay loc1 = new CrosshairOverlay ( ) ; assertEquals ( loc0 , loc1 ) ; } |
7,352 | computes a valid index for this line by clamping the given index to the valid range of index values concode_field_sep Geometry linearGeom concode_field_sep double getStartIndex concode_elem_sep double getEndIndex concode_elem_sep Geometry extractLine concode_elem_sep double project concode_elem_sep LinearLocation locat... | double function ( double arg0 ) { double loc0 = positiveIndex ( arg0 ) ; double loc1 = getStartIndex ( ) ; if ( loc0 < loc1 ) return loc1 ; double loc2 = getEndIndex ( ) ; if ( loc0 > loc2 ) return loc2 ; return loc0 ; } |
7,353 | indicates whether the given value is numeric . concode_field_sep String IGNORED_KEYWORDS_REGEX concode_elem_sep JexlEngine JEXL_STRICT concode_elem_sep JexlEngine JEXL concode_elem_sep Pattern NUMERIC_PATTERN concode_elem_sep Map<String,String> EL_SQL_MAP concode_field_sep String asSql concode_elem_sep boolean isTrue c... | boolean function ( String arg0 ) { return NUMERIC_PATTERN . matcher ( arg0 ) . matches ( ) ; } |
7,354 | gets the customcriterianodetype value for this customcriterianode . concode_field_sep java.lang.String customCriteriaNodeType concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep boolean __hashCodeCalc concode_elem_sep org.apache.axis.description.TypeDesc typeDesc concode_field_sep org.apache.axis.descriptio... | java . lang . String function ( ) { return customCriteriaNodeType ; } |
7,355 | creates an iostream from an allowed config string : / dev/ttyxyz serial port like e.g. usb : / dev/ttyusb0 or alias / dev/insteon / hub2/user : password@myinsteonhub.mydomain.com :25105 , poll_time = 1000 insteon hub2 2014 / hub/myinsteonhub . mydomain.com :9761 / tcp/serialportserver . mydomain.com : port serial port ... | IOStream function ( String arg0 ) { if ( arg0 . startsWith ( "srini_string" ) ) { return makeHub2014Stream ( arg0 ) ; } else if ( arg0 . startsWith ( "srini_string" ) || arg0 . startsWith ( "srini_string" ) ) { return makeTCPStream ( arg0 ) ; } else { return new SerialIOStream ( arg0 ) ; } } |
7,356 | gets the message that nhlbot will respond with when queried about the score of this game concode_field_sep ZonedDateTime date concode_elem_sep int gamePk concode_elem_sep List<GameEvent> newEvents concode_elem_sep int homeScore concode_elem_sep Team awayTeam concode_elem_sep int eventsRetries concode_elem_sep List<Game... | String function ( ) { return String . format ( "srini_string" , homeTeam . getName ( ) , homeScore , awayScore , awayTeam . getName ( ) ) ; } |
7,357 | transform this call to an absolute url . concode_field_sep java.util.Random rand concode_field_sep String path concode_elem_sep String fragment concode_elem_sep String method concode_elem_sep Call withFragment concode_elem_sep Call unique concode_elem_sep String uniquify concode_elem_sep String webSocketURL concode_ele... | String function ( boolean arg0 , String arg1 ) { return "srini_string" + ( arg0 ? "srini_string" : "srini_string" ) + "srini_string" + arg1 + this . url ( ) + this . appendFragment ( ) ; } |
7,358 | set the attribute value . concode_field_sep String AA_COMPROMISE concode_elem_sep String KEY_COMPROMISE concode_elem_sep String SUPERSEDED concode_elem_sep boolean[] bitString concode_elem_sep String CA_COMPROMISE concode_elem_sep String UNUSED concode_elem_sep String AFFILIATION_CHANGED concode_elem_sep String CERTIFI... | void function ( String arg0 , Object arg1 ) { if ( ! ( arg1 instanceof Boolean ) ) { throw new IOException ( "srini_string" ) ; } boolean loc0 = ( ( Boolean ) arg1 ) . booleanValue ( ) ; set ( name2Index ( arg0 ) , loc0 ) ; } |
7,359 | delegates execution to the underlying runnable . concode_field_sep Runnable delegate concode_field_sep boolean isDaemon concode_elem_sep void release concode_elem_sep Runnable getDelegate | void function ( ) { this . delegate . run ( ) ; } |
7,360 | sets current home page to the current url being viewed . concode_field_sep URL myHome concode_elem_sep List<URL> myHistory concode_elem_sep String PROTOCOL_PREFIX concode_elem_sep String DEFAULT_RESOURCES concode_elem_sep URL myCurrentURL concode_elem_sep int myCurrentIndex concode_elem_sep Map<String,URL> myFavorites ... | void function ( ) { if ( myCurrentURL != null ) { myHome = myCurrentURL ; } } |
7,361 | set a custom com.crawljax.core.state.statevertexfactory to be able to use yourown com.crawljax.core.state.statevertex objects . this is useful when you want tohave a custom comparator in the stateflowgraph which relies on the object #hashcode or object #equals object of the com.crawljax.core.state.statevertex . concode... | CrawljaxConfigurationBuilder function ( StateVertexFactory arg0 ) { Preconditions . checkNotNull ( arg0 ) ; config . stateVertexFactory = arg0 ; return this ; } |
7,362 | sets subfield . concode_field_sep String ind2 concode_elem_sep List<SubfieldatafieldType> subfield concode_elem_sep String ind1 concode_elem_sep String id concode_elem_sep String tag concode_field_sep List<SubfieldatafieldType> getSubfield concode_elem_sep String getInd1 concode_elem_sep void setId concode_elem_sep Str... | void function ( List < SubfieldatafieldType > arg0 ) { this . subfield = arg0 ; } |
7,363 | passes this packet on to the nethandler for processing . concode_field_sep long timeUntilTarget concode_elem_sep double targetSize concode_elem_sep double centerZ concode_elem_sep int size concode_elem_sep double diameter concode_elem_sep double centerX concode_elem_sep int warningDistance concode_elem_sep SPacketWorld... | void function ( INetHandlerPlayClient arg0 ) { arg0 . handleWorldBorder ( this ) ; } |
7,364 | annotate for coreference deterministic concode_field_sep Redwood.RedwoodChannels log concode_field_sep Annotator coref concode_elem_sep Annotator sentiment concode_elem_sep Annotator natlog concode_elem_sep Annotator gender concode_elem_sep Annotator openie concode_elem_sep Annotator custom concode_elem_sep Annotator m... | Annotator function ( Properties arg0 ) { return new DeterministicCorefAnnotator ( arg0 ) ; } |
7,365 | this method resets the incoming events time events included . concode_field_sep boolean event1 concode_elem_sep SCIMyInterfaceImpl sCIMyInterface concode_elem_sep int nextStateIndex concode_elem_sep long myInt concode_elem_sep State[] stateVector concode_field_sep void init concode_elem_sep void setMyInt concode_elem_s... | void function ( ) { sCIMyInterface . clearEvents ( ) ; } |
7,366 | returns the error message given the error code . this method is be used when throwing exception other than hsqlexception . concode_field_sep String MESSAGE_TAG concode_elem_sep int SQL_STATE_DIGITS concode_elem_sep int ERROR_CODE_BASE concode_elem_sep int bundleHandle concode_elem_sep String errPropsName concode_elem_s... | String function ( final int arg0 ) { return getResourceString ( arg0 ) ; } |
7,367 | get default type name for specified type concode_field_sep Map<Integer,Map<Long,String>> weighted concode_elem_sep Map<Integer,String> defaults concode_field_sep String replace concode_elem_sep boolean containsTypeName concode_elem_sep void put concode_elem_sep void put | String function ( int arg0 ) { final String loc0 = defaults . get ( arg0 ) ; if ( loc0 == null ) { throw new MappingException ( "srini_string" + arg0 ) ; } return loc0 ; } |
7,368 | set the classpath containing the code to be tested if it is not already on the system classpath . concode_field_sep String classpath concode_elem_sep String jarFileName concode_field_sep void run concode_elem_sep void main concode_elem_sep TestSuite buildTestSuite concode_elem_sep Class<junit.framework.TestCase> getTes... | void function ( String arg0 ) { this . classpath = arg0 ; } |
7,369 | this method returns an array of locale objects which is the list of locales for which collator objects exist . concode_field_sep int TERTIARY concode_elem_sep int strength concode_elem_sep int decmp concode_elem_sep int SECONDARY concode_elem_sep int IDENTICAL concode_elem_sep int PRIMARY concode_elem_sep int FULL_DECO... | Locale [ ] function ( ) { Locale [ ] loc0 = new Locale [ 1 ] ; loc0 [ 0 ] = Locale . US ; return loc0 ; } |
7,370 | sets the screen resolution , like `` 1280x800 '' . concode_field_sep String userAgent concode_elem_sep String encoding concode_elem_sep String screenResolution concode_elem_sep String userLanguage concode_elem_sep String flashVersion concode_elem_sep String trackingCode concode_elem_sep String colorDepth concode_elem_s... | void function ( String arg0 ) { screenResolution = arg0 ; } |
7,371 | clones the list of objects . the objects in the list are not cloned , so this is method makes a ` shallow ' copy of the list . concode_field_sep long serialVersionUID concode_elem_sep Object[] objects concode_elem_sep int size concode_elem_sep int increment concode_elem_sep int DEFAULT_INITIAL_CAPACITY concode_field_se... | Object function ( ) { final AbstractObjectList loc0 = ( AbstractObjectList ) super . loc0 ( ) ; if ( this . objects != null ) { loc0 . objects = new Object [ this . objects . length ] ; System . arraycopy ( this . objects , 0 , loc0 . objects , 0 , this . objects . length ) ; } return loc0 ; } |
7,372 | sorts the point values of the discrete function . concode_field_sep DoubleVector values concode_elem_sep DoubleVector points concode_field_sep void setFunctionValue concode_elem_sep DoubleVector getFunctionValues concode_elem_sep double getFunctionValue concode_elem_sep double getPointValue concode_elem_sep boolean isE... | void function ( ) { IntVector loc0 = points . sortWithIndex ( ) ; values = values . subvector ( loc0 ) ; } |
7,373 | set whether or not this ordering constraint resulted from an ordering constraint having a single detector as its source earlier detector . such constraints automatically enable the source earlier detector if the target later detector is enabled . concode_field_sep DetectorFactorySelector later concode_elem_sep Detector... | void function ( boolean arg0 ) { this . singleSource = arg0 ; } |
7,374 | iterator . concode_field_sep Map<EntityInvocationHandler,AttachedEntityStatus> allAttachedEntities concode_elem_sep Map<EntityUUID,EntityInvocationHandler> searchableEntities concode_elem_sep List<URI> furtherDeletes concode_field_sep void detachAll concode_elem_sep void attachNew concode_elem_sep void detach concode_e... | Iterator < AttachedEntity > function ( ) { final List < AttachedEntity > loc0 = new ArrayList < AttachedEntity > ( ) ; for ( Map . Entry < EntityInvocationHandler , AttachedEntityStatus > loc1 : allAttachedEntities . entrySet ( ) ) { loc0 . add ( new AttachedEntity ( loc1 . getKey ( ) , loc1 . getValue ( ) ) ) ; } retu... |
7,375 | gets the userid of this userentity . concode_field_sep Collection<BookmarkEntity> bookmarkEntityCollection concode_elem_sep String password concode_elem_sep String userid concode_elem_sep String email concode_elem_sep String username concode_field_sep void setPassword concode_elem_sep String getPassword concode_elem_se... | String function ( ) { return this . userid ; } |
7,376 | abort this download . concode_field_sep DownloadItem mParent concode_elem_sep boolean mAborted concode_elem_sep int BUFFER_SIZE concode_elem_sep Handler mHandler concode_field_sep String getFileNameFromUrl concode_elem_sep void handleMessage concode_elem_sep void run concode_elem_sep File getFile | void function ( ) { mAborted = true ; } |
7,377 | returns the object managed by this initializer . the object is created if it is not available yet and stored internally . this method always returns the same object . concode_field_sep AtomicReference<T> reference concode_field_sep T initialize | T function ( ) { T loc0 = reference . get ( ) ; if ( loc0 == null ) { loc0 = initialize ( ) ; if ( ! reference . compareAndSet ( null , loc0 ) ) { loc0 = reference . get ( ) ; } } return loc0 ; } |
7,378 | method uses to initialize the model representing the classes who will bind the data . this process will scan for classes according to the package name provided , check the annotated classes and fields . concode_field_sep Set<Class<?>> models concode_elem_sep Map<String,List<Field>> annotatedLinkFields concode_elem_sep ... | void function ( ) { models = new HashSet < Class < ? >> ( ) ; modelClassNames = new HashSet < String > ( ) ; loadModels ( type ) ; } |
7,379 | utility method that converts a fully qualified java name into a jar entry path e.g. for the input `` android.view.view '' it returns `` android/view/view.class '' concode_field_sep Set<String> mStubMethods concode_elem_sep Map<String,ClassReader> mKeep concode_elem_sep Map<String,ClassReader> mDeps concode_elem_sep Has... | String function ( String arg0 ) { return arg0 . replaceAll ( "srini_string" , "srini_string" ) . concat ( "srini_string" ) ; } |
7,380 | returns a printable representation of this rule . concode_field_sep short TYPE concode_elem_sep StyleMap sm concode_elem_sep ParsedURL purl concode_field_sep ParsedURL getURL concode_elem_sep short getType concode_elem_sep StyleMap getStyleMap | String function ( CSSEngine arg0 ) { StringBuffer loc0 = new StringBuffer ( ) ; loc0 . append ( "srini_string" ) ; loc0 . append ( sm . toString ( arg0 ) ) ; loc0 . append ( "srini_string" ) ; return loc0 . toString ( ) ; } |
7,381 | returns the number of outliers in the list . concode_field_sep List outliers concode_elem_sep Outlier averagedOutlier concode_elem_sep boolean multiple concode_field_sep boolean add concode_elem_sep boolean isOverlapped concode_elem_sep Outlier getAveragedOutlier concode_elem_sep void updateAveragedOutlier concode_elem... | int function ( ) { return this . outliers . size ( ) ; } |
7,382 | sets the value of the target property . concode_field_sep Layout layout concode_elem_sep List<JAXBElement<?>> pageOrGroupOrLine concode_elem_sep String flavour concode_elem_sep String name concode_elem_sep Boolean nowidget concode_elem_sep String align concode_elem_sep String clazz concode_elem_sep String target concod... | void function ( String arg0 ) { this . target = arg0 ; } |
7,383 | gets the value of the nilreason property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the nilreason property . for example , to add a new item , d... | List < String > function ( ) { if ( nilReason == null ) { nilReason = new ArrayList < String > ( ) ; } return this . nilReason ; } |
7,384 | adds this formula to the list of formulas , if it falls within the bounds concode_field_sep BaseSharedFormulaRecord templateFormula concode_elem_sep ExternalSheet externalSheet concode_elem_sep int firstRow concode_elem_sep int lastRow concode_elem_sep ArrayList formulas concode_elem_sep int firstCol concode_elem_sep b... | boolean function ( BaseSharedFormulaRecord arg0 ) { boolean loc0 = false ; int loc1 = arg0 . getRow ( ) ; if ( loc1 >= firstRow && loc1 <= lastRow ) { int loc2 = arg0 . getColumn ( ) ; if ( loc2 >= firstCol && loc2 <= lastCol ) { formulas . add ( arg0 ) ; loc0 = true ; } } return loc0 ; } |
7,385 | doc amaumont comment method `` addtoomanynodescontentproposal '' . concode_field_sep MDMLinker linker concode_elem_sep String EMPTY_STRING concode_elem_sep String SLASH concode_elem_sep String PIPE concode_elem_sep boolean isRelativeTable concode_elem_sep IContentProposalProvider[] otherContentProposalProviders concode... | void function ( List < IContentProposal > arg0 ) { XPathContentProposal loc0 = new XPathContentProposal ( Messages . getString ( "srini_string" ) ) ; arg0 . add ( loc0 ) ; } |
7,386 | gets the multicast port . concode_field_sep boolean DEFAULT_LOOPBACK_MODE_ENABLED concode_elem_sep String multicastGroup concode_elem_sep int multicastTimeToLive concode_elem_sep Set<String> trustedInterfaces concode_elem_sep boolean DEFAULT_ENABLED concode_elem_sep int DEFAULT_MULTICAST_TTL concode_elem_sep int DEFAUL... | int function ( ) { return multicastPort ; } |
7,387 | gets the execution config object . concode_field_sep String jobName concode_elem_sep HashMap<String,DistributedCacheEntry> cacheFile concode_elem_sep JobID jobId concode_elem_sep List<GenericDataSinkBase<?>> sinks concode_elem_sep ExecutionConfig executionConfig concode_elem_sep long sessionTimeout concode_elem_sep int... | ExecutionConfig function ( ) { if ( executionConfig == null ) { throw new RuntimeException ( "srini_string" ) ; } return executionConfig ; } |
7,388 | implemented as a nop since this transaction always commits . this allows the following workflow : transaction t = roads.gettransaction ; try roads.addfeatures features ; roads.gettransaction . commit ; catch ioexception erp / / something went wrong ; roads.gettransaction . rollback ; concode_field_sep PlaceHolder place... | void function ( ) { } |
7,389 | gets a time formatter instance using the specified style , time zone and locale . concode_field_sep ConcurrentMap<MultipartKey,F> cInstanceCache concode_elem_sep Object[] keys concode_elem_sep int hashCode concode_elem_sep int NONE concode_elem_sep ConcurrentMap<MultipartKey,String> cDateTimeInstanceCache concode_field... | F function ( final int arg0 , final TimeZone arg1 , final Locale arg2 ) { return getDateTimeInstance ( null , Integer . valueOf ( arg0 ) , arg1 , arg2 ) ; } |
7,390 | create a mockhttpservletrequestbuilder for a delete request . concode_field_sep PlaceHolder placeHolder concode_field_sep MockHttpServletRequestBuilder patch concode_elem_sep MockHttpServletRequestBuilder patch concode_elem_sep MockHttpServletRequestBuilder head concode_elem_sep MockHttpServletRequestBuilder head conco... | MockHttpServletRequestBuilder function ( URI arg0 ) { return new MockHttpServletRequestBuilder ( HttpMethod . DELETE , arg0 ) ; } |
7,391 | gets the value of the plugin property . this accessor method returns a reference to the live list , not a snapshot . therefore any modification you make to the returned list will be present inside the jaxb object . this is why there is not a set method for the plugin property . for example , to add a new item , do as f... | List < Plugin > function ( ) { if ( plugin == null ) { plugin = new ArrayList < Plugin > ( ) ; } return this . plugin ; } |
7,392 | creates a cached and constant org.apache.camel.component.bean.beanholder from this holder . concode_field_sep BeanInfo beanInfo concode_elem_sep Class<?> type concode_field_sep Processor getProcessor concode_elem_sep boolean supportProcessor concode_elem_sep Class<?> getType concode_elem_sep String toString concode_ele... | ConstantBeanHolder function ( ) { Object loc0 = getBean ( ) ; return new ConstantBeanHolder ( loc0 , beanInfo ) ; } |
7,393 | cancel the scheduled task . concode_field_sep Timer timer concode_elem_sep TimerTask task concode_field_sep void schedule | void function ( ) { if ( task != null ) { task . cancel ( ) ; task = null ; } if ( timer != null ) { timer . cancel ( ) ; timer = null ; } } |
7,394 | get the localized date the report was generated . concode_field_sep ReportDef reportDef concode_elem_sep Date reportGenerationDate concode_elem_sep List<Stat> reportData concode_elem_sep long serialVersionUID concode_field_sep ReportDef getReportDefinition concode_elem_sep List<Stat> getReportData concode_elem_sep void... | String function ( ) { return TimeService . newTime ( reportGenerationDate . getTime ( ) ) . toStringLocalFull ( ) ; } |
7,395 | sets message that will be used when no message could be located via message keys . note : no variable substitution is performed on the given message ! concode_field_sep List<String> keys concode_elem_sep long serialVersionUID concode_elem_sep Map<String,Object> vars concode_elem_sep String message concode_field_sep Map... | ValidationError function ( String arg0 ) { Args . notNull ( arg0 , "srini_string" ) ; this . message = arg0 ; return this ; } |
7,396 | get properties of this iterator , as a bit-significant integer . concode_field_sep XPathContext keyContext concode_elem_sep Comparator collator concode_elem_sep ArrayList groupKeys concode_elem_sep ArrayList groups concode_elem_sep Expression keyExpression concode_elem_sep ArrayList initialItems concode_elem_sep int po... | int function ( ) { return LAST_POSITION_FINDER | LOOKAHEAD ; } |
7,397 | sets the path used in this request . concode_field_sep Short replication concode_elem_sep Path path concode_elem_sep long ms concode_elem_sep String pool concode_elem_sep long MAX_RELATIVE_EXPIRY_MS concode_elem_sep Expiration expiration concode_elem_sep Long id concode_elem_sep boolean isRelative concode_elem_sep Expi... | Builder function ( Path arg0 ) { this . path = arg0 ; return this ; } |
7,398 | create an instance of enventrytypevaluestype concode_field_sep QName _HandlerChains_QNAME concode_field_sep XsdAnyURIType createXsdAnyURIType concode_elem_sep EmptyType createEmptyType concode_elem_sep PortComponentRefType createPortComponentRefType concode_elem_sep SecurityRoleRefType createSecurityRoleRefType concode... | EnvEntryTypeValuesType function ( ) { return new EnvEntryTypeValuesType ( ) ; } |
7,399 | sends a command for a specified item to the event bus . concode_field_sep Logger logger concode_field_sep Object postUpdate concode_elem_sep Object postUpdate concode_elem_sep Object postUpdate concode_elem_sep Object postUpdate concode_elem_sep Object restoreStates concode_elem_sep Map<Item,State> storeStates | Object function ( Item arg0 , String arg1 ) { if ( arg0 != null ) { return sendCommand ( arg0 . getName ( ) , arg1 ) ; } else { return null ; } } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.