Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 868 for unix (0.15 sec)

  1. internal/http/dial_linux.go

    			{
    				// Enable big buffers
    				_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_SNDBUF, opts.SendBufSize)
    
    				_ = unix.SetsockoptInt(fd, unix.SOL_SOCKET, unix.SO_RCVBUF, opts.RecvBufSize)
    			}
    
    			// Enable TCP open
    			// https://lwn.net/Articles/508865/ - 32k queue size.
    			_ = syscall.SetsockoptInt(fd, syscall.SOL_TCP, unix.TCP_FASTOPEN, 32*1024)
    
    			// Enable TCP fast connect
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 24 04:08:47 GMT 2024
    - 4.3K bytes
    - Viewed (3)
  2. src/archive/tar/reader_test.go

    			Size:       5,
    			ModTime:    time.Unix(1244592783, 0),
    			Typeflag:   '0',
    			Uname:      "dsymonds",
    			Gname:      "eng",
    			AccessTime: time.Unix(1244592783, 0),
    			ChangeTime: time.Unix(1244592783, 0),
    		}, {
    			Name:       "small2.txt",
    			Mode:       0640,
    			Uid:        73025,
    			Gid:        5000,
    			Size:       11,
    			ModTime:    time.Unix(1244592783, 0),
    			Typeflag:   '0',
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  3. internal/s3select/parquet/reader.go

    				// Only support UTC normalized timestamps.
    				if ts.IsAdjustedToUTC {
    					switch {
    					case ts.Unit.IsSetNANOS():
    						duration = time.Duration(val) * time.Nanosecond
    					case ts.Unit.IsSetMILLIS():
    						duration = time.Duration(val) * time.Millisecond
    					case ts.Unit.IsSetMICROS():
    						duration = time.Duration(val) * time.Microsecond
    					default:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 14 13:54:47 GMT 2022
    - 4.5K bytes
    - Viewed (0)
  4. cmd/erasure-healing-common_test.go

    			[]time.Time{
    				time.Unix(0, 1).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 2).UTC(),
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 1).UTC(),
    			},
    			time.Unix(0, 3).UTC(),
    			3,
    		},
    		{
    			// 2. Tests common time obtained when all elements are equal.
    			[]time.Time{
    				time.Unix(0, 3).UTC(),
    				time.Unix(0, 3).UTC(),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Jan 30 20:43:25 GMT 2024
    - 23K bytes
    - Viewed (1)
  5. src/archive/tar/strconv_test.go

    		{"-1", time.Unix(-1, -0e0+0e0), true},
    		{"-1.999000", time.Unix(-1, -1e9+1e6), true},
    		{"-1.999999", time.Unix(-1, -1e9+1e3), true},
    		{"-1.999999999", time.Unix(-1, -1e9+1e0), true},
    		{"0.000000001", time.Unix(0, 1e0+0e0), true},
    		{"0.000001", time.Unix(0, 1e3+0e0), true},
    		{"0.001000", time.Unix(0, 1e6+0e0), true},
    		{"0", time.Unix(0, 0e0), true},
    		{"0.999000", time.Unix(0, 1e9-1e6), true},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 09 05:28:50 GMT 2021
    - 14K bytes
    - Viewed (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.reproducible-archives.gradle.kts

     */
    
    // Ensure the archives produced are reproducible
    tasks.withType<AbstractArchiveTask>().configureEach {
        isPreserveFileTimestamps = false
        isReproducibleFileOrder = true
        dirPermissions { unix("0755") }
        filePermissions { unix("0644") }
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Mar 06 15:37:11 GMT 2024
    - 867 bytes
    - Viewed (0)
  7. tests/customize_field_test.go

    		t.Fatalf("invalid create/update unix time: %#v", result)
    	}
    
    	if int(result.AutoUnixMilliCreateTime) != int(result.AutoUnixMilliUpdateTime) || result.AutoUnixMilliCreateTime == 0 || int(result.AutoUnixMilliCreateTime)/int(result.AutoUnixCreateTime) < 1e3 {
    		t.Fatalf("invalid create/update unix milli time: %#v", result)
    	}
    
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Fri Sep 11 09:33:31 GMT 2020
    - 6.9K bytes
    - Viewed (0)
  8. src/archive/tar/tar_test.go

    		header:  &Header{ModTime: time.Unix(1, 500)},
    		paxHdrs: map[string]string{paxMtime: "1.0000005"},
    		formats: FormatUSTAR | FormatPAX | FormatGNU,
    	}, {
    		header:  &Header{ModTime: time.Unix(1, 0)},
    		formats: FormatUSTAR | FormatPAX | FormatGNU,
    	}, {
    		header:  &Header{ModTime: time.Unix(1, 0), Format: FormatPAX},
    		formats: FormatUSTAR | FormatPAX,
    	}, {
    		header:  &Header{ModTime: time.Unix(1, 500), Format: FormatUSTAR},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  9. internal/disk/stat_netbsd.go

    package disk
    
    import (
    	"errors"
    	"fmt"
    
    	"golang.org/x/sys/unix"
    )
    
    // GetInfo returns total and free bytes available in a directory, e.g. `/`.
    func GetInfo(path string, _ bool) (info Info, err error) {
    	s := unix.Statvfs_t{}
    	if err = unix.Statvfs(path, &s); err != nil {
    		return Info{}, err
    	}
    	reservedBlocks := uint64(s.Bfree) - uint64(s.Bavail)
    	info = Info{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Feb 26 19:34:50 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  10. src/archive/tar/stat_actime1.go

    //go:build aix || linux || dragonfly || openbsd || solaris
    
    package tar
    
    import (
    	"syscall"
    	"time"
    )
    
    func statAtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Atim.Unix())
    }
    
    func statCtime(st *syscall.Stat_t) time.Time {
    	return time.Unix(st.Ctim.Unix())
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 28 18:17:57 GMT 2021
    - 431 bytes
    - Viewed (0)
Back to top