Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 83 for predefined (0.21 sec)

  1. src/cmd/cover/cover.go

    		return true
    	case *ast.SelectStmt:
    		return true
    	case *ast.TypeSwitchStmt:
    		return true
    	case *ast.ExprStmt:
    		// Calls to panic change the flow.
    		// We really should verify that "panic" is the predefined function,
    		// but without type checking we can't and the likelihood of it being
    		// an actual problem is vanishingly small.
    		if call, ok := s.X.(*ast.CallExpr); ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apimachinery/pkg/util/wait/wait_test.go

    	<-called
    	close(ch)
    	received <- struct{}{}
    
    	// it should take at most 2 seconds + some overhead, not 3
    	if now.Add(3 * time.Second).Before(time.Now()) {
    		t.Errorf("JitterUntil did not returned after predefined period with negative jitter factor when the stop chan was closed inside the func")
    	}
    }
    
    func TestExponentialBackoff(t *testing.T) {
    	// exits immediately
    	i := 0
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 26 16:28:45 UTC 2024
    - 41.1K bytes
    - Viewed (0)
  3. pkg/kubelet/kubelet_pods_test.go

    				// delivered to the pod worker via HandlePodAdditions - there is no *known* scenario that can happen, but
    				// we want to capture it in the metric. The more likely scenario is that a static pod with a predefined
    				// UID is updated, which causes pod config to deliver DELETE -> ADD while the old pod is still shutting
    				// down and the pod worker to ignore the ADD. The HandlePodCleanups method then is responsible for syncing
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 00:05:23 UTC 2024
    - 198.8K bytes
    - Viewed (0)
  4. src/time/format.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package time
    
    import (
    	"errors"
    	"internal/stringslite"
    	_ "unsafe" // for linkname
    )
    
    // These are predefined layouts for use in [Time.Format] and [time.Parse].
    // The reference time used in these layouts is the specific time stamp:
    //
    //	01/02 03:04:05PM '06 -0700
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  5. src/cmd/go/internal/vcs/vcs.go

    	// Leave out the '--' separator in the ls-remote command: git 2.7.4 does not
    	// support such a separator for that command, and this use should be safe
    	// without it because the {scheme} value comes from the predefined list above.
    	// See golang.org/issue/33836.
    	PingCmd: "ls-remote {scheme}://{repo}",
    
    	RemoteRepo: gitRemoteRepo,
    	Status:     gitStatus,
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  6. src/cmd/cgo/doc.go

    there are restrictions on passing pointers between Go and C.
    
    In this section the term Go pointer means a pointer to memory
    allocated by Go (such as by using the & operator or calling the
    predefined new function) and the term C pointer means a pointer to
    memory allocated by C (such as by a call to C.malloc). Whether a
    pointer is a Go pointer or a C pointer is a dynamic property
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 17:12:16 UTC 2024
    - 42.2K bytes
    - Viewed (0)
  7. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/CompositeConfiguration.groovy

    @CompileStatic
    class CompositeConfiguration {
        static CompositeConfiguration composite(boolean predefine) {
            return new CompositeConfiguration(predefine)
        }
    
        private final boolean predefine
    
        private CompositeConfiguration(boolean predefine) {
            this.predefine = predefine
        }
    
        boolean usePredefinedPublications() {
            predefine
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1K bytes
    - Viewed (0)
  8. src/reflect/type.go

    	if T == V {
    		return true
    	}
    
    	kind := Kind(T.Kind())
    	if kind != Kind(V.Kind()) {
    		return false
    	}
    
    	// Non-composite types of equal kind have same underlying type
    	// (the predefined instance of the type).
    	if Bool <= kind && kind <= Complex128 || kind == String || kind == UnsafePointer {
    		return true
    	}
    
    	// Composite types.
    	switch kind {
    	case Array:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/util/output/output.go

    // This method is usually redefined for the text output
    func (rpw *ResourcePrinterWrapper) Fprintf(writer io.Writer, format string, args ...interface{}) (n int, err error) {
    	return 0, nil
    }
    
    // Fprintln is an empty method to satisfy the Printer interface
    // and silent info printing for structured output
    // This method is usually redefined for the text output
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Apr 19 08:22:45 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. testing/internal-performance-testing/src/main/groovy/org/gradle/performance/generator/TestProjectGeneratorConfiguration.groovy

            }
        }
    
        TestProjectGeneratorConfigurationBuilder composite(boolean predifined) {
            this.compositeBuild = CompositeConfiguration.composite(predifined)
            return this
        }
    
        TestProjectGeneratorConfiguration create() {
            TestProjectGeneratorConfiguration config = new TestProjectGeneratorConfiguration()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 18 13:08:21 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top