Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Truncating (0.1 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. android/guava/src/com/google/common/base/Ascii.java

       * consider the following:
       *
       * <ul>
       *   <li>it may split surrogate pairs
       *   <li>it may split characters and combining characters
       *   <li>it does not consider word boundaries
       *   <li>if truncating for display to users, there are other considerations that must be taken
       *       into account
       *   <li>the appropriate truncation indicator may be locale-dependent
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  6. 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)
  7. guava/src/com/google/common/base/Ascii.java

       * consider the following:
       *
       * <ul>
       *   <li>it may split surrogate pairs
       *   <li>it may split characters and combining characters
       *   <li>it does not consider word boundaries
       *   <li>if truncating for display to users, there are other considerations that must be taken
       *       into account
       *   <li>the appropriate truncation indicator may be locale-dependent
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top