Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 225 for inits (0.06 sec)

  1. src/cmd/compile/internal/types2/resolver.go

    func (check *Checker) arity(pos syntax.Pos, names []*syntax.Name, inits []syntax.Expr, constDecl, inherited bool) {
    	l := len(names)
    	r := len(inits)
    
    	const code = WrongAssignCount
    	switch {
    	case l < r:
    		n := inits[l]
    		if inherited {
    			check.errorf(pos, code, "extra init expr at %s", n.Pos())
    		} else {
    			check.errorf(n, code, "extra init expr %s", n)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 14:10:44 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. 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)
  3. src/crypto/sha512/sha512.go

    	BlockSize = 128
    )
    
    const (
    	chunk     = 128
    	init0     = 0x6a09e667f3bcc908
    	init1     = 0xbb67ae8584caa73b
    	init2     = 0x3c6ef372fe94f82b
    	init3     = 0xa54ff53a5f1d36f1
    	init4     = 0x510e527fade682d1
    	init5     = 0x9b05688c2b3e6c1f
    	init6     = 0x1f83d9abfb41bd6b
    	init7     = 0x5be0cd19137e2179
    	init0_224 = 0x8c3d37c819544da2
    	init1_224 = 0x73e1996689dcd4d6
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  4. src/crypto/sha1/sha1.go

    	"errors"
    	"hash"
    	"internal/byteorder"
    )
    
    func init() {
    	crypto.RegisterHash(crypto.SHA1, New)
    }
    
    // The size of a SHA-1 checksum in bytes.
    const Size = 20
    
    // The blocksize of SHA-1 in bytes.
    const BlockSize = 64
    
    const (
    	chunk = 64
    	init0 = 0x67452301
    	init1 = 0xEFCDAB89
    	init2 = 0x98BADCFE
    	init3 = 0x10325476
    	init4 = 0xC3D2E1F0
    )
    
    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. src/cmd/compile/internal/types2/api_test.go

    		// number of initializers must match
    		if len(info.InitOrder) != len(test.inits) {
    			t.Errorf("package %s: got %d initializers; want %d", name, len(info.InitOrder), len(test.inits))
    			continue
    		}
    
    		// initializers must match
    		for i, want := range test.inits {
    			got := info.InitOrder[i].String()
    			if got != want {
    				t.Errorf("package %s, init %d: got %s; want %s", name, i, got, want)
    				continue
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  6. src/runtime/extern.go

    	error for each package with init work, summarizing the execution time and memory
    	allocation. No information is printed for inits executed as part of plugin loading
    	and for packages without both user defined and compiler generated init work.
    	The format of this line is subject to change. Currently, it is:
    		init # @#ms, # ms clock, # bytes, # allocs
    	where the fields are as follows:
    		init #      the package name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  7. src/go/types/api_test.go

    		// number of initializers must match
    		if len(info.InitOrder) != len(test.inits) {
    			t.Errorf("package %s: got %d initializers; want %d", name, len(info.InitOrder), len(test.inits))
    			continue
    		}
    
    		// initializers must match
    		for i, want := range test.inits {
    			got := info.InitOrder[i].String()
    			if got != want {
    				t.Errorf("package %s, init %d: got %s; want %s", name, i, got, want)
    				continue
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  8. 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)
  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. src/cmd/go/internal/modload/init.go

    // calling Init and Enabled, the main package can call this function.
    func WillBeEnabled() bool {
    	if modRoots != nil || cfg.ModulesEnabled {
    		// Already enabled.
    		return true
    	}
    	if initialized {
    		// Initialized, not enabled.
    		return false
    	}
    
    	// Keep in sync with Init. Init does extra validation and prints warnings or
    	// exits, so it can't call this function directly.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
Back to top