Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 142 for 123456700 (0.09 sec)

  1. test/fixedbugs/issue44823.go

    package main
    
    import "encoding/binary"
    
    //go:noinline
    func Id(a [8]byte) (x [8]byte) {
    	binary.LittleEndian.PutUint64(x[:], binary.LittleEndian.Uint64(a[:]))
    	return
    }
    
    var a = [8]byte{1, 2, 3, 4, 5, 6, 7, 8}
    
    func main() {
    	x := Id(a)
    	if x != a {
    		panic("FAIL")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 05 22:14:48 UTC 2021
    - 492 bytes
    - Viewed (0)
  2. pkg/config/security/security_test.go

    			wantError: true,
    		},
    		{
    			key:    "source.ip",
    			values: []string{"1.2.3.4", "5.6.7.0/24"},
    		},
    		{
    			key:       "source.ip",
    			values:    []string{"a.b.c.d"},
    			wantError: true,
    		},
    		{
    			key:    "remote.ip",
    			values: []string{"1.2.3.4", "5.6.7.0/24"},
    		},
    		{
    			key:       "remote.ip",
    			values:    []string{"a.b.c.d"},
    			wantError: true,
    		},
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Apr 20 01:58:53 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/abt/avlint32_test.go

    func TestApplicInsert(t *testing.T) {
    	applicInsert(t, []int32{24, 22, 20, 18, 16, 14, 12, 10, 8, 6, 4, 2, 1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23, 25})
    	applicInsert(t, []int32{1, 2, 3, 4})
    	applicInsert(t, []int32{1, 2, 3, 4, 5, 6, 7, 8, 9})
    	applicInsert(t, []int32{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 11 16:34:41 UTC 2022
    - 20.3K bytes
    - Viewed (0)
  4. pilot/pkg/security/authz/builder/testdata/http/multiple-policies-in.yaml

    ---
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: httpbin-8
      namespace: foo
    spec:
      rules:
        - from:
            - source:
                ipBlocks: ["1.2.3.4", "5.6.7.0/24"]
    ---
    apiVersion: security.istio.io/v1beta1
    kind: AuthorizationPolicy
    metadata:
      name: httpbin-9
      namespace: foo
    spec:
      rules:
        - when:
            - key: "request.headers[X-abc]"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Apr 01 19:25:01 UTC 2021
    - 2K bytes
    - Viewed (0)
  5. src/cmd/link/testdata/testHashedSyms/p.go

    // is not a requirement for correctness and not checked in this test.
    // We do check the emitted symbol contents are correct, though.
    
    package main
    
    func main() {
    	F([10]int{1, 2, 3, 4, 5, 6}, [20]int{1, 2, 3, 4, 5, 6})
    }
    
    //go:noinline
    func F(x, y interface{}) {
    	x1 := x.([10]int)
    	y1 := y.([20]int)
    	for i := range y1 {
    		if i < 6 {
    			if x1[i] != i+1 || y1[i] != i+1 {
    				panic("FAIL")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jul 21 21:14:19 UTC 2020
    - 908 bytes
    - Viewed (0)
  6. src/net/parse_test.go

    	}
    }
    
    func TestDtoi(t *testing.T) {
    	for _, tt := range []struct {
    		in  string
    		out int
    		off int
    		ok  bool
    	}{
    		{"", 0, 0, false},
    		{"0", 0, 1, true},
    		{"65536", 65536, 5, true},
    		{"123456789", big, 8, false},
    		{"-0", 0, 0, false},
    		{"-1234", 0, 0, false},
    	} {
    		n, i, ok := dtoi(tt.in)
    		if n != tt.out || i != tt.off || ok != tt.ok {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 00:04:48 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  7. src/runtime/traceback_test.go

    		// nested aggregates, no ...
    		{
    			func() int { return testTracebackArgs8a(testArgsType8a{1, 2, 3, 4, 5, 6, 7, 8, [2]int{9, 10}}) },
    			"testTracebackArgs8a({0x1, 0x2, 0x3, 0x4, 0x5, 0x6, 0x7, 0x8, {0x9, 0xa}})",
    		},
    		// nested aggregates, ... in inner but not outer
    		{
    			func() int { return testTracebackArgs8b(testArgsType8b{1, 2, 3, 4, 5, 6, 7, 8, [3]int{9, 10, 11}}) },
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 14 17:22:18 UTC 2023
    - 22.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java

     *
     * @author Dimitris Andreou
     */
    public class AbstractStreamingHasherTest extends TestCase {
      public void testBytes() {
        Sink sink = new Sink(4); // byte order insignificant here
        byte[] expected = {1, 2, 3, 4, 5, 6, 7, 8};
        sink.putByte((byte) 1);
        sink.putBytes(new byte[] {2, 3, 4, 5, 6});
        sink.putByte((byte) 7);
        sink.putBytes(new byte[] {});
        sink.putBytes(new byte[] {8});
        HashCode unused = sink.hash();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 8.5K bytes
    - Viewed (0)
  9. pkg/kubelet/kuberuntime/kuberuntime_sandbox_linux_test.go

    	config := &runtimeapi.PodSandboxConfig{
    		Linux: &runtimeapi.LinuxPodSandboxConfig{},
    	}
    
    	getPodWithOverhead := func() *v1.Pod {
    		return &v1.Pod{
    			ObjectMeta: metav1.ObjectMeta{
    				UID:       "12345678",
    				Name:      "bar",
    				Namespace: "new",
    			},
    			Spec: v1.PodSpec{
    				Containers: []v1.Container{
    					{
    						Resources: v1.ResourceRequirements{
    							Requests: v1.ResourceList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 22:40:29 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. src/net/netip/fuzz_test.go

    	"127.1",
    	// IPv4 field has value >255.
    	"192.168.300.1",
    	// IPv4 with too many fields.
    	"192.168.0.1.5.6",
    	// IPv6 with not enough fields.
    	"1:2:3:4:5:6:7",
    	// IPv6 with too many fields.
    	"1:2:3:4:5:6:7:8:9",
    	// IPv6 with 8 fields and a :: expander.
    	"1:2:3:4::5:6:7:8",
    	// IPv6 with a field bigger than 2b.
    	"fe801::1",
    	// IPv6 with non-hex values in field.
    	"fe80:tail:scal:e::",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 20 23:46:23 UTC 2021
    - 10.5K bytes
    - Viewed (0)
Back to top