Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for bufferNdx (0.06 sec)

  1. src/main/java/jcifs/smb1/util/MD4.java

         */
        @Override
        public byte[] engineDigest() {
            // pad output to 56 mod 64; as RFC1320 puts it: congruent to 448 mod 512
            final int bufferNdx = (int) (count % BLOCK_LENGTH);
            final int padLen = bufferNdx < 56 ? 56 - bufferNdx : 120 - bufferNdx;
    
            // padding is alwas binary 1 followed by binary 0s
            final byte[] tail = new byte[padLen + 8];
            tail[0] = (byte) 0x80;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SmbWatchHandle.java

         *
         * Closing the context should cancel a pending notify request, but that does not seem to work reliable in all
         * implementations.
         *
         * Changes in between these calls (as long as the file is open) are buffered by the server, so iteratively calling
         * this method should provide all changes (size of that buffer can be adjusted through
         * {@link jcifs.Configuration#getNotifyBufferSize()}).
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/io/Smb2FlushResponse.java

    import jcifs.internal.SMBProtocolDecodingException;
    import jcifs.internal.smb2.ServerMessageBlock2Response;
    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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/io/Smb2FlushRequest.java

    import jcifs.internal.smb2.ServerMessageBlock2Request;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.util.SMBUtil;
    
    /**
     * 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 {
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

        void availableReturnsUnderlyingWhenNoMessage() throws IOException {
            // Mock input stream that reports available bytes
            InputStream mockIn = mock(InputStream.class);
            when(mockIn.available()).thenReturn(42);
    
            SocketInputStream sis = new SocketInputStream(mockIn);
    
            // When no message is buffered, should return underlying stream's available
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        public static final int FILE_WRITE_THROUGH = 0x2;
        /**
         * Access to the file is sequential only
         */
        public static final int FILE_SEQUENTIAL_ONLY = 0x4;
        /**
         * File cannot be cached or buffered at intermediate levels
         */
        public static final int FILE_NO_IMTERMEDIATE_BUFFERING = 0x8;
        /**
         * All operations on the file are performed synchronously with alerts
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/lease/LeaseManager.java

            WeakReference<SmbFile> ref = fileCache.get(path);
            if (ref != null) {
                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
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 18.8K bytes
    - Viewed (0)
  8. cmd/admin-handlers.go

    		return
    	}
    	setEventStreamHeaders(w)
    
    	// Trace Publisher and peer-trace-client uses nonblocking send and hence does not wait for slow receivers.
    	// Keep 100k buffered channel.
    	// If receiver cannot keep up with that we drop events.
    	traceCh := make(chan []byte, 100000)
    	peers, _ := newPeerRestClients(globalEndpoints)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 99.6K bytes
    - Viewed (0)
  9. docs/recipes.md

    Here we `POST` a request body as a stream. The content of this request body is being generated as it's being written. This example streams directly into the [Okio](https://github.com/square/okio) buffered sink. Your programs may prefer an `OutputStream`, which you can get from `BufferedSink.outputStream()`.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client = OkHttpClient()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  10. cmd/bucket-lifecycle.go

    		es.stats.missedExpiryTasks.Add(1)
    	}
    }
    
    // globalExpiryState is the per-node instance which manages all ILM expiry tasks.
    var globalExpiryState *expiryState
    
    // newExpiryState creates an expiryState with buffered channels allocated for
    // each ILM expiry task type.
    func newExpiryState(ctx context.Context, objAPI ObjectLayer, n int) *expiryState {
    	es := &expiryState{
    		ctx:    ctx,
    		objAPI: objAPI,
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33.7K bytes
    - Viewed (0)
Back to top