Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 835 for syscalls (0.1 sec)

  1. src/syscall/mksysnum_openbsd.pl

    #
    # Generate system call table for OpenBSD from master list
    # (for example, /usr/src/sys/kern/syscalls.master).
    
    use strict;
    
    my $command = "mksysnum_openbsd.pl " . join(' ', @ARGV);
    
    print <<EOF;
    // $command
    // Code generated by the command above; DO NOT EDIT.
    
    package syscall
    
    const (
    EOF
    
    while(<>){
    	if(/^([0-9]+)\s+STD\s+(NOLOCK\s+)?(\{ \S+\s+\*?(\w+).*)$/){
    		my $num = $1;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 29 08:08:26 UTC 2020
    - 872 bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/testsanitizers/testdata/tsan10.go

    	c := make(chan os.Signal, 1)
    	signal.Notify(c, syscall.SIGUSR1)
    	defer signal.Stop(c)
    	syscall.Kill(syscall.Getpid(), syscall.SIGUSR1)
    	<-c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 798 bytes
    - Viewed (0)
  3. src/cmd/internal/objabi/stack.go

    func stackGuardMultiplier(race bool) int {
    	// This arithmetic must match that in runtime/internal/sys/consts.go:StackGuardMultiplier.
    	n := 1
    	// On AIX, a larger stack is needed for syscalls.
    	if buildcfg.GOOS == "aix" {
    		n += 1
    	}
    	// The race build also needs more stack.
    	if race {
    		n += 1
    	}
    	return n
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 21 19:28:56 UTC 2023
    - 904 bytes
    - Viewed (0)
  4. src/syscall/mksysnum_netbsd.pl

    #
    # Generate system call table for OpenBSD from master list
    # (for example, /usr/src/sys/kern/syscalls.master).
    
    use strict;
    
    my $command = "mksysnum_netbsd.pl " . join(' ', @ARGV);
    
    print <<EOF;
    // $command
    // Code generated by the command above; DO NOT EDIT.
    
    package syscall
    
    const (
    EOF
    
    my $line = '';
    while(<>){
    	if($line =~ /^(.*)\\$/) {
    		# Handle continuation
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 1K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testsanitizers/testdata/tsan11.go

    		perror("failed to register SIGUSR1 handler");
    		exit(EXIT_FAILURE);
    	}
    }
    */
    import "C"
    
    func main() {
    	ch := make(chan os.Signal, 1)
    	signal.Notify(ch, syscall.SIGUSR2)
    
    	C.register_handler(C.int(syscall.SIGUSR1))
    	syscall.Kill(syscall.Getpid(), syscall.SIGUSR1)
    
    	<-ch
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  6. src/syscall/mksysnum_freebsd.pl

    #
    # Generate system call table for FreeBSD from master list
    # (for example, /usr/src/sys/kern/syscalls.master).
    
    use strict;
    
    my $command = "mksysnum_freebsd.pl " . join(' ', @ARGV);
    
    print <<EOF;
    // $command
    // Code generated by the command above; DO NOT EDIT.
    
    package syscall
    
    const (
    EOF
    
    while(<>){
    	if(/^([0-9]+)\s+\S+\s+STD\s+({ \S+\s+(\w+).*)$/){
    		my $num = $1;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  7. src/syscall/mksysnum_dragonfly.pl

    #
    # Generate system call table for DragonFly from master list
    # (for example, /usr/src/sys/kern/syscalls.master).
    
    use strict;
    
    my $command = "mksysnum_dragonfly.pl " . join(' ', @ARGV);
    
    print <<EOF;
    // $command
    // Code generated by the command above; DO NOT EDIT.
    
    package syscall
    
    const (
    EOF
    
    while(<>){
    	if(/^([0-9]+)\s+STD\s+({ \S+\s+(\w+).*)$/){
    		my $num = $1;
    		my $proto = $2;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 866 bytes
    - Viewed (0)
  8. src/syscall/mksysnum_linux.pl

    my $command = "mksysnum_linux.pl ". join(' ', @ARGV);
    
    print <<EOF;
    // $command
    // Code generated by the command above; DO NOT EDIT.
    
    package syscall
    
    const(
    EOF
    
    my $offset = 0;
    
    sub fmt {
    	my ($name, $num) = @_;
    	if($num > 999){
    		# ignore deprecated syscalls that are no longer implemented
    		# https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/include/uapi/asm-generic/unistd.h?id=refs/heads/master#n716
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 14 13:21:46 UTC 2018
    - 1.3K bytes
    - Viewed (0)
  9. cmd/metrics-v3-system-process.go

    	processSyscallReadTotalMD         = NewCounterMD(processSyscallReadTotal, "Total read SysCalls to the kernel. /proc/[pid]/io syscr")
    	processSyscallWriteTotalMD        = NewCounterMD(processSyscallWriteTotal, "Total write SysCalls to the kernel. /proc/[pid]/io syscw")
    	processResidentMemoryBytesMD      = NewGaugeMD(processResidentMemoryBytes, "Resident memory size in bytes")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 16:07:23 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  10. src/runtime/internal/sys/consts.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package sys
    
    import (
    	"internal/goarch"
    	"internal/goos"
    )
    
    // AIX requires a larger stack for syscalls.
    // The race build also needs more stack. See issue 54291.
    // This arithmetic must match that in cmd/internal/objabi/stack.go:stackGuardMultiplier.
    const StackGuardMultiplier = 1 + goos.IsAix + isRace
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 18 16:26:25 UTC 2022
    - 1.4K bytes
    - Viewed (0)
Back to top