Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 392 for Mutation (0.1 sec)

  1. cmd/site-replication-utils.go

    	for {
    		if err := sm.load(ctx, newObjectLayerFn()); err == nil {
    			<-ctx.Done()
    			return
    		}
    		duration := time.Duration(r.Float64() * float64(time.Second*10))
    		if duration < time.Second {
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			duration = time.Second
    		}
    		time.Sleep(duration)
    	}
    }
    
    // load resync metrics saved on disk into memory
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  2. cmd/batch-handlers.go

    		}
    	}
    }
    
    func (ri *batchJobInfo) updateAfter(ctx context.Context, api ObjectLayer, duration time.Duration, job BatchJobRequest) error {
    	if ri == nil {
    		return errInvalidArgument
    	}
    	now := UTCNow()
    	ri.mu.Lock()
    	var (
    		format, version uint16
    		jobTyp          string
    	)
    
    	if now.Sub(ri.LastUpdate) >= duration {
    		switch job.Type() {
    		case madmin.BatchJobReplicate:
    			format = batchReplFormat
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
  3. internal/config/callhome/callhome.go

    	Frequency time.Duration `json:"frequency"`
    }
    
    var configLock sync.RWMutex
    
    // Enabled - indicates if callhome is enabled or not
    func (c *Config) Enabled() bool {
    	configLock.RLock()
    	defer configLock.RUnlock()
    
    	return c.Enable
    }
    
    // FrequencyDur - returns the currently configured callhome frequency
    func (c *Config) FrequencyDur() time.Duration {
    	configLock.RLock()
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  4. internal/http/response-recorder.go

    	http.ResponseWriter
    	io.ReaderFrom
    	StatusCode int
    	// Log body of 4xx or 5xx responses
    	LogErrBody bool
    	// Log body of all responses
    	LogAllBody bool
    
    	ttfbHeader time.Duration
    	ttfbBody   time.Duration
    
    	StartTime time.Time
    	// number of bytes written
    	bytesWritten int
    	// number of bytes of response headers written
    	headerBytesWritten int
    	// Internal recording buffer
    	headers bytes.Buffer
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 17:13:00 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/MoreExecutors.java

       * @since 28.0 (but only since 33.4.0 in the Android flavor)
       */
      @J2ktIncompatible
      @GwtIncompatible // java.time.Duration
      public static ScheduledExecutorService getExitingScheduledExecutorService(
          ScheduledThreadPoolExecutor executor, Duration terminationTimeout) {
        return getExitingScheduledExecutorService(
            executor, toNanosSaturated(terminationTimeout), TimeUnit.NANOSECONDS);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Queues.java

      @GwtIncompatible // BlockingQueue
      @SuppressWarnings("Java7ApiChecker")
      @IgnoreJRERequirement // Users will use this only if they're already using Duration
      public static <E> int drain(
          BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout)
          throws InterruptedException {
        // TODO(b/126049426): Consider using saturateToNanos(timeout) instead.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 26 14:11:14 UTC 2024
    - 18.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/TestProperties.java

        static final String TEST_CONFIG_DIR = "test.config.dir";
        static final String TEST_CONFIG_FILE = "test.config.file";
    
        static final String TEST_MUTATIONS = "test.mutations";
    
        static final String EXCLUDE_TEST_MUTATIONS = "test.mutations.exclude";
    
        static final Object TEST_FIFO_PIPE = "test.pipe.fifo";
        static final Object TEST_TRANSACT_PIPE = "test.pipe.transact";
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Feb 29 16:38:58 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_extra_data_types/test_tutorial001_an.py

            "repeat_at": "15:30:00",
            "process_after": 300,
        }
        expected_response = data.copy()
        expected_response.update(
            {
                "start_process": "2018-12-22T14:05:00+00:00",
                "duration": 176_100,
                "item_id": item_id,
            }
        )
        response = client.put(f"/items/{item_id}", json=data)
        assert response.status_code == 200, response.text
        assert response.json() == expected_response
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Apr 19 00:11:40 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/RateLimiter.java

    import com.google.common.util.concurrent.SmoothRateLimiter.SmoothBursty;
    import com.google.common.util.concurrent.SmoothRateLimiter.SmoothWarmingUp;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.time.Duration;
    import java.util.Locale;
    import java.util.concurrent.TimeUnit;
    import javax.annotation.CheckForNull;
    
    /**
     * A rate limiter. Conceptually, a rate limiter distributes permits at a configurable rate. Each
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  10. internal/config/heal/help.go

    			Optional:    true,
    			Type:        "on|off",
    		},
    		config.HelpKV{
    			Key:         Sleep,
    			Description: `maximum sleep duration between objects to slow down heal operation` + defaultHelpPostfix(Sleep),
    			Optional:    true,
    			Type:        "duration",
    		},
    		config.HelpKV{
    			Key:         IOCount,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 11 21:48:54 UTC 2023
    - 1.8K bytes
    - Viewed (0)
Back to top