Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 152 for syscall1 (0.37 sec)

  1. src/internal/trace/testdata/tests/go122-syscall-steal-proc-gen-boundary-bare-m.test

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 466 bytes
    - Viewed (0)
  2. internal/disk/stat_windows.go

    //
    // You should have received a copy of the GNU Affero General Public License
    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package disk
    
    import (
    	"errors"
    	"fmt"
    	"os"
    	"syscall"
    	"unsafe"
    
    	"golang.org/x/sys/windows"
    )
    
    var (
    	kernel32 = windows.NewLazySystemDLL("kernel32.dll")
    
    	// GetDiskFreeSpaceEx - https://msdn.microsoft.com/en-us/library/windows/desktop/aa364937(v=vs.85).aspx
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Feb 26 19:34:50 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  3. src/path/filepath/path_windows.go

    }
    
    func abs(path string) (string, error) {
    	if path == "" {
    		// syscall.FullPath returns an error on empty path, because it's not a valid path.
    		// To implement Abs behavior of returning working directory on empty string input,
    		// special-case empty path by changing it to "." path. See golang.org/issue/24441.
    		path = "."
    	}
    	fullPath, err := syscall.FullPath(path)
    	if err != nil {
    		return "", err
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 23:07:50 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. src/os/pidfd_linux_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os_test
    
    import (
    	"errors"
    	"internal/testenv"
    	"os"
    	"syscall"
    	"testing"
    )
    
    func TestFindProcessViaPidfd(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    	t.Parallel()
    
    	if err := os.CheckPidfdOnce(); err != nil {
    		// Non-pidfd code paths tested in exec_unix_test.go.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  5. src/internal/trace/testdata/generators/go122-syscall-steal-proc-gen-boundary-reacquire-new-proc.go

    // license that can be found in the LICENSE file.
    
    // Tests syscall P stealing at a generation boundary.
    
    package main
    
    import (
    	"internal/trace"
    	"internal/trace/event/go122"
    	testgen "internal/trace/internal/testgen/go122"
    )
    
    func main() {
    	testgen.Main(gen)
    }
    
    func gen(t *testgen.Trace) {
    	g := t.Generation(1)
    
    	// One goroutine is exiting with a syscall. It already
    	// acquired a new P.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 21:15:28 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  6. src/os/exec_test.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package os_test
    
    import (
    	"internal/testenv"
    	"os"
    	"os/signal"
    	"runtime"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func TestProcessLiteral(t *testing.T) {
    	if runtime.GOOS == "windows" {
    		t.Skip("Process literals do not work on Windows. FindProcess/etc must initialize the process handle")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 18:08:44 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. pkg/ctrlz/ctrlz_test.go

    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package ctrlz
    
    import (
    	"fmt"
    	"net/http"
    	"os"
    	"os/signal"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func TestStartStopEnabled(t *testing.T) {
    	server := startAndWaitForServer(t)
    	done := make(chan struct{}, 1)
    	go func() {
    		server.Close()
    		done <- struct{}{}
    	}()
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Feb 15 18:23:41 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. doc/next/6-stdlib/99-minor/syscall/62254.md

    The syscall package now defines [WSAENOPROTOOPT] on Windows....
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 20:57:18 UTC 2024
    - 61 bytes
    - Viewed (0)
  9. src/runtime/traceevent.go

    	traceEvGoUnblock           // goroutine is unblocked [timestamp, goroutine ID, goroutine seq, stack ID]
    	traceEvGoSyscallBegin      // syscall enter [timestamp, P seq, stack ID]
    	traceEvGoSyscallEnd        // syscall exit [timestamp]
    	traceEvGoSyscallEndBlocked // syscall exit and it blocked at some point [timestamp]
    	traceEvGoStatus            // goroutine status at the start of a generation [timestamp, goroutine ID, M ID, status]
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:47:01 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. src/internal/runtime/syscall/defs_linux.go

    // Copyright 2024 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package syscall
    
    const (
    	EPOLLIN       = 0x1
    	EPOLLOUT      = 0x4
    	EPOLLERR      = 0x8
    	EPOLLHUP      = 0x10
    	EPOLLRDHUP    = 0x2000
    	EPOLLET       = 0x80000000
    	EPOLL_CLOEXEC = 0x80000
    	EPOLL_CTL_ADD = 0x1
    	EPOLL_CTL_DEL = 0x2
    	EPOLL_CTL_MOD = 0x3
    	EFD_CLOEXEC   = 0x80000
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 21 21:28:32 UTC 2024
    - 437 bytes
    - Viewed (0)
Back to top