Search Options

Results per page
Sort
Preferred Languages
Advance

Results 321 - 330 of 1,760 for lengths (0.07 sec)

  1. guava/src/com/google/common/collect/ImmutableSet.java

        checkArgument(
            others.length <= Integer.MAX_VALUE - 6, "the total number of elements must fit in an int");
        SetBuilderImpl<E> builder = new RegularSetBuilderImpl<>(6 + others.length);
        builder = builder.add(e1).add(e2).add(e3).add(e4).add(e5).add(e6);
        for (int i = 0; i < others.length; i++) {
          builder = builder.add(others[i]);
        }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MultisetsCollectionTest.java

            multiset1.add("only1");
            multiset2.add("only2");
            for (int i = 0; i < elements.length; i++) {
              multiset1.add(elements[i]);
              multiset2.add(elements[elements.length - 1 - i]);
            }
            if (elements.length > 0) {
              multiset1.add(elements[0]);
            }
            if (elements.length > 1) {
              /*
               * When a test requests a multiset with duplicates, our plan of
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/NtlmContextTest.java

            // State 2: Process Type 2 and generate Type 3
            byte[] type3Token = context.initSecContext(type2Token, 0, type2Token.length);
    
            assertNotNull(type3Token);
            assertTrue(type3Token.length > 0);
            assertTrue(context.isEstablished());
            assertArrayEquals(serverChallenge, context.getServerChallenge());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Platform.java

        return CompactHashSet.create();
      }
    
      /**
       * Returns a new array of the given length with the same type as a reference array.
       *
       * @param reference any array of the desired type
       * @param length the length of the new array
       */
      /*
       * The new array contains nulls, even if the old array did not. If we wanted to be accurate, we
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

                  public Integer call() {
                    return Thread.currentThread().getStackTrace().length;
                  }
                },
                directExecutor());
        settableFuture.set(null);
        assertThat(getDone(stackDepthCheck))
            .isLessThan(Thread.currentThread().getStackTrace().length + 100);
      }
    
      public void testAvoidsStackOverflow_alternatingCancelledAndSubmitted() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 20:58:01 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/util/ParameterUtil.java

                    configConfigMap.put(key.substring(CONFIG_PREFIX.length()), entry.getValue());
                } else if (key.startsWith(CLIENT_PREFIX)) {
                    clientConfigMap.put(key.substring(CLIENT_PREFIX.length()), entry.getValue());
                } else if (key.startsWith(XPATH_PREFIX)) {
                    xpathConfigMap.put(key.substring(XPATH_PREFIX.length()), entry.getValue());
                } else if (key.startsWith(META_PREFIX)) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/AtomicsTest.java

      }
    
      public void testNewReferenceArray_withLength() throws Exception {
        int length = 42;
        AtomicReferenceArray<String> refArray = Atomics.newReferenceArray(length);
        for (int i = 0; i < length; ++i) {
          assertEquals(null, refArray.get(i));
        }
        assertThrows(IndexOutOfBoundsException.class, () -> refArray.get(length));
      }
    
      public void testNewReferenceArray_withNegativeLength() throws Exception {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/Quantiles.java

          // Since index and (dataset.length - 1) are non-negative ints, their product can be expressed
          // as a long, without risk of overflow:
          long numerator = (long) index * (dataset.length - 1);
          // Since scale is a positive int, index is in [0, scale], and (dataset.length - 1) is a
          // non-negative int, we can do long-arithmetic on index * (dataset.length - 1) / scale to get
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 30.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            int byteCountValue = 8 + domainBytes.length;
            setByteCount(response, byteCountValue);
            byte[] buffer = new byte[byteCountValue];
            int bufferIndex = 0;
            byte[] key = new byte[] { 1, 2, 3, 4, 5, 6, 7, 8 };
            System.arraycopy(key, 0, buffer, bufferIndex, key.length);
            bufferIndex += key.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2.kt

        inbound: Boolean,
        streamId: Int,
        length: Int,
        type: Int,
        flags: Int,
      ): String {
        val formattedType = formattedType(type)
        val formattedFlags = formatFlags(type, flags)
        val direction = if (inbound) "<<" else ">>"
        return format(
          "%s 0x%08x %5d %-13s %s",
          direction,
          streamId,
          length,
          formattedType,
          formattedFlags,
        )
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top