Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 51 for flush (0.13 sec)

  1. android/guava/src/com/google/common/io/AppendableWriter.java

        checkNotClosed();
        // tricky: append takes start, end pair...
        target.append(str, off, off + len);
      }
    
      @Override
      public void flush() throws IOException {
        checkNotClosed();
        if (target instanceof Flushable) {
          ((Flushable) target).flush();
        }
      }
    
      @Override
      public void close() throws IOException {
        this.closed = true;
        if (target instanceof Closeable) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:37:28 UTC 2025
    - 3.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

    /**
     * SMB2 Flush request message.
     *
     * This command is used to flush buffered data to the
     * underlying storage device for a given file handle.
     *
     * @author mbechler
     */
    public class Smb2FlushRequest extends ServerMessageBlock2Request<Smb2FlushResponse> implements RequestWithFileId {
    
        private byte[] fileId;
    
        /**
         * Constructs an SMB2 flush request
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/util/LogStreamTest.java

            LogStream instance = LogStream.getInstance();
            assertNotNull(instance);
    
            // Write something to verify it uses our test stream
            instance.println("test message");
            instance.flush();
            String output = testOutput.toString();
            assertTrue(output.contains("test message"));
        }
    
        @Test
        void testSetInstanceMultipleTimes() {
            // Test setting instance multiple times
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.3K bytes
    - Viewed (0)
  4. cmd/admin-handlers.go

    				return
    			}
    			grid.PutByteBuffer(entry)
    			if len(traceCh) == 0 {
    				// Flush if nothing is queued
    				xhttp.Flush(w)
    			}
    		case <-keepAliveTicker.C:
    			if len(traceCh) > 0 {
    				continue
    			}
    			if _, err := w.Write([]byte(" ")); err != nil {
    				return
    			}
    			xhttp.Flush(w)
    		case <-ctx.Done():
    			return
    		}
    	}
    }
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NtlmHttpURLConnection.java

            public void close() throws IOException {
                stream.close();
                collector.close();
            }
    
            @Override
            public void flush() throws IOException {
                stream.flush();
                collector.flush();
            }
    
            @Override
            public void write(final byte[] b) throws IOException {
                stream.write(b);
                collector.write(b);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 22.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java

    import jcifs.internal.util.SMBUtil;
    
    /**
     * SMB2 Flush response message.
     *
     * This response confirms that buffered data has been
     * successfully flushed to the storage device.
     *
     * @author mbechler
     */
    public class Smb2FlushResponse extends ServerMessageBlock2Response {
    
        /**
         * Constructs an SMB2 flush response
         * @param config the client configuration
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  7. src/bufio/bufio.go

    // Writer implements buffering for an [io.Writer] object.
    // If an error occurs writing to a [Writer], no more data will be
    // accepted and all subsequent writes, and [Writer.Flush], will return the error.
    // After all data has been written, the client should call the
    // [Writer.Flush] method to guarantee all data has been forwarded to
    // the underlying [io.Writer].
    type Writer struct {
    	err error
    	buf []byte
    	n   int
    	wr  io.Writer
    }
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Sep 03 14:04:47 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/score/ScoreBooster.java

                        .setId(id)
                        .setScript(new Script(ScriptType.INLINE, scriptLang, scriptCode, params)));
            }
            if (bulkRequestBuilder.numberOfActions() > requestCacheSize) {
                flush();
            }
            return (long) ids.length;
        };
    
        /**
         * Processes the score boosting.
         * @return The number of processed documents.
         */
        public abstract long process();
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

                SmbFile file = ref.get();
                if (file != null) {
                    try {
                        // Force flush any buffered writes
                        // This would typically call file's internal flush method
                        // For now, we log the action as the actual implementation
                        // depends on SmbFile's internal caching mechanism
                        log.info("Flushed write cache for: {}", path);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SigningDigest.java

            if (LogStream.level >= 5) {
                log.println("update: " + updates + " " + offset + ":" + len);
                Hexdump.hexdump(log, input, offset, Math.min(len, 256));
                log.flush();
            }
            if (len == 0) {
                return; /* CRITICAL */
            }
            digest.update(input, offset, len);
            updates++;
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.9K bytes
    - Viewed (0)
Back to top