Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for 0x10000 (0.13 sec)

  1. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                when(mockTree.areSignaturesActive()).thenReturn(false);
                when(mockConfig.getReceiveBufferSize()).thenReturn(0x200000); // large to allow big block size
                when(mockTree.getReceiveBufferSize()).thenReturn(0x200000);
                when(mockTree.getMaximumBufferSize()).thenReturn(0x200000);
    
                // Make TYPE_FILESYSTEM path, not named pipe
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/math/MathBenchmarking.java

     * the order of magnitude of the generated values uniformly at random.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    final class MathBenchmarking {
      static final int ARRAY_SIZE = 0x10000;
      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/util/XmlUtil.java

         * - Tab (0x9)
         * - Line feed (0xA)
         * - Carriage return (0xD)
         * - Any character between 0x20 and 0xD7FF
         * - Any character between 0xE000 and 0xFFFD
         * - Any character between 0x10000 and 0x10FFFF
         *
         * @param in the input string to be processed
         * @return a new string with invalid XML characters removed, or the original
         *         string if it is empty
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/math/MathBenchmarking.java

     * the order of magnitude of the generated values uniformly at random.
     *
     * @author Louis Wasserman
     */
    @NullUnmarked
    final class MathBenchmarking {
      static final int ARRAY_SIZE = 0x10000;
      static final int ARRAY_MASK = 0x0ffff;
      static final Random RANDOM_SOURCE = new Random(314159265358979L);
      static final int MAX_EXPONENT = 100;
    
      /*
       * Duplicated from LongMath.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/netbios/SessionServicePacketTest.java

        @Test
        @DisplayName("writeWireFormat should handle large lengths correctly")
        void testWriteWireFormatLargeLength() {
            packet.type = SessionServicePacket.SESSION_MESSAGE;
            packet.trailerLength = 0x10000; // Length requiring extended bit
    
            byte[] dst = new byte[100];
            packet.writeWireFormat(dst, 0);
    
            assertEquals((byte) 0x01, dst[1]); // Extended length bit should be set
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransCallNamedPipeTest.java

            byte[] maxData = new byte[0xFFFF];
            Arrays.fill(maxData, (byte) 0x55);
            transCallNamedPipe = new TransCallNamedPipe(mockConfig, TEST_PIPE_NAME, maxData, 0, maxData.length);
            byte[] dst = new byte[0x10000];
    
            // When
            int bytesWritten = transCallNamedPipe.writeDataWireFormat(dst, 0);
    
            // Then
            assertEquals(maxData.length, bytesWritten);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/srvsvcTest.java

            srvsvc.ShareInfoCtr502 ctr502 = new srvsvc.ShareInfoCtr502();
    
            when(mockNdrBuffer.dec_ndr_long()).thenReturn(10, 1); // count, array pointer
            when(mockDeferredBuffer.dec_ndr_long()).thenReturn(0x10000); // invalid array size
    
            assertThrows(NdrException.class, () -> ctr502.decode(mockNdrBuffer));
        }
    
        @Test
        void testShareEnumAllConstructor() {
            String servername = "\\\\SERVER";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            assertEquals(0x8000, Smb2CreateRequest.FILE_NO_COMPRESSION);
            assertEquals(0x10000, Smb2CreateRequest.FILE_OPEN_REQUIRING_OPLOCK);
            assertEquals(0x20000, Smb2CreateRequest.FILE_DISALLOW_EXCLUSIVE);
            assertEquals(0x100000, Smb2CreateRequest.FILE_RESERVE_OPFILTER);
            assertEquals(0x200000, Smb2CreateRequest.FILE_OPEN_REPARSE_POINT);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/create/Smb2CreateRequest.java

        /**
         * The file is being opened and an oplock is being requested as an atomic operation
         */
        public static final int FILE_OPEN_REQUIRING_OPLOCK = 0x10000;
        /**
         * Any open of this file cannot be exclusive
         */
        public static final int FILE_DISALLOW_EXCLUSIVE = 0x20000;
        /**
         * Reserve an opportunistic lock filter on the open
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 22.9K bytes
    - Viewed (0)
  10. src/test/java/jcifs/config/BaseConfigurationTest.java

        }
    
        @Test
        @DisplayName("Test buffer configuration getters")
        void testBufferConfigurationGetters() {
            assertEquals(0xFFFF - 512, config.getTransactionBufferSize());
            assertEquals(0x10000, config.getMaximumBufferSize());
            assertEquals(16, config.getBufferCacheSize());
            assertEquals(200, config.getListCount());
            assertEquals(65435, config.getListSize());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 20.6K bytes
    - Viewed (0)
Back to top