Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of about 10,000 for lisp (0.13 sec)

  1. test/typeparam/listimp2.dir/a.go

    	return nil
    }
    
    // List represents a doubly linked list.
    // The zero value for List is an empty list ready to use.
    type List[T any] struct {
    	root Element[T] // sentinel list element, only &root, root.prev, and root.next are used
    	len  int        // current list length excluding (this) sentinel element
    }
    
    // Init initializes or clears list l.
    func (l *List[T]) Init() *List[T] {
    	l.root.next = &l.root
    	l.root.prev = &l.root
    	l.len = 0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 28 21:40:40 UTC 2021
    - 8K bytes
    - Viewed (0)
  2. src/go/doc/comment/testdata/list6.txt

    Text.
     - List immediately after.
     - Another.
    
    More text.
    
     - List after blank line.
     - Another.
    
    Even more text.
     - List immediately after.
    
     - Blank line between items.
    
    Yet more text.
    
     - Another list after blank line.
    
     - Blank line between items.
    
    Still more text.
     - One list item.
    
       Multiple paragraphs.
    -- dump --
    Doc
    	Paragraph
    		Plain "Text."
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:48 UTC 2022
    - 2K bytes
    - Viewed (0)
  3. src/mdo/java/WrapperList.java

            if (setter != null) {
                List<U> list = new ArrayList<>(getter.get());
                list.add(index, revMapper.apply(element));
                setter.accept(list);
            } else {
                getter.get().add(index, revMapper.apply(element));
            }
        }
    
        @Override
        public T remove(int index) {
            if (setter != null) {
                List<U> list = new ArrayList<>(getter.get());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Mar 01 16:30:18 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/manage/projection/AbstractCollectionModelProjectionTest.groovy

            list.toArray(new String[0]) == ['foo', 'bar', 'baz'] as String[]
        }
    
        def "can check contents"() {
            when:
            mutate {
                add 'foo'
                add 'bar'
                add 'baz'
            }
    
            then:
            def list = registry.realize(collectionPath, collectionType)
            list.contains('foo')
            !list.contains('echo')
            list.containsAll(['foo', 'baz'])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  5. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/reflect/JavaPropertyReflectionUtilTestMethods.java

    import java.util.Collection;
    import java.util.List;
    import java.util.function.BiConsumer;
    
    public interface JavaPropertyReflectionUtilTestMethods<T> {
        T simpleTypeVariable();
    
        List<T> encapsulatedTypeVariable();
    
        T[] arrayTypeWithTypeVariable();
    
        List<Collection<? extends List<? super T>>[]> complexTypeWithTypeVariable();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/javaapplication/multi/list/junit5/LinkedListTest.java.template

            LinkedList list = new LinkedList();
    
            list.add("one");
            list.add("two");
            assertTrue(list.remove("one"));
    
            assertEquals(1, list.size());
            assertEquals("two", list.get(0));
    
            assertTrue(list.remove("two"));
            assertEquals(0, list.size());
        }
    
        @Test public void testRemoveMissing() {
            LinkedList list = new LinkedList();
    
            list.add("one");
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Dec 26 19:39:09 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/vendor/golang.org/x/arch/x86/x86asm/gnu.go

    			seg += "%fs:"
    		}
    		if haveGS {
    			seg += "%gs:"
    		}
    		disp := ""
    		if x.Disp != 0 {
    			disp = fmt.Sprintf("%#x", x.Disp)
    		}
    		if x.Scale == 0 || x.Index == 0 && x.Scale == 1 && (x.Base == ESP || x.Base == RSP || x.Base == 0 && inst.Mode == 64) {
    			if x.Base == 0 {
    				return seg + disp
    			}
    			return fmt.Sprintf("%s%s(%s)", seg, disp, gccRegName[x.Base])
    		}
    		base := gccRegName[x.Base]
    		if x.Base == 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 21.4K bytes
    - Viewed (0)
  9. platforms/core-runtime/base-services/src/test/groovy/org/gradle/internal/collections/ImmutableFilteredListTest.groovy

            when:
            list.remove(0)
    
            then:
            thrown(UnsupportedOperationException)
        }
    
        def "can filter list"() {
            given:
            def list = ImmutableFilteredList.allOf([1, 2, 3, 4, 5, 6])
    
            expect:
            list.matching(x -> x > 2) == [3, 4, 5, 6]
            list.matching(x -> x < 2) == [1]
            list.matching(x -> x > 2).matching(x -> x < 5) == [3, 4]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:48:02 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. 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)
Back to top