- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 581 for person1 (2.97 sec)
-
tests/scan_test.go
func TestScanToEmbedded(t *testing.T) { person1 := Person{Name: "person 1"} person2 := Person{Name: "person 2"} DB.Save(&person1).Save(&person2) address1 := Address{Name: "address 1"} address2 := Address{Name: "address 2"} DB.Save(&address1).Save(&address2) DB.Create(&PersonAddress{PersonID: person1.ID, AddressID: int(address1.ID)}) DB.Create(&PersonAddress{PersonID: person1.ID, AddressID: int(address2.ID)})
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Wed Jun 12 10:57:36 UTC 2024 - 10.9K bytes - Viewed (0) -
platforms/jvm/language-java/src/test/groovy/org/gradle/api/internal/tasks/compile/NormalizingJavaCompilerTest.groovy
} def "replaces iterable sources with immutable set"() { spec.sourceFiles = ["Person1.java", "Person2.java"].collect { new File(it) } when: compiler.execute(spec) then: 1 * target.execute(spec) >> { assert spec.sourceFiles == files("Person1.java", "Person2.java") assert spec.sourceFiles instanceof ImmutableSet } }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 4.2K bytes - Viewed (0) -
platforms/jvm/language-groovy/src/test/groovy/org/gradle/api/internal/tasks/compile/NormalizingGroovyCompilerTest.groovy
spec.compileClasspath = [new File('Dep1.jar'), new File('Dep2.jar'), new File('Dep3.jar')] spec.groovyClasspath = spec.compileClasspath spec.sourceFiles = files('House.scala', 'Person1.java', 'package.html', 'Person2.groovy') spec.destinationDir = new File("destinationDir") spec.compileOptions = TestUtil.newInstance(CompileOptions.class, TestUtil.objectFactory())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Aug 28 11:40:18 UTC 2023 - 3.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/propertyConventionCallsites/groovy/build.gradle
abstract Property<String> getGuest() GreetingTask() { guest.convention("person2") } // end::convention-callsites-from-constructor[] // tag::convention-callsites-from-declaration[] // setting convention from declaration @Input final Property<String> greeter = project.objects.property(String).convention("person1") // end::convention-callsites-from-declaration[] @TaskAction
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 16:56:11 UTC 2024 - 1.3K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/providers/propertyConventionCallsites/kotlin/build.gradle.kts
@get:Input abstract val guest: Property<String> init { guest.convention("person2") } // end::convention-callsites-from-constructor[] // tag::convention-callsites-from-declaration[] // setting convention from declaration @Input val greeter = project.objects.property<String>().convention("person1") // end::convention-callsites-from-declaration[] @TaskAction fun greet() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 16:56:10 UTC 2024 - 1.3K bytes - Viewed (0) -
tests/joins_table_test.go
DB.Create(&person) var addresses1 []Address if err := DB.Model(&person).Association("Addresses").Find(&addresses1); err != nil || len(addresses1) != 2 { t.Fatalf("Failed to find address, got error %v, length: %v", err, len(addresses1)) } if err := DB.Model(&person).Association("Addresses").Delete(&person.Addresses[0]); err != nil {
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Thu Sep 10 13:46:18 UTC 2020 - 3.5K bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/crossCompilation/kotlin/src/main/java/org/gradle/Person.java
import org.apache.commons.lang.StringUtils; /** * <p>Represents a person.</p> */ public class Person { private final String name; public Person(String name) { if (StringUtils.isEmpty(name)) { throw new IllegalArgumentException(); } this.name = name; } /** * Get the person's name * * @return the name */ public String getName() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 461 bytes - Viewed (0) -
platforms/documentation/docs/src/snippets/java/crossCompilation/groovy/src/main/java/org/gradle/Person.java
import org.apache.commons.lang.StringUtils; /** * <p>Represents a person.</p> */ public class Person { private final String name; public Person(String name) { if (StringUtils.isEmpty(name)) { throw new IllegalArgumentException(); } this.name = name; } /** * Get the person's name * * @return the name */ public String getName() {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 461 bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/resources/org/gradle/scala/compile/IncrementalScalaCompileIntegrationTest/recompilesDependentClasses/src/main/scala/Person.scala
class Person(name: String) extends IPerson { def getName(): String = name
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 79 bytes - Viewed (0) -
platforms/jvm/scala/src/integTest/resources/org/gradle/scala/compile/IncrementalScalaCompileIntegrationTest/restoresClassesOnCompilationFailure/src/main/scala/Person.scala
class Person(name: String) extends IPerson { def getName(): String = name
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Sep 18 15:43:33 UTC 2023 - 79 bytes - Viewed (0)