Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 2,026 for size8 (0.04 sec)

  1. src/test/java/jcifs/internal/fscc/FileEndOfFileInformationTest.java

        }
    
        @Test
        @DisplayName("Test size method returns 8")
        void testSize() {
            assertEquals(8, fileInfo.size());
    
            // Test with different instance
            FileEndOfFileInformation info = new FileEndOfFileInformation(999L);
            assertEquals(8, info.size());
        }
    
        @Test
        @DisplayName("Test encode method with valid buffer")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/ProjectDependenciesResolverTest.java

            List<String> elements = project.getCompileClasspathElements();
            assertEquals(2, elements.size());
    
            @SuppressWarnings("deprecation")
            List<Artifact> artifacts = project.getCompileArtifacts();
            assertEquals(1, artifacts.size());
            assertThat(artifacts.get(0).getFile().getName(), endsWith("tools.jar"));
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequestTest.java

        }
    
        @Test
        @DisplayName("Test size calculation with empty dialects array")
        void testSizeWithEmptyDialects() {
            int[] emptyDialects = new int[0];
            ValidateNegotiateInfoRequest request =
                    new ValidateNegotiateInfoRequest(DEFAULT_CAPABILITIES, defaultClientGuid, DEFAULT_SECURITY_MODE, emptyDialects);
    
            // Expected size: 24 (fixed) + 0
            assertEquals(24, request.size());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/util/Hexdump.java

         * @return a hexadecimal string representation of the byte array
         */
        public static String toHexString(final byte[] src, final int srcIndex, int size) {
            final char[] c = new char[size];
            size = size % 2 == 0 ? size / 2 : size / 2 + 1;
            for (int i = 0, j = 0; i < size; i++) {
                c[j] = HEX_DIGITS[src[i] >> 4 & 0x0F];
                j++;
                if (j == c.length) {
                    break;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/dfs/DfsReferralRequestBufferTest.java

                // Negative values will be cast to unsigned when encoded
                assertEquals(4 + 2 * path.length(), buffer.size());
            }
        }
    
        @Nested
        @DisplayName("Size Calculation Tests")
        class SizeTests {
    
            @ParameterizedTest
            @DisplayName("Should calculate correct size for various path lengths")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/helper/RoleQueryHelperTest.java

            assertEquals(0, roleSet.size());
    
            encrypted = false;
            value = "role1";
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(0, roleSet.size());
    
            encrypted = false;
            value = "role1,role2";
            roleSet = decodedRoleList(roleQueryHelperImpl, value, encrypted);
            assertEquals(0, roleSet.size());
    
            encrypted = false;
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 28.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java

         */
        @Size(max = 10)
        public String userFavorite;
    
        /**
         * Enable or disable JSON Web API.
         * When enabled, search results can be retrieved via JSON API.
         */
        @Size(max = 10)
        public String webApiJson;
    
        /**
         * Application-specific value for custom configurations.
         * This field can be used to store custom application settings.
         */
        @Size(max = 10000)
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 9.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/util/Hexdump.java

         * @param size the number of hex digits to write (will be left-padded with zeros)
         */
        public static void toHexChars(long val, final char dst[], final int dstIndex, int size) {
            while (size > 0) {
                dst[dstIndex + size - 1] = HEX_DIGITS[(int) (val & 0x000FL)];
                if (val != 0) {
                    val >>>= 4;
                }
                size--;
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/Smb2RdmaTransform.java

         * Get buffer length
         *
         * @return buffer length
         */
        public int getLength() {
            return length;
        }
    
        /**
         * Get size of this structure
         *
         * @return size in bytes (16)
         */
        public static int size() {
            return 16; // 8 + 4 + 4
        }
    
        /**
         * Encode this structure to byte array
         *
         * @param dst destination buffer
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/MockHttp2Peer.kt

       * explicitly closed.
       */
      fun truncateLastFrame(length: Int): Http2Writer {
        val lastFrame = outFrames.removeAt(outFrames.size - 1)
        require(length < bytesOut.size - lastFrame.start)
    
        // Move everything from bytesOut into a new buffer.
        val fullBuffer = Buffer()
        bytesOut.read(fullBuffer, bytesOut.size)
    
        // Copy back all but what we're truncating.
        fullBuffer.read(bytesOut, lastFrame.start + length)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 8.7K bytes
    - Viewed (0)
Back to top