Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Comments (0.16 sec)

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

         * for this with respect to reads.
         *
         * As a guide, all critical volatile reads and writes to the count field are marked in code
         * comments.
         */
    
        @Weak final MapMakerInternalMap<K, V, E, S> map;
    
        /**
         * The number of live elements in this segment's region. This does not include unset elements
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            assertEquals("https://project.url/license", pom.getValue("licenses[1]/url"));
            assertEquals("repo", pom.getValue("licenses[1]/distribution"));
            assertEquals("free", pom.getValue("licenses[1]/comments"));
    
            assertEquals(1, ((List<?>) pom.getValue("developers")).size());
            assertEquals("dev", pom.getValue("developers[1]/id"));
            assertEquals("project-developer", pom.getValue("developers[1]/name"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

         *     might be the keys' natural order)
         * @since 31.0
         */
        @Override
        @SuppressWarnings("unchecked") // see inline comments
        public ImmutableSortedMap<K, V> buildOrThrow() {
          switch (size) {
            case 0:
              return emptyMap(comparator);
            case 1:
              // We're careful to put only K and V instances in.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 53.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/Futures.java

             * pending, so its `state` field hasn't been nulled out yet.
             *
             * OK, it's technically possible for this to fail in the presence of unsafe publishing, as
             * discussed in the comments in TimeoutFuture. TODO(cpovirk): Maybe check for null before
             * calling recordOutputCancellation?
             */
            requireNonNull(localState).recordOutputCancellation(interruptIfRunning);
            return true;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/base/Preconditions.java

       */
      @CanIgnoreReturnValue
      public static int checkElementIndex(int index, int size, String desc) {
        // Carefully optimized for execution by hotspot (explanatory comment above)
        if (index < 0 || index >= size) {
          throw new IndexOutOfBoundsException(badElementIndex(index, size, desc));
        }
        return index;
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/base/Preconditions.java

       */
      @CanIgnoreReturnValue
      public static int checkElementIndex(int index, int size, String desc) {
        // Carefully optimized for execution by hotspot (explanatory comment above)
        if (index < 0 || index >= size) {
          throw new IndexOutOfBoundsException(badElementIndex(index, size, desc));
        }
        return index;
      }
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/reflect/TypeToken.java

       * `new TypeParameter<@Nullable T>() {}` and have it act as a plain `TypeParameter<T>`, but
       * hopefully no one would do that, anyway. See also the comment on TypeParameter itself.
       *
       * TODO(cpovirk): Elaborate on this / merge with other comment?
       */
      public final <X> TypeToken<T> where(TypeParameter<X> typeParam, TypeToken<X> typeArg) {
        TypeResolver resolver =
            new TypeResolver()
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jun 26 21:02:13 GMT 2023
    - 53.6K bytes
    - Viewed (0)
Back to top