Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for 01122334 (0.37 sec)

  1. src/reflect/iter_test.go

    package reflect_test
    
    import (
    	"iter"
    	"maps"
    	. "reflect"
    	"testing"
    )
    
    func TestValueSeq(t *testing.T) {
    	m := map[string]int{
    		"1": 1,
    		"2": 2,
    		"3": 3,
    		"4": 4,
    	}
    	c := make(chan int, 3)
    	for i := range 3 {
    		c <- i
    	}
    	close(c)
    	tests := []struct {
    		name  string
    		val   Value
    		check func(*testing.T, iter.Seq[Value])
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 14:27:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  2. src/slices/slices_test.go

    		[]int{1, 2, 3},
    	},
    	{
    		"2 items",
    		[]int{1, 1, 2},
    		[]int{1, 2},
    	},
    	{
    		"unsorted",
    		[]int{1, 2, 1},
    		[]int{1, 2, 1},
    	},
    	{
    		"many",
    		[]int{1, 2, 2, 3, 3, 4},
    		[]int{1, 2, 3, 4},
    	},
    }
    
    func TestCompact(t *testing.T) {
    	for _, test := range compactTests {
    		copy := Clone(test.s)
    		if got := Compact(copy); !Equal(got, test.want) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:06 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  3. pkg/kubelet/stats/cri_stats_provider_windows_test.go

    	cpuUsageTimestamp := int64(555555)
    	cpuUsageNanoSeconds := uint64(0x123456)
    	cpuUsageNanoCores := uint64(0x4000)
    	memoryUsageTimestamp := int64(666666)
    	memoryUsageWorkingSetBytes := uint64(0x11223344)
    	memoryUsageAvailableBytes := uint64(0x55667788)
    	memoryUsagePageFaults := uint64(200)
    	logStatsUsed := uint64(5000)
    	logStatsInodesUsed := uint64(5050)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 17 00:02:10 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/lite/tests/const-fold.mlir

      %cst_0 = arith.constant dense<[10, 20]> : tensor<2xi32>
      %cst_1 = arith.constant dense<[[1, 2], [3, 4]]> : tensor<2x2xi32>
      %cst_2 = arith.constant dense<[[[1, 1], [2, 2]], [[3, 3], [4, 4]]]> : tensor<2x2x2xi32>
    
      %0 = "tfl.add"(%cst_0, %cst_1) {fused_activation_function = "NONE"} : (tensor<    2xi32>, tensor<  2x2xi32>) -> tensor<  2x2xi32>
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu May 02 09:41:17 UTC 2024
    - 45.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

        rangeMap.put(Range.closedOpen(1, 2), 1);
        rangeMap.put(Range.closedOpen(3, 4), 2);
    
        rangeMap.merge(Range.closedOpen(0, 5), null, (v1, v2) -> v1 + 1);
    
        // {[1..2): 2, [3..4): 3}
        assertEquals(
            new ImmutableMap.Builder<>()
                .put(Range.closedOpen(1, 2), 2)
                .put(Range.closedOpen(3, 4), 3)
                .build(),
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 20:09:59 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. src/math/big/float_test.go

    		if got != test.want || acc != test.acc {
    			t.Errorf("%s: got %s (%s); want %s (%s)", test.x, got, acc, test.want, test.acc)
    		}
    	}
    
    	// check that supplied *Int is used
    	for _, f := range []string{"0", "1", "-1", "1234"} {
    		x := makeFloat(f)
    		i := new(Int)
    		if res, _ := x.Int(i); res != i {
    			t.Errorf("(%s).Int is not using supplied *Int", f)
    		}
    	}
    }
    
    func TestFloatRat(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 20:22:45 UTC 2024
    - 51.9K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.30.md

       ([#122334](https://github.com/kubernetes/kubernetes/pull/122334), [@carlory](https://github.com/carlory))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 04:05:28 UTC 2024
    - 253.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/celcoststability_test.go

    				"self.listMap.exists(m, m.v2 == 'z')": 24,
    				"!self.listMap.all(m, m.v2 != 'z')":   22,
    			},
    		},
    		{name: "list access",
    			obj: map[string]interface{}{
    				"array": []interface{}{1, 1, 2, 2, 3, 3, 4, 5},
    			},
    			schema: objectTypePtr(map[string]schema.Structural{
    				"array": listType(&integerType),
    			}),
    			expectCost: map[string]int64{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:20:16 UTC 2024
    - 80.2K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.27.md

    - Updated the Event series starting count when emitting isomorphic events from 1 to 2. ([#112334](https://github.com/kubernetes/kubernetes/pull/112334), [@dgrisonnet](https://github.com/dgrisonnet))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 23:01:06 UTC 2024
    - 455.3K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    				"self.listMap.map(m, m.v2 == 'z', m.v2).size() == 1": "no such key: v2",
    			},
    		},
    		{name: "list access",
    			obj: map[string]interface{}{
    				"array": []interface{}{1, 1, 2, 2, 3, 3, 4, 5},
    			},
    			schema: objectTypePtr(map[string]schema.Structural{
    				"array": listType(&integerType),
    			}),
    			valid: []string{
    				"2 in self.array",
    				"self.array.all(e, e > 0)",
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
Back to top