Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 145 for livable (0.13 sec)

  1. 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)
  2. 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)
  3. 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)
  4. src/cmd/gofmt/rewrite.go

    package main
    
    import (
    	"fmt"
    	"go/ast"
    	"go/parser"
    	"go/token"
    	"os"
    	"reflect"
    	"strings"
    	"unicode"
    	"unicode/utf8"
    )
    
    func initRewrite() {
    	if *rewriteRule == "" {
    		rewrite = nil // disable any previous rewrite
    		return
    	}
    	f := strings.Split(*rewriteRule, "->")
    	if len(f) != 2 {
    		fmt.Fprintf(os.Stderr, "rewrite rule must be of the form 'pattern -> replacement'\n")
    		os.Exit(2)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 27 22:07:13 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  5. tools/istio-iptables/pkg/cmd/root.go

    		"Comma separated list of inbound ports for which traffic is to be redirected to Envoy (optional). "+
    			"The wildcard character \"*\" can be used to configure redirection for all ports. An empty list will disable.",
    		&cfg.InboundPortsInclude)
    
    	flag.BindEnv(fs, constants.LocalExcludePorts, "d",
    		"Comma separated list of inbound ports to be excluded from redirection to Envoy (optional). "+
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 18 17:36:41 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  6. src/internal/godebug/godebug.go

    // which is used for generating and checking various documentation.
    // If the name is not listed in that table, New will succeed but calling Value
    // on the returned Setting will panic.
    // To disable that panic for access to an undocumented setting,
    // prefix the name with a #, as in godebug.New("#gofsystrace").
    // The # is a signal to New but not part of the key used in $GODEBUG.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 14:19:39 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  7. src/sync/pool_test.go

    //
    //go:build !race
    
    package sync_test
    
    import (
    	"runtime"
    	"runtime/debug"
    	"slices"
    	. "sync"
    	"sync/atomic"
    	"testing"
    	"time"
    )
    
    func TestPool(t *testing.T) {
    	// disable GC so we can control when it happens.
    	defer debug.SetGCPercent(debug.SetGCPercent(-1))
    	var p Pool
    	if p.Get() != nil {
    		t.Fatal("expected empty")
    	}
    
    	// Make sure that the goroutine doesn't migrate to another P
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. src/cmd/pprof/readlineui.go

    // The upstream pprof command implements the same functionality
    // using the github.com/chzyer/readline package.
    type readlineUI struct {
    	term *term.Terminal
    }
    
    func newReadlineUI() driver.UI {
    	// disable readline UI in dumb terminal. (golang.org/issue/26254)
    	if v := strings.ToLower(os.Getenv("TERM")); v == "" || v == "dumb" {
    		return nil
    	}
    	// test if we can use term.ReadLine
    	// that assumes operation in the raw mode.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 30 18:10:36 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/fake_kuberuntime_manager.go

    		kubeRuntimeManager,
    		flowcontrol.NewBackOff(time.Second, 300*time.Second),
    		false,
    		utilpointer.Int32Ptr(0), // No limit on max parallel image pulls,
    		0,                       // Disable image pull throttling by setting QPS to 0,
    		0,
    		&fakePodPullingTimeRecorder{},
    	)
    	kubeRuntimeManager.runner = lifecycle.NewHandlerRunner(
    		&fakeHTTP{},
    		kubeRuntimeManager,
    		kubeRuntimeManager,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 16 17:55:59 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  10. pkg/kubeapiserver/options/admission_test.go

    	options.GenericAdmission.EnablePlugins = []string{"NodeRestriction"}
    	if len(options.Validate()) == 0 {
    		t.Errorf("Expect error, but got none")
    	}
    
    	// 2. Both `--admission-control` and `--disable-admission-plugins` are specified
    	options = NewAdmissionOptions()
    	options.PluginNames = []string{"ServiceAccount"}
    	options.GenericAdmission.DisablePlugins = []string{"NodeRestriction"}
    	if len(options.Validate()) == 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Dec 15 01:51:35 UTC 2022
    - 3.4K bytes
    - Viewed (0)
Back to top