Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 5,109 for whave (0.14 sec)

  1. src/cmd/internal/test2json/test2json_test.go

    // future use, that future use will have obviously wrong data.
    func writeAndKill(w io.Writer, b []byte) {
    	w.Write(b)
    	for i := range b {
    		b[i] = 'Z'
    	}
    }
    
    // diffJSON diffs the stream we have against the stream we want
    // and fails the test with a useful message if they don't match.
    func diffJSON(t *testing.T, have, want []byte) {
    	t.Helper()
    	type event map[string]any
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 19:50:36 UTC 2022
    - 7.2K bytes
    - Viewed (0)
  2. src/internal/types/testdata/fixedbugs/issue39634.go

    // crash 20
    type Z20 /* ERROR "invalid recursive type" */ interface{ Z20 }
    func F20[t Z20]() { F20(t /* ERROR "invalid composite literal type" */ /* ERROR "too many arguments in call to F20\n\thave (unknown type)\n\twant ()" */ {}) }
    
    // crash 21
    type Z21 /* ERROR "invalid recursive type" */ interface{ Z21 }
    func F21[T Z21]() { ( /* ERROR "not used" */ F21[Z21]) }
    
    // crash 24
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  3. test/fixedbugs/issue4215.go

    	return 2.3 // ERROR "not enough return values\n\thave \(number\)\n\twant \(int, int\)|not enough arguments to return"
    }
    
    func foo2() {
    	return int(2), 2 // ERROR "too many (arguments to return|return values)\n\thave \(int, number\)\n\twant \(\)|return with value in function with no return type"
    }
    
    func foo3(v int) (a, b, c, d int) {
    	if v >= 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 18 21:43:02 UTC 2022
    - 2K bytes
    - Viewed (0)
  4. test/fixedbugs/issue48835.go

    func f() {
    	var x int
    	f0(1)              // ERROR "too many arguments in call to f0\n\thave \(number\)\n\twant \(\)"
    	f0(x)              // ERROR "too many arguments in call to f0\n\thave \(int\)\n\twant \(\)"
    	f1()               // ERROR "not enough arguments in call to f1\n\thave \(\)\n\twant \(int\)"
    	f1(1, 2)           // ERROR "too many arguments in call to f1\n\thave \(number, number\)\n\twant \(int\)"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 24 20:57:46 UTC 2021
    - 1K bytes
    - Viewed (0)
  5. testing/architecture-test/src/changes/archunit-store/provider-task-file-collection.txt

    Method <org.gradle.api.plugins.antlr.AntlrTask.getSource()> does not have raw return type assignable to org.gradle.api.file.ConfigurableFileCollection in (AntlrTask.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/lookup2.go

    //
    // misspelled     x.foo   ==    Foo    type X has no field or method foo, but does have field Foo
    // misspelled     x.foo   ==    FoO    type X has no field or method foo, but does have field FoO
    // ok             x.foo   ==    foo
    // misspelled     x.foo   ==    foO    type X has no field or method foo, but does have field foO
    //
    // ok             x.Foo   !=    Foo
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 07 16:41:56 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  7. test/fixedbugs/issue48834.go

    	return 1 // ERROR "not enough (arguments to return|return values)\n\thave \(number\)\n\twant \(int, error\)"
    }
    
    func _() (int, error) {
    	var x int
    	return x // ERROR "not enough (arguments to return|return values)\n\thave \(int\)\n\twant \(int, error\)"
    }
    
    func _() int {
    	return 1, 2 // ERROR "too many (arguments to return|return values)\n\thave \(number, number\)\n\twant \(int\)"
    }
    
    func _() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 18 21:43:02 UTC 2022
    - 709 bytes
    - Viewed (0)
  8. testing/architecture-test/src/changes/archunit-store/stored.rules

    methods\ that\ are\ mutable\ public\ API\ properties\ and\ do\ not\ have\ raw\ return\ type\ org.gradle.api.resources.TextResource\ and\ do\ not\ have\ raw\ return\ type\ assignable\ to\ org.gradle.api.file.FileCollection\ should\ have\ return\ type\ Provider=public-api-mutable-properties.txt
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  9. testing/architecture-test/src/changes/archunit-store/public-api-mutable-file-collection.txt

    Method <org.gradle.api.tasks.SourceSet.getAnnotationProcessorPath()> does not have raw return type assignable to org.gradle.api.file.ConfigurableFileCollection in (SourceSet.java:0)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 08:43:33 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. pilot/pkg/networking/core/listenertest/match.go

    				t.Fatalf("didn't match filter chains, have names %v, expected %v", xdstest.ExtractFilterChainNames(l), want)
    			}
    			// Now check they are equivalent
    			for i := range lt.FilterChains {
    				have := l.FilterChains[i]
    				want := lt.FilterChains[i]
    
    				VerifyFilterChain(t, have, want)
    			}
    		} else {
    			for _, want := range lt.FilterChains {
    				found := 0
    				for _, have := range l.FilterChains {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
Back to top