Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,418 for sysmem (0.05 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)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. .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);
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Feb 26 01:48:39 UTC 2020
    - 4.8K bytes
    - Viewed (0)
  3. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/logging/SystemStreamLog.java

            StringWriter sWriter = new StringWriter();
            PrintWriter pWriter = new PrintWriter(sWriter);
    
            error.printStackTrace(pWriter);
    
            System.err.println(
                    "[error] " + content.toString() + System.lineSeparator() + System.lineSeparator() + sWriter.toString());
        }
    
        /**
         * @see org.apache.maven.plugin.logging.Log#error(java.lang.Throwable)
         */
    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. src/test/java/org/codelibs/fess/it/ITBase.java

        private static final String TEST_TOKEN = "test.token";
    
        public static String getTestToken() {
            return System.getProperty(TEST_TOKEN, DEFAULT_TEST_TOKEN);
        }
    
        public static String settingTestToken() {
            final String testToken = System.getProperty(TEST_TOKEN);
            if (testToken != null) {
                logger.info("Token: {}", testToken);
                return testToken;
            }
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

        if (future.isDone()) {
          return;
        }
        long timeoutSeconds = timeoutSeconds();
        long deadline = System.nanoTime() + SECONDS.toNanos(timeoutSeconds);
        do {
          System.runFinalization();
          if (future.isDone()) {
            return;
          }
          System.gc();
          try {
            future.get(1L, SECONDS);
            return;
          } catch (CancellationException | ExecutionException ok) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/TransactNamedPipeInputStream.java

                result = len > used ? used : len;
                if( used > i && result > i ) {
                    System.arraycopy( pipe_buf, beg_idx, b, off, i );
                    off += i;
                    System.arraycopy( pipe_buf, 0, b, off, result - i );
                } else {
                    System.arraycopy( pipe_buf, beg_idx, b, off, result );
                }
                used -= result;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 4.6K bytes
    - Viewed (0)
  7. 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");
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/core/io/ResourceTraversalTest.java

            ResourceTraversalUtil.forEach(con.getJarFile(), (ResourceHandler) (path, is) -> {
                try {
                    if (count < 10) {
                        System.out.println(path);
                    }
                    System.out.println(path);
                    assertThat(path, is(notNullValue()));
                    assertThat(path, path.startsWith("junit") || path.startsWith("org/junit") || path.startsWith("org/hamcrest")
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6K bytes
    - Viewed (0)
  9. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt

        )
    
        private
        val architecture = System.getProperty("os.arch").toLowerCase()
    
        val isCiServer = CI_ENVIRONMENT_VARIABLE in System.getenv()
        val isGhActions = "GITHUB_ACTIONS" in System.getenv()
        val isTeamCity = "TEAMCITY_VERSION" in System.getenv()
        val isTeamCityParallelTestsEnabled
            get() = "TEAMCITY_PARALLEL_TESTS_ENABLED" in System.getenv()
        val isCodeQl: Boolean by lazy {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Oct 09 08:19:42 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/core/collection/CaseInsensitiveMapTest.java

                }
                System.out.println("CaseInsensitiveMap.put:" + (System.currentTimeMillis() - start));
    
                start = System.currentTimeMillis();
                for (int i = 0; i < num; i++) {
                    hmap.get("a" + String.valueOf(i));
                }
                System.out.println("HashMap.get:" + (System.currentTimeMillis() - start));
    
                start = System.currentTimeMillis();
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 4K bytes
    - Viewed (0)
Back to top