Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 40 for writeTime (0.07 seconds)

  1. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformation.java

        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, int dstIndex) {
            final int start = dstIndex;
    
            writeTime(createTime, dst, dstIndex);
            dstIndex += 8;
            writeInt8(0L, dst, dstIndex);
            dstIndex += 8;
            writeTime(lastWriteTime, dst, dstIndex);
            dstIndex += 8;
            writeInt8(0L, dst, dstIndex);
            dstIndex += 8;
            /* Samba 2.2.7 needs ATTR_NORMAL
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            // Entry 1
            writeInt4(120, buffer, bufferIndex); // nextEntryOffset = 120 (relative)
            writeInt4(1, buffer, bufferIndex + 4); // fileIndex = 1
            writeTime(1672531200000L, buffer, bufferIndex + 8); // creationTime
            writeTime(1672617600000L, buffer, bufferIndex + 24); // lastWriteTime
            writeInt8(2048, buffer, bufferIndex + 40); // endOfFile
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            long accessTime = e.getAccessTime();
            assertThat(accessTime).isAtLeast(lastAccessTime);
            lastAccessTime = accessTime;
            long writeTime = e.getWriteTime();
            assertThat(writeTime).isAtLeast(lastWriteTime);
            lastWriteTime = writeTime;
          }
    
          lastAccessTime = 0;
          lastWriteTime = 0;
          for (ReferenceEntry<K, V> e : segment.accessQueue) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 114.9K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            long accessTime = e.getAccessTime();
            assertThat(accessTime).isAtLeast(lastAccessTime);
            lastAccessTime = accessTime;
            long writeTime = e.getWriteTime();
            assertThat(writeTime).isAtLeast(lastWriteTime);
            lastWriteTime = writeTime;
          }
    
          lastAccessTime = 0;
          lastWriteTime = 0;
          for (ReferenceEntry<K, V> e : segment.accessQueue) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 116.4K bytes
    - Click Count (0)
  5. src/main/java/jcifs/internal/util/SMBUtil.java

         * @param t the time value in milliseconds since January 1, 1970 UTC
         * @param dst the destination byte array
         * @param dstIndex the starting index in the destination array
         */
        public static void writeTime(long t, final byte[] dst, final int dstIndex) {
            if (t != 0L) {
                t = (t + SmbConstants.MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L;
            }
            writeInt8(t, dst, dstIndex);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8K bytes
    - Click Count (0)
  6. docs/smb3-features/05-rdma-smb-direct-design.md

        Arrays.fill(data, (byte)0x42);
        
        long start = System.currentTimeMillis();
        
        try (OutputStream os = file.getOutputStream()) {
            os.write(data);
        }
        
        long writeTime = System.currentTimeMillis() - start;
        
        // Read back
        start = System.currentTimeMillis();
        byte[] readData = new byte[data.length];
        
        try (InputStream is = file.getInputStream()) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 02:53:50 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

            final int hi = readInt4(src, srcIndex + 4);
            final long t = (long) hi << 32L | low & 0xFFFFFFFFL;
            return t / 10000L - MILLISECONDS_BETWEEN_1970_AND_1601;
        }
    
        static void writeTime(long t, final byte[] dst, final int dstIndex) {
            if (t != 0L) {
                t = (t + MILLISECONDS_BETWEEN_1970_AND_1601) * 10000L;
            }
            writeInt8(t, dst, dstIndex);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/cache/LocalCache.java

        }
    
        // The code below is exactly the same for each write entry type.
    
        volatile long writeTime = Long.MAX_VALUE;
    
        @Override
        public long getWriteTime() {
          return writeTime;
        }
    
        @Override
        public void setWriteTime(long time) {
          this.writeTime = time;
        }
    
        // Guarded By Segment.this
        @Weak ReferenceEntry<K, V> nextWrite = nullEntry();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 148.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/cache/LocalCache.java

        }
    
        // The code below is exactly the same for each write entry type.
    
        volatile long writeTime = Long.MAX_VALUE;
    
        @Override
        public long getWriteTime() {
          return writeTime;
        }
    
        @Override
        public void setWriteTime(long time) {
          this.writeTime = time;
        }
    
        // Guarded By Segment.this
        @Weak ReferenceEntry<K, V> nextWrite = nullEntry();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  10. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            long maxTime = System.currentTimeMillis() + 1000000000000L;
            SMBUtil.writeTime(maxTime, buffer, 8); // creationTime
            SMBUtil.writeTime(maxTime, buffer, 16); // lastAccessTime
            SMBUtil.writeTime(maxTime, buffer, 24); // lastWriteTime
            SMBUtil.writeTime(maxTime, buffer, 32); // changeTime
            SMBUtil.writeInt8(Long.MAX_VALUE, buffer, 40); // endOfFile
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.9K bytes
    - Click Count (0)
Back to Top