Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 108 for initDS (0.25 sec)

  1. pilot/pkg/networking/apigen/apigen_test.go

    	"istio.io/istio/pkg/config/schema/gvk"
    )
    
    // Creates an in-process discovery server, using the same code as Istiod, but
    // backed by an in-memory config and endpoint Store.
    func initDS(t *testing.T) *xds.FakeDiscoveryServer {
    	ds := xds.NewFakeDiscoveryServer(t, xds.FakeOptions{})
    	sd := ds.MemRegistry
    	sd.AddHTTPService("fortio1.fortio.svc.cluster.local", "10.10.10.1", 8081)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 2.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/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)
  4. 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)
  5. plugin/pkg/admission/alwayspullimages/admission_test.go

    		ObjectMeta: metav1.ObjectMeta{Name: "123", Namespace: namespace},
    		Spec: api.PodSpec{
    			InitContainers: []api.Container{
    				{Name: "init1", Image: "image"},
    				{Name: "init2", Image: "image", ImagePullPolicy: api.PullNever},
    				{Name: "init3", Image: "image", ImagePullPolicy: api.PullIfNotPresent},
    				{Name: "init4", Image: "image", ImagePullPolicy: api.PullAlways},
    			},
    			Containers: []api.Container{
    				{Name: "ctr1", Image: "image"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 30 22:59:57 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top