Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for addFile (0.16 sec)

  1. cmd/xl-storage-disk-id-check.go

    	mu        sync.Mutex
    	init      sync.Once
    	lastMinuteLatency
    }
    
    func (e *lockedLastMinuteLatency) add(value time.Duration) {
    	e.addSize(value, 0)
    }
    
    // addSize will add a duration and size.
    func (e *lockedLastMinuteLatency) addSize(value time.Duration, sz int64) {
    	// alloc on every call, so we have a clean entry to swap in.
    	t := time.Now().Unix()
    	e.init.Do(func() {
    		e.cached.Store(&AccElem{})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Apr 28 17:53:50 GMT 2024
    - 33K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/ListsTest.java

        assertTransformModifiable(list);
      }
    
      private static void assertTransformModifiable(List<String> list) {
        try {
          list.add("5");
          fail("transformed list is addable");
        } catch (UnsupportedOperationException expected) {
        }
        list.remove(0);
        assertEquals(asList("2", "3", "4"), list);
        list.remove("3");
        assertEquals(asList("2", "4"), list);
        try {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
  3. cmd/bucket-replication-stats.go

    		b.ReplicatedCount++
    		if rs.TransferDuration > 0 {
    			b.Latency.update(rs.TransferSize, rs.TransferDuration)
    			b.updateXferRate(rs.TransferSize, rs.TransferDuration)
    		}
    	case rs.Failed:
    		b.FailStats.addsize(rs.TransferSize, rs.Err)
    	case rs.Pending:
    	}
    }
    
    type replStat struct {
    	Arn       string
    	Completed bool
    	Pending   bool
    	Failed    bool
    	opType    replication.Type
    	// transfer size
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ListsTest.java

        assertTransformModifiable(list);
      }
    
      private static void assertTransformModifiable(List<String> list) {
        try {
          list.add("5");
          fail("transformed list is addable");
        } catch (UnsupportedOperationException expected) {
        }
        list.remove(0);
        assertEquals(asList("2", "3", "4"), list);
        list.remove("3");
        assertEquals(asList("2", "4"), list);
        try {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 17 16:33:44 GMT 2024
    - 35.2K bytes
    - Viewed (0)
Back to top