Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for Fallows (0.24 sec)

  1. src/cmd/cgo/doc.go

    To allow additional flags, set CGO_CFLAGS_ALLOW to a regular expression
    matching the new flags. To disallow flags that would otherwise be allowed,
    set CGO_CFLAGS_DISALLOW to a regular expression matching arguments
    that must be disallowed. In both cases the regular expression must match
    a full argument: to allow -mfoo=bar, use CGO_CFLAGS_ALLOW='-mfoo.*',
    not just CGO_CFLAGS_ALLOW='-mfoo'. Similarly named variables control
    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)
  2. src/bytes/buffer_test.go

    			readBytes, _ := buf.Read(tmp)
    			yBytes := Repeat(y, growLen)
    			allocs := testing.AllocsPerRun(100, func() {
    				buf.Grow(growLen)
    				buf.Write(yBytes)
    			})
    			// Check no allocation occurs in write, as long as we're single-threaded.
    			if allocs != 0 {
    				t.Errorf("allocation occurred during write")
    			}
    			// Check that buffer has correct data.
    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)
  3. doc/next/6-stdlib/99-minor/net/http/64910.md

    The patterns used by [ServeMux] allow multiple spaces matching
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 80 bytes
    - Viewed (0)
  4. src/bufio/bufio_test.go

    	buf := NewReader(r)
    	allocs := testing.AllocsPerRun(100, func() {
    		r.Seek(0, io.SeekStart)
    		buf.Reset(r)
    
    		_, err := buf.ReadString('\n')
    		if err != nil {
    			t.Fatal(err)
    		}
    	})
    	if allocs != 1 {
    		t.Errorf("Unexpected number of allocations, got %f, want 1", allocs)
    	}
    }
    
    func TestWriter(t *testing.T) {
    	var data [8192]byte
    
    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)
  5. doc/go1.17_spec.html

    This termination sequence is called <i>panicking</i>.
    </p>
    
    <pre>
    panic(42)
    panic("unreachable")
    panic(Error("cannot parse"))
    </pre>
    
    <p>
    The <code>recover</code> function allows a program to manage behavior
    of a panicking goroutine.
    Suppose a function <code>G</code> defers a function <code>D</code> that calls
    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)
  6. src/cmd/cgo/internal/test/callback.go

    		if s != nil {
    			t.Fatal("panic during callback:", s)
    		}
    	}()
    	C.callGoFoo()
    }
    
    //export goFoo
    func goFoo() {
    	x := 1
    	for i := 0; i < 10000; i++ {
    		// variadic call mallocs + writes to
    		variadic(x, x, x)
    		if x != 1 {
    			panic("bad x")
    		}
    	}
    }
    
    func variadic(x ...interface{}) {}
    
    func testBlocking(t *testing.T) {
    	c := make(chan int)
    	go func() {
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
  7. doc/next/6-stdlib/99-minor/archive/tar/50102.md

    If the argument to [FileInfoHeader] implements the new [FileInfoNames]
    interface, then the interface methods will be used to set the Uname/Gname
    of the file header. This allows applications to override the system-dependent
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 243 bytes
    - Viewed (0)
  8. src/archive/zip/register.go

    	decompressors.Store(Store, Decompressor(io.NopCloser))
    	decompressors.Store(Deflate, Decompressor(newFlateReader))
    }
    
    // RegisterDecompressor allows custom decompressors for a specified method ID.
    // The common methods [Store] and [Deflate] are built in.
    func RegisterDecompressor(method uint16, dcomp Decompressor) {
    	if _, dup := decompressors.LoadOrStore(method, dcomp); dup {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  9. src/archive/tar/strconv.go

    	octBits := uint(n-1) * 3
    	return x >= 0 && (n >= 22 || x < 1<<octBits)
    }
    
    // parsePAXTime takes a string of the form %d.%d as described in the PAX
    // specification. Note that this implementation allows for negative timestamps,
    // which is allowed for by the PAX specification, but not always portable.
    func parsePAXTime(s string) (time.Time, error) {
    	const maxNanoSecondDigits = 9
    
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  10. .github/PULL_REQUEST_TEMPLATE

    the Gerrit change.
    
    **Please ensure you adhere to every item in this list.**
    
    More info can be found at https://github.com/golang/go/wiki/CommitMessage
    
    + The PR title is formatted as follows: `net/http: frob the quux before blarfing`
      + The package name goes before the colon
      + The part after the colon uses the verb tense + phrase that completes the blank in,
        "This change modifies Go to ___________"
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Feb 21 02:07:46 GMT 2018
    - 1.2K bytes
    - Viewed (0)
Back to top