Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 59 for newValues (0.4 sec)

  1. guava/src/com/google/common/util/concurrent/Monitor.java

     *     }
     *     V result = value;
     *     value = null;
     *     notifyAll();
     *     return result;
     *   }
     *
     *   public synchronized void set(V newValue) throws InterruptedException {
     *     while (value != null) {
     *       wait();
     *     }
     *     value = newValue;
     *     notifyAll();
     *   }
     * }
     * }
     *
     * <h3>{@code ReentrantLock}</h3>
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 42.8K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/entity/DataStoreParamsTest.java

        public void test_overwriteValues() {
            dataStoreParams.put("key1", "originalValue");
            assertEquals("originalValue", dataStoreParams.get("key1"));
    
            dataStoreParams.put("key1", "newValue");
            assertEquals("newValue", dataStoreParams.get("key1"));
    
            dataStoreParams.put("key1", null);
            assertNull(dataStoreParams.get("key1"));
        }
    
        // Test multiple operations in sequence
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  3. 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 Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jun 19 07:14:01 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jan 15 22:17:15 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

            .apply {
              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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/suggest/settings/SuggestSettingsBuilderTest.java

            assertEquals(true, builder.initialSettings.get("key3"));
    
            // Test overwriting existing setting
            builder.addInitialSettings("key1", "newValue1");
            assertEquals(3, builder.initialSettings.size());
            assertEquals("newValue1", builder.initialSettings.get("key1"));
        }
    
        @Test
        public void testAddInitialSettingsWithNullValue() {
            // Test adding null value
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Mon Sep 01 13:33:03 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/dict/protwords/ProtwordsFileTest.java

            ProtwordsItem item = new ProtwordsItem(1, "oldValue");
            item.setNewInput("newValue");
    
            ProtwordsFile.ProtwordsUpdater updater = protwordsFile.new ProtwordsUpdater(item);
    
            // Write the same item (should update)
            ProtwordsItem result = updater.write(item);
    
            assertNotNull(result);
            assertEquals("newValue", result.getInput());
            assertEquals(1, result.getId());
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/collect/testing/testers/MapComputeIfAbsentTester.java

      @CollectionSize.Require(absent = ZERO)
      public void testComputeIfAbsent_nullTreatedAsAbsent() {
        initMapWithNullValue();
        assertEquals(
            "computeIfAbsent(presentAssignedToNull, function) should return newValue",
            getValueForNullKey(),
            getMap()
                .computeIfAbsent(
                    getKeyForNullValue(),
                    k -> {
                      assertEquals(getKeyForNullValue(), k);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/RegularImmutableMap.java

       *     flooding attack
       */
      @CanIgnoreReturnValue
      static <K, V> @Nullable ImmutableMapEntry<K, V> checkNoConflictInKeyBucket(
          Object key,
          Object newValue,
          @Nullable ImmutableMapEntry<K, V> keyBucketHead,
          boolean throwIfDuplicateKeys)
          throws BucketOverflowException {
        int bucketSize = 0;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean replace(K key, @Nullable V oldValue, V newValue) {
        checkNotNull(key);
        checkNotNull(newValue);
        if (oldValue == null) {
          return false;
        }
        int hash = hash(key);
        return segmentFor(hash).replace(key, hash, oldValue, newValue);
      }
    
      @CanIgnoreReturnValue
      @Override
      public @Nullable V replace(K key, V value) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
Back to top