Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 399 for Child (0.04 sec)

  1. tests/associations_test.go

    	parent := Parent{}
    	DB.Create(&parent)
    
    	child := Child{ParentID: &parent.ID, Parent: &parent, Name: "HasManyCircularReference"}
    	child1 := Child{ParentID: &parent.ID, Parent: &parent, Name: "HasManyCircularReference1"}
    
    	parent.Children = []*Child{&child, &child1}
    	DB.Save(&parent)
    
    	var children []*Child
    	DB.Where("parent_id = ?", parent.ID).Find(&children)
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Feb 08 08:29:09 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  2. src/cmd/go/internal/cache/prog.go

    	"time"
    )
    
    // ProgCache implements Cache via JSON messages over stdin/stdout to a child
    // helper process which can then implement whatever caching policy/mechanism it
    // wants.
    //
    // See https://github.com/golang/go/issues/59719
    type ProgCache struct {
    	cmd    *exec.Cmd
    	stdout io.ReadCloser  // from the child process
    	stdin  io.WriteCloser // to the child process
    	bw     *bufio.Writer  // to stdin
    	jenc   *json.Encoder  // to bw
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 19:23:25 UTC 2023
    - 11.8K bytes
    - Viewed (0)
  3. subprojects/core/src/main/java/org/gradle/execution/selection/DefaultBuildTaskSelector.java

                });
            }
            for (ProjectState child : project.getChildProjects()) {
                ProjectState previous = candidates.put(child.getIdentityPath().getName(), child);
                if (previous != null) {
                    throw new IllegalStateException("Duplicate child project names for " + project.getDisplayName());
                }
            }
            ProjectState child = candidates.get(childName);
            if (child != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 14K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/AbstractConsoleBuildPhaseFunctionalTest.groovy

                    }
                }
                ${buildFinishedCall('root-build-finished')}
            """
            createDirs("child/a", "child/b")
            file("child/settings.gradle") << """
                include 'a', 'b'
            """
            file("child/build.gradle") << """
                ${server.callFromBuild('child-build-script')}
                task hello {
                    dependsOn {
                        // call during task graph calculation
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 07:25:15 UTC 2024
    - 16.9K bytes
    - Viewed (0)
  5. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/ProgressEvents.groovy

            }
    
            Operation child(Spec<String> displayNameSpec) {
                def child = children.find { displayNameSpec.isSatisfiedBy(it.descriptor.displayName) }
                if (child == null) {
                    throw new AssertionFailedError("No operation matching display name found in children of '$descriptor.displayName':\n${describeList(children)}")
                }
                return child
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 23 13:50:05 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  6. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/DefaultListenerManagerTest.groovy

            manager.useLogger(listener1)
            def child = manager.createChild(Scope.Build)
            def broadcaster = child.getBroadcaster(BuildScopeListener.class)
            child.useLogger(listener2)
    
            when:
            broadcaster.foo("param")
    
            then:
            1 * listener2.foo("param")
            0 * _
    
            when:
            child.useLogger(listener3)
            broadcaster.foo("param2")
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 29.1K bytes
    - Viewed (0)
  7. platforms/extensibility/test-kit/src/integTest/groovy/org/gradle/testkit/runner/GradleRunnerPluginClasspathInjectionIntegrationTest.groovy

        }
    
        def "injected classes are inherited by child projects of project that applies plugin"() {
            given:
            file("settings.gradle") << "include 'child'"
            buildFile << plugin.build().useDeclaration
            file("child/build.gradle") << plugin.echoClassNameTask()
    
            when:
            def result = runner("child:echo1")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 15 03:45:31 UTC 2024
    - 13K bytes
    - Viewed (0)
  8. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/FileHierarchySet.java

                        boolean matched = false;
                        for (Node child : children) {
                            if (!matched) {
                                int childCommonPrefix = child.sizeOfCommonPrefix(path, startNextSegment);
                                if (childCommonPrefix > 0) {
                                    merged.add(child.plusWithCommonPrefixLength(nextSegment, childCommonPrefix));
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:38 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/ResolveConfigurationDependenciesBuildOperationIntegrationTest.groovy

                    implementation 'org.foo:unknown:1.0' //does not exist
                    implementation project(":child")
                    implementation 'org.foo:rock:1.0' //contains unresolved transitive dependency
                }
            """
            failedResolve.prepare("compileClasspath")
            createDirs("child")
            settingsFile << "include 'child'"
            def m1 = mavenHttpRepo.module('org.foo', 'hiphop').publish()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:33:46 UTC 2024
    - 28.6K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/TestLauncherSpec.groovy

                        normalizeExecutor(it.name) == name
                }
                if (child == null) {
                    failWith("test suite", name)
                }
                String expectedOperationDisplayName = name.startsWith("Gradle Test") ? normalizeExecutor(child.displayName) : "Test suite '$name'"
                assertSpec(child, testEvents, verifiedEvents, expectedOperationDisplayName, spec)
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 08:42:44 UTC 2024
    - 19.9K bytes
    - Viewed (0)
Back to top