Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 68 for mutate1 (0.08 sec)

  1. cmd/globals.go

    	// Only needed for tracking
    	globalServiceFreezeCnt int32
    	globalServiceFreezeMu  sync.Mutex // Updates.
    
    	// Map of local drives to this node, this is set during server startup,
    	// disk reconnect and mutated by HealFormat. Hold globalLocalDrivesMu to access.
    	globalLocalDrivesMap map[string]StorageAPI
    	globalLocalDrivesMu  sync.RWMutex
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 18:23:41 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

       * exists but cannot be used for another exchange, it is closed and this returns null.
       */
      private fun planReuseCallConnection(): ReusePlan? {
        // This may be mutated by releaseConnectionNoEvents()!
        val candidate = connectionUser.candidateConnection() ?: return null
    
        // Make sure this connection is healthy & eligible for new exchanges. If it's no longer needed
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 12K bytes
    - Viewed (0)
  3. guava/src/com/google/common/hash/BloomFilterStrategies.java

          return new LockFreeBitArray(toPlainArray(data));
        }
    
        /**
         * Combines the two BitArrays using bitwise OR.
         *
         * <p>NOTE: Because of the use of atomics, if the other LockFreeBitArray is being mutated while
         * this operation is executing, not all of those new 1's may be set in the final state of this
         * LockFreeBitArray. The ONLY guarantee provided is that all the bits that were set in the other
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        // user-specified -XX:+DisableExplicitGC.
        //
        // TODO(user): Consider using
        // java/lang/management/OperatingSystemMXBean.html#getSystemLoadAverage()
        //
        // TODO(user): Consider scaling by number of mutator threads,
        // e.g. using Thread#activeCount()
        return max(10L, Runtime.getRuntime().totalMemory() / (32L * 1024L * 1024L));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

       *
       * <p>For example, verify that calls to remove() actually removed the correct elements.
       *
       * @param elements the expected elements passed to the constructor, as mutated by {@code
       *     remove()}, {@code set()}, and {@code add()} calls
       */
      protected void verify(List<E> elements) {}
    
      /** Executes the test. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableTableTest.java

              @Override
              public String getValue() {
                return holder.string;
              }
            };
    
        // Add the mutable cell to the builder
        builder.put(mutableCell);
    
        // Mutate the value
        holder.string = "bar";
    
        // Make sure it uses the original value.
        assertEquals(ImmutableTable.of('K', 42, "foo"), builder.build());
      }
    
      public void testBuilder_noDuplicates() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/TreeRangeMap.java

          return;
        }
    
        Range<K> coalescedRange = coalescedRange(range, checkNotNull(value));
        put(coalescedRange, value);
      }
    
      /** Computes the coalesced range for the given range+value - does not mutate the map. */
      private Range<K> coalescedRange(Range<K> range, V value) {
        Range<K> coalescedRange = range;
        Entry<Cut<K>, RangeMapEntry<K, V>> lowerEntry =
            entriesByLowerBound.lowerEntry(range.lowerBound);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.9K bytes
    - Viewed (0)
  8. cmd/local-locker.go

    		defer l.mutex.Unlock()
    		if len(args.UID) == 0 {
    			for _, resource := range args.Resources {
    				lris, ok := l.lockMap[resource]
    				if !ok {
    					continue
    				}
    				// Collect uids, so we don't mutate while we delete
    				uids := make([]string, 0, len(lris))
    				for _, lri := range lris {
    					uids = append(uids, lri.UID)
    				}
    
    				// Delete collected uids:
    				for _, uid := range uids {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/MultimapsTest.java

        assertFalse(unmod.entries().contains(nefariousMapEntry("pwnd", 2)));
        assertFalse(unmod.keys().contains("pwnd"));
      }
    
      /**
       * The supplied multimap will be mutated and an unmodifiable instance used in its stead. The
       * multimap must support null keys and values.
       */
      private static void checkUnmodifiableMultimap(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/hash/HashCode.java

      /**
       * Returns a mutable view of the underlying bytes for the given {@code HashCode} if it is a
       * byte-based hashcode. Otherwise it returns {@link HashCode#asBytes}. Do <i>not</i> mutate this
       * array or else you will break the immutability contract of {@code HashCode}.
       */
      byte[] getBytesInternal() {
        return asBytes();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
Back to top