Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 169 for getgid (0.14 sec)

  1. src/cmd/go/testdata/script/test2json_interrupt.txt

    )
    
    func FuzzInterrupt(f *testing.F) {
    	pids := os.Getenv("GO_TEST_INTERRUPT_PIDS")
    	if pids == "" {
    		// This is the main test process.
    		// Set the environment variable for fuzz workers.
    		pid := os.Getpid()
    		ppid := os.Getppid()
    		os.Setenv("GO_TEST_INTERRUPT_PIDS", fmt.Sprintf("%d,%d", ppid, pid))
    	}
    
    	sentInterrupt := false
    	f.Fuzz(func(t *testing.T, orig string) {
    		if !sentInterrupt {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 08 03:52:44 UTC 2022
    - 1.7K 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. src/main/java/jcifs/util/transport/Response.java

        int getGrantedCredits ();
    
    
        /**
         * @return status code
         */
        int getErrorCode ();
    
    
        /**
         * @param k
         */
        void setMid ( long k );
    
    
        /**
         * @return mid
         */
        long getMid ();
    
    
        /**
         * 
         * @param buffer
         * @param i
         * @param size
         * @return whether signature verification is successful
         */
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.3K bytes
    - Viewed (0)
  5. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/diagnostics/DaemonDiagnostics.java

            this.daemonLog = daemonLog;
            this.pid = pid;
        }
    
        /**
         * @return pid. Can be null, it means the daemon was not able to identify its pid.
         */
        public @Nullable Long getPid() {
            return pid;
        }
    
        public File getDaemonLog() {
            return daemonLog;
        }
    
        @Override
        public String toString() {
            return "{"
                + "pid=" + pid
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:50:51 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. 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)
  7. src/time/sys_unix.go

    	// validating that time elapses when the process calls time.Sleep than
    	// skipping the test altogether.
    	if runtime.GOOS != "wasip1" {
    		syscall.Kill(syscall.Getpid(), syscall.SIGCHLD)
    	}
    }
    
    func open(name string) (uintptr, error) {
    	fd, err := syscall.Open(name, syscall.O_RDONLY, 0)
    	if err != nil {
    		return 0, err
    	}
    	return uintptr(fd), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 20:56:10 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. 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)
  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