Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 33 for snat (0.41 sec)

  1. 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)
  2. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), type Stat_t struct, Flags uint32
    pkg syscall (netbsd-arm64-cgo), type Stat_t struct, Gen uint32
    pkg syscall (netbsd-arm64-cgo), type Stat_t struct, Gid uint32
    pkg syscall (netbsd-arm64-cgo), type Stat_t struct, Ino uint64
    pkg syscall (netbsd-arm64-cgo), type Stat_t struct, Mode uint32
    pkg syscall (netbsd-arm64-cgo), type Stat_t struct, Mtimespec Timespec
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/swig/swig_test.go

    	output, err := exec.Command(swig, "-go", "-swiglib").Output()
    	if err != nil {
    		t.Skip("swig is missing Go support")
    	}
    	swigDir := strings.TrimSpace(string(output))
    
    	_, err = os.Stat(filepath.Join(swigDir, "go"))
    	if err != nil {
    		t.Skip("swig is missing Go support")
    	}
    
    	// Check that swig has a new enough version.
    	// See https://golang.org/issue/22858.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  4. api/go1.3.txt

    pkg syscall (netbsd-arm), type Kevent_t struct, Pad_cgo_0 [4]uint8
    pkg syscall (netbsd-arm), type Stat_t struct, Pad_cgo_0 [4]uint8
    pkg syscall (netbsd-arm), type Stat_t struct, Pad_cgo_1 [4]uint8
    pkg syscall (netbsd-arm), type Stat_t struct, Pad_cgo_2 [4]uint8
    pkg syscall (netbsd-arm), type Termios struct
    pkg syscall (netbsd-arm), type Termios struct, Cc [20]uint8
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  5. misc/wasm/wasm_exec.js

    			readdir(path, callback) { callback(enosys()); },
    			readlink(path, callback) { callback(enosys()); },
    			rename(from, to, callback) { callback(enosys()); },
    			rmdir(path, callback) { callback(enosys()); },
    			stat(path, callback) { callback(enosys()); },
    			symlink(path, link, callback) { callback(enosys()); },
    			truncate(path, length, callback) { callback(enosys()); },
    			unlink(path, callback) { callback(enosys()); },
    JavaScript
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  6. src/cmd/cgo/doc.go

    cases section below.
    
    To access a struct, union, or enum type directly, prefix it with
    struct_, union_, or enum_, as in C.struct_stat.
    
    The size of any C type T is available as C.sizeof_T, as in
    C.sizeof_struct_stat.
    
    A C function may be declared in the Go file with a parameter type of
    the special name _GoString_. This function may be called with an
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  7. src/archive/zip/reader_test.go

    			"a",
    			time.Date(2021, 4, 19, 12, 29, 56, 0, timeZone(-7*time.Hour)).UTC(),
    		},
    		{
    			"a/b/c",
    			time.Date(2021, 4, 19, 12, 29, 59, 0, timeZone(-7*time.Hour)).UTC(),
    		},
    	} {
    		fi, err := fs.Stat(z, test.name)
    		if err != nil {
    			t.Errorf("%s: %v", test.name, err)
    			continue
    		}
    		if got := fi.ModTime(); !got.Equal(test.want) {
    			t.Errorf("%s: got modtime %v, want %v", test.name, got, test.want)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 55.3K bytes
    - Viewed (0)
  8. doc/go1.17_spec.html

    to the maximum element index plus one.
    </p>
    
    <pre>
    buffer := [10]string{}             // len(buffer) == 10
    intSet := [6]int{1, 2, 3, 5}       // len(intSet) == 6
    days := [...]string{"Sat", "Sun"}  // len(days) == 2
    </pre>
    
    <p>
    A slice literal describes the entire underlying array literal.
    Thus the length and capacity of a slice literal are the maximum
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  9. api/go1.txt

    pkg syscall (darwin-386), type Stat_t struct, Flags uint32
    pkg syscall (darwin-386), type Stat_t struct, Gen uint32
    pkg syscall (darwin-386), type Stat_t struct, Gid uint32
    pkg syscall (darwin-386), type Stat_t struct, Ino uint64
    pkg syscall (darwin-386), type Stat_t struct, Lspare int32
    pkg syscall (darwin-386), type Stat_t struct, Mode uint16
    pkg syscall (darwin-386), type Stat_t struct, Mtimespec Timespec
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  10. src/cmd/cgo/gcc.go

    					if i := int(s.Sect) - 1; 0 <= i && i < len(f.Sections) {
    						sect := f.Sections[i]
    						if sect.Addr <= s.Value && s.Value < sect.Addr+sect.Size {
    							if sdat, err := sect.Data(); err == nil {
    								data := sdat[s.Value-sect.Addr:]
    								ints = make([]int64, len(data)/8)
    								for i := range ints {
    									ints[i] = int64(bo.Uint64(data[i*8:]))
    								}
    							}
    						}
    					}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top