Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for show (0.2 sec)

  1. .github/ISSUE_TEMPLATE/11-language-change.yml

          description: If so, how does this differ from previous error handling proposals?
          placeholder: |
           Yes or No
    
           If yes, 
            1.how does this differ from previous error handling proposals?
    
        validations:
          required: true
    
      - type: textarea
        id: generics-proposal
        attributes:
          label: Is this about generics?
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Nov 22 20:49:24 GMT 2023
    - 4.7K bytes
    - Viewed (0)
  2. src/bytes/example_test.go

    	// Output:
    	// 3
    	// 5
    }
    
    func ExampleCut() {
    	show := func(s, sep string) {
    		before, after, found := bytes.Cut([]byte(s), []byte(sep))
    		fmt.Printf("Cut(%q, %q) = %q, %q, %v\n", s, sep, before, after, found)
    	}
    	show("Gopher", "Go")
    	show("Gopher", "ph")
    	show("Gopher", "er")
    	show("Gopher", "Badger")
    	// Output:
    	// Cut("Gopher", "Go") = "", "pher", true
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  3. src/bufio/bufio_test.go

    			r:            strings.NewReader("abcdefghijklmnopqrstuvwxyz"),
    			n:            27,
    			want:         26,
    			wantErr:      io.EOF,
    			wantBuffered: 0,
    		},
    		// Any error from filling shouldn't show up until we
    		// get past the valid bytes. Here we return 5 valid bytes at the same time
    		// as an error, but test that we don't see the error from Discard.
    		{
    			name: "fill error, discard less",
    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)
  4. src/cmd/asm/internal/asm/testdata/amd64enc.s

    	SHLW $7, DX, (BX)                       // 660fa41307
    	SHLW $7, R11, (BX)                      // 66440fa41b07
    	SHLW $7, DX, (R11)                      // 66410fa41307
    	SHLW $7, R11, (R11)                     // 66450fa41b07
    	SHLW $7, DX, DX                         // 660fa4d207
    	SHLW $7, R11, DX                        // 66440fa4da07
    	SHLW $7, DX, R11                        // 66410fa4d307
    Others
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 08 21:38:44 GMT 2021
    - 581.9K bytes
    - Viewed (0)
  5. doc/go1.17_spec.html

    </p>
    
    <p>
    For instance, some architectures provide a "fused multiply and add" (FMA) instruction
    that computes <code>x*y + z</code> without rounding the intermediate result <code>x*y</code>.
    These examples show when a Go implementation can use that instruction:
    </p>
    
    <pre>
    // FMA allowed for computing r, because x*y is not explicitly rounded:
    r  = x*y + z
    r  = z;   r += x*y
    t  = x*y; r = t + z
    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)
  6. src/bytes/buffer.go

    // Cap returns the capacity of the buffer's underlying byte slice, that is, the
    // total space allocated for the buffer's data.
    func (b *Buffer) Cap() int { return cap(b.buf) }
    
    // Available returns how many bytes are unused in the buffer.
    func (b *Buffer) Available() int { return cap(b.buf) - len(b.buf) }
    
    // Truncate discards all but the first n unread bytes from the buffer
    // but continues to use the same allocated storage.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  7. api/go1.txt

    pkg syscall (windows-386), const SW_MINIMIZE ideal-int
    pkg syscall (windows-386), const SW_NORMAL ideal-int
    pkg syscall (windows-386), const SW_RESTORE ideal-int
    pkg syscall (windows-386), const SW_SHOW ideal-int
    pkg syscall (windows-386), const SW_SHOWDEFAULT ideal-int
    pkg syscall (windows-386), const SW_SHOWMAXIMIZED ideal-int
    pkg syscall (windows-386), const SW_SHOWMINIMIZED ideal-int
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (1)
  8. src/cmd/cgo/gcc.go

    			result = true
    		}
    
    		// Add the second result type, if any.
    		if twoResults {
    			if name.FuncType.Result == nil {
    				// An explicit void result looks odd but it
    				// seems to be how cgo has worked historically.
    				sb.WriteString("_Ctype_void")
    			}
    			sb.WriteString(", error)")
    		}
    	}
    
    	sb.WriteString("{ ")
    
    	// Define _cgoN for each argument value.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
  9. api/go1.14.txt

    pkg syscall (freebsd-arm64), const AF_SCLUSTER ideal-int
    pkg syscall (freebsd-arm64), const AF_SIP = 24
    pkg syscall (freebsd-arm64), const AF_SIP ideal-int
    pkg syscall (freebsd-arm64), const AF_SLOW = 33
    pkg syscall (freebsd-arm64), const AF_SLOW ideal-int
    pkg syscall (freebsd-arm64), const AF_SNA = 11
    pkg syscall (freebsd-arm64), const AF_SNA ideal-int
    pkg syscall (freebsd-arm64), const AF_VENDOR00 = 39
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
  10. src/archive/zip/zip_test.go

    func TestZip64(t *testing.T) {
    	if testing.Short() {
    		t.Skip("slow test; skipping")
    	}
    	t.Parallel()
    	const size = 1 << 32 // before the "END\n" part
    	buf := testZip64(t, size)
    	testZip64DirectoryRecordLength(buf, t)
    }
    
    func TestZip64EdgeCase(t *testing.T) {
    	if testing.Short() {
    		t.Skip("slow test; skipping")
    	}
    	t.Parallel()
    	// Test a zip file with uncompressed size 0xFFFFFFFF.
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
Back to top