- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 217 for source (0.22 sec)
-
doc/asm.html
A data symbol with a total size smaller than a pointer is also treated as implicitly marked <code>NOPTR</code>. It is not possible to define a symbol containing pointers in an assembly source file; such a symbol must be defined in a Go source file instead. Assembly source can still refer to the symbol by name even without <code>DATA</code> and <code>GLOBL</code> directives. A good general rule of thumb is to define all non-<code>RODATA</code>
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) -
src/cmd/cgo/internal/swig/testdata/stdio/main.go
// Copyright 2017 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 file is here just to cause problems. // main.swig turns into a file also named main.go. // Make sure cmd/go keeps them separate // when both are passed to cgo. package main //int F(void) { return 1; } import "C" import ( "fmt" "os" )
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:07 GMT 2023 - 975 bytes - Viewed (0) -
misc/wasm/go_wasip1_wasm_exec
#!/usr/bin/env bash # Copyright 2023 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. case "$GOWASIRUNTIME" in "wasmedge") exec wasmedge --dir=/ --env PWD="$PWD" --env PATH="$PATH" ${GOWASIRUNTIMEARGS:-} "$1" "${@:2}" ;; "wasmer") exec wasmer run --dir=/ --env PWD="$PWD" --env PATH="$PATH" ${GOWASIRUNTIMEARGS:-} "$1" -- "${@:2}" ;; "wazero")
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Apr 11 17:09:10 GMT 2024 - 797 bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p2/p2.go
// Copyright 2012 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. package p2 type Twoer interface { // Deprecated: No good. PackageTwoMeth() } // Deprecated: No good. func F() string {} func G() Twoer {}
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Dec 02 16:29:41 GMT 2022 - 337 bytes - Viewed (0) -
src/cmd/api/testdata/src/pkg/p3/p3.go
// Copyright 2012 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. package p3 type ThirdBase struct{} func (tb *ThirdBase) GoodPlayer() (i, j, k int)
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Nov 09 14:05:53 GMT 2022 - 310 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue21897b.go
// Copyright 2017 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. //go:build !darwin || !cgo || internal package cgotest import "testing" func test21897(t *testing.T) { t.Skip("test runs only on darwin+cgo")
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 308 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue26430.go
// Copyright 2018 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. //go:build cgo // Issue 26430: incomplete typedef leads to inconsistent typedefs error. // No runtime test; just make sure it compiles. package cgotest
Go - Registered: Tue Mar 26 11:13:08 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 359 bytes - Viewed (0) -
src/cmd/cgo/internal/test/gcc68255.go
// Copyright 2015 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. //go:build cgo package cgotest import ( "testing" "cmd/cgo/internal/test/gcc68255" ) func testGCC68255(t *testing.T) { if !gcc68255.F() { t.Error("C global variable was not initialized") }
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 361 bytes - Viewed (0) -
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) -
src/cmd/cgo/internal/cgotest/overlaydir.go
// Copyright 2019 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. package cgotest import ( "io" "os" "path/filepath" "strings" ) // OverlayDir makes a minimal-overhead copy of srcRoot in which new files may be added. func OverlayDir(dstRoot, srcRoot string) error { dstRoot = filepath.Clean(dstRoot)
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)