Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 74 for new_value (0.06 sec)

  1. android/guava/src/com/google/common/collect/RegularImmutableTable.java

       */
      final void checkNoDuplicate(R rowKey, C columnKey, @CheckForNull V existingValue, V newValue) {
        checkArgument(
            existingValue == null,
            "Duplicate key: (row=%s, column=%s), values: [%s, %s].",
            rowKey,
            columnKey,
            newValue,
            existingValue);
      }
    
      // redeclare to satisfy our test for b/310253115
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/SessionData.java

         *
         * @param key the key under which to store the session data, must not be {@code null}
         * @param oldValue the expected data currently associated with the key, may be {@code null}
         * @param newValue the data to associate with the key, may be {@code null} to remove the mapping
         * @return {@code true} if the key mapping was successfully updated from the old value to the new value,
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Feb 28 23:31:09 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java

        Integer oldValue = map.putInstance(Integer.class, Integer.valueOf(7));
        assertEquals(5, (int) oldValue);
    
        Integer newValue = map.getInstance(Integer.class);
        assertEquals(7, (int) newValue);
        assertEquals(7, (int) map.getInstance(TypeToken.of(Integer.class)));
    
        // Won't compile: map.putInstance(Double.class, new Long(42));
      }
    
      public void testNull() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/it/admin/LabelTypeTests.java

            return requestBody;
        }
    
        @Override
        protected Map<String, Object> getUpdateMap() {
            final Map<String, Object> updateMap = new HashMap<>();
            updateMap.put("value", "newValue");
            return updateMap;
        }
    
        @Test
        void crudTest() {
            testCreate();
            testRead();
            testUpdate();
            testDelete();
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/StatsTest.java

        assertThrows(IllegalArgumentException.class, () -> Stats.meanOf());
        assertThrows(IllegalArgumentException.class, () -> Stats.meanOf(ImmutableList.<Number>of()));
        assertThat(Stats.meanOf(ONE_VALUE)).isWithin(ALLOWED_ERROR).of(ONE_VALUE);
        assertThat(Stats.meanOf(POSITIVE_INFINITY)).isPositiveInfinity();
        assertThat(Stats.meanOf(NEGATIVE_INFINITY)).isNegativeInfinity();
        assertThat(Stats.meanOf(NaN)).isNaN();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/HashBiMap.java

       */
      private void replaceValueInEntry(int entry, @ParametricNullness V newValue, boolean force) {
        checkArgument(entry != ABSENT);
        int newValueHash = Hashing.smearedHash(newValue);
        int newValueIndex = findEntryByValue(newValue, newValueHash);
        if (newValueIndex != ABSENT) {
          if (force) {
            removeEntryValueHashKnown(newValueIndex, newValueHash);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 36.4K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/dependencies/sub-dependencies.md

    async def needy_dependency(fresh_value: Annotated[str, Depends(get_value, use_cache=False)]):
        return {"fresh_value": fresh_value}
    ```
    
    ////
    
    //// tab | Python 3.8+ non-Annotated
    
    /// tip
    
    Prefer to use the `Annotated` version if possible.
    
    ///
    
    ```Python hl_lines="1"
    async def needy_dependency(fresh_value: str = Depends(get_value, use_cache=False)):
        return {"fresh_value": fresh_value}
    ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

            for (i in 0 until url.querySize) {
              val parameterName = url.queryParameterName(i)
              val newValue = if (parameterName in queryParamsNameToRedact) "██" else url.queryParameterValue(i)
    
              addEncodedQueryParameter(parameterName, newValue)
            }
          }.toString()
        }
    
        private fun logHeader(
          headers: Headers,
          i: Int,
        ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/MinMaxPriorityQueueTest.java

      }
    
      private static void insertIntoReplica(Map<Integer, AtomicInteger> replica, int newValue) {
        if (replica.containsKey(newValue)) {
          replica.get(newValue).incrementAndGet();
        } else {
          replica.put(newValue, new AtomicInteger(1));
        }
      }
    
      private static void removeMinFromReplica(
          SortedMap<Integer, AtomicInteger> replica, int minValue) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35.9K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

       *
       * @param currentValue the current value (of either base or a cell)
       * @param newValue the argument from a user update call
       * @return result of the update function
       */
      abstract long fn(long currentValue, long newValue);
    
      /**
       * Handles cases of updates involving initialization, resizing, creating new Cells, and/or
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top