code stringlengths 20 663 | nl stringlengths 68 7.19k |
|---|---|
byte [ ] function ( String arg0 ) { return DatatypeConverter . parseHexBinary ( arg0 . replaceAll ( "srini_string" , "srini_string" ) ) ; } | converts a hex string to byte array concode_field_sep byte CRC_TAB_8_VALUE[] concode_elem_sep Logger logger concode_field_sep int decodeBCD concode_elem_sep byte expandByte concode_elem_sep int decodeUChar concode_elem_sep int decodeLng concode_elem_sep int decodeDATA1b concode_elem_sep float decodeDATA2c concode_elem_... |
String function ( String arg0 ) { if ( arg0 . indexOf ( "srini_string" ) > - 1 ) { return StringEscaper . xmlEscaper . escapeString ( arg0 ) ; } else { return "srini_string" + arg0 + "srini_string" ; } } | quote a string . concode_field_sep PlaceHolder placeHolder concode_field_sep void printPCDATA concode_elem_sep void printPCDATA concode_elem_sep void printPCDATA concode_elem_sep String escapeForQuoting concode_elem_sep boolean stringHasXMLSpecials concode_elem_sep String quoteAtt concode_elem_sep String quoteAtt conco... |
void function ( ResultSet arg0 , int arg1 ) { } | subclasses may override this to perform custom extraction or processing . this class 's implementation does nothing . concode_field_sep String[] columnNames concode_elem_sep int[] columnTypes concode_elem_sep int rowCount concode_elem_sep int columnCount concode_field_sep int[] getColumnTypes concode_elem_sep String[] ... |
Object function ( ) { return newValue ; } | gets the new value for the property , expressed as an object . concode_field_sep Object newValue concode_elem_sep String propertyName concode_elem_sep Object source concode_elem_sep Object oldValue concode_field_sep Object getSource concode_elem_sep String toString concode_elem_sep Object getOldValue concode_elem_sep S... |
void function ( ) { } | implements numberlisthandler #endnumber . concode_field_sep NumberListHandler INSTANCE concode_field_sep void startNumber concode_elem_sep void endNumberList concode_elem_sep void startNumberList concode_elem_sep void numberValue |
String function ( String arg0 ) { try { return stub . getPublishedServer ( arg0 ) ; } catch ( RemoteException loc0 ) { handleException ( getI18nString ( "srini_string" , loc0 ) , loc0 ) ; } catch ( CGAgentAdminServiceCGException loc0 ) { handleException ( getI18nString ( "srini_string" , loc0 ) , loc0 ) ; } return null... | get the server that this service has published concode_field_sep Log log concode_elem_sep String BUNDLE concode_elem_sep CGAgentAdminServiceStub stub concode_elem_sep ResourceBundle bundle concode_field_sep String getServiceStatus concode_elem_sep void updateCGServer concode_elem_sep void removeCGServer concode_elem_se... |
Map function ( ) { return m_warnings ; } | gets a map of all warnings collected during the content check . the map contains the complete resource root path as keys and a list of warnings as values . concode_field_sep Map m_warnings concode_elem_sep List m_allResources concode_elem_sep List m_errorCheckResources concode_elem_sep List m_errorResources concode_ele... |
String [ ] function ( ) { return elementAliases ; } | returns the suffixed result-set column-aliases for the columns making up the collection 's elements . concode_field_sep Map userProvidedAliases concode_elem_sep String[] indexAliases concode_elem_sep String[] keyAliases concode_elem_sep String identifierAlias concode_elem_sep String[] elementAliases concode_field_sep S... |
T function ( SessionKey < T > arg0 ) { return require ( arg0 , getDefaultSerializer ( ) ) ; } | 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... |
boolean function ( Object arg0 ) { if ( arg0 instanceof CertificatePolicyId ) return id . equals ( ( ( CertificatePolicyId ) arg0 ) . getIdentifier ( ) ) ; else return false ; } | compares this certificatepolicyid with another , for equality . uses objectidentifier.equals as test for equality . concode_field_sep ObjectIdentifier id concode_field_sep void encode concode_elem_sep ObjectIdentifier getIdentifier concode_elem_sep int hashCode concode_elem_sep String toString |
void function ( ConnectionPool arg0 ) { } | this method is invoked by a connection pool when the pool is closed . interceptor classes can override this method if they keep static variables or other tracking means around . this method is only invoked on a single instance of the interceptor , and not on every instance created . concode_field_sep String TOSTRING_VA... |
List < ReferenceType > function ( ) { if ( reference == null ) { reference = new ArrayList < ReferenceType > ( ) ; } return this . reference ; } | gets the value of the reference 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 reference property . for example , to add a new item , d... |
void function ( Instance [ ] arg0 ) { this . instances = arg0 ; } | set the instances concode_field_sep Instance[] instances concode_elem_sep DataSetDescription description concode_field_sep Instance[] getInstances concode_elem_sep Iterator<Instance> iterator concode_elem_sep void set concode_elem_sep int size concode_elem_sep Instance get concode_elem_sep String toString concode_elem_... |
OperationBuilder function ( String arg0 ) { this . uniqueId = defaultIfAbsent ( arg0 , this . uniqueId ) ; return this ; } | updates the uniqueid for the operation . this will be used to seed the unique id concode_field_sep String summary concode_elem_sep String notes concode_elem_sep Set<String> protocol concode_elem_sep Set<String> produces concode_elem_sep List<Parameter> parameters concode_elem_sep Set<ResponseMessage> responseMessages c... |
String function ( ) { switch ( OsUtils . getOS ( ) ) { case WIN : return "srini_string" ; case OSX : return "srini_string" ; case NIX : return "srini_string" ; default : throw new WebcamException ( "srini_string" + OsUtils . getOS ( ) ) ; } } | get capture device protocol . this will be : dshow : / / for windows qtcapture : / / for mac v4l2 : / / for linux concode_field_sep AtomicBoolean disposed concode_elem_sep Logger LOG concode_elem_sep MediaListItem sub concode_elem_sep AtomicReference<Double> fps concode_elem_sep Dimension resolution concode_elem_sep Co... |
int function ( byte arg0 ) { return ( ( int ) arg0 + 256 ) % 256 ; } | gets int value concode_field_sep int packet_len concode_elem_sep byte[] packet concode_field_sep long getSscr concode_elem_sep void setSscr concode_elem_sep boolean hasPadding concode_elem_sep void setExtension concode_elem_sep int getSequenceNumber concode_elem_sep byte[] getPacket concode_elem_sep boolean hasMarker c... |
void function ( int arg0 ) { synchronized ( ARData . zoomProgressLock ) { if ( ARData . arg0 != arg0 ) { ARData . arg0 = arg0 ; if ( dirty . compareAndSet ( false , true ) ) { Log . v ( TAG , "srini_string" ) ; cache . clear ( ) ; } } } } | set the zoom progress . concode_field_sep float[] locationArray concode_elem_sep Matrix rotationMatrix concode_elem_sep float pitch concode_elem_sep Location hardFix concode_elem_sep float roll concode_elem_sep List<Marker> cache concode_elem_sep Object zoomProgressLock concode_elem_sep float azimuth concode_elem_sep A... |
void function ( UnsignedAttributesConstraints arg0 ) { this . mandatedUnsignedQProperties = arg0 ; } | sets the value of the mandatedunsignedqproperties property . concode_field_sep MultiValuesConstraint acceptablePolicies concode_elem_sep LevelConstraint referenceDataExistence concode_elem_sep CertificateConstraints signingCertificate concode_elem_sep LevelConstraint signatureIntact concode_elem_sep LevelConstraint str... |
boolean function ( int arg0 ) { return arg0 >= getFirst ( ) && arg0 <= getLast ( ) ; } | tests whether item is contained by range concode_field_sep int count concode_elem_sep int first concode_field_sep int getFirst concode_elem_sep int getLast concode_elem_sep int getCount |
Predicate function ( Object arg0 ) { Expression loc0 = asExpression ( arg0 ) ; return onNewPredicate ( PredicateBuilder . contains ( expression , loc0 ) ) ; } | create a predicate that the left hand expression contains the value of the right hand expression concode_field_sep boolean not concode_elem_sep Expression expression concode_field_sep ValueBuilder prepend concode_elem_sep ValueBuilder onNewValueBuilder concode_elem_sep ValueBuilder tokenize concode_elem_sep ValueBuilde... |
void function ( ) { } | test of getparts method , of class arithmeticexpressionresolver . concode_field_sep PlaceHolder placeHolder concode_field_sep void setUpClass concode_elem_sep void testGetRightOperandRegex concode_elem_sep void testGetOperators concode_elem_sep StringBuilder doTestResolve_1args concode_elem_sep void testResolve_3args_1... |
void function ( ) { path . close ( ) ; } | close the current path . concode_field_sep Path path concode_field_sep void createCubicCurve concode_elem_sep void curveTo concode_elem_sep Path getPath concode_elem_sep RectangleG getBounds concode_elem_sep void createGeneralPath concode_elem_sep void moveTo |
WildcardType function ( ) { return null ; } | return null , as there are no arrays of wildcard types . concode_field_sep Type arrayType concode_elem_sep com.sun.javadoc.Type skipArraysCache concode_elem_sep DocEnv env concode_field_sep TypeVariable asTypeVariable concode_elem_sep com.sun.javadoc.Type getElementType concode_elem_sep String simpleTypeName concode_el... |
byte function ( String arg0 , byte arg1 ) { if ( arg0 != null && arg0 . length ( ) > 0 ) { try { return Byte . valueOf ( arg0 ) . byteValue ( ) ; } catch ( NumberFormatException loc0 ) { return ( byte ) arg0 . charAt ( 0 ) ; } } return arg1 ; } | return the byte value of the number string . concode_field_sep byte[] falseBytes concode_elem_sep byte[] trueBytes concode_field_sep int compare concode_elem_sep int hashBytes concode_elem_sep void copyAndEscapeStringDataToText concode_elem_sep void writeEscaped concode_elem_sep void writePrimitive concode_elem_sep byt... |
PolarPoint function ( double arg0 , double arg1 , double arg2 ) { return new PolarPoint ( Angle . fromRadians ( arg0 ) , Angle . fromRadians ( arg1 ) , arg2 ) ; } | obtains a polarpoint from radians and a radius . concode_field_sep Angle latitude concode_elem_sep double radius concode_elem_sep PolarPoint ZERO concode_elem_sep Angle longitude concode_field_sep Angle getLongitude concode_elem_sep int hashCode concode_elem_sep Angle getLatitude concode_elem_sep boolean equals concode... |
void function ( UUID arg0 ) { this . id = arg0 ; } | language class setters concode_field_sep Map<String,String> strings concode_elem_sep int size concode_elem_sep TranslatorIdentity translator concode_elem_sep String name concode_elem_sep UUID id concode_elem_sep Languages type concode_elem_sep Version version concode_field_sep Version getVersion concode_elem_sep void s... |
float function ( Name arg0 ) { return library . getFloat ( entries , arg0 ) ; } | gets a float specified by the key in the dictionary entries . if the value is a reference , the float value that the reference points to is returned . concode_field_sep Name LENGTH_KEY concode_elem_sep Name FORM_TYPE_KEY concode_elem_sep HashMap entries concode_elem_sep Library library concode_elem_sep boolean inited c... |
boolean function ( ) { return areaMapEnabled ; } | indicates that current chart instance supports image map interaction concode_field_sep String plotPointShape concode_elem_sep boolean enableDynamicValues concode_elem_sep boolean areaMapEnabled concode_elem_sep int CUSTOM_CHART_TYPE concode_elem_sep String xAxisTitle concode_elem_sep boolean barChartOrientationHorizont... |
Credentials function ( java . util . Date arg0 ) { setExpiration ( arg0 ) ; return this ; } | the date on which the current credentials expire . concode_field_sep String accessKeyId concode_elem_sep String secretAccessKey concode_elem_sep String sessionToken concode_elem_sep java.util.Date expiration concode_field_sep Credentials withSessionToken concode_elem_sep void setAccessKeyId concode_elem_sep String getS... |
void function ( Object arg0 ) { logInternal ( DEBUG , arg0 , null ) ; } | logs the given message instance using the ` debug ' level concode_field_sep int TRACE concode_elem_sep int DEBUG concode_elem_sep int ERROR concode_elem_sep int INFO concode_elem_sep int FATAL concode_elem_sep int WARN concode_elem_sep StringBuffer bufferedLog concode_elem_sep boolean logLocationInfo concode_field_sep ... |
void function ( Long arg0 ) { this . roid = arg0 ; } | sets the value of the roid property . concode_field_sep Long roid concode_field_sep Long getRoid |
Class function ( ClassFile arg0 , ClassLoader arg1 ) { return toClass ( arg0 , arg1 , null ) ; } | loads a class file by a given class loader . this method uses a default protection domain for the class but it may not work with a security manager or a sigend jar file . concode_field_sep String[] unwrapDesc concode_elem_sep String[] wrapperDesc concode_elem_sep String[] wrapperTypes concode_elem_sep Class[] primitive... |
String function ( ) { return parent ; } | gets the value of the parent property . concode_field_sep String parent concode_elem_sep String bone concode_field_sep String getBone concode_elem_sep void setParent concode_elem_sep void setBone |
void function ( Unmarshaller arg0 , Object arg1 ) { setParent ( arg1 ) ; } | this method is invoked by the jaxb implementation on each instance when unmarshalling completes . concode_field_sep CTOnOff hideBot concode_elem_sep CTOnOff strikeH concode_elem_sep Object parent concode_elem_sep CTOnOff strikeV concode_elem_sep CTOnOff strikeBLTR concode_elem_sep CTOnOff hideTop concode_elem_sep CTOnO... |
Route function ( ) { return new Route ( address , proxy , inetSocketAddress , ! modernTls ) ; } | returns a copy of this route with flipped tls mode . concode_field_sep Proxy proxy concode_elem_sep Address address concode_elem_sep boolean modernTls concode_elem_sep InetSocketAddress inetSocketAddress concode_field_sep Proxy getProxy concode_elem_sep InetSocketAddress getSocketAddress concode_elem_sep int hashCode c... |
void function ( EmailMessageType arg0 ) { this . type = arg0 ; } | sets the type of this emailmessage . concode_field_sep String footer concode_elem_sep String signature concode_elem_sep List<String> recipients concode_elem_sep String subject concode_elem_sep String header concode_elem_sep String from concode_elem_sep String message concode_elem_sep EmailMessageType type concode_field... |
void function ( DigestMethodType arg0 ) { this . digestMethod = arg0 ; } | sets the value of the digestmethod property . concode_field_sep byte[] digestValue concode_elem_sep DigestMethodType digestMethod concode_elem_sep TransformsType transforms concode_elem_sep String id concode_elem_sep String type concode_elem_sep String uri concode_field_sep TransformsType getTransforms concode_elem_sep... |
void function ( ) { MiddlePinNeedle loc0 = new MiddlePinNeedle ( ) ; MiddlePinNeedle loc1 = ( MiddlePinNeedle ) TestUtilities . serialised ( loc0 ) ; assertTrue ( loc0 . equals ( loc1 ) ) ; } | serialize an instance , restore it , and check for equality . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCloning concode_elem_sep void testEquals |
String function ( String arg0 ) { if ( arg0 != null && ! arg0 . startsWith ( "srini_string" ) ) { return getHttpPort ( ) ; } else { return getHttpsPort ( ) ; } } | gets the port number for the given protocol . if the protocol is null or not one of http or https returns the https port number . 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 S... |
void function ( GL10 arg0 ) { getCurrentProjection ( arg0 ) ; getCurrentModelView ( arg0 ) ; } | record the current modelview and projection matrix state . has the side effect of setting the current matrix state to gl_modelview concode_field_sep float[] mModelView concode_elem_sep float[] mProjection concode_field_sep void getMatrix concode_elem_sep void getCurrentProjection concode_elem_sep void getCurrentModelVi... |
boolean function ( ) { return fired ; } | has this effect been fired . only effects that have not been fired are sent to the browser concode_field_sep boolean fired concode_elem_sep boolean submit concode_elem_sep boolean queued concode_elem_sep float fps concode_elem_sep boolean sync concode_elem_sep int sequenceId concode_elem_sep float duration concode_elem... |
BytesReference function ( BytesReference arg0 ) { Compressor loc0 = loc0 ( arg0 ) ; if ( loc0 == null ) { throw new NotCompressedException ( ) ; } return uncompress ( arg0 , loc0 ) ; } | decompress the provided bytesreference . concode_field_sep Compressor[] compressors concode_elem_sep Compressor defaultCompressor concode_field_sep Compressor defaultCompressor concode_elem_sep void setDefaultCompressor concode_elem_sep boolean isCompressed concode_elem_sep boolean isCompressed concode_elem_sep BytesRe... |
void function ( String arg0 ) { this . protocol = arg0 ; } | set the protocol of the inbound endpoint concode_field_sep String protocol concode_elem_sep String injectingSeq concode_elem_sep SynapseEnvironment synapseEnvironment concode_elem_sep String onErrorSeq concode_elem_sep String name concode_elem_sep Properties properties concode_elem_sep String classImpl concode_field_se... |
void function ( String arg0 , String arg1 , Throwable arg2 , boolean arg3 ) { if ( arg3 ) { TrackerUtils . arg3 ( arg2 ) ; } Log . e ( arg0 , arg1 , arg2 ) ; } | write message to the error log and track it depend on trackthrowable parameter concode_field_sep String TAG concode_elem_sep boolean TEST_CASE concode_field_sep void debug concode_elem_sep T getParcelableFromBundleIfNotNull concode_elem_sep boolean isActionBarTabsEmbeded concode_elem_sep String formatDateTime concode_e... |
void function ( Item arg0 , int arg1 ) { int loc0 = aInventory . get ( arg0 ) ; loc0 -= arg1 ; aInventory . put ( arg0 , loc0 ) ; } | removes pquantity of items from the inventory , for example by selling them or tossing them in the garbage . concode_field_sep HashMap<Item,Integer> aInventory concode_elem_sep String aName concode_field_sep Iterator<Item> iterator concode_elem_sep String getName concode_elem_sep int available concode_elem_sep void sto... |
String function ( ) { return collatorRef ; } | gets the value of the collatorref property . concode_field_sep String parameter concode_elem_sep String collatorRef concode_elem_sep String attributeName concode_elem_sep String id concode_elem_sep String value concode_field_sep void setAttributeName concode_elem_sep String getValue concode_elem_sep void setValue conco... |
void function ( ) { while ( System . currentTimeMillis ( ) - serialInterface . getLastEventTimestamp ( ) < 150 ) { try { Thread . sleep ( 50 ) ; } catch ( InterruptedException loc0 ) { break ; } } } | wait until there has been no activity on the bus in the last 150 ms. concode_field_sep Logger log concode_elem_sep boolean stopped concode_elem_sep LinkedBlockingQueue<NikobusCommand> sendQueue concode_elem_sep NikobusInterface serialInterface concode_field_sep void sendCommand concode_elem_sep void stop concode_elem_s... |
void function ( boolean arg0 ) { this . error = arg0 ; } | set this response is an http error response . the status code should be set concode_field_sep OutputStream os concode_elem_sep int statusCode concode_elem_sep boolean redirect concode_elem_sep PrintWriter writer concode_elem_sep Map<String,String> headerMap concode_elem_sep boolean error concode_elem_sep String sendRed... |
String function ( ) { return image ; } | gets the value of the image property . concode_field_sep Parent parent concode_elem_sep String image concode_elem_sep String code concode_elem_sep Boolean visible concode_elem_sep long serialVersionUID concode_elem_sep String label concode_elem_sep Descriptions descriptions concode_elem_sep Transistions transistions co... |
DBClusterOptionGroupStatus function ( String arg0 ) { this . status = arg0 ; return this ; } | specifies the status of the db cluster option group . returns a reference to this object so that method calls can be chained together . concode_field_sep String dBClusterOptionGroupName concode_elem_sep String status concode_field_sep DBClusterOptionGroupStatus withDBClusterOptionGroupName concode_elem_sep String getDB... |
void function ( int arg0 ) { mLastResponseTime = System . currentTimeMillis ( ) ; mLastResponse = arg0 ; mPreferences . putString ( PREF_LAST_RESPONSE , Integer . toString ( arg0 ) ) ; } | set the last license response received from the server and add to preferences . you must manually call preferenceobfuscator.commit to commit these changes to disk . concode_field_sep String PREF_LAST_RESPONSE concode_elem_sep String PREF_RETRY_UNTIL concode_elem_sep int mLastResponse concode_elem_sep long mRetryCount c... |
void function ( BaseAction arg0 ) { if ( ! switchedOn ) { value = 0 ; } switchedOn = true ; actions . clear ( ) ; actions . add ( arg0 ) ; } | replace the current list of channel actions with the provided one . concode_field_sep boolean switchedOn concode_elem_sep List<BaseAction> suspendedActions concode_elem_sep List<BaseAction> actions concode_elem_sep int DMX_MIN_VALUE concode_elem_sep int DMX_MAX_VALUE concode_elem_sep Logger logger concode_elem_sep int ... |
Dependency < T > function ( Key < T > arg0 ) { return new Dependency < T > ( null , arg0 , true , - 1 ) ; } | returns a new dependency that is not attached to an injection point . the returned dependency is nullable . concode_field_sep boolean nullable concode_elem_sep int parameterIndex concode_elem_sep Key<T> key concode_elem_sep InjectionPoint injectionPoint concode_field_sep Key<T> getKey concode_elem_sep InjectionPoint ge... |
String function ( ) { return applicationId ; } | gets the value of the applicationid property . concode_field_sep Key docKey concode_elem_sep String applicationId concode_field_sep void setDocKey concode_elem_sep void setApplicationId concode_elem_sep Key getDocKey |
boolean function ( ) { return maxErrors > 0 && errors > maxErrors ; } | true if the max error threshold was exceeded concode_field_sep GTRenderer renderer concode_elem_sep Exception lastException concode_elem_sep int maxErrors concode_elem_sep int errors concode_field_sep Exception getLastException |
void function ( E arg0 ) { if ( additions == null ) additions = new ArrayList < E > ( ) ; additions . add ( arg0 ) ; } | adds a new entry as an addition to this mutation concode_field_sep List<E> additions concode_elem_sep List<K> deletions concode_field_sep List<E> getAdditions concode_elem_sep List<K> getDeletions concode_elem_sep void deletion concode_elem_sep void merge concode_elem_sep boolean hasDeletions concode_elem_sep boolean h... |
long function ( Matcher < Long > arg0 ) { return reportMatcher ( arg0 ) . returnZero ( ) ; } | enables integrating hamcrest matchers that match primitive long arguments . note that #argthat will not work with primitive long matchers due to nullpointerexception auto-unboxing caveat . see examples in javadoc for mockitohamcrest class concode_field_sep MockingProgress MOCKING_PROGRESS concode_field_sep HandyReturnV... |
long function ( ) { return _serviceComponent . getServiceComponentId ( ) ; } | returns the service component id of this service component . concode_field_sep ServiceComponent _serviceComponent concode_field_sep boolean isFinderCacheEnabled concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem... |
ServerSocket function ( int arg0 ) { return new ServerSocket ( arg0 ) ; } | returns a server socket bound to the specified port . the socket is configured with the socket options given to this factory . concode_field_sep HsqlSocketFactory sslImpl concode_elem_sep HsqlSocketFactory plainImpl concode_field_sep Socket createSocket concode_elem_sep HsqlSocketFactory getPlainImpl concode_elem_sep H... |
void function ( int arg0 , String arg1 ) { if ( ( currentToken . arg0 == arg0 ) && ( currentToken . sval . compareTo ( arg1 ) == 0 ) ) { logln ( "srini_string" + arg0 + "srini_string" + currentToken . sval ) ; nextToken ( ) ; } else { throw new SyntaxException ( st . lineno ( ) ) ; } } | method to match the current token to a specified token type and value throws a syntaxexception if token does n't match . concode_field_sep URL inputfile concode_elem_sep Token currentToken concode_elem_sep StreamTokenizer st concode_elem_sep String ALIAS concode_elem_sep int ttype concode_elem_sep String sval concode_e... |
int function ( ShardRoutingState ... arg0 ) { int loc0 = 0 ; for ( ShardRouting loc1 : this ) { for ( ShardRoutingState loc2 : arg0 ) { if ( loc1 . loc2 ( ) == loc2 ) { loc0 ++ ; } } } return loc0 ; } | determine the number of shards with a specific state concode_field_sep DiscoveryNode node concode_elem_sep List<ShardRouting> shards concode_elem_sep String nodeId concode_field_sep void add concode_elem_sep Iterator<ShardRouting> mutableIterator concode_elem_sep String prettyPrint concode_elem_sep boolean isEmpty conc... |
void function ( String arg0 ) { this . obligationId = arg0 ; } | sets the value of the obligationid property . concode_field_sep EffectType fulfillOn concode_elem_sep String obligationId concode_elem_sep List<AttributeAssignmentType> attributeAssignment concode_field_sep void setFulfillOn concode_elem_sep List<AttributeAssignmentType> getAttributeAssignment concode_elem_sep String g... |
List < MyTestInnerStruct > function ( Random arg0 ) { int loc0 = arg0 . nextInt ( 10 ) ; ArrayList < MyTestInnerStruct > loc1 = new ArrayList < MyTestInnerStruct > ( loc0 ) ; for ( int loc2 = 0 ; loc2 < loc0 ; loc2 ++ ) { MyTestInnerStruct loc3 = new MyTestInnerStruct ( arg0 . nextInt ( ) , arg0 . nextInt ( ) ) ; loc1 ... | generate a random struct array . concode_field_sep byte[] myBinary concode_elem_sep Long myLong concode_elem_sep HiveVarchar myHiveVarchar concode_elem_sep List<Integer> myList concode_elem_sep Map<String,List<MyTestInnerStruct>> myMap concode_elem_sep int mapPos concode_elem_sep int biggerCount concode_elem_sep HiveIn... |
void function ( @ RequestParam ( required = true ) MultipartFile arg0 ) { settingsService . saveSettingsFile ( arg0 ) ; statusMessageService . info ( PLATFORM_SETTINGS_SAVED , ADMIN_MODULE_NAME ) ; } | handles platform settings update through file upload . concode_field_sep StatusMessageService statusMessageService concode_elem_sep Logger LOGGER concode_elem_sep SettingsService settingsService concode_elem_sep String ADMIN_MODULE_NAME concode_elem_sep String PLATFORM_SETTINGS_SAVED concode_field_sep void exportConfig... |
void function ( ClassLoader arg0 ) { this . classLoader = arg0 ; } | set class loader concode_field_sep ClassLoader classLoader concode_elem_sep String handlerClassName concode_elem_sep int port concode_elem_sep String host concode_elem_sep Map<String,HandlerServer> handlerServers concode_elem_sep int controlPort concode_field_sep void setHost concode_elem_sep String getKey concode_elem... |
StructLinkType . SmLinkGrp function ( ) { return new StructLinkType . SmLinkGrp ( ) ; } | create an instance of structlinktype.smlinkgrp concode_field_sep PlaceHolder placeHolder concode_field_sep StructLinkType createStructLinkType concode_elem_sep FileType.FContent createFileTypeFContent concode_elem_sep BehaviorType createBehaviorType concode_elem_sep FileType.FLocat createFileTypeFLocat concode_elem_sep... |
String function ( ) { return PropertyClass ; } | get propertyclass concode_field_sep Integer name concode_elem_sep String PropertyClass concode_field_sep void setName concode_elem_sep String toIndentedString concode_elem_sep Integer getName concode_elem_sep void setPropertyClass concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep Model200Re... |
void function ( final String arg0 , final String arg1 ) { notEmpty ( arg0 , arg1 + "srini_string" ) ; } | checks argument is not empty not null and has a non-whitespace character concode_field_sep PlaceHolder placeHolder concode_field_sep void withinRangeShort concode_elem_sep void notNull concode_elem_sep void notNullShort concode_elem_sep void notEmpty concode_elem_sep void withinRange |
void function ( Command arg0 ) { if ( arg0 instanceof OnOffType ) { sendRcCommand ( arg0 , RC_MUTE_UNMUTE ) ; } else { logger . error ( "srini_string" , arg0 . getClass ( ) . getName ( ) ) ; } } | toggles mute and unmute concode_field_sep String SUFFIX_POWERSTATE concode_elem_sep String hostName concode_elem_sep String RC_VOLUME_DOWN concode_elem_sep String SUFFIX_REMOTE_CONTROL concode_elem_sep Logger logger concode_elem_sep String GET concode_elem_sep String RC_MUTE_UNMUTE concode_elem_sep String userName conc... |
Observable < Integer > function ( Iterable < Integer > arg0 ) { return Observable . create ( ( Subscriber < ? super Integer > loc0 ) -> { for ( Integer loc1 : arg0 ) { if ( loc0 . isUnsubscribed ( ) ) { return ; } loc0 . onNext ( loc1 ) ; } loc0 . onCompleted ( ) ; } ) ; } | this does not implement `` reactive pull '' so will `` firehose '' all data at the subscriber . concode_field_sep PlaceHolder placeHolder concode_field_sep void main concode_elem_sep Observable<Integer> getData |
String function ( String arg0 ) { return "srini_string" + arg0 + "srini_string" ; } | generate a start element tag from the given name . e.g. concode_field_sep String _xml concode_field_sep SimpleXMLParser getElementParser concode_elem_sep String getEndElement concode_elem_sep String getElementString |
void function ( ) { runScript ( entityManager , "srini_string" ) ; Stock loc0 = createStock ( "srini_string" , "srini_string" , 123.21D , new Date ( ) ) ; Stock loc1 = stockService . getBySymbol ( loc0 . getSymbol ( ) ) ; assertNotNull ( "srini_string" , loc1 ) ; assertStock ( loc0 , loc1 ) ; } | tests the defaultstockservice #getbysymbol string method . concode_field_sep EntityManager entityManager concode_elem_sep StockService stockService concode_field_sep Stock createStock concode_elem_sep void testGet concode_elem_sep void testGetAll concode_elem_sep Archive createTestArchive concode_elem_sep void assertSt... |
void function ( ) { System . out . println ( "srini_string" ) ; RawRequestSourcePreProcessorGui loc0 = new RawRequestSourcePreProcessorGui ( ) ; String loc1 = loc0 . getLabelResource ( ) ; assertTrue ( loc1 . length ( ) > 0 ) ; } | test of getlabelresource method , of class rawrequestsourcepreprocessorgui . concode_field_sep PlaceHolder placeHolder concode_field_sep void testCreateTestElement concode_elem_sep void testGetStaticLabel concode_elem_sep void setUpClass concode_elem_sep void setUp concode_elem_sep void tearDownClass concode_elem_sep v... |
String function ( ) { return identifier ; } | get the identifier concode_field_sep String date concode_elem_sep String coverage concode_elem_sep String identifier concode_elem_sep String creator concode_elem_sep String subject concode_elem_sep String format concode_elem_sep String description concode_elem_sep String language concode_elem_sep String source concode_... |
void function ( String arg0 , String arg1 ) { wtf ( arg0 , arg1 , null ) ; } | prints a message at assert priority . concode_field_sep int ERROR concode_elem_sep int VERBOSE concode_elem_sep int WARN concode_elem_sep int NONE concode_elem_sep int ASSERT concode_elem_sep int DEBUG concode_elem_sep LogNode mLogNode concode_elem_sep int INFO concode_field_sep void println concode_elem_sep void print... |
void function ( SelectionListener arg0 ) { this . listeners . add ( arg0 ) ; } | adds a selection listener . selection events will be fired when the rendered heat map changes . concode_field_sep List<SelectionListener> listeners concode_elem_sep _JHC jhc concode_field_sep void removeSelectionListener concode_elem_sep Control getControl concode_elem_sep void setData concode_elem_sep Font getFont con... |
int function ( byte [ ] arg0 , int arg1 , byte [ ] arg2 , int arg3 ) { return ( forEncryption ) ? encryptBlock ( arg0 , arg1 , arg2 , arg3 ) : decryptBlock ( arg0 , arg1 , arg2 , arg3 ) ; } | process one block of input from the array in and write it to the out array . concode_field_sep BlockCipher cipher concode_elem_sep boolean forEncryption concode_elem_sep byte[] FRE concode_elem_sep int count concode_elem_sep byte[] FR concode_elem_sep byte[] IV concode_elem_sep int blockSize concode_field_sep void init... |
void function ( boolean arg0 ) { world . setWarmStarting ( arg0 ) ; } | enable/disable warm starting . for testing . concode_field_sep Vec2 point1 concode_elem_sep Array<Contact> contacts concode_elem_sep Vector2 point concode_elem_sep ObjectMap<org.jbox2d.dynamics.Body,Body> bodies concode_elem_sep ObjectMap<org.jbox2d.dynamics.joints.Joint,Joint> joints concode_elem_sep AABB aabb concode... |
Builder function ( StochasticSupplier < Double > arg0 ) { speedsSupplier = arg0 ; return this ; } | sets the speeds of the vehicles that are generated by the generator . default value : 50 using the speed unit of the scenario . concode_field_sep VehicleDTO vehicleDto concode_elem_sep Optional<StochasticSupplier<Point>> startPositionGenerator concode_elem_sep Optional<StochasticSupplier<Point>> startPositionsSupplier ... |
long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 ) { return _syncDLFileVersionDiffLocalService . dynamicQueryCount ( arg0 ) ; } | returns the number of rows matching the dynamic query . concode_field_sep SyncDLFileVersionDiffLocalService _syncDLFileVersionDiffLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.sync.model.SyncDLFileVersionDiff addSyncDLFileVersionDiff concode_elem_sep com.liferay.s... |
boolean function ( ) { return false ; } | not static . concode_field_sep long lastRefreshTime concode_elem_sep long refreshCount concode_elem_sep Object targetObject concode_elem_sep Log logger concode_elem_sep long refreshCheckDelay concode_elem_sep long lastRefreshCheck concode_field_sep Object getTarget concode_elem_sep Class<?> getTargetClass concode_elem_... |
void function ( Integer arg0 ) { this . objectId = arg0 ; } | sets the value of the objectid property . concode_field_sep Integer sequenceNumber concode_elem_sep Date lastUpdateDate concode_elem_sep String name concode_elem_sep String lastUpdateUser concode_elem_sep String createUser concode_elem_sep Integer stepCount concode_elem_sep Integer objectId concode_elem_sep Date create... |
int function ( ) { return counts [ Severity . LOW_VALUE ] ; } | get the number of low severity violations . concode_field_sep SortedMap<String,TypeCount> typeCountMap concode_elem_sep FileModelProxy proxy concode_elem_sep SortedMap<String,SortedSet<FileCount>> typeMap concode_elem_sep int securityCount concode_elem_sep int[] counts concode_elem_sep Map<String,FileModelProxy> fileMo... |
int function ( ) { return ( int ) Bytes . littleEndianValue ( this . block , this . offset + 10 , 2 ) ; } | return the number of zip entries in the file . concode_field_sep int MAXIMUM_SIZE concode_elem_sep int READ_BLOCK_SIZE concode_elem_sep int offset concode_elem_sep int size concode_elem_sep int MINIMUM_SIZE concode_elem_sep int MAXIMUM_COMMENT_LENGTH concode_elem_sep int SIGNATURE concode_elem_sep int COMMENT_LENGTH_OF... |
Buffer function ( ) { pos = 0 ; mark = - 1 ; return this ; } | rewinds this buffer . the position is set to zero and the mark is discarded . concode_field_sep int cap concode_elem_sep RawData address concode_elem_sep int pos concode_elem_sep int limit concode_elem_sep int mark concode_field_sep void checkIfReadOnly concode_elem_sep boolean hasRemaining concode_elem_sep Buffer clea... |
OfficialsCertifyingType function ( ) { return officialsCertifying ; } | gets the value of the officialscertifying property . concode_field_sep XMLGregorianCalendar certificationDate concode_elem_sep OfficialStampType officialStamp concode_elem_sep OfficialsCertifyingType officialsCertifying concode_field_sep void setOfficialsCertifying concode_elem_sep void setCertificationDate concode_ele... |
byte [ ] function ( ) { byte [ ] loc0 = new byte [ RND . nextInt ( 11 ) + 30 ] ; for ( int loc1 = 0 ; loc1 < loc0 . length ; loc1 ++ ) { loc0 [ loc1 ] = BOUNDARY_CHARS [ RND . nextInt ( BOUNDARY_CHARS . length ) ] ; } return loc0 ; } | generate a random mime boundary as bytes , often used in multipart mime types . concode_field_sep String IMAGE_JPEG_VALUE concode_elem_sep MimeType TEXT_HTML concode_elem_sep MimeType ALL concode_elem_sep MimeType TEXT_XML concode_elem_sep String IMAGE_PNG_VALUE concode_elem_sep MimeType IMAGE_JPEG concode_elem_sep Str... |
void function ( CtBehavior arg0 , Callback arg1 , boolean arg2 ) { arg0 . insertAfter ( arg1 . toString ( ) , arg2 ) ; } | utility method to inserts callback at the end of the body . the callback is inserted just before every return instruction . it is not executed when an exception is thrown . concode_field_sep String sourceCode concode_elem_sep HashMap callbacks concode_field_sep void result concode_elem_sep String sourceCode concode_ele... |
List < XAttr > function ( String arg0 ) { XAttr loc0 = buildXAttr ( arg0 ) ; List < XAttr > loc1 = Lists . newArrayListWithCapacity ( 1 ) ; loc1 . add ( loc0 ) ; return loc1 ; } | build xattr name with prefix as xattr list . concode_field_sep PlaceHolder placeHolder concode_field_sep Map<String,byte[]> buildXAttrMap concode_elem_sep XAttr buildXAttr concode_elem_sep XAttr buildXAttr concode_elem_sep String getPrefixName concode_elem_sep List<XAttr> buildXAttrs concode_elem_sep byte[] getFirstXAt... |
FileOutputStream function ( File arg0 ) { try { return new FileOutputStream ( arg0 ) ; } catch ( FileNotFoundException loc0 ) { throw new RuntimeException ( loc0 ) ; } } | open a file output stream without throwing a % ^ & $ % & $ % % checked exception concode_field_sep long[] POWERS_OF_2 concode_elem_sep String TEMP_STRING concode_elem_sep CommonUtilities[] EMPTY_ARRAY concode_elem_sep double[][] RATIOS concode_elem_sep Class THIS_CLASS concode_elem_sep String TEXT_FOR_STAR concode_fiel... |
boolean function ( ) { initialize ( ) ; return next != null ; } | returns true if there is another node available ; false otherwise . concode_field_sep Logger log concode_elem_sep NodeImpl next concode_elem_sep int invalid concode_elem_sep SessionDataManager itemMgr concode_elem_sep ScoreNodeIterator scoreNodes concode_elem_sep int selectorIndex concode_elem_sep boolean initialized c... |
ArrayList < String > function ( String arg0 ) { synchronized ( mDaemonLock ) { return doCommandLocked ( arg0 ) ; } } | issue a command to the native daemon and return the responses concode_field_sep OutputStream mOutputStream concode_elem_sep int FailedRangeEnd concode_elem_sep boolean LOCAL_LOGD concode_elem_sep Object mDaemonLock concode_elem_sep int FailedRangeStart concode_elem_sep int BUFFER_SIZE concode_elem_sep int CommandOkay c... |
void function ( NameArray arg0 ) { this . nameArray = arg0 ; } | sets the value of the namearray property . concode_field_sep FloatArray floatArray concode_elem_sep BoolArray boolArray concode_elem_sep Source.TechniqueCommon techniqueCommon concode_elem_sep List<Technique> techniques concode_elem_sep String name concode_elem_sep Accessor accessor concode_elem_sep String id concode_e... |
boolean function ( ) { return memoizedBytes == ByteString . EMPTY || value == null && ( delayedBytes == null || delayedBytes == ByteString . EMPTY ) ; } | determines whether this lazyfieldlite instance represents the default instance of this type . concode_field_sep ByteString delayedBytes concode_elem_sep ExtensionRegistryLite extensionRegistry concode_elem_sep ExtensionRegistryLite EMPTY_REGISTRY concode_elem_sep ByteString memoizedBytes concode_elem_sep MessageLite va... |
int function ( CompiledStatement arg0 ) { arg0 . id = nextID ( ) ; arg0 . use = 0 ; sqlMap . put ( arg0 . sql , arg0 ) ; csidMap . put ( arg0 . id , arg0 ) ; return arg0 . id ; } | binds the specified compiledstatement object into this object 's active compiled statement registry . it is trusted completely that the caller is actually registering a previously unregistered compiledstatement object ; no checks are done in the interest of performance . typically , the only caller should be a session ... |
String function ( ) { return transportAddresses ; } | comma separated list with ip : port formatted remote transport addresses to use . the ip and port options must be left blank for transportaddresses to be considered instead . concode_field_sep String transportAddresses concode_elem_sep Boolean data concode_elem_sep String indexName concode_elem_sep int port concode_ele... |
boolean function ( ) { return complete ; } | gets the complete flag . concode_field_sep List<OSMElement> entities concode_elem_sep boolean success concode_elem_sep boolean complete concode_field_sep void storeFailureResult concode_elem_sep List<OSMElement> getEntities concode_elem_sep void storeSuccessResult concode_elem_sep boolean isSuccess |
Class < ? extends OutputReader > function ( ) { return outputReaderClass ; } | returns the resolved outputreader class . concode_field_sep Class outputValueClass concode_elem_sep String TYPED_BYTES_ID concode_elem_sep String RAW_BYTES_ID concode_elem_sep String KEY_ONLY_TEXT_ID concode_elem_sep String TEXT_ID concode_elem_sep Class<? extends OutputReader> outputReaderClass concode_elem_sep Class ... |
TypeCode function ( ) { return typecode ; } | return the typecode of the stored exception . concode_field_sep TypeCode typecode concode_elem_sep Throwable value concode_field_sep void _read concode_elem_sep void _write |
void function ( String arg0 , String arg1 ) { FacesContext . getCurrentInstance ( ) . addMessage ( arg0 , new FacesMessage ( FacesMessage . SEVERITY_ERROR , arg1 , arg1 ) ) ; } | 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 Object getElValue concode_elem_sep ServletContext getServletContext concode_elem_sep Object getManagedBean concode_elem_sep String ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.