Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 8,729 for v$ (0.51 sec)

  1. test/map1.go

    package main
    
    type v bool
    
    var (
    	// valid
    	_ map[int8]v
    	_ map[uint8]v
    	_ map[int16]v
    	_ map[uint16]v
    	_ map[int32]v
    	_ map[uint32]v
    	_ map[int64]v
    	_ map[uint64]v
    	_ map[int]v
    	_ map[uint]v
    	_ map[uintptr]v
    	_ map[float32]v
    	_ map[float64]v
    	_ map[complex64]v
    	_ map[complex128]v
    	_ map[bool]v
    	_ map[string]v
    	_ map[chan int]v
    	_ map[*int]v
    	_ map[struct{}]v
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 14 20:13:36 UTC 2020
    - 1.5K bytes
    - Viewed (0)
  2. src/runtime/minmax_test.go

    				t.Fatalf("values out of order: !(%v < %v)", x, y)
    			}
    
    			if z := min(x, y); z != x {
    				t.Errorf("min(%v, %v) = %v, want %v", x, y, z, x)
    			}
    			if z := min(y, x); z != x {
    				t.Errorf("min(%v, %v) = %v, want %v", y, x, z, x)
    			}
    
    			if z := max(x, y); z != y {
    				t.Errorf("max(%v, %v) = %v, want %v", x, y, z, y)
    			}
    			if z := max(y, x); z != y {
    				t.Errorf("max(%v, %v) = %v, want %v", y, x, z, y)
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 01:41:50 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. cmd/site-replication-metrics_gen_test.go

    func BenchmarkMarshalMsgRStat(b *testing.B) {
    	v := RStat{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgRStat(b *testing.B) {
    	v := RStat{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		bts, _ = v.MarshalMsg(bts[0:0])
    	}
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Aug 30 08:00:59 UTC 2023
    - 12.9K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

            return Maps.newLinkedHashMap(map);
          }
        },
        ConcurrentHashMapImpl {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
            return new ConcurrentHashMap<>(map);
          }
        },
        ImmutableMapImpl {
          @Override
          public <K extends Comparable<K>, V> Map<K, V> create(Map<K, V> map) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Mar 04 04:06:35 UTC 2022
    - 12.3K bytes
    - Viewed (0)
  5. test/escape_iface.go

    		v := M1{&i, 0}
    		var x M = v // ERROR "v does not escape"
    		_ = x
    	}
    	{
    		i := 0 // ERROR "moved to heap: i"
    		v := M1{&i, 0}
    		var x M = v // ERROR "v escapes to heap"
    		sink = x
    	}
    	{
    		i := 0
    		v := M1{&i, 0}
    		var x M = v // ERROR "v does not escape"
    		v1 := x.(M1)
    		_ = v1
    	}
    	{
    		i := 0 // ERROR "moved to heap: i"
    		v := M1{&i, 0}
    		var x M = v // ERROR "v does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 17:16:35 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  6. internal/grid/msg_gen_test.go

    	}
    }
    
    func BenchmarkMarshalMsgconnectReq(b *testing.B) {
    	v := connectReq{}
    	b.ReportAllocs()
    	b.ResetTimer()
    	for i := 0; i < b.N; i++ {
    		v.MarshalMsg(nil)
    	}
    }
    
    func BenchmarkAppendMsgconnectReq(b *testing.B) {
    	v := connectReq{}
    	bts := make([]byte, 0, v.Msgsize())
    	bts, _ = v.MarshalMsg(bts[0:0])
    	b.SetBytes(int64(len(bts)))
    	b.ReportAllocs()
    	b.ResetTimer()
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Nov 21 01:09:35 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  7. test/interface/receiver.go

    	v = t
    	v.V()
    
    	p = &t
    	p.P()
    	p.V()
    
    	v = &t
    	v.V()
    
    	//	p = t	// ERROR
    	var i interface{} = t
    	if _, ok := i.(P); ok {
    		println("dynamic i.(P) succeeded incorrectly")
    		panic("fail")
    	}
    
    	//	println("--struct--");
    	var s S
    	s.T = 42
    	s.P()
    	s.V()
    
    	v = s
    	s.V()
    
    	p = &s
    	p.P()
    	p.V()
    
    	v = &s
    	v.V()
    
    	//	p = s	// ERROR
    	var j interface{} = s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Feb 19 06:33:41 UTC 2012
    - 1.3K bytes
    - Viewed (0)
  8. src/crypto/internal/edwards25519/scalar_alias_test.go

    				return v.MultiplyAdd(&fixed, x, y)
    			}, v, x, y)
    		},
    		"MultiplyAdd2": func(v, x, y, fixed Scalar) bool {
    			return checkAliasingTwoArgs(func(v, x, y *Scalar) *Scalar {
    				return v.MultiplyAdd(x, &fixed, y)
    			}, v, x, y)
    		},
    		"MultiplyAdd3": func(v, x, y, fixed Scalar) bool {
    			return checkAliasingTwoArgs(func(v, x, y *Scalar) *Scalar {
    				return v.MultiplyAdd(x, y, &fixed)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 17:26:17 UTC 2023
    - 3K bytes
    - Viewed (0)
  9. src/reflect/all_test.go

    	}
    	v.Grow(1)
    	if v.Cap() == 0 {
    		t.Errorf("v.Cap = %v, want non-zero", v.Cap())
    	}
    	want := v.UnsafePointer()
    	v.Grow(1)
    	got := v.UnsafePointer()
    	if got != want {
    		t.Errorf("noop v.Grow should not change pointers")
    	}
    
    	t.Run("Append", func(t *testing.T) {
    		var got, want []T
    		v := ValueOf(&got).Elem()
    		appendValue := func(vt T) {
    			v.Grow(1)
    			v.SetLen(v.Len() + 1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  10. pkg/securitycontext/accessors_test.go

    			t.Errorf("%d: expected %#v, got %#v", i, expected.HostPID, v)
    		}
    		if v := a.RunAsNonRoot(); !reflect.DeepEqual(expected.RunAsNonRoot, v) {
    			t.Errorf("%d: expected %#v, got %#v", i, expected.RunAsNonRoot, v)
    		}
    		if v := a.RunAsUser(); !reflect.DeepEqual(expected.RunAsUser, v) {
    			t.Errorf("%d: expected %#v, got %#v", i, expected.RunAsUser, v)
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 22 16:15:27 UTC 2023
    - 27.8K bytes
    - Viewed (0)
Back to top