Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 1,144 for rewrite (0.09 sec)

  1. .github/workflows/missing_playground.yml

    name: "Close Missing Playground issues"
    on:
      schedule:
      - cron: "*/10 * * * *"
    
    permissions:
      contents: read
    
    jobs:
      stale:
        permissions:
          issues: write  # for actions/stale to close stale issues
          pull-requests: write  # for actions/stale to close stale PRs
        runs-on: ubuntu-latest
        env:
          ACTIONS_STEP_DEBUG: true
        steps:
        - name: Close Stale Issues
          uses: actions/stale@v8
          with:
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Tue Apr 11 02:27:05 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationTest.java

            byte[] dst = new byte[2];
    
            // When
            int bytesWritten = trans.writeSetupWireFormat(dst, 0);
    
            // Then
            assertEquals(2, bytesWritten, "Should write 2 bytes.");
            assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, dst[0], "The first byte should be the subCommand.");
            assertEquals((byte) 0x00, dst[1], "The second byte should be 0.");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java

            byte[] hdr = new byte[64]; // SMB2 header is 64 bytes
            System.arraycopy(SMBUtil.SMB2_HEADER, 0, hdr, 0, 64);
            // Write Status (little-endian) at offset 8 in the SMB2 header
            SMBUtil.writeInt4(status, hdr, 8);
            // Write Command = SMB2_IOCTL (0x000B) at offset 12
            SMBUtil.writeInt2(0x000B, hdr, 12);
            // Mark as server response to be realistic (optional)
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  6. cmd/api-headers.go

    	e.Encode(response)
    	return bytesBuffer.Bytes()
    }
    
    // Write parts count
    func setPartsCountHeaders(w http.ResponseWriter, objInfo ObjectInfo) {
    	if strings.Contains(objInfo.ETag, "-") && len(objInfo.Parts) > 0 {
    		w.Header()[xhttp.AmzMpPartsCount] = []string{strconv.Itoa(len(objInfo.Parts))}
    	}
    }
    
    // Write object header
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/cache/DiskLruCacheTest.kt

        setUp(parameters.first, parameters.second)
        cache.close()
        writeFile(getCleanFile("k1", 0), "A")
        writeFile(getCleanFile("k1", 1), "B")
        filesystem.write(journalFile) {
          writeUtf8(
            // No trailing newline.
            """
            |${DiskLruCache.MAGIC}
            |${DiskLruCache.VERSION_1}
            |100
            |2
            |
            |CLEAN k1 1 1
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 75.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/SmbResource.java

         * file attributes such as ACLs but it does copy regular attributes as
         * well as create and last write times. This method is almost twice as
         * efficient as manually copying as it employs an additional write
         * thread to read and write data concurrently.
         * <br>
         * It is not possible (nor meaningful) to copy entire workgroups or
         * servers.
         *
         * @param dest
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  9. cmd/bucket-listobjects-handlers.go

    		return
    	}
    	response := generateListVersionsResponse(ctx, bucket, prefix, marker, versionIDMarker, delimiter, encodingType, maxkeys, listObjectVersionsInfo, checkObjMeta)
    
    	// Write success response.
    	writeSuccessResponseXML(w, encodeResponseList(response))
    }
    
    // ListObjectsV2MHandler - GET Bucket (List Objects) Version 2 with metadata.
    // --------------------------
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Mon Feb 03 21:03:04 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. 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)
Back to top