Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 468 for Getgid (0.79 sec)

  1. src/runtime/testdata/testprogcgo/segv.go

    func init() {
    	register("SegvInCgo", SegvInCgo)
    }
    
    func SegvInCgo() {
    	c := make(chan bool)
    	go func() {
    		close(c)
    		for {
    			C.nop()
    		}
    	}()
    
    	<-c
    
    	syscall.Kill(syscall.Getpid(), syscall.SIGSEGV)
    
    	// Wait for the OS to deliver the signal.
    	C.pause()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 05 15:24:08 UTC 2023
    - 525 bytes
    - Viewed (0)
  2. src/runtime/testdata/testprognet/signal.go

    import (
    	"os/signal"
    	"syscall"
    )
    
    func init() {
    	register("SignalIgnoreSIGTRAP", SignalIgnoreSIGTRAP)
    }
    
    func SignalIgnoreSIGTRAP() {
    	signal.Ignore(syscall.SIGTRAP)
    	syscall.Kill(syscall.Getpid(), syscall.SIGTRAP)
    	println("OK")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 646 bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz_fuzztime.txt

    func FuzzFast(f *testing.F) {
    	f.Fuzz(func (*testing.T, []byte) {})
    }
    -- fuzz_count_test.go --
    package fuzz
    
    import (
    	"fmt"
    	"os"
    	"testing"
    )
    
    func FuzzTestCount(f *testing.F) {
    	pid := os.Getpid()
    	n := 0
    	f.Fuzz(func(t *testing.T, _ []byte) {
    		name := fmt.Sprintf("count/%v.%d", pid, n)
    		if err := os.WriteFile(name, nil, 0666); err != nil {
    			t.Fatal(err)
    		}
    		n++
    	})
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 01 20:09:52 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/caching_authorizer.go

    	GetPath() string
    })(nil)
    
    // The user info accessors known to cache key construction. If this fails to compile, the cache
    // implementation may need to be updated.
    var _ user.Info = (interface {
    	GetName() string
    	GetUID() string
    	GetGroups() []string
    	GetExtra() map[string][]string
    })(nil)
    
    // Authorize returns an authorization decision by delegating to another Authorizer. If an equivalent
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 12 18:58:24 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  5. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/fixture/PidInstrumentation.groovy

        private final File pidFileInitScript = createPidFileInitScript(pidFile)
    
        List<String> getGradleArgs() {
            ["--init-script", pidFileInitScript.absolutePath]
        }
    
        String getPid() {
            pidFile.text
        }
    
        private static File createPidFile() {
            def pidFile = File.createTempFile("build-under-test", ".pid")
            pidFile.deleteOnExit()
            pidFile
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. src/runtime/sys_linux_riscv64.s

    	// arg 1 pid - already in A0
    	MOVW	sig+0(FP), A1	// arg 2
    	MOV	$SYS_kill, A7
    	ECALL
    	RET
    
    // func getpid() int
    TEXT ·getpid(SB),NOSPLIT|NOFRAME,$0-8
    	MOV	$SYS_getpid, A7
    	ECALL
    	MOV	A0, ret+0(FP)
    	RET
    
    // func tgkill(tgid, tid, sig int)
    TEXT ·tgkill(SB),NOSPLIT|NOFRAME,$0-24
    	MOV	tgid+0(FP), A0
    	MOV	tid+8(FP), A1
    	MOV	sig+16(FP), A2
    	MOV	$SYS_tgkill, A7
    	ECALL
    	RET
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 13:57:06 UTC 2023
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

                        th.getConfig().getListSize() - FIND_OVERHEAD),
                    this.response);
    
                this.nextRequest = new Trans2FindNext2(
                    th.getConfig(),
                    this.response.getSid(),
                    this.response.getResumeKey(),
                    this.response.getLastName(),
                    th.getConfig().getListCount(),
                    th.getConfig().getListSize() - FIND_OVERHEAD);
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  8. src/os/types.go

    	ModeNamedPipe  = fs.ModeNamedPipe  // p: named pipe (FIFO)
    	ModeSocket     = fs.ModeSocket     // S: Unix domain socket
    	ModeSetuid     = fs.ModeSetuid     // u: setuid
    	ModeSetgid     = fs.ModeSetgid     // g: setgid
    	ModeCharDevice = fs.ModeCharDevice // c: Unix character device, when ModeDevice is set
    	ModeSticky     = fs.ModeSticky     // t: sticky
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 15 20:52:06 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  9. src/internal/poll/error_linux_test.go

    // license that can be found in the LICENSE file.
    
    package poll_test
    
    import (
    	"errors"
    	"internal/poll"
    	"os"
    	"syscall"
    )
    
    func badStateFile() (*os.File, error) {
    	if os.Getuid() != 0 {
    		return nil, errors.New("must be root")
    	}
    	// Using OpenFile for a device file is an easy way to make a
    	// file attached to the runtime-integrated network poller and
    	// configured in halfway.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 13 08:53:02 UTC 2019
    - 748 bytes
    - Viewed (0)
  10. src/runtime/testdata/testprog/signal.go

    // +build !windows,!plan9
    
    package main
    
    import (
    	"syscall"
    	"time"
    )
    
    func init() {
    	register("SignalExitStatus", SignalExitStatus)
    }
    
    func SignalExitStatus() {
    	syscall.Kill(syscall.Getpid(), syscall.SIGTERM)
    
    	// Should die immediately, but we've seen flakiness on various
    	// systems (see issue 14063). It's possible that the signal is
    	// being delivered to a different thread and we are returning
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 861 bytes
    - Viewed (0)
Back to top