Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for port_get (0.42 sec)

  1. src/cmd/vendor/golang.org/x/sys/unix/syscall_solaris.go

    				delete(e.paths, peExt.Path)
    			}
    		}
    	}
    	return nil
    }
    
    // Pending wraps port_getn(3c) and returns how many events are pending.
    func (e *EventPort) Pending() (int, error) {
    	var n uint32 = 0
    	_, err := port_getn(e.port, nil, 0, &n, nil)
    	return int(n), err
    }
    
    // Get wraps port_getn(3c) and fills a slice of PortEvent.
    // It will block until either min events have been received
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 29 21:28:33 UTC 2023
    - 31.1K bytes
    - Viewed (0)
  2. src/cmd/vendor/golang.org/x/sys/unix/zsyscall_solaris_amd64.go

    //go:cgo_import_dynamic libc_port_associate port_associate "libc.so"
    //go:cgo_import_dynamic libc_port_dissociate port_dissociate "libc.so"
    //go:cgo_import_dynamic libc_port_get port_get "libc.so"
    //go:cgo_import_dynamic libc_port_getn port_getn "libc.so"
    //go:cgo_import_dynamic libc_putmsg putmsg "libc.so"
    //go:cgo_import_dynamic libc_getmsg getmsg "libc.so"
    
    //go:linkname procpipe libc_pipe
    //go:linkname procpipe2 libc_pipe2
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 59.7K bytes
    - Viewed (0)
  3. src/net/port_test.go

    Morten Siebuhr <******@****.***> 1455915197 +0100
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 15 23:11:47 UTC 2016
    - 1.3K bytes
    - Viewed (0)
  4. src/runtime/netpoll_solaris.go

    		return
    	}
    
    	// Use port_alert to put portfd into alert mode.
    	// This will wake up all threads sleeping in port_getn on portfd,
    	// and cause their calls to port_getn to return immediately.
    	// Further, until portfd is taken out of alert mode,
    	// all calls to port_getn will return immediately.
    	if port_alert(portfd, _PORT_ALERT_UPDATE, _POLLHUP, uintptr(unsafe.Pointer(&portfd))) < 0 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  5. pkg/test/framework/components/echo/portgen.go

    Nathan Mittler <******@****.***> 1646353444 -0800
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Mar 04 00:24:04 UTC 2022
    - 2.5K bytes
    - Viewed (0)
  6. src/net/port_unix.go

    			line = line[:i]
    		}
    		f := getFields(line)
    		if len(f) < 2 {
    			continue
    		}
    		portnet := f[1] // "80/tcp"
    		port, j, ok := dtoi(portnet)
    		if !ok || port <= 0 || j >= len(portnet) || portnet[j] != '/' {
    			continue
    		}
    		netw := portnet[j+1:] // "tcp"
    		m, ok1 := services[netw]
    		if !ok1 {
    			m = make(map[string]int)
    			services[netw] = m
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 18 17:20:52 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. src/runtime/cgo/gcc_signal_ios_arm64.c

    	if (ret) {
    		fprintf(stderr, "runtime/cgo: mach_port_allocate failed for port_set: %d\n", ret);
    		abort();
    	}
    
    	// Block all signals to the exception handler thread
    	sigfillset(&ign);
    	pthread_sigmask(SIG_SETMASK, &ign, &oset);
    
    	// Start a thread to handle exceptions.
    	uintptr_t port_set = (uintptr_t)mach_exception_handler_port_set;
    	pthread_attr_init(&attr);
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 21:04:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  8. pkg/test/framework/components/echo/config.go

    	portGen := newPortGenerators()
    	for _, p := range c.Ports {
    		if p.ServicePort > 0 {
    			if portGen.Service.IsUsed(p.ServicePort) {
    				return fmt.Errorf("failed configuring port %s: service port already used %d", p.Name, p.ServicePort)
    			}
    			portGen.Service.SetUsed(p.ServicePort)
    		}
    		if p.WorkloadPort > 0 {
    			if portGen.Instance.IsUsed(p.WorkloadPort) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  9. src/cmd/go/testdata/script/mod_tidy_convergence.txt

    	example.net/y v0.2.0 => ./y2
    )
    -- go.mod.postget --
    module example.net/m
    
    go 1.16
    
    replace (
    	example.net/x v0.1.0 => ./x1
    	example.net/x v0.2.0-pre => ./x2-pre
    	example.net/y v0.1.0 => ./y1
    	example.net/y v0.2.0 => ./y2
    )
    
    require (
    	example.net/x v0.1.0
    	example.net/y v0.1.0 // indirect
    )
    -- go.mod.postget-117 --
    module example.net/m
    
    go 1.17
    
    replace (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/mod_tidy_convergence_loop.txt

    # tidy' treats "no package can be added" as a terminal state.
    
    go get example.net/w@v0.2.0-pre example.net/x@v0.2.0-pre example.net/y@v0.2.0-pre example.net/z@v0.2.0-pre
    go mod tidy -e
    cmp go.mod go.mod.postget
    go mod tidy -e
    cmp go.mod go.mod.postget
    
    
    # The 'tidy' logic for a lazy main module requires more iterations to converge,
    # because it is willing to drop dependencies on non-root modules that do not
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Jun 03 21:13:11 UTC 2023
    - 9.2K bytes
    - Viewed (0)
Back to top