Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 88 for 8192 (0.05 sec)

  1. src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupRequestTest.java

            Smb2SessionSetupRequest req =
                    new Smb2SessionSetupRequest(mockContext, TEST_SECURITY_MODE, TEST_CAPABILITIES, TEST_PREVIOUS_SESSION_ID, largeToken);
            byte[] buffer = new byte[8192];
    
            // When
            req.encode(buffer, 0);
    
            // Then
            int bodyOffset = Smb2Constants.SMB2_HEADER_LENGTH;
            assertEquals(largeToken.length, SMBUtil.readInt2(buffer, bodyOffset + 14));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

                buffer[4] = 0x04; // sectPerAlloc = 4
                buffer[8] = 0x00;
                buffer[9] = 0x20; // alloc = 8192
                buffer[16] = 0x00;
                buffer[17] = 0x04; // bytesPerSect = 1024
    
                smbInfoAllocation.decode(buffer, 0, buffer.length);
    
                assertEquals(4L * 8192L * 1024L, smbInfoAllocation.getCapacity());
            }
    
            @Test
            @DisplayName("Should handle zero values")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NetworkExplorer.java

         * @throws IOException if an I/O error occurs
         */
        protected void doFile(final HttpServletRequest req, final HttpServletResponse resp, final SmbFile file) throws IOException {
            final byte[] buf = new byte[8192];
    
            @SuppressWarnings("resource")
            final ServletOutputStream out = resp.getOutputStream();
            String url;
            int n;
            try (SmbFileInputStream in = new SmbFileInputStream(file)) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/dcerpc/msrpc/samrTest.java

                assertEquals(1024, samr.ACB_AUTOLOCK);
                assertEquals(2048, samr.ACB_ENC_TXT_PWD_ALLOWED);
                assertEquals(4096, samr.ACB_SMARTCARD_REQUIRED);
                assertEquals(8192, samr.ACB_TRUSTED_FOR_DELEGATION);
                assertEquals(16384, samr.ACB_NOT_DELEGATED);
                assertEquals(32768, samr.ACB_USE_DES_KEY_ONLY);
                assertEquals(65536, samr.ACB_DONT_REQUIRE_PREAUTH);
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/http/NetworkExplorer.java

         * @throws IOException if an I/O error occurs
         */
        protected void doFile(final HttpServletRequest req, final HttpServletResponse resp, final SmbFile file) throws IOException {
            final byte[] buf = new byte[8192];
            String url, type;
            int n;
    
            try (SmbFileInputStream in = new SmbFileInputStream(file); ServletOutputStream out = resp.getOutputStream()) {
                url = file.getPath();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CharSource.java

          }
          return super.asCharSource(charset);
        }
    
        @Override
        public InputStream openStream() throws IOException {
          return new ReaderInputStream(CharSource.this.openStream(), charset, 8192);
        }
    
        @Override
        public String toString() {
          return CharSource.this.toString() + ".asByteSource(" + charset + ")";
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharSource.java

          }
          return super.asCharSource(charset);
        }
    
        @Override
        public InputStream openStream() throws IOException {
          return new ReaderInputStream(CharSource.this.openStream(), charset, 8192);
        }
    
        @Override
        public String toString() {
          return CharSource.this.toString() + ".asByteSource(" + charset + ")";
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 17:42:14 UTC 2025
    - 25.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                offset += CHUNK_SIZE;
                assertEquals(4096L, SMBUtil.readInt8(buffer, offset));
                assertEquals(5120L, SMBUtil.readInt8(buffer, offset + 8));
                assertEquals(8192, SMBUtil.readInt4(buffer, offset + 16));
    
                offset += CHUNK_SIZE;
                assertEquals(12288L, SMBUtil.readInt8(buffer, offset));
                assertEquals(13312L, SMBUtil.readInt8(buffer, offset + 8));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/samr.java

        public static final int ACB_SMARTCARD_REQUIRED = 4096;
        /** Account control bit flag: Account is trusted for delegation */
        public static final int ACB_TRUSTED_FOR_DELEGATION = 8192;
        /** Account control bit flag: Account is not delegated */
        public static final int ACB_NOT_DELEGATED = 16384;
        /** Account control bit flag: Use DES encryption keys only */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

        public static final int ACB_SMARTCARD_REQUIRED = 4096;
        /** Account control bit flag: Account is trusted for delegation */
        public static final int ACB_TRUSTED_FOR_DELEGATION = 8192;
        /** Account control bit flag: Account is not delegated */
        public static final int ACB_NOT_DELEGATED = 16384;
        /** Account control bit flag: Use DES encryption keys only */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top