Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for findAny (0.19 sec)

  1. maven-core/src/main/java/org/apache/maven/internal/impl/DefaultLifecycleRegistry.java

        }
    
        @Override
        public Optional<Lifecycle> lookup(String id) {
            return stream().filter(lf -> Objects.equals(id, lf.id())).findAny();
        }
    
        @Named
        @Singleton
        public static class LifecycleWrapperProvider implements LifecycleProvider {
            private final PlexusContainer container;
    
            @Inject
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  2. maven-api-impl/src/test/java/org/apache/maven/internal/impl/standalone/ApiRunner.java

                    return providers.stream()
                            .flatMap(p -> p.provides().stream())
                            .filter(t -> Objects.equals(id, t.id()))
                            .findAny();
                }
            };
        }
    
        @Provides
        static LifecycleRegistry newLifecycleRegistry() {
            return new LifecycleRegistry() {
    
                @Override
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jun 11 07:23:04 UTC 2024
    - 17.1K bytes
    - Viewed (0)
  3. platforms/core-runtime/build-process-services/src/main/java/org/gradle/api/internal/classpath/DefaultModuleRegistry.java

            return jarFileName.endsWith(".jar")
                ? JARS_REPLACED_BY_TD_PLUGIN.stream()
                    .filter(jarFileName::startsWith)
                    .findAny()
                : Optional.empty();
        }
    
        public List<File> getGlobalCacheRoots() {
            ImmutableList.Builder<File> builder = ImmutableList.builder();
            if (gradleInstallation != null) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 06:16:07 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  4. src/log/slog/value.go

    )
    
    // Kind is the kind of a [Value].
    type Kind int
    
    // The following list is sorted alphabetically, but it's also important that
    // KindAny is 0 so that a zero Value represents nil.
    
    const (
    	KindAny Kind = iota
    	KindBool
    	KindDuration
    	KindFloat64
    	KindInt64
    	KindString
    	KindTime
    	KindUint64
    	KindGroup
    	KindLogValuer
    )
    
    var kindStrings = []string{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:12:08 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Comparators.java

        return least(k, comparator.reversed());
      }
    
      /**
       * Returns the minimum of the two values. If the values compare as 0, the first is returned.
       *
       * <p>The recommended solution for finding the {@code minimum} of some values depends on the type
       * of your data and the number of elements you have. Read more in the Guava User Guide article on
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/envcmd/env.go

    			if *envJson {
    				var es []cfg.EnvVar
    				for _, name := range args {
    					e := cfg.EnvVar{Name: name, Value: findEnv(env, name)}
    					es = append(es, e)
    				}
    				env = es
    			} else {
    				// Print just the values, without names.
    				for _, name := range args {
    					fmt.Printf("%s\n", findEnv(env, name))
    				}
    				return
    			}
    		} else {
    			// Show only the changed, named vars.
    			var es []cfg.EnvVar
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 17:13:51 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  7. cni/pkg/nodeagent/net.go

    	s.ztunnelServer.Close()
    }
    
    func (s *NetServer) rescanPod(pod *corev1.Pod) error {
    	// this can happen if the pod was dynamically added to the mesh after it was created.
    	// in that case, try finding the netns using procfs.
    	filter := map[types.UID]*corev1.Pod{
    		pod.UID: pod,
    	}
    	return s.scanProcForPodsAndCache(filter)
    }
    
    func (s *NetServer) getOrOpenNetns(pod *corev1.Pod, netNs string) (Netns, error) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 05:10:23 UTC 2024
    - 13.4K bytes
    - Viewed (0)
  8. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/toolchain/DaemonJavaToolchainQueryServiceTest.groovy

            def toolchain = queryService.findMatchingToolchain(filter)
    
            then:
            toolchain.vendor.knownVendor == JvmVendor.KnownJvmVendor.BELLSOFT
        }
    
        def "ignores invalid toolchains when finding a matching one"() {
            given:
            def queryService = createQueryServiceWithInstallations(["8.0", "8.0.242.hs-adpt", "8.0.broken"])
    
            when:
            def filter = createSpec(JavaLanguageVersion.of(8))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 00:09:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  9. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/daemon/client/DaemonClientTest.groovy

            1 * connection.markSuspect()
            1 * connection.dispatch({ it instanceof CloseInput })
            1 * connection.stop()
            0 * connection._
        }
    
        def "does not loop forever finding usable daemons"() {
            given:
            connector.connect(compatibilitySpec) >> connection
            connector.startDaemon(compatibilitySpec) >> connection
            connection.daemon >> Stub(DaemonConnectDetails)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:54:56 UTC 2024
    - 10K bytes
    - Viewed (0)
  10. docs/sts/ldap.md

    - On finding the user's info, MinIO verifies the login credentials with the AD/LDAP server.
    - MinIO optionally queries the AD/LDAP server for a list of groups that the user is a member of.
    - MinIO then checks if there are any policies [explicitly associated](#managing-usergroup-access-policy) with the user or their groups.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top