- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for sleepytime (0.13 sec)
-
src/cmd/compile/internal/ssa/testdata/scopes.gdb-opt.nexts
46: f5(b) 48: f6(a) 33: for x := 0; x <= 1; x++ { // From delve scopetest.go 53: j = id(1) 54: f = id(2) 56: for i := 0; i <= 5; i++ { 58: if i == f { 62: sleepytime() 56: for i := 0; i <= 5; i++ { 58: if i == f { 62: sleepytime() 56: for i := 0; i <= 5; i++ { 58: if i == f { 59: fmt.Println("foo") 64: helloworld() 66: }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 02 22:18:10 UTC 2019 - 1.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/testdata/scopes.dlv-dbg.nexts
53: j = id(1) 54: f = id(2) 56: for i := 0; i <= 5; i++ { 57: j += j * (j ^ 3) / 100 58: if i == f { 62: sleepytime() 56: for i := 0; i <= 5; i++ { 57: j += j * (j ^ 3) / 100 58: if i == f { 62: sleepytime() 56: for i := 0; i <= 5; i++ { 57: j += j * (j ^ 3) / 100 58: if i == f { 59: fmt.Println("foo") 60: break 64: helloworld() 66: }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 23 18:05:07 UTC 2018 - 1.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/testdata/scopes.gdb-dbg.nexts
53: j = id(1) 54: f = id(2) 56: for i := 0; i <= 5; i++ { 57: j += j * (j ^ 3) / 100 58: if i == f { 62: sleepytime() 56: for i := 0; i <= 5; i++ { 57: j += j * (j ^ 3) / 100 58: if i == f { 62: sleepytime() 56: for i := 0; i <= 5; i++ { 57: j += j * (j ^ 3) / 100 58: if i == f { 59: fmt.Println("foo") 60: break 64: helloworld() 66: }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 23 18:05:07 UTC 2018 - 1.3K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/testdata/scopes.dlv-opt.nexts
46: f5(b) 48: f6(a) 33: for x := 0; x <= 1; x++ { // From delve scopetest.go 53: j = id(1) 54: f = id(2) 56: for i := 0; i <= 5; i++ { 58: if i == f { 62: sleepytime() 56: for i := 0; i <= 5; i++ { 58: if i == f { 62: sleepytime() 56: for i := 0; i <= 5; i++ { 58: if i == f { 59: fmt.Println("foo") 64: helloworld()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 02 22:18:10 UTC 2019 - 1.1K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/testdata/scopes.go
var ( j = id(1) f = id(2) ) for i := 0; i <= 5; i++ { j += j * (j ^ 3) / 100 if i == f { fmt.Println("foo") break } sleepytime() } helloworld() } } func sleepytime() { time.Sleep(5 * time.Millisecond) } func helloworld() { fmt.Println("Hello, World!") } //go:noinline func f1(x int) {} //go:noinline func f2(x int) {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 23 18:05:07 UTC 2018 - 1.4K bytes - Viewed (0) -
docs_src/sql_databases_peewee/sql_app/main.py
@app.get( "/slowusers/", response_model=List[schemas.User], dependencies=[Depends(get_db)] ) def read_slow_users(skip: int = 0, limit: int = 100): global sleep_time sleep_time = max(0, sleep_time - 1) time.sleep(sleep_time) # Fake long processing request users = crud.get_users(skip=skip, limit=limit)
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Mar 26 19:09:53 UTC 2020 - 2.2K bytes - Viewed (0) -
bin/update_proxy.sh
ISTIO_ENVOY_ARM_RELEASE_URL=${ISTIO_ENVOY_ARM_RELEASE_URL:-${ISTIO_ENVOY_BASE_URL}/envoy-alpha-${ISTIO_ENVOY_LINUX_VERSION}-arm64.tar.gz} SLEEP_TIME=60 printf "Verifying %s is available\n" "$ISTIO_ENVOY_RELEASE_URL" until curl --output /dev/null --silent --head --fail "$ISTIO_ENVOY_RELEASE_URL"; do printf '.' sleep $SLEEP_TIME done printf '\n' printf "Verifying %s is available\n" "$ISTIO_ENVOY_ARM_RELEASE_URL"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Aug 28 07:59:44 UTC 2023 - 1.9K bytes - Viewed (0) -
pkg/test/echo/server/forwarder/util.go
var responsesMu sync.Mutex var throttle *time.Ticker qps := int(cfg.Request.Qps) if qps > 0 { sleepTime := time.Second / time.Duration(qps) fwLog.Debugf("Sleeping %v between requests", sleepTime) throttle = time.NewTicker(sleepTime) defer throttle.Stop() } g := e.NewGroup() for index := 0; index < cfg.count; index++ { index := index workFn := func() error {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Oct 08 09:39:20 UTC 2023 - 4.4K bytes - Viewed (0) -
cluster/addons/addon-manager/kube-addons-main.sh
fi end_sec=$(date +"%s") len_sec=$((end_sec-start_sec)) # subtract the time passed from the sleep time if [[ ${len_sec} -lt ${ADDON_CHECK_INTERVAL_SEC} ]]; then sleep_time=$((ADDON_CHECK_INTERVAL_SEC-len_sec)) sleep ${sleep_time} fi
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 24 18:35:44 UTC 2022 - 2.9K bytes - Viewed (0) -
.github/actions/notify-translations/app/main.py
# Avoid race conditions with multiple labels sleep_time = random.random() * 10 # random number between 0 and 10 seconds logging.info( f"Sleeping for {sleep_time} seconds to avoid " "race conditions and multiple comments" ) time.sleep(sleep_time) # Get PR logging.debug(f"Processing PR: #{github_event.pull_request.number}")
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Sep 27 23:01:46 UTC 2023 - 12.4K bytes - Viewed (0)