Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 299 for deltas (0.09 sec)

  1. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

              case ADD:
                {
                  int delta = random.nextInt(10);
                  multiset.add(key, delta);
                  deltas[keyIndex] += delta;
                  break;
                }
              case SET_COUNT:
                {
                  int newValue = random.nextInt(3);
                  int oldValue = multiset.setCount(key, newValue);
                  deltas[keyIndex] += (newValue - oldValue);
                  break;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/hash/HashTestUtils.java

              int key2 = key1 ^ delta;
    
              // get hashes
              int hash1 = function.hashInt(key1).asInt();
              int hash2 = function.hashInt(key2).asInt();
    
              // this 2-bit candidate delta is not a characteristic
              // if deltas are different
              if ((hash1 ^ hash2) != delta) {
                diff = true;
                continue;
              }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

            "run again after ${formatDuration(executeNanoTime - now)}"
          } else {
            "scheduled after ${formatDuration(executeNanoTime - now)}"
          }
        }
    
        // Insert in chronological order. Always compare deltas because nanoTime() is permitted to wrap.
        var insertAt = futureTasks.indexOfFirst { it.nextExecuteNanoTime - now > delayNanos }
        if (insertAt == -1) insertAt = futureTasks.size
        futureTasks.add(insertAt, task)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

      }
    
      /** Returns a new bias. */
      private fun adapt(
        delta: Int,
        numpoints: Int,
        first: Boolean,
      ): Int {
        var delta =
          when {
            first -> delta / DAMP
            else -> delta / 2
          }
        delta += (delta / numpoints)
        var k = 0
        while (delta > ((BASE - TMIN) * TMAX) / 2) {
          delta /= (BASE - TMIN)
          k += BASE
        }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. docs/en/docs/img/sponsors/deta.svg

    deta.svg...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 08 17:50:56 UTC 2021
    - 55.2K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

                            break;
                          case 5:
                            map.getAndAdd(key, delta);
                            threadSum += delta;
                            break;
                          case 6:
                            long oldValue = map.put(key, delta);
                            threadSum += delta - oldValue;
                            break;
                          case 7:
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. docs/pt/docs/advanced/settings.md

    Em muitos casos a sua aplicação pode precisar de configurações externas, como chaves secretas, credenciais de banco de dados, credenciais para serviços de email, etc.
    
    A maioria dessas configurações é variável (podem mudar), como URLs de bancos de dados. E muitas delas podem conter dados sensíveis, como tokens secretos.
    
    Por isso é comum prover essas configurações como variáveis de ambiente que são utilizidas pela aplicação.
    
    ## Variáveis de Ambiente
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/Count.java

      private int value;
    
      Count(int value) {
        this.value = value;
      }
    
      public int get() {
        return value;
      }
    
      public void add(int delta) {
        value += delta;
      }
    
      public int addAndGet(int delta) {
        return value += delta;
      }
    
      public void set(int newValue) {
        value = newValue;
      }
    
      public int getAndSet(int newValue) {
        int result = value;
        value = newValue;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Aug 05 00:40:25 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multisets.java

        checkNonnegative(count, "count");
    
        int oldCount = self.count(element);
    
        int delta = count - oldCount;
        if (delta > 0) {
          self.add(element, delta);
        } else if (delta < 0) {
          self.remove(element, -delta);
        }
    
        return oldCount;
      }
    
      /** An implementation of {@link Multiset#setCount(Object, int, int)}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/Multisets.java

        checkNonnegative(count, "count");
    
        int oldCount = self.count(element);
    
        int delta = count - oldCount;
        if (delta > 0) {
          self.add(element, delta);
        } else if (delta < 0) {
          self.remove(element, -delta);
        }
    
        return oldCount;
      }
    
      /** An implementation of {@link Multiset#setCount(Object, int, int)}. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 41.5K bytes
    - Viewed (0)
Back to top