Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for snat (0.16 sec)

  1. 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)
  2. 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)
  3. src/archive/zip/reader.go

    }
    
    type openDir struct {
    	e      *fileListEntry
    	files  []fileListEntry
    	offset int
    }
    
    func (d *openDir) Close() error               { return nil }
    func (d *openDir) Stat() (fs.FileInfo, error) { return d.e.stat() }
    
    func (d *openDir) Read([]byte) (int, error) {
    	return 0, &fs.PathError{Op: "read", Path: d.e.name, Err: errors.New("is a directory")}
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
  4. doc/godebug.md

    There are no runtime metrics for this change,
    This setting may be removed in a future release, Go 1.27 at the earliest.
    
    Go 1.23 changed the mode bits reported by [`os.Lstat`](/pkg/os#Lstat) and [`os.Stat`](/pkg/os#Stat)
    for reparse points, which can be controlled with the `winsymlink` setting.
    As of Go 1.23 (`winsymlink=1`), mount points no longer have [`os.ModeSymlink`](/pkg/os#ModeSymlink)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  5. api/go1.12.txt

    pkg syscall (freebsd-386), type Stat_t struct, Atim_ext int32
    pkg syscall (freebsd-386), type Stat_t struct, Blksize int32
    pkg syscall (freebsd-386), type Stat_t struct, Btim_ext int32
    pkg syscall (freebsd-386), type Stat_t struct, Ctim_ext int32
    pkg syscall (freebsd-386), type Stat_t struct, Dev uint64
    pkg syscall (freebsd-386), type Stat_t struct, Gen uint64
    pkg syscall (freebsd-386), type Stat_t struct, Ino uint64
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 02 21:21:53 GMT 2019
    - 13.5K bytes
    - Viewed (0)
  6. api/except.txt

    pkg syscall (freebsd-386), type Stat_t struct, Blksize uint32
    pkg syscall (freebsd-386), type Stat_t struct, Dev uint32
    pkg syscall (freebsd-386), type Stat_t struct, Gen uint32
    pkg syscall (freebsd-386), type Stat_t struct, Ino uint32
    pkg syscall (freebsd-386), type Stat_t struct, Lspare int32
    pkg syscall (freebsd-386), type Stat_t struct, Nlink uint16
    pkg syscall (freebsd-386), type Stat_t struct, Pad_cgo_0 [8]uint8
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 25 00:13:30 GMT 2023
    - 34.6K bytes
    - Viewed (0)
  7. misc/go_android_exec/main.go

    	statPath := filepath.Join(os.TempDir(), "go_android_exec-adb-sync-status")
    	stat, err := os.OpenFile(statPath, os.O_CREATE|os.O_RDWR, 0666)
    	if err != nil {
    		return err
    	}
    	defer stat.Close()
    	// Serialize check and copying.
    	if err := syscall.Flock(int(stat.Fd()), syscall.LOCK_EX); err != nil {
    		return err
    	}
    	s, err := io.ReadAll(stat)
    	if err != nil {
    		return err
    	}
    	if string(s) == goVersion {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  8. src/archive/tar/writer_test.go

    				}
    			}
    		})
    	}
    }
    
    func TestPax(t *testing.T) {
    	// Create an archive with a large name
    	fileinfo, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	hdr, err := FileInfoHeader(fileinfo, "")
    	if err != nil {
    		t.Fatalf("os.Stat: %v", err)
    	}
    	// Force a PAX long name to be written
    	longName := strings.Repeat("ab", 100)
    	contents := strings.Repeat(" ", int(hdr.Size))
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Feb 27 16:39:23 GMT 2024
    - 38.7K bytes
    - Viewed (0)
  9. src/archive/tar/tar_test.go

    			t.Errorf("test %d, inverseSparseEntries():\ngot  %v\nwant %v", i, gotInverted, v.wantInverted)
    		}
    	}
    }
    
    func TestFileInfoHeader(t *testing.T) {
    	fi, err := os.Stat("testdata/small.txt")
    	if err != nil {
    		t.Fatal(err)
    	}
    	h, err := FileInfoHeader(fi, "")
    	if err != nil {
    		t.Fatalf("FileInfoHeader: %v", err)
    	}
    	if g, e := h.Name, "small.txt"; g != e {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  10. src/cmd/api/main_test.go

    const verbose = false
    
    func goCmd() string {
    	var exeSuffix string
    	if runtime.GOOS == "windows" {
    		exeSuffix = ".exe"
    	}
    	path := filepath.Join(testenv.GOROOT(nil), "bin", "go"+exeSuffix)
    	if _, err := os.Stat(path); err == nil {
    		return path
    	}
    	return "go"
    }
    
    // contexts are the default contexts which are scanned.
    var contexts = []*build.Context{
    	{GOOS: "linux", GOARCH: "386", CgoEnabled: true},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Apr 09 20:48:51 GMT 2024
    - 31.4K bytes
    - Viewed (0)
Back to top