Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,694 for findIn (0.27 sec)

  1. platforms/software/platform-base/src/test/groovy/org/gradle/platform/base/internal/DefaultBinaryTasksCollectionTest.groovy

            def copyTask = Mock(Copy)
            when:
            tasks.add(copyTask)
    
            then:
            tasks.findSingleTaskWithType(Copy) == copyTask
        }
    
        def "fails finding single task with type where multiple exist"() {
            def copyTask1 = Mock(Copy)
            def copyTask2 = Mock(Copy)
            when:
            tasks.add(copyTask1)
            tasks.add(copyTask2)
    
            and:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Oct 11 12:16:09 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/mod_clean_cache.txt

    ! exists ../replaced/test.out  # BUG: should still exist
    
    # 'go clean -modcache' should not download anything before cleaning.
    go mod edit -require rsc.io/quote@v1.99999999.0-not-a-real-version
    go clean -modcache
    ! stderr 'finding rsc.io'
    go mod edit -droprequire rsc.io/quote
    
    ! go clean -modcache m
    stderr 'go: clean -modcache cannot be used with package arguments'
    
    -- go.mod --
    module m
    -- m.go --
    package m
    
    -- r/go.mod --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 30 17:22:49 UTC 2022
    - 1.9K bytes
    - Viewed (0)
  3. src/os/exec/dot_test.go

    						}
    					}
    
    					_, err := LookPath("execabs-test")
    					if errdot == "1" {
    						if err == nil {
    							t.Fatalf("LookPath didn't fail when finding a non-relative path")
    						} else if !errors.Is(err, ErrDot) {
    							t.Fatalf("LookPath returned unexpected error: want Is ErrDot, got %q", err)
    						}
    					} else {
    						if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 18:19:21 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_get_toolchain.txt

    grep 'toolchain go1.99rc1' go.mod
    
    # go get go@1.24 does NOT find the release candidate
    cp go.mod.orig go.mod
    ! go get go@1.24
    stderr '^go: go@1.24: no matching versions for query "1.24"$'
    
    # go get go@1.24rc1 works
    cp go.mod.orig go.mod
    go get go@1.24rc1
    stderr '^go: upgraded go 1.21 => 1.24rc1$'
    grep 'go 1.24rc1' go.mod
    grep 'toolchain go1.99rc1' go.mod
    
    # go get go@latest finds the latest Go 1.23
    cp go.mod.orig go.mod
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jul 12 19:33:16 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  5. platforms/native/platform-native/src/test/groovy/org/gradle/nativeplatform/toolchain/internal/tools/ToolSearchPathTest.groovy

        @Rule def TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
        def os = Stub(OperatingSystem)
        def registry = new ToolSearchPath(os)
    
        def "finds executable in system path"() {
            def file = tmpDir.createFile("cc.bin")
    
            given:
            os.getExecutableName("cc") >> "cc.bin"
            os.path >> [file.parentFile]
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  6. src/runtime/mfinal_test.go

    	t.Parallel()
    	type T *int // needs to be a pointer base type to avoid tinyalloc and its never-finalized behavior.
    	x := new(T)
    	finRun := false
    	runtime.SetFinalizer(x, func(x *T) {
    		finRun = true
    	})
    	defer runtime.KeepAlive(x)
    	runtime.GC()
    	time.Sleep(time.Second)
    	if finRun {
    		t.Errorf("finalizer ran prematurely")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 19 20:45:58 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

                    documentationRoot = project.layout.projectDirectory.dir('docsRoot')
                    javadocRoot = documentationRoot.dir('javadoc')
                }
            """
        }
    
        def "finds broken section links"() {
            given:
            sampleDoc << """
    === Dead Section Links
    This section doesn't exist: <<missing_section>>
    Also see this one, which is another dead link: <<other_missing_section>>
            """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 28 22:01:54 UTC 2022
    - 7.8K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/dom.go

    	succs := func(b *Block) []Edge { return b.Succs }
    
    	//TODO: benchmark and try to find criteria for swapping between
    	// dominatorsSimple and dominatorsLT
    	return f.dominatorsLTOrig(f.Entry, preds, succs)
    }
    
    // dominatorsLTOrig runs Lengauer-Tarjan to compute a dominator tree starting at
    // entry and using predFn/succFn to find predecessors/successors to allow
    // computing both dominator and post-dominator trees.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Dec 03 17:08:51 UTC 2022
    - 7.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

     * on [ExchangeCodec], which handles the actual I/O.
     */
    class Exchange(
      internal val call: RealCall,
      internal val eventListener: EventListener,
      internal val finder: ExchangeFinder,
      private val codec: ExchangeCodec,
    ) {
      /** True if the request body need not complete before the response body starts. */
      internal var isDuplex: Boolean = false
        private set
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. src/internal/trace/testdata/testprog/many-start-stop.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Tests simply starting and stopping tracing multiple times.
    //
    // This is useful for finding bugs in trace state reset.
    
    //go:build ignore
    
    package main
    
    import (
    	"bytes"
    	"log"
    	"os"
    	"runtime"
    	"runtime/trace"
    )
    
    func main() {
    	// Trace a few times.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 786 bytes
    - Viewed (0)
Back to top