Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 583 for mdfind (0.06 sec)

  1. tests/migrate_test.go

    		t.Fatalf("failed to migrate, got %v", err)
    	}
    
    	if !DB.Migrator().HasIndex(&UserWithUniqueIndex{}, "idx_name") {
    		t.Errorf("Failed to find created index")
    	}
    
    	if !DB.Migrator().HasIndex(&UserWithUniqueIndex{}, "idx_user_with_unique_indices_u_name") {
    		t.Errorf("Failed to find created index")
    	}
    
    	if err := DB.AutoMigrate(&UserWithUniqueIndex{}); err != nil {
    		t.Fatalf("failed to migrate, got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Mar 18 11:24:16 UTC 2024
    - 56.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            def propertyDetailsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Property details' } }
            def propertiesTable = withCategories { propertiesSection ? propertiesSection.table[0] : parse('<table/>')}
            def methodsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Methods' } }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 40.8K bytes
    - Viewed (0)
  3. tests/update_test.go

    	}
    }
    
    func TestIdempotentSave(t *testing.T) {
    	create := Company{
    		Name: "company_idempotent",
    	}
    	DB.Create(&create)
    
    	var company Company
    	if err := DB.Find(&company, "id = ?", create.ID).Error; err != nil {
    		t.Fatalf("failed to find created company, got err: %v", err)
    	}
    
    	if err := DB.Save(&company).Error; err != nil || company.ID != create.ID {
    		t.Errorf("failed to save company, got err: %v", err)
    	}
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Dec 04 03:50:58 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  4. cmd/data-usage-cache.go

    			ch[k] = v
    		}
    		e.Children = ch
    	}
    
    	if e.AllTierStats != nil {
    		e.AllTierStats = e.AllTierStats.clone()
    	}
    	return e
    }
    
    // find a path in the cache.
    // Returns nil if not found.
    func (d *dataUsageCache) find(path string) *dataUsageEntry {
    	due, ok := d.Cache[hashPath(path).Key()]
    	if !ok {
    		return nil
    	}
    	return &due
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 34.7K bytes
    - Viewed (0)
  5. src/test/resources/run.sh

    tail -f ./fess-*/logs/*.log &
    
    mvn test -P integrationTests -Dtest.fess.url="http://localhost:8080" -Dtest.search_engine.url="http://localhost:9201"
    ret=$?
    
    if [ $ret != 0 ] ; then
      for f in `find ./target -type f | grep surefire-reports | grep -v /TEST-` ; do
        cat $f
      done
    fi
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Feb 10 03:25:34 UTC 2024
    - 353 bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/artifact/UnknownRepositoryLayoutException.java

        public UnknownRepositoryLayoutException(String repositoryId, String layoutId) {
            super("Cannot find ArtifactRepositoryLayout instance for: " + layoutId, repositoryId);
            this.layoutId = layoutId;
        }
    
        public UnknownRepositoryLayoutException(String repositoryId, String layoutId, ComponentLookupException e) {
            super("Cannot find ArtifactRepositoryLayout instance for: " + layoutId, repositoryId, e);
            this.layoutId = layoutId;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. tests/main_test.go

    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	if DB.Where("sdsd.zaaa = ?", "sd;;;aa").Find(&User{}).Error == nil {
    		t.Errorf("Should got error with invalid SQL")
    	}
    
    	var count1, count2 int64
    	DB.Model(&User{}).Count(&count1)
    	if count1 <= 0 {
    		t.Errorf("Should find some users")
    	}
    
    	if DB.Where("name = ?", "jinzhu; delete * from users").First(&User{}).Error == nil {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Mar 24 01:31:58 UTC 2022
    - 1.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/util/concurrent/ExecutionError.java

       * non-nullable {@code cause}, as many users expect to find one.
       */
      public ExecutionError(@CheckForNull String message, @CheckForNull Error cause) {
        super(message, cause);
      }
    
      /**
       * Creates a new instance with {@code null} as its detail message and the given cause. Prefer to
       * provide a non-nullable {@code cause}, as many users expect to find one.
       */
      public ExecutionError(@CheckForNull Error cause) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Mar 07 17:52:19 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. .teamcity/src/test/kotlin/common.kt

        settingsRootId = AbsoluteId("GradleMaster")
        settingsRoot.name = "GradleMaster"
        addParameters("Branch" to "master")
    }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 662 bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertEquals("cool", find(list, equalTo("cool"), "woot"));
        assertEquals("pants", find(list, equalTo("pants"), "woot"));
        assertEquals("woot", find(list, Predicates.alwaysFalse(), "woot"));
        assertNull(find(list, Predicates.alwaysFalse(), null));
        assertEquals("cool", find(list, Predicates.alwaysTrue(), "woot"));
        assertCanIterateAgain(list);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:12:33 UTC 2024
    - 45K bytes
    - Viewed (0)
Back to top