Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 17 for setTimestamp (0.07 seconds)

  1. src/main/java/jcifs/internal/witness/WitnessNotification.java

        /**
         * Gets the notification timestamp.
         *
         * @return the timestamp
         */
        public long getTimestamp() {
            return timestamp;
        }
    
        /**
         * Sets the timestamp.
         *
         * @param timestamp the timestamp
         */
        public void setTimestamp(long timestamp) {
            this.timestamp = timestamp;
        }
    
        /**
         * Gets the list of new IP addresses.
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 24 00:12:28 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  2. compat/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);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  3. compat/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 {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/suggest/entity/SuggestItemMerger.java

            // Merge kinds
            mergedItem.setKinds(mergeKinds(item1.getKinds(), item2.getKinds()));
    
            // Take newer values from item2
            mergedItem.setTimestamp(item2.getTimestamp());
            mergedItem.setUserBoost(item2.getUserBoost());
            mergedItem.setEmptySource(item2.toEmptyMap());
    
            // Sum frequencies
    Created: Fri Apr 17 09:08:13 GMT 2026
    - Last Modified: Sun Feb 01 12:48:24 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/entity/ChatMessageTest.java

            message.setContent("Test content");
            message.setTimestamp(timestamp);
            message.setSources(sources);
    
            assertEquals("msg-123", message.getId());
            assertEquals("assistant", message.getRole());
            assertEquals("Test content", message.getContent());
            assertEquals(timestamp, message.getTimestamp());
            assertSame(sources, message.getSources());
        }
    
        @Test
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Jan 14 14:29:07 GMT 2026
    - 9.2K bytes
    - Click Count (0)
  6. src/test/java/jcifs/ntlmssp/av/AvTimestampTest.java

            assertNotNull(avTimestamp);
            assertEquals(AvPair.MsvAvTimestamp, avTimestamp.getType());
            assertEquals(timestamp, avTimestamp.getTimestamp()); // Verify encoding and decoding
        }
    
        /**
         * Test getTimestamp method with a positive timestamp.
         */
        @Test
        public void testGetTimestampPositive() {
            long expectedTimestamp = 123456789012345L;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. src/test/java/jcifs/internal/witness/WitnessNotificationTest.java

            long afterCreation = System.currentTimeMillis();
    
            assertTrue(newNotification.getTimestamp() >= beforeCreation);
            assertTrue(newNotification.getTimestamp() <= afterCreation);
        }
    
        @Test
        void testResourceStateConstants() {
            assertEquals(0x00000000, WitnessNotification.WITNESS_RESOURCE_STATE_UNKNOWN);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 23 09:06:40 GMT 2025
    - 5K bytes
    - Click Count (0)
  8. 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
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/app/web/api/admin/dict/ApiAdminDictAction.java

            final ListBody body = new ListBody();
            body.id = dictionaryFile.getId();
            body.type = dictionaryFile.getType();
            body.path = dictionaryFile.getPath();
            body.timestamp = dictionaryFile.getTimestamp();
            return body;
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Aug 07 03:06:29 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  10. src/main/java/jcifs/ntlmssp/av/AvTimestamp.java

            SMBUtil.writeInt8(ts, data, 0);
            return data;
        }
    
        /**
         * Gets the timestamp value from this AV pair
         *
         * @return the timestamp
         */
        public long getTimestamp() {
            return SMBUtil.readInt8(getRaw(), 0);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 1.9K bytes
    - Click Count (0)
Back to Top