Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,927 for ONE (0.02 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/testers/SetCreationTester.java

    import static com.google.common.collect.testing.features.CollectionFeature.REJECTS_DUPLICATES_AT_CREATION;
    import static com.google.common.collect.testing.features.CollectionSize.ONE;
    import static com.google.common.collect.testing.features.CollectionSize.ZERO;
    import static com.google.common.collect.testing.testers.ReflectionFreeAssertThrows.assertThrows;
    import static java.util.Arrays.asList;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/eventbus/SubscriberRegistryTest.java

        Iterator<Subscriber> one = registry.getSubscribers("");
        assertEquals(s1, one.next().target);
        assertFalse(one.hasNext());
    
        one = registry.getSubscribers("");
    
        registry.register(s2);
        registry.register(o1);
    
        Iterator<Subscriber> three = registry.getSubscribers("");
        assertEquals(s1, one.next().target);
        assertFalse(one.hasNext());
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. guava-gwt/src/com/google/thirdparty/publicsuffix/PublicSuffixType.gwt.xml

        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see
        https://groups.google.com/g/google-web-toolkit-contributors/c/CqYH59Dt_rQ/m/uVGW1QdUsXUJ
        for details.
    
        The summary is that it ignores one file in favor of the other.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/FunctionsTest.java

      }
    
      public void testForMapWithoutDefault() {
        Map<String, @Nullable Integer> map = new HashMap<>();
        map.put("One", 1);
        map.put("Three", 3);
        map.put("Null", null);
        Function<String, @Nullable Integer> function = Functions.forMap(map);
    
        assertEquals(1, function.apply("One").intValue());
        assertEquals(3, function.apply("Three").intValue());
        assertNull(function.apply("Null"));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/base/FunctionsTest.java

      }
    
      public void testForMapWithoutDefault() {
        Map<String, @Nullable Integer> map = new HashMap<>();
        map.put("One", 1);
        map.put("Three", 3);
        map.put("Null", null);
        Function<String, @Nullable Integer> function = Functions.forMap(map);
    
        assertEquals(1, function.apply("One").intValue());
        assertEquals(3, function.apply("Three").intValue());
        assertNull(function.apply("Null"));
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/collect/ImmutableSetMultimapTest.java

        assertMultimapEquals(ImmutableSetMultimap.of("one", 1), "one", 1);
        assertMultimapEquals(ImmutableSetMultimap.of("one", 1, "two", 2), "one", 1, "two", 2);
        assertMultimapEquals(
            ImmutableSetMultimap.of("one", 1, "two", 2, "three", 3), "one", 1, "two", 2, "three", 3);
        assertMultimapEquals(
            ImmutableSetMultimap.of("one", 1, "two", 2, "three", 3, "four", 4),
            "one",
            1,
            "two",
            2,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  7. tests/associations_has_one_test.go

    }
    
    func TestPolymorphicHasOneAssociationForSlice(t *testing.T) {
    	pets := []Pet{
    		{Name: "hasone-1", Toy: Toy{Name: "toy-has-one"}},
    		{Name: "hasone-2", Toy: Toy{}},
    		{Name: "hasone-3", Toy: Toy{Name: "toy-has-one"}},
    	}
    
    	DB.Create(&pets)
    
    	// Count
    	AssertAssociationCount(t, pets, "Toy", 2, "")
    
    	// Find
    	var toys []Toy
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. tests/named_polymorphic_test.go

    	if hamsterToy.Name != hamster.PreferredToy.Name {
    		t.Errorf("Should find has one polymorphic association")
    	}
    
    	hamsterToy = Toy{}
    	DB.Model(&hamster).Association("OtherToy").Find(&hamsterToy)
    	if hamsterToy.Name != hamster.OtherToy.Name {
    		t.Errorf("Should find has one polymorphic association")
    	}
    
    	// Append
    	DB.Model(&hamster).Association("PreferredToy").Append(&Toy{
    		Name: "bike 2",
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Wed Jul 08 09:59:40 UTC 2020
    - 4.2K bytes
    - Viewed (0)
  9. api/maven-api-di/src/main/java/org/apache/maven/api/di/Scope.java

     * system. Custom scope annotations should be annotated with {@code @Scope}.
     * <p>
     * Built-in scopes include:
     * <ul>
     *   <li>{@link Singleton} - One instance per container</li>
     *   <li>{@link SessionScoped} - One instance per Maven session</li>
     *   <li>{@link MojoExecutionScoped} - One instance per plugin execution</li>
     * </ul>
     *
     * @see Singleton
     * @see SessionScoped
     * @see MojoExecutionScoped
     * @since 4.0.0
     */
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Thu Jan 30 23:28:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. guava-gwt/src/com/google/common/cache/Cache.gwt.xml

        worked everywhere that I know of except for one place: when running the GWT
        util.concurrent tests under Guava.
    
        The problem is that GWT responds poorly to two .gwt.xml files in the same
        Java package; see
        https://groups.google.com/g/google-web-toolkit-contributors/c/CqYH59Dt_rQ/m/uVGW1QdUsXUJ
        for details.
    
        The summary is that it ignores one file in favor of the other.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top