Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 121 - 130 of 222 for REFERENCES (0.05 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

       * getChecked(future, WillBeUnloadedException.class)}, and returns the loader. The caller can then
       * test that the {@code ClassLoader} can still be GCed. The test amounts to a test that {@code
       * getChecked} holds no strong references to the class.
       */
      private WeakReference<?> doTestClassUnloading() throws Exception {
        URLClassLoader shadowLoader = new URLClassLoader(parseJavaClassPath(), null);
        @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/util/concurrent/FuturesGetCheckedTest.java

       * getChecked(future, WillBeUnloadedException.class)}, and returns the loader. The caller can then
       * test that the {@code ClassLoader} can still be GCed. The test amounts to a test that {@code
       * getChecked} holds no strong references to the class.
       */
      private WeakReference<?> doTestClassUnloading() throws Exception {
        URLClassLoader shadowLoader = new URLClassLoader(parseJavaClassPath(), null);
        @SuppressWarnings("unchecked")
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 16.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ComparisonChain.java

     *           .thenComparing(foo -> foo.anEnum, nullsLast(naturalOrder()));
     *
     *   @Override
     *   public int compareTo(Foo that) {
     *     return COMPARATOR.compare(this, that);
     *   }
     * }
     *
     * <p>With method references it is more succinct: {@code comparing(Foo::aString)} for example.
     *
     * <p>Using {@link Comparator} avoids certain types of bugs, for example when you meant to write
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/helper/DocumentHelper.java

                }
            }
            return hash;
        }
    
        /**
         * Appends line numbers to each line of content with a given prefix.
         * Useful for debugging and displaying content with line references.
         *
         * @param prefix the prefix to add before each line number
         * @param content the content to add line numbers to
         * @return the content with line numbers prepended, or empty string if content is blank
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Mar 30 14:27:04 GMT 2026
    - 17.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/eventbus/EventBus.java

     * by individual libraries that provide specialized support for particular use cases.
     *
     * <p>Disadvantages of EventBus include:
     *
     * <ul>
     *   <li>It makes the cross-references between producer and subscriber harder to find. This can
     *       complicate debugging, lead to unintentional reentrant calls, and force apps to eagerly
     *       initialize all possible subscribers at startup time.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.7K bytes
    - Click Count (0)
  6. src/test/java/jcifs/internal/smb1/com/SmbComTreeDisconnectTest.java

            // Then
            assertNotSame(instance1, instance2);
            assertEquals(instance1.getCommand(), instance2.getCommand());
            assertNotEquals(instance1.toString(), instance2.toString()); // Different object references in toString
        }
    
        /**
         * Test thread safety of read/write operations
         */
        @Test
        @DisplayName("Test thread safety of operations")
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.5K bytes
    - Click Count (0)
  7. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GenerateReleaseNotesTask.java

            partitionedFiles.put(currentVersion, mutableAllFilesInCheckout);
    
            return partitionedFiles;
        }
    
        /**
         * Ensure the upstream git remote is up-to-date. The upstream is whatever git remote references `elastic/elasticsearch`.
         * @param gitWrapper used to call `git`
         */
        private static void findAndUpdateUpstreamRemote(GitWrapper gitWrapper) {
            LOGGER.info("Finding upstream git remote");
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 12.9K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/base/Predicates.java

       * null.
       *
       * <p><b>Discouraged:</b> Prefer using either {@code x -> x == null} or {@code Objects::isNull},
       * but note that lambdas and method references do not have human-readable {@link #toString()}
       * representations and are not serializable.
       */
      public static <T extends @Nullable Object> Predicate<T> isNull() {
        return ObjectPredicate.IS_NULL.withNarrowedType();
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 26.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/cache/LocalCache.java

            ReferenceQueue<V> queue, @Nullable V value, ReferenceEntry<K, V> entry);
    
        /**
         * Notify pending loads that a new value was set. This is only relevant to loading value
         * references.
         */
        void notifyNewValue(@Nullable V newValue);
    
        /**
         * Returns true if a new value is currently loading, regardless of whether there is an existing
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 143.5K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/collect/ObjectArrays.java

       * Returns an array containing all of the elements in the specified collection. This method
       * returns the elements in the order they are returned by the collection's iterator. The returned
       * array is "safe" in that no references to it are maintained by the collection. The caller is
       * thus free to modify the returned array.
       *
       * <p>This method assumes that the collection size doesn't change while the method is running.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jan 23 17:16:53 GMT 2026
    - 9.2K bytes
    - Click Count (0)
Back to Top