idx int64 0 25k | question stringlengths 71 7.19k | target stringlengths 20 663 |
|---|---|---|
1,000 | returns true if the gps engine has almanac data for the satellite . concode_field_sep boolean mUsedInFix concode_elem_sep float mAzimuth concode_elem_sep boolean mHasEphemeris concode_elem_sep float mElevation concode_elem_sep boolean mValid concode_elem_sep float mSnr concode_elem_sep int mPrn concode_elem_sep boolean... | boolean function ( ) { return mHasAlmanac ; } |
1,001 | indicates that this operation has been cancelled and the operation if executing should finish as soon as possible . concode_field_sep boolean cancelled concode_field_sep boolean isCancelled | void function ( ) { this . cancelled = true ; } |
1,002 | updates the membership request in the database or adds it if it does not yet exist . also notifies the appropriate model listeners . concode_field_sep MembershipRequestLocalService _membershipRequestLocalService concode_field_sep com.liferay.portal.kernel.model.MembershipRequest createMembershipRequest concode_elem_sep... | com . liferay . portal . kernel . model . MembershipRequest function ( com . liferay . portal . kernel . model . MembershipRequest arg0 ) { return _membershipRequestLocalService . updateMembershipRequest ( arg0 ) ; } |
1,003 | check if this class is one of the supported types . if the class is supported , returns true . otherwise , returns false . concode_field_sep Class<?> NO_PARAMS[] concode_elem_sep String strArray[] concode_elem_sep Class realClass concode_elem_sep Logger log concode_elem_sep Map<String,AccessibleObject> getAttMap concod... | boolean function ( Class < ? > arg0 ) { for ( int loc0 = 0 ; loc0 < supportedTypes . length ; loc0 ++ ) { if ( arg0 == supportedTypes [ loc0 ] ) { return true ; } } if ( isBeanCompatible ( arg0 ) ) { return true ; } return false ; } |
1,004 | returns the bundle classloader of the mds bundle . concode_field_sep Logger LOGGER concode_field_sep boolean isMdsClassLoader concode_elem_sep boolean isMdsBundle concode_elem_sep JDOImplHelper getJDOImplHelper concode_elem_sep Bundle findMdsBundle concode_elem_sep boolean isBundleMdsDependent concode_elem_sep void unr... | ClassLoader function ( BundleContext arg0 ) { Bundle loc0 = findMdsBundle ( arg0 ) ; return loc0 . adapt ( BundleWiring . class ) . getClassLoader ( ) ; } |
1,005 | creates a booleansubscription without unsubscribe behavior . concode_field_sep int unsubscribed concode_elem_sep AtomicIntegerFieldUpdater<BooleanSubscription> UNSUBSCRIBED_UPDATER concode_elem_sep Action0 action concode_field_sep void unsubscribe concode_elem_sep boolean isUnsubscribed | BooleanSubscription function ( ) { return new BooleanSubscription ( ) ; } |
1,006 | create a httpserver that registers the servletcontainer . concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | HttpServer function ( String arg0 , Map < String , String > arg1 ) { if ( arg0 == null ) { throw new IllegalArgumentException ( "srini_string" ) ; } return create ( URI . create ( arg0 ) , arg1 ) ; } |
1,007 | forward to actual server mediator . concode_field_sep ServerMediator serverMediator concode_elem_sep Element configElm concode_elem_sep String error concode_field_sep String getError concode_elem_sep String getConfigParam concode_elem_sep void init concode_elem_sep void init concode_elem_sep Element getConfigElm concod... | Element function ( Element arg0 ) { return serverMediator . doDispatch ( arg0 ) ; } |
1,008 | send and receive data in request/response fashion . concode_field_sep Process process concode_elem_sep OutputStream stdin concode_elem_sep Object lifecycleLock concode_elem_sep InputStream stdout concode_elem_sep String workingDirectory concode_elem_sep AbstractByteArraySerializer serializer concode_elem_sep Logger log... | String function ( String arg0 ) { Assert . isTrue ( isRunning ( ) , "srini_string" ) ; send ( arg0 ) ; return receive ( ) ; } |
1,009 | start the worker thread . concode_field_sep Thread thread concode_elem_sep Integer threadPriority concode_elem_sep Object value concode_elem_sep ThreadVar threadVar concode_field_sep void setThreadPriority concode_elem_sep Object getValue concode_elem_sep Thread get concode_elem_sep Object get concode_elem_sep void set... | void function ( ) { Thread loc0 = threadVar . get ( ) ; if ( loc0 != null ) { if ( threadPriority != null ) loc0 . setPriority ( threadPriority ) ; loc0 . start ( ) ; } } |
1,010 | backup a number of characters . concode_field_sep int bufpos concode_elem_sep boolean prevCharIsLF concode_elem_sep int bufsize concode_elem_sep int available concode_elem_sep int tabSize concode_elem_sep java.io.Reader inputStream concode_elem_sep int line concode_elem_sep boolean staticFlag concode_elem_sep int bufco... | void function ( int arg0 ) { inBuf += arg0 ; if ( ( bufpos -= arg0 ) < 0 ) bufpos += bufsize ; } |
1,011 | set the result of the activity to indicate whether the operation on the content succeeded or not . concode_field_sep String TAG concode_field_sep void hideKeyboard concode_elem_sep String uppercaseInput concode_elem_sep void showToast | void function ( Activity arg0 , Uri arg1 , String arg2 ) { if ( arg1 == null ) arg0 . setResult ( Activity . RESULT_CANCELED , new Intent ( "srini_string" ) . putExtra ( "srini_string" , arg2 ) ) ; else arg0 . setResult ( Activity . RESULT_OK , new Intent ( "srini_string" , arg1 ) ) ; } |
1,012 | gets the socketaddress usually ip address + port number of the remote host that this packet is being sent to or is coming from . concode_field_sep byte[] buf concode_elem_sep int bufLength concode_elem_sep InetAddress address concode_elem_sep int offset concode_elem_sep int port concode_elem_sep int length concode_fiel... | SocketAddress function ( ) { return new InetSocketAddress ( getAddress ( ) , getPort ( ) ) ; } |
1,013 | number of uncrossed sticks concode_field_sep int GAPS_ROWS[] concode_elem_sep boolean[] sticks concode_elem_sep int NSTICKS concode_elem_sep boolean GAPS_BOUNDS[] concode_elem_sep int STICKS_ROWS[] concode_elem_sep boolean[] gaps concode_elem_sep int NGAPS concode_field_sep boolean isCrossed concode_elem_sep boolean ge... | int function ( ) { int loc0 = 0 ; for ( int loc1 = 0 ; loc1 < sticks . length ; loc1 ++ ) { if ( sticks [ loc1 ] ) { loc0 ++ ; } } return loc0 ; } |
1,014 | creates an indexed add operation using the specified address and parameters concode_field_sep String INDEX concode_elem_sep String KEY concode_field_sep String getName concode_elem_sep ModelNode getAttributeValue concode_elem_sep ModelNode createWriteAttributeOperation concode_elem_sep ModelNode createReadAttributeOper... | ModelNode function ( PathAddress arg0 , int arg1 , Map < Attribute , ModelNode > arg2 ) { ModelNode loc0 = Util . createAddOperation ( arg0 ) ; loc0 . get ( ModelDescriptionConstants . ADD_INDEX ) . set ( arg1 ) ; for ( Map . Entry < Attribute , ModelNode > loc1 : arg2 . entrySet ( ) ) { loc0 . get ( loc1 . getKey ( ) ... |
1,015 | random sample of distribution concode_field_sep Random random concode_elem_sep int lower concode_elem_sep int upper concode_field_sep int getLower concode_elem_sep int getUpper | int function ( ) { final int loc0 = ( upper - lower ) + 1 ; if ( loc0 <= 0 ) { while ( true ) { final int loc1 = random . nextInt ( ) ; if ( loc1 >= lower && loc1 <= upper ) { return loc1 ; } } } else { return lower + random . nextInt ( loc0 ) ; } } |
1,016 | sets the executioncallback . concode_field_sep int DEFAULT_REPLICA_INDEX concode_elem_sep long callTimeout concode_elem_sep Operation op concode_elem_sep ExecutionCallback<Object> executionCallback concode_elem_sep int replicaIndex concode_elem_sep long DEFAULT_CALL_TIMEOUT concode_elem_sep int DEFAULT_TRY_COUNT concod... | InvocationBuilder function ( ExecutionCallback < Object > arg0 ) { this . executionCallback = arg0 ; return this ; } |
1,017 | if test not finished yet in our case if stop time is zero mark it as interrupted . set message , stop time and status . concode_field_sep Set<Map.Entry<String,TestSuiteResult>> testSuites concode_field_sep void run concode_elem_sep TestCaseResult createFakeTestcaseWithWarning | void function ( TestCaseResult arg0 ) { if ( arg0 . getStop ( ) == 0L ) { arg0 . setStop ( System . currentTimeMillis ( ) ) ; arg0 . setStatus ( Status . BROKEN ) ; arg0 . setFailure ( new Failure ( ) . withMessage ( "srini_string" ) ) ; } } |
1,018 | sets the value of the requesthandle property . concode_field_sep String pausedState concode_elem_sep String requestHandle concode_elem_sep long requestId concode_elem_sep boolean resumed concode_field_sep boolean isResumed concode_elem_sep String getRequestHandle concode_elem_sep void setRequestId concode_elem_sep Stri... | void function ( String arg0 ) { this . requestHandle = arg0 ; } |
1,019 | tests an order by in a query transformation concode_field_sep PlaceHolder placeHolder concode_field_sep void testRemovedOrderByFromQueryTransform concode_elem_sep void testRemovedOrderByFromQueryTransform2 concode_elem_sep void testRemovedOrderByFromQueryTransform3 concode_elem_sep void testOrderByWithLimit | void function ( ) { ProcessorPlan loc0 = TestOptimizer . helpPlan ( "srini_string" , RealMetadataFactory . example1Cached ( ) , new String [ ] { "srini_string" } ) ; TestOptimizer . checkNodeTypes ( loc0 , new int [ ] { 1 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 0 , 1 , 0 , 0 , 0 } ) ; } |
1,020 | gets the bytecode array . concode_field_sep LineNumberList lineNumbers concode_elem_sep LocalVariableList localVariables concode_elem_sep Method method concode_elem_sep boolean accSuper concode_elem_sep CstString sourceFile concode_elem_sep AttCode attCode concode_field_sep CstString getDescriptor concode_elem_sep CstN... | BytecodeArray function ( ) { return attCode . getCode ( ) ; } |
1,021 | sets the value of field ` content ' . the field ` content ' has the following description : internal content storage concode_field_sep java.lang.String _content concode_elem_sep java.lang.String _id concode_field_sep nl.tjonahen.cpv.applicationxml.SmallIcon unmarshal concode_elem_sep java.lang.String getContent concode... | void function ( java . lang . String arg0 ) { this . _content = arg0 ; } |
1,022 | returns an image descriptor for this file system element concode_field_sep FileSystemElement parent concode_elem_sep String name concode_elem_sep AdaptableList files concode_elem_sep boolean isDirectory concode_elem_sep IWorkbenchAdapter workbenchAdapter concode_elem_sep AdaptableList folders concode_elem_sep Object fi... | ImageDescriptor function ( Object arg0 ) { if ( isDirectory ( ) ) { return WorkbenchImages . getImageDescriptor ( ISharedImages . IMG_OBJ_FOLDER ) ; } else { return WorkbenchPlugin . getDefault ( ) . getEditorRegistry ( ) . getImageDescriptor ( name ) ; } } |
1,023 | register an editor for a class . replaces old editor if there was one registered before . concode_field_sep java.util.Hashtable editors concode_elem_sep String[] editorSearchPath concode_field_sep PropertyEditor findEditor concode_elem_sep String[] getEditorSearchPath concode_elem_sep void setEditorSearchPath | void function ( Class arg0 , Class arg1 ) { editors . put ( arg0 , arg1 ) ; } |
1,024 | the longitude . concode_field_sep Double latitude concode_elem_sep Double longitude concode_field_sep void setLatitude concode_elem_sep Location withLongitude concode_elem_sep int hashCode concode_elem_sep Double getLatitude concode_elem_sep boolean equals concode_elem_sep Location clone concode_elem_sep Location withL... | Double function ( ) { return this . longitude ; } |
1,025 | the maximum time , in seconds , that the aws lambda function can take to execute from start to close before it is marked as failed . constraints : length : 0 - 8 concode_field_sep String startToCloseTimeout concode_elem_sep String input concode_elem_sep String name concode_elem_sep String id concode_elem_sep Long decis... | void function ( String arg0 ) { this . startToCloseTimeout = arg0 ; } |
1,026 | return the filter configuration object for this filter . concode_field_sep long llegada concode_elem_sep boolean debug concode_elem_sep FilterConfig filterConfig concode_elem_sep String USUARIO_SESION concode_elem_sep long salida concode_field_sep void init concode_elem_sep void sendProcessingError concode_elem_sep voi... | FilterConfig function ( ) { return ( this . filterConfig ) ; } |
1,027 | get the minimum time , in ms , that the mios unit should wait/delay in order to `` bundle '' changes in their response . if this configuration is not specified , then it will default to 0ms , or no-delay . concode_field_sep int CONFIG_DEFAULT_REFRESH_COUNT concode_elem_sep int refreshCount concode_elem_sep int errorCou... | int function ( ) { return minimumDelay ; } |
1,028 | returns the path depth number if the element is in the current path or -1 if it is n't . concode_field_sep int linkCount concode_elem_sep Map myVisitedElements concode_elem_sep Iterator myElements concode_elem_sep boolean done concode_field_sep boolean isVisited concode_elem_sep void beginVisit concode_elem_sep Iterato... | int function ( Object arg0 ) { if ( myVisitedElements . containsKey ( arg0 ) ) { return ( ( Integer ) myVisitedElements . get ( arg0 ) ) . intValue ( ) ; } return - 1 ; } |
1,029 | executes a ddl statement . it is assumed that the argument is of the correct type . concode_field_sep Session session concode_elem_sep Result emptyZeroResult concode_elem_sep Result updateResult concode_elem_sep Result updateOneResult concode_field_sep Result executeInsertSelectStatement concode_elem_sep Result execute... | Result function ( CompiledStatement arg0 ) { return session . sqlExecuteDirectNoPreChecks ( arg0 . sql ) ; } |
1,030 | creates an rexexecutable that allows to apply thegenerated code during query processing filter , projection . concode_field_sep RelDataType rowType concode_elem_sep RelDataTypeFactory typeFactory concode_elem_sep DataContext dataContext concode_field_sep void reduce concode_elem_sep String compile concode_elem_sep Stri... | RexExecutable function ( RexBuilder arg0 , List < RexNode > arg1 , RelDataType arg2 ) { final InputGetter loc0 = new DataContextInputGetter ( arg2 , arg0 . getTypeFactory ( ) ) ; final String loc1 = compile ( arg0 , arg1 , loc0 , arg2 ) ; return new RexExecutable ( loc1 , "srini_string" ) ; } |
1,031 | verifica se a trie de tamanhoalvo possui filhos com valores do prefixo concode_field_sep List<Trie> tries concode_elem_sep List<Set<String>> palavrasPorTamanho concode_elem_sep int maxTamanho concode_field_sep List<String> expandirRetanguloComPoda concode_elem_sep List<Trie> getTries concode_elem_sep List<String> encon... | boolean function ( String arg0 , int arg1 ) { inicializaTrie ( arg1 ) ; return tries . get ( arg1 ) . verificarPrefixo ( arg0 ) ; } |
1,032 | function that open the lib . concode_field_sep ResultSet rs concode_elem_sep LuaState L concode_field_sep LuaObject getcolnames concode_elem_sep LuaObject getcoltypes concode_elem_sep LuaObject fetch | int function ( LuaState L ) { L . pushJavaFunction ( new JavaFunction ( L ) { public int execute ( ) throws LuaException { ResultSet rs = ( ResultSet ) L . getObjectFromUserdata ( 2 ) ; L . pushJavaObject ( new LuaSQLCursor ( L , rs ) ) ; return 1 ; } } ) ; return 1 ; } |
1,033 | removes all mediadescriptors concode_field_sep SessionNameField s concode_elem_sep ConnectionField c concode_elem_sep TimeField t concode_elem_sep Vector<AttributeField> av concode_elem_sep SdpField v concode_elem_sep Vector<MediaDescriptor> media concode_elem_sep OriginField o concode_field_sep void init concode_elem_... | SessionDescriptor function ( ) { media . setSize ( 0 ) ; return this ; } |
1,034 | print automaton to a printstream in a specified format `` dot '' , `` txt '' or `` hoa '' . concode_field_sep int size concode_elem_sep Acceptance acceptance concode_elem_sep int start concode_elem_sep List<List<Edge>> edges concode_elem_sep List<String> apList concode_elem_sep Symbol label concode_elem_sep int dest co... | void function ( PrintStream arg0 , String arg1 ) { switch ( arg1 ) { case "srini_string" : arg0 . println ( toString ( ) ) ; break ; case "srini_string" : printDot ( arg0 ) ; break ; case "srini_string" : printHOA ( arg0 ) ; break ; } } |
1,035 | the description of the model . concode_field_sep String schema concode_elem_sep String name concode_elem_sep String description concode_elem_sep String id concode_elem_sep String contentType concode_field_sep void setName concode_elem_sep String getName concode_elem_sep CreateModelResult withDescription concode_elem_se... | String function ( ) { return this . description ; } |
1,036 | returns the chunk type . concode_field_sep int TYPE_PROFILE concode_elem_sep byte[] data concode_elem_sep int TYPE_DATA concode_elem_sep int TYPE_TIME concode_elem_sep int crc concode_elem_sep int TYPE_PHYS concode_elem_sep int TYPE_HEADER concode_elem_sep int TYPE_GAMMA concode_elem_sep int TYPE_PALETTE concode_elem_s... | int function ( ) { return type ; } |
1,037 | string representation of this object . concode_field_sep float width concode_elem_sep float height concode_field_sep float getHeight concode_elem_sep void set concode_elem_sep void set concode_elem_sep float getWidth concode_elem_sep Dimension toDimension | String function ( ) { return "srini_string" + width + "srini_string" + height + "srini_string" ; } |
1,038 | converts a tag object into tagdto concode_field_sep PlaceHolder placeHolder concode_field_sep TagListDTO fromTagListToDTO concode_elem_sep void setPaginationParams | TagDTO function ( Tag arg0 ) { TagDTO loc0 = new TagDTO ( ) ; loc0 . setName ( arg0 . getName ( ) ) ; loc0 . setWeight ( arg0 . getNoOfOccurrences ( ) ) ; return loc0 ; } |
1,039 | compare two locales , and return true if the parent is a ` strict ' fallback of the child parent string is a fallback of child string . concode_field_sep PlaceHolder placeHolder concode_field_sep Locale getLocaleFromName concode_elem_sep Locale fallback | boolean function ( Locale arg0 , Locale arg1 ) { return isFallbackOf ( arg0 . toString ( ) , arg1 . toString ( ) ) ; } |
1,040 | convert the given object to string with each line indented by 4 spaces except the first line . concode_field_sep Long specialPropertyName concode_field_sep SpecialModelName specialPropertyName concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep void setSpecialPropertyName concode_elem_sep Lon... | String function ( java . lang . Object arg0 ) { if ( arg0 == null ) { return "srini_string" ; } return arg0 . toString ( ) . replace ( "srini_string" , "srini_string" ) ; } |
1,041 | return true or false based on whether the named file exists . concode_field_sep boolean fsNormalizesPosixSeparator concode_elem_sep FileUtil fileUtil concode_elem_sep FileDescriptor outDescriptor concode_elem_sep Random random concode_elem_sep boolean fsIsIgnoreCase concode_field_sep void renameElement concode_elem_sep... | boolean function ( String arg0 ) { return ( new File ( arg0 ) ) . exists ( ) ; } |
1,042 | prints a message at error 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 printl... | void function ( String arg0 , String arg1 ) { e ( arg0 , arg1 , null ) ; } |
1,043 | the name into which this binding should be made . the meaning of relative names depends on where this binding description is used . for component bindings , relative names are generally relative to java : comp/env . concode_field_sep String name concode_elem_sep InjectionSource source concode_field_sep InjectionSource ... | String function ( ) { return name ; } |
1,044 | same like next , but returns the end-of-text as if there was a linebreak added reader.readline compatible concode_field_sep char[] text concode_elem_sep int position concode_elem_sep int DONE concode_field_sep Object next concode_elem_sep String getText concode_elem_sep int nextPosition concode_elem_sep boolean hasNext... | int function ( ) { final int loc0 = this . position ; if ( loc0 == DONE ) { return DONE ; } if ( loc0 == this . text . length ) { this . position = DONE ; return DONE ; } final int loc1 = nextPosition ( ) ; if ( loc1 == DONE ) { return this . text . length ; } return loc1 ; } |
1,045 | gets the value of the totalresultsetsize property . concode_field_sep Integer startIndex concode_elem_sep Integer totalResultSetSize concode_elem_sep List<CustomTargetingValue> results concode_field_sep void setTotalResultSetSize concode_elem_sep Integer getStartIndex concode_elem_sep void setStartIndex concode_elem_se... | Integer function ( ) { return totalResultSetSize ; } |
1,046 | get the image generated for this gradient concode_field_sep Image image concode_elem_sep Color col concode_elem_sep boolean radial concode_elem_sep float r concode_elem_sep Transform transform concode_elem_sep String ref concode_elem_sep String name concode_elem_sep float y1 concode_elem_sep float x1 concode_elem_sep f... | Image function ( ) { genImage ( ) ; return image ; } |
1,047 | gets a friend at a given index concode_field_sep int lastAssignedId concode_elem_sep double PI concode_elem_sep String name concode_elem_sep int destination concode_elem_sep int id concode_elem_sep ArrayList<Person> friends concode_field_sep void addFriend concode_elem_sep String getName concode_elem_sep int getDestina... | String function ( int arg0 ) { return friends . get ( arg0 ) . name ; } |
1,048 | gets the value of the start property . concode_field_sep BigInteger start concode_elem_sep BigInteger end concode_elem_sep String id concode_elem_sep String text concode_field_sep void setStart concode_elem_sep String getText concode_elem_sep void setId concode_elem_sep String getId concode_elem_sep void setEnd concode... | BigInteger function ( ) { return start ; } |
1,049 | gets the size of the uncompressed data . concode_field_sep int offset concode_elem_sep byte[] extra concode_elem_sep int flags concode_elem_sep int STORED concode_elem_sep Calendar cal concode_elem_sep short method concode_elem_sep String comment concode_elem_sep int KNOWN_CRC concode_elem_sep int compressedSize concod... | long function ( ) { return ( known & KNOWN_SIZE ) != 0 ? size & 0xffffffffL : - 1L ; } |
1,050 | dumps `` hprof '' data to the specified file . this may cause a gc . the vm may create a temporary file in the same directory . concode_field_sep int KIND_THREAD_FREED_OBJECTS concode_elem_sep int KIND_EXT_ALLOCATED_OBJECTS concode_elem_sep int KIND_THREAD_CLASS_INIT_COUNT concode_elem_sep int KIND_THREAD_ALLOCATED_BYT... | void function ( String arg0 ) { if ( arg0 == null ) throw new NullPointerException ( ) ; dumpHprofData ( arg0 , null ) ; } |
1,051 | sets the value of the promocode property . concode_field_sep XMLGregorianCalendar endDate concode_elem_sep String discount concode_elem_sep RecordRef promoCode concode_field_sep RecordRef getPromoCode concode_elem_sep String getDiscount concode_elem_sep void setDiscount concode_elem_sep XMLGregorianCalendar getEndDate ... | void function ( RecordRef arg0 ) { this . promoCode = arg0 ; } |
1,052 | determines whether this property editor is paintable . concode_field_sep BasicFontPropertiesPane basicFontPropertiesPane concode_elem_sep PropertyChangeSupport propertyChangeSupport concode_elem_sep Font font concode_field_sep String getJavaInitializationString concode_elem_sep Object getValue concode_elem_sep Componen... | boolean function ( ) { return false ; } |
1,053 | retrieves the saml assertion associated with the provided key . concode_field_sep Logger LOGGER concode_elem_sep int currentExpiration concode_elem_sep Set<String> activeSpSet concode_elem_sep Cache<String,DataWrapper> cache concode_elem_sep int DEFAULT_EXPIRATION_MINUTES concode_elem_sep Element element concode_field_... | Element function ( String arg0 ) { DataWrapper loc0 = cache . getIfPresent ( arg0 ) ; if ( loc0 != null ) { synchronized ( loc0 ) { return loc0 . element ; } } return null ; } |
1,054 | sets the offset of the screen concode_field_sep int width concode_elem_sep Client client concode_elem_sep Tuple2 offset concode_elem_sep int height concode_field_sep BufferedImage adjustImage concode_elem_sep BufferedImage adjustImage concode_elem_sep void clearRegion concode_elem_sep void renderAbsolute concode_elem_s... | void function ( double arg0 , double arg1 ) { this . setOffset ( Point2 . of ( arg0 , arg1 ) ) ; } |
1,055 | get name concode_field_sep Logger log concode_elem_sep String name concode_elem_sep long serialVersionUID concode_elem_sep PrintWriter logwriter concode_elem_sep ResourceAdapter ra concode_field_sep void setName concode_elem_sep ManagedConnection createManagedConnection concode_elem_sep void setResourceAdapter concode_... | String function ( ) { return name ; } |
1,056 | returns the open tag for the given name concode_field_sep int INDENTION_STEP concode_field_sep void writeInt concode_elem_sep String getIndentString concode_elem_sep String getTagClose concode_elem_sep void writeIntBuffer concode_elem_sep void writeStringArray concode_elem_sep void writeTuple4f concode_elem_sep void wr... | String function ( String arg0 , int arg1 ) { return getIndentString ( arg1 ) + "srini_string" + arg0 + "srini_string" ; } |
1,057 | returns value of memory size in its original unit . concode_field_sep MemoryUnit unit concode_elem_sep int PRETTY_FORMAT_LIMIT concode_elem_sep long value concode_field_sep long kiloBytes concode_elem_sep long megaBytes concode_elem_sep long bytes concode_elem_sep long gigaBytes concode_elem_sep String toPrettyString c... | long function ( ) { return value ; } |
1,058 | deletes the user id mapper with the primary key from the database . also notifies the appropriate model listeners . concode_field_sep UserIdMapperLocalService _service concode_field_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynam... | com . liferay . portal . model . UserIdMapper function ( long arg0 ) { return getService ( ) . deleteUserIdMapper ( arg0 ) ; } |
1,059 | return the frame length of this file format . concode_field_sep Type AIFF concode_elem_sep Type SND concode_elem_sep String extension concode_elem_sep Type WAVE concode_elem_sep Type AU concode_elem_sep String name concode_elem_sep int byteLength concode_elem_sep AudioFormat format concode_elem_sep int frameLength conc... | int function ( ) { return frameLength ; } |
1,060 | tests for leaking database cursors . concode_field_sep PlaceHolder placeHolder concode_field_sep void checkCurrentSchema concode_elem_sep DataSource createDataSource concode_elem_sep void currentSchema concode_elem_sep void currentSchemaWithProxy concode_elem_sep void tableExistsCursorLeak concode_elem_sep Properties g... | void function ( ) { DataSource loc0 = createDataSource ( ) ; Connection loc1 = loc0 . getConnection ( ) ; OracleDbSupport loc2 = new OracleDbSupport ( loc1 ) ; for ( int loc3 = 0 ; loc3 < 200 ; loc3 ++ ) { loc2 . getSchema ( loc2 . getCurrentSchemaName ( ) ) . empty ( ) ; } loc1 . close ( ) ; } |
1,061 | reads user ids and item ids from files specified in a job configuration concode_field_sep Map<Long,FastIDSet> userItemFilter concode_elem_sep Logger log concode_elem_sep Pattern SEPARATOR concode_elem_sep FastIDSet emptySet concode_elem_sep String USER_ITEM_FILE concode_elem_sep String usersFile concode_elem_sep FastID... | void function ( ) { if ( isUserItemFileSpecified ( ) ) { readUserItemFilterIfNeeded ( ) ; } if ( isUsersFileSpecified ( ) || isUserItemFilterSpecified ( ) ) { readUserIds ( ) ; } if ( isItemsFileSpecified ( ) || isUserItemFilterSpecified ( ) ) { readItemIds ( ) ; } } |
1,062 | add new bps profile concode_field_sep Log log concode_elem_sep WorkflowImplAdminServiceStub stub concode_field_sep BPSProfile[] listBPSProfiles concode_elem_sep void updateBPSProfile concode_elem_sep BPSProfile getBPSProfiles concode_elem_sep void deleteBPSProfile | void function ( BPSProfile arg0 ) { stub . addBPSProfile ( arg0 ) ; } |
1,063 | retrieves the negotiated property . this method can be called only after the authentication exchange has completed i.e. , when iscomplete returns true ; otherwise , an illegalstateexception is thrown . concode_field_sep String jid concode_elem_sep boolean completed concode_elem_sep Logger Log concode_field_sep String g... | Object function ( String arg0 ) { return null ; } |
1,064 | returns the list of admin users from the provider . concode_field_sep AdminManager instance concode_elem_sep List<JID> adminList concode_elem_sep AdminProvider provider concode_elem_sep Logger Log concode_field_sep void initProvider concode_elem_sep void setAdminUsers concode_elem_sep void setAdminJIDs concode_elem_sep... | List < JID > function ( ) { if ( adminList == null ) { loadAdminList ( ) ; } return adminList ; } |
1,065 | defaults to true . whether roles and initial schema for the new session will be determined by what they are for this user in the master database . concode_field_sep String validationUser concode_elem_sep FrameworkLogger logger concode_elem_sep String masterJdbcUrl concode_elem_sep boolean initialized concode_elem_sep b... | void function ( boolean arg0 ) { delegateRolesSchema = arg0 ; } |
1,066 | doc qiongli comment method `` setup '' . concode_field_sep PlaceHolder placeHolder concode_field_sep void testGetDefaultHadoopParameters concode_elem_sep void tearDown | void function ( ) { } |
1,067 | this method is not supported . concode_field_sep String URL_PREFIX concode_field_sep String getPassword concode_elem_sep void authenticate concode_elem_sep void authenticate concode_elem_sep boolean supportsPasswordRetrieval concode_elem_sep boolean isPlainSupported concode_elem_sep boolean isDigestSupported | void function ( String arg0 , String arg1 ) { throw new UnsupportedOperationException ( "srini_string" ) ; } |
1,068 | delivers the name of the node concode_field_sep int worldX concode_elem_sep int worldY concode_elem_sep String nodeName concode_elem_sep int nodeID concode_field_sep int getCoordinateY concode_elem_sep int getCoordinateX concode_elem_sep int getNodeID | String function ( ) { return nodeName ; } |
1,069 | getter for isaddcolumn . concode_field_sep boolean fromRepository concode_elem_sep Map<String,String> schemaRenamedMap concode_elem_sep List<UpdateResult> updatedResultList concode_elem_sep List<PropertyChangeEvent> nodesChangerList concode_elem_sep boolean isAddColumn concode_elem_sep Map<String,String> columnRenamedM... | boolean function ( ) { return this . isAddColumn ; } |
1,070 | get the drawable objects associated with this screen part concode_field_sep double[] yRange concode_elem_sep double[] xRange concode_elem_sep Vector<Drawable> drawables concode_field_sep double[] getxRange concode_elem_sep void setyRange concode_elem_sep void addDrawable concode_elem_sep double[] getyRange concode_elem... | Vector < Drawable > function ( ) { return drawables ; } |
1,071 | actions called during the transition to the stopped state . this method will only ever be called once during the lifecycle of a specific service instance . implementations do not need to be synchronized as the logic in #stop prevents re-entrancy . implementations must write this to be robust against failures , includin... | void function ( ) { } |
1,072 | update docker reverse proxy snippet concode_field_sep ReverseProxyTemplateProvider templateProvider concode_elem_sep AuthorizationService authorizationService concode_field_sep boolean generateGeneralReverseProxySnippet concode_elem_sep void updateGeneralData concode_elem_sep void updateResponseWithSnippet concode_elem... | void function ( StringBuilder arg0 , ReverseProxyMethod arg1 , String arg2 ) { if ( addDockerRelatedSnippet ( arg2 , arg1 ) ) { arg0 . append ( "srini_string" ) ; arg0 . append ( arg2 ) ; } } |
1,073 | get the current block number , zero based . concode_field_sep int DEFAULT_RCDSIZE concode_elem_sep int currBlkIdx concode_elem_sep boolean debug concode_elem_sep InputStream inStream concode_elem_sep int DEFAULT_BLKSIZE concode_elem_sep int recsPerBlock concode_elem_sep int currRecIdx concode_elem_sep OutputStream outS... | int function ( ) { return currBlkIdx ; } |
1,074 | standard method that returns the ref class name . concode_field_sep com.ericsson.otp.ic.TypeCode _tc concode_field_sep Ref extract concode_elem_sep Ref unmarshal concode_elem_sep void marshal concode_elem_sep void insert concode_elem_sep String id concode_elem_sep com.ericsson.otp.ic.TypeCode type | String function ( ) { return "srini_string" ; } |
1,075 | returns true if there was an automatic removal due to eviction the cause is neither removalcause #explicit nor removalcause #replaced . concode_field_sep long serialVersionUID concode_elem_sep RemovalCause cause concode_elem_sep V value concode_elem_sep K key concode_field_sep K getKey concode_elem_sep V getValue conco... | boolean function ( ) { return cause . wasEvicted ( ) ; } |
1,076 | return a unique int result from the given collection . throws an exception if 0 or more than 1 result objects found , of if the unique result object is not convertible to an int . concode_field_sep PlaceHolder placeHolder concode_field_sep RuntimeException translateIfNecessary concode_elem_sep long longResult concode_e... | int function ( Collection < ? > arg0 ) { return objectResult ( arg0 , Number . class ) . intValue ( ) ; } |
1,077 | sets the value of the label property . concode_field_sep String rolesString concode_elem_sep List<SecurityRole> roles concode_elem_sep Boolean unchecked concode_elem_sep String description concode_elem_sep String label concode_elem_sep QName type concode_elem_sep List<Description> descriptions concode_elem_sep String v... | void function ( final String arg0 ) { this . label = arg0 ; } |
1,078 | gets a literal stringbuffer representation of this object 's data which is in fact , the raw data contained in this object . concode_field_sep Reference reference concode_elem_sep char[] hexChar concode_elem_sep StringBuilder stringData concode_field_sep String getHexString concode_elem_sep StringBuilder stringToHex co... | StringBuilder function ( ) { return stringData ; } |
1,079 | gets either the value stored in this configuration or the default value for this param . concode_field_sep boolean validateParams concode_elem_sep boolean txnNoSync concode_elem_sep long cacheSize concode_elem_sep boolean loadPropertyFile concode_elem_sep boolean txnWriteNoSync concode_elem_sep Properties props concode... | String function ( ConfigParam arg0 ) { String loc0 = props . getProperty ( arg0 . getName ( ) ) ; if ( loc0 == null ) { loc0 = arg0 . getDefault ( ) ; } return loc0 ; } |
1,080 | returns the composition of two functions . for f : a - > b and g : b - > c , composition is defined as the function h such that h a == g f a for each a . concode_field_sep long serialVersionUID concode_elem_sep Predicate<T> predicate concode_elem_sep V defaultValue concode_elem_sep Function<A,? extends B> f concode_ele... | Function < A , C > function ( Function < B , C > arg0 , Function < A , ? extends B > arg1 ) { return new FunctionComposition < A , B , C > ( arg0 , arg1 ) ; } |
1,081 | a value that indicates the starting point for the next set of response records in a subsequent request . if a value is returned in a response , you can retrieve the next set of records by providing this returned marker value in the marker parameter and retrying the command . if the marker field is empty , all response ... | DescribeEventSubscriptionsResult function ( String arg0 ) { this . marker = arg0 ; return this ; } |
1,082 | returns a converter that transforms the csv record into a list . concode_field_sep MapCsvRecordConverter SINGLETON concode_elem_sep ListCsvRecordConverter SINGLETON concode_field_sep List<String> convertRecord concode_elem_sep Map<String,String> convertRecord concode_elem_sep CsvRecordConverter<Map<String,String>> mapC... | CsvRecordConverter < List < String >> function ( ) { return ListCsvRecordConverter . SINGLETON ; } |
1,083 | returns all the registered transientviewactionfactory s. concode_field_sep PlaceHolder placeHolder concode_field_sep List<Action> createFor concode_elem_sep List<Action> createAllFor | ExtensionList < TransientViewActionFactory > function ( ) { return ExtensionList . lookup ( TransientViewActionFactory . class ) ; } |
1,084 | gets the parent id . concode_field_sep List<Integer> subCategoriesIds concode_elem_sep boolean mIsMain concode_elem_sep boolean mOpened concode_elem_sep int treeIndex concode_elem_sep int id concode_elem_sep String title concode_elem_sep int parentId concode_field_sep void setTreeIndex concode_elem_sep int getTreeIndex... | int function ( ) { return parentId ; } |
1,085 | asserts that an object promise and its content is n't null . if it is an assertionerror is thrown with the given message . concode_field_sep PlaceHolder placeHolder concode_field_sep void assertNotSameWaitFor concode_elem_sep void assertNotSameWaitFor concode_elem_sep void assertFalse concode_elem_sep void assertFalse ... | void function ( final String arg0 , final Promise < Object > arg1 ) { Assert . assertNotNull ( arg0 , arg1 ) ; new Task ( arg1 ) { @ Override protected void doExecute ( ) throws Throwable { Assert . assertNotNull ( arg0 , arg1 . get ( ) ) ; } } ; } |
1,086 | creates a cache span from an underlying cache file . concode_field_sep File file concode_elem_sep long length concode_elem_sep String SUFFIX concode_elem_sep Pattern CACHE_FILE_PATTERN_V2 concode_elem_sep long position concode_elem_sep Pattern CACHE_FILE_PATTERN_V1 concode_elem_sep long lastAccessTimestamp concode_elem... | CacheSpan function ( File arg0 ) { Matcher loc0 = CACHE_FILE_PATTERN_V2 . loc0 ( arg0 . getName ( ) ) ; if ( ! loc0 . matches ( ) ) { return null ; } String loc1 = Util . unescapeFileName ( loc0 . group ( 1 ) ) ; return loc1 == null ? null : createCacheEntry ( loc1 , Long . parseLong ( loc0 . group ( 2 ) ) , Long . par... |
1,087 | the status of the case when the resolvecase request was sent . concode_field_sep String initialCaseStatus concode_elem_sep String finalCaseStatus concode_field_sep String getFinalCaseStatus concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep ResolveCaseResult clone concode_elem_sep String get... | void function ( String arg0 ) { this . initialCaseStatus = arg0 ; } |
1,088 | sets the source event factory to be used by the event consumer . concode_field_sep Integer totalDestinationGroups concode_elem_sep PreMappingTransformer preMappingTransformer concode_elem_sep SourceEventFactory sourceEventFactory concode_elem_sep Set<Integer> destinationGroupSet concode_elem_sep PostMappingTransformer ... | void function ( SourceEventFactory arg0 ) { this . sourceEventFactory = arg0 ; } |
1,089 | sets the value of the refresh property . concode_field_sep Layout layout concode_elem_sep List<Calendar> calendar concode_elem_sep BigDecimal refresh concode_elem_sep BigDecimal days concode_elem_sep BigDecimal maxquantity concode_field_sep void setDays concode_elem_sep void setMaxquantity concode_elem_sep Layout getLa... | void function ( BigDecimal arg0 ) { this . refresh = arg0 ; } |
1,090 | returns numeric docvalues view of raw double bits concode_field_sep PlaceHolder placeHolder concode_field_sep double get concode_elem_sep NumericDocValues getRawFloatValues | NumericDocValues function ( ) { return new NumericDocValues ( ) { @ Override public long get ( int arg0 ) { return Double . doubleToRawLongBits ( NumericDoubleValues . this . get ( arg0 ) ) ; } } ; } |
1,091 | returns a string representation of the object . concode_field_sep Reference reference concode_elem_sep char[] hexChar concode_elem_sep StringBuilder stringData concode_field_sep String getHexString concode_elem_sep StringBuilder stringToHex concode_elem_sep String getDecryptedLiteralString concode_elem_sep String encry... | String function ( ) { return stringData . toString ( ) ; } |
1,092 | checks for a true/false value of a key in a properties object . concode_field_sep PlaceHolder placeHolder concode_field_sep String unEscapeURL concode_elem_sep URL toURL concode_elem_sep boolean isSurrogatePair concode_elem_sep boolean isSurrogatePair concode_elem_sep float inchesToPoints concode_elem_sep void skip con... | boolean function ( final Properties arg0 , final String arg1 ) { return "srini_string" . equalsIgnoreCase ( arg0 . getProperty ( arg1 ) ) ; } |
1,093 | sets the fillpaint . concode_field_sep boolean drawPath concode_elem_sep boolean fillPath concode_elem_sep double[] xValue concode_elem_sep Stroke drawStroke concode_elem_sep Paint drawPaint concode_elem_sep Paint fillPaint concode_elem_sep Composite composite concode_elem_sep double[] yValue concode_elem_sep boolean c... | void function ( Paint arg0 ) { this . fillPaint = arg0 ; } |
1,094 | constructs a request body with content type application/json from a json string . concode_field_sep String APPLICATION_JSON concode_elem_sep HttpEntity body concode_field_sep HttpEntity toEntity concode_elem_sep ApiTestRequestBody from concode_elem_sep ApiTestRequestBody from concode_elem_sep ApiTestRequestBody from | ApiTestRequestBody function ( String arg0 ) { return new ApiTestRequestBody ( arg0 . getBytes ( ) , APPLICATION_JSON ) ; } |
1,095 | gets the value of the x property . concode_field_sep String modulevariant concode_elem_sep String smashed concode_elem_sep String offset concode_elem_sep String rot concode_elem_sep String module concode_elem_sep String name concode_elem_sep String x concode_elem_sep String y concode_elem_sep List<Attribute> attribute ... | String function ( ) { return x ; } |
1,096 | 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_elem_sep String DEFAULT_SSL_PROVIDER_CLASS concode_elem_sep String DEFAULT_SSL_PROVIDER_NAME con... | ServerSocket function ( int arg0 , String arg1 ) { return new ServerSocket ( arg0 , 128 , InetAddress . getByName ( arg1 ) ) ; } |
1,097 | adds a resource for read access . 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 unbox conc... | ResourceList function ( Resource arg0 ) { all . add ( arg0 ) ; return this ; } |
1,098 | gets the total number of records . concode_field_sep Integer total concode_elem_sep Integer records concode_elem_sep Integer page concode_elem_sep List<T> rows concode_field_sep void setTotal concode_elem_sep void setRows concode_elem_sep Integer getPage concode_elem_sep Integer getTotal concode_elem_sep String toStrin... | Integer function ( ) { return records ; } |
1,099 | sets the authentication handler failure map . concode_field_sep Principal principal concode_elem_sep List<CredentialMetaData> credentials concode_elem_sep Map<String,Object> attributes concode_elem_sep ZonedDateTime authenticationDate concode_elem_sep Map<String,HandlerResult> successes concode_elem_sep Map<String,Clas... | AuthenticationBuilder function ( final Map < String , Class < ? extends Exception >> arg0 ) { Assert . notNull ( arg0 , "srini_string" ) ; this . failures . clear ( ) ; return addFailures ( arg0 ) ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.