Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 128 for 512m (0.03 sec)

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

            });
        }
    
        @Test
        @DisplayName("Test hash algorithm names")
        public void testHashAlgorithmNames() {
            assertEquals("SHA-512", PreauthIntegrityService.getHashAlgorithmName(PreauthIntegrityService.HASH_ALGO_SHA512));
            assertTrue(PreauthIntegrityService.getHashAlgorithmName(0xFF).startsWith("Unknown"));
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtSocket.java

    write( buf, 4, len ). Calling write( buf, 0, len ) will generate an error.
     */
    
    public class NbtSocket extends Socket {
    
        private static final int SSN_SRVC_PORT = 139;
        private static final int BUFFER_SIZE = 512;
        private static final int DEFAULT_SO_TIMEOUT = 5000;
    
        private static LogStream log = LogStream.getInstance();
    
        private NbtAddress address;
        private Name calledName;
        private int soTimeout;
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  3. kotlin-js-store/yarn.lock

      dependencies:
        function-bind "^1.1.1"
        has "^1.0.3"
        has-symbols "^1.0.3"
    
    glob-parent@~5.1.2:
      version "5.1.2"
      resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4"
      integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==
      dependencies:
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jul 22 12:28:51 UTC 2023
    - 87.4K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/io/FileUtilTest.java

            try {
                out.write(data);
            } finally {
                out.close();
            }
    
            // Set maxSize smaller than file size (should throw exception)
            FileUtil.readBytes(file, 512);
        }
    
        /**
         * Test readBytes with custom maxSize of zero
         *
         * @throws Exception
         */
        @Test(expected = IORuntimeException.class)
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 10.3K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/CommonServerMessageBlockTest.java

        }
    
        @Test
        @DisplayName("Test encode and decode round trip")
        void testEncodeDecodeRoundTrip() throws SMBProtocolDecodingException {
            // Given
            byte[] buffer = new byte[512];
            int encodeIndex = 0;
            int decodeIndex = 0;
            int encodeLength = 100;
            int decodeLength = 100;
    
            when(messageBlock.encode(buffer, encodeIndex)).thenReturn(encodeLength);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            int[][] testCases = { { 0, 256 }, { 128, 128 }, { 255, 1 }, { 0, 0 } };
    
            for (int[] testCase : testCases) {
                // Arrange
                byte[] buffer = new byte[512];
                int bufferIndex = testCase[0];
                int len = testCase[1];
    
                // Act
                int result = response.readDataWireFormat(buffer, bufferIndex, len);
    
                // Assert
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/create/Smb2CreateResponseTest.java

            // Base body part size (up to and including CreateContextsLength)
            byte[] base = buildCreateBodyNoContexts((byte) 1, (byte) 2, 3, 1000L, 2000L, 3000L, 4000L, 512L, 1024L, 0x20, fileId);
    
            // Create a simple context entry
            byte[] ctx = new byte[0x40];
            int ci = 0;
            SMBUtil.writeInt4(0, ctx, ci); // Next = 0 (only one)
            ci += 4;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        @Override
        public String toString() {
            if (isEmpty()) {
                return "empty";
            }
            StringBuilder sb = new StringBuilder(512);
            for (MetadataGraphVertex v : vertices) {
                sb.append("Vertex:  ").append(v.getMd().toString()).append('\n');
                List<MetadataGraphEdge> ins = getIncidentEdges(v);
                if (ins != null) {
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 13K bytes
    - Viewed (0)
  9. src/test/java/jcifs/netbios/SessionRequestPacketTest.java

                    new TestNetbiosName("WORKSTATION1", 0x00, "CORP.LOCAL"));
    
            // Write to buffer
            byte[] buffer = new byte[512];
            int written = originalPacket.writeWireFormat(buffer, 0);
    
            // Read from buffer
            ByteArrayInputStream bais = new ByteArrayInputStream(buffer);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        }
    
        /**
         * Formats a file size in bytes to a human-readable string with appropriate units.
         *
         * @param value the file size in bytes
         * @return formatted file size string (e.g., "1.5M", "2.3G", "512K")
         */
        public static String formatFileSize(final long value) {
            double target = value;
            String unit = ""; // TODO l10n?
            String format = "0.#";
            if (value < 1024) {
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 25.4K bytes
    - Viewed (1)
Back to top