Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 475 for Attempts (0.05 seconds)

  1. internal/dsync/drwmutex.go

    				return locked
    			}
    
    			switch {
    			case opts.RetryInterval < 0:
    				return false
    			case opts.RetryInterval > 0:
    				time.Sleep(opts.RetryInterval)
    			default:
    				attempt++
    				time.Sleep(lockRetryBackOff(dm.rng, attempt))
    			}
    		}
    	}
    }
    
    func (dm *DRWMutex) startContinuousLockRefresh(lockLossCallback func(), id, source string, quorum int) {
    	ctx, cancel := context.WithCancel(context.Background())
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
     *
     * <p>This testing utility is not thread-safe.
     *
     * @author Kevin Bourrillion
     */
    @GwtCompatible
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  3. build-logic/integration-testing/src/main/kotlin/gradlebuild.cross-version-tests.gradle.kts

    createQuickFeedbackTasks()
    createAggregateTasks(sourceSet)
    configureIde(TestType.CROSSVERSION)
    configureTestFixturesForCrossVersionTests()
    
    fun configureTestFixturesForCrossVersionTests() {
        // do not attempt to find projects when the plugin is applied just to generate accessors
        if (project.name != "gradle-kotlin-dsl-accessors" && project.name != "test" /* remove once wrapper is updated */) {
            dependencies {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Sep 05 02:31:24 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt

        buffer.writeUtf8("hello ".repeat(1024))
        assertThat(buffer.isProbablyUtf8(100L)).isTrue()
        assertThat(buffer.readUtf8()).isEqualTo("hello ".repeat(1024))
      }
    
      /** Confirm [isProbablyUtf8] doesn't attempt to read the entire stream. */
      @Test fun doesNotReadEntireSource() {
        val unlimitedSource =
          object : Source {
            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon Oct 06 22:47:06 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A TimeLimiter implementation which actually does not attempt to limit time at all. This may be
     * desirable to use in some unit tests. More importantly, attempting to debug a call which is
     * time-limited would be extremely annoying, so this gives you a time-limiter you can easily swap in
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  6. build-logic/integration-testing/src/main/kotlin/gradlebuild.test-fixtures.gradle.kts

    val testFixturesApiElements by configurations
    
    // Required due to: https://github.com/gradle/gradle/issues/13278
    testFixturesRuntimeElements.extendsFrom(testFixturesRuntimeOnly)
    
    // do not attempt to find projects when the plugin is applied just to generate accessors
    if (project.name != "gradle-kotlin-dsl-accessors" && project.name != "test" /* remove once wrapper is updated */) {
        dependencies {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Jun 24 14:00:52 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  7. misc/ios/README

    id and a provisioned bundle id to use. They're specified with the environment variables
    GOIOS_DEV_ID, GOIOS_TEAM_ID and GOIOS_APP_ID. The detect.go program in this directory will
    attempt to auto-detect suitable values. Run it as
    
    	go run detect.go
    
    which will output something similar to
    
    	export GOIOS_DEV_ID="iPhone Developer: ******@****.*** (XXXXXXXX)"
    	export GOIOS_APP_ID=YYYYYYYY.some.bundle.id
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 29 21:49:26 GMT 2020
    - 2.7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/util/concurrent/FakeTimeLimiter.java

    import java.util.concurrent.Callable;
    import java.util.concurrent.ExecutionException;
    import java.util.concurrent.TimeUnit;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A TimeLimiter implementation which actually does not attempt to limit time at all. This may be
     * desirable to use in some unit tests. More importantly, attempting to debug a call which is
     * time-limited would be extremely annoying, so this gives you a time-limiter you can easily swap in
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  9. internal/disk/directio_unsupported.go

    const ODirectPlatform = false
    
    // OpenBSD, Windows, and illumos do not support O_DIRECT.
    // On Windows there is no documentation on disabling O_DIRECT.
    // For these systems we do not attempt to build the 'directio' dependency since
    // the O_DIRECT symbol may not be exposed resulting in a failed build.
    //
    //
    // On illumos an explicit O_DIRECT flag is not necessary for two primary
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 18 18:08:15 GMT 2023
    - 2.6K bytes
    - Click Count (0)
  10. src/test/java/jcifs/smb/SmbCopyUtilTest.java

            SmbAuthException authEx = new SmbAuthException("denied");
    
            when(dest.openUnshared(anyInt(), anyInt(), anyInt(), anyInt(), anyInt())).thenThrow(authEx) // first attempt fails with auth
                    .thenReturn(handle); // second attempt succeeds
    
            // dest currently has READONLY attribute set
            int currentAttrs = SmbConstants.ATTR_READONLY | SmbConstants.ATTR_ARCHIVE;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.1K bytes
    - Click Count (0)
Back to Top