Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 461 - 470 of 2,286 for lengths (0.07 seconds)

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

        assertEquals(4, map.concurrencyLevel);
    
        // concurrency level
        assertThat(map.segments).hasLength(4);
        // initial capacity / concurrency level
        assertEquals(16 / map.segments.length, map.segments[0].table.length());
      }
    
      public void testSetKeyEquivalence() {
        Equivalence<Object> testEquivalence =
            new Equivalence<Object>() {
              @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 36K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/chat/ChatPhaseCallbackTest.java

                    events.add("start:" + phase.length() + ":" + message.length());
                }
    
                @Override
                public void onPhaseComplete(String phase) {
                    events.add("complete:" + phase.length());
                }
    
                @Override
                public void onChunk(String content, boolean done) {
                    events.add("chunk:" + content.length());
                }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  3. benchmarks/src/main/java/org/elasticsearch/common/RoundingBenchmark.java

            min = FORMATTER.parseMillis(r[0]);
            max = FORMATTER.parseMillis(r[1]);
            dates = new long[count];
            long date = min;
            long diff = (max - min) / dates.length;
            for (int i = 0; i < dates.length; i++) {
                if (date >= max) {
                    throw new IllegalStateException("made a bad date [" + date + "]");
                }
                dates[i] = date;
                date += diff;
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 08 16:53:28 GMT 2021
    - 4.1K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedBytesTest.java

        }
      }
    
      public void testCompare() {
        // This is the only ordering for primitives that does not have a
        // corresponding Comparable wrapper in java.lang.
        for (int i = 0; i < VALUES.length; i++) {
          for (int j = 0; j < VALUES.length; j++) {
            byte x = VALUES[i];
            byte y = VALUES[j];
            // note: spec requires only that the sign is the same
            assertWithMessage("%s, %s", x, y)
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/smb2/nego/EncryptionNegotiateContextTest.java

                assertNotNull(context);
                assertArrayEquals(ciphers, context.getCiphers());
                assertEquals(0, context.getCiphers().length);
            }
    
            @Test
            @DisplayName("Should create instance with default constructor")
            void testDefaultConstructor() {
                EncryptionNegotiateContext context = new EncryptionNegotiateContext();
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  6. android/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);
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/SrvCopychunk.java

        private final long sourceOffset;
        private final long targetOffset;
        private final int length;
    
        /**
         * Constructs a server copy chunk descriptor
         * @param soff the source file offset
         * @param toff the target file offset
         * @param len the length of data to copy
         */
        public SrvCopychunk(final long soff, final long toff, final int len) {
            this.sourceOffset = soff;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  8. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverter.java

                signature.append(methodSignature);
                signature.append("(");
                if (matcher.group(5).length() > 0) {
                    String[] types = PARAM_DELIMITER.split(matcher.group(5));
                    for (int i = 0; i < types.length; i++) {
                        String type = types[i];
                        Matcher typeMatcher = TYPE_PATTERN.matcher(type);
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 7K bytes
    - Click Count (0)
  9. src/test/java/jcifs/ntlmssp/av/AvSingleHostTest.java

            assertNotNull(avSingleHost);
            assertEquals(AvPair.MsvAvSingleHost, avSingleHost.getType());
            byte[] value = avSingleHost.getRaw();
            assertNotNull(value);
            assertEquals(48, value.length); // Expected size: 8 + 8 + 32
    
            // Verify the machine ID part
            byte[] actualMachineId = new byte[32];
            System.arraycopy(value, 16, actualMachineId, 0, 32);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.4K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

                    dstIndex += str.length() * 2;
                    dst[dstIndex] = (byte) '\0';
                    dstIndex++;
                    dst[dstIndex++] = (byte) '\0';
                } else {
                    final byte[] b = str.getBytes(OEM_ENCODING);
                    System.arraycopy(b, 0, dst, dstIndex, b.length);
                    dstIndex += b.length;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 19.7K bytes
    - Click Count (0)
Back to Top