Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 108 for initDS (0.19 sec)

  1. src/internal/types/testdata/check/init1.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.
    
    // initialization cycles
    
    package init1
    
    // issue 6683 (marked as WorkingAsIntended)
    
    type T0 struct{}
    
    func (T0) m() int { return y0 }
    
    var x0 = T0{}
    
    var y0 /* ERROR "initialization cycle" */ = x0.m()
    
    type T1 struct{}
    
    func (T1) m() int { return y1 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  2. src/internal/types/testdata/check/init2.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.
    
    // initialization cycles
    
    package init2
    
    // cycles through functions
    
    func f1() int { _ = x1; return 0 }
    var x1 /* ERROR "initialization cycle" */ = f1
    
    func f2() int { _ = x2; return 0 }
    var x2 /* ERROR "initialization cycle" */ = f2()
    
    // cycles through method expressions
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  3. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops_invalid.mlir

      "tf_saved_model.session_initializer"() { initializers = [@init] } : () -> ()
      func.func private @init() {
        func.return
      }
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
    
      // expected-error@+1 {{the initializer function should have only one exported name}}
      "tf_saved_model.session_initializer"() { initializers = [@init] } : () -> ()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 19 13:38:14 UTC 2022
    - 14.1K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/InitScriptExecutionIntegrationTest.groovy

            and:
            executer.gradleUserHomeDir.file('init.d/a.gradle') << 'println "init #a#"'
            executer.gradleUserHomeDir.file('init.d/b.gradle') << 'println "init #b#"'
            executer.gradleUserHomeDir.file('init.d/c.gradle') << 'println "init #c#"'
    
            when:
            run()
    
            then:
            def a = output.indexOf('init #a#')
            def b = output.indexOf('init #b#')
            def c = output.indexOf('init #c#')
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  5. pkg/kubelet/kuberuntime/kuberuntime_manager_test.go

    	assert.NoError(t, err)
    
    	init1 := makeTestContainer("init1", "busybox")
    	init2 := makeTestContainer("init2", "busybox")
    	pod := &v1.Pod{
    		ObjectMeta: metav1.ObjectMeta{
    			UID:       "12345678",
    			Name:      "foo",
    			Namespace: "new",
    		},
    		Spec: v1.PodSpec{
    			InitContainers: []v1.Container{init1, init2},
    		},
    	}
    
    	templates := []containerTemplate{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 14 16:09:17 UTC 2024
    - 96K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/coverage/cover.go

    // an exit hook to emit counter data).
    func addInitHookCall(initfn *ir.Func, cmode coverage.CounterMode) {
    	typecheck.InitCoverage()
    	pos := initfn.Pos()
    	istest := cmode == coverage.CtrModeTestMain
    	initf := typecheck.LookupCoverage("initHook")
    	istestNode := ir.NewBool(base.Pos, istest)
    	args := []ir.Node{istestNode}
    	callx := typecheck.Call(pos, initf, args, false)
    	initfn.Body.Append(callx)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 21:55:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testcarchive/testdata/libgo/libgo.go

    )
    
    import "C"
    
    var initCh = make(chan int, 1)
    var ranMain bool
    
    func init() {
    	// emulate an exceedingly slow package initialization function
    	time.Sleep(100 * time.Millisecond)
    	initCh <- 42
    }
    
    func main() { ranMain = true }
    
    //export DidInitRun
    func DidInitRun() bool {
    	select {
    	case x := <-initCh:
    		if x != 42 {
    			// Just in case initCh was not correctly made.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 977 bytes
    - Viewed (0)
  8. samples/bookinfo/src/mongodb/Dockerfile

    #   limitations under the License.
    
    FROM mongo:7.0.5
    WORKDIR /app/data/
    COPY ratings_data.json /app/data/
    COPY script.sh /docker-entrypoint-initdb.d/
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Feb 23 23:56:37 UTC 2024
    - 756 bytes
    - Viewed (0)
  9. src/os/executable_path.go

    // license that can be found in the LICENSE file.
    
    //go:build aix || openbsd
    
    package os
    
    // We query the working directory at init, to use it later to search for the
    // executable file
    // errWd will be checked later, if we need to use initWd
    var initWd, errWd = Getwd()
    
    func executable() (string, error) {
    	var exePath string
    	if len(Args) == 0 || Args[0] == "" {
    		return "", ErrNotExist
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 2.3K bytes
    - Viewed (0)
  10. src/cmd/cgo/internal/testcshared/testdata/libgo/libgo.go

    	"time"
    )
    
    import "C"
    
    var initCh = make(chan int, 1)
    var ranMain bool
    
    func init() {
    	// emulate an exceedingly slow package initialization function
    	time.Sleep(100 * time.Millisecond)
    	initCh <- 42
    }
    
    func main() {
    	ranMain = true
    }
    
    //export DidInitRun
    func DidInitRun() bool {
    	select {
    	case x := <-initCh:
    		if x != 42 {
    			// Just in case initCh was not correctly made.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 767 bytes
    - Viewed (0)
Back to top