Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 9,318 for haxe (0.09 sec)

  1. src/go/parser/testdata/issue50427.go2

    package p
    
    type T interface{ m[ /* ERROR "must have no type parameters" */ P any]() }
    
    func _(t T) {
    	var _ interface{ m[ /* ERROR "must have no type parameters" */ P any](); n() } = t
    }
    
    type S struct{}
    
    func (S) m[ /* ERROR "must have no type parameters" */ P any]() {}
    
    func _(s S) {
    	var _ interface{ m[ /* ERROR "must have no type parameters" */ P any](); n() } = s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 04 00:43:57 UTC 2022
    - 533 bytes
    - Viewed (0)
  2. test/fixedbugs/issue43942.go

    				panic(1)
    			}()
    		}()
    	}()
    	func() {
    		for {
    			defer func() {
    				defer panic(5)
    			}()
    			break
    		}
    		panic(4)
    	}()
    }
    
    func expect(want, have interface{}) {
    	if want != have {
    		log.Fatalf("want %v, have %v", want, have)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 16 01:54:23 UTC 2022
    - 726 bytes
    - Viewed (0)
  3. src/runtime/runtime_linux_test.go

    	// the same size as what the kernel defines.
    	if have, want := unsafe.Sizeof(Siginfo{}), uintptr(SiginfoMaxSize); have != want {
    		t.Errorf("Go's siginfo struct is %d bytes long; kernel expects %d", have, want)
    	}
    	if have, want := unsafe.Sizeof(Sigevent{}), uintptr(SigeventMaxSize); have != want {
    		t.Errorf("Go's sigevent struct is %d bytes long; kernel expects %d", have, want)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 20:20:01 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  4. src/debug/macho/file_test.go

    					}
    				case *Dylib:
    					have := l
    					have.LoadBytes = nil
    					if !reflect.DeepEqual(have, want) {
    						t.Errorf("open %s, command %d:\n\thave %#v\n\twant %#v\n", tt.file, i, have, want)
    					}
    				case *Rpath:
    					have := l
    					have.LoadBytes = nil
    					if !reflect.DeepEqual(have, want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 12.4K bytes
    - Viewed (0)
  5. android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java

                    "tearDownTwo should have been run before tearDownOne", false, tearDownOne.ran);
              }
            };
    
        final SimpleTearDown tearDownTwo = new SimpleTearDown(callback);
        stack.addTearDown(tearDownTwo);
    
        assertEquals(false, tearDownOne.ran);
        assertEquals(false, tearDownTwo.ran);
    
        stack.runTearDown();
    
        assertEquals("tearDownOne should have run", true, tearDownOne.ran);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  6. src/internal/types/testdata/fixedbugs/issue50427.go

    type T interface{ m[ /* ERROR "must have no type parameters" */ P any]() }
    
    func _(t T) {
    	var _ interface{ m[ /* ERROR "must have no type parameters" */ P any](); n() } = t /* ERROR "does not implement" */
    }
    
    type S struct{}
    
    func (S) m[ /* ERROR "must have no type parameters" */ P any]() {}
    
    func _(s S) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 02 02:58:32 UTC 2022
    - 731 bytes
    - Viewed (0)
  7. src/net/net_windows_test.go

    					have = append(have, addr.IP.String())
    				}
    			case *IPAddr:
    				if addr.IP.To4() != nil {
    					have = append(have, addr.String())
    				}
    				if addr.IP.To16() != nil && addr.IP.To4() == nil {
    					// netsh does not output netmask for ipv6, so ignore ipv6 mask
    					have = append(have, addr.IP.String())
    				}
    			}
    		}
    		slices.Sort(have)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. src/internal/types/testdata/fixedbugs/issue51233.go

    type FFn[RCT RC[RG], RG any] func() Fn /* ERROR "not enough type arguments for type Fn: have 1, want 2" */ [RCT]
    
    type F[RCT RC[RG], RG any] interface {
    	Fn() Fn /* ERROR "not enough type arguments for type Fn: have 1, want 2" */ [RCT]
    }
    
    type concreteF[RCT RC[RG], RG any] struct {
    	makeFn FFn /* ERROR "not enough type arguments for type FFn: have 1, want 2" */ [RCT]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 00:50:55 UTC 2023
    - 818 bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/TearDownStackTest.java

                    "tearDownTwo should have been run before tearDownOne", false, tearDownOne.ran);
              }
            };
    
        final SimpleTearDown tearDownTwo = new SimpleTearDown(callback);
        stack.addTearDown(tearDownTwo);
    
        assertEquals(false, tearDownOne.ran);
        assertEquals(false, tearDownTwo.ran);
    
        stack.runTearDown();
    
        assertEquals("tearDownOne should have run", true, tearDownOne.ran);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 17 15:19:38 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  10. docs/en/docs/benchmarks.md

    * **Uvicorn**:
        * Will have the best performance, as it doesn't have much extra code apart from the server itself.
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top