Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 3,374 for named (0.28 sec)

  1. api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java

    import java.lang.annotation.Retention;
    
    import static java.lang.annotation.ElementType.*;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Qualifier
    @Retention(RUNTIME)
    @Documented
    public @interface Named {
        String value() default "";
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 1.1K bytes
    - Viewed (0)
  2. tests/named_argument_test.go

    		t.Errorf("failed to update with named arg")
    	}
    
    	AssertEqual(t, result4, namedUser)
    
    	if err := DB.Exec("UPDATE named_users SET name1 = @name, name2 = @name2, name3 = @name", sql.Named("name", "jinzhu-new"), sql.Named("name2", "jinzhu-new2")).Error; err != nil {
    		t.Errorf("failed to update with named arg")
    	}
    
    	namedUser.Name1 = "jinzhu-new"
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Tue Dec 21 11:50:00 GMT 2021
    - 2.7K bytes
    - Viewed (0)
  3. tests/named_polymorphic_test.go

    	if hamster2.PreferredToy.ID != hamster.PreferredToy.ID || hamster2.PreferredToy.Name != hamster.PreferredToy.Name {
    		t.Errorf("Hamster's preferred toy failed to preload")
    	}
    
    	if hamster2.OtherToy.ID != hamster.OtherToy.ID || hamster2.OtherToy.Name != hamster.OtherToy.Name {
    		t.Errorf("Hamster's other toy failed to preload")
    	}
    
    	// clear to omit Toy.ID in count
    	hamster2.PreferredToy = Toy{}
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Wed Jul 08 09:59:40 GMT 2020
    - 4.2K bytes
    - Viewed (0)
  4. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        }
      }
    
      private static NamedObject named(String name) {
        return new NamedObject(name);
      }
    
      private static class NamedObject {
        private final Set<String> peerNames = Sets.newHashSet();
    
        private final String name;
    
        NamedObject(String name) {
          this.name = Preconditions.checkNotNull(name);
        }
    
        NamedObject addPeers(String... names) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TableCollectionTest.java

                        populateForRowKeySet(table, elements);
                        return table.rowKeySet();
                      }
                    })
                .named("ArrayTable.rowKeySet")
                .withFeatures(
                    CollectionSize.ONE,
                    CollectionSize.SEVERAL,
                    CollectionFeature.KNOWN_ORDER,
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  6. guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        }
      }
    
      private static NamedObject named(String name) {
        return new NamedObject(name);
      }
    
      private static class NamedObject {
        private final Set<String> peerNames = Sets.newHashSet();
    
        private final String name;
    
        NamedObject(String name) {
          this.name = Preconditions.checkNotNull(name);
        }
    
        NamedObject addPeers(String... names) {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

                    Queue<String> queue = new LinkedList<>(MinimalCollection.of(elements));
                    return Collections.checkedQueue(queue, String.class);
                  }
                })
            .named("checkedQueue/LinkedList")
            .withFeatures(
                CollectionFeature.GENERAL_PURPOSE,
                CollectionFeature.ALLOWS_NULL_VALUES,
                CollectionFeature.KNOWN_ORDER,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 9.4K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                        putEntries(map, entries);
                        return Maps.unmodifiableNavigableMap(map);
                      }
                    })
                .named("unmodifiableNavigableMap[SafeTreeMap]")
                .withFeatures(
                    CollectionSize.ANY, MapFeature.ALLOWS_NULL_VALUES, CollectionFeature.SERIALIZABLE)
                .createTestSuite());
        suite.addTest(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild.arch-test.gradle.kts

        isCanBeConsumed = false
        attributes {
            attribute(Category.CATEGORY_ATTRIBUTE, objects.named(Category.LIBRARY))
            attribute(Usage.USAGE_ATTRIBUTE, objects.named(Usage.JAVA_API))
            attribute(Bundling.BUNDLING_ATTRIBUTE, objects.named(Bundling.EXTERNAL))
            attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.CLASSES))
        }
    }
    notForAccessorGeneration {
        dependencies {
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 03 13:29:44 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/SetOperationsTest.java

                      protected Set<String> create(String[] elements) {
                        return Sets.union(Sets.<String>newHashSet(), Sets.<String>newHashSet());
                      }
                    })
                .named("empty U empty")
                .withFeatures(
                    CollectionSize.ZERO, CollectionFeature.NONE, CollectionFeature.ALLOWS_NULL_VALUES)
                .createTestSuite());
    
        suite.addTest(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 14.7K bytes
    - Viewed (0)
Back to top