Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 89 for 4097 (0.01 sec)

  1. src/test/java/jcifs/internal/smb1/trans/SmbComTransactionTest.java

            assertEquals(8192, transaction.maxBufferSize);
        }
    
        @Test
        @DisplayName("Test setMaxDataCount")
        void testSetMaxDataCount() {
            transaction.setMaxDataCount(4096);
            assertEquals(4096, transaction.maxDataCount);
        }
    
        @Test
        @DisplayName("Test buffer management")
        void testBufferManagement() {
            byte[] buffer = new byte[1024];
            buffer[0] = 0x42;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/NetShareEnum.java

            command = SMB_COM_TRANSACTION;
            subCommand = NET_SHARE_ENUM; // not really true be used by upper logic
            name = "\\PIPE\\LANMAN";
            maxParameterCount = 8;
    
            //        maxDataCount = 4096; why was this set?
            maxSetupCount = (byte) 0x00;
            setupCount = 0;
            timeout = 5000;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/net/NetShareEnum.java

         */
        public NetShareEnum(final Configuration config) {
            super(config, SMB_COM_TRANSACTION, NET_SHARE_ENUM);
            this.name = "\\PIPE\\LANMAN";
            this.maxParameterCount = 8;
    
            // maxDataCount = 4096; why was this set?
            this.maxSetupCount = (byte) 0x00;
            this.setupCount = 0;
            this.timeout = 5000;
        }
    
        @Override
        protected int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            assertEquals(50, response.getServerData().smaxMpxCount);
            assertEquals(1, response.getServerData().maxNumberVcs);
            assertEquals(16384, response.getServerData().maxBufferSize);
            assertEquals(4096, response.getServerData().maxRawSize);
            assertEquals(0x04030201, response.getServerData().sessKey);
            assertEquals(0x80, response.getServerData().scapabilities);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  5. src/main/assemblies/files/tomcat_config.properties

    tomcat.URIEncoding = UTF-8
    tomcat.useBodyEncodingForURI = true
    #tomcat.secure=false
    #tomcat.scheme=http
    #tomcat.bindAddress=127.0.0.1
    #tomcat.proxyPort=
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Aug 11 21:43:37 UTC 2018
    - 639 bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    
    import jcifs.smb1.util.LogStream;
    
    class TransactNamedPipeInputStream extends SmbFileInputStream {
    
        private static final int INIT_PIPE_SIZE = 4096;
    
        private byte[] pipe_buf = new byte[INIT_PIPE_SIZE];
        private int beg_idx, nxt_idx, used;
        private final boolean dcePipe;
    
        Object lock;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            writeInt8(2000, buffer, 0); // total allocation units
            writeInt8(1000, buffer, 8); // free allocation units
            writeInt4(8, buffer, 16); // sectors per allocation unit
            writeInt4(4096, buffer, 20); // bytes per sector
    
            int bytesRead = response.readDataWireFormat(buffer, 0, buffer.length);
    
            assertEquals(24, bytesRead, "Should read 24 bytes");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt

        val s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789"
        for (i in s.indices) {
          assertRoundTrip(s.substring(0, i).encodeUtf8())
        }
        val random = Random(123456789L)
        val buf = ByteArray(4096)
        random.nextBytes(buf)
        assertRoundTrip(buf.toByteString())
      }
    
      private fun assertRoundTrip(data: ByteString) {
        val encodeBuffer = Buffer()
        encode(data, encodeBuffer)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

        route: Route?,
        response: Response,
      ): Request? {
        val challenges = response.challenges()
        val request = response.request
        val url = request.url
        val proxyAuthorization = response.code == 407
        val proxy = route?.proxy ?: Proxy.NO_PROXY
    
        for (challenge in challenges) {
          if (!"Basic".equals(challenge.scheme, ignoreCase = true)) {
            continue
          }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  10. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

        val message = formatMessage(record)
    
        val time = Instant.ofEpochMilli(record.millis).atZone(offset)
    
        return if (record.thrown != null) {
          val sw = StringWriter(4096)
          val pw = PrintWriter(sw)
          record.thrown.printStackTrace(pw)
          String.format("%s\t%s%n%s%n", time.format(d), message, sw.toString())
        } else {
          String.format("%s\t%s%n", time.format(d), message)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.1K bytes
    - Viewed (1)
Back to top