- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 233 for That (0.12 sec)
-
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/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 (1) -
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/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) -
src/cmd/cgo/internal/test/issue20910.c
// 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. #include <assert.h> #include <stdlib.h> #include <string.h> #include "_cgo_export.h" /* Test calling a Go function with multiple return values. */ void callMulti(void) { struct multi_return result = multi(); assert(strcmp(result.r0, "multi") == 0); assert(result.r1 == 0);
C - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 459 bytes - Viewed (0) -
src/clean.rc
#!/bin/rc -e # 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. eval `{go tool dist env -9} if(! test -x $GOTOOLDIR/dist){ echo 'cannot find $GOTOOLDIR/dist; nothing to clean' >[1=2] exit noclean } $GOBIN/go clean -i std $GOBIN/go tool dist clean
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Jun 18 16:13:13 GMT 2015 - 380 bytes - Viewed (0) -
src/cmd/cgo/internal/test/issue20266.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. // Issue 20266: use -I with a relative path. package cgotest /* #cgo CFLAGS: -I issue20266 -Iissue20266 -Ddef20266 #include "issue20266.h" */ import "C" import "testing" func test20266(t *testing.T) { if got, want := C.issue20266, 20266; got != want {
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 463 bytes - Viewed (0) -
src/Make.dist
# 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. # Run go tool dist to install a command. # The -v causes dist to print the name of each directory as it runs. # The -vv causes dist to print each build command as it runs. # go tool dist clean cleans all directories, not just this one, # but it's as close as we can get. # Default target (first).
Plain Text - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 08 20:26:47 GMT 2012 - 553 bytes - Viewed (0) -
src/bufio/example_test.go
// 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. package bufio_test import ( "bufio" "bytes" "fmt" "os" "strconv" "strings" ) func ExampleWriter() { w := bufio.NewWriter(os.Stdout) fmt.Fprint(w, "Hello, ") fmt.Fprint(w, "world!") w.Flush() // Don't forget to flush! // Output: Hello, world! }
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/internal/test/issue24161_darwin_test.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 package cgotest import ( "testing" "cmd/cgo/internal/test/issue24161arg" "cmd/cgo/internal/test/issue24161e0" "cmd/cgo/internal/test/issue24161e1" "cmd/cgo/internal/test/issue24161e2" "cmd/cgo/internal/test/issue24161res" )
Go - Registered: Tue Apr 09 11:13:10 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 716 bytes - Viewed (0)