Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 34 for atomically (0.05 seconds)

  1. android/guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.io.Serializable;
    import java.util.concurrent.atomic.AtomicLongArray;
    
    /**
     * A {@code double} array in which elements may be updated atomically. See the {@link
     * java.util.concurrent.atomic} package specification for description of the properties of atomic
     * variables.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 8.1K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/util/concurrent/AtomicDouble.java

        value.lazySet(next);
      }
    
      /**
       * Atomically sets to the given value and returns the old value.
       *
       * @param newValue the new value
       * @return the previous value
       */
      public final double getAndSet(double newValue) {
        long next = doubleToRawLongBits(newValue);
        return longBitsToDouble(value.getAndSet(next));
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jan 29 22:14:05 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  3. doc/README.md

    unfinished release note work.
    
    To prepare the release notes for a release, run `relnote generate`.
    That will merge the `.md` files in `next` into a single file.
    Atomically (as close to it as possible) add that file to `_content/doc` directory
    of the website repository and remove the `doc/next` directory in this repository.
    
    To begin the next release development cycle, populate the contents of `next`
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Jul 22 17:55:04 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  4. cmd/data-scanner-metric.go

    )
    
    //go:generate stringer -type=scannerMetric -trimprefix=scannerMetric $GOFILE
    
    type scannerMetric uint8
    
    type scannerMetrics struct {
    	// All fields must be accessed atomically and aligned.
    	operations [scannerMetricLast]uint64
    	latency    [scannerMetricLastRealtime]lockedLastMinuteLatency
    
    	// actions records actions performed.
    	actions        [lifecycle.ActionCount]uint64
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Oct 01 06:06:01 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

    import java.util.Map.Entry;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.atomic.AtomicLong;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A map containing {@code long} values that can be atomically updated. While writes to a
     * traditional {@code Map} rely on {@code put(K, V)}, the typical mechanism for writing to this map
     * is {@code addAndGet(K, long)}, which adds a {@code long} to the value currently associated with
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed May 14 13:21:19 GMT 2025
    - 14K bytes
    - Click Count (0)
  6. cmd/bucket-metadata-sys.go

    	}
    }
    
    // Set - sets a new metadata in-memory.
    // Only a shallow copy is saved and fields with references
    // cannot be modified without causing a race condition,
    // so they should be replaced atomically and not appended to, etc.
    // Data is not persisted to disk.
    func (sys *BucketMetadataSys) Set(bucket string, meta BucketMetadata) {
    	if !isMinioMetaBucketName(bucket) {
    		sys.Lock()
    		sys.metadataMap[bucket] = meta
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.4K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

     * A helper which does some thread-safe operations for aggregate futures, which must be implemented
     * differently in GWT. Namely:
     *
     * <ul>
     *   <li>Lazily initializes a set of seen exceptions
     *   <li>Decrements a counter atomically
     * </ul>
     */
    @GwtCompatible
    @ReflectionSupport(value = ReflectionSupport.Level.FULL)
    abstract class AggregateFutureState<OutputT extends @Nullable Object>
        extends AbstractFuture.TrustedFuture<OutputT> {
      /*
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

            session.release();
    
            // Then - Trees should be cleared (we can't directly verify as it's internal,
            // but the cleanup code with synchronized block ensures it happens atomically)
            // The important part is that no exception occurs and the operation is atomic
        }
    
        /**
         * Test concurrent acquire and release operations.
         */
        @Test
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 11K bytes
    - Click Count (0)
  9. cmd/os-instrumented.go

    func init() {
    	// Inject metrics.
    	ioutilx.OsOpenFile = OpenFile
    	ioutilx.OpenFileDirectIO = OpenFileDirectIO
    	ioutilx.OsOpen = Open
    }
    
    type osMetrics struct {
    	// All fields must be accessed atomically and aligned.
    	operations [osMetricLast]uint64
    	latency    [osMetricLast]lockedLastMinuteLatency
    }
    
    // time an os action.
    func (o *osMetrics) time(s osMetric) func() {
    	startTime := time.Now()
    	return func() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

        @Test
        public void test_atomicCreateDirectories_nestedPath() throws Exception {
            // Test that Files.createDirectories creates nested directories atomically
            Path tempDir = Files.createTempDirectory("toctou_cmd_test");
            try {
                Path nestedPath = tempDir.resolve("a").resolve("b").resolve("c");
                assertFalse(Files.exists(nestedPath));
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 27.8K bytes
    - Click Count (0)
Back to Top