Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 650 for startIdx (0.3 sec)

  1. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/executer/ResultAssertion.java

         * being already present in that collection.
         * <p>
         * A match means that the first n lines starting at {@code startIdx} match the lines of the
         * expected deprecation warning.  If there are not n lines starting at {@code startIdx} left in
         * the list of lines, then no match is made.
         * <p>
         * As a second side-effect, the last matched deprecation warning is stored in the
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-runtime/concurrent/src/test/groovy/org/gradle/internal/concurrent/DefaultExecutorFactoryTest.groovy

            executor.schedule(action3, 0, TimeUnit.SECONDS)
            thread.blockUntil.started3
    
            then:
            instant.started3 > instant.completed1
            instant.started3 > instant.started2
        }
    
    
        def stopBlocksUntilAllScheduledRunningJobsAreCompleted() {
            given:
            def action1 = {
                instant.started1
                thread.blockUntil.willStop
                thread.block()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 19:07:35 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. 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)
  5. tests/test_dependency_contextmanager.py

    from fastapi.testclient import TestClient
    
    app = FastAPI()
    state = {
        "/async": "asyncgen not started",
        "/sync": "generator not started",
        "/async_raise": "asyncgen raise not started",
        "/sync_raise": "generator raise not started",
        "context_a": "not started a",
        "context_b": "not started b",
        "bg": "not set",
        "sync_bg": "not set",
    }
    
    errors = []
    
    
    async def get_state():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. subprojects/core/src/integTest/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationIntegrationTest.groovy

            notifications.started(ConfigureProjectBuildOperationType.Details, [buildPath: ":buildSrc", projectPath: ":"])
            notifications.started(ConfigureProjectBuildOperationType.Details, [buildPath: ":a:buildSrc", projectPath: ":"])
            notifications.started(ConfigureProjectBuildOperationType.Details, [buildPath: ":a", projectPath: ":"])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  7. subprojects/core/src/test/groovy/org/gradle/internal/operations/notify/BuildOperationNotificationBridgeTest.groovy

            when:
            broadcast.started(d1, new OperationStartEvent(0))
            broadcast.started(d2, null)
    
            broadcast.started(d3, new OperationStartEvent(0))
            broadcast.finished(d3, new OperationFinishEvent(-1, -1, null, null))
    
            broadcast.started(d4, new OperationStartEvent(0))
            broadcast.started(d5, new OperationStartEvent(0))
            broadcast.started(d6, new OperationStartEvent(0))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top