- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 1,767 for makeID (0.5 sec)
-
pkg/controller/garbagecollector/garbagecollector_test.go
func TestConflictingData(t *testing.T) { pod1ns1 := makeID("v1", "Pod", "ns1", "podname1", "poduid1") pod2ns1 := makeID("v1", "Pod", "ns1", "podname2", "poduid2") pod2ns2 := makeID("v1", "Pod", "ns2", "podname2", "poduid2") node1 := makeID("v1", "Node", "", "nodename", "nodeuid1") role1v1beta1 := makeID("rbac.authorization.k8s.io/v1beta1", "Role", "ns1", "role1", "roleuid1")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 111.6K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/volumebinding/assume_cache_test.go
shouldSucceed bool }{ "success-same-version": { oldPV: makePV("pv1", "").withVersion("5").PersistentVolume, newPV: makePV("pv1", "").withVersion("5").PersistentVolume, shouldSucceed: true, }, "success-storageclass-same-version": { oldPV: makePV("pv1", "class1").withVersion("5").PersistentVolume, newPV: makePV("pv1", "class1").withVersion("5").PersistentVolume, shouldSucceed: true, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 09:46:58 UTC 2024 - 12.8K bytes - Viewed (0) -
src/make.rc
# (make.bash, make.bat, make.rc)....
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:48:46 UTC 2024 - 3.7K bytes - Viewed (0) -
src/make.bash
bootgo=1.20.6 set -e if [[ ! -f run.bash ]]; then echo 'make.bash must be run from $GOROOT/src' 1>&2 exit 1 fi if [[ "$GOBUILDTIMELOGFILE" != "" ]]; then echo $(LC_TIME=C date) start make.bash >"$GOBUILDTIMELOGFILE" fi # Test for Windows. case "$(uname)" in *MINGW* | *WIN32* | *CYGWIN*) echo 'ERROR: Do not use make.bash to build on Windows.' echo 'Use make.bat instead.' echo exit 1 ;; esac
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 13:48:46 UTC 2024 - 7.6K bytes - Viewed (0) -
src/internal/trace/testdata/testprog/futile-wakeup.go
// license that can be found in the LICENSE file. // Tests to make sure the runtime doesn't generate futile wakeups. For example, // it makes sure that a block on a channel send that unblocks briefly only to // immediately go back to sleep (in such a way that doesn't reveal any useful // information, and is purely an artifact of the runtime implementation) doesn't // make it into the trace. //go:build ignore package main import (
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 1.8K bytes - Viewed (0) -
src/strings/clone.go
import ( "internal/stringslite" ) // Clone returns a fresh copy of s. // It guarantees to make a copy of s into a new allocation, // which can be important when retaining only a small substring // of a much larger string. Using Clone can help such programs // use less memory. Of course, since using Clone makes a copy, // overuse of Clone can make programs use more memory. // Clone should typically be used only rarely, and only when
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat May 04 01:23:42 UTC 2024 - 809 bytes - Viewed (0) -
pilot/pkg/serviceregistry/aggregate/controller_test.go
t.Fatal("Returned Instance is incorrect") } } // Get Instances from mockAdapter2 instances = aggregateCtl.GetProxyServiceTargets(&model.Proxy{IPAddresses: []string{mock.MakeIP(mock.WorldService, 1)}}) if len(instances) != 6 { t.Fatalf("Returned GetProxyServiceTargets' amount %d is not correct", len(instances)) } for _, inst := range instances {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 15 06:28:11 UTC 2024 - 14.5K bytes - Viewed (0) -
src/archive/tar/writer_test.go
var fw fileWriter switch maker := v.maker.(type) { case makeReg: fw = ®FileWriter{w, maker.size} wantStr = maker.wantStr case makeSparse: if !validateSparseEntries(maker.sph, maker.size) { t.Fatalf("invalid sparse map: %v", maker.sph) } spd := invertSparseEntries(maker.sph, maker.size) fw = ®FileWriter{w, maker.makeReg.size} fw = &sparseFileWriter{fw, spd, 0}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 38.7K bytes - Viewed (0) -
src/internal/types/testdata/check/builtins0.go
_ = make(chan<- int, "foo" /* ERROR "cannot convert" */) _ = make(chan int, - /* ERROR "must not be negative" */ 10) _ = make(<-chan float64, 10) _ = make(chan chan int, n) _ = make(chan string, int64(n)) _ = make(chan bool, 10.0) _ = make(chan bool, 10.0<<s) _ = &make /* ERROR "cannot take address" */ (chan bool) make /* ERROR "not used" */ ([]int, 10) var t []int _ = make([]int, t[0], t[1])
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 29.3K bytes - Viewed (0) -
src/runtime/pprof/label.go
// and makes a [LabelSet] containing them. // A label overwrites a prior label with the same key. // Currently only the CPU and goroutine profiles utilize any labels // information. // See https://golang.org/issue/23458 for details. func Labels(args ...string) LabelSet { if len(args)%2 != 0 { panic("uneven number of arguments to pprof.Labels") } list := make([]label, 0, len(args)/2)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3K bytes - Viewed (0)