Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 127 for 4096 (0.17 sec)

  1. src/main/java/jcifs/internal/dtyp/SecurityDescriptor.java

                SMBUtil.readInt2(buffer, bufferIndex);
                bufferIndex += 2;
                final int numAces = SMBUtil.readInt4(buffer, bufferIndex);
                bufferIndex += 4;
    
                if (numAces > 4096) {
                    throw new SMBProtocolDecodingException("Invalid SecurityDescriptor");
                }
    
                this.aces = new ACE[numAces];
                for (int i = 0; i < numAces; i++) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/io/ReaderUtil.java

     */
    public abstract class ReaderUtil {
    
        /**
         * Do not instantiate.
         */
        protected ReaderUtil() {
        }
    
        /** Default buffer size */
        private static final int BUF_SIZE = 4096;
    
        /**
         * Creates a {@link Reader} to read from a file with the specified encoding.
         *
         * @param is
         *            the input stream (must not be {@literal null})
         * @param encoding
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

                assertEquals(0L, SMBUtil.readInt8(buffer, offset));
                assertEquals(1024L, SMBUtil.readInt8(buffer, offset + 8));
                assertEquals(4096, SMBUtil.readInt4(buffer, offset + 16));
    
                offset += CHUNK_SIZE;
                assertEquals(4096L, SMBUtil.readInt8(buffer, offset));
                assertEquals(5120L, SMBUtil.readInt8(buffer, offset + 8));
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  4. docs/smb3-features/05-rdma-smb-direct-design.md

        assumeTrue(provider.isAvailable());
        
        ByteBuffer buffer = ByteBuffer.allocateDirect(4096);
        RdmaMemoryRegion region = provider.registerMemory(buffer, 
            EnumSet.of(RdmaAccess.LOCAL_READ, RdmaAccess.REMOTE_READ));
        
        assertNotNull(region);
        assertEquals(4096, region.getSize());
        assertTrue(region.hasAccess(RdmaAccess.LOCAL_READ));
        
        region.close();
    }
    
    @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 35.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlRequestTest.java

        void testSetMaxOutputResponse() {
            setupMockConfig();
            Smb2IoctlRequest request = new Smb2IoctlRequest(mockConfig, TEST_CONTROL_CODE);
            int maxOutput = 4096;
    
            request.setMaxOutputResponse(maxOutput);
    
            assertNotNull(request);
        }
    
        @Test
        @DisplayName("Test setInputData method")
        void testSetInputData() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            lenient().when(tree.acquire()).thenReturn(tree);
            lenient().when(tree.getConfig()).thenReturn(config);
            lenient().when(config.getListCount()).thenReturn(10);
            lenient().when(config.getListSize()).thenReturn(4096);
    
            lenient().when(parent.getLocator()).thenReturn(locator);
            lenient().when(locator.getUNCPath()).thenReturn("\\\\SERVER\\Share\\dir\\"); // ends with \\
    
            // Create URL with registered handler
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  7. src/cmd/asm/internal/asm/testdata/loong64enc1.s

    	JMP	foo(SB)			// 00000050
    
    	JMP	(R4)			// 8000004c
    	JMP	1(PC)			// 00040050
    	MOVW	$65536, R4		// 04020014
    	MOVW	$4096, R4		// 24000014
    	MOVV	$65536, R4		// 04020014
    	MOVB	R4, R5			// 855c0000
    	MOVH	R4, R5			// 85580000
    	MOVV	$4096, R4		// 24000014
    	MOVW	R4, R5			// 85001700
    	MOVWU	R4, R5			// 8500df00
    	MOVV	R4, R5			// 85001500
    	MOVBU	R4, R5			// 85fc4303
    	SUB	R4, R5, R6		// a6101100
    Registered: Tue Dec 30 11:13:12 UTC 2025
    - Last Modified: Thu Nov 27 00:46:52 UTC 2025
    - 44.5K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/curl/CurlResponse.java

         *
         * @return the content as a string.
         * @throws CurlException if an error occurs while accessing the content.
         */
        public String getContentAsString() {
            final byte[] bytes = new byte[4096];
            try (BufferedInputStream bis = new BufferedInputStream(getContentAsStream());
                    ByteArrayOutputStream baos = new ByteArrayOutputStream()) {
                int length = bis.read(bytes);
    Registered: Sat Dec 20 09:13:53 UTC 2025
    - Last Modified: Mon Nov 24 03:10:07 UTC 2025
    - 7K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbPipeHandleInternalTest.java

            when(pipe.ensureTreeConnected()).thenReturn(tree);
            when(tree.acquire()).thenReturn(tree);
            when(tree.isSMB2()).thenReturn(true); // simplifies stream init
            when(tree.getReceiveBufferSize()).thenReturn(4096);
    
            // Act: first calls construct streams, second calls return cached
            SmbPipeInputStream in1 = handle.getInput();
            SmbPipeInputStream in2 = handle.getInput();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/IoTestCase.java

      private static void copy(URL url, File file) throws IOException {
        InputStream in = url.openStream();
        try {
          OutputStream out = new FileOutputStream(file);
          try {
            byte[] buf = new byte[4096];
            for (int read = in.read(buf); read != -1; read = in.read(buf)) {
              out.write(buf, 0, read);
            }
          } finally {
            out.close();
          }
        } finally {
          in.close();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top