Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 12 for burst (0.02 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          int oneSecWorthOfWork = rate;
          stopwatch.sleepMillis(rate * 1000);
          limiter.setRate(rate);
          long burst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // we allow one second worth of work to go in a burst (i.e. take less than a second)
          assertThat(burst).isAtMost(1000);
          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          int oneSecWorthOfWork = rate;
          stopwatch.sleepMillis(rate * 1000);
          limiter.setRate(rate);
          long burst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
          // we allow one second worth of work to go in a burst (i.e. take less than a second)
          assertThat(burst).isAtMost(1000);
          long afterBurst = measureTotalTimeMillis(limiter, oneSecWorthOfWork, new Random());
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 22K bytes
    - Click Count (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/CallLimitsTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import app.cash.burst.Burst
    import app.cash.burst.burstValues
    import java.io.IOException
    import java.util.Random
    import kotlin.test.assertFailsWith
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Mar 15 09:02:18 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorOverridesTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import app.cash.burst.Burst
    import app.cash.burst.burstValues
    import assertk.assertFailure
    import assertk.assertThat
    import assertk.assertions.hasMessage
    import assertk.assertions.isFailure
    import assertk.assertions.isFalse
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 28.8K bytes
    - Click Count (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3
    
    import app.cash.burst.Burst
    import assertk.all
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.containsExactly
    import assertk.assertions.doesNotContain
    import assertk.assertions.isEmpty
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 70.7K bytes
    - Click Count (0)
  6. build.gradle.kts

      alias(libs.plugins.android.junit5) apply false
      alias(libs.plugins.shadow) apply false
      alias(libs.plugins.graalvm) apply false
      alias(libs.plugins.ksp) apply false
      alias(libs.plugins.burst) apply false
      id("okhttp.dokka-multimodule-conventions")
    }
    
    tasks.wrapper {
      distributionType = Wrapper.DistributionType.ALL
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 839 bytes
    - Click Count (1)
  7. gradle/libs.versions.toml

    binary-compatibility-validator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version.ref = "binary-compatibility-validator" }
    bnd = { id = "biz.aQute.bnd", version.ref = "bnd" }
    burst = { id = "app.cash.burst", version.ref = "burst" }
    dokka = { id = "org.jetbrains.dokka", version.ref = "dokka" }
    graalvm = { id = "org.graalvm.buildtools.native", version.ref = "graalvm-plugin" }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Mar 31 22:01:48 GMT 2026
    - 12K bytes
    - Click Count (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.cache
    
    import app.cash.burst.Burst
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import assertk.assertions.isFalse
    import assertk.assertions.isNull
    import assertk.assertions.isSameInstanceAs
    import assertk.assertions.isTrue
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 59.4K bytes
    - Click Count (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HttpOverHttp2Test.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import app.cash.burst.Burst
    import app.cash.burst.burstValues
    import assertk.assertThat
    import assertk.assertions.contains
    import assertk.assertions.hasMessage
    import assertk.assertions.isCloseTo
    import assertk.assertions.isEqualTo
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 67.5K bytes
    - Click Count (0)
  10. okhttp/build.gradle.kts

      kotlin("plugin.serialization")
      id("okhttp.publish-conventions")
      id("okhttp.jvm-conventions")
      id("okhttp.quality-conventions")
      id("okhttp.testing-conventions")
      id("app.cash.burst")
      alias(libs.plugins.maven.sympathy)
    }
    
    val copyKotlinTemplates =
      tasks.register<Copy>("copyKotlinTemplates") {
        val kotlinTemplatesOutput = layout.buildDirectory.dir("generated/sources/kotlinTemplates")
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 22:16:39 GMT 2026
    - 11.4K bytes
    - Click Count (0)
Back to Top