Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for formatData (0.12 sec)

  1. cmd/format-erasure.go

    		if err = os.WriteFile(formatPath, formatData, 0o666); err != nil {
    			return nil, nil, err
    		}
    		formatFi, err := Lstat(formatPath)
    		if err != nil {
    			return nil, nil, err
    		}
    		return formatData, formatFi, nil
    	}
    
    	switch version {
    	case formatErasureVersionV1:
    		formatData, err = formatErasureMigrateV1ToV2(formatData, version)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. cmd/format-erasure_test.go

    	if err = os.WriteFile(pathJoin(rootPath, minioMetaBucket, formatConfigFile), b, os.FileMode(0o644)); err != nil {
    		t.Fatal(err)
    	}
    
    	formatData, _, err := formatErasureMigrate(rootPath)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	migratedVersion, err := formatGetBackendErasureVersion(formatData)
    	if err != nil {
    		t.Fatal(err)
    	}
    
    	if migratedVersion != formatErasureVersionV3 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Apr 15 08:25:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  3. cmd/storage-rest-server.go

    					return false
    				}
    				storage := newXLStorageDiskIDCheck(xl, true)
    				storage.SetDiskID(xl.diskID)
    				// We do not have to do SetFormatData() since 'xl'
    				// already captures formatData cached.
    
    				globalLocalDrivesMu.Lock()
    				defer globalLocalDrivesMu.Unlock()
    
    				globalLocalDrivesMap[endpoint.String()] = storage
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 45.7K bytes
    - Viewed (0)
  4. compat/maven-repository-metadata/src/test/java/org/apache/maven/artifact/repository/metadata/MetadataTest.java

            SnapshotVersion sv2 =
                    addSnapshotVersion(source.getVersioning(), "jar", after, "1.0-" + formatDate(after, true) + "-2", 2);
            SnapshotVersion sv3 =
                    addSnapshotVersion(source.getVersioning(), "pom", after, "1.0-" + formatDate(after, true) + "-2", 2);
            assertTrue(target.merge(source));
            Versioning actualVersioning = target.getVersioning();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.7K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

                    final Map<String, String> params = new LinkedHashMap<>();
                    params.put("User Info ID", e.getId());
                    params.put("Created Time", FessFunctions.formatDate(e.getCreatedAt()));
                    params.put("Updated Time", FessFunctions.formatDate(e.getUpdatedAt()));
                    return params;
                }).get();
            }
            if (SearchLogPager.LOG_TYPE_CLICK.equalsIgnoreCase(logType)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.4K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

            }
        }
    
        public static String formatDate(final Date date) {
            if (date == null) {
                return StringUtil.EMPTY;
            }
            final SimpleDateFormat sdf = new SimpleDateFormat(Constants.ISO_DATETIME_FORMAT);
            sdf.setTimeZone(Constants.TIMEZONE_UTC);
            return sdf.format(date);
        }
    
        public static String formatDate(final LocalDateTime date) {
            if (date == null) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  7. src/main/webapp/WEB-INF/fe.tld

        </example>
      </function>
    
      <function>
        <description>
          Returns formatted date from a given value.
        </description>
        <name>formatDate</name>
        <function-class>org.codelibs.fess.taglib.FessFunctions</function-class>
        <function-signature>java.lang.String formatDate(java.time.ZonedDateTime, java.lang.String)</function-signature>
        <example>
          ${fe:formatDate(d, 'yyyy')}
        </example>
      </function>
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Dec 23 06:18:48 UTC 2023
    - 10K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/CrawlerStatsHelper.java

            final StringBuilder buf = new StringBuilder(1000);
            buf.append("url:").append(getUrl(keyObj));
            buf.append('\t');
            buf.append("time:").append(FessFunctions.formatDate(new Date(time)));
            return buf;
        }
    
        protected String getUrl(final Object keyObj) {
            if (keyObj instanceof final UrlQueue<?> urlQueue) {
                return escapeValue(urlQueue.getUrl());
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                                    final Date dt = FessFunctions.parseDate(values[0], dateFormat);
                                    if (dt != null) {
                                        dataMap.put(mapping.getValue1(), FessFunctions.formatDate(dt));
                                    } else {
                                        logger.warn("Failed to parse {}", mapping);
                                    }
                                } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
Back to top