idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
8,900 | returns a set of strings given a set of enums concode_field_sep PlaceHolder placeHolder concode_field_sep T toEnum concode_elem_sep String toString concode_elem_sep Set<T> toEnumSet concode_elem_sep Set<T> toEnumSet | Set < String > function ( Set < ? extends Enum > arg0 ) { Set < String > loc0 = new HashSet < > ( ) ; for ( Enum loc1 : arg0 ) { loc0 . add ( loc1 . name ( ) ) ; } return loc0 ; } |
8,901 | make sure you always return a valid cookieutils concode_field_sep Logger logger concode_elem_sep String cookieKey concode_elem_sep CookieUtils cookieUtils concode_elem_sep String VALUE_SEPARATOR concode_elem_sep ICrypt crypt concode_elem_sep String encryptionKey concode_field_sep String encode concode_elem_sep String[]... | CookieUtils function ( ) { if ( cookieUtils == null ) { CookieDefaults loc0 = new CookieDefaults ( ) ; loc0 . setHttpOnly ( true ) ; cookieUtils = new CookieUtils ( loc0 ) ; } return cookieUtils ; } |
8,902 | displays an error message . concode_field_sep PlaceHolder placeHolder concode_field_sep void viewCourseInformation concode_elem_sep void viewFacultymember concode_elem_sep void viewFaculty concode_elem_sep void viewStudentInformation concode_elem_sep void invoke | void function ( ) { System . out . println ( "srini_string" ) ; } |
8,903 | removes this push event listener from the push notifications concode_field_sep IcePushClientLibrary icePushClient concode_elem_sep GWTPushContext instance concode_field_sep GWTPushContext getInstance concode_elem_sep void addPushEventListener concode_elem_sep void addPushEventListener | void function ( PushEventListener arg0 ) { icePushClient . unregisterUserCallbacks ( arg0 ) ; icePushClient . deregister ( arg0 . getPushId ( ) ) ; icePushClient . removeGroupMember ( arg0 . getGroup ( ) , arg0 . getPushId ( ) ) ; } |
8,904 | get the typemismatch repository id . concode_field_sep PlaceHolder placeHolder concode_field_sep TypeMismatch extract concode_elem_sep TypeMismatch read concode_elem_sep void insert concode_elem_sep TypeCode type concode_elem_sep void write | String function ( ) { return "srini_string" ; } |
8,905 | insert key x , y , z into the backend set . concode_field_sep TLongSet set concode_field_sep boolean contains concode_elem_sep TLongIterator iterator concode_elem_sep int size concode_elem_sep void clear concode_elem_sep boolean isEmpty concode_elem_sep long[] toArray concode_elem_sep boolean remove concode_elem_sep lo... | boolean function ( int arg0 , int arg1 , int arg2 ) { long loc0 = loc0 ( arg0 , arg1 , arg2 ) ; return set . add ( loc0 ) ; } |
8,906 | test mylistiterator hasnext method concode_field_sep int DIM concode_elem_sep MyLinkedList<String> slist concode_elem_sep MyLinkedList<Integer> one concode_elem_sep MyLinkedList<Integer> several concode_elem_sep int FIBMAX concode_elem_sep MyLinkedList<Integer> empty concode_field_sep void testRemoveIteratorException c... | void function ( ) { several = new MyLinkedList < Integer > ( ) ; ListIterator < Integer > loc0 = several . listIterator ( ) ; assertEquals ( "srini_string" , false , loc0 . hasNext ( ) ) ; several . add ( 0 ) ; assertEquals ( "srini_string" , true , loc0 . hasNext ( ) ) ; } |
8,907 | returns the peer rssi . concode_field_sep String address concode_elem_sep Integer peer concode_elem_sep Integer device concode_field_sep String getAddress concode_elem_sep String toString concode_elem_sep Integer convert concode_elem_sep Integer getDevice | Integer function ( ) { return peer ; } |
8,908 | get a list of loaded modulecontainer concode_field_sep Vector<ModuleContainer> containers concode_elem_sep Vector<ModuleCandidate> candidates concode_field_sep ModuleContainer getContainerForName concode_elem_sep List<ModuleCandidate> getCandidates concode_elem_sep boolean moduleExists | List < ModuleContainer > function ( ) { return containers ; } |
8,909 | wrap the tokenstream according to the provided informations of contextconfig and a related document . concode_field_sep char SEPARATOR concode_elem_sep SortedMap<String,ContextMapping> EMPTY_MAPPING concode_elem_sep String FIELD_VALUE concode_elem_sep String FIELD_MISSING concode_elem_sep SortedMap<String,ContextConfig... | TokenStream function ( TokenStream arg0 ) { for ( ContextConfig loc0 : contexts . values ( ) ) { arg0 = loc0 . wrapTokenStream ( doc , arg0 ) ; } return arg0 ; } |
8,910 | sets the new address of this session . the address is used by services like the core server packet router to determine if a packet should be sent to the handler . handlers that are working on behalf of the server should use the generic server hostname address e.g. server.com . concode_field_sep Connection conn concode_... | void function ( JID arg0 ) { this . address = arg0 ; } |
8,911 | a value specifying whether or not the specified attribute must exist with the specified value in order for the update condition to be satisfied . specify true if the attribute must exist for the update condition to be satisfied . specify false if the attribute should not exist in order for the update condition to be sa... | void function ( Boolean arg0 ) { this . exists = arg0 ; } |
8,912 | set from value . concode_field_sep PduHeaders mPduHeaders concode_field_sep int getMessageType concode_elem_sep int getMmsVersion concode_elem_sep void setMmsVersion concode_elem_sep PduHeaders getPduHeaders concode_elem_sep void setMessageType concode_elem_sep EncodedStringValue getFrom | void function ( EncodedStringValue arg0 ) { mPduHeaders . setEncodedStringValue ( arg0 , PduHeaders . FROM ) ; } |
8,913 | returns the version from the kvp request concode_field_sep InputType input concode_elem_sep String inputId concode_elem_sep ProcessParameterIO ppio concode_elem_sep Object value concode_field_sep Object getValue concode_elem_sep Object getValueInternal concode_elem_sep InputProvider getInputProvider concode_elem_sep St... | String function ( String arg0 ) { return ( String ) new KvpMap ( KvpUtils . parseQueryString ( arg0 ) ) . get ( "srini_string" ) ; } |
8,914 | get a string from the clipboard concode_field_sep Clipboard clipboard concode_elem_sep GClip gclip concode_field_sep String pasteString concode_elem_sep boolean copyString concode_elem_sep void lostOwnership concode_elem_sep void makeClipboardObject concode_elem_sep boolean copy | String function ( ) { if ( gclip == null ) gclip = new GClip ( ) ; return gclip . pasteString ( ) ; } |
8,915 | scale all vertices in the mesh . concode_field_sep PlaceHolder placeHolder concode_field_sep void transform concode_elem_sep void scale concode_elem_sep void scale concode_elem_sep void multiply concode_elem_sep void translate | void function ( ITriangleMesh arg0 , double arg1 ) { arg1 ( arg0 , VectorFactory . createVector3 ( arg1 , arg1 , arg1 ) ) ; } |
8,916 | find a module specification for the given name . the default implementation delegates to the legacy #findmodule moduleidentifier , moduleloader method . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | ModuleSpec function ( String arg0 , ModuleLoader arg1 ) { return findModule ( ModuleIdentifier . fromString ( arg0 ) , arg1 ) ; } |
8,917 | update the component color based on whether the user has control of the app . concode_field_sep ColorRGBA HAS_CONTROL_COLOR concode_elem_sep View2DCell view concode_elem_sep boolean eventListenersAttached concode_elem_sep ColorRGBA NO_CONTROL_COLOR concode_elem_sep Entity parentEntity concode_elem_sep Node localToCellN... | void function ( ) { if ( controlArb == null || controlArb . hasControl ( ) ) { setColor ( HAS_CONTROL_COLOR ) ; setForegroundColor ( HAS_CONTROL_FOREGROUND_COLOR ) ; } else { setColor ( NO_CONTROL_COLOR ) ; setForegroundColor ( NO_CONTROL_FOREGROUND_COLOR ) ; } } |
8,918 | fetch the list of entries from the tuple concode_field_sep List<String> tuple concode_field_sep boolean add concode_elem_sep void readFields concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep int length concode_elem_sep String stringAt concode_elem_sep String toString concode_elem_sep int co... | List < String > function ( ) { return Collections . unmodifiableList ( this . tuple ) ; } |
8,919 | create an empty project if this project does not exist . concode_field_sep PlaceHolder placeHolder concode_field_sep IProject getTargetProject concode_elem_sep void refreshTargetProject concode_elem_sep File getTargetFolder concode_elem_sep FeatureConfiguration getOutletFeatureConfiguration concode_elem_sep boolean get... | boolean function ( IProject arg0 ) { if ( ! arg0 . exists ( ) ) { try { NullProgressMonitor loc0 = new NullProgressMonitor ( ) ; arg0 . create ( loc0 ) ; arg0 . open ( loc0 ) ; return true ; } catch ( CoreException loc0 ) { loc0 . printStackTrace ( ) ; } } return false ; } |
8,920 | auto generated axis2 error handler override this method for handling error response from execute operation concode_field_sep Object clientData concode_field_sep Object getClientData concode_elem_sep void receiveResultupdate concode_elem_sep void receiveResultretrieve concode_elem_sep void receiveErrorcreate concode_ele... | void function ( java . lang . Exception arg0 ) { } |
8,921 | returns a key for type annotated with annotations , reporting failures against subject . concode_field_sep Memoizer<Class<? extends Annotation>,Boolean> IS_QUALIFIER_ANNOTATION concode_elem_sep String PROVIDER_PREFIX concode_elem_sep String MEMBERS_INJECTOR_PREFIX concode_elem_sep String LAZY_PREFIX concode_elem_sep St... | String function ( Type arg0 , Annotation [ ] arg1 , Object arg2 ) { return get ( arg0 , extractQualifier ( arg1 , arg2 ) ) ; } |
8,922 | convert @id or a / @name to w : hyperlink / @w : anchor concode_field_sep Logger log concode_elem_sep AtomicInteger bookmarkId concode_elem_sep WordprocessingMLPackage wordMLPackage concode_field_sep int initBookmarkIdStart concode_elem_sep AtomicInteger getBookmarkId concode_elem_sep String anchorToBookmarkName concod... | String function ( String arg0 , String arg1 ) { return arg0 + arg1 ; } |
8,923 | sets the private . concode_field_sep String name concode_elem_sep int access concode_elem_sep TypeReference type concode_elem_sep boolean isPrivate concode_field_sep void setName concode_elem_sep void setAccess concode_elem_sep String getName concode_elem_sep int getAccess concode_elem_sep TypeReference getType concode... | void function ( boolean arg0 ) { this . isPrivate = arg0 ; } |
8,924 | copy stream-data from source to destination . this method does not buffer , flush or close the streams , as to do so would require making non-portable assumptions about the streams ' origin and further use . if you wish to perform a buffered copy , use #bufferedcopy . concode_field_sep Pattern DURATION_PATTERN concode_... | void function ( final InputStream arg0 , final OutputStream arg1 ) { final int loc0 = 1024 * 4 ; final byte [ ] loc1 = new byte [ loc0 ] ; while ( true ) { final int loc2 = arg0 . read ( loc1 , 0 , loc0 ) ; if ( - 1 == loc2 ) { break ; } arg1 . write ( loc1 , 0 , loc2 ) ; } } |
8,925 | returns a spec that selects the union of those items selected by the provided spec . selects everything when no specs provided . concode_field_sep Spec<Object> SATISFIES_ALL concode_elem_sep Spec<Object> SATISFIES_NONE concode_field_sep NotSpec<T> not concode_elem_sep OrSpec<T> or concode_elem_sep OrSpec<T> or concode_... | Spec < T > function ( Spec < ? super T > ... arg0 ) { if ( arg0 . length == 0 ) { return satisfyAll ( ) ; } if ( arg0 . length == 1 ) { return Cast . uncheckedCast ( arg0 [ 0 ] ) ; } return doUnion ( Arrays . asList ( arg0 ) ) ; } |
8,926 | requests that the compiler should perform statements recovery . to be effective , this method must be called before any of #getroot , #getastrewrite , #getimportremover . this method has no effect if the target object has been created with #compilationunitrewrite ijavascriptunit , javascriptunit . defaults to false do ... | void function ( boolean arg0 ) { fStatementsRecovery = arg0 ; } |
8,927 | returns a string representation of this object ; useful for testing and debugging . concode_field_sep String protocol concode_elem_sep Integer port concode_field_sep Integer getPort concode_elem_sep Listener withProtocol concode_elem_sep int hashCode concode_elem_sep void setProtocol concode_elem_sep boolean equals con... | String function ( ) { StringBuilder loc0 = new StringBuilder ( ) ; loc0 . append ( "srini_string" ) ; if ( getProtocol ( ) != null ) loc0 . append ( "srini_string" + getProtocol ( ) + "srini_string" ) ; if ( getPort ( ) != null ) loc0 . append ( "srini_string" + getPort ( ) ) ; loc0 . append ( "srini_string" ) ; return... |
8,928 | gets the value of the amountneededincents property . concode_field_sep String featureName concode_elem_sep long serialVersionUID concode_elem_sep BigInteger amountNeededInCents concode_elem_sep String status concode_field_sep String getFeatureName concode_elem_sep void setAmountNeededInCents concode_elem_sep String get... | BigInteger function ( ) { return amountNeededInCents ; } |
8,929 | returns the context node . concode_field_sep Node node concode_elem_sep String systemId concode_elem_sep String FEATURE concode_field_sep String getSystemId concode_elem_sep void setSystemId concode_elem_sep void setNode | Node function ( ) { return node ; } |
8,930 | serialize to a json object . parameters are serialized as decimal strings . hex-versus-decimal was reverse-engineered from what the persona public verifier accepted . concode_field_sep RSAPrivateKey privateKey concode_elem_sep int SERIALIZATION_BASE concode_elem_sep String SIGNATURE_ALGORITHM concode_elem_sep RSAPublic... | ExtendedJSONObject function ( ) { ExtendedJSONObject loc0 = new ExtendedJSONObject ( ) ; loc0 . put ( "srini_string" , "srini_string" ) ; loc0 . put ( "srini_string" , publicKey . getModulus ( ) . toString ( SERIALIZATION_BASE ) ) ; loc0 . put ( "srini_string" , publicKey . getPublicExponent ( ) . toString ( SERIALIZAT... |
8,931 | bind the given simpattributes to the current thread , concode_field_sep ThreadLocal<SimpAttributes> attributesHolder concode_field_sep SimpAttributes getAttributes concode_elem_sep SimpAttributes currentAttributes concode_elem_sep void setAttributesFromMessage concode_elem_sep void resetAttributes | void function ( SimpAttributes arg0 ) { if ( arg0 != null ) { attributesHolder . set ( arg0 ) ; } else { resetAttributes ( ) ; } } |
8,932 | set the current log level . 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 function ( int arg0 ) { LOGLEVEL = arg0 ; Log . i ( "srini_string" , "srini_string" + arg0 ) ; } |
8,933 | gets whether the server running is a cauldron mcpc + server cauldrons and bukkits hold different things ; bukkits usually hold cats concode_field_sep String MC_PACKAGE_NAME concode_elem_sep Version SERVER_VERSION concode_elem_sep Version BUKKIT_VERSION concode_field_sep Version getVersion concode_elem_sep String getVer... | boolean function ( ) { return Bukkit . getServer ( ) . getVersion ( ) . contains ( "srini_string" ) || Bukkit . getServer ( ) . getVersion ( ) . contains ( "srini_string" ) ; } |
8,934 | returns true iff this settings matches the type . concode_field_sep IndexSettings indexSettings concode_elem_sep IndexEventListener listener concode_elem_sep String STORE_TYPE concode_elem_sep SetOnce<EngineFactory> engineFactory concode_elem_sep Set<IndexEventListener> indexEventListeners concode_elem_sep Map<String,B... | boolean function ( String arg0 ) { return getSettingsKey ( ) . equals ( arg0 ) ; } |
8,935 | extracts the body from the xmpp message concode_field_sep HeaderFilterStrategy headerFilterStrategy concode_elem_sep Logger LOG concode_field_sep Object getMessageBody concode_elem_sep Map<String,Object> extractHeadersFromXmpp concode_elem_sep void populateXmppMessage concode_elem_sep void populateXmppPacket concode_el... | Object function ( Exchange arg0 , Packet arg1 ) { return ( arg1 instanceof Message ) ? getMessageBody ( ( Message ) arg1 ) : arg1 ; } |
8,936 | retrieves a list of the sessions in this container that are visible to the specified session , given the access rights of the session user . concode_field_sep int sessionIdCount concode_elem_sep IntKeyHashMap sessionMap concode_elem_sep Session sysSession concode_field_sep void removeSession concode_elem_sep Session ne... | Session [ ] function ( Session arg0 ) { return arg0 . isAdmin ( ) ? getAllSessions ( ) : new Session [ ] { arg0 } ; } |
8,937 | reset the game with the given parameters concode_field_sep int cannibalsRight concode_elem_sep int boatSide concode_elem_sep int missionariesLeft concode_elem_sep int missionariesRight concode_elem_sep int LEFT concode_elem_sep int totalMoves concode_elem_sep int RIGHT concode_elem_sep int cannibalsLeft concode_field_s... | void function ( int arg0 , int arg1 , int arg2 , int arg3 , int arg4 ) { this . cannibalsLeft = arg0 ; this . cannibalsRight = arg1 ; this . missionariesLeft = arg2 ; this . missionariesRight = arg3 ; this . boatSide = arg4 ; this . totalMoves = 0 ; } |
8,938 | derived property list of ip address strings concode_field_sep boolean feedbackShowStudentScore concode_elem_sep String keywords concode_elem_sep boolean feedbackShowGraderComment concode_elem_sep boolean collectSectionMetadata concode_elem_sep boolean displayNumberingContinuous concode_elem_sep boolean feedbackShowQues... | ArrayList function ( ) { ArrayList loc0 = new ArrayList ( ) ; StringTokenizer loc1 = new StringTokenizer ( allowedIP , "srini_string" , false ) ; while ( loc1 . hasMoreTokens ( ) ) { loc0 . add ( loc1 . nextToken ( ) ) ; } return loc0 ; } |
8,939 | return the argument concode_field_sep NamingStrategy INSTANCE concode_field_sep String classToTableName concode_elem_sep String collectionTableName concode_elem_sep String propertyToColumnName concode_elem_sep String logicalColumnName concode_elem_sep String logicalCollectionColumnName concode_elem_sep String logicalCo... | String function ( String arg0 , String arg1 ) { return columnName ( arg0 ) ; } |
8,940 | debug 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 setLogLevel concode_elem_sep void setLogLevel concode_elem_sep void e conco... | void function ( String arg0 , String arg1 , Throwable arg2 ) { if ( LOG . DEBUG >= LOGLEVEL ) Log . d ( arg0 , arg1 , arg2 ) ; } |
8,941 | add the given scope to this configurer 's map of scopes . concode_field_sep int order concode_elem_sep ClassLoader beanClassLoader concode_elem_sep Map<String,Object> scopes concode_field_sep void setScopes concode_elem_sep void setOrder concode_elem_sep void postProcessBeanFactory concode_elem_sep int getOrder concode... | void function ( String arg0 , Scope arg1 ) { if ( this . scopes == null ) { this . scopes = new LinkedHashMap < String , Object > ( 1 ) ; } this . scopes . put ( arg0 , arg1 ) ; } |
8,942 | sets the accessor class reference for this element . note : this call is only valid when the element is using the eclipse nls mechanism . concode_field_sep Region fTagPosition concode_elem_sep String TAG_POSTFIX concode_elem_sep AccessorClassReference fAccessorClassReference concode_elem_sep boolean fIsEclipseNLS conco... | void function ( AccessorClassReference arg0 ) { Assert . isTrue ( fIsEclipseNLS ) ; fAccessorClassReference = arg0 ; } |
8,943 | set sasl enabled . concode_field_sep String server concode_elem_sep String saslRole concode_elem_sep boolean resolveDnsThroughProxy concode_elem_sep boolean rememberPassword concode_elem_sep boolean isRequiredPassword concode_elem_sep String saslUser concode_elem_sep boolean contactPresenceTaskEnabled concode_elem_sep ... | void function ( final boolean arg0 ) { this . saslEnabled = arg0 ; } |
8,944 | integer unbox operation that treats null as 0 . concode_field_sep Set<Resource> all concode_elem_sep Map<Resource,Integer> write concode_elem_sep Logger LOGGER concode_elem_sep Integer MAX_INT concode_elem_sep ResourceList EMPTY concode_field_sep boolean isCollidingWith concode_elem_sep ResourceList r concode_elem_sep ... | int function ( Integer arg0 ) { return arg0 == null ? 0 : arg0 ; } |
8,945 | a percentage value indicating the size of the policy in packed form . the service rejects policies for which the packed size is greater than 100 percent of the allowed value . concode_field_sep FederatedUser federatedUser concode_elem_sep Credentials credentials concode_elem_sep Integer packedPolicySize concode_field_s... | Integer function ( ) { return this . packedPolicySize ; } |
8,946 | sets delay that this store should wait on each operation . concode_field_sep CacheStoreSession ses concode_elem_sep AtomicInteger putAllCnt concode_elem_sep boolean shouldFail concode_elem_sep String lastMtd concode_elem_sep Collection<Transaction> txs concode_elem_sep AtomicInteger loadCnt concode_elem_sep Map<Integer... | void function ( int arg0 ) { assert arg0 >= 0 ; this . operationDelay = arg0 ; } |
8,947 | method to move the user 's view to the top of the log if necessary concode_field_sep String color concode_elem_sep String DEFAULT_NICK concode_elem_sep String buttonImage concode_elem_sep Log log concode_elem_sep boolean minimized concode_elem_sep String autoLoad concode_elem_sep String MAXIMIZE_IMAGE concode_elem_sep ... | String function ( ) { if ( position >= NUM_MESSAGES ) { position = ( NUM_MESSAGES - 1 ) ; } return ( "srini_string" ) ; } |
8,948 | get the authenticated session user concode_field_sep Logger M_log concode_field_sep void init concode_elem_sep boolean hasAdvisors concode_elem_sep boolean unlock concode_elem_sep boolean unlock concode_elem_sep boolean unlock concode_elem_sep SecurityAdvisor popAdvisor concode_elem_sep UserDirectoryService userDirecto... | User function ( User arg0 ) { if ( arg0 != null ) return arg0 ; return userDirectoryService ( ) . getCurrentUser ( ) ; } |
8,949 | compute hash . as equals use only value . return the same hash for the same value . concode_field_sep String type concode_elem_sep String value concode_field_sep String getValue concode_elem_sep String getType concode_elem_sep void setValue concode_elem_sep boolean equals concode_elem_sep Object clone concode_elem_sep ... | int function ( ) { return getValue ( ) != null ? getValue ( ) . hashCode ( ) : 0 ; } |
8,950 | applies the given visitor to all referenced classes . concode_field_sep int u2typeIndex concode_elem_sep Clazz[] referencedClasses concode_elem_sep Object visitorInfo concode_elem_sep int u2elementValuesCount concode_elem_sep ElementValue[] elementValues concode_field_sep String getType concode_elem_sep void referenced... | void function ( ClassVisitor arg0 ) { if ( referencedClasses != null ) { for ( int loc0 = 0 ; loc0 < referencedClasses . length ; loc0 ++ ) { Clazz loc1 = referencedClasses [ loc0 ] ; if ( loc1 != null ) { loc1 . accept ( arg0 ) ; } } } } |
8,951 | return the algorithm identifier describing the mac algorithm concode_field_sep Pfx pfx concode_field_sep boolean hasMac concode_elem_sep Pfx toASN1Structure concode_elem_sep byte[] getEncoded concode_elem_sep byte[] getEncoded concode_elem_sep boolean isMacValid concode_elem_sep ContentInfo[] getContentInfos concode_el... | AlgorithmIdentifier function ( ) { MacData loc0 = pfx . getMacData ( ) ; if ( loc0 != null ) { return loc0 . getMac ( ) . getAlgorithmId ( ) ; } return null ; } |
8,952 | writes the knx address in xml format to the supplied writer . concode_field_sep int address concode_elem_sep String TAG_ADDRESS concode_elem_sep String ATTR_TYPE concode_field_sep String getType concode_elem_sep byte[] toByteArray concode_elem_sep KNXAddress create concode_elem_sep KNXAddress create concode_elem_sep St... | void function ( XMLWriter arg0 ) { final List loc0 = new ArrayList ( ) ; loc0 . add ( new Attribute ( ATTR_TYPE , getType ( ) ) ) ; arg0 . writeElement ( TAG_ADDRESS , loc0 , Integer . toString ( address ) ) ; arg0 . endElement ( ) ; } |
8,953 | the collectionacceptfilter accepts a certain collection . concode_field_sep boolean negated concode_elem_sep long serialVersionUID concode_elem_sep long serialVersionUID concode_elem_sep Predicate<E> f1 concode_elem_sep List<Predicate<T>> filters concode_elem_sep long serialVersionUID concode_elem_sep Predicate<E> f2 c... | Predicate < E > function ( Collection < E > arg0 ) { return new CollectionAcceptFilter < > ( arg0 , true ) ; } |
8,954 | encode the url parameter value concode_field_sep String PARAM_SEPARATOR concode_elem_sep String UTF_8_ENCODING concode_elem_sep String ANCHOR_CHAR concode_elem_sep String PARAM_EQUALS concode_elem_sep String QUERY_CHAR concode_field_sep String urlParamValueDecode concode_elem_sep String getAnchor concode_elem_sep Strin... | String function ( String arg0 ) { if ( arg0 != null ) { try { return URLEncoder . encode ( arg0 , UTF_8_ENCODING ) ; } catch ( UnsupportedEncodingException loc0 ) { } } return arg0 ; } |
8,955 | convenience that constructs a servicedescriptor simultaneously . concode_field_sep ImmutableMap<String,ServerMethodDefinition<?,?>> methods concode_elem_sep ServiceDescriptor serviceDescriptor concode_elem_sep Map<String,ServerMethodDefinition<?,?>> methods concode_elem_sep String serviceName concode_field_sep ServerSe... | Builder function ( String arg0 ) { return new Builder ( arg0 ) ; } |
8,956 | constructs a string with all attributes in name = value format . concode_field_sep RatePodamInternal ratePodamInternal concode_elem_sep long serialVersionUID concode_elem_sep ExternalRatePodamEnum ratePodamExternal concode_field_sep void setRatePodamExternal concode_elem_sep ExternalRatePodamEnum getRatePodamExternal c... | String function ( ) { final String loc0 = "srini_string" ; StringBuilder loc1 = new StringBuilder ( ) ; loc1 . append ( "srini_string" ) . append ( "srini_string" ) . append ( ratePodamInternal ) . append ( loc0 ) . append ( "srini_string" ) . append ( ratePodamExternal ) . append ( loc0 ) . append ( "srini_string" ) ;... |
8,957 | check to see if annotation is present on a given method , take into account class hierarchy . concode_field_sep PlaceHolder placeHolder concode_field_sep List<Method> getAnnotatedMethods concode_elem_sep A getAnnotation concode_elem_sep A getAnnotation | boolean function ( Method arg0 , Class < ? extends Annotation > arg1 ) { return org . springframework . core . annotation . AnnotationUtils . findAnnotation ( arg0 , arg1 ) != null ; } |
8,958 | invoked just as the operator functions is called to bind two operations together into a new observable and the return value is used as the lifted function this can be used to decorate or replace the operator instance or just perform extralogging , metrics and other such things and pass-thru the onsubscribe . concode_fi... | Operator < ? extends R , ? super T > function ( final Operator < ? extends R , ? super T > arg0 ) { return arg0 ; } |
8,959 | gets the binditerator . concode_field_sep Query query concode_elem_sep ListIterator bindIterator concode_elem_sep ImplementationImpl odmg concode_elem_sep Logger log concode_field_sep Vector flatten concode_elem_sep void bind concode_elem_sep OdmgConfiguration getConfiguration concode_elem_sep int fullSize concode_elem... | ListIterator function ( ) { return bindIterator ; } |
8,960 | returns the comment part . concode_field_sep String mAddress concode_elem_sep String mName concode_elem_sep String mComment concode_field_sep void setName concode_elem_sep String getName concode_elem_sep void setAddress concode_elem_sep String quoteNameIfNecessary concode_elem_sep boolean stringEquals concode_elem_sep ... | String function ( ) { return mComment ; } |
8,961 | returns if this search needs to refresh the index before reading it . concode_field_sep Condition queryCondition concode_elem_sep Condition filterCondition concode_elem_sep Boolean refresh concode_elem_sep Sort sort concode_elem_sep boolean DEFAULT_FORCE_REFRESH concode_field_sep Query filter concode_elem_sep Sort getS... | boolean function ( ) { return refresh ; } |
8,962 | the caller thread will block until the method returns . concode_field_sep Logger logger concode_elem_sep String INBOX_FOLDER_NAME concode_elem_sep AtomicBoolean mUsed concode_elem_sep FolderProxy mFolder concode_elem_sep AccountStoreWrapper mAccountStore concode_elem_sep Context mContext concode_field_sep FolderProxy o... | void function ( Callback < Void > arg0 , Voicemail ... arg1 ) { setFlags ( arg1 , arg0 , Flag . SEEN ) ; } |
8,963 | returns the signature . concode_field_sep int u2index concode_elem_sep int u2startPC concode_elem_sep Clazz[] referencedClasses concode_elem_sep Object visitorInfo concode_elem_sep int u2nameIndex concode_elem_sep int u2length concode_elem_sep int u2signatureIndex concode_field_sep String getName concode_elem_sep Objec... | String function ( Clazz arg0 ) { return arg0 . getString ( u2signatureIndex ) ; } |
8,964 | create an ipc endpoint concode_field_sep PlaceHolder placeHolder concode_field_sep Map<String,String> hostnamePortPair concode_elem_sep Map<String,String> hostnamePortPair concode_elem_sep void validateEndpoint concode_elem_sep Endpoint inetAddrEndpoint concode_elem_sep Map<String,String> uri concode_elem_sep List<Stri... | Endpoint function ( String arg0 , InetSocketAddress arg1 ) { return new Endpoint ( arg0 , ADDRESS_HOSTNAME_AND_PORT , ProtocolTypes . PROTOCOL_HADOOP_IPC , arg1 == null ? null : hostnamePortPair ( arg1 ) ) ; } |
8,965 | number of shards with the snapshot in the initializing stage concode_field_sep XContentBuilderString TOTAL concode_elem_sep XContentBuilderString INITIALIZING concode_elem_sep int doneShards concode_elem_sep int totalShards concode_elem_sep int initializingShards concode_elem_sep int failedShards concode_elem_sep XCont... | int function ( ) { return initializingShards ; } |
8,966 | returns the number of images . concode_field_sep ImageLocalService _imageLocalService concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.model.Image fetchImage concode_elem_sep void setWrappedService concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamic... | int function ( ) { return _imageLocalService . getImagesCount ( ) ; } |
8,967 | sets the name of the device . concode_field_sep int deviceType concode_elem_sep String protocol concode_elem_sep String data concode_elem_sep String name concode_elem_sep String model concode_elem_sep int supportedMethods concode_elem_sep int deviceId concode_elem_sep int status concode_elem_sep int TELLSTICK_SUCCESS c... | boolean function ( String arg0 ) { this . name = arg0 ; return JNA . CLibrary . INSTANCE . tdSetName ( getId ( ) , arg0 ) ; } |
8,968 | % tbd % doc needsdoc $ objectname $ @return concode_field_sep int IDENT_MAX_DTMS concode_elem_sep int IDENT_DTM_NODE_BITS concode_elem_sep int IDENT_DTM_DEFAULT concode_elem_sep boolean debug concode_elem_sep String defaultClassName concode_elem_sep boolean m_incremental concode_elem_sep String defaultPropName concode_... | int function ( ) { return IDENT_NODE_DEFAULT ; } |
8,969 | set the user data pointer . concode_field_sep Body m_bodyA concode_elem_sep boolean m_islandFlag concode_elem_sep JointEdge m_edgeB concode_elem_sep Body m_bodyB concode_elem_sep JointEdge m_edgeA concode_elem_sep Object m_userData concode_elem_sep IWorldPool pool concode_elem_sep Joint m_prev concode_elem_sep Joint m_... | void function ( Object arg0 ) { m_userData = arg0 ; } |
8,970 | set urls for confirm approved concode_field_sep AlertDialog.Builder dDialog concode_elem_sep Rooms rooms concode_elem_sep Activity activity concode_elem_sep Permissions permissions concode_elem_sep PublicKey publicKey concode_elem_sep Requests requests concode_elem_sep String UUID concode_elem_sep String original_urlS ... | void function ( String arg0 ) { String loc0 = "srini_string" + arg0 + "srini_string" ; String loc1 = getOriginal_urlS ( ) + loc0 ; setConnect ( loc1 , "srini_string" , prepareEncryptMessage ( this . UUID ) ) ; } |
8,971 | returns true if this enumeration is equivalent to the supplied object , o. only one instance of an enumeration constant exists , so the comparison is simply done using == . concode_field_sep long serialVersionUID concode_elem_sep String name concode_elem_sep int ordinal concode_field_sep Class<T> getDeclaringClass conc... | boolean function ( Object arg0 ) { return this == arg0 ; } |
8,972 | sets what is to be considered the result of executing the command . this may be called multiple times to do things like wrap the result in another type . concode_field_sep DaemonContext daemonContext concode_elem_sep Throwable exception concode_elem_sep Object result concode_elem_sep DaemonConnection connection concode... | void function ( Object arg0 ) { this . result = arg0 ; } |
8,973 | adding an existing datastream should fail . concode_field_sep String DS_CONTENT2 concode_elem_sep AkubraLowlevelStorage instance concode_elem_sep String OBJ_CONTENT2 concode_elem_sep String OBJ_KEY concode_elem_sep String OBJ_CONTENT concode_elem_sep AkubraLowlevelStorage safeInstance concode_elem_sep String DS_KEY con... | void function ( ) { instance . addDatastream ( DS_KEY , toStream ( DS_CONTENT ) ) ; instance . addDatastream ( DS_KEY , toStream ( DS_CONTENT ) ) ; } |
8,974 | inverts n-th bit of the integer value concode_field_sep int FLOAT_SIZE_IN_BYTES concode_elem_sep int SHORT_SIZE_IN_BYTES concode_elem_sep int BOOLEAN_SIZE_IN_BYTES concode_elem_sep int NULL_ARRAY_LENGTH concode_elem_sep int CHAR_SIZE_IN_BYTES concode_elem_sep int INT_SIZE_IN_BYTES concode_elem_sep int BYTE_SIZE_IN_BYTE... | int function ( int arg0 , int arg1 ) { arg0 ^= 1 << arg1 ; return arg0 ; } |
8,975 | gets total holdings loaded . concode_field_sep String fileName concode_elem_sep String totalItemsLoaded concode_elem_sep String totalBibsLoaded concode_elem_sep String totalHoldingsLoaded concode_elem_sep String totalBibHoldingsLoaded concode_elem_sep String totalBibItemsLoaded concode_elem_sep String totalRecordsInFil... | String function ( ) { return totalHoldingsLoaded ; } |
8,976 | get / audits / : id : get an auditevent by id . concode_field_sep AuditEventService auditEventService concode_field_sep ResponseEntity<List<AuditEvent>> getAll concode_elem_sep ResponseEntity<List<AuditEvent>> getByDates | ResponseEntity < AuditEvent > function ( @ PathVariable Long arg0 ) { return auditEventService . find ( arg0 ) . map ( ( entity ) -> new ResponseEntity < > ( entity , HttpStatus . OK ) ) . orElse ( new ResponseEntity < > ( HttpStatus . NOT_FOUND ) ) ; } |
8,977 | expose the classic spring jdbctemplate to allow invocation of less commonly used methods . concode_field_sep NamedParameterJdbcOperations namedParameterJdbcOperations concode_field_sep int queryForInt concode_elem_sep int queryForInt concode_elem_sep int queryForInt concode_elem_sep T queryForObject concode_elem_sep T ... | JdbcOperations function ( ) { return this . namedParameterJdbcOperations . getJdbcOperations ( ) ; } |
8,978 | gets the visibleflag value for this sdkfeature . concode_field_sep java.lang.String descr concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String name concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.String svgGroup concode_elem_sep java.lang.String type concode_elem_sep org.a... | java . lang . Boolean function ( ) { return visibleFlag ; } |
8,979 | called when the user clicks cancel . concode_field_sep ComboBox<String> categoryField concode_elem_sep TextField distributionKindField concode_elem_sep Item item concode_elem_sep Stage dialogStage concode_elem_sep TextField useField concode_elem_sep boolean okClicked concode_elem_sep TextField dateField concode_elem_se... | void function ( ) { dialogStage . close ( ) ; } |
8,980 | removes a csp listener from the solution strategy . concode_field_sep List<CSPStateListener> listeners concode_field_sep void addCSPStateListener concode_elem_sep void fireStateChanged concode_elem_sep void fireStateChanged concode_elem_sep Assignment solve | void function ( CSPStateListener arg0 ) { listeners . remove ( arg0 ) ; } |
8,981 | inverts this matrix in place . concode_field_sep long serialVersionUID concode_elem_sep int SIZE concode_elem_sep double m00 concode_field_sep int getNumRow concode_elem_sep boolean isIdentity concode_elem_sep boolean isIdentity concode_elem_sep boolean isAffine concode_elem_sep double getElement concode_elem_sep void ... | void function ( ) { if ( m00 == 0 ) { throw new SingularMatrixException ( ) ; } m00 = 1 / m00 ; } |
8,982 | create uicomponents for all keys from the person . concode_field_sep Map<Key,UIComponent> binding concode_field_sep void modifyComponentAttributes concode_elem_sep void copyFormValues concode_elem_sep void simpleMapping concode_elem_sep void plainMapping concode_elem_sep UIComponent<T> getComponent concode_elem_sep voi... | void function ( Ujo arg0 ) { for ( Key loc0 : arg0 . readKeys ( ) ) { bind ( loc0 ) ; } } |
8,983 | returns the edges in a minimum spanning tree or forest . concode_field_sep boolean[] marked concode_elem_sep MinPQ<Edge> pq concode_elem_sep double weight concode_elem_sep Queue<Edge> mst concode_field_sep void prim concode_elem_sep void scan concode_elem_sep double weight concode_elem_sep void main concode_elem_sep bo... | Iterable < Edge > function ( ) { return mst ; } |
8,984 | getter for the editing domain of the resource used in this refactoring . concode_field_sep RefactoringHelper helper concode_elem_sep List<T> contextObjects concode_field_sep Resource getResource concode_elem_sep boolean internalDoUndo concode_elem_sep List<?> getAffectedFiles concode_elem_sep String getCommandLabel con... | TransactionalEditingDomain function ( ) { return TransactionUtil . getEditingDomain ( getResource ( ) ) ; } |
8,985 | override this method to setup the port to use . concode_field_sep Application app concode_elem_sep int port concode_elem_sep TestServer testServer concode_field_sep void startServer concode_elem_sep void stopServer concode_elem_sep Application provideApplication concode_elem_sep FakeApplication provideFakeApplication | int function ( ) { return play . api . test . Helpers . testServerPort ( ) ; } |
8,986 | sets the value of the name property . concode_field_sep String name concode_elem_sep long serialVersionUID concode_elem_sep String value concode_field_sep String getValue concode_elem_sep String getName concode_elem_sep void setValue | void function ( String arg0 ) { this . name = arg0 ; } |
8,987 | checks a few of the many possible bad inputs concode_field_sep Random rand concode_field_sep void descendingOrder concode_elem_sep void rank_and_nullity concode_elem_sep void rank_and_nullity concode_elem_sep void testDescendingOrder concode_elem_sep void checkSvdMatrixSize_positive concode_elem_sep void checkSvdMatrix... | void function ( ) { checkSvdMatrixSize_negative ( 4 , 5 ) ; checkSvdMatrixSize_negative ( 5 , 4 ) ; } |
8,988 | #gettype type - specific binary values . concode_field_sep ImmutableList.Builder<String> infoValues concode_elem_sep int type concode_elem_sep int ttl concode_elem_sep String dName concode_elem_sep int type concode_elem_sep int ttl concode_elem_sep List<String> infoValues concode_field_sep Builder rrBuilder concode_ele... | List < String > function ( ) { return infoValues ; } |
8,989 | reports whether this driver is a genuine jdbc complianttm driver . a driver may only report true here if it passes the jdbc compliance tests ; otherwise it is required to return false . jdbc compliance requires full support for the jdbc api and full support for sql 92 entry level . it is expected that jdbc compliant dr... | boolean function ( ) { return false ; } |
8,990 | setter for softdescriptor concode_field_sep String preferredPrefix concode_elem_sep String softDescriptorCity concode_elem_sep List<PaymentDetailsItemType> paymentDetailsItem concode_elem_sep String softDescriptor concode_elem_sep RecurringPaymentsProfileDetailsType recurringPaymentsProfileDetails concode_elem_sep Cred... | void function ( String arg0 ) { this . softDescriptor = arg0 ; } |
8,991 | utility to determine if the countdowntime parameter is paste due or expired . this method should not be called via regular value binding instead it should only be called from validator ar converter calls . concode_field_sep int HOUR_COMPONENT concode_elem_sep int TIME_LEFT_EXPIRED concode_elem_sep boolean newBidPrice c... | boolean function ( long [ ] arg0 ) { return arg0 [ AuctionItemBean . DAY_COMPONENT ] <= 0 && arg0 [ AuctionItemBean . HOUR_COMPONENT ] <= 0 && arg0 [ AuctionItemBean . MINUTE_COMPONENT ] <= 0 && arg0 [ AuctionItemBean . SECOND_COMPONENT ] <= 0 ; } |
8,992 | write the contents of the specified log . concode_field_sep File baseDir concode_field_sep String readLog | void function ( final String arg0 , final String arg1 ) { final File loc0 = new File ( baseDir , arg0 ) ; final FileWriter loc1 = new FileWriter ( loc0 ) ; try { loc1 . write ( arg1 ) ; } finally { loc1 . close ( ) ; } } |
8,993 | adds the provided handlerinterceptor . concode_field_sep List<InterceptorRegistration> registrations concode_field_sep List<Object> getInterceptors concode_elem_sep InterceptorRegistration addWebRequestInterceptor | InterceptorRegistration function ( HandlerInterceptor arg0 ) { InterceptorRegistration loc0 = new InterceptorRegistration ( arg0 ) ; registrations . add ( loc0 ) ; return loc0 ; } |
8,994 | create an instance of advicetype concode_field_sep QName _AuthnContext_QNAME concode_elem_sep QName _Conditions_QNAME concode_elem_sep QName _Attribute_QNAME concode_elem_sep QName _Audience_QNAME concode_elem_sep QName _Assertion_QNAME concode_elem_sep QName _AuthnStatement_QNAME concode_elem_sep QName _Condition_QNAM... | AdviceType function ( ) { return new AdviceType ( ) ; } |
8,995 | creates a cglib proxy instance along with the neccessary callback classes , if those have not been created already . uses either the repackaged version of cglib spring > = 3.2 or the stand-alone version spring < 3.2 . concode_field_sep Class<?> springProxy concode_elem_sep Class<?> springNamingPolicy concode_elem_sep S... | Object function ( Object arg0 , Object arg1 , Class < ? > [ ] arg2 , Object [ ] arg3 ) { if ( INSTANCE == null ) { INSTANCE = new EnhancerProxyCreater ( arg1 . getClass ( ) . getClassLoader ( ) , arg1 . getClass ( ) . getProtectionDomain ( ) ) ; } return INSTANCE . create ( arg0 , arg1 , arg2 , arg3 ) ; } |
8,996 | set up the test . concode_field_sep ResourceBundle testBundle concode_elem_sep PLCResourceBundleProvider testProvider concode_field_sep void get | void function ( ) { testProvider = new PLCResourceBundleProvider ( ) ; testBundle = testProvider . get ( ) ; } |
8,997 | get the length of the input stream . concode_field_sep PlaceHolder placeHolder concode_field_sep String getName concode_elem_sep String expressionString concode_elem_sep char[] getJavaSourceFromTheInputStream | long function ( InputStream arg0 ) { return arg0 . available ( ) ; } |
8,998 | this method resets the incoming events time events included . concode_field_sep ITimer timer concode_elem_sep boolean[] timeEvents concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep void init concode_elem_sep void exitAction concode_elem_sep void reactMain_region_End concode_elem... | void function ( ) { for ( int loc0 = 0 ; loc0 < timeEvents . length ; loc0 ++ ) { timeEvents [ loc0 ] = false ; } } |
8,999 | sets the separator to use in the output between lines in the body , the default is '' \ n '' . concode_field_sep String FROM concode_elem_sep Pattern DEFAULT_QUOTED_TEXT concode_elem_sep String TO concode_elem_sep String outputDir concode_elem_sep Charset charset concode_elem_sep String SUBJECT concode_elem_sep boolean... | void function ( String arg0 ) { this . bodySeparator = arg0 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.