Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 164 for Vints (0.15 sec)

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

      public void testIteratorMinAndMax() {
        List<Integer> ints = Lists.newArrayList(5, 3, 0, 9);
        assertEquals(9, (int) numberOrdering.max(ints.iterator()));
        assertEquals(0, (int) numberOrdering.min(ints.iterator()));
    
        // when the values are the same, the first argument should be returned
        Integer a = new Integer(4);
        Integer b = new Integer(4);
        ints = Lists.newArrayList(a, b, b);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/OrderingTest.java

      public void testIteratorMinAndMax() {
        List<Integer> ints = Lists.newArrayList(5, 3, 0, 9);
        assertEquals(9, (int) numberOrdering.max(ints.iterator()));
        assertEquals(0, (int) numberOrdering.min(ints.iterator()));
    
        // when the values are the same, the first argument should be returned
        Integer a = new Integer(4);
        Integer b = new Integer(4);
        ints = Lists.newArrayList(a, b, b);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/HttpHeaders.java

      /**
       * The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua">{@code Sec-CH-UA}</a>
       * header field name.
       *
       * @since 30.0
       */
      public static final String SEC_CH_UA = "Sec-CH-UA";
      /**
       * The HTTP <a href="https://wicg.github.io/ua-client-hints/#sec-ch-ua-arch">{@code
       * Sec-CH-UA-Arch}</a> header field name.
       *
       * @since 30.0
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:08:08 GMT 2024
    - 34.3K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java

      }
    
      public void testToLong() {
        for (long a : UNSIGNED_INTS) {
          assertThat(UnsignedInts.toLong((int) a)).isEqualTo(a);
        }
      }
    
      public void testCompare() {
        for (long a : UNSIGNED_INTS) {
          for (long b : UNSIGNED_INTS) {
            int cmpAsLongs = Longs.compare(a, b);
            int cmpAsUInt = UnsignedInts.compare((int) a, (int) b);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 06 16:10:08 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/HttpStatusCodes.kt

    /** `100 Continue` (HTTP/1.1 - RFC 7231)  */
    const val HTTP_CONTINUE = 100
    
    /** `102 Processing` (WebDAV - RFC 2518)  */
    const val HTTP_PROCESSING = 102
    
    /** `103 Early Hints (Early Hints - RFC 8297)` */
    const val HTTP_EARLY_HINTS = 103
    
    /** `307 Temporary Redirect` (HTTP/1.1 - RFC 7231)  */
    const val HTTP_TEMP_REDIRECT = 307
    
    /** `308 Permanent Redirect` (HTTP/1.1 - RFC 7538)  */
    const val HTTP_PERM_REDIRECT = 308
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/primitives/IntArrayAsListTest.java

                ListTestSuiteBuilder.using(new IntsAsListTailSubListGenerator())
                    .named("Ints.asList, tail subList"),
                ListTestSuiteBuilder.using(new IntsAsListMiddleSubListGenerator())
                    .named("Ints.asList, middle subList"));
    
        TestSuite suite = new TestSuite();
        for (ListTestSuiteBuilder<Integer> builder : builders) {
          suite.addTest(
              builder
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 5.7K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TopKSelectorTest.java

        for (List<Integer> list : Collections2.permutations(Ints.asList(1, 2, 3, 4, 5))) {
          TopKSelector<Integer> top = TopKSelector.least(4);
          top.offerAll(list);
          assertThat(top.topK()).containsExactly(1, 2, 3, 4).inOrder();
        }
      }
    
      public void testOfferedThreeK() {
        for (List<Integer> list : Collections2.permutations(Ints.asList(1, 2, 3, 4, 5, 6))) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        BloomFilter<byte[]> bf = BloomFilter.create(Funnels.byteArrayFunnel(), 100);
        for (int i = 0; i < 10; i++) {
          bf.put(Ints.toByteArray(i));
        }
    
        BloomFilter<byte[]> copy = SerializableTester.reserialize(bf);
        for (int i = 0; i < 10; i++) {
          assertTrue(copy.mightContain(Ints.toByteArray(i)));
        }
        assertEquals(bf.expectedFpp(), copy.expectedFpp());
    
        SerializableTester.reserializeAndAssert(bf);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 09 22:49:56 GMT 2023
    - 21.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestIntegerSetGenerator.java

    import com.google.common.collect.testing.SampleElements.Ints;
    import java.util.List;
    import java.util.Set;
    
    /**
     * Create integer sets for collection tests.
     *
     * @author Gregory Kick
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public abstract class TestIntegerSetGenerator implements TestSetGenerator<Integer> {
      @Override
      public SampleElements<Integer> samples() {
        return new Ints();
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/discovery/v1beta1/generated.proto

      // be used to determine endpoints local to a Node.
      // +optional
      optional string nodeName = 6;
    
      // hints contains information associated with how an endpoint should be
      // consumed.
      // +featureGate=TopologyAwareHints
      // +optional
      optional EndpointHints hints = 7;
    }
    
    // EndpointConditions represents the current condition of an endpoint.
    message EndpointConditions {
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 8K bytes
    - Viewed (0)
Back to top