Search Options

Results per page
Sort
Preferred Languages
Advance

Results 451 - 460 of 1,958 for length (0.04 sec)

  1. android/guava-tests/test/com/google/common/collect/ImmutableSortedSetTest.java

      }
    
      // enum singleton pattern
      private enum StringLengthComparator implements Comparator<String> {
        INSTANCE;
    
        @Override
        public int compare(String a, String b) {
          return a.length() - b.length();
        }
      }
    
      private static final Comparator<String> STRING_LENGTH = StringLengthComparator.INSTANCE;
    
      @Override
      protected <E extends Comparable<? super E>> SortedSet<E> of() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/util/SecureCredentialStorageTest.java

            char[] decrypted = storage.decryptCredentials(encrypted);
            assertNotNull(decrypted, "Decrypted empty data should not be null");
            assertEquals(0, decrypted.length, "Decrypted empty array should have zero length");
        }
    
        @Test
        public void testEncryptDecryptNull() throws Exception {
            byte[] encrypted = storage.encryptCredentials(null);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/reflect/Invokable.java

          TypeVariable<?>[] result =
              new TypeVariable<?>[declaredByClass.length + declaredByConstructor.length];
          System.arraycopy(declaredByClass, 0, result, 0, declaredByClass.length);
          System.arraycopy(
              declaredByConstructor, 0, result, declaredByClass.length, declaredByConstructor.length);
          return result;
        }
    
        @Override
        public final boolean isOverridable() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

          checkArgument(
              nextBytes.length == resultBytes.length, "All hashcodes must have the same bit length.");
          for (int i = 0; i < nextBytes.length; i++) {
            resultBytes[i] = (byte) (resultBytes[i] * 37 ^ nextBytes[i]);
          }
        }
        return HashCode.fromBytesNoCopy(resultBytes);
      }
    
      /**
       * Returns a hash code, having the same bit length as each of the input hash codes, that combines
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jul 17 15:26:41 UTC 2025
    - 29.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java

            }
    
            private void setLength(int length) {
                try {
                    // Use reflection to set the protected length field
                    java.lang.reflect.Field lengthField = ServerMessageBlock2.class.getDeclaredField("length");
                    lengthField.setAccessible(true);
                    lengthField.setInt(this, length);
                } catch (Exception e) {
    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. fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/RobotsTxtTest.java

            assertEquals(1, sitemaps.length);
        }
    
        public void test_getSitemapsEmpty() {
            // Test getSitemaps when no sitemaps are added
            RobotsTxt robotsTxt = new RobotsTxt();
    
            String[] sitemaps = robotsTxt.getSitemaps();
            assertNotNull(sitemaps);
            assertEquals(0, sitemaps.length);
        }
    
        public void test_toString() {
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 13 13:29:22 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/PreauthIntegrityTest.java

            // Modify returned hash
            if (hash.length > 0) {
                hash[0] = (byte) 0xFF;
            }
    
            // Get hash again - should be unmodified
            byte[] hash2 = transport.getPreauthIntegrityHash();
            assertNotNull(hash2);
    
            // If original has data, verify it wasn't modified
            if (hash2.length > 0 && hash.length > 0) {
                assertNotEquals(hash[0], hash2[0]);
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        // least as long as the pattern because asterisk must match the whole left-most label and
        // hostname starts with a non-empty label. Thus, asterisk has to match one or more characters.
        if (hostname.length < pattern.length) {
          return false // Hostname too short to match the pattern.
        }
    
        if ("*." == pattern) {
          return false // Wildcard pattern for single-label domain name -- not permitted.
        }
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionToArrayTester.java

        E[] array = collection.toArray(empty);
        assertEquals(
            "toArray(emptyT[]) should return an array of type T", empty.getClass(), array.getClass());
        assertEquals("toArray(emptyT[]).length:", getNumElements(), array.length);
        expectArrayContentsAnyOrder(createSamplesArray(), array);
      }
    
      @CollectionFeature.Require(KNOWN_ORDER)
      public void testToArray_emptyArray_ordered() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 08 18:35:13 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/PreauthIntegrityNegotiateContextTest.java

                assertArrayEquals(hashAlgos, context.getHashAlgos());
                assertArrayEquals(salt, context.getSalt());
                assertEquals(0, context.getHashAlgos().length);
                assertEquals(0, context.getSalt().length);
            }
    
            @Test
            @DisplayName("Should create instance with default constructor")
            void testDefaultConstructor() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 34K bytes
    - Viewed (0)
Back to top