Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 2,437 for rfind (0.05 sec)

  1. tests/associations_has_many_test.go

    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Pets").Find(&user2.Pets)
    	CheckUser(t, user2, user)
    
    	var pets []Pet
    	DB.Model(&user).Where("name = ?", user.Pets[0].Name).Association("Pets").Find(&pets)
    
    	if len(pets) != 1 {
    		t.Fatalf("should only find one pets, but got %v", len(pets))
    	}
    
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 16K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_android_issue62123.txt

    ! stderr 'cannot find runtime/cgo'
    
    ! go test -c -o $devnull os
    stderr '# os\nandroid/amd64 requires external \(cgo\) linking, but cgo is not enabled'
    ! stderr 'cannot find runtime/cgo'
    
    env GOOS=ios GOARCH=arm64 CGO_ENABLED=0
    
    ! go build -o $devnull cmd/buildid
    stderr 'ios/arm64 requires external \(cgo\) linking, but cgo is not enabled'
    ! stderr 'cannot find runtime/cgo'
    
    ! go test -c -o $devnull os
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 23 21:55:28 UTC 2023
    - 683 bytes
    - Viewed (0)
  3. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceFolderClasspathAttributesCrossVersionSpec.groovy

                   classpath {
                       file {
                           whenMerged { classpath ->
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key1 = 'value1'
                               classpath.entries.find { it.kind == 'src' && it.path == 'src/main/java' }.entryAttributes.key2 = 'value2'
                           }
                       }
                   }
               }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. tests/joins_test.go

    	if len(users1) != 3 {
    		t.Errorf("should find two users using left join, but got %v", len(users1))
    	}
    
    	var users2 []User
    	DB.Joins("inner join pets on pets.user_id = users.id AND pets.name = ?", user.Pets[0].Name).Where("users.name = ?", user.Name).First(&users2)
    	if len(users2) != 1 {
    		t.Errorf("should find one users using left join with conditions, but got %v", len(users2))
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  5. tensorflow/cc/saved_model/loader_util.cc

          meta_graph_def.signature_def().find(kSavedModelInitOpSignatureKey);
      if (init_op_sig_it != sig_def_map.end()) {
        const auto& sig_def_outputs = init_op_sig_it->second.outputs();
        const auto& sig_def_outputs_it =
            sig_def_outputs.find(kSavedModelInitOpSignatureKey);
        if (sig_def_outputs_it == sig_def_outputs.end()) {
          return errors::FailedPrecondition("Could not find output ",
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Feb 10 10:25:28 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. chainable_api.go

    // [docs] for more depth.
    //
    //	// add a simple limit clause
    //	db.Clauses(clause.Limit{Limit: 1}).Find(&User{})
    //	// tell the optimizer to use the `idx_user_name` index
    //	db.Clauses(hints.UseIndex("idx_user_name")).Find(&User{})
    //	// specify the lock strength to UPDATE
    //	db.Clauses(clause.Locking{Strength: "UPDATE"}).Find(&users)
    //
    // [docs]: https://gorm.io/docs/sql_builder.html#Clauses
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 09:47:34 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r214/ToolingApiEclipseModelWtpClasspathAttributesCrossVersionSpec.groovy

        }
    
    
        private def entryNotDeployed(entry) {
            return entry.classpathAttributes.find { it.name == 'org.eclipse.jst.component.nondependency' && it.value == '' } &&
                !entry.classpathAttributes.find { it.name == 'org.eclipse.jst.component.dependency' }
        }
    
        private def entryIsDeployed(entry, path) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. tests/associations_has_one_test.go

    	if err := DB.Create(&user).Error; err != nil {
    		t.Fatalf("errors happened when create: %v", err)
    	}
    
    	CheckUser(t, user, user)
    
    	// Find
    	var user2 User
    	DB.Find(&user2, "id = ?", user.ID)
    	DB.Model(&user2).Association("Account").Find(&user2.Account)
    	CheckUser(t, user2, user)
    
    	// Count
    	AssertAssociationCount(t, user, "Account", 1, "")
    
    	// Append
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:49:45 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  9. testing/internal-performance-testing/src/main/resources/org/gradle/reporting/report.js

        var controls = $("div#controls");
        var groups = [];
        var slices = [];
        $("tr.control-groups").closest("table").find("tr").each(function() {
            var row = $(this);
            if (row.hasClass('control-groups')) {
                var currentCol = 0;
                slices = [];
                row.find("th").each(function(){
                    var e = $(this);
                    var title = e.text().trim();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

        val plan1 = routePlanner.addPlan()
        plan1.connectState = TLS_CONNECTED
    
        taskRunner.newQueue().execute("connect") {
          val result0 = finder.find()
          assertThat(result0).isEqualTo(plan0.connection)
          val result1 = finder.find()
          assertThat(result1).isEqualTo(plan1.connection)
        }
    
        taskFaker.runTasks()
        assertEvents(
          "take plan 0",
          "take plan 1",
        )
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 24 04:40:49 UTC 2024
    - 20.9K bytes
    - Viewed (0)
Back to top