Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 249 for bghelper (0.14 sec)

  1. src/cmd/go/go_test.go

    	}
    }
    
    // testgo sets up for a test that runs testgo.
    func testgo(t *testing.T) *testgoData {
    	t.Helper()
    	testenv.MustHaveGoBuild(t)
    	testenv.SkipIfShortAndSlow(t)
    
    	return &testgoData{t: t}
    }
    
    // must gives a fatal error if err is not nil.
    func (tg *testgoData) must(err error) {
    	tg.t.Helper()
    	if err != nil {
    		tg.t.Fatal(err)
    	}
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 81.1K bytes
    - Viewed (0)
  2. docs/en/docs/how-to/custom-docs-ui-assets.md

    !!! tip
        The *path operation* for `swagger_ui_redirect` is a helper for when you use OAuth2.
    
        If you integrate your API with an OAuth2 provider, you will be able to authenticate and come back to the API docs with the acquired credentials. And interact with it using the real OAuth2 authentication.
    
        Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper.
    
    ### Create a *path operation* to test it
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  3. pkg/scheduler/framework/plugins/noderesources/fit.go

    	"github.com/google/go-cmp/cmp"
    	v1 "k8s.io/api/core/v1"
    	"k8s.io/apimachinery/pkg/runtime"
    	"k8s.io/apimachinery/pkg/util/sets"
    	"k8s.io/klog/v2"
    	"k8s.io/kubernetes/pkg/api/v1/resource"
    	v1helper "k8s.io/kubernetes/pkg/apis/core/v1/helper"
    	"k8s.io/kubernetes/pkg/scheduler/apis/config"
    	"k8s.io/kubernetes/pkg/scheduler/apis/config/validation"
    	"k8s.io/kubernetes/pkg/scheduler/framework"
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 13:26:09 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  4. pilot/pkg/networking/core/listenertest/match.go

    		if alpn.Contains("http/1.1") {
    			return PlainHTTP
    		}
    		return PlainTCP
    	default:
    		return Unknown
    	}
    }
    
    func VerifyListeners(t test.Failer, listeners []*listener.Listener, lt ListenersTest) {
    	t.Helper()
    	for _, l := range listeners {
    		if lt.Name != "" && lt.Name != l.Name {
    			continue
    		}
    		if lt.Port != 0 && lt.Port != l.Address.GetSocketAddress().GetPortValue() {
    			continue
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  5. tests/integration/ambient/wasm_test.go

    	return apps.Captured
    }
    
    func GetTarget() echo.Target {
    	return apps.ServiceAddressedWaypoint
    }
    
    func mapTagToVersionOrFail(t framework.TestContext, tag, version string) {
    	t.Helper()
    	if err := registry.SetupTagMap(map[string]string{
    		imageName + ":" + tag: version,
    	}); err != nil {
    		t.Fatalf("failed to setup the tag map: %v", err)
    	}
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jun 03 21:02:05 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. src/time/tick_test.go

    			ticker.Stop()
    			ticker = NewTicker(Nanosecond * 2)
    		}
    		ticker.Stop()
    	})
    }
    
    func TestTimerGC(t *testing.T) {
    	run := func(t *testing.T, what string, f func()) {
    		t.Helper()
    		t.Run(what, func(t *testing.T) {
    			t.Helper()
    			const N = 1e4
    			var stats runtime.MemStats
    			runtime.GC()
    			runtime.GC()
    			runtime.GC()
    			runtime.ReadMemStats(&stats)
    			before := int64(stats.Mallocs - stats.Frees)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:10:37 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  7. src/encoding/gob/encode.go

    func (enc *Encoder) encodeArray(b *encBuffer, value reflect.Value, op encOp, elemIndir int, length int, helper encHelper) {
    	state := enc.newEncoderState(b)
    	defer enc.freeEncoderState(state)
    	state.fieldnum = -1
    	state.sendZero = true
    	state.encodeUint(uint64(length))
    	if helper != nil && helper(state, value) {
    		return
    	}
    	for i := 0; i < length; i++ {
    		elem := value.Index(i)
    		if elemIndir > 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 19K bytes
    - Viewed (0)
  8. pkg/kubelet/kubelet_node_status.go

    	cloudprovider "k8s.io/cloud-provider"
    	cloudproviderapi "k8s.io/cloud-provider/api"
    	nodeutil "k8s.io/component-helpers/node/util"
    	"k8s.io/klog/v2"
    	kubeletapis "k8s.io/kubelet/pkg/apis"
    	v1helper "k8s.io/kubernetes/pkg/apis/core/v1/helper"
    	"k8s.io/kubernetes/pkg/kubelet/events"
    	"k8s.io/kubernetes/pkg/kubelet/nodestatus"
    	taintutil "k8s.io/kubernetes/pkg/util/taints"
    	volutil "k8s.io/kubernetes/pkg/volume/util"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 31.1K bytes
    - Viewed (0)
  9. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/lifetime/KtLifetimeOwner.kt

        token.assertIsValidAndAccessible()
    }
    
    public inline fun <R> KaLifetimeOwner.withValidityAssertion(action: () -> R): R {
        assertIsValidAndAccessible()
        return action()
    }
    
    /**
     * This is a helper function to properly expose parameters in some [KaLifetimeOwner] implementation.
     *
     * An example:
     * ```kotlin
     * public class KaCall(symbol: KaSymbol) : KaLifetimeTokenOwner {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/syntax/positions.go

    // Copyright 2020 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file implements helper functions for scope position computations.
    
    package syntax
    
    // StartPos returns the start position of n.
    func StartPos(n Node) Pos {
    	// Cases for nodes which don't need a correction are commented out.
    	for m := n; ; {
    		switch n := m.(type) {
    		case nil:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 17:49:19 UTC 2024
    - 6.5K bytes
    - Viewed (0)
Back to top