Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 145 for livable (0.1 sec)

  1. src/runtime/testdata/testprogcgo/sigstack.go

    	st.ss_sp = (char*)base;
    	st.ss_flags = 0;
    	st.ss_size = CSIGSTKSZ;
    	if (sigaltstack(&st, &ost) < 0) {
    		perror("sigaltstack failed");
    		abort();
    	}
    
    	// Call Go.
    	SigStackCallback();
    
    	// Disable signal stack and protect it so we can detect reuse.
    	if (ost.ss_flags & SS_DISABLE) {
    		// Darwin libsystem has a bug where it checks ss_size
    		// even if SS_DISABLE is set. (The kernel gets it right.)
    		ost.ss_size = CSIGSTKSZ;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  2. src/runtime/testdata/testprog/badtraceback.go

    package main
    
    import (
    	"runtime"
    	"runtime/debug"
    	"unsafe"
    )
    
    func init() {
    	register("BadTraceback", BadTraceback)
    }
    
    func BadTraceback() {
    	// Disable GC to prevent traceback at unexpected time.
    	debug.SetGCPercent(-1)
    	// Out of an abundance of caution, also make sure that there are
    	// no GCs actively in progress.
    	runtime.GC()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 06 23:02:28 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  3. src/crypto/x509/root.go

    // panic.
    //
    // The fallback behavior can be forced on all platforms, even when there is a
    // system certificate pool, by setting GODEBUG=x509usefallbackroots=1 (note that
    // on Windows and macOS this will disable usage of the platform verification
    // APIs and cause the pure Go verifier to be used). Setting
    // x509usefallbackroots=1 without calling SetFallbackRoots has no effect.
    func SetFallbackRoots(roots *CertPool) {
    	if roots == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/server.go

    		"--authentication-kubeconfig", fakeKubeConfig.Name(),
    		"--authorization-kubeconfig", fakeKubeConfig.Name(),
    		"--kubeconfig", fakeKubeConfig.Name(),
    		// disable admission and filters that require talking to kube-apiserver
    		"--enable-priority-and-fairness=false",
    		"--disable-admission-plugins", "NamespaceLifecycle,MutatingAdmissionWebhook,ValidatingAdmissionWebhook,ValidatingAdmissionPolicy"},
    		flags...,
    	), nil)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. src/net/http/pprof/testdata/delta_mutex.go

    package main
    
    import (
    	"bytes"
    	"fmt"
    	"log"
    	"net/http"
    	"net/http/pprof"
    	"net/http/httptest"
    	"runtime"
    )
    
    func main() {
    	// Disable the mutex profiler. This is the default, but that default is
    	// load-bearing for this test, which needs the base profile to be empty.
    	runtime.SetMutexProfileFraction(0)
    
    	h := pprof.Handler("mutex")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 19:52:28 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/cmd/link/internal/x86/obj.go

    // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    package x86
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 13 19:32:19 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  7. src/runtime/testdata/testprog/preempt.go

    )
    
    func init() {
    	register("AsyncPreempt", AsyncPreempt)
    }
    
    func AsyncPreempt() {
    	// Run with just 1 GOMAXPROCS so the runtime is required to
    	// use scheduler preemption.
    	runtime.GOMAXPROCS(1)
    	// Disable GC so we have complete control of what we're testing.
    	debug.SetGCPercent(-1)
    	// Out of an abundance of caution, also make sure that there are
    	// no GCs actively in progress. The sweep phase of a GC cycle
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 07 17:46:04 UTC 2021
    - 1.6K bytes
    - Viewed (0)
  8. security/pkg/credentialfetcher/fetcher_test.go

    			trustdomain:      "",
    			jwtPath:          "",
    			identityProvider: "",
    			expectedErr:      "invalid credential fetcher type foo",
    			expectedToken:    "",
    			expectedIdp:      "",
    		},
    	}
    
    	// Disable token refresh for GCE VM credential fetcher.
    	plugin.SetTokenRotation(false)
    	for id, tc := range testCases {
    		id, tc := id, tc
    		t.Run(id, func(t *testing.T) {
    			t.Parallel()
    			cf, err := NewCredFetcher(
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 03 20:21:32 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. src/cmd/internal/obj/ppc64/list9.go

    // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
    // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.  IN NO EVENT SHALL THE
    // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
    // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
    // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    // THE SOFTWARE.
    
    package ppc64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 15 21:12:43 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/types2/universe.go

    	_Copy:    {"copy", 2, false, statement},
    	_Delete:  {"delete", 2, false, statement},
    	_Imag:    {"imag", 1, false, expression},
    	_Len:     {"len", 1, false, expression},
    	_Make:    {"make", 1, true, expression},
    	// To disable max/min, remove the next two lines.
    	_Max:     {"max", 1, true, expression},
    	_Min:     {"min", 1, true, expression},
    	_New:     {"new", 1, false, expression},
    	_Panic:   {"panic", 1, false, statement},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 9.1K bytes
    - Viewed (0)
Back to top