Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 46 for setTimestamp (0.24 sec)

  1. src/syscall/syscall_wasip1.go

    }
    
    func (ts *Timespec) setTimestamp(t timestamp) {
    	ts.Sec = int64(t / 1e9)
    	ts.Nsec = int64(t % 1e9)
    }
    
    type Timeval struct {
    	Sec  int64
    	Usec int64
    }
    
    func (tv *Timeval) timestamp() timestamp {
    	return timestamp(tv.Sec*1e9) + timestamp(tv.Usec*1e3)
    }
    
    func (tv *Timeval) setTimestamp(t timestamp) {
    	tv.Sec = int64(t / 1e9)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:03:59 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/dependencyManagement/artifactTransforms-minify/groovy/build.gradle

            Map<String, Set<String>> getKeepClassesByArtifact()
            void setKeepClassesByArtifact(Map<String, Set<String>> keepClasses)
    // end::artifact-transform-minify[]
            @Input
            Long getTimestamp()
            void setTimestamp(Long timestamp)
    // tag::artifact-transform-minify[]
        }
    
        @PathSensitive(PathSensitivity.NAME_ONLY)
        @InputArtifact
        abstract Provider<FileSystemLocation> getInputArtifact()
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  3. platforms/software/maven/src/main/java/org/gradle/api/publish/maven/internal/publisher/MavenRemotePublisher.java

            snapshot.setTimestamp(timestamp);
    
            Versioning versioning = new Versioning();
            versioning.setSnapshot(snapshot);
            versioning.setLastUpdated(snapshot.getTimestamp().replace(".", ""));
    
            String timestampVersion = version.replace("SNAPSHOT", snapshot.getTimestamp() + "-" + snapshot.getBuildNumber());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Dec 07 05:46:08 UTC 2023
    - 5.3K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/SnapshotTransformation.java

            String version = null;
            Snapshot snapshot = versioning.getSnapshot();
            if (snapshot != null) {
                if (snapshot.getTimestamp() != null && snapshot.getBuildNumber() > 0) {
                    String newVersion = snapshot.getTimestamp() + "-" + snapshot.getBuildNumber();
                    version = baseVersion.replace(Artifact.SNAPSHOT_VERSION, newVersion);
                } else {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Sep 14 11:48:15 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  5. maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/RemoteSnapshotMetadata.java

                snapshot = new Snapshot();
                snapshot.setBuildNumber(buildNumber != null ? buildNumber : getBuildNumber(recessive) + 1);
                snapshot.setTimestamp(utcDateFormatter.format(timestamp));
    
                Versioning versioning = new Versioning();
                versioning.setSnapshot(snapshot);
                versioning.setLastUpdatedTimestamp(timestamp);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Apr 25 10:10:21 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/results/AbstractWritableResultsStore.groovy

                connection.prepareStatement(SELECT_LATEST_EXECUTION_TIMES).withCloseable { statement ->
                    int idx = 0
                    OperatingSystem.values().each { os ->
                        statement.setTimestamp(++idx, since)
                        List<String> channels = ['commits', 'experiments'].stream()
                            .collect { channel -> "${channel}${os.channelSuffix}-master".toString() }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/StyledTextOutputEvent.java

        public StyledTextOutputEvent withLogLevel(LogLevel logLevel) {
            return new StyledTextOutputEvent(getTimestamp(), getCategory(), logLevel, getBuildOperationId(), spans);
        }
    
        @Override
        public StyledTextOutputEvent withBuildOperationId(OperationIdentifier buildOperationId) {
            return new StyledTextOutputEvent(getTimestamp(), getCategory(), getLogLevel(), buildOperationId, spans);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:05:18 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/events/UpdateNowEvent.java

    public class UpdateNowEvent extends OutputEvent implements InteractiveEvent {
    
        private final long timestamp;
    
        public UpdateNowEvent(long timestamp) {
            this.timestamp = timestamp;
        }
    
        public long getTimestamp() {
            return timestamp;
        }
    
        @Override
        public String toString() {
            return UpdateNowEvent.class.getSimpleName() + " " + timestamp;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Feb 21 00:09:24 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/health/gc/GarbageCollectionStats.java

            long gcCountDelta = last.getCount() - first.getCount();
            // Time interval between the first event in the window and the last
            long timeDelta = TimeUnit.MILLISECONDS.toSeconds(last.getTimestamp() - first.getTimestamp());
            return (double)gcCountDelta / timeDelta;
        }
    
        private static long calculateAverageUsage(Collection<GarbageCollectionEvent> events) {
            long sum = 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top