- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for example (0.19 sec)
-
src/bytes/example_test.go
cui fliter <******@****.***> 1709194171 +0800
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Mon Mar 04 15:54:40 GMT 2024 - 15K bytes - Viewed (1) -
src/bufio/example_test.go
favonia <******@****.***> 1684978995 -0400
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) -
src/cmd/cgo/doc.go
Note that the arguments are for "gcc", not "ld". Example: //go:cgo_ldflag "-lpthread" //go:cgo_ldflag "-L/usr/local/sqlite3/lib" A package compiled with cgo will include directives for both internal and external linking; the linker will select the appropriate subset for the chosen linking mode. Example As a simple example, consider a package that uses cgo to call C.sin.
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) -
.github/ISSUE_TEMPLATE/02-pkgsite-removal.yml
id: package-path attributes: label: "What is the path of the package that you would like to have removed?" description: | We can remove packages with a shared path prefix. For example, a request for 'github.com/author' would remove all pkg.go.dev pages with that package path prefix. validations: required: true - type: textarea id: package-owner attributes:
Others - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jan 04 23:31:17 GMT 2024 - 1.9K bytes - Viewed (0) -
doc/godebug.md
A GODEBUG setting is a `key=value` pair that controls the execution of certain parts of a Go program. The environment variable `GODEBUG` can hold a comma-separated list of these settings. For example, if a Go program is running in an environment that contains GODEBUG=http2client=0,http2server=0 then that Go program will disable the use of HTTP/2 by default in both the HTTP client and the HTTP server.
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) -
doc/asm.html
<p> Constants are of the form <code>const_<i>name</i></code>. For example, given the Go declaration <code>const bufSize = 1024</code>, assembly code can refer to the value of this constant as <code>const_bufSize</code>. </p> <p> Field offsets are of the form <code><i>type</i>_<i>field</i></code>. Struct sizes are of the form <code><i>type</i>__size</code>. For example, consider the following Go definition: </p> <pre>
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) -
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) -
doc/go1.17_spec.html
For instance, this example: </p> <pre> goto L // BAD v := 3 L: </pre> <p> is erroneous because the jump to label <code>L</code> skips the creation of <code>v</code>. </p> <p> A "goto" statement outside a <a href="#Blocks">block</a> cannot jump to a label inside that block. For instance, this example: </p> <pre> if n%2 == 1 {
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) -
src/cmd/cgo/internal/swig/testdata/callback/main.swigcxx
/* Copyright 2011 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. */ /* An example of writing a C++ virtual function in Go. */ %module(directors="1") callback %{ #include <string> #include "main.h" %} %include "std_string.i" %feature("director");
Plain Text - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 366 bytes - Viewed (0) -
.gitignore
/test/run.out /test/times.out # This file includes artifacts of Go build that should not be checked in. # For files created by specific development environment (e.g. editor), # use alternative ways to exclude files from git.
Plain Text - Registered: Tue May 07 11:14:38 GMT 2024 - Last Modified: Thu Jun 22 19:44:52 GMT 2023 - 958 bytes - Viewed (0)