Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 281 for succeeded (0.11 sec)

  1. internal/lsync/lrwmutex_test.go

    	cunlock := make(chan bool)
    	cdone := make(chan bool)
    	for i := 0; i < numReaders; i++ {
    		go parallelReader(context.Background(), m, clocked, cunlock, cdone)
    	}
    	// Wait for all parallel RLock()s to succeed.
    	for i := 0; i < numReaders; i++ {
    		<-clocked
    	}
    	for i := 0; i < numReaders; i++ {
    		cunlock <- true
    	}
    	// Wait for the goroutines to finish.
    	for i := 0; i < numReaders; i++ {
    		<-cdone
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Mar 05 04:57:35 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

     * typically false on Windows.
     *
     * If this returns false we won't permit simultaneous reads and writes. When writes commit we need
     * to delete the previous snapshots, and that won't succeed if the file is open. (We do permit
     * multiple simultaneous reads.)
     *
     * @param file a file in the directory to check. This file shouldn't already exist!
     */
    internal fun FileSystem.isCivilized(file: Path): Boolean {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. tensorflow/c/eager/c_api.h

    // profiling tensors.
    typedef struct TFE_TensorDebugInfo TFE_TensorDebugInfo;
    
    // Retrieves TFE_TensorDebugInfo for `handle`.
    // If TFE_TensorHandleTensorDebugInfo succeeds, `status` is set to OK and caller
    // is responsible for deleting returned TFE_TensorDebugInfo.
    // If TFE_TensorHandleTensorDebugInfo fails, `status` is set to appropriate
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Apr 27 21:07:00 UTC 2023
    - 22.8K bytes
    - Viewed (0)
  4. src/archive/tar/strconv.go

    	if len(sn) < maxNanoSecondDigits {
    		sn += strings.Repeat("0", maxNanoSecondDigits-len(sn)) // Right pad
    	} else {
    		sn = sn[:maxNanoSecondDigits] // Right truncate
    	}
    	nsecs, _ := strconv.ParseInt(sn, 10, 64) // Must succeed
    	if len(ss) > 0 && ss[0] == '-' {
    		return time.Unix(secs, -1*nsecs), nil // Negative correction
    	}
    	return time.Unix(secs, nsecs), nil
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Aug 01 14:28:42 UTC 2023
    - 9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        // lockD -> lockA
        lockD.lock();
        lockA.lock();
        lockA.unlock();
        lockD.unlock();
    
        // lockA -> lockD should warn but otherwise succeed because lockD was
        // created by a factory with the WARN policy.
        lockA.lock();
        lockD.lock();
      }
    
      public void testReentrantLock_tryLock() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       * expectedOldValue} with {@code newValue} and returns true; otherwise, this method returns false.
       *
       * <p>If {@code expectedOldValue} is zero, this method will succeed if {@code (key, zero)} is
       * currently in the map, or if {@code key} is not in the map at all.
       */
      boolean replace(K key, long expectedOldValue, long newValue) {
        if (expectedOldValue == 0L) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/CycleDetectingLockFactoryTest.java

        // lockD -> lockA
        lockD.lock();
        lockA.lock();
        lockA.unlock();
        lockD.unlock();
    
        // lockA -> lockD should warn but otherwise succeed because lockD was
        // created by a factory with the WARN policy.
        lockA.lock();
        lockD.lock();
      }
    
      public void testReentrantLock_tryLock() throws Exception {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 22:10:29 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/io/TempFileCreator.java

          return new ThrowingCreator();
        } catch (ClassNotFoundException e) {
          // Should be impossible, but we want to return *something* so that class init succeeds.
          return new ThrowingCreator();
        } catch (IllegalAccessException e) {
          // ditto
          return new ThrowingCreator();
        }
    
        // Android isolates apps' temporary directories since Jelly Bean:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 06 17:11:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  9. CONTRIBUTING.md

    Errors are the only type of issues that must be resolved for the `checkBinaryCompatibility` task to succeed.
    
    You can set the 'bin.cmp.report.severity.filter' property in your `gradle.properties` to one of the available values in the dropdown box to automatically filter issues to that severity level upon opening this report.
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Nov 05 15:15:33 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/common/extensions.kt

                onDependencyCancel = FailureAction.FAIL_TO_START
            }
        }
    }
    
    fun Dependencies.compileAllDependency(compileAllId: String) {
        // Compile All has to succeed before anything else is started
        dependsOn(RelativeId(compileAllId))
        // Get the build receipt from sanity check to reuse the timestamp
        artifacts(RelativeId(compileAllId)) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 10 03:25:26 UTC 2024
    - 13.2K bytes
    - Viewed (0)
Back to top