Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 341 - 350 of 722 for sleeps (0.05 seconds)

  1. src/test/java/jcifs/tests/persistent/PersistentHandleManagerTest.java

            manager.requestDurableHandle("/test/file.txt", HandleType.DURABLE_V2, 100, // 100ms timeout
                    null);
    
            // Wait for expiration
            try {
                Thread.sleep(150);
            } catch (InterruptedException e) {
                Thread.currentThread().interrupt();
            }
    
            HandleInfo info = manager.getHandleForReconnect("/test/file.txt");
            assertNull(info);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 21 04:51:33 GMT 2025
    - 6.6K bytes
    - Click Count (0)
  2. guava-testlib/test/com/google/common/testing/FakeTickerTest.java

            new Callable<@Nullable Void>() {
              @Override
              public @Nullable Void call() throws Exception {
                // adds two nanoseconds to the ticker
                ticker.advance(1L);
                Thread.sleep(10);
                ticker.advance(1L);
                return null;
              }
            });
    
        assertEquals(numberOfThreads * 2, ticker.read());
      }
    
      @GwtIncompatible // concurrency
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 6.3K bytes
    - Click Count (0)
  3. cmd/erasure-sets.go

    	if !globalIsTesting {
    		go s.monitorAndConnectEndpoints(ctx, defaultMonitorConnectEndpointInterval)
    	}
    
    	return s, nil
    }
    
    // cleanup ".trash/" folder every 5m minutes with sufficient sleep cycles, between each
    // deletes a dynamic sleeper is used with a factor of 10 ratio with max delay between
    // deletes to be 2 seconds.
    func (s *erasureSets) cleanupDeletedObjects(ctx context.Context) {
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 37K bytes
    - Click Count (1)
  4. docs/en/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    {* ../../docs_src/pydantic_v1_in_v2/tutorial004_an_py310.py hl[4,18] *}
    
    ### Migrate in steps { #migrate-in-steps }
    
    /// tip
    
    First try with `bump-pydantic`, if your tests pass and that works, then you're done in one command. ✨
    
    ///
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  5. .github/workflows/maven.yml

      MIMIR_BASEDIR: ~/.mimir
      MIMIR_LOCAL: ~/.mimir/local
      MAVEN_OPTS: -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./target/java_heapdump.hprof
    
    jobs:
      initial-build:
        runs-on: ubuntu-latest
        steps:
          - name: Set up JDK
            uses: actions/setup-java@f2beeb24e141e01a676f977032f5a29d81c9e27e # v5.1.0
            with:
              java-version: 17
              distribution: 'temurin'
    
          - name: Checkout maven
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 04:24:24 GMT 2025
    - 12.2K bytes
    - Click Count (0)
  6. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

        override fun writeTo(sink: BufferedSink) {
          try {
            var i = 0
            while (i < contentLength()) {
              sink.write(chunk!!)
              sink.flush()
              Thread.sleep(100)
              i += chunk.size
            }
          } catch (e: IOException) {
            ioe = e
          } catch (e: InterruptedException) {
            throw RuntimeException(e)
          }
        }
      }
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Nov 05 18:28:35 GMT 2025
    - 70.5K bytes
    - Click Count (0)
  7. .github/workflows/containers.yml

        permissions:
          checks: write # for actions/upload-artifact
        runs-on: ubuntu-latest
        if: github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'containers')
    
        steps:
          - name: Checkout
            uses: actions/checkout@v6
    
          - name: Configure JDK
            uses: actions/setup-java@v5
            with:
              distribution: 'zulu'
              java-version: 17
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Nov 21 15:26:25 GMT 2025
    - 872 bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/AsyncRequestBody.kt

    import java.util.concurrent.TimeUnit.SECONDS
    import okhttp3.MediaType
    import okhttp3.RequestBody
    import okio.BufferedSink
    import org.junit.jupiter.api.Assertions.assertTrue
    
    /** A duplex request body that keeps the provided sinks so they can be written to later.  */
    class AsyncRequestBody : RequestBody() {
      private val requestBodySinks: BlockingQueue<BufferedSink> = LinkedBlockingQueue()
    
      override fun contentType(): MediaType? = null
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  9. .github/workflows/notify-on-rc-for-manual-test.yml

    run-name: Notify the IDE Experience team about new RCs for manual testing
    on:
      push:
        tags:
          - 'v*.*.*-RC1'
    
    permissions: {}
    
    jobs:
      send-slack-notification:
        runs-on: ubuntu-latest
        steps:
          - name: Send Slack notification about new RCs for manual testing
            id: slack
            uses: slackapi/slack-github-action@v2.1.1
            with:
              webhook: ${{ secrets.IDE_EXPERIENCE_TEAM_SLACK_WEBHOOK_URL }}
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jul 09 22:17:17 GMT 2025
    - 912 bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/util/WarmupEc2Agent.kt

                requiredSpace = "100mb"
            }
        }
    
        params {
            param("defaultBranchName", "master")
            param("env.JAVA_HOME", javaHome(BuildToolBuildJvm, Os.LINUX))
        }
    
        steps {
            gradleWrapper {
                name = "Resolve all dependencies"
                tasks = "resolveAllDependencies"
                gradleParams =
                    (
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Feb 12 09:12:03 GMT 2025
    - 1.2K bytes
    - Click Count (0)
Back to Top