Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for lax (0.04 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/cbor.go

    						object["apiVersion"] = apiVersion
    						object["kind"] = kind
    					}
    
    					if object["kind"] == "" {
    						strict, lax = nil, runtime.NewMissingKindErr(diagnose(data))
    						return
    					}
    					if object["apiVersion"] == "" {
    						strict, lax = nil, runtime.NewMissingVersionErr(diagnose(data))
    						return
    					}
    
    					unstructureds[i].Object = object
    				}
    				delete(content, "items")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 13 14:57:12 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. src/mime/quotedprintable/reader_test.go

    		{in: "foo bar=3d", want: "foo bar="}, // lax.
    		{in: "foo bar=\n", want: "foo bar"},
    		{in: "foo bar\n", want: "foo bar\n"}, // somewhat lax.
    		{in: "foo bar=0", want: "foo bar=0"}, // lax
    		{in: "foo bar=0D=0A", want: "foo bar\r\n"},
    		{in: " A B        \r\n C ", want: " A B\r\n C"},
    		{in: " A B =\r\n C ", want: " A B  C"},
    		{in: " A B =\n C ", want: " A B  C"}, // lax. treating LF as CRLF
    		{in: "foo=\nbar", want: "foobar"},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  3. src/net/http/cookie_test.go

    	},
    	{
    		&Cookie{Name: "cookie-12", Value: "samesite-default", SameSite: SameSiteDefaultMode},
    		"cookie-12=samesite-default",
    	},
    	{
    		&Cookie{Name: "cookie-13", Value: "samesite-lax", SameSite: SameSiteLaxMode},
    		"cookie-13=samesite-lax; SameSite=Lax",
    	},
    	{
    		&Cookie{Name: "cookie-14", Value: "samesite-strict", SameSite: SameSiteStrictMode},
    		"cookie-14=samesite-strict; SameSite=Strict",
    	},
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 26.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/decode_test.go

    			into: struct {
    				A int `json:"a"`
    			}{},
    			assertOnError: assertIdenticalError(&cbor.UnknownFieldError{Index: 0}),
    		},
    		{
    			name:  "case-insensitive match ignored in lax mode",
    			modes: []cbor.DecMode{modes.DecodeLax},
    			in:    hex("a1614101"), // {"A": 1}
    			into: struct {
    				A int `json:"a"`
    			}{},
    			want: struct {
    				A int `json:"a"`
    			}{
    				A: 0,
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 22 18:43:10 UTC 2024
    - 25.6K bytes
    - Viewed (0)
  5. src/net/http/cookie.go

    		}
    
    		switch lowerAttr {
    		case "samesite":
    			lowerVal, ascii := ascii.ToLower(val)
    			if !ascii {
    				c.SameSite = SameSiteDefaultMode
    				continue
    			}
    			switch lowerVal {
    			case "lax":
    				c.SameSite = SameSiteLaxMode
    			case "strict":
    				c.SameSite = SameSiteStrictMode
    			case "none":
    				c.SameSite = SameSiteNoneMode
    			default:
    				c.SameSite = SameSiteDefaultMode
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 18:33:05 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  6. src/crypto/tls/ech.go

    	}
    	return nil
    }
    
    // validDNSName is a rather rudimentary check for the validity of a DNS name.
    // This is used to check if the public_name in a ECHConfig is valid when we are
    // picking a config. This can be somewhat lax because even if we pick a
    // valid-looking name, the DNS layer will later reject it anyway.
    func validDNSName(name string) bool {
    	if len(name) > 253 {
    		return false
    	}
    	labels := strings.Split(name, ".")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:10:12 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  7. src/net/http/cookiejar/jar.go

    	switch c.SameSite {
    	case http.SameSiteDefaultMode:
    		e.SameSite = "SameSite"
    	case http.SameSiteStrictMode:
    		e.SameSite = "SameSite=Strict"
    	case http.SameSiteLaxMode:
    		e.SameSite = "SameSite=Lax"
    	}
    
    	return e, false, nil
    }
    
    var (
    	errIllegalDomain   = errors.New("cookiejar: illegal cookie domain attribute")
    	errMalformedDomain = errors.New("cookiejar: malformed cookie domain attribute")
    )
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. src/cmd/go/internal/work/gc.go

    				continue
    			}
    			op, _ := fsys.OverlayPath(mkAbs(p.Dir, sfile))
    			args = append(args, op)
    		}
    
    		// Supply an empty go_asm.h as if the compiler had been run.
    		// -gensymabis parsing is lax enough that we don't need the
    		// actual definitions that would appear in go_asm.h.
    		if err := sh.writeFile(a.Objdir+"go_asm.h", nil); err != nil {
    			return err
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            "provider {[s1, s2]}" | { property().value(Providers.of(["s1, s2"])) } || "$collectionName(class ${String.name}, fixed(class ${ArrayList.name}, [s1, s2]))"
    
            // The following case abuses Groovy lax type-checking to put an invalid value into the property.
            "[provider {s1}]"     | { property().value([Providers.of("s1")]) }     || "$collectionName(class ${String.name}, [fixed(class ${String.name}, s1)])"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

            "[k: provider {v}]"          | { property().tap { put("k", Providers.of("v")) } }      || "Map(String->String, entry{k=fixed(class ${String.name}, v)})"
    
            // The following case abuses Groovy lax type-checking to put an invalid value into the property.
            "[k: (Object) provider {v}]" | { property().value(k: Providers.of("v")) }              || "Map(String->String, {k=fixed(class ${String.name}, v)})"
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
Back to top