Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,422 for WRITE (0.04 sec)

  1. src/test/java/org/codelibs/curl/io/ContentCacheTest.java

            String testContent = "Hello, World!";
            tempFile = File.createTempFile("test", ".tmp", Curl.tmpDir);
    
            // Write test content to file
            try (FileOutputStream fos = new FileOutputStream(tempFile)) {
                fos.write(testContent.getBytes("UTF-8"));
            }
    
            ContentCache cache = new ContentCache(tempFile);
    
            try (InputStream stream = cache.getInputStream()) {
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Thu Jul 31 01:01:12 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/lease/DirectoryLeaseContext.java

            offset += 4;
    
            // Write context name
            System.arraycopy(CONTEXT_NAME_BYTES, 0, buffer, offset, 4);
            offset += 4;
    
            // Padding to align data to 8-byte boundary
            offset += 4;
    
            // Write standard lease data (32 bytes)
            leaseKey.encode(buffer, offset); // LeaseKey (16 bytes)
            offset += 16;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComClose.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.internal.smb1.com;
    
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lease/Smb2LeaseKey.java

     * Lesser General Public License for more details.
     *
     * You should have received a copy of the GNU Lesser General Public
     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.lease;
    
    import java.security.SecureRandom;
    import java.util.Arrays;
    
    /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 00:16:17 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. cmd/bitrot-whole.go

    	shardSize int64 // This is the shard size of the erasure logic
    	hash.Hash       // For bitrot hash
    }
    
    func (b *wholeBitrotWriter) Write(p []byte) (int, error) {
    	err := b.disk.AppendFile(context.TODO(), b.volume, b.filePath, p)
    	if err != nil {
    		return 0, err
    	}
    	_, err = b.Hash.Write(p)
    	if err != nil {
    		return 0, err
    	}
    	return len(p), nil
    }
    
    func (b *wholeBitrotWriter) Close() error {
    	return nil
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Jan 31 02:11:45 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/nt/FileNotifyInformationImplTest.java

            byte[] buffer = new byte[totalSize];
    
            // Write next entry offset (4 bytes)
            SMBUtil.writeInt4(nextOffset, buffer, 0);
    
            // Write action (4 bytes)
            SMBUtil.writeInt4(action, buffer, 4);
    
            // Write file name length (4 bytes)
            SMBUtil.writeInt4(fileNameBytes.length, buffer, 8);
    
            // Write file name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  7. ci/official/utilities/setup.sh

      # e.g. `declare -x TFCI_BAZEL_COMMON_ARGS="list of args"` for bash.
      export -p | grep TFCI > "$FROM_ENV"
    
      # Source the default ci values
      source ./ci/official/envs/ci_default
    
      # TODO(angerson) write this documentation
      # Sources every env, in order, from the comma-separated list "TFCI"
      # Assumes variables will resolve themselves correctly.
      set +u
      for env_file in ${TFCI//,/ }; do
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Jan 09 18:37:25 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileBothDirectoryInfoTest.java

            SMBUtil.writeInt4(0, buffer, 64); // eaSize
    
            // Write short name length and short name
            byte[] shortNameBytes = Strings.getUNIBytes(shortName);
            buffer[68] = (byte) shortNameBytes.length; // shortNameLength
            System.arraycopy(shortNameBytes, 0, buffer, 70, Math.min(shortNameBytes.length, 24));
    
            // Write filename
            if (unicode) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  9. ci/official/envs/public_cache_push

    # limitations under the License.
    # ==============================================================================
    # Sourcing this enables Bazel remote cache (read and write)
    # Note that "_push" cache configs write to GCS buckets and require
    # authentication. If you are not a Googler, source "public_cache" to enable the
    # public read-only cache.
    # The cache configs are different for MacOS and Linux
    Registered: Tue Sep 09 12:39:10 UTC 2025
    - Last Modified: Thu Feb 01 03:21:19 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

             */
            return 0;
        }
    
        /*
         * We overload this method from ServerMessageBlock because
         * we want writeAndXWireFormat to write the parameterWords
         * and bytes. This is so we can write batched smbs because
         * all but the first smb of the chaain do not have a header
         * and therefore we do not want to writeHeaderWireFormat. We
         * just recursivly call writeAndXWireFormat.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
Back to top