Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for writeTime (0.06 sec)

  1. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            long accessTime = e.getAccessTime();
            assertTrue(accessTime >= lastAccessTime);
            lastAccessTime = accessTime;
            long writeTime = e.getWriteTime();
            assertTrue(writeTime >= lastWriteTime);
            lastWriteTime = writeTime;
          }
    
          lastAccessTime = 0;
          lastWriteTime = 0;
          for (ReferenceEntry<K, V> e : segment.accessQueue) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 110.6K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            long accessTime = e.getAccessTime();
            assertTrue(accessTime >= lastAccessTime);
            lastAccessTime = accessTime;
            long writeTime = e.getWriteTime();
            assertTrue(writeTime >= lastWriteTime);
            lastWriteTime = writeTime;
          }
    
          lastAccessTime = 0;
          lastWriteTime = 0;
          for (ReferenceEntry<K, V> e : segment.accessQueue) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 112.3K bytes
    - Viewed (0)
  3. 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();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  4. cmd/storage-datatypes_gen.go

    	if err != nil {
    		err = msgp.WrapError(err, "DataDir")
    		return
    	}
    	err = en.WriteBool(z.XLV1)
    	if err != nil {
    		err = msgp.WrapError(err, "XLV1")
    		return
    	}
    	err = en.WriteTime(z.ModTime)
    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	err = en.WriteInt64(z.Size)
    	if err != nil {
    		err = msgp.WrapError(err, "Size")
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 150.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CacheTest.kt

    1
    201105
    2
    
    CLEAN $urlKey ${entryMetadata.length} ${entryBody.length}
    """
        fileSystem.createDirectory(cache.directoryPath)
        writeFile(cache.directoryPath, "$urlKey.0", entryMetadata)
        writeFile(cache.directoryPath, "$urlKey.1", entryBody)
        writeFile(cache.directoryPath, "journal", journalBody)
        cache = Cache(fileSystem, cache.directory.path.toPath(), Int.MAX_VALUE.toLong())
        client =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/CallTest.kt

      }
    
      private fun upload(
        chunked: Boolean,
        size: Int,
        writeSize: Int,
      ) {
        server.enqueue(MockResponse())
        executeSynchronously(
          Request(
            url = server.url("/"),
            body = requestBody(chunked, size.toLong(), writeSize),
          ),
        )
      }
    
      /** https://github.com/square/okhttp/issues/2344  */
      @Test
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
Back to top