Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 187 for getSize (0.15 sec)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/interpolation/AbstractModelInterpolatorTest.java

            cal.set(Calendar.DATE, 11);
    
            Date firstTestDate = cal.getTime();
    
            cal.set(Calendar.HOUR, 11);
            cal.set(Calendar.AM_PM, Calendar.PM);
    
            // just to make sure all the bases are covered...
            cal.set(Calendar.HOUR_OF_DAY, 23);
    
            Date secondTestDate = cal.getTime();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. fess-crawler/src/test/java/org/codelibs/fess/crawler/client/fs/FileSystemClientTest.java

            }
            final ResponseData responseData = fsClient.doHead("file:" + path);
            assertNotNull(responseData.getLastModified());
            assertTrue(responseData.getLastModified().getTime() < new Date().getTime());
            assertNull(responseData.getResponseBody());
        }
    
        public void test_doHead_dir() throws Exception {
            final File file = ResourceUtil.getResourceAsFile("test");
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return new Float(new SimpleDateFormat(pattern).format(o));
                }
                return new Float(((java.util.Date) o).getTime());
            } else {
                return toFloat(o.toString());
            }
        }
    
        private static Float toFloat(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      private void verifyTableSize(int inputSize, int setSize, int tableSize) {
        Builder<Integer> builder = ImmutableSet.builder();
        for (int i = 0; i < inputSize; i++) {
          builder.add(i % setSize);
        }
        ImmutableSet<Integer> set = builder.build();
        assertTrue(set instanceof RegularImmutableSet);
        assertEquals(
            "Input size " + inputSize + " and set size " + setSize,
            tableSize,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/dict/DictionaryManager.java

        public void store(final DictionaryFile<? extends DictionaryItem> dictFile, final File file) {
            getDictionaryFile(dictFile.getId()).ifPresent(currentFile -> {
                if (currentFile.getTimestamp().getTime() > dictFile.getTimestamp().getTime()) {
                    throw new DictionaryException(dictFile.getPath() + " was updated.");
                }
    
                // TODO use stream
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/context/BaseContext.java

                throw new CIFSException("Invalid URL " + url, e);
            }
        }
    
    
        /**
         * 
         * {@inheritDoc}
         *
         * @see jcifs.CIFSContext#getPipe(java.lang.String, int)
         */
        @Override
        public SmbPipeResource getPipe ( String url, int pipeType ) throws CIFSException {
            try {
                return new SmbNamedPipe(url, pipeType, this);
            }
            catch ( MalformedURLException e ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 27 18:25:00 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/project/artifact/ProjectArtifactMetadata.java

            this(artifact, null);
        }
    
        public ProjectArtifactMetadata(Artifact artifact, File file) {
            super(artifact);
            this.file = file;
        }
    
        public File getFile() {
            return file;
        }
    
        public String getRemoteFilename() {
            return getFilename();
        }
    
        public String getLocalFilename(ArtifactRepository repository) {
            return getFilename();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/ArtifactRepositoryPolicy.java

                cal.set(Calendar.HOUR_OF_DAY, 0);
                cal.set(Calendar.MINUTE, 0);
                cal.set(Calendar.SECOND, 0);
                cal.set(Calendar.MILLISECOND, 0);
    
                if (cal.getTime().after(lastModified)) {
                    checkForUpdates = true;
                }
            } else if (updatePolicy.startsWith(UPDATE_POLICY_INTERVAL)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java

        String getVersion();
    
        void setVersion(String version);
    
        String getScope();
    
        String getType();
    
        String getClassifier();
    
        boolean hasClassifier();
    
        File getFile();
    
        void setFile(File destination);
    
        String getBaseVersion();
    
        void setBaseVersion(String baseVersion);
    
        String getId();
    
        String getDependencyConflictId();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  10. impl/maven-core/src/main/java/org/apache/maven/classrealm/ClassRealmConstituent.java

         */
        String getVersion();
    
        /**
         * Gets the file of the constituent's artifact.
         *
         * @return The file, never {@code null}.
         */
        File getFile();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top