- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for Ftruncate (0.08 seconds)
-
src/archive/tar/reader_test.go
type readBadSeeker struct{ io.ReadSeeker } func (rbs *readBadSeeker) Seek(int64, int) (int64, error) { return 0, fmt.Errorf("illegal seek") } // TestReadTruncation test the ending condition on various truncated files and // that truncated files are still detected even if the underlying io.Reader // satisfies io.Seeker. func TestReadTruncation(t *testing.T) { var ss []string for _, p := range []string{ "testdata/gnu.tar",Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 47.5K bytes - Click Count (0) -
src/archive/tar/writer_test.go
} // The prefix field should never appear in the GNU format. var blk block copy(blk[:], b.Bytes()) prefix := string(blk.toUSTAR().prefix()) prefix, _, _ = strings.Cut(prefix, "\x00") // Truncate at the NUL terminator if blk.getFormat() == FormatGNU && len(prefix) > 0 && strings.HasPrefix(name, prefix) { t.Errorf("test %d, found prefix in GNU format: %s", i, prefix) } tr := NewReader(&b)
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Dec 15 16:34:13 GMT 2025 - 40.2K bytes - Click Count (0) -
docs/en/docs/advanced/path-operation-advanced-configuration.md
You can limit the lines used from the docstring of a *path operation function* for OpenAPI. Adding an `\f` (an escaped "form feed" character) causes **FastAPI** to truncate the output used for OpenAPI at this point. It won't show up in the documentation, but other tools (such as Sphinx) will be able to use the rest.
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 7.2K bytes - Click Count (0) -
src/bytes/bytes_test.go
if err := recover(); err == nil { t.Fatal("Truncate(-1) should have panicked") } }() var b Buffer b.Truncate(-1) } func TestBufferTruncateOutOfRange(t *testing.T) { defer func() { if err := recover(); err == nil { t.Fatal("Truncate(20) should have panicked") } }() var b Buffer b.Write(make([]byte, 10)) b.Truncate(20) } var containsTests = []struct {
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 23 23:54:14 GMT 2025 - 62.9K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/DocumentHelper.java
return fessConfig.getCrawlerDocumentSpaceCharsAsArray(); } /** * Creates a digest (abbreviated summary) of document content. * Truncates and normalizes content to create a summary suitable for display. * * @param responseData the response data from crawling (not currently used) * @param content the content to create a digest from
Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 17.4K bytes - Click Count (0) -
fastapi/routing.py
self.description = description or inspect.cleandoc(self.endpoint.__doc__ or "") # if a "form feed" character (page break) is found in the description text, # truncate description text to the content preceding the first "form feed" self.description = self.description.split("\f")[0].strip() response_fields = {}
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 174.6K bytes - Click Count (0) -
doc/go_spec.html
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Tue Dec 02 23:07:19 GMT 2025 - 286.5K bytes - Click Count (1) -
CHANGELOG/CHANGELOG-1.32.md
- Fixed a bug in the endpoints controller that failed to reconcile the Endpoint object after it was truncated (when it received more than 1000 endpoint addresses). ([#127417](https://github.com/kubernetes/kubernetes/pull/127417), [@aojea](https://github.com/aojea)) [SIG Apps, Network and Testing]
Created: Fri Dec 26 09:05:12 GMT 2025 - Last Modified: Tue Dec 16 18:27:41 GMT 2025 - 448.1K bytes - Click Count (0) -
lib/fips140/v1.1.0-rc1.zip
{ R, S []byte } // Sign signs a hash (which shall be the result of hashing a larger message with // the hash function H) using the private key, priv. If the hash is longer than // the bit-length of the private key's curve order, the hash will be truncated // to that length. func Sign[P Point[P], H hash.Hash](c *Curve[P], h func() H, priv *PrivateKey, rand io.Reader, hash []byte) (*Signature, error) { if priv.pub.curve != c.curve { return nil, errors.New("ecdsa: private key does not match curve") }...Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0)