Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 27 for operators (0.26 sec)

  1. src/archive/tar/reader_test.go

    					t.Errorf("test %d.%d, WriteTo() = (%d, %v), want (%d, %v)", i, j, got, err, tf.wantCnt, tf.wantErr)
    				}
    				if len(f.ops) > 0 {
    					t.Errorf("test %d.%d, expected %d more operations", i, j, len(f.ops))
    				}
    			case testRemaining:
    				if got := fr.logicalRemaining(); got != tf.wantLCnt {
    					t.Errorf("test %d.%d, logicalRemaining() = %d, want %d", i, j, got, tf.wantLCnt)
    				}
    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)
  2. doc/asm.html

    <p>
    Although the assembler takes its guidance from the Plan 9 assemblers,
    it is a distinct program, so there are some differences.
    One is in constant evaluation.
    Constant expressions in the assembler are parsed using Go's operator
    precedence, not the C-like precedence of the original.
    Thus <code>3&amp;1&lt;&lt;2</code> is 4, not 0—it parses as <code>(3&amp;1)&lt;&lt;2</code>
    not <code>3&amp;(1&lt;&lt;2)</code>.
    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)
  3. api/go1.txt

    pkg unicode, var Hebrew *RangeTable
    pkg unicode, var Hex_Digit *RangeTable
    pkg unicode, var Hiragana *RangeTable
    pkg unicode, var Hyphen *RangeTable
    pkg unicode, var IDS_Binary_Operator *RangeTable
    pkg unicode, var IDS_Trinary_Operator *RangeTable
    pkg unicode, var Ideographic *RangeTable
    pkg unicode, var Imperial_Aramaic *RangeTable
    pkg unicode, var Inherited *RangeTable
    pkg unicode, var Inscriptional_Pahlavi *RangeTable
    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 (2)
  4. src/bytes/reader.go

    // io.ByteScanner, and io.RuneScanner interfaces by reading from
    // a byte slice.
    // Unlike a [Buffer], a Reader is read-only and supports seeking.
    // The zero value for Reader operates like a Reader of an empty slice.
    type Reader struct {
    	s        []byte
    	i        int64 // current reading index
    	prevRune int   // index of previous rune; or < 0
    }
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 3.9K bytes
    - Viewed (1)
  5. src/cmd/asm/internal/asm/parse.go

    	}
    	return r1, r2, scale, true
    }
    
    // registerShift parses an ARM/ARM64 shifted register reference and returns the encoded representation.
    // There is known to be a register (current token) and a shift operator (peeked token).
    func (p *Parser) registerShift(name string, prefix rune) int64 {
    	if prefix != 0 {
    		p.errorf("prefix %c not allowed for shifted register: $%s", prefix, name)
    	}
    	// R1 op R2 or r1 op constant.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 14:34:57 GMT 2024
    - 36.9K bytes
    - Viewed (0)
  6. api/go1.1.txt

    pkg regexp/syntax, const ErrInvalidRepeatSize = "invalid repeat count"
    pkg regexp/syntax, const ErrInvalidUTF8 = "invalid UTF-8"
    pkg regexp/syntax, const ErrMissingBracket = "missing closing ]"
    pkg regexp/syntax, const ErrMissingParen = "missing closing )"
    pkg regexp/syntax, const ErrMissingRepeatArgument = "missing argument to repetition operator"
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  7. doc/go_mem.html

    For a given program execution, the mapping <i>W</i>, when limited to synchronizing operations,
    must be explainable by some implicit total order of the synchronizing operations
    that is consistent with sequencing and the values read and written by those operations.
    </p>
    
    <p>
    The <i>synchronized before</i> relation is a partial order on synchronizing memory operations,
    derived from <i>W</i>.
    If a synchronizing read-like memory operation <i>r</i>
    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)
  8. doc/next/6-stdlib/99-minor/database/sql/64707.md

    Errors returned by [driver.Valuer] implementations are now wrapped for
    improved error handling during operations like [DB.Query], [DB.Exec],
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 160 bytes
    - Viewed (0)
  9. src/archive/tar/tar_test.go

    	"strings"
    	"testing"
    	"time"
    )
    
    type testError struct{ error }
    
    type fileOps []any // []T where T is (string | int64)
    
    // testFile is an io.ReadWriteSeeker where the IO operations performed
    // on it must match the list of operations in ops.
    type testFile struct {
    	ops fileOps
    	pos int64
    }
    
    func (f *testFile) Read(b []byte) (int, error) {
    	if len(b) == 0 {
    		return 0, nil
    	}
    	if len(f.ops) == 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)
  10. misc/cgo/gmp/gmp.go

    func (z *Int) Div(x, y *Int) *Int {
    	x.doinit()
    	y.doinit()
    	z.doinit()
    	C.mpz_tdiv_q(&z.i[0], &x.i[0], &y.i[0])
    	return z
    }
    
    // Mod sets z = x % y and returns z.
    // Like the result of the Go % operator, z has the same sign as x.
    func (z *Int) Mod(x, y *Int) *Int {
    	x.doinit()
    	y.doinit()
    	z.doinit()
    	C.mpz_tdiv_r(&z.i[0], &x.i[0], &y.i[0])
    	return z
    }
    
    // Lsh sets z = x << s and returns z.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
Back to top