Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 85 for nofile (0.2 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/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)
  6. 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)
  7. 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)
  8. 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)
  9. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

        assertThat(ClassPath.toFile(new URL("file:///c:\\Documents ~ Settings, or not\\11-12 12:05")))
            .isEqualTo(new File("/c:\\Documents ~ Settings, or not\\11-12 12:05"));
        assertThat(ClassPath.toFile(new URL("file:///C:\\Program Files\\Apache Software Foundation")))
            .isEqualTo(new File("/C:\\Program Files\\Apache Software Foundation/"));
        assertThat(ClassPath.toFile(new URL("file:///C:\\\u20320 \u22909"))) // Chinese Ni Hao
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Apr 26 14:02:27 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-impl-base/tests/org/jetbrains/kotlin/analysis/api/impl/base/test/cases/components/compilerFacility/AbstractCompilerFacilityTest.kt

            }
        }
    }
    
    internal fun createCodeFragment(ktFile: KtFile, module: TestModule, testServices: TestServices): KtCodeFragment? {
        val ioFile = module.files.single { it.name == ktFile.name }.originalFile
        val ioFragmentFile = File(ioFile.parent, "${ioFile.nameWithoutExtension}.fragment.${ioFile.extension}")
    
        if (!ioFragmentFile.exists()) {
            return null
        }
    
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top