Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for writeTime (0.26 sec)

  1. cmd/bucket-metadata_gen.go

    		return
    	}
    	err = en.WriteTime(z.EncryptionConfigUpdatedAt)
    	if err != nil {
    		err = msgp.WrapError(err, "EncryptionConfigUpdatedAt")
    		return
    	}
    	// write "TaggingConfigUpdatedAt"
    	err = en.Append(0xb6, 0x54, 0x61, 0x67, 0x67, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.TaggingConfigUpdatedAt)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 28 15:32:18 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. cmd/xl-storage-format-v1_gen.go

    	err = en.WriteInt64(z.ActualSize)
    	if err != nil {
    		err = msgp.WrapError(err, "ActualSize")
    		return
    	}
    	// write "mt"
    	err = en.Append(0xa2, 0x6d, 0x74)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.ModTime)
    	if err != nil {
    		err = msgp.WrapError(err, "ModTime")
    		return
    	}
    	if (zb0001Mask & 0x20) == 0 { // if not omitted
    		// write "i"
    		err = en.Append(0xa1, 0x69)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 41.2K bytes
    - Viewed (0)
  6. 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)
  7. cmd/data-usage-cache_gen.go

    		err = msgp.WrapError(err, "NextCycle")
    		return
    	}
    	// write "LastUpdate"
    	err = en.Append(0xaa, 0x4c, 0x61, 0x73, 0x74, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65)
    	if err != nil {
    		return
    	}
    	err = en.WriteTime(z.LastUpdate)
    	if err != nil {
    		err = msgp.WrapError(err, "LastUpdate")
    		return
    	}
    	// write "SkipHealing"
    	err = en.Append(0xab, 0x53, 0x6b, 0x69, 0x70, 0x48, 0x65, 0x61, 0x6c, 0x69, 0x6e, 0x67)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 75K bytes
    - Viewed (0)
  8. docs/debugging/xl-meta/main.go

    							}
    							err = os.WriteFile(fn+".json", []byte(filemap[file][name+".json"]), os.ModePerm)
    							combineFiles[name] = append(combineFiles[name], fn)
    							if err != nil {
    								fmt.Println("WriteFile:", err)
    							}
    							err = os.WriteFile(filepath.Dir(fn)+"/filename.txt", []byte(file), os.ModePerm)
    							if err != nil {
    								fmt.Println("combine WriteFile:", err)
    							}
    						}
    					}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 05 11:57:44 UTC 2024
    - 40.3K bytes
    - Viewed (0)
  9. internal/store/queuestore.go

    		if err = enc.Encode(items[i]); err != nil {
    			return err
    		}
    	}
    
    	path := filepath.Join(store.directory, key.String())
    	if key.Compress {
    		err = os.WriteFile(path, s2.Encode(nil, buf.Bytes()), os.FileMode(0o770))
    	} else {
    		err = os.WriteFile(path, buf.Bytes(), os.FileMode(0o770))
    	}
    
    	buf.Reset()
    	if err != nil {
    		return err
    	}
    
    	// Increment the item count.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. src/bufio/bufio_test.go

    	rfw := &readFromWriter{}
    	w := NewWriterSize(rfw, bufsize)
    
    	const writeSize = 8
    	if n, err := w.Write(input[:writeSize]); n != writeSize || err != nil {
    		t.Errorf("w.Write(%v bytes) = %v, %v; want %v, nil", writeSize, n, err, writeSize)
    	}
    	n, err := w.ReadFrom(bytes.NewReader(input[writeSize:]))
    	if wantn := len(input[writeSize:]); int(n) != wantn || err != nil {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
Back to top