Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for fails (0.15 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       * pipeline is done (other than those captured by the returned {@link ClosingFuture}).
       *
       * <p>If this {@code ClosingFuture} fails with an exception of the given type, the derived {@code
       * ClosingFuture} will be equivalent to the one returned by the function.
       *
       * <p>If this {@code ClosingFuture} succeeds or fails with a different exception type, the
       * function will not be called, and the derived {@code ClosingFuture} will be equivalent to this
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        try {
          getDone(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

        try {
          getDone(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
    
        try {
          getDoneFromTimeoutOverload(future);
          fail();
        } catch (ExecutionException expected) {
          assertSame(exception, expected.getCause());
        }
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 144.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/cache/LocalCacheTest.java

            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws Exception {
                return cache.get(key, identityLoader()); // recursive load, this should fail
              }
            };
        testLoadThrows(key, cache, loader);
      }
    
      public void testRecursiveLoadWithProxy() throws InterruptedException {
        String key = "key";
        String otherKey = "otherKey";
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 112.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/LocalCacheTest.java

            new CacheLoader<String, String>() {
              @Override
              public String load(String key) throws Exception {
                return cache.get(key, identityLoader()); // recursive load, this should fail
              }
            };
        testLoadThrows(key, cache, loader);
      }
    
      public void testRecursiveLoadWithProxy() throws InterruptedException {
        String key = "key";
        String otherKey = "otherKey";
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 14 23:06:48 GMT 2024
    - 110.7K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/LocalCache.java

          if (createNewEntry) {
            try {
              // Synchronizes on the entry to allow failing fast when a recursive load is
              // detected. This may be circumvented when an entry is copied, but will fail fast most
              // of the time.
              synchronized (e) {
                return loadSync(key, hash, loadingValueReference, loader);
              }
            } finally {
              statsCounter.recordMisses(1);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

                attributes = info.getAttributes();
                createTime = info.getCreateTime();
                lastModified = info.getLastWriteTime();
    
                /* If any of the above fails, isExists will not be set true
                 */
    
                isExists = true;
                attrExpiration = System.currentTimeMillis() + attrExpirationPeriod;
            }
    
            if( isDirectory() ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  8. src/main/java/org/codelibs/fess/mylasta/action/FessLabels.java

        public static final String LABELS_joblog_status_ok = "{labels.joblog_status_ok}";
    
        /** The key of the message: Failed */
        public static final String LABELS_joblog_status_fail = "{labels.joblog_status_fail}";
    
        /** The key of the message: Running */
        public static final String LABELS_joblog_status_running = "{labels.joblog_status_running}";
    
        /** The key of the message: Details */
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Fri Mar 22 11:58:34 GMT 2024
    - 146.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/cache/LocalCache.java

          if (createNewEntry) {
            try {
              // Synchronizes on the entry to allow failing fast when a recursive load is
              // detected. This may be circumvented when an entry is copied, but will fail fast most
              // of the time.
              synchronized (e) {
                return loadSync(key, hash, loadingValueReference, loader);
              }
            } finally {
              statsCounter.recordMisses(1);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Maps.java

        while (keys.hasNext()) {
          K key = keys.next();
          builder.put(key, valueFunction.apply(key));
        }
        // Using buildKeepingLast() so as not to fail on duplicate keys
        return builder.buildKeepingLast();
      }
    
      /**
       * Returns a map with the given {@code values}, indexed by keys derived from those values. In
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
Back to top