Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 860 for incorrectly (0.13 sec)

  1. src/go/parser/testdata/resolution/typeparams.go2

    // TODO(rFindley): make a decision on how/whether to resolve identifiers that
    // refer to receiver type parameters, as is the case for the 'P' result
    // parameter below.
    //
    // For now, we ensure that types are not incorrectly resolved when receiver
    // type parameters are in scope.
    func (r /* =@recv */ Receiver /* @Receiver */ [RP]) m(RP) RP {}
    
    func f /* =@f */[T1 /* =@T1 */ interface{~[]T2 /* @T2 */}, T2 /* =@T2 */ any](
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. test/fixedbugs/issue29362b.go

    // In the second, only p is live, so that bitmap is 10.
    // Bitmaps are byte aligned, so if the first bitmap is interpreted as
    // extending across the entire argument area, we incorrectly concatenate
    // the bitmaps and end up using 110000001. That bad bitmap causes a6
    // to be considered a pointer.
    func noPointerArgs(p, q *byte, a0, a1, a2, a3, a4, a5, a6 uintptr) {
    	sink = make([]byte, 4096)
    	sinkptr = q
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 03 23:37:42 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  3. security/pkg/pki/util/san.go

    		return nil, err
    	} else if len(rest) != 0 {
    		return nil, fmt.Errorf("the SAN extension is incorrectly encoded")
    	}
    
    	// Check the rawValue is a sequence.
    	if !sequence.IsCompound || sequence.Tag != asn1.TagSequence || sequence.Class != asn1.ClassUniversal {
    		return nil, fmt.Errorf("the SAN extension is incorrectly encoded")
    	}
    
    	ids := []Identity{}
    	for bytes := sequence.Bytes; len(bytes) > 0; {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Oct 14 06:50:22 UTC 2022
    - 6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/deadstore_test.go

    			Goto("exit")),
    		Bloc("exit",
    			Exit("store2")))
    
    	CheckFunc(fun.f)
    	cse(fun.f)
    	dse(fun.f)
    	CheckFunc(fun.f)
    
    	v := fun.values["store1"]
    	if v.Op == OpCopy {
    		t.Errorf("store %s incorrectly removed", v)
    	}
    }
    
    func TestDeadStoreUnsafe(t *testing.T) {
    	// Make sure a narrow store can't shadow a wider one. The test above
    	// covers the case of two different types, but unsafe pointer casting
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 25 20:07:26 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/test/testdata/namedReturn_test.go

    // return variables in a return statement works.
    // See issue #14904.
    
    package main
    
    import (
    	"runtime"
    	"testing"
    )
    
    // Our heap-allocated object that will be GC'd incorrectly.
    // Note that we always check the second word because that's
    // where 0xdeaddeaddeaddead is written.
    type B [4]int
    
    // small (SSAable) array
    type A1 [3]*B
    
    //go:noinline
    func f1() (t A1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  6. pkg/config/kube/conversion_test.go

    		},
    		{
    			name:          "resolves grpc-web",
    			portName:      "grpc-web-x",
    			expectedProto: protocol.GRPCWeb,
    		},
    		{
    			name:          "makes sure grpc-web is not resolved incorrectly",
    			portName:      "grpcweb-x",
    			expectedProto: protocol.Unsupported,
    		},
    		{
    			name:          "resolves based on known ports",
    			port:          3306, // mysql
    			portName:      "random-name",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Apr 28 15:30:30 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/mod_goroot_errors.txt

    # Regression test for https://golang.org/issue/34769.
    # Missing standard-library imports should refer to GOROOT rather than
    # complaining about a malformed module path.
    # This is especially important when GOROOT is set incorrectly,
    # since such an error will occur for every package in std.
    
    # Building a nonexistent std package directly should fail usefully.
    
    ! go build -mod=readonly nonexist
    ! stderr 'import lookup disabled'
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/cycles4.go

    }
    
    type Element interface {
    	Node
    }
    
    type Event interface {
    	Target() Element
    }
    
    // Check that accessing an interface method too early doesn't lead
    // to follow-on errors due to an incorrectly computed type set.
    
    type T8 interface {
    	m() [unsafe.Sizeof(T8.m /* ERROR "undefined" */ )]int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. test/fixedbugs/bug248.dir/bug3.go

    	if _, ok := i.(p0.I); ok {
    		println("used t1 as p0.I")
    		panic("fail")
    	}
    
    	// check that type switch works.
    	// the worry is that if p0.T and p1.T have the same hash,
    	// the binary search will handle one of them incorrectly.
    	for j := 0; j < 3; j++ {
    		switch j {
    		case 0:
    			i = p0.T{}
    		case 1:
    			i = p1.T{}
    		case 2:
    			i = 3.14
    		}
    		switch i.(type) {
    		case p0.T:
    			if j != 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 26 15:20:42 UTC 2018
    - 1.9K bytes
    - Viewed (0)
  10. ci/official/containers/linux_arm64/setup.python.sh

      rm -f /dt10/usr/include/aarch64-linux-gnu/$f
      ln -s /usr/include/aarch64-linux-gnu/$f /dt10/usr/include/aarch64-linux-gnu/$f
    done
    popd
    
    # Python 3.10 include headers fix:
    # sysconfig.get_path('include') incorrectly points to /usr/local/include/python
    # map /usr/include/python3.10 to /usr/local/include/python3.10
    if [[ ! -f "/usr/local/include/$VERSION" ]]; then
      ln -sf /usr/include/$VERSION /usr/local/include/$VERSION
    fi
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 2.1K bytes
    - Viewed (0)
Back to top