Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 2,955 for makeID (0.19 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/make.bat

    goto fail
    L155:del .\cmd\dist\dist.exe
    L156:goto :eof
    L157:
    L158::: DO NOT ADD ANY NEW CODE HERE.
    L159::: The bootstrap+del above are the final step of make.bat.
    L160::: If something must be added, add it to cmd/dist's cmdbootstrap,
    L161::: to avoid needing three copies in three different shell languages
    L162::: (make.bash, make.bat, make.rc).
    L163:
    L164::copydist
    L165:mkdir "%GOTOOLDIR%" 2>NUL
    L166:copy cmd\dist\dist.exe "%GOTOOLDIR%\"
    L167:goto :eof
    L168:
    L169::nogoenv
    L170:set GO111MODULE=off
    ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 22:16:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  6. src/go/types/termlist_test.go

    // license that can be found in the LICENSE file.
    
    package types
    
    import (
    	"strings"
    	"testing"
    )
    
    // maketl makes a term list from a string of the term list.
    func maketl(s string) termlist {
    	s = strings.ReplaceAll(s, " ", "")
    	names := strings.Split(s, "|")
    	r := make(termlist, len(names))
    	for i, n := range names {
    		r[i] = testTerm(n)
    	}
    	return r
    }
    
    func TestTermlistAll(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 18:48:38 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/archive/tar/writer_test.go

    		var fw fileWriter
    		switch maker := v.maker.(type) {
    		case makeReg:
    			fw = &regFileWriter{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 = &regFileWriter{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)
Back to top