Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of about 10,000 for GO (2.93 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/naming/from_stack_test.go

    		},
    		{
    			name:            "ignore-package",
    			ignoredPackages: []string{"k8s.io/apimachinery/pkg/util/naming"},
    			expected:        "testing/testing.go:",
    		},
    		{
    			name:            "ignore-file",
    			ignoredPackages: []string{"k8s.io/apimachinery/pkg/util/naming/from_stack_test.go"},
    			expected:        "testing/testing.go:",
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 28 17:40:28 UTC 2019
    - 1.6K bytes
    - Viewed (0)
  2. src/image/color/palette/generate.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.
    
    //go:generate go run gen.go -output palette.go
    
    // Package palette provides standard color palettes.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 08 04:08:51 UTC 2014
    - 277 bytes
    - Viewed (0)
  3. src/syscall/mkasm.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 ignore
    
    // mkasm.go generates assembly trampolines to call library routines from Go.
    // This program must be run after mksyscall.pl.
    package main
    
    import (
    	"bytes"
    	"fmt"
    	"log"
    	"os"
    	"strings"
    )
    
    func main() {
    	if len(os.Args) != 3 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 03:24:15 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  4. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/buildtag/buildtag_old.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.
    
    // TODO(rsc): Delete this file once Go 1.17 comes out and we can retire Go 1.15 support.
    
    //go:build !go1.16
    // +build !go1.16
    
    // Package buildtag defines an Analyzer that checks build tags.
    package buildtag
    
    import (
    	"bytes"
    	"fmt"
    	"go/ast"
    	"go/parser"
    	"strings"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testcarchive/testdata/libgo2/libgo2.go

    // The idea is to get some threads going, so that a signal will be delivered
    // to a thread started by Go.
    //
    //export RunGoroutines
    func RunGoroutines() {
    	for i := 0; i < 4; i++ {
    		go func() {
    			runtime.LockOSThread()
    			select {}
    		}()
    	}
    }
    
    // Block blocks the current thread while running Go code.
    //
    //export Block
    func Block() {
    	select {}
    }
    
    var P *byte
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. src/cmd/go/internal/test/flagdefs_test.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 test
    
    import (
    	"cmd/go/internal/cfg"
    	"cmd/go/internal/test/internal/genflags"
    	"internal/testenv"
    	"maps"
    	"os"
    	"testing"
    )
    
    func TestMain(m *testing.M) {
    	cfg.SetGOROOT(testenv.GOROOT(nil), false)
    	os.Exit(m.Run())
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 09 13:37:58 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/savedir.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 ignore
    // +build ignore
    
    // Savedir archives a directory tree as a txtar archive printed to standard output.
    //
    // Usage:
    //
    //	go run savedir.go /path/to/dir >saved.txt
    //
    // Typically the tree is later extracted during a test with tg.extract("testdata/saved.txt").
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 30 19:41:54 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  8. test/fixedbugs/bug209.go

    // errorcheck
    
    // Copyright 2009 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
    
    func main() {
    	var buf [10]int;
    	for ; len(buf); {  // ERROR "bool"
    	}
    }
    
    /*
    uetli:/home/gri/go/test/bugs gri$ 6g bug209.go
    bug209.go:5: Bus error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:49:30 UTC 2012
    - 339 bytes
    - Viewed (0)
  9. misc/cgo/gmp/gmp.go

    // Copyright 2009 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 wrapping a C library in Go. This is the GNU
    multiprecision library gmp's integer type mpz_t wrapped to look like
    the Go package big's integer type Int.
    
    This is a syntactically valid Go program—it can be parsed with the Go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 11 16:34:30 UTC 2022
    - 9.5K bytes
    - Viewed (0)
  10. test/fixedbugs/bug024.go

    // run
    
    // Copyright 2009 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
    
    func main() {
    	var i int;
    	i = '\'';
    	i = '\\';
    	var s string;
    	s = "\"";
    	_, _ = i, s;
    }
    /*
    bug.go:5: unknown escape sequence: '
    bug.go:6: unknown escape sequence: \
    bug.go:8: unknown escape sequence: "
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 17 04:48:57 UTC 2012
    - 389 bytes
    - Viewed (0)
Back to top