Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 5 of 5 for MyType (0.25 seconds)

  1. tests/associations_test.go

    	// many to many
    	err = DB.Model(&emptyUser).Association("Languages").Delete(&user1.Languages)
    	AssertEqual(t, err, gorm.ErrPrimaryKeyRequired)
    }
    
    type (
    	myType           string
    	emptyQueryClause struct {
    		Field *schema.Field
    	}
    )
    
    func (myType) QueryClauses(f *schema.Field) []clause.Interface {
    	return []clause.Interface{emptyQueryClause{Field: f}}
    }
    
    func (sd emptyQueryClause) Name() string {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Fri Sep 12 04:33:27 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> if an object array is acceptable, use {@code
       * stream.toArray()}; if {@code type} is a class literal such as {@code MyType.class}, use {@code
       * stream.toArray(MyType[]::new)}. Otherwise use {@code stream.toArray( len -> (E[])
       * Array.newInstance(type, len))}.
       *
       * @param type the type of the elements
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/FluentIterable.java

       *
       * <p><b>{@code Stream} equivalent:</b> if an object array is acceptable, use {@code
       * stream.toArray()}; if {@code type} is a class literal such as {@code MyType.class}, use {@code
       * stream.toArray(MyType[]::new)}. Otherwise use {@code stream.toArray( len -> (E[])
       * Array.newInstance(type, len))}.
       *
       * @param type the type of the elements
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 02 14:49:41 GMT 2026
    - 34.7K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/reflect/ReflectionTest.java

    public class ReflectionTest extends TestCase {
    
      public void testGetPackageName() throws Exception {
        assertThat(Reflection.getPackageName(Iterable.class)).isEqualTo("java.lang");
        assertThat(Reflection.getPackageName("java.MyType")).isEqualTo("java");
        assertThat(Reflection.getPackageName(Iterable.class.getName())).isEqualTo("java.lang");
        assertThat(Reflection.getPackageName("NoPackage")).isEqualTo("");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/reflect/ReflectionTest.java

    public class ReflectionTest extends TestCase {
    
      public void testGetPackageName() throws Exception {
        assertThat(Reflection.getPackageName(Iterable.class)).isEqualTo("java.lang");
        assertThat(Reflection.getPackageName("java.MyType")).isEqualTo("java");
        assertThat(Reflection.getPackageName(Iterable.class.getName())).isEqualTo("java.lang");
        assertThat(Reflection.getPackageName("NoPackage")).isEqualTo("");
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 12 17:47:10 GMT 2026
    - 2.8K bytes
    - Click Count (0)
Back to Top