Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 44 for endClass (0.13 sec)

  1. pkg/controller/volume/persistentvolume/framework_test.go

    //  5. When 3. does not do any changes, finish the tests and compare final set
    //     of volumes/claims with expected claims/volumes and report differences.
    //
    // Some limit of calls in enforced to prevent endless loops.
    func runMultisyncTests(t *testing.T, ctx context.Context, tests []controllerTest, storageClasses []*storage.StorageClass, defaultStorageClass string) {
    	logger := klog.FromContext(ctx)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 01 09:54:00 UTC 2023
    - 38.3K bytes
    - Viewed (0)
  2. src/runtime/runtime-gdb_test.go

            }
    }
    
    func main() {
            go loop()
            time.Sleep(time.Second * 1)
    }
    `
    
    // TestGdbInfCallstack tests that gdb can unwind the callstack of cgo programs
    // on arm64 platforms without endless frames of function 'crossfunc1'.
    // https://golang.org/issue/37238
    func TestGdbInfCallstack(t *testing.T) {
    	checkGdbEnvironment(t)
    
    	testenv.MustHaveCGO(t)
    	if runtime.GOARCH != "arm64" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/decl.go

    				obj.typ = Typ[Invalid]
    			}
    
    		case *TypeName:
    			if !check.validCycle(obj) {
    				// break cycle
    				// (without this, calling underlying()
    				// below may lead to an endless loop
    				// if we have a cycle for a defined
    				// (*Named) type)
    				obj.typ = Typ[Invalid]
    			}
    
    		case *Func:
    			if !check.validCycle(obj) {
    				// Don't set obj.typ to Typ[Invalid] here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  4. src/go/types/issues_test.go

    	T1.SetUnderlying(s1)
    	s2 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil)
    	s3 := NewStruct([]*Var{NewField(nopos, nil, "_", s2, false)}, nil)
    	T2.SetUnderlying(s3)
    
    	// These calls must terminate (no endless recursion).
    	Comparable(T1)
    	Comparable(T2)
    }
    
    func TestIssue44515(t *testing.T) {
    	typ := Unsafe.Scope().Lookup("Pointer").Type()
    
    	got := TypeString(typ, nil)
    	want := "unsafe.Pointer"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/issues_test.go

    	T1.SetUnderlying(s1)
    	s2 := NewStruct([]*Var{NewField(nopos, nil, "_", T2, false)}, nil)
    	s3 := NewStruct([]*Var{NewField(nopos, nil, "_", s2, false)}, nil)
    	T2.SetUnderlying(s3)
    
    	// These calls must terminate (no endless recursion).
    	Comparable(T1)
    	Comparable(T2)
    }
    
    func TestIssue44515(t *testing.T) {
    	typ := Unsafe.Scope().Lookup("Pointer").Type()
    
    	got := TypeString(typ, nil)
    	want := "unsafe.Pointer"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 28.1K bytes
    - Viewed (0)
  6. src/go/types/decl.go

    				obj.typ = Typ[Invalid]
    			}
    
    		case *TypeName:
    			if !check.validCycle(obj) {
    				// break cycle
    				// (without this, calling underlying()
    				// below may lead to an endless loop
    				// if we have a cycle for a defined
    				// (*Named) type)
    				obj.typ = Typ[Invalid]
    			}
    
    		case *Func:
    			if !check.validCycle(obj) {
    				// Don't set obj.typ to Typ[Invalid] here
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 31K bytes
    - Viewed (0)
  7. src/go/parser/parser.go

    	tok token.Token // one token look-ahead
    	lit string      // token literal
    
    	// Error recovery
    	// (used to limit the number of calls to parser.advance
    	// w/o making scanning progress - avoids potential endless
    	// loops across multiple parser functions during error recovery)
    	syncPos token.Pos // last synchronization position
    	syncCnt int       // number of parser.advance calls without progress
    
    	// Non-syntactic parser control
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 08 20:07:50 UTC 2023
    - 72.2K bytes
    - Viewed (0)
  8. pkg/controller/volume/persistentvolume/binder_test.go

    //  5. When 3. does not do any changes, finish the tests and compare final set
    //     of volumes/claims with expected claims/volumes and report differences.
    //
    // Some limit of calls in enforced to prevent endless loops.
    func TestMultiSync(t *testing.T) {
    	tests := []controllerTest{
    		// Test simple binding
    		{
    			// syncClaim binds to a matching unbound volume.
    			name:            "10-1 - successful bind",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 00:37:30 UTC 2023
    - 65.8K bytes
    - Viewed (0)
  9. src/bufio/bufio_test.go

    	case err := <-c:
    		if err == nil {
    			t.Error("error expected")
    		} else if err != io.ErrNoProgress {
    			t.Error("unexpected error:", err)
    		}
    	case <-time.After(time.Second):
    		t.Error("test timed out (endless loop in ReadByte?)")
    	}
    }
    
    // A StringReader delivers its data one string segment at a time via Read.
    type StringReader struct {
    	data []string
    	step int
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 10 18:56:01 UTC 2023
    - 51.5K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types/type.go

    	// This follows the structure of function identical in identity.go
    	// with two exceptions.
    	// 1. Symbols are compared more carefully because a <,=,> result is desired.
    	// 2. Maps are treated specially to avoid endless recursion -- maps
    	//    contain an internal data type not expressible in Go source code.
    	if t == x {
    		return CMPeq
    	}
    	if t == nil {
    		return CMPlt
    	}
    	if x == nil {
    		return CMPgt
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top