- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 1,167 for Rewrite (0.11 sec)
-
src/test/java/org/codelibs/core/io/CloseableUtilTest.java
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 2.2K bytes - Viewed (0) -
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 Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:22:54 UTC 2024 - 3.8K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcPipeHandle.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.smb1.dcerpc; import java.net.*; import jcifs.smb1.dcerpc.ndr.NdrBuffer;
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 21:10:40 UTC 2019 - 3.7K bytes - Viewed (0) -
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 Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Dec 20 14:09:34 UTC 2020 - 26K bytes - Viewed (1) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/inheritance/DefaultInheritanceAssemblerTest.java
Model assembled = assembler.assembleModelInheritance(child, parent, null, problems); // write baseName + "-actual" File actual = new File( "target/test-classes/poms/inheritance/" + baseName + (fromRepo ? "-build" : "-repo") + "-actual.xml"); writer.write(actual, null, assembled); // check with getPom( baseName + "-expected" )
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 7.9K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilJvm.kt
*/ @JvmStatic fun fragmentBuffer(buffer: Buffer): Buffer { // Write each byte into a new buffer, then clone it so that the segments are shared. // Shared segments cannot be compacted so we'll get a long chain of short segments. val result = Buffer() while (!buffer.exhausted()) { val box = Buffer() box.write(buffer, 1) result.write(box.copy(), 1) } return result }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 4.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/MessageDeflaterInflaterTest.kt
val inflater = MessageInflater(false) val buffer = fragmentBuffer(Buffer().write("f248cdc9c957c8cc4bcb492cc9cccf530400".decodeHex())) inflater.inflate(buffer) assertThat(buffer.readUtf8()).isEqualTo("Hello inflation!") } private fun MessageDeflater.deflate(byteString: ByteString): ByteString { val buffer = Buffer() buffer.write(byteString) deflate(buffer) return buffer.readByteString() }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 06 05:31:00 UTC 2024 - 5K bytes - Viewed (0) -
internal/s3select/select_benchmark_test.go
} return string(b) } func genSampleCSVData(count int) []byte { buf := &bytes.Buffer{} csvWriter := csv.NewWriter(buf) csvWriter.Write([]string{"id", "name", "age", "city"}) for i := 0; i < count; i++ { csvWriter.Write([]string{ strconv.Itoa(i), newRandString(10), newRandString(5), newRandString(10), }) } csvWriter.Flush() return buf.Bytes() }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 14 13:54:47 UTC 2022 - 5K bytes - Viewed (0) -
src/main/java/org/codelibs/core/nio/ChannelUtil.java
* バイトバッファ。{@literal null}であってはいけません * @return 書き込んだバイト数 */ public static int write(final FileChannel channel, final ByteBuffer buffer) { assertArgumentNotNull("channel", channel); assertArgumentNotNull("buffer", buffer); try { return channel.write(buffer); } catch (final IOException e) { throw new IORuntimeException(e); } }
Registered: Fri Nov 01 20:58:10 UTC 2024 - Last Modified: Thu Mar 07 01:59:08 UTC 2024 - 6K bytes - Viewed (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) })
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Mar 18 06:42:40 UTC 2024 - 2.2K bytes - Viewed (0)