Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 113 for getgid (0.1 sec)

  1. 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)
  2. src/runtime/testdata/testprog/syscalls_none.go

    // license that can be found in the LICENSE file.
    
    //go:build !linux
    // +build !linux
    
    package main
    
    func gettid() int {
    	return 0
    }
    
    func tidExists(tid int) (exists, supported bool, err error) {
    	return false, false, nil
    }
    
    func getcwd() (string, error) {
    	return "", nil
    }
    
    func unshareFs() error {
    	return nil
    }
    
    func chdir(path string) error {
    	return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:00:09 UTC 2024
    - 471 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. 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)
  5. 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)
  6. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/configuration/DaemonServerConfiguration.java

    import java.io.File;
    import java.util.List;
    
    public interface DaemonServerConfiguration {
    
        File getBaseDir();
    
        int getIdleTimeout();
    
        int getPeriodicCheckIntervalMs();
    
        String getUid();
    
        List<String> getJvmOptions();
    
        DaemonParameters.Priority getPriority();
    
        boolean isSingleUse();
    
        boolean isInstrumentationAgentAllowed();
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 12:13:32 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/DaemonServices.java

            LOGGER.debug("Creating daemon context with opts: {}", configuration.getJvmOptions());
            return new DefaultDaemonContext(configuration.getUid(),
                canonicalize(Jvm.current().getJavaHome()),
                JavaLanguageVersion.current(),
                configuration.getBaseDir(),
                processEnvironment.maybeGetPid(),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  8. platforms/core-runtime/daemon-protocol/src/main/java/org/gradle/launcher/daemon/protocol/Status.java

        public Status(Long pid, String version, String status) {
            this.pid = pid;
            this.version = version;
            this.status = status;
        }
    
        @Nullable
        public Long getPid() {
            return pid;
        }
    
        public String getVersion() {
            return version;
        }
    
        public String getStatus() {
            return status;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 09 04:50:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/server/api/HandleReportStatus.java

                String status = execution.getDaemonStateControl().getState().toString().toUpperCase(Locale.ROOT);
                Status message = new Status(execution.getDaemonContext().getPid(), version, status);
                execution.getConnection().completed(new Success(message));
            } else {
                execution.proceed();
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:38 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  10. pkg/ctrlz/topics/signals.go

    		fw.RenderHTML(w, tmpl, nil)
    	})
    
    	_ = context.JSONRouter().StrictSlash(true).NewRoute().Methods("PUT", "POST").Path("/SIGUSR1").HandlerFunc(func(w http.ResponseWriter, req *http.Request) {
    		err := syscall.Kill(os.Getpid(), syscall.SIGUSR1)
    		if err != nil {
    			w.WriteHeader(http.StatusInternalServerError)
    			return
    		}
    		w.WriteHeader(http.StatusAccepted)
    	})
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 07 17:12:24 UTC 2024
    - 1.6K bytes
    - Viewed (0)
Back to top