- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 212 for right (0.57 sec)
-
src/cmd/cgo/internal/test/gcc68255/a.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. // Test that it's OK to have C code that does nothing other than // initialize a global variable. This used to fail with gccgo. package gcc68255 /* #include "c.h" */ import "C" func F() bool { return C.v != nil
Go - Registered: Tue Apr 23 11:13:09 GMT 2024 - Last Modified: Fri May 12 12:00:02 GMT 2023 - 378 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/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) -
src/cmd/asm/internal/arch/riscv64.go
// Copyright 2020 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 encapsulates some of the odd characteristics of the RISCV64 // instruction set, to minimize its interaction with the core of the // assembler. package arch import ( "cmd/internal/obj" "cmd/internal/obj/riscv" )
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Sun Mar 15 08:13:28 GMT 2020 - 943 bytes - Viewed (0) -
misc/wasm/go_js_wasm_exec
#!/usr/bin/env bash # 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. SOURCE="${BASH_SOURCE[0]}" while [ -h "$SOURCE" ]; do DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )" SOURCE="$(readlink "$SOURCE")" [[ $SOURCE != /* ]] && SOURCE="$DIR/$SOURCE" done DIR="$( cd -P "$( dirname "$SOURCE" )" && pwd )"
Shell Script - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Thu Feb 02 15:35:28 GMT 2023 - 603 bytes - Viewed (0) -
src/cmd/asm/internal/asm/testdata/arm.s
// 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. // This input was created by taking the instruction productions in // the old assembler's (5a's) grammar and hand-writing complete // instructions for each rule, to guarantee we cover the same space. #include "../../../../../runtime/textflag.h" TEXT foo(SB), DUPOK|NOSPLIT, $0 // ADD //
Others - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Fri Dec 15 20:51:01 GMT 2023 - 69K bytes - Viewed (0)