Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 100 for getSize (0.19 sec)

  1. 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)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 5.9K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListenerTest.java

            Artifact localRepositoryArtifact = mock(Artifact.class);
            when(localRepositoryArtifact.getFile()).thenReturn(new File(baseDir, "some/path/within"));
    
            Artifact nonLocalReposioryArtifact = mock(Artifact.class);
            when(nonLocalReposioryArtifact.getFile()).thenReturn(new File("something/completely/different"));
    
            assertThat(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Sat Apr 15 17:24:20 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            this.settingsBuilder = settingsBuilder;
        }
    
        public Settings buildSettings() throws IOException, XmlPullParserException {
            File userSettingsFile = getFile(
                    "${user.home}/.m2/settings.xml", "user.home", MavenSettingsBuilder.ALT_USER_SETTINGS_XML_LOCATION);
    
            return buildSettings(userSettingsFile);
        }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  4. src/main/webapp/js/admin/plugins/form-validator/date.js

    ire("jquery")):b(a.jQuery)}(this,function(a){!function(a){function b(a,b,d){var e=new Date(a,b,d),f=new Date,g=f.getFullYear()-e.getFullYear();e.setFullYear(e.getFullYear()+g),e>f&&(g--,e.setFullYear(e.getFullYear()-1));var h=Math.floor((f.getTime()-e.getTime())/864e5),i=g+h/(c(f.getFullYear())?366:365),j=((i+"").split(".")[1]||"").substr(0,3);return i>=0?Math.floor(i)+(j>=915?1:0):(j*=10,Math.floor(i)+(j<=840?1:0))}function c(a){var b=new Date(a,1,28);return b.setDate(b.getDate()+1),1===b.getMo...
    JavaScript
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jan 01 05:12:47 GMT 2018
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/DoubleConversionUtil.java

            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return new Double(new SimpleDateFormat(pattern).format(o));
                }
                return new Double(((java.util.Date) o).getTime());
            } else {
                return toDouble(o.toString());
            }
        }
    
        private static Double toDouble(final String s) {
            if (StringUtil.isEmpty(s)) {
                return null;
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/internal/transformation/impl/TransformedArtifact.java

        }
    
        @Override
        public boolean isResolved() {
            return getFile() != null;
        }
    
        @Override
        public void setFile(File file) {
            throw new UnsupportedOperationException("transformed artifact file cannot be set");
        }
    
        @Override
        public synchronized File getFile() {
            try {
                String state = mayUpdate();
                if (state == null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Jan 10 12:55:54 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultArtifactManager.java

                for (MavenProject project : session.getMavenSession().getAllProjects()) {
                    if (id.equals(id(project.getArtifact()))
                            && project.getArtifact().getFile() != null) {
                        return Optional.of(project.getArtifact().getFile().toPath());
                    }
                }
            }
            Path path = paths.get(id);
            if (path == null && artifact instanceof DefaultArtifact) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/convert/IntegerConversionUtil.java

            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
                    return Integer.valueOf(new SimpleDateFormat(pattern).format(o));
                }
                return (int) ((java.util.Date) o).getTime();
            } else if (o instanceof Boolean) {
                return ((Boolean) o) ? 1 : 0;
            } else {
                return toInteger(o.toString());
            }
        }
    
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null && profile.getActivation().getFile() != null;
        }
    
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
    
            ActivationFile actFile = activation.getFile();
    
            if (actFile != null) {
                // check if the file exists, if it does then the profile will be active
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  10. docs/debugging/reorder-disks/main.go

    	if err != nil {
    		log.Fatal(err)
    	}
    
    	setSize := len(format.XL.Sets[0])
    
    	expectedDisksName := make(map[string]string)
    	actualDisksName := make(map[string]string)
    
    	// Calculate the set/disk index
    	for _, disk := range localDisks {
    		expectedDisksName[fmt.Sprintf("%d-%d", disk.index/setSize, disk.index%setSize)] = disk.path
    		format, err := getFormatJSON(disk.path)
    		if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 5.4K bytes
    - Viewed (0)
Back to top