Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 2,939 for dain (0.06 sec)

  1. test/fixedbugs/issue19507.dir/main.go

    // license that can be found in the LICENSE file.
    
    // Make sure we can compile assembly with DIV and MOD in it.
    // They get rewritten to runtime calls on GOARM=5.
    
    package main
    
    func f(x, y uint32)
    
    func main() {
    	f(5, 8)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 349 bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/snippets/native-binaries/sourceset-variant/groovy/src/main/c/main.c

    #include "platform.h"
    #include "stdio.h"
    
    int main(int argc, char** argv) {
      printf("Attributes of '%s' platform\n", platform_name);
      printf("Is Posix like?        %s\n", is_posix_like()?"true":"false");
      printf("Max Path Length:      %d bytes\n", max_path_length());
      printf("Max memory supported: %llu Kbytes\n", max_memory());
      return 0;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 348 bytes
    - Viewed (0)
  3. src/cmd/cgo/internal/testplugin/testdata/issue19418/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.
    
    package main
    
    import (
    	"fmt"
    	"os"
    	"plugin"
    )
    
    func main() {
    	p, err := plugin.Open("plugin.so")
    	if err != nil {
    		panic(err)
    	}
    
    	val, err := p.Lookup("Val")
    	if err != nil {
    		panic(err)
    	}
    	got := *val.(*string)
    	const want = "linkstr"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 511 bytes
    - Viewed (0)
  4. src/cmd/trace/testdata/testprog/main.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package main
    
    import (
    	"fmt"
    	"log"
    	"net"
    	"os"
    	"runtime"
    	"runtime/trace"
    	"sync"
    	"syscall"
    	"time"
    )
    
    func main() {
    	if err := trace.Start(os.Stdout); err != nil {
    		log.Fatal(err)
    	}
    
    	// checkExecutionTimes relies on this.
    	var wg sync.WaitGroup
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 17:15:58 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. test/intrinsic.dir/main.go

    // Copyright 2016 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 main
    
    import (
    	"fmt"
    	T "runtime/internal/sys"
    )
    
    var A = []uint64{0x0102030405060708, 0x1122334455667788}
    var B = []uint64{0x0807060504030201, 0x8877665544332211}
    
    var errors int
    
    func logf(f string, args ...interface{}) {
    	errors++
    	fmt.Printf(f, args...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 18 18:06:27 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  6. platforms/documentation/docs/src/snippets/toolingApi/runBuild/kotlin/src/main/java/org/gradle/sample/Main.java

    package org.gradle.sample;
    
    import org.gradle.tooling.BuildLauncher;
    import org.gradle.tooling.GradleConnector;
    import org.gradle.tooling.ProjectConnection;
    
    import java.io.File;
    
    public class Main {
        public static void main(String[] args) {
            // Configure the connector and create the connection
            GradleConnector connector = GradleConnector.newConnector();
    
            if (args.length > 0) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testgodefs/testdata/main.go

    // Copyright 2014 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 main
    
    import (
    	"fmt"
    	"os"
    	"reflect"
    )
    
    // Test that the struct field in anonunion.go was promoted.
    var v1 T
    var v2 = v1.L
    
    // Test that P, Q, and R all point to byte.
    var v3 = Issue8478{P: (*byte)(nil), Q: (**byte)(nil), R: (***byte)(nil)}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. hack/tools/ncpu/main.go

    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    package main
    
    import (
    	"fmt"
    	"runtime"
    
    	"go.uber.org/automaxprocs/maxprocs"
    )
    
    func main() {
    	maxprocs.Set()
    	fmt.Print(runtime.GOMAXPROCS(0))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 31 00:26:07 UTC 2023
    - 719 bytes
    - Viewed (0)
  9. operator/cmd/operator/main.go

    // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    // See the License for the specific language governing permissions and
    // limitations under the License.
    
    package main
    
    import (
    	"os"
    
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	log.EnableKlogWithCobra()
    	rootCmd := getRootCmd(os.Args[1:])
    
    	if err := rootCmd.Execute(); err != nil {
    		os.Exit(-1)
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Mar 02 03:03:35 UTC 2024
    - 785 bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testshared/testdata/gcdata/main/main.go

    // This test run under GODEBUG=clobberfree=1. The check
    // *x[i] == 12345 depends on this debug mode to clobber
    // the value if the object is freed prematurely.
    
    package main
    
    import (
    	"fmt"
    	"runtime"
    	"testshared/gcdata/p"
    )
    
    var x p.T
    
    func main() {
    	for i := range x {
    		x[i] = new(int)
    		*x[i] = 12345
    	}
    	runtime.GC()
    	runtime.GC()
    	runtime.GC()
    	for i := range x {
    		if *x[i] != 12345 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 763 bytes
    - Viewed (0)
Back to top