Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for shout (0.22 sec)

  1. src/archive/zip/zip_test.go

    	"errors"
    	"fmt"
    	"hash"
    	"internal/testenv"
    	"io"
    	"runtime"
    	"sort"
    	"strings"
    	"testing"
    	"time"
    )
    
    func TestOver65kFiles(t *testing.T) {
    	if testing.Short() && testenv.Builder() == "" {
    		t.Skip("skipping in short mode")
    	}
    	buf := new(strings.Builder)
    	w := NewWriter(buf)
    	const nFiles = (1 << 16) + 42
    	for i := 0; i < nFiles; i++ {
    		_, err := w.CreateHeader(&FileHeader{
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  2. doc/go_spec.html

    inside a <a href="#Function_declarations">function body</a> if the variable is
    never used.
    </p>
    
    <h3 id="Short_variable_declarations">Short variable declarations</h3>
    
    <p>
    A <i>short variable declaration</i> uses the syntax:
    </p>
    
    <pre class="ebnf">
    ShortVarDecl = IdentifierList ":=" ExpressionList .
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
  3. api/go1.1.txt

    pkg syscall, const IPPROTO_UDP = 17
    pkg syscall, const O_RDONLY = 0
    pkg syscall, const O_RDWR = 2
    pkg syscall, const O_WRONLY = 1
    pkg syscall, const SHUT_RD = 0
    pkg syscall, const SHUT_RDWR = 2
    pkg syscall, const SHUT_WR = 1
    pkg syscall, const SIGABRT = 6
    pkg syscall, const SIGALRM = 14
    pkg syscall, const SIGFPE = 8
    pkg syscall, const SIGHUP = 1
    pkg syscall, const SIGILL = 4
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  4. .github/PULL_REQUEST_TEMPLATE

      + The part after the colon uses the verb tense + phrase that completes the blank in,
        "This change modifies Go to ___________"
      + Lowercase verb after the colon
      + No trailing period
      + Keep the title as short as possible. ideally under 76 characters or shorter
    + No Markdown
    + The first PR comment (this one) is wrapped at 76 characters, unless it's
      really needed (ASCII art, table, or long link)
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 02:07:46 GMT 2018
    - 1.2K bytes
    - Viewed (0)
  5. src/bytes/bytes_test.go

    			}
    		}
    	})
    	if allocs > 0 {
    		t.Errorf("Equal allocated %v times", allocs)
    	}
    }
    
    func TestEqualExhaustive(t *testing.T) {
    	var size = 128
    	if testing.Short() {
    		size = 32
    	}
    	a := make([]byte, size)
    	b := make([]byte, size)
    	b_init := make([]byte, size)
    	// randomish but deterministic data
    	for i := 0; i < size; i++ {
    		a[i] = byte(17 * i)
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jan 24 16:07:25 GMT 2024
    - 56.2K bytes
    - Viewed (0)
  6. src/bufio/scan.go

    					}
    				}
    				return true
    			}
    		}
    		// We cannot generate a token with what we are holding.
    		// If we've already hit EOF or an I/O error, we are done.
    		if s.err != nil {
    			// Shut it down.
    			s.start = 0
    			s.end = 0
    			return false
    		}
    		// Must read more data.
    		// First, shift data to beginning of buffer if there's lots of empty space
    		// or space is needed.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  7. src/cmd/api/api_test.go

    		go func() {
    			defer wg.Done()
    			_ = NewWalker(context, filepath.Join(testenv.GOROOT(nil), "src"))
    		}()
    	}
    	wg.Wait()
    })
    
    func TestIssue21181(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping with -short")
    	}
    	if *flagCheck {
    		// slow, not worth repeating in -check
    		t.Skip("skipping with -check set")
    	}
    	testenv.MustHaveGoBuild(t)
    
    	warmupCache()
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Jan 04 17:31:12 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue18146.go

    package cgotest
    
    import (
    	"bytes"
    	"crypto/md5"
    	"os"
    	"os/exec"
    	"runtime"
    	"syscall"
    	"testing"
    	"time"
    )
    
    func test18146(t *testing.T) {
    	if testing.Short() {
    		t.Skip("skipping in short mode")
    	}
    
    	if runtime.GOOS == "darwin" || runtime.GOOS == "ios" {
    		t.Skipf("skipping flaky test on %s; see golang.org/issue/18202", runtime.GOOS)
    	}
    
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Tue Sep 05 23:35:32 GMT 2023
    - 2.8K bytes
    - Viewed (0)
  9. src/bytes/buffer_test.go

    		if err != io.EOF {
    			t.Errorf("ReadByte: got (%q, %v), want (%q, %v)", c, err, byte(0), io.EOF)
    		}
    	}
    }
    
    func TestLargeStringWrites(t *testing.T) {
    	var buf Buffer
    	limit := 30
    	if testing.Short() {
    		limit = 9
    	}
    	for i := 3; i < limit; i += 3 {
    		s := fillString(t, "TestLargeWrites (1)", &buf, "", 5, testString)
    		empty(t, "TestLargeStringWrites (2)", &buf, s, make([]byte, len(testString)/i))
    	}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 13:31:36 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  10. doc/go1.17_spec.html

    inside a <a href="#Function_declarations">function body</a> if the variable is
    never used.
    </p>
    
    <h3 id="Short_variable_declarations">Short variable declarations</h3>
    
    <p>
    A <i>short variable declaration</i> uses the syntax:
    </p>
    
    <pre class="ebnf">
    ShortVarDecl = IdentifierList ":=" ExpressionList .
    </pre>
    
    <p>
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
Back to top