- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 221 for Boundary (0.36 sec)
-
src/vendor/golang.org/x/text/unicode/norm/normalize.go
// FirstBoundaryInString returns the position i of the first boundary in s // or -1 if s contains no boundary. func (f Form) FirstBoundaryInString(s string) int { return f.firstBoundary(inputString(s), len(s)) } // NextBoundary reports the index of the boundary between the first and next // segment in b or -1 if atEOF is false and there are not enough bytes to // determine this boundary. func (f Form) NextBoundary(b []byte, atEOF bool) int {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 16 22:26:23 UTC 2022 - 14.9K bytes - Viewed (0) -
src/mime/multipart/formdata_test.go
maxMemory := int64(32) << 20 boundary := `---------------------------8d345eef0d38dc9` body := ` -----------------------------8d345eef0d38dc9 Content-Disposition: form-data; name="version" 171 -----------------------------8d345eef0d38dc9--` mr := NewReader(&failOnReadAfterErrorReader{t: t, r: strings.NewReader(body)}, boundary) f, err := mr.ReadForm(maxMemory) if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 05 18:31:56 UTC 2024 - 14K bytes - Viewed (0) -
src/mime/multipart/multipart.go
} // NewReader creates a new multipart [Reader] reading from r using the // given MIME boundary. // // The boundary is usually obtained from the "boundary" parameter of // the message's "Content-Type" header. Use [mime.ParseMediaType] to // parse such headers. func NewReader(r io.Reader, boundary string) *Reader { b := []byte("\r\n--" + boundary + "--") return &Reader{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 16:12:35 UTC 2024 - 14.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/MultipartReader.kt
source = response.source(), boundary = response.contentType()?.parameter("boundary") ?: throw ProtocolException("expected the Content-Type to have a boundary parameter"), ) @Throws(IOException::class) fun nextPart(): Part? { check(!closed) { "closed" } if (noMoreParts) return null // Read a boundary, skipping the remainder of the preceding part as necessary.
Registered: Sun Jun 16 04:42:17 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 7.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
final byte[] boundary = super.getBoundary(contentType); checkBoundarySize(contentType, boundary); return boundary; } }; } protected void checkBoundarySize(final String contentType, final byte[] boundary) { final int boundarySize = boundary.length; final int limitSize = getBoundaryLimitSize();
Registered: Wed Jun 12 13:08:18 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 16.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/util.go
// Exact match return true } if strings.HasSuffix(pathPrefix, "/") { // pathPrefix already ensured a path segment boundary return true } if s[pathPrefixLength:pathPrefixLength+1] == "/" { // The next character in s is a path segment boundary // Check this instead of normalizing pathPrefix to avoid allocating on every call return true } return false
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 07:09:11 UTC 2023 - 1.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/VersionRange.java
*/ boolean contains(@Nonnull Version version); /** * Returns the upper boundary of this range, or {@code null} if none. */ @Nullable Boundary getUpperBoundary(); /** * Returns the lower boundary of this range, or {@code null} if none. */ @Nullable Boundary getLowerBoundary(); /** * Returns a string representation of this version range
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue Dec 19 19:08:55 UTC 2023 - 2.1K bytes - Viewed (0) -
src/mime/multipart/writer_test.go
{"badspace ", false}, {"(boundary)", true}, } for i, tt := range tests { var b strings.Builder w := NewWriter(&b) err := w.SetBoundary(tt.b) got := err == nil if got != tt.ok { t.Errorf("%d. boundary %q = %v (%v); want %v", i, tt.b, got, err, tt.ok) } else if tt.ok { got := w.Boundary() if got != tt.b { t.Errorf("boundary = %q; want %q", got, tt.b) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 06 17:36:47 UTC 2022 - 4.1K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/doc/c4/lib/C4.puml
!define LAYOUT_LEFT_RIGHT left to right direction ' Boundaries ' ################################## !define Boundary(e_alias, e_label) rectangle "==e_label" <<boundary>> as e_alias !define Boundary(e_alias, e_label, e_type) rectangle "==e_label [e_type]" <<boundary>> as e_alias ' Relationship ' ##################################
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Aug 02 08:06:49 UTC 2023 - 3.6K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/cover/profile.go
} // Boundaries returns a Profile as a set of Boundary objects within the provided src. func (p *Profile) Boundaries(src []byte) (boundaries []Boundary) { // Find maximum count. max := 0 for _, b := range p.Blocks { if b.Count > max { max = b.Count } } // Divisor for normalization. divisor := math.Log(float64(max)) // boundary returns a Boundary, populating the Norm field with a normalized Count.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 11 17:02:03 UTC 2021 - 7.5K bytes - Viewed (0)