Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 487 for Implicits (0.22 sec)

  1. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/KotlinSettingsScript.kt

    @GradleDsl
    @Deprecated("Will be removed in Gradle 9.0")
    abstract class KotlinSettingsScript(
        private val host: KotlinScriptHost<Settings>
    ) : @Suppress("deprecation") SettingsScriptApi(host.target) /* TODO:kotlin-dsl configure implicit receiver */ {
    
        /**
         * The [ScriptHandler] for this script.
         */
        override fun getBuildscript(): ScriptHandler =
            host.scriptHandler
    
        override val fileOperations
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 26 19:59:56 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  2. test/typeparam/mdempsky/17.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 of derived types to interface type
    // in range loops work correctly.
    
    package main
    
    import (
    	"fmt"
    	"reflect"
    )
    
    func main() {
    	test{"int", "V"}.match(RangeArrayAny[V]())
    	test{"int", "V"}.match(RangeArrayIface[V]())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 10 21:35:49 UTC 2022
    - 2.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/MultiEdgesConnecting.java

    import java.util.AbstractSet;
    import java.util.Iterator;
    import java.util.Map;
    import java.util.Map.Entry;
    import javax.annotation.CheckForNull;
    
    /**
     * A class to represent the set of edges connecting an (implicit) origin node to a target node.
     *
     * <p>The {@link #outEdgeToNode} map allows this class to work on networks with parallel edges. See
     * {@link EdgesConnecting} for a class that is more efficient but forbids parallel edges.
     *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  4. src/os/exec/lp_windows.go

    				// prefer the explicit name for the executable (and, likely, no error) instead
    				// of the equivalent implicit name with ErrDot.
    				//
    				// Otherwise, return the ErrDot for the implicit path as soon as we find
    				// out that the explicit one doesn't match.
    				dotfi, dotfiErr := os.Lstat(dotf)
    				fi, fiErr := os.Lstat(f)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. platforms/core-configuration/kotlin-dsl/src/integTest/kotlin/org/gradle/kotlin/dsl/integration/KotlinBuildScriptIntegrationTest.kt

                        // Implicit SAM conversion
                        println(create<String>("baz") { it.toUpperCase() })
                        println(create(String::class) { it.toUpperCase() })
                        println(create(String::class, { name: String -> name.toUpperCase() }))
                        // Implicit SAM with receiver conversion
                        applyActionTo("action") {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/docs/userguide/dep-man/04-modeling-features/component_capabilities.adoc

    For example, if your build file contains the following dependencies:
    
    .A build file with an implicit conflict of logging frameworks
    ====
    include::sample[dir="snippets/dependencyManagement/managingTransitiveDependencies-declaringCapabilities/kotlin",files="build.gradle.kts[tags=dependencies]"]
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  7. src/go/doc/testdata/generics.go

    	struct{ f int }
    	~struct{ f int }
    	*struct{ f int }
    	struct{ f int } | ~struct{ f int }
    }
    
    // Func has an instantiated constraint.
    func Func[T Constraint[string, Type[int]]]() {}
    
    // AnotherFunc has an implicit constraint interface.
    //
    // Neither type parameters nor regular parameters should be filtered.
    func AnotherFunc[T ~struct{ f int }](_ struct{ f int }) {}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 10 18:06:32 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  8. platforms/documentation/docs/src/docs/userguide/api/groovy_build_script_primer.adoc

    [[groovy:project_object]]
    == The `Project` object
    
    As Groovy is an object-oriented language based on Java, its properties and methods apply to objects. In some cases, the object is implicit — particularly at the top level of a build script, i.e. not nested inside a `{}` block.
    
    Consider this fragment of build script, which contains an unqualified property and block:
    
    [source,groovy]
    ----
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Dec 01 20:23:16 UTC 2023
    - 10.5K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       */
      open fun connectionReleased(
        call: Call,
        connection: Connection,
      ) {
      }
    
      /**
       * Invoked just prior to sending request headers.
       *
       * The connection is implicit, and will generally relate to the last [connectionAcquired] event.
       *
       * This can be invoked more than 1 time for a single [Call]. For example, if the response to the
       * [Call.request] is a redirect to a different address.
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. src/syscall/exec_freebsd_test.go

    	// and remove jails.
    	if os.Getuid() != 0 {
    		t.Skip("kernel prohibits jail system calls in unprivileged process")
    	}
    
    	jid, root := prepareJail(t)
    
    	// Since jail attach does an implicit chroot to the jail's path,
    	// we need the binary there, and it must be statically linked.
    	x := filepath.Join(root, "syscall.test")
    	cmd := exec.Command(testenv.GoToolPath(t), "test", "-c", "-o", x, "syscall")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 22 20:38:48 UTC 2023
    - 2.4K bytes
    - Viewed (0)
Back to top