Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for Device (0.24 sec)

  1. src/archive/tar/common.go

    	TypeRegA = '\x00'
    
    	// Type '1' to '6' are header-only flags and may not have a data body.
    	TypeLink    = '1' // Hard link
    	TypeSymlink = '2' // Symbolic link
    	TypeChar    = '3' // Character device node
    	TypeBlock   = '4' // Block device node
    	TypeDir     = '5' // Directory
    	TypeFifo    = '6' // FIFO node
    
    	// Type '7' is reserved.
    	TypeCont = '7'
    
    	// Type 'x' is used by the PAX format to store key-value records that
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  2. src/archive/zip/reader_test.go

    				Mode:     0444,
    			},
    		},
    	},
    	{
    		// created by Go, before we wrote the "optional" data
    		// descriptor signatures (which are required by macOS).
    		// Use obscured file to avoid Appleā€™s notarization service
    		// rejecting the toolchain due to an inability to unzip this archive.
    		// See golang.org/issue/34986
    		Name:     "go-no-datadesc-sig.zip.base64",
    		Obscured: true,
    		File: []ZipTestFile{
    			{
    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)
  3. doc/go1.17_spec.html

    <=    less or equal
    >     greater
    >=    greater or equal
    </pre>
    
    <p>
    In any comparison, the first operand
    must be <a href="#Assignability">assignable</a>
    to the type of the second operand, or vice versa.
    </p>
    <p>
    The equality operators <code>==</code> and <code>!=</code> apply
    to operands that are <i>comparable</i>.
    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)
  4. src/archive/tar/tar_test.go

    			Typeflag: TypeSymlink,
    		},
    		fm: 0777 | fs.ModeSymlink,
    	}, {
    		// character device node.
    		h: &Header{
    			Name:     "dev/null",
    			Mode:     0666,
    			Size:     0,
    			ModTime:  time.Unix(1360578951, 0),
    			Typeflag: TypeChar,
    		},
    		fm: 0666 | fs.ModeDevice | fs.ModeCharDevice,
    	}, {
    		// block device node.
    		h: &Header{
    			Name:     "dev/sda",
    			Mode:     0660,
    			Size:     0,
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24K bytes
    - Viewed (0)
  5. doc/godebug.md

    that can be used in TLS handshakes, controlled by the [`tlsmaxrsasize` setting](/pkg/crypto/tls#Conn.Handshake).
    The default is tlsmaxrsasize=8192, limiting RSA to 8192-bit keys. To avoid
    denial of service attacks, this setting and default was backported to Go
    1.19.13, Go 1.20.8, and Go 1.21.1.
    
    Go 1.22 made it an error for a request or response read by a net/http
    client or server to have an empty Content-Length header.
    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)
  6. src/archive/tar/writer_test.go

    		if string(data) != string(origdata) {
    			t.Fatalf("got file content %v, want %v",
    				data, origdata)
    		}
    	}
    }
    
    func TestWriterAddFSNonRegularFiles(t *testing.T) {
    	fsys := fstest.MapFS{
    		"device":  {Data: []byte("hello"), Mode: 0755 | fs.ModeDevice},
    		"symlink": {Data: []byte("world"), Mode: 0755 | fs.ModeSymlink},
    	}
    	var buf bytes.Buffer
    	tw := NewWriter(&buf)
    	if err := tw.AddFS(fsys); err == nil {
    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)
  7. doc/go_spec.html

    &lt;=    less or equal
    &gt;     greater
    &gt;=    greater or equal
    </pre>
    
    <p>
    In any comparison, the first operand
    must be <a href="#Assignability">assignable</a>
    to the type of the second operand, or vice versa.
    </p>
    <p>
    The equality operators <code>==</code> and <code>!=</code> apply
    to operands of <i>comparable</i> types.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu May 02 22:43:51 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  8. doc/go_mem.html

    <p>
    The Go memory model specifies the conditions under which
    reads of a variable in one goroutine can be guaranteed to
    observe values produced by writes to the same variable in a different goroutine.
    </p>
    
    
    <h3 id="advice">Advice</h3>
    
    <p>
    Programs that modify data being simultaneously accessed by multiple goroutines
    must serialize such access.
    </p>
    
    <p>
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
Back to top