Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 84 for 4096 (3.26 sec)

  1. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2QueryFSInformationResponseTest.java

            assertEquals(2000, info.alloc);
            assertEquals(1000, info.free);
            assertEquals(8, info.sectPerAlloc);
            assertEquals(4096, info.bytesPerSect);
            assertEquals(2000L * 8 * 4096, info.getCapacity(), "Capacity calculation should be correct");
            assertEquals(1000L * 8 * 4096, info.getFree(), "Free space calculation should be correct");
        }
    
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  3. 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: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Aug 11 21:43:37 UTC 2018
    - 639 bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/Trans2QueryPathInformationResponseTest.java

                standardInfo.allocationSize = 4096L;
                standardInfo.endOfFile = 2048L;
                standardInfo.numberOfLinks = 1;
    
                String str = standardInfo.toString();
    
                assertNotNull(str);
                assertTrue(str.contains("SmbQueryInfoStandard"));
                assertTrue(str.contains("allocationSize=4096"));
                assertTrue(str.contains("endOfFile=2048"));
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  6. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  7. 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 Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Apr 05 03:30:42 UTC 2024
    - 2.1K bytes
    - Viewed (1)
  8. src/test/java/jcifs/internal/fscc/FileFsSizeInformationTest.java

                buffer.putInt(4096);
                byte[] bufferArray = buffer.array();
    
                // When
                int bytesConsumed = fileFsSizeInfo.decode(bufferArray, 10, 24);
    
                // Then
                assertEquals(24, bytesConsumed);
                assertEquals(2048L * 4 * 4096, fileFsSizeInfo.getCapacity());
                assertEquals(1024L * 4 * 4096, fileFsSizeInfo.getFree());
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.9K bytes
    - Viewed (0)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        hpackWriter = Hpack.Writer(4096, false, bytesOut)
      }
    
      /**
       * Variable-length quantity special cases strings which are longer than 127 bytes.  Values such as
       * cookies can be 4KiB, and should be possible to send.
       *
       *  http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12#section-5.2
       */
      @Test
      fun largeHeaderValue() {
        val value = CharArray(4096)
        Arrays.fill(value, '!')
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Trans2GetDfsReferral.java

            path = filename;
            command = SMB_COM_TRANSACTION2;
            subCommand = TRANS2_GET_DFS_REFERRAL;
            totalDataCount = 0;
            maxParameterCount = 0;
            maxDataCount = 4096;
            maxSetupCount = (byte) 0x00;
        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, int dstIndex) {
            dst[dstIndex] = subCommand;
            dstIndex++;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
Back to top