Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for Gopher (0.17 sec)

  1. src/bytes/example_test.go

    		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
    	// Cut("Gopher", "ph") = "Go", "er", true
    	// Cut("Gopher", "er") = "Goph", "", true
    	// Cut("Gopher", "Badger") = "Gopher", "", false
    }
    
    func ExampleCutPrefix() {
    	show := func(s, sep string) {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  2. src/cmd/cgo/doc.go

    means that if a header file foo/bar.h exists both in the source
    directory and also in the system include directory (or some other place
    specified by a -I flag), then "#include <foo/bar.h>" will always find the
    local version in preference to any other version.
    
    The cgo tool is enabled by default for native builds on systems where
    it is expected to work. It is disabled by default when cross-compiling
    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)
  3. src/cmd/cgo/ast.go

    		}
    
    		f.ExpFunc = append(f.ExpFunc, &ExpFunc{
    			Func:    n,
    			ExpName: name,
    			Doc:     doc,
    		})
    		break
    	}
    }
    
    // Make f.ExpFunc[i] point at the Func from this AST instead of the other one.
    func (f *File) saveExport2(x interface{}, context astContext) {
    	n, ok := x.(*ast.FuncDecl)
    	if !ok {
    		return
    	}
    
    	for _, exp := range f.ExpFunc {
    		if exp.Func.Name.Name == n.Name.Name {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Jun 07 16:54:27 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/mips64.s

    //	LBRA rreg ',' sreg ',' rel
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    label2:
    	BEQ	R1, R2, 1(PC)	// BEQ R1, R2, 1(PC)	// 10220001
    	BEQ	R1, R2, label2	// BEQ R1, R2, 20	// 1022fffd
    
    //
    // other integer conditional branch
    //
    //	LBRA rreg ',' rel
    //	{
    //		outcode(int($1), &$2, 0, &$4);
    //	}
    label3:
    	BLTZ	R1, 1(PC)	// BLTZ R1, 1(PC)	// 04200001
    	BLTZ	R1, label3	// BLTZ R1, 22		// 0420fffd
    
    //
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 08 12:17:12 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  5. api/go1.5.txt

    pkg crypto, type Decrypter interface, Decrypt(io.Reader, []uint8, DecrypterOpts) ([]uint8, error)
    pkg crypto, type Decrypter interface, Public() PublicKey
    pkg crypto, type DecrypterOpts interface {}
    pkg crypto/cipher, func NewGCMWithNonceSize(Block, int) (AEAD, error)
    pkg crypto/elliptic, type CurveParams struct, Name string
    pkg crypto/rsa, method (*PrivateKey) Decrypt(io.Reader, []uint8, crypto.DecrypterOpts) ([]uint8, error)
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  6. src/archive/zip/writer_test.go

    type WriteTest struct {
    	Name   string
    	Data   []byte
    	Method uint16
    	Mode   fs.FileMode
    }
    
    var writeTests = []WriteTest{
    	{
    		Name:   "foo",
    		Data:   []byte("Rabbits, guinea pigs, gophers, marsupial rats, and quolls."),
    		Method: Store,
    		Mode:   0666,
    	},
    	{
    		Name:   "bar",
    		Data:   nil, // large data set in the test
    		Method: Deflate,
    		Mode:   0644,
    	},
    	{
    		Name:   "setuid",
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Sep 15 19:04:06 GMT 2023
    - 14.1K bytes
    - Viewed (0)
  7. src/archive/tar/common.go

    	// not contain the '=' character (e.g., "GOLANG.pkg.version").
    	// The key and value should be non-empty UTF-8 strings.
    	//
    	// When Writer.WriteHeader is called, PAX records derived from the
    	// other fields in Header take precedence over PAXRecords.
    	PAXRecords map[string]string
    
    	// Format specifies the format of the tar header.
    	//
    	// This is set by Reader.Next as a best-effort guess at the format.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Mar 15 16:01:50 GMT 2024
    - 24.7K bytes
    - Viewed (2)
  8. src/bytes/buffer.go

    type readOp int8
    
    // Don't use iota for these, as the values need to correspond with the
    // names and comments, which is easier to see when being explicit.
    const (
    	opRead      readOp = -1 // Any other read operation.
    	opInvalid   readOp = 0  // Non-read operation.
    	opReadRune1 readOp = 1  // Read rune of size 1.
    	opReadRune2 readOp = 2  // Read rune of size 2.
    	opReadRune3 readOp = 3  // Read rune of size 3.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 17:10:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  9. doc/godebug.md

    and clients to TLS 1.2. The default can be reverted to TLS 1.0 using the
    [`tls10server` setting](/pkg/crypto/tls/#Config).
    
    Go 1.22 changed the default TLS cipher suites used by clients and servers when
    not explicitly configured, removing the cipher suites which used RSA based key
    exchange. The default can be reverted using the [`tlsrsakex` setting](/pkg/crypto/tls/#Config).
    
    Go 1.22 disabled
    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)
  10. doc/asm.html

    the offsets being used to access them are correct.
    </p>
    
    <h2 id="architectures">Architecture-specific details</h2>
    
    <p>
    It is impractical to list all the instructions and other details for each machine.
    To see what instructions are defined for a given machine, say ARM,
    look in the source for the <code>obj</code> support library for
    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)
Back to top