Search Options

Results per page
Sort
Preferred Languages
Advance

Results 711 - 720 of 1,848 for lengths (0.05 sec)

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

        input = Arrays.copyOf(input, input.length);
        Doubles.sortDescending(input);
        for (int i = 0; i < input.length; i++) {
          assertThat(input[i]).isEqualTo(expectedOutput[i]);
        }
      }
    
      private static void testSortDescending(
          double[] input, int fromIndex, int toIndex, double[] expectedOutput) {
        input = Arrays.copyOf(input, input.length);
        Doubles.sortDescending(input, fromIndex, toIndex);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 30.9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

          when (dot) {
            -1 -> length - labelStart
            else -> dot - labelStart
          }
        if (labelLength !in 1..63) return true
        if (dot == -1) break
        if (dot == length - 1) break // Trailing '.' is allowed.
        labelStart = dot + 1
      }
    
      return false
    }
    
    internal fun String.containsInvalidHostnameAsciiCodes(): Boolean {
      for (i in 0 until length) {
        val c = this[i]
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 11.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

            if (path == null || path.length() <= 1) {
                /*
                 * Lookup the domain based DFS root target referral. Note the
                 * path is just "\" and not "\example.com\root".
                 */
                link = "\\";
            } else if (path.charAt(path.length() - 1) == '\\') {
                // strip trailing slash
                link = path.substring(0, path.length() - 1);
            } else {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/exception/FessSystemExceptionTest.java

            // Test that suppression is enabled
            RuntimeException suppressed = new RuntimeException("Suppressed exception");
            exception.addSuppressed(suppressed);
            assertEquals(1, exception.getSuppressed().length);
            assertEquals(suppressed, exception.getSuppressed()[0]);
        }
    
        public void test_constructor_withSuppressionDisabled() {
            // Test protected constructor with suppression disabled
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  5. fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/AbstractTransformerTest.java

            Object data = testTransformer.getData(accessResultData);
            byte[] expected = "test data".getBytes();
            byte[] actual = (byte[]) data;
            assertEquals(expected.length, actual.length);
            for (int i = 0; i < expected.length; i++) {
                assertEquals(expected[i], actual[i]);
            }
    
            // Test with null
            assertNull(testTransformer.getData(null));
        }
    
        /**
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sat Sep 06 04:15:37 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

        val rangesLimit =
          when {
            sectionsIndex + 4 < sections.length -> sections.read14BitInt(sectionsIndex + 6)
            else -> ranges.length / 4
          }
    
        val rangesIndex = findRangesOffset(codePoint, rangesPosition, rangesLimit)
    
        when (val b1 = ranges[rangesIndex + 1].code) {
          in 0..63 -> {
            // Length of the UTF-16 sequence that this range maps to. The offset is b2b3.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 9K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharStreams.java

        public void write(char[] cbuf, int off, int len) {
          checkPositionIndexes(off, off + len, cbuf.length);
        }
    
        @Override
        public void write(String str) {
          checkNotNull(str);
        }
    
        @Override
        public void write(String str, int off, int len) {
          checkPositionIndexes(off, off + len, str.length());
        }
    
        @Override
        public Writer append(@Nullable CharSequence csq) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/query/TermQueryCommand.java

                final float boost, final String field, final String text) {
            if (fessConfig.getQueryReplaceTermWithPrefixQueryAsBoolean() && text.length() > 1 && text.endsWith("*")) {
                return convertPrefixQuery(fessConfig, context, termQuery, boost, field, text);
            }
            if (DEFAULT_FIELD.equals(field)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

              } else {
                if (firstUpdate) {
                  firstUpdate = false
                  if (contentLength == -1L) {
                    println("content-length: unknown")
                  } else {
                    println("content-length: $contentLength")
                  }
                }
                println(bytesWritten)
                if (contentLength != -1L) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/CollectionTestSuiteBuilder.java

        @Override
        public Collection<E> create(Object... elements) {
          return SerializableTester.reserialize(gen.create(elements));
        }
    
        @Override
        public E[] createArray(int length) {
          return gen.createArray(length);
        }
    
        @Override
        public Iterable<E> order(List<E> insertionOrder) {
          return gen.order(insertionOrder);
        }
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top