Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 639 for swapped (0.21 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. platforms/ide/ide/src/integTest/groovy/org/gradle/plugins/ide/AbstractSourcesAndJavadocJarsIntegrationTest.groovy

            ideFileContainsGradleApi("gradle-api")
        }
    
        @ToBeFixedForConfigurationCache
        @Requires(UnitTestPreconditions.StableGroovy) // localGroovy() version cannot be swapped-out when a snapshot Groovy build is used
        def "sources for localGroovy() are downloaded and attached"() {
            given:
            def repo = givenGroovyExistsInGradleRepo()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:12 UTC 2023
    - 20.9K bytes
    - Viewed (0)
  4. 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)
  5. internal/hash/reader_test.go

    			actualSize: -1,
    			sha256hex:  "88d4266fd4e6338d13b845fcf289579d209c897823b9217da3e161936f031589",
    			err:        ioutil.ErrOverread,
    		},
    		7: {
    			desc:       "Correct sha256, nested, truncated, swapped",
    			src:        mustReader(t, bytes.NewReader([]byte("abcd-more-stuff-to-be ignored")), 4, "", "", -1),
    			size:       4,
    			actualSize: -1,
    			sha256hex:  "88d4266fd4e6338d13b845fcf289579d209c897823b9217da3e161936f031589",
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top