- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 35 for truncation (0.13 sec)
-
src/main/java/jcifs/smb/SmbFileOutputStream.java
if ( append ) { this.fp = fh.getInitialSize(); } init(th); if ( !append && this.smb2 ) { // no open option for truncating, need to truncate the file Smb2SetInfoRequest treq = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId()); treq.setFileInformation(new FileEndOfFileInformation(0));
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sat Nov 13 15:14:04 UTC 2021 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TreeRangeMap.java
RangeMapEntry<K, V> rangeMapEntry = mapEntryAboveToTruncate.getValue(); if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.upperBound) > 0) { // we know ( ] ), and since we dealt with truncating below already, // we know [ ( ] ) putRangeMapEntry( rangeToRemove.upperBound, rangeMapEntry.getUpperBound(), mapEntryAboveToTruncate.getValue().getValue());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 22.9K bytes - Viewed (0) -
android/guava/src/com/google/common/io/Files.java
* truncated before writing. When the {@link FileWriteMode#APPEND APPEND} mode is provided, writes * will append to the end of the file without truncating it. * * @since 14.0 */ public static ByteSink asByteSink(File file, FileWriteMode... modes) { return new FileByteSink(file, modes); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0) -
guava/src/com/google/common/io/Files.java
* truncated before writing. When the {@link FileWriteMode#APPEND APPEND} mode is provided, writes * will append to the end of the file without truncating it. * * @since 14.0 */ public static ByteSink asByteSink(File file, FileWriteMode... modes) { return new FileByteSink(file, modes); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:03:12 UTC 2024 - 33.1K bytes - Viewed (0) -
doc/go_spec.html
The conversion always yields a valid value; there is no indication of overflow. </li> <li> When converting a <a href="#Numeric_types">floating-point number</a> to an integer, the fraction is discarded (truncation towards zero). </li> <li> When converting an integer or floating-point number to a floating-point type, or a <a href="#Numeric_types">complex number</a> to another complex type, the result value is rounded
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Oct 02 00:58:01 UTC 2024 - 282.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeRangeMap.java
RangeMapEntry<K, V> rangeMapEntry = mapEntryAboveToTruncate.getValue(); if (rangeMapEntry.getUpperBound().compareTo(rangeToRemove.upperBound) > 0) { // we know ( ] ), and since we dealt with truncating below already, // we know [ ( ] ) putRangeMapEntry( rangeToRemove.upperBound, rangeMapEntry.getUpperBound(), mapEntryAboveToTruncate.getValue().getValue());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 26.7K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* @throws CIFSException */ OutputStream openOutputStream ( boolean append ) throws CIFSException; /** * Opens an output stream writing to the file (truncating, write only, sharable) * * @return output stream, needs to be closed when finished * @throws CIFSException */ OutputStream openOutputStream () throws CIFSException; /**
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 20 14:09:34 UTC 2020 - 26K bytes - Viewed (1) -
cmd/metacache-set.go
if !o.Versioned { resolver.requestedVersions = 1 } var limit int if o.Limit > 0 && o.StopDiskAtLimit { // Over-read by 4 + 1 for every 16 in limit to give some space for resolver, // allow for truncating the list and know if we have more results. limit = o.Limit + 4 + (o.Limit / 16) } ctxDone := ctx.Done() return listPathRaw(ctx, listPathRawOptions{ disks: disks, fallbackDisks: fallbackDisks,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jul 12 16:23:16 UTC 2024 - 30.7K bytes - Viewed (0) -
src/archive/tar/reader_test.go
err: ErrHeader, }, { // BSD tar v3.1.2 rejects a PAX path with NUL in the value, while // GNU tar v1.27.1 simply truncates at first NUL. // We emulate the behavior of BSD since it is strange doing NUL // truncations since PAX records are length-prefix strings instead // of NUL-terminated C-strings. file: "testdata/pax-nul-path.tar", err: ErrHeader, }, { file: "testdata/neg-size.tar", err: ErrHeader, }, {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Thu Oct 03 15:48:09 UTC 2024 - 46.9K bytes - Viewed (0) -
docs/debugging/xl-meta/main.go
fmt.Println("Could NOT reconstruct:", err) } } } if lastValid == 0 { return errors.New("no valid data found") } if missing > 0 { fmt.Println(missing, "bytes missing. Truncating", len(m.filled)-lastValid-1, "from end.") out += ".incomplete" } else { fmt.Println("No bytes missing.") out += ".complete" } m.mapped = m.mapped[:lastValid+1]
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Sep 05 11:57:44 UTC 2024 - 40.3K bytes - Viewed (0)