idx int64 0 100k | question stringlengths 68 7.19k | target stringlengths 20 663 |
|---|---|---|
3,900 | returns whether the specified text contains html tags or not . concode_field_sep String DEFAULT_LINE_SEPARATOR concode_field_sep boolean hasHtml concode_elem_sep boolean hasTag concode_elem_sep String getContent concode_elem_sep String convertToMultilineHtml concode_elem_sep String bold concode_elem_sep String getPlain... | boolean function ( final String arg0 ) { return arg0 != null && arg0 . trim ( ) . length ( ) > 0 && new Source ( arg0 ) . fullSequentialParse ( ) . length > 0 ; } |
3,901 | virtually add literal words directly to the bitmap concode_field_sep int oneBits concode_field_sep void addWord concode_elem_sep void addStreamOfEmptyWords concode_elem_sep void addStreamOfLiteralWords concode_elem_sep void addStreamOfNegatedLiteralWords concode_elem_sep void clear concode_elem_sep void setSizeInBitsWi... | void function ( final long arg0 ) { this . oneBits += Long . bitCount ( arg0 ) ; } |
3,902 | blocks until the executor service has processed all currently enqueued jobs . concode_field_sep ConnectionPool systemDefault concode_elem_sep LinkedList<Connection> connections concode_elem_sep long keepAliveDurationNs concode_elem_sep long DEFAULT_KEEP_ALIVE_DURATION_MS concode_elem_sep int MAX_CONNECTIONS_TO_CLEANUP ... | void function ( ) { try { executorService . submit ( new Runnable ( ) { @ Override public void run ( ) { } } ) . get ( ) ; } catch ( Exception loc0 ) { throw new AssertionError ( ) ; } } |
3,903 | returns a clone of the dataset . the cloned dataset will not include the datasetchangelistener references that have been registered withthis dataset . concode_field_sep EventListenerList listenerList concode_elem_sep long serialVersionUID concode_elem_sep boolean notify concode_elem_sep DatasetGroup group concode_field... | Object function ( ) { AbstractDataset loc0 = ( AbstractDataset ) super . loc0 ( ) ; loc0 . listenerList = new EventListenerList ( ) ; return loc0 ; } |
3,904 | sets the service provider model . concode_field_sep int approvalStatus concode_elem_sep int customerReviewId concode_elem_sep EmployeeModel employeeModel concode_elem_sep Date creationTime concode_elem_sep ServiceProviderModel serviceProviderModel concode_elem_sep float rating concode_elem_sep long serialVersionUID con... | void function ( ServiceProviderModel arg0 ) { this . serviceProviderModel = arg0 ; } |
3,905 | inserts the given node n into the pendingnodes queue and updates its time and cost information . concode_field_sep double initialTime concode_elem_sep TransitTravelDisutility costFunction concode_elem_sep HashMap<Id<Node>,DijkstraNodeData> nodeData concode_elem_sep Vehicle vehicle concode_elem_sep CustomDataManager cus... | void function ( final Node arg0 , final DijkstraNodeData arg1 , final RouterPriorityQueue < Node > arg2 , final double arg3 , final double arg4 , final Link arg5 ) { arg1 . visit ( arg5 , arg4 , arg3 , getIterationId ( ) ) ; arg2 . add ( arg0 , getPriority ( arg1 ) ) ; } |
3,906 | helper method for transforming an envelope . concode_field_sep LayerGroupInfo group concode_field_sep void calculateBoundsFromCRS concode_elem_sep List<LayerInfo> allLayersForRendering concode_elem_sep void allLayersForRendering concode_elem_sep String getLoopAsString concode_elem_sep void calculateBounds concode_elem_... | ReferencedEnvelope function ( ReferencedEnvelope arg0 , CoordinateReferenceSystem arg1 ) { if ( ! CRS . equalsIgnoreMetadata ( arg1 , arg0 . getCoordinateReferenceSystem ( ) ) ) { return arg0 . transform ( arg1 , true ) ; } return arg0 ; } |
3,907 | returns digest or throws the exception encountered calculating it / concode_field_sep String cwd concode_elem_sep long size concode_elem_sep Map<ByteString,ActionInput> digestToPath concode_elem_sep IOException exceptionOnAccess concode_elem_sep ByteString digest concode_elem_sep FileSystem fs concode_elem_sep LoadingC... | ByteString function ( ) { maybeRaiseException ( ) ; return digest ; } |
3,908 | allows to deal with reentrant invocation for the given context . concode_field_sep boolean computing concode_field_sep JvmTypeReference getTypeReference concode_elem_sep JvmTypeReference doGetTypeReference concode_elem_sep boolean isComputing concode_elem_sep String toString concode_elem_sep void markComputing concode_... | JvmTypeReference function ( XComputedTypeReferenceImplCustom arg0 ) { return null ; } |
3,909 | get the current string value of a particular filed concode_field_sep int PEOPLE concode_elem_sep int TAX concode_elem_sep double mFxRate concode_elem_sep int AMOUNT concode_elem_sep double mTipRate concode_elem_sep int FX concode_elem_sep TableLayout mDisplay concode_elem_sep double mTaxRate concode_elem_sep DecimalFor... | String function ( int arg0 ) { TextView loc0 = mViews . get ( arg0 ) ; return loc0 . getText ( ) . toString ( ) ; } |
3,910 | creates a classloader that can be used to load resources from theworkspace . concode_field_sep boolean resolveSimpleProjectReferences concode_field_sep File getFileSystemFile concode_elem_sep void addJavaClasspathEntries concode_elem_sep void addClasspathEntries concode_elem_sep URL[] convertClassPath concode_elem_sep ... | ClassLoader function ( IProject arg0 ) { return createClassLoader ( arg0 , WorkspaceClassLoaderFactory . class . getClassLoader ( ) ) ; } |
3,911 | returns a string representing the object . concode_field_sep VerticalAlignment CENTER concode_elem_sep long serialVersionUID concode_elem_sep String name concode_elem_sep VerticalAlignment TOP concode_elem_sep VerticalAlignment BOTTOM concode_field_sep Object readResolve concode_elem_sep int hashCode concode_elem_sep b... | String function ( ) { return this . name ; } |
3,912 | full stack trace of throwable associated with log record . concode_field_sep Date eventTimestamp concode_elem_sep String threadName concode_elem_sep String throwable concode_elem_sep LogLevel level concode_elem_sep String loggerName concode_elem_sep String id concode_elem_sep String message concode_field_sep LogRecord ... | String function ( ) { return throwable ; } |
3,913 | get the output set for this task concode_field_sep String srcName concode_elem_sep Vector<Argument> in concode_elem_sep boolean replicable concode_elem_sep boolean mayblock concode_elem_sep boolean isSrcTimer concode_elem_sep String platformName concode_elem_sep String name concode_elem_sep String ErrorHandler concode_... | Vector < Argument > function ( ) { return this . out ; } |
3,914 | gets the value of the deviceinhand property . concode_field_sep DeviceTypeType deviceType concode_elem_sep Boolean deviceInHand concode_elem_sep BigInteger seedLength concode_field_sep void setSeedLength concode_elem_sep DeviceTypeType getDeviceType concode_elem_sep void setDeviceType concode_elem_sep BigInteger getSee... | Boolean function ( ) { return deviceInHand ; } |
3,915 | initialize the underlying vault . concode_field_sep int iterationCount concode_elem_sep String salt concode_elem_sep String keystorePassword concode_elem_sep String vaultAlias concode_elem_sep Charset CHARSET concode_elem_sep String encryptionDirectory concode_elem_sep boolean createKeystore concode_elem_sep String key... | void function ( ) { try { this . vault = SecurityVaultFactory . get ( ) ; this . vault . init ( getVaultOptionsMap ( ) ) ; handshake ( ) ; } catch ( SecurityVaultException loc0 ) { throw SecurityLogger . ROOT_LOGGER . securityVaultException ( loc0 ) ; } } |
3,916 | returns the midnight julian date from the calendar object . concode_field_sep double J1970 concode_elem_sep Logger logger concode_elem_sep double MILLISECONDS_PER_DAY concode_elem_sep Pattern HHMM_PATTERN concode_field_sep double endOfDayDateToJulianDate concode_elem_sep int getMinutesFromTime concode_elem_sep double d... | double function ( Calendar arg0 ) { return dateToJulianDate ( truncateToMidnight ( arg0 ) ) ; } |
3,917 | returns the name of the configured work item handler concode_field_sep WorkItemHandler handler concode_elem_sep String PROPERTY_NAME concode_elem_sep long serialVersionUID concode_elem_sep String name concode_field_sep int hashCode concode_elem_sep WorkItemHandlerOption get concode_elem_sep boolean equals concode_elem_... | String function ( ) { return name ; } |
3,918 | returns the index for which #keyat would return thespecified key , or a negative number if the specified key is not mapped . concode_field_sep Object DELETED concode_elem_sep long[] mKeys concode_elem_sep boolean mGarbage concode_elem_sep int mSize concode_elem_sep Object[] mValues concode_field_sep long keyAt concode_... | int function ( long arg0 ) { if ( mGarbage ) { gc ( ) ; } return ContainerHelpers . binarySearch ( mKeys , mSize , arg0 ) ; } |
3,919 | extra check . concode_field_sep String EXTRA_BUILD_CHECKER concode_elem_sep String EXTENSION_EXTRA_BUILD_CHECKER concode_elem_sep JavaJobScriptsExportWSWizardPage page concode_elem_sep List<ExtraBuildChecker> extraCheckers concode_field_sep void addExtraChecker concode_elem_sep void initExtraCheckers concode_elem_sep v... | String function ( JobExportType arg0 , RepositoryNode [ ] arg1 ) { for ( ExtraBuildChecker loc0 : extraCheckers ) { String loc1 = loc0 . check ( arg0 , arg1 ) ; if ( loc1 != null ) { return loc1 ; } } return null ; } |
3,920 | invoked when the rasterizer is about to start transcoding of a given source . the controller should return true if the source should be transcoded and false otherwise . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean proceedWithComputedTask concode_elem_sep boolean proceedOnSourceTranscodingFailure ... | boolean function ( SVGConverterSource arg0 , File arg1 ) { System . out . println ( "srini_string" + arg0 . getClass ( ) . getName ( ) ) ; return true ; } |
3,921 | gets institution name . concode_field_sep String fileName concode_elem_sep String requestingInstitution concode_elem_sep String toEmailId concode_elem_sep String failureCause concode_elem_sep String fetchType concode_elem_sep String exportFromDate concode_elem_sep String reportType concode_elem_sep String failedBibs co... | String function ( ) { return institutionName ; } |
3,922 | returns true if this type of attribute is unknown . the default implementation of this method always returns true . concode_field_sep Attribute next concode_elem_sep String type concode_elem_sep byte[] value concode_field_sep Label[] getLabels concode_elem_sep int getSize concode_elem_sep Attribute read concode_elem_se... | boolean function ( ) { return true ; } |
3,923 | remove the jslint commands from a project . concode_field_sep String builderId concode_field_sep void setCommands concode_elem_sep ICommand newCommand concode_elem_sep void addTo concode_elem_sep List<ICommand> getCommands | void function ( IProject arg0 ) { List < ICommand > loc0 = getCommands ( arg0 ) ; if ( loc0 . contains ( builderId ) ) { loc0 . remove ( builderId ) ; setCommands ( arg0 , loc0 ) ; } } |
3,924 | returns a copy of all mappings currently registered in this registry . concode_field_sep int MAX_ONE_BYTE_HEADER_ID concode_elem_sep Map<RTPExtension,Byte> extMap concode_elem_sep int MAX_TWO_BYTE_HEADER_ID concode_elem_sep int MIN_HEADER_ID concode_elem_sep byte nextExtensionMapping concode_field_sep RTPExtension find... | Map < RTPExtension , Byte > function ( ) { return new Hashtable < RTPExtension , Byte > ( extMap ) ; } |
3,925 | create an instance of include concode_field_sep PlaceHolder placeHolder concode_field_sep Resource createResource concode_elem_sep Request createRequest concode_elem_sep Method createMethod concode_elem_sep Param createParam concode_elem_sep Response createResponse concode_elem_sep Option createOption concode_elem_sep ... | Include function ( ) { return new Include ( ) ; } |
3,926 | get the key spec that jce understands . concode_field_sep RSAPrivateCrtKeySpec keySpec concode_field_sep void decode | RSAPrivateCrtKeySpec function ( ) { return keySpec ; } |
3,927 | set the data type from string representation concode_field_sep int len concode_elem_sep String name concode_elem_sep Var Null concode_elem_sep int scale concode_elem_sep Type type concode_elem_sep Var Empty concode_elem_sep Object value concode_field_sep void setName concode_elem_sep String getName concode_elem_sep int... | void function ( String arg0 ) { this . type = defineType ( arg0 ) ; } |
3,928 | clear all pieces in the design squares a1-e1 & a2-e2 concode_field_sep String setName concode_elem_sep BoardView view concode_elem_sep int x concode_elem_sep int z concode_elem_sep BlockChessSet chessSet concode_elem_sep UUID playerId concode_field_sep Point rotate concode_elem_sep BlockChessSet getChessSet concode_ele... | void function ( ) { for ( int loc0 = 0 ; loc0 < 2 ; loc0 ++ ) { for ( int loc1 = 0 ; loc1 < 5 ; loc1 ++ ) { view . getChessBoard ( ) . paintChessPiece ( loc0 , loc1 , Chess . NO_STONE ) ; } } chessSet = null ; } |
3,929 | returns an array containing the modified utf-8 form of s . concode_field_sep PlaceHolder placeHolder concode_field_sep long countBytes concode_elem_sep String decode | byte [ ] function ( String arg0 ) { int loc0 = ( int ) countBytes ( arg0 , true ) ; byte [ ] loc1 = new byte [ loc0 ] ; encode ( loc1 , 0 , arg0 ) ; return loc1 ; } |
3,930 | return the value of the specified property or null . concode_field_sep Properties entries concode_elem_sep Iterator<Map.Entry<Object,Object>> iterator concode_elem_sep String value concode_elem_sep String key concode_field_sep PropertySource<?> toPropertySource concode_elem_sep Entry next concode_elem_sep String getKey... | String function ( String arg0 ) { return this . entries . getProperty ( arg0 ) ; } |
3,931 | sample_depends_on takes one of the following four values : 0 : the dependency of this sample is unknown ; 1 : this sample does depend on others not an i picture ; 2 : this sample does not depend on others i picture ; 3 : reserved concode_field_sep int sampleDegradationPriority concode_elem_sep int samplePaddingValue co... | int function ( ) { return sampleDependsOn ; } |
3,932 | this function checks to see if one of the specific sensor types defined in sensortype is available on this device . this allows an application to , for example , query for the presence of a depth sensor , or color sensor . concode_field_sep PlaybackControl mPlaybackControl concode_elem_sep long mDeviceHandle concode_fi... | boolean function ( SensorType arg0 ) { return NativeMethods . hasSensor ( getHandle ( ) , arg0 . toNative ( ) ) ; } |
3,933 | return the status for this daemon concode_field_sep JetspeedLogger logger concode_elem_sep int result concode_elem_sep RunData rundata concode_elem_sep DaemonConfig config concode_elem_sep DaemonEntry entry concode_elem_sep int status concode_field_sep DaemonEntry getDaemonEntry concode_elem_sep void init concode_elem_... | int function ( ) { return this . status ; } |
3,934 | gets the value of the sessub property . concode_field_sep String sesID concode_elem_sep String sesSub concode_field_sep void setSesID concode_elem_sep String getSesID concode_elem_sep void setSesSub | String function ( ) { return sesSub ; } |
3,935 | info log message . concode_field_sep int WARN concode_elem_sep int VERBOSE concode_elem_sep int ERROR concode_elem_sep int LOGLEVEL concode_elem_sep int DEBUG concode_elem_sep int INFO concode_field_sep boolean isLoggable concode_elem_sep void d concode_elem_sep void d concode_elem_sep void d concode_elem_sep void setL... | void function ( String arg0 , String arg1 ) { if ( LOG . INFO >= LOGLEVEL ) Log . i ( arg0 , arg1 ) ; } |
3,936 | get a filter which always returns false . concode_field_sep PathFilter metaInfServicesFilter concode_elem_sep PathFilter metaInfFilter concode_elem_sep PathFilter metaInfSubdirectoriesFilter concode_elem_sep PathFilter metaInfSubdirectoriesWithoutMetaInfFilter concode_elem_sep PathFilter defaultImportFilterWithServices... | PathFilter function ( ) { return BooleanPathFilter . FALSE ; } |
3,937 | returns the first annotation descriptor matching the given java method . concode_field_sep AnnotationUtils instance concode_elem_sep ConcurrentMap<Class<?>,List<AnnotationInfo>> cache concode_field_sep List<AnnotationInfo> addAnnotations concode_elem_sep List<AnnotationInfo> addThrowableAnnotationDescriptors concode_el... | MethodAnnotationInfo function ( List < AnnotationInfo > arg0 , java . lang . reflect . Method arg1 ) { if ( arg0 != null ) { for ( AnnotationInfo loc0 : arg0 ) { if ( loc0 instanceof MethodAnnotationInfo && loc0 . getJavaMethod ( ) . equals ( arg1 ) ) { return ( MethodAnnotationInfo ) loc0 ; } } } return null ; } |
3,938 | gets the value of the parameter 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 parameter property . for example , to add a new item , d... | List < Property > function ( ) { if ( parameter == null ) { parameter = new ArrayList < Property > ( ) ; } return this . parameter ; } |
3,939 | builds a byte array including the final string delimiter . concode_field_sep int MAX_NUMBER_OF_KEY_ELEMENTS concode_elem_sep byte[] b concode_elem_sep int offset concode_elem_sep int length concode_elem_sep int index concode_elem_sep boolean[] useSeparator concode_field_sep KeyBuilder add concode_elem_sep KeyBuilder ad... | byte [ ] function ( ) { byte [ ] loc0 = new byte [ length ] ; int loc1 = 0 ; for ( int loc2 = 0 ; loc2 < index ; loc2 ++ ) { System . arraycopy ( b [ loc2 ] , 0 , loc0 , loc1 , b [ loc2 ] . length ) ; loc1 += b [ loc2 ] . length ; if ( useSeparator [ loc2 ] ) { loc0 [ loc1 ++ ] = 0x0 ; } } return loc0 ; } |
3,940 | return type metadata object concode_field_sep org.apache.axis.description.TypeDesc typeDesc concode_elem_sep java.lang.Object __equalsCalc concode_elem_sep java.lang.String name concode_elem_sep java.lang.Integer width concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.lang.Long totalFileSize concode_elem_se... | org . apache . axis . description . TypeDesc function ( ) { return typeDesc ; } |
3,941 | get the changevaluerelative value . concode_field_sep String unit concode_elem_sep Double changeValueRelative concode_elem_sep String name concode_elem_sep Double changeValueAbsolute concode_field_sep String unit concode_elem_sep String name concode_elem_sep Double changeValueAbsolute | Double function ( ) { return this . changeValueRelative ; } |
3,942 | sets the offline . concode_field_sep boolean otp concode_elem_sep String clearPassword concode_elem_sep boolean offline concode_elem_sep Project project concode_elem_sep boolean editableAsReadOnly concode_elem_sep Map<String,String> fields concode_elem_sep User user concode_field_sep User getUser concode_elem_sep void ... | void function ( boolean arg0 ) { this . offline = arg0 ; } |
3,943 | timestamp which tells the last updated time for the entity . concode_field_sep java.util.Date updateDate concode_elem_sep Integer updateVersion concode_elem_sep String state concode_elem_sep java.util.Date creationDate concode_elem_sep Boolean pendingDeletion concode_field_sep OptionStatus withCreationDate concode_elem... | void function ( java . util . Date arg0 ) { this . updateDate = arg0 ; } |
3,944 | create an array of records from an input stream concode_field_sep Constructor<? extends Record> _c concode_elem_sep Class<?>[] CONSTRUCTOR_ARGS concode_elem_sep Class<? extends Record>[] recordClasses concode_elem_sep int NUM_RECORDS concode_elem_sep Method _m concode_elem_sep Map<Integer,I_RecordCreator> _recordCreato... | List < Record > function ( InputStream arg0 ) { List < Record > loc0 = new ArrayList < > ( NUM_RECORDS ) ; RecordFactoryInputStream loc1 = new RecordFactoryInputStream ( arg0 , true ) ; Record loc2 ; while ( ( loc2 = loc1 . nextRecord ( ) ) != null ) { loc0 . add ( loc2 ) ; } return loc0 ; } |
3,945 | add cluster war to the watcher state concode_field_sep Map<String,WarInfo> currentStatus concode_elem_sep long lastChecked concode_elem_sep File watchDir concode_elem_sep long lastState concode_elem_sep FileChangeListener listener concode_elem_sep Log log concode_elem_sep StringManager sm concode_elem_sep File war conc... | void function ( File arg0 ) { WarInfo loc0 = currentStatus . get ( arg0 . getAbsolutePath ( ) ) ; if ( loc0 == null ) { loc0 = new WarInfo ( arg0 ) ; loc0 . setLastState ( - 1 ) ; currentStatus . put ( arg0 . getAbsolutePath ( ) , loc0 ) ; } } |
3,946 | sets the separator . concode_field_sep String m_label concode_elem_sep String m_name concode_elem_sep String m_reason concode_elem_sep boolean m_visible concode_elem_sep boolean m_active concode_elem_sep Map<String,String> m_params concode_elem_sep String m_imagePath concode_elem_sep boolean m_separator concode_elem_se... | void function ( boolean arg0 ) { m_separator = arg0 ; } |
3,947 | called when the progress updates concode_field_sep boolean mIsFinished concode_field_sep void onCancellation concode_elem_sep void onCancellationImpl concode_elem_sep void onProgressUpdate concode_elem_sep void onUnhandledException concode_elem_sep void onNewResultImpl concode_elem_sep void onFailure concode_elem_sep v... | void function ( float arg0 ) { } |
3,948 | removes the binding . concode_field_sep boolean bidirectional concode_elem_sep Method sourceWriteMethod concode_elem_sep String sourceProperty concode_elem_sep Method targetWriteMethod concode_elem_sep Handler handler concode_elem_sep Object source concode_elem_sep Method sourceReadMethod concode_elem_sep String target... | void function ( ) { setSource ( null , sourceProperty ) ; setTarget ( null , targetProperty ) ; } |
3,949 | creates and returns a new instance of the typecode , corresponding the corba booleanseq . the length of the sequence is left with the initial value 0 . concode_field_sep PlaceHolder placeHolder concode_field_sep boolean[] extract concode_elem_sep boolean[] read concode_elem_sep void insert concode_elem_sep String id co... | TypeCode function ( ) { return new ArrayTypeCode ( TCKind . tk_boolean ) ; } |
3,950 | isreadermtomaware concode_field_sep javax.xml.namespace.QName MY_QNAME concode_elem_sep com.amazon.ec2.ResetSnapshotAttributeResponseType localResetSnapshotAttributeResponse concode_field_sep java.lang.String generatePrefix concode_elem_sep void serialize concode_elem_sep void serialize concode_elem_sep void writeQName... | boolean function ( javax . xml . stream . XMLStreamReader arg0 ) { boolean loc0 = false ; try { loc0 = java . lang . Boolean . TRUE . equals ( arg0 . getProperty ( org . apache . axiom . om . OMConstants . IS_DATA_HANDLERS_AWARE ) ) ; } catch ( java . lang . IllegalArgumentException loc1 ) { loc0 = false ; } return loc... |
3,951 | returns true if the given version is higher than or equals to the version , supplied as parameter in the form of two integers . concode_field_sep int major concode_elem_sep int minor concode_elem_sep long serialVersionUID concode_field_sep boolean until_inclusive concode_elem_sep boolean same concode_elem_sep Version r... | boolean function ( int arg0 , int arg1 ) { if ( major > arg0 ) return true ; else if ( major < arg0 ) return false ; else return minor >= arg1 ; } |
3,952 | calculates the distance to other city concode_field_sep boolean[][] excluded concode_elem_sep double[][] costMatrix concode_elem_sep int[] parent concode_elem_sep double xCoordinate concode_elem_sep double[][] costMatrixWithPi concode_elem_sep double yCoordinate concode_elem_sep int nCities concode_elem_sep int[] degre... | double function ( City arg0 ) { return Math . sqrt ( Math . pow ( xCoordinate - arg0 . xCoordinate , 2 ) + Math . pow ( yCoordinate - arg0 . yCoordinate , 2 ) ) ; } |
3,953 | returns the operator registry . the operator-registry contains all operator-implementations . concode_field_sep ProcessingContext processingContext concode_elem_sep DefaultTypeRegistry typeRegistry concode_elem_sep ExpressionRuntime runtime concode_elem_sep FormulaContext backend concode_field_sep Object resolveReferen... | OperatorFactory function ( ) { return backend . getOperatorFactory ( ) ; } |
3,954 | returns the number of rows matching the dynamic query . concode_field_sep AnnouncementsFlagLocalService _announcementsFlagLocalService concode_field_sep com.liferay.announcements.kernel.model.AnnouncementsFlag getAnnouncementsFlag concode_elem_sep java.lang.String getOSGiServiceIdentifier concode_elem_sep void deleteFl... | long function ( com . liferay . portal . kernel . dao . orm . DynamicQuery arg0 , com . liferay . portal . kernel . dao . orm . Projection arg1 ) { return _announcementsFlagLocalService . dynamicQueryCount ( arg0 , arg1 ) ; } |
3,955 | sets the company id of this message boards thread . concode_field_sep MBThread _mbThread concode_field_sep boolean getQuestion concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGroupId concode_elem_sep int getMessageCount concode_elem_sep boolean isEscapedModel concode_elem_sep boolean isDraft c... | void function ( long arg0 ) { _mbThread . setCompanyId ( arg0 ) ; } |
3,956 | delete the message buffer for the player . should be called when the player logs out . concode_field_sep Map<String,MessagePager> pagers concode_elem_sep String pageCmd concode_elem_sep WeakReference<CommandSender> senderRef concode_elem_sep List<String> messages concode_elem_sep int pageSize concode_elem_sep String BU... | void function ( CommandSender arg0 ) { deletePager ( arg0 . getName ( ) ) ; } |
3,957 | returns the host address of url . concode_field_sep PlaceHolder placeHolder concode_field_sep void parseURL concode_elem_sep String toExternalForm concode_elem_sep String toExternalForm concode_elem_sep boolean hostsEqual concode_elem_sep int getDefaultPort concode_elem_sep URLConnection openConnection concode_elem_sep... | InetAddress function ( URL arg0 ) { try { String loc0 = arg0 . getHost ( ) ; if ( loc0 == null || loc0 . length ( ) == 0 ) { return null ; } return InetAddress . getByName ( loc0 ) ; } catch ( UnknownHostException loc0 ) { return null ; } } |
3,958 | transform the given graphics object so subsequent painting can be done in world coordinates . concode_field_sep Rectangle screenRegion concode_elem_sep Color borderColor concode_elem_sep int x concode_elem_sep int width concode_elem_sep int y concode_elem_sep Rectangle worldRegion concode_elem_sep boolean showBorder co... | void function ( Graphics2D arg0 ) { arg0 . translate ( getScreenLocationX ( ) , getScreenLocationY ( ) + getScreenHeight ( ) ) ; arg0 . scale ( getScaleX ( ) , - getScaleY ( ) ) ; arg0 . translate ( - getWorldLocationX ( ) , - getWorldLocationY ( ) ) ; } |
3,959 | sets the resource id that stores this file concode_field_sep int NOT_REGISTERED concode_elem_sep int TYPE_RAW_DATA concode_elem_sep int TYPE_TAG_DATA concode_elem_sep String name concode_elem_sep int TYPE_RECONSTRUCTED_DATA concode_elem_sep FileAttribute attribute concode_elem_sep double transactionTime concode_elem_se... | boolean function ( int arg0 ) { return attribute . setResourceID ( arg0 ) ; } |
3,960 | returns the option 's number of arguments . concode_field_sep String m_Name concode_elem_sep String m_Synopsis concode_elem_sep int m_NumArguments concode_elem_sep String m_Description concode_field_sep String name concode_elem_sep String description concode_elem_sep String synopsis concode_elem_sep String getRevision | int function ( ) { return m_NumArguments ; } |
3,961 | sets the value of the replaceall property . concode_field_sep List<JobCreditCards> creditCards concode_elem_sep Boolean replaceAll concode_field_sep List<JobCreditCards> getCreditCards concode_elem_sep boolean isReplaceAll | void function ( Boolean arg0 ) { this . replaceAll = arg0 ; } |
3,962 | sends a command as a string on the command socket passed concode_field_sep Thread commandQueueThread concode_elem_sep String ip concode_elem_sep int port concode_elem_sep Socket commandSk concode_elem_sep Socket monitorSk concode_elem_sep Logger logger concode_elem_sep PriorityCommandQueue commandQueue concode_elem_sep... | void function ( final Socket arg0 , final String arg1 ) { if ( arg1 != null ) { PrintWriter loc0 = new PrintWriter ( arg0 . getOutputStream ( ) ) ; loc0 . write ( arg1 ) ; loc0 . flush ( ) ; } } |
3,963 | the parent id for the resource meta data concode_field_sep String upnpClass concode_elem_sep long serialVersionUID concode_elem_sep String id concode_elem_sep String title concode_elem_sep String parentId concode_elem_sep String desc concode_field_sep String getTitle concode_elem_sep String getUpnpClass concode_elem_se... | String function ( ) { return parentId ; } |
3,964 | success without warnings concode_field_sep T value concode_elem_sep boolean errors concode_elem_sep Function<Result<?>,Iterable<? extends ModelProblem>> GET_PROBLEMS concode_elem_sep Iterable<? extends ModelProblem> problems concode_field_sep boolean hasErrors concode_elem_sep boolean hasErrors concode_elem_sep Result<... | Result < T > function ( T arg0 ) { return success ( arg0 , Collections . < ModelProblem > emptyList ( ) ) ; } |
3,965 | resets the element to an empty string . concode_field_sep String image concode_elem_sep String IMAGE_ALERT concode_elem_sep boolean set concode_elem_sep String IMAGE_BLANK concode_elem_sep String value concode_elem_sep String IMAGE_PROGRESS concode_field_sep String getValue concode_elem_sep void setValue concode_elem_s... | void function ( ) { setValue ( "srini_string" ) ; } |
3,966 | the default charset used for string decoding and encoding . concode_field_sep String charset concode_elem_sep int RADIX concode_elem_sep byte ESCAPE_CHAR concode_elem_sep BitSet WWW_FORM_URL concode_field_sep byte[] encode concode_elem_sep String encode concode_elem_sep String encode concode_elem_sep Object encode conc... | String function ( ) { return this . charset ; } |
3,967 | compares this factory with an object . there is only one instance of this class . concode_field_sep HostNameResolver nameResolver concode_elem_sep PlainSocketFactory DEFAULT_FACTORY concode_field_sep PlainSocketFactory getSocketFactory concode_elem_sep Socket createSocket concode_elem_sep Socket connectSocket concode_e... | boolean function ( Object arg0 ) { return ( arg0 == this ) ; } |
3,968 | contains the returned vault access policy as a json string . returns a reference to this object so that method calls can be chained together . concode_field_sep VaultAccessPolicy policy concode_field_sep int hashCode concode_elem_sep boolean equals concode_elem_sep GetVaultAccessPolicyResult clone concode_elem_sep Stri... | GetVaultAccessPolicyResult function ( VaultAccessPolicy arg0 ) { this . policy = arg0 ; return this ; } |
3,969 | renvoie l'extension concode_field_sep PlaceHolder placeHolder concode_field_sep Date convertLocalDateToDate concode_elem_sep String formatToExport concode_elem_sep String cleanFileName concode_elem_sep Integer convertStringToIntger concode_elem_sep String getLabelMinuteHeure concode_elem_sep Boolean getIsNotNull concod... | String function ( String arg0 ) { String loc0 = "srini_string" ; int loc1 = arg0 . lastIndexOf ( '.' ) ; if ( loc1 >= 0 ) { loc0 = arg0 . substring ( loc1 + 1 ) ; } return loc0 ; } |
3,970 | returns the fully qualified class name of this subscription . concode_field_sep Subscription _subscription concode_field_sep long getClassNameId concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setExpandoBridgeAttributes concode_elem_sep void setGro... | java . lang . String function ( ) { return _subscription . getClassName ( ) ; } |
3,971 | returns an array of this package 's declared annotations . package annotations are n't inherited , so this is equivalent to #getannotations . concode_field_sep String implTitle concode_elem_sep Annotation[] NO_ANNOTATIONS concode_elem_sep String specVersion concode_elem_sep String specVendor concode_elem_sep String imp... | Annotation [ ] function ( ) { return getAnnotations ( ) ; } |
3,972 | f0 - > concode_field_sep PlaceHolder placeHolder concode_field_sep placeholderType placeHolder | R function ( Label arg0 , A arg1 ) { R loc0 = null ; arg0 . f0 . accept ( this , arg1 ) ; return loc0 ; } |
3,973 | when a response is generated , if there is more data to be listed , this parameter is present in the response and contains the value to use for the nexttoken parameter in a subsequent pagination request . if there is no more data to be listed , this parameter is set to ` null ' . concode_field_sep java.util.List<String... | String function ( ) { return this . nextToken ; } |
3,974 | information about the group . concode_field_sep Boolean isTruncated concode_elem_sep String marker concode_elem_sep com.amazonaws.internal.SdkInternalList<User> users concode_elem_sep Group group concode_field_sep Boolean isTruncated concode_elem_sep void setIsTruncated concode_elem_sep void setMarker concode_elem_sep ... | GetGroupResult function ( Group arg0 ) { setGroup ( arg0 ) ; return this ; } |
3,975 | it manages the warning concode_field_sep String NAME concode_elem_sep String LOG4J_CONFIGURATION_PROPERTY concode_elem_sep LogAppl LOGAPPL concode_elem_sep Logger LOGGER concode_field_sep void debug concode_elem_sep void debug concode_elem_sep void ignore concode_elem_sep LogAppl getInstance concode_elem_sep void emit ... | void function ( String arg0 , Throwable arg1 ) { if ( arg1 == null ) { LOGGER . warn ( arg0 ) ; } else { LOGGER . warn ( arg0 , arg1 ) ; } } |
3,976 | creates and returns a condition of the range key being less than the given value . concode_field_sep Object[] values concode_elem_sep String attrName concode_elem_sep KeyConditions kcond concode_field_sep Object[] getValues concode_elem_sep RangeKeyCondition beginsWith concode_elem_sep RangeKeyCondition withValues conc... | RangeKeyCondition function ( Object arg0 ) { kcond = KeyConditions . LT ; return withValues ( arg0 ) ; } |
3,977 | sets the activitytype value for this activityrecord . concode_field_sep java.lang.String foreignSysOrgId concode_elem_sep java.lang.String orgName concode_elem_sep java.lang.String mktgAssetName concode_elem_sep boolean __hashCodeCalc concode_elem_sep java.util.Calendar activityDateTime concode_elem_sep java.lang.Strin... | void function ( java . lang . String arg0 ) { this . activityType = arg0 ; } |
3,978 | converts an input list of hasword in ibm arabic toldc atbv3 representation . the method safely copies the input object prior to escaping . concode_field_sep Redwood.RedwoodChannels log concode_elem_sep DefaultLexicalMapper lexMapper concode_elem_sep boolean annotationsAndClassingOnly concode_elem_sep boolean warnedProc... | List < HasWord > function ( List < HasWord > arg0 ) { List < HasWord > loc0 = new ArrayList < > ( arg0 ) ; for ( HasWord loc1 : loc0 ) loc1 . setWord ( apply ( loc1 . word ( ) ) ) ; return loc0 ; } |
3,979 | set the page number . concode_field_sep int preferedSignatureSize concode_elem_sep COSDocument visualSignature concode_elem_sep int pageNo concode_field_sep void setPreferedSignatureSize concode_elem_sep int getPreferedSignatureSize concode_elem_sep void setVisualSignature concode_elem_sep void setVisualSignature conco... | void function ( int arg0 ) { this . pageNo = arg0 ; } |
3,980 | converts all native file separators in the specified string to ' / ' . concode_field_sep Pattern WHITESPACE concode_field_sep String toPlatformLineSeparators concode_elem_sep String normaliseFileAndLineSeparators concode_elem_sep String convertLineSeparators concode_elem_sep String indent concode_elem_sep String getUni... | String function ( String arg0 ) { return arg0 . replaceAll ( Pattern . quote ( File . separator ) , "srini_string" ) ; } |
3,981 | throws , traces , and logs a cancellation exception . concode_field_sep int TOTAL_WORK concode_elem_sep IClipboardSupport clipboardSupport concode_elem_sep int WORK_UNIT concode_elem_sep IProgressMonitor monitor concode_field_sep boolean isCancelled concode_elem_sep void catchException concode_elem_sep IClipboardSuppor... | void function ( String arg0 ) { throwException ( arg0 , new OperationCanceledException ( "srini_string" ) ) ; } |
3,982 | utility for processing boolean concode_field_sep Stack<Object> stack concode_elem_sep char[] buf concode_elem_sep int expressionDepth concode_elem_sep Reader reader concode_elem_sep int TOKEN_BOOLEAN concode_elem_sep int TOKEN_EXPRESSION concode_elem_sep int pos concode_elem_sep int tokenType concode_elem_sep int start... | void function ( ) { while ( pos < numRead ) { if ( isDelimiter ( buf [ pos ] ) ) { break ; } pos ++ ; } if ( pos < numRead ) { stack . push ( Boolean . valueOf ( new String ( buf , startTokenPos , pos - startTokenPos ) ) ) ; } parseNextState ( ) ; } |
3,983 | set if url lookup should always use full path within current servlet context . else , the path within the current servlet mapping is used if applicable i.e. in the case of a '' ... / '' servlet mapping in web.xml . default is `` false '' . concode_field_sep Log logger concode_elem_sep UrlPathHelper urlPathHelper concod... | void function ( boolean arg0 ) { this . urlPathHelper . setAlwaysUseFullPath ( arg0 ) ; } |
3,984 | issue a compilation error . this method does not throw an exception , since we want to continue processing and perhaps report other errors . it is a good idea to introduce a test case in compilationtest for any new call to reporterror ... to ensure that we continue correctly after an error . concode_field_sep Messager ... | void function ( String arg0 , Element arg1 ) { messager . printMessage ( Diagnostic . Kind . ERROR , arg0 , arg1 ) ; } |
3,985 | get the mappings . concode_field_sep KeyValuePairSet mappings concode_elem_sep String defaultDestination concode_elem_sep Logger logR concode_elem_sep AdaptrisMarshaller marshaller concode_field_sep void setMarshaller concode_elem_sep void setDefaultDestination concode_elem_sep String getDefaultDestination concode_elem... | KeyValuePairSet function ( ) { return mappings ; } |
3,986 | tests next long range , random result . concode_field_sep double DELTA concode_field_sep void testNextIntRandomResult concode_elem_sep void testNextLongMinimalRange concode_elem_sep void testExtremeRangeFloat concode_elem_sep void testZeroLengthNextBytes concode_elem_sep void testNextDoubleRandomResult concode_elem_sep... | void function ( ) { long loc0 = RandomUtils . nextLong ( ) ; assertTrue ( loc0 > 0 ) ; assertTrue ( loc0 < Long . MAX_VALUE ) ; } |
3,987 | utility method for recalculateding the total inventory price . concode_field_sep double inventoryPriceTotal concode_elem_sep ArrayList inventory concode_elem_sep int inventoryUnitTotal concode_field_sep int getInventoryUnitTotal concode_elem_sep double getInventoryPriceTotal concode_elem_sep void addInventoryItem conco... | void function ( ) { inventoryPriceTotal = 0 ; inventoryUnitTotal = 0 ; InventoryItem loc0 ; for ( int loc1 = 0 , loc2 = inventory . size ( ) ; loc1 < loc2 ; loc1 ++ ) { loc0 = ( InventoryItem ) inventory . get ( loc1 ) ; inventoryPriceTotal += loc0 . getPrice ( ) * loc0 . getQuantity ( ) ; inventoryUnitTotal += loc0 . ... |
3,988 | gets the value of the input submitted . concode_field_sep String inputText concode_elem_sep String clicked concode_field_sep void imageButtonListener concode_elem_sep void commandLinkListener concode_elem_sep String getClicked concode_elem_sep void setInputText concode_elem_sep void submitButtonListener concode_elem_se... | String function ( ) { return inputText ; } |
3,989 | extracts the text from the input stream and file name . concode_field_sep com.liferay.portal.kernel.util.File _file concode_field_sep void copyFile concode_elem_sep void copyFile concode_elem_sep void copyFile concode_elem_sep void copyFile concode_elem_sep String decodeSafeFileName concode_elem_sep boolean isSameConte... | String function ( InputStream arg0 , String arg1 ) { return getFile ( ) . extractText ( arg0 , arg1 ) ; } |
3,990 | gets the value of the document property . concode_field_sep WsDocument document concode_elem_sep WsParameters wsParameters concode_field_sep WsParameters getWsParameters concode_elem_sep void setDocument concode_elem_sep void setWsParameters | WsDocument function ( ) { return document ; } |
3,991 | checks if whether the crane is stalled in y-direction . concode_field_sep PhysicalCrane crane concode_field_sep StorageElement retrievePacket concode_elem_sep void testStalledX concode_elem_sep void navigateToLoadingPos concode_elem_sep void navigateTo concode_elem_sep void navigateYTo concode_elem_sep void navigateXTo... | void function ( ) { if ( crane . isStalledY ( ) ) throw new CraneStalledException ( "srini_string" + crane . getPositionY ( ) ) ; } |
3,992 | prepare a value from a either a given object or its string representation . if the value is already assignable to the given class name it is returned directly . concode_field_sep Map<String,Parser> PARSER_MAP concode_elem_sep Map<String,Class> TYPE_SIGNATURE_MAP concode_field_sep Object extract concode_elem_sep Object ... | Object function ( String arg0 , Object arg1 ) { if ( arg1 == null ) { return null ; } else { Object loc0 = prepareForDirectUsage ( arg0 , arg1 ) ; if ( loc0 == null ) { return convertFromString ( arg0 , arg1 . toString ( ) ) ; } return loc0 ; } } |
3,993 | adds a file to the current zip output stream concode_field_sep int BUFFER_SIZE concode_field_sep void addFolderToZip concode_elem_sep void compressFiles | void function ( File arg0 , ZipOutputStream arg1 ) { arg1 . putNextEntry ( new ZipEntry ( arg0 . getName ( ) ) ) ; BufferedInputStream loc0 = new BufferedInputStream ( new FileInputStream ( arg0 ) ) ; byte [ ] loc1 = new byte [ BUFFER_SIZE ] ; int loc2 = 0 ; while ( ( loc2 = loc0 . loc2 ( loc1 ) ) != - 1 ) { arg1 . wri... |
3,994 | getter for author . concode_field_sep String type_name concode_elem_sep int project_id concode_elem_sep List<Problem> problems concode_elem_sep Date created concode_elem_sep String author concode_elem_sep int id concode_elem_sep String label concode_elem_sep String type concode_elem_sep String version concode_elem_sep ... | String function ( ) { return this . author ; } |
3,995 | api compatible with hadoop 1 . x concode_field_sep Class<?>[] paramTypes concode_elem_sep String description concode_elem_sep Method main concode_elem_sep Map<String,ProgramDescription> programs concode_field_sep void invoke concode_elem_sep int run concode_elem_sep String getDescription concode_elem_sep void printUsag... | void function ( String [ ] arg0 ) { if ( run ( arg0 ) == - 1 ) { System . exit ( - 1 ) ; } } |
3,996 | reads the request parameter ` pm4j ' and provides its key-value pairs . caches the converted map within the request to allow faster request processing . concode_field_sep UrlParamCoder URL_PARAM_CODER concode_elem_sep SelectItem[] EMPTY_SELECTITEMS concode_elem_sep String PM4J_REQUEST_PARAM concode_elem_sep String REQU... | Map < String , Object > function ( ) { return getPmRequestParamMap ( JsfUtil . getHttpRequest ( ) ) ; } |
3,997 | serialize a permissionstatus from its base components . concode_field_sep WritableFactory FACTORY concode_elem_sep FsPermission permission concode_elem_sep String groupname concode_elem_sep String username concode_field_sep void readFields concode_elem_sep String getGroupName concode_elem_sep FsPermission getPermission... | void function ( DataOutput arg0 , String arg1 , String arg2 , FsPermission arg3 ) { Text . writeString ( arg0 , arg1 , Text . DEFAULT_MAX_LEN ) ; Text . writeString ( arg0 , arg2 , Text . DEFAULT_MAX_LEN ) ; arg3 . write ( arg0 ) ; } |
3,998 | decodes a string from base64 format . no blanks or line breaks are allowed within the base64 encoded input data . concode_field_sep byte[] decodingMap concode_elem_sep CharMap urlsafeMap concode_elem_sep CharMap regularMap concode_elem_sep String systemLineSeparator concode_elem_sep char[] encodingMap concode_field_sep... | String function ( String arg0 ) { return decodeString ( arg0 , false ) ; } |
3,999 | returns the url for the default policy . this never returns null , but it may throw a nullpointerexception concode_field_sep String EXCEPTION_ALIEN_SECURITY_MANAGER concode_elem_sep String PROPERTY_JAVA_SECURITY_POLICY concode_elem_sep Class appMainClass concode_elem_sep String JAR_PROTOCOL concode_elem_sep String PROP... | URL function ( ) { ClassLoader loc0 = appMainClass . getClassLoader ( ) ; URL loc1 = loc0 . getResource ( securityPolicy ) ; if ( loc1 == null ) { throw new NullPointerException ( Messages . formatMessage ( EXCEPTION_NO_POLICY_FILE , new Object [ ] { securityPolicy } ) ) ; } return loc1 ; } |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.