Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,724 for list1 (0.3 sec)

  1. android/guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

      public void testDelegate() {
        assertEquals(LIST1, ImmutableList.copyOf(newDelegatingList(LIST1)));
        assertEquals(LIST1, ImmutableList.copyOf(newDelegatingListWithEquals(LIST1)));
      }
    
      public void testToString() {
        List<String> proxy = newDelegatingList(LIST1);
        assertEquals(Proxy.getInvocationHandler(proxy).toString(), proxy.toString());
      }
    
      interface A {}
    
      interface B {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/extensibility/ConventionAwareHelperTest.java

        public void canMapPropertiesUsingClosure() {
            conventionAware.map("list1", TestUtil.toClosure("{ ['a'] }"));
            assertThat(conventionAware.getConventionValue(null, "list1", false), equalTo((Object) toList("a")));
    
            conventionAware.map("list1", TestUtil.toClosure("{ convention -> [convention] }"));
            assertThat(conventionAware.getConventionValue(null, "list1", false), equalTo((Object) toList(conventionAware.getConvention())));
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/reflect/AbstractInvocationHandlerTest.java

      public void testDelegate() {
        assertEquals(LIST1, ImmutableList.copyOf(newDelegatingList(LIST1)));
        assertEquals(LIST1, ImmutableList.copyOf(newDelegatingListWithEquals(LIST1)));
      }
    
      public void testToString() {
        List<String> proxy = newDelegatingList(LIST1);
        assertEquals(Proxy.getInvocationHandler(proxy).toString(), proxy.toString());
      }
    
      interface A {}
    
      interface B {}
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/test/api_meta_help_test.go

    		},
    		{
    			in:  &List{Items: list1},
    			out: []interface{}{list1[0], list1[1]},
    		},
    		{
    			in:    list2,
    			out:   []interface{}{&runtime.Unknown{Raw: list2.Items[0].Raw}, &runtime.Unknown{Raw: list2.Items[1].Raw}, list2.Items[2].Object},
    			equal: true,
    		},
    		{
    			in:  list3,
    			out: []interface{}{list3.Items[0], list3.Items[1]},
    		},
    		{
    			in:  list4,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/collection/MultiIteratorTest.java

    import static org.junit.Assert.assertThat;
    
    import java.util.Iterator;
    import java.util.List;
    
    import org.junit.Test;
    
    /**
     * @author koichik
     *
     */
    public class MultiIteratorTest {
    
        /**
         *
         */
        @Test
        public void test() {
            final List<String> list1 = asList("Foo", "Bar");
            final List<String> list2 = asList("Baz");
    
            @SuppressWarnings("unchecked")
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  6. subprojects/core/src/testFixtures/groovy/org/gradle/util/TestTask.groovy

    import org.gradle.api.tasks.Internal
    
    class TestTask extends ConventionTask  {
        @Internal
        TestTask self
        @Internal
        String customProp
        @Internal
        List list1
        @Internal
        List list2
        @Internal
        Map map1
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 26 10:58:32 UTC 2023
    - 922 bytes
    - Viewed (0)
  7. src/go/printer/testdata/doc.golden

    package p
    
    /*
    Doc comment.
    
      - List1.
    
      - List2.
    */
    var X int
    
    /* erroneous doc comment */
    var Y int
    
    /*
     * Another erroneous
     * doc comment.
     */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:50 UTC 2022
    - 160 bytes
    - Viewed (0)
  8. src/go/printer/testdata/doc.input

    package p
    
    /*
    Doc comment.
      - List1.
    
      - List2.
    */
    var X int
    
    /* erroneous doc comment */
    var Y int
    
    /*
     * Another erroneous
     * doc comment.
     */
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:31:50 UTC 2022
    - 159 bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/cacher/lister_watcher_test.go

    	if err != nil {
    		t.Fatalf("List failed: %v", err)
    	}
    	limit2, ok := obj2.(*example.PodList)
    	if !ok {
    		t.Fatalf("Expected PodList but got %v", limit2)
    	}
    	if limit2.Continue != "" {
    		t.Errorf("Expected list not to have Continue, but got %s", limit1.Continue)
    	}
    
    	if limit1.Items[0].Name != objects[0].Name {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 04 11:51:06 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/cel/library/lists.go

    //	[1.0].indexOf(1.1) // returns -1
    //	[].indexOf('string') // returns -1
    func Lists() cel.EnvOption {
    	return cel.Lib(listsLib)
    }
    
    var listsLib = &lists{}
    
    type lists struct{}
    
    func (*lists) LibraryName() string {
    	return "k8s.lists"
    }
    
    var paramA = cel.TypeParamType("A")
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 21:31:27 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top