Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 966 for buffer2 (0.28 sec)

  1. src/archive/tar/example_test.go

    package tar_test
    
    import (
    	"archive/tar"
    	"bytes"
    	"fmt"
    	"io"
    	"log"
    	"os"
    )
    
    func Example_minimal() {
    	// Create and add some files to the archive.
    	var buf bytes.Buffer
    	tw := tar.NewWriter(&buf)
    	var files = []struct {
    		Name, Body string
    	}{
    		{"readme.txt", "This archive contains some text files."},
    		{"gopher.txt", "Gopher names:\nGeorge\nGeoffrey\nGonzo"},
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Thu Nov 16 16:54:08 UTC 2017
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb2/rdma/RdmaCredits.java

     */
    package jcifs.internal.smb2.rdma;
    
    /**
     * RDMA credit management for flow control.
     *
     * Credits are used to control the flow of messages between
     * RDMA peers to prevent buffer overflow.
     */
    public class RdmaCredits {
    
        private int initialCredits;
        private int creditsGranted;
    
        /**
         * Create new RDMA credits manager
         */
        public RdmaCredits() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilderFactory.java

         * @return a new message builder
         */
        @Nonnull
        MessageBuilder builder();
    
        /**
         * Creates a new message builder of the specified size.
         * @param size the initial size of the message builder buffer
         * @return a new message builder
         */
        @Nonnull
        MessageBuilder builder(int size);
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jan 08 10:37:09 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/context/BaseContextTest.java

        }
    
        @Test
        @DisplayName("getBufferCache should return initialized buffer cache")
        void testGetBufferCache() {
            // When
            BufferCache bufferCache = context.getBufferCache();
    
            // Then
            assertNotNull(bufferCache, "Buffer cache should not be null");
            assertSame(bufferCache, context.getBufferCache(), "Should return same instance on multiple calls");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt

    import okhttp3.Cookie
    import okhttp3.CookieJar
    import okhttp3.Interceptor
    import okhttp3.Response
    import okhttp3.internal.USER_AGENT
    import okhttp3.internal.toHostHeader
    import okio.GzipSource
    import okio.buffer
    
    /**
     * Bridges from application code to network code. First it builds a network request from a user
     * request. Then it proceeds to call the network. Finally it builds a user response from the network
     * response.
     */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequest.java

            this.fileId = fileId;
        }
    
        /**
         * Constructs an SMB2 IOCTL request with output buffer
         * @param config the client configuration
         * @param controlCode the IOCTL control code
         * @param fileId the file identifier
         * @param outputBuffer the output buffer for the IOCTL operation
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/SmbComReadAndX.java

            return 0;
        }
    
        @Override
        protected int readParameterWordsWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        protected int readBytesWireFormat(final byte[] buffer, final int bufferIndex) {
            return 0;
        }
    
        @Override
        public String toString() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/io/FaultyFileSystem.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.io
    
    import java.io.IOException
    import okio.Buffer
    import okio.FileSystem
    import okio.ForwardingFileSystem
    import okio.ForwardingSink
    import okio.Path
    import okio.Sink
    
    class FaultyFileSystem constructor(
      delegate: FileSystem?,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/ServerData.java

         * Server flags2 field from the SMB header.
         */
        public int sflags2;
        /**
         * Maximum number of outstanding multiplex requests.
         */
        public int smaxMpxCount;
        /**
         * Maximum buffer size the server can handle.
         */
        public int maxBufferSize;
        /**
         * Session key for this connection.
         */
        public int sessKey;
        /**
         * Server capabilities bitmap.
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

            assertEquals((byte) ((TEST_SID >> 8) & 0xFF), dst[4]);
        }
    
        @Test
        void testReadParameterWordsReturnsZero() {
            byte[] buffer = new byte[2];
            int rc = instance.readParameterWordsWireFormat(buffer, 0);
            assertEquals(0, rc, "readParameterWordsWireFormat should return 0 for this SMB");
        }
    
        @Test
        void testWriteBytesReturnsZero() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
Back to top