- Sort Score
- Num 10 results
- Language All
Results 131 - 140 of 645 for OS (0.03 seconds)
-
lib/time/mkzip.go
// or the current time. package main import ( "archive/zip" "bytes" "flag" "fmt" "hash/crc32" "io/fs" "log" "os" "path/filepath" "strings" ) func usage() { fmt.Fprintf(os.Stderr, "usage: go run mkzip.go zoneinfo.zip\n") os.Exit(2) } func main() { log.SetPrefix("mkzip: ") log.SetFlags(0) flag.Usage = usage flag.Parse() args := flag.Args()
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Mon Mar 04 17:32:07 GMT 2024 - 2.1K bytes - Click Count (0) -
internal/lock/lock.go
r.mutex.Lock() defer r.mutex.Unlock() if r.refs == 0 { return os.ErrInvalid } r.refs-- if r.refs == 0 { err = r.File.Close() } return err } // Provides a new initialized read locked struct from *os.File func newRLockedFile(lkFile *LockedFile) (*RLockedFile, error) { if lkFile == nil { return nil, os.ErrInvalid } return &RLockedFile{ LockedFile: lkFile, refs: 1,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Jan 02 17:15:06 GMT 2022 - 2.5K bytes - Click Count (0) -
src/archive/zip/fuzz_test.go
package zip import ( "bytes" "io" "os" "path/filepath" "testing" ) func FuzzReader(f *testing.F) { testdata, err := os.ReadDir("testdata") if err != nil { f.Fatalf("failed to read testdata directory: %s", err) } for _, de := range testdata { if de.IsDir() { continue } b, err := os.ReadFile(filepath.Join("testdata", de.Name())) if err != nil {
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Thu Jan 13 18:06:33 GMT 2022 - 1.7K bytes - Click Count (0) -
.ci/scripts/run-gradle.sh
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu May 13 19:08:52 GMT 2021 - 824 bytes - Click Count (0) -
internal/init/init.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Nov 04 23:44:38 GMT 2022 - 874 bytes - Click Count (0) -
internal/disk/stat_test.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package disk import ( "os" "reflect" "testing" ) func TestReadDriveStats(t *testing.T) { testCases := []struct { stat string expectedIOStats IOStats expectErr bool }{ {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 3.5K bytes - Click Count (0) -
.ci/jobs.t/elastic+elasticsearch+multijob+packaging-tests-upgrade.yml
project-type: matrix node: master scm: - git: wipe-workspace: false axes: - axis: type: label-expression name: os values: - centos-8-packaging - ubuntu-20.04-packaging - axis: type: yaml filename: ".ci/bwcVersions" name: BWC_VERSION builders:Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue May 25 23:43:40 GMT 2021 - 1.1K bytes - Click Count (0) -
cmd/xl-storage-errors_test.go
package cmd import ( "os" "runtime" "syscall" "testing" ) func TestSysErrors(t *testing.T) { pathErr := &os.PathError{Err: syscall.ENAMETOOLONG} ok := isSysErrTooLong(pathErr) if !ok { t.Fatalf("Unexpected error expecting %s", syscall.ENAMETOOLONG) } pathErr = &os.PathError{Err: syscall.ENOTDIR} ok = isSysErrNotDir(pathErr) if !ok {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Apr 23 18:58:53 GMT 2021 - 1.7K bytes - Click Count (0) -
internal/disk/fdatasync_linux.go
// // The aim of fdatasync() is to reduce disk activity for applications that // do not require all metadata to be synchronized with the disk. func Fdatasync(f *os.File) error { return syscall.Fdatasync(int(f.Fd())) } // FadviseDontNeed invalidates page-cache func FadviseDontNeed(f *os.File) error { return unix.Fadvise(int(f.Fd()), 0, 0, unix.FADV_DONTNEED)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 29 23:40:28 GMT 2021 - 1.8K bytes - Click Count (0) -
api/go1.12.txt
pkg net/http, const StatusTooEarly ideal-int pkg net/http, method (*Client) CloseIdleConnections() pkg os, const ModeType = 2401763328 pkg os, func UserHomeDir() (string, error) pkg os, method (*File) SyscallConn() (syscall.RawConn, error) pkg os, method (*ProcessState) ExitCode() int pkg os/exec, method (ExitError) ExitCode() int pkg reflect, method (*MapIter) Key() Value pkg reflect, method (*MapIter) Next() bool
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Wed Jan 02 21:21:53 GMT 2019 - 13.5K bytes - Click Count (0)