Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for secunds (0.23 sec)

  1. android/guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      @AndroidIncompatible // Bug? expected:<1> but was:<2>
      public void testConcurrentExpirationLoading() throws InterruptedException {
        testConcurrentLoading(CacheBuilder.newBuilder().expireAfterWrite(10, TimeUnit.SECONDS));
      }
    
      /**
       * On a successful concurrent computation, only one thread does the work, but all the threads get
       * the same result.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/cache/CacheLoadingTest.java

      }
    
      @AndroidIncompatible // Bug? expected:<1> but was:<2>
      public void testConcurrentExpirationLoading() throws InterruptedException {
        testConcurrentLoading(CacheBuilder.newBuilder().expireAfterWrite(10, TimeUnit.SECONDS));
      }
    
      /**
       * On a successful concurrent computation, only one thread does the work, but all the threads get
       * the same result.
       */
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 86.2K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(1, result.size());
        testProp.setProperty("second", "null");
    
        result = Maps.fromProperties(testProp);
        assertEquals("true", result.get("first"));
        assertEquals("null", result.get("second"));
        assertEquals(2, result.size());
    
        // Now test values loaded from a stream.
        String props = "test\n second = 2\n Third item :   a short  phrase   ";
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTest.java

        assertEquals(1, result.size());
        testProp.setProperty("second", "null");
    
        result = Maps.fromProperties(testProp);
        assertEquals("true", result.get("first"));
        assertEquals("null", result.get("second"));
        assertEquals(2, result.size());
    
        // Now test values loaded from a stream.
        String props = "test\n second = 2\n Third item :   a short  phrase   ";
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      private void assertNoExpectedFailures() {
        assertWithMessage("executor was shut down")
            .that(shutdownAndAwaitTermination(executor, 10, SECONDS))
            .isTrue();
        assertWithMessage("closingExecutor was shut down")
            .that(shutdownAndAwaitTermination(closingExecutor, 10, SECONDS))
            .isTrue();
        if (!failures.isEmpty()) {
          StringWriter message = new StringWriter();
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/base/CharMatcher.java

        final CharMatcher first;
        final CharMatcher second;
    
        And(CharMatcher a, CharMatcher b) {
          first = checkNotNull(a);
          second = checkNotNull(b);
        }
    
        @Override
        public boolean matches(char c) {
          return first.matches(c) && second.matches(c);
        }
    
        @GwtIncompatible // used only from other GwtIncompatible code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(tokL.isSupertypeOf(StringList.class.getGenericInterfaces()[0]));
    
        @SuppressWarnings("rawtypes") // Trying to test raw class
        TypeToken<Second> tokS = new TypeToken<Second>() {};
        assertTrue(tokS.isSupertypeOf(Second.class));
        assertTrue(tokS.isSupertypeOf(Third.class.getGenericSuperclass()));
      }
    
      public void testAssignableArrayToClass() {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

      private void assertNoExpectedFailures() {
        assertWithMessage("executor was shut down")
            .that(shutdownAndAwaitTermination(executor, 10, SECONDS))
            .isTrue();
        assertWithMessage("closingExecutor was shut down")
            .that(shutdownAndAwaitTermination(closingExecutor, 10, SECONDS))
            .isTrue();
        if (!failures.isEmpty()) {
          StringWriter message = new StringWriter();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertTrue(tokL.isSupertypeOf(StringList.class.getGenericInterfaces()[0]));
    
        @SuppressWarnings("rawtypes") // Trying to test raw class
        TypeToken<Second> tokS = new TypeToken<Second>() {};
        assertTrue(tokS.isSupertypeOf(Second.class));
        assertTrue(tokS.isSupertypeOf(Third.class.getGenericSuperclass()));
      }
    
      public void testAssignableArrayToClass() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 88.7K bytes
    - Viewed (0)
Back to top