Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 386 for startIdx (0.23 sec)

  1. src/slices/slices.go

    		uintptr(unsafe.Pointer(&b[0])) <= uintptr(unsafe.Pointer(&a[len(a)-1]))+(elemSize-1)
    }
    
    // startIdx returns the index in haystack where the needle starts.
    // prerequisite: the needle must be aliased entirely inside the haystack.
    func startIdx[E any](haystack, needle []E) int {
    	p := &needle[0]
    	for i := range haystack {
    		if p == &haystack[i] {
    			return i
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/testng/TestNGTestClassProcessorTest.groovy

            1 * processor.started({ it.id == 2 && it.name == 'Gradle test' }, _)
            1 * processor.started({ it.name == 'ok' && it.className == ATestNGClassWithManyMethods.name }, { it.parentId == 2 })
            1 * processor.started({ it.name == 'ok2' && it.className == ATestNGClassWithManyMethods.name }, { it.parentId == 2 })
            0 * processor.started(_, _)
        }
    
        void "executes no tests if none of the included test methods match"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 18 12:30:10 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  3. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/results/AttachParentTestResultProcessorTest.groovy

            TestStartEvent suiteStartEvent = new TestStartEvent(100L)
    
            when:
            processor.started(suite, suiteStartEvent)
            processor.started(test, new TestStartEvent(200L))
    
            then:
            1 * target.started(suite, suiteStartEvent)
            1 * target.started(test, { it.parentId == 'suite' })
        }
    
        def canHaveMoreThanOneRootSuite() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 20:33:30 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  4. platforms/core-runtime/logging/src/main/java/org/gradle/internal/logging/progress/DefaultProgressLoggerFactory.java

                setDescription(description);
                started(status);
                return this;
            }
    
            @Override
            public void started() {
                started(null);
            }
    
            @Override
            public void started(String status) {
                started(status, totalProgress);
            }
    
            private void started(String status, int totalProgress) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  5. platforms/software/testing-base-infrastructure/src/test/groovy/org/gradle/api/internal/tasks/testing/processors/CaptureTestOutputTestResultProcessorTest.groovy

            def testEvent = new TestStartEvent(2, "1")
    
            processor.started(new DefaultTestSuiteDescriptor("1", "Foo"), new TestStartEvent(1))
    
            when: processor.started(test, testEvent)
    
            then:
            1 * target.started(test, testEvent)
            1 * redirector.setOutputOwner("2")
            0 * _
        }
    
        def "when test completes its parent will be the owner of output"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 15:59:04 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  6. pilot/pkg/server/instance_test.go

    					} else {
    						inst.RunComponentAsync("test", component)
    					}
    				} else {
    					inst.RunComponent("test", component)
    				}
    			}()
    
    			// Ensure that the component is started.
    			g.Eventually(func() bool {
    				return c.c.started.Load()
    			}).Should(BeTrue())
    
    			// Stop before the tasks end.
    			stop.Close()
    			if c.wait {
    				// Add a little buffer to the task duration.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 23:02:39 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  7. docs/em/docs/deployment/server-workers.md

    [19515] [INFO] Booting worker with pid: 19515
    [19511] [INFO] Started server process [19511]
    [19511] [INFO] Waiting for application startup.
    [19511] [INFO] Application startup complete.
    [19513] [INFO] Started server process [19513]
    [19513] [INFO] Waiting for application startup.
    [19513] [INFO] Application startup complete.
    [19514] [INFO] Started server process [19514]
    [19514] [INFO] Waiting for application startup.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  8. platforms/core-runtime/logging/src/integTest/groovy/org/gradle/internal/logging/console/jvm/AbstractConsoleJvmTestLoggingFunctionalTest.groovy

            def taskOutput = getTaskOutput(result)
            matchesTaskOutput(taskOutput, testLogEventRegex(TestLogEvent.SKIPPED.consoleMarker))
        }
    
        def "can group started test log event with task if configured"() {
            given:
            buildFile << testLoggingEvents(TestLogEvent.STARTED.testLoggingIdentifier)
            file(JAVA_TEST_FILE_PATH) << javaTestClass { '' }
    
            when:
            executer.withConsole(consoleType)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 14:21:18 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/WorkerDaemonClientCancellationHandler.java

            this.buildCancellationToken = buildCancellationToken;
        }
    
        public void start() {
            if (started.compareAndSet(false, true)) {
                buildCancellationToken.addCallback(cancellationCallback);
            }
        }
    
        @Override
        public void stop() {
            if (started.compareAndSet(true, false)) {
                buildCancellationToken.removeCallback(cancellationCallback);
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 30 19:57:50 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/process/ProcessInPluginBuildScriptIntegrationTest.groovy

                if (file.endsWith(".gradle.kts")) {
                    withProblem("Settings file '${relativePath(file)}': external process started")
                } else {
                    withProblem("Settings file '${relativePath(file)}': line 5: external process started")
                }
            }
    
            where:
            snippetsFactory             | file
            exec().groovy               | "included/settings.gradle"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top