Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,275 for creat (0.08 sec)

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

                            HashBasedTable.<String, Integer, Character>create());
                      }
    
                      @Override
                      public Set<Cell<String, Integer, Character>> create(Object... elements) {
                        Table<String, Integer, Character> table = HashBasedTable.create();
                        for (Object element : elements) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Feb 19 20:34:55 UTC 2024
    - 35.3K bytes
    - Viewed (0)
  2. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratorDecoratedTest.groovy

            def finalReadOnlyBean = create(HasReadOnlyFinalProperty, Describables.of("<display name>"))
            def readOnlyBean = create(HasReadOnlyProperty, Describables.of("<display name>"))
            def readOnlyBeanWithMapping = create(HasReadOnlyProperty, Describables.of("<display name>"))
            readOnlyBeanWithMapping.conventionMapping.map("other") { "ignore" }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 22K bytes
    - Viewed (0)
  3. platforms/core-configuration/model-core/src/test/groovy/org/gradle/internal/instantiation/generator/AsmBackedClassGeneratedManagedStateTest.groovy

            def bean = create(Bean)
    
            expect:
            !(bean instanceof Managed)
        }
    
        def doesNotMixManagedIntoAbstractClassWithFields() {
            def bean = create(AbstractBean, "value")
    
            expect:
            !(bean instanceof Managed)
        }
    
        def doesNotMixManagedIntoClassWithInheritedFields() {
            def bean = create(AbstractBeanWithInheritedFields, "value")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  4. platforms/core-configuration/model-core/src/integTest/groovy/org/gradle/model/ModelMapIntegrationTest.groovy

            }
            apply plugin: Rules
    
            model {
                components {
                    withType(SampleComponent).create("other", NonRegisteredComponent)
                }
            }
            """
    
            expect:
            fails "components"
            failure.assertHasCause("Cannot create an instance of type 'NonRegisteredComponent' as this type is not known. Known types: SampleComponent.")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 11.1K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java

        return suite;
      }
    
      protected LinkedListMultimap<String, Integer> create() {
        return LinkedListMultimap.create();
      }
    
      /** Confirm that get() returns a List that doesn't implement RandomAccess. */
      public void testGetRandomAccess() {
        Multimap<String, Integer> multimap = create();
        multimap.put("foo", 1);
        multimap.put("foo", 3);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 10:16:44 UTC 2024
    - 18K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ImmutableSortedMultisetTest.java

        Multiset<String> c = HashMultiset.create();
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c);
        assertTrue(multiset.isEmpty());
      }
    
      public void testCopyOf_multiset_oneElement() {
        Multiset<String> c = HashMultiset.create(asList("a"));
        Multiset<String> multiset = ImmutableSortedMultiset.copyOf(c);
        assertEquals(HashMultiset.create(asList("a")), multiset);
      }
    
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 17 15:27:58 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  7. testing/integ-test/src/integTest/groovy/org/gradle/integtests/SyncTaskIntegrationTest.groovy

            given:
            file('source').create {
                file 'file1.txt'
                dir1 { file 'file2.txt' }
            }
            file('source2').create {
                file 'file3.txt'
                dir1 { file 'file4.txt' }
                ignore { file 'file5.txt' } // to be ignored
            }
            file('dest').create {
                file 'extra1.txt'
                dir1 { file 'extra2.txt' }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskDefinitionIntegrationTest.groovy

                    }
                }
                tasks.create("broken", Broken)
            """
    
            expect:
            fails()
            failure.assertHasLineNumber(4)
            failure.assertHasDescription("A problem occurred evaluating project ':child'.")
            failure.assertHasCause("Could not create task ':child:broken'.")
            failure.assertHasCause("Could not create task of type 'Broken'.")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 18 14:43:53 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/dryrun_test.go

    	defer destroy()
    
    	obj := UnstructuredOrDie(`{"kind": "Pod"}`)
    	out := UnstructuredOrDie(`{}`)
    
    	err := s.Create(context.Background(), "key", obj, out, 0, false)
    	if err != nil {
    		t.Fatalf("Failed to create new object: %v", err)
    	}
    
    	err = s.Create(context.Background(), "key", obj, out, 0, true)
    	if e, ok := err.(*storage.StorageError); !ok || e.Code != storage.ErrCodeKeyExists {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Aug 24 09:23:05 UTC 2023
    - 9.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

        tester.testAllPublicStaticMethods(AtomicLongMap.class);
        AtomicLongMap<Object> map = AtomicLongMap.create();
        tester.testAllPublicInstanceMethods(map);
      }
    
      public void testCreate_map() {
        Map<String, Long> in = ImmutableMap.of("1", 1L, "2", 2L, "3", 3L);
        AtomicLongMap<String> map = AtomicLongMap.create(in);
        assertFalse(map.isEmpty());
        assertEquals(3, map.size());
        assertTrue(map.containsKey("1"));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 17.4K bytes
    - Viewed (0)
Back to top