- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 779 for nofile (0.14 sec)
-
tests/fuzz/analyzer_fuzzer.go
// createRandomConfigFile creates a single fuzzed config file func createRandomConfigFile(f *fuzz.ConsumeFuzzer) (string, error) { data, err := f.GetBytes() if err != nil { return "nobytes", err } tmpfile, err := os.CreateTemp("", "example") if err != nil { return "nofile", err } if _, err := tmpfile.Write(data); err != nil { return "nofile", err } if err := tmpfile.Close(); err != nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 4.1K bytes - Viewed (0) -
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) -
src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh
# license that can be found in the LICENSE file. # Generate Go code listing errors and other #defined constant # values (ENAMETOOLONG etc.), by asking the preprocessor # about the definitions. unset LANG export LC_ALL=C export LC_CTYPE=C CC=${CC:-gcc} uname=$(uname) includes=' #include <sys/types.h> #include <sys/file.h> #include <fcntl.h> #include <dirent.h> #include <sys/socket.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Oct 26 00:11:50 UTC 2022 - 5.9K bytes - Viewed (0) -
src/syscall/mkerrors.sh
$2 ~ /^SIOC/ || $2 ~ /^TIOC/ || $2 !~ "RTF_BITS" && $2 ~ /^(IFF|IFT|NET_RT|RTM|RTF|RTV|RTA|RTAX)_/ || $2 ~ /^BIOC/ || $2 ~ /^RUSAGE_(SELF|CHILDREN|THREAD)/ || $2 ~ /^RLIMIT_(AS|CORE|CPU|DATA|FSIZE|NOFILE|STACK)|RLIM_INFINITY/ || $2 ~ /^PRIO_(PROCESS|PGRP|USER)/ || $2 !~ /^(BPF_TIMEVAL)$/ && $2 ~ /^(BPF|DLT)_/ || $2 !~ "WMESGLEN" && $2 ~ /^W[A-Z0-9]+$/ {printf("\t%s = C.%s\n", $2, $2)}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 06 21:22:22 UTC 2022 - 10.7K bytes - Viewed (0) -
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) -
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) -
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) -
security/pkg/nodeagent/cafile/cafile.go
// See the License for the specific language governing permissions and // limitations under the License. package cafile import ( "istio.io/istio/pkg/security" ) // CACertFilePath stores the OS CA certificate file path var CACertFilePath = "" func init() { CACertFilePath = security.GetOSRootFilePath()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Sep 10 21:51:09 UTC 2021 - 790 bytes - Viewed (0) -
src/go/internal/gccgoimporter/importer_test.go
continue } gofile := filepath.Join("testdata", test.pkgpath+".go") if _, err := os.Stat(gofile); os.IsNotExist(err) { continue } ofile := filepath.Join(tmpdir, test.pkgpath+".o") afile := filepath.Join(artmpdir, "lib"+test.pkgpath+".a") cmd := testenv.Command(t, gpath, "-fgo-pkgpath="+test.pkgpath, "-c", "-o", ofile, gofile) out, err := cmd.CombinedOutput() if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Nov 15 20:17:57 UTC 2022 - 7.2K bytes - Viewed (0) -
subprojects/core/src/integTest/groovy/org/gradle/api/file/FileResolutionIntegrationTest.groovy
*/ package org.gradle.api.file import org.gradle.integtests.fixtures.AbstractIntegrationSpec class FileResolutionIntegrationTest extends AbstractIntegrationSpec { def "file conversion works with java.nio.file.Path"() { buildFile """ java.nio.file.Path fAsPath = buildDir.toPath().resolve('testdir').toAbsolutePath() def f = file(fAsPath) assert f == fAsPath.toFile() """ expect:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jan 10 19:24:20 UTC 2024 - 5K bytes - Viewed (0)