Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 185 for timeFn (0.15 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/ServerSentEventIteratorTest.kt

              id: String?,
              type: String?,
              data: String,
            ) {
              callbacks.add(Event(id, type, data))
            }
    
            override fun onRetryChange(timeMs: Long) {
              callbacks.add(timeMs)
            }
          }
        val buffer = Buffer().writeUtf8(source)
        val reader = ServerSentEventReader(buffer, callback)
        while (reader.processNextEvent()) {
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. pkg/kubelet/types/types_test.go

    	}
    }
    
    func TestNewTimestamp(t *testing.T) {
    	timeStart := time.Now()
    	timestamp := NewTimestamp()
    	timeEnd := time.Now()
    	assert.WithinDuration(t, timestamp.Get(), timeStart, timeEnd.Sub(timeStart))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Aug 19 08:28:25 UTC 2022
    - 6.2K bytes
    - Viewed (0)
  3. .github/ISSUE_TEMPLATE/bug-report.yaml

    body:
      - type: textarea
        id: problem
        attributes:
          label: What happened?
          description: |
            Please provide as much info as possible. Not doing so may result in your bug not being addressed in a timely manner.
            If this matter is security related, please disclose it privately via https://kubernetes.io/security
        validations:
          required: true
    
      - type: textarea
        id: expected
        attributes:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 28 09:34:43 UTC 2022
    - 2.2K bytes
    - Viewed (0)
  4. platforms/documentation/docs/src/docs/userguide/running-builds/getting_started_eng.adoc

    [sidebar]
    _Training level_: **Beginner** +
    _Reading time_: **25 minutes**
    
    The core concepts cover:
    
    <<gradle_basics.adoc#gradle,Part 1.>> Gradle Overview +
    <<gradle_wrapper_basics.adoc#gradle_wrapper_basics,Part 2.>> Gradle's Wrapper +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 14 09:28:20 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/testing/benchmark.go

    	if b.timerOn {
    		b.duration += highPrecisionTimeSince(b.start)
    		runtime.ReadMemStats(&memStats)
    		b.netAllocs += memStats.Mallocs - b.startAllocs
    		b.netBytes += memStats.TotalAlloc - b.startBytes
    		b.timerOn = false
    	}
    }
    
    // ResetTimer zeroes the elapsed benchmark time and memory allocation counters
    // and deletes user-reported metrics.
    // It does not affect whether the timer is running.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/unix/syscall_linux_ppc64x.go

    //sys	futimesat(dirfd int, path string, times *[2]Timeval) (err error)
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Time(t *Time_t) (tt Time_t, err error)
    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    func setTimespec(sec, nsec int64) Timespec {
    	return Timespec{Sec: sec, Nsec: nsec}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/wait/delay.go

    import (
    	"context"
    	"sync"
    	"time"
    
    	"k8s.io/utils/clock"
    )
    
    // DelayFunc returns the next time interval to wait.
    type DelayFunc func() time.Duration
    
    // Timer takes an arbitrary delay function and returns a timer that can handle arbitrary interval changes.
    // Use Backoff{...}.Timer() for simple delays and more efficient timers.
    func (fn DelayFunc) Timer(c clock.Clock) Timer {
    	return &variableTimer{fn: fn, new: c.NewTimer}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 19:14:11 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  8. src/syscall/syscall_linux_ppc64x.go

    //sys	futimesat(dirfd int, path string, times *[2]Timeval) (err error)
    //sysnb	Gettimeofday(tv *Timeval) (err error)
    //sysnb	Time(t *Time_t) (tt Time_t, err error)
    //sys	Utime(path string, buf *Utimbuf) (err error)
    //sys	utimes(path string, times *[2]Timeval) (err error)
    
    //go:nosplit
    func rawSetrlimit(resource int, rlim *Rlimit) Errno {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 22:23:07 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  9. src/time/tick_test.go

    	// from the timer/ticker channel after Reset.
    	// When using Go 1.23 sync timers/tickers, draining is never needed
    	// (that's the whole point of the sync timer/ticker change).
    	drain1 := func() {
    		for range drainTries {
    			select {
    			case <-C:
    				return
    			default:
    			}
    			Sleep(sched)
    		}
    	}
    
    	// drainAsync removes potential stale time values after Stop/Reset.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  10. src/runtime/netpoll.go

    	user    uint32    // user settable cookie
    	rseq    uintptr   // protects from stale read timers
    	rt      timer     // read deadline timer
    	rd      int64     // read deadline (a nanotime in the future, -1 when expired)
    	wseq    uintptr   // protects from stale write timers
    	wt      timer     // write deadline timer
    	wd      int64     // write deadline (a nanotime in the future, -1 when expired)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
Back to top