Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for setMaxStack (0.09 sec)

  1. src/runtime/debug/garbage.go

    // of the value provided to SetMaxStack.
    //
    // SetMaxStack is useful mainly for limiting the damage done by
    // goroutines that enter an infinite recursion. It only limits future
    // stack growth.
    func SetMaxStack(bytes int) int {
    	return setMaxStack(bytes)
    }
    
    // SetMaxThreads sets the maximum number of operating system
    // threads that the Go program can use. If it attempts to use more than
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  2. src/path/filepath/path_windows_test.go

    		}
    	}
    }
    
    func TestUNC(t *testing.T) {
    	// Test that this doesn't go into an infinite recursion.
    	// See golang.org/issue/15879.
    	defer debug.SetMaxStack(debug.SetMaxStack(1e6))
    	filepath.Glob(`\\?\c:\*`)
    }
    
    func testWalkMklink(t *testing.T, linktype string) {
    	output, _ := exec.Command("cmd", "/c", "mklink", "/?").Output()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 20:38:54 UTC 2024
    - 19.6K bytes
    - Viewed (0)
Back to top