Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,250 for going (0.04 sec)

  1. test/interface/struct.go

    	i.Put(2)
    	check(i.Get() == 1, "f3 i")
    	check(s.i == 1, "f3 s")
    }
    
    type S2 struct { i int }
    func (p *S2) Get() int { return p.i }
    func (p *S2) Put(i int) { p.i = i }
    
    // Disallowed by restriction of values going to pointer receivers
    // func f4() {
    //	 s := S2{1}
    //	 var i I1 = s
    //	 i.Put(2)
    //	 check(i.Get() == 2, "f4 i")
    //	 check(s.i == 1, "f4 s")
    // }
    
    func f5() {
    	s := S2{1}
    	var i I1 = &s
    	i.Put(2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:33:41 UTC 2012
    - 2.4K bytes
    - Viewed (0)
  2. pkg/config/analysis/analyzers/injection/image-auto.go

    	"istio.io/istio/pkg/config/analysis/msg"
    	"istio.io/istio/pkg/config/resource"
    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    // ImageAutoAnalyzer reports an error if Pods and Deployments with `image: auto` are not going to be injected.
    type ImageAutoAnalyzer struct{}
    
    var _ analysis.Analyzer = &ImageAutoAnalyzer{}
    
    const (
    	istioProxyContainerName = "istio-proxy"
    	manualInjectionImage    = "auto"
    )
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Mar 01 01:34:15 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. cni/pkg/nodeagent/cni-watcher_test.go

    		valid.Netns,
    	).Return(nil)
    
    	dpServer := &meshDataplane{
    		kubeClient: client.Kube(),
    		netServer:  fs,
    	}
    
    	handlers := setupHandlers(ctx, client, dpServer, "istio-system")
    
    	// We are not going to start the server, so the sockpath is irrelevant
    	pluginServer := startCniPluginServer(ctx, "/tmp/test.sock", handlers, dpServer)
    
    	// label the namespace
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 21:31:35 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  4. .github/SUPPORT.md

    Unlike many projects on GitHub, the Go project does not use its bug tracker for general discussion or asking questions.
    We only use our bug tracker for tracking bugs and tracking proposals going through the [Proposal Process](https://go.dev/s/proposal-process).
    
    For asking questions, see:
    
    * [The golang-nuts mailing list](https://groups.google.com/d/forum/golang-nuts)
    
    * [The Go Forum](https://forum.golangbridge.org/), a web-based forum
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 29 22:00:27 UTC 2023
    - 692 bytes
    - Viewed (0)
  5. src/cmd/cgo/internal/testcshared/testdata/libgo4/libgo4.go

    package main
    
    import "C"
    
    import (
    	"fmt"
    	"os"
    	"runtime"
    )
    
    // RunGoroutines starts some goroutines that don't do anything.
    // 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 {}
    		}()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 864 bytes
    - Viewed (0)
  6. .github/workflows/issue-manager.yml

                  },
                  "changes-requested": {
                    "delay": 2628000,
                    "message": "As this PR had requested changes to be applied but has been inactive for a while, it's now going to be closed. But if there's anyone interested, feel free to create a new PR."
                  }
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 30 18:46:56 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. pkg/util/shellescape/quote_test.go

    // limitations under the License.
    
    package shellescape
    
    import (
    	"os/exec"
    	"strings"
    	"testing"
    )
    
    func TestQuote(t *testing.T) {
    	testCases := []string{
    		`{"key": "value"}`,
    		`it's going to need single quotes`,
    		"",
    		"no issues here",
    	}
    	for _, original := range testCases {
    		out, err := exec.Command("sh", "-c", "echo "+Quote(original)).CombinedOutput()
    		if err != nil {
    			t.Fatal(err)
    		}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 07 20:37:19 UTC 2020
    - 1.1K bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/test/issue26213/jni.h

    // 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.
    
    // It's going to be hard to include a whole real JVM to test this.
    // So we'll simulate a really easy JVM using just the parts we need.
    
    // This is the relevant part of jni.h.
    
    // On Android NDK16, jobject is defined like this in C and C++
    typedef void* jobject;
    
    typedef jobject jclass;
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 12:00:02 UTC 2023
    - 874 bytes
    - Viewed (0)
  9. releasenotes/notes/multicluster-global-domain.yaml

          configuration is simpler, has fewer limitations, and has been thoroughly
          tested in a variety of environments. As a result, the `.global` stub
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Dec 16 18:47:12 UTC 2020
    - 998 bytes
    - Viewed (0)
  10. src/cmd/dist/exec.go

    	prefix := key + "="
    	newEnv := []string{}
    	for _, entry := range cmd.Env {
    		if strings.HasPrefix(entry, prefix) {
    			continue
    		}
    		newEnv = append(newEnv, entry)
    		// key may appear multiple times, so keep going.
    	}
    	cmd.Env = newEnv
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jul 20 21:52:09 UTC 2023
    - 957 bytes
    - Viewed (0)
Back to top