Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 494 for Sleeps (0.04 seconds)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

          yieldUntil(ResumePriority.BeforeOtherTasks) {
            contextSwitchCount > contextSwitchCountBefore
          }
        }
      }
    
      /** Sleep until [durationNanos] elapses. For use by the task threads. */
      fun sleep(durationNanos: Long) {
        taskRunner.withLock {
          val sleepUntil = nanoTime + durationNanos
          yieldUntil { nanoTime >= sleepUntil }
        }
      }
    
      /**
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/stream-json-lines.md

        App->>Client: Send Item 2
        App->>App: Produce Item 3
        Client->>Client: Process Item 2
        App->>Client: Send Item 3
        Client->>Client: Process Item 3
        Note over App: Keeps producing...
        Note over Client: Keeps consuming...
    ```
    
    Incluso podrĂ­a ser un stream infinito, donde sigues enviando datos.
    
    ## JSON Lines { #json-lines }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:12:26 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  3. docs/en/docs/tutorial/stream-json-lines.md

        App->>Client: Send Item 2
        App->>App: Produce Item 3
        Client->>Client: Process Item 2
        App->>Client: Send Item 3
        Client->>Client: Process Item 3
        Note over App: Keeps producing...
        Note over Client: Keeps consuming...
    ```
    
    It could even be an infinite stream, where you keep sending data.
    
    ## JSON Lines { #json-lines }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4.3K bytes
    - Click Count (0)
  4. fuzzing/fuzzingserver-test.sh

      exit 1
    fi
    which jq
    if [ $? != 0 ]; then
      echo "Run 'brew install jq'"
      exit 1
    fi
    
    trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT
    
    set -ex
    
    wstest -m fuzzingserver -s fuzzingserver-config.json &
    sleep 2 # wait for wstest to start
    
    java -jar target/okhttp-tests-*-jar-with-dependencies.jar
    
    jq '.[] as $in | $in | keys[] | . + " " + $in[.].behavior' target/fuzzingserver-report/index.json > target/fuzzingserver-actual.txt
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 26 02:01:32 GMT 2019
    - 673 bytes
    - Click Count (0)
  5. buildscripts/minio-iam-ldap-upgrade-import-test.sh

    	fi
    
    	rm -rf /tmp/data
    }
    
    create_iam_content_in_old_minio() {
    	echo "Creating IAM content in old minio instance."
    
    	MINIO_CI_CD=1 ./minio.${OLD_VERSION} server /tmp/data/{1...4} &
    	sleep 5
    
    	set -x
    	mc alias set old-minio http://localhost:9000 minioadmin minioadmin
    	mc ready old-minio
    	mc idp ldap add old-minio \
    		server_addr=localhost:389 \
    		server_insecure=on \
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 15:01:29 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  6. cmd/perf-tests.go

    					}
    				}()
    			}
    		}(index)
    	}
    
    	time.Sleep(duration)
    	xioutil.SafeClose(r.eof)
    	wg.Wait()
    	for globalNetPerfRX.ActiveConnections() != 0 {
    		time.Sleep(time.Second)
    	}
    	rx := float64(globalNetPerfRX.RXSample)
    	delta := globalNetPerfRX.firstToDisconnect.Sub(globalNetPerfRX.lastToConnect)
    	if delta < 0 {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 11.8K bytes
    - Click Count (0)
  7. src/packaging/deb/init.d/fess

    	return=$?
    	if [ $return -eq 0 ]; then
    		i=0
    		timeout=10
    		# Wait for the process to be properly started before exiting
    		until { kill -0 `cat "$PID_FILE"`; } >/dev/null 2>&1
    		do
    			sleep 1
    			i=$(($i + 1))
    			if [ $i -gt $timeout ]; then
    				log_end_msg 1
    				exit 1
    			fi
    		done
    	fi
    	log_end_msg $return
    	exit $return
    	;;		
      stop)
    	log_daemon_msg "Stopping $DESC"
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 15 06:32:15 GMT 2023
    - 5.8K bytes
    - Click Count (0)
  8. scripts/playwright/sql_databases/image02.py

    )
    try:
        for _ in range(3):
            try:
                response = httpx.get("http://localhost:8000/docs")
            except httpx.ConnectError:
                time.sleep(1)
                break
        with sync_playwright() as playwright:
            run(playwright)
    finally:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Oct 09 19:44:42 GMT 2024
    - 1.1K bytes
    - Click Count (0)
  9. docs/resiliency/resiliency-tests.sh

    	fi
    }
    
    function test_resiliency_success_with_server_down() {
    	echo
    	echo -e "${GREEN}Running test_resiliency_success_with_server_down ...${NC}"
    	# Stop one node
    	docker stop resiliency-minio1-1
    	sleep 10
    
    	verify_resiliency "${FUNCNAME[0]}"
    
    	# Finally restart the node
    	docker start resiliency-minio1-1
    
    	./mc ready myminio
    }
    
    function test_resiliency_failure_with_server_down_and_single_disk_offline() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sat Dec 21 04:24:45 GMT 2024
    - 20.5K bytes
    - Click Count (0)
  10. scripts/playwright/cookie_param_models/image01.py

    )
    try:
        for _ in range(3):
            try:
                response = httpx.get("http://localhost:8000/docs")
            except httpx.ConnectError:
                time.sleep(1)
                break
        with sync_playwright() as playwright:
            run(playwright)
    finally:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 1.2K bytes
    - Click Count (0)
Back to Top