Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 502 for swapped (0.14 sec)

  1. src/sync/atomic/doc.go

    func CompareAndSwapInt32(addr *int32, old, new int32) (swapped bool)
    
    // CompareAndSwapInt64 executes the compare-and-swap operation for an int64 value.
    // Consider using the more ergonomic and less error-prone [Int64.CompareAndSwap] instead
    // (particularly if you target 32-bit platforms; see the bugs section).
    func CompareAndSwapInt64(addr *int64, old, new int64) (swapped bool)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 11.7K bytes
    - Viewed (0)
  2. src/sync/map.go

    func (m *Map) CompareAndSwap(key, old, new any) (swapped bool) {
    	read := m.loadReadOnly()
    	if e, ok := read.m[key]; ok {
    		return e.tryCompareAndSwap(old, new)
    	} else if !read.amended {
    		return false // No existing value for key.
    	}
    
    	m.mu.Lock()
    	defer m.mu.Unlock()
    	read = m.loadReadOnly()
    	swapped = false
    	if e, ok := read.m[key]; ok {
    		swapped = e.tryCompareAndSwap(old, new)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. src/runtime/race.go

    //go:linkname abigen_sync_atomic_CompareAndSwapInt64 sync/atomic.CompareAndSwapInt64
    func abigen_sync_atomic_CompareAndSwapInt64(addr *int64, old, new int64) (swapped bool)
    
    //go:linkname abigen_sync_atomic_CompareAndSwapUint32 sync/atomic.CompareAndSwapUint32
    func abigen_sync_atomic_CompareAndSwapUint32(addr *uint32, old, new uint32) (swapped bool)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * a {@link MoveDesc}. The first one is the element that was previously at the end of the heap and
       * is now at some position before {@code index}. The second element is the one that was swapped
       * down to replace the element at {@code index}. This fact is used by iterator.remove so as to
       * visit elements during a traversal once and only once.
       */
      @VisibleForTesting
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 34K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

       * a {@link MoveDesc}. The first one is the element that was previously at the end of the heap and
       * is now at some position before {@code index}. The second element is the one that was swapped
       * down to replace the element at {@code index}. This fact is used by iterator.remove so as to
       * visit elements during a traversal once and only once.
       */
      @VisibleForTesting
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 34K bytes
    - Viewed (0)
  6. pkg/registry/discovery/endpointslice/strategy_test.go

    					},
    					{
    						Hostname: ptr.To("hostname-1b"),
    						NodeName: ptr.To("node-1"),
    					},
    				},
    			},
    		},
    		{
    			name:      "v1 request, updated endpoints with topology node names swapped",
    			v1Request: true,
    			originalEPS: &discovery.EndpointSlice{
    				Endpoints: []discovery.Endpoint{
    					{
    						Hostname:           ptr.To("hostname-1"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 27.3K bytes
    - Viewed (0)
  7. pkg/kubelet/cm/cpumanager/cpu_assignment.go

    // than one socket), the CPUs are selected as written above, with the only differences being that
    // (1) the order with which full sockets and full NUMA nodes are acquired is swapped, and (2) the
    // order with which lower-level topology elements are selected is also swapped accordingly. E.g.
    // when selecting full cores, the cores are selected starting from the ones in the NUMA node with
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 25 23:56:21 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  8. src/crypto/aes/asm_ppc64x.s

    // loaded by LOAD_KEY, and key size information held in CR1EQ/CR2EQ.
    //
    // Vxor is ideally V6 (Key[0-3]), but for slightly improved encrypting
    // performance V6 and IVEC can be swapped (xor is both associative and
    // commutative) during encryption:
    //
    //	VXOR INOUT, IVEC, INOUT
    //	VXOR INOUT, V6, INOUT
    //
    //	into
    //
    //	VXOR INOUT, V6, INOUT
    //	VXOR INOUT, IVEC, INOUT
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:05:32 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/Tables.java

       * changes the contents of the transposed table and vice versa.
       *
       * <p>The returned table supports update operations as long as the input table supports the
       * analogous operation with swapped rows and columns. For example, in a {@link HashBasedTable}
       * instance, {@code rowKeySet().iterator()} supports {@code remove()} but {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 04 22:45:41 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  10. src/syscall/exec_linux.go

    	} else {
    		flags |= uintptr(SIGCHLD)
    		if runtime.GOARCH == "s390x" {
    			// On Linux/s390, the first two arguments of clone(2) are swapped.
    			pid, err1 = rawVforkSyscall(SYS_CLONE, 0, flags, uintptr(unsafe.Pointer(&pidfd)))
    		} else {
    			pid, err1 = rawVforkSyscall(SYS_CLONE, flags, 0, uintptr(unsafe.Pointer(&pidfd)))
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 07:45:37 UTC 2024
    - 23K bytes
    - Viewed (0)
Back to top