Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 125 for nofile (0.19 sec)

  1. src/syscall/syscall_linux_test.go

    			Cur: 1024,
    			Max: 65536,
    		})
    	}
    
    	// Get current process's nofile limit
    	var lim syscall.Rlimit
    	if err := syscall.Prlimit(0, syscall.RLIMIT_NOFILE, nil, &lim); err != nil {
    		t.Fatalf("Failed to get the current nofile limit: %v", err)
    	}
    	// Set current process's nofile limit through prlimit
    	if err := syscall.Prlimit(0, syscall.RLIMIT_NOFILE, &lim, nil); err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. src/internal/coverage/cfile/emit.go

    type emitState struct {
    	mfname string   // path of final meta-data output file
    	mftmp  string   // path to meta-data temp file (if needed)
    	mf     *os.File // open os.File for meta-data temp file
    	cfname string   // path of final counter data file
    	cftmp  string   // path to counter data temp file
    	cf     *os.File // open os.File for counter data file
    	outdir string   // output directory
    
    	// List of meta-data symbols obtained from the runtime
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:57:47 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  3. src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh

    		$2 ~ /^(IFF|IFT|NET_RT|RTM(GRP)?|RTF|RTV|RTA|RTAX)_/ ||
    		$2 ~ /^BIOC/ ||
    		$2 ~ /^DIOC/ ||
    		$2 ~ /^RUSAGE_(SELF|CHILDREN|THREAD)/ ||
    		$2 ~ /^RLIMIT_(AS|CORE|CPU|DATA|FSIZE|LOCKS|MEMLOCK|MSGQUEUE|NICE|NOFILE|NPROC|RSS|RTPRIO|RTTIME|SIGPENDING|STACK)|RLIM_INFINITY/ ||
    		$2 ~ /^PRIO_(PROCESS|PGRP|USER)/ ||
    		$2 ~ /^CLONE_[A-Z_]+/ ||
    		$2 !~ /^(BPF_TIMEVAL|BPF_FIB_LOOKUP_[A-Z]+|BPF_F_LINK)$/ &&
    		$2 ~ /^(BPF|DLT)_/ ||
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  4. src/syscall/syscall_linux.go

    			// If CAP_DAC_OVERRIDE is set, file access check is
    			// done by the kernel in the same way as for root
    			// (see generic_permission() in the Linux sources).
    			uid = 0
    		}
    	} else {
    		uid = Getuid()
    	}
    
    	if uid == 0 {
    		if mode&1 == 0 {
    			// Root can read and write any file.
    			return nil
    		}
    		if st.Mode&0111 != 0 {
    			// Root can execute any file that anybody can execute.
    			return nil
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 20:12:46 UTC 2024
    - 35.7K bytes
    - Viewed (0)
  5. src/internal/profile/profile.go

    // license that can be found in the LICENSE file.
    
    // Package profile provides a representation of
    // github.com/google/pprof/proto/profile.proto and
    // methods to encode/decode/merge profiles in this format.
    package profile
    
    import (
    	"bytes"
    	"compress/gzip"
    	"fmt"
    	"io"
    	"strings"
    	"time"
    )
    
    // Profile is an in-memory representation of profile.proto.
    type Profile struct {
    	SampleType        []*ValueType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 08 17:57:40 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  6. src/cmd/vendor/github.com/google/pprof/profile/profile.go

    func (m *Mapping) Unsymbolizable() bool {
    	name := filepath.Base(m.File)
    	return strings.HasPrefix(name, "[") || strings.HasPrefix(name, "linux-vdso") || strings.HasPrefix(m.File, "/dev/dri/") || m.File == "//anon"
    }
    
    // Copy makes a fully independent copy of a profile.
    func (p *Profile) Copy() *Profile {
    	pp := &Profile{}
    	if err := unmarshal(serialize(p), pp); err != nil {
    		panic(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 22.3K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl-provider-plugins/src/main/kotlin/org/gradle/kotlin/dsl/provider/plugins/precompiled/tasks/GeneratePrecompiledScriptPluginAccessors.kt

    import org.gradle.api.artifacts.component.ProjectComponentIdentifier
    import org.gradle.api.artifacts.dsl.DependencyHandler
    import org.gradle.api.file.DirectoryProperty
    import org.gradle.api.file.FileCollection
    import org.gradle.api.file.ProjectLayout
    import org.gradle.api.internal.StartParameterInternal
    import org.gradle.api.internal.artifacts.DependencyManagementServices
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 08:10:49 UTC 2024
    - 24.8K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/gc.go

    	p := a.Package
    	args := asmArgs(a, p)
    
    	var ofiles []string
    	for _, sfile := range sfiles {
    		overlayPath, _ := fsys.OverlayPath(mkAbs(p.Dir, sfile))
    		ofile := a.Objdir + sfile[:len(sfile)-len(".s")] + ".o"
    		ofiles = append(ofiles, ofile)
    		args1 := append(args, "-o", ofile, overlayPath)
    		if err := b.Shell(a).run(p.Dir, p.ImportPath, nil, args1...); err != nil {
    			return nil, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractBinaryCompatibilityTest.kt

                prefixPath.substringAfterLast("/")
            ).toFile()
    
        private
        fun File.withDirectory(path: String): File =
            resolve(path).apply {
                mkdirs()
            }
    
        private
        fun File.withSettings(text: String = ""): File =
            withFile("settings.gradle.kts", text)
    
        private
        fun File.withBuildScript(text: String = ""): File =
            withFile("build.gradle.kts", text)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 16.4K bytes
    - Viewed (0)
  10. subprojects/core/src/main/java/org/gradle/api/internal/tasks/properties/ValidationActions.java

            }
        },
        INPUT_FILE_VALIDATOR("file") {
            @Override
            public void doValidate(String propertyName, Object value, PropertyValidationContext context) {
                File file = toFile(context, value);
                if (!file.exists()) {
                    reportMissingInput(context, "File", propertyName, file);
                } else if (!file.isFile()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 11:49:03 UTC 2024
    - 16.5K bytes
    - Viewed (0)
Back to top