Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 6,752 for mustIP (0.24 sec)

  1. src/net/netip/netip_pkg_test.go

    	ip   Addr
    	next Addr
    	prev Addr
    }{
    	{mustIP("10.0.0.1"), mustIP("10.0.0.2"), mustIP("10.0.0.0")},
    	{mustIP("10.0.0.255"), mustIP("10.0.1.0"), mustIP("10.0.0.254")},
    	{mustIP("127.0.0.1"), mustIP("127.0.0.2"), mustIP("127.0.0.0")},
    	{mustIP("254.255.255.255"), mustIP("255.0.0.0"), mustIP("254.255.255.254")},
    	{mustIP("255.255.255.255"), Addr{}, mustIP("255.255.255.254")},
    	{mustIP("0.0.0.0"), mustIP("0.0.0.1"), Addr{}},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 02 15:37:19 UTC 2023
    - 9K bytes
    - Viewed (0)
  2. src/net/netip/netip_test.go

    	}{
    		{Addr{}, Addr{}, false},
    		{Addr{}, mustIP("1.2.3.4"), true},
    		{mustIP("1.2.3.4"), Addr{}, false},
    
    		{mustIP("1.2.3.4"), mustIP("0102:0304::0"), true},
    		{mustIP("0102:0304::0"), mustIP("1.2.3.4"), false},
    		{mustIP("1.2.3.4"), mustIP("1.2.3.4"), false},
    
    		{mustIP("::1"), mustIP("::2"), true},
    		{mustIP("::1"), mustIP("::1%foo"), true},
    		{mustIP("::1%foo"), mustIP("::2"), true},
    		{mustIP("::2"), mustIP("::3"), true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 17:10:01 UTC 2024
    - 54.3K bytes
    - Viewed (0)
  3. src/cmd/internal/bio/must.go

    Matthew Dempsky <******@****.***> 1460509126 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 14 17:58:33 UTC 2016
    - 883 bytes
    - Viewed (0)
  4. testing/smoke-test/src/smokeTest/resources/org/gradle/smoketests/play-example/test/ApplicationSpec.scala

        "send 404 on a bad request" in {
          route(app, FakeRequest(GET, "/boum")).map(status(_)) mustBe Some(NOT_FOUND)
        }
    
        "render the index page" in {
          val home = route(app, FakeRequest(GET, "/")).get
    
          status(home) mustBe Status.OK
          contentType(home) mustBe Some("text/html")
          contentAsString(home) must include ("Your new application is ready.")
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  5. src/reflect/value.go

    	itab *abi.ITab
    	word unsafe.Pointer
    }
    
    // mustBe panics if f's kind is not expected.
    // Making this a method on flag instead of on Value
    // (and embedding flag in Value) means that we can write
    // the very clear v.mustBe(Bool) and have it compile into
    // v.flag.mustBe(Bool), which will only bother to copy the
    // single important word for the receiver.
    func (f flag) mustBe(expected Kind) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/test/inl_test.go

    		want["sync"] = []string{
    			"(*Mutex).Lock",
    			"(*Mutex).Unlock",
    			"(*RWMutex).RLock",
    			"(*RWMutex).RUnlock",
    			"(*Once).Do",
    		}
    	}
    
    	// Functions that must actually be inlined; they must have actual callers.
    	must := map[string]bool{
    		"compress/flate.byLiteral.Len":  true,
    		"compress/flate.byLiteral.Less": true,
    		"compress/flate.byLiteral.Swap": true,
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking_test.go

    	restMapper := meta.NewDefaultRESTMapper([]schema.GroupVersion{
    		{
    			Group:   "",
    			Version: "v1",
    		},
    	})
    	restMapper.Add(must3(scheme.ObjectKinds(&corev1.Pod{}))[0], meta.RESTScopeRoot)
    	restMapper.Add(must3(scheme.ObjectKinds(&appsv1.Deployment{}))[0], meta.RESTScopeRoot)
    
    	return &TypeChecker{
    		SchemaResolver: &fakeSchemaResolver{schemaToReturn: schemaToReturn},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 16.3K bytes
    - Viewed (0)
  8. test/fixedbugs/issue4813.go

    	a2 = A[f]
    	a3 = A[f2] // ERROR "truncated|must be integer"
    	a4 = A[c]
    	a5 = A[c2] // ERROR "truncated|must be integer"
    	a6 = A[vf] // ERROR "non-integer|must be integer"
    	a7 = A[vc] // ERROR "non-integer|must be integer"
    
    	s1 = S[i]
    	s2 = S[f]
    	s3 = S[f2] // ERROR "truncated|must be integer"
    	s4 = S[c]
    	s5 = S[c2] // ERROR "truncated|must be integer"
    	s6 = S[vf] // ERROR "non-integer|must be integer"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Dec 13 01:18:12 UTC 2013
    - 1.1K bytes
    - Viewed (0)
  9. src/internal/types/testdata/check/shifts.go

    	// additional cases
    	_ = complex(1.0 /* ERROR "shifted operand 1.0 (type float64) must be integer" */ <<s, 1)
    	_ = complex(1.0, 1 /* ERROR "shifted operand 1 (type float64) must be integer" */ <<s)
    
    	_ = int(1.<<s)
    	_ = int(1.1 /* ERRORx `shifted operand .* must be integer` */ <<s)
    	_ = float32(1 /* ERRORx `shifted operand .* must be integer` */ <<s)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 17 19:54:27 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  10. internal/etag/etag_test.go

    	},
    	{
    		ETags:     []ETag{must("b10a8db164e0754105b7a99be72e3fe5")},
    		Multipart: must("7b976cc68452e003eec7cb0eb631a19a-1"),
    	},
    	{
    		ETags:     []ETag{must("5f363e0e58a95f06cbe9bbc662c5dfb6"), must("5f363e0e58a95f06cbe9bbc662c5dfb6")},
    		Multipart: must("a7d414b9133d6483d9a1c4e04e856e3b-2"),
    	},
    	{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 18 17:00:54 UTC 2023
    - 12.6K bytes
    - Viewed (0)
Back to top