Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 169 for succeed (0.2 sec)

  1. guava-gwt/src-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/AbstractFuture.java

          return "setFuture=[" + delegate + "]";
        }
        return null;
      }
    
      private void addDoneString(StringBuilder builder) {
        try {
          V value = getDone(this);
          builder.append("SUCCESS, result=[").append(value).append("]");
        } catch (ExecutionException e) {
          builder.append("FAILURE, cause=[").append(e.getCause()).append("]");
        } catch (CancellationException e) {
          builder.append("CANCELLED");
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 19:37:41 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

           * addCausalChain.
           */
          boolean unused = addCausalChain(seen, requireNonNull(tryInternalFastPathGetFailure()));
        }
      }
    
      /**
       * Collects the result (success or failure) of one input future. The input must not have been
       * cancelled. For details on when this is called, see {@link #collectOneValue}.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 01 21:46:34 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/ReactorReader.java

            Path target = getArtifactPath(artifact);
            return Files.isRegularFile(target) ? target.toFile() : null;
        }
    
        /**
         * We are interested in project success events, in which case we call
         * the {@link #installIntoProjectLocalRepository(MavenProject)} method.
         * The mojo started event is also captured to determine the lifecycle
         * phases the project has been through.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu May 02 16:33:18 GMT 2024
    - 21.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/FluentFuture.java

       * Future} fails with the given {@code exceptionType}, from the result provided by the {@code
       * fallback}. {@link Function#apply} is not invoked until the primary input has failed, so if the
       * primary input succeeds, it is never invoked. If, during the invocation of {@code fallback}, an
       * exception is thrown, this exception is used as the result of the output {@code Future}.
       *
       * <p>Usage example:
       *
       * <pre>{@code
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 11 19:08:44 GMT 2023
    - 18.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

          return key.hashCode() ^ value.hashCode();
        }
    
        @Override
        public V setValue(V newValue) {
          V oldValue = put(key, newValue);
          value = newValue; // only if put succeeds
          return oldValue;
        }
      }
    
      final class EntryIterator extends HashIterator<Entry<K, V>> {
    
        @Override
        public Entry<K, V> next() {
          return nextEntry();
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/UnmodifiableCollectionTests.java

        try {
          collection.add(sampleElement);
          fail("add succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    
        assertCollectionsAreEquivalent(copy, collection);
    
        try {
          collection.addAll(siblingCollection);
          fail("addAll succeeded on unmodifiable collection");
        } catch (UnsupportedOperationException expected) {
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 14.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/VerifyTest.java

    @GwtCompatible(emulated = true)
    public class VerifyTest extends TestCase {
      public void testVerify_simple_success() {
        verify(true);
      }
    
      public void testVerify_simple_failure() {
        try {
          verify(false);
          fail();
        } catch (VerifyException expected) {
        }
      }
    
      public void testVerify_simpleMessage_success() {
        verify(true, "message");
      }
    
      public void testVerify_simpleMessage_failure() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu May 04 09:41:29 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/AbstractImmutableTableTest.java

            fail();
          } catch (UnsupportedOperationException e) {
            // success
          }
        }
      }
    
      public final void testPut() {
        for (Table<Character, Integer, String> testInstance : getTestInstances()) {
          try {
            testInstance.put('a', 1, "blah");
            fail();
          } catch (UnsupportedOperationException e) {
            // success
          }
        }
      }
    
      public final void testPutAll() {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbException.java

             * negative so it with NT_STATUS_SUCCESS (0) the binary search will not be
             * performed properly. The effect is that the code at index 1 is never found
             * (NT_STATUS_UNSUCCESSFUL). So here we factor out NT_STATUS_SUCCESS
             * as a special case (which it is).
             */
            if (errcode == 0) {
                return "NT_STATUS_SUCCESS";
            }
            if(( errcode & 0xC0000000 ) == 0xC0000000 ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/io/FilesCreateTempDirTest.java

         * Windows under Java 8, at least as of this writing.
         *
         * Under Windows in particular, we want to test that:
         *
         * - Under Java 9+, createTempDir() succeeds because it can look up the *real* username, rather
         * than relying on the one from the system property.
         *
         * - Under Java 8, createTempDir() fails because it falls back to the bogus username from the
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Oct 06 17:11:11 GMT 2023
    - 4.3K bytes
    - Viewed (0)
Back to top