Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for OS_NAME (0.05 sec)

  1. guava-tests/test/com/google/common/io/FileBackedOutputStreamTest.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.StandardSystemProperty.JAVA_IO_TMPDIR;
    import static com.google.common.base.StandardSystemProperty.OS_NAME;
    import static com.google.common.truth.Truth.assertThat;
    import static java.lang.Math.min;
    import static java.nio.file.attribute.PosixFilePermission.OWNER_READ;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/utils/Os.java

     *
     * @deprecated use {@link org.apache.maven.api.services.ModelBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class Os {
    
        /**
         * The OS Name.
         */
        public static final String OS_NAME = System.getProperty("os.name").toLowerCase(Locale.ENGLISH);
    
        /**
         * The OA architecture.
         */
        public static final String OS_ARCH = System.getProperty("os.arch").toLowerCase(Locale.ENGLISH);
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java

                return false;
            }
    
            boolean active = ensureAtLeastOneNonNull(os);
    
            String actualOsName = context.getSystemProperties()
                    .getOrDefault("os.name", Os.OS_NAME)
                    .toLowerCase(Locale.ENGLISH);
            String actualOsArch = context.getSystemProperties()
                    .getOrDefault("os.arch", Os.OS_ARCH)
                    .toLowerCase(Locale.ENGLISH);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

            String test = name;
            boolean reverse = false;
    
            if (test.startsWith("!")) {
                reverse = true;
                test = test.substring(1);
            }
    
            boolean result = Os.OS_NAME.equals(test);
    
            if (reverse) {
                return !result;
            } else {
                return result;
            }
        }
    
        private boolean determineFamilyMatch(String family) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

                    .append(", platform encoding: ")
                    .append(System.getProperty("file.encoding", "<unknown encoding>"))
                    .append(ls);
            version.append("OS name: \"")
                    .append(Os.OS_NAME)
                    .append("\", version: \"")
                    .append(Os.OS_VERSION)
                    .append("\", arch: \"")
                    .append(Os.OS_ARCH)
                    .append("\", family: \"")
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/MoreFilesTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.StandardSystemProperty.OS_NAME;
    import static com.google.common.io.RecursiveDeleteOption.ALLOW_INSECURE;
    import static com.google.common.jimfs.Feature.SECURE_DIRECTORY_STREAM;
    import static com.google.common.jimfs.Feature.SYMBOLIC_LINKS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:42:09 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

     * limitations under the License.
     */
    package com.google.common.reflect;
    
    import static com.google.common.base.StandardSystemProperty.JAVA_CLASS_PATH;
    import static com.google.common.base.StandardSystemProperty.OS_NAME;
    import static com.google.common.base.StandardSystemProperty.PATH_SEPARATOR;
    import static com.google.common.truth.Truth.assertThat;
    import static java.nio.charset.StandardCharsets.US_ASCII;
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 25K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.base.StandardSystemProperty.JAVA_SPECIFICATION_VERSION;
    import static com.google.common.base.StandardSystemProperty.OS_NAME;
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static java.util.Arrays.asList;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/io/MoreFilesTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.base.StandardSystemProperty.OS_NAME;
    import static com.google.common.io.RecursiveDeleteOption.ALLOW_INSECURE;
    import static com.google.common.jimfs.Feature.SECURE_DIRECTORY_STREAM;
    import static com.google.common.jimfs.Feature.SYMBOLIC_LINKS;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 16:07:00 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/reflect/ClassPathTest.java

     * limitations under the License.
     */
    package com.google.common.reflect;
    
    import static com.google.common.base.StandardSystemProperty.JAVA_CLASS_PATH;
    import static com.google.common.base.StandardSystemProperty.OS_NAME;
    import static com.google.common.base.StandardSystemProperty.PATH_SEPARATOR;
    import static com.google.common.io.MoreFiles.deleteRecursively;
    import static com.google.common.truth.Truth.assertThat;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 22:09:38 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top