Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 856 for system (0.2 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt

            .build()
    
        val startNanos = System.nanoTime()
        val call = client.newCall(request)
    
        // Schedule a job to cancel the call in 1 second.
        executor.schedule({
          System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f)
          call.cancel()
          System.out.printf("%.2f Canceled call.%n", (System.nanoTime() - startNanos) / 1e9f)
        }, 1, TimeUnit.SECONDS)
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  2. maven-compat/src/test/java/org/apache/maven/project/inheritance/t12scm/ProjectInheritanceTest.java

            MavenProject project1 = getProject(pom1);
    
            System.out.println("\n\n");
            System.out.println("Parent SCM URL is: " + project0.getScm().getUrl());
            System.out.println("Child SCM URL is: " + project1.getScm().getUrl());
            System.out.println();
            System.out.println("Parent SCM connection is: " + project0.getScm().getConnection());
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. maven-compat/src/test/java/org/apache/maven/artifact/factory/DefaultArtifactFactoryTest.java

                    "test-grp", "test-artifact-5", VersionRange.createFromVersion("1.0"), "type", null, "system", "system");
    
            assertEquals("system", artifact.getScope());
            assertEquals("system", artifact2.getScope());
            assertEquals("system", artifact3.getScope());
            assertEquals("system", artifact4.getScope());
            assertEquals("system", artifact5.getScope());
        }
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Apr 25 05:46:50 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/CancelCall.java

        System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f);
        try (Response response = call.execute()) {
          System.out.printf("%.2f Call was expected to fail, but completed: %s%n",
              (System.nanoTime() - startNanos) / 1e9f, response);
        } catch (IOException e) {
          System.out.printf("%.2f Call failed as expected: %s%n",
              (System.nanoTime() - startNanos) / 1e9f, e);
        }
      }
    
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 12 03:31:36 GMT 2019
    - 2.1K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/core/lang/SystemUtilTest.java

        @Test
        public void test() throws Exception {
            System.out.println(SystemUtil.FILE_ENCODING);
            System.out.println(SystemUtil.LINE_SEPARATOR);
            System.out.println(SystemUtil.PATH_SEPARATOR);
            System.out.println(SystemUtil.OS_NAME);
            System.out.println(SystemUtil.JAVA_IO_TMPDIR);
            System.out.println(SystemUtil.USER_DIR);
            System.out.println(SystemUtil.USER_HOME);
        }
    
    Java
    - Registered: Fri Apr 26 20:58:09 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  6. manifests/charts/install-OpenShift.md

    To install with Helm, you must first create the namespace that you wish to install in if the namespace does not exist already. The default namespace used is `istio-system` and can be created as follows:
    
    ```console
    kubectl create namespace istio-system
    ```
    
    Istio's helm charts come with a common `openshift` profile that can be used during installation.
    
    The installation process using the Helm charts is as follows:
    
    Plain Text
    - Registered: Wed Apr 24 22:53:08 GMT 2024
    - Last Modified: Fri Apr 12 16:01:31 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. .teamcity/.mvn/wrapper/MavenWrapperDownloader.java

                }
            }
            System.out.println("- Downloading to: " + outputFile.getAbsolutePath());
            try {
                downloadFileFromURL(url, outputFile);
                System.out.println("Done");
                System.exit(0);
            } catch (Throwable e) {
                System.out.println("- Error downloading");
                e.printStackTrace();
                System.exit(1);
            }
        }
    
    Java
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Wed Feb 26 01:48:39 GMT 2020
    - 4.8K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/util/JvmUtilTest.java

        public void test_getJavaVersion() {
            System.setProperty("java.version", "1.4.2_19");
            assertEquals(4, JvmUtil.getJavaVersion());
            System.setProperty("java.version", "1.5.0_15");
            assertEquals(5, JvmUtil.getJavaVersion());
            System.setProperty("java.version", "1.6.0_34");
            assertEquals(6, JvmUtil.getJavaVersion());
            System.setProperty("java.version", "1.7.0_25");
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  9. maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

            } else if (id == 5) {
                return Artifact.SCOPE_SYSTEM;
            } else {
                return Artifact.SCOPE_RUNTIME_PLUS_SYSTEM;
            }
        }
    
        private static final ArtifactScopeEnum[][][] COMPLIANCY_SETS = {
            {{compile}, {compile, provided, system}},
            {{test}, {compile, test, provided, system}},
            {{runtime}, {compile, runtime, system}},
            {{provided}, {compile, test, provided}}
        };
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Wed Sep 06 11:28:54 GMT 2023
    - 3.2K bytes
    - Viewed (0)
  10. maven-api-impl/src/main/java/org/apache/maven/internal/impl/resolver/scopes/Maven4ScopeManagerConfiguration.java

                    singleton(CommonBuilds.PROJECT_PATH_TEST, CommonBuilds.BUILD_PATH_COMPILE)));
    
            // system
            result.add(internalScopeManager.createSystemDependencyScope(
                    DependencyScope.SYSTEM.id(),
                    DependencyScope.SYSTEM.isTransitive(),
                    all(),
                    MavenArtifactProperties.LOCAL_PATH));
    
            // == sanity check
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.1K bytes
    - Viewed (0)
Back to top