- Sort Score
- Result 10 results
- Languages All
Results 11 - 17 of 17 for sleepTime (0.14 sec)
-
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) -
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) -
hack/lib/util.sh
# returns 0 if the shell command get output, 1 otherwise. kube::util::wait_for_success(){ local wait_time="$1" local sleep_time="$2" local cmd="$3" while [ "$wait_time" -gt 0 ]; do if eval "$cmd"; then return 0 else sleep "$sleep_time" wait_time=$((wait_time-sleep_time)) fi done return 1 } # Example: kube::util::trap_add 'echo "in trap DEBUG"' DEBUG
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 06:07:33 UTC 2024 - 25.9K bytes - Viewed (0) -
docs/em/docs/how-to/sql-databases-peewee.md
```Python hl_lines="2" # Something goes here def read_users(skip: int = 0, limit: int = 100): # Something goes here ``` ## ๐ฌ ๐ โฎ๏ธ ๐ ๐ ๐ผ ๐ โ *โก ๐ ๏ธ* ๐ ๐ฌ ๐ ๐ญ ๐จ โฎ๏ธ `time.sleep(sleep_time)`. โซ๏ธ ๐ โ๏ธ ๐ฝ ๐ ๐ โถ๏ธ & ๐ โ ๐ฅ โญ ๐ ๐. & ๐ ๐ ๐จ ๐ โ ๐ ๐ฅ ๐. ๐ ๐ ๐ช โก๏ธ ๐ ๐ฏ ๐ ๐ ๐ฑ โฎ๏ธ ๐ & FastAPI ๐ญ โ โฎ๏ธ ๐ ๐ฉ ๐ ๐งต.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:53:19 UTC 2024 - 19.2K bytes - Viewed (0) -
docs/en/docs/how-to/sql-databases-peewee.md
def read_users(skip: int = 0, limit: int = 100): # Something goes here ``` ## Testing Peewee with async This example includes an extra *path operation* that simulates a long processing request with `time.sleep(sleep_time)`. It will have the database connection open at the beginning and will just wait some seconds before replying back. And each new request will wait one second less.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Tue Jan 16 13:23:25 UTC 2024 - 23.6K bytes - Viewed (0)