Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 832 for todos (0.03 sec)

  1. guava-tests/test/com/google/common/collect/IterablesTest.java

         */
        @Override
        public Iterator<String> iterator() {
          throw new UnsupportedOperationException();
        }
      }
    
      public void testGetLast_withDefault_not_empty_list() {
        // TODO: verify that this is the best testing strategy.
        List<String> diesOnIteratorList = new DiesOnIteratorArrayList();
        diesOnIteratorList.add("bar");
    
        assertEquals("bar", Iterables.getLast(diesOnIteratorList, "qux"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactHashSet.java

     *
     * @author Dimitris Andreou
     * @author Jon Noack
     */
    @GwtIncompatible // not worth using in GWT for now
    class CompactHashSet<E extends @Nullable Object> extends AbstractSet<E> implements Serializable {
      // TODO(user): cache all field accesses in local vars
    
      /** Creates an empty {@code CompactHashSet} instance. */
      public static <E extends @Nullable Object> CompactHashSet<E> create() {
        return new CompactHashSet<>();
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 23.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/TypeResolver.java

            if (lowerBounds.length == 0) { // ? extends something changes to capture-of
              return captureAsTypeVariable(wildcardType.getUpperBounds());
            } else {
              // TODO(benyu): handle ? super T somehow.
              return type;
            }
          }
          throw new AssertionError("must have been one of the known types");
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

     * Collection} and {@link Iterator} interfaces.
     *
     * @author Doug Lea
     * @author Justin T. Sampson
     * @param <E> the type of elements held in this collection
     */
    // TODO(kak): consider removing some of the @CanIgnoreReturnValue annotations as appropriate
    @NullUnmarked
    public class MonitorBasedArrayBlockingQueue<E> extends AbstractQueue<E>
        implements BlockingQueue<E> {
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

         * @return formatted file size string (e.g., "1.5M", "2.3G", "512K")
         */
        public static String formatFileSize(final long value) {
            double target = value;
            String unit = ""; // TODO l10n?
            String format = "0.#";
            if (value < 1024) {
                format = "0";
            } else if (value < 1024L * 1024L) {
                target /= 1024;
                unit = "K";
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  6. api/maven-api-settings/src/main/mdo/settings.mdo

              <description>
                The condition which must be satisfied to activate the profile.
              </description>
            </field>
          </fields>
        </class>
    
        <!-- TODO: reproduced from maven-model/maven.mdo, instead should inherit code and link to external docs -->
        <class java.clone="deep">
          <name>RepositoryBase</name>
          <version>1.0.0+</version>
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Sun May 18 09:15:56 UTC 2025
    - 33.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/PreconditionsTest.java

            assertThrows(
                IllegalArgumentException.class, () -> checkArgument(false, "A %s C", (Object) null));
        assertThat(e).hasMessageThat().isEqualTo("A null C");
      }
    
      @J2ktIncompatible // TODO(b/319404022): Allow passing null array as varargs
      public void testCheckArgument_singleNullArray_failure() {
        IllegalArgumentException e =
            assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/base/PreconditionsTest.java

            assertThrows(
                IllegalArgumentException.class, () -> checkArgument(false, "A %s C", (Object) null));
        assertThat(e).hasMessageThat().isEqualTo("A null C");
      }
    
      @J2ktIncompatible // TODO(b/319404022): Allow passing null array as varargs
      public void testCheckArgument_singleNullArray_failure() {
        IllegalArgumentException e =
            assertThrows(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 19K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableRangeSetTest.java

                }
                for (int i = -3; i <= 3; i++) {
                  assertEquals(expected.contains(i), subRangeSet.contains(i));
                }
              }
            }
          }
        }
      }
    
      // TODO(b/172823566): Use mainline testToImmutableRangeSet once CollectorTester is usable to java7
      public void testToImmutableRangeSet_java7_combine() {
        Range<Integer> rangeOne = Range.closedOpen(1, 3);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Jan 25 16:19:30 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/asm.go

    	"cmd/asm/internal/arch"
    	"cmd/asm/internal/flags"
    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    	"cmd/internal/obj/ppc64"
    	"cmd/internal/obj/riscv"
    	"cmd/internal/obj/x86"
    	"cmd/internal/sys"
    )
    
    // TODO: configure the architecture
    
    var testOut *strings.Builder // Gathers output when testing.
    
    // append adds the Prog to the end of the program-thus-far.
    // If doLabel is set, it also defines the labels collect for this Prog.
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Tue Aug 05 17:31:25 UTC 2025
    - 26.2K bytes
    - Viewed (0)
Back to top