Search Options

Results per page
Sort
Preferred Languages
Advance

Results 251 - 260 of 1,653 for length (0.08 sec)

  1. src/test/java/org/codelibs/core/misc/Base64UtilTest.java

         * @throws Exception
         */
        public void testDecode() throws Exception {
            final byte[] decodedData = Base64Util.decode(ENCODED_DATA);
            assertEquals("1", BINARY_DATA.length, decodedData.length);
            for (int i = 0; i < decodedData.length; i++) {
                assertEquals("2", BINARY_DATA[i], decodedData[i]);
            }
        }
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

     * contains newline characters.
     */
    internal fun String.indexOfNonWhitespace(startIndex: Int = 0): Int {
      for (i in startIndex until length) {
        val c = this[i]
        if (c != ' ' && c != '\t') {
          return i
        }
      }
      return length
    }
    
    fun String.toLongOrDefault(defaultValue: Long): Long {
      return try {
        toLong()
      } catch (_: NumberFormatException) {
        defaultValue
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/MIEName.java

         */
        MIEName ( byte[] buf ) {
            int i;
            int len;
            if ( buf.length < TOK_ID_SIZE + MECH_OID_LEN_SIZE ) {
                throw new IllegalArgumentException();
            }
            // TOK_ID
            for ( i = 0; i < TOK_ID.length; i++ ) {
                if ( TOK_ID[ i ] != buf[ i ] ) {
                    throw new IllegalArgumentException();
                }
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/net/InetAddresses.java

        // contain non-decimal characters.
        int length = end - start;
        if (length <= 0 || length > 3) {
          throw new NumberFormatException();
        }
        // Disallow leading zeroes, because no clear standard exists on
        // whether these should be interpreted as decimal or octal.
        if (length > 1 && ipString.charAt(start) == '0') {
          throw new NumberFormatException();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/helper/CrawlerStatsHelperTest.java

            crawlerStatsHelper.begin(key);
            crawlerStatsHelper.done(key);
            logger.info(localLogMsg.get());
            String[] values = localLogMsg.get().split("\t");
            assertEquals(3, values.length);
            assertEquals("url:test", values[0]);
            assertTrue(values[1].startsWith("time:"));
            assertTrue(values[2].startsWith("done:"));
    
            localLogMsg.remove();
            crawlerStatsHelper.done(key);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

            parameterTypes = constructor.getParameterTypes();
            parameterizedClassDescs = new ParameterizedClassDesc[parameterTypes.length];
            final Map<TypeVariable<?>, Type> typeVariables = beanDesc.getTypeVariables();
            for (int i = 0; i < parameterTypes.length; ++i) {
                parameterizedClassDescs[i] = ParameterizedClassDescFactory.createParameterizedClassDesc(constructor, i, typeVariables);
            }
        }
    
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                ret += "null";
            } else {
                ret += Hexdump.toHexString(serverChallenge, 0, serverChallenge.length * 2);
            }
            ret += ",signingKey=";
            if (signingKey == null) {
                ret += "null";
            } else {
                ret += Hexdump.toHexString(signingKey, 0, signingKey.length * 2);
            }
            ret += "]";
            return ret;
        }
    
        public boolean isEstablished() {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  8. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.1K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestStringListGenerator.java

       * #create(Object...)}.
       */
      protected abstract List<String> create(String[] elements);
    
      @Override
      public String[] createArray(int length) {
        return new String[length];
      }
    
      /** Returns the original element list, unchanged. */
      @Override
      public List<String> order(List<String> insertionOrder) {
        return insertionOrder;
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MultimapsCollectionTest.java

          implements TestMultimapGenerator<String, String, M> {
    
        @Override
        public String[] createKeyArray(int length) {
          return new String[length];
        }
    
        @Override
        public String[] createValueArray(int length) {
          return new String[length];
        }
    
        @Override
        public SampleElements<String> sampleKeys() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 28.9K bytes
    - Viewed (0)
Back to top