Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 378 for until (0.41 sec)

  1. src/cmd/go/testdata/script/test_timeout_stdin.txt

    [short] skip 'runs a test that hangs until its WaitDelay expires'
    
    ! go test -v -timeout=1m .
    
    	# After the test process itself prints PASS and exits,
    	# the kernel closes its stdin pipe to to the orphaned subprocess.
    	# At that point, we expect the subprocess to print 'stdin closed'
    	# and periodically log to stderr until the WaitDelay expires.
    	#
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 20:23:27 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  2. platforms/core-configuration/stdlib-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/stdlib/HashSetCodec.kt

        factory: (Int) -> T
    ): T {
        val size = readSmallInt()
        val container = factory(size)
        for (i in 0 until size) {
            val element = read()
            if (element === CircularReferenceMarker.INSTANCE) {
                // upon reading a circular reference, wait until all objects have been initialized
                // before inserting the elements in the resulting set.
                val remainingSize = size - i
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat May 25 20:43:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. platforms/core-configuration/graph-serialization/src/main/kotlin/org/gradle/internal/serialize/graph/Combinators.kt

        val size = readSmallInt()
        for (i in 0 until size) {
            readElement()
        }
    }
    
    
    inline fun <T, C : MutableCollection<T>> Decoder.readCollectionInto(
        containerForSize: (Int) -> C,
        readElement: () -> T
    ): C {
        val size = readSmallInt()
        val container = containerForSize(size)
        for (i in 0 until size) {
            container.add(readElement())
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:59:39 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/serialize/ClassPathEncodingExtensions.kt

        val builder = DefaultClassPath.builderWithExactSize(size)
        for (i in 0 until size) {
            builder.add(readFile())
        }
        return builder.build()
    }
    
    
    internal
    fun Decoder.readTransformedClassPath(): ClassPath {
        val size = readSmallInt()
        val builder = TransformedClassPath.builderWithExactSize(size)
        for (i in 0 until size) {
            builder.add(readFile(), readFile())
        }
        return builder.build()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/test_cleanup_failnow.txt

    [short] skip
    
    # This test could fail if the testing package does not wait until
    # a panicking test does the panic. Turn off multithreading and GC
    # to increase the probability of such a failure.
    env GOMAXPROCS=1
    env GOGC=off
    
    # If the test exits with 'no tests to run', it means the testing package
    # implementation is incorrect and does not wait until a test panic.
    # If the test exits with '(?s)panic: die.*panic: die', it means
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 16 14:49:13 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/go/testdata/script/test_fuzz_io_error.txt

    	if isWorker() {
    		sendGarbageToCoordinator(f)
    		time.Sleep(3600 * time.Second) // pause until coordinator terminates the process
    	}
    	f.Fuzz(func(*testing.T, []byte) {})
    }
    
    func FuzzClosePipeAfter(f *testing.F) {
    	f.Fuzz(func(t *testing.T, _ []byte) {
    		if isWorker() {
    			sendGarbageToCoordinator(t)
    			time.Sleep(3600 * time.Second) // pause until coordinator terminates the process
    		}
    	})
    }
    -- io_error_windows_test.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/ScriptHandlerScopeTest.kt

            verify(dependencies).add(eq("classpath"), eq(notation))
            verify(dependencies).addProvider(eq("classpath"), eq(notation), any<Action<ExternalModuleDependency>>())
            // Because it's a Provider, this isn't called until evaluation
            verify(dependency, never()).exclude(mapOf("module" to "com.google.guava"))
        }
    
        @Test
        fun `can use a provider convertible for the dependency declaration`() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/analysis/LocalValueTest.kt

            with(rhs2.assigned) {
                assertIs<ObjectOrigin.NewObjectFromMemberFunction>(this)
                assertEquals("my2", function.simpleName)
            }
        }
    
        @Test
        fun `a local value cannot be used until assigned at top level`() {
            val resolution = schema.resolve(
                """
                my {
                    my = m
                }
    
                val m = my1()
    
                my {
                    my = m
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 12:28:39 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/execution/Lexer.kt

                    if (topLevelBlock.tokenText == identifier) {
                        state = State.SearchingBlockStart
                        inTopLevelBlock = topLevelBlock
                        blockIdentifier = tokenStart until tokenEnd
                        blockFirstAnnotation = annotationStart
                        return true
                    }
                }
            }
            return false
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_finished_subtest_goroutines.txt

    # Regression test for https://golang.org/issue/45127:
    # Goroutines for completed parallel subtests should exit immediately,
    # not block until earlier subtests have finished.
    
    [short] skip
    
    ! go test .
    stdout 'panic: slow failure'
    ! stdout '\[chan send'
    
    -- go.mod --
    module golang.org/issue45127
    
    go 1.16
    -- issue45127_test.go --
    package main
    
    import (
    	"fmt"
    	"runtime"
    	"runtime/debug"
    	"sync"
    	"testing"
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 19 17:34:25 UTC 2021
    - 1K bytes
    - Viewed (0)
Back to top