Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for localFlags (0.05 sec)

  1. cmd/endpoint_test.go

    	}
    	getExpectedEndpoints := func(args []string, prefix string) ([]*url.URL, []bool) {
    		var URLs []*url.URL
    		var localFlags []bool
    		for _, arg := range args {
    			u, _ := url.Parse(arg)
    			URLs = append(URLs, u)
    			localFlags = append(localFlags, strings.HasPrefix(arg, prefix))
    		}
    
    		return URLs, localFlags
    	}
    
    	case1Endpoint1 := "http://" + nonLoopBackIP + "/d1"
    	case1Endpoint2 := "http://" + nonLoopBackIP + "/d2"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 18.9K bytes
    - Viewed (0)
  2. tests/multi_primary_keys_test.go

    	}
    
    	if DB.Model(&blog).Association("LocaleTags").Count() != 3 {
    		t.Fatalf("ZH Blog should has three tags after Replace")
    	}
    
    	if DB.Model(&blog2).Association("LocaleTags").Count() != 2 {
    		t.Fatalf("EN Blog should has two tags after Replace")
    	}
    
    	// Delete
    	DB.Model(&blog).Association("LocaleTags").Delete(tag5)
    
    	if DB.Model(&blog).Association("LocaleTags").Count() != 3 {
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Jul 21 02:46:58 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/reflect/TypesTest.java

        assertEquals(null, ourType.getOwnerType());
      }
    
      public void testNewParameterizedType_nonStaticLocalClass() {
        class LocalClass<T> {}
        Type jvmType = new LocalClass<String>() {}.getClass().getGenericSuperclass();
        Type ourType = Types.newParameterizedType(LocalClass.class, String.class);
        assertEquals(jvmType, ourType);
      }
    
      public void testNewParameterizedType_staticLocalClass() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Feb 11 19:03:19 UTC 2025
    - 15.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/Types.java

        static final ClassOwnership JVM_BEHAVIOR = detectJvmBehavior();
    
        private static ClassOwnership detectJvmBehavior() {
          class LocalClass<T> {}
          Class<?> subclass = new LocalClass<String>() {}.getClass();
          // requireNonNull is safe because we're examining a type that's known to have a superclass.
          ParameterizedType parameterizedType =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/Types.java

        static final ClassOwnership JVM_BEHAVIOR = detectJvmBehavior();
    
        private static ClassOwnership detectJvmBehavior() {
          class LocalClass<T> {}
          Class<?> subclass = new LocalClass<String>() {}.getClass();
          // requireNonNull is safe because we're examining a type that's known to have a superclass.
          ParameterizedType parameterizedType =
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Oct 31 19:34:24 UTC 2025
    - 24.3K bytes
    - Viewed (0)
  6. schema/relationship_test.go

    		Locale     string `gorm:"primary_key"`
    		Subject    string
    		Body       string
    		Tags       []Tag `gorm:"many2many:blog_tags;"`
    		SharedTags []Tag `gorm:"many2many:shared_blog_tags;ForeignKey:id;References:id"`
    		LocaleTags []Tag `gorm:"many2many:locale_blog_tags;ForeignKey:id,locale;References:id"`
    	}
    
    	checkStructRelation(t, &Blog{},
    		Relation{
    			Name: "Tags", Type: schema.Many2Many, Schema: "Blog", FieldSchema: "Tag",
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Mon Aug 18 11:44:52 UTC 2025
    - 26.5K bytes
    - Viewed (0)
Back to top