Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 75 for isNative (0.05 seconds)

  1. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java

        }
    
        protected void assertActivation(boolean active, Profile profile, ProfileActivationContext context) {
            SimpleProblemCollector problems = new SimpleProblemCollector();
    
            assertEquals(active, activator.isActive(new org.apache.maven.model.Profile(profile), context, problems));
    
            assertEquals(0, problems.getErrors().size(), problems.getErrors().toString());
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. api/maven-api-settings/src/main/mdo/settings.mdo

            if (activeProxy == null) {
                java.util.List<Proxy> proxies = getProxies();
                if (proxies != null && !proxies.isEmpty()) {
                    for (Proxy proxy : proxies) {
                        if (proxy.isActive()) {
                            activeProxy = proxy;
                            break;
                        }
                    }
                }
            }
            return activeProxy;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 33.8K bytes
    - Click Count (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/InterruptionUtil.java

                interruptingThread.interrupt();
                joinUninterruptibly(interruptingThread, 2500, MILLISECONDS);
                Thread.interrupted();
                if (interruptingThread.isAlive()) {
                  // This will be hidden by test-output redirection:
                  logger.severe("InterruptenatorTask did not exit; future tests may be affected");
                  /*
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sun Aug 10 19:54:19 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PackagingProfileActivator.java

     */
    @Named("packaging")
    @Singleton
    @Deprecated(since = "4.0.0")
    public class PackagingProfileActivator implements ProfileActivator {
    
        @Override
        public boolean isActive(
                org.apache.maven.model.Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {
            return getActivationPackaging(profile).map(p -> isPackaging(context, p)).orElse(false);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. internal/config/lambda/event/targetlist.go

    package event
    
    import (
    	"fmt"
    	"maps"
    	"net/http"
    	"strings"
    	"sync"
    )
    
    // Target - lambda target interface
    type Target interface {
    	ID() TargetID
    	IsActive() (bool, error)
    	Send(Event) (*http.Response, error)
    	Stat() TargetStat
    	Close() error
    }
    
    // TargetStats is a collection of stats for multiple targets.
    type TargetStats struct {
    	TargetStats map[string]TargetStat
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java

                resolvedArtifacts.put(key, previousNodes);
            }
            previousNodes.add(node);
    
            if (node.isActive()) {
                fireEvent(ResolutionListener.INCLUDE_ARTIFACT, listeners, node);
            }
    
            // don't pull in the transitive deps of a system-scoped dependency.
            if (node.isActive() && !Artifact.SCOPE_SYSTEM.equals(node.getArtifact().getScope())) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 36.5K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

        @Override
        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null && profile.getActivation().getProperty() != null;
        }
    
        @Override
        public boolean isActive(Profile profile) throws ProfileActivationException {
            Activation activation = profile.getActivation();
    
            ActivationProperty property = activation.getProperty();
    
            if (property != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/core/timer/TimeoutManager.java

            }
            t.interrupt();
            if (logger.isDebugEnabled()) {
                logger.debug("TimeoutManager stopped.");
            }
            t.join(timeoutMillis);
            return !t.isAlive();
        }
    
        /**
         * Clears the managed {@link TimeoutTask}.
         */
        public synchronized void clear() {
            timeoutTaskList.clear();
        }
    
        /**
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  9. android/guava-testlib/test/com/google/common/testing/GcFinalizationTest.java

          this.shutdown = shutdown;
          start();
        }
    
        @SuppressWarnings("ThreadPriorityCheck") // TODO: b/175898629 - Consider onSpinWait.
        void shutdown() {
          shutdown.set(true);
          while (this.isAlive()) {
            Thread.yield();
          }
        }
      }
    
      void assertWrapsInterruptedException(RuntimeException e) {
        assertThat(e).hasMessageThat().contains("Unexpected interrupt");
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Dec 08 17:02:07 GMT 2025
    - 7.9K bytes
    - Click Count (0)
  10. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/ProfileActivator.java

         *            {@code null}.
         * @return {@code true} if the profile is active, {@code false} otherwise.
         */
        boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems);
    
        /**
         * Determines whether specified activation method is present in configuration or not. It should help to have AND
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top