Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 242 for by (0.24 sec)

  1. doc/godebug.md

    Go 1.22 made it an error for a request or response read by a net/http
    client or server to have an empty Content-Length header.
    This behavior is controlled by the `httplaxcontentlength` setting.
    
    Go 1.22 changed the behavior of ServeMux to accept extended
    patterns and unescape both patterns and request paths by segment.
    This behavior can be controlled by the
    [`httpmuxgo121` setting](/pkg/net/http/#ServeMux).
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  2. src/bufio/scan.go

    // on a reader, should use [bufio.Reader] instead.
    type Scanner struct {
    	r            io.Reader // The reader provided by the client.
    	split        SplitFunc // The function to split the tokens.
    	maxTokenSize int       // Maximum size of a token; modified by tests.
    	token        []byte    // Last token returned by split.
    	buf          []byte    // Buffer used as argument to split.
    	start        int       // First non-processed byte in buf.
    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)
  3. doc/asm.html

    	0x0043 00067 (x.go:3)	CALL	runtime.morestack_noctxt(SB)
    	0x0048 00072 (x.go:3)	JMP	0
    ...
    </pre>
    
    <p>
    The <code>FUNCDATA</code> and <code>PCDATA</code> directives contain information
    for use by the garbage collector; they are introduced by the compiler.
    </p>
    
    <p>
    To see what gets put in the binary after linking, use <code>go tool objdump</code>:
    </p>
    
    <pre>
    $ go build -o x.exe x.go
    $ go tool objdump -s main.main x.exe
    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)
  4. src/bufio/example_test.go

    	}
    	// Output:
    	// true
    }
    
    // Use a Scanner to implement a simple word-count utility by scanning the
    // input as a sequence of space-delimited tokens.
    func ExampleScanner_words() {
    	// An artificial input source.
    	const input = "Now is the winter of our discontent,\nMade glorious summer by this sun of York.\n"
    	scanner := bufio.NewScanner(strings.NewReader(input))
    	// Set the split function for the scanning operation.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  5. doc/next/6-stdlib/99-minor/net/63116.md

    The [DNSError] type now wraps errors caused by timeouts or cancellation.
    For example, `errors.Is(someDNSErr, context.DeadlineExceedeed)`
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 198 bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/swig/testdata/callback/main.cc

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This .cc file will be automatically compiled by the go tool and
    // included in the package.
    
    #include <string>
    #include "main.h"
    
    std::string Caller::call() {
    	if (callback_ != 0)
    		return callback_->run();
    	return "";
    C++
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 384 bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/expr_test.go

    		}
    	}
    }
    
    type badExprTest struct {
    	input string
    	error string // Empty means no error.
    }
    
    var badExprTests = []badExprTest{
    	{"0/0", "division by zero"},
    	{"3/0", "division by zero"},
    	{"(1<<63)/0", "divide of value with high bit set"},
    	{"3%0", "modulo by zero"},
    	{"(1<<63)%0", "modulo of value with high bit set"},
    	{"3<<-4", "negative left shift count"},
    	{"3<<(1<<63)", "negative left shift count"},
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 29 07:48:38 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/arch/riscv64.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // This file encapsulates some of the odd characteristics of the RISCV64
    // instruction set, to minimize its interaction with the core of the
    // assembler.
    
    package arch
    
    import (
    	"cmd/internal/obj"
    	"cmd/internal/obj/riscv"
    )
    
    // IsRISCV64AMO reports whether the op (as defined by a riscv.A*
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 15 08:13:28 GMT 2020
    - 943 bytes
    - Viewed (0)
  9. src/archive/zip/struct.go

    	// Limits for non zip64 files.
    	uint16max = (1 << 16) - 1
    	uint32max = (1 << 32) - 1
    
    	// Extra header IDs.
    	//
    	// IDs 0..31 are reserved for official use by PKWARE.
    	// IDs above that range are defined by third-party vendors.
    	// Since ZIP lacked high precision timestamps (nor an official specification
    	// of the timezone used for the date fields), many competing extra fields
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 12.1K bytes
    - Viewed (0)
  10. src/archive/zip/testdata/readme.zip

    the source code repository for the Go programming language. For documentation about how to install and use Go, visit http://golang.org/ or load doc/install.html in your web browser. After installing Go, you can view a nicely formatted doc/install.html by running godoc --http=:6060 and then visiting http://localhost:6060/doc/install.html. Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file. -- Binary Distribution Notes If you have just untarred...
    ZIP Archive
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sat Jul 11 14:36:33 GMT 2015
    - 1.8K bytes
    - Viewed (0)
Back to top