Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 37 for operations (0.2 sec)

  1. src/bytes/boundary_test.go

    	"testing"
    )
    
    // This file tests the situation where byte operations are checking
    // data very near to a page boundary. We want to make sure those
    // operations do not read across the boundary and cause a page
    // fault where they shouldn't.
    
    // These tests run only on linux. The code being tested is
    // not OS-specific, so it does not need to be tested on all
    // operating systems.
    
    // dangerousSlice returns a slice which is immediately
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 30 20:05:58 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  2. doc/go1.17_spec.html

    continue     for          import       return       var
    </pre>
    
    <h3 id="Operators_and_punctuation">Operators and punctuation</h3>
    
    <p>
    The following character sequences represent <a href="#Operators">operators</a>
    (including <a href="#Assignments">assignment operators</a>) and punctuation:
    </p>
    <pre class="grammar">
    +    &amp;     +=    &amp;=     &amp;&amp;    ==    !=    (    )
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  3. misc/wasm/wasm_exec.js

    			const timeOrigin = Date.now() - performance.now();
    			this.importObject = {
    				_gotest: {
    					add: (a, b) => a + b,
    				},
    				gojs: {
    					// Go's SP does not change as long as no Go code is running. Some operations (e.g. calls, getters and setters)
    					// may synchronously trigger a Go event handler. This makes Go code get executed in the middle of the imported
    JavaScript
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon May 22 17:47:47 GMT 2023
    - 16.3K bytes
    - Viewed (1)
  4. src/cmd/asm/internal/asm/testdata/mips64.s

    	MOVW	R1, M1 // 40810800
    	MOVV	R1, M1 // 40a10800
    
    //	LMOVW mreg ',' rreg
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    	MOVW	M1, R1 // 40010800
    	MOVV	M1, R1 // 40210800
    
    
    //
    // integer operations
    // logical instructions
    // shift instructions
    // unary instructions
    //
    //	LADDW rreg ',' sreg ',' rreg
    //	{
    //		outcode(int($1), &$2, int($4), &$6);
    //	}
    	ADD	R5, R9, R10	// 01255020
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  5. src/cmd/cgo/doc.go

    These types are uintptr on the Go side because they would otherwise
    confuse the Go garbage collector; they are sometimes not really
    pointers but data structures encoded in a pointer type. All operations
    on these types must happen in C. The proper constant to initialize an
    empty such reference is 0, not nil.
    
    These special cases were introduced in Go 1.10. For auto-updating code
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  6. src/bytes/buffer_test.go

    	bb.Grow(16 << 20)
    	b.SetBytes(int64(bb.Available()))
    	b.ReportAllocs()
    	for i := 0; i < b.N; i++ {
    		bb.Reset()
    		b := bb.AvailableBuffer()
    		b = b[:cap(b)] // use max capacity to simulate a large append operation
    		bb.Write(b)    // should be nearly infinitely fast
    	}
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 20 01:07:29 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  7. src/bufio/bufio_test.go

    		// All data should have been read.
    		_, err := r.ReadByte()
    		if err != io.EOF {
    			t.Errorf("#%d: got error %v; want EOF", rno, err)
    		}
    	}
    }
    
    // Test that UnreadRune fails if the preceding operation was not a ReadRune.
    func TestUnreadRuneError(t *testing.T) {
    	buf := make([]byte, 3) // All runes in this test are 3 bytes long
    	r := NewReader(&StringReader{data: []string{"日本語日本語日本語"}})
    	if r.UnreadRune() == nil {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 10 18:56:01 GMT 2023
    - 51.5K bytes
    - Viewed (0)
  8. doc/go_spec.html

    continue     for          import       return       var
    </pre>
    
    <h3 id="Operators_and_punctuation">Operators and punctuation</h3>
    
    <p>
    The following character sequences represent <a href="#Operators">operators</a>
    (including <a href="#Assignment_statements">assignment operators</a>) and punctuation
    [<a href="#Go_1.18">Go 1.18</a>]:
    </p>
    <pre class="grammar">
    HTML
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 279.3K bytes
    - Viewed (0)
  9. 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 23 11:13:09 GMT 2024
    - Last Modified: Mon Nov 21 21:14:38 GMT 2022
    - 47.1K bytes
    - Viewed (0)
  10. src/cmd/asm/internal/asm/testdata/arm64.s

    // instructions for each rule, to guarantee we cover the same space.
    
    #include "../../../../../runtime/textflag.h"
    
    TEXT	foo(SB), DUPOK|NOSPLIT, $-8
    
    // arithmetic operations
    	ADDW	$1, R2, R3
    	ADDW	R1, R2, R3
    	ADDW	R1, ZR, R3
    	ADD	$1, R2, R3
    	ADD	R1, R2, R3
    	ADD	R1, ZR, R3
    	ADD	$1, R2, R3
    	ADDW	$1, R2
    	ADDW	R1, R2
    	ADD	$1, R2
    	ADD	R1, R2
    	ADD	R1>>11, R2
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Dec 08 03:28:17 GMT 2023
    - 94.9K bytes
    - Viewed (0)
Back to top