Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,215 for Rewrite (0.12 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/org/codelibs/fess/suggest/index/writer/SuggestIndexWriter.java

     * and delete by query suggest items in an OpenSearch index.
     */
    public class SuggestIndexWriter implements SuggestWriter {
        /**
         * Constructs a new {@link SuggestIndexWriter}.
         */
        public SuggestIndexWriter() {
            // nothing
        }
    
        @Override
    Registered: Fri Sep 19 09:08:11 UTC 2025
    - Last Modified: Thu Aug 07 02:41:28 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. android/guava-tests/test/com/google/common/hash/AbstractByteHasherTest.java

        private final ByteArrayOutputStream out = new ByteArrayOutputStream();
    
        @Override
        protected void update(byte b) {
          out.write(b);
        }
    
        @Override
        protected void update(byte[] b, int off, int len) {
          out.write(b, off, len);
        }
    
        byte[] bytes() {
          return out.toByteArray();
        }
    
        void assertBytes(byte[] expected) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top