Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for newKey (0.03 sec)

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

       * the position of the new key if it was previously present.
       */
      private void replaceKeyInEntry(int entry, @ParametricNullness K newKey, boolean force) {
        checkArgument(entry != ABSENT);
        int newKeyHash = Hashing.smearedHash(newKey);
        int newKeyIndex = findEntryByKey(newKey, newKeyHash);
    
        int newPredecessor = lastInInsertionOrder;
        int newSuccessor = ENDPOINT;
        if (newKeyIndex != ABSENT) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/fess/job/impl/ScriptExecutorTest.java

                    // Try to add new param
                    paramMap.put("newKey", "newValue");
                    return paramMap.size();
                }
            });
    
            // Execute first time
            Object result1 = scriptExecutor.execute("modifyEngine", "script1");
            assertEquals(2, result1); // executor + newKey
    
            // Execute second time - params should be fresh
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableMultimap.java

        }
    
        /**
         * Provides a hint for how many values will be associated with each key newly added to the
         * builder after this call. This does not change semantics, but may improve performance if
         * {@code expectedValuesPerKey} is a good estimate.
         *
         * <p>This may be called more than once; each newly added key will use the most recent call to
         * {@link #expectedValuesPerKey} as its hint.
         *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 28.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/Striped.java

          if (existing != null) {
            return existing;
          }
          L created = supplier.get();
          ArrayReference<L> newRef = new ArrayReference<>(created, index, queue);
          while (!locks.compareAndSet(index, existingRef, newRef)) {
            // we raced, we need to re-read and try again
            existingRef = locks.get(index);
            existing = existingRef == null ? null : existingRef.get();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 20.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableBiMap.java

        }
    
        @Override
        @CanIgnoreReturnValue
        Builder<K, V> combine(ImmutableMap.Builder<K, V> builder) {
          super.combine(builder);
          return this;
        }
    
        /**
         * Returns a newly-created immutable bimap. The iteration order of the returned bimap is the
         * order in which entries were inserted into the builder, unless {@link #orderEntriesByValue}
         * was called, in which case entries are sorted by value.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 22.2K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

      private var coordinatorWaiting = false
      private var coordinatorWakeUpAt = 0L
    
      /**
       * When we need a new thread to run tasks, we call [Backend.execute]. A few microseconds later we
       * expect a newly-started thread to call [Runnable.run]. We shouldn't request new threads until
       * the already-requested ones are in service, otherwise we might create more threads than we need.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableList.java

          return this;
        }
    
        /**
         * Returns a newly-created {@code ImmutableList} based on the contents of the {@code Builder}.
         */
        @Override
        public ImmutableList<E> build() {
          forceCopy = true;
          return asImmutableList(contents, size);
        }
    
        /**
         * Returns a newly-created {@code ImmutableList} based on the contents of the {@code Builder},
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 27.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java

              thrownAtomicReferenceFieldUpdaterFailure = atomicReferenceFieldUpdaterFailure;
              helper = new SynchronizedHelper();
            }
          }
        } else {
          /*
           * We avoid Unsafe, since newer JVMs produce warnings or even errors for attempts to use it.
           *
           * In guava-jre, we avoid Unsafe by using VarHandle instead. But if we have references to
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 33.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterables.java

      }
    
      /**
       * Copies an iterable's elements into an array.
       *
       * @param iterable the iterable to copy
       * @param type the type of the elements
       * @return a newly-allocated array into which all the elements of the iterable have been copied
       */
      @GwtIncompatible // Array.newInstance(Class, int)
      public static <T extends @Nullable Object> T[] toArray(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 43.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableMap.java

          }
          entriesUsed = true;
          return RegularImmutableMap.fromEntryArray(localSize, localEntries, throwIfDuplicateKeys);
        }
    
        /**
         * Returns a newly-created immutable map. The iteration order of the returned map is the order
         * in which entries were inserted into the builder, unless {@link #orderEntriesByValue} was
         * called, in which case entries are sorted by value.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 44.3K bytes
    - Viewed (0)
Back to top