Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 286 for rduration (0.05 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/store/batch.go

    	store  Store[I]
    	quitCh chan struct{}
    
    	sync.Mutex
    }
    
    // BatchConfig represents the batch config
    type BatchConfig[I any] struct {
    	Limit         uint32
    	Store         Store[I]
    	CommitTimeout time.Duration
    	Log           logger
    }
    
    // Add adds the item to the batch
    func (b *Batch[I]) Add(item I) error {
    	b.Lock()
    	defer b.Unlock()
    
    	if b.isFull() {
    		if b.store == nil {
    			return ErrBatchFull
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Sep 06 23:06:30 GMT 2024
    - 2.9K bytes
    - Click Count (0)
  2. cmd/bucket-replication.go

    	startTime := time.Now()
    	return func(sz int64, err error) {
    		duration := time.Since(startTime)
    		if globalTrace.NumSubscribers(madmin.TraceReplicationResync) > 0 {
    			globalTrace.Publish(replicationResyncTrace(resyncID, startTime, duration, path, err, sz))
    		}
    	}
    }
    
    func replicationResyncTrace(resyncID string, startTime time.Time, duration time.Duration, path string, err error, sz int64) madmin.TraceInfo {
    	var errStr string
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 118.2K bytes
    - Click Count (0)
  3. internal/ringbuffer/ring_buffer_test.go

    			debugln("READ 3\t", n, readBytes)
    			if err != nil && err != ErrAcquireLock && err != ErrIsEmpty {
    				readErr = err
    				break
    			}
    			if doSleep && readRng.Intn(20) == 0 {
    				time.Sleep(time.Duration(readRng.Intn(maxSleep)))
    			}
    		}
    	}()
    
    	// Writer
    	{
    		buf := make([]byte, 1024)
    		writeRng := rand.New(rand.NewSource(2))
    		for range 2500 {
    			writeRng.Read(buf)
    			// Write
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 26.7K bytes
    - Click Count (0)
  4. internal/grid/grid_test.go

    		}))
    	}
    	register(local)
    	register(remote)
    	// Double remote DL
    	local.debugMsg(debugAddToDeadline, wantDL)
    	defer local.debugMsg(debugAddToDeadline, time.Duration(0))
    	remote.debugMsg(debugAddToDeadline, wantDL)
    	defer remote.debugMsg(debugAddToDeadline, time.Duration(0))
    
    	testHandler := func(t *testing.T, handler HandlerID) {
    		remoteConn := local.Connection(remoteHost)
    		const testPayload = "Hello Grid World!"
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.1K bytes
    - Click Count (0)
  5. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/GAVUtilsTest.java

                long endTime = System.currentTimeMillis();
    
                // Performance assertion - should complete within reasonable time
                long duration = endTime - startTime;
                assertTrue(duration < 5000, "Artifact computation should complete within 5 seconds for 100 POMs");
    
                // Verify correctness
                assertNotNull(gavs, "Artifact set should not be null");
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 17.3K bytes
    - Click Count (0)
  6. internal/grid/connection.go

    		defer c.connMu.Unlock()
    		c.connPingInterval, _ = args[0].(time.Duration)
    		if c.connPingInterval < time.Second {
    			panic("CONN ping interval too low")
    		}
    	case debugSetClientPingDuration:
    		c.connMu.Lock()
    		defer c.connMu.Unlock()
    		c.clientPingInterval, _ = args[0].(time.Duration)
    	case debugAddToDeadline:
    		c.addDeadline, _ = args[0].(time.Duration)
    	case debugIsOutgoingClosed:
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 46.9K bytes
    - Click Count (0)
  7. docs/sts/web-identity.md

    By default, the temporary security credentials created by AssumeRoleWithWebIdentity last for one hour. However, the optional DurationSeconds parameter can be used to specify the validity duration of the generated credentials. This value varies from 900 seconds (15 minutes) up to the maximum session duration of 365 days.
    
    ## Configuring OpenID Identity Provider on MinIO
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/EventRecorder.kt

       *     take any event class.
       * @param elapsedMs the time in milliseconds elapsed since the immediately-preceding event, or
       *     -1L to take any duration.
       */
      fun takeEvent(
        eventClass: Class<out CallEvent>? = null,
        elapsedMs: Long = -1L,
      ): CallEvent {
        val result = eventSequence.remove()
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt

    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isTrue
    import java.io.IOException
    import java.util.concurrent.TimeUnit
    import kotlin.test.assertFailsWith
    import kotlin.time.Duration.Companion.seconds
    import kotlinx.coroutines.CancellationException
    import kotlinx.coroutines.Dispatchers
    import kotlinx.coroutines.TimeoutCancellationException
    import kotlinx.coroutines.coroutineScope
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Jun 20 11:46:46 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/projects/CheckProject.kt

    ) : Project({
            id("Check")
            name = "Check"
            val performanceTestBucketProvider =
                StatisticsBasedPerformanceTestBucketProvider(model, File("performance-test-durations.json"), File("performance-tests-ci.json"))
    
            params {
                param("credentialsStorageType", "credentialsJSON")
                // Disallow Web UI changes to TeamCity settings
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 3.9K bytes
    - Click Count (1)
Back to Top