Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 487 for Implicits (0.17 sec)

  1. test/typeparam/mdempsky/18.go

    // run
    
    // Copyright 2022 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that implicit conversions to interface type in a select/case
    // clause are compiled correctly.
    
    package main
    
    import "fmt"
    
    func main() { f[int]() }
    
    func f[T any]() {
    	ch := make(chan T)
    	close(ch)
    
    	var i, ok any
    	select {
    	case i, ok = <-ch:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 29 19:33:57 UTC 2022
    - 457 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/list_find_nodeps.txt

    # Issue #46092
    # go list -find should always return a package with an empty Deps list
    
    # The linker loads implicit dependencies
    go list -find -f {{.Deps}} ./cmd
    stdout '\[\]'
    
    # Cgo translation may add imports of "unsafe", "runtime/cgo" and "syscall"
    go list -find -f {{.Deps}} ./cgo
    stdout '\[\]'
    
    # SWIG adds imports of some standard packages
    go list -find -f {{.Deps}} ./swig
    stdout '\[\]'
    
    -- go.mod --
    module listfind
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 12 14:43:27 UTC 2021
    - 737 bytes
    - Viewed (0)
  3. test/typeparam/issue54765.go

    	"sync/atomic"
    )
    
    var _ atomic.Pointer[cgo.Incomplete]  // ERROR "cannot use incomplete \(or unallocatable\) type as a type argument: runtime/cgo\.Incomplete"
    var _ atomic.Pointer[*cgo.Incomplete] // ok
    
    func implicit(ptr *cgo.Incomplete) {
    	g(ptr)  // ERROR "cannot use incomplete \(or unallocatable\) type as a type argument: runtime/cgo\.Incomplete"
    	g(&ptr) // ok
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 729 bytes
    - Viewed (0)
  4. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/internal/DefaultIdeArtifactRegistry.java

            ProjectState projectState = projectRegistry.stateFor(project);
            if (!projectState.getOwner().isImplicitBuild()) {
                // Do not include implicit builds in workspace
                for (IdeProjectMetadata ideProjectMetadata : store.get(project)) {
                    if (type.isInstance(ideProjectMetadata)) {
                        return type.cast(ideProjectMetadata);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 5K bytes
    - Viewed (0)
  5. subprojects/core/src/main/java/org/gradle/api/internal/project/ProjectTaskLister.java

    import org.gradle.api.Project;
    import org.gradle.api.Task;
    
    import java.util.Collection;
    
    /**
     * Service to provide all tasks in a project including both regular tasks,
     * and implicit tasks.
     */
    public interface ProjectTaskLister {
        Collection<Task> listProjectTasks(Project project);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 02 16:56:13 UTC 2016
    - 950 bytes
    - Viewed (0)
  6. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/symbols/KtSymbol.kt

         * Declaration which do not have its PSI source and was generated, they are:
         * For regular classes, implicit default constructor is generated
         * For data classes the `copy`, `component{N}`, `toString`, `equals`, `hashCode` functions are generated
         * For enum classes the `valueOf` & `values` functions are generated
         * For lambda the `it` implicit parameter is generated
         */
        SOURCE_MEMBER_GENERATED,
    
        /**
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 09:36:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/internal/build/BuildStateRegistry.java

         */
        IncludedBuildState addIncludedBuild(BuildDefinition buildDefinition, Path buildPath);
    
        /**
         * Creates an implicit included build. An implicit build is-a nested build that is managed by Gradle and whose outputs are used by dependency resolution.
         */
        IncludedBuildState addImplicitIncludedBuild(BuildDefinition buildDefinition);
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 23:08:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/install_cross_gobin.txt

    env GO111MODULE=off
    [short] skip # rebuilds std for alternate architecture
    
    cd mycmd
    go build mycmd
    
    # cross-compile install with implicit GOBIN=$GOPATH/bin can make subdirectory
    env GOARCH=386
    [GOARCH:386] env GOARCH=amd64
    env GOOS=linux
    go install mycmd
    exists $GOPATH/bin/linux_$GOARCH/mycmd
    
    # cross-compile install with explicit GOBIN cannot make subdirectory
    env GOBIN=$WORK/bin
    ! go install mycmd
    ! exists $GOBIN/linux_$GOARCH
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 667 bytes
    - Viewed (0)
  9. subprojects/core-api/src/main/java/org/gradle/api/artifacts/ConfigurationPublications.java

     *
     * <p>An implicit variant is defined for a configuration whenever any artifacts are attached directly to this object or inherited from another configuration.</p>
     *
     * @since 3.3
     */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 08 17:57:43 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r23/ImplicitTasksToolingApiCrossVersionSpec.groovy

    
    import org.gradle.integtests.tooling.fixture.ToolingApiSpecification
    import org.gradle.tooling.model.GradleProject
    
    class ImplicitTasksToolingApiCrossVersionSpec extends ToolingApiSpecification {
    
        def "implicit/placeholder tasks are visible from tooling api"() {
            file("settings.gradle") << """
                include "subproject"
            """
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.2K bytes
    - Viewed (0)
Back to top