Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for a1234 (0.02 sec)

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

      }
    
      public void testOf() {
        assertEquals(ImmutableList.of(1, 2, 3, 4), Lists.newArrayList(FluentIterable.of(1, 2, 3, 4)));
      }
    
      public void testFromArray() {
        assertEquals(
            ImmutableList.of("1", "2", "3", "4"),
            Lists.newArrayList(FluentIterable.from(new Object[] {"1", "2", "3", "4"})));
      }
    
      public void testOf_empty() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  2. src/bufio/example_test.go

    	// Output: Hello, world!
    }
    
    func ExampleWriter_AvailableBuffer() {
    	w := bufio.NewWriter(os.Stdout)
    	for _, i := range []int64{1, 2, 3, 4} {
    		b := w.AvailableBuffer()
    		b = strconv.AppendInt(b, i, 10)
    		b = append(b, ' ')
    		w.Write(b)
    	}
    	w.Flush()
    	// Output: 1 2 3 4
    }
    
    // ExampleWriter_ReadFrom demonstrates how to use the ReadFrom method of Writer.
    func ExampleWriter_ReadFrom() {
    	var buf bytes.Buffer
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. compat/maven-resolver-provider/src/test/java/org/apache/maven/repository/internal/VersionRangeTest.java

            assertContains(range, "2");
            assertEquals(range, parseValid(range.toString()));
        }
    
        @Test
        void testLowerBoundInclusiveUpperBoundExclusive() {
            VersionRange range = parseValid("[1.2.3.4.5,1.2.3.4.6)");
            assertContains(range, "1.2.3.4.5");
            assertNotContains(range, "1.2.3.4.6");
            assertEquals(range, parseValid(range.toString()));
        }
    
        @Test
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

            ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2, "three", 3, "four", 4));
        Set<Integer> values = bimap.values();
        assertEquals(newHashSet(1, 2, 3, 4), values);
        assertThat(values).containsExactly(1, 2, 3, 4).inOrder();
      }
    
      public void testDoubleInverse() {
        ImmutableBiMap<String, Integer> bimap =
            ImmutableBiMap.copyOf(ImmutableMap.of("one", 1, "two", 2));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  5. src/bufio/bufio_test.go

    	}
    	if got, want := NewReaderSize(nil, 1234).Size(), 1234; got != want {
    		t.Errorf("NewReaderSize's Reader.Size = %d; want %d", got, want)
    	}
    }
    
    func TestWriterSize(t *testing.T) {
    	if got, want := NewWriter(nil).Size(), DefaultBufSize; got != want {
    		t.Errorf("NewWriter's Writer.Size = %d; want %d", got, want)
    	}
    	if got, want := NewWriterSize(nil, 1234).Size(), 1234; got != want {
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ListsTest.java

        private static final long serialVersionUID = 0;
      }
    
      private static final List<Integer> SOME_LIST = Lists.newArrayList(1, 2, 3, 4);
    
      private static final List<Integer> SOME_SEQUENTIAL_LIST = Lists.newLinkedList(asList(1, 2, 3, 4));
    
      private static final List<String> SOME_STRING_LIST = asList("1", "2", "3", "4");
    
      private static final Function<Number, String> SOME_FUNCTION = new SomeFunction();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ListsTest.java

        private static final long serialVersionUID = 0;
      }
    
      private static final List<Integer> SOME_LIST = Lists.newArrayList(1, 2, 3, 4);
    
      private static final List<Integer> SOME_SEQUENTIAL_LIST = Lists.newLinkedList(asList(1, 2, 3, 4));
    
      private static final List<String> SOME_STRING_LIST = asList("1", "2", "3", "4");
    
      private static final Function<Number, String> SOME_FUNCTION = new SomeFunction();
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 35K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      public void testToString() {
        SetMultimap<String, Integer> multimap = create();
        multimap.putAll("bar", asList(3, 1, 2));
        multimap.putAll("foo", asList(2, 3, 1, -1, 4));
        assertEquals("{bar=[1, 2, 3], foo=[-1, 1, 2, 3, 4]}", multimap.toString());
      }
    
      public void testOrderedGet() {
        TreeMultimap<String, Integer> multimap = createPopulate();
        assertThat(multimap.get("foo")).containsExactly(1, 3, 7).inOrder();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/SetsTest.java

        assertPowerSetSize(
            1 << 30, 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p',
            'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z', '1', '2', '3', '4');
      }
    
      public void testPowerSetCreationErrors() {
        assertThrows(
            IllegalArgumentException.class,
            () -> {
              Set<Set<Character>> unused =
                  powerSet(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 48.6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        // Now change the inputs and see result dynamically change as well
    
        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);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top