Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 25 for MakeOp (0.1 sec)

  1. src/internal/trace/testdata/testprog/futile-wakeup.go

    Carlos Amedee <******@****.***> 1715265901 -0400
    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/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)
  3. pilot/pkg/serviceregistry/mock/discovery_test.go

    	})
    	HelloInstanceV0 := MakeIP(HelloService, 0)
    
    	if HelloInstanceV0 != "10.1.1.0" {
    		t.Fatalf("MakeIP() can not handle ip4 address.")
    	}
    
    	HelloService1 := MakeService(ServiceArgs{
    		Hostname:        "hello.default.svc.cluster.local",
    		Address:         "asa",
    		ServiceAccounts: []string{},
    		ClusterID:       "cluster-1",
    	})
    	HelloInstanceV1 := MakeIP(HelloService1, 0)
    	if HelloInstanceV1 != "" {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jan 09 17:33:49 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. 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)
  5. pilot/pkg/serviceregistry/mock/discovery.go

    		MeshExternal:   isMeshExternal,
    		Ports: []*model.Port{{
    			Name:     "https",
    			Port:     443,
    			Protocol: protocol.HTTPS,
    		}},
    	}
    }
    
    // MakeIP creates a fake IP address for a service and instance version
    func MakeIP(service *model.Service, version int) string {
    	// external services have no instances
    	if service.External() {
    		return ""
    	}
    	ipa, ise := netip.ParseAddr(service.DefaultAddress)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Aug 07 18:40:05 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  6. src/runtime/netpoll_aix.go

    	rdwake         int32
    	wrwake         int32
    	pendingUpdates int32
    
    	netpollWakeSig atomic.Uint32 // used to avoid duplicate calls of netpollBreak
    )
    
    func netpollinit() {
    	// Create the pipe we use to wakeup poll.
    	r, w, errno := nonblockingPipe()
    	if errno != 0 {
    		throw("netpollinit: failed to create pipe")
    	}
    	rdwake = r
    	wrwake = w
    
    	// Pre-allocate array of pollfd structures for poll.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. pilot/pkg/xds/xds_cache_test.go

    	}
    }
    
    func TestXdsCache(t *testing.T) {
    	makeEp := func(subset string, dr *model.ConsolidatedDestRule) *endpoints.EndpointBuilder {
    		svc := &model.Service{Hostname: "foo.com"}
    		b := endpoints.NewCDSEndpointBuilder(
    			proxy, nil,
    			fmt.Sprintf("outbound|%s|foo.com", subset),
    			model.TrafficDirectionOutbound, subset, "foo.com", 80,
    			svc, dr)
    		return b
    	}
    	ep1 := makeEp("1", nil)
    	ep2 := makeEp("2", nil)
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Aug 31 20:43:08 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  8. src/runtime/lock_futex.go

    // One-time notifications.
    func noteclear(n *note) {
    	n.key = 0
    }
    
    func notewakeup(n *note) {
    	old := atomic.Xchg(key32(&n.key), 1)
    	if old != 0 {
    		print("notewakeup - double wakeup (", old, ")\n")
    		throw("notewakeup - double wakeup")
    	}
    	futexwakeup(key32(&n.key), 1)
    }
    
    func notesleep(n *note) {
    	gp := getg()
    	if gp != gp.m.g0 {
    		throw("notesleep not on g0")
    	}
    	ns := int64(-1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:34 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  9. src/runtime/lock_wasip1.go

    	}
    	l.key = mutex_unlocked
    }
    
    // One-time notifications.
    func noteclear(n *note) {
    	n.key = 0
    }
    
    func notewakeup(n *note) {
    	if n.key != 0 {
    		print("notewakeup - double wakeup (", n.key, ")\n")
    		throw("notewakeup - double wakeup")
    	}
    	n.key = 1
    }
    
    func notesleep(n *note) {
    	throw("notesleep not supported by wasi")
    }
    
    func notetsleep(n *note, ns int64) bool {
    	throw("notetsleep not supported by wasi")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 21 21:02:20 UTC 2023
    - 2K bytes
    - Viewed (0)
  10. cni/pkg/plugin/cnieventclient_test.go

    	Netns:       "someNetNS",
    	IfName:      "ethBro",
    	ContainerID: "bbb-eee-www",
    }
    
    var (
    	fakeIP                 = net.ParseIP("99.9.9.9")
    	fakeGW                 = net.ParseIP("88.9.9.9")
    	fakeIDX                = 0
    	fakePrevResultIPConfig = cniv1.IPConfig{
    		Interface: &fakeIDX,
    		Address: net.IPNet{
    			IP: fakeIP,
    		},
    		Gateway: fakeGW,
    	}
    )
    
    func TestPushCNIAddEventSucceed(t *testing.T) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
Back to top