Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 427 for determin (0.17 sec)

  1. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/components/KtPsiTypeProvider.kt

         *
         * Note: [PsiType] is JVM conception, so this method will return `null` for non-JVM platforms.
         *
         * @receiver type to convert
         *
         * @param useSitePosition is used to determine if the given [KaType] needs to be approximated.
         * For instance, if the given type is local yet available in the same scope of use site,
         * we can still use such a local type.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:35 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

            if (version == null || version.isEmpty()) {
                problems.add(
                        BuilderProblem.Severity.ERROR,
                        ModelProblem.Version.BASE,
                        "Failed to determine Java version for profile " + profile.getId(),
                        activation.getLocation("jdk"));
                return false;
            }
            try {
                return isJavaVersionCompatible(jdk, version);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  3. maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

            if (version == null || version.isEmpty()) {
                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("Failed to determine Java version for profile " + profile.getId())
                        .setLocation(activation.getLocation("jdk")));
                return false;
            }
            try {
                return isJavaVersionCompatible(jdk, version);
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

        private Os() {}
    
        /**
         * Determines if the OS on which Maven is executing matches the
         * given OS family.
         *
         * @param family the family to check for
         * @return true if the OS matches
         *
         */
        public static boolean isFamily(String family) {
            return isFamily(family, OS_NAME);
        }
    
        /**
         * Determines if the OS on which Maven is executing matches the
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  5. src/net/conf.go

    			return false
    		}
    	}
    
    	return c.netGo || r.preferGo()
    }
    
    // addrLookupOrder determines which strategy to use to resolve addresses.
    // The provided Resolver is optional. nil means to not consider its options.
    // It also returns dnsConfig when it was used to determine the lookup order.
    func (c *conf) addrLookupOrder(r *Resolver, addr string) (ret hostLookupOrder, dnsConf *dnsConfig) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 18 03:13:26 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  6. platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/DefaultJvmVersionDetectorTest.groovy

                TestFiles.tmpDirTemporaryFileProvider(tmpDir.testDirectory)
            )
        )
    
        def "can determine version of current jvm"() {
            expect:
            detector.getJavaVersionMajor(Jvm.current()) == JavaVersion.current().majorVersionNumber
        }
    
        def "can determine version of java command for current jvm"() {
            expect:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 05:47:05 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  7. src/net/http/cookiejar/jar.go

    		if i <= 0 || host[i-1] != '.' {
    			// The provided public suffix list psl is broken.
    			// Storing cookies under host is a safe stopgap.
    			return host
    		}
    		// Only len(suffix) is used to determine the jar key from
    		// here on, so it is okay if psl.PublicSuffix("www.buggy.psl")
    		// returns "com" as the jar key is generated from host.
    	}
    	prevDot := strings.LastIndex(host[:i-1], ".")
    	return host[prevDot+1:]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 15K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        return method.getName().startsWith("waitFor");
      }
    
      /** Determines whether the given method takes a Guard as its first parameter. */
      private static boolean isGuarded(Method method) {
        Class<?>[] parameterTypes = method.getParameterTypes();
        return parameterTypes.length >= 1 && parameterTypes[0] == Monitor.Guard.class;
      }
    
      /** Determines whether the given method is time-based. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  9. pkg/kubelet/cm/qos_container_manager_linux.go

    		if err != nil {
    			klog.V(2).InfoS("Failed to get resource stats", "err", err)
    			return
    		}
    
    		// Because there is no good way to determine of the original Update()
    		// on the memory resource was successful, we determine failure of the
    		// first attempt by checking if the usage is above the limit we attempt
    		// to set.  If it is, we assume the first attempt to set the limit failed
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 20:42:59 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/client-services/src/main/java/org/gradle/internal/daemon/client/serialization/ClasspathInferer.java

            try {
                if (resource == null) {
                    LOGGER.warn("Could not determine classpath for {}", target);
                    return;
                }
    
                File classPathRoot = ClasspathUtil.getClasspathForClass(target);
                dest.add(classPathRoot.toURI());
    
                // To determine the dependencies of the class, load up the byte code and look for CONSTANT_Class entries in the constant pool
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 15 19:53:31 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top