Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 889 for integers (0.06 seconds)

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

        // This sample AbstractIterator returns 0 on the first call, 1 on the
        // second, then signals that it's reached the end of the data
        Iterator<Integer> iter =
            new AbstractIterator<Integer>() {
              private int rep;
    
              @Override
              public @Nullable Integer computeNext() {
                switch (rep++) {
                  case 0:
                    return 0;
                  case 1:
                    return 1;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/collect/LinkedHashMultimapTest.java

      public void testAsSetIteration() {
        Set<Entry<String, Collection<Integer>>> set =
            new LinkedHashSet<>(
                asList(
                    immutableEntry("foo", (Collection<Integer>) newHashSet(2, 3, 6)),
                    immutableEntry("bar", (Collection<Integer>) newHashSet(4, 5, 10, 11)),
                    immutableEntry("baz", (Collection<Integer>) newHashSet(7, 8)),
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Oct 10 23:13:45 GMT 2025
    - 18.7K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/graph/ImmutableValueGraphTest.java

        ValueGraph<String, Integer> graph1 =
            ImmutableValueGraph.copyOf(ValueGraphBuilder.directed().<String, Integer>build());
        ValueGraph<String, Integer> graph2 = ImmutableValueGraph.copyOf(graph1);
    
        assertThat(graph2).isSameInstanceAs(graph1);
      }
    
      @Test
      public void incidentEdgeOrder_stable() {
        ImmutableValueGraph<String, Integer> immutableValueGraph =
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/collect/FluentIterableTest.java

        list1.add(2);
        List<Integer> list3 = newArrayList(3);
        input.add(1, list3);
    
        assertEquals(asList(1, 2, 3, 4), newArrayList(result));
        assertEquals("[1, 2, 3, 4]", result.toString());
      }
    
      public void testConcatVarargs() {
        List<Integer> list1 = newArrayList(1);
        List<Integer> list2 = newArrayList(4);
        List<Integer> list3 = newArrayList(7, 8);
        List<Integer> list4 = newArrayList(9);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 30.5K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/base/PredicatesTest.java

    public class PredicatesTest extends TestCase {
      private static final Predicate<@Nullable Integer> TRUE = Predicates.alwaysTrue();
      private static final Predicate<@Nullable Integer> FALSE = Predicates.alwaysFalse();
      private static final Predicate<@Nullable Integer> NEVER_REACHED =
          new Predicate<@Nullable Integer>() {
            @Override
            public boolean apply(@Nullable Integer i) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/graph/GraphsTest.java

     * the missing nodes to the graph, then adds the edge between them.
     */
    @RunWith(JUnit4.class)
    @NullUnmarked
    public class GraphsTest {
      private static final Integer N1 = 1;
      private static final Integer N2 = 2;
      private static final Integer N3 = 3;
      private static final Integer N4 = 4;
      private static final String E11 = "1-1";
      private static final String E11_A = "1-1a";
      private static final String E12 = "1-2";
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Sep 30 17:09:51 GMT 2025
    - 30.1K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/collect/ImmutableListMultimapTest.java

      }
    
      public void testCopyOfNullValue() {
        ArrayListMultimap<String, @Nullable Integer> input = ArrayListMultimap.create();
        input.putAll("foo", Arrays.<@Nullable Integer>asList(1, null, 3));
        assertThrows(
            NullPointerException.class,
            () -> ImmutableListMultimap.copyOf((ArrayListMultimap<String, Integer>) input));
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Nov 17 22:50:48 GMT 2025
    - 25.9K bytes
    - Click Count (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java

          return insertionOrder;
        }
    
        @Override
        public List<Entry<String, Integer>> create(Object... elements) {
          ImmutableMap.Builder<String, Integer> builder = ImmutableMap.builder();
          for (Object o : elements) {
            @SuppressWarnings("unchecked")
            Entry<String, Integer> entry = (Entry<String, Integer>) checkNotNull(o);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  9. src/cmd/asm/internal/asm/testdata/riscv64error.s

    	CSRRCI	$1, TIME, (X15)			// ERROR "needs an integer register output"
    	CSRRS	(X10), CYCLE, X5		// ERROR "integer register or immediate expected for 1st operand"
    	CSRRS	X0, CYCLE, (X10)		// ERROR "needs an integer register output"
    	CSRRS	X0, TU, X5			// ERROR "unknown CSR"
    	CSRRS	X0, CYCLE			// ERROR "missing CSR name"
    	CSRRS	$-1, TIME, X15			// ERROR "immediate out of range 0 to 31"
    	CSRRSI	$32, TIME, X15			// ERROR "immediate out of range 0 to 31"
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Sep 24 13:21:53 GMT 2025
    - 26.8K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

    /**
     * Create integer sets for collection tests.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @NullMarked
    public abstract class TestIntegerSetGenerator implements TestSetGenerator<Integer> {
      @Override
      public SampleElements<Integer> samples() {
        return new Ints();
      }
    
      @Override
      public Set<Integer> create(Object... elements) {
        Integer[] array = new Integer[elements.length];
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 2.1K bytes
    - Click Count (0)
Back to Top