Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 1,708 for lengths (0.03 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/TestStringBiMapGenerator.java

      public final Entry<String, String>[] createArray(int length) {
        return (Entry<String, String>[]) new Entry<?, ?>[length];
      }
    
      @Override
      public final String[] createKeyArray(int length) {
        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/Name.java

            System.arraycopy(Strings.getOEMBytes(this.scope, this.config), 0, dst, dstIndex, this.scope.length());
            dstIndex += this.scope.length();
    
            dst[dstIndex++] = (byte) 0x00;
    
            // now go over scope backwards converting '.' to label length
    
            int i = dstIndex - 2;
            final int e = i - this.scope.length();
            int c = 0;
    
            do {
                if (dst[i] == '.') {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/validation/UriTypeTest.java

        }
    
        // Test default values
        public void test_defaultValues() throws Exception {
            assertEquals("Default message should match", "{org.lastaflute.validator.constraints.UriType.message}", getDefaultMessage());
            assertEquals("Default groups should be empty", 0, getDefaultGroups().length);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 21K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbFileFilterTest.java

        }
    
        @Test
        @DisplayName("accept: length-based filter evaluates negative/zero/positive sizes")
        void accept_lengthBasedFilter_handlesNumericEdges() throws Exception {
            // Arrange: filter that accepts only strictly positive length
            SmbFileFilter filter = f -> f.length() > 0;
    
            // negative size -> reject
            when(smbFile.length()).thenReturn(-1L);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  5. guava-testlib/src/com/google/common/collect/testing/google/TestStringSetMultimapGenerator.java

      public final Entry<String, String>[] createArray(int length) {
        return (Entry<String, String>[]) new Entry<?, ?>[length];
      }
    
      @Override
      public final String[] createKeyArray(int length) {
        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/primitives/UnsignedLongs.java

        @Override
        public int compare(long[] left, long[] right) {
          int minLength = Math.min(left.length, right.length);
          for (int i = 0; i < minLength; i++) {
            if (left[i] != right[i]) {
              return UnsignedLongs.compare(left[i], right[i]);
            }
          }
          return left.length - right.length;
        }
    
        @Override
        public String toString() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/hash/HashCode.java

        checkArgument(
            string.length() >= 2, "input string (%s) must have at least 2 characters", string);
        checkArgument(
            string.length() % 2 == 0,
            "input string (%s) must have an even number of characters",
            string);
    
        byte[] bytes = new byte[string.length() / 2];
        for (int i = 0; i < string.length(); i += 2) {
          int ch1 = decode(string.charAt(i)) << 4;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/hash/Murmur3_32HashFunction.java

        // step through the CharSequence 2 chars at a time
        for (int i = 1; i < input.length(); i += 2) {
          int k1 = input.charAt(i - 1) | (input.charAt(i) << 16);
          k1 = mixK1(k1);
          h1 = mixH1(h1, k1);
        }
    
        // deal with any remaining characters
        if ((input.length() & 1) == 1) {
          int k1 = input.charAt(input.length() - 1);
          k1 = mixK1(k1);
          h1 ^= k1;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/google/TestStringListMultimapGenerator.java

      public final Entry<String, String>[] createArray(int length) {
        return (Entry<String, String>[]) new Entry<?, ?>[length];
      }
    
      @Override
      public final String[] createKeyArray(int length) {
        return new String[length];
      }
    
      @Override
      public final String[] createValueArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 3K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/mylasta/action/FessUserBeanTest.java

            assertNotNull(fessUserBean.getPermissions());
            assertEquals(0, fessUserBean.getPermissions().length);
    
            // Test with single permission
            testUser.setPermissions(new String[] { "read" });
            String[] permissions = fessUserBean.getPermissions();
            assertEquals(1, permissions.length);
            assertEquals("read", permissions[0]);
    
            // Test with multiple permissions
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.6K bytes
    - Viewed (0)
Back to top