Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 65 for makeEp (0.21 sec)

  1. 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)
  2. 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)
  3. src/internal/trace/parser.go

    	EvHeapGoal          = 34 // gcController.heapGoal change [timestamp, heap goal bytes]
    	EvTimerGoroutine    = 35 // denotes timer goroutine [timer goroutine id]
    	EvFutileWakeup      = 36 // denotes that the previous wakeup of this goroutine was futile [timestamp]
    	EvString            = 37 // string dictionary entry [ID, length, string]
    	EvGoStartLocal      = 38 // goroutine starts running on the same P as the last event [timestamp, goroutine id]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:31:04 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. pkg/proxy/conntrack/conntrack_test.go

    	for _, tc := range testCases {
    		ct := makeCT(success)
    		if err := ct.ClearEntriesForIP(tc.ip, v1.ProtocolUDP); err != nil {
    			t.Errorf("%s/success: Unexpected error: %v", tc.name, err)
    		}
    		execCommand := ct.getExecutedCommand()
    		if tc.expectCommand != execCommand {
    			t.Errorf("%s/success: Expect command: %s, but executed %s", tc.name, tc.expectCommand, execCommand)
    		}
    
    		ct = makeCT(nothingToDelete)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 15 18:08:36 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/runtime/lock_sema.go

    		throw("notewakeup - double wakeup")
    	default:
    		// Must be the waiting m. Wake it up.
    		semawakeup((*m)(unsafe.Pointer(v)))
    	}
    }
    
    func notesleep(n *note) {
    	gp := getg()
    	if gp != gp.m.g0 {
    		throw("notesleep not on g0")
    	}
    	semacreate(gp.m)
    	if !atomic.Casuintptr(&n.key, 0, uintptr(unsafe.Pointer(gp.m))) {
    		// Must be locked (got wakeup).
    		if n.key != locked {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  10. pkg/proxy/servicechangetracker_test.go

    }
    
    func newFakeProxier(ipFamily v1.IPFamily, t time.Time) *FakeProxier {
    	return &FakeProxier{
    		svcPortMap:     make(ServicePortMap),
    		serviceChanges: NewServiceChangeTracker(nil, ipFamily, nil, nil),
    		endpointsMap:   make(EndpointsMap),
    		endpointsChanges: &EndpointsChangeTracker{
    			lastChangeTriggerTimes:    make(map[types.NamespacedName][]time.Time),
    			trackerStartTime:          t,
    			processEndpointsMapChange: nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 33.7K bytes
    - Viewed (0)
Back to top