Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,581 for Explicit (0.36 sec)

  1. test/interface/explicit.go

    type I interface {
    	M()
    }
    
    var i I
    
    type I2 interface {
    	M()
    	N()
    }
    
    var i2 I2
    
    type E interface{}
    
    var e E
    
    func main() {
    	e = t // ok
    	t = e // ERROR "need explicit|need type assertion"
    
    	// neither of these can work,
    	// because i has an extra method
    	// that t does not, so i cannot contain a t.
    	i = t // ERROR "incompatible|missing method M"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 24 17:04:15 UTC 2022
    - 2K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testshared/testdata/explicit/explicit.go

    package explicit
    
    import (
    	"testshared/implicit"
    )
    
    func E() int {
    	return implicit.I()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 91 bytes
    - Viewed (0)
  3. maven-model-builder/src/test/resources/poms/depmgmt/root-distance-explicit.xml

    Tamas Cservenak <******@****.***> 1706804704 +0100
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Feb 01 16:25:04 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  4. pkg/kube/inject/testdata/inject/explicit-security-context.yaml

    John Howard <******@****.***> 1607385305 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 07 23:55:05 UTC 2020
    - 379 bytes
    - Viewed (0)
  5. pkg/kube/inject/testdata/inject/explicit-security-context.yaml.injected

    John Howard <******@****.***> 1709052916 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. src/encoding/asn1/common.go

    //
    // On the other hand, if it said [EXPLICIT CONTEXT-SPECIFIC 10], then an
    // /additional/ tag would wrap the default tag. This explicit tag will have the
    // compound flag set.
    //
    // (This is used in order to remove ambiguity with optional elements.)
    //
    // You can layer EXPLICIT and IMPLICIT tags to an arbitrary depth, however we
    // don't support that here. We support a single layer of EXPLICIT or IMPLICIT
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 06 15:53:04 UTC 2021
    - 5.5K bytes
    - Viewed (0)
  7. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/configurations/DefaultConfigurationPublicationsTest.groovy

            variants.size() == 2
    
            def implicit = variants.first()
            implicit.displayName == displayName
            implicit.attributes == AttributeTestUtil.attributes(["thing": "value1"])
            implicit.artifacts == allArtifacts
    
            def explicit = (variants as List)[1]
            explicit.displayName.displayName == '<config> variant child'
            explicit.attributes == AttributeTestUtil.attributes(["thing": "value2"])
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 11:21:15 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  8. test/live_uintptrkeepalive.go

    	var t int
    	p := unsafe.Pointer(&t)
    	implicit(uintptr(p)) // ERROR "live at call to implicit: .?autotmp" "stack object .autotmp_[0-9]+ unsafe.Pointer$"
    }
    
    func localExplicit() { // ERROR "can inline localExplicit"
    	var t int
    	p := unsafe.Pointer(&t)
    	explicit(uintptr(p)) // ERROR "live at call to explicit: .?autotmp" "stack object .autotmp_[0-9]+ unsafe.Pointer$"
    }
    
    func localSyscall() { // ERROR "can inline localSyscall"
    	var v int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/work_vendor_modules_txt_consistent.txt

    -- modules.txt.extra_explicit --
    ## workspace
    # example.com/p v1.0.0 => ./p
    ## explicit; go 1.21
    # example.com/q v1.0.0 => ./q
    ## explicit; go 1.21
    # example.com/r v1.0.0
    example.com/r
    ## explicit; go 1.21
    -- extra_explicit_error.txt --
    go: inconsistent vendoring in $GOPATH${/}src:
    	example.com/r@v1.0.0: is marked as explicit in vendor/modules.txt, but not explicitly required in a go.mod
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 11 01:59:23 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. tensorflow/cc/framework/ops.h

        Initializer(const T& v) {  // NOLINT(runtime/explicit)
          typedef typename RealType<T>::type RealT;
          Tensor t(DataTypeToEnum<RealT>::v(), TensorShape());
          t.flat<RealT>()(0) = RealT(v);
          tensor = t;
        }
    
        Initializer(const Tensor& t) : tensor(t) {}  // NOLINT(runtime/explicit)
    
        /// Construct from a scalar value and an explicit shape
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 13 05:57:22 UTC 2024
    - 10.5K bytes
    - Viewed (0)
Back to top