- Sort Score
- Num 10 results
- Language All
Results 241 - 250 of 1,131 for Rewrite (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt
writer: DerWriter, value: T, ) { if (typeHint) { writer.typeHint = value } if (isOptional && value == defaultValue) { // Nothing to write! return } writer.write(name, tagClass, tag) { codec.encode(writer, value) } } /** * Returns a copy with a context tag. This should be used when the type is ambiguous on its own.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.4K bytes - Click Count (0) -
android/guava/src/com/google/common/hash/AbstractNonStreamingHashFunction.java
ByteBufferHasher(int expectedInputSize) { this.buffer = ByteBuffer.allocate(expectedInputSize).order(ByteOrder.LITTLE_ENDIAN); } /** * Resizes the buffer if necessary. Guaranteed to leave `buffer` in Write Mode ready for new * data. */ private void ensureCapacity(int needed) { if (buffer.remaining() >= needed) { return; } int currentCapacity = buffer.capacity();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 04 15:39:10 GMT 2025 - 4.8K bytes - Click Count (0) -
.github/workflows/stale-issues.yml
permissions: contents: read jobs: close-issues: # Don't do this in forks if: github.repository == 'tensorflow/tensorflow' runs-on: ubuntu-latest permissions: issues: write pull-requests: write steps: - name: Awaiting response issues uses: actions/stale@997185467fa4f803885201cee163a9f38240193d # v10.1.1 with:Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Jan 01 08:09:03 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java
byte[] buffer = new byte[256]; int written = trans2QueryPathInfo.writeSetupWireFormat(buffer, 0); // Should write 2 bytes: subcommand and 0x00 assertEquals(2, written); assertEquals(SmbComTransaction.TRANS2_QUERY_PATH_INFORMATION, buffer[0]); assertEquals(0x00, buffer[1]); } @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.4K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt
inner class FaultySink( sink: Sink, private val file: Path, ) : ForwardingSink(sink) { override fun write( source: Buffer, byteCount: Long, ) { if (writeFaults.contains(file)) { throw IOException("boom!") } else { super.write(source, byteCount) } } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 2.8K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/ServerData.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; /** * Container for SMB server negotiation data.
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java
void testWriteParameterWordsWireFormatLittleEndian() { byte[] dst = new byte[2]; int written = instance.writeParameterWordsWireFormat(dst, 0); assertEquals(2, written, "writeParameterWordsWireFormat should write exactly 2 bytes"); // SMBUtil.writeInt2 writes the low byte first (little‑endian) assertEquals((byte) (TEST_SID & 0xFF), dst[0]); assertEquals((byte) ((TEST_SID >> 8) & 0xFF), dst[1]); }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.1K bytes - Click Count (0) -
cmd/crossdomain-xml-handler.go
if globalServerCtxt.CrossDomainXML != "" { cxml = globalServerCtxt.CrossDomainXML } // Look for 'crossdomain.xml' in the incoming request. if r.URL.Path == crossDomainXMLEntity { // Write the standard cross domain policy xml. w.Write([]byte(cxml)) // Request completed, no need to serve to other handlers. return } h.ServeHTTP(w, r) })Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Mar 18 06:42:40 GMT 2024 - 2.2K bytes - Click Count (0) -
src/test/java/jcifs/netbios/SessionRequestPacketTest.java
@Test @DisplayName("Full write and read cycle should preserve data") void testFullWriteReadCycle() throws IOException { // Create original packet SessionRequestPacket originalPacket = new SessionRequestPacket(mockConfig, new TestNetbiosName("FILESERVER", 0x20, "CORP.LOCAL"), new TestNetbiosName("WORKSTATION1", 0x00, "CORP.LOCAL")); // Write to bufferCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 11.5K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb2/rdma/RdmaChannelInfo.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.rdma; /** * RDMA channel information for SMB Direct operations. *
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 24 00:12:28 GMT 2025 - 2.8K bytes - Click Count (0)