- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 767 for parse (0.17 sec)
-
internal/etag/etag.go
return nil, err } return etag, nil } // Parse parses s as an S3 ETag, returning the result. // The string can be an encrypted, singlepart // or multipart S3 ETag. It returns an error if s is // not a valid textual representation of an ETag. func Parse(s string) (ETag, error) { const strict = false return parse(s, strict) } // parse parse s as an S3 ETag, returning the result.
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Mar 10 21:09:36 GMT 2024 - 13.3K bytes - Viewed (0) -
guava/src/com/google/common/cache/CacheBuilderSpec.java
valueParser.parse(spec, key, value); } } return spec; } /** Returns a CacheBuilderSpec that will prevent caching. */ public static CacheBuilderSpec disableCaching() { // Maximum size of zero is one way to block caching return CacheBuilderSpec.parse("maximumSize=0"); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Aug 22 14:27:44 GMT 2022 - 18.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java
.addEqualityGroup(parse(""), parse("")) .addEqualityGroup(parse("concurrencyLevel=7"), parse("concurrencyLevel=7")) .addEqualityGroup(parse("concurrencyLevel=15"), parse("concurrencyLevel=15")) .addEqualityGroup(parse("initialCapacity=7"), parse("initialCapacity=7")) .addEqualityGroup(parse("initialCapacity=15"), parse("initialCapacity=15")) .addEqualityGroup(parse("maximumSize=7"), parse("maximumSize=7"))
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 19.2K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy
_ * property.signature >> "$name-signature" _ * javadocConverter.parse(property, !null) >> ({[parse("<para>${args.comment ?: 'comment'}</para>")]} as DocComment) return property } def propertyDoc(Map<String, ?> args = [:], String name) { return new PropertyDoc(classMetaData(), property(name, null), [parse("<para>$name comment</para>")], args.additionalValues ?: []) }
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 7.5K bytes - Viewed (0) -
tests/test_multipart_installation.py
monkeypatch.delattr("multipart.multipart.parse_options_header", raising=False) with pytest.raises(RuntimeError, match=multipart_incorrect_install_error): app = FastAPI() @app.post("/") async def root(f: bytes = File()): return f # pragma: nocover def test_incorrect_multipart_installed_multi_form(monkeypatch): monkeypatch.delattr("multipart.multipart.parse_options_header", raising=False)
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri May 13 23:38:22 GMT 2022 - 3.7K bytes - Viewed (0) -
internal/etag/etag_test.go
} func TestParse(t *testing.T) { for i, test := range parseTests { etag, err := Parse(test.String) if err == nil && test.ShouldFail { t.Fatalf("Test %d: parse should have failed but succeeded", i) } if err != nil && !test.ShouldFail { t.Fatalf("Test %d: failed to parse ETag %q: %v", i, test.String, err) } if !Equal(etag, test.ETag) { t.Log([]byte(etag))
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Sep 18 17:00:54 GMT 2023 - 12.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 40.8K bytes - Viewed (0) -
src/archive/tar/strconv.go
b = append(b, byte(c)) } } return string(b) } type parser struct { err error // Last error seen } type formatter struct { err error // Last error seen } // parseString parses bytes as a NUL-terminated C-style string. // If a NUL byte is not found then the whole slice is returned as a string. func (*parser) parseString(b []byte) string { if i := bytes.IndexByte(b, 0); i >= 0 {
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Tue Aug 01 14:28:42 GMT 2023 - 9K bytes - Viewed (0) -
schema/relationship_test.go
import ( "sync" "testing" "gorm.io/gorm" "gorm.io/gorm/schema" ) func checkStructRelation(t *testing.T, data interface{}, relations ...Relation) { if s, err := schema.Parse(data, &sync.Map{}, schema.NamingStrategy{}); err != nil { t.Errorf("Failed to parse schema, got error %v", err) } else { for _, rel := range relations { checkSchemaRelation(t, s, rel) } } } func TestBelongsToOverrideForeignKey(t *testing.T) {
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Mon Apr 15 03:20:20 GMT 2024 - 25.5K bytes - Viewed (0) -
schema/constraint_test.go
Name2 string `gorm:"check:name <> 'jinzhu'"` Name3 string `gorm:"check:,name <> 'jinzhu'"` } func TestParseCheck(t *testing.T) { user, err := schema.Parse(&UserCheck{}, &sync.Map{}, schema.NamingStrategy{}) if err != nil { t.Fatalf("failed to parse user check, got error %v", err) } results := map[string]schema.CheckConstraint{ "name_checker": { Name: "name_checker", Constraint: "name <> 'jinzhu'",
Go - Registered: Sun May 05 09:35:13 GMT 2024 - Last Modified: Sun Feb 04 07:49:19 GMT 2024 - 2.2K bytes - Viewed (0)