Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 108 for new2 (0.03 sec)

  1. src/hash/fnv/fnv_test.go

    	{[]byte{0xa6, 0x8d, 0x62, 0x2c, 0xec, 0x8b, 0x58, 0x22, 0x83, 0x6d, 0xbc, 0x79, 0x77, 0xaf, 0x7f, 0x3b}, "abc", "fnv\x06\xd2(\xcbio\x1a\x8c\xafx\x91+pNJ\x89d"},
    }
    
    func TestGolden32(t *testing.T) {
    	testGolden(t, New32(), golden32)
    }
    
    func TestGolden32a(t *testing.T) {
    	testGolden(t, New32a(), golden32a)
    }
    
    func TestGolden64(t *testing.T) {
    	testGolden(t, New64(), golden64)
    }
    
    func TestGolden64a(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 01 21:04:12 UTC 2017
    - 7.3K bytes
    - Viewed (0)
  2. src/internal/fuzz/encoding_test.go

    			}
    			if err != nil {
    				t.Fatalf("unmarshal unexpected error: %v", err)
    			}
    			newB := marshalCorpusFile(vals...)
    			if newB[len(newB)-1] != '\n' {
    				t.Error("didn't write final newline to corpus file")
    			}
    
    			want := test.want
    			if want == "" {
    				want = test.in
    			}
    			want += "\n"
    			got := string(newB)
    			if got != want {
    				t.Errorf("unexpected marshaled value\ngot:\n%s\nwant:\n%s", got, want)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 00:20:34 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  3. pkg/test/framework/components/echo/config.go

    }
    
    // DeepCopy creates a clone of IstioEndpoint.
    func (c Config) DeepCopy() Config {
    	newc := c
    	newc.Cluster = nil
    	newc = copyInternal(newc).(Config)
    	newc.Cluster = c.Cluster
    	newc.Namespace = c.Namespace
    	return newc
    }
    
    func (c Config) IsExternal() bool {
    	return c.HostHeader() != c.ClusterLocalFQDN()
    }
    
    const (
    	defaultService   = "echo"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 09 12:26:52 UTC 2024
    - 18.2K bytes
    - Viewed (0)
  4. pkg/kube/inject/testdata/inject/kubevirtInterfaces_list.yaml.injected

            traffic.sidecar.istio.io/kubevirtInterfaces: net1,net2
          creationTimestamp: null
          labels:
            app: hello
            security.istio.io/tlsMode: istio
            service.istio.io/canonical-name: hello
            service.istio.io/canonical-revision: latest
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Feb 27 16:55:16 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  5. pkg/config/mesh/kubemesh/watcher_test.go

    	stop := test.NewStop(t)
    	w := NewConfigMapWatcher(client, namespace, name, key, false, stop)
    	client.RunAndWait(stop)
    
    	var mu sync.Mutex
    	newM := mesh.DefaultMeshConfig()
    	w.AddMeshHandler(func() {
    		mu.Lock()
    		defer mu.Unlock()
    		newM = w.Mesh()
    	})
    
    	steps := []struct {
    		added   *v1.ConfigMap
    		updated *v1.ConfigMap
    		deleted *v1.ConfigMap
    
    		expect *meshconfig.MeshConfig
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Oct 31 14:48:28 UTC 2023
    - 7.7K bytes
    - Viewed (0)
  6. pkg/apis/admissionregistration/validation/validation.go

    }
    
    func newPreexistingExpressions() preexistingExpressions {
    	return preexistingExpressions{
    		matchConditionExpressions:        sets.New[string](),
    		validationExpressions:            sets.New[string](),
    		validationMessageExpressions:     sets.New[string](),
    		auditAnnotationValuesExpressions: sets.New[string](),
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 56.6K bytes
    - Viewed (0)
  7. src/runtime/mgcwork.go

    			}
    			// Record the new span in the busy list.
    			lock(&work.wbufSpans.lock)
    			work.wbufSpans.busy.insert(s)
    			unlock(&work.wbufSpans.lock)
    		}
    		// Slice up the span into new workbufs. Return one and
    		// put the rest on the empty list.
    		for i := uintptr(0); i+_WorkbufSize <= workbufAlloc; i += _WorkbufSize {
    			newb := (*workbuf)(unsafe.Pointer(s.base() + i))
    			newb.nobj = 0
    			lfnodeValidate(&newb.node)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. src/cmd/vendor/golang.org/x/mod/sumdb/tlog/tile.go

    	for level := uint(0); newTreeSize>>(H*level) > 0; level++ {
    		oldN := oldTreeSize >> (H * level)
    		newN := newTreeSize >> (H * level)
    		if oldN == newN {
    			continue
    		}
    		for n := oldN >> H; n < newN>>H; n++ {
    			tiles = append(tiles, Tile{H: h, L: int(level), N: n, W: 1 << H})
    		}
    		n := newN >> H
    		if w := int(newN - n<<H); w > 0 {
    			tiles = append(tiles, Tile{H: h, L: int(level), N: n, W: w})
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 13K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/authentication/token/cache/cache_striped.go

    	c.caches[c.hashFunc(key)%c.stripeCount].set(key, value, ttl)
    }
    func (c *stripedCache) remove(key string) {
    	c.caches[c.hashFunc(key)%c.stripeCount].remove(key)
    }
    
    func fnvHashFunc(key string) uint32 {
    	f := fnv.New32()
    	f.Write([]byte(key))
    	return f.Sum32()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 22 17:16:59 UTC 2018
    - 1.6K bytes
    - Viewed (0)
  10. platforms/core-configuration/declarative-dsl-core/src/test/kotlin/org/gradle/internal/declarativedsl/demo/demoSimple/AssignmentResolverTest.kt

    import kotlin.test.assertIs
    
    
    object AssignmentResolverTest {
        @Test
        fun `resolves transitive property`() {
            assignmentTrace(
                schema.resolve(
                    """
                    val myD = newD("shared")
                    val c1 = c(1)
                    c1.d = myD
                    str = c1.d.id
                    """.trimIndent()
                )
            ).run {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Feb 02 10:53:44 UTC 2024
    - 2.9K bytes
    - Viewed (0)
Back to top