Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Exactly (0.24 sec)

  1. src/cmd/cgo/ast.go

    func commentText(g *ast.CommentGroup) string {
    	var pieces []string
    	for _, com := range g.List {
    		c := com.Text
    		// Remove comment markers.
    		// The parser has given us exactly the comment text.
    		switch c[1] {
    		case '/':
    			//-style comment (no newline at the end)
    			c = c[2:] + "\n"
    		case '*':
    			/*-style comment */
    			c = c[2 : len(c)-2]
    		}
    		pieces = append(pieces, c)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    ASCII text.  There are four ways to represent the integer value
    as a numeric constant: <code>\x</code> followed by exactly two hexadecimal
    digits; <code>\u</code> followed by exactly four hexadecimal digits;
    <code>\U</code> followed by exactly eight hexadecimal digits, and a
    plain backslash <code>\</code> followed by exactly three octal digits.
    In each case the value of the literal is the value represented by
    the digits in the corresponding base.
    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)
  3. src/cmd/asm/internal/asm/testdata/amd64error.s

    	// TODO(quasilyte): improve error message (#21860).
    	VPGATHERQQ X2, (BP)(X20*2), X3  // ERROR "invalid instruction"
    	VPGATHERQQ Y2, (BP)(Y20*2), Y3  // ERROR "invalid instruction"
    	// YzrMulti4 expects exactly 4 registers referenced by REG_LIST.
    	// TODO(quasilyte): improve error message (#21860).
    	V4FMADDPS (AX), [Z0-Z4], K1, Z7  // ERROR "invalid instruction"
    	V4FMADDPS (AX), [Z0-Z0], K1, Z7  // ERROR "invalid instruction"
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 14 00:03:57 GMT 2023
    - 8.9K bytes
    - Viewed (0)
  4. src/archive/tar/reader_test.go

    		{data2[:1536] + trash, 1, ErrHeader},
    		{data2[:2048], 1, io.EOF}, // Exactly 1 empty block
    		{data2[:2048] + trash[:1], 1, io.ErrUnexpectedEOF},
    		{data2[:2048] + trash[:511], 1, io.ErrUnexpectedEOF},
    		{data2[:2048] + trash, 1, ErrHeader},
    		{data2[:2560], 1, io.EOF}, // Exactly 2 empty blocks (normal end-of-stream)
    		{data2[:2560] + trash[:1], 1, io.EOF},
    		{data2[:2560] + trash[:511], 1, io.EOF},
    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)
  5. src/cmd/cgo/doc.go

    memory pinned using [runtime.Pinner]. This type may be used to manage
    the duration of the memory's pinned status, potentially beyond the
    duration of a C function call. Memory may be pinned more than once and
    must be unpinned exactly the same number of times it has been pinned.
    
    Go code may pass a Go pointer to C provided the memory to which it
    points does not contain any Go pointers to memory that is unpinned. When
    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)
  6. src/archive/tar/reader.go

    //   - Exactly 0 bytes are read and EOF is hit.
    //   - Exactly 1 block of zeros is read and EOF is hit.
    //   - At least 2 blocks of zeros are read.
    func (tr *Reader) readHeader() (*Header, *block, error) {
    	// Two blocks of zero bytes marks the end of the archive.
    	if _, err := io.ReadFull(tr.r, tr.blk[:]); err != nil {
    		return nil, nil, err // EOF is okay here; exactly 0 bytes read
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 08 01:59:14 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  7. src/bufio/bufio_test.go

    	}
    }
    
    // Test for golang.org/issue/5947
    func TestWriterReadFromWhileFull(t *testing.T) {
    	buf := new(bytes.Buffer)
    	w := NewWriterSize(buf, 10)
    
    	// Fill buffer exactly.
    	n, err := w.Write([]byte("0123456789"))
    	if n != 10 || err != nil {
    		t.Fatalf("Write returned (%v, %v), want (10, nil)", n, err)
    	}
    
    	// Use ReadFrom to read in some data.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  8. doc/go_spec.html

    ASCII text.  There are four ways to represent the integer value
    as a numeric constant: <code>\x</code> followed by exactly two hexadecimal
    digits; <code>\u</code> followed by exactly four hexadecimal digits;
    <code>\U</code> followed by exactly eight hexadecimal digits, and a
    plain backslash <code>\</code> followed by exactly three octal digits.
    In each case the value of the literal is the value represented by
    the digits in the corresponding base.
    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)
  9. src/bufio/bufio.go

    		}
    	}
    }
    
    // Read reads data into p.
    // It returns the number of bytes read into p.
    // The bytes are taken from at most one Read on the underlying [Reader],
    // hence n may be less than len(p).
    // To read exactly len(p) bytes, use io.ReadFull(b, p).
    // If the underlying [Reader] can return a non-zero count with io.EOF,
    // then this Read method can do so as well; see the [io.Reader] docs.
    func (b *Reader) Read(p []byte) (n int, err error) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Oct 12 14:39:08 GMT 2023
    - 21.8K bytes
    - Viewed (0)
  10. doc/asm.html

    when you see an instruction like <code>MOV</code>
    what the toolchain actually generates for that operation might
    not be a move instruction at all, perhaps a clear or load.
    Or it might correspond exactly to the machine instruction with that name.
    In general, machine-specific operations tend to appear as themselves, while more general concepts like
    memory move and subroutine call and return are more abstract.
    HTML
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Nov 28 19:15:27 GMT 2023
    - 36.3K bytes
    - Viewed (0)
Back to top