Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 502 for mutation (0.19 seconds)

  1. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/LifecycleModuleBuilder.java

     * under the License.
     */
    package org.apache.maven.lifecycle.internal;
    
    import javax.inject.Inject;
    import javax.inject.Named;
    import javax.inject.Singleton;
    
    import java.time.Duration;
    import java.time.Instant;
    import java.util.HashSet;
    import java.util.List;
    
    import org.apache.maven.api.MonotonicClock;
    import org.apache.maven.execution.BuildSuccess;
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 20:01:00 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  2. src/main/java/jcifs/internal/smb2/multichannel/ChannelInfo.java

         *
         * @return throughput in bps
         */
        public long getThroughput() {
            long duration = System.currentTimeMillis() - establishedTime;
            if (duration == 0)
                return 0;
            return (bytesSent.get() + bytesReceived.get()) * 1000 / duration;
        }
    
        /**
         * Get number of pending operations
         *
         * @return number of pending operations
         */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

      }
    
      /** Determines whether the given method takes a Duration as its last parameter. */
      private static boolean isDurationBased(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
        return parameterTypes.length >= 1
            && parameterTypes[parameterTypes.length - 1] == Duration.class;
      }
    
      /** Determines whether the given method returns a boolean value. */
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.7K bytes
    - Click Count (0)
  4. cmd/batch-replicate.go

    //       sessionToken: ""
    
    // BatchReplicateFilter holds all the filters currently supported for batch replication
    type BatchReplicateFilter struct {
    	NewerThan     xtime.Duration `yaml:"newerThan,omitempty" json:"newerThan"`
    	OlderThan     xtime.Duration `yaml:"olderThan,omitempty" json:"olderThan"`
    	CreatedAfter  time.Time      `yaml:"createdAfter,omitempty" json:"createdAfter"`
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Thu Aug 01 12:53:30 GMT 2024
    - 6.3K bytes
    - Click Count (0)
  5. internal/ioutil/ioutil.go

    }
    
    // DeadlineWorker implements the deadline/timeout resiliency pattern.
    type DeadlineWorker struct {
    	timeout time.Duration
    }
    
    // NewDeadlineWorker constructs a new DeadlineWorker with the given timeout.
    // To return values, use the WithDeadline helper instead.
    func NewDeadlineWorker(timeout time.Duration) *DeadlineWorker {
    	dw := &DeadlineWorker{
    		timeout: timeout,
    	}
    	return dw
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 18 16:25:55 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  6. internal/logger/audit.go

    			delete(entry.ReqQuery, filterKey)
    			delete(entry.ReqHeader, filterKey)
    			delete(entry.RespHeader, filterKey)
    		}
    
    		var (
    			statusCode      int
    			timeToResponse  time.Duration
    			timeToFirstByte time.Duration
    			outputBytes     int64 = -1 // -1: unknown output bytes
    			headerBytes     int64
    		)
    
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    		if ok {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. internal/logger/logrotate.go

    	// When FileNameFunc is not specified, DefaultFilenameFunc will be used.
    	FileNameFunc func() string
    
    	// Compress specify if you want the logs to be compressed after rotation.
    	Compress bool
    }
    
    // Writer is a concurrency-safe writer with file rotation.
    type Writer struct {
    	// opts are the configuration options for this Writer
    	opts Options
    
    	// f is the currently open file used for appends.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  8. guava-tests/test/com/google/common/util/concurrent/UninterruptiblesTest.java

      private static Thread acquireFor(Lock lock, long duration, TimeUnit unit) {
        CountDownLatch latch = new CountDownLatch(1);
        Thread thread =
            new Thread() {
              @Override
              public void run() {
                lock.lock();
                try {
    
                  latch.countDown();
                  Thread.sleep(unit.toMillis(duration));
                } catch (InterruptedException e) {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 38.1K bytes
    - Click Count (0)
  9. cmd/site-replication-utils.go

    	for {
    		if err := sm.load(ctx, newObjectLayerFn()); err == nil {
    			<-ctx.Done()
    			return
    		}
    		duration := max(time.Duration(r.Float64()*float64(time.Second*10)),
    			// Make sure to sleep at least a second to avoid high CPU ticks.
    			time.Second)
    		time.Sleep(duration)
    	}
    }
    
    // load resync metrics saved on disk into memory
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableEnumSet.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import java.util.Set;
    
    /**
     * GWT emulation of {@link ImmutableEnumSet}. The type parameter is not bounded by {@code Enum<E>}
     * to avoid code-size bloat.
     *
     * @author Hayward Chan
     */
    final class ImmutableEnumSet<E> extends ForwardingImmutableSet<E> {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.2K bytes
    - Click Count (0)
Back to Top