Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 113 for initv1 (0.19 sec)

  1. test/fixedbugs/issue66575.go

    // license that can be found in the LICENSE file.
    
    package main
    
    var (
    	v0 = initv0()
    	v1 = initv1()
    )
    
    const c = "c"
    
    func initv0() string {
    	println("initv0")
    	if c != "" { // have a dependency on c
    		return ""
    	}
    	return ""
    }
    
    func initv1() string {
    	println("initv1")
    	return ""
    }
    
    func main() {
    	// do nothing
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 22:06:51 UTC 2024
    - 434 bytes
    - Viewed (0)
  2. test/fixedbugs/issue66575.out

    initv0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 22:06:51 UTC 2024
    - 14 bytes
    - Viewed (0)
  3. src/crypto/md5/md5.go

    import (
    	"crypto"
    	"errors"
    	"hash"
    	"internal/byteorder"
    )
    
    func init() {
    	crypto.RegisterHash(crypto.MD5, New)
    }
    
    // The size of an MD5 checksum in bytes.
    const Size = 16
    
    // The blocksize of MD5 in bytes.
    const BlockSize = 64
    
    const (
    	init0 = 0x67452301
    	init1 = 0xEFCDAB89
    	init2 = 0x98BADCFE
    	init3 = 0x10325476
    )
    
    // digest represents the partial evaluation of a checksum.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. src/crypto/sha256/sha256.go

    func consumeUint32(b []byte) ([]byte, uint32) {
    	return b[4:], byteorder.BeUint32(b)
    }
    
    func (d *digest) Reset() {
    	if !d.is224 {
    		d.h[0] = init0
    		d.h[1] = init1
    		d.h[2] = init2
    		d.h[3] = init3
    		d.h[4] = init4
    		d.h[5] = init5
    		d.h[6] = init6
    		d.h[7] = init7
    	} else {
    		d.h[0] = init0_224
    		d.h[1] = init1_224
    		d.h[2] = init2_224
    		d.h[3] = init3_224
    		d.h[4] = init4_224
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  5. test/init1.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that goroutines and garbage collection run during init.
    
    package main
    
    import "runtime"
    
    var x []byte
    
    func init() {
    	c := make(chan int)
    	go send(c)
    	<-c
    
    	const N = 1000
    	const MB = 1 << 20
    	b := make([]byte, MB)
    	for i := range b {
    		b[i] = byte(i%10 + '0')
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 1.1K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/internal/notsha256/sha256.go

    // The size of a checksum in bytes.
    const Size = 32
    
    // The blocksize in bytes.
    const BlockSize = 64
    
    const (
    	chunk = 64
    	init0 = 0x6A09E667
    	init1 = 0xBB67AE85
    	init2 = 0x3C6EF372
    	init3 = 0xA54FF53A
    	init4 = 0x510E527F
    	init5 = 0x9B05688C
    	init6 = 0x1F83D9AB
    	init7 = 0x5BE0CD19
    )
    
    // digest represents the partial evaluation of a checksum.
    type digest struct {
    	h   [8]uint32
    	x   [chunk]byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 29 14:23:17 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/init0.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 init0
    
    // initialization cycles (we don't know the types)
    const (
    	s0 /* ERROR "initialization cycle: s0 refers to itself" */ = s0
    
    	x0 /* ERROR "initialization cycle for x0" */ = y0
    	y0 = x0
    
    	a0 = b0
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:25 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. 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)
  10. tensorflow/compiler/mlir/tensorflow/tests/tf_saved_model_ops_invalid.mlir

        func.return
      }
    }
    
    // -----
    
    module attributes {tf_saved_model.semantics} {
    
      "tf_saved_model.session_initializer"() { initializers = [@init_0, @init_1] } : () -> ()
    
      func.func @init_0() attributes {
        tf_saved_model.exported_names = ["__tf_saved_model_session_initializer_init_0"],
        tf_saved_model.initializer_type = "restore_op" } {
        func.return
      }
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Oct 19 13:38:14 UTC 2022
    - 14.1K bytes
    - Viewed (0)
Back to top