Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 26 for Otherwise (0.19 sec)

  1. src/arena/arena.go

    // allocated from an arena, it is returned untouched. This function is useful
    // to more easily let an arena-allocated value out-live its arena.
    // T must be a pointer, a slice, or a string, otherwise this function will panic.
    func Clone[T any](s T) T {
    	return runtime_arena_heapify(s).(T)
    }
    
    //go:linkname reflect_arena_New reflect.arena_New
    func reflect_arena_New(a *Arena, typ any) any {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/ast.go

    					f.Preamble += "#line 1 \"cgo-generated-wrapper\"\n"
    				}
    			}
    
    		case *ast.FuncDecl:
    			// Also, reject attempts to declare methods on C.T or *C.T.
    			// (The generated code would otherwise accept this
    			// invalid input; see issue #57926.)
    			if decl.Recv != nil && len(decl.Recv.List) > 0 {
    				recvType := decl.Recv.List[0].Type
    				if recvType != nil {
    					t := recvType
    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)
  3. src/cmd/cgo/doc.go

    "external only" mode, then the final link will be an external one.
    Otherwise the link will be an internal one.
    
    The linking directives are used according to the kind of final link
    used.
    
    In internal mode, cmd/link itself processes all the host object files, in
    particular foo.cgo2.o. To do so, it uses the cgo_import_dynamic and
    cgo_dynamic_linker directives to learn that the otherwise undefined
    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)
  4. doc/go1.17_spec.html

    with the expressions following the rules for <a href="#Assignments">assignments</a>.
    Otherwise, each variable is initialized to its <a href="#The_zero_value">zero value</a>.
    </p>
    
    <p>
    If a type is present, each variable is given that type.
    Otherwise, each variable is given the type of the corresponding
    initialization value in the assignment.
    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)
  5. CONTRIBUTING.md

    Sensitive security-related issues should be reported to [******@****.***](mailto:******@****.***).
    See the [security policy](https://golang.org/security) for details.
    
    The recommended way to file an issue is by running `go bug`.
    Otherwise, when filing an issue, make sure to answer these five questions:
    
    1. What version of Go are you using (`go version`)?
    2. What operating system and processor architecture are you using?
    3. What did you do?
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Mar 29 22:00:27 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/cgotest/overlaydir.go

    			return os.MkdirAll(dstPath, perm|0200)
    		}
    
    		// If the OS supports symlinks, use them instead of copying bytes.
    		if err := os.Symlink(srcPath, dstPath); err == nil {
    			return nil
    		}
    
    		// Otherwise, copy the bytes.
    		src, err := os.Open(srcPath)
    		if err != nil {
    			return err
    		}
    		defer src.Close()
    
    		dst, err := os.OpenFile(dstPath, os.O_WRONLY|os.O_CREATE|os.O_EXCL, perm)
    		if err != nil {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon May 22 20:56:09 GMT 2023
    - 1.7K bytes
    - Viewed (0)
  7. src/archive/zip/testdata/readme.zip

    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 a binary Go distribution, you need to set the environment variable $GOROOT to the full path of...
    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)
  8. src/archive/tar/strconv.go

    		var inv byte // 0x00 if positive or zero, 0xff if negative
    		if b[0]&0x40 != 0 {
    			inv = 0xff
    		}
    
    		var x uint64
    		for i, c := range b {
    			c ^= inv // Inverts c only if inv is 0xff, otherwise does nothing
    			if i == 0 {
    				c &= 0x7f // Ignore signal bit in first byte
    			}
    			if (x >> 56) > 0 {
    				p.err = ErrHeader // Integer overflow
    				return 0
    			}
    			x = x<<8 | uint64(c)
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Tue Aug 01 14:28:42 GMT 2023
    - 9K bytes
    - Viewed (0)
  9. PATENTS

    Google hereby grants to You a perpetual, worldwide, non-exclusive,
    no-charge, royalty-free, irrevocable (except as stated in this section)
    patent license to make, have made, use, offer to sell, sell, import,
    transfer and otherwise run, modify and propagate the contents of this
    implementation of Go, where such license applies only to those patent
    claims, both currently owned or controlled by Google and acquired in
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Dec 06 21:31:59 GMT 2010
    - 1.3K bytes
    - Viewed (0)
  10. src/cmd/addr2line/addr2line_test.go

    	"os"
    	"path/filepath"
    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    )
    
    // TestMain executes the test binary as the addr2line command if
    // GO_ADDR2LINETEST_IS_ADDR2LINE is set, and runs the tests otherwise.
    func TestMain(m *testing.M) {
    	if os.Getenv("GO_ADDR2LINETEST_IS_ADDR2LINE") != "" {
    		main()
    		os.Exit(0)
    	}
    
    	os.Setenv("GO_ADDR2LINETEST_IS_ADDR2LINE", "1") // Set for subprocesses to inherit.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Feb 21 22:16:54 GMT 2024
    - 3.8K bytes
    - Viewed (0)
Back to top