Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 170 for getCode (0.18 sec)

  1. guava-tests/test/com/google/common/util/concurrent/FuturesGetDoneTest.java

    /** Unit tests for {@link Futures#getDone}. */
    @GwtCompatible
    public class FuturesGetDoneTest extends TestCase {
      public void testSuccessful() throws ExecutionException {
        assertThat(getDone(immediateFuture("a"))).isEqualTo("a");
      }
    
      public void testSuccessfulNull() throws ExecutionException {
        assertThat(getDone(Futures.<@Nullable String>immediateFuture(null))).isEqualTo(null);
      }
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/project/ProjectSorterTest.java

            pluginProject.getModel().setParent(createParent(parentProject));
            projects.add(pluginProject);
    
            Plugin plugin = createPlugin(pluginProject);
    
            plugin.addDependency(createDependency(pluginLevelDepProject));
    
            Build build = declaringProject.getModel().getBuild();
    
            build.addPlugin(plugin);
    
            declaringProject.getModel().setBuild(build);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 12.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.Futures.allAsList;
    import static com.google.common.util.concurrent.Futures.getDone;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.annotations.GwtIncompatible;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/ExecutionSequencerTest.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.Futures.allAsList;
    import static com.google.common.util.concurrent.Futures.getDone;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static java.util.concurrent.TimeUnit.SECONDS;
    
    import com.google.common.annotations.GwtIncompatible;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 16.8K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/internal/aether/ReverseTreeRepositoryListener.java

                }
    
                Artifact resolvedArtifact = event.getArtifact();
                Artifact nodeArtifact = collectStepTrace.getNode().getArtifact();
    
                if (isInScope(resolvedArtifact, nodeArtifact) || "pom".equals(resolvedArtifact.getExtension())) {
                    Dependency node = collectStepTrace.getNode();
                    trackingData.add(resolvedArtifact.toString());
                    indent += "  ";
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Apr 12 11:08:37 GMT 2023
    - 9.8K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodeIterator.java

            this.parent = parent;
            this.node = (XmlNode) parent.getNode();
            this.children = this.node.getChildren();
            if (startWith != null) {
                Xpp3Dom startWithNode = (Xpp3Dom) startWith.getNode();
                for (; filteredIndex < children.size(); filteredIndex++) {
                    if (startWithNode.equals(children.get(filteredIndex))) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.5K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

        }
    
        @Nonnull
        @Override
        public Packaging getPackaging() {
            return packaging;
        }
    
        @Nonnull
        @Override
        public Model getModel() {
            return project.getModel().getDelegate();
        }
    
        @Nonnull
        @Override
        public Path getPomPath() {
            return nonNull(project.getFile(), "pomPath").toPath();
        }
    
        @Override
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  8. maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomAttributeIterator.java

        private Map.Entry<String, String> attribute;
    
        private int position;
    
        public Xpp3DomAttributeIterator(NodePointer parent, QName qname) {
            this.parent = parent;
            this.node = (XmlNodeImpl) parent.getNode();
    
            this.attributes = this.node.getAttributes().entrySet().stream()
                    .filter(a -> a.getKey().equals(qname.getName()) || "*".equals(qname.getName()))
                    .collect(Collectors.toList());
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.3K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.Callables.returning;
    import static com.google.common.util.concurrent.Futures.getDone;
    import static com.google.common.util.concurrent.TestPlatform.verifyThreadWasNotInterrupted;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 7.3K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/internal/impl/AbstractSession.java

            return allRepositories.computeIfAbsent(repository, DefaultRemoteRepository::new);
        }
    
        @Override
        public Node getNode(org.eclipse.aether.graph.DependencyNode node) {
            return getNode(node, false);
        }
    
        @Override
        public Node getNode(org.eclipse.aether.graph.DependencyNode node, boolean verbose) {
            return allNodes.computeIfAbsent(node, n -> new DefaultNode(this, n, verbose));
        }
    
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Fri Mar 01 17:18:13 GMT 2024
    - 21.7K bytes
    - Viewed (0)
Back to top