- Sort Score
- Result 10 results
- Languages All
Results 261 - 270 of 1,715 for writeFn (0.05 sec)
-
api/go1.17.txt
pkg archive/zip, method (*Writer) Copy(*File) error pkg archive/zip, method (*Writer) CreateRaw(*FileHeader) (io.Writer, error) pkg compress/lzw, method (*Reader) Close() error pkg compress/lzw, method (*Reader) Read([]uint8) (int, error) pkg compress/lzw, method (*Reader) Reset(io.Reader, Order, int) pkg compress/lzw, method (*Writer) Close() error pkg compress/lzw, method (*Writer) Reset(io.Writer, Order, int)
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Fri Feb 17 20:31:46 UTC 2023 - 18K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/lease/LeaseManager.java
} releaseLease(key); }); } /** * Flush cached writes for a file path * * @param path file path */ private void flushCachedWrites(String path) { log.debug("Flushing cached writes for path: {}", path); WeakReference<SmbFile> ref = fileCache.get(path); if (ref != null) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 18.8K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/DcerpcMessageTest.java
m.flags = 0x05; m.call_id = 0x123; NdrBuffer buf = new NdrBuffer(new byte[1024], 0); m.encode(buf); // Reset to read what was written buf.setIndex(0); // Verify header was written correctly assertEquals(5, buf.dec_ndr_small()); // RPC version assertEquals(0, buf.dec_ndr_small()); // minor version assertEquals(0, buf.dec_ndr_small()); // ptype
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/badword/ApiAdminBadwordAction.java
final Path tempFile = ComponentUtil.getSystemHelper().createTempFile("fess-badword-", ".csv").toPath(); try { try (Writer writer = new BufferedWriter(new OutputStreamWriter(Files.newOutputStream(tempFile), getCsvEncoding()))) { badWordService.exportCsv(writer); } catch (final Exception e) { logger.warn("Failed to process a request.", e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 10.3K bytes - Viewed (0) -
misc/go_android_exec/main.go
return &exitCodeFilter{w: w, exitRe: exitRe}, exitStr } func (f *exitCodeFilter) Write(data []byte) (int, error) { n := len(data) f.buf.Write(data) // Flush to w until a potential match of exitRe b := f.buf.Bytes() match := f.exitRe.FindIndex(b) if match == nil { // Flush all of the buffer. _, err := f.w.Write(b) f.buf.Reset() if err != nil { return n, err } } else {
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Aug 21 17:46:57 UTC 2023 - 15.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt
override fun contentType(): MediaType? = "text/plain".toMediaType() override fun contentLength(): Long = chunk!!.size * 8L override fun writeTo(sink: BufferedSink) { try { var i = 0 while (i < contentLength()) { sink.write(chunk!!) sink.flush() Thread.sleep(100) i += chunk.size } } catch (e: IOException) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 60.4K bytes - Viewed (0) -
lib/time/mkzip.go
// Copyright 2022 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. //go:build ignore // Mkzip writes a zoneinfo.zip with the content of the current directory // and its subdirectories, with no compression, suitable for package time. // // Usage: // // go run ../../mkzip.go ../../zoneinfo.zip //
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Mon Mar 04 17:32:07 UTC 2024 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/CharSourceTest.java
assertFalse(source.wasStreamClosed()); StringWriter writer = new StringWriter(); char[] buf = new char[64]; int read; while ((read = reader.read(buf)) != -1) { writer.write(buf, 0, read); } reader.close(); writer.close(); assertTrue(source.wasStreamClosed()); assertEquals(STRING, writer.toString()); } public void testLines() throws IOException {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
cmd/xl-storage_noatime_supported.go
) var ( // Disallow updating access times // Add non-block to avoid syscall to attempt to set epoll on files. readMode = os.O_RDONLY | 0x40000 | syscall.O_NONBLOCK // O_NOATIME // Write with data sync only used only for `xl.meta` writes writeMode = 0x1000 | syscall.O_NONBLOCK // O_DSYNC
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Jul 23 16:36:24 UTC 2024 - 1.1K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/notify/Smb2ChangeNotifyRequest.java
/** * Notify when alternate data stream size changes */ public static final int FILE_NOTIFY_CHANGE_STREAM_SIZE = 0x400; /** * Notify when alternate data stream is written */ public static final int FILE_NOTIFY_CHANGE_STREAM_WRITE = 0x800; private final byte[] fileId; private final int outputBufferLength; private int notifyFlags; private int completionFilter;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.5K bytes - Viewed (0)