- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of about 10,000 for lisp (0.06 sec)
-
test/ken/rob1.go
// Test general operation using a list implementation. package main type Item interface { Print() string } type ListItem struct { item Item next *ListItem } type List struct { head *ListItem } func (list *List) Init() { list.head = nil } func (list *List) Insert(i Item) { item := new(ListItem) item.item = i item.next = list.head list.head = item }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Feb 24 05:24:24 UTC 2012 - 1.1K bytes - Viewed (0) -
src/go/doc/comment/testdata/list4.txt
-- input -- Text. 1. List 2. Not indented, not a list. 3. Another list. -- gofmt -- Text. 1. List 2. Not indented, not a list. 3. Another list. -- text -- Text. 1. List 2. Not indented, not a list. 3. Another list. -- markdown -- Text. 1. List 2\. Not indented, not a list. 3. Another list. -- html -- <p>Text. <ol> <li>List </ol>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Apr 11 16:31:48 UTC 2022 - 421 bytes - Viewed (0) -
platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/collections/ImmutableFilteredListTest.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 08:48:02 UTC 2023 - 2.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ImmutableListTest.java
} public void testCreation_threeElements() { List<String> list = ImmutableList.of("a", "b", "c"); assertEquals(Lists.newArrayList("a", "b", "c"), list); } public void testCreation_fourElements() { List<String> list = ImmutableList.of("a", "b", "c", "d"); assertEquals(Lists.newArrayList("a", "b", "c", "d"), list); } public void testCreation_fiveElements() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 17 15:27:58 UTC 2024 - 23.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
public static <T extends @Nullable Object> List<List<T>> partition(List<T> list, int size) { checkNotNull(list); checkArgument(size > 0); return (list instanceof RandomAccess) ? new RandomAccessPartition<>(list, size) : new Partition<>(list, size); } private static class Partition<T extends @Nullable Object> extends AbstractList<List<T>> { final List<T> list; final int size;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 29 16:48:36 UTC 2024 - 41.9K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
} public void testAssertEqualInOrder() { List<?> list = Arrays.asList("a", "b", "c"); Helpers.assertEqualInOrder(list, list); List<?> fewer = Arrays.asList("a", "b"); try { Helpers.assertEqualInOrder(list, fewer); throw new Error(); } catch (AssertionFailedError expected) { } try { Helpers.assertEqualInOrder(fewer, list); throw new Error();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
guava-testlib/test/com/google/common/collect/testing/HelpersTest.java
} public void testAssertEqualInOrder() { List<?> list = Arrays.asList("a", "b", "c"); Helpers.assertEqualInOrder(list, list); List<?> fewer = Arrays.asList("a", "b"); try { Helpers.assertEqualInOrder(list, fewer); throw new Error(); } catch (AssertionFailedError expected) { } try { Helpers.assertEqualInOrder(fewer, list); throw new Error();
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 4.9K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/meta/help_test.go
} list := tc.generateFunc(tc.expectObjectNum) err := EachListItem(list, func(object runtime.Object) error { o, err := Accessor(object) if err != nil { return err } delete(expectObjectNames, o.GetName()) return nil }) if err != nil { t.Errorf("each list item %#v: %v", list, err) } if len(expectObjectNames) != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 29 13:40:46 UTC 2023 - 12.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CartesianList.java
private final transient int[] axesSizeProduct; static <E> List<List<E>> create(List<? extends List<? extends E>> lists) { ImmutableList.Builder<List<E>> axesBuilder = new ImmutableList.Builder<>(lists.size()); for (List<? extends E> list : lists) { List<E> copy = ImmutableList.copyOf(list); if (copy.isEmpty()) { return ImmutableList.of(); } axesBuilder.add(copy); }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/collect/SortedCopyBenchmark.java
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Dec 04 17:37:03 UTC 2017 - 3.5K bytes - Viewed (0)