Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1031 - 1040 of 1,848 for lengths (0.05 sec)

  1. guava-tests/test/com/google/common/primitives/LongsTest.java

      private static void testReverse(long[] input, long[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Longs.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(long[] input, int fromIndex, int toIndex, long[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Longs.reverse(input, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 28.7K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/primitives/ShortsTest.java

        input = Arrays.copyOf(input, input.length);
        Shorts.reverse(input);
        assertThat(input).isEqualTo(expectedOutput);
      }
    
      private static void testReverse(
          short[] input, int fromIndex, int toIndex, short[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Shorts.reverse(input, fromIndex, toIndex);
        assertThat(input).isEqualTo(expectedOutput);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 27.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/io/Files.java

          return true;
        }
    
        /*
         * Some operating systems may return zero as the length for files denoting system-dependent
         * entities such as devices or pipes, in which case we must fall back on comparing the bytes
         * directly.
         */
        long len1 = file1.length();
        long len2 = file2.length();
        if (len1 != 0 && len2 != 0 && len1 != len2) {
          return false;
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 32.9K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/dict/DictionaryExpiredExceptionTest.java

            DictionaryExpiredException exception = new DictionaryExpiredException();
            StackTraceElement[] stackTrace = exception.getStackTrace();
    
            assertNotNull(stackTrace);
            assertTrue(stackTrace.length > 0);
    
            // First element should be from this test method
            assertEquals("test_stackTrace", stackTrace[0].getMethodName());
            assertEquals(this.getClass().getName(), stackTrace[0].getClassName());
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/witness/WitnessHeartbeatMessage.java

            // Context handle (20 bytes)
            if (contextHandle != null) {
                buf.writeOctetArray(contextHandle, 0, Math.min(contextHandle.length, 20));
                // Pad with zeros if context handle is shorter than 20 bytes
                for (int i = contextHandle.length; i < 20; i++) {
                    buf.enc_ndr_small(0);
                }
            } else {
                // Write 20 zero bytes for null context handle
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/util/MimeMap.java

                    case ' ':
                    case '\t':
                    case '\n':
                    case '#':
                        for (i = 0; i < x && x == ext.length && buf[i] == ext[i]; i++) {
    
                        }
                        if (i == ext.length) {
                            return new String(type, 0, t, "ASCII");
                        }
                        if (ch == '#') {
                            state = ST_COMM;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  7. src/main/webapp/js/index.js

          $searchButton.attr("disabled", false);
        }, 3000);
        return true;
      });
    
      $(document).on("click touchend", function(e) {
        if (!$(e.target).closest("#searchOptions, #searchOptionsButton").length) {
          $("#searchOptions").removeClass("active");
        }
      });
    
      $("[data-toggle='control-options']").click(function(e) {
        e.preventDefault();
        var target = $(this).attr("data-target") || $(this).attr("href");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Mar 30 05:45:24 UTC 2023
    - 2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/taglib/FessFunctions.java

        public static boolean hasActionRole(final String role) {
            final String[] roles;
            if (role.endsWith(FessAdminAction.VIEW)) {
                roles = new String[] { role, role.substring(0, role.length() - FessAdminAction.VIEW.length()) };
            } else {
                roles = new String[] { role };
            }
            final FessLoginAssist loginAssist = ComponentUtil.getComponent(FessLoginAssist.class);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 25.3K bytes
    - Viewed (1)
  9. src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java

                }
            });
    
            String[] paths = virtualHostHelper.getVirtualHostPaths();
            assertNotNull(paths);
            assertEquals(3, paths.length);
            assertEquals("/site1", paths[0]);
            assertEquals("/site2", paths[1]);
            assertEquals("/site3", paths[2]);
        }
    
        public void test_getVirtualHostPaths_withEmptyVirtualHosts() {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sat Jul 19 23:49:30 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/netbios/NameServiceClientImplTest.java

            // When
            NetbiosName localName = nameServiceClient.getLocalName();
    
            // Then
            assertNotNull(localName, "Local name should not be null");
            assertTrue(localName.getName().length() > 0, "Local name should not be empty");
        }
    
        @Test
        @DisplayName("Should get unknown name")
        void testGetUnknownName() {
            // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11K bytes
    - Viewed (0)
Back to top