Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for cool (0.02 sec)

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

      }
    
      public void testFind_withDefault_first() {
        Iterable<String> list = Lists.newArrayList("cool", "pants");
        Iterator<String> iterator = list.iterator();
        assertEquals("cool", find(iterator, equalTo("cool"), "woot"));
        assertEquals("pants", iterator.next());
      }
    
      public void testFind_withDefault_last() {
        Iterable<String> list = Lists.newArrayList("cool", "pants");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testFind() {
        Iterable<String> list = newArrayList("cool", "pants");
        assertEquals("cool", find(list, equalTo("cool")));
        assertEquals("pants", find(list, equalTo("pants")));
        assertThrows(NoSuchElementException.class, () -> find(list, Predicates.alwaysFalse()));
        assertEquals("cool", find(list, Predicates.alwaysTrue()));
        assertCanIterateAgain(list);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/IteratorsTest.java

      }
    
      public void testFind_withDefault_first() {
        Iterable<String> list = Lists.newArrayList("cool", "pants");
        Iterator<String> iterator = list.iterator();
        assertEquals("cool", find(iterator, equalTo("cool"), "woot"));
        assertEquals("pants", iterator.next());
      }
    
      public void testFind_withDefault_last() {
        Iterable<String> list = Lists.newArrayList("cool", "pants");
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 54.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/net/InternetDomainNameTest.java

              "1.fm",
              "a.b.c.1.2.3.ca.us",
              "a\u7f51\u7edcA.\u7f51\u7edc.Cn", // "a网络A.网络.Cn"
              "cnn.ca",
              "cool.co.uk",
              "cool.de",
              "cool.dk",
              "cool.es",
              "cool.nl",
              "cool.se",
              "cool\uFF61fr", // Alternate dot character
              "foo.bar.google.com",
              "google.Co.uK",
              "google.com",
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/collect/IterablesTest.java

      }
    
      public void testFind() {
        Iterable<String> list = newArrayList("cool", "pants");
        assertEquals("cool", find(list, equalTo("cool")));
        assertEquals("pants", find(list, equalTo("pants")));
        assertThrows(NoSuchElementException.class, () -> find(list, Predicates.alwaysFalse()));
        assertEquals("cool", find(list, Predicates.alwaysTrue()));
        assertCanIterateAgain(list);
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/mylasta/direction/FessEnvTest.java

            };
    
            assertTrue(customEnv.is("bool.true"));
            assertFalse(customEnv.is("bool.false"));
            assertTrue(customEnv.is("bool.yes"));
            assertFalse(customEnv.is("bool.no"));
            assertTrue(customEnv.is("bool.on"));
            assertFalse(customEnv.is("bool.off"));
            assertTrue(customEnv.is("bool.1"));
            assertFalse(customEnv.is("bool.0"));
        }
    
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          assertTrue(afterBurst >= 1000);
        }
      }
    
      /**
       * This neat test shows that no matter what weights we use in our requests, if we push X amount of
       * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a
       * timeToWarmUp() period, it will cost as the prescribed amount of time. E.g., calling
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          assertTrue(afterBurst >= 1000);
        }
      }
    
      /**
       * This neat test shows that no matter what weights we use in our requests, if we push X amount of
       * permits in a cool state, where X = rate * timeToCoolDown, and we have specified a
       * timeToWarmUp() period, it will cost as the prescribed amount of time. E.g., calling
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java

       *     be unique to the built instance of the ThreadFactory and will be assigned sequentially. For
       *     example, {@code "rpc-pool-%d"} will generate thread names like {@code "rpc-pool-0"}, {@code
       *     "rpc-pool-1"}, {@code "rpc-pool-2"}, etc.
       * @return this for the builder pattern
       */
      @CanIgnoreReturnValue
      public ThreadFactoryBuilder setNameFormat(String nameFormat) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:35:26 UTC 2025
    - 9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/ConcurrentHashMultisetBasherTest.java

        int tasksPerThread = 10;
        int nTasks = nThreads * tasksPerThread;
        ExecutorService pool = newFixedThreadPool(nThreads);
        ImmutableList<String> keys = ImmutableList.of("a", "b", "c");
        try {
          List<Future<int[]>> futures = newArrayListWithExpectedSize(nTasks);
          for (int i = 0; i < nTasks; i++) {
            futures.add(pool.submit(new MutateTask(multiset, keys)));
          }
    
          int[] deltas = new int[3];
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 6K bytes
    - Viewed (0)
Back to top