Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,250 for atomics (0.1 sec)

  1. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

        long bitSize() {
          return (long) data.length() * Long.SIZE;
        }
    
        /**
         * Number of set bits (1s).
         *
         * <p>Note that because of concurrent set calls and uses of atomics, this bitCount is a (very)
         * close *estimate* of the actual number of bits set. It's not possible to do better than an
         * estimate without locking. Note that the number, if not exactly accurate, is *always*
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  2. cmd/service.go

    }
    
    // freezeServices will freeze all incoming S3 API calls.
    // For each call, unfreezeServices must be called once.
    func freezeServices() {
    	// Use atomics for globalServiceFreeze, so we can read without locking.
    	// We need a lock since we are need the 2 atomic values to remain in sync.
    	globalServiceFreezeMu.Lock()
    	// If multiple calls, first one creates channel.
    	globalServiceFreezeCnt++
    	if globalServiceFreezeCnt == 1 {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Feb 28 07:02:14 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  3. src/runtime/HACKING.md

    </table>
    
    Atomics
    =======
    
    The runtime uses its own atomics package at `internal/runtime/atomic`.
    This corresponds to `sync/atomic`, but functions have different names
    for historical reasons and there are a few additional functions needed
    by the runtime.
    
    In general, we think hard about the uses of atomics in the runtime and
    try to avoid unnecessary atomic operations. If access to a variable is
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  4. src/vendor/golang.org/x/sys/cpu/cpu_arm64.go

    		{Name: "sm3", Feature: &ARM64.HasSM3},
    		{Name: "sm4", Feature: &ARM64.HasSM4},
    		{Name: "sve", Feature: &ARM64.HasSVE},
    		{Name: "sve2", Feature: &ARM64.HasSVE2},
    		{Name: "crc32", Feature: &ARM64.HasCRC32},
    		{Name: "atomics", Feature: &ARM64.HasATOMICS},
    		{Name: "asimdhp", Feature: &ARM64.HasASIMDHP},
    		{Name: "cpuid", Feature: &ARM64.HasCPUID},
    		{Name: "asimrdm", Feature: &ARM64.HasASIMDRDM},
    		{Name: "fcma", Feature: &ARM64.HasFCMA},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicReference;
    import java.util.concurrent.locks.LockSupport;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  6. src/runtime/cgo/gcc_libinit.c

    //go:build unix
    
    // When cross-compiling with clang to linux/armv5, atomics are emulated
    // and cause a compiler warning. This results in a build failure since
    // cgo uses -Werror. See #65290.
    #pragma GCC diagnostic ignored "-Wpragmas"
    #pragma GCC diagnostic ignored "-Wunknown-warning-option"
    #pragma GCC diagnostic ignored "-Watomic-alignment"
    
    #include <pthread.h>
    #include <errno.h>
    #include <stdio.h>
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 01:07:18 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

    import java.util.concurrent.Future;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicReference;
    import java.util.concurrent.locks.LockSupport;
    import junit.framework.AssertionFailedError;
    import junit.framework.TestCase;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 46.7K bytes
    - Viewed (0)
  8. src/runtime/profbuf.go

    //		}
    //	}
    //	if uint32(overflow) > 0 {
    //		emit entry for uint32(overflow), time
    //	}
    type profBuf struct {
    	// accessed atomically
    	r, w         profAtomic
    	overflow     atomic.Uint64
    	overflowTime atomic.Uint64
    	eof          atomic.Uint32
    
    	// immutable (excluding slice content)
    	hdrsize uintptr
    	data    []uint64
    	tags    []unsafe.Pointer
    
    	// owned by reader
    	rNext       profIndex
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

    import java.util.concurrent.ScheduledThreadPoolExecutor;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link AbstractScheduledService}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

    import java.util.concurrent.ScheduledThreadPoolExecutor;
    import java.util.concurrent.TimeUnit;
    import java.util.concurrent.TimeoutException;
    import java.util.concurrent.atomic.AtomicBoolean;
    import java.util.concurrent.atomic.AtomicInteger;
    import java.util.concurrent.atomic.AtomicReference;
    import junit.framework.TestCase;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Unit test for {@link AbstractScheduledService}.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 22.5K bytes
    - Viewed (0)
Back to top